fui-material 0.2.82 → 0.2.83
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/dist/cjs/index.js +3 -14
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/function-elements/fExportTableToExcel/fExportTableToExcel.d.ts +6 -0
- package/dist/cjs/types/function-elements/fExportTableToExcel/index.d.ts +1 -0
- package/dist/cjs/types/function-elements/index.d.ts +1 -0
- package/dist/cjs/types/index.d.ts +0 -1
- package/dist/esm/index.js +3 -14
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/function-elements/fExportTableToExcel/fExportTableToExcel.d.ts +6 -0
- package/dist/esm/types/function-elements/fExportTableToExcel/index.d.ts +1 -0
- package/dist/esm/types/function-elements/index.d.ts +1 -0
- package/dist/esm/types/index.d.ts +0 -1
- package/dist/index.d.ts +4 -14
- package/package.json +2 -2
- package/dist/cjs/types/export/FExportTableToExcel/FExportTableToExcel.d.ts +0 -18
- package/dist/cjs/types/export/FExportTableToExcel/index.d.ts +0 -1
- package/dist/cjs/types/export/export-table-to-excel/FExportTableToExcel.d.ts +0 -18
- package/dist/cjs/types/export/index.d.ts +0 -1
- package/dist/cjs/types/function-elements/interfaces.d.ts +0 -13
- package/dist/cjs/types/icons/interfaces.d.ts +0 -98
- package/dist/cjs/types/material/interfaces.d.ts +0 -450
- package/dist/esm/types/export/FExportTableToExcel/FExportTableToExcel.d.ts +0 -18
- package/dist/esm/types/export/FExportTableToExcel/index.d.ts +0 -1
- package/dist/esm/types/export/export-table-to-excel/FExportTableToExcel.d.ts +0 -18
- package/dist/esm/types/export/index.d.ts +0 -1
- package/dist/esm/types/function-elements/interfaces.d.ts +0 -13
- package/dist/esm/types/icons/interfaces.d.ts +0 -98
- package/dist/esm/types/material/interfaces.d.ts +0 -450
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./fExportTableToExcel";
|
package/dist/index.d.ts
CHANGED
|
@@ -672,20 +672,10 @@ interface IfPrompt {
|
|
|
672
672
|
}
|
|
673
673
|
declare const fPrompt: ({ title, body }: IfPrompt) => Promise<string | null>;
|
|
674
674
|
|
|
675
|
-
interface
|
|
676
|
-
|
|
677
|
-
variant?: 'contained' | 'default';
|
|
678
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
679
|
-
size?: 'btn-lg' | 'btn-sm' | 'btn-xs';
|
|
680
|
-
disabled?: boolean;
|
|
681
|
-
onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
682
|
-
st?: React.CSSProperties;
|
|
683
|
-
className?: string;
|
|
684
|
-
fullWidth?: boolean;
|
|
685
|
-
id?: string;
|
|
686
|
-
idTable: string;
|
|
675
|
+
interface IfExportTableToExcel {
|
|
676
|
+
tableId: string;
|
|
687
677
|
fileName: string;
|
|
688
678
|
}
|
|
689
|
-
declare const
|
|
679
|
+
declare const fExportTableToExcel: ({ tableId, fileName }: IfExportTableToExcel) => Promise<boolean>;
|
|
690
680
|
|
|
691
|
-
export { FAccordion, FAlert, FArrowIcon, FButton, FButtonFile, FCheckIcon, FCheckbox, FCloseIcon, FContainer, FCopyAddIcon, FDialog, FDialogBody, FDialogFooter, FDialogHeader, FDownloadIcon, FDropdown, FDropdownItem,
|
|
681
|
+
export { FAccordion, FAlert, FArrowIcon, FButton, FButtonFile, FCheckIcon, FCheckbox, FCloseIcon, FContainer, FCopyAddIcon, FDialog, FDialogBody, FDialogFooter, FDialogHeader, FDownloadIcon, FDropdown, FDropdownItem, FFile, FFilterIcon, FFullDateField, FGrid, FInputFileForm, FListIcon, FLoadIcon, FNative, FOpenImgFull, FPagination, FPaper, FPenIcon, FPlusIcon, FPreloader, FProgress, FRadioButton, FSearchBox, FSelect, FSelectItem, FSelectSearchDb, FStack, FTab, FTable, FTableBody, FTableDataCell, FTableFooter, FTableHead, FTableHeaderCell, FTableRow, FTabs, FTextArea, FTextField, FTimeline, FTimelineCard, FTrashIcon, FUnlinkIcon, fAlert, fConfirm, fExportTableToExcel, fPrompt };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fui-material",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.83",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"react-dom": "^18.2.0",
|
|
15
15
|
"react-scripts": "5.0.1",
|
|
16
16
|
"typescript": "^4.9.3",
|
|
17
|
-
"
|
|
17
|
+
"xlsx": "^0.18.5"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
20
|
"build": "rollup -c",
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import './FExportTableToExcel.css';
|
|
3
|
-
export interface IFExportTableToExcel {
|
|
4
|
-
label: string;
|
|
5
|
-
variant?: 'contained' | 'default';
|
|
6
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
7
|
-
size?: 'btn-lg' | 'btn-sm' | 'btn-xs';
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
10
|
-
st?: React.CSSProperties;
|
|
11
|
-
className?: string;
|
|
12
|
-
fullWidth?: boolean;
|
|
13
|
-
id?: string;
|
|
14
|
-
idTable: string;
|
|
15
|
-
fileName: string;
|
|
16
|
-
}
|
|
17
|
-
declare const FExportTableToExcel: ({ variant, color, size, disabled, onClick, st, className, fullWidth, id, idTable, fileName, label, }: IFExportTableToExcel) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export default FExportTableToExcel;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./FExportTableToExcel";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import './FExportTableToExcel.css';
|
|
3
|
-
export interface IFExportTableToExcel {
|
|
4
|
-
label: string;
|
|
5
|
-
variant?: 'contained' | 'default';
|
|
6
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
7
|
-
size?: 'btn-lg' | 'btn-sm' | 'btn-xs';
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
10
|
-
st?: React.CSSProperties;
|
|
11
|
-
className?: string;
|
|
12
|
-
fullWidth?: boolean;
|
|
13
|
-
id?: string;
|
|
14
|
-
idTable: string;
|
|
15
|
-
fileName: string;
|
|
16
|
-
}
|
|
17
|
-
declare const FExportTableToExcel: ({ variant, color, size, disabled, onClick, st, className, fullWidth, id, idTable, fileName, label, }: IFExportTableToExcel) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export default FExportTableToExcel;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as FExportTableToExcel } from "./FExportTableToExcel";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface IfAlert {
|
|
2
|
-
title?: string;
|
|
3
|
-
body: string;
|
|
4
|
-
variant: 'info' | 'error' | 'success' | 'warning';
|
|
5
|
-
}
|
|
6
|
-
export interface IfConfirm {
|
|
7
|
-
title?: string;
|
|
8
|
-
body: string;
|
|
9
|
-
}
|
|
10
|
-
export interface IfPrompt {
|
|
11
|
-
title?: string;
|
|
12
|
-
body?: string;
|
|
13
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface IFArrowIcon {
|
|
3
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
4
|
-
size?: number;
|
|
5
|
-
st?: React.CSSProperties;
|
|
6
|
-
direction?: 'up' | 'down' | 'left' | 'right';
|
|
7
|
-
handleClick?: () => void;
|
|
8
|
-
id?: string;
|
|
9
|
-
className?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface IFCheckIcon {
|
|
12
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
13
|
-
size?: number;
|
|
14
|
-
st?: React.CSSProperties;
|
|
15
|
-
id?: string;
|
|
16
|
-
className?: string;
|
|
17
|
-
handleClick?: () => void;
|
|
18
|
-
}
|
|
19
|
-
export interface IFCloseIcon {
|
|
20
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
21
|
-
size?: number;
|
|
22
|
-
st?: React.CSSProperties;
|
|
23
|
-
id?: string;
|
|
24
|
-
className?: string;
|
|
25
|
-
handleClose?: () => void;
|
|
26
|
-
}
|
|
27
|
-
export interface IFCopyAddIcon {
|
|
28
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
29
|
-
size?: number;
|
|
30
|
-
st?: React.CSSProperties;
|
|
31
|
-
id?: string;
|
|
32
|
-
className?: string;
|
|
33
|
-
handleClick?: () => void;
|
|
34
|
-
}
|
|
35
|
-
export interface IFDownloadIcon {
|
|
36
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
37
|
-
size?: number;
|
|
38
|
-
st?: React.CSSProperties;
|
|
39
|
-
id?: string;
|
|
40
|
-
className?: string;
|
|
41
|
-
handleClick?: () => void;
|
|
42
|
-
}
|
|
43
|
-
export interface IFFilterIcon {
|
|
44
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
45
|
-
size?: number;
|
|
46
|
-
st?: React.CSSProperties;
|
|
47
|
-
id?: string;
|
|
48
|
-
className?: string;
|
|
49
|
-
handleClick?: () => void;
|
|
50
|
-
}
|
|
51
|
-
export interface IFListIcon {
|
|
52
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
53
|
-
size?: number;
|
|
54
|
-
st?: React.CSSProperties;
|
|
55
|
-
id?: string;
|
|
56
|
-
className?: string;
|
|
57
|
-
handleClick?: () => void;
|
|
58
|
-
}
|
|
59
|
-
export interface IFLoadIcon {
|
|
60
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
61
|
-
size?: number;
|
|
62
|
-
st?: React.CSSProperties;
|
|
63
|
-
id?: string;
|
|
64
|
-
className?: string;
|
|
65
|
-
handleClick?: () => void;
|
|
66
|
-
}
|
|
67
|
-
export interface IFPenIcon {
|
|
68
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
69
|
-
size?: number;
|
|
70
|
-
st?: React.CSSProperties;
|
|
71
|
-
id?: string;
|
|
72
|
-
className?: string;
|
|
73
|
-
handleClick?: () => void;
|
|
74
|
-
}
|
|
75
|
-
export interface IFPlusIcon {
|
|
76
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
77
|
-
size?: number;
|
|
78
|
-
st?: React.CSSProperties;
|
|
79
|
-
id?: string;
|
|
80
|
-
className?: string;
|
|
81
|
-
handleClick?: () => void;
|
|
82
|
-
}
|
|
83
|
-
export interface IFTrashIcon {
|
|
84
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
85
|
-
size?: number;
|
|
86
|
-
st?: React.CSSProperties;
|
|
87
|
-
id?: string;
|
|
88
|
-
className?: string;
|
|
89
|
-
handleClick?: () => void;
|
|
90
|
-
}
|
|
91
|
-
export interface IFUnlinkIcon {
|
|
92
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
93
|
-
size?: number;
|
|
94
|
-
st?: React.CSSProperties;
|
|
95
|
-
id?: string;
|
|
96
|
-
className?: string;
|
|
97
|
-
handleClick?: () => void;
|
|
98
|
-
}
|
|
@@ -1,450 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface IFDialog {
|
|
3
|
-
openAndClose: boolean;
|
|
4
|
-
id?: string;
|
|
5
|
-
className?: string;
|
|
6
|
-
st?: React.CSSProperties;
|
|
7
|
-
children?: React.ReactChild | React.ReactNode;
|
|
8
|
-
hide?: boolean;
|
|
9
|
-
closeButtonBackPage?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
10
|
-
width?: 'xs' | 'md' | 'lg' | 'xxl' | 'adaptive';
|
|
11
|
-
}
|
|
12
|
-
export interface IFDialogBody {
|
|
13
|
-
st?: React.CSSProperties;
|
|
14
|
-
children?: React.ReactChild | React.ReactNode;
|
|
15
|
-
scroll?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface IFDialogFooter {
|
|
18
|
-
children?: React.ReactChild | React.ReactNode;
|
|
19
|
-
}
|
|
20
|
-
export interface IFDialogHeader {
|
|
21
|
-
title?: string;
|
|
22
|
-
handleClose?: () => void;
|
|
23
|
-
}
|
|
24
|
-
export interface IFDropdown {
|
|
25
|
-
label?: React.ReactChild | React.ReactNode;
|
|
26
|
-
children?: React.ReactChild | React.ReactNode;
|
|
27
|
-
variant?: 'contained' | 'default';
|
|
28
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
29
|
-
size?: 'btn-lg' | 'btn-sm' | 'btn-xs';
|
|
30
|
-
disabled?: boolean;
|
|
31
|
-
st?: React.CSSProperties;
|
|
32
|
-
className?: string;
|
|
33
|
-
id?: string;
|
|
34
|
-
}
|
|
35
|
-
export interface IFDropdownItem {
|
|
36
|
-
disabled?: boolean;
|
|
37
|
-
st?: React.CSSProperties;
|
|
38
|
-
className?: string;
|
|
39
|
-
id?: string;
|
|
40
|
-
children?: React.ReactChild | React.ReactNode;
|
|
41
|
-
onClick?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
42
|
-
}
|
|
43
|
-
export interface IFAccordion {
|
|
44
|
-
children?: React.ReactChild | React.ReactNode;
|
|
45
|
-
variant?: 'info' | 'alert' | 'warning';
|
|
46
|
-
title?: string;
|
|
47
|
-
id?: string;
|
|
48
|
-
className?: string;
|
|
49
|
-
st?: React.CSSProperties;
|
|
50
|
-
defaultOpen?: boolean;
|
|
51
|
-
}
|
|
52
|
-
export interface IFAlert {
|
|
53
|
-
title?: string;
|
|
54
|
-
body?: string;
|
|
55
|
-
variant: 'info' | 'error' | 'success' | 'warning';
|
|
56
|
-
onClose?: (e: boolean) => void;
|
|
57
|
-
st?: React.CSSProperties | undefined;
|
|
58
|
-
open: boolean;
|
|
59
|
-
vertical?: 'top' | 'bottom' | 'center';
|
|
60
|
-
horizontal?: 'left' | 'center' | 'right';
|
|
61
|
-
buttonClose?: boolean;
|
|
62
|
-
className?: string;
|
|
63
|
-
displayTime?: number;
|
|
64
|
-
size?: string;
|
|
65
|
-
}
|
|
66
|
-
export interface IFButton {
|
|
67
|
-
children?: React.ReactChild | React.ReactNode;
|
|
68
|
-
variant?: 'contained' | 'default';
|
|
69
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
70
|
-
size?: 'btn-lg' | 'btn-sm' | 'btn-xs';
|
|
71
|
-
disabled?: boolean;
|
|
72
|
-
onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
73
|
-
st?: React.CSSProperties;
|
|
74
|
-
className?: string;
|
|
75
|
-
fullWidth?: boolean;
|
|
76
|
-
id?: string;
|
|
77
|
-
type?: "button" | "submit" | "reset" | undefined;
|
|
78
|
-
}
|
|
79
|
-
export interface IFButtonFile {
|
|
80
|
-
children?: React.ReactChild | React.ReactNode;
|
|
81
|
-
variant?: 'contained' | 'default';
|
|
82
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
83
|
-
size?: 'btn-lg' | 'btn-sm' | 'btn-xs';
|
|
84
|
-
disabled?: boolean;
|
|
85
|
-
st?: React.CSSProperties;
|
|
86
|
-
className?: string;
|
|
87
|
-
fullWidth?: boolean;
|
|
88
|
-
id?: string;
|
|
89
|
-
onChange: (file: FileList | null) => void;
|
|
90
|
-
multiple?: boolean;
|
|
91
|
-
maxCount?: number;
|
|
92
|
-
accept?: string;
|
|
93
|
-
spacing?: 0 | 0.5 | 1 | 2 | 3 | 4 | 8 | 12 | undefined;
|
|
94
|
-
direction?: "row" | "row-reverse" | "column" | "column-reverse" | undefined;
|
|
95
|
-
required?: boolean;
|
|
96
|
-
}
|
|
97
|
-
export interface IFCheckbox {
|
|
98
|
-
label?: React.ReactChild | React.ReactNode;
|
|
99
|
-
onChange: React.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
100
|
-
defaultChecked?: boolean | undefined;
|
|
101
|
-
className?: string;
|
|
102
|
-
id?: string;
|
|
103
|
-
st?: React.CSSProperties | undefined;
|
|
104
|
-
checked?: boolean | undefined;
|
|
105
|
-
disabled?: boolean;
|
|
106
|
-
}
|
|
107
|
-
export interface IFContainer {
|
|
108
|
-
maxWidth?: 'container-xs' | 'container-sm' | 'container-md' | 'container-lg' | 'container-xl' | 'container-xxl' | 'container-fluid';
|
|
109
|
-
children?: React.ReactChild | React.ReactNode;
|
|
110
|
-
className?: string;
|
|
111
|
-
st?: React.CSSProperties;
|
|
112
|
-
id?: string;
|
|
113
|
-
}
|
|
114
|
-
export interface IFFile {
|
|
115
|
-
id?: string;
|
|
116
|
-
className?: string;
|
|
117
|
-
st?: React.CSSProperties;
|
|
118
|
-
handleDelete?: () => void;
|
|
119
|
-
name: string;
|
|
120
|
-
}
|
|
121
|
-
export interface IFFullDateField {
|
|
122
|
-
label?: string;
|
|
123
|
-
st?: React.CSSProperties;
|
|
124
|
-
value?: string | number | undefined | null;
|
|
125
|
-
onChange?: React.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
126
|
-
fullWidth?: boolean;
|
|
127
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
128
|
-
disabled?: boolean;
|
|
129
|
-
readOnly?: boolean;
|
|
130
|
-
id?: string;
|
|
131
|
-
className?: string;
|
|
132
|
-
onkeydown?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
133
|
-
min?: string | undefined;
|
|
134
|
-
max?: string | undefined;
|
|
135
|
-
load?: boolean;
|
|
136
|
-
required?: boolean;
|
|
137
|
-
errText?: string[];
|
|
138
|
-
helpText?: string;
|
|
139
|
-
onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
140
|
-
onFocus?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
141
|
-
}
|
|
142
|
-
export interface IFGrid {
|
|
143
|
-
children?: React.ReactChild | React.ReactNode;
|
|
144
|
-
className?: string;
|
|
145
|
-
st?: React.CSSProperties;
|
|
146
|
-
id?: string;
|
|
147
|
-
obj?: 'container' | 'item';
|
|
148
|
-
xs?: number;
|
|
149
|
-
sm?: number;
|
|
150
|
-
md?: number;
|
|
151
|
-
lg?: number;
|
|
152
|
-
xl?: number;
|
|
153
|
-
xxl?: number;
|
|
154
|
-
colAuto?: 'col-sm-auto' | 'col-md-auto' | 'col-lg-auto' | 'col-xl-auto' | 'col-xxl-auto';
|
|
155
|
-
}
|
|
156
|
-
export interface IFInputFileForm {
|
|
157
|
-
id?: string;
|
|
158
|
-
className?: string;
|
|
159
|
-
st?: React.CSSProperties;
|
|
160
|
-
dataMaxSize?: {
|
|
161
|
-
dimension: 'МБ' | 'КБ';
|
|
162
|
-
size: number;
|
|
163
|
-
};
|
|
164
|
-
name?: string;
|
|
165
|
-
accept?: string;
|
|
166
|
-
multiple?: boolean;
|
|
167
|
-
onChange: (e: FileList) => void;
|
|
168
|
-
disabled?: boolean;
|
|
169
|
-
deleteFile?: boolean;
|
|
170
|
-
title?: string;
|
|
171
|
-
required?: boolean;
|
|
172
|
-
}
|
|
173
|
-
export interface IFNative {
|
|
174
|
-
label: string;
|
|
175
|
-
id?: string;
|
|
176
|
-
className?: string;
|
|
177
|
-
st?: React.CSSProperties;
|
|
178
|
-
children?: React.ReactChild | React.ReactNode;
|
|
179
|
-
value?: string[] | number[];
|
|
180
|
-
singleChoice?: (element: string[]) => void;
|
|
181
|
-
multipleChoice?: (element: string[]) => void;
|
|
182
|
-
disabled?: boolean;
|
|
183
|
-
size?: number;
|
|
184
|
-
overflowX?: boolean;
|
|
185
|
-
width?: number | 'auto' | 'fit-content' | 'inherit' | 'initial' | 'max-content' | 'min-content' | 'revert' | 'unset' | '-webkit-fill-available';
|
|
186
|
-
fullWidth?: boolean;
|
|
187
|
-
}
|
|
188
|
-
export interface IFOpenImgFull {
|
|
189
|
-
id?: string;
|
|
190
|
-
className?: string;
|
|
191
|
-
st?: React.CSSProperties;
|
|
192
|
-
imagesUrl: string[];
|
|
193
|
-
selectedImg: number;
|
|
194
|
-
handleClose?: () => void;
|
|
195
|
-
setSelectedImg: (number: number) => void;
|
|
196
|
-
openAndClose: boolean;
|
|
197
|
-
}
|
|
198
|
-
export interface IFPagination {
|
|
199
|
-
currentPage: number;
|
|
200
|
-
totalCount: number;
|
|
201
|
-
pageSize: number;
|
|
202
|
-
onPageChange: (page: number | string | number) => void;
|
|
203
|
-
id?: string;
|
|
204
|
-
className?: string;
|
|
205
|
-
st?: React.CSSProperties | undefined;
|
|
206
|
-
siblingCount: 0 | 1 | 2;
|
|
207
|
-
}
|
|
208
|
-
export interface IFPaper {
|
|
209
|
-
label?: string;
|
|
210
|
-
children?: React.ReactChild | React.ReactNode;
|
|
211
|
-
st?: React.CSSProperties;
|
|
212
|
-
fontSizeLabel?: string;
|
|
213
|
-
fontSizeBody?: string;
|
|
214
|
-
id?: string;
|
|
215
|
-
className?: string;
|
|
216
|
-
onAnimationEnd?: () => void;
|
|
217
|
-
animated?: {
|
|
218
|
-
name: string;
|
|
219
|
-
value: string;
|
|
220
|
-
};
|
|
221
|
-
}
|
|
222
|
-
export interface IFPreloader {
|
|
223
|
-
st?: React.CSSProperties;
|
|
224
|
-
backgroundColor?: string;
|
|
225
|
-
children?: React.ReactChild | React.ReactNode;
|
|
226
|
-
open: boolean;
|
|
227
|
-
}
|
|
228
|
-
export interface IFProgress {
|
|
229
|
-
st?: React.CSSProperties;
|
|
230
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
231
|
-
}
|
|
232
|
-
export interface IFRadioButton {
|
|
233
|
-
label?: React.ReactChild | React.ReactNode;
|
|
234
|
-
onClick: React.MouseEventHandler<HTMLInputElement> | undefined;
|
|
235
|
-
className?: string;
|
|
236
|
-
id?: string;
|
|
237
|
-
st?: React.CSSProperties | undefined;
|
|
238
|
-
checked?: boolean | undefined;
|
|
239
|
-
disabled?: boolean;
|
|
240
|
-
}
|
|
241
|
-
export interface IFSearchBox {
|
|
242
|
-
label?: string;
|
|
243
|
-
st?: React.CSSProperties;
|
|
244
|
-
value?: string | number | readonly string[] | undefined;
|
|
245
|
-
onChange?: React.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
246
|
-
type?: 'text' | 'number' | 'email' | 'tel' | 'password';
|
|
247
|
-
onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
248
|
-
onFocus?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
249
|
-
fullWidth?: boolean;
|
|
250
|
-
disabled?: boolean;
|
|
251
|
-
readOnly?: boolean | undefined;
|
|
252
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
253
|
-
errText?: string[];
|
|
254
|
-
helpText?: string;
|
|
255
|
-
onInput?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
256
|
-
id?: string;
|
|
257
|
-
className?: string;
|
|
258
|
-
load?: boolean;
|
|
259
|
-
min?: number;
|
|
260
|
-
max?: number;
|
|
261
|
-
placeholder?: string | undefined;
|
|
262
|
-
children?: React.ReactChild | React.ReactNode;
|
|
263
|
-
variant?: 'contained' | 'default';
|
|
264
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
265
|
-
onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
266
|
-
}
|
|
267
|
-
export interface IFSelectSearchDb {
|
|
268
|
-
fetchingFunc: (text: string) => Promise<any[]>;
|
|
269
|
-
selectedElement: (e: any | undefined) => void;
|
|
270
|
-
selectItem: any;
|
|
271
|
-
label?: string;
|
|
272
|
-
st?: React.CSSProperties;
|
|
273
|
-
id?: string;
|
|
274
|
-
fullWidth?: boolean;
|
|
275
|
-
className?: string;
|
|
276
|
-
disabled?: boolean;
|
|
277
|
-
readOnly?: boolean;
|
|
278
|
-
required?: boolean;
|
|
279
|
-
errText?: string[];
|
|
280
|
-
helpText?: string;
|
|
281
|
-
onFocus?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
282
|
-
onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
283
|
-
minLengthText?: number;
|
|
284
|
-
}
|
|
285
|
-
export interface IFStack {
|
|
286
|
-
direction?: 'row' | "row-reverse" | 'column' | "column-reverse";
|
|
287
|
-
alignItems?: "flex-start" | "center" | "flex-end" | "stretch" | "baseline";
|
|
288
|
-
justifyContent?: "flex-start" | "center" | "flex-end" | "space-between" | "space-around" | "space-evenly";
|
|
289
|
-
spacing?: number;
|
|
290
|
-
children?: React.ReactChild | React.ReactNode;
|
|
291
|
-
className?: string;
|
|
292
|
-
st?: React.CSSProperties;
|
|
293
|
-
id?: string;
|
|
294
|
-
}
|
|
295
|
-
export interface IFTextArea {
|
|
296
|
-
label?: string;
|
|
297
|
-
st?: React.CSSProperties;
|
|
298
|
-
value?: string | undefined;
|
|
299
|
-
cols?: number;
|
|
300
|
-
rows?: number;
|
|
301
|
-
placeholder?: string;
|
|
302
|
-
readOnly?: boolean;
|
|
303
|
-
disabled?: boolean;
|
|
304
|
-
autoComplete?: boolean;
|
|
305
|
-
className?: string;
|
|
306
|
-
id?: string;
|
|
307
|
-
fullWidth?: boolean;
|
|
308
|
-
onChange?: React.ChangeEventHandler<HTMLTextAreaElement> | undefined;
|
|
309
|
-
onClick?: React.MouseEventHandler<HTMLTextAreaElement> | undefined;
|
|
310
|
-
onFocus?: React.FocusEventHandler<HTMLTextAreaElement> | undefined;
|
|
311
|
-
errText?: string[];
|
|
312
|
-
helpText?: string;
|
|
313
|
-
load?: boolean;
|
|
314
|
-
required?: boolean;
|
|
315
|
-
}
|
|
316
|
-
export interface IFTextField {
|
|
317
|
-
label?: string;
|
|
318
|
-
st?: React.CSSProperties;
|
|
319
|
-
value?: string | number | readonly string[] | undefined | null;
|
|
320
|
-
onChange?: React.ChangeEventHandler<HTMLInputElement> | undefined;
|
|
321
|
-
type?: 'text' | 'number' | 'email' | 'tel' | 'password';
|
|
322
|
-
onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
323
|
-
onFocus?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
324
|
-
fullWidth?: boolean;
|
|
325
|
-
disabled?: boolean;
|
|
326
|
-
readOnly?: boolean | undefined;
|
|
327
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
328
|
-
errText?: string[];
|
|
329
|
-
helpText?: string;
|
|
330
|
-
onInput?: React.FormEventHandler<HTMLInputElement> | undefined;
|
|
331
|
-
id?: string;
|
|
332
|
-
className?: string;
|
|
333
|
-
load?: boolean;
|
|
334
|
-
required?: boolean;
|
|
335
|
-
min?: number;
|
|
336
|
-
max?: number;
|
|
337
|
-
placeholder?: string | undefined;
|
|
338
|
-
}
|
|
339
|
-
export interface IFTimeline {
|
|
340
|
-
children?: React.ReactChild | React.ReactNode;
|
|
341
|
-
st?: React.CSSProperties;
|
|
342
|
-
id?: string;
|
|
343
|
-
className?: string;
|
|
344
|
-
}
|
|
345
|
-
export interface IFTimelineCard {
|
|
346
|
-
children?: React.ReactChild | React.ReactNode;
|
|
347
|
-
st?: React.CSSProperties;
|
|
348
|
-
title?: string;
|
|
349
|
-
id?: string;
|
|
350
|
-
className?: string;
|
|
351
|
-
}
|
|
352
|
-
export interface IFSelect {
|
|
353
|
-
label?: string;
|
|
354
|
-
st?: React.CSSProperties;
|
|
355
|
-
onChange?: React.ChangeEventHandler<HTMLSelectElement> | undefined;
|
|
356
|
-
children?: React.ReactChild | React.ReactNode;
|
|
357
|
-
value?: string | number | readonly string[] | undefined;
|
|
358
|
-
multiple?: boolean | undefined;
|
|
359
|
-
size?: number | undefined;
|
|
360
|
-
fullWidth?: boolean;
|
|
361
|
-
disabled?: boolean;
|
|
362
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
363
|
-
id?: string;
|
|
364
|
-
className?: string;
|
|
365
|
-
load?: boolean;
|
|
366
|
-
required?: boolean;
|
|
367
|
-
errText?: string[];
|
|
368
|
-
helpText?: string;
|
|
369
|
-
}
|
|
370
|
-
export interface IFSelectItem {
|
|
371
|
-
st?: React.CSSProperties;
|
|
372
|
-
value?: string | number | readonly string[] | undefined;
|
|
373
|
-
children?: React.ReactChild | React.ReactNode;
|
|
374
|
-
disabled?: boolean;
|
|
375
|
-
onClick?: React.MouseEventHandler<HTMLOptionElement> | undefined;
|
|
376
|
-
selected?: boolean;
|
|
377
|
-
className?: string;
|
|
378
|
-
id?: string;
|
|
379
|
-
}
|
|
380
|
-
export interface IFTable {
|
|
381
|
-
st?: React.CSSProperties;
|
|
382
|
-
children?: React.ReactChild | React.ReactNode;
|
|
383
|
-
id?: string;
|
|
384
|
-
className?: string;
|
|
385
|
-
onClick?: React.MouseEventHandler<HTMLTableElement> | undefined;
|
|
386
|
-
overflowX?: 'visible' | 'hidden' | 'clip' | 'scroll' | 'auto' | undefined;
|
|
387
|
-
}
|
|
388
|
-
export interface IFTableBody {
|
|
389
|
-
st?: React.CSSProperties;
|
|
390
|
-
children?: React.ReactChild | React.ReactNode;
|
|
391
|
-
onClick?: React.MouseEventHandler<HTMLTableSectionElement> | undefined;
|
|
392
|
-
id?: string;
|
|
393
|
-
className?: string;
|
|
394
|
-
}
|
|
395
|
-
export interface IFTableDataCell {
|
|
396
|
-
st?: React.CSSProperties;
|
|
397
|
-
row?: number | undefined;
|
|
398
|
-
col?: number | undefined;
|
|
399
|
-
children?: React.ReactChild | React.ReactNode;
|
|
400
|
-
onClick?: React.MouseEventHandler<HTMLTableHeaderCellElement> | undefined;
|
|
401
|
-
id?: string;
|
|
402
|
-
onBlur?: React.FocusEventHandler<HTMLTableDataCellElement> | undefined;
|
|
403
|
-
onFocus?: React.FocusEventHandler<HTMLTableDataCellElement> | undefined;
|
|
404
|
-
className?: string;
|
|
405
|
-
}
|
|
406
|
-
export interface IFTableFooter {
|
|
407
|
-
st?: React.CSSProperties;
|
|
408
|
-
children?: React.ReactChild | React.ReactNode;
|
|
409
|
-
onClick?: React.MouseEventHandler<HTMLTableSectionElement> | undefined;
|
|
410
|
-
id?: string;
|
|
411
|
-
className?: string;
|
|
412
|
-
}
|
|
413
|
-
export interface IFTableHead {
|
|
414
|
-
st?: React.CSSProperties;
|
|
415
|
-
children?: React.ReactChild | React.ReactNode;
|
|
416
|
-
onClick?: React.MouseEventHandler<HTMLTableSectionElement> | undefined;
|
|
417
|
-
id?: string;
|
|
418
|
-
className?: string;
|
|
419
|
-
}
|
|
420
|
-
export interface IFTableHeaderCell {
|
|
421
|
-
st?: React.CSSProperties;
|
|
422
|
-
row?: number | undefined;
|
|
423
|
-
col?: number | undefined;
|
|
424
|
-
children?: React.ReactChild | React.ReactNode;
|
|
425
|
-
onClick?: React.MouseEventHandler<HTMLTableHeaderCellElement> | undefined;
|
|
426
|
-
id?: string;
|
|
427
|
-
className?: string;
|
|
428
|
-
}
|
|
429
|
-
export interface IFTableRow {
|
|
430
|
-
st?: React.CSSProperties;
|
|
431
|
-
children?: React.ReactChild | React.ReactNode;
|
|
432
|
-
onClick?: React.MouseEventHandler<HTMLTableRowElement> | undefined;
|
|
433
|
-
id?: string;
|
|
434
|
-
className?: string;
|
|
435
|
-
}
|
|
436
|
-
export interface IFTabs {
|
|
437
|
-
children?: React.ReactChild | React.ReactNode;
|
|
438
|
-
id?: string;
|
|
439
|
-
className?: string;
|
|
440
|
-
st?: React.CSSProperties;
|
|
441
|
-
disabled?: boolean;
|
|
442
|
-
active?: boolean;
|
|
443
|
-
onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
444
|
-
}
|
|
445
|
-
export interface IFTabs {
|
|
446
|
-
children?: React.ReactChild | React.ReactNode;
|
|
447
|
-
id?: string;
|
|
448
|
-
className?: string;
|
|
449
|
-
st?: React.CSSProperties;
|
|
450
|
-
}
|