intelicoreact 2.0.7 → 2.0.9
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/charts/package.json +5 -0
- package/dist/Atomic/FormElements/Dropdown/components/DropdownLoader.d.ts +1 -1
- package/dist/Atomic/FormElements/FormattedRawSSN/FormattedRawSSN_old.d.ts +7 -7
- package/dist/Atomic/FormElements/Input/Input.d.ts +1 -1
- package/dist/Atomic/FormElements/Input/types.d.ts +0 -5
- package/dist/Atomic/FormElements/InputMask3/InputMask3.interface.d.ts +0 -3
- package/dist/Atomic/FormElements/NumericInput/NumericInput.d.ts +15 -15
- package/dist/Atomic/FormElements/RangeSlider/RangeSlider.d.ts +11 -11
- package/dist/Atomic/FormElements/TagListToDropdown/TagListToDropdown.interface.d.ts +1 -1
- package/dist/Atomic/FormElements/TagsDropdown/TagsDropdown.interface.d.ts +4 -4
- package/dist/Atomic/FormElements/VariantsListRadio/VariantsListRadio.d.ts +2 -2
- package/dist/Atomic/FormElements/VariantsListRadio/partials/VariantsListRadioItem.d.ts +4 -4
- package/dist/Atomic/UI/AccordionTable/AccordionTable.d.ts +1 -1
- package/dist/Atomic/UI/AccordionText/AccordionText.d.ts +4 -4
- package/dist/Atomic/UI/Alert/Alert.interface.d.ts +0 -2
- package/dist/Atomic/UI/CircleProgressBar/CircleProgressBar.d.ts +4 -4
- package/dist/Atomic/UI/ExampleChartIntegration/partial/utils.d.ts +1 -1
- package/dist/Atomic/UI/MonoAccordion/MonoAccordion.d.ts +2 -2
- package/dist/Atomic/UI/PieChart/PieChart.d.ts +3 -3
- package/dist/Atomic/UI/Table/Partials/TdHeader.d.ts +1 -1
- package/dist/Atomic/UI/Table/Partials/TdRow.d.ts +1 -1
- package/dist/Atomic/UI/Table/Table.d.ts +1 -1
- package/dist/Classes/AbortableFetch.d.ts +17 -17
- package/dist/Classes/RESTAPI/index.d.ts +1 -1
- package/dist/Classes/RESTAPI/partials/AbortableFetch.d.ts +17 -17
- package/dist/Classes/RESTAPI/partials/CredentialsProcessing.d.ts +4 -4
- package/dist/Functions/hooks/useFormFieldsChangesManager.d.ts +2 -2
- package/dist/Functions/sdk/runtime-sdk/transport.d.ts +2 -2
- package/dist/Functions/useFieldFocus.d.ts +2 -2
- package/dist/Functions/useFormTools/form-drivers/ArrayWithObjects.d.ts +1 -1
- package/dist/Functions/useFormTools/form-drivers/ObjectWithIterableObjects.d.ts +1 -1
- package/dist/Functions/useFormTools/form-drivers/ObjectWithNamedKeyObjects.d.ts +2 -2
- package/dist/Functions/useFormTools/functions/General.d.ts +3 -3
- package/dist/Functions/useFormTools/functions/RenderFields.d.ts +5 -5
- package/dist/Functions/useFormTools/index.d.ts +20 -20
- package/dist/Functions/useMetaInfo.d.ts +2 -2
- package/dist/Functions/usePasswordChecker.d.ts +1 -1
- package/dist/Functions/utils.d.ts +11 -11
- package/dist/charts.cjs +927 -0
- package/dist/charts.cjs.map +7 -0
- package/dist/charts.d.ts +7 -0
- package/dist/charts.js +911 -0
- package/dist/charts.js.map +7 -0
- package/dist/form.cjs +1498 -1933
- package/dist/form.cjs.map +4 -4
- package/dist/form.js +1114 -1549
- package/dist/form.js.map +4 -4
- package/dist/hooks.cjs +8 -324
- package/dist/hooks.cjs.map +4 -4
- package/dist/hooks.js +8 -324
- package/dist/hooks.js.map +4 -4
- package/dist/index.cjs +2507 -9293
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +2059 -8861
- package/dist/index.js.map +4 -4
- package/dist/layout.cjs +207 -6308
- package/dist/layout.cjs.map +4 -4
- package/dist/layout.js +202 -6303
- package/dist/layout.js.map +4 -4
- package/dist/presets.cjs +0 -643
- package/dist/presets.cjs.map +4 -4
- package/dist/presets.js +0 -633
- package/dist/presets.js.map +4 -4
- package/dist/ui.cjs +711 -7854
- package/dist/ui.cjs.map +4 -4
- package/dist/ui.d.ts +0 -5
- package/dist/ui.js +722 -7881
- package/dist/ui.js.map +4 -4
- package/dist/utils.cjs +4 -51
- package/dist/utils.cjs.map +3 -3
- package/dist/utils.js +4 -51
- package/dist/utils.js.map +3 -3
- package/package.json +19 -3
- package/styles.css +1 -0
- package/dist/Atomic/UI/DynamicIcon/DynamicIcon.d.ts +0 -4
- package/dist/Atomic/UI/DynamicIcon/DynamicIcon.interface.d.ts +0 -6
- package/dist/Atomic/UI/DynamicIcon/index.d.ts +0 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export default FormattedRawSSN;
|
|
2
2
|
declare function FormattedRawSSN({ value, postfix, onChange: onChangeProp, maskChar, testId, isHiddenDefault, maxLen, ...args }: {
|
|
3
3
|
[x: string]: any;
|
|
4
|
-
value?: string
|
|
5
|
-
postfix?: string
|
|
6
|
-
onChange?: (
|
|
7
|
-
maskChar?: string
|
|
8
|
-
testId?: string
|
|
9
|
-
isHiddenDefault?: boolean
|
|
10
|
-
maxLen?: number
|
|
4
|
+
value?: string;
|
|
5
|
+
postfix?: string;
|
|
6
|
+
onChange?: () => void;
|
|
7
|
+
maskChar?: string;
|
|
8
|
+
testId?: string;
|
|
9
|
+
isHiddenDefault?: boolean;
|
|
10
|
+
maxLen?: number;
|
|
11
11
|
}): JSX.Element;
|
|
@@ -2,7 +2,7 @@ import type { ReactElement } from 'react';
|
|
|
2
2
|
import type { InputProps } from './types';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import './Input.scss';
|
|
5
|
-
declare function Input({ ref, blurTrim, autocomplete, isSelect, onChange, onBlur, onFocus, onKeyUp, onKeyDown, isNotBlinkErrors, isPriceInput, onlyNumbers, disabled, withDelete, value, placeholder, className, type, mask, maskChar, formatChars, error, icon,
|
|
5
|
+
declare function Input({ ref, blurTrim, autocomplete, isSelect, onChange, onBlur, onFocus, onKeyUp, onKeyDown, isNotBlinkErrors, isPriceInput, onlyNumbers, disabled, withDelete, value, placeholder, className, type, mask, maskChar, formatChars, error, icon, symbolsLimit, blinkTime, isFocusDefault, isNotValidateASCII, isNumericMobileKeyboard, isCropFirstNool, testId, action, isUseAutoSelect, isReadOnly, isLoading, name, fieldKey, id, attributesOfNativeInput }: InputProps & {
|
|
6
6
|
ref?: React.RefObject<Omit<HTMLInputElement, 'value'> | null>;
|
|
7
7
|
}): ReactElement;
|
|
8
8
|
export default Input;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { FocusEvent, KeyboardEvent, ReactNode } from 'react';
|
|
2
|
-
import type * as FeatherIcons from 'react-feather';
|
|
3
2
|
import type Langs from '../../../Langs';
|
|
4
3
|
import type { DeepPartial } from '../../../types';
|
|
5
4
|
import type { IUniProps } from '../../../types/base.interface';
|
|
@@ -80,10 +79,6 @@ interface AddonsProps {
|
|
|
80
79
|
withDelete?: boolean;
|
|
81
80
|
/** Icon component */
|
|
82
81
|
icon?: ReactNode;
|
|
83
|
-
/** Icon dynamic key */
|
|
84
|
-
iconDynamicKey?: keyof typeof FeatherIcons;
|
|
85
|
-
/** Icon dynamic props */
|
|
86
|
-
iconDynamicProps?: object;
|
|
87
82
|
/** Action component */
|
|
88
83
|
action?: ReactNode;
|
|
89
84
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { KeyboardEventHandler, LegacyRef, ReactNode } from 'react';
|
|
2
2
|
import type { IUniProps } from '../../../types/base.interface';
|
|
3
|
-
import type { IDynamicIconProps } from '../../UI/DynamicIcon';
|
|
4
3
|
import type { THintPosition } from '../../UI/Hint/Hint.interface';
|
|
5
4
|
declare global {
|
|
6
5
|
interface String {
|
|
@@ -47,8 +46,6 @@ export interface IInputMask3Props extends IUniProps {
|
|
|
47
46
|
showIcon?: boolean;
|
|
48
47
|
isIconLeft?: boolean;
|
|
49
48
|
isIconRight?: boolean;
|
|
50
|
-
iconDynamicKey?: IDynamicIconProps['iconKey'];
|
|
51
|
-
iconDynamicProps?: object;
|
|
52
49
|
value?: string;
|
|
53
50
|
blinkErrors?: boolean;
|
|
54
51
|
blinkDuration?: number;
|
|
@@ -2,21 +2,21 @@ export default NumericInput;
|
|
|
2
2
|
declare function NumericInput({ disabled, withDelete, numStep, min, max, value, placeholder, className, testId, name, fieldKey, id, onChange, onBlur, onFocus, onKeyUp, onKeyDown, maskChar, formatChars, error, icon, isNotBlinkErrors, blinkTime, isPriceInput, isFocusDefault, isNotRenderButtons, isUseAutoSelect, isLoading, isAllowNullValue, onlyNumbers, attributesOfNativeInput, }: {
|
|
3
3
|
disabled: any;
|
|
4
4
|
withDelete: any;
|
|
5
|
-
numStep?: number
|
|
6
|
-
min?: number
|
|
5
|
+
numStep?: number;
|
|
6
|
+
min?: number;
|
|
7
7
|
max: any;
|
|
8
8
|
value: any;
|
|
9
9
|
placeholder: any;
|
|
10
10
|
className: any;
|
|
11
|
-
testId?: string
|
|
11
|
+
testId?: string;
|
|
12
12
|
name: any;
|
|
13
13
|
fieldKey: any;
|
|
14
14
|
id: any;
|
|
15
|
-
onChange?: (
|
|
16
|
-
onBlur?: (
|
|
17
|
-
onFocus?: (
|
|
18
|
-
onKeyUp?: (
|
|
19
|
-
onKeyDown?: (
|
|
15
|
+
onChange?: () => void;
|
|
16
|
+
onBlur?: () => void;
|
|
17
|
+
onFocus?: () => void;
|
|
18
|
+
onKeyUp?: () => void;
|
|
19
|
+
onKeyDown?: () => void;
|
|
20
20
|
maskChar: any;
|
|
21
21
|
formatChars: any;
|
|
22
22
|
error: any;
|
|
@@ -24,13 +24,13 @@ declare function NumericInput({ disabled, withDelete, numStep, min, max, value,
|
|
|
24
24
|
isNotBlinkErrors: any;
|
|
25
25
|
blinkTime: any;
|
|
26
26
|
isPriceInput: any;
|
|
27
|
-
isFocusDefault?: boolean
|
|
28
|
-
isNotRenderButtons?: boolean
|
|
29
|
-
isUseAutoSelect?: boolean
|
|
30
|
-
isLoading?: boolean
|
|
31
|
-
isAllowNullValue?: boolean
|
|
27
|
+
isFocusDefault?: boolean;
|
|
28
|
+
isNotRenderButtons?: boolean;
|
|
29
|
+
isUseAutoSelect?: boolean;
|
|
30
|
+
isLoading?: boolean;
|
|
31
|
+
isAllowNullValue?: boolean;
|
|
32
32
|
onlyNumbers?: {
|
|
33
33
|
type: string;
|
|
34
|
-
}
|
|
35
|
-
attributesOfNativeInput?: {}
|
|
34
|
+
};
|
|
35
|
+
attributesOfNativeInput?: {};
|
|
36
36
|
}): JSX.Element;
|
|
@@ -2,18 +2,18 @@ export default function RangeSlider({ required, noTrack, rangeSymbol, min, max,
|
|
|
2
2
|
required: any;
|
|
3
3
|
noTrack: any;
|
|
4
4
|
rangeSymbol: any;
|
|
5
|
-
min?: number
|
|
6
|
-
max?: number
|
|
7
|
-
decimalPlaces?: number
|
|
8
|
-
minRange?: number
|
|
9
|
-
precision?: number
|
|
10
|
-
testId?: string
|
|
5
|
+
min?: number;
|
|
6
|
+
max?: number;
|
|
7
|
+
decimalPlaces?: number;
|
|
8
|
+
minRange?: number;
|
|
9
|
+
precision?: number;
|
|
10
|
+
testId?: string;
|
|
11
11
|
value?: {
|
|
12
12
|
from: any;
|
|
13
13
|
to: any;
|
|
14
|
-
}
|
|
15
|
-
unit?: string
|
|
16
|
-
label?: string
|
|
17
|
-
isUseBitPoints?: boolean
|
|
18
|
-
onChange?: (
|
|
14
|
+
};
|
|
15
|
+
unit?: string;
|
|
16
|
+
label?: string;
|
|
17
|
+
isUseBitPoints?: boolean;
|
|
18
|
+
onChange?: () => void;
|
|
19
19
|
}): JSX.Element;
|
|
@@ -7,5 +7,5 @@ export interface ITagListToDropdownProps extends IUniProps {
|
|
|
7
7
|
dropdownProps?: ITagsDropdownProps;
|
|
8
8
|
listProps?: any;
|
|
9
9
|
useDropdownCompactMode?: boolean;
|
|
10
|
-
onChange?: (value: ITagsDropdownOption[]) => void
|
|
10
|
+
onChange?: (value: ITagsDropdownOption[]) => void | Promise<unknown>;
|
|
11
11
|
}
|
|
@@ -60,7 +60,7 @@ export interface ITagsDropdownProps extends IUniProps {
|
|
|
60
60
|
mobileSearchPlaceholder?: string;
|
|
61
61
|
isSearchable?: boolean;
|
|
62
62
|
useLiveSearch?: boolean;
|
|
63
|
-
doRequest?: (ref: LegacyRef<ReactNode>, flag?: boolean) => void;
|
|
63
|
+
doRequest?: (ref: string | LegacyRef<ReactNode>, flag?: boolean) => void;
|
|
64
64
|
attributesOfNativeInput?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
65
65
|
isUseLocalOptionsStore?: boolean;
|
|
66
66
|
isDefaultOpened?: boolean;
|
|
@@ -70,9 +70,9 @@ export interface ITagsDropdownProps extends IUniProps {
|
|
|
70
70
|
withSearchInputInList?: boolean;
|
|
71
71
|
renderOptionsAsTags?: boolean;
|
|
72
72
|
minItemsForShowMobileSearch?: number;
|
|
73
|
-
onOptionCreate?: (option?: ITagsDropdownOption | null) => void
|
|
73
|
+
onOptionCreate?: (option?: ITagsDropdownOption | null) => void | Promise<unknown>;
|
|
74
74
|
onOptionEdit?: (option?: ITagsDropdownOption | null) => void;
|
|
75
|
-
onOptionDelete?: (option?: ITagsDropdownOption | null) => void
|
|
75
|
+
onOptionDelete?: (option?: ITagsDropdownOption | null) => void | Promise<unknown>;
|
|
76
76
|
onActionConfirmClick?: () => void;
|
|
77
77
|
onActionCancelClick?: () => void;
|
|
78
78
|
onDropdownListClose?: (e?: Event | MouseEvent) => void;
|
|
@@ -85,7 +85,7 @@ export interface ITagsDropdownProps extends IUniProps {
|
|
|
85
85
|
onSearchHandler?: (name: string) => void;
|
|
86
86
|
isOpen?: boolean;
|
|
87
87
|
setIsOpen: (v: boolean) => void;
|
|
88
|
-
}) =>
|
|
88
|
+
}) => ReactNode;
|
|
89
89
|
recalculateListContainerStylesTrigger?: any;
|
|
90
90
|
isUseInTable?: boolean;
|
|
91
91
|
}
|
|
@@ -2,7 +2,7 @@ export default VariantsListRadio;
|
|
|
2
2
|
declare function VariantsListRadio({ items: outerItems, value: outerValue, onChange, isWithBorders, itemsContentRenderMode, isRadioPositionReverse, isUseAsOptionsList, disabled, isDisabled, id, className, testId, attributesOfNativeInput, isMixWithPersonalAttributes, }: {
|
|
3
3
|
items: any;
|
|
4
4
|
value: any;
|
|
5
|
-
onChange?: (
|
|
5
|
+
onChange?: () => void;
|
|
6
6
|
isWithBorders: any;
|
|
7
7
|
itemsContentRenderMode: any;
|
|
8
8
|
isRadioPositionReverse: any;
|
|
@@ -11,7 +11,7 @@ declare function VariantsListRadio({ items: outerItems, value: outerValue, onCha
|
|
|
11
11
|
isDisabled: any;
|
|
12
12
|
id: any;
|
|
13
13
|
className: any;
|
|
14
|
-
testId?: string
|
|
14
|
+
testId?: string;
|
|
15
15
|
attributesOfNativeInput: any;
|
|
16
16
|
isMixWithPersonalAttributes: any;
|
|
17
17
|
}): JSX.Element;
|
|
@@ -4,9 +4,9 @@ declare function VariantsListRadioItem({ RC, parentId, item, value: actualValue,
|
|
|
4
4
|
parentId: any;
|
|
5
5
|
item: any;
|
|
6
6
|
value: any;
|
|
7
|
-
onChange?: (
|
|
8
|
-
attributesOfNativeInput?: {}
|
|
7
|
+
onChange?: () => void;
|
|
8
|
+
attributesOfNativeInput?: {};
|
|
9
9
|
isMixWithPersonalAttributes: any;
|
|
10
10
|
isUseAsOptionsList: any;
|
|
11
|
-
testId?: string
|
|
12
|
-
}): JSX.Element
|
|
11
|
+
testId?: string;
|
|
12
|
+
}): JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export default AccordionText;
|
|
2
2
|
declare function AccordionText({ isDefaultOpen, isOuterOpen, className, text, shortText }: {
|
|
3
|
-
isDefaultOpen?: boolean
|
|
4
|
-
isOuterOpen?: boolean
|
|
3
|
+
isDefaultOpen?: boolean;
|
|
4
|
+
isOuterOpen?: boolean;
|
|
5
5
|
className: any;
|
|
6
|
-
text?: JSX.Element
|
|
7
|
-
shortText?:
|
|
6
|
+
text?: JSX.Element;
|
|
7
|
+
shortText?: any;
|
|
8
8
|
}): JSX.Element;
|
|
@@ -4,8 +4,6 @@ type TButtonVariant = 'primary' | 'ellipse-apply' | 'ellipse-cancel' | string;
|
|
|
4
4
|
export interface IAlertProps extends IUniProps {
|
|
5
5
|
message?: string | ReactNode;
|
|
6
6
|
icon?: ReactNode;
|
|
7
|
-
iconDynamicKey?: string;
|
|
8
|
-
iconDynamicProps?: Record<string, any>;
|
|
9
7
|
className?: string;
|
|
10
8
|
children?: ReactNode;
|
|
11
9
|
noDismiss?: boolean;
|
|
@@ -7,8 +7,8 @@ declare function CircleProgressBar({ amount, totalAmount, isReverseType, childre
|
|
|
7
7
|
className: any;
|
|
8
8
|
colors: any;
|
|
9
9
|
isInnerLine: any;
|
|
10
|
-
radius?: number
|
|
11
|
-
strokeWidth?: number
|
|
12
|
-
innerLineStrokeWidth?: number
|
|
13
|
-
testId?: string
|
|
10
|
+
radius?: number;
|
|
11
|
+
strokeWidth?: number;
|
|
12
|
+
innerLineStrokeWidth?: number;
|
|
13
|
+
testId?: string;
|
|
14
14
|
}): JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export function getSafelyDateRange(dateRange: any): import("../../../FormElements/InputDateRange/InputDateRange.interface").IInputDateRange;
|
|
2
|
-
export function getLabels(range: any):
|
|
2
|
+
export function getLabels(range: any): any[];
|
|
3
3
|
export function getMockValue(): number;
|
|
4
4
|
export function getTab(tabId: any, range: any, callback: any): Promise<any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export default PieChart;
|
|
2
2
|
declare function PieChart({ data, cutout, resultLabel, resultValue, withLegend, }: {
|
|
3
3
|
data: any;
|
|
4
|
-
cutout?: string
|
|
4
|
+
cutout?: string;
|
|
5
5
|
resultLabel: any;
|
|
6
|
-
resultValue?: number
|
|
7
|
-
withLegend?: boolean
|
|
6
|
+
resultValue?: number;
|
|
7
|
+
withLegend?: boolean;
|
|
8
8
|
}): JSX.Element;
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
export default AbortableFetch;
|
|
2
2
|
declare class AbortableFetch {
|
|
3
3
|
constructor(input: any);
|
|
4
|
-
getPathPrefix():
|
|
4
|
+
getPathPrefix(): any;
|
|
5
5
|
setPathPrefix(value: any): void;
|
|
6
|
-
getMethod():
|
|
6
|
+
getMethod(): any;
|
|
7
7
|
setMethod(value: any): void;
|
|
8
|
-
getQueryParameters():
|
|
8
|
+
getQueryParameters(): any;
|
|
9
9
|
getQueryString(value: any): string;
|
|
10
10
|
setQueryParameters(value: any): void;
|
|
11
|
-
getHeaders():
|
|
11
|
+
getHeaders(): any;
|
|
12
12
|
getHeadersObj(value: any): Headers;
|
|
13
13
|
setHeaders(value: any): void;
|
|
14
|
-
getBody():
|
|
14
|
+
getBody(): any;
|
|
15
15
|
setBody(value: any): void;
|
|
16
|
-
getOptions():
|
|
16
|
+
getOptions(): any;
|
|
17
17
|
setOptions(value: any): void;
|
|
18
|
-
getCallback():
|
|
18
|
+
getCallback(): any;
|
|
19
19
|
setCallback(value: any): void;
|
|
20
|
-
getCatchCallback():
|
|
20
|
+
getCatchCallback(): any;
|
|
21
21
|
setCatchCallback(value: any): void;
|
|
22
|
-
getEveryPromiseCallback():
|
|
22
|
+
getEveryPromiseCallback(): any;
|
|
23
23
|
setEveryPromiseCallback(value: any): void;
|
|
24
24
|
getIsResponseAsObject(): boolean;
|
|
25
25
|
setIsResponseAsObject(value: any): void;
|
|
26
26
|
getProps(): {
|
|
27
|
-
pathPrefix:
|
|
28
|
-
method:
|
|
29
|
-
queryParameters:
|
|
30
|
-
headers:
|
|
31
|
-
body:
|
|
32
|
-
options:
|
|
33
|
-
callback:
|
|
34
|
-
everyPromiseCallback:
|
|
27
|
+
pathPrefix: any;
|
|
28
|
+
method: any;
|
|
29
|
+
queryParameters: any;
|
|
30
|
+
headers: any;
|
|
31
|
+
body: any;
|
|
32
|
+
options: any;
|
|
33
|
+
callback: any;
|
|
34
|
+
everyPromiseCallback: any;
|
|
35
35
|
isResponseAsObject: boolean;
|
|
36
36
|
};
|
|
37
37
|
setProps(input: any): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default RESTAPI;
|
|
2
2
|
declare class RESTAPI extends ApiBase {
|
|
3
3
|
sendMessage: any;
|
|
4
|
-
credentialsProcessing: CredentialsProcessing
|
|
4
|
+
credentialsProcessing: CredentialsProcessing;
|
|
5
5
|
doRequest(inputRequests: any, settings: any): Promise<any>;
|
|
6
6
|
doMonoRequest(requestSettings: any): Promise<any>;
|
|
7
7
|
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
export default AbortableFetch;
|
|
2
2
|
declare class AbortableFetch {
|
|
3
3
|
constructor(input: any);
|
|
4
|
-
getPathPrefix():
|
|
4
|
+
getPathPrefix(): any;
|
|
5
5
|
setPathPrefix(value: any): void;
|
|
6
|
-
getMethod():
|
|
6
|
+
getMethod(): any;
|
|
7
7
|
setMethod(value: any): void;
|
|
8
|
-
getQueryParameters():
|
|
8
|
+
getQueryParameters(): any;
|
|
9
9
|
getQueryString(value: any): string;
|
|
10
10
|
setQueryParameters(value: any): void;
|
|
11
|
-
getHeaders():
|
|
11
|
+
getHeaders(): any;
|
|
12
12
|
getHeadersObj(obj: any): Headers;
|
|
13
13
|
setHeaders(value: any): void;
|
|
14
|
-
getBody():
|
|
14
|
+
getBody(): any;
|
|
15
15
|
setBody(value: any): void;
|
|
16
|
-
getOptions():
|
|
16
|
+
getOptions(): any;
|
|
17
17
|
setOptions(value: any): void;
|
|
18
|
-
getCallback():
|
|
18
|
+
getCallback(): any;
|
|
19
19
|
setCallback(value: any): void;
|
|
20
|
-
getCatchCallback():
|
|
20
|
+
getCatchCallback(): any;
|
|
21
21
|
setCatchCallback(value: any): void;
|
|
22
|
-
getEveryPromiseCallback():
|
|
22
|
+
getEveryPromiseCallback(): any;
|
|
23
23
|
setEveryPromiseCallback(value: any): void;
|
|
24
24
|
getIsResponseAsObject(): boolean;
|
|
25
25
|
setIsResponseAsObject(value: any): void;
|
|
26
26
|
getProps(): {
|
|
27
|
-
pathPrefix:
|
|
28
|
-
method:
|
|
29
|
-
queryParameters:
|
|
30
|
-
headers:
|
|
31
|
-
body:
|
|
32
|
-
options:
|
|
33
|
-
callback:
|
|
34
|
-
everyPromiseCallback:
|
|
27
|
+
pathPrefix: any;
|
|
28
|
+
method: any;
|
|
29
|
+
queryParameters: any;
|
|
30
|
+
headers: any;
|
|
31
|
+
body: any;
|
|
32
|
+
options: any;
|
|
33
|
+
callback: any;
|
|
34
|
+
everyPromiseCallback: any;
|
|
35
35
|
isResponseAsObject: boolean;
|
|
36
36
|
};
|
|
37
37
|
setProps(input: any): void;
|
|
@@ -10,11 +10,11 @@ declare class CredentialsProcessing {
|
|
|
10
10
|
saveCredentials: any;
|
|
11
11
|
refreshCredentialsByOuter: any;
|
|
12
12
|
REFRESH_TOKEN_PATH: any;
|
|
13
|
-
CODES_USING_THE_REFRESH_ATTEMPT: number[]
|
|
14
|
-
REFRESH_TOKEN_FLAG: string
|
|
15
|
-
INTERVAL_FOR_CHECKING_TOKEN_UPDATE: number
|
|
13
|
+
CODES_USING_THE_REFRESH_ATTEMPT: number[];
|
|
14
|
+
REFRESH_TOKEN_FLAG: string;
|
|
15
|
+
INTERVAL_FOR_CHECKING_TOKEN_UPDATE: number;
|
|
16
16
|
callbackAfterRejectRefresh: any;
|
|
17
|
-
getIsTokenStartRefresh(): string
|
|
17
|
+
getIsTokenStartRefresh(): string;
|
|
18
18
|
setIsTokenStartRefresh(): void;
|
|
19
19
|
removeIsTokenStartRefresh(): void;
|
|
20
20
|
getCredentials(isCatchCallbackProcess: any, callback: any): Promise<any>;
|
|
@@ -6,10 +6,10 @@ declare function useFormFieldsChangesManager({ form, setForm, callback, validate
|
|
|
6
6
|
validateField: any;
|
|
7
7
|
settings: any;
|
|
8
8
|
}): {
|
|
9
|
-
assignChangesToField: (data: any, key: any, settings: any) => any
|
|
9
|
+
assignChangesToField: (data: any, key: any, settings: any) => any;
|
|
10
10
|
isFormMustBeChanget: boolean;
|
|
11
11
|
startChangesProcessing: () => void;
|
|
12
12
|
setIsFormMustBeChanget: () => void;
|
|
13
|
-
changesArray: any
|
|
13
|
+
changesArray: any;
|
|
14
14
|
DELAY_TIME: number;
|
|
15
15
|
};
|
|
@@ -2,8 +2,8 @@ import type { ResolvedConfig } from './types';
|
|
|
2
2
|
export declare class HttpError extends Error {
|
|
3
3
|
readonly status: number;
|
|
4
4
|
readonly body: string;
|
|
5
|
-
readonly retryAfterMs?: number
|
|
6
|
-
constructor(status: number, body: string, retryAfterMs?: number
|
|
5
|
+
readonly retryAfterMs?: number;
|
|
6
|
+
constructor(status: number, body: string, retryAfterMs?: number);
|
|
7
7
|
}
|
|
8
8
|
interface RequestOptions {
|
|
9
9
|
method: 'POST' | 'DELETE' | 'GET';
|
|
@@ -2,6 +2,6 @@ export default function useFieldsFocus({ form, setForm }: {
|
|
|
2
2
|
form: any;
|
|
3
3
|
setForm: any;
|
|
4
4
|
}): {
|
|
5
|
-
setFocusTo: (key: any) =>
|
|
6
|
-
setFocusToErroredField: () =>
|
|
5
|
+
setFocusTo: (key: any) => boolean;
|
|
6
|
+
setFocusToErroredField: () => boolean;
|
|
7
7
|
};
|
|
@@ -8,7 +8,7 @@ export default function ArrayWithObjects({ form, setForm, FormFields }: {
|
|
|
8
8
|
getFormFields: (argForm?: any) => any;
|
|
9
9
|
getFormField: (key: any, argForm?: any) => any;
|
|
10
10
|
setFormFields: (data: any) => void;
|
|
11
|
-
setFormField: (data: any, key?:
|
|
11
|
+
setFormField: (data: any, key?: any) => void;
|
|
12
12
|
getFormFieldsAsArray: (fields: any) => any;
|
|
13
13
|
getFormFieldsKeys: (fields: any) => any;
|
|
14
14
|
removeAllFormFields: () => void;
|
|
@@ -8,5 +8,5 @@ export default function ObjectWithIterableObjects({ form, setForm, FormFields, }
|
|
|
8
8
|
getFormFields: () => any;
|
|
9
9
|
getFormField: (key: any) => any;
|
|
10
10
|
setFormFields: (data: any) => void;
|
|
11
|
-
setFormField: (data: any, key?:
|
|
11
|
+
setFormField: (data: any, key?: any) => void;
|
|
12
12
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export default function ObjectWithNamedKeyObjects({ form, setForm, FormFields, }?: {
|
|
2
|
-
setForm?: (
|
|
2
|
+
setForm?: () => void;
|
|
3
3
|
}): {
|
|
4
4
|
joinData: (...args: any[]) => any;
|
|
5
5
|
getFieldData: (key: any) => any;
|
|
6
6
|
getFormField: (key: any, argForm?: any) => any;
|
|
7
7
|
setFormFields: (data: any) => void;
|
|
8
|
-
setFormField: (data: any, key?:
|
|
8
|
+
setFormField: (data: any, key?: any) => void;
|
|
9
9
|
getFormFields: () => any;
|
|
10
10
|
getFormFieldsAsArray: () => any;
|
|
11
11
|
getFormFieldsKeys: () => any;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export default function General({ form, FormFields }?: {
|
|
2
|
-
FormFields?:
|
|
2
|
+
FormFields?: any[];
|
|
3
3
|
}): {
|
|
4
4
|
joinData: (...args: any[]) => any;
|
|
5
5
|
getFieldData: (key: any) => any;
|
|
6
6
|
popFormField: (fields: any, key: any) => {
|
|
7
|
-
item:
|
|
8
|
-
itemIndex:
|
|
7
|
+
item: any;
|
|
8
|
+
itemIndex: any;
|
|
9
9
|
};
|
|
10
10
|
updateFormField: (fields: any, data: any, key: any) => any;
|
|
11
11
|
getFormFields: (argForm?: any) => any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default function RenderFields({ form, fields, cols, FormDataDriver, RenderFieldComponent, onFieldChange, onFieldBlur, }?: {
|
|
2
|
-
cols?: number
|
|
3
|
-
FormDataDriver?: (
|
|
4
|
-
RenderFieldComponent?: (
|
|
5
|
-
onFieldChange?: (
|
|
6
|
-
onFieldBlur?: (
|
|
2
|
+
cols?: number;
|
|
3
|
+
FormDataDriver?: () => any;
|
|
4
|
+
RenderFieldComponent?: () => any;
|
|
5
|
+
onFieldChange?: () => any;
|
|
6
|
+
onFieldBlur?: () => any;
|
|
7
7
|
}): any;
|