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.
- package/.babelrc +11 -0
- package/.eslintrc +23 -0
- package/.tool-versions +3 -0
- package/chem-generic-ui-v0.1.41.tgz +0 -0
- package/dist/bundle.js +1 -1
- package/dist/bundle.js.LICENSE.txt +70 -0
- package/dist/ds_details.json +57 -0
- package/dist/ds_klass.json +102 -0
- package/dist/ds_props.json +54 -0
- package/dist/index.html +14 -0
- package/dist/sg_details.json +2036 -0
- package/dist/sg_klass.json +850 -0
- package/dist/units_system.json +430 -0
- package/package.json +3 -13
- package/public/ds_details.json +57 -0
- package/public/ds_klass.json +102 -0
- package/public/ds_props.json +54 -0
- package/public/favicon.ico +0 -0
- package/public/images/not_available.svg +1 -0
- package/public/index.html +47 -0
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +25 -0
- package/public/robots.txt +3 -0
- package/public/sg_details.json +2036 -0
- package/public/sg_klass.json +850 -0
- package/public/test/ds_props.json +54 -0
- package/public/units_system.json +430 -0
- package/src/app.js +2 -0
- package/src/asserts/bootstrap-theme.min.css +6 -0
- package/src/asserts/bootstrap.min.css +6 -0
- package/src/asserts/main.css +458 -0
- package/src/asserts/main.scss +490 -0
- package/src/components/admin/ElementManager.js +28 -0
- package/src/components/details/GenDSDetails.js +164 -0
- package/src/components/details/GenSgDetails.js +396 -0
- package/src/components/dnd/DragDropItemTypes.js +13 -0
- package/src/components/dnd/GenericElDropTarget.js +160 -0
- package/src/components/dnd/GridDnD.js +42 -0
- package/src/components/dnd/PanelDnD.js +85 -0
- package/src/components/fields/ButtonConfirm.js +45 -0
- package/src/components/fields/ButtonTooltip.js +46 -0
- package/src/components/fields/FieldLabel.js +18 -0
- package/src/components/fields/GenDSMisType.js +20 -0
- package/src/components/fields/GenFormGroupCb.js +17 -0
- package/src/components/fields/GenProperties.js +56 -0
- package/src/components/fields/GenPropertiesFields.js +440 -0
- package/src/components/layers/GenPropertiesLayer.js +178 -0
- package/src/components/layers/LayerModal.js +52 -0
- package/src/components/layers/LayersLayout.js +68 -0
- package/src/components/models/Attachment.js +37 -0
- package/src/components/models/GenericSubField.js +10 -0
- package/src/components/table/DropLinkRenderer.js +35 -0
- package/src/components/table/DropRenderer.js +31 -0
- package/src/components/table/DropTextRenderer.js +25 -0
- package/src/components/table/GenericElTableDropTarget.js +131 -0
- package/src/components/table/GridBtn.js +41 -0
- package/src/components/table/GridEntry.js +75 -0
- package/src/components/table/SamOption.js +53 -0
- package/src/components/table/SelectRenderer.js +34 -0
- package/src/components/table/TableRecord.js +254 -0
- package/src/components/table/UConverterRenderer.js +24 -0
- package/src/components/tools/collate.js +65 -0
- package/src/components/tools/orten.js +171 -0
- package/src/components/tools/utils.js +414 -0
- package/src/data/SystemUnits.js +434 -0
- package/src/data/systemUnits.json +430 -0
- package/src/index.css +13 -0
- package/src/index.html +1 -0
- package/src/index.js +45 -0
- package/src/logo.svg +1 -0
- package/src/simulations/SimuDS.js +52 -0
- package/src/simulations/SimuSG.js +54 -0
- 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
|
+
}
|
package/dist/index.html
ADDED
|
@@ -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>
|