@zappway/embeds 1.0.27 → 1.0.29

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.
Files changed (91) hide show
  1. package/dist/chatbox/index.js +3089 -86
  2. package/dist/form/index.js +3031 -30
  3. package/dist/locales/ar/translations.json +87 -0
  4. package/dist/locales/az/translations.json +87 -0
  5. package/dist/locales/bg/translations.json +87 -0
  6. package/dist/locales/bn/translations.json +87 -0
  7. package/dist/locales/ca/translations.json +87 -0
  8. package/dist/locales/cs/translations.json +87 -0
  9. package/dist/locales/da/translations.json +87 -0
  10. package/dist/locales/de/translations.json +87 -0
  11. package/dist/locales/el/translations.json +87 -0
  12. package/dist/locales/en/translations.json +87 -0
  13. package/dist/locales/eo/translations.json +87 -0
  14. package/dist/locales/es/translations.json +87 -0
  15. package/dist/locales/et/translations.json +87 -0
  16. package/dist/locales/fa/translations.json +87 -0
  17. package/dist/locales/fi/translations.json +87 -0
  18. package/dist/locales/fr/translations.json +87 -0
  19. package/dist/locales/ga/translations.json +87 -0
  20. package/dist/locales/he/translations.json +87 -0
  21. package/dist/locales/hi/translations.json +87 -0
  22. package/dist/locales/hu/translations.json +87 -0
  23. package/dist/locales/id/translations.json +87 -0
  24. package/dist/locales/it/translations.json +87 -0
  25. package/dist/locales/ja/translations.json +87 -0
  26. package/dist/locales/ko/translations.json +87 -0
  27. package/dist/locales/lt/translations.json +87 -0
  28. package/dist/locales/lv/translations.json +87 -0
  29. package/dist/locales/ms/translations.json +87 -0
  30. package/dist/locales/nb/translations.json +87 -0
  31. package/dist/locales/nl/translations.json +87 -0
  32. package/dist/locales/pl/translations.json +87 -0
  33. package/dist/locales/pt/translations.json +88 -0
  34. package/dist/locales/pt-BR/translations.json +87 -0
  35. package/dist/locales/ro/translations.json +87 -0
  36. package/dist/locales/ru/translations.json +87 -0
  37. package/dist/locales/sk/translations.json +87 -0
  38. package/dist/locales/sl/translations.json +87 -0
  39. package/dist/locales/sv/translations.json +87 -0
  40. package/dist/locales/th/translations.json +87 -0
  41. package/dist/locales/tl/translations.json +87 -0
  42. package/dist/locales/tr/translations.json +87 -0
  43. package/dist/locales/uk/translations.json +87 -0
  44. package/dist/locales/ur/translations.json +87 -0
  45. package/dist/locales/zh/translations.json +87 -0
  46. package/package.json +3 -3
  47. package/dist/index-M6CKCJYU.json +0 -108
  48. package/dist/index-ZNLIP5CI.json +0 -30
  49. package/dist/translations-25WE6TZC.json +0 -4012
  50. package/dist/translations-3OURTTQS.json +0 -4012
  51. package/dist/translations-3V2EFNLW.json +0 -4012
  52. package/dist/translations-5YQ74XLJ.json +0 -4012
  53. package/dist/translations-74KVHVBM.json +0 -4012
  54. package/dist/translations-7PJ4Z2K4.json +0 -4012
  55. package/dist/translations-COYRGMAC.json +0 -4012
  56. package/dist/translations-DKA2HRRS.json +0 -4012
  57. package/dist/translations-ELCWVXZE.json +0 -4012
  58. package/dist/translations-EN7EOHIY.json +0 -4012
  59. package/dist/translations-FWDDLOVB.json +0 -4012
  60. package/dist/translations-GCJXSAEV.json +0 -4012
  61. package/dist/translations-GHWU6RVP.json +0 -4012
  62. package/dist/translations-GQMTCYEW.json +0 -4015
  63. package/dist/translations-HE2FSM6Q.json +0 -4012
  64. package/dist/translations-HXEBOFQU.json +0 -4012
  65. package/dist/translations-IQYN5OUQ.json +0 -4012
  66. package/dist/translations-ISMHENHV.json +0 -4012
  67. package/dist/translations-JZ4Z46O5.json +0 -4012
  68. package/dist/translations-K6WWJPM3.json +0 -4012
  69. package/dist/translations-KXYNTC3G.json +0 -4012
  70. package/dist/translations-MBISRTYE.json +0 -4012
  71. package/dist/translations-MPG5SZPE.json +0 -4012
  72. package/dist/translations-N2CXFFP4.json +0 -4012
  73. package/dist/translations-NFEOFW7N.json +0 -4013
  74. package/dist/translations-O3OFV6SC.json +0 -4012
  75. package/dist/translations-SY6N6QW7.json +0 -4013
  76. package/dist/translations-T4QVS4FS.json +0 -4012
  77. package/dist/translations-TYNOQL6N.json +0 -4012
  78. package/dist/translations-TYPM3HI6.json +0 -4012
  79. package/dist/translations-UELPE4PJ.json +0 -4012
  80. package/dist/translations-UHI2MVHQ.json +0 -4012
  81. package/dist/translations-UVUTDH6I.json +0 -4012
  82. package/dist/translations-W6TMWDYF.json +0 -4012
  83. package/dist/translations-WAWRCZUP.json +0 -4012
  84. package/dist/translations-WQCE3QYQ.json +0 -4015
  85. package/dist/translations-WRVTIN6P.json +0 -4012
  86. package/dist/translations-XDH56C2Q.json +0 -4012
  87. package/dist/translations-XEZDDNIT.json +0 -4012
  88. package/dist/translations-XSXD2Y5Q.json +0 -4012
  89. package/dist/translations-YFUF5G5A.json +0 -4012
  90. package/dist/translations-YUGLUQH2.json +0 -4012
  91. package/dist/translations-ZAT6C3A6.json +0 -4018
