@hiver/connector-agent 0.0.1-beta.45 → 0.0.1-beta.47
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 +1 -3
- package/app/index.d.ts.map +1 -1
- package/app/provider.d.ts +6 -1
- package/app/provider.d.ts.map +1 -1
- package/constants/global-constants.d.ts +2 -0
- package/constants/global-constants.d.ts.map +1 -1
- package/constants/tracking-events.d.ts +6 -0
- package/constants/tracking-events.d.ts.map +1 -0
- package/context/index.d.ts +5 -2
- package/context/index.d.ts.map +1 -1
- package/context/main-app-provider/index.d.ts +5 -1
- package/context/main-app-provider/index.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/Card.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/index.d.ts +1 -7
- package/features/connector-cards/components/card-list/index.d.ts.map +1 -1
- package/features/connector-cards/components/no-connectors/index.d.ts.map +1 -1
- package/index.es.js +5114 -5121
- package/index.umd.js +97 -97
- package/package.json +1 -1
package/app/index.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { IExtraParams } from '../constants/global-constants';
|
|
3
|
-
import { IBaseUrls
|
|
3
|
+
import { IBaseUrls } from '../context';
|
|
4
4
|
interface IApp {
|
|
5
5
|
senderEmail?: string;
|
|
6
6
|
baseUrls?: IBaseUrls;
|
|
7
|
-
availableFeatures?: IAvailableFtr[];
|
|
8
|
-
threadId?: string;
|
|
9
7
|
extraParams?: IExtraParams;
|
|
10
8
|
}
|
|
11
9
|
export declare const App: FC<IApp>;
|
package/app/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAM3B,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAM3B,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAItC,UAAU,IAAI;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,YAAY,CAAC;CAC5B;AAED,eAAO,MAAM,GAAG,EAAE,EAAE,CAAC,IAAI,CAuBxB,CAAC"}
|
package/app/provider.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
import { IExtraParams } from '../constants/global-constants';
|
|
2
|
+
import { IBaseUrls } from '../context';
|
|
1
3
|
type AppProviderProps = {
|
|
2
4
|
children: React.ReactNode;
|
|
5
|
+
extraParams?: IExtraParams;
|
|
6
|
+
senderEmail?: string;
|
|
7
|
+
baseUrls?: IBaseUrls;
|
|
3
8
|
};
|
|
4
|
-
export declare const AppProvider: ({ children }: AppProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const AppProvider: ({ children, extraParams, senderEmail, baseUrls }: AppProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
10
|
export {};
|
|
6
11
|
//# sourceMappingURL=provider.d.ts.map
|
package/app/provider.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/app/provider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/app/provider.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,KAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,WAAW,qDAAsD,gBAAgB,4CAa7F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-constants.d.ts","sourceRoot":"","sources":["../../src/constants/global-constants.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"global-constants.d.ts","sourceRoot":"","sources":["../../src/constants/global-constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;CACnE"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const ENABLE_CONNECTORS_CLICKED = "enable_connectors_clicked";
|
|
2
|
+
export declare const LEARN_MORE_CLICKED = "learn_more_clicked";
|
|
3
|
+
export declare const CONNECTOR_CARD_EXPAND_CLICKED = "connector_card_expand_clicked";
|
|
4
|
+
export declare const CONNECTOR_CARD_COLLAPSED_CLICKED = "connector_card_collapsed_clicked";
|
|
5
|
+
export declare const CONNECTOR_CARD_REFRESH_CLICKED = "connector_card_refresh_clicked";
|
|
6
|
+
//# sourceMappingURL=tracking-events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tracking-events.d.ts","sourceRoot":"","sources":["../../src/constants/tracking-events.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,8BAA8B,CAAC;AACrE,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,gCAAgC,qCAAqC,CAAC;AACnF,eAAO,MAAM,8BAA8B,mCAAmC,CAAC"}
|
package/context/index.d.ts
CHANGED
|
@@ -12,17 +12,20 @@ export interface IAvailableFtr {
|
|
|
12
12
|
export interface ICurrentOption {
|
|
13
13
|
[key: string]: 'open' | 'closed';
|
|
14
14
|
}
|
|
15
|
+
export interface ITrackingData {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}
|
|
15
18
|
export interface IMainAppContext {
|
|
16
19
|
email: string | null;
|
|
17
|
-
setEmail: (value: string | null) => void;
|
|
18
20
|
baseUrls: IBaseUrls;
|
|
19
|
-
|
|
21
|
+
sendTrackingEvent: (event: string, data?: ITrackingData) => void;
|
|
20
22
|
}
|
|
21
23
|
export declare const defaultMainAppvalues: {
|
|
22
24
|
email: string;
|
|
23
25
|
setEmail: () => void;
|
|
24
26
|
baseUrls: {};
|
|
25
27
|
setBaseUrls: () => void;
|
|
28
|
+
sendTrackingEvent: () => void;
|
|
26
29
|
};
|
|
27
30
|
export declare const MainAppContext: import('react').Context<IMainAppContext>;
|
|
28
31
|
//# 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,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,
|
|
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,aAAa;IAE5B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,QAAQ,EAAE,SAAS,CAAC;IAEpB,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;CAElE;AAED,eAAO,MAAM,oBAAoB;;;;;;CAOhC,CAAC;AAEF,eAAO,MAAM,cAAc,0CAAuD,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { IBaseUrls, ITrackingData } from '../index.ts';
|
|
2
3
|
interface IProps {
|
|
3
4
|
children: ReactNode;
|
|
5
|
+
sendTrackingEvent?: (event: string, data?: ITrackingData | undefined) => void;
|
|
6
|
+
senderEmail?: string | null;
|
|
7
|
+
baseUrls?: IBaseUrls;
|
|
4
8
|
}
|
|
5
|
-
declare const MainAppProvider: ({ children }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare const MainAppProvider: ({ children, sendTrackingEvent, senderEmail, baseUrls }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
10
|
export default MainAppProvider;
|
|
7
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/context/main-app-provider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/context/main-app-provider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAW,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,aAAa,EAAkB,MAAM,aAAa,CAAC;AAEvE,UAAU,MAAM;IACd,QAAQ,EAAE,SAAS,CAAC;IACpB,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,aAAa,GAAG,SAAS,KAAK,IAAI,CAAC;IAC9E,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,eAAe,2DAAsE,MAAM,4CAahG,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/Card.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAerD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/card-list/Card.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAerD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQxC,UAAU,MAAM;IACd,IAAI,EAAE,KAAK,CAAC;IACZ,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,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,4CAwFjC,CAAC"}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { IAvailableFtr, IBaseUrls } from '../../../../context';
|
|
3
|
-
import { IExtraParams } from '../../../../constants/global-constants';
|
|
4
2
|
interface IcardList {
|
|
5
|
-
|
|
6
|
-
baseUrls?: IBaseUrls;
|
|
7
|
-
availableFeatures?: IAvailableFtr[];
|
|
8
|
-
threadId?: string;
|
|
9
|
-
extraParams?: IExtraParams;
|
|
3
|
+
isAdmin?: boolean;
|
|
10
4
|
}
|
|
11
5
|
export declare const CardList: FC<IcardList>;
|
|
12
6
|
export {};
|
|
@@ -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,EAAyB,MAAM,OAAO,CAAC;
|
|
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;AAyBlD,UAAU,SAAS;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,SAAS,CAiDlC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/no-connectors/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-cards/components/no-connectors/index.tsx"],"names":[],"mappings":"AA6BA,UAAU,aAAa;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,YAAY,gBAAwB,aAAa,4CAoCtD,CAAC;AAEF,eAAe,YAAY,CAAC"}
|