@devix-tecnologia/timeline-vue 3.1.0 → 3.2.2

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.
Files changed (86) hide show
  1. package/README.md +87 -24
  2. package/dist/components/timeline/EventoDetalhado.mock.d.ts +0 -1
  3. package/dist/components/timeline/atomos/AvatarTimeline.vue.d.ts +3 -4
  4. package/dist/components/timeline/atomos/Botao.types.d.ts +14 -0
  5. package/dist/components/timeline/{moleculas → atomos}/Botao.vue.d.ts +11 -23
  6. package/dist/components/timeline/atomos/Destaque.vue.d.ts +3 -3
  7. package/dist/components/timeline/atomos/Hora.vue.d.ts +6 -6
  8. package/dist/components/timeline/atomos/IconeCategoria.vue.d.ts +7 -8
  9. package/dist/components/timeline/atomos/IconeStatus.vue.d.ts +4 -5
  10. package/dist/components/timeline/atomos/SubtituloEvento.vue.d.ts +3 -3
  11. package/dist/components/timeline/atomos/TituloEvento.vue.d.ts +3 -3
  12. package/dist/components/timeline/atomos/box-data/BoxData.types.d.ts +6 -0
  13. package/dist/components/timeline/atomos/box-data/BoxData.vue.d.ts +28 -0
  14. package/dist/components/timeline/atomos/box-data/index.d.ts +3 -0
  15. package/dist/components/timeline/index.d.ts +2 -3
  16. package/dist/components/timeline/moleculas/AreaSalvamento.vue.d.ts +53 -7
  17. package/dist/components/timeline/moleculas/BotaoStatus.vue.d.ts +71 -10
  18. package/dist/components/timeline/moleculas/CabecalhoEventoDetalhado.vue.d.ts +187 -6
  19. package/dist/components/timeline/moleculas/DescricaoEvento.vue.d.ts +26 -3
  20. package/dist/components/timeline/moleculas/EventoTimeline.vue.d.ts +179 -10
  21. package/dist/components/timeline/moleculas/HoraEvento.vue.d.ts +32 -4
  22. package/dist/components/timeline/moleculas/Observacoes.vue.d.ts +55 -9
  23. package/dist/components/timeline/moleculas/PerfilTimeline.vue.d.ts +23 -8
  24. package/dist/components/timeline/moleculas/SeparadorPeriodo.vue.d.ts +30 -4
  25. package/dist/components/timeline/moleculas/StatusEvento.vue.d.ts +2 -32
  26. package/dist/components/timeline/moleculas/Topo.vue.d.ts +9 -10
  27. package/dist/components/timeline/organismos/EditarEvento.vue.d.ts +70 -13
  28. package/dist/components/timeline/organismos/EventoDetalhado.vue.d.ts +2 -32
  29. package/dist/components/timeline/organismos/Timeline.mock.d.ts +0 -1
  30. package/dist/components/timeline/organismos/Timeline.vue.d.ts +369 -8
  31. package/dist/components/timeline/templates/AdiantarHorario.vue.d.ts +155 -0
  32. package/dist/components/timeline/templates/AdicionarObservacao.vue.d.ts +95 -13
  33. package/dist/components/timeline/templates/EditarStatus.vue.d.ts +195 -12
  34. package/dist/components/timeline/templates/TemplateTimeline.mock.d.ts +0 -1
  35. package/dist/components/timeline/templates/TemplateTimeline.vue.d.ts +2 -99
  36. package/dist/components/timeline/typeDetalhado.d.ts +0 -1
  37. package/dist/index.css +1 -0
  38. package/dist/index.d.ts +0 -1
  39. package/dist/timeline-vue.es.js +337 -341
  40. package/dist/timeline-vue.umd.js +2 -1
  41. package/dist/types/components/timeline/EventoDetalhado.mock.d.ts +2 -2
  42. package/dist/types/components/timeline/atomos/AvatarTimeline.vue.d.ts +5 -4
  43. package/dist/types/components/timeline/atomos/Botao.types.d.ts +14 -0
  44. package/dist/types/components/timeline/{moleculas → atomos}/Botao.vue.d.ts +12 -22
  45. package/dist/types/components/timeline/atomos/Destaque.vue.d.ts +5 -4
  46. package/dist/types/components/timeline/atomos/Hora.vue.d.ts +8 -7
  47. package/dist/types/components/timeline/atomos/IconeCategoria.vue.d.ts +10 -9
  48. package/dist/types/components/timeline/atomos/IconeStatus.vue.d.ts +6 -5
  49. package/dist/types/components/timeline/atomos/SubtituloEvento.vue.d.ts +5 -4
  50. package/dist/types/components/timeline/atomos/TituloEvento.vue.d.ts +5 -4
  51. package/dist/types/components/timeline/atomos/box-data/BoxData.types.d.ts +6 -0
  52. package/dist/types/components/timeline/atomos/box-data/BoxData.vue.d.ts +29 -0
  53. package/dist/types/components/timeline/atomos/box-data/index.d.ts +3 -0
  54. package/dist/types/components/timeline/index.d.ts +7 -7
  55. package/dist/types/components/timeline/moleculas/AreaSalvamento.vue.d.ts +56 -8
  56. package/dist/types/components/timeline/moleculas/BotaoStatus.vue.d.ts +73 -10
  57. package/dist/types/components/timeline/moleculas/CabecalhoEventoDetalhado.vue.d.ts +189 -6
  58. package/dist/types/components/timeline/moleculas/DescricaoEvento.vue.d.ts +28 -4
  59. package/dist/types/components/timeline/moleculas/EventoTimeline.vue.d.ts +181 -10
  60. package/dist/types/components/timeline/moleculas/HoraEvento.vue.d.ts +35 -5
  61. package/dist/types/components/timeline/moleculas/Observacoes.vue.d.ts +57 -9
  62. package/dist/types/components/timeline/moleculas/PerfilTimeline.vue.d.ts +26 -9
  63. package/dist/types/components/timeline/moleculas/SeparadorPeriodo.vue.d.ts +32 -5
  64. package/dist/types/components/timeline/moleculas/StatusEvento.vue.d.ts +2 -31
  65. package/dist/types/components/timeline/moleculas/Topo.vue.d.ts +11 -10
  66. package/dist/types/components/timeline/organismos/EditarEvento.vue.d.ts +72 -13
  67. package/dist/types/components/timeline/organismos/EventoDetalhado.vue.d.ts +2 -31
  68. package/dist/types/components/timeline/organismos/Timeline.vue.d.ts +371 -8
  69. package/dist/types/components/timeline/templates/AdiantarHorario.vue.d.ts +135 -9
  70. package/dist/types/components/timeline/templates/AdicionarObservacao.vue.d.ts +98 -14
  71. package/dist/types/components/timeline/templates/EditarStatus.vue.d.ts +197 -12
  72. package/dist/types/components/timeline/templates/TemplateEvento.vue.d.ts +3 -23
  73. package/dist/types/components/timeline/templates/TemplateTimeline.mock.d.ts +2 -2
  74. package/dist/types/components/timeline/templates/TemplateTimeline.vue.d.ts +2 -99
  75. package/dist/types/components/timeline/typeDetalhado.d.ts +1 -1
  76. package/dist/types/index.d.ts +3 -3
  77. package/package.json +94 -37
  78. package/dist/components/timeline/atomos/BoxData.vue.d.ts +0 -22
  79. package/dist/components/timeline/organismos/MyComponent.test.d.ts +0 -1
  80. package/dist/style.css +0 -1
  81. package/dist/timeline-vue.cjs.js +0 -1
  82. package/dist/types/components/timeline/atomos/BoxData.vue.d.ts +0 -22
  83. package/dist/types/components/timeline/organismos/MyComponent.test.d.ts +0 -1
  84. package/dist/types/components/timeline/organismos/MyComponent.vue.d.ts +0 -11
  85. /package/dist/components/timeline/{moleculas → atomos}/Botao.test.d.ts +0 -0
  86. /package/dist/types/components/timeline/{moleculas → atomos}/Botao.test.d.ts +0 -0
