@envive-ai/react-hooks 0.3.6 → 0.3.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.
Files changed (142) hide show
  1. package/dist/application/commerce-api.cjs +1 -1
  2. package/dist/application/commerce-api.js +1 -1
  3. package/dist/application/models/api/userEvent.d.cts +4 -2
  4. package/dist/application/models/api/userEvent.d.ts +4 -2
  5. package/dist/application/models/graphql/queries/getColorsAndFrontendQuery.cjs +18 -0
  6. package/dist/application/models/graphql/queries/getColorsAndFrontendQuery.js +18 -0
  7. package/dist/application/models/guards/api/isApiFormResponse.cjs +1 -1
  8. package/dist/application/models/guards/api/isApiFormResponse.js +1 -1
  9. package/dist/application/models/guards/api/isApiFormSubmittedResponseAttributes.cjs +1 -1
  10. package/dist/application/models/guards/api/isApiFormSubmittedResponseAttributes.js +1 -1
  11. package/dist/application/models/guards/api/isApiOrderResponseAttributes.cjs +1 -1
  12. package/dist/application/models/guards/api/isApiOrderResponseAttributes.js +1 -1
  13. package/dist/application/models/guards/api/isApiProductResponseAttributes.cjs +1 -1
  14. package/dist/application/models/guards/api/isApiProductResponseAttributes.js +1 -1
  15. package/dist/application/models/guards/api/isApiQueryTypedEventAttributes.cjs +2 -2
  16. package/dist/application/models/guards/api/isApiQueryTypedEventAttributes.js +2 -2
  17. package/dist/application/models/guards/api/isApiResponse.cjs +1 -1
  18. package/dist/application/models/guards/api/isApiResponse.js +1 -1
  19. package/dist/application/utils/analyticsUtils.cjs +1 -1
  20. package/dist/application/utils/analyticsUtils.js +1 -1
  21. package/dist/application/utils/elementObserver.d.cts +2 -2
  22. package/dist/application/utils/elementObserver.d.ts +2 -2
  23. package/dist/atoms/app/variant.d.cts +6 -6
  24. package/dist/atoms/app/variant.d.ts +6 -6
  25. package/dist/atoms/chat/chatState.d.ts +17 -17
  26. package/dist/atoms/chat/form.d.cts +2 -2
  27. package/dist/atoms/chat/form.d.ts +2 -2
  28. package/dist/atoms/chat/index.cjs +1 -3
  29. package/dist/atoms/chat/index.d.cts +4 -5
  30. package/dist/atoms/chat/index.d.ts +4 -5
  31. package/dist/atoms/chat/index.js +2 -3
  32. package/dist/atoms/chat/lastMessage.d.cts +2 -2
  33. package/dist/atoms/chat/lastMessage.d.ts +2 -2
  34. package/dist/atoms/chat/performanceMetrics.d.cts +6 -6
  35. package/dist/atoms/chat/performanceMetrics.d.ts +6 -6
  36. package/dist/atoms/chat/renderedWidgetRefs.d.cts +2 -2
  37. package/dist/atoms/chat/renderedWidgetRefs.d.ts +2 -2
  38. package/dist/atoms/chat/suggestions.d.cts +2 -2
  39. package/dist/atoms/chat/suggestions.d.ts +2 -2
  40. package/dist/atoms/globalSearch/globalSearch.d.cts +5 -5
  41. package/dist/atoms/globalSearch/globalSearch.d.ts +5 -5
  42. package/dist/atoms/org/customerService.d.cts +6 -6
  43. package/dist/atoms/org/customerService.d.ts +6 -6
  44. package/dist/atoms/org/graphqlConfig.d.cts +4 -4
  45. package/dist/atoms/org/graphqlConfig.d.ts +4 -4
  46. package/dist/atoms/org/newOrgConfigAtom.d.cts +2 -2
  47. package/dist/atoms/org/newOrgConfigAtom.d.ts +2 -2
  48. package/dist/atoms/org/orgAnalyticsConfig.d.cts +5 -5
  49. package/dist/atoms/org/orgAnalyticsConfig.d.ts +5 -5
  50. package/dist/atoms/search/chatSearch.d.cts +17 -17
  51. package/dist/atoms/search/chatSearch.d.ts +17 -17
  52. package/dist/atoms/search/searchAPI.d.cts +13 -13
  53. package/dist/atoms/search/searchAPI.d.ts +13 -13
  54. package/dist/atoms/search/types.d.cts +1 -1
  55. package/dist/atoms/widget/chatPreviewLoading.d.cts +2 -2
  56. package/dist/atoms/widget/chatPreviewLoading.d.ts +2 -2
  57. package/dist/contexts/featureFlagContext/featureFlagContext.cjs +1 -1
  58. package/dist/contexts/featureFlagContext/featureFlagContext.js +1 -1
  59. package/dist/contexts/featureFlagServiceContext/featureFlagServiceContext.cjs +1 -1
  60. package/dist/contexts/featureFlagServiceContext/featureFlagServiceContext.js +1 -1
  61. package/dist/contexts/graphqlContext/graphqlContext.cjs +41 -27
  62. package/dist/contexts/graphqlContext/graphqlContext.js +42 -27
  63. package/dist/contexts/graphqlContext/mockV3Config.cjs +47 -45
  64. package/dist/contexts/graphqlContext/mockV3Config.js +5 -3
  65. package/dist/contexts/newOrgConfigContext/newOrgConfigContext.cjs +1 -2
  66. package/dist/contexts/newOrgConfigContext/newOrgConfigContext.js +1 -2
  67. package/dist/contexts/salesAgentContext/chatAPI.cjs +26 -5
  68. package/dist/contexts/salesAgentContext/chatAPI.d.cts +7 -3
  69. package/dist/contexts/salesAgentContext/chatAPI.d.ts +7 -3
  70. package/dist/contexts/salesAgentContext/chatAPI.js +26 -5
  71. package/dist/contexts/salesAgentContext/salesAgentContext.cjs +4 -7
  72. package/dist/contexts/salesAgentContext/salesAgentContext.js +4 -7
  73. package/dist/contexts/salesAgentContext/salesAgentService.cjs +43 -18
  74. package/dist/contexts/salesAgentContext/salesAgentService.js +43 -18
  75. package/dist/contexts/systemSettingsContext/systemSettingsContext.d.cts +2 -2
  76. package/dist/contexts/systemSettingsContext/systemSettingsContext.d.ts +2 -2
  77. package/dist/contexts/types.d.cts +1 -1
  78. package/dist/contexts/types.d.ts +1 -1
  79. package/dist/contexts/typesV3.cjs +1 -1
  80. package/dist/contexts/typesV3.d.cts +4 -4
  81. package/dist/contexts/typesV3.d.ts +4 -4
  82. package/dist/contexts/typesV3.js +1 -1
  83. package/dist/contexts/userIdentityContext/userIdentityContext.cjs +1 -2
  84. package/dist/contexts/userIdentityContext/userIdentityContext.js +1 -2
  85. package/dist/hooks/GrabAndScroll/useGrabAndScroll.d.cts +2 -2
  86. package/dist/hooks/GrabAndScroll/useGrabAndScroll.d.ts +2 -2
  87. package/dist/hooks/GraphQLConfig/useGraphQLConfig.cjs +1 -2
  88. package/dist/hooks/GraphQLConfig/useGraphQLConfig.js +1 -2
  89. package/dist/hooks/Search/useSearchInput.cjs +1 -1
  90. package/dist/hooks/Search/useSearchInput.js +1 -1
  91. package/dist/hooks/utils.d.cts +1 -1
  92. package/dist/hooks/utils.d.ts +1 -1
  93. package/dist/packages/components-v3/dist/ChatHeader/hooks/useGetCloseButtonProperties.cjs +1 -1
  94. package/dist/packages/components-v3/dist/ChatHeader/hooks/useGetCloseButtonProperties.js +1 -1
  95. package/dist/packages/components-v3/dist/Container/Container.cjs +1 -1
  96. package/dist/packages/components-v3/dist/Container/Container.js +1 -1
  97. package/dist/packages/components-v3/dist/FloatingButton/FloatingButton.cjs +2 -0
  98. package/dist/packages/components-v3/dist/FloatingButton/FloatingButton.js +4 -0
  99. package/dist/packages/components-v3/dist/FloatingButton/components/Button.cjs +9 -0
  100. package/dist/packages/components-v3/dist/FloatingButton/components/Button.js +10 -0
  101. package/dist/packages/components-v3/dist/FloatingButton/components/Container.cjs +9 -0
  102. package/dist/packages/components-v3/dist/FloatingButton/components/Container.js +10 -0
  103. package/dist/packages/components-v3/dist/FloatingButton/components/Icon.cjs +3 -0
  104. package/dist/packages/components-v3/dist/FloatingButton/components/Icon.js +5 -0
  105. package/dist/packages/components-v3/dist/FloatingButton/components/Wrapper.cjs +9 -0
  106. package/dist/packages/components-v3/dist/FloatingButton/components/Wrapper.js +10 -0
  107. package/dist/packages/components-v3/dist/FloatingButton/components/index.cjs +4 -0
  108. package/dist/packages/components-v3/dist/FloatingButton/components/index.js +6 -0
  109. package/dist/packages/components-v3/dist/FloatingButton/index.cjs +2 -0
  110. package/dist/packages/components-v3/dist/FloatingButton/index.js +4 -0
  111. package/dist/packages/components-v3/dist/FloatingButton/types/types.cjs +17 -0
  112. package/dist/packages/components-v3/dist/FloatingButton/types/types.js +16 -0
  113. package/dist/packages/components-v3/dist/ImageGallery/components/Layout.cjs +1 -1
  114. package/dist/packages/components-v3/dist/ImageGallery/components/Layout.js +1 -1
  115. package/dist/packages/components-v3/dist/WelcomeMessage/components/SparkleIcon.cjs +1 -1
  116. package/dist/packages/components-v3/dist/WelcomeMessage/components/SparkleIcon.js +1 -1
  117. package/dist/packages/components-v3/dist/utils/CustomIcon.cjs +2 -0
  118. package/dist/packages/components-v3/dist/utils/CustomIcon.js +4 -0
  119. package/dist/services/amplitudeService/amplitudeService.cjs +5 -2
  120. package/dist/services/amplitudeService/amplitudeService.js +5 -2
  121. package/package.json +1 -5
  122. package/src/application/models/api/userEvent.ts +3 -1
  123. package/src/application/models/graphql/queries/getColorsAndFrontendQuery.ts +13 -0
  124. package/src/application/models/guards/api/isApiQueryTypedEventAttributes.ts +6 -1
  125. package/src/atoms/chat/index.ts +0 -1
  126. package/src/contexts/graphqlContext/graphqlContext.tsx +32 -41
  127. package/src/contexts/graphqlContext/mockV3Config.ts +3 -2
  128. package/src/contexts/newOrgConfigContext/newOrgConfigContext.tsx +0 -1
  129. package/src/contexts/salesAgentContext/chatAPI.ts +21 -4
  130. package/src/contexts/salesAgentContext/salesAgentContext.tsx +3 -7
  131. package/src/contexts/salesAgentContext/salesAgentService.ts +36 -11
  132. package/src/contexts/typesV3.ts +3 -4
  133. package/src/contexts/uiConfigContext/__tests__/uiConfigContext.test.tsx +3 -2
  134. package/src/contexts/userIdentityContext/userIdentityContext.tsx +0 -1
  135. package/src/hooks/GraphQLConfig/useGraphQLConfig.ts +0 -1
  136. package/src/services/amplitudeService/__tests__/amplitudeService.test.ts +0 -15
  137. package/src/services/amplitudeService/amplitudeService.ts +2 -1
  138. package/dist/atoms/chat/replies.cjs +0 -46
  139. package/dist/atoms/chat/replies.d.cts +0 -14
  140. package/dist/atoms/chat/replies.d.ts +0 -14
  141. package/dist/atoms/chat/replies.js +0 -45
  142. package/src/atoms/chat/replies.ts +0 -56
