@hiver/connector-agent 0.0.1-beta.0 → 0.0.1-beta.2
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/index.d.ts +9 -1
- package/app/index.d.ts.map +1 -1
- package/constants/card.d.ts +2 -0
- package/constants/card.d.ts.map +1 -1
- package/constants/noConnector.d.ts +5 -0
- package/constants/noConnector.d.ts.map +1 -0
- package/context/index.d.ts +14 -0
- package/context/index.d.ts.map +1 -1
- package/context/main-app-provider/index.d.ts.map +1 -1
- package/features/connector-cards/api/index.d.ts +1 -0
- package/features/connector-cards/api/index.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/Card.d.ts +18 -0
- package/features/connector-cards/components/card-list/Card.d.ts.map +1 -0
- package/features/connector-cards/components/card-list/CardContent.d.ts +15 -0
- package/features/connector-cards/components/card-list/CardContent.d.ts.map +1 -0
- package/features/connector-cards/components/card-list/{__test__ → __tests__}/card-list.test.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/index.d.ts +8 -1
- package/features/connector-cards/components/card-list/index.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/style.d.ts +12 -3
- package/features/connector-cards/components/card-list/style.d.ts.map +1 -1
- package/features/connector-cards/components/no-connectors/index.d.ts +3 -0
- package/features/connector-cards/components/no-connectors/index.d.ts.map +1 -0
- package/features/connector-cards/components/no-connectors/style.d.ts +7 -0
- package/features/connector-cards/components/no-connectors/style.d.ts.map +1 -0
- package/features/connector-cards/constants/api.d.ts.map +1 -1
- package/features/connector-cards/store/index.d.ts +7 -0
- package/features/connector-cards/store/index.d.ts.map +1 -1
- package/features/connector-cards/store/initial-state.d.ts +5 -3
- package/features/connector-cards/store/initial-state.d.ts.map +1 -1
- package/features/connector-cards/store/selectors.d.ts +5 -3
- package/features/connector-cards/store/selectors.d.ts.map +1 -1
- package/features/connector-cards/store/slice.d.ts +22 -2
- package/features/connector-cards/store/slice.d.ts.map +1 -1
- package/features/toast-message/CloseButton.d.ts +4 -0
- package/features/toast-message/CloseButton.d.ts.map +1 -0
- package/features/toast-message/HiverIconToast.d.ts +7 -0
- package/features/toast-message/HiverIconToast.d.ts.map +1 -0
- package/features/toast-message/__tests__/toastMessage.test.d.ts +2 -0
- package/features/toast-message/__tests__/toastMessage.test.d.ts.map +1 -0
- package/features/toast-message/constants/toast.d.ts +4 -0
- package/features/toast-message/constants/toast.d.ts.map +1 -0
- package/features/toast-message/showMessage.d.ts +13 -0
- package/features/toast-message/showMessage.d.ts.map +1 -0
- package/features/toast-message/style.d.ts +7 -0
- package/features/toast-message/style.d.ts.map +1 -0
- package/index.es.js +9384 -8175
- package/index.umd.js +293 -92
- package/main.d.ts +5 -0
- package/main.d.ts.map +1 -1
- package/package.json +2 -5
- package/testing/mocks/handlers/fetch-cards.d.ts +6 -0
- package/testing/mocks/handlers/fetch-cards.d.ts.map +1 -1
- package/testing/test-utils.d.ts +6 -1
- package/testing/test-utils.d.ts.map +1 -1
- package/types/cards.d.ts +12 -6
- package/types/cards.d.ts.map +1 -1
- /package/features/connector-cards/components/card-list/{__test__ → __tests__}/card-list.test.d.ts +0 -0
package/app/index.d.ts
CHANGED
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IBaseUrls, IAvailableFtr } from '../context';
|
|
3
|
+
interface IApp {
|
|
4
|
+
senderEmail?: string;
|
|
5
|
+
baseUrls?: IBaseUrls;
|
|
6
|
+
availableFeatures?: IAvailableFtr[];
|
|
7
|
+
}
|
|
8
|
+
export declare const App: FC<IApp>;
|
|
9
|
+
export {};
|
|
2
10
|
//# sourceMappingURL=index.d.ts.map
|
package/app/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app/index.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAErD,UAAU,IAAI;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iBAAiB,CAAC,EAAE,aAAa,EAAE,CAAC;CACrC;AAED,eAAO,MAAM,GAAG,EAAE,EAAE,CAAC,IAAI,CAgBxB,CAAC"}
|
package/constants/card.d.ts
CHANGED
package/constants/card.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../src/constants/card.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,SAAS,CAAC;AAC3B,eAAO,MAAM,MAAM,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../src/constants/card.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,SAAS,CAAC;AAC3B,eAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,eAAO,MAAM,SAAS,iCAAiC,CAAC;AACxD,eAAO,MAAM,IAAI,MAAM,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const STREAMLINE_TEXT = "Streamline your workflow with Custom Connectors";
|
|
2
|
+
export declare const PLUGIN_TEXT = "Plugin image";
|
|
3
|
+
export declare const AUTHENTICATION_TEXT = "Authenticate and enable powerful integrations directly from the Admin panel to enhance your team's productivity.";
|
|
4
|
+
export declare const ENABLE_CONNECTORS = "Enable connectors";
|
|
5
|
+
//# sourceMappingURL=noConnector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"noConnector.d.ts","sourceRoot":"","sources":["../../src/constants/noConnector.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,oDAAoD,CAAC;AACjF,eAAO,MAAM,WAAW,iBAAiB,CAAC;AAC1C,eAAO,MAAM,mBAAmB,qHAAqH,CAAC;AACtJ,eAAO,MAAM,iBAAiB,sBAAsB,CAAC"}
|
package/context/index.d.ts
CHANGED
|
@@ -3,16 +3,30 @@ export interface IConnectorType {
|
|
|
3
3
|
name: string;
|
|
4
4
|
isEnabled: boolean;
|
|
5
5
|
}
|
|
6
|
+
export interface IBaseUrls {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IAvailableFtr {
|
|
10
|
+
[key: string]: boolean;
|
|
11
|
+
}
|
|
6
12
|
export interface ICurrentOption {
|
|
7
13
|
[key: string]: 'open' | 'closed';
|
|
8
14
|
}
|
|
9
15
|
export interface IMainAppContext {
|
|
10
16
|
currentOpenState: ICurrentOption | null;
|
|
11
17
|
setCurrentOpenState: (value: ICurrentOption | null) => void;
|
|
18
|
+
email: string | null;
|
|
19
|
+
setEmail: (value: string | null) => void;
|
|
20
|
+
baseUrls: IBaseUrls;
|
|
21
|
+
setBaseUrls: (value: IBaseUrls) => void;
|
|
12
22
|
}
|
|
13
23
|
export declare const defaultMainAppvalues: {
|
|
14
24
|
currentOpenState: null;
|
|
15
25
|
setCurrentOpenState: () => void;
|
|
26
|
+
email: string;
|
|
27
|
+
setEmail: () => void;
|
|
28
|
+
baseUrls: {};
|
|
29
|
+
setBaseUrls: () => void;
|
|
16
30
|
};
|
|
17
31
|
export declare const MainAppContext: import('react').Context<IMainAppContext>;
|
|
18
32
|
//# sourceMappingURL=index.d.ts.map
|
package/context/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,cAAc;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;CAClC;AAED,MAAM,WAAW,eAAe;IAC9B,gBAAgB,EAAE,cAAc,GAAG,IAAI,CAAC;IACxC,mBAAmB,EAAE,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,aAAa;IAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,cAAc;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;CAClC;AAED,MAAM,WAAW,eAAe;IAC9B,gBAAgB,EAAE,cAAc,GAAG,IAAI,CAAC;IACxC,mBAAmB,EAAE,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC;IAC5D,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACzC,QAAQ,EAAE,SAAS,CAAC;IACpB,WAAW,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;CACzC;AAED,eAAO,MAAM,oBAAoB;;;;;;;CAOhC,CAAC;AAEF,eAAO,MAAM,cAAc,0CAAuD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/context/main-app-provider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,SAAS,EAAE,MAAM,OAAO,CAAC;AAG5C,UAAU,MAAM;IACd,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,QAAA,MAAM,eAAe,iBAAkB,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/context/main-app-provider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,SAAS,EAAE,MAAM,OAAO,CAAC;AAG5C,UAAU,MAAM;IACd,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,QAAA,MAAM,eAAe,iBAAkB,MAAM,4CAkB5C,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export declare const getConnectorData: () => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
2
|
+
export declare const getSpecificConnectorData: (id: string, email: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
2
3
|
//# 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":"AAMA,eAAO,MAAM,gBAAgB,oEAK5B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/api/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,oEAK5B,CAAC;AAEF,eAAO,MAAM,wBAAwB,OAAQ,MAAM,SAAS,MAAM,iEAKjE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ICurrentOption } from '../../../../context';
|
|
2
|
+
import { ICard, ISpecificCard } from '../../../../types/cards';
|
|
3
|
+
import { ApiStatus } from '../../../../types/api';
|
|
4
|
+
interface Iprops {
|
|
5
|
+
card: ICard;
|
|
6
|
+
currentOpenState: ICurrentOption | null;
|
|
7
|
+
setCurrentOpenState: (str: ICurrentOption) => void;
|
|
8
|
+
specificCardData: {
|
|
9
|
+
[key: string]: ISpecificCard;
|
|
10
|
+
} | null;
|
|
11
|
+
email: string;
|
|
12
|
+
specificConnectorApiStatus: {
|
|
13
|
+
[key: string]: ApiStatus;
|
|
14
|
+
} | null;
|
|
15
|
+
}
|
|
16
|
+
export declare const Card: (props: Iprops) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/Card.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAG3C,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAerD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,UAAU,MAAM;IACd,IAAI,EAAE,KAAK,CAAC;IACZ,gBAAgB,EAAE,cAAc,GAAG,IAAI,CAAC;IACxC,mBAAmB,EAAE,CAAC,GAAG,EAAE,cAAc,KAAK,IAAI,CAAC;IACnD,gBAAgB,EAAE;QAChB,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC;KAC9B,GAAG,IAAI,CAAC;IACT,KAAK,EAAE,MAAM,CAAC;IACd,0BAA0B,EAAE;QAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B,GAAG,IAAI,CAAC;CACV;AAED,eAAO,MAAM,IAAI,UAAW,MAAM,4CA0DjC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ISpecificCard } from '../../../../types/cards';
|
|
2
|
+
import { ApiStatus } from '../../../../types/api';
|
|
3
|
+
interface Iprops {
|
|
4
|
+
id: string;
|
|
5
|
+
specificCardData: {
|
|
6
|
+
[key: string]: ISpecificCard;
|
|
7
|
+
} | null;
|
|
8
|
+
specificConnectorApiStatus: {
|
|
9
|
+
[key: string]: ApiStatus;
|
|
10
|
+
} | null;
|
|
11
|
+
isOpen: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const CardContent: (props: Iprops) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=CardContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardContent.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/CardContent.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAKxC,UAAU,MAAM;IACd,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,EAAE;QAChB,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC;KAC9B,GAAG,IAAI,CAAC;IACT,0BAA0B,EAAE;QAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;KAC1B,GAAG,IAAI,CAAC;IACT,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,WAAW,UAAW,MAAM,4CAsExC,CAAC"}
|
package/features/connector-cards/components/card-list/{__test__ → __tests__}/card-list.test.d.ts.map
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card-list.test.d.ts","sourceRoot":"","sources":["../../../../../../src/features/connector-cards/components/card-list/
|
|
1
|
+
{"version":3,"file":"card-list.test.d.ts","sourceRoot":"","sources":["../../../../../../src/features/connector-cards/components/card-list/__tests__/card-list.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
|
|
2
|
+
import { IAvailableFtr, IBaseUrls } from '../../../../context';
|
|
3
|
+
interface IcardList {
|
|
4
|
+
senderEmail?: string | null;
|
|
5
|
+
baseUrls?: IBaseUrls;
|
|
6
|
+
availableFeatures?: IAvailableFtr[];
|
|
7
|
+
}
|
|
8
|
+
export declare const CardList: FC<IcardList>;
|
|
9
|
+
export {};
|
|
3
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAyB,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAE,aAAa,EAAE,SAAS,EAAkC,MAAM,WAAW,CAAC;AAmBrF,UAAU,SAAS;IACjB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iBAAiB,CAAC,EAAE,aAAa,EAAE,CAAC;CACrC;AAED,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,SAAS,CAyElC,CAAC"}
|
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
import { BoxProps, GridProps, TypographyProps } from '@hiver/hiver-ui-kit';
|
|
1
|
+
import { BoxProps, GridProps, IconButtonProps, SkeletonProps, StackProps, SvgIconProps, TypographyProps } from '@hiver/hiver-ui-kit';
|
|
2
2
|
import { StyledComponent } from '@emotion/styled';
|
|
3
|
+
export declare const ConnectorsIcon: StyledComponent<SvgIconProps>;
|
|
4
|
+
export declare const ConnectorsTitle: StyledComponent<TypographyProps>;
|
|
3
5
|
export declare const ParentCardWrapper: StyledComponent<GridProps>;
|
|
4
6
|
export declare const CardWrapper: StyledComponent<BoxProps>;
|
|
5
|
-
export declare const CardHeading: StyledComponent<
|
|
7
|
+
export declare const CardHeading: StyledComponent<StackProps>;
|
|
8
|
+
export declare const FlexBox: StyledComponent<StackProps>;
|
|
6
9
|
export declare const HeadingText: StyledComponent<TypographyProps>;
|
|
7
|
-
export declare const
|
|
10
|
+
export declare const CardContentWrapper: StyledComponent<BoxProps>;
|
|
8
11
|
export declare const LabelText: StyledComponent<TypographyProps>;
|
|
12
|
+
export declare const TryAgaintext: StyledComponent<TypographyProps>;
|
|
9
13
|
export declare const ValueText: StyledComponent<TypographyProps>;
|
|
14
|
+
export declare const Arrow: StyledComponent<BoxProps>;
|
|
15
|
+
export declare const CustomSkeleton: StyledComponent<SkeletonProps & {
|
|
16
|
+
margin?: string;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const IconWrapper: StyledComponent<IconButtonProps>;
|
|
10
19
|
//# sourceMappingURL=style.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/style.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/style.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,QAAQ,EACR,SAAS,EACT,eAAe,EACf,aAAa,EACb,UAAU,EACV,YAAY,EACZ,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,CAKxD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,QAAQ,CAMjD,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,CAGxD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,QAAQ,CA+BxD,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,eAAe,CAItD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,eAAe,CAIzD,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,eAAe,CAEtD,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,eAAe,CAAC,QAAQ,CAuC3C,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,aAAa,GAAG;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAG/E,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAyBxD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/no-connectors/index.tsx"],"names":[],"mappings":"AAUA,QAAA,MAAM,YAAY,+CAqBjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { StackProps, TypographyProps, ButtonProps } from '@hiver/hiver-ui-kit';
|
|
2
|
+
import { StyledComponent } from '@emotion/styled';
|
|
3
|
+
export declare const StreamLineContent: StyledComponent<StackProps>;
|
|
4
|
+
export declare const StreamText: StyledComponent<TypographyProps>;
|
|
5
|
+
export declare const AuthText: StyledComponent<TypographyProps>;
|
|
6
|
+
export declare const EnableConnectorsBtn: StyledComponent<ButtonProps>;
|
|
7
|
+
//# sourceMappingURL=style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/no-connectors/style.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,eAAO,MAAM,iBAAiB,EAAE,eAAe,CAAC,UAAU,CAWzD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,eAAe,CAMvD,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,eAAe,CAKrD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,WAAW,CAU5D,CAAC"}
|
|
@@ -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,
|
|
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,MAAqD,CAAC"}
|
|
@@ -11,6 +11,13 @@ export declare const store: import('@reduxjs/toolkit').EnhancedStore<{
|
|
|
11
11
|
cardList: import('./initial-state').IConnectorState;
|
|
12
12
|
}, undefined, import('redux').UnknownAction>;
|
|
13
13
|
}>, import('redux').StoreEnhancer]>>;
|
|
14
|
+
export declare const customStore: (preloadedState?: Partial<RootState>) => import('@reduxjs/toolkit').EnhancedStore<{
|
|
15
|
+
cardList: import('./initial-state').IConnectorState;
|
|
16
|
+
}, import('redux').UnknownAction, import('@reduxjs/toolkit').Tuple<[import('redux').StoreEnhancer<{
|
|
17
|
+
dispatch: import('redux-thunk').ThunkDispatch<{
|
|
18
|
+
cardList: import('./initial-state').IConnectorState;
|
|
19
|
+
}, undefined, import('redux').UnknownAction>;
|
|
20
|
+
}>, import('redux').StoreEnhancer]>>;
|
|
14
21
|
export type AppStore = typeof store;
|
|
15
22
|
export type RootState = ReturnType<AppStore['getState']>;
|
|
16
23
|
export type AppDispatch = AppStore['dispatch'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/store/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE5D,eAAO,MAAM,WAAW;;;;GAEtB,CAAC;AAEH,eAAO,MAAM,KAAK;;;;;;oCAGhB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/store/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE5D,eAAO,MAAM,WAAW;;;;GAEtB,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"}
|
|
@@ -2,11 +2,13 @@ import { ApiStatus } from '../../../types/api';
|
|
|
2
2
|
import { ICard, ISpecificCard } from '../../../types/cards';
|
|
3
3
|
export interface IConnectorState {
|
|
4
4
|
connectorCards: Array<ICard> | null;
|
|
5
|
-
cardSpecificData:
|
|
6
|
-
connectorApiStatus: ApiStatus;
|
|
7
|
-
specificConnectorApiStatus?: {
|
|
5
|
+
cardSpecificData: {
|
|
8
6
|
[key: string]: ISpecificCard;
|
|
9
7
|
} | null;
|
|
8
|
+
connectorApiStatus: ApiStatus;
|
|
9
|
+
specificConnectorApiStatus: {
|
|
10
|
+
[key: string]: ApiStatus;
|
|
11
|
+
} | null;
|
|
10
12
|
}
|
|
11
13
|
export declare const initialState: IConnectorState;
|
|
12
14
|
//# sourceMappingURL=initial-state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initial-state.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/store/initial-state.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE1D,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;IACpC,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"initial-state.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/store/initial-state.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE1D,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;IACpC,gBAAgB,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAA;KAAE,GAAG,IAAI,CAAC;IAC1D,kBAAkB,EAAE,SAAS,CAAC;IAC9B,0BAA0B,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,GAAG,IAAI,CAAC;CACjE;AAGD,eAAO,MAAM,YAAY,EAAE,eAK1B,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { RootState } from '.';
|
|
2
2
|
export declare const selectConnector: (state: RootState) => import('../../../types/cards').ICard[] | null;
|
|
3
3
|
export declare const selectConnectorApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
4
|
-
export declare const selectSpecificConnector: (state: RootState) =>
|
|
5
|
-
export declare const selectSpecificConnectorApiStatus: (state: RootState) => {
|
|
4
|
+
export declare const selectSpecificConnector: (state: RootState) => {
|
|
6
5
|
[key: string]: import('../../../types/cards').ISpecificCard;
|
|
7
|
-
} | null
|
|
6
|
+
} | null;
|
|
7
|
+
export declare const selectSpecificConnectorApiStatus: (state: RootState) => {
|
|
8
|
+
[key: string]: import('../../../types/api').ApiStatus;
|
|
9
|
+
} | null;
|
|
8
10
|
//# sourceMappingURL=selectors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/store/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAGlE,eAAO,MAAM,eAAe,UAAW,SAAS,kDAAkC,CAAC;AACnF,eAAO,MAAM,wBAAwB,UAAW,SAAS,2CAAsC,CAAC;AAChG,eAAO,MAAM,uBAAuB,UAAW,SAAS,
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/store/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAGlE,eAAO,MAAM,eAAe,UAAW,SAAS,kDAAkC,CAAC;AACnF,eAAO,MAAM,wBAAwB,UAAW,SAAS,2CAAsC,CAAC;AAChG,eAAO,MAAM,uBAAuB,UAAW,SAAS;;QAAoC,CAAC;AAC7F,eAAO,MAAM,gCAAgC,UAAW,SAAS;;QAA8C,CAAC"}
|
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
import { selectConnector } from './selectors';
|
|
2
|
+
import { ICard, ISpecificCard } from '../../../types/cards';
|
|
2
3
|
export declare const connectorCardLibrary: import('@reduxjs/toolkit').Slice<import('./initial-state').IConnectorState, {}, "connectorCardLibrary", "connectorCardLibrary", import('@reduxjs/toolkit').SliceSelectors<import('./initial-state').IConnectorState>>;
|
|
3
|
-
declare const fetchAllCardsData: import('@reduxjs/toolkit').AsyncThunk<
|
|
4
|
+
declare const fetchAllCardsData: import('@reduxjs/toolkit').AsyncThunk<{
|
|
5
|
+
cards: ICard[];
|
|
6
|
+
}, void, {
|
|
7
|
+
state?: unknown;
|
|
8
|
+
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
9
|
+
extra?: unknown;
|
|
10
|
+
rejectValue?: unknown;
|
|
11
|
+
serializedErrorType?: unknown;
|
|
12
|
+
pendingMeta?: unknown;
|
|
13
|
+
fulfilledMeta?: unknown;
|
|
14
|
+
rejectedMeta?: unknown;
|
|
15
|
+
}>;
|
|
16
|
+
declare const fetchSpecificCardData: import('@reduxjs/toolkit').AsyncThunk<{
|
|
17
|
+
data: {};
|
|
18
|
+
} | {
|
|
19
|
+
data: ISpecificCard;
|
|
20
|
+
}, {
|
|
21
|
+
id: string;
|
|
22
|
+
email: string;
|
|
23
|
+
}, {
|
|
4
24
|
state?: unknown;
|
|
5
25
|
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
6
26
|
extra?: unknown;
|
|
@@ -13,5 +33,5 @@ declare const fetchAllCardsData: import('@reduxjs/toolkit').AsyncThunk<any, void
|
|
|
13
33
|
declare const _default: import('redux').Reducer<import('./initial-state').IConnectorState>;
|
|
14
34
|
export default _default;
|
|
15
35
|
export declare const actions: import('@reduxjs/toolkit').CaseReducerActions<{}, "connectorCardLibrary">;
|
|
16
|
-
export { selectConnector, fetchAllCardsData };
|
|
36
|
+
export { selectConnector, fetchAllCardsData, fetchSpecificCardData };
|
|
17
37
|
//# 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":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/store/slice.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAC7E,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAErD,eAAO,MAAM,oBAAoB,qRA4C/B,CAAC;AAIH,QAAA,MAAM,iBAAiB;;;;;;;;;;;EASrB,CAAC;AAEH,QAAA,MAAM,qBAAqB;;;;;QAEG,MAAM;WAAS,MAAM;;;;;;;;;;EAUlD,CAAC;;AAEF,wBAA4C;AAC5C,eAAO,MAAM,OAAO,2EAA+B,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloseButton.d.ts","sourceRoot":"","sources":["../../../src/features/toast-message/CloseButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAM3B,QAAA,MAAM,WAAW,EAAE,EAIlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HiverIconToast.d.ts","sourceRoot":"","sources":["../../../src/features/toast-message/HiverIconToast.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAI3B,UAAU,eAAe;IACvB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,eAAe,CAKvC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toastMessage.test.d.ts","sourceRoot":"","sources":["../../../../src/features/toast-message/__tests__/toastMessage.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../../src/features/toast-message/constants/toast.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,WAAqB,CAAC;AAChD,eAAO,MAAM,WAAW,SAAmB,CAAC;AAC5C,eAAO,MAAM,SAAS,aAAuB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dispatches action to show message
|
|
3
|
+
* @param {Object} message Message object of format { type, message }
|
|
4
|
+
*/
|
|
5
|
+
export interface IShowMessage {
|
|
6
|
+
message: string;
|
|
7
|
+
type?: 'success' | 'error' | 'info-dark' | undefined;
|
|
8
|
+
autoClose?: number | false | undefined;
|
|
9
|
+
}
|
|
10
|
+
declare function showMessage(messageObject: IShowMessage): import('react-toastify').Id;
|
|
11
|
+
declare function removeToast(toastId: string | number): void;
|
|
12
|
+
export { showMessage, removeToast };
|
|
13
|
+
//# sourceMappingURL=showMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"showMessage.d.ts","sourceRoot":"","sources":["../../../src/features/toast-message/showMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,uCAAuC,CAAC;AAC/C,OAAO,gBAAgB,CAAC;AAMxB;;;GAGG;AAEH,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,WAAW,GAAG,SAAS,CAAC;IACrD,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS,CAAC;CACxC;AAED,iBAAS,WAAW,CAAC,aAAa,EAAE,YAAY,+BAoC/C;AAED,iBAAS,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,QAE5C;AAED,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { StyledComponent } from '@emotion/styled';
|
|
2
|
+
import { BoxProps, StackProps, SvgIconOwnProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
export declare const Wrapper: StyledComponent<BoxProps>;
|
|
4
|
+
export declare const Message: StyledComponent<BoxProps>;
|
|
5
|
+
export declare const Logo: StyledComponent<SvgIconOwnProps>;
|
|
6
|
+
export declare const ImgWrapper: StyledComponent<StackProps>;
|
|
7
|
+
//# sourceMappingURL=style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../src/features/toast-message/style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEjF,eAAO,MAAM,OAAO,EAAE,eAAe,CAAC,QAAQ,CAI7C,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,eAAe,CAAC,QAAQ,CAG7C,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,eAAe,CAAC,eAAe,CAK/C,CAAC;AAEJ,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,UAAU,CAUlD,CAAC"}
|