@envive-ai/react-hooks 0.3.9 → 0.3.10
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/commerce-api.cjs +1 -1
- package/dist/application/commerce-api.js +1 -1
- package/dist/atoms/app/index.d.cts +7 -7
- package/dist/atoms/app/index.d.ts +1 -1
- package/dist/atoms/app/variant.d.cts +6 -6
- package/dist/atoms/chat/chatState.d.cts +17 -17
- package/dist/atoms/chat/chatState.d.ts +1 -1
- package/dist/atoms/chat/form.d.cts +2 -2
- package/dist/atoms/chat/form.d.ts +2 -2
- package/dist/atoms/chat/index.cjs +1 -1
- package/dist/atoms/chat/index.d.cts +3 -3
- package/dist/atoms/chat/index.js +1 -1
- 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/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 +2 -2
- package/dist/atoms/chat/replies.d.cts +3 -3
- package/dist/atoms/chat/replies.d.ts +1 -1
- package/dist/atoms/chat/suggestions.d.cts +2 -2
- package/dist/atoms/globalSearch/globalSearch.d.ts +5 -5
- 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/index.cjs +2 -2
- package/dist/atoms/org/index.js +2 -2
- 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 +5 -5
- package/dist/atoms/org/orgAnalyticsConfig.d.ts +5 -5
- package/dist/atoms/search/chatSearch.cjs +1 -1
- package/dist/atoms/search/chatSearch.d.cts +17 -17
- package/dist/atoms/search/chatSearch.d.ts +17 -17
- package/dist/atoms/search/chatSearch.js +1 -1
- package/dist/atoms/search/searchAPI.cjs +1 -1
- package/dist/atoms/search/searchAPI.d.cts +13 -13
- package/dist/atoms/search/searchAPI.d.ts +13 -13
- package/dist/atoms/search/searchAPI.js +1 -1
- package/dist/atoms/search/types.d.ts +1 -1
- package/dist/atoms/search/utils.d.cts +1 -1
- package/dist/atoms/search/utils.d.ts +1 -1
- package/dist/atoms/widget/chatPreviewLoading.d.cts +2 -2
- package/dist/contexts/enviveContext/enviveContext.cjs +1 -1
- package/dist/contexts/enviveContext/enviveContext.js +1 -1
- package/dist/contexts/enviveContext/types.d.cts +1 -1
- package/dist/contexts/enviveContext/types.d.ts +1 -1
- package/dist/contexts/newOrgConfigContext/newOrgConfigContext.cjs +1 -1
- package/dist/contexts/newOrgConfigContext/newOrgConfigContext.js +1 -1
- package/dist/contexts/salesAgentContext/chatAPI.cjs +1 -1
- package/dist/contexts/salesAgentContext/chatAPI.js +1 -1
- package/dist/contexts/salesAgentContext/salesAgentService.cjs +1 -1
- package/dist/contexts/salesAgentContext/salesAgentService.js +1 -1
- package/dist/contexts/searchContext/searchContext.cjs +1 -1
- package/dist/contexts/searchContext/searchContext.js +1 -1
- package/dist/contexts/systemSettingsContext/systemSettingsContext.d.cts +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/Search/useSearch.cjs +2 -2
- package/dist/hooks/Search/useSearch.js +2 -2
- package/dist/hooks/Search/useSearchInput.cjs +1 -1
- package/dist/hooks/Search/useSearchInput.js +1 -1
- package/dist/hooks/utils.d.cts +1 -1
- package/package.json +1 -1
|
@@ -15,9 +15,9 @@ const require_messageFromSuggestionEvent = require('./utils/messageFromSuggestio
|
|
|
15
15
|
const require_nextMessageRequestToApiRequest = require('./utils/nextMessageRequestToApiRequest.cjs');
|
|
16
16
|
const require_supportedEventRequestToApiRequest = require('./utils/supportedEventRequestToApiRequest.cjs');
|
|
17
17
|
require('./utils/index.cjs');
|
|
18
|
+
const require_graphqlConfig = require('../atoms/org/graphqlConfig.cjs');
|
|
18
19
|
const require_sessionExceptions = require('../types/exceptions/sessionExceptions.cjs');
|
|
19
20
|
const require_unsupportedProductExceptions = require('../types/exceptions/unsupportedProductExceptions.cjs');
|
|
20
|
-
const require_graphqlConfig = require('../atoms/org/graphqlConfig.cjs');
|
|
21
21
|
const require_widgetTextRequestToApiRequest = require('./utils/widgetTextRequestToApiRequest.cjs');
|
|
22
22
|
const require_widgetTextFromApiWidgetTextResponse = require('./utils/widgetTextFromApiWidgetTextResponse.cjs');
|
|
23
23
|
let __spiffy_ai_commerce_api_client = require("@spiffy-ai/commerce-api-client");
|
|
@@ -14,9 +14,9 @@ import { messageFromSuggestionEvent } from "./utils/messageFromSuggestionEvent.j
|
|
|
14
14
|
import { messageRequestToCommerceMessageRequest } from "./utils/nextMessageRequestToApiRequest.js";
|
|
15
15
|
import { coreSupportedEventRequestToApiRequest } from "./utils/supportedEventRequestToApiRequest.js";
|
|
16
16
|
import "./utils/index.js";
|
|
17
|
+
import { featureFlagServiceAtom } from "../atoms/org/graphqlConfig.js";
|
|
17
18
|
import { SessionRestartRequired } from "../types/exceptions/sessionExceptions.js";
|
|
18
19
|
import { UnsupportedProductException } from "../types/exceptions/unsupportedProductExceptions.js";
|
|
19
|
-
import { featureFlagServiceAtom } from "../atoms/org/graphqlConfig.js";
|
|
20
20
|
import { coreWidgetTextRequestToApiRequest } from "./utils/widgetTextRequestToApiRequest.js";
|
|
21
21
|
import { apiWidgetTextResponseToCoreWidgetText } from "./utils/widgetTextFromApiWidgetTextResponse.js";
|
|
22
22
|
import { Configuration, ContextEnvEnum, ContextSourceEnum, CustomerServiceApi, DefaultApi, FormType, InferenceApi, ResponseCategory, ResponseError, UserEventCategory, V1OrgConfigGetSourceEnum } from "@spiffy-ai/commerce-api-client";
|
|
@@ -2,7 +2,7 @@ import { VariantInfo } from "../../application/models/variantInfo/variantInfo.cj
|
|
|
2
2
|
import { UserIdentityContextType } from "../../contexts/userIdentityContext/userIdentityContext.cjs";
|
|
3
3
|
import { hasParsedVariantInfoAtom, pageUserEventAtom, pageVariantInfoAtom, supportedEventAtom, variantInfoAtom } from "./variant.cjs";
|
|
4
4
|
import { ContextEnvEnum, ContextSourceEnum } from "@spiffy-ai/commerce-api-client";
|
|
5
|
-
import * as
|
|
5
|
+
import * as jotai0 from "jotai";
|
|
6
6
|
import * as jotai_utils0 from "jotai/utils";
|
|
7
7
|
|
|
8
8
|
//#region src/atoms/app/index.d.ts
|
|
@@ -15,13 +15,13 @@ interface AppDetails {
|
|
|
15
15
|
env: ContextEnvEnum;
|
|
16
16
|
variantInfo: VariantInfo;
|
|
17
17
|
}
|
|
18
|
-
declare const userIdAtom:
|
|
19
|
-
declare const userIdentityAtom:
|
|
18
|
+
declare const userIdAtom: jotai0.WritableAtom<string, [value: string], void>;
|
|
19
|
+
declare const userIdentityAtom: jotai0.PrimitiveAtom<UserIdentityContextType | undefined> & {
|
|
20
20
|
init: UserIdentityContextType | undefined;
|
|
21
21
|
};
|
|
22
|
-
declare const appSourceAtom:
|
|
23
|
-
declare const chatIdAtom:
|
|
24
|
-
declare const appDetailsAtom:
|
|
22
|
+
declare const appSourceAtom: jotai0.Atom<ContextSourceEnum>;
|
|
23
|
+
declare const chatIdAtom: jotai0.WritableAtom<string, [string | typeof jotai_utils0.RESET | ((prev: string) => string | typeof jotai_utils0.RESET)], void>;
|
|
24
|
+
declare const appDetailsAtom: jotai0.Atom<AppDetails>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { AppDetails, appDetailsAtom, appSourceAtom, chatIdAtom, hasParsedVariantInfoAtom, pageUserEventAtom, pageVariantInfoAtom, supportedEventAtom, userIdAtom, userIdentityAtom, variantInfoAtom };
|
|
27
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguZC5jdHMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2F0b21zL2FwcC9pbmRleC5kLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbnRleHRFbnZFbnVtLCBDb250ZXh0U291cmNlRW51bSB9IGZyb20gJ0BzcGlmZnktYWkvY29tbWVyY2UtYXBpLWNsaWVudCc7XG5pbXBvcnQgeyBWYXJpYW50SW5mbyB9IGZyb20gJ3NyYy9hcHBsaWNhdGlvbi9tb2RlbHMnO1xuaW1wb3J0IHsgVXNlcklkZW50aXR5Q29udGV4dFR5cGUgfSBmcm9tICdzcmMvY29udGV4dHMvdXNlcklkZW50aXR5Q29udGV4dC91c2VySWRlbnRpdHlDb250ZXh0JztcbmV4cG9ydCBpbnRlcmZhY2UgQXBwRGV0YWlscyB7XG4gICAgb3JnSWQ6IHN0cmluZztcbiAgICBvcmdTaG9ydE5hbWU6IHN0cmluZztcbiAgICBjaGF0SWQ6IHN0cmluZztcbiAgICB1c2VySWQ6IHN0cmluZztcbiAgICBzb3VyY2U6IENvbnRleHRTb3VyY2VFbnVtO1xuICAgIGVudjogQ29udGV4dEVudkVudW07XG4gICAgdmFyaWFudEluZm86IFZhcmlhbnRJbmZvO1xufVxuZXhwb3J0IHsgcGFnZVVzZXJFdmVudEF0b20sIHBhZ2VWYXJpYW50SW5mb0F0b20sIHZhcmlhbnRJbmZvQXRvbSwgaGFzUGFyc2VkVmFyaWFudEluZm9BdG9tLCBzdXBwb3J0ZWRFdmVudEF0b20sIH0gZnJvbSAnLi92YXJpYW50JztcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IHVzZXJJZEF0b206IGltcG9ydChcImpvdGFpXCIpLldyaXRhYmxlQXRvbTxzdHJpbmcsIFt2YWx1ZTogc3RyaW5nXSwgdm9pZD47X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Y6IHN0cmluZykgPT4gc3RyaW5nIHwgdHlwZW9mIGltcG9ydChcImpvdGFpL3V0aWxzXCIpLlJFU0VUKV0sIHZvaWQ+O1xuZXhwb3J0IGRlY2xhcmUgY29uc3QgYXBwRGV0YWlsc0F0b206IGltcG9ydChcImpvdGFpXCIpLkF0b208QXBwRGV0YWlscz47XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBS0EsSUFBVyxhQUFhO0NBQUE7T0FBQTtPQUFBO09BQUE7Q0FBQTtBQUV4QixJQUFXLGFBQU8sQ0FBQSxVQUFBLE9BQUEsYUFBQTtBQUNsQixJQUFXLG1CQUFrQjtDQUFBO09BQUE7T0FBQSxPQUFBO09BQUE7Q0FBQTtBQUM3QixJQUFXLGdCQUFZO0NBQUE7T0FBQTtPQUFBLE9BQUE7Q0FBQTtBQUN2QixJQUFXLGFBQWE7Q0FBQztPQUFHLGFBQUE7T0FBQSxhQUFBO09BQUEsT0FBQTtDQUFBO0FBQzVCLElBQUEsaUJBQUE7Q0FBQTtPQUFBO09BQUEsT0FBQTtDQUFBIn0=
|
|
@@ -24,4 +24,4 @@ declare const chatIdAtom: jotai0.WritableAtom<string, [string | typeof jotai_uti
|
|
|
24
24
|
declare const appDetailsAtom: jotai0.Atom<AppDetails>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { AppDetails, appDetailsAtom, appSourceAtom, chatIdAtom, hasParsedVariantInfoAtom, pageUserEventAtom, pageVariantInfoAtom, supportedEventAtom, userIdAtom, userIdentityAtom, variantInfoAtom };
|
|
27
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguZC50cyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYXRvbXMvYXBwL2luZGV4LmQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29udGV4dEVudkVudW0sIENvbnRleHRTb3VyY2VFbnVtIH0gZ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NvdXJjZUF0b206IGltcG9ydChcImpvdGFpXCIpLkF0b208Q29udGV4dFNvdXJjZUVudW0+
|
|
27
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguZC50cyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYXRvbXMvYXBwL2luZGV4LmQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29udGV4dEVudkVudW0sIENvbnRleHRTb3VyY2VFbnVtIH0gZnJvbSAnQHNwaWZmeS1haS9jb21tZXJjZS1hcGktY2xpZW50JztcbmltcG9ydCB7IFZhcmlhbnRJbmZvIH0gZnJvbSAnc3JjL2FwcGxpY2F0aW9uL21vZGVscyc7XG5pbXBvcnQgeyBVc2VySWRlbnRpdHlDb250ZXh0VHlwZSB9IGZyb20gJ3NyYy9jb250ZXh0cy91c2VySWRlbnRpdHlDb250ZXh0L3VzZXJJZGVudGl0eUNvbnRleHQnO1xuZXhwb3J0IGludGVyZmFjZSBBcHBEZXRhaWxzIHtcbiAgICBvcmdJZDogc3RyaW5nO1xuICAgIG9yZ1Nob3J0TmFtZTogc3RyaW5nO1xuICAgIGNoYXRJZDogc3RyaW5nO1xuICAgIHVzZXJJZDogc3RyaW5nO1xuICAgIHNvdXJjZTogQ29udGV4dFNvdXJjZUVudW07XG4gICAgZW52OiBDb250ZXh0RW52RW51bTtcbiAgICB2YXJpYW50SW5mbzogVmFyaWFudEluZm87XG59XG5leHBvcnQgeyBwYWdlVXNlckV2ZW50QXRvbSwgcGFnZVZhcmlhbnRJbmZvQXRvbSwgdmFyaWFudEluZm9BdG9tLCBoYXNQYXJzZWRWYXJpYW50SW5mb0F0b20sIHN1cHBvcnRlZEV2ZW50QXRvbSwgfSBmcm9tICcuL3ZhcmlhbnQnO1xuZXhwb3J0IGRlY2xhcmUgY29uc3QgdXNlcklkQXRvbTogaW1wb3J0KFwiam90YWlcIiku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E7QUFDNUIsSUFBQSxpQkFBQTtDQUFBO09BQUE7T0FBQSxPQUFBO0NBQUEifQ==
|
|
@@ -2,7 +2,7 @@ import { UserEvent as UserEvent$1 } from "../../application/models/api/userEvent
|
|
|
2
2
|
import { VariantInfo } from "../../application/models/variantInfo/variantInfo.cjs";
|
|
3
3
|
import { PageVariantInfo } from "../../contexts/pageContext/types.cjs";
|
|
4
4
|
import { PageVisitCategory, SupportedEventResponse, UserEvent } from "@spiffy-ai/commerce-api-client";
|
|
5
|
-
import * as
|
|
5
|
+
import * as jotai68 from "jotai";
|
|
6
6
|
|
|
7
7
|
//#region src/atoms/app/variant.d.ts
|
|
8
8
|
interface SupportedEvent extends Pick<SupportedEventResponse, 'supported' | 'ready' | 'category' | 'collections' | 'top_category'> {
|
|
@@ -73,15 +73,15 @@ interface UrlResolverResponse {
|
|
|
73
73
|
user_event?: UserEvent;
|
|
74
74
|
page_variant?: BackendPageVariantConfig;
|
|
75
75
|
}
|
|
76
|
-
declare const supportedEventAtom:
|
|
77
|
-
declare const hasParsedVariantInfoAtom:
|
|
76
|
+
declare const supportedEventAtom: jotai68.WritableAtom<SupportedEvent | undefined, [value: SupportedEvent | undefined], void>;
|
|
77
|
+
declare const hasParsedVariantInfoAtom: jotai68.PrimitiveAtom<boolean> & {
|
|
78
78
|
init: boolean;
|
|
79
79
|
};
|
|
80
|
-
declare const variantInfoAtom:
|
|
81
|
-
declare const pageUserEventAtom:
|
|
80
|
+
declare const variantInfoAtom: jotai68.WritableAtom<VariantInfo, [newVariant: VariantInfo], void>;
|
|
81
|
+
declare const pageUserEventAtom: jotai68.PrimitiveAtom<UserEvent$1 | undefined> & {
|
|
82
82
|
init: UserEvent$1 | undefined;
|
|
83
83
|
};
|
|
84
|
-
declare const pageVariantInfoAtom:
|
|
84
|
+
declare const pageVariantInfoAtom: jotai68.PrimitiveAtom<PageVariantInfo | undefined> & {
|
|
85
85
|
init: PageVariantInfo | undefined;
|
|
86
86
|
};
|
|
87
87
|
//#endregion
|
|
@@ -4,56 +4,56 @@ import { Message } from "../../application/models/message.cjs";
|
|
|
4
4
|
import { FormSubmittedAttributes, UserEvent } from "../../application/models/api/userEvent.cjs";
|
|
5
5
|
import { Suggestion } from "../../application/models/api/suggestion.cjs";
|
|
6
6
|
import { SpiffyMetricsEventName } from "../../services/amplitudeService/amplitudeService.cjs";
|
|
7
|
-
import * as
|
|
7
|
+
import * as jotai6 from "jotai";
|
|
8
8
|
import { UserEventCategory } from "@spiffy-ai/commerce-api-client/dist/models/UserEventCategory";
|
|
9
9
|
|
|
10
10
|
//#region src/atoms/chat/chatState.d.ts
|
|
11
|
-
declare const userHasRepliedAtom:
|
|
11
|
+
declare const userHasRepliedAtom: jotai6.PrimitiveAtom<boolean> & {
|
|
12
12
|
init: boolean;
|
|
13
13
|
};
|
|
14
|
-
declare const replyEventCategoryAtom:
|
|
14
|
+
declare const replyEventCategoryAtom: jotai6.PrimitiveAtom<UserEventCategory> & {
|
|
15
15
|
init: UserEventCategory;
|
|
16
16
|
};
|
|
17
|
-
declare const userQueryAtom:
|
|
17
|
+
declare const userQueryAtom: jotai6.PrimitiveAtom<string | undefined> & {
|
|
18
18
|
init: string | undefined;
|
|
19
19
|
};
|
|
20
|
-
declare const suggestionAtom:
|
|
20
|
+
declare const suggestionAtom: jotai6.PrimitiveAtom<Suggestion | undefined> & {
|
|
21
21
|
init: Suggestion | undefined;
|
|
22
22
|
};
|
|
23
|
-
declare const askQuestionBtnClickedAtom:
|
|
23
|
+
declare const askQuestionBtnClickedAtom: jotai6.PrimitiveAtom<boolean> & {
|
|
24
24
|
init: boolean;
|
|
25
25
|
};
|
|
26
|
-
declare const messagesAtom:
|
|
26
|
+
declare const messagesAtom: jotai6.PrimitiveAtom<Message[][]> & {
|
|
27
27
|
init: Message[][];
|
|
28
28
|
};
|
|
29
|
-
declare const userEventsAtom:
|
|
29
|
+
declare const userEventsAtom: jotai6.PrimitiveAtom<UserEvent[]> & {
|
|
30
30
|
init: UserEvent[];
|
|
31
31
|
};
|
|
32
|
-
declare const suggestionsAtom:
|
|
32
|
+
declare const suggestionsAtom: jotai6.PrimitiveAtom<Suggestion[]> & {
|
|
33
33
|
init: Suggestion[];
|
|
34
34
|
};
|
|
35
|
-
declare const suggestionsLoadingAtom:
|
|
35
|
+
declare const suggestionsLoadingAtom: jotai6.PrimitiveAtom<boolean> & {
|
|
36
36
|
init: boolean;
|
|
37
37
|
};
|
|
38
|
-
declare const responseStreamingAtom:
|
|
38
|
+
declare const responseStreamingAtom: jotai6.PrimitiveAtom<boolean> & {
|
|
39
39
|
init: boolean;
|
|
40
40
|
};
|
|
41
|
-
declare const pendingResponseAtom:
|
|
41
|
+
declare const pendingResponseAtom: jotai6.PrimitiveAtom<boolean> & {
|
|
42
42
|
init: boolean;
|
|
43
43
|
};
|
|
44
|
-
declare const initializedAtom:
|
|
44
|
+
declare const initializedAtom: jotai6.PrimitiveAtom<boolean> & {
|
|
45
45
|
init: boolean;
|
|
46
46
|
};
|
|
47
|
-
declare const chatIsOpenAtom:
|
|
47
|
+
declare const chatIsOpenAtom: jotai6.PrimitiveAtom<boolean> & {
|
|
48
48
|
init: boolean;
|
|
49
49
|
};
|
|
50
|
-
declare const requestFailureAtom:
|
|
50
|
+
declare const requestFailureAtom: jotai6.PrimitiveAtom<boolean> & {
|
|
51
51
|
init: boolean;
|
|
52
52
|
};
|
|
53
|
-
declare const formSubmitAtom:
|
|
53
|
+
declare const formSubmitAtom: jotai6.PrimitiveAtom<FormSubmittedAttributes | undefined> & {
|
|
54
54
|
init: FormSubmittedAttributes | undefined;
|
|
55
55
|
};
|
|
56
|
-
declare const chatOnToggleAtom:
|
|
56
|
+
declare const chatOnToggleAtom: jotai6.WritableAtom<null, [triggerLocation?: ChatElementDisplayLocation | ChatElementDisplayLocationV3 | undefined, track?: ((eventName: SpiffyMetricsEventName, eventProps?: Record<string, unknown>) => void) | undefined], void> & {
|
|
57
57
|
init: null;
|
|
58
58
|
};
|
|
59
59
|
//#endregion
|
|
@@ -58,4 +58,4 @@ declare const chatOnToggleAtom: jotai5.WritableAtom<null, [triggerLocation?: Cha
|
|
|
58
58
|
};
|
|
59
59
|
//#endregion
|
|
60
60
|
export { askQuestionBtnClickedAtom, chatIsOpenAtom, chatOnToggleAtom, formSubmitAtom, initializedAtom, messagesAtom, pendingResponseAtom, replyEventCategoryAtom, requestFailureAtom, responseStreamingAtom, suggestionAtom, suggestionsAtom, suggestionsLoadingAtom, userEventsAtom, userHasRepliedAtom, userQueryAtom };
|
|
61
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdFN0YXRlLmQudHMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2F0b21zL2NoYXQvY2hhdFN0YXRlLmQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVXNlckV2ZW50Q2F0ZWdvcnkgfSBmcm9tICdAc3BpZmZ5LWFpL2NvbW1lcmNlLWFwaS1jbGllbnQvZGlzdC9tb2RlbHMvVXNlckV2ZW50Q2F0ZWdvcnknO1xuaW1wb3J0IHsgU3BpZmZ5TWV0cmljc0V2ZW50TmFtZSB9IGZyb20gJ3NyYy9jb250ZXh0cy9hbXBsaXR1ZGVDb250ZXh0L2FtcGxpdHVkZUNvbnRleHQnO1xuaW1wb3J0IHsgQ2hhdEVsZW1lbnREaXNwbGF5TG9jYXRpb25WMywgRm9ybVN1Ym1pdHRlZEF0dHJpYnV0ZXMsIE1lc3NhZ2UsIFN1Z2dlc3Rpb24sIFVzZXJFdmVudCB9IGZyb20gJ3NyYy9hcHBsaWNhdGlvbi9tb2RlbHMnO1xuaW1wb3J0IHsgQ2hhdEVsZW1lbnREaXNwbGF5TG9jYXRpb24gfSBmcm9tICdzcmMvYXBwbGljYXRpb24vbW9kZWxzL2NoYXRFbGVtZW50RGlzcGxheUxvY2F0aW9uJztcbmV4cG9ydCBkZWNsYXJlIGNvbnN0I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tDQUFBO09BQUE7T0FBQSxPQUFBO09BQUE7Q0FBQTtBQUMzQixJQUFDLDRCQUFBLENBQUEsVUFBQSxPQUFBLGNBQUE7QUFDRCxJQUFXLGVBQWU7Q0FBQztPQUFVO09BQWUsT0FBTztPQUFxQjtDQUFRO0FBQ3hGLElBQVcsaUJBQWlCO0NBQUE7T0FBQTtPQUFBLE9BQUE7T0FBQTtDQUFBO0FBQzVCLElBQUMsa0JBQUE7Q0FBQTtPQUFBO09BQUEsT0FBQTtPQUFBO0NBQUE7QUFDRCxJQUFXLHlCQUF5QixDQUFDLFVBQVUsT0FBTyxjQUFjO0FBQ3BFLElBQVcsd0JBQXFCLENBQUEsVUFBQSxPQUFBLGNBQUE7QUFDaEMsSUFBQyxzQkFBQSxDQUFBLFVBQUEsT0FBQSxjQUFBO0FBQ0QsSUFBVyxrQkFBa0IsQ0FBQyxVQUFVLE9BQU8sY0FBYztBQUM3RCxJQUFXLGlCQUFNLENBQUEsVUFBQSxPQUFBLGNBQUE7QUFDakIsSUFBQyxxQkFBQSxDQUFBLFVBQUEsT0FBQSxjQUFBO0FBQ0QsSUFBVyxpQkFBaUI7Q0FBQztPQUFVO09BQStCLE9BQU87T0FBRztDQUFBO0FBQ2hGLElBQVcsbUJBQVU7Q0FBQTtPQUFBO09BQUE7T0FBQTtPQUFBO09BQUEsT0FBQTtDQUFBIn0=
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FormSubmittedAttributes } from "../../application/models/api/userEvent.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai59 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/form.d.ts
|
|
5
|
-
declare const handleFormSubmittedAtom:
|
|
5
|
+
declare const handleFormSubmittedAtom: jotai59.WritableAtom<null, [form: FormSubmittedAttributes], void> & {
|
|
6
6
|
init: null;
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FormSubmittedAttributes } from "../../application/models/api/userEvent.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai27 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/form.d.ts
|
|
5
|
-
declare const handleFormSubmittedAtom:
|
|
5
|
+
declare const handleFormSubmittedAtom: jotai27.WritableAtom<null, [form: FormSubmittedAttributes], void> & {
|
|
6
6
|
init: null;
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_atoms_chat_chatState = require('./chatState.cjs');
|
|
3
|
-
const require_messageQueue = require('./messageQueue.cjs');
|
|
4
3
|
const require_performanceMetrics = require('./performanceMetrics.cjs');
|
|
4
|
+
const require_messageQueue = require('./messageQueue.cjs');
|
|
5
5
|
const require_form = require('./form.cjs');
|
|
6
6
|
const require_suggestions = require('./suggestions.cjs');
|
|
7
7
|
const require_lastMessage = require('./lastMessage.cjs');
|
|
@@ -9,10 +9,10 @@ import { lastAssistantMessageAtom } from "./lastMessage.cjs";
|
|
|
9
9
|
import { clearUserEventAtom, processUserEventAtom, queueUserEventAtom, userEventQueueAtom, userQueueEventCountAtom } from "./messageQueue.cjs";
|
|
10
10
|
import { addWidget, widgetArrayAtom } from "./renderedWidgetRefs.cjs";
|
|
11
11
|
import * as _spiffy_ai_commerce_api_client0 from "@spiffy-ai/commerce-api-client";
|
|
12
|
-
import * as
|
|
12
|
+
import * as jotai5 from "jotai";
|
|
13
13
|
|
|
14
14
|
//#region src/atoms/chat/index.d.ts
|
|
15
|
-
declare const chatAtom:
|
|
15
|
+
declare const chatAtom: jotai5.Atom<{
|
|
16
16
|
userHasReplied: boolean;
|
|
17
17
|
replyEventCategory: _spiffy_ai_commerce_api_client0.UserEventCategory;
|
|
18
18
|
userQuery: string | undefined;
|
|
@@ -28,4 +28,4 @@ declare const chatAtom: jotai15.Atom<{
|
|
|
28
28
|
}>;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { APP_INITIAL_START_TIME_KEY, PAGE_LOAD_OFFSET_TIME_KEY, PerfMetricsEvents, addWidget, appInitialStartTimeMsAtom, askQuestionBtnClickedAtom, chatAtom, chatIsOpenAtom, chatOnToggleAtom, clearUserEventAtom, formSubmitAtom, handleFormSubmittedAtom, handleSuggestionAtom, hasReportedPerformanceMetricsAtom, initializedAtom, lastAssistantMessageAtom, logPerfMetricAtom, messagesAtom, pageLoadOffsetTimeAtom, pendingResponseAtom, performanceMetricsAtom, processUserEventAtom, queueUserEventAtom, replyEventCategoryAtom, requestFailureAtom, resetPerformanceMetricsAtom, responseStreamingAtom, suggestionAtom, suggestionsAtom, suggestionsLoadingAtom, userEventQueueAtom, userEventsAtom, userHasRepliedAtom, userQueryAtom, userQueueEventCountAtom, widgetArrayAtom };
|
|
31
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguZC5jdHMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2F0b21zL2NoYXQvaW5kZXguZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NoYXRTdGF0ZSc7XG5leHBvcnQgKiBmcm9tICcuL3BlcmZvcm1hbmNlTWV0cmljcyc7XG5leHBvcnQgKiBmcm9tICcuL2Zvcm0nO1xuZXhwb3J0ICogZnJvbSAnLi9zdWdnZXN0aW9ucyc7XG5leHBvcnQgKiBmcm9tICcuL2xhc3RNZXNzYWdlJztcbmV4cG9ydCAqIGZyb20gJy4vbWVzc2FnZVF1ZXVlJztcbmV4cG9ydCAqIGZyb20gJy4vcmVuZGVyZWRXaWRnZXRSZWZzJztcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IGNoYXRBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5BdG9tPHtcbiAgICB1c2VySGFzUmVwbGllZDogYm9vbGVhbjtcbiAg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sV0FBVztDQUFDO09BQVUsZ0NBQUE7T0FBQTtPQUFBO09BQUE7T0FBQTtPQUFBLE9BQUE7Q0FBQSJ9
|
package/dist/atoms/chat/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { askQuestionBtnClickedAtom, chatIsOpenAtom, chatOnToggleAtom, formSubmitAtom, initializedAtom, messagesAtom, pendingResponseAtom, replyEventCategoryAtom, requestFailureAtom, responseStreamingAtom, suggestionAtom, suggestionsAtom, suggestionsLoadingAtom, userEventsAtom, userHasRepliedAtom, userQueryAtom } from "./chatState.js";
|
|
2
|
-
import { clearUserEventAtom, processUserEventAtom, queueUserEventAtom, userEventQueueAtom, userQueueEventCountAtom } from "./messageQueue.js";
|
|
3
2
|
import { APP_INITIAL_START_TIME_KEY, PAGE_LOAD_OFFSET_TIME_KEY, PerfMetricsEvents, appInitialStartTimeMsAtom, hasReportedPerformanceMetricsAtom, logPerfMetricAtom, pageLoadOffsetTimeAtom, performanceMetricsAtom, resetPerformanceMetricsAtom } from "./performanceMetrics.js";
|
|
3
|
+
import { clearUserEventAtom, processUserEventAtom, queueUserEventAtom, userEventQueueAtom, userQueueEventCountAtom } from "./messageQueue.js";
|
|
4
4
|
import { handleFormSubmittedAtom } from "./form.js";
|
|
5
5
|
import { handleSuggestionAtom } from "./suggestions.js";
|
|
6
6
|
import { lastAssistantMessageAtom } from "./lastMessage.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Message } from "../../application/models/message.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai61 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/lastMessage.d.ts
|
|
5
|
-
declare const lastAssistantMessageAtom:
|
|
5
|
+
declare const lastAssistantMessageAtom: jotai61.Atom<Message[] | null>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { lastAssistantMessageAtom };
|
|
8
8
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFzdE1lc3NhZ2UuZC5jdHMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2F0b21zL2NoYXQvbGFzdE1lc3NhZ2UuZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZGVjbGFyZSBjb25zdCBsYXN0QXNzaXN0YW50TWVzc2FnZUF0b206IGltcG9ydChcImpvdGFpXCIpLkF0b208aW1wb3J0KFwiLi4vLi4vYXBwbGljYXRpb24vbW9kZWxzXCIpLk1lc3NhZ2VbXSB8IG51bGw+O1xuIl0sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Message } from "../../application/models/message.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai35 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/lastMessage.d.ts
|
|
5
|
-
declare const lastAssistantMessageAtom:
|
|
5
|
+
declare const lastAssistantMessageAtom: jotai35.Atom<Message[] | null>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { lastAssistantMessageAtom };
|
|
8
8
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFzdE1lc3NhZ2UuZC50cyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYXRvbXMvY2hhdC9sYXN0TWVzc2FnZS5kLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBkZWNsYXJlIGNvbnN0IGxhc3RBc3Npc3RhbnRNZXNzYWdlQXRvbTogaW1wb3J0KFwiam90YWlcIikuQXRvbTxpbXBvcnQoXCIuLi8uLi9hcHBsaWNhdGlvbi9tb2RlbHNcIikuTWVzc2FnZVtdIHwgbnVsbD47XG4iXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { UserEvent } from "../../application/models/api/userEvent.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai62 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/messageQueue.d.ts
|
|
5
|
-
declare const userEventQueueAtom:
|
|
5
|
+
declare const userEventQueueAtom: jotai62.Atom<UserEvent[]>;
|
|
6
6
|
/**
|
|
7
7
|
* This atom is used to queue a new message for processing on `next_responses`
|
|
8
8
|
* It receives a single `userEvent` that is added to the processing queue.
|
|
9
9
|
* If the event has the same eventId as an existing message in the queue the NEW
|
|
10
10
|
* event is ignored
|
|
11
11
|
*/
|
|
12
|
-
declare const queueUserEventAtom:
|
|
12
|
+
declare const queueUserEventAtom: jotai62.WritableAtom<null, [userEvent: UserEvent], void> & {
|
|
13
13
|
init: null;
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
16
|
* This atom exposes a function to reset the entire queue. All messages in the queue will be purged
|
|
17
17
|
*/
|
|
18
|
-
declare const clearUserEventAtom:
|
|
18
|
+
declare const clearUserEventAtom: jotai62.WritableAtom<null, [], void> & {
|
|
19
19
|
init: null;
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
22
22
|
* This atom is used to mark events as processed and remove them from the queue
|
|
23
23
|
* It accepts a list of eventId values and will remove all events with those eventIds from the queue.
|
|
24
24
|
*/
|
|
25
|
-
declare const processUserEventAtom:
|
|
25
|
+
declare const processUserEventAtom: jotai62.WritableAtom<null, [eventIds: string[]], void> & {
|
|
26
26
|
init: null;
|
|
27
27
|
};
|
|
28
|
-
declare const userQueueEventCountAtom:
|
|
28
|
+
declare const userQueueEventCountAtom: jotai62.Atom<number>;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { clearUserEventAtom, processUserEventAtom, queueUserEventAtom, userEventQueueAtom, userQueueEventCountAtom };
|
|
31
31
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZVF1ZXVlLmQuY3RzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uLy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W5pdDogbnVsbDtcbn07XG4vKipcbiAqIFRoaXMgYXRvbSBpcyB1c2VkIHRvIG1hcmsgZXZlbnRzIGFzIHByb2Nlc3NlZCBhbmQgcmVtb3ZlIHRoZW0gZnJvbSB0aGUgcXVldWVcbiAqIEl0IGFjY2VwdHMgYSBsaXN0IG9mIGV2ZW50SWQgdmFsdWVzIGFuZCB3aWxsIHJlbW92ZSBhbGwgZXZlbnRzIHdpdGggdGhvc2UgZXZlbnRJZHMgZnJvbSB0aGUgcXVldWUuXG4gKi9cbmV4cG9ydCBkZWNsYXJlIGNvbnN0IHByb2Nlc3NVc2VyRXZlbnRBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5Xcml0YWJsZUF0b208bnVsbCwgW2V2ZW50SWRzOiBzdHJpbmdbXV0sIHZvaWQ+ICYge1xuICAgIGluaXQ6IG51bGw7XG59O1xuZXhwb3J0IGRlY2xhcmUgY29uc3QgdXNlclF1ZXVlRXZlbnRDb3VudEF0b206IGltcG9ydChcImpvdGFpXCIpLkF0b208bnVtYmVyPjtcbiJdLCJtYXBwaW5ncyI6Ijs7OztBQUVBLElBQUUscUJBQUE7Q0FBQTtPQUFBO09BQUEsUUFBQTtDQUFBO0FBQ0YsSUFBVyxxQkFBcUI7Q0FBQztPQUFXO09BQWlCLFFBQVE7Q0FBUTtBQUM3RSxJQUFXLHFCQUFxQixDQUFDLFdBQVcsUUFBUSxhQUFhO0FBQ2pFLElBQVcsdUJBQXVCLENBQUMsV0FBVyxRQUFRLGFBQWE7QUFDbkUsSUFBVywwQkFBTyxDQUFBLFdBQUEsUUFBQSxLQUFBIn0=
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as jotai54 from "jotai";
|
|
2
2
|
import * as jotai_utils1 from "jotai/utils";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/performanceMetrics.d.ts
|
|
@@ -23,8 +23,8 @@ declare enum PerfMetricsEvents {
|
|
|
23
23
|
BottomSuggestionsBarRendered = "bottom_suggestions_bar_rendered_ms",
|
|
24
24
|
SearchPromptRendered = "search_prompt_rendered_ms",
|
|
25
25
|
}
|
|
26
|
-
declare const appInitialStartTimeMsAtom:
|
|
27
|
-
declare const pageLoadOffsetTimeAtom:
|
|
26
|
+
declare const appInitialStartTimeMsAtom: jotai54.WritableAtom<string | undefined, [string | typeof jotai_utils1.RESET | ((prev: string | undefined) => string | typeof jotai_utils1.RESET | undefined) | undefined], void>;
|
|
27
|
+
declare const pageLoadOffsetTimeAtom: jotai54.WritableAtom<string | undefined, [string | typeof jotai_utils1.RESET | ((prev: string | undefined) => string | typeof jotai_utils1.RESET | undefined) | undefined], void>;
|
|
28
28
|
/**
|
|
29
29
|
* Resets the performance metrics atom to an empty map. This should be called after the performance
|
|
30
30
|
* metrics have been reported to amplitude. On SPA, it ensures that we can still capture metrics as
|
|
@@ -32,8 +32,8 @@ declare const pageLoadOffsetTimeAtom: jotai26.WritableAtom<string | undefined, [
|
|
|
32
32
|
* On non-SPA, it ensures that previously captured metrics are not reported again.
|
|
33
33
|
*/
|
|
34
34
|
declare const resetPerformanceMetricsAtom: () => void;
|
|
35
|
-
declare const performanceMetricsAtom:
|
|
36
|
-
declare const hasReportedPerformanceMetricsAtom:
|
|
35
|
+
declare const performanceMetricsAtom: jotai54.Atom<Map<PerfMetricsEvents, number>>;
|
|
36
|
+
declare const hasReportedPerformanceMetricsAtom: jotai54.PrimitiveAtom<boolean> & {
|
|
37
37
|
init: boolean;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
@@ -42,7 +42,7 @@ declare const hasReportedPerformanceMetricsAtom: jotai26.PrimitiveAtom<boolean>
|
|
|
42
42
|
*
|
|
43
43
|
* @param value The performance metric name to log.
|
|
44
44
|
*/
|
|
45
|
-
declare const logPerfMetricAtom:
|
|
45
|
+
declare const logPerfMetricAtom: jotai54.WritableAtom<null, [value: PerfMetricsEvents], void> & {
|
|
46
46
|
init: null;
|
|
47
47
|
};
|
|
48
48
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as jotai22 from "jotai";
|
|
2
2
|
import * as jotai_utils1 from "jotai/utils";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/performanceMetrics.d.ts
|
|
@@ -23,8 +23,8 @@ declare enum PerfMetricsEvents {
|
|
|
23
23
|
BottomSuggestionsBarRendered = "bottom_suggestions_bar_rendered_ms",
|
|
24
24
|
SearchPromptRendered = "search_prompt_rendered_ms",
|
|
25
25
|
}
|
|
26
|
-
declare const appInitialStartTimeMsAtom:
|
|
27
|
-
declare const pageLoadOffsetTimeAtom:
|
|
26
|
+
declare const appInitialStartTimeMsAtom: jotai22.WritableAtom<string | undefined, [string | typeof jotai_utils1.RESET | ((prev: string | undefined) => string | typeof jotai_utils1.RESET | undefined) | undefined], void>;
|
|
27
|
+
declare const pageLoadOffsetTimeAtom: jotai22.WritableAtom<string | undefined, [string | typeof jotai_utils1.RESET | ((prev: string | undefined) => string | typeof jotai_utils1.RESET | undefined) | undefined], void>;
|
|
28
28
|
/**
|
|
29
29
|
* Resets the performance metrics atom to an empty map. This should be called after the performance
|
|
30
30
|
* metrics have been reported to amplitude. On SPA, it ensures that we can still capture metrics as
|
|
@@ -32,8 +32,8 @@ declare const pageLoadOffsetTimeAtom: jotai23.WritableAtom<string | undefined, [
|
|
|
32
32
|
* On non-SPA, it ensures that previously captured metrics are not reported again.
|
|
33
33
|
*/
|
|
34
34
|
declare const resetPerformanceMetricsAtom: () => void;
|
|
35
|
-
declare const performanceMetricsAtom:
|
|
36
|
-
declare const hasReportedPerformanceMetricsAtom:
|
|
35
|
+
declare const performanceMetricsAtom: jotai22.Atom<Map<PerfMetricsEvents, number>>;
|
|
36
|
+
declare const hasReportedPerformanceMetricsAtom: jotai22.PrimitiveAtom<boolean> & {
|
|
37
37
|
init: boolean;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
@@ -42,7 +42,7 @@ declare const hasReportedPerformanceMetricsAtom: jotai23.PrimitiveAtom<boolean>
|
|
|
42
42
|
*
|
|
43
43
|
* @param value The performance metric name to log.
|
|
44
44
|
*/
|
|
45
|
-
declare const logPerfMetricAtom:
|
|
45
|
+
declare const logPerfMetricAtom: jotai22.WritableAtom<null, [value: PerfMetricsEvents], void> & {
|
|
46
46
|
init: null;
|
|
47
47
|
};
|
|
48
48
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as jotai67 from "jotai";
|
|
2
2
|
|
|
3
3
|
//#region src/atoms/chat/renderedWidgetRefs.d.ts
|
|
4
|
-
declare const widgetArrayAtom:
|
|
4
|
+
declare const widgetArrayAtom: jotai67.Atom<HTMLElement[]>;
|
|
5
5
|
/**
|
|
6
6
|
* This function call is used to create a list of the Spiffy widgets
|
|
7
7
|
* that are rendering on the page.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as jotai29 from "jotai";
|
|
2
2
|
|
|
3
3
|
//#region src/atoms/chat/renderedWidgetRefs.d.ts
|
|
4
|
-
declare const widgetArrayAtom:
|
|
4
|
+
declare const widgetArrayAtom: jotai29.Atom<HTMLElement[]>;
|
|
5
5
|
/**
|
|
6
6
|
* This function call is used to create a list of the Spiffy widgets
|
|
7
7
|
* that are rendering on the page.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Message } from "../../application/models/message.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai4 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: jotai4.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwbGllcy5kLmN0cyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYXRvbXMvY2hhdC9yZXBsaWVzLmQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTWVzc2FnZSB9IGZyb20gJ3NyYy9hcHBsaWNhdGlvbi9tb2RlbHMnO1xudHlwZSBIYW5kbGVSZXBseVBhcmFtcyA9IHtcbiAgICBtZXNzYWdlOiBNZXNzYWdlO1xuICAgIHVzZXJUeXBlZDogYm9vbGVhbjtcbn07XG5leHBvcnQgZGVjbGFyZSBjb25zdCBoYW5kbGVSZXBseUF0b206IGltcG9ydChcImpvdGFpXCIpLldyaXRhYmxlQXRvbTxudWxsLCBbSGFuZGxlUmVwbHlQYXJhbXNdLCB2b2lkPiAmIHtcbiAgICBpbml0OiBudWxsO1xufTtcbmV4cG9ydCB7fTtcbiJdLCJtYXBwaW5ncyI6Ijs7OztBQUVBLElBQUksb0JBQWdCLENBQUEsV0FBQSxRQUFBO0FBQ3BCLElBQVcsa0JBQVc7Q0FBQTtPQUFBO09BQUEsT0FBQTtDQUFBIn0=
|
|
@@ -11,4 +11,4 @@ declare const handleReplyAtom: jotai4.WritableAtom<null, [HandleReplyParams], vo
|
|
|
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+ICYge1xuICAgIGluaXQ6IG51bGw7XG59O1xuZXhwb3J0IHt9O1xuIl0sIm1hcHBpbmdzIjoiOzs7O0FBRUEsSUFBSSxvQkFBZ0IsQ0FBQSxVQUFBLFFBQUE7QUFDcEIsSUFBVyxrQkFBVztDQUFBO09BQUE7T0FBQSxPQUFBO0NBQUEifQ==
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Suggestion } from "../../application/models/api/suggestion.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as jotai60 from "jotai";
|
|
3
3
|
|
|
4
4
|
//#region src/atoms/chat/suggestions.d.ts
|
|
5
|
-
declare const handleSuggestionAtom:
|
|
5
|
+
declare const handleSuggestionAtom: jotai60.WritableAtom<null, [suggestion: Suggestion], void> & {
|
|
6
6
|
init: null;
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as jotai37 from "jotai";
|
|
2
2
|
|
|
3
3
|
//#region src/atoms/globalSearch/globalSearch.d.ts
|
|
4
|
-
declare const autocompleteStateAtom:
|
|
4
|
+
declare const autocompleteStateAtom: jotai37.PrimitiveAtom<{
|
|
5
5
|
results: string[];
|
|
6
6
|
isLoading: boolean;
|
|
7
7
|
}> & {
|
|
@@ -10,13 +10,13 @@ declare const autocompleteStateAtom: jotai78.PrimitiveAtom<{
|
|
|
10
10
|
isLoading: boolean;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
declare const isFilterOpenAtom:
|
|
13
|
+
declare const isFilterOpenAtom: jotai37.PrimitiveAtom<boolean> & {
|
|
14
14
|
init: boolean;
|
|
15
15
|
};
|
|
16
|
-
declare const isGlobalSearchOpenAtom:
|
|
16
|
+
declare const isGlobalSearchOpenAtom: jotai37.PrimitiveAtom<boolean> & {
|
|
17
17
|
init: boolean;
|
|
18
18
|
};
|
|
19
|
-
declare const isSearchResultsOpenAtom:
|
|
19
|
+
declare const isSearchResultsOpenAtom: jotai37.PrimitiveAtom<boolean> & {
|
|
20
20
|
init: boolean;
|
|
21
21
|
};
|
|
22
22
|
//#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 jotai69 from "jotai";
|
|
4
4
|
|
|
5
5
|
//#region src/atoms/org/customerService.d.ts
|
|
6
|
-
declare const isBusinessHoursAtom:
|
|
6
|
+
declare const isBusinessHoursAtom: jotai69.PrimitiveAtom<boolean> & {
|
|
7
7
|
init: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare const isCustomerServiceOpenAtom:
|
|
9
|
+
declare const isCustomerServiceOpenAtom: jotai69.PrimitiveAtom<boolean> & {
|
|
10
10
|
init: boolean;
|
|
11
11
|
};
|
|
12
|
-
declare const customerServiceResponseAtom:
|
|
12
|
+
declare const customerServiceResponseAtom: jotai69.PrimitiveAtom<CustServiceConversationMessages | undefined> & {
|
|
13
13
|
init: CustServiceConversationMessages | undefined;
|
|
14
14
|
};
|
|
15
|
-
declare const customerServiceChatStateAtom:
|
|
15
|
+
declare const customerServiceChatStateAtom: jotai69.PrimitiveAtom<ChatState | undefined> & {
|
|
16
16
|
init: ChatState | undefined;
|
|
17
17
|
};
|
|
18
|
-
declare const customerServiceAttachment:
|
|
18
|
+
declare const customerServiceAttachment: jotai69.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 jotai88 from "jotai";
|
|
5
5
|
|
|
6
6
|
//#region src/atoms/org/graphqlConfig.d.ts
|
|
7
|
-
declare const internalGraphQLColorsConfigAtom:
|
|
7
|
+
declare const internalGraphQLColorsConfigAtom: jotai88.PrimitiveAtom<ColorMapping | undefined> & {
|
|
8
8
|
init: ColorMapping | undefined;
|
|
9
9
|
};
|
|
10
|
-
declare const featureFlagServiceAtom:
|
|
10
|
+
declare const featureFlagServiceAtom: jotai88.PrimitiveAtom<FeatureFlagContextType | undefined> & {
|
|
11
11
|
init: FeatureFlagContextType | undefined;
|
|
12
12
|
};
|
|
13
|
-
declare const frontendConfigAtom:
|
|
13
|
+
declare const frontendConfigAtom: jotai88.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhcGhxbENvbmZpZy5kLmN0cyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYXRvbXMvb3JnL2dyYXBocWxDb25maWcuZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb2xvck1hcHBpbmcgfSBmcm9tICdzcmMvYXBwbGljYXRpb24vbW9kZWxzL2NvbG9yc0NvbmZpZyc7XG5pbXBvcnQgeyBGcm9udGVuZENvbmZpZyB9IGZyb20gJ3NyYy9hcHBsaWNhdGlvbi9tb2RlbHMvZnJvbnRlbmRDb25maWcnO1xuaW1wb3J0IHsgRmVhdHVyZUZsYWdDb250ZXh0VHlwZSB9IGZyb20gJ3NyYy9jb250ZXh0cy9mZWF0dXJlRmxhZ1NlcnZpY2VDb250ZXh0L2ZlYXR1cmVGbGFnU2VydmljZUNvbnRleHQnO1xuZXhwb3J0IGRlY2xhcmUgY29uc3QgaW50ZXJuYWxHcmFwaFFMQ29sb3JzQ29uZmlnQXRvbTogaW1wb3J0KFwiam90YWlcIikuUHJpbWl0aXZlQXRvbTxDb2xvck1hcHBpbmcgfCB1bmRlZmluZWQ+ICYge1xuICAgIGluaXQ6IENvbG9yTWFwcGluZyB8IHVuZGVmaW5lZDtcbn07XG5leHBvcnQgZGVjbGFyZSBjb25zdCBmZWF0dXJlRmxhZ1NlcnZpY2VBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5QcmltaXRpdmVBdG9tPEZlYXR1cmVGbGFnQ29udGV4dFR5cGUgfCB1bmRlZmluZWQ+ICYge1xuICAgIGluaXQ6IEZlYXR1cmVGbGFnQ29udGV4dFR5cGUgfCB1bmRlZmluZWQ7XG59O1xuZXhwb3J0IGRlY2xhcmUgY29uc3QgZnJvbnRlbmRDb25maWdBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5Xcml0YWJsZUF0b208RnJvbnRlbmRDb25maWcgfCB1bmRlZmluZWQsIFt2YWx1ZTogRnJvbnRlbmRDb25maWcgfCB1bmRlZmluZWRdLCB2b2lkPjtcbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBSUEsSUFBVyxrQ0FBdUI7Q0FBQTtPQUFBO09BQUEsUUFBQTtPQUFBO0NBQUE7QUFDbEMsSUFBQyx5QkFBQTtDQUFBO09BQUE7T0FBQSxRQUFBO09BQUE7Q0FBQTtBQUNELElBQVcscUJBQXFCO0NBQUM7T0FBVztPQUFzQjtPQUFzQixRQUFRO0NBQWEifQ==
|
|
@@ -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 jotai74 from "jotai";
|
|
5
5
|
|
|
6
6
|
//#region src/atoms/org/graphqlConfig.d.ts
|
|
7
|
-
declare const internalGraphQLColorsConfigAtom:
|
|
7
|
+
declare const internalGraphQLColorsConfigAtom: jotai74.PrimitiveAtom<ColorMapping | undefined> & {
|
|
8
8
|
init: ColorMapping | undefined;
|
|
9
9
|
};
|
|
10
|
-
declare const featureFlagServiceAtom:
|
|
10
|
+
declare const featureFlagServiceAtom: jotai74.PrimitiveAtom<FeatureFlagContextType | undefined> & {
|
|
11
11
|
init: FeatureFlagContextType | undefined;
|
|
12
12
|
};
|
|
13
|
-
declare const frontendConfigAtom:
|
|
13
|
+
declare const frontendConfigAtom: jotai74.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhcGhxbENvbmZpZy5kLnRzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hdG9tcy9vcmcvZ3JhcGhxbENvbmZpZy5kLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbG9yTWFwcGluZyB9IGZyb20gJ3NyYy9hcHBsaWNhdGlvbi9tb2RlbHMvY29sb3JzQ29uZmlnJztcbmltcG9ydCB7IEZyb250ZW5kQ29uZmlnIH0gZnJvbSAnc3JjL2FwcGxpY2F0aW9uL21vZGVscy9mcm9udGVuZENvbmZpZyc7XG5pbXBvcnQgeyBGZWF0dXJlRmxhZ0NvbnRleHRUeXBlIH0gZnJvbSAnc3JjL2NvbnRleHRzL2ZlYXR1cmVGbGFnU2VydmljZUNvbnRleHQvZmVhdHVyZUZsYWdTZXJ2aWNlQ29udGV4dCc7XG5leHBvcnQgZGVjbGFyZSBjb25zdCBpbnRlcm5hbEdyYXBoUUxDb2xvcnNDb25maWdBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5QcmltaXRpdmVBdG9tPENvbG9yTWFwcGluZyB8IHVuZGVmaW5lZD4gJiB7XG4gICAgaW5pdDogQ29sb3JNYXBwaW5nIHwgdW5kZWZpbmVkO1xufTtcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IGZlYXR1cmVGbGFnU2VydmljZUF0b206IGltcG9ydChcImpvdGFpXCIpLlByaW1pdGl2ZUF0b208RmVhdHVyZUZsYWdDb250ZXh0VHlwZSB8IHVuZGVmaW5lZD4gJiB7XG4gICAgaW5pdDogRmVhdHVyZUZsYWdDb250ZXh0VHlwZSB8IHVuZGVmaW5lZDtcbn07XG5leHBvcnQgZGVjbGFyZSBjb25zdCBmcm9udGVuZENvbmZpZ0F0b206IGltcG9ydChcImpvdGFpXCIpLldyaXRhYmxlQXRvbTxGcm9udGVuZENvbmZpZyB8IHVuZGVmaW5lZCwgW3ZhbHVlOiBGcm9udGVuZENvbmZpZyB8IHVuZGVmaW5lZF0sIHZvaWQ+O1xuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFJQSxJQUFXLGtDQUF1QjtDQUFBO09BQUE7T0FBQSxRQUFBO09BQUE7Q0FBQTtBQUNsQyxJQUFDLHlCQUFBO0NBQUE7T0FBQTtPQUFBLFFBQUE7T0FBQTtDQUFBO0FBQ0QsSUFBVyxxQkFBcUI7Q0FBQztPQUFXO09BQXNCO09BQXNCLFFBQVE7Q0FBYSJ9
|
package/dist/atoms/org/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_orgAnalyticsConfig = require('./orgAnalyticsConfig.cjs');
|
|
2
|
-
const require_newOrgConfigAtom = require('./newOrgConfigAtom.cjs');
|
|
3
|
-
const require_graphqlConfig = require('./graphqlConfig.cjs');
|
|
4
2
|
const require_customerService = require('./customerService.cjs');
|
|
3
|
+
const require_graphqlConfig = require('./graphqlConfig.cjs');
|
|
4
|
+
const require_newOrgConfigAtom = require('./newOrgConfigAtom.cjs');
|
|
5
5
|
|
|
6
6
|
exports.customerServiceAttachment = require_customerService.customerServiceAttachment;
|
|
7
7
|
exports.customerServiceChatStateAtom = require_customerService.customerServiceChatStateAtom;
|