@envive-ai/react-hooks 0.3.47 → 0.3.48
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/application/utils/elementObserver.d.cts +2 -2
- package/dist/atoms/app/index.d.cts +6 -6
- package/dist/atoms/app/index.d.ts +7 -7
- package/dist/atoms/app/variant.d.ts +6 -6
- package/dist/atoms/chat/chatState.d.cts +19 -19
- package/dist/atoms/chat/chatState.d.ts +19 -19
- package/dist/atoms/chat/form.d.cts +2 -2
- package/dist/atoms/chat/form.d.ts +3 -3
- package/dist/atoms/chat/index.d.cts +2 -2
- package/dist/atoms/chat/index.d.ts +2 -2
- package/dist/atoms/chat/lastMessage.d.cts +2 -2
- package/dist/atoms/chat/lastMessage.d.ts +2 -2
- package/dist/atoms/chat/messageQueue.d.cts +6 -6
- package/dist/atoms/chat/messageQueue.d.ts +7 -7
- package/dist/atoms/chat/performanceMetrics.d.cts +6 -6
- package/dist/atoms/chat/performanceMetrics.d.ts +6 -6
- package/dist/atoms/chat/renderedWidgetRefs.d.cts +2 -2
- package/dist/atoms/chat/renderedWidgetRefs.d.ts +3 -3
- package/dist/atoms/chat/replies.d.cts +3 -3
- package/dist/atoms/chat/replies.d.ts +3 -3
- package/dist/atoms/chat/suggestions.d.cts +2 -2
- package/dist/atoms/chat/suggestions.d.ts +3 -3
- package/dist/atoms/envive/enviveConfig.d.cts +14 -14
- package/dist/atoms/globalSearch/globalSearch.d.cts +5 -5
- package/dist/atoms/globalSearch/globalSearch.d.ts +5 -5
- package/dist/atoms/org/customerService.d.cts +6 -6
- package/dist/atoms/org/customerService.d.ts +6 -6
- package/dist/atoms/org/graphqlConfig.d.cts +4 -4
- package/dist/atoms/org/graphqlConfig.d.ts +4 -4
- package/dist/atoms/org/newOrgConfigAtom.d.cts +2 -2
- package/dist/atoms/org/newOrgConfigAtom.d.ts +2 -2
- package/dist/atoms/org/orgAnalyticsConfig.d.cts +4 -4
- package/dist/atoms/search/chatSearch.d.cts +17 -17
- package/dist/atoms/search/searchAPI.d.cts +13 -13
- package/dist/atoms/search/types.d.ts +1 -1
- package/dist/atoms/widget/chatPreviewLoading.d.cts +2 -2
- package/dist/atoms/widget/chatPreviewLoading.d.ts +2 -2
- package/dist/contexts/types.d.cts +1 -1
- package/dist/contexts/types.d.ts +1 -1
- package/dist/contexts/typesV3.d.cts +1 -1
- package/dist/contexts/typesV3.d.ts +1 -1
- package/dist/hooks/GrabAndScroll/useGrabAndScroll.d.cts +2 -2
- package/dist/hooks/SystemSettingsContext/useSystemSettingsContext.d.cts +2 -2
- package/dist/hooks/utils.d.cts +1 -1
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Message } from "../../application/models/message.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai0 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/replies.d.ts
|
|
5
5
|
type HandleReplyParams = {
|
|
6
6
|
message: Message;
|
|
7
7
|
userTyped: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare const handleReplyAtom:
|
|
9
|
+
declare const handleReplyAtom: jotai0.WritableAtom<null, [HandleReplyParams], void> & {
|
|
10
10
|
init: null;
|
|
11
11
|
};
|
|
12
12
|
//#endregion
|
|
13
13
|
export { handleReplyAtom };
|
|
14
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
14
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwbGllcy5kLmN0cyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYXRvbXMvY2hhdC9yZXBsaWVzLmQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTWVzc2FnZSB9IGZyb20gJ3NyYy9hcHBsaWNhdGlvbi9tb2RlbHMnO1xudHlwZSBIYW5kbGVSZXBseVBhcmFtcyA9IHtcbiAgICBtZXNzYWdlOiBNZXNzYWdlO1xuICAgIHVzZXJUeXBlZDogYm9vbGVhbjtcbn07XG5leHBvcnQgZGVjbGFyZSBjb25zdCBoYW5kbGVSZXBseUF0b206IGltcG9ydChcImpvdGFpXCIpLldyaXRhYmxlQXRvbTxudWxsLCBbSGFuZGxlUmVwbHlQYXJhbXNdLCB2b2lkPiAmIHtcbiAgICBpbml0OiBudWxsO1xufTtcbmV4cG9ydCB7fTtcbiJdLCJtYXBwaW5ncyI6Ijs7OztBQUVBLElBQUksb0JBQWdCLENBQUEsVUFBQSxRQUFBO0FBQ3BCLElBQVcsa0JBQVc7Q0FBQTtPQUFBO09BQUEsT0FBQTtDQUFBIn0=
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Message } from "../../application/models/message.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai17 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/replies.d.ts
|
|
5
5
|
type HandleReplyParams = {
|
|
6
6
|
message: Message;
|
|
7
7
|
userTyped: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare const handleReplyAtom:
|
|
9
|
+
declare const handleReplyAtom: jotai17.WritableAtom<null, [HandleReplyParams], void> & {
|
|
10
10
|
init: null;
|
|
11
11
|
};
|
|
12
12
|
//#endregion
|
|
13
13
|
export { handleReplyAtom };
|
|
14
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwbGllcy5kLnRzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hdG9tcy9jaGF0L3JlcGxpZXMuZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBNZXNzYWdlIH0gZnJvbSAnc3JjL2FwcGxpY2F0aW9uL21vZGVscyc7XG50eXBlIEhhbmRsZVJlcGx5UGFyYW1zID0ge1xuICAgIG1lc3NhZ2U6IE1lc3NhZ2U7XG4gICAgdXNlclR5cGVkOiBib29sZWFuO1xufTtcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IGhhbmRsZVJlcGx5QXRvbTogaW1wb3J0KFwiam90YWlcIikuV3JpdGFibGVBdG9tPG51bGwsIFtIYW5kbGVSZXBseVBhcmFtc10sIHZvaWQ+
|
|
14
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwbGllcy5kLnRzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hdG9tcy9jaGF0L3JlcGxpZXMuZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBNZXNzYWdlIH0gZnJvbSAnc3JjL2FwcGxpY2F0aW9uL21vZGVscyc7XG50eXBlIEhhbmRsZVJlcGx5UGFyYW1zID0ge1xuICAgIG1lc3NhZ2U6IE1lc3NhZ2U7XG4gICAgdXNlclR5cGVkOiBib29sZWFuO1xufTtcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IGhhbmRsZVJlcGx5QXRvbTogaW1wb3J0KFwiam90YWlcIikuV3JpdGFibGVBdG9tPG51bGwsIFtIYW5kbGVSZXBseVBhcmFtc10sIHZvaWQ+ICYge1xuICAgIGluaXQ6IG51bGw7XG59O1xuZXhwb3J0IHt9O1xuIl0sIm1hcHBpbmdzIjoiOzs7O0FBRUEsSUFBSSxvQkFBZ0IsQ0FBQSxVQUFBLFFBQUE7QUFDcEIsSUFBVyxrQkFBVztDQUFBO09BQUE7T0FBQSxRQUFBO0NBQUEifQ==
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Suggestion } from "../../application/models/api/suggestion.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai69 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/suggestions.d.ts
|
|
5
|
-
declare const handleSuggestionAtom:
|
|
5
|
+
declare const handleSuggestionAtom: jotai69.WritableAtom<null, [suggestion: Suggestion], void> & {
|
|
6
6
|
init: null;
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Suggestion } from "../../application/models/api/suggestion.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai109 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/suggestions.d.ts
|
|
5
|
-
declare const handleSuggestionAtom:
|
|
5
|
+
declare const handleSuggestionAtom: jotai109.WritableAtom<null, [suggestion: Suggestion], void> & {
|
|
6
6
|
init: null;
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
9
9
|
export { handleSuggestionAtom };
|
|
10
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
10
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VnZ2VzdGlvbnMuZC50cyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYXRvbXMvY2hhdC9zdWdnZXN0aW9ucy5kLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFN1Z2dlc3Rpb24gfSBmcm9tICdzcmMvYXBwbGljYXRpb24vbW9kZWxzJztcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IGhhbmRsZVN1Z2dlc3Rpb25BdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5Xcml0YWJsZUF0b208bnVsbCwgW3N1Z2dlc3Rpb246IFN1Z2dlc3Rpb25dLCB2b2lkPiAmIHtcbiAgICBpbml0OiBudWxsO1xufTtcbiJdLCJtYXBwaW5ncyI6Ijs7OztBQUVBLElBQVcsdUJBQUc7Q0FBQTtPQUFBO09BQUEsU0FBQTtDQUFBIn0=
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { AddToCartCallback } from "../../types/enviveConfig.cjs";
|
|
2
2
|
import { EnviveConfig } from "../../contexts/types.cjs";
|
|
3
3
|
import { ContextSourceEnum } from "@spiffy-ai/commerce-api-client";
|
|
4
|
-
import * as
|
|
4
|
+
import * as jotai22 from "jotai";
|
|
5
5
|
|
|
6
6
|
//#region src/atoms/envive/enviveConfig.d.ts
|
|
7
|
-
declare const enviveConfigAtom:
|
|
8
|
-
declare const amplitudeApiKeyAtom:
|
|
9
|
-
declare const dataResidencyAtom:
|
|
10
|
-
declare const envAtom:
|
|
11
|
-
declare const baseUrlAtom:
|
|
12
|
-
declare const reactAppNameAtom:
|
|
13
|
-
declare const cdnUrlAtom:
|
|
14
|
-
declare const orgIdAtom:
|
|
15
|
-
declare const addToCartCallbackAtom:
|
|
16
|
-
declare const contextSourceAtom:
|
|
17
|
-
declare const orgLevelApiKeyAtom:
|
|
18
|
-
declare const orgShortNameAtom:
|
|
7
|
+
declare const enviveConfigAtom: jotai22.WritableAtom<EnviveConfig | undefined, [value: EnviveConfig], void>;
|
|
8
|
+
declare const amplitudeApiKeyAtom: jotai22.Atom<string | undefined>;
|
|
9
|
+
declare const dataResidencyAtom: jotai22.Atom<string | undefined>;
|
|
10
|
+
declare const envAtom: jotai22.Atom<string | undefined>;
|
|
11
|
+
declare const baseUrlAtom: jotai22.Atom<string>;
|
|
12
|
+
declare const reactAppNameAtom: jotai22.Atom<string | undefined>;
|
|
13
|
+
declare const cdnUrlAtom: jotai22.Atom<string | undefined>;
|
|
14
|
+
declare const orgIdAtom: jotai22.Atom<string | undefined>;
|
|
15
|
+
declare const addToCartCallbackAtom: jotai22.Atom<AddToCartCallback | undefined>;
|
|
16
|
+
declare const contextSourceAtom: jotai22.Atom<ContextSourceEnum>;
|
|
17
|
+
declare const orgLevelApiKeyAtom: jotai22.Atom<string | undefined>;
|
|
18
|
+
declare const orgShortNameAtom: jotai22.Atom<string | undefined>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { addToCartCallbackAtom, amplitudeApiKeyAtom, baseUrlAtom, cdnUrlAtom, contextSourceAtom, dataResidencyAtom, envAtom, enviveConfigAtom, orgIdAtom, orgLevelApiKeyAtom, orgShortNameAtom, reactAppNameAtom };
|
|
21
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW52aXZlQ29uZmlnLmQuY3RzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hdG9tcy9lbnZpdmUvZW52aXZlQ29uZmlnLmQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRW52aXZlQ29uZmlnIH0gZnJvbSAnc3JjL2NvbnRleHRzL3R5cGVzJztcbmltcG9ydCB7IENvbnRleHRTb3VyY2VFbnVtIH0gZnJvbSAnQHNwaWZmeS1haS9jb21tZXJjZS1hcGktY2xpZW50JztcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IGVudml2ZUNvbmZpZ0F0b206IGltcG9ydChcImpvdGFpXCIpLldyaXRhYmxlQXRvbTxFbnZpdmVDb25maWcgfCB1bmRlZmluZWQsIFt2YWx1ZTogRW52aXZlQ29uZmlnXSwgdm9pZD47XG5leHBvcnQgZGVjbGFyZSBjb25zdCBhbXBsaXR1ZGVBcGlLZXlBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5BdG9tPHN0cmluZyB8IHVuZGVmaW5lZD47XG5leHBvcnQgZGVjbGFyZSBjb25zdCBkYXRhUmVzaWRlbmN5QXRvbTogaW1wb3J0KFwiam90YWlcIikuQXRvbTxzdHJpbmcgfCB1bmRlZmluZWQ+O1xuZXhwb3J0IGRlY2xhcmUgY29uc3QgZW52QXRvbTogaW1wb3J0KFwiam90YWlcIikuQXRvbTxzdHJpbmcgfCB1bmRlZmluZWQ+O1xuZXhwb3J0IGRlY2xhcmUgY29uc3QgYmFzZVVybEF0b206IGltcG9ydChcImpvdGFpXCIpLkF0b208c3RyaW5nPjtcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IHJlYWN0QXBwTmFtZUF0b206IGltcG9ydChcImpvdGFpXCIpLkF0b208c3RyaW5nIHwgdW5kZWZpbmVkPjtcb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declare const autocompleteStateAtom: jotai90.PrimitiveAtom<{
|
|
5
5
|
results: string[];
|
|
6
6
|
isLoading: boolean;
|
|
7
7
|
}> & {
|
|
@@ -10,13 +10,13 @@ declare const autocompleteStateAtom: jotai76.PrimitiveAtom<{
|
|
|
10
10
|
isLoading: boolean;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
declare const isFilterOpenAtom:
|
|
13
|
+
declare const isFilterOpenAtom: jotai90.PrimitiveAtom<boolean> & {
|
|
14
14
|
init: boolean;
|
|
15
15
|
};
|
|
16
|
-
declare const isGlobalSearchOpenAtom:
|
|
16
|
+
declare const isGlobalSearchOpenAtom: jotai90.PrimitiveAtom<boolean> & {
|
|
17
17
|
init: boolean;
|
|
18
18
|
};
|
|
19
|
-
declare const isSearchResultsOpenAtom:
|
|
19
|
+
declare const isSearchResultsOpenAtom: jotai90.PrimitiveAtom<boolean> & {
|
|
20
20
|
init: boolean;
|
|
21
21
|
};
|
|
22
22
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as jotai36 from "jotai";
|
|
2
2
|
|
|
3
3
|
//#region src/atoms/globalSearch/globalSearch.d.ts
|
|
4
|
-
declare const autocompleteStateAtom:
|
|
4
|
+
declare const autocompleteStateAtom: jotai36.PrimitiveAtom<{
|
|
5
5
|
results: string[];
|
|
6
6
|
isLoading: boolean;
|
|
7
7
|
}> & {
|
|
@@ -10,13 +10,13 @@ declare const autocompleteStateAtom: jotai43.PrimitiveAtom<{
|
|
|
10
10
|
isLoading: boolean;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
declare const isFilterOpenAtom:
|
|
13
|
+
declare const isFilterOpenAtom: jotai36.PrimitiveAtom<boolean> & {
|
|
14
14
|
init: boolean;
|
|
15
15
|
};
|
|
16
|
-
declare const isGlobalSearchOpenAtom:
|
|
16
|
+
declare const isGlobalSearchOpenAtom: jotai36.PrimitiveAtom<boolean> & {
|
|
17
17
|
init: boolean;
|
|
18
18
|
};
|
|
19
|
-
declare const isSearchResultsOpenAtom:
|
|
19
|
+
declare const isSearchResultsOpenAtom: jotai36.PrimitiveAtom<boolean> & {
|
|
20
20
|
init: boolean;
|
|
21
21
|
};
|
|
22
22
|
//#endregion
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { ChatState } from "../../types/custservice-types.cjs";
|
|
2
2
|
import { AttachmentRequest, CustServiceConversationMessages } from "@spiffy-ai/commerce-api-client";
|
|
3
|
-
import * as
|
|
3
|
+
import * as jotai79 from "jotai";
|
|
4
4
|
|
|
5
5
|
//#region src/atoms/org/customerService.d.ts
|
|
6
|
-
declare const isBusinessHoursAtom:
|
|
6
|
+
declare const isBusinessHoursAtom: jotai79.PrimitiveAtom<boolean> & {
|
|
7
7
|
init: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare const isCustomerServiceOpenAtom:
|
|
9
|
+
declare const isCustomerServiceOpenAtom: jotai79.PrimitiveAtom<boolean> & {
|
|
10
10
|
init: boolean;
|
|
11
11
|
};
|
|
12
|
-
declare const customerServiceResponseAtom:
|
|
12
|
+
declare const customerServiceResponseAtom: jotai79.PrimitiveAtom<CustServiceConversationMessages | undefined> & {
|
|
13
13
|
init: CustServiceConversationMessages | undefined;
|
|
14
14
|
};
|
|
15
|
-
declare const customerServiceChatStateAtom:
|
|
15
|
+
declare const customerServiceChatStateAtom: jotai79.PrimitiveAtom<ChatState | undefined> & {
|
|
16
16
|
init: ChatState | undefined;
|
|
17
17
|
};
|
|
18
|
-
declare const customerServiceAttachment:
|
|
18
|
+
declare const customerServiceAttachment: jotai79.PrimitiveAtom<AttachmentRequest | undefined> & {
|
|
19
19
|
init: AttachmentRequest | undefined;
|
|
20
20
|
};
|
|
21
21
|
//#endregion
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { ChatState } from "../../types/custservice-types.js";
|
|
2
2
|
import { AttachmentRequest, CustServiceConversationMessages } from "@spiffy-ai/commerce-api-client";
|
|
3
|
-
import * as
|
|
3
|
+
import * as jotai40 from "jotai";
|
|
4
4
|
|
|
5
5
|
//#region src/atoms/org/customerService.d.ts
|
|
6
|
-
declare const isBusinessHoursAtom:
|
|
6
|
+
declare const isBusinessHoursAtom: jotai40.PrimitiveAtom<boolean> & {
|
|
7
7
|
init: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare const isCustomerServiceOpenAtom:
|
|
9
|
+
declare const isCustomerServiceOpenAtom: jotai40.PrimitiveAtom<boolean> & {
|
|
10
10
|
init: boolean;
|
|
11
11
|
};
|
|
12
|
-
declare const customerServiceResponseAtom:
|
|
12
|
+
declare const customerServiceResponseAtom: jotai40.PrimitiveAtom<CustServiceConversationMessages | undefined> & {
|
|
13
13
|
init: CustServiceConversationMessages | undefined;
|
|
14
14
|
};
|
|
15
|
-
declare const customerServiceChatStateAtom:
|
|
15
|
+
declare const customerServiceChatStateAtom: jotai40.PrimitiveAtom<ChatState | undefined> & {
|
|
16
16
|
init: ChatState | undefined;
|
|
17
17
|
};
|
|
18
|
-
declare const customerServiceAttachment:
|
|
18
|
+
declare const customerServiceAttachment: jotai40.PrimitiveAtom<AttachmentRequest | undefined> & {
|
|
19
19
|
init: AttachmentRequest | undefined;
|
|
20
20
|
};
|
|
21
21
|
//#endregion
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ColorMapping } from "../../application/models/colorsConfig.cjs";
|
|
2
2
|
import { FrontendConfig } from "../../application/models/frontendConfig.cjs";
|
|
3
3
|
import { FeatureFlagContextType } from "../../contexts/featureFlagServiceContext/featureFlagServiceContext.cjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as jotai84 from "jotai";
|
|
5
5
|
|
|
6
6
|
//#region src/atoms/org/graphqlConfig.d.ts
|
|
7
|
-
declare const internalGraphQLColorsConfigAtom:
|
|
7
|
+
declare const internalGraphQLColorsConfigAtom: jotai84.PrimitiveAtom<ColorMapping | undefined> & {
|
|
8
8
|
init: ColorMapping | undefined;
|
|
9
9
|
};
|
|
10
|
-
declare const featureFlagServiceAtom:
|
|
10
|
+
declare const featureFlagServiceAtom: jotai84.PrimitiveAtom<FeatureFlagContextType | undefined> & {
|
|
11
11
|
init: FeatureFlagContextType | undefined;
|
|
12
12
|
};
|
|
13
|
-
declare const frontendConfigAtom:
|
|
13
|
+
declare const frontendConfigAtom: jotai84.WritableAtom<FrontendConfig | undefined, [value: FrontendConfig | undefined], void>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { featureFlagServiceAtom, frontendConfigAtom, internalGraphQLColorsConfigAtom };
|
|
16
16
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhcGhxbENvbmZpZy5kLmN0cyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYXRvbXMvb3JnL2dyYXBocWxDb25maWcuZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb2xvck1hcHBpbmcgfSBmcm9tICdzcmMvYXBwbGljYXRpb24vbW9kZWxzL2NvbG9yc0NvbmZpZyc7XG5pbXBvcnQgeyBGcm9udGVuZENvbmZpZyB9IGZyb20gJ3NyYy9hcHBsaWNhdGlvbi9tb2RlbHMvZnJvbnRlbmRDb25maWcnO1xuaW1wb3J0IHR5cGUgeyBGZWF0dXJlRmxhZ0NvbnRleHRUeXBlIH0gZnJvbSAnc3JjL2NvbnRleHRzL2ZlYXR1cmVGbGFnU2VydmljZUNvbnRleHQvZmVhdHVyZUZsYWdTZXJ2aWNlQ29udGV4dCc7XG5leHBvcnQgZGVjbGFyZSBjb25zdCBpbnRlcm5hbEdyYXBoUUxDb2xvcnNDb25maWdBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5QcmltaXRpdmVBdG9tPENvbG9yTWFwcGluZyB8IHVuZGVmaW5lZD4gJiB7XG4gICAgaW5pdDogQ29sb3JNYXBwaW5nIHwgdW5kZWZpbmVkO1xufTtcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IGZlYXR1cmVGbGFnU2VydmljZUF0b206IGltcG9ydChcImpvdGFpXCIpLlByaW1pdGl2ZUF0b208RmVhdHVyZUZsYWdDb250ZXh0VHlwZSB8IHVuZGVmaW5lZD4gJiB7XG4gICAgaW5pdDogRmVhdHVyZUZsYWdDb250ZXh0VHlwZSB8IHVuZGVmaW5lZDtcbn07XG5leHBvcnQgZGVjbGFyZSBjb25zdCBmcm9udGVuZENvbmZpZ0F0b206IGltcG9ydChcImpvdGFpXCIpLldyaXRhYmxlQXRvbTxGcm9udGVuZENvbmZpZyB8IHVuZGVmaW5lZCwgW3ZhbHVlOiBGcm9udGVuZENvbmZpZyB8IHVuZGVmaW5lZF0sIHZvaWQ+O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFJQSxJQUFXLGtDQUF1QjtDQUFBO09BQUE7T0FBQSxRQUFBO09BQUE7Q0FBQTtBQUNsQyxJQUFDLHlCQUFBO0NBQUE7T0FBQTtPQUFBLFFBQUE7T0FBQTtDQUFBO0FBQ0QsSUFBVyxxQkFBcUI7Q0FBQztPQUFXO09BQXNCO09BQXNCLFFBQVE7Q0FBYSJ9
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ColorMapping } from "../../application/models/colorsConfig.js";
|
|
2
2
|
import { FrontendConfig } from "../../application/models/frontendConfig.js";
|
|
3
3
|
import { FeatureFlagContextType } from "../../contexts/featureFlagServiceContext/featureFlagServiceContext.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as jotai45 from "jotai";
|
|
5
5
|
|
|
6
6
|
//#region src/atoms/org/graphqlConfig.d.ts
|
|
7
|
-
declare const internalGraphQLColorsConfigAtom:
|
|
7
|
+
declare const internalGraphQLColorsConfigAtom: jotai45.PrimitiveAtom<ColorMapping | undefined> & {
|
|
8
8
|
init: ColorMapping | undefined;
|
|
9
9
|
};
|
|
10
|
-
declare const featureFlagServiceAtom:
|
|
10
|
+
declare const featureFlagServiceAtom: jotai45.PrimitiveAtom<FeatureFlagContextType | undefined> & {
|
|
11
11
|
init: FeatureFlagContextType | undefined;
|
|
12
12
|
};
|
|
13
|
-
declare const frontendConfigAtom:
|
|
13
|
+
declare const frontendConfigAtom: jotai45.WritableAtom<FrontendConfig | undefined, [value: FrontendConfig | undefined], void>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { featureFlagServiceAtom, frontendConfigAtom, internalGraphQLColorsConfigAtom };
|
|
16
16
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhcGhxbENvbmZpZy5kLnRzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hdG9tcy9vcmcvZ3JhcGhxbENvbmZpZy5kLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbG9yTWFwcGluZyB9IGZyb20gJ3NyYy9hcHBsaWNhdGlvbi9tb2RlbHMvY29sb3JzQ29uZmlnJztcbmltcG9ydCB7IEZyb250ZW5kQ29uZmlnIH0gZnJvbSAnc3JjL2FwcGxpY2F0aW9uL21vZGVscy9mcm9udGVuZENvbmZpZyc7XG5pbXBvcnQgdHlwZSB7IEZlYXR1cmVGbGFnQ29udGV4dFR5cGUgfSBmcm9tICdzcmMvY29udGV4dHMvZmVhdHVyZUZsYWdTZXJ2aWNlQ29udGV4dC9mZWF0dXJlRmxhZ1NlcnZpY2VDb250ZXh0JztcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IGludGVybmFsR3JhcGhRTENvbG9yc0NvbmZpZ0F0b206IGltcG9ydChcImpvdGFpXCIpLlByaW1pdGl2ZUF0b208Q29sb3JNYXBwaW5nIHwgdW5kZWZpbmVkPiAmIHtcbiAgICBpbml0OiBDb2xvck1hcHBpbmcgfCB1bmRlZmluZWQ7XG59O1xuZXhwb3J0IGRlY2xhcmUgY29uc3QgZmVhdHVyZUZsYWdTZXJ2aWNlQXRvbTogaW1wb3J0KFwiam90YWlcIikuUHJpbWl0aXZlQXRvbTxGZWF0dXJlRmxhZ0NvbnRleHRUeXBlIHwgdW5kZWZpbmVkPiAmIHtcbiAgICBpbml0OiBGZWF0dXJlRmxhZ0NvbnRleHRUeXBlIHwgdW5kZWZpbmVkO1xufTtcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IGZyb250ZW5kQ29uZmlnQXRvbTogaW1wb3J0KFwiam90YWlcIikuV3JpdGFibGVBdG9tPEZyb250ZW5kQ29uZmlnIHwgdW5kZWZpbmVkLCBbdmFsdWU6IEZyb250ZW5kQ29uZmlnIHwgdW5kZWZpbmVkXSwgdm9pZD47XG4iXSwibWFwcGluZ3MiOiI7Ozs7OztBQUlBLElBQVcsa0NBQXVCO0NBQUE7T0FBQTtPQUFBLFFBQUE7T0FBQTtDQUFBO0FBQ2xDLElBQUMseUJBQUE7Q0FBQTtPQUFBO09BQUEsUUFBQTtPQUFBO0NBQUE7QUFDRCxJQUFXLHFCQUFxQjtDQUFDO09BQVc7T0FBc0I7T0FBc0IsUUFBUTtDQUFhIn0=
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { GraphQlConfigValues } from "../../contexts/graphqlContext/graphqlContext.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai78 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/org/newOrgConfigAtom.d.ts
|
|
5
|
-
declare const newOrgConfigAtom:
|
|
5
|
+
declare const newOrgConfigAtom: jotai78.PrimitiveAtom<GraphQlConfigValues | null> & {
|
|
6
6
|
init: GraphQlConfigValues | null;
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { GraphQlConfigValues } from "../../contexts/graphqlContext/graphqlContext.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai51 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/org/newOrgConfigAtom.d.ts
|
|
5
|
-
declare const newOrgConfigAtom:
|
|
5
|
+
declare const newOrgConfigAtom: jotai51.PrimitiveAtom<GraphQlConfigValues | null> & {
|
|
6
6
|
init: GraphQlConfigValues | null;
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { OrgAnalyticsAmplitudeConfig, OrgAnalyticsConfig, OrgAnalyticsCustomerServiceConfig } from "../../application/models/api/orgAnalyticsConfig.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai87 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/org/orgAnalyticsConfig.d.ts
|
|
5
|
-
declare const orgAnalyticsConfigAtom:
|
|
6
|
-
declare const orgAnalyticsAmplitudeConfigAtom:
|
|
7
|
-
declare const orgAnalyticsCustomerServiceConfigAtom:
|
|
5
|
+
declare const orgAnalyticsConfigAtom: jotai87.WritableAtom<OrgAnalyticsConfig | undefined, [value: OrgAnalyticsConfig], void>;
|
|
6
|
+
declare const orgAnalyticsAmplitudeConfigAtom: jotai87.Atom<OrgAnalyticsAmplitudeConfig | undefined>;
|
|
7
|
+
declare const orgAnalyticsCustomerServiceConfigAtom: jotai87.Atom<OrgAnalyticsCustomerServiceConfig | undefined>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { orgAnalyticsAmplitudeConfigAtom, orgAnalyticsConfigAtom, orgAnalyticsCustomerServiceConfigAtom };
|
|
10
10
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JnQW5hbHl0aWNzQ29uZmlnLmQuY3RzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hdG9tcy9vcmcvb3JnQW5hbHl0aWNzQ29uZmlnLmQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgT3JnQW5hbHl0aWNzQW1wbGl0dWRlQ29uZmlnLCBPcmdBbmFseXRpY3NDb25maWcsIE9yZ0FuYWx5dGljc0N1c3RvbWVyU2VydmljZUNvbmZpZyB9IGZyb20gJ3NyYy9hcHBsaWNhdGlvbi9tb2RlbHMvYXBpL29yZ0FuYWx5dGljc0NvbmZpZyc7XG5leHBvcnQgZGVjbGFyZSBjb25zdCBvcmdBbmFseXRpY3NDb25maWdBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5Xcml0YWJsZUF0b208T3JnQW5hbHl0aWNzQ29uZmlnIHwgdW5kZWZpbmVkLCBbdmFsdWU6IE9yZ0FuYWx5dGljc0NvbmZpZ10sIHZvaWQ+O1xuZXhwb3J0IGRlY2xhcmUgY29uc3Qgb3JnQW5hbHl0aWNzQW1wbGl0dWRlQ29uZmlnQXRvbTogaW1wb3J0KFwiam90YWlcIikuQXRvbTxPcmdBbmFseXRpY3NBbXBsaXR1ZGVDb25maWcgfCB1bmRlZmluZWQ+O1xuZXhwb3J0IGRlY2xhcmUgY29uc3Qgb3JnQW5hbHl0aWNzQ3VzdG9tZXJTZXJ2aWNlQ29uZmlnQXRvbTogaW1wb3J0KFwiam90YWlcIikuQXRvbTxPcmdBbmFseXRpY3NDdXN0b21lclNlcnZpY2VDb25maWcgfCB1bmRlZmluZWQ+O1xuIl0sIm1hcHBpbmdzIjoiOzs7O0FBRUEsSUFBVyx5QkFBeUI7Q0FBQztPQUFXO09BQTBCO09BQTBCLFFBQVE7Q0FBTztBQUNuSCxJQUFXLGtDQUFrQztDQUFDO09BQVc7T0FBbUMsUUFBUTtDQUFLIn0=
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ProductResponseAttributes } from "../../application/models/api/response.cjs";
|
|
2
2
|
import { ChatSearchFilter, ChatSearchStateType, ProductSorting } from "./types.cjs";
|
|
3
3
|
import { Message } from "../../application/models/message.cjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as jotai48 from "jotai";
|
|
5
5
|
|
|
6
6
|
//#region src/atoms/search/chatSearch.d.ts
|
|
7
|
-
declare const chatSearchStateAtom:
|
|
7
|
+
declare const chatSearchStateAtom: jotai48.PrimitiveAtom<ChatSearchStateType> & {
|
|
8
8
|
init: ChatSearchStateType;
|
|
9
9
|
};
|
|
10
|
-
declare const chatSearchHasProductsAtom:
|
|
10
|
+
declare const chatSearchHasProductsAtom: jotai48.PrimitiveAtom<boolean> & {
|
|
11
11
|
init: boolean;
|
|
12
12
|
};
|
|
13
|
-
declare const chatSearchProductSortingAtom:
|
|
13
|
+
declare const chatSearchProductSortingAtom: jotai48.PrimitiveAtom<ProductSorting> & {
|
|
14
14
|
init: ProductSorting;
|
|
15
15
|
};
|
|
16
16
|
type ChatSearchTurn = {
|
|
@@ -21,7 +21,7 @@ type ChatSearchTurn = {
|
|
|
21
21
|
filterList: string[];
|
|
22
22
|
messages: Message[];
|
|
23
23
|
};
|
|
24
|
-
declare const chatSearchIsLoadingAtom:
|
|
24
|
+
declare const chatSearchIsLoadingAtom: jotai48.PrimitiveAtom<boolean> & {
|
|
25
25
|
init: boolean;
|
|
26
26
|
};
|
|
27
27
|
type SelectedChatSearchFilterOption = {
|
|
@@ -30,21 +30,21 @@ type SelectedChatSearchFilterOption = {
|
|
|
30
30
|
filterId: string;
|
|
31
31
|
filterItemId: string;
|
|
32
32
|
};
|
|
33
|
-
declare const selectedFilterOptionsAtom:
|
|
33
|
+
declare const selectedFilterOptionsAtom: jotai48.PrimitiveAtom<SelectedChatSearchFilterOption[]> & {
|
|
34
34
|
init: SelectedChatSearchFilterOption[];
|
|
35
35
|
};
|
|
36
|
-
declare const additiveDynamicFiltersAtom:
|
|
36
|
+
declare const additiveDynamicFiltersAtom: jotai48.Atom<boolean>;
|
|
37
37
|
declare const createChatSearchFilterOption: (filterId: string, filterItemId: string, displayName: string) => SelectedChatSearchFilterOption;
|
|
38
|
-
declare const chatSearchParamsAtom:
|
|
38
|
+
declare const chatSearchParamsAtom: jotai48.WritableAtom<{
|
|
39
39
|
id: string | null;
|
|
40
40
|
query: string | null;
|
|
41
41
|
}, [value: {
|
|
42
42
|
id: string | null;
|
|
43
43
|
query: string | null;
|
|
44
44
|
}], void>;
|
|
45
|
-
declare const chatSearchQueryAtom:
|
|
46
|
-
declare const chatSearchIdAtom:
|
|
47
|
-
declare const ChatSearchTurnAtom:
|
|
45
|
+
declare const chatSearchQueryAtom: jotai48.WritableAtom<string | null, [value: string | null], void>;
|
|
46
|
+
declare const chatSearchIdAtom: jotai48.WritableAtom<string | null, [value: string | null], void>;
|
|
47
|
+
declare const ChatSearchTurnAtom: jotai48.Atom<{
|
|
48
48
|
productList: {
|
|
49
49
|
averageRating?: number | undefined;
|
|
50
50
|
colors?: string[] | undefined;
|
|
@@ -74,7 +74,7 @@ declare const ChatSearchTurnAtom: jotai47.Atom<{
|
|
|
74
74
|
filterList: string[];
|
|
75
75
|
messages: Message[];
|
|
76
76
|
} | null>;
|
|
77
|
-
declare const chatSearchProducts:
|
|
77
|
+
declare const chatSearchProducts: jotai48.Atom<{
|
|
78
78
|
averageRating?: number | undefined;
|
|
79
79
|
colors?: string[] | undefined;
|
|
80
80
|
description?: string | undefined;
|
|
@@ -97,19 +97,19 @@ declare const chatSearchProducts: jotai47.Atom<{
|
|
|
97
97
|
title: string;
|
|
98
98
|
url: string;
|
|
99
99
|
}[]>;
|
|
100
|
-
declare const chatSearchFiltersAtom:
|
|
100
|
+
declare const chatSearchFiltersAtom: jotai48.Atom<ChatSearchFilter[]>;
|
|
101
101
|
declare const setSearchParams: (query: string) => void;
|
|
102
|
-
declare const getSearchParamsAtom:
|
|
102
|
+
declare const getSearchParamsAtom: jotai48.Atom<{
|
|
103
103
|
es: string | null;
|
|
104
104
|
esq: string | null;
|
|
105
105
|
}>;
|
|
106
|
-
declare const initiateChatSearchAtom:
|
|
106
|
+
declare const initiateChatSearchAtom: jotai48.WritableAtom<null, [query: string], void> & {
|
|
107
107
|
init: null;
|
|
108
108
|
};
|
|
109
|
-
declare const handleSearchResultsAtom:
|
|
109
|
+
declare const handleSearchResultsAtom: jotai48.WritableAtom<null, [message: Message | undefined], void> & {
|
|
110
110
|
init: null;
|
|
111
111
|
};
|
|
112
|
-
declare const setChatSearchParamsAtom:
|
|
112
|
+
declare const setChatSearchParamsAtom: jotai48.WritableAtom<null, [query: string], void> & {
|
|
113
113
|
init: null;
|
|
114
114
|
};
|
|
115
115
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChatSearchFilter, ProductSorting } from "./types.cjs";
|
|
2
2
|
import { SearchParams, SearchResult } from "../../application/models/api/search.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as jotai36 from "jotai";
|
|
4
4
|
|
|
5
5
|
//#region src/atoms/search/searchAPI.d.ts
|
|
6
6
|
type SelectedFilterOption = {
|
|
@@ -15,28 +15,28 @@ interface SearchState {
|
|
|
15
15
|
error: string | null;
|
|
16
16
|
lastQuery: string | null;
|
|
17
17
|
}
|
|
18
|
-
declare const searchAtom:
|
|
18
|
+
declare const searchAtom: jotai36.PrimitiveAtom<SearchState> & {
|
|
19
19
|
init: SearchState;
|
|
20
20
|
};
|
|
21
|
-
declare const searchProductSortingAtom:
|
|
21
|
+
declare const searchProductSortingAtom: jotai36.PrimitiveAtom<ProductSorting> & {
|
|
22
22
|
init: ProductSorting;
|
|
23
23
|
};
|
|
24
|
-
declare const searchSelectedFiltersAtom:
|
|
24
|
+
declare const searchSelectedFiltersAtom: jotai36.PrimitiveAtom<SelectedFilterOption[]> & {
|
|
25
25
|
init: SelectedFilterOption[];
|
|
26
26
|
};
|
|
27
27
|
declare const createFilterOption: (filterId: string, filterItemId: string, displayName: string) => SelectedFilterOption;
|
|
28
|
-
declare const searchParamsAtom:
|
|
28
|
+
declare const searchParamsAtom: jotai36.WritableAtom<{
|
|
29
29
|
id: string | null;
|
|
30
30
|
query: string | null;
|
|
31
31
|
}, [value: {
|
|
32
32
|
id: string | null;
|
|
33
33
|
query: string | null;
|
|
34
34
|
}], void>;
|
|
35
|
-
declare const internalSearchSystemStateAtom:
|
|
35
|
+
declare const internalSearchSystemStateAtom: jotai36.PrimitiveAtom<boolean> & {
|
|
36
36
|
init: boolean;
|
|
37
37
|
};
|
|
38
|
-
declare const searchSystemAtom:
|
|
39
|
-
declare const filteredSearchProductsAtom:
|
|
38
|
+
declare const searchSystemAtom: jotai36.WritableAtom<boolean, [value: boolean], void>;
|
|
39
|
+
declare const filteredSearchProductsAtom: jotai36.Atom<{
|
|
40
40
|
averageRating?: number | undefined;
|
|
41
41
|
colors?: string[] | undefined;
|
|
42
42
|
description?: string | undefined;
|
|
@@ -59,17 +59,17 @@ declare const filteredSearchProductsAtom: jotai35.Atom<{
|
|
|
59
59
|
title: string;
|
|
60
60
|
url: string;
|
|
61
61
|
}[]>;
|
|
62
|
-
declare const searchFiltersAtom:
|
|
63
|
-
declare const addSearchFilterAtom:
|
|
62
|
+
declare const searchFiltersAtom: jotai36.Atom<ChatSearchFilter[]>;
|
|
63
|
+
declare const addSearchFilterAtom: jotai36.WritableAtom<null, [filter: SelectedFilterOption], void> & {
|
|
64
64
|
init: null;
|
|
65
65
|
};
|
|
66
|
-
declare const removeSearchFilterAtom:
|
|
66
|
+
declare const removeSearchFilterAtom: jotai36.WritableAtom<null, [filterId: string], void> & {
|
|
67
67
|
init: null;
|
|
68
68
|
};
|
|
69
|
-
declare const clearSearchFiltersAtom:
|
|
69
|
+
declare const clearSearchFiltersAtom: jotai36.WritableAtom<null, [], void> & {
|
|
70
70
|
init: null;
|
|
71
71
|
};
|
|
72
|
-
declare const performSearchAtom:
|
|
72
|
+
declare const performSearchAtom: jotai36.WritableAtom<null, [params: SearchParams, allowRedirect?: unknown], Promise<void>> & {
|
|
73
73
|
init: null;
|
|
74
74
|
};
|
|
75
75
|
//#endregion
|
|
@@ -57,4 +57,4 @@ interface ProductRetrievalParams {
|
|
|
57
57
|
}
|
|
58
58
|
//#endregion
|
|
59
59
|
export { ChatSearchFilter, ChatSearchFilterItem, ChatSearchSortModalProps, ChatSearchSortOverrides, ChatSearchSortProps, ChatSearchStateType, ProductRetrievalParams, ProductRetrievalResult, ProductSorting, ProductSortingNames, SortOption };
|
|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aW50ZXJmYWNlIFByb2R1Y3RSZXRyaWV2YWxSZXN1bHQge1xuICAgIHByb2R1Y3RzOiBTZWFyY2hSZXNwb25zZVByb2R1Y3RBdHRyaWJ1dGVzWydhdHRyaWJ1dGVzJ11bXTtcbiAgICB0b3RhbFByb2R1Y3RDb3VudDogbnVtYmVyO1xufVxuZXhwb3J0IGludGVyZmFjZSBQcm9kdWN0UmV0cmlldmFsUGFyYW1zIHtcbiAgICBwcm9kdWN0SWRzOiBzdHJpbmdbXTtcbn1cbiJdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsSUFBVyxpQkFBaUIsQ0FBQyxHQUFHO0FBQ2hDLElBQVcsc0JBQWMsQ0FBQSxHQUFBO0FBQ3pCLElBQVcsc0JBQWdCLENBQUEsR0FBQTtBQUMzQixJQUFXLG1CQUFpQixDQUFBLFVBQUEscUJBQUE7QUFDNUIsSUFBQSx1QkFBQSxDQUFBLEdBQUE7QUFDQSxJQUFXLHNCQUFzQixDQUFDLFVBQVEsZUFBQTtBQUMxQyxJQUFXLDJCQUFTLENBQUEsVUFBQSxvQkFBQTtBQUNwQixJQUFXLGFBQVU7Q0FBQTtPQUFBO09BQUE7Q0FBQTtBQUNyQixJQUFXLDBCQUFXLENBQUEsR0FBQTtBQUN0QixJQUFDLHlCQUFBLENBQUEsVUFBQSxnQ0FBQTtBQUNELElBQVcseUJBQXlCLENBQUMsR0FBRyJ9
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as jotai35 from "jotai";
|
|
2
2
|
import { WidgetWrapperVariant } from "@envive-ai/react-toolkit-v3/WidgetWrapper";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/widget/chatPreviewLoading.d.ts
|
|
@@ -17,7 +17,7 @@ type ChatPreviewLoadingData = {
|
|
|
17
17
|
/**
|
|
18
18
|
* Atom to read ChatPreviewLoading data for a specific widgetConfigId.
|
|
19
19
|
*/
|
|
20
|
-
declare const chatPreviewLoadingDataAtom:
|
|
20
|
+
declare const chatPreviewLoadingDataAtom: jotai35.WritableAtom<Record<string, ChatPreviewLoadingData>, [update: {
|
|
21
21
|
widgetConfigId: string;
|
|
22
22
|
data: ChatPreviewLoadingData;
|
|
23
23
|
}], void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as jotai35 from "jotai";
|
|
2
2
|
import { WidgetWrapperVariant } from "@envive-ai/react-toolkit-v3/WidgetWrapper";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/widget/chatPreviewLoading.d.ts
|
|
@@ -17,7 +17,7 @@ type ChatPreviewLoadingData = {
|
|
|
17
17
|
/**
|
|
18
18
|
* Atom to read ChatPreviewLoading data for a specific widgetConfigId.
|
|
19
19
|
*/
|
|
20
|
-
declare const chatPreviewLoadingDataAtom:
|
|
20
|
+
declare const chatPreviewLoadingDataAtom: jotai35.WritableAtom<Record<string, ChatPreviewLoadingData>, [update: {
|
|
21
21
|
widgetConfigId: string;
|
|
22
22
|
data: ChatPreviewLoadingData;
|
|
23
23
|
}], void>;
|