@oliasoft-open-source/react-ui-library 5.7.0-beta-1 → 5.7.0-beta-3
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/index.d.ts +10 -3
- package/dist/index.js +1429 -43
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export declare interface AuditLogItem {
|
|
|
41
41
|
operation: AuditLogOperation;
|
|
42
42
|
source: AuditLogSource;
|
|
43
43
|
createdAt: string;
|
|
44
|
-
diffs:
|
|
44
|
+
diffs: JsonDelta | JsonDelta[];
|
|
45
45
|
operationMetaData?: string;
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -49,7 +49,7 @@ declare type AuditLogOperation = 'Created' | 'Cloned' | 'Reverted' | 'Imported'
|
|
|
49
49
|
|
|
50
50
|
declare type AuditLogSource = 'System' | 'Application' | 'API';
|
|
51
51
|
|
|
52
|
-
export declare function AuditLogTable({ logs,
|
|
52
|
+
export declare function AuditLogTable({ logs, data, total, loading, selectedPage, rowsPerPage, onChangeRowsPerPage, onSelectPage, }: IAuditLogTableProps): JSX_2.Element;
|
|
53
53
|
|
|
54
54
|
export declare const Badge: ({ children, color, title, dot, margin, small, }: IBadgeProps) => JSX_2.Element;
|
|
55
55
|
|
|
@@ -186,8 +186,13 @@ export declare interface IActionProps {
|
|
|
186
186
|
|
|
187
187
|
declare interface IAuditLogTableProps {
|
|
188
188
|
logs: AuditLogItem[];
|
|
189
|
+
total: number;
|
|
189
190
|
loading?: boolean;
|
|
190
|
-
|
|
191
|
+
selectedPage: number;
|
|
192
|
+
rowsPerPage: number;
|
|
193
|
+
onSelectPage: (page: number) => void;
|
|
194
|
+
onChangeRowsPerPage: (n: number) => void;
|
|
195
|
+
data: any;
|
|
191
196
|
}
|
|
192
197
|
|
|
193
198
|
export declare interface IBadgeProps {
|
|
@@ -1843,6 +1848,8 @@ export declare interface IUnitTableRow extends Omit<TRowType, 'cells'> {
|
|
|
1843
1848
|
declare interface IUnitTableStaticCell extends IStaticCell, IUnitTableCell {
|
|
1844
1849
|
}
|
|
1845
1850
|
|
|
1851
|
+
declare type JsonDelta = Record<string, any>;
|
|
1852
|
+
|
|
1846
1853
|
export declare const Label: ({ label, width, helpText, helpTextMaxWidth, onClickHelp, lock, info, libraryIcon, labelLeft, textTransform, }: ILabelProps) => JSX_2.Element;
|
|
1847
1854
|
|
|
1848
1855
|
export declare const List: ({ list, bordered, expanding, narrow, toggleNarrow, onToggleNarrow, invokeEditOnRowClick, noHeader, stickyHeader, draggable, onListReorder, marginBottom, height, testId, scrollDetails, }: IListProps) => JSX_2.Element;
|