@chat21/chat21-web-widget 5.0.74-rc.3 → 5.0.74-rc.5
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
CHANGED
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
*Dario De Pascalis*
|
|
6
6
|
### **Copyrigth**: *Tiledesk SRL*
|
|
7
7
|
|
|
8
|
+
### 5.0.74-rc.5
|
|
9
|
+
- bug-fixed: minor improvement labels
|
|
10
|
+
|
|
11
|
+
### 5.0.74-rc.4
|
|
12
|
+
- added: clearStorage method to index-dev.html file
|
|
13
|
+
|
|
8
14
|
### 5.0.74-rc.3
|
|
9
15
|
- added: brand-service and BrandResources class to manage resources
|
|
10
16
|
|
package/package.json
CHANGED
|
@@ -237,9 +237,9 @@ export class TranslatorService {
|
|
|
237
237
|
'WELCOME',
|
|
238
238
|
'WELCOME_TITLE',
|
|
239
239
|
'WELCOME_MSG',
|
|
240
|
-
'
|
|
241
|
-
'
|
|
242
|
-
'
|
|
240
|
+
'WELLCOME',
|
|
241
|
+
'WELLCOME_TITLE',
|
|
242
|
+
'WELLCOME_MSG',
|
|
243
243
|
'OPTIONS',
|
|
244
244
|
'SOUND_ON',
|
|
245
245
|
'SOUND_OFF',
|
|
@@ -290,9 +290,9 @@ export class TranslatorService {
|
|
|
290
290
|
globals.BUTTON_EDIT_PROFILE = res['BUTTON_EDIT_PROFILE']; // is used ??
|
|
291
291
|
globals.DOWNLOAD_TRANSCRIPT = res['DOWNLOAD_TRANSCRIPT'];
|
|
292
292
|
globals.RATE_CHAT = res['RATE_CHAT']; // is used ??
|
|
293
|
-
globals.WELCOME = res['
|
|
294
|
-
globals.WELCOME_TITLE = res['
|
|
295
|
-
globals.WELCOME_MSG = res['
|
|
293
|
+
globals.WELCOME = res['WELLCOME'];
|
|
294
|
+
globals.WELCOME_TITLE = res['WELLCOME_TITLE'];
|
|
295
|
+
globals.WELCOME_MSG = res['WELLCOME_MSG'];
|
|
296
296
|
globals.OPTIONS = res['OPTIONS'];
|
|
297
297
|
globals.SOUND_ON = res['SOUND_ON'];
|
|
298
298
|
globals.SOUND_OFF = res['SOUND_OFF'];
|
|
@@ -317,7 +317,9 @@ export class TranslatorService {
|
|
|
317
317
|
globals.LABEL_PREVIEW = res['LABEL_PREVIEW']
|
|
318
318
|
globals.LABEL_ERROR_FIELD_REQUIRED= res['LABEL_ERROR_FIELD_REQUIRED']
|
|
319
319
|
|
|
320
|
+
console.log('gggggg', globals.welcomeTitle)
|
|
320
321
|
if (!globals.welcomeTitle) {
|
|
322
|
+
|
|
321
323
|
globals.welcomeTitle = globals.WELCOME_TITLE; /** Set the widget welcome message. Value type : string */
|
|
322
324
|
}
|
|
323
325
|
if (!globals.welcomeMsg) {
|
|
@@ -7,7 +7,7 @@ export const BRAND_BASE_INFO: { [key: string] : string} ={
|
|
|
7
7
|
FAVICON: "https://tiledesk.com/wp-content/uploads/2022/07/tiledesk_v13-300x300.png",
|
|
8
8
|
META_TITLE:"Design Studio",
|
|
9
9
|
LOGO_CHAT:"https://widget.tiledesk.com/v2/assets/images/tiledesk_logo_white_small.svg",
|
|
10
|
-
POWERED_BY:"<a tabindex='-1' target='_blank' ref='https://www.tiledesk.com/?utm_source=widget'><img src='https://support-pre.tiledesk.com/dashboard/assets/img/logos/tiledesk-solo_logo_new_gray.svg'/><span>Powered by
|
|
10
|
+
POWERED_BY:"<a tabindex='-1' target='_blank' ref='https://www.tiledesk.com/?utm_source=widget'><img src='https://support-pre.tiledesk.com/dashboard/assets/img/logos/tiledesk-solo_logo_new_gray.svg'/><span>Powered by Tiledesk</span></a>",
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
export const LOGOS_ITEMS: { [key: string] : { label: string, icon: string }} ={
|
|
@@ -1710,13 +1710,14 @@
|
|
|
1710
1710
|
<div class="row method_container">
|
|
1711
1711
|
<button class="btn btn-light" onclick="onClickTestButton('open')">Open <em class="fa-arrow-up fa"></em></button>
|
|
1712
1712
|
<button class="btn btn-light" onclick="onClickTestButton('close')">Close <em class="fa fa-arrow-down"></em></button>
|
|
1713
|
-
<button class="btn btn-light" onclick="onClickTestButton('hide')">Hide
|
|
1714
|
-
<button class="btn btn-light" onclick="onClickTestButton('show')">Show
|
|
1715
|
-
<button class="btn btn-light" onclick="onClickTestButton('startConversation')">Start Conversation
|
|
1713
|
+
<button class="btn btn-light" onclick="onClickTestButton('hide')">Hide <em class="fa fa-eye-slash"></em></button>
|
|
1714
|
+
<button class="btn btn-light" onclick="onClickTestButton('show')">Show <em class="fa fa-eye"></em></button>
|
|
1715
|
+
<button class="btn btn-light" onclick="onClickTestButton('startConversation')">Start Conversation <em class="fa fa-play"></em></button>
|
|
1716
|
+
<button class="btn btn-light" onclick="onClickTestButton('clearStorage')">Clear data <em class="fa fa-trash"></em></button>
|
|
1716
1717
|
<button class="btn btn-light" onclick="onClickTestButton('dispose')">Dispose</button>
|
|
1717
1718
|
<button class="btn btn-light" onclick="onClickTestButton('showCallout')">Show callout</button>
|
|
1718
|
-
<button class="btn btn-light" onclick="onClickTestButton('reInit')">ReInit
|
|
1719
|
-
<button class="btn btn-light" onclick="onClickTestButton('restart')">ReStart
|
|
1719
|
+
<button class="btn btn-light" onclick="onClickTestButton('reInit')">ReInit <em class="fa fa-rotate-right"></em></button>
|
|
1720
|
+
<button class="btn btn-light" onclick="onClickTestButton('restart')">ReStart <em class="fa fa-rotate-right"></em></button>
|
|
1720
1721
|
<button class="btn btn-light" onclick="onClickTestButton('logout')">LogOut</button>
|
|
1721
1722
|
</div>
|
|
1722
1723
|
<div class="row section">
|