@chat21/chat21-web-widget 5.0.46-rc.1 → 5.0.46-rc.3
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/CHANGELOG.md +8 -0
- package/angular.json +2 -1
- package/coverage/widget/base.css +224 -0
- package/coverage/widget/block-navigation.js +87 -0
- package/coverage/widget/favicon.png +0 -0
- package/coverage/widget/index.html +881 -0
- package/coverage/widget/lcov.info +10516 -0
- package/coverage/widget/polyfills.ts.html +277 -0
- package/coverage/widget/prettify.css +1 -0
- package/coverage/widget/prettify.js +2 -0
- package/coverage/widget/sort-arrow-sprite.png +0 -0
- package/coverage/widget/sorter.js +196 -0
- package/coverage/widget/src/app/app.component.ts.html +6328 -0
- package/coverage/widget/src/app/component/conversation-detail/conversation/conversation.component.ts.html +3871 -0
- package/coverage/widget/src/app/component/conversation-detail/conversation/index.html +116 -0
- package/coverage/widget/src/app/component/conversation-detail/conversation-content/conversation-content.component.ts.html +925 -0
- package/coverage/widget/src/app/component/conversation-detail/conversation-content/index.html +116 -0
- package/coverage/widget/src/app/component/conversation-detail/conversation-footer/conversation-footer.component.ts.html +1816 -0
- package/coverage/widget/src/app/component/conversation-detail/conversation-footer/index.html +116 -0
- package/coverage/widget/src/app/component/conversation-detail/conversation-header/conversation-header.component.ts.html +811 -0
- package/coverage/widget/src/app/component/conversation-detail/conversation-header/index.html +116 -0
- package/coverage/widget/src/app/component/conversation-detail/conversation-internal-frame/conversation-internal-frame.component.ts.html +397 -0
- package/coverage/widget/src/app/component/conversation-detail/conversation-internal-frame/index.html +116 -0
- package/coverage/widget/src/app/component/conversation-detail/conversation-preview/conversation-preview.component.ts.html +991 -0
- package/coverage/widget/src/app/component/conversation-detail/conversation-preview/index.html +116 -0
- package/coverage/widget/src/app/component/eyeeye-catcher-card/eyeeye-catcher-card.component.ts.html +586 -0
- package/coverage/widget/src/app/component/eyeeye-catcher-card/index.html +116 -0
- package/coverage/widget/src/app/component/form/form-builder/form-builder.component.ts.html +664 -0
- package/coverage/widget/src/app/component/form/form-builder/index.html +116 -0
- package/coverage/widget/src/app/component/form/inputs/form-checkbox/form-checkbox.component.ts.html +208 -0
- package/coverage/widget/src/app/component/form/inputs/form-checkbox/index.html +116 -0
- package/coverage/widget/src/app/component/form/inputs/form-label/form-label.component.ts.html +157 -0
- package/coverage/widget/src/app/component/form/inputs/form-label/index.html +116 -0
- package/coverage/widget/src/app/component/form/inputs/form-radio-button/form-radio-button.component.ts.html +130 -0
- package/coverage/widget/src/app/component/form/inputs/form-radio-button/index.html +116 -0
- package/coverage/widget/src/app/component/form/inputs/form-select/form-select.component.ts.html +130 -0
- package/coverage/widget/src/app/component/form/inputs/form-select/index.html +116 -0
- package/coverage/widget/src/app/component/form/inputs/form-text/form-text.component.ts.html +301 -0
- package/coverage/widget/src/app/component/form/inputs/form-text/index.html +116 -0
- package/coverage/widget/src/app/component/form/inputs/form-textarea/form-textarea.component.ts.html +358 -0
- package/coverage/widget/src/app/component/form/inputs/form-textarea/index.html +116 -0
- package/coverage/widget/src/app/component/form/prechat-form/index.html +116 -0
- package/coverage/widget/src/app/component/form/prechat-form/prechat-form.component.ts.html +565 -0
- package/coverage/widget/src/app/component/home/home.component.ts.html +559 -0
- package/coverage/widget/src/app/component/home/index.html +116 -0
- package/coverage/widget/src/app/component/home-conversations/home-conversations.component.ts.html +985 -0
- package/coverage/widget/src/app/component/home-conversations/index.html +116 -0
- package/coverage/widget/src/app/component/last-message/index.html +116 -0
- package/coverage/widget/src/app/component/last-message/last-message.component.ts.html +484 -0
- package/coverage/widget/src/app/component/launcher-button/index.html +116 -0
- package/coverage/widget/src/app/component/launcher-button/launcher-button.component.ts.html +307 -0
- package/coverage/widget/src/app/component/list-all-conversations/index.html +116 -0
- package/coverage/widget/src/app/component/list-all-conversations/list-all-conversations.component.ts.html +676 -0
- package/coverage/widget/src/app/component/list-conversations/index.html +116 -0
- package/coverage/widget/src/app/component/list-conversations/list-conversations.component.ts.html +475 -0
- package/coverage/widget/src/app/component/menu-options/index.html +116 -0
- package/coverage/widget/src/app/component/menu-options/menu-options.component.ts.html +226 -0
- package/coverage/widget/src/app/component/message/avatar/avatar.component.ts.html +271 -0
- package/coverage/widget/src/app/component/message/avatar/index.html +116 -0
- package/coverage/widget/src/app/component/message/bubble-message/bubble-message.component.ts.html +655 -0
- package/coverage/widget/src/app/component/message/bubble-message/index.html +116 -0
- package/coverage/widget/src/app/component/message/buttons/action-button/action-button.component.ts.html +274 -0
- package/coverage/widget/src/app/component/message/buttons/action-button/index.html +116 -0
- package/coverage/widget/src/app/component/message/buttons/link-button/index.html +116 -0
- package/coverage/widget/src/app/component/message/buttons/link-button/link-button.component.ts.html +232 -0
- package/coverage/widget/src/app/component/message/buttons/text-button/index.html +116 -0
- package/coverage/widget/src/app/component/message/buttons/text-button/text-button.component.ts.html +235 -0
- package/coverage/widget/src/app/component/message/frame/frame.component.ts.html +199 -0
- package/coverage/widget/src/app/component/message/frame/index.html +116 -0
- package/coverage/widget/src/app/component/message/html/html.component.ts.html +184 -0
- package/coverage/widget/src/app/component/message/html/index.html +116 -0
- package/coverage/widget/src/app/component/message/image/image.component.ts.html +394 -0
- package/coverage/widget/src/app/component/message/image/index.html +116 -0
- package/coverage/widget/src/app/component/message/info-message/index.html +116 -0
- package/coverage/widget/src/app/component/message/info-message/info-message.component.ts.html +211 -0
- package/coverage/widget/src/app/component/message/like-unlike/index.html +116 -0
- package/coverage/widget/src/app/component/message/like-unlike/like-unlike.component.ts.html +151 -0
- package/coverage/widget/src/app/component/message/return-receipt/index.html +116 -0
- package/coverage/widget/src/app/component/message/return-receipt/return-receipt.component.ts.html +157 -0
- package/coverage/widget/src/app/component/message/text/index.html +116 -0
- package/coverage/widget/src/app/component/message/text/text.component.ts.html +190 -0
- package/coverage/widget/src/app/component/message-attachment/index.html +116 -0
- package/coverage/widget/src/app/component/message-attachment/message-attachment.component.ts.html +343 -0
- package/coverage/widget/src/app/component/selection-department/index.html +116 -0
- package/coverage/widget/src/app/component/selection-department/selection-department.component.ts.html +676 -0
- package/coverage/widget/src/app/component/send-button/index.html +116 -0
- package/coverage/widget/src/app/component/send-button/send-button.component.ts.html +154 -0
- package/coverage/widget/src/app/component/star-rating-widget/index.html +116 -0
- package/coverage/widget/src/app/component/star-rating-widget/star-rating-widget.component.ts.html +451 -0
- package/coverage/widget/src/app/directives/html-entities-encode.pipe.ts.html +136 -0
- package/coverage/widget/src/app/directives/index.html +146 -0
- package/coverage/widget/src/app/directives/marked.pipe.ts.html +166 -0
- package/coverage/widget/src/app/directives/safe-html.pipe.ts.html +136 -0
- package/coverage/widget/src/app/index.html +116 -0
- package/coverage/widget/src/app/providers/app-config.service.ts.html +247 -0
- package/coverage/widget/src/app/providers/global-settings.service.ts.html +5698 -0
- package/coverage/widget/src/app/providers/index.html +206 -0
- package/coverage/widget/src/app/providers/settings-saver.service.ts.html +253 -0
- package/coverage/widget/src/app/providers/star-rating-widget.service.ts.html +385 -0
- package/coverage/widget/src/app/providers/storage.service.ts.html +745 -0
- package/coverage/widget/src/app/providers/translator.service.ts.html +1498 -0
- package/coverage/widget/src/app/providers/waiting.service.ts.html +178 -0
- package/coverage/widget/src/app/utils/constants.ts.html +304 -0
- package/coverage/widget/src/app/utils/globals.ts.html +1939 -0
- package/coverage/widget/src/app/utils/index.html +146 -0
- package/coverage/widget/src/app/utils/utils.ts.html +1240 -0
- package/coverage/widget/src/chat21-core/models/conversation.ts.html +160 -0
- package/coverage/widget/src/chat21-core/models/index.html +146 -0
- package/coverage/widget/src/chat21-core/models/upload.ts.html +118 -0
- package/coverage/widget/src/chat21-core/models/user.ts.html +133 -0
- package/coverage/widget/src/chat21-core/providers/abstract/app-storage.service.ts.html +142 -0
- package/coverage/widget/src/chat21-core/providers/abstract/archivedconversations-handler.service.ts.html +184 -0
- package/coverage/widget/src/chat21-core/providers/abstract/conversation-handler-builder.service.ts.html +121 -0
- package/coverage/widget/src/chat21-core/providers/abstract/conversation-handler.service.ts.html +235 -0
- package/coverage/widget/src/chat21-core/providers/abstract/conversations-handler.service.ts.html +208 -0
- package/coverage/widget/src/chat21-core/providers/abstract/groups-handler.service.ts.html +160 -0
- package/coverage/widget/src/chat21-core/providers/abstract/image-repo.service.ts.html +169 -0
- package/coverage/widget/src/chat21-core/providers/abstract/index.html +296 -0
- package/coverage/widget/src/chat21-core/providers/abstract/logger.service.ts.html +136 -0
- package/coverage/widget/src/chat21-core/providers/abstract/messagingAuth.service.ts.html +238 -0
- package/coverage/widget/src/chat21-core/providers/abstract/notifications.service.ts.html +172 -0
- package/coverage/widget/src/chat21-core/providers/abstract/presence.service.ts.html +190 -0
- package/coverage/widget/src/chat21-core/providers/abstract/typing.service.ts.html +187 -0
- package/coverage/widget/src/chat21-core/providers/abstract/upload.service.ts.html +178 -0
- package/coverage/widget/src/chat21-core/providers/chat-manager.ts.html +895 -0
- package/coverage/widget/src/chat21-core/providers/custom-translate.service.ts.html +223 -0
- package/coverage/widget/src/chat21-core/providers/index.html +131 -0
- package/coverage/widget/src/chat21-core/providers/logger/customLogger.ts.html +265 -0
- package/coverage/widget/src/chat21-core/providers/logger/index.html +131 -0
- package/coverage/widget/src/chat21-core/providers/logger/loggerInstance.ts.html +142 -0
- package/coverage/widget/src/chat21-core/providers/tiledesk/index.html +131 -0
- package/coverage/widget/src/chat21-core/providers/tiledesk/tiledesk-auth.service.ts.html +655 -0
- package/coverage/widget/src/chat21-core/providers/tiledesk/tiledesk-requests.service.ts.html +241 -0
- package/coverage/widget/src/chat21-core/utils/constants.ts.html +409 -0
- package/coverage/widget/src/chat21-core/utils/index.html +176 -0
- package/coverage/widget/src/chat21-core/utils/triggerHandler.ts.html +1069 -0
- package/coverage/widget/src/chat21-core/utils/user-typing/index.html +116 -0
- package/coverage/widget/src/chat21-core/utils/user-typing/user-typing.component.ts.html +184 -0
- package/coverage/widget/src/chat21-core/utils/utils-message.ts.html +637 -0
- package/coverage/widget/src/chat21-core/utils/utils-user.ts.html +229 -0
- package/coverage/widget/src/chat21-core/utils/utils.ts.html +2221 -0
- package/coverage/widget/src/environments/environment.ts.html +205 -0
- package/coverage/widget/src/environments/index.html +116 -0
- package/coverage/widget/src/index.html +131 -0
- package/coverage/widget/src/models/index.html +116 -0
- package/coverage/widget/src/models/project.ts.html +319 -0
- package/coverage/widget/src/polyfills.ts.html +277 -0
- package/coverage/widget/src/test.ts.html +142 -0
- package/dist/assets/i18n/en.json +1 -1
- package/dist/assets/i18n/es.json +22 -9
- package/dist/assets/i18n/fr.json +20 -7
- package/dist/assets/i18n/it.json +24 -11
- package/dist/assets/twp/index-dev.html +1 -1
- package/dist/environments/real_data/widget-config-docker.json +0 -1
- package/dist/environments/real_data/widget-config-firebase.json +2 -2
- package/dist/environments/real_data/widget-config-native-mqtt.json +0 -1
- package/dist/iframe-style.css +8 -1
- package/dist/launch.js +1 -1
- package/dist/main.js +1 -1
- package/dist/vendor.js +1 -1
- package/package.json +1 -1
- package/src/app/app.component.scss +4 -3
- package/src/app/app.component.spec.ts +59 -18
- package/src/app/component/conversation-detail/conversation/conversation.component.spec.ts +12 -1
- package/src/app/component/conversation-detail/conversation/conversation.component.ts +4 -2
- package/src/app/component/conversation-detail/conversation-content/conversation-content.component.spec.ts +7 -4
- package/src/app/component/conversation-detail/conversation-footer/conversation-footer.component.spec.ts +11 -3
- package/src/app/component/conversation-detail/conversation-header/conversation-header.component.spec.ts +11 -4
- package/src/app/component/conversation-detail/conversation-preview/conversation-preview.component.spec.ts +9 -59
- package/src/app/component/form/form-builder/form-builder.component.spec.ts +9 -1
- package/src/app/component/form/inputs/form-textarea/form-textarea.component.html +5 -5
- package/src/app/component/form/inputs/form-textarea/form-textarea.component.spec.ts +1 -1
- package/src/app/component/form/inputs/form-textarea/form-textarea.component.ts +1 -1
- package/src/app/component/home/home.component.spec.ts +12 -3
- package/src/app/component/home-conversations/home-conversations.component.spec.ts +9 -1
- package/src/app/component/list-all-conversations/list-all-conversations.component.spec.ts +9 -11
- package/src/app/component/list-conversations/list-conversations.component.spec.ts +9 -1
- package/src/app/component/message/buttons/action-button/action-button.component.scss +1 -0
- package/src/app/component/message/buttons/link-button/link-button.component.scss +1 -0
- package/src/app/component/message/buttons/text-button/text-button.component.scss +1 -0
- package/src/app/component/message/frame/frame.component.spec.ts +16 -3
- package/src/app/component/message/frame/frame.component.ts +2 -2
- package/src/app/component/message/image/image.component.ts +46 -0
- package/src/app/component/message/info-message/info-message.component.spec.ts +9 -1
- package/src/app/component/message/return-receipt/return-receipt.component.spec.ts +17 -2
- package/src/app/component/message/text/text.component.spec.ts +2 -2
- package/src/app/providers/global-settings.service.ts +14 -0
- package/src/app/utils/globals.ts +4 -1
- package/src/assets/i18n/en.json +1 -1
- package/src/assets/i18n/es.json +22 -9
- package/src/assets/i18n/fr.json +20 -7
- package/src/assets/i18n/it.json +24 -11
- package/src/assets/twp/index-dev.html +1 -1
- package/src/chat21-core/providers/firebase/firebase-conversation-handler.ts +5 -3
- package/src/chat21-core/providers/mqtt/mqtt-conversation-handler.ts +5 -3
- package/src/chat21-core/providers/tiledesk/tiledesk-auth.service.spec.ts +29 -19
- package/src/chat21-core/utils/utils-message.ts +1 -1
- package/src/chat21-core/utils/utils.ts +3 -3
- package/src/environments/real_data/widget-config-docker.json +0 -1
- package/src/environments/real_data/widget-config-firebase.json +2 -2
- package/src/environments/real_data/widget-config-native-mqtt.json +0 -1
- package/src/iframe-style.css +8 -1
- package/src/launch.js +1 -1
- package/e2e/protractor.conf.js +0 -32
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<title>Code coverage report for src/test.ts</title>
|
|
7
|
+
<meta charset="utf-8" />
|
|
8
|
+
<link rel="stylesheet" href="../prettify.css" />
|
|
9
|
+
<link rel="stylesheet" href="../base.css" />
|
|
10
|
+
<link rel="shortcut icon" type="image/x-icon" href="../favicon.png" />
|
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
|
+
<style type='text/css'>
|
|
13
|
+
.coverage-summary .sorter {
|
|
14
|
+
background-image: url(../sort-arrow-sprite.png);
|
|
15
|
+
}
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<div class='wrapper'>
|
|
21
|
+
<div class='pad1'>
|
|
22
|
+
<h1><a href="../index.html">All files</a> / <a href="index.html">src</a> test.ts</h1>
|
|
23
|
+
<div class='clearfix'>
|
|
24
|
+
|
|
25
|
+
<div class='fl pad1y space-right2'>
|
|
26
|
+
<span class="strong">100% </span>
|
|
27
|
+
<span class="quiet">Statements</span>
|
|
28
|
+
<span class='fraction'>3/3</span>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<div class='fl pad1y space-right2'>
|
|
33
|
+
<span class="strong">100% </span>
|
|
34
|
+
<span class="quiet">Branches</span>
|
|
35
|
+
<span class='fraction'>0/0</span>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<div class='fl pad1y space-right2'>
|
|
40
|
+
<span class="strong">100% </span>
|
|
41
|
+
<span class="quiet">Functions</span>
|
|
42
|
+
<span class='fraction'>0/0</span>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<div class='fl pad1y space-right2'>
|
|
47
|
+
<span class="strong">100% </span>
|
|
48
|
+
<span class="quiet">Lines</span>
|
|
49
|
+
<span class='fraction'>3/3</span>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
<p class="quiet">
|
|
55
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
|
56
|
+
</p>
|
|
57
|
+
<template id="filterTemplate">
|
|
58
|
+
<div class="quiet">
|
|
59
|
+
Filter:
|
|
60
|
+
<input oninput="onInput()" type="search" id="fileSearch">
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
63
|
+
</div>
|
|
64
|
+
<div class='status-line high'></div>
|
|
65
|
+
<pre><table class="coverage">
|
|
66
|
+
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
|
+
<a name='L2'></a><a href='#L2'>2</a>
|
|
68
|
+
<a name='L3'></a><a href='#L3'>3</a>
|
|
69
|
+
<a name='L4'></a><a href='#L4'>4</a>
|
|
70
|
+
<a name='L5'></a><a href='#L5'>5</a>
|
|
71
|
+
<a name='L6'></a><a href='#L6'>6</a>
|
|
72
|
+
<a name='L7'></a><a href='#L7'>7</a>
|
|
73
|
+
<a name='L8'></a><a href='#L8'>8</a>
|
|
74
|
+
<a name='L9'></a><a href='#L9'>9</a>
|
|
75
|
+
<a name='L10'></a><a href='#L10'>10</a>
|
|
76
|
+
<a name='L11'></a><a href='#L11'>11</a>
|
|
77
|
+
<a name='L12'></a><a href='#L12'>12</a>
|
|
78
|
+
<a name='L13'></a><a href='#L13'>13</a>
|
|
79
|
+
<a name='L14'></a><a href='#L14'>14</a>
|
|
80
|
+
<a name='L15'></a><a href='#L15'>15</a>
|
|
81
|
+
<a name='L16'></a><a href='#L16'>16</a>
|
|
82
|
+
<a name='L17'></a><a href='#L17'>17</a>
|
|
83
|
+
<a name='L18'></a><a href='#L18'>18</a>
|
|
84
|
+
<a name='L19'></a><a href='#L19'>19</a>
|
|
85
|
+
<a name='L20'></a><a href='#L20'>20</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
86
|
+
<span class="cline-any cline-neutral"> </span>
|
|
87
|
+
<span class="cline-any cline-neutral"> </span>
|
|
88
|
+
<span class="cline-any cline-neutral"> </span>
|
|
89
|
+
<span class="cline-any cline-neutral"> </span>
|
|
90
|
+
<span class="cline-any cline-neutral"> </span>
|
|
91
|
+
<span class="cline-any cline-neutral"> </span>
|
|
92
|
+
<span class="cline-any cline-neutral"> </span>
|
|
93
|
+
<span class="cline-any cline-neutral"> </span>
|
|
94
|
+
<span class="cline-any cline-neutral"> </span>
|
|
95
|
+
<span class="cline-any cline-neutral"> </span>
|
|
96
|
+
<span class="cline-any cline-yes">1x</span>
|
|
97
|
+
<span class="cline-any cline-neutral"> </span>
|
|
98
|
+
<span class="cline-any cline-neutral"> </span>
|
|
99
|
+
<span class="cline-any cline-neutral"> </span>
|
|
100
|
+
<span class="cline-any cline-neutral"> </span>
|
|
101
|
+
<span class="cline-any cline-yes">1x</span>
|
|
102
|
+
<span class="cline-any cline-neutral"> </span>
|
|
103
|
+
<span class="cline-any cline-yes">1x</span>
|
|
104
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">// This file is required by karma.conf.js and loads recursively all the .spec and framework files
|
|
105
|
+
import 'zone.js/testing';
|
|
106
|
+
import { getTestBed } from '@angular/core/testing';
|
|
107
|
+
import {
|
|
108
|
+
BrowserDynamicTestingModule,
|
|
109
|
+
platformBrowserDynamicTesting
|
|
110
|
+
} from '@angular/platform-browser-dynamic/testing';
|
|
111
|
+
|
|
112
|
+
declare const require: any;
|
|
113
|
+
|
|
114
|
+
// First, initialize the Angular testing environment.
|
|
115
|
+
getTestBed().initTestEnvironment(
|
|
116
|
+
BrowserDynamicTestingModule,
|
|
117
|
+
platformBrowserDynamicTesting()
|
|
118
|
+
);
|
|
119
|
+
// Then we find all the tests.
|
|
120
|
+
const context = require.context('./', true, /\.spec\.ts$/);
|
|
121
|
+
// And load the modules.
|
|
122
|
+
context.keys().map(context);
|
|
123
|
+
</pre></td></tr></table></pre>
|
|
124
|
+
|
|
125
|
+
<div class='push'></div><!-- for sticky footer -->
|
|
126
|
+
</div><!-- /wrapper -->
|
|
127
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
|
128
|
+
Code coverage generated by
|
|
129
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
130
|
+
at Tue Nov 29 2022 09:13:07 GMT+0100 (Ora standard dell’Europa centrale)
|
|
131
|
+
</div>
|
|
132
|
+
<script src="../prettify.js"></script>
|
|
133
|
+
<script>
|
|
134
|
+
window.onload = function () {
|
|
135
|
+
prettyPrint();
|
|
136
|
+
};
|
|
137
|
+
</script>
|
|
138
|
+
<script src="../sorter.js"></script>
|
|
139
|
+
<script src="../block-navigation.js"></script>
|
|
140
|
+
</body>
|
|
141
|
+
</html>
|
|
142
|
+
|
package/dist/assets/i18n/en.json
CHANGED
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"INFO_SUPPORT_CHAT_CLOSED":"Chat closed",
|
|
66
66
|
"INFO_SUPPORT_LEAD_UPDATED":"Lead updated",
|
|
67
67
|
"INFO_SUPPORT_MEMBER_LEFT_GROUP":"removed from group",
|
|
68
|
-
"INFO_SUPPORT_MEMBER_ABANDONED_GROUP":"has left the
|
|
68
|
+
"INFO_SUPPORT_MEMBER_ABANDONED_GROUP":"has left the conversation",
|
|
69
69
|
"INFO_A_NEW_SUPPORT_REQUEST_HAS_BEEN_ASSIGNED_TO_YOU": "A new support request has been assigned to you",
|
|
70
70
|
|
|
71
71
|
"LABEL_PRECHAT_USER_FULLNAME": "Full name",
|
package/dist/assets/i18n/es.json
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"LABEL_ERROR_FIELD_NAME": "Campo obligatorio (mínimo 5 caracteres).",
|
|
11
11
|
"LABEL_FIELD_EMAIL": "Email",
|
|
12
12
|
"LABEL_ERROR_FIELD_EMAIL": "Introduzca una dirección de correo electrónico válida.",
|
|
13
|
-
"LABEL_ERROR_FIELD_REQUIRED":"Campo requerido",
|
|
14
13
|
"LABEL_WRITING": "esta escribiendo...",
|
|
15
14
|
"LABEL_SEND_NEW_MESSAGE": "Enviar un mensaje nuevo",
|
|
16
15
|
"AGENT_NOT_AVAILABLE": " Fuera de línea",
|
|
@@ -39,10 +38,11 @@
|
|
|
39
38
|
"WELLCOME_TITLE": "Hola, bienvenido a Tiledesk 👋",
|
|
40
39
|
"WELLCOME_MSG": "¿Cómo podemos ayudar?",
|
|
41
40
|
"OPTIONS": "opciones",
|
|
42
|
-
"SOUND_OFF": "
|
|
43
|
-
"SOUND_ON": "
|
|
44
|
-
"LOGOUT": "
|
|
41
|
+
"SOUND_OFF": "Sonido apagado",
|
|
42
|
+
"SOUND_ON": "Sonido encendido",
|
|
43
|
+
"LOGOUT": "Cerrar sesión",
|
|
45
44
|
"CLOSE": "cerca",
|
|
45
|
+
"RESTART":"Reiniciar",
|
|
46
46
|
"PREV_CONVERSATIONS": "Tus conversaciones",
|
|
47
47
|
"YOU": "Tú",
|
|
48
48
|
"SHOW_ALL_CONV": "mostrar todo",
|
|
@@ -52,7 +52,9 @@
|
|
|
52
52
|
"WAITING_TIME_FOUND": "El equipo típicamente responde en $reply_time",
|
|
53
53
|
"WAITING_TIME_NOT_FOUND": "El equipo responderá lo antes posible",
|
|
54
54
|
"CLOSED": "CERRADA",
|
|
55
|
-
|
|
55
|
+
"CLOSE_CHAT": "Cerrar chat",
|
|
56
|
+
"MINIMIZE":"Minimizar",
|
|
57
|
+
"MAXIMIZE":"Maximizar",
|
|
56
58
|
"INFO_SUPPORT_USER_ADDED_SUBJECT":"tú",
|
|
57
59
|
"INFO_SUPPORT_USER_ADDED_YOU_VERB":"han sido agregados a ",
|
|
58
60
|
"INFO_SUPPORT_USER_ADDED_COMPLEMENT":"joined",
|
|
@@ -63,15 +65,26 @@
|
|
|
63
65
|
"INFO_SUPPORT_MEMBER_LEFT_GROUP":"eliminado del grupo",
|
|
64
66
|
"INFO_SUPPORT_MEMBER_ABANDONED_GROUP":"abandonó la conversación",
|
|
65
67
|
"INFO_A_NEW_SUPPORT_REQUEST_HAS_BEEN_ASSIGNED_TO_YOU": "Se le ha asignado una nueva solicitud de soporte",
|
|
68
|
+
"TICKET_TAKING":"La solicitud ha sido recibida y el personal de asistencia está tratando con ella. \nPara agregar más comentarios, responda a este correo electrónico.",
|
|
69
|
+
|
|
70
|
+
"LABEL_ERROR_FIELD_REQUIRED": "Campo obligatorio",
|
|
71
|
+
"SENT_AN_ATTACHMENT": "envió un archivo adjunto",
|
|
72
|
+
"SENT_AN_IMAGE": "envió una imagen",
|
|
66
73
|
|
|
74
|
+
"LABEL_PRECHAT_USER_FULLNAME": "Nombre completo",
|
|
75
|
+
"LABEL_PRECHAT_USER_EMAIL": "Correo electrónico",
|
|
76
|
+
"LABEL_PRECHAT_USER_EMAIL_ERROR": "Dirección de correo electrónico no válida",
|
|
77
|
+
"LABEL_PRECHAT_USER_PHONE": "Teléfono",
|
|
78
|
+
"LABEL_PRECHAT_USER_PHONE_ERROR": "Se requiere teléfono",
|
|
79
|
+
"LABEL_PRECHAT_FIRST_MESSAGE": "Tu mensaje para el equipo de soporte",
|
|
80
|
+
"LABEL_PRECHAT_STATIC_TERMS_PRIVACY": "Antes de continuar con la conversación, acepte nuestros <a href='https://tiledesk.com/termsofservice/' target='_blank'>Términos</a> y <a href='https:/ /tiledesk.com/privacy.html' target='_blank'>Política de privacidad</a>",
|
|
81
|
+
"LABEL_PRECHAT_ACCEPT_TERMS_PRIVACY": "Acepto",
|
|
82
|
+
"PRECHAT_REQUIRED_ERROR": "Este campo es obligatorio",
|
|
83
|
+
|
|
67
84
|
"LABEL_TODAY": "hoy",
|
|
68
85
|
"LABEL_TOMORROW": "ayer",
|
|
69
86
|
"LABEL_LAST_ACCESS": "ultimo acceso",
|
|
70
87
|
"LABEL_TO": "a",
|
|
71
88
|
"ARRAY_DAYS": ["Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"],
|
|
72
|
-
|
|
73
|
-
"SENT_AN_ATTACHMENT": "envió un archivo adjunto",
|
|
74
|
-
"SENT_AN_IMAGE":"envió una imagen",
|
|
75
|
-
|
|
76
89
|
"LABEL_PREVIEW": "Avance"
|
|
77
90
|
}
|
package/dist/assets/i18n/fr.json
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"LABEL_ERROR_FIELD_NAME": "Nom demandé (minimum 2 caractères).",
|
|
11
11
|
"LABEL_FIELD_EMAIL": "Email",
|
|
12
12
|
"LABEL_ERROR_FIELD_EMAIL": "Entrer une adresse email valide.",
|
|
13
|
-
"LABEL_ERROR_FIELD_REQUIRED":"Champs requis",
|
|
14
13
|
"LABEL_WRITING": "écrit ...",
|
|
15
14
|
"LABEL_SEND_NEW_MESSAGE": "Envoyez un nouveau message",
|
|
16
15
|
"AGENT_NOT_AVAILABLE": " Hors ligne",
|
|
@@ -43,6 +42,7 @@
|
|
|
43
42
|
"SOUND_ON": "Sound on",
|
|
44
43
|
"LOGOUT": "Connectez-out",
|
|
45
44
|
"CLOSE": "Fermer",
|
|
45
|
+
"RESTART":"Redémarrer",
|
|
46
46
|
"PREV_CONVERSATIONS": "Vos conversations",
|
|
47
47
|
"YOU": "Toi",
|
|
48
48
|
"SHOW_ALL_CONV": "voir tout",
|
|
@@ -51,8 +51,10 @@
|
|
|
51
51
|
"SEE_PREVIOUS": "voir les conversations précédentes",
|
|
52
52
|
"WAITING_TIME_FOUND": "L'équipe répond généralement en $reply_time",
|
|
53
53
|
"WAITING_TIME_NOT_FOUND": "Nous vous répondrons dans les plus brefs délais",
|
|
54
|
-
"CLOSED": "
|
|
55
|
-
|
|
54
|
+
"CLOSED": "Fermé",
|
|
55
|
+
"CLOSE_CHAT": "Fermer le chat",
|
|
56
|
+
"MINIMIZE":"Minimiser",
|
|
57
|
+
"MAXIMIZE":"Maximiser",
|
|
56
58
|
"INFO_SUPPORT_USER_ADDED_SUBJECT":"toi",
|
|
57
59
|
"INFO_SUPPORT_USER_ADDED_YOU_VERB":"ont été ajoutés à ",
|
|
58
60
|
"INFO_SUPPORT_USER_ADDED_COMPLEMENT":"rejointe",
|
|
@@ -63,15 +65,26 @@
|
|
|
63
65
|
"INFO_SUPPORT_MEMBER_LEFT_GROUP":"supprimé du groupe",
|
|
64
66
|
"INFO_SUPPORT_MEMBER_ABANDONED_GROUP":"a quitté la conversation",
|
|
65
67
|
"INFO_A_NEW_SUPPORT_REQUEST_HAS_BEEN_ASSIGNED_TO_YOU": "Une nouvelle demande de support vous a été attribuée",
|
|
68
|
+
"TICKET_TAKING":"La demande a été reçue et le personnel d'assistance la traite.\nPour ajouter d'autres commentaires, répondez à cet e-mail.",
|
|
69
|
+
|
|
70
|
+
"LABEL_ERROR_FIELD_REQUIRED": "Champ obligatoire",
|
|
71
|
+
"SENT_AN_ATTACHMENT": "envoyé une pièce jointe",
|
|
72
|
+
"SENT_AN_IMAGE": "envoyé une image",
|
|
73
|
+
|
|
74
|
+
"LABEL_PRECHAT_USER_FULLNAME": "Nom complet",
|
|
75
|
+
"LABEL_PRECHAT_USER_EMAIL": "E-mail",
|
|
76
|
+
"LABEL_PRECHAT_USER_EMAIL_ERROR": "Adresse e-mail invalide",
|
|
77
|
+
"LABEL_PRECHAT_USER_PHONE": "Téléphone",
|
|
78
|
+
"LABEL_PRECHAT_USER_PHONE_ERROR": "Le téléphone est requis",
|
|
79
|
+
"LABEL_PRECHAT_FIRST_MESSAGE": "Votre message pour l'équipe d'assistance",
|
|
80
|
+
"LABEL_PRECHAT_STATIC_TERMS_PRIVACY": "Avant de poursuivre la conversation, veuillez accepter nos <a href='https://tiledesk.com/termsofservice/' target='_blank'>Conditions</a> et <a href='https:/ /tiledesk.com/privacy.html' target='_blank'>Politique de confidentialité</a>",
|
|
81
|
+
"LABEL_PRECHAT_ACCEPT_TERMS_PRIVACY": "Je suis d'accord",
|
|
82
|
+
"PRECHAT_REQUIRED_ERROR": "Ce champ est obligatoire",
|
|
66
83
|
|
|
67
84
|
"LABEL_TODAY": "aujourd'hui",
|
|
68
85
|
"LABEL_TOMORROW": "hier",
|
|
69
86
|
"LABEL_LAST_ACCESS": "dernier accès",
|
|
70
87
|
"LABEL_TO": "à",
|
|
71
88
|
"ARRAY_DAYS": ["Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"],
|
|
72
|
-
|
|
73
|
-
"SENT_AN_ATTACHMENT": "envoyé une pièce jointe",
|
|
74
|
-
"SENT_AN_IMAGE":"envoyé une image",
|
|
75
|
-
|
|
76
89
|
"LABEL_PREVIEW": "Aperçu"
|
|
77
90
|
}
|
package/dist/assets/i18n/it.json
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"LABEL_ERROR_FIELD_NAME": "Nome richiesto (minimo 2 caratteri).",
|
|
11
11
|
"LABEL_FIELD_EMAIL": "Email",
|
|
12
12
|
"LABEL_ERROR_FIELD_EMAIL": "Inserisci un indirizzo email valido.",
|
|
13
|
-
"LABEL_ERROR_FIELD_REQUIRED":"Campo obbligatorio",
|
|
14
13
|
"LABEL_WRITING": "sta scrivendo...",
|
|
15
14
|
"LABEL_SEND_NEW_MESSAGE": "Invia un nuovo messaggio",
|
|
16
15
|
"AGENT_NOT_AVAILABLE": " Offline",
|
|
@@ -39,10 +38,11 @@
|
|
|
39
38
|
"WELLCOME_TITLE": "Ciao, benvenuto su Tiledesk 👋",
|
|
40
39
|
"WELLCOME_MSG": "Come possiamo aiutarti?",
|
|
41
40
|
"OPTIONS": "opzioni",
|
|
42
|
-
"SOUND_OFF": "
|
|
43
|
-
"SOUND_ON": "
|
|
44
|
-
"LOGOUT": "
|
|
41
|
+
"SOUND_OFF": "Suono spento",
|
|
42
|
+
"SOUND_ON": "Suono acceso",
|
|
43
|
+
"LOGOUT": "Disconnetti",
|
|
45
44
|
"CLOSE": "Chiudi",
|
|
45
|
+
"RESTART":"Ricomincia",
|
|
46
46
|
"PREV_CONVERSATIONS": "Le tue conversazioni",
|
|
47
47
|
"YOU": "Tu",
|
|
48
48
|
"SHOW_ALL_CONV": "vedi tutte",
|
|
@@ -51,8 +51,10 @@
|
|
|
51
51
|
"SEE_PREVIOUS": "vedi precedenti",
|
|
52
52
|
"WAITING_TIME_FOUND": "Il team tipicamente risponde in $reply_time",
|
|
53
53
|
"WAITING_TIME_NOT_FOUND": "Vi risponderemo appena possibile",
|
|
54
|
-
"CLOSED": "
|
|
55
|
-
|
|
54
|
+
"CLOSED": "Chiusa",
|
|
55
|
+
"CLOSE_CHAT": "Chiudi chat",
|
|
56
|
+
"MINIMIZE":"Minimizza",
|
|
57
|
+
"MAXIMIZE":"Massimizza",
|
|
56
58
|
"INFO_SUPPORT_USER_ADDED_SUBJECT":"tu",
|
|
57
59
|
"INFO_SUPPORT_USER_ADDED_YOU_VERB":"sei stato aggiunto ",
|
|
58
60
|
"INFO_SUPPORT_USER_ADDED_COMPLEMENT":"si è unito",
|
|
@@ -63,15 +65,26 @@
|
|
|
63
65
|
"INFO_SUPPORT_MEMBER_LEFT_GROUP":"ha lasciato il gruppo",
|
|
64
66
|
"INFO_SUPPORT_MEMBER_ABANDONED_GROUP": "ha abbandonato la conversazione",
|
|
65
67
|
"INFO_A_NEW_SUPPORT_REQUEST_HAS_BEEN_ASSIGNED_TO_YOU": "Una nuova richiesta di supporto è stata assegnata a te",
|
|
68
|
+
"TICKET_TAKING":"La richiesta è stata ricevuta e il personale di assistenza se ne sta occupando.\nPer aggiungere ulteriori commenti, rispondi a questa email.",
|
|
69
|
+
|
|
70
|
+
"LABEL_ERROR_FIELD_REQUIRED": "Campo richiesto",
|
|
71
|
+
"SENT_AN_ATTACHMENT": "ha inviato un allegato",
|
|
72
|
+
"SENT_AN_IMAGE":"ha inviato un'immagine",
|
|
73
|
+
|
|
74
|
+
"LABEL_PRECHAT_USER_FULLNAME": "Nome completo",
|
|
75
|
+
"LABEL_PRECHAT_USER_EMAIL": "E-mail",
|
|
76
|
+
"LABEL_PRECHAT_USER_EMAIL_ERROR": "Indirizzo email non valido",
|
|
77
|
+
"LABEL_PRECHAT_USER_PHONE": "Telefono",
|
|
78
|
+
"LABEL_PRECHAT_USER_PHONE_ERROR": "Telefono richiesto",
|
|
79
|
+
"LABEL_PRECHAT_FIRST_MESSAGE": "Il tuo messaggio per il team di supporto",
|
|
80
|
+
"LABEL_PRECHAT_STATIC_TERMS_PRIVACY": "Prima di procedere nella conversazione, accetta i nostri <a href='https://tiledesk.com/termsofservice/' target='_blank'>Termini</a> e <a href='https:/ /tiledesk.com/privacy.html' target='_blank'>Norme sulla privacy</a>",
|
|
81
|
+
"LABEL_PRECHAT_ACCEPT_TERMS_PRIVACY": "Sono d'accordo",
|
|
82
|
+
"PRECHAT_REQUIRED_ERROR": "Questo campo è obbligatorio",
|
|
66
83
|
|
|
67
84
|
"LABEL_TODAY": "oggi",
|
|
68
85
|
"LABEL_TOMORROW": "ieri",
|
|
69
86
|
"LABEL_LAST_ACCESS": "ultimo accesso",
|
|
70
|
-
"LABEL_TO": "
|
|
87
|
+
"LABEL_TO": "a",
|
|
71
88
|
"ARRAY_DAYS": ["Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato", "Domenica"],
|
|
72
|
-
|
|
73
|
-
"SENT_AN_ATTACHMENT": "ha inviato un allegato",
|
|
74
|
-
"SENT_AN_IMAGE":"ha inviato un'immagine",
|
|
75
|
-
|
|
76
89
|
"LABEL_PREVIEW": "Anteprima"
|
|
77
90
|
}
|
|
@@ -1722,7 +1722,7 @@
|
|
|
1722
1722
|
<div class="row">
|
|
1723
1723
|
<div class="col-md-5 formElement"><span><em><strong>themeColorOpacity</strong></em></span></div>
|
|
1724
1724
|
<div class="col-md-5 formElement">
|
|
1725
|
-
<input class="form-range" type="range" id="themeColorOpacity" name="themeColorOpacity" min="0" max="100" value="
|
|
1725
|
+
<input class="form-range" type="range" id="themeColorOpacity" name="themeColorOpacity" min="0" max="100" value="100" style="width: 80%;" oninput="onChangeThemeColorOpacity()"><label class="col-form-label" id="themeColorOpacityText">100 %</label>
|
|
1726
1726
|
</div>
|
|
1727
1727
|
<div class="col-md-2">
|
|
1728
1728
|
<button class="btn btn-light" onclick="onClickThemeColorOpacity()">Test this setting <i class="fa fa-magic" aria-hidden="true"></i></button>
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
},
|
|
23
23
|
"apiUrl": "https://tiledesk-server-pre.herokuapp.com/",
|
|
24
24
|
"baseImageUrl": "https://firebasestorage.googleapis.com/v0/b/",
|
|
25
|
-
"dashboardUrl": "https://support-pre.tiledesk.com/dashboard/",
|
|
26
25
|
"authPersistence": "LOCAL",
|
|
27
|
-
"enbedJs": true
|
|
26
|
+
"enbedJs": true,
|
|
27
|
+
"enbedJsBaseUrl":"https://widget-pre.tiledesk.com/v5/"
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
|
package/dist/iframe-style.css
CHANGED
package/dist/launch.js
CHANGED
|
@@ -124,7 +124,7 @@ function loadIframe(tiledeskScriptBaseLocation) {
|
|
|
124
124
|
var httpRequest = createCORSRequest('POST', event_data.detail.appConfigs.apiUrl+event_data.detail.default_settings.projectid+'/events',true); //set async to false because loadParams must return when the get is complete
|
|
125
125
|
httpRequest.setRequestHeader('Content-type', 'application/json');
|
|
126
126
|
httpRequest.setRequestHeader('Authorization',tiledeskToken);
|
|
127
|
-
httpRequest.send(JSON.stringify({"name":"new_conversation","attributes": {"request_id":event_data.detail.newConvId, "department": event_data.detail.global.departmentSelected.id, "language": event_data.detail.global.lang, "subtype":"info", "fullname":event_data.detail.global.attributes.userFullname, "email":event_data.detail.global.attributes.userEmail, "attributes":event_data.detail.global.attributes}}));
|
|
127
|
+
httpRequest.send(JSON.stringify({"name":"new_conversation","attributes": {"request_id":event_data.detail.newConvId, "department": event_data.detail.global.departmentSelected.id, "participants": event_data.detail.global.participants, "language": event_data.detail.global.lang, "subtype":"info", "fullname":event_data.detail.global.attributes.userFullname, "email":event_data.detail.global.attributes.userEmail, "attributes":event_data.detail.global.attributes}}));
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
130
|
|