@equinor/echo-framework 0.10.1 → 0.10.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/__tests__/prepviewUtils.test.d.ts +1 -0
- package/dist/components/containers/layouts.d.ts +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/prepview/Prepview.d.ts +10 -0
- package/dist/components/prepview/api/api.d.ts +4 -0
- package/dist/components/prepview/api/index.d.ts +1 -0
- package/dist/components/prepview/api/resources.d.ts +2 -0
- package/dist/components/prepview/api/workorder.d.ts +2 -0
- package/dist/components/prepview/common/access/handler/StatusHandler.d.ts +8 -0
- package/dist/components/prepview/common/access/handler/index.d.ts +1 -0
- package/dist/components/prepview/common/access/index.d.ts +2 -0
- package/dist/components/prepview/common/access/request/RequestAccess.d.ts +6 -0
- package/dist/components/prepview/common/access/request/index.d.ts +1 -0
- package/dist/components/prepview/common/collapsiblePanel/CollapsiblePanel.d.ts +10 -0
- package/dist/components/prepview/common/collapsiblePanel/index.d.ts +1 -0
- package/dist/components/prepview/common/details/accordion/DetailsAccordion.d.ts +8 -0
- package/dist/components/prepview/common/details/accordion/index.d.ts +1 -0
- package/dist/components/prepview/common/details/index.d.ts +3 -0
- package/dist/components/prepview/common/details/loader/DetailsLoader.d.ts +3 -0
- package/dist/components/prepview/common/details/loader/index.d.ts +1 -0
- package/dist/components/prepview/common/details/panel/DetailsPanel.d.ts +9 -0
- package/dist/components/prepview/common/details/panel/EmptyDetailsPanel.d.ts +6 -0
- package/dist/components/prepview/common/details/panel/description/PanelDescription.d.ts +6 -0
- package/dist/components/prepview/common/details/panel/description/index.d.ts +1 -0
- package/dist/components/prepview/common/details/panel/index.d.ts +3 -0
- package/dist/components/prepview/common/fileSizeDisplay/FileSizeDisplay.d.ts +11 -0
- package/dist/components/prepview/common/fileSizeDisplay/index.d.ts +1 -0
- package/dist/components/prepview/common/index.d.ts +5 -0
- package/dist/components/prepview/common/info/block/InfoBlock.d.ts +8 -0
- package/dist/components/prepview/common/info/block/index.d.ts +1 -0
- package/dist/components/prepview/common/info/index.d.ts +2 -0
- package/dist/components/prepview/common/info/section/InfoSection.d.ts +6 -0
- package/dist/components/prepview/common/info/section/index.d.ts +2 -0
- package/dist/components/prepview/common/info/section/longText/LongTextSection.d.ts +6 -0
- package/dist/components/prepview/common/info/section/longText/index.d.ts +1 -0
- package/dist/components/prepview/hooks/index.d.ts +2 -0
- package/dist/components/prepview/hooks/useFetch.d.ts +4 -0
- package/dist/components/prepview/hooks/useOnClickDownload.d.ts +9 -0
- package/dist/components/prepview/index.d.ts +1 -0
- package/dist/components/prepview/panels/attachments/Attachments.d.ts +9 -0
- package/dist/components/prepview/panels/attachments/index.d.ts +1 -0
- package/dist/components/prepview/panels/history/TagHistory.d.ts +9 -0
- package/dist/components/prepview/panels/history/group/TagHistoryGroup.d.ts +10 -0
- package/dist/components/prepview/panels/history/group/index.d.ts +1 -0
- package/dist/components/prepview/panels/history/index.d.ts +1 -0
- package/dist/components/prepview/panels/history/items/Items.d.ts +11 -0
- package/dist/components/prepview/panels/history/items/NotificationItem.d.ts +7 -0
- package/dist/components/prepview/panels/history/items/PunchItem.d.ts +7 -0
- package/dist/components/prepview/panels/history/items/WorkOrderItem.d.ts +7 -0
- package/dist/components/prepview/panels/history/items/index.d.ts +1 -0
- package/dist/components/prepview/panels/index.d.ts +7 -0
- package/dist/components/prepview/panels/objects/Objects.d.ts +7 -0
- package/dist/components/prepview/panels/objects/index.d.ts +1 -0
- package/dist/components/prepview/panels/operations/Operations.d.ts +7 -0
- package/dist/components/prepview/panels/operations/index.d.ts +1 -0
- package/dist/components/prepview/panels/risk/Risk.d.ts +8 -0
- package/dist/components/prepview/panels/risk/actions/RiskActions.d.ts +6 -0
- package/dist/components/prepview/panels/risk/actions/index.d.ts +1 -0
- package/dist/components/prepview/panels/risk/index.d.ts +1 -0
- package/dist/components/prepview/panels/risk/item/RiskItem.d.ts +7 -0
- package/dist/components/prepview/panels/risk/item/index.d.ts +1 -0
- package/dist/components/prepview/panels/risk/trafficLight/TrafficLight.d.ts +7 -0
- package/dist/components/prepview/panels/risk/trafficLight/index.d.ts +1 -0
- package/dist/components/prepview/panels/tagDocumentRefs/TagDocumentGroup.d.ts +10 -0
- package/dist/components/prepview/panels/tagDocumentRefs/TagDocumentItem.d.ts +9 -0
- package/dist/components/prepview/panels/tagDocumentRefs/TagDocumentRefs.d.ts +9 -0
- package/dist/components/prepview/panels/tagDocumentRefs/index.d.ts +1 -0
- package/dist/components/prepview/panels/tagInformation/TagInformation.d.ts +11 -0
- package/dist/components/prepview/panels/tagInformation/UnsafeFailure.d.ts +7 -0
- package/dist/components/prepview/panels/tagInformation/index.d.ts +1 -0
- package/dist/components/prepview/types/attachment.d.ts +7 -0
- package/dist/components/prepview/types/document.d.ts +13 -0
- package/dist/components/prepview/types/index.d.ts +8 -0
- package/dist/components/prepview/types/notification.d.ts +10 -0
- package/dist/components/prepview/types/operation.d.ts +12 -0
- package/dist/components/prepview/types/punch.d.ts +8 -0
- package/dist/components/prepview/types/safety.d.ts +21 -0
- package/dist/components/prepview/types/tag.d.ts +24 -0
- package/dist/components/prepview/types/workorder.d.ts +80 -0
- package/dist/components/prepview/utils/date.d.ts +5 -0
- package/dist/components/prepview/utils/documents.d.ts +1 -0
- package/dist/components/prepview/utils/dom.d.ts +1 -0
- package/dist/components/prepview/utils/enums/documents.d.ts +14 -0
- package/dist/components/prepview/utils/enums/index.d.ts +2 -0
- package/dist/components/prepview/utils/enums/tagHistoryItem.d.ts +5 -0
- package/dist/components/prepview/utils/index.d.ts +8 -0
- package/dist/components/prepview/utils/logger.d.ts +71 -0
- package/dist/components/prepview/utils/object.d.ts +1 -0
- package/dist/components/prepview/utils/url.d.ts +8 -0
- package/dist/components/prepview/utils/workorder.d.ts +1 -0
- package/dist/components/prepview/workorder/additionalDetails/AdditionalDetails.d.ts +9 -0
- package/dist/components/prepview/workorder/additionalDetails/index.d.ts +1 -0
- package/dist/components/prepview/workorder/details/Details.d.ts +9 -0
- package/dist/components/prepview/workorder/details/index.d.ts +1 -0
- package/dist/components/prepview/workorder/index.d.ts +8 -0
- package/dist/index.js +3 -3
- package/dist/services/api/api-manager.d.ts +10 -2
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/searchUtil.d.ts +1 -0
- package/package.json +3 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare type LayoutKey = 'main' | 'nativePdf' | 'colorLayout' | undefined;
|
|
2
|
+
export declare type LayoutKey = 'main' | 'nativePdf' | 'colorLayout' | '3dweb' | undefined;
|
|
3
3
|
export interface LayoutProps {
|
|
4
4
|
layoutKey?: string;
|
|
5
5
|
children: React.ReactNode;
|
|
@@ -14,6 +14,7 @@ export * from './panelButton';
|
|
|
14
14
|
export * from './plantSelector';
|
|
15
15
|
export * from './projectSelector';
|
|
16
16
|
export * from './realTimeData';
|
|
17
|
+
export * from './prepview';
|
|
17
18
|
export * from './router';
|
|
18
19
|
export * from './searchMenu';
|
|
19
20
|
export * from './tagNumber';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface PrepviewProps {
|
|
3
|
+
instCode: string;
|
|
4
|
+
workOrder?: string;
|
|
5
|
+
notification?: string;
|
|
6
|
+
punch?: string;
|
|
7
|
+
}
|
|
8
|
+
declare function Prepview(props: PrepviewProps): JSX.Element | null;
|
|
9
|
+
export { Prepview };
|
|
10
|
+
export { MaintenanceApiNameForWorkOrders } from './utils';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './api';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FetchStatus } from '../../../types';
|
|
3
|
+
interface Props {
|
|
4
|
+
statusCode: FetchStatus['statusCode'];
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
declare function StatusHandler({ statusCode, children }: Props): JSX.Element;
|
|
8
|
+
export { StatusHandler };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './StatusHandler';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RequestAccess';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface CollapsablePanelType {
|
|
3
|
+
label?: string;
|
|
4
|
+
maxHeightCollapsed?: number;
|
|
5
|
+
noPadding?: boolean;
|
|
6
|
+
isExpandedDefault?: boolean;
|
|
7
|
+
children: JSX.Element | string[] | string;
|
|
8
|
+
}
|
|
9
|
+
declare function CollapsiblePanel({ label, maxHeightCollapsed, noPadding, isExpandedDefault, children }: CollapsablePanelType): JSX.Element;
|
|
10
|
+
export { CollapsiblePanel };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CollapsiblePanel';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AccordionProps } from '@equinor/eds-core-react';
|
|
3
|
+
interface DetailsAccordionProps {
|
|
4
|
+
headerLevel?: AccordionProps['headerLevel'];
|
|
5
|
+
children: React.ReactNode[];
|
|
6
|
+
}
|
|
7
|
+
declare function DetailsAccordion({ headerLevel, children }: DetailsAccordionProps): JSX.Element;
|
|
8
|
+
export { DetailsAccordion };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DetailsAccordion';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DetailsLoader';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
title: string;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
buttonBar?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare function DetailsPanel({ title, isLoading, buttonBar, children }: Props): JSX.Element;
|
|
9
|
+
export { DetailsPanel };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PanelDescription';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FileDto } from '@equinor/echo-search';
|
|
3
|
+
interface FileSizeDisplayProps {
|
|
4
|
+
files: FileDto[];
|
|
5
|
+
fileType?: 'pdf';
|
|
6
|
+
viewCode?: 'v';
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
declare function FileSizeDisplay({ files, fileType, viewCode, className }: FileSizeDisplayProps): JSX.Element | null;
|
|
10
|
+
declare function formatBytes(bytes: number, decimals?: number): string;
|
|
11
|
+
export { FileSizeDisplay, formatBytes };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FileSizeDisplay';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface InfoBlockType {
|
|
3
|
+
label: string;
|
|
4
|
+
stretched?: boolean;
|
|
5
|
+
children: JSX.Element | string[] | string | number;
|
|
6
|
+
}
|
|
7
|
+
declare function InfoBlock({ label, stretched, children }: InfoBlockType): JSX.Element;
|
|
8
|
+
export { InfoBlock };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InfoBlock';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './LongTextSection';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DependencyList } from 'react';
|
|
2
|
+
declare type FetchCallback<T> = () => Promise<T> | undefined;
|
|
3
|
+
export declare function useFetch<TError = unknown, T = unknown>(callback: FetchCallback<T>, deps?: DependencyList): [data: T | undefined, isLoading: boolean, error: TError | unknown];
|
|
4
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare type DownloadPromise = () => Promise<Blob>;
|
|
2
|
+
interface DownloadOnClick {
|
|
3
|
+
isLoading: boolean;
|
|
4
|
+
objectUrl?: string;
|
|
5
|
+
error?: unknown;
|
|
6
|
+
downloadOnClick: () => Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
declare function useOnClickDownload(downloadBlob: DownloadPromise, fileName?: string): DownloadOnClick;
|
|
9
|
+
export { useOnClickDownload };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Prepview';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { PrepviewAttachment, WorkOrderDetails } from '../../types';
|
|
3
|
+
interface Props {
|
|
4
|
+
workorder: WorkOrderDetails;
|
|
5
|
+
attachments: PrepviewAttachment[];
|
|
6
|
+
isLoading?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function AttachmentsPanel({ workorder, attachments, isLoading }: Props): JSX.Element;
|
|
9
|
+
export { AttachmentsPanel };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Attachments';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PrepviewNotification, PrepviewPunch, PrepviewTagHistoryGroup, PrepviewWorkOrder } from '../../types';
|
|
3
|
+
interface HistoryProps {
|
|
4
|
+
notificationGroups: PrepviewTagHistoryGroup<PrepviewNotification>[];
|
|
5
|
+
workOrderGroups: PrepviewTagHistoryGroup<PrepviewWorkOrder>[];
|
|
6
|
+
punchGroups: PrepviewTagHistoryGroup<PrepviewPunch>[];
|
|
7
|
+
}
|
|
8
|
+
declare function TagHistoryPanel({ notificationGroups, workOrderGroups, punchGroups }: HistoryProps): JSX.Element;
|
|
9
|
+
export { TagHistoryPanel };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PrepviewNotification, PrepviewPunch, PrepviewTagHistoryGroup, PrepviewWorkOrder } from '../../../types';
|
|
3
|
+
import { WorkItemType } from '../../../utils';
|
|
4
|
+
interface Props {
|
|
5
|
+
emptyText: string;
|
|
6
|
+
workItemType: WorkItemType;
|
|
7
|
+
groups: PrepviewTagHistoryGroup<PrepviewNotification | PrepviewWorkOrder | PrepviewPunch>[];
|
|
8
|
+
}
|
|
9
|
+
declare function TagHistoryGroup({ groups, emptyText, workItemType }: Props): JSX.Element;
|
|
10
|
+
export { TagHistoryGroup };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TagHistoryGroup';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TagHistory';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { WorkItemType } from '../../../utils';
|
|
3
|
+
import { PrepviewNotification, PrepviewWorkOrder, PrepviewPunch } from '../../../types';
|
|
4
|
+
declare type Items = Array<PrepviewNotification | PrepviewWorkOrder | PrepviewPunch>;
|
|
5
|
+
export interface ItemProps {
|
|
6
|
+
itemType: WorkItemType;
|
|
7
|
+
subType: string;
|
|
8
|
+
items: Items;
|
|
9
|
+
}
|
|
10
|
+
declare const Items: React.FC<ItemProps>;
|
|
11
|
+
export { Items };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Items';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Objects';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Operations';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PrepviewSafety } from '../../types';
|
|
3
|
+
interface RiskTabProps {
|
|
4
|
+
safetyCards: PrepviewSafety[];
|
|
5
|
+
searchValue?: string;
|
|
6
|
+
}
|
|
7
|
+
declare function RiskPanel({ safetyCards, searchValue }: RiskTabProps): JSX.Element;
|
|
8
|
+
export { RiskPanel };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RiskActions';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Risk';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RiskItem';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TrafficLight';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { PrepviewDocument } from '../../types';
|
|
3
|
+
interface TagDocumentGroupProps {
|
|
4
|
+
instCode: string;
|
|
5
|
+
docType: string;
|
|
6
|
+
documents: PrepviewDocument[];
|
|
7
|
+
tagNo: string;
|
|
8
|
+
}
|
|
9
|
+
declare function TagDocumentGroup({ instCode, docType, documents, tagNo }: TagDocumentGroupProps): JSX.Element;
|
|
10
|
+
export { TagDocumentGroup };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PrepviewDocument } from '../../types';
|
|
3
|
+
interface TagDocumentItemProps {
|
|
4
|
+
instCode: string;
|
|
5
|
+
document: PrepviewDocument;
|
|
6
|
+
tagNo: string;
|
|
7
|
+
}
|
|
8
|
+
declare function TagDocumentItem({ instCode, document, tagNo }: TagDocumentItemProps): JSX.Element;
|
|
9
|
+
export { TagDocumentItem };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { PrepviewDocumentGroup } from '../../types';
|
|
3
|
+
interface Props {
|
|
4
|
+
instCode: string;
|
|
5
|
+
documentGroups: Array<PrepviewDocumentGroup>;
|
|
6
|
+
tagNo: string;
|
|
7
|
+
}
|
|
8
|
+
declare function TagDocumentRefsPanel({ documentGroups, instCode, tagNo }: Props): JSX.Element;
|
|
9
|
+
export { TagDocumentRefsPanel };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TagDocumentRefs';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PrepviewTagInformation } from '../../types';
|
|
3
|
+
interface Props {
|
|
4
|
+
tagInformation: PrepviewTagInformation;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* TagInformationPanel
|
|
8
|
+
* this panel requires the user to have maintenance access to show data.
|
|
9
|
+
*/
|
|
10
|
+
declare function TagInformationPanel({ tagInformation }: Props): JSX.Element;
|
|
11
|
+
export { TagInformationPanel };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PrepviewTagInformation } from '../../types';
|
|
3
|
+
interface UnsafeFailureProps {
|
|
4
|
+
unsafeFailure: PrepviewTagInformation['unsafeFailure'];
|
|
5
|
+
}
|
|
6
|
+
declare function UnsafeFailure({ unsafeFailure }: UnsafeFailureProps): JSX.Element;
|
|
7
|
+
export { UnsafeFailure };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TagInformation';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FileDto } from '@equinor/echo-search';
|
|
2
|
+
export declare type PrepviewDocumentGroup = {
|
|
3
|
+
type: string;
|
|
4
|
+
documents: Array<PrepviewDocument>;
|
|
5
|
+
};
|
|
6
|
+
export declare type PrepviewDocument = {
|
|
7
|
+
docNo: string;
|
|
8
|
+
docTitle: string;
|
|
9
|
+
files: Array<FileDto>;
|
|
10
|
+
revDate: Date;
|
|
11
|
+
revNo: string;
|
|
12
|
+
revStatus: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare type PrepviewOperation = {
|
|
2
|
+
actualPercentageComplete: number;
|
|
3
|
+
actualWorkHours: string;
|
|
4
|
+
capacityCount: number;
|
|
5
|
+
earliestFinishDateTime: Date;
|
|
6
|
+
earliestStartDateTime: Date;
|
|
7
|
+
operationNumber: string;
|
|
8
|
+
plannedDuration: string;
|
|
9
|
+
plannedWorkHours: string;
|
|
10
|
+
title: string;
|
|
11
|
+
workCenterId: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare type PrepviewSafety = {
|
|
2
|
+
title: string;
|
|
3
|
+
description: string;
|
|
4
|
+
caseDate: string;
|
|
5
|
+
country: string;
|
|
6
|
+
url: string;
|
|
7
|
+
severity: number;
|
|
8
|
+
};
|
|
9
|
+
export interface SafetyDataParams {
|
|
10
|
+
dateFrom: string;
|
|
11
|
+
dateTo: string;
|
|
12
|
+
filters: SafetyDataFilter[];
|
|
13
|
+
query: string;
|
|
14
|
+
sortByDate: boolean;
|
|
15
|
+
top: number;
|
|
16
|
+
}
|
|
17
|
+
interface SafetyDataFilter {
|
|
18
|
+
fieldName: string;
|
|
19
|
+
values: string[];
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare type PrepviewTagInformation = {
|
|
2
|
+
abcIndicator: string;
|
|
3
|
+
area: string;
|
|
4
|
+
consequenceCost: string;
|
|
5
|
+
consequenceFail: string;
|
|
6
|
+
consequenceHse: string;
|
|
7
|
+
consequenceProd: string;
|
|
8
|
+
criticalSparepartDemandTime?: Date;
|
|
9
|
+
functionalLocation: string;
|
|
10
|
+
id: string;
|
|
11
|
+
location: string;
|
|
12
|
+
overallCriticality: string;
|
|
13
|
+
redundancy: string;
|
|
14
|
+
repairStrategy: string;
|
|
15
|
+
unsafeFailure: string[];
|
|
16
|
+
};
|
|
17
|
+
export declare type PrepviewRelatedTag = {
|
|
18
|
+
tagId: string;
|
|
19
|
+
tagPlantId: string;
|
|
20
|
+
tag: string;
|
|
21
|
+
notification?: string;
|
|
22
|
+
equipment?: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
};
|