@inceptionbg/iui 1.0.20 → 1.0.22

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 (105) hide show
  1. package/dist/index.js.map +1 -1
  2. package/dist/types/components/Accordions/Accordions.d.ts +10 -0
  3. package/dist/types/components/Alert/Alert.d.ts +11 -0
  4. package/dist/types/components/Badge/NotificationBadge.d.ts +9 -0
  5. package/dist/types/components/Badge/PillBadge.d.ts +8 -0
  6. package/dist/types/components/Button/Button.d.ts +18 -0
  7. package/dist/types/components/Button/IconButton.d.ts +12 -0
  8. package/dist/types/components/Dialog/Dialog.d.ts +39 -0
  9. package/dist/types/components/Helper/Collapse.d.ts +8 -0
  10. package/dist/types/components/Helper/NoAccessInfo.d.ts +7 -0
  11. package/dist/types/components/Inputs/Checkbox.d.ts +12 -0
  12. package/dist/types/components/Inputs/DateInput/DateInput.d.ts +16 -0
  13. package/dist/types/components/Inputs/DateInput/components/DatePartInput.d.ts +22 -0
  14. package/dist/types/components/Inputs/InputWrapper.d.ts +14 -0
  15. package/dist/types/components/Inputs/LargeTextInput.d.ts +17 -0
  16. package/dist/types/components/Inputs/NumberInput.d.ts +19 -0
  17. package/dist/types/components/Inputs/PasswordInput.d.ts +7 -0
  18. package/dist/types/components/Inputs/Radio.d.ts +12 -0
  19. package/dist/types/components/Inputs/SearchInput.d.ts +7 -0
  20. package/dist/types/components/Inputs/Selects/Select.d.ts +26 -0
  21. package/dist/types/components/Inputs/Selects/SelectAsyncPaginate.d.ts +26 -0
  22. package/dist/types/components/Inputs/TextInput.d.ts +21 -0
  23. package/dist/types/components/Loader/Loader.d.ts +16 -0
  24. package/dist/types/components/Menu/Menu.d.ts +13 -0
  25. package/dist/types/components/Menu/MenuItem.d.ts +15 -0
  26. package/dist/types/components/Table/Components/Edit/ItemActionsMenu.d.ts +15 -0
  27. package/dist/types/components/Table/Components/Edit/ItemEditOptionsButtons.d.ts +9 -0
  28. package/dist/types/components/Table/Components/Edit/TableEditRow.d.ts +3 -0
  29. package/dist/types/components/Table/Components/FilterItem.d.ts +7 -0
  30. package/dist/types/components/Table/Components/Print/TablePrint.d.ts +9 -0
  31. package/dist/types/components/Table/Components/SetColumnsList.d.ts +10 -0
  32. package/dist/types/components/Table/Components/SetSortList.d.ts +9 -0
  33. package/dist/types/components/Table/Components/SetTableFilter.d.ts +8 -0
  34. package/dist/types/components/Table/Components/TableFooter.d.ts +16 -0
  35. package/dist/types/components/Table/Components/TableHeader.d.ts +11 -0
  36. package/dist/types/components/Table/Components/TableOptions.d.ts +12 -0
  37. package/dist/types/components/Table/Table.d.ts +3 -0
  38. package/dist/types/components/Tabs/Tabs.d.ts +16 -0
  39. package/dist/types/components/Tooltip/Tooltip.d.ts +13 -0
  40. package/dist/types/components/Wrappers/ConditionalWrapper.d.ts +8 -0
  41. package/dist/types/components/Wrappers/FormWrapper.d.ts +22 -0
  42. package/dist/types/components/Wrappers/FullPageWrapper.d.ts +20 -0
  43. package/dist/types/components/Wrappers/PageWrapper.d.ts +13 -0
  44. package/dist/types/icons/duotone/faArrowLeftFromLine.d.ts +2 -0
  45. package/dist/types/icons/duotone/faArrowRightToLine.d.ts +2 -0
  46. package/dist/types/icons/duotone/faBell.d.ts +2 -0
  47. package/dist/types/icons/duotone/faEye.d.ts +2 -0
  48. package/dist/types/icons/duotone/faEyeSlash.d.ts +2 -0
  49. package/dist/types/icons/duotone/faHouseHeart.d.ts +2 -0
  50. package/dist/types/icons/duotone/faPlusCircle.d.ts +2 -0
  51. package/dist/types/icons/duotone/faUser.d.ts +2 -0
  52. package/dist/types/icons/duotone/index.d.ts +9 -0
  53. package/dist/types/icons/light/faAngleDown.d.ts +2 -0
  54. package/dist/types/icons/light/faArrowDownShortWide.d.ts +2 -0
  55. package/dist/types/icons/light/faArrowDownWideShort.d.ts +2 -0
  56. package/dist/types/icons/light/faArrowsToLine.d.ts +2 -0
  57. package/dist/types/icons/light/faArrowsUpDown.d.ts +2 -0
  58. package/dist/types/icons/light/faBell.d.ts +2 -0
  59. package/dist/types/icons/light/faCheck.d.ts +2 -0
  60. package/dist/types/icons/light/faClockRotateLeft.d.ts +2 -0
  61. package/dist/types/icons/light/faEllipsisVertical.d.ts +2 -0
  62. package/dist/types/icons/light/faXmark.d.ts +2 -0
  63. package/dist/types/icons/light/index.d.ts +11 -0
  64. package/dist/types/icons/regular/faArrowRightArrowLeft.d.ts +2 -0
  65. package/dist/types/icons/regular/faCalendar.d.ts +2 -0
  66. package/dist/types/icons/regular/faCircleCheck.d.ts +2 -0
  67. package/dist/types/icons/regular/faCircleExclamation.d.ts +2 -0
  68. package/dist/types/icons/regular/faCircleInfo.d.ts +2 -0
  69. package/dist/types/icons/regular/faFileArrowDown.d.ts +2 -0
  70. package/dist/types/icons/regular/faFilterCircleXmark.d.ts +2 -0
  71. package/dist/types/icons/regular/faTriangleExclamation.d.ts +2 -0
  72. package/dist/types/icons/solid/faAngleLeft.d.ts +2 -0
  73. package/dist/types/icons/solid/faAngleRight.d.ts +2 -0
  74. package/dist/types/icons/solid/faArrowDownWideShort.d.ts +2 -0
  75. package/dist/types/icons/solid/faArrowLeft.d.ts +2 -0
  76. package/dist/types/icons/solid/faCaretDown.d.ts +2 -0
  77. package/dist/types/icons/solid/faEllipsisVertical.d.ts +2 -0
  78. package/dist/types/icons/solid/faFilter.d.ts +2 -0
  79. package/dist/types/icons/solid/faFloppyDisk.d.ts +2 -0
  80. package/dist/types/icons/solid/faGripDotsVertical.d.ts +2 -0
  81. package/dist/types/icons/solid/faListUl.d.ts +2 -0
  82. package/dist/types/icons/solid/faMagnifyingGlass.d.ts +2 -0
  83. package/dist/types/icons/solid/faPrint.d.ts +2 -0
  84. package/dist/types/icons/solid/faRotateRight.d.ts +2 -0
  85. package/dist/types/icons/solid/faXmark.d.ts +2 -0
  86. package/dist/types/index.d.ts +59 -0
  87. package/dist/types/types/IBasic.d.ts +25 -0
  88. package/dist/types/types/IError.d.ts +4 -0
  89. package/dist/types/types/IHeaderAction.d.ts +11 -0
  90. package/dist/types/types/ISelect.d.ts +5 -0
  91. package/dist/types/types/ISidebar.d.ts +27 -0
  92. package/dist/types/types/ITab.d.ts +9 -0
  93. package/dist/types/types/ITable.d.ts +161 -0
  94. package/dist/types/types/IToken.d.ts +9 -0
  95. package/dist/types/utils/DateUtils.d.ts +10 -0
  96. package/dist/types/utils/InputPatternValidation.d.ts +9 -0
  97. package/dist/types/utils/LocalStorageHelper.d.ts +10 -0
  98. package/dist/types/utils/NumberUtils.d.ts +2 -0
  99. package/dist/types/utils/ObjectUtils.d.ts +9 -0
  100. package/dist/types/utils/StringUtils.d.ts +1 -0
  101. package/dist/types/utils/Toasts.d.ts +2 -0
  102. package/dist/types/utils/UrlUtils.d.ts +3 -0
  103. package/dist/types/utils/icons.d.ts +6 -0
  104. package/package.json +1 -1
  105. package/dist/index.d.ts +0 -721
