@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.
Files changed (156) hide show
  1. package/dist/actions/curve.js +4 -8
  2. package/dist/actions/cyclic_voltammetry.js +12 -24
  3. package/dist/actions/edit_peak.js +4 -8
  4. package/dist/actions/forecast.js +6 -12
  5. package/dist/actions/integration.js +7 -10
  6. package/dist/actions/jcamp.js +6 -12
  7. package/dist/actions/layout.js +5 -6
  8. package/dist/actions/manager.js +9 -14
  9. package/dist/actions/meta.js +3 -6
  10. package/dist/actions/multiplicity.js +10 -16
  11. package/dist/actions/scan.js +5 -10
  12. package/dist/actions/shift.js +6 -8
  13. package/dist/actions/status.js +5 -10
  14. package/dist/actions/submit.js +6 -12
  15. package/dist/actions/threshold.js +7 -14
  16. package/dist/actions/ui.js +7 -14
  17. package/dist/actions/wavelength.js +5 -6
  18. package/dist/app.js +86 -106
  19. package/dist/components/cmd_bar/01_viewer.js +56 -102
  20. package/dist/components/cmd_bar/02_zoom.js +46 -89
  21. package/dist/components/cmd_bar/03_peak.js +80 -150
  22. package/dist/components/cmd_bar/03_peak_bk.js +77 -151
  23. package/dist/components/cmd_bar/04_integration.js +120 -215
  24. package/dist/components/cmd_bar/04_integration_bk.js +112 -212
  25. package/dist/components/cmd_bar/05_multiplicity.js +103 -192
  26. package/dist/components/cmd_bar/05_multiplicity_bk.js +92 -189
  27. package/dist/components/cmd_bar/06_undo_redo.js +53 -101
  28. package/dist/components/cmd_bar/07_pecker.js +52 -108
  29. package/dist/components/cmd_bar/common.js +10 -17
  30. package/dist/components/cmd_bar/index.js +63 -107
  31. package/dist/components/cmd_bar/r01_layout.js +147 -332
  32. package/dist/components/cmd_bar/r01_layout_bk.js +141 -324
  33. package/dist/components/cmd_bar/r02_scan.js +89 -173
  34. package/dist/components/cmd_bar/r03_threshold.js +86 -147
  35. package/dist/components/cmd_bar/r04_submit.js +153 -276
  36. package/dist/components/cmd_bar/r05_submit_btn.js +67 -97
  37. package/dist/components/cmd_bar/r06_predict_btn.js +95 -182
  38. package/dist/components/cmd_bar/r06_predict_btn_bk.js +90 -180
  39. package/dist/components/cmd_bar/r07_wavelength_btn.js +52 -97
  40. package/dist/components/cmd_bar/tri_btn.js +80 -143
  41. package/dist/components/common/chem.js +4 -3
  42. package/dist/components/common/comps.js +8 -21
  43. package/dist/components/common/draw.js +11 -18
  44. package/dist/components/d3_line/index.js +115 -143
  45. package/dist/components/d3_line/line_focus.js +322 -362
  46. package/dist/components/d3_line/line_focus_bk.js +319 -354
  47. package/dist/components/d3_multi/index.js +121 -149
  48. package/dist/components/d3_multi/index_bk.js +112 -142
  49. package/dist/components/d3_multi/multi_focus.js +357 -399
  50. package/dist/components/d3_multi/multi_focus_bk.js +199 -216
  51. package/dist/components/d3_rect/index.js +90 -117
  52. package/dist/components/d3_rect/rect_focus.js +87 -116
  53. package/dist/components/forecast/comps.js +151 -275
  54. package/dist/components/forecast/ir_comps.js +111 -190
  55. package/dist/components/forecast/ir_viewer.js +50 -102
  56. package/dist/components/forecast/nmr_comps.js +102 -213
  57. package/dist/components/forecast/nmr_viewer.js +51 -102
  58. package/dist/components/forecast/section_loading.js +47 -61
  59. package/dist/components/forecast_viewer.js +93 -131
  60. package/dist/components/multi_jcamps_viewer.js +97 -139
  61. package/dist/components/panel/compare.js +121 -238
  62. package/dist/components/panel/compare_bk.js +119 -233
  63. package/dist/components/panel/cyclic_voltamery_data.js +163 -321
  64. package/dist/components/panel/cyclic_voltamery_data_bk.js +156 -320
  65. package/dist/components/panel/graph_selection.js +132 -198
  66. package/dist/components/panel/index.js +117 -150
  67. package/dist/components/panel/index_bk.js +104 -138
  68. package/dist/components/panel/info.js +118 -218
  69. package/dist/components/panel/info_bk.js +108 -214
  70. package/dist/components/panel/multiplicity.js +126 -250
  71. package/dist/components/panel/multiplicity_bk.js +121 -246
  72. package/dist/components/panel/multiplicity_coupling.js +94 -128
  73. package/dist/components/panel/multiplicity_select.js +49 -67
  74. package/dist/components/panel/peaks.js +105 -201
  75. package/dist/constants/action_type.js +19 -36
  76. package/dist/constants/list_layout.js +2 -2
  77. package/dist/constants/list_shift.js +10 -83
  78. package/dist/constants/list_ui.js +4 -6
  79. package/dist/constants/list_wavelength.js +2 -6
  80. package/dist/fn.js +14 -21
  81. package/dist/helpers/brush.js +57 -48
  82. package/dist/helpers/calc.js +2 -3
  83. package/dist/helpers/carbonFeatures.js +13 -15
  84. package/dist/helpers/carbonFeatures_bk.js +11 -13
  85. package/dist/helpers/cfg.js +21 -38
  86. package/dist/helpers/cfg_bk.js +18 -37
  87. package/dist/helpers/chem.js +228 -263
  88. package/dist/helpers/chem_bk.js +195 -232
  89. package/dist/helpers/compass.js +37 -59
  90. package/dist/helpers/compass_bk.js +37 -59
  91. package/dist/helpers/converter.js +22 -39
  92. package/dist/helpers/converter_bk.js +13 -23
  93. package/dist/helpers/extractParams.js +39 -38
  94. package/dist/helpers/extractPeaksEdit.js +17 -33
  95. package/dist/helpers/extractPeaksEdit_bk.js +17 -31
  96. package/dist/helpers/focus.js +4 -5
  97. package/dist/helpers/format.js +135 -109
  98. package/dist/helpers/format_bk.js +128 -101
  99. package/dist/helpers/init.js +24 -36
  100. package/dist/helpers/integration.js +9 -17
  101. package/dist/helpers/mount.js +44 -45
  102. package/dist/helpers/multiplicity.js +17 -14
  103. package/dist/helpers/multiplicity_calc.js +30 -34
  104. package/dist/helpers/multiplicity_complat.js +7 -7
  105. package/dist/helpers/multiplicity_manual.js +68 -31
  106. package/dist/helpers/multiplicity_verify_basic.js +151 -95
  107. package/dist/helpers/shift.js +7 -12
  108. package/dist/helpers/zoom.js +8 -12
  109. package/dist/index.js +542 -714
  110. package/dist/index_bk.js +394 -533
  111. package/dist/layer_content.js +51 -72
  112. package/dist/layer_content_bk.js +50 -73
  113. package/dist/layer_init.js +124 -162
  114. package/dist/layer_init_bk.js +118 -161
  115. package/dist/layer_prism.js +106 -153
  116. package/dist/layer_prism_bk.js +101 -154
  117. package/dist/reducers/index.js +42 -98
  118. package/dist/reducers/reducer_curve.js +38 -31
  119. package/dist/reducers/reducer_edit_peak.js +71 -70
  120. package/dist/reducers/reducer_edit_peak_bk.js +36 -39
  121. package/dist/reducers/reducer_forecast.js +31 -35
  122. package/dist/reducers/reducer_integration.js +82 -91
  123. package/dist/reducers/reducer_integration_bk.js +52 -55
  124. package/dist/reducers/reducer_jcamp.js +38 -37
  125. package/dist/reducers/reducer_jcamp_bk.js +22 -25
  126. package/dist/reducers/reducer_layout.js +8 -10
  127. package/dist/reducers/reducer_manager.js +5 -5
  128. package/dist/reducers/reducer_meta.js +7 -8
  129. package/dist/reducers/reducer_multiplicity.js +65 -70
  130. package/dist/reducers/reducer_multiplicity_bk.js +43 -48
  131. package/dist/reducers/reducer_scan.js +11 -15
  132. package/dist/reducers/reducer_shift.js +47 -70
  133. package/dist/reducers/reducer_shift_bk.js +9 -20
  134. package/dist/reducers/reducer_simulation.js +7 -9
  135. package/dist/reducers/reducer_status.js +21 -12
  136. package/dist/reducers/reducer_submit.js +34 -24
  137. package/dist/reducers/reducer_threshold.js +28 -15
  138. package/dist/reducers/reducer_ui.js +16 -12
  139. package/dist/reducers/reducer_voltammetry.js +116 -109
  140. package/dist/reducers/reducer_voltammetry_bk.js +93 -82
  141. package/dist/reducers/reducer_wavelength.js +5 -7
  142. package/dist/reducers/undo_redo_config.js +6 -11
  143. package/dist/sagas/index.js +21 -45
  144. package/dist/sagas/saga_edit_peak.js +63 -79
  145. package/dist/sagas/saga_edit_peak_bk.js +44 -55
  146. package/dist/sagas/saga_manager.js +109 -144
  147. package/dist/sagas/saga_meta.js +31 -35
  148. package/dist/sagas/saga_multi_entities.js +109 -121
  149. package/dist/sagas/saga_multi_entities_bk.js +87 -95
  150. package/dist/sagas/saga_multiplicity.js +380 -366
  151. package/dist/sagas/saga_multiplicity_bk.js +274 -310
  152. package/dist/sagas/saga_ui.js +422 -442
  153. package/dist/sagas/saga_ui_bk.js +387 -438
  154. package/dist/third_party/jAnalyzer.js +26 -30
  155. package/dist/third_party/peakInterval.js +14 -18
  156. package/package.json +11 -8
