@evoke-platform/ui-components 1.0.0-dev.222 → 1.0.0-dev.223
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/published/components/custom/HistoryLog/DisplayedProperty.d.ts +2 -2
- package/dist/published/components/custom/HistoryLog/DisplayedProperty.js +2 -2
- package/dist/published/components/custom/HistoryLog/Filter.d.ts +2 -2
- package/dist/published/components/custom/HistoryLog/HistoryData.d.ts +3 -2
- package/dist/published/components/custom/HistoryLog/HistoryData.js +4 -4
- package/dist/published/components/custom/HistoryLog/index.d.ts +3 -2
- package/package.json +1 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import {
|
2
|
+
import { Property } from '@evoke-platform/context';
|
3
3
|
declare type DisplayedPropertyProps = {
|
4
|
-
property:
|
4
|
+
property: Property;
|
5
5
|
value: unknown;
|
6
6
|
};
|
7
7
|
declare const DisplayedProperty: (props: DisplayedPropertyProps) => JSX.Element;
|
@@ -1,7 +1,7 @@
|
|
1
|
+
import { DateTime } from 'luxon';
|
1
2
|
import React from 'react';
|
2
|
-
import { Grid } from '../../layout';
|
3
3
|
import { CardMedia, Typography } from '../../core';
|
4
|
-
import {
|
4
|
+
import { Grid } from '../../layout';
|
5
5
|
import { RichTextViewer } from '../RichTextViewer';
|
6
6
|
const DisplayedProperty = (props) => {
|
7
7
|
const { property, value } = props;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import {
|
2
|
+
import { Obj } from '@evoke-platform/context';
|
3
3
|
declare type HistoryFilterProps = {
|
4
4
|
filter: string[];
|
5
5
|
setFilter: (filter: string[]) => void;
|
6
|
-
object:
|
6
|
+
object: Obj;
|
7
7
|
order?: 'desc' | 'asc';
|
8
8
|
setOrder: (order: 'desc' | 'asc') => void;
|
9
9
|
};
|
@@ -1,10 +1,11 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import {
|
2
|
+
import { Obj } from '@evoke-platform/context';
|
3
|
+
import { History } from '../../../types';
|
3
4
|
export declare const nanoid: (size?: number | undefined) => string;
|
4
5
|
declare type HistoryDataProps = {
|
5
6
|
records: History[];
|
6
7
|
documentHistory?: Record<string, History[]>;
|
7
|
-
object:
|
8
|
+
object: Obj;
|
8
9
|
};
|
9
10
|
declare const HistoricalData: (props: HistoryDataProps) => JSX.Element;
|
10
11
|
export default HistoricalData;
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { Box, Grid } from '../../layout';
|
3
|
-
import { Typography } from '../../core';
|
4
1
|
import { ArrowForward } from '@mui/icons-material';
|
2
|
+
import { lowerCase } from 'lodash';
|
5
3
|
import { customAlphabet } from 'nanoid';
|
6
4
|
import { lowercase, uppercase } from 'nanoid-dictionary';
|
7
|
-
import
|
5
|
+
import React from 'react';
|
6
|
+
import { Typography } from '../../core';
|
7
|
+
import { Box, Grid } from '../../layout';
|
8
8
|
import DisplayedProperty from './DisplayedProperty';
|
9
9
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
10
10
|
const { format } = require('small-date');
|
@@ -1,8 +1,9 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import {
|
2
|
+
import { Obj } from '@evoke-platform/context';
|
3
|
+
import { History } from '../../../types';
|
3
4
|
export declare type HistoryLogProps = {
|
4
5
|
/** The object instance associated with the history log */
|
5
|
-
object:
|
6
|
+
object: Obj;
|
6
7
|
/** An array of history entries representing the log. */
|
7
8
|
history: History[];
|
8
9
|
/** Indicates whether the history data is loading */
|