@egov3/system-design 1.3.131 → 1.3.132
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/{index.js → legacy.js} +1 -2
- package/dist/cjs/baseComponents/legacy.js.map +1 -0
- package/dist/cjs/components/Calendar/Body/index.js +29 -10
- package/dist/cjs/components/Calendar/Body/index.js.map +1 -1
- package/dist/cjs/components/Calendar/Header/index.js +23 -3
- package/dist/cjs/components/Calendar/Header/index.js.map +1 -1
- package/dist/cjs/components/Calendar/index.js +26 -7
- package/dist/cjs/components/Calendar/index.js.map +1 -1
- package/dist/cjs/components/ErrorModal/index.js +23 -4
- package/dist/cjs/components/ErrorModal/index.js.map +1 -1
- package/dist/cjs/components/Identity/Agreement/index.js +24 -4
- package/dist/cjs/components/Identity/Agreement/index.js.map +1 -1
- package/dist/cjs/components/Identity/Auth/index.js +23 -4
- package/dist/cjs/components/Identity/Auth/index.js.map +1 -1
- package/dist/cjs/components/Identity/EdsSuccess/index.js +23 -4
- package/dist/cjs/components/Identity/EdsSuccess/index.js.map +1 -1
- package/dist/cjs/components/Identity/HelpInstruction/index.js +22 -2
- package/dist/cjs/components/Identity/HelpInstruction/index.js.map +1 -1
- package/dist/cjs/components/Identity/IdentityModal/index.js +28 -8
- package/dist/cjs/components/Identity/IdentityModal/index.js.map +1 -1
- package/dist/cjs/components/Messages/EmptyMessages/index.js +23 -4
- package/dist/cjs/components/Messages/EmptyMessages/index.js.map +1 -1
- package/dist/cjs/components/Messages/HelpNotificationItem/index.js +24 -4
- package/dist/cjs/components/Messages/HelpNotificationItem/index.js.map +1 -1
- package/dist/cjs/components/Messages/MsgBody/index.js +23 -4
- package/dist/cjs/components/Messages/MsgBody/index.js.map +1 -1
- package/dist/cjs/components/Messages/MsgComponentHeader/index.js +26 -7
- package/dist/cjs/components/Messages/MsgComponentHeader/index.js.map +1 -1
- package/dist/cjs/components/Messages/MsgSearch/index.js +24 -4
- package/dist/cjs/components/Messages/MsgSearch/index.js.map +1 -1
- package/dist/cjs/components/Notification/Item/index.js +21 -2
- package/dist/cjs/components/Notification/Item/index.js.map +1 -1
- package/dist/cjs/components/Presale/AccordionTitle/index.js +22 -2
- package/dist/cjs/components/Presale/AccordionTitle/index.js.map +1 -1
- package/dist/cjs/components/Presale/Instructions/index.js +22 -2
- package/dist/cjs/components/Presale/Instructions/index.js.map +1 -1
- package/dist/cjs/components/Presale/PassportDetails/index.js +22 -2
- package/dist/cjs/components/Presale/PassportDetails/index.js.map +1 -1
- package/dist/cjs/components/Presale/ServiceDetails/index.js +26 -7
- package/dist/cjs/components/Presale/ServiceDetails/index.js.map +1 -1
- package/dist/cjs/components/Profile/DocCard/index.js +23 -4
- package/dist/cjs/components/Profile/DocCard/index.js.map +1 -1
- package/dist/cjs/components/Profile/IconToggleItem/index.js +22 -2
- package/dist/cjs/components/Profile/IconToggleItem/index.js.map +1 -1
- package/dist/cjs/components/Profile/ProfileHealthGeneral/index.js +24 -4
- package/dist/cjs/components/Profile/ProfileHealthGeneral/index.js.map +1 -1
- package/dist/cjs/components/Profile/RightMenuSectionItem/index.js +22 -2
- package/dist/cjs/components/Profile/RightMenuSectionItem/index.js.map +1 -1
- package/dist/cjs/components/Profile/SetUpAccess/index.js +21 -2
- package/dist/cjs/components/Profile/SetUpAccess/index.js.map +1 -1
- package/dist/cjs/components/ServiceCardComponent/index.js +22 -3
- package/dist/cjs/components/ServiceCardComponent/index.js.map +1 -1
- package/dist/cjs/components/Services/Feedback/index.js +24 -5
- package/dist/cjs/components/Services/Feedback/index.js.map +1 -1
- package/dist/cjs/components/Services/FileForUpload/index.js +22 -3
- package/dist/cjs/components/Services/FileForUpload/index.js.map +1 -1
- package/dist/cjs/components/Services/NextStepComponent/index.js +24 -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/index.js +98 -4
- package/dist/cjs/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 +22 -3
- package/dist/esm/components/Calendar/Body/index.js.map +1 -1
- package/dist/esm/components/Calendar/Header/index.js +22 -2
- package/dist/esm/components/Calendar/Header/index.js.map +1 -1
- package/dist/esm/components/Calendar/index.js +21 -2
- package/dist/esm/components/Calendar/index.js.map +1 -1
- package/dist/esm/components/ErrorModal/index.js +20 -1
- package/dist/esm/components/ErrorModal/index.js.map +1 -1
- package/dist/esm/components/Identity/Agreement/index.js +21 -1
- package/dist/esm/components/Identity/Agreement/index.js.map +1 -1
- package/dist/esm/components/Identity/Auth/index.js +20 -1
- package/dist/esm/components/Identity/Auth/index.js.map +1 -1
- package/dist/esm/components/Identity/EdsSuccess/index.js +20 -1
- package/dist/esm/components/Identity/EdsSuccess/index.js.map +1 -1
- package/dist/esm/components/Identity/HelpInstruction/index.js +21 -1
- package/dist/esm/components/Identity/HelpInstruction/index.js.map +1 -1
- package/dist/esm/components/Identity/IdentityModal/index.js +23 -3
- package/dist/esm/components/Identity/IdentityModal/index.js.map +1 -1
- package/dist/esm/components/Messages/EmptyMessages/index.js +20 -1
- package/dist/esm/components/Messages/EmptyMessages/index.js.map +1 -1
- package/dist/esm/components/Messages/HelpNotificationItem/index.js +22 -2
- package/dist/esm/components/Messages/HelpNotificationItem/index.js.map +1 -1
- package/dist/esm/components/Messages/MsgBody/index.js +21 -2
- package/dist/esm/components/Messages/MsgBody/index.js.map +1 -1
- package/dist/esm/components/Messages/MsgComponentHeader/index.js +20 -1
- package/dist/esm/components/Messages/MsgComponentHeader/index.js.map +1 -1
- package/dist/esm/components/Messages/MsgSearch/index.js +21 -1
- package/dist/esm/components/Messages/MsgSearch/index.js.map +1 -1
- package/dist/esm/components/Notification/Item/index.js +20 -1
- package/dist/esm/components/Notification/Item/index.js.map +1 -1
- package/dist/esm/components/Presale/AccordionTitle/index.js +21 -1
- package/dist/esm/components/Presale/AccordionTitle/index.js.map +1 -1
- package/dist/esm/components/Presale/Instructions/index.js +21 -1
- package/dist/esm/components/Presale/Instructions/index.js.map +1 -1
- package/dist/esm/components/Presale/PassportDetails/index.js +21 -1
- package/dist/esm/components/Presale/PassportDetails/index.js.map +1 -1
- package/dist/esm/components/Presale/ServiceDetails/index.js +20 -1
- package/dist/esm/components/Presale/ServiceDetails/index.js.map +1 -1
- package/dist/esm/components/Profile/DocCard/index.js +20 -1
- package/dist/esm/components/Profile/DocCard/index.js.map +1 -1
- package/dist/esm/components/Profile/IconToggleItem/index.js +21 -1
- package/dist/esm/components/Profile/IconToggleItem/index.js.map +1 -1
- package/dist/esm/components/Profile/ProfileHealthGeneral/index.js +21 -1
- package/dist/esm/components/Profile/ProfileHealthGeneral/index.js.map +1 -1
- package/dist/esm/components/Profile/RightMenuSectionItem/index.js +21 -1
- package/dist/esm/components/Profile/RightMenuSectionItem/index.js.map +1 -1
- package/dist/esm/components/Profile/SetUpAccess/index.js +20 -1
- package/dist/esm/components/Profile/SetUpAccess/index.js.map +1 -1
- package/dist/esm/components/ServiceCardComponent/index.js +20 -1
- package/dist/esm/components/ServiceCardComponent/index.js.map +1 -1
- package/dist/esm/components/Services/Feedback/index.js +20 -1
- package/dist/esm/components/Services/Feedback/index.js.map +1 -1
- package/dist/esm/components/Services/FileForUpload/index.js +21 -2
- package/dist/esm/components/Services/FileForUpload/index.js.map +1 -1
- package/dist/esm/components/Services/NextStepComponent/index.js +21 -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/index.js +49 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/types/baseComponents/Accordion/index.d.ts +3 -0
- package/dist/types/baseComponents/Button/index.d.ts +3 -0
- package/dist/types/baseComponents/InputField/index.d.ts +2 -0
- 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 +3 -0
- package/dist/types/baseComponents/Overlay/index.d.ts +3 -0
- package/dist/types/baseComponents/RadioGroup/index.d.ts +4 -0
- 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 +2 -0
- package/dist/types/baseComponents/Typography/index.d.ts +3 -1
- package/dist/types/baseComponents/legacy.d.ts +41 -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 +3 -0
- 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 +3 -0
- 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 +3 -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 +89 -39
- package/dist/types/interfaces/Calendar.d.ts +24 -1
- package/package.json +28 -1
- 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,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
2
|
import React__default from 'react';
|
|
2
3
|
|
|
3
4
|
interface IHelpNotificationProps {
|
|
@@ -7,5 +8,7 @@ interface IHelpNotificationProps {
|
|
|
7
8
|
ariaLabel: string;
|
|
8
9
|
dataTestid: string;
|
|
9
10
|
}
|
|
11
|
+
declare const HelpNotification: ({ icon, children, handleOnClick, ariaLabel, dataTestid, }: IHelpNotificationProps) => react_jsx_runtime.JSX.Element;
|
|
10
12
|
|
|
13
|
+
export { HelpNotification };
|
|
11
14
|
export type { IHelpNotificationProps };
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
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_runtime.JSX.Element;
|
|
7
9
|
|
|
10
|
+
export { HelpNotificationItem };
|
|
8
11
|
export type { IHelpItemProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
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_runtime.JSX.Element;
|
|
8
10
|
|
|
11
|
+
export { MsgBody };
|
|
9
12
|
export type { IMsgBodyProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
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_runtime.JSX.Element;
|
|
9
11
|
|
|
12
|
+
export { MsgComponentHeader };
|
|
10
13
|
export type { MsgComponentHeaderProps };
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
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_runtime.JSX.Element;
|
|
7
9
|
|
|
10
|
+
export { MsgSearch };
|
|
8
11
|
export type { IMsgSearchProps };
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
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_runtime.JSX.Element;
|
|
5
8
|
|
|
9
|
+
export { ViewToggle };
|
|
6
10
|
export type { IViewToggleProps };
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
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) => react_jsx_runtime.JSX.Element;
|
|
7
10
|
|
|
11
|
+
export { NotificationItem };
|
|
8
12
|
export type { INotificationComponentProps, TNotificationType };
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
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_runtime.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_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
+
import { IInstructionsProps } from './Instructions/index.js';
|
|
6
|
+
|
|
7
|
+
declare const PresaleComponent: {
|
|
8
|
+
Instructions: ({ instructions, lang }: IInstructionsProps) => react_jsx_runtime.JSX.Element;
|
|
9
|
+
PassportDetails: ({ details, lang }: IPassportDetailsProps) => react_jsx_runtime.JSX.Element;
|
|
10
|
+
ServiceDetails: ({ passportDetails, servicesDetails, lang, }: IServiceDetailsProps) => react_jsx_runtime.JSX.Element;
|
|
11
|
+
AccordionTitle: ({ title }: IAccordionTitleProps) => react_jsx_runtime.JSX.Element;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { PresaleComponent };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
2
|
import React__default, { JSX } from 'react';
|
|
2
3
|
import { ILangProps } from '../../../interfaces/common/index.js';
|
|
3
4
|
|
|
@@ -8,5 +9,7 @@ interface IDocCardProps extends ILangProps {
|
|
|
8
9
|
children?: React__default.ReactNode;
|
|
9
10
|
handleDownload: () => void;
|
|
10
11
|
}
|
|
12
|
+
declare const DocCard: ({ title, docIcon, expiration, children, lang, handleDownload, }: IDocCardProps) => react_jsx_runtime.JSX.Element;
|
|
11
13
|
|
|
14
|
+
export { DocCard };
|
|
12
15
|
export type { IDocCardProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
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_runtime.JSX.Element;
|
|
9
11
|
|
|
12
|
+
export { IconToggleItem };
|
|
10
13
|
export type { IIconToggleItemProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
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_runtime.JSX.Element;
|
|
8
10
|
|
|
11
|
+
export { ProfileHealthGeneral };
|
|
9
12
|
export type { IProfileHealthGeneral };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
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_runtime.JSX.Element;
|
|
10
12
|
|
|
13
|
+
export { RightMenuSectionItem };
|
|
11
14
|
export type { IRightMenuSectionItemProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
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_runtime.JSX.Element;
|
|
8
10
|
|
|
11
|
+
export { SetUpAccess };
|
|
9
12
|
export type { ISetUpAccessProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
2
|
import { JSX } from 'react';
|
|
2
3
|
|
|
3
4
|
interface IServiceCardComponentProps {
|
|
@@ -13,5 +14,7 @@ interface IServiceCardComponentProps {
|
|
|
13
14
|
};
|
|
14
15
|
isNew: boolean;
|
|
15
16
|
}
|
|
17
|
+
declare const ServiceCardComponent: ({ handleOrderService, badge, isNew, title, }: IServiceCardComponentProps) => react_jsx_runtime.JSX.Element;
|
|
16
18
|
|
|
19
|
+
export { ServiceCardComponent };
|
|
17
20
|
export type { IServiceCardComponentProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
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_runtime.JSX.Element;
|
|
12
14
|
|
|
15
|
+
export { Feedback };
|
|
13
16
|
export type { IFeedbackProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
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_runtime.JSX.Element;
|
|
13
15
|
|
|
16
|
+
export { FileForUpload };
|
|
14
17
|
export type { IFileForUploadProps, IUploadedFile };
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
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_runtime.JSX.Element;
|
|
7
9
|
|
|
10
|
+
export { NextStepComponent };
|
|
8
11
|
export type { INextStepComponentProps };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ICalendarBodyProps } from './Calendar/Body/index.js';
|
|
2
|
+
import { ICalendarProps } from './Calendar/index.js';
|
|
3
|
+
import { INotificationWrapperProps } from './Notification/Wrapper/index.js';
|
|
4
|
+
import { INotificationComponentProps } from './Notification/Item/index.js';
|
|
5
|
+
import { IServiceCardComponentProps } from './ServiceCardComponent/index.js';
|
|
6
|
+
import { IAccordionTitleProps } from './Presale/AccordionTitle/index.js';
|
|
7
|
+
import { IServiceDetailsProps } from './Presale/ServiceDetails/index.js';
|
|
8
|
+
import { IPassportDetailsProps } from './Presale/PassportDetails/index.js';
|
|
9
|
+
import { IInstructionsProps } from './Presale/Instructions/index.js';
|
|
10
|
+
import { IHelpInstructionProps } from './Identity/HelpInstruction/index.js';
|
|
11
|
+
import { IViewToggleProps } from './Navigation/ViewToggle/index.js';
|
|
12
|
+
import { ISetUpAccessProps } from './Profile/SetUpAccess/index.js';
|
|
13
|
+
import { IRightMenuSectionItemProps } from './Profile/RightMenuSectionItem/index.js';
|
|
14
|
+
import { IProfileHealthGeneral } from './Profile/ProfileHealthGeneral/index.js';
|
|
15
|
+
import { INextStepComponentProps } from './Services/NextStepComponent/index.js';
|
|
16
|
+
import { IMsgSearchProps } from './Messages/MsgSearch/index.js';
|
|
17
|
+
import { MsgComponentHeaderProps } from './Messages/MsgComponentHeader/index.js';
|
|
18
|
+
import { IMsgBodyProps } from './Messages/MsgBody/index.js';
|
|
19
|
+
import { IIdentityModalProps } from './Identity/IdentityModal/index.js';
|
|
20
|
+
import { IPrimaryProps } from './Identity/IdentityHeader/index.js';
|
|
21
|
+
import { IIconToggleItemProps } from './Profile/IconToggleItem/index.js';
|
|
22
|
+
import { IHelpItemProps } from './Messages/HelpNotificationItem/index.js';
|
|
23
|
+
import { IHelpNotificationProps } from './Messages/HelpNotification/index.js';
|
|
24
|
+
import { IFileForUploadProps } from './Services/FileForUpload/index.js';
|
|
25
|
+
import { IFeedbackProps } from './Services/Feedback/index.js';
|
|
26
|
+
import { IErrorModalProps } from './ErrorModal/index.js';
|
|
27
|
+
import { IEmptyMessagesProps } from './Messages/EmptyMessages/index.js';
|
|
28
|
+
import { IEdsSuccessProps } from './Identity/EdsSuccess/index.js';
|
|
29
|
+
import { IDocCardProps } from './Profile/DocCard/index.js';
|
|
30
|
+
import { IAuthStepProps } from './Identity/Auth/index.js';
|
|
31
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
32
|
+
import { IAgreementStepProps } from './Identity/Agreement/index.js';
|
|
33
|
+
|
|
34
|
+
declare const Components: {
|
|
35
|
+
Agreement: ({ lang, agreementText, submitAgreementAndSign, }: IAgreementStepProps) => react_jsx_runtime.JSX.Element;
|
|
36
|
+
Auth: ({ lang, handleEdsClick, handleRegistrationClick, handleDownloadAppClick, }: IAuthStepProps) => react_jsx_runtime.JSX.Element;
|
|
37
|
+
DocCard: ({ title, docIcon, expiration, children, lang, handleDownload, }: IDocCardProps) => react_jsx_runtime.JSX.Element;
|
|
38
|
+
EdsSuccess: ({ lang, handleEdsOnclick }: IEdsSuccessProps) => react_jsx_runtime.JSX.Element;
|
|
39
|
+
EmptyMessages: ({ pageType, lang }: IEmptyMessagesProps) => react_jsx_runtime.JSX.Element;
|
|
40
|
+
ErrorModal: ({ status, message, lang, isOpen, onClose, onAuthAction, }: IErrorModalProps) => react_jsx_runtime.JSX.Element;
|
|
41
|
+
Feedback: ({ onAction, value, onChange, lang, rating, setRating, setOpen, }: IFeedbackProps) => react_jsx_runtime.JSX.Element;
|
|
42
|
+
FileForUpload: ({ lang, uploadingFile, handleRemoveFile, }: IFileForUploadProps) => react_jsx_runtime.JSX.Element;
|
|
43
|
+
HelpNotification: ({ icon, children, handleOnClick, ariaLabel, dataTestid, }: IHelpNotificationProps) => react_jsx_runtime.JSX.Element;
|
|
44
|
+
HelpNotificationItem: ({ lang, isRead, isUnderline, }: IHelpItemProps) => react_jsx_runtime.JSX.Element;
|
|
45
|
+
IconToggleItem: ({ Icon, text, lock, unlock, }: IIconToggleItemProps) => react_jsx_runtime.JSX.Element;
|
|
46
|
+
IdentityHeader: ({ goMainPage, lang }: IPrimaryProps) => react_jsx_runtime.JSX.Element;
|
|
47
|
+
IdentityModal: ({ children, goBackService, handleLangChange, isMain, lang, navigator, }: IIdentityModalProps) => react_jsx_runtime.JSX.Element;
|
|
48
|
+
MsgBody: ({ msgItem, lang, handleDetailsClick, }: IMsgBodyProps) => react_jsx_runtime.JSX.Element;
|
|
49
|
+
MsgComponentHeader: ({ lang, headerText, headerAriaLabel, handleOpenSearch, handleReadAll, }: MsgComponentHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
50
|
+
MsgSearch: ({ lang, handleClose, handleOnEnter, }: IMsgSearchProps) => react_jsx_runtime.JSX.Element;
|
|
51
|
+
NextStepComponent: ({ disabled, handleNextStepClick, lang, }: INextStepComponentProps) => react_jsx_runtime.JSX.Element;
|
|
52
|
+
ProfileHealthGeneral: ({ lang, attachedClinic, compulsoryHealthInsurance, }: IProfileHealthGeneral) => react_jsx_runtime.JSX.Element;
|
|
53
|
+
RightMenuSectionItem: ({ title, btnText, btnOnClick, ariaLabel, btnVariant, }: IRightMenuSectionItemProps) => react_jsx_runtime.JSX.Element;
|
|
54
|
+
SetUpAccess: ({ lock, unlock, lang }: ISetUpAccessProps) => react_jsx_runtime.JSX.Element;
|
|
55
|
+
ViewToggle: ({ activeView, setActiveView }: IViewToggleProps) => react_jsx_runtime.JSX.Element;
|
|
56
|
+
HelpInstruction: ({ description, linkText, link, }: IHelpInstructionProps) => react_jsx_runtime.JSX.Element;
|
|
57
|
+
PresaleComponent: {
|
|
58
|
+
Instructions: ({ instructions, lang }: IInstructionsProps) => react_jsx_runtime.JSX.Element;
|
|
59
|
+
PassportDetails: ({ details, lang }: IPassportDetailsProps) => react_jsx_runtime.JSX.Element;
|
|
60
|
+
ServiceDetails: ({ passportDetails, servicesDetails, lang, }: IServiceDetailsProps) => react_jsx_runtime.JSX.Element;
|
|
61
|
+
AccordionTitle: ({ title }: IAccordionTitleProps) => react_jsx_runtime.JSX.Element;
|
|
62
|
+
};
|
|
63
|
+
ServiceCardComponent: ({ handleOrderService, badge, isNew, title, }: IServiceCardComponentProps) => react_jsx_runtime.JSX.Element;
|
|
64
|
+
NotificationItem: ({ type, text, onClick, }: INotificationComponentProps) => react_jsx_runtime.JSX.Element;
|
|
65
|
+
NotificationWrapper: ({ items, removeNotificationData, }: INotificationWrapperProps) => react_jsx_runtime.JSX.Element | null;
|
|
66
|
+
Calendar: ({ mode, isOpen, setIsOpen, lang, title, maxDate, selectedDate, selectedPeriod, defaultPeriodInterval, onDateChange, onPeriodChange, onSave, }: ICalendarProps) => react_jsx_runtime.JSX.Element;
|
|
67
|
+
CalendarBody: ({ lang, month, year, selectedDate, rangeStart, rangeEnd, maxDate, selectedPeriodInterval, onDayClick, onMonthChange, }: ICalendarBodyProps) => react_jsx_runtime.JSX.Element;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export { Components };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,52 +1,102 @@
|
|
|
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
|
+
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';
|
|
44
61
|
import * as React from 'react';
|
|
45
|
-
import { IInputFieldProps } from './baseComponents/InputField/index.js';
|
|
46
|
-
import { ICustomRadioButtonProps, IRadioGroupProps } from './baseComponents/RadioGroup/index.js';
|
|
47
|
-
import { IButtonProps } from './baseComponents/Button/index.js';
|
|
48
62
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
49
63
|
import { IAccordionProps } from './baseComponents/Accordion/index.js';
|
|
64
|
+
export { Accordion } from './baseComponents/Accordion/index.js';
|
|
65
|
+
import { IButtonProps } from './baseComponents/Button/index.js';
|
|
66
|
+
export { Button } from './baseComponents/Button/index.js';
|
|
67
|
+
import { IInputFieldProps } from './baseComponents/InputField/index.js';
|
|
68
|
+
export { InputField } from './baseComponents/InputField/index.js';
|
|
69
|
+
import { IInputFieldGroupProps } from './baseComponents/InputFieldGroup/index.js';
|
|
70
|
+
export { InputFieldGroup } from './baseComponents/InputFieldGroup/index.js';
|
|
71
|
+
import { ILabelProps } from './baseComponents/Label/index.js';
|
|
72
|
+
export { Label } from './baseComponents/Label/index.js';
|
|
73
|
+
export { Loader } from './baseComponents/Loader/index.js';
|
|
74
|
+
export { BaseComponents } from './baseComponents/legacy.js';
|
|
75
|
+
import { IModalProps } from './baseComponents/Modal/index.js';
|
|
76
|
+
export { IFooterButtonsItem, Modal } from './baseComponents/Modal/index.js';
|
|
77
|
+
import { IOverlayProps } from './baseComponents/Overlay/index.js';
|
|
78
|
+
export { Overlay } from './baseComponents/Overlay/index.js';
|
|
79
|
+
import { ICustomRadioButtonProps, IRadioGroupProps } from './baseComponents/RadioGroup/index.js';
|
|
80
|
+
export { CustomRadioButton, IRadioGroupItem, RadioGroup } from './baseComponents/RadioGroup/index.js';
|
|
81
|
+
import { IRadioToggleProps } from './baseComponents/RadioToggle/index.js';
|
|
82
|
+
export { RadioToggle } from './baseComponents/RadioToggle/index.js';
|
|
83
|
+
import { ISearchBarProps } from './baseComponents/SearchBar/index.js';
|
|
84
|
+
export { SearchBar } from './baseComponents/SearchBar/index.js';
|
|
85
|
+
import { ISelectBoxProps } from './baseComponents/SelectBoxButton/index.js';
|
|
86
|
+
export { SelectBoxButton } from './baseComponents/SelectBoxButton/index.js';
|
|
87
|
+
import { IStatusTextProps } from './baseComponents/StatusText/index.js';
|
|
88
|
+
export { StatusText } from './baseComponents/StatusText/index.js';
|
|
89
|
+
import { ITabButtonsProps } from './baseComponents/TabButtons/index.js';
|
|
90
|
+
export { TabButtons } from './baseComponents/TabButtons/index.js';
|
|
91
|
+
import { ITextareaFieldProps } from './baseComponents/TextareaField/index.js';
|
|
92
|
+
export { TextareaField } from './baseComponents/TextareaField/index.js';
|
|
93
|
+
import { ITextPairProps } from './baseComponents/TextPair/index.js';
|
|
94
|
+
export { TextPair } from './baseComponents/TextPair/index.js';
|
|
95
|
+
import { ITypographyProps } from './baseComponents/Typography/index.js';
|
|
96
|
+
export { Typography } from './baseComponents/Typography/index.js';
|
|
97
|
+
export { ICalendarDayCell, ICalendarPeriod, IDateItem, IPeriodKeys, ISelectedPeriod, IStrictSelectedPeriod, TCalendarMode, TPeriodKeys, TTimeUnit } from './interfaces/Calendar.js';
|
|
98
|
+
export { IHTMLAttributesDataProps, ILangGeneric, ILangProps, IRouterClosure, TPageOwner } from './interfaces/common/index.js';
|
|
99
|
+
export { INotificationData, TNotificationType } from './interfaces/Notification.js';
|
|
50
100
|
|
|
51
101
|
declare const SystemDesign: {
|
|
52
102
|
BaseComponents: {
|
|
@@ -106,4 +156,4 @@ declare const SystemDesign: {
|
|
|
106
156
|
};
|
|
107
157
|
};
|
|
108
158
|
|
|
109
|
-
export { SystemDesign as default };
|
|
159
|
+
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 };
|
|
@@ -4,10 +4,33 @@ interface ISelectedPeriod {
|
|
|
4
4
|
periodSelected: boolean;
|
|
5
5
|
}
|
|
6
6
|
type TCalendarMode = "default" | "period";
|
|
7
|
+
interface IStrictSelectedPeriod extends Omit<ISelectedPeriod, "fromDate" | "toDate"> {
|
|
8
|
+
fromDate: Date;
|
|
9
|
+
toDate: Date;
|
|
10
|
+
}
|
|
11
|
+
interface IDateItem<T = number> {
|
|
12
|
+
day: T;
|
|
13
|
+
month: T;
|
|
14
|
+
year: T;
|
|
15
|
+
}
|
|
7
16
|
interface IPeriodKeys {
|
|
8
17
|
from: "from";
|
|
9
18
|
to: "to";
|
|
10
19
|
}
|
|
11
20
|
type TPeriodKeys = keyof IPeriodKeys;
|
|
21
|
+
interface ICalendarPeriod<T = number> {
|
|
22
|
+
from: IDateItem<T>;
|
|
23
|
+
to: IDateItem<T>;
|
|
24
|
+
}
|
|
25
|
+
type TTimeUnit = keyof IDateItem;
|
|
26
|
+
interface ICalendarDayCell {
|
|
27
|
+
date: Date;
|
|
28
|
+
day: number;
|
|
29
|
+
isCurrentMonth: boolean;
|
|
30
|
+
isToday: boolean;
|
|
31
|
+
isSelected: boolean;
|
|
32
|
+
isInRange: boolean;
|
|
33
|
+
isDisabled: boolean;
|
|
34
|
+
}
|
|
12
35
|
|
|
13
|
-
export type { IPeriodKeys, ISelectedPeriod, TCalendarMode, TPeriodKeys };
|
|
36
|
+
export type { ICalendarDayCell, ICalendarPeriod, IDateItem, IPeriodKeys, ISelectedPeriod, IStrictSelectedPeriod, TCalendarMode, TPeriodKeys, TTimeUnit };
|
package/package.json
CHANGED
|
@@ -1,10 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@egov3/system-design",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.132",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
7
7
|
"module": "dist/esm/index.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/types/index.d.ts",
|
|
11
|
+
"import": "./dist/esm/index.js",
|
|
12
|
+
"require": "./dist/cjs/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./components": {
|
|
15
|
+
"types": "./dist/types/components/index.d.ts",
|
|
16
|
+
"import": "./dist/esm/components/index.js",
|
|
17
|
+
"require": "./dist/cjs/components/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./components/*": {
|
|
20
|
+
"types": "./dist/types/components/*/index.d.ts",
|
|
21
|
+
"import": "./dist/esm/components/*/index.js",
|
|
22
|
+
"require": "./dist/cjs/components/*/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./baseComponents": {
|
|
25
|
+
"types": "./dist/types/baseComponents/index.d.ts",
|
|
26
|
+
"import": "./dist/esm/baseComponents/index.js",
|
|
27
|
+
"require": "./dist/cjs/baseComponents/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./baseComponents/*": {
|
|
30
|
+
"types": "./dist/types/baseComponents/*/index.d.ts",
|
|
31
|
+
"import": "./dist/esm/baseComponents/*/index.js",
|
|
32
|
+
"require": "./dist/cjs/baseComponents/*/index.js"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
8
35
|
"files": [
|
|
9
36
|
"dist"
|
|
10
37
|
],
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/baseComponents/index.ts"],"sourcesContent":[null],"names":["Accordion","Button","CustomRadioButton","InputField","InputFieldGroup","Label","Loader","Modal","Overlay","RadioGroup","RadioToggle","SearchBar","SelectBoxButton","StatusText","TabButtons","TextareaField","TextPair","Typography"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAoBO,MAAM,cAAc,GAAG;eAC5BA,iBAAS;YACTC,cAAM;uBACNC,yBAAiB;gBACjBC,kBAAU;qBACVC,uBAAe;WACfC,aAAK;YACLC,cAAM;WACNC,aAAK;aACLC,eAAO;gBACPC,kBAAU;iBACVC,mBAAW;eACXC,iBAAS;qBACTC,uBAAe;gBACfC,kBAAU;gBACVC,kBAAU;mBACVC,qBAAa;cACbC,gBAAQ;gBACRC,gBAAU;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/index.ts"],"sourcesContent":[null],"names":["Agreement","Auth","DocCard","EdsSuccess","EmptyMessages","ErrorModal","Feedback","FileForUpload","HelpNotification","HelpNotificationItem","IconToggleItem","IdentityHeader","IdentityModal","MsgBody","MsgComponentHeader","MsgSearch","NextStepComponent","ProfileHealthGeneral","RightMenuSectionItem","SetUpAccess","ViewToggle","HelpInstruction","PresaleComponent","ServiceCardComponent","NotificationItem","NotificationWrapper","Calendar","CalendarBody"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BO,MAAM,UAAU,GAAG;eACxBA,iBAAS;UACTC,YAAI;aACJC,eAAO;gBACPC,kBAAU;mBACVC,qBAAa;gBACbC,kBAAU;cACVC,gBAAQ;mBACRC,qBAAa;sBACbC,wBAAgB;0BAChBC,4BAAoB;oBACpBC,sBAAc;oBACdC,sBAAc;mBACdC,qBAAa;aACbC,eAAO;wBACPC,0BAAkB;eAClBC,iBAAS;uBACTC,yBAAiB;0BACjBC,4BAAoB;0BACpBC,4BAAoB;iBACpBC,mBAAW;gBACXC,kBAAU;qBACVC,uBAAe;sBACfC,wBAAgB;0BAChBC,4BAAoB;sBACpBC,wBAAgB;yBAChBC,2BAAmB;cACnBC,gBAAQ;kBACRC,kBAAY;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/baseComponents/index.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAoBO,MAAM,cAAc,GAAG;IAC5B,SAAS;IACT,MAAM;IACN,iBAAiB;IACjB,UAAU;IACV,eAAe;IACf,KAAK;IACL,MAAM;IACN,KAAK;IACL,OAAO;IACP,UAAU;IACV,WAAW;IACX,SAAS;IACT,eAAe;IACf,UAAU;IACV,UAAU;IACV,aAAa;IACb,QAAQ;IACR,UAAU;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/index.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BO,MAAM,UAAU,GAAG;IACxB,SAAS;IACT,IAAI;IACJ,OAAO;IACP,UAAU;IACV,aAAa;IACb,UAAU;IACV,QAAQ;IACR,aAAa;IACb,gBAAgB;IAChB,oBAAoB;IACpB,cAAc;IACd,cAAc;IACd,aAAa;IACb,OAAO;IACP,kBAAkB;IAClB,SAAS;IACT,iBAAiB;IACjB,oBAAoB;IACpB,oBAAoB;IACpB,WAAW;IACX,UAAU;IACV,eAAe;IACf,gBAAgB;IAChB,oBAAoB;IACpB,gBAAgB;IAChB,mBAAmB;IACnB,QAAQ;IACR,YAAY;;;;;"}
|