Skip to content

Commit e84e04d

Browse files
authored
Merge pull request #348 from FlowiseAI/feature/Streaming-Flickering
Enhance Bot component with scroll management and new features
2 parents 596759e + d7e6d2c commit e84e04d

24 files changed

Lines changed: 340 additions & 88 deletions

dist/components/Bot.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { JSX } from 'solid-js/jsx-runtime';
2+
type StopButtonProps = {
3+
sendButtonColor?: string;
4+
isDisabled?: boolean;
5+
isStopping?: boolean;
6+
} & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
7+
export declare const StopButton: (props: StopButtonProps) => JSX.Element;
8+
export {};
9+
//# sourceMappingURL=StopButton.d.ts.map

dist/components/buttons/StopButton.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { JSX } from 'solid-js/jsx-runtime';
2+
export declare const ChevronDownIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3+
//# sourceMappingURL=ChevronDownIcon.d.ts.map

dist/components/icons/ChevronDownIcon.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/components/icons/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ export * from './AttachmentIcon';
1313
export * from './SparklesIcon';
1414
export * from './VolumeIcon';
1515
export * from './SquareStopIcon';
16+
export * from './ChevronDownIcon';
1617
//# sourceMappingURL=index.d.ts.map

dist/components/icons/index.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/components/inputs/textInput/components/TextInput.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ type TextInputProps = {
2323
fullFileUploadAllowedTypes?: string;
2424
enableInputHistory?: boolean;
2525
maxHistorySize?: number;
26+
isLoading?: boolean;
27+
showAbortButton?: boolean;
28+
isMessageStopping?: boolean;
29+
onAbort?: () => void;
2630
};
2731
export declare const TextInput: (props: TextInputProps) => import("solid-js").JSX.Element;
2832
export {};

dist/components/inputs/textInput/components/TextInput.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/queries/sendMessageQuery.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,13 @@ export declare const abortTTSQuery: ({ apiHost, body, onRequest }: AbortTTSReque
106106
data?: any;
107107
error?: Error | undefined;
108108
}>;
109+
export type AbortMessageRequest = BaseRequest & {
110+
chatflowid: string;
111+
chatId: string;
112+
};
113+
export declare const abortMessageQuery: ({ chatflowid, apiHost, chatId, onRequest }: AbortMessageRequest) => Promise<{
114+
data?: any;
115+
error?: Error | undefined;
116+
}>;
109117
export {};
110118
//# sourceMappingURL=sendMessageQuery.d.ts.map

0 commit comments

Comments
 (0)