dfh-ui-library 1.14.18 → 1.14.19

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.
@@ -3,4 +3,4 @@ import { IconVariant } from "../../../shared/models/components/base.model";
3
3
  export declare const handleIconColor: (_iconColor: string) => string;
4
4
  export declare const applyVariantColor: (variant: IconVariant) => "text-blue-550" | "text-black-540" | "text-grey-540" | "text-success" | "text-warning" | "text-error" | "text-info" | "text-primary";
5
5
  export declare const handleIconHoverColor: (_iconHoverColor: string | undefined) => string;
6
- export declare const handleIconTYpes: (_iconType: string | undefined, iconClasses?: string, imageUrl?: string, _color?: string, isAddEditPatient?: boolean) => React.JSX.Element | undefined;
6
+ export declare const handleIconTYpes: (_iconType: string | undefined, iconClasses?: string, imageUrl?: string, _color?: string, h?: string, w?: string, isAddEditPatient?: boolean) => React.JSX.Element | undefined;
@@ -11,6 +11,8 @@ type IconProps = {
11
11
  absoluteStrokeWidth?: boolean;
12
12
  onClick?: () => void;
13
13
  additionalClasses?: string;
14
+ onMouseEnter?: () => void;
15
+ onMouseLeave?: () => void;
14
16
  };
15
17
  declare const IconV2: React.FC<IconProps>;
16
18
  export default IconV2;
