@insync-stageplayer/measurements 0.5.37 → 0.6.0

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 (113) hide show
  1. package/lib/AsyncSubject.d.ts +23 -23
  2. package/lib/AsyncSubject.js +64 -64
  3. package/lib/client/MeasurementDataClient.d.ts +135 -130
  4. package/lib/client/MeasurementDataClient.d.ts.map +1 -1
  5. package/lib/client/MeasurementDataClient.js +99 -99
  6. package/lib/client/MeasurementDataClient.js.map +1 -1
  7. package/lib/client/OnlineMeasurementDataClient.d.ts +44 -44
  8. package/lib/client/OnlineMeasurementDataClient.d.ts.map +1 -1
  9. package/lib/client/OnlineMeasurementDataClient.js +211 -211
  10. package/lib/client/OnlineMeasurementDataClient.js.map +1 -1
  11. package/lib/client/debug.d.ts +1 -1
  12. package/lib/client/debug.js +4 -4
  13. package/lib/client/index.d.ts +3 -3
  14. package/lib/client/index.js +3 -3
  15. package/lib/client/offline/OfflineMeasurementDataClient.d.ts +16 -16
  16. package/lib/client/offline/OfflineMeasurementDataClient.js +47 -47
  17. package/lib/client/offline/offline.d.ts +16 -16
  18. package/lib/client/offline/offline.js +82 -82
  19. package/lib/client/sbf.d.ts +35 -35
  20. package/lib/client/sbf.js +88 -88
  21. package/lib/client/signalviewer/SignalViewerDataClient.d.ts +37 -37
  22. package/lib/client/signalviewer/SignalViewerDataClient.d.ts.map +1 -1
  23. package/lib/client/signalviewer/SignalViewerDataClient.js +163 -164
  24. package/lib/client/signalviewer/SignalViewerDataClient.js.map +1 -1
  25. package/lib/client/signalviewer/SignalViewerDataClient.worker.d.ts +79 -73
  26. package/lib/client/signalviewer/SignalViewerDataClient.worker.d.ts.map +1 -1
  27. package/lib/client/signalviewer/SignalViewerDataClient.worker.js +342 -211
  28. package/lib/client/signalviewer/SignalViewerDataClient.worker.js.map +1 -1
  29. package/lib/components/Icon/CloseIcon.d.ts +6 -6
  30. package/lib/components/Icon/CloseIcon.js +24 -24
  31. package/lib/components/Icon/Icon.test.d.ts +1 -1
  32. package/lib/components/Icon/Icon.test.js +11 -11
  33. package/lib/components/MeasurementsChooser.d.ts +38 -38
  34. package/lib/components/MeasurementsChooser.d.ts.map +1 -1
  35. package/lib/components/MeasurementsChooser.js +178 -181
  36. package/lib/components/MeasurementsChooser.js.map +1 -1
  37. package/lib/components/MeasurementsModuleProvider.d.ts +34 -34
  38. package/lib/components/MeasurementsModuleProvider.d.ts.map +1 -1
  39. package/lib/components/MeasurementsModuleProvider.js +100 -79
  40. package/lib/components/MeasurementsModuleProvider.js.map +1 -1
  41. package/lib/components/MeasurementsTable/CheckboxCell.d.ts +35 -35
  42. package/lib/components/MeasurementsTable/CheckboxCell.js +28 -28
  43. package/lib/components/MeasurementsTable/ColorCell.d.ts +29 -29
  44. package/lib/components/MeasurementsTable/ColorCell.d.ts.map +1 -1
  45. package/lib/components/MeasurementsTable/ColorCell.js +58 -58
  46. package/lib/components/MeasurementsTable/ColorPicker.d.ts +6 -3
  47. package/lib/components/MeasurementsTable/ColorPicker.d.ts.map +1 -1
  48. package/lib/components/MeasurementsTable/ColorPicker.js +10 -10
  49. package/lib/components/MeasurementsTable/ColumnResizer.d.ts +4 -4
  50. package/lib/components/MeasurementsTable/ColumnResizer.js +5 -5
  51. package/lib/components/MeasurementsTable/ColumnSorting.d.ts +13 -13
  52. package/lib/components/MeasurementsTable/ColumnSorting.d.ts.map +1 -1
  53. package/lib/components/MeasurementsTable/ColumnSorting.js +10 -10
  54. package/lib/components/MeasurementsTable/MeasurementsTable.d.ts +72 -72
  55. package/lib/components/MeasurementsTable/MeasurementsTable.d.ts.map +1 -1
  56. package/lib/components/MeasurementsTable/MeasurementsTable.js +229 -217
  57. package/lib/components/MeasurementsTable/MeasurementsTable.js.map +1 -1
  58. package/lib/components/MeasurementsTable/MeasurementsTable.test.d.ts +1 -1
  59. package/lib/components/MeasurementsTable/MeasurementsTable.test.js +102 -102
  60. package/lib/components/MeasurementsTable/MeasurementsTableNoldus.d.ts +72 -72
  61. package/lib/components/MeasurementsTable/MeasurementsTableNoldus.d.ts.map +1 -1
  62. package/lib/components/MeasurementsTable/MeasurementsTableNoldus.js +193 -193
  63. package/lib/components/MeasurementsTable/SelectedContext.d.ts +10 -10
  64. package/lib/components/MeasurementsTable/SelectedContext.js +10 -10
  65. package/lib/components/MeasurementsTable/TextColumnFilter.d.ts +8 -8
  66. package/lib/components/MeasurementsTable/TextColumnFilter.d.ts.map +1 -1
  67. package/lib/components/MeasurementsTable/TextColumnFilter.js +15 -15
  68. package/lib/components/MeasurementsTable/filters.d.ts +3 -3
  69. package/lib/components/MeasurementsTable/filters.js +9 -9
  70. package/lib/components/MeasurementsTable/index.d.ts +2 -2
  71. package/lib/components/MeasurementsTable/index.js +2 -2
  72. package/lib/components/ModalMeasurementChooser.d.ts +19 -19
  73. package/lib/components/ModalMeasurementChooser.js +35 -35
  74. package/lib/conversion/UnitConversion.d.ts +13 -0
  75. package/lib/conversion/UnitConversion.d.ts.map +1 -0
  76. package/lib/conversion/UnitConversion.js +266 -0
  77. package/lib/conversion/UnitConversion.js.map +1 -0
  78. package/lib/hooks/useMarkerData.d.ts +6 -4
  79. package/lib/hooks/useMarkerData.d.ts.map +1 -1
  80. package/lib/hooks/useMarkerData.js +93 -63
  81. package/lib/hooks/useMarkerData.js.map +1 -1
  82. package/lib/hooks/useMeasurement.d.ts +41 -17
  83. package/lib/hooks/useMeasurement.d.ts.map +1 -1
  84. package/lib/hooks/useMeasurement.js +41 -41
  85. package/lib/hooks/useMeasurements.d.ts +11 -11
  86. package/lib/hooks/useMeasurements.js +22 -22
  87. package/lib/hooks/useMeasurementsModule.d.ts +20 -20
  88. package/lib/hooks/useMeasurementsModule.js +12 -12
  89. package/lib/hooks/useOverlayMeasurementData.d.ts +1 -1
  90. package/lib/hooks/useOverlayMeasurementData.js +23 -23
  91. package/lib/hooks/useTimedMeasurementData.d.ts +26 -26
  92. package/lib/hooks/useTimedMeasurementData.d.ts.map +1 -1
  93. package/lib/hooks/useTimedMeasurementData.js +125 -125
  94. package/lib/hooks/useTimedMeasurementData.js.map +1 -1
  95. package/lib/hooks/useWindowedMeasurementData.d.ts +25 -25
  96. package/lib/hooks/useWindowedMeasurementData.d.ts.map +1 -1
  97. package/lib/hooks/useWindowedMeasurementData.js +120 -120
  98. package/lib/hooks/useWindowedMeasurementData.js.map +1 -1
  99. package/lib/index.d.ts +15 -14
  100. package/lib/index.d.ts.map +1 -1
  101. package/lib/index.js +15 -14
  102. package/lib/index.js.map +1 -1
  103. package/lib/redux/measurements.slice.d.ts +75 -122
  104. package/lib/redux/measurements.slice.d.ts.map +1 -1
  105. package/lib/redux/measurements.slice.js +90 -89
  106. package/lib/redux/measurements.slice.js.map +1 -1
  107. package/lib/redux/reducer.d.ts +3 -10
  108. package/lib/redux/reducer.d.ts.map +1 -1
  109. package/lib/redux/reducer.js +2 -2
  110. package/lib/redux/reducer.js.map +1 -1
  111. package/lib/types.d.ts +93 -93
  112. package/lib/types.js +51 -51
  113. package/package.json +7 -10
