@equinor/echo-framework 0.12.6 → 0.13.0-alpha-monorepo-01

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 (327) hide show
  1. package/{dist/47deeba42768c5d1.svg → 063009f06499d102.svg} +8 -8
  2. package/README.md +19 -11
  3. package/{dist/1bd97dd2170d0f64.svg → f4c85313e79b1662.svg} +850 -850
  4. package/index.css +2837 -0
  5. package/index.js +70 -0
  6. package/package.json +26 -126
  7. package/src/index.d.ts +100 -0
  8. package/{dist → src/lib}/components/appLinks/AppLinks.d.ts +6 -6
  9. package/{dist → src/lib}/components/appLinks/applinkUtils.d.ts +2 -2
  10. package/{dist → src/lib}/components/appLinks/index.d.ts +2 -2
  11. package/{dist → src/lib}/components/appLinks/linkButton/linkButton.d.ts +7 -7
  12. package/{dist → src/lib}/components/containers/index.d.ts +1 -1
  13. package/{dist → src/lib}/components/containers/layouts.d.ts +7 -7
  14. package/{dist → src/lib}/components/contextualAppLinks/contextualAppLinks.context.d.ts +7 -7
  15. package/{dist → src/lib}/components/contextualAppLinks/contextualAppLinks.d.ts +9 -9
  16. package/{dist → src/lib}/components/contextualAppLinks/externalAppsMenu.d.ts +29 -29
  17. package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/allExternalLinks.d.ts +12 -12
  18. package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkButtons.helpers.d.ts +60 -60
  19. package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToCommApp.d.ts +14 -14
  20. package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToConditionAdviser.d.ts +15 -15
  21. package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToMcApp.d.ts +14 -14
  22. package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToProCoSys.d.ts +14 -14
  23. package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToSafeX.d.ts +13 -13
  24. package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToSap.d.ts +18 -18
  25. package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToSemiDoc.d.ts +17 -17
  26. package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToStid.d.ts +14 -14
  27. package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToTr2000.d.ts +17 -17
  28. package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToTrendingApp.d.ts +15 -15
  29. package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/iconButtonSpinner.d.ts +18 -18
  30. package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/index.d.ts +10 -10
  31. package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/trainingCenterForValvesMenu.d.ts +7 -7
  32. package/{dist → src/lib}/components/contextualAppLinks/hooks/useContextualAppLinks.d.ts +18 -18
  33. package/{dist → src/lib}/components/contextualAppLinks/hooks/useContextualAppLinksContext.d.ts +4 -4
  34. package/{dist → src/lib}/components/contextualAppLinks/index.d.ts +13 -13
  35. package/{dist → src/lib}/components/contextualAppLinks/internalAppLinks.d.ts +24 -24
  36. package/{dist → src/lib}/components/contextualAppLinks/linkButton.d.ts +19 -19
  37. package/{dist → src/lib}/components/echo3DButton/3dButtonUtils.d.ts +12 -12
  38. package/{dist → src/lib}/components/echo3DButton/OpenIn3dDropdown.d.ts +11 -11
  39. package/{dist → src/lib}/components/echo3DButton/echo3DButton.d.ts +18 -18
  40. package/{dist → src/lib}/components/echo3DButton/echo3DIconButton.d.ts +26 -26
  41. package/{dist → src/lib}/components/echo3DButton/icons/E3DWebBetaIcon.d.ts +6 -6
  42. package/{dist → src/lib}/components/echo3DButton/index.d.ts +2 -2
  43. package/{dist → src/lib}/components/echo3DButton/missingEcho3dAccessDialog.d.ts +8 -8
  44. package/{dist → src/lib}/components/echo3DButton/plantNotAvailableInfo.d.ts +6 -6
  45. package/{dist → src/lib}/components/echo3DButton/useGetOpenIn3d.d.ts +5 -5
  46. package/{dist → src/lib}/components/echo3DButton/useGoToEcho3DWebLink.d.ts +1 -1
  47. package/{dist → src/lib}/components/echoLogo/echoLogo.d.ts +6 -6
  48. package/{dist → src/lib}/components/echoLogo/index.d.ts +1 -1
  49. package/{dist → src/lib}/components/errorBoundary/components/chunkLoadErrorMessage.d.ts +3 -3
  50. package/{dist → src/lib}/components/errorBoundary/components/errorBoundaryBaseMessage.d.ts +7 -7
  51. package/{dist → src/lib}/components/errorBoundary/components/notificationCardWithLogo.d.ts +13 -13
  52. package/{dist → src/lib}/components/errorBoundary/errorBoundary.d.ts +15 -15
  53. package/{dist → src/lib}/components/errorBoundary/index.d.ts +1 -1
  54. package/{dist → src/lib}/components/externalLinkButton/externalLinkButton.d.ts +43 -43
  55. package/{dist → src/lib}/components/footer/footer.d.ts +10 -10
  56. package/{dist → src/lib}/components/footer/index.d.ts +1 -1
  57. package/{dist → src/lib}/components/homePage/HomePage.d.ts +2 -1
  58. package/{dist → src/lib}/components/homePage/index.d.ts +1 -1
  59. package/{dist → src/lib}/components/index.d.ts +22 -22
  60. package/{dist → src/lib}/components/lazyLoading/appLoadingIndicator.d.ts +6 -6
  61. package/{dist → src/lib}/components/lazyLoading/index.d.ts +1 -1
  62. package/{dist → src/lib}/components/lazyLoading/lazyLoadedAppWrapper.d.ts +14 -14
  63. package/{dist → src/lib}/components/mediator/index.d.ts +1 -1
  64. package/{dist → src/lib}/components/mediator/mediator.d.ts +6 -6
  65. package/{dist → src/lib}/components/pageMenu/Navigation/applicationList.d.ts +3 -3
  66. package/{dist → src/lib}/components/pageMenu/defaultAccordionItem.d.ts +12 -12
  67. package/{dist → src/lib}/components/pageMenu/index.d.ts +3 -3
  68. package/{dist → src/lib}/components/pageMenu/pageMenu.d.ts +15 -15
  69. package/{dist → src/lib}/components/pageMenu/pageMenuDrawerItem.d.ts +16 -16
  70. package/{dist → src/lib}/components/pageMenu/settings/asset.d.ts +6 -6
  71. package/{dist → src/lib}/components/pageMenu/settings/profile.d.ts +6 -6
  72. package/{dist → src/lib}/components/pageMenu/settings/settings.d.ts +7 -7
  73. package/{dist → src/lib}/components/pageMenu/version/version.d.ts +3 -3
  74. package/{dist → src/lib}/components/panel/corePanelIcon.d.ts +6 -6
  75. package/{dist → src/lib}/components/panel/corePanelLeft.d.ts +3 -3
  76. package/{dist → src/lib}/components/panel/corePanelRight.d.ts +3 -3
  77. package/{dist → src/lib}/components/panel/index.d.ts +2 -2
  78. package/{dist → src/lib}/components/panelButton/index.d.ts +1 -1
  79. package/{dist → src/lib}/components/panelButton/panelButton.d.ts +19 -19
  80. package/{dist → src/lib}/components/plantSelector/index.d.ts +1 -1
  81. package/{dist → src/lib}/components/plantSelector/plantSelector.d.ts +18 -18
  82. package/{dist → src/lib}/components/prepview/Prepview.d.ts +16 -16
  83. package/{dist → src/lib}/components/prepview/api/api.d.ts +7 -7
  84. package/{dist → src/lib}/components/prepview/api/attachment.d.ts +2 -2
  85. package/{dist → src/lib}/components/prepview/api/index.d.ts +1 -1
  86. package/{dist → src/lib}/components/prepview/api/resources.d.ts +6 -6
  87. package/{dist → src/lib}/components/prepview/common/access/handler/StatusHandler.d.ts +8 -8
  88. package/{dist → src/lib}/components/prepview/common/access/handler/index.d.ts +1 -1
  89. package/{dist → src/lib}/components/prepview/common/access/index.d.ts +2 -2
  90. package/{dist → src/lib}/components/prepview/common/access/request/RequestAccess.d.ts +6 -6
  91. package/{dist → src/lib}/components/prepview/common/access/request/index.d.ts +1 -1
  92. package/{dist → src/lib}/components/prepview/common/additionalInformation/AdditionalDetails.d.ts +10 -10
  93. package/{dist → src/lib}/components/prepview/common/additionalInformation/tabsPanels/TabsPanels.d.ts +14 -14
  94. package/{dist → src/lib}/components/prepview/common/additionalInformation/tabsPanels/index.d.ts +1 -1
  95. package/{dist → src/lib}/components/prepview/common/contentPicker/ContentPicker.d.ts +8 -8
  96. package/{dist → src/lib}/components/prepview/common/contentPicker/index.d.ts +1 -1
  97. package/{dist → src/lib}/components/prepview/common/details/accordion/DetailsAccordion.d.ts +8 -8
  98. package/{dist → src/lib}/components/prepview/common/details/accordion/index.d.ts +1 -1
  99. package/{dist → src/lib}/components/prepview/common/details/index.d.ts +3 -3
  100. package/{dist → src/lib}/components/prepview/common/details/loader/DetailsLoader.d.ts +3 -3
  101. package/{dist → src/lib}/components/prepview/common/details/loader/index.d.ts +1 -1
  102. package/{dist → src/lib}/components/prepview/common/details/panel/EmptyDetailsPanel.d.ts +6 -6
  103. package/{dist → src/lib}/components/prepview/common/details/panel/index.d.ts +1 -1
  104. package/{dist → src/lib}/components/prepview/common/fileSizeDisplay/FileSizeDisplay.d.ts +11 -11
  105. package/{dist → src/lib}/components/prepview/common/fileSizeDisplay/index.d.ts +1 -1
  106. package/{dist → src/lib}/components/prepview/common/index.d.ts +6 -6
  107. package/{dist → src/lib}/components/prepview/common/info/block/InfoBlock.d.ts +9 -9
  108. package/{dist → src/lib}/components/prepview/common/info/block/index.d.ts +1 -1
  109. package/{dist → src/lib}/components/prepview/common/info/index.d.ts +3 -3
  110. package/{dist → src/lib}/components/prepview/common/info/list/InfoBlockList.d.ts +6 -6
  111. package/{dist → src/lib}/components/prepview/common/info/list/index.d.ts +1 -1
  112. package/{dist → src/lib}/components/prepview/common/info/section/InfoSection.d.ts +6 -6
  113. package/{dist → src/lib}/components/prepview/common/info/section/index.d.ts +2 -2
  114. package/{dist → src/lib}/components/prepview/common/info/section/longText/LongTextSection.d.ts +8 -8
  115. package/{dist → src/lib}/components/prepview/common/info/section/longText/index.d.ts +1 -1
  116. package/{dist → src/lib}/components/prepview/common/link/Link.d.ts +7 -7
  117. package/{dist → src/lib}/components/prepview/context/PrepviewContext.d.ts +15 -15
  118. package/{dist → src/lib}/components/prepview/hooks/index.d.ts +4 -4
  119. package/{dist → src/lib}/components/prepview/hooks/useFetch.d.ts +4 -4
  120. package/{dist → src/lib}/components/prepview/hooks/useIsMobile.d.ts +5 -5
  121. package/{dist → src/lib}/components/prepview/hooks/useOnClickDownload.d.ts +9 -9
  122. package/{dist → src/lib}/components/prepview/hooks/useSetActiveSearchItem.d.ts +10 -10
  123. package/{dist → src/lib}/components/prepview/index.d.ts +1 -1
  124. package/{dist → src/lib}/components/prepview/notification/details/DetailsNotification.d.ts +9 -9
  125. package/{dist → src/lib}/components/prepview/notification/details/index.d.ts +1 -1
  126. package/{dist → src/lib}/components/prepview/notification/header/Header.d.ts +7 -7
  127. package/{dist → src/lib}/components/prepview/notification/header/index.d.ts +1 -1
  128. package/{dist → src/lib}/components/prepview/notification/index.d.ts +8 -8
  129. package/{dist → src/lib}/components/prepview/panels/attachments/Attachments.d.ts +9 -9
  130. package/{dist → src/lib}/components/prepview/panels/attachments/index.d.ts +1 -1
  131. package/{dist → src/lib}/components/prepview/panels/history/TagHistory.d.ts +9 -9
  132. package/{dist → src/lib}/components/prepview/panels/history/group/TagHistoryGroup.d.ts +10 -10
  133. package/{dist → src/lib}/components/prepview/panels/history/group/index.d.ts +1 -1
  134. package/{dist → src/lib}/components/prepview/panels/history/horizontalView/HorizontalTagHistory.d.ts +9 -9
  135. package/{dist → src/lib}/components/prepview/panels/history/horizontalView/index.d.ts +1 -1
  136. package/{dist → src/lib}/components/prepview/panels/history/index.d.ts +1 -1
  137. package/{dist → src/lib}/components/prepview/panels/history/items/Items.d.ts +11 -11
  138. package/{dist → src/lib}/components/prepview/panels/history/items/NotificationItem.d.ts +7 -7
  139. package/{dist → src/lib}/components/prepview/panels/history/items/PunchItem.d.ts +7 -7
  140. package/{dist → src/lib}/components/prepview/panels/history/items/WorkOrderItem.d.ts +7 -7
  141. package/{dist → src/lib}/components/prepview/panels/history/items/index.d.ts +1 -1
  142. package/{dist → src/lib}/components/prepview/panels/index.d.ts +7 -7
  143. package/{dist → src/lib}/components/prepview/panels/objects/Objects.d.ts +7 -7
  144. package/{dist → src/lib}/components/prepview/panels/objects/index.d.ts +1 -1
  145. package/{dist → src/lib}/components/prepview/panels/operations/Operations.d.ts +7 -7
  146. package/{dist → src/lib}/components/prepview/panels/operations/index.d.ts +1 -1
  147. package/{dist → src/lib}/components/prepview/panels/risk/Risk.d.ts +7 -7
  148. package/{dist → src/lib}/components/prepview/panels/risk/index.d.ts +1 -1
  149. package/{dist → src/lib}/components/prepview/panels/risk/trafficLight/TrafficLight.d.ts +7 -7
  150. package/{dist → src/lib}/components/prepview/panels/risk/trafficLight/index.d.ts +1 -1
  151. package/{dist → src/lib}/components/prepview/panels/tagDocumentRefs/HorizontalDocumentGroups.d.ts +8 -8
  152. package/{dist → src/lib}/components/prepview/panels/tagDocumentRefs/TagDocumentGroup.d.ts +9 -9
  153. package/{dist → src/lib}/components/prepview/panels/tagDocumentRefs/TagDocumentItem.d.ts +8 -8
  154. package/{dist → src/lib}/components/prepview/panels/tagDocumentRefs/TagDocumentRefs.d.ts +8 -8
  155. package/{dist → src/lib}/components/prepview/panels/tagDocumentRefs/index.d.ts +1 -1
  156. package/{dist → src/lib}/components/prepview/panels/tagInformation/TagInformation.d.ts +11 -11
  157. package/{dist → src/lib}/components/prepview/panels/tagInformation/index.d.ts +1 -1
  158. package/{dist → src/lib}/components/prepview/punch/details/Details.d.ts +9 -9
  159. package/{dist → src/lib}/components/prepview/punch/details/index.d.ts +1 -1
  160. package/{dist → src/lib}/components/prepview/punch/header/Header.d.ts +7 -7
  161. package/{dist → src/lib}/components/prepview/punch/header/index.d.ts +1 -1
  162. package/{dist → src/lib}/components/prepview/punch/index.d.ts +8 -8
  163. package/{dist → src/lib}/components/prepview/types/attachment.d.ts +7 -7
  164. package/{dist → src/lib}/components/prepview/types/common.d.ts +50 -50
  165. package/{dist → src/lib}/components/prepview/types/document.d.ts +13 -13
  166. package/{dist → src/lib}/components/prepview/types/index.d.ts +9 -9
  167. package/{dist → src/lib}/components/prepview/types/notification.d.ts +68 -68
  168. package/{dist → src/lib}/components/prepview/types/operation.d.ts +13 -13
  169. package/{dist → src/lib}/components/prepview/types/punch.d.ts +27 -27
  170. package/{dist → src/lib}/components/prepview/types/safety.d.ts +21 -21
  171. package/{dist → src/lib}/components/prepview/types/tag.d.ts +24 -24
  172. package/{dist → src/lib}/components/prepview/types/workorder.d.ts +83 -83
  173. package/{dist → src/lib}/components/prepview/utils/date.d.ts +5 -5
  174. package/{dist → src/lib}/components/prepview/utils/documents.d.ts +1 -1
  175. package/{dist → src/lib}/components/prepview/utils/dom.d.ts +1 -1
  176. package/{dist → src/lib}/components/prepview/utils/enums/documents.d.ts +14 -14
  177. package/{dist → src/lib}/components/prepview/utils/enums/index.d.ts +2 -2
  178. package/{dist → src/lib}/components/prepview/utils/enums/tagHistoryItem.d.ts +5 -5
  179. package/{dist → src/lib}/components/prepview/utils/index.d.ts +10 -10
  180. package/{dist → src/lib}/components/prepview/utils/logger.d.ts +71 -71
  181. package/{dist → src/lib}/components/prepview/utils/notification.d.ts +3 -3
  182. package/{dist → src/lib}/components/prepview/utils/object.d.ts +1 -1
  183. package/{dist → src/lib}/components/prepview/utils/punch.d.ts +1 -1
  184. package/{dist → src/lib}/components/prepview/utils/string.d.ts +1 -1
  185. package/{dist → src/lib}/components/prepview/utils/url.d.ts +9 -9
  186. package/{dist → src/lib}/components/prepview/utils/workorder.d.ts +2 -2
  187. package/{dist → src/lib}/components/prepview/workorder/details/DetailsWorkOrder.d.ts +9 -9
  188. package/{dist → src/lib}/components/prepview/workorder/details/index.d.ts +1 -1
  189. package/{dist → src/lib}/components/prepview/workorder/header/WorkOrderHeader.d.ts +8 -8
  190. package/{dist → src/lib}/components/prepview/workorder/header/index.d.ts +1 -1
  191. package/{dist → src/lib}/components/prepview/workorder/index.d.ts +9 -9
  192. package/{dist → src/lib}/components/projectSelector/ProcosysProjectSelector.d.ts +17 -17
  193. package/{dist → src/lib}/components/projectSelector/index.d.ts +1 -1
  194. package/{dist → src/lib}/components/realTimeData/RealTimePopoverButton.d.ts +18 -18
  195. package/{dist → src/lib}/components/realTimeData/components/IMSDropdown/RealTimeIMSDropdown.d.ts +8 -8
  196. package/{dist → src/lib}/components/realTimeData/components/IMSDropdown/index.d.ts +1 -1
  197. package/{dist → src/lib}/components/realTimeData/components/connectorForIMSTag/RealTimeConnectorForIMSTag.d.ts +7 -7
  198. package/{dist → src/lib}/components/realTimeData/components/connectorForIMSTag/index.d.ts +1 -1
  199. package/{dist → src/lib}/components/realTimeData/components/contextButton/RealTimeContextButton.d.ts +7 -7
  200. package/{dist → src/lib}/components/realTimeData/components/contextButton/index.d.ts +1 -1
  201. package/{dist → src/lib}/components/realTimeData/components/contextPopover/Popover.d.ts +9 -9
  202. package/{dist → src/lib}/components/realTimeData/components/contextPopover/index.d.ts +1 -1
  203. package/{dist → src/lib}/components/realTimeData/components/index.d.ts +4 -4
  204. package/{dist → src/lib}/components/realTimeData/hooks/index.d.ts +3 -3
  205. package/{dist → src/lib}/components/realTimeData/hooks/useRealTimeHub.d.ts +13 -13
  206. package/{dist → src/lib}/components/realTimeData/hooks/useSignalR.d.ts +10 -10
  207. package/{dist → src/lib}/components/realTimeData/hooks/useSignalRListener.d.ts +4 -4
  208. package/{dist → src/lib}/components/realTimeData/index.d.ts +1 -1
  209. package/{dist → src/lib}/components/router/echoRoute.d.ts +11 -11
  210. package/{dist → src/lib}/components/router/echoRouter.d.ts +6 -6
  211. package/{dist → src/lib}/components/router/echoWrapper.d.ts +7 -7
  212. package/{dist → src/lib}/components/router/index.d.ts +3 -3
  213. package/{dist → src/lib}/components/router/routes.d.ts +5 -5
  214. package/{dist → src/lib}/components/searchMenu/index.d.ts +1 -1
  215. package/{dist → src/lib}/components/searchMenu/searchMenu.d.ts +3 -3
  216. package/{dist → src/lib}/components/tagNumber/index.d.ts +1 -1
  217. package/{dist → src/lib}/components/tagNumber/tagNumber.d.ts +8 -8
  218. package/{dist → src/lib}/components/toaster/index.d.ts +2 -2
  219. package/{dist → src/lib}/components/toaster/toaster.d.ts +10 -10
  220. package/{dist → src/lib}/components/toaster/toasters.d.ts +3 -3
  221. package/{dist → src/lib}/coreApplication/BarComponents/TopBarContent.d.ts +5 -5
  222. package/{dist → src/lib}/coreApplication/EchoBarComponent.d.ts +9 -9
  223. package/{dist → src/lib}/coreApplication/EchoContent.d.ts +8 -8
  224. package/{dist → src/lib}/coreApplication/EchoContentPanels.d.ts +9 -9
  225. package/{dist → src/lib}/coreApplication/EchoEventHandler.d.ts +11 -11
  226. package/{dist → src/lib}/coreApplication/EchoToolBar.d.ts +19 -19
  227. package/{dist → src/lib}/coreApplication/EchoTopBar.d.ts +4 -4
  228. package/{dist → src/lib}/coreApplication/EchoUserInterfaceStore.d.ts +21 -21
  229. package/{dist → src/lib}/coreApplication/index.d.ts +7 -7
  230. package/{dist → src/lib}/hooks/hookLibrary.d.ts +49 -49
  231. package/{dist → src/lib}/hooks/index.d.ts +7 -7
  232. package/{dist → src/lib}/hooks/useEchoHistory.d.ts +11 -11
  233. package/{dist → src/lib}/hooks/useHas3dAccess.d.ts +1 -1
  234. package/{dist → src/lib}/hooks/useIsCompactLayout.d.ts +5 -5
  235. package/{dist → src/lib}/hooks/useLongPress.d.ts +6 -6
  236. package/{dist → src/lib}/hooks/usePlantAvailableIn3d.d.ts +1 -1
  237. package/{dist → src/lib}/hooks/usePlantAvailableIn3dWeb.d.ts +1 -1
  238. package/{dist → src/lib}/hooks/useScreenOrientation.d.ts +5 -5
  239. package/{dist → src/lib}/hooks/useScreenValues.d.ts +13 -13
  240. package/{dist → src/lib}/hooks/useSemi.d.ts +21 -21
  241. package/{dist → src/lib}/hooks/useTagDetails.d.ts +20 -20
  242. package/{dist → src/lib}/hooks/useWindowSize.d.ts +8 -8
  243. package/{dist → src/lib}/icons/edsIons.d.ts +1 -1
  244. package/{dist → src/lib}/icons/equinor-logo.d.ts +2 -2
  245. package/{dist → src/lib}/icons/logo_ee.d.ts +3 -3
  246. package/{dist → src/lib}/icons/search.d.ts +3 -3
  247. package/{dist → src/lib}/services/api/api-manager.d.ts +19 -19
  248. package/{dist → src/lib}/services/api/api-plantinfo.d.ts +5 -5
  249. package/{dist → src/lib}/services/api/api-plants.d.ts +7 -7
  250. package/{dist → src/lib}/services/api/api-realtimedata.d.ts +2 -2
  251. package/{dist → src/lib}/services/api/api-tag-details.d.ts +17 -17
  252. package/{dist → src/lib}/services/api/api-tag-list-for-3D.d.ts +25 -26
  253. package/{dist → src/lib}/services/api/api-tags.d.ts +17 -17
  254. package/{dist → src/lib}/services/api/api-version.d.ts +2 -2
  255. package/{dist → src/lib}/services/api/index.d.ts +3 -3
  256. package/{dist → src/lib}/services/componentRegistry/componentRegistry.d.ts +34 -34
  257. package/{dist → src/lib}/services/deviceInformation/deepDeviceInfo.d.ts +41 -41
  258. package/{dist → src/lib}/services/deviceInformation/deviceInfo.d.ts +45 -45
  259. package/{dist → src/lib}/services/echopediaAnalyticsModule/echopediaAnalyticsModule.d.ts +1 -1
  260. package/{dist → src/lib}/services/eventCallbacks/plantChanged.d.ts +9 -9
  261. package/{dist → src/lib}/services/eventHubActions/index.d.ts +1 -1
  262. package/{dist → src/lib}/services/eventHubActions/toastActions.d.ts +6 -6
  263. package/{dist → src/lib}/services/searchItemDetails/searchItemDetails.store.d.ts +26 -26
  264. package/{dist → src/lib}/services/searchItemDetails/searchItemDetailsContainer.d.ts +6 -6
  265. package/{dist → src/lib}/theme/themeConst.d.ts +51 -51
  266. package/{dist → src/lib}/types/api-echohub.d.ts +36 -36
  267. package/{dist → src/lib}/types/api-proCoSysTagResponse.d.ts +8 -8
  268. package/{dist → src/lib}/types/device.d.ts +53 -53
  269. package/{dist → src/lib}/types/echoHubPlant.d.ts +11 -11
  270. package/{dist → src/lib}/types/eventTypes/index.d.ts +4 -4
  271. package/{dist → src/lib}/types/eventTypes/legendEvent.d.ts +4 -4
  272. package/{dist → src/lib}/types/eventTypes/plantEvent.d.ts +5 -5
  273. package/{dist → src/lib}/types/eventTypes/searchDetailsContainerEvents.d.ts +3 -3
  274. package/{dist → src/lib}/types/eventTypes/toasterEvent.d.ts +5 -5
  275. package/{dist → src/lib}/types/extensions.d.ts +7 -7
  276. package/{dist → src/lib}/types/hookLibrary.d.ts +20 -20
  277. package/{dist → src/lib}/types/legend.d.ts +45 -45
  278. package/{dist → src/lib}/types/modelPermissions.d.ts +4 -4
  279. package/{dist → src/lib}/types/pingableSources.d.ts +4 -4
  280. package/{dist → src/lib}/types/realtimedata.d.ts +18 -18
  281. package/{dist → src/lib}/types/toaster.d.ts +7 -7
  282. package/{dist → src/lib}/types/toasterMessage.d.ts +5 -5
  283. package/{dist → src/lib}/utils/arrayUtils.d.ts +8 -8
  284. package/{dist → src/lib}/utils/copyText.d.ts +2 -2
  285. package/{dist → src/lib}/utils/eventHandlerUtils.d.ts +1 -1
  286. package/{dist → src/lib}/utils/index.d.ts +3 -3
  287. package/{dist → src/lib}/utils/legendUtils.d.ts +18 -18
  288. package/{dist → src/lib}/utils/navigationUtils.d.ts +7 -7
  289. package/{dist → src/lib}/utils/plantInfo.d.ts +98 -98
  290. package/{dist → src/lib}/utils/plantsDataUtils.d.ts +9 -9
  291. package/{dist → src/lib}/utils/projectSelectorUtils.d.ts +1 -1
  292. package/{dist → src/lib}/utils/searchUtil.d.ts +1 -1
  293. package/{dist → src/lib}/utils/startup.d.ts +6 -6
  294. package/{dist → src/lib}/utils/tagUtils.d.ts +23 -23
  295. package/{dist → src/lib}/utils/taskCache.d.ts +23 -23
  296. package/LICENSE +0 -21
  297. package/dist/__tests__/3dButtonUtils.test.d.ts +0 -1
  298. package/dist/__tests__/eventHandlerUtils.test.d.ts +0 -1
  299. package/dist/__tests__/plantInfoSetup.d.ts +0 -2
  300. package/dist/__tests__/plantInfoUtils.test.d.ts +0 -1
  301. package/dist/__tests__/prepviewUtils.test.d.ts +0 -1
  302. package/dist/__tests__/projectSelectorUtils.test.d.ts +0 -1
  303. package/dist/__tests__/realTimeDataHooks.test.d.ts +0 -1
  304. package/dist/__tests__/realTimeDataUtils.test.d.ts +0 -1
  305. package/dist/components/appLinks/applinkUtils.test.d.ts +0 -1
  306. package/dist/components/contextualAppLinks/externalLinkButtons/externalLinkButtons.helpers.test.d.ts +0 -1
  307. package/dist/components/contextualAppLinks/hooks/useContextualAppLinks.test.d.ts +0 -1
  308. package/dist/components/contextualAppLinks/hooks/useContextualAppLinksContext.test.d.ts +0 -1
  309. package/dist/hooks/useLongPress.test.d.ts +0 -1
  310. package/dist/hooks/useSemi.test.d.ts +0 -1
  311. package/dist/hooks/useTagDetails.test.d.ts +0 -1
  312. package/dist/index.css +0 -1
  313. package/dist/index.d.ts +0 -100
  314. package/dist/index.js +0 -43
  315. package/dist/services/api/api-tag-details.test.d.ts +0 -1
  316. package/dist/services/api/api-tag-list-for-3D.test.d.ts +0 -1
  317. package/dist/services/api/api-tags.test.d.ts +0 -1
  318. package/dist/services/componentRegistry/componentRegistry.test.d.ts +0 -1
  319. package/dist/services/searchItemDetails/searchItemDetails.store.test.d.ts +0 -1
  320. package/dist/setupTests.d.ts +0 -1
  321. package/dist/utils/arrayUtils.test.d.ts +0 -1
  322. package/dist/utils/copyText.test.d.ts +0 -1
  323. package/dist/utils/legendUtils.test.d.ts +0 -1
  324. package/dist/utils/navigationUtils.test.d.ts +0 -1
  325. package/dist/utils/plantInfo.test.d.ts +0 -1
  326. package/dist/utils/tagUtils.test.d.ts +0 -1
  327. package/dist/utils/taskCache.test.d.ts +0 -1
