cmcts-c-agent-embedding-react 1.0.64-vib → 1.1.1-cmcuni
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/html.html +17 -0
- package/package.json +44 -48
- 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/dist/window.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { observersConfigType } from './components/Bot';
|
|
2
|
-
import { BubbleTheme } from './features/bubble/types';
|
|
3
|
-
type BotProps = {
|
|
4
|
-
chatflowid: string;
|
|
5
|
-
apiHost?: string;
|
|
6
|
-
onRequest?: (request: RequestInit) => Promise<void>;
|
|
7
|
-
chatflowConfig?: Record<string, unknown>;
|
|
8
|
-
observersConfig?: observersConfigType;
|
|
9
|
-
theme?: BubbleTheme;
|
|
10
|
-
chatwootUrl?: string;
|
|
11
|
-
roomIds?: Record<string, string>;
|
|
12
|
-
isUseFAQ?: boolean;
|
|
13
|
-
};
|
|
14
|
-
export declare const initFull: (props: BotProps & {
|
|
15
|
-
id?: string;
|
|
16
|
-
}) => void;
|
|
17
|
-
export declare const init: (props: BotProps) => void;
|
|
18
|
-
export declare const destroy: () => void;
|
|
19
|
-
type Chatbot = {
|
|
20
|
-
initFull: typeof initFull;
|
|
21
|
-
init: typeof init;
|
|
22
|
-
destroy: typeof destroy;
|
|
23
|
-
};
|
|
24
|
-
export declare const parseChatbot: () => {
|
|
25
|
-
initFull: (props: BotProps & {
|
|
26
|
-
id?: string;
|
|
27
|
-
}) => void;
|
|
28
|
-
init: (props: BotProps) => void;
|
|
29
|
-
destroy: () => void;
|
|
30
|
-
};
|
|
31
|
-
export declare const injectChatbotInWindow: (bot: Chatbot) => void;
|
|
32
|
-
export {};
|
|
33
|
-
//# sourceMappingURL=window.d.ts.map
|
package/dist/window.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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;CACpB,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"}
|