@egov3/system-design 1.3.131 → 1.3.133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -2
- package/dist/cjs/baseComponents/BaseField/index.js +2 -2
- package/dist/cjs/baseComponents/BaseField/index.js.map +1 -1
- package/dist/cjs/baseComponents/InputField/index.js.map +1 -1
- package/dist/cjs/baseComponents/InputFieldGroup/index.js.map +1 -1
- package/dist/cjs/baseComponents/Modal/index.js +5 -3
- package/dist/cjs/baseComponents/Modal/index.js.map +1 -1
- package/dist/cjs/baseComponents/SearchBar/index.js +4 -2
- package/dist/cjs/baseComponents/SearchBar/index.js.map +1 -1
- package/dist/cjs/baseComponents/SelectBoxButton/index.js +2 -2
- package/dist/cjs/baseComponents/SelectBoxButton/index.js.map +1 -1
- package/dist/cjs/baseComponents/StatusText/index.js +4 -2
- package/dist/cjs/baseComponents/StatusText/index.js.map +1 -1
- package/dist/cjs/baseComponents/TextareaField/index.js +0 -1
- package/dist/cjs/baseComponents/TextareaField/index.js.map +1 -1
- package/dist/cjs/baseComponents/{index.js → legacy.js} +1 -2
- package/dist/cjs/baseComponents/legacy.js.map +1 -0
- package/dist/cjs/components/Calendar/Body/index.js +43 -14
- package/dist/cjs/components/Calendar/Body/index.js.map +1 -1
- package/dist/cjs/components/Calendar/Header/index.js +32 -3
- package/dist/cjs/components/Calendar/Header/index.js.map +1 -1
- package/dist/cjs/components/Calendar/index.js +35 -7
- package/dist/cjs/components/Calendar/index.js.map +1 -1
- package/dist/cjs/components/ErrorModal/index.js +35 -5
- package/dist/cjs/components/ErrorModal/index.js.map +1 -1
- package/dist/cjs/components/Identity/Agreement/index.js +33 -4
- package/dist/cjs/components/Identity/Agreement/index.js.map +1 -1
- package/dist/cjs/components/Identity/Auth/index.js +36 -5
- package/dist/cjs/components/Identity/Auth/index.js.map +1 -1
- package/dist/cjs/components/Identity/EdsSuccess/index.js +34 -5
- package/dist/cjs/components/Identity/EdsSuccess/index.js.map +1 -1
- package/dist/cjs/components/Identity/HelpInstruction/index.js +31 -2
- package/dist/cjs/components/Identity/HelpInstruction/index.js.map +1 -1
- package/dist/cjs/components/Identity/IdentityHeader/index.js +2 -2
- package/dist/cjs/components/Identity/IdentityHeader/index.js.map +1 -1
- package/dist/cjs/components/Identity/IdentityModal/index.js +37 -8
- package/dist/cjs/components/Identity/IdentityModal/index.js.map +1 -1
- package/dist/cjs/components/Messages/EmptyMessages/index.js +35 -5
- package/dist/cjs/components/Messages/EmptyMessages/index.js.map +1 -1
- package/dist/cjs/components/Messages/HelpNotification/index.js.map +1 -1
- package/dist/cjs/components/Messages/HelpNotificationItem/index.js +33 -4
- package/dist/cjs/components/Messages/HelpNotificationItem/index.js.map +1 -1
- package/dist/cjs/components/Messages/MsgBody/index.js +37 -5
- package/dist/cjs/components/Messages/MsgBody/index.js.map +1 -1
- package/dist/cjs/components/Messages/MsgComponentHeader/index.js +38 -8
- package/dist/cjs/components/Messages/MsgComponentHeader/index.js.map +1 -1
- package/dist/cjs/components/Messages/MsgSearch/index.js +33 -4
- package/dist/cjs/components/Messages/MsgSearch/index.js.map +1 -1
- package/dist/cjs/components/Navigation/ViewToggle/index.js +4 -3
- package/dist/cjs/components/Navigation/ViewToggle/index.js.map +1 -1
- package/dist/cjs/components/Notification/Item/index.js +38 -7
- package/dist/cjs/components/Notification/Item/index.js.map +1 -1
- package/dist/cjs/components/Notification/Wrapper/index.js.map +1 -1
- package/dist/cjs/components/Presale/AccordionTitle/index.js +31 -2
- package/dist/cjs/components/Presale/AccordionTitle/index.js.map +1 -1
- package/dist/cjs/components/Presale/Instructions/index.js +31 -2
- package/dist/cjs/components/Presale/Instructions/index.js.map +1 -1
- package/dist/cjs/components/Presale/PassportDetails/index.js +31 -2
- package/dist/cjs/components/Presale/PassportDetails/index.js.map +1 -1
- package/dist/cjs/components/Presale/ServiceDetails/index.js +35 -7
- package/dist/cjs/components/Presale/ServiceDetails/index.js.map +1 -1
- package/dist/cjs/components/Profile/DocCard/index.js +32 -4
- package/dist/cjs/components/Profile/DocCard/index.js.map +1 -1
- package/dist/cjs/components/Profile/IconToggleItem/index.js +31 -2
- package/dist/cjs/components/Profile/IconToggleItem/index.js.map +1 -1
- package/dist/cjs/components/Profile/ProfileHealthGeneral/index.js +33 -4
- package/dist/cjs/components/Profile/ProfileHealthGeneral/index.js.map +1 -1
- package/dist/cjs/components/Profile/RightMenuSectionItem/index.js +31 -2
- package/dist/cjs/components/Profile/RightMenuSectionItem/index.js.map +1 -1
- package/dist/cjs/components/Profile/SetUpAccess/index.js +33 -3
- package/dist/cjs/components/Profile/SetUpAccess/index.js.map +1 -1
- package/dist/cjs/components/ServiceCardComponent/index.js +31 -3
- package/dist/cjs/components/ServiceCardComponent/index.js.map +1 -1
- package/dist/cjs/components/Services/Feedback/index.js +44 -11
- package/dist/cjs/components/Services/Feedback/index.js.map +1 -1
- package/dist/cjs/components/Services/FileForUpload/index.js +36 -7
- package/dist/cjs/components/Services/FileForUpload/index.js.map +1 -1
- package/dist/cjs/components/Services/NextStepComponent/index.js +33 -4
- package/dist/cjs/components/Services/NextStepComponent/index.js.map +1 -1
- package/dist/cjs/components/{index.js → legacy.js} +1 -2
- package/dist/cjs/components/legacy.js.map +1 -0
- package/dist/cjs/customHooks/useCalendar.js.map +1 -1
- package/dist/cjs/index.js +98 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/utils/calendar.js.map +1 -1
- package/dist/cjs/utils/date/getMonthNameProper.js.map +1 -1
- package/dist/cjs/utils/debounce.js.map +1 -1
- package/dist/esm/baseComponents/BaseField/index.js +2 -2
- package/dist/esm/baseComponents/BaseField/index.js.map +1 -1
- package/dist/esm/baseComponents/InputField/index.js.map +1 -1
- package/dist/esm/baseComponents/InputFieldGroup/index.js.map +1 -1
- package/dist/esm/baseComponents/Modal/index.js +5 -3
- package/dist/esm/baseComponents/Modal/index.js.map +1 -1
- package/dist/esm/baseComponents/RadioGroup/index.js +1 -1
- package/dist/esm/baseComponents/SearchBar/index.js +4 -2
- package/dist/esm/baseComponents/SearchBar/index.js.map +1 -1
- package/dist/esm/baseComponents/SelectBoxButton/index.js +2 -2
- package/dist/esm/baseComponents/SelectBoxButton/index.js.map +1 -1
- package/dist/esm/baseComponents/StatusText/index.js +4 -2
- package/dist/esm/baseComponents/StatusText/index.js.map +1 -1
- package/dist/esm/baseComponents/TextareaField/index.js +0 -1
- package/dist/esm/baseComponents/TextareaField/index.js.map +1 -1
- package/dist/esm/baseComponents/{index.js → legacy.js} +1 -2
- package/dist/esm/baseComponents/legacy.js.map +1 -0
- package/dist/esm/components/Calendar/Body/index.js +37 -8
- package/dist/esm/components/Calendar/Body/index.js.map +1 -1
- package/dist/esm/components/Calendar/Header/index.js +31 -2
- package/dist/esm/components/Calendar/Header/index.js.map +1 -1
- package/dist/esm/components/Calendar/index.js +30 -2
- package/dist/esm/components/Calendar/index.js.map +1 -1
- package/dist/esm/components/ErrorModal/index.js +33 -3
- package/dist/esm/components/ErrorModal/index.js.map +1 -1
- package/dist/esm/components/Identity/Agreement/index.js +30 -1
- package/dist/esm/components/Identity/Agreement/index.js.map +1 -1
- package/dist/esm/components/Identity/Auth/index.js +34 -3
- package/dist/esm/components/Identity/Auth/index.js.map +1 -1
- package/dist/esm/components/Identity/EdsSuccess/index.js +32 -3
- package/dist/esm/components/Identity/EdsSuccess/index.js.map +1 -1
- package/dist/esm/components/Identity/HelpInstruction/index.js +30 -1
- package/dist/esm/components/Identity/HelpInstruction/index.js.map +1 -1
- package/dist/esm/components/Identity/IdentityHeader/index.js +2 -2
- package/dist/esm/components/Identity/IdentityHeader/index.js.map +1 -1
- package/dist/esm/components/Identity/IdentityModal/index.js +32 -3
- package/dist/esm/components/Identity/IdentityModal/index.js.map +1 -1
- package/dist/esm/components/Messages/EmptyMessages/index.js +33 -3
- package/dist/esm/components/Messages/EmptyMessages/index.js.map +1 -1
- package/dist/esm/components/Messages/HelpNotification/index.js.map +1 -1
- package/dist/esm/components/Messages/HelpNotificationItem/index.js +31 -2
- package/dist/esm/components/Messages/HelpNotificationItem/index.js.map +1 -1
- package/dist/esm/components/Messages/MsgBody/index.js +36 -4
- package/dist/esm/components/Messages/MsgBody/index.js.map +1 -1
- package/dist/esm/components/Messages/MsgComponentHeader/index.js +34 -4
- package/dist/esm/components/Messages/MsgComponentHeader/index.js.map +1 -1
- package/dist/esm/components/Messages/MsgSearch/index.js +30 -1
- package/dist/esm/components/Messages/MsgSearch/index.js.map +1 -1
- package/dist/esm/components/Navigation/ViewToggle/index.js +4 -3
- package/dist/esm/components/Navigation/ViewToggle/index.js.map +1 -1
- package/dist/esm/components/Notification/Item/index.js +37 -6
- package/dist/esm/components/Notification/Item/index.js.map +1 -1
- package/dist/esm/components/Notification/Wrapper/index.js.map +1 -1
- package/dist/esm/components/Presale/AccordionTitle/index.js +30 -1
- package/dist/esm/components/Presale/AccordionTitle/index.js.map +1 -1
- package/dist/esm/components/Presale/Instructions/index.js +30 -1
- package/dist/esm/components/Presale/Instructions/index.js.map +1 -1
- package/dist/esm/components/Presale/PassportDetails/index.js +30 -1
- package/dist/esm/components/Presale/PassportDetails/index.js.map +1 -1
- package/dist/esm/components/Presale/ServiceDetails/index.js +29 -1
- package/dist/esm/components/Presale/ServiceDetails/index.js.map +1 -1
- package/dist/esm/components/Profile/DocCard/index.js +29 -1
- package/dist/esm/components/Profile/DocCard/index.js.map +1 -1
- package/dist/esm/components/Profile/IconToggleItem/index.js +30 -1
- package/dist/esm/components/Profile/IconToggleItem/index.js.map +1 -1
- package/dist/esm/components/Profile/ProfileHealthGeneral/index.js +30 -1
- package/dist/esm/components/Profile/ProfileHealthGeneral/index.js.map +1 -1
- package/dist/esm/components/Profile/RightMenuSectionItem/index.js +30 -1
- package/dist/esm/components/Profile/RightMenuSectionItem/index.js.map +1 -1
- package/dist/esm/components/Profile/SetUpAccess/index.js +33 -3
- package/dist/esm/components/Profile/SetUpAccess/index.js.map +1 -1
- package/dist/esm/components/ServiceCardComponent/index.js +29 -1
- package/dist/esm/components/ServiceCardComponent/index.js.map +1 -1
- package/dist/esm/components/Services/Feedback/index.js +41 -8
- package/dist/esm/components/Services/Feedback/index.js.map +1 -1
- package/dist/esm/components/Services/FileForUpload/index.js +35 -6
- package/dist/esm/components/Services/FileForUpload/index.js.map +1 -1
- package/dist/esm/components/Services/NextStepComponent/index.js +30 -1
- package/dist/esm/components/Services/NextStepComponent/index.js.map +1 -1
- package/dist/esm/components/{index.js → legacy.js} +1 -2
- package/dist/esm/components/legacy.js.map +1 -0
- package/dist/esm/customHooks/useCalendar.js.map +1 -1
- package/dist/esm/index.js +49 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/utils/calendar.js.map +1 -1
- package/dist/esm/utils/date/getMonthNameProper.js.map +1 -1
- package/dist/esm/utils/debounce.js.map +1 -1
- package/dist/types/baseComponents/Accordion/index.d.ts +2 -0
- package/dist/types/baseComponents/Button/index.d.ts +4 -2
- package/dist/types/baseComponents/InputField/index.d.ts +8 -6
- package/dist/types/baseComponents/InputFieldGroup/index.d.ts +4 -0
- package/dist/types/baseComponents/Label/index.d.ts +3 -0
- package/dist/types/baseComponents/Loader/index.d.ts +5 -0
- package/dist/types/baseComponents/Modal/index.d.ts +5 -3
- package/dist/types/baseComponents/Overlay/index.d.ts +4 -2
- package/dist/types/baseComponents/RadioGroup/index.d.ts +5 -2
- package/dist/types/baseComponents/RadioToggle/index.d.ts +3 -0
- package/dist/types/baseComponents/SearchBar/index.d.ts +3 -0
- package/dist/types/baseComponents/SelectBoxButton/index.d.ts +3 -0
- package/dist/types/baseComponents/StatusText/index.d.ts +4 -0
- package/dist/types/baseComponents/TabButtons/index.d.ts +3 -0
- package/dist/types/baseComponents/TextPair/index.d.ts +4 -0
- package/dist/types/baseComponents/TextareaField/index.d.ts +6 -4
- package/dist/types/baseComponents/Typography/index.d.ts +4 -2
- package/dist/types/baseComponents/legacy.d.ts +40 -0
- package/dist/types/components/Calendar/Body/index.d.ts +3 -0
- package/dist/types/components/Calendar/index.d.ts +3 -0
- package/dist/types/components/ErrorModal/index.d.ts +3 -0
- package/dist/types/components/Identity/Agreement/index.d.ts +3 -0
- package/dist/types/components/Identity/Auth/index.d.ts +3 -0
- package/dist/types/components/Identity/EdsSuccess/index.d.ts +3 -0
- package/dist/types/components/Identity/HelpInstruction/index.d.ts +4 -0
- package/dist/types/components/Identity/IdentityHeader/index.d.ts +3 -0
- package/dist/types/components/Identity/IdentityModal/index.d.ts +3 -0
- package/dist/types/components/Messages/EmptyMessages/index.d.ts +3 -0
- package/dist/types/components/Messages/HelpNotification/index.d.ts +5 -3
- package/dist/types/components/Messages/HelpNotificationItem/index.d.ts +3 -0
- package/dist/types/components/Messages/MsgBody/index.d.ts +3 -0
- package/dist/types/components/Messages/MsgComponentHeader/index.d.ts +3 -0
- package/dist/types/components/Messages/MsgSearch/index.d.ts +3 -0
- package/dist/types/components/Navigation/ViewToggle/index.d.ts +4 -0
- package/dist/types/components/Notification/Item/index.d.ts +4 -0
- package/dist/types/components/Notification/Wrapper/index.d.ts +3 -0
- package/dist/types/components/Presale/index.d.ts +14 -0
- package/dist/types/components/Profile/DocCard/index.d.ts +4 -2
- package/dist/types/components/Profile/IconToggleItem/index.d.ts +3 -0
- package/dist/types/components/Profile/ProfileHealthGeneral/index.d.ts +3 -0
- package/dist/types/components/Profile/RightMenuSectionItem/index.d.ts +3 -0
- package/dist/types/components/Profile/SetUpAccess/index.d.ts +3 -0
- package/dist/types/components/ServiceCardComponent/index.d.ts +2 -0
- package/dist/types/components/Services/Feedback/index.d.ts +3 -0
- package/dist/types/components/Services/FileForUpload/index.d.ts +3 -0
- package/dist/types/components/Services/NextStepComponent/index.d.ts +3 -0
- package/dist/types/components/legacy.d.ts +70 -0
- package/dist/types/index.d.ts +138 -89
- package/dist/types/interfaces/Calendar.d.ts +24 -1
- package/package.json +30 -3
- package/dist/cjs/baseComponents/index.js.map +0 -1
- package/dist/cjs/components/index.js.map +0 -1
- package/dist/esm/baseComponents/index.js.map +0 -1
- package/dist/esm/components/index.js.map +0 -1
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
1
2
|
import { ILangProps } from '../../../interfaces/common/index.js';
|
|
2
3
|
import { TMsgSubMenuKeys } from '../../../interfaces/Messages.js';
|
|
3
4
|
|
|
4
5
|
interface IEmptyMessagesProps extends ILangProps {
|
|
5
6
|
pageType: TMsgSubMenuKeys;
|
|
6
7
|
}
|
|
8
|
+
declare const EmptyMessages: ({ pageType, lang }: IEmptyMessagesProps) => react.JSX.Element;
|
|
7
9
|
|
|
10
|
+
export { EmptyMessages };
|
|
8
11
|
export type { IEmptyMessagesProps };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import react__default from 'react';
|
|
2
2
|
|
|
3
3
|
interface IHelpNotificationProps {
|
|
4
|
-
icon:
|
|
5
|
-
children:
|
|
4
|
+
icon: react__default.ReactNode;
|
|
5
|
+
children: react__default.ReactNode;
|
|
6
6
|
handleOnClick?: () => void;
|
|
7
7
|
ariaLabel: string;
|
|
8
8
|
dataTestid: string;
|
|
9
9
|
}
|
|
10
|
+
declare const HelpNotification: ({ icon, children, handleOnClick, ariaLabel, dataTestid, }: IHelpNotificationProps) => react__default.JSX.Element;
|
|
10
11
|
|
|
12
|
+
export { HelpNotification };
|
|
11
13
|
export type { IHelpNotificationProps };
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
1
2
|
import { ILangProps } from '../../../interfaces/common/index.js';
|
|
2
3
|
|
|
3
4
|
interface IHelpItemProps extends ILangProps {
|
|
4
5
|
isRead: boolean;
|
|
5
6
|
isUnderline?: boolean;
|
|
6
7
|
}
|
|
8
|
+
declare const HelpNotificationItem: ({ lang, isRead, isUnderline, }: IHelpItemProps) => react.JSX.Element;
|
|
7
9
|
|
|
10
|
+
export { HelpNotificationItem };
|
|
8
11
|
export type { IHelpItemProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
1
2
|
import { ILangProps } from '../../../interfaces/common/index.js';
|
|
2
3
|
import { IMsgDataItem } from '../../../interfaces/Messages.js';
|
|
3
4
|
|
|
@@ -5,5 +6,7 @@ interface IMsgBodyProps extends ILangProps {
|
|
|
5
6
|
msgItem: IMsgDataItem;
|
|
6
7
|
handleDetailsClick: () => void;
|
|
7
8
|
}
|
|
9
|
+
declare const MsgBody: ({ msgItem, lang, handleDetailsClick, }: IMsgBodyProps) => react.JSX.Element;
|
|
8
10
|
|
|
11
|
+
export { MsgBody };
|
|
9
12
|
export type { IMsgBodyProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
1
2
|
import { ILangProps } from '../../../interfaces/common/index.js';
|
|
2
3
|
|
|
3
4
|
interface MsgComponentHeaderProps extends ILangProps {
|
|
@@ -6,5 +7,7 @@ interface MsgComponentHeaderProps extends ILangProps {
|
|
|
6
7
|
handleOpenSearch: () => void;
|
|
7
8
|
handleReadAll: () => void;
|
|
8
9
|
}
|
|
10
|
+
declare const MsgComponentHeader: ({ lang, headerText, headerAriaLabel, handleOpenSearch, handleReadAll, }: MsgComponentHeaderProps) => react.JSX.Element;
|
|
9
11
|
|
|
12
|
+
export { MsgComponentHeader };
|
|
10
13
|
export type { MsgComponentHeaderProps };
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
1
2
|
import { ILangProps } from '../../../interfaces/common/index.js';
|
|
2
3
|
|
|
3
4
|
interface IMsgSearchProps extends ILangProps {
|
|
4
5
|
handleClose: () => void;
|
|
5
6
|
handleOnEnter: (value: string) => void;
|
|
6
7
|
}
|
|
8
|
+
declare const MsgSearch: ({ lang, handleClose, handleOnEnter, }: IMsgSearchProps) => react.JSX.Element;
|
|
7
9
|
|
|
10
|
+
export { MsgSearch };
|
|
8
11
|
export type { IMsgSearchProps };
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
1
3
|
interface IViewToggleProps {
|
|
2
4
|
activeView: string;
|
|
3
5
|
setActiveView: (view: string) => void;
|
|
4
6
|
}
|
|
7
|
+
declare const ViewToggle: ({ activeView, setActiveView }: IViewToggleProps) => react.JSX.Element;
|
|
5
8
|
|
|
9
|
+
export { ViewToggle };
|
|
6
10
|
export type { IViewToggleProps };
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import { JSX } from 'react';
|
|
2
|
+
|
|
1
3
|
type TNotificationType = "success" | "error" | "warning" | "info";
|
|
2
4
|
interface INotificationComponentProps {
|
|
3
5
|
text: string;
|
|
4
6
|
type?: TNotificationType;
|
|
5
7
|
onClick?: () => void;
|
|
6
8
|
}
|
|
9
|
+
declare const NotificationItem: ({ type, text, onClick, }: INotificationComponentProps) => JSX.Element;
|
|
7
10
|
|
|
11
|
+
export { NotificationItem };
|
|
8
12
|
export type { INotificationComponentProps, TNotificationType };
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
1
2
|
import { INotificationData } from '../../../interfaces/Notification.js';
|
|
2
3
|
|
|
3
4
|
interface INotificationWrapperProps {
|
|
4
5
|
items: INotificationData[];
|
|
5
6
|
removeNotificationData: (id: string) => void;
|
|
6
7
|
}
|
|
8
|
+
declare const NotificationWrapper: ({ items, removeNotificationData, }: INotificationWrapperProps) => react.JSX.Element | null;
|
|
7
9
|
|
|
10
|
+
export { NotificationWrapper };
|
|
8
11
|
export type { INotificationWrapperProps };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IAccordionTitleProps } from './AccordionTitle/index.js';
|
|
2
|
+
import { IServiceDetailsProps } from './ServiceDetails/index.js';
|
|
3
|
+
import { IPassportDetailsProps } from './PassportDetails/index.js';
|
|
4
|
+
import * as react from 'react';
|
|
5
|
+
import { IInstructionsProps } from './Instructions/index.js';
|
|
6
|
+
|
|
7
|
+
declare const PresaleComponent: {
|
|
8
|
+
Instructions: ({ instructions, lang }: IInstructionsProps) => react.JSX.Element;
|
|
9
|
+
PassportDetails: ({ details, lang }: IPassportDetailsProps) => react.JSX.Element;
|
|
10
|
+
ServiceDetails: ({ passportDetails, servicesDetails, lang, }: IServiceDetailsProps) => react.JSX.Element;
|
|
11
|
+
AccordionTitle: ({ title }: IAccordionTitleProps) => react.JSX.Element;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { PresaleComponent };
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import react__default, { JSX } from 'react';
|
|
2
2
|
import { ILangProps } from '../../../interfaces/common/index.js';
|
|
3
3
|
|
|
4
4
|
interface IDocCardProps extends ILangProps {
|
|
5
5
|
title: string;
|
|
6
6
|
docIcon: JSX.Element;
|
|
7
7
|
expiration?: string;
|
|
8
|
-
children?:
|
|
8
|
+
children?: react__default.ReactNode;
|
|
9
9
|
handleDownload: () => void;
|
|
10
10
|
}
|
|
11
|
+
declare const DocCard: ({ title, docIcon, expiration, children, lang, handleDownload, }: IDocCardProps) => JSX.Element;
|
|
11
12
|
|
|
13
|
+
export { DocCard };
|
|
12
14
|
export type { IDocCardProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
1
2
|
import { ComponentType, SVGProps, Dispatch, SetStateAction } from 'react';
|
|
2
3
|
|
|
3
4
|
interface IIconToggleItemProps {
|
|
@@ -6,5 +7,7 @@ interface IIconToggleItemProps {
|
|
|
6
7
|
lock: boolean;
|
|
7
8
|
unlock: Dispatch<SetStateAction<boolean>>;
|
|
8
9
|
}
|
|
10
|
+
declare const IconToggleItem: ({ Icon, text, lock, unlock, }: IIconToggleItemProps) => react.JSX.Element;
|
|
9
11
|
|
|
12
|
+
export { IconToggleItem };
|
|
10
13
|
export type { IIconToggleItemProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
1
2
|
import { ILangProps } from '../../../interfaces/common/index.js';
|
|
2
3
|
import { ITitleValuePair } from '../../../interfaces/Profile.js';
|
|
3
4
|
|
|
@@ -5,5 +6,7 @@ interface IProfileHealthGeneral extends ILangProps {
|
|
|
5
6
|
attachedClinic: ITitleValuePair[];
|
|
6
7
|
compulsoryHealthInsurance: ITitleValuePair[];
|
|
7
8
|
}
|
|
9
|
+
declare const ProfileHealthGeneral: ({ lang, attachedClinic, compulsoryHealthInsurance, }: IProfileHealthGeneral) => react.JSX.Element;
|
|
8
10
|
|
|
11
|
+
export { ProfileHealthGeneral };
|
|
9
12
|
export type { IProfileHealthGeneral };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
1
2
|
import { TButtonVariant } from '../../../interfaces/Button.js';
|
|
2
3
|
|
|
3
4
|
interface IRightMenuSectionItemProps {
|
|
@@ -7,5 +8,7 @@ interface IRightMenuSectionItemProps {
|
|
|
7
8
|
btnOnClick: () => void;
|
|
8
9
|
btnVariant?: TButtonVariant;
|
|
9
10
|
}
|
|
11
|
+
declare const RightMenuSectionItem: ({ title, btnText, btnOnClick, ariaLabel, btnVariant, }: IRightMenuSectionItemProps) => react.JSX.Element;
|
|
10
12
|
|
|
13
|
+
export { RightMenuSectionItem };
|
|
11
14
|
export type { IRightMenuSectionItemProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
1
2
|
import { Dispatch, SetStateAction } from 'react';
|
|
2
3
|
import { ILangProps } from '../../../interfaces/common/index.js';
|
|
3
4
|
|
|
@@ -5,5 +6,7 @@ interface ISetUpAccessProps extends ILangProps {
|
|
|
5
6
|
lock: boolean;
|
|
6
7
|
unlock: Dispatch<SetStateAction<boolean>>;
|
|
7
8
|
}
|
|
9
|
+
declare const SetUpAccess: ({ lock, unlock, lang }: ISetUpAccessProps) => react.JSX.Element;
|
|
8
10
|
|
|
11
|
+
export { SetUpAccess };
|
|
9
12
|
export type { ISetUpAccessProps };
|
|
@@ -13,5 +13,7 @@ interface IServiceCardComponentProps {
|
|
|
13
13
|
};
|
|
14
14
|
isNew: boolean;
|
|
15
15
|
}
|
|
16
|
+
declare const ServiceCardComponent: ({ handleOrderService, badge, isNew, title, }: IServiceCardComponentProps) => JSX.Element;
|
|
16
17
|
|
|
18
|
+
export { ServiceCardComponent };
|
|
17
19
|
export type { IServiceCardComponentProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
1
2
|
import { Dispatch, SetStateAction } from 'react';
|
|
2
3
|
import { ILangProps } from '../../../interfaces/common/index.js';
|
|
3
4
|
|
|
@@ -9,5 +10,7 @@ interface IFeedbackProps extends ILangProps {
|
|
|
9
10
|
value?: string;
|
|
10
11
|
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
11
12
|
}
|
|
13
|
+
declare const Feedback: ({ onAction, value, onChange, lang, rating, setRating, setOpen, }: IFeedbackProps) => react.JSX.Element;
|
|
12
14
|
|
|
15
|
+
export { Feedback };
|
|
13
16
|
export type { IFeedbackProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
1
2
|
import { ILangProps } from '../../../interfaces/common/index.js';
|
|
2
3
|
|
|
3
4
|
interface IUploadedFile {
|
|
@@ -10,5 +11,7 @@ interface IFileForUploadProps extends ILangProps {
|
|
|
10
11
|
uploadingFile: IUploadedFile;
|
|
11
12
|
handleRemoveFile: () => void;
|
|
12
13
|
}
|
|
14
|
+
declare const FileForUpload: ({ lang, uploadingFile, handleRemoveFile, }: IFileForUploadProps) => react.JSX.Element;
|
|
13
15
|
|
|
16
|
+
export { FileForUpload };
|
|
14
17
|
export type { IFileForUploadProps, IUploadedFile };
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
1
2
|
import { ILangProps } from '../../../interfaces/common/index.js';
|
|
2
3
|
|
|
3
4
|
interface INextStepComponentProps extends ILangProps {
|
|
4
5
|
disabled: boolean;
|
|
5
6
|
handleNextStepClick: () => Promise<void>;
|
|
6
7
|
}
|
|
8
|
+
declare const NextStepComponent: ({ disabled, handleNextStepClick, lang, }: INextStepComponentProps) => react.JSX.Element;
|
|
7
9
|
|
|
10
|
+
export { NextStepComponent };
|
|
8
11
|
export type { INextStepComponentProps };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ICalendarProps } from './Calendar/index.js';
|
|
2
|
+
import { IServiceCardComponentProps } from './ServiceCardComponent/index.js';
|
|
3
|
+
import { IAccordionTitleProps } from './Presale/AccordionTitle/index.js';
|
|
4
|
+
import { IServiceDetailsProps } from './Presale/ServiceDetails/index.js';
|
|
5
|
+
import { IPassportDetailsProps } from './Presale/PassportDetails/index.js';
|
|
6
|
+
import { IInstructionsProps } from './Presale/Instructions/index.js';
|
|
7
|
+
import { IErrorModalProps } from './ErrorModal/index.js';
|
|
8
|
+
import * as react from 'react';
|
|
9
|
+
import { ICalendarBodyProps } from './Calendar/Body/index.js';
|
|
10
|
+
import { IAgreementStepProps } from './Identity/Agreement/index.js';
|
|
11
|
+
import { IAuthStepProps } from './Identity/Auth/index.js';
|
|
12
|
+
import { IEdsSuccessProps } from './Identity/EdsSuccess/index.js';
|
|
13
|
+
import { IHelpInstructionProps } from './Identity/HelpInstruction/index.js';
|
|
14
|
+
import { IPrimaryProps } from './Identity/IdentityHeader/index.js';
|
|
15
|
+
import { IIdentityModalProps } from './Identity/IdentityModal/index.js';
|
|
16
|
+
import { IEmptyMessagesProps } from './Messages/EmptyMessages/index.js';
|
|
17
|
+
import { IHelpNotificationProps } from './Messages/HelpNotification/index.js';
|
|
18
|
+
import { IHelpItemProps } from './Messages/HelpNotificationItem/index.js';
|
|
19
|
+
import { IMsgBodyProps } from './Messages/MsgBody/index.js';
|
|
20
|
+
import { MsgComponentHeaderProps } from './Messages/MsgComponentHeader/index.js';
|
|
21
|
+
import { IMsgSearchProps } from './Messages/MsgSearch/index.js';
|
|
22
|
+
import { IViewToggleProps } from './Navigation/ViewToggle/index.js';
|
|
23
|
+
import { INotificationComponentProps } from './Notification/Item/index.js';
|
|
24
|
+
import { INotificationWrapperProps } from './Notification/Wrapper/index.js';
|
|
25
|
+
import { IDocCardProps } from './Profile/DocCard/index.js';
|
|
26
|
+
import { IIconToggleItemProps } from './Profile/IconToggleItem/index.js';
|
|
27
|
+
import { IProfileHealthGeneral } from './Profile/ProfileHealthGeneral/index.js';
|
|
28
|
+
import { IRightMenuSectionItemProps } from './Profile/RightMenuSectionItem/index.js';
|
|
29
|
+
import { ISetUpAccessProps } from './Profile/SetUpAccess/index.js';
|
|
30
|
+
import { IFeedbackProps } from './Services/Feedback/index.js';
|
|
31
|
+
import { IFileForUploadProps } from './Services/FileForUpload/index.js';
|
|
32
|
+
import { INextStepComponentProps } from './Services/NextStepComponent/index.js';
|
|
33
|
+
|
|
34
|
+
declare const Components: {
|
|
35
|
+
Agreement: ({ lang, agreementText, submitAgreementAndSign, }: IAgreementStepProps) => react.JSX.Element;
|
|
36
|
+
Auth: ({ lang, handleEdsClick, handleRegistrationClick, handleDownloadAppClick, }: IAuthStepProps) => react.JSX.Element;
|
|
37
|
+
DocCard: ({ title, docIcon, expiration, children, lang, handleDownload, }: IDocCardProps) => react.JSX.Element;
|
|
38
|
+
EdsSuccess: ({ lang, handleEdsOnclick }: IEdsSuccessProps) => react.JSX.Element;
|
|
39
|
+
EmptyMessages: ({ pageType, lang }: IEmptyMessagesProps) => react.JSX.Element;
|
|
40
|
+
ErrorModal: ({ status, message, lang, isOpen, onClose, onAuthAction, }: IErrorModalProps) => react.JSX.Element;
|
|
41
|
+
Feedback: ({ onAction, value, onChange, lang, rating, setRating, setOpen, }: IFeedbackProps) => react.JSX.Element;
|
|
42
|
+
FileForUpload: ({ lang, uploadingFile, handleRemoveFile, }: IFileForUploadProps) => react.JSX.Element;
|
|
43
|
+
HelpNotification: ({ icon, children, handleOnClick, ariaLabel, dataTestid, }: IHelpNotificationProps) => react.JSX.Element;
|
|
44
|
+
HelpNotificationItem: ({ lang, isRead, isUnderline, }: IHelpItemProps) => react.JSX.Element;
|
|
45
|
+
IconToggleItem: ({ Icon, text, lock, unlock, }: IIconToggleItemProps) => react.JSX.Element;
|
|
46
|
+
IdentityHeader: ({ goMainPage, lang }: IPrimaryProps) => react.JSX.Element;
|
|
47
|
+
IdentityModal: ({ children, goBackService, handleLangChange, isMain, lang, navigator, }: IIdentityModalProps) => react.JSX.Element;
|
|
48
|
+
MsgBody: ({ msgItem, lang, handleDetailsClick, }: IMsgBodyProps) => react.JSX.Element;
|
|
49
|
+
MsgComponentHeader: ({ lang, headerText, headerAriaLabel, handleOpenSearch, handleReadAll, }: MsgComponentHeaderProps) => react.JSX.Element;
|
|
50
|
+
MsgSearch: ({ lang, handleClose, handleOnEnter, }: IMsgSearchProps) => react.JSX.Element;
|
|
51
|
+
NextStepComponent: ({ disabled, handleNextStepClick, lang, }: INextStepComponentProps) => react.JSX.Element;
|
|
52
|
+
ProfileHealthGeneral: ({ lang, attachedClinic, compulsoryHealthInsurance, }: IProfileHealthGeneral) => react.JSX.Element;
|
|
53
|
+
RightMenuSectionItem: ({ title, btnText, btnOnClick, ariaLabel, btnVariant, }: IRightMenuSectionItemProps) => react.JSX.Element;
|
|
54
|
+
SetUpAccess: ({ lock, unlock, lang }: ISetUpAccessProps) => react.JSX.Element;
|
|
55
|
+
ViewToggle: ({ activeView, setActiveView }: IViewToggleProps) => react.JSX.Element;
|
|
56
|
+
HelpInstruction: ({ description, linkText, link, }: IHelpInstructionProps) => react.JSX.Element;
|
|
57
|
+
PresaleComponent: {
|
|
58
|
+
Instructions: ({ instructions, lang }: IInstructionsProps) => react.JSX.Element;
|
|
59
|
+
PassportDetails: ({ details, lang }: IPassportDetailsProps) => react.JSX.Element;
|
|
60
|
+
ServiceDetails: ({ passportDetails, servicesDetails, lang, }: IServiceDetailsProps) => react.JSX.Element;
|
|
61
|
+
AccordionTitle: ({ title }: IAccordionTitleProps) => react.JSX.Element;
|
|
62
|
+
};
|
|
63
|
+
ServiceCardComponent: ({ handleOrderService, badge, isNew, title, }: IServiceCardComponentProps) => react.JSX.Element;
|
|
64
|
+
NotificationItem: ({ type, text, onClick, }: INotificationComponentProps) => react.JSX.Element;
|
|
65
|
+
NotificationWrapper: ({ items, removeNotificationData, }: INotificationWrapperProps) => react.JSX.Element | null;
|
|
66
|
+
Calendar: ({ mode, isOpen, setIsOpen, lang, title, maxDate, selectedDate, selectedPeriod, defaultPeriodInterval, onDateChange, onPeriodChange, onSave, }: ICalendarProps) => react.JSX.Element;
|
|
67
|
+
CalendarBody: ({ lang, month, year, selectedDate, rangeStart, rangeEnd, maxDate, selectedPeriodInterval, onDayClick, onMonthChange, }: ICalendarBodyProps) => react.JSX.Element;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export { Components };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,109 +1,158 @@
|
|
|
1
|
-
import { ICalendarBodyProps } from './components/Calendar/Body/index.js';
|
|
2
|
-
import { ICalendarProps } from './components/Calendar/index.js';
|
|
3
|
-
import { INotificationWrapperProps } from './components/Notification/Wrapper/index.js';
|
|
4
|
-
import { INotificationComponentProps } from './components/Notification/Item/index.js';
|
|
5
|
-
import { IServiceCardComponentProps } from './components/ServiceCardComponent/index.js';
|
|
6
1
|
import { IAccordionTitleProps } from './components/Presale/AccordionTitle/index.js';
|
|
7
2
|
import { IServiceDetailsProps } from './components/Presale/ServiceDetails/index.js';
|
|
8
3
|
import { IPassportDetailsProps } from './components/Presale/PassportDetails/index.js';
|
|
9
4
|
import { IInstructionsProps } from './components/Presale/Instructions/index.js';
|
|
5
|
+
import { ICalendarProps } from './components/Calendar/index.js';
|
|
6
|
+
export { Calendar } from './components/Calendar/index.js';
|
|
7
|
+
import { ICalendarBodyProps } from './components/Calendar/Body/index.js';
|
|
8
|
+
export { CalendarBody } from './components/Calendar/Body/index.js';
|
|
9
|
+
import { IErrorModalProps } from './components/ErrorModal/index.js';
|
|
10
|
+
export { ErrorModal } from './components/ErrorModal/index.js';
|
|
11
|
+
import { IAgreementStepProps } from './components/Identity/Agreement/index.js';
|
|
12
|
+
export { Agreement } from './components/Identity/Agreement/index.js';
|
|
13
|
+
import { IAuthStepProps } from './components/Identity/Auth/index.js';
|
|
14
|
+
export { Auth } from './components/Identity/Auth/index.js';
|
|
15
|
+
import { IEdsSuccessProps } from './components/Identity/EdsSuccess/index.js';
|
|
16
|
+
export { EdsSuccess } from './components/Identity/EdsSuccess/index.js';
|
|
10
17
|
import { IHelpInstructionProps } from './components/Identity/HelpInstruction/index.js';
|
|
11
|
-
|
|
12
|
-
import { ISetUpAccessProps } from './components/Profile/SetUpAccess/index.js';
|
|
13
|
-
import { IRightMenuSectionItemProps } from './components/Profile/RightMenuSectionItem/index.js';
|
|
14
|
-
import { IProfileHealthGeneral } from './components/Profile/ProfileHealthGeneral/index.js';
|
|
15
|
-
import { INextStepComponentProps } from './components/Services/NextStepComponent/index.js';
|
|
16
|
-
import { IMsgSearchProps } from './components/Messages/MsgSearch/index.js';
|
|
17
|
-
import { MsgComponentHeaderProps } from './components/Messages/MsgComponentHeader/index.js';
|
|
18
|
-
import { IMsgBodyProps } from './components/Messages/MsgBody/index.js';
|
|
19
|
-
import { IIdentityModalProps } from './components/Identity/IdentityModal/index.js';
|
|
18
|
+
export { HelpInstruction } from './components/Identity/HelpInstruction/index.js';
|
|
20
19
|
import { IPrimaryProps } from './components/Identity/IdentityHeader/index.js';
|
|
21
|
-
|
|
22
|
-
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
import { IFeedbackProps } from './components/Services/Feedback/index.js';
|
|
26
|
-
import { IErrorModalProps } from './components/ErrorModal/index.js';
|
|
20
|
+
export { IdentityHeader } from './components/Identity/IdentityHeader/index.js';
|
|
21
|
+
import { IIdentityModalProps } from './components/Identity/IdentityModal/index.js';
|
|
22
|
+
export { IdentityModal } from './components/Identity/IdentityModal/index.js';
|
|
23
|
+
export { Components } from './components/legacy.js';
|
|
27
24
|
import { IEmptyMessagesProps } from './components/Messages/EmptyMessages/index.js';
|
|
28
|
-
|
|
25
|
+
export { EmptyMessages } from './components/Messages/EmptyMessages/index.js';
|
|
26
|
+
import { IHelpNotificationProps } from './components/Messages/HelpNotification/index.js';
|
|
27
|
+
export { HelpNotification } from './components/Messages/HelpNotification/index.js';
|
|
28
|
+
import { IHelpItemProps } from './components/Messages/HelpNotificationItem/index.js';
|
|
29
|
+
export { HelpNotificationItem } from './components/Messages/HelpNotificationItem/index.js';
|
|
30
|
+
import { IMsgBodyProps } from './components/Messages/MsgBody/index.js';
|
|
31
|
+
export { MsgBody } from './components/Messages/MsgBody/index.js';
|
|
32
|
+
import { MsgComponentHeaderProps } from './components/Messages/MsgComponentHeader/index.js';
|
|
33
|
+
export { MsgComponentHeader } from './components/Messages/MsgComponentHeader/index.js';
|
|
34
|
+
import { IMsgSearchProps } from './components/Messages/MsgSearch/index.js';
|
|
35
|
+
export { MsgSearch } from './components/Messages/MsgSearch/index.js';
|
|
36
|
+
import { IViewToggleProps } from './components/Navigation/ViewToggle/index.js';
|
|
37
|
+
export { ViewToggle } from './components/Navigation/ViewToggle/index.js';
|
|
38
|
+
import { INotificationComponentProps } from './components/Notification/Item/index.js';
|
|
39
|
+
export { NotificationItem } from './components/Notification/Item/index.js';
|
|
40
|
+
import { INotificationWrapperProps } from './components/Notification/Wrapper/index.js';
|
|
41
|
+
export { NotificationWrapper } from './components/Notification/Wrapper/index.js';
|
|
42
|
+
export { PresaleComponent } from './components/Presale/index.js';
|
|
29
43
|
import { IDocCardProps } from './components/Profile/DocCard/index.js';
|
|
30
|
-
|
|
31
|
-
import {
|
|
32
|
-
|
|
33
|
-
import {
|
|
34
|
-
|
|
35
|
-
import {
|
|
36
|
-
|
|
37
|
-
import {
|
|
38
|
-
|
|
39
|
-
import {
|
|
40
|
-
|
|
41
|
-
import {
|
|
42
|
-
|
|
43
|
-
import {
|
|
44
|
-
|
|
44
|
+
export { DocCard } from './components/Profile/DocCard/index.js';
|
|
45
|
+
import { IIconToggleItemProps } from './components/Profile/IconToggleItem/index.js';
|
|
46
|
+
export { IconToggleItem } from './components/Profile/IconToggleItem/index.js';
|
|
47
|
+
import { IProfileHealthGeneral } from './components/Profile/ProfileHealthGeneral/index.js';
|
|
48
|
+
export { ProfileHealthGeneral } from './components/Profile/ProfileHealthGeneral/index.js';
|
|
49
|
+
import { IRightMenuSectionItemProps } from './components/Profile/RightMenuSectionItem/index.js';
|
|
50
|
+
export { RightMenuSectionItem } from './components/Profile/RightMenuSectionItem/index.js';
|
|
51
|
+
import { ISetUpAccessProps } from './components/Profile/SetUpAccess/index.js';
|
|
52
|
+
export { SetUpAccess } from './components/Profile/SetUpAccess/index.js';
|
|
53
|
+
import { IServiceCardComponentProps } from './components/ServiceCardComponent/index.js';
|
|
54
|
+
export { ServiceCardComponent } from './components/ServiceCardComponent/index.js';
|
|
55
|
+
import { IFeedbackProps } from './components/Services/Feedback/index.js';
|
|
56
|
+
export { Feedback } from './components/Services/Feedback/index.js';
|
|
57
|
+
import { IFileForUploadProps } from './components/Services/FileForUpload/index.js';
|
|
58
|
+
export { FileForUpload } from './components/Services/FileForUpload/index.js';
|
|
59
|
+
import { INextStepComponentProps } from './components/Services/NextStepComponent/index.js';
|
|
60
|
+
export { NextStepComponent } from './components/Services/NextStepComponent/index.js';
|
|
61
|
+
import * as react from 'react';
|
|
62
|
+
import { IAccordionProps } from './baseComponents/Accordion/index.js';
|
|
63
|
+
export { Accordion } from './baseComponents/Accordion/index.js';
|
|
64
|
+
import { IButtonProps } from './baseComponents/Button/index.js';
|
|
65
|
+
export { Button } from './baseComponents/Button/index.js';
|
|
45
66
|
import { IInputFieldProps } from './baseComponents/InputField/index.js';
|
|
67
|
+
export { InputField } from './baseComponents/InputField/index.js';
|
|
68
|
+
import { IInputFieldGroupProps } from './baseComponents/InputFieldGroup/index.js';
|
|
69
|
+
export { InputFieldGroup } from './baseComponents/InputFieldGroup/index.js';
|
|
70
|
+
import { ILabelProps } from './baseComponents/Label/index.js';
|
|
71
|
+
export { Label } from './baseComponents/Label/index.js';
|
|
72
|
+
export { Loader } from './baseComponents/Loader/index.js';
|
|
73
|
+
export { BaseComponents } from './baseComponents/legacy.js';
|
|
74
|
+
import { IModalProps } from './baseComponents/Modal/index.js';
|
|
75
|
+
export { IFooterButtonsItem, Modal } from './baseComponents/Modal/index.js';
|
|
76
|
+
import { IOverlayProps } from './baseComponents/Overlay/index.js';
|
|
77
|
+
export { Overlay } from './baseComponents/Overlay/index.js';
|
|
46
78
|
import { ICustomRadioButtonProps, IRadioGroupProps } from './baseComponents/RadioGroup/index.js';
|
|
47
|
-
|
|
48
|
-
import
|
|
49
|
-
|
|
79
|
+
export { CustomRadioButton, IRadioGroupItem, RadioGroup } from './baseComponents/RadioGroup/index.js';
|
|
80
|
+
import { IRadioToggleProps } from './baseComponents/RadioToggle/index.js';
|
|
81
|
+
export { RadioToggle } from './baseComponents/RadioToggle/index.js';
|
|
82
|
+
import { ISearchBarProps } from './baseComponents/SearchBar/index.js';
|
|
83
|
+
export { SearchBar } from './baseComponents/SearchBar/index.js';
|
|
84
|
+
import { ISelectBoxProps } from './baseComponents/SelectBoxButton/index.js';
|
|
85
|
+
export { SelectBoxButton } from './baseComponents/SelectBoxButton/index.js';
|
|
86
|
+
import { IStatusTextProps } from './baseComponents/StatusText/index.js';
|
|
87
|
+
export { StatusText } from './baseComponents/StatusText/index.js';
|
|
88
|
+
import { ITabButtonsProps } from './baseComponents/TabButtons/index.js';
|
|
89
|
+
export { TabButtons } from './baseComponents/TabButtons/index.js';
|
|
90
|
+
import { ITextareaFieldProps } from './baseComponents/TextareaField/index.js';
|
|
91
|
+
export { TextareaField } from './baseComponents/TextareaField/index.js';
|
|
92
|
+
import { ITextPairProps } from './baseComponents/TextPair/index.js';
|
|
93
|
+
export { TextPair } from './baseComponents/TextPair/index.js';
|
|
94
|
+
import { ITypographyProps } from './baseComponents/Typography/index.js';
|
|
95
|
+
export { Typography } from './baseComponents/Typography/index.js';
|
|
96
|
+
export { ICalendarDayCell, ICalendarPeriod, IDateItem, IPeriodKeys, ISelectedPeriod, IStrictSelectedPeriod, TCalendarMode, TPeriodKeys, TTimeUnit } from './interfaces/Calendar.js';
|
|
97
|
+
export { IHTMLAttributesDataProps, ILangGeneric, ILangProps, IRouterClosure, TPageOwner } from './interfaces/common/index.js';
|
|
98
|
+
export { INotificationData, TNotificationType } from './interfaces/Notification.js';
|
|
50
99
|
|
|
51
100
|
declare const SystemDesign: {
|
|
52
101
|
BaseComponents: {
|
|
53
|
-
Accordion: ({ open, setOpen, children, title, }: IAccordionProps) =>
|
|
54
|
-
Button: ({ onClick, children, style, className, isRounded, isIcon, disabled, variant, size, "aria-label": ariaLabel, "data-testid": dataTestid, ...rest }: IButtonProps) =>
|
|
55
|
-
CustomRadioButton: ({ label, name, checked, onChange, value, }: ICustomRadioButtonProps) =>
|
|
56
|
-
InputField:
|
|
57
|
-
InputFieldGroup: ({ length, code, "aria-label": ariaLabel, "data-testid": dataTestid, className, isFocused, setIsFocused, hintText, isError, handleInputChange, }: IInputFieldGroupProps) =>
|
|
58
|
-
Label: ({ variant, text, isSpaced, Icon, onAction, }: ILabelProps) =>
|
|
59
|
-
Loader: () =>
|
|
60
|
-
Modal: ({ children, header, lang, isOpen, setIsOpen, variant, isWithOverlay, isContentScroll, isAnimated, footerButtons, }: IModalProps) =>
|
|
61
|
-
Overlay: ({ children, className }: IOverlayProps) =>
|
|
62
|
-
RadioGroup: ({ radioGroupItems, setSelectedOption, selectedOption, }: IRadioGroupProps) =>
|
|
63
|
-
RadioToggle: ({ lock, setLock }: IRadioToggleProps) =>
|
|
64
|
-
SearchBar: ({ lang, handleModalOpen, handleOnEnter, handleOnClear, handleOnChange, variant, loading, disabled, defaultValue, showClearButton, placeholder, "aria-label": ariaLabel, debounceDelay, }: ISearchBarProps) =>
|
|
65
|
-
SelectBoxButton: ({ handleClick, labelText, disabled, error, modalValue, lang, }: ISelectBoxProps) =>
|
|
66
|
-
StatusText: ({ text, isAlignedCenter, isNeedIcon, variant, }: IStatusTextProps) =>
|
|
67
|
-
TabButtons: ({ tabDocLabels, activeTab, handleClick, }: ITabButtonsProps) =>
|
|
68
|
-
TextareaField:
|
|
69
|
-
TextPair: ({ mainText, secondaryText, variant, }: ITextPairProps) =>
|
|
70
|
-
Typography:
|
|
102
|
+
Accordion: ({ open, setOpen, children, title, }: IAccordionProps) => react.JSX.Element;
|
|
103
|
+
Button: ({ onClick, children, style, className, isRounded, isIcon, disabled, variant, size, "aria-label": ariaLabel, "data-testid": dataTestid, ...rest }: IButtonProps) => react.JSX.Element;
|
|
104
|
+
CustomRadioButton: ({ label, name, checked, onChange, value, }: ICustomRadioButtonProps) => react.JSX.Element;
|
|
105
|
+
InputField: react.ForwardRefExoticComponent<IInputFieldProps & react.RefAttributes<HTMLInputElement>>;
|
|
106
|
+
InputFieldGroup: ({ length, code, "aria-label": ariaLabel, "data-testid": dataTestid, className, isFocused, setIsFocused, hintText, isError, handleInputChange, }: IInputFieldGroupProps) => react.JSX.Element;
|
|
107
|
+
Label: ({ variant, text, isSpaced, Icon, onAction, }: ILabelProps) => react.JSX.Element;
|
|
108
|
+
Loader: () => react.JSX.Element;
|
|
109
|
+
Modal: ({ children, header, lang, isOpen, setIsOpen, variant, isWithOverlay, isContentScroll, isAnimated, footerButtons, }: IModalProps) => react.JSX.Element;
|
|
110
|
+
Overlay: ({ children, className }: IOverlayProps) => react.JSX.Element;
|
|
111
|
+
RadioGroup: ({ radioGroupItems, setSelectedOption, selectedOption, }: IRadioGroupProps) => react.JSX.Element;
|
|
112
|
+
RadioToggle: ({ lock, setLock }: IRadioToggleProps) => react.JSX.Element;
|
|
113
|
+
SearchBar: ({ lang, handleModalOpen, handleOnEnter, handleOnClear, handleOnChange, variant, loading, disabled, defaultValue, showClearButton, placeholder, "aria-label": ariaLabel, debounceDelay, }: ISearchBarProps) => react.JSX.Element;
|
|
114
|
+
SelectBoxButton: ({ handleClick, labelText, disabled, error, modalValue, lang, }: ISelectBoxProps) => react.JSX.Element;
|
|
115
|
+
StatusText: ({ text, isAlignedCenter, isNeedIcon, variant, }: IStatusTextProps) => react.JSX.Element;
|
|
116
|
+
TabButtons: ({ tabDocLabels, activeTab, handleClick, }: ITabButtonsProps) => react.JSX.Element;
|
|
117
|
+
TextareaField: react.ForwardRefExoticComponent<ITextareaFieldProps & react.RefAttributes<HTMLTextAreaElement>>;
|
|
118
|
+
TextPair: ({ mainText, secondaryText, variant, }: ITextPairProps) => react.JSX.Element;
|
|
119
|
+
Typography: react.FC<ITypographyProps>;
|
|
71
120
|
};
|
|
72
121
|
Components: {
|
|
73
|
-
Agreement: ({ lang, agreementText, submitAgreementAndSign, }: IAgreementStepProps) =>
|
|
74
|
-
Auth: ({ lang, handleEdsClick, handleRegistrationClick, handleDownloadAppClick, }: IAuthStepProps) =>
|
|
75
|
-
DocCard: ({ title, docIcon, expiration, children, lang, handleDownload, }: IDocCardProps) =>
|
|
76
|
-
EdsSuccess: ({ lang, handleEdsOnclick }: IEdsSuccessProps) =>
|
|
77
|
-
EmptyMessages: ({ pageType, lang }: IEmptyMessagesProps) =>
|
|
78
|
-
ErrorModal: ({ status, message, lang, isOpen, onClose, onAuthAction, }: IErrorModalProps) =>
|
|
79
|
-
Feedback: ({ onAction, value, onChange, lang, rating, setRating, setOpen, }: IFeedbackProps) =>
|
|
80
|
-
FileForUpload: ({ lang, uploadingFile, handleRemoveFile, }: IFileForUploadProps) =>
|
|
81
|
-
HelpNotification: ({ icon, children, handleOnClick, ariaLabel, dataTestid, }: IHelpNotificationProps) =>
|
|
82
|
-
HelpNotificationItem: ({ lang, isRead, isUnderline, }: IHelpItemProps) =>
|
|
83
|
-
IconToggleItem: ({ Icon, text, lock, unlock, }: IIconToggleItemProps) =>
|
|
84
|
-
IdentityHeader: ({ goMainPage, lang }: IPrimaryProps) =>
|
|
85
|
-
IdentityModal: ({ children, goBackService, handleLangChange, isMain, lang, navigator, }: IIdentityModalProps) =>
|
|
86
|
-
MsgBody: ({ msgItem, lang, handleDetailsClick, }: IMsgBodyProps) =>
|
|
87
|
-
MsgComponentHeader: ({ lang, headerText, headerAriaLabel, handleOpenSearch, handleReadAll, }: MsgComponentHeaderProps) =>
|
|
88
|
-
MsgSearch: ({ lang, handleClose, handleOnEnter, }: IMsgSearchProps) =>
|
|
89
|
-
NextStepComponent: ({ disabled, handleNextStepClick, lang, }: INextStepComponentProps) =>
|
|
90
|
-
ProfileHealthGeneral: ({ lang, attachedClinic, compulsoryHealthInsurance, }: IProfileHealthGeneral) =>
|
|
91
|
-
RightMenuSectionItem: ({ title, btnText, btnOnClick, ariaLabel, btnVariant, }: IRightMenuSectionItemProps) =>
|
|
92
|
-
SetUpAccess: ({ lock, unlock, lang }: ISetUpAccessProps) =>
|
|
93
|
-
ViewToggle: ({ activeView, setActiveView }: IViewToggleProps) =>
|
|
94
|
-
HelpInstruction: ({ description, linkText, link, }: IHelpInstructionProps) =>
|
|
122
|
+
Agreement: ({ lang, agreementText, submitAgreementAndSign, }: IAgreementStepProps) => react.JSX.Element;
|
|
123
|
+
Auth: ({ lang, handleEdsClick, handleRegistrationClick, handleDownloadAppClick, }: IAuthStepProps) => react.JSX.Element;
|
|
124
|
+
DocCard: ({ title, docIcon, expiration, children, lang, handleDownload, }: IDocCardProps) => react.JSX.Element;
|
|
125
|
+
EdsSuccess: ({ lang, handleEdsOnclick }: IEdsSuccessProps) => react.JSX.Element;
|
|
126
|
+
EmptyMessages: ({ pageType, lang }: IEmptyMessagesProps) => react.JSX.Element;
|
|
127
|
+
ErrorModal: ({ status, message, lang, isOpen, onClose, onAuthAction, }: IErrorModalProps) => react.JSX.Element;
|
|
128
|
+
Feedback: ({ onAction, value, onChange, lang, rating, setRating, setOpen, }: IFeedbackProps) => react.JSX.Element;
|
|
129
|
+
FileForUpload: ({ lang, uploadingFile, handleRemoveFile, }: IFileForUploadProps) => react.JSX.Element;
|
|
130
|
+
HelpNotification: ({ icon, children, handleOnClick, ariaLabel, dataTestid, }: IHelpNotificationProps) => react.JSX.Element;
|
|
131
|
+
HelpNotificationItem: ({ lang, isRead, isUnderline, }: IHelpItemProps) => react.JSX.Element;
|
|
132
|
+
IconToggleItem: ({ Icon, text, lock, unlock, }: IIconToggleItemProps) => react.JSX.Element;
|
|
133
|
+
IdentityHeader: ({ goMainPage, lang }: IPrimaryProps) => react.JSX.Element;
|
|
134
|
+
IdentityModal: ({ children, goBackService, handleLangChange, isMain, lang, navigator, }: IIdentityModalProps) => react.JSX.Element;
|
|
135
|
+
MsgBody: ({ msgItem, lang, handleDetailsClick, }: IMsgBodyProps) => react.JSX.Element;
|
|
136
|
+
MsgComponentHeader: ({ lang, headerText, headerAriaLabel, handleOpenSearch, handleReadAll, }: MsgComponentHeaderProps) => react.JSX.Element;
|
|
137
|
+
MsgSearch: ({ lang, handleClose, handleOnEnter, }: IMsgSearchProps) => react.JSX.Element;
|
|
138
|
+
NextStepComponent: ({ disabled, handleNextStepClick, lang, }: INextStepComponentProps) => react.JSX.Element;
|
|
139
|
+
ProfileHealthGeneral: ({ lang, attachedClinic, compulsoryHealthInsurance, }: IProfileHealthGeneral) => react.JSX.Element;
|
|
140
|
+
RightMenuSectionItem: ({ title, btnText, btnOnClick, ariaLabel, btnVariant, }: IRightMenuSectionItemProps) => react.JSX.Element;
|
|
141
|
+
SetUpAccess: ({ lock, unlock, lang }: ISetUpAccessProps) => react.JSX.Element;
|
|
142
|
+
ViewToggle: ({ activeView, setActiveView }: IViewToggleProps) => react.JSX.Element;
|
|
143
|
+
HelpInstruction: ({ description, linkText, link, }: IHelpInstructionProps) => react.JSX.Element;
|
|
95
144
|
PresaleComponent: {
|
|
96
|
-
Instructions: ({ instructions, lang }: IInstructionsProps) =>
|
|
97
|
-
PassportDetails: ({ details, lang }: IPassportDetailsProps) =>
|
|
98
|
-
ServiceDetails: ({ passportDetails, servicesDetails, lang, }: IServiceDetailsProps) =>
|
|
99
|
-
AccordionTitle: ({ title }: IAccordionTitleProps) =>
|
|
145
|
+
Instructions: ({ instructions, lang }: IInstructionsProps) => react.JSX.Element;
|
|
146
|
+
PassportDetails: ({ details, lang }: IPassportDetailsProps) => react.JSX.Element;
|
|
147
|
+
ServiceDetails: ({ passportDetails, servicesDetails, lang, }: IServiceDetailsProps) => react.JSX.Element;
|
|
148
|
+
AccordionTitle: ({ title }: IAccordionTitleProps) => react.JSX.Element;
|
|
100
149
|
};
|
|
101
|
-
ServiceCardComponent: ({ handleOrderService, badge, isNew, title, }: IServiceCardComponentProps) =>
|
|
102
|
-
NotificationItem: ({ type, text, onClick, }: INotificationComponentProps) =>
|
|
103
|
-
NotificationWrapper: ({ items, removeNotificationData, }: INotificationWrapperProps) =>
|
|
104
|
-
Calendar: ({ mode, isOpen, setIsOpen, lang, title, maxDate, selectedDate, selectedPeriod, defaultPeriodInterval, onDateChange, onPeriodChange, onSave, }: ICalendarProps) =>
|
|
105
|
-
CalendarBody: ({ lang, month, year, selectedDate, rangeStart, rangeEnd, maxDate, selectedPeriodInterval, onDayClick, onMonthChange, }: ICalendarBodyProps) =>
|
|
150
|
+
ServiceCardComponent: ({ handleOrderService, badge, isNew, title, }: IServiceCardComponentProps) => react.JSX.Element;
|
|
151
|
+
NotificationItem: ({ type, text, onClick, }: INotificationComponentProps) => react.JSX.Element;
|
|
152
|
+
NotificationWrapper: ({ items, removeNotificationData, }: INotificationWrapperProps) => react.JSX.Element | null;
|
|
153
|
+
Calendar: ({ mode, isOpen, setIsOpen, lang, title, maxDate, selectedDate, selectedPeriod, defaultPeriodInterval, onDateChange, onPeriodChange, onSave, }: ICalendarProps) => react.JSX.Element;
|
|
154
|
+
CalendarBody: ({ lang, month, year, selectedDate, rangeStart, rangeEnd, maxDate, selectedPeriodInterval, onDayClick, onMonthChange, }: ICalendarBodyProps) => react.JSX.Element;
|
|
106
155
|
};
|
|
107
156
|
};
|
|
108
157
|
|
|
109
|
-
export { SystemDesign as default };
|
|
158
|
+
export { IAccordionProps, IAgreementStepProps, IAuthStepProps, IButtonProps, ICalendarBodyProps, ICalendarProps, ICustomRadioButtonProps, IDocCardProps, IEdsSuccessProps, IEmptyMessagesProps, IErrorModalProps, IFeedbackProps, IFileForUploadProps, IHelpInstructionProps, IHelpItemProps, IHelpNotificationProps, IIconToggleItemProps, IIdentityModalProps, IInputFieldGroupProps, IInputFieldProps, ILabelProps, IModalProps, IMsgBodyProps, IMsgSearchProps, INextStepComponentProps, INotificationComponentProps, INotificationWrapperProps, IOverlayProps, IPrimaryProps, IProfileHealthGeneral, IRadioGroupProps, IRadioToggleProps, IRightMenuSectionItemProps, ISearchBarProps, ISelectBoxProps, IServiceCardComponentProps, ISetUpAccessProps, IStatusTextProps, ITabButtonsProps, ITextPairProps, ITextareaFieldProps, ITypographyProps, IViewToggleProps, MsgComponentHeaderProps, SystemDesign as default };
|