@eka-care/medassist-widget-embed 0.0.3 → 0.0.6
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/iframe-helper.d.ts +11 -0
- package/dist/iframe-helper.d.ts.map +1 -0
- package/dist/iframe-helper.js +96 -0
- package/dist/iframe.d.ts +1 -0
- package/dist/iframe.d.ts.map +1 -0
- package/dist/iframe.html +37 -0
- package/dist/iframe.js +152 -0
- package/dist/src/medassist-widget.css +1 -1
- package/dist/src/medassist-widget.js +34 -38
- package/dist/src/medassist-widget.js.map +1 -1
- package/iframe-helper.ts +123 -0
- package/iframe.html +37 -0
- package/iframe.ts +192 -0
- package/package.json +5 -2
- package/src/medassist-widget.css +1 -1
- package/src/medassist-widget.js +34 -38
- package/src/medassist-widget.js.map +1 -1
- package/test.html +12 -3
package/test.html
CHANGED
|
@@ -1,16 +1,25 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html>
|
|
3
3
|
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
4
6
|
<title>Host Website</title>
|
|
5
7
|
</head>
|
|
6
8
|
<body>
|
|
7
9
|
<h1>Welcome to our site!</h1>
|
|
8
10
|
<p>This page loads fast because the chatbot widget is lazy-loaded.</p>
|
|
9
11
|
|
|
10
|
-
<eka-medassist-widget
|
|
11
|
-
agent-id="
|
|
12
|
-
icon-url="
|
|
12
|
+
<!-- <eka-medassist-widget
|
|
13
|
+
agent-id="MWZlZDRkYzktMTBmMS00OTFkLWEzNDMtZGM3MzIzZDM5N2VmI21vb2xjaGFuZA=="
|
|
14
|
+
icon-url="https://www.clipartmax.com/png/middle/173-1732388_meera-kuckreja-moolchand-hospital-logo.png" //add your own icon url here
|
|
15
|
+
title="Moolchand Assist"></eka-medassist-widget> -->
|
|
13
16
|
|
|
17
|
+
<eka-medassist-widget
|
|
18
|
+
title="Self Care Assistant"
|
|
19
|
+
agent-id="Y2ZhY2EyYzItOWVmNi00YTg0LTg3MDctZjNiYjIyNDI3ODE5I3Rlc3QtYi1pZA=="
|
|
20
|
+
icon-url="https://cdn.eka.care/bot-icon.svg"
|
|
21
|
+
environment="development"
|
|
22
|
+
></eka-medassist-widget>
|
|
14
23
|
<!-- <script
|
|
15
24
|
src="https://unpkg.com/@eka-care/medassist-widget-embed@latest/dist/index.js"
|
|
16
25
|
async></script> -->
|