@sealcode/jdd-editor 0.2.15 → 0.2.17

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 (62) hide show
  1. package/.nyc_output/d5d65fea-85bd-4682-8753-cd95b2fb397a.json +1 -0
  2. package/.nyc_output/processinfo/75f3e742-9c3d-4937-adad-ed712149983a.json +1 -0
  3. package/.nyc_output/processinfo/a331cb1e-8707-469e-95be-5bc65de3f692.json +1 -0
  4. package/.nyc_output/processinfo/d5d65fea-85bd-4682-8753-cd95b2fb397a.json +1 -0
  5. package/.nyc_output/processinfo/index.json +1 -1
  6. package/.xunit +1 -1
  7. package/@types/controllers/code-snippet.stimulus.d.ts +6 -0
  8. package/@types/controllers/json-editor.stimulus.d.ts +0 -1
  9. package/@types/inputs/component-input-code-with-custom-language.d.ts +7 -0
  10. package/@types/inputs/component-input-code.d.ts +3 -1
  11. package/@types/inputs/component-input-list.d.ts +3 -2
  12. package/@types/inputs/component-input-markdown.d.ts +6 -0
  13. package/@types/inputs/component-input-structured.d.ts +3 -2
  14. package/@types/inputs/component-input-table.d.ts +3 -2
  15. package/@types/inputs/component-input.d.ts +3 -2
  16. package/assets/styles/components.jdd-page.css +4 -2
  17. package/assets/styles/markdown-editor.css +9 -39
  18. package/coverage/clover.xml +141 -202
  19. package/dist/src/controllers/code-snippet.stimulus.js +12 -0
  20. package/dist/src/controllers/code-snippet.stimulus.js.map +7 -0
  21. package/dist/src/controllers/exportable-textarea.stimulus.js +0 -1
  22. package/dist/src/controllers/exportable-textarea.stimulus.js.map +2 -2
  23. package/dist/src/controllers/json-editor.stimulus.js +0 -3
  24. package/dist/src/controllers/json-editor.stimulus.js.map +2 -2
  25. package/dist/src/inputs/component-input-code-with-custom-language.js +41 -0
  26. package/dist/src/inputs/component-input-code-with-custom-language.js.map +7 -0
  27. package/dist/src/inputs/component-input-code.js +22 -11
  28. package/dist/src/inputs/component-input-code.js.map +2 -2
  29. package/dist/src/inputs/component-input-list.js +3 -1
  30. package/dist/src/inputs/component-input-list.js.map +2 -2
  31. package/dist/src/inputs/component-input-markdown.js +49 -0
  32. package/dist/src/inputs/component-input-markdown.js.map +7 -0
  33. package/dist/src/inputs/component-input-structured.js +2 -0
  34. package/dist/src/inputs/component-input-structured.js.map +2 -2
  35. package/dist/src/inputs/component-input-table.js +6 -3
  36. package/dist/src/inputs/component-input-table.js.map +2 -2
  37. package/dist/src/inputs/component-input.js +28 -21
  38. package/dist/src/inputs/component-input.js.map +2 -2
  39. package/dist/src/jdd-page.js +2 -1
  40. package/dist/src/jdd-page.js.map +2 -2
  41. package/package.json +2 -2
  42. package/src/controllers/code-snippet.stimulus.ts +12 -0
  43. package/src/controllers/exportable-textarea.stimulus.ts +0 -1
  44. package/src/controllers/json-editor.stimulus.ts +0 -4
  45. package/src/inputs/component-input-code-with-custom-language.ts +44 -0
  46. package/src/inputs/component-input-code.ts +23 -10
  47. package/src/inputs/component-input-list.ts +9 -1
  48. package/src/inputs/component-input-markdown.ts +58 -0
  49. package/src/inputs/component-input-structured.ts +4 -0
  50. package/src/inputs/component-input-table.ts +5 -1
  51. package/src/inputs/component-input.ts +38 -18
  52. package/src/jdd-page.ts +1 -0
  53. package/.nyc_output/b318e449-cc0d-49b3-8647-15d9173f5905.json +0 -1
  54. package/.nyc_output/processinfo/65a49023-1c6a-4217-ab3e-89a09cde8bfc.json +0 -1
  55. package/.nyc_output/processinfo/b318e449-cc0d-49b3-8647-15d9173f5905.json +0 -1
  56. package/.nyc_output/processinfo/be222db4-3db9-4c08-a4b5-58673c1c7c29.json +0 -1
  57. package/@types/controllers/markdown-textarea.stimulus.d.ts +0 -20
  58. package/dist/src/controllers/markdown-textarea.stimulus.js +0 -174
  59. package/dist/src/controllers/markdown-textarea.stimulus.js.map +0 -7
  60. package/src/controllers/markdown-textarea.stimulus.ts +0 -198
  61. /package/.nyc_output/{65a49023-1c6a-4217-ab3e-89a09cde8bfc.json → 75f3e742-9c3d-4937-adad-ed712149983a.json} +0 -0
  62. /package/.nyc_output/{be222db4-3db9-4c08-a4b5-58673c1c7c29.json → a331cb1e-8707-469e-95be-5bc65de3f692.json} +0 -0
@@ -1,9 +1,9 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1767787423535" clover="3.2.0">
3
- <project timestamp="1767787423535" name="All files">
4
- <metrics statements="784" coveredstatements="0" conditionals="368" coveredconditionals="0" methods="200" coveredmethods="0" elements="1352" coveredelements="0" complexity="0" loc="784" ncloc="784" packages="3" files="29" classes="29"/>
2
+ <coverage generated="1772131244835" clover="3.2.0">
3
+ <project timestamp="1772131244835" name="All files">
4
+ <metrics statements="717" coveredstatements="0" conditionals="350" coveredconditionals="0" methods="183" coveredmethods="0" elements="1250" coveredelements="0" complexity="0" loc="717" ncloc="717" packages="3" files="31" classes="31"/>
5
5
  <package name="src">
6
- <metrics statements="277" coveredstatements="0" conditionals="128" coveredconditionals="0" methods="69" coveredmethods="0"/>
6
+ <metrics statements="277" coveredstatements="0" conditionals="124" coveredconditionals="0" methods="69" coveredmethods="0"/>
7
7
  <file name="component-preview-actions.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/component-preview-actions.ts">
