@matechat/core 1.10.0 → 1.11.0-alpha.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.
Files changed (120) hide show
  1. package/Attachment/Attachment.vue.d.ts +121 -0
  2. package/Attachment/attachment-types.d.ts +103 -0
  3. package/Attachment/drop-area.vue.d.ts +13 -0
  4. package/Attachment/index.css +1 -1
  5. package/Attachment/index.d.ts +2 -0
  6. package/Attachment/index.js +211 -311
  7. package/Attachment/uploader.d.ts +11 -0
  8. package/Attachment/use-upload.d.ts +8 -0
  9. package/Bubble/Bubble.vue.d.ts +75 -0
  10. package/Bubble/BubbleLoading.vue.d.ts +3 -0
  11. package/Bubble/bubble-constants.d.ts +4 -0
  12. package/Bubble/bubble-types.d.ts +38 -0
  13. package/Bubble/components/Avatar.vue.d.ts +57 -0
  14. package/Bubble/components/AvatarBodyIcon.vue.d.ts +24 -0
  15. package/Bubble/components/AvatarNoBodyIcon.vue.d.ts +24 -0
  16. package/Bubble/components/avatar-types.d.ts +25 -0
  17. package/Bubble/index.css +1 -1
  18. package/Bubble/index.d.ts +2 -0
  19. package/Bubble/index.js +142 -148
  20. package/FileList/FileIcon/CodeFile.vue.d.ts +10 -0
  21. package/FileList/FileIcon/CompressedFile.vue.d.ts +10 -0
  22. package/FileList/FileIcon/DefaultFileIcon.vue.d.ts +10 -0
  23. package/FileList/FileIcon/Document.vue.d.ts +10 -0
  24. package/FileList/FileIcon/DrawingBoard.vue.d.ts +10 -0
  25. package/FileList/FileIcon/EmailFile.vue.d.ts +10 -0
  26. package/FileList/FileIcon/Excel.vue.d.ts +10 -0
  27. package/FileList/FileIcon/FlowChart.vue.d.ts +10 -0
  28. package/FileList/FileIcon/FolderClosed.vue.d.ts +10 -0
  29. package/FileList/FileIcon/FolderOpen.vue.d.ts +10 -0
  30. package/FileList/FileIcon/Image.vue.d.ts +10 -0
  31. package/FileList/FileIcon/Markdown.vue.d.ts +10 -0
  32. package/FileList/FileIcon/Mind.vue.d.ts +10 -0
  33. package/FileList/FileIcon/Mp4.vue.d.ts +10 -0
  34. package/FileList/FileIcon/MultidimentionalTable.vue.d.ts +10 -0
  35. package/FileList/FileIcon/Page.vue.d.ts +10 -0
  36. package/FileList/FileIcon/Pdf.vue.d.ts +10 -0
  37. package/FileList/FileIcon/Ppt.vue.d.ts +10 -0
  38. package/FileList/FileIcon/Unknown.vue.d.ts +10 -0
  39. package/FileList/FileIcon/Wrong.vue.d.ts +10 -0
  40. package/FileList/FileList.vue.d.ts +36 -0
  41. package/FileList/fileList-types.d.ts +21 -0
  42. package/FileList/index.d.ts +2 -0
  43. package/FileList/index.js +220 -228
  44. package/Header/Header.vue.d.ts +47 -0
  45. package/Header/header-types.d.ts +14 -0
  46. package/Header/index.d.ts +2 -0
  47. package/Header/index.js +0 -1
  48. package/Input/Input.vue.d.ts +165 -0
  49. package/Input/components/EditableBlock.vue.d.ts +101 -0
  50. package/Input/components/InputTag.vue.d.ts +30 -0
  51. package/Input/components/LoadingIcon.vue.d.ts +3 -0
  52. package/Input/components/SendIcon.vue.d.ts +3 -0
  53. package/Input/components/button.vue.d.ts +3 -0
  54. package/Input/components/textarea-utils.d.ts +17 -0
  55. package/Input/components/textarea.vue.d.ts +3 -0
  56. package/Input/components/use-textarea-autosize.d.ts +12 -0
  57. package/Input/components/util.d.ts +3 -0
  58. package/Input/index.css +1 -1
  59. package/Input/index.d.ts +2 -0
  60. package/Input/index.js +114 -252
  61. package/Input/input-types.d.ts +118 -0
  62. package/Introduction/Introduction.vue.d.ts +88 -0
  63. package/Introduction/index.css +1 -1
  64. package/Introduction/index.d.ts +2 -0
  65. package/Introduction/index.js +8 -9
  66. package/Introduction/introduction-types.d.ts +37 -0
  67. package/Layout/Aside.vue.d.ts +13 -0
  68. package/Layout/Content.vue.d.ts +13 -0
  69. package/Layout/Header.vue.d.ts +13 -0
  70. package/Layout/Layout.vue.d.ts +13 -0
  71. package/Layout/Sender.vue.d.ts +13 -0
  72. package/Layout/index.d.ts +6 -0
  73. package/Layout/index.js +0 -1
  74. package/List/List.vue.d.ts +98 -0
  75. package/List/const.d.ts +5 -0
  76. package/List/index.css +1 -1
  77. package/List/index.d.ts +3 -0
  78. package/List/index.js +51 -54
  79. package/List/list-types.d.ts +52 -0
  80. package/List/use-list.d.ts +13 -0
  81. package/Locale/i18n.d.ts +21 -0
  82. package/Locale/index.d.ts +7 -0
  83. package/Locale/index.js +35 -103
  84. package/Locale/lang/en-us.d.ts +34 -0
  85. package/Locale/lang/zh-cn.d.ts +34 -0
  86. package/MarkdownCard/CodeBlock.vue.d.ts +76 -0
  87. package/MarkdownCard/MDCardParser.d.ts +12 -0
  88. package/MarkdownCard/MDCardService.d.ts +14 -0
  89. package/MarkdownCard/MermaidService.d.ts +22 -0
  90. package/MarkdownCard/index.css +1 -1
  91. package/MarkdownCard/index.d.ts +2 -0
  92. package/MarkdownCard/index.js +205 -559
  93. package/MarkdownCard/mdCard.types.d.ts +88 -0
  94. package/MarkdownCard/mdCard.vue.d.ts +29 -0
  95. package/Mention/Mention.vue.d.ts +51 -0
  96. package/Mention/const.d.ts +4 -0
  97. package/Mention/index.d.ts +2 -0
  98. package/Mention/index.js +0 -1
  99. package/Mention/mention-types.d.ts +24 -0
  100. package/Mention/use-mention.d.ts +10 -0
  101. package/Prompt/Prompt.vue.d.ts +38 -0
  102. package/Prompt/PromptItem.vue.d.ts +11 -0
  103. package/Prompt/components/Icon.vue.d.ts +42 -0
  104. package/Prompt/components/icon-types.d.ts +18 -0
  105. package/Prompt/index.d.ts +2 -0
  106. package/Prompt/prompt-types.d.ts +33 -0
  107. package/README.md +12 -8
  108. package/Toolbar/Toolbar.vue.d.ts +68 -0
  109. package/Toolbar/icon/CopyIcon.vue.d.ts +42 -0
  110. package/Toolbar/icon/DeleteIcon.vue.d.ts +42 -0
  111. package/Toolbar/icon/DislikeIcon.vue.d.ts +46 -0
  112. package/Toolbar/icon/LikeIcon.vue.d.ts +46 -0
  113. package/Toolbar/icon/RefreshIcon.vue.d.ts +42 -0
  114. package/Toolbar/icon/ShareIcon.vue.d.ts +42 -0
  115. package/Toolbar/index.css +1 -0
  116. package/Toolbar/index.d.ts +8 -0
  117. package/Toolbar/index.js +519 -0
  118. package/Toolbar/toolbar.types.d.ts +60 -0
  119. package/mate-chat.js +0 -6
  120. package/package.json +4 -1
