@esvndev/es-react-config-setting 1.0.0 → 1.0.2

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.
Files changed (29) hide show
  1. package/dist/components/@core/components/datepicker/index.d.ts +25 -0
  2. package/dist/components/@core/components/datepicker-custom/index.d.ts +2 -0
  3. package/dist/components/@core/components/datetimepicker/index.d.ts +18 -0
  4. package/dist/components/@core/components/input/editor-input/index.d.ts +29 -0
  5. package/dist/components/@core/components/input/editor-input-view/index.d.ts +20 -0
  6. package/dist/components/@core/components/input/index.d.ts +7 -0
  7. package/dist/components/@core/components/input/input-checkbox/index.d.ts +13 -0
  8. package/dist/components/@core/components/input/input-formula/index.d.ts +2 -0
  9. package/dist/components/@core/components/input/input-group/index.d.ts +23 -0
  10. package/dist/components/@core/components/input/input-number/index.d.ts +27 -0
  11. package/dist/components/@core/components/input/input-number-customize/index.d.ts +17 -0
  12. package/dist/components/@core/components/input/input-radio/index.d.ts +21 -0
  13. package/dist/components/@core/components/input/input-text/index.d.ts +24 -0
  14. package/dist/components/@core/components/input/numeric-input/index.d.ts +31 -0
  15. package/dist/components/@core/components/input/rate-input-group/index.d.ts +34 -0
  16. package/dist/components/@core/components/modal-header/index.d.ts +11 -0
  17. package/dist/components/popup/index.d.ts +2 -0
  18. package/dist/index.d.ts +10 -5
  19. package/dist/index.js +6233 -0
  20. package/dist/index.js.map +1 -0
  21. package/dist/index.mjs +6206 -0
  22. package/dist/index.mjs.map +1 -0
  23. package/dist/shared/type.d.ts +12 -0
  24. package/package.json +65 -37
  25. package/dist/index.cjs.js +0 -1374
  26. package/dist/index.cjs.js.map +0 -1
  27. package/dist/index.esm.js +0 -1372
  28. package/dist/index.esm.js.map +0 -1
  29. package/dist/package.json +0 -65
