@botpress/webchat 1.3.7 → 1.3.8
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/.turbo/turbo-build.log +7 -7
- package/dist/{index-5666ba1d.js → index-8e9a70c6.js} +54 -49
- package/dist/{index-ebf49348.js → index-de8cc2d3.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +19 -19
- package/dist/schemas/init.d.ts +76 -0
- package/dist/schemas/theme.d.ts +34 -0
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @botpress/webchat@1.3.
|
|
2
|
+
> @botpress/webchat@1.3.8 build /home/runner/work/echo/echo/packages/webchat-frontend
|
|
3
3
|
> vite build
|
|
4
4
|
|
|
5
5
|
[36mvite v4.4.11 [32mbuilding for production...[36m[39m
|
|
@@ -16,10 +16,10 @@ rendering chunks...
|
|
|
16
16
|
[32m
|
|
17
17
|
[36m[vite:dts][32m Start generate declaration files...[39m
|
|
18
18
|
computing gzip size...
|
|
19
|
-
[32m[36m[vite:dts][32m Declaration files built in 13327ms.
|
|
20
|
-
[39m
|
|
21
19
|
[2mdist/[22m[36mindex.js [39m[1m[2m 1.09 kB[22m[1m[22m[2m │ gzip: 0.52 kB[22m
|
|
22
|
-
[2mdist/[22m[36mindex-
|
|
23
|
-
[2mdist/[22m[36mindex-
|
|
24
|
-
[
|
|
25
|
-
[
|
|
20
|
+
[2mdist/[22m[36mindex-de8cc2d3.js [39m[1m[2m 118.52 kB[22m[1m[22m[2m │ gzip: 31.78 kB[22m
|
|
21
|
+
[2mdist/[22m[36mindex-8e9a70c6.js [39m[1m[33m1,297.30 kB[39m[22m[2m │ gzip: 318.23 kB[22m
|
|
22
|
+
[32m[36m[vite:dts][32m Declaration files built in 14257ms.
|
|
23
|
+
[39m
|
|
24
|
+
[2mdist/[22m[36mindex.umd.cjs [39m[1m[33m987.65 kB[39m[22m[2m │ gzip: 291.31 kB[22m
|
|
25
|
+
[32m✓ built in 23.50s[39m
|
|
@@ -22705,7 +22705,7 @@ w(kE, "hasDefinitions");
|
|
|
22705
22705
|
async function TE(e, { cwd: t, $refOptions: n }) {
|
|
22706
22706
|
if (xn("green", "dereferencer", "Dereferencing input schema:", t, e), typeof process > "u")
|
|
22707
22707
|
throw new Error("process is not defined");
|
|
22708
|
-
const r = await import("./index-
|
|
22708
|
+
const r = await import("./index-de8cc2d3.js").then((s) => s.i), i = new r.$RefParser(), a = /* @__PURE__ */ new WeakMap(), o = await i.dereference(t, e, K(R({}, n), {
|
|
22709
22709
|
dereference: K(R({}, n.dereference), {
|
|
22710
22710
|
onDereference(s, l) {
|
|
22711
22711
|
a.set(l, s);
|
|
@@ -39390,7 +39390,7 @@ const bue = hue, wue = gue, xue = yue, _ue = (e) => /* @__PURE__ */ A.createElem
|
|
|
39390
39390
|
Actions: Rue,
|
|
39391
39391
|
DescriptionItem: Pue
|
|
39392
39392
|
}), Iue = () => {
|
|
39393
|
-
var i, a, o, s, l, c, u, d, p, f, h, m, y, g, v, b, T;
|
|
39393
|
+
var i, a, o, s, l, c, u, d, p, f, h, m, y, g, v, b, T, O, S;
|
|
39394
39394
|
const {
|
|
39395
39395
|
configuration: e,
|
|
39396
39396
|
closeWindow: t,
|
|
@@ -39400,59 +39400,63 @@ const bue = hue, wue = gue, xue = yue, _ue = (e) => /* @__PURE__ */ A.createElem
|
|
|
39400
39400
|
/* @__PURE__ */ U.jsxs(Gn.Content, { children: [
|
|
39401
39401
|
/* @__PURE__ */ U.jsx(Gn.Avatar, { src: e.botAvatar, children: e.botName || "Bot" }),
|
|
39402
39402
|
/* @__PURE__ */ U.jsx(Gn.Title, { children: e.botName || "Bot" }),
|
|
39403
|
-
/* @__PURE__ */ U.jsx(Gn.Description, { children: e.botDescription }),
|
|
39403
|
+
e.botDescription && /* @__PURE__ */ U.jsx(Gn.Description, { children: e.botDescription }),
|
|
39404
39404
|
/* @__PURE__ */ U.jsxs(Gn.Actions, { children: [
|
|
39405
39405
|
/* @__PURE__ */ U.jsx(Sue, {}),
|
|
39406
39406
|
t && /* @__PURE__ */ U.jsx(Eue, {})
|
|
39407
39407
|
] })
|
|
39408
39408
|
] }),
|
|
39409
39409
|
/* @__PURE__ */ U.jsxs(Gn.ExpandedContent, { children: [
|
|
39410
|
-
/* @__PURE__ */ U.
|
|
39411
|
-
|
|
39412
|
-
|
|
39413
|
-
|
|
39414
|
-
|
|
39415
|
-
|
|
39416
|
-
|
|
39417
|
-
|
|
39418
|
-
|
|
39419
|
-
|
|
39420
|
-
|
|
39421
|
-
|
|
39422
|
-
|
|
39423
|
-
|
|
39424
|
-
|
|
39425
|
-
|
|
39426
|
-
|
|
39427
|
-
|
|
39428
|
-
|
|
39429
|
-
|
|
39430
|
-
|
|
39431
|
-
|
|
39432
|
-
|
|
39433
|
-
|
|
39434
|
-
|
|
39435
|
-
|
|
39436
|
-
|
|
39437
|
-
|
|
39438
|
-
|
|
39439
|
-
|
|
39440
|
-
|
|
39441
|
-
|
|
39442
|
-
|
|
39443
|
-
|
|
39444
|
-
|
|
39445
|
-
|
|
39446
|
-
|
|
39447
|
-
|
|
39448
|
-
|
|
39449
|
-
|
|
39450
|
-
|
|
39451
|
-
|
|
39452
|
-
|
|
39453
|
-
|
|
39454
|
-
|
|
39455
|
-
|
|
39410
|
+
/* @__PURE__ */ U.jsxs("div", { "data-links": "", ...(c = n == null ? void 0 : n.expandedContent) == null ? void 0 : c.group, children: [
|
|
39411
|
+
/* @__PURE__ */ U.jsx(
|
|
39412
|
+
Gn.DescriptionItem,
|
|
39413
|
+
{
|
|
39414
|
+
"data-email": "",
|
|
39415
|
+
icon: XL,
|
|
39416
|
+
title: (u = e.email) == null ? void 0 : u.title,
|
|
39417
|
+
link: (d = e.email) == null ? void 0 : d.link
|
|
39418
|
+
}
|
|
39419
|
+
),
|
|
39420
|
+
/* @__PURE__ */ U.jsx(
|
|
39421
|
+
Gn.DescriptionItem,
|
|
39422
|
+
{
|
|
39423
|
+
"data-phone": "",
|
|
39424
|
+
icon: sj,
|
|
39425
|
+
title: (p = e.phone) == null ? void 0 : p.title,
|
|
39426
|
+
link: (f = e.phone) == null ? void 0 : f.link
|
|
39427
|
+
}
|
|
39428
|
+
),
|
|
39429
|
+
/* @__PURE__ */ U.jsx(
|
|
39430
|
+
Gn.DescriptionItem,
|
|
39431
|
+
{
|
|
39432
|
+
"data-website": "",
|
|
39433
|
+
link: (h = e.website) == null ? void 0 : h.link,
|
|
39434
|
+
icon: tj,
|
|
39435
|
+
title: (m = e.website) == null ? void 0 : m.title
|
|
39436
|
+
}
|
|
39437
|
+
)
|
|
39438
|
+
] }),
|
|
39439
|
+
/* @__PURE__ */ U.jsxs("div", { "data-legal": "", ...(y = n == null ? void 0 : n.expandedContent) == null ? void 0 : y.group, children: [
|
|
39440
|
+
/* @__PURE__ */ U.jsx(
|
|
39441
|
+
Gn.DescriptionItem,
|
|
39442
|
+
{
|
|
39443
|
+
"data-terms": "",
|
|
39444
|
+
link: (g = e.termsOfService) == null ? void 0 : g.link,
|
|
39445
|
+
icon: GL,
|
|
39446
|
+
title: (v = e.termsOfService) == null ? void 0 : v.title
|
|
39447
|
+
}
|
|
39448
|
+
),
|
|
39449
|
+
/* @__PURE__ */ U.jsx(
|
|
39450
|
+
Gn.DescriptionItem,
|
|
39451
|
+
{
|
|
39452
|
+
"data-privacy": "",
|
|
39453
|
+
link: (b = e.privacyPolicy) == null ? void 0 : b.link,
|
|
39454
|
+
icon: ij,
|
|
39455
|
+
title: (T = e.privacyPolicy) == null ? void 0 : T.title
|
|
39456
|
+
}
|
|
39457
|
+
)
|
|
39458
|
+
] }),
|
|
39459
|
+
/* @__PURE__ */ U.jsx("div", { ...(S = (O = n == null ? void 0 : n.expandedContent) == null ? void 0 : O.descriptionItems) == null ? void 0 : S.poweredBy, children: "⚡ by Botpress" })
|
|
39456
39460
|
] })
|
|
39457
39461
|
] });
|
|
39458
39462
|
}, gfe = Gn, Mue = Bo(({ ...e }) => {
|
|
@@ -40590,6 +40594,7 @@ const C0 = 10 * 1e3, pde = Bo(({ scrollDownButton: e, ...t }) => {
|
|
|
40590
40594
|
}),
|
|
40591
40595
|
expandedContent: q.object({
|
|
40592
40596
|
container: xe.optional(),
|
|
40597
|
+
group: xe.optional(),
|
|
40593
40598
|
descriptionItems: q.object({
|
|
40594
40599
|
container: xe.optional(),
|
|
40595
40600
|
icon: xe.optional(),
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as t, B as r, C as m, f as c, e as i, h as n, F as h, H as p, i as S, L as d, M as l, j as C, k as u, m as P, R as b, W as g, n as v, v as M, w as f, D as k, E as y, p as W, s as x, o as B, b as H, G as I, q as L, l as R, y as T, t as w, x as A, d as F, u as j, z as q } from "./index-
|
|
1
|
+
import { A as t, B as r, C as m, f as c, e as i, h as n, F as h, H as p, i as S, L as d, M as l, j as C, k as u, m as P, R as b, W as g, n as v, v as M, w as f, D as k, E as y, p as W, s as x, o as B, b as H, G as I, q as L, l as R, y as T, t as w, x as A, d as F, u as j, z as q } from "./index-8e9a70c6.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
export {
|