@esvndev/es-template-help 1.0.1
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/README.md +3 -0
- package/dist/assets/assets/guide32115ec2bdd17e2b.png +0 -0
- package/dist/assets/assets/light3bd2c90dffa5e171.png +0 -0
- package/dist/assets/guide32115ec2bdd17e2b.png +0 -0
- package/dist/assets/light3bd2c90dffa5e171.png +0 -0
- package/dist/components/@core/components/attach-file/index.d.ts +14 -0
- package/dist/components/@core/components/datepicker/index.d.ts +25 -0
- package/dist/components/@core/components/datepicker-custom/index.d.ts +2 -0
- package/dist/components/@core/components/datetimepicker/index.d.ts +18 -0
- package/dist/components/@core/components/file-upload/index.d.ts +16 -0
- package/dist/components/@core/components/icon/index.d.ts +2 -0
- package/dist/components/@core/components/input/editor-input/index.d.ts +29 -0
- package/dist/components/@core/components/input/editor-input-view/index.d.ts +20 -0
- package/dist/components/@core/components/input/index.d.ts +5 -0
- package/dist/components/@core/components/input/input-checkbox/index.d.ts +13 -0
- package/dist/components/@core/components/input/input-group/index.d.ts +23 -0
- package/dist/components/@core/components/input/input-number/index.d.ts +28 -0
- package/dist/components/@core/components/input/input-number-customize/index.d.ts +17 -0
- package/dist/components/@core/components/input/input-radio/index.d.ts +21 -0
- package/dist/components/@core/components/input/input-text/index.d.ts +24 -0
- package/dist/components/@core/components/input/numeric-input/index.d.ts +31 -0
- package/dist/components/@core/components/modal-header/index.d.ts +12 -0
- package/dist/components/@core/components/notifications/index.d.ts +5 -0
- package/dist/components/@core/components/react-input/index.d.ts +2 -0
- package/dist/components/@core/components/select/async-selectbox/index.d.ts +28 -0
- package/dist/components/@core/components/select/async-selectbox-group/index.d.ts +23 -0
- package/dist/components/@core/components/select/creactable-select/index.d.ts +20 -0
- package/dist/components/@core/components/select/creactable-select-group/index.d.ts +22 -0
- package/dist/components/@core/components/select/index.d.ts +7 -0
- package/dist/components/@core/components/select/select/index.d.ts +28 -0
- package/dist/components/@core/components/select/select-avatar/index.d.ts +21 -0
- package/dist/components/@core/components/select/select-group/index.d.ts +22 -0
- package/dist/components/@core/components/select/select-multiple/index.d.ts +20 -0
- package/dist/components/@core/components/select/select-multiple-group/index.d.ts +21 -0
- package/dist/components/@core/components/select/select-table/BuildTable.d.ts +2 -0
- package/dist/components/@core/components/select/select-table/GridRowItems.d.ts +2 -0
- package/dist/components/@core/components/select/select-table/Row.d.ts +3 -0
- package/dist/components/@core/components/select/select-table/RowGroup.d.ts +2 -0
- package/dist/components/@core/components/select/select-table/index.d.ts +40 -0
- package/dist/components/@core/components/select/select-table/styles.d.ts +1 -0
- package/dist/components/@core/components/select/select-tree-custom/index.d.ts +3 -0
- package/dist/components/@core/components/themeConfig.d.ts +40 -0
- package/dist/components/init/index.d.ts +2 -0
- package/dist/components/type/index.d.ts +31 -0
- package/dist/components/type/themeConfig.d.ts +40 -0
- package/dist/components/view/index.d.ts +3 -0
- package/dist/components/view/modal.d.ts +2 -0
- package/dist/index.css +2 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +75736 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +75716 -0
- package/dist/index.mjs.map +1 -0
- package/dist/request/index.d.ts +21 -0
- package/dist/shared/type.d.ts +12 -0
- package/package.json +108 -0
package/README.md
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface IProps {
|
|
2
|
+
userSubject: any;
|
|
3
|
+
typeModal: string;
|
|
4
|
+
listFile: any[];
|
|
5
|
+
setListFile: any;
|
|
6
|
+
dataItem?: any;
|
|
7
|
+
uploadAttachApi?: any;
|
|
8
|
+
addDisable?: boolean;
|
|
9
|
+
editDisable?: boolean;
|
|
10
|
+
listObjectDate?: string[];
|
|
11
|
+
callback?: any;
|
|
12
|
+
}
|
|
13
|
+
declare const AttachFileComponent: (props: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default AttachFileComponent;
|
|
@@ -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,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,16 @@
|
|
|
1
|
+
import { CSSProperties } from "react";
|
|
2
|
+
type Props = {
|
|
3
|
+
name: string;
|
|
4
|
+
labelSize?: any;
|
|
5
|
+
errors?: any;
|
|
6
|
+
height?: number;
|
|
7
|
+
width?: number;
|
|
8
|
+
callback?: any;
|
|
9
|
+
callbackRawfile?: any;
|
|
10
|
+
isLabel?: boolean;
|
|
11
|
+
inLine?: boolean;
|
|
12
|
+
label?: string;
|
|
13
|
+
style?: CSSProperties;
|
|
14
|
+
};
|
|
15
|
+
declare const FileUpload: ({ callback, callbackRawfile }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default FileUpload;
|
|
@@ -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,5 @@
|
|
|
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 CheckboxInput } from './input-checkbox';
|
|
5
|
+
export { default as RadioInput } from './input-radio';
|
|
@@ -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,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,28 @@
|
|
|
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
|
+
type?: string | '';
|
|
25
|
+
}
|
|
26
|
+
export declare const formartNumberic: (str: string | number, decimalSeparator?: string, thousandSeparator?: string, fraction?: number, isDone?: boolean) => string;
|
|
27
|
+
declare const NumberInput: (props: IFFormInput) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
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,12 @@
|
|
|
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
|
+
disableIcon?: boolean | false;
|
|
10
|
+
}
|
|
11
|
+
declare const ModalHeader: (props: IFDataProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default ModalHeader;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const notificationSuccess: (param: string) => string;
|
|
2
|
+
export declare const messageBoxError: (t: any, message: string) => void;
|
|
3
|
+
export declare const messageBoxConfirmDelete: (t: any, handle: any, id: string) => void;
|
|
4
|
+
export declare const notificationError: (param: string) => string;
|
|
5
|
+
export declare const messageBoxConfirm: (t: any, handle: any, data: any, message: string, buttunOk?: string, buttonCancel?: string) => void;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
interface IAsyncSelectBox {
|
|
2
|
+
name: string;
|
|
3
|
+
control: any;
|
|
4
|
+
defaultValue?: any;
|
|
5
|
+
isMulti?: boolean;
|
|
6
|
+
isLabel?: boolean;
|
|
7
|
+
inLine?: boolean;
|
|
8
|
+
labelComponent?: any;
|
|
9
|
+
defaultOptions: any[];
|
|
10
|
+
loadOptions?: any;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
label?: any;
|
|
14
|
+
labelSize?: any;
|
|
15
|
+
required?: boolean;
|
|
16
|
+
errors?: any;
|
|
17
|
+
cssClass?: string;
|
|
18
|
+
callback?: any;
|
|
19
|
+
menuPosition?: "fixed" | "absolute";
|
|
20
|
+
confirmHandle?: any;
|
|
21
|
+
fieldValue?: string;
|
|
22
|
+
isClearable?: boolean;
|
|
23
|
+
handleGroupClick?: any;
|
|
24
|
+
iconGroup?: any;
|
|
25
|
+
iconLeftGroup?: any;
|
|
26
|
+
}
|
|
27
|
+
declare const AsyncSelectBox: (props: IAsyncSelectBox) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export default AsyncSelectBox;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
interface IAsyncSelectBoxGroup {
|
|
2
|
+
name: string;
|
|
3
|
+
control: any;
|
|
4
|
+
isMulti?: boolean;
|
|
5
|
+
isLabel?: boolean;
|
|
6
|
+
inLine?: boolean;
|
|
7
|
+
labelComponent?: any;
|
|
8
|
+
defaultOptions: any[];
|
|
9
|
+
loadOptions?: any;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
label?: any;
|
|
13
|
+
labelSize?: any;
|
|
14
|
+
required?: boolean;
|
|
15
|
+
isClearable?: boolean;
|
|
16
|
+
errors?: any;
|
|
17
|
+
cssClass?: string;
|
|
18
|
+
callback?: any;
|
|
19
|
+
handleGroupClick?: any;
|
|
20
|
+
iconGroup?: any;
|
|
21
|
+
}
|
|
22
|
+
declare const AsyncSelectBoxGroup: (props: IAsyncSelectBoxGroup) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default AsyncSelectBoxGroup;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface IFCreatableSelectBox {
|
|
2
|
+
isMulti?: boolean;
|
|
3
|
+
isLabel?: boolean;
|
|
4
|
+
inLine?: boolean;
|
|
5
|
+
control: any;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
name: string;
|
|
8
|
+
options: any[];
|
|
9
|
+
label?: any;
|
|
10
|
+
labelSize?: any;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
errors?: any;
|
|
13
|
+
cssClass?: string;
|
|
14
|
+
isClearable?: boolean;
|
|
15
|
+
labelComponent?: any;
|
|
16
|
+
onInputChange?: any;
|
|
17
|
+
callback?: any;
|
|
18
|
+
}
|
|
19
|
+
declare const CreatableSelectBox: (props: IFCreatableSelectBox) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export default CreatableSelectBox;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
interface IFCreatableSelectGroup {
|
|
2
|
+
isMulti?: boolean;
|
|
3
|
+
isLabel?: boolean;
|
|
4
|
+
inLine?: boolean;
|
|
5
|
+
control: any;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
name: string;
|
|
8
|
+
options: any[];
|
|
9
|
+
label?: any;
|
|
10
|
+
labelSize?: any;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
errors?: any;
|
|
13
|
+
cssClass?: string;
|
|
14
|
+
isClearable?: boolean;
|
|
15
|
+
labelComponent?: any;
|
|
16
|
+
iconGroup: any;
|
|
17
|
+
handleGroupClick?: any;
|
|
18
|
+
onInputChange?: any;
|
|
19
|
+
callback?: any;
|
|
20
|
+
}
|
|
21
|
+
declare const CreatableSelectBoxGroup: (props: IFCreatableSelectGroup) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export default CreatableSelectBoxGroup;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as SelectBox } from './select';
|
|
2
|
+
export { default as SelectBoxMultiple } from './select-multiple';
|
|
3
|
+
export { default as SelectBoxGroup } from './select-group';
|
|
4
|
+
export { default as SelectBoxMultipleGroup } from './select-multiple-group';
|
|
5
|
+
export { default as AsyncSelectBox } from './async-selectbox';
|
|
6
|
+
export { default as CreatableSelectBox } from './creactable-select';
|
|
7
|
+
export { default as CreatableSelectBoxGroup } from './creactable-select-group';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
interface IFSelectBox {
|
|
2
|
+
control: any;
|
|
3
|
+
name: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
options: any[];
|
|
8
|
+
label?: string;
|
|
9
|
+
isLabel?: boolean;
|
|
10
|
+
labelSize?: string;
|
|
11
|
+
classes?: string;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
errors?: any;
|
|
14
|
+
isMulti?: boolean;
|
|
15
|
+
isClearable?: boolean;
|
|
16
|
+
labelComponent?: any;
|
|
17
|
+
callback?: any;
|
|
18
|
+
onInputChange?: any;
|
|
19
|
+
fieldValue?: any;
|
|
20
|
+
inLine?: boolean;
|
|
21
|
+
zIndex?: number;
|
|
22
|
+
ref?: any;
|
|
23
|
+
confirmHandle?: any;
|
|
24
|
+
menuPortalTarget?: any;
|
|
25
|
+
menuPosition?: "fixed" | "absolute";
|
|
26
|
+
}
|
|
27
|
+
declare const SelectBox: (props: IFSelectBox) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export default SelectBox;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
externalClick?: any;
|
|
3
|
+
menuPortalTarget?: any;
|
|
4
|
+
value: any;
|
|
5
|
+
onChange: (props: any) => void;
|
|
6
|
+
filterKey?: string;
|
|
7
|
+
customRender?: any;
|
|
8
|
+
suggestionLimit?: number;
|
|
9
|
+
options: any[];
|
|
10
|
+
grouped?: any;
|
|
11
|
+
filterHeaderKey?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
invalid?: boolean;
|
|
14
|
+
iconSize?: number;
|
|
15
|
+
isClearable?: boolean;
|
|
16
|
+
menuItemHeight?: number;
|
|
17
|
+
menuHeight?: number;
|
|
18
|
+
menuWidth?: number;
|
|
19
|
+
};
|
|
20
|
+
declare const SelectAvatar: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<unknown>>;
|
|
21
|
+
export default SelectAvatar;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
interface IFSelectBoxGroup {
|
|
2
|
+
control: any;
|
|
3
|
+
name: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
options: any[];
|
|
7
|
+
label?: string;
|
|
8
|
+
isLabel?: boolean;
|
|
9
|
+
inLine?: boolean;
|
|
10
|
+
labelSize?: string;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
errors?: any;
|
|
13
|
+
isMulti?: boolean;
|
|
14
|
+
isClearable?: boolean;
|
|
15
|
+
labelComponent?: any;
|
|
16
|
+
callback?: any;
|
|
17
|
+
typeModal?: string;
|
|
18
|
+
handleGroupClick?: any;
|
|
19
|
+
iconGroup: any;
|
|
20
|
+
}
|
|
21
|
+
declare const SelectBoxGroup: (props: IFSelectBoxGroup) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export default SelectBoxGroup;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface IFSelectBox {
|
|
2
|
+
control: any;
|
|
3
|
+
name: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
options: any[];
|
|
7
|
+
label?: string;
|
|
8
|
+
isLabel?: boolean;
|
|
9
|
+
labelSize?: string;
|
|
10
|
+
classes?: string;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
errors?: any;
|
|
13
|
+
isClearable?: boolean;
|
|
14
|
+
labelComponent?: any;
|
|
15
|
+
callback?: any;
|
|
16
|
+
inLine?: boolean;
|
|
17
|
+
menuPosition?: "fixed" | "absolute";
|
|
18
|
+
}
|
|
19
|
+
declare const SelectBox: (props: IFSelectBox) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export default SelectBox;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface IFSelectBox {
|
|
2
|
+
control: any;
|
|
3
|
+
name: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
options: any[];
|
|
7
|
+
label?: string;
|
|
8
|
+
isLabel?: boolean;
|
|
9
|
+
labelSize?: string;
|
|
10
|
+
classes?: string;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
errors?: any;
|
|
13
|
+
isClearable?: boolean;
|
|
14
|
+
labelComponent?: any;
|
|
15
|
+
callback?: any;
|
|
16
|
+
inLine?: boolean;
|
|
17
|
+
handleGroupClick?: any;
|
|
18
|
+
iconGroup?: any;
|
|
19
|
+
}
|
|
20
|
+
declare const SelectBox: (props: IFSelectBox) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export default SelectBox;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { JSX } from "react";
|
|
2
|
+
type Props = {
|
|
3
|
+
externalClick?: any;
|
|
4
|
+
menuPortalTarget?: any;
|
|
5
|
+
value: any;
|
|
6
|
+
onChange: (props: any) => void;
|
|
7
|
+
filterKey?: string;
|
|
8
|
+
customRender?: any;
|
|
9
|
+
suggestionLimit?: number;
|
|
10
|
+
options?: any[];
|
|
11
|
+
defaultOptions?: any[];
|
|
12
|
+
grouped?: any;
|
|
13
|
+
filterHeaderKey?: string;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
invalid?: boolean;
|
|
16
|
+
iconSize?: number;
|
|
17
|
+
isClearable?: boolean;
|
|
18
|
+
columns: IColumnSelectTable[];
|
|
19
|
+
footerComponent?: JSX.Element;
|
|
20
|
+
menuItemHeight?: number;
|
|
21
|
+
menuHeight?: number;
|
|
22
|
+
menuWidth?: number;
|
|
23
|
+
loadOptions?: any;
|
|
24
|
+
closeMenuOnSelect?: boolean;
|
|
25
|
+
};
|
|
26
|
+
export interface IColumnSelectTable {
|
|
27
|
+
field: string;
|
|
28
|
+
headerText?: string;
|
|
29
|
+
width?: string | number;
|
|
30
|
+
fieldValue?: string;
|
|
31
|
+
minWidth?: string | number;
|
|
32
|
+
maxWidth?: string | number;
|
|
33
|
+
min?: number;
|
|
34
|
+
max?: number;
|
|
35
|
+
template?: any;
|
|
36
|
+
headerTemplate?: any;
|
|
37
|
+
visible?: boolean;
|
|
38
|
+
}
|
|
39
|
+
declare const SelectTable: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<unknown>>;
|
|
40
|
+
export default SelectTable;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MenuSuggestTable: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|