@@ -0,0 +1,25 @@
1
+ interface IDatepicker {
2
+ control: any;
3
+ name: string;
4
+ label: string;
5
+ labelSize?: any;
6
+ required?: boolean;
7
+ errors?: any;
8
+ isLabel?: boolean;
9
+ min?: any;
10
+ max?: any;
11
+ callback?: any;
12
+ inLine?: boolean;
13
+ disabled?: boolean;
14
+ maskPlaceholder?: {
15
+ day: string;
16
+ month: string;
17
+ year: string;
18
+ };
19
+ enableMask?: boolean;
20
+ offFocus?: boolean;
21
+ enabled?: boolean;
22
+ styleDivInput?: any;
23
+ }
24
+ declare const DatePickerInput: (props: IDatepicker) => import("react/jsx-runtime").JSX.Element;
25
+ export default DatePickerInput;
@@ -0,0 +1,2 @@
1
+ declare const DatePickerCustom: ({ control, name, label, labelSize, required, errors, disabled, ...props }: any) => import("react/jsx-runtime").JSX.Element;
2
+ export default DatePickerCustom;
@@ -0,0 +1,18 @@
1
+ interface IDatepicker {
2
+ control: any;
3
+ name: string;
4
+ label: string;
5
+ labelSize?: any;
6
+ required?: boolean;
7
+ errors?: any;
8
+ isLabel?: boolean;
9
+ min?: any;
10
+ max?: any;
11
+ isDetail?: boolean;
12
+ disabled?: boolean;
13
+ inLine?: boolean;
14
+ callback?: any;
15
+ offFocus?: boolean;
16
+ }
17
+ declare const DateTimePickerInput: (props: IDatepicker) => import("react/jsx-runtime").JSX.Element;
18
+ export default DateTimePickerInput;
@@ -0,0 +1,29 @@
1
+ interface IFFormInput {
2
+ control: any;
3
+ name: string;
4
+ label: string;
5
+ labelSize?: string;
6
+ required?: boolean;
7
+ errors?: any;
8
+ classes?: string;
9
+ height?: number | string;
10
+ row?: number;
11
+ isLabel?: boolean;
12
+ inLine?: boolean;
13
+ placeholder?: string;
14
+ callback?: any;
15
+ disable?: boolean;
16
+ showToolbar?: boolean;
17
+ editorTab?: boolean;
18
+ styleFormInput?: any;
19
+ }
20
+ declare const RickEditorInput: {
21
+ (props: IFFormInput): import("react/jsx-runtime").JSX.Element;
22
+ defaultProps: {
23
+ height: number;
24
+ isLabel: boolean;
25
+ disable: boolean;
26
+ showToolbar: boolean;
27
+ };
28
+ };
29
+ export default RickEditorInput;
@@ -0,0 +1,20 @@
1
+ interface IFFormInput {
2
+ value?: any;
3
+ name?: string;
4
+ label?: string;
5
+ labelSize?: string;
6
+ required?: boolean;
7
+ errors?: any;
8
+ classes?: string;
9
+ height?: number | string;
10
+ row?: number;
11
+ isLabel?: boolean;
12
+ inLine?: boolean;
13
+ placeholder?: string;
14
+ callback?: any;
15
+ disable?: boolean;
16
+ showToolbar?: boolean;
17
+ styleFormInput?: any;
18
+ }
19
+ declare const RickEditorInputView: (props: IFFormInput) => import("react/jsx-runtime").JSX.Element;
20
+ export default RickEditorInputView;
@@ -0,0 +1,7 @@
1
+ export { default as TextInput } from './input-text';
2
+ export { default as NumberInput } from './input-number';
3
+ export { default as InputNumberCustomize } from './input-number-customize';
4
+ export { default as FormulaInput } from './input-formula';
5
+ export { default as CheckboxInput } from './input-checkbox';
6
+ export { default as RadioInput } from './input-radio';
7
+ export { default as NumericInput } from './numeric-input';
@@ -0,0 +1,13 @@
1
+ interface IFormInput {
2
+ control: any;
3
+ name: string;
4
+ label: string;
5
+ labelSize?: string;
6
+ disabled?: boolean;
7
+ callback?: any;
8
+ isLabel?: boolean;
9
+ inLine?: boolean;
10
+ reverse?: boolean;
11
+ }
12
+ declare const CheckboxInput: (props: IFormInput) => import("react/jsx-runtime").JSX.Element;
13
+ export default CheckboxInput;
@@ -0,0 +1,2 @@
1
+ declare const FormulaInput: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<unknown>>;
2
+ export default FormulaInput;
@@ -0,0 +1,23 @@
1
+ import { InputType } from "reactstrap/types/lib/Input";
2
+ interface IFFormInput {
3
+ control: any;
4
+ name: string;
5
+ type?: InputType;
6
+ label: string;
7
+ labelSize?: string;
8
+ required?: boolean;
9
+ errors?: any;
10
+ height?: number | string;
11
+ disabled?: boolean;
12
+ row?: number;
13
+ isLabel?: boolean;
14
+ inLine?: boolean;
15
+ autoFocus?: boolean;
16
+ placeholder?: string;
17
+ callback?: any;
18
+ readOnly?: boolean;
19
+ handleGroupClick?: any;
20
+ iconGroup?: any;
21
+ }
22
+ declare const TextInputGroup: (props: IFFormInput) => import("react/jsx-runtime").JSX.Element;
23
+ export default TextInputGroup;
@@ -0,0 +1,27 @@
1
+ interface IFFormInput {
2
+ id?: string;
3
+ control: any;
4
+ name: string;
5
+ label: string;
6
+ labelSize?: string;
7
+ required?: boolean;
8
+ errors?: any;
9
+ classes?: string;
10
+ height?: number | string;
11
+ min?: number;
12
+ max?: number;
13
+ fractionCurrency?: number;
14
+ disabled?: boolean;
15
+ row?: number;
16
+ isLabel?: boolean;
17
+ inLine?: boolean;
18
+ autoFocus?: boolean;
19
+ placeholder?: string;
20
+ callback?: any;
21
+ readOnly?: boolean;
22
+ decimalSeparator?: string;
23
+ thousandSeparator?: string;
24
+ }
25
+ export declare const formartNumberic: (str: string | number, decimalSeparator?: string, thousandSeparator?: string, fraction?: number, isDone?: boolean) => string;
26
+ declare const NumberInput: (props: IFFormInput) => import("react/jsx-runtime").JSX.Element;
27
+ export default NumberInput;
@@ -0,0 +1,17 @@
1
+ interface IFormInput {
2
+ control: any;
3
+ name: string;
4
+ label: string;
5
+ labelSize: string;
6
+ required?: boolean;
7
+ errors?: any;
8
+ disabled?: boolean;
9
+ isLabel?: boolean;
10
+ inLine?: boolean;
11
+ placeholder?: string;
12
+ min?: number;
13
+ max?: number;
14
+ callback?: any;
15
+ }
16
+ declare const InputNumberCustomize: (props: IFormInput) => import("react/jsx-runtime").JSX.Element;
17
+ export default InputNumberCustomize;
@@ -0,0 +1,21 @@
1
+ interface IRadioOptions {
2
+ value: any;
3
+ label: string;
4
+ }
5
+ interface IFFormInput {
6
+ control: any;
7
+ name: string;
8
+ label: string;
9
+ labelSize: string;
10
+ height?: number | string;
11
+ disabled?: boolean;
12
+ isLabel?: boolean;
13
+ inLine?: boolean;
14
+ callback?: any;
15
+ marginElement?: number;
16
+ radioOptions: IRadioOptions[];
17
+ confirmHandle?: any;
18
+ fieldValue?: any;
19
+ }
20
+ declare const RadioInput: (props: IFFormInput) => import("react/jsx-runtime").JSX.Element;
21
+ export default RadioInput;
@@ -0,0 +1,24 @@
1
+ import { InputType } from "reactstrap/types/lib/Input";
2
+ interface IFFormInput {
3
+ control: any;
4
+ name: string;
5
+ type?: InputType;
6
+ label: string;
7
+ labelSize?: string;
8
+ required?: boolean;
9
+ errors?: any;
10
+ classes?: string;
11
+ height?: number | string;
12
+ disabled?: boolean;
13
+ row?: number;
14
+ isLabel?: boolean;
15
+ inLine?: boolean;
16
+ autoFocus?: boolean;
17
+ widthInput?: number | string;
18
+ alignRight?: boolean;
19
+ placeholder?: string;
20
+ callback?: any;
21
+ readOnly?: boolean;
22
+ }
23
+ declare const TextInput: (props: IFFormInput) => import("react/jsx-runtime").JSX.Element;
24
+ export default TextInput;
@@ -0,0 +1,31 @@
1
+ interface IFormInput {
2
+ control: any;
3
+ name: string;
4
+ label: string;
5
+ labelSize?: any;
6
+ required?: boolean;
7
+ errors?: any;
8
+ height?: number | string;
9
+ disabled?: boolean;
10
+ isLabel?: boolean;
11
+ inLine?: boolean;
12
+ placeholder?: string;
13
+ min?: number;
14
+ max?: number;
15
+ step?: number;
16
+ format?: string;
17
+ title?: string;
18
+ currency?: string;
19
+ callback?: any;
20
+ showSpinButton?: boolean;
21
+ allowNegative?: boolean;
22
+ thousandSeparator?: any;
23
+ decimalSeparator?: any;
24
+ decimalScale?: number | undefined;
25
+ fixedDecimalScale?: boolean | undefined;
26
+ prefix?: string | undefined;
27
+ suffix?: string | undefined;
28
+ id?: string | undefined;
29
+ }
30
+ declare const NumericInputCustom: (props: IFormInput) => import("react/jsx-runtime").JSX.Element;
31
+ export default NumericInputCustom;
@@ -0,0 +1,34 @@
1
+ import { InputType } from "reactstrap/types/lib/Input";
2
+ interface IFFormInput {
3
+ control: any;
4
+ name: string;
5
+ type?: InputType;
6
+ label: string;
7
+ labelSize?: string;
8
+ required?: boolean;
9
+ errors?: any;
10
+ height?: number | string;
11
+ disabled?: boolean;
12
+ row?: number;
13
+ isLabel?: boolean;
14
+ inLine?: boolean;
15
+ autoFocus?: boolean;
16
+ placeholder?: string;
17
+ callback?: any;
18
+ readOnly?: boolean;
19
+ handleGroupClick?: any;
20
+ max?: number;
21
+ min?: number;
22
+ allowNegative?: any;
23
+ prefix?: any;
24
+ suffix?: any;
25
+ thousandSeparator?: string;
26
+ decimalSeparator?: string;
27
+ decimalScale?: number | undefined;
28
+ fixedDecimalScale?: boolean;
29
+ operator?: string;
30
+ originCurrency?: string;
31
+ exchangeCurrency?: string;
32
+ }
33
+ declare const RateInputGroup: (props: IFFormInput) => import("react/jsx-runtime").JSX.Element;
34
+ export default RateInputGroup;
@@ -0,0 +1,11 @@
1
+ import { CSSProperties } from "styled-components";
2
+ interface IFDataProps {
3
+ title: string;
4
+ handleModal?: any;
5
+ children?: any;
6
+ typeModal?: string;
7
+ component?: any;
8
+ style?: CSSProperties;
9
+ }
10
+ declare const ModalHeader: (props: IFDataProps) => import("react/jsx-runtime").JSX.Element;
11
+ export default ModalHeader;
@@ -0,0 +1,2 @@
1
+ import { ISettingApp } from "../../shared/type";
2
+ export declare const SettingApp: (props: ISettingApp) => import("react/jsx-runtime").JSX.Element;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,11 @@
1
- declare const Button1 = ({ label1, onClick }) => {
2
- console.log("Button label:", label1);
3
- return (jsxRuntimeExports.jsx("button", { children: " Click me " }));
4
- };
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
5
2
 
6
- export { Button1 };
3
+ interface ISettingApp {
4
+ eventChange?: (obj: any) => void;
5
+ eventClose?: (obj: any) => void;
6
+ isOpen: boolean;
7
+ }
8
+
9
+ declare const SettingApp: (props: ISettingApp) => react_jsx_runtime.JSX.Element;
10
+
11
+ export { SettingApp };