@droppii-org/chat-sdk 0.1.75 → 0.1.78

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.
@@ -1,53 +1,53 @@
1
- {
2
- "tabs": {
3
- "messages": "Tin nhắn"
4
- },
5
- "empty": {
6
- "no_conversations": "Chưa có cuộc trò chuyện",
7
- "no_messages": "Chưa có tin nhắn"
8
- },
9
- "thread_card": {
10
- "fallback_name": "Người dùng",
11
- "bot_crm_name": "Droppii Hỗ Trợ",
12
- "badge": {
13
- "mall": "Mall",
14
- "bot": "Bot"
15
- }
16
- },
17
- "thread_detail": {
18
- "profile_hint": "Nhấn để xem thông tin",
19
- "input_placeholder": "Nhập tin nhắn...",
20
- "resolve_failed": "Không thể mở cuộc trò chuyện",
21
- "more_option": {
22
- "toggle": "Tùy chọn khác",
23
- "media": "Ảnh/Video",
24
- "camera": "Chụp ảnh",
25
- "document": "Tài liệu",
26
- "order": "Gửi đơn hàng",
27
- "product": "Gửi sản phẩm",
28
- "appointment": "Tạo lịch hẹn"
29
- },
30
- "bot": {
31
- "start": "Bắt đầu",
32
- "restart": "Bắt đầu lại",
33
- "inactive_notice": "Người dùng này không còn khả dụng",
34
- "menu": {
35
- "title": "Gợi ý",
36
- "trigger": "Gợi ý khác",
37
- "open_menu": "Xem gợi ý khác"
38
- },
39
- "cs_confirm": {
40
- "title": "Kết thúc phiên hỗ trợ",
41
- "body": "Bạn đang trong phiên hỗ trợ với hỗ trợ viên, bạn có muốn <bold>kết thúc phiên hỗ trợ</bold> ngay bây giờ?",
42
- "confirm": "Kết thúc",
43
- "cancel": "Tiếp tục",
44
- "close_failed": "Không thể kết thúc phiên hỗ trợ. Vui lòng thử lại."
45
- }
46
- }
47
- },
48
- "link_preview": {
49
- "loading": "Đang tải xem trước liên kết...",
50
- "remove": "Xóa xem trước liên kết"
51
- },
52
- "link_open_error": "Không thể mở liên kết. Vui lòng thử lại."
1
+ {
2
+ "tabs": {
3
+ "messages": "Tin nhắn"
4
+ },
5
+ "empty": {
6
+ "no_conversations": "Chưa có cuộc trò chuyện",
7
+ "no_messages": "Chưa có tin nhắn"
8
+ },
9
+ "thread_card": {
10
+ "fallback_name": "Người dùng",
11
+ "bot_crm_name": "Droppii Hỗ Trợ",
12
+ "badge": {
13
+ "mall": "Mall",
14
+ "bot": "Bot"
15
+ }
16
+ },
17
+ "thread_detail": {
18
+ "profile_hint": "Nhấn để xem thông tin",
19
+ "input_placeholder": "Nhập tin nhắn...",
20
+ "resolve_failed": "Không thể mở cuộc trò chuyện",
21
+ "more_option": {
22
+ "toggle": "Tùy chọn khác",
23
+ "media": "Ảnh/Video",
24
+ "camera": "Chụp ảnh",
25
+ "document": "Tài liệu",
26
+ "order": "Gửi đơn hàng",
27
+ "product": "Gửi sản phẩm",
28
+ "appointment": "Tạo lịch hẹn"
29
+ },
30
+ "bot": {
31
+ "start": "Bắt đầu",
32
+ "restart": "Bắt đầu lại",
33
+ "inactive_notice": "Người dùng này không còn khả dụng",
34
+ "menu": {
35
+ "title": "Gợi ý",
36
+ "trigger": "Gợi ý khác",
37
+ "open_menu": "Xem gợi ý khác"
38
+ },
39
+ "cs_confirm": {
40
+ "title": "Kết thúc phiên hỗ trợ",
41
+ "body": "Bạn đang trong phiên hỗ trợ với hỗ trợ viên, bạn có muốn <bold>kết thúc phiên hỗ trợ</bold> ngay bây giờ?",
42
+ "confirm": "Kết thúc",
43
+ "cancel": "Tiếp tục",
44
+ "close_failed": "Không thể kết thúc phiên hỗ trợ. Vui lòng thử lại."
45
+ }
46
+ }
47
+ },
48
+ "link_preview": {
49
+ "loading": "Đang tải xem trước liên kết...",
50
+ "remove": "Xóa xem trước liên kết"
51
+ },
52
+ "link_open_error": "Không thể mở liên kết. Vui lòng thử lại."
53
53
  }
package/package.json CHANGED
@@ -1,127 +1,132 @@
1
- {
2
- "name": "@droppii-org/chat-sdk",
3
- "version": "0.1.75",
4
- "description": "Droppii React Chat SDK",
5
- "main": "./dist/index.js",
6
- "types": "./dist/index.d.ts",
7
- "exports": {
8
- ".": {
9
- "import": "./dist/index.js",
10
- "types": "./dist/index.d.ts"
11
- },
12
- "./components/*": {
13
- "import": "./dist/components/*.js",
14
- "types": "./dist/components/*.d.ts"
15
- },
16
- "./hooks/*": {
17
- "import": "./dist/hooks/*.js",
18
- "types": "./dist/hooks/*.d.ts"
19
- },
20
- "./context/*": {
21
- "import": "./dist/context/*.js",
22
- "types": "./dist/context/*.d.ts"
23
- },
24
- "./types/*": {
25
- "import": "./dist/types/*.js",
26
- "types": "./dist/types/*.d.ts"
27
- },
28
- "./screens/*": {
29
- "import": "./dist/screens/*.js",
30
- "types": "./dist/screens/*.d.ts"
31
- },
32
- "./assets/*": {
33
- "import": "./dist/assets/*.js",
34
- "types": "./dist/assets/*.d.ts"
35
- },
36
- "./constants/*": {
37
- "import": "./dist/constants/*.js",
38
- "types": "./dist/constants/*.d.ts"
39
- },
40
- "./layout/*": {
41
- "import": "./dist/layout/*.js",
42
- "types": "./dist/layout/*.d.ts"
43
- },
44
- "./utils/*": {
45
- "import": "./dist/utils/*.js",
46
- "types": "./dist/utils/*.d.ts"
47
- },
48
- "./services/*": {
49
- "import": "./dist/services/*.js",
50
- "types": "./dist/services/*.d.ts"
51
- },
52
- "./locales/*": "./dist/locales/*",
53
- "./styles/global.css": "./dist/styles/global.css"
54
- },
55
- "files": [
56
- "dist"
57
- ],
58
- "scripts": {
59
- "build": "pnpm build:css && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && pnpm copy-assets",
60
- "build:css": "tailwindcss -i ./src/styles/global.css -o ./dist/styles/global.css --minify",
61
- "dev": "tsc --noEmit --watch",
62
- "lint": "eslint src/",
63
- "type-check": "tsc --noEmit",
64
- "prepublishOnly": "pnpm build",
65
- "copy-assets": "shx cp -r src/assets dist && shx cp -r src/locales dist"
66
- },
67
- "keywords": [
68
- "chat",
69
- "sdk",
70
- "react",
71
- "messenger-style"
72
- ],
73
- "author": "Garru",
74
- "license": "MIT",
75
- "publishConfig": {
76
- "access": "public"
77
- },
78
- "dependencies": {
79
- "@ant-design/icons": "^6.0.0",
80
- "@lexical/code": "^0.34.0",
81
- "@lexical/html": "^0.34.0",
82
- "@lexical/link": "^0.34.0",
83
- "@lexical/list": "^0.34.0",
84
- "@lexical/react": "^0.34.0",
85
- "@lexical/rich-text": "^0.34.0",
86
- "@openim/wasm-client-sdk": "3.8.3-patch.10",
87
- "@tailwindcss/postcss": "^4.1.12",
88
- "@tanstack/react-query": "^5.85.5",
89
- "ahooks": "^3.9.4",
90
- "antd": "^5.27.0",
91
- "axios": "^1.11.0",
92
- "clsx": "^2.0.0",
93
- "dayjs": "^1.11.13",
94
- "dompurify": "^3.3.1",
95
- "i18next": "^25.5.2",
96
- "jwt-decode": "^4.0.0",
97
- "lexical": "^0.34.0",
98
- "lodash": "^4.17.21",
99
- "lucide-react": "^0.263.1",
100
- "mitt": "^3.0.1",
101
- "postcss": "^8.5.6",
102
- "query-string": "^9.3.1",
103
- "react-i18next": "^15.7.3",
104
- "react-icomoon": "^2.6.1",
105
- "react-infinite-scroll-component": "^6.1.0",
106
- "react-sticky-box": "^2.0.5",
107
- "react-virtuoso": "^4.14.0",
108
- "tailwind-merge": "^2.0.0",
109
- "tailwindcss": "^3.3.0",
110
- "uuid": "^11.1.0",
111
- "zustand": "^5.0.7"
112
- },
113
- "peerDependencies": {
114
- "react": "^18.0.0",
115
- "react-dom": "^18.0.0"
116
- },
117
- "devDependencies": {
118
- "@types/dompurify": "^3.2.0",
119
- "@types/lodash": "^4.17.20",
120
- "@types/node": "^20.0.0",
121
- "@types/react": "^18.2.37",
122
- "@types/react-dom": "^18.2.15",
123
- "shx": "^0.4.0",
124
- "tsc-alias": "^1.8.17",
125
- "typescript": "^5.2.2"
126
- }
127
- }
1
+ {
2
+ "name": "@droppii-org/chat-sdk",
3
+ "version": "0.1.78",
4
+ "description": "Droppii React Chat SDK",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/droppii/chat.git",
8
+ "directory": "packages/chat-sdk"
9
+ },
10
+ "main": "./dist/index.js",
11
+ "types": "./dist/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/index.js",
15
+ "types": "./dist/index.d.ts"
16
+ },
17
+ "./components/*": {
18
+ "import": "./dist/components/*.js",
19
+ "types": "./dist/components/*.d.ts"
20
+ },
21
+ "./hooks/*": {
22
+ "import": "./dist/hooks/*.js",
23
+ "types": "./dist/hooks/*.d.ts"
24
+ },
25
+ "./context/*": {
26
+ "import": "./dist/context/*.js",
27
+ "types": "./dist/context/*.d.ts"
28
+ },
29
+ "./types/*": {
30
+ "import": "./dist/types/*.js",
31
+ "types": "./dist/types/*.d.ts"
32
+ },
33
+ "./screens/*": {
34
+ "import": "./dist/screens/*.js",
35
+ "types": "./dist/screens/*.d.ts"
36
+ },
37
+ "./assets/*": {
38
+ "import": "./dist/assets/*.js",
39
+ "types": "./dist/assets/*.d.ts"
40
+ },
41
+ "./constants/*": {
42
+ "import": "./dist/constants/*.js",
43
+ "types": "./dist/constants/*.d.ts"
44
+ },
45
+ "./layout/*": {
46
+ "import": "./dist/layout/*.js",
47
+ "types": "./dist/layout/*.d.ts"
48
+ },
49
+ "./utils/*": {
50
+ "import": "./dist/utils/*.js",
51
+ "types": "./dist/utils/*.d.ts"
52
+ },
53
+ "./services/*": {
54
+ "import": "./dist/services/*.js",
55
+ "types": "./dist/services/*.d.ts"
56
+ },
57
+ "./locales/*": "./dist/locales/*",
58
+ "./styles/global.css": "./dist/styles/global.css"
59
+ },
60
+ "files": [
61
+ "dist"
62
+ ],
63
+ "scripts": {
64
+ "build": "pnpm build:css && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && pnpm copy-assets",
65
+ "build:css": "tailwindcss -i ./src/styles/global.css -o ./dist/styles/global.css --minify",
66
+ "dev": "tsc --noEmit --watch",
67
+ "lint": "eslint src/",
68
+ "type-check": "tsc --noEmit",
69
+ "prepublishOnly": "pnpm build",
70
+ "copy-assets": "shx cp -r src/assets dist && shx cp -r src/locales dist"
71
+ },
72
+ "keywords": [
73
+ "chat",
74
+ "sdk",
75
+ "react",
76
+ "messenger-style"
77
+ ],
78
+ "author": "Garru",
79
+ "license": "MIT",
80
+ "publishConfig": {
81
+ "access": "public"
82
+ },
83
+ "dependencies": {
84
+ "@ant-design/icons": "^6.0.0",
85
+ "@lexical/code": "^0.34.0",
86
+ "@lexical/html": "^0.34.0",
87
+ "@lexical/link": "^0.34.0",
88
+ "@lexical/list": "^0.34.0",
89
+ "@lexical/react": "^0.34.0",
90
+ "@lexical/rich-text": "^0.34.0",
91
+ "@openim/wasm-client-sdk": "3.8.3-patch.10",
92
+ "@tailwindcss/postcss": "^4.1.12",
93
+ "@tanstack/react-query": "^5.85.5",
94
+ "ahooks": "^3.9.4",
95
+ "antd": "^5.27.0",
96
+ "axios": "^1.11.0",
97
+ "clsx": "^2.0.0",
98
+ "dayjs": "^1.11.13",
99
+ "dompurify": "^3.3.1",
100
+ "i18next": "^25.5.2",
101
+ "jwt-decode": "^4.0.0",
102
+ "lexical": "^0.34.0",
103
+ "lodash": "^4.17.21",
104
+ "lucide-react": "^0.263.1",
105
+ "mitt": "^3.0.1",
106
+ "postcss": "^8.5.6",
107
+ "query-string": "^9.3.1",
108
+ "react-i18next": "^15.7.3",
109
+ "react-icomoon": "^2.6.1",
110
+ "react-infinite-scroll-component": "^6.1.0",
111
+ "react-sticky-box": "^2.0.5",
112
+ "react-virtuoso": "^4.14.0",
113
+ "tailwind-merge": "^2.0.0",
114
+ "tailwindcss": "^3.3.0",
115
+ "uuid": "^11.1.0",
116
+ "zustand": "^5.0.7"
117
+ },
118
+ "peerDependencies": {
119
+ "react": "^18.0.0",
120
+ "react-dom": "^18.0.0"
121
+ },
122
+ "devDependencies": {
123
+ "@types/dompurify": "^3.2.0",
124
+ "@types/lodash": "^4.17.20",
125
+ "@types/node": "^20.0.0",
126
+ "@types/react": "^18.2.37",
127
+ "@types/react-dom": "^18.2.15",
128
+ "shx": "^0.4.0",
129
+ "tsc-alias": "^1.8.17",
130
+ "typescript": "^5.2.2"
131
+ }
132
+ }