@@ -1,19 +1,19 @@
1
- import React, { EventHandler, ReactElement, SyntheticEvent } from 'react';
2
- export declare enum Variants {
3
- OpenCloseButton = "openCloseButton",
4
- SimpleButton = "simpleButton",
5
- NotificationButton = "notificationButton",
6
- MobileButton = "mobileButton",
7
- NotificationMobileButton = "notificationMobileButton"
8
- }
9
- export interface PanelButtonProps {
10
- label: string;
11
- title?: string;
12
- active: boolean;
13
- variant: Variants;
14
- children?: ReactElement;
15
- onClick?: EventHandler<SyntheticEvent>;
16
- className?: string;
17
- }
18
- declare const PanelButton: React.FC<PanelButtonProps>;
19
- export default PanelButton;
1
+ import React, { EventHandler, ReactElement, SyntheticEvent } from 'react';
2
+ export declare enum Variants {
3
+ OpenCloseButton = "openCloseButton",
4
+ SimpleButton = "simpleButton",
5
+ NotificationButton = "notificationButton",
6
+ MobileButton = "mobileButton",
7
+ NotificationMobileButton = "notificationMobileButton"
8
+ }
9
+ export interface PanelButtonProps {
10
+ label: string;
11
+ title?: string;
12
+ active: boolean;
13
+ variant: Variants;
14
+ children?: ReactElement;
15
+ onClick?: EventHandler<SyntheticEvent>;
16
+ className?: string;
17
+ }
18
+ declare const PanelButton: React.FC<PanelButtonProps>;
19
+ export default PanelButton;
@@ -1 +1 @@
1
- export * from './plantSelector';
1
+ export * from './plantSelector';
@@ -1,18 +1,18 @@
1
- import React from 'react';
2
- interface PlantSelectorProps {
3
- variant?: 'compact' | 'default';
4
- maxCharacterCount?: number;
5
- isDisabled?: boolean;
6
- stayOnPath?: boolean;
7
- }
8
- /**
9
- * Dropdown component for displaying a searchable plant selector.
10
- * @param {PlantSelectorProps} {
11
- * variant: The style type for the dropdown component. Either default or compact.
12
- * isDisabled: Flag which decides whether the dropdown should be disabled or not.
13
- * stayOnPath: Flag which decides if you should stay on your current path after selecting a plant.
14
- * }
15
- * @return {*}
16
- */
17
- export declare const PlantSelector: React.FC<PlantSelectorProps>;
18
- export {};
1
+ import React from 'react';
2
+ interface PlantSelectorProps {
3
+ variant?: 'compact' | 'default';
4
+ maxCharacterCount?: number;
5
+ isDisabled?: boolean;
6
+ stayOnPath?: boolean;
7
+ }
8
+ /**
9
+ * Dropdown component for displaying a searchable plant selector.
10
+ * @param {PlantSelectorProps} {
11
+ * variant: The style type for the dropdown component. Either default or compact.
12
+ * isDisabled: Flag which decides whether the dropdown should be disabled or not.
13
+ * stayOnPath: Flag which decides if you should stay on your current path after selecting a plant.
14
+ * }
15
+ * @return {*}
16
+ */
17
+ export declare const PlantSelector: React.FC<PlantSelectorProps>;
18
+ export {};
@@ -1,16 +1,16 @@
1
- import React from 'react';
2
- import { SideSheetOrientation } from '@equinor/echo-components';
3
- import { PrepviewEvents } from './context/PrepviewContext';
4
- interface PrepviewProps {
5
- instCode: string;
6
- orientation: SideSheetOrientation;
7
- workOrderId?: string;
8
- notificationId?: string;
9
- punchId?: string;
10
- closePanel: () => void;
11
- workOrderHeaderAction?: React.ReactNode;
12
- events?: PrepviewEvents;
13
- }
14
- declare function Prepview(props: PrepviewProps): JSX.Element | null;
15
- export { MaintenanceApiNameForWorkOrders, WorkItemType } from './utils';
16
- export { Prepview };
1
+ import React from 'react';
2
+ import { SideSheetOrientation } from '@equinor/echo-components';
3
+ import { PrepviewEvents } from './context/PrepviewContext';
4
+ interface PrepviewProps {
5
+ instCode: string;
6
+ orientation: SideSheetOrientation;
7
+ workOrderId?: string;
8
+ notificationId?: string;
9
+ punchId?: string;
10
+ closePanel: () => void;
11
+ workOrderHeaderAction?: React.ReactNode;
12
+ events?: PrepviewEvents;
13
+ }
14
+ declare function Prepview(props: PrepviewProps): JSX.Element | null;
15
+ export { MaintenanceApiNameForWorkOrders, WorkItemType } from './utils';
16
+ export { Prepview };
@@ -1,7 +1,7 @@
1
- import { PrepviewNotificationDto, PrepviewWorkOrderDto, PunchDetails } from '../types';
2
- import * as workOrderApi from './attachment';
3
- export { workOrderApi };
4
- export declare function getWorkOrder(instCode: string, workOrderId: string): Promise<PrepviewWorkOrderDto>;
5
- export declare function getNotification(instCode: string, notificationId: string): Promise<PrepviewNotificationDto>;
6
- export declare function getPunch(instCode: string, punchId: string): Promise<PunchDetails>;
7
- export declare function getWorkType(instCode: string, workOrderId: string): Promise<string[]>;
1
+ import { PrepviewNotificationDto, PrepviewWorkOrderDto, PunchDetails } from '../types';
2
+ import * as workOrderApi from './attachment';
3
+ export { workOrderApi };
4
+ export declare function getWorkOrder(instCode: string, workOrderId: string): Promise<PrepviewWorkOrderDto>;
5
+ export declare function getNotification(instCode: string, notificationId: string): Promise<PrepviewNotificationDto>;
6
+ export declare function getPunch(instCode: string, punchId: string): Promise<PunchDetails>;
7
+ export declare function getWorkType(instCode: string, workOrderId: string): Promise<string[]>;
@@ -1,2 +1,2 @@
1
- import { PrepviewAttachment } from '../types';
2
- export declare function getAttachmentFile(type: string, id: string, attachment: PrepviewAttachment, isWorkOrder: boolean): Promise<Blob>;
1
+ import { PrepviewAttachment } from '../types';
2
+ export declare function getAttachmentFile(type: string, id: string, attachment: PrepviewAttachment, isWorkOrder: boolean): Promise<Blob>;
@@ -1 +1 @@
1
- export * from './api';
1
+ export * from './api';
@@ -1,6 +1,6 @@
1
- export declare function getWorkOrder(instCode: string, workOrderId: string): string;
2
- export declare function getNotification(instCode: string, notificationId: string): string;
3
- export declare function getPunch(instCode: string, punchId: string): string;
4
- export declare function getWorkTypeUrl(instCode: string, workOrderId: string): string;
5
- export declare function getWorkorderAttachmentFile(orderTypeId: string, workorderId: string, attachmentId: string): string;
6
- export declare function getNotificationAttachmentFile(maintenanceRecordTypeId: string, maintenanceRecordId: string, attachmentId: string): string;
1
+ export declare function getWorkOrder(instCode: string, workOrderId: string): string;
2
+ export declare function getNotification(instCode: string, notificationId: string): string;
3
+ export declare function getPunch(instCode: string, punchId: string): string;
4
+ export declare function getWorkTypeUrl(instCode: string, workOrderId: string): string;
5
+ export declare function getWorkorderAttachmentFile(orderTypeId: string, workorderId: string, attachmentId: string): string;
6
+ export declare function getNotificationAttachmentFile(maintenanceRecordTypeId: string, maintenanceRecordId: string, attachmentId: string): string;
@@ -1,8 +1,8 @@
1
- import React from 'react';
2
- import { FetchStatus } from '../../../types';
3
- interface Props {
4
- statusCode: FetchStatus['statusCode'];
5
- children: React.ReactNode;
6
- }
7
- declare function StatusHandler({ statusCode, children }: Props): JSX.Element;
8
- export { StatusHandler };
1
+ import React from 'react';
2
+ import { FetchStatus } from '../../../types';
3
+ interface Props {
4
+ statusCode: FetchStatus['statusCode'];
5
+ children: React.ReactNode;
6
+ }
7
+ declare function StatusHandler({ statusCode, children }: Props): JSX.Element;
8
+ export { StatusHandler };
@@ -1 +1 @@
1
- export * from './StatusHandler';
1
+ export * from './StatusHandler';
@@ -1,2 +1,2 @@
1
- export * from './handler';
2
- export * from './request';
1
+ export * from './handler';
2
+ export * from './request';
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- type RequestAccessProps = {
3
- padding?: boolean;
4
- };
5
- declare const RequestAccess: React.FC<RequestAccessProps>;
6
- export { RequestAccess };
1
+ import React from 'react';
2
+ type RequestAccessProps = {
3
+ padding?: boolean;
4
+ };
5
+ declare const RequestAccess: React.FC<RequestAccessProps>;
6
+ export { RequestAccess };
@@ -1 +1 @@
1
- export * from './RequestAccess';
1
+ export * from './RequestAccess';
@@ -1,10 +1,10 @@
1
- /// <reference types="react" />
2
- import type { AdditionalDetailsDto, NotificationDetails, WorkOrderDetails } from '../../types';
3
- interface Props {
4
- workOrderDetails?: WorkOrderDetails;
5
- notificationDetails?: NotificationDetails;
6
- additionalDetails: AdditionalDetailsDto;
7
- closePanel: () => void;
8
- }
9
- declare function AdditionalDetails({ workOrderDetails, notificationDetails, additionalDetails, closePanel }: Props): JSX.Element;
10
- export { AdditionalDetails };
1
+ /// <reference types="react" />
2
+ import type { AdditionalDetailsDto, NotificationDetails, WorkOrderDetails } from '../../types';
3
+ interface Props {
4
+ workOrderDetails?: WorkOrderDetails;
5
+ notificationDetails?: NotificationDetails;
6
+ additionalDetails: AdditionalDetailsDto;
7
+ closePanel: () => void;
8
+ }
9
+ declare function AdditionalDetails({ workOrderDetails, notificationDetails, additionalDetails, closePanel }: Props): JSX.Element;
10
+ export { AdditionalDetails };
@@ -1,14 +1,14 @@
1
- import React from 'react';
2
- import { AdditionalDetailsDto, NotificationDetails, WorkOrderDetails } from '../../../types';
3
- interface Props {
4
- workOrderDetails?: WorkOrderDetails;
5
- notificationDetails?: NotificationDetails;
6
- additionalDetails: AdditionalDetailsDto;
7
- closePanel: () => void;
8
- }
9
- declare function TabsPanels({ workOrderDetails, notificationDetails, additionalDetails, closePanel }: Props): JSX.Element | null;
10
- interface TabsListProps {
11
- tabListRef: React.RefObject<HTMLDivElement>;
12
- }
13
- declare function TabsList({ tabListRef }: TabsListProps): JSX.Element | null;
14
- export { TabsPanels, TabsList };
1
+ import React from 'react';
2
+ import { AdditionalDetailsDto, NotificationDetails, WorkOrderDetails } from '../../../types';
3
+ interface Props {
4
+ workOrderDetails?: WorkOrderDetails;
5
+ notificationDetails?: NotificationDetails;
6
+ additionalDetails: AdditionalDetailsDto;
7
+ closePanel: () => void;
8
+ }
9
+ declare function TabsPanels({ workOrderDetails, notificationDetails, additionalDetails, closePanel }: Props): JSX.Element | null;
10
+ interface TabsListProps {
11
+ tabListRef: React.RefObject<HTMLDivElement>;
12
+ }
13
+ declare function TabsList({ tabListRef }: TabsListProps): JSX.Element | null;
14
+ export { TabsPanels, TabsList };
@@ -1 +1 @@
1
- export * from './TabsPanels';
1
+ export * from './TabsPanels';
@@ -1,8 +1,8 @@
1
- import { CSSProperties } from 'react';
2
- import type { ContentPickerGroup } from '../../types';
3
- interface ContentPickerProps {
4
- groups: ContentPickerGroup[];
5
- listItemStyle?: CSSProperties;
6
- }
7
- declare function ContentPicker({ groups, listItemStyle }: ContentPickerProps): JSX.Element;
8
- export { ContentPicker };
1
+ import { CSSProperties } from 'react';
2
+ import type { ContentPickerGroup } from '../../types';
3
+ interface ContentPickerProps {
4
+ groups: ContentPickerGroup[];
5
+ listItemStyle?: CSSProperties;
6
+ }
7
+ declare function ContentPicker({ groups, listItemStyle }: ContentPickerProps): JSX.Element;
8
+ export { ContentPicker };
@@ -1 +1 @@
1
- export * from './ContentPicker';
1
+ export * from './ContentPicker';
@@ -1,8 +1,8 @@
1
- import React from 'react';
2
- import { AccordionProps } from '@equinor/eds-core-react';
3
- interface DetailsAccordionProps {
4
- headerLevel?: AccordionProps['headerLevel'];
5
- children: React.ReactNode[];
6
- }
7
- declare function DetailsAccordion({ headerLevel, children }: DetailsAccordionProps): JSX.Element;
8
- export { DetailsAccordion };
1
+ import React from 'react';
2
+ import { AccordionProps } from '@equinor/eds-core-react';
3
+ interface DetailsAccordionProps {
4
+ headerLevel?: AccordionProps['headerLevel'];
5
+ children: React.ReactNode[];
6
+ }
7
+ declare function DetailsAccordion({ headerLevel, children }: DetailsAccordionProps): JSX.Element;
8
+ export { DetailsAccordion };
@@ -1 +1 @@
1
- export * from './DetailsAccordion';
1
+ export * from './DetailsAccordion';
@@ -1,3 +1,3 @@
1
- export * from './accordion';
2
- export * from './loader';
3
- export * from './panel';
1
+ export * from './accordion';
2
+ export * from './loader';
3
+ export * from './panel';
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare function DetailsLoader(): JSX.Element | null;
3
- export { DetailsLoader };
1
+ /// <reference types="react" />
2
+ declare function DetailsLoader(): JSX.Element | null;
3
+ export { DetailsLoader };
@@ -1 +1 @@
1
- export * from './DetailsLoader';
1
+ export * from './DetailsLoader';
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
- interface EmptyDetailsPanelProps {
3
- text: string;
4
- }
5
- declare function EmptyDetailsPanel({ text }: EmptyDetailsPanelProps): JSX.Element;
6
- export { EmptyDetailsPanel };
1
+ /// <reference types="react" />
2
+ interface EmptyDetailsPanelProps {
3
+ text: string;
4
+ }
5
+ declare function EmptyDetailsPanel({ text }: EmptyDetailsPanelProps): JSX.Element;
6
+ export { EmptyDetailsPanel };
@@ -1 +1 @@
1
- export * from './EmptyDetailsPanel';
1
+ export * from './EmptyDetailsPanel';
@@ -1,11 +1,11 @@
1
- /// <reference types="react" />
2
- import { FileDto } from '@equinor/echo-search';
3
- interface FileSizeDisplayProps {
4
- files: FileDto[];
5
- fileType?: 'pdf';
6
- viewCode?: 'v';
7
- className?: string;
8
- }
9
- declare function FileSizeDisplay({ files, fileType, viewCode, className }: FileSizeDisplayProps): JSX.Element | null;
10
- declare function formatBytes(bytes: number, decimals?: number): string;
11
- export { FileSizeDisplay, formatBytes };
1
+ /// <reference types="react" />
2
+ import { FileDto } from '@equinor/echo-search';
3
+ interface FileSizeDisplayProps {
4
+ files: FileDto[];
5
+ fileType?: 'pdf';
6
+ viewCode?: 'v';
7
+ className?: string;
8
+ }
9
+ declare function FileSizeDisplay({ files, fileType, viewCode, className }: FileSizeDisplayProps): JSX.Element | null;
10
+ declare function formatBytes(bytes: number, decimals?: number): string;
11
+ export { FileSizeDisplay, formatBytes };
@@ -1 +1 @@
1
- export * from './FileSizeDisplay';
1
+ export * from './FileSizeDisplay';
@@ -1,6 +1,6 @@
1
- export * from './access';
2
- export * from './contentPicker';
3
- export * from './details';
4
- export * from './fileSizeDisplay';
5
- export * from './info';
6
- export * from './link/Link';
1
+ export * from './access';
2
+ export * from './contentPicker';
3
+ export * from './details';
4
+ export * from './fileSizeDisplay';
5
+ export * from './info';
6
+ export * from './link/Link';
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
2
- interface InfoBlockType {
3
- label: string;
4
- stretched?: boolean;
5
- fit?: boolean;
6
- children: JSX.Element | string[] | string | number;
7
- }
8
- declare function InfoBlock({ label, stretched, fit, children }: InfoBlockType): JSX.Element;
9
- export { InfoBlock };
1
+ /// <reference types="react" />
2
+ interface InfoBlockType {
3
+ label: string;
4
+ stretched?: boolean;
5
+ fit?: boolean;
6
+ children: JSX.Element | string[] | string | number;
7
+ }
8
+ declare function InfoBlock({ label, stretched, fit, children }: InfoBlockType): JSX.Element;
9
+ export { InfoBlock };
@@ -1 +1 @@
1
- export * from './InfoBlock';
1
+ export * from './InfoBlock';
@@ -1,3 +1,3 @@
1
- export * from './block';
2
- export * from './section';
3
- export * from './list';
1
+ export * from './block';
2
+ export * from './section';
3
+ export * from './list';
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
- interface InfoBlockListProps {
3
- items: string[];
4
- }
5
- declare function InfoBlockList({ items }: InfoBlockListProps): JSX.Element;
6
- export { InfoBlockList };
1
+ /// <reference types="react" />
2
+ interface InfoBlockListProps {
3
+ items: string[];
4
+ }
5
+ declare function InfoBlockList({ items }: InfoBlockListProps): JSX.Element;
6
+ export { InfoBlockList };
@@ -1 +1 @@
1
- export * from './InfoBlockList';
1
+ export * from './InfoBlockList';
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- interface InfoSectionProps {
3
- children?: React.ReactNode;
4
- }
5
- declare function InfoSection({ children }: InfoSectionProps): JSX.Element;
6
- export { InfoSection };
1
+ import React from 'react';
2
+ interface InfoSectionProps {
3
+ children?: React.ReactNode;
4
+ }
5
+ declare function InfoSection({ children }: InfoSectionProps): JSX.Element;
6
+ export { InfoSection };
@@ -1,2 +1,2 @@
1
- export * from './InfoSection';
2
- export * from './longText';
1
+ export * from './InfoSection';
2
+ export * from './longText';
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
2
- interface Props {
3
- text: string;
4
- toggleLongText: () => void;
5
- isPunch?: boolean;
6
- }
7
- declare function LongTextSection({ text, toggleLongText }: Props): JSX.Element;
8
- export { LongTextSection };
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ text: string;
4
+ toggleLongText: () => void;
5
+ isPunch?: boolean;
6
+ }
7
+ declare function LongTextSection({ text, toggleLongText }: Props): JSX.Element;
8
+ export { LongTextSection };
@@ -1 +1 @@
1
- export * from './LongTextSection';
1
+ export * from './LongTextSection';
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
2
- interface LinkProps {
3
- href: string;
4
- linkText: string;
5
- }
6
- declare const Link: ({ href, linkText }: LinkProps) => JSX.Element;
7
- export { Link };
1
+ /// <reference types="react" />
2
+ interface LinkProps {
3
+ href: string;
4
+ linkText: string;
5
+ }
6
+ declare const Link: ({ href, linkText }: LinkProps) => JSX.Element;
7
+ export { Link };
@@ -1,15 +1,15 @@
1
- import React from 'react';
2
- import { SideSheetOrientation } from '@equinor/echo-components';
3
- import { WorkItemType } from '../utils';
4
- export interface PrepviewEvents {
5
- onClickHistoricItem?: (instCode: string, id: string, type: WorkItemType) => void;
6
- }
7
- interface PrepviewContext {
8
- instCode: string;
9
- orientation: SideSheetOrientation;
10
- isWorkOrder: boolean;
11
- events: PrepviewEvents;
12
- }
13
- export declare const PrepviewContext: React.Context<PrepviewContext>;
14
- export declare const usePrepviewContext: () => PrepviewContext;
15
- export {};
1
+ import React from 'react';
2
+ import { SideSheetOrientation } from '@equinor/echo-components';
3
+ import { WorkItemType } from '../utils';
4
+ export interface PrepviewEvents {
5
+ onClickHistoricItem?: (instCode: string, id: string, type: WorkItemType) => void;
6
+ }
7
+ interface PrepviewContext {
8
+ instCode: string;
9
+ orientation: SideSheetOrientation;
10
+ isWorkOrder: boolean;
11
+ events: PrepviewEvents;
12
+ }
13
+ export declare const PrepviewContext: React.Context<PrepviewContext>;
14
+ export declare const usePrepviewContext: () => PrepviewContext;
15
+ export {};
@@ -1,4 +1,4 @@
1
- export * from './useFetch';
2
- export * from './useOnClickDownload';
3
- export * from './useIsMobile';
4
- export * from './useSetActiveSearchItem';
1
+ export * from './useFetch';
2
+ export * from './useOnClickDownload';
3
+ export * from './useIsMobile';
4
+ export * from './useSetActiveSearchItem';
@@ -1,4 +1,4 @@
1
- import { DependencyList } from 'react';
2
- type FetchCallback<T> = () => Promise<T> | undefined;
3
- export declare function useFetch<TError = unknown, T = unknown>(callback: FetchCallback<T>, deps?: DependencyList): [data: T | undefined, isLoading: boolean, error: TError | unknown];
4
- export {};
1
+ import { DependencyList } from 'react';
2
+ type FetchCallback<T> = () => Promise<T> | undefined;
3
+ export declare function useFetch<TError = unknown, T = unknown>(callback: FetchCallback<T>, deps?: DependencyList): [data: T | undefined, isLoading: boolean, error: TError | unknown];
4
+ export {};
@@ -1,5 +1,5 @@
1
- /**
2
- * Hook for checking if page is loaded from mobile device.
3
- * @returns boolean true if on mobile.
4
- */
5
- export declare function useIsMobile(): boolean;
1
+ /**
2
+ * Hook for checking if page is loaded from mobile device.
3
+ * @returns boolean true if on mobile.
4
+ */
5
+ export declare function useIsMobile(): boolean;
@@ -1,9 +1,9 @@
1
- type DownloadPromise = () => Promise<Blob>;
2
- interface DownloadOnClick {
3
- isLoading: boolean;
4
- objectUrl?: string;
5
- error?: unknown;
6
- downloadOnClick: () => Promise<void>;
7
- }
8
- declare function useOnClickDownload(downloadBlob: DownloadPromise, fileName?: string): DownloadOnClick;
9
- export { useOnClickDownload };
1
+ type DownloadPromise = () => Promise<Blob>;
2
+ interface DownloadOnClick {
3
+ isLoading: boolean;
4
+ objectUrl?: string;
5
+ error?: unknown;
6
+ downloadOnClick: () => Promise<void>;
7
+ }
8
+ declare function useOnClickDownload(downloadBlob: DownloadPromise, fileName?: string): DownloadOnClick;
9
+ export { useOnClickDownload };
@@ -1,10 +1,10 @@
1
- export declare enum ItemTypes {
2
- tag = "tag",
3
- mcPack = "mcPack",
4
- commPack = "commPack"
5
- }
6
- type ActiveSearchFunction = (type: ItemTypes, itemNumber: string, instCode: string) => void;
7
- type ActivePackageSearchFunction = (type: ItemTypes, itemNumber: string, projectNumber: string) => void;
8
- export declare function useSetActiveSearchItem(): ActiveSearchFunction;
9
- export declare function useSetActivePackageItemInState(): ActivePackageSearchFunction;
10
- export {};
1
+ export declare enum ItemTypes {
2
+ tag = "tag",
3
+ mcPack = "mcPack",
4
+ commPack = "commPack"
5
+ }
6
+ type ActiveSearchFunction = (type: ItemTypes, itemNumber: string, instCode: string) => void;
7
+ type ActivePackageSearchFunction = (type: ItemTypes, itemNumber: string, projectNumber: string) => void;
8
+ export declare function useSetActiveSearchItem(): ActiveSearchFunction;
9
+ export declare function useSetActivePackageItemInState(): ActivePackageSearchFunction;
10
+ export {};
@@ -1 +1 @@
1
- export * from './Prepview';
1
+ export * from './Prepview';
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
2
- import type { NotificationDetails } from '../../types';
3
- export interface Props {
4
- details: NotificationDetails;
5
- isLoading?: boolean;
6
- closePanel: () => void;
7
- }
8
- declare function DetailsNotification({ details, closePanel }: Props): JSX.Element;
9
- export { DetailsNotification };
1
+ /// <reference types="react" />
2
+ import type { NotificationDetails } from '../../types';
3
+ export interface Props {
4
+ details: NotificationDetails;
5
+ isLoading?: boolean;
6
+ closePanel: () => void;
7
+ }
8
+ declare function DetailsNotification({ details, closePanel }: Props): JSX.Element;
9
+ export { DetailsNotification };