package/README.md CHANGED
@@ -1,35 +1,32 @@
1
1
  ![TimelineDevix](https://github.com/devix-tecnologia/timeline-vue/blob/044648477f0b124c6968d4e84de6781d7633b984/docs/timeline_topo.png)
2
2
 
3
-
4
-
5
3
  # Timeline de Eventos DEVIX
6
4
 
7
- Este é um projeto implementando uma linha do tempo de eventos utilizando Vue 3 e Typescript. Utiliza o Storybook para o desenvolvimento dos componentes seguindo o Design Atômico.
5
+ Este é disponibiza componentes de linha do tempo de eventos utilizando Vue 3 e Typescript. Utiliza o Storybook para o desenvolvimento dos componentes seguindo o Design Atômico.
8
6
 
9
7
  <div align="center">
10
8
  <img src="https://github.com/devix-tecnologia/timeline-vue/blob/91c3b94c6167ca02364507d58dc59bb804b3b51f/docs/timeline01.gif" width="300px"/>
11
9
  </div>
12
10
 
13
-
14
11
  ## 🛠 Como usar
12
+
15
13
  ---
16
14
 
17
15
  ### Instalação
18
-
19
16
 
20
17
  ```sh
21
18
  yarn add @devix-tecnologia/timeline-vue
22
19
  ```
23
20
 
24
21
  ### Exemplo de código
25
-
22
+
26
23
  ```ts
27
24
  //exemplo.vue
28
25
 
29
26
  <template>
30
27
  <main>
31
28
  <div class="telaTimeline">
32
- <Timeline
29
+ <Timeline
33
30
  :perfilTimeline="perfilTimeline" :eventosTimeline="listaEventos"
34
31
  @eventoClick="emitirEventoClick"
35
32
  />
@@ -50,7 +47,7 @@ export default defineComponent({
50
47
  };
51
48
  const perfilTimeline = {
52
49
  nome: 'Maria do Socorro',
53
- imagem: 'https://this-person-does-not-exist.com/img/avatar-gen11071f8e0802a35d66684ee9376722b2.jpg',
50
+ imagem: 'https://images.unsplash.com/photo-1526080652727-5b77f74eacd2?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1752&q=80',
54
51
  icone: 'person'
55
52
  }
56
53
  const listaEventos = [
@@ -96,7 +93,6 @@ export default defineComponent({
96
93
  </style>
97
94
  ```
98
95
 
99
-
100
96
  ### ✨ Customização de estilos
101
97
 
102
98
  Para customizar o visual da Timeline de acordo com a identidade visual da aplicação basta adicionar o código a seguir no CSS e alterar de acordo com a necessidade.
@@ -132,45 +128,112 @@ body {
132
128
  ```
133
129
 
134
130
  ### Propriedades:
135
-
131
+
136
132
  A Timeline ordena e lista Eventos de forma crescente de acordo com a data/hora cadastrada.
137
133
 
138
134
  Cada Evento mostra a hora prevista, hora em que o evento foi realizado, título, subtítulo, ícone de categoria, ícone de status, indicação de criticidade e campo para informação em destaque.
139
135
 
140
-
141
136
  ![TimelineDevixExemploEvento](https://github.com/devix-tecnologia/timeline-vue/blob/044648477f0b124c6968d4e84de6781d7633b984/docs/evento.png)
142
137
 
138
+ ## 🚀 Contribuindo
143
139
 
144
- ## 🚀 Contribuindo
145
140
  ---
146
141
 
147
142
  ### Importante:
143
+
148
144
  - Os componentes da Timeline são divididos em átomos, moléculas e organismos, seguindo os padrões do Design Atômico;
149
145
  - Cada componente vem acompanhado de documentação no storybook;
150
146
  - A timeline de demonstração utiliza dados mock;
151
- - Dê uma olhada no arquivo ``` type.ts ``` também, ele é o arquivo de tipos com influência sobre toda a aplicação.
147
+ - Dê uma olhada no arquivo `type.ts` também, ele é o arquivo de tipos com influência sobre toda a aplicação.
152
148
  - Para ver o projeto funcionando no Storybook basta rodar:
153
149
 
154
- ```sh
155
- yarn storybook
150
+ ```sh
151
+ yarn storybook
152
+ ```
153
+
154
+ ### Executando com npm / yarn / pnpm
155
+
156
+ Se preferir outro gerenciador de pacotes, aqui estão exemplos equivalentes:
157
+
158
+ - Instalar dependências
159
+
160
+ ```sh
161
+ # npm
162
+ npm install
163
+
164
+ # yarn
165
+ yarn install
166
+
167
+ # pnpm
168
+ pnpm install
169
+ ```
170
+
171
+ - Rodar Storybook (modo dev)
172
+
173
+ ```sh
174
+ # npm
175
+ npm run storybook
176
+
177
+ # yarn
178
+ yarn storybook
179
+
180
+ # pnpm
181
+ pnpm storybook
156
182
  ```
157
183
 
184
+ - Executar Storybook sem instalar dependências locais (útil para checar rápido)
185
+
186
+ ```sh
187
+ # com npx
188
+ npx storybook dev -p 6006
189
+
190
+ # com pnpm
191
+ pnpm dlx storybook dev -p 6006
192
+
193
+ # com yarn (se suportado)
194
+
195
+ ```
196
+
197
+ ### Expor o Storybook para outras pessoas
198
+
199
+ Para permitir acesso pela rede local, inicie o Storybook aceitando conexões externas:
200
+
201
+ ```sh
202
+ # passa argumento extra ao script
203
+ npm run storybook -- --host 0.0.0.0
204
+ # ou
205
+ pnpm storybook -- --host 0.0.0.0
206
+ ```
207
+
208
+ Depois, compartilhe o `http://<sua-ip-local>:6006` com quem você quiser na mesma rede.
209
+
210
+ Para expor publicamente (internet), use uma ferramenta de túnel como `ngrok` ou `localtunnel`:
211
+
212
+ ```sh
213
+ # instalar ngrok (opcional)
158
214
  Faça um fork do projeto, crie uma nova branch e faça seus commits. Seguem passos para bons commits:
215
+ ngrok http 6006
216
+
217
+ # ou usar localtunnel
218
+ npx localtunnel --port 6006
219
+ ```
220
+
221
+ Essas opções geram um URL público que você pode enviar para outras pessoas.
159
222
 
160
- 1) **Criar um Fork:** Acesse o repositório de origem no GitHub e clique em "Fork". Isso criará uma cópia do projeto na sua conta pessoal do GitHub.
161
- 1) **Clonar ou Atualizar o Seu Fork:** Se ainda não clonou o seu fork para a máquina local, faça-o com `git clone [URL_DO_SEU_FORK]`. Se já possui o projeto clonado, certifique-se de que seu fork esteja atualizado em relação ao projeto de origem usando os comandos:
223
+ 1. **Criar um Fork:** Acesse o repositório de origem no GitHub e clique em "Fork". Isso criará uma cópia do projeto na sua conta pessoal do GitHub.
224
+ 1. **Clonar ou Atualizar o Seu Fork:** Se ainda não clonou o seu fork para a máquina local, faça-o com `git clone [URL_DO_SEU_FORK]`. Se já possui o projeto clonado, certifique-se de que seu fork esteja atualizado em relação ao projeto de origem usando os comandos:
162
225
  ```
163
226
  git remote add upstream [URL_DO_REPOSITORIO_ORIGEM]
164
227
  git fetch upstream
165
228
  git merge upstream/branch_de_referencia
166
229
  ```
