@hiver/connector-agent 2.0.5-globalSearch-beta.2 → 2.0.5-imageRemoteLoading-beta.1
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/app/connector-cards.d.ts.map +1 -1
- package/constants/api.d.ts +0 -3
- package/constants/api.d.ts.map +1 -1
- package/constants/global-constants.d.ts +0 -2
- package/constants/global-constants.d.ts.map +1 -1
- package/constants/remote-assets.d.ts +2 -0
- package/constants/remote-assets.d.ts.map +1 -0
- package/features/connector-cards/components/card-list/CardContent.d.ts +1 -1
- package/features/connector-cards/components/card-list/CardContent.d.ts.map +1 -1
- package/features/toast-message/constants/toast.d.ts +0 -2
- package/features/toast-message/constants/toast.d.ts.map +1 -1
- package/features/write-form/api/index.d.ts +3 -0
- package/features/write-form/api/index.d.ts.map +1 -1
- package/features/write-form/components/card-linking/card-preview.d.ts +1 -1
- 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 +1 -0
- package/features/write-form/constants/api.d.ts.map +1 -1
- package/features/write-form/constants/index.d.ts +12 -0
- package/features/write-form/constants/index.d.ts.map +1 -1
- package/{constants/regex-patterns.d.ts → features/write-form/constants/regex-pattern.d.ts} +1 -1
- package/features/write-form/constants/regex-pattern.d.ts.map +1 -0
- package/features/write-form/store/initial-state.d.ts +2 -4
- package/features/write-form/store/initial-state.d.ts.map +1 -1
- package/features/write-form/store/selectors.d.ts +1 -1
- package/features/write-form/store/slice.d.ts +34 -8
- package/features/write-form/store/slice.d.ts.map +1 -1
- package/features/write-form/types/form.d.ts +68 -5
- package/features/write-form/types/form.d.ts.map +1 -1
- package/features/write-form/utils/index.d.ts +28 -1
- package/features/write-form/utils/index.d.ts.map +1 -1
- package/index.es.js +22049 -23199
- package/index.umd.js +467 -527
- package/package.json +1 -1
- package/store/hooks.d.ts +0 -2
- package/store/hooks.d.ts.map +1 -1
- package/store/index.d.ts +0 -6
- package/store/index.d.ts.map +1 -1
- 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/{utils/index.d.ts → utils.d.ts} +3 -3
- package/utils.d.ts.map +1 -0
- package/api/conversationMeta.d.ts +0 -10
- package/api/conversationMeta.d.ts.map +0 -1
- package/api/form.d.ts +0 -5
- package/api/form.d.ts.map +0 -1
- package/api/linkCard.d.ts +0 -4
- package/api/linkCard.d.ts.map +0 -1
- package/constants/endpoints.d.ts +0 -3
- package/constants/endpoints.d.ts.map +0 -1
- package/constants/form.d.ts +0 -14
- package/constants/form.d.ts.map +0 -1
- package/constants/regex-patterns.d.ts.map +0 -1
- package/features/connector-cards/components/card-list/cards-view.d.ts +0 -16
- package/features/connector-cards/components/card-list/cards-view.d.ts.map +0 -1
- package/features/global-search/api/getSearchResults.d.ts +0 -10
- package/features/global-search/api/getSearchResults.d.ts.map +0 -1
- package/features/global-search/api/getSmartSuggestions.d.ts +0 -14
- package/features/global-search/api/getSmartSuggestions.d.ts.map +0 -1
- package/features/global-search/components/index.d.ts +0 -12
- package/features/global-search/components/index.d.ts.map +0 -1
- package/features/global-search/components/preview-and-link/index.d.ts +0 -9
- package/features/global-search/components/preview-and-link/index.d.ts.map +0 -1
- package/features/global-search/components/preview-and-link/styles.d.ts +0 -4
- package/features/global-search/components/preview-and-link/styles.d.ts.map +0 -1
- package/features/global-search/components/search-form/SearchForm.d.ts +0 -10
- package/features/global-search/components/search-form/SearchForm.d.ts.map +0 -1
- package/features/global-search/components/search-form/reducer.d.ts +0 -13
- package/features/global-search/components/search-form/reducer.d.ts.map +0 -1
- package/features/global-search/components/search-option/index.d.ts +0 -9
- package/features/global-search/components/search-option/index.d.ts.map +0 -1
- package/features/global-search/components/search-option/styles.d.ts +0 -5
- package/features/global-search/components/search-option/styles.d.ts.map +0 -1
- package/features/global-search/components/search-results/components/index.d.ts +0 -3
- package/features/global-search/components/search-results/components/index.d.ts.map +0 -1
- package/features/global-search/components/search-results/index.d.ts +0 -10
- package/features/global-search/components/search-results/index.d.ts.map +0 -1
- package/features/global-search/components/search-results/styles.d.ts +0 -6
- package/features/global-search/components/search-results/styles.d.ts.map +0 -1
- package/features/global-search/components/search-select/components/index.d.ts +0 -5
- package/features/global-search/components/search-select/components/index.d.ts.map +0 -1
- package/features/global-search/components/search-select/components/styles.d.ts +0 -4
- package/features/global-search/components/search-select/components/styles.d.ts.map +0 -1
- package/features/global-search/components/search-select/index.d.ts +0 -14
- package/features/global-search/components/search-select/index.d.ts.map +0 -1
- package/features/global-search/components/search-select/styles.d.ts +0 -3
- package/features/global-search/components/search-select/styles.d.ts.map +0 -1
- package/features/global-search/components/search-suggestions/index.d.ts +0 -8
- package/features/global-search/components/search-suggestions/index.d.ts.map +0 -1
- package/features/global-search/components/search-suggestions/styles.d.ts +0 -6
- package/features/global-search/components/search-suggestions/styles.d.ts.map +0 -1
- package/features/global-search/components/styles.d.ts +0 -5
- package/features/global-search/components/styles.d.ts.map +0 -1
- package/features/global-search/constants/api.d.ts +0 -3
- package/features/global-search/constants/api.d.ts.map +0 -1
- package/features/global-search/constants/index.d.ts +0 -7
- package/features/global-search/constants/index.d.ts.map +0 -1
- package/features/global-search/constants/storage.d.ts +0 -2
- package/features/global-search/constants/storage.d.ts.map +0 -1
- package/features/global-search/hooks/useObjectSort.d.ts +0 -10
- package/features/global-search/hooks/useObjectSort.d.ts.map +0 -1
- package/features/global-search/store/selectors.d.ts +0 -15
- package/features/global-search/store/selectors.d.ts.map +0 -1
- package/features/global-search/types/index.d.ts +0 -38
- package/features/global-search/types/index.d.ts.map +0 -1
- package/hooks/useDropdownConfig.d.ts +0 -16
- package/hooks/useDropdownConfig.d.ts.map +0 -1
- package/store/initial-state.d.ts +0 -16
- package/store/initial-state.d.ts.map +0 -1
- package/store/slice.d.ts +0 -41
- package/store/slice.d.ts.map +0 -1
- package/testing/mocks/handlers/common.d.ts +0 -2
- package/testing/mocks/handlers/common.d.ts.map +0 -1
- package/testing/mocks/handlers/global-search.d.ts +0 -2
- package/testing/mocks/handlers/global-search.d.ts.map +0 -1
- package/types/form.d.ts +0 -90
- package/types/form.d.ts.map +0 -1
- package/utils/form.d.ts +0 -20
- package/utils/form.d.ts.map +0 -1
- package/utils/index.d.ts.map +0 -1
- package/utils/poll.d.ts +0 -13
- package/utils/poll.d.ts.map +0 -1
- package/utils/validations.d.ts +0 -9
- package/utils/validations.d.ts.map +0 -1
package/package.json
CHANGED
package/store/hooks.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
export declare const useAppDispatch: import('react-redux').UseDispatch<import('redux-thunk').ThunkDispatch<{
|
|
2
2
|
cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
|
|
3
3
|
write: import('../features/write-form/store/initial-state').WriteCapabilityState;
|
|
4
|
-
common: import('./initial-state').CommonSliceState;
|
|
5
4
|
}, undefined, import('redux').UnknownAction> & import('redux').Dispatch<import('redux').UnknownAction>>;
|
|
6
5
|
export declare const useAppSelector: import('react-redux').UseSelector<{
|
|
7
6
|
cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
|
|
8
7
|
write: import('../features/write-form/store/initial-state').WriteCapabilityState;
|
|
9
|
-
common: import('./initial-state').CommonSliceState;
|
|
10
8
|
}>;
|
|
11
9
|
//# sourceMappingURL=hooks.d.ts.map
|
package/store/hooks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/store/hooks.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/store/hooks.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc;;;uGAAuC,CAAC;AACnE,eAAO,MAAM,cAAc;;;EAAqC,CAAC"}
|
package/store/index.d.ts
CHANGED
|
@@ -2,32 +2,26 @@ import { Action, ThunkAction } from '@reduxjs/toolkit';
|
|
|
2
2
|
export declare const rootReducer: import('redux').Reducer<{
|
|
3
3
|
cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
|
|
4
4
|
write: import('../features/write-form/store/initial-state').WriteCapabilityState;
|
|
5
|
-
common: import('./initial-state').CommonSliceState;
|
|
6
5
|
}, import('redux').UnknownAction, Partial<{
|
|
7
6
|
cardList: import('../features/connector-cards/store/initial-state').IConnectorState | undefined;
|
|
8
7
|
write: import('../features/write-form/store/initial-state').WriteCapabilityState | undefined;
|
|
9
|
-
common: import('./initial-state').CommonSliceState | undefined;
|
|
10
8
|
}>>;
|
|
11
9
|
export declare const store: import('@reduxjs/toolkit').EnhancedStore<{
|
|
12
10
|
cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
|
|
13
11
|
write: import('../features/write-form/store/initial-state').WriteCapabilityState;
|
|
14
|
-
common: import('./initial-state').CommonSliceState;
|
|
15
12
|
}, import('redux').UnknownAction, import('@reduxjs/toolkit').Tuple<[import('redux').StoreEnhancer<{
|
|
16
13
|
dispatch: import('redux-thunk').ThunkDispatch<{
|
|
17
14
|
cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
|
|
18
15
|
write: import('../features/write-form/store/initial-state').WriteCapabilityState;
|
|
19
|
-
common: import('./initial-state').CommonSliceState;
|
|
20
16
|
}, undefined, import('redux').UnknownAction>;
|
|
21
17
|
}>, import('redux').StoreEnhancer]>>;
|
|
22
18
|
export declare const customStore: (preloadedState?: Partial<RootState>) => import('@reduxjs/toolkit').EnhancedStore<{
|
|
23
19
|
cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
|
|
24
20
|
write: import('../features/write-form/store/initial-state').WriteCapabilityState;
|
|
25
|
-
common: import('./initial-state').CommonSliceState;
|
|
26
21
|
}, import('redux').UnknownAction, import('@reduxjs/toolkit').Tuple<[import('redux').StoreEnhancer<{
|
|
27
22
|
dispatch: import('redux-thunk').ThunkDispatch<{
|
|
28
23
|
cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
|
|
29
24
|
write: import('../features/write-form/store/initial-state').WriteCapabilityState;
|
|
30
|
-
common: import('./initial-state').CommonSliceState;
|
|
31
25
|
}, undefined, import('redux').UnknownAction>;
|
|
32
26
|
}>, import('redux').StoreEnhancer]>>;
|
|
33
27
|
export type AppStore = typeof store;
|
package/store/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/store/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/store/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE5D,eAAO,MAAM,WAAW;;;;;;GAGtB,CAAC;AAEH,eAAO,MAAM,KAAK;;;;;;;;oCAGhB,CAAC;AAEH,eAAO,MAAM,WAAW,oBAAqB,OAAO,CAAC,SAAS,CAAC;;;;;;;;oCAM9D,CAAC;AAGF,MAAM,MAAM,QAAQ,GAAG,OAAO,KAAK,CAAC;AACpC,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC;AAEzD,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC;AAE/C,MAAM,MAAM,QAAQ,CAAC,eAAe,GAAG,IAAI,IAAI,WAAW,CAAC,eAAe,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-capability.d.ts","sourceRoot":"","sources":["../../../../src/testing/mocks/handlers/write-capability.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"write-capability.d.ts","sourceRoot":"","sources":["../../../../src/testing/mocks/handlers/write-capability.ts"],"names":[],"mappings":"AAuUA,eAAO,MAAM,QAAQ,6BASpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../src/testing/mocks/handlers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../src/testing/mocks/handlers.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ,6BAAiE,CAAC"}
|
package/testing/test-utils.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare const waitForLoadingToFinish: () => Promise<void>;
|
|
|
9
9
|
export declare const renderApp: (ui: React.ReactElement, { preloadedState, store, ...renderOptions }?: ExtendedRenderOptions) => Promise<{
|
|
10
10
|
container: HTMLElement;
|
|
11
11
|
baseElement: HTMLElement;
|
|
12
|
-
debug: (baseElement?: import('react-dom/client').Container | (
|
|
12
|
+
debug: (baseElement?: import('react-dom/client').Container | (Element | Document) | Array<import('react-dom/client').Container | (Element | Document)> | undefined, maxLength?: number | undefined, options?: import('pretty-format').OptionsReceived | undefined) => void;
|
|
13
13
|
rerender: (ui: React.ReactNode) => void;
|
|
14
14
|
unmount: () => void;
|
|
15
15
|
asFragment: () => DocumentFragment;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IAvailableFtr } from '
|
|
2
|
-
import { IEventData, ICardData, ISpecificCard, ISpecificCardSlice } from '
|
|
1
|
+
import { IAvailableFtr } from './context';
|
|
2
|
+
import { IEventData, ICardData, ISpecificCard, ISpecificCardSlice } from './types/cards';
|
|
3
3
|
export declare const generateUniqueKey: (text: number | string) => string;
|
|
4
4
|
export declare const getVersionData: (version: string) => string | number | (() => StringIterator<string>) | ((url: string) => string) | (() => string) | ((pos: number) => string) | ((index: number) => number) | ((...strings: string[]) => string) | ((searchString: string, position?: number) => number) | ((searchString: string, position?: number) => number) | {
|
|
5
5
|
(that: string): number;
|
|
@@ -56,4 +56,4 @@ export declare const replacePlaceholders: (template: string, values: {
|
|
|
56
56
|
}) => string;
|
|
57
57
|
export declare const getCardLoadedGainSightEventsData: (data: ICardData, title: string, isExpanded: boolean, isSuccess?: boolean) => IEventData;
|
|
58
58
|
export declare const parseCardData: (data: ISpecificCardSlice) => ISpecificCard;
|
|
59
|
-
//# sourceMappingURL=
|
|
59
|
+
//# sourceMappingURL=utils.d.ts.map
|
package/utils.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAM1C,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAE9F,eAAO,MAAM,iBAAiB,SAAU,MAAM,GAAG,MAAM,WAGtD,CAAC;AAEF,eAAO,MAAM,cAAc,YAAa,MAAM;;+DAsH4+0M,eAAe;kCA1Ezh1M,eAAe,iBAAiB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAvB/D,eAEW;;;oBAIE,eAAe;;;;;;;4XAvB3B,CAAC;AAEF,eAAO,MAAM,yBAAyB,YAAa,MAAM,YAIxD,CAAC;AAOF,eAAO,MAAM,yBAAyB,YAAa,MAAM,WAAU,MAAM,YAIxE,CAAC;AAEF,eAAO,MAAM,mBAAmB,YAAa,MAAM,gBAAe,OAAO,aAAoB,OAAO,SA2BnG,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,sBAAuB,aAAa,2BAAoB,MAAM,YAM5F,CAAC;AAEF,eAAO,MAAM,mBAAmB,aAAc,MAAM,UAAU;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;CAAE,KAAG,MAElG,CAAC;AAEF,eAAO,MAAM,gCAAgC,SACrC,SAAS,SACR,MAAM,cACD,OAAO,cACR,OAAO,eAcnB,CAAC;AAEF,eAAO,MAAM,aAAa,SAAU,kBAAkB,KAAG,aA4BxD,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export interface ConversationMetaData {
|
|
2
|
-
emailHeaders: Record<string, string>;
|
|
3
|
-
}
|
|
4
|
-
export interface ConversationMetaProps {
|
|
5
|
-
/** conversation id */
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const fetchConversationMeta: ({ id }: ConversationMetaProps) => Promise<ConversationMetaData>;
|
|
9
|
-
export declare const useConversationMetaQuery: ({ id }: Partial<ConversationMetaProps>) => import('@tanstack/react-query').UseQueryResult<ConversationMetaData, Error>;
|
|
10
|
-
//# sourceMappingURL=conversationMeta.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"conversationMeta.d.ts","sourceRoot":"","sources":["../../src/api/conversationMeta.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,qBAAqB;IACpC,sBAAsB;IACtB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,eAAO,MAAM,qBAAqB,WAAkB,qBAAqB,KAAG,OAAO,CAAC,oBAAoB,CAavG,CAAC;AAEF,eAAO,MAAM,wBAAwB,WAAY,OAAO,CAAC,qBAAqB,CAAC,gFAM9E,CAAC"}
|
package/api/form.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
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
|
package/api/form.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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"}
|
package/api/linkCard.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const useLinkCard: (id: string, externalResourceId: string, conversationId?: number, callbacks?: {
|
|
2
|
-
onSuccess?: () => void;
|
|
3
|
-
}, channelType?: string) => import('@tanstack/react-query').UseMutationResult<void, Error, void, unknown>;
|
|
4
|
-
//# sourceMappingURL=linkCard.d.ts.map
|
package/api/linkCard.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"linkCard.d.ts","sourceRoot":"","sources":["../../src/api/linkCard.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,WAAW,OAClB,MAAM,sBACU,MAAM,mBACT,MAAM,cACX;IACV,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,gBACY,MAAM,kFAWjB,CAAC"}
|
package/constants/endpoints.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../src/constants/endpoints.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,YAAY,CAAC;AAClC,eAAO,MAAM,gBAAgB,EAAE,MAAqE,CAAC"}
|
package/constants/form.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
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
|
package/constants/form.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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,16 +0,0 @@
|
|
|
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
|
-
fetchCards: () => void;
|
|
12
|
-
getCreateBanner: () => JSX.Element;
|
|
13
|
-
}
|
|
14
|
-
export declare const CardsView: ({ cards, specificCardData, email, specificConnectorApiStatus, fetchCards, getCreateBanner }: CardsViewProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=cards-view.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cards-view.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/cards-view.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAoB,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAYrF,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,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,eAAe,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;CACpC;AAED,eAAO,MAAM,SAAS,gGAOnB,cAAc,4CA2DhB,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SearchResultsType } from '../types';
|
|
2
|
-
import { FormArgValue } from '../../../types/form';
|
|
3
|
-
export interface SearchResultsProps {
|
|
4
|
-
id: string | number;
|
|
5
|
-
searchString: string;
|
|
6
|
-
interfaceId: string;
|
|
7
|
-
args: Record<string, FormArgValue>;
|
|
8
|
-
}
|
|
9
|
-
export declare const useGetSearchResults: () => import('@tanstack/react-query').UseMutationResult<SearchResultsType | undefined, Error, SearchResultsProps, unknown>;
|
|
10
|
-
//# sourceMappingURL=getSearchResults.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getSearchResults.d.ts","sourceRoot":"","sources":["../../../../src/features/global-search/api/getSearchResults.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAI7C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,WAAW,kBAAkB;IACjC,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;AA0BD,eAAO,MAAM,mBAAmB,4HAI/B,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { SmartSuggestion, SearchOptionType } from '../types';
|
|
2
|
-
export interface SmartSuggestionsData {
|
|
3
|
-
status: 'success' | 'pending' | 'failure';
|
|
4
|
-
smart_suggestions: SmartSuggestion[];
|
|
5
|
-
suggestedOptions?: SearchOptionType[];
|
|
6
|
-
}
|
|
7
|
-
export interface SmartSuggestionProps {
|
|
8
|
-
id: string /** conversation id */;
|
|
9
|
-
}
|
|
10
|
-
export interface SmartSuggestionQueryProps extends Partial<SmartSuggestionProps> {
|
|
11
|
-
enabled: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const useSmartSuggestionsQuery: ({ id, enabled }: SmartSuggestionQueryProps) => import('@tanstack/react-query').UseQueryResult<SmartSuggestionsData, Error>;
|
|
14
|
-
//# sourceMappingURL=getSmartSuggestions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getSmartSuggestions.d.ts","sourceRoot":"","sources":["../../../../src/features/global-search/api/getSmartSuggestions.ts"],"names":[],"mappings":"AAUA,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,EAAE,EAAE,MAAM,CAAC,sBAAsB,CAAC;CACnC;AAED,MAAM,WAAW,yBAA0B,SAAQ,OAAO,CAAC,oBAAoB,CAAC;IAC9E,OAAO,EAAE,OAAO,CAAC;CAClB;AA6CD,eAAO,MAAM,wBAAwB,oBAAqB,yBAAyB,gFAQlF,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
resetSearchResults: () => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const GlobalSearch: FC<GlobalSearchProps>;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,kBAAkB,EAAE,MAAM,IAAI,CAAC;CAChC;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA8E9C,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PreviewMeta } from '../../../write-form/types/form';
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/global-search/components/preview-and-link/index.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAe,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAK5E,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,4CA+C9F,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,CAgK1C,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FormState } from '../../../../types/form';
|
|
2
|
-
import { FormActionValue } from '../../types';
|
|
3
|
-
export declare const intialState: FormState;
|
|
4
|
-
export declare const ACTIONS: {
|
|
5
|
-
SET_FIELD_VALUE: string;
|
|
6
|
-
CLEAR_ERROR: string;
|
|
7
|
-
SET_FIELD_ERROR: string;
|
|
8
|
-
SET_FIELDS: string;
|
|
9
|
-
CLEAR_FIELDS: string;
|
|
10
|
-
RESET_STATE: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const reducer: (state: FormState, action: FormActionValue) => FormState;
|
|
13
|
-
//# sourceMappingURL=reducer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,aAAa,CAAC;AAEnD,eAAO,MAAM,WAAW,EAAE,SAGzB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;CAOnB,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,SAAS,UAAU,eAAe,KAAG,SAyDnE,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,5 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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;AAEvE,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,4CAqD3F,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,CA+C9C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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,YAsBpB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,5 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,oFAC0C,CAAC;AACpF,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,iBAAiB,4BAA4B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../../src/features/global-search/constants/storage.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,4CAA4C,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { StylesConfig, GroupBase, ControlProps, OptionProps } from 'react-select';
|
|
2
|
-
import { FormStateValues, Value } from '../../../types/form';
|
|
3
|
-
interface Payload {
|
|
4
|
-
values?: FormStateValues;
|
|
5
|
-
value?: Value;
|
|
6
|
-
}
|
|
7
|
-
export interface FormActionValue {
|
|
8
|
-
type: string;
|
|
9
|
-
payload?: Payload;
|
|
10
|
-
}
|
|
11
|
-
export type SearchOptionType = {
|
|
12
|
-
label: string;
|
|
13
|
-
description: string;
|
|
14
|
-
icon: string;
|
|
15
|
-
value: string | number;
|
|
16
|
-
connectorName?: string;
|
|
17
|
-
objectName?: string;
|
|
18
|
-
};
|
|
19
|
-
export type SelectStyles = StylesConfig<SearchOptionType, false, GroupBase<SearchOptionType>>;
|
|
20
|
-
export type SelectControlProps = ControlProps<SearchOptionType, false, GroupBase<SearchOptionType>>;
|
|
21
|
-
export type SelectOptionProps = OptionProps<SearchOptionType, false, GroupBase<SearchOptionType>>;
|
|
22
|
-
export type SearchResultsType = null | {
|
|
23
|
-
externalResourceId: string;
|
|
24
|
-
name: string;
|
|
25
|
-
description: string;
|
|
26
|
-
extra_info: null | {
|
|
27
|
-
[key: string]: string;
|
|
28
|
-
};
|
|
29
|
-
}[];
|
|
30
|
-
export type SmartSuggestion = {
|
|
31
|
-
form_id: string;
|
|
32
|
-
search_string: string;
|
|
33
|
-
connector_name: string;
|
|
34
|
-
object_name: string;
|
|
35
|
-
connector_logo: string;
|
|
36
|
-
};
|
|
37
|
-
export {};
|
|
38
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/global-search/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEvF,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAEtD,UAAU,OAAO;IACf,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC,gBAAgB,EAAE,KAAK,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAC9F,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,gBAAgB,EAAE,KAAK,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC,CAAC;AACpG,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAAC,gBAAgB,EAAE,KAAK,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAElG,MAAM,MAAM,iBAAiB,GACzB,IAAI,GACJ;IACE,kBAAkB,EAAE,MAAM,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,IAAI,GAAG;QACjB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;CACH,EAAE,CAAC;AAER,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC"}
|