@inceptionbg/iui 1.0.22 → 1.0.23
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/index.d.ts +721 -0
- package/package.json +53 -53
- package/dist/types/components/Accordions/Accordions.d.ts +0 -10
- package/dist/types/components/Alert/Alert.d.ts +0 -11
- package/dist/types/components/Badge/NotificationBadge.d.ts +0 -9
- package/dist/types/components/Badge/PillBadge.d.ts +0 -8
- package/dist/types/components/Button/Button.d.ts +0 -18
- package/dist/types/components/Button/IconButton.d.ts +0 -12
- package/dist/types/components/Dialog/Dialog.d.ts +0 -39
- package/dist/types/components/Helper/Collapse.d.ts +0 -8
- package/dist/types/components/Helper/NoAccessInfo.d.ts +0 -7
- package/dist/types/components/Inputs/Checkbox.d.ts +0 -12
- package/dist/types/components/Inputs/DateInput/DateInput.d.ts +0 -16
- package/dist/types/components/Inputs/DateInput/components/DatePartInput.d.ts +0 -22
- package/dist/types/components/Inputs/InputWrapper.d.ts +0 -14
- package/dist/types/components/Inputs/LargeTextInput.d.ts +0 -17
- package/dist/types/components/Inputs/NumberInput.d.ts +0 -19
- package/dist/types/components/Inputs/PasswordInput.d.ts +0 -7
- package/dist/types/components/Inputs/Radio.d.ts +0 -12
- package/dist/types/components/Inputs/SearchInput.d.ts +0 -7
- package/dist/types/components/Inputs/Selects/Select.d.ts +0 -26
- package/dist/types/components/Inputs/Selects/SelectAsyncPaginate.d.ts +0 -26
- package/dist/types/components/Inputs/TextInput.d.ts +0 -21
- package/dist/types/components/Loader/Loader.d.ts +0 -16
- package/dist/types/components/Menu/Menu.d.ts +0 -13
- package/dist/types/components/Menu/MenuItem.d.ts +0 -15
- package/dist/types/components/Table/Components/Edit/ItemActionsMenu.d.ts +0 -15
- package/dist/types/components/Table/Components/Edit/ItemEditOptionsButtons.d.ts +0 -9
- package/dist/types/components/Table/Components/Edit/TableEditRow.d.ts +0 -3
- package/dist/types/components/Table/Components/FilterItem.d.ts +0 -7
- package/dist/types/components/Table/Components/Print/TablePrint.d.ts +0 -9
- package/dist/types/components/Table/Components/SetColumnsList.d.ts +0 -10
- package/dist/types/components/Table/Components/SetSortList.d.ts +0 -9
- package/dist/types/components/Table/Components/SetTableFilter.d.ts +0 -8
- package/dist/types/components/Table/Components/TableFooter.d.ts +0 -16
- package/dist/types/components/Table/Components/TableHeader.d.ts +0 -11
- package/dist/types/components/Table/Components/TableOptions.d.ts +0 -12
- package/dist/types/components/Table/Table.d.ts +0 -3
- package/dist/types/components/Tabs/Tabs.d.ts +0 -16
- package/dist/types/components/Tooltip/Tooltip.d.ts +0 -13
- package/dist/types/components/Wrappers/ConditionalWrapper.d.ts +0 -8
- package/dist/types/components/Wrappers/FormWrapper.d.ts +0 -22
- package/dist/types/components/Wrappers/FullPageWrapper.d.ts +0 -20
- package/dist/types/components/Wrappers/PageWrapper.d.ts +0 -13
- package/dist/types/icons/duotone/faArrowLeftFromLine.d.ts +0 -2
- package/dist/types/icons/duotone/faArrowRightToLine.d.ts +0 -2
- package/dist/types/icons/duotone/faBell.d.ts +0 -2
- package/dist/types/icons/duotone/faEye.d.ts +0 -2
- package/dist/types/icons/duotone/faEyeSlash.d.ts +0 -2
- package/dist/types/icons/duotone/faHouseHeart.d.ts +0 -2
- package/dist/types/icons/duotone/faPlusCircle.d.ts +0 -2
- package/dist/types/icons/duotone/faUser.d.ts +0 -2
- package/dist/types/icons/duotone/index.d.ts +0 -9
- package/dist/types/icons/light/faAngleDown.d.ts +0 -2
- package/dist/types/icons/light/faArrowDownShortWide.d.ts +0 -2
- package/dist/types/icons/light/faArrowDownWideShort.d.ts +0 -2
- package/dist/types/icons/light/faArrowsToLine.d.ts +0 -2
- package/dist/types/icons/light/faArrowsUpDown.d.ts +0 -2
- package/dist/types/icons/light/faBell.d.ts +0 -2
- package/dist/types/icons/light/faCheck.d.ts +0 -2
- package/dist/types/icons/light/faClockRotateLeft.d.ts +0 -2
- package/dist/types/icons/light/faEllipsisVertical.d.ts +0 -2
- package/dist/types/icons/light/faXmark.d.ts +0 -2
- package/dist/types/icons/light/index.d.ts +0 -11
- package/dist/types/icons/regular/faArrowRightArrowLeft.d.ts +0 -2
- package/dist/types/icons/regular/faCalendar.d.ts +0 -2
- package/dist/types/icons/regular/faCircleCheck.d.ts +0 -2
- package/dist/types/icons/regular/faCircleExclamation.d.ts +0 -2
- package/dist/types/icons/regular/faCircleInfo.d.ts +0 -2
- package/dist/types/icons/regular/faFileArrowDown.d.ts +0 -2
- package/dist/types/icons/regular/faFilterCircleXmark.d.ts +0 -2
- package/dist/types/icons/regular/faTriangleExclamation.d.ts +0 -2
- package/dist/types/icons/solid/faAngleLeft.d.ts +0 -2
- package/dist/types/icons/solid/faAngleRight.d.ts +0 -2
- package/dist/types/icons/solid/faArrowDownWideShort.d.ts +0 -2
- package/dist/types/icons/solid/faArrowLeft.d.ts +0 -2
- package/dist/types/icons/solid/faCaretDown.d.ts +0 -2
- package/dist/types/icons/solid/faEllipsisVertical.d.ts +0 -2
- package/dist/types/icons/solid/faFilter.d.ts +0 -2
- package/dist/types/icons/solid/faFloppyDisk.d.ts +0 -2
- package/dist/types/icons/solid/faGripDotsVertical.d.ts +0 -2
- package/dist/types/icons/solid/faListUl.d.ts +0 -2
- package/dist/types/icons/solid/faMagnifyingGlass.d.ts +0 -2
- package/dist/types/icons/solid/faPrint.d.ts +0 -2
- package/dist/types/icons/solid/faRotateRight.d.ts +0 -2
- package/dist/types/icons/solid/faXmark.d.ts +0 -2
- package/dist/types/index.d.ts +0 -59
- package/dist/types/types/IBasic.d.ts +0 -25
- package/dist/types/types/IError.d.ts +0 -4
- package/dist/types/types/IHeaderAction.d.ts +0 -11
- package/dist/types/types/ISelect.d.ts +0 -5
- package/dist/types/types/ISidebar.d.ts +0 -27
- package/dist/types/types/ITab.d.ts +0 -9
- package/dist/types/types/ITable.d.ts +0 -161
- package/dist/types/types/IToken.d.ts +0 -9
- package/dist/types/utils/DateUtils.d.ts +0 -10
- package/dist/types/utils/InputPatternValidation.d.ts +0 -9
- package/dist/types/utils/LocalStorageHelper.d.ts +0 -10
- package/dist/types/utils/NumberUtils.d.ts +0 -2
- package/dist/types/utils/ObjectUtils.d.ts +0 -9
- package/dist/types/utils/StringUtils.d.ts +0 -1
- package/dist/types/utils/Toasts.d.ts +0 -2
- package/dist/types/utils/UrlUtils.d.ts +0 -3
- package/dist/types/utils/icons.d.ts +0 -6
package/package.json
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@inceptionbg/iui",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "UI components, elements & utils for Inception ecosystem",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"files": [
|
|
7
|
-
"dist"
|
|
8
|
-
],
|
|
9
|
-
"main": "dist/index.js",
|
|
10
|
-
"types": "dist/index.d.ts",
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "rollup -c",
|
|
13
|
-
"release": "npm version patch && npm run build && npm publish"
|
|
14
|
-
},
|
|
15
|
-
"author": "Aleksandar Sadzak",
|
|
16
|
-
"license": "ISC",
|
|
17
|
-
"dependencies": {
|
|
18
|
-
"@fortawesome/fontawesome-svg-core": "^6.4.0",
|
|
19
|
-
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
20
|
-
"clsx": "^1.2.1",
|
|
21
|
-
"moment": "^2.29.4",
|
|
22
|
-
"react-beautiful-dnd": "^13.1.1",
|
|
23
|
-
"react-calendar": "^4.3.0",
|
|
24
|
-
"react-select": "^5.7.3",
|
|
25
|
-
"react-select-async-paginate": "^0.7.3",
|
|
26
|
-
"react-toastify": "^9.1.3",
|
|
27
|
-
"uuid": "^9.0.0"
|
|
28
|
-
},
|
|
29
|
-
"devDependencies": {
|
|
30
|
-
"@rollup/plugin-commonjs": "^25.0.2",
|
|
31
|
-
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
32
|
-
"@rollup/plugin-terser": "^0.4.3",
|
|
33
|
-
"@rollup/plugin-typescript": "^11.1.2",
|
|
34
|
-
"@types/react-beautiful-dnd": "^13.1.4",
|
|
35
|
-
"@types/uuid": "^9.0.2",
|
|
36
|
-
"rollup": "^3.26.0",
|
|
37
|
-
"rollup-plugin-delete": "^2.0.0",
|
|
38
|
-
"rollup-plugin-dts": "^5.3.0",
|
|
39
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
40
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
41
|
-
"tslib": "^2.6.1"
|
|
42
|
-
},
|
|
43
|
-
"peerDependencies": {
|
|
44
|
-
"@types/react": "^18.2.14",
|
|
45
|
-
"@types/react-dom": "^18.2.6",
|
|
46
|
-
"@types/react-router-dom": "^5.3.3",
|
|
47
|
-
"react": "^18.2.0",
|
|
48
|
-
"react-dom": "^18.2.0",
|
|
49
|
-
"react-i18next": "^13.0.1",
|
|
50
|
-
"react-router-dom": "^6.14.1",
|
|
51
|
-
"sass": "^1.63.6"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@inceptionbg/iui",
|
|
3
|
+
"version": "1.0.23",
|
|
4
|
+
"description": "UI components, elements & utils for Inception ecosystem",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"main": "dist/index.js",
|
|
10
|
+
"types": "dist/index.d.ts",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "rollup -c",
|
|
13
|
+
"release": "npm version patch && npm run build && npm publish"
|
|
14
|
+
},
|
|
15
|
+
"author": "Aleksandar Sadzak",
|
|
16
|
+
"license": "ISC",
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@fortawesome/fontawesome-svg-core": "^6.4.0",
|
|
19
|
+
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
20
|
+
"clsx": "^1.2.1",
|
|
21
|
+
"moment": "^2.29.4",
|
|
22
|
+
"react-beautiful-dnd": "^13.1.1",
|
|
23
|
+
"react-calendar": "^4.3.0",
|
|
24
|
+
"react-select": "^5.7.3",
|
|
25
|
+
"react-select-async-paginate": "^0.7.3",
|
|
26
|
+
"react-toastify": "^9.1.3",
|
|
27
|
+
"uuid": "^9.0.0"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@rollup/plugin-commonjs": "^25.0.2",
|
|
31
|
+
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
32
|
+
"@rollup/plugin-terser": "^0.4.3",
|
|
33
|
+
"@rollup/plugin-typescript": "^11.1.2",
|
|
34
|
+
"@types/react-beautiful-dnd": "^13.1.4",
|
|
35
|
+
"@types/uuid": "^9.0.2",
|
|
36
|
+
"rollup": "^3.26.0",
|
|
37
|
+
"rollup-plugin-delete": "^2.0.0",
|
|
38
|
+
"rollup-plugin-dts": "^5.3.0",
|
|
39
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
40
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
41
|
+
"tslib": "^2.6.1"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"@types/react": "^18.2.14",
|
|
45
|
+
"@types/react-dom": "^18.2.6",
|
|
46
|
+
"@types/react-router-dom": "^5.3.3",
|
|
47
|
+
"react": "^18.2.0",
|
|
48
|
+
"react-dom": "^18.2.0",
|
|
49
|
+
"react-i18next": "^13.0.1",
|
|
50
|
+
"react-router-dom": "^6.14.1",
|
|
51
|
+
"sass": "^1.63.6"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
import './alert.scss';
|
|
3
|
-
interface Props {
|
|
4
|
-
text?: string;
|
|
5
|
-
severity: 'success' | 'info' | 'warning' | 'error';
|
|
6
|
-
fitContent?: boolean;
|
|
7
|
-
className?: string;
|
|
8
|
-
children?: ReactNode;
|
|
9
|
-
}
|
|
10
|
-
export declare const Alert: FC<Props>;
|
|
11
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface Props {
|
|
3
|
-
label: string;
|
|
4
|
-
color: 'success' | 'info' | 'warning' | 'error' | 'gray';
|
|
5
|
-
className?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const PillBadge: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes, MouseEventHandler } from 'react';
|
|
2
|
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
-
import './button.scss';
|
|
4
|
-
interface Props {
|
|
5
|
-
label: string;
|
|
6
|
-
icon?: IconDefinition;
|
|
7
|
-
iconEnd?: IconDefinition;
|
|
8
|
-
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
primary?: boolean;
|
|
11
|
-
outlined?: boolean;
|
|
12
|
-
active?: boolean;
|
|
13
|
-
className?: string;
|
|
14
|
-
size?: 'xs' | 's' | 'm' | 'l';
|
|
15
|
-
buttonProps?: ButtonHTMLAttributes<HTMLButtonElement>;
|
|
16
|
-
}
|
|
17
|
-
export declare const Button: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLButtonElement>>;
|
|
18
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes, MouseEventHandler } from 'react';
|
|
2
|
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
-
interface Props {
|
|
4
|
-
icon: IconDefinition;
|
|
5
|
-
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
className?: string;
|
|
8
|
-
active?: boolean;
|
|
9
|
-
buttonProps?: ButtonHTMLAttributes<HTMLButtonElement>;
|
|
10
|
-
}
|
|
11
|
-
export declare const IconButton: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLButtonElement>>;
|
|
12
|
-
export {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
2
|
-
import { FC, ReactNode } from 'react';
|
|
3
|
-
interface Props {
|
|
4
|
-
title?: string;
|
|
5
|
-
titleEl?: ReactNode;
|
|
6
|
-
desc?: string;
|
|
7
|
-
descEl?: ReactNode;
|
|
8
|
-
isOpen: boolean;
|
|
9
|
-
onClose: () => void;
|
|
10
|
-
isLoading?: boolean;
|
|
11
|
-
confirmButton?: {
|
|
12
|
-
label?: string;
|
|
13
|
-
icon?: IconDefinition;
|
|
14
|
-
onClick?: () => void;
|
|
15
|
-
onFormSubmit?: () => void;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
keepOpen?: boolean;
|
|
18
|
-
};
|
|
19
|
-
cancelButton?: {
|
|
20
|
-
label?: string;
|
|
21
|
-
icon?: IconDefinition;
|
|
22
|
-
onClick?: () => void;
|
|
23
|
-
};
|
|
24
|
-
additionalButton?: {
|
|
25
|
-
label: string;
|
|
26
|
-
icon?: IconDefinition;
|
|
27
|
-
onClick?: () => void;
|
|
28
|
-
disabled?: boolean;
|
|
29
|
-
};
|
|
30
|
-
noBackgroundClick?: boolean;
|
|
31
|
-
noOverflow?: boolean;
|
|
32
|
-
type?: 'info' | 'error';
|
|
33
|
-
size?: 'm' | 'l' | 'xl';
|
|
34
|
-
noPadding?: boolean;
|
|
35
|
-
className?: string;
|
|
36
|
-
children?: ReactNode;
|
|
37
|
-
}
|
|
38
|
-
export declare const Dialog: FC<Props>;
|
|
39
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
interface Props {
|
|
3
|
-
label?: string;
|
|
4
|
-
value?: boolean;
|
|
5
|
-
setValue: (checked: boolean) => void;
|
|
6
|
-
required?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
className?: string;
|
|
9
|
-
children?: ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export declare const Checkbox: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLLabelElement>>;
|
|
12
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import 'react-calendar/dist/Calendar.css';
|
|
3
|
-
interface Props {
|
|
4
|
-
label?: string;
|
|
5
|
-
date?: string;
|
|
6
|
-
setDate: (date: string) => void;
|
|
7
|
-
required?: boolean;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
autoFocus?: boolean;
|
|
10
|
-
helperText?: string;
|
|
11
|
-
error?: boolean;
|
|
12
|
-
className?: string;
|
|
13
|
-
calendarPlacementX?: 'left' | 'right';
|
|
14
|
-
}
|
|
15
|
-
export declare const DateInput: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
|
|
16
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface Props {
|
|
3
|
-
value: string;
|
|
4
|
-
setValue: (value: string) => void;
|
|
5
|
-
setDate: (value: string) => void;
|
|
6
|
-
values: {
|
|
7
|
-
day: string;
|
|
8
|
-
month: string;
|
|
9
|
-
year: string;
|
|
10
|
-
};
|
|
11
|
-
required?: boolean;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
autoFocus?: boolean;
|
|
14
|
-
min?: number;
|
|
15
|
-
max: number;
|
|
16
|
-
part: 'day' | 'month' | 'year';
|
|
17
|
-
previousInput?: HTMLInputElement | null;
|
|
18
|
-
nextInput?: HTMLInputElement | null;
|
|
19
|
-
setFocus: (value: boolean) => void;
|
|
20
|
-
}
|
|
21
|
-
export declare const DatePartInput: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
|
|
22
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
interface Props {
|
|
3
|
-
label?: string;
|
|
4
|
-
shrink?: boolean;
|
|
5
|
-
focus?: boolean;
|
|
6
|
-
required?: boolean;
|
|
7
|
-
className?: string;
|
|
8
|
-
minWidth?: number;
|
|
9
|
-
helperText?: string;
|
|
10
|
-
error?: boolean;
|
|
11
|
-
children: ReactNode;
|
|
12
|
-
}
|
|
13
|
-
export declare const InputWrapper: FC<Props>;
|
|
14
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { InputHTMLAttributes } from 'react';
|
|
2
|
-
interface Props {
|
|
3
|
-
label: string;
|
|
4
|
-
value?: string;
|
|
5
|
-
setValue: (value: string) => void;
|
|
6
|
-
required?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
autoFocus?: boolean;
|
|
9
|
-
rows?: number;
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
helperText?: string;
|
|
12
|
-
className?: string;
|
|
13
|
-
inputProps?: InputHTMLAttributes<HTMLTextAreaElement>;
|
|
14
|
-
error?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare const LargeTextInput: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
17
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { InputHTMLAttributes } from 'react';
|
|
2
|
-
interface Props {
|
|
3
|
-
label?: string;
|
|
4
|
-
value?: string | number;
|
|
5
|
-
setValue: (value: string) => void;
|
|
6
|
-
required?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
autoFocus?: boolean;
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
helperText?: string;
|
|
11
|
-
className?: string;
|
|
12
|
-
allowNegative?: boolean;
|
|
13
|
-
decimalPlaces?: number;
|
|
14
|
-
error?: boolean;
|
|
15
|
-
alignLeft?: boolean;
|
|
16
|
-
inputProps?: InputHTMLAttributes<HTMLInputElement>;
|
|
17
|
-
}
|
|
18
|
-
export declare const NumberInput: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLInputElement>>;
|
|
19
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
interface Props {
|
|
3
|
-
label?: string;
|
|
4
|
-
value: string | number | boolean;
|
|
5
|
-
selected: string | number | boolean;
|
|
6
|
-
setSelected: (selected: any) => void;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
className?: string;
|
|
9
|
-
children?: ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export declare const Radio: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { StylesConfig } from 'react-select';
|
|
3
|
-
import { ISelectData } from '../../../types/ISelect';
|
|
4
|
-
interface Props {
|
|
5
|
-
label?: string;
|
|
6
|
-
options: ISelectData[];
|
|
7
|
-
value?: ISelectData | null;
|
|
8
|
-
valuesMulti?: ISelectData[];
|
|
9
|
-
onChange: (value: any) => void;
|
|
10
|
-
required?: boolean;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
placeholder?: string;
|
|
13
|
-
helperText?: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
minWidth?: number;
|
|
16
|
-
menuWidth?: 'fit-content' | 'max-content' | number;
|
|
17
|
-
autoFocus?: boolean;
|
|
18
|
-
isClearable?: boolean;
|
|
19
|
-
isOpen?: boolean;
|
|
20
|
-
openDirection?: 'top' | 'auto' | 'bottom';
|
|
21
|
-
noOptionsMessage?: string;
|
|
22
|
-
error?: boolean;
|
|
23
|
-
}
|
|
24
|
-
export declare const createSelectStyles: (menuWidth?: 'fit-content' | 'max-content' | number) => StylesConfig;
|
|
25
|
-
export declare const Select: FC<Props>;
|
|
26
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ISelectData } from '../../../types/ISelect';
|
|
3
|
-
interface Props {
|
|
4
|
-
label?: string;
|
|
5
|
-
value?: ISelectData | null;
|
|
6
|
-
valuesMulti?: ISelectData[];
|
|
7
|
-
loadOptions: any;
|
|
8
|
-
refresh?: any[];
|
|
9
|
-
onChange: (value: any) => void;
|
|
10
|
-
required?: boolean;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
placeholder?: string;
|
|
13
|
-
helperText?: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
minWidth?: number;
|
|
16
|
-
menuWidth?: 'fit-content' | 'max-content' | number;
|
|
17
|
-
autoFocus?: boolean;
|
|
18
|
-
isMulti?: boolean;
|
|
19
|
-
isClearable?: boolean;
|
|
20
|
-
isOpen?: boolean;
|
|
21
|
-
openDirection?: 'top' | 'auto' | 'bottom';
|
|
22
|
-
noOptionsMessage?: string;
|
|
23
|
-
error?: boolean;
|
|
24
|
-
}
|
|
25
|
-
export declare const SelectAsyncPaginate: FC<Props>;
|
|
26
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
2
|
-
import { InputHTMLAttributes } from 'react';
|
|
3
|
-
export interface ITextInput {
|
|
4
|
-
label?: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
setValue: (value: string) => void;
|
|
7
|
-
required?: boolean;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
autoFocus?: boolean;
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
helperText?: string;
|
|
12
|
-
className?: string;
|
|
13
|
-
inputProps?: InputHTMLAttributes<HTMLInputElement>;
|
|
14
|
-
error?: boolean;
|
|
15
|
-
endButton?: {
|
|
16
|
-
icon: IconDefinition;
|
|
17
|
-
onClick: () => void;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
export declare const TextInput: import("react").ForwardRefExoticComponent<ITextInput & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
interface Props {
|
|
3
|
-
isLoading: boolean;
|
|
4
|
-
logo?: string;
|
|
5
|
-
fullWidth?: boolean;
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export declare const Loader: FC<Props>;
|
|
9
|
-
export declare const FullScreenLoader: FC<{
|
|
10
|
-
isLoading: boolean;
|
|
11
|
-
logo?: string;
|
|
12
|
-
}>;
|
|
13
|
-
export declare const LazyLoader: FC<{
|
|
14
|
-
logo?: string;
|
|
15
|
-
}>;
|
|
16
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode, RefObject } from 'react';
|
|
2
|
-
interface Props {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
onClose: () => void;
|
|
5
|
-
renderButton: (ref: RefObject<any>) => ReactNode;
|
|
6
|
-
placementX?: 'left' | 'right';
|
|
7
|
-
placementY?: 'bottom' | 'top' | 'auto';
|
|
8
|
-
size?: 's' | 'm' | 'l';
|
|
9
|
-
className?: string;
|
|
10
|
-
children?: ReactNode;
|
|
11
|
-
}
|
|
12
|
-
export declare const Menu: FC<Props>;
|
|
13
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IconDefinition, RotateProp } from '@fortawesome/fontawesome-svg-core';
|
|
2
|
-
import { FC, MouseEventHandler, ReactNode } from 'react';
|
|
3
|
-
interface Props {
|
|
4
|
-
label?: string;
|
|
5
|
-
icon?: IconDefinition;
|
|
6
|
-
iconRotation?: RotateProp;
|
|
7
|
-
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
8
|
-
to?: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
withDevider?: boolean;
|
|
11
|
-
className?: string;
|
|
12
|
-
children?: ReactNode;
|
|
13
|
-
}
|
|
14
|
-
export declare const MenuItem: FC<Props>;
|
|
15
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
interface Props {
|
|
3
|
-
item: any;
|
|
4
|
-
setSelectedItem?: (item: any) => void;
|
|
5
|
-
setItemToDeleteUuid?: (uuid: string) => void;
|
|
6
|
-
actions?: {
|
|
7
|
-
label: string;
|
|
8
|
-
onClick: (uuid: string) => void;
|
|
9
|
-
hidden?: boolean;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
}[];
|
|
12
|
-
t?: (e: string) => string;
|
|
13
|
-
}
|
|
14
|
-
export declare const ItemActionsMenu: FC<Props>;
|
|
15
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IPrintData, ITableColumn } from '../../../../types/ITable';
|
|
3
|
-
interface Props extends IPrintData {
|
|
4
|
-
isOpen: boolean;
|
|
5
|
-
onClose: () => void;
|
|
6
|
-
columns: ITableColumn[];
|
|
7
|
-
}
|
|
8
|
-
export declare const TablePrint: FC<Props>;
|
|
9
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ITableColumn } from '../../../types/ITable';
|
|
3
|
-
interface Props {
|
|
4
|
-
columns: ITableColumn[];
|
|
5
|
-
setColumns: (data: ITableColumn[]) => void;
|
|
6
|
-
isOpen: boolean;
|
|
7
|
-
onClose: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const SetColumnsList: FC<Props>;
|
|
10
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
2
|
-
import { FC, MouseEventHandler } from 'react';
|
|
3
|
-
interface Props {
|
|
4
|
-
limit: number;
|
|
5
|
-
offset: number;
|
|
6
|
-
setLimit: (limit: number) => void;
|
|
7
|
-
setOffset: (offset: number) => void;
|
|
8
|
-
totalRows: number;
|
|
9
|
-
footerAction?: {
|
|
10
|
-
icon?: IconDefinition;
|
|
11
|
-
onClick: MouseEventHandler<HTMLButtonElement>;
|
|
12
|
-
};
|
|
13
|
-
customLimit?: number[];
|
|
14
|
-
}
|
|
15
|
-
export declare const TableFooter: FC<Props>;
|
|
16
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ITableColumn } from '../../../types/ITable';
|
|
3
|
-
interface Props {
|
|
4
|
-
tableCols: ITableColumn[];
|
|
5
|
-
firstHeaderRow?: ITableColumn[];
|
|
6
|
-
secondHeaderRow?: ITableColumn[];
|
|
7
|
-
headerWrap?: boolean;
|
|
8
|
-
printTable?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const HeaderTable: FC<Props>;
|
|
11
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { ITableSortData, ITableColumn, ITableFilterData, IPrintData, ITableColumnsData } from '../../../types/ITable';
|
|
3
|
-
interface Props {
|
|
4
|
-
columns: ITableColumn[];
|
|
5
|
-
columnsData?: ITableColumnsData;
|
|
6
|
-
filterData?: ITableFilterData;
|
|
7
|
-
sortData?: ITableSortData;
|
|
8
|
-
printData?: IPrintData;
|
|
9
|
-
additionsalOptions?: ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export declare const TableOptions: FC<Props>;
|
|
12
|
-
export {};
|