@hiver/connector-agent 2.0.7 → 2.0.8-releaseGlobalSearch-beta.0

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 (146) hide show
  1. package/api/conversationMeta.d.ts +14 -0
  2. package/api/conversationMeta.d.ts.map +1 -0
  3. package/api/form.d.ts +5 -0
  4. package/api/form.d.ts.map +1 -0
  5. package/api/linkCard.d.ts +10 -0
  6. package/api/linkCard.d.ts.map +1 -0
  7. package/api/previewCard.d.ts +3 -0
  8. package/api/previewCard.d.ts.map +1 -0
  9. package/app/connector-cards.d.ts.map +1 -1
  10. package/components/ui/loader/skeleton.d.ts +6 -0
  11. package/components/ui/loader/skeleton.d.ts.map +1 -0
  12. package/components/ui/switch/index.d.ts +24 -0
  13. package/components/ui/switch/index.d.ts.map +1 -0
  14. package/constants/endpoints.d.ts +6 -0
  15. package/constants/endpoints.d.ts.map +1 -0
  16. package/constants/form.d.ts +14 -0
  17. package/constants/form.d.ts.map +1 -0
  18. package/constants/global-constants.d.ts +2 -0
  19. package/constants/global-constants.d.ts.map +1 -1
  20. package/{features/write-form/constants/regex-pattern.d.ts → constants/regex-patterns.d.ts} +1 -1
  21. package/constants/regex-patterns.d.ts.map +1 -0
  22. package/features/connector-cards/api/index.d.ts +0 -1
  23. package/features/connector-cards/api/index.d.ts.map +1 -1
  24. package/features/connector-cards/components/card-list/CardContent.d.ts +1 -1
  25. package/features/connector-cards/components/card-list/CardContent.d.ts.map +1 -1
  26. package/features/connector-cards/components/card-list/email-selection.d.ts +2 -1
  27. package/features/connector-cards/components/card-list/email-selection.d.ts.map +1 -1
  28. package/features/connector-cards/constants/api.d.ts +0 -1
  29. package/features/connector-cards/constants/api.d.ts.map +1 -1
  30. package/features/connector-cards/store/slice.d.ts +1 -16
  31. package/features/connector-cards/store/slice.d.ts.map +1 -1
  32. package/features/global-search/api/getSearchResults.d.ts +10 -0
  33. package/features/global-search/api/getSearchResults.d.ts.map +1 -0
  34. package/features/global-search/api/getSmartSuggestions.d.ts +13 -0
  35. package/features/global-search/api/getSmartSuggestions.d.ts.map +1 -0
  36. package/features/global-search/components/index.d.ts +12 -0
  37. package/features/global-search/components/index.d.ts.map +1 -0
  38. package/features/global-search/components/preview-and-link/index.d.ts +9 -0
  39. package/features/global-search/components/preview-and-link/index.d.ts.map +1 -0
  40. package/features/global-search/components/preview-and-link/styles.d.ts +4 -0
  41. package/features/global-search/components/preview-and-link/styles.d.ts.map +1 -0
  42. package/features/global-search/components/search-form/index.d.ts +10 -0
  43. package/features/global-search/components/search-form/index.d.ts.map +1 -0
  44. package/features/global-search/components/search-option/index.d.ts +9 -0
  45. package/features/global-search/components/search-option/index.d.ts.map +1 -0
  46. package/features/global-search/components/search-option/styles.d.ts +5 -0
  47. package/features/global-search/components/search-option/styles.d.ts.map +1 -0
  48. package/features/global-search/components/search-results/components/no-search-results.d.ts +2 -0
  49. package/features/global-search/components/search-results/components/no-search-results.d.ts.map +1 -0
  50. package/features/global-search/components/search-results/components/search-results-loading.d.ts +2 -0
  51. package/features/global-search/components/search-results/components/search-results-loading.d.ts.map +1 -0
  52. package/features/global-search/components/search-results/index.d.ts +10 -0
  53. package/features/global-search/components/search-results/index.d.ts.map +1 -0
  54. package/features/global-search/components/search-results/styles.d.ts +6 -0
  55. package/features/global-search/components/search-results/styles.d.ts.map +1 -0
  56. package/features/global-search/components/search-select/components/index.d.ts +5 -0
  57. package/features/global-search/components/search-select/components/index.d.ts.map +1 -0
  58. package/features/global-search/components/search-select/components/styles.d.ts +4 -0
  59. package/features/global-search/components/search-select/components/styles.d.ts.map +1 -0
  60. package/features/global-search/components/search-select/index.d.ts +14 -0
  61. package/features/global-search/components/search-select/index.d.ts.map +1 -0
  62. package/features/global-search/components/search-select/styles.d.ts +3 -0
  63. package/features/global-search/components/search-select/styles.d.ts.map +1 -0
  64. package/features/global-search/components/search-suggestions/index.d.ts +8 -0
  65. package/features/global-search/components/search-suggestions/index.d.ts.map +1 -0
  66. package/features/global-search/components/search-suggestions/styles.d.ts +6 -0
  67. package/features/global-search/components/search-suggestions/styles.d.ts.map +1 -0
  68. package/features/global-search/components/styles.d.ts +5 -0
  69. package/features/global-search/components/styles.d.ts.map +1 -0
  70. package/features/global-search/constants/api.d.ts +3 -0
  71. package/features/global-search/constants/api.d.ts.map +1 -0
  72. package/features/global-search/constants/index.d.ts +7 -0
  73. package/features/global-search/constants/index.d.ts.map +1 -0
  74. package/features/global-search/constants/storage.d.ts +2 -0
  75. package/features/global-search/constants/storage.d.ts.map +1 -0
  76. package/features/global-search/hooks/useObjectSort.d.ts +10 -0
  77. package/features/global-search/hooks/useObjectSort.d.ts.map +1 -0
  78. package/features/global-search/store/selectors.d.ts +15 -0
  79. package/features/global-search/store/selectors.d.ts.map +1 -0
  80. package/features/global-search/types/index.d.ts +28 -0
  81. package/features/global-search/types/index.d.ts.map +1 -0
  82. package/features/toast-message/constants/toast.d.ts +2 -0
  83. package/features/toast-message/constants/toast.d.ts.map +1 -1
  84. package/features/write-form/api/index.d.ts +0 -5
  85. package/features/write-form/api/index.d.ts.map +1 -1
  86. package/features/write-form/components/card-linking/card-linking.d.ts.map +1 -1
  87. package/features/write-form/components/card-linking/card-preview.d.ts +2 -2
  88. package/features/write-form/components/card-linking/card-preview.d.ts.map +1 -1
  89. package/features/write-form/components/write-form/index.d.ts.map +1 -1
  90. package/features/write-form/constants/api.d.ts +0 -1
  91. package/features/write-form/constants/api.d.ts.map +1 -1
  92. package/features/write-form/constants/index.d.ts +0 -12
  93. package/features/write-form/constants/index.d.ts.map +1 -1
  94. package/features/write-form/store/initial-state.d.ts +4 -4
  95. package/features/write-form/store/initial-state.d.ts.map +1 -1
  96. package/features/write-form/store/selectors.d.ts +1 -3
  97. package/features/write-form/store/selectors.d.ts.map +1 -1
  98. package/features/write-form/store/slice.d.ts +6 -52
  99. package/features/write-form/store/slice.d.ts.map +1 -1
  100. package/features/write-form/types/form.d.ts +1 -80
  101. package/features/write-form/types/form.d.ts.map +1 -1
  102. package/features/write-form/utils/index.d.ts +1 -28
  103. package/features/write-form/utils/index.d.ts.map +1 -1
  104. package/hooks/useDropdownConfig.d.ts +16 -0
  105. package/hooks/useDropdownConfig.d.ts.map +1 -0
  106. package/hooks/useFormHandlers.d.ts +18 -0
  107. package/hooks/useFormHandlers.d.ts.map +1 -0
  108. package/hooks/useFormReducer.d.ts +13 -0
  109. package/hooks/useFormReducer.d.ts.map +1 -0
  110. package/index.es.js +15986 -14913
  111. package/index.umd.js +295 -232
  112. package/package.json +1 -1
  113. package/store/hooks.d.ts +2 -0
  114. package/store/hooks.d.ts.map +1 -1
  115. package/store/index.d.ts +6 -0
  116. package/store/index.d.ts.map +1 -1
  117. package/store/initial-state.d.ts +19 -0
  118. package/store/initial-state.d.ts.map +1 -0
  119. package/store/selectors.d.ts +4 -0
  120. package/store/selectors.d.ts.map +1 -0
  121. package/store/slice.d.ts +61 -0
  122. package/store/slice.d.ts.map +1 -0
  123. package/testing/mocks/handlers/common.d.ts +2 -0
  124. package/testing/mocks/handlers/common.d.ts.map +1 -0
  125. package/testing/mocks/handlers/fetch-cards.d.ts +2 -2
  126. package/testing/mocks/handlers/fetch-cards.d.ts.map +1 -1
  127. package/testing/mocks/handlers/global-search.d.ts +2 -0
  128. package/testing/mocks/handlers/global-search.d.ts.map +1 -0
  129. package/testing/mocks/handlers/write-capability.d.ts.map +1 -1
  130. package/testing/mocks/handlers.d.ts.map +1 -1
  131. package/testing/test-utils.d.ts +1 -1
  132. package/testing/test-utils.d.ts.map +1 -1
  133. package/types/form.d.ts +107 -0
  134. package/types/form.d.ts.map +1 -0
  135. package/utils/form.d.ts +20 -0
  136. package/utils/form.d.ts.map +1 -0
  137. package/{utils.d.ts → utils/index.d.ts} +3 -3
  138. package/utils/index.d.ts.map +1 -0
  139. package/utils/poll.d.ts +13 -0
  140. package/utils/poll.d.ts.map +1 -0
  141. package/utils/validations.d.ts +10 -0
  142. package/utils/validations.d.ts.map +1 -0
  143. package/features/write-form/components/write-form/reducer.d.ts +0 -12
  144. package/features/write-form/components/write-form/reducer.d.ts.map +0 -1
  145. package/features/write-form/constants/regex-pattern.d.ts.map +0 -1
  146. package/utils.d.ts.map +0 -1
