dfh-ui-library 1.13.58 → 1.13.60

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.
@@ -23,7 +23,10 @@ interface SelectV2Props {
23
23
  secondaryText?: string;
24
24
  isRequired?: boolean;
25
25
  disabled?: boolean;
26
- selectType?: "medium" | "small" | "large";
26
+ selectType?: "medium" | "small" | "large" | "regular";
27
+ isAdditionalErrorInput?: boolean;
28
+ additionalErrorClasses?: string;
29
+ isBorderedError?: boolean;
27
30
  }
28
31
  declare const SelectV2: React.FC<SelectV2Props>;
29
32
  export default SelectV2;
@@ -0,0 +1,22 @@
1
+ import React from "react";
2
+ import { ListMasterDataProps, UrgentDataProps } from "../../shared/models/components/common.model";
3
+ export interface ITodoToggleRequestParams {
4
+ noteId?: string;
5
+ actionedUser?: string;
6
+ patient?: string;
7
+ toggleOptions: {
8
+ noteIndex: number;
9
+ check: boolean;
10
+ toggledInUpdates?: boolean;
11
+ };
12
+ }
13
+ interface TodosV2Props {
14
+ urgentDataList: UrgentDataProps[];
15
+ listMasterData?: ListMasterDataProps;
16
+ detailAction?: (rowId: string | undefined) => void;
17
+ handleNameClick?: (id?: string) => void;
18
+ toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
19
+ searchText?: string;
20
+ }
21
+ declare const TodosV2: React.FC<TodosV2Props>;
22
+ export default TodosV2;
@@ -61,6 +61,7 @@ export { default as ButtonGroupMultiSelect } from './ButtonGroup/ButtonGroupMult
61
61
  export { default as ButtonGroupMultiSelectV2 } from './ButtonGroup/ButtonGroupMultiSelectV2';
62
62
  export { default as CheckBoxComponent } from './FilterButtonGroup/Checkbox';
63
63
  export { default as Todos } from './SideBarListView/todos';
64
+ export { default as TodosV2 } from './SideBarListView/todosV2';
64
65
  export { default as UrgentChallenges } from './SideBarListView/urgentChallenges';
65
66
  export { default as SsnInput } from './SsnInput';
66
67
  export { default as MultiSelectFormGen } from './MultiSelectFormGen';
@@ -0,0 +1 @@
1
+ export declare function useClickOutside(ref: React.RefObject<HTMLElement>, handler: (event: MouseEvent) => void): void;
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import { ColumnDef, OnChangeFn, SortingState, PaginationState } from '@tanstack/
4
4
  export { ColumnDef, SortingState } from '@tanstack/react-table';
5
5
  import { Tag } from 'react-tag-input';
6
6
 
