@equinor/echo-framework 0.10.8 → 0.10.10
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/components/homePage/HomePage.d.ts +2 -0
- package/dist/components/homePage/index.d.ts +1 -0
- package/dist/components/plantSelector/plantSelector.d.ts +3 -0
- package/dist/components/prepview/notification/details/Details.d.ts +1 -1
- package/dist/components/prepview/panels/attachments/Attachments.d.ts +1 -2
- package/dist/components/prepview/panels/risk/Risk.d.ts +1 -1
- package/dist/components/prepview/punch/details/Details.d.ts +1 -1
- package/dist/components/prepview/types/attachment.d.ts +1 -1
- package/dist/components/prepview/types/notification.d.ts +2 -0
- package/dist/components/prepview/types/workorder.d.ts +3 -0
- package/dist/components/prepview/utils/url.d.ts +1 -0
- package/dist/components/prepview/workorder/details/Details.d.ts +1 -1
- package/dist/components/prepview/workorder/header/Header.d.ts +8 -0
- package/dist/components/prepview/workorder/header/index.d.ts +1 -0
- package/dist/components/projectSelector/ProcosysProjectSelector.d.ts +3 -0
- package/dist/index.js +5 -7
- package/package.json +30 -30
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './HomePage';
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface PlantSelectorProps {
|
|
3
|
+
variant?: 'compact' | 'default';
|
|
4
|
+
maxCharacterCount?: number;
|
|
3
5
|
isDisabled?: boolean;
|
|
4
6
|
stayOnPath?: boolean;
|
|
5
7
|
}
|
|
6
8
|
/**
|
|
7
9
|
* Dropdown component for displaying a searchable plant selector.
|
|
8
10
|
* @param {PlantSelectorProps} {
|
|
11
|
+
* variant: The style type for the dropdown component. Either default or compact.
|
|
9
12
|
* isDisabled: Flag which decides whether the dropdown should be disabled or not.
|
|
10
13
|
* stayOnPath: Flag which decides if you should stay on your current path after selecting a plant.
|
|
11
14
|
* }
|
|
@@ -4,7 +4,6 @@ interface Props {
|
|
|
4
4
|
recordType: string;
|
|
5
5
|
recordId: string;
|
|
6
6
|
attachments: PrepviewAttachment[];
|
|
7
|
-
isLoading?: boolean;
|
|
8
7
|
}
|
|
9
|
-
declare function AttachmentsPanel({ recordType, recordId, attachments
|
|
8
|
+
declare function AttachmentsPanel({ recordType, recordId, attachments }: Props): JSX.Element;
|
|
10
9
|
export { AttachmentsPanel };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { PrepviewSafety } from '../../types';
|
|
3
3
|
interface RiskTabProps {
|
|
4
4
|
safetyCards: PrepviewSafety[];
|
|
5
|
-
searchValue
|
|
5
|
+
searchValue: string;
|
|
6
6
|
}
|
|
7
7
|
declare function RiskPanel({ safetyCards, searchValue }: RiskTabProps): JSX.Element;
|
|
8
8
|
export { RiskPanel };
|
|
@@ -18,6 +18,8 @@ export declare type NotificationDetails = FetchStatus & {
|
|
|
18
18
|
plantId: string;
|
|
19
19
|
createdDateTime: Date;
|
|
20
20
|
requiredEndDateTime: Date;
|
|
21
|
+
maintenancePlant: string;
|
|
22
|
+
planningPlant: string;
|
|
21
23
|
activeStatusIds: string[];
|
|
22
24
|
unsafeFailureMode: string;
|
|
23
25
|
plannerGroup: string;
|
|
@@ -15,6 +15,9 @@ export declare type WorkOrderDetails = FetchStatus & {
|
|
|
15
15
|
basicStartDateTime: Date;
|
|
16
16
|
changedDateTime: Date;
|
|
17
17
|
createdDateTime: Date;
|
|
18
|
+
requiredEndDateTime: Date;
|
|
19
|
+
maintenancePlant: string;
|
|
20
|
+
planningPlant: string;
|
|
18
21
|
activeStatusIds: string;
|
|
19
22
|
description: string;
|
|
20
23
|
equipmentId: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Header';
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface ProjectSelectorProps {
|
|
3
|
+
variant?: 'compact' | 'default';
|
|
4
|
+
maxCharacterCount?: number;
|
|
3
5
|
isDisabled?: boolean;
|
|
4
6
|
}
|
|
5
7
|
export declare const ALL_PROJECTS = "All projects";
|
|
6
8
|
/**
|
|
7
9
|
* Dropdown component for displaying a searchable project selector.
|
|
8
10
|
* @param {ProjectSelectorProps} {
|
|
11
|
+
* variant: The style type for the dropdown component. Either default or compact.
|
|
9
12
|
* isDisabled: Flag which decides whether the dropdown should be disabled or not.
|
|
10
13
|
* }
|
|
11
14
|
* @return {*}
|