8
8
  <metrics statements="146" coveredstatements="0" conditionals="77" coveredconditionals="0" methods="22" coveredmethods="0"/>
9
9
  <line num="18" count="0" type="stmt"/>
@@ -172,7 +172,7 @@
172
172
  <line num="89" count="0" type="stmt"/>
173
173
  </file>
174
174
  <file name="edit-jdd-field.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/edit-jdd-field.ts">
175
- <metrics statements="29" coveredstatements="0" conditionals="8" coveredconditionals="0" methods="10" coveredmethods="0"/>
175
+ <metrics statements="26" coveredstatements="0" conditionals="6" coveredconditionals="0" methods="10" coveredmethods="0"/>
176
176
  <line num="21" count="0" type="stmt"/>
177
177
  <line num="22" count="0" type="cond" truecount="0" falsecount="2"/>
178
178
  <line num="23" count="0" type="stmt"/>
@@ -189,19 +189,16 @@
189
189
  <line num="66" count="0" type="stmt"/>
190
190
  <line num="67" count="0" type="stmt"/>
191
191
  <line num="68" count="0" type="stmt"/>
192
- <line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
193
- <line num="70" count="0" type="stmt"/>
194
- <line num="72" count="0" type="stmt"/>
195
- <line num="73" count="0" type="stmt"/>
196
- <line num="78" count="0" type="stmt"/>
197
- <line num="82" count="0" type="stmt"/>
198
- <line num="83" count="0" type="stmt"/>
199
- <line num="90" count="0" type="stmt"/>
200
- <line num="94" count="0" type="stmt"/>
201
- <line num="106" count="0" type="stmt"/>
202
- <line num="107" count="0" type="stmt"/>
203
- <line num="115" count="0" type="stmt"/>
204
- <line num="116" count="0" type="stmt"/>
192
+ <line num="69" count="0" type="stmt"/>
193
+ <line num="76" count="0" type="stmt"/>
194
+ <line num="80" count="0" type="stmt"/>
195
+ <line num="81" count="0" type="stmt"/>
196
+ <line num="88" count="0" type="stmt"/>
197
+ <line num="92" count="0" type="stmt"/>
198
+ <line num="104" count="0" type="stmt"/>
199
+ <line num="105" count="0" type="stmt"/>
200
+ <line num="113" count="0" type="stmt"/>
201
+ <line num="114" count="0" type="stmt"/>
205
202
  </file>
206
203
  <file name="index.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/index.ts">
207
204
  <metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
@@ -223,44 +220,44 @@
223
220
  <line num="67" count="0" type="stmt"/>
224
221
  </file>
225
222
  <file name="jdd-page.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/jdd-page.ts">
226
- <metrics statements="72" coveredstatements="0" conditionals="35" coveredconditionals="0" methods="23" coveredmethods="0"/>
223
+ <metrics statements="75" coveredstatements="0" conditionals="33" coveredconditionals="0" methods="23" coveredmethods="0"/>
227
224
  <line num="16" count="0" type="stmt"/>
228
- <line num="28" count="0" type="stmt"/>
225
+ <line num="27" count="0" type="stmt"/>
226
+ <line num="29" count="0" type="stmt"/>
229
227
  <line num="30" count="0" type="stmt"/>
230
- <line num="31" count="0" type="stmt"/>
228
+ <line num="53" count="0" type="stmt"/>
231
229
  <line num="54" count="0" type="stmt"/>
232
230
  <line num="55" count="0" type="stmt"/>
233
231
  <line num="56" count="0" type="stmt"/>
234
232
  <line num="57" count="0" type="stmt"/>
235
233
  <line num="58" count="0" type="stmt"/>
236
- <line num="59" count="0" type="stmt"/>
237
- <line num="62" count="0" type="cond" truecount="0" falsecount="2"/>
238
- <line num="66" count="0" type="stmt"/>
239
- <line num="70" count="0" type="stmt"/>
240
- <line num="73" count="0" type="stmt"/>
234
+ <line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
235
+ <line num="65" count="0" type="stmt"/>
236
+ <line num="69" count="0" type="stmt"/>
237
+ <line num="72" count="0" type="stmt"/>
238
+ <line num="80" count="0" type="stmt"/>
241
239
  <line num="81" count="0" type="stmt"/>
242
- <line num="82" count="0" type="stmt"/>
243
- <line num="87" count="0" type="stmt"/>
244
- <line num="97" count="0" type="stmt"/>
245
- <line num="106" count="0" type="stmt"/>
246
- <line num="121" count="0" type="stmt"/>
247
- <line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
248
- <line num="133" count="0" type="stmt"/>
249
- <line num="135" count="0" type="stmt"/>
250
- <line num="138" count="0" type="stmt"/>
251
- <line num="139" count="0" type="cond" truecount="0" falsecount="2"/>
252
- <line num="140" count="0" type="stmt"/>
253
- <line num="142" count="0" type="cond" truecount="0" falsecount="2"/>
254
- <line num="145" count="0" type="stmt"/>
255
- <line num="147" count="0" type="stmt"/>
256
- <line num="148" count="0" type="cond" truecount="0" falsecount="2"/>
257
- <line num="149" count="0" type="stmt"/>
258
- <line num="153" count="0" type="stmt"/>
259
- <line num="158" count="0" type="stmt"/>
260
- <line num="161" count="0" type="stmt"/>
240
+ <line num="86" count="0" type="stmt"/>
241
+ <line num="96" count="0" type="stmt"/>
242
+ <line num="105" count="0" type="stmt"/>
243
+ <line num="120" count="0" type="stmt"/>
244
+ <line num="121" count="0" type="cond" truecount="0" falsecount="2"/>
245
+ <line num="132" count="0" type="stmt"/>
246
+ <line num="134" count="0" type="stmt"/>
247
+ <line num="137" count="0" type="stmt"/>
248
+ <line num="138" count="0" type="cond" truecount="0" falsecount="2"/>
249
+ <line num="139" count="0" type="stmt"/>
250
+ <line num="141" count="0" type="cond" truecount="0" falsecount="2"/>
251
+ <line num="144" count="0" type="stmt"/>
252
+ <line num="146" count="0" type="stmt"/>
253
+ <line num="147" count="0" type="cond" truecount="0" falsecount="2"/>
254
+ <line num="148" count="0" type="stmt"/>
255
+ <line num="152" count="0" type="stmt"/>
256
+ <line num="157" count="0" type="stmt"/>
257
+ <line num="160" count="0" type="stmt"/>
258
+ <line num="173" count="0" type="stmt"/>
261
259
  <line num="174" count="0" type="stmt"/>
