@hiver/connector-agent 4.10.1-apiDefer-beta.0 → 4.10.1-splitAppsNudge-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/api/appCustomField.d.ts +0 -17
- package/api/appCustomField.d.ts.map +1 -1
- package/app/split-apps-nudge/index.d.ts +3 -0
- package/app/split-apps-nudge/index.d.ts.map +1 -0
- package/app/split-apps-nudge/provider.d.ts +6 -0
- package/app/split-apps-nudge/provider.d.ts.map +1 -0
- package/constants/endpoints.d.ts +0 -1
- package/constants/endpoints.d.ts.map +1 -1
- package/features/split-apps/components/nudge/index.d.ts +14 -0
- package/features/split-apps/components/nudge/index.d.ts.map +1 -0
- package/features/split-apps/components/nudge/styles.d.ts +8 -0
- package/features/split-apps/components/nudge/styles.d.ts.map +1 -0
- package/features/split-apps/components/nudge/tooltip.d.ts +8 -0
- package/features/split-apps/components/nudge/tooltip.d.ts.map +1 -0
- package/index.d.ts +3 -2
- package/index.d.ts.map +1 -1
- package/index.es.js +4492 -4334
- package/index.umd.js +282 -238
- package/package.json +1 -1
package/api/appCustomField.d.ts
CHANGED
|
@@ -7,23 +7,6 @@ export interface AppCfValuesRequest {
|
|
|
7
7
|
inboxId: number;
|
|
8
8
|
appCustomFields: AppCustomFieldRef[];
|
|
9
9
|
}
|
|
10
|
-
export type AppFieldValueStatus = 'resolved' | 'error' | 'deferred';
|
|
11
|
-
export interface AppFieldValue {
|
|
12
|
-
appFieldRefId: string;
|
|
13
|
-
value: string;
|
|
14
|
-
deepLinkUrl?: string;
|
|
15
|
-
status: AppFieldValueStatus;
|
|
16
|
-
}
|
|
17
|
-
export interface AppCfValuesResponse {
|
|
18
|
-
fields: AppFieldValue[];
|
|
19
|
-
summary: {
|
|
20
|
-
total: number;
|
|
21
|
-
resolved: number;
|
|
22
|
-
error: number;
|
|
23
|
-
deferred: number;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
10
|
export declare const fetchAppCfValues: (data: AppCfValuesRequest) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
27
|
-
export declare const fetchDeferredAppCfValues: (data: AppCfValuesRequest) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
28
11
|
export {};
|
|
29
12
|
//# sourceMappingURL=appCustomField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appCustomField.d.ts","sourceRoot":"","sources":["../../src/api/appCustomField.ts"],"names":[],"mappings":"AAKA,UAAU,iBAAiB;IACzB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,kBAAkB;IACjC,cAAc,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,iBAAiB,EAAE,CAAC;CACtC;AAED,
|
|
1
|
+
{"version":3,"file":"appCustomField.d.ts","sourceRoot":"","sources":["../../src/api/appCustomField.ts"],"names":[],"mappings":"AAKA,UAAU,iBAAiB;IACzB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,kBAAkB;IACjC,cAAc,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,iBAAiB,EAAE,CAAC;CACtC;AAED,eAAO,MAAM,gBAAgB,SAAU,kBAAkB,iEAMxD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app/split-apps-nudge/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAElF,eAAO,MAAM,cAAc,UAAW,mBAAmB,4CAMxD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/app/split-apps-nudge/provider.tsx"],"names":[],"mappings":"AAEA,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,sBAAsB,iBAAkB,aAAa,4CAEjE,CAAC"}
|
package/constants/endpoints.d.ts
CHANGED
|
@@ -6,5 +6,4 @@ export declare const LINK_CARD_API: string;
|
|
|
6
6
|
export declare const PREVIEW_CARD_API: string;
|
|
7
7
|
export declare const SELECTED_MAIL_API: string;
|
|
8
8
|
export declare const APP_CF_VALUES_API = "/v1/api/connectors/app-cf-values";
|
|
9
|
-
export declare const DEFERRED_APP_CF_VALUES_API = "/v1/api/connectors/deferred-app-cf-values";
|
|
10
9
|
//# sourceMappingURL=endpoints.d.ts.map
|
|
@@ -1 +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,uBAAuB,EAAE,MAA8C,CAAC;AACrF,eAAO,MAAM,aAAa,EAAE,MAAgD,CAAC;AAC7E,eAAO,MAAM,gBAAgB,EAAE,MAAmD,CAAC;AACnF,eAAO,MAAM,iBAAiB,EAAE,MAA6E,CAAC;AAC9G,eAAO,MAAM,iBAAiB,qCAAyC,CAAC
|
|
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,uBAAuB,EAAE,MAA8C,CAAC;AACrF,eAAO,MAAM,aAAa,EAAE,MAAgD,CAAC;AAC7E,eAAO,MAAM,gBAAgB,EAAE,MAAmD,CAAC;AACnF,eAAO,MAAM,iBAAiB,EAAE,MAA6E,CAAC;AAC9G,eAAO,MAAM,iBAAiB,qCAAyC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type SplitAppsNudgeProps = {
|
|
2
|
+
open: boolean;
|
|
3
|
+
zIndex: number;
|
|
4
|
+
targetRef: {
|
|
5
|
+
current: HTMLElement | null;
|
|
6
|
+
};
|
|
7
|
+
endElRef?: {
|
|
8
|
+
current: HTMLElement | null;
|
|
9
|
+
};
|
|
10
|
+
storageKey?: string;
|
|
11
|
+
onClose: () => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const SplitAppsNudge: ({ open, targetRef, endElRef, zIndex, storageKey, onClose }: SplitAppsNudgeProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/split-apps/components/nudge/index.tsx"],"names":[],"mappings":"AAQA,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE;QAAE,OAAO,EAAE,WAAW,GAAG,IAAI,CAAA;KAAE,CAAC;IAC3C,QAAQ,CAAC,EAAE;QAAE,OAAO,EAAE,WAAW,GAAG,IAAI,CAAA;KAAE,CAAC;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAKF,eAAO,MAAM,cAAc,+DAOxB,mBAAmB,mDA6BrB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StyledComponent } from '@emotion/styled';
|
|
2
|
+
import { TooltipProps, StackProps, TypographyProps, ButtonProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
export declare const CustomTooltip: StyledComponent<TooltipProps>;
|
|
4
|
+
export declare const TooltipContent: StyledComponent<StackProps>;
|
|
5
|
+
export declare const TooltipTitle: StyledComponent<TypographyProps>;
|
|
6
|
+
export declare const TooltipDescription: StyledComponent<TypographyProps>;
|
|
7
|
+
export declare const TooltipButton: StyledComponent<ButtonProps>;
|
|
8
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/split-apps/components/nudge/styles.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElG,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,YAAY,CAerD,CAAC;AAEJ,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,UAAU,CAOtD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,eAAe,CAKzD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,eAAe,CAK/D,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,WAAW,CActD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
export type SplitAppsTooltipProps = {
|
|
3
|
+
children: ReactElement;
|
|
4
|
+
zIndex: number;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const SplitAppsTooltip: ({ children, zIndex, onClose }: SplitAppsTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../../src/features/split-apps/components/nudge/tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAc,YAAY,EAAE,MAAM,OAAO,CAAC;AAEtD,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,YAAY,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,kCAAmC,qBAAqB,4CAgDpF,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -7,8 +7,9 @@ export { ActionQueue } from './utils/action-queue';
|
|
|
7
7
|
export { addNewConnectors, shouldCaptureFeedback, setCaptureFeedbackOnDemand, dismissNotification, shouldShowNotification } from '@connector/indexeddb';
|
|
8
8
|
export type { ISectionItems, IActionButtons, ISections, IMetaData, ITemplateUpdates } from '@connector/utils';
|
|
9
9
|
export { EmailLogger, GmailLogObserver } from './app/email-logger';
|
|
10
|
-
export { fetchAppCfValues
|
|
11
|
-
export type { AppCfValuesRequest
|
|
10
|
+
export { fetchAppCfValues } from './api/appCustomField';
|
|
11
|
+
export type { AppCfValuesRequest } from './api/appCustomField';
|
|
12
12
|
export { useConnectorSelectedEmail } from './store/connectorEmailStore';
|
|
13
13
|
export { createAppStore } from './store/appStore';
|
|
14
|
+
export { SplitAppsNudge } from './app/split-apps-nudge';
|
|
14
15
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,IAAI,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACnH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC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