dfh-ui-library 1.14.10 → 1.14.12
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/Gird/Grid.d.ts +1 -1
- package/dist/cjs/types/components/Media/Icons/Icons.d.ts +2 -0
- package/dist/cjs/types/shared/models/components/common.model.d.ts +2 -0
- 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/Gird/Grid.d.ts +1 -1
- package/dist/esm/types/components/Media/Icons/Icons.d.ts +2 -0
- package/dist/esm/types/shared/models/components/common.model.d.ts +2 -0
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { TableProps } from '../../shared/models/components/common.model';
|
3
3
|
export declare function Table({ data, columns, sorting, onSortingChange, pagination, onPaginationChange, totalRecords, isManualPagination, // true for server-side pagination
|
4
|
-
isManualSorting, rowClick, containerHeightRemoveInPixel, setRowSelection, isLoading, paginationLabel, emptyLabel, otherTableProps, noDataImage }: TableProps, key?: any): React.JSX.Element;
|
4
|
+
isManualSorting, rowClick, addBtnClick, addBtnText, containerHeightRemoveInPixel, setRowSelection, isLoading, paginationLabel, emptyLabel, otherTableProps, noDataImage }: TableProps, key?: any): React.JSX.Element;
|
@@ -89,3 +89,5 @@ export declare const WarningCircleIcon: ({ classes, onClick, ...props }: IconPro
|
|
89
89
|
export declare const LightbulbIcon: ({ classes, onClick, ...props }: IconProps) => React.JSX.Element;
|
90
90
|
export declare const LockIcon: ({ classes, onClick, ...props }: IconProps) => React.JSX.Element;
|
91
91
|
export declare const LockIcon2: ({ classes, onClick, ...props }: IconProps) => React.JSX.Element;
|
92
|
+
export declare const NoPatientIcon: () => React.JSX.Element;
|
93
|
+
export declare const NoReportIcon: () => React.JSX.Element;
|
@@ -1052,6 +1052,8 @@ export interface TableProps {
|
|
1052
1052
|
isManualSorting?: boolean;
|
1053
1053
|
containerHeightRemoveInPixel?: number;
|
1054
1054
|
rowClick?: (row: any) => void;
|
1055
|
+
addBtnClick?: () => void;
|
1056
|
+
addBtnText?: string;
|
1055
1057
|
setRowSelection?: any;
|
1056
1058
|
isLoading?: boolean;
|
1057
1059
|
paginationLabel?: string;
|
package/dist/index.d.ts
CHANGED
@@ -929,6 +929,8 @@ interface TableProps {
|
|
929
929
|
isManualSorting?: boolean;
|
930
930
|
containerHeightRemoveInPixel?: number;
|
931
931
|
rowClick?: (row: any) => void;
|
932
|
+
addBtnClick?: () => void;
|
933
|
+
addBtnText?: string;
|
932
934
|
setRowSelection?: any;
|
933
935
|
isLoading?: boolean;
|
934
936
|
paginationLabel?: string;
|
@@ -1774,7 +1776,7 @@ type IconProps = {
|
|
1774
1776
|
declare const IconV2: React__default.FC<IconProps>;
|
1775
1777
|
|
1776
1778
|
declare function Table({ data, columns, sorting, onSortingChange, pagination, onPaginationChange, totalRecords, isManualPagination, // true for server-side pagination
|
1777
|
-
isManualSorting, rowClick, containerHeightRemoveInPixel, setRowSelection, isLoading, paginationLabel, emptyLabel, otherTableProps, noDataImage }: TableProps, key?: any): React__default.JSX.Element;
|
1779
|
+
isManualSorting, rowClick, addBtnClick, addBtnText, containerHeightRemoveInPixel, setRowSelection, isLoading, paginationLabel, emptyLabel, otherTableProps, noDataImage }: TableProps, key?: any): React__default.JSX.Element;
|
1778
1780
|
|
1779
1781
|
declare function IndeterminateCheckbox({ indeterminate, rowId, className, ...rest }: {
|
1780
1782
|
indeterminate?: boolean;
|