cmcts-c-agent-embedding-react 1.0.64-vib → 1.0.66-vib
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 +48 -48
- package/base.json +21 -21
- package/dist/index.js +1 -1
- package/package.json +43 -47
- package/react-library.json +11 -11
- package/dist/components/Badge.d.ts +0 -10
- package/dist/components/Badge.d.ts.map +0 -1
- package/dist/components/Bot.d.ts +0 -130
- package/dist/components/Bot.d.ts.map +0 -1
- package/dist/components/FeedbackContentDialog.d.ts +0 -16
- package/dist/components/FeedbackContentDialog.d.ts.map +0 -1
- package/dist/components/Toast.d.ts +0 -10
- package/dist/components/Toast.d.ts.map +0 -1
- package/dist/components/TypingBubble.d.ts +0 -2
- package/dist/components/TypingBubble.d.ts.map +0 -1
- package/dist/components/avatars/Avatar.d.ts +0 -4
- package/dist/components/avatars/Avatar.d.ts.map +0 -1
- package/dist/components/avatars/DefaultAvatar.d.ts +0 -2
- package/dist/components/avatars/DefaultAvatar.d.ts.map +0 -1
- package/dist/components/bubbles/AgentReasoningBubble.d.ts +0 -16
- package/dist/components/bubbles/AgentReasoningBubble.d.ts.map +0 -1
- package/dist/components/bubbles/BotBubble.d.ts +0 -38
- package/dist/components/bubbles/BotBubble.d.ts.map +0 -1
- package/dist/components/bubbles/FollowUpPromptBubble.d.ts +0 -8
- package/dist/components/bubbles/FollowUpPromptBubble.d.ts.map +0 -1
- package/dist/components/bubbles/GuestBubble.d.ts +0 -16
- package/dist/components/bubbles/GuestBubble.d.ts.map +0 -1
- package/dist/components/bubbles/LeadCaptureBubble.d.ts +0 -20
- package/dist/components/bubbles/LeadCaptureBubble.d.ts.map +0 -1
- package/dist/components/bubbles/LoadingBubble.d.ts +0 -8
- package/dist/components/bubbles/LoadingBubble.d.ts.map +0 -1
- package/dist/components/bubbles/SourceBubble.d.ts +0 -9
- package/dist/components/bubbles/SourceBubble.d.ts.map +0 -1
- package/dist/components/bubbles/StarterPromptBubble.d.ts +0 -8
- package/dist/components/bubbles/StarterPromptBubble.d.ts.map +0 -1
- package/dist/components/buttons/AttachmentUploadButton.d.ts +0 -11
- package/dist/components/buttons/AttachmentUploadButton.d.ts.map +0 -1
- package/dist/components/buttons/CancelButton.d.ts +0 -10
- package/dist/components/buttons/CancelButton.d.ts.map +0 -1
- package/dist/components/buttons/FeedbackButtons.d.ts +0 -14
- package/dist/components/buttons/FeedbackButtons.d.ts.map +0 -1
- package/dist/components/buttons/ImageUploadButton.d.ts +0 -11
- package/dist/components/buttons/ImageUploadButton.d.ts.map +0 -1
- package/dist/components/buttons/LeadCaptureButtons.d.ts +0 -11
- package/dist/components/buttons/LeadCaptureButtons.d.ts.map +0 -1
- package/dist/components/buttons/RecordAudioButton.d.ts +0 -11
- package/dist/components/buttons/RecordAudioButton.d.ts.map +0 -1
- package/dist/components/buttons/SendButton.d.ts +0 -13
- package/dist/components/buttons/SendButton.d.ts.map +0 -1
- package/dist/components/icons/AddImageIcon.d.ts +0 -3
- package/dist/components/icons/AddImageIcon.d.ts.map +0 -1
- package/dist/components/icons/AttachmentIcon.d.ts +0 -3
- package/dist/components/icons/AttachmentIcon.d.ts.map +0 -1
- package/dist/components/icons/CircleDotIcon.d.ts +0 -3
- package/dist/components/icons/CircleDotIcon.d.ts.map +0 -1
- package/dist/components/icons/ClipboardIcon.d.ts +0 -3
- package/dist/components/icons/ClipboardIcon.d.ts.map +0 -1
- package/dist/components/icons/CmcIcon.d.ts +0 -3
- package/dist/components/icons/CmcIcon.d.ts.map +0 -1
- package/dist/components/icons/DeleteIcon.d.ts +0 -3
- package/dist/components/icons/DeleteIcon.d.ts.map +0 -1
- package/dist/components/icons/FullScreenIcon.d.ts +0 -3
- package/dist/components/icons/FullScreenIcon.d.ts.map +0 -1
- package/dist/components/icons/RecordIcon.d.ts +0 -3
- package/dist/components/icons/RecordIcon.d.ts.map +0 -1
- package/dist/components/icons/ResetBtn.d.ts +0 -3
- package/dist/components/icons/ResetBtn.d.ts.map +0 -1
- package/dist/components/icons/SendIcon.d.ts +0 -3
- package/dist/components/icons/SendIcon.d.ts.map +0 -1
- package/dist/components/icons/SendIconOff.d.ts +0 -3
- package/dist/components/icons/SendIconOff.d.ts.map +0 -1
- package/dist/components/icons/SendIconOn.d.ts +0 -3
- package/dist/components/icons/SendIconOn.d.ts.map +0 -1
- package/dist/components/icons/SparklesIcon.d.ts +0 -3
- package/dist/components/icons/SparklesIcon.d.ts.map +0 -1
- package/dist/components/icons/ThumbsDownIcon.d.ts +0 -5
- package/dist/components/icons/ThumbsDownIcon.d.ts.map +0 -1
- package/dist/components/icons/ThumbsUpIcon.d.ts +0 -5
- package/dist/components/icons/ThumbsUpIcon.d.ts.map +0 -1
- package/dist/components/icons/TickIcon.d.ts +0 -2
- package/dist/components/icons/TickIcon.d.ts.map +0 -1
- package/dist/components/icons/TrashIcon.d.ts +0 -3
- package/dist/components/icons/TrashIcon.d.ts.map +0 -1
- package/dist/components/icons/XIcon.d.ts +0 -5
- package/dist/components/icons/XIcon.d.ts.map +0 -1
- package/dist/components/icons/index.d.ts +0 -15
- package/dist/components/icons/index.d.ts.map +0 -1
- package/dist/components/image/PreviewImage.d.ts +0 -5
- package/dist/components/image/PreviewImage.d.ts.map +0 -1
- package/dist/components/index.d.ts +0 -3
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/inputs/textInput/components/FilePreview.d.ts +0 -12
- package/dist/components/inputs/textInput/components/FilePreview.d.ts.map +0 -1
- package/dist/components/inputs/textInput/components/ShortTextInput.d.ts +0 -13
- package/dist/components/inputs/textInput/components/ShortTextInput.d.ts.map +0 -1
- package/dist/components/inputs/textInput/components/TextInput.d.ts +0 -36
- package/dist/components/inputs/textInput/components/TextInput.d.ts.map +0 -1
- package/dist/components/inputs/textInput/index.d.ts +0 -3
- package/dist/components/inputs/textInput/index.d.ts.map +0 -1
- package/dist/components/mobile/MobileWelcomeScreen.d.ts +0 -13
- package/dist/components/mobile/MobileWelcomeScreen.d.ts.map +0 -1
- package/dist/constants.d.ts +0 -3
- package/dist/constants.d.ts.map +0 -1
- package/dist/features/bubble/components/Bubble.d.ts +0 -5
- package/dist/features/bubble/components/Bubble.d.ts.map +0 -1
- package/dist/features/bubble/components/BubbleButton.d.ts +0 -16
- package/dist/features/bubble/components/BubbleButton.d.ts.map +0 -1
- package/dist/features/bubble/components/Tooltip.d.ts +0 -15
- package/dist/features/bubble/components/Tooltip.d.ts.map +0 -1
- package/dist/features/bubble/components/index.d.ts +0 -2
- package/dist/features/bubble/components/index.d.ts.map +0 -1
- package/dist/features/bubble/index.d.ts +0 -2
- package/dist/features/bubble/index.d.ts.map +0 -1
- package/dist/features/bubble/types.d.ts +0 -111
- package/dist/features/bubble/types.d.ts.map +0 -1
- package/dist/features/full/components/Full.d.ts +0 -7
- package/dist/features/full/components/Full.d.ts.map +0 -1
- package/dist/features/full/components/index.d.ts +0 -2
- package/dist/features/full/components/index.d.ts.map +0 -1
- package/dist/features/full/index.d.ts +0 -2
- package/dist/features/full/index.d.ts.map +0 -1
- package/dist/features/popup/components/DisclaimerPopup.d.ts +0 -14
- package/dist/features/popup/components/DisclaimerPopup.d.ts.map +0 -1
- package/dist/features/popup/components/Popup.d.ts +0 -8
- package/dist/features/popup/components/Popup.d.ts.map +0 -1
- package/dist/features/popup/components/index.d.ts +0 -3
- package/dist/features/popup/components/index.d.ts.map +0 -1
- package/dist/features/popup/index.d.ts +0 -2
- package/dist/features/popup/index.d.ts.map +0 -1
- package/dist/features/popup/types.d.ts +0 -8
- package/dist/features/popup/types.d.ts.map +0 -1
- package/dist/hooks/useMobileDetection.d.ts +0 -52
- package/dist/hooks/useMobileDetection.d.ts.map +0 -1
- package/dist/queries/sendMessageQuery.d.ts +0 -125
- package/dist/queries/sendMessageQuery.d.ts.map +0 -1
- package/dist/register.d.ts +0 -2
- package/dist/register.d.ts.map +0 -1
- package/dist/test-markdown-component.d.ts +0 -2
- package/dist/test-markdown-component.d.ts.map +0 -1
- package/dist/types.d.ts +0 -1
- package/dist/types.d.ts.map +0 -1
- package/dist/utils/audioRecording.d.ts +0 -21
- package/dist/utils/audioRecording.d.ts.map +0 -1
- package/dist/utils/chatInputHistory.d.ts +0 -22
- package/dist/utils/chatInputHistory.d.ts.map +0 -1
- package/dist/utils/index.d.ts +0 -100
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/isMobileSignal.d.ts +0 -2
- package/dist/utils/isMobileSignal.d.ts.map +0 -1
- package/dist/utils/mobileUtils.d.ts +0 -32
- package/dist/utils/mobileUtils.d.ts.map +0 -1
- package/dist/utils/ultimateJsonParser.d.ts +0 -2
- package/dist/utils/ultimateJsonParser.d.ts.map +0 -1
- package/dist/web.d.ts +0 -29
- package/dist/web.d.ts.map +0 -1
- package/dist/web.js +0 -1
- package/dist/window.d.ts +0 -33
- package/dist/window.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
<!-- markdownlint-disable MD030 -->
|
|
2
|
-
|
|
3
|
-
# Flowise Embed React
|
|
4
|
-
|
|
5
|
-
React library to display flowise chatbot on your website
|
|
6
|
-
|
|
7
|
-

