chatnext-assistant 0.20.11
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 +7 -0
- package/dist/attach.js +11 -0
- package/dist/chatNextLogo.svg +8 -0
- package/dist/example/index.html +11 -0
- package/dist/fontawesome-webfont.eot +0 -0
- package/dist/fontawesome-webfont.svg +2671 -0
- package/dist/fontawesome-webfont.ttf +0 -0
- package/dist/fontawesome-webfont.woff +0 -0
- package/dist/fontawesome-webfont.woff2 +0 -0
- package/dist/index.css +4 -0
- package/dist/index.html +127 -0
- package/dist/index.js +3687 -0
- package/package.json +1 -0
package/README.md
ADDED
package/dist/attach.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import './index.js';
|
|
2
|
+
|
|
3
|
+
// chat only - used for link trigger
|
|
4
|
+
// const publicChatnextAssistantChats = document.createElement('chatnext-chat-app')
|
|
5
|
+
// publicChatnextAssistantChats.trigger = 'public'
|
|
6
|
+
// document.body.appendChild(publicChatnextAssistantChats)
|
|
7
|
+
|
|
8
|
+
// complete public app
|
|
9
|
+
const publicChatnextAssistant = document.createElement('chatnext-app');
|
|
10
|
+
publicChatnextAssistant.type = 'public';
|
|
11
|
+
document.body.appendChild(publicChatnextAssistant);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg width="32" height="28" viewBox="0 0 32 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M19.3333 2H14C7.37258 2 2 7.37258 2 14V14C2 20.6274 7.39979 26 14.0272 26V26H19.3333" stroke="white" stroke-width="3" stroke-linecap="round"/>
|
|
3
|
+
<rect x="8.83334" y="8.16669" width="21.6667" height="11.6667" rx="5.83333" fill="#0038FF" stroke="white" stroke-width="3"/>
|
|
4
|
+
<path d="M22 20.0637V18.1667C22 18.0746 22.0746 18 22.1667 18H25.9607C26.1365 18 26.1925 18.2371 26.0352 18.3157L22.2412 20.2127C22.1304 20.2681 22 20.1876 22 20.0637Z" fill="#0038FF"/>
|
|
5
|
+
<circle cx="16" cy="14" r="2" fill="white"/>
|
|
6
|
+
<circle cx="23.3333" cy="14" r="2" fill="white"/>
|
|
7
|
+
</svg>
|
|
8
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- <script type="module" src="../attach.js"></script> -->
|
|
2
|
+
<!-- <link rel="stylesheet" href="../index.css"/> -->
|
|
3
|
+
<script src="http://localhost:8000/cn-asset/chatnext/attach.js"></script>
|
|
4
|
+
<link
|
|
5
|
+
href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
|
|
6
|
+
rel="stylesheet"
|
|
7
|
+
/>
|
|
8
|
+
<link
|
|
9
|
+
href="https://cdn.form.io/formiojs/formio.full.min.css"
|
|
10
|
+
rel="stylesheet"
|
|
11
|
+
/>
|
|
Binary file
|