@@ -60,7 +60,7 @@ export declare const WrongIcon: ({ classes, onClick, onFocus, ...props }: IconPr
60
60
  export declare const EditIcon: ({ classes, onClick, onFocus, ...props }: IconProps) => React.JSX.Element;
61
61
  export declare const CheckIcon: ({ classes, onClick, onFocus, color, }: IconProps) => React.JSX.Element;
62
62
  export declare const CheckGreen: ({ classes, onClick, onFocus, color, }: IconProps) => React.JSX.Element;
63
- export declare const InfoIcon40: ({ classes }: IconProps) => React.JSX.Element;
63
+ export declare const InfoIcon40: ({ classes, w, h }: IconProps) => React.JSX.Element;
64
64
  export declare const CrossblueIcon: ({ classes }: IconProps) => React.JSX.Element;
65
65
  export declare const PencilIcon: ({ classes }: IconProps) => React.JSX.Element;
66
66
  export declare const DefaultImage: ({ classes }: IconProps) => React.JSX.Element;
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ interface MiniTimelineProps {
3
+ index: number;
4
+ totalItems: number;
5
+ isHovered?: boolean;
6
+ lineColor?: string;
7
+ dotColor?: string;
8
+ hoverDotColor?: string;
9
+ }
10
+ export declare const MiniTimeline: React.FC<MiniTimelineProps>;
11
+ interface MiniTimelineWrapperProps<T> {
12
+ items: T[];
13
+ hoveredIndex?: number | null;
14
+ renderContent: (item: T, index: number) => React.ReactNode;
15
+ lineColor?: string;
16
+ }
17
+ export declare const MiniTimelineWrapper: <T>({ items, hoveredIndex, renderContent, lineColor, }: MiniTimelineWrapperProps<T>) => React.JSX.Element;
18
+ export default MiniTimelineWrapper;
@@ -0,0 +1 @@
1
+ export { default as MiniTimelineCard } from "./MiniTimelineCard";
@@ -69,3 +69,4 @@ export { default as MultiSelectFormGen } from './MultiSelectFormGen';
69
69
  export { default as ButtonGroupMultiSelectWithInputsFormGen } from './ButtonGroupWithInputsFormGen/ButtonGroupMultiSelectWithInputsFormGen';
70
70
  export { default as ButtonGroupWithMultiSelectFormGen } from './ButtonGroupFormGen/ButtonGroupWithMultiSelectFormGen';
71
71
  export { default as FilterButton } from './FilterButtonGroup/FilterButton';
72
+ export { MiniTimelineCard } from "./MiniTimelineCard";
@@ -88,6 +88,8 @@ export interface IIconProps extends IAdditionalClassesProp, IIconTypeProp {
88
88
  onMouseOver?: any;
89
89
  onMouseOut?: any;
90
90
  color?: string;
91
+ w?: string;
92
+ h?: string;
91
93
  isAddEditPatient?: boolean;
92
94
  title?: string;
93
95
  isDischarged?: boolean;
@@ -920,9 +920,10 @@ export interface TimelineEventProps {
920
920
  isDischarged?: boolean;
921
921
  }
922
922
  export interface IVariant {
923
+ solutionVariantId?: string | null;
923
924
  pdfMetaData?: PDFMeta;
924
- referralData?: ReferralMeta;
925
- solutionVariantName?: string;
925
+ referralData?: ReferralMeta | null;
926
+ solutionVariantName?: string | null;
926
927
  }
927
928
  export interface PDFMeta {
928
929
  resourceLink?: string;
@@ -1041,6 +1042,10 @@ export interface ISolutionvalues {
1041
1042
  challenge?: string;
1042
1043
  solutionDescription?: string;
1043
1044
  solutionType?: string;
1045
+ solutionId?: string | undefined | null;
1046
+ patientSolutionId?: string | undefined | null;
1047
+ createdDate?: string;
1048
+ domain?: string | undefined | null;
1044
1049
  _id?: string;
1045
1050
  surveyDate?: string;
1046
1051
  surveyId?: string;
package/dist/index.d.ts CHANGED
@@ -801,9 +801,10 @@ interface TimelineEventProps {
801
801
  isDischarged?: boolean;
802
802
  }
803
803
  interface IVariant {
804
+ solutionVariantId?: string | null;
804
805
  pdfMetaData?: PDFMeta;
805
- referralData?: ReferralMeta;
806
- solutionVariantName?: string;
806
+ referralData?: ReferralMeta | null;
807
+ solutionVariantName?: string | null;
807
808
  }
808
809
  interface PDFMeta {
809
810
  resourceLink?: string;
@@ -918,6 +919,10 @@ interface ISolutionvalues {
918
919
  challenge?: string;
919
920
  solutionDescription?: string;
920
921
  solutionType?: string;
922
+ solutionId?: string | undefined | null;
923
+ patientSolutionId?: string | undefined | null;
924
+ createdDate?: string;
925
+ domain?: string | undefined | null;
921
926
  _id?: string;
922
927
  surveyDate?: string;
923
928
  surveyId?: string;
@@ -1033,6 +1038,8 @@ interface IIconProps extends IAdditionalClassesProp, IIconTypeProp {
1033
1038
  onMouseOver?: any;
1034
1039
  onMouseOut?: any;
1035
1040
  color?: string;
1041
+ w?: string;
1042
+ h?: string;
1036
1043
  isAddEditPatient?: boolean;
1037
1044
  title?: string;
1038
1045
  isDischarged?: boolean;
@@ -1821,6 +1828,8 @@ type IconProps = {
1821
1828
  absoluteStrokeWidth?: boolean;
1822
1829
  onClick?: () => void;
1823
1830
  additionalClasses?: string;
1831
+ onMouseEnter?: () => void;
1832
+ onMouseLeave?: () => void;
1824
1833
  };
1825
1834
  declare const IconV2: React__default.FC<IconProps>;
1826
1835
 
@@ -2006,6 +2015,14 @@ declare const MultiSelectFormGen: React__default.FC<IMultiSelectProps>;
2006
2015
 
2007
2016
  declare const FilterButton: ({ type, isDisabled, buttonLabel, iconType, iconColor, iconAlignment, isIconEnabled, variants, additionalClasses, iconClass, enableBagage, bagageProps, width, onClick, }: IButtonProps) => React__default.JSX.Element;
2008
2017
 
2018
+ interface MiniTimelineWrapperProps<T> {
2019
+ items: T[];
2020
+ hoveredIndex?: number | null;
2021
+ renderContent: (item: T, index: number) => React__default.ReactNode;
2022
+ lineColor?: string;
2023
+ }
2024
+ declare const MiniTimelineWrapper: <T>({ items, hoveredIndex, renderContent, lineColor, }: MiniTimelineWrapperProps<T>) => React__default.JSX.Element;
2025
+
2009
2026
  interface UseSchemaProcessorProps {
2010
2027
  schema: ISchema[];
2011
2028
  externalSetComponents: (data: IComponent[]) => void;
@@ -2322,5 +2339,5 @@ declare const themeConfigs: {
2322
2339
  plugins: any[];
2323
2340
  };
2324
2341
 
2325
- export { BADGETYPE, Badge, BorderType, Breadcrumb, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupMultiSelectV2, ButtonGroupMultiSelectWithInputsFormGen, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithMultiSelectFormGen, ButtonGroupWithUpload, ButtonV2, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, ComboBox, ConboboxV2 as ComboboxV2, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, DynamicDualInputTextGroupFormGen, FilterButton, FilterButtonGroup, Heading, HistoryDetails, Icon, IconInput, IconInputV2, IconV2, IconVariant, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, InputDatePickerV2, InputValidation, InputsGroup, Label, ListRow, LoadingSpinner, LockCodeInput, Logo, Message, Modal, MultiSelectFormGen, NavBar, NoteEditor, NoteEditorV2, PanelCard, PhoneNumberInput, PhoneNumberInput2, PhoneNumberInput3, PhoneNumberInput4, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SelectV2, SideBarListView, SideBarListViewV2, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, Todos, TodosV2, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, useSchemaProcessor as UseSchemaProcessor, VersionDateDropdown, themeConfigs, usePagination, useSorting };
2342
+ export { BADGETYPE, Badge, BorderType, Breadcrumb, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupMultiSelectV2, ButtonGroupMultiSelectWithInputsFormGen, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithMultiSelectFormGen, ButtonGroupWithUpload, ButtonV2, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, ComboBox, ConboboxV2 as ComboboxV2, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, DynamicDualInputTextGroupFormGen, FilterButton, FilterButtonGroup, Heading, HistoryDetails, Icon, IconInput, IconInputV2, IconV2, IconVariant, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, InputDatePickerV2, InputValidation, InputsGroup, Label, ListRow, LoadingSpinner, LockCodeInput, Logo, Message, MiniTimelineWrapper as MiniTimelineCard, Modal, MultiSelectFormGen, NavBar, NoteEditor, NoteEditorV2, PanelCard, PhoneNumberInput, PhoneNumberInput2, PhoneNumberInput3, PhoneNumberInput4, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SelectV2, SideBarListView, SideBarListViewV2, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, Todos, TodosV2, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, useSchemaProcessor as UseSchemaProcessor, VersionDateDropdown, themeConfigs, usePagination, useSorting };
2326
2343
  export type { AccountPopoverMenuItem, BadgeColorVariant, BtnOptionDropdown, DropdownSearchProps, ISolutionvalues, InputType, ListMasterDataProps, LogoProps, MessageProps, NoteChildrenProps, NoteHistoryProps, NoteItemProps, NoteProps, OptionProps, TimelineEventProps, UrgentDataProps, VariantTypes };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.14.18",
3
+ "version": "1.14.19",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",