chem-generic-ui 0.1.41 → 0.1.44
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/bundle.js +2 -0
- package/package.json +15 -2
- package/.babelrc +0 -11
- package/.eslintrc +0 -23
- package/.tool-versions +0 -3
- package/public/ds_details.json +0 -57
- package/public/ds_klass.json +0 -102
- package/public/ds_props.json +0 -54
- package/public/favicon.ico +0 -0
- package/public/images/not_available.svg +0 -1
- package/public/index.html +0 -47
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +0 -25
- package/public/robots.txt +0 -3
- package/public/sg_details.json +0 -2036
- package/public/sg_klass.json +0 -850
- package/public/test/ds_props.json +0 -54
- package/public/units_system.json +0 -430
- package/src/asserts/main.css +0 -458
- package/src/asserts/main.scss +0 -490
- package/src/components/admin/ElementManager.js +0 -28
- package/src/components/details/GenDSDetails.js +0 -164
- package/src/components/details/GenSgDetails.js +0 -396
- package/src/components/dnd/DragDropItemTypes.js +0 -13
- package/src/components/dnd/GenericElDropTarget.js +0 -160
- package/src/components/dnd/GridDnD.js +0 -42
- package/src/components/dnd/PanelDnD.js +0 -85
- package/src/components/fields/ButtonConfirm.js +0 -45
- package/src/components/fields/ButtonTooltip.js +0 -46
- package/src/components/fields/FieldLabel.js +0 -18
- package/src/components/fields/GenDSMisType.js +0 -20
- package/src/components/fields/GenFormGroupCb.js +0 -17
- package/src/components/fields/GenProperties.js +0 -56
- package/src/components/fields/GenPropertiesFields.js +0 -318
- package/src/components/layers/GenPropertiesLayer.js +0 -176
- package/src/components/layers/LayerModal.js +0 -52
- package/src/components/layers/LayersLayout.js +0 -68
- package/src/components/models/Attachment.js +0 -37
- package/src/components/models/GenericSubField.js +0 -10
- package/src/components/table/DropLinkRenderer.js +0 -35
- package/src/components/table/DropRenderer.js +0 -31
- package/src/components/table/DropTextRenderer.js +0 -25
- package/src/components/table/GenericElTableDropTarget.js +0 -131
- package/src/components/table/GridBtn.js +0 -41
- package/src/components/table/GridEntry.js +0 -75
- package/src/components/table/SamOption.js +0 -53
- package/src/components/table/SelectRenderer.js +0 -34
- package/src/components/table/TableRecord.js +0 -254
- package/src/components/table/UConverterRenderer.js +0 -24
- package/src/components/tools/collate.js +0 -65
- package/src/components/tools/orten.js +0 -171
- package/src/components/tools/utils.js +0 -414
- package/src/data/SystemUnits.js +0 -434
- package/src/data/systemUnits.json +0 -430
- package/src/index.css +0 -13
- package/src/index.html +0 -1
- package/src/index.js +0 -45
- package/src/logo.svg +0 -1
- package/src/simulations/SimuDS.js +0 -52
- package/src/simulations/SimuSG.js +0 -54
- package/webpack.config.js +0 -45
package/src/data/SystemUnits.js
DELETED
|
@@ -1,434 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
SYSTEM_UNITS:
|
|
3
|
-
{
|
|
4
|
-
fields: [
|
|
5
|
-
{
|
|
6
|
-
type: 'numeric',
|
|
7
|
-
field: 'acceleration',
|
|
8
|
-
label: 'Acceleration',
|
|
9
|
-
default: '',
|
|
10
|
-
position: 10,
|
|
11
|
-
placeholder: 'acceleration',
|
|
12
|
-
units: [
|
|
13
|
-
{ key: 'mm_s2', label: 'mm/s<sup>2</sup>' }
|
|
14
|
-
]
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
type: 'numeric',
|
|
18
|
-
field: 'agitation',
|
|
19
|
-
label: 'Agitation',
|
|
20
|
-
default: '',
|
|
21
|
-
position: 20,
|
|
22
|
-
placeholder: 'agitation',
|
|
23
|
-
units: [
|
|
24
|
-
{ key: 'rpm', label: 'rpm' }
|
|
25
|
-
]
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
type: 'numeric',
|
|
29
|
-
field: 'amount_enzyme',
|
|
30
|
-
label: 'Amount enzyme as nmol/min',
|
|
31
|
-
default: '',
|
|
32
|
-
position: 30,
|
|
33
|
-
placeholder: 'amount enzyme as nmol/min',
|
|
34
|
-
units: [
|
|
35
|
-
{ key: 'u', label: 'U', nm: 1 },
|
|
36
|
-
{ key: 'mu', label: 'mU', nm: 1000 }
|
|
37
|
-
]
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
type: 'numeric',
|
|
41
|
-
field: 'molarity',
|
|
42
|
-
label: 'Chem. concentration (Molarity)',
|
|
43
|
-
default: '',
|
|
44
|
-
position: 40,
|
|
45
|
-
placeholder: 'molarity',
|
|
46
|
-
units: [
|
|
47
|
-
{ key: 'mol_l', label: 'mol/L (M)', nm: 1 },
|
|
48
|
-
{ key: 'mmol_l', label: 'mmol/L (mM)', nm: 1000 },
|
|
49
|
-
{ key: 'nmol_l', label: 'nmol/L (nM)', nm: 1000000 },
|
|
50
|
-
{ key: 'pmol_l', label: 'pmol/L (pM)', nm: 1000000000 }
|
|
51
|
-
]
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
type: 'numeric',
|
|
55
|
-
field: 'chem_distances',
|
|
56
|
-
label: 'Chem. distances',
|
|
57
|
-
default: '',
|
|
58
|
-
position: 50,
|
|
59
|
-
placeholder: 'Chem. distances',
|
|
60
|
-
units: [
|
|
61
|
-
{ key: 'angstrom', label: 'Å' }
|
|
62
|
-
]
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
type: 'numeric',
|
|
66
|
-
field: 'concentration',
|
|
67
|
-
label: 'Concentration',
|
|
68
|
-
default: '',
|
|
69
|
-
position: 60,
|
|
70
|
-
placeholder: 'concentration',
|
|
71
|
-
units: [
|
|
72
|
-
{ key: 'ng_l', label: 'ng/L', nm: 1000000 },
|
|
73
|
-
{ key: 'mg_l', label: 'mg/L', nm: 1000 },
|
|
74
|
-
{ key: 'g_l', label: 'g/L', nm: 1 }
|
|
75
|
-
]
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
type: 'numeric',
|
|
79
|
-
field: 'conductivity',
|
|
80
|
-
label: 'Conductivity',
|
|
81
|
-
default: '',
|
|
82
|
-
position: 66,
|
|
83
|
-
placeholder: 'conductivity',
|
|
84
|
-
units: [
|
|
85
|
-
{ key: 's_m', label: 'S/m', nm: 1 }
|
|
86
|
-
]
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
type: 'numeric',
|
|
90
|
-
field: 'current',
|
|
91
|
-
label: 'Current',
|
|
92
|
-
default: '',
|
|
93
|
-
position: 60,
|
|
94
|
-
placeholder: 'Current',
|
|
95
|
-
units: [
|
|
96
|
-
{ key: 'A', label: 'A', nm: 1 },
|
|
97
|
-
{ key: 'mA', label: 'mA', nm: 1000 },
|
|
98
|
-
{ key: 'uA', label: 'µA', nm: 1000000 },
|
|
99
|
-
{ key: 'nA', label: 'nA', nm: 1000000000 }
|
|
100
|
-
]
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
type: 'numeric',
|
|
104
|
-
field: 'degree',
|
|
105
|
-
label: 'Degree',
|
|
106
|
-
default: '',
|
|
107
|
-
position: 70,
|
|
108
|
-
placeholder: 'degree',
|
|
109
|
-
units: [
|
|
110
|
-
{ key: 'degree', label: '°' }
|
|
111
|
-
]
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
type: 'numeric',
|
|
115
|
-
field: 'density',
|
|
116
|
-
label: 'Density',
|
|
117
|
-
default: '',
|
|
118
|
-
position: 75,
|
|
119
|
-
placeholder: 'density',
|
|
120
|
-
units: [
|
|
121
|
-
{ key: 'g_cm3', label: 'g/cm<sup>3</sup>', nm: 1 },
|
|
122
|
-
{ key: 'kg_l', label: 'kg/l', nm: 1 }
|
|
123
|
-
]
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
type: 'numeric',
|
|
127
|
-
field: 'duration',
|
|
128
|
-
label: 'Duration',
|
|
129
|
-
default: '',
|
|
130
|
-
position: 80,
|
|
131
|
-
placeholder: 'duration',
|
|
132
|
-
units: [
|
|
133
|
-
{ key: 'd', label: 'd', nm: 1 },
|
|
134
|
-
{ key: 'h', label: 'h', nm: 24 },
|
|
135
|
-
{ key: 'min', label: 'm', nm: 1440 },
|
|
136
|
-
{ key: 's', label: 's', nm: 86400 }
|
|
137
|
-
]
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
type: 'numeric',
|
|
141
|
-
field: 'elastic_modulus',
|
|
142
|
-
label: 'Elastic modulus',
|
|
143
|
-
default: '',
|
|
144
|
-
position: 86,
|
|
145
|
-
placeholder: 'Elastic modulus',
|
|
146
|
-
units: [
|
|
147
|
-
{ key: 'm_pa', label: 'MPa', nm: 1 },
|
|
148
|
-
{ key: 'k_pa', label: 'kPa', nm: 1000 },
|
|
149
|
-
{ key: 'pa', label: 'Pa', nm: 1000000 }
|
|
150
|
-
]
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
type: 'numeric',
|
|
154
|
-
field: 'electric_field',
|
|
155
|
-
label: 'Electric field',
|
|
156
|
-
default: '',
|
|
157
|
-
position: 86,
|
|
158
|
-
placeholder: 'Electric field',
|
|
159
|
-
units: [
|
|
160
|
-
{ key: 'v_m', label: 'V/m', nm: 1 }
|
|
161
|
-
]
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
type: 'numeric',
|
|
165
|
-
field: 'energy',
|
|
166
|
-
label: 'Energy',
|
|
167
|
-
default: '',
|
|
168
|
-
position: 88,
|
|
169
|
-
placeholder: 'Joule',
|
|
170
|
-
units: [
|
|
171
|
-
{ key: 'j', label: 'J', nm: 1000 },
|
|
172
|
-
{ key: 'k_j', label: 'kJ', nm: 1 }
|
|
173
|
-
]
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
type: 'numeric',
|
|
177
|
-
field: 'enzyme_activity',
|
|
178
|
-
label: 'Enzyme activity',
|
|
179
|
-
default: '',
|
|
180
|
-
position: 90,
|
|
181
|
-
placeholder: 'Enzyme activity',
|
|
182
|
-
units: [
|
|
183
|
-
{ key: 'u_l', label: 'U/L', nm: 1 },
|
|
184
|
-
{ key: 'u_ml', label: 'U/mL', nm: 1000 }
|
|
185
|
-
]
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
type: 'numeric',
|
|
189
|
-
field: 'flow_rate',
|
|
190
|
-
label: 'Flow rate',
|
|
191
|
-
default: '',
|
|
192
|
-
position: 100,
|
|
193
|
-
placeholder: 'Flow rate',
|
|
194
|
-
units: [
|
|
195
|
-
{ key: 'ul_min', label: 'µl/min', nm: 1000000 },
|
|
196
|
-
{ key: 'ml_min', label: 'ml/min', nm: 1000 },
|
|
197
|
-
{ key: 'l_m', label: 'l/m', nm: 1 }
|
|
198
|
-
]
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
type: 'numeric',
|
|
202
|
-
field: 'frequency',
|
|
203
|
-
label: 'Frequency',
|
|
204
|
-
default: '',
|
|
205
|
-
position: 100,
|
|
206
|
-
placeholder: 'frequency',
|
|
207
|
-
units: [
|
|
208
|
-
{ key: 'hz', label: 'Hz', nm: 1000 },
|
|
209
|
-
{ key: 'khz', label: 'kHz', nm: 1 }
|
|
210
|
-
]
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
type: 'numeric',
|
|
214
|
-
field: 'heating_rate',
|
|
215
|
-
label: 'Heating rate',
|
|
216
|
-
default: '',
|
|
217
|
-
position: 106,
|
|
218
|
-
placeholder: 'heating rate',
|
|
219
|
-
units: [
|
|
220
|
-
{ key: 'k_min', label: 'K/min', nm: 1 }
|
|
221
|
-
]
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
type: 'numeric',
|
|
225
|
-
field: 'length',
|
|
226
|
-
label: 'Length',
|
|
227
|
-
default: '',
|
|
228
|
-
position: 110,
|
|
229
|
-
placeholder: 'length',
|
|
230
|
-
units: [
|
|
231
|
-
{ key: 'pm', label: 'pm', nm: 100000 },
|
|
232
|
-
{ key: 'nm', label: 'nm', nm: 10000 },
|
|
233
|
-
{ key: 'mm', label: 'mm', nm: 1000 },
|
|
234
|
-
{ key: 'cm', label: 'cm', nm: 100 },
|
|
235
|
-
{ key: 'm', label: 'm', nm: 1 }
|
|
236
|
-
]
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
type: 'numeric',
|
|
240
|
-
field: 'magnetic_flux_density',
|
|
241
|
-
label: 'Magnetic flux density/inductivity',
|
|
242
|
-
default: '',
|
|
243
|
-
position: 120,
|
|
244
|
-
placeholder: '',
|
|
245
|
-
units: [
|
|
246
|
-
{ key: 'T', label: 'T', nm: 1 }
|
|
247
|
-
]
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
type: 'numeric',
|
|
251
|
-
field: 'mass',
|
|
252
|
-
label: 'Mass',
|
|
253
|
-
default: '',
|
|
254
|
-
position: 120,
|
|
255
|
-
placeholder: 'mass',
|
|
256
|
-
units: [
|
|
257
|
-
{ key: 'g', label: 'g', nm: 1 },
|
|
258
|
-
{ key: 'mg', label: 'mg', nm: 1000 },
|
|
259
|
-
{ key: 'ug', label: 'µg', nm: 1000000 }
|
|
260
|
-
]
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
type: 'numeric',
|
|
264
|
-
field: 'mass_molecule',
|
|
265
|
-
label: 'Mass of molecule',
|
|
266
|
-
default: '',
|
|
267
|
-
position: 126,
|
|
268
|
-
placeholder: 'mass of molecule',
|
|
269
|
-
units: [
|
|
270
|
-
{ key: 'dalton', label: 'D', nm: 1000 },
|
|
271
|
-
{ key: 'kilo_dalton', label: 'kD', nm: 1 }
|
|
272
|
-
]
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
type: 'numeric',
|
|
276
|
-
field: 'molecular_weight',
|
|
277
|
-
label: 'Molecular weight',
|
|
278
|
-
default: '',
|
|
279
|
-
position: 130,
|
|
280
|
-
placeholder: 'Molecular weight',
|
|
281
|
-
units: [
|
|
282
|
-
{ key: 'g_mol', label: 'g/mol' }
|
|
283
|
-
]
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
type: 'numeric',
|
|
287
|
-
field: 'percentage',
|
|
288
|
-
label: 'Percentage',
|
|
289
|
-
default: '',
|
|
290
|
-
position: 136,
|
|
291
|
-
placeholder: 'percentage',
|
|
292
|
-
units: [
|
|
293
|
-
{ key: 'p', label: '%', nm: 1 }
|
|
294
|
-
]
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
type: 'numeric',
|
|
298
|
-
field: 'pressure',
|
|
299
|
-
label: 'Pressure',
|
|
300
|
-
default: '',
|
|
301
|
-
position: 140,
|
|
302
|
-
placeholder: 'pressure',
|
|
303
|
-
units: [
|
|
304
|
-
{ key: 'atm', label: 'atm', nm: 1 },
|
|
305
|
-
{ key: 'pa', label: 'Pa', nm: 101325 },
|
|
306
|
-
{ key: 'torr', label: 'Torr', nm: 760 }
|
|
307
|
-
]
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
type: 'numeric',
|
|
311
|
-
field: 'reaction_rate',
|
|
312
|
-
label: 'Reaction rate',
|
|
313
|
-
default: '',
|
|
314
|
-
position: 150,
|
|
315
|
-
placeholder: 'Reaction rate',
|
|
316
|
-
units: [
|
|
317
|
-
{ key: 'mol_lmin', label: 'mol/Lmin', nm: 1 },
|
|
318
|
-
{ key: 'mol_lsec', label: 'mol/Ls', nm: 60 }
|
|
319
|
-
]
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
type: 'numeric',
|
|
323
|
-
field: 'specific_volume',
|
|
324
|
-
label: 'Specific Volume',
|
|
325
|
-
default: '',
|
|
326
|
-
position: 160,
|
|
327
|
-
placeholder: 'Specific Volume',
|
|
328
|
-
units: [
|
|
329
|
-
{ key: 'cm3_g', label: 'cm<sup>3</sup>/g', nm: 1 }
|
|
330
|
-
]
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
type: 'numeric',
|
|
334
|
-
field: 'speed',
|
|
335
|
-
label: 'Speed',
|
|
336
|
-
default: '',
|
|
337
|
-
position: 165,
|
|
338
|
-
placeholder: 'speed',
|
|
339
|
-
units: [
|
|
340
|
-
{ key: 'cm_s', label: 'cm/s', nm: 1 },
|
|
341
|
-
{ key: 'mm_s', label: 'mm/s', nm: 10 },
|
|
342
|
-
{ key: 'cm_h', label: 'cm/h', nm: 3600 },
|
|
343
|
-
{ key: 'mm_h', label: 'mm/h', nm: 36000 }
|
|
344
|
-
]
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
type: 'numeric',
|
|
348
|
-
field: 'surface',
|
|
349
|
-
label: 'Surface',
|
|
350
|
-
default: '',
|
|
351
|
-
position: 170,
|
|
352
|
-
placeholder: 'surface',
|
|
353
|
-
units: [
|
|
354
|
-
{ key: 'a_2', label: 'A<sup>2</sup>' },
|
|
355
|
-
{ key: 'mm_2', label: 'mm<sup>2</sup>' },
|
|
356
|
-
{ key: 'cm_2', label: 'cm<sup>2</sup>' }
|
|
357
|
-
]
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
type: 'numeric',
|
|
361
|
-
field: 'temperature',
|
|
362
|
-
label: 'Temperature',
|
|
363
|
-
default: '',
|
|
364
|
-
position: 180,
|
|
365
|
-
placeholder: 'temperature',
|
|
366
|
-
units: [
|
|
367
|
-
{ key: 'C', label: '°C' },
|
|
368
|
-
{ key: 'F', label: '°F' },
|
|
369
|
-
{ key: 'K', label: '°K' }
|
|
370
|
-
]
|
|
371
|
-
},
|
|
372
|
-
{
|
|
373
|
-
type: 'numeric',
|
|
374
|
-
field: 'turnover_number',
|
|
375
|
-
label: 'Turnover number',
|
|
376
|
-
default: '',
|
|
377
|
-
position: 190,
|
|
378
|
-
placeholder: 'Turnover number',
|
|
379
|
-
units: [
|
|
380
|
-
{ key: '1_s', label: '1/s' }
|
|
381
|
-
]
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
type: 'numeric',
|
|
385
|
-
field: 'viscosity',
|
|
386
|
-
label: 'Dynamic Viscosity',
|
|
387
|
-
default: '',
|
|
388
|
-
position: 200,
|
|
389
|
-
placeholder: 'Dynamic Viscosity',
|
|
390
|
-
units: [
|
|
391
|
-
{ key: 'pas', label: 'Pas', nm: 1 },
|
|
392
|
-
{ key: 'mpas', label: 'mPas', nm: 1000 }
|
|
393
|
-
]
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
type: 'numeric',
|
|
397
|
-
field: 'kinematic_viscosity',
|
|
398
|
-
label: 'Kinematic Viscosity',
|
|
399
|
-
default: '',
|
|
400
|
-
position: 205,
|
|
401
|
-
placeholder: 'Kinematic Viscosity',
|
|
402
|
-
units: [
|
|
403
|
-
{ key: 'm2_s', label: 'm<sup>2</sup>/s', nm: 1 }
|
|
404
|
-
]
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
type: 'numeric',
|
|
408
|
-
field: 'voltage',
|
|
409
|
-
label: 'Voltage',
|
|
410
|
-
default: '',
|
|
411
|
-
position: 200,
|
|
412
|
-
placeholder: 'voltage',
|
|
413
|
-
units: [
|
|
414
|
-
{ key: 'mv', label: 'mV', nm: 1000 },
|
|
415
|
-
{ key: 'v', label: 'V', nm: 1 }
|
|
416
|
-
]
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
type: 'numeric',
|
|
420
|
-
field: 'volumes',
|
|
421
|
-
label: 'Volumes',
|
|
422
|
-
default: '',
|
|
423
|
-
position: 210,
|
|
424
|
-
placeholder: 'volume',
|
|
425
|
-
units: [
|
|
426
|
-
{ key: 'l', label: 'l', nm: 1 },
|
|
427
|
-
{ key: 'ml', label: 'ml', nm: 1000 },
|
|
428
|
-
{ key: 'ul', label: 'µl', nm: 1000000 },
|
|
429
|
-
{ key: 'nl', label: 'nl', nm: 1000000000 }
|
|
430
|
-
]
|
|
431
|
-
}
|
|
432
|
-
]
|
|
433
|
-
}
|
|
434
|
-
};
|