@corva/ui 0.60.0-1 → 0.60.0-11
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/components/Content.js +1 -1
- package/cjs-bundle/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
- package/cjs-bundle/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
- package/cjs-bundle/components/AssetEditorV2/components/PrimaryAssetSelect.js +1 -0
- package/cjs-bundle/components/AssetEditorV2/components/SecondaryAssetSelect.js +1 -0
- package/cjs-bundle/components/AssetEditorV2/components/SelectItem.js +1 -0
- package/cjs-bundle/components/AssetEditorV2/constants.js +1 -0
- package/cjs-bundle/components/AssetEditorV2/effects/index.js +1 -0
- package/cjs-bundle/components/AssetEditorV2/index.js +1 -0
- package/cjs-bundle/components/AssetEditorV2/utils/index.js +1 -0
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/CollapsableSidebar.js +1 -1
- package/cjs-bundle/components/ColorPicker/ColorPicker.js +1 -1
- package/cjs-bundle/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/RemoveAppButton.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
- package/cjs-bundle/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/icons/Critical.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/icons/Major.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/icons/Minor.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js +1 -1
- package/cjs-bundle/components/FeedItem/feedItemTypes/TracesMemoFeedItem.js +1 -1
- package/cjs-bundle/components/KeyboardDateTimePicker.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.js +1 -1
- package/cjs-bundle/components/Search/Search.js +1 -1
- package/cjs-bundle/components/Search/components/Groups.js +1 -1
- package/cjs-bundle/components/Search/components/InputAdornmentLeft.js +1 -1
- package/cjs-bundle/components/Search/components/Paper.js +1 -1
- package/cjs-bundle/components/Search/styles.js +1 -1
- package/cjs-bundle/components/Select/index.js +1 -1
- package/cjs-bundle/components/SettingEditors/DropdownEditor/index.js +1 -1
- package/cjs-bundle/components/StatusBadge/components/DQAccordionDetailsContent.js +1 -1
- package/cjs-bundle/components/StatusBadge/components/DQAlertTooltip.js +1 -1
- package/cjs-bundle/components/StatusBadge/components/DQAlertsTooltip.js +1 -1
- package/cjs-bundle/components/StatusBadge/components/DQUnvalidatedContent.js +1 -1
- package/cjs-bundle/components/StatusBadge/constants.js +1 -1
- package/cjs-bundle/components/StatusBadge/styles.js +1 -1
- package/cjs-bundle/components/StatusBadge/utils.js +1 -1
- package/cjs-bundle/components/TextLink/index.js +1 -1
- package/cjs-bundle/components/TracesEditModal/TracesEditModal.js +1 -1
- package/cjs-bundle/components/index.js +1 -1
- package/cjs-bundle/constants/segment.js +1 -1
- package/cjs-bundle/effects/useWellnessAlerts.js +1 -1
- package/cjs-bundle/permissions/constants/index.js +1 -1
- package/components/AddComment/Popover.js +1 -1
- package/components/AddComment/components/Content.js +1 -1
- package/components/Annotations/components/AnnotationsList/components/AddAnnotationForm/index.js +1 -1
- package/components/AppVersionsSelect/AppVersionsSelect.d.ts +2 -1
- package/components/AppVersionsSelect/AppVersionsSelect.d.ts.map +1 -1
- package/components/AppVersionsSelect/AppVersionsSelect.js +1 -1
- package/components/AssetEditorV2/components/PrimaryAssetSelect.d.ts +21 -0
- package/components/AssetEditorV2/components/PrimaryAssetSelect.d.ts.map +1 -0
- package/components/AssetEditorV2/components/PrimaryAssetSelect.js +1 -0
- package/components/AssetEditorV2/components/SecondaryAssetSelect.d.ts +31 -0
- package/components/AssetEditorV2/components/SecondaryAssetSelect.d.ts.map +1 -0
- package/components/AssetEditorV2/components/SecondaryAssetSelect.js +1 -0
- package/components/AssetEditorV2/components/SelectItem.d.ts +10 -0
- package/components/AssetEditorV2/components/SelectItem.d.ts.map +1 -0
- package/components/AssetEditorV2/components/SelectItem.js +1 -0
- package/components/AssetEditorV2/components/index.d.ts +4 -0
- package/components/AssetEditorV2/components/index.d.ts.map +1 -0
- package/components/AssetEditorV2/constants.d.ts +5 -0
- package/components/AssetEditorV2/constants.d.ts.map +1 -0
- package/components/AssetEditorV2/constants.js +1 -0
- package/components/AssetEditorV2/effects/index.d.ts +27 -0
- package/components/AssetEditorV2/effects/index.d.ts.map +1 -0
- package/components/AssetEditorV2/effects/index.js +1 -0
- package/components/AssetEditorV2/index.d.ts +33 -0
- package/components/AssetEditorV2/index.d.ts.map +1 -0
- package/components/AssetEditorV2/index.js +1 -0
- package/components/AssetEditorV2/utils/index.d.ts +18 -0
- package/components/AssetEditorV2/utils/index.d.ts.map +1 -0
- package/components/AssetEditorV2/utils/index.js +1 -0
- package/components/BICOffsetPickerDialog/index.js +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/components/Chart/options.d.ts +3 -0
- package/components/Chart/options.d.ts.map +1 -1
- package/components/CollapsableSidebar.js +1 -1
- package/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/components/ColorPicker/ColorPicker.js +1 -1
- package/components/DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/AppSettingsDialog/RemoveAppButton.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterAppZoidComponent.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js +1 -1
- package/components/DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js +1 -1
- package/components/DocumentViewer/DocumentViewer.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/components/FeedItem/FeedItem.d.ts +5 -1
- package/components/FeedItem/FeedItem.d.ts.map +1 -1
- package/components/FeedItem/FeedItem.js +1 -1
- package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/icons/Critical.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/icons/Critical.js +1 -1
- package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/icons/Major.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/icons/Major.js +1 -1
- package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/icons/Minor.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/icons/Minor.js +1 -1
- package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/LessonsLearnedFeedItem/index.js +1 -1
- package/components/FeedItem/feedItemTypes/TracesMemoFeedItem.d.ts.map +1 -1
- package/components/FeedItem/feedItemTypes/TracesMemoFeedItem.js +1 -1
- package/components/KeyboardDateTimePicker.d.ts +11 -11
- package/components/KeyboardDateTimePicker.d.ts.map +1 -1
- package/components/KeyboardDateTimePicker.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/SidetrackSwitch.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Filter/SidetrackSwitch.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/components/OffsetWellPickerV4/OffsetWellPickerV4.js +1 -1
- package/components/OffsetWellPickerV4/components/Filter/Filter.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/MetricsSettingMenu.js +1 -1
- package/components/OffsetWellPickerV4/components/OffsetWellsTable/OffsetWellsTable.js +1 -1
- package/components/OffsetWellPickerV4/components/Toolbar/Toolbar.js +1 -1
- package/components/RealTimeValuesSidebar/RealTimeValuesBox/RealTimeBoxList.js +1 -1
- package/components/Search/Search.d.ts +28 -1
- package/components/Search/Search.d.ts.map +1 -1
- package/components/Search/Search.js +1 -1
- package/components/Search/components/Groups.js +1 -1
- package/components/Search/components/InputAdornmentLeft.js +1 -1
- package/components/Search/components/Paper.d.ts +2 -1
- package/components/Search/components/Paper.d.ts.map +1 -1
- package/components/Search/components/Paper.js +1 -1
- package/components/Search/styles.d.ts +1 -1
- package/components/Search/styles.d.ts.map +1 -1
- package/components/Search/styles.js +1 -1
- package/components/Select/index.d.ts.map +1 -1
- package/components/Select/index.js +1 -1
- package/components/SettingEditors/DropdownEditor/index.d.ts +5 -2
- package/components/SettingEditors/DropdownEditor/index.d.ts.map +1 -1
- package/components/SettingEditors/DropdownEditor/index.js +1 -1
- package/components/StatusBadge/components/DQAccordionDetailsContent.d.ts +1 -2
- package/components/StatusBadge/components/DQAccordionDetailsContent.d.ts.map +1 -1
- package/components/StatusBadge/components/DQAccordionDetailsContent.js +1 -1
- package/components/StatusBadge/components/DQAlertTooltip.d.ts +1 -2
- package/components/StatusBadge/components/DQAlertTooltip.d.ts.map +1 -1
- package/components/StatusBadge/components/DQAlertTooltip.js +1 -1
- package/components/StatusBadge/components/DQAlertsTooltip.d.ts +1 -2
- package/components/StatusBadge/components/DQAlertsTooltip.d.ts.map +1 -1
- package/components/StatusBadge/components/DQAlertsTooltip.js +1 -1
- package/components/StatusBadge/components/DQUnvalidatedContent.d.ts.map +1 -1
- package/components/StatusBadge/components/DQUnvalidatedContent.js +1 -1
- package/components/StatusBadge/constants.d.ts +2 -0
- package/components/StatusBadge/constants.d.ts.map +1 -1
- package/components/StatusBadge/constants.js +1 -1
- package/components/StatusBadge/styles.d.ts.map +1 -1
- package/components/StatusBadge/styles.js +1 -1
- package/components/StatusBadge/utils.d.ts.map +1 -1
- package/components/StatusBadge/utils.js +1 -1
- package/components/TextLink/index.js +1 -1
- package/components/TracesEditModal/TracesEditModal.d.ts.map +1 -1
- package/components/TracesEditModal/TracesEditModal.js +1 -1
- package/components/index.d.ts +2 -1
- package/components/index.js +1 -1
- package/constants/segment.d.ts +22 -2
- package/constants/segment.d.ts.map +1 -1
- package/constants/segment.js +1 -1
- package/effects/useWellnessAlerts.d.ts.map +1 -1
- package/effects/useWellnessAlerts.js +1 -1
- package/package.json +1 -1
- package/permissions/constants/index.d.ts +4 -4
- package/permissions/constants/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__assign as e}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as t,Fragment as r,jsxs as o}from"react/jsx-runtime";import{memo as i,useContext as n}from"react";import s from"react-draggable-list";import{makeStyles as p}from"@material-ui/core";import{Add as m}from"@material-ui/icons";import"../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../Modal/CorvaModal.js";import"uuid";import"../../IconMenu/index.js";import"../../StyledMenuItem/index.js";import"../../DevCenter/AppHeader/AppHeader.js";import"../../DevCenter/AppSideBar/AppSideBar.js";import"../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"classnames";import"lodash";import"../../Icons/AnnotationIcon.js";import"../../Annotations/components/AnnotationsList/index.js";import"../../Annotations/components/LastAnnotation/index.js";import"../../Annotations/AnnotationsContext.js";import"../../../utils/mobileDetect.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"../../../clients/jsonApi/index.js";import"../../../clients/subscriptions.js";import"../../../constants/goals.js";import"../../../constants/segment.js";import"../../../constants/alerts.js";import"../../../constants/apps.js";import"../../../constants/drillstring.js";import"../../../constants/completion.js";import"../../../constants/notifications.js";import"../../../constants/feed.js";import"../../../constants/bha.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";import"../../../utils/index.js";import"jsona";import"../../StatusBadge/constants.js";import"../../HelpCenter/HelpCenterIcon.js";import"../../DevCenter/AppContext.js";import"../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../DevCenter/NavigationBar/NavigationBar.js";import"../../DevCenter/SideBar/SideBar.js";import"../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../AssetEditor/index.js";import"../../AppVersionsSelect/AppVersionsSelect.js";import"../../LoadingIndicator/LoadingIndicator.js";import"../../Typography.js";import"../RealTimeSidebar.js";import"../../CollapsableSidebar.js";import"../../DateTimePicker/index.js";import"../../DatePicker/index.js";import"../../ErrorBoundary/ErrorBoundary.js";import"../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../SlateFormattedText/SlateFormattedText.js";import"../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../EmptyState/EmptyState.js";import"../../ParameterCharts/ParameterCharts.js";import"../../ParameterCharts/AddEditTrack.js";import"../../ChartActionsList/ChartActionsList.js";import"../../CopyToClipboard/CopyToClipboard.js";import"../../AssetEditor/AssetEditorAutocomplete.js";import"../../AssetEditor/SingleAssetEditor.js";import"../../SettingEditors/ColorEditor/index.js";import"../../SettingEditors/DropdownEditor/index.js";import"../../SettingEditors/RadioEditor/index.js";import"../../SwitchControl/index.js";import"../../ColorPicker/ColorPicker.js";import"../../Chart/components/ChartButton.js";import"../../Chart/components/ChartButtons.js";import"../../Chart/components/ChartWrapper.js";import"../../Chart/components/AxisDropdown.js";import"../../Chart/components/buttons/DragToZoomButton.js";import"../../Chart/components/buttons/ZoomInButton.js";import"../../Chart/components/buttons/ZoomOutButton.js";import"../../Chart/components/buttons/PanButton.js";import"../../Chart/components/buttons/ResetZoomButton.js";import"../../Chart/components/buttons/HideAxesButton.js";import"../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../TruncatedText/index.js";import"../../RangeSlider/RangeSlider.js";import"../../AdvancedSlider/AdvancedSlider.js";import"../../Breadcrumbs/index.js";import"../../VirtualizedTable/index.js";import"../../EmptyView/EmptyView.js";import"../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../Button/index.js";import"../../ContextMenuItem/index.js";import"../../FolderMenuItem/index.js";import"../../EditableItem/EditableItem/index.js";import"../../EditableItem/EditableItemWithBadge/index.js";import"../../Checkbox/index.js";import"../../FolderMenuItemWithLinks/index.js";import a from"../../IconButton/index.js";import"../../TextField/index.js";import"../../Chip/index.js";import"../../Counter/index.js";import"../../AnchorsList/AnchorsList.js";import"../../Select/index.js";import"../../CustomSelect/index.js";import"../../Tabs/Tabs.js";import"../../Tabs/Tab.js";import"../../ResizableTable/ResizableTable.js";import"@material-ui/icons/Check";import"@material-ui/icons/Close";import"@material-ui/icons/Edit";import"@material-ui/icons/Delete";import"../../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../../GradientManager/GradientPreview/GradientPreview.js";import"../../GradientManager/GradientSelect.styles.js";import"../../GradientPicker/GradientPicker.js";import"../../GradientManager/GradientManager.styles.js";import"../../Drillstring/BHASchematic.js";import"../../Drillstring/BHATable/index.js";import"../../Drillstring/BHAComponentIcon.js";import"../../Drillstring/BHAComponentDetail/index.js";import"../../Drillstring/BHATileIcon.js";import"../../Drillstring/BHATile/BHATile.js";import"../../Drillstring/BHAList/BHAList.js";import"../../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../../Casing/CasingTable/index.js";import"../../Casing/CasingComponentIcon.js";import"../../Casing/CasingTileIcon.js";import"../../Casing/CasingTableV2/CasingTableV2.js";import"../../Casing/CasingTile/CasingTile.js";import"../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../WellSummary/WellSummaryItemLabel.js";import"../../WellSummary/WellSummaryItemTitle.js";import"../../WellSummary/WellSummaryItemValue.js";import"../../WellSummary/ActivitySummaryChart.js";import"../../WellSummary/FracWirelineTimeChart.js";import"../../BICOffsetPickerDialog/index.js";import"../../OffsetWellButton/OffsetWellButton.js";import"../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../OffsetWellPickerV3/index.js";import"../../OffsetWellChips/Chip.js";import"../../OffsetWellChips/ChipsContainer.js";import"../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../Notifications/Toast.js";import"../../Toaster/Toaster.js";import"../../ConfirmationDialog.js";import"../../TextLink/index.js";import"../../Avatar/index.js";import"../../Template/TemplatePopover/index.js";import"../../Template/TemplateSharingDialog/index.js";import"../../MenuItem/index.js";import"../../PadModeSelect/PadModeSelect.js";import"../../PinnableFilters/PinnableFilters.js";import"../../HeaderLayout/HeaderLayout.js";import"../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../PadOffsetsPicker/OffsetAssetChip.js";import"../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../PadOffsetsPicker/StagesSelector.js";import"../../Table/TableToolbar/TableToolbar.js";import"../../Table/TableContainer/TableContainer.js";import"../../Table/TableCell/TableCell.js";import"../../Tooltip/ScrollableTooltip.js";import"../../PriceInput/PriceInput.js";import"../../LabelsCounter/LabelsCounter.js";import"../../Stepper/Step.js";import"../../Stepper/StepsWrapper.js";import"../../Stepper/Stepper.js";import"../../Comment/CommentIcon/index.js";import"../../FilesLoader/FilesLoader.js";import"../../FilesLoader/Icons/FileIcon.js";import"../../SearchInput/index.js";import"../../FeedItem/FeedItem.js";import"../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../PostInput/PostInput.js";import"../../KeyboardDateTimePicker.js";import"../../AddComment/Popover.js";import"../../AddComment/Popup.js";import"../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../StageDesignVActual/ComparisonHeader.js";import"../../StageDesignVActual/ComparisonRow.js";import"../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../EmbeddedApp/EmbeddedApp.js";import"../../Autocomplete/Autocomplete.js";import"../../DocumentViewer/DocumentViewer.js";import"../../ColorPickerPalette/ColorPickerPalette.js";import"../../Search/Search.js";import"../../Search/components/Listbox.js";import"../../Search/components/Paper.js";import"../../Search/components/RecentSearches.js";import"../../Search/components/InputAdornmentLeft.js";import"../../Search/components/Groups.js";import"../../StatusBadge/index.js";import"../../Attachment/index.js";import"../../EmojiIconButton.js";import"../../FileUploadIconButton.js";import"../../FilePreview/index.js";import"../../FailedFileUploading.js";import"../../UserMention/index.js";import"../../CommentsInfo/index.js";import"../../CommentInput/index.js";import"../../Comment/index.js";import"../../CommentLoader.js";import"../../AssetNameLabel/AssetStatusBadge.js";import l from"./RealTimeBox.js";import d from"../RealTimeSidebarContext.js";import{ORIENTATIONS as j}from"../enums.js";var c=p((function(){return{boxListVertical:{padding:"10px 0 16px",overflowX:"hidden"},rtBoxListHorizontal:{display:"flex",flexWrap:"wrap"},cTpRtBoxAddButtonContainer:{marginTop:8,textAlign:"center"}}}));var C=i((function(i){var p=i.sourceArray,C=i.findSource,u=c(),A=n(d),D=A.onAppSettingChange,g=A.appSettings,v=A.assetKey,b=A.orientation,x=A.realTimeTypes,S=A.setting,P=A.handleOpenCloseDialog;return t(r,{children:b===j.vertical?o("div",e({className:u.boxListVertical},{children:[t(s,{list:p,itemKey:function(e){return e.key},template:l,padding:0,unsetZIndex:!0,container:function(){return document.body},onMoveEnd:function(t){var r,o=t.map((function(e){return e.key}));D("rtValuesSetting",e(e({},g.rtValuesSetting),((r={})[v]=o,r)))}}),t("div",e({className:u.cTpRtBoxAddButtonContainer},{children:t(a,e({color:"primary",tooltipProps:{title:"Add"},onClick:P},{children:t(m,{})}))}))]})):t("div",e({className:u.rtBoxListHorizontal},{children:S.map((function(e){return t(l,{isDraggable:!1,item:C(e,x)},"".concat(e))}))}))})}));export{C as default};
|
|
1
|
+
import{__assign as e}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as t,Fragment as r,jsxs as o}from"react/jsx-runtime";import{memo as i,useContext as n}from"react";import s from"react-draggable-list";import{makeStyles as p}from"@material-ui/core";import{Add as m}from"@material-ui/icons";import"../../DevCenter/DevCenterAppContainer/components/AppActions/AppActions.css.js";import"../../DevCenter/DevCenterAppContainer/components/AppSettingsDialog/AppSettingsDialog.js";import"../../DevCenter/DevCenterAppContainer/components/AnnotationsButton/AnnotationsButton.js";import"../../DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js";import"../../DevCenter/DevCenterAppContainer/components/FullscreenButton/FullscreenButton.js";import"../../DevCenter/DevCenterAppContainer/components/AppInfoMessage/AppInfoMessage.js";import"../../DevCenter/DevCenterAppContainer/components/DevCenterAppView/DevCenterAppView.js";import"../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import"../../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import"../../DevCenter/DevCenterAppContainer/components/IsInsideDcAppProvider/IsInsideDcAppProvider.js";import"../../Modal/CorvaModal.js";import"uuid";import"../../IconMenu/index.js";import"../../StyledMenuItem/index.js";import"../../DevCenter/AppHeader/AppHeader.js";import"../../DevCenter/AppSideBar/AppSideBar.js";import"../../DevCenter/AppsDataProvider/AppsDataProvider.js";import"@babel/runtime/helpers/defineProperty";import"@babel/runtime/helpers/slicedToArray";import"classnames";import"lodash";import"../../Icons/AnnotationIcon.js";import"../../Annotations/components/AnnotationsList/index.js";import"../../Annotations/components/LastAnnotation/index.js";import"../../Annotations/AnnotationsContext.js";import"../../../utils/mobileDetect.js";import"@babel/runtime/helpers/asyncToGenerator";import"@babel/runtime/regenerator";import"querystring";import"uuid/v1";import"../../../clients/jsonApi/index.js";import"../../../clients/subscriptions.js";import"../../../constants/goals.js";import"../../../constants/segment.js";import"../../../constants/alerts.js";import"../../../constants/apps.js";import"../../../constants/drillstring.js";import"../../../constants/completion.js";import"../../../constants/notifications.js";import"../../../constants/feed.js";import"../../../constants/bha.js";import"../../../utils/env.js";import"../../GradientManager/configuration/constants.js";import"../../../utils/index.js";import"jsona";import"../../StatusBadge/constants.js";import"../../HelpCenter/HelpCenterIcon.js";import"../../DevCenter/AppContext.js";import"../../DevCenter/DevCenterAppContainer/DevCenterAppContainer.css.js";import"../../DevCenter/DevCenterAppContainer/components/RestoreAppSizeButton/index.js";import"../../DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.css.js";import"../../DevCenter/DevCenterRouterContext/DevCenterRouterContext.js";import"../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import"@babel/runtime/helpers/objectWithoutProperties";import"react-router";import"../../DevCenter/NavigationBar/NavigationBar.js";import"../../DevCenter/SideBar/SideBar.js";import"../../DevCenter/AppSettingsPopover/AppSettingsPopover.js";import"../../DevCenter/AppFilterPanelLayout/AppFilterPanelLayout.js";import"../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedAppPage.js";import"../../DevCenter/IsolatedDevCenterAppContainer/DevCenterIsolatedApp.js";import"../../AssetEditor/index.js";import"../../AssetEditorV2/index.js";import"../../AppVersionsSelect/AppVersionsSelect.js";import"../../LoadingIndicator/LoadingIndicator.js";import"../../Typography.js";import"../RealTimeSidebar.js";import"../../CollapsableSidebar.js";import"../../DateTimePicker/index.js";import"../../DatePicker/index.js";import"../../ErrorBoundary/ErrorBoundary.js";import"../../ErrorBoundary/DevCenterAppErrorView/DevCenterAppErrorView.js";import"../../SlateFormattedText/SlateFormattedText.js";import"../../SlateFormattedText/RenderElements.js";import"@babel/runtime/helpers/typeof";import"slate";import"../../EmptyState/EmptyState.js";import"../../ParameterCharts/ParameterCharts.js";import"../../ParameterCharts/AddEditTrack.js";import"../../ChartActionsList/ChartActionsList.js";import"../../CopyToClipboard/CopyToClipboard.js";import"../../AssetEditor/AssetEditorAutocomplete.js";import"../../AssetEditor/SingleAssetEditor.js";import"../../SettingEditors/ColorEditor/index.js";import"../../SettingEditors/DropdownEditor/index.js";import"../../SettingEditors/RadioEditor/index.js";import"../../SwitchControl/index.js";import"../../ColorPicker/ColorPicker.js";import"../../Chart/components/ChartButton.js";import"../../Chart/components/ChartButtons.js";import"../../Chart/components/ChartWrapper.js";import"../../Chart/components/AxisDropdown.js";import"../../Chart/components/buttons/DragToZoomButton.js";import"../../Chart/components/buttons/ZoomInButton.js";import"../../Chart/components/buttons/ZoomOutButton.js";import"../../Chart/components/buttons/PanButton.js";import"../../Chart/components/buttons/ResetZoomButton.js";import"../../Chart/components/buttons/HideAxesButton.js";import"../../ColorPicker/PaletteChromePicker/PaletteChromePicker.js";import"../../TruncatedText/index.js";import"../../RangeSlider/RangeSlider.js";import"../../AdvancedSlider/AdvancedSlider.js";import"../../Breadcrumbs/index.js";import"../../VirtualizedTable/index.js";import"../../EmptyView/EmptyView.js";import"../../EmptyView/EmptyAppView/EmptyAppView.js";import"../../Button/index.js";import"../../ContextMenuItem/index.js";import"../../FolderMenuItem/index.js";import"../../EditableItem/EditableItem/index.js";import"../../EditableItem/EditableItemWithBadge/index.js";import"../../Checkbox/index.js";import"../../FolderMenuItemWithLinks/index.js";import a from"../../IconButton/index.js";import"../../TextField/index.js";import"../../Chip/index.js";import"../../Counter/index.js";import"../../AnchorsList/AnchorsList.js";import"../../Select/index.js";import"../../CustomSelect/index.js";import"../../Tabs/Tabs.js";import"../../Tabs/Tab.js";import"../../ResizableTable/ResizableTable.js";import"@material-ui/icons/Check";import"@material-ui/icons/Close";import"@material-ui/icons/Edit";import"@material-ui/icons/Delete";import"../../GradientManager/GradientList.js";import"@material-ui/icons/AddCircle";import"../../GradientManager/GradientPreview/GradientPreview.js";import"../../GradientManager/GradientSelect.styles.js";import"../../GradientPicker/GradientPicker.js";import"../../GradientManager/GradientManager.styles.js";import"../../Drillstring/BHASchematic.js";import"../../Drillstring/BHATable/index.js";import"../../Drillstring/BHAComponentIcon.js";import"../../Drillstring/BHAComponentDetail/index.js";import"../../Drillstring/BHATileIcon.js";import"../../Drillstring/BHATile/BHATile.js";import"../../Drillstring/BHAList/BHAList.js";import"../../Drillstring/BHAComponentsTable/BHAComponentsTable.js";import"../../Casing/CasingTable/index.js";import"../../Casing/CasingComponentIcon.js";import"../../Casing/CasingTileIcon.js";import"../../Casing/CasingTableV2/CasingTableV2.js";import"../../Casing/CasingTile/CasingTile.js";import"../../DisabledSettingsMessage/DisabledSettingsMessage.js";import"../../WellSummary/WellSummaryItemLabel.js";import"../../WellSummary/WellSummaryItemTitle.js";import"../../WellSummary/WellSummaryItemValue.js";import"../../WellSummary/ActivitySummaryChart.js";import"../../WellSummary/FracWirelineTimeChart.js";import"../../BICOffsetPickerDialog/index.js";import"../../OffsetWellButton/OffsetWellButton.js";import"../../OffsetWellPickerV2/OffsetWellPickerDialog.js";import"../../OffsetWellPickerV3/index.js";import"../../OffsetWellChips/Chip.js";import"../../OffsetWellChips/ChipsContainer.js";import"../../OffsetWellPickerV4/OffsetWellPickerV4.js";import"../../OffsetWellMap/OffsetWellMap.js";import"@material-ui/core/Snackbar";import"../../Notifications/Toast.js";import"../../Toaster/Toaster.js";import"../../ConfirmationDialog.js";import"../../TextLink/index.js";import"../../Avatar/index.js";import"../../Template/TemplatePopover/index.js";import"../../Template/TemplateSharingDialog/index.js";import"../../MenuItem/index.js";import"../../PadModeSelect/PadModeSelect.js";import"../../PinnableFilters/PinnableFilters.js";import"../../HeaderLayout/HeaderLayout.js";import"../../PadOffsetsPicker/PadOffsetsPicker.js";import"../../PadOffsetsPicker/OffsetAssetChip.js";import"../../PadOffsetsPicker/OffsetAssetsListExpander.js";import"../../PadOffsetsPicker/StagesSelector.js";import"../../Table/TableToolbar/TableToolbar.js";import"../../Table/TableContainer/TableContainer.js";import"../../Table/TableCell/TableCell.js";import"../../Tooltip/ScrollableTooltip.js";import"../../PriceInput/PriceInput.js";import"../../LabelsCounter/LabelsCounter.js";import"../../Stepper/Step.js";import"../../Stepper/StepsWrapper.js";import"../../Stepper/Stepper.js";import"../../Comment/CommentIcon/index.js";import"../../FilesLoader/FilesLoader.js";import"../../FilesLoader/Icons/FileIcon.js";import"../../SearchInput/index.js";import"../../FeedItem/FeedItem.js";import"../../FeedItem/FeedItemEditProvider/FeedItemEditProvider.js";import"../../PostInput/PostInput.js";import"../../KeyboardDateTimePicker.js";import"../../AddComment/Popover.js";import"../../AddComment/Popup.js";import"../../StageDesignVActual/ComparisonBar/ComparisonBar.js";import"../../StageDesignVActual/ElementsComparison/ElementsComparison.js";import"../../StageDesignVActual/ComparisonHeader.js";import"../../StageDesignVActual/ComparisonRow.js";import"../../EmbeddedApp/DevCenterEmbeddedApp.js";import"../../EmbeddedApp/EmbeddedApp.js";import"../../Autocomplete/Autocomplete.js";import"../../DocumentViewer/DocumentViewer.js";import"../../ColorPickerPalette/ColorPickerPalette.js";import"../../Search/Search.js";import"../../Search/components/Listbox.js";import"../../Search/components/Paper.js";import"../../Search/components/RecentSearches.js";import"../../Search/components/InputAdornmentLeft.js";import"../../Search/components/Groups.js";import"../../StatusBadge/index.js";import"../../Attachment/index.js";import"../../EmojiIconButton.js";import"../../FileUploadIconButton.js";import"../../FilePreview/index.js";import"../../FailedFileUploading.js";import"../../UserMention/index.js";import"../../CommentsInfo/index.js";import"../../CommentInput/index.js";import"../../Comment/index.js";import"../../CommentLoader.js";import"../../AssetNameLabel/AssetStatusBadge.js";import l from"./RealTimeBox.js";import d from"../RealTimeSidebarContext.js";import{ORIENTATIONS as j}from"../enums.js";var c=p((function(){return{boxListVertical:{padding:"10px 0 16px",overflowX:"hidden"},rtBoxListHorizontal:{display:"flex",flexWrap:"wrap"},cTpRtBoxAddButtonContainer:{marginTop:8,textAlign:"center"}}}));var C=i((function(i){var p=i.sourceArray,C=i.findSource,u=c(),A=n(d),D=A.onAppSettingChange,g=A.appSettings,v=A.assetKey,b=A.orientation,x=A.realTimeTypes,S=A.setting,P=A.handleOpenCloseDialog;return t(r,{children:b===j.vertical?o("div",e({className:u.boxListVertical},{children:[t(s,{list:p,itemKey:function(e){return e.key},template:l,padding:0,unsetZIndex:!0,container:function(){return document.body},onMoveEnd:function(t){var r,o=t.map((function(e){return e.key}));D("rtValuesSetting",e(e({},g.rtValuesSetting),((r={})[v]=o,r)))}}),t("div",e({className:u.cTpRtBoxAddButtonContainer},{children:t(a,e({color:"primary",tooltipProps:{title:"Add"},onClick:P},{children:t(m,{})}))}))]})):t("div",e({className:u.rtBoxListHorizontal},{children:S.map((function(e){return t(l,{isDraggable:!1,item:C(e,x)},"".concat(e))}))}))})}));export{C as default};
|
|
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
|
|
3
3
|
interface SearchProps extends PropTypes.InferProps<typeof searchPropTypes> {
|
|
4
4
|
}
|
|
5
5
|
declare const Search: {
|
|
6
|
-
({ AutocompleteProps, value, onChange, onInputChange, loading, options, optionSize, placeholder, defaultSelectedGroup, disabled, multiple, groups, GroupsComponent, recentSearchesMaxCount, dataStorageKey, RecentSearchesComponent, dataStorage, TextFieldProps, truncateSettings, ...props }: SearchProps): JSX.Element;
|
|
6
|
+
({ classes, AutocompleteProps, value, onChange, onInputChange, loading, options, optionSize, placeholder, defaultSelectedGroup, onGroupChange, disabled, multiple, groups, GroupsComponent, recentSearchesMaxCount, dataStorageKey, RecentSearchesComponent, dataStorage, getOptionLabel, TextFieldProps, truncateSettings, renderCustomOption, ...props }: SearchProps): JSX.Element;
|
|
7
7
|
propTypes: {
|
|
8
8
|
AutocompleteProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
9
9
|
forcePopupIcon: PropTypes.Requireable<boolean>;
|
|
@@ -12,6 +12,7 @@ declare const Search: {
|
|
|
12
12
|
allChecked: PropTypes.Requireable<boolean>;
|
|
13
13
|
TextFieldProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
14
14
|
label: PropTypes.Requireable<string>;
|
|
15
|
+
endAdornment: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
15
16
|
}>>;
|
|
16
17
|
truncateSettings: PropTypes.Requireable<PropTypes.InferProps<{
|
|
17
18
|
maxChars: PropTypes.Requireable<number>;
|
|
@@ -21,6 +22,8 @@ declare const Search: {
|
|
|
21
22
|
value: PropTypes.Validator<PropTypes.InferProps<{}>[]>;
|
|
22
23
|
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
23
24
|
onInputChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
25
|
+
getOptionLabel: PropTypes.Requireable<(...args: any[]) => any>;
|
|
26
|
+
onGroupChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
24
27
|
loading: PropTypes.Requireable<boolean>;
|
|
25
28
|
disabled: PropTypes.Requireable<boolean>;
|
|
26
29
|
multiple: PropTypes.Requireable<boolean>;
|
|
@@ -29,6 +32,12 @@ declare const Search: {
|
|
|
29
32
|
InputProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
30
33
|
startAdornment: PropTypes.Requireable<number>;
|
|
31
34
|
}>>;
|
|
35
|
+
classes: PropTypes.Requireable<PropTypes.InferProps<{
|
|
36
|
+
popper: PropTypes.Requireable<string>;
|
|
37
|
+
listbox: PropTypes.Requireable<string>;
|
|
38
|
+
popupIndicator: PropTypes.Requireable<string>;
|
|
39
|
+
popupIndicatorOpen: PropTypes.Requireable<string>;
|
|
40
|
+
}>>;
|
|
32
41
|
placeholder: PropTypes.Requireable<string>;
|
|
33
42
|
defaultSelectedGroup: PropTypes.Requireable<PropTypes.InferProps<{
|
|
34
43
|
id: PropTypes.Requireable<string>;
|
|
@@ -40,12 +49,17 @@ declare const Search: {
|
|
|
40
49
|
dataStorage: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
41
50
|
groups: PropTypes.Requireable<any[]>;
|
|
42
51
|
GroupsComponent: PropTypes.Requireable<PropTypes.ReactComponentLike>;
|
|
52
|
+
renderCustomOption: PropTypes.Requireable<(...args: any[]) => any>;
|
|
43
53
|
};
|
|
44
54
|
defaultProps: {
|
|
45
55
|
InputProps: any;
|
|
46
56
|
onInputChange: any;
|
|
57
|
+
onGroupChange: () => void;
|
|
58
|
+
getOptionLabel: (option: any) => any;
|
|
59
|
+
renderCustomOption: any;
|
|
47
60
|
options: any[];
|
|
48
61
|
groups: any[];
|
|
62
|
+
classes: {};
|
|
49
63
|
disabled: boolean;
|
|
50
64
|
multiple: boolean;
|
|
51
65
|
loading: boolean;
|
|
@@ -55,6 +69,9 @@ declare const Search: {
|
|
|
55
69
|
dataStorageKey: string;
|
|
56
70
|
dataStorage: Storage;
|
|
57
71
|
RecentSearchesComponent: any;
|
|
72
|
+
TextFieldProps: {
|
|
73
|
+
endAdornment: any;
|
|
74
|
+
};
|
|
58
75
|
GroupsComponent: any;
|
|
59
76
|
truncateSettings: {
|
|
60
77
|
maxChars: number;
|
|
@@ -71,6 +88,7 @@ declare const searchPropTypes: {
|
|
|
71
88
|
allChecked: PropTypes.Requireable<boolean>;
|
|
72
89
|
TextFieldProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
73
90
|
label: PropTypes.Requireable<string>;
|
|
91
|
+
endAdornment: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
74
92
|
}>>;
|
|
75
93
|
truncateSettings: PropTypes.Requireable<PropTypes.InferProps<{
|
|
76
94
|
maxChars: PropTypes.Requireable<number>;
|
|
@@ -80,6 +98,8 @@ declare const searchPropTypes: {
|
|
|
80
98
|
value: PropTypes.Validator<PropTypes.InferProps<{}>[]>;
|
|
81
99
|
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
82
100
|
onInputChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
101
|
+
getOptionLabel: PropTypes.Requireable<(...args: any[]) => any>;
|
|
102
|
+
onGroupChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
83
103
|
loading: PropTypes.Requireable<boolean>;
|
|
84
104
|
disabled: PropTypes.Requireable<boolean>;
|
|
85
105
|
multiple: PropTypes.Requireable<boolean>;
|
|
@@ -88,6 +108,12 @@ declare const searchPropTypes: {
|
|
|
88
108
|
InputProps: PropTypes.Requireable<PropTypes.InferProps<{
|
|
89
109
|
startAdornment: PropTypes.Requireable<number>;
|
|
90
110
|
}>>;
|
|
111
|
+
classes: PropTypes.Requireable<PropTypes.InferProps<{
|
|
112
|
+
popper: PropTypes.Requireable<string>;
|
|
113
|
+
listbox: PropTypes.Requireable<string>;
|
|
114
|
+
popupIndicator: PropTypes.Requireable<string>;
|
|
115
|
+
popupIndicatorOpen: PropTypes.Requireable<string>;
|
|
116
|
+
}>>;
|
|
91
117
|
placeholder: PropTypes.Requireable<string>;
|
|
92
118
|
defaultSelectedGroup: PropTypes.Requireable<PropTypes.InferProps<{
|
|
93
119
|
id: PropTypes.Requireable<string>;
|
|
@@ -99,6 +125,7 @@ declare const searchPropTypes: {
|
|
|
99
125
|
dataStorage: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
100
126
|
groups: PropTypes.Requireable<any[]>;
|
|
101
127
|
GroupsComponent: PropTypes.Requireable<PropTypes.ReactComponentLike>;
|
|
128
|
+
renderCustomOption: PropTypes.Requireable<(...args: any[]) => any>;
|
|
102
129
|
};
|
|
103
130
|
export default Search;
|
|
104
131
|
//# sourceMappingURL=Search.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../../src/components/Search/Search.tsx"],"names":[],"mappings":";AAEA,OAAO,SAAS,MAAM,YAAY,CAAC;AAyBnC,UAAU,WAAY,SAAQ,SAAS,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC;CAAG;AAE7E,QAAA,MAAM,MAAM;
|
|
1
|
+
{"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../../src/components/Search/Search.tsx"],"names":[],"mappings":";AAEA,OAAO,SAAS,MAAM,YAAY,CAAC;AAyBnC,UAAU,WAAY,SAAQ,SAAS,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC;CAAG;AAE7E,QAAA,MAAM,MAAM;gWAyBT,WAAW,GAAG,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmS3B,CAAC;AAEF,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CpB,CAAC;AAiCF,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__rest as e,__assign as
|
|
1
|
+
import{__rest as e,__assign as n}from'./../../ext-esm/tslib/tslib.es6.js';import{jsx as o,jsxs as t,Fragment as r}from"react/jsx-runtime";import{useState as l,useRef as i,useCallback as a,useEffect as p,cloneElement as s}from"react";import u from"classnames";import c from"prop-types";import{isEmpty as d,debounce as m}from"lodash";import{Autocomplete as g}from"@material-ui/lab";import{Chip as h,TextField as f,InputAdornment as C,CircularProgress as b,FormControlLabel as v,Checkbox as S}from"@material-ui/core";import{CheckBoxOutlineBlank as I,CheckBox as P,Close as x}from"@material-ui/icons";import O from"../IconButton/index.js";import y from"./components/Listbox.js";import A from"./components/Paper.js";import"./components/RecentSearches.js";import"./components/InputAdornmentLeft.js";import"./components/Groups.js";import{truncateString as G}from"./utils/truncate.js";import N from"./styles.js";var k=o(I,{style:{fontSize:20}}),L=o(P,{style:{fontSize:20}}),R=function(c){var I=c.classes,P=c.AutocompleteProps,R=void 0===P?{}:P,j=c.value,T=c.onChange,F=c.onInputChange,z=c.loading,M=c.options,D=c.optionSize,K=c.placeholder,B=c.defaultSelectedGroup,E=c.onGroupChange,q=c.disabled,V=c.multiple,W=c.groups,w=c.GroupsComponent,H=c.recentSearchesMaxCount,_=c.dataStorageKey,J=c.RecentSearchesComponent,Q=c.dataStorage,U=c.getOptionLabel,X=c.TextFieldProps,Y=c.truncateSettings,Z=c.renderCustomOption,$=e(c,["classes","AutocompleteProps","value","onChange","onInputChange","loading","options","optionSize","placeholder","defaultSelectedGroup","onGroupChange","disabled","multiple","groups","GroupsComponent","recentSearchesMaxCount","dataStorageKey","RecentSearchesComponent","dataStorage","getOptionLabel","TextFieldProps","truncateSettings","renderCustomOption"]),ee=l(""),ne=ee[0],oe=ee[1],te=l(""),re=te[0],le=te[1],ie=l(!1),ae=ie[0],pe=ie[1],se=l(B),ue=se[0],ce=se[1],de=i(),me=N(),ge={popper:u(me.popper,I.popper),listbox:u(me.listbox,I.listbox),popupIndicator:u(me.popupIndicator,I.popupIndicator),popupIndicatorOpen:u(me.popupIndicatorOpen,I.popupIndicatorOpen)},he=(null==M?void 0:M.some((function(e){return e.group})))||!d(W),fe=a(m((function(e){return le(e)}),500),[]),Ce=function(e){var n=W.find((function(n){return n.id===e}));oe(""),ce(n)},be=function(){ce(null)},ve=function(e){de.current.focus(),oe(e)};p((function(){ae&&de.current.focus()}));var Se=null==M?void 0:M.sort((function(e,n){var o,t;return null===(o=n.group)||void 0===o?void 0:o.toString().localeCompare(null===(t=e.group)||void 0===t?void 0:t.toString())})),Ie=d(ue)?Se:null==M?void 0:M.filter((function(e){return e.group===ue.name})),Pe=V&&(null==Ie?void 0:Ie.length)===(null==j?void 0:j.length),xe=function(){return oe(""),R.getOptionDisabled&&Pe?T(null,[M[M.length-1]]):T(null,Pe?[]:Ie)};p((function(){fe(ne),F&&F(ne)}),[ne]),p((function(){E(ue),T(null,[])}),[ue]);var Oe=function(e,n){"blur"!==n&&pe(!1)},ye=function(){return o(v,{className:me.selectAllCheckbox,onClick:xe,control:o(S,{icon:k,style:{fontSize:20},indeterminate:!Pe,checkedIcon:L,checked:!0,inputProps:{"aria-label":"All"}}),label:"All"})},Ae=a((function(e){return o(A,n({},e,{loading:z,AllSelectComponent:V&&!d(Ie)&&o(ye,{}),isEmptyOptions:d(Ie),GroupsComponent:!ue&&he&&w&&o(w,{onGroupClick:Ce,groups:W}),RecentSearchesComponent:J&&o(J,{dataStorage:Q,dataStorageKey:_,maxCount:H,isHidden:!d(ne),onInputChange:function(e){return oe(e)},inputValue:re}),onOutsideClick:Oe,onRecentSearchClick:ve}))}),[ue,z,he,ne,Pe,re]);return o(g,n({},$,{onOpen:function(){pe(!0)},open:ae,onChange:function(e,n){oe(""),T(e,n)},forcePopupIcon:R.forcePopupIcon,fullWidth:!0,disabled:q,onClose:Oe,value:j,classes:ge,renderInput:function(e){var l,i,a,p,c,m=(null===(p=null===(a=null===(i=e.InputProps.endAdornment)||void 0===i?void 0:i.props)||void 0===a?void 0:a.children)||void 0===p?void 0:p.length)>1?s(e.InputProps.endAdornment,{children:e.InputProps.endAdornment.props.children.slice(1)}):e.InputProps.endAdornment;return o(f,n({},e,X,{inputRef:de,placeholder:K,classes:{root:me.searchInput},InputProps:n(n(n({classes:{root:me.textField}},e.InputProps),$.InputProps),{startAdornment:t(r,{children:[null===(c=$.InputProps)||void 0===c?void 0:c.startAdornment,ue&&o(h,{className:me.selectedGroup,"data-not-migrated-MuiChip":!0,variant:"outlined",label:t("div",n({className:me.selectedGroupLabel},{children:[ue.name,o(x,{id:"removeGroupIcon",className:me.removeIcon,onClick:be})]}))},ue.id),V&&!d(j)&&o("div",n({className:me.selectedLabel},{children:Pe?"All":"".concat(null==j?void 0:j.length," Selected")}))]}),endAdornment:t(r,{children:[t(C,n({className:u((l={},l[me.removeIconWithDropdown]=R.forcePopupIcon,l)),position:"end"},{children:[X.endAdornment,z&&o(b,{color:"primary",size:20}),ne&&o(O,n({size:"small",className:me.iconButton,onClick:function(){T(null,[]),oe("")},tooltipProps:{title:"Clear"}},{children:o(x,{className:me.closeIcon})}))]})),R.forcePopupIcon&&m]})})}))},loading:z,options:Ie,renderGroup:function(e){var r=e.key,l=e.group,i=e.children;return!l||!d(ue)&&V?i:t("div",n({className:me.group},{children:[o(h,{"data-not-migrated-MuiChip":!0,className:me.groupChip,variant:"outlined",label:l},r),i]}))},disableCloseOnSelect:V,multiple:V,renderOption:V?function(e,r){var l=e.label,i=e.id,a=r.selected;return t("div",n({className:u(me.option,D)},{children:[o(S,{disableRipple:!0,icon:k,className:me.checkbox,checkedIcon:L,checked:a}),G(l,Y)]}),i)}:Z,groupBy:he&&function(e){return e.group},PaperComponent:Ae,ListboxComponent:y,inputValue:ne,getOptionLabel:U,getOptionDisabled:R.getOptionDisabled,onInputChange:function(e,n){oe((null==e?void 0:e.target.value)||(null==e?void 0:e.target.innerText)||n)},loadingText:o("div",n({className:me.label},{children:"Loading ..."})),noOptionsText:o("div",n({className:me.label},{children:"No Options"}))}))},j={AutocompleteProps:c.shape({forcePopupIcon:c.bool,getOptionDisabled:c.func}),allChecked:c.bool,TextFieldProps:c.shape({label:c.string,endAdornment:c.node}),truncateSettings:c.shape({maxChars:c.number,charsNumFromStart:c.number,charsNumFromEnd:c.number}),value:c.arrayOf(c.shape({})).isRequired,onChange:c.func.isRequired,onInputChange:c.func,getOptionLabel:c.func,onGroupChange:c.func,loading:c.bool,disabled:c.bool,multiple:c.bool,options:c.array,optionSize:c.string,InputProps:c.shape({startAdornment:c.number}),classes:c.shape({popper:c.string,listbox:c.string,popupIndicator:c.string,popupIndicatorOpen:c.string}),placeholder:c.string,defaultSelectedGroup:c.shape({id:c.string,name:c.string}),RecentSearchesComponent:c.elementType,recentSearchesMaxCount:c.number,dataStorageKey:c.string,dataStorage:c.shape({}),groups:c.array,GroupsComponent:c.elementType,renderCustomOption:c.func};R.propTypes=j,R.defaultProps={InputProps:null,onInputChange:null,onGroupChange:function(){},getOptionLabel:function(e){return e.label||""},renderCustomOption:null,options:[],groups:[],classes:{},disabled:!1,multiple:!1,loading:!1,placeholder:"Search...",defaultSelectedGroup:null,recentSearchesMaxCount:3,dataStorageKey:"Search:recentSearches",dataStorage:sessionStorage,RecentSearchesComponent:null,TextFieldProps:{endAdornment:null},GroupsComponent:null,truncateSettings:{maxChars:22,charsNumFromStart:9,charsNumFromEnd:9}};export{R as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"prop-types";import{makeStyles as i}from"@material-ui/core";import"react/jsx-runtime";i((function(r){var i=r.palette;return{selectorWrapper:{padding:"16px 0 12px 16px"},description:{color:i.primary.text6,fontWeight:500,fontSize:"13px",lineHeight:"17px",paddingBottom:"8px"},chip:{marginRight:"8px",color:i.primary.text6,"&:last-child":{marginRight:"0px"}}}})),r.func.isRequired,r.arrayOf(r.string).isRequired;
|
|
1
|
+
import r from"prop-types";import{makeStyles as i,Typography as e,Chip as t}from"@material-ui/core";import{jsxs as o,jsx as p}from"react/jsx-runtime";var n=i((function(r){var i=r.palette;return{selectorWrapper:{padding:"16px 0 12px 16px"},description:{color:i.primary.text6,fontWeight:500,fontSize:"13px",lineHeight:"17px",paddingBottom:"8px"},chip:{marginRight:"8px",color:i.primary.text6,"&:last-child":{marginRight:"0px"}}}})),a=function(r){var i=r.onGroupClick,a=r.groups,c=n();return o("div",{className:c.selectorWrapper,children:[p(e,{className:c.description,children:"I'm looking for..."}),p("div",{children:null==a?void 0:a.map((function(r){var e=r.id,o=r.name;return p(t,{className:c.chip,variant:"outlined",label:o,onClick:function(){return i(e)}},e)}))})]})};a.propTypes={onGroupClick:r.func.isRequired,groups:r.arrayOf(r.string).isRequired};export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{makeStyles as t}from"@material-ui/core";import"@material-ui/icons";import"react/jsx-runtime";
|
|
1
|
+
import{makeStyles as r,InputAdornment as t}from"@material-ui/core";import{Search as a}from"@material-ui/icons";import{jsx as e}from"react/jsx-runtime";var i=r((function(r){var t=r.palette;return{searchIcon:{fontSize:"24px !important",fill:"".concat(t.primary.text6," !important")}}})),o=function(r){var o=r.className,n=r.children,c=i();return e(t,{className:o,position:"start",children:n||e(a,{className:c.searchIcon})})};export{o as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default Paper;
|
|
2
|
-
declare function Paper({ className, children, loading, onRecentSearchClick, AllSelectComponent, RecentSearchesComponent, GroupsComponent, onOutsideClick, ...otherProps }: {
|
|
2
|
+
declare function Paper({ className, children, loading, onRecentSearchClick, AllSelectComponent, RecentSearchesComponent, GroupsComponent, onOutsideClick, isEmptyOptions, ...otherProps }: {
|
|
3
3
|
[x: string]: any;
|
|
4
4
|
className: any;
|
|
5
5
|
children: any;
|
|
@@ -9,5 +9,6 @@ declare function Paper({ className, children, loading, onRecentSearchClick, AllS
|
|
|
9
9
|
RecentSearchesComponent: any;
|
|
10
10
|
GroupsComponent: any;
|
|
11
11
|
onOutsideClick: any;
|
|
12
|
+
isEmptyOptions: any;
|
|
12
13
|
}): JSX.Element;
|
|
13
14
|
//# sourceMappingURL=Paper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Paper.d.ts","sourceRoot":"","sources":["../../../../src/components/Search/components/Paper.js"],"names":[],"mappings":";AAmBA
|
|
1
|
+
{"version":3,"file":"Paper.d.ts","sourceRoot":"","sources":["../../../../src/components/Search/components/Paper.js"],"names":[],"mappings":";AAmBA;;;;;;;;;;;gBAgCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/objectWithoutProperties";import{useRef as t}from"react";import o from"classnames";import{makeStyles as n}from"@material-ui/core";import
|
|
1
|
+
import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/objectWithoutProperties";import{useRef as t}from"react";import o from"classnames";import{makeStyles as n}from"@material-ui/core";import i from"../../../effects/useOutsideClick.js";import{jsxs as p,Fragment as c}from"react/jsx-runtime";var s=["className","children","loading","onRecentSearchClick","AllSelectComponent","RecentSearchesComponent","GroupsComponent","onOutsideClick","isEmptyOptions"];function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function l(r){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(Object(o),!0).forEach((function(t){e(r,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}))}return r}var u=n((function(){return{paper:{boxShadow:"0px 2px 1px -1px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%), 0px 1px 3px 0px rgb(0 0 0 / 12%)",backgroundColor:"#424242",transition:"box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",borderRadius:5,position:"absolute",top:0,left:0,width:"100%"}}})),m=function(e){var n=e.className,a=e.children,m=e.loading;e.onRecentSearchClick;var b=e.AllSelectComponent,f=e.RecentSearchesComponent,O=e.GroupsComponent,d=e.onOutsideClick,h=e.isEmptyOptions,x=r(e,s),g=u(),j=t();return i(j,(function(e){var r=e.target;r.closest(".MuiInput-input")||"removeGroupIcon"===r.id||d()})),p("div",l(l({},x),{},{ref:j,className:o(n,g.paper),children:[!m&&p(c,{children:[O," ",f," ",b]}),h&&O?null:a]}))};export{m as default};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"label" | "option" | "checkbox" | "group" | "listbox" | "popper" | "iconButton" | "popupIndicator" | "searchIcon" | "popupIndicatorOpen" | "
|
|
1
|
+
declare const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"label" | "option" | "checkbox" | "group" | "listbox" | "popper" | "iconButton" | "popupIndicator" | "searchIcon" | "popupIndicatorOpen" | "searchInput" | "textField" | "closeIcon" | "groupChip" | "selectedGroup" | "selectedGroupLabel" | "removeIcon" | "removeIconWithDropdown" | "selectAllCheckbox" | "selectedLabel">;
|
|
2
2
|
export default useStyles;
|
|
3
3
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Search/styles.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Search/styles.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS,4XA2HZ,CAAC;AAEJ,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{makeStyles as t}from"@material-ui/core";var o=t((function(t){var o=t.palette;return{searchInput:{"&::before":{borderColor:o.primary.text9},"&:hover .MuiInputAdornment-root svg":{fill:"".concat(o.primary.contrastText," !important")},"&:hover .MuiInput-underline:not(.Mui-disabled):before":{borderBottom:"2px solid ".concat(o.primary.contrastText," !important")},"& .Mui-focused .MuiInputAdornment-positionStart svg.MuiSvgIcon-root":{fill:"".concat(o.primary.main," !important")}},popper:{top:"8px !important"},popupIndicator:{color:o.primary.text6,"&:hover":{backgroundColor:"transparent"}},popupIndicatorOpen:{color:o.primary.main},label:{textAlign:"center",fontStyle:"italic",fontSize:12,fontWeight:400},listbox:{maxHeight:160,position:"relative"},textField:{paddingRight:"0px !important"},searchIcon:{fill:"".concat(o.primary.text6," !important"),width:"24px",height:"24px"},closeIcon:{fill:"".concat(o.primary.text6," !important"),"&:hover":{fill:"".concat(o.primary.contrastText," !important")}},iconButton:{"&:hover":{backgroundColor:"transparent"}},option:{"&.large":{padding:"9px 0"}},group:{padding:"4px 0"},groupChip:{padding:"4px 2px",margin:"0 16px",color:o.primary.text6,border:"1px solid ".concat(o.primary.text9),height:20,fontSize:14,"&:hover":{backgroundColor:"initial"}},selectedGroup:{padding:"4px 2px",marginRight:8,color:o.primary.text6,border:"1px solid ".concat(o.primary.text9),height:20,fontSize:14,"& .MuiChip-label":{padding:"0px 0px 0px 8px"}},selectedGroupLabel:{display:"flex",alignItems:"center"},removeIcon:{fontSize:"16px",margin:"0 4px",cursor:"pointer"},removeIconWithDropdown:{marginRight:20,zIndex:1},checkbox:{padding:"0 8px 0 0","&:hover":{backgroundColor:"initial !important"}},selectAllCheckbox:{margin:0,padding:"6px 0",width:"100%",borderBottom:"1px solid ".concat(o.primary.text9),"& .MuiCheckbox-root .MuiSvgIcon-root":{fontSize:"20px !important"},"& .Mui-checked":{padding:"0 8px 0 16px"},"& .Mui-checked:hover":{backgroundColor:"initial !important"},"& .Mui-checked:active":{backgroundColor:"initial !important"}},selectedLabel:{padding:"0 4px"}}}));export{o as default};
|
|
1
|
+
import{makeStyles as t}from"@material-ui/core";var o=t((function(t){var o=t.palette;return{searchInput:{"&::before":{borderColor:o.primary.text9},"&:hover .MuiInputAdornment-root svg":{fill:"".concat(o.primary.contrastText," !important")},"&:hover .MuiInput-underline:not(.Mui-disabled):before":{borderBottom:"2px solid ".concat(o.primary.contrastText," !important")},"& .Mui-focused .MuiInputAdornment-positionStart svg.MuiSvgIcon-root":{fill:"".concat(o.primary.main," !important")}},popper:{top:"8px !important"},popupIndicator:{color:o.primary.text6,"&:hover":{backgroundColor:"transparent"}},popupIndicatorOpen:{color:o.primary.main},label:{textAlign:"center",fontStyle:"italic",fontSize:12,fontWeight:400},listbox:{maxHeight:160,position:"relative"},textField:{paddingRight:"0px !important"},searchIcon:{fill:"".concat(o.primary.text6," !important"),width:"24px",height:"24px"},closeIcon:{fill:"".concat(o.primary.text6," !important"),"&:hover":{fill:"".concat(o.primary.contrastText," !important")}},iconButton:{"&:hover":{backgroundColor:"transparent"}},option:{"&.large":{padding:"9px 0"}},group:{padding:"4px 0"},groupChip:{padding:"4px 2px",margin:"0 16px 4px",color:o.primary.text6,border:"1px solid ".concat(o.primary.text9),height:20,fontSize:14,"&:hover":{backgroundColor:"initial"}},selectedGroup:{padding:"4px 2px",marginRight:8,color:o.primary.text6,border:"1px solid ".concat(o.primary.text9),height:20,fontSize:14,"& .MuiChip-label":{padding:"0px 0px 0px 8px"}},selectedGroupLabel:{display:"flex",alignItems:"center"},removeIcon:{fontSize:"16px",margin:"0 4px",cursor:"pointer"},removeIconWithDropdown:{marginRight:20,zIndex:1},checkbox:{padding:"0 8px 0 0","&:hover":{backgroundColor:"initial !important"}},selectAllCheckbox:{margin:0,padding:"6px 0",width:"100%",borderBottom:"1px solid ".concat(o.primary.text9),"& .MuiCheckbox-root .MuiSvgIcon-root":{fontSize:"20px !important"},"& .Mui-checked":{padding:"0 8px 0 16px"},"& .Mui-checked:hover":{backgroundColor:"initial !important"},"& .Mui-checked:active":{backgroundColor:"initial !important"}},selectedLabel:{padding:"0 4px"}}}));export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Select/index.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Select/index.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAkKtC,QAAA,MAAM,MAAM;gDAA+C,WAAW;;;;;;;;CAyCrE,CAAC;AAUF,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__rest as
|
|
1
|
+
import{__rest as o,__assign as e}from'./../../ext-esm/tslib/tslib.es6.js';import{jsxs as r,jsx as t}from"react/jsx-runtime";import{useMemo as i}from"react";import{makeStyles as l,FormControl as a,InputLabel as n,Select as u,FormHelperText as d}from"@material-ui/core";import p from"uuid/v4";import c from"classnames";var s=l((function(o){return{formControlRoot:{"&:hover":{"& .MuiFormLabel-root":{color:o.palette.primary.contrastText},"& .MuiInput-underline:not(.Mui-disabled), & .MuiFilledInput-underline:not(.Mui-disabled)":{"&::before":{borderBottom:"2px solid ".concat(o.palette.primary.contrastText)}},"& .MuiSvgIcon-root.MuiSelect-icon":{color:o.palette.primary.contrastText}},"& .MuiInputBase-root.Mui-focused":{"& .MuiSvgIcon-root.MuiSelect-icon":{color:o.palette.primary.main}},"& .MuiInput-underline, & .MuiFilledInput-underline":{"&::before":{borderBottom:"1px solid ".concat(o.palette.primary.text6)},"&.Mui-disabled":{"&::before":{opacity:"0.4",borderBottom:"1px solid ".concat(o.palette.primary.text6)},"&::after":{opacity:"0.4"}}},"& .MuiSelect-root":{"&.Mui-disabled":{color:o.palette.primary.contrastText,opacity:"0.4"}},"& .MuiFormLabel-root":{color:o.palette.primary.text6,"&.Mui-focused":{color:o.palette.primary.main},"&.Mui-disabled.MuiInputLabel-root":{color:o.palette.primary.text6,opacity:"0.4"}},"& .MuiSelect-icon.Mui-disabled":{color:o.palette.primary.contrastText,opacity:"0.4"},"& .MuiFormHelperText-root":{color:o.palette.primary.text6,"&.Mui-disabled":{opacity:"0.4"}},"& .MuiFilledInput-root":{backgroundColor:o.palette.background.b6,"&:hover":{backgroundColor:o.palette.background.b7},"&.Mui-disabled":{backgroundColor:o.palette.background.b6,opacity:"0.4"}},"& .MuiInputLabel-filled":{left:2},"& .MuiSelect-filled":{paddingLeft:14},"& .MuiSvgIcon-root.MuiSelect-icon":{color:o.palette.primary.text6},"& .MuiInputBase-root":{"& .MuiInputAdornment-root":{color:o.palette.primary.text6,"& svg":{height:16,width:16}},"&:not(.Mui-error):not(.Mui-disabled):not(.Mui-focused) .MuiInputAdornment-root:hover":{color:o.palette.primary.contrastText},"&.Mui-error":{"& .MuiInputAdornment-root":{color:o.palette.error.main}},"&.Mui-disabled":{"& .MuiInputAdornment-root":{opacity:"0.4"}},"&.Mui-focused":{"& .MuiInputAdornment-root":{color:o.palette.primary.main}}}},menuList:{backgroundColor:o.palette.background.b9,"& .MuiMenuItem-root":{"&.Mui-selected":{backgroundColor:o.palette.primary.text9}}},error:{"&:hover":{"& .MuiInput-underline, & .MuiFilledInput-underline":{"&::after":{borderBottom:"2px solid ".concat(o.palette.error.main)}},"& .MuiInput-underline.Mui-disabled, & .MuiFilledInput-underline.Mui-disabled":{"&::before":{borderBottom:"1px solid ".concat(o.palette.error.main)},"&::after":{display:"none"}},"& .MuiOutlinedInput-root.Mui-error:not(.Mui-disabled) .MuiOutlinedInput-notchedOutline":{borderWidth:2}},"& .MuiFormLabel-root.MuiInputLabel-root":{color:o.palette.error.main,"&.Mui-focused":{color:o.palette.error.main},"&.Mui-disabled":{color:o.palette.error.main}},"& .MuiFormHelperText-root":{color:o.palette.error.main},"& .MuiInput-underline, & .MuiFilledInput-underline":{"&::after":{borderBottom:"1px solid ".concat(o.palette.error.main)},"&.Mui-disabled::after":{display:"none"},"&.Mui-disabled::before":{borderBottom:"1px solid ".concat(o.palette.error.main)}},"& .MuiOutlinedInput-root.Mui-disabled .MuiOutlinedInput-notchedOutline":{borderColor:o.palette.error.main,opacity:"0.4"}}}})),m=function(l){var m,M,b,f,I,x,y,v=l.FormControlProps,g=l.InputLabelProps,F=l.label,h=l.formHelperText,L=o(l,["FormControlProps","InputLabelProps","label","formHelperText"]),P=i(p,[]),C=s();return r(a,e({},v,{classes:e(e({},v.classes),{root:c(null===(M=v.classes)||void 0===M?void 0:M.root,C.formControlRoot,(m={},m[C.error]=L.error,m))}),disabled:v.disabled||L.disabled},{children:[F&&t(n,e({id:P},g,{children:F})),t(u,e({},L,{labelId:P,label:F,MenuProps:e(e({},null==L?void 0:L.MenuProps),{classes:e(e({},null===(b=null==L?void 0:L.MenuProps)||void 0===b?void 0:b.classes),{paper:null===(I=null===(f=null==L?void 0:L.MenuProps)||void 0===f?void 0:f.classes)||void 0===I?void 0:I.paper,list:c(null===(y=null===(x=null==L?void 0:L.MenuProps)||void 0===x?void 0:x.classes)||void 0===y?void 0:y.list,C.menuList)})})})),h&&t(d,{children:h})]}))};m.defaultProps={FormControlProps:{},InputLabelProps:{},label:null,formHelperText:null,error:!1};export{m as default};
|
|
@@ -16,6 +16,7 @@ declare const StyledDropdownEditor: import("react").ComponentType<Pick<Pick<Pick
|
|
|
16
16
|
classes: any;
|
|
17
17
|
renderValue: any;
|
|
18
18
|
errorText: any;
|
|
19
|
+
"data-testid": any;
|
|
19
20
|
}, never> & Pick<PropTypes.InferProps<{
|
|
20
21
|
currentValue: PropTypes.Requireable<NonNullable<string | number | any[]>>;
|
|
21
22
|
defaultValue: PropTypes.Requireable<NonNullable<string | number | any[]>>;
|
|
@@ -27,7 +28,9 @@ declare const StyledDropdownEditor: import("react").ComponentType<Pick<Pick<Pick
|
|
|
27
28
|
classes: PropTypes.Validator<NonNullable<PropTypes.InferProps<{}>>>;
|
|
28
29
|
renderValue: PropTypes.Requireable<(...args: any[]) => any>;
|
|
29
30
|
errorText: PropTypes.Requireable<string>;
|
|
30
|
-
|
|
31
|
+
'data-testid': PropTypes.Requireable<string>;
|
|
32
|
+
}>, "data-testid" | "classes" | "onChange" | "defaultValue" | "placeholder" | "disabled" | "multiple" | "options" | "currentValue" | "errorText" | "renderValue">, "classes" | "onChange" | "options"> & {
|
|
33
|
+
'data-testid'?: string;
|
|
31
34
|
defaultValue?: NonNullable<string | number | any[]>;
|
|
32
35
|
placeholder?: string;
|
|
33
36
|
disabled?: boolean;
|
|
@@ -35,6 +38,6 @@ declare const StyledDropdownEditor: import("react").ComponentType<Pick<Pick<Pick
|
|
|
35
38
|
currentValue?: NonNullable<string | number | any[]>;
|
|
36
39
|
errorText?: string;
|
|
37
40
|
renderValue?: (...args: any[]) => any;
|
|
38
|
-
} & {}, "onChange" | "defaultValue" | "placeholder" | "disabled" | "multiple" | "options" | "currentValue" | "errorText" | "renderValue"> & import("@material-ui/core").StyledComponentProps<"selectMenu" | "formControl" | "menuItem" | "multipleMenuItem">>;
|
|
41
|
+
} & {}, "data-testid" | "onChange" | "defaultValue" | "placeholder" | "disabled" | "multiple" | "options" | "currentValue" | "errorText" | "renderValue"> & import("@material-ui/core").StyledComponentProps<"selectMenu" | "formControl" | "menuItem" | "multipleMenuItem">>;
|
|
39
42
|
import PropTypes from "prop-types";
|
|
40
43
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingEditors/DropdownEditor/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingEditors/DropdownEditor/index.js"],"names":[],"mappings":";AAgHO;IALoC,KAAK,EAArC,MAAM,gBAAc;IACP,KAAK;;IAEK,QAAQ,EAA/B,OAAO;gCAK0D;AAd5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8QAAmE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"@babel/runtime/helpers/defineProperty";import e from"prop-types";import{withStyles as r,Checkbox as
|
|
1
|
+
import"@babel/runtime/helpers/defineProperty";import e from"prop-types";import{withStyles as r,Checkbox as t,FormControl as a,InputLabel as i,Select as l,MenuItem as n,FormHelperText as o}from"@material-ui/core";import d from"classnames";import{jsxs as u,jsx as p}from"react/jsx-runtime";var s=r({root:{paddingLeft:"7px"}})(t);function m(e){var r=e.currentValue,t=e.defaultValue,m=e.options,c=e.placeholder,h=e.onChange,f=e.multiple,x=e.disabled,g=e.classes,v=e.renderValue,b=e.errorText,y=e["data-testid"],V=r||t,C=d(g.menuItem,f&&g.multipleMenuItem);return u(a,{className:g.formControl,error:!!b,children:[p(i,{shrink:void 0!==V,children:c}),p(l,{"data-testid":"".concat(y,"_select"),value:V,onChange:function(e){return h(e.target.value)},multiple:f,disabled:x,renderValue:v,MenuProps:{className:g.selectMenu,anchorOrigin:{vertical:"top"}},autoWidth:!0,displayEmpty:!0,children:m&&m.map((function(e){return u(n,{"data-testid":"".concat(y,"_item_").concat(e.label,"MenuItem"),value:e.value,className:C,children:[f&&p(s,{color:"primary",checked:V&&V.includes(e.value)}),e.label]},e.value)}))}),!!b&&p(o,{children:b})]})}m.propTypes={currentValue:e.oneOfType([e.number,e.string,e.array]),defaultValue:e.oneOfType([e.number,e.string,e.array]),onChange:e.func.isRequired,options:e.arrayOf(e.any).isRequired,placeholder:e.string,multiple:e.bool,disabled:e.bool,classes:e.shape({}).isRequired,renderValue:e.func,errorText:e.string,"data-testid":e.string},m.defaultProps={currentValue:void 0,defaultValue:void 0,multiple:!1,placeholder:"Choose An Option",disabled:!1,renderValue:void 0,errorText:"","data-testid":"DropdownEditor"};var c=r({formControl:{minWidth:"200px",maxWidth:"200px",margin:"10px 20px 10px 0"},selectMenu:{maxHeight:"400px"},menuItem:{minWidth:"200px"},multipleMenuItem:{paddingLeft:"5px",minWidth:"200px"}})(m);export{c as default};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { AssetItem } from '~/components/StatusBadge/constants';
|
|
3
3
|
declare type DQAccordionDetailsContentProps = {
|
|
4
|
-
anchorEl: HTMLAnchorElement;
|
|
5
4
|
assets: AssetItem[];
|
|
6
5
|
};
|
|
7
|
-
export declare const DQAccordionDetailsContent: ({ assets
|
|
6
|
+
export declare const DQAccordionDetailsContent: ({ assets }: DQAccordionDetailsContentProps) => JSX.Element;
|
|
8
7
|
export {};
|
|
9
8
|
//# sourceMappingURL=DQAccordionDetailsContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DQAccordionDetailsContent.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBadge/components/DQAccordionDetailsContent.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAmC,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAGhG,aAAK,8BAA8B,GAAG;
|
|
1
|
+
{"version":3,"file":"DQAccordionDetailsContent.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBadge/components/DQAccordionDetailsContent.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAmC,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAGhG,aAAK,8BAA8B,GAAG;IAAE,MAAM,EAAE,SAAS,EAAE,CAAA;CAAE,CAAC;AAS9D,eAAO,MAAM,yBAAyB,eAAgB,8BAA8B,KAAG,WAyCtF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__assign as s}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as e,jsxs as
|
|
1
|
+
import{__assign as s}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as e,jsxs as i,Fragment as a}from"react/jsx-runtime";import r from"classnames";import{useDQUnvalidatedContentStyles as t}from"../styles.js";import{ALERT_STATES as l}from"../constants.js";import{DQAlertTooltip as m}from"./DQAlertTooltip.js";var n=function(n){var o=n.assets,c=t({});return e("div",s({className:c.assetTable},{children:o.map((function(t){var n=t.id,o=t.name,d=t.issuesNum,u=t.missingNum,p=t.isResolved,v=t.alert,N=function(s){return{alert:v,alertsNum:s===l.issue?d:u,alertState:s===l.issue?l.issue:l.missing,isIssueData:d>0}},f=N(l.issue),h=N(l.missing);return i("div",s({className:c.assetWrapper},{children:[e("div",s({className:r(c.assetName,c.assetCell)},{children:o})),p?e("div",s({className:c.assetCell},{children:e(m,s({},f))})):i(a,{children:[d>0&&e("div",s({className:c.assetCell},{children:e(m,s({},f))})),u>0&&e("div",s({className:c.assetCell},{children:e(m,s({},h))}))]})]}),n)}))}))};export{n as DQAccordionDetailsContent};
|
|
@@ -4,9 +4,8 @@ declare type DQAlertTooltipProps = {
|
|
|
4
4
|
alertsNum: number;
|
|
5
5
|
alertState: AlertState;
|
|
6
6
|
isIssueData: boolean;
|
|
7
|
-
anchorEl: HTMLAnchorElement;
|
|
8
7
|
alert: Alert;
|
|
9
8
|
};
|
|
10
|
-
export declare const DQAlertTooltip: ({ alert, alertsNum, alertState, isIssueData
|
|
9
|
+
export declare const DQAlertTooltip: ({ alert, alertsNum, alertState, isIssueData }: DQAlertTooltipProps) => JSX.Element;
|
|
11
10
|
export {};
|
|
12
11
|
//# sourceMappingURL=DQAlertTooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DQAlertTooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBadge/components/DQAlertTooltip.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,KAAK,EAAE,UAAU,EAA6B,MAAM,oCAAoC,CAAC;AAKjG,aAAK,mBAAmB,GAAG;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,OAAO,CAAC;IACrB,
|
|
1
|
+
{"version":3,"file":"DQAlertTooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBadge/components/DQAlertTooltip.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,KAAK,EAAE,UAAU,EAA6B,MAAM,oCAAoC,CAAC;AAKjG,aAAK,mBAAmB,GAAG;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,cAAc,kDAAmD,mBAAmB,KAAG,WAgCnG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__assign as r}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as s,jsxs as e,Fragment as t}from"react/jsx-runtime";import a from"classnames";import{ALERT_STATES as o,ALERT_ICONS as
|
|
1
|
+
import{__assign as r}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as s,jsxs as e,Fragment as t}from"react/jsx-runtime";import a from"classnames";import{ALERT_STATES as o,ALERT_ICONS as i}from"../constants.js";import{DQAlertsTooltip as l}from"./DQAlertsTooltip.js";import{useDQUnvalidatedContentStyles as m}from"../styles.js";import{isResolved as n}from"../utils.js";var c=function(c){var d,p,u=c.alert,f=c.alertsNum,N=c.alertState,h=c.isIssueData,j=m({}),v=n(u.status),I=v?i.Resolved:i[N];return s(l,r({alert:u,alertIcon:s(I,{className:a(j[N],j.alertIcon)})},{children:e("div",r({className:a(j.errorContainer,(d={},d[j.missingContainer]=h&&N===o.missing,d))},{children:[s(I,{className:a((p={},p[j[N]]=!v,p[j.Resolved]=v,p),j.alertIcon)}),s("div",{children:!v&&e(t,{children:[e("span",r({className:a(j[N],j.errorText)},{children:[N,": "]})),s("span",r({className:j.errorNum},{children:f}))]})})]}))}))};export{c as DQAlertTooltip};
|
|
@@ -2,10 +2,9 @@ import { ReactElement } from 'react';
|
|
|
2
2
|
import { Alert } from '~/components/StatusBadge/constants';
|
|
3
3
|
declare type DQCountryCheckTooltipProps = {
|
|
4
4
|
alert: Alert;
|
|
5
|
-
anchorEl: HTMLAnchorElement;
|
|
6
5
|
alertIcon: ReactElement;
|
|
7
6
|
children: ReactElement<any, any>;
|
|
8
7
|
};
|
|
9
|
-
export declare const DQAlertsTooltip: ({ alert,
|
|
8
|
+
export declare const DQAlertsTooltip: ({ alert, alertIcon, children }: DQCountryCheckTooltipProps) => JSX.Element;
|
|
10
9
|
export {};
|
|
11
10
|
//# sourceMappingURL=DQAlertsTooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DQAlertsTooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBadge/components/DQAlertsTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAMrC,OAAO,EAAE,KAAK,EAAqC,MAAM,oCAAoC,CAAC;AAgI9F,aAAK,0BAA0B,GAAG;IAChC,KAAK,EAAE,KAAK,CAAC;IACb,
|
|
1
|
+
{"version":3,"file":"DQAlertsTooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBadge/components/DQAlertsTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAMrC,OAAO,EAAE,KAAK,EAAqC,MAAM,oCAAoC,CAAC;AAgI9F,aAAK,0BAA0B,GAAG;IAChC,KAAK,EAAE,KAAK,CAAC;IACb,SAAS,EAAE,YAAY,CAAC;IACxB,QAAQ,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,eAAe,mCAAoC,0BAA0B,KAAG,WAqD5F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__assign as e}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as t,jsxs as r,Fragment as a}from"react/jsx-runtime";import o from"moment";import{template as i}from"lodash";import{makeStyles as n}from"@material-ui/core";import{Tooltip as l}from"../../Tooltip/Tooltip.js";import"../../Tooltip/ScrollableTooltip.js";import{getDeductsFromScoreClass as s,isResolved as p,getDeductsFromScoreValue as c}from"../utils.js";import{ALERT_STATES as m,BADGE_ICON_STATUSES as d}from"../constants.js";var h=n((function(e){return{errorIcon:{width:20,height:18},title:{maxWidth:198,padding:"0 0 8px",fontSize:16,lineHeight:"22px",color:e.palette.primary.text1},emptyMessage:{padding:"0",fontSize:16,lineHeight:"22px",color:e.palette.primary.contrastText},alertTime:{fontSize:14,color:e.palette.primary.text6,"& span":{color:e.palette.primary.text1}},alertMessage:{width:"100%",height:40,margin:0,overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box","-webkit-line-clamp":2,"-webkit-box-orient":"vertical",whiteSpace:"pre-wrap",fontSize:14,lineHeight:"20px",color:e.palette.primary.text1},alertMessageFull:{marginBottom:8,fontSize:14,lineHeight:"20px",color:e.palette.primary.text1,whiteSpace:"pre-wrap"},alertInfo:{display:"flex",alignItems:"center",flexWrap:"wrap",marginBottom:8,fontSize:14,textTransform:"capitalize","& span":{color:e.palette.primary.text6,marginRight:8},"& .error":{color:e.palette.error.main},"& .warning":{color:"#ffa500"}},resolvedInfo:{display:"flex",alignItems:"center",marginBottom:8,color:e.palette.primary.text6,fontSize:14},infoIcon:{color:e.palette.info.main,marginRight:8,fontSize:16},popover:{marginLeft:
|
|
1
|
+
import{__assign as e}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsx as t,jsxs as r,Fragment as a}from"react/jsx-runtime";import o from"moment";import{template as i}from"lodash";import{makeStyles as n}from"@material-ui/core";import{Tooltip as l}from"../../Tooltip/Tooltip.js";import"../../Tooltip/ScrollableTooltip.js";import{getDeductsFromScoreClass as s,isResolved as p,getDeductsFromScoreValue as c}from"../utils.js";import{ALERT_STATES as m,BADGE_ICON_STATUSES as d}from"../constants.js";var h=n((function(e){return{errorIcon:{width:20,height:18},title:{maxWidth:198,padding:"0 0 8px",fontSize:16,lineHeight:"22px",color:e.palette.primary.text1},emptyMessage:{padding:"0",fontSize:16,lineHeight:"22px",color:e.palette.primary.contrastText},alertTime:{fontSize:14,color:e.palette.primary.text6,"& span":{color:e.palette.primary.text1}},alertMessage:{width:"100%",height:40,margin:0,overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box","-webkit-line-clamp":2,"-webkit-box-orient":"vertical",whiteSpace:"pre-wrap",fontSize:14,lineHeight:"20px",color:e.palette.primary.text1},alertMessageFull:{marginBottom:8,fontSize:14,lineHeight:"20px",color:e.palette.primary.text1,whiteSpace:"pre-wrap"},alertInfo:{display:"flex",alignItems:"center",flexWrap:"wrap",marginBottom:8,fontSize:14,textTransform:"capitalize","& span":{color:e.palette.primary.text6,marginRight:8},"& .error":{color:e.palette.error.main},"& .warning":{color:"#ffa500"}},resolvedInfo:{display:"flex",alignItems:"center",marginBottom:8,color:e.palette.primary.text6,fontSize:14},infoIcon:{color:e.palette.info.main,marginRight:8,fontSize:16},popover:{marginLeft:77,width:270,padding:12,display:"flex",flexDirection:"column",justifyContent:"space-between",backgroundColor:e.palette.background.b9,border:"1px solid ".concat(e.palette.primary.text9),boxShadow:"0px 3px 10px rgba(0, 0, 0, 0.4)",borderRadius:4,"& .MuiTooltip-tooltip":{backgroundColor:e.palette.background.b9,fontWeight:400,lineHeight:"20px",margin:0,padding:0}},message:{whiteSpace:"pre-wrap"},note:{marginBottom:4},ok:{color:"#F99500 !important"},good:{color:"".concat(e.palette.warning.light," !important")}}})),g=function(e){return o.unix(e).format("DD MMM HH:mm (Z)")},f=function(r){var a=r.children,o=h(),n=i(a)({timestampFormatter:g}).split("**").map((function(e,r){return r%2==1?t("b",{children:e}):e}));return t("span",e({className:o.message},{children:n}))},u=function(i){var n,g,u,x=i.alert,b=i.alertIcon,y=i.children,w=h(),v=Math.max(x.statusUpdatedAt,x.lastCheckedAt),S=(void 0===u&&(u="MM/DD/YY hh:mm a"),(g=v)?o.unix(g).format(u):null);return t(l,{interactive:!0,children:y,PopperProps:{className:w.popover},placement:"right",title:x.emptyMessage?t("div",e({className:w.emptyMessage},{children:x.emptyMessage})):r(a,{children:[t("div",e({className:w.title},{children:x.name})),r("span",e({className:w.alertInfo},{children:[t("span",{children:"Category:"})," ",x.category]})),r("span",e({className:w.alertInfo},{children:[t("span",{children:"Status:"})," ",x.status]})),r("span",e({className:w.alertInfo},{children:[t("span",{children:"Error Type:"}),t("div",e({className:w.errorIcon},{children:b})),t("span",e({className:x.state===m.issue?d.warning:d.error},{children:x.state}))]})),r("span",e({className:w.alertInfo},{children:[t("span",{children:"Score Deduction:"}),t("span",e({className:s(w,x.deductsFromScore,p(x.status))},{children:c(x.deductsFromScore,p(x.status))}))]})),r("div",e({className:w.alertMessageFull},{children:[x.isThrottled&&t("b",{children:"[Throttled]: "}),t(f,{children:x.message})]})),r("span",e({className:w.alertInfo},{children:[t("span",e({className:w.note},{children:"Note:"}))," ",(null===(n=x.note)||void 0===n?void 0:n.length)?x.note:"—"]})),r("span",e({className:w.alertTime},{children:["Updated at: ",t("span",{children:S})]}))]})})};export{u as DQAlertsTooltip};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DQUnvalidatedContent.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBadge/components/DQUnvalidatedContent.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DQUnvalidatedContent.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBadge/components/DQUnvalidatedContent.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAM/D,aAAK,yBAAyB,GAAG;IAC/B,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAA;AAED,eAAO,MAAM,oBAAoB,uCAAwC,yBAAyB,KAAG,WAoDpG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__assign as
|
|
1
|
+
import{__assign as e}from'./../../../ext-esm/tslib/tslib.es6.js';import{jsxs as r,jsx as a}from"react/jsx-runtime";import t from"classnames";import{Typography as i,Accordion as s,AccordionSummary as n,AccordionDetails as o}from"@material-ui/core";import l from"@material-ui/icons/Link";import c from"../../Button/index.js";import{truncateString as m}from"../../Search/utils/truncate.js";import{useDQUnvalidatedContentStyles as d}from"../styles.js";import{UniversalLink as u}from"../../DevCenter/DevCenterRouterContext/UniversalLink/UniversalLink.js";import{DQAccordionDetailsContent as h}from"./DQAccordionDetailsContent.js";var p=function(p){var v=p.assetsData,f=p.maxHeight,N=p.onClick,x=d({maxHeight:f});return r("div",e({className:x.container},{children:[r("div",{children:[a(i,e({className:x.headerText,"data-testid":"Status_badge__DQ_unvalidated_content"},{children:"Data Quality"})),a(i,e({className:x.subheaderText},{children:"Fusion real-time data quality rules for app data"}))]}),a("div",e({className:x.relative},{children:a("div",e({className:x.accordionsWrapper},{children:Object.keys(v).map((function(i){var c,d=v[i];return r(s,e({className:x.accordion,defaultExpanded:!0},{children:[a(n,e({className:t("large","stretched")},{children:r("div",e({className:x.headerWrapper},{children:[a("span",{children:m(i,{maxChars:35,charsNumFromStart:13,charsNumFromEnd:12})}),a(u,e({className:x.link,href:null===(c=d[0])||void 0===c?void 0:c.linkToDQPage},{children:a(l,{className:x.linkIcon})}))]}))})),a(o,{children:a(h,{assets:d})})]}),i)}))}))})),a("div",e({className:x.reportDQIssueButtonWrapper},{children:a(c,e({className:x.reportDQIssueButton,onClick:N,variation:"secondary"},{children:"report data issue"}))}))]}))};export{p as DQUnvalidatedContent};
|
|
@@ -2,9 +2,11 @@ export declare const MAX_MOBILE_WIDTH = 959;
|
|
|
2
2
|
export declare type BadgeIconStatus = 'warning' | 'error' | 'success';
|
|
3
3
|
export declare const ALERT_STATUSES: {
|
|
4
4
|
FLAGGED: string;
|
|
5
|
+
EXPIRED: string;
|
|
5
6
|
RESOLVED: string;
|
|
6
7
|
OPEN: string;
|
|
7
8
|
INVESTIGATION: string;
|
|
9
|
+
ON_HOLD: string;
|
|
8
10
|
};
|
|
9
11
|
export declare const ALERT_ICONS: {
|
|
10
12
|
Missing: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/constants.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,MAAM,CAAC;AAEpC,oBAAY,eAAe,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAE9D,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/constants.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,MAAM,CAAC;AAEpC,oBAAY,eAAe,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAE9D,eAAO,MAAM,cAAc;;;;;;;CAO1B,CAAC;AAEF,eAAO,MAAM,WAAW;;;;CAIvB,CAAC;AAEF,aAAK,KAAK,GAAG,OAAO,CAAC;AACrB,aAAK,OAAO,GAAG,SAAS,CAAC;AAEzB,oBAAY,UAAU,GAAG,KAAK,GAAG,OAAO,CAAC;AAEzC,eAAO,MAAM,YAAY,EAAE;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAG1D,CAAC;AAEF,oBAAY,KAAK,GAAG;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,UAAU,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,oBAAY,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,oBAAY,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;AAEpD,aAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,SAAS,CAAC;IACnB,OAAO,EAAE,SAAS,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,iBAIjC,CAAC;AAEF,eAAO,MAAM,WAAW;;;;CAIvB,CAAC;AAEF,eAAO,MAAM,OAAO,kEAAkE,CAAC;AAEvF,eAAO,MAAM,QAAQ;;;;;;;;CAQpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"@material-ui/icons/Warning";import r from"@material-ui/icons/Done";import s from"@material-ui/icons/Error";import i from"@material-ui/icons/CheckCircle";import{DangerousIcon as o}from"../Icons/DangerousIcon.js";var n,c=959,l={FLAGGED:"flagged",RESOLVED:"resolved",OPEN:"open",INVESTIGATION:"investigation"},a={Missing:o,Issue:s,Resolved:i},t={missing:"Missing",issue:"Issue"},u={success:"success",warning:"warning",error:"error"},m=((n={})[u.success]=r,n[u.warning]=e,n[u.error]=o,n),g="Recommendations may be incorrect based on data quality errors",p={recordProvider:"corva",recordCollections:{wellnessAlerts:"wellness_alerts",wcuRuleMapping:"wcu_rule_mapping",wellnessRuleSettings:"wellness_rule_settings",wcuRulesCheckTime:"wcu-rule-check-time"}};export{a as ALERT_ICONS,t as ALERT_STATES,l as ALERT_STATUSES,m as BADGE_ICONS,u as BADGE_ICON_STATUSES,c as MAX_MOBILE_WIDTH,p as METADATA,g as WARNING};
|
|
1
|
+
import e from"@material-ui/icons/Warning";import r from"@material-ui/icons/Done";import s from"@material-ui/icons/Error";import i from"@material-ui/icons/CheckCircle";import{DangerousIcon as o}from"../Icons/DangerousIcon.js";var n,c=959,l={FLAGGED:"flagged",EXPIRED:"expired",RESOLVED:"resolved",OPEN:"open",INVESTIGATION:"investigation",ON_HOLD:"on hold"},a={Missing:o,Issue:s,Resolved:i},t={missing:"Missing",issue:"Issue"},u={success:"success",warning:"warning",error:"error"},m=((n={})[u.success]=r,n[u.warning]=e,n[u.error]=o,n),g="Recommendations may be incorrect based on data quality errors",p={recordProvider:"corva",recordCollections:{wellnessAlerts:"wellness_alerts",wcuRuleMapping:"wcu_rule_mapping",wellnessRuleSettings:"wellness_rule_settings",wcuRulesCheckTime:"wcu-rule-check-time"}};export{a as ALERT_ICONS,t as ALERT_STATES,l as ALERT_STATUSES,m as BADGE_ICONS,u as BADGE_ICON_STATUSES,c as MAX_MOBILE_WIDTH,p as METADATA,g as WARNING};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/styles.ts"],"names":[],"mappings":"AAEA,aAAK,8BAA8B,GAAG;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,6BAA6B,+
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/styles.ts"],"names":[],"mappings":"AAEA,aAAK,8BAA8B,GAAG;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,6BAA6B,+FA6GvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{makeStyles as e}from"@material-ui/core";var t=e((function(e){return{alertIcon:{width:16,height:16},assetWrapper:{display:"table-row"},assetTable:{display:"table"},assetCell:{display:"table-cell",padding:"5px 0",verticalAlign:"middle",width:111},assetName:{fontSize:"12px",width:89},container:{padding:"12px 0 4px 12px"},headerText:{lineHeight:"19px",fontSize:"16px",fontWeight:500},subheaderText:{lineHeight:"14px",fontSize:"12px",fontWeight:400,marginRight:16,color:e.palette.primary.text7,marginTop:4},Issue:{color:"#ffa500"},Missing:{color:e.palette.error.main},Resolved:{color:e.palette.success.bright},errorContainer:{display:"flex",alignItems:"center",marginLeft:8,height:22},missingContainer:{marginLeft:0},errorText:{marginLeft:4,fontSize:"14px"},errorNum:{fontSize:"16px",marginLeft:4},accordion:{"&:not(:first-child)":{marginTop:"16px !important"},marginTop:"8px !important",color:e.palette.primary.contrastText,"& .MuiAccordionSummary-content":{fontWeight:"400 !important"}},accordionsWrapper:{maxHeight:function(e){var t=e.maxHeight;return t},overflowY:"auto",paddingRight:16,"&::before, &::after":{content:'""',width:"100%",height:16,position:"absolute",zIndex:1},"&::before":{background:"linear-gradient(180deg, ".concat(e.palette.background.b9," 18.23%, rgba(59, 59, 59, 0) 100%)"),opacity:.8,top:0},"&::after":{background:"linear-gradient(0deg, ".concat(e.palette.background.b9," 18.23%, rgba(59, 59, 59, 0) 100%)"),opacity:.8,bottom:0}},relative:{position:"relative",padding:"8px 0"},reportDQIssueButtonWrapper:{display:"flex",justifyContent:"end"},reportDQIssueButton:{marginRight:12,marginBottom:8},headerWrapper:{display:"flex",alignItems:"center"},linkIcon:{width:16,height:16,marginLeft:
|
|
1
|
+
import{makeStyles as e}from"@material-ui/core";var t=e((function(e){return{alertIcon:{width:16,height:16},assetWrapper:{display:"table-row"},assetTable:{display:"table"},assetCell:{display:"table-cell",padding:"5px 0",verticalAlign:"middle",width:111},assetName:{fontSize:"12px",width:89},container:{padding:"12px 0 4px 12px"},headerText:{lineHeight:"19px",fontSize:"16px",fontWeight:500},subheaderText:{lineHeight:"14px",fontSize:"12px",fontWeight:400,marginRight:16,color:e.palette.primary.text7,marginTop:4},Issue:{color:"#ffa500"},Missing:{color:e.palette.error.main},Resolved:{color:e.palette.success.bright},errorContainer:{display:"flex",alignItems:"center",marginLeft:8,height:22},missingContainer:{marginLeft:0},errorText:{marginLeft:4,fontSize:"14px"},errorNum:{fontSize:"16px",marginLeft:4},accordion:{"&:not(:first-child)":{marginTop:"16px !important"},marginTop:"8px !important",color:e.palette.primary.contrastText,"& .MuiAccordionSummary-content":{fontWeight:"400 !important"}},accordionsWrapper:{maxHeight:function(e){var t=e.maxHeight;return t},overflowY:"auto",paddingRight:16,"&::before, &::after":{content:'""',width:"100%",height:16,position:"absolute",zIndex:1},"&::before":{background:"linear-gradient(180deg, ".concat(e.palette.background.b9," 18.23%, rgba(59, 59, 59, 0) 100%)"),opacity:.8,top:0},"&::after":{background:"linear-gradient(0deg, ".concat(e.palette.background.b9," 18.23%, rgba(59, 59, 59, 0) 100%)"),opacity:.8,bottom:0}},relative:{position:"relative",padding:"8px 0"},reportDQIssueButtonWrapper:{display:"flex",justifyContent:"end"},reportDQIssueButton:{marginRight:12,marginBottom:8},headerWrapper:{display:"flex",alignItems:"center"},linkIcon:{width:16,height:16,marginLeft:4,color:e.palette.primary.main},link:{lineHeight:0,zIndex:1,position:"relative",display:"flex"}}}));export{t as useDQUnvalidatedContentStyles};
|