@nethesis/chat-island 0.1.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/README.md +41 -0
- package/dist/ChatIsland.d.ts +20 -0
- package/dist/api.d.ts +6 -0
- package/dist/chat-island-sw.js +18 -0
- package/dist/components/Avatar.d.ts +18 -0
- package/dist/components/Button.d.ts +23 -0
- package/dist/components/ChatWindow.d.ts +15 -0
- package/dist/components/Composer.d.ts +6 -0
- package/dist/components/Dock.d.ts +6 -0
- package/dist/components/EmojiPicker.d.ts +6 -0
- package/dist/components/MessageList.d.ts +22 -0
- package/dist/components/NewChat.d.ts +4 -0
- package/dist/drag.d.ts +10 -0
- package/dist/events.d.ts +34 -0
- package/dist/index.css +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4887 -0
- package/dist/ogg.d.ts +4 -0
- package/dist/push.d.ts +6 -0
- package/dist/shortcodes-table.d.ts +2 -0
- package/dist/shortcodes.d.ts +2 -0
- package/dist/sound.d.ts +2 -0
- package/dist/store.d.ts +42 -0
- package/dist/types.d.ts +67 -0
- package/dist/xmpp.d.ts +96 -0
- package/dist-widget/chat-island-sw.js +18 -0
- package/dist-widget/index.widget.css +2 -0
- package/dist-widget/index.widget.js +9 -0
- package/package.json +49 -0
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nethesis/chat-island",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "vite --open /dev/index.html",
|
|
7
|
+
"build": "vite build && npm run build:types",
|
|
8
|
+
"build:widget": "BUILD=widget vite build",
|
|
9
|
+
"build:types": "tsc -p tsconfig.lib.json",
|
|
10
|
+
"test": "tsc --noEmit -p tsconfig.app.json",
|
|
11
|
+
"prepublishOnly": "npm run build && npm run build:widget",
|
|
12
|
+
"release": "npm publish"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"@xmpp/client": "^0.14.0",
|
|
16
|
+
"zustand": "^4.5.7",
|
|
17
|
+
"use-sync-external-store": "^1.2.0"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@types/node": "^24.19.0",
|
|
21
|
+
"@types/react": "^18.3.31",
|
|
22
|
+
"@types/react-dom": "^18.3.7",
|
|
23
|
+
"@vitejs/plugin-react": "^6.1.1",
|
|
24
|
+
"autoprefixer": "^10.6.1",
|
|
25
|
+
"oxlint": "^1.81.0",
|
|
26
|
+
"postcss": "^8.5.28",
|
|
27
|
+
"react": "^18.3.1",
|
|
28
|
+
"react-dom": "^18.3.1",
|
|
29
|
+
"tailwindcss": "^3.4.19",
|
|
30
|
+
"typescript": "~6.0.2",
|
|
31
|
+
"vite": "^8.3.0"
|
|
32
|
+
},
|
|
33
|
+
"description": "NethVoice chat island: a stand-alone chat widget (XMPP) embeddable in nethvoice-cti, NethLink and any web app",
|
|
34
|
+
"main": "dist/index.js",
|
|
35
|
+
"module": "dist/index.js",
|
|
36
|
+
"types": "dist/index.d.ts",
|
|
37
|
+
"files": [
|
|
38
|
+
"dist",
|
|
39
|
+
"dist-widget"
|
|
40
|
+
],
|
|
41
|
+
"license": "AGPL-3.0-or-later",
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"react": "^18.2.0 || ^19.0.0",
|
|
44
|
+
"react-dom": "^18.2.0 || ^19.0.0"
|
|
45
|
+
},
|
|
46
|
+
"publishConfig": {
|
|
47
|
+
"access": "public"
|
|
48
|
+
}
|
|
49
|
+
}
|