@@ -4008,5 +4008,92 @@
4008
4008
  "description": "成为ZappWay的合作伙伴,开始赚取30%的重复月度佣金。只需将用户推荐到我们的平台,随着他们继续订阅,您将获得稳定的收入。",
4009
4009
  "becomePartner": "成为合作伙伴",
4010
4010
  "commissionInfo": "每推荐一次赚取30%的佣金。随着您的推荐用户继续订阅,您的收入将不断增长。"
4011
+ },
4012
+ "WhatsAppIntegrationPage": {
4013
+ "loading": "加载中...",
4014
+ "accessDenied": "访问被拒绝",
4015
+ "title": "WhatsApp 会话",
4016
+ "updateButton": "更新",
4017
+ "newSessionButton": "新会话",
4018
+ "noSessionsTitle": "您尚未配置 WhatsApp 会话",
4019
+ "noSessionsButton": "配置 WhatsApp",
4020
+ "deniedText": "访问被拒绝",
4021
+ "statusLabel": "状态:",
4022
+ "deviceLabel": "设备:",
4023
+ "lastUpdateLabel": "最后更新:",
4024
+ "connected": "已连接",
4025
+ "disconnected": "已断开",
4026
+ "manageButton": "管理",
4027
+ "connectButton": "连接",
4028
+ "disconnectButton": "断开",
4029
+ "manageSessionModalTitle": "管理会话:{sessionName}",
4030
+ "connectSessionModalTitle": "连接 WhatsApp:{sessionName}",
4031
+ "newSessionModalTitle": "新 WhatsApp 会话",
4032
+ "newSessionPlaceholder": "会话名称",
4033
+ "newDevicePlaceholder": "设备名称",
4034
+ "cancelButton": "取消",
4035
+ "createSessionButton": "创建会话"
4036
+ },
4037
+ "QRCode": {
4038
+ "titles": {
4039
+ "error": "错误",
4040
+ "connected": "WhatsApp 已连接!",
4041
+ "connect": "连接您的 WhatsApp"
4042
+ },
4043
+ "messages": {
4044
+ "closeWindow": "您现在可以关闭此窗口。",
4045
+ "expireWarning": "此二维码将在 1 分钟后过期。"
4046
+ },
4047
+ "buttons": {
4048
+ "tryAgain": "重试",
4049
+ "disconnect": "断开 WhatsApp",
4050
+ "generateNew": "生成新二维码"
4051
+ },
4052
+ "steps": {
4053
+ "step1": "1. 在手机上打开 WhatsApp",
4054
+ "step2": "2. 点击菜单或设置,并选择已连接的设备",
4055
+ "step3": "3. 点击连接设备",
4056
+ "step4": "4. 将手机摄像头对准此二维码"
4057
+ },
4058
+ "errors": {
4059
+ "qrUnavailable": "二维码不可用",
4060
+ "connectionCheck": "检查连接状态时出错",
4061
+ "disconnect": "断开 WhatsApp 时出错",
4062
+ "newQR": "生成新二维码时出错",
4063
+ "default": "加载二维码时发生错误",
4064
+ "unrecognizedAction": "无法识别的操作",
4065
+ "invalidParams": "无效的参数",
4066
+ "missingParams": "需要 organizationId 和 sessionId",
4067
+ "internalError": "内部服务器错误",
4068
+ "unauthorized": "未授权",
4069
+ "sessionIdRequired": "需要会话 ID",
4070
+ "sessionNotFound": "未找到会话",
4071
+ "noPermission": "您无权访问此会话",
4072
+ "sessionUpdateFailed": "会话更新失败"
4073
+ }
4074
+ },
4075
+ "ConnectWhatsApp": {
4076
+ "errors": {
4077
+ "unauthorized": "未授权",
4078
+ "methodNotAllowed": "方法不允许",
4079
+ "creationFailed": "创建 WhatsApp 会话时出错",
4080
+ "sessionIdMissing": "未提供会话 ID",
4081
+ "sessionNotFound": "未找到会话",
4082
+ "noPermissionToDisconnect": "您无权断开此会话",
4083
+ "disconnectFailed": "断开 WhatsApp 时出错",
4084
+ "sessionListFailed": "获取 WhatsApp 会话列表时出错",
4085
+ "internalServerError": "内部服务器错误"
4086
+ },
4087
+ "messages": {
4088
+ "sessionCreated": "会话创建成功。请等待二维码生成。",
4089
+ "imageSent": "图片已发送",
4090
+ "cannotDownloadImage": "无法下载图片",
4091
+ "errorProcessingImage": "处理图片时出错",
4092
+ "videoSent": "视频已发送",
4093
+ "documentSent": "文档已发送",
4094
+ "voiceMessage": "语音消息",
4095
+ "stickerSent": "贴纸已发送",
4096
+ "unrecognizedMessage": "无法识别的消息:{{content}}"
4097
+ }
4011
4098
  }