@@ -1,8 +1,8 @@
1
1
  import { Message } from "../../application/models/message.cjs";
2
- import * as jotai62 from "jotai";
2
+ import * as jotai57 from "jotai";
3
3
 
4
4
  //#region src/atoms/chat/lastMessage.d.ts
5
- declare const lastAssistantMessageAtom: jotai62.Atom<Message[] | null>;
5
+ declare const lastAssistantMessageAtom: jotai57.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 jotai32 from "jotai";
2
+ import * as jotai42 from "jotai";
3
3
 
4
4
  //#region src/atoms/chat/lastMessage.d.ts
5
- declare const lastAssistantMessageAtom: jotai32.Atom<Message[] | null>;
5
+ declare const lastAssistantMessageAtom: jotai42.Atom<Message[] | null>;
6
6
  //#endregion
7
7
  export { lastAssistantMessageAtom };
8
8
  //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFzdE1lc3NhZ2UuZC50cyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYXRvbXMvY2hhdC9sYXN0TWVzc2FnZS5kLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBkZWNsYXJlIGNvbnN0IGxhc3RBc3Npc3RhbnRNZXNzYWdlQXRvbTogaW1wb3J0KFwiam90YWlcIikuQXRvbTxpbXBvcnQoXCIuLi8uLi9hcHBsaWNhdGlvbi9tb2RlbHNcIikuTWVzc2FnZVtdIHwgbnVsbD47XG4iXSwibWFwcGluZ3MiOiIifQ==
