@equinor/amplify-component-lib 0.0.1
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/LICENSE.md +7 -0
- package/README.md +66 -0
- package/dist/esm/_virtual/_commonjsHelpers.js +1 -0
- package/dist/esm/_virtual/lodash.js +1 -0
- package/dist/esm/api/core/ApiError.js +1 -0
- package/dist/esm/api/core/CancelablePromise.js +1 -0
- package/dist/esm/api/core/OpenAPI.js +1 -0
- package/dist/esm/api/core/request.js +1 -0
- package/dist/esm/api/models/ServiceNowUrgency.js +1 -0
- package/dist/esm/api/models/TutorialPosition.js +1 -0
- package/dist/esm/api/services/PortalService.js +1 -0
- package/dist/esm/api/services/ReleaseNotesService.js +1 -0
- package/dist/esm/api/services/TutorialService.js +1 -0
- package/dist/esm/components/DataDisplay/Badge/Badge.js +1 -0
- package/dist/esm/components/DataDisplay/Badge/Badge.styles.js +17 -0
- package/dist/esm/components/DataDisplay/Chip/Chip.js +1 -0
- package/dist/esm/components/DataDisplay/Chip/Chip.styles.js +72 -0
- package/dist/esm/components/DataDisplay/Chip/InteractiveChip.js +1 -0
- package/dist/esm/components/DataDisplay/Chip/ReadOnlyChip.js +1 -0
- package/dist/esm/components/DataDisplay/DataCard.js +27 -0
- package/dist/esm/components/DataDisplay/HeaderDrawer.js +21 -0
- package/dist/esm/components/DataDisplay/InfoElement/CopyText.js +41 -0
- package/dist/esm/components/DataDisplay/InfoElement/InfoElement.js +1 -0
- package/dist/esm/components/DataDisplay/OptionalTooltip.js +4 -0
- package/dist/esm/components/DataDisplay/ProfileAvatar.js +21 -0
- package/dist/esm/components/DataDisplay/RichTextDisplay.js +1 -0
- package/dist/esm/components/DataDisplay/Table/Table.js +35 -0
- package/dist/esm/components/DataDisplay/Tutorial/HighlightBlocks/HighlightBlocks.js +14 -0
- package/dist/esm/components/DataDisplay/Tutorial/Tutorial.js +1 -0
- package/dist/esm/components/DataDisplay/Tutorial/TutorialStart.js +39 -0
- package/dist/esm/components/DataDisplay/Tutorial/TutorialSteps.js +50 -0
- package/dist/esm/components/DataDisplay/Workflow/StatusChip.js +25 -0
- package/dist/esm/components/DataDisplay/Workflow/WorkflowDescription.js +24 -0
- package/dist/esm/components/DataDisplay/Workflow/WorkflowStatusBar.js +33 -0
- package/dist/esm/components/Feature/Feature.js +1 -0
- package/dist/esm/components/Feedback/AnimatedCheckmark.js +24 -0
- package/dist/esm/components/Feedback/ConfirmationPopup.js +22 -0
- package/dist/esm/components/Feedback/ErrorPage/Action.js +1 -0
- package/dist/esm/components/Feedback/ErrorPage/Description.js +1 -0
- package/dist/esm/components/Feedback/ErrorPage/Details.js +23 -0
- package/dist/esm/components/Feedback/ErrorPage/ErrorPage.js +14 -0
- package/dist/esm/components/Feedback/ErrorPage/MissingAccesses.js +11 -0
- package/dist/esm/components/Feedback/ErrorPage/Title.js +1 -0
- package/dist/esm/components/Feedback/ErrorPage/illustrations/GlitchAnimation.js +18 -0
- package/dist/esm/components/Feedback/ErrorPage/illustrations/QuestioningAnimation.js +18 -0
- package/dist/esm/components/Feedback/ErrorPage/index.js +1 -0
- package/dist/esm/components/Feedback/FileProgress/CompactFileProgress.js +1 -0
- package/dist/esm/components/Feedback/FileProgress/CompactFileProgress.styles.js +86 -0
- package/dist/esm/components/Feedback/FileProgress/FileProgress.js +1 -0
- package/dist/esm/components/Feedback/FileProgress/FileProgress.utils.js +1 -0
- package/dist/esm/components/Feedback/FileProgress/RegularFileProgress.js +1 -0
- package/dist/esm/components/Feedback/FileProgress/RegularFileProgress.styles.js +32 -0
- package/dist/esm/components/Feedback/FullPageSpinner.js +18 -0
- package/dist/esm/components/Feedback/FullPageStatus.js +18 -0
- package/dist/esm/components/Feedback/PageNotFound.js +1 -0
- package/dist/esm/components/Feedback/Skeleton/Skeleton.styles.js +1 -0
- package/dist/esm/components/Feedback/Skeleton/SkeletonBase/SkeletonBase.js +28 -0
- package/dist/esm/components/Feedback/Skeleton/SkeletonGradient/SkeletonGradient.js +1 -0
- package/dist/esm/components/Feedback/Stepper/Step.js +25 -0
- package/dist/esm/components/Feedback/Stepper/StepLine.js +7 -0
- package/dist/esm/components/Feedback/Stepper/Stepper.js +10 -0
- package/dist/esm/components/Feedback/Unauthorized.js +4 -0
- package/dist/esm/components/Icons/AmplifyIcons.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/Acquire.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/ApplicationIcon.constants.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/ApplicationIcon.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/ApplicationIconBase.js +39 -0
- package/dist/esm/components/Icons/ApplicationIcon/ApplicationIconCollection.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/Bravos.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/Dasha.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/Fallback.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/FourDInsight.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/InPress.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/LoggingQualification.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/Orca.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/Portal.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/Premo.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/Pwex.js +1 -0
- package/dist/esm/components/Icons/ApplicationIcon/Recap.js +1 -0
- package/dist/esm/components/Icons/EquinorLogo.js +1 -0
- package/dist/esm/components/Icons/Fallback.js +1 -0
- package/dist/esm/components/Icons/FeedBackIcon/FeedBackIcon.js +1 -0
- package/dist/esm/components/Icons/FeedBackIcon/NegativeFilled.js +1 -0
- package/dist/esm/components/Icons/FeedBackIcon/NegativeOutlined.js +1 -0
- package/dist/esm/components/Icons/FeedBackIcon/PositiveFilled.js +1 -0
- package/dist/esm/components/Icons/FeedBackIcon/PositiveOutlined.js +1 -0
- package/dist/esm/components/Inputs/CommentField/CommentField.js +40 -0
- package/dist/esm/components/Inputs/CommentField/NewCommentField.js +45 -0
- package/dist/esm/components/Inputs/ContentMenu.js +52 -0
- package/dist/esm/components/Inputs/EditableField.js +20 -0
- package/dist/esm/components/Inputs/ExpandingIconButton/ExpandingIconButton.js +24 -0
- package/dist/esm/components/Inputs/FileUploadArea.js +32 -0
- package/dist/esm/components/Inputs/IconToggleButton.js +1 -0
- package/dist/esm/components/Inputs/RichTextEditor/MenuBar/AddImage.js +1 -0
- package/dist/esm/components/Inputs/RichTextEditor/MenuBar/Links.js +6 -0
- package/dist/esm/components/Inputs/RichTextEditor/MenuBar/MenuBar.js +13 -0
- package/dist/esm/components/Inputs/RichTextEditor/MenuBar/MenuBar.styles.js +14 -0
- package/dist/esm/components/Inputs/RichTextEditor/MenuBar/MenuButton.js +28 -0
- package/dist/esm/components/Inputs/RichTextEditor/MenuBar/TableBar.js +6 -0
- package/dist/esm/components/Inputs/RichTextEditor/MenuBar/TextColor.js +45 -0
- package/dist/esm/components/Inputs/RichTextEditor/RichTextEditor.js +1 -0
- package/dist/esm/components/Inputs/RichTextEditor/RichTextEditor.styles.js +139 -0
- package/dist/esm/components/Inputs/RichTextEditor/RichTextEditor.types.js +1 -0
- package/dist/esm/components/Inputs/RichTextEditor/custom-extensions/ExtendedImage.js +1 -0
- package/dist/esm/components/Inputs/Search/Search.js +13 -0
- package/dist/esm/components/Inputs/Select/ComboBox/ComboBox.js +1 -0
- package/dist/esm/components/Inputs/Select/GroupedSelectMenu.js +1 -0
- package/dist/esm/components/Inputs/Select/Select.js +1 -0
- package/dist/esm/components/Inputs/Select/Select.styles.js +149 -0
- package/dist/esm/components/Inputs/Select/Select.utils.js +1 -0
- package/dist/esm/components/Inputs/Select/SelectMenu.js +1 -0
- package/dist/esm/components/Inputs/Select/SelectMenuItem.js +1 -0
- package/dist/esm/components/Inputs/Select/SingleSelect/SingleSelect.js +1 -0
- package/dist/esm/components/Inputs/SelectDrawer/MultiSelectDrawer.js +28 -0
- package/dist/esm/components/Inputs/SelectDrawer/OptionDrawer.js +1 -0
- package/dist/esm/components/Inputs/SelectDrawer/OptionDrawer.styles.js +37 -0
- package/dist/esm/components/Inputs/SelectDrawer/SingleSelectDrawer.js +25 -0
- package/dist/esm/components/Inputs/Sieve/Filter.js +1 -0
- package/dist/esm/components/Inputs/Sieve/Sieve.js +1 -0
- package/dist/esm/components/Inputs/Sieve/Sieve.styles.js +39 -0
- package/dist/esm/components/Inputs/Sieve/Sort.js +1 -0
- package/dist/esm/components/Inputs/SingleFilterMenu.js +20 -0
- package/dist/esm/components/Inputs/TextField/TextField.js +3 -0
- package/dist/esm/components/Navigation/PageWithTitle.js +1 -0
- package/dist/esm/components/Navigation/SelectField/ChangingField.js +24 -0
- package/dist/esm/components/Navigation/SelectField/SelectField.js +15 -0
- package/dist/esm/components/Navigation/SelectField/SelectorCard/SelectorCard.js +70 -0
- package/dist/esm/components/Navigation/SelectField/SelectorCard/Skeleton.js +24 -0
- package/dist/esm/components/Navigation/SideBar/CreateItem.js +1 -0
- package/dist/esm/components/Navigation/SideBar/CreateItem.styles.js +23 -0
- package/dist/esm/components/Navigation/SideBar/MenuItem.js +1 -0
- package/dist/esm/components/Navigation/SideBar/MenuItem.styles.js +38 -0
- package/dist/esm/components/Navigation/SideBar/SideBar.js +1 -0
- package/dist/esm/components/Navigation/SideBar/SideBar.styles.js +32 -0
- package/dist/esm/components/Navigation/SideBar/ToggleOpen.js +1 -0
- package/dist/esm/components/Navigation/SideBar/ToggleOpen.styles.js +21 -0
- package/dist/esm/components/Navigation/SideBar/index.js +1 -0
- package/dist/esm/components/Navigation/TableOfContents/TableOfContents.constants.js +1 -0
- package/dist/esm/components/Navigation/TableOfContents/TableOfContents.js +1 -0
- package/dist/esm/components/Navigation/TableOfContents/TableOfContents.styles.js +165 -0
- package/dist/esm/components/Navigation/TableOfContents/TableOfContentsItem.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Account/Account.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Account/Account.styles.js +36 -0
- package/dist/esm/components/Navigation/TopBar/Actions.js +6 -0
- package/dist/esm/components/Navigation/TopBar/ApplicationDrawer/ApplicationDrawer.js +1 -0
- package/dist/esm/components/Navigation/TopBar/ApplicationDrawer/ApplicationDrawer.styles.js +73 -0
- package/dist/esm/components/Navigation/TopBar/FieldSelector.js +69 -0
- package/dist/esm/components/Navigation/TopBar/Guidelines/Colorbox.js +6 -0
- package/dist/esm/components/Navigation/TopBar/Guidelines/Guidelines.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Guidelines/Item.js +6 -0
- package/dist/esm/components/Navigation/TopBar/Guidelines/Section.js +19 -0
- package/dist/esm/components/Navigation/TopBar/Guidelines/index.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/FilterOptions.js +36 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationProvider.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/Notifications.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsInner.js +8 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/DeafultNotification.js +6 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ExperienceDue3Weeks.js +6 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/MergedBranchOrca.js +7 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/NoNotifications.js +7 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToBePublished.js +5 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToReportNotification.js +14 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestChangeOrca.js +7 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestReviewOrca.js +7 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReviewQANotification.js +6 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.style.js +53 -0
- package/dist/esm/components/Navigation/TopBar/Notifications/NotificationsTemplate/Notifications.types.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/Feedback.const.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/Feedback.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/Feedback.styles.js +41 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/Feedback.types.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/Feedback.utils.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/FeedbackForm.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Description.js +9 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/LockedInputTooltip.js +5 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Severity.js +7 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Title.js +3 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/UploadFile/ImageFile.js +7 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/UploadFile/UploadFile.js +5 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/UploadFile/UploadFile.styles.js +79 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Url.js +3 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/FeedbackInner.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/AnimateChangeInHeight.js +7 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/FullSlackResponse.js +4 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/RequestStatus.js +5 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/ResponsePage.js +9 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/ResponsePage.styles.js +20 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/ResponseStatus.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/ResponsePage/Success.js +9 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/hooks/useFeedbackContext.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/hooks/useServiceNowIncident.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/hooks/useSlackFileUpload.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/hooks/useSlackPostMessage.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Feedback/providers/FeedbackContextProvider.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/Filters/FilterHeader.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/Filters/FilterHeader.styles.js +42 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotes.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotes.styles.js +43 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesHeader.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesHeader.styles.js +23 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.styles.js +42 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.types.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost.styles.js +69 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.styles.js +16 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/hooks/useTokenReleaseNote.js +1 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ReleaseNotesDialog/TextContent.js +28 -0
- package/dist/esm/components/Navigation/TopBar/Resources/ResourceMenuItem.js +20 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Resources.js +6 -0
- package/dist/esm/components/Navigation/TopBar/Resources/TransferToAppDialog.js +33 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Tutorials/TutorialInfoDialog.js +15 -0
- package/dist/esm/components/Navigation/TopBar/Resources/Tutorials/TutorialItem.js +12 -0
- package/dist/esm/components/Navigation/TopBar/Settings.js +25 -0
- package/dist/esm/components/Navigation/TopBar/TopBar.js +1 -0
- package/dist/esm/components/Navigation/TopBar/TopBar.styles.js +65 -0
- package/dist/esm/components/Navigation/TopBar/TopBarMenu.js +7 -0
- package/dist/esm/components/Navigation/TopBar/index.js +1 -0
- package/dist/esm/components/Template/Template.js +62 -0
- package/dist/esm/components/Visuals/Waves/VisualWaves.js +48 -0
- package/dist/esm/components/Visuals/Waves/WaveShapeWithNoise.js +1 -0
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/constants/colors.js +1 -0
- package/dist/esm/constants/index.js +1 -0
- package/dist/esm/hooks/index.js +1 -0
- package/dist/esm/hooks/useDebounce.js +1 -0
- package/dist/esm/hooks/useFakeProgress.js +1 -0
- package/dist/esm/hooks/useFeatureToggling.js +1 -0
- package/dist/esm/hooks/useLocalStorage.js +1 -0
- package/dist/esm/hooks/useOnScreen.js +1 -0
- package/dist/esm/hooks/usePrevious.js +1 -0
- package/dist/esm/hooks/useReleaseNotesQuery.js +1 -0
- package/dist/esm/hooks/useSelect.js +1 -0
- package/dist/esm/hooks/useSignalRMessages.js +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/clickbounds.js +1 -0
- package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/colors.js +1 -0
- package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/elevation.js +1 -0
- package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/index.js +1 -0
- package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/interactions.js +1 -0
- package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/shape.js +1 -0
- package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/spacings.js +1 -0
- package/dist/esm/node_modules/@equinor/eds-tokens/dist/esm/base/typography.js +1 -0
- package/dist/esm/node_modules/@equinor/eds-utils/dist/esm/hooks/useOutsideClick.js +1 -0
- package/dist/esm/node_modules/highlight.js/styles/base16/solarized-dark.css +163 -0
- package/dist/esm/node_modules/lodash/lodash.js +9 -0
- package/dist/esm/node_modules/prosemirror-model/dist/index.js +1 -0
- package/dist/esm/node_modules/prosemirror-state/dist/index.js +1 -0
- package/dist/esm/node_modules/prosemirror-transform/dist/index.js +1 -0
- package/dist/esm/providers/AuthProvider/AuthProvider.js +1 -0
- package/dist/esm/providers/AuthProvider/AuthProviderInner.js +1 -0
- package/dist/esm/providers/FeatureToggleProvider.js +1 -0
- package/dist/esm/providers/ReleaseNotesProvider.js +1 -0
- package/dist/esm/providers/SideBarProvider.js +1 -0
- package/dist/esm/providers/SnackbarProvider.js +1 -0
- package/dist/esm/providers/TableOfContentsProvider.js +1 -0
- package/dist/esm/providers/TableOfContentsProvider.utils.js +1 -0
- package/dist/esm/providers/TutorialProvider/TutorialDialog.js +1 -0
- package/dist/esm/providers/TutorialProvider/TutorialProvider.const.js +1 -0
- package/dist/esm/providers/TutorialProvider/TutorialProvider.hooks.js +1 -0
- package/dist/esm/providers/TutorialProvider/TutorialProvider.js +1 -0
- package/dist/esm/providers/TutorialProvider/TutorialProvider.styles.js +67 -0
- package/dist/esm/providers/TutorialProvider/TutorialProvider.utils.js +1 -0
- package/dist/esm/providers/TutorialProvider/TutorialProviderInner.js +1 -0
- package/dist/esm/providers/TutorialProvider/TutorialStepIndicator.js +25 -0
- package/dist/esm/providers/TutorialStepsProvider.js +1 -0
- package/dist/esm/providers/index.js +1 -0
- package/dist/esm/style/darkTokens.js +1 -0
- package/dist/esm/style/index.js +1 -0
- package/dist/esm/style/spacingTokens.js +1 -0
- package/dist/esm/style/spacings.js +1 -0
- package/dist/esm/types/Environment.js +1 -0
- package/dist/esm/types/Errors.js +1 -0
- package/dist/esm/utils/auth_environment.js +1 -0
- package/dist/esm/utils/coordinate.js +1 -0
- package/dist/esm/utils/date.js +1 -0
- package/dist/esm/utils/errors.js +1 -0
- package/dist/esm/utils/export.js +1 -0
- package/dist/esm/utils/favicon.js +1 -0
- package/dist/esm/utils/index.js +1 -0
- package/dist/esm/utils/map.js +1 -0
- package/dist/esm/utils/releaseNotes.js +1 -0
- package/dist/esm/utils/size.js +1 -0
- package/dist/esm/utils/sort.js +1 -0
- package/dist/esm/utils/string.js +1 -0
- package/dist/esm/utils/url.js +1 -0
- package/dist/types/api/core/ApiError.d.ts +10 -0
- package/dist/types/api/core/ApiRequestOptions.d.ts +13 -0
- package/dist/types/api/core/ApiResult.d.ts +7 -0
- package/dist/types/api/core/CancelablePromise.d.ts +26 -0
- package/dist/types/api/core/OpenAPI.d.ts +32 -0
- package/dist/types/api/core/request.d.ts +13 -0
- package/dist/types/api/index.d.ts +15 -0
- package/dist/types/api/models/AccessRole.d.ts +4 -0
- package/dist/types/api/models/Applications.d.ts +17 -0
- package/dist/types/api/models/CustomTutorialStep.d.ts +4 -0
- package/dist/types/api/models/Feature.d.ts +8 -0
- package/dist/types/api/models/FeatureToggleDto.d.ts +5 -0
- package/dist/types/api/models/GenericTutorialStep.d.ts +7 -0
- package/dist/types/api/models/GraphUser.d.ts +6 -0
- package/dist/types/api/models/ReleaseNote.d.ts +9 -0
- package/dist/types/api/models/ReleaseNotePatch.d.ts +8 -0
- package/dist/types/api/models/ServiceNowIncidentAttachmentResponse.d.ts +7 -0
- package/dist/types/api/models/ServiceNowIncidentResponse.d.ts +13 -0
- package/dist/types/api/models/ServiceNowUrgency.d.ts +5 -0
- package/dist/types/api/models/Tutorial.d.ts +13 -0
- package/dist/types/api/models/TutorialPosition.d.ts +7 -0
- package/dist/types/api/models/TutorialStepBase.d.ts +4 -0
- package/dist/types/api/services/PortalService.d.ts +35 -0
- package/dist/types/api/services/ReleaseNotesService.d.ts +28 -0
- package/dist/types/api/services/TutorialService.d.ts +12 -0
- package/dist/types/components/DataDisplay/Badge/Badge.d.ts +7 -0
- package/dist/types/components/DataDisplay/Badge/Badge.styles.d.ts +6 -0
- package/dist/types/components/DataDisplay/Chip/Chip.d.ts +14 -0
- package/dist/types/components/DataDisplay/Chip/Chip.styles.d.ts +4 -0
- package/dist/types/components/DataDisplay/Chip/InteractiveChip.d.ts +4 -0
- package/dist/types/components/DataDisplay/Chip/ReadOnlyChip.d.ts +4 -0
- package/dist/types/components/DataDisplay/DataCard.d.ts +18 -0
- package/dist/types/components/DataDisplay/HeaderDrawer.d.ts +11 -0
- package/dist/types/components/DataDisplay/InfoElement/CopyText.d.ts +10 -0
- package/dist/types/components/DataDisplay/InfoElement/InfoElement.d.ts +9 -0
- package/dist/types/components/DataDisplay/OptionalTooltip.d.ts +9 -0
- package/dist/types/components/DataDisplay/ProfileAvatar.d.ts +9 -0
- package/dist/types/components/DataDisplay/RichTextDisplay.d.ts +9 -0
- package/dist/types/components/DataDisplay/Table/Table.d.ts +2 -0
- package/dist/types/components/DataDisplay/Table/stories/data.d.ts +13 -0
- package/dist/types/components/DataDisplay/Tutorial/HighlightBlocks/HighlightBlocks.d.ts +8 -0
- package/dist/types/components/DataDisplay/Tutorial/Tutorial.d.ts +20 -0
- package/dist/types/components/DataDisplay/Tutorial/TutorialStart.d.ts +11 -0
- package/dist/types/components/DataDisplay/Tutorial/TutorialSteps.d.ts +9 -0
- package/dist/types/components/DataDisplay/Tutorial/stories/TutorialStoryComponent.d.ts +4 -0
- package/dist/types/components/DataDisplay/Workflow/StatusChip.d.ts +13 -0
- package/dist/types/components/DataDisplay/Workflow/WorkflowDescription.d.ts +17 -0
- package/dist/types/components/DataDisplay/Workflow/WorkflowStatusBar.d.ts +23 -0
- package/dist/types/components/Feature/Feature.d.ts +9 -0
- package/dist/types/components/Feedback/AnimatedCheckmark.d.ts +6 -0
- package/dist/types/components/Feedback/ConfirmationPopup.d.ts +17 -0
- package/dist/types/components/Feedback/ErrorPage/Action.d.ts +6 -0
- package/dist/types/components/Feedback/ErrorPage/Description.d.ts +5 -0
- package/dist/types/components/Feedback/ErrorPage/Details.d.ts +5 -0
- package/dist/types/components/Feedback/ErrorPage/ErrorPage.d.ts +6 -0
- package/dist/types/components/Feedback/ErrorPage/MissingAccesses.d.ts +10 -0
- package/dist/types/components/Feedback/ErrorPage/Title.d.ts +5 -0
- package/dist/types/components/Feedback/ErrorPage/illustrations/GlitchAnimation.d.ts +3 -0
- package/dist/types/components/Feedback/ErrorPage/illustrations/QuestioningAnimation.d.ts +3 -0
- package/dist/types/components/Feedback/ErrorPage/index.d.ts +16 -0
- package/dist/types/components/Feedback/FileProgress/CompactFileProgress.d.ts +6 -0
- package/dist/types/components/Feedback/FileProgress/CompactFileProgress.styles.d.ts +31 -0
- package/dist/types/components/Feedback/FileProgress/FileProgress.d.ts +28 -0
- package/dist/types/components/Feedback/FileProgress/FileProgress.utils.d.ts +2 -0
- package/dist/types/components/Feedback/FileProgress/RegularFileProgress.d.ts +6 -0
- package/dist/types/components/Feedback/FileProgress/RegularFileProgress.styles.d.ts +18 -0
- package/dist/types/components/Feedback/FullPageSpinner.d.ts +7 -0
- package/dist/types/components/Feedback/FullPageStatus.d.ts +8 -0
- package/dist/types/components/Feedback/PageNotFound.d.ts +3 -0
- package/dist/types/components/Feedback/Skeleton/Skeleton.styles.d.ts +4 -0
- package/dist/types/components/Feedback/Skeleton/SkeletonBase/SkeletonBase.d.ts +6 -0
- package/dist/types/components/Feedback/Skeleton/SkeletonGradient/SkeletonGradient.d.ts +6 -0
- package/dist/types/components/Feedback/Stepper/Step.d.ts +10 -0
- package/dist/types/components/Feedback/Stepper/StepLine.d.ts +6 -0
- package/dist/types/components/Feedback/Stepper/Stepper.d.ts +10 -0
- package/dist/types/components/Feedback/Unauthorized.d.ts +2 -0
- package/dist/types/components/Icons/AmplifyIcons.d.ts +36 -0
- package/dist/types/components/Icons/ApplicationIcon/Acquire.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/ApplicationIcon.constants.d.ts +1 -0
- package/dist/types/components/Icons/ApplicationIcon/ApplicationIcon.d.ts +8 -0
- package/dist/types/components/Icons/ApplicationIcon/ApplicationIconBase.d.ts +16 -0
- package/dist/types/components/Icons/ApplicationIcon/ApplicationIconCollection.d.ts +16 -0
- package/dist/types/components/Icons/ApplicationIcon/Bravos.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/Dasha.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/Fallback.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/FourDInsight.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/InPress.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/LoggingQualification.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/Orca.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/Portal.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/Premo.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/Pwex.d.ts +3 -0
- package/dist/types/components/Icons/ApplicationIcon/Recap.d.ts +3 -0
- package/dist/types/components/Icons/EquinorLogo.d.ts +8 -0
- package/dist/types/components/Icons/Fallback.d.ts +4 -0
- package/dist/types/components/Icons/FeedBackIcon/FeedBackIcon.d.ts +8 -0
- package/dist/types/components/Icons/FeedBackIcon/NegativeFilled.d.ts +4 -0
- package/dist/types/components/Icons/FeedBackIcon/NegativeOutlined.d.ts +4 -0
- package/dist/types/components/Icons/FeedBackIcon/PositiveFilled.d.ts +4 -0
- package/dist/types/components/Icons/FeedBackIcon/PositiveOutlined.d.ts +4 -0
- package/dist/types/components/Inputs/CommentField/CommentField.d.ts +13 -0
- package/dist/types/components/Inputs/CommentField/NewCommentField.d.ts +9 -0
- package/dist/types/components/Inputs/ContentMenu.d.ts +14 -0
- package/dist/types/components/Inputs/EditableField.d.ts +13 -0
- package/dist/types/components/Inputs/ExpandingIconButton/ExpandingIconButton.d.ts +12 -0
- package/dist/types/components/Inputs/FileUploadArea.d.ts +7 -0
- package/dist/types/components/Inputs/IconToggleButton.d.ts +22 -0
- package/dist/types/components/Inputs/RichTextEditor/MenuBar/AddImage.d.ts +7 -0
- package/dist/types/components/Inputs/RichTextEditor/MenuBar/Links.d.ts +3 -0
- package/dist/types/components/Inputs/RichTextEditor/MenuBar/MenuBar.d.ts +8 -0
- package/dist/types/components/Inputs/RichTextEditor/MenuBar/MenuBar.styles.d.ts +1 -0
- package/dist/types/components/Inputs/RichTextEditor/MenuBar/MenuButton.d.ts +15 -0
- package/dist/types/components/Inputs/RichTextEditor/MenuBar/TableBar.d.ts +3 -0
- package/dist/types/components/Inputs/RichTextEditor/MenuBar/TextColor.d.ts +3 -0
- package/dist/types/components/Inputs/RichTextEditor/RichTextEditor.d.ts +17 -0
- package/dist/types/components/Inputs/RichTextEditor/RichTextEditor.styles.d.ts +9 -0
- package/dist/types/components/Inputs/RichTextEditor/RichTextEditor.types.d.ts +18 -0
- package/dist/types/components/Inputs/RichTextEditor/custom-extensions/ExtendedImage.d.ts +10 -0
- package/dist/types/components/Inputs/Search/Search.d.ts +2 -0
- package/dist/types/components/Inputs/Select/ComboBox/ComboBox.d.ts +3 -0
- package/dist/types/components/Inputs/Select/GroupedSelectMenu.d.ts +2 -0
- package/dist/types/components/Inputs/Select/Select.d.ts +3 -0
- package/dist/types/components/Inputs/Select/Select.styles.d.ts +110 -0
- package/dist/types/components/Inputs/Select/Select.types.d.ts +69 -0
- package/dist/types/components/Inputs/Select/Select.utils.d.ts +6 -0
- package/dist/types/components/Inputs/Select/SelectMenu.d.ts +2 -0
- package/dist/types/components/Inputs/Select/SelectMenuItem.d.ts +2 -0
- package/dist/types/components/Inputs/Select/SingleSelect/SingleSelect.d.ts +3 -0
- package/dist/types/components/Inputs/SelectDrawer/MultiSelectDrawer.d.ts +29 -0
- package/dist/types/components/Inputs/SelectDrawer/OptionDrawer.d.ts +35 -0
- package/dist/types/components/Inputs/SelectDrawer/OptionDrawer.styles.d.ts +14 -0
- package/dist/types/components/Inputs/SelectDrawer/SingleSelectDrawer.d.ts +27 -0
- package/dist/types/components/Inputs/SelectDrawer/index.d.ts +11 -0
- package/dist/types/components/Inputs/SelectDrawer/stories/data.d.ts +7 -0
- package/dist/types/components/Inputs/Sieve/Filter.d.ts +13 -0
- package/dist/types/components/Inputs/Sieve/Sieve.d.ts +4 -0
- package/dist/types/components/Inputs/Sieve/Sieve.styles.d.ts +40 -0
- package/dist/types/components/Inputs/Sieve/Sieve.types.d.ts +25 -0
- package/dist/types/components/Inputs/Sieve/Sort.d.ts +9 -0
- package/dist/types/components/Inputs/SingleFilterMenu.d.ts +12 -0
- package/dist/types/components/Inputs/TextField/TextField.d.ts +3 -0
- package/dist/types/components/Navigation/PageWithTitle.d.ts +7 -0
- package/dist/types/components/Navigation/SelectField/ChangingField.d.ts +17 -0
- package/dist/types/components/Navigation/SelectField/SelectField.d.ts +12 -0
- package/dist/types/components/Navigation/SelectField/SelectorCard/SelectorCard.d.ts +9 -0
- package/dist/types/components/Navigation/SelectField/SelectorCard/Skeleton.d.ts +2 -0
- package/dist/types/components/Navigation/SideBar/CreateItem.d.ts +8 -0
- package/dist/types/components/Navigation/SideBar/CreateItem.styles.d.ts +19 -0
- package/dist/types/components/Navigation/SideBar/MenuItem.d.ts +18 -0
- package/dist/types/components/Navigation/SideBar/MenuItem.styles.d.ts +17 -0
- package/dist/types/components/Navigation/SideBar/SideBar.d.ts +16 -0
- package/dist/types/components/Navigation/SideBar/SideBar.styles.d.ts +8 -0
- package/dist/types/components/Navigation/SideBar/ToggleOpen.d.ts +7 -0
- package/dist/types/components/Navigation/SideBar/ToggleOpen.styles.d.ts +5 -0
- package/dist/types/components/Navigation/SideBar/index.d.ts +8 -0
- package/dist/types/components/Navigation/TableOfContents/TableOfContents.constants.d.ts +3 -0
- package/dist/types/components/Navigation/TableOfContents/TableOfContents.d.ts +8 -0
- package/dist/types/components/Navigation/TableOfContents/TableOfContents.styles.d.ts +814 -0
- package/dist/types/components/Navigation/TableOfContents/TableOfContents.types.d.ts +1 -0
- package/dist/types/components/Navigation/TableOfContents/TableOfContentsItem.d.ts +11 -0
- package/dist/types/components/Navigation/TopBar/Account/Account.d.ts +10 -0
- package/dist/types/components/Navigation/TopBar/Account/Account.styles.d.ts +16 -0
- package/dist/types/components/Navigation/TopBar/Account/stories/data.d.ts +9 -0
- package/dist/types/components/Navigation/TopBar/Actions.d.ts +2 -0
- package/dist/types/components/Navigation/TopBar/ApplicationDrawer/ApplicationDrawer.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/ApplicationDrawer/ApplicationDrawer.styles.d.ts +25 -0
- package/dist/types/components/Navigation/TopBar/FieldSelector.d.ts +9 -0
- package/dist/types/components/Navigation/TopBar/Guidelines/Colorbox.d.ts +5 -0
- package/dist/types/components/Navigation/TopBar/Guidelines/Guidelines.d.ts +10 -0
- package/dist/types/components/Navigation/TopBar/Guidelines/Item.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Guidelines/Section.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Guidelines/index.d.ts +8 -0
- package/dist/types/components/Navigation/TopBar/Notifications/FilterOptions.d.ts +10 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationProvider.d.ts +12 -0
- package/dist/types/components/Navigation/TopBar/Notifications/Notifications.d.ts +4 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsInner.d.ts +10 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/DeafultNotification.d.ts +4 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ExperienceDue3Weeks.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/MergedBranchOrca.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/NoNotifications.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToBePublished.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReadyToReportNotification.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestChangeOrca.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/RequestReviewOrca.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/ReviewQANotification.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationElements/SystemUserDefault.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.d.ts +4 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/NotificationTemplate.style.d.ts +37 -0
- package/dist/types/components/Navigation/TopBar/Notifications/NotificationsTemplate/Notifications.types.d.ts +96 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/Feedback.const.d.ts +9 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/Feedback.d.ts +9 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/Feedback.styles.d.ts +8 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/Feedback.types.d.ts +57 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/Feedback.utils.d.ts +9 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/FeedbackForm.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Description.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/LockedInputTooltip.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Severity.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Title.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/UploadFile/ImageFile.d.ts +14 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/UploadFile/UploadFile.d.ts +4 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/UploadFile/UploadFile.styles.d.ts +20 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackForm/components/Url.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/FeedbackInner.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/AnimateChangeInHeight.d.ts +6 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/FullSlackResponse.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/RequestStatus.d.ts +8 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/ResponsePage.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/ResponsePage.styles.d.ts +5 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/ResponseStatus.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/ResponsePage/Success.d.ts +4 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/hooks/useFeedbackContext.d.ts +2 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/hooks/useServiceNowIncident.d.ts +2 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/hooks/useSlackFileUpload.d.ts +2 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/hooks/useSlackPostMessage.d.ts +2 -0
- package/dist/types/components/Navigation/TopBar/Resources/Feedback/providers/FeedbackContextProvider.d.ts +37 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/Filters/FilterHeader.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/Filters/FilterHeader.styles.d.ts +5 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotes.d.ts +6 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotes.styles.d.ts +25 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesHeader.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesHeader.styles.d.ts +4 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.d.ts +4 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.styles.d.ts +19 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleaseNotesTypes/ReleaseNotesTypes.types.d.ts +19 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost.d.ts +4 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePost.styles.d.ts +28 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.d.ts +7 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/ReleasePosts.styles.d.ts +3 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/ReleasePosts/hooks/useTokenReleaseNote.d.ts +1 -0
- package/dist/types/components/Navigation/TopBar/Resources/ReleaseNotesDialog/TextContent.d.ts +6 -0
- package/dist/types/components/Navigation/TopBar/Resources/ResourceMenuItem.d.ts +12 -0
- package/dist/types/components/Navigation/TopBar/Resources/Resources.d.ts +13 -0
- package/dist/types/components/Navigation/TopBar/Resources/TransferToAppDialog.d.ts +8 -0
- package/dist/types/components/Navigation/TopBar/Resources/Tutorials/TutorialInfoDialog.d.ts +15 -0
- package/dist/types/components/Navigation/TopBar/Resources/Tutorials/TutorialItem.d.ts +4 -0
- package/dist/types/components/Navigation/TopBar/Settings.d.ts +20 -0
- package/dist/types/components/Navigation/TopBar/TopBar.d.ts +16 -0
- package/dist/types/components/Navigation/TopBar/TopBar.styles.d.ts +50 -0
- package/dist/types/components/Navigation/TopBar/TopBarMenu.d.ts +13 -0
- package/dist/types/components/Navigation/TopBar/index.d.ts +23 -0
- package/dist/types/components/Template/Template.d.ts +14 -0
- package/dist/types/components/Visuals/Waves/VisualWaves.d.ts +9 -0
- package/dist/types/components/Visuals/Waves/WaveShapeWithNoise.d.ts +7 -0
- package/dist/types/components/index.d.ts +104 -0
- package/dist/types/constants/colors.d.ts +7 -0
- package/dist/types/constants/index.d.ts +2 -0
- package/dist/types/hooks/index.d.ts +17 -0
- package/dist/types/hooks/useDebounce.d.ts +1 -0
- package/dist/types/hooks/useFakeProgress.d.ts +10 -0
- package/dist/types/hooks/useFeatureToggling.d.ts +3 -0
- package/dist/types/hooks/useLocalStorage.d.ts +4 -0
- package/dist/types/hooks/useOnScreen.d.ts +4 -0
- package/dist/types/hooks/usePrevious.d.ts +1 -0
- package/dist/types/hooks/useReleaseNotesQuery.d.ts +6 -0
- package/dist/types/hooks/useSelect.d.ts +22 -0
- package/dist/types/hooks/useSignalRMessages.d.ts +12 -0
- package/dist/types/index.d.ts +20 -0
- package/dist/types/providers/AuthProvider/AuthProvider.d.ts +17 -0
- package/dist/types/providers/AuthProvider/AuthProviderInner.d.ts +16 -0
- package/dist/types/providers/FeatureToggleProvider.d.ts +14 -0
- package/dist/types/providers/ReleaseNotesProvider.d.ts +21 -0
- package/dist/types/providers/SideBarProvider.d.ts +10 -0
- package/dist/types/providers/SnackbarProvider.d.ts +21 -0
- package/dist/types/providers/TableOfContentsProvider.d.ts +26 -0
- package/dist/types/providers/TableOfContentsProvider.utils.d.ts +2 -0
- package/dist/types/providers/TutorialProvider/TutorialDialog.d.ts +3 -0
- package/dist/types/providers/TutorialProvider/TutorialProvider.const.d.ts +7 -0
- package/dist/types/providers/TutorialProvider/TutorialProvider.d.ts +30 -0
- package/dist/types/providers/TutorialProvider/TutorialProvider.hooks.d.ts +3 -0
- package/dist/types/providers/TutorialProvider/TutorialProvider.styles.d.ts +26 -0
- package/dist/types/providers/TutorialProvider/TutorialProvider.types.d.ts +11 -0
- package/dist/types/providers/TutorialProvider/TutorialProvider.utils.d.ts +3 -0
- package/dist/types/providers/TutorialProvider/TutorialProviderInner.d.ts +3 -0
- package/dist/types/providers/TutorialProvider/TutorialStepIndicator.d.ts +8 -0
- package/dist/types/providers/TutorialStepsProvider.d.ts +13 -0
- package/dist/types/providers/index.d.ts +10 -0
- package/dist/types/storybook/InfoCard.d.ts +8 -0
- package/dist/types/storybook/Links.d.ts +9 -0
- package/dist/types/storybook/PropsTable.d.ts +10 -0
- package/dist/types/storybook/Stack.d.ts +9 -0
- package/dist/types/storybook/Story.d.ts +2 -0
- package/dist/types/storybook/index.d.ts +6 -0
- package/dist/types/storybook/useMockProgress.d.ts +1 -0
- package/dist/types/style/darkTokens.d.ts +1 -0
- package/dist/types/style/index.d.ts +2 -0
- package/dist/types/style/spacingTokens.d.ts +1 -0
- package/dist/types/style/spacings.d.ts +11 -0
- package/dist/types/tests/browserMocks.d.ts +24 -0
- package/dist/types/tests/setupTests.d.ts +2 -0
- package/dist/types/tests/test-utils.d.ts +6 -0
- package/dist/types/types/Environment.d.ts +6 -0
- package/dist/types/types/Errors.d.ts +19 -0
- package/dist/types/types/Field.d.ts +5 -0
- package/dist/types/types/Guidelines.d.ts +14 -0
- package/dist/types/types/Icon.d.ts +7 -0
- package/dist/types/types/index.d.ts +5 -0
- package/dist/types/utils/UtilStory.d.ts +7 -0
- package/dist/types/utils/auth_environment.d.ts +47 -0
- package/dist/types/utils/coordinate.d.ts +7 -0
- package/dist/types/utils/date.d.ts +15 -0
- package/dist/types/utils/errors.d.ts +8 -0
- package/dist/types/utils/export.d.ts +3 -0
- package/dist/types/utils/favicon.d.ts +4 -0
- package/dist/types/utils/index.d.ts +12 -0
- package/dist/types/utils/map.d.ts +14 -0
- package/dist/types/utils/releaseNotes.d.ts +18 -0
- package/dist/types/utils/size.d.ts +5 -0
- package/dist/types/utils/sort.d.ts +10 -0
- package/dist/types/utils/string.d.ts +5 -0
- package/dist/types/utils/url.d.ts +5 -0
- package/package.json +178 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{DIALOG_EDGE_MARGIN as T}from"./TutorialProvider.const.js";import"../../api/core/OpenAPI.js";import{TutorialPosition as t}from"../../api/models/TutorialPosition.js";import"../../api/models/ServiceNowUrgency.js";const o=(T,t)=>!(T.top>t.bottom||T.bottom<t.top||T.right<t.left||T.left>t.right),e=(o,e)=>{const i=e===t.BOTTOM_RIGHT||e===t.BOTTOM_LEFT,O=e===t.TOP_RIGHT||e===t.BOTTOM_RIGHT,r=innerWidth-T-o.width,m=innerHeight-T-o.height;return new DOMRect(O?r:T,i?m:T,o.width,o.height)},i=(T,i)=>o(T,e(i,t.BOTTOM_RIGHT))?o(T,e(i,t.BOTTOM_LEFT))?o(T,e(i,t.TOP_RIGHT))?o(T,e(i,t.TOP_LEFT))?t.BOTTOM_RIGHT:t.TOP_LEFT:t.TOP_RIGHT:t.BOTTOM_LEFT:t.BOTTOM_RIGHT,O=T=>T.steps.map(((t,o)=>document.getElementById(`${T.shortName}-${o}`)));export{O as getAllElementsToHighlight,i as getBestPositionWithoutOverlap};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsxs as t,jsx as r,Fragment as o}from"react/jsx-runtime";import{useRef as e,useMemo as i,useCallback as n,useEffect as l}from"react";import{useLocation as a}from"react-router";import{Typography as s,Button as m}from"@equinor/eds-core-react";import h from"./TutorialDialog.js";import{HIGHLIGHT_PADDING as p,TUTORIAL_HIGHLIGHTER_DATATEST_ID as u}from"./TutorialProvider.const.js";import{useTutorial as c,useGetTutorialsForApp as d}from"./TutorialProvider.hooks.js";import{TutorialErrorDialog as f,Highlighter as g}from"./TutorialProvider.styles.js";import{EnvironmentType as w}from"../../types/Environment.js";import{environment as v}from"../../utils/auth_environment.js";const{getEnvironmentName:T}=v,P=()=>{const{pathname:v}=a(),{activeTutorial:P,setActiveTutorial:E,dialogRef:N,allElementsToHighlight:j,shortNameFromParams:x,tutorialError:I,tutorialsFromProps:b,currentStep:C,viewportWidth:k,setTutorialError:R,clearSearchParam:$}=c(),y=e(!1),{data:D}=d(),M=i((()=>{if(!(D||b&&0!==b.length))return[];const t=[];return b&&t.push(...b),D&&t.push(...D),t}),[D,b]),O=i((()=>{if(!j||!P||!k)return;const t=j[C],r=t.getBoundingClientRect();return t&&t.scrollIntoView({behavior:"smooth",block:"center"}),{top:r.top-p+window.scrollY,left:r.left-p,height:r.height+2*p,width:r.width+2*p}}),[P,j,C,k]),S=i((()=>M.filter((t=>t.path===v))),[M,v]),V=n((t=>{y.current||(E(t),y.current=!0)}),[E]);l((()=>{O&&!N.current?.open&&N.current?.showModal()}),[N,O]),l((()=>{if(S.length<1)return;const t=S.find((t=>!window.localStorage.getItem(t.shortName)||x&&S.some((t=>t.shortName===x))));t&&V(t)}),[V,x,S]);const _=()=>{$(),R(!1),E(void 0)};return(P?.showInProd||T(import.meta.env.VITE_ENVIRONMENT_NAME)!==w.PRODUCTION)&&(P?.willPopUp||x)?I&&x?t(f,{open:!0,isDismissable:!0,onClose:_,children:[r(s,{children:"There was a problem starting this tutorial. Please report this in using the feedback function in the Top Bar."}),r(m,{variant:"outlined",onClick:_,children:"Close"})]}):I?null:t(o,{children:[O&&r(g,{"data-testid":u,style:{top:`${O.top}px`,left:`${O.left}px`,width:`${O.width}px`,height:`${O.height}px`}}),r(h,{})]}):null};export{P as default};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{tokens as e}from"../../node_modules/@equinor/eds-tokens/dist/esm/base/index.js";import r from"styled-components";const{spacings:i,colors:o}=e,a=r.div`
|
|
2
|
+
position: relative;
|
|
3
|
+
transform: translate(0, -65%);
|
|
4
|
+
display: flex;
|
|
5
|
+
gap: ${i.comfortable.small};
|
|
6
|
+
margin-bottom: -${i.comfortable.small};
|
|
7
|
+
margin-top: ${i.comfortable.medium_small};
|
|
8
|
+
width: 100%;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
`,m=r.div`
|
|
11
|
+
width: ${i.comfortable.medium};
|
|
12
|
+
height: ${i.comfortable.x_small};
|
|
13
|
+
border-radius: 24px;
|
|
14
|
+
transition: all 300ms;
|
|
15
|
+
background: linear-gradient(
|
|
16
|
+
90deg,
|
|
17
|
+
${o.interactive.primary__resting.rgba} 49%,
|
|
18
|
+
${o.interactive.primary__hover_alt.rgba} 51%
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
background-size:
|
|
22
|
+
400% 10px,
|
|
23
|
+
400%;
|
|
24
|
+
${t=>t.$active?"background-position: 0%":`background-position: ${t.$num<t.$activeNum?"-50":"100"}%`}
|
|
25
|
+
`,n=({steps:e,currentStep:r})=>t(a,{children:e.map(((e,i)=>t(m,{$active:i===r,$activeNum:r,$num:i},e.key??e.title)))});export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{createContext as r,useContext as o,useState as e,useEffect as s}from"react";const i="tutorialstepscontext",a=()=>{const t=localStorage.getItem(i);return t?JSON.parse(t):{step:"",showTutorialIntro:!1}},n=r(void 0),u=()=>{const t=o(n);if(void 0===t)throw new Error("useTutorialSteps must be used within a TutorialStepsProvider");return t},l=({children:r,startOpen:o=!1})=>{const[u,l]=e(a().step),[p,c]=e(o||a().showTutorialIntro);return s((()=>{var t;t={step:u,showTutorialIntro:p},localStorage.setItem(i,JSON.stringify(t))}),[p,u]),t(n.Provider,{value:{tutorialStep:u,setTutorialStep:l,showTutorialIntro:p,setShowTutorialIntro:c},children:r})};export{l as default,u as useTutorialSteps};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{default as AuthProvider}from"./AuthProvider/AuthProvider.js";export{default as TutorialProvider}from"./TutorialProvider/TutorialProvider.js";export{default as FeatureToggleProvider}from"./FeatureToggleProvider.js";export{default as ReleaseNotesProvider}from"./ReleaseNotesProvider.js";export{default as SideBarProvider}from"./SideBarProvider.js";export{SnackbarProvider}from"./SnackbarProvider.js";export{default as TableOfContentsProvider}from"./TableOfContentsProvider.js";export{default as TutorialStepsProvider}from"./TutorialStepsProvider.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _="\n\n/*Dark Theme*/\nhtml[data-theme='dark'] {\n\n textarea, input {\n color: var(--eds_text_static_icons__default);\n }\n\n --eds_clickbound_jumbo__base: 88px;\n --eds_clickbound_default__base: 48px;\n --eds_clickbound_default__input: 56px;\n --eds_clickbound_compact__standard: 32px;\n --eds_clickbound_compact__input: 44px;\n\n --eds_text_static_icons__default: rgba(255, 255, 255, 1);\n --eds_text__static_icons__default: rgba(255, 255, 255, 1);\n\n --eds_text_static_icons__secondary: rgba(222, 229, 231, 1);\n --eds_text__static_icons__secondary: rgba(222, 229, 231, 1);\n\n --eds_text_static_icons__tertiary: rgba(156, 166, 172, 1);\n --eds_text__static_icons__tertiary: rgba(156, 166, 172, 1);\n\n --eds_text_static_icons__primary_white: rgba(61, 61, 61, 1);\n --eds_text__static_icons__primary_white: rgba(61, 61, 61, 1);\n\n --eds_ui_background__default: rgba(19, 38, 52, 1);\n --eds_ui_background__semitransparent: rgba(255, 255, 255, 0.2);\n --eds_ui_background__light: rgba(38, 55, 68, 1);\n --eds_ui_background__scrim: rgba(0, 0, 0, 0.4);\n --eds_ui_background__overlay: rgba(0, 0, 0, 0.8);\n --eds_ui_background__medium: rgba(44, 64, 79, 1);\n --eds_ui_background__info: rgba(43, 126, 166, 1);\n --eds_ui_background__warning: rgba(157, 105, 63, 1);\n --eds_ui_background__danger: rgba(183, 87, 87, 1);\n --eds_infographic_substitute__purple_berry: rgba(140, 17, 89, 1);\n --eds_infographic_substitute__pink_rose: rgba(226, 73, 115, 1);\n --eds_infographic_substitute__pink_salmon: rgba(255, 146, 168, 1);\n --eds_infographic_substitute__green_cucumber: rgba(0, 95, 87, 1);\n --eds_infographic_substitute__green_succulent: rgba(0, 151, 123, 1);\n --eds_infographic_substitute__green_mint: rgba(64, 211, 143, 1);\n --eds_infographic_substitute__blue_ocean: rgba(0, 64, 136, 1);\n --eds_infographic_substitute__blue_overcast: rgba(0, 132, 196, 1);\n --eds_infographic_substitute__blue_sky: rgba(82, 192, 255, 1);\n --eds_infographic_primary__moss_green_100: rgba(0, 112, 121, 1);\n --eds_infographic_primary__moss_green_55: rgba(115, 177, 181, 1);\n --eds_infographic_primary__moss_green_34: rgba(168, 206, 209, 1);\n --eds_infographic_primary__moss_green_21: rgba(201, 224, 226, 1);\n --eds_infographic_primary__moss_green_13: rgba(222, 237, 238, 1);\n --eds_infographic_primary__energy_red_100: rgba(235, 0, 55, 1);\n --eds_infographic_primary__energy_red_55: rgba(255, 125, 152, 1);\n --eds_infographic_primary__energy_red_34: rgba(255, 174, 191, 1);\n --eds_infographic_primary__energy_red_21: rgba(255, 205, 215, 1);\n --eds_infographic_primary__energy_red_13: rgba(255, 224, 231, 1);\n --eds_infographic_primary__weathered_red: rgba(125, 0, 35, 1);\n --eds_infographic_primary__slate_blue: rgba(36, 55, 70, 1);\n --eds_infographic_primary__spruce_wood: rgba(255, 231, 214, 1);\n --eds_infographic_primary__mist_blue: rgba(213, 234, 244, 1);\n --eds_infographic_primary__lichen_green: rgba(230, 250, 236, 1);\n --eds_logo_fill_positive: rgba(235, 0, 55, 1);\n --eds_logo_fill_negative: rgba(255, 255, 255, 1);\n --eds_interactive_primary__selected_highlight: rgba(0, 151, 123, 1);\n --eds_interactive_primary__selected_hover: rgba(0, 95, 87, 1);\n --eds_interactive_primary__resting: rgba(151, 202, 206, 1);\n --eds_interactive_primary__hover: rgba(173, 226, 230, 1);\n --eds_interactive_primary__hover_alt: rgb(96, 125, 127);\n --eds_interactive_secondary__highlight: rgba(255, 255, 255, 0.1);\n --eds_interactive_secondary__resting: rgba(222, 229, 231, 1);\n --eds_interactive_secondary__link_hover: rgba(23, 36, 47, 1);\n --eds_interactive_danger__highlight: rgba(90, 57, 70, 1);\n --eds_interactive_danger__resting: rgba(235, 0, 0, 1);\n --eds_interactive_danger__hover: rgba(255, 148, 155, 1);\n --eds_interactive_danger__text: rgba(255, 102, 112, 1);\n --eds_interactive_warning__highlight: rgba(90, 86, 73, 1);\n --eds_interactive_warning__resting: rgba(255, 146, 0, 1);\n --eds_interactive_warning__hover: rgba(255, 218, 168, 1);\n --eds_interactive_warning__text: rgba(255, 198, 122, 1);\n --eds_interactive_success__highlight: rgba(62, 92, 84, 1);\n --eds_interactive_success__resting: rgba(75, 183, 72, 1);\n --eds_interactive_success__hover: rgba(193, 231, 193, 1);\n --eds_interactive_success__text: rgba(161, 218, 160, 1);\n\n --eds_interactive_table__header__fill_activated: rgba(46, 63, 77, 1);\n --eds_interactive_table__header__fill_resting: rgba(36, 55, 70, 1);\n --eds_interactive_table__header__fill_hover: rgba(50, 77, 98, 1);\n --eds_interactive_table__cell__fill_activated: rgba(36, 55, 70, 1);\n --eds_interactive_table__cell__fill_resting: rgba(19, 38, 52, 1);\n --eds_interactive_table__cell__fill_hover: rgba(30, 60, 82, 1);\n\n --eds_interactive_disabled__text: rgba(99, 117, 131, 1);\n --eds_interactive__disabled__text: rgba(99, 117, 131, 1);\n\n --eds_interactive_disabled__border: rgba(64, 84, 98, 1);\n --eds_interactive__disabled__border: rgba(64, 84, 98, 1);\n\n --eds_interactive_disabled__fill: rgba(52, 68, 80, 1);\n --eds_interactive__disabled__fill: rgba(52, 68, 80, 1);\n\n --eds_interactive_text_highlight: rgba(213, 234, 244, 1);\n --eds_interactive__text_highlight: rgba(213, 234, 244, 1);\n\n --eds_interactive_focus: rgba(0, 112, 121, 1);\n\n --eds_interactive_link_on_interactive_colors: rgba(255, 255, 255, 1);\n --eds_interactive_icon_on_interactive_colors: rgba(255, 255, 255, 1);\n --eds_interactive_link_in_snackbars: rgba(151, 202, 206, 1);\n --eds_interactive_pressed_overlay_dark: rgba(0, 0, 0, 0.2);\n --eds_interactive_pressed_overlay_light: rgba(255, 255, 255, 0.2);\n\n --eds_elevation_raised: 0 1px 5px rgba(0, 0, 0, 0.2),\n 0 3px 4px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.14);\n --eds_elevation_none: 0 0 1px rgba(0, 0, 0, 0.14);\n --eds_elevation_overlay: 0 1px 10px rgba(0, 0, 0, 0.2),\n 0 4px 5px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.14);\n --eds_elevation_sticky: 0 4px 5px rgba(0, 0, 0, 0.2),\n 0 3px 14px rgba(0, 0, 0, 0.12), 0 8px 10px rgba(0, 0, 0, 0.14);\n --eds_elevation_temporary_nav: 0 7px 8px rgba(0, 0, 0, 0.2),\n 0 5px 22px rgba(0, 0, 0, 0.12), 0 12px 17px rgba(0, 0, 0, 0.14);\n --eds_elevation_above_scrim: 0 11px 15px rgba(0, 0, 0, 0.2),\n 0 9px 46px rgba(0, 0, 0, 0.12), 0 24px 38px rgba(0, 0, 0, 0.14);\n\n --eds_heading__h1_color: rgba(255, 255, 255, 1);\n --eds_heading__h2_color: rgba(255, 255, 255, 1);\n --eds_heading__h3_color: rgba(255, 255, 255, 1);\n --eds_heading__h4_color: rgba(255, 255, 255, 1);\n --eds_heading__h5_color: rgba(255, 255, 255, 1);\n --eds_heading__h6_color: rgba(255, 255, 255, 1);\n\n --eds_navigation__label_color: rgba(255, 255, 255, 1);\n --eds_navigation__button_color: rgba(255, 255, 255, 1);\n --eds_input__label_color: rgba(255, 255, 255, 1);\n --eds_input__text_color: var(--eds_text_static_icons__default);\n --eds_paragraph__body_short_color: rgba(255, 255, 255, 1);\n --eds_paragraph__body_long_link_color: rgba(255, 255, 255, 1);\n --eds_table__cell_header_color: rgba(255, 255, 255, 1);\n --eds_table__cell_text_color: rgba(255, 255, 255, 1);\n --eds_table__cell_text_bold_color: rgba(255, 255, 255, 1);\n --eds_table__cell_numeric_monospaced_color: rgba(255, 255, 255, 1);\n\n --eds_navigation__menu_title_color: rgba(255, 255, 255, 1);\n --eds_ui__accordion_header_color: rgba(255, 255, 255, 1);\n\n --eds_paragraph__overline_color: rgba(255, 255, 255, 1);\n --eds_paragraph__caption_color: rgba(255, 255, 255, 1);\n --eds_paragraph__body_short_color: rgba(255, 255, 255, 1);\n --eds_paragraph__body_long_color: rgba(255, 255, 255, 1);\n --eds_paragraph__meta_color: rgba(255, 255, 255, 1);\n\n --eds_interactive__icon_on_interactive_colors: rgba(255, 255, 255, 1);\n\n --eds_ui__chip__badge_color: var(--eds_text_static_icons__default);\n\n\n\n}\n\n\n";export{_ as darkTokens};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{spacings}from"./spacings.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _='\n/*Comfortable, by default*/\nhtml{\n --eds_spacing_xxx_large: 48px;\n --eds_spacing_xx_large: 40px;\n --eds_spacing_x_large: 32px;\n --eds_spacing_large: 24px;\n --eds_spacing_medium: 16px;\n --eds_spacing_medium_small: 12px;\n --eds_spacing_small: 8px;\n --eds_spacing_x_small: 4px;\n --eds_spacing_xx_small: 2px;\n}\n \n/*Compact*/\n[data-spacing-mode="compact"] {\n--eds_spacing_xxx_large: 40px;\n--eds_spacing_xx_large: 32px;\n--eds_spacing_x_large: 40px;\n--eds_spacing_large: 16px;\n--eds_spacing_medium: 12px;\n--eds_spacing_medium_small: 8px;\n--eds_spacing_small: 4px;\n--eds_spacing_x_small: 2px;\n--eds_spacing_xx_small: 0px;\n}\n\n/*Extra Compact*/\n[data-spacing-mode="extra-compact"] {\n--eds_spacing_xxx_large: 32px;\n--eds_spacing_xx_large: 24px;\n--eds_spacing_x_large: 16px;\n--eds_spacing_large: 12px;\n--eds_spacing_medium: 8px;\n--eds_spacing_medium_small: 4px;\n--eds_spacing_small: 2px;\n--eds_spacing_x_small: 0px;\n--eds_spacing_xx_small: 0px;\n}\n';export{_ as spacingTokens};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a={xxx_large:"var(--eds_spacing_xxx_large, 48px)",xx_large:"var(--eds_spacing_xx_large, 40px)",x_large:"var(--eds_spacing_x_large, 32px)",large:"var(--eds_spacing_large, 24px)",medium:"var(--eds_spacing_medium, 16px)",medium_small:"var(--eds_spacing_medium_small, 12px)",small:"var(--eds_spacing_small, 8px)",x_small:"var(--eds_spacing_x-small, 4px)",xx_small:"var(--eds_spacing_xx_small, 2px)"};export{a as spacings};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o;!function(o){o.LOCALHOST="localhost",o.DEVELOP="development",o.STAGING="staging",o.PRODUCTION="production"}(o||(o={}));export{o as EnvironmentType};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var R;!function(R){R.ERROR_400="400",R.ERROR_401="401",R.ERROR_403="403",R.ERROR_404="404",R.ERROR_500="500",R.DEFAULT="default"}(R||(R={}));export{R as ErrorType};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{PublicClientApplication as e}from"@azure/msal-browser";import{EnvironmentType as t}from"../types/Environment.js";const o=["IS_MOCK","ALLOWED_PARENT_DOMAINS","SERVICE_NOW_CONFIGURATION_ITEM"],i=e=>{if(!window._env_)return"";if(void 0===window._env_[e]&&!o.includes(e))throw new Error("Missing required environment variable: "+e);return window._env_[e]},n=e=>e||i("CLIENT_ID"),r=e=>e||i("API_SCOPE"),s=e=>void 0!==e&&"true"===e;const E=function(){let e=import.meta.env.VITE_ENVIRONMENT_NAME;return e||(e=i("ENVIRONMENT_NAME")),`https://client-amplify-portal-${e===t.LOCALHOST?t.DEVELOP:e}.radix.equinor.com`}(),a={OPENID:"openid",PROFILE:"profile",USER_READ:"User.Read"},c={scopes:[a.OPENID,a.PROFILE,a.USER_READ]},_={scopes:[a.USER_READ]},I=e=>({scopes:[e]}),A=new e({auth:{clientId:n(import.meta.env.VITE_CLIENT_ID),authority:"https://login.microsoftonline.com/StatoilSRM.onmicrosoft.com/",redirectUri:window.location.origin},cache:{cacheLocation:"localStorage",storeAuthStateInCookie:!1}}),l=(O=import.meta.env.ALLOWED_PARENT_DOMAINS)?O.split(";"):i("ALLOWED_PARENT_DOMAINS")?.split(";")||[];var O;window.addEventListener("message",(async e=>{if(l.includes(e.origin)){const t=e.data;if(t){await A.initialize();try{await A.ssoSilent({sid:t}),console.log("postMessage successfully logged in user!")}catch(e){console.error("Something went wrong with postMessage"),console.error(e)}}}}));const N={fetchMsGraph:(e,t)=>fetch(e,{headers:{Authorization:`Bearer ${t}`}}),GRAPH_SCOPES:a,GRAPH_REQUESTS_LOGIN:c,GRAPH_REQUESTS_PHOTO:_,GRAPH_REQUESTS_BACKEND:I,GRAPH_ENDPOINTS:{PHOTO:"https://graph.microsoft.com/v1.0/me/photos/96x96/$value"},msalApp:A,getToken:async()=>{if(s(import.meta.env.VITE_IS_MOCK))return"";const e=A.getActiveAccount(),t=A.getAllAccounts();if(!e&&0===t.length)return"";return(await A.acquireTokenSilent(I(r(import.meta.env.VITE_API_SCOPE)))).accessToken},isReaderOnly:e=>{if(e){return!e.some((e=>e.includes("WRITE")))}return!0},isInIframe:()=>window.self!==window.top},m={getConfig:i,getAppName:e=>e||i("NAME"),getClientId:n,getApiUrl:e=>e||i("API_URL"),getApiScope:r,getEnvironmentName:e=>e||i("ENVIRONMENT_NAME"),getIsMock:s,getServiceNowConfigurationItem:e=>e||i("SERVICE_NOW_CONFIGURATION_ITEM"),PORTAL_URL_WITHOUT_LOCALHOST:E};export{N as auth,m as environment};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t={formatLatLng:function(t){const n=t.toString().split(".");return`${n[0]}.${n[1].substring(0,7)}`},formatUtm:function(t,n=2){const r=t.toString().split(".");return`${r[0]}.${r[1].substring(0,n)}m`}};export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=(t,e={month:"long",hideYear:!1,isGMT:!1})=>{if(t){const i=new Date(t);if(i.getTime()){e.isGMT&&i.setTime(i.getTime()+6e4*i.getTimezoneOffset());return`${i.toLocaleDateString("en-GB",{day:"numeric"})}. ${i.toLocaleString("en-GB",{month:e.month??"long",year:e.hideYear?void 0:"numeric",hour:"2-digit",minute:"2-digit"})}`}}return""};var e={formatDate:(t,e)=>{if(t){const i=new Date(t);if(i.getTime()){if("DD. month YYYY"===e?.format){return`${i.toLocaleDateString("en-GB",{day:"numeric",timeZone:e.useUTC?"UTC":void 0})}. ${i.toLocaleString("en-GB",{month:e?.month??"long",year:"numeric",timeZone:e.useUTC?"UTC":void 0})}`}const t=e?.useUTC?i.getUTCDate():i.getDate(),n=e?.useUTC?i.getUTCMonth()+1:i.getMonth()+1,r=e?.useUTC?i.getUTCFullYear():i.getFullYear();if("DD. month"===e?.format){return`${i.toLocaleDateString("en-GB",{day:"numeric",timeZone:e.useUTC?"UTC":void 0})}. ${i.toLocaleString("en-GB",{month:e.month??"long",timeZone:e.useUTC?"UTC":void 0})}`}return"YYYY-MM-DD"===e?.format?`${r.toString().padStart(4,"0")}-${n.toString().padStart(2,"0")}-${t.toString().padStart(2,"0")}`:"DD.MM.YY"===e?.format?`${t.toString().padStart(2,"0")}.${n.toString().padStart(2,"0")}.${r.toString().padStart(4,"0").slice(-2)}`:`${t.toString().padStart(2,"0")}.${n.toString().padStart(2,"0")}.${r.toString().padStart(4,"0")}`}}return""},formatDateTime:t,formatRelativeDateTime:(e,i=!1)=>{if(e){const n=new Date(e),r=new Date;if(n.getTime()){i&&n.setTime(n.getTime()+6e4*n.getTimezoneOffset());const a=(n<r?r.getTime()-n.getTime():n.getTime()-r.getTime())/864e5,o=n.toLocaleTimeString("en-GB",{hour:"2-digit",minute:"2-digit"});return a<1&&n.getDate()===r.getDate()?`Today at ${o}`:a<2&&n<r?`Yesterday at ${o}`:a<2&&a>=0?`Tomorrow at ${o}`:a>2&&a<7&&n>r?`${n.toLocaleString("en-GB",{weekday:"long"})} at ${o}`:t(e,{hideYear:n.getFullYear()===r.getFullYear()})}}return""},isBetweenDates:(t,e)=>{if(t){if(new Date(t).getTime())return t>=e[0]&&t<=e[1]}return!1}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import e from"../components/Feedback/ErrorPage/illustrations/GlitchAnimation.js";import o from"../components/Feedback/ErrorPage/illustrations/QuestioningAnimation.js";import{ErrorType as i}from"../types/Errors.js";const r=r=>[{type:i.DEFAULT,illustration:t(o,{}),title:"Oops! Something went wrong.",description:"Try again later or use our feedback form if the problem persists."},{type:i.ERROR_400,illustration:t(o,{}),title:"Bad Request, oh no!",description:"We got a little confused by your request. Try again later, or report the bug in the feedback form in the topbar if the problem persist."},{type:i.ERROR_401,illustration:t(e,{}),title:`You don’t have access to ${r}.`,description:`Beep boop, dont worry! You can apply for ${r} in AccessIT`,button:{text:"Apply for access",onClick:()=>window.open("https://accessit.equinor.com/#","_blank")}},{type:i.ERROR_403,illustration:t(e,{}),title:"It looks like you don't have permission to access this page.",description:""},{type:i.ERROR_404,illustration:t(o,{}),title:"Page not found!",description:"It looks like the page you're looking for has gone missing. Please check the URL and try again."},{type:i.ERROR_500,illustration:t(e,{}),title:"Oops, our server just hiccuped!",description:"It looks like the page you're looking for has gone missing. Please check the URL and try again."}],s=(t,e)=>{const o=r(t).find((t=>t.type===e));return o||r(t).find((t=>t.type===i.DEFAULT))};var n={getErrorContent:s,getListOfErrors:r};export{n as default,s as getErrorContent,r as getListOfErrors};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import t from"html2canvas";const r=(r,e)=>{if(!r.current)throw new Error("'node' must be a RefObject");const n=r.current;return t(n,{scrollY:-window.scrollY,useCORS:!0,backgroundColor:e||"#FFFFFF"}).then((t=>function(t){const r=window.atob(t.split(",")[1]),e=t.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(r.length),o=new Uint8Array(n);for(let t=0;t<r.length;t++)o[t]=r.charCodeAt(t);return new Blob([n],{type:e})}(t.toDataURL("image/png",1))))};export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={setupIcons:(e,d)=>{const n=document.querySelector(`link#${e}`),o=document.querySelector(`link#${d}`);const t=window.matchMedia("(prefers-color-scheme:dark)"),c=()=>{t.matches?o&&n&&(document.head.removeChild(n),document.head.appendChild(o)):o&&n&&(document.head.removeChild(o),document.head.appendChild(n))};t.addEventListener("change",c),c()}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{auth,environment}from"./auth_environment.js";export{default as coordinate}from"./coordinate.js";export{default as date}from"./date.js";export{default as errors}from"./errors.js";export{default as exportComponent}from"./export.js";export{default as favicon}from"./favicon.js";export{default as map}from"./map.js";export{default as size}from"./size.js";export{default as sort}from"./sort.js";export{default as string}from"./string.js";export{default as url}from"./url.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import t from"proj4";function n(t){return t*(Math.PI/180)}const a="+proj=utm +zone=31 +ellps=intl +towgs84=-90.365,-101.13,-123.384,0.333,0.077,0.894,1.994 +units=m +no_defs";var o={distanceLatLng:function(t,a){const o=n(a.lat-t.lat),r=n(a.lng-t.lng),s=Math.sin(o/2)*Math.sin(o/2)+Math.cos(n(t.lat))*Math.cos(n(a.lat))*Math.sin(r/2)*Math.sin(r/2);return 6371*(2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s)))},utmProjection:a,convertUtmToLatLng:function(n,o){const r=t(a,"EPSG:4326",[Number(n),Number(o)]);return{lat:r[1],lng:r[0]}},convertLatLngToUtm:function(n){const o=t("EPSG:4326",a,[n.lng,n.lat]);return[o[0],o[1]]}};export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=e=>{const t=[],a=e.filter((e=>e.createdDate)),n=a.map((e=>{const t=new Date(e.createdDate);return{date:t,year:t.getFullYear(),month:t.getMonth()}}));for(const e of a){const a=new Date(e.createdDate),r=a.toLocaleString("en-US",{year:"numeric"}),o=`year${a.toLocaleString("en-US",{year:"numeric"})}`;if(t.find((e=>e.value===o)))continue;const l=n.filter((e=>e.year===a.getFullYear())),c=[...new Map(l.map((e=>[e.month,e]))).values()];c.sort(((e,t)=>t.date.getTime()-e.date.getTime()));const s=c.map((e=>{const t=e.date.toLocaleString("en-US",{month:"long"});return{label:t,value:`${o}--${t}`}}));t.push({label:r,value:o,children:s})}return t.sort(((e,t)=>{const a=parseInt(e.label);return parseInt(t.label)-a})),t},t=e=>`year${e.getFullYear()}--${e.toLocaleDateString("en-GB",{month:"long"})}`,a=e=>e.sort(((e,t)=>{const a=new Date(e.createdDate??"").getTime(),n=new Date(t.createdDate??"").getTime(),r=Number.isNaN(a)?0:a;return(Number.isNaN(n)?0:n)-r}));export{e as extractDatesFromReleaseNotes,t as monthValueToString,a as sortReleaseNotesByDate};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=1024,e=(e,r=2)=>{if(e<0)return"0 Bytes";if(0===e)return"0 Bytes";if(1===e)return"1 Byte";const B=r<0?0:r,o=Math.floor(Math.log(e)/Math.log(t));return parseFloat((e/Math.pow(t,o)).toFixed(B))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][o]};var r={formatBytes:e,formatKiloBytes:(r,B=2)=>e(r*t,B)};export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={sortByDate:function(e,t){const o="string"==typeof e?new Date(e):e,r="string"==typeof t?new Date(t):t;return o>r?-1:o<r?1:0},sortByWellboreName:function(e,t){const o="string"==typeof e?e:e.wellboreName,r="string"==typeof t?t:t.wellboreName;return o&&r?o.localeCompare(r,void 0,{numeric:!0,sensitivity:"base"}):0}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a={Empty:"",capitalize:a=>a.toLowerCase().split(" ").map((a=>a.charAt(0).toUpperCase()+a.substring(1))).join(" ")};export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a={isValidUrl:function(a){return new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(a)}};export{a as default};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
2
|
+
import type { ApiResult } from './ApiResult';
|
|
3
|
+
export declare class ApiError extends Error {
|
|
4
|
+
readonly url: string;
|
|
5
|
+
readonly status: number;
|
|
6
|
+
readonly statusText: string;
|
|
7
|
+
readonly body: any;
|
|
8
|
+
readonly request: ApiRequestOptions;
|
|
9
|
+
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type ApiRequestOptions = {
|
|
2
|
+
readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
|
|
3
|
+
readonly url: string;
|
|
4
|
+
readonly path?: Record<string, any>;
|
|
5
|
+
readonly cookies?: Record<string, any>;
|
|
6
|
+
readonly headers?: Record<string, any>;
|
|
7
|
+
readonly query?: Record<string, any>;
|
|
8
|
+
readonly formData?: Record<string, any>;
|
|
9
|
+
readonly body?: any;
|
|
10
|
+
readonly mediaType?: string;
|
|
11
|
+
readonly responseHeader?: string;
|
|
12
|
+
readonly errors?: Record<number, string>;
|
|
13
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare class CancelError extends Error {
|
|
2
|
+
constructor(message: string);
|
|
3
|
+
get isCancelled(): boolean;
|
|
4
|
+
}
|
|
5
|
+
export interface OnCancel {
|
|
6
|
+
readonly isResolved: boolean;
|
|
7
|
+
readonly isRejected: boolean;
|
|
8
|
+
readonly isCancelled: boolean;
|
|
9
|
+
(cancelHandler: () => void): void;
|
|
10
|
+
}
|
|
11
|
+
export declare class CancelablePromise<T> implements Promise<T> {
|
|
12
|
+
readonly [Symbol.toStringTag]: string;
|
|
13
|
+
private _isResolved;
|
|
14
|
+
private _isRejected;
|
|
15
|
+
private _isCancelled;
|
|
16
|
+
private readonly _cancelHandlers;
|
|
17
|
+
private readonly _promise;
|
|
18
|
+
private _resolve?;
|
|
19
|
+
private _reject?;
|
|
20
|
+
constructor(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void, onCancel: OnCancel) => void);
|
|
21
|
+
then<TResult1 = T, TResult2 = never>(onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>;
|
|
22
|
+
catch<TResult = never>(onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null): Promise<T | TResult>;
|
|
23
|
+
finally(onFinally?: (() => void) | null): Promise<T>;
|
|
24
|
+
cancel(): void;
|
|
25
|
+
get isCancelled(): boolean;
|
|
26
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
2
|
+
import { CancelablePromise } from 'src/api/core/CancelablePromise';
|
|
3
|
+
type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
|
|
4
|
+
type Headers = Record<string, string>;
|
|
5
|
+
export type OpenAPIConfig = {
|
|
6
|
+
BASE: string;
|
|
7
|
+
VERSION: string;
|
|
8
|
+
WITH_CREDENTIALS: boolean;
|
|
9
|
+
CREDENTIALS: 'include' | 'omit' | 'same-origin';
|
|
10
|
+
TOKEN?: string | Resolver<string>;
|
|
11
|
+
USERNAME?: string | Resolver<string>;
|
|
12
|
+
PASSWORD?: string | Resolver<string>;
|
|
13
|
+
HEADERS?: Headers | Resolver<Headers>;
|
|
14
|
+
ENCODE_PATH?: (path: string) => string;
|
|
15
|
+
};
|
|
16
|
+
export declare class TokenService {
|
|
17
|
+
/**
|
|
18
|
+
* @returns string Success
|
|
19
|
+
* @throws ApiError
|
|
20
|
+
*/
|
|
21
|
+
static getAmplifyPortalToken(): CancelablePromise<string>;
|
|
22
|
+
/**
|
|
23
|
+
* @returns string Success
|
|
24
|
+
* @throws ApiError
|
|
25
|
+
*/
|
|
26
|
+
static getAmplifyPortalProductionToken(): CancelablePromise<string>;
|
|
27
|
+
}
|
|
28
|
+
export declare const getPortalToken: () => Promise<string>;
|
|
29
|
+
export declare const OpenAPI: OpenAPIConfig;
|
|
30
|
+
export declare const OpenAPI_Portal: OpenAPIConfig;
|
|
31
|
+
export declare const OpenAPI_Portal_Prod: OpenAPIConfig;
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
2
|
+
import { CancelablePromise } from './CancelablePromise';
|
|
3
|
+
import type { OnCancel } from './CancelablePromise';
|
|
4
|
+
import type { OpenAPIConfig } from './OpenAPI';
|
|
5
|
+
export declare const sendRequest: (config: OpenAPIConfig, options: ApiRequestOptions, url: string, body: any, formData: FormData | undefined, headers: Headers, onCancel: OnCancel) => Promise<XMLHttpRequest>;
|
|
6
|
+
/**
|
|
7
|
+
* Request method
|
|
8
|
+
* @param config The OpenAPI configuration object
|
|
9
|
+
* @param options The request options from the service
|
|
10
|
+
* @returns CancelablePromise<T>
|
|
11
|
+
* @throws ApiError
|
|
12
|
+
*/
|
|
13
|
+
export declare const request: <T>(config: OpenAPIConfig, options: ApiRequestOptions) => CancelablePromise<T>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { ApiError } from './core/ApiError';
|
|
2
|
+
export { CancelablePromise, CancelError } from './core/CancelablePromise';
|
|
3
|
+
export { OpenAPI } from './core/OpenAPI';
|
|
4
|
+
export { request } from './core/request';
|
|
5
|
+
export type { OpenAPIConfig } from './core/OpenAPI';
|
|
6
|
+
export type { Feature } from './models/Feature';
|
|
7
|
+
export type { CustomTutorialStep } from './models/CustomTutorialStep';
|
|
8
|
+
export type { GenericTutorialStep } from './models/GenericTutorialStep';
|
|
9
|
+
export type { Tutorial } from './models/Tutorial';
|
|
10
|
+
export type { FeatureToggleDto } from './models/FeatureToggleDto';
|
|
11
|
+
export type { GraphUser } from './models/GraphUser';
|
|
12
|
+
export type { ServiceNowIncidentResponse } from './models/ServiceNowIncidentResponse';
|
|
13
|
+
export type { ServiceNowIncidentAttachmentResponse } from './models/ServiceNowIncidentAttachmentResponse';
|
|
14
|
+
export { TutorialPosition } from './models/TutorialPosition';
|
|
15
|
+
export { ServiceNowUrgency } from './models/ServiceNowUrgency';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AccessRoles } from './AccessRole';
|
|
2
|
+
export type AmplifyApplication = {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
adGroups: Array<string>;
|
|
6
|
+
url: string;
|
|
7
|
+
accessRoles: Array<AccessRoles>;
|
|
8
|
+
description: string;
|
|
9
|
+
longDescription: string;
|
|
10
|
+
category: string;
|
|
11
|
+
version: string;
|
|
12
|
+
applicationInsightAPI: string;
|
|
13
|
+
apI_Id: string;
|
|
14
|
+
apiurl: string;
|
|
15
|
+
monitored: boolean;
|
|
16
|
+
productOwners: Array<string>;
|
|
17
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ServiceNowIncidentAttachmentResponse } from './ServiceNowIncidentAttachmentResponse';
|
|
2
|
+
export type ServiceNowIncidentResponse = {
|
|
3
|
+
number?: string | null;
|
|
4
|
+
assignmentGroup?: string | null;
|
|
5
|
+
configurationItem?: string | null;
|
|
6
|
+
title?: string | null;
|
|
7
|
+
description?: string | null;
|
|
8
|
+
caller?: string | null;
|
|
9
|
+
state?: string | null;
|
|
10
|
+
urgency?: string | null;
|
|
11
|
+
sysId?: string | null;
|
|
12
|
+
attachmentResponse?: ServiceNowIncidentAttachmentResponse;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CustomTutorialStep } from './CustomTutorialStep';
|
|
2
|
+
import { GenericTutorialStep } from './GenericTutorialStep';
|
|
3
|
+
export type Tutorial = {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
shortName: string;
|
|
7
|
+
path: string;
|
|
8
|
+
application: string;
|
|
9
|
+
steps: Array<CustomTutorialStep | GenericTutorialStep>;
|
|
10
|
+
showInProd: boolean;
|
|
11
|
+
willPopUp: boolean;
|
|
12
|
+
dynamicPositioning?: boolean | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { CancelablePromise } from '../';
|
|
2
|
+
import { FeatureToggleDto } from '../';
|
|
3
|
+
import { ServiceNowIncidentResponse } from 'src/api/models/ServiceNowIncidentResponse';
|
|
4
|
+
import { AmplifyApplication } from '../models/Applications';
|
|
5
|
+
export declare class PortalService {
|
|
6
|
+
/**
|
|
7
|
+
* Creates a incident report in service now
|
|
8
|
+
* @param formData
|
|
9
|
+
* @returns any Success
|
|
10
|
+
* @throws ApiError
|
|
11
|
+
*/
|
|
12
|
+
static createIncident(formData?: FormData): CancelablePromise<ServiceNowIncidentResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Uploads file to slack and links it to a channel defined in config
|
|
15
|
+
* @param formData
|
|
16
|
+
* @returns any Success
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
static fileUpload(formData?: FormData): CancelablePromise<unknown>;
|
|
20
|
+
/**
|
|
21
|
+
* Posts a slack message to channel defined in config
|
|
22
|
+
* @param formData
|
|
23
|
+
* @returns any Success
|
|
24
|
+
* @throws ApiError
|
|
25
|
+
*/
|
|
26
|
+
static postmessage(formData?: FormData): CancelablePromise<unknown>;
|
|
27
|
+
/**
|
|
28
|
+
* Gets a Feature Toggle from Application name
|
|
29
|
+
* @param applicationName name
|
|
30
|
+
* @returns FeatureToggleDto Success
|
|
31
|
+
* @throws ApiError
|
|
32
|
+
*/
|
|
33
|
+
static getFeatureToggleFromApplicationName(applicationName: string): CancelablePromise<FeatureToggleDto>;
|
|
34
|
+
static userApplications(): CancelablePromise<Array<AmplifyApplication>>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
2
|
+
export declare class ReleaseNotesService {
|
|
3
|
+
/**
|
|
4
|
+
* @param applicationName
|
|
5
|
+
* @param version
|
|
6
|
+
* @param tags
|
|
7
|
+
* @returns any Success
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static getReleasenoteList(applicationName?: string, version?: string, tags?: Array<string>): CancelablePromise<any>;
|
|
11
|
+
/**
|
|
12
|
+
* @returns any Success
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
static getMyReleasenotes(): CancelablePromise<any>;
|
|
16
|
+
/**
|
|
17
|
+
* @param applicationName
|
|
18
|
+
* @param releaseId
|
|
19
|
+
* @returns any Success
|
|
20
|
+
* @throws ApiError
|
|
21
|
+
*/
|
|
22
|
+
static getReleasenote(applicationName: string, releaseId: string): CancelablePromise<any>;
|
|
23
|
+
/**
|
|
24
|
+
* @returns string Success
|
|
25
|
+
* @throws ApiError
|
|
26
|
+
*/
|
|
27
|
+
static getContainerSasUri(): CancelablePromise<string>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Tutorial } from '../models/Tutorial';
|
|
2
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
3
|
+
export declare class TutorialService {
|
|
4
|
+
/**
|
|
5
|
+
* Gets all tutorials for Application
|
|
6
|
+
* @param applicationName
|
|
7
|
+
* @returns Tutorial Success
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static getTutorialsForApplication(applicationName: string): CancelablePromise<Array<Tutorial>>;
|
|
11
|
+
static getTutorialSasToken(): CancelablePromise<string>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Variants } from 'src/components/DataDisplay/Badge/Badge';
|
|
2
|
+
interface CountDotProps {
|
|
3
|
+
$variant: Variants;
|
|
4
|
+
}
|
|
5
|
+
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, CountDotProps>> & string;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { IconData } from '@equinor/eds-icons';
|
|
3
|
+
export interface BaseChipProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
onDelete?: (event: unknown) => void;
|
|
7
|
+
variant?: 'default' | 'active' | 'warning' | 'warning-active' | 'error' | 'error-active';
|
|
8
|
+
onClick?: (event: unknown) => void;
|
|
9
|
+
leadingIconData?: IconData;
|
|
10
|
+
}
|
|
11
|
+
export declare const Chip: {
|
|
12
|
+
({ children, variant, disabled, onClick, onDelete, ...otherProps }: BaseChipProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { InteractiveChipProps } from './InteractiveChip';
|
|
2
|
+
import { ReadOnlyChipProps } from './ReadOnlyChip';
|
|
3
|
+
export declare const InteractiveChipStyle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, InteractiveChipProps>> & string;
|
|
4
|
+
export declare const ReadOnlyChipStyle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ReadOnlyChipProps>> & string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { BaseChipProps } from './Chip';
|
|
3
|
+
export type InteractiveChipProps = BaseChipProps & HTMLAttributes<HTMLButtonElement>;
|
|
4
|
+
export declare const InteractiveChip: import("react").ForwardRefExoticComponent<BaseChipProps & HTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { BaseChipProps } from './Chip';
|
|
3
|
+
export type ReadOnlyChipProps = BaseChipProps & HTMLAttributes<HTMLDivElement>;
|
|
4
|
+
export declare const ReadOnlyChip: import("react").ForwardRefExoticComponent<BaseChipProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MouseEvent, MouseEventHandler, ReactElement } from 'react';
|
|
2
|
+
import { IconData } from '@equinor/eds-icons';
|
|
3
|
+
export interface DataCardProps {
|
|
4
|
+
headerText: string;
|
|
5
|
+
title: string;
|
|
6
|
+
tooltipOnTitle?: boolean;
|
|
7
|
+
rightIcon?: IconData;
|
|
8
|
+
rightElement?: ReactElement;
|
|
9
|
+
body?: ReactElement;
|
|
10
|
+
className?: string;
|
|
11
|
+
onClick?: MouseEventHandler;
|
|
12
|
+
onContextMenu?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated Being deprecated from amplify-components-library, move into app if you want the implementation
|
|
16
|
+
*/
|
|
17
|
+
declare const DataCard: import("react").ForwardRefExoticComponent<DataCardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
18
|
+
export default DataCard;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface HeaderDrawerProps extends HTMLAttributes<'h6'> {
|
|
3
|
+
title: string;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
openByDefault?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Being deprecated from amplify-components-library, move into app if you want the implementation
|
|
9
|
+
*/
|
|
10
|
+
declare const HeaderDrawer: import("react").ForwardRefExoticComponent<HeaderDrawerProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
11
|
+
export default HeaderDrawer;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
export interface CopyTextProps {
|
|
3
|
+
textToCopy: string;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Being deprecated from amplify-components-library, move into app if you want the implementation
|
|
8
|
+
*/
|
|
9
|
+
declare const CopyText: FC<CopyTextProps>;
|
|
10
|
+
export default CopyText;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { ReactElement } from 'react';
|
|
2
|
+
export interface InfoElementProps {
|
|
3
|
+
title: string;
|
|
4
|
+
content: ReactElement | string;
|
|
5
|
+
capitalizeContent?: boolean;
|
|
6
|
+
copyableContent?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const InfoElement: React.ForwardRefExoticComponent<InfoElementProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export default InfoElement;
|