@corva/ui 3.49.0-7 → 3.49.0-9
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/AppIcon/AppIcon.js +1 -1
- package/cjs-bundle/components/Button/components/Button/index.js +1 -1
- package/cjs-bundle/components/ColorPicker/ColorPicketUtils.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/api/shared/constants.js +1 -1
- package/cjs-bundle/components/PadModeSelect/PadModeSelect.js +1 -1
- package/cjs-bundle/components/PadModeSelect/effects/useWellStreamActivityTypeSubscription.js +1 -1
- package/cjs-bundle/components/StatusBadge/utils.js +1 -1
- package/cjs-bundle/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/AppHeader.constants.js +1 -1
- package/cjs-bundle/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
- package/cjs-bundle/effects/useOutsideClick.js +1 -1
- package/cjs-bundle/effects/useWellnessAlerts.js +1 -1
- package/cjs-bundle/icons/WithCustomSize.js +1 -1
- package/clients/api/apiCore.d.ts +2 -2
- package/clients/api/apiCore.d.ts.map +1 -1
- package/components/AppIcon/AppIcon.d.ts.map +1 -1
- package/components/AppIcon/AppIcon.js +1 -1
- package/components/Button/components/Button/index.d.ts.map +1 -1
- package/components/Button/components/Button/index.js +1 -1
- package/components/ColorPicker/ColorPicker.d.ts +15 -6
- package/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/components/ColorPicker/ColorPicketUtils.js +1 -1
- package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.d.ts +1 -1
- package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.d.ts.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.d.ts +22 -15
- package/components/DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.d.ts.map +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/utils/dashboardCapturing.d.ts +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/utils/dashboardCapturing.d.ts.map +1 -1
- package/components/FeedItem/components/CompletionDateTimestamp.d.ts +7 -1
- package/components/FeedItem/components/CompletionDateTimestamp.d.ts.map +1 -1
- package/components/GradientManager/GradientList.d.ts +3 -3
- package/components/GradientManager/GradientList.d.ts.map +1 -1
- package/components/GradientManager/GradientSelect.d.ts +2 -1
- package/components/GradientManager/GradientSelect.d.ts.map +1 -1
- package/components/GradientManager/__tests__/pageHelpers.d.ts +2 -2
- package/components/GradientManager/__tests__/pageHelpers.d.ts.map +1 -1
- package/components/GradientPicker/GradientPicker.utils.d.ts +11 -8
- package/components/GradientPicker/GradientPicker.utils.d.ts.map +1 -1
- package/components/GradientPicker/__tests__/pageHelpers.d.ts +1 -1
- package/components/OffsetWellPickerV4/utils/apiCalls.d.ts +10 -6
- package/components/OffsetWellPickerV4/utils/apiCalls.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/api/bic/resyncIdasWells.d.ts +1 -1
- package/components/OffsetWellPickerV5/api/bic/resyncIdasWells.d.ts.map +1 -1
- package/components/OffsetWellPickerV5/api/shared/constants.d.ts +2 -2
- package/components/OffsetWellPickerV5/api/shared/constants.js +1 -1
- package/components/PadModeSelect/PadModeSelect.js +1 -1
- package/components/PadModeSelect/WellStreamActivityStatus.d.ts +8 -1
- package/components/PadModeSelect/WellStreamActivityStatus.d.ts.map +1 -1
- package/components/PadModeSelect/effects/useWellStreamActivityTypeSubscription.d.ts.map +1 -1
- package/components/PadModeSelect/effects/useWellStreamActivityTypeSubscription.js +1 -1
- package/components/PadModeSelect/types.d.ts +24 -2
- package/components/PadModeSelect/types.d.ts.map +1 -1
- package/components/PadModeSelect/utils/initialDataFetcher.d.ts +13 -1
- package/components/PadModeSelect/utils/initialDataFetcher.d.ts.map +1 -1
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.d.ts.map +1 -1
- package/components/PadOffsetsPickerV2/useOffsetPickerActions.d.ts.map +1 -1
- package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.d.ts +2 -1
- package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.d.ts.map +1 -1
- package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.d.ts.map +1 -1
- package/components/RealTimeValuesSidebar/types.d.ts +6 -6
- package/components/RealTimeValuesSidebar/types.d.ts.map +1 -1
- package/components/ResizableTable/ResizableTableHeaderCell.d.ts +7 -8
- package/components/ResizableTable/ResizableTableHeaderCell.d.ts.map +1 -1
- package/components/Search/utils/getFormattedOptions.d.ts +7 -1
- package/components/Search/utils/getFormattedOptions.d.ts.map +1 -1
- package/components/StatusBadge/constants.d.ts +1 -1
- package/components/StatusBadge/types.d.ts +52 -12
- package/components/StatusBadge/types.d.ts.map +1 -1
- package/components/StatusBadge/utils.d.ts +37 -10
- package/components/StatusBadge/utils.d.ts.map +1 -1
- package/components/StatusBadge/utils.js +1 -1
- package/components/shared/useThrottledCallback.d.ts.map +1 -1
- package/componentsV2/AppFooter/DqPopover/DqPopover.d.ts +3 -9
- package/componentsV2/AppFooter/DqPopover/DqPopover.d.ts.map +1 -1
- package/componentsV2/AppFooter/DqPopover/DqPopover.js +1 -1
- package/componentsV2/AppFooter/DqPopover/types.d.ts +1 -1
- package/componentsV2/AppHeader/AppHeader.constants.d.ts +4 -2
- package/componentsV2/AppHeader/AppHeader.constants.d.ts.map +1 -1
- package/componentsV2/AppHeader/AppHeader.constants.js +1 -1
- package/componentsV2/AppHeader/V3/AppTitle/AppTitle.d.ts.map +1 -1
- package/componentsV2/AppHeader/V3/AppTitle/AppTitle.js +1 -1
- package/componentsV2/TemplatesControl/Store/Store.d.ts +2 -2
- package/componentsV2/TemplatesControl/Store/Store.d.ts.map +1 -1
- package/componentsV2/TemplatesControl/Store/utils.d.ts.map +1 -1
- package/effects/subscriptions/useSubscriptions.v1.d.ts +1 -1
- package/effects/subscriptions/useSubscriptions.v1.d.ts.map +1 -1
- package/effects/useOutsideClick.d.ts.map +1 -1
- package/effects/useOutsideClick.js +1 -1
- package/effects/useWellnessAlerts.d.ts +36 -10
- package/effects/useWellnessAlerts.d.ts.map +1 -1
- package/effects/useWellnessAlerts.js +1 -1
- package/icons/WithCustomSize.d.ts +3 -1
- package/icons/WithCustomSize.d.ts.map +1 -1
- package/icons/WithCustomSize.js +1 -1
- package/mcp-server/server.mjs +2 -2
- package/package.json +9 -2
- package/permissions/constants/index.d.ts +28 -28
- package/permissions/constants/index.d.ts.map +1 -1
- package/permissions/utils.d.ts +7 -7
- package/permissions/utils.d.ts.map +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/utils/bha.d.ts +1 -1
- package/utils/bha.d.ts.map +1 -1
- package/utils/convert.d.ts +2 -2
- package/utils/convert.d.ts.map +1 -1
- package/utils/index.d.ts +2 -2
- package/utils/main.d.ts +2 -2
- package/utils/main.d.ts.map +1 -1
- package/utils/mapUnits.d.ts +1 -1
- package/utils/mapUnits.d.ts.map +1 -1
- package/utils/metrics/utils.d.ts +12 -2
- package/utils/metrics/utils.d.ts.map +1 -1
- package/components/AdvancedSlider/AdvancedSlider.stories.d.ts +0 -12
- package/components/AdvancedSlider/AdvancedSlider.stories.d.ts.map +0 -1
- package/components/AssetsMultipleSelector/AssetsMultipleSelector.stories.d.ts +0 -52
- package/components/AssetsMultipleSelector/AssetsMultipleSelector.stories.d.ts.map +0 -1
- package/components/Autocomplete/Autocomplete.stories.d.ts +0 -13
- package/components/Autocomplete/Autocomplete.stories.d.ts.map +0 -1
- package/components/Avatar/Avatar.stories.d.ts +0 -19
- package/components/Avatar/Avatar.stories.d.ts.map +0 -1
- package/components/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -8
- package/components/Breadcrumbs/Breadcrumbs.stories.d.ts.map +0 -1
- package/components/Button/Button.stories.d.ts +0 -11
- package/components/Button/Button.stories.d.ts.map +0 -1
- package/components/Checkbox/Checkbox.stories.d.ts +0 -10
- package/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
- package/components/Chip/Chip.stories.d.ts +0 -9
- package/components/Chip/Chip.stories.d.ts.map +0 -1
- package/components/ColorPicker/ColorPicker.stories.d.ts +0 -8
- package/components/ColorPicker/ColorPicker.stories.d.ts.map +0 -1
- package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.stories.d.ts +0 -9
- package/components/ColorPicker/PaletteChromePicker/PaletteChromePicker.stories.d.ts.map +0 -1
- package/components/ColorPickerPalette/ColorPickerPalette.stories.d.ts +0 -8
- package/components/ColorPickerPalette/ColorPickerPalette.stories.d.ts.map +0 -1
- package/components/Comment/CommentIcon/CommentIcon.stories.d.ts +0 -8
- package/components/Comment/CommentIcon/CommentIcon.stories.d.ts.map +0 -1
- package/components/ContextMenuItem/ContextMenuItem.stories.d.ts +0 -10
- package/components/ContextMenuItem/ContextMenuItem.stories.d.ts.map +0 -1
- package/components/CopyToClipboard/CopyToClipboard.stories.d.ts +0 -8
- package/components/CopyToClipboard/CopyToClipboard.stories.d.ts.map +0 -1
- package/components/Counter/Counter.stories.d.ts +0 -10
- package/components/Counter/Counter.stories.d.ts.map +0 -1
- package/components/DatePicker/DatePicker.stories.d.ts +0 -8
- package/components/DatePicker/DatePicker.stories.d.ts.map +0 -1
- package/components/DateTimePicker/DateTimePicker.stories.d.ts +0 -8
- package/components/DateTimePicker/DateTimePicker.stories.d.ts.map +0 -1
- package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.stories.d.ts +0 -9
- package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.stories.d.ts.map +0 -1
- package/components/DevCenter/AppHeader/AppHeader.stories.d.ts +0 -15
- package/components/DevCenter/AppHeader/AppHeader.stories.d.ts.map +0 -1
- package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.stories.d.ts +0 -8
- package/components/DevCenter/AppSettingsPopover/AppSettingsPopover.stories.d.ts.map +0 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.stories.d.ts +0 -10
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.stories.d.ts.map +0 -1
- package/components/EChartsWrapper/ECharts.stories.d.ts +0 -21
- package/components/EChartsWrapper/ECharts.stories.d.ts.map +0 -1
- package/components/EmptyState/EmptyState.stories.d.ts +0 -11
- package/components/EmptyState/EmptyState.stories.d.ts.map +0 -1
- package/components/EmptyView/EmptyAppView/EmptyAppView.stories.d.ts +0 -11
- package/components/EmptyView/EmptyAppView/EmptyAppView.stories.d.ts.map +0 -1
- package/components/EmptyView/EmptyView.stories.d.ts +0 -8
- package/components/EmptyView/EmptyView.stories.d.ts.map +0 -1
- package/components/FileIcon/FileIcon.stories.d.ts +0 -9
- package/components/FileIcon/FileIcon.stories.d.ts.map +0 -1
- package/components/FilesDropzone/FilesDropzone.stories.d.ts +0 -8
- package/components/FilesDropzone/FilesDropzone.stories.d.ts.map +0 -1
- package/components/FilesLoader/FilesLoader.stories.d.ts +0 -8
- package/components/FilesLoader/FilesLoader.stories.d.ts.map +0 -1
- package/components/FilesLoaderV2/FilesLoaderV2.stories.d.ts +0 -8
- package/components/FilesLoaderV2/FilesLoaderV2.stories.d.ts.map +0 -1
- package/components/FilesProcessor/FilesProcessor.stories.d.ts +0 -8
- package/components/FilesProcessor/FilesProcessor.stories.d.ts.map +0 -1
- package/components/Formula/Formula.stories.d.ts +0 -8
- package/components/Formula/Formula.stories.d.ts.map +0 -1
- package/components/GradientManager/GradientManager.stories.d.ts +0 -8
- package/components/GradientManager/GradientManager.stories.d.ts.map +0 -1
- package/components/GradientManager/GradientManagerWithStorage/GradientManagerWithStorage.stories.d.ts +0 -8
- package/components/GradientManager/GradientManagerWithStorage/GradientManagerWithStorage.stories.d.ts.map +0 -1
- package/components/GradientPicker/GradientPicker.stories.d.ts +0 -8
- package/components/GradientPicker/GradientPicker.stories.d.ts.map +0 -1
- package/components/Hint/Hint.stories.d.ts +0 -10
- package/components/Hint/Hint.stories.d.ts.map +0 -1
- package/components/IconButton/IconButton.stories.d.ts +0 -11
- package/components/IconButton/IconButton.stories.d.ts.map +0 -1
- package/components/LoadingIndicator/LoadingIndicator.stories.d.ts +0 -9
- package/components/LoadingIndicator/LoadingIndicator.stories.d.ts.map +0 -1
- package/components/MenuItem/MenuItem.stories.d.ts +0 -10
- package/components/MenuItem/MenuItem.stories.d.ts.map +0 -1
- package/components/MiddleTruncatedText/MiddleTruncatedText.stories.d.ts +0 -9
- package/components/MiddleTruncatedText/MiddleTruncatedText.stories.d.ts.map +0 -1
- package/components/Modal/Modal.stories.d.ts +0 -11
- package/components/Modal/Modal.stories.d.ts.map +0 -1
- package/components/NewDocumentViewer/NewDocumentViewer.stories.d.ts +0 -8
- package/components/NewDocumentViewer/NewDocumentViewer.stories.d.ts.map +0 -1
- package/components/Notifications/Notifications.stories.d.ts +0 -10
- package/components/Notifications/Notifications.stories.d.ts.map +0 -1
- package/components/Popover/Popover.stories.d.ts +0 -8
- package/components/Popover/Popover.stories.d.ts.map +0 -1
- package/components/Popper/Popper.stories.d.ts +0 -8
- package/components/Popper/Popper.stories.d.ts.map +0 -1
- package/components/RangeSlider/RangeSlider.stories.d.ts +0 -11
- package/components/RangeSlider/RangeSlider.stories.d.ts.map +0 -1
- package/components/Search/Search.stories.d.ts +0 -10
- package/components/Search/Search.stories.d.ts.map +0 -1
- package/components/Search/components/RecentSearches.stories.d.ts +0 -9
- package/components/Search/components/RecentSearches.stories.d.ts.map +0 -1
- package/components/Select/Select.stories.d.ts +0 -10
- package/components/Select/Select.stories.d.ts.map +0 -1
- package/components/SettingEditors/ColorEditor/ColorEditor.stories.d.ts +0 -9
- package/components/SettingEditors/ColorEditor/ColorEditor.stories.d.ts.map +0 -1
- package/components/SettingEditors/RadioEditor/RadioEditor.stories.d.ts +0 -8
- package/components/SettingEditors/RadioEditor/RadioEditor.stories.d.ts.map +0 -1
- package/components/Stepper/Stepper.stories.d.ts +0 -10
- package/components/Stepper/Stepper.stories.d.ts.map +0 -1
- package/components/SwitchControl/SwitchControl.stories.d.ts +0 -8
- package/components/SwitchControl/SwitchControl.stories.d.ts.map +0 -1
- package/components/Table/Table.stories.d.ts +0 -11
- package/components/Table/Table.stories.d.ts.map +0 -1
- package/components/Table/TableCell/TableCell.stories.d.ts +0 -9
- package/components/Table/TableCell/TableCell.stories.d.ts.map +0 -1
- package/components/Table/TablePagination/TablePagination.stories.d.ts +0 -9
- package/components/Table/TablePagination/TablePagination.stories.d.ts.map +0 -1
- package/components/Table/TableSortLabel/TableSortLabel.stories.d.ts +0 -8
- package/components/Table/TableSortLabel/TableSortLabel.stories.d.ts.map +0 -1
- package/components/Table/TableToolbar/TableToolbar.stories.d.ts +0 -10
- package/components/Table/TableToolbar/TableToolbar.stories.d.ts.map +0 -1
- package/components/Tabs/Tabs.stories.d.ts +0 -11
- package/components/Tabs/Tabs.stories.d.ts.map +0 -1
- package/components/TextField/TextField.stories.d.ts +0 -12
- package/components/TextField/TextField.stories.d.ts.map +0 -1
- package/components/TextLink/TextLink.stories.d.ts +0 -9
- package/components/TextLink/TextLink.stories.d.ts.map +0 -1
- package/components/Toaster/Toaster.stories.d.ts +0 -8
- package/components/Toaster/Toaster.stories.d.ts.map +0 -1
- package/components/Tooltip/Tooltip.stories.d.ts +0 -11
- package/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
- package/components/TruncatedText/TruncatedText.stories.d.ts +0 -9
- package/components/TruncatedText/TruncatedText.stories.d.ts.map +0 -1
- package/components/Typography.stories.d.ts +0 -8
- package/components/Typography.stories.d.ts.map +0 -1
- package/components/VirtualizedTable/VirtualizedTable.stories.d.ts +0 -9
- package/components/VirtualizedTable/VirtualizedTable.stories.d.ts.map +0 -1
- package/componentsV2/Accordion/Accordion.stories.d.ts +0 -13
- package/componentsV2/Accordion/Accordion.stories.d.ts.map +0 -1
- package/componentsV2/AppContainer/AppContainer.stories.d.ts +0 -10
- package/componentsV2/AppContainer/AppContainer.stories.d.ts.map +0 -1
- package/componentsV2/AppFooter/AppFooter.stories.d.ts +0 -11
- package/componentsV2/AppFooter/AppFooter.stories.d.ts.map +0 -1
- package/componentsV2/AppHeader/AppHeader.stories.d.ts +0 -16
- package/componentsV2/AppHeader/AppHeader.stories.d.ts.map +0 -1
- package/componentsV2/AppHeader/V3/AppHeaderV3.stories.d.ts +0 -22
- package/componentsV2/AppHeader/V3/AppHeaderV3.stories.d.ts.map +0 -1
- package/componentsV2/AppSettingsDivider/AppSettingsDivider.stories.d.ts +0 -8
- package/componentsV2/AppSettingsDivider/AppSettingsDivider.stories.d.ts.map +0 -1
- package/componentsV2/Autocomplete/Autocomplete.stories.d.ts +0 -29
- package/componentsV2/Autocomplete/Autocomplete.stories.d.ts.map +0 -1
- package/componentsV2/Avatar/Avatar.stories.d.ts +0 -11
- package/componentsV2/Avatar/Avatar.stories.d.ts.map +0 -1
- package/componentsV2/AvatarGroup/AvatarGroup.stories.d.ts +0 -10
- package/componentsV2/AvatarGroup/AvatarGroup.stories.d.ts.map +0 -1
- package/componentsV2/BadgeComment/BadgeComment.stories.d.ts +0 -8
- package/componentsV2/BadgeComment/BadgeComment.stories.d.ts.map +0 -1
- package/componentsV2/BadgeCounter/BadgeCounter.stories.d.ts +0 -10
- package/componentsV2/BadgeCounter/BadgeCounter.stories.d.ts.map +0 -1
- package/componentsV2/BadgeDot/BadgeDot.stories.d.ts +0 -10
- package/componentsV2/BadgeDot/BadgeDot.stories.d.ts.map +0 -1
- package/componentsV2/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -8
- package/componentsV2/Breadcrumbs/Breadcrumbs.stories.d.ts.map +0 -1
- package/componentsV2/Button/Button.stories.d.ts +0 -13
- package/componentsV2/Button/Button.stories.d.ts.map +0 -1
- package/componentsV2/ButtonIcon/ButtonIcon.stories.d.ts +0 -10
- package/componentsV2/ButtonIcon/ButtonIcon.stories.d.ts.map +0 -1
- package/componentsV2/ButtonLive/ButtonLive.stories.d.ts +0 -11
- package/componentsV2/ButtonLive/ButtonLive.stories.d.ts.map +0 -1
- package/componentsV2/ButtonText/ButtonText.stories.d.ts +0 -11
- package/componentsV2/ButtonText/ButtonText.stories.d.ts.map +0 -1
- package/componentsV2/Checkbox/Checkbox.stories.d.ts +0 -12
- package/componentsV2/Checkbox/Checkbox.stories.d.ts.map +0 -1
- package/componentsV2/CheckboxGroup/CheckboxGroup.stories.d.ts +0 -12
- package/componentsV2/CheckboxGroup/CheckboxGroup.stories.d.ts.map +0 -1
- package/componentsV2/Chip/Chip.stories.d.ts +0 -16
- package/componentsV2/Chip/Chip.stories.d.ts.map +0 -1
- package/componentsV2/ChipAlert/ChipAlert.stories.d.ts +0 -10
- package/componentsV2/ChipAlert/ChipAlert.stories.d.ts.map +0 -1
- package/componentsV2/ChipIndicator/ChipIndicator.stories.d.ts +0 -11
- package/componentsV2/ChipIndicator/ChipIndicator.stories.d.ts.map +0 -1
- package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.stories.d.ts +0 -10
- package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.stories.d.ts.map +0 -1
- package/componentsV2/CopyToClipboard/CopyToClipboard.stories.d.ts +0 -10
- package/componentsV2/CopyToClipboard/CopyToClipboard.stories.d.ts.map +0 -1
- package/componentsV2/Counter/Counter.stories.d.ts +0 -13
- package/componentsV2/Counter/Counter.stories.d.ts.map +0 -1
- package/componentsV2/DatePicker/DatePicker.stories.d.ts +0 -15
- package/componentsV2/DatePicker/DatePicker.stories.d.ts.map +0 -1
- package/componentsV2/DragHandle/DragHandle.stories.d.ts +0 -9
- package/componentsV2/DragHandle/DragHandle.stories.d.ts.map +0 -1
- package/componentsV2/EmptyState/EmptyState.stories.d.ts +0 -10
- package/componentsV2/EmptyState/EmptyState.stories.d.ts.map +0 -1
- package/componentsV2/FileIcon/FileIcon.stories.d.ts +0 -9
- package/componentsV2/FileIcon/FileIcon.stories.d.ts.map +0 -1
- package/componentsV2/FilesDropzone/FilesDropzone.stories.d.ts +0 -8
- package/componentsV2/FilesDropzone/FilesDropzone.stories.d.ts.map +0 -1
- package/componentsV2/FilesLoader/FilesLoader.stories.d.ts +0 -12
- package/componentsV2/FilesLoader/FilesLoader.stories.d.ts.map +0 -1
- package/componentsV2/FilesProcessor/FilesProcessor.stories.d.ts +0 -10
- package/componentsV2/FilesProcessor/FilesProcessor.stories.d.ts.map +0 -1
- package/componentsV2/Grid/Grid.stories.d.ts +0 -13
- package/componentsV2/Grid/Grid.stories.d.ts.map +0 -1
- package/componentsV2/Header/Header.stories.d.ts +0 -8
- package/componentsV2/Header/Header.stories.d.ts.map +0 -1
- package/componentsV2/Hint/Hint.stories.d.ts +0 -11
- package/componentsV2/Hint/Hint.stories.d.ts.map +0 -1
- package/componentsV2/IndicatorLive/IndicatorLive.stories.d.ts +0 -12
- package/componentsV2/IndicatorLive/IndicatorLive.stories.d.ts.map +0 -1
- package/componentsV2/Label/Label.stories.d.ts +0 -14
- package/componentsV2/Label/Label.stories.d.ts.map +0 -1
- package/componentsV2/LoaderCircular/LoaderCircular.stories.d.ts +0 -10
- package/componentsV2/LoaderCircular/LoaderCircular.stories.d.ts.map +0 -1
- package/componentsV2/LoaderLinear/LoaderLinear.stories.d.ts +0 -11
- package/componentsV2/LoaderLinear/LoaderLinear.stories.d.ts.map +0 -1
- package/componentsV2/LoaderLogo/LoaderLogo.stories.d.ts +0 -9
- package/componentsV2/LoaderLogo/LoaderLogo.stories.d.ts.map +0 -1
- package/componentsV2/Menu/Menu.stories.d.ts +0 -18
- package/componentsV2/Menu/Menu.stories.d.ts.map +0 -1
- package/componentsV2/Modal/Modal.stories.d.ts +0 -14
- package/componentsV2/Modal/Modal.stories.d.ts.map +0 -1
- package/componentsV2/ModalWindow/ModalWindow.stories.d.ts +0 -8
- package/componentsV2/ModalWindow/ModalWindow.stories.d.ts.map +0 -1
- package/componentsV2/OffsetWellsButton/OffsetWellsButton.stories.d.ts +0 -15
- package/componentsV2/OffsetWellsButton/OffsetWellsButton.stories.d.ts.map +0 -1
- package/componentsV2/PadModeSelect/PadModeSelect.stories.d.ts +0 -8
- package/componentsV2/PadModeSelect/PadModeSelect.stories.d.ts.map +0 -1
- package/componentsV2/Paper/Paper.stories.d.ts +0 -9
- package/componentsV2/Paper/Paper.stories.d.ts.map +0 -1
- package/componentsV2/Popover/Popover.stories.d.ts +0 -12
- package/componentsV2/Popover/Popover.stories.d.ts.map +0 -1
- package/componentsV2/Popper/Popper.stories.d.ts +0 -8
- package/componentsV2/Popper/Popper.stories.d.ts.map +0 -1
- package/componentsV2/Radio/Radio.stories.d.ts +0 -11
- package/componentsV2/Radio/Radio.stories.d.ts.map +0 -1
- package/componentsV2/RadioGroup/RadioGroup.stories.d.ts +0 -12
- package/componentsV2/RadioGroup/RadioGroup.stories.d.ts.map +0 -1
- package/componentsV2/Skeleton/Skeleton.stories.d.ts +0 -11
- package/componentsV2/Skeleton/Skeleton.stories.d.ts.map +0 -1
- package/componentsV2/Slider/Slider.stories.d.ts +0 -15
- package/componentsV2/Slider/Slider.stories.d.ts.map +0 -1
- package/componentsV2/Stepper/Stepper.stories.d.ts +0 -14
- package/componentsV2/Stepper/Stepper.stories.d.ts.map +0 -1
- package/componentsV2/Switch/Switch.stories.d.ts +0 -12
- package/componentsV2/Switch/Switch.stories.d.ts.map +0 -1
- package/componentsV2/Tabs/Tabs.stories.d.ts +0 -14
- package/componentsV2/Tabs/Tabs.stories.d.ts.map +0 -1
- package/componentsV2/Tag/Tag.stories.d.ts +0 -12
- package/componentsV2/Tag/Tag.stories.d.ts.map +0 -1
- package/componentsV2/TemplatesControl/TemplatesControl.stories.d.ts +0 -19
- package/componentsV2/TemplatesControl/TemplatesControl.stories.d.ts.map +0 -1
- package/componentsV2/Text/Text.stories.d.ts +0 -11
- package/componentsV2/Text/Text.stories.d.ts.map +0 -1
- package/componentsV2/TextEndTruncated/TextEndTruncated.stories.d.ts +0 -11
- package/componentsV2/TextEndTruncated/TextEndTruncated.stories.d.ts.map +0 -1
- package/componentsV2/TextInput/TextInput.stories.d.ts +0 -16
- package/componentsV2/TextInput/TextInput.stories.d.ts.map +0 -1
- package/componentsV2/TextLink/TextLink.stories.d.ts +0 -11
- package/componentsV2/TextLink/TextLink.stories.d.ts.map +0 -1
- package/componentsV2/TextMiddleTruncated/TextMiddleTruncated.stories.d.ts +0 -10
- package/componentsV2/TextMiddleTruncated/TextMiddleTruncated.stories.d.ts.map +0 -1
- package/componentsV2/ToggleButtons/ToggleButtons.stories.d.ts +0 -13
- package/componentsV2/ToggleButtons/ToggleButtons.stories.d.ts.map +0 -1
- package/componentsV2/Tooltip/Tooltip.stories.d.ts +0 -12
- package/componentsV2/Tooltip/Tooltip.stories.d.ts.map +0 -1
- package/componentsV2/UniversalLink/UniversalLink.stories.d.ts +0 -8
- package/componentsV2/UniversalLink/UniversalLink.stories.d.ts.map +0 -1
- package/componentsV2/WellArchivedMessage/WellArchivedMessage.stories.d.ts +0 -10
- package/componentsV2/WellArchivedMessage/WellArchivedMessage.stories.d.ts.map +0 -1
- package/icons/IconPark.stories.d.ts +0 -6
- package/icons/IconPark.stories.d.ts.map +0 -1
- package/storyBookHelpers/template/Template.stories.d.ts +0 -8
- package/storyBookHelpers/template/Template.stories.d.ts.map +0 -1
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
export declare function calcGradientStyle(stops:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
export declare function calcGradientStyle(stops: {
|
|
2
|
+
color: string;
|
|
3
|
+
pos: number;
|
|
4
|
+
}[]): string;
|
|
5
|
+
export declare const getStopText: (position: number, { fromValue, toValue }: {
|
|
6
|
+
fromValue: number;
|
|
7
|
+
toValue: number;
|
|
8
|
+
}) => string;
|
|
9
|
+
export declare const getRangeStep: (range: number) => number;
|
|
10
|
+
export declare const roundToStep: (value: number, step: number) => number;
|
|
11
|
+
export declare const reasonableRealValue: (value: number) => number;
|
|
9
12
|
//# sourceMappingURL=GradientPicker.utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GradientPicker.utils.d.ts","sourceRoot":"","sources":["../../../src/components/GradientPicker/GradientPicker.utils.ts"],"names":[],"mappings":"AAGA,wBAAgB,iBAAiB,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"GradientPicker.utils.d.ts","sourceRoot":"","sources":["../../../src/components/GradientPicker/GradientPicker.utils.ts"],"names":[],"mappings":"AAGA,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,EAAE,UAOxE;AAED,eAAO,MAAM,WAAW,GAAI,UAAU,MAAM,EAAE,wBAAwB;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,WAkB3G,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,WAazC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,EAAE,MAAM,MAAM,WAEtD,CAAC;AAIF,eAAO,MAAM,mBAAmB,GAAI,OAAO,MAAM,WAOhD,CAAC"}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { Well } from '~/types';
|
|
2
2
|
export declare function fetchCompanies(): Promise<any[]>;
|
|
3
|
-
export declare function resyncIdasWells(currentUser:
|
|
3
|
+
export declare function resyncIdasWells(currentUser: {
|
|
4
|
+
id: number;
|
|
5
|
+
first_name: string;
|
|
6
|
+
last_name: string;
|
|
7
|
+
}, assetId: number): Promise<import("~/clients/jsonApi").TaskResult>;
|
|
4
8
|
export declare function fetchWells(companyIds: number[] | null, onPage: (wells: Well[], isEnd: boolean) => void, isCancelled: () => boolean): Promise<void>;
|
|
5
|
-
export declare function fetchOffsetWellSelections(assetId:
|
|
6
|
-
export declare function fetchWellhubWells(assetId:
|
|
7
|
-
export declare function fetchCompanyGoals(companyId:
|
|
9
|
+
export declare function fetchOffsetWellSelections(assetId: number): Promise<any>;
|
|
10
|
+
export declare function fetchWellhubWells(assetId: number): Promise<any>;
|
|
11
|
+
export declare function fetchCompanyGoals(companyId: number): Promise<any>;
|
|
8
12
|
export declare function fetchCompanyIdsByWellIds(wellIds: number[]): Promise<number[]>;
|
|
9
13
|
export declare function fetchWellsByIds(wellIds: number[]): Promise<Well[]>;
|
|
10
|
-
export declare function fetchMetricsData(companyId:
|
|
11
|
-
export declare function fetchAllAssets(searchKey:
|
|
14
|
+
export declare function fetchMetricsData(companyId: number, wellIds: number[], metricsKeys: string[]): Promise<any[]>;
|
|
15
|
+
export declare function fetchAllAssets(searchKey: string, assetType: string, page: number, company: number): Promise<any>;
|
|
12
16
|
//# sourceMappingURL=apiCalls.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiCalls.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV4/utils/apiCalls.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"apiCalls.d.ts","sourceRoot":"","sources":["../../../../src/components/OffsetWellPickerV4/utils/apiCalls.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAO/B,wBAAsB,cAAc,mBASnC;AAED,wBAAsB,eAAe,CACnC,WAAW,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,EAClE,OAAO,EAAE,MAAM,mDAsBhB;AAED,wBAAsB,UAAU,CAC9B,UAAU,EAAE,MAAM,EAAE,GAAG,IAAI,EAC3B,MAAM,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,EAC/C,WAAW,EAAE,MAAM,OAAO,GACzB,OAAO,CAAC,IAAI,CAAC,CAaf;AAoED,wBAAsB,yBAAyB,CAAC,OAAO,EAAE,MAAM,gBAK9D;AAED,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,MAAM,gBAStD;AAED,wBAAsB,iBAAiB,CAAC,SAAS,EAAE,MAAM,gBASxD;AAGD,wBAAsB,wBAAwB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAmBnF;AAED,wBAAsB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CA2DxE;AAID,wBAAsB,gBAAgB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,kBAsFjG;AAiED,wBAAsB,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,QAAI,EAAE,OAAO,EAAE,MAAM,gBAgBnG"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const resyncIdasWells: (currentUser: any, assetId: any) => Promise<
|
|
1
|
+
export declare const resyncIdasWells: (currentUser: any, assetId: any) => Promise<import("~/clients/jsonApi").TaskResult>;
|
|
2
2
|
//# sourceMappingURL=resyncIdasWells.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resyncIdasWells.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/api/bic/resyncIdasWells.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe,GAAU,aAAa,GAAG,EAAE,SAAS,GAAG,
|
|
1
|
+
{"version":3,"file":"resyncIdasWells.d.ts","sourceRoot":"","sources":["../../../../../src/components/OffsetWellPickerV5/api/bic/resyncIdasWells.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe,GAAU,aAAa,GAAG,EAAE,SAAS,GAAG,oDAsBnE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const CHUNK_SIZE =
|
|
2
|
-
export declare const ID_CHUNK_SIZE =
|
|
1
|
+
export declare const CHUNK_SIZE = 2000;
|
|
2
|
+
export declare const ID_CHUNK_SIZE = 400;
|
|
3
3
|
export declare const MAX_WELL_NUMBER = 1000;
|
|
4
4
|
export declare const ASSET_FIELDS: string[];
|
|
5
5
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var s=
|
|
1
|
+
var s=2e3,t=400,a=1e3,e=["asset.name","asset.company_id","asset.parent_asset_id","asset.parent_asset_name","asset.status","asset.stats","asset.target_formation","asset.string_design","asset.root_asset_name","asset.basin","asset.county","asset.area","asset.visibility","asset.top_hole","asset.settings","asset.last_active_at"];export{e as ASSET_FIELDS,s as CHUNK_SIZE,t as ID_CHUNK_SIZE,a as MAX_WELL_NUMBER};
|
|
2
2
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"@babel/runtime/helpers/slicedToArray";import{jsxs as s,Fragment as e,jsx as t}from"react/jsx-runtime";import{useState as i,useRef as n,useEffect as c}from"react";import{isEmpty as r,first as m}from"lodash";import{makeStyles as a,useTheme as l,FormControl as u,Select as p,MenuItem as d,Tooltip as I}from"@material-ui/core";import f from"classnames";import j from"./WellStreamActivityStatus.js";import h from"./FracModeLabel.js";import{AssetStatus as v}from"./types.js";import{useWellStreamActivityTypeSubscription as S}from"./effects/useWellStreamActivityTypeSubscription.js";import{useMenuItems as g}from"./effects/useMenuItems.js";import{parseMenuItemKey as b}from"./utils/selectMenuKey.js";import{getSelectValue as F,getActiveAsset as C}from"./utils/resolveCurrentConfig.js";import{COMPLETION_MODES as x}from"../../constants/completion.js";import A from"../MiddleTruncate/MiddleTruncate.js";import{PadMode as M}from"../../types/shared/Completions.js";import{InfoIcon as y}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";var L=a((function(o){return{selectFormControl:{maxWidth:"320px",padding:"5px 8px",marginLeft:"auto"},padSelect:{fontSize:"14px","&:before":{borderBottom:0},"&:after":{borderBottom:0},"& .MuiSelect-root":{alignItems:"center",display:"flex"}},simulFracPadMenu:{"&.MuiList-padding":{paddingTop:16}},menuItem:{display:"flex",justifyContent:"space-between","&.subGroupItem":{paddingLeft:24}},menuItemName:{textOverflow:"ellipsis",overflow:"hidden",width:"100%",fontSize:12,lineHeight:"16px"},activeAsset:{fontSize:12,lineHeight:"16px",minWidth:78,display:"flex",alignItems:"center"},simulFracMessage:{maxWidth:230,display:"flex",alignItems:"center",gap:8,padding:"0 16px",fontSize:12,lineHeight:1.35,color:o.palette.primary.text6,pointerEvents:"none"}}})),P=function(e){var n=e.name,c=e.statusBadge,r=L(),m=i(),a=o(m,2),l=a[0],u=a[1];return t(I,{title:l&&l!==n?n:"",children:s("div",{className:r.activeAsset,children:[t(A,{onTruncate:function(o){u(o)},truncatedText:l,maxWidth:130,children:n}),c]})})},W=function(a){var I=a.completionAppType,A=a.padModeSetting,W=void 0===A?{mode:M.custom}:A,w=a.assets,O=void 0===w?[]:w,T=a.fracFleetLines,k=void 0===T?[]:T,N=a.disableActiveWellsInPadSelect,z=a.enableSimulFracInPadSelect,D=a.onChange,G=a.formControlClassName,R=a.activeAssetComponent,B=void 0===R?P:R,E=i(!1),H=o(E,2),U=H[0],q=H[1],K=n(),Z=L(),_=l(),J=F({fracFleetLines:k,padModeSetting:W,enableSimulFracInPadSelect:z}),Q=g({completionAppType:I,assets:O,fracFleetLines:k,enableSimulFracInPadSelect:z}),V=function(o){
|
|
1
|
+
import o from"@babel/runtime/helpers/slicedToArray";import{jsxs as s,Fragment as e,jsx as t}from"react/jsx-runtime";import{useState as i,useRef as n,useEffect as c}from"react";import{isEmpty as r,first as m}from"lodash";import{makeStyles as a,useTheme as l,FormControl as u,Select as p,MenuItem as d,Tooltip as I}from"@material-ui/core";import f from"classnames";import j from"./WellStreamActivityStatus.js";import h from"./FracModeLabel.js";import{AssetStatus as v}from"./types.js";import{useWellStreamActivityTypeSubscription as S}from"./effects/useWellStreamActivityTypeSubscription.js";import{useMenuItems as g}from"./effects/useMenuItems.js";import{parseMenuItemKey as b}from"./utils/selectMenuKey.js";import{getSelectValue as F,getActiveAsset as C}from"./utils/resolveCurrentConfig.js";import{COMPLETION_MODES as x}from"../../constants/completion.js";import A from"../MiddleTruncate/MiddleTruncate.js";import{PadMode as M}from"../../types/shared/Completions.js";import{InfoIcon as y}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";var L=a((function(o){return{selectFormControl:{maxWidth:"320px",padding:"5px 8px",marginLeft:"auto"},padSelect:{fontSize:"14px","&:before":{borderBottom:0},"&:after":{borderBottom:0},"& .MuiSelect-root":{alignItems:"center",display:"flex"}},simulFracPadMenu:{"&.MuiList-padding":{paddingTop:16}},menuItem:{display:"flex",justifyContent:"space-between","&.subGroupItem":{paddingLeft:24}},menuItemName:{textOverflow:"ellipsis",overflow:"hidden",width:"100%",fontSize:12,lineHeight:"16px"},activeAsset:{fontSize:12,lineHeight:"16px",minWidth:78,display:"flex",alignItems:"center"},simulFracMessage:{maxWidth:230,display:"flex",alignItems:"center",gap:8,padding:"0 16px",fontSize:12,lineHeight:1.35,color:o.palette.primary.text6,pointerEvents:"none"}}})),P=function(e){var n=e.name,c=e.statusBadge,r=L(),m=i(),a=o(m,2),l=a[0],u=a[1];return t(I,{title:l&&l!==n?n:"",children:s("div",{className:r.activeAsset,children:[t(A,{onTruncate:function(o){u(o)},truncatedText:l,maxWidth:130,children:n}),c]})})},W=function(a){var I=a.completionAppType,A=a.padModeSetting,W=void 0===A?{mode:M.custom}:A,w=a.assets,O=void 0===w?[]:w,T=a.fracFleetLines,k=void 0===T?[]:T,N=a.disableActiveWellsInPadSelect,z=a.enableSimulFracInPadSelect,D=a.onChange,G=a.formControlClassName,R=a.activeAssetComponent,B=void 0===R?P:R,E=i(!1),H=o(E,2),U=H[0],q=H[1],K=n(),Z=L(),_=l(),J=F({fracFleetLines:k,padModeSetting:W,enableSimulFracInPadSelect:z}),Q=g({completionAppType:I,assets:O,fracFleetLines:k,enableSimulFracInPadSelect:z}),V=function(o){return W.mode===M.custom&&+m(W.selectedAssets)==+o||U},X=Q.find((function(o){return o.key===J})),Y=S({currentWellId:K.current,isStatusShown:!0,withSubscription:!0}),$=C({assets:O,padModeSetting:W,completionAppType:I});c((function(){null!=X&&X.assetId?K.current=null==X?void 0:X.assetId:K.current=void 0}),[null==X?void 0:X.assetId]);var oo=$&&$.status===v.active;return $||W.mode===M.padLine?s(e,{children:[W.mode===M.pad&&t(B,{name:$.name,statusBadge:oo&&t(j,{isStatusShown:!0,currentWellId:$.asset_id,subData:r(Y)?void 0:Y})}),t(u,{classes:{root:f(Z.selectFormControl,G)},children:J&&s(p,{value:J,onChange:function(o){var s=b(String(o.target.value)),e=s.mode,t=s.assetId,i={mode:e};e===M.custom?(i.mode=M.custom,i.selectedAssets=[parseInt(t,10)]):e===M.padLine&&(i.selectedLine=t),D(i)},inputProps:{name:"padModeSelect",id:"pad-mode-select"},className:Z.padSelect,onClose:function(){return q(!1)},onOpen:function(){return q(!0)},MenuProps:{classes:{list:Z.simulFracPadMenu},anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},children:[t(h,{fracFleetLines:k}),Q.map((function(o){var e=o.key,i=o.label,n=o.assetId,c=o.wellId,r=o.status,m=o.isSubItem,a=o.isDisabled,l=V(c)&&r===v.active;return s(d,{value:e,className:f(Z.menuItem,m&&"subGroupItem"),disabled:N&&r!==v.active&&e!==x.pad&&(m||a),children:[t("span",{className:Z.menuItemName,children:i}),l&&t(j,{isStatusShown:V(c),currentWellId:n,subData:K.current===n?Y:void 0})]},e)})),!z&&k.length>0&&s("div",{className:Z.simulFracMessage,children:[t(y,{size:16,fill:_.palette.info.main}),"Analytics apps show all wells in Pad Mode for Simulfracs"]})]})})]}):null};export{W as default};
|
|
2
2
|
//# sourceMappingURL=PadModeSelect.js.map
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { AssetStreamStatus } from './types';
|
|
3
|
+
type Props = {
|
|
4
|
+
isStatusShown: boolean;
|
|
5
|
+
currentWellId?: number;
|
|
6
|
+
subData?: AssetStreamStatus;
|
|
7
|
+
};
|
|
8
|
+
declare const WellStreamActivityStatus: FC<Props>;
|
|
2
9
|
export default WellStreamActivityStatus;
|
|
3
10
|
//# sourceMappingURL=WellStreamActivityStatus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WellStreamActivityStatus.d.ts","sourceRoot":"","sources":["../../../src/components/PadModeSelect/WellStreamActivityStatus.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WellStreamActivityStatus.d.ts","sourceRoot":"","sources":["../../../src/components/PadModeSelect/WellStreamActivityStatus.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAM3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AA6B5C,KAAK,KAAK,GAAG;IACX,aAAa,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,iBAAiB,CAAC;CAC7B,CAAC;AAEF,QAAA,MAAM,wBAAwB,EAAE,EAAE,CAAC,KAAK,CAiBvC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWellStreamActivityTypeSubscription.d.ts","sourceRoot":"","sources":["../../../../src/components/PadModeSelect/effects/useWellStreamActivityTypeSubscription.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"useWellStreamActivityTypeSubscription.d.ts","sourceRoot":"","sources":["../../../../src/components/PadModeSelect/effects/useWellStreamActivityTypeSubscription.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAA4D,MAAM,UAAU,CAAC;AA+BvG,KAAK,uBAAuB,GAAG;IAC7B,aAAa,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAGF,wBAAgB,qCAAqC,CAAC,EACpD,aAAa,EACb,aAAa,EACb,gBAAgB,GACjB,EAAE,uBAAuB,GAAG,iBAAiB,CAwE7C"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/slicedToArray";import{useState as r,useRef as i,useLayoutEffect as n}from"react";import{initialDataFetcher as o}from"../utils/initialDataFetcher.js";import a from"./useWellStreamsData.js";import{socketClient as c}from"../../../clients/index.js";function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function m(e){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?s(Object(i),!0).forEach((function(r){t(e,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}var l={provider:"corva",collection:"completion.wits",event:"",params:{fields:"timestamp,collection,asset_id",limit:1,sort:"{ timestamp: -1 }"}},p={provider:"corva",collection:"wireline.wits",event:"",params:{fields:"timestamp,collection,asset_id,data.state",limit:1,sort:"{ timestamp: -1 }"}};function u(t){var s=t.currentWellId,u=t.isStatusShown,f=t.withSubscription,b=r({timestamp:0}),d=e(b,2),v=d[0],O=d[1],h=r({timestamp:0}),j=e(h,2),w=j[0],y=j[1],P=i([]),g=a({isStatusShown:u,currentWellId:s,wirelineData:v,fracData:w}),D=function(t){var e=t.data[0]||{},r=e.collection,i=e.timestamp,n=e.data,o=e.stage_number;if(!i)return O({timestamp:0}),void y({timestamp:0});r===p.collection?O((function(t){return m(m({},t),{},{timestamp:i,stageNumber:o,data:n})})):r===l.collection&&y((function(t){return m(m({},t),{},{timestamp:i})}))},S=function(t,e){var r=
|
|
1
|
+
import t from"@babel/runtime/helpers/defineProperty";import e from"@babel/runtime/helpers/slicedToArray";import{useState as r,useRef as i,useLayoutEffect as n}from"react";import{initialDataFetcher as o}from"../utils/initialDataFetcher.js";import a from"./useWellStreamsData.js";import{socketClient as c}from"../../../clients/index.js";function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function m(e){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?s(Object(i),!0).forEach((function(r){t(e,r,i[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}var l={provider:"corva",collection:"completion.wits",event:"",params:{fields:"timestamp,collection,asset_id",limit:1,sort:"{ timestamp: -1 }"}},p={provider:"corva",collection:"wireline.wits",event:"",params:{fields:"timestamp,collection,asset_id,data.state",limit:1,sort:"{ timestamp: -1 }"}};function u(t){var s=t.currentWellId,u=t.isStatusShown,f=t.withSubscription,b=r({timestamp:0}),d=e(b,2),v=d[0],O=d[1],h=r({timestamp:0}),j=e(h,2),w=j[0],y=j[1],P=i([]),g=a({isStatusShown:u,currentWellId:s,wirelineData:v,fracData:w}),D=function(t){var e=t.data[0]||{},r=e.collection,i=e.timestamp,n=e.data,o=e.stage_number;if(!i)return O({timestamp:0}),void y({timestamp:0});r===p.collection?O((function(t){return m(m({},t),{},{timestamp:i,stageNumber:o,data:n})})):r===l.collection&&y((function(t){return m(m({},t),{},{timestamp:i})}))},S=function(t,e){var r={provider:e.provider,collection:e.collection,event:e.event,params:e.params,assetId:t},i=c.subscribe(r,{onDataReceive:D});P.current.push(i)};return n((function(){if(s){var t=o(l),e=o(p),r=[t(s),e(s)];return f&&(S(s,l),S(s,p)),Promise.all(r).then((function(t){t.forEach((function(t){t&&D({data:t})}))})),function(){P.current.forEach((function(t){return t()})),P.current=[],O({timestamp:0}),y({timestamp:0})}}}),[s]),g}export{u as useWellStreamActivityTypeSubscription};
|
|
2
2
|
//# sourceMappingURL=useWellStreamActivityTypeSubscription.js.map
|
|
@@ -22,8 +22,30 @@ export type AssetStreamStatus = {
|
|
|
22
22
|
export type StreamDataItem = {
|
|
23
23
|
timestamp: number;
|
|
24
24
|
stageNumber?: number;
|
|
25
|
-
data?:
|
|
26
|
-
|
|
25
|
+
data?: WirelineWitsData;
|
|
26
|
+
};
|
|
27
|
+
export type CompletionWitsData = Record<string, number | undefined>;
|
|
28
|
+
export type WirelineWitsData = Record<string, number | undefined> & {
|
|
29
|
+
state?: string;
|
|
30
|
+
};
|
|
31
|
+
export type WitsRecordBase = {
|
|
32
|
+
_id: string;
|
|
33
|
+
version: number;
|
|
34
|
+
provider: string;
|
|
35
|
+
timestamp: number;
|
|
36
|
+
asset_id: number;
|
|
37
|
+
company_id: number;
|
|
38
|
+
stage_number?: number;
|
|
39
|
+
metadata?: {
|
|
40
|
+
datasource?: string;
|
|
27
41
|
};
|
|
28
42
|
};
|
|
43
|
+
export type CompletionWitsRecord = WitsRecordBase & {
|
|
44
|
+
collection: 'completion.wits';
|
|
45
|
+
data: CompletionWitsData;
|
|
46
|
+
};
|
|
47
|
+
export type WirelineWitsRecord = WitsRecordBase & {
|
|
48
|
+
collection: 'wireline.wits';
|
|
49
|
+
data: WirelineWitsData;
|
|
50
|
+
};
|
|
29
51
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/PadModeSelect/types.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB,IAAI,OAAO;IACX,QAAQ,OAAO;CAChB;AAED,oBAAY,WAAW;IACrB,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,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CAAC,CAAC;AAEpE,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE;QAAE,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,cAAc,GAAG;IAClD,UAAU,EAAE,iBAAiB,CAAC;IAC9B,IAAI,EAAE,kBAAkB,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAAG;IAChD,UAAU,EAAE,eAAe,CAAC;IAC5B,IAAI,EAAE,gBAAgB,CAAC;CACxB,CAAC"}
|
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import { CompletionWitsRecord, WirelineWitsRecord } from '../types';
|
|
2
|
+
type WitsRecord = CompletionWitsRecord | WirelineWitsRecord;
|
|
3
|
+
type WitsSubscriptionInfo = {
|
|
4
|
+
provider: string;
|
|
5
|
+
collection: string;
|
|
6
|
+
params: {
|
|
7
|
+
fields: string;
|
|
8
|
+
limit: number;
|
|
9
|
+
sort: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare function initialDataFetcher(subscriptionInfo: WitsSubscriptionInfo): (assetId: number, timestamp?: number) => Promise<WitsRecord[] | null>;
|
|
13
|
+
export {};
|
|
2
14
|
//# sourceMappingURL=initialDataFetcher.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initialDataFetcher.d.ts","sourceRoot":"","sources":["../../../../src/components/PadModeSelect/utils/initialDataFetcher.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"initialDataFetcher.d.ts","sourceRoot":"","sources":["../../../../src/components/PadModeSelect/utils/initialDataFetcher.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEpE,KAAK,UAAU,GAAG,oBAAoB,GAAG,kBAAkB,CAAC;AAE5D,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;CACzD,CAAC;AAGF,wBAAgB,kBAAkB,CAAC,gBAAgB,EAAE,oBAAoB,IAChD,SAAS,MAAM,EAAE,YAAY,MAAM,KAAG,OAAO,CAAC,UAAU,EAAE,GAAG,IAAI,CAAC,CAmB1F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PadOffsetsPickerV2.d.ts","sourceRoot":"","sources":["../../../src/components/PadOffsetsPickerV2/PadOffsetsPickerV2.tsx"],"names":[],"mappings":"AAeA,OAAO,
|
|
1
|
+
{"version":3,"file":"PadOffsetsPickerV2.d.ts","sourceRoot":"","sources":["../../../src/components/PadOffsetsPickerV2/PadOffsetsPickerV2.tsx"],"names":[],"mappings":"AAeA,OAAO,EAA0C,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAoB1F,QAAA,MAAM,kBAAkB,GAAI,+EAQzB,uBAAuB,KAAG,GAAG,CAAC,OAkGhC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOffsetPickerActions.d.ts","sourceRoot":"","sources":["../../../src/components/PadOffsetsPickerV2/useOffsetPickerActions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAwB,uBAAuB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"useOffsetPickerActions.d.ts","sourceRoot":"","sources":["../../../src/components/PadOffsetsPickerV2/useOffsetPickerActions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAwB,uBAAuB,EAAE,MAAM,SAAS,CAAC;AA4H1F,eAAO,MAAM,sBAAsB,GAAI,mDAKpC,IAAI,CAAC,uBAAuB,EAAE,QAAQ,GAAG,QAAQ,GAAG,sBAAsB,GAAG,QAAQ,CAAC;;;;;CA+BxF,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { RealTimeBoxEditDialogProps } from '../types';
|
|
2
3
|
declare function RealTimeBoxEditDialog(props: RealTimeBoxEditDialogProps): JSX.Element;
|
|
3
|
-
declare const _default:
|
|
4
|
+
declare const _default: React.MemoExoticComponent<typeof RealTimeBoxEditDialog>;
|
|
4
5
|
export default _default;
|
|
5
6
|
//# sourceMappingURL=RealTimeBoxEditDialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RealTimeBoxEditDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RealTimeBoxEditDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxEditDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAKrE,OAAO,EAAE,0BAA0B,EAAgB,MAAM,UAAU,CAAC;AAepE,iBAAS,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,eAkH/D;;AAED,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RealTimeBoxList.d.ts","sourceRoot":"","sources":["../../../../src/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.tsx"],"names":[],"mappings":"AAUA,OAAO,
|
|
1
|
+
{"version":3,"file":"RealTimeBoxList.d.ts","sourceRoot":"","sources":["../../../../src/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAmB,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAmBjE,iBAAS,eAAe,CAAC,KAAK,EAAE,oBAAoB,eAgFnD;;AAED,wBAAqC"}
|
|
@@ -34,16 +34,16 @@ export type RealtimeSidebarProps = {
|
|
|
34
34
|
isResponsive: boolean;
|
|
35
35
|
isSidebarOpen: boolean;
|
|
36
36
|
handleOpenCloseSidebar: (isOpen: boolean) => void;
|
|
37
|
-
onAppSettingChange: (key: string, value:
|
|
38
|
-
appSettings: Record<string,
|
|
37
|
+
onAppSettingChange: (key: string, value: Record<string, string[]>) => void;
|
|
38
|
+
appSettings: Record<string, Record<string, string[]>>;
|
|
39
39
|
assetKey: string;
|
|
40
40
|
setting: string[];
|
|
41
41
|
realTimeTypes: RealTimeType[];
|
|
42
42
|
isDialogOpen: boolean;
|
|
43
43
|
paramToEdit: string;
|
|
44
44
|
handleOpenCloseDialog: (isOpen: boolean) => void;
|
|
45
|
-
sourceArray:
|
|
46
|
-
findSource: (param: string, realTimeTypes: RealTimeType[]) =>
|
|
45
|
+
sourceArray: RealTimeBoxItem[];
|
|
46
|
+
findSource: (param: string, realTimeTypes: RealTimeType[]) => RealTimeBoxItem | null;
|
|
47
47
|
handleChangeParamToEdit: (item: string) => void;
|
|
48
48
|
sidebarHorizontalHeight?: number;
|
|
49
49
|
onLayoutChange?: (height: number) => void;
|
|
@@ -66,8 +66,8 @@ export type RealTimeBoxProps = {
|
|
|
66
66
|
classNames?: Partial<ClassNameMap<keyof RealTimeSidebarClasses>>;
|
|
67
67
|
};
|
|
68
68
|
export type RealTimeBoxListProps = {
|
|
69
|
-
sourceArray:
|
|
70
|
-
findSource: (param: string, realTimeTypes: RealTimeType[]) =>
|
|
69
|
+
sourceArray: RealTimeBoxItem[];
|
|
70
|
+
findSource: (param: string, realTimeTypes: RealTimeType[]) => RealTimeBoxItem | null;
|
|
71
71
|
classNames?: Partial<ClassNameMap<keyof RealTimeSidebarClasses>>;
|
|
72
72
|
};
|
|
73
73
|
export type SidebarFooterProps = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/RealTimeValuesSidebar/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAEnE,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,yBAAyB,EAAE,MAAM,IAAI,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG;IAClB,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,UAAU,sBAAsB;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MA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M,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,KAAK,IAAI,CAAC;IAC1C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,MAAM,sBAAsB,CAAC,CAAC,CAAC;CAClE,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,WAAW,EAAE,eAAe,EAAE,CAAC;IAC/B,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,YAAY,EAAE,KAAK,eAAe,GAAG,IAAI,CAAC;IACrF,UAAU,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,MAAM,sBAAsB,CAAC,CAAC,CAAC;CAClE,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import PropTypes from 'prop-types';
|
|
2
|
-
interface ResizableTableHeaderCellProps
|
|
3
|
+
interface ResizableTableHeaderCellProps {
|
|
4
|
+
children: React.ReactElement;
|
|
5
|
+
cellName: string;
|
|
6
|
+
nextCellName: string;
|
|
7
|
+
widths: Record<string, number>;
|
|
8
|
+
handleWidthsUpdate: (widths: Record<string, number>) => void;
|
|
3
9
|
}
|
|
4
10
|
declare function ResizableTableHeaderCell({ children, cellName, nextCellName, widths, handleWidthsUpdate, }: ResizableTableHeaderCellProps): JSX.Element;
|
|
5
11
|
declare namespace ResizableTableHeaderCell {
|
|
@@ -12,11 +18,4 @@ declare namespace ResizableTableHeaderCell {
|
|
|
12
18
|
};
|
|
13
19
|
}
|
|
14
20
|
export default ResizableTableHeaderCell;
|
|
15
|
-
declare const resizableTableHeaderCellPropTypes: {
|
|
16
|
-
children: PropTypes.Validator<PropTypes.ReactElementLike>;
|
|
17
|
-
cellName: PropTypes.Validator<string>;
|
|
18
|
-
nextCellName: PropTypes.Validator<string>;
|
|
19
|
-
widths: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
20
|
-
handleWidthsUpdate: PropTypes.Validator<(...args: any[]) => any>;
|
|
21
|
-
};
|
|
22
21
|
//# sourceMappingURL=ResizableTableHeaderCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResizableTableHeaderCell.d.ts","sourceRoot":"","sources":["../../../src/components/ResizableTable/ResizableTableHeaderCell.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ResizableTableHeaderCell.d.ts","sourceRoot":"","sources":["../../../src/components/ResizableTable/ResizableTableHeaderCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,SAAS,MAAM,YAAY,CAAC;AA+BnC,UAAU,6BAA6B;IACrC,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,kBAAkB,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,IAAI,CAAC;CAC9D;AAED,iBAAwB,wBAAwB,CAAC,EAC/C,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,kBAAkB,GACnB,EAAE,6BAA6B,GAAG,GAAG,CAAC,OAAO,CAqD7C;kBA3DuB,wBAAwB;;;;;;;;;eAAxB,wBAAwB"}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
interface SearchOption {
|
|
2
|
+
group?: string;
|
|
3
|
+
name?: string;
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}
|
|
6
|
+
export declare const getFormattedOptions: (options: SearchOption[] | undefined, isGroupped: boolean, selectedGroup: SearchOption | null) => SearchOption[];
|
|
7
|
+
export {};
|
|
2
8
|
//# sourceMappingURL=getFormattedOptions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFormattedOptions.d.ts","sourceRoot":"","sources":["../../../../src/components/Search/utils/getFormattedOptions.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,GAAI,
|
|
1
|
+
{"version":3,"file":"getFormattedOptions.d.ts","sourceRoot":"","sources":["../../../../src/components/Search/utils/getFormattedOptions.ts"],"names":[],"mappings":"AAEA,UAAU,YAAY;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,mBAAmB,GAAI,SAAS,YAAY,EAAE,GAAG,SAAS,EAAE,YAAY,OAAO,EAAE,eAAe,YAAY,GAAG,IAAI,mBAU/H,CAAC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export type GetDeductsFromScoreClass = (styles: Record<string, string>, score: number, isResolved: boolean) => string;
|
|
2
2
|
export type GetDeductsFromScoreValue = (deductsFromScore: number, isResolved: boolean) => string;
|
|
3
|
-
type WellnessAlert = {
|
|
3
|
+
export type WellnessAlert = {
|
|
4
4
|
id: string;
|
|
5
5
|
assetId: number;
|
|
6
6
|
name: string;
|
|
7
7
|
category: string;
|
|
8
|
-
lastCheckedAt:
|
|
8
|
+
lastCheckedAt: number;
|
|
9
9
|
message: string;
|
|
10
10
|
status: string;
|
|
11
11
|
statusReason: string;
|
|
12
|
-
statusUpdatedAt:
|
|
12
|
+
statusUpdatedAt: number;
|
|
13
13
|
ruleId: string;
|
|
14
14
|
state: string;
|
|
15
|
-
createdAt:
|
|
15
|
+
createdAt: number;
|
|
16
16
|
note: string;
|
|
17
17
|
isThrottled: boolean;
|
|
18
18
|
segment: string;
|
|
@@ -20,31 +20,71 @@ type WellnessAlert = {
|
|
|
20
20
|
holeDepth?: number;
|
|
21
21
|
state?: string;
|
|
22
22
|
};
|
|
23
|
-
deductsFromScore:
|
|
23
|
+
deductsFromScore: number;
|
|
24
24
|
} | null;
|
|
25
|
-
export type
|
|
25
|
+
export type RawWellnessAlert = {
|
|
26
26
|
_id: string;
|
|
27
27
|
asset_id: number;
|
|
28
|
+
company_id: number;
|
|
29
|
+
version: number;
|
|
30
|
+
provider: string;
|
|
31
|
+
collection: string;
|
|
28
32
|
data: {
|
|
29
33
|
name: string;
|
|
30
34
|
category: string;
|
|
31
|
-
last_checked_at:
|
|
35
|
+
last_checked_at: number;
|
|
32
36
|
rule_id: string;
|
|
33
37
|
message: string;
|
|
34
38
|
status: string;
|
|
35
39
|
status_reason: string;
|
|
36
|
-
status_updated_at:
|
|
40
|
+
status_updated_at: number;
|
|
41
|
+
status_updated_by: string | null;
|
|
42
|
+
status_updated_by_user_name: string | null;
|
|
43
|
+
status_expire_at: number | null;
|
|
37
44
|
state: string;
|
|
38
45
|
note: string;
|
|
39
46
|
is_throttled: boolean;
|
|
40
47
|
segment: string;
|
|
48
|
+
stage_number: number | null;
|
|
49
|
+
force_request: boolean;
|
|
50
|
+
properties: Record<string, unknown>;
|
|
41
51
|
metrics?: {
|
|
42
52
|
hole_depth?: number;
|
|
43
53
|
state?: string;
|
|
54
|
+
depth_at_creation?: number;
|
|
55
|
+
state_at_creation?: string;
|
|
56
|
+
depth_at_resolution?: number;
|
|
57
|
+
state_at_resolution?: string;
|
|
44
58
|
};
|
|
45
|
-
deducts_from_score:
|
|
59
|
+
deducts_from_score: number;
|
|
60
|
+
qced: boolean | null;
|
|
61
|
+
internal: boolean;
|
|
46
62
|
};
|
|
47
|
-
timestamp:
|
|
48
|
-
|
|
49
|
-
|
|
63
|
+
timestamp: number;
|
|
64
|
+
app_key: string | null;
|
|
65
|
+
};
|
|
66
|
+
export type RawWellnessRuleSetting = {
|
|
67
|
+
_id: string;
|
|
68
|
+
data: {
|
|
69
|
+
category: string;
|
|
70
|
+
customer_category?: string;
|
|
71
|
+
environment: string;
|
|
72
|
+
name: string;
|
|
73
|
+
customer_name?: string;
|
|
74
|
+
disabled: boolean;
|
|
75
|
+
interval: {
|
|
76
|
+
type: string;
|
|
77
|
+
interval_seconds: number;
|
|
78
|
+
refresh_rate: number;
|
|
79
|
+
cache_key: string;
|
|
80
|
+
cache_key_refresh: string;
|
|
81
|
+
};
|
|
82
|
+
point_allocation: number;
|
|
83
|
+
rule_id: string;
|
|
84
|
+
description?: string;
|
|
85
|
+
thresholds?: Record<string, unknown>;
|
|
86
|
+
};
|
|
87
|
+
timestamp: number;
|
|
88
|
+
};
|
|
89
|
+
export type ParseWellnessAlertFromJson = (obj: RawWellnessAlert) => WellnessAlert;
|
|
50
90
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAAG,CACrC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC9B,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,OAAO,KAChB,MAAM,CAAC;AAEZ,MAAM,MAAM,wBAAwB,GAAG,CAAC,gBAAgB,EAAE,MAAM,EA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QACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAC3B,WAAW,EAAE,MAAM,CAAC;QACpB,IAAI,EAAE,MAAM,CAAC;QACb,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,EAAE,OAAO,CAAC;QAClB,QAAQ,EAAE;YACR,IAAI,EAAE,MAAM,CAAC;YACb,gBAAgB,EAAE,MAAM,CAAC;YACzB,YAAY,EAAE,MAAM,CAAC;YACrB,SAAS,EAAE,MAAM,CAAC;YAClB,iBAAiB,EAAE,MAAM,CAAC;SAC3B,CAAC;QACF,gBAAgB,EAAE,MAAM,CAAC;QACzB,OAAO,EAAE,MAAM,CAAC;QAChB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACtC,CAAC;IACF,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,CAAC,GAAG,EAAE,gBAAgB,KAAK,aAAa,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AssetItem, BadgeIconStatus } from '~/components/StatusBadge/constants';
|
|
2
|
-
import { GetDeductsFromScoreClass, GetDeductsFromScoreValue, ParseWellnessAlertFromJson } from '~/components/StatusBadge/types';
|
|
1
|
+
import { AssetData, AssetItem, BadgeIconStatus } from '~/components/StatusBadge/constants';
|
|
2
|
+
import { GetDeductsFromScoreClass, GetDeductsFromScoreValue, ParseWellnessAlertFromJson, RawWellnessRuleSetting, WellnessAlert } from '~/components/StatusBadge/types';
|
|
3
3
|
export declare const isResolved: (status: string) => boolean;
|
|
4
4
|
export declare const getDeductsFromScoreClass: GetDeductsFromScoreClass;
|
|
5
5
|
export declare const getDeductsFromScoreValue: GetDeductsFromScoreValue;
|
|
@@ -8,14 +8,41 @@ export declare const getLinkToDQPage: ({ assetId, wellHubSlug, }: {
|
|
|
8
8
|
assetId: number;
|
|
9
9
|
wellHubSlug: string;
|
|
10
10
|
}) => string;
|
|
11
|
-
export declare const groupAlertsByAssetName: (alerts:
|
|
11
|
+
export declare const groupAlertsByAssetName: (alerts: WellnessAlert[], assetsList: {
|
|
12
|
+
id: number;
|
|
13
|
+
name: string;
|
|
14
|
+
}[]) => Record<string, {
|
|
15
|
+
id: string;
|
|
16
|
+
assetId: number;
|
|
17
|
+
name: string;
|
|
18
|
+
category: string;
|
|
19
|
+
lastCheckedAt: number;
|
|
20
|
+
message: string;
|
|
21
|
+
status: string;
|
|
22
|
+
statusReason: string;
|
|
23
|
+
statusUpdatedAt: number;
|
|
24
|
+
ruleId: string;
|
|
25
|
+
state: string;
|
|
26
|
+
createdAt: number;
|
|
27
|
+
note: string;
|
|
28
|
+
isThrottled: boolean;
|
|
29
|
+
segment: string;
|
|
30
|
+
metrics: {
|
|
31
|
+
holeDepth?: number;
|
|
32
|
+
state?: string;
|
|
33
|
+
};
|
|
34
|
+
deductsFromScore: number;
|
|
35
|
+
}[]>;
|
|
12
36
|
export declare const getNewWellnessAlerts: ({ assetsList, alertsGroupByRuleId, wellnessRuleSettings, wellHubSlug, }: {
|
|
13
|
-
assetsList:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
37
|
+
assetsList: {
|
|
38
|
+
id: number;
|
|
39
|
+
name: string;
|
|
40
|
+
}[];
|
|
41
|
+
alertsGroupByRuleId: WellnessAlert[][];
|
|
42
|
+
wellnessRuleSettings: RawWellnessRuleSetting[];
|
|
43
|
+
wellHubSlug: string;
|
|
44
|
+
}) => AssetData;
|
|
45
|
+
export declare const getIconType: (alertsFromAssetsListKeys: string[], wellnessAlertsFromAssetsList: AssetData) => "" | "success" | "error" | "issue";
|
|
46
|
+
export declare const getSortedWellnessAlerts: (alertsKeys: string[], alerts: AssetData) => AssetData;
|
|
20
47
|
export declare const getCategoryIconType: (rules: AssetItem[]) => BadgeIconStatus;
|
|
21
48
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/utils.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,SAAS,EACT,SAAS,EAET,eAAe,EAEhB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,wBAAwB,EACxB,wBAAwB,EACxB,0BAA0B,EAC1B,sBAAsB,EACtB,aAAa,EACd,MAAM,gCAAgC,CAAC;AAExC,eAAO,MAAM,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OACK,CAAC;AAEnD,eAAO,MAAM,wBAAwB,EAAE,wBAYtC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,wBAKtC,CAAC;AA6BF,eAAO,MAAM,0BAA0B,EAAE,0BA+BxC,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,2BAG7B;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB,KAAG,MAA0D,CAAC;AAE/D,eAAO,MAAM,sBAAsB,GACjC,QAAQ,aAAa,EAAE,EACvB,YAAY;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE;;;;;;;;;;;;;;;;;iBA3FG,CAAC;aAAmB,CAAC;;;IA+G5D,CAAC;AAET,eAAO,MAAM,oBAAoB,GAAI,yEAKlC;IACD,UAAU,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC3C,mBAAmB,EAAE,aAAa,EAAE,EAAE,CAAC;IACvC,oBAAoB,EAAE,sBAAsB,EAAE,CAAC;IAC/C,WAAW,EAAE,MAAM,CAAC;CACrB,cA+CA,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,0BAA0B,MAAM,EAAE,EAAE,8BAA8B,SAAS,uCAoBtG,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,YAAY,MAAM,EAAE,EAAE,QAAQ,SAAS,cAY5E,CAAC;AAEJ,eAAO,MAAM,mBAAmB,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,eAQzD,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from"@babel/runtime/helpers/defineProperty";import{sortBy as e}from"lodash";import{ALERT_STATUSES as
|
|
1
|
+
import t from"@babel/runtime/helpers/defineProperty";import{sortBy as e}from"lodash";import{ALERT_STATUSES as r,BADGE_ICON_STATUSES as n,DATA_QUALITY_CHECK_PASSED as s,ALERT_STATES as a}from"./constants.js";function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?u(Object(n),!0).forEach((function(r){t(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.toLowerCase()===r.RESOLVED},c=function(t,e,r){return r||!e?"":e>40?t.error:e>10?t.warn:e>5?t.ok:t.good},d=function(t,e){return!e&&t>=0?"".concat(t,"%"):"—"};var l=function(t){var e,r,n,s;return"Issue"===t.data.state&&"Manual Alert"!==t.data.name&&"User Created"!==t.data.category?null:{id:t._id,assetId:t.asset_id,name:t.data.name,category:t.data.category,lastCheckedAt:t.data.last_checked_at,ruleId:t.data.rule_id,message:t.data.message,status:(s=t.data.status,"under investigation"===s?"investigation":["not available","resolved"].includes(s)?"resolved":s),statusReason:t.data.status_reason,statusUpdatedAt:t.data.status_updated_at,state:(n=t.data.state,["Fatal","Critical","Issue","Manual"].includes(n)?"Issue":["Missing Data"].includes(n)?"Missing":"Unknown"),createdAt:t.timestamp,note:t.data.note,isThrottled:t.data.is_throttled,segment:t.data.segment,metrics:{holeDepth:null===(e=t.data.metrics)||void 0===e?void 0:e.hole_depth,state:null===(r=t.data.metrics)||void 0===r?void 0:r.state},deductsFromScore:t.data.deducts_from_score}},f=function(t){var e=t.assetId,r=t.wellHubSlug;return"/assets/".concat(e,"/").concat(r,"/Data Quality")},m=function(t,e){return t.reduce((function(t,n){if(!n)return t;if([r.FLAGGED,r.INVESTIGATION,r.ON_HOLD].includes(n.status))return t;var s=e.find((function(t){return t.id===n.assetId}));if(!s)return t;var a=s.name;return t[a]||(t[a]=[]),t[a].push(n),t}),{})},g=function(t){var e=t.assetsList,n=t.alertsGroupByRuleId,u=t.wellnessRuleSettings,c=t.wellHubSlug;return n.reduce((function(t,n){if(null==n||!n.length)return t;var d=m(n,e);return Object.keys(d).forEach((function(e){var n=d[e],l=u.find((function(t){var e=t.data;return(null==e?void 0:e.rule_id)===n[0].ruleId}));if(l){var m=l.data.customer_name||n[0].name,g=l.data.customer_category||n[0].category,p=n.find((function(t){return t.status===r.OPEN||t.status===r.EXPIRED})),v=n.every((function(t){return o(t.status)}));t[e]||(t[e]=[]),t[e].push({alert:i(i({},v?i(i({},n.sort((function(t,e){return e.statusUpdatedAt-t.statusUpdatedAt}))[0]),{},{emptyMessage:s}):p),{},{name:m,category:g}),isResolved:v,id:n[0].id,issuesNum:n.filter((function(t){return t.state===a.issue&&!o(t.status)})).length,name:m,missingNum:n.filter((function(t){return t.state===a.missing&&!o(t.status)})).length,linkToDQPage:f({assetId:n[0].assetId,wellHubSlug:c})})}})),t}),{})},p=function(t,e){return t.filter((function(t){return e[t].every((function(t){return t.isResolved}))})).length===t.length?n.success:t.filter((function(t){return e[t].some((function(t){return t.missingNum}))})).length?n.error:t.filter((function(t){return e[t].some((function(t){return t.issuesNum}))})).length?n.issue:""},v=function(r,n){return r.reduce((function(r,s){return i(i({},r),{},t({},s,e(n[s],[function(t){return-t.missingNum},function(t){return-t.issuesNum},function(t){return t.alert.category},function(t){return t.name}])))}),{})},h=function(t){return t.some((function(t){return t.missingNum>0}))?n.error:t.some((function(t){return t.issuesNum>0}))?n.issue:n.resolved};export{h as getCategoryIconType,c as getDeductsFromScoreClass,d as getDeductsFromScoreValue,p as getIconType,f as getLinkToDQPage,g as getNewWellnessAlerts,v as getSortedWellnessAlerts,m as groupAlertsByAssetName,o as isResolved,l as parseWellnessAlertFromJson};
|
|
2
2
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useThrottledCallback.d.ts","sourceRoot":"","sources":["../../../src/components/shared/useThrottledCallback.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useThrottledCallback.d.ts","sourceRoot":"","sources":["../../../src/components/shared/useThrottledCallback.ts"],"names":[],"mappings":"AAoBA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oBAAoB,GAAI,UAAU,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE,KAAK,IAAI,EAAE,gBAAW,iBAS5C,GAAG,EAAE,SAqB9C,CAAC"}
|