262
- <line num="175" count="0" type="stmt"/>
263
- <line num="181" count="0" type="stmt"/>
260
+ <line num="180" count="0" type="stmt"/>
264
261
  <line num="218" count="0" type="stmt"/>
265
262
  <line num="219" count="0" type="cond" truecount="0" falsecount="2"/>
266
263
  <line num="220" count="0" type="stmt"/>
@@ -288,14 +285,17 @@
288
285
  <line num="298" count="0" type="stmt"/>
289
286
  <line num="307" count="0" type="stmt"/>
290
287
  <line num="311" count="0" type="stmt"/>
291
- <line num="316" count="0" type="stmt"/>
292
- <line num="322" count="0" type="stmt"/>
293
- <line num="335" count="0" type="stmt"/>
294
- <line num="411" count="0" type="stmt"/>
288
+ <line num="328" count="0" type="stmt"/>
289
+ <line num="404" count="0" type="stmt"/>
290
+ <line num="447" count="0" type="stmt"/>
291
+ <line num="453" count="0" type="stmt"/>
295
292
  <line num="454" count="0" type="stmt"/>
296
- <line num="461" count="0" type="stmt"/>
293
+ <line num="455" count="0" type="stmt"/>
294
+ <line num="460" count="0" type="stmt"/>
297
295
  <line num="464" count="0" type="stmt"/>
298
296
  <line num="468" count="0" type="stmt"/>
297
+ <line num="490" count="0" type="stmt"/>
298
+ <line num="494" count="0" type="stmt"/>
299
299
  </file>
300
300
  <file name="test.test.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/test.test.ts">
301
301
  <metrics statements="2" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
@@ -304,12 +304,18 @@
304
304
  </file>
305
305
  </package>
306
306
  <package name="src.controllers">
307
- <metrics statements="446" coveredstatements="0" conditionals="130" coveredconditionals="0" methods="110" coveredmethods="0"/>
307
+ <metrics statements="369" coveredstatements="0" conditionals="108" coveredconditionals="0" methods="89" coveredmethods="0"/>
308
308
  <file name="autogrow-textarea.stimulus.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/autogrow-textarea.stimulus.ts">
309
309
  <metrics statements="2" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
310
310
  <line num="6" count="0" type="stmt"/>
311
311
  <line num="11" count="0" type="stmt"/>
312
312
  </file>
313
+ <file name="code-snippet.stimulus.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/code-snippet.stimulus.ts">
314
+ <metrics statements="3" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
315
+ <line num="6" count="0" type="stmt"/>
316
+ <line num="9" count="0" type="cond" truecount="0" falsecount="2"/>
317
+ <line num="10" count="0" type="stmt"/>
318
+ </file>
313
319
  <file name="component-debugger.stimulus.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/component-debugger.stimulus.ts">
314
320
  <metrics statements="113" coveredstatements="0" conditionals="32" coveredconditionals="0" methods="27" coveredmethods="0"/>
315
321
  <line num="13" count="0" type="stmt"/>
@@ -427,7 +433,7 @@
427
433
  <line num="265" count="0" type="stmt"/>
428
434
  </file>
429
435
  <file name="exportable-textarea.stimulus.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/exportable-textarea.stimulus.ts">
430
- <metrics statements="37" coveredstatements="0" conditionals="10" coveredconditionals="0" methods="9" coveredmethods="0"/>
436
+ <metrics statements="36" coveredstatements="0" conditionals="10" coveredconditionals="0" methods="9" coveredmethods="0"/>
431
437
  <line num="5" count="0" type="stmt"/>
432
438
  <line num="6" count="0" type="stmt"/>
433
439
  <line num="7" count="0" type="stmt"/>
@@ -440,31 +446,30 @@
440
446
  <line num="14" count="0" type="stmt"/>
441
447
  <line num="20" count="0" type="stmt"/>
442
448
  <line num="21" count="0" type="stmt"/>
443
- <line num="22" count="0" type="stmt"/>
444
- <line num="25" count="0" type="cond" truecount="0" falsecount="2"/>
445
- <line num="29" count="0" type="stmt"/>
449
+ <line num="24" count="0" type="cond" truecount="0" falsecount="2"/>
450
+ <line num="28" count="0" type="stmt"/>
451
+ <line num="35" count="0" type="stmt"/>
446
452
  <line num="36" count="0" type="stmt"/>
447
- <line num="37" count="0" type="stmt"/>
448
- <line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
449
- <line num="39" count="0" type="stmt"/>
453
+ <line num="37" count="0" type="cond" truecount="0" falsecount="2"/>
454
+ <line num="38" count="0" type="stmt"/>
455
+ <line num="40" count="0" type="stmt"/>
450
456
  <line num="41" count="0" type="stmt"/>
451
457
  <line num="42" count="0" type="stmt"/>
452
458
  <line num="43" count="0" type="stmt"/>
453
- <line num="44" count="0" type="stmt"/>
459
+ <line num="47" count="0" type="stmt"/>
454
460
  <line num="48" count="0" type="stmt"/>
455
- <line num="49" count="0" type="stmt"/>
456
- <line num="50" count="0" type="cond" truecount="0" falsecount="2"/>
457
- <line num="51" count="0" type="stmt"/>
458
- <line num="53" count="0" type="stmt"/>
461
+ <line num="49" count="0" type="cond" truecount="0" falsecount="2"/>
462
+ <line num="50" count="0" type="stmt"/>
463
+ <line num="52" count="0" type="stmt"/>
464
+ <line num="60" count="0" type="stmt"/>
459
465
  <line num="61" count="0" type="stmt"/>
460
- <line num="62" count="0" type="stmt"/>
461
- <line num="65" count="0" type="stmt"/>
462
- <line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
466
+ <line num="64" count="0" type="stmt"/>
467
+ <line num="65" count="0" type="cond" truecount="0" falsecount="2"/>
468
+ <line num="66" count="0" type="stmt"/>
463
469
  <line num="67" count="0" type="stmt"/>
