@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
@@ -1,5 +1,6 @@
1
- import { defineComponent as f, reactive as T, computed as A, openBlock as r, createElementBlock as c, createElementVNode as u, normalizeClass as P, normalizeStyle as H, toDisplayString as m, resolveComponent as p, createVNode as v, createBlock as b, createCommentVNode as S, ref as M, Fragment as J, renderList as Y, pushScopeId as V, popScopeId as j, renderSlot as z, createTextVNode as L, withCtx as y, Transition as q, withDirectives as te, vModelText as oe, toRef as B } from "vue";
2
- const ne = f({
1
+ import { defineComponent as f, reactive as T, computed as A, createElementBlock as l, openBlock as r, createElementVNode as u, normalizeStyle as R, normalizeClass as P, toDisplayString as m, resolveComponent as p, createVNode as v, createBlock as b, createCommentVNode as S, ref as M, Fragment as F, renderList as J, renderSlot as I, createTextVNode as H, withCtx as y, Transition as q, withDirectives as x, vModelText as ee, toRef as B } from "vue";
2
+ import "material-symbols/outlined.css";
3
+ const ae = f({
3
4
  name: "Icone Categoria",
4
5
  props: {
5
6
  iconeCategoria: {
@@ -41,19 +42,19 @@ const ne = f({
41
42
  for (const [n, t] of a)
42
43
  o[n] = t;
43
44
  return o;
44
- }, ie = { class: "areaCategoria" }, re = ["alt"], se = { class: "material-symbols-outlined" };
45
- function le(e, a, o, n, t, s) {
46
- return r(), c("div", ie, [
45
+ }, te = { class: "areaCategoria" }, oe = ["alt"], ne = { class: "material-symbols-outlined" };
46
+ function ie(e, a, o, n, t, s) {
47
+ return r(), l("div", te, [
47
48
  u("div", {
48
49
  class: P(["iconeCategoria", e.classes]),
49
- style: H(e.style),
50
+ style: R(e.style),
50
51
  alt: e.categoria
51
52
  }, [
52
- u("span", se, m(e.iconeCategoria), 1)
53
- ], 14, re)
53
+ u("span", ne, m(e.iconeCategoria), 1)
54
+ ], 14, oe)
54
55
  ]);
55
56
  }
56
- const G = /* @__PURE__ */ _(ne, [["render", le], ["__scopeId", "data-v-f922d1fe"]]), ce = f({
57
+ const U = /* @__PURE__ */ _(ae, [["render", ie], ["__scopeId", "data-v-07125aba"]]), re = f({
57
58
  name: "Icone Status",
58
59
  props: {
59
60
  status: {
@@ -69,12 +70,12 @@ const G = /* @__PURE__ */ _(ne, [["render", le], ["__scopeId", "data-v-f922d1fe"
69
70
  };
70
71
  }
71
72
  });
72
- function de(e, a, o, n, t, s) {
73
- return r(), c("div", {
73
+ function se(e, a, o, n, t, s) {
74
+ return r(), l("div", {
74
75
  class: P([e.classes, "iconeStatus"])
75
76
  }, null, 2);
76
77
  }
77
- const w = /* @__PURE__ */ _(ce, [["render", de], ["__scopeId", "data-v-efe84975"]]), ue = f({
78
+ const N = /* @__PURE__ */ _(re, [["render", se], ["__scopeId", "data-v-52804d0e"]]), le = f({
78
79
  name: "Subtítulo Evento",
79
80
  props: {
80
81
  subtitulo: {
@@ -82,11 +83,11 @@ const w = /* @__PURE__ */ _(ce, [["render", de], ["__scopeId", "data-v-efe84975"
82
83
  type: String
83
84
  }
84
85
  }
85
- }), pe = { class: "subtitulo" };
86
- function ve(e, a, o, n, t, s) {
87
- return r(), c("h4", pe, m(e.subtitulo), 1);
86
+ }), ce = { class: "subtitulo" };
87
+ function de(e, a, o, n, t, s) {
88
+ return r(), l("h4", ce, m(e.subtitulo), 1);
88
89
  }
89
- const me = /* @__PURE__ */ _(ue, [["render", ve], ["__scopeId", "data-v-5f7c5673"]]), fe = f({
90
+ const ue = /* @__PURE__ */ _(le, [["render", de], ["__scopeId", "data-v-75ce2591"]]), pe = f({
90
91
  name: "Título Evento",
91
92
  props: {
92
93
  titulo: {
@@ -94,12 +95,13 @@ const me = /* @__PURE__ */ _(ue, [["render", ve], ["__scopeId", "data-v-5f7c5673
94
95
  type: String
95
96
  }
96
97
  }
97
- }), _e = { class: "titulo" };
98
- function $e(e, a, o, n, t, s) {
99
- return r(), c("h3", _e, m(e.titulo), 1);
98
+ }), ve = { class: "titulo" };
99
+ function me(e, a, o, n, t, s) {
100
+ return r(), l("h3", ve, m(e.titulo), 1);
100
101
  }
101
- const he = /* @__PURE__ */ _(fe, [["render", $e], ["__scopeId", "data-v-7369e837"]]), Ce = f({
102
+ const fe = /* @__PURE__ */ _(pe, [["render", me], ["__scopeId", "data-v-f022fc7d"]]), _e = f({
102
103
  name: "Descrição Evento",
104
+ components: { TituloEvento: fe, SubtituloEvento: ue },
103
105
  props: {
104
106
  titulo: {
105
107
  required: !0,
@@ -109,24 +111,24 @@ const he = /* @__PURE__ */ _(fe, [["render", $e], ["__scopeId", "data-v-7369e837
109
111
  required: !1,
110
112
  type: String
111
113
  }
112
- },
113
- components: { TituloEvento: he, SubtituloEvento: me }
114
+ }
114
115
  });
115
- function ke(e, a, o, n, t, s) {
116
- const i = p("TituloEvento"), l = p("SubtituloEvento");
117
- return r(), c("div", {
116
+ function Ce(e, a, o, n, t, s) {
117
+ const i = p("TituloEvento"), d = p("SubtituloEvento");
118
+ return r(), l("div", {
118
119
  class: "descricaoEvento",
119
- style: H(`${e.subtitulo ? "" : "padding-top: 3.3rem"}`)
120
+ style: R(`${e.subtitulo ? "" : "padding-top: 3.3rem"}`)
120
121
  }, [
121
122
  v(i, { titulo: e.titulo }, null, 8, ["titulo"]),
122
- e.subtitulo ? (r(), b(l, {
123
+ e.subtitulo ? (r(), b(d, {
123
124
  key: 0,
124
125
  subtitulo: e.subtitulo
125
126
  }, null, 8, ["subtitulo"])) : S("", !0)
126
127
  ], 4);
127
128
  }
128
- const be = /* @__PURE__ */ _(Ce, [["render", ke], ["__scopeId", "data-v-793cab8b"]]), Se = f({
129
+ const $e = /* @__PURE__ */ _(_e, [["render", Ce], ["__scopeId", "data-v-ff45c239"]]), ke = f({
129
130
  name: "Hora",
131
+ components: {},
130
132
  props: {
131
133
  hora: {
132
134
  required: !0,
@@ -140,7 +142,6 @@ const be = /* @__PURE__ */ _(Ce, [["render", ke], ["__scopeId", "data-v-793cab8b
140
142
  }
141
143
  }
142
144
  },
143
- components: {},
144
145
  setup(e) {
145
146
  return {
146
147
  horas: M(new Date(e.hora)),
@@ -150,13 +151,14 @@ const be = /* @__PURE__ */ _(Ce, [["render", ke], ["__scopeId", "data-v-793cab8b
150
151
  };
151
152
  }
152
153
  });
153
- function ge(e, a, o, n, t, s) {
154
- return r(), c("div", {
154
+ function he(e, a, o, n, t, s) {
155
+ return r(), l("div", {
155
156
  class: P(["hora", e.classes])
156
157
  }, m(e.horas.getHours()) + ":" + m(e.horas.getMinutes().toString().padStart(2, "0")), 3);
157
158
  }
158
- const Q = /* @__PURE__ */ _(Se, [["render", ge], ["__scopeId", "data-v-d3082250"]]), Ee = f({
159
+ const Y = /* @__PURE__ */ _(ke, [["render", he], ["__scopeId", "data-v-cb088c34"]]), be = f({
159
160
  name: "Hora Evento",
161
+ components: { Hora: Y },
160
162
  props: {
161
163
  horaPrevista: {
162
164
  type: Date,
@@ -166,13 +168,12 @@ const Q = /* @__PURE__ */ _(Se, [["render", ge], ["__scopeId", "data-v-d3082250"
166
168
  required: !1,
167
169
  type: Date
168
170
  }
169
- },
170
- components: { Hora: Q }
171
- }), ye = { class: "areaHora" }, Te = { class: "horaEvento" };
172
- function Ae(e, a, o, n, t, s) {
171
+ }
172
+ }), Se = { class: "areaHora" }, ge = { class: "horaEvento" };
173
+ function Ee(e, a, o, n, t, s) {
173
174
  const i = p("Hora");
174
- return r(), c("div", ye, [
175
- u("div", Te, [
175
+ return r(), l("div", Se, [
176
+ u("div", ge, [
176
177
  e.horaRealizada ? (r(), b(i, {
177
178
  key: 0,
178
179
  hora: e.horaRealizada,
@@ -181,24 +182,31 @@ function Ae(e, a, o, n, t, s) {
181
182
  v(i, {
182
183
  hora: e.horaPrevista,
183
184
  aparencia: e.horaRealizada ? "riscada" : "padrao",
184
- style: H(e.horaRealizada ? "" : "padding-top: 1.2rem")
185
+ style: R(e.horaRealizada ? "" : "padding-top: 1.2rem")
185
186
  }, null, 8, ["hora", "aparencia", "style"])
186
187
  ])
187
188
  ]);
188
189
  }
189
- const Oe = /* @__PURE__ */ _(Ee, [["render", Ae], ["__scopeId", "data-v-da519ace"]]), De = f({
190
+ const ye = /* @__PURE__ */ _(be, [["render", Ee], ["__scopeId", "data-v-ff316fd2"]]), Te = f({
190
191
  name: "Destaque",
191
192
  props: {
192
193
  texto: {
193
194
  type: String
194
195
  }
195
196
  }
196
- }), Pe = { class: "destaqueEvento texto-pequeno" };
197
- function qe(e, a, o, n, t, s) {
198
- return r(), c("div", Pe, m(e.texto), 1);
197
+ }), Ae = { class: "destaqueEvento texto-pequeno" };
198
+ function Oe(e, a, o, n, t, s) {
199
+ return r(), l("div", Ae, m(e.texto), 1);
199
200
  }
200
- const Ie = /* @__PURE__ */ _(De, [["render", qe], ["__scopeId", "data-v-c2f02de8"]]), ze = f({
201
+ const De = /* @__PURE__ */ _(Te, [["render", Oe], ["__scopeId", "data-v-07fe9e94"]]), Pe = f({
201
202
  name: "Evento Timeline",
203
+ components: {
204
+ IconeStatus: N,
205
+ IconeCategoria: U,
206
+ HoraEvento: ye,
207
+ DescricaoEvento: $e,
208
+ Destaque: De
209
+ },
202
210
  props: {
203
211
  status: {
204
212
  required: !0,
@@ -243,13 +251,6 @@ const Ie = /* @__PURE__ */ _(De, [["render", qe], ["__scopeId", "data-v-c2f02de8
243
251
  default: !0
244
252
  }
245
253
  },
246
- components: {
247
- IconeStatus: w,
248
- IconeCategoria: G,
249
- HoraEvento: Oe,
250
- DescricaoEvento: be,
251
- Destaque: Ie
252
- },
253
254
  emits: {
254
255
  click: (e) => !0
255
256
  },
@@ -265,30 +266,30 @@ const Ie = /* @__PURE__ */ _(De, [["render", qe], ["__scopeId", "data-v-c2f02de8
265
266
  };
266
267
  }
267
268
  });
268
- function Be(e, a, o, n, t, s) {
269
- const i = p("IconeStatus"), l = p("HoraEvento"), $ = p("IconeCategoria"), C = p("DescricaoEvento"), O = p("Destaque");
270
- return r(), c("article", {
269
+ function qe(e, a, o, n, t, s) {
270
+ const i = p("IconeStatus"), d = p("HoraEvento"), C = p("IconeCategoria"), k = p("DescricaoEvento"), O = p("Destaque");
271
+ return r(), l("article", {
271
272
  "data-testid": "evento",
272
273
  class: P(["eventoTimeline", [e.status, "criticidade-" + e.criticidade, e.eventoSelecionado, e.clicavel]]),
273
- onClick: a[0] || (a[0] = (...h) => e.handleClick && e.handleClick(...h))
274
+ onClick: a[0] || (a[0] = (...$) => e.handleClick && e.handleClick(...$))
274
275
  }, [
275
276
  v(i, { status: e.status }, null, 8, ["status"]),
276
- v(l, {
277
+ v(d, {
277
278
  horaPrevista: e.previstoPara,
278
279
  horaRealizada: e.realizadoEm
279
280
  }, null, 8, ["horaPrevista", "horaRealizada"]),
280
- v($, {
281
+ v(C, {
281
282
  iconeCategoria: e.categoria.icone,
282
283
  categoria: e.categoria.nome
283
284
  }, null, 8, ["iconeCategoria", "categoria"]),
284
- v(C, {
285
+ v(k, {
285
286
  titulo: e.titulo,
286
287
  subtitulo: e.subtitulo
287
288
  }, null, 8, ["titulo", "subtitulo"]),
288
289
  v(O, { texto: e.textoDestaque }, null, 8, ["texto"])
289
290
  ], 2);
290
291
  }
291
- const Z = /* @__PURE__ */ _(ze, [["render", Be]]), Ve = f({
292
+ const G = /* @__PURE__ */ _(Pe, [["render", qe]]), ze = f({
292
293
  name: "Box Data",
293
294
  props: {
294
295
  dataNumero: {
@@ -296,7 +297,8 @@ const Z = /* @__PURE__ */ _(ze, [["render", Be]]), Ve = f({
296
297
  type: Number
297
298
  },
298
299
  aparencia: {
299
- type: String
300
+ type: String,
301
+ default: "padrao"
300
302
  }
301
303
  },
302
304
  setup(e) {
@@ -307,37 +309,37 @@ const Z = /* @__PURE__ */ _(ze, [["render", Be]]), Ve = f({
307
309
  };
308
310
  }
309
311
  });
310
- function je(e, a, o, n, t, s) {
311
- return r(), c("h3", {
312
+ function Ie(e, a, o, n, t, s) {
313
+ return r(), l("h3", {
312
314
  class: P(["boxData padrao", e.classes])
313
315
  }, m(e.dataNumero), 3);
314
316
  }
315
- const Re = /* @__PURE__ */ _(Ve, [["render", je], ["__scopeId", "data-v-385cc692"]]), Ne = f({
317
+ const Be = /* @__PURE__ */ _(ze, [["render", Ie], ["__scopeId", "data-v-f7b41b5b"]]), Ve = f({
316
318
  name: "SeparadorPeriodo",
319
+ components: { BoxData: Be },
317
320
  props: {
318
321
  dataSeparador: {
319
322
  required: !0,
320
323
  type: Date
321
324
  }
322
325
  },
323
- components: { BoxData: Re },
324
- setup(e) {
325
- const a = new Array(12);
326
- return a[0] = "Janeiro", a[1] = "Fevereiro", a[2] = "Março", a[3] = "Abril", a[4] = "Maio", a[5] = "Junho", a[6] = "Julho", a[7] = "Agosto", a[8] = "Setembro", a[9] = "Outubro", a[10] = "Novembro", a[11] = "Dezembro", { mesCorrente: (n) => a[n] };
326
+ setup() {
327
+ const e = new Array(12);
328
+ return e[0] = "Janeiro", e[1] = "Fevereiro", e[2] = "Março", e[3] = "Abril", e[4] = "Maio", e[5] = "Junho", e[6] = "Julho", e[7] = "Agosto", e[8] = "Setembro", e[9] = "Outubro", e[10] = "Novembro", e[11] = "Dezembro", { mesCorrente: (o) => e[o] };
327
329
  }
328
- }), He = { class: "separadorPeriodo" }, Me = { class: "areaData" }, Le = { class: "titulo" };
329
- function we(e, a, o, n, t, s) {
330
+ }), je = { class: "separadorPeriodo" }, Re = { class: "areaData" }, Me = { class: "titulo" };
331
+ function He(e, a, o, n, t, s) {
330
332
  const i = p("BoxData");
331
- return r(), c("div", He, [
332
- u("div", Me, [
333
+ return r(), l("div", je, [
334
+ u("div", Re, [
333
335
  v(i, {
334
336
  dataNumero: e.dataSeparador.getDate()
335
337
  }, null, 8, ["dataNumero"])
336
338
  ]),
337
- u("h3", Le, m(e.mesCorrente(e.dataSeparador.getMonth())) + " de " + m(e.dataSeparador.getFullYear()), 1)
339
+ u("h3", Me, m(e.mesCorrente(e.dataSeparador.getMonth())) + " de " + m(e.dataSeparador.getFullYear()), 1)
338
340
  ]);
339
341
  }
340
- const Fe = /* @__PURE__ */ _(Ne, [["render", we]]), Ue = f({
342
+ const Ne = /* @__PURE__ */ _(Ve, [["render", He]]), Le = f({
341
343
  name: "Avatar Timeline",
342
344
  props: {
343
345
  imagem: {
@@ -347,23 +349,23 @@ const Fe = /* @__PURE__ */ _(Ne, [["render", we]]), Ue = f({
347
349
  type: String
348
350
  }
349
351
  }
350
- }), Je = { class: "avatar" }, Ye = ["src"], Ge = {
352
+ }), we = { class: "avatar" }, Fe = ["src"], Je = {
351
353
  key: 1,
352
354
  class: "material-symbols-outlined"
353
- }, Qe = {
355
+ }, Ue = {
354
356
  key: 2,
355
357
  class: "material-symbols-outlined"
356
358
  };
357
- function Ze(e, a, o, n, t, s) {
358
- return r(), c("div", Je, [
359
- e.imagem ? (r(), c("img", {
359
+ function Ye(e, a, o, n, t, s) {
360
+ return r(), l("div", we, [
361
+ e.imagem ? (r(), l("img", {
360
362
  key: 0,
361
363
  src: e.imagem
362
- }, null, 8, Ye)) : e.icone ? (r(), c("span", Ge, m(e.icone), 1)) : (r(), c("span", Qe, " person "))
364
+ }, null, 8, Fe)) : e.icone ? (r(), l("span", Je, m(e.icone), 1)) : (r(), l("span", Ue, " person "))
363
365
  ]);
364
366
  }
365
- const Ke = /* @__PURE__ */ _(Ue, [["render", Ze], ["__scopeId", "data-v-28501768"]]), We = f({
366
- components: { AvatarTimeline: Ke },
367
+ const Ge = /* @__PURE__ */ _(Le, [["render", Ye], ["__scopeId", "data-v-5d7faa81"]]), Ke = f({
368
+ components: { AvatarTimeline: Ge },
367
369
  props: {
368
370
  imagemPerfil: {
369
371
  type: String
@@ -387,10 +389,10 @@ const Ke = /* @__PURE__ */ _(Ue, [["render", Ze], ["__scopeId", "data-v-28501768
387
389
  }))
388
390
  };
389
391
  }
390
- }), Xe = { class: "nome" };
391
- function xe(e, a, o, n, t, s) {
392
+ }), Qe = { class: "nome" };
393
+ function We(e, a, o, n, t, s) {
392
394
  const i = p("AvatarTimeline");
393
- return r(), c("section", {
395
+ return r(), l("section", {
394
396
  class: P(["perfilTimeline", e.classes])
395
397
  }, [
396
398
  e.imagemPerfil ? (r(), b(i, {
@@ -400,10 +402,15 @@ function xe(e, a, o, n, t, s) {
400
402
  key: 1,
401
403
  icone: e.iconePerfil
402
404
  }, null, 8, ["icone"])) : S("", !0),
403
- u("h2", Xe, m(e.nomePerfil), 1)
405
+ u("h2", Qe, m(e.nomePerfil), 1)
404
406
  ], 2);
405
407
  }
406
- const K = /* @__PURE__ */ _(We, [["render", xe]]), ea = f({
408
+ const K = /* @__PURE__ */ _(Ke, [["render", We]]), Xe = f({
409
+ components: {
410
+ PerfilTimeline: K,
411
+ SeparadorPeriodo: Ne,
412
+ EventoTimeline: G
413
+ },
407
414
  props: {
408
415
  perfilTimeline: {
409
416
  required: !1,
@@ -414,80 +421,75 @@ const K = /* @__PURE__ */ _(We, [["render", xe]]), ea = f({
414
421
  type: Array
415
422
  }
416
423
  },
417
- components: {
418
- PerfilTimeline: K,
419
- SeparadorPeriodo: Fe,
420
- EventoTimeline: Z
421
- },
422
424
  emits: {
423
425
  eventoClick: (e, a) => !0
424
426
  },
425
427
  setup(e, { emit: a }) {
426
- const o = (h, k) => {
427
- h.clicavel !== !1 && a("eventoClick", h, k);
428
+ const o = ($, h) => {
429
+ $.clicavel !== !1 && a("eventoClick", $, h);
428
430
  }, n = T(e.eventosTimeline);
429
431
  let t = T(n);
430
432
  function s() {
431
- const h = $(n);
432
- n.forEach((k) => {
433
- const g = h.length > 0 && h[0] === k;
434
- k.atual = g, k.scroll = g;
433
+ const $ = C(n);
434
+ n.forEach((h) => {
435
+ const g = $.length > 0 && $[0] === h;
436
+ h.atual = g, h.scroll = g;
435
437
  }), O();
436
438
  }
437
439
  const i = () => {
438
440
  setInterval(s, 6e4);
439
- }, l = (h, k) => {
440
- const g = h.getDay() === k.getDay(), D = h.getMonth() === k.getMonth(), d = h.getFullYear() === k.getFullYear();
441
- return g && D && d;
442
- }, $ = (h) => {
443
- if (h) {
444
- const k = Date.now();
441
+ }, d = ($, h) => {
442
+ const g = $.getDay() === h.getDay(), D = $.getMonth() === h.getMonth(), c = $.getFullYear() === h.getFullYear();
443
+ return g && D && c;
444
+ }, C = ($) => {
445
+ if ($) {
446
+ const h = Date.now();
445
447
  let g = null, D = [];
446
- for (const d of h) {
447
- const E = d.data.getTime();
448
- if (d.status === "planejado" || d.status === "atrasado") {
449
- const I = Math.abs(k - d.data.getTime());
450
- if (g === null || I < g && E <= k)
451
- g = I, D.length = 0;
452
- else if (I > g)
448
+ for (const c of $) {
449
+ const E = c.data.getTime();
450
+ if (c.status === "planejado" || c.status === "atrasado") {
451
+ const z = Math.abs(h - c.data.getTime());
452
+ if (g === null || z < g && E <= h)
453
+ g = z, D.length = 0;
454
+ else if (z > g)
453
455
  continue;
454
- D.push(d);
456
+ D.push(c);
455
457
  }
456
458
  }
457
459
  return D;
458
460
  } else
459
461
  return [];
460
- }, C = A(() => {
462
+ }, k = A(() => {
461
463
  i();
462
- const h = t.sort((k, g) => k.data.getTime() - g.data.getTime());
463
- if (h) {
464
- let k = [], g = null, D = 0, d;
465
- for (const E of h) {
466
- const I = /* @__PURE__ */ new Date(), N = E.data;
467
- d = E.status;
468
- const ae = E.tolerancia * 60 * 1e3;
469
- d === "planejado" && N.getTime() + ae < I.getTime() && (E.status = "atrasado"), (!g || !l(g, N)) && (g = N, k.push({
464
+ const $ = t.sort((h, g) => h.data.getTime() - g.data.getTime());
465
+ if ($) {
466
+ let h = [], g = null, D = 0, c;
467
+ for (const E of $) {
468
+ const z = /* @__PURE__ */ new Date(), j = E.data;
469
+ c = E.status;
470
+ const Z = E.tolerancia * 60 * 1e3;
471
+ c === "planejado" && j.getTime() + Z < z.getTime() && (E.status = "atrasado"), (!g || !d(g, j)) && (g = j, h.push({
470
472
  tipo: "dia",
471
473
  valor: E.data,
472
474
  key: ++D
473
- })), k.push({
475
+ })), h.push({
474
476
  tipo: "evento",
475
477
  valor: E,
476
478
  key: ++D
477
479
  });
478
480
  }
479
- return k;
481
+ return h;
480
482
  } else
481
483
  return [];
482
484
  }), O = () => {
483
- const h = document.querySelector(".atual");
484
- !h || !h.scrollIntoView || h.scrollIntoView({
485
+ const $ = document.querySelector(".atual");
486
+ !$ || !$.scrollIntoView || $.scrollIntoView({
485
487
  behavior: "smooth",
486
488
  block: "center"
487
489
  });
488
490
  };
489
491
  return s(), {
490
- eventosPorTipo: C,
492
+ eventosPorTipo: k,
491
493
  scrollParaItemAtual: O,
492
494
  handleEventoClick: o
493
495
  };
@@ -495,10 +497,10 @@ const K = /* @__PURE__ */ _(We, [["render", xe]]), ea = f({
495
497
  mounted() {
496
498
  this.scrollParaItemAtual();
497
499
  }
498
- }), aa = { class: "areaTimeline" }, ta = { class: "timeline" };
499
- function oa(e, a, o, n, t, s) {
500
- const i = p("PerfilTimeline"), l = p("SeparadorPeriodo"), $ = p("EventoTimeline");
501
- return r(), c("div", aa, [
500
+ }), Ze = { class: "areaTimeline" }, xe = { class: "timeline" };
501
+ function ea(e, a, o, n, t, s) {
502
+ const i = p("PerfilTimeline"), d = p("SeparadorPeriodo"), C = p("EventoTimeline");
503
+ return r(), l("div", Ze, [
502
504
  e.perfilTimeline ? (r(), b(i, {
503
505
  key: 0,
504
506
  nomePerfil: e.perfilTimeline.nome,
@@ -506,34 +508,34 @@ function oa(e, a, o, n, t, s) {
506
508
  iconePerfil: e.perfilTimeline.icone,
507
509
  "data-testid": "perfilTimeline"
508
510
  }, null, 8, ["nomePerfil", "imagemPerfil", "iconePerfil"])) : S("", !0),
509
- u("section", ta, [
510
- (r(!0), c(J, null, Y(e.eventosPorTipo, (C, O) => (r(), c("div", {
511
- key: C.key
511
+ u("section", xe, [
512
+ (r(!0), l(F, null, J(e.eventosPorTipo, (k, O) => (r(), l("div", {
513
+ key: k.key
512
514
  }, [
513
- C.tipo === "dia" ? (r(), b(l, {
515
+ k.tipo === "dia" ? (r(), b(d, {
514
516
  key: 0,
515
- dataSeparador: C.valor,
517
+ dataSeparador: k.valor,
516
518
  "data-testid": `evento-timeline-${O}`
517
519
  }, null, 8, ["dataSeparador", "data-testid"])) : S("", !0),
518
- C.tipo === "evento" ? (r(), b($, {
520
+ k.tipo === "evento" ? (r(), b(C, {
519
521
  key: 1,
520
- status: C.valor.status,
521
- criticidade: C.valor.criticidade,
522
- previstoPara: C.valor.previstoPara,
523
- "realizado-em": C.valor.realizado,
524
- categoria: C.valor.categoria,
525
- titulo: C.valor.titulo,
526
- subtitulo: C.valor.subtitulo,
527
- "texto-destaque": C.valor.destaque,
528
- ehAtual: C.valor.atual,
529
- onClick: (h) => e.handleEventoClick(C.valor, h),
530
- "data-testid": `evento-timeline-${O}`
531
- }, null, 8, ["status", "criticidade", "previstoPara", "realizado-em", "categoria", "titulo", "subtitulo", "texto-destaque", "ehAtual", "onClick", "data-testid"])) : S("", !0)
522
+ status: k.valor.status,
523
+ criticidade: k.valor.criticidade,
524
+ previstoPara: k.valor.previstoPara,
525
+ "realizado-em": k.valor.realizado,
526
+ categoria: k.valor.categoria,
527
+ titulo: k.valor.titulo,
528
+ subtitulo: k.valor.subtitulo,
529
+ "texto-destaque": k.valor.destaque,
530
+ ehAtual: k.valor.atual,
531
+ "data-testid": `evento-timeline-${O}`,
532
+ onClick: ($) => e.handleEventoClick(k.valor, $)
533
+ }, null, 8, ["status", "criticidade", "previstoPara", "realizado-em", "categoria", "titulo", "subtitulo", "texto-destaque", "ehAtual", "data-testid", "onClick"])) : S("", !0)
532
534
  ]))), 128))
533
535
  ])
534
536
  ]);
535
537
  }
536
- const W = /* @__PURE__ */ _(ea, [["render", oa]]), na = f({
538
+ const Q = /* @__PURE__ */ _(Xe, [["render", ea]]), aa = f({
537
539
  name: "Topo",
538
540
  props: {
539
541
  titulo: {
@@ -560,33 +562,29 @@ const W = /* @__PURE__ */ _(ea, [["render", oa]]), na = f({
560
562
  }))
561
563
  };
562
564
  }
563
- }), ia = (e) => (V("data-v-33d6850e"), e = e(), j(), e), ra = { class: "conteudoTitulo" }, sa = /* @__PURE__ */ ia(() => /* @__PURE__ */ u("span", { class: "material-symbols-outlined" }, " arrow_back ", -1)), la = [
564
- sa
565
- ], ca = { class: "titulo" };
566
- function da(e, a, o, n, t, s) {
567
- return r(), c("div", {
565
+ }), ta = { class: "conteudoTitulo" }, oa = { class: "titulo" };
566
+ function na(e, a, o, n, t, s) {
567
+ return r(), l("div", {
568
568
  class: P(["topo", e.classes]),
569
569
  "data-testid": "topo"
570
570
  }, [
571
- u("div", ra, [
571
+ u("div", ta, [
572
572
  u("button", {
573
573
  class: "btn_voltar",
574
- onClick: a[0] || (a[0] = (...i) => e.emitirVoltarClick && e.emitirVoltarClick(...i)),
575
- "data-testid": "botao-voltar"
576
- }, la),
577
- u("h3", ca, m(e.titulo), 1)
574
+ "data-testid": "botao-voltar",
575
+ onClick: a[0] || (a[0] = (...i) => e.emitirVoltarClick && e.emitirVoltarClick(...i))
576
+ }, [...a[1] || (a[1] = [
577
+ u("span", { class: "material-symbols-outlined" }, " arrow_back ", -1)
578
+ ])]),
579
+ u("h3", oa, m(e.titulo), 1)
578
580
  ])
579
581
  ], 2);
580
582
  }
581
- const ua = /* @__PURE__ */ _(na, [["render", da], ["__scopeId", "data-v-33d6850e"]]), pa = {
582
- PEQUENO: "pequeno",
583
- MEDIO: "medio",
584
- GRANDE: "grande"
585
- }, va = {
586
- OUTLINE: "outline",
587
- PREENCHIDO: "preenchido",
588
- VAZIO: "vazio"
589
- }, ma = f({
583
+ const ia = /* @__PURE__ */ _(aa, [["render", na], ["__scopeId", "data-v-1e557029"]]), ra = {
584
+ MEDIO: "medio"
585
+ }, sa = {
586
+ OUTLINE: "outline"
587
+ }, la = f({
590
588
  name: "Botao",
591
589
  props: {
592
590
  titulo: {
@@ -598,11 +596,11 @@ const ua = /* @__PURE__ */ _(na, [["render", da], ["__scopeId", "data-v-33d6850e
598
596
  },
599
597
  aparencia: {
600
598
  type: String,
601
- default: va.OUTLINE
599
+ default: sa.OUTLINE
602
600
  },
603
601
  tamanho: {
604
602
  type: String,
605
- default: pa.MEDIO
603
+ default: ra.MEDIO
606
604
  }
607
605
  },
608
606
  emits: {
@@ -621,28 +619,28 @@ const ua = /* @__PURE__ */ _(na, [["render", da], ["__scopeId", "data-v-33d6850e
621
619
  classes: n
622
620
  };
623
621
  }
624
- }), fa = {
622
+ }), ca = {
625
623
  key: 0,
626
624
  class: "material-symbols-outlined"
627
625
  };
628
- function _a(e, a, o, n, t, s) {
629
- return r(), c("button", {
626
+ function da(e, a, o, n, t, s) {
627
+ return r(), l("button", {
630
628
  class: "btn",
631
629
  "data-testid": "botao",
632
630
  onClick: a[0] || (a[0] = (...i) => e.handleClick && e.handleClick(...i))
633
631
  }, [
634
- z(e.$slots, "default", {}, () => [
635
- e.icone ? (r(), c("span", fa, m(e.icone), 1)) : S("", !0),
636
- L(" " + m(e.titulo), 1)
632
+ I(e.$slots, "default", {}, () => [
633
+ e.icone ? (r(), l("span", ca, m(e.icone), 1)) : S("", !0),
634
+ H(" " + m(e.titulo), 1)
637
635
  ], !0)
638
636
  ]);
639
637
  }
640
- const R = /* @__PURE__ */ _(ma, [["render", _a], ["__scopeId", "data-v-adc6e80a"]]), $a = f({
641
- components: { Botao: R, PerfilTimeline: K, IconeCategoria: G, Hora: Q },
638
+ const V = /* @__PURE__ */ _(la, [["render", da], ["__scopeId", "data-v-aa75e8d7"]]), ua = f({
642
639
  name: "CabecalhoEventoDetalhado",
640
+ components: { Botao: V, PerfilTimeline: K, IconeCategoria: U, Hora: Y },
643
641
  props: {
644
642
  perfil: {
645
- required: !0,
643
+ required: !1,
646
644
  type: Object
647
645
  },
648
646
  evento: {
@@ -653,22 +651,22 @@ const R = /* @__PURE__ */ _(ma, [["render", _a], ["__scopeId", "data-v-adc6e80a"
653
651
  setup(e) {
654
652
  return {};
655
653
  }
656
- }), X = (e) => (V("data-v-aa43d357"), e = e(), j(), e), ha = {
654
+ }), pa = {
657
655
  key: 1,
658
656
  class: "criticidade"
659
- }, Ca = { class: "titulo" }, ka = { class: "dataHora" }, ba = { class: "box" }, Sa = /* @__PURE__ */ X(() => /* @__PURE__ */ u("span", { class: "material-symbols-outlined" }, " calendar_month ", -1)), ga = { class: "horaEvento" }, Ea = {
657
+ }, va = { class: "titulo" }, ma = { class: "dataHora" }, fa = { class: "box" }, _a = { class: "horaEvento" }, Ca = {
660
658
  key: 0,
661
659
  class: "horaRealizada texto-grande"
662
- }, ya = {
660
+ }, $a = {
663
661
  key: 1,
664
662
  class: "horaPlanejada texto-pequeno"
665
- }, Ta = {
663
+ }, ka = {
666
664
  key: 2,
667
665
  class: "horaRealizada texto-grande"
668
- }, Aa = { class: "box" }, Oa = /* @__PURE__ */ X(() => /* @__PURE__ */ u("span", { class: "material-symbols-outlined" }, " schedule ", -1)), Da = { class: "horaEvento" };
669
- function Pa(e, a, o, n, t, s) {
670
- const i = p("PerfilTimeline"), l = p("IconeCategoria"), $ = p("Hora");
671
- return r(), c("section", {
666
+ }, ha = { class: "box" }, ba = { class: "horaEvento" };
667
+ function Sa(e, a, o, n, t, s) {
668
+ const i = p("PerfilTimeline"), d = p("IconeCategoria"), C = p("Hora");
669
+ return r(), l("section", {
672
670
  class: P(["cabecalho-evento", ["criticidade-" + e.evento.criticidade]])
673
671
  }, [
674
672
  e.perfil ? (r(), b(i, {
@@ -678,35 +676,35 @@ function Pa(e, a, o, n, t, s) {
678
676
  iconePerfil: e.perfil.icone,
679
677
  formatoReduzido: !0
680
678
  }, null, 8, ["nomePerfil", "imagemPerfil", "iconePerfil"])) : S("", !0),
681
- e.evento.criticidade !== "baixa" ? (r(), c("div", ha, " Criticidade: " + m(e.evento.criticidade), 1)) : S("", !0),
682
- u("div", Ca, [
683
- v(l, {
679
+ e.evento.criticidade !== "baixa" ? (r(), l("div", pa, " Criticidade: " + m(e.evento.criticidade), 1)) : S("", !0),
680
+ u("div", va, [
681
+ v(d, {
684
682
  iconeCategoria: e.evento.categoria.icone,
685
683
  categoria: e.evento.categoria.nome
686
684
  }, null, 8, ["iconeCategoria", "categoria"]),
687
685
  u("h1", null, m(e.evento.titulo), 1)
688
686
  ]),
689
- u("div", ka, [
690
- u("div", ba, [
691
- Sa,
692
- u("div", ga, [
693
- e.evento.realizado ? (r(), c("div", Ea, m(e.evento.realizado.toLocaleDateString()), 1)) : S("", !0),
694
- e.evento.realizado ? (r(), c("div", ya, m(e.evento.realizado.toLocaleDateString()), 1)) : (r(), c("div", Ta, m(e.evento.previstoPara.toLocaleDateString()), 1))
687
+ u("div", ma, [
688
+ u("div", fa, [
689
+ a[0] || (a[0] = u("span", { class: "material-symbols-outlined" }, " calendar_month ", -1)),
690
+ u("div", _a, [
691
+ e.evento.realizado ? (r(), l("div", Ca, m(e.evento.realizado.toLocaleDateString()), 1)) : S("", !0),
692
+ e.evento.realizado ? (r(), l("div", $a, m(e.evento.realizado.toLocaleDateString()), 1)) : (r(), l("div", ka, m(e.evento.previstoPara.toLocaleDateString()), 1))
695
693
  ])
696
694
  ]),
697
- u("div", Aa, [
698
- Oa,
699
- u("div", Da, [
700
- e.evento.realizado ? (r(), b($, {
695
+ u("div", ha, [
696
+ a[1] || (a[1] = u("span", { class: "material-symbols-outlined" }, " schedule ", -1)),
697
+ u("div", ba, [
698
+ e.evento.realizado ? (r(), b(C, {
701
699
  key: 0,
702
700
  class: "horaRealizada texto-grande",
703
701
  hora: e.evento.realizado
704
702
  }, null, 8, ["hora"])) : S("", !0),
705
- e.evento.realizado ? (r(), b($, {
703
+ e.evento.realizado ? (r(), b(C, {
706
704
  key: 1,
707
705
  class: "horaPlanejada texto-pequeno",
708
706
  hora: e.evento.previstoPara
709
- }, null, 8, ["hora"])) : (r(), b($, {
707
+ }, null, 8, ["hora"])) : (r(), b(C, {
710
708
  key: 2,
711
709
  class: "horaRealizada texto-grande",
712
710
  hora: e.evento.previstoPara
@@ -716,9 +714,9 @@ function Pa(e, a, o, n, t, s) {
716
714
  ])
717
715
  ], 2);
718
716
  }
719
- const qa = /* @__PURE__ */ _($a, [["render", Pa], ["__scopeId", "data-v-aa43d357"]]), Ia = f({
720
- components: { Botao: R },
717
+ const ga = /* @__PURE__ */ _(ua, [["render", Sa], ["__scopeId", "data-v-c73f8cf6"]]), Ea = f({
721
718
  name: "Observacoes",
719
+ components: { Botao: V },
722
720
  props: {
723
721
  tituloBotao: {
724
722
  type: String
@@ -737,23 +735,23 @@ const qa = /* @__PURE__ */ _($a, [["render", Pa], ["__scopeId", "data-v-aa43d357
737
735
  };
738
736
  return e.observacoes.sort((n, t) => t.criadaEm.getTime() - n.criadaEm.getTime()), e = T(e), { emitirAdicionarClick: o };
739
737
  }
740
- }), za = (e) => (V("data-v-27347f9c"), e = e(), j(), e), Ba = {
738
+ }), ya = {
741
739
  class: "box box-observacoes",
742
740
  "data-testid": "observacoes"
743
- }, Va = /* @__PURE__ */ za(() => /* @__PURE__ */ u("h3", null, "Observações:", -1)), ja = { class: "lista-obs" }, Ra = ["data-testid"], Na = { class: "texto" }, Ha = { class: "autor" };
744
- function Ma(e, a, o, n, t, s) {
741
+ }, Ta = { class: "lista-obs" }, Aa = ["data-testid"], Oa = { class: "texto" }, Da = { class: "autor" };
742
+ function Pa(e, a, o, n, t, s) {
745
743
  const i = p("Botao");
746
- return r(), c("section", Ba, [
747
- Va,
748
- u("ul", ja, [
749
- (r(!0), c(J, null, Y(e.observacoes, (l, $) => (r(), c("li", {
750
- "data-testid": `observacao-${$}`,
751
- key: $,
744
+ return r(), l("section", ya, [
745
+ a[0] || (a[0] = u("h3", null, "Observações:", -1)),
746
+ u("ul", Ta, [
747
+ (r(!0), l(F, null, J(e.observacoes, (d, C) => (r(), l("li", {
748
+ key: C,
749
+ "data-testid": `observacao-${C}`,
752
750
  class: "lista-item"
753
751
  }, [
754
- u("p", Na, m(l.mensagem), 1),
755
- u("div", Ha, m(l.autor.nome) + " em " + m(l.criadaEm.toLocaleDateString()) + " às " + m(l.criadaEm.getHours()) + ":" + m(l.criadaEm.getMinutes().toString().padStart(2, "0")), 1)
756
- ], 8, Ra))), 128))
752
+ u("p", Oa, m(d.mensagem), 1),
753
+ u("div", Da, m(d.autor.nome) + " em " + m(d.criadaEm.toLocaleDateString()) + " às " + m(d.criadaEm.getHours()) + ":" + m(d.criadaEm.getMinutes().toString().padStart(2, "0")), 1)
754
+ ], 8, Aa))), 128))
757
755
  ]),
758
756
  v(i, {
759
757
  titulo: e.tituloBotao,
@@ -765,9 +763,9 @@ function Ma(e, a, o, n, t, s) {
765
763
  }, null, 8, ["titulo", "onClick"])
766
764
  ]);
767
765
  }
768
- const La = /* @__PURE__ */ _(Ia, [["render", Ma], ["__scopeId", "data-v-27347f9c"]]), wa = f({
769
- components: { Botao: R, IconeStatus: w },
766
+ const qa = /* @__PURE__ */ _(Ea, [["render", Pa], ["__scopeId", "data-v-2d6bb2ba"]]), za = f({
770
767
  name: "BotaoStatus",
768
+ components: { Botao: V, IconeStatus: N },
771
769
  props: {
772
770
  aparencia: {
773
771
  type: String
@@ -793,27 +791,27 @@ const La = /* @__PURE__ */ _(Ia, [["render", Ma], ["__scopeId", "data-v-27347f9c
793
791
  };
794
792
  }
795
793
  });
796
- function Fa(e, a, o, n, t, s) {
797
- const i = p("IconeStatus"), l = p("Botao");
798
- return r(), b(l, {
794
+ function Ia(e, a, o, n, t, s) {
795
+ const i = p("IconeStatus"), d = p("Botao");
796
+ return r(), b(d, {
799
797
  aparencia: e.aparencia,
800
798
  class: P(e.classes),
801
- onClick: e.emitirClick,
802
- "data-testid": "botao-status"
799
+ "data-testid": "botao-status",
800
+ onClick: e.emitirClick
803
801
  }, {
804
802
  default: y(() => [
805
803
  v(i, {
806
804
  class: "icone",
807
805
  status: e.status
808
806
  }, null, 8, ["status"]),
809
- L(" " + m(e.status), 1)
807
+ H(" " + m(e.status), 1)
810
808
  ]),
811
809
  _: 1
812
810
  }, 8, ["aparencia", "class", "onClick"]);
813
811
  }
814
- const x = /* @__PURE__ */ _(wa, [["render", Fa], ["__scopeId", "data-v-9b0bacc7"]]), Ua = f({
815
- components: { BotaoStatus: x },
812
+ const W = /* @__PURE__ */ _(za, [["render", Ia], ["__scopeId", "data-v-8eb6d62e"]]), Ba = f({
816
813
  name: "StatusEvento",
814
+ components: { BotaoStatus: W },
817
815
  props: {
818
816
  aparencia: {
819
817
  type: String
@@ -835,11 +833,11 @@ const x = /* @__PURE__ */ _(wa, [["render", Fa], ["__scopeId", "data-v-9b0bacc7"
835
833
  props: e
836
834
  };
837
835
  }
838
- }), Ja = (e) => (V("data-v-027bde63"), e = e(), j(), e), Ya = { class: "box box-status" }, Ga = /* @__PURE__ */ Ja(() => /* @__PURE__ */ u("h3", null, "Status:", -1));
839
- function Qa(e, a, o, n, t, s) {
836
+ }), Va = { class: "box box-status" };
837
+ function ja(e, a, o, n, t, s) {
840
838
  const i = p("BotaoStatus");
841
- return r(), c("section", Ya, [
842
- Ga,
839
+ return r(), l("section", Va, [
840
+ a[0] || (a[0] = u("h3", null, "Status:", -1)),
843
841
  v(i, {
844
842
  "data-testid": "botao-status",
845
843
  aparencia: e.aparencia,
@@ -848,11 +846,12 @@ function Qa(e, a, o, n, t, s) {
848
846
  }, null, 8, ["aparencia", "status", "onClick"])
849
847
  ]);
850
848
  }
851
- const Za = /* @__PURE__ */ _(Ua, [["render", Qa], ["__scopeId", "data-v-027bde63"]]), Ka = f({
849
+ const Ra = /* @__PURE__ */ _(Ba, [["render", ja], ["__scopeId", "data-v-732d9141"]]), Ma = f({
852
850
  name: "EventoDetalhado",
851
+ components: { CabecalhoEventoDetalhado: ga, Observacoes: qa, StatusEvento: Ra },
853
852
  props: {
854
853
  perfil: {
855
- required: !0,
854
+ required: !1,
856
855
  type: Object
857
856
  },
858
857
  evento: {
@@ -860,7 +859,6 @@ const Za = /* @__PURE__ */ _(Ua, [["render", Qa], ["__scopeId", "data-v-027bde63
860
859
  type: Object
861
860
  }
862
861
  },
863
- components: { CabecalhoEventoDetalhado: qa, Observacoes: La, StatusEvento: Za },
864
862
  emits: {
865
863
  statusEditarClick: (e) => !0,
866
864
  observacaoAdicionarClick: (e) => !0
@@ -875,13 +873,13 @@ const Za = /* @__PURE__ */ _(Ua, [["render", Qa], ["__scopeId", "data-v-027bde63
875
873
  }
876
874
  };
877
875
  }
878
- }), Wa = {
876
+ }), Ha = {
879
877
  class: "evento",
880
878
  "data-testid": "evento-detalhado"
881
- }, Xa = { class: "descricao" };
882
- function xa(e, a, o, n, t, s) {
883
- const i = p("CabecalhoEventoDetalhado"), l = p("Observacoes"), $ = p("StatusEvento");
884
- return r(), c("div", Wa, [
879
+ }, Na = { class: "descricao" };
880
+ function La(e, a, o, n, t, s) {
881
+ const i = p("CabecalhoEventoDetalhado"), d = p("Observacoes"), C = p("StatusEvento");
882
+ return r(), l("div", Ha, [
885
883
  v(q, {
886
884
  name: "fadeBaixo",
887
885
  mode: "out-in",
@@ -901,9 +899,9 @@ function xa(e, a, o, n, t, s) {
901
899
  appear: ""
902
900
  }, {
903
901
  default: y(() => [
904
- u("section", Xa, [
905
- z(e.$slots, "descricao", {}, () => [
906
- L(m(e.evento.subtitulo), 1)
902
+ u("section", Na, [
903
+ I(e.$slots, "descricao", {}, () => [
904
+ H(m(e.evento.subtitulo), 1)
907
905
  ])
908
906
  ])
909
907
  ]),
@@ -915,7 +913,7 @@ function xa(e, a, o, n, t, s) {
915
913
  appear: ""
916
914
  }, {
917
915
  default: y(() => [
918
- v(l, {
916
+ v(d, {
919
917
  observacoes: e.evento.observacoes,
920
918
  tituloBotao: "Inserir observação",
921
919
  onAdicionarClick: e.handleAdicionarObservacaoClick
@@ -929,7 +927,7 @@ function xa(e, a, o, n, t, s) {
929
927
  appear: ""
930
928
  }, {
931
929
  default: y(() => [
932
- v($, {
930
+ v(C, {
933
931
  "data-testid": "status-evento",
934
932
  aparencia: "preenchido",
935
933
  status: e.evento.status,
@@ -940,9 +938,9 @@ function xa(e, a, o, n, t, s) {
940
938
  })
941
939
  ]);
942
940
  }
943
- const ee = /* @__PURE__ */ _(Ka, [["render", xa]]), et = f({
941
+ const X = /* @__PURE__ */ _(Ma, [["render", La]]), wa = f({
944
942
  name: "AreaSalvamento",
945
- components: { Botao: R },
943
+ components: { Botao: V },
946
944
  emits: {
947
945
  salvarClick: (e) => !0,
948
946
  cancelarClick: (e) => !0
@@ -957,14 +955,14 @@ const ee = /* @__PURE__ */ _(Ka, [["render", xa]]), et = f({
957
955
  }
958
956
  };
959
957
  }
960
- }), at = {
958
+ }), Fa = {
961
959
  class: "area-salvamento",
962
960
  "data-testid": "area-salvamento"
963
961
  };
964
- function tt(e, a, o, n, t, s) {
962
+ function Ja(e, a, o, n, t, s) {
965
963
  const i = p("Botao");
966
- return r(), c("section", at, [
967
- z(e.$slots, "default", {}, void 0, !0),
964
+ return r(), l("section", Fa, [
965
+ I(e.$slots, "default", {}, void 0, !0),
968
966
  v(i, {
969
967
  "data-testid": "botao-salvar",
970
968
  aparencia: "preenchido",
@@ -981,13 +979,13 @@ function tt(e, a, o, n, t, s) {
981
979
  }, null, 8, ["onClick"])
982
980
  ]);
983
981
  }
984
- const ot = /* @__PURE__ */ _(et, [["render", tt], ["__scopeId", "data-v-bffa6dc0"]]), nt = f({
982
+ const Ua = /* @__PURE__ */ _(wa, [["render", Ja], ["__scopeId", "data-v-68a1bae4"]]), Ya = f({
983
+ components: { AreaSalvamento: Ua },
985
984
  props: {
986
985
  salvarVisivel: {
987
986
  type: Boolean
988
987
  }
989
988
  },
990
- components: { AreaSalvamento: ot },
991
989
  emits: {
992
990
  salvarClick: (e) => !0,
993
991
  cancelarClick: (e) => !0
@@ -1002,21 +1000,21 @@ const ot = /* @__PURE__ */ _(et, [["render", tt], ["__scopeId", "data-v-bffa6dc0
1002
1000
  }
1003
1001
  };
1004
1002
  }
1005
- }), it = {
1003
+ }), Ga = {
1006
1004
  class: "editar-evento",
1007
1005
  "data-testid": "editar-evento"
1008
- }, rt = { class: "area-conteudo" }, st = { class: "salvar" };
1009
- function lt(e, a, o, n, t, s) {
1006
+ }, Ka = { class: "area-conteudo" }, Qa = { class: "salvar" };
1007
+ function Wa(e, a, o, n, t, s) {
1010
1008
  const i = p("AreaSalvamento");
1011
- return r(), c("div", it, [
1009
+ return r(), l("div", Ga, [
1012
1010
  v(q, {
1013
1011
  name: "fadeTopo",
1014
1012
  mode: "out-in",
1015
1013
  appear: ""
1016
1014
  }, {
1017
1015
  default: y(() => [
1018
- u("div", rt, [
1019
- z(e.$slots, "conteudo")
1016
+ u("div", Ka, [
1017
+ I(e.$slots, "conteudo")
1020
1018
  ])
1021
1019
  ]),
1022
1020
  _: 3
@@ -1027,14 +1025,14 @@ function lt(e, a, o, n, t, s) {
1027
1025
  appear: ""
1028
1026
  }, {
1029
1027
  default: y(() => [
1030
- u("div", st, [
1028
+ u("div", Qa, [
1031
1029
  v(i, {
1032
1030
  "data-testid": "area-salvamento",
1033
1031
  onCancelarClick: e.emitirCancelarClick,
1034
1032
  onSalvarClick: e.emitirSalvarClick
1035
1033
  }, {
1036
1034
  default: y(() => [
1037
- z(e.$slots, "salvamento")
1035
+ I(e.$slots, "salvamento")
1038
1036
  ]),
1039
1037
  _: 3
1040
1038
  }, 8, ["onCancelarClick", "onSalvarClick"])
@@ -1044,7 +1042,8 @@ function lt(e, a, o, n, t, s) {
1044
1042
  })
1045
1043
  ]);
1046
1044
  }
1047
- const F = /* @__PURE__ */ _(nt, [["render", lt]]), ct = f({
1045
+ const L = /* @__PURE__ */ _(Ya, [["render", Wa]]), Xa = f({
1046
+ components: { EditarEvento: L, IconeStatus: N, BotaoStatus: W },
1048
1047
  props: {
1049
1048
  salvarVisivel: {
1050
1049
  type: Boolean
@@ -1054,21 +1053,20 @@ const F = /* @__PURE__ */ _(nt, [["render", lt]]), ct = f({
1054
1053
  type: Object
1055
1054
  }
1056
1055
  },
1057
- components: { EditarEvento: F, IconeStatus: w, BotaoStatus: x },
1058
1056
  emits: {
1059
1057
  salvarClick: (e, a) => !0,
1060
1058
  cancelarClick: (e) => !0
1061
1059
  },
1062
1060
  setup(e, { emit: a }) {
1063
- const o = (l, $) => {
1064
- a("salvarClick", l, $);
1065
- }, n = (l) => {
1066
- a("cancelarClick", l);
1061
+ const o = (d, C) => {
1062
+ a("salvarClick", d, C);
1063
+ }, n = (d) => {
1064
+ a("cancelarClick", d);
1067
1065
  }, t = M(e.evento.status);
1068
- function s(l) {
1069
- t.value = l;
1066
+ function s(d) {
1067
+ t.value = d;
1070
1068
  }
1071
- const i = A(() => (l) => t.value === l ? "preenchido" : "outline");
1069
+ const i = A(() => (d) => t.value === d ? "preenchido" : "outline");
1072
1070
  return {
1073
1071
  aoSalvar: o,
1074
1072
  aoCancelar: n,
@@ -1077,40 +1075,37 @@ const F = /* @__PURE__ */ _(nt, [["render", lt]]), ct = f({
1077
1075
  getAparencia: i
1078
1076
  };
1079
1077
  }
1080
- }), dt = /* @__PURE__ */ u("h2", null, "Alterar o Status para:", -1), ut = {
1078
+ }), Za = {
1081
1079
  key: 0,
1082
1080
  class: "nova-data"
1083
- }, pt = /* @__PURE__ */ u("h2", null, "Nova Data:", -1), vt = /* @__PURE__ */ u("p", null, "componente de seleção de data deve entrar aqui.", -1), mt = [
1084
- pt,
1085
- vt
1086
- ];
1087
- function ft(e, a, o, n, t, s) {
1088
- const i = p("BotaoStatus"), l = p("EditarEvento");
1089
- return r(), b(l, {
1081
+ };
1082
+ function xa(e, a, o, n, t, s) {
1083
+ const i = p("BotaoStatus"), d = p("EditarEvento");
1084
+ return r(), b(d, {
1090
1085
  "data-testid": "editar-status",
1091
1086
  salvarVisivel: e.salvarVisivel,
1092
1087
  onCancelarClick: e.aoCancelar,
1093
- onSalvarClick: a[3] || (a[3] = ($) => e.aoSalvar(e.selecionado, $))
1088
+ onSalvarClick: a[3] || (a[3] = (C) => e.aoSalvar(e.selecionado, C))
1094
1089
  }, {
1095
1090
  conteudo: y(() => [
1096
- dt,
1091
+ a[4] || (a[4] = u("h2", null, "Alterar o Status para:", -1)),
1097
1092
  v(i, {
1098
1093
  aparencia: e.getAparencia("realizado"),
1099
- onClick: a[0] || (a[0] = ($) => e.atualizarSelecionado("realizado")),
1100
1094
  status: "realizado",
1101
- "data-testid": "botao-status-realizado"
1095
+ "data-testid": "botao-status-realizado",
1096
+ onClick: a[0] || (a[0] = (C) => e.atualizarSelecionado("realizado"))
1102
1097
  }, null, 8, ["aparencia"]),
1103
1098
  v(i, {
1104
1099
  aparencia: e.getAparencia("cancelado"),
1105
- onClick: a[1] || (a[1] = ($) => e.atualizarSelecionado("cancelado")),
1106
1100
  status: "cancelado",
1107
- "data-testid": "botao-status-cancelado"
1101
+ "data-testid": "botao-status-cancelado",
1102
+ onClick: a[1] || (a[1] = (C) => e.atualizarSelecionado("cancelado"))
1108
1103
  }, null, 8, ["aparencia"]),
1109
1104
  v(i, {
1110
1105
  aparencia: e.getAparencia("adiado"),
1111
- onClick: a[2] || (a[2] = ($) => e.atualizarSelecionado("adiado")),
1112
1106
  status: "adiado",
1113
- "data-testid": "botao-status-adiado"
1107
+ "data-testid": "botao-status-adiado",
1108
+ onClick: a[2] || (a[2] = (C) => e.atualizarSelecionado("adiado"))
1114
1109
  }, null, 8, ["aparencia"])
1115
1110
  ]),
1116
1111
  salvamento: y(() => [
@@ -1120,7 +1115,10 @@ function ft(e, a, o, n, t, s) {
1120
1115
  appear: ""
1121
1116
  }, {
1122
1117
  default: y(() => [
1123
- e.selecionado === "adiado" ? (r(), c("div", ut, mt)) : S("", !0)
1118
+ e.selecionado === "adiado" ? (r(), l("div", Za, [...a[5] || (a[5] = [
1119
+ u("h2", null, "Nova Data:", -1),
1120
+ u("p", null, "componente de seleção de data deve entrar aqui.", -1)
1121
+ ])])) : S("", !0)
1124
1122
  ]),
1125
1123
  _: 1
1126
1124
  })
@@ -1128,7 +1126,8 @@ function ft(e, a, o, n, t, s) {
1128
1126
  _: 1
1129
1127
  }, 8, ["salvarVisivel", "onCancelarClick"]);
1130
1128
  }
1131
- const _t = /* @__PURE__ */ _(ct, [["render", ft]]), $t = f({
1129
+ const et = /* @__PURE__ */ _(Xa, [["render", xa]]), at = f({
1130
+ components: { EditarEvento: L },
1132
1131
  props: {
1133
1132
  salvarVisivel: {
1134
1133
  type: Boolean
@@ -1137,7 +1136,6 @@ const _t = /* @__PURE__ */ _(ct, [["render", ft]]), $t = f({
1137
1136
  type: String
1138
1137
  }
1139
1138
  },
1140
- components: { EditarEvento: F },
1141
1139
  emits: {
1142
1140
  adicionarClick: (e, a) => !0,
1143
1141
  cancelarClick: (e) => !0
@@ -1153,31 +1151,30 @@ const _t = /* @__PURE__ */ _(ct, [["render", ft]]), $t = f({
1153
1151
  a("cancelarClick", s);
1154
1152
  }, state: o };
1155
1153
  }
1156
- }), ht = /* @__PURE__ */ u("h2", null, "Observação:", -1);
1157
- function Ct(e, a, o, n, t, s) {
1154
+ });
1155
+ function tt(e, a, o, n, t, s) {
1158
1156
  const i = p("EditarEvento");
1159
1157
  return r(), b(i, {
1160
1158
  "data-testid": "adicionar-observacao",
1161
1159
  salvarVisivel: e.salvarVisivel,
1162
- observacao: e.state.observacaoLocal,
1163
- "onUpdate:observacao": a[1] || (a[1] = (l) => e.state.observacaoLocal = l),
1164
1160
  onSalvarClick: e.salvar,
1165
1161
  onCancelarClick: e.cancelar
1166
1162
  }, {
1167
1163
  conteudo: y(() => [
1168
- ht,
1169
- te(u("textarea", {
1164
+ a[1] || (a[1] = u("h2", null, "Observação:", -1)),
1165
+ x(u("textarea", {
1166
+ "onUpdate:modelValue": a[0] || (a[0] = (d) => e.state.observacaoLocal = d),
1170
1167
  "data-testid": "observacao-textarea",
1171
- "onUpdate:modelValue": a[0] || (a[0] = (l) => e.state.observacaoLocal = l),
1172
1168
  placeholder: ""
1173
1169
  }, null, 512), [
1174
- [oe, e.state.observacaoLocal]
1170
+ [ee, e.state.observacaoLocal]
1175
1171
  ])
1176
1172
  ]),
1177
1173
  _: 1
1178
- }, 8, ["salvarVisivel", "observacao", "onSalvarClick", "onCancelarClick"]);
1174
+ }, 8, ["salvarVisivel", "onSalvarClick", "onCancelarClick"]);
1179
1175
  }
1180
- const kt = /* @__PURE__ */ _($t, [["render", Ct]]), bt = f({
1176
+ const ot = /* @__PURE__ */ _(at, [["render", tt]]), nt = f({
1177
+ components: { Topo: ia, Evento: X, Timeline: Q, EditarStatus: et, AdicionarObservacao: ot },
1181
1178
  props: {
1182
1179
  perfil: {
1183
1180
  required: !0,
@@ -1188,7 +1185,6 @@ const kt = /* @__PURE__ */ _($t, [["render", Ct]]), bt = f({
1188
1185
  type: Array
1189
1186
  }
1190
1187
  },
1191
- components: { Topo: ua, Evento: ee, Timeline: W, EditarStatus: _t, AdicionarObservacao: kt },
1192
1188
  emits: {
1193
1189
  eventoTimelineClicked: (e, a) => !0,
1194
1190
  eventoStatusEditClicked: (e, a) => !0,
@@ -1213,68 +1209,68 @@ const kt = /* @__PURE__ */ _($t, [["render", Ct]]), bt = f({
1213
1209
  eventosDetalhados: o,
1214
1210
  eventoAtual: n
1215
1211
  }
1216
- }), s = (d) => "observacoes" in d, i = (d) => {
1212
+ }), s = (c) => "observacoes" in c, i = (c) => {
1217
1213
  const E = ["Timeline", "Evento"];
1218
- t.topo.exibir = E.includes(d), t.timeline.exibir = d === "Timeline", t.evento.exibir = d === "Evento", t.editarStatus.exibir = d === "EditarStatus", t.adicionarObservacao.exibir = d === "AdicionarObservacao";
1214
+ t.topo.exibir = E.includes(c), t.timeline.exibir = c === "Timeline", t.evento.exibir = c === "Evento", t.editarStatus.exibir = c === "EditarStatus", t.adicionarObservacao.exibir = c === "AdicionarObservacao";
1219
1215
  };
1220
1216
  return {
1221
- selecionarEvento: (d, E) => {
1222
- s(d) && (a("eventoTimelineClicked", d, E), t.dados.eventoAtual = d, i("Evento"));
1217
+ selecionarEvento: (c, E) => {
1218
+ s(c) && (a("eventoTimelineClicked", c, E), t.dados.eventoAtual = c, i("Evento"));
1223
1219
  },
1224
- handleVoltarTela: (d) => {
1225
- t.dados.eventoAtual ? i("Timeline") : a("voltarClick", d);
1220
+ handleVoltarTela: (c) => {
1221
+ t.dados.eventoAtual ? i("Timeline") : a("voltarClick", c);
1226
1222
  },
1227
- handleStatusEditarClick: (d) => {
1223
+ handleStatusEditarClick: (c) => {
1228
1224
  i("EditarStatus");
1229
1225
  },
1230
- handleStatusCancelarClick: (d) => {
1231
- t.dados.eventoAtual && (i("Evento"), a("editarStatusCancelarClicked", t.dados.eventoAtual, d));
1226
+ handleStatusCancelarClick: (c) => {
1227
+ t.dados.eventoAtual && (i("Evento"), a("editarStatusCancelarClicked", t.dados.eventoAtual, c));
1232
1228
  },
1233
- handleStatusSalvarClick: (d, E) => {
1234
- t.dados.eventoAtual && (i("Evento"), a("editarStatusSalvarClicked", t.dados.eventoAtual, d, E));
1229
+ handleStatusSalvarClick: (c, E) => {
1230
+ t.dados.eventoAtual && (i("Evento"), a("editarStatusSalvarClicked", t.dados.eventoAtual, c, E));
1235
1231
  },
1236
- handleObservacaoAdicionarClick: (d) => {
1232
+ handleObservacaoAdicionarClick: (c) => {
1237
1233
  t.dados.eventoAtual && (a(
1238
1234
  "eventoDetalhadoObservacoesAddClicked",
1239
1235
  t.dados.eventoAtual,
1240
- d
1236
+ c
1241
1237
  ), i("AdicionarObservacao"));
1242
1238
  },
1243
- handleAdicionarObservacaoSalvarClick: (d, E) => {
1239
+ handleAdicionarObservacaoSalvarClick: (c, E) => {
1244
1240
  t.dados.eventoAtual && (i("Evento"), a(
1245
1241
  "adicionarObservacaoSalvarClicked",
1246
1242
  t.dados.eventoAtual,
1247
- d,
1243
+ c,
1248
1244
  E
1249
1245
  ));
1250
1246
  },
1251
- handleObservacaoAdicionarCancelarClick: (d) => {
1252
- t.dados.eventoAtual && (i("Evento"), a("adicionarObservacaoCancelarClicked", t.dados.eventoAtual, d));
1247
+ handleObservacaoAdicionarCancelarClick: (c) => {
1248
+ t.dados.eventoAtual && (i("Evento"), a("adicionarObservacaoCancelarClicked", t.dados.eventoAtual, c));
1253
1249
  },
1254
1250
  TemplateTimeline: t
1255
1251
  };
1256
1252
  }
1257
- }), St = {
1253
+ }), it = {
1258
1254
  class: "pagina",
1259
1255
  "data-testid": "template-timeline"
1260
1256
  };
1261
- function gt(e, a, o, n, t, s) {
1262
- const i = p("Topo"), l = p("Timeline"), $ = p("Evento"), C = p("EditarStatus"), O = p("AdicionarObservacao");
1263
- return r(), c("div", St, [
1257
+ function rt(e, a, o, n, t, s) {
1258
+ const i = p("Topo"), d = p("Timeline"), C = p("Evento"), k = p("EditarStatus"), O = p("AdicionarObservacao");
1259
+ return r(), l("div", it, [
1264
1260
  e.TemplateTimeline.topo.exibir ? (r(), b(i, {
1265
1261
  key: 0,
1266
1262
  titulo: e.TemplateTimeline.dados.perfil.nome,
1267
1263
  escuro: !1,
1268
1264
  onVoltarClick: e.handleVoltarTela
1269
1265
  }, null, 8, ["titulo", "onVoltarClick"])) : S("", !0),
1270
- e.TemplateTimeline.timeline.exibir ? (r(), b(l, {
1266
+ e.TemplateTimeline.timeline.exibir ? (r(), b(d, {
1271
1267
  key: 1,
1272
1268
  "data-testid": "timeline",
1273
1269
  perfilTimeline: e.TemplateTimeline.dados.perfil,
1274
1270
  eventosTimeline: e.TemplateTimeline.dados.eventosTimeline,
1275
1271
  onEventoClick: e.selecionarEvento
1276
1272
  }, null, 8, ["perfilTimeline", "eventosTimeline", "onEventoClick"])) : S("", !0),
1277
- e.TemplateTimeline.dados.eventoAtual && e.TemplateTimeline.evento.exibir ? (r(), b($, {
1273
+ e.TemplateTimeline.dados.eventoAtual && e.TemplateTimeline.evento.exibir ? (r(), b(C, {
1278
1274
  key: 2,
1279
1275
  "data-testid": "evento-detalhado",
1280
1276
  perfil: e.TemplateTimeline.dados.perfil,
@@ -1282,7 +1278,7 @@ function gt(e, a, o, n, t, s) {
1282
1278
  onObservacaoAdicionarClick: e.handleObservacaoAdicionarClick,
1283
1279
  onStatusEditarClick: e.handleStatusEditarClick
1284
1280
  }, null, 8, ["perfil", "evento", "onObservacaoAdicionarClick", "onStatusEditarClick"])) : S("", !0),
1285
- e.TemplateTimeline.dados.eventoAtual && e.TemplateTimeline.editarStatus.exibir ? (r(), b(C, {
1281
+ e.TemplateTimeline.dados.eventoAtual && e.TemplateTimeline.editarStatus.exibir ? (r(), b(k, {
1286
1282
  key: 3,
1287
1283
  "data-testid": "editar-status",
1288
1284
  salvarVisivel: e.TemplateTimeline.editarStatus.exibir,
@@ -1300,33 +1296,33 @@ function gt(e, a, o, n, t, s) {
1300
1296
  }, null, 8, ["salvarVisivel", "onAdicionarClick", "onCancelarClick"])) : S("", !0)
1301
1297
  ]);
1302
1298
  }
1303
- const Et = /* @__PURE__ */ _(bt, [["render", gt]]), yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1299
+ const st = /* @__PURE__ */ _(nt, [["render", rt]]), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1304
1300
  __proto__: null
1305
- }, Symbol.toStringTag, { value: "Module" })), Tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1301
+ }, Symbol.toStringTag, { value: "Module" })), ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1306
1302
  __proto__: null
1307
- }, Symbol.toStringTag, { value: "Module" })), U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1303
+ }, Symbol.toStringTag, { value: "Module" })), w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1308
1304
  __proto__: null,
1309
- EditarEvento: F,
1310
- EventoDetalhado: ee,
1311
- EventoTimeline: Z,
1312
- TemplateTimeline: Et,
1313
- Timeline: W,
1314
- Tipos: yt,
1315
- TiposDetalhado: Tt
1316
- }, Symbol.toStringTag, { value: "Module" })), Ot = {
1305
+ EditarEvento: L,
1306
+ EventoDetalhado: X,
1307
+ EventoTimeline: G,
1308
+ TemplateTimeline: st,
1309
+ Timeline: Q,
1310
+ Tipos: lt,
1311
+ TiposDetalhado: ct
1312
+ }, Symbol.toStringTag, { value: "Module" })), pt = {
1317
1313
  install(e, ...a) {
1318
- Object.keys(U).forEach((o) => {
1319
- const n = U[o];
1314
+ Object.keys(w).forEach((o) => {
1315
+ const n = w[o];
1320
1316
  n && typeof n == "object" && e.component(o, n);
1321
1317
  });
1322
1318
  }
1323
1319
  };
1324
1320
  export {
1325
- F as EditarEvento,
1326
- ee as EventoDetalhado,
1327
- Z as EventoTimeline,
1328
- Et as TemplateTimeline,
1329
- Ot as Timeline,
1330
- yt as Tipos,
1331
- Tt as TiposDetalhado
1321
+ L as EditarEvento,
1322
+ X as EventoDetalhado,
1323
+ G as EventoTimeline,
1324
+ st as TemplateTimeline,
1325
+ pt as Timeline,
1326
+ lt as Tipos,
1327
+ ct as TiposDetalhado
1332
1328
  };