167
- 1) **Atualizar Referências Remotas:** O comando `git remote update` atualiza as referências locais em relação aos repositórios remotos.
168
- 1) **Selecionar o Branch de Partida:** Em geral, utiliza-se o `develop` como branch base, mas verifique sempre no git graph ou em instruções específicas da tarefa qual branch deve ser utilizado.
169
- 1) **Sincronizar Mudanças Remotas:** Antes de iniciar as modificações, é uma boa prática sincronizar o branch local com o remoto usando `git pull origin branch_de_referencia`.
170
- 1) **Criar um Novo Branch:** Ao trabalhar em uma nova funcionalidade ou correção, crie um novo branch com um nome descritivo, como `feature-relatorio-cliente`, usando o comando `git checkout -b nome_do_branch`.
171
- 1) **Fazer Alterações e Commit:** Realize as alterações necessárias no código. Ao terminar, faça um commit seguindo um padrão de mensagens semânticas e imperativas. Lembre-se de criar e/ou executar testes automatizados para garantir que nada foi quebrado.
172
- 1) **Enviar Alterações para o GitHub:** Envie as alterações para o seu fork com o comando `git push origin nome_do_branch`.
173
- 1) **Abrir um Pull Request:** Acesse seu fork no GitHub e clique em "New Pull Request". Escolha os branches de origem e destino corretos e envie sua solicitação. O desenvolvedor ou equipe responsável pelo projeto de origem revisará suas alterações e, se aprovadas, fará o merge no projeto principal.
230
+ 1. **Atualizar Referências Remotas:** O comando `git remote update` atualiza as referências locais em relação aos repositórios remotos.
231
+ 1. **Selecionar o Branch de Partida:** Em geral, utiliza-se o `develop` como branch base, mas verifique sempre no git graph ou em instruções específicas da tarefa qual branch deve ser utilizado.
232
+ 1. **Sincronizar Mudanças Remotas:** Antes de iniciar as modificações, é uma boa prática sincronizar o branch local com o remoto usando `git pull origin branch_de_referencia`.
233
+ 1. **Criar um Novo Branch:** Ao trabalhar em uma nova funcionalidade ou correção, crie um novo branch com um nome descritivo, como `feature-relatorio-cliente`, usando o comando `git checkout -b nome_do_branch`.
234
+ 1. **Fazer Alterações e Commit:** Realize as alterações necessárias no código. Ao terminar, faça um commit seguindo um padrão de mensagens semânticas e imperativas. Lembre-se de criar e/ou executar testes automatizados para garantir que nada foi quebrado.
235
+ 1. **Enviar Alterações para o GitHub:** Envie as alterações para o seu fork com o comando `git push origin nome_do_branch`.
236
+ 1. **Abrir um Pull Request:** Acesse seu fork no GitHub e clique em "New Pull Request". Escolha os branches de origem e destino corretos e envie sua solicitação. O desenvolvedor ou equipe responsável pelo projeto de origem revisará suas alterações e, se aprovadas, fará o merge no projeto principal.
174
237
 
