@omniumretail/component-library 1.2.75 → 1.2.77

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 (55) hide show
  1. package/dist/component-library.es.js +22108 -453
  2. package/dist/component-library.umd.js +6 -3
  3. package/dist/components/AnalyticsBar/helpers/codeMutation.d.ts +2 -3
  4. package/dist/components/AnalyticsBar/index.d.ts +1 -2
  5. package/dist/components/AnalyticsBar/interfaces/analyticsBar.d.ts +12 -12
  6. package/dist/components/BellNotifications/index.d.ts +23 -23
  7. package/dist/components/Button/index.d.ts +6 -7
  8. package/dist/components/Category/CategoryContent/index.d.ts +10 -10
  9. package/dist/components/Category/CategorySidebar/index.d.ts +28 -28
  10. package/dist/components/Category/index.d.ts +9 -10
  11. package/dist/components/CategoryReadOnly/evaluationOptions.d.ts +10 -10
  12. package/dist/components/CategoryReadOnly/index.d.ts +9 -10
  13. package/dist/components/CategoryResponse/evaluationOptions.d.ts +10 -10
  14. package/dist/components/CategoryResponse/index.d.ts +14 -15
  15. package/dist/components/DatePicker/index.d.ts +7 -8
  16. package/dist/components/DatePickerTag/index.d.ts +5 -6
  17. package/dist/components/DropdownButton/index.d.ts +10 -11
  18. package/dist/components/ExportTableData/index.d.ts +8 -8
  19. package/dist/components/Footer/index.d.ts +5 -5
  20. package/dist/components/Footer2/index.d.ts +59 -60
  21. package/dist/components/Header/Header.data.d.ts +2 -3
  22. package/dist/components/Header/Header.types.d.ts +28 -29
  23. package/dist/components/Header/index.d.ts +6 -7
  24. package/dist/components/Input/index.d.ts +9 -10
  25. package/dist/components/InputCountryCode/index.d.ts +10 -11
  26. package/dist/components/Label/index.d.ts +7 -7
  27. package/dist/components/Link/index.d.ts +6 -7
  28. package/dist/components/Menu/helpers/codeMutation.d.ts +2 -3
  29. package/dist/components/Menu/index.d.ts +1 -2
  30. package/dist/components/MobileTable/index.d.ts +21 -22
  31. package/dist/components/ModalConfirmation/ModalStatusList.d.ts +5 -5
  32. package/dist/components/ModalConfirmation/index.d.ts +9 -9
  33. package/dist/components/ModalWithTable/index.d.ts +15 -16
  34. package/dist/components/Navigation/index.d.ts +15 -15
  35. package/dist/components/Notification/index.d.ts +12 -13
  36. package/dist/components/Questions/SingleQuestion/index.d.ts +1 -1
  37. package/dist/components/Questions/index.d.ts +11 -11
  38. package/dist/components/Radio/index.d.ts +8 -9
  39. package/dist/components/ResponseType/index.d.ts +7 -7
  40. package/dist/components/ResponsiveTable/index.d.ts +52 -53
  41. package/dist/components/Select/index.d.ts +4 -5
  42. package/dist/components/Separator/index.d.ts +11 -11
  43. package/dist/components/Sidebar/index.d.ts +14 -15
  44. package/dist/components/Switch/index.d.ts +4 -5
  45. package/dist/components/Table/index.d.ts +45 -46
  46. package/dist/components/Tag/index.d.ts +26 -23
  47. package/dist/components/Upload/index.d.ts +10 -11
  48. package/dist/components/UserInfo/index.d.ts +9 -9
  49. package/dist/components/WebCam/index.d.ts +7 -8
  50. package/dist/components/index.d.ts +34 -34
  51. package/dist/constants/i18n.d.ts +1 -1
  52. package/dist/constants/logoCompanyHelper.d.ts +28 -28
  53. package/dist/constants/translationHelper.d.ts +2 -2
  54. package/dist/index.d.ts +3 -3
  55. package/package.json +31 -30
