@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
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PrepviewAttachment } from './attachment';
|
|
3
|
-
import { PrepviewDocumentGroup } from './document';
|
|
4
|
-
import { PrepviewNotification } from './notification';
|
|
5
|
-
import { PrepviewOperation } from './operation';
|
|
6
|
-
import { PrepviewPunch } from './punch';
|
|
7
|
-
import { PrepviewSafety } from './safety';
|
|
8
|
-
import { PrepviewRelatedTag, PrepviewTagInformation } from './tag';
|
|
9
|
-
import { PrepviewTagHistoryGroup, PrepviewWorkOrder } from './workorder';
|
|
10
|
-
export type FetchStatus = {
|
|
11
|
-
statusCode?: 'Forbidden' | string;
|
|
12
|
-
};
|
|
13
|
-
export type ContentPickerGroup = {
|
|
14
|
-
title?: string;
|
|
15
|
-
items: ContentPickerItem[];
|
|
16
|
-
};
|
|
17
|
-
export type ContentPickerItem = {
|
|
18
|
-
id: string;
|
|
19
|
-
title: string;
|
|
20
|
-
content: React.ReactNode;
|
|
21
|
-
};
|
|
22
|
-
export type AdditionalDetailsDto = {
|
|
23
|
-
attachments: FetchStatus & {
|
|
24
|
-
attachments: Array<PrepviewAttachment>;
|
|
25
|
-
};
|
|
26
|
-
documents: FetchStatus & {
|
|
27
|
-
documentGroups: Array<PrepviewDocumentGroup>;
|
|
28
|
-
};
|
|
29
|
-
history: FetchStatus & {
|
|
30
|
-
notificationGroups: FetchStatus & {
|
|
31
|
-
groups: PrepviewTagHistoryGroup<PrepviewNotification>[];
|
|
32
|
-
};
|
|
33
|
-
punchGroups: FetchStatus & {
|
|
34
|
-
groups: PrepviewTagHistoryGroup<PrepviewPunch>[];
|
|
35
|
-
};
|
|
36
|
-
workOrderGroups: FetchStatus & {
|
|
37
|
-
groups: PrepviewTagHistoryGroup<PrepviewWorkOrder>[];
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
objects: FetchStatus & {
|
|
41
|
-
objects: Array<PrepviewRelatedTag>;
|
|
42
|
-
};
|
|
43
|
-
operations: FetchStatus & {
|
|
44
|
-
operations: Array<PrepviewOperation>;
|
|
45
|
-
};
|
|
46
|
-
safetyCards: FetchStatus & {
|
|
47
|
-
safetyCards: Array<PrepviewSafety>;
|
|
48
|
-
};
|
|
49
|
-
tagInformation: FetchStatus & PrepviewTagInformation;
|
|
50
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PrepviewAttachment } from './attachment';
|
|
3
|
+
import { PrepviewDocumentGroup } from './document';
|
|
4
|
+
import { PrepviewNotification } from './notification';
|
|
5
|
+
import { PrepviewOperation } from './operation';
|
|
6
|
+
import { PrepviewPunch } from './punch';
|
|
7
|
+
import { PrepviewSafety } from './safety';
|
|
8
|
+
import { PrepviewRelatedTag, PrepviewTagInformation } from './tag';
|
|
9
|
+
import { PrepviewTagHistoryGroup, PrepviewWorkOrder } from './workorder';
|
|
10
|
+
export type FetchStatus = {
|
|
11
|
+
statusCode?: 'Forbidden' | string;
|
|
12
|
+
};
|
|
13
|
+
export type ContentPickerGroup = {
|
|
14
|
+
title?: string;
|
|
15
|
+
items: ContentPickerItem[];
|
|
16
|
+
};
|
|
17
|
+
export type ContentPickerItem = {
|
|
18
|
+
id: string;
|
|
19
|
+
title: string;
|
|
20
|
+
content: React.ReactNode;
|
|
21
|
+
};
|
|
22
|
+
export type AdditionalDetailsDto = {
|
|
23
|
+
attachments: FetchStatus & {
|
|
24
|
+
attachments: Array<PrepviewAttachment>;
|
|
25
|
+
};
|
|
26
|
+
documents: FetchStatus & {
|
|
27
|
+
documentGroups: Array<PrepviewDocumentGroup>;
|
|
28
|
+
};
|
|
29
|
+
history: FetchStatus & {
|
|
30
|
+
notificationGroups: FetchStatus & {
|
|
31
|
+
groups: PrepviewTagHistoryGroup<PrepviewNotification>[];
|
|
32
|
+
};
|
|
33
|
+
punchGroups: FetchStatus & {
|
|
34
|
+
groups: PrepviewTagHistoryGroup<PrepviewPunch>[];
|
|
35
|
+
};
|
|
36
|
+
workOrderGroups: FetchStatus & {
|
|
37
|
+
groups: PrepviewTagHistoryGroup<PrepviewWorkOrder>[];
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
objects: FetchStatus & {
|
|
41
|
+
objects: Array<PrepviewRelatedTag>;
|
|
42
|
+
};
|
|
43
|
+
operations: FetchStatus & {
|
|
44
|
+
operations: Array<PrepviewOperation>;
|
|
45
|
+
};
|
|
46
|
+
safetyCards: FetchStatus & {
|
|
47
|
+
safetyCards: Array<PrepviewSafety>;
|
|
48
|
+
};
|
|
49
|
+
tagInformation: FetchStatus & PrepviewTagInformation;
|
|
50
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { FileDto } from '@equinor/echo-search';
|
|
2
|
-
export type PrepviewDocumentGroup = {
|
|
3
|
-
type: string;
|
|
4
|
-
documents: Array<PrepviewDocument>;
|
|
5
|
-
};
|
|
6
|
-
export type PrepviewDocument = {
|
|
7
|
-
docNo: string;
|
|
8
|
-
docTitle: string;
|
|
9
|
-
files: Array<FileDto>;
|
|
10
|
-
revDate: Date;
|
|
11
|
-
revNo: string;
|
|
12
|
-
revStatus: string;
|
|
13
|
-
};
|
|
1
|
+
import { FileDto } from '@equinor/echo-search';
|
|
2
|
+
export type PrepviewDocumentGroup = {
|
|
3
|
+
type: string;
|
|
4
|
+
documents: Array<PrepviewDocument>;
|
|
5
|
+
};
|
|
6
|
+
export type PrepviewDocument = {
|
|
7
|
+
docNo: string;
|
|
8
|
+
docTitle: string;
|
|
9
|
+
files: Array<FileDto>;
|
|
10
|
+
revDate: Date;
|
|
11
|
+
revNo: string;
|
|
12
|
+
revStatus: string;
|
|
13
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from './attachment';
|
|
2
|
-
export * from './common';
|
|
3
|
-
export * from './document';
|
|
4
|
-
export * from './notification';
|
|
5
|
-
export * from './operation';
|
|
6
|
-
export * from './punch';
|
|
7
|
-
export * from './safety';
|
|
8
|
-
export * from './tag';
|
|
9
|
-
export * from './workorder';
|
|
1
|
+
export * from './attachment';
|
|
2
|
+
export * from './common';
|
|
3
|
+
export * from './document';
|
|
4
|
+
export * from './notification';
|
|
5
|
+
export * from './operation';
|
|
6
|
+
export * from './punch';
|
|
7
|
+
export * from './safety';
|
|
8
|
+
export * from './tag';
|
|
9
|
+
export * from './workorder';
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
import { PrepviewAttachment } from './attachment';
|
|
2
|
-
import { FetchStatus } from './common';
|
|
3
|
-
import { PrepviewDocumentGroup } from './document';
|
|
4
|
-
import { PrepviewPunch } from './punch';
|
|
5
|
-
import { PrepviewSafety } from './safety';
|
|
6
|
-
import { PrepviewTagInformation } from './tag';
|
|
7
|
-
import { PrepviewTagHistoryGroup, PrepviewWorkOrder } from './workorder';
|
|
8
|
-
export type PrepviewNotificationDto = {
|
|
9
|
-
details: NotificationDetails;
|
|
10
|
-
additionalDetails?: NotificationAdditionalDetails;
|
|
11
|
-
};
|
|
12
|
-
export type NotificationDetails = FetchStatus & {
|
|
13
|
-
id: string;
|
|
14
|
-
type: string;
|
|
15
|
-
title: string;
|
|
16
|
-
tagPlantId: string;
|
|
17
|
-
tagId: string;
|
|
18
|
-
plantId: string;
|
|
19
|
-
createdDateTime: Date;
|
|
20
|
-
requiredEndDateTime: Date;
|
|
21
|
-
maintenancePlant: string;
|
|
22
|
-
planningPlant: string;
|
|
23
|
-
activeStatusIds: string;
|
|
24
|
-
unsafeFailureMode: string;
|
|
25
|
-
plannerGroup: string;
|
|
26
|
-
mainWorkCenter: string;
|
|
27
|
-
failureImpact: string;
|
|
28
|
-
priorityId: string;
|
|
29
|
-
priority: string;
|
|
30
|
-
failureMode: string;
|
|
31
|
-
detectionMethodId: string;
|
|
32
|
-
failureMechanism: string;
|
|
33
|
-
longText: string;
|
|
34
|
-
};
|
|
35
|
-
export type NotificationAdditionalDetails = {
|
|
36
|
-
attachments: FetchStatus & {
|
|
37
|
-
attachments: Array<PrepviewAttachment>;
|
|
38
|
-
};
|
|
39
|
-
documents: FetchStatus & {
|
|
40
|
-
documentGroups: Array<PrepviewDocumentGroup>;
|
|
41
|
-
};
|
|
42
|
-
history: FetchStatus & {
|
|
43
|
-
notificationGroups: FetchStatus & {
|
|
44
|
-
groups: PrepviewTagHistoryGroup<PrepviewNotification>[];
|
|
45
|
-
};
|
|
46
|
-
punchGroups: FetchStatus & {
|
|
47
|
-
groups: PrepviewTagHistoryGroup<PrepviewPunch>[];
|
|
48
|
-
};
|
|
49
|
-
workOrderGroups: FetchStatus & {
|
|
50
|
-
groups: PrepviewTagHistoryGroup<PrepviewWorkOrder>[];
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
safetyCards: FetchStatus & {
|
|
54
|
-
safetyCards: Array<PrepviewSafety>;
|
|
55
|
-
};
|
|
56
|
-
tagInformation: FetchStatus & PrepviewTagInformation;
|
|
57
|
-
};
|
|
58
|
-
export type PrepviewNotification = {
|
|
59
|
-
id: string;
|
|
60
|
-
activeStatusIds: string;
|
|
61
|
-
changedDateTime?: Date;
|
|
62
|
-
createdDateTime: Date;
|
|
63
|
-
planningPlant: string;
|
|
64
|
-
mainWorkCenterId: string;
|
|
65
|
-
requiredEndDateTime: Date;
|
|
66
|
-
title: string;
|
|
67
|
-
type: string;
|
|
68
|
-
};
|
|
1
|
+
import { PrepviewAttachment } from './attachment';
|
|
2
|
+
import { FetchStatus } from './common';
|
|
3
|
+
import { PrepviewDocumentGroup } from './document';
|
|
4
|
+
import { PrepviewPunch } from './punch';
|
|
5
|
+
import { PrepviewSafety } from './safety';
|
|
6
|
+
import { PrepviewTagInformation } from './tag';
|
|
7
|
+
import { PrepviewTagHistoryGroup, PrepviewWorkOrder } from './workorder';
|
|
8
|
+
export type PrepviewNotificationDto = {
|
|
9
|
+
details: NotificationDetails;
|
|
10
|
+
additionalDetails?: NotificationAdditionalDetails;
|
|
11
|
+
};
|
|
12
|
+
export type NotificationDetails = FetchStatus & {
|
|
13
|
+
id: string;
|
|
14
|
+
type: string;
|
|
15
|
+
title: string;
|
|
16
|
+
tagPlantId: string;
|
|
17
|
+
tagId: string;
|
|
18
|
+
plantId: string;
|
|
19
|
+
createdDateTime: Date;
|
|
20
|
+
requiredEndDateTime: Date;
|
|
21
|
+
maintenancePlant: string;
|
|
22
|
+
planningPlant: string;
|
|
23
|
+
activeStatusIds: string;
|
|
24
|
+
unsafeFailureMode: string;
|
|
25
|
+
plannerGroup: string;
|
|
26
|
+
mainWorkCenter: string;
|
|
27
|
+
failureImpact: string;
|
|
28
|
+
priorityId: string;
|
|
29
|
+
priority: string;
|
|
30
|
+
failureMode: string;
|
|
31
|
+
detectionMethodId: string;
|
|
32
|
+
failureMechanism: string;
|
|
33
|
+
longText: string;
|
|
34
|
+
};
|
|
35
|
+
export type NotificationAdditionalDetails = {
|
|
36
|
+
attachments: FetchStatus & {
|
|
37
|
+
attachments: Array<PrepviewAttachment>;
|
|
38
|
+
};
|
|
39
|
+
documents: FetchStatus & {
|
|
40
|
+
documentGroups: Array<PrepviewDocumentGroup>;
|
|
41
|
+
};
|
|
42
|
+
history: FetchStatus & {
|
|
43
|
+
notificationGroups: FetchStatus & {
|
|
44
|
+
groups: PrepviewTagHistoryGroup<PrepviewNotification>[];
|
|
45
|
+
};
|
|
46
|
+
punchGroups: FetchStatus & {
|
|
47
|
+
groups: PrepviewTagHistoryGroup<PrepviewPunch>[];
|
|
48
|
+
};
|
|
49
|
+
workOrderGroups: FetchStatus & {
|
|
50
|
+
groups: PrepviewTagHistoryGroup<PrepviewWorkOrder>[];
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
safetyCards: FetchStatus & {
|
|
54
|
+
safetyCards: Array<PrepviewSafety>;
|
|
55
|
+
};
|
|
56
|
+
tagInformation: FetchStatus & PrepviewTagInformation;
|
|
57
|
+
};
|
|
58
|
+
export type PrepviewNotification = {
|
|
59
|
+
id: string;
|
|
60
|
+
activeStatusIds: string;
|
|
61
|
+
changedDateTime?: Date;
|
|
62
|
+
createdDateTime: Date;
|
|
63
|
+
planningPlant: string;
|
|
64
|
+
mainWorkCenterId: string;
|
|
65
|
+
requiredEndDateTime: Date;
|
|
66
|
+
title: string;
|
|
67
|
+
type: string;
|
|
68
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export type PrepviewOperation = {
|
|
2
|
-
actualPercentageComplete: number;
|
|
3
|
-
actualWorkHours: string;
|
|
4
|
-
capacityCount: number;
|
|
5
|
-
activeStatusIds: string;
|
|
6
|
-
earliestFinishDateTime: Date;
|
|
7
|
-
earliestStartDateTime: Date;
|
|
8
|
-
operationNumber: string;
|
|
9
|
-
plannedDuration: string;
|
|
10
|
-
plannedWorkHours: string;
|
|
11
|
-
title: string;
|
|
12
|
-
workCenterId: string;
|
|
13
|
-
};
|
|
1
|
+
export type PrepviewOperation = {
|
|
2
|
+
actualPercentageComplete: number;
|
|
3
|
+
actualWorkHours: string;
|
|
4
|
+
capacityCount: number;
|
|
5
|
+
activeStatusIds: string;
|
|
6
|
+
earliestFinishDateTime: Date;
|
|
7
|
+
earliestStartDateTime: Date;
|
|
8
|
+
operationNumber: string;
|
|
9
|
+
plannedDuration: string;
|
|
10
|
+
plannedWorkHours: string;
|
|
11
|
+
title: string;
|
|
12
|
+
workCenterId: string;
|
|
13
|
+
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { FetchStatus } from './common';
|
|
2
|
-
export type PunchDetails = FetchStatus & {
|
|
3
|
-
id: string;
|
|
4
|
-
tagNo: string;
|
|
5
|
-
tagDescription: string;
|
|
6
|
-
tagArea: string;
|
|
7
|
-
description: string;
|
|
8
|
-
statusId: string;
|
|
9
|
-
mcPkgNo: string;
|
|
10
|
-
commPkgNo: string;
|
|
11
|
-
systemId: number;
|
|
12
|
-
clearedByOrg: string;
|
|
13
|
-
raisedByOrg: string;
|
|
14
|
-
typeDescription: string;
|
|
15
|
-
priorityId: string;
|
|
16
|
-
projectName: string;
|
|
17
|
-
statusCode: number;
|
|
18
|
-
};
|
|
19
|
-
export type PrepviewPunch = {
|
|
20
|
-
id: string;
|
|
21
|
-
type: string;
|
|
22
|
-
statusId: string;
|
|
23
|
-
tagNo: string;
|
|
24
|
-
tagArea: string;
|
|
25
|
-
description: string;
|
|
26
|
-
updatedAt?: Date;
|
|
27
|
-
};
|
|
1
|
+
import { FetchStatus } from './common';
|
|
2
|
+
export type PunchDetails = FetchStatus & {
|
|
3
|
+
id: string;
|
|
4
|
+
tagNo: string;
|
|
5
|
+
tagDescription: string;
|
|
6
|
+
tagArea: string;
|
|
7
|
+
description: string;
|
|
8
|
+
statusId: string;
|
|
9
|
+
mcPkgNo: string;
|
|
10
|
+
commPkgNo: string;
|
|
11
|
+
systemId: number;
|
|
12
|
+
clearedByOrg: string;
|
|
13
|
+
raisedByOrg: string;
|
|
14
|
+
typeDescription: string;
|
|
15
|
+
priorityId: string;
|
|
16
|
+
projectName: string;
|
|
17
|
+
statusCode: number;
|
|
18
|
+
};
|
|
19
|
+
export type PrepviewPunch = {
|
|
20
|
+
id: string;
|
|
21
|
+
type: string;
|
|
22
|
+
statusId: string;
|
|
23
|
+
tagNo: string;
|
|
24
|
+
tagArea: string;
|
|
25
|
+
description: string;
|
|
26
|
+
updatedAt?: Date;
|
|
27
|
+
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export type PrepviewSafety = {
|
|
2
|
-
title: string;
|
|
3
|
-
description: string;
|
|
4
|
-
caseDate: string;
|
|
5
|
-
country: string;
|
|
6
|
-
url: string;
|
|
7
|
-
severity: number;
|
|
8
|
-
};
|
|
9
|
-
export interface SafetyDataParams {
|
|
10
|
-
dateFrom: string;
|
|
11
|
-
dateTo: string;
|
|
12
|
-
filters: SafetyDataFilter[];
|
|
13
|
-
query: string;
|
|
14
|
-
sortByDate: boolean;
|
|
15
|
-
top: number;
|
|
16
|
-
}
|
|
17
|
-
interface SafetyDataFilter {
|
|
18
|
-
fieldName: string;
|
|
19
|
-
values: string[];
|
|
20
|
-
}
|
|
21
|
-
export {};
|
|
1
|
+
export type PrepviewSafety = {
|
|
2
|
+
title: string;
|
|
3
|
+
description: string;
|
|
4
|
+
caseDate: string;
|
|
5
|
+
country: string;
|
|
6
|
+
url: string;
|
|
7
|
+
severity: number;
|
|
8
|
+
};
|
|
9
|
+
export interface SafetyDataParams {
|
|
10
|
+
dateFrom: string;
|
|
11
|
+
dateTo: string;
|
|
12
|
+
filters: SafetyDataFilter[];
|
|
13
|
+
query: string;
|
|
14
|
+
sortByDate: boolean;
|
|
15
|
+
top: number;
|
|
16
|
+
}
|
|
17
|
+
interface SafetyDataFilter {
|
|
18
|
+
fieldName: string;
|
|
19
|
+
values: string[];
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export type PrepviewTagInformation = {
|
|
2
|
-
abcIndicator: string;
|
|
3
|
-
area: string;
|
|
4
|
-
consequenceCost: string;
|
|
5
|
-
consequenceFail: string;
|
|
6
|
-
consequenceHse: string;
|
|
7
|
-
consequenceProd: string;
|
|
8
|
-
criticalSparepartDemandTime?: Date;
|
|
9
|
-
functionalLocation: string;
|
|
10
|
-
id: string;
|
|
11
|
-
location: string;
|
|
12
|
-
overallCriticality: string;
|
|
13
|
-
redundancy: string;
|
|
14
|
-
repairStrategy: string;
|
|
15
|
-
unsafeFailure: string[];
|
|
16
|
-
};
|
|
17
|
-
export type PrepviewRelatedTag = {
|
|
18
|
-
tagId: string;
|
|
19
|
-
tagPlantId: string;
|
|
20
|
-
tag: string;
|
|
21
|
-
notification?: string;
|
|
22
|
-
equipment?: string;
|
|
23
|
-
description?: string;
|
|
24
|
-
};
|
|
1
|
+
export type PrepviewTagInformation = {
|
|
2
|
+
abcIndicator: string;
|
|
3
|
+
area: string;
|
|
4
|
+
consequenceCost: string;
|
|
5
|
+
consequenceFail: string;
|
|
6
|
+
consequenceHse: string;
|
|
7
|
+
consequenceProd: string;
|
|
8
|
+
criticalSparepartDemandTime?: Date;
|
|
9
|
+
functionalLocation: string;
|
|
10
|
+
id: string;
|
|
11
|
+
location: string;
|
|
12
|
+
overallCriticality: string;
|
|
13
|
+
redundancy: string;
|
|
14
|
+
repairStrategy: string;
|
|
15
|
+
unsafeFailure: string[];
|
|
16
|
+
};
|
|
17
|
+
export type PrepviewRelatedTag = {
|
|
18
|
+
tagId: string;
|
|
19
|
+
tagPlantId: string;
|
|
20
|
+
tag: string;
|
|
21
|
+
notification?: string;
|
|
22
|
+
equipment?: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
};
|
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
import { PrepviewAttachment } from './attachment';
|
|
2
|
-
import { FetchStatus } from './common';
|
|
3
|
-
import { PrepviewDocumentGroup } from './document';
|
|
4
|
-
import { PrepviewNotification } from './notification';
|
|
5
|
-
import { PrepviewOperation } from './operation';
|
|
6
|
-
import { PrepviewPunch } from './punch';
|
|
7
|
-
import { PrepviewSafety } from './safety';
|
|
8
|
-
import { PrepviewRelatedTag, PrepviewTagInformation } from './tag';
|
|
9
|
-
export type PrepviewWorkOrderDto = {
|
|
10
|
-
details: WorkOrderDetails;
|
|
11
|
-
additionalDetails?: WorkOrderAdditionalDetails;
|
|
12
|
-
};
|
|
13
|
-
export type WorkOrderDetails = FetchStatus & {
|
|
14
|
-
basicFinishDateTime: Date;
|
|
15
|
-
basicStartDateTime: Date;
|
|
16
|
-
changedDateTime: Date;
|
|
17
|
-
createdDateTime: Date;
|
|
18
|
-
requiredEndDateTime: Date;
|
|
19
|
-
maintenancePlanDate: Date;
|
|
20
|
-
maintenancePlant: string;
|
|
21
|
-
planningPlant: string;
|
|
22
|
-
activeStatusIds: string;
|
|
23
|
-
description: string;
|
|
24
|
-
equipmentId: string;
|
|
25
|
-
id: string;
|
|
26
|
-
isActive: boolean;
|
|
27
|
-
locationId: string;
|
|
28
|
-
longText: string;
|
|
29
|
-
tagId: string;
|
|
30
|
-
workCenterId: string;
|
|
31
|
-
personResponsible?: string;
|
|
32
|
-
revisionId?: string;
|
|
33
|
-
orderType: string;
|
|
34
|
-
plannerGroupId: string;
|
|
35
|
-
systemId: string;
|
|
36
|
-
system: string;
|
|
37
|
-
priority: string;
|
|
38
|
-
priorityId: string;
|
|
39
|
-
plantId: string;
|
|
40
|
-
};
|
|
41
|
-
export type WorkOrderAdditionalDetails = {
|
|
42
|
-
attachments: FetchStatus & {
|
|
43
|
-
attachments: Array<PrepviewAttachment>;
|
|
44
|
-
};
|
|
45
|
-
documents: FetchStatus & {
|
|
46
|
-
documentGroups: Array<PrepviewDocumentGroup>;
|
|
47
|
-
};
|
|
48
|
-
history: FetchStatus & {
|
|
49
|
-
notificationGroups: FetchStatus & {
|
|
50
|
-
groups: PrepviewTagHistoryGroup<PrepviewNotification>[];
|
|
51
|
-
};
|
|
52
|
-
punchGroups: FetchStatus & {
|
|
53
|
-
groups: PrepviewTagHistoryGroup<PrepviewPunch>[];
|
|
54
|
-
};
|
|
55
|
-
workOrderGroups: FetchStatus & {
|
|
56
|
-
groups: PrepviewTagHistoryGroup<PrepviewWorkOrder>[];
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
objects: FetchStatus & {
|
|
60
|
-
objects: Array<PrepviewRelatedTag>;
|
|
61
|
-
};
|
|
62
|
-
operations: FetchStatus & {
|
|
63
|
-
operations: Array<PrepviewOperation>;
|
|
64
|
-
};
|
|
65
|
-
safetyCards: FetchStatus & {
|
|
66
|
-
safetyCards: Array<PrepviewSafety>;
|
|
67
|
-
};
|
|
68
|
-
tagInformation: FetchStatus & PrepviewTagInformation;
|
|
69
|
-
};
|
|
70
|
-
export type PrepviewTagHistoryGroup<T = PrepviewNotification | PrepviewWorkOrder | PrepviewPunch> = {
|
|
71
|
-
type: string;
|
|
72
|
-
items: Array<T>;
|
|
73
|
-
};
|
|
74
|
-
export type PrepviewWorkOrder = {
|
|
75
|
-
type: string;
|
|
76
|
-
title: string;
|
|
77
|
-
mainWorkCenterId?: string;
|
|
78
|
-
id: string;
|
|
79
|
-
createdDateTime: Date;
|
|
80
|
-
changedDateTime: Date;
|
|
81
|
-
activeStatusIds: string;
|
|
82
|
-
tagNo: string;
|
|
83
|
-
};
|
|
1
|
+
import { PrepviewAttachment } from './attachment';
|
|
2
|
+
import { FetchStatus } from './common';
|
|
3
|
+
import { PrepviewDocumentGroup } from './document';
|
|
4
|
+
import { PrepviewNotification } from './notification';
|
|
5
|
+
import { PrepviewOperation } from './operation';
|
|
6
|
+
import { PrepviewPunch } from './punch';
|
|
7
|
+
import { PrepviewSafety } from './safety';
|
|
8
|
+
import { PrepviewRelatedTag, PrepviewTagInformation } from './tag';
|
|
9
|
+
export type PrepviewWorkOrderDto = {
|
|
10
|
+
details: WorkOrderDetails;
|
|
11
|
+
additionalDetails?: WorkOrderAdditionalDetails;
|
|
12
|
+
};
|
|
13
|
+
export type WorkOrderDetails = FetchStatus & {
|
|
14
|
+
basicFinishDateTime: Date;
|
|
15
|
+
basicStartDateTime: Date;
|
|
16
|
+
changedDateTime: Date;
|
|
17
|
+
createdDateTime: Date;
|
|
18
|
+
requiredEndDateTime: Date;
|
|
19
|
+
maintenancePlanDate: Date;
|
|
20
|
+
maintenancePlant: string;
|
|
21
|
+
planningPlant: string;
|
|
22
|
+
activeStatusIds: string;
|
|
23
|
+
description: string;
|
|
24
|
+
equipmentId: string;
|
|
25
|
+
id: string;
|
|
26
|
+
isActive: boolean;
|
|
27
|
+
locationId: string;
|
|
28
|
+
longText: string;
|
|
29
|
+
tagId: string;
|
|
30
|
+
workCenterId: string;
|
|
31
|
+
personResponsible?: string;
|
|
32
|
+
revisionId?: string;
|
|
33
|
+
orderType: string;
|
|
34
|
+
plannerGroupId: string;
|
|
35
|
+
systemId: string;
|
|
36
|
+
system: string;
|
|
37
|
+
priority: string;
|
|
38
|
+
priorityId: string;
|
|
39
|
+
plantId: string;
|
|
40
|
+
};
|
|
41
|
+
export type WorkOrderAdditionalDetails = {
|
|
42
|
+
attachments: FetchStatus & {
|
|
43
|
+
attachments: Array<PrepviewAttachment>;
|
|
44
|
+
};
|
|
45
|
+
documents: FetchStatus & {
|
|
46
|
+
documentGroups: Array<PrepviewDocumentGroup>;
|
|
47
|
+
};
|
|
48
|
+
history: FetchStatus & {
|
|
49
|
+
notificationGroups: FetchStatus & {
|
|
50
|
+
groups: PrepviewTagHistoryGroup<PrepviewNotification>[];
|
|
51
|
+
};
|
|
52
|
+
punchGroups: FetchStatus & {
|
|
53
|
+
groups: PrepviewTagHistoryGroup<PrepviewPunch>[];
|
|
54
|
+
};
|
|
55
|
+
workOrderGroups: FetchStatus & {
|
|
56
|
+
groups: PrepviewTagHistoryGroup<PrepviewWorkOrder>[];
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
objects: FetchStatus & {
|
|
60
|
+
objects: Array<PrepviewRelatedTag>;
|
|
61
|
+
};
|
|
62
|
+
operations: FetchStatus & {
|
|
63
|
+
operations: Array<PrepviewOperation>;
|
|
64
|
+
};
|
|
65
|
+
safetyCards: FetchStatus & {
|
|
66
|
+
safetyCards: Array<PrepviewSafety>;
|
|
67
|
+
};
|
|
68
|
+
tagInformation: FetchStatus & PrepviewTagInformation;
|
|
69
|
+
};
|
|
70
|
+
export type PrepviewTagHistoryGroup<T = PrepviewNotification | PrepviewWorkOrder | PrepviewPunch> = {
|
|
71
|
+
type: string;
|
|
72
|
+
items: Array<T>;
|
|
73
|
+
};
|
|
74
|
+
export type PrepviewWorkOrder = {
|
|
75
|
+
type: string;
|
|
76
|
+
title: string;
|
|
77
|
+
mainWorkCenterId?: string;
|
|
78
|
+
id: string;
|
|
79
|
+
createdDateTime: Date;
|
|
80
|
+
changedDateTime: Date;
|
|
81
|
+
activeStatusIds: string;
|
|
82
|
+
tagNo: string;
|
|
83
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Returns a date as a friendly readable string. If the date is undefined, it returns empty string.
|
|
3
|
-
* @param date The date to convert to friendly string format.
|
|
4
|
-
*/
|
|
5
|
-
export declare function dateToStringOrEmpty(date: Date | string | undefined): string;
|
|
1
|
+
/**
|
|
2
|
+
* Returns a date as a friendly readable string. If the date is undefined, it returns empty string.
|
|
3
|
+
* @param date The date to convert to friendly string format.
|
|
4
|
+
*/
|
|
5
|
+
export declare function dateToStringOrEmpty(date: Date | string | undefined): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function setFileIcon(fileExtension: string | undefined): string;
|
|
1
|
+
export declare function setFileIcon(fileExtension: string | undefined): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function escapeSpecialCharacters(text: string): string[];
|
|
1
|
+
export declare function escapeSpecialCharacters(text: string): string[];
|