@urbiport/js 0.0.19-alpha.8 → 1.0.0-beta
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/dist/api/createConversation.d.ts +10 -0
- package/dist/api/createConversation.d.ts.map +1 -0
- package/dist/api/createConversationPreview.d.ts +11 -0
- package/dist/api/createConversationPreview.d.ts.map +1 -0
- package/dist/api/saveClientLogs.d.ts +6 -0
- package/dist/api/saveClientLogs.d.ts.map +1 -0
- package/dist/api/sendMessage.d.ts +10 -0
- package/dist/api/sendMessage.d.ts.map +1 -0
- package/dist/api/utils/detectDevice.d.ts +2 -0
- package/dist/api/utils/detectDevice.d.ts.map +1 -0
- package/dist/api/utils/handlePaymentInProgress.d.ts +3 -0
- package/dist/api/utils/handlePaymentInProgress.d.ts.map +1 -0
- package/dist/components/Bot.d.ts +30 -0
- package/dist/components/Bot.d.ts.map +1 -0
- package/dist/components/Button.d.ts +9 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/ButtonSubmit.d.ts +9 -0
- package/dist/components/ButtonSubmit.d.ts.map +1 -0
- package/dist/components/ChatInputFooter.d.ts +5 -0
- package/dist/components/ChatInputFooter.d.ts.map +1 -0
- package/dist/components/ConversationContainer/ConversationContainer.d.ts +22 -0
- package/dist/components/ConversationContainer/ConversationContainer.d.ts.map +1 -0
- package/dist/components/ConversationContainer/ConversationContainerBody.d.ts +14 -0
- package/dist/components/ConversationContainer/ConversationContainerBody.d.ts.map +1 -0
- package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts +17 -0
- package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts.map +1 -0
- package/dist/components/ConversationContainer/ConversationMessageChunk.d.ts +17 -0
- package/dist/components/ConversationContainer/ConversationMessageChunk.d.ts.map +1 -0
- package/dist/components/ConversationContainer/ConversationPopupBlockedToast.d.ts +7 -0
- package/dist/components/ConversationContainer/ConversationPopupBlockedToast.d.ts.map +1 -0
- package/dist/components/ConversationContainer/ConversationProgressBar.d.ts +6 -0
- package/dist/components/ConversationContainer/ConversationProgressBar.d.ts.map +1 -0
- package/dist/components/ConversationContainer/HostAvatar.d.ts +8 -0
- package/dist/components/ConversationContainer/HostAvatar.d.ts.map +1 -0
- package/dist/components/ConversationContainer/InputAnswer.d.ts +7 -0
- package/dist/components/ConversationContainer/InputAnswer.d.ts.map +1 -0
- package/dist/components/ConversationContainer/helpers.d.ts +6 -0
- package/dist/components/ConversationContainer/helpers.d.ts.map +1 -0
- package/dist/components/ConversationContainer/index.d.ts +2 -0
- package/dist/components/ConversationContainer/index.d.ts.map +1 -0
- package/dist/components/ConversationContext.d.ts +42 -0
- package/dist/components/ConversationContext.d.ts.map +1 -0
- package/dist/components/ErrorMessage.d.ts +6 -0
- package/dist/components/ErrorMessage.d.ts.map +1 -0
- package/dist/components/FooterEndConversation.d.ts +2 -0
- package/dist/components/FooterEndConversation.d.ts.map +1 -0
- package/dist/components/FooterLiteBadge.d.ts +6 -0
- package/dist/components/FooterLiteBadge.d.ts.map +1 -0
- package/dist/components/FormLayout.d.ts +18 -0
- package/dist/components/FormLayout.d.ts.map +1 -0
- package/dist/components/InputAnswerContext.d.ts +46 -0
- package/dist/components/InputAnswerContext.d.ts.map +1 -0
- package/dist/components/InputBlockDispatcher.d.ts +5 -0
- package/dist/components/InputBlockDispatcher.d.ts.map +1 -0
- package/dist/components/InputErrorMessage.d.ts +8 -0
- package/dist/components/InputErrorMessage.d.ts.map +1 -0
- package/dist/components/InputFormLayout.d.ts +15 -0
- package/dist/components/InputFormLayout.d.ts.map +1 -0
- package/dist/components/Modal.d.ts +9 -0
- package/dist/components/Modal.d.ts.map +1 -0
- package/dist/components/Spinner.d.ts +3 -0
- package/dist/components/Spinner.d.ts.map +1 -0
- package/dist/components/TextInputAddFileButton.d.ts +7 -0
- package/dist/components/TextInputAddFileButton.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/AvatarPlaceholder.d.ts +7 -0
- package/dist/components/avatars/AvatarPlaceholder.d.ts.map +1 -0
- package/dist/components/bubbles/GuestBubble.d.ts +10 -0
- package/dist/components/bubbles/GuestBubble.d.ts.map +1 -0
- package/dist/components/bubbles/HostBubble.d.ts +12 -0
- package/dist/components/bubbles/HostBubble.d.ts.map +1 -0
- package/dist/components/bubbles/HostBubbleStreaming.d.ts +8 -0
- package/dist/components/bubbles/HostBubbleStreaming.d.ts.map +1 -0
- package/dist/components/icons/CheckIcon.d.ts +3 -0
- package/dist/components/icons/CheckIcon.d.ts.map +1 -0
- package/dist/components/icons/ChevronDownIcon.d.ts +3 -0
- package/dist/components/icons/ChevronDownIcon.d.ts.map +1 -0
- package/dist/components/icons/CloseIcon.d.ts +3 -0
- package/dist/components/icons/CloseIcon.d.ts.map +1 -0
- package/dist/components/icons/FileIcon.d.ts +3 -0
- package/dist/components/icons/FileIcon.d.ts.map +1 -0
- package/dist/components/icons/FileIconUpload.d.ts +3 -0
- package/dist/components/icons/FileIconUpload.d.ts.map +1 -0
- package/dist/components/icons/LogoIcon.d.ts +2 -0
- package/dist/components/icons/LogoIcon.d.ts.map +1 -0
- package/dist/components/icons/MicrophoneIcon.d.ts +3 -0
- package/dist/components/icons/MicrophoneIcon.d.ts.map +1 -0
- package/dist/components/icons/PaperClipIcon.d.ts +3 -0
- package/dist/components/icons/PaperClipIcon.d.ts.map +1 -0
- package/dist/components/icons/PictureIcon.d.ts +3 -0
- package/dist/components/icons/PictureIcon.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/index.d.ts +2 -0
- package/dist/components/icons/index.d.ts.map +1 -0
- package/dist/components/inputs/FileAttached.d.ts +6 -0
- package/dist/components/inputs/FileAttached.d.ts.map +1 -0
- package/dist/components/inputs/Input.d.ts +8 -0
- package/dist/components/inputs/Input.d.ts.map +1 -0
- package/dist/components/inputs/Textarea.d.ts +9 -0
- package/dist/components/inputs/Textarea.d.ts.map +1 -0
- package/dist/components/primitives/Dialog.d.ts +35 -0
- package/dist/components/primitives/Dialog.d.ts.map +1 -0
- package/dist/components/primitives/Environment.d.ts +8 -0
- package/dist/components/primitives/Environment.d.ts.map +1 -0
- package/dist/components/primitives/Menu.d.ts +35 -0
- package/dist/components/primitives/Menu.d.ts.map +1 -0
- package/dist/components/primitives/Progress.d.ts +25 -0
- package/dist/components/primitives/Progress.d.ts.map +1 -0
- package/dist/components/primitives/Toast.d.ts +52 -0
- package/dist/components/primitives/Toast.d.ts.map +1 -0
- package/dist/components/primitives/index.d.ts +6 -0
- package/dist/components/primitives/index.d.ts.map +1 -0
- package/dist/constants.d.ts +7 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/context/ConversationContext.d.ts +42 -0
- package/dist/context/ConversationContext.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/GuestBubble.d.ts +10 -0
- package/dist/features/blocks/bubbles/GuestBubble.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/HostBubble.d.ts +12 -0
- package/dist/features/blocks/bubbles/HostBubble.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/HostBubbleStreaming.d.ts +8 -0
- package/dist/features/blocks/bubbles/HostBubbleStreaming.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts +8 -0
- package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/audio/components/index.d.ts +2 -0
- package/dist/features/blocks/bubbles/audio/components/index.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/audio/index.d.ts +2 -0
- package/dist/features/blocks/bubbles/audio/index.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts +10 -0
- package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/embed/components/index.d.ts +2 -0
- package/dist/features/blocks/bubbles/embed/components/index.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/embed/index.d.ts +2 -0
- package/dist/features/blocks/bubbles/embed/index.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts +8 -0
- package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/image/index.d.ts +2 -0
- package/dist/features/blocks/bubbles/image/index.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts +10 -0
- package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/textBubble/components/plate/PlateBlock.d.ts +9 -0
- package/dist/features/blocks/bubbles/textBubble/components/plate/PlateBlock.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/textBubble/components/plate/PlateText.d.ts +8 -0
- package/dist/features/blocks/bubbles/textBubble/components/plate/PlateText.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/textBubble/index.d.ts +2 -0
- package/dist/features/blocks/bubbles/textBubble/index.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts +8 -0
- package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/video/index.d.ts +2 -0
- package/dist/features/blocks/bubbles/video/index.d.ts.map +1 -0
- package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts +13 -0
- package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts.map +1 -0
- package/dist/features/blocks/inputs/buttons/components/ButtonsSearch.d.ts +9 -0
- package/dist/features/blocks/inputs/buttons/components/ButtonsSearch.d.ts.map +1 -0
- package/dist/features/blocks/inputs/buttons/index.d.ts +2 -0
- package/dist/features/blocks/inputs/buttons/index.d.ts.map +1 -0
- package/dist/features/blocks/inputs/date/components/DateForm.d.ts +10 -0
- package/dist/features/blocks/inputs/date/components/DateForm.d.ts.map +1 -0
- package/dist/features/blocks/inputs/date/index.d.ts +2 -0
- package/dist/features/blocks/inputs/date/index.d.ts.map +1 -0
- package/dist/features/blocks/inputs/email/components/EmailInput.d.ts +12 -0
- package/dist/features/blocks/inputs/email/components/EmailInput.d.ts.map +1 -0
- package/dist/features/blocks/inputs/email/index.d.ts +2 -0
- package/dist/features/blocks/inputs/email/index.d.ts.map +1 -0
- package/dist/features/blocks/inputs/fileUpload/components/FilePreview.d.ts +8 -0
- package/dist/features/blocks/inputs/fileUpload/components/FilePreview.d.ts.map +1 -0
- package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts +11 -0
- package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts.map +1 -0
- package/dist/features/blocks/inputs/fileUpload/index.d.ts +2 -0
- package/dist/features/blocks/inputs/fileUpload/index.d.ts.map +1 -0
- package/dist/features/blocks/inputs/fileUpload/utils/sanitizeSelectedFiles.d.ts +12 -0
- package/dist/features/blocks/inputs/fileUpload/utils/sanitizeSelectedFiles.d.ts.map +1 -0
- package/dist/features/blocks/inputs/fileUpload/utils/uploadFiles.d.ts +20 -0
- package/dist/features/blocks/inputs/fileUpload/utils/uploadFiles.d.ts.map +1 -0
- package/dist/features/blocks/inputs/number/components/NumberInput.d.ts +12 -0
- package/dist/features/blocks/inputs/number/components/NumberInput.d.ts.map +1 -0
- package/dist/features/blocks/inputs/number/index.d.ts +2 -0
- package/dist/features/blocks/inputs/number/index.d.ts.map +1 -0
- package/dist/features/blocks/inputs/number/utils/numberInputHelper.d.ts +2 -0
- package/dist/features/blocks/inputs/number/utils/numberInputHelper.d.ts.map +1 -0
- package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts +11 -0
- package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts.map +1 -0
- package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts +11 -0
- package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts.map +1 -0
- package/dist/features/blocks/inputs/payment/components/index.d.ts +2 -0
- package/dist/features/blocks/inputs/payment/components/index.d.ts.map +1 -0
- package/dist/features/blocks/inputs/payment/index.d.ts +2 -0
- package/dist/features/blocks/inputs/payment/index.d.ts.map +1 -0
- package/dist/features/blocks/inputs/payment/utils/paymentInProgressStorage.d.ts +5 -0
- package/dist/features/blocks/inputs/payment/utils/paymentInProgressStorage.d.ts.map +1 -0
- package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts +11 -0
- package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts.map +1 -0
- package/dist/features/blocks/inputs/phone/index.d.ts +2 -0
- package/dist/features/blocks/inputs/phone/index.d.ts.map +1 -0
- package/dist/features/blocks/inputs/phone/utils/phoneCountries.d.ts +1247 -0
- package/dist/features/blocks/inputs/phone/utils/phoneCountries.d.ts.map +1 -0
- package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts +10 -0
- package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts.map +1 -0
- package/dist/features/blocks/inputs/rating/index.d.ts +2 -0
- package/dist/features/blocks/inputs/rating/index.d.ts.map +1 -0
- package/dist/features/blocks/inputs/text/components/TextInput.d.ts +13 -0
- package/dist/features/blocks/inputs/text/components/TextInput.d.ts.map +1 -0
- package/dist/features/blocks/inputs/text/components/VoiceRecorder.d.ts +10 -0
- package/dist/features/blocks/inputs/text/components/VoiceRecorder.d.ts.map +1 -0
- package/dist/features/blocks/inputs/text/components/VolumeProcessor.d.ts +2 -0
- package/dist/features/blocks/inputs/text/components/VolumeProcessor.d.ts.map +1 -0
- package/dist/features/blocks/inputs/text/index.d.ts +2 -0
- package/dist/features/blocks/inputs/text/index.d.ts.map +1 -0
- package/dist/features/blocks/inputs/url/components/UrlInput.d.ts +12 -0
- package/dist/features/blocks/inputs/url/components/UrlInput.d.ts.map +1 -0
- package/dist/features/blocks/inputs/url/index.d.ts +2 -0
- package/dist/features/blocks/inputs/url/index.d.ts.map +1 -0
- package/dist/features/blocks/integrations/pixel/executePixel.d.ts +3 -0
- package/dist/features/blocks/integrations/pixel/executePixel.d.ts.map +1 -0
- package/dist/features/blocks/logic/redirect/index.d.ts +2 -0
- package/dist/features/blocks/logic/redirect/index.d.ts.map +1 -0
- package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts +5 -0
- package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts.map +1 -0
- package/dist/features/blocks/logic/redirect/utils/index.d.ts +2 -0
- package/dist/features/blocks/logic/redirect/utils/index.d.ts.map +1 -0
- package/dist/features/blocks/logic/script/executeScript.d.ts +9 -0
- package/dist/features/blocks/logic/script/executeScript.d.ts.map +1 -0
- package/dist/features/blocks/logic/variable/executeVariable.d.ts +6 -0
- package/dist/features/blocks/logic/variable/executeVariable.d.ts.map +1 -0
- package/dist/features/blocks/logic/wait/utils/executeWait.d.ts +6 -0
- package/dist/features/blocks/logic/wait/utils/executeWait.d.ts.map +1 -0
- package/dist/features/bubble/components/Bubble.d.ts +10 -0
- package/dist/features/bubble/components/Bubble.d.ts.map +1 -0
- package/dist/features/bubble/components/BubbleButton.d.ts +9 -0
- package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -0
- package/dist/features/bubble/components/BubbleMessage.d.ts +9 -0
- package/dist/features/bubble/components/BubbleMessage.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 +35 -0
- package/dist/features/bubble/types.d.ts.map +1 -0
- package/dist/features/commands/index.d.ts +3 -0
- package/dist/features/commands/index.d.ts.map +1 -0
- package/dist/features/commands/types.d.ts +19 -0
- package/dist/features/commands/types.d.ts.map +1 -0
- package/dist/features/commands/utils/close.d.ts +2 -0
- package/dist/features/commands/utils/close.d.ts.map +1 -0
- package/dist/features/commands/utils/hidePreviewMessage.d.ts +2 -0
- package/dist/features/commands/utils/hidePreviewMessage.d.ts.map +1 -0
- package/dist/features/commands/utils/index.d.ts +9 -0
- package/dist/features/commands/utils/index.d.ts.map +1 -0
- package/dist/features/commands/utils/open.d.ts +2 -0
- package/dist/features/commands/utils/open.d.ts.map +1 -0
- package/dist/features/commands/utils/setInputValue.d.ts +2 -0
- package/dist/features/commands/utils/setInputValue.d.ts.map +1 -0
- package/dist/features/commands/utils/setPrefilledVariables.d.ts +2 -0
- package/dist/features/commands/utils/setPrefilledVariables.d.ts.map +1 -0
- package/dist/features/commands/utils/showPreviewMessage.d.ts +3 -0
- package/dist/features/commands/utils/showPreviewMessage.d.ts.map +1 -0
- package/dist/features/commands/utils/toggle.d.ts +2 -0
- package/dist/features/commands/utils/toggle.d.ts.map +1 -0
- package/dist/features/commands/utils/unmount.d.ts +2 -0
- package/dist/features/commands/utils/unmount.d.ts.map +1 -0
- package/dist/features/popup/components/Popup.d.ts +11 -0
- package/dist/features/popup/components/Popup.d.ts.map +1 -0
- package/dist/features/popup/components/index.d.ts +2 -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 +9 -0
- package/dist/features/popup/types.d.ts.map +1 -0
- package/dist/features/standard/components/Standard.d.ts +6 -0
- package/dist/features/standard/components/Standard.d.ts.map +1 -0
- package/dist/features/standard/components/index.d.ts +2 -0
- package/dist/features/standard/components/index.d.ts.map +1 -0
- package/dist/features/standard/index.d.ts +2 -0
- package/dist/features/standard/index.d.ts.map +1 -0
- package/dist/features/streaming/streamChat.d.ts +17 -0
- package/dist/features/streaming/streamChat.d.ts.map +1 -0
- package/dist/features/widget/components/Bubble.d.ts +10 -0
- package/dist/features/widget/components/Bubble.d.ts.map +1 -0
- package/dist/features/widget/components/BubbleButton.d.ts +9 -0
- package/dist/features/widget/components/BubbleButton.d.ts.map +1 -0
- package/dist/features/widget/components/BubbleMessage.d.ts +9 -0
- package/dist/features/widget/components/BubbleMessage.d.ts.map +1 -0
- package/dist/features/widget/components/index.d.ts +2 -0
- package/dist/features/widget/components/index.d.ts.map +1 -0
- package/dist/features/widget/index.d.ts +2 -0
- package/dist/features/widget/index.d.ts.map +1 -0
- package/dist/features/widget/types.d.ts +35 -0
- package/dist/features/widget/types.d.ts.map +1 -0
- package/dist/hooks/useMessageListener.d.ts +11 -0
- package/dist/hooks/useMessageListener.d.ts.map +1 -0
- package/dist/index.d.ts +7 -125
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -127
- package/dist/lib/gtm.d.ts +2 -0
- package/dist/lib/gtm.d.ts.map +1 -0
- package/dist/lib/pixel.d.ts +4 -0
- package/dist/lib/pixel.d.ts.map +1 -0
- package/dist/lib/stripe.d.ts +3 -0
- package/dist/lib/stripe.d.ts.map +1 -0
- package/dist/queries/continueChatQuery.d.ts +403 -0
- package/dist/queries/continueChatQuery.d.ts.map +1 -0
- package/dist/queries/saveClientLogsQuery.d.ts +6 -0
- package/dist/queries/saveClientLogsQuery.d.ts.map +1 -0
- package/dist/queries/startChatQuery.d.ts +583 -0
- package/dist/queries/startChatQuery.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 +51 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/CorsError.d.ts +4 -0
- package/dist/utils/CorsError.d.ts.map +1 -0
- package/dist/utils/botContainerHeightSignal.d.ts +2 -0
- package/dist/utils/botContainerHeightSignal.d.ts.map +1 -0
- package/dist/utils/botContainerSignal.d.ts +2 -0
- package/dist/utils/botContainerSignal.d.ts.map +1 -0
- package/dist/utils/executeClientSideActions.d.ts +20 -0
- package/dist/utils/executeClientSideActions.d.ts.map +1 -0
- package/dist/utils/formattedMessagesSignal.d.ts +8 -0
- package/dist/utils/formattedMessagesSignal.d.ts.map +1 -0
- package/dist/utils/getAnswerContent.d.ts +3 -0
- package/dist/utils/getAnswerContent.d.ts.map +1 -0
- package/dist/utils/getApiUrl.d.ts +2 -0
- package/dist/utils/getApiUrl.d.ts.map +1 -0
- package/dist/utils/injectFont.d.ts +3 -0
- package/dist/utils/injectFont.d.ts.map +1 -0
- package/dist/utils/injectStartProps.d.ts +3 -0
- package/dist/utils/injectStartProps.d.ts.map +1 -0
- package/dist/utils/isMobileSignal.d.ts +2 -0
- package/dist/utils/isMobileSignal.d.ts.map +1 -0
- package/dist/utils/markdown.d.ts +3 -0
- package/dist/utils/markdown.d.ts.map +1 -0
- package/dist/utils/persist.d.ts +9 -0
- package/dist/utils/persist.d.ts.map +1 -0
- package/dist/utils/setCssVariablesValue.d.ts +3 -0
- package/dist/utils/setCssVariablesValue.d.ts.map +1 -0
- package/dist/utils/storage.d.ts +535 -0
- package/dist/utils/storage.d.ts.map +1 -0
- package/dist/utils/streamingMessageSignal.d.ts +8 -0
- package/dist/utils/streamingMessageSignal.d.ts.map +1 -0
- package/dist/utils/toaster.d.ts +21 -0
- package/dist/utils/toaster.d.ts.map +1 -0
- package/dist/web.d.ts +2 -0
- package/dist/web.d.ts.map +1 -0
- package/dist/web.js +3 -264
- package/dist/window.d.ts +40 -0
- package/dist/window.d.ts.map +1 -0
- package/package.json +30 -27
- package/dist/web.css +0 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CreateConversationResponse } from '@quickbot.io/schemas';
|
|
2
|
+
type Props = {
|
|
3
|
+
publicId: string;
|
|
4
|
+
stripeRedirectStatus?: string;
|
|
5
|
+
prefilledVariables?: Record<string, unknown>;
|
|
6
|
+
resultId?: string;
|
|
7
|
+
};
|
|
8
|
+
export declare function createConversation({ publicId, prefilledVariables, resultId, stripeRedirectStatus, }: Props): Promise<CreateConversationResponse>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=createConversation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createConversation.d.ts","sourceRoot":"","sources":["../../src/api/createConversation.ts"],"names":[],"mappings":"AAEA,OAAO,EAA2B,0BAA0B,EAAE,MAAM,sBAAsB,CAAA;AAM1F,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,MAAM,CAAA;IAChB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,wBAAsB,kBAAkB,CAAC,EACvC,QAAQ,EACR,kBAAkB,EAClB,QAAQ,EACR,oBAAoB,GACrB,EAAE,KAAK,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAuC7C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CreateConversationResponse, StartFrom } from '@quickbot.io/schemas';
|
|
2
|
+
type Props = {
|
|
3
|
+
bot: any;
|
|
4
|
+
stripeRedirectStatus?: string;
|
|
5
|
+
startFrom?: StartFrom;
|
|
6
|
+
prefilledVariables?: Record<string, unknown>;
|
|
7
|
+
sessionId?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare function createConversationPreview({ bot, prefilledVariables, stripeRedirectStatus, startFrom, sessionId, }: Props): Promise<Omit<CreateConversationResponse, 'resultId'>>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=createConversationPreview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createConversationPreview.d.ts","sourceRoot":"","sources":["../../src/api/createConversationPreview.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,SAAS,EAAkC,MAAM,sBAAsB,CAAA;AAK5G,KAAK,KAAK,GAAG;IAEX,GAAG,EAAE,GAAG,CAAA;IACR,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,wBAAsB,yBAAyB,CAAC,EAC9C,GAAG,EACH,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACT,SAAS,GACV,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,UAAU,CAAC,CAAC,CA0B/D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saveClientLogs.d.ts","sourceRoot":"","sources":["../../src/api/saveClientLogs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAI3D,eAAO,MAAM,cAAc,GAAU,4BAGlC;IACD,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,eAAe,EAAE,CAAA;CAC9B,kBAaA,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SendMessageResponse, Message } from '@quickbot.io/schemas';
|
|
2
|
+
export declare function sendMessage({ message, sessionId, messageMetadata, }: {
|
|
3
|
+
message?: Message;
|
|
4
|
+
sessionId: string;
|
|
5
|
+
messageMetadata?: {
|
|
6
|
+
inputBlockId?: string;
|
|
7
|
+
inputType?: string;
|
|
8
|
+
};
|
|
9
|
+
}): Promise<SendMessageResponse>;
|
|
10
|
+
//# sourceMappingURL=sendMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendMessage.d.ts","sourceRoot":"","sources":["../../src/api/sendMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAInE,wBAAsB,WAAW,CAAC,EAChC,OAAO,EACP,SAAS,EACT,eAAe,GAChB,EAAE;IACD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,CAAC,EAAE;QAChB,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,SAAS,CAAC,EAAE,MAAM,CAAA;KACnB,CAAA;CACF,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAY/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detectDevice.d.ts","sourceRoot":"","sources":["../../../src/api/utils/detectDevice.ts"],"names":[],"mappings":"AAAA,wBAAgB,yBAAyB,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAajG"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { CreateConversationResponse } from '@quickbot.io/schemas';
|
|
2
|
+
export declare function handlePaymentInProgress<T extends CreateConversationResponse = CreateConversationResponse>(stripeRedirectStatus?: string): Promise<T | null>;
|
|
3
|
+
//# sourceMappingURL=handlePaymentInProgress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handlePaymentInProgress.d.ts","sourceRoot":"","sources":["../../../src/api/utils/handlePaymentInProgress.ts"],"names":[],"mappings":"AAMA,OAAO,EAAuB,0BAA0B,EAAE,MAAM,sBAAsB,CAAA;AAGtF,wBAAsB,uBAAuB,CAAC,CAAC,SAAS,0BAA0B,GAAG,0BAA0B,EAC7G,oBAAoB,CAAC,EAAE,MAAM,GAC5B,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC,CA8BnB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { OutgoingLog } from '@/types';
|
|
2
|
+
import { ThemeFontProps, CreateConversationResponse, StartFrom } from '@quickbot.io/schemas';
|
|
3
|
+
export type BotProps = {
|
|
4
|
+
bot: string | any;
|
|
5
|
+
isPreview?: boolean;
|
|
6
|
+
resultId?: string;
|
|
7
|
+
prefilledVariables?: Record<string, unknown>;
|
|
8
|
+
font?: ThemeFontProps;
|
|
9
|
+
progressBarRef?: HTMLDivElement;
|
|
10
|
+
startFrom?: StartFrom;
|
|
11
|
+
sessionId?: string;
|
|
12
|
+
onNewBlock?: (block: {
|
|
13
|
+
id: string;
|
|
14
|
+
type: string;
|
|
15
|
+
}) => void;
|
|
16
|
+
onAnswer?: (answer: {
|
|
17
|
+
message: string;
|
|
18
|
+
blockId: string;
|
|
19
|
+
}) => void;
|
|
20
|
+
onThemeLoaded?: (theme: CreateConversationResponse['bot']['theme']) => void;
|
|
21
|
+
onInit?: () => void;
|
|
22
|
+
onEnd?: () => void;
|
|
23
|
+
onNewLogs?: (logs: OutgoingLog[]) => void;
|
|
24
|
+
onChatStatePersisted?: (isEnabled: boolean) => void;
|
|
25
|
+
onBubblesDisplayed?: () => void;
|
|
26
|
+
};
|
|
27
|
+
export declare const Bot: (props: BotProps & {
|
|
28
|
+
class?: string;
|
|
29
|
+
}) => import("solid-js").JSX.Element;
|
|
30
|
+
//# sourceMappingURL=Bot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Bot.d.ts","sourceRoot":"","sources":["../../src/components/Bot.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAc,WAAW,EAAE,MAAM,SAAS,CAAA;AAWjD,OAAO,EAAE,cAAc,EAAE,0BAA0B,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAoB5F,MAAM,MAAM,QAAQ,GAAG;IAErB,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC5C,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IAC1D,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACjE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,0BAA0B,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,KAAK,IAAI,CAAA;IAC3E,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,oBAAoB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAA;IACnD,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,GAAG,GAAI,OAAO,QAAQ,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,mCA2NvD,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { JSX } from 'solid-js';
|
|
2
|
+
type Props = {
|
|
3
|
+
children: JSX.Element;
|
|
4
|
+
isDisabled?: boolean;
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
} & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
7
|
+
export declare const Button: (props: Props) => JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,GAAG,EAAoB,MAAM,UAAU,CAAA;AAI1D,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAA;AAE/C,eAAO,MAAM,MAAM,GAAI,OAAO,KAAK,gBAqBlC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { JSX } from 'solid-js/jsx-runtime';
|
|
2
|
+
type SubmitButtonProps = {
|
|
3
|
+
isDisabled?: boolean;
|
|
4
|
+
isLoading?: boolean;
|
|
5
|
+
class?: string;
|
|
6
|
+
} & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
7
|
+
export declare const ButtonSubmit: (props: SubmitButtonProps) => JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=ButtonSubmit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonSubmit.d.ts","sourceRoot":"","sources":["../../src/components/ButtonSubmit.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAK1C,KAAK,iBAAiB,GAAG;IACvB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAA;AAE/C,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,gBAqBpD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatInputFooter.d.ts","sourceRoot":"","sources":["../../src/components/ChatInputFooter.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAsB,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAsBjE,KAAK,KAAK,GAAG,mBAAmB,CAAA;AAEhC,eAAO,MAAM,eAAe,UAAW,KAAK,mCAwL3C,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CreateConversationResponse } from '@quickbot.io/schemas';
|
|
2
|
+
import { BotContext, OutgoingLog } from '@/types';
|
|
3
|
+
type Props = {
|
|
4
|
+
botContainer: HTMLDivElement | undefined;
|
|
5
|
+
initialChatReply: CreateConversationResponse;
|
|
6
|
+
context: BotContext;
|
|
7
|
+
onNewBlock?: (block: {
|
|
8
|
+
id: string;
|
|
9
|
+
type: string;
|
|
10
|
+
}) => void;
|
|
11
|
+
onAnswer?: (answer: {
|
|
12
|
+
message: string;
|
|
13
|
+
blockId: string;
|
|
14
|
+
}) => void;
|
|
15
|
+
onEnd?: () => void;
|
|
16
|
+
onNewLogs?: (logs: OutgoingLog[]) => void;
|
|
17
|
+
onProgressUpdate?: (progress: number) => void;
|
|
18
|
+
onBubblesDisplayed?: () => void;
|
|
19
|
+
};
|
|
20
|
+
export declare const ConversationContainer: (props: Props) => import("solid-js").JSX.Element;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=ConversationContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConversationContainer.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ConversationContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAC,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAKjD,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,cAAc,GAAG,SAAS,CAAA;IACxC,gBAAgB,EAAE,0BAA0B,CAAA;IAC5C,OAAO,EAAE,UAAU,CAAA;IACnB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IAC1D,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACjE,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,qBAAqB,GAAI,OAAO,KAAK,mCASjD,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CreateConversationResponse } from '@quickbot.io/schemas';
|
|
2
|
+
import { BotContext } from '@/types';
|
|
3
|
+
type Props = {
|
|
4
|
+
initialChatReply: CreateConversationResponse;
|
|
5
|
+
context: BotContext;
|
|
6
|
+
onEnd?: () => void;
|
|
7
|
+
onNewBlock?: (block: {
|
|
8
|
+
id: string;
|
|
9
|
+
type: string;
|
|
10
|
+
}) => void;
|
|
11
|
+
};
|
|
12
|
+
export declare const ConversationContainerBody: (props: Props) => import("solid-js").JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=ConversationContainerBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConversationContainerBody.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ConversationContainerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAA;AAGjE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAUpC,KAAK,KAAK,GAAG;IACX,gBAAgB,EAAE,0BAA0B,CAAA;IAC5C,OAAO,EAAE,UAAU,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;CAC3D,CAAA;AAED,eAAO,MAAM,yBAAyB,GAAI,OAAO,KAAK,mCA+JrD,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CreateConversationResponse } from '@quickbot.io/schemas';
|
|
2
|
+
import { BotContext, OutgoingLog } from '@/types';
|
|
3
|
+
type Props = {
|
|
4
|
+
botContainer: HTMLDivElement | undefined;
|
|
5
|
+
initialChatReply: CreateConversationResponse;
|
|
6
|
+
context: BotContext;
|
|
7
|
+
onAnswer?: (answer: {
|
|
8
|
+
message: string;
|
|
9
|
+
blockId: string;
|
|
10
|
+
}) => void;
|
|
11
|
+
onEnd?: () => void;
|
|
12
|
+
onNewLogs?: (logs: OutgoingLog[]) => void;
|
|
13
|
+
onProgressUpdate?: (progress: number) => void;
|
|
14
|
+
};
|
|
15
|
+
export declare const ConversationContainerFooter: (props: Props) => import("solid-js").JSX.Element;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=ConversationContainerFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConversationContainerFooter.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ConversationContainerFooter.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAA;AAEjE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAKjD,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,cAAc,GAAG,SAAS,CAAA;IACxC,gBAAgB,EAAE,0BAA0B,CAAA;IAC5C,OAAO,EAAE,UAAU,CAAA;IACnB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACjE,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9C,CAAA;AAED,eAAO,MAAM,2BAA2B,GAAI,OAAO,KAAK,mCA2DvD,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BotContext, ChatChunk as ChatChunkType } from '@/types';
|
|
2
|
+
import { SendMessageResponse, Settings, ThemeProps } from '@quickbot.io/schemas';
|
|
3
|
+
type Props = Pick<SendMessageResponse, 'messages' | 'input'> & {
|
|
4
|
+
theme: ThemeProps;
|
|
5
|
+
settings: Settings;
|
|
6
|
+
index: number;
|
|
7
|
+
context: BotContext;
|
|
8
|
+
hasError: boolean;
|
|
9
|
+
hideAvatar: boolean;
|
|
10
|
+
streamingMessageId: ChatChunkType['streamingMessageId'];
|
|
11
|
+
isTransitionDisabled?: boolean;
|
|
12
|
+
onNewBubbleDisplayed: (blockId: string) => Promise<void>;
|
|
13
|
+
onAllBubblesDisplayed: () => void;
|
|
14
|
+
};
|
|
15
|
+
export declare const ConversationMessageChunk: (props: Props) => import("solid-js").JSX.Element;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=ConversationMessageChunk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConversationMessageChunk.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ConversationMessageChunk.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,SAAS,CAAA;AAChE,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAahF,KAAK,KAAK,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG;IAC7D,KAAK,EAAE,UAAU,CAAA;IACjB,QAAQ,EAAE,QAAQ,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,UAAU,CAAA;IACnB,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,OAAO,CAAA;IACnB,kBAAkB,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAA;IACvD,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,oBAAoB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACxD,qBAAqB,EAAE,MAAM,IAAI,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,wBAAwB,GAAI,OAAO,KAAK,mCA8GpD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConversationPopupBlockedToast.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ConversationPopupBlockedToast.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,IAAI,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,6BAA6B,GAAI,OAAO,KAAK,mCAmDzD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConversationProgressBar.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ConversationProgressBar.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,eAAO,MAAM,uBAAuB,GAAI,OAAO,KAAK,mCASnD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HostAvatar.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/HostAvatar.tsx"],"names":[],"mappings":"AAIA,KAAK,KAAK,GAAG;IACX,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,OAAO,KAAK,mCAqCtC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InputBlockBaseProps } from '@/types';
|
|
2
|
+
type Props = InputBlockBaseProps & {
|
|
3
|
+
ref: HTMLDivElement | undefined;
|
|
4
|
+
};
|
|
5
|
+
export declare const InputAnswer: (props: Props) => import("solid-js").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=InputAnswer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputAnswer.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/InputAnswer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsB,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAKjE,KAAK,KAAK,GAAG,mBAAmB,GAAG;IACjC,GAAG,EAAE,cAAc,GAAG,SAAS,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,WAAW,UAAW,KAAK,mCAiBvC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InputSubmitContent } from '@/types';
|
|
2
|
+
import { SendMessageResponse, Message, ThemeProps } from '@quickbot.io/schemas';
|
|
3
|
+
export declare const convertSubmitContentToMessage: (answer: InputSubmitContent | undefined) => Message | undefined;
|
|
4
|
+
export declare const autoScrollToBottom: (containerElement: HTMLDivElement | undefined, shouldAutoScroll: boolean) => void;
|
|
5
|
+
export declare const parseDynamicTheme: (initialTheme: ThemeProps, dynamicTheme: SendMessageResponse["dynamicTheme"]) => ThemeProps;
|
|
6
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,EAAE,mBAAmB,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAE/E,eAAO,MAAM,6BAA6B,GACxC,QAAQ,kBAAkB,GAAG,SAAS,KACrC,OAAO,GAAG,SASZ,CAAA;AAED,eAAO,MAAM,kBAAkB,GAC7B,kBAAkB,cAAc,GAAG,SAAS,EAC5C,kBAAkB,OAAO,SAI1B,CAAA;AAED,eAAO,MAAM,iBAAiB,GAC5B,cAAc,UAAU,EACxB,cAAc,mBAAmB,CAAC,cAAc,CAAC,KAChD,UAmBD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Accessor, JSX } from 'solid-js';
|
|
2
|
+
import { SendMessageResponse, ThemeProps, CreateConversationResponse } from '@quickbot.io/schemas';
|
|
3
|
+
import { BotContext, ChatChunk as ChatChunkType, InputSubmitContent, OutgoingLog } from '@/types';
|
|
4
|
+
type ConversationContextType = {
|
|
5
|
+
chatChunks: Accessor<ChatChunkType[]>;
|
|
6
|
+
theme: Accessor<ThemeProps>;
|
|
7
|
+
hasError: Accessor<boolean>;
|
|
8
|
+
setHasError: (hasError: boolean) => void;
|
|
9
|
+
isSending: Accessor<boolean>;
|
|
10
|
+
blockedPopupUrl: Accessor<string | undefined>;
|
|
11
|
+
setBlockedPopupUrl: (url: string | undefined) => void;
|
|
12
|
+
currentBlock: () => ChatChunkType | undefined;
|
|
13
|
+
scrollToBottom: () => void;
|
|
14
|
+
registerScrollToBottom: (fn: () => void) => void;
|
|
15
|
+
displayedMessageIndexes: Accessor<Record<number, number>>;
|
|
16
|
+
setDisplayedMessageIndex: (chunkIndex: number, index: number) => void;
|
|
17
|
+
getDisplayedMessageIndex: (chunkIndex: number) => number;
|
|
18
|
+
sendMessage: (answer?: InputSubmitContent) => Promise<void>;
|
|
19
|
+
processClientSideActions: (actions: NonNullable<SendMessageResponse['clientSideActions']>) => Promise<void>;
|
|
20
|
+
onBubblesDisplayed: () => void;
|
|
21
|
+
};
|
|
22
|
+
type Props = {
|
|
23
|
+
children: JSX.Element;
|
|
24
|
+
initialChatReply: CreateConversationResponse;
|
|
25
|
+
context: BotContext;
|
|
26
|
+
onNewBlock?: (block: {
|
|
27
|
+
id: string;
|
|
28
|
+
type: string;
|
|
29
|
+
}) => void;
|
|
30
|
+
onAnswer?: (answer: {
|
|
31
|
+
message: string;
|
|
32
|
+
blockId: string;
|
|
33
|
+
}) => void;
|
|
34
|
+
onEnd?: () => void;
|
|
35
|
+
onNewLogs?: (logs: OutgoingLog[]) => void;
|
|
36
|
+
onProgressUpdate?: (progress: number) => void;
|
|
37
|
+
onBubblesDisplayed?: () => void;
|
|
38
|
+
};
|
|
39
|
+
export declare const ConversationProvider: (props: Props) => JSX.Element;
|
|
40
|
+
export declare const useConversation: () => ConversationContextType;
|
|
41
|
+
export {};
|
|
42
|
+
//# sourceMappingURL=ConversationContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConversationContext.d.ts","sourceRoot":"","sources":["../../src/components/ConversationContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,QAAQ,EACR,GAAG,EAEJ,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,mBAAmB,EACnB,UAAU,EAEV,0BAA0B,EAE3B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,UAAU,EAAE,SAAS,IAAI,aAAa,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAajG,KAAK,uBAAuB,GAAG;IAC7B,UAAU,EAAE,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAA;IACrC,KAAK,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAA;IAC3B,QAAQ,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;IAC3B,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAA;IACxC,SAAS,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;IAC5B,eAAe,EAAE,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC7C,kBAAkB,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAA;IACrD,YAAY,EAAE,MAAM,aAAa,GAAG,SAAS,CAAA;IAC7C,cAAc,EAAE,MAAM,IAAI,CAAA;IAC1B,sBAAsB,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,CAAA;IAChD,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;IACzD,wBAAwB,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACrE,wBAAwB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,MAAM,CAAA;IACxD,WAAW,EAAE,CAAC,MAAM,CAAC,EAAE,kBAAkB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IAC3D,wBAAwB,EAAE,CACxB,OAAO,EAAE,WAAW,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,CAAC,KAC3D,OAAO,CAAC,IAAI,CAAC,CAAA;IAClB,kBAAkB,EAAE,MAAM,IAAI,CAAA;CAC/B,CAAA;AAED,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,gBAAgB,EAAE,0BAA0B,CAAA;IAC5C,OAAO,EAAE,UAAU,CAAA;IACnB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IAC1D,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACjE,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC,CAAA;AAID,eAAO,MAAM,oBAAoB,UAAW,KAAK,gBAgShD,CAAA;AAED,eAAO,MAAM,eAAe,QAAO,uBAMlC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorMessage.d.ts","sourceRoot":"","sources":["../../src/components/ErrorMessage.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,KAAK,CAAA;CACb,CAAA;AACD,eAAO,MAAM,YAAY,GAAI,OAAO,KAAK,mCAOxC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FooterEndConversation.d.ts","sourceRoot":"","sources":["../../src/components/FooterEndConversation.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,sCAQjC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FooterLiteBadge.d.ts","sourceRoot":"","sources":["../../src/components/FooterLiteBadge.tsx"],"names":[],"mappings":"AAGA,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,cAAc,GAAG,SAAS,CAAA;CACzC,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,OAAO,KAAK,mCAyC3C,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { JSX } from 'solid-js';
|
|
2
|
+
interface FormLayoutProps {
|
|
3
|
+
children: JSX.Element;
|
|
4
|
+
onSubmit: () => void;
|
|
5
|
+
buttonLabel?: string;
|
|
6
|
+
isDisabled?: boolean;
|
|
7
|
+
class?: string;
|
|
8
|
+
customButton?: JSX.Element;
|
|
9
|
+
isInputDisabled?: () => boolean;
|
|
10
|
+
hasError?: boolean;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Generic form layout component
|
|
14
|
+
* Provides base form structure and submit behavior without styling assumptions
|
|
15
|
+
*/
|
|
16
|
+
export declare const FormLayout: (props: FormLayoutProps) => JSX.Element;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=FormLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormLayout.d.ts","sourceRoot":"","sources":["../../src/components/FormLayout.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAQ,MAAM,UAAU,CAAA;AAGpC,UAAU,eAAe;IACvB,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IAC1B,eAAe,CAAC,EAAE,MAAM,OAAO,CAAA;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU,UAAW,eAAe,gBA4ChD,CAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Accessor, JSX } from 'solid-js';
|
|
2
|
+
import { SendMessageResponse, ThemeProps, CreateConversationResponse } from '@quickbot.io/schemas';
|
|
3
|
+
import { BotContext, ChatChunk as ChatChunkType, InputSubmitContent, OutgoingLog } from '@/types';
|
|
4
|
+
type InputAnswerContextType = {
|
|
5
|
+
chatChunks: Accessor<ChatChunkType[]>;
|
|
6
|
+
theme: Accessor<ThemeProps>;
|
|
7
|
+
dynamicTheme: Accessor<SendMessageResponse['dynamicTheme']>;
|
|
8
|
+
setTheme: (theme: ThemeProps) => void;
|
|
9
|
+
hasError: Accessor<boolean>;
|
|
10
|
+
setHasError: (hasError: boolean) => void;
|
|
11
|
+
isSending: Accessor<boolean>;
|
|
12
|
+
blockedPopupUrl: Accessor<string | undefined>;
|
|
13
|
+
setBlockedPopupUrl: (url: string | undefined) => void;
|
|
14
|
+
blockRef: HTMLDivElement | undefined;
|
|
15
|
+
currentBlock: () => ChatChunkType | undefined;
|
|
16
|
+
answers: Accessor<Record<number, InputSubmitContent | undefined>>;
|
|
17
|
+
setAnswer: (chunkIndex: number, content: InputSubmitContent | undefined) => void;
|
|
18
|
+
getAnswer: (chunkIndex: number) => InputSubmitContent | undefined;
|
|
19
|
+
displayedMessageIndexes: Accessor<Record<number, number>>;
|
|
20
|
+
setDisplayedMessageIndex: (chunkIndex: number, index: number) => void;
|
|
21
|
+
getDisplayedMessageIndex: (chunkIndex: number) => number;
|
|
22
|
+
sendMessage: (answer?: InputSubmitContent) => Promise<void>;
|
|
23
|
+
processClientSideActions: (actions: NonNullable<SendMessageResponse['clientSideActions']>) => Promise<void>;
|
|
24
|
+
onBubblesDisplayed: () => void;
|
|
25
|
+
};
|
|
26
|
+
type Props = {
|
|
27
|
+
children: JSX.Element;
|
|
28
|
+
initialChatReply: CreateConversationResponse;
|
|
29
|
+
context: BotContext;
|
|
30
|
+
onNewBlock?: (block: {
|
|
31
|
+
id: string;
|
|
32
|
+
type: string;
|
|
33
|
+
}) => void;
|
|
34
|
+
onAnswer?: (answer: {
|
|
35
|
+
message: string;
|
|
36
|
+
blockId: string;
|
|
37
|
+
}) => void;
|
|
38
|
+
onEnd?: () => void;
|
|
39
|
+
onNewLogs?: (logs: OutgoingLog[]) => void;
|
|
40
|
+
onProgressUpdate?: (progress: number) => void;
|
|
41
|
+
onBubblesDisplayed?: () => void;
|
|
42
|
+
};
|
|
43
|
+
export declare const InputAnswerProvider: (props: Props) => JSX.Element;
|
|
44
|
+
export declare const useInputAnswer: () => InputAnswerContextType;
|
|
45
|
+
export {};
|
|
46
|
+
//# sourceMappingURL=InputAnswerContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputAnswerContext.d.ts","sourceRoot":"","sources":["../../src/components/InputAnswerContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,QAAQ,EACR,GAAG,EAEJ,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,mBAAmB,EACnB,UAAU,EAEV,0BAA0B,EAE3B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,UAAU,EAAE,SAAS,IAAI,aAAa,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAejG,KAAK,sBAAsB,GAAG;IAC5B,UAAU,EAAE,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAA;IACrC,KAAK,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAA;IAC3B,YAAY,EAAE,QAAQ,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC,CAAA;IAC3D,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAA;IACrC,QAAQ,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;IAC3B,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAA;IACxC,SAAS,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;IAC5B,eAAe,EAAE,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC7C,kBAAkB,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAA;IACrD,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAA;IACpC,YAAY,EAAE,MAAM,aAAa,GAAG,SAAS,CAAA;IAC7C,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,kBAAkB,GAAG,SAAS,CAAC,CAAC,CAAA;IACjE,SAAS,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,GAAG,SAAS,KAAK,IAAI,CAAA;IAChF,SAAS,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,kBAAkB,GAAG,SAAS,CAAA;IACjE,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;IACzD,wBAAwB,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACrE,wBAAwB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,MAAM,CAAA;IACxD,WAAW,EAAE,CAAC,MAAM,CAAC,EAAE,kBAAkB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IAC3D,wBAAwB,EAAE,CACxB,OAAO,EAAE,WAAW,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,CAAC,KAC3D,OAAO,CAAC,IAAI,CAAC,CAAA;IAClB,kBAAkB,EAAE,MAAM,IAAI,CAAA;CAC/B,CAAA;AAED,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,gBAAgB,EAAE,0BAA0B,CAAA;IAC5C,OAAO,EAAE,UAAU,CAAA;IACnB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IAC1D,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACjE,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC,CAAA;AAID,eAAO,MAAM,mBAAmB,UAAW,KAAK,gBAwT/C,CAAA;AAED,eAAO,MAAM,cAAc,QAAO,sBAMjC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputBlockDispatcher.d.ts","sourceRoot":"","sources":["../../src/components/InputBlockDispatcher.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAsB,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAiBjE,KAAK,KAAK,GAAG,mBAAmB,CAAA;AAEhC,eAAO,MAAM,oBAAoB,GAAI,OAAO,KAAK,mCA+IhD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputErrorMessage.d.ts","sourceRoot":"","sources":["../../src/components/InputErrorMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAG9B,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,OAAO,KAAK,gBAW7C,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { JSX } from 'solid-js';
|
|
2
|
+
interface InputFormLayoutProps {
|
|
3
|
+
children: JSX.Element;
|
|
4
|
+
onSubmit: () => void;
|
|
5
|
+
buttonLabel?: string;
|
|
6
|
+
isDisabled?: boolean;
|
|
7
|
+
class?: string;
|
|
8
|
+
customButton?: JSX.Element;
|
|
9
|
+
isInputDisabled?: () => boolean;
|
|
10
|
+
hasError?: boolean;
|
|
11
|
+
variant?: 'field' | 'plain';
|
|
12
|
+
}
|
|
13
|
+
export declare const InputFormLayout: (props: InputFormLayoutProps) => JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=InputFormLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputFormLayout.d.ts","sourceRoot":"","sources":["../../src/components/InputFormLayout.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAQ,MAAM,UAAU,CAAA;AAGpC,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IAC1B,eAAe,CAAC,EAAE,MAAM,OAAO,CAAA;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAA;CAC5B;AAED,eAAO,MAAM,eAAe,GAAI,OAAO,oBAAoB,gBA8C1D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../src/components/Modal.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAG9B,KAAK,KAAK,GAAG;IACX,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;CACtB,CAAA;AACD,eAAO,MAAM,KAAK,GAAI,OAAO,KAAK,gBAiBjC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../src/components/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAG9B,eAAO,MAAM,OAAO,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAgBjE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextInputAddFileButton.d.ts","sourceRoot":"","sources":["../../src/components/TextInputAddFileButton.tsx"],"names":[],"mappings":"AAMA,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAA;IACrC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AACD,eAAO,MAAM,sBAAsB,GAAI,OAAO,KAAK,mCAsFlD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypingBubble.d.ts","sourceRoot":"","sources":["../../src/components/TypingBubble.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,sCAMxB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/avatars/Avatar.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM,GAAI,OAAO;IAAE,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAAE,mCA0B1D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AvatarPlaceholder.d.ts","sourceRoot":"","sources":["../../../src/components/avatars/AvatarPlaceholder.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,qBAAoB,KAAU,mCAsB/D,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InputSubmitContent } from '@/types';
|
|
2
|
+
type Props = {
|
|
3
|
+
answer?: InputSubmitContent;
|
|
4
|
+
showAvatar: boolean;
|
|
5
|
+
avatarSrc?: string;
|
|
6
|
+
hasHostAvatar: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const GuestBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# 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,EAAE,kBAAkB,EAAuD,MAAM,SAAS,CAAA;AAMjG,KAAK,KAAK,GAAG;IACX,MAAM,CAAC,EAAE,kBAAkB,CAAA;IAC3B,UAAU,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,OAAO,CAAA;CACvB,CAAA;AAED,eAAO,MAAM,WAAW,UAAW,KAAK,mCAsBvC,CAAA"}
|