thub-embed 1.1.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.
- package/.env +34 -0
- package/.eslintrc.cjs +14 -0
- package/.husky/pre-commit +18 -0
- package/.prettierignore +3 -0
- package/.prettierrc +8 -0
- package/README.md +353 -0
- package/base.json +21 -0
- package/dist/components/Badge.d.ts +10 -0
- package/dist/components/Badge.d.ts.map +1 -0
- package/dist/components/Bot.d.ts +120 -0
- package/dist/components/Bot.d.ts.map +1 -0
- package/dist/components/FeedbackContentDialog.d.ts +10 -0
- package/dist/components/FeedbackContentDialog.d.ts.map +1 -0
- package/dist/components/TypingBubble.d.ts +2 -0
- package/dist/components/TypingBubble.d.ts.map +1 -0
- package/dist/components/avatars/Avatar.d.ts +4 -0
- package/dist/components/avatars/Avatar.d.ts.map +1 -0
- package/dist/components/avatars/DefaultAvatar.d.ts +2 -0
- package/dist/components/avatars/DefaultAvatar.d.ts.map +1 -0
- package/dist/components/bubbles/AgentReasoningBubble.d.ts +16 -0
- package/dist/components/bubbles/AgentReasoningBubble.d.ts.map +1 -0
- package/dist/components/bubbles/BotBubble.d.ts +27 -0
- package/dist/components/bubbles/BotBubble.d.ts.map +1 -0
- package/dist/components/bubbles/FollowUpPromptBubble.d.ts +8 -0
- package/dist/components/bubbles/FollowUpPromptBubble.d.ts.map +1 -0
- package/dist/components/bubbles/GuestBubble.d.ts +16 -0
- package/dist/components/bubbles/GuestBubble.d.ts.map +1 -0
- package/dist/components/bubbles/LeadCaptureBubble.d.ts +20 -0
- package/dist/components/bubbles/LeadCaptureBubble.d.ts.map +1 -0
- package/dist/components/bubbles/LoadingBubble.d.ts +2 -0
- package/dist/components/bubbles/LoadingBubble.d.ts.map +1 -0
- package/dist/components/bubbles/SourceBubble.d.ts +8 -0
- package/dist/components/bubbles/SourceBubble.d.ts.map +1 -0
- package/dist/components/bubbles/StarterPromptBubble.d.ts +8 -0
- package/dist/components/bubbles/StarterPromptBubble.d.ts.map +1 -0
- package/dist/components/buttons/AttachmentUploadButton.d.ts +11 -0
- package/dist/components/buttons/AttachmentUploadButton.d.ts.map +1 -0
- package/dist/components/buttons/CallButton.d.ts +14 -0
- package/dist/components/buttons/CallButton.d.ts.map +1 -0
- package/dist/components/buttons/CancelButton.d.ts +10 -0
- package/dist/components/buttons/CancelButton.d.ts.map +1 -0
- package/dist/components/buttons/FeedbackButtons.d.ts +13 -0
- package/dist/components/buttons/FeedbackButtons.d.ts.map +1 -0
- package/dist/components/buttons/ImageUploadButton.d.ts +11 -0
- package/dist/components/buttons/ImageUploadButton.d.ts.map +1 -0
- package/dist/components/buttons/LeadCaptureButtons.d.ts +11 -0
- package/dist/components/buttons/LeadCaptureButtons.d.ts.map +1 -0
- package/dist/components/buttons/RecordAudioButton.d.ts +11 -0
- package/dist/components/buttons/RecordAudioButton.d.ts.map +1 -0
- package/dist/components/buttons/SendButton.d.ts +12 -0
- package/dist/components/buttons/SendButton.d.ts.map +1 -0
- package/dist/components/icons/AddImageIcon.d.ts +3 -0
- package/dist/components/icons/AddImageIcon.d.ts.map +1 -0
- package/dist/components/icons/AttachmentIcon.d.ts +3 -0
- package/dist/components/icons/AttachmentIcon.d.ts.map +1 -0
- package/dist/components/icons/BotIcon.d.ts +3 -0
- package/dist/components/icons/BotIcon.d.ts.map +1 -0
- package/dist/components/icons/CircleDotIcon.d.ts +3 -0
- package/dist/components/icons/CircleDotIcon.d.ts.map +1 -0
- package/dist/components/icons/ClipboardIcon.d.ts +3 -0
- package/dist/components/icons/ClipboardIcon.d.ts.map +1 -0
- package/dist/components/icons/DeleteIcon.d.ts +3 -0
- package/dist/components/icons/DeleteIcon.d.ts.map +1 -0
- package/dist/components/icons/IconPhoneCall.d.ts +3 -0
- package/dist/components/icons/IconPhoneCall.d.ts.map +1 -0
- package/dist/components/icons/IconPhoneOff.d.ts +3 -0
- package/dist/components/icons/IconPhoneOff.d.ts.map +1 -0
- package/dist/components/icons/RecordIcon.d.ts +3 -0
- package/dist/components/icons/RecordIcon.d.ts.map +1 -0
- package/dist/components/icons/SendIcon.d.ts +3 -0
- package/dist/components/icons/SendIcon.d.ts.map +1 -0
- package/dist/components/icons/SparklesIcon.d.ts +3 -0
- package/dist/components/icons/SparklesIcon.d.ts.map +1 -0
- package/dist/components/icons/ThumbsDownIcon.d.ts +3 -0
- package/dist/components/icons/ThumbsDownIcon.d.ts.map +1 -0
- package/dist/components/icons/ThumbsUpIcon.d.ts +3 -0
- package/dist/components/icons/ThumbsUpIcon.d.ts.map +1 -0
- package/dist/components/icons/TickIcon.d.ts +2 -0
- package/dist/components/icons/TickIcon.d.ts.map +1 -0
- package/dist/components/icons/TrashIcon.d.ts +3 -0
- package/dist/components/icons/TrashIcon.d.ts.map +1 -0
- package/dist/components/icons/UserIcon.d.ts +3 -0
- package/dist/components/icons/UserIcon.d.ts.map +1 -0
- package/dist/components/icons/XIcon.d.ts +5 -0
- package/dist/components/icons/XIcon.d.ts.map +1 -0
- package/dist/components/icons/index.d.ts +16 -0
- package/dist/components/icons/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/inputs/textInput/components/FilePreview.d.ts +12 -0
- package/dist/components/inputs/textInput/components/FilePreview.d.ts.map +1 -0
- package/dist/components/inputs/textInput/components/ShortTextInput.d.ts +10 -0
- package/dist/components/inputs/textInput/components/ShortTextInput.d.ts.map +1 -0
- package/dist/components/inputs/textInput/components/TextInput.d.ts +31 -0
- package/dist/components/inputs/textInput/components/TextInput.d.ts.map +1 -0
- package/dist/components/inputs/textInput/index.d.ts +3 -0
- package/dist/components/inputs/textInput/index.d.ts.map +1 -0
- package/dist/constants.d.ts +3 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/features/bubble/components/Bubble.d.ts +5 -0
- package/dist/features/bubble/components/Bubble.d.ts.map +1 -0
- package/dist/features/bubble/components/BubbleButton.d.ts +16 -0
- package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -0
- package/dist/features/bubble/components/Tooltip.d.ts +15 -0
- package/dist/features/bubble/components/Tooltip.d.ts.map +1 -0
- package/dist/features/bubble/components/index.d.ts +2 -0
- package/dist/features/bubble/components/index.d.ts.map +1 -0
- package/dist/features/bubble/index.d.ts +2 -0
- package/dist/features/bubble/index.d.ts.map +1 -0
- package/dist/features/bubble/types.d.ts +111 -0
- package/dist/features/bubble/types.d.ts.map +1 -0
- package/dist/features/full/components/Full.d.ts +7 -0
- package/dist/features/full/components/Full.d.ts.map +1 -0
- package/dist/features/full/components/index.d.ts +2 -0
- package/dist/features/full/components/index.d.ts.map +1 -0
- package/dist/features/full/index.d.ts +2 -0
- package/dist/features/full/index.d.ts.map +1 -0
- package/dist/features/popup/components/DisclaimerPopup.d.ts +18 -0
- package/dist/features/popup/components/DisclaimerPopup.d.ts.map +1 -0
- package/dist/features/popup/components/Popup.d.ts +8 -0
- package/dist/features/popup/components/Popup.d.ts.map +1 -0
- package/dist/features/popup/components/index.d.ts +3 -0
- package/dist/features/popup/components/index.d.ts.map +1 -0
- package/dist/features/popup/index.d.ts +2 -0
- package/dist/features/popup/index.d.ts.map +1 -0
- package/dist/features/popup/types.d.ts +8 -0
- package/dist/features/popup/types.d.ts.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/queries/sendMessageQuery.d.ts +99 -0
- package/dist/queries/sendMessageQuery.d.ts.map +1 -0
- package/dist/register.d.ts +2 -0
- package/dist/register.d.ts.map +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/audioRecording.d.ts +21 -0
- package/dist/utils/audioRecording.d.ts.map +1 -0
- package/dist/utils/chatInputHistory.d.ts +22 -0
- package/dist/utils/chatInputHistory.d.ts.map +1 -0
- package/dist/utils/index.d.ts +23 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/isMobileSignal.d.ts +2 -0
- package/dist/utils/isMobileSignal.d.ts.map +1 -0
- package/dist/web.d.ts +23 -0
- package/dist/web.d.ts.map +1 -0
- package/dist/web.js +1 -0
- package/dist/web.umd.js +1 -0
- package/dist/window.d.ts +30 -0
- package/dist/window.d.ts.map +1 -0
- package/images/ChatEmbed.gif +0 -0
- package/package.json +75 -0
- package/public/index.html +37 -0
- package/server.js +394 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IAction, MessageType } from '../Bot';
|
|
2
|
+
import { DateTimeToggleTheme } from '@/features/bubble/types';
|
|
3
|
+
type Props = {
|
|
4
|
+
message: MessageType;
|
|
5
|
+
chatflowid: string;
|
|
6
|
+
chatId: string;
|
|
7
|
+
apiHost?: string;
|
|
8
|
+
onRequest?: (request: RequestInit) => Promise<void>;
|
|
9
|
+
fileAnnotations?: any;
|
|
10
|
+
showAvatar?: boolean;
|
|
11
|
+
avatarSrc?: string;
|
|
12
|
+
backgroundColor?: string;
|
|
13
|
+
textColor?: string;
|
|
14
|
+
chatFeedbackStatus?: boolean;
|
|
15
|
+
fontSize?: number;
|
|
16
|
+
feedbackColor?: string;
|
|
17
|
+
isLoading: boolean;
|
|
18
|
+
dateTimeToggle?: DateTimeToggleTheme;
|
|
19
|
+
showAgentMessages?: boolean;
|
|
20
|
+
sourceDocsTitle?: string;
|
|
21
|
+
renderHTML?: boolean;
|
|
22
|
+
handleActionClick: (label: string, action: IAction | undefined | null) => void;
|
|
23
|
+
handleSourceDocumentsClick: (src: any) => void;
|
|
24
|
+
};
|
|
25
|
+
export declare const BotBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=BotBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BotBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/BotBubble.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAc,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAM1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,WAAW,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,mBAAmB,CAAC;IACrC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/E,0BAA0B,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;CAChD,CAAC;AAOF,eAAO,MAAM,SAAS,UAAW,KAAK,mCAscrC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FollowUpPromptBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/FollowUpPromptBubble.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AACF,eAAO,MAAM,oBAAoB,UAAW,KAAK,mCAsBhD,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MessageType } from '../Bot';
|
|
2
|
+
type Props = {
|
|
3
|
+
message: MessageType;
|
|
4
|
+
apiHost?: string;
|
|
5
|
+
chatflowid: string;
|
|
6
|
+
chatId: string;
|
|
7
|
+
showAvatar?: boolean;
|
|
8
|
+
avatarSrc?: string;
|
|
9
|
+
backgroundColor?: string;
|
|
10
|
+
textColor?: string;
|
|
11
|
+
fontSize?: number;
|
|
12
|
+
renderHTML?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare const GuestBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=GuestBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GuestBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/GuestBubble.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAc,WAAW,EAAE,MAAM,QAAQ,CAAC;AAGjD,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,WAAW,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAMF,eAAO,MAAM,WAAW,UAAW,KAAK,mCAwEvC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LeadsConfig, MessageType } from '@/components/Bot';
|
|
2
|
+
type Props = {
|
|
3
|
+
message: MessageType;
|
|
4
|
+
chatflowid: string;
|
|
5
|
+
chatId: string;
|
|
6
|
+
leadsConfig?: LeadsConfig;
|
|
7
|
+
apiHost?: string;
|
|
8
|
+
showAvatar?: boolean;
|
|
9
|
+
avatarSrc?: string;
|
|
10
|
+
backgroundColor?: string;
|
|
11
|
+
textColor?: string;
|
|
12
|
+
sendButtonColor?: string;
|
|
13
|
+
fontSize?: number;
|
|
14
|
+
isLeadSaved: boolean;
|
|
15
|
+
setIsLeadSaved: (value: boolean) => void;
|
|
16
|
+
setLeadEmail: (value: string) => void;
|
|
17
|
+
};
|
|
18
|
+
export declare const LeadCaptureBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=LeadCaptureBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LeadCaptureBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/LeadCaptureBubble.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAa,WAAW,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAMvE,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,WAAW,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC,CAAC;AAaF,eAAO,MAAM,iBAAiB,UAAW,KAAK,mCAgI7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadingBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/LoadingBubble.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,sCAMzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SourceBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/SourceBubble.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC;AACF,eAAO,MAAM,YAAY,UAAW,KAAK,mCA0BxC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StarterPromptBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/StarterPromptBubble.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AACF,eAAO,MAAM,mBAAmB,UAAW,KAAK,mCAsB/C,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { JSX } from 'solid-js/jsx-runtime';
|
|
2
|
+
type FileUploadButtonProps = {
|
|
3
|
+
buttonColor?: string;
|
|
4
|
+
isDisabled?: boolean;
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
disableIcon?: boolean;
|
|
7
|
+
} & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
8
|
+
export declare const AttachmentUploadButton: (props: FileUploadButtonProps) => JSX.Element;
|
|
9
|
+
export declare const Spinner: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=AttachmentUploadButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentUploadButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/AttachmentUploadButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,KAAK,qBAAqB,GAAG;IAC3B,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,sBAAsB,UAAW,qBAAqB,gBAiBlE,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBjE,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { JSX } from 'solid-js/jsx-runtime';
|
|
2
|
+
type CallButtonProps = {
|
|
3
|
+
sendButtonColor?: string;
|
|
4
|
+
isDisabled?: boolean;
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
disableIcon?: boolean;
|
|
7
|
+
isListening?: boolean;
|
|
8
|
+
stopListening?: () => void;
|
|
9
|
+
resumeListening?: () => void;
|
|
10
|
+
} & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
11
|
+
export declare const CallButton: (props: CallButtonProps) => JSX.Element;
|
|
12
|
+
export declare const Spinner: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=CallButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CallButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/CallButton.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;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEhD,eAAO,MAAM,UAAU,UAAW,eAAe,gBAsBhD,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBjE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { JSX } from 'solid-js/jsx-runtime';
|
|
2
|
+
type CancelButtonProps = {
|
|
3
|
+
buttonColor?: string;
|
|
4
|
+
isDisabled?: boolean;
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
disableIcon?: boolean;
|
|
7
|
+
} & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
8
|
+
export declare const CancelButton: (props: CancelButtonProps) => JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=CancelButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CancelButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/CancelButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,KAAK,iBAAiB,GAAG;IACvB,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,YAAY,UAAW,iBAAiB,gBAepD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { JSX } from 'solid-js';
|
|
2
|
+
type RatingButtonProps = {
|
|
3
|
+
feedbackColor?: string;
|
|
4
|
+
isDisabled?: boolean;
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
disableIcon?: boolean;
|
|
7
|
+
rating?: string;
|
|
8
|
+
} & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
9
|
+
export declare const CopyToClipboardButton: (props: RatingButtonProps) => JSX.Element;
|
|
10
|
+
export declare const ThumbsUpButton: (props: RatingButtonProps) => JSX.Element;
|
|
11
|
+
export declare const ThumbsDownButton: (props: RatingButtonProps) => JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=FeedbackButtons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeedbackButtons.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/FeedbackButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAQ,MAAM,UAAU,CAAC;AAIrC,KAAK,iBAAiB,GAAG;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAIhD,eAAO,MAAM,qBAAqB,UAAW,iBAAiB,gBAiB7D,CAAC;AAEF,eAAO,MAAM,cAAc,UAAW,iBAAiB,gBAkBtD,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,iBAAiB,gBAkBxD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageUploadButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { JSX } from 'solid-js';
|
|
2
|
+
type LeadCaptureButtonProps = {
|
|
3
|
+
buttonColor?: string;
|
|
4
|
+
isDisabled?: boolean;
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
disableIcon?: boolean;
|
|
7
|
+
} & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
8
|
+
export declare const CancelLeadCaptureButton: (props: LeadCaptureButtonProps) => JSX.Element;
|
|
9
|
+
export declare const SaveLeadButton: (props: LeadCaptureButtonProps) => JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=LeadCaptureButtons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LeadCaptureButtons.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/LeadCaptureButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAQ,MAAM,UAAU,CAAC;AAIrC,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;AAGhD,eAAO,MAAM,uBAAuB,UAAW,sBAAsB,gBAepE,CAAC;AAWF,eAAO,MAAM,cAAc,UAAW,sBAAsB,gBAc3D,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordAudioButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/SendButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,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,gBAsBlD,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBjE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddImageIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/AddImageIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,YAAY,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAkBtE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/AttachmentIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,cAAc,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBxE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BotIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/BotIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,OAAO,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAOjE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CircleDotIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/CircleDotIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,aAAa,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAevE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClipboardIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/ClipboardIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,aAAa,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBvE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/DeleteIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,UAAU,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAiBpE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconPhoneCall.d.ts","sourceRoot":"","sources":["../../../src/components/icons/IconPhoneCall.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,eAAO,MAAM,aAAa,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAYvE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconPhoneOff.d.ts","sourceRoot":"","sources":["../../../src/components/icons/IconPhoneOff.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,YAAY,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBActE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/RecordIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,UAAU,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBpE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SendIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/SendIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,QAAQ,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAIlE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SparklesIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/SparklesIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,eAAO,MAAM,YAAY,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBtE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThumbsDownIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/ThumbsDownIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,cAAc,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBxE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThumbsUpIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/ThumbsUpIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,YAAY,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBtE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TickIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/TickIcon.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,sCAepB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TrashIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/TrashIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,SAAS,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAkBnE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/UserIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,QAAQ,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAKlE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"XIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/XIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,KAAK,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,GAAG;IAAE,cAAc,CAAC,EAAE,OAAO,CAAA;CAAE,gBAe9F,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from './ClipboardIcon';
|
|
2
|
+
export * from './ThumbsDownIcon';
|
|
3
|
+
export * from './ThumbsUpIcon';
|
|
4
|
+
export * from './AddImageIcon';
|
|
5
|
+
export * from './CircleDotIcon';
|
|
6
|
+
export * from './DeleteIcon';
|
|
7
|
+
export * from './RecordIcon';
|
|
8
|
+
export * from './SendIcon';
|
|
9
|
+
export * from './TrashIcon';
|
|
10
|
+
export * from './XIcon';
|
|
11
|
+
export * from './TickIcon';
|
|
12
|
+
export * from './AttachmentIcon';
|
|
13
|
+
export * from './SparklesIcon';
|
|
14
|
+
export * from './IconPhoneCall';
|
|
15
|
+
export * from './IconPhoneOff';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/icons/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type CardWithDeleteOverlayProps = {
|
|
2
|
+
item: {
|
|
3
|
+
name: string;
|
|
4
|
+
};
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
onDelete: (item: {
|
|
7
|
+
name: string;
|
|
8
|
+
}) => void;
|
|
9
|
+
};
|
|
10
|
+
export declare const FilePreview: (props: CardWithDeleteOverlayProps) => import("solid-js").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=FilePreview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilePreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/inputs/textInput/components/FilePreview.tsx"],"names":[],"mappings":"AAGA,KAAK,0BAA0B,GAAG;IAChC,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW,0BAA0B,mCAyC5D,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { JSX } from 'solid-js/jsx-runtime';
|
|
2
|
+
type ShortTextInputProps = {
|
|
3
|
+
ref: HTMLInputElement | HTMLTextAreaElement | undefined;
|
|
4
|
+
onInput: (value: string) => void;
|
|
5
|
+
fontSize?: number;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
} & Omit<JSX.TextareaHTMLAttributes<HTMLTextAreaElement>, 'onInput'>;
|
|
8
|
+
export declare const ShortTextInput: (props: ShortTextInputProps) => JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=ShortTextInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShortTextInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/inputs/textInput/components/ShortTextInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,KAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,gBAAgB,GAAG,mBAAmB,GAAG,SAAS,CAAC;IACxD,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,SAAS,CAAC,CAAC;AAIrE,eAAO,MAAM,cAAc,UAAW,mBAAmB,gBA4CxD,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Setter } from 'solid-js';
|
|
2
|
+
import { FileEvent, UploadsConfig } from '@/components/Bot';
|
|
3
|
+
type TextInputProps = {
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
backgroundColor?: string;
|
|
6
|
+
textColor?: string;
|
|
7
|
+
sendButtonColor?: string;
|
|
8
|
+
inputValue: string;
|
|
9
|
+
fontSize?: number;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
onSubmit: (value: string) => void;
|
|
12
|
+
onInputChange: (value: string) => void;
|
|
13
|
+
uploadsConfig?: Partial<UploadsConfig>;
|
|
14
|
+
isFullFileUpload?: boolean;
|
|
15
|
+
setPreviews: Setter<unknown[]>;
|
|
16
|
+
onMicrophoneClicked: () => void;
|
|
17
|
+
resumeListening: () => void;
|
|
18
|
+
isListening?: boolean;
|
|
19
|
+
stopListening: () => void;
|
|
20
|
+
handleFileChange: (event: FileEvent<HTMLInputElement>) => void;
|
|
21
|
+
maxChars?: number;
|
|
22
|
+
maxCharsWarningMessage?: string;
|
|
23
|
+
autoFocus?: boolean;
|
|
24
|
+
sendMessageSound?: boolean;
|
|
25
|
+
sendSoundLocation?: string;
|
|
26
|
+
enableInputHistory?: boolean;
|
|
27
|
+
maxHistorySize?: number;
|
|
28
|
+
};
|
|
29
|
+
export declare const TextInput: (props: TextInputProps) => import("solid-js").JSX.Element;
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=TextInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/inputs/textInput/components/TextInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA6C,MAAM,EAAE,MAAM,UAAU,CAAC;AAE7E,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAO5D,KAAK,cAAc,GAAG;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,aAAa,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IACvC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC;IAC/B,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,gBAAgB,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC/D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAOF,eAAO,MAAM,SAAS,UAAW,cAAc,mCA6M9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/textInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,eAAe,EAAE,WAO7B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { BubbleParams } from '../types';
|
|
2
|
+
import { BotProps } from '../../../components/Bot';
|
|
3
|
+
export type BubbleProps = BotProps & BubbleParams;
|
|
4
|
+
export declare const Bubble: (props: BubbleProps) => import("solid-js").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=Bubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Bubble.d.ts","sourceRoot":"","sources":["../../../../src/features/bubble/components/Bubble.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAO,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAOxD,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,YAAY,CAAC;AAElD,eAAO,MAAM,MAAM,UAAW,WAAW,mCA6QxC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ButtonTheme } from '../types';
|
|
2
|
+
type Props = ButtonTheme & {
|
|
3
|
+
isBotOpened: boolean;
|
|
4
|
+
toggleBot: () => void;
|
|
5
|
+
setButtonPosition: (position: {
|
|
6
|
+
bottom: number;
|
|
7
|
+
right: number;
|
|
8
|
+
}) => void;
|
|
9
|
+
dragAndDrop: boolean;
|
|
10
|
+
autoOpen?: boolean;
|
|
11
|
+
openDelay?: number;
|
|
12
|
+
autoOpenOnMobile?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare const BubbleButton: (props: Props) => import("solid-js").JSX.Element;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=BubbleButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BubbleButton.d.ts","sourceRoot":"","sources":["../../../../src/features/bubble/components/BubbleButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,KAAK,KAAK,GAAG,WAAW,GAAG;IACzB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,iBAAiB,EAAE,CAAC,QAAQ,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACzE,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAOF,eAAO,MAAM,YAAY,UAAW,KAAK,mCAgIxC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type TooltipProps = {
|
|
2
|
+
showTooltip: boolean;
|
|
3
|
+
position: {
|
|
4
|
+
bottom: number;
|
|
5
|
+
right: number;
|
|
6
|
+
};
|
|
7
|
+
buttonSize: number;
|
|
8
|
+
tooltipMessage?: string;
|
|
9
|
+
tooltipBackgroundColor?: string;
|
|
10
|
+
tooltipTextColor?: string;
|
|
11
|
+
tooltipFontSize?: number;
|
|
12
|
+
};
|
|
13
|
+
declare const Tooltip: (props: TooltipProps) => import("solid-js").JSX.Element;
|
|
14
|
+
export default Tooltip;
|
|
15
|
+
//# sourceMappingURL=Tooltip.d.ts.map
|