@matechat/core 1.2.0 → 1.3.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.
package/Input/index.js CHANGED
@@ -1,12 +1,8 @@
1
1
  import "./index.css";
2
- import { defineComponent as b, inject as I, computed as V, createBlock as h, openBlock as u, unref as n, normalizeClass as w, isRef as P, nextTick as T, createElementBlock as L, createElementVNode as d, withCtx as N, toDisplayString as g, ref as j, watch as F, provide as z, renderSlot as C, createCommentVNode as y, createVNode as _ } from "vue";
3
- import { Textarea as A } from "vue-devui/textarea";
4
- import "vue-devui/textarea/style.css";
5
- import { useMcI18n as $ } from "@matechat/core/Locale";
6
- import { Button as D } from "vue-devui/button";
7
- import "vue-devui/button/style.css";
8
- var v = /* @__PURE__ */ ((e) => (e.Simple = "simple", e.Full = "full", e))(v || {}), f = /* @__PURE__ */ ((e) => (e.Enter = "enter", e.ShiftEnter = "shiftEnter", e))(f || {});
9
- const G = {
2
+ import { defineComponent as E, inject as Z, computed as T, withDirectives as P, createElementBlock as d, openBlock as u, normalizeClass as S, unref as n, isRef as N, vModelText as D, nextTick as j, createElementVNode as m, ref as w, reactive as z, createCommentVNode as _, createBlock as $, toDisplayString as x, normalizeStyle as F, watch as W, provide as A, renderSlot as h, createVNode as b } from "vue";
3
+ import { useMcI18n as B } from "@matechat/core/Locale";
4
+ var g = /* @__PURE__ */ ((t) => (t.Simple = "simple", t.Full = "full", t))(g || {}), v = /* @__PURE__ */ ((t) => (t.Enter = "enter", t.ShiftEnter = "shiftEnter", t))(v || {});
5
+ const O = {
10
6
  value: {
11
7
  type: String,
12
8
  default: ""
@@ -39,58 +35,61 @@ const G = {
39
35
  default: "enter"
40
36
  /* Enter */
41
37
  }
42
- }, O = ["change", "submit", "cancel"], E = "mc-input", R = /* @__PURE__ */ b({
38
+ }, R = ["change", "submit", "cancel"], M = "mc-input", U = ["placeholder", "disabled", "maxlength"], X = /* @__PURE__ */ E({
43
39
  __name: "textarea",
44
- setup(e) {
45
- const { t: o } = $(), { inputValue: s, rootProps: t, rootEmits: r } = I(E), a = V(() => {
46
- let i = "", c = "";
47
- return t.submitShortKey === f.Enter && (i = "Enter", c = "Shift + Enter"), t.submitShortKey === f.ShiftEnter && (i = "Shift + Enter", c = "Enter"), t.placeholder ?? (i ? o("Input.pleaseEnterPlaceholder", { enterKey: i, shiftEnterKey: c }) : o("Input.pleaseEnter"));
40
+ setup(t) {
41
+ const { t: o } = B(), { inputValue: s, rootProps: e, rootEmits: c } = Z(M), i = T(() => {
42
+ let r = "", C = "";
43
+ return e.submitShortKey === v.Enter && (r = "Enter", C = "Shift + Enter"), e.submitShortKey === v.ShiftEnter && (r = "Shift + Enter", C = "Enter"), e.placeholder ?? (r ? o("Input.pleaseEnterPlaceholder", { enterKey: r, shiftEnterKey: C }) : o("Input.pleaseEnter"));
48
44
  });
49
- let p = !1;
50
- const m = () => {
51
- T(() => {
52
- r("change", s.value);
45
+ let a = !1;
46
+ const p = () => {
47
+ j(() => {
48
+ c("change", s.value);
53
49
  });
54
50
  }, l = () => {
55
- p || m();
56
- }, x = () => {
57
- p = !0;
58
- }, K = () => {
59
- p = !1, m();
60
- }, Z = (i) => {
61
- if (t.submitShortKey === null)
51
+ a || p();
52
+ }, y = () => {
53
+ a = !0;
54
+ }, f = () => {
55
+ a = !1, p();
56
+ }, L = (r) => {
57
+ if (e.submitShortKey === null)
62
58
  return;
63
- (t.submitShortKey === f.Enter ? !i.shiftKey : t.submitShortKey === f.ShiftEnter ? i.shiftKey : !1) && i.key === "Enter" && !p && (i.preventDefault(), r("submit", s.value), s.value = "");
59
+ (e.submitShortKey === v.Enter ? !r.shiftKey : e.submitShortKey === v.ShiftEnter ? r.shiftKey : !1) && r.key === "Enter" && !a && (r.preventDefault(), c("submit", s.value), s.value = "");
64
60
  };
65
- return (i, c) => (u(), h(n(A), {
66
- modelValue: n(s),
67
- "onUpdate:modelValue": c[0] || (c[0] = (B) => P(s) ? s.value = B : null),
68
- placeholder: a.value,
69
- showGlowStyle: !1,
70
- disabled: n(t).disabled,
71
- maxlength: n(t).maxLength,
72
- class: w(["mc-textarea", { "mc-textarea-simple": n(t).displayType === n(v).Simple }]),
61
+ return (r, C) => P((u(), d("textarea", {
62
+ "onUpdate:modelValue": C[0] || (C[0] = (V) => N(s) ? s.value = V : null),
63
+ placeholder: i.value,
64
+ disabled: n(e).disabled,
65
+ maxlength: n(e).maxLength,
66
+ class: S([
67
+ "mc-textarea",
68
+ { "mc-textarea-simple": n(e).displayType === n(g).Simple, "mc-textarea-disabled": n(e).disabled }
69
+ ]),
73
70
  onInput: l,
74
- onCompositionstart: x,
75
- onCompositionend: K,
76
- onKeydown: Z
77
- }, null, 8, ["modelValue", "placeholder", "disabled", "maxlength", "class"]));
71
+ onCompositionstart: y,
72
+ onCompositionend: f,
73
+ onKeydown: L
74
+ }, null, 42, U)), [
75
+ [D, n(s)]
76
+ ]);
78
77
  }
79
- }), S = (e, o) => {
80
- const s = e.__vccOpts || e;
81
- for (const [t, r] of o)
82
- s[t] = r;
78
+ }), k = (t, o) => {
79
+ const s = t.__vccOpts || t;
80
+ for (const [e, c] of o)
81
+ s[e] = c;
83
82
  return s;
84
- }, U = {}, q = {
83
+ }, Y = {}, q = {
85
84
  width: "16px",
86
85
  height: "16px",
87
86
  viewBox: "0 0 16 16",
88
87
  version: "1.1",
89
88
  xmlns: "http://www.w3.org/2000/svg"
90
89
  };
91
- function H(e, o) {
92
- return u(), L("svg", q, o[0] || (o[0] = [
93
- d(
90
+ function G(t, o) {
91
+ return u(), d("svg", q, o[0] || (o[0] = [
92
+ m(
94
93
  "g",
95
94
  {
96
95
  stroke: "none",
@@ -99,23 +98,23 @@ function H(e, o) {
99
98
  "fill-rule": "evenodd"
100
99
  },
101
100
  [
102
- d("path", { d: "M8,12 C8.27614237,12 8.5,12.2238576 8.5,12.5 L8.5,14.5 C8.5,14.7761424 8.27614237,15 8,15 C7.72385763,15 7.5,14.7761424 7.5,14.5 L7.5,12.5 C7.5,12.2238576 7.72385763,12 8,12 Z M11.0495421,11.3466838 L12.2251126,12.9647178 C12.3874251,13.1881217 12.3379006,13.5008065 12.1144968,13.663119 C11.8910929,13.8254314 11.5784081,13.775907 11.4160956,13.5525031 L10.2405251,11.9344691 C10.0782127,11.7110652 10.1277371,11.3983804 10.351141,11.236068 C10.5745449,11.0737556 10.8872297,11.12328 11.0495421,11.3466838 Z M5.64885899,11.236068 C5.87226287,11.3983804 5.92178728,11.7110652 5.75947486,11.9344691 L4.58390436,13.5525031 C4.42159194,13.775907 4.10890711,13.8254314 3.88550323,13.663119 C3.66209936,13.5008065 3.61257495,13.1881217 3.77488736,12.9647178 L4.95045787,11.3466838 C5.11277028,11.12328 5.42545512,11.0737556 5.64885899,11.236068 Z M12.4342628,8.91504822 L14.3363759,9.53308221 C14.5990029,9.61841489 14.7427283,9.90049196 14.6573956,10.163119 C14.5720629,10.425746 14.2899859,10.5694714 14.0273589,10.4841387 L12.1252458,9.86610473 C11.8626188,9.78077205 11.7188934,9.49869498 11.8042261,9.23606798 C11.8895588,8.97344097 12.1716358,8.82971553 12.4342628,8.91504822 Z M4.19577393,9.23606798 C4.28110662,9.49869498 4.13738118,9.78077205 3.87475417,9.86610473 L1.97264114,10.4841387 C1.71001414,10.5694714 1.42793707,10.425746 1.34260439,10.163119 C1.2572717,9.90049196 1.40099714,9.61841489 1.66362415,9.53308221 L3.56573718,8.91504822 C3.82836418,8.82971553 4.11044125,8.97344097 4.19577393,9.23606798 Z M14.6573956,5.83688104 C14.7427283,6.09950804 14.5990029,6.38158511 14.3363759,6.46691779 L12.4342628,7.08495178 C12.1716358,7.17028447 11.8895588,7.02655903 11.8042261,6.76393202 C11.7188934,6.50130502 11.8626188,6.21922795 12.1252458,6.13389527 L14.0273589,5.51586128 C14.2899859,5.43052859 14.5720629,5.57425403 14.6573956,5.83688104 Z M1.97264114,5.51586128 L3.87475417,6.13389527 C4.13738118,6.21922795 4.28110662,6.50130502 4.19577393,6.76393202 C4.11044125,7.02655903 3.82836418,7.17028447 3.56573718,7.08495178 L1.66362415,6.46691779 C1.40099714,6.38158511 1.2572717,6.09950804 1.34260439,5.83688104 C1.42793707,5.57425403 1.71001414,5.43052859 1.97264114,5.51586128 Z M12.1144968,2.33688104 C12.3379006,2.49919345 12.3874251,2.81187829 12.2251126,3.03528216 L11.0495421,4.65331615 C10.8872297,4.87672003 10.5745449,4.92624444 10.351141,4.76393202 C10.1277371,4.60161961 10.0782127,4.28893477 10.2405251,4.0655309 L11.4160956,2.44749691 C11.5784081,2.22409304 11.8910929,2.17456862 12.1144968,2.33688104 Z M4.58390436,2.44749691 L5.75947486,4.0655309 C5.92178728,4.28893477 5.87226287,4.60161961 5.64885899,4.76393202 C5.42545512,4.92624444 5.11277028,4.87672003 4.95045787,4.65331615 L3.77488736,3.03528216 C3.61257495,2.81187829 3.66209936,2.49919345 3.88550323,2.33688104 C4.10890711,2.17456862 4.42159194,2.22409304 4.58390436,2.44749691 Z M8,1 C8.27614237,1 8.5,1.22385763 8.5,1.5 L8.5,3.5 C8.5,3.77614237 8.27614237,4 8,4 C7.72385763,4 7.5,3.77614237 7.5,3.5 L7.5,1.5 C7.5,1.22385763 7.72385763,1 8,1 Z" })
101
+ m("path", { d: "M8,12 C8.27614237,12 8.5,12.2238576 8.5,12.5 L8.5,14.5 C8.5,14.7761424 8.27614237,15 8,15 C7.72385763,15 7.5,14.7761424 7.5,14.5 L7.5,12.5 C7.5,12.2238576 7.72385763,12 8,12 Z M11.0495421,11.3466838 L12.2251126,12.9647178 C12.3874251,13.1881217 12.3379006,13.5008065 12.1144968,13.663119 C11.8910929,13.8254314 11.5784081,13.775907 11.4160956,13.5525031 L10.2405251,11.9344691 C10.0782127,11.7110652 10.1277371,11.3983804 10.351141,11.236068 C10.5745449,11.0737556 10.8872297,11.12328 11.0495421,11.3466838 Z M5.64885899,11.236068 C5.87226287,11.3983804 5.92178728,11.7110652 5.75947486,11.9344691 L4.58390436,13.5525031 C4.42159194,13.775907 4.10890711,13.8254314 3.88550323,13.663119 C3.66209936,13.5008065 3.61257495,13.1881217 3.77488736,12.9647178 L4.95045787,11.3466838 C5.11277028,11.12328 5.42545512,11.0737556 5.64885899,11.236068 Z M12.4342628,8.91504822 L14.3363759,9.53308221 C14.5990029,9.61841489 14.7427283,9.90049196 14.6573956,10.163119 C14.5720629,10.425746 14.2899859,10.5694714 14.0273589,10.4841387 L12.1252458,9.86610473 C11.8626188,9.78077205 11.7188934,9.49869498 11.8042261,9.23606798 C11.8895588,8.97344097 12.1716358,8.82971553 12.4342628,8.91504822 Z M4.19577393,9.23606798 C4.28110662,9.49869498 4.13738118,9.78077205 3.87475417,9.86610473 L1.97264114,10.4841387 C1.71001414,10.5694714 1.42793707,10.425746 1.34260439,10.163119 C1.2572717,9.90049196 1.40099714,9.61841489 1.66362415,9.53308221 L3.56573718,8.91504822 C3.82836418,8.82971553 4.11044125,8.97344097 4.19577393,9.23606798 Z M14.6573956,5.83688104 C14.7427283,6.09950804 14.5990029,6.38158511 14.3363759,6.46691779 L12.4342628,7.08495178 C12.1716358,7.17028447 11.8895588,7.02655903 11.8042261,6.76393202 C11.7188934,6.50130502 11.8626188,6.21922795 12.1252458,6.13389527 L14.0273589,5.51586128 C14.2899859,5.43052859 14.5720629,5.57425403 14.6573956,5.83688104 Z M1.97264114,5.51586128 L3.87475417,6.13389527 C4.13738118,6.21922795 4.28110662,6.50130502 4.19577393,6.76393202 C4.11044125,7.02655903 3.82836418,7.17028447 3.56573718,7.08495178 L1.66362415,6.46691779 C1.40099714,6.38158511 1.2572717,6.09950804 1.34260439,5.83688104 C1.42793707,5.57425403 1.71001414,5.43052859 1.97264114,5.51586128 Z M12.1144968,2.33688104 C12.3379006,2.49919345 12.3874251,2.81187829 12.2251126,3.03528216 L11.0495421,4.65331615 C10.8872297,4.87672003 10.5745449,4.92624444 10.351141,4.76393202 C10.1277371,4.60161961 10.0782127,4.28893477 10.2405251,4.0655309 L11.4160956,2.44749691 C11.5784081,2.22409304 11.8910929,2.17456862 12.1144968,2.33688104 Z M4.58390436,2.44749691 L5.75947486,4.0655309 C5.92178728,4.28893477 5.87226287,4.60161961 5.64885899,4.76393202 C5.42545512,4.92624444 5.11277028,4.87672003 4.95045787,4.65331615 L3.77488736,3.03528216 C3.61257495,2.81187829 3.66209936,2.49919345 3.88550323,2.33688104 C4.10890711,2.17456862 4.42159194,2.22409304 4.58390436,2.44749691 Z M8,1 C8.27614237,1 8.5,1.22385763 8.5,1.5 L8.5,3.5 C8.5,3.77614237 8.27614237,4 8,4 C7.72385763,4 7.5,3.77614237 7.5,3.5 L7.5,1.5 C7.5,1.22385763 7.72385763,1 8,1 Z" })
103
102
  ],
104
103
  -1
105
104
  /* HOISTED */
106
105
  )
107
106
  ]));
108
107
  }
109
- const J = /* @__PURE__ */ S(U, [["render", H]]), Q = {}, W = {
108
+ const H = /* @__PURE__ */ k(Y, [["render", G]]), J = {}, Q = {
110
109
  width: "16px",
111
110
  height: "16px",
112
111
  viewBox: "0 0 16 16",
113
112
  version: "1.1",
114
113
  xmlns: "http://www.w3.org/2000/svg"
115
114
  };
116
- function X(e, o) {
117
- return u(), L("svg", W, o[0] || (o[0] = [
118
- d(
115
+ function e1(t, o) {
116
+ return u(), d("svg", Q, o[0] || (o[0] = [
117
+ m(
119
118
  "g",
120
119
  {
121
120
  stroke: "none",
@@ -124,98 +123,114 @@ function X(e, o) {
124
123
  "fill-rule": "evenodd"
125
124
  },
126
125
  [
127
- d("path", { d: "M13.5105149,2.56164948 C14.1211149,2.35546948 14.7829149,2.68328948 14.9892149,3.29376948 C15.0349149,3.42925948 15.0552149,3.57159948 15.0495149,3.71368948 L15.0495149,3.71368948 L15.0351149,3.85546948 L13.6575149,12.2717195 C13.5237149,13.0892195 12.7524149,13.6435195 11.9348149,13.5097195 C11.8542149,13.4965195 11.7751149,13.4768195 11.6980149,13.4508195 L11.6980149,13.4508195 L11.5840149,13.4071195 L9.3049349,12.4260195 L8.4482449,13.5422195 C8.1958049,13.8708195 7.8205549,14.0786195 7.4128449,14.1207195 L7.4128449,14.1207195 L7.2585449,14.1286195 C6.4787649,14.1286195 5.8381349,13.5337195 5.7653849,12.7731195 L5.7653849,12.7731195 L5.7585449,12.6286195 L5.7602549,10.5258195 L5.7756349,10.4384195 L5.7944349,10.3824195 L5.8266649,10.3168995 L5.8735349,10.2503695 L5.9177249,10.2039195 L12.6909149,3.89392948 L2.3403349,7.38903948 C2.2329149,7.42529948 2.1418449,7.49676948 2.0808149,7.59063948 L2.0808149,7.59063948 L2.0412649,7.66497948 C1.9440949,7.89044948 2.0258749,8.14788948 2.2236349,8.27917948 L2.2236349,8.27917948 L2.3029749,8.32214948 L4.4799849,9.26177948 C4.7333949,9.37121948 4.8503449,9.66546948 4.7409649,9.91894948 C4.6435549,10.1443495 4.4003949,10.2616595 4.1694349,10.2081295 L4.1694349,10.2081295 L4.0837449,10.1798795 L1.9072249,9.24047948 C1.1462449,8.91284948 0.795166898,8.03039948 1.1225549,7.26953948 C1.2700249,6.92755948 1.5380849,6.65435948 1.8730449,6.50018948 L1.8730449,6.50018948 L2.0205049,6.44158948 Z M6.7578149,11.3299195 L6.7585449,12.6286195 L6.7666013,12.7185103 C6.80894095,12.9517898 7.0131049,13.1286195 7.2585449,13.1286195 C7.3828149,13.1286195 7.5014649,13.0824195 7.5925349,13.0008195 L7.5925349,13.0008195 L7.6550349,12.9332195 L8.3569349,12.0179195 L6.7578149,11.3299195 Z M13.9888149,4.05090948 L7.1599149,10.4129195 L11.9795149,12.4886195 C11.9980149,12.4966195 12.0173149,12.5035195 12.0369149,12.5093195 L12.0369149,12.5093195 L12.0964149,12.5228195 C12.3386149,12.5624195 12.5686149,12.4209195 12.6482149,12.1975195 L12.6482149,12.1975195 L12.6706149,12.1101195 L13.9888149,4.05090948 Z" })
126
+ m("path", { d: "M13.5105149,2.56164948 C14.1211149,2.35546948 14.7829149,2.68328948 14.9892149,3.29376948 C15.0349149,3.42925948 15.0552149,3.57159948 15.0495149,3.71368948 L15.0495149,3.71368948 L15.0351149,3.85546948 L13.6575149,12.2717195 C13.5237149,13.0892195 12.7524149,13.6435195 11.9348149,13.5097195 C11.8542149,13.4965195 11.7751149,13.4768195 11.6980149,13.4508195 L11.6980149,13.4508195 L11.5840149,13.4071195 L9.3049349,12.4260195 L8.4482449,13.5422195 C8.1958049,13.8708195 7.8205549,14.0786195 7.4128449,14.1207195 L7.4128449,14.1207195 L7.2585449,14.1286195 C6.4787649,14.1286195 5.8381349,13.5337195 5.7653849,12.7731195 L5.7653849,12.7731195 L5.7585449,12.6286195 L5.7602549,10.5258195 L5.7756349,10.4384195 L5.7944349,10.3824195 L5.8266649,10.3168995 L5.8735349,10.2503695 L5.9177249,10.2039195 L12.6909149,3.89392948 L2.3403349,7.38903948 C2.2329149,7.42529948 2.1418449,7.49676948 2.0808149,7.59063948 L2.0808149,7.59063948 L2.0412649,7.66497948 C1.9440949,7.89044948 2.0258749,8.14788948 2.2236349,8.27917948 L2.2236349,8.27917948 L2.3029749,8.32214948 L4.4799849,9.26177948 C4.7333949,9.37121948 4.8503449,9.66546948 4.7409649,9.91894948 C4.6435549,10.1443495 4.4003949,10.2616595 4.1694349,10.2081295 L4.1694349,10.2081295 L4.0837449,10.1798795 L1.9072249,9.24047948 C1.1462449,8.91284948 0.795166898,8.03039948 1.1225549,7.26953948 C1.2700249,6.92755948 1.5380849,6.65435948 1.8730449,6.50018948 L1.8730449,6.50018948 L2.0205049,6.44158948 Z M6.7578149,11.3299195 L6.7585449,12.6286195 L6.7666013,12.7185103 C6.80894095,12.9517898 7.0131049,13.1286195 7.2585449,13.1286195 C7.3828149,13.1286195 7.5014649,13.0824195 7.5925349,13.0008195 L7.5925349,13.0008195 L7.6550349,12.9332195 L8.3569349,12.0179195 L6.7578149,11.3299195 Z M13.9888149,4.05090948 L7.1599149,10.4129195 L11.9795149,12.4886195 C11.9980149,12.4966195 12.0173149,12.5035195 12.0369149,12.5093195 L12.0369149,12.5093195 L12.0964149,12.5228195 C12.3386149,12.5624195 12.5686149,12.4209195 12.6482149,12.1975195 L12.6482149,12.1975195 L12.6706149,12.1101195 L13.9888149,4.05090948 Z" })
128
127
  ],
129
128
  -1
130
129
  /* HOISTED */
131
130
  )
132
131
  ]));
133
132
  }
134
- const Y = /* @__PURE__ */ S(Q, [["render", X]]), t1 = /* @__PURE__ */ b({
133
+ const t1 = /* @__PURE__ */ k(J, [["render", e1]]), n1 = ["disabled"], o1 = { class: "mc-button-content" }, s1 = /* @__PURE__ */ E({
135
134
  __name: "button",
136
- setup(e) {
137
- const { t: o } = $(), { inputValue: s, rootProps: t, rootEmits: r } = I(E), a = () => {
138
- t.loading ? r("cancel") : (r("submit", s.value), s.value = "");
135
+ setup(t) {
136
+ const { t: o } = B(), { inputValue: s, rootProps: e, rootEmits: c } = Z(M), i = w(!1), a = w(!1), p = z({
137
+ top: "0px",
138
+ left: "0px"
139
+ }), l = (f) => {
140
+ p.left = f.offsetX + "px", p.top = f.offsetY + "px", a.value = !0, setTimeout(() => {
141
+ a.value = !1;
142
+ }, 300);
143
+ }, y = (f) => {
144
+ l(f), e.loading ? c("cancel") : (c("submit", s.value), s.value = "");
139
145
  };
140
- return (p, m) => (u(), h(n(D), {
141
- variant: "solid",
142
- shape: "round",
143
- disabled: n(t).disabled || !n(t).loading && !n(s),
144
- class: w(["mc-button", { "mc-button-loading": n(t).loading }]),
145
- onClick: a
146
- }, {
147
- default: N(() => [
148
- n(t).loading ? (u(), h(J, { key: 0 })) : (u(), h(Y, { key: 1 })),
149
- d(
146
+ return (f, L) => (u(), d("button", {
147
+ disabled: n(e).disabled || !n(e).loading && !n(s),
148
+ class: S(["mc-button", { "mc-button-loading": n(e).loading, mousedown: i.value }]),
149
+ onClick: y,
150
+ onMousedown: L[0] || (L[0] = () => i.value = !0),
151
+ onMouseup: L[1] || (L[1] = () => i.value = !1)
152
+ }, [
153
+ m("span", o1, [
154
+ n(e).loading ? (u(), $(H, { key: 0 })) : (u(), $(t1, { key: 1 })),
155
+ m(
150
156
  "span",
151
157
  null,
152
- g(n(t).loading ? n(o)("Input.pauseAnswer") : n(o)("Input.send")),
158
+ x(n(e).loading ? n(o)("Input.pauseAnswer") : n(o)("Input.send")),
153
159
  1
154
160
  /* TEXT */
155
161
  )
156
162
  ]),
157
- _: 1
158
- /* STABLE */
159
- }, 8, ["disabled", "class"]));
163
+ a.value ? (u(), d(
164
+ "div",
165
+ {
166
+ key: 0,
167
+ class: "mc-button-water-wave",
168
+ style: F(p)
169
+ },
170
+ null,
171
+ 4
172
+ /* STYLE */
173
+ )) : _("v-if", !0)
174
+ ], 42, n1));
160
175
  }
161
- }), k = /* @__PURE__ */ S(t1, [["__scopeId", "data-v-d9d29965"]]), e1 = { class: "mc-input-content" }, n1 = {
176
+ }), I = /* @__PURE__ */ k(s1, [["__scopeId", "data-v-b128331d"]]), l1 = { class: "mc-input-content" }, i1 = {
162
177
  key: 0,
163
178
  class: "mc-input-foot"
164
- }, o1 = { class: "mc-input-foot-left" }, s1 = {
179
+ }, a1 = { class: "mc-input-foot-left" }, r1 = {
165
180
  key: 0,
166
181
  class: "mc-input-foot-count"
167
- }, M = /* @__PURE__ */ b({
182
+ }, K = /* @__PURE__ */ E({
168
183
  __name: "Input",
169
- props: G,
170
- emits: O,
171
- setup(e, { expose: o, emit: s }) {
172
- const t = e, r = s, a = j(""), p = () => {
173
- a.value = "";
174
- }, m = () => a.value;
175
- return F(
176
- () => t.value,
184
+ props: O,
185
+ emits: R,
186
+ setup(t, { expose: o, emit: s }) {
187
+ const e = t, c = s, i = w(""), a = () => {
188
+ i.value = "";
189
+ }, p = () => i.value;
190
+ return W(
191
+ () => e.value,
177
192
  () => {
178
- a.value = t.value;
193
+ i.value = e.value;
179
194
  },
180
195
  { immediate: !0 }
181
- ), o({ clearInput: p, getInput: m }), z(E, { inputValue: a, rootProps: t, rootEmits: r }), (l, x) => (u(), L(
196
+ ), o({ clearInput: a, getInput: p }), A(M, { inputValue: i, rootProps: e, rootEmits: c }), (l, y) => (u(), d(
182
197
  "div",
183
198
  {
184
- class: w(["mc-input", { "mc-input-disabled": l.disabled }])
199
+ class: S(["mc-input", { "mc-input-disabled": l.disabled }])
185
200
  },
186
201
  [
187
- C(l.$slots, "head"),
188
- d("div", e1, [
189
- C(l.$slots, "prefix"),
190
- _(R),
191
- l.displayType === n(v).Simple ? C(l.$slots, "button", { key: 0 }, () => [
192
- _(k)
193
- ]) : y("v-if", !0)
202
+ h(l.$slots, "head"),
203
+ m("div", l1, [
204
+ h(l.$slots, "prefix"),
205
+ b(X),
206
+ l.displayType === n(g).Simple ? h(l.$slots, "button", { key: 0 }, () => [
207
+ b(I)
208
+ ]) : _("v-if", !0)
194
209
  ]),
195
- l.displayType === n(v).Full ? (u(), L("div", n1, [
196
- d("div", o1, [
197
- C(l.$slots, "extra"),
198
- l.showCount ? (u(), L(
210
+ l.displayType === n(g).Full ? (u(), d("div", i1, [
211
+ m("div", a1, [
212
+ h(l.$slots, "extra"),
213
+ l.showCount ? (u(), d(
199
214
  "span",
200
- s1,
201
- g(a.value.length) + g(l.maxLength ?? !1 ? `/${l.maxLength}` : ""),
215
+ r1,
216
+ x(i.value.length) + x(l.maxLength ?? !1 ? `/${l.maxLength}` : ""),
202
217
  1
203
218
  /* TEXT */
204
- )) : y("v-if", !0)
219
+ )) : _("v-if", !0)
205
220
  ]),
206
- C(l.$slots, "button", {}, () => [
207
- _(k)
221
+ h(l.$slots, "button", {}, () => [
222
+ b(I)
208
223
  ])
209
- ])) : y("v-if", !0)
224
+ ])) : _("v-if", !0)
210
225
  ],
211
226
  2
212
227
  /* CLASS */
213
228
  ));
214
229
  }
215
230
  });
216
- M.install = (e) => {
217
- e.component("McInput", M);
231
+ K.install = (t) => {
232
+ t.component("McInput", K);
218
233
  };
219
234
  export {
220
- M as McInput
235
+ K as McInput
221
236
  };
@@ -1 +1 @@
1
- .mc-code-block-light[data-v-de46b77a] pre code.hljs{display:block;overflow-x:auto;padding:1em}.mc-code-block-light[data-v-de46b77a] code.hljs{padding:3px 5px}.mc-code-block-light[data-v-de46b77a] .hljs{background:#fefefe;color:#545454}.mc-code-block-light[data-v-de46b77a] .hljs-comment,.mc-code-block-light[data-v-de46b77a] .hljs-quote{color:#696969}.mc-code-block-light[data-v-de46b77a] .hljs-variable,.mc-code-block-light[data-v-de46b77a] .hljs-template-variable,.mc-code-block-light[data-v-de46b77a] .hljs-tag,.mc-code-block-light[data-v-de46b77a] .hljs-name,.mc-code-block-light[data-v-de46b77a] .hljs-selector-id,.mc-code-block-light[data-v-de46b77a] .hljs-selector-class,.mc-code-block-light[data-v-de46b77a] .hljs-regexp,.mc-code-block-light[data-v-de46b77a] .hljs-deletion{color:#d91e18}.mc-code-block-light[data-v-de46b77a] .hljs-number,.mc-code-block-light[data-v-de46b77a] .hljs-built_in,.mc-code-block-light[data-v-de46b77a] .hljs-literal,.mc-code-block-light[data-v-de46b77a] .hljs-type,.mc-code-block-light[data-v-de46b77a] .hljs-params,.mc-code-block-light[data-v-de46b77a] .hljs-meta,.mc-code-block-light[data-v-de46b77a] .hljs-link,.mc-code-block-light[data-v-de46b77a] .hljs-attribute{color:#aa5d00}.mc-code-block-light[data-v-de46b77a] .hljs-string,.mc-code-block-light[data-v-de46b77a] .hljs-symbol,.mc-code-block-light[data-v-de46b77a] .hljs-bullet,.mc-code-block-light[data-v-de46b77a] .hljs-addition{color:green}.mc-code-block-light[data-v-de46b77a] .hljs-title,.mc-code-block-light[data-v-de46b77a] .hljs-section{color:#007faa}.mc-code-block-light[data-v-de46b77a] .hljs-keyword,.mc-code-block-light[data-v-de46b77a] .hljs-selector-tag{color:#7928a1}.mc-code-block-light[data-v-de46b77a] .hljs-emphasis{font-style:italic}.mc-code-block-light[data-v-de46b77a] .hljs-strong{font-weight:700}@media screen and (-ms-high-contrast: active){.mc-code-block-light[data-v-de46b77a] .hljs-addition,.mc-code-block-light[data-v-de46b77a] .hljs-attribute,.mc-code-block-light[data-v-de46b77a] .hljs-built_in,.mc-code-block-light[data-v-de46b77a] .hljs-bullet,.mc-code-block-light[data-v-de46b77a] .hljs-comment,.mc-code-block-light[data-v-de46b77a] .hljs-link,.mc-code-block-light[data-v-de46b77a] .hljs-literal,.mc-code-block-light[data-v-de46b77a] .hljs-meta,.mc-code-block-light[data-v-de46b77a] .hljs-number,.mc-code-block-light[data-v-de46b77a] .hljs-params,.mc-code-block-light[data-v-de46b77a] .hljs-string,.mc-code-block-light[data-v-de46b77a] .hljs-symbol,.mc-code-block-light[data-v-de46b77a] .hljs-type,.mc-code-block-light[data-v-de46b77a] .hljs-quote{color:highlight}.mc-code-block-light[data-v-de46b77a] .hljs-keyword,.mc-code-block-light[data-v-de46b77a] .hljs-selector-tag{font-weight:700}}.mc-code-block-dark[data-v-de46b77a] pre code.hljs{display:block;overflow-x:auto;padding:1em}.mc-code-block-dark[data-v-de46b77a] code.hljs{padding:3px 5px}.mc-code-block-dark[data-v-de46b77a] .hljs{background:#2b2b2b;color:#f8f8f2}.mc-code-block-dark[data-v-de46b77a] .hljs-comment,.mc-code-block-dark[data-v-de46b77a] .hljs-quote{color:#d4d0ab}.mc-code-block-dark[data-v-de46b77a] .hljs-variable,.mc-code-block-dark[data-v-de46b77a] .hljs-template-variable,.mc-code-block-dark[data-v-de46b77a] .hljs-tag,.mc-code-block-dark[data-v-de46b77a] .hljs-name,.mc-code-block-dark[data-v-de46b77a] .hljs-selector-id,.mc-code-block-dark[data-v-de46b77a] .hljs-selector-class,.mc-code-block-dark[data-v-de46b77a] .hljs-regexp,.mc-code-block-dark[data-v-de46b77a] .hljs-deletion{color:#ffa07a}.mc-code-block-dark[data-v-de46b77a] .hljs-number,.mc-code-block-dark[data-v-de46b77a] .hljs-built_in,.mc-code-block-dark[data-v-de46b77a] .hljs-literal,.mc-code-block-dark[data-v-de46b77a] .hljs-type,.mc-code-block-dark[data-v-de46b77a] .hljs-params,.mc-code-block-dark[data-v-de46b77a] .hljs-meta,.mc-code-block-dark[data-v-de46b77a] .hljs-link{color:#f5ab35}.mc-code-block-dark[data-v-de46b77a] .hljs-attribute{color:gold}.mc-code-block-dark[data-v-de46b77a] .hljs-string,.mc-code-block-dark[data-v-de46b77a] .hljs-symbol,.mc-code-block-dark[data-v-de46b77a] .hljs-bullet,.mc-code-block-dark[data-v-de46b77a] .hljs-addition{color:#abe338}.mc-code-block-dark[data-v-de46b77a] .hljs-title,.mc-code-block-dark[data-v-de46b77a] .hljs-section{color:#00e0e0}.mc-code-block-dark[data-v-de46b77a] .hljs-keyword,.mc-code-block-dark[data-v-de46b77a] .hljs-selector-tag{color:#dcc6e0}.mc-code-block-dark[data-v-de46b77a] .hljs-emphasis{font-style:italic}.mc-code-block-dark[data-v-de46b77a] .hljs-strong{font-weight:700}@media screen and (-ms-high-contrast: active){.mc-code-block-dark[data-v-de46b77a] .hljs-addition,.mc-code-block-dark[data-v-de46b77a] .hljs-attribute,.mc-code-block-dark[data-v-de46b77a] .hljs-built_in,.mc-code-block-dark[data-v-de46b77a] .hljs-bullet,.mc-code-block-dark[data-v-de46b77a] .hljs-comment,.mc-code-block-dark[data-v-de46b77a] .hljs-link,.mc-code-block-dark[data-v-de46b77a] .hljs-literal,.mc-code-block-dark[data-v-de46b77a] .hljs-meta,.mc-code-block-dark[data-v-de46b77a] .hljs-number,.mc-code-block-dark[data-v-de46b77a] .hljs-params,.mc-code-block-dark[data-v-de46b77a] .hljs-string,.mc-code-block-dark[data-v-de46b77a] .hljs-symbol,.mc-code-block-dark[data-v-de46b77a] .hljs-type,.mc-code-block-dark[data-v-de46b77a] .hljs-quote{color:highlight}.mc-code-block-dark[data-v-de46b77a] .hljs-keyword,.mc-code-block-dark[data-v-de46b77a] .hljs-selector-tag{font-weight:700}}.v-enter-active[data-v-de46b77a],.v-leave-active[data-v-de46b77a]{transition:opacity .5s ease}.v-enter-from[data-v-de46b77a],.v-leave-to[data-v-de46b77a]{opacity:0}.mc-code-block[data-v-de46b77a]{margin:1rem 0;overflow:hidden;border-radius:14px}.mc-code-block pre[data-v-de46b77a]{margin:0}.mc-code-block .mc-action-btn[data-v-de46b77a]{width:24px;height:24px}.mc-code-block .mc-code-block-header[data-v-de46b77a]{display:flex;justify-content:space-between;align-items:center;padding:.5rem 1rem}.mc-code-block .mc-code-block-header .mc-code-lang[data-v-de46b77a]{font-size:var(--devui-font-size, 12px)}.mc-code-block .mc-code-block-actions[data-v-de46b77a]{display:flex;align-items:center}.mc-code-block .mc-code-block-actions .mc-copy-btn[data-v-de46b77a],.mc-code-block .mc-code-block-actions .mc-toggle-btn[data-v-de46b77a]{cursor:pointer;border-radius:4px;font-size:18px;padding:4px}.mc-code-block-light[data-v-de46b77a]{border:1px solid #d7d8da;background-color:#f5f5f5}.mc-code-block-light code.hljs[data-v-de46b77a]{padding:1em}.mc-code-block-light .mc-code-lang[data-v-de46b77a],.mc-code-block-light .mc-code-block-actions .mc-copy-btn[data-v-de46b77a],.mc-code-block-light .mc-code-block-actions .mc-toggle-btn[data-v-de46b77a]{color:#252b3a}.mc-code-block-light .mc-code-block-actions .mc-copy-btn[data-v-de46b77a]:hover,.mc-code-block-light .mc-code-block-actions .mc-toggle-btn[data-v-de46b77a]:hover{background-color:#ebebeb}.mc-code-block-dark[data-v-de46b77a]{border:1px solid #4e5057;background-color:#34363a}.mc-code-block-dark code.hljs[data-v-de46b77a]{padding:1em}.mc-code-block-dark .mc-code-lang[data-v-de46b77a],.mc-code-block-dark .mc-code-block-actions .mc-copy-btn[data-v-de46b77a],.mc-code-block-dark .mc-code-block-actions .mc-toggle-btn[data-v-de46b77a]{color:#ced1db}.mc-code-block-dark .mc-code-block-actions .mc-copy-btn[data-v-de46b77a]:hover,.mc-code-block-dark .mc-code-block-actions .mc-toggle-btn[data-v-de46b77a]:hover{background-color:#393a3e}.mc-code-block-dark .mc-code-block-actions .mc-copy-btn img[data-v-de46b77a],.mc-code-block-dark .mc-code-block-actions .mc-toggle-btn img[data-v-de46b77a]{filter:brightness(1.5)}.collapse-transition-enter-from[data-v-de46b77a],.collapse-transition-leave-to[data-v-de46b77a]{opacity:0}.collapse-transition-enter-to[data-v-de46b77a],.collapse-transition-leave-from[data-v-de46b77a]{opacity:1}.collapse-transition-enter-active[data-v-de46b77a],.collapse-transition-leave-active[data-v-de46b77a]{transition:max-height .3s cubic-bezier(.5,.05,.5,.95),opacity .3s cubic-bezier(.5,.05,.5,.95)}.mc-markdown-render[data-v-a398f75b]{overflow-x:auto}.mc-markdown-render.mc-markdown-render-dark[data-v-a398f75b]{color:#ced1db}.mc-markdown-render.mc-markdown-render-light[data-v-a398f75b]{color:#252b3a}
1
+ .mc-code-block-light[data-v-de46b77a] pre code.hljs{display:block;overflow-x:auto;padding:1em}.mc-code-block-light[data-v-de46b77a] code.hljs{padding:3px 5px}.mc-code-block-light[data-v-de46b77a] .hljs{background:#fefefe;color:#545454}.mc-code-block-light[data-v-de46b77a] .hljs-comment,.mc-code-block-light[data-v-de46b77a] .hljs-quote{color:#696969}.mc-code-block-light[data-v-de46b77a] .hljs-variable,.mc-code-block-light[data-v-de46b77a] .hljs-template-variable,.mc-code-block-light[data-v-de46b77a] .hljs-tag,.mc-code-block-light[data-v-de46b77a] .hljs-name,.mc-code-block-light[data-v-de46b77a] .hljs-selector-id,.mc-code-block-light[data-v-de46b77a] .hljs-selector-class,.mc-code-block-light[data-v-de46b77a] .hljs-regexp,.mc-code-block-light[data-v-de46b77a] .hljs-deletion{color:#d91e18}.mc-code-block-light[data-v-de46b77a] .hljs-number,.mc-code-block-light[data-v-de46b77a] .hljs-built_in,.mc-code-block-light[data-v-de46b77a] .hljs-literal,.mc-code-block-light[data-v-de46b77a] .hljs-type,.mc-code-block-light[data-v-de46b77a] .hljs-params,.mc-code-block-light[data-v-de46b77a] .hljs-meta,.mc-code-block-light[data-v-de46b77a] .hljs-link,.mc-code-block-light[data-v-de46b77a] .hljs-attribute{color:#aa5d00}.mc-code-block-light[data-v-de46b77a] .hljs-string,.mc-code-block-light[data-v-de46b77a] .hljs-symbol,.mc-code-block-light[data-v-de46b77a] .hljs-bullet,.mc-code-block-light[data-v-de46b77a] .hljs-addition{color:green}.mc-code-block-light[data-v-de46b77a] .hljs-title,.mc-code-block-light[data-v-de46b77a] .hljs-section{color:#007faa}.mc-code-block-light[data-v-de46b77a] .hljs-keyword,.mc-code-block-light[data-v-de46b77a] .hljs-selector-tag{color:#7928a1}.mc-code-block-light[data-v-de46b77a] .hljs-emphasis{font-style:italic}.mc-code-block-light[data-v-de46b77a] .hljs-strong{font-weight:700}@media screen and (-ms-high-contrast: active){.mc-code-block-light[data-v-de46b77a] .hljs-addition,.mc-code-block-light[data-v-de46b77a] .hljs-attribute,.mc-code-block-light[data-v-de46b77a] .hljs-built_in,.mc-code-block-light[data-v-de46b77a] .hljs-bullet,.mc-code-block-light[data-v-de46b77a] .hljs-comment,.mc-code-block-light[data-v-de46b77a] .hljs-link,.mc-code-block-light[data-v-de46b77a] .hljs-literal,.mc-code-block-light[data-v-de46b77a] .hljs-meta,.mc-code-block-light[data-v-de46b77a] .hljs-number,.mc-code-block-light[data-v-de46b77a] .hljs-params,.mc-code-block-light[data-v-de46b77a] .hljs-string,.mc-code-block-light[data-v-de46b77a] .hljs-symbol,.mc-code-block-light[data-v-de46b77a] .hljs-type,.mc-code-block-light[data-v-de46b77a] .hljs-quote{color:highlight}.mc-code-block-light[data-v-de46b77a] .hljs-keyword,.mc-code-block-light[data-v-de46b77a] .hljs-selector-tag{font-weight:700}}.mc-code-block-dark[data-v-de46b77a] pre code.hljs{display:block;overflow-x:auto;padding:1em}.mc-code-block-dark[data-v-de46b77a] code.hljs{padding:3px 5px}.mc-code-block-dark[data-v-de46b77a] .hljs{background:#2b2b2b;color:#f8f8f2}.mc-code-block-dark[data-v-de46b77a] .hljs-comment,.mc-code-block-dark[data-v-de46b77a] .hljs-quote{color:#d4d0ab}.mc-code-block-dark[data-v-de46b77a] .hljs-variable,.mc-code-block-dark[data-v-de46b77a] .hljs-template-variable,.mc-code-block-dark[data-v-de46b77a] .hljs-tag,.mc-code-block-dark[data-v-de46b77a] .hljs-name,.mc-code-block-dark[data-v-de46b77a] .hljs-selector-id,.mc-code-block-dark[data-v-de46b77a] .hljs-selector-class,.mc-code-block-dark[data-v-de46b77a] .hljs-regexp,.mc-code-block-dark[data-v-de46b77a] .hljs-deletion{color:#ffa07a}.mc-code-block-dark[data-v-de46b77a] .hljs-number,.mc-code-block-dark[data-v-de46b77a] .hljs-built_in,.mc-code-block-dark[data-v-de46b77a] .hljs-literal,.mc-code-block-dark[data-v-de46b77a] .hljs-type,.mc-code-block-dark[data-v-de46b77a] .hljs-params,.mc-code-block-dark[data-v-de46b77a] .hljs-meta,.mc-code-block-dark[data-v-de46b77a] .hljs-link{color:#f5ab35}.mc-code-block-dark[data-v-de46b77a] .hljs-attribute{color:gold}.mc-code-block-dark[data-v-de46b77a] .hljs-string,.mc-code-block-dark[data-v-de46b77a] .hljs-symbol,.mc-code-block-dark[data-v-de46b77a] .hljs-bullet,.mc-code-block-dark[data-v-de46b77a] .hljs-addition{color:#abe338}.mc-code-block-dark[data-v-de46b77a] .hljs-title,.mc-code-block-dark[data-v-de46b77a] .hljs-section{color:#00e0e0}.mc-code-block-dark[data-v-de46b77a] .hljs-keyword,.mc-code-block-dark[data-v-de46b77a] .hljs-selector-tag{color:#dcc6e0}.mc-code-block-dark[data-v-de46b77a] .hljs-emphasis{font-style:italic}.mc-code-block-dark[data-v-de46b77a] .hljs-strong{font-weight:700}@media screen and (-ms-high-contrast: active){.mc-code-block-dark[data-v-de46b77a] .hljs-addition,.mc-code-block-dark[data-v-de46b77a] .hljs-attribute,.mc-code-block-dark[data-v-de46b77a] .hljs-built_in,.mc-code-block-dark[data-v-de46b77a] .hljs-bullet,.mc-code-block-dark[data-v-de46b77a] .hljs-comment,.mc-code-block-dark[data-v-de46b77a] .hljs-link,.mc-code-block-dark[data-v-de46b77a] .hljs-literal,.mc-code-block-dark[data-v-de46b77a] .hljs-meta,.mc-code-block-dark[data-v-de46b77a] .hljs-number,.mc-code-block-dark[data-v-de46b77a] .hljs-params,.mc-code-block-dark[data-v-de46b77a] .hljs-string,.mc-code-block-dark[data-v-de46b77a] .hljs-symbol,.mc-code-block-dark[data-v-de46b77a] .hljs-type,.mc-code-block-dark[data-v-de46b77a] .hljs-quote{color:highlight}.mc-code-block-dark[data-v-de46b77a] .hljs-keyword,.mc-code-block-dark[data-v-de46b77a] .hljs-selector-tag{font-weight:700}}.v-enter-active[data-v-de46b77a],.v-leave-active[data-v-de46b77a]{transition:opacity .5s ease}.v-enter-from[data-v-de46b77a],.v-leave-to[data-v-de46b77a]{opacity:0}.mc-code-block[data-v-de46b77a]{margin:1rem 0;overflow:hidden;border-radius:14px}.mc-code-block pre[data-v-de46b77a]{margin:0}.mc-code-block .mc-action-btn[data-v-de46b77a]{width:24px;height:24px}.mc-code-block .mc-code-block-header[data-v-de46b77a]{display:flex;justify-content:space-between;align-items:center;padding:.5rem 1rem}.mc-code-block .mc-code-block-header .mc-code-lang[data-v-de46b77a]{font-size:var(--devui-font-size, 12px)}.mc-code-block .mc-code-block-actions[data-v-de46b77a]{display:flex;align-items:center}.mc-code-block .mc-code-block-actions .mc-copy-btn[data-v-de46b77a],.mc-code-block .mc-code-block-actions .mc-toggle-btn[data-v-de46b77a]{cursor:pointer;border-radius:4px;font-size:18px;padding:4px}.mc-code-block-light[data-v-de46b77a]{border:1px solid #d7d8da;background-color:#f5f5f5}.mc-code-block-light code.hljs[data-v-de46b77a]{padding:1em}.mc-code-block-light .mc-code-lang[data-v-de46b77a],.mc-code-block-light .mc-code-block-actions .mc-copy-btn[data-v-de46b77a],.mc-code-block-light .mc-code-block-actions .mc-toggle-btn[data-v-de46b77a]{color:#252b3a}.mc-code-block-light .mc-code-block-actions .mc-copy-btn[data-v-de46b77a]:hover,.mc-code-block-light .mc-code-block-actions .mc-toggle-btn[data-v-de46b77a]:hover{background-color:#ebebeb}.mc-code-block-dark[data-v-de46b77a]{border:1px solid #4e5057;background-color:#34363a}.mc-code-block-dark code.hljs[data-v-de46b77a]{padding:1em}.mc-code-block-dark .mc-code-lang[data-v-de46b77a],.mc-code-block-dark .mc-code-block-actions .mc-copy-btn[data-v-de46b77a],.mc-code-block-dark .mc-code-block-actions .mc-toggle-btn[data-v-de46b77a]{color:#ced1db}.mc-code-block-dark .mc-code-block-actions .mc-copy-btn[data-v-de46b77a]:hover,.mc-code-block-dark .mc-code-block-actions .mc-toggle-btn[data-v-de46b77a]:hover{background-color:#393a3e}.mc-code-block-dark .mc-code-block-actions .mc-copy-btn img[data-v-de46b77a],.mc-code-block-dark .mc-code-block-actions .mc-toggle-btn img[data-v-de46b77a]{filter:brightness(1.5)}.collapse-transition-enter-from[data-v-de46b77a],.collapse-transition-leave-to[data-v-de46b77a]{opacity:0}.collapse-transition-enter-to[data-v-de46b77a],.collapse-transition-leave-from[data-v-de46b77a]{opacity:1}.collapse-transition-enter-active[data-v-de46b77a],.collapse-transition-leave-active[data-v-de46b77a]{transition:max-height .3s cubic-bezier(.5,.05,.5,.95),opacity .3s cubic-bezier(.5,.05,.5,.95)}.mc-markdown-render[data-v-04a80a4e]{overflow-x:auto}.mc-markdown-render.mc-markdown-render-dark[data-v-04a80a4e]{color:#ced1db}.mc-markdown-render.mc-markdown-render-light[data-v-04a80a4e]{color:#252b3a}