@n8n-zengchao/chat 0.62.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/README.md +289 -0
- package/dist/App.vue.d.ts +2 -0
- package/dist/__stories__/App.stories.d.ts +18 -0
- package/dist/__tests__/Input.spec.d.ts +1 -0
- package/dist/__tests__/api/generic.spec.d.ts +1 -0
- package/dist/__tests__/api/message.spec.d.ts +1 -0
- package/dist/__tests__/index.spec.d.ts +1 -0
- package/dist/__tests__/plugins/chat.spec.d.ts +1 -0
- package/dist/__tests__/plugins/chat.test.d.ts +1 -0
- package/dist/__tests__/setup.d.ts +0 -0
- package/dist/__tests__/utils/create.d.ts +5 -0
- package/dist/__tests__/utils/fetch.d.ts +13 -0
- package/dist/__tests__/utils/index.d.ts +3 -0
- package/dist/__tests__/utils/selectors.d.ts +12 -0
- package/dist/__tests__/utils/streaming.spec.d.ts +1 -0
- package/dist/__tests__/utils/streamingHandlers.spec.d.ts +1 -0
- package/dist/_basePickBy-aQilsjEs.mjs +106 -0
- package/dist/_baseUniq-Agc10qFQ.mjs +232 -0
- package/dist/api/generic.d.ts +7 -0
- package/dist/api/index.d.ts +2 -0
- package/dist/api/message.d.ts +11 -0
- package/dist/arc-EhYU_DB1.mjs +79 -0
- package/dist/architecture-U656AL7Q-B1STlXpR.mjs +10 -0
- package/dist/architectureDiagram-VXUJARFQ-DOVAbXSw.mjs +4054 -0
- package/dist/array-B5w981Vk.mjs +5 -0
- package/dist/blockDiagram-VD42YOAC-BsX3Fkg3.mjs +3013 -0
- package/dist/c4Diagram-YG6GDRKO-B5JaLuX6.mjs +2957 -0
- package/dist/channel-CqrIo07y.mjs +4 -0
- package/dist/chat.bundle.es.js +37656 -0
- package/dist/chat.bundle.umd.js +2784 -0
- package/dist/chat.es.js +35738 -0
- package/dist/chat.umd.js +2776 -0
- package/dist/chunk-4BX2VUAB-dn0RXIrC.mjs +7 -0
- package/dist/chunk-55IACEB6-DrIttNoL.mjs +7 -0
- package/dist/chunk-76Q3JFCE-D7DMbWeQ.mjs +20 -0
- package/dist/chunk-ABZYJK2D-_NXv778f.mjs +2516 -0
- package/dist/chunk-ATLVNIR6-CBnG7Ev9.mjs +66 -0
- package/dist/chunk-B4BG7PRW-DElmmAse.mjs +3109 -0
- package/dist/chunk-CVBHYZKI-kPsSw5G9.mjs +11 -0
- package/dist/chunk-DI55MBZ5-Bw6uFFfD.mjs +1995 -0
- package/dist/chunk-DZXZ2BO8.mjs +19 -0
- package/dist/chunk-EXTU4WIE-DWzncOZf.mjs +8 -0
- package/dist/chunk-FMBD7UC4-CQf-nVrj.mjs +4 -0
- package/dist/chunk-FPAJGGOC-HRc6DGju.mjs +12254 -0
- package/dist/chunk-FWNWRKHM-CGiJVNMo.mjs +57 -0
- package/dist/chunk-HN2XXSSU-DMfVdeUE.mjs +75 -0
- package/dist/chunk-JA3XYJ7Z-b0Li4NN8.mjs +1834 -0
- package/dist/chunk-JZLCHNYA-C_4MLySW.mjs +4862 -0
- package/dist/chunk-KS23V3DP-BRKOfbU6.mjs +136 -0
- package/dist/chunk-LBM3YZW2-JIQK8wiH.mjs +20 -0
- package/dist/chunk-LHMN2FUI-PNCyIUgu.mjs +20 -0
- package/dist/chunk-MI3HLSF2-B9GTCmLp.mjs +1146 -0
- package/dist/chunk-N4CR4FBY-CjlmnCPD.mjs +40 -0
- package/dist/chunk-O7ZBX7Z2-DmJUfqJj.mjs +27 -0
- package/dist/chunk-QN33PNHL-nN1zLFSf.mjs +24 -0
- package/dist/chunk-QXUST7PY-CY78Btj9.mjs +487 -0
- package/dist/chunk-QZHKN3VN-BF5N1pfB.mjs +12 -0
- package/dist/chunk-S3R3BYOJ-BhFsv0Go.mjs +1076 -0
- package/dist/chunk-S6J4BHB3-BvrWTdbl.mjs +20 -0
- package/dist/chunk-T53DSG4Q-XzY06amw.mjs +25 -0
- package/dist/chunk-TZMSLE5B-DVmJQ8eg.mjs +57 -0
- package/dist/classDiagram-2ON5EDUG-CKxiEVX9.mjs +33 -0
- package/dist/classDiagram-v2-WZHVMYZB-sAa_2keq.mjs +33 -0
- package/dist/clone-nkGlb0Gn.mjs +8 -0
- package/dist/components/Button.vue.d.ts +17 -0
- package/dist/components/Chat.vue.d.ts +2 -0
- package/dist/components/ChatFile.vue.d.ts +11 -0
- package/dist/components/ChatWindow.vue.d.ts +2 -0
- package/dist/components/GetStarted.vue.d.ts +2 -0
- package/dist/components/GetStartedFooter.vue.d.ts +2 -0
- package/dist/components/Input.vue.d.ts +39 -0
- package/dist/components/Layout.vue.d.ts +23 -0
- package/dist/components/Message.vue.d.ts +39 -0
- package/dist/components/MessageTyping.vue.d.ts +76 -0
- package/dist/components/MessagesList.vue.d.ts +164 -0
- package/dist/components/PoweredBy.vue.d.ts +2 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/composables/index.d.ts +3 -0
- package/dist/composables/useChat.d.ts +2 -0
- package/dist/composables/useI18n.d.ts +4 -0
- package/dist/composables/useOptions.d.ts +4 -0
- package/dist/constants/defaults.d.ts +3 -0
- package/dist/constants/index.d.ts +3 -0
- package/dist/constants/localStorage.d.ts +2 -0
- package/dist/constants/symbols.d.ts +4 -0
- package/dist/cose-bilkent-S5V4N54A-1lKG2PUg.mjs +2251 -0
- package/dist/cytoscape.esm-Dls1_mGy.mjs +18108 -0
- package/dist/dagre-6UL2VRFP-CbWFu9xQ.mjs +300 -0
- package/dist/dagre-DEdOheHq.mjs +1385 -0
- package/dist/defaultLocale-CyoQm63E.mjs +178 -0
- package/dist/diagram-PSM6KHXK-CJcHbrJH.mjs +499 -0
- package/dist/diagram-QEK2KX5R-XQ9XOVL4.mjs +228 -0
- package/dist/diagram-S2PKOQOG-CmRfaeSf.mjs +146 -0
- package/dist/dist-BT0fjU7K.mjs +50 -0
- package/dist/erDiagram-Q2GNP2WA-iuoUWHwm.mjs +1603 -0
- package/dist/event-buses/chatEventBus.d.ts +1 -0
- package/dist/event-buses/index.d.ts +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/flowDiagram-NV44I4VS-D3GMS8-G.mjs +4132 -0
- package/dist/ganttDiagram-LVOFAZNH-DMTZVZDR.mjs +2832 -0
- package/dist/gitGraph-F6HP7TQM-CrdUzURw.mjs +10 -0
- package/dist/gitGraphDiagram-NY62KEGX-DipP5Fgt.mjs +636 -0
- package/dist/graphlib-D9eH5icd.mjs +224 -0
- package/dist/index.d.ts +2 -0
- package/dist/info-NVLQJR56-C-93Yf3U.mjs +10 -0
- package/dist/infoDiagram-F6ZHWCRC-jM50s26K.mjs +33 -0
- package/dist/init-CYeu4QfE.mjs +14 -0
- package/dist/isArrayLikeObject-BPcFdnyK.mjs +459 -0
- package/dist/isUndefined-BvarJ1wS.mjs +374 -0
- package/dist/journeyDiagram-XKPGCS4Q-BEEO_0Bh.mjs +885 -0
- package/dist/kanban-definition-3W4ZIXB7-B8u_HDmL.mjs +971 -0
- package/dist/katex-Dc1vXbUC.mjs +22094 -0
- package/dist/line-BJxACIPZ.mjs +31 -0
- package/dist/linear-DHHVI-cj.mjs +251 -0
- package/dist/math-Byg0NvhS.mjs +9 -0
- package/dist/mermaid-parser.core-YT4qvimq.mjs +49 -0
- package/dist/mindmap-definition-VGOIOE7T-ah41V88S.mjs +960 -0
- package/dist/now-DsJMgI1z.mjs +6 -0
- package/dist/ordinal-L0-EVPg8.mjs +62 -0
- package/dist/packet-BFZMPI3H-Cs4kRHct.mjs +10 -0
- package/dist/path-BcDHwjEr.mjs +80 -0
- package/dist/pie-7BOR55EZ-YZ5Xu4o6.mjs +10 -0
- package/dist/pieDiagram-ADFJNKIX-CqI33m1a.mjs +174 -0
- package/dist/plugins/chat.d.ts +3 -0
- package/dist/plugins/index.d.ts +1 -0
- package/dist/quadrantDiagram-AYHSOK5B-DDv2X9c1.mjs +1971 -0
- package/dist/radar-NHE76QYJ-TpirOFtv.mjs +10 -0
- package/dist/requirementDiagram-UZGBJVZJ-DXa77VzO.mjs +2194 -0
- package/dist/sankeyDiagram-TZEHDZUN--B9DInJC.mjs +885 -0
- package/dist/sequenceDiagram-WL72ISMW-Dqn9jJ3g.mjs +3562 -0
- package/dist/src-DdwtiGjk.mjs +1976 -0
- package/dist/stateDiagram-FKZM4ZOC-D3eEcVjS.mjs +226 -0
- package/dist/stateDiagram-v2-4FDKWEC3-dzwJ4caL.mjs +32 -0
- package/dist/style.css +3 -0
- package/dist/timeline-definition-IT6M3QCI-z93ry7RN.mjs +831 -0
- package/dist/toInteger-1S_4Byef.mjs +36 -0
- package/dist/treemap-KMMF4GRG-BlF0Ev1z.mjs +10 -0
- package/dist/types/chat.d.ts +13 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/messages.d.ts +17 -0
- package/dist/types/options.d.ts +33 -0
- package/dist/types/streaming.d.ts +18 -0
- package/dist/types/webhook.d.ts +19 -0
- package/dist/utils/event-bus.d.ts +8 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/mount.d.ts +1 -0
- package/dist/utils/streaming.d.ts +26 -0
- package/dist/utils/streamingHandlers.d.ts +6 -0
- package/dist/utils/utils.d.ts +1 -0
- package/dist/xychartDiagram-PRI3JC2R-C3aDcgBz.mjs +2022 -0
- package/package.json +78 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*! Package version @n8n/chat@0.62.0 */
|
|
2
|
+
import { a as GitGraphGeneratedModule, f as __name, g as createDefaultSharedCoreModule, h as createDefaultCoreModule, i as CommonValueConverter, m as inject, p as EmptyFileSystem, s as MermaidGeneratedSharedModule, t as AbstractMermaidTokenBuilder } from "./chunk-FPAJGGOC-HRc6DGju.mjs";
|
|
3
|
+
var GitGraphTokenBuilder = class extends AbstractMermaidTokenBuilder {
|
|
4
|
+
static #_ = __name(this, "GitGraphTokenBuilder");
|
|
5
|
+
constructor() {
|
|
6
|
+
super(["gitGraph"]);
|
|
7
|
+
}
|
|
8
|
+
}, GitGraphModule = { parser: {
|
|
9
|
+
TokenBuilder: /* @__PURE__ */ __name(() => new GitGraphTokenBuilder(), "TokenBuilder"),
|
|
10
|
+
ValueConverter: /* @__PURE__ */ __name(() => new CommonValueConverter(), "ValueConverter")
|
|
11
|
+
} };
|
|
12
|
+
function createGitGraphServices(l = EmptyFileSystem) {
|
|
13
|
+
let u = inject(createDefaultSharedCoreModule(l), MermaidGeneratedSharedModule), d = inject(createDefaultCoreModule({ shared: u }), GitGraphGeneratedModule, GitGraphModule);
|
|
14
|
+
return u.ServiceRegistry.register(d), {
|
|
15
|
+
shared: u,
|
|
16
|
+
GitGraph: d
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
__name(createGitGraphServices, "createGitGraphServices");
|
|
20
|
+
export { createGitGraphServices as n, GitGraphModule as t };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*! Package version @n8n/chat@0.62.0 */
|
|
2
|
+
import { f as __name, g as createDefaultSharedCoreModule, h as createDefaultCoreModule, l as PieGeneratedModule, m as inject, n as AbstractMermaidValueConverter, p as EmptyFileSystem, s as MermaidGeneratedSharedModule, t as AbstractMermaidTokenBuilder } from "./chunk-FPAJGGOC-HRc6DGju.mjs";
|
|
3
|
+
var PieTokenBuilder = class extends AbstractMermaidTokenBuilder {
|
|
4
|
+
static #_ = __name(this, "PieTokenBuilder");
|
|
5
|
+
constructor() {
|
|
6
|
+
super(["pie", "showData"]);
|
|
7
|
+
}
|
|
8
|
+
}, PieValueConverter = class extends AbstractMermaidValueConverter {
|
|
9
|
+
static #_ = __name(this, "PieValueConverter");
|
|
10
|
+
runCustomConverter(e, l, u) {
|
|
11
|
+
if (e.name === "PIE_SECTION_LABEL") return l.replace(/"/g, "").trim();
|
|
12
|
+
}
|
|
13
|
+
}, PieModule = { parser: {
|
|
14
|
+
TokenBuilder: /* @__PURE__ */ __name(() => new PieTokenBuilder(), "TokenBuilder"),
|
|
15
|
+
ValueConverter: /* @__PURE__ */ __name(() => new PieValueConverter(), "ValueConverter")
|
|
16
|
+
} };
|
|
17
|
+
function createPieServices(e = EmptyFileSystem) {
|
|
18
|
+
let d = inject(createDefaultSharedCoreModule(e), MermaidGeneratedSharedModule), f = inject(createDefaultCoreModule({ shared: d }), PieGeneratedModule, PieModule);
|
|
19
|
+
return d.ServiceRegistry.register(f), {
|
|
20
|
+
shared: d,
|
|
21
|
+
Pie: f
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
__name(createPieServices, "createPieServices");
|
|
25
|
+
export { createPieServices as n, PieModule as t };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/*! Package version @n8n/chat@0.62.0 */
|
|
2
|
+
import { o as __toESM } from "./chunk-DZXZ2BO8.mjs";
|
|
3
|
+
import { h as __name } from "./src-DdwtiGjk.mjs";
|
|
4
|
+
import { k as lineBreakRegex } from "./chunk-ABZYJK2D-_NXv778f.mjs";
|
|
5
|
+
import { t as require_dist } from "./dist-BT0fjU7K.mjs";
|
|
6
|
+
var import_dist = /* @__PURE__ */ __toESM(require_dist(), 1), drawRect = /* @__PURE__ */ __name((e, o) => {
|
|
7
|
+
let s = e.append("rect");
|
|
8
|
+
if (s.attr("x", o.x), s.attr("y", o.y), s.attr("fill", o.fill), s.attr("stroke", o.stroke), s.attr("width", o.width), s.attr("height", o.height), o.name && s.attr("name", o.name), o.rx && s.attr("rx", o.rx), o.ry && s.attr("ry", o.ry), o.attrs !== void 0) for (let e in o.attrs) s.attr(e, o.attrs[e]);
|
|
9
|
+
return o.class && s.attr("class", o.class), s;
|
|
10
|
+
}, "drawRect"), drawBackgroundRect = /* @__PURE__ */ __name((e, o) => {
|
|
11
|
+
drawRect(e, {
|
|
12
|
+
x: o.startx,
|
|
13
|
+
y: o.starty,
|
|
14
|
+
width: o.stopx - o.startx,
|
|
15
|
+
height: o.stopy - o.starty,
|
|
16
|
+
fill: o.fill,
|
|
17
|
+
stroke: o.stroke,
|
|
18
|
+
class: "rect"
|
|
19
|
+
}).lower();
|
|
20
|
+
}, "drawBackgroundRect"), drawText = /* @__PURE__ */ __name((e, o) => {
|
|
21
|
+
let c = o.text.replace(lineBreakRegex, " "), l = e.append("text");
|
|
22
|
+
l.attr("x", o.x), l.attr("y", o.y), l.attr("class", "legend"), l.style("text-anchor", o.anchor), o.class && l.attr("class", o.class);
|
|
23
|
+
let u = l.append("tspan");
|
|
24
|
+
return u.attr("x", o.x + o.textMargin * 2), u.text(c), l;
|
|
25
|
+
}, "drawText"), drawImage = /* @__PURE__ */ __name((e, o, s, c) => {
|
|
26
|
+
let u = e.append("image");
|
|
27
|
+
u.attr("x", o), u.attr("y", s);
|
|
28
|
+
let d = (0, import_dist.sanitizeUrl)(c);
|
|
29
|
+
u.attr("xlink:href", d);
|
|
30
|
+
}, "drawImage"), drawEmbeddedImage = /* @__PURE__ */ __name((e, o, s, c) => {
|
|
31
|
+
let u = e.append("use");
|
|
32
|
+
u.attr("x", o), u.attr("y", s);
|
|
33
|
+
let d = (0, import_dist.sanitizeUrl)(c);
|
|
34
|
+
u.attr("xlink:href", `#${d}`);
|
|
35
|
+
}, "drawEmbeddedImage"), getNoteRect = /* @__PURE__ */ __name(() => ({
|
|
36
|
+
x: 0,
|
|
37
|
+
y: 0,
|
|
38
|
+
width: 100,
|
|
39
|
+
height: 100,
|
|
40
|
+
fill: "#EDF2AE",
|
|
41
|
+
stroke: "#666",
|
|
42
|
+
anchor: "start",
|
|
43
|
+
rx: 0,
|
|
44
|
+
ry: 0
|
|
45
|
+
}), "getNoteRect"), getTextObj = /* @__PURE__ */ __name(() => ({
|
|
46
|
+
x: 0,
|
|
47
|
+
y: 0,
|
|
48
|
+
width: 100,
|
|
49
|
+
height: 100,
|
|
50
|
+
"text-anchor": "start",
|
|
51
|
+
style: "#666",
|
|
52
|
+
textMargin: 0,
|
|
53
|
+
rx: 0,
|
|
54
|
+
ry: 0,
|
|
55
|
+
tspan: !0
|
|
56
|
+
}), "getTextObj");
|
|
57
|
+
export { drawText as a, drawRect as i, drawEmbeddedImage as n, getNoteRect as o, drawImage as r, getTextObj as s, drawBackgroundRect as t };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*! Package version @n8n/chat@0.62.0 */
|
|
2
|
+
import "./isArrayLikeObject-BPcFdnyK.mjs";
|
|
3
|
+
import "./chunk-S3R3BYOJ-BhFsv0Go.mjs";
|
|
4
|
+
import { h as __name } from "./src-DdwtiGjk.mjs";
|
|
5
|
+
import "./chunk-ABZYJK2D-_NXv778f.mjs";
|
|
6
|
+
import "./path-BcDHwjEr.mjs";
|
|
7
|
+
import "./math-Byg0NvhS.mjs";
|
|
8
|
+
import "./array-B5w981Vk.mjs";
|
|
9
|
+
import "./line-BJxACIPZ.mjs";
|
|
10
|
+
import "./chunk-HN2XXSSU-DMfVdeUE.mjs";
|
|
11
|
+
import "./chunk-CVBHYZKI-kPsSw5G9.mjs";
|
|
12
|
+
import "./chunk-ATLVNIR6-CBnG7Ev9.mjs";
|
|
13
|
+
import "./dist-BT0fjU7K.mjs";
|
|
14
|
+
import "./chunk-JA3XYJ7Z-b0Li4NN8.mjs";
|
|
15
|
+
import "./chunk-JZLCHNYA-C_4MLySW.mjs";
|
|
16
|
+
import "./chunk-QXUST7PY-CY78Btj9.mjs";
|
|
17
|
+
import "./chunk-N4CR4FBY-CjlmnCPD.mjs";
|
|
18
|
+
import "./chunk-FMBD7UC4-CQf-nVrj.mjs";
|
|
19
|
+
import "./chunk-55IACEB6-DrIttNoL.mjs";
|
|
20
|
+
import "./chunk-QN33PNHL-nN1zLFSf.mjs";
|
|
21
|
+
import { i as styles_default, n as classDiagram_default, r as classRenderer_v3_unified_default, t as ClassDB } from "./chunk-B4BG7PRW-DElmmAse.mjs";
|
|
22
|
+
var diagram = {
|
|
23
|
+
parser: classDiagram_default,
|
|
24
|
+
get db() {
|
|
25
|
+
return new ClassDB();
|
|
26
|
+
},
|
|
27
|
+
renderer: classRenderer_v3_unified_default,
|
|
28
|
+
styles: styles_default,
|
|
29
|
+
init: /* @__PURE__ */ __name((e) => {
|
|
30
|
+
e.class ||= {}, e.class.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
|
|
31
|
+
}, "init")
|
|
32
|
+
};
|
|
33
|
+
export { diagram };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*! Package version @n8n/chat@0.62.0 */
|
|
2
|
+
import "./isArrayLikeObject-BPcFdnyK.mjs";
|
|
3
|
+
import "./chunk-S3R3BYOJ-BhFsv0Go.mjs";
|
|
4
|
+
import { h as __name } from "./src-DdwtiGjk.mjs";
|
|
5
|
+
import "./chunk-ABZYJK2D-_NXv778f.mjs";
|
|
6
|
+
import "./path-BcDHwjEr.mjs";
|
|
7
|
+
import "./math-Byg0NvhS.mjs";
|
|
8
|
+
import "./array-B5w981Vk.mjs";
|
|
9
|
+
import "./line-BJxACIPZ.mjs";
|
|
10
|
+
import "./chunk-HN2XXSSU-DMfVdeUE.mjs";
|
|
11
|
+
import "./chunk-CVBHYZKI-kPsSw5G9.mjs";
|
|
12
|
+
import "./chunk-ATLVNIR6-CBnG7Ev9.mjs";
|
|
13
|
+
import "./dist-BT0fjU7K.mjs";
|
|
14
|
+
import "./chunk-JA3XYJ7Z-b0Li4NN8.mjs";
|
|
15
|
+
import "./chunk-JZLCHNYA-C_4MLySW.mjs";
|
|
16
|
+
import "./chunk-QXUST7PY-CY78Btj9.mjs";
|
|
17
|
+
import "./chunk-N4CR4FBY-CjlmnCPD.mjs";
|
|
18
|
+
import "./chunk-FMBD7UC4-CQf-nVrj.mjs";
|
|
19
|
+
import "./chunk-55IACEB6-DrIttNoL.mjs";
|
|
20
|
+
import "./chunk-QN33PNHL-nN1zLFSf.mjs";
|
|
21
|
+
import { i as styles_default, n as classDiagram_default, r as classRenderer_v3_unified_default, t as ClassDB } from "./chunk-B4BG7PRW-DElmmAse.mjs";
|
|
22
|
+
var diagram = {
|
|
23
|
+
parser: classDiagram_default,
|
|
24
|
+
get db() {
|
|
25
|
+
return new ClassDB();
|
|
26
|
+
},
|
|
27
|
+
renderer: classRenderer_v3_unified_default,
|
|
28
|
+
styles: styles_default,
|
|
29
|
+
init: /* @__PURE__ */ __name((e) => {
|
|
30
|
+
e.class ||= {}, e.class.arrowMarkerAbsolute = e.arrowMarkerAbsolute;
|
|
31
|
+
}, "init")
|
|
32
|
+
};
|
|
33
|
+
export { diagram };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/*! Package version @n8n/chat@0.62.0 */
|
|
2
|
+
import { d as _baseClone_default } from "./_baseUniq-Agc10qFQ.mjs";
|
|
3
|
+
var CLONE_SYMBOLS_FLAG = 4;
|
|
4
|
+
function clone(r) {
|
|
5
|
+
return _baseClone_default(r, CLONE_SYMBOLS_FLAG);
|
|
6
|
+
}
|
|
7
|
+
var clone_default = clone;
|
|
8
|
+
export { clone_default as t };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLButtonElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
file: File;
|
|
3
|
+
isRemovable: boolean;
|
|
4
|
+
isPreviewable?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
remove: (value: File) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onRemove?: ((value: File) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export interface ChatInputProps {
|
|
2
|
+
placeholder?: string;
|
|
3
|
+
}
|
|
4
|
+
export interface ArrowKeyDownPayload {
|
|
5
|
+
key: 'ArrowUp' | 'ArrowDown';
|
|
6
|
+
currentInputValue: string;
|
|
7
|
+
}
|
|
8
|
+
export interface EscapeKeyDownPayload {
|
|
9
|
+
currentInputValue: string;
|
|
10
|
+
}
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
leftPanel?(_: {}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {
|
|
17
|
+
chatTextArea: HTMLTextAreaElement;
|
|
18
|
+
};
|
|
19
|
+
rootEl: HTMLDivElement;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<ChatInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
arrowKeyDown: (value: ArrowKeyDownPayload) => any;
|
|
24
|
+
escapeKeyDown: (value: EscapeKeyDownPayload) => any;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<ChatInputProps> & Readonly<{
|
|
26
|
+
onArrowKeyDown?: ((value: ArrowKeyDownPayload) => any) | undefined;
|
|
27
|
+
onEscapeKeyDown?: ((value: EscapeKeyDownPayload) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
placeholder: string;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
31
|
+
chatTextArea: HTMLTextAreaElement;
|
|
32
|
+
}, HTMLDivElement>;
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
header?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
footer?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {
|
|
9
|
+
chatBodyRef: HTMLDivElement;
|
|
10
|
+
};
|
|
11
|
+
rootEl: HTMLElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
15
|
+
chatBodyRef: HTMLDivElement;
|
|
16
|
+
}, HTMLElement>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ChatMessage } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
message: ChatMessage;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: Readonly<{
|
|
8
|
+
beforeMessage(props: {
|
|
9
|
+
message: ChatMessage;
|
|
10
|
+
}): ChatMessage;
|
|
11
|
+
default: {
|
|
12
|
+
message: ChatMessage;
|
|
13
|
+
};
|
|
14
|
+
}> & {
|
|
15
|
+
beforeMessage(props: {
|
|
16
|
+
message: ChatMessage;
|
|
17
|
+
}): ChatMessage;
|
|
18
|
+
default: {
|
|
19
|
+
message: ChatMessage;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
refs: {
|
|
23
|
+
messageContainer: HTMLDivElement;
|
|
24
|
+
};
|
|
25
|
+
rootEl: HTMLDivElement;
|
|
26
|
+
};
|
|
27
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
28
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
29
|
+
scrollToView: () => void;
|
|
30
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
31
|
+
messageContainer: HTMLDivElement;
|
|
32
|
+
}, HTMLDivElement>;
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ChatMessage } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
animation?: 'bouncing' | 'scaling';
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
animation: "bouncing" | "scaling";
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
8
|
+
messageContainer: ({
|
|
9
|
+
$: import('vue').ComponentInternalInstance;
|
|
10
|
+
$data: {};
|
|
11
|
+
$props: {
|
|
12
|
+
readonly message: ChatMessage;
|
|
13
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
14
|
+
$attrs: {
|
|
15
|
+
[x: string]: unknown;
|
|
16
|
+
};
|
|
17
|
+
$refs: {
|
|
18
|
+
[x: string]: unknown;
|
|
19
|
+
} & {
|
|
20
|
+
messageContainer: HTMLDivElement;
|
|
21
|
+
};
|
|
22
|
+
$slots: Readonly<{
|
|
23
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
24
|
+
}>;
|
|
25
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
26
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
27
|
+
$host: Element | null;
|
|
28
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
29
|
+
$el: HTMLDivElement;
|
|
30
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
31
|
+
message: ChatMessage;
|
|
32
|
+
}> & Readonly<{}>, {
|
|
33
|
+
scrollToView: () => void;
|
|
34
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
35
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
36
|
+
created?: (() => void) | (() => void)[];
|
|
37
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
38
|
+
mounted?: (() => void) | (() => void)[];
|
|
39
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
40
|
+
updated?: (() => void) | (() => void)[];
|
|
41
|
+
activated?: (() => void) | (() => void)[];
|
|
42
|
+
deactivated?: (() => void) | (() => void)[];
|
|
43
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
44
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
45
|
+
destroyed?: (() => void) | (() => void)[];
|
|
46
|
+
unmounted?: (() => void) | (() => void)[];
|
|
47
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
48
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
49
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
50
|
+
};
|
|
51
|
+
$forceUpdate: () => void;
|
|
52
|
+
$nextTick: typeof import('vue').nextTick;
|
|
53
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
54
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
55
|
+
message: ChatMessage;
|
|
56
|
+
}> & Readonly<{}>, "scrollToView"> & import('vue').ShallowUnwrapRef<{
|
|
57
|
+
scrollToView: () => void;
|
|
58
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
59
|
+
$slots: Readonly<{
|
|
60
|
+
beforeMessage(props: {
|
|
61
|
+
message: ChatMessage;
|
|
62
|
+
}): ChatMessage;
|
|
63
|
+
default: {
|
|
64
|
+
message: ChatMessage;
|
|
65
|
+
};
|
|
66
|
+
}> & {
|
|
67
|
+
beforeMessage(props: {
|
|
68
|
+
message: ChatMessage;
|
|
69
|
+
}): ChatMessage;
|
|
70
|
+
default: {
|
|
71
|
+
message: ChatMessage;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
}) | null;
|
|
75
|
+
}, HTMLDivElement>;
|
|
76
|
+
export default _default;
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { ChatMessage } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
messages: ChatMessage[];
|
|
4
|
+
emptyText?: string;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: Readonly<{
|
|
9
|
+
beforeMessage(props: {
|
|
10
|
+
message: ChatMessage;
|
|
11
|
+
}): ChatMessage;
|
|
12
|
+
}> & {
|
|
13
|
+
beforeMessage(props: {
|
|
14
|
+
message: ChatMessage;
|
|
15
|
+
}): ChatMessage;
|
|
16
|
+
};
|
|
17
|
+
refs: {
|
|
18
|
+
messageComponents: (({
|
|
19
|
+
$: import('vue').ComponentInternalInstance;
|
|
20
|
+
$data: {};
|
|
21
|
+
$props: {
|
|
22
|
+
readonly message: ChatMessage;
|
|
23
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
24
|
+
$attrs: {
|
|
25
|
+
[x: string]: unknown;
|
|
26
|
+
};
|
|
27
|
+
$refs: {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
} & {
|
|
30
|
+
messageContainer: HTMLDivElement;
|
|
31
|
+
};
|
|
32
|
+
$slots: Readonly<{
|
|
33
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
34
|
+
}>;
|
|
35
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
36
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
37
|
+
$host: Element | null;
|
|
38
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
39
|
+
$el: HTMLDivElement;
|
|
40
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
41
|
+
message: ChatMessage;
|
|
42
|
+
}> & Readonly<{}>, {
|
|
43
|
+
scrollToView: () => void;
|
|
44
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
45
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
46
|
+
created?: (() => void) | (() => void)[];
|
|
47
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
48
|
+
mounted?: (() => void) | (() => void)[];
|
|
49
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
50
|
+
updated?: (() => void) | (() => void)[];
|
|
51
|
+
activated?: (() => void) | (() => void)[];
|
|
52
|
+
deactivated?: (() => void) | (() => void)[];
|
|
53
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
54
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
55
|
+
destroyed?: (() => void) | (() => void)[];
|
|
56
|
+
unmounted?: (() => void) | (() => void)[];
|
|
57
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
58
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
59
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
60
|
+
};
|
|
61
|
+
$forceUpdate: () => void;
|
|
62
|
+
$nextTick: typeof import('vue').nextTick;
|
|
63
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
64
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
65
|
+
message: ChatMessage;
|
|
66
|
+
}> & Readonly<{}>, "scrollToView"> & import('vue').ShallowUnwrapRef<{
|
|
67
|
+
scrollToView: () => void;
|
|
68
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
69
|
+
$slots: Readonly<{
|
|
70
|
+
beforeMessage(props: {
|
|
71
|
+
message: ChatMessage;
|
|
72
|
+
}): ChatMessage;
|
|
73
|
+
default: {
|
|
74
|
+
message: ChatMessage;
|
|
75
|
+
};
|
|
76
|
+
}> & {
|
|
77
|
+
beforeMessage(props: {
|
|
78
|
+
message: ChatMessage;
|
|
79
|
+
}): ChatMessage;
|
|
80
|
+
default: {
|
|
81
|
+
message: ChatMessage;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}) | null)[];
|
|
85
|
+
};
|
|
86
|
+
rootEl: any;
|
|
87
|
+
};
|
|
88
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
89
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
90
|
+
messageComponents: (({
|
|
91
|
+
$: import('vue').ComponentInternalInstance;
|
|
92
|
+
$data: {};
|
|
93
|
+
$props: {
|
|
94
|
+
readonly message: ChatMessage;
|
|
95
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
96
|
+
$attrs: {
|
|
97
|
+
[x: string]: unknown;
|
|
98
|
+
};
|
|
99
|
+
$refs: {
|
|
100
|
+
[x: string]: unknown;
|
|
101
|
+
} & {
|
|
102
|
+
messageContainer: HTMLDivElement;
|
|
103
|
+
};
|
|
104
|
+
$slots: Readonly<{
|
|
105
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
106
|
+
}>;
|
|
107
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
108
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
109
|
+
$host: Element | null;
|
|
110
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
111
|
+
$el: HTMLDivElement;
|
|
112
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
113
|
+
message: ChatMessage;
|
|
114
|
+
}> & Readonly<{}>, {
|
|
115
|
+
scrollToView: () => void;
|
|
116
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
117
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
118
|
+
created?: (() => void) | (() => void)[];
|
|
119
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
120
|
+
mounted?: (() => void) | (() => void)[];
|
|
121
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
122
|
+
updated?: (() => void) | (() => void)[];
|
|
123
|
+
activated?: (() => void) | (() => void)[];
|
|
124
|
+
deactivated?: (() => void) | (() => void)[];
|
|
125
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
126
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
127
|
+
destroyed?: (() => void) | (() => void)[];
|
|
128
|
+
unmounted?: (() => void) | (() => void)[];
|
|
129
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
130
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
131
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
132
|
+
};
|
|
133
|
+
$forceUpdate: () => void;
|
|
134
|
+
$nextTick: typeof import('vue').nextTick;
|
|
135
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
136
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
137
|
+
message: ChatMessage;
|
|
138
|
+
}> & Readonly<{}>, "scrollToView"> & import('vue').ShallowUnwrapRef<{
|
|
139
|
+
scrollToView: () => void;
|
|
140
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
141
|
+
$slots: Readonly<{
|
|
142
|
+
beforeMessage(props: {
|
|
143
|
+
message: ChatMessage;
|
|
144
|
+
}): ChatMessage;
|
|
145
|
+
default: {
|
|
146
|
+
message: ChatMessage;
|
|
147
|
+
};
|
|
148
|
+
}> & {
|
|
149
|
+
beforeMessage(props: {
|
|
150
|
+
message: ChatMessage;
|
|
151
|
+
}): ChatMessage;
|
|
152
|
+
default: {
|
|
153
|
+
message: ChatMessage;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
}) | null)[];
|
|
157
|
+
}, any>;
|
|
158
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
159
|
+
export default _default;
|
|
160
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
161
|
+
new (): {
|
|
162
|
+
$slots: S;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { default as Button } from './Button.vue';
|
|
2
|
+
export { default as Chat } from './Chat.vue';
|
|
3
|
+
export { default as ChatWindow } from './ChatWindow.vue';
|
|
4
|
+
export { default as GetStarted } from './GetStarted.vue';
|
|
5
|
+
export { default as GetStartedFooter } from './GetStartedFooter.vue';
|
|
6
|
+
export { default as Input } from './Input.vue';
|
|
7
|
+
export { default as Layout } from './Layout.vue';
|
|
8
|
+
export { default as Message } from './Message.vue';
|
|
9
|
+
export { default as MessagesList } from './MessagesList.vue';
|
|
10
|
+
export { default as PoweredBy } from './PoweredBy.vue';
|