|
|
8
|
-
|
|
9
|
-
## Install
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
npm install c-agent-embedding c-agent-embedding-react
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
or
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
yarn add c-agent-embedding c-agent-embedding-react
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Import
|
|
22
|
-
|
|
23
|
-
Full Page Chat
|
|
24
|
-
|
|
25
|
-
```tsx
|
|
26
|
-
import { FullPageChat } from "c-agent-embedding-react";
|
|
27
|
-
|
|
28
|
-
const App = () => {
|
|
29
|
-
return (
|
|
30
|
-
<FullPageChat
|
|
31
|
-
chatflowid="your-chatflow-id"
|
|
32
|
-
apiHost="http://localhost:3000"
|
|
33
|
-
/>
|
|
34
|
-
);
|
|
35
|
-
};
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
Popup Chat
|
|
39
|
-
|
|
40
|
-
```tsx
|
|
41
|
-
import { BubbleChat } from "c-agent-embedding-react";
|
|
42
|
-
|
|
43
|
-
const App = () => {
|
|
44
|
-
return (
|
|
45
|
-
<BubbleChat chatflowid="your-chatflow-id" apiHost="http://localhost:3000" />
|
|
46
|
-
);
|
|
47
|
-
};
|
|
48
|
-
```
|
|
1
|
+
<!-- markdownlint-disable MD030 -->
|
|
2
|
+
|
|
3
|
+
# Flowise Embed React
|
|
4
|
+
|
|
5
|
+
React library to display flowise chatbot on your website
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install c-agent-embedding c-agent-embedding-react
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
or
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
yarn add c-agent-embedding c-agent-embedding-react
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Import
|
|
22
|
+
|
|
23
|
+
Full Page Chat
|
|
24
|
+
|
|
25
|
+
```tsx
|
|
26
|
+
import { FullPageChat } from "c-agent-embedding-react";
|
|
27
|
+
|
|
28
|
+
const App = () => {
|
|
29
|
+
return (
|
|
30
|
+
<FullPageChat
|
|
31
|
+
chatflowid="your-chatflow-id"
|
|
32
|
+
apiHost="http://localhost:3000"
|
|
33
|
+
/>
|
|
34
|
+
);
|
|
35
|
+
};
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Popup Chat
|
|
39
|
+
|
|
40
|
+
```tsx
|
|
41
|
+
import { BubbleChat } from "c-agent-embedding-react";
|
|
42
|
+
|
|
43
|
+
const App = () => {
|
|
44
|
+
return (
|
|
45
|
+
<BubbleChat chatflowid="your-chatflow-id" apiHost="http://localhost:3000" />
|
|
46
|
+
);
|
|
47
|
+
};
|
|
48
|
+
```
|
package/base.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
-
"display": "Default",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"composite": false,
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"declarationMap": true,
|
|
8
|
-
"esModuleInterop": true,
|
|
9
|
-
"forceConsistentCasingInFileNames": true,
|
|
10
|
-
"inlineSources": false,
|
|
11
|
-
"isolatedModules": true,
|
|
12
|
-
"moduleResolution": "node",
|
|
13
|
-
"noUnusedLocals": false,
|
|
14
|
-
"noUnusedParameters": false,
|
|
15
|
-
"preserveWatchOutput": true,
|
|
16
|
-
"skipLibCheck": true,
|
|
17
|
-
"strict": true,
|
|
18
|
-
"downlevelIteration": true
|
|
19
|
-
},
|
|
20
|
-
"exclude": ["node_modules"]
|
|
21
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"display": "Default",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"composite": false,
|
|
6
|
+
"declaration": true,
|
|
7
|
+
"declarationMap": true,
|
|
8
|
+
"esModuleInterop": true,
|
|
9
|
+
"forceConsistentCasingInFileNames": true,
|
|
10
|
+
"inlineSources": false,
|
|
11
|
+
"isolatedModules": true,
|
|
12
|
+
"moduleResolution": "node",
|
|
13
|
+
"noUnusedLocals": false,
|
|
14
|
+
"noUnusedParameters": false,
|
|
15
|
+
"preserveWatchOutput": true,
|
|
16
|
+
"skipLibCheck": true,
|
|
17
|
+
"strict": true,
|
|
18
|
+
"downlevelIteration": true
|
|
19
|
+
},
|
|
20
|
+
"exclude": ["node_modules"]
|
|
21
|
+
}
|