@envive-ai/react-hooks 0.3.43 → 0.3.45

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 (101) hide show
  1. package/dist/application/models/api/responseGenerics.d.cts +4 -2
  2. package/dist/application/models/api/responseGenerics.d.ts +4 -2
  3. package/dist/application/models/index.cjs +1 -2
  4. package/dist/application/models/index.d.cts +2 -2
  5. package/dist/application/models/index.d.ts +2 -2
  6. package/dist/application/models/index.js +1 -2
  7. package/dist/application/models/validators/validateGraphQLFrontendConfig.cjs +4 -4
  8. package/dist/application/models/validators/validateGraphQLFrontendConfig.js +4 -4
  9. package/dist/application/models/validators/validateResponse.cjs +3 -2
  10. package/dist/application/models/validators/validateResponse.js +3 -2
  11. package/dist/application/utils/elementObserver.d.cts +2 -2
  12. package/dist/application/utils/elementObserver.d.ts +2 -2
  13. package/dist/application/utils/urlsParser.cjs +1 -2
  14. package/dist/application/utils/urlsParser.js +1 -2
  15. package/dist/atoms/app/index.d.cts +7 -7
  16. package/dist/atoms/app/index.d.ts +7 -7
  17. package/dist/atoms/chat/chatState.d.cts +18 -18
  18. package/dist/atoms/chat/chatState.d.ts +19 -19
  19. package/dist/atoms/chat/form.d.cts +2 -2
  20. package/dist/atoms/chat/form.d.ts +2 -2
  21. package/dist/atoms/chat/index.cjs +1 -1
  22. package/dist/atoms/chat/index.d.cts +3 -3
  23. package/dist/atoms/chat/index.d.ts +2 -2
  24. package/dist/atoms/chat/index.js +1 -1
  25. package/dist/atoms/chat/lastMessage.d.cts +2 -2
  26. package/dist/atoms/chat/lastMessage.d.ts +2 -2
  27. package/dist/atoms/chat/messageQueue.d.cts +6 -6
  28. package/dist/atoms/chat/messageQueue.d.ts +6 -6
  29. package/dist/atoms/chat/performanceMetrics.d.cts +6 -6
  30. package/dist/atoms/chat/performanceMetrics.d.ts +6 -6
  31. package/dist/atoms/chat/renderedWidgetRefs.d.cts +2 -2
  32. package/dist/atoms/chat/renderedWidgetRefs.d.ts +2 -2
  33. package/dist/atoms/chat/replies.d.cts +3 -3
  34. package/dist/atoms/chat/replies.d.ts +2 -2
  35. package/dist/atoms/chat/suggestions.d.cts +2 -2
  36. package/dist/atoms/chat/suggestions.d.ts +2 -2
  37. package/dist/atoms/envive/enviveConfig.d.cts +13 -13
  38. package/dist/atoms/envive/enviveConfig.d.ts +13 -13
  39. package/dist/atoms/globalSearch/globalSearch.d.cts +5 -5
  40. package/dist/atoms/globalSearch/globalSearch.d.ts +5 -5
  41. package/dist/atoms/org/customerService.d.cts +6 -6
  42. package/dist/atoms/org/customerService.d.ts +6 -6
  43. package/dist/atoms/org/graphqlConfig.d.cts +4 -4
  44. package/dist/atoms/org/graphqlConfig.d.ts +4 -4
  45. package/dist/atoms/org/index.cjs +1 -1
  46. package/dist/atoms/org/index.js +1 -1
  47. package/dist/atoms/org/newOrgConfigAtom.d.cts +2 -2
  48. package/dist/atoms/org/newOrgConfigAtom.d.ts +2 -2
  49. package/dist/atoms/org/orgAnalyticsConfig.d.cts +4 -4
  50. package/dist/atoms/org/orgAnalyticsConfig.d.ts +4 -4
  51. package/dist/atoms/search/chatSearch.cjs +1 -1
  52. package/dist/atoms/search/chatSearch.d.cts +17 -17
  53. package/dist/atoms/search/chatSearch.d.ts +17 -17
  54. package/dist/atoms/search/chatSearch.js +1 -1
  55. package/dist/atoms/search/searchAPI.cjs +1 -1
  56. package/dist/atoms/search/searchAPI.d.cts +13 -13
  57. package/dist/atoms/search/searchAPI.d.ts +13 -13
  58. package/dist/atoms/search/searchAPI.js +1 -1
  59. package/dist/atoms/widget/chatPreviewLoading.d.cts +2 -2
  60. package/dist/atoms/widget/chatPreviewLoading.d.ts +2 -2
  61. package/dist/contexts/enviveContext/types.d.cts +1 -1
  62. package/dist/contexts/enviveContext/types.d.ts +1 -1
  63. package/dist/contexts/salesAgentContext/chatAPI.cjs +2 -2
  64. package/dist/contexts/salesAgentContext/chatAPI.js +2 -2
  65. package/dist/contexts/salesAgentContext/salesAgentService.cjs +1 -1
  66. package/dist/contexts/salesAgentContext/salesAgentService.js +1 -1
  67. package/dist/contexts/searchContext/searchContext.cjs +1 -1
  68. package/dist/contexts/searchContext/searchContext.js +1 -1
  69. package/dist/contexts/systemSettingsContext/systemSettingsContext.d.cts +2 -2
  70. package/dist/contexts/systemSettingsContext/systemSettingsContext.d.ts +2 -2
  71. package/dist/contexts/types.cjs +1 -1
  72. package/dist/contexts/types.d.cts +2 -2
  73. package/dist/contexts/types.d.ts +2 -2
  74. package/dist/contexts/types.js +1 -1
  75. package/dist/contexts/typesV3.d.cts +1 -1
  76. package/dist/contexts/typesV3.d.ts +1 -1
  77. package/dist/contexts/widgetConfigContext/widgetConfigContext.cjs +1 -1
  78. package/dist/contexts/widgetConfigContext/widgetConfigContext.js +1 -1
  79. package/dist/hooks/ChatToggle/useChatToggle.cjs +1 -1
  80. package/dist/hooks/ChatToggle/useChatToggle.js +1 -1
  81. package/dist/hooks/GrabAndScroll/useGrabAndScroll.d.cts +2 -2
  82. package/dist/hooks/GrabAndScroll/useGrabAndScroll.d.ts +2 -2
  83. package/dist/hooks/Search/useSearch.cjs +3 -3
  84. package/dist/hooks/Search/useSearch.js +3 -3
  85. package/dist/hooks/utils.d.cts +1 -1
  86. package/dist/mocks/salesAgentMockData.cjs +2 -2
  87. package/dist/mocks/salesAgentMockData.js +2 -2
  88. package/dist/services/amplitudeService/amplitudeService.cjs +1 -1
  89. package/dist/services/amplitudeService/amplitudeService.js +1 -1
  90. package/dist/services/enviveConfigService/fetchGraphQLConfig.cjs +15 -4
  91. package/dist/services/enviveConfigService/fetchGraphQLConfig.js +15 -4
  92. package/dist/services/hardcopyService/hardcopyService.cjs +1 -1
  93. package/dist/services/hardcopyService/hardcopyService.js +1 -1
  94. package/package.json +1 -1
  95. package/src/application/models/api/responseGenerics.ts +3 -0
  96. package/src/application/models/validators/validateGraphQLFrontendConfig.ts +3 -3
  97. package/src/application/models/validators/validateResponse.ts +1 -0
  98. package/src/application/utils/urlsParser.ts +0 -2
  99. package/src/contexts/types.ts +1 -1
  100. package/src/mocks/salesAgentMockData.ts +1 -1
  101. package/src/services/enviveConfigService/fetchGraphQLConfig.ts +13 -2
