@equinor/echo-framework 0.13.2 → 0.14.0
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/README.md +48 -4
- package/index.css +2890 -0
- package/index.js +70 -0
- package/package.json +25 -126
- package/src/index.d.ts +102 -0
- package/{dist → src/lib}/components/appLinks/AppLinks.d.ts +6 -6
- package/{dist → src/lib}/components/appLinks/applinkUtils.d.ts +2 -2
- package/{dist → src/lib}/components/appLinks/index.d.ts +2 -2
- package/{dist → src/lib}/components/appLinks/linkButton/linkButton.d.ts +7 -7
- package/{dist → src/lib}/components/containers/index.d.ts +1 -1
- package/{dist → src/lib}/components/containers/layouts.d.ts +7 -7
- package/{dist → src/lib}/components/contextualAppLinks/contextualAppLinks.context.d.ts +7 -7
- package/{dist → src/lib}/components/contextualAppLinks/contextualAppLinks.d.ts +9 -9
- package/{dist → src/lib}/components/contextualAppLinks/externalAppsMenu.d.ts +29 -29
- package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/allExternalLinks.d.ts +12 -12
- package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkButtons.helpers.d.ts +60 -60
- package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToCommApp.d.ts +14 -14
- package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToConditionAdviser.d.ts +15 -15
- package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToMcApp.d.ts +14 -14
- package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToProCoSys.d.ts +14 -14
- package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToSafeX.d.ts +13 -13
- package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToSap.d.ts +18 -18
- package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToSemiDoc.d.ts +17 -17
- package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToStid.d.ts +14 -14
- package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToTr2000.d.ts +17 -17
- package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToTrendingApp.d.ts +15 -15
- package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/iconButtonSpinner.d.ts +18 -18
- package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/index.d.ts +10 -10
- package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/trainingCenterForValvesMenu.d.ts +7 -7
- package/{dist → src/lib}/components/contextualAppLinks/hooks/useContextualAppLinks.d.ts +18 -18
- package/{dist → src/lib}/components/contextualAppLinks/hooks/useContextualAppLinksContext.d.ts +4 -4
- package/{dist → src/lib}/components/contextualAppLinks/index.d.ts +13 -13
- package/{dist → src/lib}/components/contextualAppLinks/internalAppLinks.d.ts +24 -24
- package/{dist → src/lib}/components/contextualAppLinks/linkButton.d.ts +19 -19
- package/{dist → src/lib}/components/echo3DButton/3dButtonUtils.d.ts +12 -12
- package/{dist → src/lib}/components/echo3DButton/OpenIn3dDropdown.d.ts +11 -11
- package/{dist → src/lib}/components/echo3DButton/echo3DButton.d.ts +18 -18
- package/{dist → src/lib}/components/echo3DButton/echo3DIconButton.d.ts +26 -26
- package/{dist → src/lib}/components/echo3DButton/icons/E3DWebBetaIcon.d.ts +6 -6
- package/{dist → src/lib}/components/echo3DButton/index.d.ts +2 -2
- package/{dist → src/lib}/components/echo3DButton/missingEcho3dAccessDialog.d.ts +8 -8
- package/{dist → src/lib}/components/echo3DButton/plantNotAvailableInfo.d.ts +6 -6
- package/{dist → src/lib}/components/echo3DButton/useGetOpenIn3d.d.ts +5 -5
- package/{dist → src/lib}/components/echo3DButton/useGoToEcho3DWebLink.d.ts +1 -1
- package/{dist → src/lib}/components/echoLogo/echoLogo.d.ts +6 -6
- package/{dist → src/lib}/components/echoLogo/index.d.ts +1 -1
- package/{dist → src/lib}/components/errorBoundary/components/chunkLoadErrorMessage.d.ts +3 -3
- package/{dist → src/lib}/components/errorBoundary/components/errorBoundaryBaseMessage.d.ts +7 -7
- package/{dist → src/lib}/components/errorBoundary/components/notificationCardWithLogo.d.ts +13 -13
- package/{dist → src/lib}/components/errorBoundary/errorBoundary.d.ts +15 -15
- package/{dist → src/lib}/components/errorBoundary/index.d.ts +1 -1
- package/{dist → src/lib}/components/externalLinkButton/externalLinkButton.d.ts +45 -45
- package/{dist → src/lib}/components/footer/footer.d.ts +10 -10
- package/{dist → src/lib}/components/footer/index.d.ts +1 -1
- package/{dist → src/lib}/components/fullScreenButtons/FullScreenButton.d.ts +7 -7
- package/{dist → src/lib}/components/fullScreenButtons/FullScreenChip.d.ts +8 -8
- package/{dist → src/lib}/components/fullScreenButtons/FullScreenModeButtons.d.ts +7 -7
- package/{dist → src/lib}/components/fullScreenButtons/index.d.ts +3 -3
- package/src/lib/components/homePage/HomePage.d.ts +1 -0
- package/{dist → src/lib}/components/homePage/index.d.ts +1 -1
- package/{dist → src/lib}/components/index.d.ts +23 -25
- package/{dist → src/lib}/components/lazyLoading/appLoadingIndicator.d.ts +6 -6
- package/{dist → src/lib}/components/lazyLoading/index.d.ts +1 -1
- package/{dist → src/lib}/components/lazyLoading/lazyLoadedAppWrapper.d.ts +14 -14
- package/{dist → src/lib}/components/mediator/index.d.ts +1 -1
- package/{dist → src/lib}/components/mediator/mediator.d.ts +6 -6
- package/{dist → src/lib}/components/pageMenu/Navigation/applicationList.d.ts +3 -3
- package/{dist → src/lib}/components/pageMenu/defaultAccordionItem.d.ts +12 -12
- package/{dist → src/lib}/components/pageMenu/index.d.ts +3 -3
- package/{dist → src/lib}/components/pageMenu/pageMenu.d.ts +15 -15
- package/{dist → src/lib}/components/pageMenu/pageMenuDrawerItem.d.ts +16 -16
- package/{dist → src/lib}/components/pageMenu/settings/asset.d.ts +6 -6
- package/{dist → src/lib}/components/pageMenu/settings/profile.d.ts +6 -6
- package/{dist → src/lib}/components/pageMenu/settings/settings.d.ts +7 -7
- package/{dist → src/lib}/components/pageMenu/version/version.d.ts +3 -3
- package/{dist → src/lib}/components/panel/corePanelIcon.d.ts +6 -6
- package/{dist → src/lib}/components/panel/corePanelLeft.d.ts +3 -3
- package/{dist → src/lib}/components/panel/corePanelRight.d.ts +3 -3
- package/{dist → src/lib}/components/panel/index.d.ts +2 -2
- package/{dist → src/lib}/components/panelButton/index.d.ts +1 -1
- package/{dist → src/lib}/components/panelButton/panelButton.d.ts +19 -19
- package/{dist → src/lib}/components/plantSelector/index.d.ts +1 -1
- package/{dist → src/lib}/components/plantSelector/plantSelector.d.ts +18 -18
- package/{dist → src/lib}/components/prepview/Prepview.d.ts +16 -16
- package/{dist → src/lib}/components/prepview/api/api.d.ts +7 -7
- package/{dist → src/lib}/components/prepview/api/attachment.d.ts +2 -2
- package/{dist → src/lib}/components/prepview/api/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/api/resources.d.ts +6 -6
- package/{dist → src/lib}/components/prepview/common/access/handler/StatusHandler.d.ts +8 -8
- package/{dist → src/lib}/components/prepview/common/access/handler/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/common/access/index.d.ts +2 -2
- package/{dist → src/lib}/components/prepview/common/access/request/RequestAccess.d.ts +6 -6
- package/{dist → src/lib}/components/prepview/common/access/request/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/common/additionalInformation/AdditionalDetails.d.ts +9 -10
- package/{dist → src/lib}/components/prepview/common/additionalInformation/tabsPanels/TabsPanels.d.ts +14 -14
- package/{dist → src/lib}/components/prepview/common/additionalInformation/tabsPanels/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/common/contentPicker/ContentPicker.d.ts +8 -8
- package/{dist → src/lib}/components/prepview/common/contentPicker/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/common/details/accordion/DetailsAccordion.d.ts +8 -8
- package/{dist → src/lib}/components/prepview/common/details/accordion/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/common/details/index.d.ts +3 -3
- package/src/lib/components/prepview/common/details/loader/DetailsLoader.d.ts +2 -0
- package/{dist → src/lib}/components/prepview/common/details/loader/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/common/details/panel/EmptyDetailsPanel.d.ts +5 -6
- package/{dist → src/lib}/components/prepview/common/details/panel/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/common/fileSizeDisplay/FileSizeDisplay.d.ts +10 -11
- package/{dist → src/lib}/components/prepview/common/fileSizeDisplay/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/common/index.d.ts +6 -6
- package/{dist → src/lib}/components/prepview/common/info/block/InfoBlock.d.ts +9 -9
- package/{dist → src/lib}/components/prepview/common/info/block/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/common/info/index.d.ts +3 -3
- package/src/lib/components/prepview/common/info/list/InfoBlockList.d.ts +5 -0
- package/{dist → src/lib}/components/prepview/common/info/list/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/common/info/section/InfoSection.d.ts +6 -6
- package/{dist → src/lib}/components/prepview/common/info/section/index.d.ts +2 -2
- package/{dist → src/lib}/components/prepview/common/info/section/longText/LongTextSection.d.ts +7 -8
- package/{dist → src/lib}/components/prepview/common/info/section/longText/index.d.ts +1 -1
- package/src/lib/components/prepview/common/link/Link.d.ts +6 -0
- package/{dist → src/lib}/components/prepview/context/PrepviewContext.d.ts +15 -15
- package/{dist → src/lib}/components/prepview/hooks/index.d.ts +4 -4
- package/{dist → src/lib}/components/prepview/hooks/useFetch.d.ts +4 -4
- package/{dist → src/lib}/components/prepview/hooks/useIsMobile.d.ts +5 -5
- package/{dist → src/lib}/components/prepview/hooks/useOnClickDownload.d.ts +9 -9
- package/{dist → src/lib}/components/prepview/hooks/useSetActiveSearchItem.d.ts +10 -10
- package/{dist → src/lib}/components/prepview/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/notification/details/DetailsNotification.d.ts +9 -9
- package/{dist → src/lib}/components/prepview/notification/details/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/notification/header/Header.d.ts +7 -7
- package/{dist → src/lib}/components/prepview/notification/header/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/notification/index.d.ts +8 -8
- package/{dist → src/lib}/components/prepview/panels/attachments/Attachments.d.ts +8 -9
- package/{dist → src/lib}/components/prepview/panels/attachments/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/panels/history/TagHistory.d.ts +9 -9
- package/{dist → src/lib}/components/prepview/panels/history/group/TagHistoryGroup.d.ts +10 -10
- package/{dist → src/lib}/components/prepview/panels/history/group/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/panels/history/horizontalView/HorizontalTagHistory.d.ts +9 -9
- package/{dist → src/lib}/components/prepview/panels/history/horizontalView/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/panels/history/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/panels/history/items/Items.d.ts +11 -11
- package/{dist → src/lib}/components/prepview/panels/history/items/NotificationItem.d.ts +7 -7
- package/{dist → src/lib}/components/prepview/panels/history/items/PunchItem.d.ts +7 -7
- package/{dist → src/lib}/components/prepview/panels/history/items/WorkOrderItem.d.ts +7 -7
- package/{dist → src/lib}/components/prepview/panels/history/items/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/panels/index.d.ts +7 -7
- package/{dist → src/lib}/components/prepview/panels/objects/Objects.d.ts +6 -7
- package/{dist → src/lib}/components/prepview/panels/objects/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/panels/operations/Operations.d.ts +6 -7
- package/{dist → src/lib}/components/prepview/panels/operations/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/panels/risk/Risk.d.ts +6 -7
- package/{dist → src/lib}/components/prepview/panels/risk/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/panels/risk/trafficLight/TrafficLight.d.ts +7 -7
- package/{dist → src/lib}/components/prepview/panels/risk/trafficLight/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/panels/tagDocumentRefs/HorizontalDocumentGroups.d.ts +7 -8
- package/{dist → src/lib}/components/prepview/panels/tagDocumentRefs/TagDocumentGroup.d.ts +8 -9
- package/{dist → src/lib}/components/prepview/panels/tagDocumentRefs/TagDocumentItem.d.ts +7 -8
- package/{dist → src/lib}/components/prepview/panels/tagDocumentRefs/TagDocumentRefs.d.ts +7 -8
- package/{dist → src/lib}/components/prepview/panels/tagDocumentRefs/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/panels/tagInformation/TagInformation.d.ts +10 -11
- package/{dist → src/lib}/components/prepview/panels/tagInformation/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/punch/details/Details.d.ts +9 -9
- package/{dist → src/lib}/components/prepview/punch/details/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/punch/header/Header.d.ts +7 -7
- package/{dist → src/lib}/components/prepview/punch/header/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/punch/index.d.ts +8 -8
- package/{dist → src/lib}/components/prepview/types/attachment.d.ts +7 -7
- package/{dist → src/lib}/components/prepview/types/common.d.ts +50 -50
- package/{dist → src/lib}/components/prepview/types/document.d.ts +13 -13
- package/{dist → src/lib}/components/prepview/types/index.d.ts +9 -9
- package/{dist → src/lib}/components/prepview/types/notification.d.ts +68 -68
- package/{dist → src/lib}/components/prepview/types/operation.d.ts +13 -13
- package/{dist → src/lib}/components/prepview/types/punch.d.ts +27 -27
- package/{dist → src/lib}/components/prepview/types/safety.d.ts +21 -21
- package/{dist → src/lib}/components/prepview/types/tag.d.ts +24 -24
- package/{dist → src/lib}/components/prepview/types/workorder.d.ts +83 -83
- package/{dist → src/lib}/components/prepview/utils/date.d.ts +5 -5
- package/{dist → src/lib}/components/prepview/utils/documents.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/utils/dom.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/utils/enums/documents.d.ts +14 -14
- package/{dist → src/lib}/components/prepview/utils/enums/index.d.ts +2 -2
- package/{dist → src/lib}/components/prepview/utils/enums/tagHistoryItem.d.ts +5 -5
- package/{dist → src/lib}/components/prepview/utils/index.d.ts +10 -10
- package/{dist → src/lib}/components/prepview/utils/logger.d.ts +71 -71
- package/{dist → src/lib}/components/prepview/utils/notification.d.ts +3 -3
- package/{dist → src/lib}/components/prepview/utils/object.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/utils/punch.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/utils/string.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/utils/url.d.ts +9 -9
- package/{dist → src/lib}/components/prepview/utils/workorder.d.ts +2 -2
- package/{dist → src/lib}/components/prepview/workorder/details/DetailsWorkOrder.d.ts +9 -9
- package/{dist → src/lib}/components/prepview/workorder/details/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/workorder/header/WorkOrderHeader.d.ts +8 -8
- package/{dist → src/lib}/components/prepview/workorder/header/index.d.ts +1 -1
- package/{dist → src/lib}/components/prepview/workorder/index.d.ts +9 -9
- package/{dist → src/lib}/components/projectSelector/ProcosysProjectSelector.d.ts +17 -17
- package/{dist → src/lib}/components/projectSelector/index.d.ts +1 -1
- package/{dist → src/lib}/components/realTimeData/RealTimePopoverButton.d.ts +18 -18
- package/{dist → src/lib}/components/realTimeData/components/IMSDropdown/RealTimeIMSDropdown.d.ts +8 -8
- package/{dist → src/lib}/components/realTimeData/components/IMSDropdown/index.d.ts +1 -1
- package/{dist → src/lib}/components/realTimeData/components/connectorForIMSTag/RealTimeConnectorForIMSTag.d.ts +7 -7
- package/{dist → src/lib}/components/realTimeData/components/connectorForIMSTag/index.d.ts +1 -1
- package/{dist → src/lib}/components/realTimeData/components/contextButton/RealTimeContextButton.d.ts +7 -7
- package/{dist → src/lib}/components/realTimeData/components/contextButton/index.d.ts +1 -1
- package/{dist → src/lib}/components/realTimeData/components/contextPopover/Popover.d.ts +9 -9
- package/{dist → src/lib}/components/realTimeData/components/contextPopover/index.d.ts +1 -1
- package/{dist → src/lib}/components/realTimeData/components/index.d.ts +4 -4
- package/{dist → src/lib}/components/realTimeData/hooks/index.d.ts +3 -3
- package/{dist → src/lib}/components/realTimeData/hooks/useRealTimeHub.d.ts +13 -13
- package/{dist → src/lib}/components/realTimeData/hooks/useSignalR.d.ts +10 -10
- package/{dist → src/lib}/components/realTimeData/hooks/useSignalRListener.d.ts +4 -4
- package/{dist → src/lib}/components/realTimeData/index.d.ts +1 -1
- package/{dist → src/lib}/components/router/echoRoute.d.ts +11 -11
- package/{dist → src/lib}/components/router/echoRouter.d.ts +6 -6
- package/{dist → src/lib}/components/router/echoWrapper.d.ts +7 -7
- package/{dist → src/lib}/components/router/index.d.ts +3 -3
- package/{dist → src/lib}/components/router/routes.d.ts +5 -5
- package/{dist → src/lib}/components/searchMenu/index.d.ts +1 -1
- package/{dist → src/lib}/components/searchMenu/searchMenu.d.ts +3 -3
- package/{dist → src/lib}/components/tagNumber/index.d.ts +1 -1
- package/{dist → src/lib}/components/tagNumber/tagNumber.d.ts +8 -8
- package/{dist → src/lib}/components/toaster/index.d.ts +2 -2
- package/{dist → src/lib}/components/toaster/toaster.d.ts +10 -10
- package/{dist → src/lib}/components/toaster/toasters.d.ts +3 -3
- package/{dist → src/lib}/coreApplication/BarComponents/TopBarContent.d.ts +5 -5
- package/{dist → src/lib}/coreApplication/EchoBarComponent.d.ts +10 -10
- package/{dist → src/lib}/coreApplication/EchoContent.d.ts +8 -8
- package/{dist → src/lib}/coreApplication/EchoContentPanels.d.ts +9 -9
- package/{dist → src/lib}/coreApplication/EchoEventHandler.d.ts +11 -11
- package/{dist → src/lib}/coreApplication/EchoToolBar.d.ts +19 -20
- package/{dist → src/lib}/coreApplication/EchoTopBar.d.ts +4 -4
- package/{dist → src/lib}/coreApplication/EchoUserInterfaceStore.d.ts +21 -21
- package/{dist → src/lib}/coreApplication/index.d.ts +7 -7
- package/{dist → src/lib}/hooks/hookLibrary.d.ts +49 -49
- package/{dist → src/lib}/hooks/index.d.ts +8 -8
- package/{dist → src/lib}/hooks/useEchoHistory.d.ts +11 -11
- package/{dist → src/lib}/hooks/useHas3dAccess.d.ts +1 -1
- package/{dist → src/lib}/hooks/useIsCompactLayout.d.ts +5 -5
- package/{dist → src/lib}/hooks/useIsFullScreenModeEnabled.d.ts +1 -1
- package/{dist → src/lib}/hooks/useLongPress.d.ts +6 -6
- package/{dist → src/lib}/hooks/usePlantAvailableIn3d.d.ts +1 -1
- package/{dist → src/lib}/hooks/usePlantAvailableIn3dWeb.d.ts +1 -1
- package/{dist → src/lib}/hooks/useScreenOrientation.d.ts +5 -5
- package/{dist → src/lib}/hooks/useScreenValues.d.ts +13 -13
- package/{dist → src/lib}/hooks/useSemi.d.ts +21 -21
- package/{dist → src/lib}/hooks/useTagDetails.d.ts +20 -20
- package/{dist → src/lib}/hooks/useWindowSize.d.ts +8 -8
- package/{dist → src/lib}/icons/edsIons.d.ts +1 -1
- package/{dist → src/lib}/icons/equinor-logo.d.ts +2 -2
- package/{dist → src/lib}/icons/logo_ee.d.ts +3 -3
- package/{dist → src/lib}/icons/search.d.ts +3 -3
- package/{dist → src/lib}/services/api/api-manager.d.ts +19 -19
- package/{dist → src/lib}/services/api/api-plantinfo.d.ts +5 -5
- package/{dist → src/lib}/services/api/api-plants.d.ts +7 -7
- package/{dist → src/lib}/services/api/api-realtimedata.d.ts +2 -2
- package/{dist → src/lib}/services/api/api-tag-details.d.ts +17 -17
- package/{dist → src/lib}/services/api/api-tag-list-for-3D.d.ts +26 -26
- package/{dist → src/lib}/services/api/api-tags.d.ts +17 -17
- package/{dist → src/lib}/services/api/api-version.d.ts +2 -2
- package/{dist → src/lib}/services/api/index.d.ts +3 -3
- package/{dist → src/lib}/services/componentRegistry/componentRegistry.d.ts +34 -34
- package/{dist → src/lib}/services/deviceInformation/deepDeviceInfo.d.ts +41 -41
- package/{dist → src/lib}/services/deviceInformation/deviceInfo.d.ts +45 -45
- package/{dist → src/lib}/services/echopediaAnalyticsModule/echopediaAnalyticsModule.d.ts +1 -1
- package/{dist → src/lib}/services/eventCallbacks/plantChanged.d.ts +9 -9
- package/{dist → src/lib}/services/eventHubActions/index.d.ts +1 -1
- package/{dist → src/lib}/services/eventHubActions/toastActions.d.ts +6 -6
- package/{dist → src/lib}/services/searchItemDetails/searchItemDetails.store.d.ts +26 -26
- package/{dist → src/lib}/services/searchItemDetails/searchItemDetailsContainer.d.ts +6 -6
- package/{dist → src/lib}/theme/themeConst.d.ts +51 -51
- package/{dist → src/lib}/types/api-echohub.d.ts +36 -36
- package/{dist → src/lib}/types/api-proCoSysTagResponse.d.ts +8 -8
- package/{dist → src/lib}/types/device.d.ts +53 -53
- package/{dist → src/lib}/types/echoHubPlant.d.ts +11 -11
- package/{dist → src/lib}/types/eventTypes/fullScreenModeEvent.d.ts +3 -3
- package/{dist → src/lib}/types/eventTypes/index.d.ts +5 -5
- package/{dist → src/lib}/types/eventTypes/legendEvent.d.ts +4 -4
- package/{dist → src/lib}/types/eventTypes/plantEvent.d.ts +5 -5
- package/{dist → src/lib}/types/eventTypes/searchDetailsContainerEvents.d.ts +3 -3
- package/{dist → src/lib}/types/eventTypes/toasterEvent.d.ts +5 -5
- package/{dist → src/lib}/types/extensions.d.ts +7 -7
- package/{dist → src/lib}/types/hookLibrary.d.ts +20 -20
- package/{dist → src/lib}/types/legend.d.ts +45 -45
- package/{dist → src/lib}/types/modelPermissions.d.ts +4 -4
- package/{dist → src/lib}/types/pingableSources.d.ts +4 -4
- package/{dist → src/lib}/types/realtimedata.d.ts +18 -18
- package/{dist → src/lib}/types/toaster.d.ts +7 -7
- package/{dist → src/lib}/types/toasterMessage.d.ts +5 -5
- package/{dist → src/lib}/utils/arrayUtils.d.ts +8 -8
- package/{dist → src/lib}/utils/copyText.d.ts +2 -2
- package/{dist → src/lib}/utils/eventHandlerUtils.d.ts +1 -1
- package/{dist → src/lib}/utils/index.d.ts +3 -3
- package/{dist → src/lib}/utils/legendUtils.d.ts +18 -18
- package/{dist → src/lib}/utils/navigationUtils.d.ts +7 -7
- package/{dist → src/lib}/utils/plantInfo.d.ts +98 -98
- package/{dist → src/lib}/utils/plantsDataUtils.d.ts +9 -9
- package/{dist → src/lib}/utils/projectSelectorUtils.d.ts +1 -1
- package/{dist → src/lib}/utils/searchUtil.d.ts +1 -1
- package/{dist → src/lib}/utils/startup.d.ts +6 -6
- package/{dist → src/lib}/utils/tagUtils.d.ts +23 -23
- package/{dist → src/lib}/utils/taskCache.d.ts +23 -23
- package/LICENSE +0 -21
- package/dist/__tests__/3dButtonUtils.test.d.ts +0 -1
- package/dist/__tests__/eventHandlerUtils.test.d.ts +0 -1
- package/dist/__tests__/plantInfoSetup.d.ts +0 -2
- package/dist/__tests__/plantInfoUtils.test.d.ts +0 -1
- package/dist/__tests__/prepviewUtils.test.d.ts +0 -1
- package/dist/__tests__/projectSelectorUtils.test.d.ts +0 -1
- package/dist/__tests__/realTimeDataHooks.test.d.ts +0 -1
- package/dist/__tests__/realTimeDataUtils.test.d.ts +0 -1
- package/dist/components/appLinks/applinkUtils.test.d.ts +0 -1
- package/dist/components/contextualAppLinks/externalLinkButtons/externalLinkButtons.helpers.test.d.ts +0 -1
- package/dist/components/contextualAppLinks/hooks/useContextualAppLinks.test.d.ts +0 -1
- package/dist/components/contextualAppLinks/hooks/useContextualAppLinksContext.test.d.ts +0 -1
- package/dist/components/homePage/HomePage.d.ts +0 -2
- package/dist/components/prepview/common/details/loader/DetailsLoader.d.ts +0 -3
- package/dist/components/prepview/common/info/list/InfoBlockList.d.ts +0 -6
- package/dist/components/prepview/common/link/Link.d.ts +0 -7
- package/dist/hooks/useLongPress.test.d.ts +0 -1
- package/dist/hooks/useSemi.test.d.ts +0 -1
- package/dist/hooks/useTagDetails.test.d.ts +0 -1
- package/dist/index.css +0 -1
- package/dist/index.d.ts +0 -102
- package/dist/index.js +0 -43
- package/dist/services/api/api-tag-details.test.d.ts +0 -1
- package/dist/services/api/api-tag-list-for-3D.test.d.ts +0 -1
- package/dist/services/api/api-tags.test.d.ts +0 -1
- package/dist/services/componentRegistry/componentRegistry.test.d.ts +0 -1
- package/dist/services/searchItemDetails/searchItemDetails.store.test.d.ts +0 -1
- package/dist/setupTests.d.ts +0 -1
- package/dist/utils/arrayUtils.test.d.ts +0 -1
- package/dist/utils/copyText.test.d.ts +0 -1
- package/dist/utils/legendUtils.test.d.ts +0 -1
- package/dist/utils/navigationUtils.test.d.ts +0 -1
- package/dist/utils/plantInfo.test.d.ts +0 -1
- package/dist/utils/tagUtils.test.d.ts +0 -1
- package/dist/utils/taskCache.test.d.ts +0 -1
- /package/{dist/1bd97dd2170d0f64.svg → 1bd97dd2170d0f64.svg} +0 -0
- /package/{dist/47deeba42768c5d1.svg → 47deeba42768c5d1.svg} +0 -0
package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToMcApp.d.ts
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type ExternalLinkToMcAppProps = {
|
|
3
|
-
tagNo: string;
|
|
4
|
-
instCode: string;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* External link button to Mechanical Completion web app.
|
|
8
|
-
*
|
|
9
|
-
* @param {string} tagNo The tag's number to open in McApp.
|
|
10
|
-
* @param {string} instCode Plant installation code.
|
|
11
|
-
* @returns {React.FC<ExternalLinkToMcAppProps>} React component.
|
|
12
|
-
*/
|
|
13
|
-
export declare const ExternalLinkToMcApp: React.FC<ExternalLinkToMcAppProps>;
|
|
14
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type ExternalLinkToMcAppProps = {
|
|
3
|
+
tagNo: string;
|
|
4
|
+
instCode: string;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* External link button to Mechanical Completion web app.
|
|
8
|
+
*
|
|
9
|
+
* @param {string} tagNo The tag's number to open in McApp.
|
|
10
|
+
* @param {string} instCode Plant installation code.
|
|
11
|
+
* @returns {React.FC<ExternalLinkToMcAppProps>} React component.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ExternalLinkToMcApp: React.FC<ExternalLinkToMcAppProps>;
|
|
14
|
+
export {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type ExternalLinkToProCoSysProps = {
|
|
3
|
-
tagNo: string;
|
|
4
|
-
instCode: string;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* External link button to ProCoSys.
|
|
8
|
-
*
|
|
9
|
-
* @param {string} tagNo The tag's number to open in ProCoSys.
|
|
10
|
-
* @param {TagDetailsDto} tagDetails The given tags detailed information.
|
|
11
|
-
* @returns {React.FC<ExternalLinkToProCoSysProps>} React component.
|
|
12
|
-
*/
|
|
13
|
-
export declare const ExternalLinkToProCoSys: React.FC<ExternalLinkToProCoSysProps>;
|
|
14
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type ExternalLinkToProCoSysProps = {
|
|
3
|
+
tagNo: string;
|
|
4
|
+
instCode: string;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* External link button to ProCoSys.
|
|
8
|
+
*
|
|
9
|
+
* @param {string} tagNo The tag's number to open in ProCoSys.
|
|
10
|
+
* @param {TagDetailsDto} tagDetails The given tags detailed information.
|
|
11
|
+
* @returns {React.FC<ExternalLinkToProCoSysProps>} React component.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ExternalLinkToProCoSys: React.FC<ExternalLinkToProCoSysProps>;
|
|
14
|
+
export {};
|
package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToSafeX.d.ts
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { TagSummaryDto } from '@equinor/echo-search';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
type ExternalLinkToSafeXProps = {
|
|
4
|
-
tag: TagSummaryDto;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* External link button to SafeX.
|
|
8
|
-
*
|
|
9
|
-
* @param {TagSummaryDto} tag The tag to open in SafeX.
|
|
10
|
-
* @returns {React.FC<ExternalLinkToSafeXProps>} React component.
|
|
11
|
-
*/
|
|
12
|
-
export declare const ExternalLinkToSafeX: React.FC<ExternalLinkToSafeXProps>;
|
|
13
|
-
export {};
|
|
1
|
+
import { TagSummaryDto } from '@equinor/echo-search';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
type ExternalLinkToSafeXProps = {
|
|
4
|
+
tag: TagSummaryDto;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* External link button to SafeX.
|
|
8
|
+
*
|
|
9
|
+
* @param {TagSummaryDto} tag The tag to open in SafeX.
|
|
10
|
+
* @returns {React.FC<ExternalLinkToSafeXProps>} React component.
|
|
11
|
+
*/
|
|
12
|
+
export declare const ExternalLinkToSafeX: React.FC<ExternalLinkToSafeXProps>;
|
|
13
|
+
export {};
|
package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToSap.d.ts
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type ExternalLinkToSapProps = {
|
|
3
|
-
tagNo: string;
|
|
4
|
-
instCode: string;
|
|
5
|
-
loadingStatusCallback?: (isLoading: boolean) => void;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* External link button to SAP.
|
|
9
|
-
* Will only render if the passed tagNo has any tag details in the actually selected plant and SAP is available.
|
|
10
|
-
* It pings SAP to determine whether is available or not.
|
|
11
|
-
*
|
|
12
|
-
* @param {string} tagNo The tag's number to open in SAP.
|
|
13
|
-
* @param {string} instCode Plant installation code.
|
|
14
|
-
* @param {(isLoading: boolean) => void} loadingStatusCallback Callback which provides an 'isLoading' param reflecting the actual loading state of the ping to SAP.
|
|
15
|
-
* @returns {React.FC<ExternalLinkToSapProps>} React component.
|
|
16
|
-
*/
|
|
17
|
-
export declare const ExternalLinkToSap: React.FC<ExternalLinkToSapProps>;
|
|
18
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type ExternalLinkToSapProps = {
|
|
3
|
+
tagNo: string;
|
|
4
|
+
instCode: string;
|
|
5
|
+
loadingStatusCallback?: (isLoading: boolean) => void;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* External link button to SAP.
|
|
9
|
+
* Will only render if the passed tagNo has any tag details in the actually selected plant and SAP is available.
|
|
10
|
+
* It pings SAP to determine whether is available or not.
|
|
11
|
+
*
|
|
12
|
+
* @param {string} tagNo The tag's number to open in SAP.
|
|
13
|
+
* @param {string} instCode Plant installation code.
|
|
14
|
+
* @param {(isLoading: boolean) => void} loadingStatusCallback Callback which provides an 'isLoading' param reflecting the actual loading state of the ping to SAP.
|
|
15
|
+
* @returns {React.FC<ExternalLinkToSapProps>} React component.
|
|
16
|
+
*/
|
|
17
|
+
export declare const ExternalLinkToSap: React.FC<ExternalLinkToSapProps>;
|
|
18
|
+
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type ExternalLinkToSemiDocProps = {
|
|
3
|
-
tagNo: string;
|
|
4
|
-
instCode: string;
|
|
5
|
-
loadingStatusCallback?: (isLoading: boolean) => void;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* External link button to SemiDoc.
|
|
9
|
-
* Will only render if Semi is available for the passed tagNo.
|
|
10
|
-
*
|
|
11
|
-
* @param {string} tagNo The tag's number to open in Semi.
|
|
12
|
-
* @param {string} instCode Plant installation code.
|
|
13
|
-
* @param {(isLoading: boolean) => void} loadingStatusCallback Callback which provides an 'isLoading' param reflecting the actual API call state for checking Semi availability.
|
|
14
|
-
* @returns {React.FC<ExternalLinkToSemiDocProps>} React component.
|
|
15
|
-
*/
|
|
16
|
-
export declare const ExternalLinkToSemiDoc: React.FC<ExternalLinkToSemiDocProps>;
|
|
17
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type ExternalLinkToSemiDocProps = {
|
|
3
|
+
tagNo: string;
|
|
4
|
+
instCode: string;
|
|
5
|
+
loadingStatusCallback?: (isLoading: boolean) => void;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* External link button to SemiDoc.
|
|
9
|
+
* Will only render if Semi is available for the passed tagNo.
|
|
10
|
+
*
|
|
11
|
+
* @param {string} tagNo The tag's number to open in Semi.
|
|
12
|
+
* @param {string} instCode Plant installation code.
|
|
13
|
+
* @param {(isLoading: boolean) => void} loadingStatusCallback Callback which provides an 'isLoading' param reflecting the actual API call state for checking Semi availability.
|
|
14
|
+
* @returns {React.FC<ExternalLinkToSemiDocProps>} React component.
|
|
15
|
+
*/
|
|
16
|
+
export declare const ExternalLinkToSemiDoc: React.FC<ExternalLinkToSemiDocProps>;
|
|
17
|
+
export {};
|
package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToStid.d.ts
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type ExternalLinkToStidProps = {
|
|
3
|
-
tagNo: string;
|
|
4
|
-
instCode: string;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* External link button to Stid.
|
|
8
|
-
*
|
|
9
|
-
* @param {string} tagNo The tag's number to open in Stid.
|
|
10
|
-
* @param {string} instCode Plant installation code.
|
|
11
|
-
* @returns {React.FC<ExternalLinkToStidProps>} React component.
|
|
12
|
-
*/
|
|
13
|
-
export declare const ExternalLinkToStid: React.FC<ExternalLinkToStidProps>;
|
|
14
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type ExternalLinkToStidProps = {
|
|
3
|
+
tagNo: string;
|
|
4
|
+
instCode: string;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* External link button to Stid.
|
|
8
|
+
*
|
|
9
|
+
* @param {string} tagNo The tag's number to open in Stid.
|
|
10
|
+
* @param {string} instCode Plant installation code.
|
|
11
|
+
* @returns {React.FC<ExternalLinkToStidProps>} React component.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ExternalLinkToStid: React.FC<ExternalLinkToStidProps>;
|
|
14
|
+
export {};
|
package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/externalLinkToTr2000.d.ts
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type ExternalLinkToTr2000Props = {
|
|
3
|
-
tagNo: string;
|
|
4
|
-
instCode: string;
|
|
5
|
-
loadingStatusCallback?: (isLoading: boolean) => void;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* External link button to TR2000.
|
|
9
|
-
* Will only render if the actually selected plant has TR2000.
|
|
10
|
-
*
|
|
11
|
-
* @param {string} tagNo The tag's number to open in TR2000.
|
|
12
|
-
* @param {string} instCode Plant installation code.
|
|
13
|
-
* @param {(isLoading: boolean) => void} loadingStatusCallback Callback which provides an 'isLoading' param reflecting the actual API call state for checking TR2000 availability.
|
|
14
|
-
* @returns {React.FC<ExternalLinkToTr2000Props>} React component.
|
|
15
|
-
*/
|
|
16
|
-
export declare const ExternalLinkToTr2000: React.FC<ExternalLinkToTr2000Props>;
|
|
17
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type ExternalLinkToTr2000Props = {
|
|
3
|
+
tagNo: string;
|
|
4
|
+
instCode: string;
|
|
5
|
+
loadingStatusCallback?: (isLoading: boolean) => void;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* External link button to TR2000.
|
|
9
|
+
* Will only render if the actually selected plant has TR2000.
|
|
10
|
+
*
|
|
11
|
+
* @param {string} tagNo The tag's number to open in TR2000.
|
|
12
|
+
* @param {string} instCode Plant installation code.
|
|
13
|
+
* @param {(isLoading: boolean) => void} loadingStatusCallback Callback which provides an 'isLoading' param reflecting the actual API call state for checking TR2000 availability.
|
|
14
|
+
* @returns {React.FC<ExternalLinkToTr2000Props>} React component.
|
|
15
|
+
*/
|
|
16
|
+
export declare const ExternalLinkToTr2000: React.FC<ExternalLinkToTr2000Props>;
|
|
17
|
+
export {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type ExternalLinkToTrendingAppProps = {
|
|
3
|
-
tagNo: string;
|
|
4
|
-
instCode: string;
|
|
5
|
-
loadingStatusCallback?: (isLoading: boolean) => void;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* External link button to Trending app.
|
|
9
|
-
*
|
|
10
|
-
* @param {string} tagNo The tag's number to open in Trending app.
|
|
11
|
-
* @param {string} instCode Plant installation code.
|
|
12
|
-
* @returns {React.FC<ExternalLinkToTrendingAppProps>} React component.
|
|
13
|
-
*/
|
|
14
|
-
export declare const ExternalLinkToTrendingApp: React.FC<ExternalLinkToTrendingAppProps>;
|
|
15
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type ExternalLinkToTrendingAppProps = {
|
|
3
|
+
tagNo: string;
|
|
4
|
+
instCode: string;
|
|
5
|
+
loadingStatusCallback?: (isLoading: boolean) => void;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* External link button to Trending app.
|
|
9
|
+
*
|
|
10
|
+
* @param {string} tagNo The tag's number to open in Trending app.
|
|
11
|
+
* @param {string} instCode Plant installation code.
|
|
12
|
+
* @returns {React.FC<ExternalLinkToTrendingAppProps>} React component.
|
|
13
|
+
*/
|
|
14
|
+
export declare const ExternalLinkToTrendingApp: React.FC<ExternalLinkToTrendingAppProps>;
|
|
15
|
+
export {};
|
package/{dist → src/lib}/components/contextualAppLinks/externalLinkButtons/iconButtonSpinner.d.ts
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
type SpinnerProps = {
|
|
3
|
-
size?: 16 | 24 | 32 | 40 | 48;
|
|
4
|
-
customClassNames?: {
|
|
5
|
-
spinner?: string;
|
|
6
|
-
container?: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Local component for external link buttons. Provides a spinner overlay for any icon buttons, which might have any async calls.
|
|
11
|
-
* @param {Object} param
|
|
12
|
-
* @param {number} param.size The size of the spinner. Default value is 24.
|
|
13
|
-
* @param {Object} param.customClassNames Optional custom class names to customize the component's parts.
|
|
14
|
-
* @param {string} param.customClassNames.spinner Class name applied on the spinner.
|
|
15
|
-
* @param {string} param.customClassNames.container Class name applied on the container element.
|
|
16
|
-
*/
|
|
17
|
-
export declare const IconButtonSpinner: ({ customClassNames, size }: SpinnerProps) => JSX.Element;
|
|
18
|
-
export {};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type SpinnerProps = {
|
|
3
|
+
size?: 16 | 24 | 32 | 40 | 48;
|
|
4
|
+
customClassNames?: {
|
|
5
|
+
spinner?: string;
|
|
6
|
+
container?: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Local component for external link buttons. Provides a spinner overlay for any icon buttons, which might have any async calls.
|
|
11
|
+
* @param {Object} param
|
|
12
|
+
* @param {number} param.size The size of the spinner. Default value is 24.
|
|
13
|
+
* @param {Object} param.customClassNames Optional custom class names to customize the component's parts.
|
|
14
|
+
* @param {string} param.customClassNames.spinner Class name applied on the spinner.
|
|
15
|
+
* @param {string} param.customClassNames.container Class name applied on the container element.
|
|
16
|
+
*/
|
|
17
|
+
export declare const IconButtonSpinner: ({ customClassNames, size }: SpinnerProps) => JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from './externalLinkToCommApp';
|
|
2
|
-
export * from './externalLinkToConditionAdviser';
|
|
3
|
-
export * from './externalLinkToMcApp';
|
|
4
|
-
export * from './externalLinkToProCoSys';
|
|
5
|
-
export * from './externalLinkToSafeX';
|
|
6
|
-
export * from './externalLinkToSap';
|
|
7
|
-
export * from './externalLinkToSemiDoc';
|
|
8
|
-
export * from './externalLinkToStid';
|
|
9
|
-
export * from './externalLinkToTr2000';
|
|
10
|
-
export * from './externalLinkToTrendingApp';
|
|
1
|
+
export * from './externalLinkToCommApp';
|
|
2
|
+
export * from './externalLinkToConditionAdviser';
|
|
3
|
+
export * from './externalLinkToMcApp';
|
|
4
|
+
export * from './externalLinkToProCoSys';
|
|
5
|
+
export * from './externalLinkToSafeX';
|
|
6
|
+
export * from './externalLinkToSap';
|
|
7
|
+
export * from './externalLinkToSemiDoc';
|
|
8
|
+
export * from './externalLinkToStid';
|
|
9
|
+
export * from './externalLinkToTr2000';
|
|
10
|
+
export * from './externalLinkToTrendingApp';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type TrainingCenterForValvesMenuProps = {
|
|
3
|
-
tagNo: string;
|
|
4
|
-
instCode: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const TrainingCenterForValvesMenu: React.FC<TrainingCenterForValvesMenuProps>;
|
|
7
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type TrainingCenterForValvesMenuProps = {
|
|
3
|
+
tagNo: string;
|
|
4
|
+
instCode: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const TrainingCenterForValvesMenu: React.FC<TrainingCenterForValvesMenuProps>;
|
|
7
|
+
export {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { ContextualAppLinkRegistration } from '../../../types/extensions';
|
|
2
|
-
type UseContextualAppLinksOptions = {
|
|
3
|
-
onlyExternalLinks?: boolean;
|
|
4
|
-
onlyInternalLinks?: never;
|
|
5
|
-
} | {
|
|
6
|
-
onlyExternalLinks?: never;
|
|
7
|
-
onlyInternalLinks?: boolean;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Gets the registered extensions for ContextualAppLinks component from the Core App State.
|
|
11
|
-
*
|
|
12
|
-
* @param params Optional. If not provided, the hook will return with all extensions for this component.
|
|
13
|
-
* @param {boolean} params.onlyExternalLinks Optional - set this to true to get external app links only.
|
|
14
|
-
* @param {boolean} params.onlyInternalLinks Optional - set this to true to get internal app links only.
|
|
15
|
-
* @returns
|
|
16
|
-
*/
|
|
17
|
-
export declare function useContextualAppLinks(params?: UseContextualAppLinksOptions): ContextualAppLinkRegistration[];
|
|
18
|
-
export {};
|
|
1
|
+
import { ContextualAppLinkRegistration } from '../../../types/extensions';
|
|
2
|
+
type UseContextualAppLinksOptions = {
|
|
3
|
+
onlyExternalLinks?: boolean;
|
|
4
|
+
onlyInternalLinks?: never;
|
|
5
|
+
} | {
|
|
6
|
+
onlyExternalLinks?: never;
|
|
7
|
+
onlyInternalLinks?: boolean;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Gets the registered extensions for ContextualAppLinks component from the Core App State.
|
|
11
|
+
*
|
|
12
|
+
* @param params Optional. If not provided, the hook will return with all extensions for this component.
|
|
13
|
+
* @param {boolean} params.onlyExternalLinks Optional - set this to true to get external app links only.
|
|
14
|
+
* @param {boolean} params.onlyInternalLinks Optional - set this to true to get internal app links only.
|
|
15
|
+
* @returns
|
|
16
|
+
*/
|
|
17
|
+
export declare function useContextualAppLinks(params?: UseContextualAppLinksOptions): ContextualAppLinkRegistration[];
|
|
18
|
+
export {};
|
package/{dist → src/lib}/components/contextualAppLinks/hooks/useContextualAppLinksContext.d.ts
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function useContextualAppLinksContext(): {
|
|
2
|
-
tag: import("@equinor/echo-search").TagSummaryDto;
|
|
3
|
-
instCode: string;
|
|
4
|
-
};
|
|
1
|
+
export declare function useContextualAppLinksContext(): {
|
|
2
|
+
tag: import("@equinor/echo-search").TagSummaryDto;
|
|
3
|
+
instCode: string;
|
|
4
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import LinksWrapper from './contextualAppLinks';
|
|
2
|
-
import { ExternalAppsMenu } from './externalAppsMenu';
|
|
3
|
-
import { AllExternalLinks } from './externalLinkButtons/allExternalLinks';
|
|
4
|
-
import { InternalAppLinks } from './internalAppLinks';
|
|
5
|
-
import { LinkButton } from './linkButton';
|
|
6
|
-
type ContextualAppLinksCompoundProps = typeof LinksWrapper & {
|
|
7
|
-
InternalApps: typeof InternalAppLinks;
|
|
8
|
-
ExternalAppsMenu: typeof ExternalAppsMenu;
|
|
9
|
-
AllExternalApps: typeof AllExternalLinks;
|
|
10
|
-
LinkButton: typeof LinkButton;
|
|
11
|
-
};
|
|
12
|
-
declare const ContextualAppLinks: ContextualAppLinksCompoundProps;
|
|
13
|
-
export { ContextualAppLinks };
|
|
1
|
+
import LinksWrapper from './contextualAppLinks';
|
|
2
|
+
import { ExternalAppsMenu } from './externalAppsMenu';
|
|
3
|
+
import { AllExternalLinks } from './externalLinkButtons/allExternalLinks';
|
|
4
|
+
import { InternalAppLinks } from './internalAppLinks';
|
|
5
|
+
import { LinkButton } from './linkButton';
|
|
6
|
+
type ContextualAppLinksCompoundProps = typeof LinksWrapper & {
|
|
7
|
+
InternalApps: typeof InternalAppLinks;
|
|
8
|
+
ExternalAppsMenu: typeof ExternalAppsMenu;
|
|
9
|
+
AllExternalApps: typeof AllExternalLinks;
|
|
10
|
+
LinkButton: typeof LinkButton;
|
|
11
|
+
};
|
|
12
|
+
declare const ContextualAppLinks: ContextualAppLinksCompoundProps;
|
|
13
|
+
export { ContextualAppLinks };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type InternalAppLinksProps = {
|
|
3
|
-
options?: {
|
|
4
|
-
hiddenAppKeys: string[];
|
|
5
|
-
};
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
[key: string]: unknown;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Wrapper component for internal, Echo application links. To be used inside ContextualAppLinks component.
|
|
11
|
-
* This component is extendable: renders any Echo app link component, which is registered in the EchoCore application state.
|
|
12
|
-
*
|
|
13
|
-
* @param {InternalAppLinksProps} props
|
|
14
|
-
* @param {React.ReactNode} props.children Optional. Passed children will be rendred after the app link extensions.
|
|
15
|
-
* @param {Object} props.options Optional prop: pass custom options to alter the components behaviour.
|
|
16
|
-
* @param {string[]} props.options.hiddenAppKeys List of registered, app link extenesion keys. Each registered component with a matched key will be hidden.
|
|
17
|
-
* @param {[key: string]: unknown} ...rest: All other props will be passed to registered app links extension components, and to the isVisible() => boolean function for those components
|
|
18
|
-
* @returns {React.FC<InternalAppLinksProps>} React component.
|
|
19
|
-
*
|
|
20
|
-
* @throws {BaseError} If used outside of ContextualAppLinks compound component - requires react context provided by it.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export declare const InternalAppLinks: React.FC<InternalAppLinksProps>;
|
|
24
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type InternalAppLinksProps = {
|
|
3
|
+
options?: {
|
|
4
|
+
hiddenAppKeys: string[];
|
|
5
|
+
};
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
[key: string]: unknown;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Wrapper component for internal, Echo application links. To be used inside ContextualAppLinks component.
|
|
11
|
+
* This component is extendable: renders any Echo app link component, which is registered in the EchoCore application state.
|
|
12
|
+
*
|
|
13
|
+
* @param {InternalAppLinksProps} props
|
|
14
|
+
* @param {React.ReactNode} props.children Optional. Passed children will be rendred after the app link extensions.
|
|
15
|
+
* @param {Object} props.options Optional prop: pass custom options to alter the components behaviour.
|
|
16
|
+
* @param {string[]} props.options.hiddenAppKeys List of registered, app link extenesion keys. Each registered component with a matched key will be hidden.
|
|
17
|
+
* @param {[key: string]: unknown} ...rest: All other props will be passed to registered app links extension components, and to the isVisible() => boolean function for those components
|
|
18
|
+
* @returns {React.FC<InternalAppLinksProps>} React component.
|
|
19
|
+
*
|
|
20
|
+
* @throws {BaseError} If used outside of ContextualAppLinks compound component - requires react context provided by it.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export declare const InternalAppLinks: React.FC<InternalAppLinksProps>;
|
|
24
|
+
export {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type LinkButtonProps = {
|
|
3
|
-
label?: string;
|
|
4
|
-
iconName: string;
|
|
5
|
-
onClick: OnClickHandler;
|
|
6
|
-
};
|
|
7
|
-
type OnClickHandler = (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
8
|
-
/**
|
|
9
|
-
* Link button to be used in contextual app link component.
|
|
10
|
-
* Displays an EDS icon with a EDS tooltip. The tooltip will be rendered only if a 'label' is passed.
|
|
11
|
-
*
|
|
12
|
-
* @param {LinkButtonProps} props
|
|
13
|
-
* @param {label} props.label Optional: a label to show when the button is hovered over on.
|
|
14
|
-
* @param {string} props.iconName An EDS icon name to display.
|
|
15
|
-
* @param {OnClickHandler} props.onClick Click handler
|
|
16
|
-
* @returns {React.FC<LinkButtonProps>} React component.
|
|
17
|
-
*/
|
|
18
|
-
export declare const LinkButton: React.FC<LinkButtonProps>;
|
|
19
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type LinkButtonProps = {
|
|
3
|
+
label?: string;
|
|
4
|
+
iconName: string;
|
|
5
|
+
onClick: OnClickHandler;
|
|
6
|
+
};
|
|
7
|
+
type OnClickHandler = (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
8
|
+
/**
|
|
9
|
+
* Link button to be used in contextual app link component.
|
|
10
|
+
* Displays an EDS icon with a EDS tooltip. The tooltip will be rendered only if a 'label' is passed.
|
|
11
|
+
*
|
|
12
|
+
* @param {LinkButtonProps} props
|
|
13
|
+
* @param {label} props.label Optional: a label to show when the button is hovered over on.
|
|
14
|
+
* @param {string} props.iconName An EDS icon name to display.
|
|
15
|
+
* @param {OnClickHandler} props.onClick Click handler
|
|
16
|
+
* @returns {React.FC<LinkButtonProps>} React component.
|
|
17
|
+
*/
|
|
18
|
+
export declare const LinkButton: React.FC<LinkButtonProps>;
|
|
19
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { TagDetailsDto } from '@equinor/echo-search';
|
|
2
|
-
export declare enum ApplicationLinks {
|
|
3
|
-
Launch3D = "echo://",
|
|
4
|
-
Echo3dWeb = "/echo3d"
|
|
5
|
-
}
|
|
6
|
-
export declare enum OpenIn3DOption {
|
|
7
|
-
App = "App",
|
|
8
|
-
Web = "Web"
|
|
9
|
-
}
|
|
10
|
-
export declare const getEcho3DAppLink: (tagDetailsInput: TagDetailsDto | undefined) => Promise<string>;
|
|
11
|
-
export declare const getApplyForEchoAccessUrl: (instCode: string, tagDetails?: TagDetailsDto) => Promise<string>;
|
|
12
|
-
export declare const getParamsFor3DWeb: (instCode: string, tagDetails: TagDetailsDto | undefined, tagNo: string | undefined) => Promise<string>;
|
|
1
|
+
import { TagDetailsDto } from '@equinor/echo-search';
|
|
2
|
+
export declare enum ApplicationLinks {
|
|
3
|
+
Launch3D = "echo://",
|
|
4
|
+
Echo3dWeb = "/echo3d"
|
|
5
|
+
}
|
|
6
|
+
export declare enum OpenIn3DOption {
|
|
7
|
+
App = "App",
|
|
8
|
+
Web = "Web"
|
|
9
|
+
}
|
|
10
|
+
export declare const getEcho3DAppLink: (tagDetailsInput: TagDetailsDto | undefined) => Promise<string>;
|
|
11
|
+
export declare const getApplyForEchoAccessUrl: (instCode: string, tagDetails?: TagDetailsDto) => Promise<string>;
|
|
12
|
+
export declare const getParamsFor3DWeb: (instCode: string, tagDetails: TagDetailsDto | undefined, tagNo: string | undefined) => Promise<string>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface OpenIn3dDropdownProps {
|
|
3
|
-
anchorRef: React.RefObject<HTMLButtonElement>;
|
|
4
|
-
plantIsAvailableIn3d: boolean;
|
|
5
|
-
plantIsAvailableIn3dWeb: boolean;
|
|
6
|
-
setShow3dDropdown: React.Dispatch<React.SetStateAction<boolean>>;
|
|
7
|
-
openIn3dWeb: (event: React.MouseEvent) => void;
|
|
8
|
-
openIn3dApp: (event: React.MouseEvent) => void;
|
|
9
|
-
}
|
|
10
|
-
declare const OpenIn3dDropdown: React.FC<OpenIn3dDropdownProps>;
|
|
11
|
-
export default OpenIn3dDropdown;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface OpenIn3dDropdownProps {
|
|
3
|
+
anchorRef: React.RefObject<HTMLButtonElement>;
|
|
4
|
+
plantIsAvailableIn3d: boolean;
|
|
5
|
+
plantIsAvailableIn3dWeb: boolean;
|
|
6
|
+
setShow3dDropdown: React.Dispatch<React.SetStateAction<boolean>>;
|
|
7
|
+
openIn3dWeb: (event: React.MouseEvent) => void;
|
|
8
|
+
openIn3dApp: (event: React.MouseEvent) => void;
|
|
9
|
+
}
|
|
10
|
+
declare const OpenIn3dDropdown: React.FC<OpenIn3dDropdownProps>;
|
|
11
|
+
export default OpenIn3dDropdown;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface Echo3DButtonProps {
|
|
3
|
-
instCode: string;
|
|
4
|
-
enabled?: boolean;
|
|
5
|
-
openInNewWindow?: boolean;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
* Component for rendering 3D buttons. Will display both echo 3D web and echo 3D (App) button
|
|
10
|
-
* By using the 'enabled' attribute, you can control if the button should be enabled or not.
|
|
11
|
-
* @param {Echo3DButtonProps} {
|
|
12
|
-
* enabled,
|
|
13
|
-
* openInNewWindow
|
|
14
|
-
* }
|
|
15
|
-
* @return {*}
|
|
16
|
-
*/
|
|
17
|
-
export declare const Echo3DButton: React.FC<Echo3DButtonProps>;
|
|
18
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface Echo3DButtonProps {
|
|
3
|
+
instCode: string;
|
|
4
|
+
enabled?: boolean;
|
|
5
|
+
openInNewWindow?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* Component for rendering 3D buttons. Will display both echo 3D web and echo 3D (App) button
|
|
10
|
+
* By using the 'enabled' attribute, you can control if the button should be enabled or not.
|
|
11
|
+
* @param {Echo3DButtonProps} {
|
|
12
|
+
* enabled,
|
|
13
|
+
* openInNewWindow
|
|
14
|
+
* }
|
|
15
|
+
* @return {*}
|
|
16
|
+
*/
|
|
17
|
+
export declare const Echo3DButton: React.FC<Echo3DButtonProps>;
|
|
18
|
+
export {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { TagDetailsDto } from '@equinor/echo-search';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface Echo3DIconButtonProps {
|
|
4
|
-
instCode: string;
|
|
5
|
-
tagDetails?: TagDetailsDto;
|
|
6
|
-
tagNo: string;
|
|
7
|
-
enabled?: boolean;
|
|
8
|
-
openInNewWindow?: boolean;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
* Component for rendering 3D buttons.
|
|
13
|
-
* Will render a ghost icon that displays a dropdown upon click with 3D web and 3D app items.
|
|
14
|
-
* The items in the dropdown will be enabled/disabled based on plant info - where it is stated if the plant is available for 3D App and/or 3D Web.
|
|
15
|
-
* Setting openInNewWindow to true will open 3d web in new tab if 3D web button is clicked.
|
|
16
|
-
* Echo 3D app will always open in new tab/open 3D app
|
|
17
|
-
* @param {OLDModel3dButtonProps} {
|
|
18
|
-
* tagDetails,
|
|
19
|
-
* tagNo,
|
|
20
|
-
* enabled,
|
|
21
|
-
* openInNewWindow
|
|
22
|
-
* }
|
|
23
|
-
* @return {*}
|
|
24
|
-
*/
|
|
25
|
-
export declare const Echo3DIconButton: React.FC<Echo3DIconButtonProps>;
|
|
26
|
-
export {};
|
|
1
|
+
import { TagDetailsDto } from '@equinor/echo-search';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface Echo3DIconButtonProps {
|
|
4
|
+
instCode: string;
|
|
5
|
+
tagDetails?: TagDetailsDto;
|
|
6
|
+
tagNo: string;
|
|
7
|
+
enabled?: boolean;
|
|
8
|
+
openInNewWindow?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* Component for rendering 3D buttons.
|
|
13
|
+
* Will render a ghost icon that displays a dropdown upon click with 3D web and 3D app items.
|
|
14
|
+
* The items in the dropdown will be enabled/disabled based on plant info - where it is stated if the plant is available for 3D App and/or 3D Web.
|
|
15
|
+
* Setting openInNewWindow to true will open 3d web in new tab if 3D web button is clicked.
|
|
16
|
+
* Echo 3D app will always open in new tab/open 3D app
|
|
17
|
+
* @param {OLDModel3dButtonProps} {
|
|
18
|
+
* tagDetails,
|
|
19
|
+
* tagNo,
|
|
20
|
+
* enabled,
|
|
21
|
+
* openInNewWindow
|
|
22
|
+
* }
|
|
23
|
+
* @return {*}
|
|
24
|
+
*/
|
|
25
|
+
export declare const Echo3DIconButton: React.FC<Echo3DIconButtonProps>;
|
|
26
|
+
export {};
|