@reltio/components 1.4.1603 → 1.4.1604

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.
Files changed (169) hide show
  1. package/cjs/HOCs/index.d.ts +2 -0
  2. package/cjs/HOCs/index.js +5 -1
  3. package/cjs/HOCs/withDateRangeSelector/helpers.d.ts +8 -0
  4. package/cjs/HOCs/withDateRangeSelector/helpers.js +21 -0
  5. package/cjs/HOCs/withDateRangeSelector/styles.d.ts +1 -0
  6. package/cjs/HOCs/withDateRangeSelector/styles.js +18 -0
  7. package/cjs/HOCs/withDateRangeSelector/withDateRangeSelector.d.ts +19 -0
  8. package/cjs/HOCs/withDateRangeSelector/withDateRangeSelector.js +114 -0
  9. package/cjs/HOCs/withDragHandle/styles.d.ts +1 -0
  10. package/cjs/HOCs/withDragHandle/styles.js +43 -0
  11. package/cjs/HOCs/withDragHandle/withDragHandle.d.ts +6 -0
  12. package/cjs/HOCs/withDragHandle/withDragHandle.js +33 -0
  13. package/cjs/components/ActionButton/styles.d.ts +1 -1
  14. package/cjs/components/AttributeSelector/AttributeSelector.js +2 -2
  15. package/cjs/components/BasicTableView/BasicTablePagination/BasicTablePagination.d.ts +15 -26
  16. package/cjs/components/BasicTableView/BasicTablePagination/BasicTablePagination.js +5 -16
  17. package/cjs/components/BasicTableView/BasicTablePagination/styles.d.ts +1 -1
  18. package/cjs/components/BasicTableView/BasicTablePagination/styles.js +20 -1
  19. package/cjs/components/BasicView/BasicView.d.ts +1 -1
  20. package/cjs/components/CollaborationItem/SendMessageArea/styles.d.ts +1 -1
  21. package/cjs/components/ConfirmationDialog/styles.d.ts +1 -1
  22. package/cjs/components/DateRangePicker/DateRangePicker.d.ts +0 -1
  23. package/cjs/components/DateRangePicker/DateRangePicker.js +9 -12
  24. package/cjs/components/DateRangePicker/styles.d.ts +1 -1
  25. package/cjs/components/DateRangePicker/styles.js +3 -29
  26. package/cjs/components/DropDownMenuButton/styles.d.ts +1 -1
  27. package/cjs/components/DropDownSelector/styles.d.ts +1 -1
  28. package/cjs/components/FacetViewHeader/styles.js +0 -2
  29. package/cjs/components/ImageGalleryDialog/styles.d.ts +1 -1
  30. package/cjs/components/MetadataTypesSelector/styles.d.ts +1 -1
  31. package/cjs/components/ModeSwitcherSelect/styles.d.ts +1 -1
  32. package/cjs/components/MultipleInput/styles.d.ts +1 -1
  33. package/cjs/components/MultipliableSelect/styles.d.ts +1 -1
  34. package/cjs/components/Popper/Popper.d.ts +1 -1
  35. package/cjs/components/PopupWithArrow/styles.d.ts +1 -1
  36. package/cjs/components/ProfileBandNavigation/ProfileBandNavigationWidget.d.ts +1 -1
  37. package/cjs/components/ProfilesList/styles.d.ts +1 -1
  38. package/cjs/components/ReactSelect/MultiSelect/MultiSelect.d.ts +2 -0
  39. package/cjs/components/ReactSelect/MultiSelect/MultiSelect.js +2 -0
  40. package/cjs/components/ReltioGridLayout/styles.js +2 -2
  41. package/cjs/components/ReltioMap/MapControls/TopRightMapControls/TopRightMapControls.d.ts +2 -2
  42. package/cjs/components/SmallIconButton/SmallIconButton.d.ts +1 -1
  43. package/cjs/components/SmallIconButton/index.d.ts +1 -1
  44. package/cjs/components/UserSelector/UserSelector.js +2 -2
  45. package/cjs/components/activityLog/ActivityFilterEditor/ActivityFilterEditor.js +12 -7
  46. package/cjs/components/activityLog/ActivityFilterEditor/ActivitySelector.js +2 -2
  47. package/cjs/components/activityLog/ActivityFilterEditor/DateRangeSelector.js +1 -1
  48. package/cjs/components/activityLog/ActivityFilterEditor/EntityTypesSelector.js +2 -2
  49. package/cjs/components/activityLog/ActivityFilterEditor/SourceSelector.js +2 -2
  50. package/cjs/components/activityLog/ActivityFilterEditor/styles.d.ts +2 -1
  51. package/cjs/components/activityLog/ActivityFilterEditor/styles.js +5 -5
  52. package/cjs/components/activityLog/ActivityLog/ActivityLog.d.ts +1 -7
  53. package/cjs/components/activityLog/ActivityLog/ActivityLog.js +10 -12
  54. package/cjs/components/activityLog/ActivityLog/items/ActivityItem/ActivityItem.js +7 -9
  55. package/cjs/components/activityLog/ActivityLog/items/ActivityItem/styles.d.ts +1 -1
  56. package/cjs/components/activityLog/ActivityLog/items/ActivityItem/styles.js +5 -4
  57. package/cjs/components/activityLog/ActivityLog/items/GroupItem/styles.js +2 -1
  58. package/cjs/components/activityLog/ActivityLog/styles.js +3 -2
  59. package/cjs/components/activityLog/ActivityLogFilter/styles.js +4 -3
  60. package/cjs/components/activityLog/activities/ActivityTitle/styles.js +1 -2
  61. package/cjs/components/attributes/DescriptionIcon/DescriptionIcon.d.ts +1 -1
  62. package/cjs/components/attributes/OvIcon/OvIcon.d.ts +1 -1
  63. package/cjs/components/attributes/inline/SimpleAttributeEditor/styles.d.ts +1 -1
  64. package/cjs/components/commonReactSelectComponents/arrowIndicatorStyles.d.ts +1 -1
  65. package/cjs/components/editors/BooleanRadioEditor/styles.d.ts +1 -1
  66. package/cjs/components/editors/CustomDateRangeEditor/CustomDateRangeEditor.js +6 -9
  67. package/cjs/components/editors/CustomDateRangeEditor/styles.d.ts +1 -1
  68. package/cjs/components/editors/DateEditor/styles.d.ts +1 -1
  69. package/cjs/components/editors/DateRangeEditor/DateRangeEditor.d.ts +28 -17
  70. package/cjs/components/editors/DateRangeEditor/DateRangeEditor.js +24 -72
  71. package/cjs/components/editors/DateRangeEditor/styles.d.ts +1 -1
  72. package/cjs/components/editors/DateRangeEditor/styles.js +0 -12
  73. package/cjs/components/editors/TimestampEditor/styles.d.ts +1 -1
  74. package/cjs/components/history/DateRangeSelector/DateRangeSelector.js +1 -1
  75. package/cjs/components/history/HistoryActivitySelector/HistoryActivitySelector.d.ts +2 -1
  76. package/cjs/components/history/HistoryActivitySelector/HistoryActivitySelector.js +7 -4
  77. package/cjs/components/history/HistoryFilterButton/HistoryFilterButton.js +14 -9
  78. package/cjs/components/history/HistoryFilterButton/styles.d.ts +1 -1
  79. package/cjs/components/history/HistoryFilterButton/styles.js +8 -13
  80. package/cjs/components/history/HistoryGraph/HistoryCircle.d.ts +1 -1
  81. package/cjs/components/history/HistoryGraph/HistoryGraph.d.ts +1 -1
  82. package/cjs/components/history/HistoryMenuButton/styles.d.ts +1 -1
  83. package/esm/HOCs/index.d.ts +2 -0
  84. package/esm/HOCs/index.js +2 -0
  85. package/esm/HOCs/withDateRangeSelector/helpers.d.ts +8 -0
  86. package/esm/HOCs/withDateRangeSelector/helpers.js +17 -0
  87. package/esm/HOCs/withDateRangeSelector/styles.d.ts +1 -0
  88. package/esm/HOCs/withDateRangeSelector/styles.js +15 -0
  89. package/esm/HOCs/withDateRangeSelector/withDateRangeSelector.d.ts +19 -0
  90. package/esm/HOCs/withDateRangeSelector/withDateRangeSelector.js +86 -0
  91. package/esm/HOCs/withDragHandle/styles.d.ts +1 -0
  92. package/esm/HOCs/withDragHandle/styles.js +40 -0
  93. package/esm/HOCs/withDragHandle/withDragHandle.d.ts +6 -0
  94. package/esm/HOCs/withDragHandle/withDragHandle.js +28 -0
  95. package/esm/components/ActionButton/styles.d.ts +1 -1
  96. package/esm/components/AttributeSelector/AttributeSelector.js +2 -2
  97. package/esm/components/BasicTableView/BasicTablePagination/BasicTablePagination.d.ts +15 -26
  98. package/esm/components/BasicTableView/BasicTablePagination/BasicTablePagination.js +6 -17
  99. package/esm/components/BasicTableView/BasicTablePagination/styles.d.ts +1 -1
  100. package/esm/components/BasicTableView/BasicTablePagination/styles.js +20 -1
  101. package/esm/components/BasicView/BasicView.d.ts +1 -1
  102. package/esm/components/CollaborationItem/SendMessageArea/styles.d.ts +1 -1
  103. package/esm/components/ConfirmationDialog/styles.d.ts +1 -1
  104. package/esm/components/DateRangePicker/DateRangePicker.d.ts +0 -1
  105. package/esm/components/DateRangePicker/DateRangePicker.js +9 -12
  106. package/esm/components/DateRangePicker/styles.d.ts +1 -1
  107. package/esm/components/DateRangePicker/styles.js +3 -29
  108. package/esm/components/DropDownMenuButton/styles.d.ts +1 -1
  109. package/esm/components/DropDownSelector/styles.d.ts +1 -1
  110. package/esm/components/FacetViewHeader/styles.js +0 -2
  111. package/esm/components/ImageGalleryDialog/styles.d.ts +1 -1
  112. package/esm/components/MetadataTypesSelector/styles.d.ts +1 -1
  113. package/esm/components/ModeSwitcherSelect/styles.d.ts +1 -1
  114. package/esm/components/MultipleInput/styles.d.ts +1 -1
  115. package/esm/components/MultipliableSelect/styles.d.ts +1 -1
  116. package/esm/components/Popper/Popper.d.ts +1 -1
  117. package/esm/components/PopupWithArrow/styles.d.ts +1 -1
  118. package/esm/components/ProfileBandNavigation/ProfileBandNavigationWidget.d.ts +1 -1
  119. package/esm/components/ProfilesList/styles.d.ts +1 -1
  120. package/esm/components/ReactSelect/MultiSelect/MultiSelect.d.ts +2 -0
  121. package/esm/components/ReactSelect/MultiSelect/MultiSelect.js +2 -0
  122. package/esm/components/ReltioGridLayout/styles.js +2 -2
  123. package/esm/components/ReltioMap/MapControls/TopRightMapControls/TopRightMapControls.d.ts +2 -2
  124. package/esm/components/SmallIconButton/SmallIconButton.d.ts +1 -1
  125. package/esm/components/SmallIconButton/index.d.ts +1 -1
  126. package/esm/components/UserSelector/UserSelector.js +2 -2
  127. package/esm/components/activityLog/ActivityFilterEditor/ActivityFilterEditor.js +12 -7
  128. package/esm/components/activityLog/ActivityFilterEditor/ActivitySelector.js +2 -2
  129. package/esm/components/activityLog/ActivityFilterEditor/DateRangeSelector.js +1 -1
  130. package/esm/components/activityLog/ActivityFilterEditor/EntityTypesSelector.js +2 -2
  131. package/esm/components/activityLog/ActivityFilterEditor/SourceSelector.js +2 -2
  132. package/esm/components/activityLog/ActivityFilterEditor/styles.d.ts +2 -1
  133. package/esm/components/activityLog/ActivityFilterEditor/styles.js +5 -5
  134. package/esm/components/activityLog/ActivityLog/ActivityLog.d.ts +1 -7
  135. package/esm/components/activityLog/ActivityLog/ActivityLog.js +10 -12
  136. package/esm/components/activityLog/ActivityLog/items/ActivityItem/ActivityItem.js +7 -9
  137. package/esm/components/activityLog/ActivityLog/items/ActivityItem/styles.d.ts +1 -1
  138. package/esm/components/activityLog/ActivityLog/items/ActivityItem/styles.js +5 -4
  139. package/esm/components/activityLog/ActivityLog/items/GroupItem/styles.js +2 -1
  140. package/esm/components/activityLog/ActivityLog/styles.js +3 -2
  141. package/esm/components/activityLog/ActivityLogFilter/styles.js +4 -3
  142. package/esm/components/activityLog/activities/ActivityTitle/styles.js +1 -2
  143. package/esm/components/attributes/DescriptionIcon/DescriptionIcon.d.ts +1 -1
  144. package/esm/components/attributes/OvIcon/OvIcon.d.ts +1 -1
  145. package/esm/components/attributes/inline/SimpleAttributeEditor/styles.d.ts +1 -1
  146. package/esm/components/commonReactSelectComponents/arrowIndicatorStyles.d.ts +1 -1
  147. package/esm/components/editors/BooleanRadioEditor/styles.d.ts +1 -1
  148. package/esm/components/editors/CustomDateRangeEditor/CustomDateRangeEditor.js +6 -9
  149. package/esm/components/editors/CustomDateRangeEditor/styles.d.ts +1 -1
  150. package/esm/components/editors/DateEditor/styles.d.ts +1 -1
  151. package/esm/components/editors/DateRangeEditor/DateRangeEditor.d.ts +28 -17
  152. package/esm/components/editors/DateRangeEditor/DateRangeEditor.js +26 -74
  153. package/esm/components/editors/DateRangeEditor/styles.d.ts +1 -1
  154. package/esm/components/editors/DateRangeEditor/styles.js +0 -12
  155. package/esm/components/editors/TimestampEditor/styles.d.ts +1 -1
  156. package/esm/components/history/DateRangeSelector/DateRangeSelector.js +1 -1
  157. package/esm/components/history/HistoryActivitySelector/HistoryActivitySelector.d.ts +2 -1
  158. package/esm/components/history/HistoryActivitySelector/HistoryActivitySelector.js +7 -4
  159. package/esm/components/history/HistoryFilterButton/HistoryFilterButton.js +14 -9
  160. package/esm/components/history/HistoryFilterButton/styles.d.ts +1 -1
  161. package/esm/components/history/HistoryFilterButton/styles.js +8 -13
  162. package/esm/components/history/HistoryGraph/HistoryCircle.d.ts +1 -1
  163. package/esm/components/history/HistoryGraph/HistoryGraph.d.ts +1 -1
  164. package/esm/components/history/HistoryMenuButton/styles.d.ts +1 -1
  165. package/package.json +3 -3
  166. package/cjs/components/editors/DateRangeEditor/helpers.d.ts +0 -9
  167. package/cjs/components/editors/DateRangeEditor/helpers.js +0 -24
  168. package/esm/components/editors/DateRangeEditor/helpers.d.ts +0 -9
  169. package/esm/components/editors/DateRangeEditor/helpers.js +0 -20