@@ -1,19 +1,19 @@
1
1
  import { EnviveConfig } from "../../contexts/types.js";
2
2
  import { ContextSourceEnum } from "@spiffy-ai/commerce-api-client";
3
- import * as jotai23 from "jotai";
3
+ import * as jotai0 from "jotai";
4
4
 
5
5
  //#region src/atoms/envive/enviveConfig.d.ts
6
- declare const enviveConfigAtom: jotai23.WritableAtom<EnviveConfig | undefined, [value: EnviveConfig], void>;
7
- declare const amplitudeApiKeyAtom: jotai23.Atom<string | undefined>;
8
- declare const dataResidencyAtom: jotai23.Atom<string | undefined>;
9
- declare const envAtom: jotai23.Atom<string | undefined>;
10
- declare const baseUrlAtom: jotai23.Atom<string>;
11
- declare const reactAppNameAtom: jotai23.Atom<string | undefined>;
12
- declare const cdnUrlAtom: jotai23.Atom<string | undefined>;
13
- declare const orgIdAtom: jotai23.Atom<string | undefined>;
14
- declare const contextSourceAtom: jotai23.Atom<ContextSourceEnum>;
15
- declare const orgLevelApiKeyAtom: jotai23.Atom<string | undefined>;
16
- declare const orgShortNameAtom: jotai23.Atom<string | undefined>;
6
+ declare const enviveConfigAtom: jotai0.WritableAtom<EnviveConfig | undefined, [value: EnviveConfig], void>;
7
+ declare const amplitudeApiKeyAtom: jotai0.Atom<string | undefined>;
8
+ declare const dataResidencyAtom: jotai0.Atom<string | undefined>;
9
+ declare const envAtom: jotai0.Atom<string | undefined>;
10
+ declare const baseUrlAtom: jotai0.Atom<string>;
11
+ declare const reactAppNameAtom: jotai0.Atom<string | undefined>;
12
+ declare const cdnUrlAtom: jotai0.Atom<string | undefined>;
13
+ declare const orgIdAtom: jotai0.Atom<string | undefined>;
14
+ declare const contextSourceAtom: jotai0.Atom<ContextSourceEnum>;
15
+ declare const orgLevelApiKeyAtom: jotai0.Atom<string | undefined>;
16
+ declare const orgShortNameAtom: jotai0.Atom<string | undefined>;
17
17
  //#endregion
18
18
  export { amplitudeApiKeyAtom, baseUrlAtom, cdnUrlAtom, contextSourceAtom, dataResidencyAtom, envAtom, enviveConfigAtom, orgIdAtom, orgLevelApiKeyAtom, orgShortNameAtom, reactAppNameAtom };
19
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW52aXZlQ29uZmlnLmQudHMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2F0b21zL2Vudml2ZS9lbnZpdmVDb25maWcuZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBFbnZpdmVDb25maWcgfSBmcm9tICdzcmMvY29udGV4dHMvdHlwZXMnO1xuaW1wb3J0IHsgQ29udGV4dFNvdXJjZUVudW0gfSBmcm9tICdAc3BpZmZ5LWFpL2NvbW1lcmNlLWFwaS1jbGllbnQnO1xuZXhwb3J0IGRlY2xhcmUgY29uc3QgZW52aXZlQ29uZmlnQXRvbTogaW1wb3J0KFwiam90YWlcIikuV3JpdGFibGVBdG9tPEVudml2ZUNvbmZpZyB8IHVuZGVmaW5lZCwgW3ZhbHVlOiBFbnZpdmVDb25maWddLCB2b2lkPjtcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IGFtcGxpdHVkZUFwaUtleUF0b206IGltcG9ydChcImpvdGFpXCIpLkF0b208c3RyaW5nIHwgdW5kZWZpbmVkPjtcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IGRhdGFSZXNpZGVuY3lBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5BdG9tPHN0cmluZyB8IHVuZGVmaW5lZD47XG5leHBvcnQgZGVjbGFyZSBjb25zdCBlbnZBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5BdG9tPHN0cmluZyB8IHVuZGVmaW5lZD47XG5leHBvcnQgZGVjbGFyZSBjb25zdCBiYXNlVXJsQXRvbTogaW1wb3J0KFwiam90YWlcIikuQXRvbTx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QUFLO0FBQy9DLElBQVcsWUFBWSxDQUFDLFVBQVUsT0FBTyxLQUFLO0FBQzlDLElBQVcsb0JBQW9CO0NBQUM7T0FBVTtPQUF5QixPQUFPO0NBQUs7QUFDL0UsSUFBVyxxQkFBcUIsQ0FBQyxVQUFVLE9BQU8sS0FBSyJ9
@@ -1,7 +1,7 @@
1
- import * as jotai63 from "jotai";
1
+ import * as jotai88 from "jotai";
2
2
 
