@matechat/core 1.4.0-alpha.2 → 1.4.0-alpha.3
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/Locale/index.js +0 -1
- package/mate-chat.js +0 -3
- package/package.json +1 -1
- package/PopperTrigger/index.js +0 -49
package/Locale/index.js
CHANGED
package/mate-chat.js
CHANGED
|
@@ -7,7 +7,6 @@ import { McList } from './List';
|
|
|
7
7
|
import { useMcI18n, McLocale } from './Locale';
|
|
8
8
|
import { McMarkdownCard } from './MarkdownCard';
|
|
9
9
|
import { McMention } from './Mention';
|
|
10
|
-
import { PopperTrigger } from './PopperTrigger';
|
|
11
10
|
import { McPrompt } from './Prompt';
|
|
12
11
|
|
|
13
12
|
const installs = [
|
|
@@ -20,7 +19,6 @@ const installs = [
|
|
|
20
19
|
McLocale,
|
|
21
20
|
McMarkdownCard,
|
|
22
21
|
McMention,
|
|
23
|
-
McPopperTrigger,
|
|
24
22
|
McPrompt
|
|
25
23
|
];
|
|
26
24
|
|
|
@@ -39,7 +37,6 @@ export {
|
|
|
39
37
|
McLocale,
|
|
40
38
|
McMarkdownCard,
|
|
41
39
|
McMention,
|
|
42
|
-
PopperTrigger,
|
|
43
40
|
McPrompt
|
|
44
41
|
};
|
|
45
42
|
|
package/package.json
CHANGED
package/PopperTrigger/index.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import "./index.css";
|
|
2
|
-
import { Comment as s, Text as a, Fragment as m, h as g, defineComponent as h, ref as v, withDirectives as C, cloneVNode as y } from "vue";
|
|
3
|
-
import { isObject as x } from "@vue/shared";
|
|
4
|
-
function p(e) {
|
|
5
|
-
return g("span", {}, e);
|
|
6
|
-
}
|
|
7
|
-
function c(e) {
|
|
8
|
-
for (const t of e) {
|
|
9
|
-
if (x(t)) {
|
|
10
|
-
if (t.type === s)
|
|
11
|
-
continue;
|
|
12
|
-
return t.type === "svg" || t.type === a ? p(t) : t.type === m ? c(t.children) : t;
|
|
13
|
-
}
|
|
14
|
-
return p(t);
|
|
15
|
-
}
|
|
16
|
-
return null;
|
|
17
|
-
}
|
|
18
|
-
const F = /* @__PURE__ */ h({
|
|
19
|
-
setup(e, t) {
|
|
20
|
-
const {
|
|
21
|
-
slots: r,
|
|
22
|
-
attrs: i,
|
|
23
|
-
expose: d
|
|
24
|
-
} = t, n = v();
|
|
25
|
-
return d({
|
|
26
|
-
triggerEl: n
|
|
27
|
-
}), () => {
|
|
28
|
-
var f;
|
|
29
|
-
const o = (f = r.default) == null ? void 0 : f.call(r, i);
|
|
30
|
-
if (!o)
|
|
31
|
-
return null;
|
|
32
|
-
const l = c(o);
|
|
33
|
-
return l ? C(y(l, i), [[{
|
|
34
|
-
mounted(u) {
|
|
35
|
-
n.value = u;
|
|
36
|
-
},
|
|
37
|
-
updated(u) {
|
|
38
|
-
n.value = u;
|
|
39
|
-
},
|
|
40
|
-
unmounted() {
|
|
41
|
-
n.value = null;
|
|
42
|
-
}
|
|
43
|
-
}]]) : null;
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
export {
|
|
48
|
-
F as PopperTrigger
|
|
49
|
-
};
|