ttp-agent-sdk 2.2.6 → 2.2.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/dist/agent-widget.js +1 -1
- package/dist/agent-widget.js.map +1 -1
- package/dist/examples/test-agent-app.html +47 -1
- package/dist/examples/test-signed-link.html +1 -1
- package/dist/examples/test-text-chat.html +935 -200
- package/dist/examples/translations.json +346 -0
- package/examples/test-agent-app.html +47 -1
- package/examples/test-signed-link.html +1 -1
- package/examples/test-text-chat.html +935 -200
- package/examples/translations.json +346 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
6
6
|
<title>Voice Agent Widget - Agent ID + App ID Test</title>
|
|
7
7
|
<style>
|
|
8
8
|
body {
|
|
@@ -244,6 +244,10 @@
|
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
@media (max-width: 768px) {
|
|
247
|
+
body {
|
|
248
|
+
font-size: 14px;
|
|
249
|
+
}
|
|
250
|
+
|
|
247
251
|
h1 {
|
|
248
252
|
font-size: 24px;
|
|
249
253
|
margin-top: 0;
|
|
@@ -265,6 +269,13 @@
|
|
|
265
269
|
.info ul, .config-info ul {
|
|
266
270
|
margin: 8px 0 0 16px;
|
|
267
271
|
padding-left: 16px;
|
|
272
|
+
line-height: 1.6;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.info ol {
|
|
276
|
+
margin: 8px 0 0 16px;
|
|
277
|
+
padding-left: 16px;
|
|
278
|
+
line-height: 1.6;
|
|
268
279
|
}
|
|
269
280
|
|
|
270
281
|
.status {
|
|
@@ -289,6 +300,7 @@
|
|
|
289
300
|
.tab {
|
|
290
301
|
padding: 10px 16px;
|
|
291
302
|
font-size: 13px;
|
|
303
|
+
min-height: 44px;
|
|
292
304
|
}
|
|
293
305
|
|
|
294
306
|
.controls-panel {
|
|
@@ -301,12 +313,46 @@
|
|
|
301
313
|
margin: 8px 0;
|
|
302
314
|
}
|
|
303
315
|
|
|
316
|
+
.control-row {
|
|
317
|
+
padding: 12px;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.control-row select,
|
|
321
|
+
.control-row input[type="text"],
|
|
322
|
+
.control-row input[type="color"] {
|
|
323
|
+
font-size: 16px; /* Prevents iOS zoom on focus */
|
|
324
|
+
min-height: 44px;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.control-row input[type="color"] {
|
|
328
|
+
min-width: 50px;
|
|
329
|
+
min-height: 50px;
|
|
330
|
+
width: 50px;
|
|
331
|
+
height: 50px;
|
|
332
|
+
}
|
|
333
|
+
|
|
304
334
|
#log {
|
|
305
335
|
font-size: 11px;
|
|
306
336
|
max-height: 200px;
|
|
307
337
|
padding: 12px;
|
|
308
338
|
}
|
|
309
339
|
}
|
|
340
|
+
|
|
341
|
+
@media (max-width: 480px) {
|
|
342
|
+
button {
|
|
343
|
+
width: 100%;
|
|
344
|
+
margin: 8px 0;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.tabs {
|
|
348
|
+
flex-direction: column;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.tab {
|
|
352
|
+
width: 100%;
|
|
353
|
+
text-align: left;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
310
356
|
</style>
|
|
311
357
|
</head>
|
|
312
358
|
<body>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
6
6
|
<title>Voice Agent Widget - Signed Link Test</title>
|
|
7
7
|
<style>
|
|
8
8
|
body {
|