@chat21/chat21-web-widget 5.1.32-rc9 → 5.1.33-rc11
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/.angular-mcp-cache/package.json +1 -0
- package/.cursor/angular18-accessibility-auditor-skill.md +442 -0
- package/.cursor/mcp.json +15 -0
- package/.github/workflows/playwright.yml +27 -0
- package/.playwright-mcp/console-2026-05-08T15-31-09-000Z.log +17 -0
- package/.playwright-mcp/console-2026-05-08T15-32-19-412Z.log +89 -0
- package/.playwright-mcp/console-2026-05-08T16-18-48-424Z.log +133 -0
- package/.playwright-mcp/console-2026-05-11T12-54-06-869Z.log +13 -0
- package/.playwright-mcp/console-2026-05-11T12-54-56-229Z.log +147 -0
- package/.playwright-mcp/console-2026-05-11T12-55-47-174Z.log +183 -0
- package/.playwright-mcp/console-2026-05-11T15-34-03-590Z.log +210 -0
- package/.playwright-mcp/console-2026-05-12T15-07-31-880Z.log +118 -0
- package/.playwright-mcp/page-2026-05-08T15-32-19-900Z.yml +851 -0
- package/.playwright-mcp/page-2026-05-08T15-32-47-264Z.yml +857 -0
- package/.playwright-mcp/page-2026-05-08T15-33-17-089Z.yml +1110 -0
- package/.playwright-mcp/page-2026-05-08T15-33-23-486Z.yml +1069 -0
- package/.playwright-mcp/page-2026-05-08T15-33-45-390Z.yml +1076 -0
- package/.playwright-mcp/page-2026-05-08T15-33-52-666Z.yml +1072 -0
- package/.playwright-mcp/page-2026-05-08T15-34-01-338Z.yml +1085 -0
- package/.playwright-mcp/page-2026-05-08T15-34-07-227Z.yml +1072 -0
- package/.playwright-mcp/page-2026-05-08T15-34-13-875Z.yml +1072 -0
- package/.playwright-mcp/page-2026-05-08T15-34-21-885Z.yml +1109 -0
- package/.playwright-mcp/page-2026-05-08T15-34-32-755Z.yml +1109 -0
- package/.playwright-mcp/page-2026-05-08T15-35-09-607Z.yml +1119 -0
- package/.playwright-mcp/page-2026-05-08T15-35-14-242Z.yml +1109 -0
- package/.playwright-mcp/page-2026-05-08T16-18-48-671Z.yml +44 -0
- package/.playwright-mcp/page-2026-05-08T16-18-52-753Z.png +0 -0
- package/.playwright-mcp/page-2026-05-08T16-19-13-919Z.yml +68 -0
- package/.playwright-mcp/page-2026-05-08T16-19-17-977Z.png +0 -0
- package/.playwright-mcp/page-2026-05-08T16-19-25-733Z.yml +120 -0
- package/.playwright-mcp/page-2026-05-08T16-19-29-252Z.png +0 -0
- package/.playwright-mcp/page-2026-05-08T16-19-39-269Z.yml +80 -0
- package/.playwright-mcp/page-2026-05-08T16-19-43-915Z.png +0 -0
- package/.playwright-mcp/page-2026-05-08T16-20-04-407Z.yml +81 -0
- package/.playwright-mcp/page-2026-05-08T16-20-08-984Z.png +0 -0
- package/.playwright-mcp/page-2026-05-08T16-20-32-397Z.png +0 -0
- package/.playwright-mcp/page-2026-05-08T16-20-58-658Z.png +0 -0
- package/.playwright-mcp/page-2026-05-08T16-21-12-320Z.yml +86 -0
- package/.playwright-mcp/page-2026-05-08T16-21-39-154Z.yml +91 -0
- package/.playwright-mcp/page-2026-05-08T16-21-45-420Z.png +0 -0
- package/.playwright-mcp/page-2026-05-08T16-22-21-062Z.yml +0 -0
- package/.playwright-mcp/page-2026-05-08T16-22-58-232Z.yml +91 -0
- package/.playwright-mcp/page-2026-05-08T16-23-36-520Z.yml +0 -0
- package/.playwright-mcp/page-2026-05-08T16-23-46-805Z.yml +100 -0
- package/.playwright-mcp/page-2026-05-08T16-23-55-169Z.png +0 -0
- package/.playwright-mcp/page-2026-05-08T16-24-26-574Z.yml +91 -0
- package/.playwright-mcp/page-2026-05-08T16-25-34-414Z.png +0 -0
- package/.playwright-mcp/page-2026-05-08T16-25-59-831Z.png +0 -0
- package/.playwright-mcp/page-2026-05-08T16-26-21-809Z.yml +91 -0
- package/.playwright-mcp/page-2026-05-08T16-26-47-443Z.yml +105 -0
- package/.playwright-mcp/page-2026-05-08T16-26-56-136Z.png +0 -0
- package/.playwright-mcp/page-2026-05-08T16-27-59-610Z.yml +48 -0
- package/.playwright-mcp/page-2026-05-11T12-54-07-180Z.yml +44 -0
- package/.playwright-mcp/page-2026-05-11T12-54-56-946Z.yml +4 -0
- package/.playwright-mcp/page-2026-05-11T12-55-47-503Z.yml +24 -0
- package/.playwright-mcp/page-2026-05-11T12-56-00-766Z.yml +28 -0
- package/.playwright-mcp/page-2026-05-11T12-56-06-438Z.yml +90 -0
- package/.playwright-mcp/page-2026-05-11T12-57-56-838Z.yml +106 -0
- package/.playwright-mcp/page-2026-05-11T12-58-00-124Z.yml +106 -0
- package/.playwright-mcp/page-2026-05-11T12-59-08-836Z.yml +61 -0
- package/.playwright-mcp/page-2026-05-11T12-59-12-088Z.yml +61 -0
- package/.playwright-mcp/page-2026-05-11T12-59-26-215Z.yml +69 -0
- package/.playwright-mcp/page-2026-05-11T12-59-29-519Z.yml +69 -0
- package/.playwright-mcp/page-2026-05-11T12-59-37-309Z.yml +0 -0
- package/.playwright-mcp/page-2026-05-11T12-59-39-968Z.yml +79 -0
- package/.playwright-mcp/page-2026-05-11T12-59-45-983Z.yml +78 -0
- package/.playwright-mcp/page-2026-05-11T12-59-49-951Z.yml +78 -0
- package/.playwright-mcp/page-2026-05-11T15-34-04-515Z.yml +0 -0
- package/.playwright-mcp/page-2026-05-12T15-07-32-171Z.yml +44 -0
- package/.playwright-mcp/page-2026-05-12T15-08-09-820Z.yml +119 -0
- package/CHANGELOG.md +61 -4
- package/angular.json +20 -3
- package/deploy_amazon_beta.sh +7 -17
- package/deploy_amazon_prod.sh +41 -0
- package/docs/TILEDESK_WIDGET_ACCESSIBILITY_STATEMENT_COMPLETE.md +379 -0
- package/env.sample +3 -2
- package/mocks/voice-websocket-mock/server.cjs +245 -0
- package/package.json +7 -3
- package/playwright.config.ts +41 -0
- package/src/app/app.component.html +2 -2
- package/src/app/app.component.scss +25 -14
- package/src/app/app.component.spec.ts +21 -6
- package/src/app/app.module.ts +4 -0
- package/src/app/component/conversation-detail/conversation/conversation.component.html +19 -11
- package/src/app/component/conversation-detail/conversation/conversation.component.scss +28 -0
- package/src/app/component/conversation-detail/conversation/conversation.component.spec.ts +644 -75
- package/src/app/component/conversation-detail/conversation/conversation.component.ts +63 -17
- package/src/app/component/conversation-detail/conversation-audio-recorder/conversation-audio-recorder.component.html +25 -13
- package/src/app/component/conversation-detail/conversation-audio-recorder/conversation-audio-recorder.component.spec.ts +123 -5
- package/src/app/component/conversation-detail/conversation-audio-recorder/conversation-audio-recorder.component.ts +1 -0
- package/src/app/component/conversation-detail/conversation-content/conversation-content.component.html +17 -7
- package/src/app/component/conversation-detail/conversation-content/conversation-content.component.scss +15 -3
- package/src/app/component/conversation-detail/conversation-content/conversation-content.component.spec.ts +242 -149
- package/src/app/component/conversation-detail/conversation-content/conversation-content.component.ts +7 -6
- package/src/app/component/conversation-detail/conversation-emojii/conversation-emojii.component.spec.ts +53 -3
- package/src/app/component/conversation-detail/conversation-footer/conversation-footer.component copy.html +172 -0
- package/src/app/component/conversation-detail/conversation-footer/conversation-footer.component.html +112 -61
- package/src/app/component/conversation-detail/conversation-footer/conversation-footer.component.scss +133 -16
- package/src/app/component/conversation-detail/conversation-footer/conversation-footer.component.spec.ts +452 -78
- package/src/app/component/conversation-detail/conversation-footer/conversation-footer.component.ts +198 -84
- package/src/app/component/conversation-detail/conversation-header/conversation-header.component.html +113 -53
- package/src/app/component/conversation-detail/conversation-header/conversation-header.component.scss +12 -4
- package/src/app/component/conversation-detail/conversation-header/conversation-header.component.spec.ts +274 -29
- package/src/app/component/conversation-detail/conversation-internal-frame/conversation-internal-frame.component.html +23 -9
- package/src/app/component/conversation-detail/conversation-internal-frame/conversation-internal-frame.component.spec.ts +80 -8
- package/src/app/component/conversation-detail/conversation-preview/conversation-preview.component.html +29 -23
- package/src/app/component/conversation-detail/conversation-preview/conversation-preview.component.spec.ts +185 -16
- package/src/app/component/conversation-detail/conversation-preview/conversation-preview.component.ts +34 -14
- package/src/app/component/conversation-detail/stream-audio-spectrum/stream-audio-spectrum.component.html +46 -18
- package/src/app/component/conversation-detail/stream-audio-spectrum/stream-audio-spectrum.component.scss +60 -2
- package/src/app/component/conversation-detail/stream-audio-spectrum/stream-audio-spectrum.component.ts +135 -5
- package/src/app/component/error-alert/error-alert.component.spec.ts +65 -5
- package/src/app/component/eyeeye-catcher-card/eyeeye-catcher-card.component.html +16 -7
- package/src/app/component/eyeeye-catcher-card/eyeeye-catcher-card.component.scss +21 -0
- package/src/app/component/eyeeye-catcher-card/eyeeye-catcher-card.component.spec.ts +89 -7
- package/src/app/component/form/form-builder/form-builder.component.html +1 -1
- package/src/app/component/form/form-builder/form-builder.component.spec.ts +163 -21
- package/src/app/component/form/inputs/form-checkbox/form-checkbox.component.html +8 -4
- package/src/app/component/form/inputs/form-checkbox/form-checkbox.component.scss +10 -5
- package/src/app/component/form/inputs/form-checkbox/form-checkbox.component.spec.ts +90 -16
- package/src/app/component/form/inputs/form-checkbox/form-checkbox.component.ts +26 -0
- package/src/app/component/form/inputs/form-label/form-label.component.spec.ts +45 -11
- package/src/app/component/form/inputs/form-radio-button/form-radio-button.component.spec.ts +24 -6
- package/src/app/component/form/inputs/form-select/form-select.component.spec.ts +14 -5
- package/src/app/component/form/inputs/form-text/form-text.component.html +14 -12
- package/src/app/component/form/inputs/form-text/form-text.component.scss +11 -1
- package/src/app/component/form/inputs/form-text/form-text.component.spec.ts +113 -17
- package/src/app/component/form/inputs/form-text/form-text.component.ts +35 -3
- package/src/app/component/form/inputs/form-textarea/form-textarea.component.html +13 -11
- package/src/app/component/form/inputs/form-textarea/form-textarea.component.scss +6 -5
- package/src/app/component/form/inputs/form-textarea/form-textarea.component.spec.ts +149 -13
- package/src/app/component/form/inputs/form-textarea/form-textarea.component.ts +26 -0
- package/src/app/component/form/prechat-form/prechat-form.component.html +14 -11
- package/src/app/component/form/prechat-form/prechat-form.component.spec.ts +102 -10
- package/src/app/component/form/prechat-form/prechat-form.component.ts +8 -1
- package/src/app/component/form/prechat-form-test-mock.ts +35 -0
- package/src/app/component/home/home.component.html +38 -31
- package/src/app/component/home/home.component.scss +4 -2
- package/src/app/component/home/home.component.spec.ts +226 -11
- package/src/app/component/home-conversations/home-conversations.component.html +30 -26
- package/src/app/component/home-conversations/home-conversations.component.scss +3 -0
- package/src/app/component/home-conversations/home-conversations.component.spec.ts +212 -36
- package/src/app/component/last-message/last-message.component.html +15 -9
- package/src/app/component/last-message/last-message.component.scss +16 -2
- package/src/app/component/last-message/last-message.component.spec.ts +204 -23
- package/src/app/component/launcher-button/launcher-button.component.html +8 -13
- package/src/app/component/launcher-button/launcher-button.component.spec.ts +104 -8
- package/src/app/component/list-all-conversations/list-all-conversations.component.html +12 -17
- package/src/app/component/list-all-conversations/list-all-conversations.component.scss +2 -0
- package/src/app/component/list-conversations/list-conversations.component.html +22 -22
- package/src/app/component/menu-options/menu-options.component.html +30 -20
- package/src/app/component/menu-options/menu-options.component.spec.ts +125 -9
- package/src/app/component/message/audio/audio.component.html +13 -15
- package/src/app/component/message/audio/audio.component.spec.ts +140 -5
- package/src/app/component/message/audio/audio.component.ts +1 -0
- package/src/app/component/message/audio-sync/audio-sync.component.scss +1 -0
- package/src/app/component/message/audio-sync/audio-sync.component.spec.ts +81 -1
- package/src/app/component/message/audio-sync/audio-sync.component.ts +133 -86
- package/src/app/component/message/avatar/avatar.component.html +2 -2
- package/src/app/component/message/avatar/avatar.component.spec.ts +99 -7
- package/src/app/component/message/bubble-message/bubble-message.component.html +39 -52
- package/src/app/component/message/bubble-message/bubble-message.component.scss +59 -1
- package/src/app/component/message/bubble-message/bubble-message.component.spec.ts +154 -57
- package/src/app/component/message/bubble-message/bubble-message.component.ts +152 -110
- package/src/app/component/message/buttons/action-button/action-button.component.html +3 -4
- package/src/app/component/message/buttons/action-button/action-button.component.spec.ts +49 -5
- package/src/app/component/message/buttons/link-button/link-button.component.scss +5 -8
- package/src/app/component/message/buttons/link-button/link-button.component.spec.ts +50 -5
- package/src/app/component/message/buttons/text-button/text-button.component.spec.ts +44 -5
- package/src/app/component/message/carousel/carousel.component.html +29 -16
- package/src/app/component/message/carousel/carousel.component.scss +20 -8
- package/src/app/component/message/carousel/carousel.component.spec.ts +80 -3
- package/src/app/component/message/carousel/carousel.component.ts +16 -0
- package/src/app/component/message/frame/frame.component.html +9 -4
- package/src/app/component/message/frame/frame.component.spec.ts +34 -15
- package/src/app/component/message/frame/frame.component.ts +7 -2
- package/src/app/component/message/html/html.component.html +1 -1
- package/src/app/component/message/html/html.component.scss +1 -1
- package/src/app/component/message/html/html.component.spec.ts +24 -7
- package/src/app/component/message/image/image.component.html +12 -10
- package/src/app/component/message/image/image.component.scss +16 -0
- package/src/app/component/message/image/image.component.spec.ts +101 -15
- package/src/app/component/message/image/image.component.ts +90 -51
- package/src/app/component/message/info-message/info-message.component.spec.ts +26 -14
- package/src/app/component/message/json-sources/json-sources.component.html +38 -0
- package/src/app/component/message/json-sources/json-sources.component.scss +201 -0
- package/src/app/component/message/json-sources/json-sources.component.ts +89 -0
- package/src/app/component/message/like-unlike/like-unlike.component.html +7 -9
- package/src/app/component/message/like-unlike/like-unlike.component.spec.ts +31 -3
- package/src/app/component/message/return-receipt/return-receipt.component.spec.ts +38 -17
- package/src/app/component/message/text/text.component.html +3 -3
- package/src/app/component/message/text/text.component.scss +80 -86
- package/src/app/component/message/text/text.component.spec.ts +106 -13
- package/src/app/component/message-attachment/message-attachment.component.spec.ts +134 -13
- package/src/app/component/selection-department/selection-department.component.html +21 -23
- package/src/app/component/selection-department/selection-department.component.spec.ts +159 -14
- package/src/app/component/selection-department/selection-department.component.ts +8 -1
- package/src/app/component/send-button/send-button.component.html +5 -13
- package/src/app/component/send-button/send-button.component.spec.ts +2 -2
- package/src/app/component/star-rating-widget/star-rating-widget.component.html +51 -81
- package/src/app/directives/tooltip.directive.spec.ts +8 -4
- package/src/app/modals/confirm-close/confirm-close.component.html +20 -8
- package/src/app/modals/confirm-close/confirm-close.component.scss +3 -0
- package/src/app/modals/confirm-close/confirm-close.component.spec.ts +13 -4
- package/src/app/modals/confirm-close/confirm-close.component.ts +8 -1
- package/src/app/pipe/html-entites-encode.pipe.spec.ts +35 -2
- package/src/app/pipe/marked.pipe.spec.ts +38 -2
- package/src/app/pipe/marked.pipe.ts +51 -41
- package/src/app/providers/app-config.service.ts +4 -2
- package/src/app/providers/brand.service.spec.ts +23 -2
- package/src/app/providers/brand.service.ts +1 -1
- package/src/app/providers/global-settings.service.spec.ts +1009 -14
- package/src/app/providers/global-settings.service.ts +59 -2
- package/src/app/providers/json-sources-parser.service.ts +175 -0
- package/src/app/providers/translator.service.ts +24 -6
- package/src/app/providers/tts-audio-playback-coordinator.service.spec.ts +117 -0
- package/src/app/providers/tts-audio-playback-coordinator.service.ts +39 -16
- package/src/app/providers/url-preview.service.ts +82 -0
- package/src/app/providers/voice/audio.types.ts +6 -0
- package/src/app/providers/voice/voice-streaming.service.spec.ts +23 -0
- package/src/app/providers/voice/voice-streaming.service.ts +702 -0
- package/src/app/providers/voice/voice-streaming.types.ts +112 -0
- package/src/app/providers/voice/voice.service.spec.ts +170 -3
- package/src/app/providers/voice/voice.service.ts +691 -17
- package/src/app/sass/_variables.scss +1 -1
- package/src/app/sass/animations.scss +19 -1
- package/src/app/utils/globals.ts +14 -0
- package/src/app/utils/json-sources-utils.ts +27 -0
- package/src/app/utils/url-utils.ts +98 -0
- package/src/app/utils/utils-resources.ts +1 -1
- package/src/assets/i18n/en.json +106 -100
- package/src/assets/i18n/es.json +107 -101
- package/src/assets/i18n/fr.json +107 -101
- package/src/assets/i18n/it.json +107 -99
- package/src/assets/sounds/keyboard.mp3 +0 -0
- package/src/assets/twp/index-dev.html +18 -0
- package/src/assets/twp/tiledesk_widget_files/widget-css-override-example.css +14 -0
- package/src/chat21-core/providers/chat-manager.spec.ts +72 -0
- package/src/chat21-core/providers/scripts/script.service.spec.ts +12 -2
- package/src/chat21-core/utils/constants.ts +4 -0
- package/src/chat21-core/utils/utils-message.ts +23 -1
- package/src/widget-config-template.json +3 -1
- package/src/widget-config.json +28 -27
- package/tests/widget-form-rich.spec.ts +67 -0
- package/tests/widget-index-dev-settings.spec.ts +52 -0
- package/tests/widget-twp-iframe.spec.ts +39 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
- generic [ref=e1]:
|
|
2
|
+
- generic [ref=e4]:
|
|
3
|
+
- banner [ref=e5]:
|
|
4
|
+
- navigation [ref=e6]:
|
|
5
|
+
- generic [ref=e8]:
|
|
6
|
+
- button "Toggle navigation" [ref=e9] [cursor=pointer]:
|
|
7
|
+
- generic [ref=e10]: Toggle navigation
|
|
8
|
+
- img [ref=e14]
|
|
9
|
+
- generic [ref=e16]:
|
|
10
|
+
- heading [level=1] [ref=e17]
|
|
11
|
+
- heading [level=2]
|
|
12
|
+
- generic [ref=e18]:
|
|
13
|
+
- link " Embed" [ref=e28] [cursor=pointer]:
|
|
14
|
+
- /url: ""
|
|
15
|
+
- emphasis [ref=e29]:
|
|
16
|
+
- text: Embed
|
|
17
|
+
- link " Share" [ref=e19] [cursor=pointer]:
|
|
18
|
+
- /url: ""
|
|
19
|
+
- emphasis [ref=e20]:
|
|
20
|
+
- text: Share
|
|
21
|
+
- contentinfo [ref=e21]:
|
|
22
|
+
- link "Powered by Tiledesk" [ref=e23] [cursor=pointer]:
|
|
23
|
+
- /url: https://tiledesk.com/
|
|
24
|
+
- generic [ref=e24]: Powered by
|
|
25
|
+
- img "Tiledesk" [ref=e25]
|
|
26
|
+
- iframe [active] [ref=e27]:
|
|
27
|
+
- region "tiledesk-gab" [ref=f3e220]:
|
|
28
|
+
- link "Salta al campo del messaggio" [ref=f3e221] [cursor=pointer]:
|
|
29
|
+
- /url: "#chat21-main-message-context"
|
|
30
|
+
- generic [ref=f3e224]:
|
|
31
|
+
- button "Riduci a icona la chat" [ref=f3e225] [cursor=pointer]:
|
|
32
|
+
- img [ref=f3e226]
|
|
33
|
+
- button "opzioni" [ref=f3e228] [cursor=pointer]:
|
|
34
|
+
- img [ref=f3e229]
|
|
35
|
+
- button "Massimizza" [ref=f3e232] [cursor=pointer]:
|
|
36
|
+
- img [ref=f3e233]
|
|
37
|
+
- button "Le tue conversazioni" [ref=f3e235] [cursor=pointer]:
|
|
38
|
+
- img [ref=f3e236]
|
|
39
|
+
- generic [ref=f3e240]: tiledesk-gab
|
|
40
|
+
- log "Messaggi della conversazione" [ref=f3e243]:
|
|
41
|
+
- generic [ref=f3e247]:
|
|
42
|
+
- article [ref=f3e249]:
|
|
43
|
+
- img "blank" [ref=f3e253]
|
|
44
|
+
- generic [ref=f3e256]:
|
|
45
|
+
- generic [ref=f3e257]: blank
|
|
46
|
+
- paragraph [ref=f3e261]: Hi, how can I help you?
|
|
47
|
+
- article [ref=f3e299]:
|
|
48
|
+
- paragraph [ref=f3e306]:
|
|
49
|
+
- text: Riga uno del test
|
|
50
|
+
- text: Riga due del test
|
|
51
|
+
- text: Riga tre
|
|
52
|
+
- img [ref=f3e310]
|
|
53
|
+
- article [ref=f3e316]:
|
|
54
|
+
- img "blank" [ref=f3e320]
|
|
55
|
+
- generic [ref=f3e323]:
|
|
56
|
+
- generic [ref=f3e324]: blank
|
|
57
|
+
- paragraph [ref=f3e328]: I didn't understand. Can you rephrase your question?
|
|
58
|
+
- article [ref=f3e357]:
|
|
59
|
+
- 'button "Open image: page-2026-05-08T16-18-52-753Z.png" [ref=f3e363] [cursor=pointer]':
|
|
60
|
+
- img "page-2026-05-08T16-18-52-753Z.png" [ref=f3e364]
|
|
61
|
+
- img [ref=f3e368]
|
|
62
|
+
- article [ref=f3e374]:
|
|
63
|
+
- img "blank" [ref=f3e378]
|
|
64
|
+
- generic [ref=f3e381]:
|
|
65
|
+
- generic [ref=f3e382]: blank
|
|
66
|
+
- paragraph [ref=f3e386]: I didn't understand. Can you rephrase your question?
|
|
67
|
+
- generic [ref=f3e273]:
|
|
68
|
+
- link "Powered by Tiledeskkkkk" [ref=f3e276] [cursor=pointer]:
|
|
69
|
+
- /url: http://www.tiledesk.com/?utm_source=widget
|
|
70
|
+
- img [ref=f3e277]
|
|
71
|
+
- generic [ref=f3e278]: Powered by Tiledeskkkkk
|
|
72
|
+
- generic [ref=f3e279]:
|
|
73
|
+
- button "Allega un file" [ref=f3e281] [cursor=pointer]:
|
|
74
|
+
- img [ref=f3e283]
|
|
75
|
+
- button "Allega un file" [ref=f3e285]
|
|
76
|
+
- textbox "Scrivi la tua domanda..." [active] [ref=f3e287]
|
|
77
|
+
- button "Tieni premuto per registrare un audio" [ref=f3e332] [cursor=pointer]:
|
|
78
|
+
- img [ref=f3e333]
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
- generic [ref=e1]:
|
|
2
|
+
- generic [ref=e4]:
|
|
3
|
+
- banner [ref=e5]:
|
|
4
|
+
- navigation [ref=e6]:
|
|
5
|
+
- generic [ref=e8]:
|
|
6
|
+
- button "Toggle navigation" [ref=e9] [cursor=pointer]:
|
|
7
|
+
- generic [ref=e10]: Toggle navigation
|
|
8
|
+
- img [ref=e14]
|
|
9
|
+
- generic [ref=e16]:
|
|
10
|
+
- heading [level=1] [ref=e17]
|
|
11
|
+
- heading [level=2]
|
|
12
|
+
- generic [ref=e18]:
|
|
13
|
+
- link " Embed" [ref=e28] [cursor=pointer]:
|
|
14
|
+
- /url: ""
|
|
15
|
+
- emphasis [ref=e29]:
|
|
16
|
+
- text: Embed
|
|
17
|
+
- link " Share" [ref=e19] [cursor=pointer]:
|
|
18
|
+
- /url: ""
|
|
19
|
+
- emphasis [ref=e20]:
|
|
20
|
+
- text: Share
|
|
21
|
+
- contentinfo [ref=e21]:
|
|
22
|
+
- link "Powered by Tiledesk" [ref=e23] [cursor=pointer]:
|
|
23
|
+
- /url: https://tiledesk.com/
|
|
24
|
+
- generic [ref=e24]: Powered by
|
|
25
|
+
- img "Tiledesk" [ref=e25]
|
|
26
|
+
- iframe [active] [ref=e27]:
|
|
27
|
+
- region "tiledesk-gab" [ref=f3e220]:
|
|
28
|
+
- link "Salta al campo del messaggio" [ref=f3e221] [cursor=pointer]:
|
|
29
|
+
- /url: "#chat21-main-message-context"
|
|
30
|
+
- generic [ref=f3e224]:
|
|
31
|
+
- button "Riduci a icona la chat" [ref=f3e225] [cursor=pointer]:
|
|
32
|
+
- img [ref=f3e226]
|
|
33
|
+
- button "opzioni" [ref=f3e228] [cursor=pointer]:
|
|
34
|
+
- img [ref=f3e229]
|
|
35
|
+
- button "Massimizza" [ref=f3e232] [cursor=pointer]:
|
|
36
|
+
- img [ref=f3e233]
|
|
37
|
+
- button "Le tue conversazioni" [ref=f3e235] [cursor=pointer]:
|
|
38
|
+
- img [ref=f3e236]
|
|
39
|
+
- generic [ref=f3e240]: tiledesk-gab
|
|
40
|
+
- log "Messaggi della conversazione" [ref=f3e243]:
|
|
41
|
+
- generic [ref=f3e247]:
|
|
42
|
+
- article [ref=f3e249]:
|
|
43
|
+
- img "blank" [ref=f3e253]
|
|
44
|
+
- generic [ref=f3e256]:
|
|
45
|
+
- generic [ref=f3e257]: blank
|
|
46
|
+
- paragraph [ref=f3e261]: Hi, how can I help you?
|
|
47
|
+
- article [ref=f3e299]:
|
|
48
|
+
- paragraph [ref=f3e306]:
|
|
49
|
+
- text: Riga uno del test
|
|
50
|
+
- text: Riga due del test
|
|
51
|
+
- text: Riga tre
|
|
52
|
+
- img [ref=f3e310]
|
|
53
|
+
- article [ref=f3e316]:
|
|
54
|
+
- img "blank" [ref=f3e320]
|
|
55
|
+
- generic [ref=f3e323]:
|
|
56
|
+
- generic [ref=f3e324]: blank
|
|
57
|
+
- paragraph [ref=f3e328]: I didn't understand. Can you rephrase your question?
|
|
58
|
+
- article [ref=f3e357]:
|
|
59
|
+
- 'button "Open image: page-2026-05-08T16-18-52-753Z.png" [ref=f3e363] [cursor=pointer]':
|
|
60
|
+
- img "page-2026-05-08T16-18-52-753Z.png" [ref=f3e364]
|
|
61
|
+
- img [ref=f3e368]
|
|
62
|
+
- article [ref=f3e374]:
|
|
63
|
+
- img "blank" [ref=f3e378]
|
|
64
|
+
- generic [ref=f3e381]:
|
|
65
|
+
- generic [ref=f3e382]: blank
|
|
66
|
+
- paragraph [ref=f3e386]: I didn't understand. Can you rephrase your question?
|
|
67
|
+
- generic [ref=f3e273]:
|
|
68
|
+
- link "Powered by Tiledeskkkkk" [ref=f3e276] [cursor=pointer]:
|
|
69
|
+
- /url: http://www.tiledesk.com/?utm_source=widget
|
|
70
|
+
- img [ref=f3e277]
|
|
71
|
+
- generic [ref=f3e278]: Powered by Tiledeskkkkk
|
|
72
|
+
- generic [ref=f3e279]:
|
|
73
|
+
- button "Allega un file" [ref=f3e281] [cursor=pointer]:
|
|
74
|
+
- img [ref=f3e283]
|
|
75
|
+
- button "Allega un file" [ref=f3e285]
|
|
76
|
+
- textbox "Scrivi la tua domanda..." [active] [ref=f3e287]
|
|
77
|
+
- button "Tieni premuto per registrare un audio" [ref=f3e332] [cursor=pointer]:
|
|
78
|
+
- img [ref=f3e333]
|
|
File without changes
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
- generic [active] [ref=e1]:
|
|
2
|
+
- generic [ref=e4]:
|
|
3
|
+
- banner [ref=e5]:
|
|
4
|
+
- navigation [ref=e6]:
|
|
5
|
+
- generic [ref=e7]:
|
|
6
|
+
- img [ref=e9]
|
|
7
|
+
- generic [ref=e10]:
|
|
8
|
+
- list [ref=e11]:
|
|
9
|
+
- listitem [ref=e12]:
|
|
10
|
+
- link "WEB SDK & Docs" [ref=e13] [cursor=pointer]:
|
|
11
|
+
- /url: https://developer.tiledesk.com/widget/web-sdk
|
|
12
|
+
- text: WEB SDK & Docs
|
|
13
|
+
- listitem [ref=e14]:
|
|
14
|
+
- link "Pricing" [ref=e15] [cursor=pointer]:
|
|
15
|
+
- /url: https://www.tiledesk.com/pricing-cloud/
|
|
16
|
+
- text: Pricing
|
|
17
|
+
- listitem [ref=e16]:
|
|
18
|
+
- link "Blog" [ref=e17] [cursor=pointer]:
|
|
19
|
+
- /url: https://www.tiledesk.com/blog/
|
|
20
|
+
- text: Blog
|
|
21
|
+
- list [ref=e18]:
|
|
22
|
+
- listitem [ref=e19]:
|
|
23
|
+
- link "GO TO CONSOLE" [ref=e20] [cursor=pointer]:
|
|
24
|
+
- /url: "#"
|
|
25
|
+
- list [ref=e21]:
|
|
26
|
+
- listitem [ref=e22]:
|
|
27
|
+
- link "GO TO TEST PAGE" [ref=e23] [cursor=pointer]:
|
|
28
|
+
- /url: "#"
|
|
29
|
+
- generic [ref=e25]:
|
|
30
|
+
- heading [level=1] [ref=e26]
|
|
31
|
+
- heading [level=2]
|
|
32
|
+
- generic [ref=e27]:
|
|
33
|
+
- text:
|
|
34
|
+
- link " Share" [ref=e28] [cursor=pointer]:
|
|
35
|
+
- /url: ""
|
|
36
|
+
- emphasis [ref=e29]:
|
|
37
|
+
- text: Share
|
|
38
|
+
- contentinfo [ref=e30]:
|
|
39
|
+
- link "Powered by Tiledesk" [ref=e32] [cursor=pointer]:
|
|
40
|
+
- /url: https://tiledesk.com/
|
|
41
|
+
- generic [ref=e33]: Powered by
|
|
42
|
+
- img "Tiledesk" [ref=e34]
|
|
43
|
+
- iframe [ref=e36]:
|
|
44
|
+
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
- generic [active] [ref=e1]:
|
|
2
|
+
- generic [ref=e4]:
|
|
3
|
+
- banner [ref=e5]:
|
|
4
|
+
- navigation [ref=e6]:
|
|
5
|
+
- generic [ref=e7]:
|
|
6
|
+
- img [ref=e9]
|
|
7
|
+
- generic [ref=e10]:
|
|
8
|
+
- list [ref=e11]:
|
|
9
|
+
- listitem [ref=e12]:
|
|
10
|
+
- link "WEB SDK & Docs" [ref=e13] [cursor=pointer]:
|
|
11
|
+
- /url: https://developer.tiledesk.com/widget/web-sdk
|
|
12
|
+
- text: WEB SDK & Docs
|
|
13
|
+
- listitem [ref=e14]:
|
|
14
|
+
- link "Pricing" [ref=e15] [cursor=pointer]:
|
|
15
|
+
- /url: https://www.tiledesk.com/pricing-cloud/
|
|
16
|
+
- text: Pricing
|
|
17
|
+
- listitem [ref=e16]:
|
|
18
|
+
- link "Blog" [ref=e17] [cursor=pointer]:
|
|
19
|
+
- /url: https://www.tiledesk.com/blog/
|
|
20
|
+
- text: Blog
|
|
21
|
+
- list [ref=e18]:
|
|
22
|
+
- listitem [ref=e19]:
|
|
23
|
+
- link "GO TO CONSOLE" [ref=e20] [cursor=pointer]:
|
|
24
|
+
- /url: "#"
|
|
25
|
+
- list [ref=e21]:
|
|
26
|
+
- listitem [ref=e22]:
|
|
27
|
+
- link "GO TO TEST PAGE" [ref=e23] [cursor=pointer]:
|
|
28
|
+
- /url: "#"
|
|
29
|
+
- generic [ref=e25]:
|
|
30
|
+
- heading [level=1] [ref=e26]
|
|
31
|
+
- heading [level=2]
|
|
32
|
+
- generic [ref=e27]:
|
|
33
|
+
- link " Embed" [ref=e37] [cursor=pointer]:
|
|
34
|
+
- /url: ""
|
|
35
|
+
- emphasis [ref=e38]:
|
|
36
|
+
- text: Embed
|
|
37
|
+
- link " Share" [ref=e28] [cursor=pointer]:
|
|
38
|
+
- /url: ""
|
|
39
|
+
- emphasis [ref=e29]:
|
|
40
|
+
- text: Share
|
|
41
|
+
- contentinfo [ref=e30]:
|
|
42
|
+
- link "Powered by Tiledesk" [ref=e32] [cursor=pointer]:
|
|
43
|
+
- /url: https://tiledesk.com/
|
|
44
|
+
- generic [ref=e33]: Powered by
|
|
45
|
+
- img "Tiledesk" [ref=e34]
|
|
46
|
+
- iframe [ref=e36]:
|
|
47
|
+
- generic [ref=f1e4]:
|
|
48
|
+
- region "Ciao, benvenuto su BrandExample 👋" [ref=f1e6]:
|
|
49
|
+
- generic [ref=f1e8]:
|
|
50
|
+
- generic [ref=f1e9]:
|
|
51
|
+
- button "Expand window" [ref=f1e11] [cursor=pointer]:
|
|
52
|
+
- img [ref=f1e12]
|
|
53
|
+
- button "Riduci a icona la chat" [ref=f1e15] [cursor=pointer]:
|
|
54
|
+
- img [ref=f1e16]
|
|
55
|
+
- generic [ref=f1e18]:
|
|
56
|
+
- img [ref=f1e20]
|
|
57
|
+
- generic [ref=f1e21]:
|
|
58
|
+
- heading "Ciao, benvenuto su BrandExample 👋" [level=1] [ref=f1e22]
|
|
59
|
+
- paragraph [ref=f1e23]: Come possiamo aiutarti?
|
|
60
|
+
- generic [ref=f1e30]:
|
|
61
|
+
- generic [ref=f1e31]:
|
|
62
|
+
- generic:
|
|
63
|
+
- generic [ref=f1e32]: Le tue conversazioni
|
|
64
|
+
- button "vedi tutte" [ref=f1e33] [cursor=pointer]:
|
|
65
|
+
- generic [ref=f1e34]: vedi tutte
|
|
66
|
+
- img [ref=f1e35]
|
|
67
|
+
- button "Nuova conversazione" [ref=f1e40] [cursor=pointer]:
|
|
68
|
+
- img [ref=f1e42]
|
|
69
|
+
- generic [ref=f1e44]: Nuova conversazione
|
|
70
|
+
- generic [ref=f1e47]: Vi risponderemo appena possibile
|
|
71
|
+
- generic [ref=f1e48]:
|
|
72
|
+
- link "Powered by Tiledeskkkkk" [ref=f1e51] [cursor=pointer]:
|
|
73
|
+
- /url: http://www.tiledesk.com/?utm_source=widget
|
|
74
|
+
- img [ref=f1e52]
|
|
75
|
+
- generic [ref=f1e53]: Powered by Tiledeskkkkk
|
|
76
|
+
- button "opzioni" [ref=f1e54] [cursor=pointer]
|
|
77
|
+
- region "tiledesk-gab" [ref=f1e56]:
|
|
78
|
+
- link "Salta al campo del messaggio" [ref=f1e57] [cursor=pointer]:
|
|
79
|
+
- /url: "#chat21-main-message-context"
|
|
80
|
+
- generic [ref=f1e60]:
|
|
81
|
+
- button "Riduci a icona la chat" [ref=f1e61] [cursor=pointer]:
|
|
82
|
+
- img [ref=f1e62]
|
|
83
|
+
- button "opzioni" [ref=f1e64] [cursor=pointer]:
|
|
84
|
+
- img [ref=f1e65]
|
|
85
|
+
- button "Massimizza" [ref=f1e68] [cursor=pointer]:
|
|
86
|
+
- img [ref=f1e69]
|
|
87
|
+
- button "Le tue conversazioni" [ref=f1e71] [cursor=pointer]:
|
|
88
|
+
- img [ref=f1e72]
|
|
89
|
+
- generic [ref=f1e76]: tiledesk-gab
|
|
90
|
+
- log "Messaggi della conversazione" [ref=f1e79]:
|
|
91
|
+
- generic [ref=f1e83]:
|
|
92
|
+
- article [ref=f1e85]:
|
|
93
|
+
- img "blank" [ref=f1e89]
|
|
94
|
+
- generic [ref=f1e92]:
|
|
95
|
+
- generic [ref=f1e93]: blank
|
|
96
|
+
- paragraph [ref=f1e97]: Hi, how can I help you?
|
|
97
|
+
- article [ref=f1e99]:
|
|
98
|
+
- paragraph [ref=f1e106]:
|
|
99
|
+
- text: Riga uno del test
|
|
100
|
+
- text: Riga due del test
|
|
101
|
+
- text: Riga tre
|
|
102
|
+
- img [ref=f1e110]
|
|
103
|
+
- article [ref=f1e116]:
|
|
104
|
+
- img "blank" [ref=f1e120]
|
|
105
|
+
- generic [ref=f1e123]:
|
|
106
|
+
- generic [ref=f1e124]: blank
|
|
107
|
+
- paragraph [ref=f1e128]: I didn't understand. Can you rephrase your question?
|
|
108
|
+
- article [ref=f1e130]:
|
|
109
|
+
- 'button "Open image: page-2026-05-08T16-18-52-753Z.png" [ref=f1e136] [cursor=pointer]':
|
|
110
|
+
- img "page-2026-05-08T16-18-52-753Z.png" [ref=f1e137]
|
|
111
|
+
- img [ref=f1e141]
|
|
112
|
+
- article [ref=f1e147]:
|
|
113
|
+
- img "blank" [ref=f1e151]
|
|
114
|
+
- generic [ref=f1e154]:
|
|
115
|
+
- generic [ref=f1e155]: blank
|
|
116
|
+
- paragraph [ref=f1e159]: I didn't understand. Can you rephrase your question?
|
|
117
|
+
- button "Nuova conversazione" [ref=f1e163] [cursor=pointer]:
|
|
118
|
+
- img [ref=f1e165]
|
|
119
|
+
- generic [ref=f1e167]: Nuova conversazione
|
package/CHANGELOG.md
CHANGED
|
@@ -6,9 +6,69 @@
|
|
|
6
6
|
### **Copyrigth**:
|
|
7
7
|
*Tiledesk SRL*
|
|
8
8
|
|
|
9
|
+
# 5.1.33-rc11
|
|
10
|
+
- **changed**: **Stream audio** — updated the streaming/voice-mode footer icon.
|
|
11
|
+
- **added**: **Stream audio** — tooltip on the stream button (i18n key `STREAM_AUDIO`, e.g. “Use voice mode”) via SVG `<title>` and `aria-label`.
|
|
12
|
+
|
|
13
|
+
# 5.1.33-rc10
|
|
14
|
+
- **bug-fixed**: fixed bug with knowledge base json sources without URLs
|
|
15
|
+
|
|
16
|
+
# 5.1.33-rc9
|
|
17
|
+
- **changed**: **Conversation footer** — accessibility-focused markup (ARIA roles/labels, live regions, semantic send control), stream-audio layout (wrapper + voice mode: hide attach/emoji while streaming, inline status, stream button + spectrum), optional **Close chat** action when `closeChatInConversation` is enabled; emoji restriction alert uses assertive live region semantics.
|
|
18
|
+
- **bug-fixed**: **`getConversationDetail` Tiledesk fallback** — when `getMyRequests()` rejects, the conversation is treated as archived (`isConversationArchived = true`) and the handler returns immediately instead of resetting state from an empty fallback payload.
|
|
19
|
+
- **bug-fixed**: **`VoiceService`** — skip Web Audio `createMediaStreamSource` when the `MediaStream` has no audio tracks (avoids `InvalidStateError` under mocked `getUserMedia` in unit tests and edge browsers).
|
|
20
|
+
- **bug-fixed**: **`TtsAudioPlaybackCoordinator`** — avoid emitting a duplicate `isTTSPlaying$` `true` when preempting an already-playing owner (keeps emission sequence stable for consumers).
|
|
21
|
+
- **bug-fixed**: **Unit tests** — aligned `BubbleMessageComponent` specs with `calcImageSize` + DI mocks; `AudioSyncComponent` spec module setup (`declarations` + `CommonModule`) and TTS streaming call expectations; `VoiceService` specs with realistic mic streams and updated expectations for proxy `listening` / `barge_in` (no `setAudioMuted` on those paths); `TtsAudioPlaybackCoordinator` `stopAll` test asserts `_stopAll$` broadcast via spy; `ConversationComponent` spec for Tiledesk error path.
|
|
22
|
+
|
|
23
|
+
# 5.1.33-rc7
|
|
24
|
+
- **added**: added more URL source types in kb_json_sources
|
|
25
|
+
|
|
26
|
+
# 5.1.33-rc5
|
|
27
|
+
- **added**: cssSource tiledeskSettings property to manage and override widget style
|
|
28
|
+
|
|
29
|
+
# 5.1.33-rc4
|
|
30
|
+
- **bug fixed**: bug fixed extractUrlsFromText
|
|
31
|
+
|
|
32
|
+
# 5.1.32-rc18
|
|
33
|
+
- **bug fixed**: bug fix css kb_json_sources
|
|
34
|
+
|
|
35
|
+
# 5.1.32-rc17
|
|
36
|
+
- **bug fixed**: empty message in preview URLs
|
|
37
|
+
|
|
38
|
+
# 5.1.32-rc16
|
|
39
|
+
- **added**: added chat-json-sources to preview URLs
|
|
40
|
+
|
|
41
|
+
# 5.1.32-rc15
|
|
42
|
+
- **changed**: redemptionMs: 800
|
|
43
|
+
|
|
44
|
+
# 5.1.32-rc14
|
|
45
|
+
- **changed**: minor ui fixed
|
|
46
|
+
|
|
47
|
+
# 5.1.32-rc13
|
|
48
|
+
- **added**: VAD speech state events (`speechStart$`, `speechEnd$`) to improve UI/state transitions around user speech
|
|
49
|
+
- **changed**: stream audio footer UI — stream button expands into a “Terminate” pill with animated level bars driven by mic intensity; recorder icon hidden while streaming; textarea width adjusted while streaming
|
|
50
|
+
- **changed**: `StreamAudioSpectrum` — consolidated stream spectrum + stream button visuals into a single component with improved silence vs speaking handling and volume-driven bar heights
|
|
51
|
+
- **changed**: conversation layout while streaming — adjusted received bubble sizing (`fullSizeMessage`) and loading spinner spacing (`fullSize`) for full-width stream mode
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
# 5.1.32-rc12
|
|
56
|
+
- **changed**: voice acquisition blocking during TTS response — pause VAD after user speech ends until the TTS response cycle completes; added safety timeout and `isAcquisitionBlocked$` to drive UI (e.g. greyed spectrum)
|
|
57
|
+
- **chore**: version bump to `5.1.32-rc12`
|
|
58
|
+
|
|
59
|
+
# 5.1.32-rc11
|
|
60
|
+
- **added**: global TTS stop — `TtsAudioPlaybackCoordinator.stopAll()` + `stopAllPlayback$` to abort current and queued TTS playback and reveal full message text
|
|
61
|
+
- **changed**: stop TTS playback when closing stream audio
|
|
62
|
+
- **chore**: version bump to `5.1.32-rc11`
|
|
63
|
+
|
|
64
|
+
# 5.1.32-rc10
|
|
65
|
+
- **added**: TTS playback state (`isTTSPlaying$`) to coordinate voice UI and suppress mic segment emission while the bot is speaking
|
|
66
|
+
- **changed**: stream spectrum theme color turns grey while TTS is playing
|
|
67
|
+
|
|
68
|
+
|
|
9
69
|
# 5.1.32-rc9
|
|
10
70
|
- **added**: mic-triggered TTS interruption — when VAD detects user speech, stop current TTS playback, clear the queue, and reveal the full message text
|
|
11
|
-
- **added**: global TTS
|
|
71
|
+
- **added**: global TTS stop API (`TtsAudioPlaybackCoordinator.stopAll()` + `stopAllPlayback$`) to stop current + queued TTS playback from UI/events (e.g. close stream)
|
|
12
72
|
- **changed**: `chat-audio-sync` TTS playback now streams audio via authenticated POST to `message.metadata.src`, sending `voiceSettings` + `text` and `streaming: true`
|
|
13
73
|
- **changed**: stream UI spectrum — removed circular orb and stretched the spectrum line to fill the `#streamAudioAlert` width with 10px side padding
|
|
14
74
|
- **changed**: conversation content layout while streaming — adjusted received bubble left margin and loading spinner margins for full-size mode
|
|
@@ -143,14 +203,11 @@
|
|
|
143
203
|
- **bug-fixed**: check showEmojiFooterButton to enable/disable emojii
|
|
144
204
|
- **bug-fixed**: markdown is fired as an emojii and blocked by isEmojii check fn
|
|
145
205
|
|
|
146
|
-
<<<<<<< HEAD
|
|
147
|
-
=======
|
|
148
206
|
# 5.1.7-rc7
|
|
149
207
|
- **bug-fixed**: button new_conversation always appear. added subscription to conversationAdded
|
|
150
208
|
|
|
151
209
|
# 5.1.7-rc6
|
|
152
210
|
- **added**: Added MAX_ATTACHMENT_ERROR error message when uploading a file larger than 10 MB
|
|
153
|
-
>>>>>>> master-pre
|
|
154
211
|
|
|
155
212
|
# 5.1.7-rc5
|
|
156
213
|
- **bug-fixed**: bug fixed BUTTON STYLES
|
package/angular.json
CHANGED
|
@@ -45,7 +45,8 @@
|
|
|
45
45
|
"src/environments/real_data/widget-config-native-mqtt.json",
|
|
46
46
|
"src/environments/real_data/widget-config-native-prod.json",
|
|
47
47
|
"src/environments/real_data/widget-config-aws-stage.json",
|
|
48
|
-
"src/environments/real_data/widget-config-aws-aruba.json"
|
|
48
|
+
"src/environments/real_data/widget-config-aws-aruba.json",
|
|
49
|
+
"src/environments/real_data/widget-config-regione-puglia.json"
|
|
49
50
|
],
|
|
50
51
|
"styles": [
|
|
51
52
|
"src/app/sass/styles.scss"
|
|
@@ -161,7 +162,19 @@
|
|
|
161
162
|
"src/styles.scss"
|
|
162
163
|
],
|
|
163
164
|
"scripts": [],
|
|
164
|
-
"codeCoverage": true
|
|
165
|
+
"codeCoverage": true,
|
|
166
|
+
"codeCoverageExclude": [
|
|
167
|
+
"src/chat21-core/providers/firebase/**/*.ts",
|
|
168
|
+
"src/chat21-core/providers/mqtt/**/*.ts",
|
|
169
|
+
"src/main.ts",
|
|
170
|
+
"src/polyfills.ts",
|
|
171
|
+
"src/zone-flag.ts",
|
|
172
|
+
"src/models/**/*.ts",
|
|
173
|
+
"src/chat21-core/models/**/*.ts",
|
|
174
|
+
"src/chat21-core/providers/native/**/*.ts",
|
|
175
|
+
"src/chat21-core/providers/logger/customLogger.ts",
|
|
176
|
+
"src/chat21-core/providers/logger/loggerInstance.ts"
|
|
177
|
+
]
|
|
165
178
|
}
|
|
166
179
|
},
|
|
167
180
|
"e2e": {
|
|
@@ -183,5 +196,9 @@
|
|
|
183
196
|
"defaultConfiguration": "development"
|
|
184
197
|
}
|
|
185
198
|
}
|
|
186
|
-
}
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"cli": {
|
|
202
|
+
"analytics": false
|
|
203
|
+
}
|
|
187
204
|
}
|
package/deploy_amazon_beta.sh
CHANGED
|
@@ -2,16 +2,8 @@
|
|
|
2
2
|
version=`node -e 'console.log(require("./package.json").version)'`
|
|
3
3
|
echo "version $version"
|
|
4
4
|
|
|
5
|
-
npm i
|
|
6
|
-
|
|
7
|
-
cp src/environments/real_data/environment.pre.ts src/environments/environment.pre.ts
|
|
8
|
-
|
|
9
5
|
ng build --configuration="pre" --aot=true --base-href
|
|
10
6
|
|
|
11
|
-
### SET HASHING : START ###
|
|
12
|
-
cp ./src/launch_template.js ./dist/browser/launch.js
|
|
13
|
-
node ./src/build_launch.js
|
|
14
|
-
### SET HASHING : END ###
|
|
15
7
|
|
|
16
8
|
# ########## --->>>> NATIVE-MQTT folder START <<<<<------ ########## #
|
|
17
9
|
|
|
@@ -31,17 +23,15 @@ node ./src/build_launch.js
|
|
|
31
23
|
|
|
32
24
|
|
|
33
25
|
# ########## --->>>> FIREBASE folder START <<<<<------ ########## #
|
|
34
|
-
cd dist
|
|
35
|
-
aws s3 sync . s3://tiledesk-widget-pre/v5/$version/ --cache-control max-age=300
|
|
36
|
-
aws s3 sync . s3://tiledesk-widget-pre/v5
|
|
37
|
-
|
|
38
|
-
aws s3 sync . s3://tiledesk-widget-pre/v5/ --cache-control "no-store,no-cache,private" --exclude='*' --include='launch.js'
|
|
39
|
-
cd ../..
|
|
26
|
+
cd dist
|
|
27
|
+
aws s3 sync . s3://tiledesk-widget-pre/v5/$version/ --cache-control max-age=300
|
|
28
|
+
aws s3 sync . s3://tiledesk-widget-pre/v5/ --cache-control max-age=300
|
|
29
|
+
cd ..
|
|
40
30
|
|
|
41
|
-
aws cloudfront create-invalidation --distribution-id
|
|
42
|
-
|
|
43
|
-
git restore src/environments/environment.pre.ts
|
|
31
|
+
#aws cloudfront create-invalidation --distribution-id E3EJDWEHY08CZZ --paths "/*"
|
|
32
|
+
cd ..
|
|
44
33
|
|
|
34
|
+
aws cloudfront create-invalidation --distribution-id E2V5O0YPR61V8P --paths "/*"
|
|
45
35
|
# echo new version deployed $NEW_VER/$NEW_BUILD/ on s3://tiledesk-widget-pre/v2
|
|
46
36
|
echo new version deployed $version/ on s3://tiledesk-widget-pre/v5 and s3://tiledesk-widget-pre/v5/$version/
|
|
47
37
|
echo available on https://s3.eu-west-1.amazonaws.com/tiledesk-widget-pre/v5/index.html
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# npm version patch
|
|
2
|
+
version=`node -e 'console.log(require("./package.json").version)'`
|
|
3
|
+
echo "version $version"
|
|
4
|
+
|
|
5
|
+
npm i
|
|
6
|
+
|
|
7
|
+
cp src/environments/real_data/environment.prod.ts src/environments/environment.prod.ts
|
|
8
|
+
|
|
9
|
+
# --build-optimizer=false if localstorage is disabled (webview) appears https://github.com/firebase/angularfire/issues/970
|
|
10
|
+
ng build --configuration="prod" --aot=true
|
|
11
|
+
##--base-href='./v5/' --output-hashing none
|
|
12
|
+
|
|
13
|
+
### SET HASHING : START ###
|
|
14
|
+
cp ./src/launch_template.js ./dist/browser/launch.js
|
|
15
|
+
node ./src/build_launch.js
|
|
16
|
+
### SET HASHING : END ###
|
|
17
|
+
|
|
18
|
+
#### FIREBASE #####
|
|
19
|
+
# cd dist
|
|
20
|
+
# # aws s3 sync . s3://tiledesk-widget/v5/latest/
|
|
21
|
+
# aws s3 sync . s3://tiledesk-widget/v5/$version/ --cache-control max-age=300
|
|
22
|
+
# aws s3 sync . s3://tiledesk-widget/v5/ --cache-control max-age=300
|
|
23
|
+
# cd ..
|
|
24
|
+
|
|
25
|
+
# #### MQTT #####
|
|
26
|
+
cd dist/browser
|
|
27
|
+
# aws s3 sync . s3://tiledesk-widget/v5/latest/
|
|
28
|
+
aws s3 sync . s3://tiledesk-widget/v6/$version/ --cache-control max-age=86400 --exclude='launch.js' #8days
|
|
29
|
+
aws s3 sync . s3://tiledesk-widget/v6/$version/ --cache-control "no-store,no-cache,private" --exclude='*' --include='launch.js'
|
|
30
|
+
#aws s3 sync . s3://tiledesk-widget/v6/ --cache-control max-age=86400 --exclude='launch.js' #8days
|
|
31
|
+
#aws s3 sync . s3://tiledesk-widget/v6/ --cache-control "no-store,no-cache,private" --exclude='*' --include='launch.js'
|
|
32
|
+
cd ../..
|
|
33
|
+
|
|
34
|
+
aws cloudfront create-invalidation --distribution-id E3EJDWEHY08CZZ --paths "/*"
|
|
35
|
+
|
|
36
|
+
git restore src/environments/environment.prod.ts
|
|
37
|
+
|
|
38
|
+
echo new version deployed $version on s3://tiledesk-widget/v6
|
|
39
|
+
echo available on https://s3.eu-west-1.amazonaws.com/tiledesk-widget/v6/index.html
|
|
40
|
+
echo https://widget.tiledesk.com/v6/index.html
|
|
41
|
+
echo https://widget.tiledesk.com/v6/$version/index.html
|