@bigbinary/neeto-whatsapp-frontend 1.0.1

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 (51) hide show
  1. package/README.md +186 -0
  2. package/app/javascript/src/translations/ar.json +5 -0
  3. package/app/javascript/src/translations/bg.json +5 -0
  4. package/app/javascript/src/translations/ca.json +5 -0
  5. package/app/javascript/src/translations/cs.json +5 -0
  6. package/app/javascript/src/translations/da.json +5 -0
  7. package/app/javascript/src/translations/de.json +5 -0
  8. package/app/javascript/src/translations/en.json +21 -0
  9. package/app/javascript/src/translations/es-MX.json +5 -0
  10. package/app/javascript/src/translations/es.json +5 -0
  11. package/app/javascript/src/translations/et.json +5 -0
  12. package/app/javascript/src/translations/fi.json +5 -0
  13. package/app/javascript/src/translations/fil.json +5 -0
  14. package/app/javascript/src/translations/fr.json +5 -0
  15. package/app/javascript/src/translations/he.json +5 -0
  16. package/app/javascript/src/translations/hi.json +5 -0
  17. package/app/javascript/src/translations/hr.json +5 -0
  18. package/app/javascript/src/translations/id.json +5 -0
  19. package/app/javascript/src/translations/index.js +3 -0
  20. package/app/javascript/src/translations/it.json +5 -0
  21. package/app/javascript/src/translations/ja.json +5 -0
  22. package/app/javascript/src/translations/ko.json +5 -0
  23. package/app/javascript/src/translations/nl.json +5 -0
  24. package/app/javascript/src/translations/pl.json +5 -0
  25. package/app/javascript/src/translations/pt-BR.json +5 -0
  26. package/app/javascript/src/translations/pt.json +5 -0
  27. package/app/javascript/src/translations/ro.json +5 -0
  28. package/app/javascript/src/translations/ru.json +5 -0
  29. package/app/javascript/src/translations/sk.json +5 -0
  30. package/app/javascript/src/translations/sl.json +5 -0
  31. package/app/javascript/src/translations/sv.json +5 -0
  32. package/app/javascript/src/translations/th.json +5 -0
  33. package/app/javascript/src/translations/tr.json +5 -0
  34. package/app/javascript/src/translations/uk.json +5 -0
  35. package/app/javascript/src/translations/vi.json +5 -0
  36. package/app/javascript/src/translations/zh-CN.json +5 -0
  37. package/app/javascript/src/translations/zh-TW.json +5 -0
  38. package/dist/WelcomeScreen.js +13 -0
  39. package/dist/WelcomeScreen.js.map +1 -0
  40. package/dist/WhatsAppMessages.js +488 -0
  41. package/dist/WhatsAppMessages.js.map +1 -0
  42. package/dist/cjs/WelcomeScreen.js +15 -0
  43. package/dist/cjs/WelcomeScreen.js.map +1 -0
  44. package/dist/cjs/WhatsAppMessages.js +490 -0
  45. package/dist/cjs/WhatsAppMessages.js.map +1 -0
  46. package/dist/cjs/index.js +31 -0
  47. package/dist/cjs/index.js.map +1 -0
  48. package/dist/index.js +24 -0
  49. package/dist/index.js.map +1 -0
  50. package/package.json +238 -0
  51. package/types.d.ts +8 -0