175
238
  ---
176
239
 
@@ -1,5 +1,4 @@
1
1
  import { Perfil } from './type';
2
2
  import { EventoDetalhado } from './typeDetalhado';
3
-
4
3
  export declare const dadosPerfil: Perfil;
5
4
  export declare const dadosEventoDetalhado: EventoDetalhado[];
@@ -1,17 +1,16 @@
1
-
2
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
2
  imagem: {
4
3
  type: StringConstructor;
5
4
  };
6
5
  icone: {
7
6
  type: StringConstructor;
8
7
  };
9
- }, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
8
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
10
9
  imagem: {
11
10
  type: StringConstructor;
12
11
  };
13
12
  icone: {
14
13
  type: StringConstructor;
15
14
  };
16
- }>>, {}, {}>;
15
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
17
16
  export default _default;
@@ -0,0 +1,14 @@
1
+ export type Tamanho = 'pequeno' | 'medio' | 'grande';
2
+ export type Aparencia = 'outline' | 'preenchido' | 'vazio';
3
+ export declare const Tamanhos: {
4
+ readonly PEQUENO: Tamanho;
5
+ readonly MEDIO: Tamanho;
6
+ readonly GRANDE: Tamanho;
7
+ };
8
+ export declare const Aparencias: {
9
+ readonly OUTLINE: Aparencia;
10
+ readonly PREENCHIDO: Aparencia;
11
+ readonly VAZIO: Aparencia;
12
+ };
13
+ declare const _default: {};
14
+ export default _default;
@@ -1,18 +1,6 @@
1
1
  import { PropType } from 'vue';
