@mobilon-dev/chotto 0.3.111 → 0.3.113

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 (33) hide show
  1. package/dist/chotto.css +1 -1
  2. package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue.js +2 -2
  3. package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue2.js +37 -25
  4. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +3 -3
  5. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +204 -191
  6. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +1 -1
  7. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +341 -253
  8. package/dist/components/2_feed_elements/MessageReactions/MessageReactionsOverlay.vue.js +2 -2
  9. package/dist/components/2_feed_elements/MessageReactions/MessageReactionsOverlay.vue2.js +1 -0
  10. package/dist/components/2_feed_elements/MessageReactions/composables/useReactionsPanel.js +1 -1
  11. package/dist/hooks/messages/buildReplyPayload.js +15 -12
  12. package/dist/hooks/messages/getFileMessageItems.js +20 -0
  13. package/dist/hooks/messages/getImageMessageItems.js +21 -0
  14. package/dist/hooks/validators/messages/messageValidator.js +49 -42
  15. package/dist/index.js +115 -109
  16. package/dist/themes/dark.css +1 -1
  17. package/dist/themes/default.css +1 -1
  18. package/dist/themes/glass.css +1 -1
  19. package/dist/themes/green.css +1 -1
  20. package/dist/themes/mobilon1.css +1 -1
  21. package/dist/types/src/apps/data/messages.d.ts +295 -77
  22. package/dist/types/src/components/2_feed_elements/FileMessage/stories/FileMessage.stories.d.ts +1 -0
  23. package/dist/types/src/components/2_feed_elements/FileMessage/styles/types.d.ts +8 -0
  24. package/dist/types/src/components/2_feed_elements/ImageMessage/stories/ImageMessage.stories.d.ts +3 -0
  25. package/dist/types/src/components/2_feed_elements/ImageMessage/styles/types.d.ts +40 -0
  26. package/dist/types/src/components/2_feed_elements/types/components.d.ts +3 -1
  27. package/dist/types/src/components/2_feed_elements/types/messages.d.ts +27 -3
  28. package/dist/types/src/hooks/messages/buildReplyPayload.d.ts +2 -1
  29. package/dist/types/src/hooks/messages/getFileMessageItems.d.ts +11 -0
  30. package/dist/types/src/hooks/messages/getImageMessageItems.d.ts +12 -0
  31. package/dist/types/src/hooks/messages/index.d.ts +2 -0
  32. package/dist/types/src/hooks/validators/messages/types.d.ts +6 -0
  33. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import o from "./MessageReactionsOverlay.vue2.js";
2
2
  /* empty css */
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2fb2f337"]]);
3
+ import a from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const s = /* @__PURE__ */ a(o, [["__scopeId", "data-v-a775882f"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -213,6 +213,7 @@ const Le = ["title", "onClick"], nt = /* @__PURE__ */ fe({
213
213
  native: o(z),
214
214
  "emoji-src": o(H),
215
215
  theme: _.value,
216
+ "display-recent": !0,
216
217
  "picker-type": "",
217
218
  onSelect: pe
218
219
  }, null, 40, ["native", "emoji-src", "theme"]))
@@ -77,7 +77,7 @@ function J(g, P) {
77
77
  function q() {
78
78
  k = !0, u(), h(), !(a.value || l.value) && (d = setTimeout(() => {
79
79
  k && x();
80
- }, 1e3));
80
+ }, 500));
81
81
  }
