chem-generic-ui 0.1.44 → 0.1.47

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 (74) hide show
  1. package/.babelrc +11 -0
  2. package/.eslintrc +23 -0
  3. package/.tool-versions +3 -0
  4. package/chem-generic-ui-v0.1.41.tgz +0 -0
  5. package/dist/bundle.js +1 -1
  6. package/dist/bundle.js.LICENSE.txt +70 -0
  7. package/dist/ds_details.json +57 -0
  8. package/dist/ds_klass.json +102 -0
  9. package/dist/ds_props.json +54 -0
  10. package/dist/index.html +14 -0
  11. package/dist/sg_details.json +2036 -0
  12. package/dist/sg_klass.json +850 -0
  13. package/dist/units_system.json +430 -0
  14. package/package.json +3 -13
  15. package/public/ds_details.json +57 -0
  16. package/public/ds_klass.json +102 -0
  17. package/public/ds_props.json +54 -0
  18. package/public/favicon.ico +0 -0
  19. package/public/images/not_available.svg +1 -0
  20. package/public/index.html +47 -0
  21. package/public/logo192.png +0 -0
  22. package/public/logo512.png +0 -0
  23. package/public/manifest.json +25 -0
  24. package/public/robots.txt +3 -0
  25. package/public/sg_details.json +2036 -0
  26. package/public/sg_klass.json +850 -0
  27. package/public/test/ds_props.json +54 -0
  28. package/public/units_system.json +430 -0
  29. package/src/app.js +2 -0
  30. package/src/asserts/bootstrap-theme.min.css +6 -0
  31. package/src/asserts/bootstrap.min.css +6 -0
  32. package/src/asserts/main.css +458 -0
  33. package/src/asserts/main.scss +490 -0
  34. package/src/components/admin/ElementManager.js +28 -0
  35. package/src/components/details/GenDSDetails.js +164 -0
  36. package/src/components/details/GenSgDetails.js +396 -0
  37. package/src/components/dnd/DragDropItemTypes.js +13 -0
  38. package/src/components/dnd/GenericElDropTarget.js +160 -0
  39. package/src/components/dnd/GridDnD.js +42 -0
  40. package/src/components/dnd/PanelDnD.js +85 -0
  41. package/src/components/fields/ButtonConfirm.js +45 -0
  42. package/src/components/fields/ButtonTooltip.js +46 -0
  43. package/src/components/fields/FieldLabel.js +18 -0
  44. package/src/components/fields/GenDSMisType.js +20 -0
  45. package/src/components/fields/GenFormGroupCb.js +17 -0
  46. package/src/components/fields/GenProperties.js +56 -0
  47. package/src/components/fields/GenPropertiesFields.js +440 -0
  48. package/src/components/layers/GenPropertiesLayer.js +178 -0
  49. package/src/components/layers/LayerModal.js +52 -0
  50. package/src/components/layers/LayersLayout.js +68 -0
  51. package/src/components/models/Attachment.js +37 -0
  52. package/src/components/models/GenericSubField.js +10 -0
  53. package/src/components/table/DropLinkRenderer.js +35 -0
  54. package/src/components/table/DropRenderer.js +31 -0
  55. package/src/components/table/DropTextRenderer.js +25 -0
  56. package/src/components/table/GenericElTableDropTarget.js +131 -0
  57. package/src/components/table/GridBtn.js +41 -0
  58. package/src/components/table/GridEntry.js +75 -0
  59. package/src/components/table/SamOption.js +53 -0
  60. package/src/components/table/SelectRenderer.js +34 -0
  61. package/src/components/table/TableRecord.js +254 -0
  62. package/src/components/table/UConverterRenderer.js +24 -0
  63. package/src/components/tools/collate.js +65 -0
  64. package/src/components/tools/orten.js +171 -0
  65. package/src/components/tools/utils.js +414 -0
  66. package/src/data/SystemUnits.js +434 -0
  67. package/src/data/systemUnits.json +430 -0
  68. package/src/index.css +13 -0
  69. package/src/index.html +1 -0
  70. package/src/index.js +45 -0
  71. package/src/logo.svg +1 -0
  72. package/src/simulations/SimuDS.js +52 -0
  73. package/src/simulations/SimuSG.js +54 -0
  74. package/webpack.config.js +46 -0
