@keshavsoft/monaco-json-studio 0.0.0-stage → 1.2.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.
@@ -0,0 +1,525 @@
1
+ {
2
+ "tagName": "div",
3
+ "attributes": {
4
+ "class": "studio-app"
5
+ },
6
+ "children": [
7
+ {
8
+ "tagName": "header",
9
+ "attributes": {
10
+ "class": "studio-header"
11
+ },
12
+ "children": [
13
+ {
14
+ "tagName": "div",
15
+ "attributes": {
16
+ "class": "header-left"
17
+ },
18
+ "children": [
19
+ {
20
+ "tagName": "a",
21
+ "attributes": {
22
+ "href": "../../index.html",
23
+ "class": "brand-link",
24
+ "title": "Back to Docs"
25
+ },
26
+ "children": [
27
+ {
28
+ "tagName": "i",
29
+ "attributes": {
30
+ "class": "bi bi-cpu-fill brand-icon"
31
+ }
32
+ },
33
+ {
34
+ "tagName": "span",
35
+ "textContent": "json-renderers-run-instructions-steps"
36
+ },
37
+ {
38
+ "tagName": "span",
39
+ "attributes": {
40
+ "class": "version-pill"
41
+ },
42
+ "textContent": "v3"
43
+ }
44
+ ]
45
+ },
46
+ {
47
+ "tagName": "div",
48
+ "attributes": {
49
+ "class": "header-divider"
50
+ }
51
+ },
52
+ {
53
+ "tagName": "div",
54
+ "attributes": {
55
+ "class": "layout-switcher"
56
+ },
57
+ "children": [
58
+ {
59
+ "tagName": "span",
60
+ "attributes": {
61
+ "class": "layout-switcher-label"
62
+ },
63
+ "textContent": "Panes:"
64
+ },
65
+ {
66
+ "tagName": "button",
67
+ "attributes": {
68
+ "type": "button",
69
+ "class": "btn-layout-mode",
70
+ "data-panes": "1",
71
+ "title": "Single Pane (100%)"
72
+ },
73
+ "textContent": "1"
74
+ },
75
+ {
76
+ "tagName": "button",
77
+ "attributes": {
78
+ "type": "button",
79
+ "class": "btn-layout-mode active",
80
+ "data-panes": "2",
81
+ "title": "Double Pane (50/50)"
82
+ },
83
+ "textContent": "2"
84
+ },
85
+ {
86
+ "tagName": "button",
87
+ "attributes": {
88
+ "type": "button",
89
+ "class": "btn-layout-mode",
90
+ "data-panes": "3",
91
+ "title": "Triple Pane (33/33/33)"
92
+ },
93
+ "textContent": "3"
94
+ }
95
+ ]
96
+ }
97
+ ]
98
+ },
99
+ {
100
+ "tagName": "div",
101
+ "attributes": {
102
+ "class": "header-right"
103
+ },
104
+ "children": [
105
+ {
106
+ "tagName": "span",
107
+ "attributes": {
108
+ "id": "statusPill",
109
+ "class": "status-pill success hidden"
110
+ },
111
+ "children": [
112
+ {
113
+ "tagName": "i",
114
+ "attributes": {
115
+ "class": "bi bi-check2"
116
+ }
117
+ },
118
+ {
119
+ "tagName": "span",
120
+ "attributes": {
121
+ "id": "statusText"
122
+ },
123
+ "textContent": "Loaded ✓"
124
+ }
125
+ ]
126
+ },
127
+ {
128
+ "tagName": "div",
129
+ "attributes": {
130
+ "class": "header-divider"
131
+ }
132
+ },
133
+ {
134
+ "tagName": "a",
135
+ "attributes": {
136
+ "href": "../../index.html",
137
+ "class": "docs-link",
138
+ "title": "Documentation Hub"
139
+ },
140
+ "children": [
141
+ {
142
+ "tagName": "i",
143
+ "attributes": {
144
+ "class": "bi bi-arrow-left"
145
+ }
146
+ },
147
+ {
148
+ "tagName": "span",
149
+ "textContent": "Docs"
150
+ }
151
+ ]
152
+ }
153
+ ]
154
+ }
155
+ ]
156
+ },
157
+ {
158
+ "tagName": "main",
159
+ "attributes": {
160
+ "class": "studio-workspace",
161
+ "id": "studioWorkspace",
162
+ "data-panes": "2"
163
+ },
164
+ "children": [
165
+ {
166
+ "tagName": "section",
167
+ "attributes": {
168
+ "class": "studio-pane",
169
+ "id": "pane1"
170
+ },
171
+ "children": [
172
+ {
173
+ "tagName": "div",
174
+ "attributes": {
175
+ "class": "pane-header"
176
+ },
177
+ "children": [
178
+ {
179
+ "tagName": "div",
180
+ "attributes": {
181
+ "class": "pane-header-left"
182
+ },
183
+ "children": [
184
+ {
185
+ "tagName": "span",
186
+ "attributes": {
187
+ "class": "pane-badge"
188
+ },
189
+ "textContent": "Editor 1"
190
+ },
191
+ {
192
+ "tagName": "button",
193
+ "attributes": {
194
+ "id": "openFileBtn1",
195
+ "type": "button",
196
+ "class": "btn-pane-file",
197
+ "title": "Open JSON file for Editor 1"
198
+ },
199
+ "children": [
200
+ {
201
+ "tagName": "i",
202
+ "attributes": {
203
+ "class": "bi bi-folder2-open"
204
+ }
205
+ },
206
+ {
207
+ "tagName": "span",
208
+ "textContent": "Select File"
209
+ }
210
+ ]
211
+ },
212
+ {
213
+ "tagName": "input",
214
+ "attributes": {
215
+ "type": "file",
216
+ "id": "fileInput1",
217
+ "style": "display: none;",
218
+ "accept": ".json,.js,.txt,application/json"
219
+ }
220
+ }
221
+ ]
222
+ },
223
+ {
224
+ "tagName": "div",
225
+ "attributes": {
226
+ "class": "pane-header-right"
227
+ },
228
+ "children": [
229
+ {
230
+ "tagName": "span",
231
+ "attributes": {
232
+ "class": "pane-file-pill"
233
+ },
234
+ "children": [
235
+ {
236
+ "tagName": "i",
237
+ "attributes": {
238
+ "class": "bi bi-filetype-json"
239
+ }
240
+ },
241
+ {
242
+ "tagName": "span",
243
+ "attributes": {
244
+ "id": "fileName1",
245
+ "class": "pane-file-name"
246
+ },
247
+ "textContent": "instructions.json"
248
+ }
249
+ ]
250
+ }
251
+ ]
252
+ }
253
+ ]
254
+ },
255
+ {
256
+ "tagName": "div",
257
+ "attributes": {
258
+ "id": "editor1",
259
+ "class": "editor-pane-body"
260
+ }
261
+ }
262
+ ]
263
+ },
264
+ {
265
+ "tagName": "section",
266
+ "attributes": {
267
+ "class": "studio-pane",
268
+ "id": "pane2"
269
+ },
270
+ "children": [
271
+ {
272
+ "tagName": "div",
273
+ "attributes": {
274
+ "class": "pane-header"
275
+ },
276
+ "children": [
277
+ {
278
+ "tagName": "div",
279
+ "attributes": {
280
+ "class": "pane-header-left"
281
+ },
282
+ "children": [
283
+ {
284
+ "tagName": "span",
285
+ "attributes": {
286
+ "class": "pane-badge"
287
+ },
288
+ "textContent": "Editor 2"
289
+ },
290
+ {
291
+ "tagName": "button",
292
+ "attributes": {
293
+ "id": "openFileBtn2",
294
+ "type": "button",
295
+ "class": "btn-pane-file",
296
+ "title": "Open JSON file for Editor 2"
297
+ },
298
+ "children": [
299
+ {
300
+ "tagName": "i",
301
+ "attributes": {
302
+ "class": "bi bi-folder2-open"
303
+ }
304
+ },
305
+ {
306
+ "tagName": "span",
307
+ "textContent": "Select File"
308
+ }
309
+ ]
310
+ },
311
+ {
312
+ "tagName": "input",
313
+ "attributes": {
314
+ "type": "file",
315
+ "id": "fileInput2",
316
+ "style": "display: none;",
317
+ "accept": ".json,.js,.txt,application/json"
318
+ }
319
+ }
320
+ ]
321
+ },
322
+ {
323
+ "tagName": "div",
324
+ "attributes": {
325
+ "class": "pane-header-right"
326
+ },
327
+ "children": [
328
+ {
329
+ "tagName": "span",
330
+ "attributes": {
331
+ "class": "pane-file-pill"
332
+ },
333
+ "children": [
334
+ {
335
+ "tagName": "i",
336
+ "attributes": {
337
+ "class": "bi bi-filetype-json"
338
+ }
339
+ },
340
+ {
341
+ "tagName": "span",
342
+ "attributes": {
343
+ "id": "fileName2",
344
+ "class": "pane-file-name"
345
+ },
346
+ "textContent": "data.json"
347
+ }
348
+ ]
349
+ }
350
+ ]
351
+ }
352
+ ]
353
+ },
354
+ {
355
+ "tagName": "div",
356
+ "attributes": {
357
+ "id": "editor2",
358
+ "class": "editor-pane-body"
359
+ }
360
+ }
361
+ ]
362
+ },
363
+ {
364
+ "tagName": "section",
365
+ "attributes": {
366
+ "class": "studio-pane",
367
+ "id": "pane3"
368
+ },
369
+ "children": [
370
+ {
371
+ "tagName": "div",
372
+ "attributes": {
373
+ "class": "pane-header"
374
+ },
375
+ "children": [
376
+ {
377
+ "tagName": "div",
378
+ "attributes": {
379
+ "class": "pane-header-left"
380
+ },
381
+ "children": [
382
+ {
383
+ "tagName": "span",
384
+ "attributes": {
385
+ "class": "pane-badge"
386
+ },
387
+ "textContent": "Editor 3"
388
+ },
389
+ {
390
+ "tagName": "button",
391
+ "attributes": {
392
+ "id": "openFileBtn3",
393
+ "type": "button",
394
+ "class": "btn-pane-file",
395
+ "title": "Open JSON file for Editor 3"
396
+ },
397
+ "children": [
398
+ {
399
+ "tagName": "i",
400
+ "attributes": {
401
+ "class": "bi bi-folder2-open"
402
+ }
403
+ },
404
+ {
405
+ "tagName": "span",
406
+ "textContent": "Select File"
407
+ }
408
+ ]
409
+ },
410
+ {
411
+ "tagName": "input",
412
+ "attributes": {
413
+ "type": "file",
414
+ "id": "fileInput3",
415
+ "style": "display: none;",
416
+ "accept": ".json,.js,.txt,application/json"
417
+ }
418
+ }
419
+ ]
420
+ },
421
+ {
422
+ "tagName": "div",
423
+ "attributes": {
424
+ "class": "pane-header-right"
425
+ },
426
+ "children": [
427
+ {
428
+ "tagName": "span",
429
+ "attributes": {
430
+ "class": "pane-file-pill"
431
+ },
432
+ "children": [
433
+ {
434
+ "tagName": "i",
435
+ "attributes": {
436
+ "class": "bi bi-filetype-json"
437
+ }
438
+ },
439
+ {
440
+ "tagName": "span",
441
+ "attributes": {
442
+ "id": "fileName3",
443
+ "class": "pane-file-name"
444
+ },
445
+ "textContent": "columns.json"
446
+ }
447
+ ]
448
+ }
449
+ ]
450
+ }
451
+ ]
452
+ },
453
+ {
454
+ "tagName": "div",
455
+ "attributes": {
456
+ "id": "editor3",
457
+ "class": "editor-pane-body"
458
+ }
459
+ }
460
+ ]
461
+ }
462
+ ]
463
+ },
464
+ {
465
+ "tagName": "footer",
466
+ "attributes": {
467
+ "class": "studio-footer"
468
+ },
469
+ "children": [
470
+ {
471
+ "tagName": "div",
472
+ "attributes": {
473
+ "class": "footer-left"
474
+ },
475
+ "children": [
476
+ {
477
+ "tagName": "span",
478
+ "attributes": {
479
+ "class": "footer-brand"
480
+ },
481
+ "children": [
482
+ {
483
+ "tagName": "i",
484
+ "attributes": {
485
+ "class": "bi bi-layout-split"
486
+ }
487
+ },
488
+ {
489
+ "tagName": "span",
490
+ "textContent": "Monaco Dynamic Studio"
491
+ }
492
+ ]
493
+ },
494
+ {
495
+ "tagName": "span",
496
+ "textContent": "|"
497
+ },
498
+ {
499
+ "tagName": "span",
500
+ "attributes": {
501
+ "id": "layoutMeta"
502
+ },
503
+ "textContent": "2 Panes Active"
504
+ }
505
+ ]
506
+ },
507
+ {
508
+ "tagName": "div",
509
+ "attributes": {
510
+ "class": "footer-right"
511
+ },
512
+ "children": [
513
+ {
514
+ "tagName": "span",
515
+ "attributes": {
516
+ "id": "cursorPos"
517
+ },
518
+ "textContent": "Ln 1, Col 1"
519
+ }
520
+ ]
521
+ }
522
+ ]
523
+ }
524
+ ]
525
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "tagName": "footer",
3
+ "attributes": {
4
+ "class": "studio-footer"
5
+ },
6
+ "children": [
7
+ {
8
+ "tagName": "div",
9
+ "attributes": {
10
+ "class": "footer-left"
11
+ },
12
+ "children": [
13
+ {
14
+ "tagName": "span",
15
+ "attributes": {
16
+ "class": "footer-brand"
17
+ },
18
+ "children": [
19
+ {
20
+ "tagName": "i",
21
+ "attributes": {
22
+ "class": "bi bi-braces-asterisk"
23
+ }
24
+ },
25
+ {
26
+ "tagName": "span",
27
+ "textContent": "JSON-Driven Assembled Studio"
28
+ }
29
+ ]
30
+ },
31
+ {
32
+ "tagName": "span",
33
+ "textContent": "|"
34
+ },
35
+ {
36
+ "tagName": "span",
37
+ "attributes": {
38
+ "id": "layoutMeta"
39
+ },
40
+ "textContent": "2 Panes Assembled"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "tagName": "div",
46
+ "attributes": {
47
+ "class": "footer-right"
48
+ },
49
+ "children": [
50
+ {
51
+ "tagName": "span",
52
+ "attributes": {
53
+ "id": "cursorPos"
54
+ },
55
+ "textContent": "Ln 1, Col 1"
56
+ }
57
+ ]
58
+ }
59
+ ]
60
+ }