@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.
Files changed (32) hide show
  1. package/dist/__tests__/3dButtonUtils.test.d.ts +1 -0
  2. package/dist/components/contextualAppLinks/externalLinkButtons/trainingCenterForValvesMenu.d.ts +7 -0
  3. package/dist/components/echo3DButton/3dButtonUtils.d.ts +12 -0
  4. package/dist/components/echo3DButton/OpenIn3dDropdown.d.ts +11 -0
  5. package/dist/components/echo3DButton/echo3DButton.d.ts +18 -0
  6. package/dist/components/echo3DButton/echo3DIconButton.d.ts +26 -0
  7. package/dist/components/echo3DButton/icons/E3DWebBetaIcon.d.ts +6 -0
  8. package/dist/components/echo3DButton/index.d.ts +2 -0
  9. package/dist/components/echo3DButton/missingEcho3dAccessDialog.d.ts +8 -0
  10. package/dist/components/echo3DButton/plantNotAvailableInfo.d.ts +6 -0
  11. package/dist/components/echo3DButton/useGetOpenIn3d.d.ts +5 -0
  12. package/dist/components/echo3DButton/useGoToEcho3DWebLink.d.ts +1 -0
  13. package/dist/components/index.d.ts +2 -1
  14. package/dist/components/prepview/common/index.d.ts +1 -0
  15. package/dist/components/prepview/common/link/Link.d.ts +7 -0
  16. package/dist/components/prepview/workorder/header/{Header.d.ts → WorkOrderHeader.d.ts} +3 -3
  17. package/dist/components/prepview/workorder/header/index.d.ts +1 -1
  18. package/dist/coreApplication/EchoToolBar.d.ts +3 -2
  19. package/dist/coreApplication/EchoUserInterfaceStore.d.ts +4 -0
  20. package/dist/hooks/index.d.ts +3 -0
  21. package/dist/hooks/useHas3dAccess.d.ts +1 -0
  22. package/dist/hooks/usePlantAvailableIn3d.d.ts +1 -0
  23. package/dist/hooks/usePlantAvailableIn3dWeb.d.ts +1 -0
  24. package/dist/index.css +1 -1
  25. package/dist/index.d.ts +3 -0
  26. package/dist/index.js +6 -6
  27. package/dist/theme/themeConst.d.ts +1 -0
  28. package/dist/utils/arrayUtils.d.ts +8 -0
  29. package/dist/utils/arrayUtils.test.d.ts +1 -0
  30. package/dist/utils/tagUtils.d.ts +23 -0
  31. package/dist/utils/tagUtils.test.d.ts +1 -0
  32. package/package.json +2 -2
@@ -47,4 +47,5 @@ export declare const themeConst: {
47
47
  defaultSeverity: string;
48
48
  toggleActive: string;
49
49
  toggleInactive: string;
50
+ dividerColor: string;
50
51
  };
@@ -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-rc14",
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.11",
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",