@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
|
@@ -4,6 +4,7 @@ type Props = {
|
|
|
4
4
|
selectedHistoryActivityTypes: HistoryActivityType[];
|
|
5
5
|
onChange: (activities: HistoryActivityType[]) => void;
|
|
6
6
|
className?: string;
|
|
7
|
+
disableUnderline?: boolean;
|
|
7
8
|
};
|
|
8
|
-
declare const HistoryActivitySelector: ({ selectedHistoryActivityTypes, onChange, className }: Props) => JSX.Element;
|
|
9
|
+
declare const HistoryActivitySelector: ({ selectedHistoryActivityTypes, onChange, className, disableUnderline }: Props) => JSX.Element;
|
|
9
10
|
export default HistoryActivitySelector;
|
|
@@ -8,15 +8,18 @@ import DropdownIndicatorWithIconButton from '../../commonReactSelectComponents/D
|
|
|
8
8
|
import { getHistoryActivityLabel, historyActivityOptions } from './utils';
|
|
9
9
|
import { customStyles, useStyles } from './styles';
|
|
10
10
|
var HistoryActivitySelector = function (_a) {
|
|
11
|
-
var selectedHistoryActivityTypes = _a.selectedHistoryActivityTypes, onChange = _a.onChange, className = _a.className;
|
|
11
|
+
var selectedHistoryActivityTypes = _a.selectedHistoryActivityTypes, onChange = _a.onChange, className = _a.className, disableUnderline = _a.disableUnderline;
|
|
12
12
|
var styles = useStyles();
|
|
13
13
|
var valueToOption = function (value) { return ({ value: value, label: getHistoryActivityLabel(value) }); };
|
|
14
14
|
var prepareValues = function (values) { return values.map(valueToOption); };
|
|
15
15
|
var options = prepareValues(historyActivityOptions);
|
|
16
|
-
return (React.createElement("div", { className: classnames(styles.root, className) },
|
|
16
|
+
return (React.createElement("div", { className: classnames(styles.root, className), "data-reltio-id": "history-activity-selector" },
|
|
17
17
|
React.createElement(Typography, { className: styles.title, variant: 'subtitle1' }, i18n.text('Activity')),
|
|
18
|
-
React.createElement(MultiSelect, { value: prepareValues(selectedHistoryActivityTypes), onChange: pipe(defaultTo([]), pluck('value'), onChange), options: options, TextFieldProps: {
|
|
18
|
+
React.createElement(MultiSelect, { value: prepareValues(selectedHistoryActivityTypes), onChange: pipe(defaultTo([]), pluck('value'), onChange), options: options, TextFieldProps: {
|
|
19
|
+
InputProps: { disableUnderline: disableUnderline },
|
|
20
|
+
classes: { root: styles.dropDownInput }
|
|
21
|
+
}, components: {
|
|
19
22
|
DropdownIndicator: DropdownIndicatorWithIconButton
|
|
20
|
-
}, styles: customStyles, classes: styles, menuPlacement: "bottom", menuPortalTarget: document.body })));
|
|
23
|
+
}, styles: customStyles, classes: styles, menuPlacement: "bottom", menuPortalTarget: document.body, menuShouldBlockScroll: true, captureMenuScroll: false })));
|
|
21
24
|
};
|
|
22
25
|
export default HistoryActivitySelector;
|
|
@@ -15,7 +15,10 @@ import { curry, dissoc } from 'ramda';
|
|
|
15
15
|
import FilterListIcon from '@mui/icons-material/FilterList';
|
|
16
16
|
import Button from '@mui/material/Button';
|
|
17
17
|
import Popover from '@mui/material/Popover';
|
|
18
|
-
import
|
|
18
|
+
import DialogActions from '@mui/material/DialogActions';
|
|
19
|
+
import DialogContent from '@mui/material/DialogContent';
|
|
20
|
+
import DialogTitle from '@mui/material/DialogTitle';
|
|
21
|
+
import Divider from '@mui/material/Divider';
|
|
19
22
|
import { isDateRangeValid } from '@reltio/mdm-sdk';
|
|
20
23
|
import { SmallIconButton } from '../../SmallIconButton';
|
|
21
24
|
import UserSelector from '../../UserSelector/UserSelector';
|
|
@@ -64,14 +67,16 @@ var HistoryFilterButton = function (_a) {
|
|
|
64
67
|
vertical: 'top',
|
|
65
68
|
horizontal: 'right'
|
|
66
69
|
} },
|
|
67
|
-
React.createElement(
|
|
68
|
-
|
|
69
|
-
React.createElement(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
70
|
+
React.createElement(DialogTitle, null, i18n.text('Filter')),
|
|
71
|
+
React.createElement(DialogContent, { dividers: true, className: styles.filterContainer },
|
|
72
|
+
React.createElement(DateRangeSelector, { value: dateRange, onChange: handlePropChange('dateRange'), className: styles.filterItem }),
|
|
73
|
+
React.createElement(Divider, { light: true, className: styles.divider }),
|
|
74
|
+
React.createElement(UserSelector, { selectedUsers: users, onChange: handlePropChange('users'), className: styles.filterItem, disableUnderline: true }),
|
|
75
|
+
React.createElement(Divider, { light: true, className: styles.divider }),
|
|
76
|
+
React.createElement(HistoryActivitySelector, { selectedHistoryActivityTypes: activities, onChange: handlePropChange('activities'), className: styles.filterItem, disableUnderline: true }),
|
|
77
|
+
React.createElement(Divider, { light: true, className: styles.divider }),
|
|
78
|
+
React.createElement(AttributeSelector, { selectedAttributes: attributes, entityType: entityType, onChange: handlePropChange('attributes'), className: styles.filterItem, title: i18n.text('Attribute updated'), disableUnderline: true })),
|
|
79
|
+
React.createElement(DialogActions, null,
|
|
75
80
|
React.createElement(Button, { onClick: clearAllButtonHandler, className: styles.clearButton }, i18n.text('Clear all')),
|
|
76
81
|
React.createElement(Button, { onClick: togglePopup }, i18n.text('Cancel')),
|
|
77
82
|
React.createElement(Button, { color: "primary", onClick: applyButtonHandler }, i18n.text('Apply'))))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"input" | "popup" | "
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"input" | "popup" | "divider" | "clearButton" | "filterContainer" | "filterItem">;
|
|
@@ -8,21 +8,13 @@ export var useStyles = makeStyles({
|
|
|
8
8
|
flexDirection: 'column'
|
|
9
9
|
},
|
|
10
10
|
filterContainer: {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
display: 'flex',
|
|
14
|
-
flexDirection: 'column'
|
|
15
|
-
},
|
|
16
|
-
filterContainerScrollable: {
|
|
17
|
-
overflowY: 'auto'
|
|
11
|
+
maxHeight: '400px',
|
|
12
|
+
borderColor: 'rgba(0,0,0,0.12)'
|
|
18
13
|
},
|
|
19
14
|
filterItem: {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
display: 'flex',
|
|
24
|
-
padding: '10px 12px',
|
|
25
|
-
borderTop: 'solid 1px rgba(0, 0, 0, 0.12)'
|
|
15
|
+
'&:not(:last-child)': {
|
|
16
|
+
marginBottom: 12
|
|
17
|
+
}
|
|
26
18
|
},
|
|
27
19
|
clearButton: {
|
|
28
20
|
marginRight: 'auto'
|
|
@@ -31,5 +23,8 @@ export var useStyles = makeStyles({
|
|
|
31
23
|
height: '100%',
|
|
32
24
|
paddingLeft: '12px',
|
|
33
25
|
paddingRight: '8px'
|
|
26
|
+
},
|
|
27
|
+
divider: {
|
|
28
|
+
marginBottom: 12
|
|
34
29
|
}
|
|
35
30
|
});
|
|
@@ -9,5 +9,5 @@ declare const _default: React.ForwardRefExoticComponent<Pick<{
|
|
|
9
9
|
isCollapsed?: boolean;
|
|
10
10
|
showCollapseIcon?: boolean;
|
|
11
11
|
showLine?: boolean;
|
|
12
|
-
} & React.SVGProps<SVGGElement>, "string" | "y" | "d" | "filter" | "fill" | "values" | "local" | "visibility" | "type" | "operator" | "id" | "in" | "name" | "direction" | "max" | "attributeType" | "mode" | "key" | "children" | "offset" | "method" | "path" | "end" | "radius" | "order" | "width" | "height" | "version" | "format" | "attributeName" | "origin" | "from" | "to" | "style" | "clipPath" | "mask" | "
|
|
12
|
+
} & React.SVGProps<SVGGElement>, "string" | "y" | "d" | "filter" | "fill" | "values" | "local" | "visibility" | "type" | "operator" | "id" | "in" | "name" | "direction" | "max" | "attributeType" | "mode" | "key" | "children" | "offset" | "method" | "path" | "end" | "radius" | "order" | "width" | "height" | "version" | "format" | "attributeName" | "origin" | "from" | "to" | "style" | "clipPath" | "mask" | "color" | "cursor" | "display" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "imageRendering" | "letterSpacing" | "opacity" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "wordSpacing" | "writingMode" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "accumulate" | "unicode" | "x" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "className" | "viewBox" | "lang" | "media" | "min" | "target" | "role" | "tabIndex" | "crossOrigin" | "accentHeight" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "href" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "numOctaves" | "orient" | "orientation" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan" | "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" | "isDashed" | "isCollapsed" | "showCollapseIcon" | "showLine"> & React.RefAttributes<unknown>>;
|
|
13
13
|
export default _default;
|
|
@@ -16,7 +16,7 @@ export declare const HistoryCircleWithTooltip: React.ForwardRefExoticComponent<i
|
|
|
16
16
|
isCollapsed?: boolean;
|
|
17
17
|
showCollapseIcon?: boolean;
|
|
18
18
|
showLine?: boolean;
|
|
19
|
-
} & React.SVGProps<SVGGElement>, "string" | "y" | "d" | "filter" | "fill" | "values" | "local" | "visibility" | "type" | "operator" | "id" | "in" | "name" | "direction" | "max" | "attributeType" | "mode" | "key" | "children" | "offset" | "method" | "path" | "end" | "radius" | "order" | "width" | "height" | "version" | "format" | "attributeName" | "origin" | "from" | "to" | "style" | "clipPath" | "mask" | "
|
|
19
|
+
} & React.SVGProps<SVGGElement>, "string" | "y" | "d" | "filter" | "fill" | "values" | "local" | "visibility" | "type" | "operator" | "id" | "in" | "name" | "direction" | "max" | "attributeType" | "mode" | "key" | "children" | "offset" | "method" | "path" | "end" | "radius" | "order" | "width" | "height" | "version" | "format" | "attributeName" | "origin" | "from" | "to" | "style" | "clipPath" | "mask" | "color" | "cursor" | "display" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "imageRendering" | "letterSpacing" | "opacity" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "wordSpacing" | "writingMode" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "accumulate" | "unicode" | "x" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "className" | "viewBox" | "lang" | "media" | "min" | "target" | "role" | "tabIndex" | "crossOrigin" | "accentHeight" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "href" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "numOctaves" | "orient" | "orientation" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan" | "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" | "isDashed" | "isCollapsed" | "showCollapseIcon" | "showLine"> & React.RefAttributes<unknown>>;
|
|
20
20
|
type Props = {
|
|
21
21
|
graphData: HistoryData;
|
|
22
22
|
onHistoryCircleMouseOver?: (uri: string, timestamp: number, index: number) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"menuItem" | "
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"menuItem" | "menuText" | "checkIcon">;
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reltio/components",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1605",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE FILE",
|
|
5
5
|
"main": "./cjs/index.js",
|
|
6
6
|
"module": "./esm/index.js",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@date-io/moment": "^1.3.5",
|
|
9
9
|
"@react-google-maps/api": "2.7.0",
|
|
10
|
-
"@reltio/mdm-module": "^1.4.
|
|
11
|
-
"@reltio/mdm-sdk": "^1.4.
|
|
10
|
+
"@reltio/mdm-module": "^1.4.1605",
|
|
11
|
+
"@reltio/mdm-sdk": "^1.4.1605",
|
|
12
12
|
"classnames": "^2.2.5",
|
|
13
13
|
"d3-cloud": "^1.2.5",
|
|
14
14
|
"d3-geo": "^2.0.1",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DatePeriod } from '@reltio/mdm-sdk';
|
|
2
|
-
export type Option = {
|
|
3
|
-
value: string;
|
|
4
|
-
label: string;
|
|
5
|
-
};
|
|
6
|
-
export type Values = DatePeriod | string;
|
|
7
|
-
declare const getEditorValue: any;
|
|
8
|
-
declare const convertValuesToDate: any;
|
|
9
|
-
export { getEditorValue, convertValuesToDate };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.convertValuesToDate = exports.getEditorValue = void 0;
|
|
4
|
-
var ramda_1 = require("ramda");
|
|
5
|
-
var mdm_sdk_1 = require("@reltio/mdm-sdk");
|
|
6
|
-
var formatValue = function (value, dataTypeDefinition, placeholder) {
|
|
7
|
-
return (0, ramda_1.isNil)(value) ? "".concat(placeholder) : "".concat((0, mdm_sdk_1.formatDataTypeValue)({ dataTypeDefinition: dataTypeDefinition, dateTimeMask: placeholder }, value));
|
|
8
|
-
};
|
|
9
|
-
var getEditorValue = (0, ramda_1.curry)(function (placeholder, dataTypeDefinition, value, options) {
|
|
10
|
-
return (0, ramda_1.cond)([
|
|
11
|
-
[mdm_sdk_1.isEmptyValue, (0, ramda_1.always)({ value: '', label: '' })],
|
|
12
|
-
[
|
|
13
|
-
(0, ramda_1.is)(Array),
|
|
14
|
-
function (value) { return ({
|
|
15
|
-
value: value,
|
|
16
|
-
label: value.map(function (value) { return formatValue(value, dataTypeDefinition, placeholder); }).join(' \u2014 ')
|
|
17
|
-
}); }
|
|
18
|
-
],
|
|
19
|
-
[(0, ramda_1.is)(String), function (value) { return options.find((0, ramda_1.propEq)('value', value)); }]
|
|
20
|
-
])(value);
|
|
21
|
-
});
|
|
22
|
-
exports.getEditorValue = getEditorValue;
|
|
23
|
-
var convertValuesToDate = (0, ramda_1.pipe)(mdm_sdk_1.getDateRangeByValue, (0, ramda_1.defaultTo)([]), (0, ramda_1.map)(function (value) { return value && new Date(value); }));
|
|
24
|
-
exports.convertValuesToDate = convertValuesToDate;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DatePeriod } from '@reltio/mdm-sdk';
|
|
2
|
-
export type Option = {
|
|
3
|
-
value: string;
|
|
4
|
-
label: string;
|
|
5
|
-
};
|
|
6
|
-
export type Values = DatePeriod | string;
|
|
7
|
-
declare const getEditorValue: any;
|
|
8
|
-
declare const convertValuesToDate: any;
|
|
9
|
-
export { getEditorValue, convertValuesToDate };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { always, cond, curry, defaultTo, is, isNil, map, pipe, propEq } from 'ramda';
|
|
2
|
-
import { formatDataTypeValue, getDateRangeByValue, isEmptyValue } from '@reltio/mdm-sdk';
|
|
3
|
-
var formatValue = function (value, dataTypeDefinition, placeholder) {
|
|
4
|
-
return isNil(value) ? "".concat(placeholder) : "".concat(formatDataTypeValue({ dataTypeDefinition: dataTypeDefinition, dateTimeMask: placeholder }, value));
|
|
5
|
-
};
|
|
6
|
-
var getEditorValue = curry(function (placeholder, dataTypeDefinition, value, options) {
|
|
7
|
-
return cond([
|
|
8
|
-
[isEmptyValue, always({ value: '', label: '' })],
|
|
9
|
-
[
|
|
10
|
-
is(Array),
|
|
11
|
-
function (value) { return ({
|
|
12
|
-
value: value,
|
|
13
|
-
label: value.map(function (value) { return formatValue(value, dataTypeDefinition, placeholder); }).join(' \u2014 ')
|
|
14
|
-
}); }
|
|
15
|
-
],
|
|
16
|
-
[is(String), function (value) { return options.find(propEq('value', value)); }]
|
|
17
|
-
])(value);
|
|
18
|
-
});
|
|
19
|
-
var convertValuesToDate = pipe(getDateRangeByValue, defaultTo([]), map(function (value) { return value && new Date(value); }));
|
|
20
|
-
export { getEditorValue, convertValuesToDate };
|