3
3
  //#region src/atoms/globalSearch/globalSearch.d.ts
4
- declare const autocompleteStateAtom: jotai63.PrimitiveAtom<{
4
+ declare const autocompleteStateAtom: jotai88.PrimitiveAtom<{
5
5
  results: string[];
6
6
  isLoading: boolean;
7
7
  }> & {
@@ -10,13 +10,13 @@ declare const autocompleteStateAtom: jotai63.PrimitiveAtom<{
10
10
  isLoading: boolean;
11
11
  };
12
12
  };
13
- declare const isFilterOpenAtom: jotai63.PrimitiveAtom<boolean> & {
13
+ declare const isFilterOpenAtom: jotai88.PrimitiveAtom<boolean> & {
14
14
  init: boolean;
15
15
  };
16
- declare const isGlobalSearchOpenAtom: jotai63.PrimitiveAtom<boolean> & {
16
+ declare const isGlobalSearchOpenAtom: jotai88.PrimitiveAtom<boolean> & {
17
17
  init: boolean;
18
18
  };
19
- declare const isSearchResultsOpenAtom: jotai63.PrimitiveAtom<boolean> & {
19
+ declare const isSearchResultsOpenAtom: jotai88.PrimitiveAtom<boolean> & {
20
20
  init: boolean;
21
21
  };
22
22
  //#endregion
@@ -1,7 +1,7 @@
1
- import * as jotai76 from "jotai";
1
+ import * as jotai48 from "jotai";
2
2
 
3
3
  //#region src/atoms/globalSearch/globalSearch.d.ts
4
- declare const autocompleteStateAtom: jotai76.PrimitiveAtom<{
4
+ declare const autocompleteStateAtom: jotai48.PrimitiveAtom<{
5
5
  results: string[];
6
6
  isLoading: boolean;
7
7
  }> & {
@@ -10,13 +10,13 @@ declare const autocompleteStateAtom: jotai76.PrimitiveAtom<{
10
10
  isLoading: boolean;
11
11
  };
12
12
  };
13
- declare const isFilterOpenAtom: jotai76.PrimitiveAtom<boolean> & {
13
+ declare const isFilterOpenAtom: jotai48.PrimitiveAtom<boolean> & {
14
14
  init: boolean;
15
15
  };
16
- declare const isGlobalSearchOpenAtom: jotai76.PrimitiveAtom<boolean> & {
16
+ declare const isGlobalSearchOpenAtom: jotai48.PrimitiveAtom<boolean> & {
17
17
  init: boolean;
18
18
  };
19
- declare const isSearchResultsOpenAtom: jotai76.PrimitiveAtom<boolean> & {
19
+ declare const isSearchResultsOpenAtom: jotai48.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 jotai71 from "jotai";
3
+ import * as jotai60 from "jotai";
4
4
 
5
5
  //#region src/atoms/org/customerService.d.ts
6
- declare const isBusinessHoursAtom: jotai71.PrimitiveAtom<boolean> & {
6
+ declare const isBusinessHoursAtom: jotai60.PrimitiveAtom<boolean> & {
7
7
  init: boolean;
8
8
  };
9
- declare const isCustomerServiceOpenAtom: jotai71.PrimitiveAtom<boolean> & {
9
+ declare const isCustomerServiceOpenAtom: jotai60.PrimitiveAtom<boolean> & {
10
10
  init: boolean;
11
11
  };
12
- declare const customerServiceResponseAtom: jotai71.PrimitiveAtom<CustServiceConversationMessages | undefined> & {
12
+ declare const customerServiceResponseAtom: jotai60.PrimitiveAtom<CustServiceConversationMessages | undefined> & {
13
13
  init: CustServiceConversationMessages | undefined;
14
14
  };
15
- declare const customerServiceChatStateAtom: jotai71.PrimitiveAtom<ChatState | undefined> & {
15
+ declare const customerServiceChatStateAtom: jotai60.PrimitiveAtom<ChatState | undefined> & {
16
16
  init: ChatState | undefined;
17
17
  };
18
- declare const customerServiceAttachment: jotai71.PrimitiveAtom<AttachmentRequest | undefined> & {
18
+ declare const customerServiceAttachment: jotai60.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 jotai81 from "jotai";
3
+ import * as jotai52 from "jotai";
4
4
 
5
5
  //#region src/atoms/org/customerService.d.ts
6
- declare const isBusinessHoursAtom: jotai81.PrimitiveAtom<boolean> & {
6
+ declare const isBusinessHoursAtom: jotai52.PrimitiveAtom<boolean> & {
7
7
  init: boolean;
8
8
  };
9
- declare const isCustomerServiceOpenAtom: jotai81.PrimitiveAtom<boolean> & {
9
+ declare const isCustomerServiceOpenAtom: jotai52.PrimitiveAtom<boolean> & {
10
10
  init: boolean;
11
11
  };
12
- declare const customerServiceResponseAtom: jotai81.PrimitiveAtom<CustServiceConversationMessages | undefined> & {
12
+ declare const customerServiceResponseAtom: jotai52.PrimitiveAtom<CustServiceConversationMessages | undefined> & {
13
13
  init: CustServiceConversationMessages | undefined;
14
14
  };
15
- declare const customerServiceChatStateAtom: jotai81.PrimitiveAtom<ChatState | undefined> & {
15
+ declare const customerServiceChatStateAtom: jotai52.PrimitiveAtom<ChatState | undefined> & {
16
16
  init: ChatState | undefined;
17
17
  };
18
- declare const customerServiceAttachment: jotai81.PrimitiveAtom<AttachmentRequest | undefined> & {
18
+ declare const customerServiceAttachment: jotai52.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 { FeatureFlagContextType } from "../../contexts/featureFlagServiceContext/featureFlagServiceContext.cjs";
3
3
  import { FrontendConfig } from "../../application/models/frontendConfig.cjs";
4
- import * as jotai68 from "jotai";
4
+ import * as jotai65 from "jotai";
5
5
 
6
6
  //#region src/atoms/org/graphqlConfig.d.ts
7
- declare const internalGraphQLColorsConfigAtom: jotai68.PrimitiveAtom<ColorMapping | undefined> & {
7
+ declare const internalGraphQLColorsConfigAtom: jotai65.PrimitiveAtom<ColorMapping | undefined> & {
8
8
  init: ColorMapping | undefined;
9
9
  };
10
- declare const featureFlagServiceAtom: jotai68.PrimitiveAtom<FeatureFlagContextType | undefined> & {
10
+ declare const featureFlagServiceAtom: jotai65.PrimitiveAtom<FeatureFlagContextType | undefined> & {
11
11
  init: FeatureFlagContextType | undefined;
12
12
  };
13
- declare const frontendConfigAtom: jotai68.WritableAtom<FrontendConfig | undefined, [value: FrontendConfig | undefined], void>;
13
+ declare const frontendConfigAtom: jotai65.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 { FeatureFlagContextType } from "../../contexts/featureFlagServiceContext/featureFlagServiceContext.js";
3
3
  import { FrontendConfig } from "../../application/models/frontendConfig.js";
4
- import * as jotai86 from "jotai";
4
+ import * as jotai57 from "jotai";
5
5
 
6
6
  //#region src/atoms/org/graphqlConfig.d.ts
7
- declare const internalGraphQLColorsConfigAtom: jotai86.PrimitiveAtom<ColorMapping | undefined> & {
7
+ declare const internalGraphQLColorsConfigAtom: jotai57.PrimitiveAtom<ColorMapping | undefined> & {
8
8
  init: ColorMapping | undefined;
9
9
  };
10
- declare const featureFlagServiceAtom: jotai86.PrimitiveAtom<FeatureFlagContextType | undefined> & {
10
+ declare const featureFlagServiceAtom: jotai57.PrimitiveAtom<FeatureFlagContextType | undefined> & {
11
11
  init: FeatureFlagContextType | undefined;
12
12
  };
13
- declare const frontendConfigAtom: jotai86.WritableAtom<FrontendConfig | undefined, [value: FrontendConfig | undefined], void>;
13
+ declare const frontendConfigAtom: jotai57.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,7 +1,7 @@
1
1
  const require_graphqlConfig = require('./graphqlConfig.cjs');
2
+ const require_newOrgConfigAtom = require('./newOrgConfigAtom.cjs');
2
3
  const require_customerService = require('./customerService.cjs');
3
4
  const require_orgAnalyticsConfig = require('./orgAnalyticsConfig.cjs');
4
- const require_newOrgConfigAtom = require('./newOrgConfigAtom.cjs');
5
5
 
6
6
  exports.customerServiceAttachment = require_customerService.customerServiceAttachment;
7
7
  exports.customerServiceChatStateAtom = require_customerService.customerServiceChatStateAtom;
@@ -1,6 +1,6 @@
1
1
  import { featureFlagServiceAtom, frontendConfigAtom, internalGraphQLColorsConfigAtom } from "./graphqlConfig.js";
2
+ import { newOrgConfigAtom } from "./newOrgConfigAtom.js";
2
3
  import { customerServiceAttachment, customerServiceChatStateAtom, customerServiceResponseAtom, isBusinessHoursAtom, isCustomerServiceOpenAtom } from "./customerService.js";
3
4
  import { orgAnalyticsAmplitudeConfigAtom, orgAnalyticsConfigAtom, orgAnalyticsCustomerServiceConfigAtom } from "./orgAnalyticsConfig.js";
4
- import { newOrgConfigAtom } from "./newOrgConfigAtom.js";
5
5
 
6
6
  export { customerServiceAttachment, customerServiceChatStateAtom, customerServiceResponseAtom, featureFlagServiceAtom, frontendConfigAtom, internalGraphQLColorsConfigAtom, isBusinessHoursAtom, isCustomerServiceOpenAtom, newOrgConfigAtom, orgAnalyticsAmplitudeConfigAtom, orgAnalyticsConfigAtom, orgAnalyticsCustomerServiceConfigAtom };
@@ -1,8 +1,8 @@
1
1
  import { GraphQlConfigValues } from "../../contexts/graphqlContext/graphqlContext.cjs";
2
- import * as jotai67 from "jotai";
2
+ import * as jotai71 from "jotai";
3
3
 
4
4
  //#region src/atoms/org/newOrgConfigAtom.d.ts
5
- declare const newOrgConfigAtom: jotai67.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 jotai89 from "jotai";
2
+ import * as jotai63 from "jotai";
3
3
 
4
4
  //#region src/atoms/org/newOrgConfigAtom.d.ts
5
- declare const newOrgConfigAtom: jotai89.PrimitiveAtom<GraphQlConfigValues | null> & {
5
+ declare const newOrgConfigAtom: jotai63.PrimitiveAtom<GraphQlConfigValues | null> & {
6
6
  init: GraphQlConfigValues | null;
7
7
  };
8
8
  //#endregion
@@ -1,10 +1,10 @@
1
1
  import { OrgAnalyticsAmplitudeConfig, OrgAnalyticsConfig, OrgAnalyticsCustomerServiceConfig } from "../../application/models/api/orgAnalyticsConfig.cjs";
2
- import * as jotai76 from "jotai";
2
+ import * as jotai68 from "jotai";
3
3
 
4
4
  //#region src/atoms/org/orgAnalyticsConfig.d.ts
5
- declare const orgAnalyticsConfigAtom: jotai76.WritableAtom<OrgAnalyticsConfig | undefined, [value: OrgAnalyticsConfig], void>;
6
- declare const orgAnalyticsAmplitudeConfigAtom: jotai76.Atom<OrgAnalyticsAmplitudeConfig | undefined>;
7
- declare const orgAnalyticsCustomerServiceConfigAtom: jotai76.Atom<OrgAnalyticsCustomerServiceConfig | undefined>;
5
+ declare const orgAnalyticsConfigAtom: jotai68.WritableAtom<OrgAnalyticsConfig | undefined, [value: OrgAnalyticsConfig], void>;
6
+ declare const orgAnalyticsAmplitudeConfigAtom: jotai68.Atom<OrgAnalyticsAmplitudeConfig | undefined>;
7
+ declare const orgAnalyticsCustomerServiceConfigAtom: jotai68.Atom<OrgAnalyticsCustomerServiceConfig | undefined>;
8
8
  //#endregion
9
9
  export { orgAnalyticsAmplitudeConfigAtom, orgAnalyticsConfigAtom, orgAnalyticsCustomerServiceConfigAtom };
10
10
  //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JnQW5hbHl0aWNzQ29uZmlnLmQuY3RzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hdG9tcy9vcmcvb3JnQW5hbHl0aWNzQ29uZmlnLmQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgT3JnQW5hbHl0aWNzQW1wbGl0dWRlQ29uZmlnLCBPcmdBbmFseXRpY3NDb25maWcsIE9yZ0FuYWx5dGljc0N1c3RvbWVyU2VydmljZUNvbmZpZyB9IGZyb20gJ3NyYy9hcHBsaWNhdGlvbi9tb2RlbHMvYXBpL29yZ0FuYWx5dGljc0NvbmZpZyc7XG5leHBvcnQgZGVjbGFyZSBjb25zdCBvcmdBbmFseXRpY3NDb25maWdBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5Xcml0YWJsZUF0b208T3JnQW5hbHl0aWNzQ29uZmlnIHwgdW5kZWZpbmVkLCBbdmFsdWU6IE9yZ0FuYWx5dGljc0NvbmZpZ10sIHZvaWQ+O1xuZXhwb3J0IGRlY2xhcmUgY29uc3Qgb3JnQW5hbHl0aWNzQW1wbGl0dWRlQ29uZmlnQXRvbTogaW1wb3J0KFwiam90YWlcIikuQXRvbTxPcmdBbmFseXRpY3NBbXBsaXR1ZGVDb25maWcgfCB1bmRlZmluZWQ+O1xuZXhwb3J0IGRlY2xhcmUgY29uc3Qgb3JnQW5hbHl0aWNzQ3VzdG9tZXJTZXJ2aWNlQ29uZmlnQXRvbTogaW1wb3J0KFwiam90YWlcIikuQXRvbTxPcmdBbmFseXRpY3NDdXN0b21lclNlcnZpY2VDb25maWcgfCB1bmRlZmluZWQ+O1xuIl0sIm1hcHBpbmdzIjoiOzs7O0FBRUEsSUFBVyx5QkFBeUI7Q0FBQztPQUFXO09BQTBCO09BQTBCLFFBQVE7Q0FBTztBQUNuSCxJQUFXLGtDQUFrQztDQUFDO09BQVc7T0FBbUMsUUFBUTtDQUFLIn0=
@@ -1,10 +1,10 @@
1
1
  import { OrgAnalyticsAmplitudeConfig, OrgAnalyticsConfig, OrgAnalyticsCustomerServiceConfig } from "../../application/models/api/orgAnalyticsConfig.js";
2
- import * as jotai90 from "jotai";
2
+ import * as jotai60 from "jotai";
3
3
 
4
4
  //#region src/atoms/org/orgAnalyticsConfig.d.ts
5
- declare const orgAnalyticsConfigAtom: jotai90.WritableAtom<OrgAnalyticsConfig | undefined, [value: OrgAnalyticsConfig], void>;
6
- declare const orgAnalyticsAmplitudeConfigAtom: jotai90.Atom<OrgAnalyticsAmplitudeConfig | undefined>;
7
- declare const orgAnalyticsCustomerServiceConfigAtom: jotai90.Atom<OrgAnalyticsCustomerServiceConfig | undefined>;
5
+ declare const orgAnalyticsConfigAtom: jotai60.WritableAtom<OrgAnalyticsConfig | undefined, [value: OrgAnalyticsConfig], void>;
6
+ declare const orgAnalyticsAmplitudeConfigAtom: jotai60.Atom<OrgAnalyticsAmplitudeConfig | undefined>;
7
+ declare const orgAnalyticsCustomerServiceConfigAtom: jotai60.Atom<OrgAnalyticsCustomerServiceConfig | undefined>;
8
8
  //#endregion
9
9
  export { orgAnalyticsAmplitudeConfigAtom, orgAnalyticsConfigAtom, orgAnalyticsCustomerServiceConfigAtom };
10
10
  //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JnQW5hbHl0aWNzQ29uZmlnLmQudHMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2F0b21zL29yZy9vcmdBbmFseXRpY3NDb25maWcuZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBPcmdBbmFseXRpY3NBbXBsaXR1ZGVDb25maWcsIE9yZ0FuYWx5dGljc0NvbmZpZywgT3JnQW5hbHl0aWNzQ3VzdG9tZXJTZXJ2aWNlQ29uZmlnIH0gZnJvbSAnc3JjL2FwcGxpY2F0aW9uL21vZGVscy9hcGkvb3JnQW5hbHl0aWNzQ29uZmlnJztcbmV4cG9ydCBkZWNsYXJlIGNvbnN0IG9yZ0FuYWx5dGljc0NvbmZpZ0F0b206IGltcG9ydChcImpvdGFpXCIpLldyaXRhYmxlQXRvbTxPcmdBbmFseXRpY3NDb25maWcgfCB1bmRlZmluZWQsIFt2YWx1ZTogT3JnQW5hbHl0aWNzQ29uZmlnXSwgdm9pZD47XG5leHBvcnQgZGVjbGFyZSBjb25zdCBvcmdBbmFseXRpY3NBbXBsaXR1ZGVDb25maWdBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5BdG9tPE9yZ0FuYWx5dGljc0FtcGxpdHVkZUNvbmZpZyB8IHVuZGVmaW5lZD47XG5leHBvcnQgZGVjbGFyZSBjb25zdCBvcmdBbmFseXRpY3NDdXN0b21lclNlcnZpY2VDb25maWdBdG9tOiBpbXBvcnQoXCJqb3RhaVwiKS5BdG9tPE9yZ0FuYWx5dGljc0N1c3RvbWVyU2VydmljZUNvbmZpZyB8IHVuZGVmaW5lZD47XG4iXSwibWFwcGluZ3MiOiI7Ozs7QUFFQSxJQUFXLHlCQUF5QjtDQUFDO09BQVc7T0FBMEI7T0FBMEIsUUFBUTtDQUFPO0FBQ25ILElBQVcsa0NBQWtDO0NBQUM7T0FBVztPQUFtQyxRQUFRO0NBQUsifQ==
@@ -1,10 +1,10 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
2
  const require_message = require('../../application/models/message.cjs');
3
3
  require('../../application/models/index.cjs');
4
+ const require_newOrgConfigAtom = require('../org/newOrgConfigAtom.cjs');
4
5
  const require_atoms_chat_chatState = require('../chat/chatState.cjs');
5
6
  const require_messageQueue = require('../chat/messageQueue.cjs');
6
7
  require('../chat/index.cjs');
7
- const require_newOrgConfigAtom = require('../org/newOrgConfigAtom.cjs');
8
8
  require('../org/index.cjs');
9
9
  const require_productFilters = require('./productFilters.cjs');
10
10
  const require_atoms_search_types = require('./types.cjs');
@@ -1,16 +1,16 @@
1
1
  import { ProductResponseAttributes } from "../../application/models/api/response.cjs";
2
2
  import { ChatSearchFilter, ChatSearchStateType, ProductSorting } from "./types.cjs";
3
3
  import { Message } from "../../application/models/message.cjs";
4
- import * as jotai35 from "jotai";
4
+ import * as jotai72 from "jotai";
5
5
 
6
6
  //#region src/atoms/search/chatSearch.d.ts
7
- declare const chatSearchStateAtom: jotai35.PrimitiveAtom<ChatSearchStateType> & {
7
+ declare const chatSearchStateAtom: jotai72.PrimitiveAtom<ChatSearchStateType> & {
8
8
  init: ChatSearchStateType;
9
9
  };
10
- declare const chatSearchHasProductsAtom: jotai35.PrimitiveAtom<boolean> & {
10
+ declare const chatSearchHasProductsAtom: jotai72.PrimitiveAtom<boolean> & {
11
11
  init: boolean;
12
12
  };
13
- declare const chatSearchProductSortingAtom: jotai35.PrimitiveAtom<ProductSorting> & {
13
+ declare const chatSearchProductSortingAtom: jotai72.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: jotai35.PrimitiveAtom<boolean> & {
24
+ declare const chatSearchIsLoadingAtom: jotai72.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: jotai35.PrimitiveAtom<SelectedChatSearchFilterOption[]> & {
33
+ declare const selectedFilterOptionsAtom: jotai72.PrimitiveAtom<SelectedChatSearchFilterOption[]> & {
34
34
  init: SelectedChatSearchFilterOption[];
35
35
  };
36
- declare const additiveDynamicFiltersAtom: jotai35.Atom<boolean>;
36
+ declare const additiveDynamicFiltersAtom: jotai72.Atom<boolean>;
37
37
  declare const createChatSearchFilterOption: (filterId: string, filterItemId: string, displayName: string) => SelectedChatSearchFilterOption;
38
- declare const chatSearchParamsAtom: jotai35.WritableAtom<{
38
+ declare const chatSearchParamsAtom: jotai72.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: jotai35.WritableAtom<string | null, [value: string | null], void>;
46
- declare const chatSearchIdAtom: jotai35.WritableAtom<string | null, [value: string | null], void>;
47
- declare const ChatSearchTurnAtom: jotai35.Atom<{
45
+ declare const chatSearchQueryAtom: jotai72.WritableAtom<string | null, [value: string | null], void>;
46
+ declare const chatSearchIdAtom: jotai72.WritableAtom<string | null, [value: string | null], void>;
47
+ declare const ChatSearchTurnAtom: jotai72.Atom<{
48
48
  productList: {
49
49
  averageRating?: number | undefined;
50
50
  colors?: string[] | undefined;
@@ -74,7 +74,7 @@ declare const ChatSearchTurnAtom: jotai35.Atom<{
74
74
  filterList: string[];
75
75
  messages: Message[];
76
76
  } | null>;
77
- declare const chatSearchProducts: jotai35.Atom<{
77
+ declare const chatSearchProducts: jotai72.Atom<{
78
78
  averageRating?: number | undefined;
79
79
  colors?: string[] | undefined;
80
80
  description?: string | undefined;
@@ -97,19 +97,19 @@ declare const chatSearchProducts: jotai35.Atom<{
97
97
  title: string;
98
98
  url: string;
99
99
  }[]>;
100
- declare const chatSearchFiltersAtom: jotai35.Atom<ChatSearchFilter[]>;
100
+ declare const chatSearchFiltersAtom: jotai72.Atom<ChatSearchFilter[]>;
101
101
  declare const setSearchParams: (query: string) => void;
102
- declare const getSearchParamsAtom: jotai35.Atom<{
102
+ declare const getSearchParamsAtom: jotai72.Atom<{
103
103
  es: string | null;
104
104
  esq: string | null;
105
105
  }>;
106
- declare const initiateChatSearchAtom: jotai35.WritableAtom<null, [query: string], void> & {
106
+ declare const initiateChatSearchAtom: jotai72.WritableAtom<null, [query: string], void> & {
107
107
  init: null;
108
108
  };
109
- declare const handleSearchResultsAtom: jotai35.WritableAtom<null, [message: Message | undefined], void> & {
109
+ declare const handleSearchResultsAtom: jotai72.WritableAtom<null, [message: Message | undefined], void> & {
110
110
  init: null;
111
111
  };
112
- declare const setChatSearchParamsAtom: jotai35.WritableAtom<null, [query: string], void> & {
112
+ declare const setChatSearchParamsAtom: jotai72.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 { ChatSearchFilter, ChatSearchStateType, ProductSorting } from "./types.js";
3
3
  import { Message } from "../../application/models/message.js";
4
- import * as jotai46 from "jotai";
4
+ import * as jotai65 from "jotai";
5
5
 
6
6
  //#region src/atoms/search/chatSearch.d.ts
7
- declare const chatSearchStateAtom: jotai46.PrimitiveAtom<ChatSearchStateType> & {
7
+ declare const chatSearchStateAtom: jotai65.PrimitiveAtom<ChatSearchStateType> & {
8
8
  init: ChatSearchStateType;
9
9
  };
10
- declare const chatSearchHasProductsAtom: jotai46.PrimitiveAtom<boolean> & {
10
+ declare const chatSearchHasProductsAtom: jotai65.PrimitiveAtom<boolean> & {
11
11
  init: boolean;
12
12
  };
13
- declare const chatSearchProductSortingAtom: jotai46.PrimitiveAtom<ProductSorting> & {
13
+ declare const chatSearchProductSortingAtom: jotai65.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: jotai46.PrimitiveAtom<boolean> & {
24
+ declare const chatSearchIsLoadingAtom: jotai65.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: jotai46.PrimitiveAtom<SelectedChatSearchFilterOption[]> & {
33
+ declare const selectedFilterOptionsAtom: jotai65.PrimitiveAtom<SelectedChatSearchFilterOption[]> & {
34
34
  init: SelectedChatSearchFilterOption[];
35
35
  };
36
- declare const additiveDynamicFiltersAtom: jotai46.Atom<boolean>;
36
+ declare const additiveDynamicFiltersAtom: jotai65.Atom<boolean>;
37
37
  declare const createChatSearchFilterOption: (filterId: string, filterItemId: string, displayName: string) => SelectedChatSearchFilterOption;
38
- declare const chatSearchParamsAtom: jotai46.WritableAtom<{
38
+ declare const chatSearchParamsAtom: jotai65.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: jotai46.WritableAtom<string | null, [value: string | null], void>;
46
- declare const chatSearchIdAtom: jotai46.WritableAtom<string | null, [value: string | null], void>;
47
- declare const ChatSearchTurnAtom: jotai46.Atom<{
45
+ declare const chatSearchQueryAtom: jotai65.WritableAtom<string | null, [value: string | null], void>;
46
+ declare const chatSearchIdAtom: jotai65.WritableAtom<string | null, [value: string | null], void>;
47
+ declare const ChatSearchTurnAtom: jotai65.Atom<{
48
48
  productList: {
49
49
  averageRating?: number | undefined;
50
50
  colors?: string[] | undefined;
@@ -74,7 +74,7 @@ declare const ChatSearchTurnAtom: jotai46.Atom<{
74
74
  filterList: string[];
75
75
  messages: Message[];
76
76
  } | null>;
77
- declare const chatSearchProducts: jotai46.Atom<{
77
+ declare const chatSearchProducts: jotai65.Atom<{
78
78
  averageRating?: number | undefined;
79
79
  colors?: string[] | undefined;
80
80
  description?: string | undefined;
@@ -97,19 +97,19 @@ declare const chatSearchProducts: jotai46.Atom<{
97
97
  title: string;
98
98
  url: string;
99
99
  }[]>;
100
- declare const chatSearchFiltersAtom: jotai46.Atom<ChatSearchFilter[]>;
100
+ declare const chatSearchFiltersAtom: jotai65.Atom<ChatSearchFilter[]>;
101
101
  declare const setSearchParams: (query: string) => void;
102
- declare const getSearchParamsAtom: jotai46.Atom<{
102
+ declare const getSearchParamsAtom: jotai65.Atom<{
103
103
  es: string | null;
104
104
  esq: string | null;
105
105
  }>;
106
- declare const initiateChatSearchAtom: jotai46.WritableAtom<null, [query: string], void> & {
106
+ declare const initiateChatSearchAtom: jotai65.WritableAtom<null, [query: string], void> & {
107
107
  init: null;
108
108
  };
109
- declare const handleSearchResultsAtom: jotai46.WritableAtom<null, [message: Message | undefined], void> & {
109
+ declare const handleSearchResultsAtom: jotai65.WritableAtom<null, [message: Message | undefined], void> & {
110
110
  init: null;
111
111
  };
112
- declare const setChatSearchParamsAtom: jotai46.WritableAtom<null, [query: string], void> & {
112
+ declare const setChatSearchParamsAtom: jotai65.WritableAtom<null, [query: string], void> & {
113
113
  init: null;
114
114
  };
115
115
  //#endregion
@@ -1,9 +1,9 @@
1
1
  import { MessageRole, MessageType } from "../../application/models/message.js";
2
2
  import "../../application/models/index.js";
3
+ import { newOrgConfigAtom } from "../org/newOrgConfigAtom.js";
3
4
  import { messagesAtom, replyEventCategoryAtom, userHasRepliedAtom, userQueryAtom } from "../chat/chatState.js";
4
5
  import { queueUserEventAtom } from "../chat/messageQueue.js";
5
6
  import "../chat/index.js";
6
- import { newOrgConfigAtom } from "../org/newOrgConfigAtom.js";
7
7
  import "../org/index.js";
8
8
  import { ProductFilters } from "./productFilters.js";
9
9
  import { ProductSorting } from "./types.js";
@@ -1,10 +1,10 @@
1
1
  const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
2
  const require_newOrgConfigAtom = require('../org/newOrgConfigAtom.cjs');
3
+ const require_searchServiceAdapter = require('./searchServiceAdapter.cjs');
3
4
  require('../org/index.cjs');
4
5
  const require_productFilters = require('./productFilters.cjs');
5
6
  const require_atoms_search_types = require('./types.cjs');
6
7
  const require_productSorter = require('./productSorter.cjs');
7
- const require_searchServiceAdapter = require('./searchServiceAdapter.cjs');
8
8
  let jotai = require("jotai");
9
9
 
10
10
  //#region src/atoms/search/searchAPI.ts
@@ -1,6 +1,6 @@
1
1
  import { ChatSearchFilter, ProductSorting } from "./types.cjs";
2
2
  import { SearchParams, SearchResult } from "../../application/models/api/search.cjs";
3
- import * as jotai51 from "jotai";
3
+ import * as jotai48 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: jotai51.PrimitiveAtom<SearchState> & {
18
+ declare const searchAtom: jotai48.PrimitiveAtom<SearchState> & {
19
19
  init: SearchState;
20
20
  };
21
- declare const searchProductSortingAtom: jotai51.PrimitiveAtom<ProductSorting> & {
21
+ declare const searchProductSortingAtom: jotai48.PrimitiveAtom<ProductSorting> & {
22
22
  init: ProductSorting;
23
23
  };
24
- declare const searchSelectedFiltersAtom: jotai51.PrimitiveAtom<SelectedFilterOption[]> & {
24
+ declare const searchSelectedFiltersAtom: jotai48.PrimitiveAtom<SelectedFilterOption[]> & {
25
25
  init: SelectedFilterOption[];
26
26
  };
27
27
  declare const createFilterOption: (filterId: string, filterItemId: string, displayName: string) => SelectedFilterOption;
28
- declare const searchParamsAtom: jotai51.WritableAtom<{
28
+ declare const searchParamsAtom: jotai48.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: jotai51.PrimitiveAtom<boolean> & {
35
+ declare const internalSearchSystemStateAtom: jotai48.PrimitiveAtom<boolean> & {
36
36
  init: boolean;
37
37
  };
38
- declare const searchSystemAtom: jotai51.WritableAtom<boolean, [value: boolean], void>;
39
- declare const filteredSearchProductsAtom: jotai51.Atom<{
38
+ declare const searchSystemAtom: jotai48.WritableAtom<boolean, [value: boolean], void>;
39
+ declare const filteredSearchProductsAtom: jotai48.Atom<{
40
40
  averageRating?: number | undefined;
41
41
  colors?: string[] | undefined;
42
42
  description?: string | undefined;
@@ -59,17 +59,17 @@ declare const filteredSearchProductsAtom: jotai51.Atom<{
59
59
  title: string;
60
60
  url: string;
61
61
  }[]>;
62
- declare const searchFiltersAtom: jotai51.Atom<ChatSearchFilter[]>;
63
- declare const addSearchFilterAtom: jotai51.WritableAtom<null, [filter: SelectedFilterOption], void> & {
62
+ declare const searchFiltersAtom: jotai48.Atom<ChatSearchFilter[]>;
63
+ declare const addSearchFilterAtom: jotai48.WritableAtom<null, [filter: SelectedFilterOption], void> & {
64
64
  init: null;
65
65
  };
66
- declare const removeSearchFilterAtom: jotai51.WritableAtom<null, [filterId: string], void> & {
66
+ declare const removeSearchFilterAtom: jotai48.WritableAtom<null, [filterId: string], void> & {
67
67
  init: null;
68
68
  };
69
- declare const clearSearchFiltersAtom: jotai51.WritableAtom<null, [], void> & {
69
+ declare const clearSearchFiltersAtom: jotai48.WritableAtom<null, [], void> & {
70
70
  init: null;
71
71
  };
72
- declare const performSearchAtom: jotai51.WritableAtom<null, [params: SearchParams, allowRedirect?: unknown], Promise<void>> & {
72
+ declare const performSearchAtom: jotai48.WritableAtom<null, [params: SearchParams, allowRedirect?: unknown], Promise<void>> & {
73
73
  init: null;
74
74
  };
75
75
  //#endregion