cmcts-c-agent-embedding 1.0.12 → 1.0.13-cagent
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/.augment-guidelines +24 -0
- package/.env +35 -35
- package/.eslintrc.cjs +1 -0
- package/.idea/AICommit.xml +6 -0
- package/.idea/AugmentWebviewStateStore.xml +10 -0
- package/.idea/Flowise-share-chatbox.iml +0 -1
- package/.idea/codeStyles/Project.xml +31 -0
- package/.idea/inspectionProfiles/Project_Default.xml +13 -10
- package/.idea/misc.xml +6 -0
- package/.idea/modules.xml +0 -1
- package/.idea/vcs.xml +0 -1
- package/dist/components/Bot.d.ts +10 -0
- package/dist/components/Bot.d.ts.map +1 -1
- package/dist/components/FeedbackContentDialog.d.ts +3 -0
- package/dist/components/FeedbackContentDialog.d.ts.map +1 -1
- package/dist/components/Toast.d.ts +10 -0
- package/dist/components/Toast.d.ts.map +1 -0
- package/dist/components/bubbles/BotBubble.d.ts +5 -0
- package/dist/components/bubbles/BotBubble.d.ts.map +1 -1
- package/dist/components/bubbles/GuestBubble.d.ts.map +1 -1
- package/dist/components/bubbles/LoadingBubble.d.ts +7 -1
- package/dist/components/bubbles/LoadingBubble.d.ts.map +1 -1
- package/dist/components/bubbles/SourceBubble.d.ts.map +1 -1
- package/dist/components/bubbles/StarterPromptBubble.d.ts.map +1 -1
- package/dist/components/buttons/CopyMessageButton.d.ts +10 -0
- package/dist/components/buttons/CopyMessageButton.d.ts.map +1 -0
- package/dist/components/buttons/EditMessageButton.d.ts +8 -0
- package/dist/components/buttons/EditMessageButton.d.ts.map +1 -0
- package/dist/components/buttons/FeedbackButtons.d.ts +1 -0
- package/dist/components/buttons/FeedbackButtons.d.ts.map +1 -1
- package/dist/components/buttons/PopupToast.d.ts +7 -0
- package/dist/components/buttons/PopupToast.d.ts.map +1 -0
- package/dist/components/buttons/SendButton.d.ts +1 -0
- package/dist/components/buttons/SendButton.d.ts.map +1 -1
- package/dist/components/dialogs/EditMessageDialog.d.ts +9 -0
- package/dist/components/dialogs/EditMessageDialog.d.ts.map +1 -0
- package/dist/components/icons/AddImageIcon.d.ts.map +1 -1
- package/dist/components/icons/CheckIcon.d.ts +3 -0
- package/dist/components/icons/CheckIcon.d.ts.map +1 -0
- package/dist/components/icons/CopyIcon.d.ts +5 -0
- package/dist/components/icons/CopyIcon.d.ts.map +1 -0
- package/dist/components/icons/EditIcon.d.ts +5 -0
- package/dist/components/icons/EditIcon.d.ts.map +1 -0
- package/dist/components/icons/FullScreenIcon.d.ts +3 -0
- package/dist/components/icons/FullScreenIcon.d.ts.map +1 -0
- package/dist/components/icons/ThumbsDownIcon.d.ts +3 -1
- package/dist/components/icons/ThumbsDownIcon.d.ts.map +1 -1
- package/dist/components/icons/ThumbsUpIcon.d.ts +3 -1
- package/dist/components/icons/ThumbsUpIcon.d.ts.map +1 -1
- package/dist/components/icons/index.d.ts +4 -0
- package/dist/components/icons/index.d.ts.map +1 -1
- package/dist/components/image/PreviewImage.d.ts +5 -0
- package/dist/components/image/PreviewImage.d.ts.map +1 -0
- package/dist/components/inputs/textInput/components/ShortTextInput.d.ts +4 -0
- package/dist/components/inputs/textInput/components/ShortTextInput.d.ts.map +1 -1
- package/dist/components/inputs/textInput/components/TextInput.d.ts +23 -3
- package/dist/components/inputs/textInput/components/TextInput.d.ts.map +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/features/bubble/components/Bubble.d.ts.map +1 -1
- package/dist/features/bubble/types.d.ts +1 -0
- package/dist/features/bubble/types.d.ts.map +1 -1
- package/dist/features/full/components/Full.d.ts.map +1 -1
- package/dist/features/popup/components/Popup.d.ts.map +1 -1
- package/dist/queries/sendMessageQuery.d.ts +47 -1
- package/dist/queries/sendMessageQuery.d.ts.map +1 -1
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/transcriptApi.d.ts +8 -0
- package/dist/utils/transcriptApi.d.ts.map +1 -0
- package/dist/utils/ultimateJsonParser.d.ts +2 -0
- package/dist/utils/ultimateJsonParser.d.ts.map +1 -0
- package/dist/web.d.ts +4 -0
- package/dist/web.d.ts.map +1 -1
- package/dist/web.js +1 -1
- package/dist/window.d.ts +2 -0
- package/dist/window.d.ts.map +1 -1
- package/package.json +5 -3
- package/public/index.html +2 -116
- package/.husky/pre-commit +0 -18
- package/a.json +0 -57
- package/bun.lockb +0 -0
- package/dist/BubbleChat.d.ts +0 -13
- package/dist/BubbleChat.d.ts.map +0 -1
- package/dist/FullPageChat.d.ts +0 -18
- package/dist/FullPageChat.d.ts.map +0 -1
- package/dist/components/ImageUploadButton.d.ts +0 -11
- package/dist/components/ImageUploadButton.d.ts.map +0 -1
- package/dist/components/RecordAudioButton.d.ts +0 -11
- package/dist/components/RecordAudioButton.d.ts.map +0 -1
- package/dist/components/SendButton.d.ts +0 -12
- package/dist/components/SendButton.d.ts.map +0 -1
- package/dist/index.js +0 -1
- package/test.html +0 -17
package/dist/window.d.ts
CHANGED
package/dist/window.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"window.d.ts","sourceRoot":"","sources":["../src/window.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGtD,KAAK,QAAQ,GAAG;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"window.d.ts","sourceRoot":"","sources":["../src/window.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGtD,KAAK,QAAQ,GAAG;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACnC,CAAC;AAIF,eAAO,MAAM,QAAQ,UAAW,QAAQ,GAAG;IAAE,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,SAMzD,CAAC;AAEF,eAAO,MAAM,IAAI,UAAW,QAAQ,SAOnC,CAAC;AAEF,eAAO,MAAM,OAAO,YAEnB,CAAC;AAEF,KAAK,OAAO,GAAG;IACb,QAAQ,EAAE,OAAO,QAAQ,CAAC;IAC1B,IAAI,EAAE,OAAO,IAAI,CAAC;IAClB,OAAO,EAAE,OAAO,OAAO,CAAC;CACzB,CAAC;AAQF,eAAO,MAAM,YAAY;sBAjCO,QAAQ,GAAG;QAAE,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE;kBAQ9B,QAAQ;;CA6BlC,CAAC;AAEH,eAAO,MAAM,qBAAqB,QAAS,OAAO,SAGjD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cmcts-c-agent-embedding",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13-cagent",
|
|
4
4
|
"description": "Javascript library to display flowise chatbot on your website",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -8,12 +8,14 @@
|
|
|
8
8
|
"scripts": {
|
|
9
9
|
"dev": "cross-env NODE_ENV=development rollup --watch --config rollup.config.js",
|
|
10
10
|
"build": "cross-env NODE_ENV=production rollup --config rollup.config.js",
|
|
11
|
+
"type-check": "tsc --noEmit",
|
|
11
12
|
"lint": "eslint \"src/**/*.ts*\"",
|
|
12
13
|
"lint-fix": "eslint --fix \"src/**/*.ts*\"",
|
|
13
14
|
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,md,mdx}\"",
|
|
14
15
|
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,md,mdx}\"",
|
|
15
16
|
"prepare": "husky install",
|
|
16
|
-
"start": "node server.js"
|
|
17
|
+
"start": "node server.js",
|
|
18
|
+
"build-and-publish": "yarn build && npm publish"
|
|
17
19
|
},
|
|
18
20
|
"license": "MIT",
|
|
19
21
|
"dependencies": {
|
|
@@ -76,4 +78,4 @@
|
|
|
76
78
|
"uuid": "^9.0.1"
|
|
77
79
|
},
|
|
78
80
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
79
|
-
}
|
|
81
|
+
}
|
package/public/index.html
CHANGED
|
@@ -21,21 +21,6 @@
|
|
|
21
21
|
<script type="module">
|
|
22
22
|
import Chatbot from './web.js';
|
|
23
23
|
|
|
24
|
-
const customStringify = (obj) => {
|
|
25
|
-
let stringified = JSON.stringify(obj, null, 4)
|
|
26
|
-
.replace(/"([^"]+)":/g, '$1:')
|
|
27
|
-
.replace(/: "([^"]+)"/g, (match, value) => (value.includes('<') ? `: "${value}"` : `: '${value}'`))
|
|
28
|
-
.replace(/: "(true|false|\d+)"/g, ': $1')
|
|
29
|
-
.replace(/customCSS: ""/g, 'customCSS: ``');
|
|
30
|
-
return stringified
|
|
31
|
-
.split('\n')
|
|
32
|
-
.map((line, index) => {
|
|
33
|
-
if (index === 0) return line;
|
|
34
|
-
return ' '.repeat(8) + line;
|
|
35
|
-
})
|
|
36
|
-
.join('\n');
|
|
37
|
-
};
|
|
38
|
-
|
|
39
24
|
// Example initialization:
|
|
40
25
|
// If your .env contains:
|
|
41
26
|
// agent1=xyz789-uvw456,https://example.com
|
|
@@ -47,108 +32,9 @@
|
|
|
47
32
|
// chatflowid: '6a63bb88-88f7-4c4d-805e-9c027c85707b', // or 'support', 'salesbot', etc.
|
|
48
33
|
// chatflowid: 'b573e66d-0e28-4798-8e4f-fbbaff8e236f', // or 'support', 'salesbot', etc.
|
|
49
34
|
// chatflowid: '7ee803b4-e3f8-4f33-bf85-ef9ab9d6f693', // or 'support', 'salesbot', etc.
|
|
50
|
-
chatflowid: '
|
|
35
|
+
chatflowid: '64fda98b-5936-4d00-b87f-f952a7e2082c', // or 'support', 'salesbot', etc.
|
|
36
|
+
// apiHost: 'https://vib.cagent.cmcts.ai',
|
|
51
37
|
apiHost: 'https://stock.cmcts.ai/c-agent',
|
|
52
|
-
// apiHost: 'https://c-agent.cmcts.studio.ai.vn',
|
|
53
|
-
chatwootUrl: 'http://203.145.47.214:8003',
|
|
54
|
-
roomIds: {
|
|
55
|
-
'012345678': 'PED74dTXmVBBdjYGKntbFsMm', // CMC UNI thủ tục nhập học
|
|
56
|
-
'023456781': 'NhRMijqmRGJ6wX657H62HNz5', // CMC UNI Chuyên ngành học
|
|
57
|
-
'034567812': 'ATkjNjV9VBDr4jrN25zRAm1u', // Học phí
|
|
58
|
-
'045678123': 'sWUzHjyjJ81QsdGQScwTkyxn', // CMC UNI công tác sinh viên
|
|
59
|
-
'056781234': 'ncR4YYe2MMeBk6F2AGydw5g9', // CMC UNI General
|
|
60
|
-
},
|
|
61
|
-
theme: customStringify({
|
|
62
|
-
button: {
|
|
63
|
-
backgroundColor: '#3B81F6',
|
|
64
|
-
right: 20,
|
|
65
|
-
bottom: 20,
|
|
66
|
-
size: 48,
|
|
67
|
-
dragAndDrop: true,
|
|
68
|
-
iconColor: 'white',
|
|
69
|
-
customIconSrc: 'https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/svg/google-messages.svg',
|
|
70
|
-
autoWindowOpen: {
|
|
71
|
-
autoOpen: true,
|
|
72
|
-
openDelay: 2,
|
|
73
|
-
autoOpenOnMobile: false,
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
tooltip: {
|
|
77
|
-
showTooltip: true,
|
|
78
|
-
tooltipMessage: 'Hi There 👋!',
|
|
79
|
-
tooltipBackgroundColor: 'black',
|
|
80
|
-
tooltipTextColor: 'white',
|
|
81
|
-
tooltipFontSize: 16,
|
|
82
|
-
},
|
|
83
|
-
disclaimer: {
|
|
84
|
-
title: 'Disclaimer',
|
|
85
|
-
message: 'By using this chatbot, you agree to the <a target="_blank" href="https://flowiseai.com/terms">Terms & Condition</a>',
|
|
86
|
-
textColor: 'black',
|
|
87
|
-
buttonColor: '#3b82f6',
|
|
88
|
-
buttonText: 'Start Chatting',
|
|
89
|
-
buttonTextColor: 'white',
|
|
90
|
-
blurredBackgroundColor: 'rgba(0, 0, 0, 0.4)',
|
|
91
|
-
backgroundColor: 'white',
|
|
92
|
-
},
|
|
93
|
-
customCSS: ``,
|
|
94
|
-
chatWindow: {
|
|
95
|
-
showTitle: true,
|
|
96
|
-
showAgentMessages: true,
|
|
97
|
-
title: 'Agent Studio Bot',
|
|
98
|
-
titleAvatarSrc: 'https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/svg/google-messages.svg',
|
|
99
|
-
welcomeMessage: 'Hello! This is custom welcome message',
|
|
100
|
-
errorMessage: 'This is a custom error message',
|
|
101
|
-
backgroundColor: '#ffffff',
|
|
102
|
-
backgroundImage: 'enter image path or link',
|
|
103
|
-
height: 700,
|
|
104
|
-
width: 400,
|
|
105
|
-
fontSize: 16,
|
|
106
|
-
starterPrompts: ['What is a bot?', 'Who are you?'],
|
|
107
|
-
starterPromptFontSize: 15,
|
|
108
|
-
clearChatOnReload: false,
|
|
109
|
-
sourceDocsTitle: 'Sources:',
|
|
110
|
-
renderHTML: true,
|
|
111
|
-
botMessage: {
|
|
112
|
-
backgroundColor: '#f7f8ff',
|
|
113
|
-
textColor: '#303235',
|
|
114
|
-
showAvatar: true,
|
|
115
|
-
avatarSrc: 'https://raw.githubusercontent.com/zahidkhawaja/langchain-chat-nextjs/main/public/parroticon.png',
|
|
116
|
-
},
|
|
117
|
-
userMessage: {
|
|
118
|
-
backgroundColor: '#3B81F6',
|
|
119
|
-
textColor: '#ffffff',
|
|
120
|
-
showAvatar: true,
|
|
121
|
-
avatarSrc: 'https://raw.githubusercontent.com/zahidkhawaja/langchain-chat-nextjs/main/public/usericon.png',
|
|
122
|
-
},
|
|
123
|
-
textInput: {
|
|
124
|
-
placeholder: 'Type your question',
|
|
125
|
-
backgroundColor: '#ffffff',
|
|
126
|
-
textColor: '#303235',
|
|
127
|
-
sendButtonColor: '#3B81F6',
|
|
128
|
-
maxChars: 50,
|
|
129
|
-
maxCharsWarningMessage: 'You exceeded the characters limit. Please input less than 50 characters.',
|
|
130
|
-
autoFocus: true,
|
|
131
|
-
sendMessageSound: true,
|
|
132
|
-
sendSoundLocation: 'send_message.mp3',
|
|
133
|
-
receiveMessageSound: true,
|
|
134
|
-
receiveSoundLocation: 'receive_message.mp3',
|
|
135
|
-
},
|
|
136
|
-
feedback: {
|
|
137
|
-
color: '#303235',
|
|
138
|
-
},
|
|
139
|
-
dateTimeToggle: {
|
|
140
|
-
date: true,
|
|
141
|
-
time: true,
|
|
142
|
-
},
|
|
143
|
-
footer: {
|
|
144
|
-
textColor: '#303235',
|
|
145
|
-
text: 'Powered by',
|
|
146
|
-
company: 'Agent Studio',
|
|
147
|
-
// companyLink: 'https://flowiseai.com'
|
|
148
|
-
companyLink: '#',
|
|
149
|
-
},
|
|
150
|
-
},
|
|
151
|
-
}),
|
|
152
38
|
});
|
|
153
39
|
</script>
|
|
154
40
|
</body>
|
package/.husky/pre-commit
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env sh
|
|
2
|
-
. "$(dirname -- "$0")/_/husky.sh"
|
|
3
|
-
|
|
4
|
-
set -e # Exit on any error
|
|
5
|
-
|
|
6
|
-
echo "Running ESLint for linting..."
|
|
7
|
-
npm run lint
|
|
8
|
-
|
|
9
|
-
echo "Running ESLint for fixing issues..."
|
|
10
|
-
npm run lint-fix
|
|
11
|
-
|
|
12
|
-
echo "Formatting code..."
|
|
13
|
-
npm run format
|
|
14
|
-
|
|
15
|
-
echo "Checking formatting..."
|
|
16
|
-
npm run format:check
|
|
17
|
-
|
|
18
|
-
echo "Pre-commit checks passed."
|
package/a.json
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"agentName": "question_analyzer",
|
|
4
|
-
"messages": [
|
|
5
|
-
"{\"sub_requests\":[\"gọi tư vấn viên\"],\"convesation_related\":true,\"worker_call\":false,\"name\":\"Van dong\",\"phone_number\":\"0376561156\",\"human_support\":true,\"unsatisfied_times\":0}"
|
|
6
|
-
],
|
|
7
|
-
"usedTools": [
|
|
8
|
-
null
|
|
9
|
-
],
|
|
10
|
-
"sourceDocuments": [
|
|
11
|
-
null
|
|
12
|
-
],
|
|
13
|
-
"artifacts": [
|
|
14
|
-
null
|
|
15
|
-
],
|
|
16
|
-
"state": {
|
|
17
|
-
"worker_call": false,
|
|
18
|
-
"sub_requests": [
|
|
19
|
-
"gọi tư vấn viên"
|
|
20
|
-
],
|
|
21
|
-
"current_date": "Thursday, December 26, 2024 at 05:11 AM UTC",
|
|
22
|
-
"name": "Van dong",
|
|
23
|
-
"phone_number": "0376561156",
|
|
24
|
-
"human_support": true
|
|
25
|
-
},
|
|
26
|
-
"nodeName": "seqLLMNode",
|
|
27
|
-
"nodeId": "seqLLMNode_0"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"agentName": "check_call_CMC_worker",
|
|
31
|
-
"messages": [
|
|
32
|
-
"human_router"
|
|
33
|
-
],
|
|
34
|
-
"nodeName": "seqCondition",
|
|
35
|
-
"nodeId": "seqCondition_0"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"agentName": "human_router",
|
|
39
|
-
"messages": [
|
|
40
|
-
"{\"assistant_phone_number\":\"034567812\",\"assistant_name\":\"Huy - Tư vấn viên học phí, học bổng\"}"
|
|
41
|
-
],
|
|
42
|
-
"usedTools": [
|
|
43
|
-
null
|
|
44
|
-
],
|
|
45
|
-
"sourceDocuments": [
|
|
46
|
-
null
|
|
47
|
-
],
|
|
48
|
-
"artifacts": [
|
|
49
|
-
null
|
|
50
|
-
],
|
|
51
|
-
"state": {
|
|
52
|
-
"human_support": false
|
|
53
|
-
},
|
|
54
|
-
"nodeName": "seqLLMNode",
|
|
55
|
-
"nodeId": "seqLLMNode_3"
|
|
56
|
-
}
|
|
57
|
-
]
|
package/bun.lockb
DELETED
|
Binary file
|
package/dist/BubbleChat.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { BubbleProps } from 'cmcts-c-agent-embedding';
|
|
3
|
-
type Props = BubbleProps;
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface IntrinsicElements {
|
|
7
|
-
'flowise-chatbot': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export declare const BubbleChat: (props: Props) => null;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=BubbleChat.d.ts.map
|
package/dist/BubbleChat.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BubbleChat.d.ts","sourceRoot":"","sources":["../src/BubbleChat.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAG1D,KAAK,KAAK,GAAG,WAAW,CAAA;AAExB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CACxC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EACjC,WAAW,CACZ,CAAA;SACF;KACF;CACF;AAID,eAAO,MAAM,UAAU,UAAW,KAAK,SAkCtC,CAAA"}
|
package/dist/FullPageChat.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { BotProps } from 'cmcts-c-agent-embedding';
|
|
3
|
-
type Props = BotProps & {
|
|
4
|
-
style?: React.CSSProperties;
|
|
5
|
-
className?: string;
|
|
6
|
-
};
|
|
7
|
-
declare global {
|
|
8
|
-
namespace JSX {
|
|
9
|
-
interface IntrinsicElements {
|
|
10
|
-
'flowise-fullchatbot': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
11
|
-
class?: string;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export declare const FullPageChat: ({ style, className, ...assignableProps }: Props) => JSX.Element;
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=FullPageChat.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FullPageChat.d.ts","sourceRoot":"","sources":["../src/FullPageChat.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AAGvD,KAAK,KAAK,GAAG,QAAQ,GAAG;IACtB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,qBAAqB,EAAE,KAAK,CAAC,iBAAiB,CAC5C,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EACjC,WAAW,CACZ,GAAG;gBAAE,KAAK,CAAC,EAAE,MAAM,CAAA;aAAE,CAAA;SACvB;KACF;CACF;AAID,eAAO,MAAM,YAAY,6CAA8C,KAAK,gBAe3E,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js/jsx-runtime';
|
|
2
|
-
type ImageUploadButtonProps = {
|
|
3
|
-
buttonColor?: string;
|
|
4
|
-
isDisabled?: boolean;
|
|
5
|
-
isLoading?: boolean;
|
|
6
|
-
disableIcon?: boolean;
|
|
7
|
-
} & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
8
|
-
export declare const ImageUploadButton: (props: ImageUploadButtonProps) => JSX.Element;
|
|
9
|
-
export declare const Spinner: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=ImageUploadButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ImageUploadButton.d.ts","sourceRoot":"","sources":["../../src/components/ImageUploadButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,KAAK,sBAAsB,GAAG;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEhD,eAAO,MAAM,iBAAiB,UAAW,sBAAsB,gBAiB9D,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBjE,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js/jsx-runtime';
|
|
2
|
-
type RecordAudioButtonProps = {
|
|
3
|
-
buttonColor?: string;
|
|
4
|
-
isDisabled?: boolean;
|
|
5
|
-
isLoading?: boolean;
|
|
6
|
-
disableIcon?: boolean;
|
|
7
|
-
} & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
8
|
-
export declare const RecordAudioButton: (props: RecordAudioButtonProps) => JSX.Element;
|
|
9
|
-
export declare const Spinner: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=RecordAudioButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordAudioButton.d.ts","sourceRoot":"","sources":["../../src/components/RecordAudioButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,KAAK,sBAAsB,GAAG;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEhD,eAAO,MAAM,iBAAiB,UAAW,sBAAsB,gBAiB9D,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBjE,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'solid-js/jsx-runtime';
|
|
2
|
-
type SendButtonProps = {
|
|
3
|
-
sendButtonColor?: string;
|
|
4
|
-
isDisabled?: boolean;
|
|
5
|
-
isLoading?: boolean;
|
|
6
|
-
disableIcon?: boolean;
|
|
7
|
-
} & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
8
|
-
export declare const SendButton: (props: SendButtonProps) => JSX.Element;
|
|
9
|
-
export declare const DeleteButton: (props: SendButtonProps) => JSX.Element;
|
|
10
|
-
export declare const Spinner: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=SendButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../src/components/SendButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAI3C,KAAK,eAAe,GAAG;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEhD,eAAO,MAAM,UAAU,UAAW,eAAe,gBAiBhD,CAAC;AACF,eAAO,MAAM,YAAY,UAAW,eAAe,gBAkBlD,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBjE,CAAC"}
|