impact-chatbot 2.3.47 → 2.3.49
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/tabular-content/index.d.ts +4 -1
- package/dist/index.cjs.css +116 -0
- package/dist/index.cjs.js +341 -64
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.css +116 -0
- package/dist/index.esm.js +341 -64
- package/dist/index.esm.js.map +1 -1
- package/dist/tabNotification.d.ts +19 -0
- package/dist/utlis.d.ts +11 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tab Notification Utility
|
|
3
|
+
* Shows a red badge on the browser tab favicon and updates the document title
|
|
4
|
+
* when new step_form chunks arrive while the user is on a different tab.
|
|
5
|
+
* Similar to Facebook's unread message count badge.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Increment the tab notification count.
|
|
9
|
+
* Only shows badge when the tab is not visible (user is on another tab).
|
|
10
|
+
*/
|
|
11
|
+
export declare function showTabNotification(): void;
|
|
12
|
+
/**
|
|
13
|
+
* Clear all tab notifications — restore original title and favicon.
|
|
14
|
+
*/
|
|
15
|
+
export declare function clearTabNotification(): void;
|
|
16
|
+
/**
|
|
17
|
+
* Get the current notification count.
|
|
18
|
+
*/
|
|
19
|
+
export declare function getTabNotificationCount(): number;
|
package/dist/utlis.d.ts
CHANGED
|
@@ -50,4 +50,15 @@ export declare const generateConversationObject: (conversationId: any) => {
|
|
|
50
50
|
timestamp: string;
|
|
51
51
|
messages: any[];
|
|
52
52
|
};
|
|
53
|
+
/**
|
|
54
|
+
* Extracts userExplicitInput and textWithColumnNames from a saved filter set.
|
|
55
|
+
* @param {object} selectedFilterSet - The selected saved filter set object
|
|
56
|
+
* @param {string} userText - The user's input text (used to build textWithColumnNames)
|
|
57
|
+
* @param {object} existingExplicitInput - Optional existing userExplicitInput to merge with (e.g. from @ mentions)
|
|
58
|
+
* @returns {{ userExplicitInput: object, textWithColumnNames: string }}
|
|
59
|
+
*/
|
|
60
|
+
export declare const extractSavedFilterData: (selectedFilterSet: any, userText?: string, existingExplicitInput?: {}) => {
|
|
61
|
+
userExplicitInput: {};
|
|
62
|
+
textWithColumnNames: string;
|
|
63
|
+
};
|
|
53
64
|
export {};
|