@fayz-ai/plugin-conversations 0.24.9 → 0.25.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/{ConversationsPage-I47C36I5.js → ConversationsPage-FW462RLG.js} +7 -9
- package/dist/ConversationsPage-FW462RLG.js.map +1 -0
- package/dist/{chunk-3IQOSA3Y.js → chunk-MXAFTNOA.js} +32 -5
- package/dist/chunk-MXAFTNOA.js.map +1 -0
- package/dist/components/MessagePreview.d.ts +14 -0
- package/dist/components/MessagePreview.d.ts.map +1 -0
- package/dist/index.js +20 -4
- package/dist/index.js.map +1 -1
- package/dist/locales/en.d.ts.map +1 -1
- package/dist/locales/pt-BR.d.ts.map +1 -1
- package/dist/views/ConversationList.d.ts.map +1 -1
- package/dist/views/MediaBubble.d.ts.map +1 -1
- package/dist/views/MessageThread.d.ts.map +1 -1
- package/dist/views/dashboardWidgets.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/ConversationsPage-I47C36I5.js.map +0 -1
- package/dist/chunk-3IQOSA3Y.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { providersApi, isWaitingOnUs, assinarChegada, ConversationsContextProvider, useConversationsStore } from './chunk-
|
|
2
|
-
export { isWaitingOnUs, providersApi } from './chunk-
|
|
1
|
+
import { providersApi, isWaitingOnUs, assinarChegada, ConversationsContextProvider, MessagePreview, useConversationsStore } from './chunk-MXAFTNOA.js';
|
|
2
|
+
export { isWaitingOnUs, providersApi } from './chunk-MXAFTNOA.js';
|
|
3
3
|
import { T, listMessagingChannels, findDedicatedChannel, findFallbackChannel, isPendingChannelStatus, canClaimDedicated, CHANNEL_CLAIM_TIMELINE } from './chunk-W5VV6G35.js';
|
|
4
4
|
export { listMessagingChannels } from './chunk-W5VV6G35.js';
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1049,6 +1049,14 @@ function createConversationsStore(provider) {
|
|
|
1049
1049
|
|
|
1050
1050
|
// src/locales/en.ts
|
|
1051
1051
|
var en = {
|
|
1052
|
+
"conversations.preview.audio": "Voice message",
|
|
1053
|
+
"conversations.preview.image": "Photo",
|
|
1054
|
+
"conversations.preview.video": "Video",
|
|
1055
|
+
"conversations.preview.document": "Document",
|
|
1056
|
+
"conversations.preview.sticker": "Sticker",
|
|
1057
|
+
"conversations.preview.location": "Location",
|
|
1058
|
+
"conversations.preview.contact": "Contact",
|
|
1059
|
+
"conversations.preview.unsupported": "Unsupported message",
|
|
1052
1060
|
"conversations.markRead": "Mark as read",
|
|
1053
1061
|
"conversations.title": "Conversations",
|
|
1054
1062
|
"conversations.subtitle": "Unified inbox across every channel",
|
|
@@ -1146,6 +1154,14 @@ var en = {
|
|
|
1146
1154
|
|
|
1147
1155
|
// src/locales/pt-BR.ts
|
|
1148
1156
|
var ptBR = {
|
|
1157
|
+
"conversations.preview.audio": "Mensagem de voz",
|
|
1158
|
+
"conversations.preview.image": "Foto",
|
|
1159
|
+
"conversations.preview.video": "V\xEDdeo",
|
|
1160
|
+
"conversations.preview.document": "Documento",
|
|
1161
|
+
"conversations.preview.sticker": "Figurinha",
|
|
1162
|
+
"conversations.preview.location": "Localiza\xE7\xE3o",
|
|
1163
|
+
"conversations.preview.contact": "Contato",
|
|
1164
|
+
"conversations.preview.unsupported": "Mensagem n\xE3o suportada",
|
|
1149
1165
|
"conversations.markRead": "Marcar como lida",
|
|
1150
1166
|
"conversations.title": "Conversas",
|
|
1151
1167
|
"conversations.subtitle": "Caixa de entrada unificada de todos os canais",
|
|
@@ -1317,7 +1333,7 @@ function WaitingTable() {
|
|
|
1317
1333
|
// The message, not just the name: half of triage is deciding which of
|
|
1318
1334
|
// five waiting people is the one worth answering first, and that is
|
|
1319
1335
|
// decided by what they said.
|
|
1320
|
-
cell: ({ row }) => /* @__PURE__ */ jsx("span", { className: "line-clamp-1 text-xs text-muted-foreground", children: row.original.lastMessagePreview })
|
|
1336
|
+
cell: ({ row }) => /* @__PURE__ */ jsx("span", { className: "line-clamp-1 text-xs text-muted-foreground", children: /* @__PURE__ */ jsx(MessagePreview, { text: row.original.lastMessagePreview }) })
|
|
1321
1337
|
},
|
|
1322
1338
|
{
|
|
1323
1339
|
id: "channel",
|
|
@@ -2254,7 +2270,7 @@ function createConversationsPlugin(options) {
|
|
|
2254
2270
|
locales: conversationsLocales
|
|
2255
2271
|
};
|
|
2256
2272
|
}
|
|
2257
|
-
var ConversationsPage = React__default.lazy(() => import('./ConversationsPage-
|
|
2273
|
+
var ConversationsPage = React__default.lazy(() => import('./ConversationsPage-FW462RLG.js').then((m) => ({ default: m.ConversationsPage })));
|
|
2258
2274
|
var AtendeAIPage = React__default.lazy(() => import('./AtendeAIPage-PBBMWIDW.js').then((m) => ({ default: m.AtendeAIPage })));
|
|
2259
2275
|
var ConversationsSettingsTab = lazyComponent(() => import('./ConversationsSettings-GORCWUHD.js').then((m) => m.ConversationsSettingsTab));
|
|
2260
2276
|
|