@hiver/connector-agent 3.0.1 → 3.1.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.
- package/api/conversationMeta.d.ts +14 -0
- package/api/conversationMeta.d.ts.map +1 -0
- package/api/form.d.ts +5 -0
- package/api/form.d.ts.map +1 -0
- package/api/linkCard.d.ts +10 -0
- package/api/linkCard.d.ts.map +1 -0
- package/api/previewCard.d.ts +3 -0
- package/api/previewCard.d.ts.map +1 -0
- package/app/connector-cards.d.ts.map +1 -1
- package/components/ui/loader/skeleton.d.ts +6 -0
- package/components/ui/loader/skeleton.d.ts.map +1 -0
- package/components/ui/switch/index.d.ts +2 -2
- package/components/ui/switch/index.d.ts.map +1 -1
- package/constants/api.d.ts +2 -0
- package/constants/api.d.ts.map +1 -1
- package/constants/endpoints.d.ts +6 -0
- package/constants/endpoints.d.ts.map +1 -0
- package/constants/form.d.ts +14 -0
- package/constants/form.d.ts.map +1 -0
- package/constants/global-constants.d.ts +2 -0
- package/constants/global-constants.d.ts.map +1 -1
- package/{features/write-form/constants/regex-pattern.d.ts → constants/regex-patterns.d.ts} +1 -1
- package/constants/regex-patterns.d.ts.map +1 -0
- package/context/react-query-client-provider/index.d.ts.map +1 -1
- package/features/connector-cards/api/index.d.ts +0 -1
- package/features/connector-cards/api/index.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/cards-view.d.ts +16 -0
- package/features/connector-cards/components/card-list/cards-view.d.ts.map +1 -0
- package/features/connector-cards/components/card-list/email-selection.d.ts +2 -1
- package/features/connector-cards/components/card-list/email-selection.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/style.d.ts.map +1 -1
- package/features/connector-cards/constants/api.d.ts +0 -1
- package/features/connector-cards/constants/api.d.ts.map +1 -1
- package/features/connector-cards/store/slice.d.ts +1 -16
- package/features/connector-cards/store/slice.d.ts.map +1 -1
- package/features/global-search/api/getSearchResults.d.ts +10 -0
- package/features/global-search/api/getSearchResults.d.ts.map +1 -0
- package/features/global-search/api/getSmartSuggestions.d.ts +13 -0
- package/features/global-search/api/getSmartSuggestions.d.ts.map +1 -0
- package/features/global-search/components/index.d.ts +12 -0
- package/features/global-search/components/index.d.ts.map +1 -0
- package/features/global-search/components/preview-and-link/index.d.ts +9 -0
- package/features/global-search/components/preview-and-link/index.d.ts.map +1 -0
- package/features/global-search/components/preview-and-link/styles.d.ts +4 -0
- package/features/global-search/components/preview-and-link/styles.d.ts.map +1 -0
- package/features/global-search/components/search-form/SearchForm.d.ts +10 -0
- package/features/global-search/components/search-form/SearchForm.d.ts.map +1 -0
- package/features/global-search/components/search-form/index.d.ts +10 -0
- package/features/global-search/components/search-form/index.d.ts.map +1 -0
- package/features/global-search/components/search-form/reducer.d.ts +12 -0
- package/features/global-search/components/search-form/reducer.d.ts.map +1 -0
- package/features/global-search/components/search-option/index.d.ts +1 -0
- package/features/global-search/components/search-option/index.d.ts.map +1 -1
- package/features/global-search/components/search-option/styles.d.ts +7 -3
- package/features/global-search/components/search-option/styles.d.ts.map +1 -1
- package/features/global-search/components/search-results/components/index.d.ts +1 -0
- package/features/global-search/components/search-results/components/index.d.ts.map +1 -1
- package/features/global-search/components/search-results/components/no-search-results.d.ts +2 -0
- package/features/global-search/components/search-results/components/no-search-results.d.ts.map +1 -0
- package/features/global-search/components/search-results/components/search-results-loading.d.ts +2 -0
- package/features/global-search/components/search-results/components/search-results-loading.d.ts.map +1 -0
- package/features/global-search/components/search-results/index.d.ts +5 -3
- package/features/global-search/components/search-results/index.d.ts.map +1 -1
- package/features/global-search/components/search-results/styles.d.ts +3 -1
- package/features/global-search/components/search-results/styles.d.ts.map +1 -1
- package/features/global-search/components/search-select/components/index.d.ts.map +1 -1
- package/features/global-search/components/search-select/index.d.ts +4 -1
- package/features/global-search/components/search-select/index.d.ts.map +1 -1
- package/features/global-search/components/search-select/styles.d.ts.map +1 -1
- package/features/global-search/components/search-suggestions/index.d.ts +1 -0
- package/features/global-search/components/search-suggestions/index.d.ts.map +1 -1
- package/features/global-search/components/styles.d.ts +5 -0
- package/features/global-search/components/styles.d.ts.map +1 -0
- package/features/global-search/constants/api.d.ts +3 -0
- package/features/global-search/constants/api.d.ts.map +1 -0
- package/features/global-search/constants/index.d.ts +1 -0
- package/features/global-search/constants/index.d.ts.map +1 -1
- package/features/global-search/constants/storage.d.ts +2 -0
- package/features/global-search/constants/storage.d.ts.map +1 -0
- package/features/global-search/hooks/useObjectSort.d.ts +10 -0
- package/features/global-search/hooks/useObjectSort.d.ts.map +1 -0
- package/features/global-search/store/selectors.d.ts +15 -0
- package/features/global-search/store/selectors.d.ts.map +1 -0
- package/features/global-search/types/index.d.ts +11 -1
- package/features/global-search/types/index.d.ts.map +1 -1
- package/features/toast-message/constants/toast.d.ts +2 -0
- package/features/toast-message/constants/toast.d.ts.map +1 -1
- package/features/write-form/api/index.d.ts +0 -5
- package/features/write-form/api/index.d.ts.map +1 -1
- package/features/write-form/components/card-linking/card-linking.d.ts.map +1 -1
- package/features/write-form/components/card-linking/card-preview.d.ts +2 -2
- package/features/write-form/components/card-linking/card-preview.d.ts.map +1 -1
- package/features/write-form/components/write-form/index.d.ts.map +1 -1
- package/features/write-form/constants/api.d.ts +0 -1
- package/features/write-form/constants/api.d.ts.map +1 -1
- package/features/write-form/constants/index.d.ts +0 -12
- package/features/write-form/constants/index.d.ts.map +1 -1
- package/features/write-form/store/initial-state.d.ts +5 -5
- package/features/write-form/store/initial-state.d.ts.map +1 -1
- package/features/write-form/store/selectors.d.ts +1 -3
- package/features/write-form/store/selectors.d.ts.map +1 -1
- package/features/write-form/store/slice.d.ts +6 -52
- package/features/write-form/store/slice.d.ts.map +1 -1
- package/features/write-form/types/form.d.ts +1 -80
- package/features/write-form/types/form.d.ts.map +1 -1
- package/features/write-form/utils/index.d.ts +1 -28
- package/features/write-form/utils/index.d.ts.map +1 -1
- package/hooks/useDropdownConfig.d.ts +16 -0
- package/hooks/useDropdownConfig.d.ts.map +1 -0
- package/hooks/useFormHandlers.d.ts +18 -0
- package/hooks/useFormHandlers.d.ts.map +1 -0
- package/hooks/useFormReducer.d.ts +13 -0
- package/hooks/useFormReducer.d.ts.map +1 -0
- package/index.es.js +8770 -7685
- package/index.umd.js +181 -116
- package/package.json +1 -1
- package/store/hooks.d.ts +2 -0
- package/store/hooks.d.ts.map +1 -1
- package/store/index.d.ts +6 -0
- package/store/index.d.ts.map +1 -1
- package/store/initial-state.d.ts +19 -0
- package/store/initial-state.d.ts.map +1 -0
- package/store/selectors.d.ts +4 -0
- package/store/selectors.d.ts.map +1 -0
- package/store/slice.d.ts +61 -0
- package/store/slice.d.ts.map +1 -0
- package/testing/mocks/handlers/common.d.ts +2 -0
- package/testing/mocks/handlers/common.d.ts.map +1 -0
- package/testing/mocks/handlers/fetch-cards.d.ts +2 -2
- package/testing/mocks/handlers/fetch-cards.d.ts.map +1 -1
- package/testing/mocks/handlers/global-search.d.ts +2 -0
- package/testing/mocks/handlers/global-search.d.ts.map +1 -0
- package/testing/mocks/handlers/write-capability.d.ts.map +1 -1
- package/testing/mocks/handlers.d.ts.map +1 -1
- package/testing/test-utils.d.ts +1 -1
- package/testing/test-utils.d.ts.map +1 -1
- package/types/form.d.ts +107 -0
- package/types/form.d.ts.map +1 -0
- package/utils/form.d.ts +20 -0
- package/utils/form.d.ts.map +1 -0
- package/{utils.d.ts → utils/index.d.ts} +3 -3
- package/utils/index.d.ts.map +1 -0
- package/utils/poll.d.ts +13 -0
- package/utils/poll.d.ts.map +1 -0
- package/utils/validations.d.ts +10 -0
- package/utils/validations.d.ts.map +1 -0
- package/features/write-form/components/write-form/reducer.d.ts +0 -12
- package/features/write-form/components/write-form/reducer.d.ts.map +0 -1
- package/features/write-form/constants/regex-pattern.d.ts.map +0 -1
- 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,gFAO1G,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 @@
|
|
|
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;
|
|
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 @@
|
|
|
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"}
|
|
@@ -18,7 +18,7 @@ type CasePropsWithFallback = {
|
|
|
18
18
|
key: string | number;
|
|
19
19
|
fallback: true;
|
|
20
20
|
};
|
|
21
|
-
declare function CaseView(props: CasePropsWithCondition): ReactNode;
|
|
22
|
-
declare function CaseView(props: CasePropsWithFallback): ReactNode;
|
|
21
|
+
export declare function CaseView(props: CasePropsWithCondition): ReactNode;
|
|
22
|
+
export declare function CaseView(props: CasePropsWithFallback): ReactNode;
|
|
23
23
|
export {};
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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,
|
|
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"}
|
package/constants/api.d.ts
CHANGED
package/constants/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/constants/api.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEtD,eAAO,MAAM,WAAW;;;;;;CAMvB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAIlD,CAAC"}
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/constants/api.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEtD,eAAO,MAAM,WAAW;;;;;;CAMvB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAIlD,CAAC;AAEF,eAAO,MAAM,QAAQ,YAAY,CAAC;AAClC,eAAO,MAAM,aAAa,EAAE,MAAgD,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;A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M,+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"}
|
|
@@ -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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/context/react-query-client-provider/index.tsx"],"names":[],"mappings":"AAEA,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/context/react-query-client-provider/index.tsx"],"names":[],"mappings":"AAEA,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAIF,QAAA,MAAM,wBAAwB,iBAAkB,uBAAuB,4CAEtE,CAAC;AAEF,eAAe,wBAAwB,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":"
|
|
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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SearchResultsType } from '../../../global-search/types';
|
|
2
|
+
import { ICard, ISpecificCard } from '../../../../types/cards';
|
|
3
|
+
import { ApiStatus } from '../../../../types/api';
|
|
4
|
+
interface CardsViewProps {
|
|
5
|
+
isSearchPending?: boolean;
|
|
6
|
+
searchResults?: SearchResultsType;
|
|
7
|
+
cards: ICard[] | null;
|
|
8
|
+
specificCardData: Record<string, ISpecificCard> | null;
|
|
9
|
+
email: string;
|
|
10
|
+
specificConnectorApiStatus: Record<string, ApiStatus> | null;
|
|
11
|
+
onCardUnlinking: () => void;
|
|
12
|
+
getCreateBanner: () => JSX.Element;
|
|
13
|
+
}
|
|
14
|
+
export declare const CardsView: ({ isSearchPending, searchResults, cards, specificCardData, email, specificConnectorApiStatus, onCardUnlinking, getCreateBanner }: CardsViewProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=cards-view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cards-view.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/cards-view.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAWnE,OAAO,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,UAAU,cAAc;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,GAAG,IAAI,CAAC;IACvD,KAAK,EAAE,MAAM,CAAC;IACd,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,IAAI,CAAC;IAC7D,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,eAAe,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;CACpC;AAED,eAAO,MAAM,SAAS,qIASnB,cAAc,mDA6BhB,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":"
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/style.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EACV,QAAQ,EACR,WAAW,EACX,SAAS,EACT,eAAe,EACf,SAAS,EACT,aAAa,EACb,UAAU,EACV,YAAY,EACZ,cAAc,EACd,cAAc,EACd,aAAa,EACb,eAAe,EAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,YAAY,CAIxD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,eAAe,CAO5D,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,eAAe,CAAC,SAAS,GAAG;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAE,CAcrF,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAMpD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,QAAQ,CAGjD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,QAAQ,CAKjD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,UAAU,CAYnD,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,eAAe,CAAC,UAAU,CAG/C,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAMx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AAE,eAAe,CAAC,eAAe,CAKzD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,QAAQ,CAIrD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,UAAU,CAQtD,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,eAAe,CAAC,QAAQ,CAW7D,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,eAAe,CAAC,QAAQ,CAI5D,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAMpD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,UAAU,CActD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,WAAW,CAIvD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,eAAe,CAGvD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAIpD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,eAAe,CAAC,UAAU,CAkBzD,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,eAAe,CAOjE,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,UAAU,CAGvD,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,eAAe,CAO7D,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
|
|
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
|
|
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;;;;;;
|
|
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: 'completed' | '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;AAI5F,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAElE,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,WAAW,GAAG,SAAS,GAAG,SAAS,CAAC;IAC5C,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,CA4E9C,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 @@
|
|
|
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=SearchForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchForm.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-form/SearchForm.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;AAKzC,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,CA6G1C,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,12 @@
|
|
|
1
|
+
import { FormState, FormActionValue } from '../../../../types/form';
|
|
2
|
+
export declare const intialState: FormState;
|
|
3
|
+
export declare const ACTIONS: {
|
|
4
|
+
SET_FIELD_VALUE: string;
|
|
5
|
+
CLEAR_ERROR: string;
|
|
6
|
+
SET_FIELD_ERROR: string;
|
|
7
|
+
SET_FIELDS: string;
|
|
8
|
+
CLEAR_FIELDS: string;
|
|
9
|
+
RESET_STATE: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const reducer: (state: FormState, action: FormActionValue) => FormState;
|
|
12
|
+
//# sourceMappingURL=reducer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-form/reducer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,eAAO,MAAM,WAAW,EAAE,SAGzB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;CAOnB,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,SAAS,UAAU,eAAe,KAAG,SAyDnE,CAAC"}
|
|
@@ -1 +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,
|
|
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,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAC5C;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAgB9C,CAAC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { StyledComponent } from '@emotion/styled';
|
|
2
|
-
import { StackProps
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { StackProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
type OptionStylesProps = StackProps & {
|
|
4
|
+
isSelected: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare const OptionStyles: StyledComponent<OptionStylesProps>;
|
|
7
|
+
export declare const ConnectorIcon: StyledComponent<React.ImgHTMLAttributes<HTMLImageElement>>;
|
|
8
|
+
export {};
|
|
5
9
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +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,
|
|
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,MAAM,qBAAqB,CAAC;AAEtD,KAAK,iBAAiB,GAAG,UAAU,GAAG;IAAE,UAAU,EAAE,OAAO,CAAA;CAAE,CAAC;AAE9D,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,iBAAiB,CAU3D,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAMpF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/global-search/components/search-results/components/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/global-search/components/search-results/components/index.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,+CAS3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,+CAYhC,CAAC"}
|
package/features/global-search/components/search-results/components/no-search-results.d.ts.map
ADDED
|
@@ -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"}
|
package/features/global-search/components/search-results/components/search-results-loading.d.ts.map
ADDED
|
@@ -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"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { SearchResultsType } from '../../types';
|
|
1
|
+
import { SearchOptionType, SearchResultsType } from '../../types';
|
|
2
2
|
interface IProps {
|
|
3
3
|
searchResults: Exclude<SearchResultsType, null>;
|
|
4
|
-
|
|
4
|
+
selectedObject: SearchOptionType;
|
|
5
|
+
onReset: () => void;
|
|
6
|
+
fetchCards: () => void;
|
|
5
7
|
}
|
|
6
|
-
export declare const SearchResults: ({ searchResults,
|
|
8
|
+
export declare const SearchResults: ({ searchResults, selectedObject, onReset, fetchCards }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
9
|
export {};
|
|
8
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-results/index.tsx"],"names":[],"mappings":"
|
|
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"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { StackProps } from '@hiver/hiver-ui-kit';
|
|
2
2
|
import { StyledComponent } from '@emotion/styled';
|
|
3
|
-
export declare const SearchItem: StyledComponent<StackProps
|
|
3
|
+
export declare const SearchItem: StyledComponent<StackProps & {
|
|
4
|
+
disableHover?: boolean;
|
|
5
|
+
}>;
|
|
4
6
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +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,
|
|
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"}
|
|
@@ -1 +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,
|
|
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,CAG9C,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Select } from '@connector/ui';
|
|
1
2
|
import { FC } from 'react';
|
|
2
3
|
import { SearchOptionType } from '../../types';
|
|
3
4
|
export interface SearchSelectProps {
|
|
@@ -6,7 +7,9 @@ export interface SearchSelectProps {
|
|
|
6
7
|
inputValue: string;
|
|
7
8
|
onChange: (data: SearchOptionType | null) => void;
|
|
8
9
|
onInputChange: (inputValue: string) => void;
|
|
9
|
-
|
|
10
|
+
onReset: () => void;
|
|
11
|
+
NoOptionsMessage?: ReturnType<typeof Select.getDefaultComponents<SearchOptionType>>['NoOptionsMessage'];
|
|
12
|
+
menuOpen?: boolean;
|
|
10
13
|
}
|
|
11
14
|
export declare const SearchSelect: FC<SearchSelectProps>;
|
|
12
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-select/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/search-select/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAOvC,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,UAAU,CAAC,OAAO,MAAM,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC;IACxG,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAmD9C,CAAC"}
|
|
@@ -1 +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,
|
|
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"}
|
|
@@ -2,6 +2,7 @@ import { FC } from 'react';
|
|
|
2
2
|
import { SearchOptionType } from '../../types';
|
|
3
3
|
export interface SearchSuggestionsProps {
|
|
4
4
|
onSelect: (data: SearchOptionType) => void;
|
|
5
|
+
selectedOption: SearchOptionType | null;
|
|
5
6
|
options: SearchOptionType[];
|
|
6
7
|
}
|
|
7
8
|
export declare const SearchSuggestions: FC<SearchSuggestionsProps>;
|
|
@@ -1 +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,
|
|
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,cAAc,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACxC,OAAO,EAAE,gBAAgB,EAAE,CAAC;CAC7B;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAgBxD,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"}
|