4012
4099
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zappway/embeds",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "description": "ZappWay",
5
5
  "main": "dist/chatbox/index.js",
6
6
  "scripts": {
@@ -14,13 +14,13 @@
14
14
  ],
15
15
  "homepage": "https://github.com/ZappWay/ZappWay#readme",
16
16
  "dependencies": {
17
- "@types/react": "^18.0.0",
17
+ "@types/react": "^18.3.19",
18
18
  "@zappway/config-tailwind": "workspace:*",
19
19
  "@zappway/lib": "workspace:*",
20
20
  "@zappway/ui": "workspace:*",
21
21
  "autoprefixer": "^10.4.20",
22
22
  "concurrently": "^9.1.2",
23
- "esbuild": "^0.24.2",
23
+ "esbuild": "^0.25.1",
24
24
  "esbuild-style-plugin": "^1.6.3",
25
25
  "tailwindcss": "^3.4.15"
26
26
  },
@@ -1,108 +0,0 @@
1
- {
2
- "AElig": "Æ",
3
- "AMP": "&",
4
- "Aacute": "Á",
5
- "Acirc": "Â",
6
- "Agrave": "À",
7
- "Aring": "Å",
8
- "Atilde": "Ã",
9
- "Auml": "Ä",
10
- "COPY": "©",
11
- "Ccedil": "Ç",
12
- "ETH": "Ð",
13
- "Eacute": "É",
14
- "Ecirc": "Ê",
15
- "Egrave": "È",
16
- "Euml": "Ë",
17
- "GT": ">",
18
- "Iacute": "Í",
19
- "Icirc": "Î",
20
- "Igrave": "Ì",
21
- "Iuml": "Ï",
22
- "LT": "<",
23
- "Ntilde": "Ñ",
24
- "Oacute": "Ó",
25
- "Ocirc": "Ô",
26
- "Ograve": "Ò",
27
- "Oslash": "Ø",
28
- "Otilde": "Õ",
29
- "Ouml": "Ö",
30
- "QUOT": "\"",
31
- "REG": "®",
32
- "THORN": "Þ",
33
- "Uacute": "Ú",
34
- "Ucirc": "Û",
35
- "Ugrave": "Ù",
36
- "Uuml": "Ü",
37
- "Yacute": "Ý",
38
- "aacute": "á",
39
- "acirc": "â",
40
- "acute": "´",
41
- "aelig": "æ",
42
- "agrave": "à",
43
- "amp": "&",
44
- "aring": "å",
45
- "atilde": "ã",
46
- "auml": "ä",
47
- "brvbar": "¦",
48
- "ccedil": "ç",
49
- "cedil": "¸",
50
- "cent": "¢",
51
- "copy": "©",
52
- "curren": "¤",
53
- "deg": "°",
54
- "divide": "÷",
55
- "eacute": "é",
56
- "ecirc": "ê",
57
- "egrave": "è",
58
- "eth": "ð",
59
- "euml": "ë",
60
- "frac12": "½",
61
- "frac14": "¼",
62
- "frac34": "¾",
63
- "gt": ">",
64
- "iacute": "í",
65
- "icirc": "î",
66
- "iexcl": "¡",
67
- "igrave": "ì",
68
- "iquest": "¿",
69
- "iuml": "ï",
70
- "laquo": "«",
71
- "lt": "<",
72
- "macr": "¯",
73
- "micro": "µ",
74
- "middot": "·",
75
- "nbsp": " ",
76
- "not": "¬",
77
- "ntilde": "ñ",
78
- "oacute": "ó",
79
- "ocirc": "ô",
80
- "ograve": "ò",
81
- "ordf": "ª",
82
- "ordm": "º",
83
- "oslash": "ø",
84
- "otilde": "õ",
85
- "ouml": "ö",
86
- "para": "¶",
87
- "plusmn": "±",
88
- "pound": "£",
89
- "quot": "\"",
90
- "raquo": "»",
91
- "reg": "®",
92
- "sect": "§",
93
- "shy": "­",
94
- "sup1": "¹",
95
- "sup2": "²",
96
- "sup3": "³",
97
- "szlig": "ß",
98
- "thorn": "þ",
99
- "times": "×",
100
- "uacute": "ú",
101
- "ucirc": "û",
102
- "ugrave": "ù",
103
- "uml": "¨",
104
- "uuml": "ü",
105
- "yacute": "ý",
106
- "yen": "¥",
107
- "yuml": "ÿ"
108
- }
@@ -1,30 +0,0 @@
1
- {
2
- "0": "�",
3
- "128": "€",
4
- "130": "‚",
5
- "131": "ƒ",
6
- "132": "„",
7
- "133": "…",
8
- "134": "†",
9
- "135": "‡",
10
- "136": "ˆ",
11
- "137": "‰",
12
- "138": "Š",
13
- "139": "‹",
14
- "140": "Œ",
15
- "142": "Ž",
16
- "145": "‘",
17
- "146": "’",
18
- "147": "“",
19
- "148": "”",
20
- "149": "•",
21
- "150": "–",
22
- "151": "—",
23
- "152": "˜",
24
- "153": "™",
25
- "154": "š",
26
- "155": "›",
27
- "156": "œ",
28
- "158": "ž",
29
- "159": "Ÿ"
30
- }