@equinor/echo-framework 0.11.0-rc14 → 0.11.0-rc15
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/__tests__/3dButtonUtils.test.d.ts +1 -0
- package/dist/components/contextualAppLinks/externalLinkButtons/trainingCenterForValvesMenu.d.ts +7 -0
- package/dist/components/echo3DButton/3dButtonUtils.d.ts +12 -0
- package/dist/components/echo3DButton/OpenIn3dDropdown.d.ts +11 -0
- package/dist/components/echo3DButton/echo3DButton.d.ts +18 -0
- package/dist/components/echo3DButton/echo3DIconButton.d.ts +26 -0
- package/dist/components/echo3DButton/icons/E3DWebBetaIcon.d.ts +6 -0
- package/dist/components/echo3DButton/index.d.ts +2 -0
- package/dist/components/echo3DButton/missingEcho3dAccessDialog.d.ts +8 -0
- package/dist/components/echo3DButton/plantNotAvailableInfo.d.ts +6 -0
- package/dist/components/echo3DButton/useGetOpenIn3d.d.ts +5 -0
- package/dist/components/echo3DButton/useGoToEcho3DWebLink.d.ts +1 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/components/prepview/common/index.d.ts +1 -0
- package/dist/components/prepview/common/link/Link.d.ts +7 -0
- package/dist/components/prepview/workorder/header/{Header.d.ts → WorkOrderHeader.d.ts} +3 -3
- package/dist/components/prepview/workorder/header/index.d.ts +1 -1
- package/dist/coreApplication/EchoToolBar.d.ts +3 -2
- package/dist/coreApplication/EchoUserInterfaceStore.d.ts +4 -0
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/useHas3dAccess.d.ts +1 -0
- package/dist/hooks/usePlantAvailableIn3d.d.ts +1 -0
- package/dist/hooks/usePlantAvailableIn3dWeb.d.ts +1 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +6 -6
- package/dist/theme/themeConst.d.ts +1 -0
- package/dist/utils/arrayUtils.d.ts +8 -0
- package/dist/utils/arrayUtils.test.d.ts +1 -0
- package/dist/utils/tagUtils.d.ts +23 -0
- package/dist/utils/tagUtils.test.d.ts +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Function for creating a range between two numbers
|
|
3
|
+
* @export
|
|
4
|
+
* @param {number} start: The starting point of the range.
|
|
5
|
+
* @param {number} end: The end point of the range.
|
|
6
|
+
* @return {*} {number[]}
|
|
7
|
+
*/
|
|
8
|
+
export declare function range(start: number, end: number): number[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { TagDetailsDto } from '@equinor/echo-search';
|
|
2
|
+
/**
|
|
3
|
+
* Function for getting the echoUrl based on tag details
|
|
4
|
+
* Returns the url if found, builds and returns an url if plantCode and tagNo is found
|
|
5
|
+
* Otherwise - returns empty string
|
|
6
|
+
* @param {(TagDetailsDto | undefined)} tagDetails
|
|
7
|
+
* @return {*} {string}
|
|
8
|
+
*/
|
|
9
|
+
export declare function getEcho3DAppUrlForTag(tagDetails: TagDetailsDto | undefined): Promise<string>;
|
|
10
|
+
/**
|
|
11
|
+
* Function for getting Plant Code based on Tag Details data
|
|
12
|
+
* Returns the plant Code if found, returns empty string otherwise.
|
|
13
|
+
* @param {TagDetailsDto} tagDetails
|
|
14
|
+
* @returns {*} {string}
|
|
15
|
+
*/
|
|
16
|
+
export declare function getPlantCodeForTag(tagDetails: TagDetailsDto): Promise<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Function for getting plant project description based on Tag Details
|
|
19
|
+
* Returns the plant project description if found, otherwise, return empty string.
|
|
20
|
+
* @param {TagDetailsDto} tagDetails
|
|
21
|
+
* @returns {*} {string}
|
|
22
|
+
*/
|
|
23
|
+
export declare function getProjectDescriptionForTag(tagDetails: TagDetailsDto): Promise<string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/echo-framework",
|
|
3
|
-
"version": "0.11.0-
|
|
3
|
+
"version": "0.11.0-rc15",
|
|
4
4
|
"description": "Modules and components for EchoWeb, utilizing EchoCore",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@equinor/echo-components": "^0.5.19",
|
|
56
56
|
"@equinor/echo-core": "^0.7.5",
|
|
57
57
|
"@equinor/echo-scripts": "^0.1.5",
|
|
58
|
-
"@equinor/echo-search": "^0.13.
|
|
58
|
+
"@equinor/echo-search": "^0.13.13",
|
|
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",
|