@corva/ui 0.89.0-1 → 0.89.0-10
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/clients/api/apiCore.js +1 -1
- package/cjs-bundle/components/AddComment/Popover.js +1 -1
- package/cjs-bundle/components/AddComment/Popup.js +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js +1 -1
- package/cjs-bundle/components/AdvancedSlider/Handle.js +1 -1
- package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
- package/cjs-bundle/components/Annotations/components/AnnotationsList/components/Annotation/index.js +1 -1
- package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AnnotationComments/index.js +1 -1
- package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.js +1 -1
- package/cjs-bundle/components/Annotations/components/AnnotationsList/index.js +1 -1
- package/cjs-bundle/components/Annotations/components/LastAnnotation/index.js +1 -1
- package/cjs-bundle/components/AppIcon/utils.js +1 -1
- package/cjs-bundle/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
- package/cjs-bundle/components/AssetEditor/effects/index.js +1 -1
- package/cjs-bundle/components/AssetEditor/index.js +1 -1
- package/cjs-bundle/components/AssetEditorV2/components/SecondaryAssetSelect.js +1 -1
- package/cjs-bundle/components/AssetEditorV2/effects/index.js +1 -1
- package/cjs-bundle/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js +1 -1
- package/cjs-bundle/components/AssetEditorV2/index.js +1 -1
- package/cjs-bundle/components/AssetEditorV2/utils/index.js +1 -1
- package/cjs-bundle/components/Attachment/index.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/Map/Map.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/index.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
- package/cjs-bundle/components/Breadcrumbs/index.js +1 -1
- package/cjs-bundle/components/Casing/CasingTable/index.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/CasingTableV2.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Browser.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Browser.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/EditComponentDialog.js +1 -1
- package/cjs-bundle/components/Casing/CasingTile/CasingTile.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ChartTypeButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/DragToZoomButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/HideAxesButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/PanButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ResetZoomButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ZoomInButton.js +1 -1
- package/cjs-bundle/components/Chart/components/buttons/ZoomOutButton.js +1 -1
- package/cjs-bundle/components/Chart/utils.js +1 -1
- package/cjs-bundle/components/ChartActionsList/ChartActionsList.js +1 -1
- package/cjs-bundle/components/CollapsableSidebar.js +1 -1
- package/cjs-bundle/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
- package/cjs-bundle/components/Comment/index.js +1 -1
- package/cjs-bundle/components/CommentInput/index.js +1 -1
- package/cjs-bundle/components/CommentsInfo/index.js +1 -1
- package/cjs-bundle/components/DevCenter/AppHeader/AppHeader.js +1 -1
- package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/dataResolvers.js +1 -1
- package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/useAppsData.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentDetail/index.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/BHAComponentsTable.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Browser.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Browser.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Browser.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Browser.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/EditComponentDialog.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Browser.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Browser.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Browser.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Browser.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Browser.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/SortableComponent.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Browser.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Browser.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Browser.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/InputText.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SelectField.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/StaticField.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAList/BHAList.js +1 -1
- package/cjs-bundle/components/Drillstring/BHATable/index.js +1 -1
- package/cjs-bundle/components/Drillstring/BHATile/BHATile.js +1 -1
- package/cjs-bundle/components/Drillstring/DrillstringDetail/DrillstringDetail.js +1 -1
- package/cjs-bundle/components/EmbeddedApp/DevCenterEmbeddedApp.js +1 -1
- package/cjs-bundle/components/EmbeddedApp/EmbeddedApp.js +1 -1
- package/cjs-bundle/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
- package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.js +1 -1
- package/cjs-bundle/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js +1 -1
- package/cjs-bundle/components/FeedItem/components/Actions.js +1 -1
- package/cjs-bundle/components/FeedItem/components/Content.js +1 -1
- package/cjs-bundle/components/FeedItem/components/Icon.js +1 -1
- package/cjs-bundle/components/FeedItem/editModals/DvdCommentEdit/DvdCommentEdit.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/Stages.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/StageOverviewFeedItem/index.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js +1 -1
- package/cjs-bundle/components/FilePreview/index.js +1 -1
- package/cjs-bundle/components/GoogleDocsViewer/index.js +1 -1
- package/cjs-bundle/components/HeaderLayout/effects/index.js +1 -1
- package/cjs-bundle/components/InfiniteList/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/effects/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/utils/apiCalls.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/utils/apiCalls.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/AppHeader/AppHeader.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/RadiusInput.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/effects/useAdvancedWells.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/utils/apiCalls.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/utils/index.js +1 -1
- package/cjs-bundle/components/PadModeSelect/PadModeSelect.js +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/cjs-bundle/components/ParameterCharts/AddEditTrack.js +1 -1
- package/cjs-bundle/components/ParameterCharts/ParameterCharts.js +1 -1
- package/cjs-bundle/components/ParameterCharts/components/ChartContainer.js +1 -1
- package/cjs-bundle/components/ParameterCharts/components/SingleChannelTrackSettings.js +1 -1
- package/cjs-bundle/components/ParameterCharts/components/Tooltip/Tooltip.js +1 -1
- package/cjs-bundle/components/ParameterCharts/components/TraceHeader.js +1 -1
- package/cjs-bundle/components/ParameterCharts/components/TraceSettings.js +1 -1
- package/cjs-bundle/components/ParameterCharts/components/Track.js +1 -1
- package/cjs-bundle/components/ParameterCharts/components/TrackSettings.js +1 -1
- package/cjs-bundle/components/PinnableFilters/effects/index.js +1 -1
- package/cjs-bundle/components/PostInput/PostInput.js +1 -1
- package/cjs-bundle/components/PostPreviewDialog/index.js +1 -1
- package/cjs-bundle/components/Search/Search.js +1 -1
- package/cjs-bundle/components/Search/components/Paper.js +1 -1
- package/cjs-bundle/components/StageDesignVActual/ComparisonBar/ComparisonBar.js +1 -1
- package/cjs-bundle/components/StageDesignVActual/ComparisonRow.js +1 -1
- package/cjs-bundle/components/StageDesignVActual/ElementsComparison/ElementsComparison.js +1 -1
- package/cjs-bundle/components/Stepper/Step/Step.js +1 -1
- package/cjs-bundle/components/Stepper/Step/styles.js +1 -1
- package/cjs-bundle/components/Stepper/StepsWrapper.js +1 -1
- package/cjs-bundle/components/Template/TemplateSharingDialog/UsersChipSelector.js +1 -1
- package/cjs-bundle/components/Template/TemplateSharingDialog/index.js +1 -1
- package/cjs-bundle/components/TracesEditModal/TracesEditModal.js +1 -1
- package/cjs-bundle/components/TracesEditModal/TracesEditModalContainer.js +1 -1
- package/cjs-bundle/components/UserCard/index.js +1 -1
- package/cjs-bundle/components/UserMention/index.js +1 -1
- package/cjs-bundle/components/UserMention/utils/index.js +1 -1
- package/cjs-bundle/components/WellSummary/ActivitySummaryChart.js +1 -1
- package/cjs-bundle/components/WellSummary/effects/useWellSummaryData.js +1 -1
- package/cjs-bundle/config/theme/index.js +1 -1
- package/cjs-bundle/effects/useSubscriptions.js +1 -1
- package/cjs-bundle/permissions/constants/index.js +1 -1
- package/cjs-bundle/permissions/useProvidePermissions.js +1 -1
- package/cjs-bundle/permissions/withPermissionsHOC.js +1 -1
- package/cjs-bundle/utils/casing/conversion.js +1 -1
- package/cjs-bundle/utils/constants/units.js +1 -1
- package/cjs-bundle/utils/convert.js +1 -1
- package/cjs-bundle/utils/filePreview.js +1 -1
- package/cjs-bundle/utils/index.js +1 -1
- package/cjs-bundle/utils/metrics/metricsConfig.js +1 -1
- package/clients/api/apiCore.js +1 -1
- package/components/AddComment/Popover.js +1 -1
- package/components/AddComment/Popup.d.ts.map +1 -1
- package/components/AddComment/Popup.js +1 -1
- package/components/AddComment/components/Content.js +1 -1
- package/components/AdvancedSlider/AdvancedSlider.d.ts.map +1 -1
- package/components/AdvancedSlider/Handle.d.ts.map +1 -1
- package/components/AdvancedSlider/Handle.js +1 -1
- package/components/AdvancedSlider/styles/handleStyles.d.ts +1 -1
- package/components/AdvancedSlider/styles/handleStyles.d.ts.map +1 -1
- package/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
- package/components/Annotations/components/AnnotationsList/components/Annotation/index.js +1 -1
- package/components/Annotations/components/AnnotationsList/components/AnnotationComments/index.js +1 -1
- package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.d.ts +1 -1
- package/components/Annotations/components/AnnotationsList/components/AnnotationInput/index.js +1 -1
- package/components/Annotations/components/AnnotationsList/index.d.ts +2 -2
- package/components/Annotations/components/AnnotationsList/index.js +1 -1
- package/components/Annotations/components/LastAnnotation/index.js +1 -1
- package/components/AppIcon/utils.js +1 -1
- package/components/AppVersionsSelect/AppVersionsSelect.d.ts.map +1 -1
- package/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
- package/components/AppVersionsSelect/effects/index.d.ts.map +1 -1
- package/components/AssetEditor/AssetEditorAutocomplete.d.ts +4 -4
- package/components/AssetEditor/SingleAssetEditor.d.ts +3 -3
- package/components/AssetEditor/SingleAssetEditor.d.ts.map +1 -1
- package/components/AssetEditor/effects/index.d.ts.map +1 -1
- package/components/AssetEditor/effects/index.js +1 -1
- package/components/AssetEditor/index.js +1 -1
- package/components/AssetEditorV2/components/MultipleAssetsToggle.d.ts.map +1 -1
- package/components/AssetEditorV2/components/PrimaryAssetSelect.d.ts.map +1 -1
- package/components/AssetEditorV2/components/PrimaryAssetSelectV2.d.ts.map +1 -1
- package/components/AssetEditorV2/components/SecondaryAssetSelect.d.ts.map +1 -1
- package/components/AssetEditorV2/components/SecondaryAssetSelect.js +1 -1
- package/components/AssetEditorV2/components/SelectItem.d.ts.map +1 -1
- package/components/AssetEditorV2/effects/index.d.ts.map +1 -1
- package/components/AssetEditorV2/effects/index.js +1 -1
- package/components/AssetEditorV2/effects/usePrimaryAssetSelectData.d.ts.map +1 -1
- package/components/AssetEditorV2/effects/usePrimaryAssetSelectData.js +1 -1
- package/components/AssetEditorV2/index.d.ts.map +1 -1
- package/components/AssetEditorV2/index.js +1 -1
- package/components/AssetEditorV2/utils/index.d.ts.map +1 -1
- package/components/AssetEditorV2/utils/index.js +1 -1
- package/components/AssetsMultipleSelector/AssetsMultipleSelector.d.ts.map +1 -1
- package/components/Attachment/index.d.ts +3 -3
- package/components/Attachment/index.js +1 -1
- package/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/components/Avatar/index.d.ts +4 -4
- 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/index.d.ts.map +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetResultSection.d.ts.map +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/AutoCompleteAssetSearch/AssetTypesSection.d.ts.map +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.d.ts +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/NumberCircle.d.ts.map +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/SectionItem.d.ts.map +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/index.d.ts.map +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/index.js +1 -1
- package/components/BICOffsetPickerDialog/index.js +1 -1
- package/components/Breadcrumbs/index.d.ts.map +1 -1
- package/components/Breadcrumbs/index.js +1 -1
- package/components/Button/components/Button/index.d.ts +1 -1
- package/components/Button/components/LiveButton/styles.d.ts +1 -1
- package/components/Casing/CasingTable/index.js +1 -1
- package/components/Casing/CasingTableV2/CasingTableV2.d.ts.map +1 -1
- package/components/Casing/CasingTableV2/CasingTableV2.js +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Browser.d.ts.map +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Browser.js +1 -1
- 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/Component.d.ts.map +1 -1
- package/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Browser.d.ts.map +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Browser.js +1 -1
- 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/EditComponentDialog.js +1 -1
- package/components/Casing/CasingTableV2/components/Header.d.ts.map +1 -1
- package/components/Casing/CasingTile/CasingTile.d.ts.map +1 -1
- package/components/Casing/CasingTile/CasingTile.js +1 -1
- package/components/Chart/components/AxisDropdown.d.ts.map +1 -1
- package/components/Chart/components/ChartButton.d.ts.map +1 -1
- package/components/Chart/components/ChartButtons.d.ts.map +1 -1
- package/components/Chart/components/ChartSelect.d.ts.map +1 -1
- package/components/Chart/components/ChartWrapper.d.ts.map +1 -1
- 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/DragToZoomButton.d.ts.map +1 -1
- package/components/Chart/components/buttons/DragToZoomButton.js +1 -1
- 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/PanButton.d.ts.map +1 -1
- package/components/Chart/components/buttons/PanButton.js +1 -1
- 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/ZoomInButton.d.ts.map +1 -1
- package/components/Chart/components/buttons/ZoomInButton.js +1 -1
- package/components/Chart/components/buttons/ZoomOutButton.d.ts.map +1 -1
- package/components/Chart/components/buttons/ZoomOutButton.js +1 -1
- package/components/Chart/effects/useChartModifier.d.ts.map +1 -1
- package/components/Chart/effects/useZoom.d.ts.map +1 -1
- package/components/Chart/options.d.ts.map +1 -1
- package/components/Chart/utils.d.ts.map +1 -1
- package/components/Chart/utils.js +1 -1
- package/components/ChartActionsList/ChartActionsList.d.ts +1 -1
- package/components/ChartActionsList/ChartActionsList.js +1 -1
- package/components/Chip/index.d.ts +1 -1
- package/components/CollapsableSidebar.d.ts +2 -2
- package/components/CollapsableSidebar.js +1 -1
- package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.js +1 -1
- package/components/Comment/index.d.ts +3 -3
- package/components/Comment/index.js +1 -1
- package/components/CommentInput/index.d.ts +2 -2
- package/components/CommentInput/index.js +1 -1
- package/components/CommentsInfo/index.js +1 -1
- package/components/ConfirmationDialog.d.ts +5 -5
- package/components/ContextMenuItem/index.d.ts.map +1 -1
- package/components/CopyToClipboard/CopyToClipboard.d.ts.map +1 -1
- package/components/DevCenter/AppHeader/AppHeader.d.ts.map +1 -1
- package/components/DevCenter/AppHeader/AppHeader.js +1 -1
- package/components/DevCenter/AppHeader/AppHeaderStyles.d.ts +1 -1
- package/components/DevCenter/AppsDataProvider/AppsDataProvider.d.ts.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/assetDashboard/wellAssetDashboard/appWithDefaultSettings.d.ts.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/dataResolvers.d.ts.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/dataResolvers.js +1 -1
- package/components/DevCenter/AppsDataProvider/effects/useAppsData.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +1 -1
- 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/styles.d.ts +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.d.ts.map +1 -1
- package/components/DevCenter/DevCenterRouterContext/effects/useDevCenterRouter.d.ts.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.d.ts.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
- package/components/DevCenter/SideBar/SideBar.d.ts +3 -3
- package/components/DocumentViewer/DocumentViewer.d.ts.map +1 -1
- package/components/DocumentViewer/DocumentViewer.js +1 -1
- package/components/Drillstring/BHAComponentDetail/index.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentDetail/index.js +1 -1
- package/components/Drillstring/BHAComponentsTable/BHAComponentsTable.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/BHAComponentsTable.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Browser.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Browser.js +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/Bit/Browser.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Browser.js +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/Component.d.ts +1 -1
- 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/DrillCollar/Browser.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Browser.js +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/DrillPipe/Browser.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Browser.js +1 -1
- 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/EditComponentDialog.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Header.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Browser.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Browser.js +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/Lwd/Browser.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Browser.js +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/Measurement.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Measurement.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Browser.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Browser.js +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/NozzleSize/index.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/NozzleSize/index.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Browser.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Browser.js +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/PressureLoss/index.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/PressureLoss/index.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Browser.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Browser.js +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/SortableComponent.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Browser.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Browser.js +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/Sub/Browser.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Browser.js +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/Suggestions/Suggestions.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Suggestions/Suggestions.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Browser.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Browser.js +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/shared/CancelButton.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- 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/SaveButton.d.ts.map +1 -1
- 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/SharedEditorElements.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/SharedEditorElements.js +1 -1
- 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/utils/calculation.d.ts.map +1 -1
- package/components/Drillstring/BHAList/BHAList.d.ts.map +1 -1
- package/components/Drillstring/BHAList/BHAList.js +1 -1
- package/components/Drillstring/BHASchematic.d.ts.map +1 -1
- package/components/Drillstring/BHATable/index.d.ts.map +1 -1
- package/components/Drillstring/BHATable/index.js +1 -1
- package/components/Drillstring/BHATile/BHATile.d.ts.map +1 -1
- package/components/Drillstring/BHATile/BHATile.js +1 -1
- package/components/Drillstring/BHATileIcon.d.ts.map +1 -1
- package/components/Drillstring/BhaIndicator/BhaIndicator.d.ts +1 -1
- package/components/Drillstring/BhaIndicator/BhaIndicator.d.ts.map +1 -1
- package/components/Drillstring/DrillstringDetail/DrillstringDetail.d.ts.map +1 -1
- package/components/Drillstring/DrillstringDetail/DrillstringDetail.js +1 -1
- package/components/EditableItem/EditableItemWithBadge/index.d.ts.map +1 -1
- package/components/EmbeddedApp/DevCenterEmbeddedApp.js +1 -1
- package/components/EmbeddedApp/EmbeddedApp.js +1 -1
- package/components/EmbeddedApp/components/AppInfo.d.ts.map +1 -1
- package/components/EmojiIconButton.d.ts.map +1 -1
- package/components/EmptyState/styles.d.ts +1 -1
- package/components/EmptyView/EmptyAppView/components/ErrorSubtitleWithIntercomLink.d.ts.map +1 -1
- package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.d.ts.map +1 -1
- package/components/ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js +1 -1
- package/components/FeedItem/FeedItem.d.ts.map +1 -1
- package/components/FeedItem/FeedItem.js +1 -1
- package/components/FeedItem/FeedItemEditProvider/FeedItemEditModal.js +1 -1
- package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.d.ts +1 -1
- package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.d.ts.map +1 -1
- package/components/FeedItem/FeedItemEditProvider/FeedItemEditProvider.js +1 -1
- package/components/FeedItem/components/Actions.d.ts.map +1 -1
- package/components/FeedItem/components/Actions.js +1 -1
- package/components/FeedItem/components/AvatarIcon.d.ts.map +1 -1
- package/components/FeedItem/components/Content.d.ts.map +1 -1
- package/components/FeedItem/components/Content.js +1 -1
- package/components/FeedItem/components/FeedComments.d.ts.map +1 -1
- package/components/FeedItem/components/Icon.js +1 -1
- package/components/FeedItem/components/RigAndWell.d.ts.map +1 -1
- package/components/FeedItem/editModals/DvdCommentEdit/DvdCommentEdit.d.ts.map +1 -1
- package/components/FeedItem/editModals/DvdCommentEdit/DvdCommentEdit.js +1 -1
- package/components/FeedItem/editModals/HookloadCommentEdit/HookloadCommentEdit.d.ts.map +1 -1
- package/components/FeedItem/editModals/NptLessonsCommentEdit/NptLessonsCommentEdit.d.ts.map +1 -1
- package/components/FeedItem/editModals/PCCommentEdit/PCCommentEdit.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/AlertFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/AppAnnotationFeedItem/index.js +1 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/BhaFeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/BhaFeedItem/components/BhaSchematic.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/CompletionDailyCostFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/CompletionNptFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/CompletionOperationSummaryFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/CompletionOperationalNoteFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/DepthCommentFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/DrillerMemoFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/DrillingDailyCostFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/DrillingOperationSummaryFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/DrillingOperationalNoteFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/FluidReportFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/GeosteeringFeedItem.d.ts +1 -1
- package/components/FeedItem/feedItemTypes/GeosteeringFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js +1 -1
- package/components/FeedItem/feedItemTypes/NptFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/PCCommentFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/PostFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/NoData.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/PredictionsItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/Stages.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/Stages.js +1 -1
- package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/components/Stages/utils.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/index.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/StageOverviewFeedItem/index.js +1 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/components/Warning.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/SurveyStationFeedItem/index.js +1 -1
- package/components/FeedItem/feedItemTypes/TracesMemoFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/constants.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/WellPlanFeedItem/index.js +1 -1
- package/components/FilePreview/index.d.ts +1 -1
- package/components/FilePreview/index.js +1 -1
- package/components/FileTypeIcon.d.ts.map +1 -1
- package/components/FileUploadIconButton.d.ts.map +1 -1
- package/components/FilesLoader/Icons/FileIcon.d.ts.map +1 -1
- package/components/FilesLoader/effects/useUploadingFile.d.ts.map +1 -1
- package/components/FilesLoader/useStyles.d.ts.map +1 -1
- package/components/FolderMenuItem/index.d.ts.map +1 -1
- package/components/FolderMenuItemWithLinks/index.d.ts.map +1 -1
- package/components/GoogleDocsViewer/index.d.ts.map +1 -1
- package/components/GoogleDocsViewer/index.js +1 -1
- package/components/GoogleDocsViewer/styles.d.ts +1 -1
- package/components/HeaderLayout/effects/index.d.ts.map +1 -1
- package/components/HeaderLayout/effects/index.js +1 -1
- package/components/Icons/GppGoodIcon.d.ts.map +1 -1
- package/components/Icons/RecommendationIcon.d.ts.map +1 -1
- package/components/Icons/SendIcon.d.ts.map +1 -1
- package/components/ImageViewer/index.d.ts.map +1 -1
- package/components/InfiniteList/index.d.ts.map +1 -1
- package/components/InfiniteList/index.js +1 -1
- package/components/KeyboardDateTimePicker.d.ts.map +1 -1
- package/components/MenuItem/index.d.ts.map +1 -1
- package/components/MiddleTruncate/MiddleTruncate.d.ts.map +1 -1
- package/components/NewDocumentViewer/styles.d.ts +1 -1
- package/components/OffsetWellMap/WellTooltip.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/MultiSelect.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +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/Map/Map.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/components/Map/Map.js +1 -1
- package/components/OffsetWellPickerV2/components/Map/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/components/Map/popupGenerator.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsSelect.d.ts +2 -2
- package/components/OffsetWellPickerV2/components/Table/index.d.ts +1 -1
- package/components/OffsetWellPickerV2/components/Table/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/components/Table/index.js +1 -1
- package/components/OffsetWellPickerV2/constants.d.ts +1 -0
- package/components/OffsetWellPickerV2/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/effects/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/effects/index.js +1 -1
- package/components/OffsetWellPickerV2/utils/apiCalls.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/Map.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/popupGenerator.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Map/utils.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AssetResultSection.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AutoCompleteAssetSearch/AssetTypesSection.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsSelect.d.ts +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/constants.d.ts +1 -0
- package/components/OffsetWellPickerV3/components/CustomSelectionView/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/effects/index.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/components/OffsetWellPickerV3/index.js +1 -1
- package/components/OffsetWellPickerV3/utils/apiCalls.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/utils/apiCalls.js +1 -1
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
- package/components/OffsetWellPickerV4/components/AppHeader/AppHeader.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/AppHeader/AppHeader.js +1 -1
- package/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/CustomInfoIcon/CustomInfoIcon.js +1 -1
- package/components/OffsetWellPickerV4/components/Filter/Filter.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
- package/components/OffsetWellPickerV4/components/Filter/PeriodSelect.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/Filter/RadiusInput.d.ts +2 -2
- package/components/OffsetWellPickerV4/components/Filter/RadiusInput.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/Filter/RadiusInput.js +1 -1
- package/components/OffsetWellPickerV4/components/Filter/SingleSelect.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/Filter/WellSection.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetResultSection.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AssetTypesSection.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.d.ts +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/AutoCompleteAssetSearch.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSelect.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSelect.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableHead.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTableRow.js +1 -1
- package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
- package/components/OffsetWellPickerV4/constants.d.ts +1 -0
- package/components/OffsetWellPickerV4/constants.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/effects/useAdvancedWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/effects/useAdvancedWells.js +1 -1
- package/components/OffsetWellPickerV4/effects/useAssetsData.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/effects/useBicWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/effects/useFetchWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/effects/useFilterOptions.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/effects/useFilteredWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/effects/useSortedWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/effects/useTableColumns.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/utils/apiCalls.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/utils/apiCalls.js +1 -1
- package/components/OffsetWellPickerV4/utils/index.d.ts.map +1 -1
- package/components/OffsetWellPickerV4/utils/index.js +1 -1
- package/components/OffsetWellPickerV4/utils/timePeriod.d.ts.map +1 -1
- package/components/PadModeSelect/PadModeSelect.d.ts +1 -1
- package/components/PadModeSelect/PadModeSelect.d.ts.map +1 -1
- package/components/PadModeSelect/PadModeSelect.js +1 -1
- package/components/PadModeSelect/utils.d.ts.map +1 -1
- package/components/PadOffsetsPicker/OffsetAssetChip.d.ts.map +1 -1
- package/components/PadOffsetsPicker/OffsetAssetsListExpander.d.ts.map +1 -1
- package/components/PadOffsetsPicker/PadOffsetsPicker.d.ts.map +1 -1
- package/components/PadOffsetsPicker/StagesSelector.d.ts.map +1 -1
- package/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.d.ts.map +1 -1
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/components/ParameterCharts/AddEditTrack.d.ts +2 -2
- package/components/ParameterCharts/AddEditTrack.js +1 -1
- package/components/ParameterCharts/ParameterCharts.d.ts.map +1 -1
- package/components/ParameterCharts/ParameterCharts.js +1 -1
- package/components/ParameterCharts/components/ChartContainer.js +1 -1
- package/components/ParameterCharts/components/Charts/LineChart.d.ts.map +1 -1
- package/components/ParameterCharts/components/DataLoadingIndicator.d.ts +1 -1
- package/components/ParameterCharts/components/SingleChannelTrackSettings.js +1 -1
- package/components/ParameterCharts/components/Tooltip/Tooltip.js +1 -1
- package/components/ParameterCharts/components/TraceHeader.js +1 -1
- package/components/ParameterCharts/components/TraceSettings.js +1 -1
- package/components/ParameterCharts/components/Track.d.ts.map +1 -1
- package/components/ParameterCharts/components/Track.js +1 -1
- package/components/ParameterCharts/components/TrackSettings.d.ts +1 -1
- package/components/ParameterCharts/components/TrackSettings.js +1 -1
- package/components/ParameterCharts/constants.d.ts.map +1 -1
- package/components/PinnableFilters/effects/index.js +1 -1
- package/components/PostInput/PostInput.d.ts.map +1 -1
- package/components/PostInput/PostInput.js +1 -1
- package/components/PostPreviewDialog/index.d.ts +2 -2
- package/components/PostPreviewDialog/index.js +1 -1
- package/components/Search/Search.d.ts.map +1 -1
- package/components/Search/Search.js +1 -1
- package/components/Search/components/Groups.d.ts.map +1 -1
- package/components/Search/components/InputAdornmentLeft.d.ts.map +1 -1
- package/components/Search/components/Listbox.d.ts +1 -1
- package/components/Search/components/Paper.d.ts.map +1 -1
- package/components/Search/components/Paper.js +1 -1
- package/components/Search/styles.d.ts +1 -1
- package/components/SlateFormattedText/RenderElements.d.ts.map +1 -1
- package/components/StageDesignVActual/ComparisonBar/ComparisonBar.js +1 -1
- package/components/StageDesignVActual/ComparisonRow.js +1 -1
- package/components/StageDesignVActual/ElementsComparison/ElementsComparison.js +1 -1
- package/components/Stepper/Step/Step.js +1 -1
- package/components/Stepper/Step/styles.d.ts +1 -1
- package/components/Stepper/Step/styles.js +1 -1
- package/components/Stepper/Stepper.stories.d.ts +1 -0
- package/components/Stepper/Stepper.stories.d.ts.map +1 -1
- package/components/Stepper/StepsWrapper.js +1 -1
- package/components/Table/TableCell/TableCell.d.ts.map +1 -1
- package/components/Table/TablePagination/TablePagination.d.ts +5 -5
- package/components/Table/TableSortLabel/TableSortLabel.d.ts.map +1 -1
- package/components/Template/TemplatePopover/index.d.ts.map +1 -1
- package/components/Template/TemplateSharingDialog/UsersChipSelector.d.ts.map +1 -1
- package/components/Template/TemplateSharingDialog/UsersChipSelector.js +1 -1
- package/components/Template/TemplateSharingDialog/index.js +1 -1
- package/components/TracesEditModal/TracesEditModal.js +1 -1
- package/components/TracesEditModal/TracesEditModalContainer.d.ts.map +1 -1
- package/components/TracesEditModal/TracesEditModalContainer.js +1 -1
- package/components/TruncatedText/index.d.ts.map +1 -1
- package/components/Typography.d.ts +27 -27
- package/components/UserCard/index.d.ts +2 -2
- package/components/UserCard/index.js +1 -1
- package/components/UserCardPopover.d.ts +2 -2
- package/components/UserMention/index.js +1 -1
- package/components/UserMention/utils/index.d.ts.map +1 -1
- package/components/UserMention/utils/index.js +1 -1
- package/components/VirtualizedTable/VirtualizedTable.d.ts +3 -3
- package/components/WellSummary/ActivitySummaryChart.js +1 -1
- package/components/WellSummary/FracWirelineTimeChart.d.ts.map +1 -1
- package/components/WellSummary/WellSummaryItemValue.d.ts +1 -1
- package/components/WellSummary/WellSummaryItemValue.d.ts.map +1 -1
- package/components/WellSummary/effects/useWellSummaryData.d.ts.map +1 -1
- package/components/WellSummary/effects/useWellSummaryData.js +1 -1
- package/components/WellSummary/utils.d.ts.map +1 -1
- package/config/mapbox/index.d.ts.map +1 -1
- package/config/theme/index.js +1 -1
- package/constants/goals.d.ts +1 -0
- package/constants/goals.d.ts.map +1 -1
- package/effects/useDevCenterApp.d.ts.map +1 -1
- package/effects/useSignedURL.d.ts.map +1 -1
- package/effects/useSubscriptions.d.ts.map +1 -1
- package/effects/useSubscriptions.js +1 -1
- package/exampleApp/ChartActionsListExample.d.ts.map +1 -1
- package/exampleApp/ParameterChartExample.d.ts.map +1 -1
- package/hocs/withAssetEditorLockHOC.d.ts.map +1 -1
- package/hocs/withMUIProvidersHOC.d.ts.map +1 -1
- package/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/permissions/ProvidePermissions.d.ts.map +1 -1
- package/permissions/constants/index.d.ts +1 -0
- package/permissions/constants/index.d.ts.map +1 -1
- package/permissions/constants/index.js +1 -1
- package/permissions/useProvidePermissions.d.ts.map +1 -1
- package/permissions/useProvidePermissions.js +1 -1
- package/permissions/withPermissionsHOC.d.ts.map +1 -1
- package/permissions/withPermissionsHOC.js +1 -1
- package/utils/FluidCheckUtils.d.ts.map +1 -1
- package/utils/__tests__/fixtures/convert.fixture.d.ts +0 -7
- package/utils/__tests__/fixtures/convert.fixture.d.ts.map +1 -1
- package/utils/accuracy.d.ts +1 -1
- package/utils/bha.d.ts.map +1 -1
- package/utils/casing/conversion.js +1 -1
- package/utils/casing/validation.d.ts.map +1 -1
- package/utils/constants/units.d.ts +12 -0
- package/utils/constants/units.d.ts.map +1 -1
- package/utils/constants/units.js +1 -1
- package/utils/convert.d.ts.map +1 -1
- package/utils/convert.js +1 -1
- package/utils/devcenterToasts.d.ts.map +1 -1
- package/utils/drillstring/conversion.d.ts.map +1 -1
- package/utils/drillstring/validation.d.ts.map +1 -1
- package/utils/feed.d.ts.map +1 -1
- package/utils/filePreview.d.ts.map +1 -1
- package/utils/filePreview.js +1 -1
- package/utils/index.d.ts.map +1 -1
- package/utils/index.js +1 -1
- package/utils/main.d.ts.map +1 -1
- package/utils/mapbox.d.ts +1 -1
- package/utils/mapbox.d.ts.map +1 -1
- package/utils/metrics/metricsConfig.d.ts +3 -0
- package/utils/metrics/metricsConfig.d.ts.map +1 -1
- package/utils/metrics/metricsConfig.js +1 -1
- package/utils/metrics/utils.d.ts.map +1 -1
- package/utils/notificationToasts.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import o from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as r}from"react";import{MoveInIcon as
|
|
1
|
+
import o from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as r}from"react";import e from"../ChartButton.js";import s from"../../ChartWrapperContext.js";import{MoveInIcon as i}from"../../../../icons/iconParkIcons.js";import"../../../../icons/customIcons/icons/AddMessage.js";import"../../../../icons/customIcons/icons/Attention.js";import"../../../../icons/customIcons/icons/Collapse.js";import"../../../../icons/customIcons/icons/Expand.js";import"../../../../icons/customIcons/icons/FolderClosed.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/Wellhub.js";import"../../../../icons/customIcons/icons/MultiRuler.js";import{jsx as n}from"react/jsx-runtime";var c=["onClick","isHidden"];function p(o,t){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(o);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable}))),r.push.apply(r,e)}return r}function m(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?p(Object(e),!0).forEach((function(r){o(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):p(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}var l=function(o){var p=o.onClick,l=void 0===p?function(){}:p,u=o.isHidden,a=void 0!==u&&u,f=t(o,c),j=r(s),d=j.isMinHeightChart,b=j.isZoomEnabled,O=j.handleIsZoomEnabledChange;return n(e,m(m({},f),{},{tooltipProps:m({title:"Drag To Zoom",placement:"left"},f.tooltipProps),isActive:b,onClick:function(){O(!0),l()},isHidden:d||a,children:n(i,{size:16})}))};l.defaultProps={onClick:function(){},isHidden:!1,tooltipProps:{}};export{l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HideAxesButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chart/components/buttons/HideAxesButton.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"HideAxesButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chart/components/buttons/HideAxesButton.js"],"names":[],"mappings":";AAiBA,yDAsBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import o from"@babel/runtime/helpers/defineProperty";import{useContext as t}from"react";import r from"classnames";import{makeStyles as s}from"@material-ui/core";import{ExpandIcon as
|
|
1
|
+
import o from"@babel/runtime/helpers/defineProperty";import{useContext as t}from"react";import r from"classnames";import{makeStyles as s}from"@material-ui/core";import e from"../ChartButton.js";import i from"../../ChartWrapperContext.js";import"@babel/runtime/helpers/slicedToArray";import"lodash";import"../../../../utils/main.js";import{useHideAxes as c}from"../../effects/useHideAxes.js";import"../../effects/useChartModifier.js";import{ExpandIcon as n,CollapseIcon as m}from"../../../../icons/iconParkIcons.js";import"../../../../icons/customIcons/icons/AddMessage.js";import"../../../../icons/customIcons/icons/Attention.js";import"../../../../icons/customIcons/icons/Collapse.js";import"../../../../icons/customIcons/icons/Expand.js";import"../../../../icons/customIcons/icons/FolderClosed.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/Wellhub.js";import"../../../../icons/customIcons/icons/MultiRuler.js";import{jsx as p}from"react/jsx-runtime";function a(o,t){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(o);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable}))),r.push.apply(r,s)}return r}function l(t){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?a(Object(s),!0).forEach((function(r){o(t,r,s[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):a(Object(s)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(s,o))}))}return t}var u=s({icon:{top:0,transform:"rotate(45deg)"}}),f=function(o){var s=t(i),a=s.chart,f=s.handleChangeChartStyles,j=c({chart:a,onChartStylesChange:f}),d=j.isHiddenAxes,h=j.handleAxesHide,O=u();return p(e,l(l({},o),{},{className:r(O.hideAxesButton,o.className),tooltipProps:l({title:d?"Show Axes":"Hide Axes"},o.tooltipProps),onClick:h,children:p(d?n:m,{className:O.icon,size:16})}))};f.defaultProps={tooltipProps:{}};export{f as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PanButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chart/components/buttons/PanButton.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"PanButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chart/components/buttons/PanButton.js"],"names":[],"mappings":";AAOA;;;;gBAqBC;;;QAGU,yBAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import o from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as e}from"react";import{FiveIcon as
|
|
1
|
+
import o from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as e}from"react";import r from"../ChartButton.js";import s from"../../ChartWrapperContext.js";import{FiveIcon as i}from"../../../../icons/iconParkIcons.js";import"../../../../icons/customIcons/icons/AddMessage.js";import"../../../../icons/customIcons/icons/Attention.js";import"../../../../icons/customIcons/icons/Collapse.js";import"../../../../icons/customIcons/icons/Expand.js";import"../../../../icons/customIcons/icons/FolderClosed.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/Wellhub.js";import"../../../../icons/customIcons/icons/MultiRuler.js";import{jsx as n}from"react/jsx-runtime";var c=["onClick","isHidden"];function p(o,t){var e=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable}))),e.push.apply(e,r)}return e}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach((function(e){o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}var l=function(o){var p=o.onClick,l=void 0===p?function(){}:p,u=o.isHidden,a=void 0!==u&&u,d=t(o,c),f=e(s),j=f.zoomStatus,b=f.isMinHeightChart,O=f.isZoomEnabled,h=f.handleIsZoomEnabledChange;return n(r,m(m({},d),{},{disabled:j.isReset,tooltipProps:m({title:"Pan",placement:"left"},d.tooltipProps),isActive:!O,onClick:function(){h(!1),l()},isHidden:b||a,children:n(i,{size:16})}))};l.defaultProps={onClick:function(){},isHidden:!1,tooltipProps:{}};export{l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetZoomButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chart/components/buttons/ResetZoomButton.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ResetZoomButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chart/components/buttons/ResetZoomButton.js"],"names":[],"mappings":";AAOA;;;;;gBAoBC;;;QAGU,yBAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import o from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as s}from"react";import{UndoIcon as
|
|
1
|
+
import o from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as s}from"react";import e from"../../ChartWrapperContext.js";import i from"../ChartButton.js";import{UndoIcon as r}from"../../../../icons/iconParkIcons.js";import"../../../../icons/customIcons/icons/AddMessage.js";import"../../../../icons/customIcons/icons/Attention.js";import"../../../../icons/customIcons/icons/Collapse.js";import"../../../../icons/customIcons/icons/Expand.js";import"../../../../icons/customIcons/icons/FolderClosed.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/Wellhub.js";import"../../../../icons/customIcons/icons/MultiRuler.js";import{jsx as n}from"react/jsx-runtime";var c=["onClick","isHidden","isVisible"];function p(o,t){var s=Object.keys(o);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(o);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable}))),s.push.apply(s,e)}return s}function m(t){for(var s=1;s<arguments.length;s++){var e=null!=arguments[s]?arguments[s]:{};s%2?p(Object(e),!0).forEach((function(s){o(t,s,e[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):p(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}var l=function(o){var p=o.onClick,l=void 0===p?function(){}:p,u=o.isHidden,a=void 0!==u&&u,f=o.isVisible,j=void 0!==f&&f,d=t(o,c),b=s(e),O=b.isMinHeightChart,h=b.handleResetZoom,P=b.zoomStatus.isReset||O||a;return n(i,m(m({},d),{},{onClick:function(){h(),l()},tooltipProps:m({title:"Reset Zoom",placement:"left"},d.tooltipProps),isHidden:P&&!j,children:n(r,{size:16})}))};l.defaultProps={onClick:function(){},isHidden:!1,isVisible:!1,tooltipProps:{}};export{l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZoomInButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chart/components/buttons/ZoomInButton.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ZoomInButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chart/components/buttons/ZoomInButton.js"],"names":[],"mappings":";AASA;;;gBAuBC;;;QAGU,yBAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import o from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as r}from"react";import{PlusIcon as
|
|
1
|
+
import o from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as r}from"react";import e from"../../ChartWrapperContext.js";import{ZOOM_TYPE as s,HOT_KEYS as n}from"../../constants.js";import i from"../ChartButton.js";import"@babel/runtime/helpers/slicedToArray";import"lodash";import"../../../../utils/main.js";import{useKeyboardControl as c}from"../../effects/useKeyboardControl.js";import"../../effects/useChartModifier.js";import{PlusIcon as p}from"../../../../icons/iconParkIcons.js";import"../../../../icons/customIcons/icons/AddMessage.js";import"../../../../icons/customIcons/icons/Attention.js";import"../../../../icons/customIcons/icons/Collapse.js";import"../../../../icons/customIcons/icons/Expand.js";import"../../../../icons/customIcons/icons/FolderClosed.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/Wellhub.js";import"../../../../icons/customIcons/icons/MultiRuler.js";import{jsx as m}from"react/jsx-runtime";var l=["onClick"];function a(o,t){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(o);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable}))),r.push.apply(r,e)}return r}function u(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?a(Object(e),!0).forEach((function(r){o(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):a(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}var f=function(o){var a=o.onClick,f=void 0===a?function(){}:a,j=t(o,l),b=r(e),d=b.zoomStatus,O=b.handleZoomEvent,h=function(){O(s.zoomIn),f()};return c({keyCode:n.arrowUp,callback:h}),m(i,u(u({},j),{},{onClick:h,disabled:d.isMax,tooltipProps:u({title:"Zoom In",placement:"left"},j.tooltipProps),children:m(p,{size:16})}))};f.defaultProps={onClick:function(){},tooltipProps:{}};export{f as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZoomOutButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chart/components/buttons/ZoomOutButton.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ZoomOutButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chart/components/buttons/ZoomOutButton.js"],"names":[],"mappings":";AASA;;;gBAuBC;;;QAGU,yBAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import o from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as r}from"react";import{MinusIcon as
|
|
1
|
+
import o from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/objectWithoutProperties";import{useContext as r}from"react";import e from"../../ChartWrapperContext.js";import{ZOOM_TYPE as s,HOT_KEYS as i}from"../../constants.js";import n from"../ChartButton.js";import"@babel/runtime/helpers/slicedToArray";import"lodash";import"../../../../utils/main.js";import{useKeyboardControl as c}from"../../effects/useKeyboardControl.js";import"../../effects/useChartModifier.js";import{MinusIcon as p}from"../../../../icons/iconParkIcons.js";import"../../../../icons/customIcons/icons/AddMessage.js";import"../../../../icons/customIcons/icons/Attention.js";import"../../../../icons/customIcons/icons/Collapse.js";import"../../../../icons/customIcons/icons/Expand.js";import"../../../../icons/customIcons/icons/FolderClosed.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/Wellhub.js";import"../../../../icons/customIcons/icons/MultiRuler.js";import{jsx as m}from"react/jsx-runtime";var l=["onClick"];function u(o,t){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(o);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable}))),r.push.apply(r,e)}return r}function a(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?u(Object(e),!0).forEach((function(r){o(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):u(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}var f=function(o){var u=o.onClick,f=void 0===u?function(){}:u,j=t(o,l),b=r(e),d=b.handleZoomEvent,O=b.zoomStatus,h=function(){d(s.zoomOut),f()};return c({keyCode:i.arrowDown,callback:h}),m(n,a(a({},j),{},{onClick:h,tooltipProps:a({title:"Zoom Out",placement:"left"},j.tooltipProps),disabled:O.isReset,children:m(p,{size:16})}))};f.defaultProps={onClick:function(){},tooltipProps:{}};export{f as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useChartModifier.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/effects/useChartModifier.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useChartModifier.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/effects/useChartModifier.js"],"names":[],"mappings":"AAeO;;;;;;;;SAuEN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useZoom.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/effects/useZoom.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useZoom.d.ts","sourceRoot":"","sources":["../../../../src/components/Chart/effects/useZoom.js"],"names":[],"mappings":"AAcO;;;;;;;;;;;;;EAkIN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../src/components/Chart/options.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../src/components/Chart/options.js"],"names":[],"mappings":";AAkBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqLC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/Chart/utils.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/Chart/utils.js"],"names":[],"mappings":"AAIO,8CAA2D;AAE3D,8CAA2D;AAE3D;;;;WACyC;AAEzC,6EAKN;AAEM,6EAKN;AAEM;;;;;;UASN;AAEM;;;;;YAMN;AAEM,yDAUN;AAEM,gDAEN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{ZOOM_TYPE as n,MAX_ZOOM as o}from"./constants.js";import"../../utils/main.js";var t=function(n){return null==n?void 0:n.xAxis[0].getExtremes()},r=function(n){return null==n?void 0:n.yAxis[0].getExtremes()},e=function(n){var t=n.extremes,r=n.step,e=n.maxZoom;return(void 0===e?o:e)-(t.max-t.min)/r},m=function(n,o){return n<=o?o:n},u=function(n,o){return n>=o?o:n},i=function(t){var r=t.min,e=t.max,m=t.zoomType,u=t.zoomStep,i=t.scale;return m===n.zoomIn?Math.round(r+u)===Math.round(e-u)||i>o-1?[r,e]:[r+u,e-u]:[r-u,e+u]},a=function(o){var t=o.min,r=o.max,e=o.zoomStep;return o.zoomType===n.zoomIn&&Math.round(t+e)===Math.round(r-e)};export{e as getChartScale,u as getCurrentMaxValue,m as getCurrentMinValue,a as getIsMaxZoom,i as getNextZoomCoordinates,t as getXExtremes,r as getYExtremes};
|
|
@@ -12,7 +12,7 @@ declare const _default: import("react").ComponentType<Pick<Pick<{
|
|
|
12
12
|
left: PropTypes.Validator<number>;
|
|
13
13
|
right: PropTypes.Validator<number>;
|
|
14
14
|
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
15
|
-
}>, "
|
|
15
|
+
}>, "classes" | "left" | "right" | "onChange" | "max" | "min">, "left" | "right" | "onChange" | "max" | "min"> & import("@material-ui/core").StyledComponentProps<"input">>;
|
|
16
16
|
export default _default;
|
|
17
17
|
import PropTypes from "prop-types";
|
|
18
18
|
//# sourceMappingURL=ChartActionsList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import i from"@babel/runtime/helpers/slicedToArray";import{useState as e,useEffect as r}from"react";import n from"prop-types";import o from"classnames";import{withStyles as a,Button as t,TextField as s}from"@material-ui/core";import l from"
|
|
1
|
+
import i from"@babel/runtime/helpers/slicedToArray";import{useState as e,useEffect as r}from"react";import n from"prop-types";import o from"classnames";import{withStyles as a,Button as t,TextField as s}from"@material-ui/core";import l from"./icons/LeftArrow.js";import c from"./icons/GoLive.js";import m from"./icons/RightArrow.js";import d from"./icons/ZoomIn.js";import f from"./icons/TimeRange.js";import p from"./icons/ZoomOut.js";import u from"./ChartActionsList.css.js";import h from"../Modal/Modal.js";import{jsxs as v,jsx as g}from"react/jsx-runtime";var b=function(n){var a=n.onChange,b=n.min,C=n.max,k=n.left,A=n.right,N=n.classes,R=e(!1),j=i(R,2),y=j[0],q=j[1],x=e(k),L=i(x,2),F=L[0],T=L[1],I=e(A),P=i(I,2),V=P[0],w=P[1];r((function(){w(A),T(k)}),[k,A]);var M=A-k>=1,W=b<k||C>A,Z=k>b,G=A<C,J=A!==C,O=F<b||V>C||F+1>V,S=function(){q(!1)};return v("div",{className:u.container,children:[g("span",{className:o(u.action,!M&&u.disabled),onClick:function(){var i=A-k,e=k+i/4,r=A-i/4,n=r-e;if(n<1){var o=(1-n)/2;e+=o,r-=o}a({left:e,right:r})},children:g(d,{isActive:M})}),g("span",{className:o(u.action,!W&&u.disabled),onClick:function(){var i=A-k,e=k-i/2,r=A+i/2,n=r-e;e<b&&r>C?(e=b,r=C):e<b?(e=b,r=b+n):r>C&&(r=C,e=C-n),a({left:e,right:r})},children:g(p,{isActive:W})}),g("span",{className:o(u.action,!Z&&u.disabled),onClick:function(){var i=.75*(A-k),e=k-i,r=A-i;e<b&&(e=b,r=b+i),a({left:e,right:r})},children:g(l,{isActive:Z})}),g("span",{className:o(u.action,!G&&u.disabled),onClick:function(){var i=.75*(A-k),e=k+i,r=A+i;r>C&&(r=C,e=C-i),a({left:e,right:r})},children:g(m,{isActive:G})}),g("span",{className:o(u.action,!J&&u.disabled),onClick:function(){a({left:k,right:C})},children:g(c,{isActive:J})}),g("span",{className:u.action,onClick:function(){q(!0)},children:g(f,{})}),g(h,{open:y,onClose:S,title:"Jump to Selected Range",actions:v("div",{className:u.actions,children:[g(t,{variant:"textPrimary",onClick:S,children:"Cancel"}),g(t,{variant:"contained",color:"primary",onClick:function(){a({left:F,right:V}),q(!1)},disabled:O,children:"Apply"})]}),children:v("form",{noValidate:!0,className:u.form,children:[g(s,{id:"depth-from",label:"From",type:"number",defaultValue:F,onChange:function(i){T(parseFloat(i.target.value))},InputLabelProps:{shrink:!0},error:F<b,autoFocus:!0,className:N.input,fullWidth:!0}),g(s,{id:"depth-from",label:"To",type:"number",defaultValue:V,onChange:function(i){w(parseFloat(i.target.value))},InputLabelProps:{shrink:!0},error:V>C,fullWidth:!0})]})})]})};b.propTypes={onChange:n.func.isRequired,min:n.number.isRequired,max:n.number.isRequired,left:n.number.isRequired,right:n.number.isRequired,classes:n.shape({}).isRequired};var C=a({input:{marginRight:20}})(b);export{C as default};
|
|
@@ -4,7 +4,7 @@ import { ChipProps as MuiChipProps } from '@material-ui/core';
|
|
|
4
4
|
interface ChipProps extends Omit<MuiChipProps, 'variant'>, PropTypes.InferProps<typeof chipPropTypes> {
|
|
5
5
|
variant?: 'default' | 'outlined' | 'basic';
|
|
6
6
|
}
|
|
7
|
-
declare const Chip: import("react").ForwardRefExoticComponent<Pick<ChipProps, "
|
|
7
|
+
declare const Chip: import("react").ForwardRefExoticComponent<Pick<ChipProps, "children" | "className" | "data-testid" | "onClick" | "label" | "slot" | "style" | "title" | "tabIndex" | "role" | "id" | "classes" | "color" | "translate" | "hidden" | "size" | "icon" | "disabled" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "lang" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "variant" | "innerRef" | "checked" | "avatar" | "clickable" | "deleteIcon" | "onDelete"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
8
|
declare const chipPropTypes: {
|
|
9
9
|
checked: PropTypes.Requireable<boolean>;
|
|
10
10
|
'data-testid': PropTypes.Requireable<string>;
|
|
@@ -16,7 +16,7 @@ declare const _default: import("react").ComponentType<Pick<Pick<Pick<{
|
|
|
16
16
|
openedDrawerWidth: PropTypes.Requireable<NonNullable<string | number>>;
|
|
17
17
|
anchor: PropTypes.Requireable<string>;
|
|
18
18
|
closedWidth: PropTypes.Requireable<NonNullable<string | number>>;
|
|
19
|
-
}>, "
|
|
19
|
+
}>, "children" | "anchor" | "drawerPaperClassName" | "openedDrawerWidth" | "isToolbarGutterShown" | "onStateChange" | "initialState" | "closedWidth"> & Pick<{
|
|
20
20
|
classes: any;
|
|
21
21
|
children: any;
|
|
22
22
|
onStateChange: any;
|
|
@@ -33,7 +33,7 @@ declare const _default: import("react").ComponentType<Pick<Pick<Pick<{
|
|
|
33
33
|
onStateChange?: (...args: any[]) => any;
|
|
34
34
|
initialState?: boolean;
|
|
35
35
|
closedWidth?: NonNullable<string | number>;
|
|
36
|
-
} & {}, "
|
|
36
|
+
} & {}, "children" | "anchor" | "drawerPaperClassName" | "openedDrawerWidth" | "isToolbarGutterShown" | "onStateChange" | "initialState" | "closedWidth"> & import("@material-ui/core").StyledComponentProps<"list" | "drawer" | "drawerPaper" | "openToggleContainer" | "drawerClosed" | "openToggleIcon" | "openToggleIconClosed" | "openToggleIconButton" | "openToggleContainerCollapsed" | "openToggleContainerOpened"> & {
|
|
37
37
|
closedWidth: any;
|
|
38
38
|
}>;
|
|
39
39
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{useState as o}from"react";import r from"prop-types";import i from"classnames";import{noop as s}from"lodash";import{withStyles as n,Box as p,IconButton as a}from"@material-ui/core";import m from"@material-ui/icons/ChevronLeftRounded";import l from"@material-ui/icons/ChevronRightRounded";import"./DevCenter/AppHeader/AppHeader.js";import"./DevCenter/AppSideBar/AppSideBar.js";import"./DevCenter/AppsDataProvider/AppsDataProvider.js";import"@material-ui/icons";import"./Icons/AnnotationIcon.js";import"./Annotations/components/AnnotationsList/index.js";import"./Annotations/components/LastAnnotation/index.js";import"./Annotations/AnnotationsContext.js";import{jsxs as c,jsx as d}from"react/jsx-runtime";import"./DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"./DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"./DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../icons/WithCustomSize.js";import"../icons/IconParkProvider.js";import"../icons/customIcons/icons/AddMessage.js";import"../icons/customIcons/icons/Attention.js";import"../icons/customIcons/icons/Collapse.js";import"../icons/customIcons/icons/Expand.js";import"../icons/customIcons/icons/FolderClosed.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/Wellhub.js";import"../icons/customIcons/icons/MultiRuler.js";import"../utils/mobileDetect.js";import"./IconButton/index.js";import"../constants/goals.js";import"../constants/segment.js";import"../constants/alerts.js";import"../constants/apps.js";import"../constants/drillstring.js";import"../constants/completion.js";import"../constants/appPackages.js";import"../constants/notifications.js";import"../constants/feed.js";import"../constants/bha.js";import"../utils/env.js";import"./GradientManager/configuration/constants.js";import"./Modal/CorvaModal.css.js";import"uuid";import"./IconMenu/index.js";import"./StyledMenuItem/index.js";import"./AppIcon/AppIcon.js";import"./DevCenter/AppContext.js";import"./AssetEditor/index.js";import"./AssetEditorV2/index.js";import"./AppVersionsSelect/AppVersionsSelect.js";import"./LoadingIndicator/LoadingIndicator.js";import"./Typography.js";import"./RealTimeValuesSidebar/RealTimeSidebar.js";import"./DateTimePicker/index.js";import"./DatePicker/index.js";import"./ErrorBoundary/ErrorBoundary.js";import"./ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"./SlateFormattedText/SlateFormattedText.js";import"./SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"./EmptyState/EmptyState.js";import"./ParameterCharts/ParameterCharts.js";import"./ParameterCharts/AddEditTrack.js";import"./ChartActionsList/ChartActionsList.js";import"./CopyToClipboard/CopyToClipboard.js";import"./AssetEditor/AssetEditorAutocomplete.js";import"./AssetEditor/SingleAssetEditor.js";import"./SettingEditors/ColorEditor/index.js";import"./SettingEditors/DropdownEditor/index.js";import"./SettingEditors/RadioEditor/index.js";import"./SwitchControl/index.js";import"./ColorPicker/ColorPicker.js";import"./Chart/components/ChartButton.js";import"./Chart/components/ChartButtons.js";import"./Chart/components/ChartWrapper.js";import"./Chart/components/AxisDropdown.js";import"./Chart/components/ChartSelect.js";import"./Chart/components/buttons/DragToZoomButton.js";import"./Chart/components/buttons/ZoomInButton.js";import"./Chart/components/buttons/ZoomOutButton.js";import"./Chart/components/buttons/PanButton.js";import"./Chart/components/buttons/ResetZoomButton.js";import"./Chart/components/buttons/HideAxesButton.js";import"./Chart/components/buttons/ChartTypeButton.js";import"./ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"./TruncatedText/index.js";import"./MiddleTruncatedText/MiddleTruncatedText.js";import"./RangeSlider/RangeSlider.js";import"./AdvancedSlider/AdvancedSlider.js";import"./DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"./DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"./DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"./Breadcrumbs/index.js";import"./VirtualizedTable/index.js";import"./EmptyView/EmptyView.js";import"./EmptyView/EmptyAppView/EmptyAppView.js";import"./Button/components/Button/index.js";import"moment-timezone";import"./Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"./Button/components/LiveButton/styles.js";import"./ContextMenuItem/index.js";import"./FolderMenuItem/index.js";import"./EditableItem/EditableItem/index.js";import"./EditableItem/EditableItemWithBadge/index.js";import"./Checkbox/index.js";import"./FolderMenuItemWithLinks/index.js";import"./TextField/index.js";import"./Chip/index.js";import"./Counter/index.js";import"./AnchorsList/AnchorsList.js";import"./Select/index.js";import"./Select/SelectFilterBy.js";import"./CustomSelect/index.js";import"./Tabs/Tabs.js";import"./Tabs/Tab.js";import"./ResizableTable/ResizableTable.js";import"./GradientPicker/GradientPicker.js";import"./GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"./GradientManager/GradientPreview/GradientPreview.js";import"./GradientManager/GradientSelect.styles.js";import"./GradientManager/GradientManager.styles.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../clients/jsonApi/index.js";import"../clients/subscriptions.js";import"../clients/api/apiCore.js";import"../clients/constants.js";import"../clients/sso/auth0.js";import"../clients/sso/oauth2.js";import"./Drillstring/BHASchematic.js";import"./Drillstring/BHATable/index.js";import"./Drillstring/BHAComponentIcon.js";import"./Drillstring/BHAComponentDetail/index.js";import"./Drillstring/BHATileIcon.js";import"./Drillstring/BHATile/BHATile.js";import"./Drillstring/BHAList/BHAList.js";import"./Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"./Casing/CasingTable/index.js";import"./Casing/CasingComponentIcon.js";import"./Casing/CasingTileIcon.js";import"./Casing/CasingTableV2/CasingTableV2.js";import"./Casing/CasingTile/CasingTile.js";import"./DisabledSettingsMessage/DisabledSettingsMessage.js";import"./WellSummary/WellSummaryItemLabel.js";import"./WellSummary/WellSummaryItemTitle.js";import"./WellSummary/WellSummaryItemValue.js";import"./WellSummary/ActivitySummaryChart.js";import"./WellSummary/FracWirelineTimeChart.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"./BICOffsetPickerDialog/index.js";import"./OffsetWellButton/OffsetWellButton.js";import"./OffsetWellPickerV2/OffsetWellPickerDialog.js";import"./OffsetWellPickerV3/index.js";import"./OffsetWellChips/Chip.js";import"./OffsetWellChips/ChipsContainer.js";import"./OffsetWellPickerV4/utils/apiCalls.js";import"./OffsetWellPickerV4/effects/useAdvancedWells.js";import"./OffsetWellPickerV4/constants.js";import"../utils/index.js";import"react-virtualized";import"./OffsetWellPickerV4/effects/useAssetsData.js";import"./OffsetWellPickerV4/components/AppHeader/AppHeader.js";import"./OffsetWellPickerV4/components/Toolbar/Toolbar.js";import"./OffsetWellPickerV4/components/Filter/Filter.js";import"./OffsetWellPickerV4/components/Map/WellsMap.js";import"./OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js";import"./OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js";import"./OffsetWellPickerV4/utils/index.js";import"./OffsetWellPickerV4/OffsetWellPickerV4.module.css.js";import"../styles/typography/index.js";import"../styles/counter/counter.module.scss.js";import"./OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"./Notifications/Toast.js";import"./Toaster/Toaster.js";import"./ConfirmationDialog.js";import"./TextLink/index.js";import"./Avatar/index.js";import"./Template/TemplatePopover/index.js";import"./Template/TemplateSharingDialog/index.js";import"./MenuItem/index.js";import"./MiddleTruncate/MiddleTruncate.js";import"./PadModeSelect/PadModeSelect.js";import"./PinnableFilters/PinnableFilters.js";import"./HeaderLayout/HeaderLayout.js";import"./PadOffsetsPicker/PadOffsetsPicker.js";import"./PadOffsetsPicker/OffsetAssetChip.js";import"./PadOffsetsPicker/OffsetAssetsListExpander.js";import"./PadOffsetsPicker/StagesSelector.js";import"./PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"./Table/TableToolbar/TableToolbar.js";import"./Table/TableContainer/TableContainer.js";import"./Table/TableCell/TableCell.js";import"./Table/TablePagination/TablePagination.js";import"./Table/TablePaginationActions/TablePaginationActions.js";import"./Tooltip/ScrollableTooltip.js";import"./PriceInput/PriceInput.js";import"./LabelsCounter/LabelsCounter.js";import"./Stepper/Stepper.js";import"./Stepper/Step/Step.js";import"./Stepper/StepsWrapper.js";import"./Comment/CommentIcon/index.js";import"./FilesLoader/FilesLoader.js";import"./FilesLoader/Icons/FileIcon.js";import"./SearchInput/index.js";import"./FeedItem/FeedItem.js";import"./FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"./PostInput/PostInput.js";import"./KeyboardDateTimePicker.js";import"./AddComment/Popover.js";import"./AddComment/Popup.js";import"./StageDesignVActual/ComparisonBar/ComparisonBar.js";import"./StageDesignVActual/ElementsComparison/ElementsComparison.js";import"./StageDesignVActual/ComparisonHeader.js";import"./StageDesignVActual/ComparisonRow.js";import"./EmbeddedApp/DevCenterEmbeddedApp.js";import"./EmbeddedApp/EmbeddedApp.js";import"./HelpCenter/HelpCenterIcon.js";import"./Autocomplete/Autocomplete.js";import"./DocumentViewer/DocumentViewer.js";import"@babel/runtime/helpers/objectWithoutProperties";import"./DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"./DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"./DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"./DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"./DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"./DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"./ColorPickerPalette/ColorPickerPalette.js";import"./Search/Search.js";import"./Search/components/Listbox.js";import"./Search/components/Paper.js";import"./Search/components/RecentSearches.js";import"./Search/components/Groups.js";import"./StatusBadge/index.js";import"./Attachment/index.js";import"./EmojiIconButton.js";import"./FileUploadIconButton.js";import"./FilePreview/index.js";import"./FailedFileUploading.js";import"./UserMention/index.js";import"./CommentsInfo/index.js";import"./CommentInput/index.js";import"./Comment/index.js";import"./CommentLoader.js";import"./AssetNameLabel/AssetStatusBadge.js";import"./AssetEditorV2/components/PrimaryAssetSelect.js";import"./AssetEditorV2/components/SecondaryAssetSelect.js";import"./AssetEditorV2/components/SelectItem.js";import"./AssetEditorV2/components/MultipleAssetsToggle.js";import"./AssetEditorV2/components/PrimaryAssetSelectV2.js";import"./EChartsWrapper/EChartsWrapper.js";import"./AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"./GoogleDocsViewer/index.js";import"./NewDocumentViewer/effects/useFileContent.js";import"./NewDocumentViewer/styles.js";import"querystring";import"uuid/v1";import"jsona";import"./StatusBadge/constants.js";import"./DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"./DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"./DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"./DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"./DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"react-router";import"rollbar";import"@rollbar/react";import"./DevCenter/NavigationBar/NavigationBar.js";import j from"./DevCenter/SideBar/SideBar.js";import"./DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"./DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"./DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"./DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";var C=function(r){var s,n=r.classes,C=r.children,u=r.onStateChange,g=r.initialState,A=r.drawerPaperClassName,f=r.isToolbarGutterShown,b=r.openedDrawerWidth,h=r.anchor,D=o(g),P=t(D,2),v=P[0],S=P[1],T=function(){S(!v),u(!v)},x="left"===h?m:l;return c(j,{isToolbarGutterShown:f,drawerWidth:b,drawerClassName:i(n.drawer,!v&&n.drawerClosed),drawerPaperClassName:i(n.drawer,n.drawerPaper,A,!v&&n.drawerClosed),anchor:h,listClassName:n.list,onClick:function(){v||T()},children:[C,d(p,{className:i(n.openToggleContainer,(s={},e(s,n.openToggleContainerCollapsed,!v),e(s,n.openToggleContainerOpened,v),s)),children:d(a,{"data-testid":"".concat("CollapsableSidebar","_toggle"),"aria-label":"toggle sidebar",className:n.openToggleIconButton,onClick:T,children:d(x,{className:i(n.openToggleIcon,e({},n.openToggleIconClosed,!v))})})})]})};C.propTypes={children:r.node.isRequired,onStateChange:r.func,initialState:r.bool,drawerPaperClassName:r.string,isToolbarGutterShown:r.bool,openedDrawerWidth:r.oneOfType([r.string,r.number]),anchor:r.oneOf(["left","right"]),closedWidth:r.oneOfType([r.string,r.number])},C.defaultProps={onStateChange:s,initialState:!0,closedWidth:48,drawerPaperClassName:null,isToolbarGutterShown:void 0,openedDrawerWidth:void 0,anchor:void 0};var u=n((function(e){return{drawer:{display:"flex",flexDirection:"column",height:"100%"},drawerPaper:{"&$drawerClosed":{cursor:"pointer","&:hover::before":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,background:e.palette.background.b7}}},drawerClosed:{width:function(e){return e.closedWidth}},openToggleIcon:{fontSize:"1.25rem",color:e.palette.primary.text7},openToggleIconClosed:{transform:"rotate(180deg)"},openToggleIconButton:{padding:6},openToggleContainer:{display:"flex",position:"absolute",bottom:0,width:"100%",flex:"0 0",padding:e.spacing(2,1,1.5)},openToggleContainerCollapsed:{paddingRight:e.spacing(1),paddingLeft:e.spacing(1),justifyContent:"center"},openToggleContainerOpened:{justifyContent:function(e){return"left"===e.anchor?"flex-end":"flex-start"}},list:{display:"flex",flexDirection:"column",flexGrow:1,overflow:"hidden",paddingBottom:60}}}))(C);export{u as default};
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{useState as o}from"react";import r from"prop-types";import i from"classnames";import{noop as s}from"lodash";import{withStyles as n,Box as p,IconButton as a}from"@material-ui/core";import m from"@material-ui/icons/ChevronLeftRounded";import l from"@material-ui/icons/ChevronRightRounded";import"./DevCenter/AppHeader/AppHeader.js";import"./DevCenter/AppSideBar/AppSideBar.js";import"./DevCenter/AppsDataProvider/AppsDataProvider.js";import"@material-ui/icons";import"./DevCenter/AppContext.js";import"./DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"./DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import{jsxs as c,jsx as d}from"react/jsx-runtime";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"../constants/goals.js";import"../constants/segment.js";import"../constants/alerts.js";import"../constants/apps.js";import"../constants/drillstring.js";import"../constants/completion.js";import"../constants/appPackages.js";import"../constants/notifications.js";import"../constants/feed.js";import"../constants/bha.js";import"../utils/env.js";import"./GradientManager/configuration/constants.js";import"../utils/index.js";import"./DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"./DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"./DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"./DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"./DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"./DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"./DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"./DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"./DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"./DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"./DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"./DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"./DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"./DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"../icons/WithCustomSize.js";import"../icons/IconParkProvider.js";import"../icons/customIcons/icons/AddMessage.js";import"../icons/customIcons/icons/Attention.js";import"../icons/customIcons/icons/Collapse.js";import"../icons/customIcons/icons/Expand.js";import"../icons/customIcons/icons/FolderClosed.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/Wellhub.js";import"../icons/customIcons/icons/MultiRuler.js";import"../utils/mobileDetect.js";import"./IconButton/index.js";import"./Modal/CorvaModal.css.js";import"uuid";import"./IconMenu/index.js";import"./StyledMenuItem/index.js";import"./AppIcon/AppIcon.js";import"./AssetEditor/index.js";import"./AssetEditorV2/index.js";import"./AppVersionsSelect/AppVersionsSelect.js";import"./LoadingIndicator/LoadingIndicator.js";import"./Typography.js";import"./RealTimeValuesSidebar/RealTimeSidebar.js";import"./DateTimePicker/index.js";import"./DatePicker/index.js";import"./ErrorBoundary/ErrorBoundary.js";import"./ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"./Annotations/components/AnnotationsList/index.js";import"./Annotations/components/LastAnnotation/index.js";import"./Annotations/AnnotationsContext.js";import"./SlateFormattedText/SlateFormattedText.js";import"./SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"./EmptyState/EmptyState.js";import"./ParameterCharts/ParameterCharts.js";import"./ParameterCharts/AddEditTrack.js";import"./ChartActionsList/ChartActionsList.js";import"./CopyToClipboard/CopyToClipboard.js";import"./AssetEditor/AssetEditorAutocomplete.js";import"./AssetEditor/SingleAssetEditor.js";import"./SettingEditors/ColorEditor/index.js";import"./SettingEditors/DropdownEditor/index.js";import"./SettingEditors/RadioEditor/index.js";import"./SwitchControl/index.js";import"./ColorPicker/ColorPicker.js";import"./Chart/components/ChartButton.js";import"./Chart/components/ChartButtons.js";import"./Chart/components/ChartWrapper.js";import"./Chart/components/AxisDropdown.js";import"./Chart/components/ChartSelect.js";import"./Chart/components/buttons/DragToZoomButton.js";import"./Chart/components/buttons/ZoomInButton.js";import"./Chart/components/buttons/ZoomOutButton.js";import"./Chart/components/buttons/PanButton.js";import"./Chart/components/buttons/ResetZoomButton.js";import"./Chart/components/buttons/HideAxesButton.js";import"./Chart/components/buttons/ChartTypeButton.js";import"./ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"./TruncatedText/index.js";import"./MiddleTruncatedText/MiddleTruncatedText.js";import"./RangeSlider/RangeSlider.js";import"./AdvancedSlider/AdvancedSlider.js";import"./Breadcrumbs/index.js";import"./VirtualizedTable/index.js";import"./EmptyView/EmptyView.js";import"./EmptyView/EmptyAppView/EmptyAppView.js";import"./Button/components/Button/index.js";import"moment-timezone";import"./Button/components/LiveButton/components/LiveButtonStateIndicator/index.js";import"./Button/components/LiveButton/styles.js";import"./ContextMenuItem/index.js";import"./FolderMenuItem/index.js";import"./EditableItem/EditableItem/index.js";import"./EditableItem/EditableItemWithBadge/index.js";import"./Checkbox/index.js";import"./FolderMenuItemWithLinks/index.js";import"./TextField/index.js";import"./Chip/index.js";import"./Counter/index.js";import"./AnchorsList/AnchorsList.js";import"./Select/index.js";import"./Select/SelectFilterBy.js";import"./CustomSelect/index.js";import"./Tabs/Tabs.js";import"./Tabs/Tab.js";import"./ResizableTable/ResizableTable.js";import"./GradientPicker/GradientPicker.js";import"./GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"./GradientManager/GradientPreview/GradientPreview.js";import"./GradientManager/GradientSelect.styles.js";import"./GradientManager/GradientManager.styles.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../clients/jsonApi/index.js";import"../clients/subscriptions.js";import"../clients/api/apiCore.js";import"../clients/constants.js";import"../clients/sso/auth0.js";import"../clients/sso/oauth2.js";import"./Drillstring/BHASchematic.js";import"./Drillstring/BHATable/index.js";import"./Drillstring/BHAComponentIcon.js";import"./Drillstring/BHAComponentDetail/index.js";import"./Drillstring/BHATileIcon.js";import"./Drillstring/BHATile/BHATile.js";import"./Drillstring/BHAList/BHAList.js";import"./Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"./Casing/CasingTable/index.js";import"./Casing/CasingComponentIcon.js";import"./Casing/CasingTileIcon.js";import"./Casing/CasingTableV2/CasingTableV2.js";import"./Casing/CasingTile/CasingTile.js";import"./DisabledSettingsMessage/DisabledSettingsMessage.js";import"./WellSummary/WellSummaryItemLabel.js";import"./WellSummary/WellSummaryItemTitle.js";import"./WellSummary/WellSummaryItemValue.js";import"./WellSummary/ActivitySummaryChart.js";import"./WellSummary/FracWirelineTimeChart.js";import"./BICOffsetPickerDialog/index.js";import"./OffsetWellButton/OffsetWellButton.js";import"./OffsetWellPickerV2/OffsetWellPickerDialog.js";import"./OffsetWellPickerV3/index.js";import"./OffsetWellChips/Chip.js";import"./OffsetWellChips/ChipsContainer.js";import"./OffsetWellPickerV4/utils/apiCalls.js";import"./OffsetWellPickerV4/effects/useAdvancedWells.js";import"./OffsetWellPickerV4/constants.js";import"react-virtualized";import"./OffsetWellPickerV4/effects/useAssetsData.js";import"./OffsetWellPickerV4/components/AppHeader/AppHeader.js";import"./OffsetWellPickerV4/components/Toolbar/Toolbar.js";import"./OffsetWellPickerV4/components/Filter/Filter.js";import"./OffsetWellPickerV4/components/Map/WellsMap.js";import"./OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js";import"./OffsetWellPickerV4/components/OffsetWellsTable/AdvancedSearch/constants.js";import"./OffsetWellPickerV4/utils/index.js";import"./OffsetWellPickerV4/OffsetWellPickerV4.module.css.js";import"../styles/typography/index.js";import"../styles/counter/counter.module.scss.js";import"./OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"./Notifications/Toast.js";import"./Toaster/Toaster.js";import"./ConfirmationDialog.js";import"./TextLink/index.js";import"./Avatar/index.js";import"./Template/TemplatePopover/index.js";import"./Template/TemplateSharingDialog/index.js";import"./MenuItem/index.js";import"./MiddleTruncate/MiddleTruncate.js";import"./PadModeSelect/PadModeSelect.js";import"./PinnableFilters/PinnableFilters.js";import"./HeaderLayout/HeaderLayout.js";import"./PadOffsetsPicker/PadOffsetsPicker.js";import"./PadOffsetsPicker/OffsetAssetChip.js";import"./PadOffsetsPicker/OffsetAssetsListExpander.js";import"./PadOffsetsPicker/StagesSelector.js";import"./PadOffsetsPickerV2/PadOffsetsPickerV2.js";import"./Table/TableToolbar/TableToolbar.js";import"./Table/TableContainer/TableContainer.js";import"./Table/TableCell/TableCell.js";import"./Table/TablePagination/TablePagination.js";import"./Table/TablePaginationActions/TablePaginationActions.js";import"./Tooltip/ScrollableTooltip.js";import"./PriceInput/PriceInput.js";import"./LabelsCounter/LabelsCounter.js";import"./Stepper/Stepper.js";import"./Stepper/Step/Step.js";import"./Stepper/StepsWrapper.js";import"./Comment/CommentIcon/index.js";import"./FilesLoader/FilesLoader.js";import"./FilesLoader/Icons/FileIcon.js";import"./SearchInput/index.js";import"./FeedItem/FeedItem.js";import"./FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"./PostInput/PostInput.js";import"./KeyboardDateTimePicker.js";import"./AddComment/Popover.js";import"./AddComment/Popup.js";import"./StageDesignVActual/ComparisonBar/ComparisonBar.js";import"./StageDesignVActual/ElementsComparison/ElementsComparison.js";import"./StageDesignVActual/ComparisonHeader.js";import"./StageDesignVActual/ComparisonRow.js";import"./EmbeddedApp/DevCenterEmbeddedApp.js";import"./EmbeddedApp/EmbeddedApp.js";import"./HelpCenter/HelpCenterIcon.js";import"./Autocomplete/Autocomplete.js";import"./DocumentViewer/DocumentViewer.js";import"./ColorPickerPalette/ColorPickerPalette.js";import"./Search/Search.js";import"./Search/components/Listbox.js";import"./Search/components/Paper.js";import"./Search/components/RecentSearches.js";import"./Search/components/Groups.js";import"./StatusBadge/index.js";import"./Attachment/index.js";import"./EmojiIconButton.js";import"./FileUploadIconButton.js";import"./FilePreview/index.js";import"./FailedFileUploading.js";import"./UserMention/index.js";import"./CommentsInfo/index.js";import"./CommentInput/index.js";import"./Comment/index.js";import"./CommentLoader.js";import"./AssetNameLabel/AssetStatusBadge.js";import"./AssetEditorV2/components/PrimaryAssetSelect.js";import"./AssetEditorV2/components/SecondaryAssetSelect.js";import"./AssetEditorV2/components/SelectItem.js";import"./AssetEditorV2/components/MultipleAssetsToggle.js";import"./AssetEditorV2/components/PrimaryAssetSelectV2.js";import"./EChartsWrapper/EChartsWrapper.js";import"./AssetsMultipleSelector/AssetsMultipleSelector.js";import"@material-ui/icons/Close";import"@material-ui/icons/GetApp";import"./GoogleDocsViewer/index.js";import"./NewDocumentViewer/effects/useFileContent.js";import"./NewDocumentViewer/styles.js";import"rollbar";import"@rollbar/react";import"./DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"./Icons/AnnotationIcon.js";import"querystring";import"uuid/v1";import"jsona";import"./StatusBadge/constants.js";import"./DevCenter/NavigationBar/NavigationBar.js";import j from"./DevCenter/SideBar/SideBar.js";import"./DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"./DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"./DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"./DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";var C=function(r){var s,n=r.classes,C=r.children,u=r.onStateChange,g=r.initialState,A=r.drawerPaperClassName,f=r.isToolbarGutterShown,b=r.openedDrawerWidth,h=r.anchor,D=o(g),P=t(D,2),v=P[0],S=P[1],T=function(){S(!v),u(!v)},x="left"===h?m:l;return c(j,{isToolbarGutterShown:f,drawerWidth:b,drawerClassName:i(n.drawer,!v&&n.drawerClosed),drawerPaperClassName:i(n.drawer,n.drawerPaper,A,!v&&n.drawerClosed),anchor:h,listClassName:n.list,onClick:function(){v||T()},children:[C,d(p,{className:i(n.openToggleContainer,(s={},e(s,n.openToggleContainerCollapsed,!v),e(s,n.openToggleContainerOpened,v),s)),children:d(a,{"data-testid":"".concat("CollapsableSidebar","_toggle"),"aria-label":"toggle sidebar",className:n.openToggleIconButton,onClick:T,children:d(x,{className:i(n.openToggleIcon,e({},n.openToggleIconClosed,!v))})})})]})};C.propTypes={children:r.node.isRequired,onStateChange:r.func,initialState:r.bool,drawerPaperClassName:r.string,isToolbarGutterShown:r.bool,openedDrawerWidth:r.oneOfType([r.string,r.number]),anchor:r.oneOf(["left","right"]),closedWidth:r.oneOfType([r.string,r.number])},C.defaultProps={onStateChange:s,initialState:!0,closedWidth:48,drawerPaperClassName:null,isToolbarGutterShown:void 0,openedDrawerWidth:void 0,anchor:void 0};var u=n((function(e){return{drawer:{display:"flex",flexDirection:"column",height:"100%"},drawerPaper:{"&$drawerClosed":{cursor:"pointer","&:hover::before":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,background:e.palette.background.b7}}},drawerClosed:{width:function(e){return e.closedWidth}},openToggleIcon:{fontSize:"1.25rem",color:e.palette.primary.text7},openToggleIconClosed:{transform:"rotate(180deg)"},openToggleIconButton:{padding:6},openToggleContainer:{display:"flex",position:"absolute",bottom:0,width:"100%",flex:"0 0",padding:e.spacing(2,1,1.5)},openToggleContainerCollapsed:{paddingRight:e.spacing(1),paddingLeft:e.spacing(1),justifyContent:"center"},openToggleContainerOpened:{justifyContent:function(e){return"left"===e.anchor?"flex-end":"flex-start"}},list:{display:"flex",flexDirection:"column",flexGrow:1,overflow:"hidden",paddingBottom:60}}}))(C);export{u as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import o from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{forwardRef as e,useState as i,useLayoutEffect as n}from"react";import{ChromePicker as r}from"react-color";import c from"classnames";import{makeStyles as s,Tooltip as a}from"@material-ui/core";import l from"../../IconButton/index.js";import{PaletteIcon as
|
|
1
|
+
import o from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/slicedToArray";import{forwardRef as e,useState as i,useLayoutEffect as n}from"react";import{ChromePicker as r}from"react-color";import c from"classnames";import{makeStyles as s,Tooltip as a}from"@material-ui/core";import l from"./Palette/Palette.js";import p from"../../IconButton/index.js";import{PaletteIcon as m,PickerIcon as d}from"../../../icons/iconParkIcons.js";import"../../../icons/customIcons/icons/AddMessage.js";import"../../../icons/customIcons/icons/Attention.js";import"../../../icons/customIcons/icons/Collapse.js";import"../../../icons/customIcons/icons/Expand.js";import"../../../icons/customIcons/icons/FolderClosed.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/Wellhub.js";import"../../../icons/customIcons/icons/MultiRuler.js";import{jsxs as u,jsx as b}from"react/jsx-runtime";var h="PALETTE",f="CHROME_PICKER",x={default:{picker:{width:"100%",boxShadow:"none"},body:{backgroundColor:"#3b3b3b",padding:"16px 16px 0"},color:{width:"32px",height:"32px",marginRight:"16px",borderRadius:"2px"},swatch:{marginTop:0,width:"100%",height:"100%",borderRadius:0,position:"relative",overflow:"hidden"},toggles:{display:"flex",flexDirection:"column",justifyContent:"space-between"},Alpha:{checkboard:{display:"none"},gradient:{borderRadius:"5px"}}}},g=s({container:{backgroundColor:"#3b3b3b",boxShadow:"0px 3px 10px rgba(0, 0, 0, 0.4)",width:"250px",paddingBottom:"8px",borderRadius:"4px","& input":{border:"1px solid #616161 !important",backgroundColor:"#3b3b3b",color:"#fff !important",boxShadow:"none !important",outline:"none"}},chromePickerPalette:{margin:"0 8px",paddingTop:"8px"},buttonsContainer:{display:"flex",justifyContent:"center",marginTop:"8px"},iconActive:{color:"#fff"},tooltip:{background:"#414141",color:"#fff",boxShadow:"0px 4px 4px rgba(0, 0, 0, 0.12)",borderRadius:"4px",opacity:1,fontSize:"11px"}}),C=e((function(e,s){var C=e.color,P=e.onChange,j=e.onSizeChange,k=e.enableTransparencyPalette,I=g(),w=i(h),y=t(w,2),v=y[0],R=y[1];return n(j,[v]),u("div",{className:I.container,ref:s,children:[v===h&&b(l,{className:I.chromePickerPalette,color:C,onChange:P,enableTransparencyPalette:k}),v===f&&b(r,{styles:x,color:C,onChange:P}),u("div",{className:I.buttonsContainer,children:[b(a,{title:"Palette",classes:{tooltip:I.tooltip},children:b(p,{"data-testid":"".concat("PaletteChromePicker","_palette"),className:I.iconButton,onClick:function(){return R(h)},children:b(m,{className:c(I.icon,o({},I.iconActive,v===h)),size:24})})}),b(a,{title:"Pick your own",classes:{tooltip:I.tooltip},children:b(p,{"data-testid":"".concat("PaletteChromePicker","_pickOwn"),className:I.iconButton,onClick:function(){return R(f)},children:b(d,{className:c(I.icon,o({},I.iconActive,v===f)),size:24})})})]})]})}));export{C as default};
|
|
@@ -10,15 +10,15 @@ declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferP
|
|
|
10
10
|
currentUser: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
|
|
11
11
|
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
12
12
|
isNative: PropTypes.Requireable<boolean>;
|
|
13
|
-
}>, "
|
|
14
|
-
companyId?: number;
|
|
13
|
+
}>, "classes" | "comment" | "handleDeleteCallback" | "patchCommentCallback"> & {
|
|
15
14
|
currentUser?: PropTypes.InferProps<PropTypes.ValidationMap<any>>;
|
|
15
|
+
companyId?: number;
|
|
16
16
|
isNative?: boolean;
|
|
17
17
|
handleEdit?: (...args: any[]) => any;
|
|
18
18
|
showOnMount?: boolean;
|
|
19
19
|
spaceAround?: boolean;
|
|
20
20
|
handleShowOnMount?: (...args: any[]) => any;
|
|
21
|
-
} & {}, "
|
|
21
|
+
} & {}, "currentUser" | "comment" | "companyId" | "isNative" | "handleDeleteCallback" | "patchCommentCallback" | "handleEdit" | "showOnMount" | "spaceAround" | "handleShowOnMount"> & import("@material-ui/core/styles").StyledComponentProps<"userName" | "iconButtonRoot" | "commentWrapper" | "timeRoot" | "textRoot">>;
|
|
22
22
|
export default _default;
|
|
23
23
|
import PropTypes from "prop-types";
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/asyncToGenerator";import t from"@babel/runtime/helpers/classCallCheck";import n from"@babel/runtime/helpers/createClass";import r from"@babel/runtime/helpers/assertThisInitialized";import o from"@babel/runtime/helpers/inherits";import i from"@babel/runtime/helpers/possibleConstructorReturn";import a from"@babel/runtime/helpers/getPrototypeOf";import s from"@babel/runtime/helpers/defineProperty";import c from"@babel/runtime/regenerator";import{createRef as
|
|
1
|
+
import e from"@babel/runtime/helpers/asyncToGenerator";import t from"@babel/runtime/helpers/classCallCheck";import n from"@babel/runtime/helpers/createClass";import r from"@babel/runtime/helpers/assertThisInitialized";import o from"@babel/runtime/helpers/inherits";import i from"@babel/runtime/helpers/possibleConstructorReturn";import a from"@babel/runtime/helpers/getPrototypeOf";import s from"@babel/runtime/helpers/defineProperty";import c from"@babel/runtime/regenerator";import{createRef as l,PureComponent as m}from"react";import p from"prop-types";import u from"moment";import{get as d,includes as h,noop as f}from"lodash";import v from"classnames";import{withStyles as y}from"@material-ui/core/styles";import b from"@material-ui/core/Typography";import g from"@material-ui/core/Menu";import C from"@material-ui/core/MenuItem";import M from"@material-ui/icons/MoreVert";import{deleteFeedItemComment as D}from"../../clients/jsonApi/index.js";import E from"./styles.css.js";import w from"../CommentWrapper.js";import O from"../CommentLoader.js";import I from"../CommentInput/index.js";import j from"../Avatar/index.js";import k from"../Attachment/index.js";import x from"../IconButton/index.js";import A from"../ConfirmationDialog.js";import N from"../UserCardPopover.js";import{formatMentionText as _}from"../UserMention/utils/index.js";import{isNativeDetected as S}from"../../utils/mobileDetect.js";import R from"../../utils/main.js";import{jsxs as P,jsx as U}from"react/jsx-runtime";function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var o=a(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return i(this,n)}}var W={chatAvatarWrapper:{paddingTop:2,position:"absolute",top:6,left:0},commentInfoContainer:{display:"inline-flex",alignItems:"center",width:"100%",paddingTop:5},userNameWrapper:{overflow:"hidden"},infoContainer:{display:"inline-block",verticalAlign:"top",width:"100%",paddingLeft:33}},T=function(i){o(p,m);var a=L(p);function p(n){var o,i;return t(this,p),o=a.call(this,n),s(r(o),"deleteComment",(i=e(c.mark((function e(t,n){var r;return c.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,D(t,n);case 3:r=e.sent,e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),console.error(e.t0);case 9:return e.abrupt("return",r);case 10:case"end":return e.stop()}}),e,null,[[0,6]])}))),function(e,t){return i.apply(this,arguments)})),s(r(o),"showIntoView",(function(){o.props.handleShowOnMount(),o.commentEl.current.scrollIntoView({block:"end"})})),s(r(o),"handleOpenActionsMenu",(function(e){e.stopPropagation(),o.setState({actionsMenuAnchorEl:e.currentTarget})})),s(r(o),"handleCloseActionsMenu",(function(e){e.stopPropagation(),o.setState({actionsMenuAnchorEl:null})})),s(r(o),"handleKeyDown",(function(e){27===e.keyCode&&o.setState({isEditing:!1}),document.removeEventListener("keydown",o.handleKeyDown,!1)})),s(r(o),"handleEditMenuItem",(function(){document.addEventListener("keydown",o.handleKeyDown,!1),o.setState({isEditing:!0},(function(){o.inputEl.current&&o.inputEl.current.focus()}))})),s(r(o),"getEditCommentProps",(function(){var e=o.props.comment,t=e.id,n=e.body,r=e.attachment;return{editFeedItemId:e.feed_activity_id,editCommentId:t,editComment:n,editAttachment:r}})),s(r(o),"onEditFinish",(function(){o.setState({isEditing:!1,isLoading:!1})})),s(r(o),"handleDeleteMenuItem",(function(){o.setState({openDeleteDialog:!0})})),s(r(o),"handleDelete",e(c.mark((function e(){var t,n,r;return c.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.props.comment.id,n=o.props.comment.feed_activity_id,o.setState({isLoading:!0}),e.next=5,o.deleteComment(n,t);case 5:r=e.sent,o.setState({isLoading:!1,openDeleteDialog:!1}),r&&o.props.handleDeleteCallback(t);case 8:case"end":return e.stop()}}),e)})))),o.state={actionsMenuAnchorEl:null,isLoading:!1,isEditing:!1,openDeleteDialog:!1},o.inputEl=l(),o.commentEl=l(),o}return n(p,[{key:"componentDidMount",value:function(){this.props.showOnMount&&this.showIntoView()}},{key:"isCurrentUserCommentCreator",get:function(){return Number(d(this.props.comment,["user","id"]))===Number(this.props.currentUser.id)}},{key:"renderMenuIcon",value:function(){var e=this.isCurrentUserCommentCreator,t=this.isCurrentUserCommentCreator||h(this.props.comment.allowed_actions,"destroy");return t||e?P("div",{className:E.cCommentMenu,children:[U(x,{"data-testid":"".concat("comment","_menuButton"),"aria-label":"Actions","aria-owns":this.state.actionsMenuAnchorEl?"c-comment__actions-menu":void 0,"aria-haspopup":"true",className:this.props.classes.iconButtonRoot,size:"small",onClick:this.handleOpenActionsMenu,children:U(M,{})}),P(g,{id:"c-comment__actions-menu",anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},anchorEl:this.state.actionsMenuAnchorEl,open:!!this.state.actionsMenuAnchorEl,onClick:this.handleCloseActionsMenu,onClose:this.handleCloseActionsMenu,children:[e&&U(C,{"data-testid":"".concat("comment","_editMenuItem"),onClick:this.handleEditMenuItem,children:"Edit"}),t&&U(C,{"data-testid":"".concat("comment","_deleteMenuItem"),onClick:this.handleDeleteMenuItem,children:"Delete"})]})]}):null}},{key:"render",value:function(){var e,t,n=this,r=this.state,o=r.isLoading,i=r.isEditing;if(o){var a=this.props.spaceAround;return U(O,{spaceAround:a})}var c=this.props,l=c.comment,m=c.classes,p=c.spaceAround,h=c.isNative,y=c.patchCommentCallback,g=c.companyId;if(i)return U(I,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({inputRef:this.inputEl,postComment:f,exitEditMode:this.onEditFinish,setIsEditting:function(){return n.setState({isLoading:!0})},patchCommentCallback:y,companyId:g,currentUser:this.props.currentUser},this.getEditCommentProps()));var C=R.getUserFullName(l.user),M=h?"MM/DD HH:mm":"MM/DD/YY HH:mm",D=u(l.created_at).format(M),x=(null==l||null===(e=l.attachment)||void 0===e?void 0:e.signed_url)||(null==l||null===(t=l.attachment)||void 0===t?void 0:t.url),S=d(l,["attachment","size"]),L=d(l,["attachment","file_name"]);return P("div",{"data-testid":"".concat("comment","_commentItem_").concat(l.body),className:v(E.cComment,s({},E.cCommentNative,h)),ref:this.commentEl,children:[P(w,{spaceAround:p,className:this.props.classes.commentWrapper,children:[U("div",{style:W.chatAvatarWrapper,children:h?U(j,{size:24,displayName:C,imgSrc:d(l,["user","profile_photo"]),className:this.props.classes.avatar}):U(N,{user:l.user,currentUser:this.props.currentUser,children:U(j,{size:24,displayName:C,imgSrc:d(l,["user","profile_photo"]),className:this.props.classes.avatar})})}),P("div",{style:W.infoContainer,children:[U("div",{children:P("div",{style:W.commentInfoContainer,children:[U("div",{style:W.userNameWrapper,children:U(b,{"data-testid":"".concat("comment","_userName"),variant:"subtitle2",noWrap:!0,className:m.userName,children:C})}),U("div",{style:W.timeWrapper,children:U(b,{"data-testid":"".concat("comment","_addTime"),variant:"caption",classes:{root:m.timeRoot},children:D})})]})}),P("div",{className:E.cCommentBody,children:[this.renderMenuIcon(),U(b,{"data-testid":"".concat("comment","_commentMessage"),variant:"body1",classes:{root:m.textRoot},children:_(l.body,l.mentioned_users,h,"#00bcd4",this.props.currentUser)}),x&&U(k,{attachmentUrl:x,attachmentSize:S,size:"small",fileName:L})]})]})]}),this.state.openDeleteDialog&&U(A,{open:this.state.openDeleteDialog,text:"Do you really want to delete comment?",handleClose:function(){return n.setState({openDeleteDialog:!1})},handleOk:this.handleDelete,okText:"Delete"})]})}}]),p}();T.propTypes={comment:p.shape({}).isRequired,showOnMount:p.bool,spaceAround:p.bool,handleShowOnMount:p.func,handleEdit:p.func,handleDeleteCallback:p.func.isRequired,patchCommentCallback:p.func.isRequired,companyId:p.number,currentUser:p.shape(),classes:p.shape({}).isRequired,isNative:p.bool},T.defaultProps={showOnMount:!1,spaceAround:!1,handleShowOnMount:f,handleEdit:f,companyId:null,isNative:S,currentUser:{}};var B=y((function(e){return{commentWrapper:{width:"100%"},timeRoot:{color:e.palette.primary.text7,float:"right",marginRight:5,marginLeft:8,fontSize:"12px"},textRoot:{marginTop:5,color:"#CCC",fontWeight:"normal",fontSize:"14px"},iconButtonRoot:{float:"right",visibility:"hidden",color:e.palette.primary.text7},userName:{fontSize:"12px",fontWeight:"bold"}}}))(T);export{B as default};
|
|
@@ -28,10 +28,10 @@ declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferP
|
|
|
28
28
|
companyId: PropTypes.Requireable<number>;
|
|
29
29
|
parentId: PropTypes.Requireable<string>;
|
|
30
30
|
}>, "classes" | "postComment"> & {
|
|
31
|
-
companyId?: number;
|
|
32
31
|
currentUser?: PropTypes.InferProps<PropTypes.ValidationMap<any>>;
|
|
33
32
|
disabled?: boolean;
|
|
34
33
|
autoFocus?: boolean;
|
|
34
|
+
companyId?: number;
|
|
35
35
|
isNative?: boolean;
|
|
36
36
|
inputRef?: PropTypes.InferProps<{
|
|
37
37
|
current: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -54,7 +54,7 @@ declare const _default: import("react").ComponentType<Pick<Pick<PropTypes.InferP
|
|
|
54
54
|
}>;
|
|
55
55
|
editComment?: string;
|
|
56
56
|
parentId?: string;
|
|
57
|
-
} & {}, "
|
|
57
|
+
} & {}, "currentUser" | "disabled" | "autoFocus" | "companyId" | "isNative" | "inputRef" | "setIsPosting" | "patchCommentCallback" | "postComment" | "postCommentCallback" | "onMount" | "spaceAround" | "exitEditMode" | "setIsEditting" | "editFeedItemId" | "editCommentId" | "editAttachment" | "editComment" | "parentId"> & import("@material-ui/core").StyledComponentProps<"input" | "inputRoot" | "sendButton" | "inputAdornment" | "paperRoot" | "inputEl" | "additionalActionButton" | "nativeActionButton" | "fileUploadingError" | "inputMain" | "inputHelper" | "cancelText" | "highlightedLabel" | "iconTooltip">>;
|
|
58
58
|
export default _default;
|
|
59
59
|
import PropTypes from "prop-types";
|
|
60
60
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/helpers/classCallCheck";import n from"@babel/runtime/helpers/createClass";import o from"@babel/runtime/helpers/assertThisInitialized";import i from"@babel/runtime/helpers/inherits";import a from"@babel/runtime/helpers/possibleConstructorReturn";import r from"@babel/runtime/helpers/getPrototypeOf";import s from"@babel/runtime/helpers/defineProperty";import l from"@babel/runtime/regenerator";import{PureComponent as c}from"react";import p from"prop-types";import m from"lodash/noop";import{withStyles as u}from"@material-ui/core/styles";import{Paper as d,TextField as h,InputAdornment as f,Collapse as g,Typography as C}from"@material-ui/core";import b from"classnames";import{get as I}from"lodash";import v from"@material-ui/core/colors/grey";import x from"../Avatar/index.js";import y from"../FileUploadIconButton.js";import E from"../EmojiIconButton.js";import F from"../FailedFileUploading.js";import S from"../UserMention/index.js";import U from"../FilePreview/index.js";import N from"../IconButton/index.js";import k from"../Icons/SendIcon.js";import{isSuggestionsListOpened as A}from"../UserMention/utils/index.js";import M from"../../utils/main.js";import{isNativeDetected as R}from"../../utils/mobileDetect.js";import{notifyCommentEdit as j,notifyCommentPost as B}from"../../utils/nativeMessages.js";import{patchFeedItemComment as w}from"../../clients/jsonApi/index.js";import P from"./styles.css.js";import{jsxs as T,jsx as L}from"react/jsx-runtime";function z(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=r(t);if(e){var i=r(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return a(this,n)}}var D={chatAvatarWrapper:{display:"flex",alignItems:"center",position:"absolute",left:0,height:32},commentTextFieldContainer:{position:"relative",margin:"0"},commentTextFieldContainerSpaceAround:{position:"relative",margin:"20px 10px"}},_=function(a){i(p,c);var r=z(p);function p(n){var i,a,c;return e(this,p),i=r.call(this,n),s(o(i),"handleSelectEmoji",(function(t){return i.setState((function(e){var n=e.comment;return{comment:"".concat(n).concat(t.native)}}))})),s(o(i),"postComment",(a=t(l.mark((function t(e){var n;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i.props.postComment(e);case 3:n=t.sent,t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),console.error(t.t0.message);case 9:return t.abrupt("return",n);case 10:case"end":return t.stop()}}),t,null,[[0,6]])}))),function(t){return a.apply(this,arguments)})),s(o(i),"patchComment",(c=t(l.mark((function t(e){var n,o,a,r;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.props,o=n.editFeedItemId,a=n.editCommentId,t.prev=1,t.next=4,w(o,a,e);case 4:r=t.sent,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(1),console.error(t.t0.message);case 10:return t.abrupt("return",r);case 11:case"end":return t.stop()}}),t,null,[[1,7]])}))),function(t){return c.apply(this,arguments)})),s(o(i),"clearCommentField",(function(t){i.setState({comment:"",attachmentUrl:null,attachmentName:null,attachmentSize:null},(function(){i.focusOnRef(),t&&"function"==typeof t&&t()}))})),s(o(i),"handleKeyDown",(function(t){var e=t.key;"Escape"===e&&i.props.exitEditMode(),"Enter"===e&&(A()||(t.preventDefault(),i.handleSendComment()))})),s(o(i),"handleAttachmentLoadingError",(function(t){i.setState({attachmentUrl:null,attachmentName:null,attachmentSize:null,attachmentLoadingError:t})})),s(o(i),"handleFileUpload",(function(t,e,n){i.setState({attachmentUrl:t,attachmentName:e,attachmentSize:n,attachmentLoadingError:null})})),s(o(i),"handleNativeFileUpload",(function(){var t=i.state.comment;i.isEditMode?(j(t),i.clearCommentField(i.props.exitEditMode)):(B(t),i.clearCommentField())})),s(o(i),"handleFileDelete",(function(){return i.setState({attachmentUrl:null,attachmentName:null,attachmentSize:null})})),s(o(i),"handleSendComment",t(l.mark((function t(){var e,n,o;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((e=i.state.comment?i.state.comment.trim():null)||i.state.attachmentUrl){t.next=3;break}return t.abrupt("return");case 3:if(n={comment:{body:e,attachment:{url:i.state.attachmentUrl,size:i.state.attachmentSize,file_name:i.state.attachmentName}}},!i.isEditMode){t.next=16;break}return i.props.setIsEditting(!0),t.next=8,i.patchComment(n);case 8:return o=t.sent,t.next=11,i.props.patchCommentCallback(o);case 11:i.props.setIsEditting(!1),i.clearCommentField(),i.props.exitEditMode(),t.next=24;break;case 16:return i.props.setIsPosting(!0),t.next=19,i.postComment(n);case 19:return o=t.sent,t.next=22,i.props.postCommentCallback(o);case 22:i.props.setIsPosting(!1),i.clearCommentField();case 24:case"end":return t.stop()}}),t)})))),s(o(i),"handleCancelClick",(function(){i.setState({comment:"",attachmentUrl:null,attachmentName:null,attachmentSize:null},i.props.exitEditMode())})),i.state={comment:"",attachmentUrl:null,attachmentName:null,attachmentSize:null,attachmentLoadingError:null,isInputFocused:!1},i}return n(p,[{key:"componentDidMount",value:function(){this.isEditMode&&this.setInitialCommentValue()}},{key:"componentDidUpdate",value:function(t){(this.isEditMode&&!t.editFeedItemId||this.props.editCommentId&&this.props.editCommentId!==t.editCommentId)&&this.setInitialCommentValue()}},{key:"isEditMode",get:function(){return!!this.props.editFeedItemId}},{key:"setInitialCommentValue",value:function(){var t=this.props.editAttachment?this.props.editAttachment.url:null;this.setState({comment:this.props.editComment,attachmentUrl:t,attachmentName:t?this.props.editAttachment.file_name||M.getFileNameWithExtensionFromPath(t):null,attachmentSize:this.props.editAttachment?this.props.editAttachment.size:null})}},{key:"focusOnRef",value:function(){this.props.inputRef&&this.props.inputRef.current.focus()}},{key:"render",value:function(){var t,e=this,n=this.props,o=n.classes,i=n.currentUser,a="".concat(I(i,["attributes","first_name"])||I(i,"first_name")," ").concat(I(i,["attributes","last_name"])||I(i,"last_name")),r=this.state.isInputFocused||this.state.attachmentUrl||this.state.comment||this.props.editComment||(null===(t=this.props.editAttachment)||void 0===t?void 0:t.url);return T("div",{style:this.props.spaceAround?D.commentTextFieldContainerSpaceAround:D.commentTextFieldContainer,children:[L("div",{style:D.chatAvatarWrapper,children:L(x,{displayName:a,size:32,imgSrc:this.props.currentUser&&this.props.currentUser.profile_photo})}),L(d,{className:this.props.classes.paperRoot,children:L(h,{"data-testid":"".concat("commentInput","_input"),placeholder:"Type Comment",FormHelperTextProps:{component:"div",margin:"dense"},InputProps:{inputComponent:S,inputProps:{onChange:function(t){return e.setState({comment:t})},singleLine:!0,value:this.state.comment||"",inputRef:this.props.inputRef,withLightTheme:!1,onMount:this.props.onMount,companyId:this.props.companyId,autoFocus:this.props.autoFocus,disabled:this.props.disabled,onFocus:function(){return e.setState({isInputFocused:!0})},onBlur:function(){return e.setState({isInputFocused:!1})},allowSuggestionsAboveCursor:!0},endAdornment:!this.props.isNative&&T(f,{position:"end",className:this.props.classes.inputAdornment,children:[!this.state.attachmentUrl&&L("div",{className:b(P.cCommentInputIconContainer,P.cCommentInputIconUpload),children:L(y,{openPreviewDialogOnUpload:!1,disableRipple:!0,onFinish:this.handleFileUpload,onError:this.handleAttachmentLoadingError,fileUploadIconClassName:this.props.classes.additionalActionButton,htmlColor:v[400],inputId:"comment-attachment-".concat(this.props.editCommentId||this.props.parentId),tooltipProps:{title:"Attach File",classes:{tooltip:o.iconTooltip},placement:"top"}})}),L("div",{className:P.cCommentInputIconContainer,children:L(E,{"data-testid":"".concat("commentInput","_emojiButton"),handleSelectEmoji:this.handleSelectEmoji,emojiIconClassName:this.props.classes.additionalActionButton,htmlColor:v[400],disableRipple:!0,tooltipProps:{title:"Add Emoji",classes:{tooltip:o.iconTooltip},placement:"top"}})})]}),disableUnderline:!0,classes:{root:this.props.classes.inputRoot,input:this.props.classes.inputEl}},className:this.props.classes.input,onKeyDown:this.handleKeyDown})}),this.state.attachmentLoadingError&&L(F,{errorMessage:this.state.attachmentLoadingError,className:this.props.classes.fileUploadingError}),this.state.attachmentUrl&&L(U,{fileName:this.state.attachmentName,fileUrl:this.state.attachmentUrl,handleFileDelete:this.handleFileDelete,classes:this.props.classes}),L(g,{in:r,mountOnEnter:!0,unmountOnExit:!0,children:T("div",{className:P.cCommentInputSendContainer,children:[L("div",{className:P.cCommentInputSendContainerCancel,children:L(C,{"data-testid":"".concat("commentInput","_cancel"),variant:"caption",className:b(this.props.classes.inputMain,this.props.classes.cancelText,this.props.classes.highlightedLabel),component:"div",gutterBottom:!0,onClick:this.handleCancelClick,children:"Cancel"})}),T("div",{className:P.cCommentInputSendContainerSend,children:[T(C,{variant:"caption",className:b(this.props.classes.inputMain,this.props.classes.inputHelper),component:"div",gutterBottom:!0,children:["Press ",L(C,{variant:"caption",color:"primary",className:b(this.props.classes.inputMain,this.props.classes.highlightedLabel),children:"Enter"})," to send"]}),L(N,{size:"large",tooltipProps:{title:"Send"},"data-testid":"".concat("commentInput","_sendButton"),onClick:this.handleSendComment,classes:{root:this.props.classes.sendButton},children:L(k,{})})]})]})})]})}}]),p}();_.propTypes={inputRef:p.shape({current:p.shape({focus:p.shape({})})}),editFeedItemId:p.number,editCommentId:p.number,editComment:p.string,editAttachment:p.shape({url:p.string,size:p.number,file_name:p.string}),spaceAround:p.bool,postComment:p.func.isRequired,postCommentCallback:p.func,patchCommentCallback:p.func,exitEditMode:p.func,setIsPosting:p.func,setIsEditting:p.func,onMount:p.func,autoFocus:p.bool,disabled:p.bool,classes:p.shape({}).isRequired,currentUser:p.shape(),isNative:p.bool,companyId:p.number,parentId:p.string},_.defaultProps={inputRef:null,editFeedItemId:null,editCommentId:null,parentId:null,editComment:null,editAttachment:{},spaceAround:!1,setIsPosting:m,setIsEditting:m,onMount:m,autoFocus:void 0,disabled:!1,patchCommentCallback:m,postCommentCallback:m,exitEditMode:m,companyId:null,currentUser:{},isNative:R};var O=u((function(t){return{paperRoot:{width:"calc(100% - 48px)",marginLeft:48,display:"inline-block",height:32,border:"0","&:focus-within":{boxShadow:"inset 0 0 0 2px ".concat(t.palette.primary.main)},boxShadow:"none",background:"#4D4D4D"},input:{paddingLeft:5,width:"100%"},inputRoot:{height:32,paddingRight:"8px",lineHeight:"29px",paddingLeft:"8px"},inputEl:{padding:"0 0 0 6px",height:"100%"},additionalActionButton:{padding:"6px"},nativeActionButton:{margin:"5px 10px",cursor:"pointer"},fileUploadingError:{marginTop:10,marginLeft:24},inputMain:{marginBottom:0,fontSize:"11px",color:t.palette.primary.text8},inputHelper:{display:"flex",paddingRight:5},cancelText:{cursor:"pointer"},highlightedLabel:{color:t.palette.primary.main},iconTooltip:{marginTop:"3px"},sendButton:{"&:hover":{backgroundColor:"rgba(3,188,212, 0.1)"},"&.MuiButtonBase-root":{padding:7}},inputAdornment:{marginBottom:"0!important",height:"100%"}}}))(_);export{O as default};
|
|
1
|
+
import t from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/helpers/classCallCheck";import n from"@babel/runtime/helpers/createClass";import o from"@babel/runtime/helpers/assertThisInitialized";import i from"@babel/runtime/helpers/inherits";import a from"@babel/runtime/helpers/possibleConstructorReturn";import r from"@babel/runtime/helpers/getPrototypeOf";import s from"@babel/runtime/helpers/defineProperty";import l from"@babel/runtime/regenerator";import{PureComponent as c}from"react";import p from"prop-types";import m from"lodash/noop";import{withStyles as u}from"@material-ui/core/styles";import{Paper as d,TextField as h,InputAdornment as f,Collapse as g,Typography as C}from"@material-ui/core";import b from"classnames";import{get as I}from"lodash";import v from"@material-ui/core/colors/grey";import{patchFeedItemComment as x}from"../../clients/jsonApi/index.js";import y from"./styles.css.js";import E from"../Avatar/index.js";import F from"../FileUploadIconButton.js";import S from"../EmojiIconButton.js";import U from"../FailedFileUploading.js";import N from"../UserMention/index.js";import k from"../FilePreview/index.js";import A from"../IconButton/index.js";import M from"../Icons/SendIcon.js";import{isSuggestionsListOpened as R}from"../UserMention/utils/index.js";import j from"../../utils/main.js";import{isNativeDetected as B}from"../../utils/mobileDetect.js";import{notifyCommentEdit as w,notifyCommentPost as P}from"../../utils/nativeMessages.js";import{jsxs as T,jsx as L}from"react/jsx-runtime";function z(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=r(t);if(e){var i=r(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return a(this,n)}}var D={chatAvatarWrapper:{display:"flex",alignItems:"center",position:"absolute",left:0,height:32},commentTextFieldContainer:{position:"relative",margin:"0"},commentTextFieldContainerSpaceAround:{position:"relative",margin:"20px 10px"}},_=function(a){i(p,c);var r=z(p);function p(n){var i,a,c;return e(this,p),i=r.call(this,n),s(o(i),"handleSelectEmoji",(function(t){return i.setState((function(e){var n=e.comment;return{comment:"".concat(n).concat(t.native)}}))})),s(o(i),"postComment",(a=t(l.mark((function t(e){var n;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i.props.postComment(e);case 3:n=t.sent,t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),console.error(t.t0.message);case 9:return t.abrupt("return",n);case 10:case"end":return t.stop()}}),t,null,[[0,6]])}))),function(t){return a.apply(this,arguments)})),s(o(i),"patchComment",(c=t(l.mark((function t(e){var n,o,a,r;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.props,o=n.editFeedItemId,a=n.editCommentId,t.prev=1,t.next=4,x(o,a,e);case 4:r=t.sent,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(1),console.error(t.t0.message);case 10:return t.abrupt("return",r);case 11:case"end":return t.stop()}}),t,null,[[1,7]])}))),function(t){return c.apply(this,arguments)})),s(o(i),"clearCommentField",(function(t){i.setState({comment:"",attachmentUrl:null,attachmentName:null,attachmentSize:null},(function(){i.focusOnRef(),t&&"function"==typeof t&&t()}))})),s(o(i),"handleKeyDown",(function(t){var e=t.key;"Escape"===e&&i.props.exitEditMode(),"Enter"===e&&(R()||(t.preventDefault(),i.handleSendComment()))})),s(o(i),"handleAttachmentLoadingError",(function(t){i.setState({attachmentUrl:null,attachmentName:null,attachmentSize:null,attachmentLoadingError:t})})),s(o(i),"handleFileUpload",(function(t,e,n){i.setState({attachmentUrl:t,attachmentName:e,attachmentSize:n,attachmentLoadingError:null})})),s(o(i),"handleNativeFileUpload",(function(){var t=i.state.comment;i.isEditMode?(w(t),i.clearCommentField(i.props.exitEditMode)):(P(t),i.clearCommentField())})),s(o(i),"handleFileDelete",(function(){return i.setState({attachmentUrl:null,attachmentName:null,attachmentSize:null})})),s(o(i),"handleSendComment",t(l.mark((function t(){var e,n,o;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((e=i.state.comment?i.state.comment.trim():null)||i.state.attachmentUrl){t.next=3;break}return t.abrupt("return");case 3:if(n={comment:{body:e,attachment:{url:i.state.attachmentUrl,size:i.state.attachmentSize,file_name:i.state.attachmentName}}},!i.isEditMode){t.next=16;break}return i.props.setIsEditting(!0),t.next=8,i.patchComment(n);case 8:return o=t.sent,t.next=11,i.props.patchCommentCallback(o);case 11:i.props.setIsEditting(!1),i.clearCommentField(),i.props.exitEditMode(),t.next=24;break;case 16:return i.props.setIsPosting(!0),t.next=19,i.postComment(n);case 19:return o=t.sent,t.next=22,i.props.postCommentCallback(o);case 22:i.props.setIsPosting(!1),i.clearCommentField();case 24:case"end":return t.stop()}}),t)})))),s(o(i),"handleCancelClick",(function(){i.setState({comment:"",attachmentUrl:null,attachmentName:null,attachmentSize:null},i.props.exitEditMode())})),i.state={comment:"",attachmentUrl:null,attachmentName:null,attachmentSize:null,attachmentLoadingError:null,isInputFocused:!1},i}return n(p,[{key:"componentDidMount",value:function(){this.isEditMode&&this.setInitialCommentValue()}},{key:"componentDidUpdate",value:function(t){(this.isEditMode&&!t.editFeedItemId||this.props.editCommentId&&this.props.editCommentId!==t.editCommentId)&&this.setInitialCommentValue()}},{key:"isEditMode",get:function(){return!!this.props.editFeedItemId}},{key:"setInitialCommentValue",value:function(){var t=this.props.editAttachment?this.props.editAttachment.url:null;this.setState({comment:this.props.editComment,attachmentUrl:t,attachmentName:t?this.props.editAttachment.file_name||j.getFileNameWithExtensionFromPath(t):null,attachmentSize:this.props.editAttachment?this.props.editAttachment.size:null})}},{key:"focusOnRef",value:function(){this.props.inputRef&&this.props.inputRef.current.focus()}},{key:"render",value:function(){var t,e=this,n=this.props,o=n.classes,i=n.currentUser,a="".concat(I(i,["attributes","first_name"])||I(i,"first_name")," ").concat(I(i,["attributes","last_name"])||I(i,"last_name")),r=this.state.isInputFocused||this.state.attachmentUrl||this.state.comment||this.props.editComment||(null===(t=this.props.editAttachment)||void 0===t?void 0:t.url);return T("div",{style:this.props.spaceAround?D.commentTextFieldContainerSpaceAround:D.commentTextFieldContainer,children:[L("div",{style:D.chatAvatarWrapper,children:L(E,{displayName:a,size:32,imgSrc:this.props.currentUser&&this.props.currentUser.profile_photo})}),L(d,{className:this.props.classes.paperRoot,children:L(h,{"data-testid":"".concat("commentInput","_input"),placeholder:"Type Comment",FormHelperTextProps:{component:"div",margin:"dense"},InputProps:{inputComponent:N,inputProps:{onChange:function(t){return e.setState({comment:t})},singleLine:!0,value:this.state.comment||"",inputRef:this.props.inputRef,withLightTheme:!1,onMount:this.props.onMount,companyId:this.props.companyId,autoFocus:this.props.autoFocus,disabled:this.props.disabled,onFocus:function(){return e.setState({isInputFocused:!0})},onBlur:function(){return e.setState({isInputFocused:!1})},allowSuggestionsAboveCursor:!0},endAdornment:!this.props.isNative&&T(f,{position:"end",className:this.props.classes.inputAdornment,children:[!this.state.attachmentUrl&&L("div",{className:b(y.cCommentInputIconContainer,y.cCommentInputIconUpload),children:L(F,{openPreviewDialogOnUpload:!1,disableRipple:!0,onFinish:this.handleFileUpload,onError:this.handleAttachmentLoadingError,fileUploadIconClassName:this.props.classes.additionalActionButton,htmlColor:v[400],inputId:"comment-attachment-".concat(this.props.editCommentId||this.props.parentId),tooltipProps:{title:"Attach File",classes:{tooltip:o.iconTooltip},placement:"top"}})}),L("div",{className:y.cCommentInputIconContainer,children:L(S,{"data-testid":"".concat("commentInput","_emojiButton"),handleSelectEmoji:this.handleSelectEmoji,emojiIconClassName:this.props.classes.additionalActionButton,htmlColor:v[400],disableRipple:!0,tooltipProps:{title:"Add Emoji",classes:{tooltip:o.iconTooltip},placement:"top"}})})]}),disableUnderline:!0,classes:{root:this.props.classes.inputRoot,input:this.props.classes.inputEl}},className:this.props.classes.input,onKeyDown:this.handleKeyDown})}),this.state.attachmentLoadingError&&L(U,{errorMessage:this.state.attachmentLoadingError,className:this.props.classes.fileUploadingError}),this.state.attachmentUrl&&L(k,{fileName:this.state.attachmentName,fileUrl:this.state.attachmentUrl,handleFileDelete:this.handleFileDelete,classes:this.props.classes}),L(g,{in:r,mountOnEnter:!0,unmountOnExit:!0,children:T("div",{className:y.cCommentInputSendContainer,children:[L("div",{className:y.cCommentInputSendContainerCancel,children:L(C,{"data-testid":"".concat("commentInput","_cancel"),variant:"caption",className:b(this.props.classes.inputMain,this.props.classes.cancelText,this.props.classes.highlightedLabel),component:"div",gutterBottom:!0,onClick:this.handleCancelClick,children:"Cancel"})}),T("div",{className:y.cCommentInputSendContainerSend,children:[T(C,{variant:"caption",className:b(this.props.classes.inputMain,this.props.classes.inputHelper),component:"div",gutterBottom:!0,children:["Press ",L(C,{variant:"caption",color:"primary",className:b(this.props.classes.inputMain,this.props.classes.highlightedLabel),children:"Enter"})," to send"]}),L(A,{size:"large",tooltipProps:{title:"Send"},"data-testid":"".concat("commentInput","_sendButton"),onClick:this.handleSendComment,classes:{root:this.props.classes.sendButton},children:L(M,{})})]})]})})]})}}]),p}();_.propTypes={inputRef:p.shape({current:p.shape({focus:p.shape({})})}),editFeedItemId:p.number,editCommentId:p.number,editComment:p.string,editAttachment:p.shape({url:p.string,size:p.number,file_name:p.string}),spaceAround:p.bool,postComment:p.func.isRequired,postCommentCallback:p.func,patchCommentCallback:p.func,exitEditMode:p.func,setIsPosting:p.func,setIsEditting:p.func,onMount:p.func,autoFocus:p.bool,disabled:p.bool,classes:p.shape({}).isRequired,currentUser:p.shape(),isNative:p.bool,companyId:p.number,parentId:p.string},_.defaultProps={inputRef:null,editFeedItemId:null,editCommentId:null,parentId:null,editComment:null,editAttachment:{},spaceAround:!1,setIsPosting:m,setIsEditting:m,onMount:m,autoFocus:void 0,disabled:!1,patchCommentCallback:m,postCommentCallback:m,exitEditMode:m,companyId:null,currentUser:{},isNative:B};var O=u((function(t){return{paperRoot:{width:"calc(100% - 48px)",marginLeft:48,display:"inline-block",height:32,border:"0","&:focus-within":{boxShadow:"inset 0 0 0 2px ".concat(t.palette.primary.main)},boxShadow:"none",background:"#4D4D4D"},input:{paddingLeft:5,width:"100%"},inputRoot:{height:32,paddingRight:"8px",lineHeight:"29px",paddingLeft:"8px"},inputEl:{padding:"0 0 0 6px",height:"100%"},additionalActionButton:{padding:"6px"},nativeActionButton:{margin:"5px 10px",cursor:"pointer"},fileUploadingError:{marginTop:10,marginLeft:24},inputMain:{marginBottom:0,fontSize:"11px",color:t.palette.primary.text8},inputHelper:{display:"flex",paddingRight:5},cancelText:{cursor:"pointer"},highlightedLabel:{color:t.palette.primary.main},iconTooltip:{marginTop:"3px"},sendButton:{"&:hover":{backgroundColor:"rgba(3,188,212, 0.1)"},"&.MuiButtonBase-root":{padding:7}},inputAdornment:{marginBottom:"0!important",height:"100%"}}}))(_);export{O as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"prop-types";import{withStyles as t}from"@material-ui/core/styles";import{Tooltip as o,Typography as r}from"@material-ui/core";import s from"@material-ui/core/colors/grey";import{isNativeDetected as
|
|
1
|
+
import e from"prop-types";import{withStyles as t}from"@material-ui/core/styles";import{Tooltip as o,Typography as r}from"@material-ui/core";import s from"@material-ui/core/colors/grey";import i from"./styles.css.js";import{isNativeDetected as a}from"../../utils/mobileDetect.js";import n from"../Avatar/index.js";import c from"../UserCardPopover.js";import{jsxs as m,Fragment as l,jsx as p}from"react/jsx-runtime";var u=function(e){return e?"".concat(e.first_name," ").concat(e.last_name):""},d=function(e){var t=e.users,o=e.noReactionsText,r=t.length;if(!r)return o;var s="";r>19&&(s="\nand ".concat(r-19," more..."));var i=t.slice(0,19).join("\n");return"".concat(i).concat(s)},h=function(e){var t=e.likesCount,s=e.usersWhoLike,a=e.commentsCount,h=e.usersWhoCommented,f=e.onCommentsClick,v=e.currentUser,y=e.activeUsersList,C=e.classes,k=e.isNative,g=e.small;return m(l,{children:[!!t&&p(o,{title:p(d,{users:s,noReactionsText:"Nobody likes this yet..."}),enterTouchDelay:0,classes:{popper:C.tooltip},placement:"top",children:m(r,{"data-testid":"".concat("FeedPo","_likesCounter_").concat(t),className:C.reactionTypographyRoot,variant:"caption",children:["Likes ",t]})}),!!a&&p("span",{onClick:f,children:p(o,{title:p(d,{users:h,noReactionsText:"Nobody commented this yet..."}),enterTouchDelay:0,classes:{popper:C.tooltip},placement:"top",children:m(r,{"data-testid":"".concat("FeedPo","_commentsCounter_").concat(a),className:C.reactionTypographyRoot,variant:"caption",children:["Comments ",a]})})}),p("div",{"data-testid":"".concat("FeedPo","_activeUsersCounter_").concat(y&&y.length),className:i.cCommentsInfoActiveUsersList,children:y.map((function(e){return k?p(n,{displayName:u(e),imgSrc:e.profile_photo,className:C.avatarInList,size:g?24:32},e.id):p(c,{user:e,currentUser:v,children:p(n,{displayName:u(e),imgSrc:e.profile_photo,size:g?24:32,className:C.avatarInList})},e.id)}))})]})},f={reactionTypographyRoot:{color:s[400],margin:"0 8px",cursor:"pointer","&:hover":{textDecoration:"underline",textUnderlineOffset:"4px",color:"#fff"}},avatarInList:{marginRight:3,borderWidth:1},tooltip:{whiteSpace:"pre-line"}};h.propTypes={likesCount:e.number,usersWhoLike:e.arrayOf(e.shape({})),commentsCount:e.number,usersWhoCommented:e.arrayOf(e.string).isRequired,onCommentsClick:e.func,activeUsersList:e.arrayOf(e.shape({})).isRequired,classes:e.shape({}).isRequired,isNative:e.bool,small:e.bool,currentUser:e.shape({})},h.defaultProps={likesCount:0,usersWhoLike:[],commentsCount:0,onCommentsClick:function(){},small:!1,isNative:a,currentUser:{}};var v=t(f)(h);export{v as default};
|