@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/Toolbar/index.css CHANGED
@@ -1 +1 @@
1
- .mc-actions[data-v-de82714b]{display:inline-flex;align-items:center}.mc-action-item[data-v-de82714b]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-de82714b]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.mc-actions[data-v-85a0d662]{display:inline-flex;align-items:center}.mc-action-item[data-v-85a0d662]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-85a0d662]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.mc-actions[data-v-d4542e71]{display:inline-flex;align-items:center}.mc-action-item[data-v-d4542e71]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-d4542e71]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.mc-actions[data-v-804650d8]{display:inline-flex;align-items:center}.mc-action-item[data-v-804650d8]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-804650d8]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.mc-actions[data-v-4a2ea0ec]{display:inline-flex;align-items:center}.mc-action-item[data-v-4a2ea0ec]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-4a2ea0ec]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.mc-actions[data-v-558a7278]{display:inline-flex;align-items:center}.mc-action-item[data-v-558a7278]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-558a7278]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.mc-actions[data-v-ad8c9e9b]{display:inline-flex;align-items:center}.mc-action-item[data-v-ad8c9e9b]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-ad8c9e9b]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}
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-de82714b>Created with Sketch.</desc><defs data-v-de82714b><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-de82714b></polygon></defs><g id="status/whiteBG/correct" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" data-v-de82714b><mask id="mask-2" fill="white" data-v-de82714b><use xlink:href="#path-1" data-v-de82714b></use></mask><use id="Mask" fill="currentColor" xlink:href="#path-1" data-v-de82714b></use></g>', 3)
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-de82714b"]]), e1 = { class: "mc-action-item" }, t1 = ["width", "height"], i1 = /* @__PURE__ */ 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-85a0d662"]]), n1 = ["width", "height"], o1 = ["width", "height"], s1 = /* @__PURE__ */ 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-d4542e71"]]), l1 = ["width", "height"], r1 = ["width", "height"], C1 = /* @__PURE__ */ 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
- }), b = /* @__PURE__ */ p(C1, [["__scopeId", "data-v-804650d8"]]), c1 = { class: "mc-action-item" }, L1 = ["width", "height"], a1 = /* @__PURE__ */ v({
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
- }), $ = /* @__PURE__ */ p(a1, [["__scopeId", "data-v-4a2ea0ec"]]), d1 = { class: "mc-action-item" }, h1 = ["width", "height"], w1 = /* @__PURE__ */ v({
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
- }), D = /* @__PURE__ */ p(w1, [["__scopeId", "data-v-558a7278"]]), v1 = ["title", "onClick"], p1 = /* @__PURE__ */ v({
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]: b,
425
+ [d.LIKE]: $,
426
426
  [d.DISLIKE]: Z,
427
- [d.REFRESH]: $,
428
- [d.SHARE]: D,
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-ad8c9e9b"]]);
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", b), e.component("McDislikeIcon", Z), e.component("McRefreshIcon", $), e.component("McShareIcon", D);
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
- b as McLikeIcon,
505
- $ as McRefreshIcon,
506
- D as McShareIcon,
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matechat/core",
3
- "version": "1.12.2",
3
+ "version": "1.13.0-alpha.1",
4
4
  "license": "MIT",
5
5
  "description": "前端智能化场景解决方案UI库,轻松构建你的AI应用。",
6
6
  "keywords": [