@@ -1,88 +1,96 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- /**
13
- * A component that displays a list of measurements. Provides searching/sorting/selecting capabilities.
14
- *
15
- * Also allows a user to change the colors of measurements.
16
- */
17
- import React, { useMemo, useCallback, useState } from "react";
18
- import { useTable, useFilters, useFlexLayout, useResizeColumns, useSortBy, } from "react-table";
19
- import styled from "styled-components";
20
- import { ColorCell } from "./ColorCell";
21
- import { SelectedContext } from "./SelectedContext";
22
- import { CheckboxCell } from "./CheckboxCell";
23
- import * as filters from "./filters";
24
- import { TextColumnFilter } from "./TextColumnFilter";
25
- import { ColumnResizer } from "./ColumnResizer";
26
- import { useScrollbarWidth } from "react-use/lib/useScrollbarWidth";
27
- import { ColumnSorting } from "./ColumnSorting";
28
- import "bootstrap/dist/css/bootstrap.css";
29
- /**
30
- * Toggles a value inside an array. If a value is present in the array, it will be removed, if not
31
- * it will be added.
32
- * @param arr The array to toggle the value in.
33
- * @param v The value being toggled.
34
- * @returns
35
- */
36
- const toggle = (arr, v) => {
37
- if (arr.indexOf(v) === -1) {
38
- return [...arr, v];
39
- }
40
- else {
41
- return arr.filter((cv) => cv !== v);
42
- }
43
- };
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ /**
13
+ * A component that displays a list of measurements. Provides searching/sorting/selecting capabilities.
14
+ *
15
+ * Also allows a user to change the colors of measurements.
16
+ */
17
+ import React, { useMemo, useCallback, useState } from "react";
18
+ import { useTable, useFilters, useFlexLayout, useResizeColumns, useSortBy, } from "react-table";
19
+ import styled from "styled-components";
20
+ import { ColorCell } from "./ColorCell";
21
+ import { SelectedContext } from "./SelectedContext";
22
+ import { CheckboxCell } from "./CheckboxCell";
23
+ import * as filters from "./filters";
24
+ import { TextColumnFilter } from "./TextColumnFilter";
25
+ import { ColumnResizer } from "./ColumnResizer";
26
+ import { useScrollbarWidth } from "react-use/lib/useScrollbarWidth";
27
+ import { ColumnSorting } from "./ColumnSorting";
28
+ import "bootstrap/dist/css/bootstrap.css";
29
+ /**
30
+ * Toggles a value inside an array. If a value is present in the array, it will be removed, if not
31
+ * it will be added.
32
+ * @param arr The array to toggle the value in.
33
+ * @param v The value being toggled.
34
+ * @returns
35
+ */
36
+ const toggle = (arr, v) => {
37
+ if (arr.indexOf(v) === -1) {
38
+ return [...arr, v];
39
+ }
40
+ else {
41
+ return arr.filter((cv) => cv !== v);
42
+ }
43
+ };
44
44
  const Table = styled.div `
45
45
  display: flex;
46
46
  flex-direction: column;
47
- `;
48
- const TableHead = styled.div `
49
- border-top: 1px solid ${(props) => props.theme.colors.accent};
50
- overflow-y: scroll;
51
- `;
47
+ position: relative;
48
+ padding-top: 81px;
49
+ height: 100%;
50
+ `;
51
+ const TableHeaderWrapper = styled.div `
52
+ position: absolute;
53
+ top: 0;
54
+ width: 100%;
55
+ min-height: 81px;
56
+ `;
57
+ // const TableHead = styled.div<{ scrollbarWidth: number | undefined }>`
58
+ // border-top: 1px solid ${(props) => props.theme.colors.accent};
59
+ // overflow-y: scroll;
60
+ // `;
52
61
  const Tr = styled.div `
53
62
  line-height: 1.5em;
54
63
  &:hover {
55
64
  background-color: ${(props) => !props.selected ? props.theme.colors.action.selected : undefined};
56
65
  }
57
- ${(props) => props.selected
58
- ? `background-color: ${props.theme.colors.action.selected}`
66
+ ${(props) => props.selected
67
+ ? `background-color: ${props.theme.colors.action.selected}`
59
68
  : undefined};
60
- `;
69
+ `;
61
70
  const TableBody = styled.div `
