@devix-tecnologia/timeline-vue 3.0.0 → 3.2.1

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