@@ -1,4 +1,4 @@
1
- import * as jotai55 from "jotai";
1
+ import * as jotai52 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: jotai55.WritableAtom<string | undefined, [string | typeof jotai_utils1.RESET | ((prev: string | undefined) => string | typeof jotai_utils1.RESET | undefined) | undefined], void>;
27
- declare const pageLoadOffsetTimeAtom: jotai55.WritableAtom<string | undefined, [string | typeof jotai_utils1.RESET | ((prev: string | undefined) => string | typeof jotai_utils1.RESET | undefined) | undefined], void>;
26
+ declare const appInitialStartTimeMsAtom: jotai52.WritableAtom<string | undefined, [string | typeof jotai_utils1.RESET | ((prev: string | undefined) => string | typeof jotai_utils1.RESET | undefined) | undefined], void>;
27
+ declare const pageLoadOffsetTimeAtom: jotai52.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: jotai55.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: jotai55.Atom<Map<PerfMetricsEvents, number>>;
36
- declare const hasReportedPerformanceMetricsAtom: jotai55.PrimitiveAtom<boolean> & {
35
+ declare const performanceMetricsAtom: jotai52.Atom<Map<PerfMetricsEvents, number>>;
36
+ declare const hasReportedPerformanceMetricsAtom: jotai52.PrimitiveAtom<boolean> & {
37
37
  init: boolean;
38
38
  };
39
39
  /**
@@ -42,7 +42,7 @@ declare const hasReportedPerformanceMetricsAtom: jotai55.PrimitiveAtom<boolean>
42
42
  *
43
43
  * @param value The performance metric name to log.
44
44
  */
45
- declare const logPerfMetricAtom: jotai55.WritableAtom<null, [value: PerfMetricsEvents], void> & {
45
+ declare const logPerfMetricAtom: jotai52.WritableAtom<null, [value: PerfMetricsEvents], void> & {
46
46
  init: null;
47
47
  };
48
48
  //#endregion
@@ -1,4 +1,4 @@
1
- import * as jotai27 from "jotai";
1
+ import * as jotai36 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: jotai27.WritableAtom<string | undefined, [string | typeof jotai_utils1.RESET | ((prev: string | undefined) => string | typeof jotai_utils1.RESET | undefined) | undefined], void>;
27
- declare const pageLoadOffsetTimeAtom: jotai27.WritableAtom<string | undefined, [string | typeof jotai_utils1.RESET | ((prev: string | undefined) => string | typeof jotai_utils1.RESET | undefined) | undefined], void>;
26
+ declare const appInitialStartTimeMsAtom: jotai36.WritableAtom<string | undefined, [string | typeof jotai_utils1.RESET | ((prev: string | undefined) => string | typeof jotai_utils1.RESET | undefined) | undefined], void>;
27
+ declare const pageLoadOffsetTimeAtom: jotai36.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: jotai27.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: jotai27.Atom<Map<PerfMetricsEvents, number>>;
36
- declare const hasReportedPerformanceMetricsAtom: jotai27.PrimitiveAtom<boolean> & {
35
+ declare const performanceMetricsAtom: jotai36.Atom<Map<PerfMetricsEvents, number>>;
36
+ declare const hasReportedPerformanceMetricsAtom: jotai36.PrimitiveAtom<boolean> & {
37
37
  init: boolean;
38
38
  };
39
39
  /**
@@ -42,7 +42,7 @@ declare const hasReportedPerformanceMetricsAtom: jotai27.PrimitiveAtom<boolean>
42
42
  *
43
43
  * @param value The performance metric name to log.
44
44
  */
45
- declare const logPerfMetricAtom: jotai27.WritableAtom<null, [value: PerfMetricsEvents], void> & {
45
+ declare const logPerfMetricAtom: jotai36.WritableAtom<null, [value: PerfMetricsEvents], void> & {
46
46
  init: null;
47
47
  };
48
48
  //#endregion
@@ -1,7 +1,7 @@
1
- import * as jotai63 from "jotai";
1
+ import * as jotai51 from "jotai";
2
2
 
3
3
  //#region src/atoms/chat/renderedWidgetRefs.d.ts
4
- declare const widgetArrayAtom: jotai63.Atom<HTMLElement[]>;
4
+ declare const widgetArrayAtom: jotai51.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 jotai34 from "jotai";
1
+ import * as jotai47 from "jotai";
2
2
 
3
3
  //#region src/atoms/chat/renderedWidgetRefs.d.ts
4
- declare const widgetArrayAtom: jotai34.Atom<HTMLElement[]>;
4
+ declare const widgetArrayAtom: jotai47.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,8 +1,8 @@
1
1
  import { Suggestion } from "../../application/models/api/suggestion.cjs";
2
- import * as jotai60 from "jotai";
2
+ import * as jotai50 from "jotai";
3
3
 
4
4
  //#region src/atoms/chat/suggestions.d.ts
5
- declare const handleSuggestionAtom: jotai60.WritableAtom<null, [suggestion: Suggestion], void> & {
5
+ declare const handleSuggestionAtom: jotai50.WritableAtom<null, [suggestion: Suggestion], void> & {
6
6
  init: null;
7
7
  };
8
8
  //#endregion
@@ -1,8 +1,8 @@
1
1
  import { Suggestion } from "../../application/models/api/suggestion.js";
2
- import * as jotai35 from "jotai";
2
+ import * as jotai41 from "jotai";
3
3
 
4
4
  //#region src/atoms/chat/suggestions.d.ts
5
- declare const handleSuggestionAtom: jotai35.WritableAtom<null, [suggestion: Suggestion], void> & {
5
+ declare const handleSuggestionAtom: jotai41.WritableAtom<null, [suggestion: Suggestion], void> & {
6
6
  init: null;
7
7
  };
8
8
  //#endregion
@@ -1,7 +1,7 @@
1
- import * as jotai22 from "jotai";
1
+ import * as jotai72 from "jotai";
2
2
 
3
3
  //#region src/atoms/globalSearch/globalSearch.d.ts
4
- declare const autocompleteStateAtom: jotai22.PrimitiveAtom<{
4
+ declare const autocompleteStateAtom: jotai72.PrimitiveAtom<{
5
5
  results: string[];
6
6
  isLoading: boolean;
7
7
  }> & {
@@ -10,13 +10,13 @@ declare const autocompleteStateAtom: jotai22.PrimitiveAtom<{
10
10
  isLoading: boolean;
11
11
  };
12
12
  };
13
- declare const isFilterOpenAtom: jotai22.PrimitiveAtom<boolean> & {
13
+ declare const isFilterOpenAtom: jotai72.PrimitiveAtom<boolean> & {
14
14
  init: boolean;
15
15
  };
16
- declare const isGlobalSearchOpenAtom: jotai22.PrimitiveAtom<boolean> & {
16
+ declare const isGlobalSearchOpenAtom: jotai72.PrimitiveAtom<boolean> & {
17
17
  init: boolean;
18
18
  };
19
- declare const isSearchResultsOpenAtom: jotai22.PrimitiveAtom<boolean> & {
19
+ declare const isSearchResultsOpenAtom: jotai72.PrimitiveAtom<boolean> & {
20
20
  init: boolean;
21
21
  };
22
22
  //#endregion
@@ -1,7 +1,7 @@
1
- import * as jotai23 from "jotai";
1
+ import * as jotai43 from "jotai";
2
2
 
3
3
  //#region src/atoms/globalSearch/globalSearch.d.ts
4
- declare const autocompleteStateAtom: jotai23.PrimitiveAtom<{
4
+ declare const autocompleteStateAtom: jotai43.PrimitiveAtom<{
5
5
  results: string[];
6
6
  isLoading: boolean;
7
7
  }> & {
@@ -10,13 +10,13 @@ declare const autocompleteStateAtom: jotai23.PrimitiveAtom<{
10
10
  isLoading: boolean;
11
11
  };
12
12
  };
13
- declare const isFilterOpenAtom: jotai23.PrimitiveAtom<boolean> & {
13
+ declare const isFilterOpenAtom: jotai43.PrimitiveAtom<boolean> & {
14
14
  init: boolean;
15
15
  };
16
- declare const isGlobalSearchOpenAtom: jotai23.PrimitiveAtom<boolean> & {
16
+ declare const isGlobalSearchOpenAtom: jotai43.PrimitiveAtom<boolean> & {
17
17
  init: boolean;
18
18
  };
19
- declare const isSearchResultsOpenAtom: jotai23.PrimitiveAtom<boolean> & {
19
+ declare const isSearchResultsOpenAtom: jotai43.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 jotai85 from "jotai";
3
+ import * as jotai59 from "jotai";
4
4
 
5
5
  //#region src/atoms/org/customerService.d.ts
6
- declare const isBusinessHoursAtom: jotai85.PrimitiveAtom<boolean> & {
6
+ declare const isBusinessHoursAtom: jotai59.PrimitiveAtom<boolean> & {
7
7
  init: boolean;
8
8
  };
9
- declare const isCustomerServiceOpenAtom: jotai85.PrimitiveAtom<boolean> & {
9
+ declare const isCustomerServiceOpenAtom: jotai59.PrimitiveAtom<boolean> & {
10
10
  init: boolean;
11
11
  };
12
- declare const customerServiceResponseAtom: jotai85.PrimitiveAtom<CustServiceConversationMessages | undefined> & {
12
+ declare const customerServiceResponseAtom: jotai59.PrimitiveAtom<CustServiceConversationMessages | undefined> & {
13
13
  init: CustServiceConversationMessages | undefined;
14
14
  };
15
- declare const customerServiceChatStateAtom: jotai85.PrimitiveAtom<ChatState | undefined> & {
15
+ declare const customerServiceChatStateAtom: jotai59.PrimitiveAtom<ChatState | undefined> & {
16
16
  init: ChatState | undefined;
17
17
  };
18
- declare const customerServiceAttachment: jotai85.PrimitiveAtom<AttachmentRequest | undefined> & {
18
+ declare const customerServiceAttachment: jotai59.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 jotai64 from "jotai";
3
+ import * as jotai22 from "jotai";
4
4
 
5
5
  //#region src/atoms/org/customerService.d.ts
6
- declare const isBusinessHoursAtom: jotai64.PrimitiveAtom<boolean> & {
6
+ declare const isBusinessHoursAtom: jotai22.PrimitiveAtom<boolean> & {
7
7
  init: boolean;
8
8
  };
9
- declare const isCustomerServiceOpenAtom: jotai64.PrimitiveAtom<boolean> & {
9
+ declare const isCustomerServiceOpenAtom: jotai22.PrimitiveAtom<boolean> & {
10
10
  init: boolean;
11
11
  };
12
- declare const customerServiceResponseAtom: jotai64.PrimitiveAtom<CustServiceConversationMessages | undefined> & {
12
+ declare const customerServiceResponseAtom: jotai22.PrimitiveAtom<CustServiceConversationMessages | undefined> & {
13
13
  init: CustServiceConversationMessages | undefined;
14
14
  };
15
- declare const customerServiceChatStateAtom: jotai64.PrimitiveAtom<ChatState | undefined> & {
15
+ declare const customerServiceChatStateAtom: jotai22.PrimitiveAtom<ChatState | undefined> & {
16
16
  init: ChatState | undefined;
17
17
  };
18
- declare const customerServiceAttachment: jotai64.PrimitiveAtom<AttachmentRequest | undefined> & {
18
+ declare const customerServiceAttachment: jotai22.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 jotai82 from "jotai";
4
+ import * as jotai64 from "jotai";
5
5
 
6
6
  //#region src/atoms/org/graphqlConfig.d.ts
7
- declare const internalGraphQLColorsConfigAtom: jotai82.PrimitiveAtom<ColorMapping | undefined> & {
7
+ declare const internalGraphQLColorsConfigAtom: jotai64.PrimitiveAtom<ColorMapping | undefined> & {
8
8
  init: ColorMapping | undefined;
9
9
  };
10
- declare const featureFlagServiceAtom: jotai82.PrimitiveAtom<FeatureFlagContextType | undefined> & {
10
+ declare const featureFlagServiceAtom: jotai64.PrimitiveAtom<FeatureFlagContextType | undefined> & {
11
11
  init: FeatureFlagContextType | undefined;
12
12
  };
13
- declare const frontendConfigAtom: jotai82.WritableAtom<FrontendConfig | undefined, [value: FrontendConfig | undefined], void>;
13
+ declare const frontendConfigAtom: jotai64.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 jotai69 from "jotai";
4
+ import * as jotai27 from "jotai";
5
5
 
6
6
  //#region src/atoms/org/graphqlConfig.d.ts
7
- declare const internalGraphQLColorsConfigAtom: jotai69.PrimitiveAtom<ColorMapping | undefined> & {
7
+ declare const internalGraphQLColorsConfigAtom: jotai27.PrimitiveAtom<ColorMapping | undefined> & {
8
8
  init: ColorMapping | undefined;
9
9
  };
10
- declare const featureFlagServiceAtom: jotai69.PrimitiveAtom<FeatureFlagContextType | undefined> & {
10
+ declare const featureFlagServiceAtom: jotai27.PrimitiveAtom<FeatureFlagContextType | undefined> & {
11
11
  init: FeatureFlagContextType | undefined;
12
12
  };
13
- declare const frontendConfigAtom: jotai69.WritableAtom<FrontendConfig | undefined, [value: FrontendConfig | undefined], void>;
13
+ declare const frontendConfigAtom: jotai27.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
@@ -1,8 +1,8 @@
1
1
  import { GraphQlConfigValues } from "../../contexts/graphqlContext/graphqlContext.cjs";
2
- import * as jotai90 from "jotai";
2
+ import * as jotai71 from "jotai";
3
3
 
4
4
  //#region src/atoms/org/newOrgConfigAtom.d.ts
5
- declare const newOrgConfigAtom: jotai90.PrimitiveAtom<GraphQlConfigValues | null> & {
5
+ declare const newOrgConfigAtom: jotai71.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 jotai76 from "jotai";
2
+ import * as jotai34 from "jotai";
3
3
 
4
4
  //#region src/atoms/org/newOrgConfigAtom.d.ts
5
- declare const newOrgConfigAtom: jotai76.PrimitiveAtom<GraphQlConfigValues | null> & {
5
+ declare const newOrgConfigAtom: jotai34.PrimitiveAtom<GraphQlConfigValues | null> & {
6
6
  init: GraphQlConfigValues | null;
7
7
  };
8
8
  //#endregion
@@ -1,11 +1,11 @@
1
1
  import { OrgAnalyticsAmplitudeConfig, OrgAnalyticsConfig, OrgAnalyticsCustomerServiceConfig, OrgAnalyticsGoogleAnalyticsConfig } from "../../application/models/api/orgAnalyticsConfig.cjs";
2
- import * as jotai78 from "jotai";
2
+ import * as jotai67 from "jotai";
3
3
 
4
4
  //#region src/atoms/org/orgAnalyticsConfig.d.ts
5
- declare const orgAnalyticsConfigAtom: jotai78.WritableAtom<OrgAnalyticsConfig | undefined, [value: OrgAnalyticsConfig], void>;
6
- declare const orgAnalyticsAmplitudeConfigAtom: jotai78.Atom<OrgAnalyticsAmplitudeConfig | undefined>;
7
- declare const orgAnalyticsCustomerServiceConfigAtom: jotai78.Atom<OrgAnalyticsCustomerServiceConfig | undefined>;
8
- declare const orgAnalyticsGoogleAnalyticsConfigAtom: jotai78.Atom<OrgAnalyticsGoogleAnalyticsConfig | undefined>;
5
+ declare const orgAnalyticsConfigAtom: jotai67.WritableAtom<OrgAnalyticsConfig | undefined, [value: OrgAnalyticsConfig], void>;
6
+ declare const orgAnalyticsAmplitudeConfigAtom: jotai67.Atom<OrgAnalyticsAmplitudeConfig | undefined>;
7
+ declare const orgAnalyticsCustomerServiceConfigAtom: jotai67.Atom<OrgAnalyticsCustomerServiceConfig | undefined>;
8
+ declare const orgAnalyticsGoogleAnalyticsConfigAtom: jotai67.Atom<OrgAnalyticsGoogleAnalyticsConfig | undefined>;
9
9
  //#endregion
10
10
  export { orgAnalyticsAmplitudeConfigAtom, orgAnalyticsConfigAtom, orgAnalyticsCustomerServiceConfigAtom, orgAnalyticsGoogleAnalyticsConfigAtom };
11
11
  //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JnQW5hbHl0aWNzQ29uZmlnLmQuY3RzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hdG9tcy9vcmcvb3JnQW5hbHl0aWNzQ29uZmlnLmQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgT3JnQW5hbHl0aWNzQW1wbGl0dWRlQ29uZmlnLCBPcmdBbmFseXRpY3NDb25maWcsIE9yZ0FuYWx5dGljc0N1c3RvbWVyU2VydmljZUNvbmZpZywgT3JnQW5hbHl0aWNzR29vZ2xlQW5hbHl0aWNzQ29uZmlnIH0gZnJvbSAnc3JjL2FwcGxpY2F0aW9uL21vZGVscy9hcGkvb3JnQW5hbHl0aWNzQ29uZmlnJztcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IG9yZ0FuYWx5dGljc0NvbmZpZ0F0b206IGltcG9ydChcImpvdGFpXCIpLldyaXRhYmxlQXRvbTxPcmdBbmFseXRpY3NDb25maWcgfCB1bmRlZmluZWQsIFt2YWx1ZTogT3JnQW5hbHl0aWNzQ29uZmlnXSwgdm9pZD47XG5leHBvcnQgZGVjbGFyZSBjb25zdCBvcmdBbmFseXRpY3NBbXBsaXR1ZGVDb25maWdBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5BdG9tPE9yZ0FuYWx5dGljc0FtcGxpdHVkZUNvbmZpZyB8IHVuZGVmaW5lZD47XG5leHBvcnQgZGVjbGFyZSBjb25zdCBvcmdBbmFseXRpY3NDdXN0b21lclNlcnZpY2VDb25maWdBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5BdG9tPE9yZ0FuYWx5dGljc0N1c3RvbWVyU2VydmljZUNvbmZpZyB8IHVuZGVmaW5lZD47XG5leHBvcnQgZGVjbGFyZSBjb25zdCBvcmdBbmFseXRpY3NHb29nbGVBbmFseXRpY3NDb25maWdBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5BdG9tPE9yZ0FuYWx5dGljc0dvb2dsZUFuYWx5dGljc0NvbmZpZyB8IHVuZGVmaW5lZD47XG4iXSwibWFwcGluZ3MiOiI7Ozs7QUFFQSxJQUFXLHlCQUF5QjtDQUFDO09BQVc7T0FBMEI7T0FBMEIsUUFBUTtDQUFPO0FBQ25ILElBQVcsa0NBQWtDO0NBQUM7T0FBVztPQUFtQyxRQUFRO0NBQUs7QUFDekcsSUFBVyx3Q0FBd0M7Q0FBQztPQUFXO09BQXlDLFFBQVE7Q0FBSyJ9
@@ -1,11 +1,11 @@
1
1
  import { OrgAnalyticsAmplitudeConfig, OrgAnalyticsConfig, OrgAnalyticsCustomerServiceConfig, OrgAnalyticsGoogleAnalyticsConfig } from "../../application/models/api/orgAnalyticsConfig.js";
2
- import * as jotai72 from "jotai";
2
+ import * as jotai30 from "jotai";
3
3
 
4
4
  //#region src/atoms/org/orgAnalyticsConfig.d.ts
5
- declare const orgAnalyticsConfigAtom: jotai72.WritableAtom<OrgAnalyticsConfig | undefined, [value: OrgAnalyticsConfig], void>;
6
- declare const orgAnalyticsAmplitudeConfigAtom: jotai72.Atom<OrgAnalyticsAmplitudeConfig | undefined>;
7
- declare const orgAnalyticsCustomerServiceConfigAtom: jotai72.Atom<OrgAnalyticsCustomerServiceConfig | undefined>;
8
- declare const orgAnalyticsGoogleAnalyticsConfigAtom: jotai72.Atom<OrgAnalyticsGoogleAnalyticsConfig | undefined>;
5
+ declare const orgAnalyticsConfigAtom: jotai30.WritableAtom<OrgAnalyticsConfig | undefined, [value: OrgAnalyticsConfig], void>;
6
+ declare const orgAnalyticsAmplitudeConfigAtom: jotai30.Atom<OrgAnalyticsAmplitudeConfig | undefined>;
7
+ declare const orgAnalyticsCustomerServiceConfigAtom: jotai30.Atom<OrgAnalyticsCustomerServiceConfig | undefined>;
8
+ declare const orgAnalyticsGoogleAnalyticsConfigAtom: jotai30.Atom<OrgAnalyticsGoogleAnalyticsConfig | undefined>;
9
9
  //#endregion
10
10
  export { orgAnalyticsAmplitudeConfigAtom, orgAnalyticsConfigAtom, orgAnalyticsCustomerServiceConfigAtom, orgAnalyticsGoogleAnalyticsConfigAtom };
11
11
  //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JnQW5hbHl0aWNzQ29uZmlnLmQudHMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2F0b21zL29yZy9vcmdBbmFseXRpY3NDb25maWcuZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBPcmdBbmFseXRpY3NBbXBsaXR1ZGVDb25maWcsIE9yZ0FuYWx5dGljc0NvbmZpZywgT3JnQW5hbHl0aWNzQ3VzdG9tZXJTZXJ2aWNlQ29uZmlnLCBPcmdBbmFseXRpY3NHb29nbGVBbmFseXRpY3NDb25maWcgfSBmcm9tICdzcmMvYXBwbGljYXRpb24vbW9kZWxzL2FwaS9vcmdBbmFseXRpY3NDb25maWcnO1xuZXhwb3J0IGRlY2xhcmUgY29uc3Qgb3JnQW5hbHl0aWNzQ29uZmlnQXRvbTogaW1wb3J0KFwiam90YWlcIikuV3JpdGFibGVBdG9tPE9yZ0FuYWx5dGljc0NvbmZpZyB8IHVuZGVmaW5lZCwgW3ZhbHVlOiBPcmdBbmFseXRpY3NDb25maWddLCB2b2lkPjtcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IG9yZ0FuYWx5dGljc0FtcGxpdHVkZUNvbmZpZ0F0b206IGltcG9ydChcImpvdGFpXCIpLkF0b208T3JnQW5hbHl0aWNzQW1wbGl0dWRlQ29uZmlnIHwgdW5kZWZpbmVkPjtcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IG9yZ0FuYWx5dGljc0N1c3RvbWVyU2VydmljZUNvbmZpZ0F0b206IGltcG9ydChcImpvdGFpXCIpLkF0b208T3JnQW5hbHl0aWNzQ3VzdG9tZXJTZXJ2aWNlQ29uZmlnIHwgdW5kZWZpbmVkPjtcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IG9yZ0FuYWx5dGljc0dvb2dsZUFuYWx5dGljc0NvbmZpZ0F0b206IGltcG9ydChcImpvdGFpXCIpLkF0b208T3JnQW5hbHl0aWNzR29vZ2xlQW5hbHl0aWNzQ29uZmlnIHwgdW5kZWZpbmVkPjtcbiJdLCJtYXBwaW5ncyI6Ijs7OztBQUVBLElBQVcseUJBQXlCO0NBQUM7T0FBVztPQUEwQjtPQUEwQixRQUFRO0NBQU87QUFDbkgsSUFBVyxrQ0FBa0M7Q0FBQztPQUFXO09BQW1DLFFBQVE7Q0FBSztBQUN6RyxJQUFXLHdDQUF3QztDQUFDO09BQVc7T0FBeUMsUUFBUTtDQUFLIn0=
@@ -1,16 +1,16 @@
1
1
  import { ProductResponseAttributes } from "../../application/models/api/response.cjs";
2
2
  import { Message } from "../../application/models/message.cjs";
3
3
  import { ChatSearchFilter, ChatSearchStateType, ProductSorting } from "./types.cjs";
4
- import * as jotai39 from "jotai";
4
+ import * as jotai34 from "jotai";
5
5
 
6
6
  //#region src/atoms/search/chatSearch.d.ts
7
- declare const chatSearchStateAtom: jotai39.PrimitiveAtom<ChatSearchStateType> & {
7
+ declare const chatSearchStateAtom: jotai34.PrimitiveAtom<ChatSearchStateType> & {
8
8
  init: ChatSearchStateType;
9
9
  };
10
- declare const chatSearchHasProductsAtom: jotai39.PrimitiveAtom<boolean> & {
10
+ declare const chatSearchHasProductsAtom: jotai34.PrimitiveAtom<boolean> & {
11
11
  init: boolean;
12
12
  };
13
- declare const chatSearchProductSortingAtom: jotai39.PrimitiveAtom<ProductSorting> & {
13
+ declare const chatSearchProductSortingAtom: jotai34.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: jotai39.PrimitiveAtom<boolean> & {
24
+ declare const chatSearchIsLoadingAtom: jotai34.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: jotai39.PrimitiveAtom<SelectedChatSearchFilterOption[]> & {
33
+ declare const selectedFilterOptionsAtom: jotai34.PrimitiveAtom<SelectedChatSearchFilterOption[]> & {
34
34
  init: SelectedChatSearchFilterOption[];
35
35
  };
36
- declare const additiveDynamicFiltersAtom: jotai39.Atom<boolean>;
36
+ declare const additiveDynamicFiltersAtom: jotai34.Atom<boolean>;
37
37
  declare const createChatSearchFilterOption: (filterId: string, filterItemId: string, displayName: string) => SelectedChatSearchFilterOption;
38
- declare const chatSearchParamsAtom: jotai39.WritableAtom<{
38
+ declare const chatSearchParamsAtom: jotai34.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: jotai39.WritableAtom<string | null, [value: string | null], void>;
46
- declare const chatSearchIdAtom: jotai39.WritableAtom<string | null, [value: string | null], void>;
47
- declare const ChatSearchTurnAtom: jotai39.Atom<{
45
+ declare const chatSearchQueryAtom: jotai34.WritableAtom<string | null, [value: string | null], void>;
46
+ declare const chatSearchIdAtom: jotai34.WritableAtom<string | null, [value: string | null], void>;
47
+ declare const ChatSearchTurnAtom: jotai34.Atom<{
48
48
  productList: {
49
49
  averageRating?: number | undefined;
50
50
  colors?: string[] | undefined;
@@ -74,7 +74,7 @@ declare const ChatSearchTurnAtom: jotai39.Atom<{
74
74
  filterList: string[];
75
75
  messages: Message[];
76
76
  } | null>;
77
- declare const chatSearchProducts: jotai39.Atom<{
77
+ declare const chatSearchProducts: jotai34.Atom<{
78
78
  averageRating?: number | undefined;
79
79
  colors?: string[] | undefined;
80
80
  description?: string | undefined;
@@ -97,19 +97,19 @@ declare const chatSearchProducts: jotai39.Atom<{
97
97
  title: string;
98
98
  url: string;
99
99
  }[]>;
100
- declare const chatSearchFiltersAtom: jotai39.Atom<ChatSearchFilter[]>;
100
+ declare const chatSearchFiltersAtom: jotai34.Atom<ChatSearchFilter[]>;
101
101
  declare const setSearchParams: (query: string) => void;
102
- declare const getSearchParamsAtom: jotai39.Atom<{
102
+ declare const getSearchParamsAtom: jotai34.Atom<{
103
103
  es: string | null;
104
104
  esq: string | null;
105
105
  }>;
106
- declare const initiateChatSearchAtom: jotai39.WritableAtom<null, [query: string], void> & {
106
+ declare const initiateChatSearchAtom: jotai34.WritableAtom<null, [query: string], void> & {
107
107
  init: null;
108
108
  };
109
- declare const handleSearchResultsAtom: jotai39.WritableAtom<null, [message: Message | undefined], void> & {
109
+ declare const handleSearchResultsAtom: jotai34.WritableAtom<null, [message: Message | undefined], void> & {
110
110
  init: null;
111
111
  };
112
- declare const setChatSearchParamsAtom: jotai39.WritableAtom<null, [query: string], void> & {
112
+ declare const setChatSearchParamsAtom: jotai34.WritableAtom<null, [query: string], void> & {
113
113
  init: null;
114
114
  };
115
115
  //#endregion
@@ -1,16 +1,16 @@
1
1
  import { ProductResponseAttributes } from "../../application/models/api/response.js";
2
2
  import { Message } from "../../application/models/message.js";
3
3
  import { ChatSearchFilter, ChatSearchStateType, ProductSorting } from "./types.js";
4
- import * as jotai48 from "jotai";
4
+ import * as jotai60 from "jotai";
5
5
 
6
6
  //#region src/atoms/search/chatSearch.d.ts
7
- declare const chatSearchStateAtom: jotai48.PrimitiveAtom<ChatSearchStateType> & {
7
+ declare const chatSearchStateAtom: jotai60.PrimitiveAtom<ChatSearchStateType> & {
8
8
  init: ChatSearchStateType;
9
9
  };
10
- declare const chatSearchHasProductsAtom: jotai48.PrimitiveAtom<boolean> & {
10
+ declare const chatSearchHasProductsAtom: jotai60.PrimitiveAtom<boolean> & {
11
11
  init: boolean;
12
12
  };
13
- declare const chatSearchProductSortingAtom: jotai48.PrimitiveAtom<ProductSorting> & {
13
+ declare const chatSearchProductSortingAtom: jotai60.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: jotai48.PrimitiveAtom<boolean> & {
24
+ declare const chatSearchIsLoadingAtom: jotai60.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: jotai48.PrimitiveAtom<SelectedChatSearchFilterOption[]> & {
33
+ declare const selectedFilterOptionsAtom: jotai60.PrimitiveAtom<SelectedChatSearchFilterOption[]> & {
34
34
  init: SelectedChatSearchFilterOption[];
35
35
  };
36
- declare const additiveDynamicFiltersAtom: jotai48.Atom<boolean>;
36
+ declare const additiveDynamicFiltersAtom: jotai60.Atom<boolean>;
37
37
  declare const createChatSearchFilterOption: (filterId: string, filterItemId: string, displayName: string) => SelectedChatSearchFilterOption;
38
- declare const chatSearchParamsAtom: jotai48.WritableAtom<{
38
+ declare const chatSearchParamsAtom: jotai60.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: 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<{
45
+ declare const chatSearchQueryAtom: jotai60.WritableAtom<string | null, [value: string | null], void>;
46
+ declare const chatSearchIdAtom: jotai60.WritableAtom<string | null, [value: string | null], void>;
47
+ declare const ChatSearchTurnAtom: jotai60.Atom<{
48
48
  productList: {
49
49
  averageRating?: number | undefined;
50
50
  colors?: string[] | undefined;
@@ -74,7 +74,7 @@ declare const ChatSearchTurnAtom: jotai48.Atom<{
74
74
  filterList: string[];
75
75
  messages: Message[];
76
76
  } | null>;
77
- declare const chatSearchProducts: jotai48.Atom<{
77
+ declare const chatSearchProducts: jotai60.Atom<{
78
78
  averageRating?: number | undefined;
79
79
  colors?: string[] | undefined;
80
80
  description?: string | undefined;
@@ -97,19 +97,19 @@ declare const chatSearchProducts: jotai48.Atom<{
97
97
  title: string;
98
98
  url: string;
99
99
  }[]>;
100
- declare const chatSearchFiltersAtom: jotai48.Atom<ChatSearchFilter[]>;
100
+ declare const chatSearchFiltersAtom: jotai60.Atom<ChatSearchFilter[]>;
101
101
  declare const setSearchParams: (query: string) => void;
102
- declare const getSearchParamsAtom: jotai48.Atom<{
102
+ declare const getSearchParamsAtom: jotai60.Atom<{
103
103
  es: string | null;
104
104
  esq: string | null;
105
105
  }>;
106
- declare const initiateChatSearchAtom: jotai48.WritableAtom<null, [query: string], void> & {
106
+ declare const initiateChatSearchAtom: jotai60.WritableAtom<null, [query: string], void> & {
107
107
  init: null;
108
108
  };
109
- declare const handleSearchResultsAtom: jotai48.WritableAtom<null, [message: Message | undefined], void> & {
109
+ declare const handleSearchResultsAtom: jotai60.WritableAtom<null, [message: Message | undefined], void> & {
110
110
  init: null;
111
111
  };
112
- declare const setChatSearchParamsAtom: jotai48.WritableAtom<null, [query: string], void> & {
112
+ declare const setChatSearchParamsAtom: jotai60.WritableAtom<null, [query: string], void> & {
113
113
  init: null;
114
114
  };
115
115
  //#endregion
@@ -1,6 +1,6 @@
1
1
  import { SearchParams, SearchResult } from "../../application/models/api/search.cjs";
2
2
  import { ChatSearchFilter, ProductSorting } from "./types.cjs";
3
- import * as jotai27 from "jotai";
3
+ import * as jotai22 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: jotai27.PrimitiveAtom<SearchState> & {
18
+ declare const searchAtom: jotai22.PrimitiveAtom<SearchState> & {
19
19
  init: SearchState;
20
20
  };
21
- declare const searchProductSortingAtom: jotai27.PrimitiveAtom<ProductSorting> & {
21
+ declare const searchProductSortingAtom: jotai22.PrimitiveAtom<ProductSorting> & {
22
22
  init: ProductSorting;
23
23
  };
24
- declare const searchSelectedFiltersAtom: jotai27.PrimitiveAtom<SelectedFilterOption[]> & {
24
+ declare const searchSelectedFiltersAtom: jotai22.PrimitiveAtom<SelectedFilterOption[]> & {
25
25
  init: SelectedFilterOption[];
26
26
  };
27
27
  declare const createFilterOption: (filterId: string, filterItemId: string, displayName: string) => SelectedFilterOption;
28
- declare const searchParamsAtom: jotai27.WritableAtom<{
28
+ declare const searchParamsAtom: jotai22.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: jotai27.PrimitiveAtom<boolean> & {
35
+ declare const internalSearchSystemStateAtom: jotai22.PrimitiveAtom<boolean> & {
36
36
  init: boolean;
37
37
  };
38
- declare const searchSystemAtom: jotai27.WritableAtom<boolean, [value: boolean], void>;
39
- declare const filteredSearchProductsAtom: jotai27.Atom<{
38
+ declare const searchSystemAtom: jotai22.WritableAtom<boolean, [value: boolean], void>;
39
+ declare const filteredSearchProductsAtom: jotai22.Atom<{
40
40
  averageRating?: number | undefined;
41
41
  colors?: string[] | undefined;
42
42
  description?: string | undefined;
@@ -59,17 +59,17 @@ declare const filteredSearchProductsAtom: jotai27.Atom<{
59
59
  title: string;
60
60
  url: string;
61
61
  }[]>;
62
- declare const searchFiltersAtom: jotai27.Atom<ChatSearchFilter[]>;
63
- declare const addSearchFilterAtom: jotai27.WritableAtom<null, [filter: SelectedFilterOption], void> & {
62
+ declare const searchFiltersAtom: jotai22.Atom<ChatSearchFilter[]>;
63
+ declare const addSearchFilterAtom: jotai22.WritableAtom<null, [filter: SelectedFilterOption], void> & {
64
64
  init: null;
65
65
  };
66
- declare const removeSearchFilterAtom: jotai27.WritableAtom<null, [filterId: string], void> & {
66
+ declare const removeSearchFilterAtom: jotai22.WritableAtom<null, [filterId: string], void> & {
67
67
  init: null;
68
68
  };
69
- declare const clearSearchFiltersAtom: jotai27.WritableAtom<null, [], void> & {
69
+ declare const clearSearchFiltersAtom: jotai22.WritableAtom<null, [], void> & {
70
70
  init: null;
71
71
  };
72
- declare const performSearchAtom: jotai27.WritableAtom<null, [params: SearchParams, allowRedirect?: unknown], Promise<void>> & {
72
+ declare const performSearchAtom: jotai22.WritableAtom<null, [params: SearchParams, allowRedirect?: unknown], Promise<void>> & {
73
73
  init: null;
74
74
  };
75
75
  //#endregion