@devix-tecnologia/timeline-vue 2.0.3 → 2.1.0

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