@corva/ui 3.54.0-0 → 3.54.0-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs-bundle/components/AddComment/Popover.js +1 -1
- package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
- package/cjs-bundle/components/Attachment/index.js +1 -1
- package/cjs-bundle/components/Attachment/index.js.map +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.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/CollapsableSidebar.js +1 -1
- package/cjs-bundle/components/CollapsableSidebar.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/CommentsSwitch/CommentsSwitchButton.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
- package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/FeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/components/FeedComments.js +1 -1
- package/cjs-bundle/components/FeedItem/components/FeedComments.js.map +1 -1
- package/cjs-bundle/components/ImageViewer/index.js +1 -1
- package/cjs-bundle/components/ImageViewer/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/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/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/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +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/Popover/Popover.js +1 -1
- package/cjs-bundle/components/Popper/Popper.js +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
- package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/AppAssets/utils.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
- package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.scss.js +1 -1
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
- package/cjs-bundle/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
- package/cjs-bundle/componentsV2/Select/Select.js +2 -0
- package/cjs-bundle/componentsV2/Select/Select.js.map +1 -0
- package/cjs-bundle/componentsV2/TemplatesControl/PublishModal/PublishModal.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
- package/cjs-bundle/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
- package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js +1 -1
- package/cjs-bundle/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
- package/cjs-bundle/componentsV2/index.js +1 -1
- package/cjs-bundle/effects/index.js +1 -1
- package/cjs-bundle/effects/useGlobalOffsetWellsSync.js +1 -1
- package/cjs-bundle/effects/useGlobalOffsetWellsSync.js.map +1 -1
- package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +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/Attachment/index.js +1 -1
- package/components/Attachment/index.js.map +1 -1
- package/components/BICOffsetPickerDialog/index.js +1 -1
- package/components/BICOffsetPickerDialog/index.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/CollapsableSidebar.js +1 -1
- package/components/CollapsableSidebar.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
- package/components/DocumentViewer/DocumentViewer.js +1 -1
- package/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
- package/components/FeedItem/FeedItem.js +1 -1
- package/components/FeedItem/FeedItem.js.map +1 -1
- package/components/FeedItem/components/FeedComments.js +1 -1
- package/components/FeedItem/components/FeedComments.js.map +1 -1
- package/components/ImageViewer/index.js +1 -1
- package/components/ImageViewer/index.js.map +1 -1
- package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js +1 -1
- package/components/OffsetWellPickerV2/OffsetWellPickerDialog.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.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.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/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerV5WithStore/components/CompanySafeguardWrapper/CompanySafeguardWrapper.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js +1 -1
- package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
- package/components/OffsetWellPickerV5/hooks/use-well-data-pipeline/useWellDataPipeline.js +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/Popover/Popover.js +1 -1
- package/components/Popper/Popper.js +1 -1
- package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
- package/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
- package/componentsV2/AppHeader/AppAssets/utils.js +1 -1
- package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
- package/componentsV2/AppHeader/V3/AssetSelector/AssetSelector.js +1 -1
- package/componentsV2/AppHeader/V3/VersionSelect/VersionSelect.js +1 -1
- package/componentsV2/Autocomplete/Autocomplete.scss.js +1 -1
- package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
- package/componentsV2/PadModeSelect/PadModeSelect.js +1 -1
- package/componentsV2/Select/Select.d.ts +23 -0
- package/componentsV2/Select/Select.d.ts.map +1 -0
- package/componentsV2/Select/Select.js +2 -0
- package/componentsV2/Select/Select.js.map +1 -0
- package/componentsV2/Select/Select.stories.d.ts +25 -0
- package/componentsV2/Select/Select.stories.d.ts.map +1 -0
- package/componentsV2/Select/index.d.ts +2 -0
- package/componentsV2/Select/index.d.ts.map +1 -0
- package/componentsV2/TemplatesControl/PublishModal/PublishModal.js +1 -1
- package/componentsV2/TemplatesControl/ShareModal/ShareModal.js +1 -1
- package/componentsV2/TemplatesControl/Toggle/Toggle.js +1 -1
- package/componentsV2/TextInputNext/TextInputNext.js +1 -1
- package/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
- package/componentsV2/index.d.ts +1 -0
- package/componentsV2/index.d.ts.map +1 -1
- package/componentsV2/index.js +1 -1
- package/effects/index.d.ts +1 -0
- package/effects/index.d.ts.map +1 -1
- package/effects/index.js +1 -1
- package/effects/useGlobalOffsetWellsSync.js +1 -1
- package/effects/useGlobalOffsetWellsSync.js.map +1 -1
- package/mcp-server/server.mjs +177 -4
- package/mcp-server/server.mjs.map +1 -1
- package/package.json +1 -1
- package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"@babel/runtime/helpers/defineProperty";import{jsx as s,jsxs as t,Fragment as n}from"react/jsx-runtime";import i from"classnames";import{forwardRef as e,useRef as c,useCallback as r}from"react";import{Text as m}from"../Text/Text.js";import{LoaderCircular as
|
|
1
|
+
import o from"@babel/runtime/helpers/defineProperty";import{jsx as s,jsxs as t,Fragment as n}from"react/jsx-runtime";import i from"classnames";import{forwardRef as e,useRef as c,useCallback as r}from"react";import{Text as m}from"../Text/Text.js";import{LoaderCircular as p}from"../LoaderCircular/LoaderCircular.js";import{Tooltip as a}from"../Tooltip/Tooltip.js";import"../../clients/subscriptions/constants.js";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"lodash";import"../../clients/subscriptions.v1.js";import"../../clients/jsonApi/index.js";import"../../clients/subscriptions/subscriptions-client.factory.js";import"immutable";import"query-string";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import"../../constants/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../constants/corvaCompanyId.js";import"../../components/GradientManager/configuration/constants.js";import"../../utils/index.js";import"uuid";import"jsona";import"../../utils/env.js";import"../../components/StatusBadge/constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../constants/streamSourceType.js";import"../../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../AppCommonsProvider/AppCommonsProvider.js";import"../AppCommonsProvider/AppCommonsContext.js";import"../AppSettings/AppSettingsPinningContext.js";import{useCombineRefs as l}from"../../effects/useCombineRefs.js";import{TextInputTestIds as u}from"./TextInputNext.constants.js";import{InfoIcon as d}from"./components/InfoIcon.js";import{Label as j}from"./components/Label.js";import{MessageWithIcon as b}from"./components/MessageWithIcon.js";import{RequiredIndicator as f}from"./components/RequiredIndicator.js";import{Unit as I}from"./components/Unit.js";import h from"./TextInputNext.scss.js";import{CloseSmallIcon as g,UpOneIcon as v,DownOneIcon as C}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";function y(o,s){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);s&&(n=n.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),t.push.apply(t,n)}return t}function x(s){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){o(s,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(o){Object.defineProperty(s,o,Object.getOwnPropertyDescriptor(n,o))}))}return s}var O={small:h.small,medium:h.medium,large:h.large},P={top:"",start:h.labelStart,end:h.labelEnd},S=e((function(o,e){var d=o.testId,b=o.className,f=o.label,I=o.prefix,y=o.suffix,S=o.placeholder,A=o.size,N=void 0===A?"small":A,D=o.value,F=void 0===D?"":D,w=o.readOnly,B=o.inputType,k=o.labelPlacement,T=void 0===k?"top":k,U=o.inputRef,R=o.disabled,E=o.autoFocus,M=o.focusOnClear,z=void 0===M||M,L=o.message,q=o.clearable,G=o.onFocus,K=o.onBlur,W=o.onKeyUp,Z=o.onKeyDown,H=o.status,J=o.onChange,Q=o.inputMode,V=o.htmlAttributes,X=o.elementsClassNames,Y=void 0===X?{}:X,$=o.inputContainerRef,_=c(null),oo=l(U,_),so=r((function(o){null==J||J(o.target.value,"change",o)}),[J]),to=r((function(o,s){o.stopPropagation(),o.preventDefault(),_.current&&("stepUp"===s?_.current.stepUp():_.current.stepDown(),_.current.dispatchEvent(new Event("change",{bubbles:!0})))}),[]),no=r((function(o){return to(o,"stepUp")}),[to]),io=r((function(o){return to(o,"stepDown")}),[to]),eo=r((function(o){z||(o.stopPropagation(),o.preventDefault()),null==J||J("","clear")}),[J,z]),co="number"===B,ro=q&&String(F).length>0?s(a,{title:"Clear",children:s("button",{className:h.clearButton,onClick:eo,tabIndex:-1,"data-testid":u.ClearButton,children:s(g,{size:16})})}):void 0,mo=co?t("div",{className:Y.numberStepButtons,children:[s("button",{tabIndex:-1,onClick:no,className:i(h.numberStepButton,h.up),"data-testid":u.StepUpButton,children:s(v,{theme:"filled",size:14,className:h.numberStepButtonIcon})}),s("button",{tabIndex:-1,onClick:io,className:i(h.numberStepButton,h.down),"data-testid":u.StepDownButton,children:s(C,{theme:"filled",size:14,className:h.numberStepButtonIcon})})]}):void 0,po="loading"===H?s(p,{size:"xs"}):void 0,ao=po||y||mo||ro?t(n,{children:[po,ro,y,mo]}):void 0;return t("label",{ref:e,className:i(h.root,O[N],"error"===H&&h.error,R&&h.disabled,b),"data-testid":d,children:[t("div",{className:P[T],children:[f&&s(m,{size:12,color:"T6",className:i(h.label,"top"!==T&&h.labelAside,Y.label),testId:u.Label,children:"string"==typeof f?s(j,{children:f}):f}),t("div",{className:i(h.inputContainer,Y.inputContainer),ref:$,children:[I&&s("div",{className:i(h.affix,Y.prefix),"data-testid":u.Prefix,children:I}),s("input",x({ref:oo,className:i(h.input,Y.input),"data-testid":u.Input,placeholder:S,value:F,readOnly:w,type:B,onChange:so,inputMode:Q,disabled:R,onFocus:G,onBlur:K,onKeyUp:W,onKeyDown:Z,autoFocus:E},V)),ao&&s("div",{className:i(h.affix,Y.suffix),"data-testid":u.Suffix,children:ao})]})]}),L&&s(m,{size:12,color:"T6",tagName:"div",className:i(h.message,Y.message),testId:u.Message,children:L})]})}));S.InfoIcon=d,S.MessageWithIcon=b,S.RequiredIndicator=f,S.Unit=I,S.Label=j;var A=S;export{A as TextInputNext};
|
|
2
2
|
//# sourceMappingURL=TextInputNext.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"@babel/runtime/helpers/asyncToGenerator";import s from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/regenerator";import{jsx as e}from"react/jsx-runtime";import{useState as n,useCallback as r,useEffect as i}from"react";import"../AppCommonsProvider/AppCommonsProvider.js";import{useAppCommons as p}from"../AppCommonsProvider/AppCommonsContext.js";import"../../utils/index.js";import"../../components/DevCenter/AppHeader/AppHeader.js";import"../../components/DevCenter/AppSideBar/AppSideBar.js";import"../../components/DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"classnames";import"lodash";import"@material-ui/core";import"@material-ui/icons";import"../../components/DevCenter/AppContext.js";import"../../components/DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import{useDevCenterRouter as c}from"../../components/DevCenter/DevCenterRouterContext/effects/useDevCenterRouter.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router-dom";import"query-string";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import"../../constants/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../constants/corvaCompanyId.js";import"../../components/GradientManager/configuration/constants.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../components/DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../Text/Text.js";import"../Grid/Grid.js";import"../Grid/Cell.js";import"../Header/Header.scss.js";import"../Button/Button.js";import"../ButtonIcon/ButtonIcon.js";import"../../components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"uuid";import"../Tooltip/Tooltip.scss.js";import"../Popover/Popover.js";import"../Radio/Radio.js";import"../RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../TextInput/TextInput.js";import"../TextInputNext/TextInputNext.js";import"../Label/Label.js";import"../TextEndTruncated/TextEndTruncated.scss.js";import"../TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../TextLink/TextLink.js";import"../Chip/Chip.js";import"../ChipAlert/ChipAlert.js";import"../ChipIndicator/ChipIndicator.js";import"../Avatar/Avatar.js";import"../AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../ToggleButtons/ToggleButtons.scss.js";import"../Paper/Paper.js";import"../ModalWindow/ModalWindow.js";import"../Modal/Modal.scss.js";import"../Menu/Menu.js";import"@icon-park/react/es/all";import"../../icons/IconParkProvider.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../utils.js";import"../Hint/Hint.scss.js";import"../Counter/Counter.js";import"../BadgeBase/BadgeBase.scss.js";import"../TemplatesControl/TemplatesControl.js";import"zustand";import"../TemplatesControl/utils.js";import"../TemplatesControl/icons/folder/index.js";import"../TemplatesControl/Store/utils.js";import"../TemplatesControl/types.js";import"../../clients/jsonApi/index.js";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"../BadgeDot/BadgeDot.scss.js";import"../LoaderLinear/LoaderLinear.scss.js";import"../LoaderLogo/LoaderLogo.constants.js";import"../LoaderLogo/LoaderLogo.scss.js";import"../Switch/Switch.js";import"../Tabs/Tabs.js";import"../EmptyState/EmptyState.scss.js";import"../FileIcon/FileIcon.js";import"../Tag/Tag.js";import"react-dropzone";import"../FilesDropzone/FilesDropzone.scss.js";import"../FilesLoader/FilesLoader.scss.js";import"../FilesProcessor/FilesProcessor.scss.js";import"../Skeleton/Skeleton.scss.js";import"../../utils/main.js";import"../CopyToClipboard/CopyToClipboard.scss.js";import"../Stepper/Step/Step.scss.js";import"../Stepper/Stepper.scss.js";import"../ButtonLive/ButtonLive.js";import"../ButtonText/ButtonText.js";import"../IndicatorLive/IndicatorLive.js";import"../Accordion/Accordion.scss.js";import"../Breadcrumbs/Breadcrumbs.scss.js";import"../BadgeComment/BadgeComment.js";import"../AppContainer/AppContainer.js";import"../AppContainer/AppContainer.constants.js";import"../AppFooter/AppFooter.js";import"immutable";import"../AppHeader/AppHeader.constants.js";import"../AppHeader/AppBadge/AppBadge.scss.js";import"../AppHeader/AppAssets/utils.js";import"../AppHeader/AppAssets/AppAssets.scss.js";import"../../components/PadModeSelect/PadModeSelect.js";import"../AppHeader/PadMode/PadMode.scss.js";import"../../constants/streamSourceType.js";import"../PadModeSelect/PadModeSelect.js";import"../PadModeSelect/PadModeSelect.constants.js";import"../AppHeader/V3/VersionSelect/VersionSelect.js";import"../UniversalLink/UniversalLink.scss.js";import"../AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../AppDqPopover/DqAlert/DqAlert.scss.js";import"../AppDqPopover/DqAsset/DqAsset.scss.js";import"../AppDqPopover/AppDqPopover.scss.js";import"../../components/AppIcon/AppIcon.js";import"../../utils/getSingleAsset.js";import"../AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../AppHeader/V3/AssetSelector/constants.js";import"../AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../clients/subscriptions.v1.js";import"../../clients/subscriptions/subscriptions-client.factory.js";import m from"../../utils/resolveWellHubSlug.js";import"../../utils/env.js";import"../../components/StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../AppHeader/V3/AppTitle/AppTitle.constants.js";import"../AppHeader/V3/AppTitle/AppTitle.scss.js";import"../AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../AppHeader/V3/SettingsButton/SettingsButton.js";import"../AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../AppSettings/AppSettings.js";import"../AppSettings/AppSettings.constants.js";import"../AppSettings/AppSettingsPinningContext.js";import"../AppSizeProvider/AppSizeProvider.js";import"../AppHeader/V3/Actions/Actions.constants.js";import"../AppHeader/V3/Actions/Actions.scss.js";import"../AppHeader/V3/AppHeaderV3.scss.js";import"../AppHeader/AppHeader.scss.js";import"../OffsetWellsButton/OffsetWellsButton.js";import"../Autocomplete/Autocomplete.js";import"../AppSettingsDivider/AppSettingsDivider.scss.js";import"../DatePicker/DatePicker.js";import"../DragHandle/DragHandle.js";import"../CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../Slider/constants.js";import"../Slider/components/SliderThumb.js";import"../Slider/Slider.scss.js";import"react-color";import"../ColorPicker/Swatches/Swatches.scss.js";import"../ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../ColorPicker/ColorPicker.scss.js";import"../../components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"rollbar";import"@rollbar/react";import"../../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../../utils/mobileDetect.js";import"../../components/Icons/AnnotationIcon.js";import"../../components/Annotations/components/AnnotationsList/index.js";import"../../components/Annotations/components/LastAnnotation/index.js";import"../../components/Annotations/AnnotationsContext.js";import"../../components/Toaster/Toaster.js";import"../../components/HelpCenter/HelpCenterIcon.js";import"../../components/DevCenter/NavigationBar/NavigationBar.js";import"../../components/DevCenter/SideBar/SideBar.js";import"../../components/DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import{ModalDisplayComponent as a}from"./ModalDisplayComponent/ModalDisplayComponent.js";var l=function(o){return"archived"===(null==o?void 0:o.status)},j=function(j){var d=j.displayComponent,u=void 0===d?a:d,A=j.onClose,C=p().well,v=c(),D=n(l(C)),I=s(D,2),S=I[0],g=I[1],P=r((function(){null==A||A(),g(!1)}),[A]),h=r(o(t.mark((function o(){var s;return t.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return P(),o.next=3,m();case 3:(s=o.sent)&&v.push("/assets/".concat(null==C?void 0:C.asset_id,"/").concat(s));case 5:case"end":return o.stop()}}),o)}))),[v,null==C?void 0:C.asset_id,P]);return i((function(){g(l({status:null==C?void 0:C.status}))}),[null==C?void 0:C.id,null==C?void 0:C.status]),S?e(u,{onClose:P,onUnarchive:h}):null};j.DisplayComponents={Modal:a};var d=j;export{d as WellArchivedMessage,j as WellArchivedMessageBase};
|
|
1
|
+
import o from"@babel/runtime/helpers/asyncToGenerator";import s from"@babel/runtime/helpers/slicedToArray";import t from"@babel/runtime/regenerator";import{jsx as e}from"react/jsx-runtime";import{useState as n,useCallback as r,useEffect as i}from"react";import"../AppCommonsProvider/AppCommonsProvider.js";import{useAppCommons as p}from"../AppCommonsProvider/AppCommonsContext.js";import"../../utils/index.js";import"../../components/DevCenter/AppHeader/AppHeader.js";import"../../components/DevCenter/AppSideBar/AppSideBar.js";import"../../components/DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"classnames";import"lodash";import"@material-ui/core";import"@material-ui/icons";import"../../components/DevCenter/AppContext.js";import"../../components/DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../components/DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import{useDevCenterRouter as c}from"../../components/DevCenter/DevCenterRouterContext/effects/useDevCenterRouter.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router-dom";import"query-string";import"../../constants/goals.js";import"../../constants/segment.js";import"../../constants/alerts.js";import"../../constants/apps.js";import"../../constants/drillstring.js";import"../../constants/completion.js";import"../../constants/appPackages.js";import"../../constants/notifications.js";import"../../constants/feed.js";import"../../constants/bha.js";import"../../constants/corvaCompanyId.js";import"../../components/GradientManager/configuration/constants.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/RemoveAppButton.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/components/SettingsAccordion.js";import"../../components/DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../Text/Text.js";import"../Grid/Grid.js";import"../Grid/Cell.js";import"../Header/Header.scss.js";import"../Button/Button.js";import"../ButtonIcon/ButtonIcon.js";import"../../components/DevCenter/DevCenterAppContainer/components/IsInsideIsolatedDcAppProvider/IsInsideIsolatedDcAppProvider.js";import"../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"uuid";import"../Tooltip/Tooltip.scss.js";import"../Popover/Popover.js";import"../Radio/Radio.js";import"../RadioAndCheckboxGroup/RadioAndCheckboxGroup.scss.js";import"../Checkbox/Checkbox.js";import"@babel/runtime/helpers/toConsumableArray";import"../TextInput/TextInput.js";import"../TextInputNext/TextInputNext.js";import"../Label/Label.js";import"../TextEndTruncated/TextEndTruncated.scss.js";import"../TextMiddleTruncated/TextMiddleTruncated.constants.js";import"../TextMiddleTruncated/TextMiddleTruncated.scss.js";import"../TextLink/TextLink.js";import"../Chip/Chip.js";import"../ChipAlert/ChipAlert.js";import"../ChipIndicator/ChipIndicator.js";import"../Avatar/Avatar.js";import"../AvatarGroup/AvatarGroup.js";import"@material-ui/lab";import"../ToggleButtons/ToggleButtons.scss.js";import"../Paper/Paper.js";import"../ModalWindow/ModalWindow.js";import"../Modal/Modal.scss.js";import"../Menu/Menu.js";import"@icon-park/react/es/all";import"../../icons/IconParkProvider.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";import"../utils.js";import"../Hint/Hint.scss.js";import"../Counter/Counter.js";import"../BadgeBase/BadgeBase.scss.js";import"../TemplatesControl/TemplatesControl.js";import"zustand";import"../TemplatesControl/utils.js";import"../TemplatesControl/icons/folder/index.js";import"../TemplatesControl/Store/utils.js";import"../TemplatesControl/types.js";import"../../clients/jsonApi/index.js";import"../../permissions/PermissionsContext.js";import"../../permissions/constants/index.js";import"../../permissions/withPermissionsHOC.js";import"../../permissions/ProvidePermissions.js";import"../BadgeDot/BadgeDot.scss.js";import"../LoaderLinear/LoaderLinear.scss.js";import"../LoaderLogo/LoaderLogo.constants.js";import"../LoaderLogo/LoaderLogo.scss.js";import"../Switch/Switch.js";import"../Tabs/Tabs.js";import"../EmptyState/EmptyState.scss.js";import"../FileIcon/FileIcon.js";import"../Tag/Tag.js";import"react-dropzone";import"../FilesDropzone/FilesDropzone.scss.js";import"../FilesLoader/FilesLoader.scss.js";import"../FilesProcessor/FilesProcessor.scss.js";import"../Skeleton/Skeleton.scss.js";import"../../utils/main.js";import"../CopyToClipboard/CopyToClipboard.scss.js";import"../Stepper/Step/Step.scss.js";import"../Stepper/Stepper.scss.js";import"../ButtonLive/ButtonLive.js";import"../ButtonText/ButtonText.js";import"../IndicatorLive/IndicatorLive.js";import"../Accordion/Accordion.scss.js";import"../Breadcrumbs/Breadcrumbs.scss.js";import"../BadgeComment/BadgeComment.js";import"../AppContainer/AppContainer.js";import"../AppContainer/AppContainer.constants.js";import"../AppFooter/AppFooter.js";import"immutable";import"../AppHeader/AppHeader.constants.js";import"../AppHeader/AppBadge/AppBadge.scss.js";import"../AppHeader/AppAssets/utils.js";import"../AppHeader/AppAssets/AppAssets.scss.js";import"../../components/PadModeSelect/PadModeSelect.js";import"../AppHeader/PadMode/PadMode.scss.js";import"../../constants/streamSourceType.js";import"../PadModeSelect/PadModeSelect.js";import"../PadModeSelect/PadModeSelect.constants.js";import"../AppHeader/V3/VersionSelect/VersionSelect.js";import"../UniversalLink/UniversalLink.scss.js";import"../AppHeader/V3/AssetChips/AssetChips.scss.js";import"moment";import"../AppHeader/V3/DqStatusIcon/DqStatusIcon.js";import"../AppHeader/V3/DqStatusIcon/DqStatusIcon.constants.js";import"../AppFooter/DqPopover/DqStatusIcon/DqStatusIcon.js";import"../AppDqPopover/DqAlertTooltip/DqAlertTooltip.scss.js";import"../AppDqPopover/DqAlert/DqAlert.scss.js";import"../AppDqPopover/DqAsset/DqAsset.scss.js";import"../AppDqPopover/AppDqPopover.scss.js";import"../../components/AppIcon/AppIcon.js";import"../../utils/getSingleAsset.js";import"../AppHeader/V3/AssetSelector/AssetSelectorChip/AssetSelectorChip.js";import"../AppHeader/V3/AssetSelector/constants.js";import"../AppHeader/V3/AssetSelector/AssetSelectorSelect/AssetSelectorSelect.scss.js";import"../AppHeader/V3/AssetSelector/AssetSelectorSelect/loadAssets.js";import"../AppHeader/V3/AssetSelector/AssetSelector.scss.js";import"../../clients/subscriptions/constants.js";import"querystring";import"uuid/v1";import"../../clients/subscriptions.v1.js";import"../../clients/subscriptions/subscriptions-client.factory.js";import m from"../../utils/resolveWellHubSlug.js";import"../../utils/env.js";import"../../components/StatusBadge/constants.js";import"lodash/set";import"lodash/get";import"lodash/unset";import"../../clients/api/apiCore.js";import"../../clients/constants.js";import"../../clients/sso/auth0.js";import"../../clients/sso/oauth2.js";import"lodash/isEmpty";import"lodash/sortBy";import"../../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../AppSettings/AppSettingsPinningContext.js";import"../AppHeader/V3/AppTitle/AppTitle.constants.js";import"../AppHeader/V3/AppTitle/AppTitle.scss.js";import"../AppHeader/V3/constants.scss.js";import"@babel/runtime/helpers/typeof";import"../AppHeader/V3/SettingsButton/SettingsButton.js";import"../AppHeader/V3/SettingsButton/SettingsButton.constants.js";import"../AppSettings/AppSettings.js";import"../AppSettings/AppSettings.constants.js";import"../AppSizeProvider/AppSizeProvider.js";import"../AppHeader/V3/Actions/Actions.constants.js";import"../AppHeader/V3/Actions/Actions.scss.js";import"../AppHeader/V3/AppHeaderV3.scss.js";import"../AppHeader/AppHeader.scss.js";import"../OffsetWellsButton/OffsetWellsButton.js";import"../Autocomplete/Autocomplete.js";import"../Select/Select.js";import"../AppSettingsDivider/AppSettingsDivider.scss.js";import"../DatePicker/DatePicker.js";import"../DragHandle/DragHandle.js";import"../CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";import"../Slider/constants.js";import"../Slider/components/SliderThumb.js";import"../Slider/Slider.scss.js";import"react-color";import"../ColorPicker/Swatches/Swatches.scss.js";import"../ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js";import"../ColorPicker/ColorPicker.scss.js";import"../../components/DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../components/DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"rollbar";import"@rollbar/react";import"../../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.scss.js";import"../../components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../../utils/mobileDetect.js";import"../../components/Icons/AnnotationIcon.js";import"../../components/Annotations/components/AnnotationsList/index.js";import"../../components/Annotations/components/LastAnnotation/index.js";import"../../components/Annotations/AnnotationsContext.js";import"../../components/Toaster/Toaster.js";import"../../components/HelpCenter/HelpCenterIcon.js";import"../../components/DevCenter/NavigationBar/NavigationBar.js";import"../../components/DevCenter/SideBar/SideBar.js";import"../../components/DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import{ModalDisplayComponent as a}from"./ModalDisplayComponent/ModalDisplayComponent.js";var l=function(o){return"archived"===(null==o?void 0:o.status)},j=function(j){var d=j.displayComponent,u=void 0===d?a:d,A=j.onClose,C=p().well,v=c(),D=n(l(C)),S=s(D,2),I=S[0],g=S[1],P=r((function(){null==A||A(),g(!1)}),[A]),h=r(o(t.mark((function o(){var s;return t.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return P(),o.next=3,m();case 3:(s=o.sent)&&v.push("/assets/".concat(null==C?void 0:C.asset_id,"/").concat(s));case 5:case"end":return o.stop()}}),o)}))),[v,null==C?void 0:C.asset_id,P]);return i((function(){g(l({status:null==C?void 0:C.status}))}),[null==C?void 0:C.id,null==C?void 0:C.status]),I?e(u,{onClose:P,onUnarchive:h}):null};j.DisplayComponents={Modal:a};var d=j;export{d as WellArchivedMessage,j as WellArchivedMessageBase};
|
|
2
2
|
//# sourceMappingURL=WellArchivedMessage.js.map
|
package/componentsV2/index.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ export * from './OffsetWellsButton';
|
|
|
57
57
|
export * from './PadModeSelect';
|
|
58
58
|
export * from './Popper';
|
|
59
59
|
export * from './Autocomplete';
|
|
60
|
+
export * from './Select';
|
|
60
61
|
export * from './UniversalLink';
|
|
61
62
|
export * from './AppSettingsDivider';
|
|
62
63
|
export * from './WellArchivedMessage';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/componentsV2/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/componentsV2/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC"}
|
package/componentsV2/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{Text}from"./Text/Text.js";export{Grid}from"./Grid/Grid.js";export{Cell}from"./Grid/Cell.js";export{Header}from"./Header/Header.js";export{Button}from"./Button/Button.js";export{ButtonIcon}from"./ButtonIcon/ButtonIcon.js";export{Tooltip}from"./Tooltip/Tooltip.js";export{Popover}from"./Popover/Popover.js";export{Radio}from"./Radio/Radio.js";export{RadioGroup}from"./RadioGroup/RadioGroup.js";export{Checkbox}from"./Checkbox/Checkbox.js";export{CheckboxGroup}from"./CheckboxGroup/CheckboxGroup.js";export{TextInput}from"./TextInput/TextInput.js";export{TextInputNext}from"./TextInputNext/TextInputNext.js";export{Label}from"./Label/Label.js";export{TextEndTruncated}from"./TextEndTruncated/TextEndTruncated.js";export{TextMiddleTruncated}from"./TextMiddleTruncated/TextMiddleTruncated.js";export{TextMiddleTruncatedTestIds}from"./TextMiddleTruncated/TextMiddleTruncated.constants.js";export{TextLink}from"./TextLink/TextLink.js";export{LoaderCircular}from"./LoaderCircular/LoaderCircular.js";export{Chip}from"./Chip/Chip.js";export{ChipAlert}from"./ChipAlert/ChipAlert.js";export{ChipIndicator}from"./ChipIndicator/ChipIndicator.js";export{Avatar}from"./Avatar/Avatar.js";export{AvatarGroup}from"./AvatarGroup/AvatarGroup.js";export{ToggleButtons}from"./ToggleButtons/ToggleButtons.js";export{Paper}from"./Paper/Paper.js";export{ModalWindow}from"./ModalWindow/ModalWindow.js";export{Modal}from"./Modal/Modal.js";export{Menu}from"./Menu/Menu.js";export{Hint}from"./Hint/Hint.js";export{Counter}from"./Counter/Counter.js";export{BadgeCounter}from"./BadgeCounter/BadgeCounter.js";export{TemplatesControl}from"./TemplatesControl/TemplatesControl.js";export{getTemplatesControlStoreApi}from"./TemplatesControl/Store/Store.js";import"./TemplatesControl/Store/utils.js";export{BadgeDot}from"./BadgeDot/BadgeDot.js";export{LoaderLinear}from"./LoaderLinear/LoaderLinear.js";export{LoaderLogo}from"./LoaderLogo/LoaderLogo.js";export{Switch}from"./Switch/Switch.js";export{Tabs}from"./Tabs/Tabs.js";export{EmptyState}from"./EmptyState/EmptyState.js";export{FileIcon}from"./FileIcon/FileIcon.js";export{Tag}from"./Tag/Tag.js";export{FilesDropzone}from"./FilesDropzone/FilesDropzone.js";export{FilesLoader}from"./FilesLoader/FilesLoader.js";export{FilesProcessor}from"./FilesProcessor/FilesProcessor.js";export{Skeleton}from"./Skeleton/Skeleton.js";export{CopyToClipboard}from"./CopyToClipboard/CopyToClipboard.js";export{Stepper}from"./Stepper/Stepper.js";export{ButtonLive}from"./ButtonLive/ButtonLive.js";export{ButtonText}from"./ButtonText/ButtonText.js";export{IndicatorLive}from"./IndicatorLive/IndicatorLive.js";export{Accordion}from"./Accordion/Accordion.js";export{Breadcrumbs}from"./Breadcrumbs/Breadcrumbs.js";export{BadgeComment}from"./BadgeComment/BadgeComment.js";export{AppContainer}from"./AppContainer/AppContainer.js";export{AppContainerTestIds}from"./AppContainer/AppContainer.constants.js";export{AppFooter}from"./AppFooter/AppFooter.js";export{AppHeader}from"./AppHeader/AppHeader.js";export{AppHeaderTestIds}from"./AppHeader/AppHeader.constants.js";export{OffsetWellsButton}from"./OffsetWellsButton/OffsetWellsButton.js";export{PadModeSelect}from"./PadModeSelect/PadModeSelect.js";export{PadModeSelectTestIds}from"./PadModeSelect/PadModeSelect.constants.js";export{Popper}from"./Popper/Popper.js";export{Autocomplete,AutocompleteNext}from"./Autocomplete/Autocomplete.js";export{UniversalLink}from"./UniversalLink/UniversalLink.js";export{AppSettingsDivider}from"./AppSettingsDivider/AppSettingsDivider.js";export{WellArchivedMessage,WellArchivedMessageBase}from"./WellArchivedMessage/WellArchivedMessage.js";export{DatePicker,DatePickerNext,getActiveStartDate}from"./DatePicker/DatePicker.js";export{DragHandle}from"./DragHandle/DragHandle.js";export{CompletionsOffsetWellPicker}from"./CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";export{Slider}from"./Slider/Slider.js";export{ColorPicker}from"./ColorPicker/ColorPicker.js";
|
|
1
|
+
export{Text}from"./Text/Text.js";export{Grid}from"./Grid/Grid.js";export{Cell}from"./Grid/Cell.js";export{Header}from"./Header/Header.js";export{Button}from"./Button/Button.js";export{ButtonIcon}from"./ButtonIcon/ButtonIcon.js";export{Tooltip}from"./Tooltip/Tooltip.js";export{Popover}from"./Popover/Popover.js";export{Radio}from"./Radio/Radio.js";export{RadioGroup}from"./RadioGroup/RadioGroup.js";export{Checkbox}from"./Checkbox/Checkbox.js";export{CheckboxGroup}from"./CheckboxGroup/CheckboxGroup.js";export{TextInput}from"./TextInput/TextInput.js";export{TextInputNext}from"./TextInputNext/TextInputNext.js";export{Label}from"./Label/Label.js";export{TextEndTruncated}from"./TextEndTruncated/TextEndTruncated.js";export{TextMiddleTruncated}from"./TextMiddleTruncated/TextMiddleTruncated.js";export{TextMiddleTruncatedTestIds}from"./TextMiddleTruncated/TextMiddleTruncated.constants.js";export{TextLink}from"./TextLink/TextLink.js";export{LoaderCircular}from"./LoaderCircular/LoaderCircular.js";export{Chip}from"./Chip/Chip.js";export{ChipAlert}from"./ChipAlert/ChipAlert.js";export{ChipIndicator}from"./ChipIndicator/ChipIndicator.js";export{Avatar}from"./Avatar/Avatar.js";export{AvatarGroup}from"./AvatarGroup/AvatarGroup.js";export{ToggleButtons}from"./ToggleButtons/ToggleButtons.js";export{Paper}from"./Paper/Paper.js";export{ModalWindow}from"./ModalWindow/ModalWindow.js";export{Modal}from"./Modal/Modal.js";export{Menu}from"./Menu/Menu.js";export{Hint}from"./Hint/Hint.js";export{Counter}from"./Counter/Counter.js";export{BadgeCounter}from"./BadgeCounter/BadgeCounter.js";export{TemplatesControl}from"./TemplatesControl/TemplatesControl.js";export{getTemplatesControlStoreApi}from"./TemplatesControl/Store/Store.js";import"./TemplatesControl/Store/utils.js";export{BadgeDot}from"./BadgeDot/BadgeDot.js";export{LoaderLinear}from"./LoaderLinear/LoaderLinear.js";export{LoaderLogo}from"./LoaderLogo/LoaderLogo.js";export{Switch}from"./Switch/Switch.js";export{Tabs}from"./Tabs/Tabs.js";export{EmptyState}from"./EmptyState/EmptyState.js";export{FileIcon}from"./FileIcon/FileIcon.js";export{Tag}from"./Tag/Tag.js";export{FilesDropzone}from"./FilesDropzone/FilesDropzone.js";export{FilesLoader}from"./FilesLoader/FilesLoader.js";export{FilesProcessor}from"./FilesProcessor/FilesProcessor.js";export{Skeleton}from"./Skeleton/Skeleton.js";export{CopyToClipboard}from"./CopyToClipboard/CopyToClipboard.js";export{Stepper}from"./Stepper/Stepper.js";export{ButtonLive}from"./ButtonLive/ButtonLive.js";export{ButtonText}from"./ButtonText/ButtonText.js";export{IndicatorLive}from"./IndicatorLive/IndicatorLive.js";export{Accordion}from"./Accordion/Accordion.js";export{Breadcrumbs}from"./Breadcrumbs/Breadcrumbs.js";export{BadgeComment}from"./BadgeComment/BadgeComment.js";export{AppContainer}from"./AppContainer/AppContainer.js";export{AppContainerTestIds}from"./AppContainer/AppContainer.constants.js";export{AppFooter}from"./AppFooter/AppFooter.js";export{AppHeader}from"./AppHeader/AppHeader.js";export{AppHeaderTestIds}from"./AppHeader/AppHeader.constants.js";export{OffsetWellsButton}from"./OffsetWellsButton/OffsetWellsButton.js";export{PadModeSelect}from"./PadModeSelect/PadModeSelect.js";export{PadModeSelectTestIds}from"./PadModeSelect/PadModeSelect.constants.js";export{Popper}from"./Popper/Popper.js";export{Autocomplete,AutocompleteNext}from"./Autocomplete/Autocomplete.js";export{Select}from"./Select/Select.js";export{UniversalLink}from"./UniversalLink/UniversalLink.js";export{AppSettingsDivider}from"./AppSettingsDivider/AppSettingsDivider.js";export{WellArchivedMessage,WellArchivedMessageBase}from"./WellArchivedMessage/WellArchivedMessage.js";export{DatePicker,DatePickerNext,getActiveStartDate}from"./DatePicker/DatePicker.js";export{DragHandle}from"./DragHandle/DragHandle.js";export{CompletionsOffsetWellPicker}from"./CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.js";export{Slider}from"./Slider/Slider.js";export{ColorPicker}from"./ColorPicker/ColorPicker.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/effects/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import useLoadedData from './useLoadedData';
|
|
|
11
11
|
import usePadSelectorSelectedWells from './usePadSelectorSelectedWells';
|
|
12
12
|
export { useAppCommentsMode, useSetAppCommentsMode, } from '../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext';
|
|
13
13
|
export { useAppCommons } from '../componentsV2/AppCommonsProvider';
|
|
14
|
+
export { useAppSettingPinning } from '../componentsV2/AppSettings/AppSettingsPinningContext';
|
|
14
15
|
export { useGlobalOffsetWellsSync } from './useGlobalOffsetWellsSync';
|
|
15
16
|
export { useDevCenterApp, useEscPress, useIsAssetViewer, useOutsideClick, useResizeObserver, useSharedDCStore, useSignedURL, useSubscriptions, useWellnessAlerts, useLoadedData, usePadSelectorSelectedWells, };
|
|
16
17
|
export * from './useInfiniteScroll';
|
package/effects/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/effects/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;AAExE,OAAO,EACL,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,+FAA+F,CAAC;AACvG,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,EACL,eAAe,EACf,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,2BAA2B,GAC5B,CAAC;AAEF,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/effects/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;AAExE,OAAO,EACL,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,+FAA+F,CAAC;AACvG,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uDAAuD,CAAC;AAC7F,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,EACL,eAAe,EACf,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,2BAA2B,GAC5B,CAAC;AAEF,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC"}
|
package/effects/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{default as useSubscriptions}from"./useSubscriptions.js";export{default as useOutsideClick}from"./useOutsideClick.js";export{default as useEscPress}from"./useEscPress.js";export{default as useDevCenterApp}from"./useDevCenterApp.js";export{default as useSignedURL}from"./useSignedURL.js";export{default as useSharedDCStore}from"./useSharedDCStore.js";export{default as useResizeObserver}from"./useResizeObserver.js";export{default as useIsAssetViewer}from"./useIsAssetViewer.js";export{useWellnessAlerts}from"./useWellnessAlerts.js";export{default as useLoadedData}from"./useLoadedData.js";export{default as usePadSelectorSelectedWells}from"./usePadSelectorSelectedWells.js";export{useAppCommentsMode,useSetAppCommentsMode}from"../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../componentsV2/AppCommonsProvider/AppCommonsProvider.js";export{useAppCommons}from"../componentsV2/AppCommonsProvider/AppCommonsContext.js";export{useGlobalOffsetWellsSync}from"./useGlobalOffsetWellsSync.js";export{useInfiniteScroll}from"./useInfiniteScroll.js";export{useCombineRefs}from"./useCombineRefs.js";
|
|
1
|
+
export{default as useSubscriptions}from"./useSubscriptions.js";export{default as useOutsideClick}from"./useOutsideClick.js";export{default as useEscPress}from"./useEscPress.js";export{default as useDevCenterApp}from"./useDevCenterApp.js";export{default as useSignedURL}from"./useSignedURL.js";export{default as useSharedDCStore}from"./useSharedDCStore.js";export{default as useResizeObserver}from"./useResizeObserver.js";export{default as useIsAssetViewer}from"./useIsAssetViewer.js";export{useWellnessAlerts}from"./useWellnessAlerts.js";export{default as useLoadedData}from"./useLoadedData.js";export{default as usePadSelectorSelectedWells}from"./usePadSelectorSelectedWells.js";export{useAppCommentsMode,useSetAppCommentsMode}from"../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../componentsV2/AppCommonsProvider/AppCommonsProvider.js";export{useAppCommons}from"../componentsV2/AppCommonsProvider/AppCommonsContext.js";export{useAppSettingPinning}from"../componentsV2/AppSettings/AppSettingsPinningContext.js";export{useGlobalOffsetWellsSync}from"./useGlobalOffsetWellsSync.js";export{useInfiniteScroll}from"./useInfiniteScroll.js";export{useCombineRefs}from"./useCombineRefs.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from"@babel/runtime/helpers/defineProperty";import{useRef as o,useEffect as r}from"react";import"../clients/subscriptions/constants.js";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"lodash";import"../clients/subscriptions.v1.js";import"../clients/jsonApi/index.js";import"../clients/subscriptions/subscriptions-client.factory.js";import"immutable";import"query-string";import"../constants/goals.js";import"../constants/segment.js";import"../constants/alerts.js";import"../constants/apps.js";import"../constants/drillstring.js";import"../constants/completion.js";import"../constants/appPackages.js";import"../constants/notifications.js";import"../constants/feed.js";import"../constants/bha.js";import"../constants/corvaCompanyId.js";import"../components/GradientManager/configuration/constants.js";import"../utils/index.js";import"uuid";import"jsona";import"../utils/env.js";import"../components/StatusBadge/constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../clients/api/apiCore.js";import"../clients/constants.js";import"../clients/sso/auth0.js";import"../clients/sso/oauth2.js";import"lodash/isEmpty";import"lodash/sortBy";import"../constants/streamSourceType.js";import"../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import{useAppCommons as s}from"../componentsV2/AppCommonsProvider/AppCommonsContext.js";function e(t,o){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);o&&(s=s.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),r.push.apply(r,s)}return r}function n(o){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?e(Object(s),!0).forEach((function(r){t(o,r,s[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(s)):e(Object(s)).forEach((function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(s,t))}))}return o}var i=function(t,e,i){var p=s(),m=null==p?void 0:p.globalOffsetWells,c=null==p?void 0:p.globalOffsetWellsVersion,a=o();r((function(){if(m&&Array.isArray(m)&&void 0!==c)if(void 0!==a.current){if(a.current!==c){a.current=c;var o=m.slice(0,i),r=o.map((function(t){return t.id}));e(n(n({},t||{}),{},{selectedWellIds:r}),o)}}else a.current=c}),[c,m,i,t,e])};export{i as useGlobalOffsetWellsSync};
|
|
1
|
+
import t from"@babel/runtime/helpers/defineProperty";import{useRef as o,useEffect as r}from"react";import"../clients/subscriptions/constants.js";import"@babel/runtime/helpers/slicedToArray";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"lodash";import"../clients/subscriptions.v1.js";import"../clients/jsonApi/index.js";import"../clients/subscriptions/subscriptions-client.factory.js";import"immutable";import"query-string";import"../constants/goals.js";import"../constants/segment.js";import"../constants/alerts.js";import"../constants/apps.js";import"../constants/drillstring.js";import"../constants/completion.js";import"../constants/appPackages.js";import"../constants/notifications.js";import"../constants/feed.js";import"../constants/bha.js";import"../constants/corvaCompanyId.js";import"../components/GradientManager/configuration/constants.js";import"../utils/index.js";import"uuid";import"jsona";import"../utils/env.js";import"../components/StatusBadge/constants.js";import"@babel/runtime/helpers/toConsumableArray";import"lodash/set";import"lodash/get";import"lodash/unset";import"moment";import"../clients/api/apiCore.js";import"../clients/constants.js";import"../clients/sso/auth0.js";import"../clients/sso/oauth2.js";import"lodash/isEmpty";import"lodash/sortBy";import"../constants/streamSourceType.js";import"../components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchContext.js";import"../componentsV2/AppCommonsProvider/AppCommonsProvider.js";import{useAppCommons as s}from"../componentsV2/AppCommonsProvider/AppCommonsContext.js";import"../componentsV2/AppSettings/AppSettingsPinningContext.js";function e(t,o){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);o&&(s=s.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),r.push.apply(r,s)}return r}function n(o){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?e(Object(s),!0).forEach((function(r){t(o,r,s[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(s)):e(Object(s)).forEach((function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(s,t))}))}return o}var i=function(t,e,i){var p=s(),m=null==p?void 0:p.globalOffsetWells,c=null==p?void 0:p.globalOffsetWellsVersion,a=o();r((function(){if(m&&Array.isArray(m)&&void 0!==c)if(void 0!==a.current){if(a.current!==c){a.current=c;var o=m.slice(0,i),r=o.map((function(t){return t.id}));e(n(n({},t||{}),{},{selectedWellIds:r}),o)}}else a.current=c}),[c,m,i,t,e])};export{i as useGlobalOffsetWellsSync};
|
|
2
2
|
//# sourceMappingURL=useGlobalOffsetWellsSync.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGlobalOffsetWellsSync.js","sources":["../../src/effects/useGlobalOffsetWellsSync.js"],"sourcesContent":["import { useEffect, useRef } from 'react';\n\nimport { useAppCommons } from '~/effects';\n\nexport const useGlobalOffsetWellsSync = (offsetSettings, onChange, maxOffsetWellNumber) => {\n const appCommons = useAppCommons();\n const globalOffsetWells = appCommons?.globalOffsetWells;\n const globalOffsetWellsVersion = appCommons?.globalOffsetWellsVersion;\n const prevVersionRef = useRef();\n\n useEffect(() => {\n if (!globalOffsetWells || !Array.isArray(globalOffsetWells)) return;\n if (globalOffsetWellsVersion === undefined) return;\n\n if (prevVersionRef.current === undefined) {\n prevVersionRef.current = globalOffsetWellsVersion;\n return;\n }\n\n if (prevVersionRef.current === globalOffsetWellsVersion) return;\n prevVersionRef.current = globalOffsetWellsVersion;\n const globalOffsetWellsTrimmed = globalOffsetWells.slice(0, maxOffsetWellNumber);\n\n const currentIds = globalOffsetWellsTrimmed.map(w => w.id);\n const baseSettings = offsetSettings || {};\n\n onChange({ ...baseSettings, selectedWellIds: currentIds }, globalOffsetWellsTrimmed);\n }, [globalOffsetWellsVersion, globalOffsetWells, maxOffsetWellNumber, offsetSettings, onChange]);\n};\n"],"names":["useGlobalOffsetWellsSync","offsetSettings","onChange","maxOffsetWellNumber","appCommons","useAppCommons","globalOffsetWells","globalOffsetWellsVersion","prevVersionRef","useRef","useEffect","Array","isArray","undefined","current","globalOffsetWellsTrimmed","slice","currentIds","map","w","id","selectedWellIds"],"mappings":"
|
|
1
|
+
{"version":3,"file":"useGlobalOffsetWellsSync.js","sources":["../../src/effects/useGlobalOffsetWellsSync.js"],"sourcesContent":["import { useEffect, useRef } from 'react';\n\nimport { useAppCommons } from '~/effects';\n\nexport const useGlobalOffsetWellsSync = (offsetSettings, onChange, maxOffsetWellNumber) => {\n const appCommons = useAppCommons();\n const globalOffsetWells = appCommons?.globalOffsetWells;\n const globalOffsetWellsVersion = appCommons?.globalOffsetWellsVersion;\n const prevVersionRef = useRef();\n\n useEffect(() => {\n if (!globalOffsetWells || !Array.isArray(globalOffsetWells)) return;\n if (globalOffsetWellsVersion === undefined) return;\n\n if (prevVersionRef.current === undefined) {\n prevVersionRef.current = globalOffsetWellsVersion;\n return;\n }\n\n if (prevVersionRef.current === globalOffsetWellsVersion) return;\n prevVersionRef.current = globalOffsetWellsVersion;\n const globalOffsetWellsTrimmed = globalOffsetWells.slice(0, maxOffsetWellNumber);\n\n const currentIds = globalOffsetWellsTrimmed.map(w => w.id);\n const baseSettings = offsetSettings || {};\n\n onChange({ ...baseSettings, selectedWellIds: currentIds }, globalOffsetWellsTrimmed);\n }, [globalOffsetWellsVersion, globalOffsetWells, maxOffsetWellNumber, offsetSettings, onChange]);\n};\n"],"names":["useGlobalOffsetWellsSync","offsetSettings","onChange","maxOffsetWellNumber","appCommons","useAppCommons","globalOffsetWells","globalOffsetWellsVersion","prevVersionRef","useRef","useEffect","Array","isArray","undefined","current","globalOffsetWellsTrimmed","slice","currentIds","map","w","id","selectedWellIds"],"mappings":"qvEAIO,IAAMA,EAA2B,SAACC,EAAgBC,EAAUC,GACjE,IAAMC,EAAaC,IACbC,EAAoBF,aAAAA,EAAAA,EAAYE,kBAChCC,EAA2BH,aAAAA,EAAAA,EAAYG,yBACvCC,EAAiBC,IAEvBC,GAAU,WACR,GAAKJ,GAAsBK,MAAMC,QAAQN,SACRO,IAA7BN,EAEJ,QAA+BM,IAA3BL,EAAeM,SAKnB,GAAIN,EAAeM,UAAYP,EAA/B,CACAC,EAAeM,QAAUP,EACzB,IAAMQ,EAA2BT,EAAkBU,MAAM,EAAGb,GAEtDc,EAAaF,EAAyBG,KAAI,SAAAC,GAAC,OAAIA,EAAEC,MAGvDlB,SAFqBD,GAAkB,IAEb,CAAA,EAAA,CAAEoB,gBAAiBJ,IAAcF,EAPF,OAJvDP,EAAeM,QAAUP,CAY7B,GAAG,CAACA,EAA0BD,EAAmBH,EAAqBF,EAAgBC,GACxF"}
|
package/mcp-server/server.mjs
CHANGED
|
@@ -227,7 +227,7 @@ const validateDsn = (dsn) => {
|
|
|
227
227
|
|
|
228
228
|
const MCP_SERVER_VERSION = '1.0.0';
|
|
229
229
|
|
|
230
|
-
var version = "3.54.0-
|
|
230
|
+
var version = "3.54.0-2";
|
|
231
231
|
|
|
232
232
|
const CORVA_UI_VERSION = version;
|
|
233
233
|
|
|
@@ -5789,6 +5789,118 @@ var componentsV2Data = [
|
|
|
5789
5789
|
"type"
|
|
5790
5790
|
]
|
|
5791
5791
|
},
|
|
5792
|
+
{
|
|
5793
|
+
name: "Select",
|
|
5794
|
+
modulePath: "componentsV2/Select",
|
|
5795
|
+
importPath: "@corva/ui/componentsV2",
|
|
5796
|
+
category: "v2",
|
|
5797
|
+
description: "",
|
|
5798
|
+
isExperimental: true,
|
|
5799
|
+
isDeprecated: false,
|
|
5800
|
+
props: [
|
|
5801
|
+
],
|
|
5802
|
+
examples: [
|
|
5803
|
+
{
|
|
5804
|
+
name: "Default",
|
|
5805
|
+
description: "",
|
|
5806
|
+
code: "{\n const [value, setValue] = useState<number[]>([]);\n\n return (\n <Select\n {...props}\n options={options}\n value={value}\n onChange={(newValue, reason, event) => {\n props.onChange?.(newValue as never, reason, event);\n // These type castings is generally not needed, Autocomplete will determine its type based on `multiple` prop\n // Which generally should be statically analyzable\n if (newValue instanceof Array) {\n setValue((newValue as Option[]).map(({ id }) => id));\n } else if (newValue) {\n setValue([(newValue as Option)?.id]);\n }\n }}\n />\n );\n}"
|
|
5807
|
+
},
|
|
5808
|
+
{
|
|
5809
|
+
name: "Sizes",
|
|
5810
|
+
description: "Component supports 3 sizes through a `size` prop, inherited from `<TextInput/>`:\n\n- `small` (default)\n- `medium`\n- `large`\n",
|
|
5811
|
+
code: "{\n const [value, setValue] = useState<Option['id']>();\n const onChange = useCallback<SelectChangeHandler<Option>>(value => {\n setValue(value?.id);\n }, []);\n\n const commonProps = {\n options,\n value,\n onChange,\n };\n\n return (\n <SbColumn alignItems=\"stretch\">\n <Select {...commonProps} label=\"Small\" size=\"small\" />\n <Select {...commonProps} label=\"Medium\" size=\"medium\" />\n <Select {...commonProps} label=\"Large\" size=\"large\" />\n </SbColumn>\n );\n}"
|
|
5812
|
+
},
|
|
5813
|
+
{
|
|
5814
|
+
name: "LabelPlacement",
|
|
5815
|
+
description: "Component supports 3 label placement options through a `labelPlacement` prop, inherited from `<TextInput/>`:\n\n- `top` (default)\n- `start`\n- `end`\n",
|
|
5816
|
+
code: "{\n const [value, setValue] = useState<Option['id']>();\n const onChange = useCallback<SelectChangeHandler<Option>>(value => {\n setValue(value?.id);\n }, []);\n\n const commonProps = {\n options,\n value,\n onChange,\n };\n\n return (\n <SbColumn alignItems=\"stretch\">\n <Select {...commonProps} label=\"Label at the top\" labelPlacement=\"top\" />\n <Select {...commonProps} label=\"Label at the start\" labelPlacement=\"start\" />\n <Select {...commonProps} label=\"Label at the end\" labelPlacement=\"end\" />\n </SbColumn>\n );\n}"
|
|
5817
|
+
},
|
|
5818
|
+
{
|
|
5819
|
+
name: "OptionsSize",
|
|
5820
|
+
description: "Component supports several option sizes, controlled through `optionSize` prop:\n\n- `medium` (default)\n- `large`",
|
|
5821
|
+
code: "{\n const [value, setValue] = useState<Option['id']>();\n\n const onChange = useCallback<SelectChangeHandler<Option>>(value => {\n setValue(value?.id);\n }, []);\n\n return (\n <SbColumn alignItems=\"stretch\">\n <Select\n options={options}\n value={value}\n onChange={onChange}\n label=\"Medium options\"\n optionSize=\"medium\"\n />\n <Select\n options={options}\n value={value}\n onChange={onChange}\n label=\"Large options\"\n optionSize=\"large\"\n />\n </SbColumn>\n );\n}"
|
|
5822
|
+
},
|
|
5823
|
+
{
|
|
5824
|
+
name: "Single",
|
|
5825
|
+
description: "Single-option is the default behaviour.",
|
|
5826
|
+
code: "{\n const [value, setValue] = useState<number>();\n\n const onChange = useCallback<SelectChangeHandler<Option>>(value => {\n setValue(value?.id);\n }, []);\n\n return <Select options={options} value={value} onChange={onChange} label=\"Single\" />;\n}"
|
|
5827
|
+
},
|
|
5828
|
+
{
|
|
5829
|
+
name: "WithObjectsAsValue",
|
|
5830
|
+
description: "You can use objects in `value` prop.\n\n⚠️ Be wary of mixing `T`s and `T['id']`s in `value`: due to [TS bug](https://github.com/microsoft/TypeScript/issues/47599) you may need to provide additional typing to `onChange`",
|
|
5831
|
+
code: "{\n const [valueSingle, setValueSingle] = useState<Option | undefined>(options[2]);\n const [valueMultiple, setValueMultiple] = useState<(Option | number)[]>([\n options[0],\n options[2],\n 9,\n ]);\n const [valueMultiple2, setValueMultiple2] = useState<Option[]>([options[0], options[2]]);\n\n // There's a [bug in TS](https://github.com/microsoft/TypeScript/issues/47599) which causes `onChange` prop\n // to have incorrect typing if we mix T and T['id'] in `value`.\n const onMultipleChange = useCallback<SelectChangeHandler<Option, true>>(\n v => setValueMultiple(v),\n []\n );\n\n return (\n <SbColumn alignItems=\"stretch\">\n <Select\n options={options}\n value={valueSingle}\n onChange={setValueSingle}\n label=\"With objects as value (single)\"\n />\n\n <Select\n multiple\n options={options}\n value={valueMultiple}\n onChange={onMultipleChange}\n label=\"With objects as value (multiple, mixed objects and ids)\"\n /\n// ... (truncated)"
|
|
5832
|
+
},
|
|
5833
|
+
{
|
|
5834
|
+
name: "Multiple",
|
|
5835
|
+
description: "Pass `multiple` prop to make component be able to select multiple values.\n\nUse `useAllOption` prop to add a special \"All\" option that allows user to quickly select all options.",
|
|
5836
|
+
code: "{\n const [value, setValue] = useState<number[]>([1]);\n\n const onChange = useCallback<SelectChangeHandler<Option, true>>(value => {\n setValue(value.map(({ id }) => id));\n }, []);\n\n return (\n <SbColumn alignItems=\"stretch\">\n <Select multiple options={options} value={value} onChange={onChange} label=\"Multiple\" />\n <Select\n multiple\n options={options}\n value={value}\n onChange={onChange}\n label={'Multiple with \"All\" option'}\n useAllOption\n />\n </SbColumn>\n );\n}"
|
|
5837
|
+
},
|
|
5838
|
+
{
|
|
5839
|
+
name: "MultipleWithCustomSelectedRender",
|
|
5840
|
+
description: "Use `renderSelected` prop to customize how the selected values are rendered.\n\nBy default the component displays the selected item's title, \"X Selected\", or \"All\", depending on its value. It is provided as `Select.selectedValueRenderers.default`.\n\nYou can use the \"Multiline Chips\" renderer, provided as `Select.selectedValueRenderers.chipsMultiline`",
|
|
5841
|
+
code: "{\n const [value, setValue] = useState<number[]>([1, 2, 3, 4, 5]);\n\n const onChange = useCallback<SelectChangeHandler<Option, true>>(value => {\n setValue(value.map(({ id }) => id));\n }, []);\n\n return (\n <SbColumn alignItems=\"stretch\">\n <Select\n multiple\n options={options}\n value={options}\n onChange={() => {}}\n label=\"Default multiple - all selected\"\n />\n <Select\n multiple\n options={options}\n value={[1, 2, 3]}\n onChange={() => {}}\n label=\"Default multiple - some selected\"\n />\n <Select\n multiple\n options={options}\n value={[1]}\n onChange={() => {}}\n label=\"Default multiple - one selected\"\n />\n <Select\n multiple\n options={options}\n value={value}\n onChange={onChange}\n label=\"Multiple with chips\"\n renderSelected={Select.selectedValueRenderers.chipsMultiline}\n />\n <Select\n multiple\n \n// ... (truncated)"
|
|
5842
|
+
},
|
|
5843
|
+
{
|
|
5844
|
+
name: "Empty",
|
|
5845
|
+
description: "Use `noOptionsMessage` option to customize the message that is shown when there are no options to select",
|
|
5846
|
+
code: "{\n return (\n <SbColumn alignItems=\"stretch\">\n <Select label=\"Empty\" onChange={() => {}} />\n <Select\n label=\"Empty with custom empty message\"\n noOptionsMessage={<u>Nobody here but us chickens</u>}\n onChange={() => {}}\n />\n </SbColumn>\n );\n}"
|
|
5847
|
+
},
|
|
5848
|
+
{
|
|
5849
|
+
name: "Loading",
|
|
5850
|
+
description: "Use `loading` prop to indicate that some data is being loaded. Note that if there are no options, a custom message will be shown",
|
|
5851
|
+
code: "{\n const [value, setValue] = useState<number>();\n\n return (\n <SbColumn alignItems=\"stretch\">\n <Select\n options={options}\n value={value}\n onChange={value => setValue(value?.id)}\n label=\"Loading State\"\n loading\n />\n\n <Select\n options={options.slice(0, 0)}\n value={value}\n onChange={value => setValue(value?.id)}\n label=\"Empty Loading State\"\n loading\n />\n </SbColumn>\n );\n}"
|
|
5852
|
+
},
|
|
5853
|
+
{
|
|
5854
|
+
name: "OptionPrefix",
|
|
5855
|
+
description: "To display an icon/prefix to the left of the option, pass it as a `prefix` property of the option",
|
|
5856
|
+
code: "{\n const icons = [ActivitySourceIcon, BroadcastIcon, LineChartIcon, AdjustmentIcon];\n const optionsWithPrefix = options.slice(0, 4).map((option, index) => {\n const Icon = icons[index];\n return { ...option, prefix: <Icon /> };\n });\n const [value, setValue] = useState<number>();\n\n return (\n <Select\n options={optionsWithPrefix}\n value={value}\n onChange={value => setValue(value?.id)}\n label=\"With Prefix\"\n />\n );\n}"
|
|
5857
|
+
},
|
|
5858
|
+
{
|
|
5859
|
+
name: "CustomOptionRender",
|
|
5860
|
+
description: "You can control how the option renders by providing the `renderOption` prop.\n\nNote that in this case, you will need to wrap the texts in `<TextMiddleTruncated/>` or `<TextEndTruncated/>`",
|
|
5861
|
+
code: "{\n return (\n <Select\n options={options}\n label=\"Custom Option Render\"\n renderOption={option => (\n <>\n <TextMiddleTruncated>{`Name: ${option.title}`}</TextMiddleTruncated>\n <Text size={12} color=\"T6\">\n {option.group}\n </Text>\n </>\n )}\n onChange={() => {}}\n />\n );\n}"
|
|
5862
|
+
},
|
|
5863
|
+
{
|
|
5864
|
+
name: "Disabled",
|
|
5865
|
+
description: "You can control which options are disabled by providing the `getOptionDisabled` prop",
|
|
5866
|
+
code: "{\n const [value, setValue] = useState<number>();\n\n return (\n <Select\n label=\"With disabled options\"\n options={options}\n value={value}\n onChange={option => setValue(option?.id)}\n getOptionDisabled={option => option.group === 'Great Old Ones'}\n />\n );\n}"
|
|
5867
|
+
},
|
|
5868
|
+
{
|
|
5869
|
+
name: "Prefix",
|
|
5870
|
+
description: "You can add a prefix to the component through `prefix` prop.",
|
|
5871
|
+
code: "{\n return (\n <Select\n options={options}\n label=\"With Prefix\"\n prefix={<SearchOne />}\n value={1}\n onChange={() => {}}\n />\n );\n}"
|
|
5872
|
+
},
|
|
5873
|
+
{
|
|
5874
|
+
name: "PopupIconAndClearButton",
|
|
5875
|
+
description: "You can control the existence of \"Clear\" button and \"Popup Icon\" by using `clearable` and `showPopupIcon` props respectively",
|
|
5876
|
+
code: "{\n return (\n <SbColumn alignItems=\"stretch\">\n <Select\n options={options}\n label=\"Default: Clearable, Popup Icon\"\n value={1}\n onChange={() => {}}\n />\n <Select\n options={options}\n label=\"Not Clearable\"\n value={1}\n clearable={false}\n onChange={() => {}}\n />\n <Select\n options={options}\n label=\"No Popup Icon\"\n value={1}\n showPopupIcon={false}\n onChange={() => {}}\n />\n </SbColumn>\n );\n}"
|
|
5877
|
+
},
|
|
5878
|
+
{
|
|
5879
|
+
name: "Error",
|
|
5880
|
+
description: "To display the component in an error state, use the `status` prop. You can add a message with a `message` prop",
|
|
5881
|
+
code: "{\n return (\n <Select\n options={options}\n label=\"With Error\"\n status=\"error\"\n message=\"Some error message\"\n value={1}\n onChange={() => {}}\n />\n );\n}"
|
|
5882
|
+
},
|
|
5883
|
+
{
|
|
5884
|
+
name: "WithGroups",
|
|
5885
|
+
description: "You can group options by providing the `groupBy` prop.\n\nYou can control the render of groups by providing the `renderGroup` prop.",
|
|
5886
|
+
code: "{\n return (\n <SbColumn alignItems=\"stretch\">\n <Select\n options={options}\n label=\"With Groups\"\n value={1}\n groupBy={option => option.group}\n onChange={() => {}}\n />\n <Select\n options={options}\n label={'With Groups, multiselect with \"All\" option'}\n value={[1]}\n groupBy={option => option.group}\n multiple\n useAllOption\n onChange={() => {}}\n />\n <Select\n options={options}\n label=\"With Custom Groups\"\n value={1}\n groupBy={option => option.group}\n renderGroup={({ children, group }) => {\n return (\n <div>\n <div style={{ textAlign: 'center' }}>\n <Text size={12}>{group}</Text>\n </div>\n <ul style={{ padding: 0 }}>{children}</ul>\n </div>\n );\n }}\n onChange={() => {}}\n />\n </SbColumn>\n );\n}"
|
|
5887
|
+
},
|
|
5888
|
+
{
|
|
5889
|
+
name: "DropdownClassName",
|
|
5890
|
+
description: "You can add a custom class name to a dropdown by using the `dropdownClassName` prop",
|
|
5891
|
+
code: "<Select\n options={options}\n label=\"With custom dropdown styles\"\n dropdownClassName={styles.customDropdown}\n onChange={() => {}}\n />"
|
|
5892
|
+
}
|
|
5893
|
+
],
|
|
5894
|
+
sourceUrl: "https://github.com/corva-ai/corva-ui/blob/develop/src/componentsV2/Select/Select.tsx",
|
|
5895
|
+
figmaUrl: "https://www.figma.com/file/PUgBxjNswqqG1yyU6OQERZ/Corva-Design-System?node-id=142449-52520&m=dev",
|
|
5896
|
+
keywords: [
|
|
5897
|
+
"select",
|
|
5898
|
+
"dropdown",
|
|
5899
|
+
"choose",
|
|
5900
|
+
"pick",
|
|
5901
|
+
"options"
|
|
5902
|
+
]
|
|
5903
|
+
},
|
|
5792
5904
|
{
|
|
5793
5905
|
name: "Skeleton",
|
|
5794
5906
|
modulePath: "componentsV2/Skeleton",
|
|
@@ -14433,6 +14545,22 @@ var hooksData = [
|
|
|
14433
14545
|
],
|
|
14434
14546
|
isDeprecated: false
|
|
14435
14547
|
},
|
|
14548
|
+
{
|
|
14549
|
+
name: "useAppSettingPinning",
|
|
14550
|
+
modulePath: "effects/useAppSettingPinning",
|
|
14551
|
+
importPath: "@corva/ui/effects",
|
|
14552
|
+
description: "",
|
|
14553
|
+
parameters: [
|
|
14554
|
+
],
|
|
14555
|
+
returnType: "unknown",
|
|
14556
|
+
examples: [
|
|
14557
|
+
],
|
|
14558
|
+
keywords: [
|
|
14559
|
+
"useappsettingpinning",
|
|
14560
|
+
"appsettingpinning"
|
|
14561
|
+
],
|
|
14562
|
+
isDeprecated: false
|
|
14563
|
+
},
|
|
14436
14564
|
{
|
|
14437
14565
|
name: "useGlobalOffsetWellsSync",
|
|
14438
14566
|
modulePath: "effects/useGlobalOffsetWellsSync",
|
|
@@ -80132,6 +80260,25 @@ var entries = [
|
|
|
80132
80260
|
importPath: "@corva/ui/componentsV2",
|
|
80133
80261
|
searchText: "radiogroup radio buttons allow the user to select one option from a set. works with almost any type of `value` radiogroup radio buttons allow user select option set. works almost type"
|
|
80134
80262
|
},
|
|
80263
|
+
{
|
|
80264
|
+
id: "component-v2-Select",
|
|
80265
|
+
type: "component",
|
|
80266
|
+
name: "Select",
|
|
80267
|
+
description: "",
|
|
80268
|
+
keywords: [
|
|
80269
|
+
"select",
|
|
80270
|
+
"dropdown",
|
|
80271
|
+
"choose",
|
|
80272
|
+
"pick",
|
|
80273
|
+
"options"
|
|
80274
|
+
],
|
|
80275
|
+
tags: [
|
|
80276
|
+
"experimental"
|
|
80277
|
+
],
|
|
80278
|
+
category: "components-v2",
|
|
80279
|
+
importPath: "@corva/ui/componentsV2",
|
|
80280
|
+
searchText: "select select dropdown choose pick options"
|
|
80281
|
+
},
|
|
80135
80282
|
{
|
|
80136
80283
|
id: "component-v2-Skeleton",
|
|
80137
80284
|
type: "component",
|
|
@@ -82549,6 +82696,21 @@ var entries = [
|
|
|
82549
82696
|
importPath: "@corva/ui/effects",
|
|
82550
82697
|
searchText: "usesetappcommentsmode usesetappcommentsmode setappcommentsmode"
|
|
82551
82698
|
},
|
|
82699
|
+
{
|
|
82700
|
+
id: "hook-useAppSettingPinning",
|
|
82701
|
+
type: "hook",
|
|
82702
|
+
name: "useAppSettingPinning",
|
|
82703
|
+
description: "",
|
|
82704
|
+
keywords: [
|
|
82705
|
+
"useappsettingpinning",
|
|
82706
|
+
"appsettingpinning"
|
|
82707
|
+
],
|
|
82708
|
+
tags: [
|
|
82709
|
+
],
|
|
82710
|
+
category: "hooks",
|
|
82711
|
+
importPath: "@corva/ui/effects",
|
|
82712
|
+
searchText: "useappsettingpinning useappsettingpinning appsettingpinning"
|
|
82713
|
+
},
|
|
82552
82714
|
{
|
|
82553
82715
|
id: "hook-useGlobalOffsetWellsSync",
|
|
82554
82716
|
type: "hook",
|
|
@@ -90369,6 +90531,7 @@ var byCategory = {
|
|
|
90369
90531
|
"component-v2-RadioAndCheckboxGroup",
|
|
90370
90532
|
"component-v2-RadioAndCheckboxLabel",
|
|
90371
90533
|
"component-v2-RadioGroup",
|
|
90534
|
+
"component-v2-Select",
|
|
90372
90535
|
"component-v2-Skeleton",
|
|
90373
90536
|
"component-v2-Slider",
|
|
90374
90537
|
"component-v2-Stepper",
|
|
@@ -90514,6 +90677,7 @@ var byCategory = {
|
|
|
90514
90677
|
"hook-useWellnessAlerts",
|
|
90515
90678
|
"hook-useAppCommentsMode",
|
|
90516
90679
|
"hook-useSetAppCommentsMode",
|
|
90680
|
+
"hook-useAppSettingPinning",
|
|
90517
90681
|
"hook-useGlobalOffsetWellsSync"
|
|
90518
90682
|
],
|
|
90519
90683
|
utils: [
|
|
@@ -91270,7 +91434,8 @@ var byTag = {
|
|
|
91270
91434
|
"component-v2-CompletionsOffsetWellPicker",
|
|
91271
91435
|
"component-v2-Menu",
|
|
91272
91436
|
"component-v2-Radio",
|
|
91273
|
-
"component-v2-RadioGroup"
|
|
91437
|
+
"component-v2-RadioGroup",
|
|
91438
|
+
"component-v2-Select"
|
|
91274
91439
|
],
|
|
91275
91440
|
more: [
|
|
91276
91441
|
"component-v2-Checkbox"
|
|
@@ -91644,10 +91809,12 @@ var byTag = {
|
|
|
91644
91809
|
"component-v2-Menu"
|
|
91645
91810
|
],
|
|
91646
91811
|
dropdown: [
|
|
91647
|
-
"component-v2-Menu"
|
|
91812
|
+
"component-v2-Menu",
|
|
91813
|
+
"component-v2-Select"
|
|
91648
91814
|
],
|
|
91649
91815
|
options: [
|
|
91650
|
-
"component-v2-Menu"
|
|
91816
|
+
"component-v2-Menu",
|
|
91817
|
+
"component-v2-Select"
|
|
91651
91818
|
],
|
|
91652
91819
|
menuitem: [
|
|
91653
91820
|
"component-v2-Menu"
|
|
@@ -91825,6 +91992,12 @@ var byTag = {
|
|
|
91825
91992
|
almost: [
|
|
91826
91993
|
"component-v2-RadioGroup"
|
|
91827
91994
|
],
|
|
91995
|
+
choose: [
|
|
91996
|
+
"component-v2-Select"
|
|
91997
|
+
],
|
|
91998
|
+
pick: [
|
|
91999
|
+
"component-v2-Select"
|
|
92000
|
+
],
|
|
91828
92001
|
skeleton: [
|
|
91829
92002
|
"component-v2-Skeleton"
|
|
91830
92003
|
],
|