dfh-ui-library 1.13.130 → 1.13.131

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.
@@ -1,4 +1,4 @@
1
- import React from "react";
2
- import { TimelineProps } from "../../shared/models/components/common.model";
1
+ import React from 'react';
2
+ import { TimelineProps } from '../../shared/models/components/common.model';
3
3
  declare const Timeline: React.FC<TimelineProps>;
4
4
  export default Timeline;
@@ -1,11 +1,11 @@
1
- import { ReactNode } from "react";
2
- import { selectType, VariantTypes } from "./base.model";
3
- import { ColumnDef, OnChangeFn, PaginationState, SortingState } from "@tanstack/react-table";
4
- import { ITodoToggleRequestParams } from "../../../components/SideBarListView/todos";
5
- export type AlignmentType = "center" | "left" | "right";
6
- export type IconColorTypes = "white" | "black-900" | "gray-220" | "gray-720" | "inherit" | "gray-300" | string;
7
- export type IconHoverColorTypes = "white" | "black-900" | "gray-220" | "inherit";
8
- export type IconType = "Home" | "Info" | "Email" | "RightArrow" | "DropDown" | "DropDownArrow" | "WhiteArrow" | "TrashIcon" | "AddNewitemIcon" | "OkIcon" | "EditIcon" | "Delete" | "AddIcon" | "RemoveTrashIcon" | "RoundTickIcon" | "ValidationWarningIcon" | "WarningIcon" | "NeturalIcon" | "SuccessIcon" | string;
1
+ import { ReactNode } from 'react';
2
+ import { selectType, VariantTypes } from './base.model';
3
+ import { ColumnDef, OnChangeFn, PaginationState, SortingState } from '@tanstack/react-table';
4
+ import { ITodoToggleRequestParams } from '../../../components/SideBarListView/todos';
5
+ export type AlignmentType = 'center' | 'left' | 'right';
6
+ export type IconColorTypes = 'white' | 'black-900' | 'gray-220' | 'gray-720' | 'inherit' | 'gray-300' | string;
7
+ export type IconHoverColorTypes = 'white' | 'black-900' | 'gray-220' | 'inherit';
8
+ export type IconType = 'Home' | 'Info' | 'Email' | 'RightArrow' | 'DropDown' | 'DropDownArrow' | 'WhiteArrow' | 'TrashIcon' | 'AddNewitemIcon' | 'OkIcon' | 'EditIcon' | 'Delete' | 'AddIcon' | 'RemoveTrashIcon' | 'RoundTickIcon' | 'ValidationWarningIcon' | 'WarningIcon' | 'NeturalIcon' | 'SuccessIcon' | string;
9
9
  export interface IChildrenProp {
10
10
  /**
11
11
  * Se the child node and element;
@@ -37,10 +37,10 @@ export interface IDataTestIdProp {
37
37
  export interface IOnClickEventProps {
38
38
  onClick?: () => void;
39
39
  }
40
- export type InputType = "text" | "email" | "password" | "name" | "date" | "number";
41
- export type TyphoTypes = "h1" | "h1Bold" | "h1ExtraBold" | "h2" | "h2Bold" | "h2ExtraBold" | "h10" | "h10Bold" | "h10ExtraBold" | "h6" | "h6Bold" | "h6ExtraBold" | "header1" | "header2" | "label1" | "label2" | "p" | "authHeader" | "inforTextNormal" | "inforTextGray" | "linkTextNormal" | "linkTextMedium" | "textMediumGray" | "textSectionHeader";
42
- export type TyphoComponents = "p" | "span" | "em" | "div" | undefined;
43
- export type MessageTypes = "warning" | "success" | "error" | "disabled" | "highlight" | "nutral";
40
+ export type InputType = 'text' | 'email' | 'password' | 'name' | 'date' | 'number';
41
+ export type TyphoTypes = 'h1' | 'h1Bold' | 'h1ExtraBold' | 'h2' | 'h2Bold' | 'h2ExtraBold' | 'h10' | 'h10Bold' | 'h10ExtraBold' | 'h6' | 'h6Bold' | 'h6ExtraBold' | 'header1' | 'header2' | 'label1' | 'label2' | 'p' | 'authHeader' | 'inforTextNormal' | 'inforTextGray' | 'linkTextNormal' | 'linkTextMedium' | 'textMediumGray' | 'textSectionHeader';
42
+ export type TyphoComponents = 'p' | 'span' | 'em' | 'div' | undefined;
43
+ export type MessageTypes = 'warning' | 'success' | 'error' | 'disabled' | 'highlight' | 'nutral';
44
44
  export interface IInputValidationProps {
45
45
  /**
46
46
  * Set validation message
@@ -172,7 +172,7 @@ export interface ImageInputProps {
172
172
  /**
173
173
  * Set new variant of the input
174
174
  */
175
- inputVariant?: "default" | "large";
175
+ inputVariant?: 'default' | 'large';
176
176
  /**
177
177
  * Set Input name
178
178
  */
@@ -247,7 +247,7 @@ export interface CustomDatePickerProps {
247
247
  * Ser Error message
248
248
  */
249
249
  isBorderedError?: boolean;
250
- labelType?: "default" | "black" | "smallSelect" | "blackSmall" | "formLabelMedeum";
250
+ labelType?: 'default' | 'black' | 'smallSelect' | 'blackSmall' | 'formLabelMedeum';
251
251
  additionalClasses?: string | undefined;
252
252
  readOnly?: boolean;
253
253
  type?: InputType;
@@ -255,7 +255,7 @@ export interface CustomDatePickerProps {
255
255
  /**
256
256
  * Set new variant of the input
257
257
  */
258
- inputVariant?: "default" | "large" | "form";
258
+ inputVariant?: 'default' | 'large' | 'form';
259
259
  iconType?: string;
260
260
  iconClasses?: string;
261
261
  dateFormat?: string;
@@ -276,13 +276,13 @@ export interface PhoneNumberInputProps {
276
276
  * Ser Error message
277
277
  */
278
278
  isBorderedError?: boolean;
279
- labelType?: "default" | "black" | "smallSelect" | "blackSmall" | "formLabelMedeum";
279
+ labelType?: 'default' | 'black' | 'smallSelect' | 'blackSmall' | 'formLabelMedeum';
280
280
  readOnly?: boolean;
281
281
  type?: InputType;
282
282
  /**
283
283
  * Set new variant of the input
284
284
  */
285
- inputVariant?: "default" | "large";
285
+ inputVariant?: 'default' | 'large';
286
286
  label?: string | undefined;
287
287
  additionalErrorClasses?: string;
288
288
  isAdditionalErrorInput?: boolean;
@@ -298,10 +298,10 @@ export interface SsnInputProps {
298
298
  additionalClasses?: string | undefined;
299
299
  error?: string;
300
300
  isBorderedError?: boolean;
301
- labelType?: "default" | "black" | "smallSelect" | "blackSmall" | "formLabelMedeum";
301
+ labelType?: 'default' | 'black' | 'smallSelect' | 'blackSmall' | 'formLabelMedeum';
302
302
  readOnly?: boolean;
303
303
  type?: string;
304
- inputVariant?: "default" | "large";
304
+ inputVariant?: 'default' | 'large';
305
305
  label?: string | undefined;
306
306
  additionalErrorClasses?: string;
307
307
  isAdditionalErrorInput?: boolean;
@@ -382,7 +382,7 @@ export interface IMultiSelectProps {
382
382
  value: IMultiSelectOption[];
383
383
  };
384
384
  name: string;
385
- labelType?: "default" | "black" | "smallSelect" | "blackSmall" | "formLabelMedeum" | "formLabel";
385
+ labelType?: 'default' | 'black' | 'smallSelect' | 'blackSmall' | 'formLabelMedeum' | 'formLabel';
386
386
  label?: string | undefined;
387
387
  labelClasses?: string | undefined;
388
388
  defaultText?: string | undefined;
@@ -494,7 +494,7 @@ export declare enum ClickedAction {
494
494
  ADDUNREGISTERED = "ADDUNREGISTERED",
495
495
  REMOVE = "REMOVE"
496
496
  }
497
- export type LableTypes = "default" | "black" | "smallSelect" | "blackSmall" | "formLabel" | "formLabelMedeum";
497
+ export type LableTypes = 'default' | 'black' | 'smallSelect' | 'blackSmall' | 'formLabel' | 'formLabelMedeum';
498
498
  interface InputObject {
499
499
  id: number;
500
500
  label?: string;
@@ -532,7 +532,7 @@ export interface ButtonGroupProps extends InputGroupProps {
532
532
  selectedUserValues?: OptionProps[];
533
533
  setSelectedUserValues?: (users: OptionProps[]) => void;
534
534
  }
535
- export interface ButtonGroupWithInputsProps extends Omit<ButtonGroupProps, "selected" | "onSelect"> {
535
+ export interface ButtonGroupWithInputsProps extends Omit<ButtonGroupProps, 'selected' | 'onSelect'> {
536
536
  options: {
537
537
  id: number;
538
538
  value: string;
@@ -626,7 +626,7 @@ export declare enum BADGETYPE {
626
626
  BUTTON = "button",
627
627
  BORDEREDBLUE = "bordered-blue"
628
628
  }
629
- export type BadgeColorVariant = "default" | "dark" | "red" | "green" | "yellow" | "indigo" | "purple" | "pink" | "error" | "success" | "warning" | "gray" | "darkGreen" | "darkBlue";
629
+ export type BadgeColorVariant = 'default' | 'dark' | 'red' | 'green' | 'yellow' | 'indigo' | 'purple' | 'pink' | 'error' | 'success' | 'warning' | 'gray' | 'darkGreen' | 'darkBlue';
630
630
  interface IBadgePropsBase extends AdditionalClassesProp {
631
631
  /** Type of badge based on predefined styles. */
632
632
  badgeType?: BADGETYPE;
@@ -732,7 +732,7 @@ export interface FormGenButtonGroupMultiSelectProps extends FormGenInputGroupPro
732
732
  error?: string;
733
733
  isAdditionalErrorInput?: boolean;
734
734
  additionalErrorClasses?: string;
735
- selected?: Omit<selectedValue, "answerPrevData"> & {
735
+ selected?: Omit<selectedValue, 'answerPrevData'> & {
736
736
  value?: any[];
737
737
  answerPrevData?: {
738
738
  lastEditedDate?: string;
@@ -840,7 +840,7 @@ export interface SideBarListProps {
840
840
  }
841
841
  export interface PatientConsentProps {
842
842
  consentDate?: string | Date | null;
843
- consentStatus: "NO CONSENT" | "CONSENT GIVEN";
843
+ consentStatus: 'NO CONSENT' | 'CONSENT GIVEN';
844
844
  consentBy?: string;
845
845
  }
846
846
  export interface UrgentDataProps {
@@ -863,10 +863,11 @@ export interface ListMasterDataProps {
863
863
  limit?: number;
864
864
  }
865
865
  export interface challengesListProps {
866
- urgency?: "Normal" | "Urgent";
866
+ urgency?: 'Normal' | 'Urgent';
867
867
  challengeName?: string;
868
868
  }
869
869
  export interface TimelineEventProps {
870
+ uuid: string;
870
871
  date?: string;
871
872
  user?: string;
872
873
  challenge?: string;
@@ -994,7 +995,7 @@ export interface SignatureProps {
994
995
  selected?: selectedValue;
995
996
  onSelect: (signature: string) => void;
996
997
  label?: string;
997
- labelType?: "default" | "black" | "smallSelect" | "blackSmall" | "formLabelMedeum";
998
+ labelType?: 'default' | 'black' | 'smallSelect' | 'blackSmall' | 'formLabelMedeum';
998
999
  additionalErrorClasses?: string;
999
1000
  isAdditionalErrorInput?: boolean;
1000
1001
  isBorderedError?: boolean;