@urbiport/js 0.0.19-alpha.9 → 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 -265
- 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,12 @@
|
|
|
1
|
+
import { InputSubmitContent } from '@/types';
|
|
2
|
+
import type { ConversationMessage, Settings } from '@quickbot.io/schemas';
|
|
3
|
+
type Props = {
|
|
4
|
+
message: ConversationMessage;
|
|
5
|
+
typingEmulation: Settings['typingEmulation'];
|
|
6
|
+
isTypingSkipped: boolean;
|
|
7
|
+
onTransitionEnd?: (ref?: HTMLDivElement) => void;
|
|
8
|
+
onCompleted: (reply?: InputSubmitContent) => void;
|
|
9
|
+
};
|
|
10
|
+
export declare const HostBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=HostBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HostBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/HostBubble.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,KAAK,EAEV,mBAAmB,EAGnB,QAAQ,EAGT,MAAM,sBAAsB,CAAA;AAI7B,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,mBAAmB,CAAA;IAC5B,eAAe,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAA;IAC5C,eAAe,EAAE,OAAO,CAAA;IACxB,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAA;IAChD,WAAW,EAAE,CAAC,KAAK,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAA;CAClD,CAAA;AAED,eAAO,MAAM,UAAU,UAAW,KAAK,mCAoCtC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BotContext } from '@/types';
|
|
2
|
+
type Props = {
|
|
3
|
+
streamingMessageId: string;
|
|
4
|
+
context: BotContext;
|
|
5
|
+
};
|
|
6
|
+
export declare const HostBubbleStreaming: (props: Props) => import("solid-js").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=HostBubbleStreaming.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HostBubbleStreaming.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/HostBubbleStreaming.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAGpC,KAAK,KAAK,GAAG;IACX,kBAAkB,EAAE,MAAM,CAAA;IAC1B,OAAO,EAAE,UAAU,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,mBAAmB,UAAW,KAAK,mCA0C/C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/CheckIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAE1C,eAAO,MAAM,SAAS,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAanE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChevronDownIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/ChevronDownIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAE1C,eAAO,MAAM,eAAe,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAazE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloseIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/CloseIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAE1C,eAAO,MAAM,SAAS,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAcnE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/FileIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAE1C,eAAO,MAAM,QAAQ,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAclE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileIconUpload.d.ts","sourceRoot":"","sources":["../../../src/components/icons/FileIconUpload.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAE1C,eAAO,MAAM,cAAc,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAgBxE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogoIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/LogoIcon.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,sCAoCpB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MicrophoneIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/MicrophoneIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAE1C,eAAO,MAAM,cAAc,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAWxE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaperClipIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/PaperClipIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAE1C,eAAO,MAAM,aAAa,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAevE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PictureIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/PictureIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAE1C,eAAO,MAAM,WAAW,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAgBrE,CAAA"}
|
|
@@ -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,CAAA;AAE1C,eAAO,MAAM,QAAQ,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAWlE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/icons/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileAttached.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/FileAttached.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,GAAI,OAAO;IAClC,IAAI,EAAE,IAAI,CAAA;IACV,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,aAAa,EAAE,MAAM,IAAI,CAAA;CAC1B,mCA4BA,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { JSX } from 'solid-js/jsx-runtime';
|
|
2
|
+
type ShortTextInputProps = {
|
|
3
|
+
ref: HTMLInputElement | undefined;
|
|
4
|
+
onInput: (value: string) => void;
|
|
5
|
+
} & Omit<JSX.InputHTMLAttributes<HTMLInputElement>, 'onInput'>;
|
|
6
|
+
export declare const Input: (props: ShortTextInputProps) => JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/Input.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAG1C,KAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,gBAAgB,GAAG,SAAS,CAAA;IACjC,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACjC,GAAG,IAAI,CAAC,GAAG,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,SAAS,CAAC,CAAA;AAE9D,eAAO,MAAM,KAAK,GAAI,OAAO,mBAAmB,gBAa/C,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { JSX } from 'solid-js/jsx-runtime';
|
|
2
|
+
type TextareaProps = {
|
|
3
|
+
ref?: HTMLTextAreaElement;
|
|
4
|
+
containerRef: HTMLDivElement;
|
|
5
|
+
onInput: (value: string) => void;
|
|
6
|
+
} & Omit<JSX.TextareaHTMLAttributes<HTMLTextAreaElement>, 'onInput'>;
|
|
7
|
+
export declare const Textarea: (props: TextareaProps) => JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=Textarea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/Textarea.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAE1C,KAAK,aAAa,GAAG;IACnB,GAAG,CAAC,EAAE,mBAAmB,CAAA;IACzB,YAAY,EAAE,cAAc,CAAA;IAC5B,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACjC,GAAG,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,SAAS,CAAC,CAAA;AAEpE,eAAO,MAAM,QAAQ,GAAI,OAAO,aAAa,gBAiC5C,CAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { JSX } from 'solid-js';
|
|
2
|
+
type DialogRootProps = {
|
|
3
|
+
open?: boolean;
|
|
4
|
+
lazyMount?: boolean;
|
|
5
|
+
unmountOnExit?: boolean;
|
|
6
|
+
onOpenChange?: (details: {
|
|
7
|
+
open: boolean;
|
|
8
|
+
}) => void;
|
|
9
|
+
children: JSX.Element;
|
|
10
|
+
};
|
|
11
|
+
type DialogBackdropProps = {
|
|
12
|
+
class?: string;
|
|
13
|
+
children?: JSX.Element;
|
|
14
|
+
};
|
|
15
|
+
type DialogPositionerProps = {
|
|
16
|
+
class?: string;
|
|
17
|
+
children: JSX.Element;
|
|
18
|
+
};
|
|
19
|
+
type DialogContentProps = {
|
|
20
|
+
class?: string;
|
|
21
|
+
children: JSX.Element;
|
|
22
|
+
};
|
|
23
|
+
type DialogCloseTriggerProps = {
|
|
24
|
+
class?: string;
|
|
25
|
+
children: JSX.Element;
|
|
26
|
+
};
|
|
27
|
+
export declare const Dialog: {
|
|
28
|
+
Root: (props: DialogRootProps) => JSX.Element;
|
|
29
|
+
Backdrop: (props: DialogBackdropProps) => JSX.Element;
|
|
30
|
+
Positioner: (props: DialogPositionerProps) => JSX.Element;
|
|
31
|
+
Content: (props: DialogContentProps) => JSX.Element;
|
|
32
|
+
CloseTrigger: (props: DialogCloseTriggerProps) => JSX.Element;
|
|
33
|
+
};
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=Dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/primitives/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAiC,MAAM,UAAU,CAAA;AAI7D,KAAK,eAAe,GAAG;IACrB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAA;IACnD,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;CACtB,CAAA;AAED,KAAK,mBAAmB,GAAG;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;CACvB,CAAA;AAED,KAAK,qBAAqB,GAAG;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;CACtB,CAAA;AAED,KAAK,kBAAkB,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;CACtB,CAAA;AAED,KAAK,uBAAuB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;CACtB,CAAA;AA6DD,eAAO,MAAM,MAAM;kBA3DW,eAAe;sBA2CpB,mBAAmB;wBAIjB,qBAAqB;qBAIxB,kBAAkB;0BAIb,uBAAuB;CAUnD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Environment.d.ts","sourceRoot":"","sources":["../../../src/components/primitives/Environment.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAA6B,MAAM,UAAU,CAAA;AAUzD,KAAK,wBAAwB,GAAG;IAC9B,KAAK,EAAE,IAAI,CAAA;IACX,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,OAAO,wBAAwB,gBAElE,CAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { JSX } from 'solid-js';
|
|
2
|
+
type MenuRootProps = {
|
|
3
|
+
children: JSX.Element;
|
|
4
|
+
};
|
|
5
|
+
type MenuTriggerProps = {
|
|
6
|
+
class?: string;
|
|
7
|
+
children: JSX.Element;
|
|
8
|
+
'aria-label'?: string;
|
|
9
|
+
};
|
|
10
|
+
type MenuPositionerProps = {
|
|
11
|
+
children: JSX.Element;
|
|
12
|
+
};
|
|
13
|
+
type MenuContentProps = {
|
|
14
|
+
class?: string;
|
|
15
|
+
children: JSX.Element;
|
|
16
|
+
side?: 'top' | 'bottom' | 'left' | 'right';
|
|
17
|
+
align?: 'start' | 'center' | 'end';
|
|
18
|
+
sideOffset?: number;
|
|
19
|
+
alignOffset?: number;
|
|
20
|
+
};
|
|
21
|
+
type MenuItemProps = {
|
|
22
|
+
value: string;
|
|
23
|
+
class?: string;
|
|
24
|
+
asChild?: (props: () => Record<string, unknown>) => JSX.Element;
|
|
25
|
+
children?: JSX.Element;
|
|
26
|
+
};
|
|
27
|
+
export declare const Menu: {
|
|
28
|
+
Root: (props: MenuRootProps) => JSX.Element;
|
|
29
|
+
Trigger: (props: MenuTriggerProps) => JSX.Element;
|
|
30
|
+
Positioner: (props: MenuPositionerProps) => JSX.Element;
|
|
31
|
+
Content: (props: MenuContentProps) => JSX.Element;
|
|
32
|
+
Item: (props: MenuItemProps) => JSX.Element;
|
|
33
|
+
};
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=Menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/components/primitives/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAuG,MAAM,UAAU,CAAA;AAgBnI,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;CACtB,CAAA;AAED,KAAK,gBAAgB,GAAG;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,KAAK,mBAAmB,GAAG;IACzB,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;CACtB,CAAA;AAED,KAAK,gBAAgB,GAAG;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAA;IAC1C,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAA;IAClC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,GAAG,CAAC,OAAO,CAAA;IAC/D,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;CACvB,CAAA;AA0UD,eAAO,MAAM,IAAI;kBAxUI,aAAa;qBA+BV,gBAAgB;wBA2Bb,mBAAmB;qBAyDtB,gBAAgB;kBA6KnB,aAAa;CA8CjC,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { JSX } from 'solid-js';
|
|
2
|
+
type ProgressRootProps = {
|
|
3
|
+
value?: number;
|
|
4
|
+
max?: number;
|
|
5
|
+
class?: string;
|
|
6
|
+
children: JSX.Element;
|
|
7
|
+
};
|
|
8
|
+
type ProgressCircleProps = {
|
|
9
|
+
class?: string;
|
|
10
|
+
children: JSX.Element;
|
|
11
|
+
};
|
|
12
|
+
type ProgressCircleTrackProps = {
|
|
13
|
+
class?: string;
|
|
14
|
+
};
|
|
15
|
+
type ProgressCircleRangeProps = {
|
|
16
|
+
class?: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const Progress: {
|
|
19
|
+
Root: (props: ProgressRootProps) => JSX.Element;
|
|
20
|
+
Circle: (props: ProgressCircleProps) => JSX.Element;
|
|
21
|
+
CircleTrack: (props: ProgressCircleTrackProps) => JSX.Element;
|
|
22
|
+
CircleRange: (props: ProgressCircleRangeProps) => JSX.Element;
|
|
23
|
+
};
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=Progress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Progress.d.ts","sourceRoot":"","sources":["../../../src/components/primitives/Progress.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAc,MAAM,UAAU,CAAA;AAG1C,KAAK,iBAAiB,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;CACtB,CAAA;AAED,KAAK,mBAAmB,GAAG;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;CACtB,CAAA;AAED,KAAK,wBAAwB,GAAG;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,KAAK,wBAAwB,GAAG;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AA2ED,eAAO,MAAM,QAAQ;kBAtEA,iBAAiB;oBAQf,mBAAmB;yBAkBd,wBAAwB;yBAmBxB,wBAAwB;CA8BnD,CAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { JSX } from 'solid-js';
|
|
2
|
+
type ToastType = 'success' | 'error' | 'warning' | 'info' | 'loading';
|
|
3
|
+
type ToastOptions = {
|
|
4
|
+
title?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
type?: ToastType;
|
|
7
|
+
duration?: number;
|
|
8
|
+
id?: string;
|
|
9
|
+
};
|
|
10
|
+
type ToastData = ToastOptions & {
|
|
11
|
+
id: string;
|
|
12
|
+
};
|
|
13
|
+
type ToasterInstance = {
|
|
14
|
+
create: (options: ToastOptions) => string;
|
|
15
|
+
dismiss: (id: string) => void;
|
|
16
|
+
dismissAll: () => void;
|
|
17
|
+
toasts: () => ToastData[];
|
|
18
|
+
};
|
|
19
|
+
type ToasterOptions = {
|
|
20
|
+
placement?: 'top-start' | 'top' | 'top-end' | 'bottom-start' | 'bottom' | 'bottom-end';
|
|
21
|
+
gap?: number;
|
|
22
|
+
};
|
|
23
|
+
export declare function createToaster(options?: ToasterOptions): ToasterInstance;
|
|
24
|
+
type ToasterProps = {
|
|
25
|
+
toaster: ToasterInstance;
|
|
26
|
+
children: (toast: () => ToastData) => JSX.Element;
|
|
27
|
+
};
|
|
28
|
+
export declare const Toaster: (props: ToasterProps) => JSX.Element;
|
|
29
|
+
type ToastRootProps = {
|
|
30
|
+
class?: string;
|
|
31
|
+
children: JSX.Element;
|
|
32
|
+
};
|
|
33
|
+
type ToastTitleProps = {
|
|
34
|
+
class?: string;
|
|
35
|
+
children: JSX.Element;
|
|
36
|
+
};
|
|
37
|
+
type ToastDescriptionProps = {
|
|
38
|
+
class?: string;
|
|
39
|
+
children: JSX.Element;
|
|
40
|
+
};
|
|
41
|
+
type ToastCloseTriggerProps = {
|
|
42
|
+
class?: string;
|
|
43
|
+
children: JSX.Element;
|
|
44
|
+
};
|
|
45
|
+
export declare const Toast: {
|
|
46
|
+
Root: (props: ToastRootProps) => JSX.Element;
|
|
47
|
+
Title: (props: ToastTitleProps) => JSX.Element;
|
|
48
|
+
Description: (props: ToastDescriptionProps) => JSX.Element;
|
|
49
|
+
CloseTrigger: (props: ToastCloseTriggerProps) => JSX.Element;
|
|
50
|
+
};
|
|
51
|
+
export {};
|
|
52
|
+
//# sourceMappingURL=Toast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/primitives/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAgC,MAAM,UAAU,CAAA;AAI5D,KAAK,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAA;AAErE,KAAK,YAAY,GAAG;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,KAAK,SAAS,GAAG,YAAY,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAA;CACX,CAAA;AAED,KAAK,eAAe,GAAG;IACrB,MAAM,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,MAAM,CAAA;IACzC,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7B,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,MAAM,EAAE,MAAM,SAAS,EAAE,CAAA;CAC1B,CAAA;AAED,KAAK,cAAc,GAAG;IACpB,SAAS,CAAC,EAAE,WAAW,GAAG,KAAK,GAAG,SAAS,GAAG,cAAc,GAAG,QAAQ,GAAG,YAAY,CAAA;IACtF,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED,wBAAgB,aAAa,CAAC,OAAO,GAAE,cAAmB,GAAG,eAAe,CAqC3E;AAED,KAAK,YAAY,GAAG;IAClB,OAAO,EAAE,eAAe,CAAA;IACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,SAAS,KAAK,GAAG,CAAC,OAAO,CAAA;CAClD,CAAA;AAED,eAAO,MAAM,OAAO,GAAI,OAAO,YAAY,gBAa1C,CAAA;AAED,KAAK,cAAc,GAAG;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;CACtB,CAAA;AAED,KAAK,eAAe,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;CACtB,CAAA;AAED,KAAK,qBAAqB,GAAG;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;CACtB,CAAA;AAED,KAAK,sBAAsB,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;CACtB,CAAA;AAqCD,eAAO,MAAM,KAAK;kBAnCQ,cAAc;mBAQb,eAAe;yBAQT,qBAAqB;0BAQpB,sBAAsB;CAgBvD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/primitives/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { BubbleProps } from './features/widget';
|
|
2
|
+
import type { PopupProps } from './features/popup';
|
|
3
|
+
import type { BotProps } from './components/Bot';
|
|
4
|
+
export declare const defaultBotProps: BotProps;
|
|
5
|
+
export declare const defaultPopupProps: PopupProps;
|
|
6
|
+
export declare const defaultBubbleProps: BubbleProps;
|
|
7
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -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,CAAA;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEhD,eAAO,MAAM,eAAe,EAAE,QAY7B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,UAQ/B,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,WAQhC,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/context/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,GAAI,OAAO,KAAK,gBAgShD,CAAA;AAED,eAAO,MAAM,eAAe,QAAO,uBAMlC,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/features/blocks/bubbles/GuestBubble.tsx"],"names":[],"mappings":"AAEA,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,GAAI,OAAO,KAAK,mCAsBvC,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InputSubmitContent } from '@/types';
|
|
2
|
+
import type { ConversationMessage, Settings } from '@quickbot.io/schemas';
|
|
3
|
+
type Props = {
|
|
4
|
+
message: ConversationMessage;
|
|
5
|
+
typingEmulation: Settings['typingEmulation'];
|
|
6
|
+
isTypingSkipped: boolean;
|
|
7
|
+
onTransitionEnd?: (ref?: HTMLDivElement) => void;
|
|
8
|
+
onCompleted: (reply?: InputSubmitContent) => void;
|
|
9
|
+
};
|
|
10
|
+
export declare const HostBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=HostBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HostBubble.d.ts","sourceRoot":"","sources":["../../../../src/features/blocks/bubbles/HostBubble.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,KAAK,EAEV,mBAAmB,EAGnB,QAAQ,EAGT,MAAM,sBAAsB,CAAA;AAI7B,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,mBAAmB,CAAA;IAC5B,eAAe,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAA;IAC5C,eAAe,EAAE,OAAO,CAAA;IACxB,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAA;IAChD,WAAW,EAAE,CAAC,KAAK,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAA;CAClD,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,OAAO,KAAK,mCAoCtC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BotContext } from '@/types';
|
|
2
|
+
type Props = {
|
|
3
|
+
streamingMessageId: string;
|
|
4
|
+
context: BotContext;
|
|
5
|
+
};
|
|
6
|
+
export declare const HostBubbleStreaming: (props: Props) => import("solid-js").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=HostBubbleStreaming.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HostBubbleStreaming.d.ts","sourceRoot":"","sources":["../../../../src/features/blocks/bubbles/HostBubbleStreaming.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAGpC,KAAK,KAAK,GAAG;IACX,kBAAkB,EAAE,MAAM,CAAA;IAC1B,OAAO,EAAE,UAAU,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,OAAO,KAAK,mCAsC/C,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AudioBubbleBlock } from '@quickbot.io/schemas';
|
|
2
|
+
type Props = {
|
|
3
|
+
content: AudioBubbleBlock['content'];
|
|
4
|
+
onTransitionEnd?: (ref?: HTMLDivElement) => void;
|
|
5
|
+
};
|
|
6
|
+
export declare const AudioBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=AudioBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AudioBubble.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/bubbles/audio/components/AudioBubble.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAKvD,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAA;IACpC,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAA;CACjD,CAAA;AAOD,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,mCAoDvC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/bubbles/audio/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/bubbles/audio/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EmbedBubbleBlock } from '@quickbot.io/schemas';
|
|
2
|
+
import { InputSubmitContent } from '@/types';
|
|
3
|
+
type Props = {
|
|
4
|
+
content: EmbedBubbleBlock['content'];
|
|
5
|
+
onTransitionEnd?: (ref?: HTMLDivElement) => void;
|
|
6
|
+
onCompleted?: (data?: InputSubmitContent) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const EmbedBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=EmbedBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmbedBubble.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/bubbles/embed/components/EmbedBubble.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAEvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAI5C,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAA;IACpC,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAA;IAChD,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAA;CAClD,CAAA;AAMD,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,mCAgHvC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/bubbles/embed/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/bubbles/embed/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ImageBubbleBlock } from '@quickbot.io/schemas';
|
|
2
|
+
type Props = {
|
|
3
|
+
content: ImageBubbleBlock['content'];
|
|
4
|
+
onTransitionEnd?: (ref?: HTMLDivElement) => void;
|
|
5
|
+
};
|
|
6
|
+
export declare const ImageBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=ImageBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageBubble.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/bubbles/image/components/ImageBubble.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAGvD,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAA;IACpC,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAA;CACjD,CAAA;AAQD,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,mCAgFvC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/bubbles/image/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Settings, TextBubbleBlock } from '@quickbot.io/schemas';
|
|
2
|
+
type Props = {
|
|
3
|
+
content: TextBubbleBlock['content'];
|
|
4
|
+
typingEmulation: Settings['typingEmulation'];
|
|
5
|
+
isTypingSkipped: boolean;
|
|
6
|
+
onTransitionEnd?: (ref?: HTMLDivElement) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const TextBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=TextBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextBubble.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/bubbles/textBubble/components/TextBubble.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAMrE,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;IACnC,eAAe,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAA;IAC5C,eAAe,EAAE,OAAO,CAAA;IACxB,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAA;CACjD,CAAA;AAMD,eAAO,MAAM,UAAU,GAAI,OAAO,KAAK,mCA0DtC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TElement, TText } from '@udecode/plate-common';
|
|
2
|
+
type Props = {
|
|
3
|
+
element: TElement | TText;
|
|
4
|
+
isUniqueChild?: boolean;
|
|
5
|
+
insideInlineVariable?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const PlateElement: (props: Props) => import("solid-js").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=PlateBlock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlateBlock.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/blocks/bubbles/textBubble/components/plate/PlateBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAe,MAAM,uBAAuB,CAAA;AAKzE,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,QAAQ,GAAG,KAAK,CAAA;IACzB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,OAAO,KAAK,mCA6ExC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlateText.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/blocks/bubbles/textBubble/components/plate/PlateText.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,OAAO,CAAA;IACtB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AASD,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,mCAO9C,CAAA"}
|