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 function useFormTools({ form, setForm, FormType, FormFields, FormDataDriverName, FormDataDriver, FocusControllerProps, goToNextFieldOnEnterPressed, }?: {
|
|
2
|
-
FormDataDriverName?: string
|
|
3
|
-
FormDataDriver?:
|
|
2
|
+
FormDataDriverName?: string;
|
|
3
|
+
FormDataDriver?: any;
|
|
4
4
|
FocusControllerProps?: {
|
|
5
5
|
setAutoFocus: boolean;
|
|
6
6
|
onlyEmptyFieldAutoFocus: boolean;
|
|
7
|
-
}
|
|
8
|
-
goToNextFieldOnEnterPressed?: boolean
|
|
7
|
+
};
|
|
8
|
+
goToNextFieldOnEnterPressed?: boolean;
|
|
9
9
|
}): {
|
|
10
10
|
FormDataDrivers: {
|
|
11
11
|
ArrayWithObjects: {
|
|
@@ -19,14 +19,14 @@ export default function useFormTools({ form, setForm, FormType, FormFields, Form
|
|
|
19
19
|
handlers: typeof ObjectWithNamedKeyObjects;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
addOnChangeObserver: (key: any, cb: any) =>
|
|
22
|
+
addOnChangeObserver: (key: any, cb: any) => any;
|
|
23
23
|
removeOnChangeObserver: (key: any, id: any) => void;
|
|
24
24
|
onChangeObservers: {};
|
|
25
|
-
onFieldChange: (key: any, value: any) =>
|
|
25
|
+
onFieldChange: (key: any, value: any) => boolean;
|
|
26
26
|
toggleFormSubmitBlock: (key: any, value: any) => void;
|
|
27
27
|
clearFormSubmitBlockers: () => void;
|
|
28
28
|
isFormSubmitBlocked: boolean;
|
|
29
|
-
renderFormFields:
|
|
29
|
+
renderFormFields: any[];
|
|
30
30
|
setRenderFormFields: (data: any) => void;
|
|
31
31
|
addRenderFields: (fields: any) => void;
|
|
32
32
|
removeRenderFields: (fields: any) => void;
|
|
@@ -36,40 +36,40 @@ export default function useFormTools({ form, setForm, FormType, FormFields, Form
|
|
|
36
36
|
resetIsInitFocused: () => void;
|
|
37
37
|
setFieldFocus: ({ key, cb, form: argForm, field }: {
|
|
38
38
|
key: any;
|
|
39
|
-
cb?: (
|
|
39
|
+
cb?: () => void;
|
|
40
40
|
form: any;
|
|
41
41
|
field: any;
|
|
42
|
-
}) =>
|
|
42
|
+
}) => boolean;
|
|
43
43
|
setFieldBlur: ({ key, cb, form: argForm, field }: {
|
|
44
44
|
key: any;
|
|
45
|
-
cb?: (
|
|
45
|
+
cb?: () => void;
|
|
46
46
|
form: any;
|
|
47
47
|
field: any;
|
|
48
|
-
}) =>
|
|
49
|
-
setFirstFieldFocus: () =>
|
|
50
|
-
autoFocusedField:
|
|
48
|
+
}) => boolean;
|
|
49
|
+
setFirstFieldFocus: () => boolean;
|
|
50
|
+
autoFocusedField: any;
|
|
51
51
|
addFocusFieldOnRender: (key: any, cb: any) => void;
|
|
52
52
|
removeFocusFieldOnRender: (key: any) => void;
|
|
53
|
-
addOnFieldRenderedObserver: (key: any, cb: any, isOnceCallable?: boolean) =>
|
|
53
|
+
addOnFieldRenderedObserver: (key: any, cb: any, isOnceCallable?: boolean) => any;
|
|
54
54
|
removeOnFieldRenderedObserver: (key: any, id: any) => void;
|
|
55
55
|
onFieldRenderedObservers: {};
|
|
56
56
|
updateFormField: (fields: any, data: any, key: any) => any;
|
|
57
57
|
addOnFormRenderObserver: (cb: any, { once }?: {
|
|
58
|
-
once?: boolean
|
|
58
|
+
once?: boolean;
|
|
59
59
|
}) => void;
|
|
60
60
|
submitIsFormRendered: () => void;
|
|
61
61
|
resetIsFormRendered: () => void;
|
|
62
62
|
renderFields: ({ form: argForm, fields: argFields, cols: argCols, RenderFieldComponent, }: {
|
|
63
63
|
form?: any;
|
|
64
|
-
fields?:
|
|
65
|
-
cols?: number
|
|
64
|
+
fields?: any[];
|
|
65
|
+
cols?: number;
|
|
66
66
|
RenderFieldComponent: any;
|
|
67
67
|
}) => any;
|
|
68
68
|
scrollToField: ({ key, field, form: argForm }: {
|
|
69
|
-
key?:
|
|
70
|
-
field?:
|
|
69
|
+
key?: any;
|
|
70
|
+
field?: any;
|
|
71
71
|
form: any;
|
|
72
|
-
}) =>
|
|
72
|
+
}) => boolean;
|
|
73
73
|
getFieldData: any;
|
|
74
74
|
getFormField: any;
|
|
75
75
|
setFormFields: any;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export function transformUTCTimeToLocal(date: any, format?: string): string
|
|
2
|
-
export function transformLocalTimeToUTC(date: any, format?: string): string
|
|
3
|
-
export function transformUTCHoursToLocal(time: any, format?: string): string
|
|
4
|
-
export function transformDateOrTimeOrTogetherToFormat(data: any, outputFormat: string
|
|
5
|
-
export function transformDateOrTimeOrTogetherToFormattedLocal(data: any, outputFormat: string
|
|
1
|
+
export function transformUTCTimeToLocal(date: any, format?: string): string;
|
|
2
|
+
export function transformLocalTimeToUTC(date: any, format?: string): string;
|
|
3
|
+
export function transformUTCHoursToLocal(time: any, format?: string): string;
|
|
4
|
+
export function transformDateOrTimeOrTogetherToFormat(data: any, outputFormat: string, additional: any): string | moment.Moment;
|
|
5
|
+
export function transformDateOrTimeOrTogetherToFormattedLocal(data: any, outputFormat: string, additional: any): any;
|
|
6
6
|
export function downloadEmulation(data: any, filename: any, type?: string): void;
|
|
7
7
|
export function uuid(): string;
|
|
8
8
|
export function getIsOnlyAnObject(input: any): boolean;
|
|
9
|
-
export function handleObjectChange(updateObject: any, updateFunction: any): (data: any, prop: string
|
|
9
|
+
export function handleObjectChange(updateObject: any, updateFunction: any): (data: any, prop: string, isNumber: any) => void;
|
|
10
10
|
export function useOutsideToggle(ref: any, setOut: any, open: any): void;
|
|
11
11
|
export function clone(input: any): any;
|
|
12
12
|
export function getResponseClone(res: any): Promise<any>;
|
|
13
13
|
export function omitKeys(obj?: {}, keys?: any[]): any;
|
|
14
14
|
export function logout(): void;
|
|
15
|
-
export function getStyles(el: any, prop: any): string | CSSStyleDeclaration
|
|
15
|
+
export function getStyles(el: any, prop: any): string | CSSStyleDeclaration;
|
|
16
16
|
export function getColorById(id: any, colors: any): any;
|
|
17
17
|
export function debounce(fn: any, ms: any): (...args: any[]) => void;
|
|
18
18
|
export function throttle(fn: any, ms: any): (...args: any[]) => void;
|
|
@@ -24,17 +24,17 @@ export function checkedRef(ref: any): any;
|
|
|
24
24
|
export function downloadFile({ url, name, type }: {
|
|
25
25
|
url: any;
|
|
26
26
|
name: any;
|
|
27
|
-
type?:
|
|
27
|
+
type?: any;
|
|
28
28
|
}): Promise<void>;
|
|
29
29
|
export function compare(first: any, second: any, keys?: any[]): boolean;
|
|
30
30
|
export function setCarretToEnd(input: any): void;
|
|
31
31
|
export function compareAlphabetical(a: any, b: any, key?: string): 0 | 1 | -1;
|
|
32
|
-
export function getBase64(file: any): Promise<any
|
|
32
|
+
export function getBase64(file: any): Promise<any>;
|
|
33
33
|
export function renderFileSize(bytes: any, decimals?: number): string;
|
|
34
34
|
export function getUniqueFileExtensions(extListString: any): string;
|
|
35
35
|
export function getOS(): string;
|
|
36
36
|
export function getCorrectTestId({ testId, withTier }: {
|
|
37
|
-
testId?: string
|
|
38
|
-
withTier?: boolean
|
|
37
|
+
testId?: string;
|
|
38
|
+
withTier?: boolean;
|
|
39
39
|
}): string;
|
|
40
40
|
import moment from "moment-timezone";
|