package/package.json ADDED
@@ -0,0 +1,238 @@
1
+ {
2
+ "name": "@bigbinary/neeto-whatsapp-frontend",
3
+ "version": "1.0.1",
4
+ "description": "This is the frontend package for the neeto-whatsapp-nano project.",
5
+ "license": "UNLICENSED",
6
+ "homepage": "https://github.com/bigbinary/neeto-whatsapp-nano",
7
+ "bugs": {
8
+ "url": "https://github.com/bigbinary/neeto-whatsapp-nano/issues"
9
+ },
10
+ "repository": "neeto-whatsapp-nano",
11
+ "author": "BigBinary",
12
+ "private": false,
13
+ "publishConfig": {
14
+ "access": "public",
15
+ "registry": "https://registry.npmjs.org/"
16
+ },
17
+ "files": [
18
+ "dist",
19
+ "types.d.ts",
20
+ "app/javascript/src/translations"
21
+ ],
22
+ "exports": {
23
+ ".": {
24
+ "import": "./dist/index.js",
25
+ "require": "./dist/cjs/index.js",
26
+ "types": "./types.d.ts"
27
+ },
28
+ "./*": {
29
+ "import": "./dist/*.js",
30
+ "require": "./dist/cjs/*.js",
31
+ "types": "./types.d.ts"
32
+ }
33
+ },
34
+ "main": "dist/index.cjs.js",
35
+ "module": "dist/index.js",
36
+ "types": "types.d.ts",
37
+ "scripts": {
38
+ "build": "NODE_ENV=production rollup --bundleConfigAsCjs -c --environment production",
39
+ "build-preview": "NODE_ENV=production webpack",
40
+ "prepare": "husky install",
41
+ "release": "yarn build && yalc push --sig"
42
+ },
43
+ "lint-staged": {
44
+ "./**/*.rb": [
45
+ "bundle exec rubocop -a --force-exclusion"
46
+ ],
47
+ "./**/app/javascript/**/*.{js,jsx,json}": [
48
+ "prettier --write",
49
+ "eslint --fix"
50
+ ],
51
+ "./test/dummy/**/app/javascript/**/*.{js,jsx,json}": [
52
+ "prettier --write",
53
+ "eslint --fix"
54
+ ],
55
+ "{Gemfile,Rakefile,config.ru}": [
56
+ "bundle exec rubocop -a --force-exclusion"
57
+ ]
58
+ },
59
+ "devDependencies": {
60
+ "@babel/core": "7.26.0",
61
+ "@babel/eslint-parser": "7.25.9",
62
+ "@babel/plugin-transform-runtime": "7.25.9",
63
+ "@babel/preset-env": "7.26.0",
64
+ "@babel/preset-react": "7.25.9",
65
+ "@babel/preset-typescript": "7.26.0",
66
+ "@babel/runtime": "7.26.10",
67
+ "@bigbinary/babel-preset-neeto": "^1.0.3",
68
+ "@bigbinary/eslint-plugin-neeto": "1.8.1",
69
+ "@bigbinary/neeto-cist": "1.0.17",
70
+ "@bigbinary/neeto-commons-frontend": "4.13.103",
71
+ "@bigbinary/neeto-filters-frontend": "4.3.31",
72
+ "@bigbinary/neeto-icons": "1.20.80",
73
+ "@bigbinary/neetoui": "8.3.75",
74
+ "@emotion/is-prop-valid": "1.2.0",
75
+ "@faker-js/faker": "8.2.0",
76
+ "@honeybadger-io/js": "6.10.1",
77
+ "@honeybadger-io/react": "6.1.25",
78
+ "@rollup/plugin-alias": "5.1.1",
79
+ "@rollup/plugin-babel": "6.0.4",
80
+ "@rollup/plugin-commonjs": "25.0.7",
81
+ "@rollup/plugin-json": "6.1.0",
82
+ "@rollup/plugin-node-resolve": "15.3.0",
83
+ "@rollup/plugin-replace": "5.0.4",
84
+ "@svgr/rollup": "8.1.0",
85
+ "@tailwindcss/postcss": "^4.1.17",
86
+ "@tanstack/react-query": "5.59.20",
87
+ "@tanstack/react-query-devtools": "5.59.20",
88
+ "antd": "5.22.1",
89
+ "autoprefixer": "^10.4.5",
90
+ "axios": "1.13.5",
91
+ "babel-loader": "^8.2.5",
92
+ "babel-plugin-istanbul": "^6.1.1",
93
+ "babel-plugin-js-logger": "1.0.17",
94
+ "babel-plugin-macros": "3.1.0",
95
+ "babel-plugin-module-resolver": "^5.0.0",
96
+ "babel-plugin-preval": "^5.1.0",
97
+ "babel-plugin-transform-react-remove-prop-types": "0.4.24",
98
+ "babel-preset-react": "6.24.1",
99
+ "babel-preset-typescript": "^7.0.0-alpha.19",
100
+ "browserify-zlib": "0.2.0",
101
+ "buffer": "^6.0.3",
102
+ "classnames": "2.5.1",
103
+ "crypto-browserify": "3.12.1",
104
+ "css-loader": "6.8.1",
105
+ "dompurify": "^3.2.4",
106
+ "dotenv-webpack": "^8.0.1",
107
+ "eslint": "^9.25.1",
108
+ "eslint-config-prettier": "^10.1.2",
109
+ "eslint-plugin-cypress": "2.12.1",
110
+ "eslint-plugin-import": "^2.31.0",
111
+ "eslint-plugin-jam3": "^0.2.3",
112
+ "eslint-plugin-json": "^4.0.1",
113
+ "eslint-plugin-prettier": "^5.2.6",
114
+ "eslint-plugin-promise": "^7.2.1",
115
+ "eslint-plugin-react": "^7.37.5",
116
+ "eslint-plugin-react-hooks": "^5.2.0",
117
+ "eslint-plugin-security": "^3.0.1",
118
+ "eslint-plugin-sonarjs": "^3.0.2",
119
+ "eslint-plugin-unused-imports": "^4.1.4",
120
+ "eslint-plugin-xss": "^0.1.12",
121
+ "formik": "2.4.6",
122
+ "globals": "16.0.0",
123
+ "globby": "^14.1.0",
124
+ "html-webpack-plugin": "5.5.3",
125
+ "https-browserify": "1.0.0",
126
+ "husky": "7.0.4",
127
+ "i18next": "22.5.1",
128
+ "i18next-browser-languagedetector": "7.0.1",
129
+ "js-logger": "1.6.1",
130
+ "lint-staged": "12.4.1",
131
+ "mini-css-extract-plugin": "2.7.6",
132
+ "mixpanel-browser": "2.47.0",
133
+ "os-browserify": "0.3.0",
134
+ "path-browserify": "^1.0.1",
135
+ "postcss": "8.4.49",
136
+ "postcss-import": "^15.0.0",
137
+ "postcss-loader": "^7.0.1",
138
+ "postcss-preset-env": "7.8.2",
139
+ "prettier": "3",
140
+ "prettier-plugin-tailwindcss": "^0.7.1",
141
+ "process": "0.11.10",
142
+ "qs": "6.14.2",
143
+ "ramda": "0.29.0",
144
+ "react": "18.3.1",
145
+ "react-dom": "18.3.1",
146
+ "react-helmet": "^6.1.0",
147
+ "react-i18next": "12.3.1",
148
+ "react-router-dom": "5.3.3",
149
+ "react-toastify": "8.0.2",
150
+ "react_ujs": "^3.1.1",
151
+ "rollup": "4.25.0",
152
+ "rollup-plugin-analyzer": "4.0.0",
153
+ "rollup-plugin-cleaner": "1.0.0",
154
+ "rollup-plugin-copy": "3.5.0",
155
+ "rollup-plugin-peer-deps-external": "2.2.4",
156
+ "rollup-plugin-styles": "4.0.0",
157
+ "sass": "1.89.0",
158
+ "sass-loader": "^13.0.2",
159
+ "source-map-loader": "4.0.1",
160
+ "stream-browserify": "^3.0.0",
161
+ "stream-http": "3.2.0",
162
+ "style-loader": "^3.3.1",
163
+ "tailwindcss": "^4.1.17",
164
+ "tty-browserify": "0.0.1",
165
+ "url": "^0.11.0",
166
+ "util": "^0.12.5",
167
+ "vm-browserify": "1.1.2",
168
+ "webpack": "5.94.0",
169
+ "webpack-assets-manifest": "5.1.0",
170
+ "webpack-cli": "5.1.4",
171
+ "webpack-dev-server": "5.2.1",
172
+ "yup": "0.32.11",
173
+ "zustand": "4.4.2"
174
+ },
175
+ "peerDependencies": {
176
+ "@babel/runtime": "7.26.10",
177
+ "@bigbinary/neeto-cist": "1.0.17",
178
+ "@bigbinary/neeto-commons-frontend": "4.13.103",
179
+ "@bigbinary/neeto-filters-frontend": "4.3.31",
180
+ "@bigbinary/neeto-icons": "1.20.80",
181
+ "@bigbinary/neetoui": "8.3.75",
182
+ "@honeybadger-io/js": "6.10.1",
183
+ "@honeybadger-io/react": "6.1.25",
184
+ "@tanstack/react-query": "5.59.20",
185
+ "@tanstack/react-query-devtools": "5.59.20",
186
+ "antd": "5.22.1",
187
+ "axios": "1.13.5",
188
+ "buffer": "^6.0.3",
189
+ "classnames": "2.5.1",
190
+ "crypto-browserify": "3.12.1",
191
+ "dompurify": "^3.2.4",
192
+ "formik": "2.4.6",
193
+ "https-browserify": "1.0.0",
194
+ "i18next": "22.5.1",
195
+ "js-logger": "1.6.1",
196
+ "mixpanel-browser": "^2.45.0",
197
+ "os-browserify": "0.3.0",
198
+ "path-browserify": "^1.0.1",
199
+ "qs": "6.14.2",
200
+ "ramda": "0.29.0",
201
+ "react": "18.3.1",
202
+ "react-dom": "18.3.1",
203
+ "react-helmet": "^6.1.0",
204
+ "react-i18next": "12.3.1",
205
+ "react-router-dom": "5.3.3",
206
+ "react-toastify": "8.0.2",
207
+ "source-map-loader": "4.0.1",
208
+ "stream-browserify": "^3.0.0",
209
+ "stream-http": "3.2.0",
210
+ "tailwindcss": "^4.1.17",
211
+ "tty-browserify": "0.0.1",
212
+ "url": "^0.11.0",
213
+ "util": "^0.12.5",
214
+ "vm-browserify": "1.1.2",
215
+ "yup": "0.32.11",
216
+ "zustand": "4.4.2"
217
+ },
218
+ "resolutions": {
219
+ "postcss": "^8",
220
+ "wrap-ansi": "7.0.0",
221
+ "string-width": "4.1.0",
222
+ "pbkdf2": "^3.1.3",
223
+ "qs": "^6.14.2",
224
+ "sha.js": "2.4.12",
225
+ "node-forge": "1.3.2"
226
+ },
227
+ "engines": {
228
+ "node": ">=22.13",
229
+ "npm": ">=9",
230
+ "yarn": ">=1.22"
231
+ },
232
+ "dependencies": {
233
+ "@babel/plugin-syntax-dynamic-import": "^7.8.3",
234
+ "babel-plugin-transform-imports": "^2.0.0",
235
+ "react-router-nav-prompt": "0.4.1"
236
+ },
237
+ "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
238
+ }
package/types.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+
3
+ export const WelcomeScreen: React.FC<{}>;
4
+
5
+ export const WhatsAppMessages: React.FC<{
6
+ entityType: string;
7
+ entityId: string;
8
+ }>;