Skip to content

Commit 02556ae

Browse files
committed
threshold + NMR/HPLC Fix
1 parent 07751ca commit 02556ae

140 files changed

Lines changed: 20429 additions & 68 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dist/actions/axes.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
"use strict";
2+
3+
Object.defineProperty(exports, "__esModule", {
4+
value: true
5+
});
6+
exports.updateYAxis = exports.updateXAxis = void 0;
7+
var _action_type = require("../constants/action_type");
8+
const updateXAxis = payload => ({
9+
type: _action_type.AXES.UPDATE_X_AXIS,
10+
payload
11+
});
12+
exports.updateXAxis = updateXAxis;
13+
const updateYAxis = payload => ({
14+
type: _action_type.AXES.UPDATE_Y_AXIS,
15+
payload
16+
});
17+
18+
// eslint-disable-line
19+
exports.updateYAxis = updateYAxis;

dist/actions/curve.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
"use strict";
2+
3+
Object.defineProperty(exports, "__esModule", {
4+
value: true
5+
});
6+
exports.toggleShowAllCurves = exports.setAllCurves = exports.selectCurve = void 0;
7+
var _action_type = require("../constants/action_type");
8+
const selectCurve = payload => ({
9+
type: _action_type.CURVE.SELECT_WORKING_CURVE,
10+
payload
11+
});
12+
exports.selectCurve = selectCurve;
13+
const setAllCurves = payload => ({
14+
type: _action_type.CURVE.SET_ALL_CURVES,
15+
payload
16+
});
17+
exports.setAllCurves = setAllCurves;
18+
const toggleShowAllCurves = payload => ({
19+
type: _action_type.CURVE.SET_SHOULD_SHOW_ALL_CURVES,
20+
payload
21+
});
22+
exports.toggleShowAllCurves = toggleShowAllCurves;

dist/actions/cyclic_voltammetry.js

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
"use strict";
2+
3+
Object.defineProperty(exports, "__esModule", {
4+
value: true
5+
});
6+
exports.toggleCyclicVoltaDensity = exports.setWorkWithMaxPeak = exports.setCylicVoltaRefFactor = exports.setCylicVoltaRef = exports.setCyclicVoltaAreaValue = exports.setCyclicVoltaAreaUnit = exports.selectRefPeaks = exports.selectPairPeak = exports.removeCylicVoltaPecker = exports.removeCylicVoltaPairPeak = exports.removeCylicVoltaMinPeak = exports.removeCylicVoltaMaxPeak = exports.addNewCylicVoltaPairPeak = exports.addCylicVoltaPecker = exports.addCylicVoltaMinPeak = exports.addCylicVoltaMaxPeak = void 0;
7+
var _action_type = require("../constants/action_type");
8+
const addNewCylicVoltaPairPeak = payload => ({
9+
type: _action_type.CYCLIC_VOLTA_METRY.ADD_PAIR_PEAKS,
10+
payload
11+
});
12+
exports.addNewCylicVoltaPairPeak = addNewCylicVoltaPairPeak;
13+
const removeCylicVoltaPairPeak = payload => ({
14+
type: _action_type.CYCLIC_VOLTA_METRY.REMOVE_PAIR_PEAKS,
15+
payload
16+
});
17+
exports.removeCylicVoltaPairPeak = removeCylicVoltaPairPeak;
18+
const addCylicVoltaMaxPeak = payload => ({
19+
type: _action_type.CYCLIC_VOLTA_METRY.ADD_MAX_PEAK,
20+
payload
21+
});
22+
exports.addCylicVoltaMaxPeak = addCylicVoltaMaxPeak;
23+
const removeCylicVoltaMaxPeak = payload => ({
24+
type: _action_type.CYCLIC_VOLTA_METRY.REMOVE_MAX_PEAK,
25+
payload
26+
});
27+
exports.removeCylicVoltaMaxPeak = removeCylicVoltaMaxPeak;
28+
const addCylicVoltaMinPeak = payload => ({
29+
type: _action_type.CYCLIC_VOLTA_METRY.ADD_MIN_PEAK,
30+
payload
31+
});
32+
exports.addCylicVoltaMinPeak = addCylicVoltaMinPeak;
33+
const removeCylicVoltaMinPeak = payload => ({
34+
type: _action_type.CYCLIC_VOLTA_METRY.REMOVE_MIN_PEAK,
35+
payload
36+
});
37+
exports.removeCylicVoltaMinPeak = removeCylicVoltaMinPeak;
38+
const setWorkWithMaxPeak = payload => ({
39+
type: _action_type.CYCLIC_VOLTA_METRY.WORK_WITH_MAX_PEAK,
40+
payload
41+
});
42+
exports.setWorkWithMaxPeak = setWorkWithMaxPeak;
43+
const selectPairPeak = payload => ({
44+
type: _action_type.CYCLIC_VOLTA_METRY.SELECT_PAIR_PEAK,
45+
payload
46+
});
47+
exports.selectPairPeak = selectPairPeak;
48+
const addCylicVoltaPecker = payload => ({
49+
type: _action_type.CYCLIC_VOLTA_METRY.ADD_PECKER,
50+
payload
51+
});
52+
exports.addCylicVoltaPecker = addCylicVoltaPecker;
53+
const removeCylicVoltaPecker = payload => ({
54+
type: _action_type.CYCLIC_VOLTA_METRY.REMOVE_PECKER,
55+
payload
56+
});
57+
exports.removeCylicVoltaPecker = removeCylicVoltaPecker;
58+
const selectRefPeaks = payload => ({
59+
type: _action_type.CYCLIC_VOLTA_METRY.SELECT_REF_PEAK,
60+
payload
61+
});
62+
exports.selectRefPeaks = selectRefPeaks;
63+
const setCylicVoltaRefFactor = payload => ({
64+
type: _action_type.CYCLIC_VOLTA_METRY.SET_FACTOR,
65+
payload
66+
});
67+
exports.setCylicVoltaRefFactor = setCylicVoltaRefFactor;
68+
const setCylicVoltaRef = payload => ({
69+
type: _action_type.CYCLIC_VOLTA_METRY.SET_REF,
70+
payload
71+
});
72+
exports.setCylicVoltaRef = setCylicVoltaRef;
73+
const setCyclicVoltaAreaValue = value => ({
74+
type: _action_type.CYCLIC_VOLTA_METRY.SET_AREA_VALUE,
75+
payload: {
76+
value
77+
}
78+
});
79+
exports.setCyclicVoltaAreaValue = setCyclicVoltaAreaValue;
80+
const setCyclicVoltaAreaUnit = unit => ({
81+
type: _action_type.CYCLIC_VOLTA_METRY.SET_AREA_UNIT,
82+
payload: {
83+
unit
84+
}
85+
});
86+
exports.setCyclicVoltaAreaUnit = setCyclicVoltaAreaUnit;
87+
const toggleCyclicVoltaDensity = payload => ({
88+
type: _action_type.CYCLIC_VOLTA_METRY.TOGGLE_DENSITY,
89+
payload
90+
});
91+
exports.toggleCyclicVoltaDensity = toggleCyclicVoltaDensity;