@@ -1,4 +1,3 @@
1
1
  import { MenuProps } from 'antd';
2
-
3
- export type MenuItem = Required<MenuProps>['items'][number];
4
- export declare function getItem(label: React.ReactNode, key: React.Key, icon?: React.ReactNode, children?: MenuItem[], type?: 'group'): MenuItem;
2
+ export type MenuItem = Required<MenuProps>['items'][number];
3
+ export declare function getItem(label: React.ReactNode, key: React.Key, icon?: React.ReactNode, children?: MenuItem[], type?: 'group'): MenuItem;
@@ -1,3 +1,2 @@
1
1
  import { AnalyticsBarProps } from './interfaces/analyticsBar';
2
-
3
- export declare const AnalyticsBar: (props: AnalyticsBarProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const AnalyticsBar: (props: AnalyticsBarProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,12 +1,12 @@
1
- export interface AnalyticsBarProps {
2
- data: any;
3
- selectOptions: any;
4
- selectDefault: any;
5
- selectUserOption?: any;
6
- sortedBy?: any;
7
- activeListItem?: any;
8
- }
9
- export declare enum sortBy {
10
- asc = "asc",
11
- desc = "desc"
12
- }
1
+ export interface AnalyticsBarProps {
2
+ data: any;
3
+ selectOptions: any;
4
+ selectDefault: any;
5
+ selectUserOption?: any;
6
+ sortedBy?: any;
7
+ activeListItem?: any;
8
+ }
9
+ export declare enum sortBy {
10
+ asc = "asc",
11
+ desc = "desc"
12
+ }
@@ -1,23 +1,23 @@
1
- export interface Criticality {
2
- Id: string;
3
- Name: string;
4
- ColorHex: string;
5
- }
6
- export interface BellNotification {
7
- Id: string;
8
- Title: string;
9
- Description: string;
10
- RedirectURL: string;
11
- Icon: string;
12
- ExpirationDate: number;
13
- Criticality: Criticality;
14
- IsRead: boolean;
15
- }
16
- export interface BellNotificationsProps {
17
- notifications: BellNotification[];
18
- onFilterChange: (filter: 'all' | 'unread') => void;
19
- onNotificationClick: (id: string, url: string) => void;
20
- handleMarkAllAsRead: () => void;
21
- }
22
- export declare const BellNotifications: ({ notifications, onFilterChange, onNotificationClick, handleMarkAllAsRead }: BellNotificationsProps) => import("react/jsx-runtime").JSX.Element;
23
- export default BellNotifications;
1
+ export interface Criticality {
2
+ Id: string;
3
+ Name: string;
4
+ ColorHex: string;
5
+ }
6
+ export interface BellNotification {
7
+ Id: string;
8
+ Title: string;
9
+ Description: string;
10
+ RedirectURL: string;
11
+ Icon: string;
12
+ ExpirationDate: number;
13
+ Criticality: Criticality;
14
+ IsRead: boolean;
15
+ }
16
+ export interface BellNotificationsProps {
17
+ notifications: BellNotification[];
18
+ onFilterChange: (filter: 'all' | 'unread') => void;
19
+ onNotificationClick: (id: string, url: string) => void;
20
+ handleMarkAllAsRead: () => void;
21
+ }
22
+ export declare const BellNotifications: ({ notifications, onFilterChange, onNotificationClick, handleMarkAllAsRead }: BellNotificationsProps) => import("react/jsx-runtime").JSX.Element;
23
+ export default BellNotifications;
@@ -1,8 +1,7 @@
1
1
  import { ButtonProps } from 'antd';
2
-
3
- export interface CustomButtonProps extends ButtonProps {
4
- iconAlignRight?: boolean;
5
- buttonStyle?: string;
6
- customClass?: string;
7
- }
8
- export declare const Button: ({ customClass, ...props }: CustomButtonProps) => import("react/jsx-runtime").JSX.Element;
2
+ export interface CustomButtonProps extends ButtonProps {
3
+ iconAlignRight?: boolean;
4
+ buttonStyle?: string;
5
+ customClass?: string;
6
+ }
7
+ export declare const Button: ({ customClass, ...props }: CustomButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,10 @@
1
- interface categoryContent {
2
- categoryContentShow: boolean;
3
- categoryContentInfo: any;
4
- categorySidebarData: any;
5
- chooseResponseType?: boolean;
6
- responseTypeOptions?: any;
7
- hasHeader?: boolean;
8
- }
9
- export declare const CategoryContent: (props: categoryContent) => import("react/jsx-runtime").JSX.Element;
10
- export {};
1
+ interface categoryContent {
2
+ categoryContentShow: boolean;
3
+ categoryContentInfo: any;
4
+ categorySidebarData: any;
5
+ chooseResponseType?: boolean;
6
+ responseTypeOptions?: any;
7
+ hasHeader?: boolean;
8
+ }
9
+ export declare const CategoryContent: (props: categoryContent) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -1,28 +1,28 @@
1
- export interface Questions {
2
- grade: string;
3
- question: string;
4
- info: string;
5
- responseType?: string;
6
- }
7
- export interface Data {
8
- categoryName: string;
9
- generalEvaluationLevel: string;
10
- grade: string;
11
- openAnswer: boolean;
12
- questions: Questions[];
13
- }
14
- export interface DataNode {
15
- title: string;
16
- key: string;
17
- data?: Data;
18
- children?: DataNode[];
19
- }
20
- interface SidebarProps {
21
- categoryContentData: any;
22
- categorySidebarInfo: any;
23
- categoryContentFinalData: any;
24
- data: DataNode[];
25
- hasHeader?: boolean;
26
- }
27
- export declare const CategorySidebar: (props: SidebarProps) => import("react/jsx-runtime").JSX.Element;
28
- export {};
1
+ export interface Questions {
2
+ grade: string;
3
+ question: string;
4
+ info: string;
5
+ responseType?: string;
6
+ }
7
+ export interface Data {
8
+ categoryName: string;
9
+ generalEvaluationLevel: string;
10
+ grade: string;
11
+ openAnswer: boolean;
12
+ questions: Questions[];
13
+ }
14
+ export interface DataNode {
15
+ title: string;
16
+ key: string;
17
+ data?: Data;
18
+ children?: DataNode[];
19
+ }
20
+ interface SidebarProps {
21
+ categoryContentData: any;
22
+ categorySidebarInfo: any;
23
+ categoryContentFinalData: any;
24
+ data: DataNode[];
25
+ hasHeader?: boolean;
26
+ }
27
+ export declare const CategorySidebar: (props: SidebarProps) => import("react/jsx-runtime").JSX.Element;
28
+ export {};
@@ -1,11 +1,10 @@
1
1
  import { DataNode } from './CategorySidebar';
2
-
3
- interface Category {
4
- data: DataNode[];
5
- serverReadyData: any;
6
- chooseResponse?: boolean;
7
- responseTypeOptions?: any;
8
- hasHeader?: boolean;
9
- }
10
- export declare const Category: (props: Category) => import("react/jsx-runtime").JSX.Element;
11
- export {};
2
+ interface Category {
3
+ data: DataNode[];
4
+ serverReadyData: any;
5
+ chooseResponse?: boolean;
6
+ responseTypeOptions?: any;
7
+ hasHeader?: boolean;
8
+ }
9
+ export declare const Category: (props: Category) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -1,10 +1,10 @@
1
- export type EvaluationOption = {
2
- value: string;
3
- label: string;
4
- };
5
- export type EvaluationOptions = {
6
- scale_0: EvaluationOption[];
7
- scale_1: EvaluationOption[];
8
- scale_2: EvaluationOption[];
9
- };
10
- export declare const evaluationOptions: EvaluationOptions;
1
+ export type EvaluationOption = {
2
+ value: string;
3
+ label: string;
4
+ };
5
+ export type EvaluationOptions = {
6
+ scale_0: EvaluationOption[];
7
+ scale_1: EvaluationOption[];
8
+ scale_2: EvaluationOption[];
9
+ };
10
+ export declare const evaluationOptions: EvaluationOptions;
@@ -1,11 +1,10 @@
1
1
  import { default as React } from 'react';
2
-
3
- interface CategoryResponse {
4
- data: any;
5
- serverReadyData: any;
6
- onNextCategoryAvailabilityChange: (hasNext: boolean) => void;
7
- onPreviousCategoryAvailabilityChange: (hasPrevious: boolean) => void;
8
- exportPdf?: boolean;
9
- }
10
- export declare const CategoryReadOnly: React.ForwardRefExoticComponent<CategoryResponse & React.RefAttributes<unknown>>;
11
- export {};
2
+ interface CategoryResponse {
3
+ data: any;
4
+ serverReadyData: any;
5
+ onNextCategoryAvailabilityChange: (hasNext: boolean) => void;
6
+ onPreviousCategoryAvailabilityChange: (hasPrevious: boolean) => void;
7
+ exportPdf?: boolean;
8
+ }
9
+ export declare const CategoryReadOnly: React.ForwardRefExoticComponent<CategoryResponse & React.RefAttributes<unknown>>;
10
+ export {};
@@ -1,10 +1,10 @@
1
- export type EvaluationOption = {
2
- value: string;
3
- label: string;
4
- };
5
- export type EvaluationOptions = {
6
- scale_0: EvaluationOption[];
7
- scale_1: EvaluationOption[];
8
- scale_2: EvaluationOption[];
9
- };
10
- export declare const evaluationOptions: EvaluationOptions;
1
+ export type EvaluationOption = {
2
+ value: string;
3
+ label: string;
4
+ };
5
+ export type EvaluationOptions = {
6
+ scale_0: EvaluationOption[];
7
+ scale_1: EvaluationOption[];
8
+ scale_2: EvaluationOption[];
9
+ };
10
+ export declare const evaluationOptions: EvaluationOptions;
@@ -1,17 +1,16 @@
1
1
  import { UploadFile } from 'antd';
2
2
  import { default as React } from 'react';
3
-
4
- interface CategoryResponse {
5
- data: any;
6
- serverReadyData: any;
7
- onNextCategoryAvailabilityChange: (hasNext: boolean) => void;
8
- onPreviousCategoryAvailabilityChange: (hasPrevious: boolean) => void;
9
- selectYesNoOption?: any;
10
- addAction?: (questionId: string, questionAnswerId: string) => void;
11
- openAction?: (actionId: string) => void;
12
- addButtons?: boolean;
13
- fileList?: React.Dispatch<React.SetStateAction<Record<string, UploadFile<any>[]>>>;
14
- initialFileList?: any;
15
- }
16
- export declare const CategoryResponse: React.ForwardRefExoticComponent<CategoryResponse & React.RefAttributes<unknown>>;
17
- export {};
3
+ interface CategoryResponse {
4
+ data: any;
5
+ serverReadyData: any;
6
+ onNextCategoryAvailabilityChange: (hasNext: boolean) => void;
7
+ onPreviousCategoryAvailabilityChange: (hasPrevious: boolean) => void;
8
+ selectYesNoOption?: any;
9
+ addAction?: (questionId: string, questionAnswerId: string) => void;
10
+ openAction?: (actionId: string) => void;
11
+ addButtons?: boolean;
12
+ fileList?: React.Dispatch<React.SetStateAction<Record<string, UploadFile<any>[]>>>;
13
+ initialFileList?: any;
14
+ }
15
+ export declare const CategoryResponse: React.ForwardRefExoticComponent<CategoryResponse & React.RefAttributes<unknown>>;
16
+ export {};
@@ -1,9 +1,8 @@
1
1
  import { DatePickerProps } from 'antd';
2
-
3
- export type CustomDatePickerProps = DatePickerProps & {
4
- isRangePicker?: boolean;
5
- onChange?: (a: any, b: any) => void;
6
- disabled?: boolean;
7
- defaultValue?: any;
8
- };
9
- export declare const CustomDatePicker: ({ className, onChange, value, isRangePicker, disabled, defaultValue, ...rest }: CustomDatePickerProps) => import("react/jsx-runtime").JSX.Element;
2
+ export type CustomDatePickerProps = DatePickerProps & {
3
+ isRangePicker?: boolean;
4
+ onChange?: (a: any, b: any) => void;
5
+ disabled?: boolean;
6
+ defaultValue?: any;
7
+ };
8
+ export declare const CustomDatePicker: ({ className, onChange, value, isRangePicker, disabled, defaultValue, ...rest }: CustomDatePickerProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,6 @@
1
1
  import { TagProps } from 'antd';
2
-
3
- export interface DatePickerTagProps extends TagProps {
4
- customTags?: any;
5
- tagsInfo?: any;
6
- }
7
- export declare const DatePickerTag: (props: DatePickerTagProps) => import("react/jsx-runtime").JSX.Element;
2
+ export interface DatePickerTagProps extends TagProps {
3
+ customTags?: any;
4
+ tagsInfo?: any;
5
+ }
6
+ export declare const DatePickerTag: (props: DatePickerTagProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,13 +1,12 @@
1
1
  import { default as React } from 'react';
2
2
  import { DropdownProps } from 'antd';
3
-
4
- export interface DropdownButtonProps extends DropdownProps {
5
- options?: {
6
- label: string;
7
- action: () => void;
8
- }[];
9
- buttonText: string;
10
- buttonClass?: string;
11
- customButton?: React.ReactNode;
12
- }
13
- export declare const DropdownButton: ({ options, buttonText, buttonClass, customButton, ...props }: DropdownButtonProps) => import("react/jsx-runtime").JSX.Element;
3
+ export interface DropdownButtonProps extends DropdownProps {
4
+ options?: {
5
+ label: string;
6
+ action: () => void;
7
+ }[];
8
+ buttonText: string;
9
+ buttonClass?: string;
10
+ customButton?: React.ReactNode;
11
+ }
12
+ export declare const DropdownButton: ({ options, buttonText, buttonClass, customButton, ...props }: DropdownButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,8 @@
1
- interface TableExportButtonProps {
2
- data: Record<string, any>[];
3
- fileName: string;
4
- customClass?: string;
5
- columnTranslations: Record<string, string>;
6
- }
7
- export declare const TableExportButton: (props: TableExportButtonProps) => import("react/jsx-runtime").JSX.Element;
8
- export {};
1
+ interface TableExportButtonProps {
2
+ data: Record<string, any>[];
3
+ fileName: string;
4
+ customClass?: string;
5
+ columnTranslations: Record<string, string>;
6
+ }
7
+ export declare const TableExportButton: (props: TableExportButtonProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -1,5 +1,5 @@
1
- export interface FooterProps {
2
- storeName: string;
3
- favIcon?: boolean;
4
- }
5
- export declare const Footer: (props: FooterProps) => import("react/jsx-runtime").JSX.Element;
1
+ export interface FooterProps {
2
+ storeName: string;
3
+ favIcon?: boolean;
4
+ }
5
+ export declare const Footer: (props: FooterProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,61 +1,60 @@
1
1
  import { default as React } from 'react';
2
-
3
- interface SubAction {
4
- key: string;
5
- label: string;
6
- icon: React.ReactNode;
7
- onClick: () => void;
8
- disabled?: boolean;
9
- }
10
- interface Action {
11
- key: string;
12
- label: string;
13
- icon: React.ReactNode;
14
- onClick?: () => void;
15
- disabled?: boolean;
16
- subItems?: SubAction[];
17
- }
18
- interface Criticality {
19
- Id: string;
20
- Name: string;
21
- ColorHex: string;
22
- }
23
- interface BellNotification {
24
- Id: string;
25
- Title: string;
26
- Description: string;
27
- RedirectURL: string;
28
- Icon: string;
29
- ExpirationDate: number;
30
- Criticality: Criticality;
31
- IsRead: boolean;
32
- }
33
- export declare enum ActionType {
34
- DELETE = "delete",
35
- UPDATE = "update",
36
- CREATE = "create",
37
- EDIT = "edit",
38
- EXPORT = "export",
39
- PRINT = "print"
40
- }
41
- export interface ActionConfig {
42
- type: ActionType | string;
43
- onClick?: () => void;
44
- disabled?: boolean;
45
- subItems?: SubAction[];
46
- }
47
- export interface Footer2Props {
48
- onBackClick?: () => void;
49
- notifications: BellNotification[];
50
- onFilterChange: (filter: 'all' | 'unread') => void;
51
- onNotificationClick: (id: string, url: string) => void;
52
- handleMarkAllAsRead: () => void;
53
- customActions?: Action[];
54
- actions?: ActionConfig[];
55
- footerName: string;
56
- disableBackButton?: boolean;
57
- disableNotifications?: boolean;
58
- companyName?: string;
59
- }
60
- export declare const Footer2: (props: Footer2Props) => import("react/jsx-runtime").JSX.Element;
61
- export {};
2
+ interface SubAction {
3
+ key: string;
4
+ label: string;
5
+ icon: React.ReactNode;
6
+ onClick: () => void;
7
+ disabled?: boolean;
8
+ }
9
+ interface Action {
10
+ key: string;
11
+ label: string;
12
+ icon: React.ReactNode;
13
+ onClick?: () => void;
14
+ disabled?: boolean;
15
+ subItems?: SubAction[];
16
+ }
17
+ interface Criticality {
18
+ Id: string;
19
+ Name: string;
20
+ ColorHex: string;
21
+ }
22
+ interface BellNotification {
23
+ Id: string;
24
+ Title: string;
25
+ Description: string;
26
+ RedirectURL: string;
27
+ Icon: string;
28
+ ExpirationDate: number;
29
+ Criticality: Criticality;
30
+ IsRead: boolean;
31
+ }
32
+ export declare enum ActionType {
33
+ DELETE = "delete",
34
+ UPDATE = "update",
35
+ CREATE = "create",
36
+ EDIT = "edit",
37
+ EXPORT = "export",
38
+ PRINT = "print"
39
+ }
40
+ export interface ActionConfig {
41
+ type: ActionType | string;
42
+ onClick?: () => void;
43
+ disabled?: boolean;
44
+ subItems?: SubAction[];
45
+ }
46
+ export interface Footer2Props {
47
+ onBackClick?: () => void;
48
+ notifications: BellNotification[];
49
+ onFilterChange: (filter: 'all' | 'unread') => void;
50
+ onNotificationClick: (id: string, url: string) => void;
51
+ handleMarkAllAsRead: () => void;
52
+ customActions?: Action[];
53
+ actions?: ActionConfig[];
54
+ footerName: string;
55
+ disableBackButton?: boolean;
56
+ disableNotifications?: boolean;
57
+ companyName?: string;
58
+ }
59
+ export declare const Footer2: (props: Footer2Props) => import("react/jsx-runtime").JSX.Element;
60
+ export {};
@@ -1,4 +1,3 @@
1
1
  import { MenuItem } from './Header.types';
2
-
3
- export declare const getMenuTopList: (onHome: () => void) => MenuItem[];
4
- export declare const getMenuBottomList: (onProfile: () => void, onLogout: () => void, userName?: string) => MenuItem[];
2
+ export declare const getMenuTopList: (onHome: () => void) => MenuItem[];
3
+ export declare const getMenuBottomList: (onProfile: () => void, onLogout: () => void, userName?: string) => MenuItem[];
@@ -1,30 +1,29 @@
1
1
  import { BellNotification } from '../BellNotifications';
2
-
3
- export interface MenuItem {
4
- name: string;
5
- action: () => void;
6
- targetRoute?: string;
7
- dropdownMenu?: MenuItem[];
8
- }
9
- export interface actionButton {
10
- element?: any;
11
- action?: () => void;
12
- visibility?: boolean;
13
- }
14
- export interface HeaderProps {
15
- actionButton?: actionButton;
16
- menuList?: MenuItem[];
17
- logout?: () => void;
18
- homeUrl: string;
19
- profileUrl: string;
20
- onLeavingPage?: (targetRoute: string) => void;
21
- userName?: string;
22
- pageTitle?: string;
23
- onFilterChange?: (filter: 'all' | 'unread') => void;
24
- onNotificationClick?: (id: string, url: string) => void;
25
- handleMarkAllAsRead?: () => void;
26
- notifications?: BellNotification[];
27
- shouldConfirmNavigation?: boolean;
28
- companyName?: string;
29
- customLogoClass?: string;
30
- }
2
+ export interface MenuItem {
3
+ name: string;
4
+ action: () => void;
5
+ targetRoute?: string;
6
+ dropdownMenu?: MenuItem[];
7
+ }
8
+ export interface actionButton {
9
+ element?: any;
10
+ action?: () => void;
11
+ visibility?: boolean;
12
+ }
13
+ export interface HeaderProps {
14
+ actionButton?: actionButton;
15
+ menuList?: MenuItem[];
16
+ logout?: () => void;
17
+ homeUrl: string;
18
+ profileUrl: string;
19
+ onLeavingPage?: (targetRoute: string) => void;
20
+ userName?: string;
21
+ pageTitle?: string;
22
+ onFilterChange?: (filter: 'all' | 'unread') => void;
23
+ onNotificationClick?: (id: string, url: string) => void;
24
+ handleMarkAllAsRead?: () => void;
25
+ notifications?: BellNotification[];
26
+ shouldConfirmNavigation?: boolean;
27
+ companyName?: string;
28
+ customLogoClass?: string;
29
+ }
@@ -1,8 +1,7 @@
1
1
  import { HeaderProps } from './Header.types';
2
-
3
- /**
4
- * Header component to display navigation bar with dropdown menus and action button.
5
- * @param {HeaderProps} props - Properties passed to the component.
6
- */
7
- export declare const Header: ({ menuList, actionButton, logout, homeUrl, profileUrl, onLeavingPage, userName, pageTitle, onFilterChange, notifications, onNotificationClick, handleMarkAllAsRead, shouldConfirmNavigation, customLogoClass, companyName, }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
8
- export default Header;
2
+ /**
3
+ * Header component to display navigation bar with dropdown menus and action button.
4
+ * @param {HeaderProps} props - Properties passed to the component.
5
+ */
6
+ export declare const Header: ({ menuList, actionButton, logout, homeUrl, profileUrl, onLeavingPage, userName, pageTitle, onFilterChange, notifications, onNotificationClick, handleMarkAllAsRead, shouldConfirmNavigation, customLogoClass, companyName, }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default Header;
@@ -1,11 +1,10 @@
1
1
  import { FormItemProps, InputProps } from 'antd';
2
-
3
- export interface FormInputFieldProps extends Omit<FormItemProps, "name"> {
4
- name: string;
5
- inputProps?: InputProps;
6
- }
7
- export interface inputPropsCustom extends InputProps {
8
- customClass?: string;
9
- }
10
- export declare const InputField: ({ customClass, ...inputProps }: inputPropsCustom) => import("react/jsx-runtime").JSX.Element;
11
- export declare const FormInputField: ({ inputProps, ...itemProps }: FormInputFieldProps) => import("react/jsx-runtime").JSX.Element;
2
+ export interface FormInputFieldProps extends Omit<FormItemProps, "name"> {
3
+ name: string;
4
+ inputProps?: InputProps;
5
+ }
6
+ export interface inputPropsCustom extends InputProps {
7
+ customClass?: string;
8
+ }
9
+ export declare const InputField: ({ customClass, ...inputProps }: inputPropsCustom) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const FormInputField: ({ inputProps, ...itemProps }: FormInputFieldProps) => import("react/jsx-runtime").JSX.Element;