@@ -0,0 +1,14 @@
1
+ export interface ConversationMetaData {
2
+ emailHeaders: Record<string, string>;
3
+ }
4
+ export interface ConversationMetaProps {
5
+ /** conversation id */
6
+ conversationId: string;
7
+ senderEmail: string;
8
+ }
9
+ export interface ConversionMetaQueryProps extends ConversationMetaProps {
10
+ enabled: boolean;
11
+ }
12
+ export declare const fetchConversationMeta: ({ conversationId, senderEmail }: ConversationMetaProps) => Promise<ConversationMetaData>;
13
+ export declare const useConversationMetaQuery: ({ conversationId, senderEmail, enabled }: ConversionMetaQueryProps) => import('@tanstack/react-query').UseQueryResult<ConversationMetaData, Error>;
14
+ //# sourceMappingURL=conversationMeta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversationMeta.d.ts","sourceRoot":"","sources":["../../src/api/conversationMeta.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,qBAAqB;IACpC,sBAAsB;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,wBAAyB,SAAQ,qBAAqB;IACrE,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,qBAAqB,oCAG/B,qBAAqB,KAAG,OAAO,CAAC,oBAAoB,CAatD,CAAC;AAEF,eAAO,MAAM,wBAAwB,6CAA8C,wBAAwB,gFAM1G,CAAC"}
package/api/form.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ import { JSONObject } from '../types/json';
2
+ export declare const fetchFieldData: (placeholders: {
3
+ [key: string]: string | number;
4
+ }, data: JSONObject, channelType?: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
5
+ //# sourceMappingURL=form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../src/api/form.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,eAAO,MAAM,cAAc,iBACX;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;CAAE,QAC1C,UAAU,gBACH,MAAM,iEAUpB,CAAC"}
@@ -0,0 +1,10 @@
1
+ export interface LinkCardProps {
2
+ id: string;
3
+ externalResourceId: string;
4
+ conversationId: number;
5
+ channelType?: string;
6
+ }
7
+ export declare const useLinkCardMutation: ({ onSuccess }: {
8
+ onSuccess?: () => void;
9
+ }) => import('@tanstack/react-query').UseMutationResult<void, Error, LinkCardProps, unknown>;
10
+ //# sourceMappingURL=linkCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkCard.d.ts","sourceRoot":"","sources":["../../src/api/linkCard.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAgBD,eAAO,MAAM,mBAAmB,kBAAmB;IAAE,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,2FAUzE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { PreviewArgs } from '../types/form';
2
+ export declare const previewCardApi: (id: string, args: PreviewArgs, channelType?: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
3
+ //# sourceMappingURL=previewCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"previewCard.d.ts","sourceRoot":"","sources":["../../src/api/previewCard.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,eAAO,MAAM,cAAc,OAAQ,MAAM,QAAQ,WAAW,gBAAe,MAAM,iEAWhF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"connector-cards.d.ts","sourceRoot":"","sources":["../../src/app/connector-cards.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAgD,MAAM,OAAO,CAAC;AA6EzE,UAAU,SAAS;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,SAAS,CAmSxC,CAAC"}
1
+ {"version":3,"file":"connector-cards.d.ts","sourceRoot":"","sources":["../../src/app/connector-cards.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAgD,MAAM,OAAO,CAAC;AAqFzE,UAAU,SAAS;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,SAAS,CA+UxC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { SkeletonProps } from '@hiver/hiver-ui-kit';
3
+ export declare const SkeletonLoader: StyledComponent<SkeletonProps & {
4
+ margin?: string;
5
+ }>;
6
+ //# sourceMappingURL=skeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/loader/skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAY,aAAa,EAAU,MAAM,qBAAqB,CAAC;AAEtE,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,aAAa,GAAG;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAG/E,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { ReactNode } from 'react';
2
+ interface SwitchProps {
3
+ children: ReactNode;
4
+ }
5
+ export declare const SwitchView: {
6
+ ({ children }: SwitchProps): any;
7
+ CaseView: typeof CaseView;
8
+ };
9
+ type CasePropsWithCondition = {
10
+ condition: boolean;
11
+ children: ReactNode;
12
+ key: string | number;
13
+ fallback?: boolean;
14
+ };
15
+ type CasePropsWithFallback = {
16
+ condition?: boolean;
17
+ children: ReactNode;
18
+ key: string | number;
19
+ fallback: true;
20
+ };
21
+ export declare function CaseView(props: CasePropsWithCondition): ReactNode;
22
+ export declare function CaseView(props: CasePropsWithFallback): ReactNode;
23
+ export {};
24
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/switch/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgB,MAAM,OAAO,CAAC;AAEhD,UAAU,WAAW;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,UAAU;mBAAkB,WAAW;;CAenD,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,QAAQ,EAAE,IAAI,CAAC;CAChB,CAAC;AAGF,wBAAgB,QAAQ,CAAC,KAAK,EAAE,sBAAsB,GAAG,SAAS,CAAC;AAEnE,wBAAgB,QAAQ,CAAC,KAAK,EAAE,qBAAqB,GAAG,SAAS,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare const BASE_URL = "/v1/api";
2
+ export declare const CONVERSATION_META_API = "/v1/api/connectors/conversation/:conversationId/metadata";
3
+ export declare const FETCH_FIELD_DATA: string;
4
+ export declare const LINK_CARD_API: string;
5
+ export declare const PREVIEW_CARD_API: string;
6
+ //# sourceMappingURL=endpoints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../src/constants/endpoints.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,YAAY,CAAC;AAClC,eAAO,MAAM,qBAAqB,6DAAiE,CAAC;AACpG,eAAO,MAAM,gBAAgB,EAAE,MAAqE,CAAC;AACrG,eAAO,MAAM,aAAa,EAAE,MAAgD,CAAC;AAC7E,eAAO,MAAM,gBAAgB,EAAE,MAAmD,CAAC"}
@@ -0,0 +1,14 @@
1
+ export declare const DEFAULT_AVATAR_URL = "https://avatars.githubusercontent.com/u/62397590";
2
+ export declare const INVALID_URL_MSG = "Please enter a valid URL";
3
+ export declare const INVALID_ID = "Please enter valid ID";
4
+ export declare const INVALID_INPUT = "Please enter valid input";
5
+ export declare const URL_MUST_START_WITH_HTTPS = "URL must start with https://";
6
+ export declare const URL_SHOULD_NOT_END_WITH_SLASH = "URL should not end with a slash";
7
+ export declare const INVALID_EMAIL = "Invalid email address";
8
+ export declare const STRING_EMAIL = "Email must be a string";
9
+ export declare const INVALID_DATE_MSG = "Invalid date";
10
+ export declare const PAST_DISABLED_MSG = "Date cannot be in the past";
11
+ export declare const FUTURE_DISABLED_MSG = "Date cannot be in the future";
12
+ export declare const INVALID_NUMBER = "Invalid number";
13
+ export declare const INVALID_TEXT = "Invalid text";
14
+ //# sourceMappingURL=form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../src/constants/form.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,qDAAqD,CAAC;AAGrF,eAAO,MAAM,eAAe,6BAA6B,CAAC;AAC1D,eAAO,MAAM,UAAU,0BAA0B,CAAC;AAClD,eAAO,MAAM,aAAa,6BAA6B,CAAC;AACxD,eAAO,MAAM,yBAAyB,iCAAiC,CAAC;AACxE,eAAO,MAAM,6BAA6B,oCAAoC,CAAC;AAC/E,eAAO,MAAM,aAAa,0BAA0B,CAAC;AACrD,eAAO,MAAM,YAAY,2BAA2B,CAAC;AACrD,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;AAC/C,eAAO,MAAM,iBAAiB,+BAA+B,CAAC;AAC9D,eAAO,MAAM,mBAAmB,iCAAiC,CAAC;AAClE,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,YAAY,iBAAiB,CAAC"}
@@ -21,6 +21,8 @@ export declare const SCHEDULE_CALL_AGENT_FEATURE_KEY = "ftr-connector-schedule-c
21
21
  export declare const FTR_CONNECTORS_EDIT = "ftr-connectors-edit";
22
22
  export declare const ENABLE_ALL_FEATURE = "enableAllConnectorFtr";
23
23
  export declare const FTR_CARDS_OPEN_STATE = "ftr-cards-open-state";
24
+ export declare const FTR_CONNECTORS_GLOBAL_SEARCH = "ftr-connectors-global-search";
25
+ export declare const FTR_CONNECTORS_SMART_SUGGESTIONS = "ftr-connectors-smart-suggestions";
24
26
  export declare const CONNECTORS_EMAIL_SELECTION = "ftr-connectors-email-selection";
25
27
  export declare const FTR_FEEDBACK_MSG = "ftr-connector-agent-feedback";
26
28
  //# sourceMappingURL=global-constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"global-constants.d.ts","sourceRoot":"","sources":["../../src/constants/global-constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;IAClE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AAEnD,eAAO,MAAM,iBAAiB;;CAE7B,CAAC;AAEF,eAAO,MAAM,YAAY,iDAAiD,CAAC;AAC3E,eAAO,MAAM,YAAY,sBAAsB,CAAC;AAEhD,eAAO,MAAM,mBAAmB,6BAA6B,CAAC;AAC9D,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAC7D,eAAO,MAAM,qBAAqB,8BAA8B,CAAC;AACjE,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AACzE,eAAO,MAAM,+BAA+B,sCAAsC,CAAC;AACnF,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,kBAAkB,0BAA0B,CAAC;AAC1D,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAC3D,eAAO,MAAM,0BAA0B,mCAAmC,CAAC;AAC3E,eAAO,MAAM,gBAAgB,iCAAiC,CAAC"}
1
+ {"version":3,"file":"global-constants.d.ts","sourceRoot":"","sources":["../../src/constants/global-constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;IAClE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AAEnD,eAAO,MAAM,iBAAiB;;CAE7B,CAAC;AAEF,eAAO,MAAM,YAAY,iDAAiD,CAAC;AAC3E,eAAO,MAAM,YAAY,sBAAsB,CAAC;AAEhD,eAAO,MAAM,mBAAmB,6BAA6B,CAAC;AAC9D,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAC7D,eAAO,MAAM,qBAAqB,8BAA8B,CAAC;AACjE,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AACzE,eAAO,MAAM,+BAA+B,sCAAsC,CAAC;AACnF,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,kBAAkB,0BAA0B,CAAC;AAC1D,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAC3D,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAC3E,eAAO,MAAM,gCAAgC,qCAAqC,CAAC;AACnF,eAAO,MAAM,0BAA0B,mCAAmC,CAAC;AAC3E,eAAO,MAAM,gBAAgB,iCAAiC,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export declare const URL_PATTERN: RegExp;
2
2
  export declare const EMAIL_PATTERN: RegExp;
3
- //# sourceMappingURL=regex-pattern.d.ts.map
3
+ //# sourceMappingURL=regex-patterns.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"regex-patterns.d.ts","sourceRoot":"","sources":["../../src/constants/regex-patterns.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,QAAuE,CAAC;AAChG,eAAO,MAAM,aAAa,QAA+B,CAAC"}
@@ -4,5 +4,4 @@ export declare const getConnectorData: ({ inboxIds, conversationId, channelType
4
4
  channelType?: string;
5
5
  }) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
6
6
  export declare const getSpecificConnectorData: (id: string, email: string, conversationId?: number, externalResourceId?: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
7
- export declare const getConversationMetaData: (conversationId: number, email: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
8
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/api/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,gBAAgB,8CAI1B;IACD,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,iEAUA,CAAC;AAEF,eAAO,MAAM,wBAAwB,OAC/B,MAAM,SACH,MAAM,mBACI,MAAM,uBACF,MAAM,iEAa5B,CAAC;AAEF,eAAO,MAAM,uBAAuB,mBAAoB,MAAM,SAAS,MAAM,iEAO5E,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/api/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,8CAI1B;IACD,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,iEAUA,CAAC;AAEF,eAAO,MAAM,wBAAwB,OAC/B,MAAM,SACH,MAAM,mBACI,MAAM,uBACF,MAAM,iEAa5B,CAAC"}
@@ -5,7 +5,7 @@ interface IProps {
5
5
  cardTitle: string;
6
6
  currentCard?: ICard;
7
7
  specificCardData: {
8
- [key: string]: ISpecificCard;
8
+ [key: string]: ISpecificCard | null;
9
9
  } | null;
10
10
  specificConnectorApiStatus: {
11
11
  [key: string]: ApiStatus;
@@ -1 +1 @@
1
- {"version":3,"file":"CardContent.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/CardContent.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,EAAmC,aAAa,EAAE,MAAM,eAAe,CAAC;AACtF,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AASxC,UAAU,MAAM;IACd,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,gBAAgB,EAAE;QAChB,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC;KAC9B,GAAG,IAAI,CAAC;IACT,0BAA0B,EAAE;QAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B,GAAG,IAAI,CAAC;IACT,MAAM,EAAE,OAAO,CAAC;CACjB;AAID,eAAO,MAAM,WAAW,UAAW,MAAM,4CA6IxC,CAAC"}
1
+ {"version":3,"file":"CardContent.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/CardContent.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,EAAmC,aAAa,EAAE,MAAM,eAAe,CAAC;AACtF,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AASxC,UAAU,MAAM;IACd,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,gBAAgB,EAAE;QAChB,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI,CAAC;KACrC,GAAG,IAAI,CAAC;IACT,0BAA0B,EAAE;QAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B,GAAG,IAAI,CAAC;IACT,MAAM,EAAE,OAAO,CAAC;CACjB;AAID,eAAO,MAAM,WAAW,UAAW,MAAM,4CA6IxC,CAAC"}
@@ -1,7 +1,8 @@
1
1
  interface IProps {
2
2
  selectedEmail: string;
3
+ emailHeaders?: Record<string, string>;
3
4
  setSelectedEmail: (key: string) => void;
4
5
  }
5
- export declare const EmailSelection: ({ selectedEmail, setSelectedEmail }: IProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const EmailSelection: ({ selectedEmail, emailHeaders, setSelectedEmail }: IProps) => import("react/jsx-runtime").JSX.Element;
6
7
  export {};
7
8
  //# sourceMappingURL=email-selection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"email-selection.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/email-selection.tsx"],"names":[],"mappings":"AAiBA,UAAU,MAAM;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AA8GD,eAAO,MAAM,cAAc,wCAAyC,MAAM,4CAsCzE,CAAC"}
1
+ {"version":3,"file":"email-selection.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/email-selection.tsx"],"names":[],"mappings":"AAeA,UAAU,MAAM;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,gBAAgB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AA8GD,eAAO,MAAM,cAAc,sDAAuD,MAAM,4CAsCvF,CAAC"}
@@ -1,5 +1,4 @@
1
1
  export declare const BASE_URL = "/v1/api";
2
2
  export declare const FETCH_ALL_CARDS_API: string;
3
3
  export declare const FETCH_SPECIFIC_CARD_API: string;
4
- export declare const FETCH_CONVERSATION_METADATA = "/v1/api/connectors/conversation/:id/metadata";
5
4
  //# sourceMappingURL=api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/constants/api.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,YAAY,CAAC;AAClC,eAAO,MAAM,mBAAmB,EAAE,MAAuC,CAAC;AAC1E,eAAO,MAAM,uBAAuB,EAAE,MAAgD,CAAC;AACvF,eAAO,MAAM,2BAA2B,iDAAqD,CAAC"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/constants/api.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,YAAY,CAAC;AAClC,eAAO,MAAM,mBAAmB,EAAE,MAAuC,CAAC;AAC1E,eAAO,MAAM,uBAAuB,EAAE,MAAgD,CAAC"}
@@ -46,21 +46,6 @@ declare const fetchSpecificCardData: import('@reduxjs/toolkit').AsyncThunk<{
46
46
  fulfilledMeta?: unknown;
47
47
  rejectedMeta?: unknown;
48
48
  }>;
49
- declare const fetchConversationMetaData: import('@reduxjs/toolkit').AsyncThunk<{
50
- emailHeaders: any;
51
- }, {
52
- conversationId: number;
53
- email: string;
54
- }, {
55
- state?: unknown;
56
- dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
57
- extra?: unknown;
58
- rejectValue?: unknown;
59
- serializedErrorType?: unknown;
60
- pendingMeta?: unknown;
61
- fulfilledMeta?: unknown;
62
- rejectedMeta?: unknown;
63
- }>;
64
49
  declare const _default: import('redux').Reducer<import('./initial-state').IConnectorState>;
65
50
  export default _default;
66
51
  export declare const actions: import('@reduxjs/toolkit').CaseReducerActions<{
@@ -70,5 +55,5 @@ export declare const actions: import('@reduxjs/toolkit').CaseReducerActions<{
70
55
  }): void;
71
56
  clearConnectorList(state: import('immer').WritableDraft<import('./initial-state').IConnectorState>): void;
72
57
  }, "connectorCardLibrary">;
73
- export { selectConnector, fetchAllCardsData, fetchSpecificCardData, fetchConversationMetaData };
58
+ export { selectConnector, fetchAllCardsData, fetchSpecificCardData };
74
59
  //# sourceMappingURL=slice.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/store/slice.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAC7E,OAAO,EAAE,KAAK,EAAE,aAAa,EAAsB,MAAM,eAAe,CAAC;AAKzE,eAAO,MAAM,oBAAoB;;;;;;uKAiF/B,CAAC;AAIH,QAAA,MAAM,iBAAiB;;;;cAOT,MAAM,EAAE;kBACJ,MAAM;oBACJ,MAAM;;;;;;;;;;EAazB,CAAC;AAEF,QAAA,MAAM,qBAAqB;;;;;;;QAUjB,MAAM;WACH,MAAM;qBACI,MAAM;gBACX,OAAO;yBACE,MAAM;;;;;;;;;;EA8BhC,CAAC;AAEF,QAAA,MAAM,yBAAyB;;;oBAEuB,MAAM;WAAS,MAAM;;;;;;;;;;EAU1E,CAAC;;AAEF,wBAA4C;AAC5C,eAAO,MAAM,OAAO;;;;;;0BAA+B,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,CAAC"}
1
+ {"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/store/slice.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAC7E,OAAO,EAAE,KAAK,EAAE,aAAa,EAAsB,MAAM,eAAe,CAAC;AAKzE,eAAO,MAAM,oBAAoB;;;;;;uKAuE/B,CAAC;AAIH,QAAA,MAAM,iBAAiB;;;;cAOT,MAAM,EAAE;kBACJ,MAAM;oBACJ,MAAM;;;;;;;;;;EAazB,CAAC;AAEF,QAAA,MAAM,qBAAqB;;;;;;;QAUjB,MAAM;WACH,MAAM;qBACI,MAAM;gBACX,OAAO;yBACE,MAAM;;;;;;;;;;EA8BhC,CAAC;;AAEF,wBAA4C;AAC5C,eAAO,MAAM,OAAO;;;;;;0BAA+B,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { SearchResultsType } from '../types';
2
+ import { FormArgValue } from '../../../types/form';
3
+ export type SearchResultsProps = {
4
+ id: string | number;
5
+ searchString: string;
6
+ interfaceId: string;
7
+ args: Record<string, FormArgValue>;
8
+ };
9
+ export declare const useSearchResultsMutation: () => import('@tanstack/react-query').UseMutationResult<SearchResultsType | undefined, Error, SearchResultsProps, unknown>;
10
+ //# sourceMappingURL=getSearchResults.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSearchResults.d.ts","sourceRoot":"","sources":["../../../../src/features/global-search/api/getSearchResults.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAG7C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;CACpC,CAAC;AA0BF,eAAO,MAAM,wBAAwB,4HAIpC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { ConversionMetaQueryProps } from '../../../api/conversationMeta';
2
+ import { SmartSuggestion, SearchOptionType } from '../types';
3
+ export interface SmartSuggestionsData {
4
+ status: 'success' | 'pending' | 'failure';
5
+ smart_suggestions: SmartSuggestion[];
6
+ suggestedOptions?: SearchOptionType[];
7
+ }
8
+ export interface SmartSuggestionProps {
9
+ conversationId: string;
10
+ }
11
+ export type SmartSuggestionQueryProps = SmartSuggestionProps & ConversionMetaQueryProps;
12
+ export declare const useSmartSuggestionsQuery: ({ conversationId, senderEmail, enabled }: SmartSuggestionQueryProps) => import('@tanstack/react-query').UseQueryResult<SmartSuggestionsData, Error>;
13
+ //# sourceMappingURL=getSmartSuggestions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSmartSuggestions.d.ts","sourceRoot":"","sources":["../../../../src/features/global-search/api/getSmartSuggestions.ts"],"names":[],"mappings":"AAKA,OAAO,EAA4B,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAG5F,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAElE,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IAC1C,iBAAiB,EAAE,eAAe,EAAE,CAAC;IACrC,gBAAgB,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACvC;AAED,MAAM,WAAW,oBAAoB;IACnC,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,GAAG,wBAAwB,CAAC;AA4CxF,eAAO,MAAM,wBAAwB,6CAA8C,yBAAyB,gFAQ3G,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { Dispatch, FC, SetStateAction } from 'react';
2
+ import { SearchResultsProps } from '../api/getSearchResults';
3
+ import { SearchOptionType } from '../types';
4
+ interface GlobalSearchProps {
5
+ selectedObject: SearchOptionType | null;
6
+ setSelectedObject: Dispatch<SetStateAction<SearchOptionType | null>>;
7
+ fetchSearchResults: (data: SearchResultsProps) => void;
8
+ onReset: () => void;
9
+ }
10
+ export declare const GlobalSearch: FC<GlobalSearchProps>;
11
+ export {};
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/global-search/components/index.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,UAAU,iBAAiB;IACzB,cAAc,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACxC,iBAAiB,EAAE,QAAQ,CAAC,cAAc,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC,CAAC;IACrE,kBAAkB,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACvD,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA0E9C,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { PreviewMeta } from '../../../../types/form.ts';
2
+ interface IProps {
3
+ meta: PreviewMeta;
4
+ onBack: () => void;
5
+ onLink: () => void;
6
+ }
7
+ export declare const PreviewAndLink: ({ meta: { externalResourceId, formId }, onBack, onLink }: IProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/preview-and-link/index.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAe,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEhE,UAAU,MAAM;IACd,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,6DAA8D,MAAM,4CAiD9F,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { StackProps } from '@hiver/hiver-ui-kit';
2
+ import { StyledComponent } from '@emotion/styled';
3
+ export declare const BackToSearch: StyledComponent<StackProps>;
4
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/preview-and-link/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,UAAU,EAAU,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAIlD,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,UAAU,CAYpD,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { FC } from 'react';
2
+ import { SearchResultsProps } from '../../api/getSearchResults';
3
+ interface SearchFormProps {
4
+ objectId: string | number;
5
+ searchString: string;
6
+ fetchSearchResults: (props: SearchResultsProps) => void;
7
+ }
8
+ export declare const SearchForm: FC<SearchFormProps>;
9
+ export {};
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-form/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAErE,UAAU,eAAe;IACvB,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACzD;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAuI1C,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ import { SearchOptionType } from '../../types';
3
+ interface SearchOptionProps {
4
+ data: SearchOptionType;
5
+ onSelect: (data: SearchOptionType) => void;
6
+ }
7
+ export declare const SearchOption: FC<SearchOptionProps>;
8
+ export {};
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-option/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAEvE,UAAU,iBAAiB;IACzB,IAAI,EAAE,gBAAgB,CAAC;IACvB,QAAQ,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAC5C;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAkB9C,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { StackProps, IconProps } from '@hiver/hiver-ui-kit';
3
+ export declare const OptionStyles: StyledComponent<StackProps>;
4
+ export declare const ConnectorIcon: StyledComponent<IconProps>;
5
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-option/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEjE,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,UAAU,CAMpD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,SAAS,CASpD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const NoSearchResults: () => import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=no-search-results.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-search-results.d.ts","sourceRoot":"","sources":["../../../../../../src/features/global-search/components/search-results/components/no-search-results.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe,+CAS3B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const SearchResultsLoading: () => import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=search-results-loading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-results-loading.d.ts","sourceRoot":"","sources":["../../../../../../src/features/global-search/components/search-results/components/search-results-loading.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB,+CAYhC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { SearchOptionType, SearchResultsType } from '../../types';
2
+ interface IProps {
3
+ searchResults: Exclude<SearchResultsType, null>;
4
+ selectedObject: SearchOptionType;
5
+ onReset: () => void;
6
+ fetchCards: () => void;
7
+ }
8
+ export declare const SearchResults: ({ searchResults, selectedObject, onReset, fetchCards }: IProps) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-results/index.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGvE,UAAU,MAAM;IACd,aAAa,EAAE,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAC;IAChD,cAAc,EAAE,gBAAgB,CAAC;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,aAAa,2DAA4D,MAAM,4CAwD3F,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { StackProps } from '@hiver/hiver-ui-kit';
2
+ import { StyledComponent } from '@emotion/styled';
3
+ export declare const SearchItem: StyledComponent<StackProps & {
4
+ disableHover?: boolean;
5
+ }>;
6
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-results/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,UAAU,EAAiB,MAAM,qBAAqB,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,UAAU,GAAG;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAE,CAkB/E,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { SelectControlProps, SelectOptionProps } from '../../../types';
3
+ export declare const CustomControl: FC<SelectControlProps>;
4
+ export declare const CustomOption: FC<SelectOptionProps>;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/global-search/components/search-select/components/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAI5F,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAOhD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAE9C,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { StackProps } from '@hiver/hiver-ui-kit';
3
+ export declare const SearchPrefix: StyledComponent<StackProps>;
4
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/features/global-search/components/search-select/components/styles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,UAAU,CAEpD,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { FC } from 'react';
2
+ import { SearchOptionType } from '../../types';
3
+ export interface SearchSelectProps {
4
+ value: SearchOptionType | null;
5
+ options: SearchOptionType[];
6
+ inputValue: string;
7
+ onChange: (data: SearchOptionType | null) => void;
8
+ onInputChange: (inputValue: string) => void;
9
+ onReset: () => void;
10
+ NoOptionsMessage?: FC;
11
+ menuOpen?: boolean;
12
+ }
13
+ export declare const SearchSelect: FC<SearchSelectProps>;
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-select/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC/B,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI,KAAK,IAAI,CAAC;IAClD,aAAa,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,gBAAgB,CAAC,EAAE,EAAE,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAkD9C,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { SelectStyles } from '../../types';
2
+ export declare const styles: SelectStyles;
3
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-select/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,MAAM,EAAE,YA0BpB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { FC } from 'react';
2
+ import { SearchOptionType } from '../../types';
3
+ export interface SearchSuggestionsProps {
4
+ onSelect: (data: SearchOptionType) => void;
5
+ options: SearchOptionType[];
6
+ }
7
+ export declare const SearchSuggestions: FC<SearchSuggestionsProps>;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-suggestions/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC3C,OAAO,EAAE,gBAAgB,EAAE,CAAC;CAC7B;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAWxD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { StackProps, TypographyProps } from '@hiver/hiver-ui-kit';
3
+ export declare const SuggestionStyles: StyledComponent<StackProps>;
4
+ export declare const SuggestionPlaceholder: StyledComponent<TypographyProps>;
5
+ export declare const SuggestionTitle: StyledComponent<TypographyProps>;
6
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-suggestions/styles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEvE,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,UAAU,CAExD,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,eAAe,CAAC,eAAe,CAIlE,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,eAAe,CAK5D,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { StyledComponent } from '@emotion/styled';
2
+ import { StackProps } from '@hiver/hiver-ui-kit';
3
+ export declare const GlobalSearchStyles: StyledComponent<StackProps>;
4
+ export declare const FormWrapper: StyledComponent<StackProps>;
5
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/features/global-search/components/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,UAAU,CAE1D,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,UAAU,CAEnD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const FETCH_SEARCH_RESULTS_API: string;
2
+ export declare const SMART_SUGGESTIONS_API: string;
3
+ //# sourceMappingURL=api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/global-search/constants/api.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,wBAAwB,EAAE,MAAsD,CAAC;AAC9F,eAAO,MAAM,qBAAqB,EAAE,MAAoE,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare const SEARCH_PLACEHOLDER = "Search in Connectors";
2
+ export declare const SUGGESTION_PLACEHOLDER = "Start typing to search..";
3
+ export declare const SUGGESTION_TITLE = "Smart search suggestion";
4
+ export declare const SEARCH_RESULTS_INFO_TEMPLATE = ":count result:countSuffix found for :searchObject in :connectorName";
5
+ export declare const BACK_TO_SEARCH_RESULTS = "Back to search results";
6
+ export declare const NO_SEARCH_RESULTS = "No search results found";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/global-search/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,yBAAyB,CAAC;AACzD,eAAO,MAAM,sBAAsB,6BAA6B,CAAC;AACjE,eAAO,MAAM,gBAAgB,4BAA4B,CAAC;AAC1D,eAAO,MAAM,4BAA4B,wEAAwE,CAAC;AAClH,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,iBAAiB,4BAA4B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const PRIORITY_KEY = "@connector-agent-global-search-priority";
2
+ //# sourceMappingURL=storage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../../src/features/global-search/constants/storage.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,4CAA4C,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { OptionType } from '@connector/ui';
2
+ interface ObjectSortProps {
3
+ objectList: OptionType[];
4
+ }
5
+ export declare const useObjectSort: ({ objectList }: ObjectSortProps) => {
6
+ sortedObjectList: OptionType[];
7
+ updatePriority: (objectKey: string) => void;
8
+ };
9
+ export {};
10
+ //# sourceMappingURL=useObjectSort.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useObjectSort.d.ts","sourceRoot":"","sources":["../../../../src/features/global-search/hooks/useObjectSort.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,UAAU,eAAe;IACvB,UAAU,EAAE,UAAU,EAAE,CAAC;CAC1B;AAID,eAAO,MAAM,aAAa,mBAAoB,eAAe;;gCASxB,MAAM;CAa1C,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { RootState } from '../../../store';
2
+ export declare const selectSearchObjectList: (state: RootState) => import('@connector/ui').OptionType[];
3
+ export declare const selectObjectDict: (state: RootState) => {
4
+ [key: string]: import('../../../types/form').ObjectItem;
5
+ } | null;
6
+ export declare const selectFormFields: (state: RootState) => {
7
+ [key: string]: import('../../write-form/types/form').WriteFormFields[];
8
+ } | null;
9
+ export declare const selectDependentFieldsMap: (state: RootState) => {
10
+ [key: string]: {
11
+ [key: string]: string[];
12
+ };
13
+ };
14
+ export declare const selectObjectListApiLoading: (state: RootState) => boolean;
15
+ //# sourceMappingURL=selectors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../src/features/global-search/store/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,sBAAsB,UAAW,SAAS,yCAAiC,CAAC;AACzF,eAAO,MAAM,gBAAgB,UAAW,SAAS;;QAA2B,CAAC;AAC7E,eAAO,MAAM,gBAAgB,UAAW,SAAS;;QAA2B,CAAC;AAC7E,eAAO,MAAM,wBAAwB,UAAW,SAAS;;;;CAAmC,CAAC;AAC7F,eAAO,MAAM,0BAA0B,UAAW,SAAS,YAAkD,CAAC"}