@equinor/echo-framework 0.10.17 → 0.10.20
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/containers/layouts.d.ts +1 -1
- package/dist/components/contextualAppLinks/contextualAppLinks.context.d.ts +1 -1
- package/dist/components/contextualAppLinks/contextualAppLinks.d.ts +1 -1
- package/dist/components/contextualAppLinks/externalAppsMenu.d.ts +1 -1
- package/dist/components/contextualAppLinks/externalLinkButtons/externalLinkButtons.helpers.d.ts +2 -2
- package/dist/components/contextualAppLinks/externalLinkButtons/externalLinkToCommApp.d.ts +1 -1
- package/dist/components/contextualAppLinks/externalLinkButtons/externalLinkToConditionAdviser.d.ts +1 -1
- package/dist/components/contextualAppLinks/externalLinkButtons/externalLinkToMcApp.d.ts +1 -1
- package/dist/components/contextualAppLinks/externalLinkButtons/externalLinkToProCoSys.d.ts +1 -1
- package/dist/components/contextualAppLinks/externalLinkButtons/externalLinkToSafeX.d.ts +1 -1
- package/dist/components/contextualAppLinks/externalLinkButtons/externalLinkToSap.d.ts +1 -1
- package/dist/components/contextualAppLinks/externalLinkButtons/externalLinkToSemiDoc.d.ts +1 -1
- package/dist/components/contextualAppLinks/externalLinkButtons/externalLinkToStid.d.ts +1 -1
- package/dist/components/contextualAppLinks/externalLinkButtons/externalLinkToTr2000.d.ts +1 -1
- package/dist/components/contextualAppLinks/externalLinkButtons/externalLinkToTrendingApp.d.ts +1 -1
- package/dist/components/contextualAppLinks/externalLinkButtons/iconButtonSpinner.d.ts +1 -1
- package/dist/components/contextualAppLinks/hooks/useContextualAppLinks.d.ts +1 -1
- package/dist/components/contextualAppLinks/index.d.ts +1 -1
- package/dist/components/contextualAppLinks/internalAppLinks.d.ts +1 -1
- package/dist/components/contextualAppLinks/linkButton.d.ts +2 -2
- package/dist/components/externalLinkButton/externalLinkButton.d.ts +4 -4
- package/dist/components/homePage/HomePage.d.ts +1 -2
- package/dist/components/pageMenu/defaultAccordionItem.d.ts +1 -1
- package/dist/components/prepview/Prepview.d.ts +2 -1
- package/dist/components/prepview/api/attachment.d.ts +1 -1
- package/dist/components/prepview/api/resources.d.ts +1 -0
- package/dist/components/prepview/common/access/request/RequestAccess.d.ts +1 -1
- package/dist/components/prepview/common/additionalInformation/AdditionalDetails.d.ts +11 -0
- package/dist/components/prepview/common/additionalInformation/tabsPanels/TabsPanels.d.ts +15 -0
- package/dist/components/prepview/common/additionalInformation/tabsPanels/index.d.ts +1 -0
- package/dist/components/prepview/common/info/section/longText/LongTextSection.d.ts +2 -1
- package/dist/components/prepview/context/PrepviewContext.d.ts +1 -0
- package/dist/components/prepview/hooks/useFetch.d.ts +1 -1
- package/dist/components/prepview/hooks/useOnClickDownload.d.ts +1 -1
- package/dist/components/prepview/hooks/useSetActiveSearchItem.d.ts +2 -2
- package/dist/components/prepview/notification/details/{Details.d.ts → DetailsNotification.d.ts} +2 -2
- package/dist/components/prepview/notification/details/index.d.ts +1 -1
- package/dist/components/prepview/panels/history/items/Items.d.ts +1 -1
- package/dist/components/prepview/types/attachment.d.ts +1 -1
- package/dist/components/prepview/types/common.d.ts +40 -3
- package/dist/components/prepview/types/document.d.ts +2 -2
- package/dist/components/prepview/types/notification.d.ts +4 -4
- package/dist/components/prepview/types/operation.d.ts +1 -1
- package/dist/components/prepview/types/punch.d.ts +2 -2
- package/dist/components/prepview/types/safety.d.ts +1 -1
- package/dist/components/prepview/types/tag.d.ts +2 -2
- package/dist/components/prepview/types/workorder.d.ts +5 -5
- package/dist/components/prepview/utils/index.d.ts +1 -1
- package/dist/components/prepview/utils/logger.d.ts +10 -10
- package/dist/components/prepview/utils/notification.d.ts +2 -0
- package/dist/components/prepview/utils/punch.d.ts +1 -1
- package/dist/components/prepview/utils/url.d.ts +1 -1
- package/dist/components/prepview/workorder/details/{Details.d.ts → DetailsWorkOrder.d.ts} +2 -2
- package/dist/components/prepview/workorder/details/index.d.ts +1 -1
- package/dist/components/prepview/workorder/header/Header.d.ts +2 -1
- package/dist/components/prepview/workorder/index.d.ts +2 -1
- package/dist/components/realTimeData/hooks/useRealTimeHub.d.ts +1 -1
- package/dist/components/realTimeData/hooks/useSignalRListener.d.ts +1 -1
- package/dist/coreApplication/EchoSetup.d.ts +1 -1
- package/dist/hooks/useEchoHistory.d.ts +2 -2
- package/dist/hooks/useScreenValues.d.ts +1 -1
- package/dist/hooks/useSemi.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/services/api/api-manager.d.ts +1 -1
- package/dist/services/componentRegistry/componentRegistry.d.ts +1 -1
- package/dist/types/api-proCoSysTagResponse.d.ts +1 -1
- package/dist/types/hookLibrary.d.ts +5 -5
- package/package.json +23 -23
- package/dist/components/prepview/notification/additionalDetails/AdditionalDetails.d.ts +0 -10
- package/dist/components/prepview/notification/additionalDetails/index.d.ts +0 -1
- package/dist/components/prepview/utils/status.d.ts +0 -3
- package/dist/components/prepview/workorder/additionalDetails/AdditionalDetails.d.ts +0 -10
- package/dist/components/prepview/workorder/additionalDetails/index.d.ts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './DetailsWorkOrder';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { WorkOrderDetails } from '../../types';
|
|
3
3
|
interface HeaderProps {
|
|
4
4
|
instCode: string;
|
|
5
5
|
workOrder: WorkOrderDetails;
|
|
6
|
+
workOrderHeaderAction?: React.ReactNode;
|
|
6
7
|
}
|
|
7
8
|
declare function Header(props: HeaderProps): JSX.Element | null;
|
|
8
9
|
export { Header };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { PrepviewWorkOrderDto } from '../types';
|
|
3
3
|
interface WorkOrderProps {
|
|
4
4
|
instCode: string;
|
|
5
5
|
workOrder: PrepviewWorkOrderDto;
|
|
6
6
|
closePanel: () => void;
|
|
7
|
+
workOrderHeaderAction?: React.ReactNode;
|
|
7
8
|
}
|
|
8
9
|
declare function WorkOrder(props: WorkOrderProps): JSX.Element | null;
|
|
9
10
|
export { WorkOrder };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { HubConnection } from '@microsoft/signalr';
|
|
2
|
-
|
|
2
|
+
type HubMethod = (...args: any[]) => void;
|
|
3
3
|
export declare function useSignalRListener(hubConnection: HubConnection | undefined, target: string, method: HubMethod): void;
|
|
4
4
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
type EchoHistoryParams = {
|
|
2
2
|
[key: string]: string;
|
|
3
3
|
};
|
|
4
|
-
|
|
4
|
+
type EchoHistory = (path: string, params?: EchoHistoryParams | undefined, state?: any) => void;
|
|
5
5
|
/**
|
|
6
6
|
* Hook returns a Echo compliant push function for the browser history
|
|
7
7
|
* Which supports deeplinking functionality via EchoHistoryParams and forces to use instCode.
|
|
@@ -5,7 +5,7 @@ import { ScreenOrientation } from '../types/hookLibrary';
|
|
|
5
5
|
* @returns {boolean} response.isScreenMobileSize If the device screen is small or not
|
|
6
6
|
* @returns {ScreenOrientation} response.screenOrientation
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
type DeviceValues = {
|
|
9
9
|
isScreenMobileSize: boolean;
|
|
10
10
|
screenOrientation: ScreenOrientation;
|
|
11
11
|
};
|
package/dist/hooks/useSemi.d.ts
CHANGED