@urbiport/js 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -0
- package/dist/components/Bot.d.ts +7 -3
- package/dist/components/Bot.d.ts.map +1 -1
- package/dist/components/{SubmitButton.d.ts → ButtonSubmit.d.ts} +2 -2
- package/dist/components/{SubmitButton.d.ts.map → ButtonSubmit.d.ts.map} +1 -1
- package/dist/components/{InputChatBlockFooter.d.ts → ChatInputFooter.d.ts} +4 -4
- package/dist/components/ChatInputFooter.d.ts.map +1 -0
- package/dist/components/ConversationContainer/ConversationContainer.d.ts +6 -2
- package/dist/components/ConversationContainer/ConversationContainer.d.ts.map +1 -1
- package/dist/components/ConversationContainer/ConversationContainerBody.d.ts +4 -0
- package/dist/components/ConversationContainer/ConversationContainerBody.d.ts.map +1 -1
- package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts +1 -2
- package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts.map +1 -1
- package/dist/components/ConversationContainer/{ChatChunk.d.ts → ConversationMessageChunk.d.ts} +4 -4
- 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 +18 -0
- package/dist/components/ConversationContainer/InputAnswer.d.ts.map +1 -0
- package/dist/components/ConversationContainer/helpers.d.ts +2 -2
- package/dist/components/ConversationContainer/helpers.d.ts.map +1 -1
- package/dist/components/InputAnswerContext.d.ts +9 -4
- package/dist/components/InputAnswerContext.d.ts.map +1 -1
- package/dist/components/InputFormLayout.d.ts +2 -0
- package/dist/components/InputFormLayout.d.ts.map +1 -1
- package/dist/components/Spinner.d.ts.map +1 -1
- package/dist/components/bubbles/HostBubble.d.ts.map +1 -1
- package/dist/components/bubbles/HostBubbleStreaming.d.ts +8 -0
- package/dist/components/bubbles/HostBubbleStreaming.d.ts.map +1 -0
- package/dist/{features/blocks/inputs/fileUpload/components/SelectedFile.d.ts → components/inputs/FileAttached.d.ts} +2 -2
- package/dist/components/inputs/FileAttached.d.ts.map +1 -0
- package/dist/components/inputs/{ShortTextInput.d.ts → Input.d.ts} +2 -2
- package/dist/components/inputs/Input.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts.map +1 -1
- package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts.map +1 -1
- package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts.map +1 -1
- package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts.map +1 -1
- package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts.map +1 -1
- package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts +3 -2
- package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts.map +1 -1
- package/dist/{components/inputs/SearchInput.d.ts → features/blocks/inputs/buttons/components/ButtonsSearch.d.ts} +2 -2
- 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.map +1 -1
- package/dist/features/blocks/inputs/email/components/EmailInput.d.ts +2 -0
- package/dist/features/blocks/inputs/email/components/EmailInput.d.ts.map +1 -1
- package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts.map +1 -1
- package/dist/features/blocks/inputs/fileUpload/{helpers → utils}/sanitizeSelectedFiles.d.ts +2 -4
- package/dist/features/blocks/inputs/fileUpload/utils/sanitizeSelectedFiles.d.ts.map +1 -0
- package/dist/features/blocks/inputs/fileUpload/utils/uploadFiles.d.ts.map +1 -0
- package/dist/features/blocks/inputs/number/components/NumberInput.d.ts.map +1 -1
- package/dist/features/blocks/inputs/number/utils/numberInputHelper.d.ts.map +1 -0
- package/dist/features/blocks/inputs/payment/utils/paymentInProgressStorage.d.ts.map +1 -0
- package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts +2 -0
- package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts.map +1 -1
- package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts.map +1 -1
- package/dist/features/blocks/inputs/{textInput → text}/components/TextInput.d.ts +3 -1
- package/dist/features/blocks/inputs/text/components/TextInput.d.ts.map +1 -0
- package/dist/features/blocks/inputs/{textInput → text}/components/VoiceRecorder.d.ts +2 -2
- package/dist/features/blocks/inputs/text/components/VoiceRecorder.d.ts.map +1 -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 +2 -0
- package/dist/features/blocks/inputs/url/components/UrlInput.d.ts.map +1 -1
- package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -1
- package/dist/features/bubble/components/{PreviewMessage.d.ts → BubbleMessage.d.ts} +2 -2
- package/dist/features/bubble/components/BubbleMessage.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +26 -1
- package/dist/queries/continueChatQuery.d.ts +67 -104
- package/dist/queries/continueChatQuery.d.ts.map +1 -1
- package/dist/queries/startChatQuery.d.ts +153 -180
- package/dist/queries/startChatQuery.d.ts.map +1 -1
- package/dist/utils/executeClientSideActions.d.ts.map +1 -1
- package/dist/utils/injectFont.d.ts +2 -2
- package/dist/utils/injectFont.d.ts.map +1 -1
- package/dist/utils/injectStartProps.d.ts.map +1 -1
- package/dist/utils/setCssVariablesValue.d.ts +2 -2
- package/dist/utils/setCssVariablesValue.d.ts.map +1 -1
- package/dist/utils/storage.d.ts +153 -180
- package/dist/utils/storage.d.ts.map +1 -1
- package/dist/web.js +30 -8
- package/package.json +8 -3
- package/dist/components/ConversationContainer/AvatarSideContainer.d.ts +0 -8
- package/dist/components/ConversationContainer/AvatarSideContainer.d.ts.map +0 -1
- package/dist/components/ConversationContainer/ChatChunk.d.ts.map +0 -1
- package/dist/components/ConversationContainer/ChatChunkFooter.d.ts +0 -20
- package/dist/components/ConversationContainer/ChatChunkFooter.d.ts.map +0 -1
- package/dist/components/ConversationContainer/InputAnswerContext.d.ts +0 -13
- package/dist/components/ConversationContainer/InputAnswerContext.d.ts.map +0 -1
- package/dist/components/ConversationContainer/LoadingChunk.d.ts +0 -7
- package/dist/components/ConversationContainer/LoadingChunk.d.ts.map +0 -1
- package/dist/components/ConversationContainer/PopupBlockedToast.d.ts +0 -7
- package/dist/components/ConversationContainer/PopupBlockedToast.d.ts.map +0 -1
- package/dist/components/InputChatBlock.d.ts +0 -18
- package/dist/components/InputChatBlock.d.ts.map +0 -1
- package/dist/components/InputChatBlockFooter copy.d.ts +0 -17
- package/dist/components/InputChatBlockFooter copy.d.ts.map +0 -1
- package/dist/components/InputChatBlockFooter.d.ts.map +0 -1
- package/dist/components/InputChatBlockFooterShow.d.ts +0 -13
- package/dist/components/InputChatBlockFooterShow.d.ts.map +0 -1
- package/dist/components/LiteBadge.d.ts +0 -6
- package/dist/components/LiteBadge.d.ts.map +0 -1
- package/dist/components/ProgressBar.d.ts +0 -6
- package/dist/components/ProgressBar.d.ts.map +0 -1
- package/dist/components/SendButton.d.ts +0 -9
- package/dist/components/SendButton.d.ts.map +0 -1
- package/dist/components/Submit.d.ts +0 -9
- package/dist/components/Submit.d.ts.map +0 -1
- package/dist/components/avatars/DefaultAvatar.d.ts +0 -2
- package/dist/components/avatars/DefaultAvatar.d.ts.map +0 -1
- package/dist/components/bubbles/LoadingBubble.d.ts +0 -2
- package/dist/components/bubbles/LoadingBubble.d.ts.map +0 -1
- package/dist/components/bubbles/StreamingBubble.d.ts +0 -8
- package/dist/components/bubbles/StreamingBubble.d.ts.map +0 -1
- package/dist/components/icons/TypebotLogo.d.ts +0 -2
- package/dist/components/icons/TypebotLogo.d.ts.map +0 -1
- package/dist/components/index.d.ts +0 -4
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/inputs/SearchInput.d.ts.map +0 -1
- package/dist/components/inputs/ShortTextInput.d.ts.map +0 -1
- package/dist/components/inputs/index.d.ts +0 -3
- package/dist/components/inputs/index.d.ts.map +0 -1
- package/dist/constants/conversation.d.ts +0 -4
- package/dist/constants/conversation.d.ts.map +0 -1
- package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts +0 -10
- package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts.map +0 -1
- package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts +0 -3
- package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts.map +0 -1
- package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts +0 -7
- package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts.map +0 -1
- package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts +0 -11
- package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts.map +0 -1
- package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts.map +0 -1
- package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts.map +0 -1
- package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts.map +0 -1
- package/dist/features/blocks/inputs/number/numberInputHelper.d.ts.map +0 -1
- package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts.map +0 -1
- package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts +0 -11
- package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts.map +0 -1
- package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts +0 -11
- package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts.map +0 -1
- package/dist/features/blocks/inputs/textInput/components/TextInput copy.d.ts +0 -11
- package/dist/features/blocks/inputs/textInput/components/TextInput copy.d.ts.map +0 -1
- package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts.map +0 -1
- package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts.map +0 -1
- package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts.map +0 -1
- package/dist/features/blocks/inputs/textInput/index.d.ts +0 -2
- package/dist/features/blocks/inputs/textInput/index.d.ts.map +0 -1
- package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts +0 -3
- package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts.map +0 -1
- package/dist/features/blocks/integrations/openai/streamChat.d.ts +0 -17
- package/dist/features/blocks/integrations/openai/streamChat.d.ts.map +0 -1
- package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts +0 -6
- package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts.map +0 -1
- package/dist/features/bubble/components/PreviewMessage.d.ts.map +0 -1
- package/dist/lib/gtag.d.ts +0 -4
- package/dist/lib/gtag.d.ts.map +0 -1
- package/tsconfig.build.json +0 -23
- /package/dist/features/blocks/inputs/fileUpload/{helpers → utils}/uploadFiles.d.ts +0 -0
- /package/dist/features/blocks/inputs/number/{numberInputHelper.d.ts → utils/numberInputHelper.d.ts} +0 -0
- /package/dist/features/blocks/inputs/payment/{helpers → utils}/paymentInProgressStorage.d.ts +0 -0
- /package/dist/features/blocks/inputs/{textInput → text}/components/VolumeProcessor.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VolumeProcessor.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/text/components/VolumeProcessor.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,qkBAyB/B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/inputs/text/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA"}
|
|
@@ -4,6 +4,8 @@ type Props = {
|
|
|
4
4
|
block: UrlInputBlock;
|
|
5
5
|
defaultValue?: string;
|
|
6
6
|
onSubmit: (value: InputSubmitContent) => void;
|
|
7
|
+
isInputDisabled?: () => boolean;
|
|
8
|
+
hasError?: boolean;
|
|
7
9
|
};
|
|
8
10
|
export declare const UrlInput: (props: Props) => import("solid-js").JSX.Element;
|
|
9
11
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UrlInput.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/url/components/UrlInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAKzD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,aAAa,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"UrlInput.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/url/components/UrlInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAKzD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,aAAa,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAA;IAC7C,eAAe,CAAC,EAAE,MAAM,OAAO,CAAA;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,QAAQ,UAAW,KAAK,mCAyDpC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BubbleButton.d.ts","sourceRoot":"","sources":["../../../../src/features/bubble/components/BubbleButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAGnD,KAAK,KAAK,GAAG,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,GACzC,WAAW,GAAG;IACZ,WAAW,EAAE,OAAO,CAAA;IACpB,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,UAAU,EAAE,GAAG,MAAM,IAAI,CAAA;CAC1B,CAAA;AAOH,eAAO,MAAM,YAAY,UAAW,KAAK,
|
|
1
|
+
{"version":3,"file":"BubbleButton.d.ts","sourceRoot":"","sources":["../../../../src/features/bubble/components/BubbleButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAGnD,KAAK,KAAK,GAAG,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,GACzC,WAAW,GAAG;IACZ,WAAW,EAAE,OAAO,CAAA;IACpB,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,UAAU,EAAE,GAAG,MAAM,IAAI,CAAA;CAC1B,CAAA;AAOH,eAAO,MAAM,YAAY,UAAW,KAAK,mCAkIxC,CAAA"}
|
|
@@ -5,5 +5,5 @@ export type PreviewMessageProps = Pick<BubbleTheme, 'placement'> & Pick<PreviewM
|
|
|
5
5
|
onClick: () => void;
|
|
6
6
|
onCloseClick: () => void;
|
|
7
7
|
};
|
|
8
|
-
export declare const
|
|
9
|
-
//# sourceMappingURL=
|
|
8
|
+
export declare const BubbleMessage: (props: PreviewMessageProps) => import("solid-js").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=BubbleMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BubbleMessage.d.ts","sourceRoot":"","sources":["../../../../src/features/bubble/components/BubbleMessage.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAG9F,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,GAC9D,IAAI,CAAC,oBAAoB,EAAE,WAAW,GAAG,SAAS,CAAC,GAAG;IACpD,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAC/B,mBAAmB,CAAC,EAAE,mBAAmB,CAAA;IACzC,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,YAAY,EAAE,MAAM,IAAI,CAAA;CACzB,CAAA;AAKH,eAAO,MAAM,aAAa,UAAW,mBAAmB,mCA2DvD,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './features/commands';
|
|
2
|
+
export { markdownToRichText } from '@quickbot.io/lib/markdown';
|
|
2
3
|
export type { BotProps } from './components/Bot';
|
|
3
4
|
export type { PopupProps } from './features/popup/components/Popup';
|
|
4
5
|
export type { BubbleProps } from './features/bubble/components/Bubble';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAE9D,YAAY,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAChD,YAAY,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AACnE,YAAY,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAA;AACtE,mBAAmB,yBAAyB,CAAA;AAC5C,mBAAmB,wBAAwB,CAAA"}
|