7
- interface ITodoToggleRequestParams {
7
+ interface ITodoToggleRequestParams$1 {
8
8
  noteId?: string;
9
9
  actionedUser?: string;
10
10
  patient?: string;
@@ -19,7 +19,7 @@ interface todosProps {
19
19
  listMasterData?: ListMasterDataProps;
20
20
  detailAction?: (rowId: string | undefined) => void;
21
21
  handleNameClick?: (id?: string) => void;
22
- toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
22
+ toggleTodoCheckbox?: (req: ITodoToggleRequestParams$1) => void;
23
23
  }
24
24
  declare const Todos: React__default.FC<todosProps>;
25
25
 
@@ -638,7 +638,7 @@ interface TimelineProps {
638
638
  viewNoteHistory?: (isShow: boolean, noteId: string, eventData?: any) => void;
639
639
  navigationAction?: (solution?: ISolutionvalues, type?: string) => void;
640
640
  type?: string[];
641
- toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
641
+ toggleTodoCheckbox?: (req: ITodoToggleRequestParams$1) => void;
642
642
  isChallengeTimeline?: boolean;
643
643
  handleCopyCurrentNote?: (note: NoteProps) => void;
644
644
  }
@@ -655,7 +655,7 @@ interface SideBarListProps {
655
655
  detailAction?: (value: string | undefined) => void;
656
656
  handleNameClick?: (id?: string) => void;
657
657
  handleChallengeHeaderClick?: (patientId?: string, challengeId?: string) => void;
658
- toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
658
+ toggleTodoCheckbox?: (req: ITodoToggleRequestParams$1) => void;
659
659
  }
660
660
  interface PatientConsentProps {
661
661
  consentDate?: string | Date | null;
@@ -704,7 +704,7 @@ interface TimelineEventProps {
704
704
  actionedUser?: string;
705
705
  surveyDate?: string;
706
706
  navigateAction?: (timeLineNavReq?: ISolutionvalues, type?: string) => void;
707
- toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
707
+ toggleTodoCheckbox?: (req: ITodoToggleRequestParams$1) => void;
708
708
  isChallengeTimeline?: boolean;
709
709
  handleCopyCurrentNote?: (note: NoteProps) => void;
710
710
  }
@@ -1372,7 +1372,10 @@ interface SelectV2Props {
1372
1372
  secondaryText?: string;
1373
1373
  isRequired?: boolean;
1374
1374
  disabled?: boolean;
1375
- selectType?: "medium" | "small" | "large";
1375
+ selectType?: "medium" | "small" | "large" | "regular";
1376
+ isAdditionalErrorInput?: boolean;
1377
+ additionalErrorClasses?: string;
1378
+ isBorderedError?: boolean;
1376
1379
  }
1377
1380
  declare const SelectV2: React__default.FC<SelectV2Props>;
1378
1381
 
@@ -1673,6 +1676,26 @@ interface CheckboxProps {
1673
1676
  }
1674
1677
  declare const CheckBoxComponent: React__default.FC<CheckboxProps>;
1675
1678
 
1679
+ interface ITodoToggleRequestParams {
1680
+ noteId?: string;
1681
+ actionedUser?: string;
1682
+ patient?: string;
1683
+ toggleOptions: {
1684
+ noteIndex: number;
1685
+ check: boolean;
1686
+ toggledInUpdates?: boolean;
1687
+ };
1688
+ }
1689
+ interface TodosV2Props {
1690
+ urgentDataList: UrgentDataProps[];
1691
+ listMasterData?: ListMasterDataProps;
1692
+ detailAction?: (rowId: string | undefined) => void;
1693
+ handleNameClick?: (id?: string) => void;
1694
+ toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
1695
+ searchText?: string;
1696
+ }
1697
+ declare const TodosV2: React__default.FC<TodosV2Props>;
1698
+
1676
1699
  interface UrgentChallengeProps {
1677
1700
  urgentDataList: UrgentDataProps[];
1678
1701
  listMasterData?: ListMasterDataProps;
@@ -1997,5 +2020,5 @@ declare const themeConfigs: {
1997
2020
  plugins: any[];
1998
2021
  };
1999
2022
 
2000
- export { BADGETYPE, Badge, BorderType, Breadcrumb, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupMultiSelectV2, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, ButtonV2, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, ComboBox, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, InputDatePickerV2, InputValidation, InputsGroup, Label, ListRow, LoadingSpinner, Logo, Message, Modal, MultiSelectFormGen, NavBar, NoteEditor, NoteEditorV2, PanelCard, PhoneNumberInput, PhoneNumberInput2, PhoneNumberInput3, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SelectV2, SideBarListView, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, Todos, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, useSchemaProcessor as UseSchemaProcessor, VersionDateDropdown, themeConfigs, usePagination, useSorting };
2023
+ export { BADGETYPE, Badge, BorderType, Breadcrumb, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupMultiSelectV2, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, ButtonV2, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, ComboBox, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, InputDatePickerV2, InputValidation, InputsGroup, Label, ListRow, LoadingSpinner, Logo, Message, Modal, MultiSelectFormGen, NavBar, NoteEditor, NoteEditorV2, PanelCard, PhoneNumberInput, PhoneNumberInput2, PhoneNumberInput3, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SelectV2, SideBarListView, 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 };
2001
2024
  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.13.58",
3
+ "version": "1.13.60",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",