@@ -1 +1 @@
1
- export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"date" | "activityItem" | "activityIcon" | "activityInfo" | "activityUser" | "activityEvent">;
1
+ export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"date" | "activityItem" | "activityIcon" | "userContainer" | "activityInfo" | "activityUser" | "activityEvent">;
@@ -4,7 +4,8 @@ export var useStyles = makeStyles(function (theme) { return ({
4
4
  display: 'flex',
5
5
  minHeight: '40px',
6
6
  padding: '10px 0 5px 0',
7
- boxSizing: 'border-box'
7
+ boxSizing: 'border-box',
8
+ paddingRight: '16px'
8
9
  },
9
10
  activityIcon: {
10
11
  marginLeft: '-13px',
@@ -23,6 +24,9 @@ export var useStyles = makeStyles(function (theme) { return ({
23
24
  fontSize: '14px'
24
25
  }
25
26
  },
27
+ userContainer: {
28
+ display: 'flex'
29
+ },
26
30
  activityInfo: {
27
31
  flex: 1,
28
32
  overflow: 'hidden',
@@ -40,9 +44,6 @@ export var useStyles = makeStyles(function (theme) { return ({
40
44
  marginTop: '5px'
41
45
  },
42
46
  date: {
43
- position: 'absolute',
44
- right: 0,
45
- marginTop: '5px',
46
47
  fontSize: 12,
47
48
  lineHeight: '16px',
48
49
  color: theme.palette.text.primary,
@@ -5,7 +5,8 @@ export var useStyles = makeStyles({
5
5
  height: '40px',
6
6
  alignItems: 'center',
7
7
  paddingTop: '10px',
8
- boxSizing: 'border-box'
8
+ boxSizing: 'border-box',
9
+ paddingRight: '16px'
9
10
  },
10
11
  groupIcon: {
11
12
  marginLeft: '-5px',
@@ -4,14 +4,15 @@ export var useStyles = makeStyles({
4
4
  marginLeft: '28px'
5
5
  },
6
6
  listRow: {
7
- paddingLeft: '12px',
7
+ paddingLeft: '28px',
8
+ position: 'relative',
8
9
  '&::before': {
9
10
  content: '""',
10
11
  width: '2px',
11
12
  position: 'absolute',
12
13
  height: '100%',
13
14
  top: 0,
14
- left: '11px',
15
+ left: '27px',
15
16
  backgroundColor: '#D8D8D8',
16
17
  zIndex: '-1'
17
18
  },
@@ -1,12 +1,13 @@
1
1
  import { makeStyles } from '@mui/styles';
2
2
  export var useStyles = makeStyles({
3
3
  header: {
4
- width: 'auto',
5
4
  display: 'flex',
6
- alignItems: 'center'
5
+ alignItems: 'center',
6
+ overflow: 'hidden',
7
+ flexGrow: 1
7
8
  },
8
9
  label: {
9
- paddingLeft: '7px',
10
+ marginRight: '4px',
10
11
  fontSize: '14px'
11
12
  },
12
13
  buttonsWrapper: {
@@ -6,8 +6,7 @@ export var useStyles = makeStyles(function (theme) { return ({
6
6
  fontSize: 13,
7
7
  lineHeight: '15px',
8
8
  color: theme.palette.text.primary,
9
- marginBottom: 8,
10
- marginRight: 70
9
+ marginBottom: 8
11
10
  },
12
11
  activityType: {
13
12
  flexShrink: 0,
@@ -25,7 +25,7 @@ export declare const ChipWithTooltip: React.ForwardRefExoticComponent<import("pr
25
25
  variant?: import("@mui/types").OverridableStringUnion<"filled" | "outlined", import("@mui/material/Chip").ChipPropsVariantOverrides>;
26
26
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
27
27
  ref?: React.Ref<HTMLDivElement>;
28
- }, "label" | "icon" | "children" | "size" | keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "color" | "disabled" | "sx" | "variant" | "deleteIcon" | "avatar" | "clickable" | "onDelete" | "skipFocusWhenDisabled">>;
28
+ }, "label" | "icon" | "children" | "size" | "color" | "disabled" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "tabIndex" | "variant" | "deleteIcon" | "avatar" | "clickable" | "onDelete" | "skipFocusWhenDisabled">>;
29
29
  type Props = {
30
30
  className?: string;
31
31
  description?: string;
@@ -26,7 +26,7 @@ export declare const ChipWithTooltip: React.ForwardRefExoticComponent<import("pr
26
26
  variant?: import("@mui/types").OverridableStringUnion<"filled" | "outlined", import("@mui/material/Chip").ChipPropsVariantOverrides>;
27
27
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
28
28
  ref?: React.Ref<HTMLDivElement>;
29
- }, "label" | "icon" | "children" | "size" | keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "color" | "disabled" | "sx" | "variant" | "deleteIcon" | "avatar" | "clickable" | "onDelete" | "skipFocusWhenDisabled">>;
29
+ }, "label" | "icon" | "children" | "size" | "color" | "disabled" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "tabIndex" | "variant" | "deleteIcon" | "avatar" | "clickable" | "onDelete" | "skipFocusWhenDisabled">>;
30
30
  type ComplexWithLabel = NestedAttributeValue | ReferenceAttributeValue;
31
31
  type Props = {
32
32
  className?: string;
@@ -2,5 +2,5 @@ type StylesProps = {
2
2
  color: string;
3
3
  containerWidth: number;
4
4
  };
5
- export declare const useStyles: (props: StylesProps) => import("@mui/styles").ClassNameMap<"input" | "inputMultiline" | "textField" | "paper" | "booleanEditor" | "timestampEditor" | "popoverRoot">;
5
+ export declare const useStyles: (props: StylesProps) => import("@mui/styles").ClassNameMap<"input" | "textField" | "paper" | "inputMultiline" | "booleanEditor" | "timestampEditor" | "popoverRoot">;
6
6
  export {};
@@ -1 +1 @@
1
- export const useArrowIndicatorStyles: (props?: any) => import("@mui/styles").ClassNameMap<"disabled" | "expanded">;
1
+ export const useArrowIndicatorStyles: (props?: any) => import("@mui/styles").ClassNameMap<"expanded" | "disabled">;
@@ -1 +1 @@
1
- export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"label" | "editors" | "isCrossedOut" | "checkboxPrimary">;
1
+ export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"label" | "isCrossedOut" | "editors" | "checkboxPrimary">;
@@ -5,7 +5,7 @@ import { isNil } from 'ramda';
5
5
  import { DataTypes, formatDataTypeValue } from '@reltio/mdm-sdk';
6
6
  import { noop } from '../../../core';
7
7
  import TextField from '@mui/material/TextField';
8
- import Menu from '@mui/material/Menu';
8
+ import Popover from '@mui/material/Popover';
9
9
  import DropdownIndicatorWithIconButton from '../../commonReactSelectComponents/DropdownIndicatorWithIconButton';
10
10
  import DateRangePicker from '../../DateRangePicker/DateRangePicker';
11
11
  import { useStyles } from './styles';
@@ -44,16 +44,13 @@ var CustomDateRangeEditor = function (_a) {
44
44
  }, InputLabelProps: {
45
45
  shrink: false
46
46
  }, placeholder: i18n.text("".concat(placeholder, " \u2014 ").concat(placeholder)) }),
47
- React.createElement(Menu, { variant: "menu", open: open, autoFocus: false, classes: { paper: styles.paper }, anchorEl: inputRef.current, onClose: onCancel, anchorOrigin: {
47
+ React.createElement(Popover, { open: open, anchorEl: inputRef.current, onClose: onCancel, anchorOrigin: {
48
48
  vertical: 'bottom',
49
- horizontal: 'left'
49
+ horizontal: 'right'
50
50
  }, transformOrigin: {
51
51
  vertical: 'top',
52
- horizontal: 'left'
53
- }, elevation: 2, MenuListProps: {
54
- autoFocusItem: open,
55
- style: { width: '100%' }
56
- } },
57
- React.createElement(DateRangePicker, { values: values, onCancel: onCancel, onApply: onApply, type: DataTypes.TYPE_ACTIVENESS_DATE }))));
52
+ horizontal: 'right'
53
+ }, elevation: 2 },
54
+ React.createElement(DateRangePicker, { values: values, onApply: onApply, type: DataTypes.TYPE_ACTIVENESS_DATE }))));
58
55
  };
59
56
  export default CustomDateRangeEditor;
@@ -1 +1 @@
1
- export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"input" | "root" | "inputRoot" | "dropdownIndicator" | "paper" | "dateOptionLabel">;
1
+ export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"input" | "root" | "inputRoot" | "paper" | "dropdownIndicator" | "dateOptionLabel">;
@@ -1 +1 @@
1
- export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"isCrossedOut" | "inputRoot" | "adornedEnd">;
1
+ export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"adornedEnd" | "inputRoot" | "isCrossedOut">;
@@ -1,26 +1,37 @@
1
- /// <reference types="react" />
2
- import { DataTypeDefinition } from '@reltio/mdm-sdk';
1
+ import React from 'react';
2
+ import { DatePeriod } from '@reltio/mdm-sdk';
3
3
  import { TextFieldProps } from '@mui/material/TextField';
4
- import { MenuProps } from '@mui/material/Menu';
5
- import { Option, Values } from './helpers';
6
4
  export type DateRangeEditorProps = {
7
5
  label?: string;
8
- values?: Values;
9
- options?: Option[];
10
- getValuesDateRange?: (value: Values) => [Date, Date];
11
- onChange?: (value: Values) => void;
12
- dataTypeDefinition?: DataTypeDefinition;
13
- MenuProps?: Partial<MenuProps>;
6
+ values?: DatePeriod | string;
7
+ editorLabel?: string;
8
+ editorPlaceholder?: string;
14
9
  TextFieldProps?: TextFieldProps;
15
- DateRangePickerProps?: {
16
- minDate?: Date;
17
- maxDate?: Date;
18
- };
19
- className?: string;
20
10
  classes?: {
21
11
  dropdownIndicator?: string;
22
12
  root?: string;
23
13
  };
14
+ className?: string;
15
+ isPickingDate?: boolean;
16
+ isMenuOpen?: boolean;
17
+ onMenuToggle?: () => void;
18
+ };
19
+ declare const _default: {
20
+ (props: DateRangeEditorProps & React.RefAttributes<HTMLDivElement> & {
21
+ values?: string | [Date, Date] | Omit<import("@reltio/mdm-sdk/src/constants/filter-values").default, "PICK_DATE">;
22
+ options?: import("../../../HOCs/withDateRangeSelector/helpers").Option[];
23
+ dataTypeDefinition?: import("@reltio/mdm-sdk").DataTypeDefinition;
24
+ getValuesDateRange?: (value: string | [Date, Date] | Omit<import("@reltio/mdm-sdk/src/constants/filter-values").default, "PICK_DATE">) => [Date, Date];
25
+ onChange?: (value: string | [Date, Date] | Omit<import("@reltio/mdm-sdk/src/constants/filter-values").default, "PICK_DATE">) => void;
26
+ DateRangePickerProps?: Partial<{
27
+ onApply: ([startDate, endDate]: [Date, Date]) => void;
28
+ values?: [Date, Date];
29
+ type?: string;
30
+ minDate?: Date;
31
+ maxDate?: Date;
32
+ } & React.RefAttributes<HTMLDivElement>>;
33
+ MenuProps?: Partial<import("@mui/material").MenuProps>;
34
+ }): JSX.Element;
35
+ displayName: string;
24
36
  };
25
- declare const DateRangeEditor: ({ label, values, options, getValuesDateRange, onChange, dataTypeDefinition, DateRangePickerProps, TextFieldProps, MenuProps, ...otherProps }: DateRangeEditorProps) => JSX.Element;
26
- export default DateRangeEditor;
37
+ export default _default;
@@ -20,83 +20,35 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import React, { useCallback, useMemo, useRef, useState } from 'react';
23
+ import React, { forwardRef } from 'react';
24
24
  import classnames from 'classnames';
25
- import moment from 'moment';
26
- import { identity, isNil, prop } from 'ramda';
27
- import { DataTypes, AllDateRangeValues, getRangeOptionLabel, getLocaleFormat } from '@reltio/mdm-sdk';
25
+ import { isNil } from 'ramda';
28
26
  import TextField from '@mui/material/TextField';
29
- import MenuItem from '@mui/material/MenuItem';
30
- import Typography from '@mui/material/Typography';
31
- import Menu from '@mui/material/Menu';
32
- import { getEditorValue, convertValuesToDate } from './helpers';
33
27
  import DropdownIndicatorWithIconButton from '../../commonReactSelectComponents/DropdownIndicatorWithIconButton';
34
- import DateRangePicker from '../../DateRangePicker/DateRangePicker';
28
+ import withDateRangeSelector from '../../../HOCs/withDateRangeSelector/withDateRangeSelector';
35
29
  import { useStyles } from './styles';
36
- var dateFormat = moment.localeData().longDateFormat('L');
37
- var DateRangeEditor = function (_a) {
30
+ var DateRangeEditor = forwardRef(function (_a, ref) {
38
31
  var _b, _c;
39
- var _d;
40
- var label = _a.label, values = _a.values, options = _a.options, _e = _a.getValuesDateRange, getValuesDateRange = _e === void 0 ? convertValuesToDate : _e, _f = _a.onChange, onChange = _f === void 0 ? identity : _f, _g = _a.dataTypeDefinition, dataTypeDefinition = _g === void 0 ? {
41
- type: DataTypes.TYPE_DATE
42
- } : _g, DateRangePickerProps = _a.DateRangePickerProps, TextFieldProps = _a.TextFieldProps, MenuProps = _a.MenuProps, otherProps = __rest(_a, ["label", "values", "options", "getValuesDateRange", "onChange", "dataTypeDefinition", "DateRangePickerProps", "TextFieldProps", "MenuProps"]);
43
- var classes = otherProps.classes;
44
- var isTimestamp = dataTypeDefinition.type === DataTypes.TYPE_TIMESTAMP;
45
- var enhancePlaceHolder = isTimestamp ? function (timeFormat) { return timeFormat.replace(/^[hH]:/, 'HH:'); } : identity;
46
- var placeholder = isTimestamp ? getLocaleFormat() : dateFormat;
47
- var rangeOptions = useMemo(function () {
48
- return options ||
49
- Object.values(AllDateRangeValues).map(function (option) { return ({ value: option, label: getRangeOptionLabel(option) }); });
50
- }, [options]);
51
- var inputRef = useRef(null);
52
- var _h = useState(false), open = _h[0], setOpen = _h[1];
53
- var _j = useState(), customValue = _j[0], setCustomValue = _j[1];
32
+ var label = _a.label, editorLabel = _a.editorLabel, editorPlaceholder = _a.editorPlaceholder, values = _a.values, TextFieldProps = _a.TextFieldProps, isPickingDate = _a.isPickingDate, isMenuOpen = _a.isMenuOpen, onMenuToggle = _a.onMenuToggle, otherProps = __rest(_a, ["label", "editorLabel", "editorPlaceholder", "values", "TextFieldProps", "isPickingDate", "isMenuOpen", "onMenuToggle"]);
54
33
  var styles = useStyles();
55
- var onItemClick = function (value) {
56
- if (value === AllDateRangeValues.PICK_DATE) {
57
- setCustomValue(value);
58
- }
59
- else {
60
- setOpen(false);
61
- setCustomValue(null);
62
- onChange(value);
63
- }
64
- };
65
- var handleToggle = useCallback(function () { return setOpen(function (open) { return !open; }); }, []);
66
- var onCancel = function () {
67
- setCustomValue(null);
68
- setOpen(false);
69
- };
70
- var editorPlaceholder = "".concat(enhancePlaceHolder(placeholder), " \u2014 ").concat(enhancePlaceHolder(placeholder)).toUpperCase();
71
- return (React.createElement(React.Fragment, null,
72
- React.createElement(TextField, __assign({}, TextFieldProps, otherProps, { label: label, value: (TextFieldProps === null || TextFieldProps === void 0 ? void 0 : TextFieldProps.value) ||
73
- ((_d = getEditorValue(placeholder, dataTypeDefinition, customValue || values, rangeOptions)) === null || _d === void 0 ? void 0 : _d.label), onClick: handleToggle, variant: "filled", size: "small", ref: inputRef, InputProps: __assign({ endAdornment: (React.createElement(DropdownIndicatorWithIconButton, { selectProps: {
74
- classes: {
75
- dropdownIndicator: classnames(styles.dropdownIndicator, classes === null || classes === void 0 ? void 0 : classes.dropdownIndicator)
76
- },
77
- menuIsOpen: open
78
- }, innerProps: {} })), classes: {
79
- root: classnames(styles.inputRoot, (_b = {}, _b[styles.uppercase] = !customValue && Array.isArray(values), _b)),
80
- underline: classnames((_c = {}, _c[styles.underline] = open, _c)),
81
- adornedEnd: styles.adornedEnd
82
- }, disableUnderline: isNil(values), readOnly: true }, TextFieldProps === null || TextFieldProps === void 0 ? void 0 : TextFieldProps.InputProps), InputLabelProps: {
83
- classes: {
84
- root: open ? styles.inputLabel : undefined
85
- },
86
- shrink: !isNil(label)
87
- }, placeholder: editorPlaceholder })),
88
- React.createElement(Menu, __assign({ variant: "menu", open: open, autoFocus: false, classes: { paper: styles.paper }, anchorEl: inputRef.current, onClose: onCancel, anchorOrigin: {
89
- vertical: 'bottom',
90
- horizontal: 'left'
91
- }, transformOrigin: {
92
- vertical: 'top',
93
- horizontal: 'left'
94
- }, elevation: 2, MenuListProps: {
95
- autoFocusItem: open,
96
- style: {
97
- width: customValue ? '100%' : prop('clientWidth', inputRef.current)
98
- }
99
- } }, MenuProps), customValue ? (React.createElement(DateRangePicker, __assign({ values: getValuesDateRange(values), onCancel: onCancel, onApply: onItemClick, type: dataTypeDefinition.type }, DateRangePickerProps))) : (rangeOptions.map(function (option) { return (React.createElement(MenuItem, { key: option.value, value: option.value, onClick: function () { return onItemClick(option.value); }, className: styles.menuItem },
100
- React.createElement(Typography, { classes: { root: styles.menuText } }, option.label))); })))));
101
- };
102
- export default DateRangeEditor;
34
+ var classes = otherProps.classes;
35
+ return (React.createElement(TextField, __assign({}, TextFieldProps, otherProps, { ref: ref, label: label, value: (TextFieldProps === null || TextFieldProps === void 0 ? void 0 : TextFieldProps.value) || editorLabel, onClick: onMenuToggle, variant: "filled", size: "small", InputProps: __assign({ endAdornment: (React.createElement(DropdownIndicatorWithIconButton, { selectProps: {
36
+ classes: {
37
+ dropdownIndicator: classnames(styles.dropdownIndicator, classes === null || classes === void 0 ? void 0 : classes.dropdownIndicator)
38
+ },
39
+ menuIsOpen: isMenuOpen
40
+ }, innerProps: {} })), classes: {
41
+ root: classnames(styles.inputRoot, (_b = {},
42
+ _b[styles.uppercase] = !isPickingDate && Array.isArray(values),
43
+ _b)),
44
+ underline: classnames((_c = {}, _c[styles.underline] = isMenuOpen, _c)),
45
+ adornedEnd: styles.adornedEnd
46
+ }, disableUnderline: isNil(values), readOnly: true }, TextFieldProps === null || TextFieldProps === void 0 ? void 0 : TextFieldProps.InputProps), InputLabelProps: {
47
+ classes: {
48
+ root: isMenuOpen ? styles.inputLabel : undefined
49
+ },
50
+ shrink: !isNil(label)
51
+ }, placeholder: editorPlaceholder })));
52
+ });
53
+ DateRangeEditor.displayName = 'DateRangeEditor';
54
+ export default withDateRangeSelector(DateRangeEditor);
@@ -1 +1 @@
1
- export const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"underline" | "uppercase" | "menuItem" | "inputRoot" | "adornedEnd" | "inputLabel" | "dropdownIndicator" | "paper" | "menuText">;
1
+ export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"underline" | "uppercase" | "inputLabel" | "adornedEnd" | "inputRoot" | "dropdownIndicator">;
@@ -5,18 +5,6 @@ export var useStyles = makeStyles(function (theme) { return ({
5
5
  cursor: 'pointer',
6
6
  color: 'rgba(0, 0, 0, 0.54)'
7
7
  },
8
- paper: {
9
- minWidth: '112px'
10
- },
11
- menuItem: {
12
- minHeight: '32px'
13
- },
14
- menuText: {
15
- color: theme.palette.text.primary,
16
- fontSize: '13px',
17
- lineHeight: '15px',
18
- letterSpacing: 0
19
- },
20
8
  underline: {
21
9
  '&:after': {
22
10
  transform: 'scaleX(1)'
@@ -1 +1 @@
1
- export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"underline" | "isCrossedOut" | "inputRoot" | "adornedEnd" | "iconButtonRoot" | "inputLabel">;
1
+ export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"underline" | "iconButtonRoot" | "inputLabel" | "adornedEnd" | "inputRoot" | "isCrossedOut">;
@@ -52,7 +52,7 @@ var DateRangeSelector = function (_a) {
52
52
  setInterval(emptyInterval);
53
53
  }
54
54
  }, [value]);
55
- return (React.createElement("div", { className: classnames(styles.root, className) },
55
+ return (React.createElement("div", { className: classnames(styles.root, className), "data-reltio-id": "date-range-selector" },
56
56
  React.createElement(Typography, { className: styles.title, variant: 'subtitle1' }, i18n.text('Date')),
57
57
  React.createElement("div", { className: styles.intervalContainer },
58
58
  React.createElement(SimpleDropDownSelector, { label: '', className: styles.typeInput, value: {
@@ -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: { classes: { root: styles.dropDownInput } }, components: {
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 Typography from '@mui/material/Typography';
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("div", { className: styles.filterContainer },
68
- React.createElement(Typography, { variant: "h6" }, i18n.text('Filter')),
69
- React.createElement("div", { className: styles.filterContainerScrollable },
70
- React.createElement(DateRangeSelector, { value: dateRange, onChange: handlePropChange('dateRange'), className: styles.filterItem }),
71
- React.createElement(UserSelector, { selectedUsers: users, onChange: handlePropChange('users'), className: styles.filterItem }),
72
- React.createElement(HistoryActivitySelector, { selectedHistoryActivityTypes: activities, onChange: handlePropChange('activities'), className: styles.filterItem }),
73
- React.createElement(AttributeSelector, { selectedAttributes: attributes, entityType: entityType, onChange: handlePropChange('attributes'), className: styles.filterItem, title: i18n.text('Attribute updated') }))),
74
- React.createElement("div", { className: styles.filterControls },
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" | "filterControls" | "clearButton" | "filterContainer" | "filterContainerScrollable" | "filterItem">;
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
- padding: 20,
12
- height: 410,
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
- marginTop: 15
21
- },
22
- filterControls: {
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" | "ideographic" | "alphabetic" | "hanging" | "mathematical" | "className" | "lang" | "tabIndex" | "role" | "color" | "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" | "fontWeight" | "cursor" | "display" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "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" | "href" | "media" | "target" | "min" | "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" | "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" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan" | "isDashed" | "isCollapsed" | "showCollapseIcon" | "showLine"> & React.RefAttributes<unknown>>;
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;