@reltio/components 1.4.1603 → 1.4.1605
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/HOCs/index.d.ts +2 -0
- package/cjs/HOCs/index.js +5 -1
- package/cjs/HOCs/withDateRangeSelector/helpers.d.ts +8 -0
- package/cjs/HOCs/withDateRangeSelector/helpers.js +21 -0
- package/cjs/HOCs/withDateRangeSelector/styles.d.ts +1 -0
- package/cjs/HOCs/withDateRangeSelector/styles.js +18 -0
- package/cjs/HOCs/withDateRangeSelector/withDateRangeSelector.d.ts +19 -0
- package/cjs/HOCs/withDateRangeSelector/withDateRangeSelector.js +114 -0
- package/cjs/HOCs/withDragHandle/styles.d.ts +1 -0
- package/cjs/HOCs/withDragHandle/styles.js +41 -0
- package/cjs/HOCs/withDragHandle/withDragHandle.d.ts +6 -0
- package/cjs/HOCs/withDragHandle/withDragHandle.js +33 -0
- package/cjs/components/ActionButton/styles.d.ts +1 -1
- package/cjs/components/AttributeSelector/AttributeSelector.js +2 -2
- package/cjs/components/BasicTableView/BasicTablePagination/BasicTablePagination.d.ts +15 -26
- package/cjs/components/BasicTableView/BasicTablePagination/BasicTablePagination.js +5 -16
- package/cjs/components/BasicTableView/BasicTablePagination/styles.d.ts +1 -1
- package/cjs/components/BasicTableView/BasicTablePagination/styles.js +20 -1
- package/cjs/components/BasicView/BasicView.d.ts +1 -1
- package/cjs/components/CollaborationItem/SendMessageArea/styles.d.ts +1 -1
- package/cjs/components/ConfirmationDialog/styles.d.ts +1 -1
- package/cjs/components/DateRangePicker/DateRangePicker.d.ts +0 -1
- package/cjs/components/DateRangePicker/DateRangePicker.js +9 -12
- package/cjs/components/DateRangePicker/styles.d.ts +1 -1
- package/cjs/components/DateRangePicker/styles.js +3 -29
- package/cjs/components/DropDownMenuButton/styles.d.ts +1 -1
- package/cjs/components/DropDownSelector/styles.d.ts +1 -1
- package/cjs/components/FacetViewHeader/styles.js +4 -3
- package/cjs/components/ImageGalleryDialog/styles.d.ts +1 -1
- package/cjs/components/MetadataTypesSelector/styles.d.ts +1 -1
- package/cjs/components/ModeSwitcherSelect/styles.d.ts +1 -1
- package/cjs/components/MultipleInput/styles.d.ts +1 -1
- package/cjs/components/MultipliableSelect/styles.d.ts +1 -1
- package/cjs/components/Popper/Popper.d.ts +1 -1
- package/cjs/components/PopupWithArrow/styles.d.ts +1 -1
- package/cjs/components/ProfileBandNavigation/ProfileBandNavigationWidget.d.ts +1 -1
- package/cjs/components/ProfilesList/styles.d.ts +1 -1
- package/cjs/components/ReactSelect/MultiSelect/MultiSelect.d.ts +2 -0
- package/cjs/components/ReactSelect/MultiSelect/MultiSelect.js +2 -0
- package/cjs/components/ReltioGridLayout/styles.js +2 -2
- package/cjs/components/ReltioMap/MapControls/TopRightMapControls/TopRightMapControls.d.ts +2 -2
- package/cjs/components/ReltioMap/index.d.ts +6 -5
- package/cjs/components/ReltioMap/index.js +8 -7
- package/cjs/components/SmallIconButton/SmallIconButton.d.ts +1 -1
- package/cjs/components/SmallIconButton/index.d.ts +1 -1
- package/cjs/components/UserSelector/UserSelector.js +2 -2
- package/cjs/components/activityLog/ActivityFilterEditor/ActivityFilterEditor.js +12 -7
- package/cjs/components/activityLog/ActivityFilterEditor/ActivitySelector.js +2 -2
- package/cjs/components/activityLog/ActivityFilterEditor/DateRangeSelector.js +1 -1
- package/cjs/components/activityLog/ActivityFilterEditor/EntityTypesSelector.js +2 -2
- package/cjs/components/activityLog/ActivityFilterEditor/SourceSelector.js +2 -2
- package/cjs/components/activityLog/ActivityFilterEditor/styles.d.ts +2 -1
- package/cjs/components/activityLog/ActivityFilterEditor/styles.js +5 -5
- package/cjs/components/activityLog/ActivityLog/ActivityLog.d.ts +1 -7
- package/cjs/components/activityLog/ActivityLog/ActivityLog.js +10 -12
- package/cjs/components/activityLog/ActivityLog/items/ActivityItem/ActivityItem.js +7 -9
- package/cjs/components/activityLog/ActivityLog/items/ActivityItem/styles.d.ts +1 -1
- package/cjs/components/activityLog/ActivityLog/items/ActivityItem/styles.js +5 -4
- package/cjs/components/activityLog/ActivityLog/items/GroupItem/styles.js +2 -1
- package/cjs/components/activityLog/ActivityLog/styles.js +3 -2
- package/cjs/components/activityLog/ActivityLogFilter/styles.js +4 -3
- package/cjs/components/activityLog/activities/ActivityTitle/styles.js +1 -2
- package/cjs/components/attributes/DescriptionIcon/DescriptionIcon.d.ts +1 -1
- package/cjs/components/attributes/OvIcon/OvIcon.d.ts +1 -1
- package/cjs/components/attributes/inline/SimpleAttributeEditor/styles.d.ts +1 -1
- package/cjs/components/commonReactSelectComponents/arrowIndicatorStyles.d.ts +1 -1
- package/cjs/components/editors/BooleanRadioEditor/styles.d.ts +1 -1
- package/cjs/components/editors/CustomDateRangeEditor/CustomDateRangeEditor.js +6 -9
- package/cjs/components/editors/CustomDateRangeEditor/styles.d.ts +1 -1
- package/cjs/components/editors/DateEditor/styles.d.ts +1 -1
- package/cjs/components/editors/DateRangeEditor/DateRangeEditor.d.ts +28 -17
- package/cjs/components/editors/DateRangeEditor/DateRangeEditor.js +24 -72
- package/cjs/components/editors/DateRangeEditor/styles.d.ts +1 -1
- package/cjs/components/editors/DateRangeEditor/styles.js +0 -12
- package/cjs/components/editors/TimestampEditor/styles.d.ts +1 -1
- package/cjs/components/history/DateRangeSelector/DateRangeSelector.js +1 -1
- package/cjs/components/history/HistoryActivitySelector/HistoryActivitySelector.d.ts +2 -1
- package/cjs/components/history/HistoryActivitySelector/HistoryActivitySelector.js +7 -4
- package/cjs/components/history/HistoryFilterButton/HistoryFilterButton.js +14 -9
- package/cjs/components/history/HistoryFilterButton/styles.d.ts +1 -1
- package/cjs/components/history/HistoryFilterButton/styles.js +8 -13
- package/cjs/components/history/HistoryGraph/HistoryCircle.d.ts +1 -1
- package/cjs/components/history/HistoryGraph/HistoryGraph.d.ts +1 -1
- package/cjs/components/history/HistoryMenuButton/styles.d.ts +1 -1
- package/esm/HOCs/index.d.ts +2 -0
- package/esm/HOCs/index.js +2 -0
- package/esm/HOCs/withDateRangeSelector/helpers.d.ts +8 -0
- package/esm/HOCs/withDateRangeSelector/helpers.js +17 -0
- package/esm/HOCs/withDateRangeSelector/styles.d.ts +1 -0
- package/esm/HOCs/withDateRangeSelector/styles.js +15 -0
- package/esm/HOCs/withDateRangeSelector/withDateRangeSelector.d.ts +19 -0
- package/esm/HOCs/withDateRangeSelector/withDateRangeSelector.js +86 -0
- package/esm/HOCs/withDragHandle/styles.d.ts +1 -0
- package/esm/HOCs/withDragHandle/styles.js +38 -0
- package/esm/HOCs/withDragHandle/withDragHandle.d.ts +6 -0
- package/esm/HOCs/withDragHandle/withDragHandle.js +28 -0
- package/esm/components/ActionButton/styles.d.ts +1 -1
- package/esm/components/AttributeSelector/AttributeSelector.js +2 -2
- package/esm/components/BasicTableView/BasicTablePagination/BasicTablePagination.d.ts +15 -26
- package/esm/components/BasicTableView/BasicTablePagination/BasicTablePagination.js +6 -17
- package/esm/components/BasicTableView/BasicTablePagination/styles.d.ts +1 -1
- package/esm/components/BasicTableView/BasicTablePagination/styles.js +20 -1
- package/esm/components/BasicView/BasicView.d.ts +1 -1
- package/esm/components/CollaborationItem/SendMessageArea/styles.d.ts +1 -1
- package/esm/components/ConfirmationDialog/styles.d.ts +1 -1
- package/esm/components/DateRangePicker/DateRangePicker.d.ts +0 -1
- package/esm/components/DateRangePicker/DateRangePicker.js +9 -12
- package/esm/components/DateRangePicker/styles.d.ts +1 -1
- package/esm/components/DateRangePicker/styles.js +3 -29
- package/esm/components/DropDownMenuButton/styles.d.ts +1 -1
- package/esm/components/DropDownSelector/styles.d.ts +1 -1
- package/esm/components/FacetViewHeader/styles.js +4 -3
- package/esm/components/ImageGalleryDialog/styles.d.ts +1 -1
- package/esm/components/MetadataTypesSelector/styles.d.ts +1 -1
- package/esm/components/ModeSwitcherSelect/styles.d.ts +1 -1
- package/esm/components/MultipleInput/styles.d.ts +1 -1
- package/esm/components/MultipliableSelect/styles.d.ts +1 -1
- package/esm/components/Popper/Popper.d.ts +1 -1
- package/esm/components/PopupWithArrow/styles.d.ts +1 -1
- package/esm/components/ProfileBandNavigation/ProfileBandNavigationWidget.d.ts +1 -1
- package/esm/components/ProfilesList/styles.d.ts +1 -1
- package/esm/components/ReactSelect/MultiSelect/MultiSelect.d.ts +2 -0
- package/esm/components/ReactSelect/MultiSelect/MultiSelect.js +2 -0
- package/esm/components/ReltioGridLayout/styles.js +2 -2
- package/esm/components/ReltioMap/MapControls/TopRightMapControls/TopRightMapControls.d.ts +2 -2
- package/esm/components/ReltioMap/index.d.ts +6 -5
- package/esm/components/ReltioMap/index.js +8 -7
- package/esm/components/SmallIconButton/SmallIconButton.d.ts +1 -1
- package/esm/components/SmallIconButton/index.d.ts +1 -1
- package/esm/components/UserSelector/UserSelector.js +2 -2
- package/esm/components/activityLog/ActivityFilterEditor/ActivityFilterEditor.js +12 -7
- package/esm/components/activityLog/ActivityFilterEditor/ActivitySelector.js +2 -2
- package/esm/components/activityLog/ActivityFilterEditor/DateRangeSelector.js +1 -1
- package/esm/components/activityLog/ActivityFilterEditor/EntityTypesSelector.js +2 -2
- package/esm/components/activityLog/ActivityFilterEditor/SourceSelector.js +2 -2
- package/esm/components/activityLog/ActivityFilterEditor/styles.d.ts +2 -1
- package/esm/components/activityLog/ActivityFilterEditor/styles.js +5 -5
- package/esm/components/activityLog/ActivityLog/ActivityLog.d.ts +1 -7
- package/esm/components/activityLog/ActivityLog/ActivityLog.js +10 -12
- package/esm/components/activityLog/ActivityLog/items/ActivityItem/ActivityItem.js +7 -9
- package/esm/components/activityLog/ActivityLog/items/ActivityItem/styles.d.ts +1 -1
- package/esm/components/activityLog/ActivityLog/items/ActivityItem/styles.js +5 -4
- package/esm/components/activityLog/ActivityLog/items/GroupItem/styles.js +2 -1
- package/esm/components/activityLog/ActivityLog/styles.js +3 -2
- package/esm/components/activityLog/ActivityLogFilter/styles.js +4 -3
- package/esm/components/activityLog/activities/ActivityTitle/styles.js +1 -2
- package/esm/components/attributes/DescriptionIcon/DescriptionIcon.d.ts +1 -1
- package/esm/components/attributes/OvIcon/OvIcon.d.ts +1 -1
- package/esm/components/attributes/inline/SimpleAttributeEditor/styles.d.ts +1 -1
- package/esm/components/commonReactSelectComponents/arrowIndicatorStyles.d.ts +1 -1
- package/esm/components/editors/BooleanRadioEditor/styles.d.ts +1 -1
- package/esm/components/editors/CustomDateRangeEditor/CustomDateRangeEditor.js +6 -9
- package/esm/components/editors/CustomDateRangeEditor/styles.d.ts +1 -1
- package/esm/components/editors/DateEditor/styles.d.ts +1 -1
- package/esm/components/editors/DateRangeEditor/DateRangeEditor.d.ts +28 -17
- package/esm/components/editors/DateRangeEditor/DateRangeEditor.js +26 -74
- package/esm/components/editors/DateRangeEditor/styles.d.ts +1 -1
- package/esm/components/editors/DateRangeEditor/styles.js +0 -12
- package/esm/components/editors/TimestampEditor/styles.d.ts +1 -1
- package/esm/components/history/DateRangeSelector/DateRangeSelector.js +1 -1
- package/esm/components/history/HistoryActivitySelector/HistoryActivitySelector.d.ts +2 -1
- package/esm/components/history/HistoryActivitySelector/HistoryActivitySelector.js +7 -4
- package/esm/components/history/HistoryFilterButton/HistoryFilterButton.js +14 -9
- package/esm/components/history/HistoryFilterButton/styles.d.ts +1 -1
- package/esm/components/history/HistoryFilterButton/styles.js +8 -13
- package/esm/components/history/HistoryGraph/HistoryCircle.d.ts +1 -1
- package/esm/components/history/HistoryGraph/HistoryGraph.d.ts +1 -1
- package/esm/components/history/HistoryMenuButton/styles.d.ts +1 -1
- package/package.json +3 -3
- package/cjs/components/editors/DateRangeEditor/helpers.d.ts +0 -9
- package/cjs/components/editors/DateRangeEditor/helpers.js +0 -24
- package/esm/components/editors/DateRangeEditor/helpers.d.ts +0 -9
- package/esm/components/editors/DateRangeEditor/helpers.js +0 -20
|
@@ -8,5 +8,5 @@ declare const BasicView: React.ForwardRefExoticComponent<Pick<{
|
|
|
8
8
|
variant?: import("@mui/types").OverridableStringUnion<"elevation" | "outlined", import("@mui/material/Paper").PaperPropsVariantOverrides>;
|
|
9
9
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
10
10
|
ref?: React.Ref<HTMLDivElement>;
|
|
11
|
-
}, "children" | "square" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "elevation" | "variant">, "title" | "id" | "hidden" | "key" | "children" | "defaultValue" | "prefix" | "results" | "slot" | "
|
|
11
|
+
}, "children" | "square" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "elevation" | "variant">, "title" | "id" | "hidden" | "key" | "children" | "defaultValue" | "prefix" | "results" | "slot" | "color" | "translate" | "square" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "lang" | "role" | "tabIndex" | "elevation" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "security" | "unselectable" | "inputMode" | "is" | "variant"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
export default BasicView;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
type StylesProps = {
|
|
2
2
|
isEditing?: boolean;
|
|
3
3
|
};
|
|
4
|
-
export declare const useStyles: (props: StylesProps) => import("@mui/styles").ClassNameMap<"button" | "form" | "main" | "root" | "
|
|
4
|
+
export declare const useStyles: (props: StylesProps) => import("@mui/styles").ClassNameMap<"button" | "form" | "main" | "root" | "textField" | "avatar" | "buttons">;
|
|
5
5
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"content" | "title" | "
|
|
1
|
+
declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"content" | "title" | "paper" | "contentText" | "actionButtons" | "discardButton">;
|
|
2
2
|
export { useStyles };
|
|
@@ -2,12 +2,11 @@ import React, { forwardRef, useRef, useState } from 'react';
|
|
|
2
2
|
import i18n from 'ui-i18n';
|
|
3
3
|
import { nanoid } from 'nanoid';
|
|
4
4
|
import { pathOr } from 'ramda';
|
|
5
|
-
import ArrowBack from '@mui/icons-material/ArrowBack';
|
|
6
|
-
import Button from '@mui/material/Button';
|
|
7
|
-
import Toolbar from '@mui/material/Toolbar';
|
|
8
|
-
import Typography from '@mui/material/Typography';
|
|
9
|
-
import SmallIconButton from '../SmallIconButton/SmallIconButton';
|
|
10
5
|
import { DataTypes } from '@reltio/mdm-sdk';
|
|
6
|
+
import Button from '@mui/material/Button';
|
|
7
|
+
import DialogTitle from '@mui/material/DialogTitle';
|
|
8
|
+
import DialogContent from '@mui/material/DialogContent';
|
|
9
|
+
import DialogActions from '@mui/material/DialogActions';
|
|
11
10
|
import TimestampEditor from '../editors/TimestampEditor/TimestampEditor';
|
|
12
11
|
import DateEditor from '../editors/DateEditor/DateEditor';
|
|
13
12
|
import { useStyles } from './styles';
|
|
@@ -15,7 +14,7 @@ var START_DATE = 0;
|
|
|
15
14
|
var END_DATE = 1;
|
|
16
15
|
var getDate = function (values, index) { return pathOr(null, [index], values); };
|
|
17
16
|
var DateRangePicker = forwardRef(function (_a, ref) {
|
|
18
|
-
var
|
|
17
|
+
var onApply = _a.onApply, values = _a.values, type = _a.type, minDate = _a.minDate, maxDate = _a.maxDate;
|
|
19
18
|
var styles = useStyles();
|
|
20
19
|
var editorFromId = useRef(nanoid());
|
|
21
20
|
var editorToId = useRef(nanoid());
|
|
@@ -43,10 +42,8 @@ var DateRangePicker = forwardRef(function (_a, ref) {
|
|
|
43
42
|
};
|
|
44
43
|
var onTabStopPropagation = function (e) { return e.key === 'Tab' && e.stopPropagation(); };
|
|
45
44
|
return (React.createElement("div", { className: styles.container, ref: ref, onKeyDown: onTabStopPropagation },
|
|
46
|
-
React.createElement(
|
|
47
|
-
|
|
48
|
-
React.createElement(Typography, { className: styles.title }, headerTitle)),
|
|
49
|
-
React.createElement("div", { className: styles.dateRangeContainer },
|
|
45
|
+
React.createElement(DialogTitle, null, headerTitle),
|
|
46
|
+
React.createElement(DialogContent, { className: styles.dateRangeContainer },
|
|
50
47
|
React.createElement(ComponentEditor, { slotProps: {
|
|
51
48
|
textField: {
|
|
52
49
|
id: editorFromId.current,
|
|
@@ -63,8 +60,8 @@ var DateRangePicker = forwardRef(function (_a, ref) {
|
|
|
63
60
|
className: styles.dateInput
|
|
64
61
|
}
|
|
65
62
|
}, label: i18n.text('To'), value: endDate, onChange: selectEndDateHandler, minDate: minDate, maxDate: maxDate })),
|
|
66
|
-
React.createElement(
|
|
67
|
-
React.createElement(Button, { color: "primary", onClick: onUpdate
|
|
63
|
+
React.createElement(DialogActions, null,
|
|
64
|
+
React.createElement(Button, { color: "primary", onClick: onUpdate }, i18n.text('Update')))));
|
|
68
65
|
});
|
|
69
66
|
DateRangePicker.displayName = 'DateRangePicker';
|
|
70
67
|
export default DateRangePicker;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"container" | "dateRangeContainer" | "dateInput">;
|
|
@@ -1,40 +1,14 @@
|
|
|
1
1
|
import { makeStyles } from '@mui/styles';
|
|
2
|
-
export var useStyles = makeStyles(
|
|
2
|
+
export var useStyles = makeStyles({
|
|
3
3
|
container: {
|
|
4
4
|
display: 'flex',
|
|
5
5
|
flexDirection: 'column',
|
|
6
6
|
minHeight: '182px'
|
|
7
7
|
},
|
|
8
|
-
header: {
|
|
9
|
-
display: 'flex',
|
|
10
|
-
paddingLeft: '10px',
|
|
11
|
-
backgroundColor: '#FFFFFF'
|
|
12
|
-
},
|
|
13
|
-
title: {
|
|
14
|
-
marginLeft: '10px',
|
|
15
|
-
color: theme.palette.text.primary,
|
|
16
|
-
fontSize: '20px',
|
|
17
|
-
fontWeight: 500,
|
|
18
|
-
letterSpacing: '0.25px',
|
|
19
|
-
lineHeight: '24px'
|
|
20
|
-
},
|
|
21
8
|
dateRangeContainer: {
|
|
22
|
-
|
|
23
|
-
flexGrow: 1,
|
|
24
|
-
whiteSpace: 'nowrap',
|
|
25
|
-
cursor: 'default',
|
|
26
|
-
paddingTop: '8px'
|
|
9
|
+
padding: '0px 16px'
|
|
27
10
|
},
|
|
28
11
|
dateInput: {
|
|
29
12
|
margin: '0 7px'
|
|
30
|
-
},
|
|
31
|
-
actionButtons: {
|
|
32
|
-
display: 'flex',
|
|
33
|
-
justifyContent: 'flex-end',
|
|
34
|
-
height: '48px',
|
|
35
|
-
margin: '0px 8px'
|
|
36
|
-
},
|
|
37
|
-
button: {
|
|
38
|
-
width: '96px'
|
|
39
13
|
}
|
|
40
|
-
});
|
|
14
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"selected" | "
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"selected" | "paper" | "menuItem" | "menuText" | "buttonRoot">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"
|
|
1
|
+
export const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"filledInputUnderline" | "inputLabel" | "control" | "formControl" | "valueContainer" | "dropdownIndicator" | "filledInputRoot">;
|
|
2
2
|
export namespace customStyles {
|
|
3
3
|
function menu(baseStyles: any): any;
|
|
4
4
|
function menuList(baseStyles: any): any;
|
|
@@ -2,13 +2,14 @@ import { makeStyles } from '@mui/styles';
|
|
|
2
2
|
export var useStyles = makeStyles({
|
|
3
3
|
container: {
|
|
4
4
|
padding: '0 16px',
|
|
5
|
-
minHeight: '48px'
|
|
5
|
+
minHeight: '48px',
|
|
6
|
+
'.react-draggable &': {
|
|
7
|
+
paddingTop: '4px'
|
|
8
|
+
}
|
|
6
9
|
},
|
|
7
10
|
title: {
|
|
8
11
|
fontSize: '16px',
|
|
9
12
|
lineHeight: '19px',
|
|
10
|
-
paddingTop: '16px',
|
|
11
|
-
paddingBottom: '13px',
|
|
12
13
|
justifyContent: 'flex-start'
|
|
13
14
|
}
|
|
14
15
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"content" | "toolbar" | "
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"content" | "toolbar" | "paper" | "backdrop" | "closeIcon" | "appBar" | "closeButton" | "headerLeft" | "headerCenter" | "headerRight" | "modeSwitcher">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"icon" | "input" | "root" | "
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"icon" | "input" | "root" | "inputLabel" | "inputRoot" | "inputText" | "emptyInput" | "disabledInput" | "disabledPointer" | "disabledUnderline" | "popup-opened-icon">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"outlined" | "root" | "menuItem" | "currentValue" | "arrowIcon" | "currentValueIcon" | "currentValueText" | "firstMenuItemButton" | "menuItemInner" | "menuItemIcon" | "menuItemLabel" | "menuItemDescription">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"
|
|
1
|
+
export const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"inputRoot" | "isCrossedOut" | "autosizeInput">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"
|
|
1
|
+
export const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"isCrossedOut" | "multiSelect" | "chips">;
|
|
@@ -13,5 +13,5 @@ declare const Popper: React.ForwardRefExoticComponent<Pick<Omit<import("@mui/bas
|
|
|
13
13
|
anchorEl?: HTMLElement | null;
|
|
14
14
|
excludeAnchorFromBackdrop?: boolean;
|
|
15
15
|
onClose?: () => void;
|
|
16
|
-
}, "open" | "title" | "id" | "hidden" | "key" | "children" | "defaultValue" | "prefix" | "results" | "slot" | "style" | "
|
|
16
|
+
}, "open" | "title" | "id" | "hidden" | "key" | "children" | "defaultValue" | "prefix" | "results" | "slot" | "style" | "color" | "translate" | "container" | "transition" | "className" | "sx" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "security" | "unselectable" | "inputMode" | "is" | "components" | "componentsProps" | "slotProps" | "slots" | "onClose" | "component" | "disablePortal" | "keepMounted" | "anchorEl" | "placement" | "modifiers" | "popperOptions" | "popperRef" | "modal" | "excludeAnchorFromBackdrop"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
17
|
export default Popper;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"popper" | "
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"popper" | "paper" | "arrow">;
|
|
@@ -17,7 +17,7 @@ declare const LinkWithTooltip: React.ForwardRefExoticComponent<import("prop-type
|
|
|
17
17
|
variant?: import("@mui/types").OverridableStringUnion<"inherit" | import("@mui/material").TypographyVariant, import("@mui/material").TypographyPropsVariantOverrides>;
|
|
18
18
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "key" | keyof React.AnchorHTMLAttributes<HTMLAnchorElement>> & {
|
|
19
19
|
ref?: React.Ref<HTMLAnchorElement>;
|
|
20
|
-
}, "m" | "visibility" | "type" | "title" | "id" | "hidden" | "key" | "children" | "defaultValue" | "prefix" | "order" | "width" | "minHeight" | "maxHeight" | "height" | "flex" | "minWidth" | "maxWidth" | "top" | "right" | "left" | "position" | "referrerPolicy" | "results" | "p" | "slot" | "
|
|
20
|
+
}, "m" | "visibility" | "type" | "title" | "id" | "hidden" | "key" | "children" | "defaultValue" | "prefix" | "order" | "width" | "minHeight" | "maxHeight" | "height" | "flex" | "minWidth" | "maxWidth" | "top" | "right" | "left" | "position" | "referrerPolicy" | "results" | "p" | "slot" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "translate" | "whiteSpace" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "underline" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "lang" | "media" | "target" | "role" | "tabIndex" | "href" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "security" | "unselectable" | "inputMode" | "is" | "hrefLang" | "rel" | "download" | "ping" | "align" | "variant" | "bgcolor" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping" | "TypographyClasses"> & {
|
|
21
21
|
component: string;
|
|
22
22
|
}>;
|
|
23
23
|
type Props = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"label" | "secondaryLabel" | "item" | "image" | "inactive" | "
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"label" | "secondaryLabel" | "item" | "image" | "inactive" | "selected" | "info" | "avatar" | "clickable" | "highlighted" | "businessCard" | "@keyframes animate" | "justImported" | "secondRow">;
|
|
@@ -105,6 +105,8 @@ declare namespace MultiSelect {
|
|
|
105
105
|
export const getOptions: PropTypes.Requireable<(...args: any[]) => any>;
|
|
106
106
|
export const menuPlacement: PropTypes.Requireable<string>;
|
|
107
107
|
export const menuPortalTarget: PropTypes.Requireable<object>;
|
|
108
|
+
export const menuShouldBlockScroll: PropTypes.Requireable<boolean>;
|
|
109
|
+
export const captureMenuScroll: PropTypes.Requireable<boolean>;
|
|
108
110
|
export const getOptionValue: PropTypes.Requireable<(...args: any[]) => any>;
|
|
109
111
|
export const isSearchable: PropTypes.Requireable<boolean>;
|
|
110
112
|
export const inputRef: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -204,6 +204,8 @@ MultiSelect.propTypes = {
|
|
|
204
204
|
getOptions: PropTypes.func,
|
|
205
205
|
menuPlacement: PropTypes.string,
|
|
206
206
|
menuPortalTarget: PropTypes.object,
|
|
207
|
+
menuShouldBlockScroll: PropTypes.bool,
|
|
208
|
+
captureMenuScroll: PropTypes.bool,
|
|
207
209
|
getOptionValue: PropTypes.func,
|
|
208
210
|
isSearchable: PropTypes.bool,
|
|
209
211
|
inputRef: PropTypes.shape({ current: PropTypes.object })
|
|
@@ -18,7 +18,7 @@ export declare const ButtonWithTooltip: React.ForwardRefExoticComponent<import("
|
|
|
18
18
|
endIcon?: React.ReactNode;
|
|
19
19
|
fullWidth?: boolean;
|
|
20
20
|
href?: string;
|
|
21
|
-
size?: import("@mui/types").OverridableStringUnion<"small" | "
|
|
21
|
+
size?: import("@mui/types").OverridableStringUnion<"small" | "medium" | "large", import("@mui/material/Button").ButtonPropsSizeOverrides>;
|
|
22
22
|
startIcon?: React.ReactNode;
|
|
23
23
|
sx?: import("@mui/system").SxProps<import("@mui/material").Theme>;
|
|
24
24
|
variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material/Button").ButtonPropsVariantOverrides>;
|
|
@@ -40,7 +40,7 @@ export declare const ButtonWithTooltip: React.ForwardRefExoticComponent<import("
|
|
|
40
40
|
touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions>;
|
|
41
41
|
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof React.ButtonHTMLAttributes<HTMLButtonElement>> & {
|
|
42
42
|
ref?: React.Ref<HTMLButtonElement>;
|
|
43
|
-
}, "children" | "size" | "action" | keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "
|
|
43
|
+
}, "children" | "size" | "action" | "color" | "disabled" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "tabIndex" | "href" | "fullWidth" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "disableElevation" | "endIcon" | "startIcon">>;
|
|
44
44
|
type Props = {
|
|
45
45
|
onDrawingModeChanged: (value: DrawingMode | null) => void;
|
|
46
46
|
drawingMode: DrawingMode | null;
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
/// <reference types="google.maps" />
|
|
3
3
|
import { GoogleMapProps, MarkerClustererProps } from '@react-google-maps/api';
|
|
4
4
|
import { DrawingModes, EntityMarker as Marker, MapBounds, Overlay, OverlayPath } from './types';
|
|
5
|
+
type MarkerClustererOptions = MarkerClustererProps['options'];
|
|
5
6
|
type Props = {
|
|
6
|
-
markers
|
|
7
|
+
markers?: Marker[];
|
|
7
8
|
mapKey: string;
|
|
8
|
-
defaultZoom
|
|
9
|
-
defaultCenter
|
|
9
|
+
defaultZoom?: GoogleMapProps['zoom'];
|
|
10
|
+
defaultCenter?: GoogleMapProps['center'];
|
|
10
11
|
loadingElement: JSX.Element;
|
|
11
12
|
isSearchOnMapMove?: boolean;
|
|
12
13
|
isSearchEnabled?: boolean;
|
|
@@ -14,9 +15,9 @@ type Props = {
|
|
|
14
15
|
overlayOptions?: google.maps.PolygonOptions | google.maps.CircleOptions;
|
|
15
16
|
drawingModes?: DrawingModes;
|
|
16
17
|
markerClusterer?: boolean;
|
|
17
|
-
markerClustererOptions?:
|
|
18
|
+
markerClustererOptions?: MarkerClustererOptions;
|
|
18
19
|
mapOptions?: google.maps.MapOptions;
|
|
19
|
-
mapContainerClassName
|
|
20
|
+
mapContainerClassName?: string;
|
|
20
21
|
onMapBoundsChanged?: (value: MapBounds | null) => void;
|
|
21
22
|
onOverlayUpdated?: (value: {
|
|
22
23
|
data: OverlayPath;
|
|
@@ -12,6 +12,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
12
|
import React, { useCallback, useMemo, useRef, useState } from 'react';
|
|
13
13
|
import { propEq, isEmpty, prop } from 'ramda';
|
|
14
14
|
import { GoogleMap, useJsApiLoader, Polygon, DrawingManager, MarkerClusterer } from '@react-google-maps/api';
|
|
15
|
+
import { noop } from '../../core/utils';
|
|
15
16
|
import { MapControlContainer } from './MapControls/MapControlContainer/MapControlContrainer';
|
|
16
17
|
import { TopRightMapControls } from './MapControls/TopRightMapControls/TopRightMapControls';
|
|
17
18
|
import { TopCenterMapControls } from './MapControls/TopCenterMapControls/TopCenterMapControls';
|
|
@@ -23,16 +24,16 @@ import { useStyles } from './styles';
|
|
|
23
24
|
var ON_MAP_MOVE_DEBOUNCE_INTERVAL = 1000;
|
|
24
25
|
var libraries = ['drawing'];
|
|
25
26
|
export var ReltioMap = function (_a) {
|
|
26
|
-
var _b = _a.markers, markers = _b === void 0 ? [] : _b, mapKey = _a.mapKey, defaultZoom = _a.defaultZoom, defaultCenter = _a.defaultCenter, loadingElement = _a.loadingElement, isSearchOnMapMove = _a.isSearchOnMapMove, isSearchEnabled = _a.isSearchEnabled, activeOverlay = _a.activeOverlay, _c = _a.overlayOptions, overlayOptions = _c === void 0 ? {} : _c, _d = _a.drawingModes, drawingModes = _d === void 0 ? [] : _d, markerClusterer = _a.markerClusterer, markerClustererOptions = _a.markerClustererOptions, _e = _a.mapOptions, mapOptions = _e === void 0 ? {} : _e, mapContainerClassName = _a.mapContainerClassName,
|
|
27
|
+
var _b = _a.markers, markers = _b === void 0 ? [] : _b, mapKey = _a.mapKey, defaultZoom = _a.defaultZoom, defaultCenter = _a.defaultCenter, loadingElement = _a.loadingElement, isSearchOnMapMove = _a.isSearchOnMapMove, isSearchEnabled = _a.isSearchEnabled, activeOverlay = _a.activeOverlay, _c = _a.overlayOptions, overlayOptions = _c === void 0 ? {} : _c, _d = _a.drawingModes, drawingModes = _d === void 0 ? [] : _d, markerClusterer = _a.markerClusterer, markerClustererOptions = _a.markerClustererOptions, _e = _a.mapOptions, mapOptions = _e === void 0 ? {} : _e, mapContainerClassName = _a.mapContainerClassName, _f = _a.onMapBoundsChanged, onMapBoundsChanged = _f === void 0 ? noop : _f, _g = _a.onOverlayUpdated, onOverlayUpdated = _g === void 0 ? noop : _g, _h = _a.onMarkerClicked, onMarkerClicked = _h === void 0 ? noop : _h;
|
|
27
28
|
var styles = useStyles();
|
|
28
|
-
var
|
|
29
|
+
var _j = useJsApiLoader({
|
|
29
30
|
googleMapsApiKey: mapKey,
|
|
30
31
|
libraries: libraries
|
|
31
|
-
}), isLoaded =
|
|
32
|
+
}), isLoaded = _j.isLoaded, loadError = _j.loadError;
|
|
32
33
|
var mapMoveEndTimer = useRef(null);
|
|
33
|
-
var
|
|
34
|
-
var
|
|
35
|
-
var
|
|
34
|
+
var _k = useState(null), map = _k[0], setMap = _k[1];
|
|
35
|
+
var _l = useState(null), polygon = _l[0], setPolygon = _l[1];
|
|
36
|
+
var _m = useState(null), drawingMode = _m[0], setDrawingMode = _m[1];
|
|
36
37
|
useFitMapBounds({ markers: markers, activeOverlay: activeOverlay, map: map, isSearchOnMapMove: isSearchOnMapMove });
|
|
37
38
|
var allOverlayOptions = useMemo(function () { return (__assign(__assign({}, DEFAULT_OVERLAY_OPTIONS), overlayOptions)); }, [overlayOptions]);
|
|
38
39
|
var googleMapOptions = useMemo(function () { return (__assign(__assign({}, DEFAULT_GOOGLE_MAP_OPTIONS), mapOptions)); }, [mapOptions]);
|
|
@@ -60,7 +61,7 @@ export var ReltioMap = function (_a) {
|
|
|
60
61
|
var _b;
|
|
61
62
|
var polygonStateOverlay = polygon && { type: MAP_DRAWING_MODES.POLYGON, overlay: polygon };
|
|
62
63
|
var stateOverlay = propOverlay || polygonStateOverlay;
|
|
63
|
-
if (isEmpty(stateOverlay)
|
|
64
|
+
if (isEmpty(stateOverlay))
|
|
64
65
|
return;
|
|
65
66
|
var overlay = stateOverlay.overlay, type = stateOverlay.type;
|
|
66
67
|
var getPolygonLatLngCoordinates = function () {
|
|
@@ -5,5 +5,5 @@ declare const _default: React.JSXElementConstructor<Omit<Pick<Omit<IconButtonPro
|
|
|
5
5
|
iconClassName?: string;
|
|
6
6
|
icon?: React.ElementType<any>;
|
|
7
7
|
size?: "M" | "L" | "XXS" | "XS" | "S" | "MPlus" | "XL";
|
|
8
|
-
}, "value" | "type" | "title" | "id" | "name" | "hidden" | "icon" | "key" | "children" | "defaultValue" | "size" | "prefix" | "action" | "results" | "form" | "slot" | "style" | "
|
|
8
|
+
}, "value" | "type" | "title" | "id" | "name" | "hidden" | "icon" | "key" | "children" | "defaultValue" | "size" | "prefix" | "action" | "results" | "form" | "slot" | "style" | "color" | "translate" | "disabled" | "className" | "classes" | "sx" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "iconClassName"> & React.RefAttributes<HTMLButtonElement>, "classes"> & import("@mui/styles/withStyles").StyledComponentProps<"disabled" | "rootAll" | "rootXXS" | "iconXXS" | "rootXS" | "iconXS" | "rootS" | "iconS" | "rootM" | "rootMPlus" | "rootL" | "rootXL"> & object>;
|
|
9
9
|
export default _default;
|
|
@@ -13,5 +13,5 @@ declare const SmallIconButtonWithTooltip: import("react").ForwardRefExoticCompon
|
|
|
13
13
|
iconClassName?: string;
|
|
14
14
|
icon?: import("react").ElementType<any>;
|
|
15
15
|
size?: "M" | "L" | "XXS" | "XS" | "S" | "MPlus" | "XL";
|
|
16
|
-
}, "value" | "type" | "title" | "id" | "name" | "hidden" | "icon" | "key" | "children" | "defaultValue" | "size" | "prefix" | "action" | "results" | "form" | "slot" | "style" | "
|
|
16
|
+
}, "value" | "type" | "title" | "id" | "name" | "hidden" | "icon" | "key" | "children" | "defaultValue" | "size" | "prefix" | "action" | "results" | "form" | "slot" | "style" | "color" | "translate" | "disabled" | "className" | "classes" | "sx" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "iconClassName"> & import("react").RefAttributes<HTMLButtonElement>, "classes"> & import("@mui/styles").StyledComponentProps<"disabled" | "rootAll" | "rootXXS" | "iconXXS" | "rootXS" | "iconXS" | "rootS" | "iconS" | "rootM" | "rootMPlus" | "rootL" | "rootXL"> & object>;
|
|
17
17
|
export { SmallIconButton, SmallIconButtonWithTooltip };
|
|
@@ -26,13 +26,13 @@ var UserSelector = function (_a) {
|
|
|
26
26
|
}
|
|
27
27
|
return cachedRequest.current.then(pipe(pluck('username'), filterUsers(inputValue), prepareValues));
|
|
28
28
|
};
|
|
29
|
-
return (React.createElement("div", { className: classnames(styles.root, className) },
|
|
29
|
+
return (React.createElement("div", { className: classnames(styles.root, className), "data-reltio-id": "user-selector" },
|
|
30
30
|
React.createElement(Typography, { className: styles.title, variant: 'subtitle1' }, i18n.text('User')),
|
|
31
31
|
React.createElement(MultiSelect, { value: prepareValues(selectedUsers), onChange: pipe(defaultTo([]), pluck('value'), onChange), defaultOptions: true, getOptions: getOptions, TextFieldProps: {
|
|
32
32
|
InputProps: { disableUnderline: disableUnderline },
|
|
33
33
|
className: styles.dropDownInput
|
|
34
34
|
}, components: {
|
|
35
35
|
DropdownIndicator: DropdownIndicatorWithIconButton
|
|
36
|
-
}, styles: customStyles, classes: styles, menuPortalTarget: document.body })));
|
|
36
|
+
}, styles: customStyles, classes: styles, menuPortalTarget: document.body, menuShouldBlockScroll: true, captureMenuScroll: false })));
|
|
37
37
|
};
|
|
38
38
|
export default UserSelector;
|