jderobot-ide-interface 0.1.14

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 (94) hide show
  1. package/README.md +1 -0
  2. package/dist/0896126134a9b188344fa6e4ad704b0d.svg +4 -0
  3. package/dist/094070de94411c40fa83db7cfbd274b0.svg +4 -0
  4. package/dist/0a933c3e6eeabc70f06c42942a14519a.svg +4 -0
  5. package/dist/0dbb251678b3c31813ac68b35701ae40.svg +27 -0
  6. package/dist/2e62728ae4c396b0a80d277259b378d1.svg +4 -0
  7. package/dist/32474416e5f4515085e53df0b4e21357.svg +4 -0
  8. package/dist/39d7dc6012dc2093fc281466cc28f6c7.svg +8 -0
  9. package/dist/3a6e3acd0b2afc8572ac399fd3d98456.svg +4 -0
  10. package/dist/4b4fa0fa1fe33beed86a9dde9e03ce33.svg +4 -0
  11. package/dist/4e8079ca6526a8ef2538faab426f1386.svg +17 -0
  12. package/dist/597d04d21f9ffffe44d4c1c7cee4a8a2.svg +4 -0
  13. package/dist/5d7a32e100f500c95ebc1be7495d48a0.svg +4 -0
  14. package/dist/5f9c8c3872ccef6b9e6ea1273c4fd544.svg +4 -0
  15. package/dist/7dd50ec0079c5fcfb4d02e852d14a2c9.svg +4 -0
  16. package/dist/a0d7f6744fa00f02309a98ebb3da5e48.svg +4 -0
  17. package/dist/a211ea02b722dc943b1c3890dd984348.svg +4 -0
  18. package/dist/assets/index.d.ts +20 -0
  19. package/dist/cc0581c9b68e8c05bdabf15be9f68268.svg +4 -0
  20. package/dist/components/Button/Button.d.ts +24 -0
  21. package/dist/components/Button/Button.stories.d.ts +8 -0
  22. package/dist/components/Button/Button.styles.d.ts +11 -0
  23. package/dist/components/Button/index.d.ts +1 -0
  24. package/dist/components/ButtonsContainer/ButtonsContainer.styles.d.ts +6 -0
  25. package/dist/components/ButtonsContainer/index.d.ts +1 -0
  26. package/dist/components/Dropdown/Dropdown.d.ts +19 -0
  27. package/dist/components/Dropdown/Dropdown.styles.d.ts +12 -0
  28. package/dist/components/Dropdown/index.d.ts +1 -0
  29. package/dist/components/Explorer/Explorer.d.ts +8 -0
  30. package/dist/components/Explorer/Explorer.styles.d.ts +7 -0
  31. package/dist/components/Explorer/file_explorer/FileExplorer.d.ts +16 -0
  32. package/dist/components/Explorer/file_explorer/FileExplorer.styles.d.ts +1 -0
  33. package/dist/components/Explorer/file_explorer/FileIcon.d.ts +7 -0
  34. package/dist/components/Explorer/file_explorer/MoreActionsMenu.d.ts +27 -0
  35. package/dist/components/Explorer/file_explorer/MoreActionsMenu.styles.d.ts +21 -0
  36. package/dist/components/Explorer/file_explorer/TreeNode.d.ts +11 -0
  37. package/dist/components/Explorer/file_explorer/TreeNode.styles.d.ts +34 -0
  38. package/dist/components/Explorer/index.d.ts +1 -0
  39. package/dist/components/FileEditor/FileEditor.d.ts +14 -0
  40. package/dist/components/FileEditor/FileEditor.styles.d.ts +9 -0
  41. package/dist/components/FileEditor/TextEditor.d.ts +10 -0
  42. package/dist/components/FileEditor/extras.d.ts +22 -0
  43. package/dist/components/FileEditor/index.d.ts +1 -0
  44. package/dist/components/FileEditor/snippets.d.ts +8 -0
  45. package/dist/components/IdeInterface/IdeInterface.d.ts +21 -0
  46. package/dist/components/IdeInterface/IdeInterface.stories.d.ts +6 -0
  47. package/dist/components/IdeInterface/IdeInterface.styles.d.ts +34 -0
  48. package/dist/components/IdeInterface/index.d.ts +1 -0
  49. package/dist/components/Modals/DeleteModal.d.ts +8 -0
  50. package/dist/components/Modals/ErrorModal.d.ts +3 -0
  51. package/dist/components/Modals/ErrorModal.styles.d.ts +66 -0
  52. package/dist/components/Modals/Modal.d.ts +24 -0
  53. package/dist/components/Modals/Modal.styles.d.ts +62 -0
  54. package/dist/components/Modals/NewFileModal.d.ts +9 -0
  55. package/dist/components/Modals/NewFileModal.stories.d.ts +6 -0
  56. package/dist/components/Modals/NewFileModal.styles.d.ts +11 -0
  57. package/dist/components/Modals/NewFolderModal.d.ts +14 -0
  58. package/dist/components/Modals/RenameModal.d.ts +9 -0
  59. package/dist/components/Modals/UploadModal.d.ts +9 -0
  60. package/dist/components/Modals/UploadModal.styles.d.ts +12 -0
  61. package/dist/components/Modals/index.d.ts +6 -0
  62. package/dist/components/ProgressBar/ProgressBar.d.ts +4 -0
  63. package/dist/components/ProgressBar/ProgressBar.style.d.ts +9 -0
  64. package/dist/components/ProgressBar/index.d.ts +1 -0
  65. package/dist/components/ResizableLayout/ResizableComponents.d.ts +44 -0
  66. package/dist/components/ResizableLayout/ResizableComponents.styles.d.ts +28 -0
  67. package/dist/components/ResizableLayout/index.d.ts +1 -0
  68. package/dist/components/StatusBar/StatusBar.d.ts +10 -0
  69. package/dist/components/StatusBar/StatusBar.style.d.ts +15 -0
  70. package/dist/components/StatusBar/index.d.ts +1 -0
  71. package/dist/components/VncViewer/VncViewer.d.ts +6 -0
  72. package/dist/components/VncViewer/VncViewer.stories.d.ts +6 -0
  73. package/dist/components/VncViewer/VncViewer.styles.d.ts +7 -0
  74. package/dist/components/VncViewer/index.d.ts +1 -0
  75. package/dist/components/index.d.ts +11 -0
  76. package/dist/d8a2b45df92c9ae68c85bf6ece9289ae.svg +4 -0
  77. package/dist/ec99f20bab9b2b9417dd202dcef39e6f.svg +4 -0
  78. package/dist/fca5588274453e3a7ffc9b828deeab14.svg +4 -0
  79. package/dist/index.d.ts +5 -0
  80. package/dist/main.js +3 -0
  81. package/dist/main.js.LICENSE.txt +30 -0
  82. package/dist/package.json +60 -0
  83. package/dist/types/error.d.ts +16 -0
  84. package/dist/types/events.d.ts +9 -0
  85. package/dist/types/fileTypes.d.ts +73 -0
  86. package/dist/types/index.d.ts +6 -0
  87. package/dist/types/options.d.ts +5 -0
  88. package/dist/types/theme.d.ts +36 -0
  89. package/dist/utils/errorProvider.d.ts +5 -0
  90. package/dist/utils/events.d.ts +3 -0
  91. package/dist/utils/index.d.ts +4 -0
  92. package/dist/utils/optionsProvider.d.ts +9 -0
  93. package/dist/utils/themeProvider.d.ts +9 -0
  94. package/package.json +60 -0
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # JdeRobot Ide Interface
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" fill="none" aria-hidden="true" version="1.1" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="m15.651 5.65a7.131 7.131 0 0 0-12.68 3.15m13.03-6.8v4h-4m-7.652 8.35a7.13 7.13 0 0 0 12.68-3.15m-13.029 6.8v-4h4" stroke="current" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" fill="none" aria-hidden="true" version="1.1" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="m4.5085 4.5085 10.983 10.983m2.7458-5.4915a8.2373 8.2373 0 1 1-16.475 0 8.2373 8.2373 0 0 1 16.475 0z" fill="none" stroke="current" stroke-linecap="round" stroke-width="1.5254"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" fill="none" aria-hidden="true" version="1.1" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="M 9.98875,3.25 H 10 M 9.98875,10 H 10 M 9.98875,16.75 H 10" stroke="currentColor" stroke-linecap="round" stroke-width="4.5"/>
4
+ </svg>
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" preserveAspectRatio="xMidYMid" version="1.0" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
3
+ <g transform="matrix(.034119 0 0 .034119 -2.4688 -7.2095)">
4
+ <g fill="#0bbd0b">
5
+ <path d="m2050 4059c-270-29-493-254-519-524-23-229 79-441 272-566 88-57 165-80 287-86 187-9 315 40 445 171 124 124 175 247 175 416 0 359-301 627-660 589zm185-154c219-57 365-283 327-505-60-353-483-500-744-260-227 207-186 566 82 723 94 54 223 71 335 42z"/>
6
+ </g>
7
+ <g fill="#0891f8">
8
+ <path d="m2208 4290c-239-38-442-143-605-313-134-140-211-278-265-474-18-64-21-107-22-243-1-142 2-177 23-254 50-191 126-328 260-468 219-229 496-341 805-325 266 14 499 118 687 306 122 122 200 246 253 406 191 569-146 1189-729 1340-112 29-306 41-407 25zm312-151c327-59 606-314 700-639 31-107 38-307 15-421-55-273-233-507-480-631-137-69-337-106-486-89-126 14-202 36-314 91-371 179-570 594-479 1e3 18 82 54 180 65 180 5 0 9 6 9 13 0 24 58 133 103 192 46 61 126 127 207 172 25 13 63 35 85 49 60 36 215 83 308 93 88 9 179 6 267-10z"/>
9
+ </g>
10
+ <g fill="#082693">
11
+ <path d="m1220 5730c0-46 2-50 24-50 14 0 38-11 53-24l28-24 3-262 4-261 61 3 62 3 3 255c2 214 0 262-13 297-28 72-96 113-187 113h-38z"/>
12
+ <path d="m1644 5632c-45-28-73-73-86-136-28-133 50-256 162-256 35 0 105 33 113 52 3 7 6-33 6-89l1-103h130v540h-65c-59 0-65-2-65-21 0-20 0-20-32 2-44 32-123 37-164 11zm171-97c22-21 25-33 25-90s-3-69-25-90c-31-32-66-32-102-1-25 22-28 30-28 89 0 55 4 69 24 91 32 34 74 34 106 1z"/>
13
+ <path d="m2173 5634c-129-48-165-234-64-335 82-83 240-78 314 10 29 35 47 88 47 139v32h-145c-160 0-167 3-121 57 22 25 30 28 88 27 41 0 79-8 111-22l47-21v48c0 46-1 48-37 60-63 20-192 23-240 5zm167-248c0-8-8-24-19-37-27-34-86-32-117 5-13 15-24 31-24 37 0 5 36 9 80 9 62 0 80-3 80-14z"/>
14
+ <path d="m3225 5635c-130-46-168-235-66-336 107-107 322-62 360 76 51 185-108 326-294 260zm146-101c20-22 24-36 24-89s-4-67-24-89c-16-17-35-26-56-26s-40 9-56 26c-20 22-24 36-24 89s4 67 24 89c16 17 35 26 56 26s40-9 56-26z"/>
15
+ <path d="m3795 5634c-16-8-38-23-47-31-17-15-18-14-18 10 0 26-2 27-60 27h-60v-540h120v201l37-28c48-36 135-40 180-7 113 84 102 307-17 369-37 19-97 19-135-1zm76-100c20-22 24-36 24-91 0-59-3-67-28-89-52-45-111-21-127 51-26 114 63 202 131 129z"/>
16
+ <path d="m4215 5635c-130-46-168-235-66-336 107-107 322-62 360 76 51 185-108 326-294 260zm146-101c20-22 24-36 24-89s-4-67-24-89c-16-17-35-26-56-26s-40 9-56 26c-20 22-24 36-24 89s4 67 24 89c16 17 35 26 56 26s40-9 56-26z"/>
17
+ <path d="m2580 5380v-260h133c182 1 235 22 259 102 16 53-2 109-46 145l-34 27 24 19c20 16 124 202 124 222 0 3-30 5-67 3l-68-3-42-80c-47-91-72-115-119-115h-33l-3 98-3 97-62 3-63 3zm245-50c9-7 15-29 15-51 0-46-18-59-84-59h-46v133l50-5c27-3 56-11 65-18z"/>
18
+ <path d="m4670 5627c-44-22-60-70-60-184v-103h-30c-29 0-30-2-30-45s1-45 30-45c30 0 30-1 30-55v-55h130v110h120v90h-121l3 103 3 102 53 3 52 3v89h-77c-43 0-89-6-103-13z"/>
19
+ </g>
20
+ <g fill="#ffa500">
21
+ <path d="m2540 4563c-193-19-403-79-580-165-69-34-131-62-138-64-18-4-134-98-230-189-95-89-220-241-301-365-75-115-168-299-174-346-3-22-15-84-28-139-21-89-24-124-23-315 0-197 2-224 26-325 99-413 323-737 674-974 385-260 878-345 1338-231 520 128 944 499 1131 989 68 179 96 338 96 546 1 399-142 760-416 1055-271 293-632 473-1040 520-85 9-257 11-335 3zm325-148c221-18 480-113 690-252 126-84 307-264 388-384 108-163 181-336 223-529 14-66 19-127 18-270 0-164-3-198-26-296-68-289-202-521-418-727-459-436-1160-538-1730-252-404 203-686 565-782 1003-31 141-31 405 0 549 62 285 216 569 408 754 141 135 377 271 583 338 213 69 388 87 646 66z"/>
22
+ </g>
23
+ <g fill="#f00">
24
+ <path d="m2845 4853c-350-23-742-157-1043-357-525-349-863-883-959-1516-23-157-23-454 0-608 74-475 281-892 607-1222 327-330 719-536 1185-622 158-29 554-32 705-5 491 86 908 305 1239 652 558 586 745 1419 489 2190-214 648-719 1157-1363 1374-285 96-568 133-860 114zm491-166c344-65 633-190 893-385 103-78 278-248 360-351 382-480 528-1087 406-1683-235-1151-1395-1861-2535-1552-484 131-920 459-1192 896-148 238-251 535-287 828-16 122-13 371 4 502 36 272 125 534 259 762 317 538 850 895 1478 991 123 19 499 14 614-8z"/>
25
+ </g>
26
+ </g>
27
+ </svg>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" fill="none" aria-hidden="true" version="1.1" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="m8.5363 16.035-6.64 2.2126 2.2137-6.639m4.4263 4.4263 8.652-8.9406a3.1312 3.1312 0 0 0-2.2137-5.3428 3.1343 3.1343 0 0 0-2.2137 0.91651l-8.6509 8.9406m4.4263 4.4263-4.4274-4.4263m2.2137 2.2137 6.4269-6.7279m-2.1744-2.1682 4.3963 4.386" fill="none" stroke="current" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.504"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" fill="current" stroke-width=".00024" version="1.1" viewBox="-2.4 -2.4 36 36" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="m23.36-0.074185c-0.70123-0.70109-1.8378-0.70109-2.539 0l-11.928 11.929c-2.1027 2.1028-2.1034 5.5116-0.00147 7.6151l11.795 11.805c0.70105 0.70123 1.8378 0.70123 2.5389 0 0.70105-0.70105 0.70105-1.8378 0-2.5389l-11.799-11.798c-0.70109-0.70123-0.70109-1.8378 0-2.5389l11.933-11.933c0.70105-0.7011 0.70105-1.8378 0-2.5389z" stroke-width=".00043086"/>
4
+ </svg>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" version="1.1" viewBox="0 0 .9375 .9375" xmlns="http://www.w3.org/2000/svg">
3
+ <g transform="matrix(.035156 0 0 .035156 .046875 .046875)">
4
+ <path d="m21 4h-3.1a5.009 5.009 0 0 0-4.9-4h-2a5.009 5.009 0 0 0-4.9 4h-3.1a1 1 0 0 0 0 2h1v13a5.006 5.006 0 0 0 5 5h6a5.006 5.006 0 0 0 5-5v-13h1a1 1 0 0 0 0-2zm-10-2h2a3.006 3.006 0 0 1 2.829 2h-7.658a3.006 3.006 0 0 1 2.829-2zm7 17a3 3 0 0 1-3 3h-6a3 3 0 0 1-3-3v-13h12z" fill="current"/>
5
+ <path d="m10 18a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1z" fill="current"/>
6
+ <path d="m14 18a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1z"/>
7
+ </g>
8
+ </svg>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" version="1.1" viewBox="0 0 .9375 .9375" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="m0.74825 0.24147-0.12252-0.12252c-0.046478-0.046478-0.10829-0.072073-0.17403-0.072073h-0.15874c-0.09693-3.516e-5 -0.17579 0.078824-0.17579 0.17575v0.49221c0 0.09693 0.078859 0.17579 0.17579 0.17579h0.35158c0.09693 0 0.17579-0.078859 0.17579-0.17579v-0.29937c0-0.065745-0.025595-0.12752-0.072073-0.17403zm-0.049713 0.049713c0.01118 0.01118 0.020638 0.023591 0.028302 0.036916h-0.15262c-0.019372 0-0.035158-0.015786-0.035158-0.035158v-0.15262c0.013325 0.007664 0.025771 0.017122 0.036916 0.028302l0.12252 0.12252zm0.051471 0.42365c0 0.058151-0.047322 0.10547-0.10547 0.10547h-0.35158c-0.058151 0-0.10547-0.047322-0.10547-0.10547v-0.49221c0-0.058151 0.047322-0.10547 0.10547-0.10547h0.15874c0.00573 0 0.011426 2.8126e-4 0.017051 8.0863e-4v0.17498c0 0.058151 0.047322 0.10547 0.10547 0.10547h0.17498c5.274e-4 0.005625 8.087e-4 0.011321 8.087e-4 0.017052zm-0.15093-0.15888c0.013747 0.013747 0.013747 0.035966 0 0.049713-0.00686 0.006856-0.015856 0.010301-0.024856 0.010301s-0.018001-0.003445-0.024857-0.010301l-0.045459-0.045459v0.15462c0 0.019407-0.015751 0.035158-0.035158 0.035158s-0.035158-0.015751-0.035158-0.035158v-0.15462l-0.045459 0.045459c-0.013747 0.013747-0.035966 0.013747-0.049713 0s-0.013747-0.035966 0-0.049713l0.056744-0.056744c0.040572-0.040572 0.1066-0.040572 0.14721 0l0.056744 0.056744z"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" version="1.1" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="m13 13a0.75 0.75 0 0 1-0.75 0.75h-1.5v1.5a0.75 0.75 0 0 1-1.5 0v-1.5h-1.5a0.75 0.75 0 0 1 0-1.5h1.5v-1.5a0.75 0.75 0 0 1 1.5 0v1.5h1.5a0.75 0.75 0 0 1 0.75 0.75zm4.5-4.1362v6.3862a3.7545 3.7545 0 0 1-3.75 3.75h-7.5a3.7545 3.7545 0 0 1-3.75-3.75v-10.5a3.7545 3.7545 0 0 1 3.75-3.75h3.3862a5.2185 5.2185 0 0 1 3.7125 1.5375l2.613 2.6145a5.2132 5.2132 0 0 1 1.5382 3.7117zm-5.2117-5.2657a3.7575 3.7575 0 0 0-0.78825-0.585v3.237a0.75 0.75 0 0 0 0.75 0.75h3.237a3.7372 3.7372 0 0 0-0.58575-0.7875zm3.7117 5.2657c0-0.12375-0.024-0.24225-0.03525-0.36375h-3.7147a2.25 2.25 0 0 1-2.25-2.25v-3.7147c-0.1215-0.01125-0.24075-0.03525-0.36375-0.03525h-3.3862a2.25 2.25 0 0 0-2.25 2.25v10.5a2.25 2.25 0 0 0 2.25 2.25h7.5a2.25 2.25 0 0 0 2.25-2.25z"/>
4
+ </svg>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" preserveAspectRatio="xMidYMid" version="1.0" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
3
+ <g transform="matrix(.034119 0 0 .034119 -2.4688 -7.2095)" fill="current">
4
+ <path d="m2050 4059c-270-29-493-254-519-524-23-229 79-441 272-566 88-57 165-80 287-86 187-9 315 40 445 171 124 124 175 247 175 416 0 359-301 627-660 589zm185-154c219-57 365-283 327-505-60-353-483-500-744-260-227 207-186 566 82 723 94 54 223 71 335 42z"/>
5
+ <path d="m2208 4290c-239-38-442-143-605-313-134-140-211-278-265-474-18-64-21-107-22-243-1-142 2-177 23-254 50-191 126-328 260-468 219-229 496-341 805-325 266 14 499 118 687 306 122 122 200 246 253 406 191 569-146 1189-729 1340-112 29-306 41-407 25zm312-151c327-59 606-314 700-639 31-107 38-307 15-421-55-273-233-507-480-631-137-69-337-106-486-89-126 14-202 36-314 91-371 179-570 594-479 1e3 18 82 54 180 65 180 5 0 9 6 9 13 0 24 58 133 103 192 46 61 126 127 207 172 25 13 63 35 85 49 60 36 215 83 308 93 88 9 179 6 267-10z"/>
6
+ <path d="m1220 5730c0-46 2-50 24-50 14 0 38-11 53-24l28-24 3-262 4-261 61 3 62 3 3 255c2 214 0 262-13 297-28 72-96 113-187 113h-38z"/>
7
+ <path d="m1644 5632c-45-28-73-73-86-136-28-133 50-256 162-256 35 0 105 33 113 52 3 7 6-33 6-89l1-103h130v540h-65c-59 0-65-2-65-21 0-20 0-20-32 2-44 32-123 37-164 11zm171-97c22-21 25-33 25-90s-3-69-25-90c-31-32-66-32-102-1-25 22-28 30-28 89 0 55 4 69 24 91 32 34 74 34 106 1z"/>
8
+ <path d="m2173 5634c-129-48-165-234-64-335 82-83 240-78 314 10 29 35 47 88 47 139v32h-145c-160 0-167 3-121 57 22 25 30 28 88 27 41 0 79-8 111-22l47-21v48c0 46-1 48-37 60-63 20-192 23-240 5zm167-248c0-8-8-24-19-37-27-34-86-32-117 5-13 15-24 31-24 37 0 5 36 9 80 9 62 0 80-3 80-14z"/>
9
+ <path d="m3225 5635c-130-46-168-235-66-336 107-107 322-62 360 76 51 185-108 326-294 260zm146-101c20-22 24-36 24-89s-4-67-24-89c-16-17-35-26-56-26s-40 9-56 26c-20 22-24 36-24 89s4 67 24 89c16 17 35 26 56 26s40-9 56-26z"/>
10
+ <path d="m3795 5634c-16-8-38-23-47-31-17-15-18-14-18 10 0 26-2 27-60 27h-60v-540h120v201l37-28c48-36 135-40 180-7 113 84 102 307-17 369-37 19-97 19-135-1zm76-100c20-22 24-36 24-91 0-59-3-67-28-89-52-45-111-21-127 51-26 114 63 202 131 129z"/>
11
+ <path d="m4215 5635c-130-46-168-235-66-336 107-107 322-62 360 76 51 185-108 326-294 260zm146-101c20-22 24-36 24-89s-4-67-24-89c-16-17-35-26-56-26s-40 9-56 26c-20 22-24 36-24 89s4 67 24 89c16 17 35 26 56 26s40-9 56-26z"/>
12
+ <path d="m2580 5380v-260h133c182 1 235 22 259 102 16 53-2 109-46 145l-34 27 24 19c20 16 124 202 124 222 0 3-30 5-67 3l-68-3-42-80c-47-91-72-115-119-115h-33l-3 98-3 97-62 3-63 3zm245-50c9-7 15-29 15-51 0-46-18-59-84-59h-46v133l50-5c27-3 56-11 65-18z"/>
13
+ <path d="m4670 5627c-44-22-60-70-60-184v-103h-30c-29 0-30-2-30-45s1-45 30-45c30 0 30-1 30-55v-55h130v110h120v90h-121l3 103 3 102 53 3 52 3v89h-77c-43 0-89-6-103-13z"/>
14
+ <path d="m2540 4563c-193-19-403-79-580-165-69-34-131-62-138-64-18-4-134-98-230-189-95-89-220-241-301-365-75-115-168-299-174-346-3-22-15-84-28-139-21-89-24-124-23-315 0-197 2-224 26-325 99-413 323-737 674-974 385-260 878-345 1338-231 520 128 944 499 1131 989 68 179 96 338 96 546 1 399-142 760-416 1055-271 293-632 473-1040 520-85 9-257 11-335 3zm325-148c221-18 480-113 690-252 126-84 307-264 388-384 108-163 181-336 223-529 14-66 19-127 18-270 0-164-3-198-26-296-68-289-202-521-418-727-459-436-1160-538-1730-252-404 203-686 565-782 1003-31 141-31 405 0 549 62 285 216 569 408 754 141 135 377 271 583 338 213 69 388 87 646 66z"/>
15
+ <path d="m2845 4853c-350-23-742-157-1043-357-525-349-863-883-959-1516-23-157-23-454 0-608 74-475 281-892 607-1222 327-330 719-536 1185-622 158-29 554-32 705-5 491 86 908 305 1239 652 558 586 745 1419 489 2190-214 648-719 1157-1363 1374-285 96-568 133-860 114zm491-166c344-65 633-190 893-385 103-78 278-248 360-351 382-480 528-1087 406-1683-235-1151-1395-1861-2535-1552-484 131-920 459-1192 896-148 238-251 535-287 828-16 122-13 371 4 502 36 272 125 534 259 762 317 538 850 895 1478 991 123 19 499 14 614-8z"/>
16
+ </g>
17
+ </svg>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" fill="currentColor" stroke="#000000" stroke-width=".00024" version="1.1" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="m8.2 1.0001c0.49679 0 0.89999 0.4032 0.89999 0.89999v3.6c0 0.49679-0.4032 0.89999-0.89999 0.89999h-1.8v1.8h4.4999v-0.89999c0-0.49679 0.4032-0.89999 0.89999-0.89999h5.3999c0.49679 0 0.89999 0.4032 0.89999 0.89999v3.6c0 0.49679-0.4032 0.89999-0.89999 0.89999h-5.3999c-0.49679 0-0.89999-0.4032-0.89999-0.89999v-0.89999h-4.4999v5.3999h4.4999v-0.89999c0-0.49679 0.4032-0.89999 0.89999-0.89999h5.3999c0.49679 0 0.89999 0.4032 0.89999 0.89999v3.6c0 0.49679-0.4032 0.89999-0.89999 0.89999h-5.3999c-0.49679 0-0.89999-0.4032-0.89999-0.89999v-0.89999h-5.3999c-0.49679 0-0.89999-0.4032-0.89999-0.89999v-9.8999h-1.8c-0.49679 0-0.89999-0.4032-0.89999-0.89999v-3.6c0-0.49679 0.4032-0.89999 0.89999-0.89999zm8.0999 14.4h-3.6v1.8h3.6zm0-7.1999h-3.6v1.8h3.6zm-8.9999-5.3999h-3.6v1.8h3.6z" stroke="none"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" fill="current" version="1.1" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="m1.3776 1.3776a1.2854 1.2854 0 0 1 1.8202 0l6.8025 6.8051 6.8025-6.8051a1.2871 1.2871 0 0 1 1.8202 1.8202l-6.8051 6.8025 6.8051 6.8025a1.2871 1.2871 0 0 1-1.8202 1.8202l-6.8025-6.8051-6.8025 6.8051a1.2871 1.2871 0 0 1-1.8202-1.8202l6.8051-6.8025-6.8051-6.8025a1.2854 1.2854 0 0 1 0-1.8202"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" fill="none" aria-hidden="true" version="1.1" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="m12.057 5.3714h-10.286m8.2286 3.6v5.1429m-2.5714-2.5714h5.1429m-10.8-8.2286v13.371a1.0286 1.0286 0 0 0 1.0286 1.0286h14.4a1.0286 1.0286 0 0 0 1.0286-1.0286v-10.286a1.0286 1.0286 0 0 0-1.0286-1.0286h-5.1758a1.0286 1.0286 0 0 1-0.78994-0.37029l-1.9543-2.3451a1.0286 1.0286 0 0 0-0.78994-0.37029h-5.6901a1.0286 1.0286 0 0 0-1.0286 1.0286z" stroke="current" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5429"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" fill="current" version="1.1" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="m2.1256 13.937a0.56246 0.56246 0 0 0 0.56246 0.56246h13.266l-3.5401 3.539a0.56317 0.56317 0 0 0 0.79644 0.79644l4.4996-4.4996a0.56246 0.56246 0 0 0 0-0.79644l-4.4996-4.4996a0.56317 0.56317 0 0 0-0.79644 0.79644l3.5401 3.539h-13.266a0.56246 0.56246 0 0 0-0.56246 0.56246m15.749-7.8744a0.56246 0.56246 0 0 1-0.56246 0.56246h-13.266l3.5401 3.539a0.56317 0.56317 0 1 1-0.79644 0.79644l-4.4996-4.4996a0.56246 0.56246 0 0 1 0-0.79644l4.4996-4.4996a0.56317 0.56317 0 1 1 0.79644 0.79644l-3.5401 3.539h13.266a0.56246 0.56246 0 0 1 0.56246 0.56246" fill-rule="evenodd"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" fill="none" version="1.1" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="m18.25 5.8751-8.2498 8.2498-8.2498-8.2498" stroke="current" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5004"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" fill="current" version="1.1" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="m2.8947 2.4211a1.8947 1.8947 0 0 0-1.8947 1.8947v11.368a1.8947 1.8947 0 0 0 0.082421 0.55516l2.8203-7.5193a0.94737 0.94737 0 0 1 0.88674-0.61484h11.368v-0.94737a1.8947 1.8947 0 0 0-1.8947-1.8947h-4.2935l-1.8-2.16a1.8947 1.8947 0 0 0-1.4552-0.68211zm2.5513 7.5789h-0.18284l-2.8421 7.5789h13.737l2.8421-7.5789z" clip-rule="evenodd" fill-rule="evenodd"/>
4
+ </svg>
@@ -0,0 +1,20 @@
1
+ export { ReactComponent as ActionFileIcon } from "./file-action.svg";
2
+ export { ReactComponent as ActionIcon } from "./action.svg";
3
+ export { ReactComponent as ActionTeplateIcon } from "./action_template.svg";
4
+ export { ReactComponent as AddFolderIcon } from "./add_folder.svg";
5
+ export { ReactComponent as AddIcon } from "./add.svg";
6
+ export { ReactComponent as BackIcon } from "./back.svg";
7
+ export { ReactComponent as BaseFileIcon } from "./file.svg";
8
+ export { ReactComponent as ClosedArrowIcon } from "./arrowSide.svg";
9
+ export { ReactComponent as ClosedFolderIcon } from "./closedFolder.svg";
10
+ export { ReactComponent as CloseIcon } from "./close.svg";
11
+ export { ReactComponent as DeleteIcon } from "./delete.svg";
12
+ export { ReactComponent as EmptyTeplateIcon } from "./empty_template.svg";
13
+ export { ReactComponent as IOTeplateIcon } from "./io_template.svg";
14
+ export { ReactComponent as MonocolorSplashIcon } from "./logo_jderobot_monocolor.svg";
15
+ export { ReactComponent as OpenArrowIcon } from "./arrowDown.svg";
16
+ export { ReactComponent as OpenFolderIcon } from "./openFolder.svg";
17
+ export { ReactComponent as ResetIcon } from "./reset.svg";
18
+ export { ReactComponent as RenameIcon } from "./rename.svg";
19
+ export { ReactComponent as SaveIcon } from "./save.svg";
20
+ export { ReactComponent as SplashIcon } from "./logo_jderobot.svg";
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" fill="none" version="1.1" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="m5.8751 1.7502 8.2498 8.2498-8.2498 8.2498" fill="none" stroke="current" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5004"/>
4
+ </svg>
@@ -0,0 +1,24 @@
1
+ export type ButtonVariant = "standard" | "colored" | "tab";
2
+ export type IconVariant = "fill" | "stroke";
3
+ declare const Button: ({ active, variant, iconType, title, id, onClick, children, }: {
4
+ active: boolean;
5
+ variant: ButtonVariant;
6
+ iconType: IconVariant;
7
+ title: string;
8
+ id: string;
9
+ onClick: Function;
10
+ children: any;
11
+ }) => JSX.Element;
12
+ export default Button;
13
+ export declare const MenuButton: ({ title, id, onClick, children, }: {
14
+ title: string;
15
+ id: string;
16
+ onClick: Function;
17
+ children: any;
18
+ }) => JSX.Element;
19
+ export declare const MenuButtonStroke: ({ title, id, onClick, children, }: {
20
+ title: string;
21
+ id: string;
22
+ onClick: Function;
23
+ children: any;
24
+ }) => JSX.Element;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from "@storybook/react";
2
+ import Button from "./Button";
3
+ type Story = StoryObj<typeof Button>;
4
+ declare const meta: Meta<typeof Button>;
5
+ export default meta;
6
+ export declare const Main: Story;
7
+ export declare const Tabbed: Story;
8
+ export declare const MenuButtons: Story;
@@ -0,0 +1,11 @@
1
+ import { ButtonVariant, IconVariant } from "./Button";
2
+ interface StyledButtonProps {
3
+ bgColor?: string;
4
+ color?: string;
5
+ roundness?: number;
6
+ variant: ButtonVariant;
7
+ iconType: IconVariant;
8
+ active: boolean;
9
+ }
10
+ export declare const StyledButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, StyledButtonProps>> & string;
11
+ export {};
@@ -0,0 +1 @@
1
+ export { default as Button, MenuButton } from "./Button";
@@ -0,0 +1,6 @@
1
+ export declare const StyledButtonsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ interface StyledSeparatedButtonsContainerProps {
3
+ color?: string;
4
+ }
5
+ export declare const StyledSeparatedButtonsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledSeparatedButtonsContainerProps>> & string;
6
+ export {};
@@ -0,0 +1 @@
1
+ export { StyledButtonsContainer, StyledSeparatedButtonsContainer, } from "./ButtonsContainer.styles";
@@ -0,0 +1,19 @@
1
+ export declare const DropdownStatusBar: ({ id, title, baseHeight, width, down, setter, possibleValues, children, }: {
2
+ id: string;
3
+ title: string;
4
+ baseHeight: number;
5
+ width: number;
6
+ down: boolean;
7
+ setter: Function;
8
+ possibleValues: any[];
9
+ children: any;
10
+ }) => JSX.Element;
11
+ export declare const DropdownIcon: ({ id, title, width, down, setter, possibleValues, children, }: {
12
+ id: string;
13
+ title: string;
14
+ width: number;
15
+ down: boolean;
16
+ setter: Function;
17
+ possibleValues: any[];
18
+ children: any;
19
+ }) => JSX.Element;
@@ -0,0 +1,12 @@
1
+ interface StyledDropdownProps {
2
+ color?: string;
3
+ bgColor?: string;
4
+ hoverColor?: string;
5
+ roundness?: number;
6
+ width?: number;
7
+ height?: number;
8
+ left?: number;
9
+ down?: boolean;
10
+ }
11
+ export declare const StyledDropdown: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, StyledDropdownProps>> & string;
12
+ export {};
@@ -0,0 +1 @@
1
+ export { DropdownIcon, DropdownStatusBar } from "./Dropdown";
@@ -0,0 +1,8 @@
1
+ import { Entry, ExplorerEntry } from "Types";
2
+ declare const Explorer: ({ setCurrentFile, currentFile, project, api, }: {
3
+ setCurrentFile: Function;
4
+ currentFile?: Entry;
5
+ project: string;
6
+ api: ExplorerEntry;
7
+ }) => JSX.Element;
8
+ export default Explorer;
@@ -0,0 +1,7 @@
1
+ export declare const StyledSidebarContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export declare const StyledSidebarEntry: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ interface StyledSidebarEntryMenuProps {
4
+ bgColor?: string;
5
+ }
6
+ export declare const StyledSidebarEntryMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledSidebarEntryMenuProps>> & string;
7
+ export {};
@@ -0,0 +1,16 @@
1
+ import { Entry } from "Types";
2
+ declare const FileExplorer: ({ setCurrentFile, currentFile, currentProjectname, setSelectedEntry, fileList, fetchFileList, onDelete, onCreateFile, onCreateFolder, onUpload, onDownload, onRename, }: {
3
+ setCurrentFile: Function;
4
+ currentFile?: Entry;
5
+ currentProjectname: string;
6
+ setSelectedEntry: Function;
7
+ fileList: Entry[];
8
+ fetchFileList: Function;
9
+ onDelete: Function;
10
+ onCreateFile: Function;
11
+ onCreateFolder: Function;
12
+ onUpload: Function;
13
+ onDownload: Function;
14
+ onRename: Function;
15
+ }) => JSX.Element;
16
+ export default FileExplorer;
@@ -0,0 +1 @@
1
+ export declare const StyledSidebarEntryContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,7 @@
1
+ declare function FileIcon({ is_dir, is_collapsed, name, group, }: {
2
+ is_dir: boolean;
3
+ is_collapsed: boolean;
4
+ name: string;
5
+ group: string;
6
+ }): JSX.Element;
7
+ export default FileIcon;
@@ -0,0 +1,27 @@
1
+ import { Entry } from "Types";
2
+ declare function MoreActionsMenu({ menuProps, onDelete, onCreateFile, onCreateFolder, onUpload, onDownload, onRename, }: {
3
+ menuProps: ContextMenuProps;
4
+ onDelete: Function;
5
+ onCreateFile: Function;
6
+ onCreateFolder: Function;
7
+ onUpload: Function;
8
+ onDownload: Function;
9
+ onRename: Function;
10
+ }): JSX.Element;
11
+ export default MoreActionsMenu;
12
+ export declare class ContextMenuProps {
13
+ isShown: boolean;
14
+ showCallback: Function;
15
+ position: {
16
+ x: number;
17
+ y: number;
18
+ };
19
+ setPositionCallback: Function;
20
+ file?: Entry;
21
+ setFile: Function;
22
+ constructor(isShown: boolean, showCallback: Function, position: {
23
+ x: number;
24
+ y: number;
25
+ }, setPositionCallback: Function, file: Entry | undefined, setFile: Function);
26
+ showMoreActionsMenu(event: any, file: Entry): void;
27
+ }
@@ -0,0 +1,21 @@
1
+ interface StyledExplorerExtraMenuBackdropProps {
2
+ active?: boolean;
3
+ }
4
+ export declare const StyledExplorerExtraMenuBackdrop: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledExplorerExtraMenuBackdropProps>> & string;
5
+ interface StyledExplorerExtraMenuProps {
6
+ bgColor?: string;
7
+ borderColor?: string;
8
+ roundness?: number;
9
+ top: number;
10
+ left: number;
11
+ }
12
+ export declare const StyledExplorerExtraMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledExplorerExtraMenuProps>> & string;
13
+ interface StyledExplorerExtraMenuEntryProps {
14
+ hoverColor?: string;
15
+ }
16
+ export declare const StyledExplorerExtraMenuEntry: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledExplorerExtraMenuEntryProps>> & string;
17
+ interface StyledExplorerExtraMenuDividerProps {
18
+ bgColor?: string;
19
+ }
20
+ export declare const StyledExplorerExtraMenuDivider: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledExplorerExtraMenuDividerProps>> & string;
21
+ export {};
@@ -0,0 +1,11 @@
1
+ import { ContextMenuProps } from "./MoreActionsMenu";
2
+ import { Entry } from "Types";
3
+ declare function TreeNode({ node, depth, currentFile, handleFileClick, handleFolderClick, menuProps, }: {
4
+ node: Entry;
5
+ depth: number;
6
+ currentFile?: Entry;
7
+ handleFileClick: Function;
8
+ handleFolderClick: Function;
9
+ menuProps: ContextMenuProps;
10
+ }): JSX.Element;
11
+ export default TreeNode;
@@ -0,0 +1,34 @@
1
+ export declare const StyledSidebarEntryContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export declare const StyledSidebarEntry: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ interface StyledExplorerItemContainerProps {
4
+ bgColor?: string;
5
+ hoverColor?: string;
6
+ active?: boolean;
7
+ }
8
+ export declare const StyledExplorerItemContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledExplorerItemContainerProps>> & string;
9
+ interface StyledExplorerItemProps {
10
+ color?: string;
11
+ depth: number;
12
+ }
13
+ export declare const StyledExplorerItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledExplorerItemProps>> & string;
14
+ interface StyledActionIconProps {
15
+ color?: string;
16
+ }
17
+ export declare const StyledActionIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("react").SVGProps<SVGSVGElement> & {
18
+ title?: string;
19
+ }, "ref"> & {
20
+ ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
21
+ }, StyledActionIconProps>> & string & Omit<import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
22
+ title?: string;
23
+ }>, keyof import("react").Component<any, {}, any>>;
24
+ interface StyledExplorerAccentProps {
25
+ color?: string;
26
+ }
27
+ export declare const StyledExplorerAccent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("react").SVGProps<SVGSVGElement> & {
28
+ title?: string;
29
+ }, "ref"> & {
30
+ ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
31
+ }, StyledExplorerAccentProps>> & string & Omit<import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
32
+ title?: string;
33
+ }>, keyof import("react").Component<any, {}, any>>;
34
+ export {};
@@ -0,0 +1 @@
1
+ export { default as Explorer } from "./Explorer";
@@ -0,0 +1,14 @@
1
+ import { CommsManager } from "jderobot-commsmanager";
2
+ import { Entry, EditorsEntry } from "Types";
3
+ import { ExtraApi } from "src/types/fileTypes";
4
+ declare const FileEditor: ({ currentFile, changeCurrentFile, currentProjectname, autosave, manager, api, extraEditors, splashIcon, }: {
5
+ currentFile?: Entry;
6
+ changeCurrentFile: Function;
7
+ currentProjectname: string;
8
+ autosave: boolean;
9
+ manager: CommsManager | null;
10
+ api: ExtraApi;
11
+ splashIcon: JSX.Element;
12
+ extraEditors: EditorsEntry[];
13
+ }) => JSX.Element;
14
+ export default FileEditor;
@@ -0,0 +1,9 @@
1
+ interface StyledEditorMenuProps {
2
+ bgColor?: string;
3
+ }
4
+ export declare const StyledEditorMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledEditorMenuProps>> & string;
5
+ interface StyledChangeIndicatorProps {
6
+ color?: string;
7
+ }
8
+ export declare const StyledChangeIndicator: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledChangeIndicatorProps>> & string;
9
+ export {};
@@ -0,0 +1,10 @@
1
+ import { CommsManager } from "jderobot-commsmanager";
2
+ declare const FileEditor: ({ commsManager, fileContent, setFileContent, saveFile, language, zoomLevel, }: {
3
+ commsManager: CommsManager | null;
4
+ fileContent: string;
5
+ setFileContent: Function;
6
+ saveFile: Function;
7
+ language: string;
8
+ zoomLevel: number;
9
+ }) => JSX.Element;
10
+ export default FileEditor;
@@ -0,0 +1,22 @@
1
+ import { Monaco } from "@monaco-editor/react";
2
+ import { CommsManager } from "jderobot-commsmanager";
3
+ import type { languages } from "monaco-editor";
4
+ interface Range {
5
+ startLineNumber: number;
6
+ endLineNumber: number;
7
+ startColumn: number;
8
+ endColumn: number;
9
+ }
10
+ interface CompletionItem {
11
+ detail?: string;
12
+ documentation: string;
13
+ insertText: string;
14
+ insertTextRules: number;
15
+ kind: number;
16
+ label: string;
17
+ range: Range;
18
+ }
19
+ export declare const monacoEditorSnippet: (monaco: Monaco, manager: CommsManager | null) => void;
20
+ export declare const snippetKind: (kind: string, monaco: Monaco) => languages.CompletionItemKind.Method | languages.CompletionItemKind.Function | languages.CompletionItemKind.Variable | languages.CompletionItemKind.Class | languages.CompletionItemKind.Module | languages.CompletionItemKind.Property | languages.CompletionItemKind.Keyword | languages.CompletionItemKind.File | languages.CompletionItemKind.TypeParameter | languages.CompletionItemKind.Snippet;
21
+ export declare const snippetsBuilderV2: (monaco: Monaco, range: Range) => CompletionItem[];
22
+ export {};
@@ -0,0 +1 @@
1
+ export { default as FileEditor } from "./FileEditor";
@@ -0,0 +1,8 @@
1
+ export interface Snippet {
2
+ label: string;
3
+ type: string;
4
+ detail?: string;
5
+ code: string;
6
+ docstring: string;
7
+ }
8
+ export declare const my_snippets: Snippet[];
@@ -0,0 +1,21 @@
1
+ import { CommsManager } from "jderobot-commsmanager";
2
+ import { Layout, ExplorerEntry, EditorsEntry, ViewersEntry, Options } from "Types";
3
+ import { ExtraApi, StatusBarComponents } from "Types";
4
+ export interface IdeInterfaceStyles {
5
+ bgColor?: string;
6
+ }
7
+ interface IdeInterfaceProps {
8
+ commsManager: CommsManager | null;
9
+ resetManager: Function;
10
+ project: string;
11
+ explorers: ExplorerEntry[];
12
+ api: ExtraApi;
13
+ extraEditors: EditorsEntry[];
14
+ statusBarComponents: StatusBarComponents;
15
+ viewers: ViewersEntry[];
16
+ layout: Layout;
17
+ options?: Options;
18
+ splashIcon?: JSX.Element;
19
+ }
20
+ declare const IdeInterface: ({ commsManager, resetManager, project, explorers, api, extraEditors, statusBarComponents, viewers, layout, options, splashIcon, }: IdeInterfaceProps) => JSX.Element;
21
+ export default IdeInterface;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "@storybook/react";
2
+ import IdeInterface from "./IdeInterface";
3
+ type Story = StoryObj<typeof IdeInterface>;
4
+ declare const meta: Meta<typeof IdeInterface>;
5
+ export default meta;
6
+ export declare const Main: Story;
@@ -0,0 +1,34 @@
1
+ interface StyledIdeHorizContainerProps {
2
+ bgColor?: string;
3
+ }
4
+ export declare const StyledIdeHorizContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledIdeHorizContainerProps>> & string;
5
+ interface StyledIdeVertContainerProps {
6
+ bgColor?: string;
7
+ }
8
+ export declare const StyledIdeVertContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledIdeVertContainerProps>> & string;
9
+ interface StyledIdeContainerProps {
10
+ bgColor?: string;
11
+ }
12
+ export declare const StyledIdeContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledIdeContainerProps>> & string;
13
+ interface StyledViewerMenuProps {
14
+ bgColor?: string;
15
+ }
16
+ export declare const StyledViewerMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledViewerMenuProps>> & string;
17
+ interface StyledSplashIcon {
18
+ color?: string;
19
+ }
20
+ export declare const StyledMonocolorSplashIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("react").SVGProps<SVGSVGElement> & {
21
+ title?: string;
22
+ }, "ref"> & {
23
+ ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
24
+ }, StyledSplashIcon>> & string & Omit<import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
25
+ title?: string;
26
+ }>, keyof import("react").Component<any, {}, any>>;
27
+ export declare const StyledSplashIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("react").SVGProps<SVGSVGElement> & {
28
+ title?: string;
29
+ }, "ref"> & {
30
+ ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
31
+ }, StyledSplashIcon>> & string & Omit<import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
32
+ title?: string;
33
+ }>, keyof import("react").Component<any, {}, any>>;
34
+ export {};
@@ -0,0 +1 @@
1
+ export { default as IdeInterface } from "./IdeInterface";
@@ -0,0 +1,8 @@
1
+ import { Entry } from "Types";
2
+ declare const DeleteModal: ({ onSubmit, isOpen, onClose, selectedEntry, }: {
3
+ onSubmit: Function;
4
+ isOpen: boolean;
5
+ onClose: Function;
6
+ selectedEntry: Entry;
7
+ }) => JSX.Element;
8
+ export default DeleteModal;
@@ -0,0 +1,3 @@
1
+ export type ErrorVariant = "error" | "warning" | "info";
2
+ declare const ErrorModal: () => JSX.Element;
3
+ export default ErrorModal;