@equinor/echo-framework 0.10.18 → 0.10.21
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/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,5 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
1
|
+
export type SetActiveTagNo = (tagNo: string, activeTagTab?: string, activeTagSubTab?: string, instCode?: string) => void;
|
|
2
|
+
export type TagData = [(tagNo: string, instCode: string) => void];
|
|
3
|
+
export type SetActiveCommPackNo = (commPackNo: string, activeCommPackProject: string, activeCommPackTab?: string, activeCommPackSubTab?: string) => void;
|
|
4
|
+
export type SetActiveMcPackNo = (mcPackNo: string, activeMcPackProject: string, activeMcPackTab?: string, activeMcPackSubTab?: string) => void;
|
|
5
|
+
export type ScreenOrientation = 'landscape' | 'portrait' | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/echo-framework",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.21",
|
|
4
4
|
"description": "Modules and components for EchoWeb, utilizing EchoCore",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -48,18 +48,18 @@
|
|
|
48
48
|
"styled-components": "^5.3.6"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@babel/core": "^7.20.
|
|
51
|
+
"@babel/core": "^7.20.12",
|
|
52
52
|
"@babel/preset-env": "^7.20.2",
|
|
53
53
|
"@babel/preset-react": "^7.18.6",
|
|
54
|
-
"@equinor/echo-base": "^0.6.
|
|
55
|
-
"@equinor/echo-
|
|
56
|
-
"@equinor/echo-
|
|
54
|
+
"@equinor/echo-base": "^0.6.22",
|
|
55
|
+
"@equinor/echo-core": "^0.7.3",
|
|
56
|
+
"@equinor/echo-components": "^0.5.17",
|
|
57
57
|
"@equinor/echo-scripts": "^0.1.5",
|
|
58
58
|
"@equinor/echo-search": "^0.13.11",
|
|
59
59
|
"@equinor/echo-update": "^1.3.1",
|
|
60
60
|
"@equinor/echo-utils": "^0.2.12",
|
|
61
61
|
"@equinor/eds-core-react": "^0.25.0",
|
|
62
|
-
"@modular-css/rollup": "^28.3.
|
|
62
|
+
"@modular-css/rollup": "^28.3.2",
|
|
63
63
|
"@rollup/plugin-babel": "^5.3.1",
|
|
64
64
|
"@rollup/plugin-commonjs": "^22.0.2",
|
|
65
65
|
"@rollup/plugin-image": "^2.1.1",
|
|
@@ -69,29 +69,29 @@
|
|
|
69
69
|
"@rollup/plugin-url": "^7.0.0",
|
|
70
70
|
"@svgr/rollup": "^6.5.1",
|
|
71
71
|
"@testing-library/react-hooks": "^8.0.1",
|
|
72
|
-
"@types/jest": "^
|
|
73
|
-
"@types/node": "^18.11.
|
|
74
|
-
"@types/react": "^17.0.
|
|
72
|
+
"@types/jest": "^29.4.0",
|
|
73
|
+
"@types/node": "^18.11.18",
|
|
74
|
+
"@types/react": "^17.0.53",
|
|
75
75
|
"@types/react-dom": "^17.0.18",
|
|
76
76
|
"@types/react-router-dom": "^5.3.3",
|
|
77
77
|
"@types/styled-components": "5.1.26",
|
|
78
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
79
|
-
"@typescript-eslint/parser": "^5.
|
|
78
|
+
"@typescript-eslint/eslint-plugin": "^5.49.0",
|
|
79
|
+
"@typescript-eslint/parser": "^5.49.0",
|
|
80
80
|
"@wessberg/rollup-plugin-ts": "^2.0.4",
|
|
81
81
|
"autoprefixer": "^10.4.13",
|
|
82
|
-
"babel-jest": "^
|
|
83
|
-
"eslint": "^8.
|
|
84
|
-
"eslint-config-prettier": "^8.
|
|
82
|
+
"babel-jest": "^29.4.0",
|
|
83
|
+
"eslint": "^8.32.0",
|
|
84
|
+
"eslint-config-prettier": "^8.6.0",
|
|
85
85
|
"eslint-plugin-prettier": "^4.2.1",
|
|
86
|
-
"eslint-plugin-react": "^7.
|
|
86
|
+
"eslint-plugin-react": "^7.32.1",
|
|
87
87
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
88
|
-
"jest": "^
|
|
89
|
-
"jest-environment-jsdom": "^29.
|
|
90
|
-
"jest-expo": "^
|
|
91
|
-
"postcss": "^8.4.
|
|
88
|
+
"jest": "^29.4.0",
|
|
89
|
+
"jest-environment-jsdom": "^29.4.0",
|
|
90
|
+
"jest-expo": "^47.0.1",
|
|
91
|
+
"postcss": "^8.4.21",
|
|
92
92
|
"postcss-assets": "^6.0.0",
|
|
93
93
|
"postcss-modules": "^4.3.1",
|
|
94
|
-
"prettier": "^2.8.
|
|
94
|
+
"prettier": "^2.8.3",
|
|
95
95
|
"react": "^17.0.2",
|
|
96
96
|
"react-dom": "^17.0.2",
|
|
97
97
|
"react-router-dom": "^5.3.4",
|
|
@@ -103,9 +103,9 @@
|
|
|
103
103
|
"rollup-plugin-typescript-paths": "^1.4.0",
|
|
104
104
|
"rollup-plugin-typescript2": "^0.34.1",
|
|
105
105
|
"styled-components": "^5.3.6",
|
|
106
|
-
"ts-jest": "^
|
|
106
|
+
"ts-jest": "^29.0.5",
|
|
107
107
|
"tslib": "^2.4.1",
|
|
108
|
-
"typescript": "=4.
|
|
108
|
+
"typescript": "=4.9.4"
|
|
109
109
|
},
|
|
110
110
|
"compilerOptions": {
|
|
111
111
|
"declaration": true
|
|
@@ -118,6 +118,6 @@
|
|
|
118
118
|
"npm": ">=7.0.0"
|
|
119
119
|
},
|
|
120
120
|
"dependencies": {
|
|
121
|
-
"@microsoft/signalr": "^6.0.
|
|
121
|
+
"@microsoft/signalr": "^6.0.13"
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { NotificationAdditionalDetails, NotificationDetails } from '../../types';
|
|
3
|
-
interface Props {
|
|
4
|
-
instCode: string;
|
|
5
|
-
details: NotificationDetails;
|
|
6
|
-
additionalDetails: NotificationAdditionalDetails;
|
|
7
|
-
closePanel: () => void;
|
|
8
|
-
}
|
|
9
|
-
declare function AdditionalDetails({ instCode, details, additionalDetails, closePanel }: Props): JSX.Element;
|
|
10
|
-
export { AdditionalDetails };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AdditionalDetails';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { WorkOrderAdditionalDetails, WorkOrderDetails } from '../../types';
|
|
3
|
-
interface Props {
|
|
4
|
-
instCode: string;
|
|
5
|
-
details: WorkOrderDetails;
|
|
6
|
-
additionalDetails: WorkOrderAdditionalDetails;
|
|
7
|
-
closePanel: () => void;
|
|
8
|
-
}
|
|
9
|
-
declare function AdditionalDetails({ instCode, details, additionalDetails, closePanel }: Props): JSX.Element;
|
|
10
|
-
export { AdditionalDetails };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AdditionalDetails';
|