dfh-ui-library 1.12.195 → 1.12.196
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/dist/cjs/index.css +1 -1
- package/dist/cjs/index.css.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/FilterButtonGroup/Checkbox.d.ts +1 -3
- package/dist/cjs/types/components/SideBarListView/todos.d.ts +0 -9
- package/dist/cjs/types/components/Timeline/NoteView.d.ts +0 -2
- package/dist/cjs/types/shared/models/components/common.model.d.ts +0 -4
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.css.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/FilterButtonGroup/Checkbox.d.ts +1 -3
- package/dist/esm/types/components/SideBarListView/todos.d.ts +0 -9
- package/dist/esm/types/components/Timeline/NoteView.d.ts +0 -2
- package/dist/esm/types/shared/models/components/common.model.d.ts +0 -4
- package/dist/index.d.ts +9 -23
- package/package.json +1 -1
- package/dist/cjs/types/components/History/NoteEvent.d.ts +0 -4
- package/dist/cjs/types/components/History/NoteEventView.d.ts +0 -7
- package/dist/esm/types/components/History/NoteEvent.d.ts +0 -4
- package/dist/esm/types/components/History/NoteEventView.d.ts +0 -7
|
@@ -2,10 +2,8 @@ import React from "react";
|
|
|
2
2
|
interface CheckboxProps {
|
|
3
3
|
id?: string;
|
|
4
4
|
checked?: boolean;
|
|
5
|
-
onChange: (
|
|
5
|
+
onChange: (id?: string) => void;
|
|
6
6
|
addtionalClasses?: string;
|
|
7
|
-
noteId?: string;
|
|
8
|
-
noteIndex?: number;
|
|
9
7
|
}
|
|
10
8
|
declare const CheckBoxComponent: React.FC<CheckboxProps>;
|
|
11
9
|
export default CheckBoxComponent;
|
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ListMasterDataProps, UrgentDataProps } from "../../shared/models/components/common.model";
|
|
3
|
-
export interface ITodoToggleRequestParams {
|
|
4
|
-
noteId?: string;
|
|
5
|
-
toggleOptions: {
|
|
6
|
-
noteIndex: number;
|
|
7
|
-
check: boolean;
|
|
8
|
-
toggledInUpdates?: boolean;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
3
|
interface todosProps {
|
|
12
4
|
urgentDataList: UrgentDataProps[];
|
|
13
5
|
listMasterData?: ListMasterDataProps;
|
|
14
6
|
detailAction?: (rowId: string | undefined) => void;
|
|
15
7
|
handleNameClick?: (id?: string) => void;
|
|
16
|
-
toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
|
|
17
8
|
}
|
|
18
9
|
declare const Todos: React.FC<todosProps>;
|
|
19
10
|
export default Todos;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { NoteItemProps } from "../../shared/models/components/common.model";
|
|
3
|
-
import { ITodoToggleRequestParams } from "../SideBarListView/todos";
|
|
4
3
|
interface NoteViewProps {
|
|
5
4
|
notes?: NoteItemProps[];
|
|
6
5
|
addtionalClassesCheckboxLabel?: string;
|
|
7
|
-
handleCheckboxToggle?: (req: ITodoToggleRequestParams) => void;
|
|
8
6
|
}
|
|
9
7
|
declare const NotesView: React.FC<NoteViewProps>;
|
|
10
8
|
export default NotesView;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { VariantTypes } from "./base.model";
|
|
3
3
|
import { ColumnDef, OnChangeFn, PaginationState, SortingState } from "@tanstack/react-table";
|
|
4
|
-
import { ITodoToggleRequestParams } from "../../../components/SideBarListView/todos";
|
|
5
4
|
export type AlignmentType = "center" | "left" | "right";
|
|
6
5
|
export type IconColorTypes = "white" | "black-900" | "gray-220" | "gray-720" | "inherit" | "gray-300" | string;
|
|
7
6
|
export type IconHoverColorTypes = "white" | "black-900" | "gray-220" | "inherit";
|
|
@@ -687,7 +686,6 @@ export interface SideBarListProps {
|
|
|
687
686
|
detailAction?: (value: string | undefined) => void;
|
|
688
687
|
handleNameClick?: (id?: string) => void;
|
|
689
688
|
handleChallengeHeaderClick?: (patientId?: string, challengeId?: string) => void;
|
|
690
|
-
toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
|
|
691
689
|
}
|
|
692
690
|
export interface UrgentDataProps {
|
|
693
691
|
fullName?: string | undefined;
|
|
@@ -772,12 +770,10 @@ export interface NoteOptionsProps {
|
|
|
772
770
|
checked?: boolean;
|
|
773
771
|
}
|
|
774
772
|
export interface NoteItemProps {
|
|
775
|
-
noteId?: string;
|
|
776
773
|
isChecked?: boolean;
|
|
777
774
|
text?: string | undefined;
|
|
778
775
|
enableCheckbox?: boolean;
|
|
779
776
|
additonalInfo?: any;
|
|
780
|
-
noteIndex?: number;
|
|
781
777
|
}
|
|
782
778
|
export interface NoteComponentProps {
|
|
783
779
|
onAdd?: (items: NoteProps, serveyId?: string) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -4,23 +4,6 @@ import React__default, { InputHTMLAttributes, SelectHTMLAttributes, TextareaHTML
|
|
|
4
4
|
import { ColumnDef, OnChangeFn, SortingState, PaginationState } from '@tanstack/react-table';
|
|
5
5
|
export { ColumnDef, SortingState } from '@tanstack/react-table';
|
|
6
6
|
|
|
7
|
-
interface ITodoToggleRequestParams {
|
|
8
|
-
noteId?: string;
|
|
9
|
-
toggleOptions: {
|
|
10
|
-
noteIndex: number;
|
|
11
|
-
check: boolean;
|
|
12
|
-
toggledInUpdates?: boolean;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
interface todosProps {
|
|
16
|
-
urgentDataList: UrgentDataProps[];
|
|
17
|
-
listMasterData?: ListMasterDataProps;
|
|
18
|
-
detailAction?: (rowId: string | undefined) => void;
|
|
19
|
-
handleNameClick?: (id?: string) => void;
|
|
20
|
-
toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
|
|
21
|
-
}
|
|
22
|
-
declare const Todos: React__default.FC<todosProps>;
|
|
23
|
-
|
|
24
7
|
type AlignmentType = "center" | "left" | "right";
|
|
25
8
|
type IconColorTypes = "white" | "black-900" | "gray-220" | "gray-720" | "inherit" | "gray-300" | string;
|
|
26
9
|
type IconHoverColorTypes = "white" | "black-900" | "gray-220" | "inherit";
|
|
@@ -577,7 +560,6 @@ interface SideBarListProps {
|
|
|
577
560
|
detailAction?: (value: string | undefined) => void;
|
|
578
561
|
handleNameClick?: (id?: string) => void;
|
|
579
562
|
handleChallengeHeaderClick?: (patientId?: string, challengeId?: string) => void;
|
|
580
|
-
toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
|
|
581
563
|
}
|
|
582
564
|
interface UrgentDataProps {
|
|
583
565
|
fullName?: string | undefined;
|
|
@@ -658,12 +640,10 @@ interface UserHistoryDetails {
|
|
|
658
640
|
fullName: string;
|
|
659
641
|
}
|
|
660
642
|
interface NoteItemProps {
|
|
661
|
-
noteId?: string;
|
|
662
643
|
isChecked?: boolean;
|
|
663
644
|
text?: string | undefined;
|
|
664
645
|
enableCheckbox?: boolean;
|
|
665
646
|
additonalInfo?: any;
|
|
666
|
-
noteIndex?: number;
|
|
667
647
|
}
|
|
668
648
|
interface NoteComponentProps {
|
|
669
649
|
onAdd?: (items: NoteProps, serveyId?: string) => void;
|
|
@@ -1457,13 +1437,19 @@ declare const ButtonGroupMultiSelect: React__default.FC<ButtonGroupMultiProps>;
|
|
|
1457
1437
|
interface CheckboxProps {
|
|
1458
1438
|
id?: string;
|
|
1459
1439
|
checked?: boolean;
|
|
1460
|
-
onChange: (
|
|
1440
|
+
onChange: (id?: string) => void;
|
|
1461
1441
|
addtionalClasses?: string;
|
|
1462
|
-
noteId?: string;
|
|
1463
|
-
noteIndex?: number;
|
|
1464
1442
|
}
|
|
1465
1443
|
declare const CheckBoxComponent: React__default.FC<CheckboxProps>;
|
|
1466
1444
|
|
|
1445
|
+
interface todosProps {
|
|
1446
|
+
urgentDataList: UrgentDataProps[];
|
|
1447
|
+
listMasterData?: ListMasterDataProps;
|
|
1448
|
+
detailAction?: (rowId: string | undefined) => void;
|
|
1449
|
+
handleNameClick?: (id?: string) => void;
|
|
1450
|
+
}
|
|
1451
|
+
declare const Todos: React__default.FC<todosProps>;
|
|
1452
|
+
|
|
1467
1453
|
interface UrgentChallengeProps {
|
|
1468
1454
|
urgentDataList: UrgentDataProps[];
|
|
1469
1455
|
listMasterData?: ListMasterDataProps;
|
package/package.json
CHANGED