@qualityunit/liveagent-help 0.0.7 → 0.0.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.
Files changed (2) hide show
  1. package/dist/index.html +24 -10
  2. package/package.json +1 -1
package/dist/index.html CHANGED
@@ -1,13 +1,27 @@
1
1
  <!doctype html>
2
2
  <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title>Vite + Svelte</title>
7
- <script type="module" crossorigin src="/assets/index.js"></script>
8
- <link rel="stylesheet" crossorigin href="/assets/index.css">
9
- </head>
10
- <body>
11
- <help-center></help-center>
12
- </body>
3
+ <head>
4
+ <meta charset="UTF-8"/>
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
6
+ <title>Help-Center</title>
7
+ <script type="module" crossorigin src="/assets/index.js"></script>
8
+ <link rel="stylesheet" crossorigin href="/assets/index.css">
9
+ </head>
10
+ <body>
11
+ <script type="text/javascript">
12
+ const helpCenter = document.createElement('help-center');
13
+ helpCenter.options = {
14
+ basePath: 'https://hosted.la.localhost/LiveAgent/server',
15
+ localeOptions: {
16
+ thousandsSeparator: 'S',
17
+ decimalSeparator: 'D',
18
+ dateFormat: 'MM/d/yyyy',
19
+ timeFormat: 'HH:mm:ss',
20
+ timeShortFormat: 'HH:mm',
21
+ locale: 'sk'
22
+ }
23
+ };
24
+ document.body.appendChild(helpCenter);
25
+ </script>
26
+ </body>
13
27
  </html>
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Help component for LiveAgent",
4
4
  "author": "QualityUnit",
5
5
  "private": false,
6
- "version": "0.0.7",
6
+ "version": "0.0.8",
7
7
  "type": "module",
8
8
  "module": "./dist/assets/index.js",
9
9
  "scripts": {