dist/actions/detector.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
"use strict";
2+
3+
Object.defineProperty(exports, "__esModule", {
4+
value: true
5+
});
6+
exports.updateDetector = void 0;
7+
var _action_type = require("../constants/action_type");
8+
/* eslint-disable import/prefer-default-export */
9+
10+
const updateDetector = payload => ({
11+
type: _action_type.SEC.UPDATE_DETECTOR,
12+
payload
13+
});
14+
exports.updateDetector = updateDetector;

dist/actions/edit_peak.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
"use strict";
2+
3+
Object.defineProperty(exports, "__esModule", {
4+
value: true
5+
});
6+
exports.rmFromPosList = exports.rmFromNegList = exports.clearAllPeaks = void 0;
7+
var _action_type = require("../constants/action_type");
8+
const rmFromPosList = payload => ({
9+
type: _action_type.EDITPEAK.RM_POSITIVE,
10+
payload
11+
});
12+
exports.rmFromPosList = rmFromPosList;
13+
const rmFromNegList = payload => ({
14+
type: _action_type.EDITPEAK.RM_NEGATIVE,
15+
payload
16+
});
17+
exports.rmFromNegList = rmFromNegList;
18+
const clearAllPeaks = payload => ({
19+
type: _action_type.EDITPEAK.CLEAR_ALL,
20+
payload
21+
});
22+
exports.clearAllPeaks = clearAllPeaks;

dist/actions/forecast.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
"use strict";
2+
3+
Object.defineProperty(exports, "__esModule", {
4+
value: true
5+
});
6+
exports.setNmrStatus = exports.setIrStatus = exports.initForecastStatus = exports.clearForecastStatus = void 0;
7+
var _action_type = require("../constants/action_type");
8+
const initForecastStatus = payload => ({
9+
type: _action_type.FORECAST.INIT_STATUS,
10+
payload
11+
});
12+
exports.initForecastStatus = initForecastStatus;
13+
const setIrStatus = payload => ({
14+
type: _action_type.FORECAST.SET_IR_STATUS,
15+
payload
16+
});
17+
exports.setIrStatus = setIrStatus;
18+
const setNmrStatus = payload => ({
19+
type: _action_type.FORECAST.SET_NMR_STATUS,
20+
payload
21+
});
22+
exports.setNmrStatus = setNmrStatus;
23+
const clearForecastStatus = payload => ({
24+
type: _action_type.FORECAST.CLEAR_STATUS,
25+
payload
26+
});
27+
exports.clearForecastStatus = clearForecastStatus;