@@ -1,25 +1,21 @@
1
- 'use strict';
1
+ "use strict";
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.setAllCurves = exports.selectCurve = undefined;
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
- 'use strict';
1
+ "use strict";
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.removeCylicVoltaPecker = exports.addCylicVoltaPecker = exports.selectPairPeak = exports.setWorkWithMaxPeak = exports.removeCylicVoltaMinPeak = exports.addCylicVoltaMinPeak = exports.removeCylicVoltaMaxPeak = exports.addCylicVoltaMaxPeak = exports.removeCylicVoltaPairPeak = exports.addNewCylicVoltaPairPeak = undefined;
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
- 'use strict';
1
+ "use strict";
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.rmFromNegList = exports.rmFromPosList = undefined;
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;
@@ -1,41 +1,35 @@
1
- 'use strict';
1
+ "use strict";
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.clearForecastStatus = exports.setNmrStatus = exports.setIrStatus = exports.initForecastStatus = undefined;
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
- 'use strict';
1
+ "use strict";
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.clearIntegrationAll = exports.setIntegrationFkr = exports.sweepIntegration = undefined;
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
- exports.sweepIntegration = sweepIntegration;
32
- exports.setIntegrationFkr = setIntegrationFkr;
33
- exports.clearIntegrationAll = clearIntegrationAll; // eslint-disable-line
29
+ // eslint-disable-line
30
+ exports.clearIntegrationAll = clearIntegrationAll;
@@ -1,41 +1,35 @@
1
- 'use strict';
1
+ "use strict";
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.clearAll = exports.toggleShow = exports.rmOthersOne = exports.addOthers = undefined;
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;
@@ -1,12 +1,10 @@
1
- 'use strict';
1
+ "use strict";
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.updateLayout = undefined;
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
- exports.updateLayout = updateLayout; // eslint-disable-line
15
+ // eslint-disable-line
16
+ exports.updateLayout = updateLayout;
@@ -1,40 +1,38 @@
1
- 'use strict';
1
+ "use strict";
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.resetInitCommonWithIntergation = exports.resetInitMs = exports.resetInitNmr = exports.resetInitCommon = exports.resetAll = undefined;
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
- exports.resetAll = resetAll;
46
- exports.resetInitCommon = resetInitCommon;
47
- exports.resetInitNmr = resetInitNmr;
48
- exports.resetInitMs = resetInitMs;
49
- exports.resetInitCommonWithIntergation = resetInitCommonWithIntergation; // eslint-disable-line
43
+ // eslint-disable-line
44
+ exports.resetInitCommonWithIntergation = resetInitCommonWithIntergation;
@@ -1,17 +1,14 @@
1
- 'use strict';
1
+ "use strict";
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.updateMetaPeaks = undefined;
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
- 'use strict';
1
+ "use strict";
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.updateMpyJ = exports.resetMpyOne = exports.clearMpyAll = exports.selectMpyType = exports.rmMpyPeakByPanel = exports.clickMpyOne = undefined;
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
- exports.clickMpyOne = clickMpyOne;
53
- exports.rmMpyPeakByPanel = rmMpyPeakByPanel;
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;
@@ -1,33 +1,28 @@
1
- 'use strict';
1
+ "use strict";
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.toggleScanIsAuto = exports.resetScanTarget = exports.setScanTarget = undefined;
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;
@@ -1,19 +1,17 @@
1
- 'use strict';
1
+ "use strict";
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.rmShiftPeak = exports.setShiftRef = undefined;
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
- exports.setShiftRef = setShiftRef;
25
- exports.rmShiftPeak = rmShiftPeak; // eslint-disable-line
22
+ // eslint-disable-line
23
+ exports.rmShiftPeak = rmShiftPeak;
@@ -1,33 +1,28 @@
1
- 'use strict';
1
+ "use strict";
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.enableAllBtn = exports.toggleAllBtn = exports.toggleSubmitBtn = undefined;
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;
@@ -1,41 +1,35 @@
1
- 'use strict';
1
+ "use strict";
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.updateDecimal = exports.updateOperation = exports.toggleIsIntensity = exports.toggleIsAscend = undefined;
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;