powell-react 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +36892 -59
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/api/PowellProvider.d.ts +5 -0
- package/dist/cjs/types/api/configService.d.ts +2 -0
- package/dist/cjs/types/api/forms.d.ts +73 -0
- package/dist/cjs/types/api/index.d.ts +5 -0
- package/dist/cjs/types/api/powellDefaults.d.ts +2 -0
- package/dist/cjs/types/api/primereact.d.ts +981 -0
- package/dist/cjs/types/components/AutoComplete/AutoComplete.d.ts +24 -0
- package/dist/cjs/types/components/AutoComplete/index.d.ts +1 -0
- package/dist/cjs/types/components/Button/Button.d.ts +21 -6
- package/dist/cjs/types/components/Button/index.d.ts +1 -2
- package/dist/cjs/types/components/CascadeSelect/CascadeSelect.d.ts +24 -0
- package/dist/cjs/types/components/CascadeSelect/index.d.ts +1 -0
- package/dist/cjs/types/components/Checkbox/Checkbox.d.ts +21 -0
- package/dist/cjs/types/components/Checkbox/index.d.ts +1 -0
- package/dist/cjs/types/components/Chips/Chips.d.ts +24 -0
- package/dist/cjs/types/components/Chips/index.d.ts +1 -0
- package/dist/cjs/types/components/ColorPicker/ColorPicker.d.ts +24 -0
- package/dist/cjs/types/components/ColorPicker/index.d.ts +1 -0
- package/dist/cjs/types/components/Dropdown/Dropdown.d.ts +24 -0
- package/dist/cjs/types/components/Dropdown/index.d.ts +1 -0
- package/dist/cjs/types/components/Editor/Editor.d.ts +23 -0
- package/dist/cjs/types/components/Editor/index.d.ts +1 -0
- package/dist/cjs/types/components/FormContainer/FormContainer.d.ts +7 -0
- package/dist/cjs/types/components/FormContainer/FormContext.d.ts +4 -0
- package/dist/cjs/types/components/FormContainer/index.d.ts +2 -0
- package/dist/cjs/types/components/InputMask/InputMask.d.ts +24 -0
- package/dist/cjs/types/components/InputMask/index.d.ts +1 -0
- package/dist/cjs/types/components/InputNumber/InputNumber.d.ts +24 -0
- package/dist/cjs/types/components/InputNumber/index.d.ts +1 -0
- package/dist/cjs/types/components/InputOtp/InputOtp.d.ts +21 -0
- package/dist/cjs/types/components/InputOtp/index.d.ts +1 -0
- package/dist/cjs/types/components/InputPassword/InputPassword.d.ts +24 -0
- package/dist/cjs/types/components/InputPassword/index.d.ts +1 -0
- package/dist/cjs/types/components/InputSwitch/InputSwitch.d.ts +21 -0
- package/dist/cjs/types/components/InputSwitch/index.d.ts +1 -0
- package/dist/cjs/types/components/InputText/InputText.d.ts +24 -0
- package/dist/cjs/types/components/InputText/index.d.ts +1 -0
- package/dist/cjs/types/components/InputTextarea/InputTextarea.d.ts +23 -0
- package/dist/cjs/types/components/InputTextarea/index.d.ts +1 -0
- package/dist/cjs/types/components/Knob/Knob.d.ts +21 -0
- package/dist/cjs/types/components/Knob/index.d.ts +1 -0
- package/dist/cjs/types/components/ListBox/ListBox.d.ts +21 -0
- package/dist/cjs/types/components/ListBox/index.d.ts +1 -0
- package/dist/cjs/types/components/Mention/Mention.d.ts +24 -0
- package/dist/cjs/types/components/Mention/index.d.ts +1 -0
- package/dist/cjs/types/components/MultiSelect/MultiSelect.d.ts +24 -0
- package/dist/cjs/types/components/MultiSelect/index.d.ts +1 -0
- package/dist/cjs/types/components/MultiStateCheckbox/MultiStateCheckbox.d.ts +21 -0
- package/dist/cjs/types/components/MultiStateCheckbox/index.d.ts +1 -0
- package/dist/cjs/types/components/RadioGroup/RadioGroup.d.ts +24 -0
- package/dist/cjs/types/components/RadioGroup/index.d.ts +1 -0
- package/dist/cjs/types/components/Rating/Rating.d.ts +21 -0
- package/dist/cjs/types/components/Rating/index.d.ts +1 -0
- package/dist/cjs/types/components/SelectButton/SelectButton.d.ts +21 -0
- package/dist/cjs/types/components/SelectButton/index.d.ts +1 -0
- package/dist/cjs/types/components/Slider/Slider.d.ts +21 -0
- package/dist/cjs/types/components/Slider/index.d.ts +1 -0
- package/dist/cjs/types/components/ToggleButton/ToggleButton.d.ts +21 -0
- package/dist/cjs/types/components/ToggleButton/index.d.ts +1 -0
- package/dist/cjs/types/components/TreeSelect/TreeSelect.d.ts +24 -0
- package/dist/cjs/types/components/TreeSelect/index.d.ts +1 -0
- package/dist/cjs/types/components/TriStateCheckbox/TriStateCheckbox.d.ts +21 -0
- package/dist/cjs/types/components/TriStateCheckbox/index.d.ts +1 -0
- package/dist/cjs/types/components22/Button/Button.d.ts +7 -0
- package/dist/cjs/types/components22/Button/index.d.ts +2 -0
- package/dist/cjs/types/hooks/index.d.ts +3 -0
- package/dist/cjs/types/hooks/useApplyConfig.d.ts +17 -0
- package/dist/cjs/types/hooks/useFormContext.d.ts +2 -0
- package/dist/cjs/types/hooks/usePowellConfig.d.ts +2 -0
- package/dist/cjs/types/index.d.ts +1 -1
- package/dist/cjs/types/models/common.d.ts +7 -0
- package/dist/cjs/types/models/config.d.ts +13 -0
- package/dist/cjs/types/models/forms.d.ts +28 -0
- package/dist/cjs/types/models/index.d.ts +3 -0
- package/dist/cjs/types/utils/globalState.d.ts +19 -0
- package/dist/cjs/types/utils/index.d.ts +2 -0
- package/dist/cjs/types/utils/utilsService.d.ts +8 -0
- package/dist/esm/index.js +36893 -59
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/api/PowellProvider.d.ts +5 -0
- package/dist/esm/types/api/configService.d.ts +2 -0
- package/dist/esm/types/api/forms.d.ts +73 -0
- package/dist/esm/types/api/index.d.ts +5 -0
- package/dist/esm/types/api/powellDefaults.d.ts +2 -0
- package/dist/esm/types/api/primereact.d.ts +981 -0
- package/dist/esm/types/components/AutoComplete/AutoComplete.d.ts +24 -0
- package/dist/esm/types/components/AutoComplete/index.d.ts +1 -0
- package/dist/esm/types/components/Button/Button.d.ts +21 -6
- package/dist/esm/types/components/Button/index.d.ts +1 -2
- package/dist/esm/types/components/CascadeSelect/CascadeSelect.d.ts +24 -0
- package/dist/esm/types/components/CascadeSelect/index.d.ts +1 -0
- package/dist/esm/types/components/Checkbox/Checkbox.d.ts +21 -0
- package/dist/esm/types/components/Checkbox/index.d.ts +1 -0
- package/dist/esm/types/components/Chips/Chips.d.ts +24 -0
- package/dist/esm/types/components/Chips/index.d.ts +1 -0
- package/dist/esm/types/components/ColorPicker/ColorPicker.d.ts +24 -0
- package/dist/esm/types/components/ColorPicker/index.d.ts +1 -0
- package/dist/esm/types/components/Dropdown/Dropdown.d.ts +24 -0
- package/dist/esm/types/components/Dropdown/index.d.ts +1 -0
- package/dist/esm/types/components/Editor/Editor.d.ts +23 -0
- package/dist/esm/types/components/Editor/index.d.ts +1 -0
- package/dist/esm/types/components/FormContainer/FormContainer.d.ts +7 -0
- package/dist/esm/types/components/FormContainer/FormContext.d.ts +4 -0
- package/dist/esm/types/components/FormContainer/index.d.ts +2 -0
- package/dist/esm/types/components/InputMask/InputMask.d.ts +24 -0
- package/dist/esm/types/components/InputMask/index.d.ts +1 -0
- package/dist/esm/types/components/InputNumber/InputNumber.d.ts +24 -0
- package/dist/esm/types/components/InputNumber/index.d.ts +1 -0
- package/dist/esm/types/components/InputOtp/InputOtp.d.ts +21 -0
- package/dist/esm/types/components/InputOtp/index.d.ts +1 -0
- package/dist/esm/types/components/InputPassword/InputPassword.d.ts +24 -0
- package/dist/esm/types/components/InputPassword/index.d.ts +1 -0
- package/dist/esm/types/components/InputSwitch/InputSwitch.d.ts +21 -0
- package/dist/esm/types/components/InputSwitch/index.d.ts +1 -0
- package/dist/esm/types/components/InputText/InputText.d.ts +24 -0
- package/dist/esm/types/components/InputText/index.d.ts +1 -0
- package/dist/esm/types/components/InputTextarea/InputTextarea.d.ts +23 -0
- package/dist/esm/types/components/InputTextarea/index.d.ts +1 -0
- package/dist/esm/types/components/Knob/Knob.d.ts +21 -0
- package/dist/esm/types/components/Knob/index.d.ts +1 -0
- package/dist/esm/types/components/ListBox/ListBox.d.ts +21 -0
- package/dist/esm/types/components/ListBox/index.d.ts +1 -0
- package/dist/esm/types/components/Mention/Mention.d.ts +24 -0
- package/dist/esm/types/components/Mention/index.d.ts +1 -0
- package/dist/esm/types/components/MultiSelect/MultiSelect.d.ts +24 -0
- package/dist/esm/types/components/MultiSelect/index.d.ts +1 -0
- package/dist/esm/types/components/MultiStateCheckbox/MultiStateCheckbox.d.ts +21 -0
- package/dist/esm/types/components/MultiStateCheckbox/index.d.ts +1 -0
- package/dist/esm/types/components/RadioGroup/RadioGroup.d.ts +24 -0
- package/dist/esm/types/components/RadioGroup/index.d.ts +1 -0
- package/dist/esm/types/components/Rating/Rating.d.ts +21 -0
- package/dist/esm/types/components/Rating/index.d.ts +1 -0
- package/dist/esm/types/components/SelectButton/SelectButton.d.ts +21 -0
- package/dist/esm/types/components/SelectButton/index.d.ts +1 -0
- package/dist/esm/types/components/Slider/Slider.d.ts +21 -0
- package/dist/esm/types/components/Slider/index.d.ts +1 -0
- package/dist/esm/types/components/ToggleButton/ToggleButton.d.ts +21 -0
- package/dist/esm/types/components/ToggleButton/index.d.ts +1 -0
- package/dist/esm/types/components/TreeSelect/TreeSelect.d.ts +24 -0
- package/dist/esm/types/components/TreeSelect/index.d.ts +1 -0
- package/dist/esm/types/components/TriStateCheckbox/TriStateCheckbox.d.ts +21 -0
- package/dist/esm/types/components/TriStateCheckbox/index.d.ts +1 -0
- package/dist/esm/types/components22/Button/Button.d.ts +7 -0
- package/dist/esm/types/components22/Button/index.d.ts +2 -0
- package/dist/esm/types/hooks/index.d.ts +3 -0
- package/dist/esm/types/hooks/useApplyConfig.d.ts +17 -0
- package/dist/esm/types/hooks/useFormContext.d.ts +2 -0
- package/dist/esm/types/hooks/usePowellConfig.d.ts +2 -0
- package/dist/esm/types/index.d.ts +1 -1
- package/dist/esm/types/models/common.d.ts +7 -0
- package/dist/esm/types/models/config.d.ts +13 -0
- package/dist/esm/types/models/forms.d.ts +28 -0
- package/dist/esm/types/models/index.d.ts +3 -0
- package/dist/esm/types/utils/globalState.d.ts +19 -0
- package/dist/esm/types/utils/index.d.ts +2 -0
- package/dist/esm/types/utils/utilsService.d.ts +8 -0
- package/dist/index.d.ts +22 -7
- package/package.json +1 -1
- /package/dist/cjs/types/{components → components22}/Input/Input.d.ts +0 -0
- /package/dist/cjs/types/{components → components22}/Input/index.d.ts +0 -0
- /package/dist/cjs/types/{components → components22}/index.d.ts +0 -0
- /package/dist/esm/types/{components → components22}/Input/Input.d.ts +0 -0
- /package/dist/esm/types/{components → components22}/Input/index.d.ts +0 -0
- /package/dist/esm/types/{components → components22}/index.d.ts +0 -0
@@ -0,0 +1,73 @@
|
|
1
|
+
import { ArrayHelpers, ComponentDecorator, CompositeComponent, connect, ErrorMessage, ErrorMessageProps, FastField, FastFieldAttributes, FastFieldConfig, FastFieldProps, Field, FieldArray, FieldArrayConfig, FieldArrayRenderProps, FieldAttributes, FieldConfig, FieldHelperProps, FieldHookConfig, FieldInputProps, FieldMetaProps, FieldProps, FieldValidator, Form, Formik, FormikBag, FormikComputedProps, FormikConfig, FormikConsumer, FormikContext, FormikContextType, FormikErrors, FormikFormProps, FormikHandlers, FormikHelpers, FormikProps, FormikProvider, FormikRegistration, FormikSharedConfig, FormikState, FormikTouched, FormikValues, GenericFieldHTMLAttributes, getActiveElement, getIn, InferableComponentDecorator, InjectedFormikProps, insert, isEmptyArray, isEmptyChildren, isFunction, isInputEvent, isInteger, isNaN, isObject, isPromise, isString, move, prepareDataForValidation, replace, setIn, setNestedObjectValues, SharedRenderProps, swap, useField, useFormik, useFormikContext, validateYupSchema, withFormik, WithFormikConfig, yupToFormErrors } from 'formik';
|
2
|
+
import * as Yup from 'yup';
|
3
|
+
export { ErrorMessage as $ErrorMessage };
|
4
|
+
export type { ErrorMessageProps as $ErrorMessageProps };
|
5
|
+
export type { FieldProps as $FieldProps };
|
6
|
+
export { Field as $Field };
|
7
|
+
export { FieldArray as $FieldArray };
|
8
|
+
export { Form as $Form };
|
9
|
+
export type { ArrayHelpers as $ArrayHelpers };
|
10
|
+
export type { FieldArrayConfig as $FieldArrayConfig };
|
11
|
+
export type { FastFieldConfig as $FastFieldConfig };
|
12
|
+
export type { FastFieldProps as $FastFieldProps };
|
13
|
+
export { FastField as $FastField };
|
14
|
+
export type { FastFieldAttributes as $FastFieldAttributes };
|
15
|
+
export type { FieldConfig as $FieldConfig };
|
16
|
+
export type { FieldAttributes as $FieldAttributes };
|
17
|
+
export type { FieldHookConfig as $FieldHookConfig };
|
18
|
+
export type { FieldInputProps as $FieldInputProps };
|
19
|
+
export type { FieldMetaProps as $FieldMetaProps };
|
20
|
+
export type { FieldHelperProps as $FieldHelperProps };
|
21
|
+
export type { FieldValidator as $FieldValidator };
|
22
|
+
export type { FieldArrayRenderProps as $FieldArrayRenderProps };
|
23
|
+
export { useField as $useField };
|
24
|
+
export type { FormikProps as $FormikProps };
|
25
|
+
export type { FormikComputedProps as $FormikComputedProps };
|
26
|
+
export type { FormikFormProps as $FormikFormProps };
|
27
|
+
export { Formik as $Formik };
|
28
|
+
export type { FormikConfig as $FormikConfig };
|
29
|
+
export type { FormikSharedConfig as $FormikSharedConfig };
|
30
|
+
export type { FormikBag as $FormikBag };
|
31
|
+
export { FormikConsumer as $FormikConsumer };
|
32
|
+
export type { FormikErrors as $FormikErrors };
|
33
|
+
export { FormikContext as $FormikContext };
|
34
|
+
export type { FormikContextType as $FormikContextType };
|
35
|
+
export type { FormikHandlers as $FormikHandlers };
|
36
|
+
export type { FormikHelpers as $FormikHelpers };
|
37
|
+
export { FormikProvider as $FormikProvider };
|
38
|
+
export type { FormikRegistration as $FormikRegistration };
|
39
|
+
export type { FormikState as $FormikState };
|
40
|
+
export type { FormikTouched as $FormikTouched };
|
41
|
+
export type { FormikValues as $FormikValues };
|
42
|
+
export { useFormikContext as $useFormikContext };
|
43
|
+
export type { WithFormikConfig as $WithFormikConfig };
|
44
|
+
export type { GenericFieldHTMLAttributes as $GenericFieldHTMLAttributes };
|
45
|
+
export type { SharedRenderProps as $SharedRenderProps };
|
46
|
+
export { connect as $connect };
|
47
|
+
export { getIn as $getIn };
|
48
|
+
export { isEmptyArray as $isEmptyArray };
|
49
|
+
export { useFormik as $useFormik };
|
50
|
+
export { withFormik as $withFormik };
|
51
|
+
export type { ComponentDecorator as $ComponentDecorator };
|
52
|
+
export type { InferableComponentDecorator as $InferableComponentDecorator };
|
53
|
+
export { insert as $insert };
|
54
|
+
export type { CompositeComponent as $CompositeComponent };
|
55
|
+
export { isEmptyChildren as $isEmptyChildren };
|
56
|
+
export { isInputEvent as $isInputEvent };
|
57
|
+
export { isNaN as $isNaN };
|
58
|
+
export type { InjectedFormikProps as $InjectedFormikProps };
|
59
|
+
export { isFunction as $isFunction };
|
60
|
+
export { move as $move };
|
61
|
+
export { isInteger as $isInteger };
|
62
|
+
export { isObject as $isObject };
|
63
|
+
export { isPromise as $isPromise };
|
64
|
+
export { isString as $isString };
|
65
|
+
export { swap as $swap };
|
66
|
+
export { replace as $replace };
|
67
|
+
export { setIn as $setIn };
|
68
|
+
export { prepareDataForValidation as $prepareDataForValidation };
|
69
|
+
export { setNestedObjectValues as $setNestedObjectValues };
|
70
|
+
export { validateYupSchema as $validateYupSchema };
|
71
|
+
export { yupToFormErrors as $yupToFormErrors };
|
72
|
+
export { getActiveElement as $getActiveElement };
|
73
|
+
export { Yup as $Yup };
|