464
470
  <line num="68" count="0" type="stmt"/>
465
471
  <line num="69" count="0" type="stmt"/>
466
- <line num="70" count="0" type="stmt"/>
467
- <line num="76" count="0" type="stmt"/>
472
+ <line num="75" count="0" type="stmt"/>
468
473
  </file>
469
474
  <file name="input-image-preview.stimulus.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/input-image-preview.stimulus.ts">
470
475
  <metrics statements="16" coveredstatements="0" conditionals="4" coveredconditionals="0" methods="2" coveredmethods="0"/>
@@ -528,7 +533,7 @@
528
533
  <line num="84" count="0" type="stmt"/>
529
534
  </file>
530
535
  <file name="json-editor.stimulus.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/json-editor.stimulus.ts">
531
- <metrics statements="65" coveredstatements="0" conditionals="18" coveredconditionals="0" methods="12" coveredmethods="0"/>
536
+ <metrics statements="64" coveredstatements="0" conditionals="18" coveredconditionals="0" methods="11" coveredmethods="0"/>
532
537
  <line num="8" count="0" type="stmt"/>
533
538
  <line num="9" count="0" type="stmt"/>
534
539
  <line num="11" count="0" type="stmt"/>
@@ -593,88 +598,6 @@
593
598
  <line num="128" count="0" type="stmt"/>
594
599
  <line num="131" count="0" type="cond" truecount="0" falsecount="2"/>
595
600
  <line num="132" count="0" type="stmt"/>
596
- <line num="138" count="0" type="stmt"/>
597
- </file>
598
- <file name="markdown-textarea.stimulus.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/markdown-textarea.stimulus.ts">
599
- <metrics statements="78" coveredstatements="0" conditionals="24" coveredconditionals="0" methods="21" coveredmethods="0"/>
600
- <line num="8" count="0" type="stmt"/>
601
- <line num="9" count="0" type="stmt"/>
602
- <line num="18" count="0" type="stmt"/>
603
- <line num="21" count="0" type="stmt"/>
604
- <line num="22" count="0" type="cond" truecount="0" falsecount="2"/>
605
- <line num="23" count="0" type="stmt"/>
606
- <line num="24" count="0" type="stmt"/>
607
- <line num="25" count="0" type="stmt"/>
608
- <line num="26" count="0" type="stmt"/>
609
- <line num="27" count="0" type="stmt"/>
610
- <line num="28" count="0" type="stmt"/>
611
- <line num="33" count="0" type="stmt"/>
612
- <line num="34" count="0" type="stmt"/>
613
- <line num="35" count="0" type="stmt"/>
614
- <line num="36" count="0" type="stmt"/>
615
- <line num="38" count="0" type="stmt"/>
616
- <line num="39" count="0" type="stmt"/>
617
- <line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
618
- <line num="41" count="0" type="stmt"/>
619
- <line num="42" count="0" type="stmt"/>
620
- <line num="43" count="0" type="stmt"/>
621
- <line num="44" count="0" type="stmt"/>
622
- <line num="45" count="0" type="stmt"/>
623
- <line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
624
- <line num="48" count="0" type="stmt"/>
625
- <line num="50" count="0" type="stmt"/>
626
- <line num="54" count="0" type="stmt"/>
627
- <line num="60" count="0" type="stmt"/>
628
- <line num="64" count="0" type="stmt"/>
629
- <line num="65" count="0" type="cond" truecount="0" falsecount="2"/>
630
- <line num="67" count="0" type="stmt"/>
631
- <line num="69" count="0" type="stmt"/>
632
- <line num="70" count="0" type="stmt"/>
633
- <line num="71" count="0" type="stmt"/>
634
- <line num="74" count="0" type="cond" truecount="0" falsecount="2"/>
635
- <line num="75" count="0" type="cond" truecount="0" falsecount="2"/>
636
- <line num="76" count="0" type="stmt"/>
637
- <line num="77" count="0" type="stmt"/>
638
- <line num="81" count="0" type="stmt"/>
639
- <line num="83" count="0" type="stmt"/>
640
- <line num="88" count="0" type="stmt"/>
641
- <line num="91" count="0" type="stmt"/>
642
- <line num="96" count="0" type="cond" truecount="0" falsecount="2"/>
643
- <line num="97" count="0" type="stmt"/>
644
- <line num="99" count="0" type="stmt"/>
645
- <line num="110" count="0" type="stmt"/>
646
- <line num="111" count="0" type="stmt"/>
647
- <line num="113" count="0" type="stmt"/>
648
- <line num="114" count="0" type="stmt"/>
649
- <line num="115" count="0" type="stmt"/>
650
- <line num="117" count="0" type="stmt"/>
651
- <line num="120" count="0" type="stmt"/>
652
- <line num="121" count="0" type="stmt"/>
653
- <line num="124" count="0" type="stmt"/>
654
- <line num="126" count="0" type="cond" truecount="0" falsecount="2"/>
655
- <line num="130" count="0" type="stmt"/>
656
- <line num="134" count="0" type="stmt"/>
657
- <line num="138" count="0" type="stmt"/>
658
- <line num="140" count="0" type="stmt"/>
659
- <line num="141" count="0" type="cond" truecount="0" falsecount="2"/>
660
- <line num="142" count="0" type="stmt"/>
661
- <line num="152" count="0" type="stmt"/>
662
- <line num="156" count="0" type="stmt"/>
663
- <line num="160" count="0" type="stmt"/>
664
- <line num="166" count="0" type="stmt"/>
665
- <line num="167" count="0" type="cond" truecount="0" falsecount="2"/>
666
- <line num="168" count="0" type="stmt"/>
667
- <line num="170" count="0" type="stmt"/>
668
- <line num="174" count="0" type="stmt"/>
669
- <line num="175" count="0" type="stmt"/>
670
- <line num="176" count="0" type="cond" truecount="0" falsecount="2"/>
671
- <line num="177" count="0" type="stmt"/>
672
- <line num="180" count="0" type="stmt"/>
673
- <line num="187" count="0" type="stmt"/>
674
- <line num="188" count="0" type="stmt"/>
675
- <line num="192" count="0" type="stmt"/>
676
- <line num="195" count="0" type="stmt"/>
677
- <line num="196" count="0" type="stmt"/>
678
601
  </file>
