@reltio/dashboard 1.4.1682 → 1.4.1684

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.
@@ -4,6 +4,146 @@ object-assign
4
4
  @license MIT
5
5
  */
6
6
 
7
+ /*! Conditions:: INITIAL */
8
+
9
+ /*! Production:: css_value : ANGLE */
10
+
11
+ /*! Production:: css_value : CHS */
12
+
13
+ /*! Production:: css_value : EMS */
14
+
15
+ /*! Production:: css_value : EXS */
16
+
17
+ /*! Production:: css_value : FREQ */
18
+
19
+ /*! Production:: css_value : LENGTH */
20
+
21
+ /*! Production:: css_value : PERCENTAGE */
22
+
23
+ /*! Production:: css_value : REMS */
24
+
25
+ /*! Production:: css_value : RES */
26
+
27
+ /*! Production:: css_value : SUB css_value */
28
+
29
+ /*! Production:: css_value : TIME */
30
+
31
+ /*! Production:: css_value : VHS */
32
+
33
+ /*! Production:: css_value : VMAXS */
34
+
35
+ /*! Production:: css_value : VMINS */
36
+
37
+ /*! Production:: css_value : VWS */
38
+
39
+ /*! Production:: css_variable : CSS_VAR LPAREN CSS_CPROP COMMA math_expression RPAREN */
40
+
41
+ /*! Production:: css_variable : CSS_VAR LPAREN CSS_CPROP RPAREN */
42
+
43
+ /*! Production:: expression : math_expression EOF */
44
+
45
+ /*! Production:: math_expression : LPAREN math_expression RPAREN */
46
+
47
+ /*! Production:: math_expression : NESTED_CALC LPAREN math_expression RPAREN */
48
+
49
+ /*! Production:: math_expression : SUB PREFIX SUB NESTED_CALC LPAREN math_expression RPAREN */
50
+
51
+ /*! Production:: math_expression : css_value */
52
+
53
+ /*! Production:: math_expression : css_variable */
54
+
55
+ /*! Production:: math_expression : math_expression ADD math_expression */
56
+
57
+ /*! Production:: math_expression : math_expression DIV math_expression */
58
+
59
+ /*! Production:: math_expression : math_expression MUL math_expression */
60
+
61
+ /*! Production:: math_expression : math_expression SUB math_expression */
62
+
63
+ /*! Production:: math_expression : value */
64
+
65
+ /*! Production:: value : NUMBER */
66
+
67
+ /*! Production:: value : SUB NUMBER */
68
+
69
+ /*! Rule:: $ */
70
+
71
+ /*! Rule:: (--[0-9a-z-A-Z-]*) */
72
+
73
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)% */
74
+
75
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)Hz\b */
76
+
77
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)\b */
78
+
79
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)ch\b */
80
+
81
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)cm\b */
82
+
83
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)deg\b */
84
+
85
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)dpcm\b */
86
+
87
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)dpi\b */
88
+
89
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)dppx\b */
90
+
91
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)em\b */
92
+
93
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)ex\b */
94
+
95
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)grad\b */
96
+
97
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)in\b */
98
+
99
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)kHz\b */
100
+
101
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)mm\b */
102
+
103
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)ms\b */
104
+
105
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)pc\b */
106
+
107
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)pt\b */
108
+
109
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)px\b */
110
+
111
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)rad\b */
112
+
113
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)rem\b */
114
+
115
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)s\b */
116
+
117
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)turn\b */
118
+
119
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vh\b */
120
+
121
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vmax\b */
122
+
123
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vmin\b */
124
+
125
+ /*! Rule:: ([0-9]+(\.[0-9]*)?|\.[0-9]+)vw\b */
126
+
127
+ /*! Rule:: ([a-z]+) */
128
+
129
+ /*! Rule:: (calc) */
130
+
131
+ /*! Rule:: (var) */
132
+
133
+ /*! Rule:: , */
134
+
135
+ /*! Rule:: - */
136
+
137
+ /*! Rule:: \( */
138
+
139
+ /*! Rule:: \) */
140
+
141
+ /*! Rule:: \* */
142
+
143
+ /*! Rule:: \+ */
144
+
145
+ /*! Rule:: \/ */
146
+
7
147
  /*! decimal.js-light v2.5.1 https://github.com/MikeMcl/decimal.js-light/LICENCE */
8
148
 
9
149
  /**
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@reltio/dashboard",
3
- "version": "1.4.1682",
3
+ "version": "1.4.1684",
4
4
  "license": "SEE LICENSE IN LICENSE FILE",
5
5
  "main": "bundle.js",
6
6
  "types": "./types/index.d.ts",
7
7
  "dependencies": {
8
8
  "@date-io/moment": "^1.3.5",
9
- "@reltio/mdm-module": "^1.4.1682",
10
- "@reltio/mdm-sdk": "^1.4.1682",
9
+ "@reltio/mdm-module": "^1.4.1684",
10
+ "@reltio/mdm-sdk": "^1.4.1684",
11
11
  "classnames": "^2.2.5",
12
12
  "memoize-one": "^5.1.0",
13
13
  "object-hash": "^2.1.1",
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { LegendProps } from 'recharts';
3
- type Props = LegendProps & {
3
+ type Props = Omit<LegendProps, 'onClick'> & {
4
+ onClick: (event: string) => void;
4
5
  selectedItems: string[];
5
6
  };
6
7
  declare const CustomLegend: ({ payload, selectedItems, onClick }: Props) => JSX.Element;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { TooltipProps } from 'recharts';
3
3
  import { PeriodStep } from '../../../types/PeriodStep';
4
- type Props = TooltipProps & {
4
+ type Props = TooltipProps<number, string> & {
5
5
  step: PeriodStep;
6
6
  events: string[];
7
7
  };
@@ -2,10 +2,10 @@ import { CartesianGridProps, LegendProps, LineProps, TooltipProps, XAxisProps, Y
2
2
  type StatsChartSettings = {
3
3
  xAxis: XAxisProps;
4
4
  yAxis: YAxisProps;
5
- cartesianGrid: CartesianGridProps;
6
- tooltip: TooltipProps;
7
- line: LineProps;
8
- legend: LegendProps;
5
+ cartesianGrid: Omit<CartesianGridProps, 'ref'>;
6
+ tooltip: TooltipProps<number, string>;
7
+ line: Omit<LineProps, 'ref'>;
8
+ legend: Omit<LegendProps, 'ref'>;
9
9
  };
10
10
  declare const getStatsChartSettings: () => StatsChartSettings;
11
11
  export default getStatsChartSettings;
@@ -1,6 +1,6 @@
1
1
  import { DatePeriod } from '@reltio/mdm-sdk';
2
2
  import { StatsData } from '../types/StatsData';
3
- import { AxisDomain } from 'recharts';
3
+ import { YAxisProps } from 'recharts';
4
4
  declare const StatsEvents: {
5
5
  id: string;
6
6
  types: string[];
@@ -11,5 +11,5 @@ declare const getStatsEventName: any;
11
11
  declare const getStatsEventColor: any;
12
12
  declare const requestStats: (period: DatePeriod) => Promise<StatsData[]>;
13
13
  declare const calibrateStatsData: any;
14
- declare const getChartDomain: (chartData: StatsData[], tickCount: number) => [AxisDomain, AxisDomain];
14
+ declare const getChartDomain: (chartData: StatsData[], tickCount: number) => YAxisProps['domain'];
15
15
  export { StatsEvents, requestStats, getStatsEventName, getStatsEventColor, calibrateStatsData, getChartDomain };