@hiver/connector-agent 1.5.3-beta.1 → 1.5.3-next.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/connector-cards.d.ts +2 -2
- package/app/connector-cards.d.ts.map +1 -1
- package/components/ui/layover/index.d.ts +4 -1
- package/components/ui/layover/index.d.ts.map +1 -1
- package/constants/card.d.ts +3 -0
- package/constants/card.d.ts.map +1 -1
- package/constants/global-constants.d.ts +0 -1
- package/constants/global-constants.d.ts.map +1 -1
- package/constants/noConnector.d.ts +0 -3
- package/constants/noConnector.d.ts.map +1 -1
- package/constants/tracking-events.d.ts +5 -1
- package/constants/tracking-events.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/Card.d.ts +2 -2
- package/features/connector-cards/components/card-list/Card.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/CardContent.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/card-content-value.d.ts +1 -0
- package/features/connector-cards/components/card-list/card-content-value.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/list-item-modal.d.ts.map +1 -1
- package/features/connector-cards/components/no-connectors/index.d.ts.map +1 -1
- package/features/connector-cards/components/no-connectors/style.d.ts +1 -2
- package/features/connector-cards/components/no-connectors/style.d.ts.map +1 -1
- package/features/toast-message/constants/toast.d.ts +1 -0
- package/features/toast-message/constants/toast.d.ts.map +1 -1
- package/features/write-form/api/index.d.ts +1 -0
- package/features/write-form/api/index.d.ts.map +1 -1
- package/features/write-form/components/write-form/index.d.ts +4 -2
- package/features/write-form/components/write-form/index.d.ts.map +1 -1
- package/features/write-form/constants/api.d.ts +1 -0
- package/features/write-form/constants/api.d.ts.map +1 -1
- package/features/write-form/constants/index.d.ts +2 -0
- package/features/write-form/constants/index.d.ts.map +1 -1
- package/features/write-form/store/initial-state.d.ts +8 -2
- package/features/write-form/store/initial-state.d.ts.map +1 -1
- package/features/write-form/store/selectors.d.ts +6 -0
- package/features/write-form/store/selectors.d.ts.map +1 -1
- package/features/write-form/store/slice.d.ts +56 -3
- package/features/write-form/store/slice.d.ts.map +1 -1
- package/features/write-form/types/form.d.ts +8 -3
- package/features/write-form/types/form.d.ts.map +1 -1
- package/features/write-form/utils/index.d.ts +7 -1
- package/features/write-form/utils/index.d.ts.map +1 -1
- package/index.es.js +11447 -11269
- package/index.umd.js +229 -257
- package/package.json +1 -1
- package/testing/mocks/handlers/fetch-cards.d.ts.map +1 -1
- package/testing/mocks/handlers/write-capability.d.ts.map +1 -1
- package/types/cards.d.ts +20 -0
- package/types/cards.d.ts.map +1 -1
- package/utils.d.ts +2 -2
- package/utils.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -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;AA6BnF,eAAO,MAAM,oBAAoB,OAAQ,MAAM,UAAS,MAAM,cAAiB,OAAO;;;;cAoDjC,UAAU;;CAQ9D,CAAC;AAaF,eAAO,MAAM,QAAQ,6BAAkD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-capability.d.ts","sourceRoot":"","sources":["../../../../src/testing/mocks/handlers/write-capability.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"write-capability.d.ts","sourceRoot":"","sources":["../../../../src/testing/mocks/handlers/write-capability.ts"],"names":[],"mappings":"AAiUA,eAAO,MAAM,QAAQ,6BASpB,CAAC"}
|
package/types/cards.d.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
export type ICardTypes = 'flat' | 'flat_with_list';
|
|
2
|
+
export type IFormType = 'create' | 'edit' | 'link';
|
|
3
|
+
export type IForms = {
|
|
4
|
+
type: IFormType;
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
2
7
|
export type ICard = {
|
|
3
8
|
id: string;
|
|
4
9
|
title: string;
|
|
@@ -6,6 +11,7 @@ export type ICard = {
|
|
|
6
11
|
type: ICardTypes;
|
|
7
12
|
externalResourceId?: string;
|
|
8
13
|
connectorName?: string;
|
|
14
|
+
forms: IForms[];
|
|
9
15
|
};
|
|
10
16
|
export type IFlatDisArr = {
|
|
11
17
|
label: string;
|
|
@@ -14,12 +20,16 @@ export type IFlatDisArr = {
|
|
|
14
20
|
statusCode: string | number;
|
|
15
21
|
priority: number;
|
|
16
22
|
deepLink: string | null;
|
|
23
|
+
key: string;
|
|
24
|
+
type?: 'date';
|
|
17
25
|
};
|
|
18
26
|
export type IListItemArr = {
|
|
19
27
|
label: string;
|
|
20
28
|
value: string | null;
|
|
21
29
|
priority: number;
|
|
22
30
|
deepLink?: string | null;
|
|
31
|
+
key: string;
|
|
32
|
+
type?: 'date';
|
|
23
33
|
};
|
|
24
34
|
export interface IListItems {
|
|
25
35
|
fields: Array<IListItemArr[]>;
|
|
@@ -54,4 +64,14 @@ export type CreateObjectMetaData = undefined | {
|
|
|
54
64
|
object_type?: string;
|
|
55
65
|
fields_filled?: number;
|
|
56
66
|
};
|
|
67
|
+
export type IFormData = {
|
|
68
|
+
[key: string]: {
|
|
69
|
+
label: string;
|
|
70
|
+
value?: string;
|
|
71
|
+
type: 'date' | null;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
export type IResourceDetails = {
|
|
75
|
+
formData: IFormData;
|
|
76
|
+
};
|
|
57
77
|
//# 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":"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B,CAAC;AAEN,MAAM,MAAM,SAAS,GAAG;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;KACrB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,SAAS,CAAC;CACrB,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 | (() => StringIterator<string>) | (() => string) | ((pos: number) => string) | ((index: number) => number) | ((...strings: string[]) => string) | ((searchString: string, position?: number) => number) | ((searchString: string, position?: number) => number) | {
|
|
4
|
+
export declare const getVersionData: (version: string) => string | number | (() => StringIterator<string>) | ((url: string) => 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 | (()
|
|
|
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) | ((
|
|
50
|
+
} | (() => 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;
|
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;;+DAiF6h4M,eAAe;kCArCxh4M,eAChE;IAIF;;;;OAIG;IACH,eAJU;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA5BF,eAAc;;;oBAMmB,eAAe;;;;;;;
|
|
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;;;;;;;4XAxBvD,CAAC;AAEF,eAAO,MAAM,yBAAyB,YAAa,MAAM,YAIxD,CAAC;AAIF,eAAO,MAAM,yBAAyB,YAAa,MAAM,WAAU,MAAM,YAIxE,CAAC;AAEF,eAAO,M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