2
-
3
- export type Tamanho = 'pequeno' | 'medio' | 'grande';
4
- export type Aparencia = 'outline' | 'preenchido' | 'vazio';
5
- export declare const Tamanhos: {
6
- PEQUENO: Tamanho;
7
- MEDIO: Tamanho;
8
- GRANDE: Tamanho;
9
- };
10
- export declare const Aparencias: {
11
- OUTLINE: Aparencia;
12
- PREENCHIDO: Aparencia;
13
- VAZIO: Aparencia;
14
- };
15
- declare const _default: import('vue').DefineComponent<{
2
+ import { Tamanho, Aparencia } from './Botao.types';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
16
4
  titulo: {
17
5
  type: StringConstructor;
18
6
  default: string;
@@ -28,13 +16,13 @@ declare const _default: import('vue').DefineComponent<{
28
16
  type: PropType<Tamanho>;
29
17
  default: Tamanho;
30
18
  };
31
- }, {
32
- handleClick: (mouseEvent: MouseEvent) => void;
19
+ }>, {
20
+ handleClick: (_mouseEvent: MouseEvent) => void;
33
21
  classes: import('vue').ComputedRef<{
34
22
  [x: string]: boolean;
35
23
  }>;
36
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
37
- click: (mouseEvent: MouseEvent) => true;
24
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ click: (_mouseEvent: MouseEvent) => true;
38
26
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
39
27
  titulo: {
40
28
  type: StringConstructor;
@@ -51,11 +39,11 @@ declare const _default: import('vue').DefineComponent<{
51
39
  type: PropType<Tamanho>;
52
40
  default: Tamanho;
53
41
  };
54
- }>> & {
55
- onClick?: ((mouseEvent: MouseEvent) => any) | undefined;
56
- }, {
57
- aparencia: Aparencia;
42
+ }>> & Readonly<{
43
+ onClick?: ((_mouseEvent: MouseEvent) => any) | undefined;
44
+ }>, {
58
45
  titulo: string;
46
+ aparencia: Aparencia;
59
47
  tamanho: Tamanho;
60
- }, {}>;
48
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
61
49
  export default _default;
@@ -1,10 +1,10 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  texto: {
3
3
  type: StringConstructor;
4
4
  };
5
- }, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
5
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
6
6
  texto: {
7
7
  type: StringConstructor;
8
8
  };
9
- }>>, {}, {}>;
9
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
10
10
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  hora: {
3
3
  required: true;
4
4
  type: DateConstructor;
@@ -8,12 +8,12 @@ declare const _default: import('vue').DefineComponent<{
8
8
  default: string;
9
9
  validator(aparencia: string): boolean;
10
10
  };
11
- }, {
12
- horas: import('vue').Ref<Date>;
11
+ }>, {
12
+ horas: import('vue').Ref<Date, Date>;
13
13
  classes: import('vue').ComputedRef<{
14
14
  [x: string]: boolean;
15
15
  }>;
16
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
17
  hora: {
18
18
  required: true;
19
19
  type: DateConstructor;
@@ -23,7 +23,7 @@ declare const _default: import('vue').DefineComponent<{
23
23
  default: string;
24
24
  validator(aparencia: string): boolean;
25
25
  };
26
- }>>, {
26
+ }>> & Readonly<{}>, {
27
27
  aparencia: string;
28
- }, {}>;
28
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
29
29
  export default _default;
@@ -1,5 +1,4 @@
1
-
2
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
2
  iconeCategoria: {
4
3
  type: StringConstructor;
5
4
  required: true;
@@ -20,17 +19,17 @@ declare const _default: import('vue').DefineComponent<{
20
19
  backgroundColor: {
21
20
  type: StringConstructor;
22
21
  };
23
- }, {
22
+ }>, {
24
23
  classes: import('vue').ComputedRef<{
25
24
  [x: string]: boolean;
26
- "bg-escuro": boolean;
27
- "bg-claro": boolean;
25
+ 'bg-escuro': boolean;
26
+ 'bg-claro': boolean;
28
27
  }>;
29
28
  style: import('vue').ComputedRef<{
30
29
  borderColor: string | undefined;
31
30
  backgroundColor: string | undefined;
32
31
  }>;
33
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
32
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
34
33
  iconeCategoria: {
35
34
  type: StringConstructor;
36
35
  required: true;
@@ -51,7 +50,7 @@ declare const _default: import('vue').DefineComponent<{
51
50
  backgroundColor: {
52
51
  type: StringConstructor;
53
52
  };
54
- }>>, {
53
+ }>> & Readonly<{}>, {
55
54
  escuro: boolean;
56
- }, {}>;
55
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
57
56
  export default _default;
@@ -1,19 +1,18 @@
1
1
  import { PropType } from 'vue';
2
2
  import { Status } from '../type';
3
-
4
- declare const _default: import('vue').DefineComponent<{
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
4
  status: {
6
5
  required: true;
7
6
  type: PropType<Status>;
8
7
  };
9
- }, {
8
+ }>, {
10
9
  classes: import('vue').ComputedRef<{
11
10
  [x: string]: boolean;
12
11
  }>;
13
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
12
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
14
13
  status: {
15
14
  required: true;
16
15
  type: PropType<Status>;
17
16
  };
18
- }>>, {}, {}>;
17
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
19
18
  export default _default;
@@ -1,12 +1,12 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  subtitulo: {
3
3
  required: true;
4
4
  type: StringConstructor;
5
5
  };
6
- }, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
7
  subtitulo: {
8
8
  required: true;
9
9
  type: StringConstructor;
10
10
  };
11
- }>>, {}, {}>;
11
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
12
  export default _default;
@@ -1,12 +1,12 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  titulo: {
3
3
  required: true;
4
4
  type: StringConstructor;
5
5
  };
6
- }, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
7
  titulo: {
8
8
  required: true;
9
9
  type: StringConstructor;
10
10
  };
11
- }>>, {}, {}>;
11
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
12
  export default _default;
