@ezychat/web 0.1.78 → 0.1.80
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-lib/chunks/{admin-Bw0RmdAy.js → admin-D4nMrYTV.js} +48 -5
- package/dist-lib/chunks/{admin-Vk_4QCBI.js → admin-SGy97Cay.js} +46 -5
- package/dist-lib/chunks/{inbox-g6IVD36a.js → inbox-BIHKs_xm.js} +182 -5
- package/dist-lib/chunks/{inbox-BP7OELj9.js → inbox-DaYVsh_k.js} +182 -5
- package/dist-lib/ezychat-web.css +1 -1
- package/dist-lib/index.js +9424 -7113
- package/dist-lib/public/badge-96.png +0 -0
- package/dist-lib/sw.ts +2 -1
- package/dist-lib/types/admin/AgentScheduledTasksCard.d.ts +10 -0
- package/dist-lib/types/admin/MemberChatsField.d.ts +11 -0
- package/dist-lib/types/admin/NewChatSection.d.ts +7 -0
- package/dist-lib/types/admin/ScheduledRunsDialog.d.ts +12 -0
- package/dist-lib/types/admin/ScheduledTaskDialog.d.ts +18 -0
- package/dist-lib/types/admin/scheduled-format.d.ts +16 -0
- package/dist-lib/types/api/ai.d.ts +5 -1
- package/dist-lib/types/api/forward.d.ts +76 -0
- package/dist-lib/types/api/inbox-mutations.d.ts +16 -0
- package/dist-lib/types/api/message-changes.d.ts +24 -2
- package/dist-lib/types/api/new-chat.d.ts +55 -0
- package/dist-lib/types/api/queries.d.ts +98 -8
- package/dist-lib/types/api/scheduled-tasks.d.ts +145 -0
- package/dist-lib/types/api/templates.d.ts +12 -1
- package/dist-lib/types/askezy/AskEzyButton.d.ts +1 -1
- package/dist-lib/types/auth/chat-scope.d.ts +7 -0
- package/dist-lib/types/i18n/resources.d.ts +339 -0
- package/dist-lib/types/inbox/Composer.d.ts +4 -1
- package/dist-lib/types/inbox/ForwardDialog.d.ts +11 -0
- package/dist-lib/types/inbox/MediaView.d.ts +3 -0
- package/dist-lib/types/inbox/MessageActions.d.ts +7 -2
- package/dist-lib/types/inbox/MessageBubble.d.ts +4 -0
- package/dist-lib/types/inbox/NewChatDialog.d.ts +2 -0
- package/dist-lib/types/inbox/ReactionPicker.d.ts +3 -1
- package/dist-lib/types/inbox/ReplyWindow.d.ts +16 -0
- package/dist-lib/types/inbox/message-changes.d.ts +12 -0
- package/dist-lib/types/inbox/useDirectory.d.ts +3 -0
- package/dist-lib/types/lib/file-transfer.d.ts +13 -1
- package/package.json +2 -2
|
@@ -47,7 +47,11 @@ var e = "正在重试…", t = {
|
|
|
47
47
|
search: "没有与“{{query}}”匹配的聊天。",
|
|
48
48
|
resolvedTitle: "没有已解决的聊天",
|
|
49
49
|
resolvedDescription: "这里没有已解决的聊天。",
|
|
50
|
-
tag: "没有带“{{tag}}”标签的聊天。"
|
|
50
|
+
tag: "没有带“{{tag}}”标签的聊天。",
|
|
51
|
+
chosen: {
|
|
52
|
+
title: "还没有聊天",
|
|
53
|
+
description: "管理员尚未为您分配任何未结束的聊天。添加后会立即显示在这里。"
|
|
54
|
+
}
|
|
51
55
|
}
|
|
52
56
|
}, a = {
|
|
53
57
|
group: "群组",
|
|
@@ -172,7 +176,8 @@ var e = "正在重试…", t = {
|
|
|
172
176
|
clean: "没有错误",
|
|
173
177
|
unavailable: "语法检查暂不可用",
|
|
174
178
|
unavailableHint: "AI 连接需要处理。拼写仍会检查,消息也可以正常发送。"
|
|
175
|
-
}
|
|
179
|
+
},
|
|
180
|
+
sentAsFile: "{{name}} 对这个号码来说太大,无法作为视频发送,将以文件形式发送,保持原始画质。"
|
|
176
181
|
}, l = {
|
|
177
182
|
title: "快捷回复",
|
|
178
183
|
noMatch: "没有以“/{{query}}”开头的快捷回复。"
|
|
@@ -385,6 +390,13 @@ var e = "正在重试…", t = {
|
|
|
385
390
|
showOriginal: "显示原文(管理员)",
|
|
386
391
|
hideOriginal: "隐藏原文",
|
|
387
392
|
noText: "没有文字(仅媒体)"
|
|
393
|
+
},
|
|
394
|
+
scheduled: "定时",
|
|
395
|
+
scheduledNamed: "定时 · {{name}}",
|
|
396
|
+
uploadErrors: {
|
|
397
|
+
too_large: "文件太大,无法发送。",
|
|
398
|
+
too_large_as_video: "文件太大,无法通过这个 WhatsApp 号码以视频形式发送。",
|
|
399
|
+
too_large_for_whatsapp: "对这个 WhatsApp 号码来说文件太大。"
|
|
388
400
|
}
|
|
389
401
|
}, m = {
|
|
390
402
|
types: {
|
|
@@ -599,7 +611,8 @@ var e = "正在重试…", t = {
|
|
|
599
611
|
cancel: "取消",
|
|
600
612
|
start: "开始对话",
|
|
601
613
|
startFailed: "无法开始对话",
|
|
602
|
-
listLabel: "群组成员"
|
|
614
|
+
listLabel: "群组成员",
|
|
615
|
+
chosenChatsOnly: "您只能打开管理员为您选择的聊天。"
|
|
603
616
|
}, T = {
|
|
604
617
|
title: "入门",
|
|
605
618
|
ai: "AI 助手",
|
|
@@ -998,6 +1011,168 @@ var e = "正在重试…", t = {
|
|
|
998
1011
|
tipTitle: "什么是群管理员?",
|
|
999
1012
|
tipBody: "WhatsApp 群管理员可以更改群组、添加或移除成员。它在 WhatsApp 中设置,与 EzyChat 管理员不同。"
|
|
1000
1013
|
}, M = {
|
|
1014
|
+
button: "新对话",
|
|
1015
|
+
title: "新对话",
|
|
1016
|
+
description: "给还不在收件箱里的电话号码发消息。",
|
|
1017
|
+
from: "发送号码",
|
|
1018
|
+
businessApi: "WhatsApp Business API",
|
|
1019
|
+
phone: "电话号码",
|
|
1020
|
+
phonePlaceholder: "012-345 6789 或 +65 9123 4567",
|
|
1021
|
+
phoneHint: "马来西亚号码可以 0 开头。其他国家请以 + 和国家代码开头。",
|
|
1022
|
+
phoneInvalid: "请输入电话号码,例如 012-345 6789 或 +65 9123 4567。",
|
|
1023
|
+
willMessage: "将发消息给 {{number}}。",
|
|
1024
|
+
name: "名字(可选)",
|
|
1025
|
+
nameHint: "保存到客户资料。",
|
|
1026
|
+
banTitle: "只给愿意接收消息的人发送",
|
|
1027
|
+
banBody: "如果号码给没有要求联系的人发消息,WhatsApp 可能会封禁该号码。请只在对方同意被联系时发起对话。",
|
|
1028
|
+
apiTitle: "以已批准的模板开始",
|
|
1029
|
+
apiBody: "在 WhatsApp Business API 上,商家必须用 Meta 批准的模板发起对话。客户回复后即可自由输入。",
|
|
1030
|
+
usage: "{{inbox}} 今天已使用 {{used}}/{{limit}} 个新对话。",
|
|
1031
|
+
start: "开始对话",
|
|
1032
|
+
checking: "正在检查 WhatsApp…",
|
|
1033
|
+
next: "选择模板",
|
|
1034
|
+
preparing: "正在检查…",
|
|
1035
|
+
existingTitle: "已在收件箱中",
|
|
1036
|
+
existingBody: "{{number}} 已有对话。",
|
|
1037
|
+
openChat: "打开对话",
|
|
1038
|
+
back: "返回",
|
|
1039
|
+
templateTitle: "选择模板",
|
|
1040
|
+
templateDescription: "发给 {{number}} 的第一条消息。发送后对话才会开始。",
|
|
1041
|
+
paidNote: "每个模板都会与 Meta 开始一次付费对话。营销模板比实用模板更贵。",
|
|
1042
|
+
sendTemplate: "发送模板",
|
|
1043
|
+
sending: "正在发送…",
|
|
1044
|
+
createdToast: "对话已开始。请写第一条消息。",
|
|
1045
|
+
sentToast: "模板已发送。对方回复后即可自由输入。",
|
|
1046
|
+
problems: {
|
|
1047
|
+
not_on_whatsapp: {
|
|
1048
|
+
title: "{{number}} 没有使用 WhatsApp",
|
|
1049
|
+
body: "请检查号码后重试。"
|
|
1050
|
+
},
|
|
1051
|
+
own_number: {
|
|
1052
|
+
title: "这是你自己的号码",
|
|
1053
|
+
body: "请输入客户的号码。"
|
|
1054
|
+
},
|
|
1055
|
+
wa_disconnected: {
|
|
1056
|
+
title: "WhatsApp 未连接",
|
|
1057
|
+
body: "{{inbox}} 已离线,无法检查号码。连接后再试。"
|
|
1058
|
+
},
|
|
1059
|
+
new_chat_daily_limit: {
|
|
1060
|
+
title: "已达每日上限",
|
|
1061
|
+
body: "{{inbox}} 今天已发起 {{limit}} 个新对话。请明天再试。此上限可保护你的号码不被 WhatsApp 封禁。"
|
|
1062
|
+
},
|
|
1063
|
+
new_chat_hourly_limit: {
|
|
1064
|
+
title: "新对话太多",
|
|
1065
|
+
body: "你在过去一小时内已发起 {{hourly}} 个新对话。请稍后再试。"
|
|
1066
|
+
},
|
|
1067
|
+
template_failed: {
|
|
1068
|
+
title: "模板未发送",
|
|
1069
|
+
body: "WhatsApp 未接受该模板,因此没有开始对话。请重试或选择其他模板。"
|
|
1070
|
+
},
|
|
1071
|
+
new_chat_not_allowed: {
|
|
1072
|
+
title: "你不能发起新对话",
|
|
1073
|
+
body: "请管理员在设置中允许。"
|
|
1074
|
+
},
|
|
1075
|
+
other: {
|
|
1076
|
+
title: "出了点问题",
|
|
1077
|
+
body: "请重试。"
|
|
1078
|
+
},
|
|
1079
|
+
invalid_number: {
|
|
1080
|
+
title: "不是电话号码",
|
|
1081
|
+
body: "请输入带国家代码的号码,或以 0 开头的马来西亚号码。"
|
|
1082
|
+
},
|
|
1083
|
+
new_chat_unsupported: {
|
|
1084
|
+
title: "此号码不能发起新对话",
|
|
1085
|
+
body: "请选择另一个 WhatsApp 号码发送。"
|
|
1086
|
+
}
|
|
1087
|
+
},
|
|
1088
|
+
usageNoLimit: "{{inbox}} 今天已发起 {{used}} 个新对话(无每日上限)。"
|
|
1089
|
+
}, N = {
|
|
1090
|
+
action: "转发",
|
|
1091
|
+
lockedReason: "已被 WhatsApp 安全功能锁定",
|
|
1092
|
+
forwarded: "已转发",
|
|
1093
|
+
forwardedMany: "已多次转发",
|
|
1094
|
+
title: "转发消息",
|
|
1095
|
+
description: "最多发送副本到 {{max}} 个聊天或群组。在 WhatsApp 上会显示为“已转发”。",
|
|
1096
|
+
manyTimesNote: "这条消息已被多次转发。WhatsApp 只允许每次转发到一个聊天。",
|
|
1097
|
+
count: "已选 {{count}} / {{max}}",
|
|
1098
|
+
full: "每次最多可转发到 {{max}} 个聊天。",
|
|
1099
|
+
remove: "移除 {{name}}",
|
|
1100
|
+
search: "搜索聊天和群组",
|
|
1101
|
+
listLabel: "可以转发到的聊天",
|
|
1102
|
+
loading: "正在加载聊天…",
|
|
1103
|
+
emptyTitle: "找不到聊天",
|
|
1104
|
+
emptyQuery: "试试其他名字或号码。要给新号码发消息,请使用“新聊天”。",
|
|
1105
|
+
emptyNone: "你还没有可以转发到的聊天。",
|
|
1106
|
+
windowClosedRow: "回复窗口已关闭:请在该聊天中发送模板",
|
|
1107
|
+
otherInbox: "每个聊天会从它自己的 WhatsApp 号码收到这条消息。",
|
|
1108
|
+
cancel: "取消",
|
|
1109
|
+
send: "转发",
|
|
1110
|
+
sendCount_other: "转发到 {{count}} 个聊天",
|
|
1111
|
+
sending: "正在转发…",
|
|
1112
|
+
sentOne: "已转发给 {{name}}",
|
|
1113
|
+
sentMany_other: "已转发到 {{count}} 个聊天",
|
|
1114
|
+
openChat: "打开聊天",
|
|
1115
|
+
problems: {
|
|
1116
|
+
wa_disconnected: {
|
|
1117
|
+
title: "WhatsApp 未连接",
|
|
1118
|
+
body: "{{inbox}} 恢复在线后再转发。"
|
|
1119
|
+
},
|
|
1120
|
+
window_closed: {
|
|
1121
|
+
title: "回复窗口已关闭",
|
|
1122
|
+
body: "你选的一个聊天在过去 24 小时内没有发消息。请移除它,或在该聊天中发送模板。"
|
|
1123
|
+
},
|
|
1124
|
+
safety_locked: {
|
|
1125
|
+
title: "此文件已被锁定",
|
|
1126
|
+
body: "WhatsApp 安全功能发现此文件有危险,不能转发。"
|
|
1127
|
+
},
|
|
1128
|
+
rate_limited: {
|
|
1129
|
+
title: "转发太多",
|
|
1130
|
+
body: "你在过去一分钟内转发了很多消息。请稍等再试。"
|
|
1131
|
+
},
|
|
1132
|
+
media_unavailable: {
|
|
1133
|
+
title: "文件不可用",
|
|
1134
|
+
body: "无法从 WhatsApp 下载此文件,所以不能转发。"
|
|
1135
|
+
},
|
|
1136
|
+
message_deleted: {
|
|
1137
|
+
title: "消息已删除",
|
|
1138
|
+
body: "这条消息已被删除,所以不能转发。"
|
|
1139
|
+
},
|
|
1140
|
+
other: {
|
|
1141
|
+
title: "未转发",
|
|
1142
|
+
body: "出了点问题,什么都没有发送。请再试一次。"
|
|
1143
|
+
},
|
|
1144
|
+
too_large_as_video: {
|
|
1145
|
+
title: "视频太大",
|
|
1146
|
+
body: "请改为以文件形式发送。文件保持原始画质。"
|
|
1147
|
+
},
|
|
1148
|
+
too_large_for_whatsapp: {
|
|
1149
|
+
title: "超出 WhatsApp 的上限",
|
|
1150
|
+
body: "你选的一个聊天所在号码不能接收这么大的文件。请移除它后再试。"
|
|
1151
|
+
},
|
|
1152
|
+
message_not_sent: {
|
|
1153
|
+
title: "尚未发送",
|
|
1154
|
+
body: "只有 WhatsApp 已收到的消息才能转发。请等它发送后再试。"
|
|
1155
|
+
},
|
|
1156
|
+
inbox_removed: {
|
|
1157
|
+
title: "号码已移除",
|
|
1158
|
+
body: "你选的一个聊天所在的 WhatsApp 号码已被移除。请移除它后再试。"
|
|
1159
|
+
},
|
|
1160
|
+
forward_many_times: {
|
|
1161
|
+
title: "每次一个聊天",
|
|
1162
|
+
body: "这条消息已被多次转发。请只选一个聊天。"
|
|
1163
|
+
}
|
|
1164
|
+
},
|
|
1165
|
+
largeNote: "大文件({{size}})。每个副本都会重新上传到 WhatsApp,可能需要几分钟。",
|
|
1166
|
+
sendAs: "发送方式",
|
|
1167
|
+
asVideo: "视频",
|
|
1168
|
+
asFile: "文件",
|
|
1169
|
+
sendAsHint: "视频可在聊天中播放。文件保持原始画质,客户下载后观看。",
|
|
1170
|
+
videoTooBig: "这个视频({{size}})太大,无法以视频形式发送到你选的聊天(上限 {{max}})。将以文件形式发送,保持原始画质。",
|
|
1171
|
+
tooBigRow: "对这个号码来说太大:文件上限 {{max}}",
|
|
1172
|
+
sendingLarge: "正在发送 {{size}} 到 WhatsApp…",
|
|
1173
|
+
thisNumber: "这个 WhatsApp 号码",
|
|
1174
|
+
loadFailed: "无法加载聊天。请关闭后再试。"
|
|
1175
|
+
}, P = {
|
|
1001
1176
|
retrying: e,
|
|
1002
1177
|
directory: t,
|
|
1003
1178
|
page: n,
|
|
@@ -1029,6 +1204,8 @@ var e = "正在重试…", t = {
|
|
|
1029
1204
|
askEzy: O,
|
|
1030
1205
|
safety: k,
|
|
1031
1206
|
mentions: A,
|
|
1032
|
-
groupAdmin: j
|
|
1207
|
+
groupAdmin: j,
|
|
1208
|
+
newChat: M,
|
|
1209
|
+
forward: N
|
|
1033
1210
|
};
|
|
1034
|
-
export { D as aiGroups, O as askEzy, i as chatList, a as chatListItem, c as composer, s as conversation, C as customer,
|
|
1211
|
+
export { D as aiGroups, O as askEzy, i as chatList, a as chatListItem, c as composer, s as conversation, C as customer, P as default, t as directory, u as emoji, d as events, r as filters, N as forward, T as gettingStarted, j as groupAdmin, w as groupInfo, o as header, y as inboxFilter, S as installHint, m as media, A as mentions, p as message, f as messageList, M as newChat, h as notes, n as page, b as phoneLink, x as push, l as quickReplies, g as reconnect, e as retrying, k as safety, _ as typing, v as waBanner, E as window };
|