@complat/react-spectra-editor 1.0.0-rc2 → 1.0.0-rc20.patch-1

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 (202) hide show
  1. package/README.md +16 -0
  2. package/dist/__tests__/fixtures/aif_jcamp_1.js +136 -0
  3. package/dist/__tests__/fixtures/aif_jcamp_2.js +122 -0
  4. package/dist/__tests__/fixtures/backup/nmr1h_a.js +3518 -0
  5. package/dist/__tests__/fixtures/backup/xrd_jcamp_1.js +10705 -0
  6. package/dist/__tests__/fixtures/cds_jcamp.js +861 -0
  7. package/dist/__tests__/fixtures/compare_ir_1_jcamp.js +585 -0
  8. package/dist/__tests__/fixtures/compare_ir_2_jcamp.js +515 -0
  9. package/dist/__tests__/fixtures/compare_uv_vis_jcamp.js +640 -0
  10. package/dist/__tests__/fixtures/cyclic_voltammetry_1.js +778 -0
  11. package/dist/__tests__/fixtures/cyclic_voltammetry_2.js +758 -0
  12. package/dist/__tests__/fixtures/cyclic_voltammetry_3.js +759 -0
  13. package/dist/__tests__/fixtures/dls_acf_jcamp.js +148 -0
  14. package/dist/__tests__/fixtures/dls_intensity_jcamp.js +151 -0
  15. package/dist/__tests__/fixtures/emissions_jcamp.js +883 -0
  16. package/dist/__tests__/fixtures/hplc_uvvis_jcamp.js +638 -0
  17. package/dist/__tests__/fixtures/hplc_uvvis_jcamp_2.js +221 -0
  18. package/dist/__tests__/fixtures/ir_jcamp.js +148 -0
  19. package/dist/__tests__/fixtures/ir_result.js +46 -0
  20. package/dist/__tests__/fixtures/ir_svg.js +8 -0
  21. package/dist/__tests__/fixtures/ms_jcamp.js +64 -0
  22. package/dist/__tests__/fixtures/nmr13c_dept_jcamp.js +3543 -0
  23. package/dist/__tests__/fixtures/nmr13c_jcamp.js +1229 -0
  24. package/dist/__tests__/fixtures/nmr15n_jcamp.js +7177 -0
  25. package/dist/__tests__/fixtures/nmr19f_jcamp.js +6560 -0
  26. package/dist/__tests__/fixtures/nmr1h_2_jcamp.js +2005 -0
  27. package/dist/__tests__/fixtures/nmr1h_jcamp.js +4516 -0
  28. package/dist/__tests__/fixtures/nmr29si_jcamp.js +3029 -0
  29. package/dist/__tests__/fixtures/nmr31p_jcamp.js +3418 -0
  30. package/dist/__tests__/fixtures/nmr_result.js +68 -0
  31. package/dist/__tests__/fixtures/nmr_svg.js +8 -0
  32. package/dist/__tests__/fixtures/phenylalanin.js +142 -0
  33. package/dist/__tests__/fixtures/qDescValue.js +65 -0
  34. package/dist/__tests__/fixtures/raman_jcamp.js +410 -0
  35. package/dist/__tests__/fixtures/sec_1_jcamp.js +425 -0
  36. package/dist/__tests__/fixtures/sec_2_jcamp.js +407 -0
  37. package/dist/__tests__/fixtures/sec_3_jcamp.js +408 -0
  38. package/dist/__tests__/fixtures/sec_4_jcamp.js +407 -0
  39. package/dist/__tests__/fixtures/tga_jcamp.js +4157 -0
  40. package/dist/__tests__/fixtures/uv_vis_jcamp.js +249 -0
  41. package/dist/__tests__/fixtures/xrd_jcamp_1.js +436 -0
  42. package/dist/__tests__/fixtures/xrd_jcamp_2.js +955 -0
  43. package/dist/__tests__/fixtures/xrd_jcamp_3.js +1871 -0
  44. package/dist/__tests__/units/components/panel/graph_selection.test.js +72 -0
  45. package/dist/__tests__/units/components/panel/peaks.test.js +87 -0
  46. package/dist/actions/curve.js +15 -14
  47. package/dist/actions/cyclic_voltammetry.js +40 -60
  48. package/dist/actions/edit_peak.js +8 -12
  49. package/dist/actions/forecast.js +16 -24
  50. package/dist/actions/integration.js +12 -18
  51. package/dist/actions/jcamp.js +16 -24
  52. package/dist/actions/layout.js +4 -6
  53. package/dist/actions/manager.js +20 -30
  54. package/dist/actions/meta.js +4 -6
  55. package/dist/actions/multiplicity.js +24 -36
  56. package/dist/actions/scan.js +12 -18
  57. package/dist/actions/shift.js +8 -12
  58. package/dist/actions/status.js +12 -18
  59. package/dist/actions/submit.js +16 -24
  60. package/dist/actions/threshold.js +20 -30
  61. package/dist/actions/ui.js +25 -31
  62. package/dist/actions/wavelength.js +4 -6
  63. package/dist/app.js +25 -23
  64. package/dist/components/cmd_bar/01_viewer.js +24 -34
  65. package/dist/components/cmd_bar/02_zoom.js +18 -28
  66. package/dist/components/cmd_bar/03_peak.js +50 -66
  67. package/dist/components/cmd_bar/04_integration.js +70 -84
  68. package/dist/components/cmd_bar/05_multiplicity.js +42 -56
  69. package/dist/components/cmd_bar/06_undo_redo.js +22 -36
  70. package/dist/components/cmd_bar/07_pecker.js +24 -34
  71. package/dist/components/cmd_bar/common.js +11 -7
  72. package/dist/components/cmd_bar/index.js +17 -23
  73. package/dist/components/cmd_bar/r01_layout.js +79 -56
  74. package/dist/components/cmd_bar/r02_scan.js +70 -87
  75. package/dist/components/cmd_bar/r03_threshold.js +54 -68
  76. package/dist/components/cmd_bar/r04_submit.js +71 -83
  77. package/dist/components/cmd_bar/r05_submit_btn.js +64 -72
  78. package/dist/components/cmd_bar/r06_predict_btn.js +142 -152
  79. package/dist/components/cmd_bar/r07_wavelength_btn.js +28 -36
  80. package/dist/components/cmd_bar/tri_btn.js +91 -113
  81. package/dist/components/common/chem.js +2 -3
  82. package/dist/components/common/comps.js +2 -2
  83. package/dist/components/common/draw.js +30 -11
  84. package/dist/components/d3_line/index.js +154 -176
  85. package/dist/components/d3_line/line_focus.js +595 -739
  86. package/dist/components/d3_multi/index.js +153 -174
  87. package/dist/components/d3_multi/multi_focus.js +725 -850
  88. package/dist/components/d3_rect/index.js +112 -134
  89. package/dist/components/d3_rect/rect_focus.js +163 -208
  90. package/dist/components/forecast/comps.js +60 -68
  91. package/dist/components/forecast/ir_comps.js +49 -56
  92. package/dist/components/forecast/ir_viewer.js +61 -68
  93. package/dist/components/forecast/nmr_comps.js +62 -72
  94. package/dist/components/forecast/nmr_viewer.js +59 -68
  95. package/dist/components/forecast/section_loading.js +39 -63
  96. package/dist/components/forecast_viewer.js +109 -119
  97. package/dist/components/multi_jcamps_viewer.js +97 -113
  98. package/dist/components/panel/compare.js +183 -192
  99. package/dist/components/panel/cyclic_voltamery_data.js +149 -165
  100. package/dist/components/panel/graph_selection.js +143 -132
  101. package/dist/components/panel/index.js +112 -144
  102. package/dist/components/panel/info.js +125 -132
  103. package/dist/components/panel/multiplicity.js +215 -223
  104. package/dist/components/panel/multiplicity_coupling.js +108 -136
  105. package/dist/components/panel/multiplicity_select.js +43 -51
  106. package/dist/components/panel/peaks.js +130 -132
  107. package/dist/constants/action_type.js +23 -39
  108. package/dist/constants/list_layout.js +7 -4
  109. package/dist/constants/list_shift.js +117 -103
  110. package/dist/constants/list_ui.js +3 -6
  111. package/dist/constants/list_wavelength.js +7 -8
  112. package/dist/fn.js +2 -3
  113. package/dist/helpers/brush.js +49 -65
  114. package/dist/helpers/calc.js +2 -4
  115. package/dist/helpers/carbonFeatures.js +22 -20
  116. package/dist/helpers/cfg.js +49 -67
  117. package/dist/helpers/chem.js +450 -393
  118. package/dist/helpers/compass.js +92 -83
  119. package/dist/helpers/converter.js +52 -65
  120. package/dist/helpers/extractParams.js +60 -52
  121. package/dist/helpers/extractPeaksEdit.js +29 -25
  122. package/dist/helpers/focus.js +2 -6
  123. package/dist/helpers/format.js +416 -361
  124. package/dist/helpers/init.js +41 -37
  125. package/dist/helpers/integration.js +18 -21
  126. package/dist/helpers/mount.js +57 -61
  127. package/dist/helpers/multiplicity.js +19 -24
  128. package/dist/helpers/multiplicity_calc.js +39 -50
  129. package/dist/helpers/multiplicity_complat.js +21 -47
  130. package/dist/helpers/multiplicity_manual.js +49 -55
  131. package/dist/helpers/multiplicity_verify_basic.js +108 -111
  132. package/dist/helpers/shift.js +15 -23
  133. package/dist/helpers/zoom.js +7 -11
  134. package/dist/index.js +680 -630
  135. package/dist/layer_content.js +40 -43
  136. package/dist/layer_init.js +162 -184
  137. package/dist/layer_prism.js +38 -41
  138. package/dist/reducers/index.js +2 -3
  139. package/dist/reducers/reducer_curve.js +35 -26
  140. package/dist/reducers/reducer_edit_peak.js +122 -98
  141. package/dist/reducers/reducer_forecast.js +57 -44
  142. package/dist/reducers/reducer_integration.js +135 -103
  143. package/dist/reducers/reducer_jcamp.js +49 -44
  144. package/dist/reducers/reducer_layout.js +5 -6
  145. package/dist/reducers/reducer_manager.js +5 -6
  146. package/dist/reducers/reducer_meta.js +5 -6
  147. package/dist/reducers/reducer_multiplicity.js +100 -77
  148. package/dist/reducers/reducer_scan.js +17 -20
  149. package/dist/reducers/reducer_shift.js +115 -70
  150. package/dist/reducers/reducer_simulation.js +7 -8
  151. package/dist/reducers/reducer_status.js +5 -6
  152. package/dist/reducers/reducer_submit.js +12 -15
  153. package/dist/reducers/reducer_threshold.js +5 -6
  154. package/dist/reducers/reducer_ui.js +5 -6
  155. package/dist/reducers/reducer_voltammetry.js +156 -96
  156. package/dist/reducers/reducer_wavelength.js +5 -6
  157. package/dist/reducers/undo_redo_config.js +3 -5
  158. package/dist/sagas/index.js +2 -15
  159. package/dist/sagas/saga_edit_peak.js +54 -68
  160. package/dist/sagas/saga_manager.js +86 -130
  161. package/dist/sagas/saga_meta.js +25 -31
  162. package/dist/sagas/saga_multi_entities.js +40 -103
  163. package/dist/sagas/saga_multiplicity.js +336 -406
  164. package/dist/sagas/saga_ui.js +296 -475
  165. package/dist/setupTests.js +8 -0
  166. package/dist/third_party/jAnalyzer.js +66 -67
  167. package/dist/third_party/peakInterval.js +34 -34
  168. package/package.json +14 -14
  169. package/dist/components/cmd_bar/03_peak_bk.js +0 -139
  170. package/dist/components/cmd_bar/04_integration_bk.js +0 -180
  171. package/dist/components/cmd_bar/05_multiplicity_bk.js +0 -131
  172. package/dist/components/cmd_bar/r01_layout_bk.js +0 -186
  173. package/dist/components/cmd_bar/r06_predict_btn_bk.js +0 -220
  174. package/dist/components/d3_line/line_focus_bk.js +0 -825
  175. package/dist/components/d3_multi/index_bk.js +0 -210
  176. package/dist/components/d3_multi/multi_focus_bk.js +0 -533
  177. package/dist/components/panel/compare_bk.js +0 -256
  178. package/dist/components/panel/cyclic_voltamery_data_bk.js +0 -292
  179. package/dist/components/panel/index_bk.js +0 -178
  180. package/dist/components/panel/info_bk.js +0 -235
  181. package/dist/components/panel/multiplicity_bk.js +0 -280
  182. package/dist/helpers/carbonFeatures_bk.js +0 -45
  183. package/dist/helpers/cfg_bk.js +0 -80
  184. package/dist/helpers/chem_bk.js +0 -787
  185. package/dist/helpers/compass_bk.js +0 -149
  186. package/dist/helpers/converter_bk.js +0 -96
  187. package/dist/helpers/extractPeaksEdit_bk.js +0 -53
  188. package/dist/helpers/format_bk.js +0 -497
  189. package/dist/index_bk.js +0 -640
  190. package/dist/layer_content_bk.js +0 -105
  191. package/dist/layer_init_bk.js +0 -235
  192. package/dist/layer_prism_bk.js +0 -133
  193. package/dist/reducers/reducer_edit_peak_bk.js +0 -108
  194. package/dist/reducers/reducer_integration_bk.js +0 -134
  195. package/dist/reducers/reducer_jcamp_bk.js +0 -71
  196. package/dist/reducers/reducer_multiplicity_bk.js +0 -126
  197. package/dist/reducers/reducer_shift_bk.js +0 -88
  198. package/dist/reducers/reducer_voltammetry_bk.js +0 -287
  199. package/dist/sagas/saga_edit_peak_bk.js +0 -73
  200. package/dist/sagas/saga_multi_entities_bk.js +0 -106
  201. package/dist/sagas/saga_multiplicity_bk.js +0 -351
  202. package/dist/sagas/saga_ui_bk.js +0 -453
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _nmr_svg = _interopRequireDefault(require("./nmr_svg"));
9
+ /* eslint-disable */
10
+
11
+ const nmrResult = {
12
+ outline: {
13
+ code: 200,
14
+ text: 'Load from files.'
15
+ },
16
+ output: {
17
+ result: [{
18
+ id: 1,
19
+ type: 'nmr;13C;1d',
20
+ svgs: [_nmr_svg.default],
21
+ statistics: {
22
+ accept: 0,
23
+ warning: 0,
24
+ reject: 5,
25
+ missing: 1,
26
+ total: 6
27
+ },
28
+ shifts: [{
29
+ atom: 1,
30
+ prediction: 135.5500030517578,
31
+ real: 117.0,
32
+ diff: 18.550003051757812,
33
+ status: 'accept'
34
+ }, {
35
+ atom: 3,
36
+ prediction: 139.1999969482422,
37
+ real: 123.0,
38
+ diff: 16.199996948242188,
39
+ status: 'warning'
40
+ }, {
41
+ atom: 2,
42
+ prediction: 121.5999984741211,
43
+ real: 103.0,
44
+ diff: 18.599998474121094,
45
+ status: 'reject'
46
+ }, {
47
+ atom: 3,
48
+ prediction: 139.1999969482422,
49
+ real: 123.0,
50
+ diff: 16.199996948242188,
51
+ status: 'reject'
52
+ }, {
53
+ atom: 2,
54
+ prediction: 121.5999984741211,
55
+ real: 103.0,
56
+ diff: 18.599998474121094,
57
+ status: 'reject'
58
+ }, {
59
+ atom: 4,
60
+ prediction: 147.13500213623047,
61
+ real: 0.0,
62
+ diff: 0.0,
63
+ status: 'missing'
64
+ }]
65
+ }]
66
+ }
67
+ };
68
+ var _default = exports.default = nmrResult;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ const nmrSvg = "<?xml version='1.0' encoding='iso-8859-1'?>\n<svg version='1.1' baseProfile='full'\n xmlns:svg='http://www.w3.org/2000/svg'\n xmlns:rdkit='http://www.rdkit.org/xml'\n xmlns:xlink='http://www.w3.org/1999/xlink'\n xml:space='preserve'\nwidth='400px' height='400px' >\n<rect style='opacity:1.0;fill:#FFFFFF;stroke:none' width='400' height='400' x='0' y='0'> </rect>\n<ellipse cx='227.791' cy='185.195' rx='25.6758' ry='25.6758' style='fill:#FF7F7F;fill-rule:evenodd;stroke:#FF7F7F;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<ellipse cx='172.203' cy='217.289' rx='25.6758' ry='25.6758' style='fill:#FF7F7F;fill-rule:evenodd;stroke:#FF7F7F;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<ellipse cx='227.791' cy='313.58' rx='25.6758' ry='25.6758' style='fill:#FF7F7F;fill-rule:evenodd;stroke:#FF7F7F;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<ellipse cx='172.203' cy='281.479' rx='25.6758' ry='25.6758' style='fill:#FF7F7F;fill-rule:evenodd;stroke:#FF7F7F;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<ellipse cx='283.386' cy='281.486' rx='25.6758' ry='25.6758' style='fill:#FF7F7F;fill-rule:evenodd;stroke:#FF7F7F;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<ellipse cx='283.379' cy='217.289' rx='25.6758' ry='25.6758' style='fill:#FF7F7F;fill-rule:evenodd;stroke:#FF7F7F;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<ellipse cx='116.614' cy='185.195' rx='25.6758' ry='25.6758' style='fill:#FF7F7F;fill-rule:evenodd;stroke:#FF7F7F;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<ellipse cx='259.886' cy='86.4197' rx='25.6758' ry='25.6758' style='fill:#FF7F7F;fill-rule:evenodd;stroke:#FF7F7F;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<ellipse cx='195.696' cy='86.4197' rx='25.6758' ry='25.6758' style='fill:#FF7F7F;fill-rule:evenodd;stroke:#FF7F7F;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<ellipse cx='61.0263' cy='217.289' rx='25.6758' ry='25.6758' style='fill:#FF7F7F;fill-rule:evenodd;stroke:#FF7F7F;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<ellipse cx='338.974' cy='185.195' rx='25.6758' ry='25.6758' style='fill:#FF7F7F;fill-rule:evenodd;stroke:#FF7F7F;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 222.785,188.085 177.209,214.399' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 232.797,181.558 253.256,166.696' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 253.256,166.696 273.715,151.833' style='fill:none;fill-rule:evenodd;stroke:#CCCC00;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 222.785,181.557 202.329,166.692' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 202.329,166.692 181.873,151.828' style='fill:none;fill-rule:evenodd;stroke:#CCCC00;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 232.797,188.085 278.373,214.399' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 172.203,224.789 172.203,273.979' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 167.197,214.399 121.62,188.085' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 222.785,310.689 177.209,284.37' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 232.797,310.69 278.38,284.375' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 283.385,273.986 283.38,224.789' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 285.503,289.379 307.292,301.956' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 307.292,301.956 329.081,314.534' style='fill:none;fill-rule:evenodd;stroke:#FF0000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 291.28,279.372 313.068,291.95' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 313.068,291.95 334.857,304.527' style='fill:none;fill-rule:evenodd;stroke:#FF0000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 288.385,214.4 328.962,190.975' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 111.608,188.085 71.0383,211.509' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 277.284,139.97 269.803,116.945' style='fill:none;fill-rule:evenodd;stroke:#CCCC00;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 269.803,116.945 262.322,93.9197' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 249.874,86.4197 205.708,86.4197' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 193.26,93.9197 185.782,116.942' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path d='M 185.782,116.942 178.304,139.964' style='fill:none;fill-rule:evenodd;stroke:#CCCC00;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<text x='222.785' y='192.695' style='font-size:15px;font-style:normal;font-weight:normal;fill-opacity:1;stroke:none;font-family:sans-serif;text-anchor:start;fill:#000000' ><tspan>1</tspan></text>\n<text x='167.197' y='224.789' style='font-size:15px;font-style:normal;font-weight:normal;fill-opacity:1;stroke:none;font-family:sans-serif;text-anchor:start;fill:#000000' ><tspan>2</tspan></text>\n<text x='222.785' y='321.08' style='font-size:15px;font-style:normal;font-weight:normal;fill-opacity:1;stroke:none;font-family:sans-serif;text-anchor:start;fill:#000000' ><tspan>3</tspan></text>\n<text x='167.197' y='288.979' style='font-size:15px;font-style:normal;font-weight:normal;fill-opacity:1;stroke:none;font-family:sans-serif;text-anchor:start;fill:#000000' ><tspan>4</tspan></text>\n<text x='278.38' y='288.986' style='font-size:15px;font-style:normal;font-weight:normal;fill-opacity:1;stroke:none;font-family:sans-serif;text-anchor:start;fill:#000000' ><tspan>5</tspan></text>\n<text x='278.373' y='224.789' style='font-size:15px;font-style:normal;font-weight:normal;fill-opacity:1;stroke:none;font-family:sans-serif;text-anchor:start;fill:#000000' ><tspan>6</tspan></text>\n<text x='331.969' y='321.074' style='font-size:15px;font-style:normal;font-weight:normal;fill-opacity:1;stroke:none;font-family:sans-serif;text-anchor:start;fill:#FF0000' ><tspan>O</tspan></text>\n<text x='111.608' y='192.695' style='font-size:15px;font-style:normal;font-weight:normal;fill-opacity:1;stroke:none;font-family:sans-serif;text-anchor:start;fill:#000000' ><tspan>8</tspan></text>\n<text x='273.715' y='154.97' style='font-size:15px;font-style:normal;font-weight:normal;fill-opacity:1;stroke:none;font-family:sans-serif;text-anchor:start;fill:#CCCC00' ><tspan>S</tspan></text>\n<text x='249.874' y='93.9197' style='font-size:15px;font-style:normal;font-weight:normal;fill-opacity:1;stroke:none;font-family:sans-serif;text-anchor:start;fill:#000000' ><tspan>10</tspan></text>\n<text x='185.684' y='93.9197' style='font-size:15px;font-style:normal;font-weight:normal;fill-opacity:1;stroke:none;font-family:sans-serif;text-anchor:start;fill:#000000' ><tspan>11</tspan></text>\n<text x='169.863' y='154.964' style='font-size:15px;font-style:normal;font-weight:normal;fill-opacity:1;stroke:none;font-family:sans-serif;text-anchor:start;fill:#CCCC00' ><tspan>S</tspan></text>\n<text x='51.0143' y='224.789' style='font-size:15px;font-style:normal;font-weight:normal;fill-opacity:1;stroke:none;font-family:sans-serif;text-anchor:start;fill:#000000' ><tspan>13</tspan></text>\n<text x='328.962' y='192.695' style='font-size:15px;font-style:normal;font-weight:normal;fill-opacity:1;stroke:none;font-family:sans-serif;text-anchor:start;fill:#000000' ><tspan>14</tspan></text>\n</svg>\n";
8
+ var _default = exports.default = nmrSvg;
@@ -0,0 +1,142 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /* eslint-disable */
8
+
9
+ const path = 'https://upload.wikimedia.org/wikipedia/commons/7/7a/L-Phenylalanin_-_L-Phenylalanine.svg';
10
+ const svg = `
11
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
12
+ <!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
13
+ <svg
14
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
15
+ xmlns:cc="http://web.resource.org/cc/"
16
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
17
+ xmlns:svg="http://www.w3.org/2000/svg"
18
+ xmlns="http://www.w3.org/2000/svg"
19
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
20
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
21
+ version="1.1"
22
+ id="Layer_1"
23
+ width="231.759"
24
+ height="128.034"
25
+ viewBox="0 0 231.759 128.034"
26
+ style="overflow:visible;enable-background:new 0 0 231.759 128.034;"
27
+ xml:space="preserve"
28
+ sodipodi:version="0.32"
29
+ inkscape:version="0.45.1"
30
+ sodipodi:docname="L-Phenylalanin.svg"
31
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"
32
+ sodipodi:docbase="C:\"><metadata
33
+ id="metadata58"><rdf:RDF><cc:Work
34
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
35
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
36
+ id="defs56" /><sodipodi:namedview
37
+ inkscape:window-height="579"
38
+ inkscape:window-width="801"
39
+ inkscape:pageshadow="2"
40
+ inkscape:pageopacity="0.0"
41
+ guidetolerance="10.0"
42
+ gridtolerance="10.0"
43
+ objecttolerance="10.0"
44
+ borderopacity="1.0"
45
+ bordercolor="#666666"
46
+ pagecolor="#ffffff"
47
+ id="base"
48
+ inkscape:zoom="2.9523409"
49
+ inkscape:cx="115.8795"
50
+ inkscape:cy="64.016998"
51
+ inkscape:window-x="198"
52
+ inkscape:window-y="198"
53
+ inkscape:current-layer="Layer_1" />
54
+ <path
55
+ d="M 104.54648,49.4516 L 104.54648,47.59815 L 137.22743,66.40815 L 137.22743,67.35815 L 136.37148,67.78565 L 104.54648,49.4516 z "
56
+ id="polygon3" />
57
+ <path
58
+ d="M 138.08148,67.78565 L 137.22743,67.35815 L 137.22743,66.40815 L 169.85898,47.59815 L 169.85898,49.4516 L 138.08148,67.78565 z "
59
+ id="polygon5" />
60
+ <g
61
+ id="g7"
62
+ transform="matrix(0.95,0,0,0.95,5.793975,3.20085)">
63
+ <path
64
+ d="M 198.856,68.619 C 198.856,65.766 199.622,63.534 201.154,61.921 C 202.686,60.307 204.664,59.5 207.087,59.5 C 208.674,59.5 210.104,59.879 211.378,60.637 C 212.652,61.396 213.623,62.452 214.291,63.808 C 214.96,65.163 215.294,66.702 215.294,68.42 C 215.294,70.163 214.942,71.722 214.238,73.097 C 213.535,74.472 212.539,75.514 211.249,76.221 C 209.959,76.928 208.568,77.282 207.075,77.282 C 205.457,77.282 204.011,76.891 202.737,76.11 C 201.463,75.329 200.498,74.261 199.841,72.91 C 199.185,71.558 198.856,70.128 198.856,68.619 z M 201.2,68.648 C 201.2,70.718 201.757,72.349 202.871,73.541 C 203.985,74.733 205.383,75.328 207.063,75.328 C 208.775,75.328 210.184,74.726 211.291,73.523 C 212.396,72.32 212.95,70.613 212.95,68.402 C 212.95,67.004 212.714,65.783 212.24,64.74 C 211.767,63.697 211.076,62.888 210.165,62.314 C 209.254,61.74 208.232,61.453 207.099,61.453 C 205.489,61.453 204.103,62.006 202.942,63.111 C 201.781,64.216 201.2,66.063 201.2,68.648 z "
65
+ id="path9" />
66
+ <path
67
+ d="M 218.306,76.984 L 218.306,59.797 L 220.587,59.797 L 220.587,66.86 L 229.478,66.86 L 229.478,59.797 L 231.759,59.797 L 231.759,76.985 L 229.478,76.985 L 229.478,68.891 L 220.587,68.891 L 220.587,76.985 L 218.306,76.985 L 218.306,76.984 z "
68
+ id="path11" />
69
+ </g>
70
+ <path
71
+ d="M 169.85898,49.4516 L 169.85898,47.59815 L 194.32147,61.70565 L 193.51493,63.13065 L 169.85898,49.4516 z "
72
+ id="polygon13" />
73
+ <g
74
+ id="g15"
75
+ transform="matrix(0.95,0,0,0.95,5.793975,3.20085)">
76
+ <path
77
+ d="M 164.457,9.119 C 164.457,6.266 165.223,4.034 166.754,2.421 C 168.287,0.807 170.264,0 172.688,0 C 174.274,0 175.705,0.379 176.979,1.137 C 178.252,1.896 179.223,2.952 179.892,4.308 C 180.561,5.664 180.895,7.202 180.895,8.92 C 180.895,10.663 180.543,12.222 179.839,13.597 C 179.135,14.972 178.139,16.014 176.85,16.721 C 175.559,17.428 174.168,17.782 172.676,17.782 C 171.057,17.782 169.612,17.391 168.338,16.61 C 167.063,15.829 166.098,14.761 165.442,13.41 C 164.786,12.059 164.457,10.628 164.457,9.119 z M 166.801,9.148 C 166.801,11.218 167.358,12.849 168.471,14.041 C 169.586,15.232 170.983,15.828 172.664,15.828 C 174.375,15.828 175.785,15.226 176.891,14.023 C 177.997,12.82 178.551,11.113 178.551,8.902 C 178.551,7.504 178.315,6.283 177.841,5.24 C 177.367,4.197 176.676,3.388 175.766,2.814 C 174.855,2.24 173.832,1.953 172.7,1.953 C 171.089,1.953 169.704,2.506 168.542,3.611 C 167.381,4.717 166.801,6.563 166.801,9.148 z "
78
+ id="path17" />
79
+ </g>
80
+ <path
81
+ d="M 166.20243,22.23315 L 167.81743,22.23315 L 167.81743,50.16315 L 166.20243,50.16315 L 166.20243,22.23315 z "
82
+ id="rect19" />
83
+ <path
84
+ d="M 171.90243,22.23315 L 173.51743,22.23315 L 173.51743,50.16315 L 171.90243,50.16315 L 171.90243,22.23315 z "
85
+ id="rect21" />
86
+ <g
87
+ id="g23"
88
+ transform="matrix(0.95,0,0,0.95,5.793975,3.20085)">
89
+ <path
90
+ d="M 131.528,116.685 L 131.528,99.497 L 133.868,99.497 L 142.872,112.986 L 142.872,99.497 L 145.06,99.497 L 145.06,116.685 L 142.72,116.685 L 133.716,103.196 L 133.716,116.685 L 131.528,116.685 z "
91
+ id="path25" />
92
+ <path
93
+ d="M 148.97,116.685 L 148.97,99.497 L 151.251,99.497 L 151.251,106.56 L 160.142,106.56 L 160.142,99.497 L 162.423,99.497 L 162.423,116.685 L 160.142,116.685 L 160.142,108.591 L 151.251,108.591 L 151.251,116.685 L 148.97,116.685 z "
94
+ id="path27" />
95
+ </g>
96
+ <g
97
+ id="g29"
98
+ transform="matrix(0.95,0,0,0.95,5.793975,3.20085)">
99
+ <path
100
+ d="M 173.205,119.669 L 173.205,121.185 L 164.674,121.185 C 164.662,120.804 164.723,120.438 164.86,120.086 C 165.078,119.506 165.426,118.935 165.908,118.373 C 166.388,117.811 167.079,117.162 167.977,116.426 C 169.373,115.273 170.32,114.362 170.817,113.692 C 171.315,113.022 171.565,112.387 171.565,111.789 C 171.565,111.163 171.339,110.636 170.889,110.205 C 170.439,109.775 169.852,109.56 169.129,109.56 C 168.363,109.56 167.752,109.789 167.293,110.248 C 166.834,110.707 166.602,111.342 166.596,112.153 L 164.971,111.981 C 165.082,110.765 165.502,109.839 166.231,109.203 C 166.959,108.565 167.936,108.247 169.165,108.247 C 170.403,108.247 171.384,108.59 172.106,109.276 C 172.829,109.962 173.19,110.812 173.19,111.826 C 173.19,112.342 173.084,112.849 172.872,113.347 C 172.661,113.845 172.309,114.37 171.819,114.921 C 171.329,115.472 170.515,116.228 169.38,117.189 C 168.429,117.987 167.817,118.527 167.546,118.812 C 167.275,119.095 167.05,119.381 166.874,119.668 L 173.205,119.668 L 173.205,119.669 z "
101
+ id="path31" />
102
+ </g>
103
+ <path
104
+ d="M 140.83648,95.5266 L 133.56898,95.5266 L 136.37148,67.78565 L 137.22743,67.35815 L 138.08148,67.78565 L 140.83648,95.5266 z "
105
+ id="polygon33" />
106
+ <path
107
+ d="M 72.721475,67.83315 L 71.914925,67.35815 L 71.914925,66.40815 L 104.54648,47.59815 L 104.54648,49.4516 L 72.721475,67.83315 z "
108
+ id="polygon35" />
109
+ <path
110
+ d="M 39.281475,49.4516 L 39.281475,47.59815 L 71.914925,66.40815 L 71.914925,67.35815 L 71.106475,67.83315 L 39.281475,49.4516 z "
111
+ id="polygon37" />
112
+ <path
113
+ d="M 38.854925,55.72065 L 39.661475,54.3441 L 66.642425,69.92315 L 65.833975,71.34815 L 38.854925,55.72065 z "
114
+ id="polygon39" />
115
+ <path
116
+ d="M 7.408975,67.83315 L 5.793975,66.88315 L 39.281475,47.59815 L 39.281475,49.4516 L 7.408975,67.83315 z "
117
+ id="polygon41" />
118
+ <path
119
+ d="M 7.408975,104.59815 L 5.793975,105.54815 L 5.793975,66.88315 L 7.408975,67.83315 L 7.408975,104.59815 z "
120
+ id="polygon43" />
121
+ <path
122
+ d="M 11.446475,70.635651 L 13.061475,70.635651 L 13.061475,101.79565 L 11.446475,101.79565 L 11.446475,70.635651 z "
123
+ id="rect45" />
124
+ <path
125
+ d="M 39.281475,122.98065 L 39.281475,124.83315 L 5.793975,105.54815 L 7.408975,104.59815 L 39.281475,122.98065 z "
126
+ id="polygon47" />
127
+ <path
128
+ d="M 71.106475,104.59815 L 72.721475,105.54815 L 39.281475,124.83315 L 39.281475,122.98065 L 71.106475,104.59815 z "
129
+ id="polygon49" />
130
+ <path
131
+ d="M 65.833975,101.08315 L 66.642425,102.50815 L 39.661475,118.0891 L 38.854925,116.6641 L 65.833975,101.08315 z "
132
+ id="polygon51" />
133
+ <path
134
+ d="M 71.106475,67.83315 L 71.914925,67.35815 L 72.721475,67.83315 L 72.721475,105.54815 L 71.106475,104.59815 L 71.106475,67.83315 z "
135
+ id="polygon53" />
136
+ </svg>
137
+ `;
138
+ const Phenylalanin = {
139
+ path,
140
+ svg
141
+ };
142
+ var _default = exports.default = Phenylalanin;
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.qIR = exports.q1H = exports.q13C = void 0;
7
+ const q1H = exports.q1H = [{
8
+ insert: ' '
9
+ }, {
10
+ insert: '1',
11
+ attributes: {
12
+ script: 'super'
13
+ }
14
+ }, {
15
+ insert: 'H NMR (400 MHz, TFH-d8 [2.09 ppm], ppm) δ = '
16
+ }, {
17
+ insert: '6.41 (quint, '
18
+ }, {
19
+ insert: 'J',
20
+ attributes: {
21
+ italic: true
22
+ }
23
+ }, {
24
+ insert: ' = 1.8 Hz, 3H), '
25
+ }, {
26
+ insert: '8.05 (ddd, '
27
+ }, {
28
+ insert: 'J',
29
+ attributes: {
30
+ italic: true
31
+ }
32
+ }, {
33
+ insert: ' = 0.7, '
34
+ }, {
35
+ insert: 'J',
36
+ attributes: {
37
+ italic: true
38
+ }
39
+ }, {
40
+ insert: ' = 2.0, '
41
+ }, {
42
+ insert: 'J',
43
+ attributes: {
44
+ italic: true
45
+ }
46
+ }, {
47
+ insert: ' = 37.4, 3H), '
48
+ }, {
49
+ insert: '14.95 (s, 1H)'
50
+ }, {
51
+ insert: '.'
52
+ }];
53
+ const qIR = exports.qIR = [{
54
+ insert: ' '
55
+ }, {
56
+ insert: 'IR (ATR, ṽ) = 3542 (vw), 1750 (m), 1266 (vs) cm'
57
+ }, {
58
+ insert: '-1',
59
+ attributes: {
60
+ script: 'super'
61
+ }
62
+ }, {
63
+ insert: '. '
64
+ }];
65
+ const q13C = exports.q13C = 'TBD';