chem-generic-ui 0.1.33 → 0.1.35
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/app.js +106 -0
- package/dist/app.js.map +1 -0
- package/dist/asserts/main.css +465 -0
- package/dist/asserts/main.scss +496 -0
- package/dist/components/admin/ElementManager.js +55 -0
- package/dist/components/admin/ElementManager.js.map +1 -0
- package/dist/components/details/GenDSDetails.js +274 -0
- package/dist/components/details/GenDSDetails.js.map +1 -0
- package/dist/components/details/GenSgDetails.js +567 -0
- package/dist/components/details/GenSgDetails.js.map +1 -0
- package/dist/components/dnd/DragDropItemTypes.js +21 -0
- package/dist/components/dnd/DragDropItemTypes.js.map +1 -0
- package/dist/components/dnd/GenericElDropTarget.js +275 -0
- package/dist/components/dnd/GenericElDropTarget.js.map +1 -0
- package/dist/components/dnd/GridDnD.js +78 -0
- package/dist/components/dnd/GridDnD.js.map +1 -0
- package/dist/components/dnd/PanelDnD.js +172 -0
- package/dist/components/dnd/PanelDnD.js.map +1 -0
- package/dist/components/fields/ButtonConfirm.js +77 -0
- package/dist/components/fields/ButtonConfirm.js.map +1 -0
- package/dist/components/fields/ButtonTooltip.js +89 -0
- package/dist/components/fields/ButtonTooltip.js.map +1 -0
- package/dist/components/fields/FieldLabel.js +39 -0
- package/dist/components/fields/FieldLabel.js.map +1 -0
- package/dist/components/fields/GenDSMisType.js +45 -0
- package/dist/components/fields/GenDSMisType.js.map +1 -0
- package/dist/components/fields/GenFormGroupCb.js +32 -0
- package/dist/components/fields/GenFormGroupCb.js.map +1 -0
- package/dist/components/fields/GenProperties.js +84 -0
- package/dist/components/fields/GenProperties.js.map +1 -0
- package/dist/components/fields/GenPropertiesFields.js +617 -0
- package/dist/components/fields/GenPropertiesFields.js.map +1 -0
- package/dist/components/flow/FlowView.js +89 -0
- package/dist/components/flow/FlowView.js.map +1 -0
- package/dist/components/flow/FlowViewerModal.js +82 -0
- package/dist/components/flow/FlowViewerModal.js.map +1 -0
- package/dist/components/flow/LayerNode.js +60 -0
- package/dist/components/flow/LayerNode.js.map +1 -0
- package/dist/components/layers/GenPropertiesLayer.js +281 -0
- package/dist/components/layers/GenPropertiesLayer.js.map +1 -0
- package/dist/components/layers/LayerModal.js +82 -0
- package/dist/components/layers/LayerModal.js.map +1 -0
- package/dist/components/layers/LayersLayout.js +89 -0
- package/dist/components/layers/LayersLayout.js.map +1 -0
- package/dist/components/models/Attachment.js +74 -0
- package/dist/components/models/Attachment.js.map +1 -0
- package/dist/components/models/GenericSubField.js +38 -0
- package/dist/components/models/GenericSubField.js.map +1 -0
- package/dist/components/table/DropLinkRenderer.js +56 -0
- package/dist/components/table/DropLinkRenderer.js.map +1 -0
- package/dist/components/table/DropRenderer.js +46 -0
- package/dist/components/table/DropRenderer.js.map +1 -0
- package/dist/components/table/DropTextRenderer.js +46 -0
- package/dist/components/table/DropTextRenderer.js.map +1 -0
- package/dist/components/table/GenericElTableDropTarget.js +253 -0
- package/dist/components/table/GenericElTableDropTarget.js.map +1 -0
- package/dist/components/table/GridBtn.js +103 -0
- package/dist/components/table/GridBtn.js.map +1 -0
- package/dist/components/table/GridEntry.js +164 -0
- package/dist/components/table/GridEntry.js.map +1 -0
- package/dist/components/table/SamOption.js +88 -0
- package/dist/components/table/SamOption.js.map +1 -0
- package/dist/components/table/SelectRenderer.js +53 -0
- package/dist/components/table/SelectRenderer.js.map +1 -0
- package/dist/components/table/TableRecord.js +455 -0
- package/dist/components/table/TableRecord.js.map +1 -0
- package/dist/components/table/UConverterRenderer.js +42 -0
- package/dist/components/table/UConverterRenderer.js.map +1 -0
- package/dist/components/tools/collate.js +104 -0
- package/dist/components/tools/collate.js.map +1 -0
- package/dist/components/tools/orten.js +295 -0
- package/dist/components/tools/orten.js.map +1 -0
- package/dist/components/tools/utils.js +594 -0
- package/dist/components/tools/utils.js.map +1 -0
- package/dist/data/SystemUnits.js +589 -0
- package/dist/data/SystemUnits.js.map +1 -0
- package/dist/data/systemUnits.json +430 -0
- package/dist/index.css +13 -0
- package/dist/index.js +40 -0
- package/dist/index.js.map +1 -0
- package/dist/logo.svg +1 -0
- package/dist/simulations/SimWF.js +124 -0
- package/dist/simulations/SimWF.js.map +1 -0
- package/dist/simulations/SimuDS.js +119 -0
- package/dist/simulations/SimuDS.js.map +1 -0
- package/dist/simulations/SimuSG.js +124 -0
- package/dist/simulations/SimuSG.js.map +1 -0
- package/package.json +11 -8
- package/dist/generic.js +0 -6219
|
@@ -0,0 +1,496 @@
|
|
|
1
|
+
$color-editable: #fff;
|
|
2
|
+
$color-readonly: #ddd;
|
|
3
|
+
$color-required: lightyellow;
|
|
4
|
+
$color-invalid: lightcoral;
|
|
5
|
+
$color-can-drop: lightgray;
|
|
6
|
+
$color-is-over: #31708f;
|
|
7
|
+
$colo-bs-primary: #337ab7;
|
|
8
|
+
$color-bs-warning: #f0ad4e;
|
|
9
|
+
$colo-selected-border: #0dcaf0;
|
|
10
|
+
$color-default: #777;
|
|
11
|
+
$color-bs-info: #5bc0de;
|
|
12
|
+
|
|
13
|
+
.gu_button_right {
|
|
14
|
+
float: right;
|
|
15
|
+
right: 0px;
|
|
16
|
+
z-index: 1;
|
|
17
|
+
margin-left: 2px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.bg-bs-primary {
|
|
21
|
+
background-color: $colo-bs-primary !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.bg-bs-warning {
|
|
25
|
+
background-color: $color-bs-warning !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.icon_generic_nav {
|
|
29
|
+
font-family: FontAwesome, Helvetica, Arial, sans-serif !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.field_required {
|
|
33
|
+
background-color: $color-required;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.template_panel_heading {
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-content: space-between;
|
|
39
|
+
align-items: center;
|
|
40
|
+
padding: 5px 10px 5px 10px !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.panel_generic_properties {
|
|
44
|
+
border-left: unset !important;
|
|
45
|
+
border-right: unset !important;
|
|
46
|
+
border-bottom: unset !important;
|
|
47
|
+
line-height: 26px !important;
|
|
48
|
+
box-shadow: unset !important;
|
|
49
|
+
margin-bottom: unset !important;
|
|
50
|
+
.panel-title {
|
|
51
|
+
font-weight: bold;
|
|
52
|
+
}
|
|
53
|
+
.default_style {
|
|
54
|
+
font-size: 14px;
|
|
55
|
+
line-height: normal;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.panel_generic_properties_body {
|
|
60
|
+
padding-left: unset !important;
|
|
61
|
+
padding-right: unset !important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@mixin generic_panel_header {
|
|
65
|
+
font-weight: bold;
|
|
66
|
+
padding: 10px 0px !important;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.panel_generic_heading_slim {
|
|
70
|
+
padding: 5px 0px !important;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.panel_generic_heading {
|
|
74
|
+
@include generic_panel_header;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.panel_generic_heading_bu {
|
|
78
|
+
@include generic_panel_header;
|
|
79
|
+
text-decoration: underline;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.panel_generic_heading_bui {
|
|
83
|
+
@include generic_panel_header;
|
|
84
|
+
text-decoration: underline;
|
|
85
|
+
font-style: italic;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.text_generic_properties {
|
|
89
|
+
.dummy {
|
|
90
|
+
background-color: unset !important;
|
|
91
|
+
border: unset !important;
|
|
92
|
+
box-shadow: unset !important;
|
|
93
|
+
}
|
|
94
|
+
.editable {
|
|
95
|
+
background-color: $color-editable;
|
|
96
|
+
}
|
|
97
|
+
.readonly {
|
|
98
|
+
background-color: $color-readonly;
|
|
99
|
+
}
|
|
100
|
+
.required {
|
|
101
|
+
background-color: $color-required;
|
|
102
|
+
}
|
|
103
|
+
input:invalid {
|
|
104
|
+
border: 1px solid $color-invalid;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.select_generic_properties_editable {
|
|
109
|
+
.Select-control {
|
|
110
|
+
background-color: $color-editable;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.select_generic_properties_readonly {
|
|
115
|
+
.Select-control {
|
|
116
|
+
background-color: $color-readonly;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.select_generic_properties_required {
|
|
121
|
+
.Select-control {
|
|
122
|
+
background-color: $color-required;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.drop_generic_properties {
|
|
127
|
+
display: flex;
|
|
128
|
+
align-items: center;
|
|
129
|
+
.target {
|
|
130
|
+
height: 100%;
|
|
131
|
+
width: 100%;
|
|
132
|
+
margin: 0px 10px 0px 10px;
|
|
133
|
+
display: inline-block;
|
|
134
|
+
.indicator {
|
|
135
|
+
font-size: x-large;
|
|
136
|
+
}
|
|
137
|
+
.s-img {
|
|
138
|
+
display: flex;
|
|
139
|
+
img {
|
|
140
|
+
height: 4vh;
|
|
141
|
+
width: 4vw;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
.data {
|
|
145
|
+
font-size: medium;
|
|
146
|
+
line-height: normal !important;
|
|
147
|
+
text-overflow: ellipsis;
|
|
148
|
+
overflow: hidden;
|
|
149
|
+
white-space: nowrap;
|
|
150
|
+
align-self: center;
|
|
151
|
+
width: 100%;
|
|
152
|
+
}
|
|
153
|
+
&.can-drop {
|
|
154
|
+
.indicator {
|
|
155
|
+
border: 2px dashed $color-can-drop;
|
|
156
|
+
color: $color-can-drop;
|
|
157
|
+
}
|
|
158
|
+
.data {
|
|
159
|
+
border: 2px dashed $color-can-drop;
|
|
160
|
+
color: $color-can-drop;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
&.is-over {
|
|
164
|
+
.indicator {
|
|
165
|
+
border: 2px dashed $color-is-over;
|
|
166
|
+
color: $color-is-over;
|
|
167
|
+
}
|
|
168
|
+
.data {
|
|
169
|
+
border: 2px dashed $color-is-over;
|
|
170
|
+
color: $color-is-over;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
.btn_del {
|
|
175
|
+
float: right;
|
|
176
|
+
align-self: center;
|
|
177
|
+
}
|
|
178
|
+
.sample_radios {
|
|
179
|
+
font-size: xx-small;
|
|
180
|
+
line-height: 2;
|
|
181
|
+
display: inline-flex;
|
|
182
|
+
padding-right: 5px;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.generic_criteria_modal {
|
|
187
|
+
display: block;
|
|
188
|
+
padding-left: 0px;
|
|
189
|
+
top: 45% !important;
|
|
190
|
+
width: 75vw !important;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.search_criteria_mof {
|
|
194
|
+
.modal_body {
|
|
195
|
+
max-height: 70vh;
|
|
196
|
+
height: 70vh;
|
|
197
|
+
overflow: auto;
|
|
198
|
+
}
|
|
199
|
+
.btn_footer {
|
|
200
|
+
margin-top: 10px;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.input-form {
|
|
205
|
+
.input-group-addon {
|
|
206
|
+
font-weight: bold;
|
|
207
|
+
}
|
|
208
|
+
.help {
|
|
209
|
+
font-size: 80%;
|
|
210
|
+
margin: 6px;
|
|
211
|
+
font-style: italic;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.g-ds-note {
|
|
216
|
+
color: black !important;
|
|
217
|
+
float: left !important;
|
|
218
|
+
text-align: left !important;
|
|
219
|
+
font-weight: lighter !important;
|
|
220
|
+
.g-ds-title { text-decoration: underline; font-weight: 700; line-height: 1.5; }
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.g_input_group {
|
|
224
|
+
padding: 6px 6px !important;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.g_input_group_label {
|
|
228
|
+
background-color: lightgray !important;
|
|
229
|
+
width: unset !important;
|
|
230
|
+
white-space: nowrap !important;
|
|
231
|
+
padding: 6px 6px !important;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.g_col_w {
|
|
235
|
+
width: 20% !important;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.generic_grid {
|
|
239
|
+
display: block;
|
|
240
|
+
> div {
|
|
241
|
+
display: flex;
|
|
242
|
+
flex-wrap: nowrap;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
@mixin generic_grid_cell {
|
|
247
|
+
width: 100%;
|
|
248
|
+
margin: 6px 0px 6px 6px;
|
|
249
|
+
text-align: center;
|
|
250
|
+
line-height: 15px;
|
|
251
|
+
align-self: center;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.generic_grid_header {
|
|
255
|
+
@include generic_grid_cell;
|
|
256
|
+
font-weight: bolder;
|
|
257
|
+
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.generic_grid_row {
|
|
261
|
+
@include generic_grid_cell;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
@mixin generic_version_badge {
|
|
265
|
+
background-color: #777;
|
|
266
|
+
display: inline-block;
|
|
267
|
+
padding: 0.35em 0.65em;
|
|
268
|
+
font-size: 0.75em;
|
|
269
|
+
text-align: center;
|
|
270
|
+
vertical-align: baseline;
|
|
271
|
+
white-space: nowrap;
|
|
272
|
+
border-radius: 0.5rem;
|
|
273
|
+
color: white;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.generic_version {
|
|
277
|
+
@include generic_version_badge;
|
|
278
|
+
background-color: unset;
|
|
279
|
+
color: blue;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.generic_version_draft {
|
|
283
|
+
@include generic_version_badge;
|
|
284
|
+
background-color: unset;
|
|
285
|
+
color: black;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.generic_version_block {
|
|
289
|
+
display: block;
|
|
290
|
+
padding: 6px 10px;
|
|
291
|
+
margin: 10px;
|
|
292
|
+
border-radius: 10px;
|
|
293
|
+
border: thin solid lightgray;
|
|
294
|
+
font-size: 1.2em;
|
|
295
|
+
> div {
|
|
296
|
+
display: flex;
|
|
297
|
+
flex-wrap: nowrap;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.generic_block_select {
|
|
302
|
+
// border-color: $colo-selected-border;
|
|
303
|
+
border-width: medium;
|
|
304
|
+
border-style: groove;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.generic_panel_none {
|
|
308
|
+
border-color: #ddd !important;
|
|
309
|
+
> .panel-heading {
|
|
310
|
+
background-color: white !important;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.generic_tbl_chks {
|
|
315
|
+
line-height: 1em;
|
|
316
|
+
margin: 0px -10px !important;
|
|
317
|
+
> label {
|
|
318
|
+
display: inline-flex;
|
|
319
|
+
align-content: center;
|
|
320
|
+
align-items: center;
|
|
321
|
+
> input {
|
|
322
|
+
margin-top: 0px;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.generic_btn_default {
|
|
328
|
+
background-color: $color-default !important;
|
|
329
|
+
color: $color-editable !important;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.drop_generic_table_wrap {
|
|
333
|
+
.target {
|
|
334
|
+
.s-img {
|
|
335
|
+
position: relative;
|
|
336
|
+
border: 1px solid transparent;
|
|
337
|
+
img {
|
|
338
|
+
height: 4vw;
|
|
339
|
+
width: 4vw;
|
|
340
|
+
}
|
|
341
|
+
.del_btn {
|
|
342
|
+
position: absolute;
|
|
343
|
+
top: 0%;
|
|
344
|
+
left: 0%;
|
|
345
|
+
}
|
|
346
|
+
.link_btn {
|
|
347
|
+
position: absolute;
|
|
348
|
+
bottom: 0%;
|
|
349
|
+
left: 0%;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
.s-img:hover {
|
|
353
|
+
border: 1px solid $colo-selected-border;
|
|
354
|
+
}
|
|
355
|
+
.data {
|
|
356
|
+
font-size: unset;
|
|
357
|
+
white-space: unset;
|
|
358
|
+
text-align: left;
|
|
359
|
+
}
|
|
360
|
+
&.can-drop {
|
|
361
|
+
.s-img {
|
|
362
|
+
border: 2px dashed $color-can-drop;
|
|
363
|
+
color: $color-can-drop;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
&.is-over {
|
|
367
|
+
.s-img {
|
|
368
|
+
border: 2px dashed $color-is-over;
|
|
369
|
+
color: $color-is-over;
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.generic_grid_img {
|
|
376
|
+
border: $color-readonly solid thin;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.generic_sam_options {
|
|
380
|
+
display: flex;
|
|
381
|
+
flex-direction: column;
|
|
382
|
+
text-align: left;
|
|
383
|
+
font-size: x-small;
|
|
384
|
+
.radio {
|
|
385
|
+
margin-top: unset;
|
|
386
|
+
margin-bottom: unset;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.generic_files {
|
|
391
|
+
padding: 0px 5px !important;
|
|
392
|
+
> div > div > div {
|
|
393
|
+
text-align: left;
|
|
394
|
+
align-self: center;
|
|
395
|
+
.form-group {
|
|
396
|
+
margin-bottom: 0px;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.grid-btn-none {
|
|
402
|
+
font-size: large;
|
|
403
|
+
color: white;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.generic_grid_dnd {
|
|
407
|
+
.dnd {
|
|
408
|
+
cursor: move;
|
|
409
|
+
}
|
|
410
|
+
.dnd-btn {
|
|
411
|
+
font-size: large;
|
|
412
|
+
span {
|
|
413
|
+
cursor: move;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
&.can-drop {
|
|
417
|
+
border: 2px dashed $color-can-drop;
|
|
418
|
+
color: $color-can-drop;
|
|
419
|
+
}
|
|
420
|
+
&.is-over {
|
|
421
|
+
border: 2px dashed $color-is-over;
|
|
422
|
+
color: $color-is-over;
|
|
423
|
+
}
|
|
424
|
+
&.is-dragging {
|
|
425
|
+
opacity: 0.2;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.generic_layer_modal {
|
|
430
|
+
> .layer_header {
|
|
431
|
+
background-color: white;
|
|
432
|
+
color: $colo-bs-primary;
|
|
433
|
+
font-size: 20px;
|
|
434
|
+
}
|
|
435
|
+
> .panel-body {
|
|
436
|
+
background-color: #d9edf7;
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.generic_layer_column {
|
|
441
|
+
@include generic_grid_cell;
|
|
442
|
+
border: 1px solid $colo-bs-primary;
|
|
443
|
+
background-color: white;
|
|
444
|
+
margin: 5px;
|
|
445
|
+
padding: 10px;
|
|
446
|
+
color: $colo-bs-primary;
|
|
447
|
+
border-radius: 4px;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.generic_layer_column > div:first-child {
|
|
451
|
+
display: flex;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.generic_layer_column > div:first-child > button {
|
|
455
|
+
float: right;
|
|
456
|
+
border-radius: 50%;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.generic_layer_column > div:first-child > div {
|
|
460
|
+
width: 100%;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.generic_wf_modal {
|
|
464
|
+
max-height: 100%;
|
|
465
|
+
overflow: auto;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.generic_wf_modal > div:first-child {
|
|
469
|
+
height: 85vh;
|
|
470
|
+
width: 100%;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.flow_view_draggable {
|
|
474
|
+
z-index: 100;
|
|
475
|
+
position: absolute;
|
|
476
|
+
top: 12%;
|
|
477
|
+
left: 10%;
|
|
478
|
+
.panel-body {
|
|
479
|
+
padding: 5px;
|
|
480
|
+
> .body_bg {
|
|
481
|
+
max-height: 100%;
|
|
482
|
+
overflow: auto;
|
|
483
|
+
background-color: #d9edf7;
|
|
484
|
+
> .body_canvas {
|
|
485
|
+
resize: both;
|
|
486
|
+
overflow: auto;
|
|
487
|
+
height: 70vh;
|
|
488
|
+
width: 40vw;
|
|
489
|
+
min-height: 250px;
|
|
490
|
+
min-width: 300px;
|
|
491
|
+
max-width: 1600px;
|
|
492
|
+
max-height: 840px;
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _reactBootstrap = require("react-bootstrap");
|
|
13
|
+
|
|
14
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15
|
+
|
|
16
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
17
|
+
|
|
18
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
19
|
+
|
|
20
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
21
|
+
|
|
22
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
23
|
+
|
|
24
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
25
|
+
|
|
26
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
27
|
+
|
|
28
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
29
|
+
|
|
30
|
+
var ElementManager = function ElementManager() {
|
|
31
|
+
var _useState = (0, _react.useState)(0),
|
|
32
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
33
|
+
count = _useState2[0],
|
|
34
|
+
setCount = _useState2[1]; // return (
|
|
35
|
+
// <Panel bsStyle="primary">
|
|
36
|
+
// <Panel.Heading>
|
|
37
|
+
// <Panel.Title componentClass="h3">Panel heading</Panel.Title>
|
|
38
|
+
// </Panel.Heading>
|
|
39
|
+
// <Panel.Body>Panel content</Panel.Body>
|
|
40
|
+
// </Panel>
|
|
41
|
+
// );
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("p", null, "You clicked ", count, " times"), /*#__PURE__*/_react.default.createElement(_reactBootstrap.Button, {
|
|
45
|
+
bsStyle: "primary",
|
|
46
|
+
onClick: function onClick() {
|
|
47
|
+
return setCount(count + 1);
|
|
48
|
+
}
|
|
49
|
+
}, "Click me"));
|
|
50
|
+
}; // export { GenPropertiesText, ElementManager };
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
var _default = ElementManager;
|
|
54
|
+
exports.default = _default;
|
|
55
|
+
//# sourceMappingURL=ElementManager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/admin/ElementManager.js"],"names":["ElementManager","count","setCount"],"mappings":";;;;;;;;;AACA;;AACA;;;;;;;;;;;;;;;;;;AAEA,IAAMA,cAAc,GAAG,SAAjBA,cAAiB,GAAM;AAC3B,kBAA0B,qBAAS,CAAT,CAA1B;AAAA;AAAA,MAAOC,KAAP;AAAA,MAAcC,QAAd,iBAD2B,CAG3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,sBACE,uDACE,wDAAgBD,KAAhB,WADF,eAEE,6BAAC,sBAAD;AAAQ,IAAA,OAAO,EAAC,SAAhB;AAA0B,IAAA,OAAO,EAAE;AAAA,aAAMC,QAAQ,CAACD,KAAK,GAAG,CAAT,CAAd;AAAA;AAAnC,gBAFF,CADF;AAQD,CAnBD,C,CAsBA;;;eACeD,c","sourcesContent":["/* eslint-disable react/forbid-prop-types */\nimport React, { useState } from 'react';\nimport { Button } from 'react-bootstrap';\n\nconst ElementManager = () => {\n const [count, setCount] = useState(0);\n\n // return (\n // <Panel bsStyle=\"primary\">\n // <Panel.Heading>\n // <Panel.Title componentClass=\"h3\">Panel heading</Panel.Title>\n // </Panel.Heading>\n // <Panel.Body>Panel content</Panel.Body>\n // </Panel>\n // );\n return (\n <div>\n <p>You clicked {count} times</p>\n <Button bsStyle=\"primary\" onClick={() => setCount(count + 1)}>\n Click me\n </Button>\n </div>\n );\n};\n\n\n// export { GenPropertiesText, ElementManager };\nexport default ElementManager;\n"],"file":"ElementManager.js"}
|