@@ -0,0 +1,21 @@
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>>;
@@ -0,0 +1,16 @@
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 {};
@@ -0,0 +1,13 @@
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 {};
@@ -0,0 +1,15 @@
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 {};
@@ -0,0 +1,15 @@
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 {};
@@ -0,0 +1,9 @@
1
+ import { FC, RefObject } from 'react';
2
+ interface Props {
3
+ setData: (item: any) => void;
4
+ clearItem: () => void;
5
+ inputFocusRef?: RefObject<any>;
6
+ defaultDataValue?: any;
7
+ }
8
+ export declare const ItemEditOptionsButtons: FC<Props>;
9
+ export {};
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { ITableEditRow } from '../../../../types/ITable';
3
+ export declare const TableEditRow: FC<ITableEditRow>;
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ import { ITableFilterItem } from '../../../types/ITable';
3
+ interface Props {
4
+ item: ITableFilterItem;
5
+ }
6
+ export declare const FilterItem: FC<Props>;
7
+ export {};
@@ -0,0 +1,9 @@
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 {};
@@ -0,0 +1,10 @@
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 {};
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ import { ITableSort } from '../../../types/ITable';
3
+ interface Props {
4
+ sort: string;
5
+ setSort: (sort: string) => void;
6
+ sortOptions: ITableSort;
7
+ }
8
+ export declare const SetSortList: FC<Props>;
9
+ export {};
@@ -0,0 +1,8 @@
1
+ import { FC } from 'react';
2
+ import { ITableFilterData } from '../../../types/ITable';
3
+ interface Props extends ITableFilterData {
4
+ isOpen: boolean;
5
+ onClose: () => void;
6
+ }
7
+ export declare const SetTableFilter: FC<Props>;
8
+ export {};
@@ -0,0 +1,16 @@
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 {};
@@ -0,0 +1,11 @@
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 {};
@@ -0,0 +1,12 @@
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 {};
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { ITable } from '../../types/ITable';
3
+ export declare const Table: FC<ITable>;
@@ -0,0 +1,16 @@
1
+ import { FC } from 'react';
2
+ import { ITab } from '../../types/ITab';
3
+ interface Props {
4
+ tabs: ITab[];
5
+ initialValue?: string;
6
+ control?: {
7
+ value: string;
8
+ setValue: (value: string) => void;
9
+ };
10
+ onChange?: (value: string) => void;
11
+ noWrap?: boolean;
12
+ className?: string;
13
+ classNameContent?: string;
14
+ }
15
+ export declare const Tabs: FC<Props>;
16
+ export {};
@@ -0,0 +1,13 @@
1
+ import { FC, ReactElement } from 'react';
2
+ import './tooltip.scss';
3
+ type Position = 'left' | 'right' | 'top' | 'bottom';
4
+ interface Props {
5
+ label?: string;
6
+ position?: Position;
7
+ disabled?: boolean;
8
+ singleLine?: boolean;
9
+ className?: string;
10
+ children: ReactElement;
11
+ }
12
+ export declare const Tooltip: FC<Props>;
13
+ export {};
@@ -0,0 +1,8 @@
1
+ import { FC, ReactElement } from 'react';
2
+ interface Props {
3
+ condition: boolean;
4
+ wrapper: (children: ReactElement) => ReactElement;
5
+ children: ReactElement;
6
+ }
7
+ export declare const ConditionalWrapper: FC<Props>;
8
+ export {};
@@ -0,0 +1,22 @@
1
+ import { FC, FormEvent, ReactNode } from 'react';
2
+ export interface IFormWrapper {
3
+ isLoading: boolean;
4
+ className?: string;
5
+ submitButton: {
6
+ label?: string;
7
+ icon?: any;
8
+ disabled?: boolean;
9
+ onSubmit: (e: FormEvent<HTMLFormElement>) => void;
10
+ primary?: boolean;
11
+ };
12
+ otherButtons?: {
13
+ label: string;
14
+ icon?: any;
15
+ disabled?: boolean;
16
+ outlined?: boolean;
17
+ onClick: () => void;
18
+ }[];
19
+ noAccess?: boolean;
20
+ children: ReactNode;
21
+ }
22
+ export declare const FormWrapper: FC<IFormWrapper>;
@@ -0,0 +1,20 @@
1
+ import '../../styles/components/_pagePrelogin.scss';
2
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
3
+ import { FC, ReactElement, ReactNode } from 'react';
4
+ interface Props {
5
+ title: string;
6
+ description: string | ReactElement;
7
+ actionButton?: {
8
+ label: string;
9
+ icon?: IconDefinition;
10
+ onClick?: () => void;
11
+ onFormSubmit?: () => void;
12
+ marginLarge?: boolean;
13
+ regular?: boolean;
14
+ };
15
+ backButton?: boolean;
16
+ img?: string;
17
+ children?: ReactNode;
18
+ }
19
+ export declare const FullPageWrapper: FC<Props>;
20
+ export {};
@@ -0,0 +1,13 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { IHeaderAction } from '../../types/IHeaderAction';
3
+ export interface IPageWrapper {
4
+ breadcrumbs: string[];
5
+ actions?: IHeaderAction[];
6
+ moreActions?: IHeaderAction[];
7
+ showBackButton?: boolean;
8
+ noAccess?: boolean;
9
+ isLoading?: boolean;
10
+ loaderLogo?: string;
11
+ children?: ReactNode;
12
+ }
13
+ export declare const PageWrapper: FC<IPageWrapper>;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faArrowLeftFromLine: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faArrowRightToLine: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faBell: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faEye: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faEyeSlash: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faHouseHeart: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faPlusCircle: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faUser: IconDefinition;
@@ -0,0 +1,9 @@
1
+ import { faArrowLeftFromLine } from './faArrowLeftFromLine';
2
+ import { faArrowRightToLine } from './faArrowRightToLine';
3
+ import { faBell } from './faBell';
4
+ import { faEye } from './faEye';
5
+ import { faEyeSlash } from './faEyeSlash';
6
+ import { faHouseHeart } from './faHouseHeart';
7
+ import { faPlusCircle } from './faPlusCircle';
8
+ import { faUser } from './faUser';
9
+ export { faArrowLeftFromLine, faArrowRightToLine, faBell, faEye, faEyeSlash, faHouseHeart, faPlusCircle, faUser, };
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faAngleDown: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faArrowDownShortWide: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faArrowDownWideShort: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faArrowsToLine: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faArrowsUpDown: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faBell: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faCheck: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faClockRotateLeft: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faEllipsisVertical: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faXmark: IconDefinition;
@@ -0,0 +1,11 @@
1
+ import { faAngleDown } from './faAngleDown';
2
+ import { faArrowDownShortWide } from './faArrowDownShortWide';
3
+ import { faArrowDownWideShort } from './faArrowDownWideShort';
4
+ import { faArrowsToLine } from './faArrowsToLine';
5
+ import { faArrowsUpDown } from './faArrowsUpDown';
6
+ import { faBell } from './faBell';
7
+ import { faCheck } from './faCheck';
8
+ import { faClockRotateLeft } from './faClockRotateLeft';
9
+ import { faEllipsisVertical } from './faEllipsisVertical';
10
+ import { faXmark } from './faXmark';
11
+ export { faAngleDown, faArrowDownShortWide, faArrowDownWideShort, faArrowsToLine, faArrowsUpDown, faBell, faCheck, faClockRotateLeft, faEllipsisVertical, faXmark, };
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faArrowRightArrowLeft: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faCalendar: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faCircleCheck: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faCircleExclamation: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faCircleInfo: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faFileArrowDown: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faFilterCircleXmark: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faTriangleExclamation: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faAngleLeft: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faAngleRight: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faArrowDownWideShort: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faArrowLeft: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faCaretDown: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faEllipsisVertical: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faFilter: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faFloppyDisk: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faGripDotsVertical: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faListUl: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faMagnifyingGlass: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faPrint: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faRotateRight: IconDefinition;
@@ -0,0 +1,2 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ export declare const faXmark: IconDefinition;
@@ -0,0 +1,59 @@
1
+ import './styles/App.scss';
2
+ import clsx from 'clsx';
3
+ import moment from 'moment';
4
+ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
5
+ import { v4 as uuidv4 } from 'uuid';
6
+ import type { IAnyObject, IStringObject, IBooleanObject, ISimpleObject, ISimpleObjectWithCode, ISimpleObjectWithCodeNew, IValueLabel } from './types/IBasic';
7
+ import type { AxiosInstance } from './types/Base/axios';
8
+ import type { IError } from './types/IError';
9
+ import type { ITab } from './types/ITab';
10
+ import type { IPagination, IServerSidePagination, ITable, ITableColumn, ITableDataItem, ITableEditRow, ITableFilter, ITableFilterData, ITableFilterItem, ITableSort } from './types/ITable';
11
+ import type { IToken } from './types/IToken';
12
+ import type { ISidebarItem } from './types/ISidebar';
13
+ import type { ISelectData } from './types/ISelect';
14
+ import type { IFormWrapper } from './components/Wrappers/FormWrapper';
15
+ import { Accordions } from './components/Accordions/Accordions';
16
+ import { Alert } from './components/Alert/Alert';
17
+ import { NotificationBadge } from './components/Badge/NotificationBadge';
18
+ import { PillBadge } from './components/Badge/PillBadge';
19
+ import { Button } from './components/Button/Button';
20
+ import { IconButton } from './components/Button/IconButton';
21
+ import { Dialog } from './components/Dialog/Dialog';
22
+ import { Collapse } from './components/Helper/Collapse';
23
+ import { Checkbox } from './components/Inputs/Checkbox';
24
+ import { DateInput } from './components/Inputs/DateInput/DateInput';
25
+ import { LargeTextInput } from './components/Inputs/LargeTextInput';
26
+ import { NumberInput } from './components/Inputs/NumberInput';
27
+ import { PasswordInput } from './components/Inputs/PasswordInput';
28
+ import { Radio } from './components/Inputs/Radio';
29
+ import { TextInput } from './components/Inputs/TextInput';
30
+ import { SearchInput } from './components/Inputs/SearchInput';
31
+ import { Select } from './components/Inputs/Selects/Select';
32
+ import { SelectAsyncPaginate } from './components/Inputs/Selects/SelectAsyncPaginate';
33
+ import { FullScreenLoader, LazyLoader, Loader } from './components/Loader/Loader';
34
+ import { Menu } from './components/Menu/Menu';
35
+ import { MenuItem } from './components/Menu/MenuItem';
36
+ import { SetTableFilter } from './components/Table/Components/SetTableFilter';
37
+ import { Table } from './components/Table/Table';
38
+ import { TableFooter } from './components/Table/Components/TableFooter';
39
+ import { ItemActionsMenu } from './components/Table/Components/Edit/ItemActionsMenu';
40
+ import { ItemEditOptionsButtons } from './components/Table/Components/Edit/ItemEditOptionsButtons';
41
+ import { TableEditRow } from './components/Table/Components/Edit/TableEditRow';
42
+ import { Tabs } from './components/Tabs/Tabs';
43
+ import { Tooltip } from './components/Tooltip/Tooltip';
44
+ import { ConditionalWrapper } from './components/Wrappers/ConditionalWrapper';
45
+ import { FullPageWrapper } from './components/Wrappers/FullPageWrapper';
46
+ import { FormWrapper } from './components/Wrappers/FormWrapper';
47
+ import { PageWrapper } from './components/Wrappers/PageWrapper';
48
+ import { checkIfExpired, dateAddDays, formatDate, formatDateAndTime, formatDateYMD, formatTime, formatYearMonth, getCurrentDateFormatted, getCurrentDateFormattedYMD, getDaysLeft } from './utils/DateUtils';
49
+ import { formatCurrency, formatCurrencyNoDecimals } from './utils/NumberUtils';
50
+ import { maxChar } from './utils/StringUtils';
51
+ import { deepCopy, deleteEmptyProps, deleteEmptyPropsIncludingArray, deleteProps, getActiveFilterNumber, getVisibleColumnsIds } from './utils/ObjectUtils';
52
+ import { parseUrlSearch } from './utils/UrlUtils';
53
+ import { getActiveOrgUuid, getDefaultOrgUuid, lsGet, lsRemove, lsSet, setActiveOrgUuid, setDefaultOrgUuid } from './utils/LocalStorageHelper';
54
+ import { inputPattern } from './utils/InputPatternValidation';
55
+ export { Accordions, Alert, PillBadge, NotificationBadge, Button, IconButton, Dialog, Collapse, Checkbox, DateInput, LargeTextInput, NumberInput, PasswordInput, Radio, TextInput, SearchInput, Select, SelectAsyncPaginate, FullScreenLoader, LazyLoader, Loader, Menu, MenuItem, SetTableFilter, ItemActionsMenu, ItemEditOptionsButtons, Table, TableEditRow, TableFooter, Tabs, Tooltip, ConditionalWrapper, FullPageWrapper, FormWrapper, PageWrapper, };
56
+ export { AxiosInstance, IAnyObject, IStringObject, IBooleanObject, ISimpleObject, ISimpleObjectWithCode, ISimpleObjectWithCodeNew, IValueLabel, IError, ITab, IPagination, IServerSidePagination, ITable, ITableColumn, ITableDataItem, ITableEditRow, ITableFilter, ITableFilterData, ITableFilterItem, ITableSort, IToken, ISidebarItem, ISelectData, IFormWrapper, };
57
+ export { checkIfExpired, dateAddDays, deepCopy, formatDate, formatDateAndTime, formatDateYMD, formatTime, formatYearMonth, getCurrentDateFormatted, getCurrentDateFormattedYMD, getDaysLeft, formatCurrency, formatCurrencyNoDecimals, deleteEmptyProps, deleteEmptyPropsIncludingArray, deleteProps, getActiveFilterNumber, getVisibleColumnsIds, maxChar, parseUrlSearch, inputPattern, };
58
+ export { lsGet, lsRemove, lsSet, getActiveOrgUuid, setActiveOrgUuid, getDefaultOrgUuid, setDefaultOrgUuid, };
59
+ export { clsx, moment, FontAwesomeIcon, uuidv4 };
@@ -0,0 +1,25 @@
1
+ export interface IAnyObject {
2
+ [id: string]: any;
3
+ }
4
+ export interface IStringObject {
5
+ [id: string]: string;
6
+ }
7
+ export interface IBooleanObject {
8
+ [id: string]: boolean;
9
+ }
10
+ export interface ISimpleObject {
11
+ uuid: string;
12
+ name: string;
13
+ }
14
+ export interface ISimpleObjectWithCode extends ISimpleObject {
15
+ code: string;
16
+ }
17
+ export interface ISimpleObjectWithCodeNew {
18
+ uuid?: string;
19
+ name?: string;
20
+ code?: string;
21
+ }
22
+ export interface IValueLabel {
23
+ value: any;
24
+ label: string;
25
+ }
@@ -0,0 +1,4 @@
1
+ export interface IError {
2
+ errorMessage: string;
3
+ errorCode?: string;
4
+ }
@@ -0,0 +1,11 @@
1
+ import { IconDefinition, RotateProp } from '@fortawesome/fontawesome-svg-core';
2
+ export interface IHeaderAction {
3
+ label: string;
4
+ icon?: IconDefinition;
5
+ iconRotation?: RotateProp;
6
+ to?: string;
7
+ onClick?: () => void;
8
+ primary?: boolean;
9
+ disabled?: boolean;
10
+ hidden?: boolean;
11
+ }
@@ -0,0 +1,5 @@
1
+ import { IValueLabel } from './IBasic';
2
+ export interface ISelectData extends IValueLabel {
3
+ disabled?: boolean;
4
+ [id: string]: any;
5
+ }