package/Bubble/index.js CHANGED
@@ -1,61 +1,5 @@
1
- import "./index.css";
2
- import { createElementBlock as o, openBlock as r, createElementVNode as v, defineComponent as Z, normalizeStyle as h, ref as f, watch as N, createCommentVNode as u, normalizeClass as L, toDisplayString as A, createVNode as M, useSlots as B, computed as $, unref as w, renderSlot as p, normalizeProps as R, guardReactiveProps as _, createTextVNode as E } from "vue";
3
- const k = (i, a) => {
4
- const s = i.__vccOpts || i;
5
- for (const [n, c] of a)
6
- s[n] = c;
7
- return s;
8
- }, F = {}, T = { class: "mc-bubble-loading" };
9
- function D(i, a) {
10
- return r(), o("div", T, [...a[0] || (a[0] = [
11
- v(
12
- "div",
13
- { class: "loading-dot dot-start" },
14
- null,
15
- -1
16
- /* CACHED */
17
- ),
18
- v(
19
- "div",
20
- { class: "loading-dot dot-middle" },
21
- null,
22
- -1
23
- /* CACHED */
24
- ),
25
- v(
26
- "div",
27
- { class: "loading-dot dot-end" },
28
- null,
29
- -1
30
- /* CACHED */
31
- )
32
- ])]);
33
- }
34
- const I = /* @__PURE__ */ k(F, [["render", D], ["__scopeId", "data-v-395fc568"]]), z = 36, P = 36, U = "name", H = "imgSrc", O = {
35
- content: {
36
- type: String,
37
- default: ""
38
- },
39
- loading: {
40
- type: Boolean,
41
- default: !1
42
- },
43
- align: {
44
- type: String,
45
- default: "left"
46
- },
47
- avatarPosition: {
48
- type: String,
49
- default: "side"
50
- },
51
- variant: {
52
- type: String,
53
- default: "filled"
54
- },
55
- avatarConfig: {
56
- type: Object
57
- }
58
- }, j = {
1
+ import { defineComponent as M, createElementBlock as l, openBlock as r, normalizeStyle as h, createElementVNode as v, ref as p, watch as N, createCommentVNode as d, normalizeClass as b, toDisplayString as A, createVNode as w, useSlots as B, computed as $, normalizeProps as R, guardReactiveProps as E, unref as Z, renderSlot as y, createTextVNode as F } from "vue";
2
+ const T = {
59
3
  name: {
60
4
  type: String,
61
5
  default: ""
@@ -79,7 +23,7 @@ const I = /* @__PURE__ */ k(F, [["render", D], ["__scopeId", "data-v-395fc568"]]
79
23
  type: String,
80
24
  default: ""
81
25
  }
82
- }, G = /* @__PURE__ */ Z({
26
+ }, _ = /* @__PURE__ */ M({
83
27
  __name: "AvatarBodyIcon",
84
28
  props: {
85
29
  width: {
@@ -92,7 +36,7 @@ const I = /* @__PURE__ */ k(F, [["render", D], ["__scopeId", "data-v-395fc568"]]
92
36
  }
93
37
  },
94
38
  setup(i) {
95
- return (a, s) => (r(), o(
39
+ return (a, s) => (r(), l(
96
40
  "svg",
97
41
  {
98
42
  style: h({
@@ -104,7 +48,7 @@ const I = /* @__PURE__ */ k(F, [["render", D], ["__scopeId", "data-v-395fc568"]]
104
48
  version: "1.1",
105
49
  xmlns: "http://www.w3.org/2000/svg"
106
50
  },
107
- [...s[0] || (s[0] = [
51
+ s[0] || (s[0] = [
108
52
  v(
109
53
  "g",
110
54
  {
@@ -127,14 +71,14 @@ const I = /* @__PURE__ */ k(F, [["render", D], ["__scopeId", "data-v-395fc568"]]
127
71
  })
128
72
  ],
129
73
  -1
130
- /* CACHED */
74
+ /* HOISTED */
131
75
  )
132
- ])],
76
+ ]),
133
77
  4
134
78
  /* STYLE */
135
79
  ));
136
80
  }
137
- }), W = /* @__PURE__ */ Z({
81
+ }), D = /* @__PURE__ */ M({
138
82
  __name: "AvatarNoBodyIcon",
139
83
  props: {
140
84
  width: {
@@ -147,7 +91,7 @@ const I = /* @__PURE__ */ k(F, [["render", D], ["__scopeId", "data-v-395fc568"]]
147
91
  }
148
92
  },
149
93
  setup(i) {
150
- return (a, s) => (r(), o(
94
+ return (a, s) => (r(), l(
151
95
  "svg",
152
96
  {
153
97
  style: h({
@@ -159,7 +103,7 @@ const I = /* @__PURE__ */ k(F, [["render", D], ["__scopeId", "data-v-395fc568"]]
159
103
  version: "1.1",
160
104
  xmlns: "http://www.w3.org/2000/svg"
161
105
  },
162
- [...s[0] || (s[0] = [
106
+ s[0] || (s[0] = [
163
107
  v(
164
108
  "g",
165
109
  {
@@ -259,63 +203,63 @@ const I = /* @__PURE__ */ k(F, [["render", D], ["__scopeId", "data-v-395fc568"]]
259
203
  })
260
204
  ],
261
205
  -1
262
- /* CACHED */
206
+ /* HOISTED */
263
207
  )
264
- ])],
208
+ ]),
265
209
  4
266
210
  /* STYLE */
267
211
  ));
268
212
  }
269
- }), q = { class: "mc-bubble-avatar-wrapper" }, J = ["src"], K = /* @__PURE__ */ Z({
213
+ }), I = { class: "mc-bubble-avatar-wrapper" }, z = ["src"], P = /* @__PURE__ */ M({
270
214
  __name: "Avatar",
271
- props: j,
215
+ props: T,
272
216
  setup(i) {
273
- const a = i, s = f(!1), n = f(!0), c = f(1), t = f(12), l = f(), g = (e) => {
217
+ const a = i, s = p(!1), n = p(!0), g = p(1), t = p(12), o = p(), C = (e) => {
274
218
  if (a.gender) {
275
- a.gender.toLowerCase() === "male" ? c.value = 1 : a.gender.toLowerCase() === "female" && (c.value = 0);
219
+ a.gender.toLowerCase() === "male" ? g.value = 1 : a.gender.toLowerCase() === "female" && (g.value = 0);
276
220
  return;
277
221
  }
278
- const d = e.charCodeAt(0);
279
- c.value = d % 2;
280
- }, m = (e, d) => {
222
+ const u = e.charCodeAt(0);
223
+ g.value = u % 2;
224
+ }, L = (e, u) => {
281
225
  if (e.length < 2)
282
- l.value = e;
226
+ o.value = e;
283
227
  else if (/^[\u4e00-\u9fa5]/.test(e))
284
- l.value = e.substr(e.length - 2, 2);
228
+ o.value = e.substr(e.length - 2, 2);
285
229
  else if (/^[A-Za-z]/.test(e))
286
230
  if (/[_ -]/.test(e)) {
287
- const C = e.split(/_|-|\s+/)[0], y = e.split(/_|-|\s+/)[1];
288
- l.value = C.substr(0, 1).toUpperCase() + y.substr(0, 1).toUpperCase();
231
+ const c = e.split(/_|-|\s+/)[0], m = e.split(/_|-|\s+/)[1];
232
+ o.value = c.substr(0, 1).toUpperCase() + m.substr(0, 1).toUpperCase();
289
233
  } else
290
- l.value = e.substr(0, 2).toUpperCase();
234
+ o.value = e.substr(0, 2).toUpperCase();
291
235
  else
292
- l.value = e.substr(0, 2);
293
- d < 30 && (l.value = e.substr(0, 1).toUpperCase()), g(e.substr(0, 1));
294
- }, b = (e) => {
295
- const d = e, C = Math.min(a.width, a.height);
296
- d ? (n.value = !1, m(d, C)) : d === "" ? (n.value = !1, l.value = "") : n.value = !0, t.value = C / 4 + 3;
236
+ o.value = e.substr(0, 2);
237
+ u < 30 && (o.value = e.substr(0, 1).toUpperCase()), C(e.substr(0, 1));
238
+ }, f = (e) => {
239
+ const u = e, c = Math.min(a.width, a.height);
240
+ u ? (n.value = !1, L(u, c)) : u === "" ? (n.value = !1, o.value = "") : n.value = !0, t.value = c / 4 + 3;
297
241
  };
298
- return b(a.name), N([() => a.name, () => a.width, () => a.height, () => a.gender], () => {
299
- b(a.name);
300
- }), (e, d) => {
301
- var C, y;
302
- return r(), o("span", q, [
303
- e.imgSrc && !s.value ? (r(), o("img", {
242
+ return f(a.name), N([() => a.name, () => a.width, () => a.height, () => a.gender], () => {
243
+ f(a.name);
244
+ }), (e, u) => {
245
+ var c, m;
246
+ return r(), l("span", I, [
247
+ e.imgSrc && !s.value ? (r(), l("img", {
304
248
  key: 0,
305
249
  src: e.imgSrc,
306
250
  alt: "",
307
- onError: d[0] || (d[0] = () => s.value = !0),
251
+ onError: u[0] || (u[0] = () => s.value = !0),
308
252
  style: h({
309
253
  height: `${e.height}px`,
310
254
  width: `${e.width}px`,
311
255
  borderRadius: e.isRound ? "100%" : "0"
312
256
  })
313
- }, null, 44, J)) : u("v-if", !0),
314
- !e.imgSrc && !n.value && ((C = l.value) == null ? void 0 : C.length) !== 0 ? (r(), o(
257
+ }, null, 44, z)) : d("v-if", !0),
258
+ !e.imgSrc && !n.value && ((c = o.value) == null ? void 0 : c.length) !== 0 ? (r(), l(
315
259
  "span",
316
260
  {
317
261
  key: 1,
318
- class: L(["mc-bubble-avatar-style", `mc-bubble-avatar-background-${c.value}`]),
262
+ class: b(["mc-bubble-avatar-style", `mc-bubble-avatar-background-${g.value}`]),
319
263
  style: h({
320
264
  height: `${e.height}px`,
321
265
  width: `${e.width}px`,
@@ -324,11 +268,11 @@ const I = /* @__PURE__ */ k(F, [["render", D], ["__scopeId", "data-v-395fc568"]]
324
268
  borderRadius: e.isRound ? "100%" : "0"
325
269
  })
326
270
  },
327
- A(l.value),
271
+ A(o.value),
328
272
  7
329
273
  /* TEXT, CLASS, STYLE */
330
- )) : u("v-if", !0),
331
- !e.imgSrc && !n.value && ((y = l.value) == null ? void 0 : y.length) === 0 ? (r(), o(
274
+ )) : d("v-if", !0),
275
+ !e.imgSrc && !n.value && ((m = o.value) == null ? void 0 : m.length) === 0 ? (r(), l(
332
276
  "span",
333
277
  {
334
278
  key: 2,
@@ -336,15 +280,15 @@ const I = /* @__PURE__ */ k(F, [["render", D], ["__scopeId", "data-v-395fc568"]]
336
280
  style: h({ borderRadius: e.isRound ? "100%" : "0" })
337
281
  },
338
282
  [
339
- M(G, {
283
+ w(_, {
340
284
  width: e.width,
341
285
  height: e.height
342
286
  }, null, 8, ["width", "height"])
343
287
  ],
344
288
  4
345
289
  /* STYLE */
346
- )) : u("v-if", !0),
347
- !e.imgSrc && n.value || e.imgSrc && s.value ? (r(), o(
290
+ )) : d("v-if", !0),
291
+ !e.imgSrc && n.value || e.imgSrc && s.value ? (r(), l(
348
292
  "span",
349
293
  {
350
294
  key: 3,
@@ -352,102 +296,152 @@ const I = /* @__PURE__ */ k(F, [["render", D], ["__scopeId", "data-v-395fc568"]]
352
296
  style: h({ borderRadius: e.isRound ? "100%" : "0" })
353
297
  },
354
298
  [
355
- M(W, {
299
+ w(D, {
356
300
  width: e.width,
357
301
  height: e.height
358
302
  }, null, 8, ["width", "height"])
359
303
  ],
360
304
  4
361
305
  /* STYLE */
362
- )) : u("v-if", !0)
306
+ )) : d("v-if", !0)
363
307
  ]);
364
308
  };
365
309
  }
366
- }), Q = {
367
- key: 0,
368
- class: "mc-bubble-avatar"
369
- }, X = {
310
+ }), U = {
311
+ content: {
312
+ type: String,
313
+ default: ""
314
+ },
315
+ loading: {
316
+ type: Boolean,
317
+ default: !1
318
+ },
319
+ align: {
320
+ type: String,
321
+ default: "left"
322
+ },
323
+ avatarPosition: {
324
+ type: String,
325
+ default: "side"
326
+ },
327
+ variant: {
328
+ type: String,
329
+ default: "filled"
330
+ },
331
+ avatarConfig: {
332
+ type: Object
333
+ }
334
+ }, H = 36, O = 36, j = "name", G = "imgSrc", k = (i, a) => {
335
+ const s = i.__vccOpts || i;
336
+ for (const [n, g] of a)
337
+ s[n] = g;
338
+ return s;
339
+ }, W = {}, q = { class: "mc-bubble-loading" };
340
+ function J(i, a) {
341
+ return r(), l("div", q, a[0] || (a[0] = [
342
+ v(
343
+ "div",
344
+ { class: "loading-dot dot-start" },
345
+ null,
346
+ -1
347
+ /* HOISTED */
348
+ ),
349
+ v(
350
+ "div",
351
+ { class: "loading-dot dot-middle" },
352
+ null,
353
+ -1
354
+ /* HOISTED */
355
+ ),
356
+ v(
357
+ "div",
358
+ { class: "loading-dot dot-end" },
359
+ null,
360
+ -1
361
+ /* HOISTED */
362
+ )
363
+ ]));
364
+ }
365
+ const K = /* @__PURE__ */ k(W, [["render", J], ["__scopeId", "data-v-395fc568"]]), Q = {
370
366
  key: 0,
371
367
  class: "mc-bubble-avatar-name"
372
- }, Y = {
368
+ }, X = {
373
369
  key: 1,
374
370
  class: "loading-container"
375
- }, V = /* @__PURE__ */ Z({
371
+ }, Y = /* @__PURE__ */ M({
376
372
  __name: "Bubble",
377
- props: O,
373
+ props: U,
378
374
  setup(i) {
379
375
  const a = B(), s = i, n = $(() => [
380
376
  `mc-bubble-avatar-${s.avatarPosition}`,
381
377
  `mc-bubble-${s.align}`,
382
378
  s.loading ? "mc-bubble-loading" : ""
383
- ]), c = $(() => {
379
+ ]), g = $(() => {
384
380
  if (s.avatarConfig) {
385
- const t = Object.keys(s.avatarConfig), l = t.some((g) => g === U || g === H);
386
- return t.length < 1 || !l;
387
- }
388
- return !0;
381
+ const t = Object.keys(s.avatarConfig), o = t.some((C) => C === j || C === G);
382
+ return t.length < 1 || !o;
383
+ } else
384
+ return !0;
389
385
  });
390
- return (t, l) => {
391
- var g, m, b;
392
- return r(), o(
386
+ return (t, o) => {
387
+ var C, L, f;
388
+ return r(), l(
393
389
  "div",
394
390
  {
395
- class: L(["mc-bubble", n.value])
391
+ class: b(["mc-bubble", n.value])
396
392
  },
397
393
  [
398
- w(a).avatar ? (r(), o("div", Q, [
399
- p(t.$slots, "avatar", {}, void 0, !0)
400
- ])) : t.avatarConfig ? (r(), o(
394
+ t.avatarConfig ? (r(), l(
401
395
  "div",
402
396
  {
403
- key: 1,
404
- class: L(["mc-bubble-avatar", { "empty-avatar": c.value }])
397
+ key: 0,
398
+ class: b(["mc-bubble-avatar", { "empty-avatar": g.value }])
405
399
  },
406
400
  [
407
- M(
408
- K,
409
- R(_(
410
- c.value ? {
411
- width: ((g = t.avatarConfig) == null ? void 0 : g.width) || w(z),
412
- height: ((m = t.avatarConfig) == null ? void 0 : m.height) || w(P)
401
+ w(
402
+ P,
403
+ R(E(
404
+ g.value ? {
405
+ width: ((C = t.avatarConfig) == null ? void 0 : C.width) || Z(H),
406
+ height: ((L = t.avatarConfig) == null ? void 0 : L.height) || Z(O)
413
407
  } : t.avatarConfig
414
408
  )),
415
409
  null,
416
410
  16
417
411
  /* FULL_PROPS */
418
412
  ),
419
- t.avatarPosition === "top" ? (r(), o(
413
+ t.avatarPosition === "top" ? (r(), l(
420
414
  "span",
421
- X,
422
- A((b = t.avatarConfig) == null ? void 0 : b.displayName),
415
+ Q,
416
+ A((f = t.avatarConfig) == null ? void 0 : f.displayName),
423
417
  1
424
418
  /* TEXT */
425
- )) : u("v-if", !0)
419
+ )) : d("v-if", !0)
426
420
  ],
427
421
  2
428
422
  /* CLASS */
429
- )) : u("v-if", !0),
423
+ )) : d("v-if", !0),
430
424
  v(
431
425
  "div",
432
426
  {
433
- class: L(["mc-bubble-content-container", { "with-avatar": t.avatarConfig }])
427
+ class: b(["mc-bubble-content-container", { "with-avatar": t.avatarConfig }])
434
428
  },
435
429
  [
436
- t.loading ? u("v-if", !0) : p(t.$slots, "top", { key: 0 }, void 0, !0),
437
- t.loading ? (r(), o("div", Y, [
438
- p(t.$slots, "loadingTpl", {}, () => [
439
- M(I)
430
+ t.loading ? d("v-if", !0) : y(t.$slots, "top", { key: 0 }, void 0, !0),
431
+ t.loading ? (r(), l("div", X, [
432
+ y(t.$slots, "loadingTpl", {}, () => [
433
+ w(K)
440
434
  ], !0)
441
- ])) : u("v-if", !0),
442
- (w(a).default || t.content) && !t.loading ? (r(), o(
435
+ ])) : d("v-if", !0),
436
+ (Z(a).default || t.content) && !t.loading ? (r(), l(
443
437
  "div",
444
438
  {
445
439
  key: 2,
446
- class: L(["mc-bubble-content", [t.variant]])
440
+ class: b(["mc-bubble-content", [t.variant]])
447
441
  },
448
442
  [
449
- p(t.$slots, "default", {}, () => [
450
- E(
443
+ y(t.$slots, "default", {}, () => [
444
+ F(
451
445
  A(t.content),
452
446
  1
453
447
  /* TEXT */
@@ -456,8 +450,8 @@ const I = /* @__PURE__ */ k(F, [["render", D], ["__scopeId", "data-v-395fc568"]]
456
450
  ],
457
451
  2
458
452
  /* CLASS */
459
- )) : u("v-if", !0),
460
- t.loading ? u("v-if", !0) : p(t.$slots, "bottom", { key: 3 }, void 0, !0)
453
+ )) : d("v-if", !0),
454
+ t.loading ? d("v-if", !0) : y(t.$slots, "bottom", { key: 3 }, void 0, !0)
461
455
  ],
462
456
  2
463
457
  /* CLASS */
@@ -468,7 +462,7 @@ const I = /* @__PURE__ */ k(F, [["render", D], ["__scopeId", "data-v-395fc568"]]
468
462
  );
469
463
  };
470
464
  }
471
- }), S = /* @__PURE__ */ k(V, [["__scopeId", "data-v-f104b241"]]);
465
+ }), S = /* @__PURE__ */ k(Y, [["__scopeId", "data-v-7e509691"]]);
472
466
  S.install = (i) => {
473
467
  i.component("McBubble", S);
474
468
  };
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ size?: number | string;
3
+ title?: string;
4
+ class?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ size: number | string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ size?: number | string;
3
+ title?: string;
4
+ class?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ size: number | string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ size?: number | string;
3
+ title?: string;
4
+ class?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ size: number | string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ size?: number | string;
3
+ title?: string;
4
+ class?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ size: number | string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ size?: number | string;
3
+ title?: string;
4
+ class?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ size: number | string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ size?: number | string;
3
+ title?: string;
4
+ class?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ size: number | string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ size?: number | string;
3
+ title?: string;
4
+ class?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ size: number | string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ size?: number | string;
3
+ title?: string;
4
+ class?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ size: number | string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ size?: number | string;
3
+ title?: string;
4
+ class?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ size: number | string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ size?: number | string;
3
+ title?: string;
4
+ class?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ size: number | string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ size?: number | string;
3
+ title?: string;
4
+ class?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ size: number | string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ size?: number | string;
3
+ title?: string;
4
+ class?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ size: number | string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ size?: number | string;
3
+ title?: string;
4
+ class?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ size: number | string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ size?: number | string;
3
+ title?: string;
4
+ class?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ size: number | string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ size?: number | string;
3
+ title?: string;
4
+ class?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ size: number | string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ size?: number | string;
3
+ title?: string;
4
+ class?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ size: number | string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;