react-science 0.19.2 → 0.20.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.
- package/lib/app/about/AboutDialogToolbarButton.js +10 -10
- package/lib/app/explorer/MeasurementExplorer.js +36 -43
- package/lib/app/helpers/react-plot.js +16 -13
- package/lib/app/kinds/iv/plot-view/IvPlotView.js +14 -13
- package/lib/app/panels/measurements/MeasurementCheckbox.js +10 -8
- package/lib/app/panels/measurements/MeasurementColorPreview.js +9 -7
- package/lib/app/panels/measurements/MeasurementsTable.js +81 -94
- package/lib/components/button/ButtonGroup.js +31 -43
- package/lib/components/color-picker/color-picker-dropdown/ColorPickerDropdown.js +18 -21
- package/lib/components/drop-zone/DropZone.js +48 -48
- package/lib/components/dropdown-menu/DropdownMenu.js +4 -4
- package/lib/components/forms/Input.js +150 -0
- package/lib/components/forms/context/FieldsContext.js +54 -0
- package/lib/components/forms/context/index.js +17 -0
- package/lib/components/forms/index.js +18 -0
- package/lib/components/index.js +1 -0
- package/lib/components/modal/ConfirmModal.js +40 -29
- package/lib/components/modal/Modal.js +45 -34
- package/lib/components/root-layout/RootLayout.js +1 -1
- package/lib/components/root-layout/css-reset/customPreflight.js +10 -3
- package/lib/components/spinner/FullSpinner.js +10 -7
- package/lib-esm/app/about/AboutDialogToolbarButton.d.ts +1 -1
- package/lib-esm/app/about/AboutDialogToolbarButton.d.ts.map +1 -1
- package/lib-esm/app/about/AboutDialogToolbarButton.js +7 -10
- package/lib-esm/app/about/AboutDialogToolbarButton.js.map +1 -1
- package/lib-esm/app/explorer/MeasurementExplorer.d.ts +2 -1
- package/lib-esm/app/explorer/MeasurementExplorer.d.ts.map +1 -1
- package/lib-esm/app/explorer/MeasurementExplorer.js +31 -41
- package/lib-esm/app/explorer/MeasurementExplorer.js.map +1 -1
- package/lib-esm/app/helpers/MeasurementPlot.js.map +1 -1
- package/lib-esm/app/helpers/react-plot.d.ts +4 -2
- package/lib-esm/app/helpers/react-plot.d.ts.map +1 -1
- package/lib-esm/app/helpers/react-plot.js +11 -11
- package/lib-esm/app/helpers/react-plot.js.map +1 -1
- package/lib-esm/app/kinds/iv/plot-view/IvPlotView.d.ts +2 -1
- package/lib-esm/app/kinds/iv/plot-view/IvPlotView.d.ts.map +1 -1
- package/lib-esm/app/kinds/iv/plot-view/IvPlotView.js +14 -13
- package/lib-esm/app/kinds/iv/plot-view/IvPlotView.js.map +1 -1
- package/lib-esm/app/panels/measurements/MeasurementCheckbox.d.ts +2 -1
- package/lib-esm/app/panels/measurements/MeasurementCheckbox.d.ts.map +1 -1
- package/lib-esm/app/panels/measurements/MeasurementCheckbox.js +4 -5
- package/lib-esm/app/panels/measurements/MeasurementCheckbox.js.map +1 -1
- package/lib-esm/app/panels/measurements/MeasurementColorPreview.d.ts +2 -1
- package/lib-esm/app/panels/measurements/MeasurementColorPreview.d.ts.map +1 -1
- package/lib-esm/app/panels/measurements/MeasurementColorPreview.js +4 -5
- package/lib-esm/app/panels/measurements/MeasurementColorPreview.js.map +1 -1
- package/lib-esm/app/panels/measurements/MeasurementsTable.d.ts +2 -1
- package/lib-esm/app/panels/measurements/MeasurementsTable.d.ts.map +1 -1
- package/lib-esm/app/panels/measurements/MeasurementsTable.js +81 -94
- package/lib-esm/app/panels/measurements/MeasurementsTable.js.map +1 -1
- package/lib-esm/components/button/ButtonGroup.d.ts +2 -2
- package/lib-esm/components/button/ButtonGroup.d.ts.map +1 -1
- package/lib-esm/components/button/ButtonGroup.js +28 -43
- package/lib-esm/components/button/ButtonGroup.js.map +1 -1
- package/lib-esm/components/color-picker/color-picker-dropdown/ColorPickerDropdown.d.ts +2 -1
- package/lib-esm/components/color-picker/color-picker-dropdown/ColorPickerDropdown.d.ts.map +1 -1
- package/lib-esm/components/color-picker/color-picker-dropdown/ColorPickerDropdown.js +16 -19
- package/lib-esm/components/color-picker/color-picker-dropdown/ColorPickerDropdown.js.map +1 -1
- package/lib-esm/components/drop-zone/DropZone.d.ts +2 -2
- package/lib-esm/components/drop-zone/DropZone.d.ts.map +1 -1
- package/lib-esm/components/drop-zone/DropZone.js +42 -45
- package/lib-esm/components/drop-zone/DropZone.js.map +1 -1
- package/lib-esm/components/dropdown-menu/DropdownMenu.js +4 -4
- package/lib-esm/components/dropdown-menu/DropdownMenu.js.map +1 -1
- package/lib-esm/components/forms/Input.d.ts +17 -0
- package/lib-esm/components/forms/Input.d.ts.map +1 -0
- package/lib-esm/components/forms/Input.js +144 -0
- package/lib-esm/components/forms/Input.js.map +1 -0
- package/lib-esm/components/forms/context/FieldsContext.d.ts +16 -0
- package/lib-esm/components/forms/context/FieldsContext.d.ts.map +1 -0
- package/lib-esm/components/forms/context/FieldsContext.js +47 -0
- package/lib-esm/components/forms/context/FieldsContext.js.map +1 -0
- package/lib-esm/components/forms/context/index.d.ts +2 -0
- package/lib-esm/components/forms/context/index.d.ts.map +1 -0
- package/lib-esm/components/forms/context/index.js +2 -0
- package/lib-esm/components/forms/context/index.js.map +1 -0
- package/lib-esm/components/forms/index.d.ts +3 -0
- package/lib-esm/components/forms/index.d.ts.map +1 -0
- package/lib-esm/components/forms/index.js +3 -0
- package/lib-esm/components/forms/index.js.map +1 -0
- package/lib-esm/components/index.d.ts +1 -0
- package/lib-esm/components/index.d.ts.map +1 -1
- package/lib-esm/components/index.js +1 -0
- package/lib-esm/components/index.js.map +1 -1
- package/lib-esm/components/modal/ConfirmModal.d.ts +1 -1
- package/lib-esm/components/modal/ConfirmModal.d.ts.map +1 -1
- package/lib-esm/components/modal/ConfirmModal.js +37 -29
- package/lib-esm/components/modal/ConfirmModal.js.map +1 -1
- package/lib-esm/components/modal/Modal.d.ts +4 -4
- package/lib-esm/components/modal/Modal.d.ts.map +1 -1
- package/lib-esm/components/modal/Modal.js +45 -34
- package/lib-esm/components/modal/Modal.js.map +1 -1
- package/lib-esm/components/root-layout/RootLayout.d.ts.map +1 -1
- package/lib-esm/components/root-layout/RootLayout.js +2 -2
- package/lib-esm/components/root-layout/RootLayout.js.map +1 -1
- package/lib-esm/components/root-layout/css-reset/customPreflight.d.ts +5 -1
- package/lib-esm/components/root-layout/css-reset/customPreflight.d.ts.map +1 -1
- package/lib-esm/components/root-layout/css-reset/customPreflight.js +6 -2
- package/lib-esm/components/root-layout/css-reset/customPreflight.js.map +1 -1
- package/lib-esm/components/spinner/FullSpinner.d.ts +7 -1
- package/lib-esm/components/spinner/FullSpinner.d.ts.map +1 -1
- package/lib-esm/components/spinner/FullSpinner.js +8 -8
- package/lib-esm/components/spinner/FullSpinner.js.map +1 -1
- package/package.json +1 -1
- package/src/app/about/AboutDialogToolbarButton.tsx +6 -9
- package/src/app/explorer/MeasurementExplorer.tsx +47 -59
- package/src/app/helpers/MeasurementPlot.tsx +1 -0
- package/src/app/helpers/react-plot.tsx +24 -19
- package/src/app/kinds/iv/plot-view/IvPlotView.tsx +18 -19
- package/src/app/panels/measurements/MeasurementCheckbox.tsx +3 -5
- package/src/app/panels/measurements/MeasurementColorPreview.tsx +4 -6
- package/src/app/panels/measurements/MeasurementsTable.tsx +112 -115
- package/src/components/button/ButtonGroup.tsx +30 -44
- package/src/components/color-picker/color-picker-dropdown/ColorPickerDropdown.tsx +19 -26
- package/src/components/drop-zone/DropZone.tsx +54 -56
- package/src/components/dropdown-menu/DropdownMenu.tsx +19 -17
- package/src/components/forms/Input.tsx +255 -0
- package/src/components/forms/context/FieldsContext.tsx +82 -0
- package/src/components/forms/context/index.ts +1 -0
- package/src/components/forms/index.ts +2 -0
- package/src/components/index.ts +1 -0
- package/src/components/modal/ConfirmModal.tsx +49 -44
- package/src/components/modal/Modal.tsx +54 -58
- package/src/components/root-layout/RootLayout.tsx +3 -7
- package/src/components/root-layout/css-reset/customPreflight.ts +6 -2
- package/src/components/spinner/FullSpinner.tsx +14 -9
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
const
|
|
6
|
+
exports.CustomDivPreflight = void 0;
|
|
7
|
+
const styled_1 = __importDefault(require("@emotion/styled"));
|
|
5
8
|
// Applying global styles that apply to elements that are not part of the shadow DOM.
|
|
6
|
-
exports.
|
|
9
|
+
exports.CustomDivPreflight = styled_1.default.div `
|
|
7
10
|
/* html */
|
|
8
11
|
line-height: 1.5;
|
|
9
12
|
-webkit-text-size-adjust: 100%;
|
|
@@ -11,4 +14,8 @@ exports.customDivPreflight = (0, react_1.css) `
|
|
|
11
14
|
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
|
|
12
15
|
'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
|
|
13
16
|
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
17
|
+
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: 100%;
|
|
20
|
+
position: relative;
|
|
14
21
|
`;
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.FullSpinner = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("
|
|
5
|
-
/** @jsxImportSource @emotion/react */
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
8
|
const react_1 = require("@emotion/react");
|
|
9
|
+
const styled_1 = __importDefault(require("@emotion/styled"));
|
|
7
10
|
const spin = (0, react_1.keyframes) `
|
|
8
11
|
100% {
|
|
9
12
|
transform: rotate(360deg);
|
|
10
13
|
}
|
|
11
14
|
`;
|
|
12
|
-
const
|
|
13
|
-
height:
|
|
14
|
-
width:
|
|
15
|
+
const Spinner = styled_1.default.svg `
|
|
16
|
+
height: ${({ height }) => `${height || 40}px`};
|
|
17
|
+
width: ${({ width }) => `${width || 40}px`};
|
|
15
18
|
animation: ${spin} 0.8s linear infinite;
|
|
16
19
|
`;
|
|
17
|
-
function FullSpinner() {
|
|
20
|
+
function FullSpinner(props) {
|
|
18
21
|
// First div is used when using nextjs/dynamic even after component is loaded
|
|
19
22
|
return ((0, jsx_runtime_1.jsx)("div", { style: { height: '100%' }, children: (0, jsx_runtime_1.jsx)("div", { style: {
|
|
20
23
|
display: 'flex',
|
|
@@ -22,6 +25,6 @@ function FullSpinner() {
|
|
|
22
25
|
width: '100%',
|
|
23
26
|
alignItems: 'center',
|
|
24
27
|
justifyContent: 'center',
|
|
25
|
-
}, children: (0, jsx_runtime_1.jsxs)(
|
|
28
|
+
}, children: (0, jsx_runtime_1.jsxs)(Spinner, { ...props, xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", children: [(0, jsx_runtime_1.jsx)("circle", { style: { opacity: 0.25 }, cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }), (0, jsx_runtime_1.jsx)("path", { style: { opacity: 0.75 }, fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" })] }) }) }));
|
|
26
29
|
}
|
|
27
30
|
exports.FullSpinner = FullSpinner;
|
|
@@ -4,6 +4,6 @@ interface AboutDialogToolbarButtonProps {
|
|
|
4
4
|
icon: ReactNode;
|
|
5
5
|
body: ReactNode;
|
|
6
6
|
}
|
|
7
|
-
export declare function AboutDialogToolbarButton(props: AboutDialogToolbarButtonProps):
|
|
7
|
+
export declare function AboutDialogToolbarButton(props: AboutDialogToolbarButtonProps): JSX.Element;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=AboutDialogToolbarButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AboutDialogToolbarButton.d.ts","sourceRoot":"","sources":["../../../src/app/about/AboutDialogToolbarButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AboutDialogToolbarButton.d.ts","sourceRoot":"","sources":["../../../src/app/about/AboutDialogToolbarButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlC,UAAU,6BAA6B;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,SAAS,CAAC;CACjB;AAOD,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,6BAA6B,eAqB5E"}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "
|
|
2
|
-
|
|
3
|
-
import { css } from '@emotion/react';
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import styled from '@emotion/styled';
|
|
4
3
|
import { Modal, Toolbar, useOnOff } from '../../components/index';
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
`,
|
|
10
|
-
};
|
|
4
|
+
const ModalBody = styled.div `
|
|
5
|
+
max-width: 600px;
|
|
6
|
+
padding: 10px;
|
|
7
|
+
`;
|
|
11
8
|
export function AboutDialogToolbarButton(props) {
|
|
12
9
|
const { name, icon, body } = props;
|
|
13
10
|
const [isOpenDialog, openDialog, closeDialog] = useOnOff(false);
|
|
14
|
-
return (_jsxs(_Fragment, { children: [_jsx(Toolbar.Item, { titleOrientation: "horizontal", title: `About ${name}`, onClick: openDialog, children: icon }), _jsxs(Modal, { isOpen: isOpenDialog, onRequestClose: closeDialog, children: [_jsx(Modal.Header, { children: name }), _jsx(Modal.Body, { children: _jsx(
|
|
11
|
+
return (_jsxs(_Fragment, { children: [_jsx(Toolbar.Item, { titleOrientation: "horizontal", title: `About ${name}`, onClick: openDialog, children: icon }), _jsxs(Modal, { isOpen: isOpenDialog, onRequestClose: closeDialog, children: [_jsx(Modal.Header, { children: name }), _jsx(Modal.Body, { children: _jsx(ModalBody, { children: body }) })] })] }));
|
|
15
12
|
}
|
|
16
13
|
//# sourceMappingURL=AboutDialogToolbarButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AboutDialogToolbarButton.js","sourceRoot":"","sources":["../../../src/app/about/AboutDialogToolbarButton.tsx"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"AboutDialogToolbarButton.js","sourceRoot":"","sources":["../../../src/app/about/AboutDialogToolbarButton.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAGrC,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAQlE,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA;;;CAG3B,CAAC;AAEF,MAAM,UAAU,wBAAwB,CAAC,KAAoC;IAC3E,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IACnC,MAAM,CAAC,YAAY,EAAE,UAAU,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEhE,OAAO,CACL,8BACE,KAAC,OAAO,CAAC,IAAI,IACX,gBAAgB,EAAC,YAAY,EAC7B,KAAK,EAAE,SAAS,IAAI,EAAE,EACtB,OAAO,EAAE,UAAU,YAElB,IAAI,GACQ,EACf,MAAC,KAAK,IAAC,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,WAAW,aACtD,KAAC,KAAK,CAAC,MAAM,cAAE,IAAI,GAAgB,EACnC,KAAC,KAAK,CAAC,IAAI,cACT,KAAC,SAAS,cAAE,IAAI,GAAa,GAClB,IACP,IACP,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { MeasurementPlotProps } from '../helpers/index';
|
|
2
3
|
export interface MeasurementExplorerProps extends Omit<MeasurementPlotProps, keyof ExplorerInfo> {
|
|
3
4
|
}
|
|
@@ -7,6 +8,6 @@ interface ExplorerInfo {
|
|
|
7
8
|
yVariableName: string;
|
|
8
9
|
flipHorizontalAxis: boolean;
|
|
9
10
|
}
|
|
10
|
-
export declare function MeasurementExplorer(props: MeasurementExplorerProps):
|
|
11
|
+
export declare function MeasurementExplorer(props: MeasurementExplorerProps): JSX.Element;
|
|
11
12
|
export {};
|
|
12
13
|
//# sourceMappingURL=MeasurementExplorer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeasurementExplorer.d.ts","sourceRoot":"","sources":["../../../src/app/explorer/MeasurementExplorer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MeasurementExplorer.d.ts","sourceRoot":"","sources":["../../../src/app/explorer/MeasurementExplorer.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAmB,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAEzE,MAAM,WAAW,wBACf,SAAQ,IAAI,CAAC,oBAAoB,EAAE,MAAM,YAAY,CAAC;CAAG;AAC3D,UAAU,YAAY;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,OAAO,CAAC;CAC7B;AAyBD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,eAoIlE"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "
|
|
2
|
-
|
|
3
|
-
import { css } from '@emotion/react';
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import styled from '@emotion/styled';
|
|
4
3
|
import { useState } from 'react';
|
|
5
4
|
import { FaExchangeAlt, FaArrowsAltH } from 'react-icons/fa';
|
|
6
5
|
import { MeasurementPlot } from '../helpers/index';
|
|
6
|
+
const MeasurementExplorerRoot = styled.div `
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
`;
|
|
10
|
+
const MeasurementExplorerContent = styled.div `
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: space-around;
|
|
13
|
+
margin-bottom: 20px;
|
|
14
|
+
`;
|
|
15
|
+
const MeasurementExplorerSelect = styled.select `
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
border: 1px solid black;
|
|
18
|
+
padding: 1px;
|
|
19
|
+
margin-left: 2px;
|
|
20
|
+
`;
|
|
21
|
+
const MeasurementExplorerAction = styled.div `
|
|
22
|
+
padding: 1px;
|
|
23
|
+
display: flex;
|
|
24
|
+
`;
|
|
7
25
|
export function MeasurementExplorer(props) {
|
|
8
26
|
const { measurement: { data }, width = '100%', height = '100%', } = props;
|
|
9
27
|
function defaultInfo(dataIndex) {
|
|
@@ -37,19 +55,7 @@ export function MeasurementExplorer(props) {
|
|
|
37
55
|
return null;
|
|
38
56
|
});
|
|
39
57
|
}
|
|
40
|
-
return (_jsxs(
|
|
41
|
-
display: flex;
|
|
42
|
-
flex-direction: column;
|
|
43
|
-
`, children: [_jsxs("div", { css: css `
|
|
44
|
-
display: flex;
|
|
45
|
-
justify-content: space-around;
|
|
46
|
-
margin-bottom: 20px;
|
|
47
|
-
`, children: [_jsxs("div", { children: [_jsx("label", { children: "dataIndex: " }), _jsx("select", { css: css `
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
border: 1px solid black;
|
|
50
|
-
padding: 1px;
|
|
51
|
-
margin-left: 2px;
|
|
52
|
-
`, onChange: ({ target }) => {
|
|
58
|
+
return (_jsxs(MeasurementExplorerRoot, { style: { width, height }, children: [_jsxs(MeasurementExplorerContent, { children: [_jsxs("div", { children: [_jsx("label", { children: "dataIndex: " }), _jsx(MeasurementExplorerSelect, { onChange: ({ target }) => {
|
|
53
59
|
const value = Number(target.value);
|
|
54
60
|
if (value !== undefined && !Number.isNaN(value)) {
|
|
55
61
|
setInfo(({ flipHorizontalAxis }) => ({
|
|
@@ -59,42 +65,26 @@ export function MeasurementExplorer(props) {
|
|
|
59
65
|
}
|
|
60
66
|
}, children: data.map((d, i) => (
|
|
61
67
|
// eslint-disable-next-line react/no-array-index-key
|
|
62
|
-
_jsx("option", { value: i, children: i }, i))) })] }), _jsxs("div", { children: [_jsx("label", { children: "xVariable: " }), _jsx(
|
|
63
|
-
cursor: pointer;
|
|
64
|
-
border: 1px solid black;
|
|
65
|
-
padding: 1px;
|
|
66
|
-
margin-left: 2px;
|
|
67
|
-
`, onChange: ({ target }) => {
|
|
68
|
+
_jsx("option", { value: i, children: i }, i))) })] }), _jsxs("div", { children: [_jsx("label", { children: "xVariable: " }), _jsx(MeasurementExplorerSelect, { onChange: ({ target }) => {
|
|
68
69
|
const value = target.value;
|
|
69
70
|
if (value) {
|
|
70
71
|
setInfo((info) => ({ ...info, xVariableName: value }));
|
|
71
72
|
}
|
|
72
|
-
}, value: info.xVariableName, children: dropdownVariables('x') })] }), _jsx("div", { children: _jsx(FaExchangeAlt, {
|
|
73
|
-
margin-top: 2px;
|
|
74
|
-
cursor: pointer;
|
|
75
|
-
`, size: "20", onClick: () => setInfo(({ xVariableName, yVariableName, ...info }) => ({
|
|
73
|
+
}, value: info.xVariableName, children: dropdownVariables('x') })] }), _jsx("div", { children: _jsx(FaExchangeAlt, { style: { marginTop: 2, cursor: 'pointer' }, size: "20", onClick: () => setInfo(({ xVariableName, yVariableName, ...info }) => ({
|
|
76
74
|
...info,
|
|
77
75
|
xVariableName: yVariableName,
|
|
78
76
|
yVariableName: xVariableName,
|
|
79
|
-
})) }) }), _jsxs("div", { children: [_jsx("label", { children: "yVariable :" }), _jsx(
|
|
80
|
-
cursor: pointer;
|
|
81
|
-
border: 1px solid black;
|
|
82
|
-
padding: 1px;
|
|
83
|
-
margin-left: 2px;
|
|
84
|
-
`, onChange: ({ target }) => {
|
|
77
|
+
})) }) }), _jsxs("div", { children: [_jsx("label", { children: "yVariable :" }), _jsx(MeasurementExplorerSelect, { onChange: ({ target }) => {
|
|
85
78
|
const value = target.value;
|
|
86
79
|
if (value) {
|
|
87
80
|
setInfo((info) => ({ ...info, yVariableName: value }));
|
|
88
81
|
}
|
|
89
|
-
}, value: info.yVariableName, children: dropdownVariables('y') })] }), _jsxs("
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
padding: 1px;
|
|
96
|
-
margin-left: 2px;
|
|
97
|
-
`, size: "28", onClick: () => setInfo(({ flipHorizontalAxis, ...other }) => ({
|
|
82
|
+
}, value: info.yVariableName, children: dropdownVariables('y') })] }), _jsxs(MeasurementExplorerAction, { children: ["Flip horizontal axis:", _jsx(FaArrowsAltH, { style: {
|
|
83
|
+
cursor: 'pointer',
|
|
84
|
+
border: '1px solid black',
|
|
85
|
+
padding: 1,
|
|
86
|
+
marginLeft: 2,
|
|
87
|
+
}, size: "28", onClick: () => setInfo(({ flipHorizontalAxis, ...other }) => ({
|
|
98
88
|
flipHorizontalAxis: !flipHorizontalAxis,
|
|
99
89
|
...other,
|
|
100
90
|
})) })] })] }), _jsx(MeasurementPlot, { ...props, ...info })] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeasurementExplorer.js","sourceRoot":"","sources":["../../../src/app/explorer/MeasurementExplorer.tsx"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"MeasurementExplorer.js","sourceRoot":"","sources":["../../../src/app/explorer/MeasurementExplorer.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE7D,OAAO,EAAE,eAAe,EAAwB,MAAM,kBAA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C,YAAY,IACX,KAAK,EAAE;oCACL,MAAM,EAAE,SAAS;oCACjB,MAAM,EAAE,iBAAiB;oCACzB,OAAO,EAAE,CAAC;oCACV,UAAU,EAAE,CAAC;iCACd,EACD,IAAI,EAAC,IAAI,EACT,OAAO,EAAE,GAAG,EAAE,CACZ,OAAO,CAAC,CAAC,EAAE,kBAAkB,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;oCAC7C,kBAAkB,EAAE,CAAC,kBAAkB;oCACvC,GAAG,KAAK;iCACT,CAAC,CAAC,GAEL,IACwB,IACD,EAC7B,KAAC,eAAe,OAAK,KAAK,KAAM,IAAI,GAAI,IAChB,CAC3B,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeasurementPlot.js","sourceRoot":"","sources":["../../../src/app/helpers/MeasurementPlot.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAIxD,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAoBzC,MAAM,UAAU,eAAe,CAAC,KAA2B;IACzD,OAAO,CACL,KAAC,cAAc,cACb,KAAC,oBAAoB,OAAK,KAAK,GAAI,GACpB,CAClB,CAAC;AACJ,CAAC;
|
|
1
|
+
{"version":3,"file":"MeasurementPlot.js","sourceRoot":"","sources":["../../../src/app/helpers/MeasurementPlot.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAIxD,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAoBzC,MAAM,UAAU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AAE;gBACT,MAAM,EAAE,KAAK,CAAC,KAAK;aACpB,EACD,IAAI,EAAE,YAAY,CAAC;gBACjB,CAAC,EAAE,CAAC,CAAC,IAAI;gBACT,CAAC,EAAE,CAAC,CAAC,IAAI;aACV,CAAC,GACF,GACa,CAClB,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
import type { MeasurementPlotProps } from './MeasurementPlot';
|
|
3
|
-
|
|
3
|
+
interface BasicComponentProps extends MeasurementPlotProps {
|
|
4
4
|
children: ReactNode[] | ReactNode;
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
|
+
export declare function BasicComponent(props: BasicComponentProps): JSX.Element;
|
|
7
|
+
export {};
|
|
6
8
|
//# sourceMappingURL=react-plot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-plot.d.ts","sourceRoot":"","sources":["../../../src/app/helpers/react-plot.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"react-plot.d.ts","sourceRoot":"","sources":["../../../src/app/helpers/react-plot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAchD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,UAAU,mBAAoB,SAAQ,oBAAoB;IACxD,QAAQ,EAAE,SAAS,EAAE,GAAG,SAAS,CAAC;CACnC;AAWD,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,eA+FxD"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "
|
|
2
|
-
|
|
3
|
-
import { css } from '@emotion/react';
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import styled from '@emotion/styled';
|
|
4
3
|
import { useMemo } from 'react';
|
|
5
4
|
import { ResponsiveChart } from 'react-d3-utils';
|
|
6
5
|
import { useRectangularZoom, useAxisZoom, useAxisWheelZoom, useCrossHair, usePan, Plot, Heading, Annotations, Axis, } from 'react-plot';
|
|
6
|
+
const BasicComponentRoot = styled.div `
|
|
7
|
+
user-drag: none;
|
|
8
|
+
-webkit-user-drag: none;
|
|
9
|
+
user-select: none;
|
|
10
|
+
-moz-user-select: none;
|
|
11
|
+
-webkit-user-select: none;
|
|
12
|
+
-ms-user-select: none;
|
|
13
|
+
`;
|
|
7
14
|
export function BasicComponent(props) {
|
|
8
15
|
const { children, measurement, dataIndex = 0, xVariableName = 'x', yVariableName = 'y', width = '100%', height = '100%', zoom = 'horizontal', wheelZoom = 'vertical', crossHair = true, showHorizontalAxis = true, showVerticalAxis = true, showHorizontalGrid = true, showVerticalGrid = true, flipHorizontalAxis = false, } = props;
|
|
9
16
|
const { info: { title }, data, } = measurement;
|
|
@@ -32,13 +39,6 @@ export function BasicComponent(props) {
|
|
|
32
39
|
disabled: !crossHair,
|
|
33
40
|
});
|
|
34
41
|
usePan();
|
|
35
|
-
return (_jsx(
|
|
36
|
-
user-drag: none;
|
|
37
|
-
-webkit-user-drag: none;
|
|
38
|
-
user-select: none;
|
|
39
|
-
-moz-user-select: none;
|
|
40
|
-
-webkit-user-select: none;
|
|
41
|
-
-ms-user-select: none;
|
|
42
|
-
`, children: _jsx(ResponsiveChart, { width: width, height: height, children: ({ width, height }) => (_jsxs(Plot, { width: width, height: height, children: [_jsx(Heading, { title: title }), children, _jsxs(Annotations, { children: [rectZoom.annotations, axisZoom.annotations, crossHairAnnot.annotations] }), _jsx(Axis, { hidden: !showHorizontalAxis, displayPrimaryGridLines: showVerticalGrid, flip: flipHorizontalAxis, position: "bottom", label: `${x.label}${x.units ? `(${x.units})` : ''}` }), _jsx(Axis, { hidden: !showVerticalAxis, displayPrimaryGridLines: showHorizontalGrid, position: "left", label: `${y.label}${y.units ? `(${y.units})` : ''}`, paddingStart: "10", paddingEnd: "10" })] })) }) }));
|
|
42
|
+
return (_jsx(BasicComponentRoot, { style: { width, height }, children: _jsx(ResponsiveChart, { width: width, height: height, children: ({ width, height }) => (_jsxs(Plot, { width: width, height: height, children: [_jsx(Heading, { title: title }), children, _jsxs(Annotations, { children: [rectZoom.annotations, axisZoom.annotations, crossHairAnnot.annotations] }), _jsx(Axis, { hidden: !showHorizontalAxis, displayPrimaryGridLines: showVerticalGrid, flip: flipHorizontalAxis, position: "bottom", label: `${x.label}${x.units ? `(${x.units})` : ''}` }), _jsx(Axis, { hidden: !showVerticalAxis, displayPrimaryGridLines: showHorizontalGrid, position: "left", label: `${y.label}${y.units ? `(${y.units})` : ''}`, paddingStart: "10", paddingEnd: "10" })] })) }) }));
|
|
43
43
|
}
|
|
44
44
|
//# sourceMappingURL=react-plot.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-plot.js","sourceRoot":"","sources":["../../../src/app/helpers/react-plot.tsx"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"react-plot.js","sourceRoot":"","sources":["../../../src/app/helpers/react-plot.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAkB,OAAO,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EACL,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,YAAY,EACZ,MAAM,EACN,IAAI,EACJ,OAAO,EACP,WAAW,EACX,IAAI,GACL,MAAM,YAAY,CAAC;AAQpB,MAAM,kBAAkB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;CAOpC,CAAC;AAEF,MAAM,UAAU,cAAc,CAAC,KAA0B;IACvD,MAAM,EACJ,QAAQ,EACR,WAAW,EACX,SAAS,GAAG,CAAC,EACb,aAAa,GAAG,GAAG,EACnB,aAAa,GAAG,GAAG,EACnB,KAAK,GAAG,MAAM,EACd,MAAM,GAAG,MAAM,EACf,IAA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IAAI,IACH,MAAM,EAAE,CAAC,gBAAgB,EACzB,uBAAuB,EAAE,kBAAkB,EAC3C,QAAQ,EAAC,MAAM,EACf,KAAK,EAAE,GAAG,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,EACnD,YAAY,EAAC,IAAI,EACjB,UAAU,EAAC,IAAI,GACf,IACG,CACR,GACe,GACC,CACtB,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IvPlotView.d.ts","sourceRoot":"","sources":["../../../../../src/app/kinds/iv/plot-view/IvPlotView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IvPlotView.d.ts","sourceRoot":"","sources":["../../../../../src/app/kinds/iv/plot-view/IvPlotView.tsx"],"names":[],"mappings":";AAuBA,wBAAgB,UAAU,gBAazB"}
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "
|
|
2
|
-
|
|
3
|
-
import { css } from '@emotion/react';
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import styled from '@emotion/styled';
|
|
4
3
|
import { FaCompress } from 'react-icons/fa';
|
|
5
4
|
import { PlotController } from 'react-plot';
|
|
6
5
|
import { useAppDispatch, useAppState } from '../../../../app-data/index';
|
|
7
6
|
import { Toolbar } from '../../../../components/index';
|
|
8
7
|
import IvMeasurementsPlot from './IvMeasurementsPlot';
|
|
9
8
|
import IvPlotVariablesSelector from './IvPlotVariablesSelector';
|
|
9
|
+
const IvPlotRoot = styled.div `
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: row;
|
|
12
|
+
height: 100%;
|
|
13
|
+
`;
|
|
14
|
+
const PlotRoot = styled.div `
|
|
15
|
+
padding: 5px;
|
|
16
|
+
flex: 1;
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
`;
|
|
10
20
|
export function IvPlotView() {
|
|
11
|
-
return (_jsxs(
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: row;
|
|
14
|
-
height: 100%;
|
|
15
|
-
`, children: [_jsx(VerticalToolbar, {}), _jsxs("div", { css: css `
|
|
16
|
-
padding: 5px;
|
|
17
|
-
flex: 1;
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
`, children: [_jsx(PlotController, { children: _jsx(IvMeasurementsPlot, {}) }), _jsx(IvPlotVariablesSelector, {})] })] }));
|
|
21
|
+
return (_jsxs(IvPlotRoot, { children: [_jsx(VerticalToolbar, {}), _jsxs(PlotRoot, { children: [_jsx(PlotController, { children: _jsx(IvMeasurementsPlot, {}) }), _jsx(IvPlotVariablesSelector, {})] })] }));
|
|
21
22
|
}
|
|
22
23
|
function VerticalToolbar() {
|
|
23
24
|
const dispatch = useAppDispatch();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IvPlotView.js","sourceRoot":"","sources":["../../../../../src/app/kinds/iv/plot-view/IvPlotView.tsx"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"IvPlotView.js","sourceRoot":"","sources":["../../../../../src/app/kinds/iv/plot-view/IvPlotView.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAEhE,MAAM,UAAU,GAAG,MAAM,CAAC,GAAG,CAAA;;;;CAI5B,CAAC;AAEF,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;CAK1B,CAAC;AAEF,MAAM,UAAU,UAAU;IACxB,OAAO,CACL,MAAC,UAAU,eACT,KAAC,eAAe,KAAG,EACnB,MAAC,QAAQ,eACP,KAAC,cAAc,cACb,KAAC,kBAAkB,KAAG,GACP,EAEjB,KAAC,uBAAuB,KAAG,IAClB,IACA,CACd,CAAC;AACJ,CAAC;AAED,SAAS,eAAe;IACtB,MAAM,QAAQ,GAAG,cAAc,EAAE,CAAC;IAClC,MAAM,EACJ,IAAI,EAAE,EAAE,YAAY,EAAE,GACvB,GAAG,WAAW,EAAE,CAAC;IAElB,SAAS,SAAS;QAChB,IAAI,YAAY,EAAE;YAChB,QAAQ,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,CAAC,CAAC;SACtE;IACH,CAAC;IAED,OAAO,CACL,KAAC,OAAO,IAAC,WAAW,EAAC,UAAU,YAC7B,KAAC,OAAO,CAAC,IAAI,IAAC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAC,UAAU,YAChD,KAAC,UAAU,KAAG,GACD,GACP,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
interface MeasurementCheckboxProps {
|
|
2
3
|
checked: boolean;
|
|
3
4
|
onSelectCheckbox: () => void;
|
|
4
5
|
indeterminate?: boolean;
|
|
5
6
|
}
|
|
6
|
-
export declare function MeasurementCheckbox(props: MeasurementCheckboxProps):
|
|
7
|
+
export declare function MeasurementCheckbox(props: MeasurementCheckboxProps): JSX.Element;
|
|
7
8
|
export {};
|
|
8
9
|
//# sourceMappingURL=MeasurementCheckbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeasurementCheckbox.d.ts","sourceRoot":"","sources":["../../../../src/app/panels/measurements/MeasurementCheckbox.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MeasurementCheckbox.d.ts","sourceRoot":"","sources":["../../../../src/app/panels/measurements/MeasurementCheckbox.tsx"],"names":[],"mappings":";AAGA,UAAU,wBAAwB;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAWD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,eAkBlE"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { jsx as _jsx } from "
|
|
2
|
-
|
|
3
|
-
import { css } from '@emotion/react';
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import styled from '@emotion/styled';
|
|
4
3
|
import { useLayoutEffect, useRef } from 'react';
|
|
5
|
-
const
|
|
4
|
+
const InputMeasurementCheckBox = styled.input `
|
|
6
5
|
color: #6366f1;
|
|
7
6
|
border-color: #d1d5db;
|
|
8
7
|
border-radius: 0.25rem;
|
|
@@ -18,6 +17,6 @@ export function MeasurementCheckbox(props) {
|
|
|
18
17
|
ref.current.indeterminate = indeterminate;
|
|
19
18
|
}
|
|
20
19
|
}, [indeterminate]);
|
|
21
|
-
return (_jsx(
|
|
20
|
+
return (_jsx(InputMeasurementCheckBox, { type: "checkbox", checked: checked, onChange: onSelectCheckbox, ref: ref }));
|
|
22
21
|
}
|
|
23
22
|
//# sourceMappingURL=MeasurementCheckbox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeasurementCheckbox.js","sourceRoot":"","sources":["../../../../src/app/panels/measurements/MeasurementCheckbox.tsx"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"MeasurementCheckbox.js","sourceRoot":"","sources":["../../../../src/app/panels/measurements/MeasurementCheckbox.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAQhD,MAAM,wBAAwB,GAAG,MAAM,CAAC,KAAK,CAAA;;;;;;;CAO5C,CAAC;AAEF,MAAM,UAAU,mBAAmB,CAAC,KAA+B;IACjE,MAAM,EAAE,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IAC3D,MAAM,GAAG,GAAG,MAAM,CAAmB,IAAI,CAAC,CAAC;IAE3C,eAAe,CAAC,GAAG,EAAE;QACnB,IAAI,GAAG,CAAC,OAAO,IAAI,aAAa,KAAK,SAAS,EAAE;YAC9C,GAAG,CAAC,OAAO,CAAC,aAAa,GAAG,aAAa,CAAC;SAC3C;IACH,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;IAEpB,OAAO,CACL,KAAC,wBAAwB,IACvB,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,gBAAgB,EAC1B,GAAG,EAAE,GAAG,GACR,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ColorConfig, MeasurementKind } from '../../../app-data/index';
|
|
2
3
|
interface MeasurementColorPreviewProps {
|
|
3
4
|
measurementId: string;
|
|
4
5
|
kind: MeasurementKind;
|
|
5
6
|
color: ColorConfig;
|
|
6
7
|
}
|
|
7
|
-
export default function MeasurementColorPreview(props: MeasurementColorPreviewProps):
|
|
8
|
+
export default function MeasurementColorPreview(props: MeasurementColorPreviewProps): JSX.Element;
|
|
8
9
|
export {};
|
|
9
10
|
//# sourceMappingURL=MeasurementColorPreview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeasurementColorPreview.d.ts","sourceRoot":"","sources":["../../../../src/app/panels/measurements/MeasurementColorPreview.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MeasurementColorPreview.d.ts","sourceRoot":"","sources":["../../../../src/app/panels/measurements/MeasurementColorPreview.tsx"],"names":[],"mappings":";AAGA,OAAO,EACL,WAAW,EACX,eAAe,EAEhB,MAAM,yBAAyB,CAAC;AAUjC,UAAU,4BAA4B;IACpC,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,EAAE,WAAW,CAAC;CACpB;AAOD,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAC7C,KAAK,EAAE,4BAA4B,eA0DpC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "
|
|
2
|
-
|
|
3
|
-
import { css } from '@emotion/react';
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import styled from '@emotion/styled';
|
|
4
3
|
import { useRef } from 'react';
|
|
5
4
|
import { useAppDispatch, } from '../../../app-data/index';
|
|
6
5
|
import { ColorPicker, ColorPreview, useModifiedPopper, useOnClickOutside, useOnOff, } from '../../../components/index';
|
|
7
6
|
import { Portal } from '../../../components/root-layout/Portal';
|
|
8
|
-
const
|
|
7
|
+
const ColorPreviewButton = styled.button `
|
|
9
8
|
width: 1em;
|
|
10
9
|
height: 1em;
|
|
11
10
|
`;
|
|
@@ -19,7 +18,7 @@ export default function MeasurementColorPreview(props) {
|
|
|
19
18
|
offset: 6,
|
|
20
19
|
});
|
|
21
20
|
useOnClickOutside(ref, close);
|
|
22
|
-
return (_jsxs(_Fragment, { children: [_jsx(
|
|
21
|
+
return (_jsxs(_Fragment, { children: [_jsx(ColorPreviewButton, { type: "button", ref: setReferenceElement, onClick: toggle, children: _jsx(ColorPreview, { color: color }) }), isOpened && (_jsx(Portal, { children: _jsx("div", { ref: (div) => {
|
|
23
22
|
setPopperElement(div);
|
|
24
23
|
ref.current = div;
|
|
25
24
|
}, ...popperProps, children: color.kind === 'fixed' ? (_jsx(FixedColorPicker, { color: color.color, onChange: (newColor) => dispatch({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeasurementColorPreview.js","sourceRoot":"","sources":["../../../../src/app/panels/measurements/MeasurementColorPreview.tsx"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"MeasurementColorPreview.js","sourceRoot":"","sources":["../../../../src/app/panels/measurements/MeasurementColorPreview.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/B,OAAO,EAGL,cAAc,GACf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,QAAQ,GACT,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAQhE,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAA;;;CAGvC,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAC7C,KAAmC;IAEnC,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAE7C,MAAM,QAAQ,GAAG,cAAc,EAAE,CAAC;IAElC,MAAM,GAAG,GAAG,MAAM,CAAwB,IAAI,CAAC,CAAC;IAChD,MAAM,CAAC,QAAQ,EAAE,AAAD,EAAG,KAAK,EAAE,MAAM,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACpD,MAAM,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,WAAW,EAAE,GAC1D,iBAAiB,CAAoB;QACnC,SAAS,EAAE,cAAc;QACzB,MAAM,EAAE,CAAC;KACV,CAAC,CAAC;IAEL,iBAAiB,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAE9B,OAAO,CACL,8BACE,KAAC,kBAAkB,IACjB,IAAI,EAAC,QAAQ,EACb,GAAG,EAAE,mBAAmB,EACxB,OAAO,EAAE,MAAM,YAEf,KAAC,YAAY,IAAC,KAAK,EAAE,KAAK,GAAI,GACX,EACpB,QAAQ,IAAI,CACX,KAAC,MAAM,cACL,cACE,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE;wBACX,gBAAgB,CAAC,GAAG,CAAC,CAAC;wBACtB,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC;oBACpB,CAAC,KACG,WAAW,YAEd,KAAK,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,CACxB,KAAC,gBAAgB,IACf,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,QAAQ,EAAE,CAAC,QAAQ,EAAE,EAAE,CACrB,QAAQ,CAAC;4BACP,IAAI,EAAE,4BAA4B;4BAClC,OAAO,EAAE;gCACP,OAAO,EAAE;oCACP,KAAK,EAAE;wCACL,IAAI,EAAE,OAAO;wCACb,KAAK,EAAE,QAAQ;qCAChB;iCACF;gCACD,WAAW,EAAE,EAAE,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE;6BACzC;yBACF,CAAC,GAEJ,CACH,CAAC,CAAC,CAAC,IAAI,GACJ,GACC,CACV,IACA,CACJ,CAAC;AACJ,CAAC;AAED,SAAS,gBAAgB,CAAC,KAGzB;IACC,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAClC,OAAO,CACL,KAAC,WAAW,IACV,KAAK,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,EACrB,gBAAgB,EAAE,CAAC,KAAK,EAAE,EAAE;YAC1B,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACtB,CAAC,GACD,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { MeasurementKind } from '../../../app-data/index';
|
|
2
3
|
export interface MeasurementsTableProps {
|
|
3
4
|
kind: MeasurementKind;
|
|
4
5
|
}
|
|
5
|
-
export declare function MeasurementsTable(props: MeasurementsTableProps):
|
|
6
|
+
export declare function MeasurementsTable(props: MeasurementsTableProps): JSX.Element;
|
|
6
7
|
//# sourceMappingURL=MeasurementsTable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MeasurementsTable.d.ts","sourceRoot":"","sources":["../../../../src/app/panels/measurements/MeasurementsTable.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MeasurementsTable.d.ts","sourceRoot":"","sources":["../../../../src/app/panels/measurements/MeasurementsTable.tsx"],"names":[],"mappings":";AAGA,OAAO,EAEL,eAAe,EAGhB,MAAM,yBAAyB,CAAC;AASjC,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,eAAe,CAAC;CACvB;AA6ED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,eAoE9D"}
|