dist/actions/integration.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
"use strict";
2+
3+
Object.defineProperty(exports, "__esModule", {
4+
value: true
5+
});
6+
exports.sweepIntegration = exports.setIntegrationFkr = exports.clearIntegrationAll = void 0;
7+
var _action_type = require("../constants/action_type");
8+
const sweepIntegration = payload => ({
9+
type: _action_type.INTEGRATION.SWEEP,
10+
payload
11+
});
12+
exports.sweepIntegration = sweepIntegration;
13+
const setIntegrationFkr = payload => ({
14+
type: _action_type.INTEGRATION.SET_FKR,
15+
payload
16+
});
17+
exports.setIntegrationFkr = setIntegrationFkr;
18+
const clearIntegrationAll = payload => ({
19+
type: _action_type.INTEGRATION.CLEAR_ALL,
20+
payload
21+
});
22+
23+
// eslint-disable-line
24+
exports.clearIntegrationAll = clearIntegrationAll;

dist/actions/jcamp.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
"use strict";
2+
3+
Object.defineProperty(exports, "__esModule", {
4+
value: true
5+
});
6+
exports.toggleShow = exports.rmOthersOne = exports.clearAll = exports.addOthers = void 0;
7+
var _action_type = require("../constants/action_type");
8+
const addOthers = payload => ({
9+
type: _action_type.JCAMP.ADD_OTHERS,
10+
payload
11+
});
12+
exports.addOthers = addOthers;
13+
const rmOthersOne = payload => ({
14+
type: _action_type.JCAMP.RM_OTHERS_ONE,
15+
payload
16+
});
17+
exports.rmOthersOne = rmOthersOne;
18+
const toggleShow = payload => ({
19+
type: _action_type.JCAMP.TOGGLE_SHOW,
20+
payload
21+
});
22+
exports.toggleShow = toggleShow;
23+
const clearAll = payload => ({
24+
type: _action_type.JCAMP.CLEAR_ALL,
25+
payload
26+
});
27+
exports.clearAll = clearAll;

dist/actions/layout.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
"use strict";
2+
3+
Object.defineProperty(exports, "__esModule", {
4+
value: true
5+
});
6+
exports.updateLayout = void 0;
7+
var _action_type = require("../constants/action_type");
8+
const updateLayout = payload => ({
9+
type: _action_type.LAYOUT.UPDATE,
10+
payload
11+
});
12+
13+
// eslint-disable-line
14+
exports.updateLayout = updateLayout;

dist/actions/manager.js

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
"use strict";
2+
3+
Object.defineProperty(exports, "__esModule", {
4+
value: true
5+
});
6+
exports.resetMultiplicity = exports.resetInitNmr = exports.resetInitMs = exports.resetInitCommonWithIntergation = exports.resetInitCommon = exports.resetDetector = exports.resetAll = void 0;
7+
var _action_type = require("../constants/action_type");
8+
const resetAll = payload => ({
9+
type: _action_type.MANAGER.RESETALL,
10+
payload
11+
});
12+
exports.resetAll = resetAll;
13+
const resetInitCommon = payload => ({
14+
type: _action_type.MANAGER.RESET_INIT_COMMON,
15+
payload
16+
});
17+
exports.resetInitCommon = resetInitCommon;
18+
const resetInitNmr = payload => ({
19+
type: _action_type.MANAGER.RESET_INIT_NMR,
20+
payload
21+
});
22+
exports.resetInitNmr = resetInitNmr;
23+
const resetInitMs = payload => ({
24+
type: _action_type.MANAGER.RESET_INIT_MS,
25+
payload
26+
});
27+
exports.resetInitMs = resetInitMs;
28+
const resetInitCommonWithIntergation = payload => ({
29+
type: _action_type.MANAGER.RESET_INIT_COMMON_WITH_INTERGATION,
30+
payload
31+
});
32+
exports.resetInitCommonWithIntergation = resetInitCommonWithIntergation;
33+
const resetDetector = () => ({
34+
type: _action_type.MANAGER.RESET_DETECTOR
35+
});
36+
exports.resetDetector = resetDetector;
37+
const resetMultiplicity = () => ({
38+
type: _action_type.MANAGER.RESET_MULTIPLICITY
39+
});
40+
41+
// eslint-disable-line
42+
exports.resetMultiplicity = resetMultiplicity;

0 commit comments

Comments
 (0)