dp-widgets-framework 1.4.6 → 1.4.7
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/index.esm.js +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -39179,6 +39179,7 @@ function CopilotKitChatbot({ widget, showHeader, styles, onResetReady, widgetIds
|
|
|
39179
39179
|
console.log('on reset ready=>');
|
|
39180
39180
|
const wrappedReset = () => {
|
|
39181
39181
|
reset();
|
|
39182
|
+
setChatMessages([]);
|
|
39182
39183
|
window.dispatchEvent(new CustomEvent('clearChartState', { detail: { widgetId: widget.id } }));
|
|
39183
39184
|
};
|
|
39184
39185
|
onResetReady(widget.id, wrappedReset);
|
package/dist/index.js
CHANGED
|
@@ -39206,6 +39206,7 @@ function CopilotKitChatbot({ widget, showHeader, styles, onResetReady, widgetIds
|
|
|
39206
39206
|
console.log('on reset ready=>');
|
|
39207
39207
|
const wrappedReset = () => {
|
|
39208
39208
|
reset();
|
|
39209
|
+
setChatMessages([]);
|
|
39209
39210
|
window.dispatchEvent(new CustomEvent('clearChartState', { detail: { widgetId: widget.id } }));
|
|
39210
39211
|
};
|
|
39211
39212
|
onResetReady(widget.id, wrappedReset);
|