@equinor/echo-framework 0.18.0-beta-0 → 0.18.0

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/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@equinor/echo-framework",
3
- "version": "0.18.0-beta-0",
3
+ "version": "0.18.0",
4
4
  "peerDependencies": {
5
5
  "@equinor/echo-base": ">= 0.7.0 < 0.8.0",
6
- "@equinor/echo-components": "0.11.0-beta-0",
6
+ "@equinor/echo-components": ">= 0.11.0 < 0.12.0",
7
7
  "@equinor/echo-core": ">= 0.9.0 < 0.10.0",
8
8
  "@equinor/echo-search": ">= 0.15.0 < 0.16.0",
9
- "@equinor/echo-utils": "0.4.0-beta-0",
9
+ "@equinor/echo-utils": ">= 0.4.0 < 0.5.0",
10
10
  "@equinor/eds-core-react": "0.34.0",
11
11
  "@equinor/eds-icons": "0.19.3",
12
12
  "react": ">= 17.0.2",
package/src/index.d.ts CHANGED
@@ -4,6 +4,7 @@ import { getLegendStatusColor } from './lib/feature/legend/utils/legendUtils';
4
4
  import './lib/globalStyles.css';
5
5
  import { getPlantsInfo, getTagDetails } from './lib/services/api';
6
6
  export * from './lib/components';
7
+ export { RequestProCoSysAccess } from './lib/components/requestAccess/RequestProCoSysAccess';
7
8
  export { RequestSapAccess } from './lib/components/requestAccess/RequestSapAccess';
8
9
  export * from './lib/coreApplication';
9
10
  export * from './lib/feature/equipment/index';
@@ -2,6 +2,7 @@ export type PrepviewOperation = {
2
2
  operationNumber: string;
3
3
  title: string;
4
4
  workCenterId: string;
5
+ plantId: string;
5
6
  activeStatusIds: string;
6
7
  earliestStartDateTime: Date;
7
8
  earliestFinishDateTime: Date;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ type RequestProCoSysAccessProps = {
3
+ className?: string;
4
+ onClicked?: () => void;
5
+ };
6
+ export declare const RequestProCoSysAccess: React.FC<RequestProCoSysAccessProps>;
7
+ export {};
@@ -96,3 +96,12 @@ export declare function checkPlantAvailableIn3d(instCode: string, plantCode?: st
96
96
  * @return {*} {Promise<boolean>} returns whether the user has access to that given plant
97
97
  */
98
98
  export declare function checkPlantAvailableIn3dWeb(instCode: string, plantCode?: string): Promise<boolean>;
99
+ /**
100
+ * Method to get the valid plant code to use as param in URL when redirecting to ROBIM.
101
+ * They use JSF (Johan Sverdrup Fieldcenter) for plant JSV.
102
+ *
103
+ * @export
104
+ * @param {string} instCode Installation code
105
+ * @return {*} {string} returns the ROBIM plant code
106
+ */
107
+ export declare function convertToRobimPlantCode(instCode: string): string;