679
602
  <file name="refresh-on-ts-changes.stimulus.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/controllers/refresh-on-ts-changes.stimulus.ts">
680
603
  <metrics statements="48" coveredstatements="0" conditionals="17" coveredconditionals="0" methods="12" coveredmethods="0"/>
@@ -786,15 +709,19 @@
786
709
  </file>
787
710
  </package>
788
711
  <package name="src.inputs">
789
- <metrics statements="61" coveredstatements="0" conditionals="110" coveredconditionals="0" methods="21" coveredmethods="0"/>
712
+ <metrics statements="71" coveredstatements="0" conditionals="118" coveredconditionals="0" methods="25" coveredmethods="0"/>
790
713
  <file name="component-input-boolean.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-boolean.ts">
791
714
  <metrics statements="2" coveredstatements="0" conditionals="6" coveredconditionals="0" methods="1" coveredmethods="0"/>
792
715
  <line num="14" count="0" type="cond" truecount="0" falsecount="2"/>
793
716
  <line num="15" count="0" type="stmt"/>
794
717
  </file>
718
+ <file name="component-input-code-with-custom-language.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-code-with-custom-language.ts">
719
+ <metrics statements="1" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
720
+ <line num="17" count="0" type="stmt"/>
721
+ </file>
795
722
  <file name="component-input-code.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-code.ts">
796
723
  <metrics statements="1" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
797
- <line num="13" count="0" type="stmt"/>
724
+ <line num="16" count="0" type="stmt"/>
798
725
  </file>
799
726
  <file name="component-input-color.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-color.ts">
800
727
  <metrics statements="1" coveredstatements="0" conditionals="6" coveredconditionals="0" methods="1" coveredmethods="0"/>
@@ -812,10 +739,17 @@
812
739
  </file>
813
740
  <file name="component-input-list.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-list.ts">
814
741
  <metrics statements="4" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
815
- <line num="33" count="0" type="cond" truecount="0" falsecount="2"/>
742
+ <line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
743
+ <line num="41" count="0" type="stmt"/>
744
+ <line num="43" count="0" type="stmt"/>
745
+ <line num="49" count="0" type="stmt"/>
746
+ </file>
747
+ <file name="component-input-markdown.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-markdown.ts">
748
+ <metrics statements="4" coveredstatements="0" conditionals="4" coveredconditionals="0" methods="3" coveredmethods="0"/>
749
+ <line num="5" count="0" type="stmt"/>
750
+ <line num="24" count="0" type="stmt"/>
816
751
  <line num="34" count="0" type="stmt"/>
817
- <line num="36" count="0" type="stmt"/>
818
- <line num="42" count="0" type="stmt"/>
752
+ <line num="39" count="0" type="stmt"/>
819
753
  </file>
820
754
  <file name="component-input-single-reference.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-single-reference.ts">
821
755
  <metrics statements="5" coveredstatements="0" conditionals="8" coveredconditionals="0" methods="3" coveredmethods="0"/>
@@ -827,55 +761,60 @@
827
761
  </file>
828
762
  <file name="component-input-structured.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-structured.ts">
829
763
  <metrics statements="4" coveredstatements="0" conditionals="6" coveredconditionals="0" methods="2" coveredmethods="0"/>
830
- <line num="37" count="0" type="cond" truecount="0" falsecount="2"/>
831
- <line num="47" count="0" type="stmt"/>
832
- <line num="55" count="0" type="stmt"/>
833
- <line num="67" count="0" type="stmt"/>
764
+ <line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
765
+ <line num="50" count="0" type="stmt"/>
766
+ <line num="58" count="0" type="stmt"/>
767
+ <line num="71" count="0" type="stmt"/>
834
768
  </file>
835
769
  <file name="component-input-table.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input-table.ts">
836
770
  <metrics statements="7" coveredstatements="0" conditionals="12" coveredconditionals="0" methods="4" coveredmethods="0"/>
837
- <line num="35" count="0" type="cond" truecount="0" falsecount="2"/>
838
- <line num="36" count="0" type="stmt"/>
839
- <line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
840
- <line num="43" count="0" type="stmt"/>
841
- <line num="67" count="0" type="stmt"/>
842
- <line num="111" count="0" type="stmt"/>
843
- <line num="172" count="0" type="stmt"/>
771
+ <line num="37" count="0" type="cond" truecount="0" falsecount="2"/>
772
+ <line num="38" count="0" type="stmt"/>
773
+ <line num="42" count="0" type="cond" truecount="0" falsecount="2"/>
774
+ <line num="45" count="0" type="stmt"/>
775
+ <line num="69" count="0" type="stmt"/>
776
+ <line num="113" count="0" type="stmt"/>
777
+ <line num="175" count="0" type="stmt"/>
844
778
  </file>
845
779
  <file name="component-input.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/component-input.ts">