82
82
  function z() {
83
83
  k = !1, h(), y();
@@ -1,17 +1,20 @@
1
- function e(r, l) {
1
+ import { getPrimaryFileItem as r } from "./getFileMessageItems.js";
2
+ import { getPrimaryImageItem as o } from "./getImageMessageItems.js";
3
+ function d(e, l) {
4
+ const t = l === "message.image" || e.type === "message.image" ? o(e) : void 0, i = l === "message.file" || e.type === "message.file" ? r(e) : void 0;
2
5
  return {
3
- messageId: String(r.messageId),
4
- type: r.type ?? l,
5
- text: r.text,
6
- filename: r.filename,
7
- url: r.url,
8
- imagePreviewUrl: r.imagePreviewUrl,
9
- videoPreviewUrl: r.videoPreviewUrl,
10
- coverUrl: r.coverUrl,
11
- header: r.header,
12
- callDuration: r.callDuration
6
+ messageId: String(e.messageId),
7
+ type: e.type ?? l,
8
+ text: e.text,
9
+ filename: e.filename ?? (t == null ? void 0 : t.filename) ?? (i == null ? void 0 : i.filename),
10
+ url: e.url || (t == null ? void 0 : t.url) || (i == null ? void 0 : i.url),
11
+ imagePreviewUrl: e.imagePreviewUrl || (t == null ? void 0 : t.imagePreviewUrl),
12
+ videoPreviewUrl: e.videoPreviewUrl,
13
+ coverUrl: e.coverUrl,
14
+ header: e.header,
15
+ callDuration: e.callDuration
13
16
  };
14
17
  }
15
18
  export {
16
- e as buildReplyPayload
19
+ d as buildReplyPayload
17
20
  };
@@ -0,0 +1,20 @@
1
+ function n(t) {
2
+ if (!t || typeof t != "object") return !1;
3
+ const r = t.url;
4
+ return typeof r == "string" && r.length > 0;
5
+ }
6
+ function e(t) {
7
+ if (!t) return [];
8
+ const r = (t.items ?? []).filter(n);
9
+ return r.length ? r : typeof t.url == "string" && t.url ? [{
10
+ url: t.url,
11
+ filename: t.filename
12
+ }] : [];
13
+ }
14
+ function i(t) {
15
+ return e(t)[0];
16
+ }
17
+ export {
18
+ e as getFileMessageItems,
19
+ i as getPrimaryFileItem
20
+ };
@@ -0,0 +1,21 @@
1
+ function e(r) {
2
+ if (!r || typeof r != "object") return !1;
3
+ const t = r.url;
4
+ return typeof t == "string" && t.length > 0;
5
+ }
6
+ function n(r) {
7
+ if (!r) return [];
8
+ const t = (r.items ?? []).filter(e);
9
+ return t.length ? t : typeof r.url == "string" && r.url ? [{
10
+ url: r.url,
11
+ imagePreviewUrl: r.imagePreviewUrl,
12
+ filename: r.filename
13
+ }] : [];
14
+ }
15
+ function i(r) {
16
+ return n(r)[0];
17
+ }
18
+ export {
19
+ n as getImageMessageItems,
20
+ i as getPrimaryImageItem
21
+ };
@@ -1,78 +1,85 @@
1
- function v(e, o) {
2
- const t = [], i = `messages[${o}].reply`;
3
- return typeof e != "object" || e === null ? (t.push({ path: i, message: "Reply должен быть объектом", value: e }), t) : (e.messageId === void 0 ? t.push({ path: `${i}.messageId`, message: "Поле messageId обязательно", value: e.messageId }) : typeof e.messageId != "string" && typeof e.messageId != "number" && t.push({ path: `${i}.messageId`, message: "Поле messageId должно быть строкой или числом", value: e.messageId }), (!e.type || typeof e.type != "string") && t.push({ path: `${i}.type`, message: "Поле type обязательно и должно быть строкой", value: e.type }), e.text !== void 0 && typeof e.text != "string" && t.push({ path: `${i}.text`, message: "Поле text должно быть строкой", value: e.text }), e.url !== void 0 && typeof e.url != "string" && t.push({ path: `${i}.url`, message: "Поле url должно быть строкой", value: e.url }), e.imagePreviewUrl !== void 0 && typeof e.imagePreviewUrl != "string" && t.push({ path: `${i}.imagePreviewUrl`, message: "Поле imagePreviewUrl должно быть строкой", value: e.imagePreviewUrl }), e.videoPreviewUrl !== void 0 && typeof e.videoPreviewUrl != "string" && t.push({ path: `${i}.videoPreviewUrl`, message: "Поле videoPreviewUrl должно быть строкой", value: e.videoPreviewUrl }), e.coverUrl !== void 0 && typeof e.coverUrl != "string" && t.push({ path: `${i}.coverUrl`, message: "Поле coverUrl должно быть строкой", value: e.coverUrl }), e.filename !== void 0 && typeof e.filename != "string" && t.push({ path: `${i}.filename`, message: "Поле filename должно быть строкой", value: e.filename }), t);
1
+ function d(e, r) {
2
+ const i = [], t = `messages[${r}].reply`;
3
+ return typeof e != "object" || e === null ? (i.push({ path: t, message: "Reply должен быть объектом", value: e }), i) : (e.messageId === void 0 ? i.push({ path: `${t}.messageId`, message: "Поле messageId обязательно", value: e.messageId }) : typeof e.messageId != "string" && typeof e.messageId != "number" && i.push({ path: `${t}.messageId`, message: "Поле messageId должно быть строкой или числом", value: e.messageId }), (!e.type || typeof e.type != "string") && i.push({ path: `${t}.type`, message: "Поле type обязательно и должно быть строкой", value: e.type }), e.text !== void 0 && typeof e.text != "string" && i.push({ path: `${t}.text`, message: "Поле text должно быть строкой", value: e.text }), e.url !== void 0 && typeof e.url != "string" && i.push({ path: `${t}.url`, message: "Поле url должно быть строкой", value: e.url }), e.imagePreviewUrl !== void 0 && typeof e.imagePreviewUrl != "string" && i.push({ path: `${t}.imagePreviewUrl`, message: "Поле imagePreviewUrl должно быть строкой", value: e.imagePreviewUrl }), e.videoPreviewUrl !== void 0 && typeof e.videoPreviewUrl != "string" && i.push({ path: `${t}.videoPreviewUrl`, message: "Поле videoPreviewUrl должно быть строкой", value: e.videoPreviewUrl }), e.coverUrl !== void 0 && typeof e.coverUrl != "string" && i.push({ path: `${t}.coverUrl`, message: "Поле coverUrl должно быть строкой", value: e.coverUrl }), e.filename !== void 0 && typeof e.filename != "string" && i.push({ path: `${t}.filename`, message: "Поле filename должно быть строкой", value: e.filename }), i);
4
4
  }
5
- function s(e, o) {
6
- const t = [], i = `messages[${o}]`;
5
+ function v(e, r) {
6
+ const i = [], t = `messages[${r}]`;
7
7
  if (typeof e != "object" || e === null)
8
- return t.push({ path: i, message: "Сообщение должно быть объектом", value: e }), t;
9
- if (e.chatId !== void 0 && typeof e.chatId != "string" && t.push({ path: `${i}.chatId`, message: "Поле chatId должно быть строкой", value: e.chatId }), e.type !== "system.date" && (e.messageId === void 0 ? t.push({ path: `${i}.messageId`, message: "Поле messageId обязательно", value: e.messageId }) : typeof e.messageId != "string" && typeof e.messageId != "number" && t.push({ path: `${i}.messageId`, message: "Поле messageId должно быть строкой или числом", value: e.messageId })), (!e.type || typeof e.type != "string") && t.push({ path: `${i}.type`, message: "Поле type обязательно и должно быть строкой", value: e.type }), e.type !== "system.date" && (e.timestamp === void 0 ? t.push({ path: `${i}.timestamp`, message: "Поле timestamp обязательно", value: e.timestamp }) : typeof e.timestamp != "string" && typeof e.timestamp != "number" && t.push({ path: `${i}.timestamp`, message: "Поле timestamp должно быть строкой или числом", value: e.timestamp })), e.dialogId !== void 0 && typeof e.dialogId != "string" && t.push({ path: `${i}.dialogId`, message: "Поле dialogId должно быть строкой", value: e.dialogId }), e.direction !== void 0) {
8
+ return i.push({ path: t, message: "Сообщение должно быть объектом", value: e }), i;
9
+ if (e.chatId !== void 0 && typeof e.chatId != "string" && i.push({ path: `${t}.chatId`, message: "Поле chatId должно быть строкой", value: e.chatId }), e.type !== "system.date" && (e.messageId === void 0 ? i.push({ path: `${t}.messageId`, message: "Поле messageId обязательно", value: e.messageId }) : typeof e.messageId != "string" && typeof e.messageId != "number" && i.push({ path: `${t}.messageId`, message: "Поле messageId должно быть строкой или числом", value: e.messageId })), (!e.type || typeof e.type != "string") && i.push({ path: `${t}.type`, message: "Поле type обязательно и должно быть строкой", value: e.type }), e.type !== "system.date" && (e.timestamp === void 0 ? i.push({ path: `${t}.timestamp`, message: "Поле timestamp обязательно", value: e.timestamp }) : typeof e.timestamp != "string" && typeof e.timestamp != "number" && i.push({ path: `${t}.timestamp`, message: "Поле timestamp должно быть строкой или числом", value: e.timestamp })), e.dialogId !== void 0 && typeof e.dialogId != "string" && i.push({ path: `${t}.dialogId`, message: "Поле dialogId должно быть строкой", value: e.dialogId }), e.direction !== void 0) {
10
10
  const a = ["incoming", "outgoing"];
11
- a.includes(e.direction) || t.push({
12
- path: `${i}.direction`,
11
+ a.includes(e.direction) || i.push({
12
+ path: `${t}.direction`,
13
13
  message: `Поле direction должно быть одним из: ${a.join(", ")}`,
14
14
  value: e.direction
15
15
  });
16
16
  }
17
17
  if (e.status !== void 0) {
18
18
  const a = ["read", "sent", "received"];
19
- a.includes(e.status) || t.push({
20
- path: `${i}.status`,
19
+ a.includes(e.status) || i.push({
20
+ path: `${t}.status`,
21
21
  message: `Поле status должно быть одним из: ${a.join(", ")}`,
22
22
  value: e.status
23
23
  });
24
24
  }
25
- return e.text !== void 0 && typeof e.text != "string" && t.push({ path: `${i}.text`, message: "Поле text должно быть строкой", value: e.text }), e.header !== void 0 && typeof e.header != "string" && t.push({ path: `${i}.header`, message: "Поле header должно быть строкой", value: e.header }), e.subText !== void 0 && typeof e.subText != "string" && t.push({ path: `${i}.subText`, message: "Поле subText должно быть строкой", value: e.subText }), e.avatar !== void 0 && typeof e.avatar != "string" && t.push({ path: `${i}.avatar`, message: "Поле avatar должно быть строкой", value: e.avatar }), e.url !== void 0 && typeof e.url != "string" && t.push({ path: `${i}.url`, message: "Поле url должно быть строкой", value: e.url }), e.imagePreviewUrl !== void 0 && typeof e.imagePreviewUrl != "string" && t.push({ path: `${i}.imagePreviewUrl`, message: "Поле imagePreviewUrl должно быть строкой", value: e.imagePreviewUrl }), e.videoPreviewUrl !== void 0 && typeof e.videoPreviewUrl != "string" && t.push({ path: `${i}.videoPreviewUrl`, message: "Поле videoPreviewUrl должно быть строкой", value: e.videoPreviewUrl }), e.coverUrl !== void 0 && typeof e.coverUrl != "string" && t.push({ path: `${i}.coverUrl`, message: "Поле coverUrl должно быть строкой", value: e.coverUrl }), e.filename !== void 0 && typeof e.filename != "string" && t.push({ path: `${i}.filename`, message: "Поле filename должно быть строкой", value: e.filename }), e.views !== void 0 && typeof e.views != "number" && t.push({ path: `${i}.views`, message: "Поле views должно быть числом", value: e.views }), e.reply !== void 0 && t.push(...v(e.reply, o)), e.embed !== void 0 && (typeof e.embed != "object" || e.embed === null ? t.push({ path: `${i}.embed`, message: "Поле embed должно быть объектом", value: e.embed }) : ((!e.embed.type || typeof e.embed.type != "string") && t.push({ path: `${i}.embed.type`, message: "Поле embed.type обязательно и должно быть строкой", value: e.embed.type }), (!e.embed.url || typeof e.embed.url != "string") && t.push({ path: `${i}.embed.url`, message: "Поле embed.url обязательно и должно быть строкой", value: e.embed.url }))), t;
25
+ return e.text !== void 0 && typeof e.text != "string" && i.push({ path: `${t}.text`, message: "Поле text должно быть строкой", value: e.text }), e.header !== void 0 && typeof e.header != "string" && i.push({ path: `${t}.header`, message: "Поле header должно быть строкой", value: e.header }), e.subText !== void 0 && typeof e.subText != "string" && i.push({ path: `${t}.subText`, message: "Поле subText должно быть строкой", value: e.subText }), e.avatar !== void 0 && typeof e.avatar != "string" && i.push({ path: `${t}.avatar`, message: "Поле avatar должно быть строкой", value: e.avatar }), e.url !== void 0 && typeof e.url != "string" && i.push({ path: `${t}.url`, message: "Поле url должно быть строкой", value: e.url }), e.imagePreviewUrl !== void 0 && typeof e.imagePreviewUrl != "string" && i.push({ path: `${t}.imagePreviewUrl`, message: "Поле imagePreviewUrl должно быть строкой", value: e.imagePreviewUrl }), e.videoPreviewUrl !== void 0 && typeof e.videoPreviewUrl != "string" && i.push({ path: `${t}.videoPreviewUrl`, message: "Поле videoPreviewUrl должно быть строкой", value: e.videoPreviewUrl }), e.coverUrl !== void 0 && typeof e.coverUrl != "string" && i.push({ path: `${t}.coverUrl`, message: "Поле coverUrl должно быть строкой", value: e.coverUrl }), e.filename !== void 0 && typeof e.filename != "string" && i.push({ path: `${t}.filename`, message: "Поле filename должно быть строкой", value: e.filename }), e.views !== void 0 && typeof e.views != "number" && i.push({ path: `${t}.views`, message: "Поле views должно быть числом", value: e.views }), e.items !== void 0 && (Array.isArray(e.items) ? e.items.forEach((a, s) => {
26
+ const o = `${t}.items[${s}]`;
27
+ if (typeof a != "object" || a === null) {
28
+ i.push({ path: o, message: "Элемент items должен быть объектом", value: a });
29
+ return;
30
+ }
31
+ (!a.url || typeof a.url != "string") && i.push({ path: `${o}.url`, message: "Поле url обязательно и должно быть строкой", value: a.url }), a.imagePreviewUrl !== void 0 && typeof a.imagePreviewUrl != "string" && i.push({ path: `${o}.imagePreviewUrl`, message: "Поле imagePreviewUrl должно быть строкой", value: a.imagePreviewUrl }), a.filename !== void 0 && typeof a.filename != "string" && i.push({ path: `${o}.filename`, message: "Поле filename должно быть строкой", value: a.filename }), a.size !== void 0 && typeof a.size != "number" && typeof a.size != "string" && i.push({ path: `${o}.size`, message: "Поле size должно быть числом или строкой", value: a.size });
32
+ }) : i.push({ path: `${t}.items`, message: "Поле items должно быть массивом", value: e.items })), e.reply !== void 0 && i.push(...d(e.reply, r)), e.embed !== void 0 && (typeof e.embed != "object" || e.embed === null ? i.push({ path: `${t}.embed`, message: "Поле embed должно быть объектом", value: e.embed }) : ((!e.embed.type || typeof e.embed.type != "string") && i.push({ path: `${t}.embed.type`, message: "Поле embed.type обязательно и должно быть строкой", value: e.embed.type }), (!e.embed.url || typeof e.embed.url != "string") && i.push({ path: `${t}.embed.url`, message: "Поле embed.url обязательно и должно быть строкой", value: e.embed.url }))), i;
26
33
  }
27
- function h(e) {
28
- const o = [], t = [];
34
+ function l(e) {
35
+ const r = [], i = [];
29
36
  if (!Array.isArray(e))
30
37
  return {
31
38
  isValid: !1,
32
39
  errors: [{ path: "messages", message: "Данные должны быть массивом", value: e }],
33
40
  warnings: []
34
41
  };
35
- e.length === 0 && t.push({ path: "messages", message: "Массив сообщений пустой" });
36
- const i = /* @__PURE__ */ new Map();
37
- return e.forEach((a, d) => {
42
+ e.length === 0 && i.push({ path: "messages", message: "Массив сообщений пустой" });
43
+ const t = /* @__PURE__ */ new Map();
44
+ return e.forEach((a, s) => {
38
45
  if (a && typeof a == "object" && a.chatId !== void 0 && a.messageId !== void 0) {
39
- const r = a.dialogId ? `${a.chatId}:${a.dialogId}` : `${a.chatId}`;
40
- i.has(r) || i.set(r, /* @__PURE__ */ new Set());
41
- const u = i.get(r);
46
+ const o = a.dialogId ? `${a.chatId}:${a.dialogId}` : `${a.chatId}`;
47
+ t.has(o) || t.set(o, /* @__PURE__ */ new Set());
48
+ const u = t.get(o);
42
49
  if (u.has(a.messageId)) {
43
50
  const p = a.dialogId ? `в чате ${a.chatId}, диалоге ${a.dialogId}` : `в чате ${a.chatId}`;
44
- o.push({
45
- path: `messages[${d}].messageId`,
51
+ r.push({
52
+ path: `messages[${s}].messageId`,
46
53
  message: `Дублирующийся messageId ${p}`,
47
54
  value: a.messageId
48
55
  });
49
56
  } else
50
57
  u.add(a.messageId);
51
58
  }
52
- }), e.forEach((a, d) => {
53
- o.push(...s(a, d));
59
+ }), e.forEach((a, s) => {
60
+ r.push(...v(a, s));
54
61
  }), {
55
- isValid: o.length === 0,
56
- errors: o,
57
- warnings: t
62
+ isValid: r.length === 0,
63
+ errors: r,
64
+ warnings: i
58
65
  };
59
66
  }
60
- function l(e) {
61
- const o = [];
62
- return o.push(`=== РЕЗУЛЬТАТ ВАЛИДАЦИИ СООБЩЕНИЙ ===
63
- `), e.isValid ? o.push(`✅ Данные валидны!
64
- `) : o.push(`❌ Обнаружены ошибки!
65
- `), e.errors.length > 0 && (o.push(`
66
- 🔴 ОШИБКИ (${e.errors.length}):`), e.errors.forEach((t, i) => {
67
- o.push(` ${i + 1}. [${t.path}] ${t.message}`), t.value !== void 0 && o.push(` Значение: ${JSON.stringify(t.value)}`);
68
- })), e.warnings.length > 0 && (o.push(`
69
- ⚠️ ПРЕДУПРЕЖДЕНИЯ (${e.warnings.length}):`), e.warnings.forEach((t, i) => {
70
- o.push(` ${i + 1}. [${t.path}] ${t.message}`), t.value !== void 0 && o.push(` Значение: ${JSON.stringify(t.value)}`);
71
- })), o.push(`
72
- ` + "=".repeat(40)), o.join(`
67
+ function h(e) {
68
+ const r = [];
69
+ return r.push(`=== РЕЗУЛЬТАТ ВАЛИДАЦИИ СООБЩЕНИЙ ===
70
+ `), e.isValid ? r.push(`✅ Данные валидны!
71
+ `) : r.push(`❌ Обнаружены ошибки!
72
+ `), e.errors.length > 0 && (r.push(`
73
+ 🔴 ОШИБКИ (${e.errors.length}):`), e.errors.forEach((i, t) => {
74
+ r.push(` ${t + 1}. [${i.path}] ${i.message}`), i.value !== void 0 && r.push(` Значение: ${JSON.stringify(i.value)}`);
75
+ })), e.warnings.length > 0 && (r.push(`
76
+ ⚠️ ПРЕДУПРЕЖДЕНИЯ (${e.warnings.length}):`), e.warnings.forEach((i, t) => {
77
+ r.push(` ${t + 1}. [${i.path}] ${i.message}`), i.value !== void 0 && r.push(` Значение: ${JSON.stringify(i.value)}`);
78
+ })), r.push(`
79
+ ` + "=".repeat(40)), r.join(`
73
80
  `);
74
81
  }
75
82
  export {
76
- l as getMessageValidationReport,
77
- h as validateMessages
83
+ h as getMessageValidationReport,
84
+ l as validateMessages
78
85
  };