dfh-ui-library 1.13.84 → 1.13.86

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,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import { FormGenButtonGroupMultiSelectProps } from '../../shared/models/components/common.model';
3
- export default function ButtonGroupMultiSelectWithInputsFormGen({ id, options, onSelect, label, isAdditionalErrorInput, error, additionalErrorClasses, selected, inputObjects, orderBy, additionalClasses, secondaryComponentsVisible, viewMode, previousData, tooltip, }: FormGenButtonGroupMultiSelectProps): React.JSX.Element;
3
+ export default function ButtonGroupMultiSelectWithInputsFormGen({ id, options, onSelect, label, isAdditionalErrorInput, error, additionalErrorClasses, selected, inputObjects, orderBy, additionalClasses, viewMode, previousData, tooltip, }: FormGenButtonGroupMultiSelectProps): React.JSX.Element;
@@ -647,6 +647,7 @@ export interface TooltipProps {
647
647
  onMouseOut?: (e: React.ChangeEvent<HTMLSelectElement>) => void;
648
648
  showTooltip?: boolean;
649
649
  fromBottom?: boolean;
650
+ externalCaseManger?: boolean;
650
651
  children?: ReactNode;
651
652
  }
652
653
  export type Patient = {
@@ -513,6 +513,25 @@ export interface ButtonGroupProps extends InputGroupProps {
513
513
  disabled?: boolean;
514
514
  disableApplyButton?: boolean;
515
515
  }
516
+ export interface ButtonGroupWithInputsProps extends Omit<ButtonGroupProps, 'selected' | 'onSelect'> {
517
+ options: {
518
+ id: number;
519
+ value: string;
520
+ }[];
521
+ onSelect: (selectedOption: selectedValue & {
522
+ additionalValues?: {
523
+ [key: string]: string;
524
+ };
525
+ }) => void;
526
+ label?: string;
527
+ error?: string;
528
+ isAdditionalErrorInput?: boolean;
529
+ selected?: selectedValue & {
530
+ additionalValues?: {
531
+ [key: string]: string;
532
+ };
533
+ };
534
+ }
516
535
  export interface ButtonGroupMultiProps extends InputGroupProps {
517
536
  options: {
518
537
  id: number;
@@ -694,7 +713,7 @@ export interface FormGenButtonGroupMultiSelectProps extends FormGenInputGroupPro
694
713
  error?: string;
695
714
  isAdditionalErrorInput?: boolean;
696
715
  additionalErrorClasses?: string;
697
- selected?: Omit<selectedValue, 'answerPrevData'> & {
716
+ selected?: Omit<selectedValue, "answerPrevData"> & {
698
717
  value?: any[];
699
718
  answerPrevData?: {
700
719
  lastEditedDate?: string;
@@ -706,7 +725,7 @@ export interface FormGenButtonGroupMultiSelectProps extends FormGenInputGroupPro
706
725
  secondaryComponentsVisible?: boolean;
707
726
  viewMode?: boolean;
708
727
  previousData?: {
709
- answerLabel: string;
728
+ answerLabel?: string[];
710
729
  lastEditedDate?: string;
711
730
  };
712
731
  tooltip?: string;
@@ -10,3 +10,4 @@ export declare enum ChallengeActionType {
10
10
  export declare const getFristLettersFromString: (inputString: string) => string;
11
11
  export declare const calculateTotalChallenges: (urgentDataList: any) => any;
12
12
  export declare const calculateTotalNotes: (urgentDataList: UrgentDataProps[]) => number;
13
+ export declare const replaceBackTick: (str: string) => string;