@bcc-code/vue-bcc-chat-ui 3.9.0 → 3.10.0
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/style.css +1 -1
- package/dist/vue-bcc-chat-ui.js +18334 -18334
- package/package.json +10 -10
- package/src/components/BccCometChatFullScreenViewer.vue +3 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@bcc-code/vue-bcc-chat-ui",
|
|
3
3
|
"author": "bcc-code",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.10.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"private": false,
|
|
8
8
|
"files": [
|
|
@@ -33,22 +33,22 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/dompurify": "^3.0.5",
|
|
36
|
-
"@types/markdown-it": "^
|
|
37
|
-
"@types/node": "^20.12.
|
|
38
|
-
"@vitejs/plugin-vue": "^5.0.
|
|
36
|
+
"@types/markdown-it": "^14.1.1",
|
|
37
|
+
"@types/node": "^20.12.13",
|
|
38
|
+
"@vitejs/plugin-vue": "^5.0.5",
|
|
39
39
|
"path": "^0.12.7",
|
|
40
|
-
"sass": "^1.77.
|
|
40
|
+
"sass": "^1.77.4",
|
|
41
41
|
"typescript": "^5.4.5",
|
|
42
|
-
"vite": "^5.2.
|
|
42
|
+
"vite": "^5.2.12",
|
|
43
43
|
"vite-plugin-dts": "^3.9.1",
|
|
44
44
|
"vue": "^3.4.27"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@cometchat/chat-sdk-javascript": "4.0.5",
|
|
48
|
-
"@cometchat/chat-uikit-vue": "4.3.
|
|
49
|
-
"@cometchat/uikit-resources": "4.3.
|
|
50
|
-
"@cometchat/uikit-shared": "4.3.
|
|
51
|
-
"dompurify": "^3.1.
|
|
48
|
+
"@cometchat/chat-uikit-vue": "4.3.8",
|
|
49
|
+
"@cometchat/uikit-resources": "4.3.8",
|
|
50
|
+
"@cometchat/uikit-shared": "4.3.10",
|
|
51
|
+
"dompurify": "^3.1.5",
|
|
52
52
|
"jwt-decode": "^4.0.0",
|
|
53
53
|
"markdown-it": "^14.1.0",
|
|
54
54
|
"panzoom": "^9.4.3"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div class="cc__imageviewer__full-screen-viewer">
|
|
3
3
|
<div class="cc__imageviewer__zoom-container" ref="zoomContainer">
|
|
4
4
|
<img class="cc__imageviewer__loading" :src="props.placeholderImage ?? placeholderIcon" v-if="!isImageLoaded"/>
|
|
5
|
-
<img :src="props.URL" @load="imageLoaded"/>
|
|
5
|
+
<img :src="proxyImage(props.URL)" @load="imageLoaded"/>
|
|
6
6
|
</div>
|
|
7
7
|
</div>
|
|
8
8
|
<div class="cc__imageviewer__button cc__imageviewer__close-button" @click="dispatchCloseClickEvent">
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
import { ref, onMounted, onBeforeUnmount } from 'vue';
|
|
18
18
|
import { Close2xIcon, CometChatIcon } from '@cometchat/chat-uikit-vue';
|
|
19
19
|
import createPanZoom from 'panzoom';
|
|
20
|
+
import { proxyImage } from '../chat/data';
|
|
20
21
|
|
|
21
22
|
if (!window.customElements.get('cometchat-icon')) {
|
|
22
23
|
window.customElements.define('cometchat-icon', CometChatIcon);
|
|
@@ -119,5 +120,6 @@ img {
|
|
|
119
120
|
|
|
120
121
|
.cc__imageviewer__download-button {
|
|
121
122
|
top: 49px;
|
|
123
|
+
margin-top: env(safe-area-inset-top);
|
|
122
124
|
}
|
|
123
125
|
</style>
|