@@ -0,0 +1,70 @@
1
+ /*
2
+ object-assign
3
+ (c) Sindre Sorhus
4
+ @license MIT
5
+ */
6
+
7
+ /*!
8
+ Copyright (c) 2018 Jed Watson.
9
+ Licensed under the MIT License (MIT), see
10
+ http://jedwatson.github.io/classnames
11
+ */
12
+
13
+ /*!
14
+ * Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com
15
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
16
+ * Copyright 2022 Fonticons, Inc.
17
+ */
18
+
19
+ /*! @preserve
20
+ * numeral.js
21
+ * version : 1.5.6
22
+ * author : Adam Draper
23
+ * license : MIT
24
+ * http://adamwdraper.github.com/Numeral-js/
25
+ */
26
+
27
+ /**
28
+ * @license
29
+ * Lodash <https://lodash.com/>
30
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
31
+ * Released under MIT license <https://lodash.com/license>
32
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
33
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
34
+ */
35
+
36
+ /** @license React v0.20.2
37
+ * scheduler.production.min.js
38
+ *
39
+ * Copyright (c) Facebook, Inc. and its affiliates.
40
+ *
41
+ * This source code is licensed under the MIT license found in the
42
+ * LICENSE file in the root directory of this source tree.
43
+ */
44
+
45
+ /** @license React v16.13.1
46
+ * react-is.production.min.js
47
+ *
48
+ * Copyright (c) Facebook, Inc. and its affiliates.
49
+ *
50
+ * This source code is licensed under the MIT license found in the
51
+ * LICENSE file in the root directory of this source tree.
52
+ */
53
+
54
+ /** @license React v17.0.2
55
+ * react-dom.production.min.js
56
+ *
57
+ * Copyright (c) Facebook, Inc. and its affiliates.
58
+ *
59
+ * This source code is licensed under the MIT license found in the
60
+ * LICENSE file in the root directory of this source tree.
61
+ */
62
+
63
+ /** @license React v17.0.2
64
+ * react.production.min.js
65
+ *
66
+ * Copyright (c) Facebook, Inc. and its affiliates.
67
+ *
68
+ * This source code is licensed under the MIT license found in the
69
+ * LICENSE file in the root directory of this source tree.
70
+ */
@@ -0,0 +1,57 @@
1
+ {
2
+ "dataset_klass_id": 1,
3
+ "element_type": "Container",
4
+ "element_id": "2fc641d0-a46f-11ec-93d3-33042392e5c2",
5
+ "properties": {
6
+ "eln": {
7
+ "version": "0.9.1",
8
+ "base_revision": "413824bce4a7adeb74bb3258f94ab9e3fc87dc09",
9
+ "current_revision": "75f3702e77b841f44fc1d1b8e2650bba35329f59\n"
10
+ },
11
+ "uuid": "3475e057-60ae-4f7c-9ec1-516b29082d64",
12
+ "klass": "DatasetKlass",
13
+ "layers": {
14
+ "params": {
15
+ "key": "params",
16
+ "cols": 3,
17
+ "label": "Parameter",
18
+ "fields": [
19
+ {
20
+ "type": "system-defined",
21
+ "field": "temp",
22
+ "label": "Temperature",
23
+ "default": "",
24
+ "position": 1,
25
+ "description": "measurement temperature",
26
+ "option_layers": "temperature"
27
+ }
28
+ ],
29
+ "position": 100,
30
+ "condition": ""
31
+ },
32
+ "system": {
33
+ "key": "system",
34
+ "cols": 3,
35
+ "label": "Settings",
36
+ "fields": [
37
+ {
38
+ "type": "integer",
39
+ "field": "scan",
40
+ "label": "Number of Scans",
41
+ "default": "",
42
+ "position": 1
43
+ }
44
+ ],
45
+ "position": 100,
46
+ "condition": ""
47
+ }
48
+ },
49
+ "select_options": {}
50
+ },
51
+ "klass_ols": "CHMO:0000593",
52
+ "klass_label": "1H nuclear magnetic resonance spectroscopy (1H NMR)",
53
+ "changed": false,
54
+ "id": "2fd3fd70-a46f-11ec-93d3-33042392e5c2",
55
+ "is_new": true,
56
+ "_checksum": "20a39d76e0299642ac75686f5c2de76f326271d713045365d2c9c7343020b698"
57
+ }
@@ -0,0 +1,102 @@
1
+ {
2
+ "id": 1,
3
+ "uuid": "3475e057-60ae-4f7c-9ec1-516b29082d64",
4
+ "ols_term_id": "CHMO:0000593",
5
+ "label": "1H nuclear magnetic resonance spectroscopy (1H NMR)",
6
+ "desc": "1H nuclear magnetic resonance spectroscopy (1H NMR)",
7
+ "properties_template": {
8
+ "eln": {
9
+ "version": "0.9.1",
10
+ "base_revision": "413824bce4a7adeb74bb3258f94ab9e3fc87dc09",
11
+ "current_revision": "75f3702e77b841f44fc1d1b8e2650bba35329f59\n"
12
+ },
13
+ "uuid": "3475e057-60ae-4f7c-9ec1-516b29082d64",
14
+ "klass": "DatasetKlass",
15
+ "layers": {
16
+ "params": {
17
+ "key": "params",
18
+ "cols": 3,
19
+ "label": "Parameter",
20
+ "fields": [
21
+ {
22
+ "type": "system-defined",
23
+ "field": "temp",
24
+ "label": "Temperature",
25
+ "default": "",
26
+ "position": 1,
27
+ "description": "measurement temperature",
28
+ "option_layers": "temperature"
29
+ }
30
+ ],
31
+ "position": 100,
32
+ "condition": ""
33
+ },
34
+ "system": {
35
+ "key": "system",
36
+ "cols": 3,
37
+ "label": "Settings",
38
+ "fields": [
39
+ {
40
+ "type": "integer",
41
+ "field": "scan",
42
+ "label": "Number of Scans",
43
+ "default": "",
44
+ "position": 1
45
+ }
46
+ ],
47
+ "position": 100,
48
+ "condition": ""
49
+ }
50
+ },
51
+ "select_options": {}
52
+ },
53
+ "properties_release": {
54
+ "eln": {
55
+ "version": "0.9.1",
56
+ "base_revision": "413824bce4a7adeb74bb3258f94ab9e3fc87dc09",
57
+ "current_revision": "75f3702e77b841f44fc1d1b8e2650bba35329f59\n"
58
+ },
59
+ "uuid": "3475e057-60ae-4f7c-9ec1-516b29082d64",
60
+ "klass": "DatasetKlass",
61
+ "layers": {
62
+ "params": {
63
+ "key": "params",
64
+ "cols": 3,
65
+ "label": "Parameter",
66
+ "fields": [
67
+ {
68
+ "type": "system-defined",
69
+ "field": "temp",
70
+ "label": "Temperature",
71
+ "default": "",
72
+ "position": 1,
73
+ "description": "measurement temperature",
74
+ "option_layers": "temperature"
75
+ }
76
+ ],
77
+ "position": 100,
78
+ "condition": ""
79
+ },
80
+ "system": {
81
+ "key": "system",
82
+ "cols": 3,
83
+ "label": "Settings",
84
+ "fields": [
85
+ {
86
+ "type": "integer",
87
+ "field": "scan",
88
+ "label": "Number of Scans",
89
+ "default": "",
90
+ "position": 1
91
+ }
92
+ ],
93
+ "position": 100,
94
+ "condition": ""
95
+ }
96
+ },
97
+ "select_options": {}
98
+ },
99
+ "is_active": true,
100
+ "place": 10,
101
+ "released_at": "02.08.2021, 19:26"
102
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "eln": {
3
+ "version": "0.9.1",
4
+ "base_revision": "413824bce4a7adeb74bb3258f94ab9e3fc87dc09",
5
+ "current_revision": "75f3702e77b841f44fc1d1b8e2650bba35329f59\n"
6
+ },
7
+ "uuid": "27f2d3b7-57bd-4eea-bb49-bd718d68077f",
8
+ "klass": "Dataset",
9
+ "layers": {
10
+ "params": {
11
+ "wf": false,
12
+ "key": "params",
13
+ "cols": 3,
14
+ "label": "Parameter",
15
+ "layer": "params",
16
+ "fields": [
17
+ {
18
+ "type": "system-defined",
19
+ "field": "temp",
20
+ "label": "Temperature",
21
+ "value": "18",
22
+ "default": "",
23
+ "position": 1,
24
+ "description": "measurement temperature",
25
+ "value_system": "C",
26
+ "option_layers": "temperature"
27
+ }
28
+ ],
29
+ "position": 100,
30
+ "condition": ""
31
+ },
32
+ "system": {
33
+ "wf": false,
34
+ "key": "system",
35
+ "cols": 3,
36
+ "label": "Settings",
37
+ "layer": "system",
38
+ "fields": [
39
+ {
40
+ "type": "integer",
41
+ "field": "scan",
42
+ "label": "Number of Scans",
43
+ "value": 2,
44
+ "default": "",
45
+ "position": 1
46
+ }
47
+ ],
48
+ "position": 100,
49
+ "condition": ""
50
+ }
51
+ },
52
+ "klass_uuid": "3475e057-60ae-4f7c-9ec1-516b29082d64",
53
+ "select_options": {}
54
+ }
@@ -0,0 +1,14 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <!-- Latest compiled and minified CSS -->
5
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
6
+ <!-- Optional theme -->
7
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
8
+ <title>The Minimal React Webpack Babel Setup</title>
9
+ </head>
10
+ <body>
11
+ <div id="generic"></div>
12
+ <script src="./bundle.js"></script>
13
+ </body>
14
+ </html>