62
71
  max-height: 100%;
63
- `;
72
+ `;
64
73
  const TableBodyContainer = styled.div `
65
74
  flex: 1;
66
75
  overflow-y: scroll;
67
- scrollbar-width: thin;
68
- `;
76
+ `;
69
77
  const Cell = styled.div `
70
78
  border: 1px solid ${(props) => props.theme.colors.accent};
71
- `;
79
+ `;
72
80
  const Td = styled(Cell) `
73
81
  padding: 0 0.5em 0 0.5em;
74
82
  display: flex;
75
83
  align-items: center;
76
- `;
84
+ `;
77
85
  const Truncated = styled.div `
78
86
  display: block;
79
87
  white-space: nowrap;
80
88
  overflow: hidden;
81
89
  text-overflow: ellipsis;
82
- `;
90
+ `;
83
91
  const StyledTextColumnFilter = styled(TextColumnFilter) `
84
92
  width: 100%;
85
- `;
93
+ `;
86
94
  const Th = styled(Cell) `
87
95
  padding: 0 0.5em 0.5em 0.5em;
88
96
  display: flex;
@@ -91,165 +99,169 @@ const Th = styled(Cell) `
91
99
  &:last-child {
92
100
  border-right: 2px solid ${(props) => props.theme.colors.accent};
93
101
  }
94
- `;
102
+ `;
95
103
  const ColumnHeader = styled.div `
