@equinor/echo-framework 0.10.11 → 0.10.13
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.
|
@@ -1,10 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { SideSheetOrientation } from '@equinor/echo-components';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface PrepviewContext {
|
|
4
|
-
orientation: SideSheetOrientation;
|
|
5
|
-
}
|
|
6
|
-
declare const PrepviewContext: React.Context<PrepviewContext>;
|
|
7
|
-
export declare const usePrepviewContext: () => PrepviewContext;
|
|
8
3
|
interface PrepviewProps {
|
|
9
4
|
instCode: string;
|
|
10
5
|
orientation: SideSheetOrientation;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SideSheetOrientation } from '@equinor/echo-components';
|
|
3
|
+
interface PrepviewContext {
|
|
4
|
+
orientation: SideSheetOrientation;
|
|
5
|
+
}
|
|
6
|
+
export declare const PrepviewContext: React.Context<PrepviewContext>;
|
|
7
|
+
export declare const usePrepviewContext: () => PrepviewContext;
|
|
8
|
+
export {};
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
export declare const MaintenanceApiNameForWorkOrders: Record<string, string>;
|
|
2
|
+
export declare function setIconName(orderType: string): "workorders_pm01" | "workorders_pm02" | "workorders_pm03" | "workorders_pm04" | "workorders_pm05" | "workorders_pm06" | "workorders_pm10" | "workorders_pm15" | "workorders_pm20" | "workorders_main_group";
|