@complat/react-spectra-editor 1.0.0-alpha.9 → 1.0.0-rc2
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/dist/actions/curve.js +4 -8
- package/dist/actions/cyclic_voltammetry.js +12 -24
- package/dist/actions/edit_peak.js +4 -8
- package/dist/actions/forecast.js +6 -12
- package/dist/actions/integration.js +7 -10
- package/dist/actions/jcamp.js +6 -12
- package/dist/actions/layout.js +5 -6
- package/dist/actions/manager.js +9 -14
- package/dist/actions/meta.js +3 -6
- package/dist/actions/multiplicity.js +10 -16
- package/dist/actions/scan.js +5 -10
- package/dist/actions/shift.js +6 -8
- package/dist/actions/status.js +5 -10
- package/dist/actions/submit.js +6 -12
- package/dist/actions/threshold.js +7 -14
- package/dist/actions/ui.js +7 -14
- package/dist/actions/wavelength.js +5 -6
- package/dist/app.js +86 -106
- package/dist/components/cmd_bar/01_viewer.js +56 -102
- package/dist/components/cmd_bar/02_zoom.js +46 -89
- package/dist/components/cmd_bar/03_peak.js +80 -150
- package/dist/components/cmd_bar/03_peak_bk.js +77 -151
- package/dist/components/cmd_bar/04_integration.js +120 -215
- package/dist/components/cmd_bar/04_integration_bk.js +112 -212
- package/dist/components/cmd_bar/05_multiplicity.js +103 -192
- package/dist/components/cmd_bar/05_multiplicity_bk.js +92 -189
- package/dist/components/cmd_bar/06_undo_redo.js +53 -101
- package/dist/components/cmd_bar/07_pecker.js +52 -108
- package/dist/components/cmd_bar/common.js +10 -17
- package/dist/components/cmd_bar/index.js +63 -107
- package/dist/components/cmd_bar/r01_layout.js +147 -332
- package/dist/components/cmd_bar/r01_layout_bk.js +141 -324
- package/dist/components/cmd_bar/r02_scan.js +89 -173
- package/dist/components/cmd_bar/r03_threshold.js +86 -147
- package/dist/components/cmd_bar/r04_submit.js +153 -276
- package/dist/components/cmd_bar/r05_submit_btn.js +67 -97
- package/dist/components/cmd_bar/r06_predict_btn.js +95 -182
- package/dist/components/cmd_bar/r06_predict_btn_bk.js +90 -180
- package/dist/components/cmd_bar/r07_wavelength_btn.js +52 -97
- package/dist/components/cmd_bar/tri_btn.js +80 -143
- package/dist/components/common/chem.js +4 -3
- package/dist/components/common/comps.js +8 -21
- package/dist/components/common/draw.js +11 -18
- package/dist/components/d3_line/index.js +115 -143
- package/dist/components/d3_line/line_focus.js +322 -362
- package/dist/components/d3_line/line_focus_bk.js +319 -354
- package/dist/components/d3_multi/index.js +121 -149
- package/dist/components/d3_multi/index_bk.js +112 -142
- package/dist/components/d3_multi/multi_focus.js +357 -399
- package/dist/components/d3_multi/multi_focus_bk.js +199 -216
- package/dist/components/d3_rect/index.js +90 -117
- package/dist/components/d3_rect/rect_focus.js +87 -116
- package/dist/components/forecast/comps.js +151 -275
- package/dist/components/forecast/ir_comps.js +111 -190
- package/dist/components/forecast/ir_viewer.js +50 -102
- package/dist/components/forecast/nmr_comps.js +102 -213
- package/dist/components/forecast/nmr_viewer.js +51 -102
- package/dist/components/forecast/section_loading.js +47 -61
- package/dist/components/forecast_viewer.js +93 -131
- package/dist/components/multi_jcamps_viewer.js +97 -139
- package/dist/components/panel/compare.js +121 -238
- package/dist/components/panel/compare_bk.js +119 -233
- package/dist/components/panel/cyclic_voltamery_data.js +163 -321
- package/dist/components/panel/cyclic_voltamery_data_bk.js +156 -320
- package/dist/components/panel/graph_selection.js +132 -198
- package/dist/components/panel/index.js +117 -150
- package/dist/components/panel/index_bk.js +104 -138
- package/dist/components/panel/info.js +118 -218
- package/dist/components/panel/info_bk.js +108 -214
- package/dist/components/panel/multiplicity.js +126 -250
- package/dist/components/panel/multiplicity_bk.js +121 -246
- package/dist/components/panel/multiplicity_coupling.js +94 -128
- package/dist/components/panel/multiplicity_select.js +49 -67
- package/dist/components/panel/peaks.js +105 -201
- package/dist/constants/action_type.js +19 -36
- package/dist/constants/list_layout.js +2 -2
- package/dist/constants/list_shift.js +10 -83
- package/dist/constants/list_ui.js +4 -6
- package/dist/constants/list_wavelength.js +2 -6
- package/dist/fn.js +14 -21
- package/dist/helpers/brush.js +57 -48
- package/dist/helpers/calc.js +2 -3
- package/dist/helpers/carbonFeatures.js +13 -15
- package/dist/helpers/carbonFeatures_bk.js +11 -13
- package/dist/helpers/cfg.js +21 -38
- package/dist/helpers/cfg_bk.js +18 -37
- package/dist/helpers/chem.js +228 -263
- package/dist/helpers/chem_bk.js +195 -232
- package/dist/helpers/compass.js +37 -59
- package/dist/helpers/compass_bk.js +37 -59
- package/dist/helpers/converter.js +22 -39
- package/dist/helpers/converter_bk.js +13 -23
- package/dist/helpers/extractParams.js +39 -38
- package/dist/helpers/extractPeaksEdit.js +17 -33
- package/dist/helpers/extractPeaksEdit_bk.js +17 -31
- package/dist/helpers/focus.js +4 -5
- package/dist/helpers/format.js +135 -109
- package/dist/helpers/format_bk.js +128 -101
- package/dist/helpers/init.js +24 -36
- package/dist/helpers/integration.js +9 -17
- package/dist/helpers/mount.js +44 -45
- package/dist/helpers/multiplicity.js +17 -14
- package/dist/helpers/multiplicity_calc.js +30 -34
- package/dist/helpers/multiplicity_complat.js +7 -7
- package/dist/helpers/multiplicity_manual.js +68 -31
- package/dist/helpers/multiplicity_verify_basic.js +151 -95
- package/dist/helpers/shift.js +7 -12
- package/dist/helpers/zoom.js +8 -12
- package/dist/index.js +542 -714
- package/dist/index_bk.js +394 -533
- package/dist/layer_content.js +51 -72
- package/dist/layer_content_bk.js +50 -73
- package/dist/layer_init.js +124 -162
- package/dist/layer_init_bk.js +118 -161
- package/dist/layer_prism.js +106 -153
- package/dist/layer_prism_bk.js +101 -154
- package/dist/reducers/index.js +42 -98
- package/dist/reducers/reducer_curve.js +38 -31
- package/dist/reducers/reducer_edit_peak.js +71 -70
- package/dist/reducers/reducer_edit_peak_bk.js +36 -39
- package/dist/reducers/reducer_forecast.js +31 -35
- package/dist/reducers/reducer_integration.js +82 -91
- package/dist/reducers/reducer_integration_bk.js +52 -55
- package/dist/reducers/reducer_jcamp.js +38 -37
- package/dist/reducers/reducer_jcamp_bk.js +22 -25
- package/dist/reducers/reducer_layout.js +8 -10
- package/dist/reducers/reducer_manager.js +5 -5
- package/dist/reducers/reducer_meta.js +7 -8
- package/dist/reducers/reducer_multiplicity.js +65 -70
- package/dist/reducers/reducer_multiplicity_bk.js +43 -48
- package/dist/reducers/reducer_scan.js +11 -15
- package/dist/reducers/reducer_shift.js +47 -70
- package/dist/reducers/reducer_shift_bk.js +9 -20
- package/dist/reducers/reducer_simulation.js +7 -9
- package/dist/reducers/reducer_status.js +21 -12
- package/dist/reducers/reducer_submit.js +34 -24
- package/dist/reducers/reducer_threshold.js +28 -15
- package/dist/reducers/reducer_ui.js +16 -12
- package/dist/reducers/reducer_voltammetry.js +116 -109
- package/dist/reducers/reducer_voltammetry_bk.js +93 -82
- package/dist/reducers/reducer_wavelength.js +5 -7
- package/dist/reducers/undo_redo_config.js +6 -11
- package/dist/sagas/index.js +21 -45
- package/dist/sagas/saga_edit_peak.js +63 -79
- package/dist/sagas/saga_edit_peak_bk.js +44 -55
- package/dist/sagas/saga_manager.js +109 -144
- package/dist/sagas/saga_meta.js +31 -35
- package/dist/sagas/saga_multi_entities.js +109 -121
- package/dist/sagas/saga_multi_entities_bk.js +87 -95
- package/dist/sagas/saga_multiplicity.js +380 -366
- package/dist/sagas/saga_multiplicity_bk.js +274 -310
- package/dist/sagas/saga_ui.js +422 -442
- package/dist/sagas/saga_ui_bk.js +387 -438
- package/dist/third_party/jAnalyzer.js +26 -30
- package/dist/third_party/peakInterval.js +14 -18
- package/package.json +11 -8
package/dist/actions/curve.js
CHANGED
|
@@ -1,25 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.setAllCurves = exports.selectCurve =
|
|
7
|
-
|
|
8
|
-
var _action_type = require('../constants/action_type');
|
|
9
|
-
|
|
6
|
+
exports.setAllCurves = exports.selectCurve = void 0;
|
|
7
|
+
var _action_type = require("../constants/action_type");
|
|
10
8
|
var selectCurve = function selectCurve(payload) {
|
|
11
9
|
return {
|
|
12
10
|
type: _action_type.CURVE.SELECT_WORKING_CURVE,
|
|
13
11
|
payload: payload
|
|
14
12
|
};
|
|
15
13
|
};
|
|
16
|
-
|
|
14
|
+
exports.selectCurve = selectCurve;
|
|
17
15
|
var setAllCurves = function setAllCurves(payload) {
|
|
18
16
|
return {
|
|
19
17
|
type: _action_type.CURVE.SET_ALL_CURVES,
|
|
20
18
|
payload: payload
|
|
21
19
|
};
|
|
22
20
|
};
|
|
23
|
-
|
|
24
|
-
exports.selectCurve = selectCurve;
|
|
25
21
|
exports.setAllCurves = setAllCurves;
|
|
@@ -1,89 +1,77 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
|
|
8
|
-
var _action_type = require('../constants/action_type');
|
|
9
|
-
|
|
6
|
+
exports.setWorkWithMaxPeak = 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");
|
|
10
8
|
var addNewCylicVoltaPairPeak = function addNewCylicVoltaPairPeak(payload) {
|
|
11
9
|
return {
|
|
12
10
|
type: _action_type.CYCLIC_VOLTA_METRY.ADD_PAIR_PEAKS,
|
|
13
11
|
payload: payload
|
|
14
12
|
};
|
|
15
13
|
};
|
|
16
|
-
|
|
14
|
+
exports.addNewCylicVoltaPairPeak = addNewCylicVoltaPairPeak;
|
|
17
15
|
var removeCylicVoltaPairPeak = function removeCylicVoltaPairPeak(payload) {
|
|
18
16
|
return {
|
|
19
17
|
type: _action_type.CYCLIC_VOLTA_METRY.REMOVE_PAIR_PEAKS,
|
|
20
18
|
payload: payload
|
|
21
19
|
};
|
|
22
20
|
};
|
|
23
|
-
|
|
21
|
+
exports.removeCylicVoltaPairPeak = removeCylicVoltaPairPeak;
|
|
24
22
|
var addCylicVoltaMaxPeak = function addCylicVoltaMaxPeak(payload) {
|
|
25
23
|
return {
|
|
26
24
|
type: _action_type.CYCLIC_VOLTA_METRY.ADD_MAX_PEAK,
|
|
27
25
|
payload: payload
|
|
28
26
|
};
|
|
29
27
|
};
|
|
30
|
-
|
|
28
|
+
exports.addCylicVoltaMaxPeak = addCylicVoltaMaxPeak;
|
|
31
29
|
var removeCylicVoltaMaxPeak = function removeCylicVoltaMaxPeak(payload) {
|
|
32
30
|
return {
|
|
33
31
|
type: _action_type.CYCLIC_VOLTA_METRY.REMOVE_MAX_PEAK,
|
|
34
32
|
payload: payload
|
|
35
33
|
};
|
|
36
34
|
};
|
|
37
|
-
|
|
35
|
+
exports.removeCylicVoltaMaxPeak = removeCylicVoltaMaxPeak;
|
|
38
36
|
var addCylicVoltaMinPeak = function addCylicVoltaMinPeak(payload) {
|
|
39
37
|
return {
|
|
40
38
|
type: _action_type.CYCLIC_VOLTA_METRY.ADD_MIN_PEAK,
|
|
41
39
|
payload: payload
|
|
42
40
|
};
|
|
43
41
|
};
|
|
44
|
-
|
|
42
|
+
exports.addCylicVoltaMinPeak = addCylicVoltaMinPeak;
|
|
45
43
|
var removeCylicVoltaMinPeak = function removeCylicVoltaMinPeak(payload) {
|
|
46
44
|
return {
|
|
47
45
|
type: _action_type.CYCLIC_VOLTA_METRY.REMOVE_MIN_PEAK,
|
|
48
46
|
payload: payload
|
|
49
47
|
};
|
|
50
48
|
};
|
|
51
|
-
|
|
49
|
+
exports.removeCylicVoltaMinPeak = removeCylicVoltaMinPeak;
|
|
52
50
|
var setWorkWithMaxPeak = function setWorkWithMaxPeak(payload) {
|
|
53
51
|
return {
|
|
54
52
|
type: _action_type.CYCLIC_VOLTA_METRY.WORK_WITH_MAX_PEAK,
|
|
55
53
|
payload: payload
|
|
56
54
|
};
|
|
57
55
|
};
|
|
58
|
-
|
|
56
|
+
exports.setWorkWithMaxPeak = setWorkWithMaxPeak;
|
|
59
57
|
var selectPairPeak = function selectPairPeak(payload) {
|
|
60
58
|
return {
|
|
61
59
|
type: _action_type.CYCLIC_VOLTA_METRY.SELECT_PAIR_PEAK,
|
|
62
60
|
payload: payload
|
|
63
61
|
};
|
|
64
62
|
};
|
|
65
|
-
|
|
63
|
+
exports.selectPairPeak = selectPairPeak;
|
|
66
64
|
var addCylicVoltaPecker = function addCylicVoltaPecker(payload) {
|
|
67
65
|
return {
|
|
68
66
|
type: _action_type.CYCLIC_VOLTA_METRY.ADD_PECKER,
|
|
69
67
|
payload: payload
|
|
70
68
|
};
|
|
71
69
|
};
|
|
72
|
-
|
|
70
|
+
exports.addCylicVoltaPecker = addCylicVoltaPecker;
|
|
73
71
|
var removeCylicVoltaPecker = function removeCylicVoltaPecker(payload) {
|
|
74
72
|
return {
|
|
75
73
|
type: _action_type.CYCLIC_VOLTA_METRY.REMOVE_PECKER,
|
|
76
74
|
payload: payload
|
|
77
75
|
};
|
|
78
76
|
};
|
|
79
|
-
|
|
80
|
-
exports.addNewCylicVoltaPairPeak = addNewCylicVoltaPairPeak;
|
|
81
|
-
exports.removeCylicVoltaPairPeak = removeCylicVoltaPairPeak;
|
|
82
|
-
exports.addCylicVoltaMaxPeak = addCylicVoltaMaxPeak;
|
|
83
|
-
exports.removeCylicVoltaMaxPeak = removeCylicVoltaMaxPeak;
|
|
84
|
-
exports.addCylicVoltaMinPeak = addCylicVoltaMinPeak;
|
|
85
|
-
exports.removeCylicVoltaMinPeak = removeCylicVoltaMinPeak;
|
|
86
|
-
exports.setWorkWithMaxPeak = setWorkWithMaxPeak;
|
|
87
|
-
exports.selectPairPeak = selectPairPeak;
|
|
88
|
-
exports.addCylicVoltaPecker = addCylicVoltaPecker;
|
|
89
77
|
exports.removeCylicVoltaPecker = removeCylicVoltaPecker;
|
|
@@ -1,25 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
|
|
8
|
-
var _action_type = require('../constants/action_type');
|
|
9
|
-
|
|
6
|
+
exports.rmFromPosList = exports.rmFromNegList = void 0;
|
|
7
|
+
var _action_type = require("../constants/action_type");
|
|
10
8
|
var rmFromPosList = function rmFromPosList(payload) {
|
|
11
9
|
return {
|
|
12
10
|
type: _action_type.EDITPEAK.RM_POSITIVE,
|
|
13
11
|
payload: payload
|
|
14
12
|
};
|
|
15
13
|
};
|
|
16
|
-
|
|
14
|
+
exports.rmFromPosList = rmFromPosList;
|
|
17
15
|
var rmFromNegList = function rmFromNegList(payload) {
|
|
18
16
|
return {
|
|
19
17
|
type: _action_type.EDITPEAK.RM_NEGATIVE,
|
|
20
18
|
payload: payload
|
|
21
19
|
};
|
|
22
20
|
};
|
|
23
|
-
|
|
24
|
-
exports.rmFromPosList = rmFromPosList;
|
|
25
21
|
exports.rmFromNegList = rmFromNegList;
|
package/dist/actions/forecast.js
CHANGED
|
@@ -1,41 +1,35 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
|
|
8
|
-
var _action_type = require('../constants/action_type');
|
|
9
|
-
|
|
6
|
+
exports.setNmrStatus = exports.setIrStatus = exports.initForecastStatus = exports.clearForecastStatus = void 0;
|
|
7
|
+
var _action_type = require("../constants/action_type");
|
|
10
8
|
var initForecastStatus = function initForecastStatus(payload) {
|
|
11
9
|
return {
|
|
12
10
|
type: _action_type.FORECAST.INIT_STATUS,
|
|
13
11
|
payload: payload
|
|
14
12
|
};
|
|
15
13
|
};
|
|
16
|
-
|
|
14
|
+
exports.initForecastStatus = initForecastStatus;
|
|
17
15
|
var setIrStatus = function setIrStatus(payload) {
|
|
18
16
|
return {
|
|
19
17
|
type: _action_type.FORECAST.SET_IR_STATUS,
|
|
20
18
|
payload: payload
|
|
21
19
|
};
|
|
22
20
|
};
|
|
23
|
-
|
|
21
|
+
exports.setIrStatus = setIrStatus;
|
|
24
22
|
var setNmrStatus = function setNmrStatus(payload) {
|
|
25
23
|
return {
|
|
26
24
|
type: _action_type.FORECAST.SET_NMR_STATUS,
|
|
27
25
|
payload: payload
|
|
28
26
|
};
|
|
29
27
|
};
|
|
30
|
-
|
|
28
|
+
exports.setNmrStatus = setNmrStatus;
|
|
31
29
|
var clearForecastStatus = function clearForecastStatus(payload) {
|
|
32
30
|
return {
|
|
33
31
|
type: _action_type.FORECAST.CLEAR_STATUS,
|
|
34
32
|
payload: payload
|
|
35
33
|
};
|
|
36
34
|
};
|
|
37
|
-
|
|
38
|
-
exports.initForecastStatus = initForecastStatus;
|
|
39
|
-
exports.setIrStatus = setIrStatus;
|
|
40
|
-
exports.setNmrStatus = setNmrStatus;
|
|
41
35
|
exports.clearForecastStatus = clearForecastStatus;
|
|
@@ -1,26 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
|
|
8
|
-
var _action_type = require('../constants/action_type');
|
|
9
|
-
|
|
6
|
+
exports.sweepIntegration = exports.setIntegrationFkr = exports.clearIntegrationAll = void 0;
|
|
7
|
+
var _action_type = require("../constants/action_type");
|
|
10
8
|
var sweepIntegration = function sweepIntegration(payload) {
|
|
11
9
|
return {
|
|
12
10
|
type: _action_type.INTEGRATION.SWEEP,
|
|
13
11
|
payload: payload
|
|
14
12
|
};
|
|
15
13
|
};
|
|
16
|
-
|
|
14
|
+
exports.sweepIntegration = sweepIntegration;
|
|
17
15
|
var setIntegrationFkr = function setIntegrationFkr(payload) {
|
|
18
16
|
return {
|
|
19
17
|
type: _action_type.INTEGRATION.SET_FKR,
|
|
20
18
|
payload: payload
|
|
21
19
|
};
|
|
22
20
|
};
|
|
23
|
-
|
|
21
|
+
exports.setIntegrationFkr = setIntegrationFkr;
|
|
24
22
|
var clearIntegrationAll = function clearIntegrationAll(payload) {
|
|
25
23
|
return {
|
|
26
24
|
type: _action_type.INTEGRATION.CLEAR_ALL,
|
|
@@ -28,6 +26,5 @@ var clearIntegrationAll = function clearIntegrationAll(payload) {
|
|
|
28
26
|
};
|
|
29
27
|
};
|
|
30
28
|
|
|
31
|
-
|
|
32
|
-
exports.
|
|
33
|
-
exports.clearIntegrationAll = clearIntegrationAll; // eslint-disable-line
|
|
29
|
+
// eslint-disable-line
|
|
30
|
+
exports.clearIntegrationAll = clearIntegrationAll;
|
package/dist/actions/jcamp.js
CHANGED
|
@@ -1,41 +1,35 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
|
|
8
|
-
var _action_type = require('../constants/action_type');
|
|
9
|
-
|
|
6
|
+
exports.toggleShow = exports.rmOthersOne = exports.clearAll = exports.addOthers = void 0;
|
|
7
|
+
var _action_type = require("../constants/action_type");
|
|
10
8
|
var addOthers = function addOthers(payload) {
|
|
11
9
|
return {
|
|
12
10
|
type: _action_type.JCAMP.ADD_OTHERS,
|
|
13
11
|
payload: payload
|
|
14
12
|
};
|
|
15
13
|
};
|
|
16
|
-
|
|
14
|
+
exports.addOthers = addOthers;
|
|
17
15
|
var rmOthersOne = function rmOthersOne(payload) {
|
|
18
16
|
return {
|
|
19
17
|
type: _action_type.JCAMP.RM_OTHERS_ONE,
|
|
20
18
|
payload: payload
|
|
21
19
|
};
|
|
22
20
|
};
|
|
23
|
-
|
|
21
|
+
exports.rmOthersOne = rmOthersOne;
|
|
24
22
|
var toggleShow = function toggleShow(payload) {
|
|
25
23
|
return {
|
|
26
24
|
type: _action_type.JCAMP.TOGGLE_SHOW,
|
|
27
25
|
payload: payload
|
|
28
26
|
};
|
|
29
27
|
};
|
|
30
|
-
|
|
28
|
+
exports.toggleShow = toggleShow;
|
|
31
29
|
var clearAll = function clearAll(payload) {
|
|
32
30
|
return {
|
|
33
31
|
type: _action_type.JCAMP.CLEAR_ALL,
|
|
34
32
|
payload: payload
|
|
35
33
|
};
|
|
36
34
|
};
|
|
37
|
-
|
|
38
|
-
exports.addOthers = addOthers;
|
|
39
|
-
exports.rmOthersOne = rmOthersOne;
|
|
40
|
-
exports.toggleShow = toggleShow;
|
|
41
35
|
exports.clearAll = clearAll;
|
package/dist/actions/layout.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.updateLayout =
|
|
7
|
-
|
|
8
|
-
var _action_type = require('../constants/action_type');
|
|
9
|
-
|
|
6
|
+
exports.updateLayout = void 0;
|
|
7
|
+
var _action_type = require("../constants/action_type");
|
|
10
8
|
var updateLayout = function updateLayout(payload) {
|
|
11
9
|
return {
|
|
12
10
|
type: _action_type.LAYOUT.UPDATE,
|
|
@@ -14,4 +12,5 @@ var updateLayout = function updateLayout(payload) {
|
|
|
14
12
|
};
|
|
15
13
|
};
|
|
16
14
|
|
|
17
|
-
|
|
15
|
+
// eslint-disable-line
|
|
16
|
+
exports.updateLayout = updateLayout;
|
package/dist/actions/manager.js
CHANGED
|
@@ -1,40 +1,38 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
|
|
8
|
-
var _action_type = require('../constants/action_type');
|
|
9
|
-
|
|
6
|
+
exports.resetInitNmr = exports.resetInitMs = exports.resetInitCommonWithIntergation = exports.resetInitCommon = exports.resetAll = void 0;
|
|
7
|
+
var _action_type = require("../constants/action_type");
|
|
10
8
|
var resetAll = function resetAll(payload) {
|
|
11
9
|
return {
|
|
12
10
|
type: _action_type.MANAGER.RESETALL,
|
|
13
11
|
payload: payload
|
|
14
12
|
};
|
|
15
13
|
};
|
|
16
|
-
|
|
14
|
+
exports.resetAll = resetAll;
|
|
17
15
|
var resetInitCommon = function resetInitCommon(payload) {
|
|
18
16
|
return {
|
|
19
17
|
type: _action_type.MANAGER.RESET_INIT_COMMON,
|
|
20
18
|
payload: payload
|
|
21
19
|
};
|
|
22
20
|
};
|
|
23
|
-
|
|
21
|
+
exports.resetInitCommon = resetInitCommon;
|
|
24
22
|
var resetInitNmr = function resetInitNmr(payload) {
|
|
25
23
|
return {
|
|
26
24
|
type: _action_type.MANAGER.RESET_INIT_NMR,
|
|
27
25
|
payload: payload
|
|
28
26
|
};
|
|
29
27
|
};
|
|
30
|
-
|
|
28
|
+
exports.resetInitNmr = resetInitNmr;
|
|
31
29
|
var resetInitMs = function resetInitMs(payload) {
|
|
32
30
|
return {
|
|
33
31
|
type: _action_type.MANAGER.RESET_INIT_MS,
|
|
34
32
|
payload: payload
|
|
35
33
|
};
|
|
36
34
|
};
|
|
37
|
-
|
|
35
|
+
exports.resetInitMs = resetInitMs;
|
|
38
36
|
var resetInitCommonWithIntergation = function resetInitCommonWithIntergation(payload) {
|
|
39
37
|
return {
|
|
40
38
|
type: _action_type.MANAGER.RESET_INIT_COMMON_WITH_INTERGATION,
|
|
@@ -42,8 +40,5 @@ var resetInitCommonWithIntergation = function resetInitCommonWithIntergation(pay
|
|
|
42
40
|
};
|
|
43
41
|
};
|
|
44
42
|
|
|
45
|
-
|
|
46
|
-
exports.
|
|
47
|
-
exports.resetInitNmr = resetInitNmr;
|
|
48
|
-
exports.resetInitMs = resetInitMs;
|
|
49
|
-
exports.resetInitCommonWithIntergation = resetInitCommonWithIntergation; // eslint-disable-line
|
|
43
|
+
// eslint-disable-line
|
|
44
|
+
exports.resetInitCommonWithIntergation = resetInitCommonWithIntergation;
|
package/dist/actions/meta.js
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.updateMetaPeaks =
|
|
7
|
-
|
|
8
|
-
var _action_type = require('../constants/action_type');
|
|
9
|
-
|
|
6
|
+
exports.updateMetaPeaks = void 0;
|
|
7
|
+
var _action_type = require("../constants/action_type");
|
|
10
8
|
var updateMetaPeaks = function updateMetaPeaks(payload) {
|
|
11
9
|
return {
|
|
12
10
|
type: _action_type.META.UPDATE_PEAKS,
|
|
13
11
|
payload: payload
|
|
14
12
|
};
|
|
15
13
|
};
|
|
16
|
-
|
|
17
14
|
exports.updateMetaPeaks = updateMetaPeaks;
|
|
@@ -1,47 +1,45 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.updateMpyJ = exports.
|
|
7
|
-
|
|
8
|
-
var _action_type = require('../constants/action_type');
|
|
9
|
-
|
|
6
|
+
exports.updateMpyJ = exports.selectMpyType = exports.rmMpyPeakByPanel = exports.resetMpyOne = exports.clickMpyOne = exports.clearMpyAll = void 0;
|
|
7
|
+
var _action_type = require("../constants/action_type");
|
|
10
8
|
var clickMpyOne = function clickMpyOne(payload) {
|
|
11
9
|
return {
|
|
12
10
|
type: _action_type.MULTIPLICITY.ONE_CLICK,
|
|
13
11
|
payload: payload
|
|
14
12
|
};
|
|
15
13
|
};
|
|
16
|
-
|
|
14
|
+
exports.clickMpyOne = clickMpyOne;
|
|
17
15
|
var rmMpyPeakByPanel = function rmMpyPeakByPanel(payload) {
|
|
18
16
|
return {
|
|
19
17
|
type: _action_type.MULTIPLICITY.PEAK_RM_BY_PANEL,
|
|
20
18
|
payload: payload
|
|
21
19
|
};
|
|
22
20
|
};
|
|
23
|
-
|
|
21
|
+
exports.rmMpyPeakByPanel = rmMpyPeakByPanel;
|
|
24
22
|
var selectMpyType = function selectMpyType(payload) {
|
|
25
23
|
return {
|
|
26
24
|
type: _action_type.MULTIPLICITY.TYPE_SELECT,
|
|
27
25
|
payload: payload
|
|
28
26
|
};
|
|
29
27
|
};
|
|
30
|
-
|
|
28
|
+
exports.selectMpyType = selectMpyType;
|
|
31
29
|
var clearMpyAll = function clearMpyAll(payload) {
|
|
32
30
|
return {
|
|
33
31
|
type: _action_type.MULTIPLICITY.CLEAR_ALL,
|
|
34
32
|
payload: payload
|
|
35
33
|
};
|
|
36
34
|
};
|
|
37
|
-
|
|
35
|
+
exports.clearMpyAll = clearMpyAll;
|
|
38
36
|
var resetMpyOne = function resetMpyOne(payload) {
|
|
39
37
|
return {
|
|
40
38
|
type: _action_type.MULTIPLICITY.RESET_ONE,
|
|
41
39
|
payload: payload
|
|
42
40
|
};
|
|
43
41
|
};
|
|
44
|
-
|
|
42
|
+
exports.resetMpyOne = resetMpyOne;
|
|
45
43
|
var updateMpyJ = function updateMpyJ(payload) {
|
|
46
44
|
return {
|
|
47
45
|
type: _action_type.MULTIPLICITY.UPDATE_J,
|
|
@@ -49,9 +47,5 @@ var updateMpyJ = function updateMpyJ(payload) {
|
|
|
49
47
|
};
|
|
50
48
|
};
|
|
51
49
|
|
|
52
|
-
|
|
53
|
-
exports.
|
|
54
|
-
exports.selectMpyType = selectMpyType;
|
|
55
|
-
exports.clearMpyAll = clearMpyAll;
|
|
56
|
-
exports.resetMpyOne = resetMpyOne;
|
|
57
|
-
exports.updateMpyJ = updateMpyJ; // eslint-disable-line
|
|
50
|
+
// eslint-disable-line
|
|
51
|
+
exports.updateMpyJ = updateMpyJ;
|
package/dist/actions/scan.js
CHANGED
|
@@ -1,33 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.toggleScanIsAuto = exports.
|
|
7
|
-
|
|
8
|
-
var _action_type = require('../constants/action_type');
|
|
9
|
-
|
|
6
|
+
exports.toggleScanIsAuto = exports.setScanTarget = exports.resetScanTarget = void 0;
|
|
7
|
+
var _action_type = require("../constants/action_type");
|
|
10
8
|
var setScanTarget = function setScanTarget(payload) {
|
|
11
9
|
return {
|
|
12
10
|
type: _action_type.SCAN.SET_TARGET,
|
|
13
11
|
payload: payload
|
|
14
12
|
};
|
|
15
13
|
};
|
|
16
|
-
|
|
14
|
+
exports.setScanTarget = setScanTarget;
|
|
17
15
|
var resetScanTarget = function resetScanTarget() {
|
|
18
16
|
return {
|
|
19
17
|
type: _action_type.SCAN.SET_TARGET,
|
|
20
18
|
payload: false
|
|
21
19
|
};
|
|
22
20
|
};
|
|
23
|
-
|
|
21
|
+
exports.resetScanTarget = resetScanTarget;
|
|
24
22
|
var toggleScanIsAuto = function toggleScanIsAuto(payload) {
|
|
25
23
|
return {
|
|
26
24
|
type: _action_type.SCAN.TOGGLE_ISAUTO,
|
|
27
25
|
payload: payload
|
|
28
26
|
};
|
|
29
27
|
};
|
|
30
|
-
|
|
31
|
-
exports.setScanTarget = setScanTarget;
|
|
32
|
-
exports.resetScanTarget = resetScanTarget;
|
|
33
28
|
exports.toggleScanIsAuto = toggleScanIsAuto;
|
package/dist/actions/shift.js
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
|
|
8
|
-
var _action_type = require('../constants/action_type');
|
|
9
|
-
|
|
6
|
+
exports.setShiftRef = exports.rmShiftPeak = void 0;
|
|
7
|
+
var _action_type = require("../constants/action_type");
|
|
10
8
|
var setShiftRef = function setShiftRef(payload) {
|
|
11
9
|
return {
|
|
12
10
|
type: _action_type.SHIFT.SET_REF,
|
|
13
11
|
payload: payload
|
|
14
12
|
};
|
|
15
13
|
};
|
|
16
|
-
|
|
14
|
+
exports.setShiftRef = setShiftRef;
|
|
17
15
|
var rmShiftPeak = function rmShiftPeak() {
|
|
18
16
|
return {
|
|
19
17
|
type: _action_type.SHIFT.RM_PEAK,
|
|
@@ -21,5 +19,5 @@ var rmShiftPeak = function rmShiftPeak() {
|
|
|
21
19
|
};
|
|
22
20
|
};
|
|
23
21
|
|
|
24
|
-
|
|
25
|
-
exports.rmShiftPeak = rmShiftPeak;
|
|
22
|
+
// eslint-disable-line
|
|
23
|
+
exports.rmShiftPeak = rmShiftPeak;
|
package/dist/actions/status.js
CHANGED
|
@@ -1,33 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
|
|
8
|
-
var _action_type = require('../constants/action_type');
|
|
9
|
-
|
|
6
|
+
exports.toggleSubmitBtn = exports.toggleAllBtn = exports.enableAllBtn = void 0;
|
|
7
|
+
var _action_type = require("../constants/action_type");
|
|
10
8
|
var toggleSubmitBtn = function toggleSubmitBtn() {
|
|
11
9
|
return {
|
|
12
10
|
type: _action_type.STATUS.TOGGLEBTNSUBMIT,
|
|
13
11
|
payload: []
|
|
14
12
|
};
|
|
15
13
|
};
|
|
16
|
-
|
|
14
|
+
exports.toggleSubmitBtn = toggleSubmitBtn;
|
|
17
15
|
var toggleAllBtn = function toggleAllBtn() {
|
|
18
16
|
return {
|
|
19
17
|
type: _action_type.STATUS.TOGGLEBTNALL,
|
|
20
18
|
payload: []
|
|
21
19
|
};
|
|
22
20
|
};
|
|
23
|
-
|
|
21
|
+
exports.toggleAllBtn = toggleAllBtn;
|
|
24
22
|
var enableAllBtn = function enableAllBtn() {
|
|
25
23
|
return {
|
|
26
24
|
type: _action_type.STATUS.ENABLEBTNALL,
|
|
27
25
|
payload: []
|
|
28
26
|
};
|
|
29
27
|
};
|
|
30
|
-
|
|
31
|
-
exports.toggleSubmitBtn = toggleSubmitBtn;
|
|
32
|
-
exports.toggleAllBtn = toggleAllBtn;
|
|
33
28
|
exports.enableAllBtn = enableAllBtn;
|
package/dist/actions/submit.js
CHANGED
|
@@ -1,41 +1,35 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
|
|
8
|
-
var _action_type = require('../constants/action_type');
|
|
9
|
-
|
|
6
|
+
exports.updateOperation = exports.updateDecimal = exports.toggleIsIntensity = exports.toggleIsAscend = void 0;
|
|
7
|
+
var _action_type = require("../constants/action_type");
|
|
10
8
|
var toggleIsAscend = function toggleIsAscend() {
|
|
11
9
|
return {
|
|
12
10
|
type: _action_type.SUBMIT.TOGGLE_IS_ASCEND,
|
|
13
11
|
payload: false
|
|
14
12
|
};
|
|
15
13
|
};
|
|
16
|
-
|
|
14
|
+
exports.toggleIsAscend = toggleIsAscend;
|
|
17
15
|
var toggleIsIntensity = function toggleIsIntensity() {
|
|
18
16
|
return {
|
|
19
17
|
type: _action_type.SUBMIT.TOGGLE_IS_INTENSITY,
|
|
20
18
|
payload: false
|
|
21
19
|
};
|
|
22
20
|
};
|
|
23
|
-
|
|
21
|
+
exports.toggleIsIntensity = toggleIsIntensity;
|
|
24
22
|
var updateOperation = function updateOperation(payload) {
|
|
25
23
|
return {
|
|
26
24
|
type: _action_type.SUBMIT.UPDATE_OPERATION,
|
|
27
25
|
payload: payload
|
|
28
26
|
};
|
|
29
27
|
};
|
|
30
|
-
|
|
28
|
+
exports.updateOperation = updateOperation;
|
|
31
29
|
var updateDecimal = function updateDecimal(payload) {
|
|
32
30
|
return {
|
|
33
31
|
type: _action_type.SUBMIT.UPDATE_DECIMAL,
|
|
34
32
|
payload: payload
|
|
35
33
|
};
|
|
36
34
|
};
|
|
37
|
-
|
|
38
|
-
exports.toggleIsAscend = toggleIsAscend;
|
|
39
|
-
exports.toggleIsIntensity = toggleIsIntensity;
|
|
40
|
-
exports.updateOperation = updateOperation;
|
|
41
35
|
exports.updateDecimal = updateDecimal;
|