846
- <metrics statements="32" coveredstatements="0" conditionals="56" coveredconditionals="0" methods="2" coveredmethods="0"/>
847
- <line num="33" count="0" type="stmt"/>
848
- <line num="34" count="0" type="stmt"/>
849
- <line num="55" count="0" type="cond" truecount="0" falsecount="2"/>
850
- <line num="56" count="0" type="stmt"/>
851
- <line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
852
- <line num="59" count="0" type="stmt"/>
853
- <line num="71" count="0" type="cond" truecount="0" falsecount="2"/>
854
- <line num="73" count="0" type="stmt"/>
855
- <line num="86" count="0" type="cond" truecount="0" falsecount="2"/>
856
- <line num="87" count="0" type="stmt"/>
857
- <line num="90" count="0" type="stmt"/>
858
- <line num="92" count="0" type="cond" truecount="0" falsecount="2"/>
859
- <line num="93" count="0" type="cond" truecount="0" falsecount="2"/>
860
- <line num="95" count="0" type="cond" truecount="0" falsecount="4"/>
861
- <line num="96" count="0" type="stmt"/>
862
- <line num="109" count="0" type="cond" truecount="0" falsecount="2"/>
863
- <line num="110" count="0" type="stmt"/>
864
- <line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
865
- <line num="123" count="0" type="stmt"/>
866
- <line num="134" count="0" type="cond" truecount="0" falsecount="2"/>
867
- <line num="135" count="0" type="stmt"/>
868
- <line num="147" count="0" type="cond" truecount="0" falsecount="2"/>
869
- <line num="148" count="0" type="stmt"/>
870
- <line num="161" count="0" type="cond" truecount="0" falsecount="2"/>
871
- <line num="162" count="0" type="stmt"/>
872
- <line num="169" count="0" type="stmt"/>
873
- <line num="170" count="0" type="cond" truecount="0" falsecount="2"/>
874
- <line num="171" count="0" type="stmt"/>
875
- <line num="179" count="0" type="cond" truecount="0" falsecount="2"/>
876
- <line num="180" count="0" type="stmt"/>
877
- <line num="188" count="0" type="stmt"/>
878
- <line num="198" count="0" type="stmt"/>
780
+ <metrics statements="37" coveredstatements="0" conditionals="58" coveredconditionals="0" methods="2" coveredmethods="0"/>
781
+ <line num="43" count="0" type="stmt"/>
782
+ <line num="44" count="0" type="stmt"/>
783
+ <line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
784
+ <line num="68" count="0" type="stmt"/>
785
+ <line num="70" count="0" type="cond" truecount="0" falsecount="2"/>
786
+ <line num="71" count="0" type="stmt"/>
787
+ <line num="83" count="0" type="cond" truecount="0" falsecount="2"/>
788
+ <line num="85" count="0" type="stmt"/>
789
+ <line num="99" count="0" type="cond" truecount="0" falsecount="2"/>
790
+ <line num="100" count="0" type="stmt"/>
791
+ <line num="103" count="0" type="stmt"/>
792
+ <line num="105" count="0" type="cond" truecount="0" falsecount="2"/>
793
+ <line num="106" count="0" type="cond" truecount="0" falsecount="2"/>
794
+ <line num="108" count="0" type="cond" truecount="0" falsecount="2"/>
795
+ <line num="109" count="0" type="stmt"/>
796
+ <line num="114" count="0" type="stmt"/>
797
+ <line num="124" count="0" type="cond" truecount="0" falsecount="4"/>
798
+ <line num="125" count="0" type="stmt"/>
799
+ <line num="139" count="0" type="cond" truecount="0" falsecount="2"/>
800
+ <line num="140" count="0" type="stmt"/>
801
+ <line num="152" count="0" type="cond" truecount="0" falsecount="2"/>
802
+ <line num="153" count="0" type="stmt"/>
803
+ <line num="164" count="0" type="cond" truecount="0" falsecount="2"/>
804
+ <line num="165" count="0" type="stmt"/>
805
+ <line num="177" count="0" type="cond" truecount="0" falsecount="2"/>
806
+ <line num="178" count="0" type="stmt"/>
807
+ <line num="192" count="0" type="cond" truecount="0" falsecount="2"/>
808
+ <line num="193" count="0" type="stmt"/>
809
+ <line num="201" count="0" type="cond" truecount="0" falsecount="2"/>
810
+ <line num="202" count="0" type="stmt"/>
811
+ <line num="205" count="0" type="stmt"/>
812
+ <line num="206" count="0" type="cond" truecount="0" falsecount="2"/>
813
+ <line num="207" count="0" type="stmt"/>
814
+ <line num="215" count="0" type="cond" truecount="0" falsecount="2"/>
815
+ <line num="216" count="0" type="stmt"/>
816
+ <line num="224" count="0" type="stmt"/>
817
+ <line num="234" count="0" type="stmt"/>
879
818
  </file>
880
819
  <file name="print-arg-path.ts" path="/home/kuba/projects/sealcode/superseal/repos/jdd-editor/src/inputs/print-arg-path.ts">
881
820
  <metrics statements="1" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
@@ -0,0 +1,12 @@
1
+ import { Controller } from "stimulus";
2
+ class CodeSnippet extends Controller {
3
+ copyCode() {
4
+ const value = this.codeTarget.textContent || "";
5
+ void navigator.clipboard.writeText(value);
6
+ }
7
+ }
8
+ CodeSnippet.targets = ["code"];
9
+ export {
10
+ CodeSnippet as default
11
+ };
12
+ //# sourceMappingURL=code-snippet.stimulus.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/controllers/code-snippet.stimulus.ts"],
4
+ "sourcesContent": ["import { Controller } from \"stimulus\";\n\nexport default class CodeSnippet extends Controller {\n\tdeclare codeTarget: HTMLElement;\n\n\tstatic targets = [\"code\"];\n\n\tcopyCode() {\n\t\tconst value = this.codeTarget.textContent || \"\";\n\t\tvoid navigator.clipboard.writeText(value);\n\t}\n}\n"],
5
+ "mappings": "AAAA,SAAS,kBAAkB;AAE3B,MAAO,oBAAkC,WAAW;AAAA,EAKnD,WAAW;AACV,UAAM,QAAQ,KAAK,WAAW,eAAe;AAC7C,SAAK,UAAU,UAAU,UAAU,KAAK;AAAA,EACzC;AACD;AATqB,YAGb,UAAU,CAAC,MAAM;",
6
+ "names": []
7
+ }
@@ -13,7 +13,6 @@ function download(data, filename, type) {
13
13
  }
