@bcc-code/vue-bcc-chat-ui 3.0.0-alpha.3 → 3.0.0-alpha.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/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.0.0-alpha.3",
5
+ "version": "3.0.0-alpha.5",
6
6
  "type": "module",
7
7
  "private": false,
8
8
  "files": [
@@ -120,9 +120,18 @@ onUnmounted(async () => {
120
120
  <span>Waiting for connection...</span>
121
121
  </div>
122
122
  </div>
123
- <div class="bcc-chat-message-list-offline">
123
+ <div v-else-if="chat.onlineStatus.value === 'online'" class="bcc-chat-message-list-offline">
124
124
  <span>Waiting for connection...</span>
125
125
  </div>
126
+ <div v-else-if="!!chatGroup" class="bcc-chat-message-list-offline">
127
+ <span>Loading chat...</span>
128
+ </div>
129
+ <div v-else-if="chat.onlineMode.value === 'offline'" class="bcc-chat-message-list-offline">
130
+ <span>Waiting for network...</span>
131
+ </div>
132
+ <div v-else class="bcc-chat-message-list-offline">
133
+ <span>Loading...</span>
134
+ </div>
126
135
  </div>
127
136
  </template>
128
137
 
@@ -246,7 +255,6 @@ accent900: text in avatar
246
255
  align-items: center;
247
256
  font: 700 22px sans-serif;
248
257
  color: #bcbcbc;
249
- z-index: -1;
250
258
  }
251
259
 
252
260
  .cc-messagecomposer__emojikeyboard {