@@ -0,0 +1,6 @@
1
+ export declare const Aparencias: {
2
+ readonly PADRAO: "padrao";
3
+ readonly ESCURO: "escuro";
4
+ readonly CLARO: "claro";
5
+ };
6
+ export type Aparencia = (typeof Aparencias)[keyof typeof Aparencias];
@@ -0,0 +1,28 @@
1
+ import { PropType } from 'vue';
2
+ import { Aparencia } from './BoxData.types';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ dataNumero: {
5
+ required: true;
6
+ type: NumberConstructor;
7
+ };
8
+ aparencia: {
9
+ type: PropType<Aparencia>;
10
+ default: string;
11
+ };
12
+ }>, {
13
+ classes: import('vue').ComputedRef<{
14
+ [x: string]: boolean;
15
+ }>;
16
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
+ dataNumero: {
18
+ required: true;
19
+ type: NumberConstructor;
20
+ };
21
+ aparencia: {
22
+ type: PropType<Aparencia>;
23
+ default: string;
24
+ };
25
+ }>> & Readonly<{}>, {
26
+ aparencia: Aparencia;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
28
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export { default } from './BoxData.vue';
2
+ export { default as BoxData } from './BoxData.vue';
3
+ export * from './BoxData.types';
@@ -3,7 +3,6 @@ import { default as TemplateTimeline } from './templates/TemplateTimeline.vue';
3
3
  import { default as EventoTimeline } from './moleculas/EventoTimeline.vue';
4
4
  import { default as EventoDetalhado } from './organismos/EventoDetalhado.vue';
5
5
  import { default as EditarEvento } from './organismos/EditarEvento.vue';
6
-
7
- import * as Tipos from "./type";
8
- import * as TiposDetalhado from "./typeDetalhado";
6
+ import * as Tipos from './type';
7
+ import * as TiposDetalhado from './typeDetalhado';
9
8
  export { Timeline, Tipos, TiposDetalhado, EventoTimeline, EventoDetalhado, EditarEvento, TemplateTimeline, };
@@ -1,12 +1,58 @@
1
-
2
1
  declare const _default: import('vue').DefineComponent<{}, {
3
2
  emitirSalvarClick: (mouseEvent: MouseEvent) => void;
4
3
  emitirCancelarClick: (mouseEvent: MouseEvent) => void;
5
4
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
- salvarClick: (mouseEvent: MouseEvent) => true;
7
- cancelarClick: (mouseEvent: MouseEvent) => true;
8
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
9
- onSalvarClick?: ((mouseEvent: MouseEvent) => any) | undefined;
10
- onCancelarClick?: ((mouseEvent: MouseEvent) => any) | undefined;
11
- }, {}, {}>;
5
+ salvarClick: (_mouseEvent: MouseEvent) => true;
6
+ cancelarClick: (_mouseEvent: MouseEvent) => true;
7
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
8
+ onSalvarClick?: ((_mouseEvent: MouseEvent) => any) | undefined;
9
+ onCancelarClick?: ((_mouseEvent: MouseEvent) => any) | undefined;
10
+ }>, {}, {}, {
11
+ Botao: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
12
+ titulo: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ icone: {
17
+ type: StringConstructor;
18
+ };
19
+ aparencia: {
20
+ type: import('vue').PropType<import('../atomos/Botao.types').Aparencia>;
21
+ default: import('../atomos/Botao.types').Aparencia;
22
+ };
23
+ tamanho: {
24
+ type: import('vue').PropType<import('../atomos/Botao.types').Tamanho>;
25
+ default: import('../atomos/Botao.types').Tamanho;
26
+ };
27
+ }>, {
28
+ handleClick: (_mouseEvent: MouseEvent) => void;
29
+ classes: import('vue').ComputedRef<{
30
+ [x: string]: boolean;
31
+ }>;
32
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
33
+ click: (_mouseEvent: MouseEvent) => true;
34
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
35
+ titulo: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ icone: {
40
+ type: StringConstructor;
41
+ };
42
+ aparencia: {
43
+ type: import('vue').PropType<import('../atomos/Botao.types').Aparencia>;
44
+ default: import('../atomos/Botao.types').Aparencia;
45
+ };
46
+ tamanho: {
47
+ type: import('vue').PropType<import('../atomos/Botao.types').Tamanho>;
48
+ default: import('../atomos/Botao.types').Tamanho;
49
+ };
50
+ }>> & Readonly<{
51
+ onClick?: ((_mouseEvent: MouseEvent) => any) | undefined;
52
+ }>, {
53
+ titulo: string;
54
+ aparencia: import('../atomos/Botao.types').Aparencia;
55
+ tamanho: import('../atomos/Botao.types').Tamanho;
56
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
57
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
58
  export default _default;
@@ -1,8 +1,7 @@
1
1
  import { PropType } from 'vue';
2
2
  import { Status } from '../type';
3
- import { Aparencia } from './Botao.vue';
4
-
5
- declare const _default: import('vue').DefineComponent<{
3
+ import { Aparencia } from '../atomos/Botao.types';
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
5
  aparencia: {
7
6
  type: PropType<Aparencia>;
8
7
  };
@@ -10,13 +9,13 @@ declare const _default: import('vue').DefineComponent<{
10
9
  type: PropType<Status>;
11
10
  default: string;
12
11
  };
13
- }, {
12
+ }>, {
14
13
  emitirClick: (mouseEvent: MouseEvent) => void;
15
14
  classes: import('vue').ComputedRef<{
16
15
  [x: string]: boolean;
17
16
  }>;
18
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
- click: (mouseEvent: MouseEvent) => true;
17
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
+ click: (_mouseEvent: MouseEvent) => true;
20
19
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
21
20
  aparencia: {
22
21
  type: PropType<Aparencia>;
@@ -25,9 +24,71 @@ declare const _default: import('vue').DefineComponent<{
25
24
  type: PropType<Status>;
26
25
  default: string;
27
26
  };
28
- }>> & {
29
- onClick?: ((mouseEvent: MouseEvent) => any) | undefined;
30
- }, {
27
+ }>> & Readonly<{
28
+ onClick?: ((_mouseEvent: MouseEvent) => any) | undefined;
29
+ }>, {
31
30
  status: Status;
32
- }, {}>;
31
+ }, {}, {
32
+ Botao: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
33
+ titulo: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ icone: {
38
+ type: StringConstructor;
39
+ };
40
+ aparencia: {
41
+ type: PropType<Aparencia>;
42
+ default: Aparencia;
43
+ };
44
+ tamanho: {
45
+ type: PropType<import('../atomos/Botao.types').Tamanho>;
46
+ default: import('../atomos/Botao.types').Tamanho;
47
+ };
48
+ }>, {
49
+ handleClick: (_mouseEvent: MouseEvent) => void;
50
+ classes: import('vue').ComputedRef<{
51
+ [x: string]: boolean;
52
+ }>;
53
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
54
+ click: (_mouseEvent: MouseEvent) => true;
55
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
56
+ titulo: {
57
+ type: StringConstructor;
58
+ default: string;
59
+ };
60
+ icone: {
61
+ type: StringConstructor;
62
+ };
63
+ aparencia: {
64
+ type: PropType<Aparencia>;
65
+ default: Aparencia;
66
+ };
67
+ tamanho: {
68
+ type: PropType<import('../atomos/Botao.types').Tamanho>;
69
+ default: import('../atomos/Botao.types').Tamanho;
70
+ };
71
+ }>> & Readonly<{
72
+ onClick?: ((_mouseEvent: MouseEvent) => any) | undefined;
73
+ }>, {
74
+ titulo: string;
75
+ aparencia: Aparencia;
76
+ tamanho: import('../atomos/Botao.types').Tamanho;
77
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
78
+ IconeStatus: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
79
+ status: {
80
+ required: true;
81
+ type: PropType<Status>;
82
+ };
83
+ }>, {
84
+ classes: import('vue').ComputedRef<{
85
+ [x: string]: boolean;
86
+ }>;
87
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
88
+ status: {
89
+ required: true;
90
+ type: PropType<Status>;
91
+ };
92
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
93
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
33
94
  export default _default;