96
104
  user-select: none;
97
- `;
98
- /**
99
- * Definitions for the filters, please check https://react-table.tanstack.com/docs/api/useFilters#table-options
100
- */
101
- const filterTypes = {
102
- text: filters.textFilter,
103
- };
104
- /**
105
- * The initial state of the table.
106
- */
107
- const initialState = {
108
- // Sorting by the measurement name.
109
- sortBy: [{ id: "stageplayer_name_filter", desc: false }],
110
- };
111
- /**
112
- * Convenience function for quickly creating a non-selectable column definition for react table.
113
- * @param options
114
- * @returns
115
- */
116
- const createColumn = (options) => (Object.assign({ Filter: StyledTextColumnFilter, selectable: true }, options));
117
- const defaultOnChange = () => { };
118
- /**
119
- * A component to render a list of measurements in a table. This table provides functionalities like:
120
- *
121
- * Please read up here https://react-table.tanstack.com/ for more information as to how this component works internally.
122
- *
123
- * - Sorting
124
- * - Resizable columns
125
- * - Changing measurement colors
126
- * - Searching measurements
127
- * - Selecting measurements
128
- * @param props
129
- * @returns
130
- */
131
- export const MeasurementsTable = (props) => {
132
- const { selected = [], yAxisLeftSelected = [], measurements, onChange = defaultOnChange, onColorChange, onYAxisPosChange, widths, single, formatFrequency, globallyUniqueMeasurementColors, dataViewerId } = props, rest = __rest(props, ["selected", "yAxisLeftSelected", "measurements", "onChange", "onColorChange", "onYAxisPosChange", "widths", "single", "formatFrequency", "globallyUniqueMeasurementColors", "dataViewerId"]);
133
- const [showColorPicker, setShowColorPicker] = useState();
134
- const [selectedDataScaleValue, setSelectedDataScaleValue] = useState(0);
135
- // This doesn't work correctly, the column separators between the top row and rest don't align nicely.
136
- const scrollbarWidth = useScrollbarWidth();
137
- const widthProps = useCallback((index, defaultVal = undefined) => {
138
- return widths && widths[index] !== -1
139
- ? { width: widths[index], minWidth: widths[index] }
140
- : defaultVal
141
- ? { width: defaultVal, minWidth: defaultVal }
142
- : {};
143
- }, [widths]);
144
- const columns = useMemo(() => [
145
- createColumn(Object.assign({ Header: React.createElement("div", { "aria-label": "Active" }), accessor: "id", Cell: (data) => {
146
- return (React.createElement(CheckboxCell, { id: data.value, rowToDisable: selected.length !== 0 &&
147
- data.row.original.dataScale !== selectedDataScaleValue }));
148
- }, disableFilters: true, disableResizing: true, disableSortBy: true, maxWidth: 30 }, widthProps(0, 35))),
149
- createColumn(Object.assign({ id: "stageplayer_name_filter", Header: "Name", accessor: "name" }, widthProps(1))),
150
- createColumn(Object.assign({ Header: "Unit", accessor: "unit" }, widthProps(2, 35))),
151
- createColumn(Object.assign({ Header: "Min", accessor: "min" }, widthProps(3, 50))),
152
- createColumn(Object.assign({ Header: "Max", accessor: "max" }, widthProps(4, 50))),
153
- createColumn(Object.assign({ Header: "Data Scale", accessor: "dataScale" }, widthProps(4, 50))),
154
- createColumn(Object.assign({ Header: "Sample Rate", id: "sampleRate", accessor: "frequency", Cell: (data) => {
155
- return formatFrequency ? formatFrequency(data.value) : data.value;
156
- }, readable: "sample rate", disableFilters: true }, widthProps(5, 100))),
157
- createColumn(Object.assign(Object.assign({ Header: React.createElement("div", { "aria-label": "Color" }), accessor: "color", Cell: (data) => {
158
- const measurementColor = !globallyUniqueMeasurementColors &&
159
- data.row.original.colorPerDataViewer
160
- ? data.row.original.colorPerDataViewer.byId[dataViewerId]
161
- : data.value;
162
- return (React.createElement(ColorCell, { showColorPicker: data.row.id === showColorPicker, color: measurementColor, onChangeColorPickerVisibility: (shouldShow) => {
163
- if (shouldShow) {
164
- setShowColorPicker(data.row.id);
165
- }
166
- else if (data.row.id === showColorPicker) {
167
- setShowColorPicker(undefined);
168
- }
169
- }, onChange: (clr) => {
170
- onColorChange && onColorChange(data.row.original.id, clr);
171
- } }));
172
- }, disableFilters: true }, widthProps(6, 36)), { disableResizing: true, disableSortBy: true, selectable: false })),
173
- ], [
174
- onColorChange,
175
- widthProps,
176
- showColorPicker,
177
- formatFrequency,
178
- globallyUniqueMeasurementColors,
179
- dataViewerId,
180
- selected.length,
181
- selectedDataScaleValue,
182
- ]);
183
- const { getTableProps, getTableBodyProps, headerGroups, rows, prepareRow } = useTable({
184
- columns,
185
- data: measurements,
186
- filterTypes,
187
- initialState,
188
- disableSortRemove: true,
189
- autoResetSortBy: false,
190
- autoResetFilters: false,
191
- }, useFilters, useFlexLayout, useResizeColumns, useSortBy);
192
- return (
193
- // apply the table props
194
- React.createElement(SelectedContext.Provider, { value: { single, selected, yAxisLeftSelected: [], onChange } },
195
- React.createElement(Table, Object.assign({}, getTableProps(), rest),
196
- React.createElement(TableHead, { scrollbarWidth: scrollbarWidth }, headerGroups.map((headerGroup) => (React.createElement("div", Object.assign({}, headerGroup.getHeaderGroupProps()), headerGroup.headers.map((column) => (React.createElement(Th, Object.assign({}, column.getHeaderProps()),
197
- React.createElement(ColumnHeader, Object.assign({}, column.getSortByToggleProps(), { role: "button" }),
198
- column.render("Header"),
199
- React.createElement(ColumnSorting, { column: column })),
200
- column.canFilter && React.createElement("div", null, column.render("Filter")),
201
- column.getResizerProps ? (React.createElement(ColumnResizer, Object.assign({}, column.getResizerProps(), { resizing: column.isResizing }))) : null))))))),
202
- React.createElement(TableBodyContainer, null,
203
- React.createElement(TableBody, Object.assign({}, getTableBodyProps()), rows.map((row, i) => {
204
- prepareRow(row);
205
- if (selected.indexOf(row.values.id) !== -1 &&
206
- selectedDataScaleValue !== row.original.dataScale) {
207
- setSelectedDataScaleValue(row.original.dataScale);
208
- }
209
- return (React.createElement(Tr, Object.assign({}, row.getRowProps(), { tabIndex: 0, selected: selected.indexOf(row.values.id) !== -1, onKeyDown: (e) => {
210
- if (e.key === "Enter" &&
211
- (selected.length === 0 ||
212
- row.original.dataScale === selectedDataScaleValue)) {
213
- onChange && onChange(toggle(selected, row.values.id));
214
- }
215
- else if (e.key === "ArrowDown") {
216
- const target = e.target;
217
- if (target instanceof HTMLElement &&
218
- target.nextSibling instanceof HTMLElement) {
219
- e.preventDefault();
220
- e.stopPropagation();
221
- target.nextSibling.focus();
222
- }
223
- }
224
- else if (e.key === "ArrowUp") {
225
- const target = e.target;
226
- if (target instanceof HTMLElement &&
227
- target.previousSibling instanceof HTMLElement) {
228
- e.preventDefault();
229
- e.stopPropagation();
230
- target.previousSibling.focus();
231
- }
232
- }
233
- } }), row.cells.map((cell) => {
234
- const clickHandler = () => {
235
- if (selected.length === 0 ||
236
- cell.row.original.dataScale === selectedDataScaleValue) {
237
- if (cell.column.id === "yaxisLeftPos" &&
238
- onYAxisPosChange) {
239
- onYAxisPosChange(single
240
- ? [cell.row.original.id]
241
- : toggle(selected, cell.row.original.id));
242
- }
243
- else if (cell.column.selectable && onChange) {
244
- onChange(single
245
- ? [cell.row.original.id]
246
- : toggle(selected, cell.row.original.id));
247
- }
248
- }
249
- };
250
- return (React.createElement(Td, Object.assign({}, cell.getCellProps(), { onClick: clickHandler }),
251
- React.createElement(Truncated, { title: cell.value }, cell.render("Cell"))));
252
- })));
253
- }))))));
254
- };
105
+ `;
106
+ /**
107
+ * Definitions for the filters, please check https://react-table.tanstack.com/docs/api/useFilters#table-options
108
+ */
109
+ const filterTypes = {
110
+ text: filters.textFilter,
111
+ };
112
+ /**
113
+ * The initial state of the table.
114
+ */
115
+ const initialState = {
116
+ // Sorting by the measurement name.
117
+ sortBy: [{ id: "stageplayer_name_filter", desc: false }],
118
+ };
119
+ /**
120
+ * Convenience function for quickly creating a non-selectable column definition for react table.
121
+ * @param options
122
+ * @returns
123
+ */
124
+ const createColumn = (options) => (Object.assign({ Filter: StyledTextColumnFilter, selectable: true }, options));
125
+ const defaultOnChange = () => { };
126
+ /**
127
+ * A component to render a list of measurements in a table. This table provides functionalities like:
128
+ *
129
+ * Please read up here https://react-table.tanstack.com/ for more information as to how this component works internally.
130
+ *
131
+ * - Sorting
132
+ * - Resizable columns
133
+ * - Changing measurement colors
134
+ * - Searching measurements
135
+ * - Selecting measurements
136
+ * @param props
137
+ * @returns
138
+ */
139
+ export const MeasurementsTable = (props) => {
140
+ const { selected = [], yAxisLeftSelected = [], measurements, onChange = defaultOnChange, onColorChange, onYAxisPosChange, widths, single, formatFrequency, globallyUniqueMeasurementColors, dataViewerId } = props, rest = __rest(props, ["selected", "yAxisLeftSelected", "measurements", "onChange", "onColorChange", "onYAxisPosChange", "widths", "single", "formatFrequency", "globallyUniqueMeasurementColors", "dataViewerId"]);
141
+ const [showColorPicker, setShowColorPicker] = useState();
142
+ const [selectedDataScaleValue, setSelectedDataScaleValue] = useState(1);
143
+ // This doesn't work correctly, the column separators between the top row and rest don't align nicely.
144
+ const scrollbarWidth = useScrollbarWidth();
145
+ const widthProps = useCallback((index, defaultVal = undefined) => {
146
+ return widths && widths[index] !== -1
147
+ ? { width: widths[index], minWidth: widths[index] }
148
+ : defaultVal
149
+ ? { width: defaultVal, minWidth: defaultVal }
150
+ : {};
151
+ }, [widths]);
152
+ const columns = useMemo(() => [
153
+ createColumn(Object.assign({ Header: React.createElement("div", { "aria-label": "Active" }), accessor: "id", Cell: (data) => {
154
+ return (React.createElement(CheckboxCell, { id: data.value, rowToDisable: selected.length !== 0 &&
155
+ data.row.original.dataScale !== selectedDataScaleValue }));
156
+ }, disableFilters: true, disableResizing: true, disableSortBy: true, maxWidth: 30 }, widthProps(0, 35))),
157
+ createColumn(Object.assign({ id: "stageplayer_name_filter", Header: "Name", accessor: "name" }, widthProps(1))),
158
+ createColumn(Object.assign({ Header: "Unit", accessor: "unit" }, widthProps(2, 35))),
159
+ createColumn(Object.assign({ Header: "Min", accessor: "min" }, widthProps(3, 50))),
160
+ createColumn(Object.assign({ Header: "Max", accessor: "max" }, widthProps(4, 50))),
161
+ createColumn(Object.assign({ Header: "Data Scale", accessor: "dataScale" }, widthProps(4, 50))),
162
+ createColumn(Object.assign({ Header: "Sample Rate", id: "sampleRate", accessor: "frequency", Cell: (data) => {
163
+ return formatFrequency ? formatFrequency(data.value) : data.value;
164
+ }, readable: "sample rate", disableFilters: true }, widthProps(5, 100))),
165
+ createColumn(Object.assign(Object.assign({ Header: React.createElement("div", { "aria-label": "Color" }), accessor: "color", Cell: (data) => {
166
+ const measurementColor = !globallyUniqueMeasurementColors &&
167
+ data.row.original.colorPerDataViewer
168
+ ? data.row.original.colorPerDataViewer.byId[dataViewerId]
169
+ : data.value;
170
+ return (React.createElement(ColorCell, { showColorPicker: data.row.id === showColorPicker, color: measurementColor, onChangeColorPickerVisibility: (shouldShow) => {
171
+ if (shouldShow) {
172
+ setShowColorPicker(data.row.id);
173
+ }
174
+ else if (data.row.id === showColorPicker) {
175
+ setShowColorPicker(undefined);
176
+ }
177
+ }, onChange: (clr) => {
178
+ onColorChange && onColorChange(data.row.original.id, clr);
179
+ } }));
180
+ }, disableFilters: true }, widthProps(6, 36)), { disableResizing: true, disableSortBy: true, selectable: false })),
181
+ ], [
182
+ onColorChange,
183
+ widthProps,
184
+ showColorPicker,
185
+ formatFrequency,
186
+ globallyUniqueMeasurementColors,
187
+ dataViewerId,
188
+ selected.length,
189
+ selectedDataScaleValue,
190
+ ]);
191
+ const { getTableProps, getTableBodyProps, headerGroups, rows, prepareRow } = useTable({
192
+ columns,
193
+ data: measurements,
194
+ filterTypes,
195
+ initialState,
196
+ disableSortRemove: true,
197
+ autoResetSortBy: false,
198
+ autoResetFilters: false,
199
+ }, useFilters, useFlexLayout, useResizeColumns, useSortBy);
200
+ return (
201
+ // apply the table props
202
+ React.createElement(SelectedContext.Provider, { value: { single, selected, yAxisLeftSelected: [], onChange } },
203
+ React.createElement(Table, Object.assign({}, getTableProps(), rest),
204
+ React.createElement("div", null, headerGroups.map((headerGroup) => (React.createElement(TableHeaderWrapper, Object.assign({}, headerGroup.getHeaderGroupProps()), headerGroup.headers.map((column) => (React.createElement(Th, Object.assign({}, column.getHeaderProps()),
205
+ React.createElement(ColumnHeader, Object.assign({}, column.getSortByToggleProps(), { role: "button" }),
206
+ column.render("Header"),
207
+ React.createElement(ColumnSorting, { column: column })),
208
+ column.canFilter && React.createElement("div", null, column.render("Filter")),
209
+ column.getResizerProps ? (React.createElement(ColumnResizer, Object.assign({}, column.getResizerProps(), { resizing: column.isResizing }))) : null))))))),
210
+ React.createElement(TableBodyContainer, null,
211
+ React.createElement(TableBody, Object.assign({}, getTableBodyProps()), rows.map((row, i) => {
212
+ prepareRow(row);
213
+ if (selected.indexOf(row.values.id) !== -1 &&
214
+ selectedDataScaleValue !== row.original.dataScale) {
215
+ setSelectedDataScaleValue(row.original.dataScale);
216
+ }
217
+ return (React.createElement(Tr, Object.assign({}, row.getRowProps(), { tabIndex: 0, selected: selected.indexOf(row.values.id) !== -1, onKeyDown: (e) => {
218
+ if (e.key === "Enter" &&
219
+ (selected.length === 0 ||
220
+ row.original.dataScale === selectedDataScaleValue)) {
221
+ onChange && onChange(toggle(selected, row.values.id));
222
+ }
223
+ else if (e.key === "ArrowDown") {
224
+ const target = e.target;
225
+ if (target instanceof HTMLElement &&
226
+ target.nextSibling instanceof HTMLElement) {
227
+ e.preventDefault();
228
+ e.stopPropagation();
229
+ target.nextSibling.focus();
230
+ }
231
+ }
232
+ else if (e.key === "ArrowUp") {
233
+ const target = e.target;
234
+ if (target instanceof HTMLElement &&
235
+ target.previousSibling instanceof HTMLElement) {
236
+ e.preventDefault();
237
+ e.stopPropagation();
238
+ target.previousSibling.focus();
239
+ }
240
+ }
241
+ } }), row.cells.map((cell) => {
242
+ const clickHandler = () => {
243
+ if (selected.length === 0 ||
244
+ cell.row.original.dataScale === selectedDataScaleValue) {
245
+ if (cell.column.id === "yaxisLeftPos" &&
246
+ onYAxisPosChange) {
247
+ onYAxisPosChange(single
248
+ ? [cell.row.original.id]
249
+ : toggle(selected, cell.row.original.id));
250
+ }
251
+ else if (cell.column.selectable && onChange) {
252
+ onChange(single
253
+ ? [cell.row.original.id]
254
+ : toggle(selected, cell.row.original.id));
255
+ }
256
+ }
257
+ };
258
+ return (React.createElement(Td, Object.assign({}, cell.getCellProps(), { onClick: clickHandler }),
259
+ React.createElement(Truncated, { title: cell.value }, cell.column.Header == "Name"
260
+ ? cell.value.substring(cell.value.lastIndexOf(".") > -1
261
+ ? cell.value.lastIndexOf(".") + 1
262
+ : 0)
263
+ : cell.render("Cell"))));
264
+ })));
265
+ }))))));
266
+ };
255
267
  //# sourceMappingURL=MeasurementsTable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MeasurementsTable.js","sourceRoot":"","sources":["../../../src/components/MeasurementsTable/MeasurementsTable.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,EACL,QAAQ,EAER,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,SAAS,GACV,MAAM,aAAa,CAAC;AACrB,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,OAAO,kCAAkC,CAAC;AAuD1C;;;;;;GAMG;AACH,MAAM,MAAM,GAA+B,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE;IACpD,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAA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cAAc;oCACjC,gBAAgB,EAChB;oCACA,gBAAgB,CACd,MAAM;wCACJ,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;wCACxB,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAC3C,CAAC;iCACH;qCAAM,IAAI,IAAI,CAAC,MAAM,CAAC,UAAU,IAAI,QAAQ,EAAE;oCAC7C,QAAQ,CACN,MAAM;wCACJ,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;wCACxB,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAC3C,CAAC;iCACH;6BACF;wBACH,CAAC,CAAC;wBACF,OAAO,CACL,oBAAC,EAAE,oBAAK,IAAI,CAAC,YAAY,EAAE,IAAE,OAAO,EAAE,YAAY;4BAChD,oBAAC,SAAS,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,IACzB,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CACV,CACT,CACN,CAAC;oBACJ,CAAC,CAAC,CACC,CACN,CAAC;gBACJ,CAAC,CAAC,CACQ,CACO,CACf,CACiB,CAC5B,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"MeasurementsTable.js","sourceRoot":"","sources":["../../../src/components/MeasurementsTable/MeasurementsTable.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,EACL,QAAQ,EAER,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,SAAS,GACV,MAAM,aAAa,CAAC;AACrB,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,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