@corva/ui 3.75.0-9 → 3.75.0-rc.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/MCP_README.md +1 -1
- package/cjs-bundle/components/AddComment/Popover.js +1 -1
- package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
- package/cjs-bundle/components/AdvancedSlider/Handle.js +1 -1
- package/cjs-bundle/components/AdvancedSlider/Handle.js.map +1 -1
- package/cjs-bundle/components/AttachFileButton/AttachFileButton.js +1 -1
- package/cjs-bundle/components/AttachFileButton/AttachFileButton.js.map +1 -1
- package/cjs-bundle/components/Attachment/index.js +1 -1
- package/cjs-bundle/components/Attachment/index.js.map +1 -1
- package/cjs-bundle/components/AttachmentLightbox/AttachmentLightbox.js +1 -1
- package/cjs-bundle/components/AttachmentLightbox/AttachmentLightbox.js.map +1 -1
- package/cjs-bundle/components/AttachmentLightbox/AttachmentPreviewPane.js +1 -1
- package/cjs-bundle/components/AttachmentLightbox/AttachmentPreviewPane.js.map +1 -1
- package/cjs-bundle/components/AttachmentPreview/AttachmentActionsMenu.js +1 -1
- package/cjs-bundle/components/AttachmentPreview/AttachmentActionsMenu.js.map +1 -1
- package/cjs-bundle/components/AttachmentPreview/AttachmentDownloadLink.js +1 -1
- package/cjs-bundle/components/AttachmentPreview/AttachmentDownloadLink.js.map +1 -1
- package/cjs-bundle/components/AttachmentPreview/AttachmentTile.js +1 -1
- package/cjs-bundle/components/AttachmentPreview/AttachmentTile.js.map +1 -1
- package/cjs-bundle/components/AttachmentPreview/SortableAttachments.js +1 -1
- package/cjs-bundle/components/AttachmentPreview/SortableAttachments.js.map +1 -1
- package/cjs-bundle/components/AttachmentPreview/useStoredAttachments.js +1 -1
- package/cjs-bundle/components/AttachmentPreview/useStoredAttachments.js.map +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/Map.js.map +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
- package/cjs-bundle/components/Breadcrumbs/index.js +1 -1
- package/cjs-bundle/components/Breadcrumbs/index.js.map +1 -1
- package/cjs-bundle/components/Button/components/LiveButton/index.js +1 -1
- package/cjs-bundle/components/Button/components/LiveButton/index.js.map +1 -1
- package/cjs-bundle/components/Button/index.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
- package/cjs-bundle/components/Chart/components/AxisDropdown.js +1 -1
- package/cjs-bundle/components/Chart/components/AxisDropdown.js.map +1 -1
- package/cjs-bundle/components/Chart/components/ChartSelect.js +1 -1
- package/cjs-bundle/components/Chart/components/ChartSelect.js.map +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js.map +1 -1
- package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js.map +1 -1
- package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js.map +1 -1
- package/cjs-bundle/components/Chart/components/buttons/PanButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/PanButton.js.map +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js.map +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js.map +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js.map +1 -1
- package/cjs-bundle/components/Chip/index.js +1 -1
- package/cjs-bundle/components/Chip/index.js.map +1 -1
- package/cjs-bundle/components/CollapsableSidebar.js +1 -1
- package/cjs-bundle/components/CollapsableSidebar.js.map +1 -1
- package/cjs-bundle/components/CollapsibleContent.js +1 -1
- package/cjs-bundle/components/CollapsibleContent.js.map +1 -1
- package/cjs-bundle/components/ColorPicker/ColorPicker.js +1 -1
- package/cjs-bundle/components/ColorPicker/ColorPicker.js.map +1 -1
- package/cjs-bundle/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
- package/cjs-bundle/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js.map +1 -1
- package/cjs-bundle/components/CommentCard/CommentCard.js +1 -1
- package/cjs-bundle/components/CommentCard/CommentCard.js.map +1 -1
- package/cjs-bundle/components/CommentCard/CommentCardReactions.js +1 -1
- package/cjs-bundle/components/CommentCard/CommentCardReactions.js.map +1 -1
- package/cjs-bundle/components/CommentCard/CommentCardReplies.js +1 -1
- package/cjs-bundle/components/CommentCard/CommentCardReplies.js.map +1 -1
- package/cjs-bundle/components/CommentCard/buildCommentReply.js +1 -1
- package/cjs-bundle/components/CommentCard/buildCommentReply.js.map +1 -1
- package/cjs-bundle/components/CommentComposer/ChatChannelSelector.js +1 -1
- package/cjs-bundle/components/CommentComposer/ChatChannelSelector.js.map +1 -1
- package/cjs-bundle/components/CommentComposer/CommentComposer.js +1 -1
- package/cjs-bundle/components/CommentComposer/CommentComposer.js.map +1 -1
- package/cjs-bundle/components/CommentComposer/useAttachmentUpload.js +1 -1
- package/cjs-bundle/components/CommentComposer/useAttachmentUpload.js.map +1 -1
- package/cjs-bundle/components/CommentInputNext/CommentInputNext.js +1 -1
- package/cjs-bundle/components/CommentInputNext/CommentInputNext.js.map +1 -1
- package/cjs-bundle/components/CommentLoader.js +1 -1
- package/cjs-bundle/components/CommentLoader.js.map +1 -1
- package/cjs-bundle/components/ConfirmationDialog.js +1 -1
- package/cjs-bundle/components/ConfirmationDialog.js.map +1 -1
- package/cjs-bundle/components/CopyToClipboard/CopyToClipboard.js +1 -1
- package/cjs-bundle/components/CopyToClipboard/CopyToClipboard.js.map +1 -1
- package/cjs-bundle/components/Counter/index.js +1 -1
- package/cjs-bundle/components/Counter/index.js.map +1 -1
- package/cjs-bundle/components/DatePicker/index.js +1 -1
- package/cjs-bundle/components/DatePicker/index.js.map +1 -1
- package/cjs-bundle/components/DateTimePicker/index.js +1 -1
- package/cjs-bundle/components/DateTimePicker/index.js.map +1 -1
- package/cjs-bundle/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
- package/cjs-bundle/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js.map +1 -1
- package/cjs-bundle/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
- package/cjs-bundle/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js.map +1 -1
- package/cjs-bundle/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
- package/cjs-bundle/components/DevCenter/AppSideBar/AppSideBar.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js.map +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BhaIndicator/styles.css.js +1 -1
- package/cjs-bundle/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
- package/cjs-bundle/components/EChartsWrapper/components/Toolbox/Toolbox.js.map +1 -1
- package/cjs-bundle/components/EmojiIconButton.js +1 -1
- package/cjs-bundle/components/EmojiIconButton.js.map +1 -1
- package/cjs-bundle/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
- package/cjs-bundle/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js.map +1 -1
- package/cjs-bundle/components/ErrorBoundary/ErrorBoundary.js +1 -1
- package/cjs-bundle/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
- package/cjs-bundle/components/FeedCard/useFeedActivity.js +1 -1
- package/cjs-bundle/components/FeedCard/useFeedActivity.js.map +1 -1
- package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/FeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/components/Icon.js +1 -1
- package/cjs-bundle/components/FeedItem/components/Icon.js.map +1 -1
- package/cjs-bundle/components/FeedItem/components/LessonsLearnedLeafIcon.js +1 -1
- package/cjs-bundle/components/FeedItem/components/LessonsLearnedLeafIcon.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/AlertFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/AlertFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/styles.scss.js +2 -0
- package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaNumber.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaNumber.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/Info.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/Info.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/NoData.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/components/NoData.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/styles.scss.js +2 -0
- package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionDocumentFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionDocumentFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionNptFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionNptFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/DepthCommentFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/DepthCommentFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/DocumentFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/DocumentFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/DrillerMemoFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/DrillerMemoFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/DvDCommentFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/DvDCommentFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/FluidReportFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/FluidReportFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/GenericDataCommentFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/GenericDataCommentFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/GeosteeringFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/GeosteeringFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/NptFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/NptFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/PCCommentFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/PCCommentFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/PostFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/PostFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/ActualPointInfo.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/ActualPointInfo.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/Warning.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/Warning.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/TracesMemoFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/TracesMemoFeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/VerticalSectionAzimuth.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/VerticalSectionAzimuth.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js.map +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/styles.scss.js +2 -0
- package/cjs-bundle/components/FeedItem/feedItemTypes/components/ContextRow.js +2 -0
- package/cjs-bundle/components/FeedItem/feedItemTypes/components/ContextRow.js.map +1 -0
- package/cjs-bundle/components/FeedItem/feedItemTypes/components/FeedAttachment.js +2 -0
- package/cjs-bundle/components/FeedItem/feedItemTypes/components/FeedAttachment.js.map +1 -0
- package/cjs-bundle/components/FilesDropzone/FilesDropzone.js +1 -1
- package/cjs-bundle/components/FilesDropzone/FilesDropzone.js.map +1 -1
- package/cjs-bundle/components/FilesLoader/FilesLoader.js +1 -1
- package/cjs-bundle/components/FilesLoader/FilesLoader.js.map +1 -1
- package/cjs-bundle/components/FilesLoaderV2/FilesLoaderV2.js +1 -1
- package/cjs-bundle/components/FilesLoaderV2/FilesLoaderV2.js.map +1 -1
- package/cjs-bundle/components/Formula/CloseSuggestion.js +1 -1
- package/cjs-bundle/components/Formula/CloseSuggestion.js.map +1 -1
- package/cjs-bundle/components/Formula/Formula.js +1 -1
- package/cjs-bundle/components/Formula/Formula.js.map +1 -1
- package/cjs-bundle/components/GradientManager/GradientManager.js +1 -1
- package/cjs-bundle/components/GradientManager/GradientManager.js.map +1 -1
- package/cjs-bundle/components/GradientManager/GradientSelect.js +1 -1
- package/cjs-bundle/components/GradientManager/GradientSelect.js.map +1 -1
- package/cjs-bundle/components/GradientPicker/GradientPicker.js +1 -1
- package/cjs-bundle/components/GradientPicker/GradientPicker.js.map +1 -1
- package/cjs-bundle/components/HelpCenter/HelpCenterIcon.js +1 -1
- package/cjs-bundle/components/HelpCenter/HelpCenterIcon.js.map +1 -1
- package/cjs-bundle/components/Hint/Hint.js +1 -1
- package/cjs-bundle/components/Hint/Hint.js.map +1 -1
- package/cjs-bundle/components/InfiniteList/index.js +1 -1
- package/cjs-bundle/components/InfiniteList/index.js.map +1 -1
- package/cjs-bundle/components/Modal/CorvaModal.js +1 -1
- package/cjs-bundle/components/Modal/CorvaModal.js.map +1 -1
- package/cjs-bundle/components/Notifications/Toast.js +1 -1
- package/cjs-bundle/components/Notifications/Toast.js.map +1 -1
- package/cjs-bundle/components/OffsetWellMap/OffsetWellMap.js +1 -1
- package/cjs-bundle/components/OffsetWellMap/OffsetWellMap.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/effects/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/effects/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useIsAdmin.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/useIsAdmin.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/utils/getCoordinatedWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/utils/getCoordinatedWells.js.map +1 -1
- package/cjs-bundle/components/PadModeSelect/FracModeLabel.js +1 -1
- package/cjs-bundle/components/PadModeSelect/FracModeLabel.js.map +1 -1
- package/cjs-bundle/components/PadModeSelect/PadModeSelect.js +1 -1
- package/cjs-bundle/components/PadModeSelect/PadModeSelect.js.map +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
- package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
- package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js +1 -1
- package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js.map +1 -1
- package/cjs-bundle/components/PinnableFilters/components/FiltersToggler.js +1 -1
- package/cjs-bundle/components/PinnableFilters/components/FiltersToggler.js.map +1 -1
- package/cjs-bundle/components/PostPreviewDialog/index.js +1 -1
- package/cjs-bundle/components/PostPreviewDialog/index.js.map +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js.map +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js.map +1 -1
- package/cjs-bundle/components/Search/Search.js +1 -1
- package/cjs-bundle/components/Search/Search.js.map +1 -1
- package/cjs-bundle/components/Select/SelectFilterBy.js +1 -1
- package/cjs-bundle/components/Select/SelectFilterBy.js.map +1 -1
- package/cjs-bundle/components/SettingEditors/ColorEditor/index.js +1 -1
- package/cjs-bundle/components/SettingEditors/ColorEditor/index.js.map +1 -1
- package/cjs-bundle/components/Stepper/Step/Step.js +1 -1
- package/cjs-bundle/components/Stepper/Step/Step.js.map +1 -1
- package/cjs-bundle/components/Table/TableCell/TableCell.js +1 -1
- package/cjs-bundle/components/Table/TableCell/TableCell.js.map +1 -1
- package/cjs-bundle/components/Table/TablePaginationActions/TablePaginationActions.js +1 -1
- package/cjs-bundle/components/Table/TablePaginationActions/TablePaginationActions.js.map +1 -1
- package/cjs-bundle/components/Table/TableSortLabel/TableSortLabel.js +1 -1
- package/cjs-bundle/components/Table/TableSortLabel/TableSortLabel.js.map +1 -1
- package/cjs-bundle/components/Template/TemplateSharingDialog/ChipSelector.js +1 -1
- package/cjs-bundle/components/Template/TemplateSharingDialog/ChipSelector.js.map +1 -1
- package/cjs-bundle/components/Toaster/Toaster.js +1 -1
- package/cjs-bundle/components/Toaster/Toaster.js.map +1 -1
- package/cjs-bundle/components/UserMention/index.js +1 -1
- package/cjs-bundle/components/UserMention/index.js.map +1 -1
- package/cjs-bundle/components/index.js +1 -1
- package/cjs-bundle/componentsV2/Accordion/Accordion.js +1 -1
- package/cjs-bundle/componentsV2/Accordion/Accordion.js.map +1 -1
- package/cjs-bundle/componentsV2/AppContainer/AppContainer.constants.scss.js +2 -0
- package/cjs-bundle/componentsV2/AppContainer/AppContainer.constants.scss.js.map +1 -0
- package/cjs-bundle/componentsV2/AppContainer/AppContainer.js +1 -1
- package/cjs-bundle/componentsV2/AppContainer/AppContainer.js.map +1 -1
- package/cjs-bundle/componentsV2/AppContainer/AppContainer.scss.js +1 -1
- package/cjs-bundle/componentsV2/AppContainer/Content.js +1 -1
- package/cjs-bundle/componentsV2/AppContainer/Content.js.map +1 -1
- package/cjs-bundle/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js +1 -1
- package/cjs-bundle/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js.map +1 -1
- package/cjs-bundle/componentsV2/AppDqPopover/DqAsset/DqAsset.js +1 -1
- package/cjs-bundle/componentsV2/AppDqPopover/DqAsset/DqAsset.js.map +1 -1
- package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
- package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqPopover.js.map +1 -1
- package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js +1 -1
- package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js.map +1 -1
- package/cjs-bundle/componentsV2/AppFooter/Warning.js +1 -1
- package/cjs-bundle/componentsV2/AppFooter/Warning.js.map +1 -1
- package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js.map +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.js.map +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/Actions/Actions.scss.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AppHeaderV3.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AppHeaderV3.js.map +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js.map +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js.map +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js.map +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js.map +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/constants.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/constants.js.map +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js.map +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js.map +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js.map +1 -1
- package/cjs-bundle/componentsV2/AppPanel/AppPanel.js +2 -0
- package/cjs-bundle/componentsV2/AppPanel/AppPanel.js.map +1 -0
- package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.js +2 -0
- package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.js.map +1 -0
- package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.scss.js +2 -0
- package/cjs-bundle/componentsV2/AppPanel/AppPanelDisplay.scss.js.map +1 -0
- package/cjs-bundle/componentsV2/AppPanel/AppPanelIdContext.js +2 -0
- package/cjs-bundle/componentsV2/AppPanel/AppPanelIdContext.js.map +1 -0
- package/cjs-bundle/componentsV2/AppPanel/AppPanelsContext.js +2 -0
- package/cjs-bundle/componentsV2/AppPanel/AppPanelsContext.js.map +1 -0
- package/cjs-bundle/componentsV2/AppPanel/Header/Header.js +2 -0
- package/cjs-bundle/componentsV2/AppPanel/Header/Header.js.map +1 -0
- package/cjs-bundle/componentsV2/AppPanel/utils.js +2 -0
- package/cjs-bundle/componentsV2/AppPanel/utils.js.map +1 -0
- package/cjs-bundle/componentsV2/AppSettings/AppSettings.js +1 -1
- package/cjs-bundle/componentsV2/AppSettings/AppSettings.js.map +1 -1
- package/cjs-bundle/componentsV2/AppSettings/AppSettings.scss.js +1 -1
- package/cjs-bundle/componentsV2/AppSettingsDivider/AppSettingsDivider.js +1 -1
- package/cjs-bundle/componentsV2/AppSettingsDivider/AppSettingsDivider.js.map +1 -1
- package/cjs-bundle/componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js +1 -1
- package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.js +1 -1
- package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.js.map +1 -1
- package/cjs-bundle/componentsV2/Breadcrumbs/Breadcrumbs.js +1 -1
- package/cjs-bundle/componentsV2/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/cjs-bundle/componentsV2/ButtonLive/ButtonLive.js +1 -1
- package/cjs-bundle/componentsV2/ButtonLive/ButtonLive.js.map +1 -1
- package/cjs-bundle/componentsV2/ChartAxisExtreme/ChartAxisExtreme.js +1 -1
- package/cjs-bundle/componentsV2/ChartAxisExtreme/ChartAxisExtreme.js.map +1 -1
- package/cjs-bundle/componentsV2/Chip/Chip.js +1 -1
- package/cjs-bundle/componentsV2/Chip/Chip.js.map +1 -1
- package/cjs-bundle/componentsV2/ColorPicker/ColorPicker.js +1 -1
- package/cjs-bundle/componentsV2/ColorPicker/ColorPicker.js.map +1 -1
- package/cjs-bundle/componentsV2/ColorPicker/Swatches/Swatches.js +1 -1
- package/cjs-bundle/componentsV2/ColorPicker/Swatches/Swatches.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js.map +1 -1
- package/cjs-bundle/componentsV2/CopyToClipboard/CopyToClipboard.js +1 -1
- package/cjs-bundle/componentsV2/CopyToClipboard/CopyToClipboard.js.map +1 -1
- package/cjs-bundle/componentsV2/Counter/Counter.js +1 -1
- package/cjs-bundle/componentsV2/Counter/Counter.js.map +1 -1
- package/cjs-bundle/componentsV2/DatePicker/CalendarControls/CalendarControls.js +1 -1
- package/cjs-bundle/componentsV2/DatePicker/CalendarControls/CalendarControls.js.map +1 -1
- package/cjs-bundle/componentsV2/DatePicker/CalendarControls/CalendarControls.scss.js +1 -1
- package/cjs-bundle/componentsV2/DatePicker/CalendarGrid/CalendarGrid.js +1 -1
- package/cjs-bundle/componentsV2/DatePicker/CalendarGrid/CalendarGrid.js.map +1 -1
- package/cjs-bundle/componentsV2/DatePicker/CalendarGrid/CalendarGrid.scss.js +1 -1
- package/cjs-bundle/componentsV2/DatePicker/DatePicker.js +1 -1
- package/cjs-bundle/componentsV2/DatePicker/DatePicker.js.map +1 -1
- package/cjs-bundle/componentsV2/DatePicker/DatePicker.scss.js +1 -1
- package/cjs-bundle/componentsV2/DatePicker/Input/Input.js +1 -1
- package/cjs-bundle/componentsV2/DatePicker/Input/Input.js.map +1 -1
- package/cjs-bundle/componentsV2/DatePicker/Input/Input.scss.js +2 -0
- package/cjs-bundle/componentsV2/DatePicker/Input/Input.scss.js.map +1 -0
- package/cjs-bundle/componentsV2/DatePicker/TimePicker/TimePicker.js +1 -1
- package/cjs-bundle/componentsV2/DatePicker/TimePicker/TimePicker.js.map +1 -1
- package/cjs-bundle/componentsV2/DatePicker/TimePicker/TimePicker.scss.js +1 -1
- package/cjs-bundle/componentsV2/DatePicker/utils.js +1 -1
- package/cjs-bundle/componentsV2/DatePicker/utils.js.map +1 -1
- package/cjs-bundle/componentsV2/DragHandle/DragHandle.js +1 -1
- package/cjs-bundle/componentsV2/DragHandle/DragHandle.js.map +1 -1
- package/cjs-bundle/componentsV2/FilesDropzone/FilesDropzone.js +1 -1
- package/cjs-bundle/componentsV2/FilesDropzone/FilesDropzone.js.map +1 -1
- package/cjs-bundle/componentsV2/FilesLoader/FilesLoader.js +1 -1
- package/cjs-bundle/componentsV2/FilesLoader/FilesLoader.js.map +1 -1
- package/cjs-bundle/componentsV2/Hint/Hint.js +1 -1
- package/cjs-bundle/componentsV2/Hint/Hint.js.map +1 -1
- package/cjs-bundle/componentsV2/ImageViewer/ImageViewer.js +1 -1
- package/cjs-bundle/componentsV2/ImageViewer/ImageViewer.js.map +1 -1
- package/cjs-bundle/componentsV2/InterventionEventSelector/InterventionEventSelector.js +1 -1
- package/cjs-bundle/componentsV2/InterventionEventSelector/InterventionEventSelector.js.map +1 -1
- package/cjs-bundle/componentsV2/ModalWindow/ModalWindow.js +1 -1
- package/cjs-bundle/componentsV2/ModalWindow/ModalWindow.js.map +1 -1
- package/cjs-bundle/componentsV2/OffsetWellsButton/OffsetWellsButton.js +1 -1
- package/cjs-bundle/componentsV2/OffsetWellsButton/OffsetWellsButton.js.map +1 -1
- package/cjs-bundle/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js +1 -1
- package/cjs-bundle/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js.map +1 -1
- package/cjs-bundle/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js +1 -1
- package/cjs-bundle/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js.map +1 -1
- package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
- package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js.map +1 -1
- package/cjs-bundle/componentsV2/Paper/Paper.js.map +1 -1
- package/cjs-bundle/componentsV2/Popover/Popover.js +1 -1
- package/cjs-bundle/componentsV2/Popover/Popover.js.map +1 -1
- package/cjs-bundle/componentsV2/PopoverPanel/PopoverPanel.scss.js +1 -1
- package/cjs-bundle/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.js +1 -1
- package/cjs-bundle/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.js.map +1 -1
- package/cjs-bundle/componentsV2/SliderAdvanced/Bar.js +1 -1
- package/cjs-bundle/componentsV2/SliderAdvanced/Bar.js.map +1 -1
- package/cjs-bundle/componentsV2/SliderAdvanced/HandleWrapper.js +1 -1
- package/cjs-bundle/componentsV2/SliderAdvanced/HandleWrapper.js.map +1 -1
- package/cjs-bundle/componentsV2/Stepper/Step/Step.js +1 -1
- package/cjs-bundle/componentsV2/Stepper/Step/Step.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Popover/Popover.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Popover/Popover.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/PublishModal/PublishModal.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/PublishModal/PublishModal.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/ShareModal/ShareModal.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js.map +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js.map +1 -1
- package/cjs-bundle/componentsV2/TextInput/TextInput.js +1 -1
- package/cjs-bundle/componentsV2/TextInput/TextInput.js.map +1 -1
- package/cjs-bundle/componentsV2/TextInputBase/TextInputBase.js +1 -1
- package/cjs-bundle/componentsV2/TextInputBase/TextInputBase.js.map +1 -1
- package/cjs-bundle/componentsV2/TextInputBase/components/InfoIcon.js +1 -1
- package/cjs-bundle/componentsV2/TextInputBase/components/InfoIcon.js.map +1 -1
- package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js +1 -1
- package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js.map +1 -1
- package/cjs-bundle/componentsV2/ToggleButtons/ToggleButtons.scss.js +1 -1
- package/cjs-bundle/componentsV2/index.js +1 -1
- package/cjs-bundle/config/theme/index.js +1 -1
- package/cjs-bundle/config/theme/index.js.map +1 -1
- package/cjs-bundle/constants/feed.js +1 -1
- package/cjs-bundle/constants/feed.js.map +1 -1
- package/cjs-bundle/effects/index.js +1 -1
- package/cjs-bundle/effects/useGlobalOffsetWellsSync.js +1 -1
- package/cjs-bundle/effects/useGlobalOffsetWellsSync.js.map +1 -1
- package/cjs-bundle/effects/useSignedURL.js +1 -1
- package/cjs-bundle/effects/useSignedURL.js.map +1 -1
- package/cjs-bundle/icons/customIcons/icons/FlameFilled.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/FlameFilled.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/InfoRounded.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/InfoRounded.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/PinOne.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/PinOne.js.map +1 -0
- package/cjs-bundle/icons/customIcons/icons/PinOneCrossed.js +2 -0
- package/cjs-bundle/icons/customIcons/icons/PinOneCrossed.js.map +1 -0
- package/cjs-bundle/icons/index.js +1 -1
- package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
- package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js.map +1 -1
- package/cjs-bundle/utils/feed.js +1 -1
- package/cjs-bundle/utils/feed.js.map +1 -1
- package/cjs-bundle/utils/signedLinkCache.js +2 -0
- package/cjs-bundle/utils/signedLinkCache.js.map +1 -0
- package/components/AddComment/Popover.js +1 -1
- package/components/AddComment/Popover.js.map +1 -1
- package/components/AddComment/components/Content.js +1 -1
- package/components/AddComment/components/Content.js.map +1 -1
- package/components/AdvancedSlider/Handle.js +1 -1
- package/components/AdvancedSlider/Handle.js.map +1 -1
- package/components/AttachFileButton/AttachFileButton.js +1 -1
- package/components/AttachFileButton/AttachFileButton.js.map +1 -1
- package/components/Attachment/index.js +1 -1
- package/components/Attachment/index.js.map +1 -1
- package/components/AttachmentLightbox/AttachmentLightbox.js +1 -1
- package/components/AttachmentLightbox/AttachmentLightbox.js.map +1 -1
- package/components/AttachmentLightbox/AttachmentPreviewPane.js +1 -1
- package/components/AttachmentLightbox/AttachmentPreviewPane.js.map +1 -1
- package/components/AttachmentPreview/AttachmentActionsMenu.js +1 -1
- package/components/AttachmentPreview/AttachmentActionsMenu.js.map +1 -1
- package/components/AttachmentPreview/AttachmentDownloadLink.js +1 -1
- package/components/AttachmentPreview/AttachmentDownloadLink.js.map +1 -1
- package/components/AttachmentPreview/AttachmentTile.js +1 -1
- package/components/AttachmentPreview/AttachmentTile.js.map +1 -1
- package/components/AttachmentPreview/SortableAttachments.js +1 -1
- package/components/AttachmentPreview/SortableAttachments.js.map +1 -1
- package/components/AttachmentPreview/useStoredAttachments.d.ts.map +1 -1
- package/components/AttachmentPreview/useStoredAttachments.js +1 -1
- package/components/AttachmentPreview/useStoredAttachments.js.map +1 -1
- package/components/BICOffsetPickerDialog/components/Map/Map.d.ts.map +1 -1
- package/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
- package/components/BICOffsetPickerDialog/components/Map/Map.js.map +1 -1
- package/components/BICOffsetPickerDialog/index.js +1 -1
- package/components/BICOffsetPickerDialog/index.js.map +1 -1
- package/components/Breadcrumbs/index.js +1 -1
- package/components/Breadcrumbs/index.js.map +1 -1
- package/components/Button/components/LiveButton/index.js +1 -1
- package/components/Button/components/LiveButton/index.js.map +1 -1
- package/components/Button/index.js +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
- package/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
- package/components/Chart/components/AxisDropdown.js +1 -1
- package/components/Chart/components/AxisDropdown.js.map +1 -1
- package/components/Chart/components/ChartSelect.js +1 -1
- package/components/Chart/components/ChartSelect.js.map +1 -1
- package/components/Chart/components/buttons/ChartTypeButton.js +1 -1
- package/components/Chart/components/buttons/ChartTypeButton.js.map +1 -1
- package/components/Chart/components/buttons/DragToZoomButton.js +1 -1
- package/components/Chart/components/buttons/DragToZoomButton.js.map +1 -1
- package/components/Chart/components/buttons/HideAxesButton.js +1 -1
- package/components/Chart/components/buttons/HideAxesButton.js.map +1 -1
- package/components/Chart/components/buttons/PanButton.js +1 -1
- package/components/Chart/components/buttons/PanButton.js.map +1 -1
- package/components/Chart/components/buttons/ResetZoomButton.js +1 -1
- package/components/Chart/components/buttons/ResetZoomButton.js.map +1 -1
- package/components/Chart/components/buttons/ZoomInButton.js +1 -1
- package/components/Chart/components/buttons/ZoomInButton.js.map +1 -1
- package/components/Chart/components/buttons/ZoomOutButton.js +1 -1
- package/components/Chart/components/buttons/ZoomOutButton.js.map +1 -1
- package/components/Chip/index.js +1 -1
- package/components/Chip/index.js.map +1 -1
- package/components/CollapsableSidebar.js +1 -1
- package/components/CollapsableSidebar.js.map +1 -1
- package/components/CollapsibleContent.d.ts.map +1 -1
- package/components/CollapsibleContent.js +1 -1
- package/components/CollapsibleContent.js.map +1 -1
- package/components/ColorPicker/ColorPicker.js +1 -1
- package/components/ColorPicker/ColorPicker.js.map +1 -1
- package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
- package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js.map +1 -1
- package/components/CommentCard/CommentCard.js +1 -1
- package/components/CommentCard/CommentCard.js.map +1 -1
- package/components/CommentCard/CommentCardReactions.js +1 -1
- package/components/CommentCard/CommentCardReactions.js.map +1 -1
- package/components/CommentCard/CommentCardReplies.js +1 -1
- package/components/CommentCard/CommentCardReplies.js.map +1 -1
- package/components/CommentCard/buildCommentReply.js +1 -1
- package/components/CommentCard/buildCommentReply.js.map +1 -1
- package/components/CommentComposer/ChatChannelSelector.js +1 -1
- package/components/CommentComposer/ChatChannelSelector.js.map +1 -1
- package/components/CommentComposer/CommentComposer.js +1 -1
- package/components/CommentComposer/CommentComposer.js.map +1 -1
- package/components/CommentComposer/useAttachmentUpload.d.ts.map +1 -1
- package/components/CommentComposer/useAttachmentUpload.js +1 -1
- package/components/CommentComposer/useAttachmentUpload.js.map +1 -1
- package/components/CommentInputNext/CommentInputNext.js +1 -1
- package/components/CommentInputNext/CommentInputNext.js.map +1 -1
- package/components/CommentLoader.d.ts +6 -5
- package/components/CommentLoader.js +1 -1
- package/components/CommentLoader.js.map +1 -1
- package/components/ConfirmationDialog.d.ts +75 -12
- package/components/ConfirmationDialog.js +1 -1
- package/components/ConfirmationDialog.js.map +1 -1
- package/components/CopyToClipboard/CopyToClipboard.js +1 -1
- package/components/CopyToClipboard/CopyToClipboard.js.map +1 -1
- package/components/Counter/index.js +1 -1
- package/components/Counter/index.js.map +1 -1
- package/components/DatePicker/index.js +1 -1
- package/components/DatePicker/index.js.map +1 -1
- package/components/DateTimePicker/index.js +1 -1
- package/components/DateTimePicker/index.js.map +1 -1
- package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
- package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js.map +1 -1
- package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js +1 -1
- package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.js.map +1 -1
- package/components/DevCenter/AppSideBar/AppSideBar.js +1 -1
- package/components/DevCenter/AppSideBar/AppSideBar.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/types.d.ts +1 -0
- package/components/DevCenter/DevCenterAppContainer/types.d.ts.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
- package/components/DocumentViewer/DocumentViewer.js +1 -1
- package/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
- package/components/Drillstring/BhaIndicator/styles.css.js +1 -1
- package/components/EChartsWrapper/components/Toolbox/Toolbox.js +1 -1
- package/components/EChartsWrapper/components/Toolbox/Toolbox.js.map +1 -1
- package/components/EmojiIconButton.d.ts +4 -34
- package/components/EmojiIconButton.d.ts.map +1 -1
- package/components/EmojiIconButton.js +1 -1
- package/components/EmojiIconButton.js.map +1 -1
- package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
- package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js.map +1 -1
- package/components/ErrorBoundary/ErrorBoundary.js +1 -1
- package/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
- package/components/FeedCard/useFeedActivity.js +1 -1
- package/components/FeedCard/useFeedActivity.js.map +1 -1
- package/components/FeedItem/FeedItem.js +1 -1
- package/components/FeedItem/FeedItem.js.map +1 -1
- package/components/FeedItem/components/Icon.d.ts.map +1 -1
- package/components/FeedItem/components/Icon.js +1 -1
- package/components/FeedItem/components/Icon.js.map +1 -1
- package/components/FeedItem/components/LessonsLearnedLeafIcon.d.ts +3 -1
- package/components/FeedItem/components/LessonsLearnedLeafIcon.d.ts.map +1 -1
- package/components/FeedItem/components/LessonsLearnedLeafIcon.js +1 -1
- package/components/FeedItem/components/LessonsLearnedLeafIcon.js.map +1 -1
- package/components/FeedItem/feedItemTypes/AlertFeedItem.d.ts +1 -1
- package/components/FeedItem/feedItemTypes/AlertFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/AlertFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/AlertFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js +1 -1
- package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js.map +1 -1
- package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/styles.scss.js +2 -0
- package/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaNumber.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaNumber.js +1 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaNumber.js.map +1 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/components/Info.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/components/Info.js +1 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/components/Info.js.map +1 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/components/NoData.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/components/NoData.js +1 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/components/NoData.js.map +1 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/styles.scss.js +2 -0
- package/components/FeedItem/feedItemTypes/CompletionDailyCostFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/CompletionDailyCostFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/CompletionDocumentFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/CompletionDocumentFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/CompletionDocumentFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/CompletionNptFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/CompletionNptFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/CompletionNptFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/DepthCommentFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/DepthCommentFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/DepthCommentFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/DocumentFeedItem.d.ts +14 -1
- package/components/FeedItem/feedItemTypes/DocumentFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/DocumentFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/DocumentFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/DrillerMemoFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/DrillerMemoFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/DrillerMemoFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/DrillingDailyCostFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/DrillingDailyCostFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/DvDCommentFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/DvDCommentFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/DvDCommentFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/FluidReportFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/FluidReportFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/FluidReportFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/GenericDataCommentFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/GenericDataCommentFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/GenericDataCommentFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/GeosteeringFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/GeosteeringFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/GeosteeringFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/HookloadCommentFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js +1 -1
- package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js.map +1 -1
- package/components/FeedItem/feedItemTypes/NptFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/NptFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/NptFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/NptLessonsCommentFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/NptLessonsCommentFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/PCCommentFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/PCCommentFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/PCCommentFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/PostFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/PostFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/PostFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js +1 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js.map +1 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/ActualPointInfo.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/ActualPointInfo.js +1 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/ActualPointInfo.js.map +1 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/Warning.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/Warning.js +1 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/Warning.js.map +1 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.js +1 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.js.map +1 -1
- package/components/FeedItem/feedItemTypes/TracesMemoFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/TracesMemoFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/TracesMemoFeedItem.js.map +1 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js +1 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js.map +1 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/VerticalSectionAzimuth.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/VerticalSectionAzimuth.js +1 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/VerticalSectionAzimuth.js.map +1 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js +1 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js.map +1 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/styles.scss.js +2 -0
- package/components/FeedItem/feedItemTypes/components/ContextRow.d.ts +79 -0
- package/components/FeedItem/feedItemTypes/components/ContextRow.d.ts.map +1 -0
- package/components/FeedItem/feedItemTypes/components/ContextRow.js +2 -0
- package/components/FeedItem/feedItemTypes/components/ContextRow.js.map +1 -0
- package/components/FeedItem/feedItemTypes/components/FeedAttachment.d.ts +22 -0
- package/components/FeedItem/feedItemTypes/components/FeedAttachment.d.ts.map +1 -0
- package/components/FeedItem/feedItemTypes/components/FeedAttachment.js +2 -0
- package/components/FeedItem/feedItemTypes/components/FeedAttachment.js.map +1 -0
- package/components/FilesDropzone/FilesDropzone.js +1 -1
- package/components/FilesDropzone/FilesDropzone.js.map +1 -1
- package/components/FilesLoader/FilesLoader.js +1 -1
- package/components/FilesLoader/FilesLoader.js.map +1 -1
- package/components/FilesLoaderV2/FilesLoaderV2.js +1 -1
- package/components/FilesLoaderV2/FilesLoaderV2.js.map +1 -1
- package/components/Formula/CloseSuggestion.js +1 -1
- package/components/Formula/CloseSuggestion.js.map +1 -1
- package/components/Formula/Formula.js +1 -1
- package/components/Formula/Formula.js.map +1 -1
- package/components/GradientManager/GradientManager.js +1 -1
- package/components/GradientManager/GradientManager.js.map +1 -1
- package/components/GradientManager/GradientSelect.js +1 -1
- package/components/GradientManager/GradientSelect.js.map +1 -1
- package/components/GradientPicker/GradientPicker.js +1 -1
- package/components/GradientPicker/GradientPicker.js.map +1 -1
- package/components/HelpCenter/HelpCenterIcon.js +1 -1
- package/components/HelpCenter/HelpCenterIcon.js.map +1 -1
- package/components/Hint/Hint.js +1 -1
- package/components/Hint/Hint.js.map +1 -1
- package/components/InfiniteList/__tests__/InfiniteList.test.d.ts +2 -0
- package/components/InfiniteList/__tests__/InfiniteList.test.d.ts.map +1 -0
- package/components/InfiniteList/index.d.ts +4 -60
- package/components/InfiniteList/index.d.ts.map +1 -1
- package/components/InfiniteList/index.js +1 -1
- package/components/InfiniteList/index.js.map +1 -1
- package/components/Modal/CorvaModal.js +1 -1
- package/components/Modal/CorvaModal.js.map +1 -1
- package/components/Notifications/Toast.js +1 -1
- package/components/Notifications/Toast.js.map +1 -1
- package/components/OffsetWellMap/OffsetWellMap.d.ts.map +1 -1
- package/components/OffsetWellMap/OffsetWellMap.js +1 -1
- package/components/OffsetWellMap/OffsetWellMap.js.map +1 -1
- package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
- package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Map/Map.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
- package/components/OffsetWellPickerV2/components/Map/Map.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
- package/components/OffsetWellPickerV2/effects/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/effects/index.js +1 -1
- package/components/OffsetWellPickerV2/effects/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
- package/components/OffsetWellPickerV4/effects/useAdvancedWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/utils/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js.map +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js.map +1 -1
- package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
- package/components/OffsetWellPickerV5/components/CustomInfoIcon/CustomInfoIcon.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/Filter.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapHints/MapHintsStash.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SelectionToast/SelectionToast.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/SubjectWellMarker/SubjectWellMarker.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/WellTooltip/WellTooltip.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useMapTooltipState.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/useSelectionToolOrchestration.js.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/hooks/utils/well-markers-utils.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/UserSettingsWrapper/UserSettingsWrapper.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/AdvancedSearch.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AutoCompleteAssetSearch/AutoCompleteAssetSearch.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/CompanyCell/CompanyCell.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/FormationCell/FormationCell.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/InterventionAssetCell/InterventionAssetCell.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/PadNameCell/PadNameCell.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/RigCell/RigCell.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/cells/WellNameCell/WellNameCell.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/SettingsMenu.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/MetricsSettingsSection/MetricsSettingsSection.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/SettingsAccordion/SettingsAccordion.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/SettingsMenu/components/TableSettingsSection/TableSettingsSection.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/WellNameHeaderCell/WellNameHeaderCell.js.map +1 -1
- package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
- package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/wellTransformations.js.map +1 -1
- package/components/OffsetWellPickerV5/hooks/useIsAdmin.js +1 -1
- package/components/OffsetWellPickerV5/hooks/useIsAdmin.js.map +1 -1
- package/components/OffsetWellPickerV5/utils/getCoordinatedWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/utils/getCoordinatedWells.js +1 -1
- package/components/OffsetWellPickerV5/utils/getCoordinatedWells.js.map +1 -1
- package/components/PadModeSelect/FracModeLabel.js +1 -1
- package/components/PadModeSelect/FracModeLabel.js.map +1 -1
- package/components/PadModeSelect/PadModeSelect.js +1 -1
- package/components/PadModeSelect/PadModeSelect.js.map +1 -1
- package/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
- package/components/ParameterCharts/components/TraceHeader.js +1 -1
- package/components/ParameterCharts/components/TraceHeader.js.map +1 -1
- package/components/PinnableFilters/components/FiltersToggler.js +1 -1
- package/components/PinnableFilters/components/FiltersToggler.js.map +1 -1
- package/components/PostPreviewDialog/__tests__/PostPreviewDialog.test.d.ts +2 -0
- package/components/PostPreviewDialog/__tests__/PostPreviewDialog.test.d.ts.map +1 -0
- package/components/PostPreviewDialog/index.d.ts +2 -28
- package/components/PostPreviewDialog/index.js +1 -1
- package/components/PostPreviewDialog/index.js.map +1 -1
- package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js +1 -1
- package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.js.map +1 -1
- package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
- package/components/RealTimeValuesSidebar/SidebarFooter.js.map +1 -1
- package/components/Search/Search.js +1 -1
- package/components/Search/Search.js.map +1 -1
- package/components/Select/SelectFilterBy.js +1 -1
- package/components/Select/SelectFilterBy.js.map +1 -1
- package/components/SettingEditors/ColorEditor/index.js +1 -1
- package/components/SettingEditors/ColorEditor/index.js.map +1 -1
- package/components/Stepper/Step/Step.js +1 -1
- package/components/Stepper/Step/Step.js.map +1 -1
- package/components/Table/TableCell/TableCell.js +1 -1
- package/components/Table/TableCell/TableCell.js.map +1 -1
- package/components/Table/TablePaginationActions/TablePaginationActions.js +1 -1
- package/components/Table/TablePaginationActions/TablePaginationActions.js.map +1 -1
- package/components/Table/TableSortLabel/TableSortLabel.js +1 -1
- package/components/Table/TableSortLabel/TableSortLabel.js.map +1 -1
- package/components/Template/TemplateSharingDialog/ChipSelector.d.ts +2 -30
- package/components/Template/TemplateSharingDialog/ChipSelector.js +1 -1
- package/components/Template/TemplateSharingDialog/ChipSelector.js.map +1 -1
- package/components/Template/TemplateSharingDialog/__tests__/ChipSelector.test.d.ts +2 -0
- package/components/Template/TemplateSharingDialog/__tests__/ChipSelector.test.d.ts.map +1 -0
- package/components/Toaster/Toaster.js +1 -1
- package/components/Toaster/Toaster.js.map +1 -1
- package/components/UserMention/index.js +1 -1
- package/components/UserMention/index.js.map +1 -1
- package/components/__tests__/CommentLoader.test.d.ts +2 -0
- package/components/__tests__/CommentLoader.test.d.ts.map +1 -0
- package/components/__tests__/ConfirmationDialog.test.d.ts +2 -0
- package/components/__tests__/ConfirmationDialog.test.d.ts.map +1 -0
- package/components/__tests__/EmojiIconButton.test.d.ts +2 -0
- package/components/__tests__/EmojiIconButton.test.d.ts.map +1 -0
- package/components/index.js +1 -1
- package/componentsV2/Accordion/Accordion.js +1 -1
- package/componentsV2/Accordion/Accordion.js.map +1 -1
- package/componentsV2/AppContainer/AppContainer.constants.scss.js +2 -0
- package/componentsV2/AppContainer/AppContainer.constants.scss.js.map +1 -0
- package/componentsV2/AppContainer/AppContainer.d.ts +5 -0
- package/componentsV2/AppContainer/AppContainer.d.ts.map +1 -1
- package/componentsV2/AppContainer/AppContainer.js +1 -1
- package/componentsV2/AppContainer/AppContainer.js.map +1 -1
- package/componentsV2/AppContainer/AppContainer.scss.js +1 -1
- package/componentsV2/AppContainer/AppContainer.stories.d.ts.map +1 -1
- package/componentsV2/AppContainer/Content.d.ts +0 -4
- package/componentsV2/AppContainer/Content.d.ts.map +1 -1
- package/componentsV2/AppContainer/Content.js +1 -1
- package/componentsV2/AppContainer/Content.js.map +1 -1
- package/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js +1 -1
- package/componentsV2/AppDqPopover/DqAlertTooltip/DqAlertTooltip.js.map +1 -1
- package/componentsV2/AppDqPopover/DqAsset/DqAsset.js +1 -1
- package/componentsV2/AppDqPopover/DqAsset/DqAsset.js.map +1 -1
- package/componentsV2/AppFooter/AppFooter.stories.d.ts.map +1 -1
- package/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
- package/componentsV2/AppFooter/DqPopover/DqPopover.js.map +1 -1
- package/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js +1 -1
- package/componentsV2/AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js.map +1 -1
- package/componentsV2/AppFooter/Warning.js +1 -1
- package/componentsV2/AppFooter/Warning.js.map +1 -1
- package/componentsV2/AppHeader/AppAssets/utils.js +1 -1
- package/componentsV2/AppHeader/AppAssets/utils.js.map +1 -1
- package/componentsV2/AppHeader/AppHeader.stories.d.ts.map +1 -1
- package/componentsV2/AppHeader/V3/Actions/Actions.d.ts +1 -3
- package/componentsV2/AppHeader/V3/Actions/Actions.d.ts.map +1 -1
- package/componentsV2/AppHeader/V3/Actions/Actions.js +1 -1
- package/componentsV2/AppHeader/V3/Actions/Actions.js.map +1 -1
- package/componentsV2/AppHeader/V3/Actions/Actions.scss.js +1 -1
- package/componentsV2/AppHeader/V3/AppHeaderV3.d.ts +1 -1
- package/componentsV2/AppHeader/V3/AppHeaderV3.d.ts.map +1 -1
- package/componentsV2/AppHeader/V3/AppHeaderV3.js +1 -1
- package/componentsV2/AppHeader/V3/AppHeaderV3.js.map +1 -1
- package/componentsV2/AppHeader/V3/AppHeaderV3.stories.d.ts.map +1 -1
- package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
- package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js.map +1 -1
- package/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js +1 -1
- package/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js.map +1 -1
- package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js +1 -1
- package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js.map +1 -1
- package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js +1 -1
- package/componentsV2/AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorContent.js.map +1 -1
- package/componentsV2/AppHeader/V3/AssetSelector/constants.js +1 -1
- package/componentsV2/AppHeader/V3/AssetSelector/constants.js.map +1 -1
- package/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js +1 -1
- package/componentsV2/AppHeader/V3/DqStatusIcon/DqStatusIcon.js.map +1 -1
- package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.d.ts +1 -2
- package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.d.ts.map +1 -1
- package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js +1 -1
- package/componentsV2/AppHeader/V3/SettingsButton/SettingsButton.js.map +1 -1
- package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
- package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js.map +1 -1
- package/componentsV2/AppPanel/AppPanel.d.ts +16 -0
- package/componentsV2/AppPanel/AppPanel.d.ts.map +1 -0
- package/componentsV2/AppPanel/AppPanel.js +2 -0
- package/componentsV2/AppPanel/AppPanel.js.map +1 -0
- package/componentsV2/AppPanel/AppPanelDisplay.d.ts +7 -0
- package/componentsV2/AppPanel/AppPanelDisplay.d.ts.map +1 -0
- package/componentsV2/AppPanel/AppPanelDisplay.js +2 -0
- package/componentsV2/AppPanel/AppPanelDisplay.js.map +1 -0
- package/componentsV2/AppPanel/AppPanelDisplay.scss.js +2 -0
- package/componentsV2/AppPanel/AppPanelDisplay.scss.js.map +1 -0
- package/componentsV2/AppPanel/AppPanelIdContext.d.ts +7 -0
- package/componentsV2/AppPanel/AppPanelIdContext.d.ts.map +1 -0
- package/componentsV2/AppPanel/AppPanelIdContext.js +2 -0
- package/componentsV2/AppPanel/AppPanelIdContext.js.map +1 -0
- package/componentsV2/AppPanel/AppPanels.stories.d.ts +15 -0
- package/componentsV2/AppPanel/AppPanels.stories.d.ts.map +1 -0
- package/componentsV2/AppPanel/AppPanelsContext.d.ts +61 -0
- package/componentsV2/AppPanel/AppPanelsContext.d.ts.map +1 -0
- package/componentsV2/AppPanel/AppPanelsContext.js +2 -0
- package/componentsV2/AppPanel/AppPanelsContext.js.map +1 -0
- package/componentsV2/AppPanel/Header/Header.d.ts +9 -0
- package/componentsV2/AppPanel/Header/Header.d.ts.map +1 -0
- package/componentsV2/AppPanel/Header/Header.js +2 -0
- package/componentsV2/AppPanel/Header/Header.js.map +1 -0
- package/componentsV2/AppPanel/Header/index.d.ts +2 -0
- package/componentsV2/AppPanel/Header/index.d.ts.map +1 -0
- package/componentsV2/AppPanel/index.d.ts +3 -0
- package/componentsV2/AppPanel/index.d.ts.map +1 -0
- package/componentsV2/AppPanel/utils.d.ts +53 -0
- package/componentsV2/AppPanel/utils.d.ts.map +1 -0
- package/componentsV2/AppPanel/utils.js +2 -0
- package/componentsV2/AppPanel/utils.js.map +1 -0
- package/componentsV2/AppSettings/AppSettings.d.ts +1 -6
- package/componentsV2/AppSettings/AppSettings.d.ts.map +1 -1
- package/componentsV2/AppSettings/AppSettings.js +1 -1
- package/componentsV2/AppSettings/AppSettings.js.map +1 -1
- package/componentsV2/AppSettings/AppSettings.scss.js +1 -1
- package/componentsV2/AppSettings/index.d.ts +0 -1
- package/componentsV2/AppSettings/index.d.ts.map +1 -1
- package/componentsV2/AppSettingsDivider/AppSettingsDivider.d.ts.map +1 -1
- package/componentsV2/AppSettingsDivider/AppSettingsDivider.js +1 -1
- package/componentsV2/AppSettingsDivider/AppSettingsDivider.js.map +1 -1
- package/componentsV2/AppSettingsDivider/AppSettingsDivider.scss.js +1 -1
- package/componentsV2/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/componentsV2/Autocomplete/Autocomplete.js +1 -1
- package/componentsV2/Autocomplete/Autocomplete.js.map +1 -1
- package/componentsV2/Autocomplete/Autocomplete.stories.d.ts.map +1 -1
- package/componentsV2/Autocomplete/AutocompleteNext.stories.d.ts.map +1 -1
- package/componentsV2/Breadcrumbs/Breadcrumbs.js +1 -1
- package/componentsV2/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/componentsV2/ButtonLive/ButtonLive.js +1 -1
- package/componentsV2/ButtonLive/ButtonLive.js.map +1 -1
- package/componentsV2/ButtonLive/ButtonLive.stories.d.ts.map +1 -1
- package/componentsV2/ChartAxisExtreme/ChartAxisExtreme.js +1 -1
- package/componentsV2/ChartAxisExtreme/ChartAxisExtreme.js.map +1 -1
- package/componentsV2/ChartAxisExtreme/ChartAxisExtreme.stories.d.ts.map +1 -1
- package/componentsV2/Chip/Chip.js +1 -1
- package/componentsV2/Chip/Chip.js.map +1 -1
- package/componentsV2/ChipAlert/ChipAlert.stories.d.ts.map +1 -1
- package/componentsV2/ColorPicker/ColorPicker.js +1 -1
- package/componentsV2/ColorPicker/ColorPicker.js.map +1 -1
- package/componentsV2/ColorPicker/Swatches/Swatches.js +1 -1
- package/componentsV2/ColorPicker/Swatches/Swatches.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.stories.d.ts.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.d.ts.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/hooks/usePadsByRadius.js.map +1 -1
- package/componentsV2/CopyToClipboard/CopyToClipboard.js +1 -1
- package/componentsV2/CopyToClipboard/CopyToClipboard.js.map +1 -1
- package/componentsV2/Counter/Counter.js +1 -1
- package/componentsV2/Counter/Counter.js.map +1 -1
- package/componentsV2/DatePicker/CalendarControls/CalendarControls.d.ts.map +1 -1
- package/componentsV2/DatePicker/CalendarControls/CalendarControls.js +1 -1
- package/componentsV2/DatePicker/CalendarControls/CalendarControls.js.map +1 -1
- package/componentsV2/DatePicker/CalendarControls/CalendarControls.scss.js +1 -1
- package/componentsV2/DatePicker/CalendarGrid/CalendarGrid.js +1 -1
- package/componentsV2/DatePicker/CalendarGrid/CalendarGrid.js.map +1 -1
- package/componentsV2/DatePicker/CalendarGrid/CalendarGrid.scss.js +1 -1
- package/componentsV2/DatePicker/DatePicker.d.ts +4 -1
- package/componentsV2/DatePicker/DatePicker.d.ts.map +1 -1
- package/componentsV2/DatePicker/DatePicker.js +1 -1
- package/componentsV2/DatePicker/DatePicker.js.map +1 -1
- package/componentsV2/DatePicker/DatePicker.scss.js +1 -1
- package/componentsV2/DatePicker/DatePicker.stories.d.ts.map +1 -1
- package/componentsV2/DatePicker/DatePickerNext.stories.d.ts.map +1 -1
- package/componentsV2/DatePicker/Input/Input.d.ts +4 -2
- package/componentsV2/DatePicker/Input/Input.d.ts.map +1 -1
- package/componentsV2/DatePicker/Input/Input.js +1 -1
- package/componentsV2/DatePicker/Input/Input.js.map +1 -1
- package/componentsV2/DatePicker/Input/Input.scss.js +2 -0
- package/componentsV2/DatePicker/Input/Input.scss.js.map +1 -0
- package/componentsV2/DatePicker/TimePicker/TimePicker.d.ts +7 -5
- package/componentsV2/DatePicker/TimePicker/TimePicker.d.ts.map +1 -1
- package/componentsV2/DatePicker/TimePicker/TimePicker.js +1 -1
- package/componentsV2/DatePicker/TimePicker/TimePicker.js.map +1 -1
- package/componentsV2/DatePicker/TimePicker/TimePicker.scss.js +1 -1
- package/componentsV2/DatePicker/utils.d.ts +10 -3
- package/componentsV2/DatePicker/utils.d.ts.map +1 -1
- package/componentsV2/DatePicker/utils.js +1 -1
- package/componentsV2/DatePicker/utils.js.map +1 -1
- package/componentsV2/DragHandle/DragHandle.js +1 -1
- package/componentsV2/DragHandle/DragHandle.js.map +1 -1
- package/componentsV2/EmptyState/EmptyState.stories.d.ts.map +1 -1
- package/componentsV2/FilesDropzone/FilesDropzone.js +1 -1
- package/componentsV2/FilesDropzone/FilesDropzone.js.map +1 -1
- package/componentsV2/FilesLoader/FilesLoader.js +1 -1
- package/componentsV2/FilesLoader/FilesLoader.js.map +1 -1
- package/componentsV2/Grid/Grid.stories.d.ts.map +1 -1
- package/componentsV2/Hint/Hint.js +1 -1
- package/componentsV2/Hint/Hint.js.map +1 -1
- package/componentsV2/ImageViewer/ImageViewer.js +1 -1
- package/componentsV2/ImageViewer/ImageViewer.js.map +1 -1
- package/componentsV2/InterventionEventSelector/InterventionEventSelector.js +1 -1
- package/componentsV2/InterventionEventSelector/InterventionEventSelector.js.map +1 -1
- package/componentsV2/Menu/Menu.stories.d.ts.map +1 -1
- package/componentsV2/ModalWindow/ModalWindow.js +1 -1
- package/componentsV2/ModalWindow/ModalWindow.js.map +1 -1
- package/componentsV2/OffsetWellsButton/OffsetWellsButton.js +1 -1
- package/componentsV2/OffsetWellsButton/OffsetWellsButton.js.map +1 -1
- package/componentsV2/OffsetWellsButton/OffsetWellsButton.stories.d.ts.map +1 -1
- package/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js +1 -1
- package/componentsV2/OffsetWellsButton/useOffsetWellsIcon.js.map +1 -1
- package/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js +1 -1
- package/componentsV2/PadModeSelect/FracModeLabel/FracModeLabel.js.map +1 -1
- package/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
- package/componentsV2/PadModeSelect/PadModeSelect.js.map +1 -1
- package/componentsV2/Paper/Paper.d.ts +2 -1
- package/componentsV2/Paper/Paper.d.ts.map +1 -1
- package/componentsV2/Paper/Paper.js.map +1 -1
- package/componentsV2/Popover/Popover.d.ts +6 -1
- package/componentsV2/Popover/Popover.d.ts.map +1 -1
- package/componentsV2/Popover/Popover.js +1 -1
- package/componentsV2/Popover/Popover.js.map +1 -1
- package/componentsV2/PopoverPanel/PopoverPanel.scss.js +1 -1
- package/componentsV2/PopoverPanel/PopoverPanel.stories.d.ts.map +1 -1
- package/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.d.ts +2 -1
- package/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.d.ts.map +1 -1
- package/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.js +1 -1
- package/componentsV2/PopoverPanel/PopoverPanelHeader/PopoverPanelHeader.js.map +1 -1
- package/componentsV2/Select/Select.stories.d.ts.map +1 -1
- package/componentsV2/SliderAdvanced/Bar.js +1 -1
- package/componentsV2/SliderAdvanced/Bar.js.map +1 -1
- package/componentsV2/SliderAdvanced/HandleWrapper.js +1 -1
- package/componentsV2/SliderAdvanced/HandleWrapper.js.map +1 -1
- package/componentsV2/SliderAdvanced/SliderAdvanced.stories.d.ts.map +1 -1
- package/componentsV2/Stepper/Step/Step.js +1 -1
- package/componentsV2/Stepper/Step/Step.js.map +1 -1
- package/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js +1 -1
- package/componentsV2/TemplatesControl/FolderMenu/FolderMenu.js.map +1 -1
- package/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js +1 -1
- package/componentsV2/TemplatesControl/MoveToFolderMenu/MoveToFolderMenu.js.map +1 -1
- package/componentsV2/TemplatesControl/Popover/Popover.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/Popover/Popover.js +1 -1
- package/componentsV2/TemplatesControl/Popover/Popover.js.map +1 -1
- package/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js +1 -1
- package/componentsV2/TemplatesControl/PopoverFooter/PopoverFooter.js.map +1 -1
- package/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js +1 -1
- package/componentsV2/TemplatesControl/PopoverSearch/PopoverSearch.js.map +1 -1
- package/componentsV2/TemplatesControl/PublishModal/PublishModal.js +1 -1
- package/componentsV2/TemplatesControl/PublishModal/PublishModal.js.map +1 -1
- package/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
- package/componentsV2/TemplatesControl/ShareModal/ShareModal.js.map +1 -1
- package/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js +1 -1
- package/componentsV2/TemplatesControl/TemplateMenu/IconMenu/IconMenu.js.map +1 -1
- package/componentsV2/TemplatesControl/TemplatesControl.stories.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js +1 -1
- package/componentsV2/TemplatesControl/TemplatesTreeMenuHeader/TemplatesTreeMenuHeader.js.map +1 -1
- package/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js +1 -1
- package/componentsV2/TemplatesControl/TemplatesTreeNodeItem/TemplatesTreeNodeItem.js.map +1 -1
- package/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
- package/componentsV2/TemplatesControl/Toggle/Toggle.js.map +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/CopyTemplate.js.map +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/ExportTemplate.js.map +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateOutOfFolder.js.map +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/MoveTemplateToFolder.js.map +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/RemoveTemplate.js.map +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/RevertTemplate.js.map +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/ShareTemplate.js.map +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js +1 -1
- package/componentsV2/TemplatesControl/templateMenuItems/UnfollowTemplate.js.map +1 -1
- package/componentsV2/TextInput/TextInput.js +1 -1
- package/componentsV2/TextInput/TextInput.js.map +1 -1
- package/componentsV2/TextInput/TextInput.stories.d.ts.map +1 -1
- package/componentsV2/TextInputBase/TextInputBase.js +1 -1
- package/componentsV2/TextInputBase/TextInputBase.js.map +1 -1
- package/componentsV2/TextInputBase/components/InfoIcon.js +1 -1
- package/componentsV2/TextInputBase/components/InfoIcon.js.map +1 -1
- package/componentsV2/TextInputNext/TextInputNext.js +1 -1
- package/componentsV2/TextInputNext/TextInputNext.js.map +1 -1
- package/componentsV2/TextMiddleTruncated/TextMiddleTruncated.stories.d.ts.map +1 -1
- package/componentsV2/ToggleButtons/ToggleButtons.scss.js +1 -1
- package/componentsV2/index.d.ts +1 -0
- package/componentsV2/index.d.ts.map +1 -1
- package/componentsV2/index.js +1 -1
- package/config/theme/index.js +1 -1
- package/config/theme/index.js.map +1 -1
- package/constants/feed.d.ts +1 -1
- package/constants/feed.d.ts.map +1 -1
- package/constants/feed.js +1 -1
- package/constants/feed.js.map +1 -1
- package/effects/index.d.ts +1 -1
- package/effects/index.d.ts.map +1 -1
- package/effects/index.js +1 -1
- package/effects/useGlobalOffsetWellsSync.js +1 -1
- package/effects/useGlobalOffsetWellsSync.js.map +1 -1
- package/effects/useSignedURL.d.ts +1 -1
- package/effects/useSignedURL.d.ts.map +1 -1
- package/effects/useSignedURL.js +1 -1
- package/effects/useSignedURL.js.map +1 -1
- package/icons/customIcons/icons/FlameFilled.d.ts +2 -0
- package/icons/customIcons/icons/FlameFilled.d.ts.map +1 -0
- package/icons/customIcons/icons/FlameFilled.js +2 -0
- package/icons/customIcons/icons/FlameFilled.js.map +1 -0
- package/icons/customIcons/icons/InfoRounded.d.ts +2 -0
- package/icons/customIcons/icons/InfoRounded.d.ts.map +1 -0
- package/icons/customIcons/icons/InfoRounded.js +2 -0
- package/icons/customIcons/icons/InfoRounded.js.map +1 -0
- package/icons/customIcons/icons/PinOne.d.ts +2 -0
- package/icons/customIcons/icons/PinOne.d.ts.map +1 -0
- package/icons/customIcons/icons/PinOne.js +2 -0
- package/icons/customIcons/icons/PinOne.js.map +1 -0
- package/icons/customIcons/icons/PinOneCrossed.d.ts +2 -0
- package/icons/customIcons/icons/PinOneCrossed.d.ts.map +1 -0
- package/icons/customIcons/icons/PinOneCrossed.js +2 -0
- package/icons/customIcons/icons/PinOneCrossed.js.map +1 -0
- package/icons/customIcons/icons/index.d.ts +4 -0
- package/icons/customIcons/icons/index.d.ts.map +1 -1
- package/icons/index.js +1 -1
- package/mcp-server/server.mjs +12161 -526
- package/package.json +2 -1
- package/storyBookHelpers/__tests__/mutateMeta.agentSummary.test.d.ts +2 -0
- package/storyBookHelpers/__tests__/mutateMeta.agentSummary.test.d.ts.map +1 -0
- package/storyBookHelpers/utils.d.ts +16 -0
- package/storyBookHelpers/utils.d.ts.map +1 -1
- package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
- package/testing/AppTestWrapper/AppTestWrapper.js.map +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/utils/__tests__/signedLinkCache.test.d.ts +2 -0
- package/utils/__tests__/signedLinkCache.test.d.ts.map +1 -0
- package/utils/feed.d.ts +8 -0
- package/utils/feed.d.ts.map +1 -1
- package/utils/feed.js +1 -1
- package/utils/feed.js.map +1 -1
- package/utils/signedLinkCache.d.ts +9 -0
- package/utils/signedLinkCache.d.ts.map +1 -0
- package/utils/signedLinkCache.js +2 -0
- package/utils/signedLinkCache.js.map +1 -0
- package/cjs-bundle/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/styles.css.js +0 -2
- package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/styles.css.js +0 -2
- package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/styles.css.js +0 -2
- package/cjs-bundle/componentsV2/AppSettings/AppSettingsPinningContext.js +0 -2
- package/cjs-bundle/componentsV2/AppSettings/AppSettingsPinningContext.js.map +0 -1
- package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/styles.css.js +0 -2
- package/components/FeedItem/feedItemTypes/BhaFeedItem/styles.css.js +0 -2
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/styles.css.js +0 -2
- package/componentsV2/AppSettings/AppSettingsPinningContext.d.ts +0 -21
- package/componentsV2/AppSettings/AppSettingsPinningContext.d.ts.map +0 -1
- package/componentsV2/AppSettings/AppSettingsPinningContext.js +0 -2
- package/componentsV2/AppSettings/AppSettingsPinningContext.js.map +0 -1
- /package/cjs-bundle/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/{styles.css.js.map → styles.scss.js.map} +0 -0
- /package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/{styles.css.js.map → styles.scss.js.map} +0 -0
- /package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/{styles.css.js.map → styles.scss.js.map} +0 -0
- /package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/{styles.css.js.map → styles.scss.js.map} +0 -0
- /package/components/FeedItem/feedItemTypes/BhaFeedItem/{styles.css.js.map → styles.scss.js.map} +0 -0
- /package/components/FeedItem/feedItemTypes/WellPlanFeedItem/{styles.css.js.map → styles.scss.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Handle.js","sources":["../../../../src/components/AdvancedSlider/Handle.js"],"sourcesContent":["/* eslint-disable no-use-before-define */\nimport { useEffect, useRef, useState } from 'react';\nimport { Input } from '@material-ui/core';\nimport classnames from 'classnames';\n\nimport { useHandleStyles } from './styles';\nimport { getIsInputValueValid, getValidatedValue } from './utils';\nimport {\n HEAD_PLACEMENT,\n HORIZONTAL_ORIENTATION,\n HOVER_AREA_HEIGHT,\n HOVER_AREA_WIDTH_BY_DIMENSION,\n VERTICAL_ORIENTATION,\n} from './constants';\n\nimport { LeftIcon, RightIcon } from '~/icons';\n\nconst isBuggySymbolEntered = event => {\n const value = event?.target?.value;\n const floatValue = value ? parseFloat(value) : 0;\n const isValidValue =\n floatValue >= Number.MIN_SAFE_INTEGER && floatValue < Number.MAX_SAFE_INTEGER;\n const char = event?.nativeEvent?.data;\n const pointCount = value.split('.').length - 1;\n const isValidChar = !char || char === '.' || char === '-' || (char >= '0' && char <= '9');\n const isNotValidMinus = char === '-' && value === '';\n return !isValidValue || !isValidChar || pointCount > 1 || isNotValidMinus;\n};\n\n/*\ninterface HandleProps {\n value: number | string;\n orientation: 'vertical' | 'horizontal';\n placement: 'head' | 'tail';\n onChange: (newValue: number) => void;\n min: number;\n max: number;\n minimal?: boolean;\n}\n*/\nexport const Handle = ({\n value,\n orientation,\n placement,\n dimension,\n readOnly,\n onChange,\n min,\n max,\n displayFormatter,\n isInsideArrowsVisible,\n arrowsOutsideConfig,\n classes,\n minimal,\n 'data-testid': dataTestId,\n}) => {\n const [hasError, setHasError] = useState(false);\n const [internal, setInternal] = useState(value);\n const [isFocused, setIsFocused] = useState(false);\n const inputRef = useRef(null);\n const isHorizontalOrientation = orientation === HORIZONTAL_ORIENTATION;\n const isVerticalOrientation = orientation === VERTICAL_ORIENTATION;\n const isHeadPlacement = placement === HEAD_PLACEMENT;\n const showFormatedValue = (readOnly || !isFocused) && Boolean(displayFormatter);\n\n const styles = useHandleStyles({\n distance: arrowsOutsideConfig?.distance,\n minimal,\n hoverAreaHeight: isHorizontalOrientation\n ? HOVER_AREA_WIDTH_BY_DIMENSION[dimension]\n : HOVER_AREA_HEIGHT,\n hoverAreaWidth: isHorizontalOrientation\n ? HOVER_AREA_HEIGHT\n : HOVER_AREA_WIDTH_BY_DIMENSION[dimension],\n });\n\n const onChangeValue = e => {\n const newValue = e.target.value;\n if (isBuggySymbolEntered(e)) {\n return;\n }\n\n setInternal(newValue);\n if (hasError) setHasError(false);\n };\n\n const handleKeyDown = ({ keyCode, target }) => {\n if (keyCode !== 13) return;\n handleValueSubmit(target.value);\n };\n\n const handleFocus = () => {\n setIsFocused(true);\n };\n\n const handleBlur = ({ target }) => {\n handleValueSubmit(target.value);\n setIsFocused(false);\n };\n\n const handleValueSubmit = value => {\n if (readOnly) {\n return;\n }\n\n const formattedValue = Number(value);\n const isInputValid = getIsInputValueValid(formattedValue);\n if (!isInputValid) {\n setHasError(true);\n return;\n }\n\n onChange(getValidatedValue(formattedValue, min, max));\n };\n\n useEffect(() => {\n setInternal(value);\n if (hasError) setHasError(false);\n }, [value]);\n\n return (\n <div\n className={classnames(styles.root, classes.handleRoot, styles[dimension], {\n [styles.horizontalHeadRoot]: isHorizontalOrientation && isHeadPlacement,\n [styles.horizontalTailRoot]: isHorizontalOrientation && !isHeadPlacement,\n [styles.verticalHeadRoot]: isVerticalOrientation && isHeadPlacement,\n [styles.verticalTailRoot]: isVerticalOrientation && !isHeadPlacement,\n [styles.minimalHandleRoot]: minimal,\n })}\n >\n <LeftIcon\n size={16}\n className={classnames(styles.leftArrow, {\n [styles.reversedLeftArrow]: isVerticalOrientation,\n [styles.isInvisible]:\n (isInsideArrowsVisible && !isHeadPlacement) ||\n (isHeadPlacement && arrowsOutsideConfig?.isLeftArrowInvisible),\n })}\n fill=\"white\"\n />\n\n <div\n className={classnames(styles.handle, classes.handle, {\n [styles.horizontalHeadHandle]: isHorizontalOrientation && isHeadPlacement,\n [styles.horizontalTailHandle]: isHorizontalOrientation && !isHeadPlacement,\n [styles.verticalHeadHandle]: isVerticalOrientation && isHeadPlacement,\n [styles.verticalTailHandle]: isVerticalOrientation && !isHeadPlacement,\n [styles.minimalHandle]: minimal,\n [styles.minimalVerticalHandle]: minimal && isVerticalOrientation,\n })}\n data-testid={dataTestId}\n >\n {!minimal && (\n <Input\n inputProps={{\n 'data-testid': 'handle-input',\n }}\n readOnly={readOnly}\n inputRef={inputRef}\n onKeyDown={handleKeyDown}\n onFocus={handleFocus}\n onBlur={handleBlur}\n classes={{\n root: classnames(styles.inputRoot, hasError && styles.hasError),\n }}\n value={showFormatedValue ? displayFormatter(internal) : internal}\n onChange={onChangeValue}\n disableUnderline\n error={!(Number.isFinite(+internal) && +internal >= min && +internal <= max)}\n />\n )}\n </div>\n\n <RightIcon\n size={16}\n className={classnames(styles.rightArrow, {\n [styles.reversedRightArrow]: isVerticalOrientation,\n [styles.isInvisible]:\n (isInsideArrowsVisible && isHeadPlacement) ||\n (!isHeadPlacement && arrowsOutsideConfig?.isRightArrowInvisible),\n })}\n fill=\"white\"\n />\n </div>\n );\n};\n"],"names":["_ref","_classnames","_classnames2","_classnames3","_classnames4","value","orientation","placement","dimension","readOnly","onChange","min","max","displayFormatter","isInsideArrowsVisible","arrowsOutsideConfig","classes","minimal","dataTestId","useState","_useState2","_slicedToArray","_useState","hasError","setHasError","_useState4","_useState3","internal","setInternal","_useState6","_useState5","isFocused","setIsFocused","inputRef","useRef","isHorizontalOrientation","HORIZONTAL_ORIENTATION","isVerticalOrientation","VERTICAL_ORIENTATION","isHeadPlacement","HEAD_PLACEMENT","showFormatedValue","Boolean","styles","useHandleStyles","distance","hoverAreaHeight","HOVER_AREA_WIDTH_BY_DIMENSION","HOVER_AREA_HEIGHT","hoverAreaWidth","handleValueSubmit","formattedValue","Number","getIsInputValueValid","getValidatedValue","useEffect","_jsxs","className","classnames","root","handleRoot","horizontalHeadRoot","horizontalTailRoot","verticalHeadRoot","verticalTailRoot","minimalHandleRoot","children","_jsx","LeftIcon","size","leftArrow","_defineProperty","reversedLeftArrow","isInvisible","isLeftArrowInvisible","fill","jsx","handle","horizontalHeadHandle","horizontalTailHandle","verticalHeadHandle","verticalTailHandle","minimalHandle","minimalVerticalHandle","Input","inputProps","onKeyDown","_ref2","keyCode","target","onFocus","onBlur","_ref3","inputRoot","e","newValue","event","_event$target","_event$nativeEvent","floatValue","parseFloat","isValidValue","MIN_SAFE_INTEGER","MAX_SAFE_INTEGER","char","nativeEvent","data","pointCount","split","length","isBuggySymbolEntered","disableUnderline","error","isFinite","RightIcon","rightArrow","reversedRightArrow","isRightArrowInvisible"],"mappings":"41IAwCsB,SAehBA,GAAA,IAAAC,EAAAC,EAAAC,EAAAC,EAdJC,IAAAA,MACAC,IAAAA,YACAC,IAAAA,UACAC,IAAAA,UACAC,IAAAA,SACAC,IAAAA,SACAC,IAAAA,IACAC,IAAAA,IACAC,IAAAA,iBACAC,IAAAA,sBACAC,IAAAA,oBACAC,IAAAA,QACAC,IAAAA,QACeC,IAAf,eAEgCC,EAAAA,EAAQA,UAAC,GAAMC,EAAAC,EAAAA,QAAAC,EAAA,GAAxCC,EAAQH,EAAA,GAAEI,EAAWJ,EAAA,GACID,EAAAA,EAAQA,SAACd,GAAMoB,EAAAJ,EAAAA,QAAAK,EAAA,GAAxCC,EAAQF,EAAA,GAAEG,EAAWH,EAAA,GACMN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kD,kBAAoBH,EAAa/C,OAAOmD,iBACzDC,EAAOR,SAAA,QAAAA,EAAAA,EAAOS,mBAAP,IAAAP,OAAAF,EAAAE,EAAoBQ,KAC3BC,EAAatG,EAAMuG,MAAM,KAAKC,OAAS,EAG7C,OAAQR,MAFaG,GAAiB,MAATA,GAAyB,MAATA,GAAiBA,GAAQ,KAAOA,GAAQ,MAE7CG,EAAa,GADpB,MAATH,GAA0B,KAAVnG,CAE1C,EAmDQyG,CAAqBhB,KAIzBlE,EAAYmE,GACRxE,GAAUC,GAAY,KAoFlBuF,kBAAgB,EAChBC,QAAS5D,OAAO6D,UAAUtF,KAAcA,GAAYhB,IAAQgB,GAAYf,OAK9EuD,MAAC+C,YAAS,CACR7C,KAAM,GACNZ,UAAWC,EAAAA,QAAWf,EAAOwE,YAAU/G,EAAA,CAAA,EAAAmE,EAAAA,QAAAnE,EACpCuC,EAAOyE,mBAAqB/E,GAAqBkC,EAAAA,QAAAnE,EACjDuC,EAAO8B,YACL3D,GAAyByB,IACxBA,IAAmBxB,aAAAA,EAAAA,EAAqBsG,wBAC3CjH,IACHuE,KAAK,YAIb"}
|
|
1
|
+
{"version":3,"file":"Handle.js","sources":["../../../../src/components/AdvancedSlider/Handle.js"],"sourcesContent":["/* eslint-disable no-use-before-define */\nimport { useEffect, useRef, useState } from 'react';\nimport { Input } from '@material-ui/core';\nimport classnames from 'classnames';\n\nimport { useHandleStyles } from './styles';\nimport { getIsInputValueValid, getValidatedValue } from './utils';\nimport {\n HEAD_PLACEMENT,\n HORIZONTAL_ORIENTATION,\n HOVER_AREA_HEIGHT,\n HOVER_AREA_WIDTH_BY_DIMENSION,\n VERTICAL_ORIENTATION,\n} from './constants';\n\nimport { LeftIcon, RightIcon } from '~/icons';\n\nconst isBuggySymbolEntered = event => {\n const value = event?.target?.value;\n const floatValue = value ? parseFloat(value) : 0;\n const isValidValue =\n floatValue >= Number.MIN_SAFE_INTEGER && floatValue < Number.MAX_SAFE_INTEGER;\n const char = event?.nativeEvent?.data;\n const pointCount = value.split('.').length - 1;\n const isValidChar = !char || char === '.' || char === '-' || (char >= '0' && char <= '9');\n const isNotValidMinus = char === '-' && value === '';\n return !isValidValue || !isValidChar || pointCount > 1 || isNotValidMinus;\n};\n\n/*\ninterface HandleProps {\n value: number | string;\n orientation: 'vertical' | 'horizontal';\n placement: 'head' | 'tail';\n onChange: (newValue: number) => void;\n min: number;\n max: number;\n minimal?: boolean;\n}\n*/\nexport const Handle = ({\n value,\n orientation,\n placement,\n dimension,\n readOnly,\n onChange,\n min,\n max,\n displayFormatter,\n isInsideArrowsVisible,\n arrowsOutsideConfig,\n classes,\n minimal,\n 'data-testid': dataTestId,\n}) => {\n const [hasError, setHasError] = useState(false);\n const [internal, setInternal] = useState(value);\n const [isFocused, setIsFocused] = useState(false);\n const inputRef = useRef(null);\n const isHorizontalOrientation = orientation === HORIZONTAL_ORIENTATION;\n const isVerticalOrientation = orientation === VERTICAL_ORIENTATION;\n const isHeadPlacement = placement === HEAD_PLACEMENT;\n const showFormatedValue = (readOnly || !isFocused) && Boolean(displayFormatter);\n\n const styles = useHandleStyles({\n distance: arrowsOutsideConfig?.distance,\n minimal,\n hoverAreaHeight: isHorizontalOrientation\n ? HOVER_AREA_WIDTH_BY_DIMENSION[dimension]\n : HOVER_AREA_HEIGHT,\n hoverAreaWidth: isHorizontalOrientation\n ? HOVER_AREA_HEIGHT\n : HOVER_AREA_WIDTH_BY_DIMENSION[dimension],\n });\n\n const onChangeValue = e => {\n const newValue = e.target.value;\n if (isBuggySymbolEntered(e)) {\n return;\n }\n\n setInternal(newValue);\n if (hasError) setHasError(false);\n };\n\n const handleKeyDown = ({ keyCode, target }) => {\n if (keyCode !== 13) return;\n handleValueSubmit(target.value);\n };\n\n const handleFocus = () => {\n setIsFocused(true);\n };\n\n const handleBlur = ({ target }) => {\n handleValueSubmit(target.value);\n setIsFocused(false);\n };\n\n const handleValueSubmit = value => {\n if (readOnly) {\n return;\n }\n\n const formattedValue = Number(value);\n const isInputValid = getIsInputValueValid(formattedValue);\n if (!isInputValid) {\n setHasError(true);\n return;\n }\n\n onChange(getValidatedValue(formattedValue, min, max));\n };\n\n useEffect(() => {\n setInternal(value);\n if (hasError) setHasError(false);\n }, [value]);\n\n return (\n <div\n className={classnames(styles.root, classes.handleRoot, styles[dimension], {\n [styles.horizontalHeadRoot]: isHorizontalOrientation && isHeadPlacement,\n [styles.horizontalTailRoot]: isHorizontalOrientation && !isHeadPlacement,\n [styles.verticalHeadRoot]: isVerticalOrientation && isHeadPlacement,\n [styles.verticalTailRoot]: isVerticalOrientation && !isHeadPlacement,\n [styles.minimalHandleRoot]: minimal,\n })}\n >\n <LeftIcon\n size={16}\n className={classnames(styles.leftArrow, {\n [styles.reversedLeftArrow]: isVerticalOrientation,\n [styles.isInvisible]:\n (isInsideArrowsVisible && !isHeadPlacement) ||\n (isHeadPlacement && arrowsOutsideConfig?.isLeftArrowInvisible),\n })}\n fill=\"white\"\n />\n\n <div\n className={classnames(styles.handle, classes.handle, {\n [styles.horizontalHeadHandle]: isHorizontalOrientation && isHeadPlacement,\n [styles.horizontalTailHandle]: isHorizontalOrientation && !isHeadPlacement,\n [styles.verticalHeadHandle]: isVerticalOrientation && isHeadPlacement,\n [styles.verticalTailHandle]: isVerticalOrientation && !isHeadPlacement,\n [styles.minimalHandle]: minimal,\n [styles.minimalVerticalHandle]: minimal && isVerticalOrientation,\n })}\n data-testid={dataTestId}\n >\n {!minimal && (\n <Input\n inputProps={{\n 'data-testid': 'handle-input',\n }}\n readOnly={readOnly}\n inputRef={inputRef}\n onKeyDown={handleKeyDown}\n onFocus={handleFocus}\n onBlur={handleBlur}\n classes={{\n root: classnames(styles.inputRoot, hasError && styles.hasError),\n }}\n value={showFormatedValue ? displayFormatter(internal) : internal}\n onChange={onChangeValue}\n disableUnderline\n error={!(Number.isFinite(+internal) && +internal >= min && +internal <= max)}\n />\n )}\n </div>\n\n <RightIcon\n size={16}\n className={classnames(styles.rightArrow, {\n [styles.reversedRightArrow]: isVerticalOrientation,\n [styles.isInvisible]:\n (isInsideArrowsVisible && isHeadPlacement) ||\n (!isHeadPlacement && arrowsOutsideConfig?.isRightArrowInvisible),\n })}\n fill=\"white\"\n />\n </div>\n );\n};\n"],"names":["_ref","_classnames","_classnames2","_classnames3","_classnames4","value","orientation","placement","dimension","readOnly","onChange","min","max","displayFormatter","isInsideArrowsVisible","arrowsOutsideConfig","classes","minimal","dataTestId","useState","_useState2","_slicedToArray","_useState","hasError","setHasError","_useState4","_useState3","internal","setInternal","_useState6","_useState5","isFocused","setIsFocused","inputRef","useRef","isHorizontalOrientation","HORIZONTAL_ORIENTATION","isVerticalOrientation","VERTICAL_ORIENTATION","isHeadPlacement","HEAD_PLACEMENT","showFormatedValue","Boolean","styles","useHandleStyles","distance","hoverAreaHeight","HOVER_AREA_WIDTH_BY_DIMENSION","HOVER_AREA_HEIGHT","hoverAreaWidth","handleValueSubmit","formattedValue","Number","getIsInputValueValid","getValidatedValue","useEffect","_jsxs","className","classnames","root","handleRoot","horizontalHeadRoot","horizontalTailRoot","verticalHeadRoot","verticalTailRoot","minimalHandleRoot","children","_jsx","LeftIcon","size","leftArrow","_defineProperty","reversedLeftArrow","isInvisible","isLeftArrowInvisible","fill","jsx","handle","horizontalHeadHandle","horizontalTailHandle","verticalHeadHandle","verticalTailHandle","minimalHandle","minimalVerticalHandle","Input","inputProps","onKeyDown","_ref2","keyCode","target","onFocus","onBlur","_ref3","inputRoot","e","newValue","event","_event$target","_event$nativeEvent","floatValue","parseFloat","isValidValue","MIN_SAFE_INTEGER","MAX_SAFE_INTEGER","char","nativeEvent","data","pointCount","split","length","isBuggySymbolEntered","disableUnderline","error","isFinite","RightIcon","rightArrow","reversedRightArrow","isRightArrowInvisible"],"mappings":"yjJAwCsB,SAehBA,GAAA,IAAAC,EAAAC,EAAAC,EAAAC,EAdJC,IAAAA,MACAC,IAAAA,YACAC,IAAAA,UACAC,IAAAA,UACAC,IAAAA,SACAC,IAAAA,SACAC,IAA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AAWtE,GAAYoB,EAAOpB,WAExDlB,MAAOoC,EAAoB5B,EAAiBc,GAAYA,EACxDjB,SA1FY,SAAAoF,GACpB,IAAMC,EAAWD,EAAEL,OAAOpF,OA5DD,SAAA2F,GAAS,IAAAC,EAAAC,EAC9B7F,EAAQ2F,SAAA,QAAAA,EAAAA,EAAOP,cAAP,IAAAQ,OAAAD,EAAAC,EAAe5F,MACvB8F,EAAa9F,EAAQ+F,WAAW/F,GAAS,EACzCgG,EACJF,GAAc/C,OAAOkD,kBAAoBH,EAAa/C,OAAOmD,iBACzDC,EAAOR,SAAA,QAAAA,EAAAA,EAAOS,mBAAP,IAAAP,OAAAF,EAAAE,EAAoBQ,KAC3BC,EAAatG,EAAMuG,MAAM,KAAKC,OAAS,EAG7C,OAAQR,MAFaG,GAAiB,MAATA,GAAyB,MAATA,GAAiBA,GAAQ,KAAOA,GAAQ,MAE7CG,EAAa,GADpB,MAATH,GAA0B,KAAVnG,CAE1C,EAmDQyG,CAAqBhB,KAIzBlE,EAAYmE,GACRxE,GAAUC,GAAY,KAoFlBuF,kBAAgB,EAChBC,QAAS5D,OAAO6D,UAAUtF,KAAcA,GAAYhB,IAAQgB,GAAYf,OAK9EuD,MAAC+C,YAAS,CACR7C,KAAM,GACNZ,UAAWC,EAAAA,QAAWf,EAAOwE,YAAU/G,EAAA,CAAA,EAAAmE,EAAAA,QAAAnE,EACpCuC,EAAOyE,mBAAqB/E,GAAqBkC,EAAAA,QAAAnE,EACjDuC,EAAO8B,YACL3D,GAAyByB,IACxBA,IAAmBxB,aAAAA,EAAAA,EAAqBsG,wBAC3CjH,IACHuE,KAAK,YAIb"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("../../componentsV2/ButtonIcon/ButtonIcon.js"),o=require("../../componentsV2/Tooltip/Tooltip.js"),c=require("../../icons/iconParkIcons.js");require("../../icons/customIcons/icons/AddMessage.js"),require("../../icons/customIcons/icons/DragOne.js"),require("../../icons/customIcons/icons/Attention.js"),require("../../icons/customIcons/icons/Collapse.js"),require("../../icons/customIcons/icons/Dashboard.js"),require("../../icons/customIcons/icons/Expand.js"),require("../../icons/customIcons/icons/FolderClosed.js"),require("../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../icons/customIcons/icons/FolderOpened.js"),require("../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../icons/customIcons/icons/LessOrEqual.js"),require("../../icons/customIcons/icons/Search.js"),require("../../icons/customIcons/icons/SearchOne.js"),require("../../icons/customIcons/icons/Wellhub.js"),require("../../icons/customIcons/icons/MultiRuler.js"),require("../../icons/customIcons/icons/Checkbox.js"),require("../../icons/customIcons/icons/CheckboxChecked.js"),require("../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../icons/customIcons/icons/Radio.js"),require("../../icons/customIcons/icons/RadioChecked.js"),require("../../icons/customIcons/icons/SimulFrac.js"),require("../../icons/customIcons/icons/ZipperFrac.js"),require("../../icons/customIcons/icons/CautionFilled.js"),require("../../icons/customIcons/icons/MoreApp.js"),require("../../icons/customIcons/icons/Pad.js"),require("../../icons/customIcons/icons/DrilloutUnit.js"),require("../../icons/customIcons/icons/FracFleet.js"),require("../../icons/customIcons/icons/Global.js"),require("../../icons/customIcons/icons/Program.js"),require("../../icons/customIcons/icons/Rig.js"),require("../../icons/customIcons/icons/Well.js"),require("../../icons/customIcons/icons/Gap.js"),require("../../icons/customIcons/icons/Pin.js"),require("../../icons/customIcons/icons/CloseOneFilled.js"),require("../../icons/customIcons/icons/AttentionFilled.js"),require("../../icons/customIcons/icons/CheckOneFilled.js"),require("../../icons/customIcons/icons/Archive.js"),require("../../icons/customIcons/icons/ArchiveCancel.js"),require("../../icons/customIcons/icons/Unarchive.js"),require("../../icons/customIcons/icons/Archived.js"),require("../../icons/customIcons/icons/InterventionUnit.js"),require("../../icons/customIcons/icons/CloudDelete.js"),require("../../icons/customIcons/icons/Lasso.js"),require("../../icons/customIcons/icons/Radius.js"),require("../../icons/customIcons/icons/ErrorOps.js"),require("../../icons/customIcons/icons/DataTypeOps.js"),require("../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../icons/customIcons/icons/CalibrationOps.js"),require("../../icons/customIcons/icons/CriticalOps.js"),require("../../icons/customIcons/icons/Company.js"),require("../../icons/customIcons/icons/ArchiveOne.js"),require("../../icons/customIcons/icons/ParseBotFusion.js"),require("../../icons/customIcons/icons/Connect.js"),require("../../icons/customIcons/icons/PuzzleOne.js"),require("../../icons/customIcons/icons/Feed.js"),require("../../icons/customIcons/icons/Prompt.js"),require("../../icons/customIcons/icons/Companies.js"),require("../../icons/customIcons/icons/ClipboardAi.js"),require("../../icons/customIcons/icons/Key.js"),require("../../icons/customIcons/icons/AtSignCrossed.js"),require("../../icons/customIcons/icons/MappingManual.js"),require("../../icons/customIcons/icons/Mapping.js"),require("../../icons/customIcons/icons/Metrics.js"),require("../../icons/customIcons/icons/Drops.js"),require("../../icons/customIcons/icons/ClipboardSearch.js"),require("../../icons/customIcons/icons/Template.js"),require("../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../icons/customIcons/icons/UnitConversion.js"),require("../../icons/customIcons/icons/NPT.js"),require("../../icons/customIcons/icons/GuidedFrac.js");var i=require("./AttachFileButton.scss.js"),n=require("react/jsx-runtime"),e="image/*,video/*,audio/*,.pdf,.doc,.docx,.xlsx,.xls,.ppt,.pptx,.txt,.csv,.zip,.rar";exports.ACCEPTED_ATTACHMENT_TYPES=e,exports.AttachFileButton=function(r){var u=r.inputRef,t=r.onClick,m=r.onFileSelect,j=r.disabled,I=r.tooltip,q=void 0===I?"Attach file":I,l=r.accept,a=void 0===l?e:l,
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("../../componentsV2/ButtonIcon/ButtonIcon.js"),o=require("../../componentsV2/Tooltip/Tooltip.js"),c=require("../../icons/iconParkIcons.js");require("../../icons/customIcons/icons/AddMessage.js"),require("../../icons/customIcons/icons/DragOne.js"),require("../../icons/customIcons/icons/Attention.js"),require("../../icons/customIcons/icons/Collapse.js"),require("../../icons/customIcons/icons/Dashboard.js"),require("../../icons/customIcons/icons/Expand.js"),require("../../icons/customIcons/icons/FolderClosed.js"),require("../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../icons/customIcons/icons/FolderOpened.js"),require("../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../icons/customIcons/icons/LessOrEqual.js"),require("../../icons/customIcons/icons/Search.js"),require("../../icons/customIcons/icons/SearchOne.js"),require("../../icons/customIcons/icons/Wellhub.js"),require("../../icons/customIcons/icons/MultiRuler.js"),require("../../icons/customIcons/icons/Checkbox.js"),require("../../icons/customIcons/icons/CheckboxChecked.js"),require("../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../icons/customIcons/icons/Radio.js"),require("../../icons/customIcons/icons/RadioChecked.js"),require("../../icons/customIcons/icons/SimulFrac.js"),require("../../icons/customIcons/icons/ZipperFrac.js"),require("../../icons/customIcons/icons/CautionFilled.js"),require("../../icons/customIcons/icons/InfoRounded.js"),require("../../icons/customIcons/icons/FlameFilled.js"),require("../../icons/customIcons/icons/MoreApp.js"),require("../../icons/customIcons/icons/Pad.js"),require("../../icons/customIcons/icons/DrilloutUnit.js"),require("../../icons/customIcons/icons/FracFleet.js"),require("../../icons/customIcons/icons/Global.js"),require("../../icons/customIcons/icons/Program.js"),require("../../icons/customIcons/icons/Rig.js"),require("../../icons/customIcons/icons/Well.js"),require("../../icons/customIcons/icons/Gap.js"),require("../../icons/customIcons/icons/Pin.js"),require("../../icons/customIcons/icons/PinOne.js"),require("../../icons/customIcons/icons/PinOneCrossed.js"),require("../../icons/customIcons/icons/CloseOneFilled.js"),require("../../icons/customIcons/icons/AttentionFilled.js"),require("../../icons/customIcons/icons/CheckOneFilled.js"),require("../../icons/customIcons/icons/Archive.js"),require("../../icons/customIcons/icons/ArchiveCancel.js"),require("../../icons/customIcons/icons/Unarchive.js"),require("../../icons/customIcons/icons/Archived.js"),require("../../icons/customIcons/icons/InterventionUnit.js"),require("../../icons/customIcons/icons/CloudDelete.js"),require("../../icons/customIcons/icons/Lasso.js"),require("../../icons/customIcons/icons/Radius.js"),require("../../icons/customIcons/icons/ErrorOps.js"),require("../../icons/customIcons/icons/DataTypeOps.js"),require("../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../icons/customIcons/icons/CalibrationOps.js"),require("../../icons/customIcons/icons/CriticalOps.js"),require("../../icons/customIcons/icons/Company.js"),require("../../icons/customIcons/icons/ArchiveOne.js"),require("../../icons/customIcons/icons/ParseBotFusion.js"),require("../../icons/customIcons/icons/Connect.js"),require("../../icons/customIcons/icons/PuzzleOne.js"),require("../../icons/customIcons/icons/Feed.js"),require("../../icons/customIcons/icons/Prompt.js"),require("../../icons/customIcons/icons/Companies.js"),require("../../icons/customIcons/icons/ClipboardAi.js"),require("../../icons/customIcons/icons/Key.js"),require("../../icons/customIcons/icons/AtSignCrossed.js"),require("../../icons/customIcons/icons/MappingManual.js"),require("../../icons/customIcons/icons/Mapping.js"),require("../../icons/customIcons/icons/Metrics.js"),require("../../icons/customIcons/icons/Drops.js"),require("../../icons/customIcons/icons/ClipboardSearch.js"),require("../../icons/customIcons/icons/Template.js"),require("../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../icons/customIcons/icons/UnitConversion.js"),require("../../icons/customIcons/icons/NPT.js"),require("../../icons/customIcons/icons/GuidedFrac.js");var i=require("./AttachFileButton.scss.js"),n=require("react/jsx-runtime"),e="image/*,video/*,audio/*,.pdf,.doc,.docx,.xlsx,.xls,.ppt,.pptx,.txt,.csv,.zip,.rar";exports.ACCEPTED_ATTACHMENT_TYPES=e,exports.AttachFileButton=function(r){var u=r.inputRef,t=r.onClick,m=r.onFileSelect,j=r.disabled,I=r.tooltip,q=void 0===I?"Attach file":I,l=r.accept,a=void 0===l?e:l,d=r.multiple,p=r.testId,C=void 0===p?"attach-file-button":p;return n.jsxs(n.Fragment,{children:[n.jsx("input",{ref:u,type:"file",accept:a,multiple:d,className:i.input,onChange:m}),n.jsx(o.Tooltip,{title:q,children:n.jsx("span",{className:i.trigger,children:n.jsx(s.ButtonIcon,{size:"xs",type:"tertiary",disabled:j,onClick:t,testId:C,children:n.jsx(c.PaperclipIcon,{size:16})})})})]})};
|
|
2
2
|
//# sourceMappingURL=AttachFileButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachFileButton.js","sources":["../../../../src/components/AttachFileButton/AttachFileButton.tsx"],"sourcesContent":["import { ChangeEvent, RefObject } from 'react';\n\nimport { ButtonIcon } from '../../componentsV2/ButtonIcon';\nimport { Tooltip } from '../../componentsV2/Tooltip';\nimport { PaperclipIcon } from '../../icons';\n\nimport styles from './AttachFileButton.scss';\n\nexport const ACCEPTED_ATTACHMENT_TYPES =\n 'image/*,video/*,audio/*,.pdf,.doc,.docx,.xlsx,.xls,.ppt,.pptx,.txt,.csv,.zip,.rar';\n\nexport type AttachFileButtonProps = {\n inputRef: RefObject<HTMLInputElement>;\n onClick: () => void;\n onFileSelect: (event: ChangeEvent<HTMLInputElement>) => void;\n disabled?: boolean;\n tooltip?: string;\n accept?: string;\n multiple?: boolean;\n testId?: string;\n};\n\n// Unlike FileUploadIconButton, this one stays put while an upload runs.\nexport const AttachFileButton = ({\n inputRef,\n onClick,\n onFileSelect,\n disabled,\n tooltip = 'Attach file',\n accept = ACCEPTED_ATTACHMENT_TYPES,\n multiple,\n testId = 'attach-file-button',\n}: AttachFileButtonProps) => (\n <>\n <input\n ref={inputRef}\n type=\"file\"\n accept={accept}\n multiple={multiple}\n className={styles.input}\n onChange={onFileSelect}\n />\n <Tooltip title={tooltip}>\n <span className={styles.trigger}>\n <ButtonIcon size=\"xs\" type=\"tertiary\" disabled={disabled} onClick={onClick} testId={testId}>\n <PaperclipIcon size={16} />\n </ButtonIcon>\n </span>\n </Tooltip>\n </>\n);\n"],"names":["ACCEPTED_ATTACHMENT_TYPES","_ref","inputRef","onClick","onFileSelect","disabled","_ref$tooltip","tooltip","_ref$accept","accept","multiple","_ref$testId","testId","_jsxs","_Fragment","children","_jsx","jsx","ref","type","className","styles","input","onChange","Tooltip","title","trigger","ButtonIcon","size","PaperclipIcon"],"mappings":"
|
|
1
|
+
{"version":3,"file":"AttachFileButton.js","sources":["../../../../src/components/AttachFileButton/AttachFileButton.tsx"],"sourcesContent":["import { ChangeEvent, RefObject } from 'react';\n\nimport { ButtonIcon } from '../../componentsV2/ButtonIcon';\nimport { Tooltip } from '../../componentsV2/Tooltip';\nimport { PaperclipIcon } from '../../icons';\n\nimport styles from './AttachFileButton.scss';\n\nexport const ACCEPTED_ATTACHMENT_TYPES =\n 'image/*,video/*,audio/*,.pdf,.doc,.docx,.xlsx,.xls,.ppt,.pptx,.txt,.csv,.zip,.rar';\n\nexport type AttachFileButtonProps = {\n inputRef: RefObject<HTMLInputElement>;\n onClick: () => void;\n onFileSelect: (event: ChangeEvent<HTMLInputElement>) => void;\n disabled?: boolean;\n tooltip?: string;\n accept?: string;\n multiple?: boolean;\n testId?: string;\n};\n\n// Unlike FileUploadIconButton, this one stays put while an upload runs.\nexport const AttachFileButton = ({\n inputRef,\n onClick,\n onFileSelect,\n disabled,\n tooltip = 'Attach file',\n accept = ACCEPTED_ATTACHMENT_TYPES,\n multiple,\n testId = 'attach-file-button',\n}: AttachFileButtonProps) => (\n <>\n <input\n ref={inputRef}\n type=\"file\"\n accept={accept}\n multiple={multiple}\n className={styles.input}\n onChange={onFileSelect}\n />\n <Tooltip title={tooltip}>\n <span className={styles.trigger}>\n <ButtonIcon size=\"xs\" type=\"tertiary\" disabled={disabled} onClick={onClick} testId={testId}>\n <PaperclipIcon size={16} />\n </ButtonIcon>\n </span>\n </Tooltip>\n </>\n);\n"],"names":["ACCEPTED_ATTACHMENT_TYPES","_ref","inputRef","onClick","onFileSelect","disabled","_ref$tooltip","tooltip","_ref$accept","accept","multiple","_ref$testId","testId","_jsxs","_Fragment","children","_jsx","jsx","ref","type","className","styles","input","onChange","Tooltip","title","trigger","ButtonIcon","size","PaperclipIcon"],"mappings":"4yIAQaA,EACX,iJAc8B,SAAHC,GAAA,IAC3BC,IAAAA,SACAC,IAAAA,QACAC,IAAAA,aACAC,IAAAA,SAAQC,EAAAL,EACRM,QAAAA,aAAU,cAAaD,EAAAE,EAAAP,EACvBQ,OAAAA,aAAST,EAAyBQ,EAClCE,IAAAA,SAAQC,EAAAV,EACRW,OAAAA,aAAS,qBAAoBD,EAAA,OAE7BE,EAAAA,KAAAC,EAAAA,SAAA,CAAAC,SACE,CAAAC,EAAAC,IAAA,QAAA,CACEC,IAAKhB,EACLiB,KAAK,OACLV,OAAQA,EACRC,SAAUA,EACVU,UAAWC,EAAOC,MAClBC,SAAUnB,IAEZY,MAACQ,UAAO,CAACC,MAAOlB,EAAQQ,SACtBC,EAAAC,IAAA,OAAA,CAAMG,UAAWC,EAAOK,QAAQX,SAC9BC,MAACW,aAAU,CAACC,KAAK,KAAKT,KAAK,WAAWd,SAAUA,EAAUF,QAASA,EAASS,OAAQA,EAAOG,SACzFC,MAACa,gBAAa,CAACD,KAAM,aAI1B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("@babel/runtime/helpers/slicedToArray"),s=require("@babel/runtime/helpers/defineProperty"),i=require("@babel/runtime/helpers/objectWithoutProperties"),o=require("react"),n=require("prop-types"),t=require("react-player"),r=require("classnames"),c=require("@material-ui/core/styles"),a=require("@material-ui/core"),l=require("@material-ui/icons/Image"),u=require("@material-ui/icons/Fullscreen"),m=require("@material-ui/core/colors/grey"),d=require("../NewDocumentViewer/NewDocumentViewer.js"),p=require("../NewDocumentViewer/icons/UnavailableFileIcon.js"),h=require("../../componentsV2/ImageViewer/ImageViewer.js"),j=require("./styles.css.js"),q=require("../FileTypeIcon.js"),I=require("../IconButton/index.js"),g=require("../../utils/mobileDetect.js"),v=require("../../utils/fileExtension.js"),f=require("../../utils/filePreview.js"),b=require("../../icons/iconParkIcons.js");require("../../icons/customIcons/icons/AddMessage.js"),require("../../icons/customIcons/icons/DragOne.js"),require("../../icons/customIcons/icons/Attention.js"),require("../../icons/customIcons/icons/Collapse.js"),require("../../icons/customIcons/icons/Dashboard.js"),require("../../icons/customIcons/icons/Expand.js"),require("../../icons/customIcons/icons/FolderClosed.js"),require("../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../icons/customIcons/icons/FolderOpened.js"),require("../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../icons/customIcons/icons/LessOrEqual.js"),require("../../icons/customIcons/icons/Search.js"),require("../../icons/customIcons/icons/SearchOne.js"),require("../../icons/customIcons/icons/Wellhub.js"),require("../../icons/customIcons/icons/MultiRuler.js"),require("../../icons/customIcons/icons/Checkbox.js"),require("../../icons/customIcons/icons/CheckboxChecked.js"),require("../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../icons/customIcons/icons/Radio.js"),require("../../icons/customIcons/icons/RadioChecked.js"),require("../../icons/customIcons/icons/SimulFrac.js"),require("../../icons/customIcons/icons/ZipperFrac.js"),require("../../icons/customIcons/icons/CautionFilled.js"),require("../../icons/customIcons/icons/MoreApp.js"),require("../../icons/customIcons/icons/Pad.js"),require("../../icons/customIcons/icons/DrilloutUnit.js"),require("../../icons/customIcons/icons/FracFleet.js"),require("../../icons/customIcons/icons/Global.js"),require("../../icons/customIcons/icons/Program.js"),require("../../icons/customIcons/icons/Rig.js"),require("../../icons/customIcons/icons/Well.js"),require("../../icons/customIcons/icons/Gap.js"),require("../../icons/customIcons/icons/Pin.js"),require("../../icons/customIcons/icons/CloseOneFilled.js"),require("../../icons/customIcons/icons/AttentionFilled.js"),require("../../icons/customIcons/icons/CheckOneFilled.js"),require("../../icons/customIcons/icons/Archive.js"),require("../../icons/customIcons/icons/ArchiveCancel.js"),require("../../icons/customIcons/icons/Unarchive.js"),require("../../icons/customIcons/icons/Archived.js"),require("../../icons/customIcons/icons/InterventionUnit.js"),require("../../icons/customIcons/icons/CloudDelete.js"),require("../../icons/customIcons/icons/Lasso.js"),require("../../icons/customIcons/icons/Radius.js"),require("../../icons/customIcons/icons/ErrorOps.js"),require("../../icons/customIcons/icons/DataTypeOps.js"),require("../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../icons/customIcons/icons/CalibrationOps.js"),require("../../icons/customIcons/icons/CriticalOps.js"),require("../../icons/customIcons/icons/Company.js"),require("../../icons/customIcons/icons/ArchiveOne.js"),require("../../icons/customIcons/icons/ParseBotFusion.js"),require("../../icons/customIcons/icons/Connect.js"),require("../../icons/customIcons/icons/PuzzleOne.js"),require("../../icons/customIcons/icons/Feed.js"),require("../../icons/customIcons/icons/Prompt.js"),require("../../icons/customIcons/icons/Companies.js"),require("../../icons/customIcons/icons/ClipboardAi.js"),require("../../icons/customIcons/icons/Key.js"),require("../../icons/customIcons/icons/AtSignCrossed.js"),require("../../icons/customIcons/icons/MappingManual.js"),require("../../icons/customIcons/icons/Mapping.js"),require("../../icons/customIcons/icons/Metrics.js"),require("../../icons/customIcons/icons/Drops.js"),require("../../icons/customIcons/icons/ClipboardSearch.js"),require("../../icons/customIcons/icons/Template.js"),require("../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../icons/customIcons/icons/UnitConversion.js"),require("../../icons/customIcons/icons/NPT.js"),require("../../icons/customIcons/icons/GuidedFrac.js"),require("../../clients/subscriptions/constants.js"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("querystring"),require("uuid/v1"),require("lodash"),require("../../clients/subscriptions.v1.js"),require("../../clients/jsonApi/index.js"),require("../../clients/subscriptions/subscriptions-client.factory.js"),require("immutable"),require("query-string"),require("../../constants/goals.js"),require("../../constants/segment.js"),require("../../constants/alerts.js"),require("../../constants/apps.js"),require("../../constants/drillstring.js"),require("../../constants/completion.js"),require("../../constants/appPackages.js"),require("../../constants/notifications.js"),require("../../constants/feed.js"),require("../../constants/bha.js"),require("../../constants/corvaCompanyId.js"),require("../GradientManager/configuration/constants.js");var x=require("../../effects/useSignedURL.js");require("../../utils/index.js"),require("uuid"),require("jsona"),require("../../utils/env.js"),require("../StatusBadge/constants.js"),require("@babel/runtime/helpers/toConsumableArray"),require("lodash/set"),require("lodash/get"),require("lodash/unset"),require("moment"),require("../../clients/api/apiCore.js"),require("../../clients/constants.js"),require("../../clients/sso/auth0.js"),require("../../clients/sso/oauth2.js"),require("../../clients/api/rateLimiter.js"),require("lodash/isEmpty"),require("lodash/sortBy"),require("../../constants/streamSourceType.js"),require("../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js"),require("../../componentsV2/AppCommonsProvider/AppCommonsProvider.js"),require("../../componentsV2/AppCommonsProvider/AppCommonsContext.js"),require("../../componentsV2/AppSettings/AppSettingsPinningContext.js");var C=require("../../utils/main.js"),w=require("react/jsx-runtime");function y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var N=y(e),F=y(s),O=y(i),P=y(n),A=y(t),D=y(r),S=y(l),z=y(u),k=y(m),W=["displayName","fileName","attachmentSize","size","small"];function U(e,s){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);s&&(o=o.filter((function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable}))),i.push.apply(i,o)}return i}function R(e){for(var s=1;s<arguments.length;s++){var i=null!=arguments[s]?arguments[s]:{};s%2?U(Object(i),!0).forEach((function(s){F.default(e,s,i[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):U(Object(i)).forEach((function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(i,s))}))}return e}var L=k.default[200],E=k.default[400],T={label:"small",value:135},V={label:"medium",value:300},M={fileImage:function(e,s){return{maxWidth:"100%",borderRadius:4,overflow:"hidden",maxHeight:s===T.label?T.value:V.value,display:e?"initial":"none",cursor:"pointer"}},fileDownloadWrapper:{padding:"10px 10px 10px 5px",border:"1px solid #616161",borderRadius:3,maxWidth:500,width:"75%"},imagePlaceholder:{position:"relative",backgroundColor:L,borderRadius:3,marginTop:10,height:135,width:135}},B=function(e){var s,i,o=x(e.attachmentFileName)||e.attachmentUrl;return w.jsxs(w.Fragment,{children:[w.jsxs("div",{onClick:e.openLightbox,className:j.cAttachmentImg,children:[w.jsx("img",{"data-testid":"".concat("Attachment","_image"),src:o,style:M.fileImage(!!e.imageDimensions,e.size),alt:"Attachment",onLoad:e.onImageLoaded}),w.jsx("div",{"data-testid":"".concat("Attachment","_button"),className:j.cAttachmentImgPreviwBtn,children:w.jsx(z.default,{})})]}),!e.imageDimensions&&w.jsx("div",{style:M.imagePlaceholder,children:w.jsx(S.default,{"data-testid":"".concat("Attachment","_placeholder"),className:e.classes.imageIconRoot,htmlColor:E,fontSize:"large"})}),e.lightboxIsOpen&&w.jsx(h.ImageViewer,{src:o,onClose:e.handleLightboxClose,onOpen:e.handleLightboxOpen,width:null===(s=e.imageDimensions)||void 0===s?void 0:s.width,height:null===(i=e.imageDimensions)||void 0===i?void 0:i.height})]})},G=function(e){var s=C.default.getFileNameWithExtensionFromPath(e.displayName||e.attachmentUrl),i=x(e.attachmentFileName,"inline"),o=x(e.attachmentFileName,"attachment"),n=f.getIsPreviewUnavailable(s);return w.jsxs("div",{className:j.cAttachmentFileWrapper,children:[w.jsxs("div",{className:D.default(j.cAttachmentFileDownloadWrapper,n&&e.classes.disabledPreview),style:M.fileDownloadWrapper,onClick:function(){n||e.openPreview()},children:[n?w.jsx(p.UnavailableFileIcon,{className:e.classes.unavailableFileIcon}):w.jsx(q,{fileName:e.displayName||e.attachmentUrl,className:j.cAttachmentFileDownloadWrapperFileIcon,size:e.small?25:50}),w.jsxs("div",{className:e.classes.titleContainer,children:[n&&w.jsx("div",{className:e.classes.caption,children:"Preview unavailable"}),w.jsx("div",{"data-testid":"".concat("Attachment","_name"),className:D.default(j.cAttachmentFileDownloadWrapperFileName,n&&e.classes.fileName),children:w.jsx(a.Typography,{variant:"subtitle2",noWrap:!0,className:e.classes.unavailableFileName,children:s})})]}),w.jsx(d,{fileUrl:i,classes:{root:e.classes.dialogRoot,paper:g.isNativeDetected?e.classes.nativeDialog:e.classes.dialog},fileName:s,fileSize:e.attachmentSize,onClose:e.closePreview,open:e.previewIsOpen})]}),w.jsx("a",{download:e.displayName,href:o,className:j.cAttachmentFileDownloadWrapperForm,children:w.jsx(I,{"data-testid":"".concat("Attachment","_downloadButton"),className:e.classes.downloadIcon,type:"submit",children:w.jsx(b.DownloadIcon,{size:24,className:e.classes.downloadIcon})})})]})};function _(e){var s=e.displayName,i=void 0===s?null:s,n=e.fileName,t=void 0===n?null:n,r=e.attachmentSize,c=void 0===r?void 0:r,a=e.size,l=void 0===a?V.label:a,u=e.small,m=void 0!==u&&u,d=R(R({},O.default(e,W)),{},{displayName:i,fileName:t,attachmentSize:c,size:l,small:m}),p=o.useState(void 0),h=N.default(p,2),q=h[0],I=h[1],f=o.useState(!1),b=N.default(f,2),C=b[0],y=b[1],F=o.useState(!1),P=N.default(F,2),D=P[0],S=P[1],z=d.displayName||d.attachmentUrl||d.fileName,k=v.getIsImage(z),U=v.getIsVideo(z),L=x(!d.attachmentUrl&&d.fileName),E=d.attachmentUrl||L,M=o.useCallback((function(e){return e.preventDefault()}),[]),_=o.useCallback((function(){g.isNativeDetected&&document.documentElement.addEventListener("touchmove",M,{passive:!1})}),[M]),H=o.useCallback((function(){g.isNativeDetected&&document.documentElement.removeEventListener("touchmove",M),y(!1)}),[M]),K=o.useCallback((function(){return y(!0)}),[]),Z=o.useCallback((function(e){var s=e.currentTarget,i=s.naturalWidth,o=s.naturalHeight;I({width:i,height:o})}),[]),J=o.useCallback((function(){return S(!0)}),[]),Q=o.useCallback((function(e){e.stopPropagation(),S(!1)}),[]);return k?w.jsx("div",{className:j.cAttachment,children:w.jsx(B,{size:d.size,openLightbox:K,attachmentFileName:d.fileName,attachmentUrl:d.attachmentUrl,onImageLoaded:Z,imageDimensions:q,lightboxIsOpen:C,handleLightboxOpen:_,handleLightboxClose:H,classes:d.classes})}):U&&A.default.canPlay(E)?w.jsx("div",{className:j.cAttachment,children:w.jsx(A.default,{"data-testid":"".concat("Attachment","_player"),className:j.cAttachmentReactPlayer,url:E,config:{file:{attributes:{preload:"metadata"}}},controls:!0,height:d.size===T.label?T.value:V.value,width:null})}):w.jsx("div",{className:j.cAttachment,children:w.jsx(G,{attachmentUrl:E,attachmentFileName:d.fileName,attachmentSize:d.attachmentSize,displayName:d.displayName,openPreview:J,closePreview:Q,previewIsOpen:D,classes:d.classes,small:d.small})})}_.propTypes={attachmentUrl:P.default.string.isRequired,attachmentSize:P.default.number,displayName:P.default.string,fileName:P.default.string,size:P.default.oneOf([T.label,V.label]),classes:P.default.shape({}).isRequired,small:P.default.bool};var H=c.withStyles((function(e){return{imageIconRoot:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"},dialog:{width:"95%",height:"95%",maxWidth:"100%",position:"relative"},nativeDialog:{width:"100%",height:"100%",maxWidth:"100%",maxHeight:"100%",margin:0},dialogRoot:{backgroundColor:"rgba(0, 0, 0, 0.85)"},fileName:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontWeight:400},downloadIcon:{color:e.palette.primary.text3},disabledPreview:{backgroundColor:e.palette.primary.text9},unavailableFileIcon:{marginRight:12,minWidth:32},titleContainer:{display:"flex",flexDirection:"column",width:"100%"},caption:{fontSize:12,fontWeight:400,width:"fit-content"},unavailableFileName:{fontSize:12,fontWeight:400}}}))(_);module.exports=H;
|
|
1
|
+
"use strict";var e=require("@babel/runtime/helpers/slicedToArray"),s=require("@babel/runtime/helpers/defineProperty"),i=require("@babel/runtime/helpers/objectWithoutProperties"),o=require("react"),n=require("prop-types"),t=require("react-player"),r=require("classnames"),c=require("@material-ui/core/styles"),a=require("@material-ui/core"),l=require("@material-ui/icons/Image"),u=require("@material-ui/icons/Fullscreen"),m=require("@material-ui/core/colors/grey"),d=require("../NewDocumentViewer/NewDocumentViewer.js"),p=require("../NewDocumentViewer/icons/UnavailableFileIcon.js"),j=require("../../componentsV2/ImageViewer/ImageViewer.js"),h=require("./styles.css.js"),q=require("../FileTypeIcon.js"),I=require("../IconButton/index.js"),g=require("../../utils/mobileDetect.js"),f=require("../../utils/fileExtension.js"),v=require("../../utils/filePreview.js"),b=require("../../icons/iconParkIcons.js");require("../../icons/customIcons/icons/AddMessage.js"),require("../../icons/customIcons/icons/DragOne.js"),require("../../icons/customIcons/icons/Attention.js"),require("../../icons/customIcons/icons/Collapse.js"),require("../../icons/customIcons/icons/Dashboard.js"),require("../../icons/customIcons/icons/Expand.js"),require("../../icons/customIcons/icons/FolderClosed.js"),require("../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../icons/customIcons/icons/FolderOpened.js"),require("../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../icons/customIcons/icons/LessOrEqual.js"),require("../../icons/customIcons/icons/Search.js"),require("../../icons/customIcons/icons/SearchOne.js"),require("../../icons/customIcons/icons/Wellhub.js"),require("../../icons/customIcons/icons/MultiRuler.js"),require("../../icons/customIcons/icons/Checkbox.js"),require("../../icons/customIcons/icons/CheckboxChecked.js"),require("../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../icons/customIcons/icons/Radio.js"),require("../../icons/customIcons/icons/RadioChecked.js"),require("../../icons/customIcons/icons/SimulFrac.js"),require("../../icons/customIcons/icons/ZipperFrac.js"),require("../../icons/customIcons/icons/CautionFilled.js"),require("../../icons/customIcons/icons/InfoRounded.js"),require("../../icons/customIcons/icons/FlameFilled.js"),require("../../icons/customIcons/icons/MoreApp.js"),require("../../icons/customIcons/icons/Pad.js"),require("../../icons/customIcons/icons/DrilloutUnit.js"),require("../../icons/customIcons/icons/FracFleet.js"),require("../../icons/customIcons/icons/Global.js"),require("../../icons/customIcons/icons/Program.js"),require("../../icons/customIcons/icons/Rig.js"),require("../../icons/customIcons/icons/Well.js"),require("../../icons/customIcons/icons/Gap.js"),require("../../icons/customIcons/icons/Pin.js"),require("../../icons/customIcons/icons/PinOne.js"),require("../../icons/customIcons/icons/PinOneCrossed.js"),require("../../icons/customIcons/icons/CloseOneFilled.js"),require("../../icons/customIcons/icons/AttentionFilled.js"),require("../../icons/customIcons/icons/CheckOneFilled.js"),require("../../icons/customIcons/icons/Archive.js"),require("../../icons/customIcons/icons/ArchiveCancel.js"),require("../../icons/customIcons/icons/Unarchive.js"),require("../../icons/customIcons/icons/Archived.js"),require("../../icons/customIcons/icons/InterventionUnit.js"),require("../../icons/customIcons/icons/CloudDelete.js"),require("../../icons/customIcons/icons/Lasso.js"),require("../../icons/customIcons/icons/Radius.js"),require("../../icons/customIcons/icons/ErrorOps.js"),require("../../icons/customIcons/icons/DataTypeOps.js"),require("../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../icons/customIcons/icons/CalibrationOps.js"),require("../../icons/customIcons/icons/CriticalOps.js"),require("../../icons/customIcons/icons/Company.js"),require("../../icons/customIcons/icons/ArchiveOne.js"),require("../../icons/customIcons/icons/ParseBotFusion.js"),require("../../icons/customIcons/icons/Connect.js"),require("../../icons/customIcons/icons/PuzzleOne.js"),require("../../icons/customIcons/icons/Feed.js"),require("../../icons/customIcons/icons/Prompt.js"),require("../../icons/customIcons/icons/Companies.js"),require("../../icons/customIcons/icons/ClipboardAi.js"),require("../../icons/customIcons/icons/Key.js"),require("../../icons/customIcons/icons/AtSignCrossed.js"),require("../../icons/customIcons/icons/MappingManual.js"),require("../../icons/customIcons/icons/Mapping.js"),require("../../icons/customIcons/icons/Metrics.js"),require("../../icons/customIcons/icons/Drops.js"),require("../../icons/customIcons/icons/ClipboardSearch.js"),require("../../icons/customIcons/icons/Template.js"),require("../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../icons/customIcons/icons/UnitConversion.js"),require("../../icons/customIcons/icons/NPT.js"),require("../../icons/customIcons/icons/GuidedFrac.js"),require("../../clients/subscriptions/constants.js"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("querystring"),require("uuid/v1"),require("lodash"),require("../../clients/subscriptions.v1.js"),require("../../clients/jsonApi/index.js"),require("../../clients/subscriptions/subscriptions-client.factory.js"),require("immutable"),require("query-string"),require("../../constants/goals.js"),require("../../constants/segment.js"),require("../../constants/alerts.js"),require("../../constants/apps.js"),require("../../constants/drillstring.js"),require("../../constants/completion.js"),require("../../constants/appPackages.js"),require("../../constants/notifications.js"),require("../../constants/feed.js"),require("../../constants/bha.js"),require("../../constants/corvaCompanyId.js"),require("../GradientManager/configuration/constants.js");var x=require("../../effects/useSignedURL.js");require("../../utils/index.js"),require("uuid"),require("jsona"),require("../../utils/env.js"),require("../StatusBadge/constants.js"),require("@babel/runtime/helpers/toConsumableArray"),require("lodash/set"),require("lodash/get"),require("lodash/unset"),require("moment"),require("../../clients/api/apiCore.js"),require("../../clients/constants.js"),require("../../clients/sso/auth0.js"),require("../../clients/sso/oauth2.js"),require("../../clients/api/rateLimiter.js"),require("lodash/isEmpty"),require("lodash/sortBy"),require("../../constants/streamSourceType.js"),require("../DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js"),require("../../componentsV2/AppCommonsProvider/AppCommonsProvider.js"),require("../../componentsV2/AppCommonsProvider/AppCommonsContext.js"),require("../../componentsV2/AppPanel/AppPanelsContext.js");var C=require("../../utils/main.js"),w=require("react/jsx-runtime");function y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var N=y(e),P=y(s),F=y(i),O=y(n),A=y(t),D=y(r),S=y(l),z=y(u),k=y(m),W=["displayName","fileName","attachmentSize","size","small"];function U(e,s){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);s&&(o=o.filter((function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable}))),i.push.apply(i,o)}return i}function R(e){for(var s=1;s<arguments.length;s++){var i=null!=arguments[s]?arguments[s]:{};s%2?U(Object(i),!0).forEach((function(s){P.default(e,s,i[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):U(Object(i)).forEach((function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(i,s))}))}return e}var L=k.default[200],E=k.default[400],T={label:"small",value:135},V={label:"medium",value:300},M={fileImage:function(e,s){return{maxWidth:"100%",borderRadius:4,overflow:"hidden",maxHeight:s===T.label?T.value:V.value,display:e?"initial":"none",cursor:"pointer"}},fileDownloadWrapper:{padding:"10px 10px 10px 5px",border:"1px solid #616161",borderRadius:3,maxWidth:500,width:"75%"},imagePlaceholder:{position:"relative",backgroundColor:L,borderRadius:3,marginTop:10,height:135,width:135}},B=function(e){var s,i,o=x(e.attachmentFileName)||e.attachmentUrl;return w.jsxs(w.Fragment,{children:[w.jsxs("div",{onClick:e.openLightbox,className:h.cAttachmentImg,children:[w.jsx("img",{"data-testid":"".concat("Attachment","_image"),src:o,style:M.fileImage(!!e.imageDimensions,e.size),alt:"Attachment",onLoad:e.onImageLoaded}),w.jsx("div",{"data-testid":"".concat("Attachment","_button"),className:h.cAttachmentImgPreviwBtn,children:w.jsx(z.default,{})})]}),!e.imageDimensions&&w.jsx("div",{style:M.imagePlaceholder,children:w.jsx(S.default,{"data-testid":"".concat("Attachment","_placeholder"),className:e.classes.imageIconRoot,htmlColor:E,fontSize:"large"})}),e.lightboxIsOpen&&w.jsx(j.ImageViewer,{src:o,onClose:e.handleLightboxClose,onOpen:e.handleLightboxOpen,width:null===(s=e.imageDimensions)||void 0===s?void 0:s.width,height:null===(i=e.imageDimensions)||void 0===i?void 0:i.height})]})},G=function(e){var s=C.default.getFileNameWithExtensionFromPath(e.displayName||e.attachmentUrl),i=x(e.attachmentFileName,"inline"),o=x(e.attachmentFileName,"attachment"),n=v.getIsPreviewUnavailable(s);return w.jsxs("div",{className:h.cAttachmentFileWrapper,children:[w.jsxs("div",{className:D.default(h.cAttachmentFileDownloadWrapper,n&&e.classes.disabledPreview),style:M.fileDownloadWrapper,onClick:function(){n||e.openPreview()},children:[n?w.jsx(p.UnavailableFileIcon,{className:e.classes.unavailableFileIcon}):w.jsx(q,{fileName:e.displayName||e.attachmentUrl,className:h.cAttachmentFileDownloadWrapperFileIcon,size:e.small?25:50}),w.jsxs("div",{className:e.classes.titleContainer,children:[n&&w.jsx("div",{className:e.classes.caption,children:"Preview unavailable"}),w.jsx("div",{"data-testid":"".concat("Attachment","_name"),className:D.default(h.cAttachmentFileDownloadWrapperFileName,n&&e.classes.fileName),children:w.jsx(a.Typography,{variant:"subtitle2",noWrap:!0,className:e.classes.unavailableFileName,children:s})})]}),w.jsx(d,{fileUrl:i,classes:{root:e.classes.dialogRoot,paper:g.isNativeDetected?e.classes.nativeDialog:e.classes.dialog},fileName:s,fileSize:e.attachmentSize,onClose:e.closePreview,open:e.previewIsOpen})]}),w.jsx("a",{download:e.displayName,href:o,className:h.cAttachmentFileDownloadWrapperForm,children:w.jsx(I,{"data-testid":"".concat("Attachment","_downloadButton"),className:e.classes.downloadIcon,type:"submit",children:w.jsx(b.DownloadIcon,{size:24,className:e.classes.downloadIcon})})})]})};function _(e){var s=e.displayName,i=void 0===s?null:s,n=e.fileName,t=void 0===n?null:n,r=e.attachmentSize,c=void 0===r?void 0:r,a=e.size,l=void 0===a?V.label:a,u=e.small,m=void 0!==u&&u,d=R(R({},F.default(e,W)),{},{displayName:i,fileName:t,attachmentSize:c,size:l,small:m}),p=o.useState(void 0),j=N.default(p,2),q=j[0],I=j[1],v=o.useState(!1),b=N.default(v,2),C=b[0],y=b[1],P=o.useState(!1),O=N.default(P,2),D=O[0],S=O[1],z=d.displayName||d.attachmentUrl||d.fileName,k=f.getIsImage(z),U=f.getIsVideo(z),L=x(!d.attachmentUrl&&d.fileName),E=d.attachmentUrl||L,M=o.useCallback((function(e){return e.preventDefault()}),[]),_=o.useCallback((function(){g.isNativeDetected&&document.documentElement.addEventListener("touchmove",M,{passive:!1})}),[M]),H=o.useCallback((function(){g.isNativeDetected&&document.documentElement.removeEventListener("touchmove",M),y(!1)}),[M]),K=o.useCallback((function(){return y(!0)}),[]),Z=o.useCallback((function(e){var s=e.currentTarget,i=s.naturalWidth,o=s.naturalHeight;I({width:i,height:o})}),[]),J=o.useCallback((function(){return S(!0)}),[]),Q=o.useCallback((function(e){e.stopPropagation(),S(!1)}),[]);return k?w.jsx("div",{className:h.cAttachment,children:w.jsx(B,{size:d.size,openLightbox:K,attachmentFileName:d.fileName,attachmentUrl:d.attachmentUrl,onImageLoaded:Z,imageDimensions:q,lightboxIsOpen:C,handleLightboxOpen:_,handleLightboxClose:H,classes:d.classes})}):U&&A.default.canPlay(E)?w.jsx("div",{className:h.cAttachment,children:w.jsx(A.default,{"data-testid":"".concat("Attachment","_player"),className:h.cAttachmentReactPlayer,url:E,config:{file:{attributes:{preload:"metadata"}}},controls:!0,height:d.size===T.label?T.value:V.value,width:null})}):w.jsx("div",{className:h.cAttachment,children:w.jsx(G,{attachmentUrl:E,attachmentFileName:d.fileName,attachmentSize:d.attachmentSize,displayName:d.displayName,openPreview:J,closePreview:Q,previewIsOpen:D,classes:d.classes,small:d.small})})}_.propTypes={attachmentUrl:O.default.string.isRequired,attachmentSize:O.default.number,displayName:O.default.string,fileName:O.default.string,size:O.default.oneOf([T.label,V.label]),classes:O.default.shape({}).isRequired,small:O.default.bool};var H=c.withStyles((function(e){return{imageIconRoot:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"},dialog:{width:"95%",height:"95%",maxWidth:"100%",position:"relative"},nativeDialog:{width:"100%",height:"100%",maxWidth:"100%",maxHeight:"100%",margin:0},dialogRoot:{backgroundColor:"rgba(0, 0, 0, 0.85)"},fileName:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontWeight:400},downloadIcon:{color:e.palette.primary.text3},disabledPreview:{backgroundColor:e.palette.primary.text9},unavailableFileIcon:{marginRight:12,minWidth:32},titleContainer:{display:"flex",flexDirection:"column",width:"100%"},caption:{fontSize:12,fontWeight:400,width:"fit-content"},unavailableFileName:{fontSize:12,fontWeight:400}}}))(_);module.exports=H;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/components/Attachment/index.js"],"sourcesContent":["import { useCallback, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport ReactPlayer from 'react-player';\nimport classNames from 'classnames';\nimport { withStyles } from '@material-ui/core/styles';\nimport { Typography } from '@material-ui/core';\nimport ImageIcon from '@material-ui/icons/Image';\nimport FullSizeIcon from '@material-ui/icons/Fullscreen';\nimport grey from '@material-ui/core/colors/grey';\n\nimport { NewDocumentViewer } from '../NewDocumentViewer';\nimport { UnavailableFileIcon } from '../NewDocumentViewer/icons/UnavailableFileIcon';\nimport { ImageViewer } from '../../componentsV2/ImageViewer';\n\nimport styles from './styles.css';\n\nimport FileTypeIcon from '~components/FileTypeIcon';\nimport IconButton from '~components/IconButton';\nimport { isNativeDetected } from '~/utils/mobileDetect';\nimport { getIsImage, getIsVideo } from '~/utils/fileExtension';\nimport { getIsPreviewUnavailable } from '~/utils/filePreview';\nimport { DownloadIcon } from '~/icons';\nimport { useSignedURL } from '~/effects';\nimport utils from '~utils/main';\n\nconst PAGE_NAME = 'Attachment';\n\nconst grey200 = grey[200];\nconst grey400 = grey[400];\n\nconst SIZES = {\n small: { label: 'small', value: 135 },\n medium: { label: 'medium', value: 300 },\n};\n\nconst style = {\n fileImage: (imageIsLoaded, size) => ({\n maxWidth: '100%',\n borderRadius: 4,\n overflow: 'hidden',\n // NOTE: Makes one-line comment with image fits into comments container. Equals to\n // imagePlaceholder height\n maxHeight: size === SIZES.small.label ? SIZES.small.value : SIZES.medium.value,\n display: imageIsLoaded ? 'initial' : 'none',\n cursor: 'pointer',\n }),\n fileDownloadWrapper: {\n padding: '10px 10px 10px 5px',\n border: `1px solid #616161`,\n borderRadius: 3,\n maxWidth: 500, // NOTE: Corresponds to react-player max width\n width: '75%',\n },\n imagePlaceholder: {\n position: 'relative',\n backgroundColor: grey200,\n borderRadius: 3,\n marginTop: 10,\n height: 135,\n width: 135,\n },\n};\n\nconst muiStyles = theme => ({\n imageIconRoot: {\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n },\n dialog: {\n width: '95%',\n height: '95%',\n maxWidth: '100%',\n position: 'relative',\n },\n nativeDialog: {\n width: '100%',\n height: '100%',\n maxWidth: '100%',\n maxHeight: '100%',\n margin: 0,\n },\n dialogRoot: {\n // NOTE: Make background color similar to lightbox\n backgroundColor: 'rgba(0, 0, 0, 0.85)',\n },\n fileName: {\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n textOverflow: 'ellipsis',\n fontWeight: 400,\n },\n downloadIcon: {\n color: theme.palette.primary.text3,\n },\n disabledPreview: {\n backgroundColor: theme.palette.primary.text9,\n },\n unavailableFileIcon: {\n marginRight: 12,\n minWidth: 32,\n },\n titleContainer: {\n display: 'flex',\n flexDirection: 'column',\n width: '100%',\n },\n caption: {\n fontSize: 12,\n fontWeight: 400,\n width: 'fit-content',\n },\n unavailableFileName: {\n fontSize: 12,\n fontWeight: 400,\n },\n});\n\n/* eslint-disable react/prop-types */\nconst ImageAttachment = props => {\n const downloadLink = useSignedURL(props.attachmentFileName) || props.attachmentUrl;\n\n return (\n <>\n <div onClick={props.openLightbox} className={styles.cAttachmentImg}>\n <img\n data-testid={`${PAGE_NAME}_image`}\n src={downloadLink}\n style={style.fileImage(!!props.imageDimensions, props.size)}\n alt=\"Attachment\"\n onLoad={props.onImageLoaded}\n />\n <div data-testid={`${PAGE_NAME}_button`} className={styles.cAttachmentImgPreviwBtn}>\n <FullSizeIcon />\n </div>\n </div>\n\n {!props.imageDimensions && (\n <div style={style.imagePlaceholder}>\n <ImageIcon\n data-testid={`${PAGE_NAME}_placeholder`}\n className={props.classes.imageIconRoot}\n htmlColor={grey400}\n fontSize=\"large\"\n />\n </div>\n )}\n\n {props.lightboxIsOpen && (\n <ImageViewer\n src={downloadLink}\n onClose={props.handleLightboxClose}\n onOpen={props.handleLightboxOpen}\n width={props.imageDimensions?.width}\n height={props.imageDimensions?.height}\n />\n )}\n </>\n );\n};\n\nconst FileAttachment = props => {\n const fileName = utils.getFileNameWithExtensionFromPath(props.displayName || props.attachmentUrl);\n\n const previewUrl = useSignedURL(props.attachmentFileName, 'inline');\n const downloadUrl = useSignedURL(props.attachmentFileName, 'attachment');\n\n const isPreviewUnavailable = getIsPreviewUnavailable(fileName);\n\n const handleFilePreviewOpen = () => {\n if (isPreviewUnavailable) return;\n props.openPreview();\n };\n\n return (\n <div className={styles.cAttachmentFileWrapper}>\n <div\n className={classNames(\n styles.cAttachmentFileDownloadWrapper,\n isPreviewUnavailable && props.classes.disabledPreview\n )}\n style={style.fileDownloadWrapper}\n onClick={handleFilePreviewOpen}\n >\n {isPreviewUnavailable ? (\n <UnavailableFileIcon className={props.classes.unavailableFileIcon} />\n ) : (\n <FileTypeIcon\n fileName={props.displayName || props.attachmentUrl}\n className={styles.cAttachmentFileDownloadWrapperFileIcon}\n size={props.small ? 25 : 50}\n />\n )}\n <div className={props.classes.titleContainer}>\n {isPreviewUnavailable && <div className={props.classes.caption}>Preview unavailable</div>}\n <div\n data-testid={`${PAGE_NAME}_name`}\n className={classNames(\n styles.cAttachmentFileDownloadWrapperFileName,\n isPreviewUnavailable && props.classes.fileName\n )}\n >\n <Typography variant=\"subtitle2\" noWrap className={props.classes.unavailableFileName}>\n {fileName}\n </Typography>\n </div>\n </div>\n <NewDocumentViewer\n fileUrl={previewUrl}\n classes={{\n root: props.classes.dialogRoot,\n paper: isNativeDetected ? props.classes.nativeDialog : props.classes.dialog,\n }}\n fileName={fileName}\n fileSize={props.attachmentSize}\n onClose={props.closePreview}\n open={props.previewIsOpen}\n />\n </div>\n <a\n download={props.displayName}\n href={downloadUrl}\n className={styles.cAttachmentFileDownloadWrapperForm}\n >\n <IconButton\n data-testid={`${PAGE_NAME}_downloadButton`}\n className={props.classes.downloadIcon}\n type=\"submit\"\n >\n <DownloadIcon size={24} className={props.classes.downloadIcon} />\n </IconButton>\n </a>\n </div>\n );\n};\n\n/* eslint-enable react/prop-types */\n\nfunction Attachment(rawProps) {\n const {\n displayName = null,\n fileName: attachmentFileName = null,\n attachmentSize = undefined,\n size = SIZES.medium.label,\n small = false,\n ...otherProps\n } = rawProps;\n const props = {\n ...otherProps,\n displayName,\n fileName: attachmentFileName,\n attachmentSize,\n size,\n small,\n };\n\n const [imageDimensions, setImageDimensions] = useState(undefined);\n const [isLightboxOpen, setIsLightboxOpen] = useState(false);\n const [isPreviewOpen, setIsPreviewOpen] = useState(false);\n\n const fileName = props.displayName || props.attachmentUrl || props.fileName;\n const isImage = getIsImage(fileName);\n const isVideo = getIsVideo(fileName);\n\n // Don't fetch download link if attachmentUrl is provided\n const downloadLink = useSignedURL(!props.attachmentUrl && props.fileName);\n const attachmentUrl = props.attachmentUrl || downloadLink;\n const preventIOSScroll = useCallback(e => e.preventDefault(), []);\n\n // NOTE: iOS WebView has a bug when background content of React Modal is scrollable\n // Source: https://github.com/reactjs/react-modal/issues/369\n const handleLightboxOpen = useCallback(() => {\n if (isNativeDetected) {\n // document.documentElement.style.overflowY = 'hidden';\n document.documentElement.addEventListener('touchmove', preventIOSScroll, {\n passive: false,\n });\n }\n }, [preventIOSScroll]);\n\n const handleLightboxClose = useCallback(() => {\n if (isNativeDetected) {\n // document.documentElement.style.overflowY = 'visible';\n document.documentElement.removeEventListener('touchmove', preventIOSScroll);\n }\n setIsLightboxOpen(false);\n }, [preventIOSScroll]);\n\n const openLightbox = useCallback(() => setIsLightboxOpen(true), []);\n const onImageLoaded = useCallback(e => {\n const { naturalWidth, naturalHeight } = e.currentTarget;\n setImageDimensions({ width: naturalWidth, height: naturalHeight });\n }, []);\n const openPreview = useCallback(() => setIsPreviewOpen(true), []);\n const closePreview = useCallback(e => {\n e.stopPropagation();\n setIsPreviewOpen(false);\n }, []);\n\n if (isImage)\n return (\n <div className={styles.cAttachment}>\n <ImageAttachment\n size={props.size}\n openLightbox={openLightbox}\n attachmentFileName={props.fileName}\n attachmentUrl={props.attachmentUrl}\n onImageLoaded={onImageLoaded}\n imageDimensions={imageDimensions}\n lightboxIsOpen={isLightboxOpen}\n handleLightboxOpen={handleLightboxOpen}\n handleLightboxClose={handleLightboxClose}\n classes={props.classes}\n />\n </div>\n );\n\n if (isVideo && ReactPlayer.canPlay(attachmentUrl))\n return (\n <div className={styles.cAttachment}>\n <ReactPlayer\n data-testid={`${PAGE_NAME}_player`}\n className={styles.cAttachmentReactPlayer}\n url={attachmentUrl}\n config={{ file: { attributes: { preload: 'metadata' } } }}\n controls\n height={props.size === SIZES.small.label ? SIZES.small.value : SIZES.medium.value}\n width={null}\n />\n </div>\n );\n\n return (\n <div className={styles.cAttachment}>\n <FileAttachment\n attachmentUrl={attachmentUrl}\n attachmentFileName={props.fileName}\n attachmentSize={props.attachmentSize}\n displayName={props.displayName}\n openPreview={openPreview}\n closePreview={closePreview}\n previewIsOpen={isPreviewOpen}\n classes={props.classes}\n small={props.small}\n />\n </div>\n );\n}\n\nAttachment.propTypes = {\n attachmentUrl: PropTypes.string.isRequired,\n attachmentSize: PropTypes.number,\n displayName: PropTypes.string,\n fileName: PropTypes.string,\n size: PropTypes.oneOf([SIZES.small.label, SIZES.medium.label]),\n classes: PropTypes.shape({}).isRequired,\n small: PropTypes.bool,\n};\n\nexport default withStyles(muiStyles)(Attachment);\n"],"names":["grey200","grey","grey400","SIZES","label","value","style","fileImage","imageIsLoaded","size","maxWidth","borderRadius","overflow","maxHeight","display","cursor","fileDownloadWrapper","padding","border","width","imagePlaceholder","position","backgroundColor","marginTop","height","ImageAttachment","props","_props$imageDimension","_props$imageDimension2","downloadLink","useSignedURL","attachmentFileName","attachmentUrl","_jsxs","_Fragment","children","jsxs","onClick","openLightbox","className","styles","cAttachmentImg","_jsx","jsx","concat","src","imageDimensions","alt","onLoad","onImageLoaded","cAttachmentImgPreviwBtn","FullSizeIcon","ImageIcon","classes","imageIconRoot","htmlColor","fontSize","lightboxIsOpen","ImageViewer","onClose","handleLightboxClose","onOpen","handleLightboxOpen","FileAttachment","fileName","utils","getFileNameWithExtensionFromPath","displayName","previewUrl","downloadUrl","isPreviewUnavailable","getIsPreviewUnavailable","cAttachmentFileWrapper","classNames","cAttachmentFileDownloadWrapper","disabledPreview","openPreview","UnavailableFileIcon","unavailableFileIcon","FileTypeIcon","cAttachmentFileDownloadWrapperFileIcon","small","titleContainer","caption","cAttachmentFileDownloadWrapperFileName","Typography","variant","noWrap","unavailableFileName","NewDocumentViewer","fileUrl","root","dialogRoot","paper","isNativeDetected","nativeDialog","dialog","fileSize","attachmentSize","closePreview","open","previewIsOpen","download","href","cAttachmentFileDownloadWrapperForm","IconButton","downloadIcon","type","DownloadIcon","Attachment","rawProps","_rawProps$displayName","_rawProps$fileName","_rawProps$attachmentS","undefined","_rawProps$size","_rawProps$small","_excluded","useState","_useState2","_slicedToArray","_useState","setImageDimensions","_useState4","_useState3","isLightboxOpen","setIsLightboxOpen","_useState6","_useState5","isPreviewOpen","setIsPreviewOpen","isImage","getIsImage","isVideo","getIsVideo","preventIOSScroll","useCallback","e","preventDefault","document","documentElement","addEventListener","passive","removeEventListener","currentTarget","naturalWidth","naturalHeight","stopPropagation","cAttachment","ReactPlayer","canPlay","cAttachmentReactPlayer","url","config","file","attributes","preload","controls","propTypes","PropTypes","string","isRequired","number","oneOf","shape","bool","Attachment$1","withStyles","theme","top","left","transform","margin","whiteSpace","textOverflow","fontWeight","color","palette","primary","text3","text9","marginRight","minWidth","flexDirection"],"mappings":"uxOAyBA,IAEMA,EAAUC,EAAAA,QAAK,KACfC,EAAUD,EAAAA,QAAK,KAEfE,EACG,CAAEC,MAAO,QAASC,MAAO,KAD5BF,EAEI,CAAEC,MAAO,SAAUC,MAAO,KAG9BC,EAAQ,CACZC,UAAW,SAACC,EAAeC,GAAI,MAAM,CACnCC,SAAU,OACVC,aAAc,EACdC,SAAU,SAGVC,UAAWJ,IAASN,EAAY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qE,oBAAqB,CACnBhC,SAAU,GACVuH,WAAY,KAEf,GAmPcR,CAAsB1D"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/components/Attachment/index.js"],"sourcesContent":["import { useCallback, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport ReactPlayer from 'react-player';\nimport classNames from 'classnames';\nimport { withStyles } from '@material-ui/core/styles';\nimport { Typography } from '@material-ui/core';\nimport ImageIcon from '@material-ui/icons/Image';\nimport FullSizeIcon from '@material-ui/icons/Fullscreen';\nimport grey from '@material-ui/core/colors/grey';\n\nimport { NewDocumentViewer } from '../NewDocumentViewer';\nimport { UnavailableFileIcon } from '../NewDocumentViewer/icons/UnavailableFileIcon';\nimport { ImageViewer } from '../../componentsV2/ImageViewer';\n\nimport styles from './styles.css';\n\nimport FileTypeIcon from '~components/FileTypeIcon';\nimport IconButton from '~components/IconButton';\nimport { isNativeDetected } from '~/utils/mobileDetect';\nimport { getIsImage, getIsVideo } from '~/utils/fileExtension';\nimport { getIsPreviewUnavailable } from '~/utils/filePreview';\nimport { DownloadIcon } from '~/icons';\nimport { useSignedURL } from '~/effects';\nimport utils from '~utils/main';\n\nconst PAGE_NAME = 'Attachment';\n\nconst grey200 = grey[200];\nconst grey400 = grey[400];\n\nconst SIZES = {\n small: { label: 'small', value: 135 },\n medium: { label: 'medium', value: 300 },\n};\n\nconst style = {\n fileImage: (imageIsLoaded, size) => ({\n maxWidth: '100%',\n borderRadius: 4,\n overflow: 'hidden',\n // NOTE: Makes one-line comment with image fits into comments container. Equals to\n // imagePlaceholder height\n maxHeight: size === SIZES.small.label ? SIZES.small.value : SIZES.medium.value,\n display: imageIsLoaded ? 'initial' : 'none',\n cursor: 'pointer',\n }),\n fileDownloadWrapper: {\n padding: '10px 10px 10px 5px',\n border: `1px solid #616161`,\n borderRadius: 3,\n maxWidth: 500, // NOTE: Corresponds to react-player max width\n width: '75%',\n },\n imagePlaceholder: {\n position: 'relative',\n backgroundColor: grey200,\n borderRadius: 3,\n marginTop: 10,\n height: 135,\n width: 135,\n },\n};\n\nconst muiStyles = theme => ({\n imageIconRoot: {\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n },\n dialog: {\n width: '95%',\n height: '95%',\n maxWidth: '100%',\n position: 'relative',\n },\n nativeDialog: {\n width: '100%',\n height: '100%',\n maxWidth: '100%',\n maxHeight: '100%',\n margin: 0,\n },\n dialogRoot: {\n // NOTE: Make background color similar to lightbox\n backgroundColor: 'rgba(0, 0, 0, 0.85)',\n },\n fileName: {\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n textOverflow: 'ellipsis',\n fontWeight: 400,\n },\n downloadIcon: {\n color: theme.palette.primary.text3,\n },\n disabledPreview: {\n backgroundColor: theme.palette.primary.text9,\n },\n unavailableFileIcon: {\n marginRight: 12,\n minWidth: 32,\n },\n titleContainer: {\n display: 'flex',\n flexDirection: 'column',\n width: '100%',\n },\n caption: {\n fontSize: 12,\n fontWeight: 400,\n width: 'fit-content',\n },\n unavailableFileName: {\n fontSize: 12,\n fontWeight: 400,\n },\n});\n\n/* eslint-disable react/prop-types */\nconst ImageAttachment = props => {\n const downloadLink = useSignedURL(props.attachmentFileName) || props.attachmentUrl;\n\n return (\n <>\n <div onClick={props.openLightbox} className={styles.cAttachmentImg}>\n <img\n data-testid={`${PAGE_NAME}_image`}\n src={downloadLink}\n style={style.fileImage(!!props.imageDimensions, props.size)}\n alt=\"Attachment\"\n onLoad={props.onImageLoaded}\n />\n <div data-testid={`${PAGE_NAME}_button`} className={styles.cAttachmentImgPreviwBtn}>\n <FullSizeIcon />\n </div>\n </div>\n\n {!props.imageDimensions && (\n <div style={style.imagePlaceholder}>\n <ImageIcon\n data-testid={`${PAGE_NAME}_placeholder`}\n className={props.classes.imageIconRoot}\n htmlColor={grey400}\n fontSize=\"large\"\n />\n </div>\n )}\n\n {props.lightboxIsOpen && (\n <ImageViewer\n src={downloadLink}\n onClose={props.handleLightboxClose}\n onOpen={props.handleLightboxOpen}\n width={props.imageDimensions?.width}\n height={props.imageDimensions?.height}\n />\n )}\n </>\n );\n};\n\nconst FileAttachment = props => {\n const fileName = utils.getFileNameWithExtensionFromPath(props.displayName || props.attachmentUrl);\n\n const previewUrl = useSignedURL(props.attachmentFileName, 'inline');\n const downloadUrl = useSignedURL(props.attachmentFileName, 'attachment');\n\n const isPreviewUnavailable = getIsPreviewUnavailable(fileName);\n\n const handleFilePreviewOpen = () => {\n if (isPreviewUnavailable) return;\n props.openPreview();\n };\n\n return (\n <div className={styles.cAttachmentFileWrapper}>\n <div\n className={classNames(\n styles.cAttachmentFileDownloadWrapper,\n isPreviewUnavailable && props.classes.disabledPreview\n )}\n style={style.fileDownloadWrapper}\n onClick={handleFilePreviewOpen}\n >\n {isPreviewUnavailable ? (\n <UnavailableFileIcon className={props.classes.unavailableFileIcon} />\n ) : (\n <FileTypeIcon\n fileName={props.displayName || props.attachmentUrl}\n className={styles.cAttachmentFileDownloadWrapperFileIcon}\n size={props.small ? 25 : 50}\n />\n )}\n <div className={props.classes.titleContainer}>\n {isPreviewUnavailable && <div className={props.classes.caption}>Preview unavailable</div>}\n <div\n data-testid={`${PAGE_NAME}_name`}\n className={classNames(\n styles.cAttachmentFileDownloadWrapperFileName,\n isPreviewUnavailable && props.classes.fileName\n )}\n >\n <Typography variant=\"subtitle2\" noWrap className={props.classes.unavailableFileName}>\n {fileName}\n </Typography>\n </div>\n </div>\n <NewDocumentViewer\n fileUrl={previewUrl}\n classes={{\n root: props.classes.dialogRoot,\n paper: isNativeDetected ? props.classes.nativeDialog : props.classes.dialog,\n }}\n fileName={fileName}\n fileSize={props.attachmentSize}\n onClose={props.closePreview}\n open={props.previewIsOpen}\n />\n </div>\n <a\n download={props.displayName}\n href={downloadUrl}\n className={styles.cAttachmentFileDownloadWrapperForm}\n >\n <IconButton\n data-testid={`${PAGE_NAME}_downloadButton`}\n className={props.classes.downloadIcon}\n type=\"submit\"\n >\n <DownloadIcon size={24} className={props.classes.downloadIcon} />\n </IconButton>\n </a>\n </div>\n );\n};\n\n/* eslint-enable react/prop-types */\n\nfunction Attachment(rawProps) {\n const {\n displayName = null,\n fileName: attachmentFileName = null,\n attachmentSize = undefined,\n size = SIZES.medium.label,\n small = false,\n ...otherProps\n } = rawProps;\n const props = {\n ...otherProps,\n displayName,\n fileName: attachmentFileName,\n attachmentSize,\n size,\n small,\n };\n\n const [imageDimensions, setImageDimensions] = useState(undefined);\n const [isLightboxOpen, setIsLightboxOpen] = useState(false);\n const [isPreviewOpen, setIsPreviewOpen] = useState(false);\n\n const fileName = props.displayName || props.attachmentUrl || props.fileName;\n const isImage = getIsImage(fileName);\n const isVideo = getIsVideo(fileName);\n\n // Don't fetch download link if attachmentUrl is provided\n const downloadLink = useSignedURL(!props.attachmentUrl && props.fileName);\n const attachmentUrl = props.attachmentUrl || downloadLink;\n const preventIOSScroll = useCallback(e => e.preventDefault(), []);\n\n // NOTE: iOS WebView has a bug when background content of React Modal is scrollable\n // Source: https://github.com/reactjs/react-modal/issues/369\n const handleLightboxOpen = useCallback(() => {\n if (isNativeDetected) {\n // document.documentElement.style.overflowY = 'hidden';\n document.documentElement.addEventListener('touchmove', preventIOSScroll, {\n passive: false,\n });\n }\n }, [preventIOSScroll]);\n\n const handleLightboxClose = useCallback(() => {\n if (isNativeDetected) {\n // document.documentElement.style.overflowY = 'visible';\n document.documentElement.removeEventListener('touchmove', preventIOSScroll);\n }\n setIsLightboxOpen(false);\n }, [preventIOSScroll]);\n\n const openLightbox = useCallback(() => setIsLightboxOpen(true), []);\n const onImageLoaded = useCallback(e => {\n const { naturalWidth, naturalHeight } = e.currentTarget;\n setImageDimensions({ width: naturalWidth, height: naturalHeight });\n }, []);\n const openPreview = useCallback(() => setIsPreviewOpen(true), []);\n const closePreview = useCallback(e => {\n e.stopPropagation();\n setIsPreviewOpen(false);\n }, []);\n\n if (isImage)\n return (\n <div className={styles.cAttachment}>\n <ImageAttachment\n size={props.size}\n openLightbox={openLightbox}\n attachmentFileName={props.fileName}\n attachmentUrl={props.attachmentUrl}\n onImageLoaded={onImageLoaded}\n imageDimensions={imageDimensions}\n lightboxIsOpen={isLightboxOpen}\n handleLightboxOpen={handleLightboxOpen}\n handleLightboxClose={handleLightboxClose}\n classes={props.classes}\n />\n </div>\n );\n\n if (isVideo && ReactPlayer.canPlay(attachmentUrl))\n return (\n <div className={styles.cAttachment}>\n <ReactPlayer\n data-testid={`${PAGE_NAME}_player`}\n className={styles.cAttachmentReactPlayer}\n url={attachmentUrl}\n config={{ file: { attributes: { preload: 'metadata' } } }}\n controls\n height={props.size === SIZES.small.label ? SIZES.small.value : SIZES.medium.value}\n width={null}\n />\n </div>\n );\n\n return (\n <div className={styles.cAttachment}>\n <FileAttachment\n attachmentUrl={attachmentUrl}\n attachmentFileName={props.fileName}\n attachmentSize={props.attachmentSize}\n displayName={props.displayName}\n openPreview={openPreview}\n closePreview={closePreview}\n previewIsOpen={isPreviewOpen}\n classes={props.classes}\n small={props.small}\n />\n </div>\n );\n}\n\nAttachment.propTypes = {\n attachmentUrl: PropTypes.string.isRequired,\n attachmentSize: PropTypes.number,\n displayName: PropTypes.string,\n fileName: PropTypes.string,\n size: PropTypes.oneOf([SIZES.small.label, SIZES.medium.label]),\n classes: PropTypes.shape({}).isRequired,\n small: PropTypes.bool,\n};\n\nexport default withStyles(muiStyles)(Attachment);\n"],"names":["grey200","grey","grey400","SIZES","label","value","style","fileImage","imageIsLoaded","size","maxWidth","borderRadius","overflow","maxHeight","display","cursor","fileDownloadWrapper","padding","border","width","imagePlaceholder","position","backgroundColor","marginTop","height","ImageAttachment","props","_props$imageDimension","_props$imageDimension2","downloadLink","useSignedURL","attachmentFileName","attachmentUrl","_jsxs","_Fragment","children","jsxs","onClick","openLightbox","className","styles","cAttachmentImg","_jsx","jsx","concat","src","imageDimensions","alt","onLoad","onImageLoaded","cAttachmentImgPreviwBtn","FullSizeIcon","ImageIcon","classes","imageIconRoot","htmlColor","fontSize","lightboxIsOpen","ImageViewer","onClose","handleLightboxClose","onOpen","handleLightboxOpen","FileAttachment","fileName","utils","getFileNameWithExtensionFromPath","displayName","previewUrl","downloadUrl","isPreviewUnavailable","getIsPreviewUnavailable","cAttachmentFileWrapper","classNames","cAttachmentFileDownloadWrapper","disabledPreview","openPreview","UnavailableFileIcon","unavailableFileIcon","FileTypeIcon","cAttachmentFileDownloadWrapperFileIcon","small","titleContainer","caption","cAttachmentFileDownloadWrapperFileName","Typography","variant","noWrap","unavailableFileName","NewDocumentViewer","fileUrl","root","dialogRoot","paper","isNativeDetected","nativeDialog","dialog","fileSize","attachmentSize","closePreview","open","previewIsOpen","download","href","cAttachmentFileDownloadWrapperForm","IconButton","downloadIcon","type","DownloadIcon","Attachment","rawProps","_rawProps$displayName","_rawProps$fileName","_rawProps$attachmentS","undefined","_rawProps$size","_rawProps$small","_excluded","useState","_useState2","_slicedToArray","_useState","setImageDimensions","_useState4","_useState3","isLightboxOpen","setIsLightboxOpen","_useState6","_useState5","isPreviewOpen","setIsPreviewOpen","isImage","getIsImage","isVideo","getIsVideo","preventIOSScroll","useCallback","e","preventDefault","document","documentElement","addEventListener","passive","removeEventListener","currentTarget","naturalWidth","naturalHeight","stopPropagation","cAttachment","ReactPlayer","canPlay","cAttachmentReactPlayer","url","config","file","attributes","preload","controls","propTypes","PropTypes","string","isRequired","number","oneOf","shape","bool","Attachment$1","withStyles","theme","top","left","transform","margin","whiteSpace","textOverflow","fontWeight","color","palette","primary","text3","text9","marginRight","minWidth","flexDirection"],"mappings":"w+OAyBA,IAEMA,EAAUC,EAAAA,QAAK,KACfC,EAAUD,EAAAA,QAAK,KAEfE,EACG,CAAEC,MAAO,QAASC,MAAO,KAD5BF,EAEI,CAAEC,MAAO,SAAUC,MAAO,KAG9BC,EAAQ,CACZC,UAAW,SAACC,EAAeC,GAAI,MAAM,CACnCC,SAAU,OACVC,aAAc,EACdC,SAAU,SAGVC,UAAWJ,IAASN,EAAYC,MAAQD,EAAYE,MAAQF,EAAaE,MACzES,QAASN,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f,GAmPcR,CAAsB1D"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("react"),o=require("../../componentsV2/Modal/Modal.js"),c=require("../../componentsV2/ButtonIcon/ButtonIcon.js"),e=require("../AttachmentPreview/AttachmentRow.js"),n=require("./AttachmentPreviewPane.js"),i=require("./AttachmentLightbox.scss.js"),r=require("../../icons/iconParkIcons.js");require("../../icons/customIcons/icons/AddMessage.js"),require("../../icons/customIcons/icons/DragOne.js"),require("../../icons/customIcons/icons/Attention.js"),require("../../icons/customIcons/icons/Collapse.js"),require("../../icons/customIcons/icons/Dashboard.js"),require("../../icons/customIcons/icons/Expand.js"),require("../../icons/customIcons/icons/FolderClosed.js"),require("../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../icons/customIcons/icons/FolderOpened.js"),require("../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../icons/customIcons/icons/LessOrEqual.js"),require("../../icons/customIcons/icons/Search.js"),require("../../icons/customIcons/icons/SearchOne.js"),require("../../icons/customIcons/icons/Wellhub.js"),require("../../icons/customIcons/icons/MultiRuler.js"),require("../../icons/customIcons/icons/Checkbox.js"),require("../../icons/customIcons/icons/CheckboxChecked.js"),require("../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../icons/customIcons/icons/Radio.js"),require("../../icons/customIcons/icons/RadioChecked.js"),require("../../icons/customIcons/icons/SimulFrac.js"),require("../../icons/customIcons/icons/ZipperFrac.js"),require("../../icons/customIcons/icons/CautionFilled.js"),require("../../icons/customIcons/icons/MoreApp.js"),require("../../icons/customIcons/icons/Pad.js"),require("../../icons/customIcons/icons/DrilloutUnit.js"),require("../../icons/customIcons/icons/FracFleet.js"),require("../../icons/customIcons/icons/Global.js"),require("../../icons/customIcons/icons/Program.js"),require("../../icons/customIcons/icons/Rig.js"),require("../../icons/customIcons/icons/Well.js"),require("../../icons/customIcons/icons/Gap.js"),require("../../icons/customIcons/icons/Pin.js"),require("../../icons/customIcons/icons/CloseOneFilled.js"),require("../../icons/customIcons/icons/AttentionFilled.js"),require("../../icons/customIcons/icons/CheckOneFilled.js"),require("../../icons/customIcons/icons/Archive.js"),require("../../icons/customIcons/icons/ArchiveCancel.js"),require("../../icons/customIcons/icons/Unarchive.js"),require("../../icons/customIcons/icons/Archived.js"),require("../../icons/customIcons/icons/InterventionUnit.js"),require("../../icons/customIcons/icons/CloudDelete.js"),require("../../icons/customIcons/icons/Lasso.js"),require("../../icons/customIcons/icons/Radius.js"),require("../../icons/customIcons/icons/ErrorOps.js"),require("../../icons/customIcons/icons/DataTypeOps.js"),require("../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../icons/customIcons/icons/CalibrationOps.js"),require("../../icons/customIcons/icons/CriticalOps.js"),require("../../icons/customIcons/icons/Company.js"),require("../../icons/customIcons/icons/ArchiveOne.js"),require("../../icons/customIcons/icons/ParseBotFusion.js"),require("../../icons/customIcons/icons/Connect.js"),require("../../icons/customIcons/icons/PuzzleOne.js"),require("../../icons/customIcons/icons/Feed.js"),require("../../icons/customIcons/icons/Prompt.js"),require("../../icons/customIcons/icons/Companies.js"),require("../../icons/customIcons/icons/ClipboardAi.js"),require("../../icons/customIcons/icons/Key.js"),require("../../icons/customIcons/icons/AtSignCrossed.js"),require("../../icons/customIcons/icons/MappingManual.js"),require("../../icons/customIcons/icons/Mapping.js"),require("../../icons/customIcons/icons/Metrics.js"),require("../../icons/customIcons/icons/Drops.js"),require("../../icons/customIcons/icons/ClipboardSearch.js"),require("../../icons/customIcons/icons/Template.js"),require("../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../icons/customIcons/icons/UnitConversion.js"),require("../../icons/customIcons/icons/NPT.js"),require("../../icons/customIcons/icons/GuidedFrac.js");var t=require("react/jsx-runtime");exports.AttachmentLightbox=function(u){var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("react"),o=require("../../componentsV2/Modal/Modal.js"),c=require("../../componentsV2/ButtonIcon/ButtonIcon.js"),e=require("../AttachmentPreview/AttachmentRow.js"),n=require("./AttachmentPreviewPane.js"),i=require("./AttachmentLightbox.scss.js"),r=require("../../icons/iconParkIcons.js");require("../../icons/customIcons/icons/AddMessage.js"),require("../../icons/customIcons/icons/DragOne.js"),require("../../icons/customIcons/icons/Attention.js"),require("../../icons/customIcons/icons/Collapse.js"),require("../../icons/customIcons/icons/Dashboard.js"),require("../../icons/customIcons/icons/Expand.js"),require("../../icons/customIcons/icons/FolderClosed.js"),require("../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../icons/customIcons/icons/FolderOpened.js"),require("../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../icons/customIcons/icons/LessOrEqual.js"),require("../../icons/customIcons/icons/Search.js"),require("../../icons/customIcons/icons/SearchOne.js"),require("../../icons/customIcons/icons/Wellhub.js"),require("../../icons/customIcons/icons/MultiRuler.js"),require("../../icons/customIcons/icons/Checkbox.js"),require("../../icons/customIcons/icons/CheckboxChecked.js"),require("../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../icons/customIcons/icons/Radio.js"),require("../../icons/customIcons/icons/RadioChecked.js"),require("../../icons/customIcons/icons/SimulFrac.js"),require("../../icons/customIcons/icons/ZipperFrac.js"),require("../../icons/customIcons/icons/CautionFilled.js"),require("../../icons/customIcons/icons/InfoRounded.js"),require("../../icons/customIcons/icons/FlameFilled.js"),require("../../icons/customIcons/icons/MoreApp.js"),require("../../icons/customIcons/icons/Pad.js"),require("../../icons/customIcons/icons/DrilloutUnit.js"),require("../../icons/customIcons/icons/FracFleet.js"),require("../../icons/customIcons/icons/Global.js"),require("../../icons/customIcons/icons/Program.js"),require("../../icons/customIcons/icons/Rig.js"),require("../../icons/customIcons/icons/Well.js"),require("../../icons/customIcons/icons/Gap.js"),require("../../icons/customIcons/icons/Pin.js"),require("../../icons/customIcons/icons/PinOne.js"),require("../../icons/customIcons/icons/PinOneCrossed.js"),require("../../icons/customIcons/icons/CloseOneFilled.js"),require("../../icons/customIcons/icons/AttentionFilled.js"),require("../../icons/customIcons/icons/CheckOneFilled.js"),require("../../icons/customIcons/icons/Archive.js"),require("../../icons/customIcons/icons/ArchiveCancel.js"),require("../../icons/customIcons/icons/Unarchive.js"),require("../../icons/customIcons/icons/Archived.js"),require("../../icons/customIcons/icons/InterventionUnit.js"),require("../../icons/customIcons/icons/CloudDelete.js"),require("../../icons/customIcons/icons/Lasso.js"),require("../../icons/customIcons/icons/Radius.js"),require("../../icons/customIcons/icons/ErrorOps.js"),require("../../icons/customIcons/icons/DataTypeOps.js"),require("../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../icons/customIcons/icons/CalibrationOps.js"),require("../../icons/customIcons/icons/CriticalOps.js"),require("../../icons/customIcons/icons/Company.js"),require("../../icons/customIcons/icons/ArchiveOne.js"),require("../../icons/customIcons/icons/ParseBotFusion.js"),require("../../icons/customIcons/icons/Connect.js"),require("../../icons/customIcons/icons/PuzzleOne.js"),require("../../icons/customIcons/icons/Feed.js"),require("../../icons/customIcons/icons/Prompt.js"),require("../../icons/customIcons/icons/Companies.js"),require("../../icons/customIcons/icons/ClipboardAi.js"),require("../../icons/customIcons/icons/Key.js"),require("../../icons/customIcons/icons/AtSignCrossed.js"),require("../../icons/customIcons/icons/MappingManual.js"),require("../../icons/customIcons/icons/Mapping.js"),require("../../icons/customIcons/icons/Metrics.js"),require("../../icons/customIcons/icons/Drops.js"),require("../../icons/customIcons/icons/ClipboardSearch.js"),require("../../icons/customIcons/icons/Template.js"),require("../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../icons/customIcons/icons/UnitConversion.js"),require("../../icons/customIcons/icons/NPT.js"),require("../../icons/customIcons/icons/GuidedFrac.js");var t=require("react/jsx-runtime");exports.AttachmentLightbox=function(u){var m=u.items,a=u.activeId,I=u.onActiveIdChange,l=u.onClose,j=u.onShare,q=u.title,d=void 0===q?"Files":q,h=u.testId,p=m.findIndex((function(s){return s.id===a})),v=-1===p?void 0:m[p],C=s.useCallback((function(s){var o=m[p+s];o&&I(o.id)}),[m,p,I]);s.useEffect((function(){if(v){var s=function(s){if(!s.defaultPrevented){var o=s.target;"function"==typeof(null==o?void 0:o.closest)&&o.closest('video, audio, input, textarea, [role="menu"]')||("ArrowLeft"===s.key&&C(-1),"ArrowRight"===s.key&&C(1))}};return document.addEventListener("keydown",s),function(){return document.removeEventListener("keydown",s)}}}),[v,C]);var x=m.length>1?t.jsxs("div",{className:i.strip,children:[t.jsx(c.ButtonIcon,{size:"large",ariaLabel:"Previous attachment",disabled:p<=0,onClick:function(){return C(-1)},testId:"attachment-lightbox-prev",children:t.jsx(r.LeftIcon,{})}),t.jsx(e.AttachmentRow,{items:m,selectedId:null!=a?a:void 0,hideActions:!0,onItemClick:function(s){return I(s.id)},className:i.stripRow,testId:"attachment-lightbox-strip"}),t.jsx(c.ButtonIcon,{size:"large",ariaLabel:"Next attachment",disabled:-1===p||p>=m.length-1,onClick:function(){return C(1)},testId:"attachment-lightbox-next",children:t.jsx(r.RightIcon,{})})]}):void 0;return t.jsx(o.Modal,{open:!!v,size:"fullscreen",title:d,onClose:l,actions:x,testId:h,children:!!v&&t.jsx(n.AttachmentPreviewPane,{item:v,onShare:j})})};
|
|
2
2
|
//# sourceMappingURL=AttachmentLightbox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentLightbox.js","sources":["../../../../src/components/AttachmentLightbox/AttachmentLightbox.tsx"],"sourcesContent":["import { ReactNode, useCallback, useEffect } from 'react';\n\nimport { Modal } from '../../componentsV2/Modal';\nimport { ButtonIcon } from '../../componentsV2/ButtonIcon';\nimport { AttachmentRow } from '../AttachmentPreview/AttachmentRow';\nimport type { AttachmentPreviewItem } from '../AttachmentPreview/AttachmentPreview.types';\n\nimport { AttachmentPreviewPane } from './AttachmentPreviewPane';\n\nimport styles from './AttachmentLightbox.scss';\n\nimport { LeftIcon, RightIcon } from '~/icons';\n\nexport type AttachmentLightboxProps = {\n items: AttachmentPreviewItem[];\n /** `null` keeps the lightbox closed. */\n activeId: AttachmentPreviewItem['id'] | null;\n onActiveIdChange: (id: AttachmentPreviewItem['id']) => void;\n onClose: () => void;\n /** Adds \"Share file\" to the overflow menu. */\n onShare?: (item: AttachmentPreviewItem) => void;\n title?: ReactNode;\n testId?: string;\n};\n\nexport const AttachmentLightbox = ({\n items,\n activeId,\n onActiveIdChange,\n onClose,\n onShare,\n title = 'Files',\n testId,\n}: AttachmentLightboxProps) => {\n const activeIndex = items.findIndex(item => item.id === activeId);\n const active = activeIndex === -1 ? undefined : items[activeIndex];\n\n const step = useCallback(\n (delta: number) => {\n const next = items[activeIndex + delta];\n\n if (next) onActiveIdChange(next.id);\n },\n [items, activeIndex, onActiveIdChange]\n );\n\n useEffect(() => {\n if (!active) return undefined;\n\n const handleKeyDown = (event: KeyboardEvent) => {\n // A focused <video> seeks with the arrows; only steer when nothing nearer claims the key.\n if (event.defaultPrevented) return;\n\n // With nothing focused the target is the document, which has no `closest`.\n const target = event.target as Element | null;\n\n if (\n typeof target?.closest === 'function' &&\n target.closest('video, audio, input, textarea, [role=\"menu\"]')\n ) {\n return;\n }\n\n if (event.key === 'ArrowLeft') step(-1);\n if (event.key === 'ArrowRight') step(1);\n };\n\n document.addEventListener('keydown', handleKeyDown);\n\n return () => document.removeEventListener('keydown', handleKeyDown);\n }, [active, step]);\n\n const strip =\n items.length > 1 ? (\n <div className={styles.strip}>\n <ButtonIcon\n size=\"large\"\n ariaLabel=\"Previous attachment\"\n disabled={activeIndex <= 0}\n onClick={() => step(-1)}\n testId=\"attachment-lightbox-prev\"\n >\n <LeftIcon />\n </ButtonIcon>\n\n <AttachmentRow\n items={items}\n selectedId={activeId ?? undefined}\n hideActions\n onItemClick={item => onActiveIdChange(item.id)}\n className={styles.stripRow}\n testId=\"attachment-lightbox-strip\"\n />\n\n <ButtonIcon\n size=\"large\"\n ariaLabel=\"Next attachment\"\n disabled={activeIndex === -1 || activeIndex >= items.length - 1}\n onClick={() => step(1)}\n testId=\"attachment-lightbox-next\"\n >\n <RightIcon />\n </ButtonIcon>\n </div>\n ) : undefined;\n\n return (\n <Modal\n open={!!active}\n size=\"fullscreen\"\n title={title}\n onClose={onClose}\n actions={strip}\n testId={testId}\n >\n {!!active && <AttachmentPreviewPane item={active} onShare={onShare} />}\n </Modal>\n );\n};\n"],"names":["_ref","items","activeId","onActiveIdChange","onClose","onShare","_ref$title","title","testId","activeIndex","findIndex","item","id","active","undefined","step","useCallback","delta","next","useEffect","handleKeyDown","event","defaultPrevented","target","closest","key","document","addEventListener","removeEventListener","strip","length","_jsxs","className","styles","children","_jsx","ButtonIcon","size","ariaLabel","disabled","onClick","LeftIcon","AttachmentRow","selectedId","hideActions","onItemClick","stripRow","RightIcon","Modal","open","actions","AttachmentPreviewPane"],"mappings":"
|
|
1
|
+
{"version":3,"file":"AttachmentLightbox.js","sources":["../../../../src/components/AttachmentLightbox/AttachmentLightbox.tsx"],"sourcesContent":["import { ReactNode, useCallback, useEffect } from 'react';\n\nimport { Modal } from '../../componentsV2/Modal';\nimport { ButtonIcon } from '../../componentsV2/ButtonIcon';\nimport { AttachmentRow } from '../AttachmentPreview/AttachmentRow';\nimport type { AttachmentPreviewItem } from '../AttachmentPreview/AttachmentPreview.types';\n\nimport { AttachmentPreviewPane } from './AttachmentPreviewPane';\n\nimport styles from './AttachmentLightbox.scss';\n\nimport { LeftIcon, RightIcon } from '~/icons';\n\nexport type AttachmentLightboxProps = {\n items: AttachmentPreviewItem[];\n /** `null` keeps the lightbox closed. */\n activeId: AttachmentPreviewItem['id'] | null;\n onActiveIdChange: (id: AttachmentPreviewItem['id']) => void;\n onClose: () => void;\n /** Adds \"Share file\" to the overflow menu. */\n onShare?: (item: AttachmentPreviewItem) => void;\n title?: ReactNode;\n testId?: string;\n};\n\nexport const AttachmentLightbox = ({\n items,\n activeId,\n onActiveIdChange,\n onClose,\n onShare,\n title = 'Files',\n testId,\n}: AttachmentLightboxProps) => {\n const activeIndex = items.findIndex(item => item.id === activeId);\n const active = activeIndex === -1 ? undefined : items[activeIndex];\n\n const step = useCallback(\n (delta: number) => {\n const next = items[activeIndex + delta];\n\n if (next) onActiveIdChange(next.id);\n },\n [items, activeIndex, onActiveIdChange]\n );\n\n useEffect(() => {\n if (!active) return undefined;\n\n const handleKeyDown = (event: KeyboardEvent) => {\n // A focused <video> seeks with the arrows; only steer when nothing nearer claims the key.\n if (event.defaultPrevented) return;\n\n // With nothing focused the target is the document, which has no `closest`.\n const target = event.target as Element | null;\n\n if (\n typeof target?.closest === 'function' &&\n target.closest('video, audio, input, textarea, [role=\"menu\"]')\n ) {\n return;\n }\n\n if (event.key === 'ArrowLeft') step(-1);\n if (event.key === 'ArrowRight') step(1);\n };\n\n document.addEventListener('keydown', handleKeyDown);\n\n return () => document.removeEventListener('keydown', handleKeyDown);\n }, [active, step]);\n\n const strip =\n items.length > 1 ? (\n <div className={styles.strip}>\n <ButtonIcon\n size=\"large\"\n ariaLabel=\"Previous attachment\"\n disabled={activeIndex <= 0}\n onClick={() => step(-1)}\n testId=\"attachment-lightbox-prev\"\n >\n <LeftIcon />\n </ButtonIcon>\n\n <AttachmentRow\n items={items}\n selectedId={activeId ?? undefined}\n hideActions\n onItemClick={item => onActiveIdChange(item.id)}\n className={styles.stripRow}\n testId=\"attachment-lightbox-strip\"\n />\n\n <ButtonIcon\n size=\"large\"\n ariaLabel=\"Next attachment\"\n disabled={activeIndex === -1 || activeIndex >= items.length - 1}\n onClick={() => step(1)}\n testId=\"attachment-lightbox-next\"\n >\n <RightIcon />\n </ButtonIcon>\n </div>\n ) : undefined;\n\n return (\n <Modal\n open={!!active}\n size=\"fullscreen\"\n title={title}\n onClose={onClose}\n actions={strip}\n testId={testId}\n >\n {!!active && <AttachmentPreviewPane item={active} onShare={onShare} />}\n </Modal>\n );\n};\n"],"names":["_ref","items","activeId","onActiveIdChange","onClose","onShare","_ref$title","title","testId","activeIndex","findIndex","item","id","active","undefined","step","useCallback","delta","next","useEffect","handleKeyDown","event","defaultPrevented","target","closest","key","document","addEventListener","removeEventListener","strip","length","_jsxs","className","styles","children","_jsx","ButtonIcon","size","ariaLabel","disabled","onClick","LeftIcon","AttachmentRow","selectedId","hideActions","onItemClick","stripRow","RightIcon","Modal","open","actions","AttachmentPreviewPane"],"mappings":"m7IAyBkC,SAQHA,GAAA,IAP7BC,IAAAA,MACAC,IAAAA,SACAC,IAAAA,iBACAC,IAAAA,QACAC,IAAAA,QAAOC,EAAAN,EACPO,MAAAA,aAAQ,QAAOD,EACfE,IAAAA,OAEMC,EAAcR,EAAMS,WAAU,SAAAC,GAAI,OAAIA,EAAKC,KAAOV,KAClDW,GAA0B,IAAjBJ,OAAqBK,EAAYb,EAAMQ,GAEhDM,EAAOC,eACX,SAACC,GACC,IAAMC,EAAOjB,EAAMQ,EAAcQ,GAE7BC,GAAMf,EAAiBe,EAAKN,GACjC,GACD,CAACX,EAAOQ,EAAaN,IAGvBgB,EAAAA,WAAU,WACR,GAAKN,EAAL,CAEA,IAAMO,EAAgB,SAACC,GAErB,IAAIA,EAAMC,iBAAV,CAGA,IAAMC,EAASF,EAAME,OAGQ,mBAApBA,aAAM,EAANA,EAAQC,UACfD,EAAOC,QAAQ,kDAKC,cAAdH,EAAMI,KAAqBV,GAAM,GACnB,eAAdM,EAAMI,KAAsBV,EAAK,GAbT,GAkB9B,OAFAW,SAASC,iBAAiB,UAAWP,GAE9B,WAAA,OAAMM,SAASE,oBAAoB,UAAWR,EAAc,CAtBtC,CAuB/B,GAAG,CAACP,EAAQE,IAEZ,IAAMc,EACJ5B,EAAM6B,OAAS,EACbC,EAAAA,KAAA,MAAA,CAAKC,UAAWC,EAAOJ,MAAMK,SAAA,CAC3BC,MAACC,aAAU,CACTC,KAAK,QACLC,UAAU,sBACVC,SAAU9B,GAAe,EACzB+B,QAAS,WAAA,OAAMzB,GAAM,EAAG,EACxBP,OAAO,2BAA0B0B,SAEjCC,EAAAA,IAACM,EAAQA,SAAA,MAGXN,MAACO,gBAAa,CACZzC,MAAOA,EACP0C,WAAYzC,QAAAA,OAAYY,EACxB8B,aAAW,EACXC,YAAa,SAAAlC,GAAI,OAAIR,EAAiBQ,EAAKC,GAAI,EAC/CoB,UAAWC,EAAOa,SAClBtC,OAAO,8BAGT2B,MAACC,aAAU,CACTC,KAAK,QACLC,UAAU,kBACVC,UAA2B,IAAjB9B,GAAsBA,GAAeR,EAAM6B,OAAS,EAC9DU,QAAS,WAAA,OAAMzB,EAAK,EAAG,EACvBP,OAAO,2BAA0B0B,SAEjCC,EAAAA,IAACY,EAASA,UAAA,cAGZjC,EAEN,OACEqB,EAAAA,IAACa,EAAAA,MAAK,CACJC,OAAQpC,EACRwB,KAAK,aACL9B,MAAOA,EACPH,QAASA,EACT8C,QAASrB,EACTrB,OAAQA,EAAO0B,WAEZrB,GAAUsB,EAAAA,IAACgB,EAAAA,sBAAqB,CAACxC,KAAME,EAAQR,QAASA,KAGjE"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("@babel/runtime/helpers/defineProperty"),e=require("react"),o=require("classnames"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("@babel/runtime/helpers/defineProperty"),e=require("react"),o=require("classnames"),n=require("../../componentsV2/ButtonIcon/ButtonIcon.js"),c=require("../../componentsV2/Tooltip/Tooltip.js"),i=require("../AttachmentPreview/AttachmentActionsMenu.js"),r=require("../AttachmentPreview/AttachmentImage.js"),t=require("../AttachmentPreview/AttachmentDownloadLink.js"),u=require("./AttachmentDocument.js"),a=require("./useZoomPan.js"),m=require("./AttachmentLightbox.scss.js"),l=require("../../icons/iconParkIcons.js");require("../../icons/customIcons/icons/AddMessage.js"),require("../../icons/customIcons/icons/DragOne.js"),require("../../icons/customIcons/icons/Attention.js"),require("../../icons/customIcons/icons/Collapse.js"),require("../../icons/customIcons/icons/Dashboard.js"),require("../../icons/customIcons/icons/Expand.js"),require("../../icons/customIcons/icons/FolderClosed.js"),require("../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../icons/customIcons/icons/FolderOpened.js"),require("../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../icons/customIcons/icons/LessOrEqual.js"),require("../../icons/customIcons/icons/Search.js"),require("../../icons/customIcons/icons/SearchOne.js"),require("../../icons/customIcons/icons/Wellhub.js"),require("../../icons/customIcons/icons/MultiRuler.js"),require("../../icons/customIcons/icons/Checkbox.js"),require("../../icons/customIcons/icons/CheckboxChecked.js"),require("../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../icons/customIcons/icons/Radio.js"),require("../../icons/customIcons/icons/RadioChecked.js"),require("../../icons/customIcons/icons/SimulFrac.js"),require("../../icons/customIcons/icons/ZipperFrac.js"),require("../../icons/customIcons/icons/CautionFilled.js"),require("../../icons/customIcons/icons/InfoRounded.js"),require("../../icons/customIcons/icons/FlameFilled.js"),require("../../icons/customIcons/icons/MoreApp.js"),require("../../icons/customIcons/icons/Pad.js"),require("../../icons/customIcons/icons/DrilloutUnit.js"),require("../../icons/customIcons/icons/FracFleet.js"),require("../../icons/customIcons/icons/Global.js"),require("../../icons/customIcons/icons/Program.js"),require("../../icons/customIcons/icons/Rig.js"),require("../../icons/customIcons/icons/Well.js"),require("../../icons/customIcons/icons/Gap.js"),require("../../icons/customIcons/icons/Pin.js"),require("../../icons/customIcons/icons/PinOne.js"),require("../../icons/customIcons/icons/PinOneCrossed.js"),require("../../icons/customIcons/icons/CloseOneFilled.js"),require("../../icons/customIcons/icons/AttentionFilled.js"),require("../../icons/customIcons/icons/CheckOneFilled.js"),require("../../icons/customIcons/icons/Archive.js"),require("../../icons/customIcons/icons/ArchiveCancel.js"),require("../../icons/customIcons/icons/Unarchive.js"),require("../../icons/customIcons/icons/Archived.js"),require("../../icons/customIcons/icons/InterventionUnit.js"),require("../../icons/customIcons/icons/CloudDelete.js"),require("../../icons/customIcons/icons/Lasso.js"),require("../../icons/customIcons/icons/Radius.js"),require("../../icons/customIcons/icons/ErrorOps.js"),require("../../icons/customIcons/icons/DataTypeOps.js"),require("../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../icons/customIcons/icons/CalibrationOps.js"),require("../../icons/customIcons/icons/CriticalOps.js"),require("../../icons/customIcons/icons/Company.js"),require("../../icons/customIcons/icons/ArchiveOne.js"),require("../../icons/customIcons/icons/ParseBotFusion.js"),require("../../icons/customIcons/icons/Connect.js"),require("../../icons/customIcons/icons/PuzzleOne.js"),require("../../icons/customIcons/icons/Feed.js"),require("../../icons/customIcons/icons/Prompt.js"),require("../../icons/customIcons/icons/Companies.js"),require("../../icons/customIcons/icons/ClipboardAi.js"),require("../../icons/customIcons/icons/Key.js"),require("../../icons/customIcons/icons/AtSignCrossed.js"),require("../../icons/customIcons/icons/MappingManual.js"),require("../../icons/customIcons/icons/Mapping.js"),require("../../icons/customIcons/icons/Metrics.js"),require("../../icons/customIcons/icons/Drops.js"),require("../../icons/customIcons/icons/ClipboardSearch.js"),require("../../icons/customIcons/icons/Template.js"),require("../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../icons/customIcons/icons/UnitConversion.js"),require("../../icons/customIcons/icons/NPT.js"),require("../../icons/customIcons/icons/GuidedFrac.js");var j=require("../../utils/formatFileSize.js"),d=require("../../utils/main.js"),I=require("react/jsx-runtime");function q(s){return s&&"object"==typeof s&&"default"in s?s:{default:s}}var p=q(s),h=q(o);function v(s,e){var o=Object.keys(s);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(s);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(s,e).enumerable}))),o.push.apply(o,n)}return o}function b(s){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?v(Object(o),!0).forEach((function(e){p.default(s,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(o)):v(Object(o)).forEach((function(e){Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(o,e))}))}return s}exports.AttachmentPreviewPane=function(s){var o,q=s.item,p=s.onShare,v=e.useRef(null),O=null!==(o=q.kind)&&void 0!==o?o:"file",P="image"===O||"video"===O,f=a.useZoomPan({canZoom:P,canPan:"image"===O,resetKey:q.id}),x=f.viewportRef,g=f.zoom,C=f.zoomIn,A=f.zoomOut,y=f.canZoomIn,w=f.canZoomOut,F=f.isPannable,N=f.isPanning,z=f.panHandlers,D=d.default.getFileNameWithExtensionFromPath(q.name),k=q.hideDownload?void 0:q.downloadUrl||q.src;return I.jsxs("div",{className:m.pane,"data-testid":"attachment-preview-pane",children:[I.jsxs("div",{className:m.paneHeader,children:[I.jsxs("div",{className:m.paneName,children:[I.jsx("div",{className:m.paneFileName,title:D,children:D}),void 0!==q.size&&I.jsx("div",{className:m.paneFileSize,children:j.formatFileSize(q.size)})]}),I.jsxs("div",{className:m.paneActions,children:[!!k&&I.jsx(t.AttachmentDownloadLink,{url:k,fileName:D,className:m.paneActionLink,testId:"attachment-preview-download"}),I.jsx(i.AttachmentActionsMenu,{item:q,onShare:p,imageRef:v})]})]}),I.jsx("div",b(b({className:h.default(m.paneViewport,F&&m.paneViewportPannable,N&&m.paneViewportPanning),ref:x},z),{},{children:I.jsxs("div",{className:m.paneZoomBox,style:{"--attachment-zoom":g},"data-testid":"attachment-preview-zoom-box",children:["image"===O&&I.jsx(r.AttachmentImage,{ref:v,src:q.src,alt:D,className:m.paneMedia,draggable:!1}),"video"===O&&I.jsx("video",{src:q.src,className:m.paneMedia,controls:!0,autoPlay:!0,playsInline:!0}),"file"===O&&I.jsx(u.AttachmentDocument,{item:q},q.id)]})})),P&&I.jsxs("div",{className:m.paneZoomControls,children:[I.jsx(c.Tooltip,{title:"Zoom in",placement:"left",children:I.jsx("span",{className:m.paneZoomButton,children:I.jsx(n.ButtonIcon,{size:"small",type:"tertiaryBg",ariaLabel:"Zoom in",disabled:!y,onClick:C,testId:"attachment-preview-zoom-in",children:I.jsx(l.PlusIcon,{})})})}),I.jsx(c.Tooltip,{title:"Zoom out",placement:"left",children:I.jsx("span",{className:m.paneZoomButton,children:I.jsx(n.ButtonIcon,{size:"small",type:"tertiaryBg",ariaLabel:"Zoom out",disabled:!w,onClick:A,testId:"attachment-preview-zoom-out",children:I.jsx(l.MinusIcon,{})})})})]})]})};
|
|
2
2
|
//# sourceMappingURL=AttachmentPreviewPane.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentPreviewPane.js","sources":["../../../../src/components/AttachmentLightbox/AttachmentPreviewPane.tsx"],"sourcesContent":["import { CSSProperties, useRef } from 'react';\nimport classNames from 'classnames';\n\nimport { ButtonIcon } from '../../componentsV2/ButtonIcon';\nimport { Tooltip } from '../../componentsV2/Tooltip';\nimport { AttachmentActionsMenu } from '../AttachmentPreview/AttachmentActionsMenu';\nimport { AttachmentImage } from '../AttachmentPreview/AttachmentImage';\nimport { AttachmentDownloadLink } from '../AttachmentPreview/AttachmentDownloadLink';\nimport type { AttachmentPreviewItem } from '../AttachmentPreview/AttachmentPreview.types';\n\nimport { AttachmentDocument } from './AttachmentDocument';\nimport { useZoomPan } from './useZoomPan';\n\nimport styles from './AttachmentLightbox.scss';\n\nimport { MinusIcon, PlusIcon } from '~/icons';\nimport { formatFileSize } from '~/utils/formatFileSize';\nimport utils from '~/utils/main';\n\nexport type AttachmentPreviewPaneProps = {\n item: AttachmentPreviewItem;\n /** Adds \"Share file\" to the overflow menu. */\n onShare?: (item: AttachmentPreviewItem) => void;\n};\n\n/** Zoom is media-only — document viewers scroll and zoom on their own. */\nexport const AttachmentPreviewPane = ({ item, onShare }: AttachmentPreviewPaneProps) => {\n const imageRef = useRef<HTMLImageElement>(null);\n const kind = item.kind ?? 'file';\n const isMedia = kind === 'image' || kind === 'video';\n\n const {\n viewportRef,\n zoom,\n zoomIn,\n zoomOut,\n canZoomIn,\n canZoomOut,\n isPannable,\n isPanning,\n panHandlers,\n // Panning a zoomed <video> would swallow its own controls, so only images get the drag.\n } = useZoomPan({ canZoom: isMedia, canPan: kind === 'image', resetKey: item.id });\n\n const fileName = utils.getFileNameWithExtensionFromPath(item.name);\n const downloadUrl = item.hideDownload ? undefined : item.downloadUrl || item.src;\n\n return (\n <div className={styles.pane} data-testid=\"attachment-preview-pane\">\n <div className={styles.paneHeader}>\n <div className={styles.paneName}>\n <div className={styles.paneFileName} title={fileName}>\n {fileName}\n </div>\n {item.size !== undefined && (\n <div className={styles.paneFileSize}>{formatFileSize(item.size)}</div>\n )}\n </div>\n\n <div className={styles.paneActions}>\n {!!downloadUrl && (\n <AttachmentDownloadLink\n url={downloadUrl}\n fileName={fileName}\n className={styles.paneActionLink}\n testId=\"attachment-preview-download\"\n />\n )}\n\n <AttachmentActionsMenu item={item} onShare={onShare} imageRef={imageRef} />\n </div>\n </div>\n\n <div\n className={classNames(\n styles.paneViewport,\n isPannable && styles.paneViewportPannable,\n isPanning && styles.paneViewportPanning\n )}\n ref={viewportRef}\n {...panHandlers}\n >\n <div\n className={styles.paneZoomBox}\n style={{ '--attachment-zoom': zoom } as CSSProperties}\n data-testid=\"attachment-preview-zoom-box\"\n >\n {kind === 'image' && (\n <AttachmentImage\n ref={imageRef}\n src={item.src}\n alt={fileName}\n className={styles.paneMedia}\n draggable={false}\n />\n )}\n\n {kind === 'video' && (\n // eslint-disable-next-line jsx-a11y/media-has-caption\n <video src={item.src} className={styles.paneMedia} controls autoPlay playsInline />\n )}\n\n {/* Keyed: a kept-alive instance would pair the previous file's data with the new\n renderer for one render. */}\n {kind === 'file' && <AttachmentDocument key={item.id} item={item} />}\n </div>\n </div>\n\n {isMedia && (\n <div className={styles.paneZoomControls}>\n {/* A disabled button fires no events, so the tooltip listens on a wrapper instead. */}\n <Tooltip title=\"Zoom in\" placement=\"left\">\n <span className={styles.paneZoomButton}>\n <ButtonIcon\n size=\"small\"\n type=\"tertiaryBg\"\n ariaLabel=\"Zoom in\"\n disabled={!canZoomIn}\n onClick={zoomIn}\n testId=\"attachment-preview-zoom-in\"\n >\n <PlusIcon />\n </ButtonIcon>\n </span>\n </Tooltip>\n\n <Tooltip title=\"Zoom out\" placement=\"left\">\n <span className={styles.paneZoomButton}>\n <ButtonIcon\n size=\"small\"\n type=\"tertiaryBg\"\n ariaLabel=\"Zoom out\"\n disabled={!canZoomOut}\n onClick={zoomOut}\n testId=\"attachment-preview-zoom-out\"\n >\n <MinusIcon />\n </ButtonIcon>\n </span>\n </Tooltip>\n </div>\n )}\n </div>\n );\n};\n"],"names":["_ref","_item$kind","item","onShare","imageRef","useRef","kind","isMedia","_useZoomPan","useZoomPan","canZoom","canPan","resetKey","id","viewportRef","zoom","zoomIn","zoomOut","canZoomIn","canZoomOut","isPannable","isPanning","panHandlers","fileName","utils","getFileNameWithExtensionFromPath","name","downloadUrl","hideDownload","undefined","src","_jsxs","className","styles","pane","children","jsxs","paneHeader","paneName","_jsx","jsx","paneFileName","title","size","paneFileSize","formatFileSize","paneActions","AttachmentDownloadLink","url","paneActionLink","testId","AttachmentActionsMenu","_objectSpread","classNames","paneViewport","paneViewportPannable","paneViewportPanning","ref","paneZoomBox","style","AttachmentImage","alt","paneMedia","draggable","controls","autoPlay","playsInline","AttachmentDocument","paneZoomControls","Tooltip","placement","paneZoomButton","ButtonIcon","type","ariaLabel","disabled","onClick","PlusIcon","MinusIcon"],"mappings":"
|
|
1
|
+
{"version":3,"file":"AttachmentPreviewPane.js","sources":["../../../../src/components/AttachmentLightbox/AttachmentPreviewPane.tsx"],"sourcesContent":["import { CSSProperties, useRef } from 'react';\nimport classNames from 'classnames';\n\nimport { ButtonIcon } from '../../componentsV2/ButtonIcon';\nimport { Tooltip } from '../../componentsV2/Tooltip';\nimport { AttachmentActionsMenu } from '../AttachmentPreview/AttachmentActionsMenu';\nimport { AttachmentImage } from '../AttachmentPreview/AttachmentImage';\nimport { AttachmentDownloadLink } from '../AttachmentPreview/AttachmentDownloadLink';\nimport type { AttachmentPreviewItem } from '../AttachmentPreview/AttachmentPreview.types';\n\nimport { AttachmentDocument } from './AttachmentDocument';\nimport { useZoomPan } from './useZoomPan';\n\nimport styles from './AttachmentLightbox.scss';\n\nimport { MinusIcon, PlusIcon } from '~/icons';\nimport { formatFileSize } from '~/utils/formatFileSize';\nimport utils from '~/utils/main';\n\nexport type AttachmentPreviewPaneProps = {\n item: AttachmentPreviewItem;\n /** Adds \"Share file\" to the overflow menu. */\n onShare?: (item: AttachmentPreviewItem) => void;\n};\n\n/** Zoom is media-only — document viewers scroll and zoom on their own. */\nexport const AttachmentPreviewPane = ({ item, onShare }: AttachmentPreviewPaneProps) => {\n const imageRef = useRef<HTMLImageElement>(null);\n const kind = item.kind ?? 'file';\n const isMedia = kind === 'image' || kind === 'video';\n\n const {\n viewportRef,\n zoom,\n zoomIn,\n zoomOut,\n canZoomIn,\n canZoomOut,\n isPannable,\n isPanning,\n panHandlers,\n // Panning a zoomed <video> would swallow its own controls, so only images get the drag.\n } = useZoomPan({ canZoom: isMedia, canPan: kind === 'image', resetKey: item.id });\n\n const fileName = utils.getFileNameWithExtensionFromPath(item.name);\n const downloadUrl = item.hideDownload ? undefined : item.downloadUrl || item.src;\n\n return (\n <div className={styles.pane} data-testid=\"attachment-preview-pane\">\n <div className={styles.paneHeader}>\n <div className={styles.paneName}>\n <div className={styles.paneFileName} title={fileName}>\n {fileName}\n </div>\n {item.size !== undefined && (\n <div className={styles.paneFileSize}>{formatFileSize(item.size)}</div>\n )}\n </div>\n\n <div className={styles.paneActions}>\n {!!downloadUrl && (\n <AttachmentDownloadLink\n url={downloadUrl}\n fileName={fileName}\n className={styles.paneActionLink}\n testId=\"attachment-preview-download\"\n />\n )}\n\n <AttachmentActionsMenu item={item} onShare={onShare} imageRef={imageRef} />\n </div>\n </div>\n\n <div\n className={classNames(\n styles.paneViewport,\n isPannable && styles.paneViewportPannable,\n isPanning && styles.paneViewportPanning\n )}\n ref={viewportRef}\n {...panHandlers}\n >\n <div\n className={styles.paneZoomBox}\n style={{ '--attachment-zoom': zoom } as CSSProperties}\n data-testid=\"attachment-preview-zoom-box\"\n >\n {kind === 'image' && (\n <AttachmentImage\n ref={imageRef}\n src={item.src}\n alt={fileName}\n className={styles.paneMedia}\n draggable={false}\n />\n )}\n\n {kind === 'video' && (\n // eslint-disable-next-line jsx-a11y/media-has-caption\n <video src={item.src} className={styles.paneMedia} controls autoPlay playsInline />\n )}\n\n {/* Keyed: a kept-alive instance would pair the previous file's data with the new\n renderer for one render. */}\n {kind === 'file' && <AttachmentDocument key={item.id} item={item} />}\n </div>\n </div>\n\n {isMedia && (\n <div className={styles.paneZoomControls}>\n {/* A disabled button fires no events, so the tooltip listens on a wrapper instead. */}\n <Tooltip title=\"Zoom in\" placement=\"left\">\n <span className={styles.paneZoomButton}>\n <ButtonIcon\n size=\"small\"\n type=\"tertiaryBg\"\n ariaLabel=\"Zoom in\"\n disabled={!canZoomIn}\n onClick={zoomIn}\n testId=\"attachment-preview-zoom-in\"\n >\n <PlusIcon />\n </ButtonIcon>\n </span>\n </Tooltip>\n\n <Tooltip title=\"Zoom out\" placement=\"left\">\n <span className={styles.paneZoomButton}>\n <ButtonIcon\n size=\"small\"\n type=\"tertiaryBg\"\n ariaLabel=\"Zoom out\"\n disabled={!canZoomOut}\n onClick={zoomOut}\n testId=\"attachment-preview-zoom-out\"\n >\n <MinusIcon />\n </ButtonIcon>\n </span>\n </Tooltip>\n </div>\n )}\n </div>\n );\n};\n"],"names":["_ref","_item$kind","item","onShare","imageRef","useRef","kind","isMedia","_useZoomPan","useZoomPan","canZoom","canPan","resetKey","id","viewportRef","zoom","zoomIn","zoomOut","canZoomIn","canZoomOut","isPannable","isPanning","panHandlers","fileName","utils","getFileNameWithExtensionFromPath","name","downloadUrl","hideDownload","undefined","src","_jsxs","className","styles","pane","children","jsxs","paneHeader","paneName","_jsx","jsx","paneFileName","title","size","paneFileSize","formatFileSize","paneActions","AttachmentDownloadLink","url","paneActionLink","testId","AttachmentActionsMenu","_objectSpread","classNames","paneViewport","paneViewportPannable","paneViewportPanning","ref","paneZoomBox","style","AttachmentImage","alt","paneMedia","draggable","controls","autoPlay","playsInline","AttachmentDocument","paneZoomControls","Tooltip","placement","paneZoomButton","ButtonIcon","type","ariaLabel","disabled","onClick","PlusIcon","MinusIcon"],"mappings":"q4KA0BqC,SAAmDA,GAAA,IAAAC,EAAhDC,IAAAA,KAAMC,IAAAA,QACtCC,EAAWC,SAAyB,MACpCC,UAAOJ,EAAAA,EAAKI,oBAAQ,OACpBC,EAAmB,UAATD,GAA6B,UAATA,EAEpCE,EAWIC,EAAAA,WAAW,CAAEC,QAASH,EAASI,OAAiB,UAATL,EAAkBM,SAAUV,EAAKW,KAV1EC,IAAAA,YACAC,IAAAA,KACAC,IAAAA,OACAC,IAAAA,QACAC,IAAAA,UACAC,IAAAA,WACAC,IAAAA,WACAC,IAAAA,UACAC,IAAAA,YAIIC,EAAWC,EAAK,QAACC,iCAAiCvB,EAAKwB,MACvDC,EAAczB,EAAK0B,kBAAeC,EAAY3B,EAAKyB,aAAezB,EAAK4B,IAE7E,OACEC,EAAAA,KAAA,MAAA,CAAKC,UAAWC,EAAOC,KAAM,cAAY,0BAAyBC,SAChE,CAAAJ,EAAAK,KAAA,MAAA,CAAKJ,UAAWC,EAAOI,WAAWF,SAChC,CAAAJ,EAAAK,KAAA,MAAA,CAAKJ,UAAWC,EAAOK,SAASH,SAC9B,CAAAI,EAAAC,IAAA,MAAA,CAAKR,UAAWC,EAAOQ,aAAcC,MAAOnB,EAASY,SAClDZ,SAEYM,IAAd3B,EAAKyC,MACJJ,EAAAA,IAAA,MAAA,CAAKP,UAAWC,EAAOW,aAAaT,SAAEU,EAAAA,eAAe3C,EAAKyC,WAI9DZ,EAAAK,KAAA,MAAA,CAAKJ,UAAWC,EAAOa,YAAYX,SAAA,GAC9BR,GACDY,EAAAA,IAACQ,EAAAA,uBAAsB,CACrBC,IAAKrB,EACLJ,SAAUA,EACVS,UAAWC,EAAOgB,eAClBC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WxD,EACXyD,QAAS3D,EACTiC,OAAO,8BAA6Bf,SAEpCI,EAAAA,IAACuC,EAASA,UAAA,eAQ1B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("@babel/runtime/helpers/slicedToArray"),o=require("react"),c=require("../../componentsV2/ButtonIcon/ButtonIcon.js"),i=require("../../componentsV2/Tooltip/Tooltip.js"),n=require("../../componentsV2/Menu/Menu.js"),e=require("../AttachmentLightbox/copyImageToClipboard.js"),r=require("../../icons/iconParkIcons.js");require("../../icons/customIcons/icons/AddMessage.js"),require("../../icons/customIcons/icons/DragOne.js"),require("../../icons/customIcons/icons/Attention.js"),require("../../icons/customIcons/icons/Collapse.js"),require("../../icons/customIcons/icons/Dashboard.js"),require("../../icons/customIcons/icons/Expand.js"),require("../../icons/customIcons/icons/FolderClosed.js"),require("../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../icons/customIcons/icons/FolderOpened.js"),require("../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../icons/customIcons/icons/LessOrEqual.js"),require("../../icons/customIcons/icons/Search.js"),require("../../icons/customIcons/icons/SearchOne.js"),require("../../icons/customIcons/icons/Wellhub.js"),require("../../icons/customIcons/icons/MultiRuler.js"),require("../../icons/customIcons/icons/Checkbox.js"),require("../../icons/customIcons/icons/CheckboxChecked.js"),require("../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../icons/customIcons/icons/Radio.js"),require("../../icons/customIcons/icons/RadioChecked.js"),require("../../icons/customIcons/icons/SimulFrac.js"),require("../../icons/customIcons/icons/ZipperFrac.js"),require("../../icons/customIcons/icons/CautionFilled.js"),require("../../icons/customIcons/icons/MoreApp.js"),require("../../icons/customIcons/icons/Pad.js"),require("../../icons/customIcons/icons/DrilloutUnit.js"),require("../../icons/customIcons/icons/FracFleet.js"),require("../../icons/customIcons/icons/Global.js"),require("../../icons/customIcons/icons/Program.js"),require("../../icons/customIcons/icons/Rig.js"),require("../../icons/customIcons/icons/Well.js"),require("../../icons/customIcons/icons/Gap.js"),require("../../icons/customIcons/icons/Pin.js"),require("../../icons/customIcons/icons/CloseOneFilled.js"),require("../../icons/customIcons/icons/AttentionFilled.js"),require("../../icons/customIcons/icons/CheckOneFilled.js"),require("../../icons/customIcons/icons/Archive.js"),require("../../icons/customIcons/icons/ArchiveCancel.js"),require("../../icons/customIcons/icons/Unarchive.js"),require("../../icons/customIcons/icons/Archived.js"),require("../../icons/customIcons/icons/InterventionUnit.js"),require("../../icons/customIcons/icons/CloudDelete.js"),require("../../icons/customIcons/icons/Lasso.js"),require("../../icons/customIcons/icons/Radius.js"),require("../../icons/customIcons/icons/ErrorOps.js"),require("../../icons/customIcons/icons/DataTypeOps.js"),require("../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../icons/customIcons/icons/CalibrationOps.js"),require("../../icons/customIcons/icons/CriticalOps.js"),require("../../icons/customIcons/icons/Company.js"),require("../../icons/customIcons/icons/ArchiveOne.js"),require("../../icons/customIcons/icons/ParseBotFusion.js"),require("../../icons/customIcons/icons/Connect.js"),require("../../icons/customIcons/icons/PuzzleOne.js"),require("../../icons/customIcons/icons/Feed.js"),require("../../icons/customIcons/icons/Prompt.js"),require("../../icons/customIcons/icons/Companies.js"),require("../../icons/customIcons/icons/ClipboardAi.js"),require("../../icons/customIcons/icons/Key.js"),require("../../icons/customIcons/icons/AtSignCrossed.js"),require("../../icons/customIcons/icons/MappingManual.js"),require("../../icons/customIcons/icons/Mapping.js"),require("../../icons/customIcons/icons/Metrics.js"),require("../../icons/customIcons/icons/Drops.js"),require("../../icons/customIcons/icons/ClipboardSearch.js"),require("../../icons/customIcons/icons/Template.js"),require("../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../icons/customIcons/icons/UnitConversion.js"),require("../../icons/customIcons/icons/NPT.js"),require("../../icons/customIcons/icons/GuidedFrac.js");var u=require("../../utils/notificationToasts.js"),t=require("../../utils/main.js"),a=require("react/jsx-runtime");function m(s){return s&&"object"==typeof s&&"default"in s?s:{default:s}}var l=m(s);exports.AttachmentActionsMenu=function(s){var m,I=s.item,j=s.onShare,q=s.size,d=void 0===q?"small":q,p=s.testIdPrefix,h=void 0===p?"attachment-preview":p,C=s.tooltip,f=void 0===C?"More":C,b=s.imageRef,g=s.className,x=o.useState(null),v=l.default(x,2),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("@babel/runtime/helpers/slicedToArray"),o=require("react"),c=require("../../componentsV2/ButtonIcon/ButtonIcon.js"),i=require("../../componentsV2/Tooltip/Tooltip.js"),n=require("../../componentsV2/Menu/Menu.js"),e=require("../AttachmentLightbox/copyImageToClipboard.js"),r=require("../../icons/iconParkIcons.js");require("../../icons/customIcons/icons/AddMessage.js"),require("../../icons/customIcons/icons/DragOne.js"),require("../../icons/customIcons/icons/Attention.js"),require("../../icons/customIcons/icons/Collapse.js"),require("../../icons/customIcons/icons/Dashboard.js"),require("../../icons/customIcons/icons/Expand.js"),require("../../icons/customIcons/icons/FolderClosed.js"),require("../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../icons/customIcons/icons/FolderOpened.js"),require("../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../icons/customIcons/icons/LessOrEqual.js"),require("../../icons/customIcons/icons/Search.js"),require("../../icons/customIcons/icons/SearchOne.js"),require("../../icons/customIcons/icons/Wellhub.js"),require("../../icons/customIcons/icons/MultiRuler.js"),require("../../icons/customIcons/icons/Checkbox.js"),require("../../icons/customIcons/icons/CheckboxChecked.js"),require("../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../icons/customIcons/icons/Radio.js"),require("../../icons/customIcons/icons/RadioChecked.js"),require("../../icons/customIcons/icons/SimulFrac.js"),require("../../icons/customIcons/icons/ZipperFrac.js"),require("../../icons/customIcons/icons/CautionFilled.js"),require("../../icons/customIcons/icons/InfoRounded.js"),require("../../icons/customIcons/icons/FlameFilled.js"),require("../../icons/customIcons/icons/MoreApp.js"),require("../../icons/customIcons/icons/Pad.js"),require("../../icons/customIcons/icons/DrilloutUnit.js"),require("../../icons/customIcons/icons/FracFleet.js"),require("../../icons/customIcons/icons/Global.js"),require("../../icons/customIcons/icons/Program.js"),require("../../icons/customIcons/icons/Rig.js"),require("../../icons/customIcons/icons/Well.js"),require("../../icons/customIcons/icons/Gap.js"),require("../../icons/customIcons/icons/Pin.js"),require("../../icons/customIcons/icons/PinOne.js"),require("../../icons/customIcons/icons/PinOneCrossed.js"),require("../../icons/customIcons/icons/CloseOneFilled.js"),require("../../icons/customIcons/icons/AttentionFilled.js"),require("../../icons/customIcons/icons/CheckOneFilled.js"),require("../../icons/customIcons/icons/Archive.js"),require("../../icons/customIcons/icons/ArchiveCancel.js"),require("../../icons/customIcons/icons/Unarchive.js"),require("../../icons/customIcons/icons/Archived.js"),require("../../icons/customIcons/icons/InterventionUnit.js"),require("../../icons/customIcons/icons/CloudDelete.js"),require("../../icons/customIcons/icons/Lasso.js"),require("../../icons/customIcons/icons/Radius.js"),require("../../icons/customIcons/icons/ErrorOps.js"),require("../../icons/customIcons/icons/DataTypeOps.js"),require("../../icons/customIcons/icons/FalsePositiveOps.js"),require("../../icons/customIcons/icons/CalibrationOps.js"),require("../../icons/customIcons/icons/CriticalOps.js"),require("../../icons/customIcons/icons/Company.js"),require("../../icons/customIcons/icons/ArchiveOne.js"),require("../../icons/customIcons/icons/ParseBotFusion.js"),require("../../icons/customIcons/icons/Connect.js"),require("../../icons/customIcons/icons/PuzzleOne.js"),require("../../icons/customIcons/icons/Feed.js"),require("../../icons/customIcons/icons/Prompt.js"),require("../../icons/customIcons/icons/Companies.js"),require("../../icons/customIcons/icons/ClipboardAi.js"),require("../../icons/customIcons/icons/Key.js"),require("../../icons/customIcons/icons/AtSignCrossed.js"),require("../../icons/customIcons/icons/MappingManual.js"),require("../../icons/customIcons/icons/Mapping.js"),require("../../icons/customIcons/icons/Metrics.js"),require("../../icons/customIcons/icons/Drops.js"),require("../../icons/customIcons/icons/ClipboardSearch.js"),require("../../icons/customIcons/icons/Template.js"),require("../../icons/customIcons/icons/ClipboardMetrics.js"),require("../../icons/customIcons/icons/ClipboardBuilder.js"),require("../../icons/customIcons/icons/UnitConversion.js"),require("../../icons/customIcons/icons/NPT.js"),require("../../icons/customIcons/icons/GuidedFrac.js");var u=require("../../utils/notificationToasts.js"),t=require("../../utils/main.js"),a=require("react/jsx-runtime");function m(s){return s&&"object"==typeof s&&"default"in s?s:{default:s}}var l=m(s);exports.AttachmentActionsMenu=function(s){var m,I=s.item,j=s.onShare,q=s.size,d=void 0===q?"small":q,p=s.testIdPrefix,h=void 0===p?"attachment-preview":p,C=s.tooltip,f=void 0===C?"More":C,b=s.imageRef,g=s.className,x=o.useState(null),v=l.default(x,2),F=v[0],M=v[1];o.useEffect((function(){M(null)}),[I.id]);var O=I.src||I.downloadUrl,y="image"===(null!==(m=I.kind)&&void 0!==m?m:"file")&&!!I.src&&e.getCanCopyImages(),k=function(s){return function(o){o.stopPropagation(),s(),M(null)}};return a.jsxs(a.Fragment,{children:[a.jsx(i.Tooltip,{title:f,children:a.jsx(c.ButtonIcon,{size:d,type:"tertiaryBg",ariaLabel:"More actions",isActive:!!F,className:g,onClick:function(s){s.stopPropagation(),M(s.currentTarget)},testId:"".concat(h,"-more"),children:a.jsx(r.MoreOneIcon,{})})}),!!F&&a.jsxs(n.Menu,{open:!0,anchorEl:F,placement:"bottom-end",onClose:function(){return M(null)},children:[!!j&&a.jsx(n.Menu.Item,{prefix:a.jsx(r.ShareTwoIcon,{}),onClick:k((function(){return j(I)})),testId:"".concat(h,"-share"),children:"Share file"}),a.jsx(n.Menu.Item,{prefix:a.jsx(r.LinkOneIcon,{}),disabled:!O,onClick:k((function(){O&&(t.default.copyToClipboard(O),u.showSuccessNotification("Link copied to clipboard"))})),testId:"".concat(h,"-copy-link"),children:"Copy link"}),y&&a.jsx(n.Menu.Item,{prefix:a.jsx(r.PictureIcon,{}),onClick:k((function(){e.copyImageToClipboard(I.src,null==b?void 0:b.current).then((function(s){s?u.showSuccessNotification("Image copied to clipboard"):u.showErrorNotification("Could not copy the image")}))})),testId:"".concat(h,"-copy-image"),children:"Copy image"})]})]})};
|
|
2
2
|
//# sourceMappingURL=AttachmentActionsMenu.js.map
|