@hiver/connector-agent 1.3.3 → 1.3.4-beta.0
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/components/ui/async-select/index.d.ts +4 -0
- package/components/ui/async-select/index.d.ts.map +1 -0
- package/components/ui/date-field/index.d.ts +3 -0
- package/components/ui/date-field/index.d.ts.map +1 -0
- package/components/ui/form/index.d.ts +35 -0
- package/components/ui/form/index.d.ts.map +1 -0
- package/components/ui/form/styles.d.ts +4 -0
- package/components/ui/form/styles.d.ts.map +1 -0
- package/components/ui/form-fields/index.d.ts +21 -0
- package/components/ui/form-fields/index.d.ts.map +1 -0
- package/components/ui/form-fields/styles.d.ts +7 -0
- package/components/ui/form-fields/styles.d.ts.map +1 -0
- package/components/ui/layover/index.d.ts +9 -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/select/index.d.ts +3 -0
- package/components/ui/select/index.d.ts.map +1 -0
- package/components/ui/select/style.d.ts +2 -0
- package/components/ui/select/style.d.ts.map +1 -0
- package/constants/app-constants.d.ts +4 -0
- package/constants/app-constants.d.ts.map +1 -0
- package/features/connector-cards/components/card-list/index.d.ts.map +1 -1
- package/features/connector-cards/components/card-list/style.d.ts +1 -0
- package/features/connector-cards/components/card-list/style.d.ts.map +1 -1
- package/features/connector-cards/constants/card-content.d.ts +2 -0
- package/features/connector-cards/constants/card-content.d.ts.map +1 -1
- package/features/connector-cards/store/selectors.d.ts +1 -1
- package/features/connector-cards/store/selectors.d.ts.map +1 -1
- package/features/write-form/api/index.d.ts +5 -0
- package/features/write-form/api/index.d.ts.map +1 -0
- package/features/write-form/components/write-form/index.d.ts +3 -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 +2 -0
- package/features/write-form/components/write-form/styles.d.ts.map +1 -0
- package/features/write-form/constants/api.d.ts +4 -0
- package/features/write-form/constants/api.d.ts.map +1 -0
- package/features/write-form/constants/index.d.ts +9 -0
- package/features/write-form/constants/index.d.ts.map +1 -0
- package/features/write-form/store/initial-state.d.ts +29 -0
- package/features/write-form/store/initial-state.d.ts.map +1 -0
- package/features/write-form/store/selectors.d.ts +11 -0
- package/features/write-form/store/selectors.d.ts.map +1 -0
- package/features/write-form/store/slice.d.ts +62 -0
- package/features/write-form/store/slice.d.ts.map +1 -0
- package/features/write-form/types/form.d.ts +80 -0
- package/features/write-form/types/form.d.ts.map +1 -0
- package/features/write-form/utils/index.d.ts +22 -0
- package/features/write-form/utils/index.d.ts.map +1 -0
- package/index.es.js +25588 -16165
- package/index.umd.js +296 -165
- 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/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/form.d.ts +62 -0
- package/types/form.d.ts.map +1 -0
- 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/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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"write-capability.d.ts","sourceRoot":"","sources":["../../../../src/testing/mocks/handlers/write-capability.ts"],"names":[],"mappings":"AA+KA,eAAO,MAAM,QAAQ,6BAAkC,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/form.d.ts
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { OutlinedInputProps, DatePickerProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
import { Props as SelectProps, GroupBase, OptionsOrGroups } from 'react-select';
|
|
4
|
+
import { AsyncProps } from 'react-select/async';
|
|
5
|
+
export interface BaseFormFieldProps {
|
|
6
|
+
helperText?: string;
|
|
7
|
+
error?: boolean;
|
|
8
|
+
name: string;
|
|
9
|
+
toolTipTitle?: string;
|
|
10
|
+
isRequired?: boolean;
|
|
11
|
+
key?: string;
|
|
12
|
+
}
|
|
13
|
+
export type FIELD_TYPES = 'text' | 'number' | 'password' | 'select' | 'async-select' | 'date';
|
|
14
|
+
export interface TextFieldBaseProps extends BaseFormFieldProps {
|
|
15
|
+
type: Extract<FIELD_TYPES, 'text' | 'number' | 'password'>;
|
|
16
|
+
label?: React.ReactNode;
|
|
17
|
+
max?: number;
|
|
18
|
+
min?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface TextFieldProps extends TextFieldBaseProps, Omit<OutlinedInputProps, 'label' | 'name' | 'type'> {
|
|
21
|
+
}
|
|
22
|
+
export interface SelectFieldProps extends BaseFormFieldProps, Omit<SelectProps, 'name'> {
|
|
23
|
+
type: Extract<FIELD_TYPES, 'select'>;
|
|
24
|
+
label?: string;
|
|
25
|
+
}
|
|
26
|
+
export type AsyncLoadOptions<OptionType, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>> = (inputValue: string, callback: (options: OptionsOrGroups<OptionType, GroupType>) => void, isScrollToBottomEvent: boolean) => void;
|
|
27
|
+
export interface AsyncSelectFieldProps<OptionType, IsMulti extends boolean = false, GroupType extends GroupBase<OptionType> = GroupBase<OptionType>> extends BaseFormFieldProps, Omit<AsyncProps<OptionType, IsMulti, GroupType>, 'name' | 'loadOptions'> {
|
|
28
|
+
type: Extract<FIELD_TYPES, 'async-select'>;
|
|
29
|
+
label?: string;
|
|
30
|
+
loadOptions?: AsyncLoadOptions<OptionType, GroupType>;
|
|
31
|
+
isApiSearchEnabled?: boolean;
|
|
32
|
+
isInfiniteScrollable?: boolean;
|
|
33
|
+
loadOptionsOnFocus?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export interface DateFieldProps extends BaseFormFieldProps, DatePickerProps<Date, Date> {
|
|
36
|
+
type: Extract<FIELD_TYPES, 'date'>;
|
|
37
|
+
label?: string;
|
|
38
|
+
placeholder?: string;
|
|
39
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
40
|
+
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
41
|
+
id?: string;
|
|
42
|
+
}
|
|
43
|
+
export type FormFieldProps = TextFieldProps | SelectFieldProps | AsyncSelectFieldProps<unknown> | DateFieldProps;
|
|
44
|
+
export interface IFormConfig {
|
|
45
|
+
id: string | number;
|
|
46
|
+
title?: string;
|
|
47
|
+
formFields: FormFieldProps[];
|
|
48
|
+
}
|
|
49
|
+
export interface IValidateConfig {
|
|
50
|
+
id?: string;
|
|
51
|
+
name: string;
|
|
52
|
+
label?: React.ReactNode | string;
|
|
53
|
+
[key: string]: unknown;
|
|
54
|
+
}
|
|
55
|
+
export interface ElementValidation {
|
|
56
|
+
isRequired?: boolean | ((value: unknown) => boolean | string);
|
|
57
|
+
validate?: (values: unknown, appConfigs: IValidateConfig) => boolean | string;
|
|
58
|
+
}
|
|
59
|
+
export interface FormValidation {
|
|
60
|
+
[x: string]: ElementValidation;
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../src/types/form.ts"],"names":[],"mappings":"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"}
|
|
@@ -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"}
|