@corva/ui 3.79.0-0 → 3.79.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/clients/api/apiCore.js.map +1 -1
- package/cjs-bundle/clients/subscriptions/socket-client.v2.js +1 -1
- package/cjs-bundle/clients/subscriptions/socket-client.v2.js.map +1 -1
- package/cjs-bundle/clients/subscriptions/subscriptions-auth-recovery.js +2 -0
- package/cjs-bundle/clients/subscriptions/subscriptions-auth-recovery.js.map +1 -0
- package/cjs-bundle/clients/subscriptions/subscriptions-client.dummy.js +1 -1
- package/cjs-bundle/clients/subscriptions/subscriptions-client.dummy.js.map +1 -1
- package/cjs-bundle/clients/subscriptions/subscriptions-client.factory.js +1 -1
- package/cjs-bundle/clients/subscriptions/subscriptions-client.factory.js.map +1 -1
- package/cjs-bundle/clients/subscriptions/subscriptions-client.js +1 -1
- package/cjs-bundle/clients/subscriptions/subscriptions-client.js.map +1 -1
- package/cjs-bundle/components/AddComment/Popover.js +1 -1
- package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
- package/cjs-bundle/components/AssetEditor/AssetEditorAutocomplete.js +1 -1
- package/cjs-bundle/components/AssetEditor/AssetEditorAutocomplete.js.map +1 -1
- package/cjs-bundle/components/AssetEditorV2/components/MultipleAssetsToggle.js +1 -1
- package/cjs-bundle/components/AssetEditorV2/components/MultipleAssetsToggle.js.map +1 -1
- package/cjs-bundle/components/AssetEditorV2/components/SelectItem.js +1 -1
- package/cjs-bundle/components/AssetEditorV2/components/SelectItem.js.map +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/AssetSearch.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/AssetSearch.js.map +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/SectionItem.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/SectionItem.js.map +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/index.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/components/WellSection/index.js.map +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTable/CasingComponent.js +1 -1
- package/cjs-bundle/components/Casing/CasingTable/CasingComponent.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/EditComponentDialog.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/EditComponentDialog.js.map +1 -1
- package/cjs-bundle/components/CollapsableSidebar.js +1 -1
- package/cjs-bundle/components/CollapsableSidebar.js.map +1 -1
- package/cjs-bundle/components/CommentComposer/CommentReplyInput.js +1 -1
- package/cjs-bundle/components/CommentComposer/CommentReplyInput.js.map +1 -1
- package/cjs-bundle/components/CommentComposer/replyDrafts.js +2 -0
- package/cjs-bundle/components/CommentComposer/replyDrafts.js.map +1 -0
- package/cjs-bundle/components/DevCenter/AppsDataProvider/AppsDataProvider.js +1 -1
- package/cjs-bundle/components/DevCenter/AppsDataProvider/AppsDataProvider.js.map +1 -1
- package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/constants.js.map +1 -1
- package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/dataResolvers.js +1 -1
- package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/dataResolvers.js.map +1 -1
- package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/useAppsData.js +1 -1
- package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/useAppsData.js.map +1 -1
- package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/utils.js +1 -1
- package/cjs-bundle/components/DevCenter/AppsDataProvider/effects/utils.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DevCenterAppDialogs.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/constants.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/constants.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/effects/useDevCenterAppProps.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/getAppDataEntryFromContext.js +2 -0
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/getAppDataEntryFromContext.js.map +1 -0
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js.map +1 -1
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/EditComponentDialog.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/EditComponentDialog.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/CancelButton.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/CancelButton.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/MoreButton.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/MoreButton.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHATable/BHAComponent.js +1 -1
- package/cjs-bundle/components/Drillstring/BHATable/BHAComponent.js.map +1 -1
- package/cjs-bundle/components/FeedCard/useActivityInteractions.js +1 -1
- package/cjs-bundle/components/FeedCard/useActivityInteractions.js.map +1 -1
- package/cjs-bundle/components/FeedCard/useFeedActivity.js +1 -1
- package/cjs-bundle/components/FeedCard/useFeedActivity.js.map +1 -1
- package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/FeedItem.js.map +1 -1
- package/cjs-bundle/components/IconMenu/index.js +1 -1
- package/cjs-bundle/components/IconMenu/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellChips/Chip.js +1 -1
- package/cjs-bundle/components/OffsetWellChips/Chip.js.map +1 -1
- package/cjs-bundle/components/OffsetWellMap/OffsetWellMap.js +1 -1
- package/cjs-bundle/components/OffsetWellMap/OffsetWellMap.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleFiltersButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleFiltersButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AssetSearch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AssetSearch.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableRows.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableRows.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/OffsetAssetChip.js +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/OffsetAssetChip.js.map +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/OffsetAssetsListExpander.js +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/OffsetAssetsListExpander.js.map +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/PadOffsetsPicker.js +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/PadOffsetsPicker.js.map +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
- package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
- package/cjs-bundle/components/Search/Search.js +1 -1
- package/cjs-bundle/components/Search/Search.js.map +1 -1
- package/cjs-bundle/components/StatusBadge/components/DQAccordionDetailsContent.js +1 -1
- package/cjs-bundle/components/StatusBadge/components/DQAccordionDetailsContent.js.map +1 -1
- package/cjs-bundle/components/Template/TemplatePopover/index.js +1 -1
- package/cjs-bundle/components/Template/TemplatePopover/index.js.map +1 -1
- package/cjs-bundle/components/VirtualizedTable/VirtualizedTable.js +1 -1
- package/cjs-bundle/components/VirtualizedTable/VirtualizedTable.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/AssetFilters/AssetFilters.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/AssetFilters/AssetFilters.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadTableRow.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadTableRow.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTableBody.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTableBody.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTableHead.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTableHead.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/TableSortLabel.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/TableSortLabel.js.map +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js.map +1 -1
- package/cjs-bundle/hocs/withAssetEditorLockHOC.js +1 -1
- package/cjs-bundle/hocs/withAssetEditorLockHOC.js.map +1 -1
- package/cjs-bundle/permissions/withPermissionsHOC.js +1 -1
- package/cjs-bundle/permissions/withPermissionsHOC.js.map +1 -1
- package/clients/api/apiCore.d.ts +2 -0
- package/clients/api/apiCore.d.ts.map +1 -1
- package/clients/api/apiCore.js +1 -1
- package/clients/api/apiCore.js.map +1 -1
- package/clients/subscriptions/__tests__/subscriptions-auth-recovery.test.d.ts +2 -0
- package/clients/subscriptions/__tests__/subscriptions-auth-recovery.test.d.ts.map +1 -0
- package/clients/subscriptions/socket-client.v2.d.ts +8 -0
- package/clients/subscriptions/socket-client.v2.d.ts.map +1 -1
- package/clients/subscriptions/socket-client.v2.js +1 -1
- package/clients/subscriptions/socket-client.v2.js.map +1 -1
- package/clients/subscriptions/subscriptions-auth-recovery.d.ts +53 -0
- package/clients/subscriptions/subscriptions-auth-recovery.d.ts.map +1 -0
- package/clients/subscriptions/subscriptions-auth-recovery.js +2 -0
- package/clients/subscriptions/subscriptions-auth-recovery.js.map +1 -0
- package/clients/subscriptions/subscriptions-client.d.ts +6 -1
- package/clients/subscriptions/subscriptions-client.d.ts.map +1 -1
- package/clients/subscriptions/subscriptions-client.dummy.d.ts +2 -1
- package/clients/subscriptions/subscriptions-client.dummy.d.ts.map +1 -1
- package/clients/subscriptions/subscriptions-client.dummy.js +1 -1
- package/clients/subscriptions/subscriptions-client.dummy.js.map +1 -1
- package/clients/subscriptions/subscriptions-client.factory.d.ts +8 -0
- package/clients/subscriptions/subscriptions-client.factory.d.ts.map +1 -1
- package/clients/subscriptions/subscriptions-client.factory.js +1 -1
- package/clients/subscriptions/subscriptions-client.factory.js.map +1 -1
- package/clients/subscriptions/subscriptions-client.js +1 -1
- package/clients/subscriptions/subscriptions-client.js.map +1 -1
- package/clients/subscriptions/types.d.ts +5 -0
- package/clients/subscriptions/types.d.ts.map +1 -1
- package/components/AddComment/Popover.js +1 -1
- package/components/AddComment/Popover.js.map +1 -1
- package/components/AddComment/components/Content.js +1 -1
- package/components/AddComment/components/Content.js.map +1 -1
- package/components/AssetEditor/AssetEditorAutocomplete.js +1 -1
- package/components/AssetEditor/AssetEditorAutocomplete.js.map +1 -1
- package/components/AssetEditorV2/components/MultipleAssetsToggle.js +1 -1
- package/components/AssetEditorV2/components/MultipleAssetsToggle.js.map +1 -1
- package/components/AssetEditorV2/components/SelectItem.d.ts.map +1 -1
- package/components/AssetEditorV2/components/SelectItem.js +1 -1
- package/components/AssetEditorV2/components/SelectItem.js.map +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/AssetSearch.js +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/AssetSearch.js.map +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/SectionItem.js +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/SectionItem.js.map +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/index.js +1 -1
- package/components/BICOffsetPickerDialog/components/WellSection/index.js.map +1 -1
- package/components/BICOffsetPickerDialog/index.js +1 -1
- package/components/BICOffsetPickerDialog/index.js.map +1 -1
- package/components/Casing/CasingTable/CasingComponent.js +1 -1
- package/components/Casing/CasingTable/CasingComponent.js.map +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
- package/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
- package/components/Casing/CasingTableV2/components/EditComponentDialog.d.ts.map +1 -1
- package/components/Casing/CasingTableV2/components/EditComponentDialog.js +1 -1
- package/components/Casing/CasingTableV2/components/EditComponentDialog.js.map +1 -1
- package/components/CollapsableSidebar.js +1 -1
- package/components/CollapsableSidebar.js.map +1 -1
- package/components/CommentComposer/CommentReplyInput.d.ts +3 -1
- package/components/CommentComposer/CommentReplyInput.d.ts.map +1 -1
- package/components/CommentComposer/CommentReplyInput.js +1 -1
- package/components/CommentComposer/CommentReplyInput.js.map +1 -1
- package/components/CommentComposer/__tests__/CommentReplyInput.draft.test.d.ts +2 -0
- package/components/CommentComposer/__tests__/CommentReplyInput.draft.test.d.ts.map +1 -0
- package/components/CommentComposer/replyDrafts.d.ts +12 -0
- package/components/CommentComposer/replyDrafts.d.ts.map +1 -0
- package/components/CommentComposer/replyDrafts.js +2 -0
- package/components/CommentComposer/replyDrafts.js.map +1 -0
- package/components/DevCenter/AppsDataProvider/AppsDataProvider.d.ts +3 -21
- package/components/DevCenter/AppsDataProvider/AppsDataProvider.d.ts.map +1 -1
- package/components/DevCenter/AppsDataProvider/AppsDataProvider.js +1 -1
- package/components/DevCenter/AppsDataProvider/AppsDataProvider.js.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/assetDashboard/wellAssetDashboard/appWithDefaultSettings.d.ts +22 -2
- package/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/assetDashboard/wellAssetDashboard/appWithDefaultSettings.d.ts.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/generalDashboard/completion/appWithFracFleetId.d.ts +23 -2
- package/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/generalDashboard/completion/appWithFracFleetId.d.ts.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/generalDashboard/completion/appWithPadId.d.ts +20 -2
- package/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/generalDashboard/completion/appWithPadId.d.ts.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/generalDashboard/drilling/appWithActiveWellId.d.ts +27 -2
- package/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/generalDashboard/drilling/appWithActiveWellId.d.ts.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/generalDashboard/drilling/appWithRigId.d.ts +49 -3
- package/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/generalDashboard/drilling/appWithRigId.d.ts.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/__tests__/utils.test.d.ts +2 -0
- package/components/DevCenter/AppsDataProvider/effects/__tests__/utils.test.d.ts.map +1 -0
- package/components/DevCenter/AppsDataProvider/effects/constants.d.ts +2 -7
- package/components/DevCenter/AppsDataProvider/effects/constants.d.ts.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/constants.js.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/dataResolvers.d.ts +14 -10
- 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/dataResolvers.js.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/index.d.ts.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/useAppsData.d.ts +5 -5
- package/components/DevCenter/AppsDataProvider/effects/useAppsData.d.ts.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/useAppsData.js +1 -1
- package/components/DevCenter/AppsDataProvider/effects/useAppsData.js.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/utils.d.ts +33 -54
- package/components/DevCenter/AppsDataProvider/effects/utils.d.ts.map +1 -1
- package/components/DevCenter/AppsDataProvider/effects/utils.js +1 -1
- package/components/DevCenter/AppsDataProvider/effects/utils.js.map +1 -1
- package/components/DevCenter/AppsDataProvider/index.d.ts +1 -0
- package/components/DevCenter/AppsDataProvider/index.d.ts.map +1 -1
- package/components/DevCenter/AppsDataProvider/types.d.ts +216 -0
- package/components/DevCenter/AppsDataProvider/types.d.ts.map +1 -0
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/__tests__/getAppDataEntryFromContext.test.d.ts +2 -0
- package/components/DevCenter/DevCenterAppContainer/__tests__/getAppDataEntryFromContext.test.d.ts.map +1 -0
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppDialogs.d.ts +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppDialogs.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppDialogs.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.d.ts +5 -3
- package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/LegacyAppActions.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/constants.d.ts +0 -2
- package/components/DevCenter/DevCenterAppContainer/constants.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/constants.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/constants.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.d.ts +1 -1
- package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/effects/useAnnotationsData.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/effects/useDevCenterAppProps.d.ts +7 -1
- package/components/DevCenter/DevCenterAppContainer/effects/useDevCenterAppProps.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/effects/useDevCenterAppProps.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/getAppDataEntryFromContext.d.ts +12 -0
- package/components/DevCenter/DevCenterAppContainer/getAppDataEntryFromContext.d.ts.map +1 -0
- package/components/DevCenter/DevCenterAppContainer/getAppDataEntryFromContext.js +2 -0
- package/components/DevCenter/DevCenterAppContainer/getAppDataEntryFromContext.js.map +1 -0
- package/components/DevCenter/DevCenterAppContainer/types.d.ts +1 -6
- package/components/DevCenter/DevCenterAppContainer/types.d.ts.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js.map +1 -1
- package/components/DocumentViewer/DocumentViewer.js +1 -1
- package/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/components/Drillstring/BHAComponentDetail/constants.d.ts +2 -2
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/EditComponentDialog.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/EditComponentDialog.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/EditComponentDialog.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/CancelButton.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/CancelButton.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.d.ts.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ExpandCollapseButton.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/MoreButton.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/MoreButton.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/SaveButton.js.map +1 -1
- package/components/Drillstring/BHATable/BHAComponent.js +1 -1
- package/components/Drillstring/BHATable/BHAComponent.js.map +1 -1
- package/components/FeedCard/useActivityInteractions.d.ts.map +1 -1
- package/components/FeedCard/useActivityInteractions.js +1 -1
- package/components/FeedCard/useActivityInteractions.js.map +1 -1
- package/components/FeedCard/useFeedActivity.d.ts.map +1 -1
- package/components/FeedCard/useFeedActivity.js +1 -1
- package/components/FeedCard/useFeedActivity.js.map +1 -1
- package/components/FeedItem/FeedItem.js +1 -1
- package/components/FeedItem/FeedItem.js.map +1 -1
- package/components/IconMenu/index.js +1 -1
- package/components/IconMenu/index.js.map +1 -1
- package/components/OffsetWellChips/Chip.js +1 -1
- package/components/OffsetWellChips/Chip.js.map +1 -1
- package/components/OffsetWellMap/OffsetWellMap.d.ts.map +1 -1
- package/components/OffsetWellMap/OffsetWellMap.js +1 -1
- package/components/OffsetWellMap/OffsetWellMap.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleFiltersButton.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleFiltersButton.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleFiltersButton.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.d.ts.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AssetSearch.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AssetSearch.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/AssetSearch.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.d.ts.map +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableRows.js +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableRows.js.map +1 -1
- package/components/OffsetWellPickerV3/index.js +1 -1
- package/components/OffsetWellPickerV3/index.js.map +1 -1
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js.map +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js.map +1 -1
- package/components/PadOffsetsPicker/OffsetAssetChip.js +1 -1
- package/components/PadOffsetsPicker/OffsetAssetChip.js.map +1 -1
- package/components/PadOffsetsPicker/OffsetAssetsListExpander.d.ts.map +1 -1
- package/components/PadOffsetsPicker/OffsetAssetsListExpander.js +1 -1
- package/components/PadOffsetsPicker/OffsetAssetsListExpander.js.map +1 -1
- package/components/PadOffsetsPicker/PadOffsetsPicker.js +1 -1
- package/components/PadOffsetsPicker/PadOffsetsPicker.js.map +1 -1
- package/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js.map +1 -1
- package/components/Search/Search.js +1 -1
- package/components/Search/Search.js.map +1 -1
- package/components/StatusBadge/components/DQAccordionDetailsContent.d.ts.map +1 -1
- package/components/StatusBadge/components/DQAccordionDetailsContent.js +1 -1
- package/components/StatusBadge/components/DQAccordionDetailsContent.js.map +1 -1
- package/components/Template/TemplatePopover/index.d.ts.map +1 -1
- package/components/Template/TemplatePopover/index.js +1 -1
- package/components/Template/TemplatePopover/index.js.map +1 -1
- package/components/VirtualizedTable/VirtualizedTable.d.ts.map +1 -1
- package/components/VirtualizedTable/VirtualizedTable.js +1 -1
- package/components/VirtualizedTable/VirtualizedTable.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/AssetFilters/AssetFilters.d.ts.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/AssetFilters/AssetFilters.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/AssetFilters/AssetFilters.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.d.ts.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/AssetSearchInput/AssetSearchInput.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.d.ts.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/Map/Map.d.ts.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.d.ts.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/ModalTitle/ModalTitle.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadTableRow.d.ts.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadTableRow.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadTableRow.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTable.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTableBody.d.ts.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTableBody.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTableBody.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTableHead.d.ts.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTableHead.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/PadsTableHead.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/TableSortLabel.d.ts.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/TableSortLabel.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/TableSortLabel.js.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.d.ts +1 -0
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.d.ts.map +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/PadsTable/helpers/columns.js.map +1 -1
- package/hocs/withAssetEditorLockHOC.d.ts.map +1 -1
- package/hocs/withAssetEditorLockHOC.js +1 -1
- package/hocs/withAssetEditorLockHOC.js.map +1 -1
- package/mcp-server/server.mjs +39 -20
- package/package.json +1 -2
- package/permissions/__tests__/withPermissionsHOC.test.d.ts.map +1 -1
- package/permissions/withPermissionsHOC.d.ts.map +1 -1
- package/permissions/withPermissionsHOC.js +1 -1
- package/permissions/withPermissionsHOC.js.map +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/cjs-bundle/ext-esm/@material-ui/icons/esm/ExpandLess.js +0 -2
- package/cjs-bundle/ext-esm/@material-ui/icons/esm/ExpandLess.js.map +0 -1
- package/cjs-bundle/ext-esm/@material-ui/icons/esm/ExpandMore.js +0 -2
- package/cjs-bundle/ext-esm/@material-ui/icons/esm/ExpandMore.js.map +0 -1
- package/cjs-bundle/ext-esm/@material-ui/icons/esm/Map.js +0 -2
- package/cjs-bundle/ext-esm/@material-ui/icons/esm/Map.js.map +0 -1
- package/cjs-bundle/ext-esm/@material-ui/icons/esm/UnfoldLess.js +0 -2
- package/cjs-bundle/ext-esm/@material-ui/icons/esm/UnfoldLess.js.map +0 -1
- package/cjs-bundle/ext-esm/@material-ui/icons/esm/UnfoldMore.js +0 -2
- package/cjs-bundle/ext-esm/@material-ui/icons/esm/UnfoldMore.js.map +0 -1
- package/cjs-bundle/ext-esm/@material-ui/icons/esm/utils/createSvgIcon.js +0 -2
- package/cjs-bundle/ext-esm/@material-ui/icons/esm/utils/createSvgIcon.js.map +0 -1
- package/ext-esm/@material-ui/icons/esm/ExpandLess.js +0 -2
- package/ext-esm/@material-ui/icons/esm/ExpandLess.js.map +0 -1
- package/ext-esm/@material-ui/icons/esm/ExpandMore.js +0 -2
- package/ext-esm/@material-ui/icons/esm/ExpandMore.js.map +0 -1
- package/ext-esm/@material-ui/icons/esm/Map.js +0 -2
- package/ext-esm/@material-ui/icons/esm/Map.js.map +0 -1
- package/ext-esm/@material-ui/icons/esm/UnfoldLess.js +0 -2
- package/ext-esm/@material-ui/icons/esm/UnfoldLess.js.map +0 -1
- package/ext-esm/@material-ui/icons/esm/UnfoldMore.js +0 -2
- package/ext-esm/@material-ui/icons/esm/UnfoldMore.js.map +0 -1
- package/ext-esm/@material-ui/icons/esm/utils/createSvgIcon.js +0 -2
- package/ext-esm/@material-ui/icons/esm/utils/createSvgIcon.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollapsableSidebar.js","sources":["../../src/components/CollapsableSidebar.js"],"sourcesContent":["import { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport { noop } from 'lodash';\nimport { withStyles, IconButton, Box } from '@material-ui/core';\nimport ChevronLeftRoundedIcon from '@material-ui/icons/ChevronLeftRounded';\nimport ChevronRightRoundedIcon from '@material-ui/icons/ChevronRightRounded';\n\nimport { SideBar } from './DevCenter';\n\nconst PAGE_NAME = 'CollapsableSidebar';\nconst DEFAULT_CLOSED_WIDTH = 48;\n\nconst muiStyles = theme => ({\n drawer: {\n display: 'flex',\n flexDirection: 'column',\n height: '100%',\n },\n drawerPaper: {\n '&$drawerClosed': {\n cursor: 'pointer',\n '&:hover::before': {\n content: '\"\"',\n position: 'absolute',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n background: theme.palette.background.b7,\n },\n },\n },\n drawerClosed: {\n width: ({ closedWidth = DEFAULT_CLOSED_WIDTH }) => closedWidth,\n },\n openToggleIcon: {\n fontSize: '1.25rem',\n color: theme.palette.primary.text7,\n },\n openToggleIconClosed: {\n transform: 'rotate(180deg)',\n },\n openToggleIconButton: {\n padding: 6,\n },\n openToggleContainer: {\n display: 'flex',\n position: 'absolute',\n bottom: 0,\n width: '100%',\n flex: '0 0',\n padding: theme.spacing(2, 1, 1.5),\n },\n openToggleContainerCollapsed: {\n paddingRight: theme.spacing(1),\n paddingLeft: theme.spacing(1),\n justifyContent: 'center',\n },\n openToggleContainerOpened: {\n justifyContent: ({ anchor }) => (anchor === 'left' ? 'flex-end' : 'flex-start'),\n },\n list: {\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n overflow: 'hidden',\n paddingBottom: 60,\n },\n});\n\nconst CollapsableSidebar = ({\n classes,\n children,\n onStateChange = noop,\n initialState = true,\n drawerPaperClassName = null,\n isToolbarGutterShown,\n openedDrawerWidth,\n anchor,\n}) => {\n const [isOpen, setIsOpen] = useState(initialState);\n\n const toggleIsOpen = () => {\n setIsOpen(!isOpen);\n onStateChange(!isOpen);\n };\n\n const onSidebarClick = () => {\n if (!isOpen) {\n toggleIsOpen();\n }\n };\n\n const ChevroneIcon = anchor === 'left' ? ChevronLeftRoundedIcon : ChevronRightRoundedIcon;\n\n return (\n <SideBar\n isToolbarGutterShown={isToolbarGutterShown}\n drawerWidth={openedDrawerWidth}\n drawerClassName={classnames(classes.drawer, !isOpen && classes.drawerClosed)}\n drawerPaperClassName={classnames(\n classes.drawer,\n classes.drawerPaper,\n drawerPaperClassName,\n !isOpen && classes.drawerClosed\n )}\n anchor={anchor}\n listClassName={classes.list}\n onClick={onSidebarClick}\n >\n {children}\n <Box\n className={classnames(classes.openToggleContainer, {\n [classes.openToggleContainerCollapsed]: !isOpen,\n [classes.openToggleContainerOpened]: isOpen,\n })}\n >\n <IconButton\n data-testid={`${PAGE_NAME}_toggle`}\n aria-label=\"toggle sidebar\"\n className={classes.openToggleIconButton}\n onClick={toggleIsOpen}\n >\n <ChevroneIcon\n className={classnames(classes.openToggleIcon, {\n [classes.openToggleIconClosed]: !isOpen,\n })}\n />\n </IconButton>\n </Box>\n </SideBar>\n );\n};\n\nCollapsableSidebar.propTypes = {\n children: PropTypes.node.isRequired,\n onStateChange: PropTypes.func,\n initialState: PropTypes.bool,\n drawerPaperClassName: PropTypes.string,\n isToolbarGutterShown: PropTypes.bool,\n openedDrawerWidth: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n anchor: PropTypes.oneOf(['left', 'right']),\n // eslint-disable-next-line react/no-unused-prop-types\n closedWidth: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n};\n\nexport default withStyles(muiStyles)(CollapsableSidebar);\n"],"names":["CollapsableSidebar","_ref3","_classnames","classes","children","_ref3$onStateChange","onStateChange","noop","_ref3$initialState","initialState","_ref3$drawerPaperClas","drawerPaperClassName","isToolbarGutterShown","openedDrawerWidth","anchor","useState","_useState2","_slicedToArray","_useState","isOpen","setIsOpen","toggleIsOpen","ChevroneIcon","ChevronLeftRoundedIcon","ChevronRightRoundedIcon","_jsxs","SideBar","drawerWidth","drawerClassName","classnames","drawer","drawerClosed","drawerPaper","listClassName","list","onClick","_jsx","Box","className","openToggleContainer","openToggleContainerCollapsed","openToggleContainerOpened","IconButton","concat","openToggleIconButton","openToggleIcon","openToggleIconClosed","propTypes","PropTypes","node","isRequired","func","bool","string","oneOfType","number","oneOf","closedWidth","CollapsableSidebar$1","withStyles","theme","display","flexDirection","height","cursor","content","position","top","right","bottom","left","background","palette","b7","width","_ref","_ref$closedWidth","fontSize","color","primary","text7","transform","padding","flex","spacing","paddingRight","paddingLeft","justifyContent","_ref2","flexGrow","overflow","paddingBottom"],"mappings":"
|
|
1
|
+
{"version":3,"file":"CollapsableSidebar.js","sources":["../../src/components/CollapsableSidebar.js"],"sourcesContent":["import { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport { noop } from 'lodash';\nimport { withStyles, IconButton, Box } from '@material-ui/core';\nimport ChevronLeftRoundedIcon from '@material-ui/icons/ChevronLeftRounded';\nimport ChevronRightRoundedIcon from '@material-ui/icons/ChevronRightRounded';\n\nimport { SideBar } from './DevCenter';\n\nconst PAGE_NAME = 'CollapsableSidebar';\nconst DEFAULT_CLOSED_WIDTH = 48;\n\nconst muiStyles = theme => ({\n drawer: {\n display: 'flex',\n flexDirection: 'column',\n height: '100%',\n },\n drawerPaper: {\n '&$drawerClosed': {\n cursor: 'pointer',\n '&:hover::before': {\n content: '\"\"',\n position: 'absolute',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n background: theme.palette.background.b7,\n },\n },\n },\n drawerClosed: {\n width: ({ closedWidth = DEFAULT_CLOSED_WIDTH }) => closedWidth,\n },\n openToggleIcon: {\n fontSize: '1.25rem',\n color: theme.palette.primary.text7,\n },\n openToggleIconClosed: {\n transform: 'rotate(180deg)',\n },\n openToggleIconButton: {\n padding: 6,\n },\n openToggleContainer: {\n display: 'flex',\n position: 'absolute',\n bottom: 0,\n width: '100%',\n flex: '0 0',\n padding: theme.spacing(2, 1, 1.5),\n },\n openToggleContainerCollapsed: {\n paddingRight: theme.spacing(1),\n paddingLeft: theme.spacing(1),\n justifyContent: 'center',\n },\n openToggleContainerOpened: {\n justifyContent: ({ anchor }) => (anchor === 'left' ? 'flex-end' : 'flex-start'),\n },\n list: {\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n overflow: 'hidden',\n paddingBottom: 60,\n },\n});\n\nconst CollapsableSidebar = ({\n classes,\n children,\n onStateChange = noop,\n initialState = true,\n drawerPaperClassName = null,\n isToolbarGutterShown,\n openedDrawerWidth,\n anchor,\n}) => {\n const [isOpen, setIsOpen] = useState(initialState);\n\n const toggleIsOpen = () => {\n setIsOpen(!isOpen);\n onStateChange(!isOpen);\n };\n\n const onSidebarClick = () => {\n if (!isOpen) {\n toggleIsOpen();\n }\n };\n\n const ChevroneIcon = anchor === 'left' ? ChevronLeftRoundedIcon : ChevronRightRoundedIcon;\n\n return (\n <SideBar\n isToolbarGutterShown={isToolbarGutterShown}\n drawerWidth={openedDrawerWidth}\n drawerClassName={classnames(classes.drawer, !isOpen && classes.drawerClosed)}\n drawerPaperClassName={classnames(\n classes.drawer,\n classes.drawerPaper,\n drawerPaperClassName,\n !isOpen && classes.drawerClosed\n )}\n anchor={anchor}\n listClassName={classes.list}\n onClick={onSidebarClick}\n >\n {children}\n <Box\n className={classnames(classes.openToggleContainer, {\n [classes.openToggleContainerCollapsed]: !isOpen,\n [classes.openToggleContainerOpened]: isOpen,\n })}\n >\n <IconButton\n data-testid={`${PAGE_NAME}_toggle`}\n aria-label=\"toggle sidebar\"\n className={classes.openToggleIconButton}\n onClick={toggleIsOpen}\n >\n <ChevroneIcon\n className={classnames(classes.openToggleIcon, {\n [classes.openToggleIconClosed]: !isOpen,\n })}\n />\n </IconButton>\n </Box>\n </SideBar>\n );\n};\n\nCollapsableSidebar.propTypes = {\n children: PropTypes.node.isRequired,\n onStateChange: PropTypes.func,\n initialState: PropTypes.bool,\n drawerPaperClassName: PropTypes.string,\n isToolbarGutterShown: PropTypes.bool,\n openedDrawerWidth: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n anchor: PropTypes.oneOf(['left', 'right']),\n // eslint-disable-next-line react/no-unused-prop-types\n closedWidth: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n};\n\nexport default withStyles(muiStyles)(CollapsableSidebar);\n"],"names":["CollapsableSidebar","_ref3","_classnames","classes","children","_ref3$onStateChange","onStateChange","noop","_ref3$initialState","initialState","_ref3$drawerPaperClas","drawerPaperClassName","isToolbarGutterShown","openedDrawerWidth","anchor","useState","_useState2","_slicedToArray","_useState","isOpen","setIsOpen","toggleIsOpen","ChevroneIcon","ChevronLeftRoundedIcon","ChevronRightRoundedIcon","_jsxs","SideBar","drawerWidth","drawerClassName","classnames","drawer","drawerClosed","drawerPaper","listClassName","list","onClick","_jsx","Box","className","openToggleContainer","openToggleContainerCollapsed","openToggleContainerOpened","IconButton","concat","openToggleIconButton","openToggleIcon","openToggleIconClosed","propTypes","PropTypes","node","isRequired","func","bool","string","oneOfType","number","oneOf","closedWidth","CollapsableSidebar$1","withStyles","theme","display","flexDirection","height","cursor","content","position","top","right","bottom","left","background","palette","b7","width","_ref","_ref$closedWidth","fontSize","color","primary","text7","transform","padding","flex","spacing","paddingRight","paddingLeft","justifyContent","_ref2","flexGrow","overflow","paddingBottom"],"mappings":"6jgBAUA,IA6DMA,EAAqB,SASrBC,GAAA,IAAAC,EARJC,IAAAA,QACAC,IAAAA,SAAQC,EAAAJ,EACRK,cAAAA,aAAgBC,EAAIF,EAAAG,EAAAP,EACpBQ,aAAAA,cAAmBD,EAAAE,EAAAT,EACnBU,qBAAAA,aAAuB,KAAID,EAC3BE,IAAAA,qBACAC,IAAAA,kBACAC,IAAAA,OAE4BC,EAAAA,EAASN,GAAaO,EAAAC,EAAAC,EAAA,GAA3CC,EAAMH,EAAA,GAAEI,EAASJ,EAAA,GAElBK,EAAe,WACnBD,GAAWD,GACXb,GAAea,IASXG,EAA0B,SAAXR,EAAoBS,EAAyBC,EAElE,OACEC,EAACC,EAAO,CACNd,qBAAsBA,EACtBe,YAAad,EACbe,gBAAiBC,EAAW1B,EAAQ2B,QAASX,GAAUhB,EAAQ4B,cAC/DpB,qBAAsBkB,EACpB1B,EAAQ2B,OACR3B,EAAQ6B,YACRrB,GACCQ,GAAUhB,EAAQ4B,cAErBjB,OAAQA,EACRmB,cAAe9B,EAAQ+B,KACvBC,QArBmB,WAChBhB,GACHE,KAmBwBjB,SAEvBA,CAAAA,EACDgC,EAACC,EAAG,CACFC,UAAWT,EAAW1B,EAAQoC,8BAC3BpC,EAAQqC,8BAAgCrB,GACxChB,EAAAA,EAAAA,EAAQsC,0BAA4BtB,GACpCjB,IAAAE,SAEHgC,EAACM,EAAU,CACT,cAAA,GAAAC,OA7GQ,qBA6G2B,WACnC,aAAW,iBACXL,UAAWnC,EAAQyC,qBACnBT,QAASd,EAAajB,SAEtBgC,EAACd,EAAY,CACXgB,UAAWT,EAAW1B,EAAQ0C,eAC3B1C,EAAAA,CAAAA,EAAAA,EAAQ2C,sBAAwB3B,YAO/C,EAEAnB,EAAmB+C,UAAY,CAC7B3C,SAAU4C,EAAUC,KAAKC,WACzB5C,cAAe0C,EAAUG,KACzB1C,aAAcuC,EAAUI,KACxBzC,qBAAsBqC,EAAUK,OAChCzC,qBAAsBoC,EAAUI,KAChCvC,kBAAmBmC,EAAUM,UAAU,CAACN,EAAUK,OAAQL,EAAUO,SACpEzC,OAAQkC,EAAUQ,MAAM,CAAC,OAAQ,UAEjCC,YAAaT,EAAUM,UAAU,CAACN,EAAUK,OAAQL,EAAUO,UAGhE,IAAAG,EAAeC,GAtIG,SAAAC,GAAK,MAAK,CAC1B9B,OAAQ,CACN+B,QAAS,OACTC,cAAe,SACfC,OAAQ,QAEV/B,YAAa,CACX,iBAAkB,CAChBgC,OAAQ,UACR,kBAAmB,CACjBC,QAAS,KACTC,SAAU,WACVC,IAAK,EACLC,MAAO,EACPC,OAAQ,EACRC,KAAM,EACNC,WAAYX,EAAMY,QAAQD,WAAWE,MAI3C1C,aAAc,CACZ2C,MAAO,SAAAC,GAAA,IAAAC,EAAAD,EAAGlB,YAAkC,kBAvBnB,GAuBmBmB,CAAkB,GAEhE/B,eAAgB,CACdgC,SAAU,UACVC,MAAOlB,EAAMY,QAAQO,QAAQC,OAE/BlC,qBAAsB,CACpBmC,UAAW,kBAEbrC,qBAAsB,CACpBsC,QAAS,GAEX3C,oBAAqB,CACnBsB,QAAS,OACTK,SAAU,WACVG,OAAQ,EACRK,MAAO,OACPS,KAAM,MACND,QAAStB,EAAMwB,QAAQ,EAAG,EAAG,MAE/B5C,6BAA8B,CAC5B6C,aAAczB,EAAMwB,QAAQ,GAC5BE,YAAa1B,EAAMwB,QAAQ,GAC3BG,eAAgB,UAElB9C,0BAA2B,CACzB8C,eAAgB,SAAAC,GAAS,MAAmB,WAAzB1E,OAAkC,WAAa,YAAY,GAEhFoB,KAAM,CACJ2B,QAAS,OACTC,cAAe,SACf2B,SAAU,EACVC,SAAU,SACVC,cAAe,IAElB,GA8EchC,CAAsB3D"}
|
|
@@ -13,7 +13,9 @@ export type CommentReplyInputProps = {
|
|
|
13
13
|
initialBody?: string;
|
|
14
14
|
initialAttachments?: UploadedAttachment[];
|
|
15
15
|
onCancel?: () => void;
|
|
16
|
+
/** Keeps the unsent text and attachments across unmounts, e.g. a hover popover closing. */
|
|
17
|
+
draftKey?: string;
|
|
16
18
|
testId?: string;
|
|
17
19
|
};
|
|
18
|
-
export declare const CommentReplyInput: ({ onSubmit, author, disabled, placeholder, autoFocus, maxAttachments, initialBody, initialAttachments, onCancel, testId, }: CommentReplyInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare const CommentReplyInput: ({ onSubmit, author, disabled, placeholder, autoFocus, maxAttachments, initialBody, initialAttachments, onCancel, draftKey, testId, }: CommentReplyInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
21
|
//# sourceMappingURL=CommentReplyInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommentReplyInput.d.ts","sourceRoot":"","sources":["../../../src/components/CommentComposer/CommentReplyInput.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CommentReplyInput.d.ts","sourceRoot":"","sources":["../../../src/components/CommentComposer/CommentReplyInput.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAuB,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAIhF,MAAM,MAAM,sBAAsB,GAAG;IACnC,6EAA6E;IAC7E,QAAQ,EAAE,CACR,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,kBAAkB,EAAE,KAC9B,IAAI,GAAG,OAAO,GAAG,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC,CAAC;IAC9C,MAAM,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC1C,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,iBAAiB,yIAY3B,sBAAsB,4CAiFxB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/helpers/slicedToArray";import
|
|
1
|
+
import t from"@babel/runtime/helpers/asyncToGenerator";import e from"@babel/runtime/helpers/slicedToArray";import n from"@babel/runtime/regenerator";import{useState as o,useEffect as a}from"react";import{Avatar as r}from"../../componentsV2/Avatar/Avatar.js";import{AttachFileButton as i}from"../AttachFileButton/AttachFileButton.js";import{CommentInput as l}from"../CommentInputNext/CommentInputNext.js";import m from"../FailedFileUploading.js";import{getReplyDraft as u,saveReplyDraft as c,clearReplyDraft as s}from"./replyDrafts.js";import{useAttachmentUpload as d}from"./useAttachmentUpload.js";import{jsx as p}from"react/jsx-runtime";var v=[],f=function(f){var h=f.onSubmit,b=f.author,A=f.disabled,F=f.placeholder,g=void 0===F?"Reply":F,y=f.autoFocus,x=void 0===y||y,j=f.maxAttachments,C=f.initialBody,I=void 0===C?"":C,R=f.initialAttachments,S=void 0===R?v:R,k=f.onCancel,U=f.draftKey,B=f.testId,D=o((function(){var t,e;return U&&null!==(t=null===(e=u(U))||void 0===e?void 0:e.body)&&void 0!==t?t:I})),w=e(D,2),L=w[0],N=w[1],T=o((function(){var t,e;return U&&null!==(t=null===(e=u(U))||void 0===e?void 0:e.attachments)&&void 0!==t?t:S})),z=e(T,2),E=z[0],G=z[1],K=o(null),M=e(K,2),P=M[0],V=M[1],q=o(U),H=e(q,2),J=H[0],O=H[1];if(J!==U){var Q,W,X=U?u(U):void 0;O(U),N(null!==(Q=null==X?void 0:X.body)&&void 0!==Q?Q:I),G(null!==(W=null==X?void 0:X.attachments)&&void 0!==W?W:S),V(null)}var Y=d({value:E,onChange:G,onError:V,maxFiles:j});a((function(){U&&c(U,{body:L,attachments:E})}),[U,L,E]);var Z=function(){var e=t(n.mark((function t(e){return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h(e,E);case 2:if(t.t0=t.sent,!1!==t.t0){t.next=5;break}return t.abrupt("return");case 5:U&&s(U),N(""),G([]),Y.clearAttachments();case 9:case"end":return t.stop()}}),t)})));return function(t){return e.apply(this,arguments)}}();return p(l,{bare:!0,autoFocus:x,placeholder:g,value:L,onChange:N,canSubmit:!(!L.trim()&&!E.length||Y.isUploading),onSubmit:Z,onCancel:k&&function(){U&&s(U),k()},disabled:A,attachments:Y.items,onAttachmentRemove:Y.removeAttachment,onAttachmentRetry:Y.handleRetry,onAttachmentReorder:Y.reorderAttachments,onFilesDrop:Y.addFiles,onImageLinkPaste:Y.addLinkedImage,testId:B,attachmentSlot:P?p(m,{errorMessage:P}):void 0,toolbar:p(i,{inputRef:Y.fileInputRef,onClick:Y.openFileDialog,onFileSelect:Y.handleFileSelect,multiple:!0,disabled:Y.isFull,tooltip:Y.isFull?"Up to ".concat(Y.maxFiles," files can be attached"):"Attach file"}),leading:p(r,{size:32,name:null==b?void 0:b.name,imageSrc:null==b?void 0:b.avatarUrl})})};export{f as CommentReplyInput};
|
|
2
2
|
//# sourceMappingURL=CommentReplyInput.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommentReplyInput.js","sources":["../../../src/components/CommentComposer/CommentReplyInput.tsx"],"sourcesContent":["import { useState } from 'react';\n\nimport { Avatar } from '../../componentsV2/Avatar';\nimport { AttachFileButton } from '../AttachFileButton';\nimport { CommentInput } from '../CommentInputNext/CommentInputNext';\nimport FailedFileUploading from '../FailedFileUploading';\n\nimport { useAttachmentUpload, UploadedAttachment } from './useAttachmentUpload';\n\nconst EMPTY_ATTACHMENTS: UploadedAttachment[] = [];\n\nexport type CommentReplyInputProps = {\n /** Resolving to `false` keeps the draft, so a failed post can be retried. */\n onSubmit: (\n body: string,\n attachments: UploadedAttachment[]\n ) => void | boolean | Promise<void | boolean>;\n author?: { name?: string; avatarUrl?: string };\n disabled?: boolean;\n placeholder?: string;\n autoFocus?: boolean;\n maxAttachments?: number;\n initialBody?: string;\n initialAttachments?: UploadedAttachment[];\n onCancel?: () => void;\n testId?: string;\n};\n\nexport const CommentReplyInput = ({\n onSubmit,\n author,\n disabled,\n placeholder = 'Reply',\n autoFocus = true,\n maxAttachments,\n initialBody = '',\n initialAttachments = EMPTY_ATTACHMENTS,\n onCancel,\n testId,\n}: CommentReplyInputProps) => {\n const [body, setBody] = useState(initialBody);\n const [attachments, setAttachments] = useState<UploadedAttachment[]>(initialAttachments);\n const [attachmentError, setAttachmentError] = useState<string | null>(null);\n\n const upload = useAttachmentUpload({\n value: attachments,\n onChange: setAttachments,\n onError: setAttachmentError,\n maxFiles: maxAttachments,\n });\n\n const handleSubmit = async (value: string) => {\n if ((await onSubmit(value, attachments)) === false) return;\n\n setBody('');\n setAttachments([]);\n upload.clearAttachments();\n };\n\n return (\n <CommentInput\n bare\n autoFocus={autoFocus}\n placeholder={placeholder}\n value={body}\n onChange={setBody}\n // An attachment only lands once S3 confirms, so posting mid-upload would drop it.\n canSubmit={(!!body.trim() || !!attachments.length) && !upload.isUploading}\n onSubmit={handleSubmit}\n onCancel={onCancel}\n disabled={disabled}\n attachments={upload.items}\n onAttachmentRemove={upload.removeAttachment}\n onAttachmentRetry={upload.handleRetry}\n onAttachmentReorder={upload.reorderAttachments}\n onFilesDrop={upload.addFiles}\n onImageLinkPaste={upload.addLinkedImage}\n testId={testId}\n attachmentSlot={\n attachmentError ? <FailedFileUploading errorMessage={attachmentError} /> : undefined\n }\n toolbar={\n <AttachFileButton\n inputRef={upload.fileInputRef}\n onClick={upload.openFileDialog}\n onFileSelect={upload.handleFileSelect}\n multiple\n disabled={upload.isFull}\n tooltip={upload.isFull ? `Up to ${upload.maxFiles} files can be attached` : 'Attach file'}\n />\n }\n leading={<Avatar size={32} name={author?.name} imageSrc={author?.avatarUrl} />}\n />\n );\n};\n"],"names":["EMPTY_ATTACHMENTS","CommentReplyInput","_ref","onSubmit","author","disabled","_ref$placeholder","placeholder","_ref$autoFocus","autoFocus","maxAttachments","_ref$initialBody","initialBody","_ref$initialAttachmen","initialAttachments","onCancel","testId","useState","
|
|
1
|
+
{"version":3,"file":"CommentReplyInput.js","sources":["../../../src/components/CommentComposer/CommentReplyInput.tsx"],"sourcesContent":["import { useEffect, useState } from 'react';\n\nimport { Avatar } from '../../componentsV2/Avatar';\nimport { AttachFileButton } from '../AttachFileButton';\nimport { CommentInput } from '../CommentInputNext/CommentInputNext';\nimport FailedFileUploading from '../FailedFileUploading';\n\nimport { clearReplyDraft, getReplyDraft, saveReplyDraft } from './replyDrafts';\nimport { useAttachmentUpload, UploadedAttachment } from './useAttachmentUpload';\n\nconst EMPTY_ATTACHMENTS: UploadedAttachment[] = [];\n\nexport type CommentReplyInputProps = {\n /** Resolving to `false` keeps the draft, so a failed post can be retried. */\n onSubmit: (\n body: string,\n attachments: UploadedAttachment[]\n ) => void | boolean | Promise<void | boolean>;\n author?: { name?: string; avatarUrl?: string };\n disabled?: boolean;\n placeholder?: string;\n autoFocus?: boolean;\n maxAttachments?: number;\n initialBody?: string;\n initialAttachments?: UploadedAttachment[];\n onCancel?: () => void;\n /** Keeps the unsent text and attachments across unmounts, e.g. a hover popover closing. */\n draftKey?: string;\n testId?: string;\n};\n\nexport const CommentReplyInput = ({\n onSubmit,\n author,\n disabled,\n placeholder = 'Reply',\n autoFocus = true,\n maxAttachments,\n initialBody = '',\n initialAttachments = EMPTY_ATTACHMENTS,\n onCancel,\n draftKey,\n testId,\n}: CommentReplyInputProps) => {\n const [body, setBody] = useState(() =>\n draftKey ? getReplyDraft(draftKey)?.body ?? initialBody : initialBody\n );\n const [attachments, setAttachments] = useState<UploadedAttachment[]>(() =>\n draftKey ? getReplyDraft(draftKey)?.attachments ?? initialAttachments : initialAttachments\n );\n const [attachmentError, setAttachmentError] = useState<string | null>(null);\n\n // A reused composer (new activity or user) must load that key's draft instead of carrying\n // the previous text over, or the save effect below would file it under the wrong key.\n const [loadedDraftKey, setLoadedDraftKey] = useState(draftKey);\n if (loadedDraftKey !== draftKey) {\n const draft = draftKey ? getReplyDraft(draftKey) : undefined;\n setLoadedDraftKey(draftKey);\n setBody(draft?.body ?? initialBody);\n setAttachments(draft?.attachments ?? initialAttachments);\n setAttachmentError(null);\n }\n\n const upload = useAttachmentUpload({\n value: attachments,\n onChange: setAttachments,\n onError: setAttachmentError,\n maxFiles: maxAttachments,\n });\n\n useEffect(() => {\n if (draftKey) saveReplyDraft(draftKey, { body, attachments });\n }, [draftKey, body, attachments]);\n\n const handleSubmit = async (value: string) => {\n if ((await onSubmit(value, attachments)) === false) return;\n\n if (draftKey) clearReplyDraft(draftKey);\n setBody('');\n setAttachments([]);\n upload.clearAttachments();\n };\n\n return (\n <CommentInput\n bare\n autoFocus={autoFocus}\n placeholder={placeholder}\n value={body}\n onChange={setBody}\n // An attachment only lands once S3 confirms, so posting mid-upload would drop it.\n canSubmit={(!!body.trim() || !!attachments.length) && !upload.isUploading}\n onSubmit={handleSubmit}\n onCancel={\n onCancel &&\n (() => {\n if (draftKey) clearReplyDraft(draftKey);\n onCancel();\n })\n }\n disabled={disabled}\n attachments={upload.items}\n onAttachmentRemove={upload.removeAttachment}\n onAttachmentRetry={upload.handleRetry}\n onAttachmentReorder={upload.reorderAttachments}\n onFilesDrop={upload.addFiles}\n onImageLinkPaste={upload.addLinkedImage}\n testId={testId}\n attachmentSlot={\n attachmentError ? <FailedFileUploading errorMessage={attachmentError} /> : undefined\n }\n toolbar={\n <AttachFileButton\n inputRef={upload.fileInputRef}\n onClick={upload.openFileDialog}\n onFileSelect={upload.handleFileSelect}\n multiple\n disabled={upload.isFull}\n tooltip={upload.isFull ? `Up to ${upload.maxFiles} files can be attached` : 'Attach file'}\n />\n }\n leading={<Avatar size={32} name={author?.name} imageSrc={author?.avatarUrl} />}\n />\n );\n};\n"],"names":["EMPTY_ATTACHMENTS","CommentReplyInput","_ref","onSubmit","author","disabled","_ref$placeholder","placeholder","_ref$autoFocus","autoFocus","maxAttachments","_ref$initialBody","initialBody","_ref$initialAttachmen","initialAttachments","onCancel","draftKey","testId","_useState","useState","_getReplyDraft$body","_getReplyDraft","getReplyDraft","body","_useState2","_slicedToArray","setBody","_useState3","_getReplyDraft$attach","_getReplyDraft2","attachments","_useState4","setAttachments","_useState6","_useState5","attachmentError","setAttachmentError","_useState8","_useState7","loadedDraftKey","setLoadedDraftKey","_draft$body","_draft$attachments","draft","undefined","upload","useAttachmentUpload","value","onChange","onError","maxFiles","useEffect","saveReplyDraft","handleSubmit","_ref2","_asyncToGenerator","_regeneratorRuntime","mark","wrap","_context","prev","next","t0","sent","abrupt","clearReplyDraft","clearAttachments","stop","_callee","_x","apply","this","arguments","_jsx","CommentInput","bare","canSubmit","trim","length","isUploading","items","onAttachmentRemove","removeAttachment","onAttachmentRetry","handleRetry","onAttachmentReorder","reorderAttachments","onFilesDrop","addFiles","onImageLinkPaste","addLinkedImage","attachmentSlot","FailedFileUploading","errorMessage","toolbar","AttachFileButton","inputRef","fileInputRef","onClick","openFileDialog","onFileSelect","handleFileSelect","multiple","isFull","tooltip","leading","Avatar","size","name","imageSrc","avatarUrl"],"mappings":"8nBAUA,IAAMA,EAA0C,GAqBnCC,EAAoB,SAYHC,GAAA,IAX5BC,IAAAA,SACAC,IAAAA,OACAC,IAAAA,SAAQC,EAAAJ,EACRK,YAAAA,aAAc,QAAOD,EAAAE,EAAAN,EACrBO,UAAAA,cAAgBD,EAChBE,IAAAA,eAAcC,EAAAT,EACdU,YAAAA,aAAc,GAAED,EAAAE,EAAAX,EAChBY,mBAAAA,aAAqBd,EAAiBa,EACtCE,IAAAA,SACAC,IAAAA,SACAC,IAAAA,OAEAC,EAAwBC,GAAS,WAAA,IAAAC,EAAAC,EAAA,OAC/BL,GAAwC,QAAhCI,EAAG,QAAHC,EAAGC,EAAcN,UAAd,IAAAK,OAAA,EAAAA,EAAyBE,YAAI,IAAAH,EAAAA,EAAkBR,KAC3DY,EAAAC,EAAAP,EAAA,GAFMK,EAAIC,EAAA,GAAEE,EAAOF,EAAA,GAGpBG,EAAsCR,GAA+B,WAAA,IAAAS,EAAAC,EAAA,OACnEb,GAA+C,QAAvCY,EAAG,QAAHC,EAAGP,EAAcN,UAAd,IAAAa,OAAA,EAAAA,EAAyBC,mBAAW,IAAAF,EAAAA,EAAyBd,KACzEiB,EAAAN,EAAAE,EAAA,GAFMG,EAAWC,EAAA,GAAEC,EAAcD,EAAA,GAGYZ,EAAAA,EAAwB,MAAKc,EAAAR,EAAAS,EAAA,GAApEC,EAAeF,EAAA,GAAEG,EAAkBH,EAAA,GAIEd,EAAAA,EAASH,GAASqB,EAAAZ,EAAAa,EAAA,GAAvDC,EAAcF,EAAA,GAAEG,EAAiBH,EAAA,GACxC,GAAIE,IAAmBvB,EAAU,CAAA,IAAAyB,EAAAC,EACzBC,EAAQ3B,EAAWM,EAAcN,QAAY4B,EACnDJ,EAAkBxB,GAClBU,EAAuBd,QAAhB6B,EAACE,aAAK,EAALA,EAAOpB,YAAQX,IAAAA,EAAAA,EAAAA,GACvBoB,EAAqClB,QAAvB4B,EAACC,aAAK,EAALA,EAAOb,mBAAehB,IAAAA,EAAAA,EAAAA,GACrCsB,EAAmB,KACrB,CAEA,IAAMS,EAASC,EAAoB,CACjCC,MAAOjB,EACPkB,SAAUhB,EACViB,QAASb,EACTc,SAAUxC,IAGZyC,GAAU,WACJnC,GAAUoC,EAAepC,EAAU,CAAEO,KAAAA,EAAMO,YAAAA,GAChD,GAAE,CAACd,EAAUO,EAAMO,IAEpB,IAAMuB,EAAY,WAAA,IAAAC,EAAAC,EAAAC,EAAAC,MAAG,WAAOV,GAAa,OAAAS,EAAAE,MAAA,SAAAC,GAAA,OAAA,OAAAA,EAAAC,KAAAD,EAAAE,MAAA,KAAA,EAAA,OAAAF,EAAAE,KAAA,EAC5B1D,EAAS4C,EAAOjB,GAAY,KAAA,EAAA,GAAA6B,EAAAG,GAAAH,EAAAI,MAAM,IAANJ,EAAAG,GAAW,CAAAH,EAAAE,KAAA,EAAA,KAAA,CAAA,OAAAF,EAAAK,OAAA,UAAA,KAAA,EAE9ChD,GAAUiD,EAAgBjD,GAC9BU,EAAQ,IACRM,EAAe,IACfa,EAAOqB,mBAAmB,KAAA,EAAA,IAAA,MAAA,OAAAP,EAAAQ,OAAA,GAAAC,EAC3B,KAAA,OAAA,SAPiBC,GAAA,OAAAf,EAAAgB,MAAAC,KAAAC,UAAA,EAAA,GASlB,OACEC,EAACC,EAAY,CACXC,MAAI,EACJlE,UAAWA,EACXF,YAAaA,EACbwC,MAAOxB,EACPyB,SAAUtB,EAEVkD,aAAcrD,EAAKsD,SAAY/C,EAAYgD,QAAYjC,EAAOkC,aAC9D5E,SAAUkD,EACVtC,SACEA,GACC,WACKC,GAAUiD,EAAgBjD,GAC9BD,GAEH,EACDV,SAAUA,EACVyB,YAAae,EAAOmC,MACpBC,mBAAoBpC,EAAOqC,iBAC3BC,kBAAmBtC,EAAOuC,YAC1BC,oBAAqBxC,EAAOyC,mBAC5BC,YAAa1C,EAAO2C,SACpBC,iBAAkB5C,EAAO6C,eACzBzE,OAAQA,EACR0E,eACExD,EAAkBsC,EAACmB,EAAmB,CAACC,aAAc1D,SAAsBS,EAE7EkD,QACErB,EAACsB,EAAgB,CACfC,SAAUnD,EAAOoD,aACjBC,QAASrD,EAAOsD,eAChBC,aAAcvD,EAAOwD,iBACrBC,UAAQ,EACRjG,SAAUwC,EAAO0D,OACjBC,QAAS3D,EAAO0D,uBAAkB1D,EAAOK,SAAmC,0BAAA,gBAGhFuD,QAAShC,EAACiC,EAAM,CAACC,KAAM,GAAIC,KAAMxG,aAAAA,EAAAA,EAAQwG,KAAMC,SAAUzG,aAAM,EAANA,EAAQ0G,aAGvE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommentReplyInput.draft.test.d.ts","sourceRoot":"","sources":["../../../../src/components/CommentComposer/__tests__/CommentReplyInput.draft.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { UploadedAttachment } from './useAttachmentUpload';
|
|
2
|
+
export type ReplyDraft = {
|
|
3
|
+
body: string;
|
|
4
|
+
attachments: UploadedAttachment[];
|
|
5
|
+
};
|
|
6
|
+
export declare const getReplyDraft: (key: string) => ReplyDraft | undefined;
|
|
7
|
+
export declare const hasReplyDraft: (key: string) => boolean;
|
|
8
|
+
export declare const saveReplyDraft: (key: string, draft: ReplyDraft) => void;
|
|
9
|
+
export declare const clearReplyDraft: (key: string) => void;
|
|
10
|
+
export declare const clearAllReplyDrafts: () => void;
|
|
11
|
+
export declare const getActivityReplyDraftKey: (activityId: string | number, userId: string | number | undefined) => string;
|
|
12
|
+
//# sourceMappingURL=replyDrafts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replyDrafts.d.ts","sourceRoot":"","sources":["../../../src/components/CommentComposer/replyDrafts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,kBAAkB,EAAE,CAAC;CACnC,CAAC;AAKF,eAAO,MAAM,aAAa,QAAS,MAAM,KAAG,UAAU,GAAG,SAA4B,CAAC;AAEtF,eAAO,MAAM,aAAa,QAAS,MAAM,KAAG,OAA0B,CAAC;AAEvE,eAAO,MAAM,cAAc,QAAS,MAAM,SAAS,UAAU,KAAG,IAM/D,CAAC;AAEF,eAAO,MAAM,eAAe,QAAS,MAAM,KAAG,IAE7C,CAAC;AAEF,eAAO,MAAM,mBAAmB,QAAO,IAEtC,CAAC;AAGF,eAAO,MAAM,wBAAwB,eACvB,MAAM,GAAG,MAAM,UACnB,MAAM,GAAG,MAAM,GAAG,SAAS,KAClC,MAAiE,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var t=new Map,n=function(n){return t.get(n)},e=function(n){return t.has(n)},c=function(n,e){e.body.trim()||e.attachments.length?t.set(n,e):t.delete(n)},o=function(n){t.delete(n)},r=function(t,n){return"activity-reply:".concat(null!=n?n:"anonymous",":").concat(t)};export{o as clearReplyDraft,r as getActivityReplyDraftKey,n as getReplyDraft,e as hasReplyDraft,c as saveReplyDraft};
|
|
2
|
+
//# sourceMappingURL=replyDrafts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replyDrafts.js","sources":["../../../src/components/CommentComposer/replyDrafts.ts"],"sourcesContent":["import type { UploadedAttachment } from './useAttachmentUpload';\n\nexport type ReplyDraft = {\n body: string;\n attachments: UploadedAttachment[];\n};\n\n// Module scope so a draft outlives the hover popover that unmounts its composer.\nconst drafts = new Map<string, ReplyDraft>();\n\nexport const getReplyDraft = (key: string): ReplyDraft | undefined => drafts.get(key);\n\nexport const hasReplyDraft = (key: string): boolean => drafts.has(key);\n\nexport const saveReplyDraft = (key: string, draft: ReplyDraft): void => {\n if (draft.body.trim() || draft.attachments.length) {\n drafts.set(key, draft);\n } else {\n drafts.delete(key);\n }\n};\n\nexport const clearReplyDraft = (key: string): void => {\n drafts.delete(key);\n};\n\nexport const clearAllReplyDrafts = (): void => {\n drafts.clear();\n};\n\n// Scoped by user: logout and impersonation switch users without a page reload.\nexport const getActivityReplyDraftKey = (\n activityId: string | number,\n userId: string | number | undefined\n): string => `activity-reply:${userId ?? 'anonymous'}:${activityId}`;\n"],"names":["drafts","Map","getReplyDraft","key","get","hasReplyDraft","has","saveReplyDraft","draft","body","trim","attachments","length","set","delete","clearReplyDraft","getActivityReplyDraftKey","activityId","userId"],"mappings":"AAQA,IAAMA,EAAS,IAAIC,IAENC,EAAgB,SAACC,GAAW,OAA6BH,EAAOI,IAAID,EAAI,EAExEE,EAAgB,SAACF,GAAW,OAAcH,EAAOM,IAAIH,EAAI,EAEzDI,EAAiB,SAACJ,EAAaK,GACtCA,EAAMC,KAAKC,QAAUF,EAAMG,YAAYC,OACzCZ,EAAOa,IAAIV,EAAKK,GAEhBR,EAAOc,OAAOX,EAElB,EAEaY,EAAkB,SAACZ,GAC9BH,EAAOc,OAAOX,EAChB,EAOaa,EAA2B,SACtCC,EACAC,GAAmC,MACNA,kBAAAA,OAAAA,QAAAA,EAAU,wBAAeD,EAAU"}
|
|
@@ -1,23 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
children: any;
|
|
5
|
-
dashboardAssetId: any;
|
|
6
|
-
dashboardMeta: any;
|
|
7
|
-
}): import("react").JSX.Element;
|
|
8
|
-
declare namespace AppsDataProvider {
|
|
9
|
-
var propTypes: {
|
|
10
|
-
children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
11
|
-
dashboardAssetId: PropTypes.Requireable<string>;
|
|
12
|
-
apps: PropTypes.Validator<(PropTypes.InferProps<{}> | null | undefined)[]>;
|
|
13
|
-
dashboardMeta: PropTypes.Requireable<PropTypes.InferProps<{
|
|
14
|
-
isChiplessDashboard: PropTypes.Requireable<boolean>;
|
|
15
|
-
}>>;
|
|
16
|
-
};
|
|
17
|
-
var defaultProps: {
|
|
18
|
-
dashboardAssetId: null;
|
|
19
|
-
dashboardMeta: undefined;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
import type { AppsDataProviderProps } from './types';
|
|
3
|
+
declare const AppsDataProvider: FC<AppsDataProviderProps>;
|
|
22
4
|
export default AppsDataProvider;
|
|
23
5
|
//# sourceMappingURL=AppsDataProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppsDataProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/DevCenter/AppsDataProvider/AppsDataProvider.
|
|
1
|
+
{"version":3,"file":"AppsDataProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/DevCenter/AppsDataProvider/AppsDataProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAS/C,CAAC;eAEa,gBAAgB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import r from"../AppContext.js";import a from"./effects/useAppsData.js";import{jsx as e}from"react/jsx-runtime";var s=function(s){var t=s.children,d=s.dashboardAssetId,o=void 0===d?null:d,p=s.apps,i=s.dashboardMeta,n=a({apps:p,dashboardAssetId:o,dashboardMeta:i});return e(r.Provider,{value:n,children:t})};export{s as default};
|
|
2
2
|
//# sourceMappingURL=AppsDataProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppsDataProvider.js","sources":["../../../../src/components/DevCenter/AppsDataProvider/AppsDataProvider.
|
|
1
|
+
{"version":3,"file":"AppsDataProvider.js","sources":["../../../../src/components/DevCenter/AppsDataProvider/AppsDataProvider.tsx"],"sourcesContent":["import type { FC } from 'react';\n\nimport AppContext from '../AppContext';\n\nimport { useAppsData } from './effects';\nimport type { AppsDataProviderProps } from './types';\n\nconst AppsDataProvider: FC<AppsDataProviderProps> = ({\n children,\n dashboardAssetId = null,\n apps,\n dashboardMeta,\n}) => {\n const appsData = useAppsData({ apps, dashboardAssetId, dashboardMeta });\n\n return <AppContext.Provider value={appsData}>{children}</AppContext.Provider>;\n};\n\nexport default AppsDataProvider;\n"],"names":["AppsDataProvider","_ref","children","_ref$dashboardAssetId","dashboardAssetId","apps","dashboardMeta","appsData","useAppsData","_jsx","AppContext","Provider","value"],"mappings":"gHAOA,IAAMA,EAA8C,SAK9CC,GAAA,IAJJC,IAAAA,SAAQC,EAAAF,EACRG,iBAAAA,aAAmB,KAAID,EACvBE,IAAAA,KACAC,IAAAA,cAEMC,EAAWC,EAAY,CAAEH,KAAAA,EAAMD,iBAAAA,EAAkBE,cAAAA,IAEvD,OAAOG,EAACC,EAAWC,SAAQ,CAACC,MAAOL,EAASL,SAAEA,GAChD"}
|
|
@@ -8,7 +8,7 @@ export declare const hookProps: {
|
|
|
8
8
|
dashboardAssetId: number;
|
|
9
9
|
};
|
|
10
10
|
export declare const initialResponse: {
|
|
11
|
-
appWithDefaultProps:
|
|
11
|
+
appWithDefaultProps: import("../../../../..").InitializedAppDataEntry;
|
|
12
12
|
};
|
|
13
13
|
export declare const resolveResponse: {
|
|
14
14
|
wells: {
|
|
@@ -68,6 +68,26 @@ export declare const wellsResponse: {
|
|
|
68
68
|
})[];
|
|
69
69
|
};
|
|
70
70
|
export declare const fullResponse: {
|
|
71
|
-
appWithDefaultProps:
|
|
71
|
+
appWithDefaultProps: {
|
|
72
|
+
id: import("../../../../../types").AppId;
|
|
73
|
+
fracFleet: null;
|
|
74
|
+
interventionUnit: null;
|
|
75
|
+
program: import("../../../../../types").AppDataProgram;
|
|
76
|
+
completionWellInfo: {
|
|
77
|
+
pad: import("../../../../../types").AppDataAssetSummary;
|
|
78
|
+
fracFleet: import("../../../../../types").AppDataAssetSummary;
|
|
79
|
+
} & {
|
|
80
|
+
pad: import("../../../../../types").AppDataAssetSummary;
|
|
81
|
+
fracFleet: import("../../../../../types").AppDataAssetSummary;
|
|
82
|
+
};
|
|
83
|
+
wells: null;
|
|
84
|
+
settings?: import("../../../../../types").AppSettings;
|
|
85
|
+
appHash: string;
|
|
86
|
+
rig: Pick<any, string | number | symbol>;
|
|
87
|
+
well: {
|
|
88
|
+
companyId: number;
|
|
89
|
+
};
|
|
90
|
+
isLoading: boolean;
|
|
91
|
+
};
|
|
72
92
|
};
|
|
73
93
|
//# sourceMappingURL=appWithDefaultSettings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appWithDefaultSettings.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/assetDashboard/wellAssetDashboard/appWithDefaultSettings.js"],"names":[],"mappings":"AAcA,eAAO,MAAM,SAAS;;;;YAIT,QAAQ;;;;CAIpB,CAAC;AAIF,eAAO,MAAM,eAAe;;CAE3B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;CAY3B,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;gBAQhB,QAAQ;gBACR,QAAQ;oBAAI,GAAG;oBAAW,WAAW;;gBACrC,WAAW;gBACX,oBAAoB;gBACpB,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBxC,CAAC;AAIF,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"appWithDefaultSettings.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/assetDashboard/wellAssetDashboard/appWithDefaultSettings.js"],"names":[],"mappings":"AAcA,eAAO,MAAM,SAAS;;;;YAIT,QAAQ;;;;CAIpB,CAAC;AAIF,eAAO,MAAM,eAAe;;CAE3B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;CAY3B,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;gBAQhB,QAAQ;gBACR,QAAQ;oBAAI,GAAG;oBAAW,WAAW;;gBACrC,WAAW;gBACX,oBAAoB;gBACpB,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBxC,CAAC;AAIF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;CAUxB,CAAC"}
|
|
@@ -11,7 +11,7 @@ export declare const hookProps: {
|
|
|
11
11
|
}[];
|
|
12
12
|
};
|
|
13
13
|
export declare const initialResponse: {
|
|
14
|
-
1789975:
|
|
14
|
+
1789975: import("../../../../..").InitializedAppDataEntry;
|
|
15
15
|
};
|
|
16
16
|
export declare const fracFleetResponse: {
|
|
17
17
|
data: {
|
|
@@ -98,6 +98,27 @@ export declare const fracFleetWellsResponse: {
|
|
|
98
98
|
}[];
|
|
99
99
|
};
|
|
100
100
|
export declare const fullResponse: {
|
|
101
|
-
1789975:
|
|
101
|
+
1789975: {
|
|
102
|
+
id: import("../../../../../types").AppId;
|
|
103
|
+
rig: null;
|
|
104
|
+
well: null;
|
|
105
|
+
interventionUnit: null;
|
|
106
|
+
completionWellInfo: {
|
|
107
|
+
pad: import("../../../../../types").AppDataAssetSummary;
|
|
108
|
+
fracFleet: import("../../../../../types").AppDataAssetSummary;
|
|
109
|
+
} & {
|
|
110
|
+
pad: import("../../../../../types").AppDataAssetSummary;
|
|
111
|
+
fracFleet: import("../../../../../types").AppDataAssetSummary;
|
|
112
|
+
};
|
|
113
|
+
settings?: import("../../../../../types").AppSettings;
|
|
114
|
+
appHash: string;
|
|
115
|
+
fracFleet: any;
|
|
116
|
+
wells: import("jsona/lib/JsonaTypes").TJsonaModel[] | import("jsona/lib/JsonaTypes").TJsonaModel;
|
|
117
|
+
isLoading: boolean;
|
|
118
|
+
program: {
|
|
119
|
+
id: number;
|
|
120
|
+
name: string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
102
123
|
};
|
|
103
124
|
//# sourceMappingURL=appWithFracFleetId.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appWithFracFleetId.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/generalDashboard/completion/appWithFracFleetId.js"],"names":[],"mappings":"AAWA,eAAO,MAAM,SAAS;;;;;;;;YAKT,QAAQ;;;CAGpB,CAAC;AAIF,eAAO,MAAM,eAAe;;CAE3B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;YAKV,IAAI;YAAe,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA+B3C,EAAE;gBACF,IAAI;;;;;;;;CAwBb,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;YAM3B,QAAQ;YACR,IAAI;;;;;;;;;;gBAIG,IAAI;oBAAI,EAAE;oBAAY,IAAI;;;;;;;;;YAqBjC,EAAE;YACF,MAAM;YACN,UAAU;YACV,OAAO;YACP,WAAW;;;CAelB,CAAC;AAEF,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"appWithFracFleetId.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/generalDashboard/completion/appWithFracFleetId.js"],"names":[],"mappings":"AAWA,eAAO,MAAM,SAAS;;;;;;;;YAKT,QAAQ;;;CAGpB,CAAC;AAIF,eAAO,MAAM,eAAe;;CAE3B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;YAKV,IAAI;YAAe,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA+B3C,EAAE;gBACF,IAAI;;;;;;;;CAwBb,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;YAM3B,QAAQ;YACR,IAAI;;;;;;;;;;gBAIG,IAAI;oBAAI,EAAE;oBAAY,IAAI;;;;;;;;;YAqBjC,EAAE;YACF,MAAM;YACN,UAAU;YACV,OAAO;YACP,WAAW;;;CAelB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;CAWxB,CAAC"}
|
|
@@ -11,7 +11,7 @@ export declare const hookProps: {
|
|
|
11
11
|
}[];
|
|
12
12
|
};
|
|
13
13
|
export declare const initialResponse: {
|
|
14
|
-
1789975:
|
|
14
|
+
1789975: import("../../../../..").InitializedAppDataEntry;
|
|
15
15
|
};
|
|
16
16
|
export declare const fracFleetResponse: {
|
|
17
17
|
data: {
|
|
@@ -82,6 +82,24 @@ export declare const padWellsResponse: {
|
|
|
82
82
|
}[];
|
|
83
83
|
};
|
|
84
84
|
export declare const fullResponse: {
|
|
85
|
-
1789975:
|
|
85
|
+
1789975: {
|
|
86
|
+
id: import("../../../../../types").AppId;
|
|
87
|
+
rig: null;
|
|
88
|
+
well: null;
|
|
89
|
+
interventionUnit: null;
|
|
90
|
+
program: import("../../../../../types").AppDataProgram;
|
|
91
|
+
completionWellInfo: {
|
|
92
|
+
pad: import("../../../../../types").AppDataAssetSummary;
|
|
93
|
+
fracFleet: import("../../../../../types").AppDataAssetSummary;
|
|
94
|
+
} & {
|
|
95
|
+
pad: import("../../../../../types").AppDataAssetSummary;
|
|
96
|
+
fracFleet: import("../../../../../types").AppDataAssetSummary;
|
|
97
|
+
};
|
|
98
|
+
settings?: import("../../../../../types").AppSettings;
|
|
99
|
+
appHash: string;
|
|
100
|
+
fracFleet: any;
|
|
101
|
+
wells: import("jsona/lib/JsonaTypes").TJsonaModel[] | import("jsona/lib/JsonaTypes").TJsonaModel;
|
|
102
|
+
isLoading: boolean;
|
|
103
|
+
};
|
|
86
104
|
};
|
|
87
105
|
//# sourceMappingURL=appWithPadId.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appWithPadId.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/generalDashboard/completion/appWithPadId.js"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS;;;;;;;;YAKT,QAAQ;;;CAGpB,CAAC;AAIF,eAAO,MAAM,eAAe;;CAE3B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;YAKV,IAAI;YAAuB,cAAc;;;;;;;;;;;;;;;;;gBAkBnD,EAAE;gBACF,IAAI;;;;;;;;CAwBb,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;YAMrB,QAAQ;YACR,IAAI;;;;;;;;;;gBAIG,IAAI;oBAAI,EAAE;oBAAW,IAAI;;;;;;;;;YAShC,EAAE;YACF,MAAM;YACN,UAAU;YACV,OAAO;YACP,WAAW;;;CAIlB,CAAC;AAEF,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"appWithPadId.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/generalDashboard/completion/appWithPadId.js"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS;;;;;;;;YAKT,QAAQ;;;CAGpB,CAAC;AAIF,eAAO,MAAM,eAAe;;CAE3B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;YAKV,IAAI;YAAuB,cAAc;;;;;;;;;;;;;;;;;gBAkBnD,EAAE;gBACF,IAAI;;;;;;;;CAwBb,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;YAMrB,QAAQ;YACR,IAAI;;;;;;;;;;gBAIG,IAAI;oBAAI,EAAE;oBAAW,IAAI;;;;;;;;;YAShC,EAAE;YACF,MAAM;YACN,UAAU;YACV,OAAO;YACP,WAAW;;;CAIlB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;CAOxB,CAAC"}
|
|
@@ -11,10 +11,35 @@ export declare const hookProps: {
|
|
|
11
11
|
}[];
|
|
12
12
|
};
|
|
13
13
|
export declare const initialResponse: {
|
|
14
|
-
1789664:
|
|
14
|
+
1789664: import("../../../../..").InitializedAppDataEntry;
|
|
15
15
|
};
|
|
16
16
|
export declare const fullResponse: {
|
|
17
|
-
1789664:
|
|
17
|
+
1789664: {
|
|
18
|
+
id: import("../../../../../types").AppId;
|
|
19
|
+
fracFleet: null;
|
|
20
|
+
interventionUnit: null;
|
|
21
|
+
program: import("../../../../../types").AppDataProgram;
|
|
22
|
+
completionWellInfo: {
|
|
23
|
+
pad: import("../../../../../types").AppDataAssetSummary;
|
|
24
|
+
fracFleet: import("../../../../../types").AppDataAssetSummary;
|
|
25
|
+
} & {
|
|
26
|
+
pad: import("../../../../../types").AppDataAssetSummary;
|
|
27
|
+
fracFleet: import("../../../../../types").AppDataAssetSummary;
|
|
28
|
+
};
|
|
29
|
+
wells: null;
|
|
30
|
+
settings?: import("../../../../../types").AppSettings;
|
|
31
|
+
appHash: string;
|
|
32
|
+
rig: {
|
|
33
|
+
name: string;
|
|
34
|
+
id: number;
|
|
35
|
+
asset_id: number;
|
|
36
|
+
};
|
|
37
|
+
well: {
|
|
38
|
+
id: number;
|
|
39
|
+
companyId: number;
|
|
40
|
+
};
|
|
41
|
+
isLoading: boolean;
|
|
42
|
+
};
|
|
18
43
|
};
|
|
19
44
|
export declare const wellsResponse: {
|
|
20
45
|
data: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appWithActiveWellId.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/generalDashboard/drilling/appWithActiveWellId.js"],"names":[],"mappings":"AASA,eAAO,MAAM,SAAS;;;;;;;;YAKT,QAAQ;;;CAGpB,CAAC;AAIF,eAAO,MAAM,eAAe;;CAE3B,CAAC;AAEF,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"appWithActiveWellId.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/generalDashboard/drilling/appWithActiveWellId.js"],"names":[],"mappings":"AASA,eAAO,MAAM,SAAS;;;;;;;;YAKT,QAAQ;;;CAGpB,CAAC;AAIF,eAAO,MAAM,eAAe;;CAE3B,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUxB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYzB,CAAC"}
|
|
@@ -12,13 +12,59 @@ export declare const hookProps: {
|
|
|
12
12
|
}[];
|
|
13
13
|
};
|
|
14
14
|
export declare const initialResponse: {
|
|
15
|
-
1789664:
|
|
15
|
+
1789664: import("../../../../..").InitializedAppDataEntry;
|
|
16
16
|
};
|
|
17
17
|
export declare const failedResponse: {
|
|
18
|
-
1789664:
|
|
18
|
+
1789664: {
|
|
19
|
+
id: import("../../../../../types").AppId;
|
|
20
|
+
rig: null;
|
|
21
|
+
well: null;
|
|
22
|
+
fracFleet: null;
|
|
23
|
+
interventionUnit: null;
|
|
24
|
+
program: import("../../../../../types").AppDataProgram;
|
|
25
|
+
completionWellInfo: {
|
|
26
|
+
pad: import("../../../../../types").AppDataAssetSummary;
|
|
27
|
+
fracFleet: import("../../../../../types").AppDataAssetSummary;
|
|
28
|
+
} & {
|
|
29
|
+
pad: import("../../../../../types").AppDataAssetSummary;
|
|
30
|
+
fracFleet: import("../../../../../types").AppDataAssetSummary;
|
|
31
|
+
};
|
|
32
|
+
wells: null;
|
|
33
|
+
settings?: import("../../../../../types").AppSettings;
|
|
34
|
+
appHash: string;
|
|
35
|
+
isLoading: boolean;
|
|
36
|
+
};
|
|
19
37
|
};
|
|
20
38
|
export declare const fullResponse: {
|
|
21
|
-
1789664:
|
|
39
|
+
1789664: {
|
|
40
|
+
id: import("../../../../../types").AppId;
|
|
41
|
+
fracFleet: null;
|
|
42
|
+
interventionUnit: null;
|
|
43
|
+
completionWellInfo: {
|
|
44
|
+
pad: import("../../../../../types").AppDataAssetSummary;
|
|
45
|
+
fracFleet: import("../../../../../types").AppDataAssetSummary;
|
|
46
|
+
} & {
|
|
47
|
+
pad: import("../../../../../types").AppDataAssetSummary;
|
|
48
|
+
fracFleet: import("../../../../../types").AppDataAssetSummary;
|
|
49
|
+
};
|
|
50
|
+
wells: null;
|
|
51
|
+
settings?: import("../../../../../types").AppSettings;
|
|
52
|
+
appHash: string;
|
|
53
|
+
rig: {
|
|
54
|
+
name: string;
|
|
55
|
+
id: number;
|
|
56
|
+
asset_id: number;
|
|
57
|
+
};
|
|
58
|
+
well: {
|
|
59
|
+
id: number;
|
|
60
|
+
companyId: number;
|
|
61
|
+
};
|
|
62
|
+
program: {
|
|
63
|
+
id: number;
|
|
64
|
+
name: string;
|
|
65
|
+
};
|
|
66
|
+
isLoading: boolean;
|
|
67
|
+
};
|
|
22
68
|
};
|
|
23
69
|
export declare const rigsResponse: {
|
|
24
70
|
data: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appWithRigId.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/generalDashboard/drilling/appWithRigId.js"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,UAAU,CAAC;AAS9B,eAAO,MAAM,SAAS;;;;;;;;YAKT,QAAQ;;;CAGpB,CAAC;AAIF,eAAO,MAAM,eAAe;;CAE3B,CAAC;AAEF,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"appWithRigId.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/DevCenter/AppsDataProvider/effects/__tests__/mocks/generalDashboard/drilling/appWithRigId.js"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,UAAU,CAAC;AAS9B,eAAO,MAAM,SAAS;;;;;;;;YAKT,QAAQ;;;CAGpB,CAAC;AAIF,eAAO,MAAM,eAAe;;CAE3B,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;CAE1B,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcxB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.test.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DevCenter/AppsDataProvider/effects/__tests__/utils.test.js"],"names":[],"mappings":""}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
+
export type AppsDataRequest = 'WELLS' | 'RIGS' | 'FRAC_FLEETS' | 'FRAC_FLEET_WELLS' | 'PAD_WELLS' | 'INTERVENTION_UNITS' | 'INTERVENTION_UNIT_WELLS';
|
|
1
2
|
export declare const APPS_DATA_REQUESTS: {
|
|
2
|
-
|
|
3
|
-
RIGS: string;
|
|
4
|
-
FRAC_FLEETS: string;
|
|
5
|
-
FRAC_FLEET_WELLS: string;
|
|
6
|
-
PAD_WELLS: string;
|
|
7
|
-
INTERVENTION_UNITS: string;
|
|
8
|
-
INTERVENTION_UNIT_WELLS: string;
|
|
3
|
+
[Request in AppsDataRequest]: Request;
|
|
9
4
|
};
|
|
10
5
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/DevCenter/AppsDataProvider/effects/constants.
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/DevCenter/AppsDataProvider/effects/constants.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GACvB,OAAO,GACP,MAAM,GACN,aAAa,GACb,kBAAkB,GAClB,WAAW,GACX,oBAAoB,GACpB,yBAAyB,CAAC;AAE9B,eAAO,MAAM,kBAAkB,EAAE;KAAG,OAAO,IAAI,eAAe,GAAG,OAAO;CAQvE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sources":["../../../../../src/components/DevCenter/AppsDataProvider/effects/constants.
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../../../../../src/components/DevCenter/AppsDataProvider/effects/constants.ts"],"sourcesContent":["export type AppsDataRequest =\n | 'WELLS'\n | 'RIGS'\n | 'FRAC_FLEETS'\n | 'FRAC_FLEET_WELLS'\n | 'PAD_WELLS'\n | 'INTERVENTION_UNITS'\n | 'INTERVENTION_UNIT_WELLS';\n\nexport const APPS_DATA_REQUESTS: { [Request in AppsDataRequest]: Request } = {\n WELLS: 'WELLS',\n RIGS: 'RIGS',\n FRAC_FLEETS: 'FRAC_FLEETS',\n FRAC_FLEET_WELLS: 'FRAC_FLEET_WELLS',\n PAD_WELLS: 'PAD_WELLS',\n INTERVENTION_UNITS: 'INTERVENTION_UNITS',\n INTERVENTION_UNIT_WELLS: 'INTERVENTION_UNIT_WELLS',\n};\n"],"names":["APPS_DATA_REQUESTS","WELLS","RIGS","FRAC_FLEETS","FRAC_FLEET_WELLS","PAD_WELLS","INTERVENTION_UNITS","INTERVENTION_UNIT_WELLS"],"mappings":"AASO,IAAMA,EAAgE,CAC3EC,MAAO,QACPC,KAAM,OACNC,YAAa,cACbC,iBAAkB,mBAClBC,UAAW,YACXC,mBAAoB,qBACpBC,wBAAyB"}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
cache:
|
|
7
|
-
|
|
8
|
-
requests?:
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import type { AppDataPatches, AppSettings, AppsDataCacheRef, AssetId, DashboardAssetId, PreparedProviderApp, ProviderApp, UpdateAppsDataCache } from '../types';
|
|
2
|
+
import type { AppsDataRequest } from './constants';
|
|
3
|
+
type ResolveAppsDataParams = {
|
|
4
|
+
apps: PreparedProviderApp[];
|
|
5
|
+
dashboardAssetId?: DashboardAssetId;
|
|
6
|
+
cache: AppsDataCacheRef;
|
|
7
|
+
updateCache: UpdateAppsDataCache;
|
|
8
|
+
requests?: AppsDataRequest[];
|
|
9
|
+
};
|
|
10
|
+
export declare const getDeprecatedAssetIds: (apps: ProviderApp[], dashboardAssetId?: DashboardAssetId) => Array<AssetId | null | undefined>;
|
|
11
|
+
export declare const getAppSettingsByDeprecatedAssetId: (deprecatedAssetIds: Array<AssetId | null | undefined>, cache: AppsDataCacheRef) => Promise<Record<string, AppSettings>>;
|
|
12
|
+
export declare const getAppsWithUnifiedSettings: (apps: PreparedProviderApp[], dashboardAssetId: DashboardAssetId, cache: AppsDataCacheRef) => Promise<PreparedProviderApp[]>;
|
|
13
|
+
export declare const resolveAppsData: ({ apps, dashboardAssetId, cache, updateCache, requests, }: ResolveAppsDataParams) => Promise<AppDataPatches>;
|
|
14
|
+
export {};
|
|
11
15
|
//# sourceMappingURL=dataResolvers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataResolvers.d.ts","sourceRoot":"","sources":["../../../../../src/components/DevCenter/AppsDataProvider/effects/dataResolvers.
|
|
1
|
+
{"version":3,"file":"dataResolvers.d.ts","sourceRoot":"","sources":["../../../../../src/components/DevCenter/AppsDataProvider/effects/dataResolvers.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,OAAO,EACP,gBAAgB,EAChB,mBAAmB,EACnB,WAAW,EACX,mBAAmB,EACpB,MAAM,UAAU,CAAC;AAElB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAiCnD,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,mBAAmB,EAAE,CAAC;IAC5B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,KAAK,EAAE,gBAAgB,CAAC;IACxB,WAAW,EAAE,mBAAmB,CAAC;IACjC,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,qBAAqB,SAC1B,WAAW,EAAE,qBACA,gBAAgB,KAClC,KAAK,CAAC,OAAO,GAAG,IAAI,GAAG,SAAS,CAWlC,CAAC;AAEF,eAAO,MAAM,iCAAiC,uBACxB,KAAK,CAAC,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC,SAC9C,gBAAgB,KACtB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAoCrC,CAAC;AAGF,eAAO,MAAM,0BAA0B,SAC/B,mBAAmB,EAAE,oBACT,gBAAgB,SAC3B,gBAAgB,KACtB,OAAO,CAAC,mBAAmB,EAAE,CAgB/B,CAAC;AAEF,eAAO,MAAM,eAAe,8DAMzB,qBAAqB,KAAG,OAAO,CAAC,cAAc,CA4EhD,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/slicedToArray";import r from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/asyncToGenerator";import n from"@babel/runtime/helpers/toConsumableArray";import
|
|
1
|
+
import e from"@babel/runtime/helpers/slicedToArray";import r from"@babel/runtime/helpers/defineProperty";import t from"@babel/runtime/helpers/asyncToGenerator";import n from"@babel/runtime/helpers/toConsumableArray";import s from"@babel/runtime/regenerator";import{merge as u}from"lodash";import{ASSET_TYPES as a}from"../../../../constants/assetTypes.js";import{APPS_DATA_REQUESTS as i}from"./constants.js";import{buildWellCache as c,buildRigCache as o,buildFracFleetCache as p,buildInterventionUnitCache as d,getAppsDataByWells as l,getAppsDataByRigs as f,getAppsDataByFFs as I,getAppsDataByPads as b,getAppsDataByInterventionUnits as m,prepareDataForResolver as y,getUniqAssetIds as E,fetchWells as v,fetchRigs as O,fetchFracFleets as h,fetchFracFleetWells as L,fetchPadWells as T,fetchInterventionUnits as S,isAppWithSettings as g,getAppAssetSpecificTypeId as w,fetchAssetEntitiesByAssetIds as F}from"./utils.js";function j(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var _=[i.WELLS,i.RIGS,i.FRAC_FLEETS,i.FRAC_FLEET_WELLS,i.PAD_WELLS,i.INTERVENTION_UNITS],A=function(e,r){var t=e.reduce((function(e,t){if(g(t))return e;var n=w(t,"deprecatedAssetId");return e.add(n||r),e}),new Set);return n(t)},P=function(){var e=t(s.mark((function e(t,n){var u,i,c,o,p,d,l;return s.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u=n.current.deprecatedAssetData,i=Object.keys(u),(c=t.filter((function(e){return!i.includes(String(e))}))).length){e.next=5;break}return e.abrupt("return",u);case 5:return e.next=7,F(c);case 7:if(o=e.sent){e.next=10;break}return e.abrupt("return",u);case 10:return p={rig:a.rig.id,well:a.well.id},d=Object.values(o).flat().reduce((function(e,t){var n=t.data;return e[n.attributes.asset_id]=r({},p[n.type],n.id),e}),{}),l=N(N({},u),d),n.current.cachedDeprecatedAssetData=l,e.abrupt("return",l);case 15:case"end":return e.stop()}}),e)})));return function(r,t){return e.apply(this,arguments)}}(),R=function(){var e=t(s.mark((function e(r,t,n){var u;return s.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,P(A(r,t),n);case 2:return u=e.sent,e.abrupt("return",r.map((function(e){if(g(e))return e;var r=w(e,"deprecatedAssetId");return N(N({},e),{},{settings:u[r||String(t)]})})));case 4:case"end":return e.stop()}}),e)})));return function(r,t,n){return e.apply(this,arguments)}}(),W=function(){var r=t(s.mark((function r(t){var n,a,g,w,F,j,N,A,P,W,x,B,D,U,k,C,q,V,G,z,H,J,K,M,Q,X,Y,Z,$,ee,re,te,ne,se,ue,ae,ie;return s.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=t.apps,a=t.dashboardAssetId,g=t.cache,w=t.updateCache,F=t.requests,j=void 0===F?_:F,r.next=3,R(n,a,g);case 3:return N=r.sent,A=y(N,g),P=A.appsWellIds,W=A.appsRigIds,x=A.appsFracFleetIds,B=A.appsInterventionUnitIds,D=A.appsFracFleetToFetchWellsIds,U=A.appsPadIds,k=A.uniqueWellIds,C=A.uniqueRigIds,q=A.uniqueFFIds,V=A.uniqueInterventionUnitIds,G=E(B,[]),z=j.includes(i.INTERVENTION_UNIT_WELLS)?G:V,r.next=9,Promise.all([j.includes(i.WELLS)&&v(k),j.includes(i.RIGS)&&O(C),j.includes(i.FRAC_FLEETS)&&h(q),j.includes(i.FRAC_FLEET_WELLS)&&L(D,n),j.includes(i.PAD_WELLS)&&T(U,n),(j.includes(i.INTERVENTION_UNITS)||j.includes(i.INTERVENTION_UNIT_WELLS))&&S(z)]);case 9:return H=r.sent,J=e(H,6),K=J[0],M=J[1],Q=J[2],X=J[3],Y=J[4],Z=J[5],$=K?c(K):{},ee=M?o(M):{},re=Q?p(Q):{},te=Z?d(Z):{},w({wellsById:$,rigsById:ee,fracFleetsById:re,interventionUnitsById:te}),ne=l(P,g.current.wellsById),se=f(W,g.current.rigsById),ue=I(x,g.current.fracFleetsById,X),ae=b(U,Y),ie=m(B,g.current.interventionUnitsById,P,g.current.wellsById),r.abrupt("return",u(ne,se,ue,ae,ie));case 28:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}();export{P as getAppSettingsByDeprecatedAssetId,R as getAppsWithUnifiedSettings,A as getDeprecatedAssetIds,W as resolveAppsData};
|
|
2
2
|
//# sourceMappingURL=dataResolvers.js.map
|