@hiver/connector-agent 1.3.7 → 1.3.8-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/__tests__/card-list.test.d.ts.map +1 -0
- package/app/connector-cards.d.ts +7 -0
- package/app/connector-cards.d.ts.map +1 -0
- package/app/provider.d.ts.map +1 -1
- package/components/ui/layover/index.d.ts +10 -0
- package/components/ui/layover/index.d.ts.map +1 -0
- package/components/ui/layover/styles.d.ts +6 -0
- package/components/ui/layover/styles.d.ts.map +1 -0
- package/components/ui/modal/index.d.ts +1 -0
- package/components/ui/modal/index.d.ts.map +1 -1
- package/components/ui/text-field/index.d.ts +3 -0
- package/components/ui/text-field/index.d.ts.map +1 -0
- package/constants/app-constants.d.ts +4 -0
- package/constants/app-constants.d.ts.map +1 -0
- package/constants/card.d.ts +8 -0
- package/constants/card.d.ts.map +1 -1
- package/constants/global-constants.d.ts +1 -0
- package/constants/global-constants.d.ts.map +1 -1
- package/constants/tracking-events.d.ts +8 -0
- package/constants/tracking-events.d.ts.map +1 -1
- package/context/index.d.ts +2 -0
- package/context/index.d.ts.map +1 -1
- package/context/main-app-provider/index.d.ts +2 -1
- package/context/main-app-provider/index.d.ts.map +1 -1
- package/features/connector-cards/api/index.d.ts +3 -2
- package/features/connector-cards/api/index.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/Card.d.ts +1 -0
- package/features/connector-cards/components/card-list/Card.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/style.d.ts +4 -1
- package/features/connector-cards/components/card-list/style.d.ts.map +1 -1
- package/features/connector-cards/constants/api.d.ts.map +1 -1
- package/features/connector-cards/constants/card-content.d.ts +2 -2
- package/features/connector-cards/constants/card-content.d.ts.map +1 -1
- package/features/connector-cards/store/initial-state.d.ts +1 -0
- package/features/connector-cards/store/initial-state.d.ts.map +1 -1
- package/features/connector-cards/store/selectors.d.ts +2 -1
- package/features/connector-cards/store/selectors.d.ts.map +1 -1
- package/features/connector-cards/store/slice.d.ts +4 -0
- package/features/connector-cards/store/slice.d.ts.map +1 -1
- package/features/schedule-call/style.d.ts.map +1 -1
- package/features/toast-message/constants/toast.d.ts +2 -0
- package/features/toast-message/constants/toast.d.ts.map +1 -1
- package/features/write-form/api/index.d.ts +17 -0
- package/features/write-form/api/index.d.ts.map +1 -0
- package/features/write-form/components/card-linking/card-linking.d.ts +7 -0
- package/features/write-form/components/card-linking/card-linking.d.ts.map +1 -0
- package/features/write-form/components/card-linking/card-preview.d.ts +12 -0
- package/features/write-form/components/card-linking/card-preview.d.ts.map +1 -0
- package/features/write-form/components/card-linking/style.d.ts +6 -0
- package/features/write-form/components/card-linking/style.d.ts.map +1 -0
- package/features/write-form/components/card-linking/unlink-card-modal.d.ts +12 -0
- package/features/write-form/components/card-linking/unlink-card-modal.d.ts.map +1 -0
- package/features/write-form/components/confirmation-modal/index.d.ts +12 -0
- package/features/write-form/components/confirmation-modal/index.d.ts.map +1 -0
- package/features/write-form/components/create-task-banner/index.d.ts +7 -0
- package/features/write-form/components/create-task-banner/index.d.ts.map +1 -0
- package/features/write-form/components/create-task-banner/styles.d.ts +5 -0
- package/features/write-form/components/create-task-banner/styles.d.ts.map +1 -0
- package/features/write-form/components/write-form/index.d.ts +9 -0
- package/features/write-form/components/write-form/index.d.ts.map +1 -0
- package/features/write-form/components/write-form/reducer.d.ts +12 -0
- package/features/write-form/components/write-form/reducer.d.ts.map +1 -0
- package/features/write-form/components/write-form/styles.d.ts +7 -0
- package/features/write-form/components/write-form/styles.d.ts.map +1 -0
- package/features/write-form/constants/api.d.ts +8 -0
- package/features/write-form/constants/api.d.ts.map +1 -0
- package/features/write-form/constants/index.d.ts +29 -0
- package/features/write-form/constants/index.d.ts.map +1 -0
- package/features/write-form/constants/regex-pattern.d.ts +3 -0
- package/features/write-form/constants/regex-pattern.d.ts.map +1 -0
- package/features/write-form/store/initial-state.d.ts +37 -0
- package/features/write-form/store/initial-state.d.ts.map +1 -0
- package/features/write-form/store/selectors.d.ts +20 -0
- package/features/write-form/store/selectors.d.ts.map +1 -0
- package/features/write-form/store/slice.d.ts +144 -0
- package/features/write-form/store/slice.d.ts.map +1 -0
- package/features/write-form/types/form.d.ts +92 -0
- package/features/write-form/types/form.d.ts.map +1 -0
- package/features/write-form/types/modal.d.ts +6 -0
- package/features/write-form/types/modal.d.ts.map +1 -0
- package/features/write-form/utils/index.d.ts +25 -0
- package/features/write-form/utils/index.d.ts.map +1 -0
- package/index.es.js +27052 -16655
- package/index.umd.js +523 -222
- package/package.json +1 -1
- package/store/hooks.d.ts +9 -0
- package/store/hooks.d.ts.map +1 -0
- package/store/index.d.ts +31 -0
- package/store/index.d.ts.map +1 -0
- package/testing/mocks/handlers/fetch-cards.d.ts +3 -2
- package/testing/mocks/handlers/fetch-cards.d.ts.map +1 -1
- package/testing/mocks/handlers/write-capability.d.ts +2 -0
- package/testing/mocks/handlers/write-capability.d.ts.map +1 -0
- package/testing/mocks/handlers.d.ts.map +1 -1
- package/testing/test-utils.d.ts +1 -1
- package/testing/test-utils.d.ts.map +1 -1
- package/types/cards.d.ts +7 -0
- package/types/cards.d.ts.map +1 -1
- package/types/json.d.ts +7 -0
- package/types/json.d.ts.map +1 -0
- package/utils.d.ts +5 -2
- package/utils.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/__tests__/card-list.test.d.ts.map +0 -1
- package/features/connector-cards/components/card-list/index.d.ts +0 -7
- package/features/connector-cards/components/card-list/index.d.ts.map +0 -1
- package/features/connector-cards/store/hooks.d.ts +0 -7
- package/features/connector-cards/store/hooks.d.ts.map +0 -1
- package/features/connector-cards/store/index.d.ts +0 -25
- package/features/connector-cards/store/index.d.ts.map +0 -1
- /package/{features/connector-cards/components/card-list → app}/__tests__/card-list.test.d.ts +0 -0
package/package.json
CHANGED
package/store/hooks.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const useAppDispatch: import('react-redux').UseDispatch<import('redux-thunk').ThunkDispatch<{
|
|
2
|
+
cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
|
|
3
|
+
write: import('../features/write-form/store/initial-state').WriteCapabilityState;
|
|
4
|
+
}, undefined, import('redux').UnknownAction> & import('redux').Dispatch<import('redux').UnknownAction>>;
|
|
5
|
+
export declare const useAppSelector: import('react-redux').UseSelector<{
|
|
6
|
+
cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
|
|
7
|
+
write: import('../features/write-form/store/initial-state').WriteCapabilityState;
|
|
8
|
+
}>;
|
|
9
|
+
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Action, ThunkAction } from '@reduxjs/toolkit';
|
|
2
|
+
export declare const rootReducer: import('redux').Reducer<{
|
|
3
|
+
cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
|
|
4
|
+
write: import('../features/write-form/store/initial-state').WriteCapabilityState;
|
|
5
|
+
}, import('redux').UnknownAction, Partial<{
|
|
6
|
+
cardList: import('../features/connector-cards/store/initial-state').IConnectorState | undefined;
|
|
7
|
+
write: import('../features/write-form/store/initial-state').WriteCapabilityState | undefined;
|
|
8
|
+
}>>;
|
|
9
|
+
export declare const store: import('@reduxjs/toolkit').EnhancedStore<{
|
|
10
|
+
cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
|
|
11
|
+
write: import('../features/write-form/store/initial-state').WriteCapabilityState;
|
|
12
|
+
}, import('redux').UnknownAction, import('@reduxjs/toolkit').Tuple<[import('redux').StoreEnhancer<{
|
|
13
|
+
dispatch: import('redux-thunk').ThunkDispatch<{
|
|
14
|
+
cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
|
|
15
|
+
write: import('../features/write-form/store/initial-state').WriteCapabilityState;
|
|
16
|
+
}, undefined, import('redux').UnknownAction>;
|
|
17
|
+
}>, import('redux').StoreEnhancer]>>;
|
|
18
|
+
export declare const customStore: (preloadedState?: Partial<RootState>) => import('@reduxjs/toolkit').EnhancedStore<{
|
|
19
|
+
cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
|
|
20
|
+
write: import('../features/write-form/store/initial-state').WriteCapabilityState;
|
|
21
|
+
}, import('redux').UnknownAction, import('@reduxjs/toolkit').Tuple<[import('redux').StoreEnhancer<{
|
|
22
|
+
dispatch: import('redux-thunk').ThunkDispatch<{
|
|
23
|
+
cardList: import('../features/connector-cards/store/initial-state').IConnectorState;
|
|
24
|
+
write: import('../features/write-form/store/initial-state').WriteCapabilityState;
|
|
25
|
+
}, undefined, import('redux').UnknownAction>;
|
|
26
|
+
}>, import('redux').StoreEnhancer]>>;
|
|
27
|
+
export type AppStore = typeof store;
|
|
28
|
+
export type RootState = ReturnType<AppStore['getState']>;
|
|
29
|
+
export type AppDispatch = AppStore['dispatch'];
|
|
30
|
+
export type AppThunk<ThunkReturnType = void> = ThunkAction<ThunkReturnType, RootState, unknown, Action>;
|
|
31
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,9 +1,10 @@
|
|
|
1
1
|
import { ICardTypes, IFlatDisplay } from '../../../types/cards';
|
|
2
|
-
export declare const getSpecificConnector: (id: string, count?: number) => {
|
|
2
|
+
export declare const getSpecificConnector: (id: string, count?: number, isPreview?: boolean) => {
|
|
3
|
+
connectorNames: ("Shopify" | "HubSpot" | "ClickUp" | "Asana" | "Jira" | "SalesForce")[];
|
|
4
|
+
cardTitle?: string | undefined;
|
|
3
5
|
id: string;
|
|
4
6
|
cardType: ICardTypes;
|
|
5
7
|
data: IFlatDisplay;
|
|
6
|
-
connectorNames: ("Shopify" | "HubSpot" | "ClickUp" | "Asana" | "Jira" | "SalesForce")[];
|
|
7
8
|
};
|
|
8
9
|
export declare const handlers: import('msw').HttpHandler[];
|
|
9
10
|
//# sourceMappingURL=fetch-cards.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-cards.d.ts","sourceRoot":"","sources":["../../../../src/testing/mocks/handlers/fetch-cards.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,YAAY,EAA4B,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"fetch-cards.d.ts","sourceRoot":"","sources":["../../../../src/testing/mocks/handlers/fetch-cards.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,YAAY,EAA4B,MAAM,eAAe,CAAC;AA2BnF,eAAO,MAAM,oBAAoB,OAAQ,MAAM,UAAS,MAAM,cAAiB,OAAO;;;;cA4CjC,UAAU;;CAQ9D,CAAC;AAaF,eAAO,MAAM,QAAQ,6BAAkD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"write-capability.d.ts","sourceRoot":"","sources":["../../../../src/testing/mocks/handlers/write-capability.ts"],"names":[],"mappings":"AAkPA,eAAO,MAAM,QAAQ,6BAAiF,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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RootState, AppStore } from '../
|
|
1
|
+
import { RootState, AppStore } from '../store';
|
|
2
2
|
import { render as rtlRender, RenderOptions } from '@testing-library/react';
|
|
3
3
|
import { default as userEvent } from '@testing-library/user-event';
|
|
4
4
|
interface ExtendedRenderOptions extends Omit<RenderOptions, 'queries'> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../src/testing/test-utils.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../src/testing/test-utils.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAE9C,OAAO,EAAE,MAAM,IAAI,SAAS,EAAqC,MAAM,wBAAwB,CAAC;AAChG,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAEpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAG5D,UAAU,qBAAsB,SAAQ,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC;IACpE,cAAc,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IACpC,KAAK,CAAC,EAAE,QAAQ,CAAC;CAClB;AAED,eAAO,MAAM,sBAAsB,qBAG/B,CAAC;AAEL,eAAO,MAAM,SAAS,OAChB,KAAK,CAAC,YAAY,gDACyD,qBAAqB;;;uBAA3E,CAAC,yJAIT,CAAC,6BAEV,CAAR;yBAEY,SAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYnB,CAAC;AAGF,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC"}
|
package/types/cards.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export type ICard = {
|
|
|
4
4
|
title: string;
|
|
5
5
|
priority: number;
|
|
6
6
|
type: ICardTypes;
|
|
7
|
+
externalResourceId?: string;
|
|
8
|
+
connectorName?: string;
|
|
7
9
|
};
|
|
8
10
|
export type IFlatDisArr = {
|
|
9
11
|
label: string;
|
|
@@ -31,6 +33,7 @@ export type IFlatDisplay = {
|
|
|
31
33
|
export type ISpecificCard = {
|
|
32
34
|
id: string;
|
|
33
35
|
cardType: ICardTypes;
|
|
36
|
+
cardTitle?: string;
|
|
34
37
|
data: IFlatDisplay;
|
|
35
38
|
connectorNames: string[];
|
|
36
39
|
};
|
|
@@ -47,4 +50,8 @@ export type ICardData = {
|
|
|
47
50
|
};
|
|
48
51
|
[key: string]: unknown;
|
|
49
52
|
};
|
|
53
|
+
export type CreateObjectMetaData = undefined | {
|
|
54
|
+
object_type?: string;
|
|
55
|
+
fields_filled?: number;
|
|
56
|
+
};
|
|
50
57
|
//# sourceMappingURL=cards.d.ts.map
|
package/types/cards.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cards.d.ts","sourceRoot":"","sources":["../../src/types/cards.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,gBAAgB,CAAC;AAEnD,MAAM,MAAM,KAAK,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"cards.d.ts","sourceRoot":"","sources":["../../src/types/cards.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,gBAAgB,CAAC;AAEnD,MAAM,MAAM,KAAK,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,UAAU,CAAC;IACjB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B,CAAC;AAEF,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,KAAK,CAAC,YAAY,EAAE,CAAC,CAAC;IAC9B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,WAAW,EAAE,CAAC;IAC3B,SAAS,EAAE,UAAU,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,UAAU,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,YAAY,CAAC;IACnB,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE;QACL,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;KAC3B,CAAC;IACF,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAC5B,SAAS,GACT;IACE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
|
package/types/json.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../src/types/json.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;AAC7D,MAAM,MAAM,UAAU,GAAG;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC;AACpD,MAAM,MAAM,SAAS,GAAG,SAAS,EAAE,CAAC;AACpC,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,aAAa,CAAC"}
|
package/utils.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IAvailableFtr } from './context';
|
|
2
2
|
import { IEventData, ICardData } from './types/cards';
|
|
3
3
|
export declare const generateUniqueKey: (text: number | string) => string;
|
|
4
|
-
export declare const getVersionData: (version: string) => string | number | ((
|
|
4
|
+
export declare const getVersionData: (version: string) => string | number | (() => StringIterator<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;
|
|
6
6
|
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
|
|
7
7
|
(that: string, locales?: Intl.LocalesArgument, options?: Intl.
|
|
@@ -47,7 +47,7 @@ export declare const getVersionData: (version: string) => string | number | ((in
|
|
|
47
47
|
} | ((count: number) => string) | ((searchString: string, position?: number) => boolean) | ((name: string) => string) | (() => string) | (() => string) | (() => string) | (() => string) | ((color: string) => string) | {
|
|
48
48
|
(size: number): string;
|
|
49
49
|
(size: string): string;
|
|
50
|
-
} | (() => string) | ((url: string) => string) | (() => string) | (() => string) | (() => string) | (() => string) | ((maxLength: number, fillString?: string) => string) | ((maxLength: number, fillString?: string) => string) | (() => string) | (() => string) | (() => string) | (() => string) | ((regexp: RegExp) => RegExpStringIterator<RegExpExecArray>) | (() =>
|
|
50
|
+
} | (() => string) | ((url: string) => string) | (() => string) | (() => string) | (() => string) | (() => string) | ((maxLength: number, fillString?: string) => string) | ((maxLength: number, fillString?: string) => string) | (() => string) | (() => string) | (() => string) | (() => string) | ((regexp: RegExp) => RegExpStringIterator<RegExpExecArray>) | ((index: number) => string | undefined) | undefined;
|
|
51
51
|
export declare const isLocalStorageVersionSame: (version: string) => boolean;
|
|
52
52
|
export declare const isUserAlreadySeenWhatsNew: (version: string, userId?: string) => boolean;
|
|
53
53
|
export declare const setLocalStorageData: (version: string, shouldReset?: boolean, isExpand?: boolean) => void;
|
|
@@ -57,5 +57,8 @@ export declare const setLocalStorageData: (version: string, shouldReset?: boolea
|
|
|
57
57
|
* @param {String} featureName
|
|
58
58
|
*/
|
|
59
59
|
export declare const isFeatureAvailable: (availableFeatures: IAvailableFtr | undefined, featureName: string) => boolean;
|
|
60
|
+
export declare const replacePlaceholders: (template: string, values: {
|
|
61
|
+
[key: string]: string | number;
|
|
62
|
+
}) => string;
|
|
60
63
|
export declare const getCardLoadedGainSightEventsData: (data: ICardData, title: string, isExpanded: boolean, isSuccess?: boolean) => IEventData;
|
|
61
64
|
//# sourceMappingURL=utils.d.ts.map
|
package/utils.d.ts.map
CHANGED
|
@@ -1 +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,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAEtD,eAAO,MAAM,iBAAiB,SAAU,MAAM,GAAG,MAAM,WAGtD,CAAC;AAEF,eAAO,MAAM,cAAc,YAAa,MAAM;;+
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAM1C,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAEtD,eAAO,MAAM,iBAAiB,SAAU,MAAM,GAAG,MAAM,WAGtD,CAAC;AAEF,eAAO,MAAM,cAAc,YAAa,MAAM;;+DAiF6h4M,eAAe;kCArCxh4M,eAChE;IAIF;;;;OAIG;IACH,eAJU;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA5BF,eAAc;;;oBAMmB,eAAe;;;;;;;wZAxBvD,CAAC;AAEF,eAAO,MAAM,yBAAyB,YAAa,MAAM,YAIxD,CAAC;AAIF,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,YAE5F,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"}
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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;AAuClD,UAAU,SAAS;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,SAAS,CAiFlC,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const useAppDispatch: import('react-redux').UseDispatch<import('redux-thunk').ThunkDispatch<{
|
|
2
|
-
cardList: import('./initial-state').IConnectorState;
|
|
3
|
-
}, undefined, import('redux').UnknownAction> & import('redux').Dispatch<import('redux').UnknownAction>>;
|
|
4
|
-
export declare const useAppSelector: import('react-redux').UseSelector<{
|
|
5
|
-
cardList: import('./initial-state').IConnectorState;
|
|
6
|
-
}>;
|
|
7
|
-
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/store/hooks.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc;;uGAAuC,CAAC;AACnE,eAAO,MAAM,cAAc;;EAAqC,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Action, ThunkAction } from '@reduxjs/toolkit';
|
|
2
|
-
export declare const rootReducer: import('redux').Reducer<{
|
|
3
|
-
cardList: import('./initial-state').IConnectorState;
|
|
4
|
-
}, import('redux').UnknownAction, Partial<{
|
|
5
|
-
cardList: import('./initial-state').IConnectorState | undefined;
|
|
6
|
-
}>>;
|
|
7
|
-
export declare const store: import('@reduxjs/toolkit').EnhancedStore<{
|
|
8
|
-
cardList: import('./initial-state').IConnectorState;
|
|
9
|
-
}, import('redux').UnknownAction, import('@reduxjs/toolkit').Tuple<[import('redux').StoreEnhancer<{
|
|
10
|
-
dispatch: import('redux-thunk').ThunkDispatch<{
|
|
11
|
-
cardList: import('./initial-state').IConnectorState;
|
|
12
|
-
}, undefined, import('redux').UnknownAction>;
|
|
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]>>;
|
|
21
|
-
export type AppStore = typeof store;
|
|
22
|
-
export type RootState = ReturnType<AppStore['getState']>;
|
|
23
|
-
export type AppDispatch = AppStore['dispatch'];
|
|
24
|
-
export type AppThunk<ThunkReturnType = void> = ThunkAction<ThunkReturnType, RootState, unknown, Action>;
|
|
25
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
/package/{features/connector-cards/components/card-list → app}/__tests__/card-list.test.d.ts
RENAMED
|
File without changes
|