@botfabrik/engine-webclient 4.26.5 → 4.26.7
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/dist/views/index.js
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const index = (server, scriptUrl) => `<!DOCTYPE html>
|
|
4
|
-
<html lang="
|
|
4
|
+
<html lang="de">
|
|
5
5
|
<head>
|
|
6
6
|
<meta charset="UTF-8" />
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
8
8
|
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
|
9
|
-
|
|
10
|
-
<
|
|
9
|
+
|
|
10
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
11
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
12
|
+
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;600&display=swap" rel="stylesheet">
|
|
13
|
+
|
|
14
|
+
<title>Bubble Chat: Webclient für Ihren Chatbot</title>
|
|
11
15
|
<style>
|
|
12
16
|
html {
|
|
13
|
-
font-family: '
|
|
17
|
+
font-family: 'Poppins', sans-serif;
|
|
14
18
|
height: 100%;
|
|
15
19
|
}
|
|
16
20
|
body {
|
|
@@ -21,7 +25,7 @@ const index = (server, scriptUrl) => `<!DOCTYPE html>
|
|
|
21
25
|
}
|
|
22
26
|
header {
|
|
23
27
|
color: white;
|
|
24
|
-
background
|
|
28
|
+
background: linear-gradient(216deg,#eb2f96,#2f55eb 80%,#2f55eb);
|
|
25
29
|
padding: 3em 0;
|
|
26
30
|
}
|
|
27
31
|
main {
|
|
@@ -30,11 +34,17 @@ const index = (server, scriptUrl) => `<!DOCTYPE html>
|
|
|
30
34
|
padding: 4em 0;
|
|
31
35
|
min-width: 0; // needed for overflow on pre to work
|
|
32
36
|
}
|
|
37
|
+
header h1 {
|
|
38
|
+
margin: 0
|
|
39
|
+
}
|
|
40
|
+
header h2 {
|
|
41
|
+
margin: 0
|
|
42
|
+
}
|
|
33
43
|
a.button {
|
|
34
44
|
display: inline-block;
|
|
35
45
|
font-weight: bold;
|
|
36
|
-
color: #
|
|
37
|
-
border: 2px solid #
|
|
46
|
+
color: #2f55eb;
|
|
47
|
+
border: 2px solid #2f55eb;
|
|
38
48
|
border-radius: 0.4em;
|
|
39
49
|
padding: 0.8em 1.6em;
|
|
40
50
|
margin: 1em 1em 0 0;
|
|
@@ -53,21 +63,26 @@ const index = (server, scriptUrl) => `<!DOCTYPE html>
|
|
|
53
63
|
margin-right: auto;
|
|
54
64
|
padding: 1.5em;
|
|
55
65
|
}
|
|
66
|
+
.container h3 {
|
|
67
|
+
margin-top: 2rem;
|
|
68
|
+
}
|
|
56
69
|
</style>
|
|
57
70
|
</head>
|
|
58
71
|
<body>
|
|
59
72
|
<header>
|
|
60
73
|
<div class="container">
|
|
61
|
-
<
|
|
74
|
+
<h2>Bubble Chat</h2>
|
|
75
|
+
<h1>Webclient für Ihren Chatbot</h1>
|
|
62
76
|
</div>
|
|
63
77
|
</header>
|
|
64
78
|
<main>
|
|
65
79
|
<section id="snippet-area" style="flex: 1 1 auto;">
|
|
66
80
|
<div class="container">
|
|
67
81
|
<h2>Chatbot einbinden</h2>
|
|
82
|
+
|
|
68
83
|
<h3>Snippet</h3>
|
|
69
84
|
<p>
|
|
70
|
-
Der Chatbot kann mit dem folgenden Snippet eingebettet werden. Am besten wird das Snippet zu
|
|
85
|
+
Der Chatbot kann mit dem folgenden Snippet auf Ihrer Webseite eingebettet werden. Am besten wird das Snippet zu
|
|
71
86
|
unterst im Body hinzugefügt.
|
|
72
87
|
</p>
|
|
73
88
|
<pre><code><script id="chatbot" data-server="${server}" defer src="${scriptUrl}"></script></code></pre>
|
|
@@ -88,6 +103,7 @@ const index = (server, scriptUrl) => `<!DOCTYPE html>
|
|
|
88
103
|
>
|
|
89
104
|
</div>
|
|
90
105
|
</section>
|
|
106
|
+
|
|
91
107
|
<section>
|
|
92
108
|
<div class="container">
|
|
93
109
|
<a class="button" href="${server}">Vollbild Chatbot</a>
|
package/dist/views/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/views/index.ts"],"names":[],"mappings":";;AAAA,MAAM,KAAK,GAAG,CAAC,MAAc,EAAE,SAAiB,EAAU,EAAE,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/views/index.ts"],"names":[],"mappings":";;AAAA,MAAM,KAAK,GAAG,CAAC,MAAc,EAAE,SAAiB,EAAU,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qFAqFwB,MAAM,0BAA0B,SAAS;;;;;;;;;;;;;oIAaM,SAAS;;;;;;;;8CAQ/F,MAAM;;;;4CAIR,MAAM,gBAAgB,SAAS;;;CAG1E,CAAC;AACF,kBAAe,KAAK,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botfabrik/engine-webclient",
|
|
3
|
-
"version": "4.26.
|
|
3
|
+
"version": "4.26.7",
|
|
4
4
|
"description": "Webclient for Botfabriks Bot Engine",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"socket.io": "4.2.0",
|
|
39
39
|
"uuid": "^8.3.2"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "2a7828d1362e585080c4ecefe780a06bab9fd882"
|
|
42
42
|
}
|