impact-chatbot 2.3.82 → 2.3.84
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/components/message-template/components/message-content/StepFormContent.d.ts +5 -1
- package/dist/components/message-template/components/message-content/tabular-content/index.d.ts +4 -1
- package/dist/components/message-template/components/message-types/streamed-content/StreamedContent.d.ts +2 -1
- package/dist/components/message-template/components/message-types/streamed-content/steps-response-tab/components/Steps.d.ts +4 -1
- package/dist/index.cjs.js +250 -103
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +250 -103
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,12 +7,16 @@
|
|
|
7
7
|
* @param {Array} props.formData - Array of raw widget_data items from step_form chunk
|
|
8
8
|
* @param {number} props.messageIndex - Index for form state persistence keys
|
|
9
9
|
*/
|
|
10
|
-
declare const StepFormContent: ({ formData, messageIndex, isFormDisabled, showSavedFilters, preSelectedFilters }: {
|
|
10
|
+
declare const StepFormContent: ({ formData, messageIndex, isFormDisabled, showSavedFilters, preSelectedFilters, botProps, currentMode, agentId, sessionId, }: {
|
|
11
11
|
formData: any;
|
|
12
12
|
messageIndex?: number;
|
|
13
13
|
isFormDisabled?: boolean;
|
|
14
14
|
showSavedFilters?: boolean;
|
|
15
15
|
preSelectedFilters?: any;
|
|
16
|
+
botProps?: any;
|
|
17
|
+
currentMode?: string;
|
|
18
|
+
agentId?: string;
|
|
19
|
+
sessionId?: string;
|
|
16
20
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
17
21
|
/** Reset the timeout flag (call when a new conversation/message starts) */
|
|
18
22
|
export declare const resetStepFormTimeoutFlag: () => void;
|
package/dist/components/message-template/components/message-content/tabular-content/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const TabularContent: ({ steps: initialSteps, currentTabValue, children, questions: initialQuestions, questionsStepsMap: initialQuestionsStepsMap, stepFormDataMap: initialStepFormDataMap, isFormDisabled, sessionId: propSessionId }: {
|
|
1
|
+
declare const TabularContent: ({ steps: initialSteps, currentTabValue, children, questions: initialQuestions, questionsStepsMap: initialQuestionsStepsMap, stepFormDataMap: initialStepFormDataMap, isFormDisabled, sessionId: propSessionId, botProps, currentMode, agentId }: {
|
|
2
2
|
steps: any;
|
|
3
3
|
currentTabValue: any;
|
|
4
4
|
children: any;
|
|
@@ -7,6 +7,9 @@ declare const TabularContent: ({ steps: initialSteps, currentTabValue, children,
|
|
|
7
7
|
stepFormDataMap?: {};
|
|
8
8
|
isFormDisabled?: boolean;
|
|
9
9
|
sessionId?: string;
|
|
10
|
+
botProps?: any;
|
|
11
|
+
currentMode?: string;
|
|
12
|
+
agentId?: string;
|
|
10
13
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
14
|
/** Reset the active instance tracker (call when a new conversation starts from the input field) */
|
|
12
15
|
export declare const resetActiveTabularInstance: () => void;
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
* @param {React.RefObject} botData.utilityObject.chatBodyRef - Ref to chat body element
|
|
11
11
|
* @param {Function} botData.utilityObject.setChatDataState - Function to update chat data state
|
|
12
12
|
*/
|
|
13
|
-
declare const StreamedContent: ({ botData }: {
|
|
13
|
+
declare const StreamedContent: ({ botData, botProps }: {
|
|
14
14
|
botData: any;
|
|
15
|
+
botProps: any;
|
|
15
16
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
16
17
|
export default StreamedContent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const Steps: ({ steps, setSteps, done, setTabValue, setDone, finalStepDone, setFinalStepDone, stepChange, currentMode, questions, questionsStepsMap, stepFormDataMap, isFormDisabled, }: {
|
|
1
|
+
declare const Steps: ({ steps, setSteps, done, setTabValue, setDone, finalStepDone, setFinalStepDone, stepChange, currentMode, questions, questionsStepsMap, stepFormDataMap, isFormDisabled, botProps, agentId, sessionId, }: {
|
|
2
2
|
steps: any;
|
|
3
3
|
setSteps: any;
|
|
4
4
|
done: any;
|
|
@@ -12,5 +12,8 @@ declare const Steps: ({ steps, setSteps, done, setTabValue, setDone, finalStepDo
|
|
|
12
12
|
questionsStepsMap?: {};
|
|
13
13
|
stepFormDataMap?: {};
|
|
14
14
|
isFormDisabled?: boolean;
|
|
15
|
+
botProps?: any;
|
|
16
|
+
agentId?: string;
|
|
17
|
+
sessionId?: string;
|
|
15
18
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
16
19
|
export default Steps;
|