@corva/ui 3.73.0-6 → 3.73.0-8
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/cjs-bundle/components/AddComment/Popover.js +1 -1
- package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
- package/cjs-bundle/components/AddComment/Popup.js +1 -1
- package/cjs-bundle/components/AddComment/Popup.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/AnchorsList/AnchorsList.js +1 -1
- package/cjs-bundle/components/AnchorsList/AnchorsList.js.map +1 -1
- package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
- package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js.map +1 -1
- package/cjs-bundle/components/Annotations/components/AnnotationsList/components/Annotation/index.js +1 -1
- package/cjs-bundle/components/Annotations/components/AnnotationsList/components/Annotation/index.js.map +1 -1
- package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.js +1 -1
- package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.js.map +1 -1
- package/cjs-bundle/components/Annotations/components/AnnotationsList/index.js +1 -1
- package/cjs-bundle/components/Annotations/components/AnnotationsList/index.js.map +1 -1
- package/cjs-bundle/components/Annotations/components/LastAnnotation/index.js +1 -1
- package/cjs-bundle/components/Annotations/components/LastAnnotation/index.js.map +1 -1
- package/cjs-bundle/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
- package/cjs-bundle/components/AppVersionsSelect/AppVersionsSelect.js.map +1 -1
- package/cjs-bundle/components/AssetEditor/AssetEditorAutocomplete.js +1 -1
- package/cjs-bundle/components/AssetEditor/AssetEditorAutocomplete.js.map +1 -1
- package/cjs-bundle/components/AssetEditor/SingleAssetEditor.js +1 -1
- package/cjs-bundle/components/AssetEditor/SingleAssetEditor.js.map +1 -1
- package/cjs-bundle/components/AssetEditor/index.js +1 -1
- package/cjs-bundle/components/AssetEditor/index.js.map +1 -1
- package/cjs-bundle/components/AssetEditorV2/components/MultipleAssetsToggle.js +1 -1
- package/cjs-bundle/components/AssetEditorV2/components/MultipleAssetsToggle.js.map +1 -1
- package/cjs-bundle/components/AssetEditorV2/components/PrimaryAssetSelect.js +1 -1
- package/cjs-bundle/components/AssetEditorV2/components/PrimaryAssetSelect.js.map +1 -1
- package/cjs-bundle/components/AssetEditorV2/components/PrimaryAssetSelectV2.js +1 -1
- package/cjs-bundle/components/AssetEditorV2/components/PrimaryAssetSelectV2.js.map +1 -1
- package/cjs-bundle/components/AssetEditorV2/components/SecondaryAssetSelect.js +1 -1
- package/cjs-bundle/components/AssetEditorV2/components/SecondaryAssetSelect.js.map +1 -1
- package/cjs-bundle/components/AssetEditorV2/components/SelectItem.js +1 -1
- package/cjs-bundle/components/AssetEditorV2/components/SelectItem.js.map +1 -1
- package/cjs-bundle/components/AssetEditorV2/index.js +1 -1
- package/cjs-bundle/components/AssetEditorV2/index.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/BICOffsetPickerDialog/components/Map/Map.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/Map.js.map +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/index.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/index.js.map +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.js.map +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/SectionItem.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/SectionItem.js.map +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/index.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/index.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/Button/components/Button/index.js +1 -1
- package/cjs-bundle/components/Button/components/Button/index.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingComponentIcon.js +1 -1
- package/cjs-bundle/components/Casing/CasingComponentIcon.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/CasingTableV2.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/CasingTableV2.js.map +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/Casing/CasingTile/CasingTile.js +1 -1
- package/cjs-bundle/components/Casing/CasingTile/CasingTile.js.map +1 -1
- package/cjs-bundle/components/Chart/components/ChartWrapper.js +1 -1
- package/cjs-bundle/components/Chart/components/ChartWrapper.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/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/PaletteChromePicker/Palette/Palette.js +1 -1
- package/cjs-bundle/components/ColorPicker/PaletteChromePicker/Palette/Palette.js.map +1 -1
- package/cjs-bundle/components/CommentWrapper.js +1 -1
- package/cjs-bundle/components/CommentWrapper.js.map +1 -1
- package/cjs-bundle/components/CommentsInfo/index.js +1 -1
- package/cjs-bundle/components/CommentsInfo/index.js.map +1 -1
- package/cjs-bundle/components/CustomSelect/index.js +1 -1
- package/cjs-bundle/components/CustomSelect/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/AppHeader/AppHeader.js +1 -1
- package/cjs-bundle/components/DevCenter/AppHeader/AppHeader.js.map +1 -1
- package/cjs-bundle/components/DevCenter/AppHeader/PadMode.js +1 -1
- package/cjs-bundle/components/DevCenter/AppHeader/PadMode.js.map +1 -1
- package/cjs-bundle/components/DevCenter/AppsDataProvider/AppsDataProvider.js +1 -1
- package/cjs-bundle/components/DevCenter/AppsDataProvider/AppsDataProvider.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.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/DevCenterAppView/DevCenterAppView.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js.map +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.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/DevCenter/NavigationBar/NavigationBar.js +1 -1
- package/cjs-bundle/components/DevCenter/NavigationBar/NavigationBar.js.map +1 -1
- package/cjs-bundle/components/DevCenter/SideBar/SideBar.js +1 -1
- package/cjs-bundle/components/DevCenter/SideBar/SideBar.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/BHAComponentIcon.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentIcon.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/BHAComponentsTable.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/BHAComponentsTable.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/Lwd/Measurement.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.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/NozzleSize/index.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.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/PressureLoss/index.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.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/Suggestions/Suggestions.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.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/BHAComponentsTable/components/shared/ExpandCollapseButton.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/FormatedNumber.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/FormatedNumber.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/InputText.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/InputText.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SelectField.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SelectField.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/StaticField.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/StaticField.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAList/BHAList.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAList/BHAList.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHASchematic.js +1 -1
- package/cjs-bundle/components/Drillstring/BHASchematic.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHATile/BHATile.js +1 -1
- package/cjs-bundle/components/Drillstring/BHATile/BHATile.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BhaIndicator/BhaIndicator.js +1 -1
- package/cjs-bundle/components/Drillstring/BhaIndicator/BhaIndicator.js.map +1 -1
- package/cjs-bundle/components/Drillstring/DrillstringDetail/DrillstringDetail.js +1 -1
- package/cjs-bundle/components/Drillstring/DrillstringDetail/DrillstringDetail.js.map +1 -1
- package/cjs-bundle/components/EChartsWrapper/EChartsWrapper.js +1 -1
- package/cjs-bundle/components/EChartsWrapper/EChartsWrapper.js.map +1 -1
- package/cjs-bundle/components/EditableItem/EditableItem/index.js +1 -1
- package/cjs-bundle/components/EditableItem/EditableItem/index.js.map +1 -1
- package/cjs-bundle/components/EditableItem/EditableItemWithBadge/index.js +1 -1
- package/cjs-bundle/components/EditableItem/EditableItemWithBadge/index.js.map +1 -1
- package/cjs-bundle/components/EmbeddedApp/DevCenterEmbeddedApp.js +1 -1
- package/cjs-bundle/components/EmbeddedApp/DevCenterEmbeddedApp.js.map +1 -1
- package/cjs-bundle/components/EmbeddedApp/EmbeddedApp.js +1 -1
- package/cjs-bundle/components/EmbeddedApp/EmbeddedApp.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/FailedFileUploading.js +1 -1
- package/cjs-bundle/components/FailedFileUploading.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/FeedItemEditProvider/FeedItemEditModal.js +1 -1
- package/cjs-bundle/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.js.map +1 -1
- package/cjs-bundle/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js +1 -1
- package/cjs-bundle/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js.map +1 -1
- package/cjs-bundle/components/FeedItem/components/FeedComments.js +1 -1
- package/cjs-bundle/components/FeedItem/components/FeedComments.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/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/WellPlanFeedItem/components/TargetChanges.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js.map +1 -1
- package/cjs-bundle/components/FileTypeIcon.js +1 -1
- package/cjs-bundle/components/FileTypeIcon.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/FolderMenuItem/components/FolderIcon.js +1 -1
- package/cjs-bundle/components/FolderMenuItem/components/FolderIcon.js.map +1 -1
- package/cjs-bundle/components/FolderMenuItem/index.js +1 -1
- package/cjs-bundle/components/FolderMenuItem/index.js.map +1 -1
- package/cjs-bundle/components/FolderMenuItemWithLinks/index.js +1 -1
- package/cjs-bundle/components/FolderMenuItemWithLinks/index.js.map +1 -1
- package/cjs-bundle/components/Formula/RootXIcon.js +1 -1
- package/cjs-bundle/components/Formula/RootXIcon.js.map +1 -1
- package/cjs-bundle/components/GoogleDocsViewer/index.js +1 -1
- package/cjs-bundle/components/GoogleDocsViewer/index.js.map +1 -1
- package/cjs-bundle/components/IconMenu/index.js +1 -1
- package/cjs-bundle/components/IconMenu/index.js.map +1 -1
- package/cjs-bundle/components/Icons/AnnotationIcon.js +1 -1
- package/cjs-bundle/components/Icons/AnnotationIcon.js.map +1 -1
- package/cjs-bundle/components/Icons/AttachIcon.js +1 -1
- package/cjs-bundle/components/Icons/AttachIcon.js.map +1 -1
- package/cjs-bundle/components/Icons/EmojiIcon.js +1 -1
- package/cjs-bundle/components/Icons/EmojiIcon.js.map +1 -1
- package/cjs-bundle/components/Icons/RecommendationIcon.js +1 -1
- package/cjs-bundle/components/Icons/RecommendationIcon.js.map +1 -1
- package/cjs-bundle/components/Icons/SendIcon.js +1 -1
- package/cjs-bundle/components/Icons/SendIcon.js.map +1 -1
- package/cjs-bundle/components/KeyboardDateTimePicker.js +1 -1
- package/cjs-bundle/components/KeyboardDateTimePicker.js.map +1 -1
- package/cjs-bundle/components/LabelsCounter/LabelsCounter.js +1 -1
- package/cjs-bundle/components/LabelsCounter/LabelsCounter.js.map +1 -1
- package/cjs-bundle/components/LoadingIndicator/FullScreenLoadingIndicator.js +1 -1
- package/cjs-bundle/components/LoadingIndicator/FullScreenLoadingIndicator.js.map +1 -1
- package/cjs-bundle/components/LoadingIndicator/InlineLoadingIndicator.js +1 -1
- package/cjs-bundle/components/LoadingIndicator/InlineLoadingIndicator.js.map +1 -1
- package/cjs-bundle/components/LoadingIndicator/Loader.js +1 -1
- package/cjs-bundle/components/LoadingIndicator/Loader.js.map +1 -1
- package/cjs-bundle/components/MiddleTruncate/MiddleTruncate.js +1 -1
- package/cjs-bundle/components/MiddleTruncate/MiddleTruncate.js.map +1 -1
- package/cjs-bundle/components/OffsetWellButton/OffsetWellButton.js +1 -1
- package/cjs-bundle/components/OffsetWellButton/OffsetWellButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellChips/Chip.js +1 -1
- package/cjs-bundle/components/OffsetWellChips/Chip.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/ClearFiltersButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ClearFiltersButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/MultiSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/MultiSelect.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/RadiusInput.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/RadiusInput.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SingleSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SingleSelect.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SubjectWellSearch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SubjectWellSearch.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/Filter/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/index.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/Map/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Map/index.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/components/Table/MetricsSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsSelect.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/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/Map/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/index.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/components/Table/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/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/OffsetWellPickerV3/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/index.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/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/OffsetAssetChip.js +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/OffsetAssetChip.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/AddEditTrack.js +1 -1
- package/cjs-bundle/components/ParameterCharts/AddEditTrack.js.map +1 -1
- package/cjs-bundle/components/ParameterCharts/ParameterCharts.js +1 -1
- package/cjs-bundle/components/ParameterCharts/ParameterCharts.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/ParameterCharts/components/TraceSelect.js +1 -1
- package/cjs-bundle/components/ParameterCharts/components/TraceSelect.js.map +1 -1
- package/cjs-bundle/components/ParameterCharts/components/Track.js +1 -1
- package/cjs-bundle/components/ParameterCharts/components/Track.js.map +1 -1
- package/cjs-bundle/components/PinnableFilters/PinnableFilters.js +1 -1
- package/cjs-bundle/components/PinnableFilters/PinnableFilters.js.map +1 -1
- package/cjs-bundle/components/Popover/Popover.js +1 -1
- package/cjs-bundle/components/Popover/Popover.js.map +1 -1
- package/cjs-bundle/components/Popper/Popper.js +1 -1
- package/cjs-bundle/components/Popper/Popper.js.map +1 -1
- package/cjs-bundle/components/PostInput/PostInput.js +1 -1
- package/cjs-bundle/components/PostInput/PostInput.js.map +1 -1
- package/cjs-bundle/components/PriceInput/FormattedNumber.js +1 -1
- package/cjs-bundle/components/PriceInput/FormattedNumber.js.map +1 -1
- package/cjs-bundle/components/PriceInput/PriceInput.js +1 -1
- package/cjs-bundle/components/PriceInput/PriceInput.js.map +1 -1
- package/cjs-bundle/components/SearchInput/index.js +1 -1
- package/cjs-bundle/components/SearchInput/index.js.map +1 -1
- package/cjs-bundle/components/SettingEditors/DropdownEditor/index.js +1 -1
- package/cjs-bundle/components/SettingEditors/DropdownEditor/index.js.map +1 -1
- package/cjs-bundle/components/SlateFormattedText/Elements/ImageElement/ImageElement.js +1 -1
- package/cjs-bundle/components/SlateFormattedText/Elements/ImageElement/ImageElement.js.map +1 -1
- package/cjs-bundle/components/SlateFormattedText/SlateFormattedText.js +1 -1
- package/cjs-bundle/components/SlateFormattedText/SlateFormattedText.js.map +1 -1
- package/cjs-bundle/components/StageDesignVActual/ComparisonBar/ComparisonBar.js +1 -1
- package/cjs-bundle/components/StageDesignVActual/ComparisonBar/ComparisonBar.js.map +1 -1
- package/cjs-bundle/components/StageDesignVActual/ComparisonHeader.js +1 -1
- package/cjs-bundle/components/StageDesignVActual/ComparisonHeader.js.map +1 -1
- package/cjs-bundle/components/StageDesignVActual/ComparisonRow.js +1 -1
- package/cjs-bundle/components/StageDesignVActual/ComparisonRow.js.map +1 -1
- package/cjs-bundle/components/StageDesignVActual/ElementsComparison/ElementsComparison.js +1 -1
- package/cjs-bundle/components/StageDesignVActual/ElementsComparison/ElementsComparison.js.map +1 -1
- package/cjs-bundle/components/SwitchControl/index.js +1 -1
- package/cjs-bundle/components/SwitchControl/index.js.map +1 -1
- package/cjs-bundle/components/Template/TemplatePopover/index.js +1 -1
- package/cjs-bundle/components/Template/TemplatePopover/index.js.map +1 -1
- package/cjs-bundle/components/Template/TemplateSharingDialog/index.js +1 -1
- package/cjs-bundle/components/Template/TemplateSharingDialog/index.js.map +1 -1
- package/cjs-bundle/components/TracesEditModal/TracesEditModal.js +1 -1
- package/cjs-bundle/components/TracesEditModal/TracesEditModal.js.map +1 -1
- package/cjs-bundle/components/UserCard/index.js +1 -1
- package/cjs-bundle/components/UserCard/index.js.map +1 -1
- package/cjs-bundle/components/UserCardPopover.js +1 -1
- package/cjs-bundle/components/UserCardPopover.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/WellSummary/ActivitySummaryChart.js +1 -1
- package/cjs-bundle/components/WellSummary/ActivitySummaryChart.js.map +1 -1
- package/cjs-bundle/components/WellSummary/FracWirelineTimeChart.js +1 -1
- package/cjs-bundle/components/WellSummary/FracWirelineTimeChart.js.map +1 -1
- package/cjs-bundle/components/WellSummary/WellSummaryItemLabel.js +1 -1
- package/cjs-bundle/components/WellSummary/WellSummaryItemLabel.js.map +1 -1
- package/cjs-bundle/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
- package/cjs-bundle/componentsV2/WellArchivedMessage/WellArchivedMessage.js.map +1 -1
- package/components/AddComment/Popover.d.ts +9 -15
- package/components/AddComment/Popover.d.ts.map +1 -1
- package/components/AddComment/Popover.js +1 -1
- package/components/AddComment/Popover.js.map +1 -1
- package/components/AddComment/Popup.d.ts +8 -16
- package/components/AddComment/Popup.d.ts.map +1 -1
- package/components/AddComment/Popup.js +1 -1
- package/components/AddComment/Popup.js.map +1 -1
- package/components/AddComment/components/Content.d.ts +8 -15
- package/components/AddComment/components/Content.d.ts.map +1 -1
- package/components/AddComment/components/Content.js +1 -1
- package/components/AddComment/components/Content.js.map +1 -1
- package/components/AnchorsList/AnchorsList.d.ts +0 -4
- package/components/AnchorsList/AnchorsList.d.ts.map +1 -1
- package/components/AnchorsList/AnchorsList.js +1 -1
- package/components/AnchorsList/AnchorsList.js.map +1 -1
- package/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
- package/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js.map +1 -1
- package/components/Annotations/components/AnnotationsList/components/Annotation/index.js +1 -1
- package/components/Annotations/components/AnnotationsList/components/Annotation/index.js.map +1 -1
- package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.d.ts +11 -56
- package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.d.ts.map +1 -1
- package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.js +1 -1
- package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.js.map +1 -1
- package/components/Annotations/components/AnnotationsList/index.d.ts +18 -22
- package/components/Annotations/components/AnnotationsList/index.js +1 -1
- package/components/Annotations/components/AnnotationsList/index.js.map +1 -1
- package/components/Annotations/components/LastAnnotation/index.js +1 -1
- package/components/Annotations/components/LastAnnotation/index.js.map +1 -1
- package/components/AppVersionsSelect/AppVersionsSelect.d.ts +7 -16
- package/components/AppVersionsSelect/AppVersionsSelect.d.ts.map +1 -1
- package/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
- package/components/AppVersionsSelect/AppVersionsSelect.js.map +1 -1
- package/components/AssetEditor/AssetEditorAutocomplete.d.ts +13 -96
- package/components/AssetEditor/AssetEditorAutocomplete.d.ts.map +1 -1
- package/components/AssetEditor/AssetEditorAutocomplete.js +1 -1
- package/components/AssetEditor/AssetEditorAutocomplete.js.map +1 -1
- package/components/AssetEditor/SingleAssetEditor.d.ts +2 -29
- package/components/AssetEditor/SingleAssetEditor.js +1 -1
- package/components/AssetEditor/SingleAssetEditor.js.map +1 -1
- package/components/AssetEditor/index.d.ts +3 -9
- package/components/AssetEditor/index.d.ts.map +1 -1
- package/components/AssetEditor/index.js +1 -1
- package/components/AssetEditor/index.js.map +1 -1
- package/components/AssetEditorV2/components/MultipleAssetsToggle.d.ts +3 -8
- package/components/AssetEditorV2/components/MultipleAssetsToggle.d.ts.map +1 -1
- package/components/AssetEditorV2/components/MultipleAssetsToggle.js +1 -1
- package/components/AssetEditorV2/components/MultipleAssetsToggle.js.map +1 -1
- package/components/AssetEditorV2/components/PrimaryAssetSelect.d.ts +8 -14
- package/components/AssetEditorV2/components/PrimaryAssetSelect.d.ts.map +1 -1
- package/components/AssetEditorV2/components/PrimaryAssetSelect.js +1 -1
- package/components/AssetEditorV2/components/PrimaryAssetSelect.js.map +1 -1
- package/components/AssetEditorV2/components/PrimaryAssetSelectV2.d.ts +8 -14
- package/components/AssetEditorV2/components/PrimaryAssetSelectV2.d.ts.map +1 -1
- package/components/AssetEditorV2/components/PrimaryAssetSelectV2.js +1 -1
- package/components/AssetEditorV2/components/PrimaryAssetSelectV2.js.map +1 -1
- package/components/AssetEditorV2/components/SecondaryAssetSelect.d.ts +0 -10
- package/components/AssetEditorV2/components/SecondaryAssetSelect.d.ts.map +1 -1
- package/components/AssetEditorV2/components/SecondaryAssetSelect.js +1 -1
- package/components/AssetEditorV2/components/SecondaryAssetSelect.js.map +1 -1
- package/components/AssetEditorV2/components/SelectItem.d.ts.map +1 -1
- package/components/AssetEditorV2/components/SelectItem.js +1 -1
- package/components/AssetEditorV2/components/SelectItem.js.map +1 -1
- package/components/AssetEditorV2/index.d.ts +12 -28
- package/components/AssetEditorV2/index.d.ts.map +1 -1
- package/components/AssetEditorV2/index.js +1 -1
- package/components/AssetEditorV2/index.js.map +1 -1
- package/components/Attachment/index.d.ts +2 -16
- package/components/Attachment/index.js +1 -1
- package/components/Attachment/index.js.map +1 -1
- package/components/BICOffsetPickerDialog/components/Map/Map.d.ts +5 -5
- 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/components/Map/index.d.ts +3 -3
- package/components/BICOffsetPickerDialog/components/Map/index.d.ts.map +1 -1
- package/components/BICOffsetPickerDialog/components/Map/index.js +1 -1
- package/components/BICOffsetPickerDialog/components/Map/index.js.map +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.d.ts +4 -10
- package/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.d.ts.map +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.js +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.js.map +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/SectionItem.d.ts +5 -5
- package/components/BICOffsetPickerDialog/components/WellSection/SectionItem.d.ts.map +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/SectionItem.js +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/SectionItem.js.map +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/index.d.ts +2 -2
- package/components/BICOffsetPickerDialog/components/WellSection/index.d.ts.map +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/index.js +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/index.js.map +1 -1
- package/components/BICOffsetPickerDialog/index.d.ts +5 -12
- package/components/BICOffsetPickerDialog/index.d.ts.map +1 -1
- package/components/BICOffsetPickerDialog/index.js +1 -1
- package/components/BICOffsetPickerDialog/index.js.map +1 -1
- package/components/Button/components/Button/index.d.ts.map +1 -1
- package/components/Button/components/Button/index.js +1 -1
- package/components/Button/components/Button/index.js.map +1 -1
- package/components/Casing/CasingComponentIcon.d.ts +2 -6
- package/components/Casing/CasingComponentIcon.d.ts.map +1 -1
- package/components/Casing/CasingComponentIcon.js +1 -1
- package/components/Casing/CasingComponentIcon.js.map +1 -1
- package/components/Casing/CasingTableV2/CasingTableV2.d.ts +4 -10
- package/components/Casing/CasingTableV2/CasingTableV2.d.ts.map +1 -1
- package/components/Casing/CasingTableV2/CasingTableV2.js +1 -1
- package/components/Casing/CasingTableV2/CasingTableV2.js.map +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.d.ts +2 -2
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.d.ts.map +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.d.ts +3 -3
- package/components/Casing/CasingTableV2/components/Component.d.ts.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.d.ts +2 -2
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.d.ts.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/Casing/CasingTile/CasingTile.d.ts +4 -9
- package/components/Casing/CasingTile/CasingTile.d.ts.map +1 -1
- package/components/Casing/CasingTile/CasingTile.js +1 -1
- package/components/Casing/CasingTile/CasingTile.js.map +1 -1
- package/components/Chart/components/ChartWrapper.d.ts +4 -8
- package/components/Chart/components/ChartWrapper.d.ts.map +1 -1
- package/components/Chart/components/ChartWrapper.js +1 -1
- package/components/Chart/components/ChartWrapper.js.map +1 -1
- package/components/Chart/components/buttons/ChartTypeButton.d.ts +4 -9
- package/components/Chart/components/buttons/ChartTypeButton.d.ts.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.d.ts +5 -10
- package/components/Chart/components/buttons/DragToZoomButton.d.ts.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.d.ts +4 -6
- package/components/Chart/components/buttons/HideAxesButton.d.ts.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.d.ts +5 -10
- package/components/Chart/components/buttons/PanButton.d.ts.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.d.ts +5 -11
- package/components/Chart/components/buttons/ResetZoomButton.d.ts.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.d.ts +5 -9
- package/components/Chart/components/buttons/ZoomInButton.d.ts.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.d.ts +5 -9
- package/components/Chart/components/buttons/ZoomOutButton.d.ts.map +1 -1
- package/components/Chart/components/buttons/ZoomOutButton.js +1 -1
- package/components/Chart/components/buttons/ZoomOutButton.js.map +1 -1
- package/components/CollapsableSidebar.d.ts +8 -33
- package/components/CollapsableSidebar.d.ts.map +1 -1
- package/components/CollapsableSidebar.js +1 -1
- package/components/CollapsableSidebar.js.map +1 -1
- package/components/CollapsibleContent.d.ts +1 -4
- package/components/CollapsibleContent.d.ts.map +1 -1
- package/components/CollapsibleContent.js +1 -1
- package/components/CollapsibleContent.js.map +1 -1
- package/components/ColorPicker/PaletteChromePicker/Palette/Palette.js +1 -1
- package/components/ColorPicker/PaletteChromePicker/Palette/Palette.js.map +1 -1
- package/components/CommentWrapper.d.ts +12 -16
- package/components/CommentWrapper.js +1 -1
- package/components/CommentWrapper.js.map +1 -1
- package/components/CommentsInfo/index.d.ts +23 -30
- package/components/CommentsInfo/index.d.ts.map +1 -1
- package/components/CommentsInfo/index.js +1 -1
- package/components/CommentsInfo/index.js.map +1 -1
- package/components/CustomSelect/index.d.ts +3 -6
- package/components/CustomSelect/index.d.ts.map +1 -1
- package/components/CustomSelect/index.js +1 -1
- package/components/CustomSelect/index.js.map +1 -1
- package/components/DatePicker/index.d.ts +1 -5
- package/components/DatePicker/index.d.ts.map +1 -1
- package/components/DatePicker/index.js +1 -1
- package/components/DatePicker/index.js.map +1 -1
- package/components/DateTimePicker/index.d.ts +0 -5
- package/components/DateTimePicker/index.d.ts.map +1 -1
- package/components/DateTimePicker/index.js +1 -1
- package/components/DateTimePicker/index.js.map +1 -1
- package/components/DevCenter/AppHeader/AppHeader.d.ts +18 -40
- package/components/DevCenter/AppHeader/AppHeader.d.ts.map +1 -1
- package/components/DevCenter/AppHeader/AppHeader.js +1 -1
- package/components/DevCenter/AppHeader/AppHeader.js.map +1 -1
- package/components/DevCenter/AppHeader/PadMode.d.ts +4 -14
- package/components/DevCenter/AppHeader/PadMode.d.ts.map +1 -1
- package/components/DevCenter/AppHeader/PadMode.js +1 -1
- package/components/DevCenter/AppHeader/PadMode.js.map +1 -1
- package/components/DevCenter/AppsDataProvider/AppsDataProvider.d.ts +1 -5
- package/components/DevCenter/AppsDataProvider/AppsDataProvider.d.ts.map +1 -1
- package/components/DevCenter/AppsDataProvider/AppsDataProvider.js +1 -1
- package/components/DevCenter/AppsDataProvider/AppsDataProvider.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.d.ts +3 -8
- package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.d.ts +5 -11
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.d.ts.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/DevCenterAppView/DevCenterAppView.d.ts +1 -9
- package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js.map +1 -1
- package/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.d.ts +1 -13
- package/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.d.ts.map +1 -1
- package/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js +1 -1
- package/components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.d.ts.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.d.ts +3 -8
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.d.ts.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js.map +1 -1
- package/components/DevCenter/NavigationBar/NavigationBar.d.ts +5 -13
- package/components/DevCenter/NavigationBar/NavigationBar.d.ts.map +1 -1
- package/components/DevCenter/NavigationBar/NavigationBar.js +1 -1
- package/components/DevCenter/NavigationBar/NavigationBar.js.map +1 -1
- package/components/DevCenter/SideBar/SideBar.d.ts +11 -35
- package/components/DevCenter/SideBar/SideBar.d.ts.map +1 -1
- package/components/DevCenter/SideBar/SideBar.js +1 -1
- package/components/DevCenter/SideBar/SideBar.js.map +1 -1
- package/components/DevCenter/icons/CorvaLogoSmall.d.ts +3 -8
- package/components/DevCenter/icons/CorvaLogoSmall.d.ts.map +1 -1
- package/components/DevCenter/icons/DevCenterIcon.d.ts +3 -8
- package/components/DevCenter/icons/DevCenterIcon.d.ts.map +1 -1
- package/components/DocumentViewer/DocumentViewer.d.ts +1 -6
- package/components/DocumentViewer/DocumentViewer.d.ts.map +1 -1
- package/components/DocumentViewer/DocumentViewer.js +1 -1
- package/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/components/Drillstring/BHAComponentIcon.d.ts +2 -6
- package/components/Drillstring/BHAComponentIcon.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentIcon.js +1 -1
- package/components/Drillstring/BHAComponentIcon.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/BHAComponentsTable.d.ts +4 -10
- package/components/Drillstring/BHAComponentsTable/BHAComponentsTable.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/BHAComponentsTable.js +1 -1
- package/components/Drillstring/BHAComponentsTable/BHAComponentsTable.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.d.ts +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.d.ts.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.d.ts +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.d.ts.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.d.ts +3 -3
- package/components/Drillstring/BHAComponentsTable/components/Component.d.ts.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.d.ts +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.d.ts.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.d.ts +2 -2
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.d.ts.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.d.ts +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.d.ts.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.d.ts +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.d.ts.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/Lwd/Measurement.d.ts +4 -4
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.d.ts +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.d.ts.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/NozzleSize/index.d.ts +4 -4
- package/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.d.ts +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.d.ts.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/PressureLoss/index.d.ts +5 -5
- package/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.d.ts +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.d.ts.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.d.ts +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.d.ts.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.d.ts +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.d.ts.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/Suggestions/Suggestions.d.ts +2 -2
- package/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.d.ts +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.d.ts.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/BHAComponentsTable/components/shared/ExpandCollapseButton.d.ts +1 -4
- package/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/FormatedNumber.d.ts +3 -8
- package/components/Drillstring/BHAComponentsTable/components/shared/FormatedNumber.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/FormatedNumber.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/FormatedNumber.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/InputText.d.ts +4 -10
- package/components/Drillstring/BHAComponentsTable/components/shared/InputText.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/InputText.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/InputText.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.d.ts +1 -4
- package/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/SelectField.d.ts +3 -8
- package/components/Drillstring/BHAComponentsTable/components/shared/SelectField.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/SelectField.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/SelectField.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.d.ts +1 -4
- package/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/StaticField.d.ts +5 -11
- package/components/Drillstring/BHAComponentsTable/components/shared/StaticField.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/StaticField.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/StaticField.js.map +1 -1
- package/components/Drillstring/BHAList/BHAList.d.ts +5 -12
- package/components/Drillstring/BHAList/BHAList.d.ts.map +1 -1
- package/components/Drillstring/BHAList/BHAList.js +1 -1
- package/components/Drillstring/BHAList/BHAList.js.map +1 -1
- package/components/Drillstring/BHASchematic.d.ts +2 -6
- package/components/Drillstring/BHASchematic.d.ts.map +1 -1
- package/components/Drillstring/BHASchematic.js +1 -1
- package/components/Drillstring/BHASchematic.js.map +1 -1
- package/components/Drillstring/BHATile/BHATile.d.ts +6 -13
- package/components/Drillstring/BHATile/BHATile.d.ts.map +1 -1
- package/components/Drillstring/BHATile/BHATile.js +1 -1
- package/components/Drillstring/BHATile/BHATile.js.map +1 -1
- package/components/Drillstring/BhaIndicator/BhaIndicator.d.ts +1 -4
- package/components/Drillstring/BhaIndicator/BhaIndicator.d.ts.map +1 -1
- package/components/Drillstring/BhaIndicator/BhaIndicator.js +1 -1
- package/components/Drillstring/BhaIndicator/BhaIndicator.js.map +1 -1
- package/components/Drillstring/DrillstringDetail/DrillstringDetail.d.ts +0 -3
- package/components/Drillstring/DrillstringDetail/DrillstringDetail.d.ts.map +1 -1
- package/components/Drillstring/DrillstringDetail/DrillstringDetail.js +1 -1
- package/components/Drillstring/DrillstringDetail/DrillstringDetail.js.map +1 -1
- package/components/EChartsWrapper/EChartsWrapper.d.ts.map +1 -1
- package/components/EChartsWrapper/EChartsWrapper.js +1 -1
- package/components/EChartsWrapper/EChartsWrapper.js.map +1 -1
- package/components/EditableItem/EditableItem/index.d.ts +0 -8
- package/components/EditableItem/EditableItem/index.d.ts.map +1 -1
- package/components/EditableItem/EditableItem/index.js +1 -1
- package/components/EditableItem/EditableItem/index.js.map +1 -1
- package/components/EditableItem/EditableItemWithBadge/index.d.ts +4 -4
- package/components/EditableItem/EditableItemWithBadge/index.d.ts.map +1 -1
- package/components/EditableItem/EditableItemWithBadge/index.js +1 -1
- package/components/EditableItem/EditableItemWithBadge/index.js.map +1 -1
- package/components/EmbeddedApp/DevCenterEmbeddedApp.d.ts +3 -10
- package/components/EmbeddedApp/DevCenterEmbeddedApp.d.ts.map +1 -1
- package/components/EmbeddedApp/DevCenterEmbeddedApp.js +1 -1
- package/components/EmbeddedApp/DevCenterEmbeddedApp.js.map +1 -1
- package/components/EmbeddedApp/EmbeddedApp.d.ts +1 -20
- package/components/EmbeddedApp/EmbeddedApp.d.ts.map +1 -1
- package/components/EmbeddedApp/EmbeddedApp.js +1 -1
- package/components/EmbeddedApp/EmbeddedApp.js.map +1 -1
- package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.d.ts +0 -3
- package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.d.ts.map +1 -1
- package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
- package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js.map +1 -1
- package/components/FailedFileUploading.d.ts +2 -5
- package/components/FailedFileUploading.js +1 -1
- package/components/FailedFileUploading.js.map +1 -1
- package/components/FeedItem/FeedItem.js +1 -1
- package/components/FeedItem/FeedItem.js.map +1 -1
- package/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.d.ts +0 -5
- package/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.d.ts.map +1 -1
- package/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.js +1 -1
- package/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.js.map +1 -1
- package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.d.ts +5 -10
- package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.d.ts.map +1 -1
- package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js +1 -1
- package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js.map +1 -1
- package/components/FeedItem/components/FeedComments.js +1 -1
- package/components/FeedItem/components/FeedComments.js.map +1 -1
- package/components/FeedItem/components/LessonsLearnedLeafIcon.d.ts +2 -6
- 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 +0 -3
- 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 +0 -3
- 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/SurveyStationFeedItem/components/AccuracyPlan.d.ts +4 -9
- 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/WellPlanFeedItem/components/TargetChanges.d.ts +1 -4
- 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/FileTypeIcon.d.ts +1 -5
- package/components/FileTypeIcon.d.ts.map +1 -1
- package/components/FileTypeIcon.js +1 -1
- package/components/FileTypeIcon.js.map +1 -1
- package/components/FilesLoader/FilesLoader.d.ts +0 -16
- package/components/FilesLoader/FilesLoader.d.ts.map +1 -1
- package/components/FilesLoader/FilesLoader.js +1 -1
- package/components/FilesLoader/FilesLoader.js.map +1 -1
- package/components/FolderMenuItem/components/FolderIcon.d.ts +2 -6
- package/components/FolderMenuItem/components/FolderIcon.d.ts.map +1 -1
- package/components/FolderMenuItem/components/FolderIcon.js +1 -1
- package/components/FolderMenuItem/components/FolderIcon.js.map +1 -1
- package/components/FolderMenuItem/index.d.ts +3 -8
- package/components/FolderMenuItem/index.d.ts.map +1 -1
- package/components/FolderMenuItem/index.js +1 -1
- package/components/FolderMenuItem/index.js.map +1 -1
- package/components/FolderMenuItemWithLinks/index.d.ts +5 -10
- package/components/FolderMenuItemWithLinks/index.d.ts.map +1 -1
- package/components/FolderMenuItemWithLinks/index.js +1 -1
- package/components/FolderMenuItemWithLinks/index.js.map +1 -1
- package/components/Formula/RootXIcon.d.ts +1 -4
- package/components/Formula/RootXIcon.d.ts.map +1 -1
- package/components/Formula/RootXIcon.js +1 -1
- package/components/Formula/RootXIcon.js.map +1 -1
- package/components/GoogleDocsViewer/index.d.ts +2 -8
- package/components/GoogleDocsViewer/index.d.ts.map +1 -1
- package/components/GoogleDocsViewer/index.js +1 -1
- package/components/GoogleDocsViewer/index.js.map +1 -1
- package/components/IconMenu/index.d.ts +21 -67
- package/components/IconMenu/index.d.ts.map +1 -1
- package/components/IconMenu/index.js +1 -1
- package/components/IconMenu/index.js.map +1 -1
- package/components/Icons/AnnotationIcon.d.ts +2 -6
- package/components/Icons/AnnotationIcon.d.ts.map +1 -1
- package/components/Icons/AnnotationIcon.js +1 -1
- package/components/Icons/AnnotationIcon.js.map +1 -1
- package/components/Icons/AttachIcon.d.ts +2 -6
- package/components/Icons/AttachIcon.d.ts.map +1 -1
- package/components/Icons/AttachIcon.js +1 -1
- package/components/Icons/AttachIcon.js.map +1 -1
- package/components/Icons/EmojiIcon.d.ts +2 -6
- package/components/Icons/EmojiIcon.d.ts.map +1 -1
- package/components/Icons/EmojiIcon.js +1 -1
- package/components/Icons/EmojiIcon.js.map +1 -1
- package/components/Icons/RecommendationIcon.d.ts +2 -6
- package/components/Icons/RecommendationIcon.d.ts.map +1 -1
- package/components/Icons/RecommendationIcon.js +1 -1
- package/components/Icons/RecommendationIcon.js.map +1 -1
- package/components/Icons/SendIcon.d.ts +2 -6
- package/components/Icons/SendIcon.d.ts.map +1 -1
- package/components/Icons/SendIcon.js +1 -1
- package/components/Icons/SendIcon.js.map +1 -1
- package/components/KeyboardDateTimePicker.d.ts +7 -6
- package/components/KeyboardDateTimePicker.d.ts.map +1 -1
- package/components/KeyboardDateTimePicker.js +1 -1
- package/components/KeyboardDateTimePicker.js.map +1 -1
- package/components/LabelsCounter/LabelsCounter.d.ts +1 -4
- package/components/LabelsCounter/LabelsCounter.d.ts.map +1 -1
- package/components/LabelsCounter/LabelsCounter.js +1 -1
- package/components/LabelsCounter/LabelsCounter.js.map +1 -1
- package/components/LoadingIndicator/FullScreenLoadingIndicator.d.ts +1 -6
- package/components/LoadingIndicator/FullScreenLoadingIndicator.d.ts.map +1 -1
- package/components/LoadingIndicator/FullScreenLoadingIndicator.js +1 -1
- package/components/LoadingIndicator/FullScreenLoadingIndicator.js.map +1 -1
- package/components/LoadingIndicator/InlineLoadingIndicator.d.ts +1 -6
- package/components/LoadingIndicator/InlineLoadingIndicator.d.ts.map +1 -1
- package/components/LoadingIndicator/InlineLoadingIndicator.js +1 -1
- package/components/LoadingIndicator/InlineLoadingIndicator.js.map +1 -1
- package/components/LoadingIndicator/Loader.d.ts +0 -4
- package/components/LoadingIndicator/Loader.d.ts.map +1 -1
- package/components/LoadingIndicator/Loader.js +1 -1
- package/components/LoadingIndicator/Loader.js.map +1 -1
- package/components/MiddleTruncate/MiddleTruncate.d.ts +1 -13
- package/components/MiddleTruncate/MiddleTruncate.d.ts.map +1 -1
- package/components/MiddleTruncate/MiddleTruncate.js +1 -1
- package/components/MiddleTruncate/MiddleTruncate.js.map +1 -1
- package/components/OffsetWellButton/OffsetWellButton.d.ts +1 -10
- package/components/OffsetWellButton/OffsetWellButton.d.ts.map +1 -1
- package/components/OffsetWellButton/OffsetWellButton.js +1 -1
- package/components/OffsetWellButton/OffsetWellButton.js.map +1 -1
- package/components/OffsetWellChips/Chip.d.ts +1 -11
- package/components/OffsetWellChips/Chip.d.ts.map +1 -1
- package/components/OffsetWellChips/Chip.js +1 -1
- package/components/OffsetWellChips/Chip.js.map +1 -1
- package/components/OffsetWellChips/types.d.ts +4 -4
- package/components/OffsetWellChips/types.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/OffsetWellPickerDialog.d.ts +7 -16
- package/components/OffsetWellPickerV2/OffsetWellPickerDialog.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
- package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ClearFiltersButton.d.ts +1 -4
- package/components/OffsetWellPickerV2/components/Filter/ClearFiltersButton.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ClearFiltersButton.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ClearFiltersButton.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/MultiSelect.d.ts +1 -4
- package/components/OffsetWellPickerV2/components/Filter/MultiSelect.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/MultiSelect.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/MultiSelect.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.d.ts +10 -12
- package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/RadiusInput.d.ts +11 -13
- package/components/OffsetWellPickerV2/components/Filter/RadiusInput.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/RadiusInput.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.d.ts +10 -12
- package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/SingleSelect.d.ts +3 -7
- package/components/OffsetWellPickerV2/components/Filter/SingleSelect.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/SingleSelect.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/SingleSelect.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/SubjectWellSearch.d.ts +1 -1
- package/components/OffsetWellPickerV2/components/Filter/SubjectWellSearch.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/SubjectWellSearch.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/SubjectWellSearch.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/Filter/index.d.ts +1 -1
- package/components/OffsetWellPickerV2/components/Filter/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/index.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/index.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Map/Map.d.ts +6 -6
- 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/Map/index.d.ts +2 -2
- package/components/OffsetWellPickerV2/components/Map/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/components/Map/index.js +1 -1
- package/components/OffsetWellPickerV2/components/Map/index.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.d.ts +10 -12
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsSelect.d.ts +11 -13
- package/components/OffsetWellPickerV2/components/Table/MetricsSelect.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsSelect.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Table/index.d.ts +20 -29
- package/components/OffsetWellPickerV2/components/Table/index.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.d.ts +4 -4
- 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/Map/index.d.ts +2 -2
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/index.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/index.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/components/Table/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.d.ts +4 -4
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.d.ts.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/OffsetWellPickerV3/index.d.ts +7 -16
- package/components/OffsetWellPickerV3/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/index.js +1 -1
- package/components/OffsetWellPickerV3/index.js.map +1 -1
- package/components/OffsetWellPickerV4/components/Filter/MultiSelect.d.ts +2 -6
- package/components/OffsetWellPickerV4/components/Filter/MultiSelect.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/Filter/PeriodSelect.d.ts +1 -4
- package/components/OffsetWellPickerV4/components/Filter/PeriodSelect.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/Filter/RadiusInput.d.ts +2 -5
- package/components/OffsetWellPickerV4/components/Filter/RadiusInput.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/Filter/SingleSelect.d.ts +2 -6
- package/components/OffsetWellPickerV4/components/Filter/SingleSelect.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/Map/WellsMap.d.ts +2 -6
- package/components/OffsetWellPickerV4/components/Map/WellsMap.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/SubjectWellMark.d.ts +1 -4
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/SubjectWellMark.d.ts.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/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
- package/components/PadOffsetsPicker/OffsetAssetChip.d.ts +5 -11
- package/components/PadOffsetsPicker/OffsetAssetChip.d.ts.map +1 -1
- package/components/PadOffsetsPicker/OffsetAssetChip.js +1 -1
- package/components/PadOffsetsPicker/OffsetAssetChip.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/AddEditTrack.d.ts +12 -28
- package/components/ParameterCharts/AddEditTrack.js +1 -1
- package/components/ParameterCharts/AddEditTrack.js.map +1 -1
- package/components/ParameterCharts/ParameterCharts.d.ts +5 -12
- package/components/ParameterCharts/ParameterCharts.d.ts.map +1 -1
- package/components/ParameterCharts/ParameterCharts.js +1 -1
- package/components/ParameterCharts/ParameterCharts.js.map +1 -1
- package/components/ParameterCharts/components/TraceHeader.d.ts +13 -89
- package/components/ParameterCharts/components/TraceHeader.d.ts.map +1 -1
- package/components/ParameterCharts/components/TraceHeader.js +1 -1
- package/components/ParameterCharts/components/TraceHeader.js.map +1 -1
- package/components/ParameterCharts/components/TraceSelect.d.ts +12 -18
- package/components/ParameterCharts/components/TraceSelect.js +1 -1
- package/components/ParameterCharts/components/TraceSelect.js.map +1 -1
- package/components/ParameterCharts/components/Track.d.ts +1 -4
- package/components/ParameterCharts/components/Track.d.ts.map +1 -1
- package/components/ParameterCharts/components/Track.js +1 -1
- package/components/ParameterCharts/components/Track.js.map +1 -1
- package/components/PinnableFilters/PinnableFilters.d.ts.map +1 -1
- package/components/PinnableFilters/PinnableFilters.js +1 -1
- package/components/PinnableFilters/PinnableFilters.js.map +1 -1
- package/components/Popover/Popover.js +1 -1
- package/components/Popover/Popover.js.map +1 -1
- package/components/Popper/Popper.js +1 -1
- package/components/Popper/Popper.js.map +1 -1
- package/components/PostInput/PostInput.d.ts +10 -20
- package/components/PostInput/PostInput.d.ts.map +1 -1
- package/components/PostInput/PostInput.js +1 -1
- package/components/PostInput/PostInput.js.map +1 -1
- package/components/PriceInput/FormattedNumber.d.ts +0 -3
- package/components/PriceInput/FormattedNumber.d.ts.map +1 -1
- package/components/PriceInput/FormattedNumber.js +1 -1
- package/components/PriceInput/FormattedNumber.js.map +1 -1
- package/components/PriceInput/PriceInput.d.ts +4 -4
- package/components/PriceInput/PriceInput.d.ts.map +1 -1
- package/components/PriceInput/PriceInput.js +1 -1
- package/components/PriceInput/PriceInput.js.map +1 -1
- package/components/SearchInput/index.d.ts +1 -4
- package/components/SearchInput/index.d.ts.map +1 -1
- package/components/SearchInput/index.js +1 -1
- package/components/SearchInput/index.js.map +1 -1
- package/components/SettingEditors/DropdownEditor/index.d.ts +21 -30
- package/components/SettingEditors/DropdownEditor/index.d.ts.map +1 -1
- package/components/SettingEditors/DropdownEditor/index.js +1 -1
- package/components/SettingEditors/DropdownEditor/index.js.map +1 -1
- package/components/SlateFormattedText/Elements/ImageElement/ImageElement.d.ts +0 -4
- package/components/SlateFormattedText/Elements/ImageElement/ImageElement.d.ts.map +1 -1
- package/components/SlateFormattedText/Elements/ImageElement/ImageElement.js +1 -1
- package/components/SlateFormattedText/Elements/ImageElement/ImageElement.js.map +1 -1
- package/components/SlateFormattedText/SlateFormattedText.d.ts +4 -11
- package/components/SlateFormattedText/SlateFormattedText.d.ts.map +1 -1
- package/components/SlateFormattedText/SlateFormattedText.js +1 -1
- package/components/SlateFormattedText/SlateFormattedText.js.map +1 -1
- package/components/StageDesignVActual/ComparisonBar/ComparisonBar.d.ts +1 -6
- package/components/StageDesignVActual/ComparisonBar/ComparisonBar.d.ts.map +1 -1
- package/components/StageDesignVActual/ComparisonBar/ComparisonBar.js +1 -1
- package/components/StageDesignVActual/ComparisonBar/ComparisonBar.js.map +1 -1
- package/components/StageDesignVActual/ComparisonHeader.d.ts +1 -7
- package/components/StageDesignVActual/ComparisonHeader.d.ts.map +1 -1
- package/components/StageDesignVActual/ComparisonHeader.js +1 -1
- package/components/StageDesignVActual/ComparisonHeader.js.map +1 -1
- package/components/StageDesignVActual/ComparisonRow.d.ts +7 -16
- package/components/StageDesignVActual/ComparisonRow.d.ts.map +1 -1
- package/components/StageDesignVActual/ComparisonRow.js +1 -1
- package/components/StageDesignVActual/ComparisonRow.js.map +1 -1
- package/components/StageDesignVActual/ElementsComparison/ElementsComparison.d.ts +7 -15
- package/components/StageDesignVActual/ElementsComparison/ElementsComparison.d.ts.map +1 -1
- package/components/StageDesignVActual/ElementsComparison/ElementsComparison.js +1 -1
- package/components/StageDesignVActual/ElementsComparison/ElementsComparison.js.map +1 -1
- package/components/SwitchControl/index.d.ts.map +1 -1
- package/components/SwitchControl/index.js +1 -1
- package/components/SwitchControl/index.js.map +1 -1
- package/components/Template/TemplatePopover/index.d.ts +8 -18
- package/components/Template/TemplatePopover/index.d.ts.map +1 -1
- package/components/Template/TemplatePopover/index.js +1 -1
- package/components/Template/TemplatePopover/index.js.map +1 -1
- package/components/Template/TemplateSharingDialog/index.d.ts +1 -4
- package/components/Template/TemplateSharingDialog/index.d.ts.map +1 -1
- package/components/Template/TemplateSharingDialog/index.js +1 -1
- package/components/Template/TemplateSharingDialog/index.js.map +1 -1
- package/components/TracesEditModal/TracesEditModal.d.ts +5 -13
- package/components/TracesEditModal/TracesEditModal.d.ts.map +1 -1
- package/components/TracesEditModal/TracesEditModal.js +1 -1
- package/components/TracesEditModal/TracesEditModal.js.map +1 -1
- package/components/UserCard/index.d.ts +1 -1
- package/components/UserCard/index.js +1 -1
- package/components/UserCard/index.js.map +1 -1
- package/components/UserCardPopover.d.ts +14 -5
- package/components/UserCardPopover.js +1 -1
- package/components/UserCardPopover.js.map +1 -1
- package/components/UserMention/index.js +1 -1
- package/components/UserMention/index.js.map +1 -1
- package/components/WellSummary/ActivitySummaryChart.d.ts +3 -7
- package/components/WellSummary/ActivitySummaryChart.d.ts.map +1 -1
- package/components/WellSummary/ActivitySummaryChart.js +1 -1
- package/components/WellSummary/ActivitySummaryChart.js.map +1 -1
- package/components/WellSummary/FracWirelineTimeChart.d.ts +0 -4
- package/components/WellSummary/FracWirelineTimeChart.d.ts.map +1 -1
- package/components/WellSummary/FracWirelineTimeChart.js +1 -1
- package/components/WellSummary/FracWirelineTimeChart.js.map +1 -1
- package/components/WellSummary/WellSummaryItemLabel.d.ts +1 -4
- package/components/WellSummary/WellSummaryItemLabel.d.ts.map +1 -1
- package/components/WellSummary/WellSummaryItemLabel.js +1 -1
- package/components/WellSummary/WellSummaryItemLabel.js.map +1 -1
- package/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
- package/componentsV2/WellArchivedMessage/WellArchivedMessage.js.map +1 -1
- package/mcp-server/server.mjs +9832 -11635
- package/package.json +4 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/typeof";import t from"@babel/runtime/helpers/defineProperty";import{shape as r,oneOfType as i,number as a,string as o,func as
|
|
1
|
+
import e from"@babel/runtime/helpers/typeof";import t from"@babel/runtime/helpers/defineProperty";import{shape as r,oneOfType as i,number as a,string as o,func as n,bool as p}from"prop-types";import{Map as s,List as m}from"immutable";import c from"moment";import{makeStyles as d,Typography as u}from"@material-ui/core";import{normalizeAssetForApp as l}from"./helpers.js";import b from"./styles.css.js";import{isNativeDetected as f}from"../../../../utils/mobileDetect.js";import g from"../../../EmbeddedApp/DevCenterEmbeddedApp.js";import y from"../../../EmbeddedApp/EmbeddedApp.js";import A from"../../../Attachment/index.js";import{formatMentionText as h}from"../../../UserMention/utils/index.js";import{jsx as w,jsxs as j,Fragment as v}from"react/jsx-runtime";function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function R(e){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?O(Object(i),!0).forEach((function(r){t(e,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):O(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}var _=d((function(e){return{attachmentLable:{fontSize:"12px",color:e.palette.primary.text6}}})),q=function(e){var t=e.feedItem,r=t.id,i=t.well,a=t.rig,o=t.app,n=t.package,p=t.company_id,d=t.context.app_annotation,O=d.body,q=d.app_category,D=d.app_key,E=d.created_at,S=d.settings,P=void 0===S?{}:S,x=d.attachment,C=d.data_timestamp,F=t.mentioned_users,I=e.appContext,N=e.appRegistry,L=e.subscribeAppForAsset,U=e.unsubscribeAppFromAsset,k=e.currentUser,z=e.appData,B=e.isSubDataLoading,K=e.getSubErrors,M=e.isSubDataEmpty,T=e.showAppPreview,G=void 0===T||T,H=_(),J=!!o,Q=J&&"dev_center"===o.platform;if(!J||Q&&!n)return w(u,{variant:"body2",children:"App not found"});var V=l(i||a,p),W=c(C||E).unix();return[V,q,D,E].every(Boolean)&&V.id?j("div",{className:b.appAnnotationFeedItem,children:[w(u,{variant:"body2","data-testid":"".concat("FeedActivityPo_appAnnotation","_message"),children:h(O,F,f)}),G&&j(v,{children:[w("br",{}),n&&n.url?w(g,{appContainerClassName:b.appAnnotationFeedItemApp,appId:r,assetId:V.id,asset:V,app:{app:R(R({},o),{},{settings:P}),package:n},coordinates:{},timestamp:W,time:C,currentUser:k}):w(y,{appContainerClassName:b.appAnnotationFeedItemApp,appId:r,assetId:V.id,asset:s(V),appComponentKey:D,appComponentCategory:q,requiresSubscription:!0,appContext:s(I),assetDashboards:m(),timestamp:W,time:C,onSettingChange:function(){},settings:P,internalSelectors:{isSubDataLoading:B,getSubErrors:K,isSubDataEmpty:M},appRegistry:N,appData:z,subscribeAppForAsset:L,unsubscribeAppFromAsset:U})]}),x&&x.signed_url&&j("div",{className:b.appAnnotationFeedItemAttachment,children:[w(u,{variant:"subtitle1",className:H.attachmentLable,children:"Attachments"}),w(A,{small:!0,attachmentUrl:x.signed_url,fileName:x.file_name,displayName:x.file_name})]})]}):w(u,{variant:"body2",children:"No Data"})};q.propTypes={feedItem:r({id:i([a,o]).isRequired,well:function(t,r,i){return t.well||t.rig?t.well&&"object"!==e(t.well)?new Error("Prop '".concat(r,"' should be an object")):null:new Error("One of props 'well' or 'rig' was not specified in '".concat(i,"'."))},rig:function(t,r,i){return t.well||t.rig?t.rig&&"object"!==e(t.rig)?new Error("Prop '".concat(r,"' should be an object")):null:new Error("One of props 'well' or 'rig' was not specified in '".concat(i,"'."))},context:r({app_annotation:r({body:o,app_category:o.isRequired,app_name:o.isRequired,created_at:o.isRequired,settings:r()}).isRequired}).isRequired}).isRequired,appContext:r().isRequired,currentUser:r().isRequired,appData:r().isRequired,appRegistry:r().isRequired,subscribeAppForAsset:n.isRequired,unsubscribeAppFromAsset:n.isRequired,isSubDataLoading:n.isRequired,getSubErrors:n.isRequired,isSubDataEmpty:n.isRequired,showAppPreview:p};export{q as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js"],"sourcesContent":["import { shape, number, string, oneOfType, func, bool } from 'prop-types';\nimport { Map, List } from 'immutable';\nimport moment from 'moment';\nimport { Typography, makeStyles } from '@material-ui/core';\n\nimport { normalizeAssetForApp } from './helpers';\n\nimport styles from './styles.css';\n\nimport { isNativeDetected } from '~/utils/mobileDetect';\nimport { EmbeddedApp, DevCenterEmbeddedApp } from '~/components/EmbeddedApp';\nimport Attachment from '~/components/Attachment';\nimport { formatMentionText } from '~/components/UserMention/utils';\n\nconst PAGE_NAME = 'FeedActivityPo_appAnnotation';\n\nconst useStyles = makeStyles(theme => ({\n attachmentLable: {\n fontSize: '12px',\n color: theme.palette.primary.text6,\n },\n}));\n\nconst AppAnnotationFeedItem = props => {\n const {\n feedItem: {\n id,\n well,\n rig,\n app,\n package: appPackage,\n company_id: companyId,\n context: {\n app_annotation: {\n body,\n app_category: appCategory,\n app_key: appKey,\n created_at: createdAt,\n settings = {},\n attachment,\n data_timestamp: dataTimestamp,\n },\n },\n mentioned_users: mentionedUsers,\n },\n appContext,\n\n appRegistry,\n subscribeAppForAsset,\n unsubscribeAppFromAsset,\n currentUser,\n appData,\n isSubDataLoading,\n getSubErrors,\n isSubDataEmpty,\n } = props;\n const classes = useStyles();\n\n const isAppFound = !!app;\n const isDevCenterApp = isAppFound && app.platform === 'dev_center';\n const isDevCenterWithoutPackage = isDevCenterApp && !appPackage;\n\n if (!isAppFound || isDevCenterWithoutPackage)\n return <Typography variant=\"body2\">App not found</Typography>;\n\n const asset = normalizeAssetForApp(well || rig, companyId);\n const timestamp = moment(dataTimestamp || createdAt).unix();\n\n const requiredFields = [asset, appCategory, appKey, createdAt];\n\n if (!requiredFields.every(Boolean) || !asset.id)\n return <Typography variant=\"body2\">No Data</Typography>;\n\n return (\n <div className={styles.appAnnotationFeedItem}>\n <Typography variant=\"body2\" data-testid={`${PAGE_NAME}_message`}>\n {formatMentionText(body, mentionedUsers, isNativeDetected)}\n </Typography>\n {props.showAppPreview && (\n <>\n <br />\n {appPackage && appPackage.url ? (\n <DevCenterEmbeddedApp\n appContainerClassName={styles.appAnnotationFeedItemApp}\n appId={id}\n assetId={asset.id}\n asset={asset}\n app={{\n app: { ...app, settings },\n package: appPackage,\n }}\n coordinates={{}}\n timestamp={timestamp}\n time={dataTimestamp}\n currentUser={currentUser}\n />\n ) : (\n <EmbeddedApp\n appContainerClassName={styles.appAnnotationFeedItemApp}\n appId={id}\n assetId={asset.id}\n asset={Map(asset)}\n appComponentKey={appKey}\n appComponentCategory={appCategory}\n requiresSubscription\n appContext={Map(appContext)}\n assetDashboards={List()}\n timestamp={timestamp}\n time={dataTimestamp}\n onSettingChange={() => undefined}\n settings={settings}\n internalSelectors={{\n isSubDataLoading,\n getSubErrors,\n isSubDataEmpty,\n }}\n appRegistry={appRegistry}\n appData={appData}\n subscribeAppForAsset={subscribeAppForAsset}\n unsubscribeAppFromAsset={unsubscribeAppFromAsset}\n />\n )}\n </>\n )}\n {attachment && attachment.signed_url && (\n <div className={styles.appAnnotationFeedItemAttachment}>\n <Typography variant=\"subtitle1\" className={classes.attachmentLable}>\n Attachments\n </Typography>\n <Attachment\n small\n attachmentUrl={attachment.signed_url}\n fileName={attachment.file_name}\n displayName={attachment.file_name}\n />\n </div>\n )}\n </div>\n );\n};\n\nAppAnnotationFeedItem.propTypes = {\n feedItem: shape({\n id: oneOfType([number, string]).isRequired,\n well: (props, propName, componentName) => {\n if (!props.well && !props.rig) {\n return new Error(`One of props 'well' or 'rig' was not specified in '${componentName}'.`);\n }\n if (props.well && typeof props.well !== 'object')\n return new Error(`Prop '${propName}' should be an object`);\n return null;\n },\n rig: (props, propName, componentName) => {\n if (!props.well && !props.rig) {\n return new Error(`One of props 'well' or 'rig' was not specified in '${componentName}'.`);\n }\n if (props.rig && typeof props.rig !== 'object')\n return new Error(`Prop '${propName}' should be an object`);\n return null;\n },\n context: shape({\n app_annotation: shape({\n body: string,\n app_category: string.isRequired,\n app_name: string.isRequired,\n created_at: string.isRequired,\n settings: shape(),\n }).isRequired,\n }).isRequired,\n }).isRequired,\n appContext: shape().isRequired,\n currentUser: shape().isRequired,\n appData: shape().isRequired,\n appRegistry: shape().isRequired,\n subscribeAppForAsset: func.isRequired,\n unsubscribeAppFromAsset: func.isRequired,\n isSubDataLoading: func.isRequired,\n getSubErrors: func.isRequired,\n isSubDataEmpty: func.isRequired,\n showAppPreview: bool,\n};\n\nAppAnnotationFeedItem.defaultProps = {\n showAppPreview: true,\n};\n\nexport default AppAnnotationFeedItem;\n"],"names":["useStyles","makeStyles","theme","attachmentLable","fontSize","color","palette","primary","text6","AppAnnotationFeedItem","props","feedItem","id","well","rig","app","appPackage","package","companyId","company_id","_props$feedItem$conte","context","app_annotation","body","appCategory","app_category","appKey","app_key","createdAt","created_at","_props$feedItem$conte2","settings","attachment","dataTimestamp","data_timestamp","mentionedUsers","mentioned_users","appContext","appRegistry","subscribeAppForAsset","unsubscribeAppFromAsset","currentUser","appData","isSubDataLoading","getSubErrors","isSubDataEmpty","classes","isAppFound","isDevCenterApp","platform","_jsx","Typography","variant","children","asset","normalizeAssetForApp","timestamp","moment","unix","every","Boolean","_jsxs","className","styles","appAnnotationFeedItem","concat","formatMentionText","isNativeDetected","showAppPreview","_Fragment","url","DevCenterEmbeddedApp","appContainerClassName","appAnnotationFeedItemApp","appId","assetId","coordinates","time","EmbeddedApp","Map","appComponentKey","appComponentCategory","requiresSubscription","assetDashboards","List","onSettingChange","internalSelectors","signed_url","appAnnotationFeedItemAttachment","Attachment","small","attachmentUrl","fileName","file_name","displayName","propTypes","shape","oneOfType","number","string","is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I2F,MAAK,SAAAvC,OAAUoC,EAAgC,0BACrD,KAJE,IAAIG,MAA4DF,sDAAAA,OAAAA,EAAkB,MAK5F,EACDxF,IAAK,SAACJ,EAAO2F,EAAUC,GACrB,OAAK5F,EAAMG,MAASH,EAAMI,IAGtBJ,EAAMI,KAA4B,WAArByF,EAAO7F,EAAMI,KACrB,IAAI0F,MAAK,SAAAvC,OAAUoC,EAAgC,0BACrD,KAJE,IAAIG,MAA4DF,sDAAAA,OAAAA,EAAkB,MAK5F,EACDjF,QAAS2E,EAAM,CACb1E,eAAgB0E,EAAM,CACpBzE,KAAM4E,EACN1E,aAAc0E,EAAOC,WACrBK,SAAUN,EAAOC,WACjBvE,WAAYsE,EAAOC,WACnBrE,SAAUiE,MACTI,aACFA,aACFA,WACH/D,WAAY2D,IAAQI,WACpB3D,YAAauD,IAAQI,WACrB1D,QAASsD,IAAQI,WACjB9D,YAAa0D,IAAQI,WACrB7D,qBAAsBmE,EAAKN,WAC3B5D,wBAAyBkE,EAAKN,WAC9BzD,iBAAkB+D,EAAKN,WACvBxD,aAAc8D,EAAKN,WACnBvD,eAAgB6D,EAAKN,WACrBhC,eAAgBuC,GAGlBlG,EAAsBmG,aAAe,CACnCxC,gBAAgB"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js"],"sourcesContent":["import { shape, number, string, oneOfType, func, bool } from 'prop-types';\nimport { Map, List } from 'immutable';\nimport moment from 'moment';\nimport { Typography, makeStyles } from '@material-ui/core';\n\nimport { normalizeAssetForApp } from './helpers';\n\nimport styles from './styles.css';\n\nimport { isNativeDetected } from '~/utils/mobileDetect';\nimport { EmbeddedApp, DevCenterEmbeddedApp } from '~/components/EmbeddedApp';\nimport Attachment from '~/components/Attachment';\nimport { formatMentionText } from '~/components/UserMention/utils';\n\nconst PAGE_NAME = 'FeedActivityPo_appAnnotation';\n\nconst useStyles = makeStyles(theme => ({\n attachmentLable: {\n fontSize: '12px',\n color: theme.palette.primary.text6,\n },\n}));\n\nconst AppAnnotationFeedItem = props => {\n const {\n feedItem: {\n id,\n well,\n rig,\n app,\n package: appPackage,\n company_id: companyId,\n context: {\n app_annotation: {\n body,\n app_category: appCategory,\n app_key: appKey,\n created_at: createdAt,\n settings = {},\n attachment,\n data_timestamp: dataTimestamp,\n },\n },\n mentioned_users: mentionedUsers,\n },\n appContext,\n\n appRegistry,\n subscribeAppForAsset,\n unsubscribeAppFromAsset,\n currentUser,\n appData,\n isSubDataLoading,\n getSubErrors,\n isSubDataEmpty,\n showAppPreview = true,\n } = props;\n const classes = useStyles();\n\n const isAppFound = !!app;\n const isDevCenterApp = isAppFound && app.platform === 'dev_center';\n const isDevCenterWithoutPackage = isDevCenterApp && !appPackage;\n\n if (!isAppFound || isDevCenterWithoutPackage)\n return <Typography variant=\"body2\">App not found</Typography>;\n\n const asset = normalizeAssetForApp(well || rig, companyId);\n const timestamp = moment(dataTimestamp || createdAt).unix();\n\n const requiredFields = [asset, appCategory, appKey, createdAt];\n\n if (!requiredFields.every(Boolean) || !asset.id)\n return <Typography variant=\"body2\">No Data</Typography>;\n\n return (\n <div className={styles.appAnnotationFeedItem}>\n <Typography variant=\"body2\" data-testid={`${PAGE_NAME}_message`}>\n {formatMentionText(body, mentionedUsers, isNativeDetected)}\n </Typography>\n {showAppPreview && (\n <>\n <br />\n {appPackage && appPackage.url ? (\n <DevCenterEmbeddedApp\n appContainerClassName={styles.appAnnotationFeedItemApp}\n appId={id}\n assetId={asset.id}\n asset={asset}\n app={{\n app: { ...app, settings },\n package: appPackage,\n }}\n coordinates={{}}\n timestamp={timestamp}\n time={dataTimestamp}\n currentUser={currentUser}\n />\n ) : (\n <EmbeddedApp\n appContainerClassName={styles.appAnnotationFeedItemApp}\n appId={id}\n assetId={asset.id}\n asset={Map(asset)}\n appComponentKey={appKey}\n appComponentCategory={appCategory}\n requiresSubscription\n appContext={Map(appContext)}\n assetDashboards={List()}\n timestamp={timestamp}\n time={dataTimestamp}\n onSettingChange={() => undefined}\n settings={settings}\n internalSelectors={{\n isSubDataLoading,\n getSubErrors,\n isSubDataEmpty,\n }}\n appRegistry={appRegistry}\n appData={appData}\n subscribeAppForAsset={subscribeAppForAsset}\n unsubscribeAppFromAsset={unsubscribeAppFromAsset}\n />\n )}\n </>\n )}\n {attachment && attachment.signed_url && (\n <div className={styles.appAnnotationFeedItemAttachment}>\n <Typography variant=\"subtitle1\" className={classes.attachmentLable}>\n Attachments\n </Typography>\n <Attachment\n small\n attachmentUrl={attachment.signed_url}\n fileName={attachment.file_name}\n displayName={attachment.file_name}\n />\n </div>\n )}\n </div>\n );\n};\n\nAppAnnotationFeedItem.propTypes = {\n feedItem: shape({\n id: oneOfType([number, string]).isRequired,\n well: (props, propName, componentName) => {\n if (!props.well && !props.rig) {\n return new Error(`One of props 'well' or 'rig' was not specified in '${componentName}'.`);\n }\n if (props.well && typeof props.well !== 'object')\n return new Error(`Prop '${propName}' should be an object`);\n return null;\n },\n rig: (props, propName, componentName) => {\n if (!props.well && !props.rig) {\n return new Error(`One of props 'well' or 'rig' was not specified in '${componentName}'.`);\n }\n if (props.rig && typeof props.rig !== 'object')\n return new Error(`Prop '${propName}' should be an object`);\n return null;\n },\n context: shape({\n app_annotation: shape({\n body: string,\n app_category: string.isRequired,\n app_name: string.isRequired,\n created_at: string.isRequired,\n settings: shape(),\n }).isRequired,\n }).isRequired,\n }).isRequired,\n appContext: shape().isRequired,\n currentUser: shape().isRequired,\n appData: shape().isRequired,\n appRegistry: shape().isRequired,\n subscribeAppForAsset: func.isRequired,\n unsubscribeAppFromAsset: func.isRequired,\n isSubDataLoading: func.isRequired,\n getSubErrors: func.isRequired,\n isSubDataEmpty: func.isRequired,\n showAppPreview: bool,\n};\n\nexport default AppAnnotationFeedItem;\n"],"names":["useStyles","makeStyles","theme","attachmentLable","fontSize","color","palette","primary","text6","AppAnnotationFeedItem","props","feedItem","id","well","rig","app","appPackage","package","companyId","company_id","_props$feedItem$conte","context","app_annotation","body","appCategory","app_category","appKey","app_key","createdAt","created_at","_props$feedItem$conte2","settings","attachment","dataTimestamp","data_timestamp","mentionedUsers","mentioned_users","appContext","appRegistry","subscribeAppForAsset","unsubscribeAppFromAsset","currentUser","appData","isSubDataLoading","getSubErrors","isSubDataEmpty","_props$showAppPreview","showAppPreview","classes","isAppFound","isDevCenterApp","platform","_jsx","Typography","variant","children","asset","normalizeAssetForApp","timestamp","moment","unix","every","Boolean","_jsxs","className","styles","appAnnotationFeedItem","concat","formatMentionText","isNativeDetected","_Fragment","url","DevCenterEmbeddedApp","appContainerClassName","appAnnotationFeedItemApp","appId","assetId","coordinates","time","EmbeddedApp","Map","appComponentKey","appComponentCategory","requiresSubscription","assetDashboards","List","onSettingChange","internalSelectors","signed_url","appAnnotationFeedItemAttachment","Attachment","small","attachmentUrl","fileName","file_name","displayName","propTypes","shape","oneOfType","number","string","isRequired","propName","componentName","_typeof","Error","app_name","func","bool"],"mappings":"yzCAcA,IAEMA,EAAYC,GAAW,SAAAC,GAAK,MAAK,CACrCC,gBAAiB,CACfC,SAAU,OACVC,MAAOH,EAAMI,QAAQC,QAAQC,OAEhC,IAEKC,EAAwB,SAAAC,GAC5B,IAgCIA,EAAAA,EA/BFC,SACEC,IAAAA,GACAC,IAAAA,KACAC,IAAAA,IACAC,IAAAA,IACSC,IAATC,QACYC,IAAZC,WAAUC,EACVC,EAAAA,QACEC,eACEC,IAAAA,KACcC,IAAdC,aACSC,IAATC,QACYC,IAAZC,WAAUC,EAAAV,EACVW,SAAAA,OAAQ,IAAAD,EAAG,CAAE,EAAAA,EACbE,IAAAA,WACgBC,IAAhBC,eAGaC,IAAjBC,gBAEFC,EAWE3B,EAXF2B,WAEAC,EASE5B,EATF4B,YACAC,EAQE7B,EARF6B,qBACAC,EAOE9B,EAPF8B,wBACAC,EAME/B,EANF+B,YACAC,EAKEhC,EALFgC,QACAC,EAIEjC,EAJFiC,iBACAC,EAGElC,EAHFkC,aACAC,EAEEnC,EAFFm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ACvBzD,aAAc+D,EAAKN,WACnBxD,eAAgB8D,EAAKN,WACrBtD,eAAgB6D"}
|
package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare function AccuracyPlan({ timestamp, initialPlanName, cumulativeTvdChange, accuracyData }: {
|
|
1
|
+
declare function AccuracyPlan({ timestamp, initialPlanName, cumulativeTvdChange, accuracyData, }: {
|
|
2
2
|
accuracyData: any;
|
|
3
|
-
cumulativeTvdChange
|
|
4
|
-
initialPlanName
|
|
5
|
-
timestamp
|
|
3
|
+
cumulativeTvdChange?: string | undefined;
|
|
4
|
+
initialPlanName?: string | undefined;
|
|
5
|
+
timestamp?: null | undefined;
|
|
6
6
|
}): import("react").JSX.Element;
|
|
7
7
|
declare namespace AccuracyPlan {
|
|
8
8
|
var propTypes: {
|
|
@@ -11,11 +11,6 @@ declare namespace AccuracyPlan {
|
|
|
11
11
|
cumulativeTvdChange: import("prop-types").Requireable<string>;
|
|
12
12
|
accuracyData: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<import("prop-types").ValidationMap<any>>>>;
|
|
13
13
|
};
|
|
14
|
-
var defaultProps: {
|
|
15
|
-
timestamp: null;
|
|
16
|
-
initialPlanName: string;
|
|
17
|
-
cumulativeTvdChange: string;
|
|
18
|
-
};
|
|
19
14
|
}
|
|
20
15
|
export default AccuracyPlan;
|
|
21
16
|
//# sourceMappingURL=AccuracyPlan.d.ts.map
|
package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccuracyPlan.d.ts","sourceRoot":"","sources":["../../../../../../src/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js"],"names":[],"mappings":"8BA2BsB,
|
|
1
|
+
{"version":3,"file":"AccuracyPlan.d.ts","sourceRoot":"","sources":["../../../../../../src/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js"],"names":[],"mappings":"8BA2BsB,EACpB,SAAgB,EAChB,eAAoB,EACpB,mBAAwB,EACxB,YAAY,GACb;;;;;CAAA;;;;;;;;;eAkCc,YAAY"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{number as a,string as e,shape as t}from"prop-types";import i from"moment";import{makeStyles as
|
|
1
|
+
import{number as a,string as e,shape as t}from"prop-types";import i from"moment";import{makeStyles as r,Typography as n}from"@material-ui/core";import{convertValue as l,getUnitDisplay as c}from"../../../../../utils/convert.js";import{purifyPlanName as o,getColorBySeverity as m}from"../../../../../utils/accuracy.js";import{jsxs as p,jsx as s}from"react/jsx-runtime";var u=r((function(a){return{wrapper:{display:"flex",flexDirection:"column",margin:"0 20px 10px 0",minWidth:"290px"},planValueWrapper:{display:"flex",alignItems:"baseline"},planUnit:{color:a.palette.grey[400],marginLeft:5},planText:{color:a.palette.grey[400]}}})),d=function(a){var e,t=a.timestamp,r=void 0===t?null:t,d=a.initialPlanName,v=void 0===d?"":d,f=a.cumulativeTvdChange,h=void 0===f?"":f,y=a.accuracyData,x=u(),g=r?i.unix(r).format("MM/DD/YY"):"",D=o(v);return h&&(D="".concat(D,", ").concat(h," ft cumulative TVD change")),p("div",{className:"c-survey-station-feed-item__accuracy-plan",children:[s(n,{variant:"subtitle1",children:"Minimum Distance to Plan:"}),p("div",{className:x.planValueWrapper,children:[s(n,{variant:"h5",style:{color:m(y)},children:parseFloat(null===(e=l(null==y?void 0:y.distance_to_plan,"length","ft"))||void 0===e?void 0:e.toFixed(1))}),p(n,{variant:"caption",className:x.planUnit,children:["(",c("length"),")"]})]}),s(n,{variant:"body1",className:x.planText,children:D||g})]})};d.propTypes={timestamp:a,initialPlanName:e,cumulativeTvdChange:e,accuracyData:t().isRequired};export{d as default};
|
|
2
2
|
//# sourceMappingURL=AccuracyPlan.js.map
|
package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccuracyPlan.js","sources":["../../../../../../src/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js"],"sourcesContent":["import { shape, string, number } from 'prop-types';\nimport moment from 'moment';\nimport { Typography, makeStyles } from '@material-ui/core';\n\nimport { convertValue, getUnitDisplay } from '~/utils/convert';\nimport { purifyPlanName, getColorBySeverity } from '~/utils/accuracy';\n\nconst useStyles = makeStyles(theme => ({\n wrapper: {\n display: 'flex',\n flexDirection: 'column',\n margin: '0 20px 10px 0',\n minWidth: '290px',\n },\n planValueWrapper: {\n display: 'flex',\n alignItems: 'baseline',\n },\n planUnit: {\n color: theme.palette.grey[400],\n marginLeft: 5,\n },\n planText: {\n color: theme.palette.grey[400],\n },\n}));\n\nconst AccuracyPlan = ({
|
|
1
|
+
{"version":3,"file":"AccuracyPlan.js","sources":["../../../../../../src/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/AccuracyPlan.js"],"sourcesContent":["import { shape, string, number } from 'prop-types';\nimport moment from 'moment';\nimport { Typography, makeStyles } from '@material-ui/core';\n\nimport { convertValue, getUnitDisplay } from '~/utils/convert';\nimport { purifyPlanName, getColorBySeverity } from '~/utils/accuracy';\n\nconst useStyles = makeStyles(theme => ({\n wrapper: {\n display: 'flex',\n flexDirection: 'column',\n margin: '0 20px 10px 0',\n minWidth: '290px',\n },\n planValueWrapper: {\n display: 'flex',\n alignItems: 'baseline',\n },\n planUnit: {\n color: theme.palette.grey[400],\n marginLeft: 5,\n },\n planText: {\n color: theme.palette.grey[400],\n },\n}));\n\nconst AccuracyPlan = ({\n timestamp = null,\n initialPlanName = '',\n cumulativeTvdChange = '',\n accuracyData,\n}) => {\n const classes = useStyles();\n const dateString = timestamp ? moment.unix(timestamp).format('MM/DD/YY') : '';\n\n let planName = purifyPlanName(initialPlanName);\n if (cumulativeTvdChange) {\n planName = `${planName}, ${cumulativeTvdChange} ft cumulative TVD change`;\n }\n\n return (\n <div className=\"c-survey-station-feed-item__accuracy-plan\">\n <Typography variant=\"subtitle1\">Minimum Distance to Plan:</Typography>\n <div className={classes.planValueWrapper}>\n <Typography variant=\"h5\" style={{ color: getColorBySeverity(accuracyData) }}>\n {parseFloat(convertValue(accuracyData?.distance_to_plan, 'length', 'ft')?.toFixed(1))}\n </Typography>\n <Typography variant=\"caption\" className={classes.planUnit}>\n ({getUnitDisplay('length')})\n </Typography>\n </div>\n <Typography variant=\"body1\" className={classes.planText}>\n {planName || dateString}\n </Typography>\n </div>\n );\n};\n\nAccuracyPlan.propTypes = {\n timestamp: number,\n initialPlanName: string,\n cumulativeTvdChange: string,\n accuracyData: shape().isRequired,\n};\n\nexport default AccuracyPlan;\n"],"names":["useStyles","makeStyles","theme","wrapper","display","flexDirection","margin","minWidth","planValueWrapper","alignItems","planUnit","color","palette","grey","marginLeft","planText","AccuracyPlan","_ref","_convertValue","_ref$timestamp","timestamp","_ref$initialPlanName","initialPlanName","_ref$cumulativeTvdCha","cumulativeTvdChange","accuracyData","classes","dateString","moment","unix","format","planName","purifyPlanName","_jsxs","className","children","_jsx","Typography","variant","style","getColorBySeverity","parseFloat","convertValue","distance_to_plan","toFixed","getUnitDisplay","propTypes","number","string","shape","isRequired"],"mappings":"+WAOA,IAAMA,EAAYC,GAAW,SAAAC,GAAK,MAAK,CACrCC,QAAS,CACPC,QAAS,OACTC,cAAe,SACfC,OAAQ,gBACRC,SAAU,SAEZC,iBAAkB,CAChBJ,QAAS,OACTK,WAAY,YAEdC,SAAU,CACRC,MAAOT,EAAMU,QAAQC,KAAK,KAC1BC,WAAY,GAEdC,SAAU,CACRJ,MAAOT,EAAMU,QAAQC,KAAK,MAE7B,IAEKG,EAAe,SAKfC,GAAA,IAAAC,EAAAC,EAAAF,EAJJG,UAAAA,aAAY,KAAID,EAAAE,EAAAJ,EAChBK,gBAAAA,aAAkB,GAAED,EAAAE,EAAAN,EACpBO,oBAAAA,aAAsB,GAAED,EACxBE,IAAAA,aAEMC,EAAU1B,IACV2B,EAAaP,EAAYQ,EAAOC,KAAKT,GAAWU,OAAO,YAAc,GAEvEC,EAAWC,EAAeV,GAK9B,OAJIE,IACFO,EAAcA,GAAAA,OAAAA,EAAaP,MAAAA,OAAAA,EAA8C,8BAIzES,EAAA,MAAA,CAAKC,UAAU,4CAA2CC,SAAA,CACxDC,EAACC,EAAU,CAACC,QAAQ,YAAWH,SAAA,8BAC/BF,EAAA,MAAA,CAAKC,UAAWR,EAAQlB,iBAAiB2B,SAAA,CACvCC,EAACC,EAAU,CAACC,QAAQ,KAAKC,MAAO,CAAE5B,MAAO6B,EAAmBf,IAAgBU,SACzEM,qBAAWC,EAAajB,eAAAA,EAAckB,iBAAkB,SAAU,0BAAvDzB,EAA8D0B,QAAQ,MAEpFX,EAACI,EAAU,CAACC,QAAQ,UAAUJ,UAAWR,EAAQhB,SAASyB,SACtDU,CAAAA,IAAAA,EAAe,UAAS,UAG9BT,EAACC,EAAU,CAACC,QAAQ,QAAQJ,UAAWR,EAAQX,SAASoB,SACrDJ,GAAYJ,MAIrB,EAEAX,EAAa8B,UAAY,CACvB1B,UAAW2B,EACXzB,gBAAiB0B,EACjBxB,oBAAqBwB,EACrBvB,aAAcwB,IAAQC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare function TargetChanges({ targetChanges }: {
|
|
2
|
-
targetChanges
|
|
2
|
+
targetChanges?: {} | undefined;
|
|
3
3
|
}): import("react").JSX.Element;
|
|
4
4
|
declare namespace TargetChanges {
|
|
5
5
|
var propTypes: {
|
|
@@ -9,9 +9,6 @@ declare namespace TargetChanges {
|
|
|
9
9
|
tvd_change: import("prop-types").Requireable<number>;
|
|
10
10
|
}>>;
|
|
11
11
|
};
|
|
12
|
-
var defaultProps: {
|
|
13
|
-
targetChanges: {};
|
|
14
|
-
};
|
|
15
12
|
}
|
|
16
13
|
export default TargetChanges;
|
|
17
14
|
//# sourceMappingURL=TargetChanges.d.ts.map
|
package/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TargetChanges.d.ts","sourceRoot":"","sources":["../../../../../../src/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js"],"names":[],"mappings":"+BAkBuB,EAAE,
|
|
1
|
+
{"version":3,"file":"TargetChanges.d.ts","sourceRoot":"","sources":["../../../../../../src/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js"],"names":[],"mappings":"+BAkBuB,EAAE,aAAqD,EAAE;;CAAA;;;;;;;;;;eA2CjE,aAAa"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{shape as a,number as e}from"prop-types";import{makeStyles as t,Typography as r}from"@material-ui/core";import{getUnitDisplay as n}from"../../../../../utils/convert.js";import{jsxs as c,jsx as i}from"react/jsx-runtime";var l=t((function(a){return{wrapper:{display:"flex"},targetLabel:{color:a.palette.grey[400],marginRight:10},targetValue:{marginRight:15}}})),o=function(a){var e=a.targetChanges,t=l();return c("div",{children:[i(r,{variant:"body2",gutterBottom:!0,children:"Target Changes:"}),c("div",{className:
|
|
1
|
+
import{shape as a,number as e}from"prop-types";import{makeStyles as t,Typography as r}from"@material-ui/core";import{getUnitDisplay as n}from"../../../../../utils/convert.js";import{jsxs as c,jsx as i}from"react/jsx-runtime";var l=t((function(a){return{wrapper:{display:"flex"},targetLabel:{color:a.palette.grey[400],marginRight:10},targetValue:{marginRight:15}}})),o=function(a){var e=a.targetChanges,t=void 0===e?s:e,o=l();return c("div",{children:[i(r,{variant:"body2",gutterBottom:!0,children:"Target Changes:"}),c("div",{className:o.wrapper,children:[i(r,{variant:"body2",className:o.targetLabel,children:"MD:"}),i(r,{variant:"body2",className:o.targetValue,children:"".concat(t.measured_depth||0," (").concat(n("length"),")")}),i(r,{variant:"body2",className:o.targetLabel,children:"Vertical Section:"}),i(r,{variant:"body2",className:o.targetValue,children:"".concat(t.vertical_section||0," (").concat(n("length"),")")}),i(r,{variant:"body2",className:o.targetLabel,children:"TVD Change:"}),i(r,{variant:"body2",className:o.targetValue,children:"".concat(t.tvd_change||0," (").concat(n("length"),")")})]})]})};o.propTypes={targetChanges:a({measured_depth:e,vertical_section:e,tvd_change:e})};var s={};export{o as default};
|
|
2
2
|
//# sourceMappingURL=TargetChanges.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TargetChanges.js","sources":["../../../../../../src/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js"],"sourcesContent":["import { shape, number } from 'prop-types';\nimport { Typography, makeStyles } from '@material-ui/core';\n\nimport { getUnitDisplay } from '~/utils/convert';\n\nconst useStyles = makeStyles(theme => ({\n wrapper: {\n display: 'flex',\n },\n targetLabel: {\n color: theme.palette.grey[400],\n marginRight: 10,\n },\n targetValue: {\n marginRight: 15,\n },\n}));\n\nconst TargetChanges = ({ targetChanges }) => {\n const classes = useStyles();\n return (\n <div>\n <Typography variant=\"body2\" gutterBottom>\n Target Changes:\n </Typography>\n <div className={classes.wrapper}>\n <Typography variant=\"body2\" className={classes.targetLabel}>\n MD:\n </Typography>\n <Typography variant=\"body2\" className={classes.targetValue}>\n {`${targetChanges.measured_depth || 0} (${getUnitDisplay('length')})`}\n </Typography>\n\n <Typography variant=\"body2\" className={classes.targetLabel}>\n Vertical Section:\n </Typography>\n <Typography variant=\"body2\" className={classes.targetValue}>\n {`${targetChanges.vertical_section || 0} (${getUnitDisplay('length')})`}\n </Typography>\n\n <Typography variant=\"body2\" className={classes.targetLabel}>\n TVD Change:\n </Typography>\n <Typography variant=\"body2\" className={classes.targetValue}>\n {`${targetChanges.tvd_change || 0} (${getUnitDisplay('length')})`}\n </Typography>\n </div>\n </div>\n );\n};\n\nTargetChanges.propTypes = {\n targetChanges: shape({\n measured_depth: number,\n vertical_section: number,\n tvd_change: number,\n }),\n};\n\
|
|
1
|
+
{"version":3,"file":"TargetChanges.js","sources":["../../../../../../src/components/FeedItem/feedItemTypes/WellPlanFeedItem/components/TargetChanges.js"],"sourcesContent":["import { shape, number } from 'prop-types';\nimport { Typography, makeStyles } from '@material-ui/core';\n\nimport { getUnitDisplay } from '~/utils/convert';\n\nconst useStyles = makeStyles(theme => ({\n wrapper: {\n display: 'flex',\n },\n targetLabel: {\n color: theme.palette.grey[400],\n marginRight: 10,\n },\n targetValue: {\n marginRight: 15,\n },\n}));\n\nconst TargetChanges = ({ targetChanges = DEFAULT_TARGET_CHANGES_TARGET_CHANGES }) => {\n const classes = useStyles();\n return (\n <div>\n <Typography variant=\"body2\" gutterBottom>\n Target Changes:\n </Typography>\n <div className={classes.wrapper}>\n <Typography variant=\"body2\" className={classes.targetLabel}>\n MD:\n </Typography>\n <Typography variant=\"body2\" className={classes.targetValue}>\n {`${targetChanges.measured_depth || 0} (${getUnitDisplay('length')})`}\n </Typography>\n\n <Typography variant=\"body2\" className={classes.targetLabel}>\n Vertical Section:\n </Typography>\n <Typography variant=\"body2\" className={classes.targetValue}>\n {`${targetChanges.vertical_section || 0} (${getUnitDisplay('length')})`}\n </Typography>\n\n <Typography variant=\"body2\" className={classes.targetLabel}>\n TVD Change:\n </Typography>\n <Typography variant=\"body2\" className={classes.targetValue}>\n {`${targetChanges.tvd_change || 0} (${getUnitDisplay('length')})`}\n </Typography>\n </div>\n </div>\n );\n};\n\nTargetChanges.propTypes = {\n targetChanges: shape({\n measured_depth: number,\n vertical_section: number,\n tvd_change: number,\n }),\n};\n\nconst DEFAULT_TARGET_CHANGES_TARGET_CHANGES = {};\n\nexport default TargetChanges;\n"],"names":["useStyles","makeStyles","theme","wrapper","display","targetLabel","color","palette","grey","marginRight","targetValue","TargetChanges","_ref","_ref$targetChanges","targetChanges","DEFAULT_TARGET_CHANGES_TARGET_CHANGES","classes","_jsxs","children","_jsx","Typography","variant","gutterBottom","className","measured_depth","getUnitDisplay","vertical_section","tvd_change","propTypes","shape","number"],"mappings":"iOAKA,IAAMA,EAAYC,GAAW,SAAAC,G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Name: any;
|
|
5
|
-
size
|
|
5
|
+
size?: number | undefined;
|
|
6
6
|
}): import("react").JSX.Element;
|
|
7
7
|
declare namespace FileTypeIcon {
|
|
8
8
|
var propTypes: {
|
|
@@ -10,10 +10,6 @@ declare namespace FileTypeIcon {
|
|
|
10
10
|
size: PropTypes.Requireable<number>;
|
|
11
11
|
className: PropTypes.Requireable<string>;
|
|
12
12
|
};
|
|
13
|
-
var defaultProps: {
|
|
14
|
-
size: number;
|
|
15
|
-
className: undefined;
|
|
16
|
-
};
|
|
17
13
|
}
|
|
18
14
|
export default FileTypeIcon;
|
|
19
15
|
//# sourceMappingURL=FileTypeIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileTypeIcon.d.ts","sourceRoot":"","sources":["../../src/components/FileTypeIcon.js"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;8BAuBb,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"FileTypeIcon.d.ts","sourceRoot":"","sources":["../../src/components/FileTypeIcon.js"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;8BAuBb,EAAE,QAAQ,EAAE,IAAS,EAAE,SAAS,EAAE;;;;CAAA;;;;;;;;eAwCzC,YAAY"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"prop-types";import i from"image-extensions";import{getFileExtension as a}from"../utils/fileExtension.js";import{jsx as s}from"react/jsx-runtime";var d={image:i,doc:["doc","docx"],xls:["xls","xlsx"],pdf:["pdf"],archive:["zip","rar","7z","tar"]},c={fileTypeWrapper:{display:"inline-block",verticalAlign:"top"}},t=function(e){var i,t=e.fileName,r=e.size,l=e.className,
|
|
1
|
+
import e from"prop-types";import i from"image-extensions";import{getFileExtension as a}from"../utils/fileExtension.js";import{jsx as s}from"react/jsx-runtime";var d={image:i,doc:["doc","docx"],xls:["xls","xlsx"],pdf:["pdf"],archive:["zip","rar","7z","tar"]},c={fileTypeWrapper:{display:"inline-block",verticalAlign:"top"}},t=function(e){var i,t=e.fileName,r=e.size,l=void 0===r?50:r,f=e.className,m=a(t);return i=d.image.includes(m)?"/static/media/ce0806d7fe0a5fdedde889e58929cd3a.svg":d.doc.includes(m)?"/static/media/ffd922ae8116b456a7f24dcf118f36b4.svg":d.xls.includes(m)?"/static/media/b88b9008a93dabe2d431b22e76e3017a.svg":d.pdf.includes(m)?"/static/media/af268ec48d747e3147d5acb95bc1b599.svg":d.archive.includes(m)?"/static/media/e26a8e73ce2b62ee8bd6b8eddf286b49.svg":"/static/media/0ea849622ec24faa453981edfd1862e6.svg",s("div",{style:c.fileTypeWrapper,className:f,children:s("img",{src:i,alt:"File icon",style:{display:"block",height:l,width:l}})})};t.propTypes={fileName:e.string.isRequired,size:e.number,className:e.string};export{t as default};
|
|
2
2
|
//# sourceMappingURL=FileTypeIcon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileTypeIcon.js","sources":["../../src/components/FileTypeIcon.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport imageExtensions from 'image-extensions';\n\nimport { getFileExtension } from '~/utils/fileExtension';\nimport ImageIcon from '~/assets/file-type-icons/image.svg';\nimport DocIcon from '~/assets/file-type-icons/doc.svg';\nimport XlsIcon from '~/assets/file-type-icons/xls.svg';\nimport PdfIcon from '~/assets/file-type-icons/pdf.svg';\nimport OtherIcon from '~/assets/file-type-icons/other.svg';\nimport ArchiveIcon from '~/assets/file-type-icons/archive.svg';\n\nconst fileExtensions = {\n image: imageExtensions,\n doc: ['doc', 'docx'],\n xls: ['xls', 'xlsx'],\n pdf: ['pdf'],\n archive: ['zip', 'rar', '7z', 'tar'],\n};\n\nconst styles = {\n fileTypeWrapper: { display: 'inline-block', verticalAlign: 'top' },\n};\n\nconst FileTypeIcon = ({ fileName, size, className }) => {\n const extension = getFileExtension(fileName);\n\n let fileTypeIcon;\n\n if (fileExtensions.image.includes(extension)) {\n fileTypeIcon = ImageIcon;\n } else if (fileExtensions.doc.includes(extension)) {\n fileTypeIcon = DocIcon;\n } else if (fileExtensions.xls.includes(extension)) {\n fileTypeIcon = XlsIcon;\n } else if (fileExtensions.pdf.includes(extension)) {\n fileTypeIcon = PdfIcon;\n } else if (fileExtensions.archive.includes(extension)) {\n fileTypeIcon = ArchiveIcon;\n } else {\n fileTypeIcon = OtherIcon;\n }\n\n return (\n <div style={styles.fileTypeWrapper} className={className}>\n <img\n src={fileTypeIcon}\n alt=\"File icon\"\n style={{\n display: 'block',\n height: size,\n width: size,\n }}\n />\n </div>\n );\n};\n\nFileTypeIcon.propTypes = {\n fileName: PropTypes.string.isRequired,\n size: PropTypes.number,\n className: PropTypes.string,\n};\n\
|
|
1
|
+
{"version":3,"file":"FileTypeIcon.js","sources":["../../src/components/FileTypeIcon.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport imageExtensions from 'image-extensions';\n\nimport { getFileExtension } from '~/utils/fileExtension';\nimport ImageIcon from '~/assets/file-type-icons/image.svg';\nimport DocIcon from '~/assets/file-type-icons/doc.svg';\nimport XlsIcon from '~/assets/file-type-icons/xls.svg';\nimport PdfIcon from '~/assets/file-type-icons/pdf.svg';\nimport OtherIcon from '~/assets/file-type-icons/other.svg';\nimport ArchiveIcon from '~/assets/file-type-icons/archive.svg';\n\nconst fileExtensions = {\n image: imageExtensions,\n doc: ['doc', 'docx'],\n xls: ['xls', 'xlsx'],\n pdf: ['pdf'],\n archive: ['zip', 'rar', '7z', 'tar'],\n};\n\nconst styles = {\n fileTypeWrapper: { display: 'inline-block', verticalAlign: 'top' },\n};\n\nconst FileTypeIcon = ({ fileName, size = 50, className }) => {\n const extension = getFileExtension(fileName);\n\n let fileTypeIcon;\n\n if (fileExtensions.image.includes(extension)) {\n fileTypeIcon = ImageIcon;\n } else if (fileExtensions.doc.includes(extension)) {\n fileTypeIcon = DocIcon;\n } else if (fileExtensions.xls.includes(extension)) {\n fileTypeIcon = XlsIcon;\n } else if (fileExtensions.pdf.includes(extension)) {\n fileTypeIcon = PdfIcon;\n } else if (fileExtensions.archive.includes(extension)) {\n fileTypeIcon = ArchiveIcon;\n } else {\n fileTypeIcon = OtherIcon;\n }\n\n return (\n <div style={styles.fileTypeWrapper} className={className}>\n <img\n src={fileTypeIcon}\n alt=\"File icon\"\n style={{\n display: 'block',\n height: size,\n width: size,\n }}\n />\n </div>\n );\n};\n\nFileTypeIcon.propTypes = {\n fileName: PropTypes.string.isRequired,\n size: PropTypes.number,\n className: PropTypes.string,\n};\n\nexport default FileTypeIcon;\n"],"names":["fileExtensions","image","imageExtensions","doc","xls","pdf","archive","styles","fileTypeWrapper","display","verticalAlign","FileTypeIcon","_ref","fileTypeIcon","fileName","_ref$size","size","className","extension","getFileExtension","includes","_jsx","style","children","src","alt","height","width","propTypes","PropTypes","string","isRequired","number"],"mappings":"+JAGyD,IAQnDA,EAAiB,CACrBC,MAAOC,EACPC,IAAK,CAAC,MAAO,QACbC,IAAK,CAAC,MAAO,QACbC,IAAK,CAAC,OACNC,QAAS,CAAC,MAAO,MAAO,KAAM,QAG1BC,EAAS,CACbC,gBAAiB,CAAEC,QAAS,eAAgBC,cAAe,QAGvDC,EAAe,SAAwCC,GAAA,IAGvDC,EAHkBC,IAAAA,SAAQC,EAAAH,EAAEI,KAAAA,aAAO,GAAED,EAAEE,IAAAA,UACrCC,EAAYC,EAAiBL,GAkBnC,OAbED,EADEb,EAAeC,MAAMmB,SAASF,GAzBqB,qDA2B5ClB,EAAeG,IAAIiB,SAASF,GA3BgB,qDA6B5ClB,EAAeI,IAAIgB,SAASF,GA7BgB,qDA+B5ClB,EAAeK,IAAIe,SAASF,GA/BgB,qDAiC5ClB,EAAeM,QAAQc,SAASF,GAjCY,qDAAA,qDAwCrDG,EAAA,MAAA,CAAKC,MAAOf,EAAOC,gBAAiBS,UAAWA,EAAUM,SACvDF,EAAA,MAAA,CACEG,IAAKX,EACLY,IAAI,YACJH,MAAO,CACLb,QAAS,QACTiB,OAAQV,EACRW,MAAOX,MAKjB,EAEAL,EAAaiB,UAAY,CACvBd,SAAUe,EAAUC,OAAOC,WAC3Bf,KAAMa,EAAUG,OAChBf,UAAWY,EAAUC"}
|
|
@@ -7,22 +7,6 @@ interface FilesLoaderProps extends PropTypes.InferProps<typeof filesLoaderPropTy
|
|
|
7
7
|
declare function FilesLoader({ size, unit, name, customUnitName, sizeBytes, handleCancel, onReload, onDelete, loadedBytes, error, errorText, formatError, importButtonType, isLoadingAnimation, showActions, }: FilesLoaderProps): JSX.Element;
|
|
8
8
|
declare namespace FilesLoader {
|
|
9
9
|
export { filesLoaderPropTypes as propTypes };
|
|
10
|
-
export var defaultProps: {
|
|
11
|
-
size: string;
|
|
12
|
-
unit: string;
|
|
13
|
-
onDelete: null;
|
|
14
|
-
onReload: null;
|
|
15
|
-
name: string;
|
|
16
|
-
customUnitName: string;
|
|
17
|
-
sizeBytes: number;
|
|
18
|
-
error: null;
|
|
19
|
-
errorText: string;
|
|
20
|
-
formatError: boolean;
|
|
21
|
-
importButtonType: string;
|
|
22
|
-
handleCancel: null;
|
|
23
|
-
isLoadingAnimation: boolean;
|
|
24
|
-
showActions: boolean;
|
|
25
|
-
};
|
|
26
10
|
}
|
|
27
11
|
declare const filesLoaderPropTypes: {
|
|
28
12
|
size: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilesLoader.d.ts","sourceRoot":"","sources":["../../../src/components/FilesLoader/FilesLoader.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAmDnC,UAAU,gBAAiB,SAAQ,SAAS,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC;CAAG;AAOvF;;GAEG;AACH,iBAAS,WAAW,CAAC,EACnB,
|
|
1
|
+
{"version":3,"file":"FilesLoader.d.ts","sourceRoot":"","sources":["../../../src/components/FilesLoader/FilesLoader.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAmDnC,UAAU,gBAAiB,SAAQ,SAAS,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC;CAAG;AAOvF;;GAEG;AACH,iBAAS,WAAW,CAAC,EACnB,IAAc,EACd,IAAa,EACb,IAAS,EACT,cAAmB,EACnB,SAAa,EACb,YAAmB,EACnB,QAAe,EACf,QAAe,EACf,WAAW,EACX,KAAY,EACZ,SAAc,EACd,WAAmB,EACnB,gBAA4B,EAC5B,kBAA0B,EAC1B,WAAkB,GACnB,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,CA4MhC;kBA5NQ,WAAW;aAgPI,oBAAoB;;AAlB5C,QAAA,MAAM,oBAAoB;IACxB,IAAI;IACJ,IAAI;IACJ,cAAc;IACd,QAAQ;IACR,QAAQ;IACR,YAAY;IACZ,IAAI;IACJ,SAAS;IACT,KAAK;IACL,SAAS;IACT,WAAW;IACX,gBAAgB;IAChB,WAAW;IACX,kBAAkB;IAClB,WAAW;CACZ,CAAC;eAIa,WAAW"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"@babel/runtime/helpers/defineProperty";import s from"@babel/runtime/helpers/slicedToArray";import{useState as n,useEffect as i,useMemo as c}from"react";import t from"prop-types";import e from"classnames";import{Typography as r,LinearProgress as m}from"@material-ui/core";import a from"../IconButton/index.js";import l from"../Button/components/Button/index.js";import"@babel/runtime/helpers/objectWithoutProperties";import"moment-timezone";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import{CloseSmallIcon as p,DeleteFourIcon as u,CheckOneIcon as d,RedoIcon as j,UploadIcon as I}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/DragOne.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import{jsxs as f,jsx as h,Fragment as
|
|
1
|
+
import o from"@babel/runtime/helpers/defineProperty";import s from"@babel/runtime/helpers/slicedToArray";import{useState as n,useEffect as i,useMemo as c}from"react";import t from"prop-types";import e from"classnames";import{Typography as r,LinearProgress as m}from"@material-ui/core";import a from"../IconButton/index.js";import l from"../Button/components/Button/index.js";import"@babel/runtime/helpers/objectWithoutProperties";import"moment-timezone";import"../Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"../Button/components/LiveButton/styles.js";import{CloseSmallIcon as p,DeleteFourIcon as u,CheckOneIcon as d,RedoIcon as j,UploadIcon as I}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/DragOne.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../../icons/customIcons/icons/ErrorOps.js";import"../../icons/customIcons/icons/DataTypeOps.js";import"../../icons/customIcons/icons/FalsePositiveOps.js";import"../../icons/customIcons/icons/CalibrationOps.js";import"../../icons/customIcons/icons/CriticalOps.js";import"../../icons/customIcons/icons/Company.js";import"../../icons/customIcons/icons/ArchiveOne.js";import"../../icons/customIcons/icons/ParseBotFusion.js";import"../../icons/customIcons/icons/Connect.js";import"../../icons/customIcons/icons/PuzzleOne.js";import"../../icons/customIcons/icons/Feed.js";import"../../icons/customIcons/icons/Prompt.js";import"../../icons/customIcons/icons/Companies.js";import"../../icons/customIcons/icons/ClipboardAi.js";import"../../icons/customIcons/icons/Key.js";import"../../icons/customIcons/icons/AtSignCrossed.js";import"../../icons/customIcons/icons/MappingManual.js";import"../../icons/customIcons/icons/Mapping.js";import"../../icons/customIcons/icons/Metrics.js";import"../../icons/customIcons/icons/Drops.js";import"../../icons/customIcons/icons/ClipboardSearch.js";import"../../icons/customIcons/icons/Template.js";import"../../icons/customIcons/icons/ClipboardMetrics.js";import"../../icons/customIcons/icons/ClipboardBuilder.js";import"../../icons/customIcons/icons/UnitConversion.js";import"../../icons/customIcons/icons/NPT.js";import"../../icons/customIcons/icons/GuidedFrac.js";import{jsxs as f,jsx as h,Fragment as v}from"react/jsx-runtime";import g from"./Icons/IconWarning.js";import{FileIcon as b}from"../FileIcon/FileIcon.js";import{useStyles as C}from"./useStyles.js";function O(o,s){var n=Object.keys(o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(o);s&&(i=i.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),n.push.apply(n,i)}return n}function z(s){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?O(Object(i),!0).forEach((function(n){o(s,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(i)):O(Object(i)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(i,o))}))}return s}function y(t){var O=t.size,y=void 0===O?"small":O,P=t.unit,B=void 0===P?"size":P,N=t.name,S=void 0===N?"":N,w=t.customUnitName,F=void 0===w?"":w,M=t.sizeBytes,A=void 0===M?1:M,k=t.handleCancel,L=void 0===k?null:k,D=t.onReload,x=void 0===D?null:D,E=t.onDelete,T=void 0===E?null:E,R=t.loadedBytes,U=t.error,W=void 0===U?null:U,G=t.errorText,q=void 0===G?"":G,K=t.formatError,Z=void 0!==K&&K,H=t.importButtonType,J=void 0===H?"default":H,Q=t.isLoadingAnimation,V=void 0!==Q&&Q,X=t.showActions,Y=void 0===X||X,$=C(),_=n({}),oo=s(_,2),so=oo[0],no=oo[1],io=n(0),co=s(io,2),to=co[0],eo=co[1],ro=n(!0),mo=s(ro,2),ao=mo[0],lo=mo[1],po="large"===y,uo=po?24:16,jo=po?"medium":"small";i((function(){no(function(o,s,n){return"time"===s?{downloaded:0,unit:"min",convertedSize:o}:"custom"===s?{downloaded:0,unit:n,convertedSize:o}:o>=Math.pow(10,6)?{downloaded:0,unit:"MB",convertedSize:Math.floor(o/Math.pow(10,5))/10}:o>=Math.pow(10,3)?{downloaded:0,unit:"KB",convertedSize:Math.floor(o/Math.pow(10,2))/10}:{downloaded:0,unit:"B",convertedSize:Math.floor(10*o)/10}}(null!=A?A:1,null!=B?B:"size",null!=F?F:""))}),[A,B]),i((function(){if(R&&A){var o=Math.round(R/A*100);no((function(s){var n;return z(z({},s),{},{downloaded:Math.floor((null!==(n=s.convertedSize)&&void 0!==n?n:0)*o/10)/10})})),eo(o)}}),[R,A]),i((function(){var o;return T&&to>=100&&(lo(!0),o=setTimeout((function(){lo(!1)}),5e3)),function(){return o&&clearTimeout(o)}}),[to]),i((function(){W&&(eo(0),no((function(o){return z(z({},o),{},{downloaded:0})})))}),[W]);var Io=c((function(){return[e($.iconButton,o({},$.iconButtonLarge,po)),e($.actionIcon,o({},$.actionIconLarge,po))]}),[po]),fo=s(Io,2),ho=fo[0],vo=fo[1];return f("div",{className:$.fileStateWrapper,children:[h("div",{className:$.fileIconContainer,children:h(b,{name:null!=S?S:"",style:{fontSize:po?48:32}})}),f("div",{className:$.fileState,children:[f("div",{className:$.fileStateProgress,children:[h("div",{className:$.fileNameWrapper,children:h(r,{className:e($.fileName,o({},$.fileNameLarge,po)),children:S&&S.length>7?f(v,{children:[h("span",{className:$.firstPart,children:S.slice(0,S.length-7)}),h("span",{children:S.slice(-7)})]}):S})}),!V&&h(m,{className:$.progressBar,variant:"determinate",value:to,classes:{colorPrimary:e($.progressBackground,o({},$.progressBarError,W)),barColorPrimary:e($.progressBarColor,o({},$.progressBarError,W))}}),f("div",{className:$.loaderProgressContainer,children:[!V&&h(r,{className:e($.fileSize,o({},$.fileSizeLarge,po)),component:"span",children:"".concat(so.downloaded," of ").concat(so.convertedSize," ").concat(so.unit)}),f("div",{className:e($.progressStatus,o({},$.fileSizeLarge,po)),children:[W&&f(r,{component:"div",className:$.errorContainer,children:[h(g,{size:y}),h(r,{component:"span",className:e($.errorText,o({},$.fileSizeLarge,po)),children:Z?"Upload Error. Unacceptable file format.":"Upload Error".concat(q&&". ".concat(q))})]}),!W&&!V&&"".concat(to," %")]})]})]}),Y&&f("div",{className:$.fileActions,children:[to<100&&!W&&h(v,{children:V?h("div",{className:e($.loadingIcon,o({},$.loadingLargeIcon,po)),style:{backgroundImage:"url(".concat("/static/media/6fa6f1128bc0185126482345243bcd42.svg",")")}}):h(a,{tooltipProps:{title:"Cancel"},className:ho,onClick:function(){null==L||L(S),eo(0),no((function(o){return z(z({},o),{},{downloaded:0})}))},size:jo,children:h(p,{className:vo,size:uo})})}),100===to&&!W&&(!ao&&T?h(a,{variant:"contained",tooltipProps:{title:"Delete"},className:ho,onClick:T,size:jo,children:h(u,{className:vo,size:uo})}):h(d,{fill:"#75DB29",size:uo,style:{marginLeft:12}})),x&&W&&h(v,{children:Z?h(v,{children:"default"===J?h(l,{size:po?"medium":"small",variation:"primary",startIcon:h(I,{}),onClick:x,children:"Import"}):h(a,{size:jo,tooltipProps:{title:"Import File"},className:ho,onClick:x,children:h(I,{size:uo})})}):h(a,{size:jo,tooltipProps:{title:"Reload"},className:ho,onClick:x,children:h(j,{size:uo})})})]})]})]})}var P={size:t.oneOf(["small","large"]),unit:t.oneOf(["size","time","custom"]),customUnitName:t.string,onDelete:t.func,onReload:t.func,handleCancel:t.func,name:t.string,sizeBytes:t.number,error:t.bool,errorText:t.string,formatError:t.bool,importButtonType:t.oneOf(["default","icon"]),loadedBytes:t.number.isRequired,isLoadingAnimation:t.bool,showActions:t.bool};y.propTypes=P;export{y as default};
|
|
2
2
|
//# sourceMappingURL=FilesLoader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilesLoader.js","sources":["../../../src/components/FilesLoader/FilesLoader.tsx"],"sourcesContent":["import { useEffect, useMemo, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { LinearProgress, Typography } from '@material-ui/core';\nimport IconButton from '~/components/IconButton';\nimport Button from '~/components/Button';\n\nimport { CheckOneIcon, CloseSmallIcon, DeleteFourIcon, RedoIcon, UploadIcon } from '~/icons';\n\nimport IconWarning from './Icons/IconWarning';\nimport LoaderIcon from './Icons/IconLoader.svg';\nimport { FileIcon } from '~/components/FileIcon';\nimport { useStyles } from './useStyles';\n\nfunction getInitSizeParams(sizeBytes: number, unit: string, customUnitName: string) {\n if (unit === 'time') {\n return {\n downloaded: 0,\n unit: 'min',\n convertedSize: sizeBytes,\n };\n }\n\n if (unit === 'custom') {\n return {\n downloaded: 0,\n unit: customUnitName,\n convertedSize: sizeBytes,\n };\n }\n\n if (sizeBytes >= 10 ** 6) {\n return {\n downloaded: 0,\n unit: 'MB',\n convertedSize: Math.floor(sizeBytes / 10 ** 5) / 10,\n };\n }\n if (sizeBytes >= 10 ** 3) {\n return {\n downloaded: 0,\n unit: 'KB',\n convertedSize: Math.floor(sizeBytes / 10 ** 2) / 10,\n };\n }\n return {\n downloaded: 0,\n unit: 'B',\n convertedSize: Math.floor(sizeBytes * 10) / 10,\n };\n}\n\ninterface FilesLoaderProps extends PropTypes.InferProps<typeof filesLoaderPropTypes> {}\ninterface SizeParams {\n downloaded?: number;\n convertedSize?: number;\n unit?: string;\n}\n\n/**\n * @deprecated\n */\nfunction FilesLoader({\n size,\n unit,\n name,\n customUnitName,\n sizeBytes,\n handleCancel,\n onReload,\n onDelete,\n loadedBytes,\n error,\n errorText,\n formatError,\n importButtonType,\n isLoadingAnimation,\n showActions,\n}: FilesLoaderProps): JSX.Element {\n const classes = useStyles();\n const [sizeParams, setSizeParams] = useState<SizeParams>({});\n const [progressPercent, setProgressPercent] = useState(0);\n const [isSuccessButtonVisible, setIsSuccessButtonVisible] = useState(true);\n const isLarge = size === 'large';\n const iconSize = isLarge ? 24 : 16;\n const iconButtonSize = isLarge ? 'medium' : 'small';\n\n const handleCancelProgress = () => {\n handleCancel?.(name);\n setProgressPercent(0);\n setSizeParams(prev => ({ ...prev, downloaded: 0 }));\n };\n\n useEffect(() => {\n setSizeParams(getInitSizeParams(sizeBytes ?? 1, unit ?? 'size', customUnitName ?? ''));\n }, [sizeBytes, unit]);\n\n useEffect(() => {\n if (loadedBytes && sizeBytes) {\n const currentPercent = Math.round((loadedBytes / sizeBytes) * 100);\n setSizeParams(prev => ({\n ...prev,\n downloaded: Math.floor(((prev.convertedSize ?? 0) * currentPercent) / 10) / 10,\n }));\n setProgressPercent(currentPercent);\n }\n }, [loadedBytes, sizeBytes]);\n\n useEffect(() => {\n let timerId: ReturnType<typeof setTimeout>;\n if (onDelete && progressPercent >= 100) {\n setIsSuccessButtonVisible(true);\n timerId = setTimeout(() => {\n setIsSuccessButtonVisible(false);\n }, 5000);\n }\n return () => timerId && clearTimeout(timerId);\n }, [progressPercent]);\n\n useEffect(() => {\n if (error) {\n setProgressPercent(0);\n setSizeParams(prev => ({ ...prev, downloaded: 0 }));\n }\n }, [error]);\n\n const [iconButtonClassName, actionIconClassName] = useMemo(() => {\n const iconButtonStyle = classNames(classes.iconButton, {\n [classes.iconButtonLarge]: isLarge,\n });\n const actionIconStyle = classNames(classes.actionIcon, {\n [classes.actionIconLarge]: isLarge,\n });\n return [iconButtonStyle, actionIconStyle];\n }, [isLarge]);\n\n return (\n <div className={classes.fileStateWrapper}>\n <div className={classes.fileIconContainer}>\n <FileIcon name={name ?? ''} style={{ fontSize: isLarge ? 48 : 32 }} />\n </div>\n <div className={classes.fileState}>\n <div className={classes.fileStateProgress}>\n <div className={classes.fileNameWrapper}>\n <Typography\n className={classNames(classes.fileName, { [classes.fileNameLarge]: isLarge })}\n >\n {name && name.length > 7 ? (\n <>\n <span className={classes.firstPart}>{name.slice(0, name.length - 7)}</span>\n <span>{name.slice(-7)}</span>\n </>\n ) : (\n name\n )}\n </Typography>\n </div>\n {!isLoadingAnimation && (\n <LinearProgress\n className={classes.progressBar}\n variant=\"determinate\"\n value={progressPercent}\n classes={{\n colorPrimary: classNames(classes.progressBackground, {\n [classes.progressBarError]: error,\n }),\n barColorPrimary: classNames(classes.progressBarColor, {\n [classes.progressBarError]: error,\n }),\n }}\n />\n )}\n <div className={classes.loaderProgressContainer}>\n {!isLoadingAnimation && (\n <Typography\n className={classNames(classes.fileSize, { [classes.fileSizeLarge]: isLarge })}\n component=\"span\"\n >\n {`${sizeParams.downloaded} of ${sizeParams.convertedSize} ${sizeParams.unit}`}\n </Typography>\n )}\n <div\n className={classNames(classes.progressStatus, { [classes.fileSizeLarge]: isLarge })}\n >\n {error && (\n <Typography component=\"div\" className={classes.errorContainer}>\n <IconWarning size={size} />\n <Typography\n component=\"span\"\n className={classNames(classes.errorText, { [classes.fileSizeLarge]: isLarge })}\n >\n {formatError\n ? 'Upload Error. Unacceptable file format.'\n : `Upload Error${errorText && `. ${errorText}`}`}\n </Typography>\n </Typography>\n )}\n {!error && !isLoadingAnimation && `${progressPercent} %`}\n </div>\n </div>\n </div>\n\n {showActions && (\n <div className={classes.fileActions}>\n {progressPercent < 100 && !error && (\n <>\n {isLoadingAnimation ? (\n <div\n className={classNames(classes.loadingIcon, {\n [classes.loadingLargeIcon]: isLarge,\n })}\n style={{ backgroundImage: `url(${LoaderIcon})` }}\n />\n ) : (\n <IconButton\n tooltipProps={{ title: 'Cancel' }}\n className={iconButtonClassName}\n onClick={handleCancelProgress}\n size={iconButtonSize}\n >\n <CloseSmallIcon className={actionIconClassName} size={iconSize} />\n </IconButton>\n )}\n </>\n )}\n {progressPercent === 100 &&\n !error &&\n (!isSuccessButtonVisible && onDelete ? (\n <IconButton\n variant=\"contained\"\n tooltipProps={{ title: 'Delete' }}\n className={iconButtonClassName}\n onClick={onDelete}\n size={iconButtonSize}\n >\n <DeleteFourIcon className={actionIconClassName} size={iconSize} />\n </IconButton>\n ) : (\n <CheckOneIcon fill=\"#75DB29\" size={iconSize} style={{ marginLeft: 12 }} />\n ))}\n\n {onReload && error && (\n <>\n {!formatError ? (\n <IconButton\n size={iconButtonSize}\n tooltipProps={{ title: 'Reload' }}\n className={iconButtonClassName}\n onClick={onReload}\n >\n <RedoIcon size={iconSize} />\n </IconButton>\n ) : (\n <>\n {importButtonType === 'default' ? (\n <Button\n size={isLarge ? 'medium' : 'small'}\n variation=\"primary\"\n startIcon={<UploadIcon />}\n onClick={onReload}\n >\n Import\n </Button>\n ) : (\n <IconButton\n size={iconButtonSize}\n tooltipProps={{ title: 'Import File' }}\n className={iconButtonClassName}\n onClick={onReload}\n >\n <UploadIcon size={iconSize} />\n </IconButton>\n )}\n </>\n )}\n </>\n )}\n </div>\n )}\n </div>\n </div>\n );\n}\n\nconst filesLoaderPropTypes = {\n size: PropTypes.oneOf(['small', 'large']),\n unit: PropTypes.oneOf(['size', 'time', 'custom']),\n customUnitName: PropTypes.string,\n onDelete: PropTypes.func,\n onReload: PropTypes.func,\n handleCancel: PropTypes.func,\n name: PropTypes.string,\n sizeBytes: PropTypes.number,\n error: PropTypes.bool,\n errorText: PropTypes.string,\n formatError: PropTypes.bool,\n importButtonType: PropTypes.oneOf(['default', 'icon']),\n loadedBytes: PropTypes.number.isRequired,\n isLoadingAnimation: PropTypes.bool,\n showActions: PropTypes.bool,\n};\n\nFilesLoader.propTypes = filesLoaderPropTypes;\n\nFilesLoader.defaultProps = {\n size: 'small',\n unit: 'size',\n onDelete: null,\n onReload: null,\n name: '',\n customUnitName: '',\n sizeBytes: 1,\n error: null,\n errorText: '',\n formatError: false,\n importButtonType: 'default',\n handleCancel: null,\n isLoadingAnimation: false,\n showActions: true,\n};\nexport default FilesLoader;\n"],"names":["FilesLoader","_ref","size","unit","name","customUnitName","sizeBytes","handleCancel","onReload","onDelete","loadedBytes","error","errorText","formatError","importButtonType","isLoadingAnimation","showActions","classes","useStyles","_useState","useState","_useState2","_slicedToArray","sizeParams","setSizeParams","_useState4","_useState3","progressPercent","setProgressPercent","_useState6","_useState5","isSuccessButtonVisible","setIsSuccessButtonVisible","isLarge","iconSize","iconButtonSize","useEffect","downloaded","convertedSize","Math","pow","floor","getInitSizeParams","currentPercent","round","prev","_prev$convertedSize","_objectSpread","timerId","setTimeout","clearTimeout","useMemo","classNames","iconButton","_defineProperty","iconButtonLarge","actionIcon","actionIconLarge","_useMemo2","_useMemo","iconButtonClassName","actionIconClassName","_jsxs","className","fileStateWrapper","children","_jsx","fileIconContainer","FileIcon","style","fontSize","fileState","fileStateProgress","fileNameWrapper","Typography","fileName","fileNameLarge","length","_Fragment","firstPart","slice","LinearProgress","progressBar","variant","value","colorPrimary","progressBackground","progressBarError","barColorPrimary","progressBarColor","loaderProgressContainer","fileSize","fileSizeLarge","component","concat","progressStatus","errorContainer","IconWarning","fileActions","loadingIcon","loadingLargeIcon","backgroundImage","IconButton","tooltipProps","title","onClick","CloseSmallIcon","DeleteFourIcon","CheckOneIcon","fill","marginLeft","Button","variation","startIcon","UploadIcon","RedoIcon","filesLoaderPropTypes","PropTypes","oneOf","string","func","number","bool","isRequired","propTypes","defaultProps"],"mappings":"miKA8DA,SAASA,EAgByBC,GAAA,IAfhCC,IAAAA,KACAC,IAAAA,KACAC,IAAAA,KACAC,IAAAA,eACAC,IAAAA,UACAC,IAAAA,aACAC,IAAAA,SACAC,IAAAA,SACAC,IAAAA,YACAC,IAAAA,MACAC,IAAAA,UACAC,IAAAA,YACAC,IAAAA,iBACAC,IAAAA,mBACAC,IAAAA,YAEMC,EAAUC,IAChBC,EAAoCC,EAAqB,IAAGC,EAAAC,EAAAH,EAAA,GAArDI,EAAUF,EAAA,GAAEG,EAAaH,EAAA,GACcD,EAAAA,EAAS,GAAEK,EA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,EAAUC,MAAM,CAAC,QAAS,UAChCnH,KAAMkH,EAAUC,MAAM,CAAC,OAAQ,OAAQ,WACvCjH,eAAgBgH,EAAUE,OAC1B9G,SAAU4G,EAAUG,KACpBhH,SAAU6G,EAAUG,KACpBjH,aAAc8G,EAAUG,KACxBpH,KAAMiH,EAAUE,OAChBjH,UAAW+G,EAAUI,OACrB9G,MAAO0G,EAAUK,KACjB9G,UAAWyG,EAAUE,OACrB1G,YAAawG,EAAUK,KACvB5G,iBAAkBuG,EAAUC,MAAM,CAAC,UAAW,SAC9C5G,YAAa2G,EAAUI,OAAOE,WAC9B5G,mBAAoBsG,EAAUK,KAC9B1G,YAAaqG,EAAUK,MAGzB1H,EAAY4H,UAAYR,EAExBpH,EAAY6H,aAAe,CACzB3H,KAAM,QACNC,KAAM,OACNM,SAAU,KACVD,SAAU,KACVJ,KAAM,GACNC,eAAgB,GAChBC,UAAW,EACXK,MAAO,KACPC,UAAW,GACXC,aAAa,EACbC,iBAAkB,UAClBP,aAAc,KACdQ,oBAAoB,EACpBC,aAAa"}
|
|
1
|
+
{"version":3,"file":"FilesLoader.js","sources":["../../../src/components/FilesLoader/FilesLoader.tsx"],"sourcesContent":["import { useEffect, useMemo, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { LinearProgress, Typography } from '@material-ui/core';\nimport IconButton from '~/components/IconButton';\nimport Button from '~/components/Button';\n\nimport { CheckOneIcon, CloseSmallIcon, DeleteFourIcon, RedoIcon, UploadIcon } from '~/icons';\n\nimport IconWarning from './Icons/IconWarning';\nimport LoaderIcon from './Icons/IconLoader.svg';\nimport { FileIcon } from '~/components/FileIcon';\nimport { useStyles } from './useStyles';\n\nfunction getInitSizeParams(sizeBytes: number, unit: string, customUnitName: string) {\n if (unit === 'time') {\n return {\n downloaded: 0,\n unit: 'min',\n convertedSize: sizeBytes,\n };\n }\n\n if (unit === 'custom') {\n return {\n downloaded: 0,\n unit: customUnitName,\n convertedSize: sizeBytes,\n };\n }\n\n if (sizeBytes >= 10 ** 6) {\n return {\n downloaded: 0,\n unit: 'MB',\n convertedSize: Math.floor(sizeBytes / 10 ** 5) / 10,\n };\n }\n if (sizeBytes >= 10 ** 3) {\n return {\n downloaded: 0,\n unit: 'KB',\n convertedSize: Math.floor(sizeBytes / 10 ** 2) / 10,\n };\n }\n return {\n downloaded: 0,\n unit: 'B',\n convertedSize: Math.floor(sizeBytes * 10) / 10,\n };\n}\n\ninterface FilesLoaderProps extends PropTypes.InferProps<typeof filesLoaderPropTypes> {}\ninterface SizeParams {\n downloaded?: number;\n convertedSize?: number;\n unit?: string;\n}\n\n/**\n * @deprecated\n */\nfunction FilesLoader({\n size = 'small',\n unit = 'size',\n name = '',\n customUnitName = '',\n sizeBytes = 1,\n handleCancel = null,\n onReload = null,\n onDelete = null,\n loadedBytes,\n error = null,\n errorText = '',\n formatError = false,\n importButtonType = 'default',\n isLoadingAnimation = false,\n showActions = true,\n}: FilesLoaderProps): JSX.Element {\n const classes = useStyles();\n const [sizeParams, setSizeParams] = useState<SizeParams>({});\n const [progressPercent, setProgressPercent] = useState(0);\n const [isSuccessButtonVisible, setIsSuccessButtonVisible] = useState(true);\n const isLarge = size === 'large';\n const iconSize = isLarge ? 24 : 16;\n const iconButtonSize = isLarge ? 'medium' : 'small';\n\n const handleCancelProgress = () => {\n handleCancel?.(name);\n setProgressPercent(0);\n setSizeParams(prev => ({ ...prev, downloaded: 0 }));\n };\n\n useEffect(() => {\n setSizeParams(getInitSizeParams(sizeBytes ?? 1, unit ?? 'size', customUnitName ?? ''));\n }, [sizeBytes, unit]);\n\n useEffect(() => {\n if (loadedBytes && sizeBytes) {\n const currentPercent = Math.round((loadedBytes / sizeBytes) * 100);\n setSizeParams(prev => ({\n ...prev,\n downloaded: Math.floor(((prev.convertedSize ?? 0) * currentPercent) / 10) / 10,\n }));\n setProgressPercent(currentPercent);\n }\n }, [loadedBytes, sizeBytes]);\n\n useEffect(() => {\n let timerId: ReturnType<typeof setTimeout>;\n if (onDelete && progressPercent >= 100) {\n setIsSuccessButtonVisible(true);\n timerId = setTimeout(() => {\n setIsSuccessButtonVisible(false);\n }, 5000);\n }\n return () => timerId && clearTimeout(timerId);\n }, [progressPercent]);\n\n useEffect(() => {\n if (error) {\n setProgressPercent(0);\n setSizeParams(prev => ({ ...prev, downloaded: 0 }));\n }\n }, [error]);\n\n const [iconButtonClassName, actionIconClassName] = useMemo(() => {\n const iconButtonStyle = classNames(classes.iconButton, {\n [classes.iconButtonLarge]: isLarge,\n });\n const actionIconStyle = classNames(classes.actionIcon, {\n [classes.actionIconLarge]: isLarge,\n });\n return [iconButtonStyle, actionIconStyle];\n }, [isLarge]);\n\n return (\n <div className={classes.fileStateWrapper}>\n <div className={classes.fileIconContainer}>\n <FileIcon name={name ?? ''} style={{ fontSize: isLarge ? 48 : 32 }} />\n </div>\n <div className={classes.fileState}>\n <div className={classes.fileStateProgress}>\n <div className={classes.fileNameWrapper}>\n <Typography\n className={classNames(classes.fileName, { [classes.fileNameLarge]: isLarge })}\n >\n {name && name.length > 7 ? (\n <>\n <span className={classes.firstPart}>{name.slice(0, name.length - 7)}</span>\n <span>{name.slice(-7)}</span>\n </>\n ) : (\n name\n )}\n </Typography>\n </div>\n {!isLoadingAnimation && (\n <LinearProgress\n className={classes.progressBar}\n variant=\"determinate\"\n value={progressPercent}\n classes={{\n colorPrimary: classNames(classes.progressBackground, {\n [classes.progressBarError]: error,\n }),\n barColorPrimary: classNames(classes.progressBarColor, {\n [classes.progressBarError]: error,\n }),\n }}\n />\n )}\n <div className={classes.loaderProgressContainer}>\n {!isLoadingAnimation && (\n <Typography\n className={classNames(classes.fileSize, { [classes.fileSizeLarge]: isLarge })}\n component=\"span\"\n >\n {`${sizeParams.downloaded} of ${sizeParams.convertedSize} ${sizeParams.unit}`}\n </Typography>\n )}\n <div\n className={classNames(classes.progressStatus, { [classes.fileSizeLarge]: isLarge })}\n >\n {error && (\n <Typography component=\"div\" className={classes.errorContainer}>\n <IconWarning size={size} />\n <Typography\n component=\"span\"\n className={classNames(classes.errorText, { [classes.fileSizeLarge]: isLarge })}\n >\n {formatError\n ? 'Upload Error. Unacceptable file format.'\n : `Upload Error${errorText && `. ${errorText}`}`}\n </Typography>\n </Typography>\n )}\n {!error && !isLoadingAnimation && `${progressPercent} %`}\n </div>\n </div>\n </div>\n\n {showActions && (\n <div className={classes.fileActions}>\n {progressPercent < 100 && !error && (\n <>\n {isLoadingAnimation ? (\n <div\n className={classNames(classes.loadingIcon, {\n [classes.loadingLargeIcon]: isLarge,\n })}\n style={{ backgroundImage: `url(${LoaderIcon})` }}\n />\n ) : (\n <IconButton\n tooltipProps={{ title: 'Cancel' }}\n className={iconButtonClassName}\n onClick={handleCancelProgress}\n size={iconButtonSize}\n >\n <CloseSmallIcon className={actionIconClassName} size={iconSize} />\n </IconButton>\n )}\n </>\n )}\n {progressPercent === 100 &&\n !error &&\n (!isSuccessButtonVisible && onDelete ? (\n <IconButton\n variant=\"contained\"\n tooltipProps={{ title: 'Delete' }}\n className={iconButtonClassName}\n onClick={onDelete}\n size={iconButtonSize}\n >\n <DeleteFourIcon className={actionIconClassName} size={iconSize} />\n </IconButton>\n ) : (\n <CheckOneIcon fill=\"#75DB29\" size={iconSize} style={{ marginLeft: 12 }} />\n ))}\n\n {onReload && error && (\n <>\n {!formatError ? (\n <IconButton\n size={iconButtonSize}\n tooltipProps={{ title: 'Reload' }}\n className={iconButtonClassName}\n onClick={onReload}\n >\n <RedoIcon size={iconSize} />\n </IconButton>\n ) : (\n <>\n {importButtonType === 'default' ? (\n <Button\n size={isLarge ? 'medium' : 'small'}\n variation=\"primary\"\n startIcon={<UploadIcon />}\n onClick={onReload}\n >\n Import\n </Button>\n ) : (\n <IconButton\n size={iconButtonSize}\n tooltipProps={{ title: 'Import File' }}\n className={iconButtonClassName}\n onClick={onReload}\n >\n <UploadIcon size={iconSize} />\n </IconButton>\n )}\n </>\n )}\n </>\n )}\n </div>\n )}\n </div>\n </div>\n );\n}\n\nconst filesLoaderPropTypes = {\n size: PropTypes.oneOf(['small', 'large']),\n unit: PropTypes.oneOf(['size', 'time', 'custom']),\n customUnitName: PropTypes.string,\n onDelete: PropTypes.func,\n onReload: PropTypes.func,\n handleCancel: PropTypes.func,\n name: PropTypes.string,\n sizeBytes: PropTypes.number,\n error: PropTypes.bool,\n errorText: PropTypes.string,\n formatError: PropTypes.bool,\n importButtonType: PropTypes.oneOf(['default', 'icon']),\n loadedBytes: PropTypes.number.isRequired,\n isLoadingAnimation: PropTypes.bool,\n showActions: PropTypes.bool,\n};\n\nFilesLoader.propTypes = filesLoaderPropTypes;\n\nexport default FilesLoader;\n"],"names":["FilesLoader","_ref","_ref$size","size","_ref$unit","unit","_ref$name","name","_ref$customUnitName","customUnitName","_ref$sizeBytes","sizeBytes","_ref$handleCancel","handleCancel","_ref$onReload","onReload","_ref$onDelete","onDelete","loadedBytes","_ref$error","error","_ref$errorText","errorText","_ref$formatError","formatError","_ref$importButtonType","importButtonType","_ref$isLoadingAnimati","isLoadingAnimation","_ref$showActions","showActions","classes","useStyles","_useState","useState","_useState2","_slicedToArray","sizeParams","setSizeParams","_useState4","_useState3","progressPercent","setProgressPercent","_useState6","_useState5","isSuccessButtonVisible","setIsSuccessButtonVisible","isLarge","iconSize","iconButtonSize","useEffect","downloaded","convertedSize","Math","pow","floor","getInitSizeParams","currentPercent","round","prev","_prev$convertedSize","_objectSpread","timerId","setTimeout","clearTimeout","useMemo","classNames","iconButton","_defineProperty","iconButtonLarge","actionIcon","actionIconLarge","_useMemo2","_useMemo","iconButtonClassName","actionIconClassName","_jsxs","className","fileStateWrapper","children","_jsx","fileIconContainer","FileIcon","style","fontSize","fileState","fileStateProgress","fileNameWrapper","Typography","fileName","fileNameLarge","length","_Fragment","firstPart","slice","LinearProgress","progressBar","variant","value","colorPrimary","progressBackground","progressBarError","barColorPrimary","progressBarColor","loaderProgressContainer","fileSize","fileSizeLarge","component","concat","progressStatus","errorContainer","IconWarning","fileActions","loadingIcon","loadingLargeIcon","backgroundImage","IconButton","tooltipProps","title","onClick","CloseSmallIcon","DeleteFourIcon","CheckOneIcon","fill","marginLeft","Button","variation","startIcon","UploadIcon","RedoIcon","filesLoaderPropTypes","PropTypes","oneOf","string","func","number","bool","isRequired","propTypes"],"mappings":"miKA8DA,SAASA,EAgByBC,GAAA,IAAAC,EAAAD,EAfhCE,KAAAA,aAAO,QAAOD,EAAAE,EAAAH,EACdI,KAAAA,aAAO,OAAMD,EAAAE,EAAAL,EACbM,KAAAA,aAAO,GAAED,EAAAE,EAAAP,EACTQ,eAAAA,aAAiB,GAAED,EAAAE,EAAAT,EACnBU,UAAAA,aAAY,EAACD,EAAAE,EAAAX,EACbY,aAAAA,aAAe,KAAID,EAAAE,EAAAb,EACnBc,SAAAA,aAAW,KAAID,EAAAE,EAAAf,EACfgB,SAAAA,aAAW,KAAID,EACfE,IAAAA,YAAWC,EAAAlB,EACXmB,MAAAA,aAAQ,KAAID,EAAAE,EAAApB,EACZqB,UAAAA,aAAY,GAAED,EAAAE,EAAAtB,EACduB,YAAAA,cAAmBD,EAAAE,EAAAxB,EACnByB,iBAAAA,aAAmB,UAASD,EAAAE,EAAA1B,EAC5B2B,mBAAAA,cAA0BD,EAAAE,EAAA5B,EAC1B6B,YAAAA,cAAkBD,EAEZE,EAAUC,IAChBC,EAAoCC,EAAqB,IAAGC,GAAAC,EAAAH,EAAA,GAArDI,GAAUF,GAAA,GAAEG,GAAaH,GAAA,GACcD,GAAAA,EAAS,GAAEK,GAAAH,EAAAI,GAAA,GAAlDC,GAAeF,GAAA,GAAEG,GAAkBH,GAAA,GACkBL,GAAAA,GAAS,GAAKS,GAAAP,EAAAQ,GAAA,GAAnEC,GAAsBF,GAAA,GAAEG,GAAyBH,GAAA,GAClDI,GAAmB,UAAT5C,EACV6C,GAAWD,GAAU,GAAK,GAC1BE,GAAiBF,GAAU,SAAW,QAQ5CG,GAAU,WACRZ,GAhFJ,SAA2B3B,EAAmBN,EAAcI,GAC1D,MAAa,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,EAAUK,KACvB9G,iBAAkByG,EAAUC,MAAM,CAAC,UAAW,SAC9ClH,YAAaiH,EAAUI,OAAOE,WAC9B7G,mBAAoBuG,EAAUK,KAC9B1G,YAAaqG,EAAUK,MAGzBxI,EAAY0I,UAAYR"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
declare function FolderIcon({ className, isOpen, color }: {
|
|
3
|
-
className
|
|
3
|
+
className?: string | undefined;
|
|
4
4
|
color: any;
|
|
5
|
-
isOpen
|
|
5
|
+
isOpen?: boolean | undefined;
|
|
6
6
|
}): import("react").JSX.Element;
|
|
7
7
|
declare namespace FolderIcon {
|
|
8
8
|
var propTypes: {
|
|
@@ -10,10 +10,6 @@ declare namespace FolderIcon {
|
|
|
10
10
|
className: PropTypes.Requireable<string>;
|
|
11
11
|
color: PropTypes.Validator<string>;
|
|
12
12
|
};
|
|
13
|
-
var defaultProps: {
|
|
14
|
-
isOpen: boolean;
|
|
15
|
-
className: string;
|
|
16
|
-
};
|
|
17
13
|
}
|
|
18
14
|
export default FolderIcon;
|
|
19
15
|
//# sourceMappingURL=FolderIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FolderIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/FolderMenuItem/components/FolderIcon.js"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;4BAuBf,EAAE,
|
|
1
|
+
{"version":3,"file":"FolderIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/FolderMenuItem/components/FolderIcon.js"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;4BAuBf,EAAE,SAAc,EAAE,MAAc,EAAE,KAAK,EAAE;;;;CAAA;;;;;;;;eAkB9C,UAAU"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"prop-types";import{makeStyles as r}from"@material-ui/core";import e from"classnames";import
|
|
1
|
+
import o from"prop-types";import{makeStyles as r}from"@material-ui/core";import e from"classnames";import i from"./OpenFolderIcon.js";import l from"./ClosedFolderIcon.js";import{jsx as s}from"react/jsx-runtime";var n=r({folderIcon:{width:16,height:16,display:"flex",alignItems:"flex-end"},iconColor:function(o){return{"& svg":{fill:o.color}}}}),t=function(o){var r=o.className,t=void 0===r?"":r,c=o.isOpen,m=void 0!==c&&c,a=o.color,p=n({color:a}),d=m?i:l;return s("div",{className:e(p.folderIcon,p.iconColor,t),children:s(d,{})})};t.propTypes={isOpen:o.bool,className:o.string,color:o.string.isRequired};export{t as default};
|
|
2
2
|
//# sourceMappingURL=FolderIcon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FolderIcon.js","sources":["../../../../src/components/FolderMenuItem/components/FolderIcon.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport { makeStyles } from '@material-ui/core';\nimport classNames from 'classnames';\n\nimport OpenFolderIcon from './OpenFolderIcon';\nimport ClosedFolderIcon from './ClosedFolderIcon';\n\nconst useStyles = makeStyles({\n folderIcon: {\n width: 16,\n height: 16,\n display: 'flex',\n alignItems: 'flex-end',\n },\n iconColor: ({ color }) => {\n return {\n '& svg': {\n fill: color,\n },\n };\n },\n});\n\nconst FolderIcon = ({ className, isOpen, color }) => {\n const classes = useStyles({ color });\n\n const Icon = isOpen ? OpenFolderIcon : ClosedFolderIcon;\n\n return (\n <div className={classNames(classes.folderIcon, classes.iconColor, className)}>\n <Icon />\n </div>\n );\n};\n\nFolderIcon.propTypes = {\n isOpen: PropTypes.bool,\n className: PropTypes.string,\n color: PropTypes.string.isRequired,\n};\n\
|
|
1
|
+
{"version":3,"file":"FolderIcon.js","sources":["../../../../src/components/FolderMenuItem/components/FolderIcon.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport { makeStyles } from '@material-ui/core';\nimport classNames from 'classnames';\n\nimport OpenFolderIcon from './OpenFolderIcon';\nimport ClosedFolderIcon from './ClosedFolderIcon';\n\nconst useStyles = makeStyles({\n folderIcon: {\n width: 16,\n height: 16,\n display: 'flex',\n alignItems: 'flex-end',\n },\n iconColor: ({ color }) => {\n return {\n '& svg': {\n fill: color,\n },\n };\n },\n});\n\nconst FolderIcon = ({ className = '', isOpen = false, color }) => {\n const classes = useStyles({ color });\n\n const Icon = isOpen ? OpenFolderIcon : ClosedFolderIcon;\n\n return (\n <div className={classNames(classes.folderIcon, classes.iconColor, className)}>\n <Icon />\n </div>\n );\n};\n\nFolderIcon.propTypes = {\n isOpen: PropTypes.bool,\n className: PropTypes.string,\n color: PropTypes.string.isRequired,\n};\n\nexport default FolderIcon;\n"],"names":["useStyles","makeStyles","folderIcon","width","height","display","alignItems","iconColor","_ref","fill","color","FolderIcon","_ref2","_ref2$className","className","_ref2$isOpen","isOpen","classes","Icon","OpenFolderIcon","ClosedFolderIcon","_jsx","classNames","children","propTypes","PropTypes","bool","string","isRequired"],"mappings":"mNAOA,IAAMA,EAAYC,EAAW,CAC3BC,WAAY,CACVC,MAAO,GACPC,OAAQ,GACRC,QAAS,OACTC,WAAY,YAEdC,UAAW,SAAeC,GACxB,MAAO,CACL,QAAS,CACPC,OAHQC,OAMd,IAGIC,EAAa,SAA+CC,GAAA,IAAAC,EAAAD,EAA5CE,UAAAA,aAAY,GAAED,EAAAE,EAAAH,EAAEI,OAAAA,cAAcD,EAAEL,IAAAA,MAC9CO,EAAUjB,EAAU,CAAEU,MAAAA,IAEtBQ,EAAOF,EAASG,EAAiBC,EAEvC,OACEC,EAAA,MAAA,CAAKP,UAAWQ,EAAWL,EAAQf,WAAYe,EAAQV,UAAWO,GAAWS,SAC3EF,EAACH,EAAI,KAGX,EAEAP,EAAWa,UAAY,CACrBR,OAAQS,EAAUC,KAClBZ,UAAWW,EAAUE,OACrBjB,MAAOe,EAAUE,OAAOC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
declare function FolderMenuItem({ folderColor, isCreatable, isOpen, isSelected, name, onAdd, onClick, onToggle, }: {
|
|
3
3
|
folderColor: any;
|
|
4
|
-
isCreatable
|
|
5
|
-
isOpen
|
|
6
|
-
isSelected
|
|
4
|
+
isCreatable?: boolean | undefined;
|
|
5
|
+
isOpen?: boolean | undefined;
|
|
6
|
+
isSelected?: boolean | undefined;
|
|
7
7
|
name: any;
|
|
8
8
|
onAdd: any;
|
|
9
9
|
onClick: any;
|
|
@@ -20,11 +20,6 @@ declare namespace FolderMenuItem {
|
|
|
20
20
|
onClick: PropTypes.Validator<(...args: any[]) => any>;
|
|
21
21
|
onToggle: PropTypes.Validator<(...args: any[]) => any>;
|
|
22
22
|
};
|
|
23
|
-
var defaultProps: {
|
|
24
|
-
isCreatable: boolean;
|
|
25
|
-
isOpen: boolean;
|
|
26
|
-
isSelected: boolean;
|
|
27
|
-
};
|
|
28
23
|
}
|
|
29
24
|
export default FolderMenuItem;
|
|
30
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FolderMenuItem/index.js"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;gCAiFX,EACtB,WAAW,EACX,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FolderMenuItem/index.js"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;gCAiFX,EACtB,WAAW,EACX,WAAmB,EACnB,MAAc,EACd,UAAkB,EAClB,IAAI,EACJ,KAAK,EACL,OAAO,EACP,QAAQ,GACT;;;;;;;;;CAAA;;;;;;;;;;;;;eAwDc,cAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import o from"prop-types";import i from"classnames";import{makeStyles as
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import o from"prop-types";import i from"classnames";import{makeStyles as r,Tooltip as t}from"@material-ui/core";import n from"@material-ui/icons/AddCircle";import l from"@material-ui/icons/ExpandLess";import a from"@material-ui/icons/ExpandMore";import c from"../IconButton/index.js";import{jsxs as s,jsx as d}from"react/jsx-runtime";import p from"./components/FolderIcon.js";function m(e,o){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),i.push.apply(i,r)}return i}function f(o){for(var i=1;i<arguments.length;i++){var r=null!=arguments[i]?arguments[i]:{};i%2?m(Object(r),!0).forEach((function(i){e(o,i,r[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(r,e))}))}return o}var u=r((function(e){return{folderMenuItem:{alignItems:"center",backgroundColor:e.palette.background.b8,color:"#FFFFFF",cursor:"pointer",display:"flex",fontSize:"0.875rem",fontWeight:"500",height:36,justifyContent:"space-between",paddingLeft:48,paddingRight:4,position:"relative",width:"100%",boxSizing:"border-box","&:hover":{backgroundColor:"rgba(3, 188, 212, 0.07)"},"&:hover svg":{visibility:"visible"},"&:hover $addIcon":{visibility:"visible"},"&:hover $toggleIcon":{visibility:"visible"}},addIcon:{visibility:"hidden"},toggleIcon:{visibility:"hidden"},folderMenuItemSelected:{backgroundColor:"rgba(3, 188, 212, 0.15) !important","&::before":{left:0,height:"100%",width:4,backgroundColor:e.palette.primary.main,position:"absolute",content:'""',borderRadius:"4px 0 0 4px"}},addCircleIcon:{visibility:"hidden"},actions:{display:"flex",alignItems:"center"},folderIcon:{position:"absolute",left:24,top:8},folderName:{overflow:"hidden",marginRight:4,height:"36px",lineHeight:"36px",whiteSpace:"nowrap",textOverflow:"ellipsis",userSelect:"none"}}})),b=function(o){var r=o.folderColor,m=o.isCreatable,b=void 0!==m&&m,g=o.isOpen,h=void 0!==g&&g,v=o.isSelected,y=void 0!==v&&v,O=o.name,C=o.onAdd,I=o.onClick,j=o.onToggle,x=u();return s("div",{className:i(x.folderMenuItem,e({},x.folderMenuItemSelected,y)),onClick:I,children:[d(p,{color:r,isOpen:h,className:x.folderIcon}),d("div",{className:x.folderName,children:O}),s("div",{className:x.actions,children:[b&&d(t,{title:"Add Page",placement:"bottom-end",children:d(c,{className:x.addIcon,size:"small",onClick:function(e){e.stopPropagation(),C()},children:d(n,{fontSize:"small"})})}),d(c,{className:x.toggleIcon,size:"small",onClick:function(e){e.stopPropagation(),j()},children:d((function(e){return d(t,{title:h?"Collapse":"Expand",placement:"bottom-end",children:d(h?l:a,f({},e))})}),{fontSize:"small"})})]})]})};b.propTypes={folderColor:o.string.isRequired,isCreatable:o.bool,isOpen:o.bool,isSelected:o.bool,name:o.string.isRequired,onAdd:o.func.isRequired,onClick:o.func.isRequired,onToggle:o.func.isRequired};export{b as default};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|