intelicoreact 2.0.7 → 2.0.8
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/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/TagListToDropdown/TagListToDropdown.interface.d.ts +1 -1
- package/dist/Atomic/FormElements/TagsDropdown/TagsDropdown.interface.d.ts +4 -4
- package/dist/Atomic/UI/Alert/Alert.interface.d.ts +0 -2
- package/dist/Functions/sdk/runtime-sdk/transport.d.ts +2 -2
- 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 +16 -2
- package/dist/Atomic/FormElements/Dropdown/components/DropdownLoader.d.ts +0 -4
- package/dist/Atomic/FormElements/FormattedRawSSN/FormattedRawSSN_old.d.ts +0 -11
- package/dist/Atomic/FormElements/NumericInput/NumericInput.d.ts +0 -36
- package/dist/Atomic/FormElements/RangeCalendar/RangeCalendar.d.ts +0 -2
- package/dist/Atomic/FormElements/RangeSlider/RangeSlider.d.ts +0 -19
- package/dist/Atomic/FormElements/SwitcherTagsDropdown/partial/States.d.ts +0 -5
- package/dist/Atomic/FormElements/VariantsListRadio/VariantsListRadio.d.ts +0 -17
- package/dist/Atomic/FormElements/VariantsListRadio/partials/VariantsListRadioItem.d.ts +0 -12
- package/dist/Atomic/FormElements/WidgetPseudoTable/WidgetPseudoTable.d.ts +0 -2
- package/dist/Atomic/FormElements/WidgetPseudoTable/partial/constructor.d.ts +0 -23
- package/dist/Atomic/FormElements/WidgetWithSwitchableRows/WidgetWithSwitchableRows.d.ts +0 -2
- package/dist/Atomic/FormElements/WidgetWithSwitchableRows/partial/constructor.d.ts +0 -38
- package/dist/Atomic/UI/AccordionTable/AccordionTable.d.ts +0 -10
- package/dist/Atomic/UI/AccordionText/AccordionText.d.ts +0 -8
- package/dist/Atomic/UI/Chart/partial/Chart.constants.d.ts +0 -78
- package/dist/Atomic/UI/Chart/partial/datasetSetters.d.ts +0 -13
- package/dist/Atomic/UI/Chart/partial/optionsConstructor.d.ts +0 -145
- package/dist/Atomic/UI/Chart/partial/optionsSetters.d.ts +0 -4
- package/dist/Atomic/UI/CircleProgressBar/CircleProgressBar.d.ts +0 -14
- 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
- package/dist/Atomic/UI/ExampleChartIntegration/ExampleChartIntegration.d.ts +0 -2
- package/dist/Atomic/UI/ExampleChartIntegration/partial/utils.d.ts +0 -4
- package/dist/Atomic/UI/MonoAccordion/MonoAccordion._test.d.ts +0 -1
- package/dist/Atomic/UI/MonoAccordion/MonoAccordion.d.ts +0 -12
- package/dist/Atomic/UI/PieChart/PieChart.d.ts +0 -8
- package/dist/Atomic/UI/Table/Partials/TdCell.d.ts +0 -13
- package/dist/Atomic/UI/Table/Partials/TdHeader.d.ts +0 -5
- package/dist/Atomic/UI/Table/Partials/TdRow.d.ts +0 -17
- package/dist/Atomic/UI/Table/Partials/TdTitle.d.ts +0 -5
- package/dist/Atomic/UI/Table/Table.d.ts +0 -9
- package/dist/Atomic/UI/Table/TdTypes/TdActions.d.ts +0 -6
- package/dist/Atomic/UI/Table/TdTypes/TdPriority.d.ts +0 -6
- package/dist/Atomic/UI/Table/TdTypes/TdRange.d.ts +0 -4
- package/dist/Atomic/UI/Table/TdTypes/TdWeight.d.ts +0 -7
- package/dist/Atomic/UI/WizardStepper/constructor.d.ts +0 -51
- package/dist/Classes/AbortableFetch.d.ts +0 -43
- package/dist/Classes/AnimatedHandler.d.ts +0 -4
- package/dist/Classes/RESTAPI/index.d.ts +0 -9
- package/dist/Classes/RESTAPI/partials/AbortableFetch.d.ts +0 -43
- package/dist/Classes/RESTAPI/partials/ApiBase.d.ts +0 -10
- package/dist/Classes/RESTAPI/partials/ApiRequestCreators.d.ts +0 -9
- package/dist/Classes/RESTAPI/partials/ApiUtils.d.ts +0 -12
- package/dist/Classes/RESTAPI/partials/CredentialsProcessing.d.ts +0 -24
- package/dist/Classes/RESTAPI/partials/Utils.d.ts +0 -4
- package/dist/Classes/RESTAPI/partials/_utils.d.ts +0 -9
- package/dist/Constants/index.constants.d.ts +0 -20
- package/dist/Functions/Portal.d.ts +0 -6
- package/dist/Functions/customEventListener.d.ts +0 -27
- package/dist/Functions/dateTime.d.ts +0 -95
- package/dist/Functions/fieldValueFormatters.d.ts +0 -19
- package/dist/Functions/hooks/useFormFieldsChangesManager.d.ts +0 -15
- package/dist/Functions/locale/createTranslator.d.ts +0 -3
- package/dist/Functions/operations.d.ts +0 -1
- package/dist/Functions/presets/inputMaskPresets.d.ts +0 -136
- package/dist/Functions/presets/inputPresets.d.ts +0 -16
- package/dist/Functions/presets/mobileKeyboardTypesPresets.d.ts +0 -17
- package/dist/Functions/schemas.d.ts +0 -3
- package/dist/Functions/useBodyScrollLock.d.ts +0 -2
- package/dist/Functions/useClickOutside.d.ts +0 -1
- package/dist/Functions/useDebounce.d.ts +0 -4
- package/dist/Functions/useFieldFocus.d.ts +0 -7
- package/dist/Functions/useFormTools/form-drivers/ArrayWithObjects.d.ts +0 -15
- package/dist/Functions/useFormTools/form-drivers/ObjectWithIterableObjects.d.ts +0 -12
- package/dist/Functions/useFormTools/form-drivers/ObjectWithNamedKeyObjects.d.ts +0 -15
- package/dist/Functions/useFormTools/functions/General.d.ts +0 -15
- package/dist/Functions/useFormTools/functions/RenderFields.d.ts +0 -7
- package/dist/Functions/useFormTools/functions/usePrevious.d.ts +0 -2
- package/dist/Functions/useFormTools/index.d.ts +0 -86
- package/dist/Functions/useInputHighlightError.d.ts +0 -12
- package/dist/Functions/useLocalStorage.d.ts +0 -2
- package/dist/Functions/useLocationParams.d.ts +0 -1
- package/dist/Functions/useMediaQuery.d.ts +0 -2
- package/dist/Functions/useMetaInfo.d.ts +0 -8
- package/dist/Functions/useMouseUpOutside.d.ts +0 -1
- package/dist/Functions/useOnlineStatus.d.ts +0 -2
- package/dist/Functions/usePasswordChecker.d.ts +0 -7
- package/dist/Functions/usePrevious.d.ts +0 -2
- package/dist/Functions/useResize.d.ts +0 -3
- package/dist/Functions/useScrollTo.d.ts +0 -2
- package/dist/Functions/useToggle.d.ts +0 -7
- package/dist/Functions/utils.d.ts +0 -40
- package/dist/Langs.d.ts +0 -179
- package/dist/Molecular/FormWithDependOn/FormWithDependOn.d.ts +0 -3
- package/dist/Molecular/FormWithDependOn/partials/_utils.d.ts +0 -8
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export default AbortableFetch;
|
|
2
|
-
declare class AbortableFetch {
|
|
3
|
-
constructor(input: any);
|
|
4
|
-
getPathPrefix(): null;
|
|
5
|
-
setPathPrefix(value: any): void;
|
|
6
|
-
getMethod(): null;
|
|
7
|
-
setMethod(value: any): void;
|
|
8
|
-
getQueryParameters(): null;
|
|
9
|
-
getQueryString(value: any): string;
|
|
10
|
-
setQueryParameters(value: any): void;
|
|
11
|
-
getHeaders(): null;
|
|
12
|
-
getHeadersObj(value: any): Headers;
|
|
13
|
-
setHeaders(value: any): void;
|
|
14
|
-
getBody(): null;
|
|
15
|
-
setBody(value: any): void;
|
|
16
|
-
getOptions(): null;
|
|
17
|
-
setOptions(value: any): void;
|
|
18
|
-
getCallback(): null;
|
|
19
|
-
setCallback(value: any): void;
|
|
20
|
-
getCatchCallback(): null;
|
|
21
|
-
setCatchCallback(value: any): void;
|
|
22
|
-
getEveryPromiseCallback(): null;
|
|
23
|
-
setEveryPromiseCallback(value: any): void;
|
|
24
|
-
getIsResponseAsObject(): boolean;
|
|
25
|
-
setIsResponseAsObject(value: any): void;
|
|
26
|
-
getProps(): {
|
|
27
|
-
pathPrefix: null;
|
|
28
|
-
method: null;
|
|
29
|
-
queryParameters: null;
|
|
30
|
-
headers: null;
|
|
31
|
-
body: null;
|
|
32
|
-
options: null;
|
|
33
|
-
callback: null;
|
|
34
|
-
everyPromiseCallback: null;
|
|
35
|
-
isResponseAsObject: boolean;
|
|
36
|
-
};
|
|
37
|
-
setProps(input: any): void;
|
|
38
|
-
request(props: any): Promise<any[]>;
|
|
39
|
-
repeatRequest(): Promise<any[]>;
|
|
40
|
-
requestInput: any;
|
|
41
|
-
getQueryArray(value: any): any[];
|
|
42
|
-
#private;
|
|
43
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export default RESTAPI;
|
|
2
|
-
declare class RESTAPI extends ApiBase {
|
|
3
|
-
sendMessage: any;
|
|
4
|
-
credentialsProcessing: CredentialsProcessing | undefined;
|
|
5
|
-
doRequest(inputRequests: any, settings: any): Promise<any>;
|
|
6
|
-
doMonoRequest(requestSettings: any): Promise<any>;
|
|
7
|
-
}
|
|
8
|
-
import ApiBase from './partials/ApiBase';
|
|
9
|
-
import CredentialsProcessing from './partials/CredentialsProcessing';
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export default AbortableFetch;
|
|
2
|
-
declare class AbortableFetch {
|
|
3
|
-
constructor(input: any);
|
|
4
|
-
getPathPrefix(): null;
|
|
5
|
-
setPathPrefix(value: any): void;
|
|
6
|
-
getMethod(): null;
|
|
7
|
-
setMethod(value: any): void;
|
|
8
|
-
getQueryParameters(): null;
|
|
9
|
-
getQueryString(value: any): string;
|
|
10
|
-
setQueryParameters(value: any): void;
|
|
11
|
-
getHeaders(): null;
|
|
12
|
-
getHeadersObj(obj: any): Headers;
|
|
13
|
-
setHeaders(value: any): void;
|
|
14
|
-
getBody(): null;
|
|
15
|
-
setBody(value: any): void;
|
|
16
|
-
getOptions(): null;
|
|
17
|
-
setOptions(value: any): void;
|
|
18
|
-
getCallback(): null;
|
|
19
|
-
setCallback(value: any): void;
|
|
20
|
-
getCatchCallback(): null;
|
|
21
|
-
setCatchCallback(value: any): void;
|
|
22
|
-
getEveryPromiseCallback(): null;
|
|
23
|
-
setEveryPromiseCallback(value: any): void;
|
|
24
|
-
getIsResponseAsObject(): boolean;
|
|
25
|
-
setIsResponseAsObject(value: any): void;
|
|
26
|
-
getProps(): {
|
|
27
|
-
pathPrefix: null;
|
|
28
|
-
method: null;
|
|
29
|
-
queryParameters: null;
|
|
30
|
-
headers: null;
|
|
31
|
-
body: null;
|
|
32
|
-
options: null;
|
|
33
|
-
callback: null;
|
|
34
|
-
everyPromiseCallback: null;
|
|
35
|
-
isResponseAsObject: boolean;
|
|
36
|
-
};
|
|
37
|
-
setProps(input: any): void;
|
|
38
|
-
request(props: any): Promise<any>;
|
|
39
|
-
repeatRequest(): Promise<any>;
|
|
40
|
-
requestInput: any;
|
|
41
|
-
getQueryArray(value: any): any[];
|
|
42
|
-
#private;
|
|
43
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export default ApiBase;
|
|
2
|
-
declare class ApiBase extends ApiRequestCreators {
|
|
3
|
-
API_PATH: string;
|
|
4
|
-
BAD_REQUEST_DATA_TEXT: string;
|
|
5
|
-
DEFAULT_SUCCESS_MESSAGE: string;
|
|
6
|
-
DEFAULT_ERROR_MESSAGE: string;
|
|
7
|
-
NO_INET: string;
|
|
8
|
-
REJECT_CODES: number[];
|
|
9
|
-
}
|
|
10
|
-
import ApiRequestCreators from './ApiRequestCreators';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export default ApiRequestCreators;
|
|
2
|
-
declare class ApiRequestCreators extends ApiUtils {
|
|
3
|
-
createRequest_toJson(props: any, variant: any): Promise<any>;
|
|
4
|
-
createRequest_toJsonAdvanced(props: any, variant: any): Promise<any>;
|
|
5
|
-
createRequest_blob(props: any, variant: any): Promise<any>;
|
|
6
|
-
createRequest_testBadResponse(props: any, variant: any): Promise<any>;
|
|
7
|
-
createRequest_default(props: any, variant: any): Promise<any>;
|
|
8
|
-
}
|
|
9
|
-
import ApiUtils from './ApiUtils';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export default ApiUtils;
|
|
2
|
-
declare class ApiUtils extends Utils {
|
|
3
|
-
constructor(settings: any);
|
|
4
|
-
splitProperties(apiParams: any, variant: any): Promise<any>;
|
|
5
|
-
getRootPath(): Promise<any>;
|
|
6
|
-
getResponseBody(response: any, getBodyAs: any): Promise<any>;
|
|
7
|
-
getErrorMessage(res: any): Promise<any>;
|
|
8
|
-
checkResponseCode(res: any, settings: any): Promise<any>;
|
|
9
|
-
addAsCommon(): Promise<{}>;
|
|
10
|
-
processQueryParams(queryParams: any): Promise<any>;
|
|
11
|
-
}
|
|
12
|
-
import Utils from './Utils';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export function decodeJWT(token: any): any;
|
|
2
|
-
export default CredentialsProcessing;
|
|
3
|
-
declare class CredentialsProcessing {
|
|
4
|
-
constructor(settings: any);
|
|
5
|
-
isUseRefreshTokensPropcessing: any;
|
|
6
|
-
DEFAULT_CREDENTIALS: {};
|
|
7
|
-
getCredentialsByOuter: any;
|
|
8
|
-
getHeadersForAuthorize: any;
|
|
9
|
-
importCredentials: any;
|
|
10
|
-
saveCredentials: any;
|
|
11
|
-
refreshCredentialsByOuter: any;
|
|
12
|
-
REFRESH_TOKEN_PATH: any;
|
|
13
|
-
CODES_USING_THE_REFRESH_ATTEMPT: number[] | undefined;
|
|
14
|
-
REFRESH_TOKEN_FLAG: string | undefined;
|
|
15
|
-
INTERVAL_FOR_CHECKING_TOKEN_UPDATE: number | undefined;
|
|
16
|
-
callbackAfterRejectRefresh: any;
|
|
17
|
-
getIsTokenStartRefresh(): string | null;
|
|
18
|
-
setIsTokenStartRefresh(): void;
|
|
19
|
-
removeIsTokenStartRefresh(): void;
|
|
20
|
-
getCredentials(isCatchCallbackProcess: any, callback: any): Promise<any>;
|
|
21
|
-
refreshCredentials(currentCredentials: any, callback: any): Promise<any>;
|
|
22
|
-
waitRefresh(isNeedRefresh: any): Promise<any>;
|
|
23
|
-
processCredentials(cred: any): Promise<any>;
|
|
24
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export function getIsOnlyAnObject(input: any): boolean;
|
|
2
|
-
export function addCustomMethods(data: any, prefix: any): void;
|
|
3
|
-
export class addCustomMethods {
|
|
4
|
-
constructor(data: any, prefix: any);
|
|
5
|
-
}
|
|
6
|
-
export function getInstanceOfFetchSystem(isGetBody: any): Promise<any>;
|
|
7
|
-
export function clone(input: any): any;
|
|
8
|
-
export function omitKeys(obj?: {}, keys?: any[]): any;
|
|
9
|
-
export function getResponseClone(res: any): Promise<any>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export const KEYBOARD_SERVICE_KEYS: string[];
|
|
2
|
-
export const MAX_PHONE_LENGTH: 10;
|
|
3
|
-
export const MAX_NAME_LENGTH: 128;
|
|
4
|
-
export const DEFAULT_DATE_MASK_NO_VALUE_SYMBOL: "_";
|
|
5
|
-
export const DEFAULT_COLORS: string[];
|
|
6
|
-
export namespace KEYBOARD_KEY_CODES {
|
|
7
|
-
let Backspace: number;
|
|
8
|
-
let Delete: number;
|
|
9
|
-
let ARROW_LEFT: number;
|
|
10
|
-
let ARROW_RIGHT: number;
|
|
11
|
-
}
|
|
12
|
-
export namespace OS {
|
|
13
|
-
let iOS: string;
|
|
14
|
-
let Android: string;
|
|
15
|
-
let WP: string;
|
|
16
|
-
let Linux: string;
|
|
17
|
-
let Windows: string;
|
|
18
|
-
let MacOS: string;
|
|
19
|
-
let Unknown: string;
|
|
20
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Добавляет обработчик события к элементу
|
|
3
|
-
* @param {HTMLElement} element - DOM элемент
|
|
4
|
-
* @param {string} eventName - Название события
|
|
5
|
-
* @param {Function} handler - Функция-обработчик
|
|
6
|
-
*/
|
|
7
|
-
export function addEventListener(element: HTMLElement, eventName: string, handler: Function): void;
|
|
8
|
-
/**
|
|
9
|
-
* Удаляет обработчик события с элемента
|
|
10
|
-
* @param {HTMLElement} element - DOM элемент
|
|
11
|
-
* @param {string} eventName - Название события
|
|
12
|
-
* @param {Function} handler - Функция-обработчик
|
|
13
|
-
*/
|
|
14
|
-
export function removeEventListener(element: HTMLElement, eventName: string, handler: Function): void;
|
|
15
|
-
/**
|
|
16
|
-
* Создает и отправляет кастомное событие
|
|
17
|
-
* @param {HTMLElement} element - DOM элемент
|
|
18
|
-
* @param {string} eventName - Название события
|
|
19
|
-
* @param {Object} detail - Данные события
|
|
20
|
-
*/
|
|
21
|
-
export function dispatchCustomEvent(element: HTMLElement, eventName: string, detail?: any): void;
|
|
22
|
-
declare namespace _default {
|
|
23
|
-
export { addEventListener };
|
|
24
|
-
export { removeEventListener };
|
|
25
|
-
export { dispatchCustomEvent };
|
|
26
|
-
}
|
|
27
|
-
export default _default;
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Функция для парсинга и форматирования строки с датой в указанный формат.
|
|
3
|
-
*
|
|
4
|
-
* @param {string} value - Строка с датой, которую необходимо распарсить и отформатировать.
|
|
5
|
-
* @param {string} [outputFormat=DATETIME_FORMATS.INPUT_DATE_FORMAT] - Формат, в который будет преобразована дата.
|
|
6
|
-
* Если не указан, используется формат по умолчанию `MM.DD.YYYY`.
|
|
7
|
-
*
|
|
8
|
-
* @returns {string} - Отформатированная дата в строковом виде, или исходная строка, если дата не распознана.
|
|
9
|
-
*
|
|
10
|
-
* @throws {Error} - Если значение даты некорректно (не строка или пустое).
|
|
11
|
-
*/
|
|
12
|
-
export function parseAndFormatDate(value: string, outputFormat?: string): string;
|
|
13
|
-
/**
|
|
14
|
-
* @constant {Object} DATETIME_FORMATS
|
|
15
|
-
* @description Все доступные форматы дат и времени.
|
|
16
|
-
*/
|
|
17
|
-
export const DATETIME_FORMATS: Readonly<{
|
|
18
|
-
DATE_FORMAT: "YYYY-MM-DD";
|
|
19
|
-
DATE_WITHOUT_SEPARATORS: "MMDDYYYY";
|
|
20
|
-
VALIDATION_DATE_FORMAT: "MM/DD/YYYY";
|
|
21
|
-
INPUT_DATE_FORMAT: "MM.DD.YYYY";
|
|
22
|
-
INPUT_TIME_FORMAT: "YYYY-MM-DD HH:mm:SS";
|
|
23
|
-
TIME_FORMAT_WSPACE: "YYYY-MM-DD HH:mm:SS";
|
|
24
|
-
TIME_FORMAT: "YYYY-MM-DDTHH:mm:SS";
|
|
25
|
-
DATE_FORMAT_WITH_SLASH: "MM/DD/YYYY";
|
|
26
|
-
DATE_WITH_DASHES: "MM-DD-YYYY";
|
|
27
|
-
DATE_WITH_DOTS: "DD.MM.YYYY";
|
|
28
|
-
DATE_WITH_COMMA: "DD,MM,YYYY";
|
|
29
|
-
FULL_DATE_TIME: "YYYY-MM-DD HH:mm:ss";
|
|
30
|
-
ISO_DATE_TIME: "YYYY-MM-DDTHH:mm:ss.SSSZ";
|
|
31
|
-
LOCALIZED_DATE: "MMMM DD, YYYY";
|
|
32
|
-
SHORT_DATE: "MM/DD/YY";
|
|
33
|
-
SHORT_DATE_WITH_TIME: "MM/DD/YY HH:mm";
|
|
34
|
-
TIME_24H: "HH:mm";
|
|
35
|
-
TIME_12H: "hh:mm A";
|
|
36
|
-
TIME_12H_WITH_SECONDS: "hh:mm:ss A";
|
|
37
|
-
TIME_24H_WITH_SECONDS: "HH:mm:ss";
|
|
38
|
-
MONTH_DAY: "MM/DD";
|
|
39
|
-
YEAR_MONTH_DAY: "YYYY/MM/DD";
|
|
40
|
-
}>;
|
|
41
|
-
/**
|
|
42
|
-
* @constant {Object} DATE_UNITS
|
|
43
|
-
* @description Единицы времени, которые могут быть использованы для работы с датами.
|
|
44
|
-
*/
|
|
45
|
-
export const DATE_UNITS: Readonly<{
|
|
46
|
-
YEARS: Readonly<{
|
|
47
|
-
YEARS: "years";
|
|
48
|
-
YEAR: "year";
|
|
49
|
-
Y: "y";
|
|
50
|
-
TEMPLATE: "YYYY";
|
|
51
|
-
}>;
|
|
52
|
-
MONTHS: Readonly<{
|
|
53
|
-
MONTHS: "months";
|
|
54
|
-
MONTH: "month";
|
|
55
|
-
MON: "M";
|
|
56
|
-
TEMPLATE: "MM";
|
|
57
|
-
}>;
|
|
58
|
-
DAYS: Readonly<{
|
|
59
|
-
DAYS: "days";
|
|
60
|
-
DAY: "day";
|
|
61
|
-
D: "d";
|
|
62
|
-
TEMPLATE: "DD";
|
|
63
|
-
}>;
|
|
64
|
-
HOURS: Readonly<{
|
|
65
|
-
HOURS: "hours";
|
|
66
|
-
HOUR: "hour";
|
|
67
|
-
H: "h";
|
|
68
|
-
TEMPLATE: "HH";
|
|
69
|
-
}>;
|
|
70
|
-
WEEKS: Readonly<{
|
|
71
|
-
WEEKS: "weeks";
|
|
72
|
-
WEEK: "week";
|
|
73
|
-
W: "w";
|
|
74
|
-
}>;
|
|
75
|
-
QUARTERS: Readonly<{
|
|
76
|
-
QUARTERS: "quarters";
|
|
77
|
-
QUARTER: "quarter";
|
|
78
|
-
Q: "Q";
|
|
79
|
-
}>;
|
|
80
|
-
MINUTES: Readonly<{
|
|
81
|
-
MINUTES: "minutes";
|
|
82
|
-
MINUTE: "minute";
|
|
83
|
-
MIN: "m";
|
|
84
|
-
}>;
|
|
85
|
-
SECONDS: Readonly<{
|
|
86
|
-
SECONDS: "seconds";
|
|
87
|
-
SECOND: "second";
|
|
88
|
-
S: "s";
|
|
89
|
-
}>;
|
|
90
|
-
MILLISECONDS: Readonly<{
|
|
91
|
-
MILLISECONDS: "milliseconds";
|
|
92
|
-
MILLISECOND: "millisecond";
|
|
93
|
-
MS: "ms";
|
|
94
|
-
}>;
|
|
95
|
-
}>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export function formatToReplaceAllWhiteSpace(str: any): any;
|
|
2
|
-
export function getSafelyValue(value: any): any;
|
|
3
|
-
export function intlNumbersFormatter(inputValue: any, settings?: {}): any;
|
|
4
|
-
export function formatOnlyNumbers(value: any): any;
|
|
5
|
-
export function formatToRemoveComa(value: any): any;
|
|
6
|
-
export function formatToAddBitDepthPoints(value: any, settings: any): any;
|
|
7
|
-
export function formatToPriceWithUSD(value: any): any;
|
|
8
|
-
export function formatToPriceWithCurrency(value: any, currencyCode: any, symbolPosition?: string): any;
|
|
9
|
-
export function formatAsPercentage(value: any, settings: any): string;
|
|
10
|
-
export function formatToOnlyASCIICodeText(text: any): any;
|
|
11
|
-
export function formatNumberValueToMask(inputValue: any, settings: any): any;
|
|
12
|
-
export function formatToLimitLength(inputValue: any, limit: any): any;
|
|
13
|
-
export function formatToHex({ inputValue, withSharp }: {
|
|
14
|
-
inputValue: any;
|
|
15
|
-
withSharp: any;
|
|
16
|
-
}): string;
|
|
17
|
-
export function filterFloat(inputValue: any, decimalPlaces: any): string;
|
|
18
|
-
export function filterNumeric(value: any, settings: any): any;
|
|
19
|
-
export function formatToHideValuePartially(value: any, settings: any): any;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export default useFormFieldsChangesManager;
|
|
2
|
-
declare function useFormFieldsChangesManager({ form, setForm, callback, validateField, settings }: {
|
|
3
|
-
form: any;
|
|
4
|
-
setForm: any;
|
|
5
|
-
callback: any;
|
|
6
|
-
validateField: any;
|
|
7
|
-
settings: any;
|
|
8
|
-
}): {
|
|
9
|
-
assignChangesToField: (data: any, key: any, settings: any) => any[];
|
|
10
|
-
isFormMustBeChanget: boolean;
|
|
11
|
-
startChangesProcessing: () => void;
|
|
12
|
-
setIsFormMustBeChanget: () => void;
|
|
13
|
-
changesArray: any[];
|
|
14
|
-
DELAY_TIME: number;
|
|
15
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function addRangeDefault(from: any, to: any, currentValues: any, decimalPlaces: any): any;
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
export namespace MASK_PRESETS {
|
|
2
|
-
export { BANK_ACCOUNT };
|
|
3
|
-
export { CC_EXPIRATION_DATE };
|
|
4
|
-
export { DATE_PRESET };
|
|
5
|
-
export { ZIP_PRESET };
|
|
6
|
-
export { SSN_PRESET };
|
|
7
|
-
export { MOBILE_PHONE_PRESET };
|
|
8
|
-
export { SHORT_SSN_PRESET };
|
|
9
|
-
export { ABA_PRESET };
|
|
10
|
-
}
|
|
11
|
-
declare namespace BANK_ACCOUNT {
|
|
12
|
-
let type: string;
|
|
13
|
-
let maskPattern: string;
|
|
14
|
-
let maskPlaceholder: string;
|
|
15
|
-
let isNumericMobileKeyboard: boolean;
|
|
16
|
-
let blinkErrors: boolean;
|
|
17
|
-
let showErrors: boolean;
|
|
18
|
-
}
|
|
19
|
-
declare namespace CC_EXPIRATION_DATE {
|
|
20
|
-
let type_1: string;
|
|
21
|
-
export { type_1 as type };
|
|
22
|
-
let maskPattern_1: string;
|
|
23
|
-
export { maskPattern_1 as maskPattern };
|
|
24
|
-
export let maskPatternPlaceholder: string;
|
|
25
|
-
export let usePatternPlaceholder: boolean;
|
|
26
|
-
let isNumericMobileKeyboard_1: boolean;
|
|
27
|
-
export { isNumericMobileKeyboard_1 as isNumericMobileKeyboard };
|
|
28
|
-
let blinkErrors_1: boolean;
|
|
29
|
-
export { blinkErrors_1 as blinkErrors };
|
|
30
|
-
let showErrors_1: boolean;
|
|
31
|
-
export { showErrors_1 as showErrors };
|
|
32
|
-
export let focusSelector: string;
|
|
33
|
-
}
|
|
34
|
-
declare namespace DATE_PRESET {
|
|
35
|
-
let type_2: string;
|
|
36
|
-
export { type_2 as type };
|
|
37
|
-
let maskPattern_2: string;
|
|
38
|
-
export { maskPattern_2 as maskPattern };
|
|
39
|
-
let maskPatternPlaceholder_1: string;
|
|
40
|
-
export { maskPatternPlaceholder_1 as maskPatternPlaceholder };
|
|
41
|
-
let usePatternPlaceholder_1: boolean;
|
|
42
|
-
export { usePatternPlaceholder_1 as usePatternPlaceholder };
|
|
43
|
-
let isNumericMobileKeyboard_2: boolean;
|
|
44
|
-
export { isNumericMobileKeyboard_2 as isNumericMobileKeyboard };
|
|
45
|
-
let blinkErrors_2: boolean;
|
|
46
|
-
export { blinkErrors_2 as blinkErrors };
|
|
47
|
-
let showErrors_2: boolean;
|
|
48
|
-
export { showErrors_2 as showErrors };
|
|
49
|
-
export let autocomplete: string;
|
|
50
|
-
let focusSelector_1: string;
|
|
51
|
-
export { focusSelector_1 as focusSelector };
|
|
52
|
-
}
|
|
53
|
-
declare namespace ZIP_PRESET {
|
|
54
|
-
let type_3: string;
|
|
55
|
-
export { type_3 as type };
|
|
56
|
-
let focusSelector_2: string;
|
|
57
|
-
export { focusSelector_2 as focusSelector };
|
|
58
|
-
let maskPattern_3: string;
|
|
59
|
-
export { maskPattern_3 as maskPattern };
|
|
60
|
-
let maskPlaceholder_1: string;
|
|
61
|
-
export { maskPlaceholder_1 as maskPlaceholder };
|
|
62
|
-
let isNumericMobileKeyboard_3: boolean;
|
|
63
|
-
export { isNumericMobileKeyboard_3 as isNumericMobileKeyboard };
|
|
64
|
-
let blinkErrors_3: boolean;
|
|
65
|
-
export { blinkErrors_3 as blinkErrors };
|
|
66
|
-
let showErrors_3: boolean;
|
|
67
|
-
export { showErrors_3 as showErrors };
|
|
68
|
-
let autocomplete_1: string;
|
|
69
|
-
export { autocomplete_1 as autocomplete };
|
|
70
|
-
export let rules: string;
|
|
71
|
-
}
|
|
72
|
-
declare namespace SSN_PRESET {
|
|
73
|
-
let type_4: string;
|
|
74
|
-
export { type_4 as type };
|
|
75
|
-
let maskPattern_4: string;
|
|
76
|
-
export { maskPattern_4 as maskPattern };
|
|
77
|
-
let maskPlaceholder_2: string;
|
|
78
|
-
export { maskPlaceholder_2 as maskPlaceholder };
|
|
79
|
-
let focusSelector_3: string;
|
|
80
|
-
export { focusSelector_3 as focusSelector };
|
|
81
|
-
let isNumericMobileKeyboard_4: boolean;
|
|
82
|
-
export { isNumericMobileKeyboard_4 as isNumericMobileKeyboard };
|
|
83
|
-
let blinkErrors_4: boolean;
|
|
84
|
-
export { blinkErrors_4 as blinkErrors };
|
|
85
|
-
let showErrors_4: boolean;
|
|
86
|
-
export { showErrors_4 as showErrors };
|
|
87
|
-
}
|
|
88
|
-
declare namespace MOBILE_PHONE_PRESET {
|
|
89
|
-
let type_5: string;
|
|
90
|
-
export { type_5 as type };
|
|
91
|
-
let maskPattern_5: string;
|
|
92
|
-
export { maskPattern_5 as maskPattern };
|
|
93
|
-
let maskPlaceholder_3: string;
|
|
94
|
-
export { maskPlaceholder_3 as maskPlaceholder };
|
|
95
|
-
let focusSelector_4: string;
|
|
96
|
-
export { focusSelector_4 as focusSelector };
|
|
97
|
-
let isNumericMobileKeyboard_5: boolean;
|
|
98
|
-
export { isNumericMobileKeyboard_5 as isNumericMobileKeyboard };
|
|
99
|
-
let blinkErrors_5: boolean;
|
|
100
|
-
export { blinkErrors_5 as blinkErrors };
|
|
101
|
-
let showErrors_5: boolean;
|
|
102
|
-
export { showErrors_5 as showErrors };
|
|
103
|
-
let autocomplete_2: string;
|
|
104
|
-
export { autocomplete_2 as autocomplete };
|
|
105
|
-
}
|
|
106
|
-
declare namespace SHORT_SSN_PRESET {
|
|
107
|
-
let type_6: string;
|
|
108
|
-
export { type_6 as type };
|
|
109
|
-
let maskPattern_6: string;
|
|
110
|
-
export { maskPattern_6 as maskPattern };
|
|
111
|
-
let maskPlaceholder_4: string;
|
|
112
|
-
export { maskPlaceholder_4 as maskPlaceholder };
|
|
113
|
-
let focusSelector_5: string;
|
|
114
|
-
export { focusSelector_5 as focusSelector };
|
|
115
|
-
let isNumericMobileKeyboard_6: boolean;
|
|
116
|
-
export { isNumericMobileKeyboard_6 as isNumericMobileKeyboard };
|
|
117
|
-
let blinkErrors_6: boolean;
|
|
118
|
-
export { blinkErrors_6 as blinkErrors };
|
|
119
|
-
let showErrors_6: boolean;
|
|
120
|
-
export { showErrors_6 as showErrors };
|
|
121
|
-
}
|
|
122
|
-
declare namespace ABA_PRESET {
|
|
123
|
-
let type_7: string;
|
|
124
|
-
export { type_7 as type };
|
|
125
|
-
let maskPattern_7: string;
|
|
126
|
-
export { maskPattern_7 as maskPattern };
|
|
127
|
-
let maskPlaceholder_5: string;
|
|
128
|
-
export { maskPlaceholder_5 as maskPlaceholder };
|
|
129
|
-
let isNumericMobileKeyboard_7: boolean;
|
|
130
|
-
export { isNumericMobileKeyboard_7 as isNumericMobileKeyboard };
|
|
131
|
-
let blinkErrors_7: boolean;
|
|
132
|
-
export { blinkErrors_7 as blinkErrors };
|
|
133
|
-
let showErrors_7: boolean;
|
|
134
|
-
export { showErrors_7 as showErrors };
|
|
135
|
-
}
|
|
136
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export namespace NAME_SYMBOLS_EXCLUDER {
|
|
2
|
-
function fieldChangesMiddleware(value: string): string;
|
|
3
|
-
namespace blurTrim {
|
|
4
|
-
let trimStart: boolean;
|
|
5
|
-
let trimEnd: boolean;
|
|
6
|
-
let characters: string[];
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export namespace ONLY_STRING_AND_DASH {
|
|
10
|
-
export function fieldChangesMiddleware_1(value: string): string;
|
|
11
|
-
export { fieldChangesMiddleware_1 as fieldChangesMiddleware };
|
|
12
|
-
}
|
|
13
|
-
export namespace INPUT_PRESETS {
|
|
14
|
-
export { NAME_SYMBOLS_EXCLUDER };
|
|
15
|
-
export { ONLY_STRING_AND_DASH };
|
|
16
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export namespace ALL_KEYBOARD_TYPES {
|
|
2
|
-
namespace numeric {
|
|
3
|
-
let inputMode: string;
|
|
4
|
-
}
|
|
5
|
-
namespace email {
|
|
6
|
-
let inputMode_1: string;
|
|
7
|
-
export { inputMode_1 as inputMode };
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export namespace NUMERIC_KEYBOARD {
|
|
11
|
-
import attributesOfNativeInput = ALL_KEYBOARD_TYPES.numeric;
|
|
12
|
-
export { attributesOfNativeInput };
|
|
13
|
-
}
|
|
14
|
-
export namespace EMAIL_KEYBOARD {
|
|
15
|
-
import attributesOfNativeInput_1 = ALL_KEYBOARD_TYPES.email;
|
|
16
|
-
export { attributesOfNativeInput_1 as attributesOfNativeInput };
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function useClickOutside(ref: any, setOut: any, open: any): void;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export default function ArrayWithObjects({ form, setForm, FormFields }: {
|
|
2
|
-
form: any;
|
|
3
|
-
setForm: any;
|
|
4
|
-
FormFields: any;
|
|
5
|
-
}): {
|
|
6
|
-
joinData: (...args: any[]) => any;
|
|
7
|
-
getFieldData: (key: any) => any;
|
|
8
|
-
getFormFields: (argForm?: any) => any;
|
|
9
|
-
getFormField: (key: any, argForm?: any) => any;
|
|
10
|
-
setFormFields: (data: any) => void;
|
|
11
|
-
setFormField: (data: any, key?: null) => void;
|
|
12
|
-
getFormFieldsAsArray: (fields: any) => any;
|
|
13
|
-
getFormFieldsKeys: (fields: any) => any;
|
|
14
|
-
removeAllFormFields: () => void;
|
|
15
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export default function ObjectWithIterableObjects({ form, setForm, FormFields, }: {
|
|
2
|
-
form: any;
|
|
3
|
-
setForm: any;
|
|
4
|
-
FormFields: any;
|
|
5
|
-
}): {
|
|
6
|
-
joinData: (...args: any[]) => any;
|
|
7
|
-
getFieldData: (key: any) => any;
|
|
8
|
-
getFormFields: () => any;
|
|
9
|
-
getFormField: (key: any) => any;
|
|
10
|
-
setFormFields: (data: any) => void;
|
|
11
|
-
setFormField: (data: any, key?: null) => void;
|
|
12
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export default function ObjectWithNamedKeyObjects({ form, setForm, FormFields, }?: {
|
|
2
|
-
setForm?: (() => void) | undefined;
|
|
3
|
-
}): {
|
|
4
|
-
joinData: (...args: any[]) => any;
|
|
5
|
-
getFieldData: (key: any) => any;
|
|
6
|
-
getFormField: (key: any, argForm?: any) => any;
|
|
7
|
-
setFormFields: (data: any) => void;
|
|
8
|
-
setFormField: (data: any, key?: null) => void;
|
|
9
|
-
getFormFields: () => any;
|
|
10
|
-
getFormFieldsAsArray: () => any;
|
|
11
|
-
getFormFieldsKeys: () => any;
|
|
12
|
-
removeAllFormFields: () => void;
|
|
13
|
-
removeFormField: (key: any) => void;
|
|
14
|
-
removeFormFields: ([...keys]: Iterable<any, void, undefined>) => void;
|
|
15
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export default function General({ form, FormFields }?: {
|
|
2
|
-
FormFields?: never[] | undefined;
|
|
3
|
-
}): {
|
|
4
|
-
joinData: (...args: any[]) => any;
|
|
5
|
-
getFieldData: (key: any) => any;
|
|
6
|
-
popFormField: (fields: any, key: any) => {
|
|
7
|
-
item: undefined;
|
|
8
|
-
itemIndex: undefined;
|
|
9
|
-
};
|
|
10
|
-
updateFormField: (fields: any, data: any, key: any) => any;
|
|
11
|
-
getFormFields: (argForm?: any) => any;
|
|
12
|
-
getFormFieldsAsArray: (fields: any) => any;
|
|
13
|
-
getFieldClassName: (key: any, type: any) => string;
|
|
14
|
-
getFormFieldsKeys: (fields?: any) => any;
|
|
15
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export default function RenderFields({ form, fields, cols, FormDataDriver, RenderFieldComponent, onFieldChange, onFieldBlur, }?: {
|
|
2
|
-
cols?: number | undefined;
|
|
3
|
-
FormDataDriver?: (() => null) | undefined;
|
|
4
|
-
RenderFieldComponent?: (() => null) | undefined;
|
|
5
|
-
onFieldChange?: (() => null) | undefined;
|
|
6
|
-
onFieldBlur?: (() => null) | undefined;
|
|
7
|
-
}): any;
|