@matechat/core 1.12.2 → 1.13.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Bubble/index.css +1 -1
- package/Bubble/index.js +2 -2
- package/Header/index.css +1 -1
- package/Header/index.js +1 -1
- package/Input/index.css +1 -1
- package/Input/index.js +48 -48
- package/Introduction/index.css +1 -1
- package/Introduction/index.js +6 -6
- package/Layout/Content.vue.d.ts +17 -1
- package/Layout/icon/arrow-down.vue.d.ts +3 -0
- package/Layout/icon/arrow-up.vue.d.ts +3 -0
- package/Layout/index.css +1 -1
- package/Layout/index.js +182 -35
- package/Layout/layout-types.d.ts +4 -0
- package/List/index.css +1 -1
- package/List/index.js +1 -1
- package/MarkdownCard/index.css +1 -1
- package/MarkdownCard/index.js +161 -161
- package/Mention/index.css +1 -1
- package/Mention/index.js +6 -6
- package/Prompt/index.css +1 -1
- package/Prompt/index.js +5 -5
- package/README.md +432 -432
- package/Toolbar/index.css +1 -1
- package/Toolbar/index.js +15 -15
- package/package.json +1 -1
package/Toolbar/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.mc-actions[data-v-
|
|
1
|
+
.mc-actions[data-v-45da6ee3]{display:inline-flex;align-items:center}.mc-action-item[data-v-45da6ee3]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-45da6ee3]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.mc-actions[data-v-66c545af]{display:inline-flex;align-items:center}.mc-action-item[data-v-66c545af]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-66c545af]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.mc-actions[data-v-ea45edc6]{display:inline-flex;align-items:center}.mc-action-item[data-v-ea45edc6]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-ea45edc6]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.mc-actions[data-v-00bc41b4]{display:inline-flex;align-items:center}.mc-action-item[data-v-00bc41b4]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-00bc41b4]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.mc-actions[data-v-992641d6]{display:inline-flex;align-items:center}.mc-action-item[data-v-992641d6]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-992641d6]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.mc-actions[data-v-f58fa633]{display:inline-flex;align-items:center}.mc-action-item[data-v-f58fa633]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-f58fa633]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.mc-actions[data-v-5d816bda]{display:inline-flex;align-items:center}.mc-action-item[data-v-5d816bda]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-5d816bda]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}
|
package/Toolbar/index.js
CHANGED
|
@@ -75,7 +75,7 @@ const j = 0, f = 16, q = {
|
|
|
75
75
|
xmlns: "http://www.w3.org/2000/svg",
|
|
76
76
|
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
77
77
|
}, a[0] || (a[0] = [
|
|
78
|
-
P('<desc data-v-
|
|
78
|
+
P('<desc data-v-45da6ee3>Created with Sketch.</desc><defs data-v-45da6ee3><polygon id="path-1" points="6.53553391 9.77817459 12.1923882 4.12132034 13.6066017 5.53553391 6.53553391 12.6066017 3 9.07106781 4.41421356 7.65685425 6.53553391 9.77817459" data-v-45da6ee3></polygon></defs><g id="status/whiteBG/correct" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" data-v-45da6ee3><mask id="mask-2" fill="white" data-v-45da6ee3><use xlink:href="#path-1" data-v-45da6ee3></use></mask><use id="Mask" fill="currentColor" xlink:href="#path-1" data-v-45da6ee3></use></g>', 3)
|
|
79
79
|
]), 8, Q)) : (C(), c("svg", {
|
|
80
80
|
key: 1,
|
|
81
81
|
width: i.width,
|
|
@@ -137,7 +137,7 @@ const j = 0, f = 16, q = {
|
|
|
137
137
|
for (const [t, i] of s)
|
|
138
138
|
n[t] = i;
|
|
139
139
|
return n;
|
|
140
|
-
}, S = /* @__PURE__ */ p(X, [["__scopeId", "data-v-
|
|
140
|
+
}, S = /* @__PURE__ */ p(X, [["__scopeId", "data-v-45da6ee3"]]), e1 = { class: "mc-action-item" }, t1 = ["width", "height"], i1 = /* @__PURE__ */ v({
|
|
141
141
|
__name: "DeleteIcon",
|
|
142
142
|
props: u,
|
|
143
143
|
setup(e) {
|
|
@@ -171,7 +171,7 @@ const j = 0, f = 16, q = {
|
|
|
171
171
|
]), 8, t1))
|
|
172
172
|
]));
|
|
173
173
|
}
|
|
174
|
-
}), A = /* @__PURE__ */ p(i1, [["__scopeId", "data-v-
|
|
174
|
+
}), A = /* @__PURE__ */ p(i1, [["__scopeId", "data-v-66c545af"]]), n1 = ["width", "height"], o1 = ["width", "height"], s1 = /* @__PURE__ */ v({
|
|
175
175
|
__name: "DislikeIcon",
|
|
176
176
|
props: u,
|
|
177
177
|
emits: ["activeChange"],
|
|
@@ -248,7 +248,7 @@ const j = 0, f = 16, q = {
|
|
|
248
248
|
/* CLASS */
|
|
249
249
|
));
|
|
250
250
|
}
|
|
251
|
-
}), Z = /* @__PURE__ */ p(s1, [["__scopeId", "data-v-
|
|
251
|
+
}), Z = /* @__PURE__ */ p(s1, [["__scopeId", "data-v-ea45edc6"]]), l1 = ["width", "height"], r1 = ["width", "height"], C1 = /* @__PURE__ */ v({
|
|
252
252
|
__name: "LikeIcon",
|
|
253
253
|
props: u,
|
|
254
254
|
emits: ["activeChange"],
|
|
@@ -332,7 +332,7 @@ const j = 0, f = 16, q = {
|
|
|
332
332
|
/* CLASS */
|
|
333
333
|
));
|
|
334
334
|
}
|
|
335
|
-
}),
|
|
335
|
+
}), $ = /* @__PURE__ */ p(C1, [["__scopeId", "data-v-00bc41b4"]]), c1 = { class: "mc-action-item" }, L1 = ["width", "height"], a1 = /* @__PURE__ */ v({
|
|
336
336
|
__name: "RefreshIcon",
|
|
337
337
|
props: u,
|
|
338
338
|
setup(e) {
|
|
@@ -367,7 +367,7 @@ const j = 0, f = 16, q = {
|
|
|
367
367
|
]), 8, L1))
|
|
368
368
|
]));
|
|
369
369
|
}
|
|
370
|
-
}),
|
|
370
|
+
}), D = /* @__PURE__ */ p(a1, [["__scopeId", "data-v-992641d6"]]), d1 = { class: "mc-action-item" }, h1 = ["width", "height"], w1 = /* @__PURE__ */ v({
|
|
371
371
|
__name: "ShareIcon",
|
|
372
372
|
props: u,
|
|
373
373
|
setup(e) {
|
|
@@ -414,7 +414,7 @@ const j = 0, f = 16, q = {
|
|
|
414
414
|
]), 8, h1))
|
|
415
415
|
]));
|
|
416
416
|
}
|
|
417
|
-
}),
|
|
417
|
+
}), b = /* @__PURE__ */ p(w1, [["__scopeId", "data-v-f58fa633"]]), v1 = ["title", "onClick"], p1 = /* @__PURE__ */ v({
|
|
418
418
|
__name: "Toolbar",
|
|
419
419
|
props: q,
|
|
420
420
|
emits: ["onClick"],
|
|
@@ -422,10 +422,10 @@ const j = 0, f = 16, q = {
|
|
|
422
422
|
var _;
|
|
423
423
|
const n = s, t = e, i = T(), a = z((_ = t.items) == null ? void 0 : _.map((o) => ({ ...o }))), h = {
|
|
424
424
|
[d.COPY]: S,
|
|
425
|
-
[d.LIKE]:
|
|
425
|
+
[d.LIKE]: $,
|
|
426
426
|
[d.DISLIKE]: Z,
|
|
427
|
-
[d.REFRESH]:
|
|
428
|
-
[d.SHARE]:
|
|
427
|
+
[d.REFRESH]: D,
|
|
428
|
+
[d.SHARE]: b,
|
|
429
429
|
[d.DELETE]: A
|
|
430
430
|
}, w = () => {
|
|
431
431
|
const o = a.find(
|
|
@@ -492,18 +492,18 @@ const j = 0, f = 16, q = {
|
|
|
492
492
|
/* STYLE */
|
|
493
493
|
));
|
|
494
494
|
}
|
|
495
|
-
}), I = /* @__PURE__ */ p(p1, [["__scopeId", "data-v-
|
|
495
|
+
}), I = /* @__PURE__ */ p(p1, [["__scopeId", "data-v-5d816bda"]]);
|
|
496
496
|
I.install = (e) => {
|
|
497
|
-
e.component("McToolbar", I), e.component("McCopyIcon", S), e.component("McDeleteIcon", A), e.component("McLikeIcon",
|
|
497
|
+
e.component("McToolbar", I), e.component("McCopyIcon", S), e.component("McDeleteIcon", A), e.component("McLikeIcon", $), e.component("McDislikeIcon", Z), e.component("McRefreshIcon", D), e.component("McShareIcon", b);
|
|
498
498
|
};
|
|
499
499
|
export {
|
|
500
500
|
u as IconComponentProps,
|
|
501
501
|
S as McCopyIcon,
|
|
502
502
|
A as McDeleteIcon,
|
|
503
503
|
Z as McDislikeIcon,
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
504
|
+
$ as McLikeIcon,
|
|
505
|
+
D as McRefreshIcon,
|
|
506
|
+
b as McShareIcon,
|
|
507
507
|
I as McToolbar,
|
|
508
508
|
d as ToolbarAction,
|
|
509
509
|
q as ToolbarProps
|