@hiver/connector-agent 1.3.4-beta.4 → 1.3.5-beta.10
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.map +1 -1
- package/constants/card.d.ts +2 -7
- package/constants/card.d.ts.map +1 -1
- package/constants/global-constants.d.ts +1 -2
- package/constants/global-constants.d.ts.map +1 -1
- package/constants/tracking-events.d.ts +4 -0
- package/constants/tracking-events.d.ts.map +1 -1
- package/context/index.d.ts +2 -2
- package/context/index.d.ts.map +1 -1
- package/context/main-app-provider/index.d.ts +2 -2
- package/context/main-app-provider/index.d.ts.map +1 -1
- package/features/connector-cards/api/index.d.ts +2 -3
- package/features/connector-cards/api/index.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/Card.d.ts +0 -1
- package/features/connector-cards/components/card-list/Card.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/index.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/style.d.ts +1 -3
- package/features/connector-cards/components/card-list/style.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/whats-new-card.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 +0 -2
- package/features/connector-cards/constants/card-content.d.ts.map +1 -1
- package/features/connector-cards/store/hooks.d.ts +7 -0
- package/features/connector-cards/store/hooks.d.ts.map +1 -0
- package/features/connector-cards/store/index.d.ts +25 -0
- package/features/connector-cards/store/index.d.ts.map +1 -0
- package/features/connector-cards/store/selectors.d.ts +1 -1
- package/features/connector-cards/store/selectors.d.ts.map +1 -1
- package/features/connector-cards/store/slice.d.ts +2 -2
- package/features/connector-cards/store/slice.d.ts.map +1 -1
- package/features/schedule-call/constants.d.ts +7 -0
- package/features/schedule-call/constants.d.ts.map +1 -0
- package/features/schedule-call/index.d.ts +2 -0
- package/features/schedule-call/index.d.ts.map +1 -0
- package/features/schedule-call/style.d.ts +12 -0
- package/features/schedule-call/style.d.ts.map +1 -0
- package/features/toast-message/constants/toast.d.ts +0 -2
- package/features/toast-message/constants/toast.d.ts.map +1 -1
- package/index.es.js +17189 -27004
- package/index.umd.js +225 -377
- package/package.json +1 -1
- package/testing/mocks/handlers/fetch-cards.d.ts +2 -2
- package/testing/mocks/handlers/fetch-cards.d.ts.map +1 -1
- 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 +14 -2
- package/types/cards.d.ts.map +1 -1
- package/utils.d.ts +10 -5
- package/utils.d.ts.map +1 -1
- package/components/ui/layover/index.d.ts +0 -9
- package/components/ui/layover/index.d.ts.map +0 -1
- package/components/ui/layover/styles.d.ts +0 -6
- package/components/ui/layover/styles.d.ts.map +0 -1
- package/components/ui/text-field/index.d.ts +0 -3
- package/components/ui/text-field/index.d.ts.map +0 -1
- package/constants/app-constants.d.ts +0 -4
- package/constants/app-constants.d.ts.map +0 -1
- package/features/write-form/api/index.d.ts +0 -17
- package/features/write-form/api/index.d.ts.map +0 -1
- package/features/write-form/components/card-linking/card-linking.d.ts +0 -6
- package/features/write-form/components/card-linking/card-linking.d.ts.map +0 -1
- package/features/write-form/components/card-linking/card-preview.d.ts +0 -12
- package/features/write-form/components/card-linking/card-preview.d.ts.map +0 -1
- package/features/write-form/components/card-linking/style.d.ts +0 -5
- package/features/write-form/components/card-linking/style.d.ts.map +0 -1
- package/features/write-form/components/card-linking/unlink-card-modal.d.ts +0 -9
- package/features/write-form/components/card-linking/unlink-card-modal.d.ts.map +0 -1
- package/features/write-form/components/write-form/index.d.ts +0 -6
- package/features/write-form/components/write-form/index.d.ts.map +0 -1
- package/features/write-form/components/write-form/reducer.d.ts +0 -12
- package/features/write-form/components/write-form/reducer.d.ts.map +0 -1
- package/features/write-form/components/write-form/styles.d.ts +0 -7
- package/features/write-form/components/write-form/styles.d.ts.map +0 -1
- package/features/write-form/constants/api.d.ts +0 -8
- package/features/write-form/constants/api.d.ts.map +0 -1
- package/features/write-form/constants/index.d.ts +0 -18
- package/features/write-form/constants/index.d.ts.map +0 -1
- package/features/write-form/constants/regex-pattern.d.ts +0 -3
- package/features/write-form/constants/regex-pattern.d.ts.map +0 -1
- package/features/write-form/store/initial-state.d.ts +0 -36
- package/features/write-form/store/initial-state.d.ts.map +0 -1
- package/features/write-form/store/selectors.d.ts +0 -19
- package/features/write-form/store/selectors.d.ts.map +0 -1
- package/features/write-form/store/slice.d.ts +0 -135
- package/features/write-form/store/slice.d.ts.map +0 -1
- package/features/write-form/types/form.d.ts +0 -88
- package/features/write-form/types/form.d.ts.map +0 -1
- package/features/write-form/utils/index.d.ts +0 -25
- package/features/write-form/utils/index.d.ts.map +0 -1
- package/store/hooks.d.ts +0 -9
- package/store/hooks.d.ts.map +0 -1
- package/store/index.d.ts +0 -31
- package/store/index.d.ts.map +0 -1
- package/testing/mocks/handlers/write-capability.d.ts +0 -2
- package/testing/mocks/handlers/write-capability.d.ts.map +0 -1
- package/types/json.d.ts +0 -7
- package/types/json.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ICardTypes, IFlatDisplay } from '../../../types/cards';
|
|
2
|
-
export declare const getSpecificConnector: (id: string, count?: number
|
|
3
|
-
cardTitle?: string | undefined;
|
|
2
|
+
export declare const getSpecificConnector: (id: string, count?: number) => {
|
|
4
3
|
id: string;
|
|
5
4
|
cardType: ICardTypes;
|
|
6
5
|
data: IFlatDisplay;
|
|
6
|
+
connectorNames: ("Shopify" | "HubSpot" | "ClickUp" | "Asana" | "Jira" | "SalesForce")[];
|
|
7
7
|
};
|
|
8
8
|
export declare const handlers: import('msw').HttpHandler[];
|
|
9
9
|
//# 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;AAyBnF,eAAO,MAAM,oBAAoB,OAAQ,MAAM,UAAS,MAAM;;cA4CT,UAAU;;;CAO9D,CAAC;AAaF,eAAO,MAAM,QAAQ,6BAAkD,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":"AAGA,eAAO,MAAM,QAAQ,6BAA+C,CAAC"}
|
package/testing/test-utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RootState, AppStore } from '../store';
|
|
1
|
+
import { RootState, AppStore } from '../features/connector-cards/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,kCAAkC,CAAC;AAEvE,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;;;uBADnG,CAAC,yJAGY,CAAC,6BAEX,CAAF;yBAE2B,SAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaJ,CAAC;AAGF,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC"}
|
package/types/cards.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ export type ICard = {
|
|
|
4
4
|
title: string;
|
|
5
5
|
priority: number;
|
|
6
6
|
type: ICardTypes;
|
|
7
|
-
externalResourceId: string;
|
|
8
7
|
};
|
|
9
8
|
export type IFlatDisArr = {
|
|
10
9
|
label: string;
|
|
@@ -32,7 +31,20 @@ export type IFlatDisplay = {
|
|
|
32
31
|
export type ISpecificCard = {
|
|
33
32
|
id: string;
|
|
34
33
|
cardType: ICardTypes;
|
|
35
|
-
cardTitle?: string;
|
|
36
34
|
data: IFlatDisplay;
|
|
35
|
+
connectorNames: string[];
|
|
36
|
+
};
|
|
37
|
+
export type IEventData = {
|
|
38
|
+
card_title?: string;
|
|
39
|
+
card_state?: string;
|
|
40
|
+
data_state?: string | number;
|
|
41
|
+
connector_names?: string[];
|
|
42
|
+
};
|
|
43
|
+
export type ICardData = {
|
|
44
|
+
status?: string;
|
|
45
|
+
data?: {
|
|
46
|
+
connectorNames?: string[];
|
|
47
|
+
};
|
|
48
|
+
[key: string]: unknown;
|
|
37
49
|
};
|
|
38
50
|
//# 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;CAClB,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,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"}
|
package/utils.d.ts
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { IAvailableFtr } from './context';
|
|
2
|
+
import { IEventData, ICardData } from './types/cards';
|
|
2
3
|
export declare const generateUniqueKey: (text: number | string) => string;
|
|
3
4
|
export declare const getVersionData: (version: string) => string | number | ((index: number) => string | undefined) | (() => string) | ((pos: number) => string) | ((index: number) => number) | ((...strings: string[]) => string) | ((searchString: string, position?: number) => number) | ((searchString: string, position?: number) => number) | {
|
|
4
5
|
(that: string): number;
|
|
5
6
|
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
|
|
6
|
-
(that: string, locales?: Intl.LocalesArgument, options?: Intl.
|
|
7
|
+
(that: string, locales?: Intl.LocalesArgument, options?: Intl.
|
|
8
|
+
/**
|
|
9
|
+
* Function to check whether the specified feature(featureName) is availabe or not.
|
|
10
|
+
* @param {Object} availableFeatures
|
|
11
|
+
* @param {String} featureName
|
|
12
|
+
*/
|
|
13
|
+
CollatorOptions): number;
|
|
7
14
|
} | {
|
|
8
15
|
(regexp: string | RegExp): RegExpMatchArray | null;
|
|
9
16
|
(matcher: {
|
|
@@ -43,14 +50,12 @@ export declare const getVersionData: (version: string) => string | number | ((in
|
|
|
43
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>) | (() => StringIterator<string>) | undefined;
|
|
44
51
|
export declare const isLocalStorageVersionSame: (version: string) => boolean;
|
|
45
52
|
export declare const isUserAlreadySeenWhatsNew: (version: string, userId?: string) => boolean;
|
|
46
|
-
export declare const setLocalStorageData: (version: string, shouldReset?: boolean) => void;
|
|
53
|
+
export declare const setLocalStorageData: (version: string, shouldReset?: boolean, isExpand?: boolean) => void;
|
|
47
54
|
/**
|
|
48
55
|
* Function to check whether the specified feature(featureName) is availabe or not.
|
|
49
56
|
* @param {Object} availableFeatures
|
|
50
57
|
* @param {String} featureName
|
|
51
58
|
*/
|
|
52
59
|
export declare const isFeatureAvailable: (availableFeatures: IAvailableFtr | undefined, featureName: string) => boolean;
|
|
53
|
-
export declare const
|
|
54
|
-
[key: string]: string | number;
|
|
55
|
-
}) => string;
|
|
60
|
+
export declare const getCardLoadedGainSightEventsData: (data: ICardData, title: string, isExpanded: boolean, isSuccess?: boolean) => IEventData;
|
|
56
61
|
//# 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;
|
|
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;;+DA6E6t4M,eAAe;kCAjCxt4M,eAChE;IAIF;;;;OAIG;IACH,eAJU;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA5BF,eAAc;;;oBAMmB,eAAe;;;;;;;+YAxBvD,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,gCAAgC,SACrC,SAAS,SACR,MAAM,cACD,OAAO,cACR,OAAO,eAcnB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface LayoverProps {
|
|
2
|
-
children: React.ReactNode;
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
onClose: () => void;
|
|
5
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
6
|
-
}
|
|
7
|
-
declare const Layover: ({ children, isOpen, onClose, containerRef }: LayoverProps) => false | import('react').ReactPortal | null;
|
|
8
|
-
export default Layover;
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/layover/index.tsx"],"names":[],"mappings":"AAOA,UAAU,YAAY;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CAC/C;AACD,QAAA,MAAM,OAAO,gDAAiD,YAAY,+CAqDzE,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { StyledComponent } from '@emotion/styled';
|
|
2
|
-
import { PaperProps, ButtonBaseProps, BoxProps } from '@hiver/hiver-ui-kit';
|
|
3
|
-
export declare const LayoverWrapper: StyledComponent<PaperProps>;
|
|
4
|
-
export declare const BackButton: StyledComponent<ButtonBaseProps>;
|
|
5
|
-
export declare const ChildrenWrapper: StyledComponent<BoxProps>;
|
|
6
|
-
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/layover/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEjF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,UAAU,CAUtD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,eAAe,CAOvD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,QAAQ,CAGrD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/text-field/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEhE,eAAO,MAAM,eAAe,UAAW,cAAc,4CAGpD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app-constants.d.ts","sourceRoot":"","sources":["../../src/constants/app-constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAGrD,eAAO,MAAM,kBAAkB,iBAAiB,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { JSONObject } from '../../../types/json';
|
|
2
|
-
import { PreviewArgs } from '../types/form';
|
|
3
|
-
export declare const fetchObjectListData: ({ inboxIds, channelType, conversationId }: {
|
|
4
|
-
inboxIds: string[];
|
|
5
|
-
channelType: string;
|
|
6
|
-
conversationId: number;
|
|
7
|
-
}) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
8
|
-
export declare const fetchFieldData: (placeholders: {
|
|
9
|
-
[key: string]: string | number;
|
|
10
|
-
}, data: JSONObject, channelType?: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
11
|
-
export declare const createFormApi: (placeholders: {
|
|
12
|
-
[key: string]: string | number;
|
|
13
|
-
}, data: JSONObject, channelType?: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
14
|
-
export declare const unlinkCardApi: (id: string, channelType?: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
15
|
-
export declare const linkCardApi: (id: string, externalResourceId: string, channelType?: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
16
|
-
export declare const previewCardApi: (id: string, args: PreviewArgs, channelType?: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
17
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/api/index.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,eAAO,MAAM,mBAAmB,8CAI7B;IACD,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;CACxB,iEAUA,CAAC;AAEF,eAAO,MAAM,cAAc,iBACX;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;CAAE,QAC1C,UAAU,gBACH,MAAM,iEAUpB,CAAC;AAEF,eAAO,MAAM,aAAa,iBACV;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;CAAE,QAC1C,UAAU,gBACH,MAAM,iEAUpB,CAAC;AAEF,eAAO,MAAM,aAAa,OAAQ,MAAM,gBAAe,MAAM,iEAQ5D,CAAC;AAEF,eAAO,MAAM,WAAW,OAAQ,MAAM,sBAAsB,MAAM,gBAAe,MAAM,iEAWtF,CAAC;AAEF,eAAO,MAAM,cAAc,OAAQ,MAAM,QAAQ,WAAW,gBAAe,MAAM,iEAWhF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card-linking.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/card-linking/card-linking.tsx"],"names":[],"mappings":"AAyBA,UAAU,MAAM;IACd,kBAAkB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC9C;AAED,eAAO,MAAM,WAAW,2BAA4B,MAAM,4CA0JzD,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ApiStatus } from '../../../../types/api';
|
|
2
|
-
import { ISpecificCard } from '../../../../types/cards';
|
|
3
|
-
import { PreviewArgs } from '../../types/form';
|
|
4
|
-
interface IProps {
|
|
5
|
-
cardData: ISpecificCard | null;
|
|
6
|
-
cardDataApiStatus: ApiStatus;
|
|
7
|
-
objectToLink: string;
|
|
8
|
-
args: PreviewArgs;
|
|
9
|
-
}
|
|
10
|
-
export declare const CardPreview: ({ cardData, cardDataApiStatus, objectToLink, args }: IProps) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=card-preview.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card-preview.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/card-linking/card-preview.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAU9C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,UAAU,MAAM;IACd,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAC;IAC/B,iBAAiB,EAAE,SAAS,CAAC;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,WAAW,CAAC;CACnB;AAED,eAAO,MAAM,WAAW,wDAAyD,MAAM,wDAgEtF,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { StackProps } from '@hiver/hiver-ui-kit';
|
|
2
|
-
import { StyledComponent } from '@emotion/styled';
|
|
3
|
-
export declare const PreviewWrapper: StyledComponent<StackProps>;
|
|
4
|
-
export declare const PreviewHeader: StyledComponent<StackProps>;
|
|
5
|
-
//# sourceMappingURL=style.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/card-linking/style.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,UAAU,CAItD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,UAAU,CAUrD,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface IProps {
|
|
2
|
-
showUnlinkModal: boolean;
|
|
3
|
-
setShowUnlinkModal: React.Dispatch<React.SetStateAction<boolean>>;
|
|
4
|
-
cardId: string;
|
|
5
|
-
setHasUnlinkedACard: (value: boolean) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const UnlinkCardModal: ({ showUnlinkModal, setShowUnlinkModal, cardId, setHasUnlinkedACard }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=unlink-card-modal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unlink-card-modal.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/card-linking/unlink-card-modal.tsx"],"names":[],"mappings":"AAUA,UAAU,MAAM;IACd,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAClE,MAAM,EAAE,MAAM,CAAC;IACf,mBAAmB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/C;AAED,eAAO,MAAM,eAAe,yEAA0E,MAAM,4CAsC3G,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/write-form/index.tsx"],"names":[],"mappings":"AAwBA,UAAU,cAAc;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AACD,QAAA,MAAM,SAAS,gBAAiB,cAAc,4CAuO7C,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { WriteFormState, FormActionValue } from '../../types/form';
|
|
2
|
-
export declare const intialState: WriteFormState;
|
|
3
|
-
export declare const ACTIONS: {
|
|
4
|
-
SET_FIELD_VALUE: string;
|
|
5
|
-
CLEAR_ERROR: string;
|
|
6
|
-
SET_FIELD_ERROR: string;
|
|
7
|
-
SET_FIELDS: string;
|
|
8
|
-
CLEAR_FIELDS: string;
|
|
9
|
-
RESET_STATE: string;
|
|
10
|
-
};
|
|
11
|
-
export declare const reducer: (state: WriteFormState, action: FormActionValue) => WriteFormState;
|
|
12
|
-
//# sourceMappingURL=reducer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/write-form/reducer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExE,eAAO,MAAM,WAAW,EAAE,cAGzB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;CAOnB,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,cAAc,UAAU,eAAe,KAAG,cAyDxE,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { StyledComponent } from '@emotion/styled';
|
|
2
|
-
import { BoxProps, ButtonProps, StackProps } from '@hiver/hiver-ui-kit';
|
|
3
|
-
export declare const ButtonWrapper: StyledComponent<BoxProps>;
|
|
4
|
-
export declare const FormWrapper: StyledComponent<StackProps>;
|
|
5
|
-
export declare const WriteContainer: StyledComponent<StackProps>;
|
|
6
|
-
export declare const ActionBtn: StyledComponent<ButtonProps>;
|
|
7
|
-
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/write-form/components/write-form/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE7E,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,QAAQ,CAUnD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,UAAU,CAInD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,UAAU,CAGtD,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,WAAW,CAGlD,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const BASE_URL = "/v1/api";
|
|
2
|
-
export declare const FETCH_OBJECT_LIST_API: string;
|
|
3
|
-
export declare const UNLINK_CARD_API: string;
|
|
4
|
-
export declare const LINK_CARD_API: string;
|
|
5
|
-
export declare const PREVIEW_CARD_API: string;
|
|
6
|
-
export declare const FETCH_FIELD_DATA: string;
|
|
7
|
-
export declare const CREATE_FORM: string;
|
|
8
|
-
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/constants/api.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,YAAY,CAAC;AAClC,eAAO,MAAM,qBAAqB,EAAE,MAAiC,CAAC;AACtE,eAAO,MAAM,eAAe,EAAE,MAAkD,CAAC;AACjF,eAAO,MAAM,aAAa,EAAE,MAAgD,CAAC;AAC7E,eAAO,MAAM,gBAAgB,EAAE,MAAmD,CAAC;AACnF,eAAO,MAAM,gBAAgB,EAAE,MAAoE,CAAC;AACpG,eAAO,MAAM,WAAW,EAAE,MAA8C,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare const CARD_PREVIEW_ERROR_MSG = "Error in previewing the card";
|
|
2
|
-
export declare const CARD_LINK_SUCCESS_MSG = "Card linked successfully";
|
|
3
|
-
export declare const CARD_LINK_ERROR_MSG = "Error in linking the card";
|
|
4
|
-
export declare const INVALID_URL_MSG = "Please enter a valid URL";
|
|
5
|
-
export declare const INVALID_ID = "Please enter valid ID";
|
|
6
|
-
export declare const INVALID_INPUT = "Please enter valid input";
|
|
7
|
-
export declare const URL_MUST_START_WITH_HTTPS = "URL must start with https://";
|
|
8
|
-
export declare const URL_SHOULD_NOT_END_WITH_SLASH = "URL should not end with a slash";
|
|
9
|
-
export declare const INVALID_EMAIL = "Invalid email address";
|
|
10
|
-
export declare const STRING_EMAIL = "Email must be a string";
|
|
11
|
-
export declare const INVALID_DATE_MSG = "Invalid date";
|
|
12
|
-
export declare const PAST_DISABLED_MSG = "Date cannot be in the past";
|
|
13
|
-
export declare const FUTURE_DISABLED_MSG = "Date cannot be in the future";
|
|
14
|
-
export declare const INVALID_NUMBER = "Invalid number";
|
|
15
|
-
export declare const INVALID_TEXT = "Invalid text";
|
|
16
|
-
export declare const NEW_CARD_CREATED = "New card created";
|
|
17
|
-
export declare const CARD_CREATION_FAILED = "Card creation failed!!";
|
|
18
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,iCAAiC,CAAC;AACrE,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAChE,eAAO,MAAM,mBAAmB,8BAA8B,CAAC;AAC/D,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;AAC3C,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,oBAAoB,2BAA2B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"regex-pattern.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/constants/regex-pattern.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,QAAuE,CAAC;AAChG,eAAO,MAAM,aAAa,QAA+B,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ISpecificCard } from '../../../types/cards';
|
|
2
|
-
import { ObjectItem, WriteFormFields } from '../types/form';
|
|
3
|
-
import { ApiStatus } from '../../../types/api';
|
|
4
|
-
import { OptionType } from '@connector/ui';
|
|
5
|
-
interface OptionsData {
|
|
6
|
-
options: OptionType[];
|
|
7
|
-
hasMore: boolean;
|
|
8
|
-
currentPage: number;
|
|
9
|
-
}
|
|
10
|
-
export interface WriteCapabilityState {
|
|
11
|
-
objectList: OptionType[];
|
|
12
|
-
objectDict: {
|
|
13
|
-
[key: string]: ObjectItem;
|
|
14
|
-
} | null;
|
|
15
|
-
formFields: {
|
|
16
|
-
[key: string]: WriteFormFields[];
|
|
17
|
-
} | null;
|
|
18
|
-
previewCardData: ISpecificCard | null;
|
|
19
|
-
objectListApiStatus: ApiStatus;
|
|
20
|
-
unlinkCardApiStatus: ApiStatus;
|
|
21
|
-
linkCardApiStatus: ApiStatus;
|
|
22
|
-
previewCardApiStatus: ApiStatus;
|
|
23
|
-
optionsMap: {
|
|
24
|
-
[key: string]: OptionsData;
|
|
25
|
-
} | null;
|
|
26
|
-
dependentFieldsMap: {
|
|
27
|
-
[key: string]: {
|
|
28
|
-
[key: string]: string[];
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
dropdownOptionsApis: ApiStatus;
|
|
32
|
-
createFormApiStatus: ApiStatus;
|
|
33
|
-
}
|
|
34
|
-
export declare const initialState: WriteCapabilityState;
|
|
35
|
-
export {};
|
|
36
|
-
//# sourceMappingURL=initial-state.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"initial-state.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/store/initial-state.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,UAAU,WAAW;IACnB,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB;AACD,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,UAAU,EAAE,CAAC;IACzB,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;KAAE,GAAG,IAAI,CAAC;IACjD,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,EAAE,CAAA;KAAE,GAAG,IAAI,CAAC;IACxD,eAAe,EAAE,aAAa,GAAG,IAAI,CAAC;IACtC,mBAAmB,EAAE,SAAS,CAAC;IAC/B,mBAAmB,EAAE,SAAS,CAAC;IAC/B,iBAAiB,EAAE,SAAS,CAAC;IAC7B,oBAAoB,EAAE,SAAS,CAAC;IAChC,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAA;KAAE,GAAG,IAAI,CAAC;IAClD,kBAAkB,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;SAAE,CAAA;KAAE,CAAC;IACnE,mBAAmB,EAAE,SAAS,CAAC;IAC/B,mBAAmB,EAAE,SAAS,CAAC;CAChC;AAGD,eAAO,MAAM,YAAY,EAAE,oBAa1B,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { RootState } from '../../../store';
|
|
2
|
-
export declare const selectObjectList: (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('../types/form').WriteFormFields[];
|
|
8
|
-
} | null;
|
|
9
|
-
export declare const selectCardPreviewData: (state: RootState) => import('../../../types/cards').ISpecificCard | null;
|
|
10
|
-
export declare const selectCardPreviewApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
11
|
-
export declare const selectLinkCardApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
12
|
-
export declare const selectUnlinkCardApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
13
|
-
export declare const selectDependentFieldsMap: (state: RootState) => {
|
|
14
|
-
[key: string]: {
|
|
15
|
-
[key: string]: string[];
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export declare const selectCreateFormApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
19
|
-
//# sourceMappingURL=selectors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/store/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGzC,eAAO,MAAM,gBAAgB,UAAW,SAAS,yCAA2B,CAAC;AAC7E,eAAO,MAAM,gBAAgB,UAAW,SAAS;;QAA2B,CAAC;AAC7E,eAAO,MAAM,gBAAgB,UAAW,SAAS;;QAA2B,CAAC;AAC7E,eAAO,MAAM,qBAAqB,UAAW,SAAS,wDAAgC,CAAC;AACvF,eAAO,MAAM,0BAA0B,UAAW,SAAS,2CAAqC,CAAC;AACjG,eAAO,MAAM,uBAAuB,UAAW,SAAS,2CAAkC,CAAC;AAC3F,eAAO,MAAM,yBAAyB,UAAW,SAAS,2CAAoC,CAAC;AAC/F,eAAO,MAAM,wBAAwB,UAAW,SAAS;;;;CAAmC,CAAC;AAC7F,eAAO,MAAM,yBAAyB,UAAW,SAAS,2CAAoC,CAAC"}
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { ISpecificCard } from '../../../types/cards';
|
|
2
|
-
import { InterfaceDetails, ObjectItem, WriteFormFields, PreviewArgs } from '../types/form';
|
|
3
|
-
import { OptionType } from '@connector/ui';
|
|
4
|
-
export declare const writeCapabilitySlice: import('@reduxjs/toolkit').Slice<import('./initial-state').WriteCapabilityState, {
|
|
5
|
-
resetState: () => import('./initial-state').WriteCapabilityState;
|
|
6
|
-
}, "writeCapability", "writeCapability", import('@reduxjs/toolkit').SliceSelectors<import('./initial-state').WriteCapabilityState>>;
|
|
7
|
-
declare const fetchObjectList: import('@reduxjs/toolkit').AsyncThunk<{
|
|
8
|
-
objectList: never[];
|
|
9
|
-
formFields: null;
|
|
10
|
-
objectDict: null;
|
|
11
|
-
dependentFieldsMap: {};
|
|
12
|
-
} | {
|
|
13
|
-
objectList: OptionType[];
|
|
14
|
-
formFields: {
|
|
15
|
-
[key: string]: WriteFormFields[];
|
|
16
|
-
};
|
|
17
|
-
objectDict: {
|
|
18
|
-
[key: string]: ObjectItem;
|
|
19
|
-
};
|
|
20
|
-
dependentFieldsMap: {
|
|
21
|
-
[key: string]: {
|
|
22
|
-
[key: string]: string[];
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
}, {
|
|
26
|
-
inboxIds: string[];
|
|
27
|
-
channelType: string;
|
|
28
|
-
conversationId: number;
|
|
29
|
-
}, {
|
|
30
|
-
state?: unknown;
|
|
31
|
-
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
32
|
-
extra?: unknown;
|
|
33
|
-
rejectValue?: unknown;
|
|
34
|
-
serializedErrorType?: unknown;
|
|
35
|
-
pendingMeta?: unknown;
|
|
36
|
-
fulfilledMeta?: unknown;
|
|
37
|
-
rejectedMeta?: unknown;
|
|
38
|
-
}>;
|
|
39
|
-
declare const fetchDropDownOptions: import('@reduxjs/toolkit').AsyncThunk<{
|
|
40
|
-
optionsList: any[];
|
|
41
|
-
fieldName: string;
|
|
42
|
-
formId: string;
|
|
43
|
-
currentPage: number;
|
|
44
|
-
hasMore: boolean;
|
|
45
|
-
key: string;
|
|
46
|
-
}, {
|
|
47
|
-
fieldName: string;
|
|
48
|
-
formId: string;
|
|
49
|
-
interfaceId?: string;
|
|
50
|
-
pagination: InterfaceDetails["pagination"];
|
|
51
|
-
callback?: (options: OptionType[]) => void;
|
|
52
|
-
args?: {
|
|
53
|
-
[key: string]: string | number | boolean;
|
|
54
|
-
};
|
|
55
|
-
isScrollToBottomEvent?: boolean;
|
|
56
|
-
}, {
|
|
57
|
-
state?: unknown;
|
|
58
|
-
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
59
|
-
extra?: unknown;
|
|
60
|
-
rejectValue?: unknown;
|
|
61
|
-
serializedErrorType?: unknown;
|
|
62
|
-
pendingMeta?: unknown;
|
|
63
|
-
fulfilledMeta?: unknown;
|
|
64
|
-
rejectedMeta?: unknown;
|
|
65
|
-
}>;
|
|
66
|
-
declare const createForm: import('@reduxjs/toolkit').AsyncThunk<undefined, {
|
|
67
|
-
formId: string;
|
|
68
|
-
args: {
|
|
69
|
-
[key: string]: string | number | boolean;
|
|
70
|
-
};
|
|
71
|
-
conversationId: number;
|
|
72
|
-
interfaceId: string;
|
|
73
|
-
successCallback?: () => void;
|
|
74
|
-
failureCallback?: (err: unknown) => void;
|
|
75
|
-
}, {
|
|
76
|
-
state?: unknown;
|
|
77
|
-
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
78
|
-
extra?: unknown;
|
|
79
|
-
rejectValue?: unknown;
|
|
80
|
-
serializedErrorType?: unknown;
|
|
81
|
-
pendingMeta?: unknown;
|
|
82
|
-
fulfilledMeta?: unknown;
|
|
83
|
-
rejectedMeta?: unknown;
|
|
84
|
-
}>;
|
|
85
|
-
declare const unlinkCard: import('@reduxjs/toolkit').AsyncThunk<void, {
|
|
86
|
-
id: string;
|
|
87
|
-
channelType?: string;
|
|
88
|
-
}, {
|
|
89
|
-
state?: unknown;
|
|
90
|
-
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
91
|
-
extra?: unknown;
|
|
92
|
-
rejectValue?: unknown;
|
|
93
|
-
serializedErrorType?: unknown;
|
|
94
|
-
pendingMeta?: unknown;
|
|
95
|
-
fulfilledMeta?: unknown;
|
|
96
|
-
rejectedMeta?: unknown;
|
|
97
|
-
}>;
|
|
98
|
-
declare const linkCard: import('@reduxjs/toolkit').AsyncThunk<void, {
|
|
99
|
-
id: string;
|
|
100
|
-
externalResourceId: string;
|
|
101
|
-
channelType?: string;
|
|
102
|
-
}, {
|
|
103
|
-
state?: unknown;
|
|
104
|
-
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
105
|
-
extra?: unknown;
|
|
106
|
-
rejectValue?: unknown;
|
|
107
|
-
serializedErrorType?: unknown;
|
|
108
|
-
pendingMeta?: unknown;
|
|
109
|
-
fulfilledMeta?: unknown;
|
|
110
|
-
rejectedMeta?: unknown;
|
|
111
|
-
}>;
|
|
112
|
-
declare const previewCard: import('@reduxjs/toolkit').AsyncThunk<{
|
|
113
|
-
data: null;
|
|
114
|
-
} | {
|
|
115
|
-
data: ISpecificCard;
|
|
116
|
-
}, {
|
|
117
|
-
id: string;
|
|
118
|
-
args: PreviewArgs;
|
|
119
|
-
channelType?: string;
|
|
120
|
-
isRefresh?: boolean;
|
|
121
|
-
}, {
|
|
122
|
-
state?: unknown;
|
|
123
|
-
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
124
|
-
extra?: unknown;
|
|
125
|
-
rejectValue?: unknown;
|
|
126
|
-
serializedErrorType?: unknown;
|
|
127
|
-
pendingMeta?: unknown;
|
|
128
|
-
fulfilledMeta?: unknown;
|
|
129
|
-
rejectedMeta?: unknown;
|
|
130
|
-
}>;
|
|
131
|
-
declare const resetState: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"writeCapability/resetState">;
|
|
132
|
-
declare const _default: import('redux').Reducer<import('./initial-state').WriteCapabilityState>;
|
|
133
|
-
export default _default;
|
|
134
|
-
export { fetchObjectList, resetState, unlinkCard, linkCard, previewCard, fetchDropDownOptions, createForm };
|
|
135
|
-
//# sourceMappingURL=slice.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/write-form/store/slice.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAsB,eAAe,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEpH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,oBAAoB;;mIAiF/B,CAAC;AAEH,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;cAES,MAAM,EAAE;iBAAe,MAAM;oBAAkB,MAAM;;;;;;;;;;EA4HlF,CAAC;AAEF,QAAA,MAAM,oBAAoB;;;;;;;;eAIT,MAAM;YACT,MAAM;kBACA,MAAM;gBACR,gBAAgB,CAAC,YAAY,CAAC;eAC/B,CAAC,OAAO,EAAE,UAAU,EAAE,KAAK,IAAI;WACnC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;KAAE;4BAC3B,OAAO;;;;;;;;;;EAiFpC,CAAC;AAEF,QAAA,MAAM,UAAU;YAIF,MAAM;UACR;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;KAAE;oBAClC,MAAM;iBACT,MAAM;sBACD,MAAM,IAAI;sBACV,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI;;;;;;;;;;EAgB7C,CAAC;AAEF,QAAA,MAAM,UAAU;QAEoB,MAAM;kBAAgB,MAAM;;;;;;;;;;EAG/D,CAAC;AAEF,QAAA,MAAM,QAAQ;QAE0C,MAAM;wBAAsB,MAAM;kBAAgB,MAAM;;;;;;;;;;EAG/G,CAAC;AAEF,QAAA,MAAM,WAAW;;;;;QAQT,MAAM;UACJ,WAAW;kBACH,MAAM;gBACR,OAAO;;;;;;;;;;EAwBtB,CAAC;AAEF,QAAA,MAAQ,UAAU,sFAAiC,CAAC;;AACpD,wBAA4C;AAC5C,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,oBAAoB,EAAE,UAAU,EAAE,CAAC"}
|