14
14
  class ExportableTextarea extends Controller {
15
15
  connect() {
16
- console.log("exportable", this.element);
17
16
  this.element.removeAttribute("open");
18
17
  this.element.addEventListener(
19
18
  "turbo:before-morph-attribute",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/controllers/exportable-textarea.stimulus.ts"],
4
- "sourcesContent": ["/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Controller } from \"stimulus\";\n\nfunction download(data: string, filename: string, type: string) {\n\tconst file = new Blob([data], { type: type });\n\tconst a = document.createElement(\"a\"),\n\t\turl = URL.createObjectURL(file);\n\ta.href = url;\n\ta.download = filename;\n\tdocument.body.appendChild(a);\n\ta.click();\n\tsetTimeout(function () {\n\t\tdocument.body.removeChild(a);\n\t\twindow.URL.revokeObjectURL(url);\n\t}, 0);\n}\n\nexport default class ExportableTextarea extends Controller<HTMLDetailsElement> {\n\tconnect() {\n\t\tconsole.log(\"exportable\", this.element);\n\t\tthis.element.removeAttribute(\"open\");\n\t\tthis.element.addEventListener(\n\t\t\t\"turbo:before-morph-attribute\",\n\t\t\t(event: CustomEvent<{ attributeName: string }>) => {\n\t\t\t\tif (\n\t\t\t\t\tevent.target == this.element &&\n\t\t\t\t\tevent.detail.attributeName == \"open\"\n\t\t\t\t) {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n\n\tasync copy(e: MouseEvent) {\n\t\te.preventDefault();\n\t\tconst textarea = this.element.querySelector(\"textarea\");\n\t\tif (!textarea) {\n\t\t\tthrow new Error(\"Couldn't find the textarea\");\n\t\t}\n\t\tawait navigator.clipboard.writeText(textarea.value);\n\t\t(e.target as HTMLButtonElement).textContent = \"Copied\";\n\t\tawait sleep(1000);\n\t\t(e.target as HTMLButtonElement).textContent = \"Copy\";\n\t}\n\n\tasync download(e: MouseEvent) {\n\t\te.preventDefault();\n\t\tconst textarea = this.element.querySelector(\"textarea\");\n\t\tif (!textarea) {\n\t\t\tthrow new Error(\"Couldn't find the textarea\");\n\t\t}\n\t\tdownload(\n\t\t\ttextarea.value,\n\t\t\tString(Date.now()) + \".json\",\n\t\t\t\"application/json\"\n\t\t);\n\t}\n\n\tasync import(e: MouseEvent) {\n\t\te.preventDefault();\n\t\tconst file_input = this.element.querySelector(\n\t\t\t\"input[type='file']\"\n\t\t) as HTMLInputElement;\n\t\tconst file = file_input.files?.[0];\n\t\tif (file) {\n\t\t\tconst text = await file.text();\n\t\t\tconst textarea = this.element.querySelector(\"textarea\");\n\t\t\ttextarea!.innerHTML = text.replaceAll(\"<\", \"&lt;\");\n\t\t\ttextarea!.dispatchEvent(new Event(\"change\"));\n\t\t}\n\t}\n}\n\nfunction sleep(n: number) {\n\treturn new Promise((resolve) => setTimeout(resolve, n));\n}\n"],
5
- "mappings": "AACA,SAAS,kBAAkB;AAE3B,SAAS,SAAS,MAAc,UAAkB,MAAc;AAC/D,QAAM,OAAO,IAAI,KAAK,CAAC,IAAI,GAAG,EAAE,KAAW,CAAC;AAC5C,QAAM,IAAI,SAAS,cAAc,GAAG,GACnC,MAAM,IAAI,gBAAgB,IAAI;AAC/B,IAAE,OAAO;AACT,IAAE,WAAW;AACb,WAAS,KAAK,YAAY,CAAC;AAC3B,IAAE,MAAM;AACR,aAAW,WAAY;AACtB,aAAS,KAAK,YAAY,CAAC;AAC3B,WAAO,IAAI,gBAAgB,GAAG;AAAA,EAC/B,GAAG,CAAC;AACL;AAEA,MAAO,2BAAyC,WAA+B;AAAA,EAC9E,UAAU;AACT,YAAQ,IAAI,cAAc,KAAK,OAAO;AACtC,SAAK,QAAQ,gBAAgB,MAAM;AACnC,SAAK,QAAQ;AAAA,MACZ;AAAA,MACA,CAAC,UAAkD;AAClD,YACC,MAAM,UAAU,KAAK,WACrB,MAAM,OAAO,iBAAiB,QAC7B;AACD,gBAAM,eAAe;AAAA,QACtB;AAAA,MACD;AAAA,IACD;AAAA,EACD;AAAA,EAEA,MAAM,KAAK,GAAe;AACzB,MAAE,eAAe;AACjB,UAAM,WAAW,KAAK,QAAQ,cAAc,UAAU;AACtD,QAAI,CAAC,UAAU;AACd,YAAM,IAAI,MAAM,4BAA4B;AAAA,IAC7C;AACA,UAAM,UAAU,UAAU,UAAU,SAAS,KAAK;AAClD,IAAC,EAAE,OAA6B,cAAc;AAC9C,UAAM,MAAM,GAAI;AAChB,IAAC,EAAE,OAA6B,cAAc;AAAA,EAC/C;AAAA,EAEA,MAAM,SAAS,GAAe;AAC7B,MAAE,eAAe;AACjB,UAAM,WAAW,KAAK,QAAQ,cAAc,UAAU;AACtD,QAAI,CAAC,UAAU;AACd,YAAM,IAAI,MAAM,4BAA4B;AAAA,IAC7C;AACA;AAAA,MACC,SAAS;AAAA,MACT,OAAO,KAAK,IAAI,CAAC,IAAI;AAAA,MACrB;AAAA,IACD;AAAA,EACD;AAAA,EAEA,MAAM,OAAO,GAAe;AA3D7B;AA4DE,MAAE,eAAe;AACjB,UAAM,aAAa,KAAK,QAAQ;AAAA,MAC/B;AAAA,IACD;AACA,UAAM,QAAO,gBAAW,UAAX,mBAAmB;AAChC,QAAI,MAAM;AACT,YAAM,OAAO,MAAM,KAAK,KAAK;AAC7B,YAAM,WAAW,KAAK,QAAQ,cAAc,UAAU;AACtD,eAAU,YAAY,KAAK,WAAW,KAAK,MAAM;AACjD,eAAU,cAAc,IAAI,MAAM,QAAQ,CAAC;AAAA,IAC5C;AAAA,EACD;AACD;AAEA,SAAS,MAAM,GAAW;AACzB,SAAO,IAAI,QAAQ,CAAC,YAAY,WAAW,SAAS,CAAC,CAAC;AACvD;",
4
+ "sourcesContent": ["/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport { Controller } from \"stimulus\";\n\nfunction download(data: string, filename: string, type: string) {\n\tconst file = new Blob([data], { type: type });\n\tconst a = document.createElement(\"a\"),\n\t\turl = URL.createObjectURL(file);\n\ta.href = url;\n\ta.download = filename;\n\tdocument.body.appendChild(a);\n\ta.click();\n\tsetTimeout(function () {\n\t\tdocument.body.removeChild(a);\n\t\twindow.URL.revokeObjectURL(url);\n\t}, 0);\n}\n\nexport default class ExportableTextarea extends Controller<HTMLDetailsElement> {\n\tconnect() {\n\t\tthis.element.removeAttribute(\"open\");\n\t\tthis.element.addEventListener(\n\t\t\t\"turbo:before-morph-attribute\",\n\t\t\t(event: CustomEvent<{ attributeName: string }>) => {\n\t\t\t\tif (\n\t\t\t\t\tevent.target == this.element &&\n\t\t\t\t\tevent.detail.attributeName == \"open\"\n\t\t\t\t) {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n\n\tasync copy(e: MouseEvent) {\n\t\te.preventDefault();\n\t\tconst textarea = this.element.querySelector(\"textarea\");\n\t\tif (!textarea) {\n\t\t\tthrow new Error(\"Couldn't find the textarea\");\n\t\t}\n\t\tawait navigator.clipboard.writeText(textarea.value);\n\t\t(e.target as HTMLButtonElement).textContent = \"Copied\";\n\t\tawait sleep(1000);\n\t\t(e.target as HTMLButtonElement).textContent = \"Copy\";\n\t}\n\n\tasync download(e: MouseEvent) {\n\t\te.preventDefault();\n\t\tconst textarea = this.element.querySelector(\"textarea\");\n\t\tif (!textarea) {\n\t\t\tthrow new Error(\"Couldn't find the textarea\");\n\t\t}\n\t\tdownload(\n\t\t\ttextarea.value,\n\t\t\tString(Date.now()) + \".json\",\n\t\t\t\"application/json\"\n\t\t);\n\t}\n\n\tasync import(e: MouseEvent) {\n\t\te.preventDefault();\n\t\tconst file_input = this.element.querySelector(\n\t\t\t\"input[type='file']\"\n\t\t) as HTMLInputElement;\n\t\tconst file = file_input.files?.[0];\n\t\tif (file) {\n\t\t\tconst text = await file.text();\n\t\t\tconst textarea = this.element.querySelector(\"textarea\");\n\t\t\ttextarea!.innerHTML = text.replaceAll(\"<\", \"&lt;\");\n\t\t\ttextarea!.dispatchEvent(new Event(\"change\"));\n\t\t}\n\t}\n}\n\nfunction sleep(n: number) {\n\treturn new Promise((resolve) => setTimeout(resolve, n));\n}\n"],
5
+ "mappings": "AACA,SAAS,kBAAkB;AAE3B,SAAS,SAAS,MAAc,UAAkB,MAAc;AAC/D,QAAM,OAAO,IAAI,KAAK,CAAC,IAAI,GAAG,EAAE,KAAW,CAAC;AAC5C,QAAM,IAAI,SAAS,cAAc,GAAG,GACnC,MAAM,IAAI,gBAAgB,IAAI;AAC/B,IAAE,OAAO;AACT,IAAE,WAAW;AACb,WAAS,KAAK,YAAY,CAAC;AAC3B,IAAE,MAAM;AACR,aAAW,WAAY;AACtB,aAAS,KAAK,YAAY,CAAC;AAC3B,WAAO,IAAI,gBAAgB,GAAG;AAAA,EAC/B,GAAG,CAAC;AACL;AAEA,MAAO,2BAAyC,WAA+B;AAAA,EAC9E,UAAU;AACT,SAAK,QAAQ,gBAAgB,MAAM;AACnC,SAAK,QAAQ;AAAA,MACZ;AAAA,MACA,CAAC,UAAkD;AAClD,YACC,MAAM,UAAU,KAAK,WACrB,MAAM,OAAO,iBAAiB,QAC7B;AACD,gBAAM,eAAe;AAAA,QACtB;AAAA,MACD;AAAA,IACD;AAAA,EACD;AAAA,EAEA,MAAM,KAAK,GAAe;AACzB,MAAE,eAAe;AACjB,UAAM,WAAW,KAAK,QAAQ,cAAc,UAAU;AACtD,QAAI,CAAC,UAAU;AACd,YAAM,IAAI,MAAM,4BAA4B;AAAA,IAC7C;AACA,UAAM,UAAU,UAAU,UAAU,SAAS,KAAK;AAClD,IAAC,EAAE,OAA6B,cAAc;AAC9C,UAAM,MAAM,GAAI;AAChB,IAAC,EAAE,OAA6B,cAAc;AAAA,EAC/C;AAAA,EAEA,MAAM,SAAS,GAAe;AAC7B,MAAE,eAAe;AACjB,UAAM,WAAW,KAAK,QAAQ,cAAc,UAAU;AACtD,QAAI,CAAC,UAAU;AACd,YAAM,IAAI,MAAM,4BAA4B;AAAA,IAC7C;AACA;AAAA,MACC,SAAS;AAAA,MACT,OAAO,KAAK,IAAI,CAAC,IAAI;AAAA,MACrB;AAAA,IACD;AAAA,EACD;AAAA,EAEA,MAAM,OAAO,GAAe;AA1D7B;AA2DE,MAAE,eAAe;AACjB,UAAM,aAAa,KAAK,QAAQ;AAAA,MAC/B;AAAA,IACD;AACA,UAAM,QAAO,gBAAW,UAAX,mBAAmB;AAChC,QAAI,MAAM;AACT,YAAM,OAAO,MAAM,KAAK,KAAK;AAC7B,YAAM,WAAW,KAAK,QAAQ,cAAc,UAAU;AACtD,eAAU,YAAY,KAAK,WAAW,KAAK,MAAM;AACjD,eAAU,cAAc,IAAI,MAAM,QAAQ,CAAC;AAAA,IAC5C;AAAA,EACD;AACD;AAEA,SAAS,MAAM,GAAW;AACzB,SAAO,IAAI,QAAQ,CAAC,YAAY,WAAW,SAAS,CAAC,CAAC;AACvD;",
6
6
  "names": []
7
7
  }
@@ -114,9 +114,6 @@ class JSONEditor extends Controller {
114
114
  }
115
115
  });
116
116
  }
117
- async disconnect() {
118
- console.log("DISCONNECTING JSON EDITOR");
119
- }
120
117
  }
121
118
  export {
122
119
  JSONEditor as default