@techdocs/cli 1.9.6-next.0 → 1.9.6

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 (940) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/commands/generate/generate.cjs.js.map +1 -1
  3. package/dist/commands/index.cjs.js.map +1 -1
  4. package/dist/commands/migrate/migrate.cjs.js.map +1 -1
  5. package/dist/commands/publish/publish.cjs.js.map +1 -1
  6. package/dist/commands/serve/mkdocs.cjs.js.map +1 -1
  7. package/dist/commands/serve/serve.cjs.js.map +1 -1
  8. package/dist/commands/serve/utils.cjs.js.map +1 -1
  9. package/dist/embedded-app/.config-schema.json +269 -0
  10. package/dist/embedded-app/index.html +17 -1
  11. package/dist/embedded-app/index.html.tmpl +1 -1
  12. package/dist/embedded-app/static/1029.3840e700.chunk.js +2 -0
  13. package/dist/embedded-app/static/1029.3840e700.chunk.js.map +1 -0
  14. package/dist/embedded-app/static/1361.f28eed89.chunk.js +2 -0
  15. package/dist/embedded-app/static/1361.f28eed89.chunk.js.map +1 -0
  16. package/dist/embedded-app/static/1479.989b72ee.chunk.js +2 -0
  17. package/dist/embedded-app/static/1479.989b72ee.chunk.js.map +1 -0
  18. package/dist/embedded-app/static/1513.44ec60bd.chunk.js +2 -0
  19. package/dist/embedded-app/static/1513.44ec60bd.chunk.js.map +1 -0
  20. package/dist/embedded-app/static/2686.4768c08e.chunk.js +8 -0
  21. package/dist/embedded-app/static/2686.4768c08e.chunk.js.map +1 -0
  22. package/dist/embedded-app/static/2695.5598721e.chunk.js +2 -0
  23. package/dist/embedded-app/static/2695.5598721e.chunk.js.map +1 -0
  24. package/dist/embedded-app/static/3058.cacbb2a9.chunk.js +10 -0
  25. package/dist/embedded-app/static/3058.cacbb2a9.chunk.js.map +1 -0
  26. package/dist/embedded-app/static/3072.31f8368b.chunk.js +2 -0
  27. package/dist/embedded-app/static/3072.31f8368b.chunk.js.map +1 -0
  28. package/dist/embedded-app/static/4142.101cd971.chunk.js +2 -0
  29. package/dist/embedded-app/static/4142.101cd971.chunk.js.map +1 -0
  30. package/dist/embedded-app/static/4217.c33738e2.chunk.js +2 -0
  31. package/dist/embedded-app/static/4217.c33738e2.chunk.js.map +1 -0
  32. package/dist/embedded-app/static/4446.83dbf14f.chunk.js +2 -0
  33. package/dist/embedded-app/static/4446.83dbf14f.chunk.js.map +1 -0
  34. package/dist/embedded-app/static/5526.e2d3737b.chunk.js +2 -0
  35. package/dist/embedded-app/static/5526.e2d3737b.chunk.js.map +1 -0
  36. package/dist/embedded-app/static/6333.f59e497b.chunk.js +2 -0
  37. package/dist/embedded-app/static/6333.f59e497b.chunk.js.map +1 -0
  38. package/dist/embedded-app/static/6356.cd772cf4.chunk.js +2 -0
  39. package/dist/embedded-app/static/6356.cd772cf4.chunk.js.map +1 -0
  40. package/dist/embedded-app/static/73.39bb7adc.chunk.js +2 -0
  41. package/dist/embedded-app/static/73.39bb7adc.chunk.js.map +1 -0
  42. package/dist/embedded-app/static/763.2457d9b1.chunk.js +2 -0
  43. package/dist/embedded-app/static/763.2457d9b1.chunk.js.map +1 -0
  44. package/dist/embedded-app/static/7952.d8f6256b.chunk.js +2 -0
  45. package/dist/embedded-app/static/7952.d8f6256b.chunk.js.map +1 -0
  46. package/dist/embedded-app/static/7996.f513fe32.chunk.js +7 -0
  47. package/dist/embedded-app/static/7996.f513fe32.chunk.js.map +1 -0
  48. package/dist/embedded-app/static/8111.4eabed9f.chunk.js +2 -0
  49. package/dist/embedded-app/static/8111.4eabed9f.chunk.js.map +1 -0
  50. package/dist/embedded-app/static/8189.dbe494b6.chunk.js +2 -0
  51. package/dist/embedded-app/static/8189.dbe494b6.chunk.js.map +1 -0
  52. package/dist/embedded-app/static/8403.6b98ea4d.chunk.js +2 -0
  53. package/dist/embedded-app/static/8403.6b98ea4d.chunk.js.map +1 -0
  54. package/dist/embedded-app/static/843.d3cbd5ee.chunk.js +5 -0
  55. package/dist/embedded-app/static/843.d3cbd5ee.chunk.js.map +1 -0
  56. package/dist/embedded-app/static/8827.9b7b07cb.chunk.js +2 -0
  57. package/dist/embedded-app/static/8827.9b7b07cb.chunk.js.map +1 -0
  58. package/dist/embedded-app/static/9787.80f6d5aa.chunk.js +2 -0
  59. package/dist/embedded-app/static/9787.80f6d5aa.chunk.js.map +1 -0
  60. package/dist/embedded-app/static/main.f955f2f8.js +549 -0
  61. package/dist/embedded-app/static/main.f955f2f8.js.map +1 -0
  62. package/dist/embedded-app/static/module-date-fns.eb783be6.js +2 -0
  63. package/dist/embedded-app/static/module-date-fns.eb783be6.js.map +1 -0
  64. package/dist/embedded-app/static/module-i18next.668ff997.js +2 -0
  65. package/dist/embedded-app/static/module-i18next.668ff997.js.map +1 -0
  66. package/dist/embedded-app/static/module-lodash.9a2c3bdd.js +2 -0
  67. package/dist/embedded-app/static/module-lodash.9a2c3bdd.js.map +1 -0
  68. package/dist/embedded-app/static/module-material-table.82bde846.js +2 -0
  69. package/dist/embedded-app/static/module-material-table.82bde846.js.map +1 -0
  70. package/dist/embedded-app/static/module-material-ui.27b8440e.js +2 -0
  71. package/dist/embedded-app/static/module-material-ui.27b8440e.js.map +1 -0
  72. package/dist/embedded-app/static/module-mui.0878525e.js +2 -0
  73. package/dist/embedded-app/static/module-mui.0878525e.js.map +1 -0
  74. package/dist/embedded-app/static/module-react-beautiful-dnd.d3a32da9.js +2 -0
  75. package/dist/embedded-app/static/module-react-beautiful-dnd.d3a32da9.js.map +1 -0
  76. package/dist/embedded-app/static/module-react-dom.71e2a3dc.js +2 -0
  77. package/dist/embedded-app/static/module-react-dom.71e2a3dc.js.map +1 -0
  78. package/dist/embedded-app/static/module-remix-run.825b4274.js +2 -0
  79. package/dist/embedded-app/static/module-remix-run.825b4274.js.map +1 -0
  80. package/dist/embedded-app/static/module-zod.c6ca20cb.js +2 -0
  81. package/dist/embedded-app/static/module-zod.c6ca20cb.js.map +1 -0
  82. package/dist/embedded-app/static/react-syntax-highlighter/lowlight-import.dd0ef844.chunk.js +2 -0
  83. package/dist/embedded-app/static/react-syntax-highlighter/lowlight-import.dd0ef844.chunk.js.map +1 -0
  84. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_abnf.5a8a0189.chunk.js +2 -0
  85. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_abnf.5a8a0189.chunk.js.map +1 -0
  86. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_accesslog.6ece7943.chunk.js +2 -0
  87. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_accesslog.6ece7943.chunk.js.map +1 -0
  88. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_actionscript.42c6acf3.chunk.js +2 -0
  89. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_actionscript.42c6acf3.chunk.js.map +1 -0
  90. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ada.35e5126d.chunk.js +2 -0
  91. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ada.35e5126d.chunk.js.map +1 -0
  92. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_angelscript.d56b98e2.chunk.js +2 -0
  93. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_angelscript.d56b98e2.chunk.js.map +1 -0
  94. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_apache.0d44f797.chunk.js +2 -0
  95. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_apache.0d44f797.chunk.js.map +1 -0
  96. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_applescript.d68f6f45.chunk.js +2 -0
  97. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_applescript.d68f6f45.chunk.js.map +1 -0
  98. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_arcade.25a95fdd.chunk.js +2 -0
  99. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_arcade.25a95fdd.chunk.js.map +1 -0
  100. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_arduino.a2b6fd58.chunk.js +2 -0
  101. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_arduino.a2b6fd58.chunk.js.map +1 -0
  102. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_armasm.31e67d57.chunk.js +2 -0
  103. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_armasm.31e67d57.chunk.js.map +1 -0
  104. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_asciidoc.e698a15d.chunk.js +2 -0
  105. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_asciidoc.e698a15d.chunk.js.map +1 -0
  106. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_aspectj.0fbeb389.chunk.js +2 -0
  107. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_aspectj.0fbeb389.chunk.js.map +1 -0
  108. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_autohotkey.06c6003f.chunk.js +2 -0
  109. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_autohotkey.06c6003f.chunk.js.map +1 -0
  110. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_autoit.daf38f0c.chunk.js +2 -0
  111. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_autoit.daf38f0c.chunk.js.map +1 -0
  112. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_avrasm.31efe260.chunk.js +2 -0
  113. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_avrasm.31efe260.chunk.js.map +1 -0
  114. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_awk.8e2929bf.chunk.js +2 -0
  115. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_awk.8e2929bf.chunk.js.map +1 -0
  116. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_axapta.264dcd2e.chunk.js +2 -0
  117. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_axapta.264dcd2e.chunk.js.map +1 -0
  118. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_bash.fb740c40.chunk.js +2 -0
  119. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_bash.fb740c40.chunk.js.map +1 -0
  120. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_basic.c282165d.chunk.js +2 -0
  121. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_basic.c282165d.chunk.js.map +1 -0
  122. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_bnf.41e99b51.chunk.js +2 -0
  123. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_bnf.41e99b51.chunk.js.map +1 -0
  124. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_brainfuck.2a9ed738.chunk.js +2 -0
  125. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_brainfuck.2a9ed738.chunk.js.map +1 -0
  126. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_c.7bf336a2.chunk.js +2 -0
  127. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_c.7bf336a2.chunk.js.map +1 -0
  128. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cLike.67dd8f41.chunk.js +2 -0
  129. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cLike.67dd8f41.chunk.js.map +1 -0
  130. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cal.84a1f4bf.chunk.js +2 -0
  131. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cal.84a1f4bf.chunk.js.map +1 -0
  132. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_capnproto.8aa5e1d5.chunk.js +2 -0
  133. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_capnproto.8aa5e1d5.chunk.js.map +1 -0
  134. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ceylon.4406570e.chunk.js +2 -0
  135. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ceylon.4406570e.chunk.js.map +1 -0
  136. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_clean.c182311f.chunk.js +2 -0
  137. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_clean.c182311f.chunk.js.map +1 -0
  138. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_clojure.95dd0ac2.chunk.js +2 -0
  139. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_clojure.95dd0ac2.chunk.js.map +1 -0
  140. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_clojureRepl.caf0887a.chunk.js +2 -0
  141. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_clojureRepl.caf0887a.chunk.js.map +1 -0
  142. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cmake.ea33b265.chunk.js +2 -0
  143. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cmake.ea33b265.chunk.js.map +1 -0
  144. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_coffeescript.06761525.chunk.js +2 -0
  145. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_coffeescript.06761525.chunk.js.map +1 -0
  146. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_coq.5ce27f00.chunk.js +2 -0
  147. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_coq.5ce27f00.chunk.js.map +1 -0
  148. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cos.3448621f.chunk.js +2 -0
  149. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cos.3448621f.chunk.js.map +1 -0
  150. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cpp.dfa1d6dd.chunk.js +2 -0
  151. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cpp.dfa1d6dd.chunk.js.map +1 -0
  152. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_crmsh.a194ae82.chunk.js +2 -0
  153. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_crmsh.a194ae82.chunk.js.map +1 -0
  154. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_crystal.f3e66f08.chunk.js +2 -0
  155. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_crystal.f3e66f08.chunk.js.map +1 -0
  156. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_csharp.5965b4e2.chunk.js +2 -0
  157. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_csharp.5965b4e2.chunk.js.map +1 -0
  158. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_csp.809ba3bd.chunk.js +2 -0
  159. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_csp.809ba3bd.chunk.js.map +1 -0
  160. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_css.e17bb639.chunk.js +2 -0
  161. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_css.e17bb639.chunk.js.map +1 -0
  162. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_d.e17527f0.chunk.js +2 -0
  163. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_d.e17527f0.chunk.js.map +1 -0
  164. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dart.81b1966d.chunk.js +2 -0
  165. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dart.81b1966d.chunk.js.map +1 -0
  166. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_delphi.dd57a57c.chunk.js +2 -0
  167. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_delphi.dd57a57c.chunk.js.map +1 -0
  168. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_diff.e3ba7a5a.chunk.js +2 -0
  169. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_diff.e3ba7a5a.chunk.js.map +1 -0
  170. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_django.b999aa23.chunk.js +2 -0
  171. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_django.b999aa23.chunk.js.map +1 -0
  172. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dns.42233b3a.chunk.js +2 -0
  173. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dns.42233b3a.chunk.js.map +1 -0
  174. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dockerfile.c5391872.chunk.js +2 -0
  175. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dockerfile.c5391872.chunk.js.map +1 -0
  176. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dos.3719eb88.chunk.js +2 -0
  177. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dos.3719eb88.chunk.js.map +1 -0
  178. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dsconfig.02aa9b02.chunk.js +2 -0
  179. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dsconfig.02aa9b02.chunk.js.map +1 -0
  180. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dts.aa5834ce.chunk.js +2 -0
  181. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dts.aa5834ce.chunk.js.map +1 -0
  182. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dust.0ea5f8e4.chunk.js +2 -0
  183. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dust.0ea5f8e4.chunk.js.map +1 -0
  184. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ebnf.2c2f2aa3.chunk.js +2 -0
  185. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ebnf.2c2f2aa3.chunk.js.map +1 -0
  186. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_elixir.6c615dae.chunk.js +2 -0
  187. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_elixir.6c615dae.chunk.js.map +1 -0
  188. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_elm.d76d9c6a.chunk.js +2 -0
  189. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_elm.d76d9c6a.chunk.js.map +1 -0
  190. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_erb.3d58405d.chunk.js +2 -0
  191. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_erb.3d58405d.chunk.js.map +1 -0
  192. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_erlang.23a3e889.chunk.js +2 -0
  193. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_erlang.23a3e889.chunk.js.map +1 -0
  194. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_erlangRepl.b7135450.chunk.js +2 -0
  195. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_erlangRepl.b7135450.chunk.js.map +1 -0
  196. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_excel.4038134c.chunk.js +2 -0
  197. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_excel.4038134c.chunk.js.map +1 -0
  198. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_fix.094e1e53.chunk.js +2 -0
  199. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_fix.094e1e53.chunk.js.map +1 -0
  200. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_flix.10ca5978.chunk.js +2 -0
  201. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_flix.10ca5978.chunk.js.map +1 -0
  202. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_fortran.5d324762.chunk.js +2 -0
  203. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_fortran.5d324762.chunk.js.map +1 -0
  204. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_fsharp.9b01540a.chunk.js +2 -0
  205. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_fsharp.9b01540a.chunk.js.map +1 -0
  206. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gams.2be7938f.chunk.js +2 -0
  207. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gams.2be7938f.chunk.js.map +1 -0
  208. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gauss.9e23cf8a.chunk.js +2 -0
  209. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gauss.9e23cf8a.chunk.js.map +1 -0
  210. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gcode.61385947.chunk.js +2 -0
  211. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gcode.61385947.chunk.js.map +1 -0
  212. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gherkin.4975ce96.chunk.js +2 -0
  213. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gherkin.4975ce96.chunk.js.map +1 -0
  214. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_glsl.a0c0b63b.chunk.js +2 -0
  215. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_glsl.a0c0b63b.chunk.js.map +1 -0
  216. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gml.ea745831.chunk.js +2 -0
  217. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gml.ea745831.chunk.js.map +1 -0
  218. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_go.7ae7638d.chunk.js +2 -0
  219. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_go.7ae7638d.chunk.js.map +1 -0
  220. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_golo.772be59b.chunk.js +2 -0
  221. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_golo.772be59b.chunk.js.map +1 -0
  222. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gradle.c936e1ef.chunk.js +2 -0
  223. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gradle.c936e1ef.chunk.js.map +1 -0
  224. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_groovy.0225fc76.chunk.js +2 -0
  225. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_groovy.0225fc76.chunk.js.map +1 -0
  226. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_haml.9fe3bfc5.chunk.js +2 -0
  227. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_haml.9fe3bfc5.chunk.js.map +1 -0
  228. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_handlebars.bf22d6a7.chunk.js +2 -0
  229. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_handlebars.bf22d6a7.chunk.js.map +1 -0
  230. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_haskell.a9e34ab1.chunk.js +2 -0
  231. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_haskell.a9e34ab1.chunk.js.map +1 -0
  232. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_haxe.b7b86eb1.chunk.js +2 -0
  233. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_haxe.b7b86eb1.chunk.js.map +1 -0
  234. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_hsp.fdaf68ed.chunk.js +2 -0
  235. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_hsp.fdaf68ed.chunk.js.map +1 -0
  236. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_htmlbars.d1801d48.chunk.js +2 -0
  237. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_htmlbars.d1801d48.chunk.js.map +1 -0
  238. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_http.989f0f7a.chunk.js +2 -0
  239. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_http.989f0f7a.chunk.js.map +1 -0
  240. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_hy.53b6281f.chunk.js +2 -0
  241. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_hy.53b6281f.chunk.js.map +1 -0
  242. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_inform7.fd1e45d6.chunk.js +2 -0
  243. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_inform7.fd1e45d6.chunk.js.map +1 -0
  244. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ini.d50d7548.chunk.js +2 -0
  245. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ini.d50d7548.chunk.js.map +1 -0
  246. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_irpf90.098351d7.chunk.js +2 -0
  247. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_irpf90.098351d7.chunk.js.map +1 -0
  248. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_isbl.e7b7e3e2.chunk.js +2 -0
  249. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_isbl.e7b7e3e2.chunk.js.map +1 -0
  250. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_java.76280439.chunk.js +2 -0
  251. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_java.76280439.chunk.js.map +1 -0
  252. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_javascript.f26037c5.chunk.js +2 -0
  253. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_javascript.f26037c5.chunk.js.map +1 -0
  254. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_jbossCli.a3054510.chunk.js +2 -0
  255. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_jbossCli.a3054510.chunk.js.map +1 -0
  256. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_json.0b331318.chunk.js +2 -0
  257. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_json.0b331318.chunk.js.map +1 -0
  258. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_julia.6e866012.chunk.js +2 -0
  259. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_julia.6e866012.chunk.js.map +1 -0
  260. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_juliaRepl.4e6b450f.chunk.js +2 -0
  261. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_juliaRepl.4e6b450f.chunk.js.map +1 -0
  262. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_kotlin.ed831e93.chunk.js +2 -0
  263. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_kotlin.ed831e93.chunk.js.map +1 -0
  264. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lasso.dd03d6c9.chunk.js +2 -0
  265. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lasso.dd03d6c9.chunk.js.map +1 -0
  266. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_latex.376a33c7.chunk.js +2 -0
  267. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_latex.376a33c7.chunk.js.map +1 -0
  268. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ldif.f64a4c1a.chunk.js +2 -0
  269. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ldif.f64a4c1a.chunk.js.map +1 -0
  270. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_leaf.7fe5ae9f.chunk.js +2 -0
  271. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_leaf.7fe5ae9f.chunk.js.map +1 -0
  272. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_less.c7c9b20f.chunk.js +2 -0
  273. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_less.c7c9b20f.chunk.js.map +1 -0
  274. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lisp.4ca35eb5.chunk.js +2 -0
  275. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lisp.4ca35eb5.chunk.js.map +1 -0
  276. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_livecodeserver.f6202053.chunk.js +2 -0
  277. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_livecodeserver.f6202053.chunk.js.map +1 -0
  278. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_livescript.ad10ad81.chunk.js +2 -0
  279. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_livescript.ad10ad81.chunk.js.map +1 -0
  280. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_llvm.dfeb835c.chunk.js +2 -0
  281. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_llvm.dfeb835c.chunk.js.map +1 -0
  282. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lsl.98983a45.chunk.js +2 -0
  283. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lsl.98983a45.chunk.js.map +1 -0
  284. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lua.3f6c5937.chunk.js +2 -0
  285. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lua.3f6c5937.chunk.js.map +1 -0
  286. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_makefile.26a94240.chunk.js +2 -0
  287. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_makefile.26a94240.chunk.js.map +1 -0
  288. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_markdown.7fda17b5.chunk.js +2 -0
  289. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_markdown.7fda17b5.chunk.js.map +1 -0
  290. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mathematica.3709c63c.chunk.js +2 -0
  291. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mathematica.3709c63c.chunk.js.map +1 -0
  292. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_matlab.14688fbd.chunk.js +2 -0
  293. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_matlab.14688fbd.chunk.js.map +1 -0
  294. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_maxima.81aa795f.chunk.js +2 -0
  295. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_maxima.81aa795f.chunk.js.map +1 -0
  296. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mel.15154a79.chunk.js +2 -0
  297. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mel.15154a79.chunk.js.map +1 -0
  298. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mercury.7dff62e6.chunk.js +2 -0
  299. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mercury.7dff62e6.chunk.js.map +1 -0
  300. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mipsasm.a58980c2.chunk.js +2 -0
  301. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mipsasm.a58980c2.chunk.js.map +1 -0
  302. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mizar.372b0863.chunk.js +2 -0
  303. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mizar.372b0863.chunk.js.map +1 -0
  304. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mojolicious.f8890e29.chunk.js +2 -0
  305. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mojolicious.f8890e29.chunk.js.map +1 -0
  306. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_monkey.f200dd5a.chunk.js +2 -0
  307. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_monkey.f200dd5a.chunk.js.map +1 -0
  308. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_moonscript.0a887ad7.chunk.js +2 -0
  309. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_moonscript.0a887ad7.chunk.js.map +1 -0
  310. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_n1ql.7546d8a8.chunk.js +2 -0
  311. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_n1ql.7546d8a8.chunk.js.map +1 -0
  312. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nginx.54a04b57.chunk.js +2 -0
  313. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nginx.54a04b57.chunk.js.map +1 -0
  314. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nim.5268767b.chunk.js +2 -0
  315. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nim.5268767b.chunk.js.map +1 -0
  316. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nix.cea6e933.chunk.js +2 -0
  317. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nix.cea6e933.chunk.js.map +1 -0
  318. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nodeRepl.0226aff6.chunk.js +2 -0
  319. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nodeRepl.0226aff6.chunk.js.map +1 -0
  320. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nsis.335a4367.chunk.js +2 -0
  321. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nsis.335a4367.chunk.js.map +1 -0
  322. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_objectivec.1df8f7a8.chunk.js +2 -0
  323. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_objectivec.1df8f7a8.chunk.js.map +1 -0
  324. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ocaml.18424877.chunk.js +2 -0
  325. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ocaml.18424877.chunk.js.map +1 -0
  326. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_oneC.5fff5251.chunk.js +2 -0
  327. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_oneC.5fff5251.chunk.js.map +1 -0
  328. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_openscad.4fdc4694.chunk.js +2 -0
  329. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_openscad.4fdc4694.chunk.js.map +1 -0
  330. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_oxygene.1f8278af.chunk.js +2 -0
  331. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_oxygene.1f8278af.chunk.js.map +1 -0
  332. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_parser3.b546962d.chunk.js +2 -0
  333. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_parser3.b546962d.chunk.js.map +1 -0
  334. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_perl.2dbbe598.chunk.js +2 -0
  335. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_perl.2dbbe598.chunk.js.map +1 -0
  336. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pf.ad96a59e.chunk.js +2 -0
  337. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pf.ad96a59e.chunk.js.map +1 -0
  338. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pgsql.fbe2b4dc.chunk.js +2 -0
  339. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pgsql.fbe2b4dc.chunk.js.map +1 -0
  340. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_php.0e74e4da.chunk.js +2 -0
  341. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_php.0e74e4da.chunk.js.map +1 -0
  342. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_phpTemplate.14a40d68.chunk.js +2 -0
  343. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_phpTemplate.14a40d68.chunk.js.map +1 -0
  344. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_plaintext.a92f0bc6.chunk.js +2 -0
  345. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_plaintext.a92f0bc6.chunk.js.map +1 -0
  346. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pony.1ecfd6cc.chunk.js +2 -0
  347. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pony.1ecfd6cc.chunk.js.map +1 -0
  348. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_powershell.ffb08d81.chunk.js +2 -0
  349. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_powershell.ffb08d81.chunk.js.map +1 -0
  350. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_processing.d849b421.chunk.js +2 -0
  351. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_processing.d849b421.chunk.js.map +1 -0
  352. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_profile.7b1beaa3.chunk.js +2 -0
  353. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_profile.7b1beaa3.chunk.js.map +1 -0
  354. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_prolog.0430c793.chunk.js +2 -0
  355. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_prolog.0430c793.chunk.js.map +1 -0
  356. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_properties.b76b184d.chunk.js +2 -0
  357. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_properties.b76b184d.chunk.js.map +1 -0
  358. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_protobuf.4b3983b2.chunk.js +2 -0
  359. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_protobuf.4b3983b2.chunk.js.map +1 -0
  360. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_puppet.a6e8526c.chunk.js +2 -0
  361. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_puppet.a6e8526c.chunk.js.map +1 -0
  362. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_purebasic.ee001b77.chunk.js +2 -0
  363. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_purebasic.ee001b77.chunk.js.map +1 -0
  364. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_python.aea72199.chunk.js +2 -0
  365. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_python.aea72199.chunk.js.map +1 -0
  366. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pythonRepl.12dcde8e.chunk.js +2 -0
  367. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pythonRepl.12dcde8e.chunk.js.map +1 -0
  368. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_q.ebfb1165.chunk.js +2 -0
  369. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_q.ebfb1165.chunk.js.map +1 -0
  370. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_qml.d164145e.chunk.js +2 -0
  371. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_qml.d164145e.chunk.js.map +1 -0
  372. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_r.b65b635e.chunk.js +2 -0
  373. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_r.b65b635e.chunk.js.map +1 -0
  374. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_reasonml.04b21c23.chunk.js +2 -0
  375. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_reasonml.04b21c23.chunk.js.map +1 -0
  376. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_rib.a862cb87.chunk.js +2 -0
  377. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_rib.a862cb87.chunk.js.map +1 -0
  378. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_roboconf.f4ed1e36.chunk.js +2 -0
  379. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_roboconf.f4ed1e36.chunk.js.map +1 -0
  380. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_routeros.25c613b9.chunk.js +2 -0
  381. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_routeros.25c613b9.chunk.js.map +1 -0
  382. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_rsl.bdd516e7.chunk.js +2 -0
  383. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_rsl.bdd516e7.chunk.js.map +1 -0
  384. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ruby.9c24a54b.chunk.js +2 -0
  385. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ruby.9c24a54b.chunk.js.map +1 -0
  386. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ruleslanguage.1f12103d.chunk.js +2 -0
  387. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ruleslanguage.1f12103d.chunk.js.map +1 -0
  388. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_rust.36fa84d5.chunk.js +2 -0
  389. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_rust.36fa84d5.chunk.js.map +1 -0
  390. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sas.0fb2b090.chunk.js +2 -0
  391. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sas.0fb2b090.chunk.js.map +1 -0
  392. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scala.f1e91dc8.chunk.js +2 -0
  393. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scala.f1e91dc8.chunk.js.map +1 -0
  394. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scheme.61209260.chunk.js +2 -0
  395. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scheme.61209260.chunk.js.map +1 -0
  396. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scilab.8456e602.chunk.js +2 -0
  397. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scilab.8456e602.chunk.js.map +1 -0
  398. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scss.7fe28a7c.chunk.js +2 -0
  399. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scss.7fe28a7c.chunk.js.map +1 -0
  400. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_shell.02ed5281.chunk.js +2 -0
  401. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_shell.02ed5281.chunk.js.map +1 -0
  402. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_smali.ac2a56e0.chunk.js +2 -0
  403. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_smali.ac2a56e0.chunk.js.map +1 -0
  404. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_smalltalk.0b3337c5.chunk.js +2 -0
  405. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_smalltalk.0b3337c5.chunk.js.map +1 -0
  406. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sml.392ebc86.chunk.js +2 -0
  407. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sml.392ebc86.chunk.js.map +1 -0
  408. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sqf.f314350f.chunk.js +2 -0
  409. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sqf.f314350f.chunk.js.map +1 -0
  410. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sql.29cd33d8.chunk.js +2 -0
  411. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sql.29cd33d8.chunk.js.map +1 -0
  412. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sqlMore.cf69ab0f.chunk.js +2 -0
  413. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sqlMore.cf69ab0f.chunk.js.map +1 -0
  414. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_stan.3caa2fde.chunk.js +2 -0
  415. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_stan.3caa2fde.chunk.js.map +1 -0
  416. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_stata.67ee27ff.chunk.js +2 -0
  417. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_stata.67ee27ff.chunk.js.map +1 -0
  418. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_step21.57a3be37.chunk.js +2 -0
  419. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_step21.57a3be37.chunk.js.map +1 -0
  420. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_stylus.29d5eba1.chunk.js +2 -0
  421. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_stylus.29d5eba1.chunk.js.map +1 -0
  422. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_subunit.53c1150c.chunk.js +2 -0
  423. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_subunit.53c1150c.chunk.js.map +1 -0
  424. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_swift.6b1f5aee.chunk.js +2 -0
  425. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_swift.6b1f5aee.chunk.js.map +1 -0
  426. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_taggerscript.4e318a46.chunk.js +2 -0
  427. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_taggerscript.4e318a46.chunk.js.map +1 -0
  428. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_tap.aad22555.chunk.js +2 -0
  429. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_tap.aad22555.chunk.js.map +1 -0
  430. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_tcl.6c2ca652.chunk.js +2 -0
  431. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_tcl.6c2ca652.chunk.js.map +1 -0
  432. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_thrift.0a78f030.chunk.js +2 -0
  433. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_thrift.0a78f030.chunk.js.map +1 -0
  434. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_tp.ced050b4.chunk.js +2 -0
  435. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_tp.ced050b4.chunk.js.map +1 -0
  436. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_twig.3cf1f762.chunk.js +2 -0
  437. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_twig.3cf1f762.chunk.js.map +1 -0
  438. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_typescript.8271e09e.chunk.js +2 -0
  439. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_typescript.8271e09e.chunk.js.map +1 -0
  440. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vala.9ec5fefa.chunk.js +2 -0
  441. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vala.9ec5fefa.chunk.js.map +1 -0
  442. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vbnet.500e353c.chunk.js +2 -0
  443. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vbnet.500e353c.chunk.js.map +1 -0
  444. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vbscript.1f751b10.chunk.js +2 -0
  445. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vbscript.1f751b10.chunk.js.map +1 -0
  446. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vbscriptHtml.4db9996e.chunk.js +2 -0
  447. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vbscriptHtml.4db9996e.chunk.js.map +1 -0
  448. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_verilog.74aa0d6e.chunk.js +2 -0
  449. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_verilog.74aa0d6e.chunk.js.map +1 -0
  450. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vhdl.e4237fb3.chunk.js +2 -0
  451. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vhdl.e4237fb3.chunk.js.map +1 -0
  452. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vim.58fb019d.chunk.js +2 -0
  453. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vim.58fb019d.chunk.js.map +1 -0
  454. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_x86asm.8dfba317.chunk.js +2 -0
  455. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_x86asm.8dfba317.chunk.js.map +1 -0
  456. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_xl.fb466219.chunk.js +2 -0
  457. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_xl.fb466219.chunk.js.map +1 -0
  458. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_xml.56397e06.chunk.js +2 -0
  459. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_xml.56397e06.chunk.js.map +1 -0
  460. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_xquery.9b175b45.chunk.js +2 -0
  461. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_xquery.9b175b45.chunk.js.map +1 -0
  462. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_yaml.1719efae.chunk.js +2 -0
  463. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_yaml.1719efae.chunk.js.map +1 -0
  464. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_zephir.0b762be7.chunk.js +2 -0
  465. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_zephir.0b762be7.chunk.js.map +1 -0
  466. package/dist/embedded-app/static/runtime.f955f2f8.js +2 -0
  467. package/dist/embedded-app/static/runtime.f955f2f8.js.map +1 -0
  468. package/dist/embedded-app/static/vendor.f955f2f8.js +2 -0
  469. package/dist/embedded-app/static/vendor.f955f2f8.js.map +1 -0
  470. package/dist/index.cjs.js.map +1 -1
  471. package/dist/lib/PublisherConfig.cjs.js.map +1 -1
  472. package/dist/lib/httpServer.cjs.js.map +1 -1
  473. package/dist/lib/mkdocsServer.cjs.js.map +1 -1
  474. package/dist/lib/run.cjs.js.map +1 -1
  475. package/dist/lib/utility.cjs.js.map +1 -1
  476. package/dist/package.json.cjs.js +1 -1
  477. package/package.json +7 -7
  478. package/dist/embedded-app/static/124.c8975198.chunk.js +0 -6
  479. package/dist/embedded-app/static/124.c8975198.chunk.js.map +0 -1
  480. package/dist/embedded-app/static/1297.171aeb8c.chunk.js +0 -4
  481. package/dist/embedded-app/static/1297.171aeb8c.chunk.js.map +0 -1
  482. package/dist/embedded-app/static/1902.2f4f138c.chunk.js +0 -10
  483. package/dist/embedded-app/static/1902.2f4f138c.chunk.js.map +0 -1
  484. package/dist/embedded-app/static/2177.68de3516.chunk.js +0 -4
  485. package/dist/embedded-app/static/2177.68de3516.chunk.js.map +0 -1
  486. package/dist/embedded-app/static/2401.8910ad14.chunk.js +0 -6
  487. package/dist/embedded-app/static/2401.8910ad14.chunk.js.map +0 -1
  488. package/dist/embedded-app/static/2420.73613776.chunk.js +0 -6
  489. package/dist/embedded-app/static/2420.73613776.chunk.js.map +0 -1
  490. package/dist/embedded-app/static/287.802f0481.chunk.js +0 -6
  491. package/dist/embedded-app/static/287.802f0481.chunk.js.map +0 -1
  492. package/dist/embedded-app/static/3182.59a654d7.chunk.js +0 -7
  493. package/dist/embedded-app/static/3182.59a654d7.chunk.js.map +0 -1
  494. package/dist/embedded-app/static/3308.61cd83f7.chunk.js +0 -7
  495. package/dist/embedded-app/static/3308.61cd83f7.chunk.js.map +0 -1
  496. package/dist/embedded-app/static/3632.f4a0c48a.chunk.js +0 -6
  497. package/dist/embedded-app/static/3632.f4a0c48a.chunk.js.map +0 -1
  498. package/dist/embedded-app/static/3720.646b3e89.chunk.js +0 -11
  499. package/dist/embedded-app/static/3720.646b3e89.chunk.js.map +0 -1
  500. package/dist/embedded-app/static/4036.30d46c9e.chunk.js +0 -3
  501. package/dist/embedded-app/static/4036.30d46c9e.chunk.js.map +0 -1
  502. package/dist/embedded-app/static/4516.a9b528f6.chunk.js +0 -3
  503. package/dist/embedded-app/static/4516.a9b528f6.chunk.js.map +0 -1
  504. package/dist/embedded-app/static/5184.37d9760f.chunk.js +0 -3
  505. package/dist/embedded-app/static/5184.37d9760f.chunk.js.map +0 -1
  506. package/dist/embedded-app/static/5470.cbffc774.chunk.js +0 -3
  507. package/dist/embedded-app/static/5470.cbffc774.chunk.js.map +0 -1
  508. package/dist/embedded-app/static/5724.1b4014dd.chunk.js +0 -4
  509. package/dist/embedded-app/static/5724.1b4014dd.chunk.js.map +0 -1
  510. package/dist/embedded-app/static/5788.f2f82f85.chunk.js +0 -3
  511. package/dist/embedded-app/static/5788.f2f82f85.chunk.js.map +0 -1
  512. package/dist/embedded-app/static/6271.a87d7ae1.chunk.js +0 -6
  513. package/dist/embedded-app/static/6271.a87d7ae1.chunk.js.map +0 -1
  514. package/dist/embedded-app/static/6415.581215ad.chunk.js +0 -6
  515. package/dist/embedded-app/static/6415.581215ad.chunk.js.map +0 -1
  516. package/dist/embedded-app/static/8307.e9b33c8f.chunk.js +0 -9
  517. package/dist/embedded-app/static/8307.e9b33c8f.chunk.js.map +0 -1
  518. package/dist/embedded-app/static/8384.1d132866.chunk.js +0 -6
  519. package/dist/embedded-app/static/8384.1d132866.chunk.js.map +0 -1
  520. package/dist/embedded-app/static/8803.48dd4e23.chunk.js +0 -11
  521. package/dist/embedded-app/static/8803.48dd4e23.chunk.js.map +0 -1
  522. package/dist/embedded-app/static/9234.a1d6ef55.chunk.js +0 -4
  523. package/dist/embedded-app/static/9234.a1d6ef55.chunk.js.map +0 -1
  524. package/dist/embedded-app/static/9652.784d1aef.chunk.js +0 -6
  525. package/dist/embedded-app/static/9652.784d1aef.chunk.js.map +0 -1
  526. package/dist/embedded-app/static/main.ca6e1ae0.js +0 -553
  527. package/dist/embedded-app/static/main.ca6e1ae0.js.map +0 -1
  528. package/dist/embedded-app/static/module-date-fns.c633d602.js +0 -3
  529. package/dist/embedded-app/static/module-date-fns.c633d602.js.map +0 -1
  530. package/dist/embedded-app/static/module-i18next.f50c1612.js +0 -3
  531. package/dist/embedded-app/static/module-i18next.f50c1612.js.map +0 -1
  532. package/dist/embedded-app/static/module-lodash.05581125.js +0 -29
  533. package/dist/embedded-app/static/module-lodash.05581125.js.map +0 -1
  534. package/dist/embedded-app/static/module-material-table.00de7997.js +0 -3
  535. package/dist/embedded-app/static/module-material-table.00de7997.js.map +0 -1
  536. package/dist/embedded-app/static/module-material-ui.557c1930.js +0 -24
  537. package/dist/embedded-app/static/module-material-ui.557c1930.js.map +0 -1
  538. package/dist/embedded-app/static/module-mui.f702282a.js +0 -3
  539. package/dist/embedded-app/static/module-mui.f702282a.js.map +0 -1
  540. package/dist/embedded-app/static/module-react-beautiful-dnd.e9f14677.js +0 -67
  541. package/dist/embedded-app/static/module-react-beautiful-dnd.e9f14677.js.map +0 -1
  542. package/dist/embedded-app/static/module-react-dom.42a304d3.js +0 -26
  543. package/dist/embedded-app/static/module-react-dom.42a304d3.js.map +0 -1
  544. package/dist/embedded-app/static/module-remix-run.ae6d33c5.js +0 -13
  545. package/dist/embedded-app/static/module-remix-run.ae6d33c5.js.map +0 -1
  546. package/dist/embedded-app/static/module-zod.07fc8729.js +0 -3
  547. package/dist/embedded-app/static/module-zod.07fc8729.js.map +0 -1
  548. package/dist/embedded-app/static/react-syntax-highlighter/lowlight-import.22c6b7c2.chunk.js +0 -6
  549. package/dist/embedded-app/static/react-syntax-highlighter/lowlight-import.22c6b7c2.chunk.js.map +0 -1
  550. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_abnf.66d9c743.chunk.js +0 -3
  551. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_abnf.66d9c743.chunk.js.map +0 -1
  552. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_accesslog.8387dcd4.chunk.js +0 -3
  553. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_accesslog.8387dcd4.chunk.js.map +0 -1
  554. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_actionscript.5142984e.chunk.js +0 -3
  555. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_actionscript.5142984e.chunk.js.map +0 -1
  556. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ada.dfd6ae57.chunk.js +0 -3
  557. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ada.dfd6ae57.chunk.js.map +0 -1
  558. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_angelscript.1fba828b.chunk.js +0 -3
  559. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_angelscript.1fba828b.chunk.js.map +0 -1
  560. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_apache.93920d79.chunk.js +0 -3
  561. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_apache.93920d79.chunk.js.map +0 -1
  562. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_applescript.bb83a583.chunk.js +0 -3
  563. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_applescript.bb83a583.chunk.js.map +0 -1
  564. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_arcade.ade37058.chunk.js +0 -3
  565. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_arcade.ade37058.chunk.js.map +0 -1
  566. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_arduino.477134d8.chunk.js +0 -3
  567. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_arduino.477134d8.chunk.js.map +0 -1
  568. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_armasm.2eb1b1b6.chunk.js +0 -3
  569. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_armasm.2eb1b1b6.chunk.js.map +0 -1
  570. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_asciidoc.64536dc4.chunk.js +0 -3
  571. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_asciidoc.64536dc4.chunk.js.map +0 -1
  572. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_aspectj.8ed52813.chunk.js +0 -3
  573. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_aspectj.8ed52813.chunk.js.map +0 -1
  574. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_autohotkey.bcd6a317.chunk.js +0 -3
  575. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_autohotkey.bcd6a317.chunk.js.map +0 -1
  576. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_autoit.fb167a9d.chunk.js +0 -3
  577. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_autoit.fb167a9d.chunk.js.map +0 -1
  578. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_avrasm.a87e2ff2.chunk.js +0 -3
  579. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_avrasm.a87e2ff2.chunk.js.map +0 -1
  580. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_awk.be3ec5e1.chunk.js +0 -3
  581. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_awk.be3ec5e1.chunk.js.map +0 -1
  582. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_axapta.ca6f150b.chunk.js +0 -3
  583. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_axapta.ca6f150b.chunk.js.map +0 -1
  584. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_bash.28b8e1f5.chunk.js +0 -3
  585. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_bash.28b8e1f5.chunk.js.map +0 -1
  586. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_basic.c6178168.chunk.js +0 -3
  587. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_basic.c6178168.chunk.js.map +0 -1
  588. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_bnf.7bde334b.chunk.js +0 -3
  589. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_bnf.7bde334b.chunk.js.map +0 -1
  590. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_brainfuck.b5ff1eec.chunk.js +0 -5
  591. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_brainfuck.b5ff1eec.chunk.js.map +0 -1
  592. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_c.a6196188.chunk.js +0 -3
  593. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_c.a6196188.chunk.js.map +0 -1
  594. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cLike.b0bda465.chunk.js +0 -3
  595. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cLike.b0bda465.chunk.js.map +0 -1
  596. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cal.7676de3a.chunk.js +0 -3
  597. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cal.7676de3a.chunk.js.map +0 -1
  598. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_capnproto.0c3b7c77.chunk.js +0 -3
  599. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_capnproto.0c3b7c77.chunk.js.map +0 -1
  600. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ceylon.b208b9d4.chunk.js +0 -3
  601. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ceylon.b208b9d4.chunk.js.map +0 -1
  602. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_clean.f6238bf7.chunk.js +0 -3
  603. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_clean.f6238bf7.chunk.js.map +0 -1
  604. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_clojure.7685cd16.chunk.js +0 -3
  605. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_clojure.7685cd16.chunk.js.map +0 -1
  606. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_clojureRepl.f1a7586f.chunk.js +0 -3
  607. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_clojureRepl.f1a7586f.chunk.js.map +0 -1
  608. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cmake.ea0d08d8.chunk.js +0 -3
  609. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cmake.ea0d08d8.chunk.js.map +0 -1
  610. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_coffeescript.eb02cec0.chunk.js +0 -3
  611. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_coffeescript.eb02cec0.chunk.js.map +0 -1
  612. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_coq.5221b3be.chunk.js +0 -3
  613. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_coq.5221b3be.chunk.js.map +0 -1
  614. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cos.451d2d52.chunk.js +0 -3
  615. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cos.451d2d52.chunk.js.map +0 -1
  616. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cpp.fd1bc82c.chunk.js +0 -3
  617. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_cpp.fd1bc82c.chunk.js.map +0 -1
  618. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_crmsh.9791189a.chunk.js +0 -3
  619. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_crmsh.9791189a.chunk.js.map +0 -1
  620. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_crystal.4a7e8c7f.chunk.js +0 -3
  621. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_crystal.4a7e8c7f.chunk.js.map +0 -1
  622. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_csharp.1a8d3632.chunk.js +0 -3
  623. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_csharp.1a8d3632.chunk.js.map +0 -1
  624. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_csp.1127ded7.chunk.js +0 -3
  625. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_csp.1127ded7.chunk.js.map +0 -1
  626. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_css.74dbe1a0.chunk.js +0 -3
  627. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_css.74dbe1a0.chunk.js.map +0 -1
  628. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_d.5713b426.chunk.js +0 -3
  629. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_d.5713b426.chunk.js.map +0 -1
  630. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dart.ef0069ed.chunk.js +0 -3
  631. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dart.ef0069ed.chunk.js.map +0 -1
  632. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_delphi.4045b3ae.chunk.js +0 -3
  633. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_delphi.4045b3ae.chunk.js.map +0 -1
  634. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_diff.549a11b9.chunk.js +0 -3
  635. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_diff.549a11b9.chunk.js.map +0 -1
  636. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_django.427342f4.chunk.js +0 -3
  637. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_django.427342f4.chunk.js.map +0 -1
  638. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dns.6870bdbc.chunk.js +0 -3
  639. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dns.6870bdbc.chunk.js.map +0 -1
  640. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dockerfile.e6c707ea.chunk.js +0 -3
  641. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dockerfile.e6c707ea.chunk.js.map +0 -1
  642. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dos.f0c118f7.chunk.js +0 -3
  643. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dos.f0c118f7.chunk.js.map +0 -1
  644. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dsconfig.c2374436.chunk.js +0 -3
  645. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dsconfig.c2374436.chunk.js.map +0 -1
  646. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dts.c5313e65.chunk.js +0 -3
  647. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dts.c5313e65.chunk.js.map +0 -1
  648. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dust.08f7fec4.chunk.js +0 -3
  649. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_dust.08f7fec4.chunk.js.map +0 -1
  650. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ebnf.8b5ceebf.chunk.js +0 -3
  651. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ebnf.8b5ceebf.chunk.js.map +0 -1
  652. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_elixir.4a9a2001.chunk.js +0 -3
  653. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_elixir.4a9a2001.chunk.js.map +0 -1
  654. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_elm.4da9ac84.chunk.js +0 -3
  655. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_elm.4da9ac84.chunk.js.map +0 -1
  656. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_erb.db3e606a.chunk.js +0 -3
  657. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_erb.db3e606a.chunk.js.map +0 -1
  658. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_erlang.50fddafd.chunk.js +0 -3
  659. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_erlang.50fddafd.chunk.js.map +0 -1
  660. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_erlangRepl.2dea3622.chunk.js +0 -3
  661. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_erlangRepl.2dea3622.chunk.js.map +0 -1
  662. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_excel.4657af72.chunk.js +0 -3
  663. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_excel.4657af72.chunk.js.map +0 -1
  664. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_fix.9aae1881.chunk.js +0 -3
  665. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_fix.9aae1881.chunk.js.map +0 -1
  666. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_flix.194a4cee.chunk.js +0 -3
  667. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_flix.194a4cee.chunk.js.map +0 -1
  668. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_fortran.9b6ecd22.chunk.js +0 -3
  669. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_fortran.9b6ecd22.chunk.js.map +0 -1
  670. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_fsharp.0146289c.chunk.js +0 -3
  671. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_fsharp.0146289c.chunk.js.map +0 -1
  672. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gams.2c6a8c0d.chunk.js +0 -3
  673. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gams.2c6a8c0d.chunk.js.map +0 -1
  674. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gauss.c6f46d79.chunk.js +0 -3
  675. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gauss.c6f46d79.chunk.js.map +0 -1
  676. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gcode.f78ca3d5.chunk.js +0 -3
  677. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gcode.f78ca3d5.chunk.js.map +0 -1
  678. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gherkin.7c4e71c6.chunk.js +0 -3
  679. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gherkin.7c4e71c6.chunk.js.map +0 -1
  680. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_glsl.4f89fa8f.chunk.js +0 -3
  681. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_glsl.4f89fa8f.chunk.js.map +0 -1
  682. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gml.2b61e823.chunk.js +0 -3
  683. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gml.2b61e823.chunk.js.map +0 -1
  684. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_go.5d615b57.chunk.js +0 -3
  685. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_go.5d615b57.chunk.js.map +0 -1
  686. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_golo.adc48be6.chunk.js +0 -3
  687. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_golo.adc48be6.chunk.js.map +0 -1
  688. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gradle.9f4cbdc0.chunk.js +0 -3
  689. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_gradle.9f4cbdc0.chunk.js.map +0 -1
  690. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_groovy.1edd9382.chunk.js +0 -3
  691. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_groovy.1edd9382.chunk.js.map +0 -1
  692. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_haml.7c59933a.chunk.js +0 -3
  693. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_haml.7c59933a.chunk.js.map +0 -1
  694. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_handlebars.f3413573.chunk.js +0 -3
  695. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_handlebars.f3413573.chunk.js.map +0 -1
  696. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_haskell.2abb74ad.chunk.js +0 -3
  697. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_haskell.2abb74ad.chunk.js.map +0 -1
  698. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_haxe.c33e0434.chunk.js +0 -3
  699. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_haxe.c33e0434.chunk.js.map +0 -1
  700. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_hsp.b657160c.chunk.js +0 -3
  701. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_hsp.b657160c.chunk.js.map +0 -1
  702. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_htmlbars.6d583a4e.chunk.js +0 -3
  703. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_htmlbars.6d583a4e.chunk.js.map +0 -1
  704. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_http.d3b9cc35.chunk.js +0 -3
  705. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_http.d3b9cc35.chunk.js.map +0 -1
  706. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_hy.4c428991.chunk.js +0 -3
  707. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_hy.4c428991.chunk.js.map +0 -1
  708. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_inform7.eef3d1c3.chunk.js +0 -3
  709. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_inform7.eef3d1c3.chunk.js.map +0 -1
  710. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ini.35f2f161.chunk.js +0 -3
  711. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ini.35f2f161.chunk.js.map +0 -1
  712. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_irpf90.18fff401.chunk.js +0 -3
  713. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_irpf90.18fff401.chunk.js.map +0 -1
  714. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_isbl.36ad09f6.chunk.js +0 -3
  715. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_isbl.36ad09f6.chunk.js.map +0 -1
  716. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_java.b1d6528a.chunk.js +0 -3
  717. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_java.b1d6528a.chunk.js.map +0 -1
  718. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_javascript.24eb8919.chunk.js +0 -3
  719. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_javascript.24eb8919.chunk.js.map +0 -1
  720. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_jbossCli.f86c6c60.chunk.js +0 -3
  721. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_jbossCli.f86c6c60.chunk.js.map +0 -1
  722. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_json.47cd05a8.chunk.js +0 -3
  723. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_json.47cd05a8.chunk.js.map +0 -1
  724. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_julia.ab855dd1.chunk.js +0 -3
  725. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_julia.ab855dd1.chunk.js.map +0 -1
  726. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_juliaRepl.92166d30.chunk.js +0 -3
  727. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_juliaRepl.92166d30.chunk.js.map +0 -1
  728. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_kotlin.a3e9e8a7.chunk.js +0 -4
  729. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_kotlin.a3e9e8a7.chunk.js.map +0 -1
  730. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lasso.a402a07e.chunk.js +0 -3
  731. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lasso.a402a07e.chunk.js.map +0 -1
  732. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_latex.49fc07f6.chunk.js +0 -3
  733. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_latex.49fc07f6.chunk.js.map +0 -1
  734. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ldif.19b155b7.chunk.js +0 -3
  735. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ldif.19b155b7.chunk.js.map +0 -1
  736. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_leaf.869b0a46.chunk.js +0 -3
  737. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_leaf.869b0a46.chunk.js.map +0 -1
  738. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_less.28497d6f.chunk.js +0 -3
  739. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_less.28497d6f.chunk.js.map +0 -1
  740. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lisp.75c1c83e.chunk.js +0 -3
  741. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lisp.75c1c83e.chunk.js.map +0 -1
  742. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_livecodeserver.695cad35.chunk.js +0 -3
  743. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_livecodeserver.695cad35.chunk.js.map +0 -1
  744. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_livescript.188eeb6a.chunk.js +0 -3
  745. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_livescript.188eeb6a.chunk.js.map +0 -1
  746. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_llvm.bcdfc821.chunk.js +0 -3
  747. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_llvm.bcdfc821.chunk.js.map +0 -1
  748. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lsl.0cad82b0.chunk.js +0 -3
  749. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lsl.0cad82b0.chunk.js.map +0 -1
  750. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lua.d788c9f0.chunk.js +0 -3
  751. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_lua.d788c9f0.chunk.js.map +0 -1
  752. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_makefile.d556aaf3.chunk.js +0 -3
  753. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_makefile.d556aaf3.chunk.js.map +0 -1
  754. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_markdown.38a48ae4.chunk.js +0 -3
  755. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_markdown.38a48ae4.chunk.js.map +0 -1
  756. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mathematica.f174a33a.chunk.js +0 -3
  757. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mathematica.f174a33a.chunk.js.map +0 -1
  758. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_matlab.db26757d.chunk.js +0 -3
  759. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_matlab.db26757d.chunk.js.map +0 -1
  760. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_maxima.ac663155.chunk.js +0 -3
  761. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_maxima.ac663155.chunk.js.map +0 -1
  762. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mel.3179be10.chunk.js +0 -3
  763. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mel.3179be10.chunk.js.map +0 -1
  764. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mercury.5c1bcdab.chunk.js +0 -3
  765. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mercury.5c1bcdab.chunk.js.map +0 -1
  766. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mipsasm.be240849.chunk.js +0 -3
  767. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mipsasm.be240849.chunk.js.map +0 -1
  768. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mizar.bd345a77.chunk.js +0 -3
  769. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mizar.bd345a77.chunk.js.map +0 -1
  770. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mojolicious.84349fe7.chunk.js +0 -3
  771. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_mojolicious.84349fe7.chunk.js.map +0 -1
  772. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_monkey.58111a2a.chunk.js +0 -3
  773. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_monkey.58111a2a.chunk.js.map +0 -1
  774. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_moonscript.8bc79f00.chunk.js +0 -3
  775. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_moonscript.8bc79f00.chunk.js.map +0 -1
  776. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_n1ql.bc9a250c.chunk.js +0 -3
  777. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_n1ql.bc9a250c.chunk.js.map +0 -1
  778. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nginx.15f87d12.chunk.js +0 -3
  779. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nginx.15f87d12.chunk.js.map +0 -1
  780. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nim.b544d1cb.chunk.js +0 -3
  781. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nim.b544d1cb.chunk.js.map +0 -1
  782. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nix.1e9a1de5.chunk.js +0 -3
  783. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nix.1e9a1de5.chunk.js.map +0 -1
  784. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nodeRepl.d3744893.chunk.js +0 -3
  785. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nodeRepl.d3744893.chunk.js.map +0 -1
  786. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nsis.cc9bab96.chunk.js +0 -3
  787. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_nsis.cc9bab96.chunk.js.map +0 -1
  788. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_objectivec.67909720.chunk.js +0 -3
  789. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_objectivec.67909720.chunk.js.map +0 -1
  790. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ocaml.3cbdaebe.chunk.js +0 -3
  791. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ocaml.3cbdaebe.chunk.js.map +0 -1
  792. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_oneC.88c542fe.chunk.js +0 -3
  793. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_oneC.88c542fe.chunk.js.map +0 -1
  794. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_openscad.6eb62b69.chunk.js +0 -3
  795. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_openscad.6eb62b69.chunk.js.map +0 -1
  796. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_oxygene.0241538e.chunk.js +0 -3
  797. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_oxygene.0241538e.chunk.js.map +0 -1
  798. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_parser3.e37f1b56.chunk.js +0 -3
  799. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_parser3.e37f1b56.chunk.js.map +0 -1
  800. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_perl.f7c8e824.chunk.js +0 -3
  801. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_perl.f7c8e824.chunk.js.map +0 -1
  802. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pf.b95763e3.chunk.js +0 -3
  803. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pf.b95763e3.chunk.js.map +0 -1
  804. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pgsql.c7c1c7ae.chunk.js +0 -3
  805. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pgsql.c7c1c7ae.chunk.js.map +0 -1
  806. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_php.9025968a.chunk.js +0 -3
  807. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_php.9025968a.chunk.js.map +0 -1
  808. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_phpTemplate.38d855ef.chunk.js +0 -3
  809. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_phpTemplate.38d855ef.chunk.js.map +0 -1
  810. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_plaintext.d13bdc26.chunk.js +0 -3
  811. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_plaintext.d13bdc26.chunk.js.map +0 -1
  812. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pony.56017e30.chunk.js +0 -3
  813. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pony.56017e30.chunk.js.map +0 -1
  814. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_powershell.5e3a51e3.chunk.js +0 -3
  815. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_powershell.5e3a51e3.chunk.js.map +0 -1
  816. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_processing.3d758d99.chunk.js +0 -3
  817. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_processing.3d758d99.chunk.js.map +0 -1
  818. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_profile.fc5534a4.chunk.js +0 -3
  819. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_profile.fc5534a4.chunk.js.map +0 -1
  820. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_prolog.4f4ad34d.chunk.js +0 -3
  821. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_prolog.4f4ad34d.chunk.js.map +0 -1
  822. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_properties.eac055d2.chunk.js +0 -3
  823. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_properties.eac055d2.chunk.js.map +0 -1
  824. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_protobuf.1f7bec26.chunk.js +0 -3
  825. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_protobuf.1f7bec26.chunk.js.map +0 -1
  826. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_puppet.5d9d03b1.chunk.js +0 -3
  827. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_puppet.5d9d03b1.chunk.js.map +0 -1
  828. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_purebasic.fa1c60a8.chunk.js +0 -3
  829. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_purebasic.fa1c60a8.chunk.js.map +0 -1
  830. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_python.6b083f6f.chunk.js +0 -3
  831. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_python.6b083f6f.chunk.js.map +0 -1
  832. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pythonRepl.f1307a3a.chunk.js +0 -3
  833. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_pythonRepl.f1307a3a.chunk.js.map +0 -1
  834. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_q.3c5f3edb.chunk.js +0 -3
  835. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_q.3c5f3edb.chunk.js.map +0 -1
  836. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_qml.d50543fc.chunk.js +0 -3
  837. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_qml.d50543fc.chunk.js.map +0 -1
  838. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_r.7a3ef151.chunk.js +0 -3
  839. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_r.7a3ef151.chunk.js.map +0 -1
  840. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_reasonml.d04460a7.chunk.js +0 -3
  841. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_reasonml.d04460a7.chunk.js.map +0 -1
  842. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_rib.b17a7883.chunk.js +0 -3
  843. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_rib.b17a7883.chunk.js.map +0 -1
  844. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_roboconf.3c4a0295.chunk.js +0 -3
  845. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_roboconf.3c4a0295.chunk.js.map +0 -1
  846. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_routeros.ac3877c3.chunk.js +0 -3
  847. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_routeros.ac3877c3.chunk.js.map +0 -1
  848. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_rsl.98f4182f.chunk.js +0 -3
  849. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_rsl.98f4182f.chunk.js.map +0 -1
  850. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ruby.d39ef9f2.chunk.js +0 -3
  851. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ruby.d39ef9f2.chunk.js.map +0 -1
  852. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ruleslanguage.f6df9baa.chunk.js +0 -3
  853. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_ruleslanguage.f6df9baa.chunk.js.map +0 -1
  854. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_rust.41c5b641.chunk.js +0 -3
  855. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_rust.41c5b641.chunk.js.map +0 -1
  856. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sas.a122496e.chunk.js +0 -3
  857. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sas.a122496e.chunk.js.map +0 -1
  858. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scala.7b726624.chunk.js +0 -3
  859. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scala.7b726624.chunk.js.map +0 -1
  860. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scheme.73784831.chunk.js +0 -3
  861. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scheme.73784831.chunk.js.map +0 -1
  862. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scilab.dee273ef.chunk.js +0 -3
  863. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scilab.dee273ef.chunk.js.map +0 -1
  864. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scss.360f976f.chunk.js +0 -3
  865. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_scss.360f976f.chunk.js.map +0 -1
  866. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_shell.87d34c6a.chunk.js +0 -3
  867. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_shell.87d34c6a.chunk.js.map +0 -1
  868. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_smali.f09f8021.chunk.js +0 -4
  869. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_smali.f09f8021.chunk.js.map +0 -1
  870. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_smalltalk.794a40bc.chunk.js +0 -3
  871. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_smalltalk.794a40bc.chunk.js.map +0 -1
  872. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sml.2702d370.chunk.js +0 -3
  873. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sml.2702d370.chunk.js.map +0 -1
  874. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sqf.684314f4.chunk.js +0 -3
  875. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sqf.684314f4.chunk.js.map +0 -1
  876. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sql.2e75d81d.chunk.js +0 -3
  877. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sql.2e75d81d.chunk.js.map +0 -1
  878. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sqlMore.1d2ce461.chunk.js +0 -3
  879. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_sqlMore.1d2ce461.chunk.js.map +0 -1
  880. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_stan.5572fdfe.chunk.js +0 -3
  881. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_stan.5572fdfe.chunk.js.map +0 -1
  882. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_stata.218dea76.chunk.js +0 -5
  883. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_stata.218dea76.chunk.js.map +0 -1
  884. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_step21.592479bd.chunk.js +0 -3
  885. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_step21.592479bd.chunk.js.map +0 -1
  886. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_stylus.23b99730.chunk.js +0 -3
  887. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_stylus.23b99730.chunk.js.map +0 -1
  888. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_subunit.0631d798.chunk.js +0 -5
  889. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_subunit.0631d798.chunk.js.map +0 -1
  890. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_swift.d52918d5.chunk.js +0 -3
  891. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_swift.d52918d5.chunk.js.map +0 -1
  892. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_taggerscript.d5be7b4b.chunk.js +0 -3
  893. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_taggerscript.d5be7b4b.chunk.js.map +0 -1
  894. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_tap.cc94fde7.chunk.js +0 -3
  895. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_tap.cc94fde7.chunk.js.map +0 -1
  896. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_tcl.4574a734.chunk.js +0 -3
  897. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_tcl.4574a734.chunk.js.map +0 -1
  898. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_thrift.e83b977a.chunk.js +0 -3
  899. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_thrift.e83b977a.chunk.js.map +0 -1
  900. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_tp.efe0ab7e.chunk.js +0 -3
  901. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_tp.efe0ab7e.chunk.js.map +0 -1
  902. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_twig.42cff901.chunk.js +0 -3
  903. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_twig.42cff901.chunk.js.map +0 -1
  904. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_typescript.5803d62a.chunk.js +0 -3
  905. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_typescript.5803d62a.chunk.js.map +0 -1
  906. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vala.b6a74a54.chunk.js +0 -3
  907. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vala.b6a74a54.chunk.js.map +0 -1
  908. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vbnet.4a0b3300.chunk.js +0 -3
  909. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vbnet.4a0b3300.chunk.js.map +0 -1
  910. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vbscript.138ab35c.chunk.js +0 -3
  911. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vbscript.138ab35c.chunk.js.map +0 -1
  912. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vbscriptHtml.c2ea3d5b.chunk.js +0 -3
  913. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vbscriptHtml.c2ea3d5b.chunk.js.map +0 -1
  914. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_verilog.5554d6ea.chunk.js +0 -3
  915. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_verilog.5554d6ea.chunk.js.map +0 -1
  916. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vhdl.ca3cc548.chunk.js +0 -3
  917. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vhdl.ca3cc548.chunk.js.map +0 -1
  918. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vim.02c73837.chunk.js +0 -3
  919. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_vim.02c73837.chunk.js.map +0 -1
  920. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_x86asm.926105e1.chunk.js +0 -3
  921. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_x86asm.926105e1.chunk.js.map +0 -1
  922. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_xl.f3efed22.chunk.js +0 -3
  923. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_xl.f3efed22.chunk.js.map +0 -1
  924. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_xml.0cba81d4.chunk.js +0 -3
  925. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_xml.0cba81d4.chunk.js.map +0 -1
  926. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_xquery.5cc578b0.chunk.js +0 -3
  927. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_xquery.5cc578b0.chunk.js.map +0 -1
  928. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_yaml.7eda5e2a.chunk.js +0 -3
  929. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_yaml.7eda5e2a.chunk.js.map +0 -1
  930. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_zephir.01a8128d.chunk.js +0 -3
  931. package/dist/embedded-app/static/react-syntax-highlighter_languages_highlight_zephir.01a8128d.chunk.js.map +0 -1
  932. package/dist/embedded-app/static/runtime.ca6e1ae0.js +0 -4
  933. package/dist/embedded-app/static/runtime.ca6e1ae0.js.map +0 -1
  934. package/dist/embedded-app/static/vendor.ca6e1ae0.js +0 -170
  935. package/dist/embedded-app/static/vendor.ca6e1ae0.js.map +0 -1
  936. /package/dist/embedded-app/static/{createComponent.975d1e1e.svg → createComponent.7c188d7f.svg} +0 -0
  937. /package/dist/embedded-app/static/{mic-drop.fe3ef4d0.svg → mic-drop.f832115f.svg} +0 -0
  938. /package/dist/embedded-app/static/{missingAnnotation.67f79e98.svg → missingAnnotation.5df688e7.svg} +0 -0
  939. /package/dist/embedded-app/static/{noBuild.1715fa71.svg → noBuild.169833d0.svg} +0 -0
  940. /package/dist/embedded-app/static/{noInformation.4b426325.svg → noInformation.acf1ccf4.svg} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/8384.1d132866.chunk.js","mappings":"mJAEIA,EAAyB,EAAQ,IAA8C,EAE/EC,EAA0B,EAAQ,KAA+C,EAErF,EAA6C,CAC3C,MAAO,EACT,EACAC,EAAQ,EAAU,OAElB,IAAIC,EAAQF,EAAwB,EAAQ,KAAO,CAAC,EAEhDG,EAAiBJ,EAAuB,EAAQ,KAAuB,CAAC,EAExEK,KAAeD,EAAe,SAAuBD,EAAM,cAAc,OAAQ,CACnF,EAAG,2DACL,CAAC,EAAG,cAAc,EAElBD,EAAQ,EAAUG,C,mFCUlB,MAAMC,KAAYC,EAAAA,GAChB,CACEC,UAAW,CACTC,SAAU,oBACZ,EACAC,KAAM,CACJC,SAAU,UACVF,SAAU,SACVG,aAAc,WACdC,QAAS,cACT,qBAAsB,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B,CAAEE,YAAa,QAAS,CAAC,EACnEwC,EAAAA,EAAYG,QAAQlB,kBAAkB,EACtCe,EAAAA,EAAYG,QAAQZ,gCAAgC,C,EAEzCiL,EACX,oFACWC,EAAoBxK,GAC/BA,EAEW0K,EAAmD,CAC9D3K,EAAAA,EAAYG,QAAQ7C,sBAAsB,CAAEE,YAAa,QAAS,CAAC,EACnEwC,EAAAA,EAAYG,QAAQlB,kBAAkB,EACtCe,EAAAA,EAAYG,QAAQZ,gCAAgC,C,EAEzCqL,EACX,oFACWC,EAAoB5K,GAC/BA,C","sources":["webpack://techdocs-cli-embedded-app/../../node_modules/@material-ui/icons/ArrowForward.js","webpack://techdocs-cli-embedded-app/../core-components/src/components/OverflowTooltip/OverflowTooltip.tsx","webpack://techdocs-cli-embedded-app/../core-components/src/layout/BottomLink/BottomLink.tsx","webpack://techdocs-cli-embedded-app/../core-components/src/layout/ErrorBoundary/ErrorBoundary.tsx","webpack://techdocs-cli-embedded-app/../core-components/src/layout/InfoCard/InfoCard.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog-react/src/components/EntityTable/columns.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog-react/src/components/EntityTable/presets.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog-react/src/components/EntityTable/EntityTable.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog-react/src/hooks/useEntity.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog/src/alpha/translation.ts","webpack://techdocs-cli-embedded-app/../../plugins/catalog/src/components/HasSubcomponentsCard/HasSubcomponentsCard.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog-react/src/hooks/useRelatedEntities.ts","webpack://techdocs-cli-embedded-app/../core-components/src/components/ResponseErrorPanel/ResponseErrorPanel.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog/src/components/RelatedEntitiesCard/RelatedEntitiesCard.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog/src/components/RelatedEntitiesCard/presets.ts"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z\"\n}), 'ArrowForward');\n\nexports.default = _default;","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { makeStyles } from '@material-ui/core/styles';\nimport Tooltip, { TooltipProps } from '@material-ui/core/Tooltip';\nimport Typography from '@material-ui/core/Typography';\n\ntype Props = {\n text?: string | undefined;\n title?: TooltipProps['title'];\n line?: number | undefined;\n placement?: TooltipProps['placement'];\n};\n\nexport type OverflowTooltipClassKey = 'container';\n\nconst useStyles = makeStyles(\n {\n container: {\n overflow: 'visible !important',\n },\n typo: {\n fontSize: 'inherit',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n display: '-webkit-box',\n '-webkit-line-clamp': ({ line }: Props) => line || 1,\n '-webkit-box-orient': 'vertical',\n },\n },\n { name: 'BackstageOverflowTooltip' },\n);\n\nexport function OverflowTooltip(props: Props) {\n const classes = useStyles(props);\n\n return (\n <Tooltip\n title={props.title ?? (props.text || '')}\n placement={props.placement}\n >\n <Typography className={classes.typo} variant=\"inherit\">\n {props.text}\n </Typography>\n </Tooltip>\n );\n}\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport Box from '@material-ui/core/Box';\nimport Divider from '@material-ui/core/Divider';\nimport { makeStyles } from '@material-ui/core/styles';\nimport Typography from '@material-ui/core/Typography';\nimport ArrowIcon from '@material-ui/icons/ArrowForward';\nimport { MouseEvent } from 'react';\nimport { Link } from '../../components/Link';\n\n/** @public */\nexport type BottomLinkClassKey = 'root' | 'boxTitle' | 'arrow';\n\nconst useStyles = makeStyles(\n theme => ({\n root: {\n maxWidth: 'fit-content',\n padding: theme.spacing(2, 2, 2, 2.5),\n },\n boxTitle: {\n margin: 0,\n color: theme.palette.textSubtle,\n },\n arrow: {\n color: theme.palette.textSubtle,\n },\n }),\n { name: 'BackstageBottomLink' },\n);\n\n/** @public */\nexport type BottomLinkProps = {\n link: string;\n title: string;\n onClick?: (event: MouseEvent<HTMLAnchorElement>) => void;\n};\n\n/**\n * Footer with link used in {@link InfoCard } and {@link TabbedCard}\n *\n * @public\n *\n */\nexport function BottomLink(props: BottomLinkProps) {\n const { link, title, onClick } = props;\n const classes = useStyles();\n\n return (\n <Box>\n <Divider />\n <Link to={link} onClick={onClick} underline=\"none\">\n <Box display=\"flex\" alignItems=\"center\" className={classes.root}>\n <Box className={classes.boxTitle} fontWeight=\"fontWeightBold\" m={1}>\n <Typography>\n <strong>{title}</strong>\n </Typography>\n </Box>\n <ArrowIcon className={classes.arrow} />\n </Box>\n </Link>\n </Box>\n );\n}\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport Typography from '@material-ui/core/Typography';\nimport { PropsWithChildren, ComponentClass, Component, ErrorInfo } from 'react';\nimport { LinkButton } from '../../components/LinkButton';\nimport { ErrorPanel } from '../../components/ErrorPanel';\nimport { coreComponentsTranslationRef } from '../../translation';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\n\ntype SlackChannel = {\n name: string;\n href?: string;\n};\n\n/** @public */\nexport type ErrorBoundaryProps = PropsWithChildren<{\n slackChannel?: string | SlackChannel;\n onError?: (error: Error, errorInfo: string) => null;\n}>;\n\ntype State = {\n error?: Error;\n errorInfo?: ErrorInfo;\n};\n\nconst SlackLink = (props: { slackChannel?: string | SlackChannel }) => {\n const { slackChannel } = props;\n const { t } = useTranslationRef(coreComponentsTranslationRef);\n\n if (!slackChannel) {\n return null;\n } else if (typeof slackChannel === 'string') {\n return (\n <Typography>{t('errorBoundary.title', { slackChannel })}</Typography>\n );\n } else if (!slackChannel.href) {\n return (\n <Typography>\n {t('errorBoundary.title', {\n slackChannel: slackChannel.name,\n })}\n </Typography>\n );\n }\n\n return (\n <LinkButton to={slackChannel.href} variant=\"contained\">\n {slackChannel.name}\n </LinkButton>\n );\n};\n\n/** @public */\nexport const ErrorBoundary: ComponentClass<\n ErrorBoundaryProps,\n State\n> = class ErrorBoundary extends Component<ErrorBoundaryProps, State> {\n constructor(props: ErrorBoundaryProps) {\n super(props);\n this.state = {\n error: undefined,\n errorInfo: undefined,\n };\n }\n\n componentDidCatch(error: Error, errorInfo: ErrorInfo) {\n // eslint-disable-next-line no-console\n console.error(`ErrorBoundary, error: ${error}`, { error, errorInfo });\n this.setState({ error, errorInfo });\n }\n\n render() {\n const { slackChannel, children } = this.props;\n const { error } = this.state;\n\n if (!error) {\n return children;\n }\n\n return (\n <ErrorPanel title=\"Something Went Wrong\" error={error}>\n <SlackLink slackChannel={slackChannel} />\n </ErrorPanel>\n );\n }\n};\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport Card from '@material-ui/core/Card';\nimport CardActions from '@material-ui/core/CardActions';\nimport CardContent from '@material-ui/core/CardContent';\nimport CardHeader, { CardHeaderProps } from '@material-ui/core/CardHeader';\nimport Divider from '@material-ui/core/Divider';\nimport { makeStyles, withStyles } from '@material-ui/core/styles';\nimport classNames from 'classnames';\nimport { ReactNode } from 'react';\nimport { BottomLink, BottomLinkProps } from '../BottomLink';\nimport { ErrorBoundary, ErrorBoundaryProps } from '../ErrorBoundary';\n\n/** @public */\nexport type InfoCardClassKey =\n | 'noPadding'\n | 'header'\n | 'headerTitle'\n | 'headerSubheader'\n | 'headerAvatar'\n | 'headerAction'\n | 'headerContent';\n\nconst useStyles = makeStyles(\n theme => ({\n noPadding: {\n padding: 0,\n '&:last-child': {\n paddingBottom: 0,\n },\n },\n contentAlignBottom: {\n display: 'flex',\n alignItems: 'self-end',\n },\n header: {\n padding: theme.spacing(2, 2, 2, 2.5),\n },\n headerTitle: {\n fontWeight: theme.typography.fontWeightBold,\n },\n headerSubheader: {\n paddingTop: theme.spacing(1),\n },\n headerAvatar: {},\n headerAction: {},\n headerContent: {},\n subheader: {\n display: 'flex',\n },\n }),\n { name: 'BackstageInfoCard' },\n);\n\n/** @public */\nexport type CardActionsTopRightClassKey = 'root';\n\nconst CardActionsTopRight = withStyles(\n theme => ({\n root: {\n display: 'inline-block',\n padding: theme.spacing(8, 8, 0, 0),\n float: 'right',\n },\n }),\n { name: 'BackstageInfoCardCardActionsTopRight' },\n)(CardActions);\n\nconst VARIANT_STYLES = {\n card: {\n flex: {\n display: 'flex',\n flexDirection: 'column',\n },\n fullHeight: {\n display: 'flex',\n flexDirection: 'column',\n height: '100%',\n },\n gridItem: {\n display: 'flex',\n flexDirection: 'column',\n height: 'calc(100% - 10px)', // for pages without content header\n marginBottom: '10px',\n breakInside: 'avoid-page',\n '@media print': {\n height: 'auto',\n },\n },\n },\n cardContent: {\n fullHeight: {\n flex: 1,\n },\n gridItem: {\n flex: 1,\n },\n },\n};\n\n/** @public */\nexport type InfoCardVariants = 'flex' | 'fullHeight' | 'gridItem';\n\n/**\n * InfoCard is used to display a paper-styled block on the screen, similar to a panel.\n *\n * You can custom style an InfoCard with the 'className' (outer container) and 'cardClassName' (inner container)\n * props. This is typically used with the material-ui makeStyles mechanism.\n *\n * The InfoCard serves as an error boundary. As a result, if you provide an 'errorBoundaryProps' property this\n * specifies the extra information to display in the error component that is displayed if an error occurs\n * in any descendent components.\n *\n * By default the InfoCard has no custom layout of its children, but is treated as a block element. A\n * couple common variants are provided and can be specified via the variant property:\n *\n * When the InfoCard is displayed as a grid item within a grid, you may want items to have the same height for all items.\n * Set to the 'gridItem' variant to display the InfoCard with full height suitable for Grid:\n *\n * `<InfoCard variant=\"gridItem\">...</InfoCard>`\n */\nexport type Props = {\n title?: ReactNode;\n subheader?: ReactNode;\n divider?: boolean;\n deepLink?: BottomLinkProps;\n /** @deprecated Use errorBoundaryProps instead */\n slackChannel?: string;\n errorBoundaryProps?: ErrorBoundaryProps;\n variant?: InfoCardVariants;\n alignContent?: 'normal' | 'bottom';\n children?: ReactNode;\n headerStyle?: object;\n headerProps?: CardHeaderProps;\n icon?: ReactNode;\n action?: ReactNode;\n actionsClassName?: string;\n actions?: ReactNode;\n cardClassName?: string;\n actionsTopRight?: ReactNode;\n className?: string;\n noPadding?: boolean;\n titleTypographyProps?: object;\n subheaderTypographyProps?: object;\n};\n\n/**\n * Material-ui card with header , content and actions footer\n *\n * @public\n *\n */\nexport function InfoCard(props: Props): JSX.Element {\n const {\n title,\n subheader,\n divider = true,\n deepLink,\n slackChannel,\n errorBoundaryProps,\n variant,\n alignContent = 'normal',\n children,\n headerStyle,\n headerProps,\n icon,\n action,\n actionsClassName,\n actions,\n cardClassName,\n actionsTopRight,\n className,\n noPadding,\n titleTypographyProps,\n subheaderTypographyProps,\n } = props;\n const classes = useStyles();\n /**\n * If variant is specified, we build up styles for that particular variant for both\n * the Card and the CardContent (since these need to be synced)\n */\n let calculatedStyle = {};\n let calculatedCardStyle = {};\n if (variant) {\n const variants = variant.split(/[\\s]+/g);\n variants.forEach(name => {\n calculatedStyle = {\n ...calculatedStyle,\n ...VARIANT_STYLES.card[name as keyof (typeof VARIANT_STYLES)['card']],\n };\n calculatedCardStyle = {\n ...calculatedCardStyle,\n ...VARIANT_STYLES.cardContent[\n name as keyof (typeof VARIANT_STYLES)['cardContent']\n ],\n };\n });\n }\n\n const cardSubTitle = () => {\n if (!subheader && !icon) {\n return null;\n }\n\n return (\n <div data-testid=\"info-card-subheader\">\n {subheader && <div className={classes.subheader}>{subheader}</div>}\n {icon}\n </div>\n );\n };\n\n const errProps: ErrorBoundaryProps =\n errorBoundaryProps || (slackChannel ? { slackChannel } : {});\n\n return (\n <Card style={calculatedStyle} className={className}>\n <ErrorBoundary {...errProps}>\n {title && (\n <CardHeader\n classes={{\n root: classNames(classes.header),\n title: classes.headerTitle,\n subheader: classes.headerSubheader,\n avatar: classes.headerAvatar,\n action: classes.headerAction,\n content: classes.headerContent,\n }}\n title={title}\n subheader={cardSubTitle()}\n action={action}\n style={{ ...headerStyle }}\n titleTypographyProps={titleTypographyProps}\n subheaderTypographyProps={subheaderTypographyProps}\n {...headerProps}\n />\n )}\n {actionsTopRight && (\n <CardActionsTopRight>{actionsTopRight}</CardActionsTopRight>\n )}\n {divider && <Divider />}\n <CardContent\n className={classNames(cardClassName, {\n [classes.noPadding]: noPadding,\n [classes.contentAlignBottom]: alignContent === 'bottom',\n })}\n style={calculatedCardStyle}\n >\n {children}\n </CardContent>\n {actions && (\n <CardActions className={actionsClassName}>{actions}</CardActions>\n )}\n {deepLink && <BottomLink {...deepLink} />}\n </ErrorBoundary>\n </Card>\n );\n}\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n Entity,\n CompoundEntityRef,\n RELATION_OWNED_BY,\n RELATION_PART_OF,\n} from '@backstage/catalog-model';\nimport { OverflowTooltip, TableColumn } from '@backstage/core-components';\nimport { getEntityRelations } from '../../utils';\nimport {\n EntityRefLink,\n EntityRefLinks,\n humanizeEntityRef,\n} from '../EntityRefLink';\n\n// TODO: column title support i18n\n\n/** @public */\nexport const columnFactories = Object.freeze({\n createEntityRefColumn<T extends Entity>(options: {\n defaultKind?: string;\n }): TableColumn<T> {\n const { defaultKind } = options;\n function formatContent(entity: T): string {\n return (\n entity.metadata?.title ||\n humanizeEntityRef(entity, {\n defaultKind,\n })\n );\n }\n\n return {\n title: 'Name',\n highlight: true,\n customFilterAndSearch(filter, entity) {\n // TODO: We could implement this more efficiently, like searching over\n // each field that is displayed individually (kind, namespace, name).\n // but that might confuse the user as it will behave different than a\n // simple text search.\n // Another alternative would be to cache the values. But writing them\n // into the entity feels bad too.\n return formatContent(entity).includes(filter);\n },\n customSort(entity1, entity2) {\n // TODO: We could implement this more efficiently by comparing field by field.\n // This has similar issues as above.\n return formatContent(entity1).localeCompare(formatContent(entity2));\n },\n render: entity => (\n <EntityRefLink\n entityRef={entity}\n defaultKind={defaultKind}\n title={entity.metadata?.title}\n />\n ),\n };\n },\n createEntityRelationColumn<T extends Entity>(options: {\n title: string;\n relation: string;\n defaultKind?: string;\n filter?: { kind: string };\n }): TableColumn<T> {\n const { title, relation, defaultKind, filter: entityFilter } = options;\n\n function getRelations(entity: T): CompoundEntityRef[] {\n return getEntityRelations(entity, relation, entityFilter);\n }\n\n function formatContent(entity: T): string {\n return getRelations(entity)\n .map(r => humanizeEntityRef(r, { defaultKind }))\n .join(', ');\n }\n\n return {\n title,\n customFilterAndSearch(filter, entity) {\n return formatContent(entity).includes(filter);\n },\n customSort(entity1, entity2) {\n return formatContent(entity1).localeCompare(formatContent(entity2));\n },\n render: entity => {\n return (\n <EntityRefLinks\n entityRefs={getRelations(entity)}\n defaultKind={defaultKind}\n />\n );\n },\n };\n },\n createOwnerColumn<T extends Entity>(): TableColumn<T> {\n return this.createEntityRelationColumn({\n title: 'Owner',\n relation: RELATION_OWNED_BY,\n defaultKind: 'group',\n });\n },\n createDomainColumn<T extends Entity>(): TableColumn<T> {\n return this.createEntityRelationColumn({\n title: 'Domain',\n relation: RELATION_PART_OF,\n defaultKind: 'domain',\n filter: {\n kind: 'domain',\n },\n });\n },\n createSystemColumn<T extends Entity>(): TableColumn<T> {\n return this.createEntityRelationColumn({\n title: 'System',\n relation: RELATION_PART_OF,\n defaultKind: 'system',\n filter: {\n kind: 'system',\n },\n });\n },\n createMetadataDescriptionColumn<T extends Entity>(): TableColumn<T> {\n return {\n title: 'Description',\n field: 'metadata.description',\n render: entity => (\n <OverflowTooltip\n text={entity.metadata.description}\n placement=\"bottom-start\"\n line={2}\n />\n ),\n };\n },\n createSpecLifecycleColumn<T extends Entity>(): TableColumn<T> {\n return {\n title: 'Lifecycle',\n field: 'spec.lifecycle',\n };\n },\n createSpecTypeColumn<T extends Entity>(): TableColumn<T> {\n return {\n title: 'Type',\n field: 'spec.type',\n };\n },\n});\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ComponentEntity, SystemEntity } from '@backstage/catalog-model';\nimport { TableColumn } from '@backstage/core-components';\nimport { columnFactories } from './columns';\n\nexport const systemEntityColumns: TableColumn<SystemEntity>[] = [\n columnFactories.createEntityRefColumn({ defaultKind: 'system' }),\n columnFactories.createDomainColumn(),\n columnFactories.createOwnerColumn(),\n columnFactories.createMetadataDescriptionColumn(),\n];\n\nexport const componentEntityColumns: TableColumn<ComponentEntity>[] = [\n columnFactories.createEntityRefColumn({ defaultKind: 'component' }),\n columnFactories.createSystemColumn(),\n columnFactories.createOwnerColumn(),\n columnFactories.createSpecTypeColumn(),\n columnFactories.createSpecLifecycleColumn(),\n columnFactories.createMetadataDescriptionColumn(),\n];\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Entity } from '@backstage/catalog-model';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { CSSProperties, ReactNode } from 'react';\nimport { columnFactories } from './columns';\nimport { componentEntityColumns, systemEntityColumns } from './presets';\nimport {\n InfoCardVariants,\n Table,\n TableColumn,\n TableOptions,\n} from '@backstage/core-components';\n\n/**\n * Props for {@link EntityTable}.\n *\n * @public\n */\nexport interface EntityTableProps<T extends Entity> {\n title: string;\n variant?: InfoCardVariants;\n entities: T[];\n emptyContent?: ReactNode;\n columns: TableColumn<T>[];\n tableOptions?: TableOptions;\n}\n\nconst useStyles = makeStyles(theme => ({\n empty: {\n padding: theme.spacing(2),\n display: 'flex',\n justifyContent: 'center',\n },\n}));\n\n/**\n * A general entity table component, that can be used for composing more\n * specific entity tables.\n *\n * @public\n */\nexport const EntityTable = <T extends Entity>(props: EntityTableProps<T>) => {\n const {\n entities,\n title,\n emptyContent,\n variant = 'gridItem',\n columns,\n tableOptions = {},\n } = props;\n\n const classes = useStyles();\n const tableStyle: CSSProperties = {\n minWidth: '0',\n width: '100%',\n };\n\n if (variant === 'gridItem') {\n tableStyle.height = 'calc(100% - 10px)';\n }\n\n return (\n <Table<T>\n columns={columns}\n title={title}\n style={tableStyle}\n emptyContent={\n emptyContent && <div className={classes.empty}>{emptyContent}</div>\n }\n options={{\n // TODO: Toolbar padding if off compared to other cards, should be: padding: 16px 24px;\n search: false,\n paging: false,\n actionsColumnIndex: -1,\n padding: 'dense',\n draggable: false,\n ...tableOptions,\n }}\n data={entities}\n />\n );\n};\n\nEntityTable.columns = columnFactories;\n\nEntityTable.systemEntityColumns = systemEntityColumns;\n\nEntityTable.componentEntityColumns = componentEntityColumns;\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Entity, stringifyEntityRef } from '@backstage/catalog-model';\nimport { AnalyticsContext } from '@backstage/core-plugin-api';\nimport {\n createVersionedContext,\n createVersionedValueMap,\n useVersionedContext,\n} from '@backstage/version-bridge';\nimport { ReactNode } from 'react';\n\n/** @public */\nexport type EntityLoadingStatus<TEntity extends Entity = Entity> = {\n entity?: TEntity;\n loading: boolean;\n error?: Error;\n refresh?: VoidFunction;\n};\n\n// This context has support for multiple concurrent versions of this package.\n// It is currently used in parallel with the old context in order to provide\n// a smooth transition, but will eventually be the only context we use.\nconst NewEntityContext = createVersionedContext<{ 1: EntityLoadingStatus }>(\n 'entity-context',\n);\n\n/**\n * Properties for the AsyncEntityProvider component.\n *\n * @public\n */\nexport interface AsyncEntityProviderProps {\n children: ReactNode;\n entity?: Entity;\n loading: boolean;\n error?: Error;\n refresh?: VoidFunction;\n}\n\n/**\n * Provides a loaded entity to be picked up by the `useEntity` hook.\n *\n * @public\n */\nexport const AsyncEntityProvider = (props: AsyncEntityProviderProps) => {\n const { children, entity, loading, error, refresh } = props;\n const value = { entity, loading, error, refresh };\n // We provide both the old and the new context, since\n // consumers might be doing things like `useContext(EntityContext)`\n return (\n <NewEntityContext.Provider value={createVersionedValueMap({ 1: value })}>\n <AnalyticsContext\n attributes={{\n ...(entity ? { entityRef: stringifyEntityRef(entity) } : undefined),\n }}\n >\n {children}\n </AnalyticsContext>\n </NewEntityContext.Provider>\n );\n};\n\n/**\n * Properties for the EntityProvider component.\n *\n * @public\n */\nexport interface EntityProviderProps {\n children: ReactNode;\n entity?: Entity;\n}\n\n/**\n * Provides an entity to be picked up by the `useEntity` hook.\n *\n * @public\n */\nexport const EntityProvider = (props: EntityProviderProps) => (\n <AsyncEntityProvider\n entity={props.entity}\n loading={!Boolean(props.entity)}\n error={undefined}\n refresh={undefined}\n children={props.children}\n />\n);\n\n/**\n * Grab the current entity from the context, throws if the entity has not yet been loaded\n * or is not available.\n *\n * @public\n */\nexport function useEntity<TEntity extends Entity = Entity>(): {\n entity: TEntity;\n} {\n const versionedHolder = useVersionedContext<{ 1: EntityLoadingStatus }>(\n 'entity-context',\n );\n\n if (!versionedHolder) {\n throw new Error('Entity context is not available');\n }\n\n const value = versionedHolder.atVersion(1);\n if (!value) {\n throw new Error('EntityContext v1 not available');\n }\n\n if (!value.entity) {\n throw new Error(\n 'useEntity hook is being called outside of an EntityLayout where the entity has not been loaded. If this is intentional, please use useAsyncEntity instead.',\n );\n }\n\n return { entity: value.entity as TEntity };\n}\n\n/**\n * Grab the current entity from the context, provides loading state and errors, and the ability to refresh.\n *\n * @public\n */\nexport function useAsyncEntity<\n TEntity extends Entity = Entity,\n>(): EntityLoadingStatus<TEntity> {\n const versionedHolder = useVersionedContext<{ 1: EntityLoadingStatus }>(\n 'entity-context',\n );\n\n if (!versionedHolder) {\n throw new Error('Entity context is not available');\n }\n const value = versionedHolder.atVersion(1);\n if (!value) {\n throw new Error('EntityContext v1 not available');\n }\n\n const { entity, loading, error, refresh } = value;\n return { entity: entity as TEntity, loading, error, refresh };\n}\n","/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createTranslationRef } from '@backstage/core-plugin-api/alpha';\n\n/** @alpha */\nexport const catalogTranslationRef = createTranslationRef({\n id: 'catalog',\n messages: {\n indexPage: {\n title: `{{orgName}} Catalog`,\n createButtonTitle: 'Create',\n supportButtonContent: 'All your software catalog entities',\n },\n aboutCard: {\n title: 'About',\n refreshButtonTitle: 'Schedule entity refresh',\n editButtonTitle: 'Edit Metadata',\n createSimilarButtonTitle: 'Create something similar',\n refreshScheduledMessage: 'Refresh scheduled',\n launchTemplate: 'Launch Template',\n viewTechdocs: 'View TechDocs',\n viewSource: 'View Source',\n descriptionField: {\n label: 'Description',\n value: 'No description',\n },\n ownerField: {\n label: 'Owner',\n value: 'No Owner',\n },\n domainField: {\n label: 'Domain',\n value: 'No Domain',\n },\n systemField: {\n label: 'System',\n value: 'No System',\n },\n parentComponentField: {\n label: 'Parent Component',\n value: 'No Parent Component',\n },\n typeField: {\n label: 'Type',\n },\n lifecycleField: {\n label: 'Lifecycle',\n },\n tagsField: {\n label: 'Tags',\n value: 'No Tags',\n },\n targetsField: {\n label: 'Targets',\n },\n },\n searchResultItem: {\n lifecycle: 'Lifecycle',\n Owner: 'Owner',\n },\n catalogTable: {\n warningPanelTitle: 'Could not fetch catalog entities.',\n viewActionTitle: 'View',\n editActionTitle: 'Edit',\n starActionTitle: 'Add to favorites',\n unStarActionTitle: 'Remove from favorites',\n },\n dependencyOfComponentsCard: {\n title: 'Dependency of components',\n emptyMessage: 'No component depends on this component',\n },\n dependsOnComponentsCard: {\n title: 'Depends on components',\n emptyMessage: 'No component is a dependency of this component',\n },\n dependsOnResourcesCard: {\n title: 'Depends on resources',\n emptyMessage: 'No resource is a dependency of this component',\n },\n entityContextMenu: {\n copiedMessage: 'Copied!',\n moreButtonTitle: 'More',\n inspectMenuTitle: 'Inspect entity',\n copyURLMenuTitle: 'Copy entity URL',\n unregisterMenuTitle: 'Unregister entity',\n },\n entityLabelsCard: {\n title: 'Labels',\n emptyDescription:\n 'No labels defined for this entity. You can add labels to your entity YAML as shown in the highlighted example below:',\n readMoreButtonTitle: 'Read more',\n },\n entityLabels: {\n warningPanelTitle: 'Entity not found',\n ownerLabel: 'Owner',\n lifecycleLabel: 'Lifecycle',\n },\n entityLinksCard: {\n title: 'Links',\n emptyDescription:\n 'No links defined for this entity. You can add links to your entity YAML as shown in the highlighted example below:',\n readMoreButtonTitle: 'Read more',\n },\n entityNotFound: {\n title: 'Entity was not found',\n description:\n 'Want to help us build this? Check out our Getting Started documentation.',\n docButtonTitle: 'DOCS',\n },\n deleteEntity: {\n dialogTitle: 'Are you sure you want to delete this entity?',\n deleteButtonTitle: 'Delete',\n cancelButtonTitle: 'Cancel',\n description:\n 'This entity is not referenced by any location and is therefore not receiving updates. Click here to delete.',\n },\n entityProcessingErrorsDescription: 'The error below originates from',\n entityRelationWarningDescription:\n \"This entity has relations to other entities, which can't be found in the catalog.\\n Entities not found are: \",\n hasComponentsCard: {\n title: 'Has components',\n emptyMessage: 'No component is part of this system',\n },\n hasResourcesCard: {\n title: 'Has resources',\n emptyMessage: 'No resource is part of this system',\n },\n hasSubcomponentsCard: {\n title: 'Has subcomponents',\n emptyMessage: 'No subcomponent is part of this component',\n },\n hasSubdomainsCard: {\n title: 'Has subdomains',\n emptyMessage: 'No subdomain is part of this domain',\n },\n hasSystemsCard: {\n title: 'Has systems',\n emptyMessage: 'No system is part of this domain',\n },\n relatedEntitiesCard: {\n emptyHelpLinkTitle: 'Learn how to change this',\n },\n systemDiagramCard: {\n title: 'System Diagram',\n description: 'Use pinch & zoom to move around the diagram.',\n edgeLabels: {\n partOf: 'part of',\n provides: 'provides',\n dependsOn: 'depends on',\n },\n },\n },\n});\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ComponentEntity, RELATION_HAS_PART } from '@backstage/catalog-model';\nimport {\n InfoCardVariants,\n TableColumn,\n TableOptions,\n} from '@backstage/core-components';\nimport {\n asComponentEntities,\n componentEntityColumns,\n RelatedEntitiesCard,\n} from '../RelatedEntitiesCard';\nimport { catalogTranslationRef } from '../../alpha/translation';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\n\n/** @public */\nexport interface HasSubcomponentsCardProps {\n variant?: InfoCardVariants;\n title?: string;\n columns?: TableColumn<ComponentEntity>[];\n tableOptions?: TableOptions;\n kind?: string;\n}\n\nexport function HasSubcomponentsCard(props: HasSubcomponentsCardProps) {\n const { t } = useTranslationRef(catalogTranslationRef);\n const {\n variant = 'gridItem',\n title = t('hasSubcomponentsCard.title'),\n columns = componentEntityColumns,\n tableOptions = {},\n kind = 'Component',\n } = props;\n return (\n <RelatedEntitiesCard\n variant={variant}\n title={title}\n entityKind={kind}\n relationType={RELATION_HAS_PART}\n columns={columns}\n asRenderableEntities={asComponentEntities}\n emptyMessage={t('hasSubcomponentsCard.emptyMessage')}\n emptyHelpLink=\"https://backstage.io/docs/features/software-catalog/descriptor-format#specsubcomponentof-optional\"\n tableOptions={tableOptions}\n />\n );\n}\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Entity, parseEntityRef } from '@backstage/catalog-model';\nimport { useApi } from '@backstage/core-plugin-api';\nimport useAsync from 'react-use/esm/useAsync';\nimport { catalogApiRef } from '../api';\n\n/**\n * Fetches all entities that appear in the entity's relations, optionally\n * filtered by relation type and kind.\n *\n * @public\n */\nexport function useRelatedEntities(\n entity: Entity,\n relationFilter: { type?: string; kind?: string },\n): {\n entities: Entity[] | undefined;\n loading: boolean;\n error: Error | undefined;\n} {\n const filterByTypeLower = relationFilter?.type?.toLocaleLowerCase('en-US');\n const filterByKindLower = relationFilter?.kind?.toLocaleLowerCase('en-US');\n const catalogApi = useApi(catalogApiRef);\n\n const {\n loading,\n value: entities,\n error,\n } = useAsync(async () => {\n const relations = entity.relations?.filter(\n r =>\n (!filterByTypeLower ||\n r.type.toLocaleLowerCase('en-US') === filterByTypeLower) &&\n (!filterByKindLower ||\n parseEntityRef(r.targetRef).kind === filterByKindLower),\n );\n\n if (!relations?.length) {\n return [];\n }\n\n const { items } = await catalogApi.getEntitiesByRefs({\n entityRefs: relations.map(r => r.targetRef),\n });\n\n return items.filter((x): x is Entity => Boolean(x));\n }, [entity, filterByTypeLower, filterByKindLower]);\n\n return {\n entities,\n loading,\n error,\n };\n}\n","/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ResponseError } from '@backstage/errors';\nimport { makeStyles } from '@material-ui/core/styles';\nimport Divider from '@material-ui/core/Divider';\nimport ListItem from '@material-ui/core/ListItem';\nimport ListItemText from '@material-ui/core/ListItemText';\nimport { CodeSnippet } from '../CodeSnippet';\nimport { CopyTextButton } from '../CopyTextButton';\nimport { ErrorPanel, ErrorPanelProps } from '../ErrorPanel';\n\nexport type ResponseErrorPanelClassKey = 'text' | 'divider';\n\nconst useStyles = makeStyles(\n theme => ({\n text: {\n fontFamily: 'monospace',\n whiteSpace: 'pre',\n overflowX: 'auto',\n marginRight: theme.spacing(2),\n },\n divider: {\n margin: theme.spacing(2),\n },\n }),\n { name: 'BackstageResponseErrorPanel' },\n);\n\n/**\n * Renders a warning panel as the effect of a failed server request.\n *\n * @remarks\n * Has special treatment for ResponseError errors, to display rich\n * server-provided information about what happened.\n */\nexport function ResponseErrorPanel(props: ErrorPanelProps) {\n const { title, error, defaultExpanded } = props;\n const classes = useStyles();\n\n if (error.name !== 'ResponseError') {\n return (\n <ErrorPanel\n title={title ?? error.message}\n defaultExpanded={defaultExpanded}\n error={error}\n />\n );\n }\n\n const { body, cause } = error as ResponseError;\n const { request, response } = body;\n\n const errorString = `${response.statusCode}: ${cause.name}`;\n const requestString = request && `${request.method} ${request.url}`;\n const messageString = cause.message.replace(/\\\\n/g, '\\n');\n const stackString = cause.stack?.replace(/\\\\n/g, '\\n');\n const jsonString = JSON.stringify(body, undefined, 2);\n\n return (\n <ErrorPanel\n title={title ?? error.message}\n defaultExpanded={defaultExpanded}\n error={{ name: errorString, message: messageString, stack: stackString }}\n >\n {requestString && (\n <ListItem alignItems=\"flex-start\">\n <ListItemText\n classes={{ secondary: classes.text }}\n primary=\"Request\"\n secondary={request ? `${requestString}` : undefined}\n />\n <CopyTextButton text={requestString} />\n </ListItem>\n )}\n <>\n <Divider component=\"li\" className={classes.divider} />\n <ListItem alignItems=\"flex-start\">\n <ListItemText\n classes={{ secondary: classes.text }}\n primary=\"Full Error as JSON\"\n />\n </ListItem>\n <CodeSnippet language=\"json\" text={jsonString} showCopyCodeButton />\n </>\n </ErrorPanel>\n );\n}\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Entity } from '@backstage/catalog-model';\nimport Typography from '@material-ui/core/Typography';\nimport {\n EntityTable,\n useEntity,\n useRelatedEntities,\n} from '@backstage/plugin-catalog-react';\nimport {\n InfoCard,\n InfoCardVariants,\n Link,\n Progress,\n ResponseErrorPanel,\n TableColumn,\n TableOptions,\n} from '@backstage/core-components';\nimport {\n asComponentEntities,\n asDomainEntities,\n asResourceEntities,\n asSystemEntities,\n componentEntityColumns,\n componentEntityHelpLink,\n domainEntityColumns,\n domainEntityHelpLink,\n resourceEntityColumns,\n resourceEntityHelpLink,\n systemEntityColumns,\n systemEntityHelpLink,\n} from './presets';\nimport { catalogTranslationRef } from '../../alpha/translation';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\n\n/** @public */\nexport type RelatedEntitiesCardProps<T extends Entity> = {\n variant?: InfoCardVariants;\n title: string;\n columns: TableColumn<T>[];\n entityKind?: string;\n relationType: string;\n emptyMessage: string;\n emptyHelpLink: string;\n asRenderableEntities: (entities: Entity[]) => T[];\n tableOptions?: TableOptions;\n};\n\n/**\n * A low level card component that can be used as a building block for more\n * specific cards.\n *\n * @remarks\n *\n * You probably want to make a dedicated component for your needs, which renders\n * this card as its implementation with some of the props set to the appropriate\n * values.\n *\n * @public\n */\nexport const RelatedEntitiesCard = <T extends Entity>(\n props: RelatedEntitiesCardProps<T>,\n) => {\n const {\n variant = 'gridItem',\n title,\n columns,\n entityKind,\n relationType,\n emptyMessage,\n emptyHelpLink,\n asRenderableEntities,\n tableOptions = {},\n } = props;\n const { t } = useTranslationRef(catalogTranslationRef);\n const { entity } = useEntity();\n const { entities, loading, error } = useRelatedEntities(entity, {\n type: relationType,\n kind: entityKind,\n });\n\n if (loading) {\n return (\n <InfoCard variant={variant} title={title}>\n <Progress />\n </InfoCard>\n );\n }\n\n if (error) {\n return (\n <InfoCard variant={variant} title={title}>\n <ResponseErrorPanel error={error} />\n </InfoCard>\n );\n }\n\n return (\n <EntityTable\n title={title}\n variant={variant}\n emptyContent={\n <div style={{ textAlign: 'center' }}>\n <Typography variant=\"body1\">{emptyMessage}</Typography>\n <Typography variant=\"body2\">\n <Link to={emptyHelpLink} externalLinkIcon>\n {t('relatedEntitiesCard.emptyHelpLinkTitle')}\n </Link>\n </Typography>\n </div>\n }\n columns={columns}\n entities={asRenderableEntities(entities || [])}\n tableOptions={tableOptions}\n />\n );\n};\n\nRelatedEntitiesCard.componentEntityColumns = componentEntityColumns;\nRelatedEntitiesCard.componentEntityHelpLink = componentEntityHelpLink;\nRelatedEntitiesCard.asComponentEntities = asComponentEntities;\nRelatedEntitiesCard.resourceEntityColumns = resourceEntityColumns;\nRelatedEntitiesCard.resourceEntityHelpLink = resourceEntityHelpLink;\nRelatedEntitiesCard.asResourceEntities = asResourceEntities;\nRelatedEntitiesCard.systemEntityColumns = systemEntityColumns;\nRelatedEntitiesCard.systemEntityHelpLink = systemEntityHelpLink;\nRelatedEntitiesCard.asSystemEntities = asSystemEntities;\nRelatedEntitiesCard.domainEntityColums = domainEntityColumns;\nRelatedEntitiesCard.domainEntityHelpLink = domainEntityHelpLink;\nRelatedEntitiesCard.asDomainEntities = asDomainEntities;\n","/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport {\n ComponentEntity,\n DomainEntity,\n Entity,\n ResourceEntity,\n SystemEntity,\n} from '@backstage/catalog-model';\nimport { EntityTable } from '@backstage/plugin-catalog-react';\nimport { TableColumn } from '@backstage/core-components';\n\nexport const componentEntityColumns: TableColumn<ComponentEntity>[] = [\n EntityTable.columns.createEntityRefColumn({ defaultKind: 'component' }),\n EntityTable.columns.createOwnerColumn(),\n EntityTable.columns.createSpecTypeColumn(),\n EntityTable.columns.createSpecLifecycleColumn(),\n EntityTable.columns.createMetadataDescriptionColumn(),\n];\nexport const componentEntityHelpLink: string =\n 'https://backstage.io/docs/features/software-catalog/descriptor-format#kind-component';\nexport const asComponentEntities = (entities: Entity[]): ComponentEntity[] =>\n entities as ComponentEntity[];\n\nexport const resourceEntityColumns: TableColumn<ResourceEntity>[] = [\n EntityTable.columns.createEntityRefColumn({ defaultKind: 'resource' }),\n EntityTable.columns.createOwnerColumn(),\n EntityTable.columns.createSpecTypeColumn(),\n EntityTable.columns.createSpecLifecycleColumn(),\n EntityTable.columns.createMetadataDescriptionColumn(),\n];\nexport const resourceEntityHelpLink: string =\n 'https://backstage.io/docs/features/software-catalog/descriptor-format#kind-resource';\nexport const asResourceEntities = (entities: Entity[]): ResourceEntity[] =>\n entities as ResourceEntity[];\n\nexport const systemEntityColumns: TableColumn<SystemEntity>[] = [\n EntityTable.columns.createEntityRefColumn({ defaultKind: 'system' }),\n EntityTable.columns.createOwnerColumn(),\n EntityTable.columns.createMetadataDescriptionColumn(),\n];\nexport const systemEntityHelpLink: string =\n 'https://backstage.io/docs/features/software-catalog/descriptor-format#kind-system';\nexport const asSystemEntities = (entities: Entity[]): SystemEntity[] =>\n entities as SystemEntity[];\n\nexport const domainEntityColumns: TableColumn<DomainEntity>[] = [\n EntityTable.columns.createEntityRefColumn({ defaultKind: 'domain' }),\n EntityTable.columns.createOwnerColumn(),\n EntityTable.columns.createMetadataDescriptionColumn(),\n];\nexport const domainEntityHelpLink: string =\n 'https://backstage.io/docs/features/software-catalog/descriptor-format#kind-domain';\nexport const asDomainEntities = (entities: Entity[]): DomainEntity[] =>\n entities as DomainEntity[];\n"],"names":["_interopRequireDefault","_interopRequireWildcard","exports","React","_createSvgIcon","_default","useStyles","makeStyles","container","overflow","typo","fontSize","textOverflow","display","line","name","OverflowTooltip","props","classes","Tooltip","title","text","placement","Typography","className","variant","theme","root","maxWidth","padding","spacing","boxTitle","margin","color","palette","textSubtle","arrow","BottomLink","link","onClick","Box","Divider","Link","to","underline","alignItems","fontWeight","m","strong","ArrowIcon","SlackLink","slackChannel","t","useTranslationRef","coreComponentsTranslationRef","href","LinkButton","ErrorBoundary","Component","constructor","state","error","undefined","errorInfo","componentDidCatch","console","setState","render","children","ErrorPanel","noPadding","paddingBottom","contentAlignBottom","header","headerTitle","typography","fontWeightBold","headerSubheader","paddingTop","headerAvatar","headerAction","headerContent","subheader","CardActionsTopRight","withStyles","float","CardActions","VARIANT_STYLES","card","flex","flexDirection","fullHeight","height","gridItem","marginBottom","breakInside","cardContent","InfoCard","divider","deepLink","errorBoundaryProps","alignContent","headerStyle","headerProps","icon","action","actionsClassName","actions","cardClassName","actionsTopRight","titleTypographyProps","subheaderTypographyProps","calculatedStyle","calculatedCardStyle","split","forEach","cardSubTitle","div","data-testid","errProps","Card","style","CardHeader","classNames","avatar","content","CardContent","columnFactories","Object","freeze","createEntityRefColumn","options","defaultKind","formatContent","entity","metadata","humanizeEntityRef","highlight","customFilterAndSearch","filter","includes","customSort","entity1","entity2","localeCompare","EntityRefLink","entityRef","createEntityRelationColumn","relation","entityFilter","getRelations","getEntityRelations","map","r","join","EntityRefLinks","entityRefs","createOwnerColumn","RELATION_OWNED_BY","createDomainColumn","RELATION_PART_OF","kind","createSystemColumn","createMetadataDescriptionColumn","field","description","createSpecLifecycleColumn","createSpecTypeColumn","systemEntityColumns","componentEntityColumns","empty","justifyContent","EntityTable","entities","emptyContent","columns","tableOptions","tableStyle","minWidth","width","Table","search","paging","actionsColumnIndex","draggable","data","NewEntityContext","createVersionedContext","AsyncEntityProvider","loading","refresh","value","Provider","createVersionedValueMap","AnalyticsContext","attributes","stringifyEntityRef","EntityProvider","useEntity","versionedHolder","useVersionedContext","Error","atVersion","useAsyncEntity","catalogTranslationRef","createTranslationRef","id","messages","indexPage","createButtonTitle","supportButtonContent","aboutCard","refreshButtonTitle","editButtonTitle","createSimilarButtonTitle","refreshScheduledMessage","launchTemplate","viewTechdocs","viewSource","descriptionField","label","ownerField","domainField","systemField","parentComponentField","typeField","lifecycleField","tagsField","targetsField","searchResultItem","lifecycle","Owner","catalogTable","warningPanelTitle","viewActionTitle","editActionTitle","starActionTitle","unStarActionTitle","dependencyOfComponentsCard","emptyMessage","dependsOnComponentsCard","dependsOnResourcesCard","entityContextMenu","copiedMessage","moreButtonTitle","inspectMenuTitle","copyURLMenuTitle","unregisterMenuTitle","entityLabelsCard","emptyDescription","readMoreButtonTitle","entityLabels","ownerLabel","lifecycleLabel","entityLinksCard","entityNotFound","docButtonTitle","deleteEntity","dialogTitle","deleteButtonTitle","cancelButtonTitle","entityProcessingErrorsDescription","entityRelationWarningDescription","hasComponentsCard","hasResourcesCard","hasSubcomponentsCard","hasSubdomainsCard","hasSystemsCard","relatedEntitiesCard","emptyHelpLinkTitle","systemDiagramCard","edgeLabels","partOf","provides","dependsOn","HasSubcomponentsCard","RelatedEntitiesCard","entityKind","relationType","RELATION_HAS_PART","asRenderableEntities","asComponentEntities","emptyHelpLink","useRelatedEntities","relationFilter","filterByTypeLower","type","toLocaleLowerCase","filterByKindLower","catalogApi","useApi","catalogApiRef","useAsync","relations","parseEntityRef","targetRef","length","items","getEntitiesByRefs","x","Boolean","fontFamily","whiteSpace","overflowX","marginRight","ResponseErrorPanel","defaultExpanded","message","body","cause","request","response","errorString","statusCode","requestString","method","url","messageString","replace","stackString","stack","jsonString","JSON","stringify","ListItem","ListItemText","secondary","primary","CopyTextButton","component","CodeSnippet","language","showCopyCodeButton","Progress","textAlign","externalLinkIcon","componentEntityHelpLink","resourceEntityColumns","resourceEntityHelpLink","asResourceEntities","systemEntityHelpLink","asSystemEntities","domainEntityColums","domainEntityColumns","domainEntityHelpLink","asDomainEntities"],"sourceRoot":""}
@@ -1,11 +0,0 @@
1
- "use strict";(()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[5788,8803],{70048:($,f,t)=>{t.d(f,{K:()=>c});var e=t(18690);function c(R){return(0,e.g)()}},99538:($,f,t)=>{t.d(f,{T7:()=>j,TY:()=>p,tN:()=>S});var e=t(31085),c=t(6820),R=t(25862),m=t(43836),A=t(10602);const M=(0,m.tK)("entity-context"),j=g=>{const{children:v,entity:x,loading:O,error:D,refresh:C}=g,T={entity:x,loading:O,error:D,refresh:C};return(0,e.jsx)(M.Provider,{value:(0,A.B)({1:T}),children:(0,e.jsx)(R.Ig,{attributes:{...x?{entityRef:(0,c.U2)(x)}:void 0},children:v})})},B=g=>_jsx(j,{entity:g.entity,loading:!g.entity,error:void 0,refresh:void 0,children:g.children});function S(){const g=(0,m.qO)("entity-context");if(!g)throw new Error("Entity context is not available");const v=g.atVersion(1);if(!v)throw new Error("EntityContext v1 not available");if(!v.entity)throw new Error("useEntity hook is being called outside of an EntityLayout where the entity has not been loaded. If this is intentional, please use useAsyncEntity instead.");return{entity:v.entity}}function p(){const g=(0,m.qO)("entity-context");if(!g)throw new Error("Entity context is not available");const v=g.atVersion(1);if(!v)throw new Error("EntityContext v1 not available");const{entity:x,loading:O,error:D,refresh:C}=v;return{entity:x,loading:O,error:D,refresh:C}}},38803:($,f,t)=>{t.r(f),t.d(f,{EmbeddedDocsRouter:()=>z,LegacyEmbeddedDocsRouter:()=>y,Router:()=>G,TechDocsReaderRouter:()=>X,isTechDocsAvailable:()=>V});var e=t(31085),c=t(18690),R=t(6820),m=t(86202),A=t(65614),M=t(39278),j=t(13976),B=t(39299),S=t(14041),p=t(9222),g=t(82779);const v=n=>n.replace(/^\/+/,""),x=n=>n.replace(/\/+$/,"");function O(n){const{kind:o,name:a,namespace:r}=n,s=(0,p.S)(g.Oc),u=(0,p.S)(g.Ri);return(0,S.useMemo)(()=>{const d=x(s({kind:o,namespace:r,name:a})),i=x(u());return l=>{if(l.toLocaleLowerCase("en-US").startsWith(d.toLocaleLowerCase("en-US"))){const h=v(l.slice(d.length));return h.length===0||h.startsWith("#")?`${i}${h}`:`${i}/${h}`}return l}},[s,u,o,a,r])}const D=({entity:n,withSearch:o=!0})=>{let a=(0,R.sM)(n);const r=O(a);if(n.metadata.annotations?.[m.GO])try{a=(0,R.KU)(n.metadata.annotations?.[m.GO])}catch{}const s=(0,A.oN)(n);return(0,e.jsxs)(M.Wj,{entityRef:a,children:[(0,e.jsx)(B.Z,{}),(0,e.jsx)(j.p,{withSearch:o,searchResultUrlMapper:r,defaultPath:s})]})};var C=t(85788),T=t(93160),L=t(99538),N=t(10394),Y=t(64947),F=t(58837),H=t(72501),U=t(44186),K=t(77310),I=t(72072);const W=(0,F.A)(n=>({code:{borderRadius:6,margin:n.spacing(2,0),background:n.palette.type==="dark"?"#444":n.palette.common.white}}),{name:"BackstageMissingAnnotationEmptyState"});function Z(n,o){const a=o?.kind||"Component",r=o?.metadata.name||"example",s=o?.spec?.type||"website",u=o?.spec?.owner||"user:default/guest",E=`apiVersion: backstage.io/v1alpha1
2
- kind: ${a}
3
- metadata:
4
- name: ${r}
5
- annotations:${n.map(l=>`
6
- ${l}: value`).join("")}
7
- spec:
8
- type: ${s}
9
- owner: ${u}`;let d=6;const i=[];return n.forEach(()=>{i.push(d),d++}),{yamlText:E,lineNumbers:i}}function J(n,o="Component"){const a=n.length<=1;return(0,e.jsxs)(e.Fragment,{children:["The ",a?"annotation":"annotations"," ",n.map(r=>(0,e.jsx)("code",{children:r})).reduce((r,s)=>(0,e.jsxs)(e.Fragment,{children:[r,", ",s]}))," ",a?"is":"are"," missing. You need to add the"," ",a?"annotation":"annotations"," to your ",o," if you want to enable this tool."]})}function Q(n){let o;try{o=(0,L.tN)().entity}catch{}const{annotation:a,readMoreUrl:r}=n,s=Array.isArray(a)?a:[a],u=r||"https://backstage.io/docs/features/software-catalog/well-known-annotations",E=W(),d=o?.kind||"Component",{yamlText:i,lineNumbers:l}=Z(s,o);return(0,e.jsx)(U.p,{missing:"field",title:"Missing Annotation",description:J(s,d),action:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(H.A,{variant:"body1",children:["Add the annotation to your ",d," YAML as shown in the highlighted example below:"]}),(0,e.jsx)(N.A,{className:E.code,children:(0,e.jsx)(K.z,{text:i,language:"yaml",showLineNumbers:!0,highlightedNumbers:l,customStyle:{background:"inherit",fontSize:"115%"}})}),(0,e.jsx)(Y.A,{color:"primary",component:I.N_,to:u,children:"Read more"})]})})}const V=n=>!!n?.metadata?.annotations?.[m.As]||!!n?.metadata?.annotations?.[m.GO],G=()=>(0,e.jsxs)(c.BV,{children:[(0,e.jsx)(c.qh,{path:"/",element:(0,e.jsx)(C.TechDocsIndexPage,{})}),(0,e.jsx)(c.qh,{path:"/:namespace/:kind/:name/*",element:(0,e.jsx)(T.W,{})})]}),X=n=>{const{children:o}=n;return(0,c.Ye)([{path:"*",element:(0,e.jsx)(T.W,{}),children:[{path:"*",element:o}]}])},z=n=>{const{children:o,emptyState:a,withSearch:r=!0}=n,{entity:s}=(0,L.tN)(),u=(0,c.Ye)([{path:"/*",element:(0,e.jsx)(D,{entity:s,withSearch:r}),children:[{path:"*",element:o}]}]);return s.metadata.annotations?.[m.As]||s.metadata.annotations?.[m.GO]?u:a??(0,e.jsx)(Q,{annotation:[m.As]})},y=({children:n,withSearch:o=!0})=>(0,e.jsx)(z,{children:n,withSearch:o})},85788:($,f,t)=>{t.r(f),t.d(f,{TechDocsIndexPage:()=>m});var e=t(31085),c=t(18690),R=t(8915);const m=A=>(0,c.P1)()||(0,e.jsx)(R.K,{...A})},93160:($,f,t)=>{t.d(f,{b:()=>G,W:()=>z});var e=t(31085),c=t(14041),R=t(18690),m=t(24504),A=t(72020),M=t(88572),j=t(13976),B=t(45061),S=t(39299),p=t(82779),g=t(70048),v=t(19402),x=t(22020),O=t(82266),D=t(64947),C=t(72427),T=t(70795),L=t(57405),N=t(16261);function Y(y,n){const[o,a]=(0,c.useState)({status:"not-executed",error:void 0,result:n}),r=(0,c.useRef)(),s=(0,c.useRef)(),u=(0,N.J)({execute(...E){s.current=E;const d=y(...E);return r.current=d,a(i=>({...i,status:"loading"})),d.then(i=>{d===r.current&&a(l=>({...l,status:"success",error:void 0,result:i}))},i=>{d===r.current&&a(l=>({...l,status:"error",error:i}))}),d},reset(){a({status:"not-executed",error:void 0,result:n}),r.current=void 0,s.current=void 0}});return[o,(0,c.useMemo)(()=>({reset(){u.current.reset()},execute:(...E)=>u.current.execute(...E)}),[]),{promise:r.current,lastArgs:s.current}]}var F=t(76842),H=t(70835);const U="/.backstage/auth/v1/cookie",K=365*24*36e5;function I(y){const{pluginId:n}=y??{},o=(0,C.gf)(T.a),a=(0,C.gf)(L.I),r=(0,c.useMemo)(()=>"BroadcastChannel"in window?new BroadcastChannel(`${n}-auth-cookie-expires-at`):null,[n]),[s,u]=Y(async()=>{const l=`${await a.getBaseUrl(n)}${U}`,h=await o.fetch(`${l}`,{credentials:"include"});if(!h.ok){if(h.status===404)return{expiresAt:new Date(Date.now()+K)};throw await H.o.fromResponse(h)}const P=await h.json();if(!P.expiresAt)throw new Error("No expiration date found in response");return P});(0,F.u)(u.execute);const E=(0,c.useCallback)(()=>{u.execute()},[u]),d=(0,c.useCallback)(i=>{const l=(1+3*Math.random())*6e4,h=Date.parse(i.expiresAt)-Date.now()-l,P=setTimeout(E,h);return()=>clearTimeout(P)},[E]);return(0,c.useEffect)(()=>{if(s.status!=="success"||!s.result)return()=>{};r?.postMessage({action:"COOKIE_REFRESH_SUCCESS",payload:s.result});let i=d(s.result);const l=h=>{const{action:P,payload:b}=h.data;P==="COOKIE_REFRESH_SUCCESS"&&(i(),i=d(b))};return r?.addEventListener("message",l),()=>{i(),r?.removeEventListener("message",l)}},[s,d,r]),s.status==="not-executed"?{status:"loading"}:s.status==="loading"&&!s.result?{status:"loading"}:s.status==="loading"&&s.error?{status:"loading"}:s.status==="error"&&s.error?{status:"error",error:s.error,retry:E}:{status:"success",data:s.result}}function W(y){const{children:n,...o}=y,a=(0,O.n)(),{Progress:r}=a.getComponents(),s=I(o);return s.status==="loading"?(0,e.jsx)(r,{}):s.status==="error"?(0,e.jsx)(x.b,{error:s.error,children:(0,e.jsx)(D.A,{variant:"outlined",onClick:s.retry,children:"Retry"})}):(0,e.jsx)(e.Fragment,{children:n})}var Z=t(58502),J=t(54917),Q=t(98392),V=t(50868);const G=y=>{const{withSearch:n,withHeader:o=!0}=y;return(0,e.jsxs)(m.Y,{themeId:"documentation",children:[o&&(0,e.jsx)(B.T,{}),(0,e.jsx)(S.Z,{}),(0,e.jsx)(j.p,{withSearch:n})]})},X=(0,Z.A)(m.Y)({height:"inherit",overflowY:"visible"}),z=y=>{const n=(0,J.A)(),o=(0,Q.A)({...n,...y.overrideThemeOptions||{}}),{kind:a,name:r,namespace:s}=(0,g.K)(p.Oc),{children:u,entityRef:E={kind:a,name:r,namespace:s}}=y,d=(0,R.P1)();if(!u){const h=(d?c.Children.toArray(d.props.children):[]).flatMap(P=>P?.props?.children??[]).find(P=>!(0,v.E)(P,A.AF)&&!(0,v.E)(P,A.Wm));return(0,e.jsx)(V.A,{theme:o,children:(0,e.jsx)(W,{pluginId:"techdocs",children:(0,e.jsx)(M.R,{entityRef:E,children:h||(0,e.jsx)(G,{})})})})}return(0,e.jsx)(V.A,{theme:o,children:(0,e.jsx)(W,{pluginId:"techdocs",children:(0,e.jsx)(M.R,{entityRef:E,children:({metadata:i,entityMetadata:l,onReady:h})=>(0,e.jsx)(X,{themeId:"documentation",className:"techdocs-reader-page",children:u instanceof Function?u({entityRef:E,techdocsMetadataValue:i.value,entityMetadataValue:l.value,onReady:h}):u})})})})}},39299:($,f,t)=>{t.d(f,{Z:()=>O});var e=t(31085),c=t(14041),R=t(58837),m=t(29365),A=t(75173),M=t(71677),j=t(37757),B=t(10394),S=t(9684),p=t(88572),g=t(72020),v=t(99730);const x=(0,R.A)(D=>({root:{gridArea:"pageSubheader",flexDirection:"column",minHeight:"auto",padding:D.spacing(3,3,0),"@media print":{display:"none"}}})),O=D=>{const C=x(),[T,L]=(0,c.useState)(null),N=(0,c.useCallback)(W=>{L(W.currentTarget)},[]),Y=(0,c.useCallback)(()=>{L(null)},[]),{entityMetadata:{value:F,loading:H}}=(0,p.V)(),U=(0,g.YR)(),K=U.renderComponentsByLocation(v.e.Subheader),I=U.renderComponentsByLocation(v.e.Settings);return!K&&!I||H===!1&&!F?null:(0,e.jsx)(A.A,{classes:C,...D.toolbarProps,children:(0,e.jsxs)(B.A,{display:"flex",justifyContent:"flex-end",width:"100%",flexWrap:"wrap",children:[K,I?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(M.Ay,{title:"Settings",children:(0,e.jsx)(m.A,{"aria-controls":"tech-docs-reader-page-settings","aria-haspopup":"true",onClick:N,children:(0,e.jsx)(S.A,{})})}),(0,e.jsx)(j.A,{id:"tech-docs-reader-page-settings",getContentAnchorEl:null,anchorEl:T,anchorOrigin:{vertical:"bottom",horizontal:"right"},open:!!T,onClose:Y,keepMounted:!0,children:(0,e.jsx)("div",{children:I})})]}):null]})})}}}]);})();
10
-
11
- //# sourceMappingURL=8803.48dd4e23.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/8803.48dd4e23.chunk.js","mappings":"kLAwBO,SAASA,EACdC,EAAiD,CAEjD,SAAOC,EAAAA,GAAU,CACnB,C,gHCOA,MAAMC,KAAmBC,EAAAA,IACvB,gBAAgB,EAqBLC,EAAuBC,GAAAA,CAClC,KAAM,CAAEC,SAAAA,EAAUC,OAAAA,EAAQC,QAAAA,EAASC,MAAAA,EAAOC,QAAAA,CAAQ,EAAIL,EAChDM,EAAQ,CAAEJ,OAAAA,EAAQC,QAAAA,EAASC,MAAAA,EAAOC,QAAAA,CAAQ,EAGhD,SACE,OAACR,EAAiBU,SAAQ,CAACD,SAAOE,EAAAA,GAAwB,CAAE,EAAGF,CAAM,CAAC,E,YACpE,OAACG,EAAAA,GAAgBA,CACfC,WAAY,CACV,GAAIR,EAAS,CAAES,aAAWC,EAAAA,IAAmBV,CAAM,CAAE,EAAIW,MAC3D,E,SAECZ,C,IAIT,EAiBaa,EAAkBd,GAC7B,KAACD,EAAAA,CACCG,OAAQF,EAAME,OACdC,QAAS,CAASH,EAAME,OACxBE,MAAOS,OACPR,QAASQ,OACTZ,SAAUD,EAAMC,Q,GAUb,SAASc,GAAAA,CAGd,MAAMC,KAAkBC,EAAAA,IACtB,gBAAgB,EAGlB,GAAI,CAACD,EACH,MAAM,IAAIE,MAAM,iCAAiC,EAGnD,MAAMZ,EAAQU,EAAgBG,UAAU,CAAC,EACzC,GAAI,CAACb,EACH,MAA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jB,EAAuB,QAG7D,OAAC2B,EAAAA,EAAOA,CAAC9J,QAASA,EAAU,GAAG1F,EAAMyP,a,YACnC,QAACvJ,EAAAA,EAAGA,CACFqI,QAAQ,OACRmB,eAAe,WACfC,MAAM,OACNC,SAAS,O,UAERV,EACAI,KACC,oB,aACE,OAACO,EAAAA,GAAOA,CAAChK,MAAM,W,YACb,OAACiK,EAAAA,EAAUA,CACTC,gBAAc,iCACdC,gBAAc,OACd/D,QAAS0C,E,YAET,OAACsB,EAAAA,EAAYA,CAAAA,CAAAA,C,QAGjB,OAACC,EAAAA,EAAIA,CACHC,GAAG,iCACHC,mBAAoB,KACpB5B,SAAUA,EACV6B,aAAc,CAAEC,SAAU,SAAUC,WAAY,OAAQ,EACxDC,KAAMvJ,EAAQuH,EACdiC,QAAS5B,EACT6B,YAAW,G,YAEX,OAACC,MAAAA,C,SAAKrB,C,QAGR,I,KAIZ,C","sources":["webpack://techdocs-cli-embedded-app/../core-plugin-api/src/routing/useRouteRefParams.ts","webpack://techdocs-cli-embedded-app/../../plugins/catalog-react/src/hooks/useEntity.tsx","webpack://techdocs-cli-embedded-app/../../plugins/techdocs/src/search/hooks/useTechDocsLocation.ts","webpack://techdocs-cli-embedded-app/../../plugins/techdocs/src/EntityPageDocs.tsx","webpack://techdocs-cli-embedded-app/../../plugins/catalog-react/src/components/MissingAnnotationEmptyState/MissingAnnotationEmptyState.tsx","webpack://techdocs-cli-embedded-app/../../plugins/techdocs/src/Router.tsx","webpack://techdocs-cli-embedded-app/../../plugins/techdocs/src/home/components/TechDocsIndexPage.tsx","webpack://techdocs-cli-embedded-app/../../node_modules/@react-hookz/web/src/useAsync/index.js","webpack://techdocs-cli-embedded-app/../../plugins/auth-react/src/hooks/useCookieAuthRefresh/useCookieAuthRefresh.tsx","webpack://techdocs-cli-embedded-app/../../plugins/auth-react/src/components/CookieAuthRefreshProvider/CookieAuthRefreshProvider.tsx","webpack://techdocs-cli-embedded-app/../../plugins/techdocs/src/reader/components/TechDocsReaderPage/TechDocsReaderPage.tsx","webpack://techdocs-cli-embedded-app/../../plugins/techdocs/src/reader/components/TechDocsReaderPageSubheader/TechDocsReaderPageSubheader.tsx"],"sourcesContent":["/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { useParams } from 'react-router-dom';\nimport { RouteRef, AnyParams, SubRouteRef } from './types';\n\n/**\n * React hook for retrieving dynamic params from the current URL.\n * @param _routeRef - Ref of the current route.\n * @public\n */\nexport function useRouteRefParams<Params extends AnyParams>(\n _routeRef: RouteRef<Params> | SubRouteRef<Params>,\n): Params {\n return useParams() as Params;\n}\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { Entity, stringifyEntityRef } from '@backstage/catalog-model';\nimport { AnalyticsContext } from '@backstage/core-plugin-api';\nimport {\n createVersionedContext,\n createVersionedValueMap,\n useVersionedContext,\n} from '@backstage/version-bridge';\nimport { ReactNode } from 'react';\n\n/** @public */\nexport type EntityLoadingStatus<TEntity extends Entity = Entity> = {\n entity?: TEntity;\n loading: boolean;\n error?: Error;\n refresh?: VoidFunction;\n};\n\n// This context has support for multiple concurrent versions of this package.\n// It is currently used in parallel with the old context in order to provide\n// a smooth transition, but will eventually be the only context we use.\nconst NewEntityContext = createVersionedContext<{ 1: EntityLoadingStatus }>(\n 'entity-context',\n);\n\n/**\n * Properties for the AsyncEntityProvider component.\n *\n * @public\n */\nexport interface AsyncEntityProviderProps {\n children: ReactNode;\n entity?: Entity;\n loading: boolean;\n error?: Error;\n refresh?: VoidFunction;\n}\n\n/**\n * Provides a loaded entity to be picked up by the `useEntity` hook.\n *\n * @public\n */\nexport const AsyncEntityProvider = (props: AsyncEntityProviderProps) => {\n const { children, entity, loading, error, refresh } = props;\n const value = { entity, loading, error, refresh };\n // We provide both the old and the new context, since\n // consumers might be doing things like `useContext(EntityContext)`\n return (\n <NewEntityContext.Provider value={createVersionedValueMap({ 1: value })}>\n <AnalyticsContext\n attributes={{\n ...(entity ? { entityRef: stringifyEntityRef(entity) } : undefined),\n }}\n >\n {children}\n </AnalyticsContext>\n </NewEntityContext.Provider>\n );\n};\n\n/**\n * Properties for the EntityProvider component.\n *\n * @public\n */\nexport interface EntityProviderProps {\n children: ReactNode;\n entity?: Entity;\n}\n\n/**\n * Provides an entity to be picked up by the `useEntity` hook.\n *\n * @public\n */\nexport const EntityProvider = (props: EntityProviderProps) => (\n <AsyncEntityProvider\n entity={props.entity}\n loading={!Boolean(props.entity)}\n error={undefined}\n refresh={undefined}\n children={props.children}\n />\n);\n\n/**\n * Grab the current entity from the context, throws if the entity has not yet been loaded\n * or is not available.\n *\n * @public\n */\nexport function useEntity<TEntity extends Entity = Entity>(): {\n entity: TEntity;\n} {\n const versionedHolder = useVersionedContext<{ 1: EntityLoadingStatus }>(\n 'entity-context',\n );\n\n if (!versionedHolder) {\n throw new Error('Entity context is not available');\n }\n\n const value = versionedHolder.atVersion(1);\n if (!value) {\n throw new Error('EntityContext v1 not available');\n }\n\n if (!value.entity) {\n throw new Error(\n 'useEntity hook is being called outside of an EntityLayout where the entity has not been loaded. If this is intentional, please use useAsyncEntity instead.',\n );\n }\n\n return { entity: value.entity as TEntity };\n}\n\n/**\n * Grab the current entity from the context, provides loading state and errors, and the ability to refresh.\n *\n * @public\n */\nexport function useAsyncEntity<\n TEntity extends Entity = Entity,\n>(): EntityLoadingStatus<TEntity> {\n const versionedHolder = useVersionedContext<{ 1: EntityLoadingStatus }>(\n 'entity-context',\n );\n\n if (!versionedHolder) {\n throw new Error('Entity context is not available');\n }\n const value = versionedHolder.atVersion(1);\n if (!value) {\n throw new Error('EntityContext v1 not available');\n }\n\n const { entity, loading, error, refresh } = value;\n return { entity: entity as TEntity, loading, error, refresh };\n}\n","/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { useMemo } from 'react';\n\nimport { CompoundEntityRef } from '@backstage/catalog-model';\nimport { useRouteRef } from '@backstage/core-plugin-api';\n\nimport { rootCatalogDocsRouteRef, rootDocsRouteRef } from '../../routes';\n\nconst trimStartSlash = (path: string) => path.replace(/^\\/+/, '');\nconst trimEndSlash = (path: string) => path.replace(/\\/+$/, '');\n\n/**\n * Returns a function that takes a location to a Tech Docs entry, and returns a\n * new location, re-routed to the catalog page tab.\n *\n * @internal\n */\nexport function useEntityPageTechDocsRedirect(entityRef: CompoundEntityRef) {\n const { kind, name, namespace } = entityRef;\n\n const routeDocsRoot = useRouteRef(rootDocsRouteRef);\n const routeDocsCatalog = useRouteRef(rootCatalogDocsRouteRef);\n\n // Re-routes a /docs/:namespace/:kind/:name/* location into\n // /catalog/:namespace/:kind/:name/docs/*, while handling situations where\n // these defaults are changed.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const reRouteLocationToCatalog = useMemo(() => {\n const rootDocsPath = trimEndSlash(routeDocsRoot({ kind, namespace, name }));\n const catalogDocsPath = trimEndSlash(routeDocsCatalog());\n\n return (url: string): string => {\n if (\n url\n .toLocaleLowerCase('en-US')\n .startsWith(rootDocsPath.toLocaleLowerCase('en-US'))\n ) {\n const suffix = trimStartSlash(url.slice(rootDocsPath.length));\n return suffix.length === 0 || suffix.startsWith('#')\n ? `${catalogDocsPath}${suffix}`\n : `${catalogDocsPath}/${suffix}`;\n }\n return url;\n };\n }, [routeDocsRoot, routeDocsCatalog, kind, name, namespace]);\n\n return reRouteLocationToCatalog;\n}\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n Entity,\n getCompoundEntityRef,\n parseEntityRef,\n} from '@backstage/catalog-model';\nimport { TECHDOCS_EXTERNAL_ANNOTATION } from '@backstage/plugin-techdocs-common';\nimport { getEntityRootTechDocsPath } from '@backstage/plugin-techdocs-react';\n\nimport { TechDocsReaderPage } from './plugin';\nimport { TechDocsReaderPageContent } from './reader/components/TechDocsReaderPageContent';\nimport { TechDocsReaderPageSubheader } from './reader/components/TechDocsReaderPageSubheader';\nimport { useEntityPageTechDocsRedirect } from './search/hooks/useTechDocsLocation';\n\ntype EntityPageDocsProps = {\n entity: Entity;\n /**\n * Show or hide the content search bar, defaults to true.\n */\n withSearch?: boolean;\n};\n\nexport const EntityPageDocs = ({\n entity,\n withSearch = true,\n}: EntityPageDocsProps) => {\n let entityRef = getCompoundEntityRef(entity);\n\n const searchResultUrlMapper = useEntityPageTechDocsRedirect(entityRef);\n\n if (entity.metadata.annotations?.[TECHDOCS_EXTERNAL_ANNOTATION]) {\n try {\n entityRef = parseEntityRef(\n entity.metadata.annotations?.[TECHDOCS_EXTERNAL_ANNOTATION],\n );\n } catch {\n // not a fan of this but we don't care if the parseEntityRef fails\n }\n }\n\n const defaultPath = getEntityRootTechDocsPath(entity);\n\n return (\n <TechDocsReaderPage entityRef={entityRef}>\n <TechDocsReaderPageSubheader />\n <TechDocsReaderPageContent\n withSearch={withSearch}\n searchResultUrlMapper={searchResultUrlMapper}\n defaultPath={defaultPath}\n />\n </TechDocsReaderPage>\n );\n};\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport Box from '@material-ui/core/Box';\nimport Button from '@material-ui/core/Button';\nimport { makeStyles } from '@material-ui/core/styles';\nimport Typography from '@material-ui/core/Typography';\nimport { CodeSnippet, Link, EmptyState } from '@backstage/core-components';\nimport { Entity } from '@backstage/catalog-model';\nimport { useEntity } from '../../hooks';\n\n/** @public */\nexport type MissingAnnotationEmptyStateClassKey = 'code';\n\nconst useStyles = makeStyles(\n theme => ({\n code: {\n borderRadius: 6,\n margin: theme.spacing(2, 0),\n background:\n theme.palette.type === 'dark' ? '#444' : theme.palette.common.white,\n },\n }),\n { name: 'BackstageMissingAnnotationEmptyState' },\n);\n\nfunction generateYamlExample(\n annotations: string[],\n entity?: Entity,\n): { yamlText: string; lineNumbers: number[] } {\n const kind = entity?.kind || 'Component';\n const name = entity?.metadata.name || 'example';\n const type = entity?.spec?.type || 'website';\n const owner = entity?.spec?.owner || 'user:default/guest';\n\n const yamlText = `apiVersion: backstage.io/v1alpha1\nkind: ${kind}\nmetadata:\n name: ${name}\n annotations:${annotations.map(ann => `\\n ${ann}: value`).join('')}\nspec:\n type: ${type}\n owner: ${owner}`;\n\n let line = 6; // Line 6 is the line number that annotations are added to.\n const lineNumbers: number[] = [];\n annotations.forEach(() => {\n lineNumbers.push(line);\n line++;\n });\n\n return {\n yamlText,\n lineNumbers,\n };\n}\n\nfunction generateDescription(annotations: string[], entityKind = 'Component') {\n const isSingular = annotations.length <= 1;\n return (\n <>\n The {isSingular ? 'annotation' : 'annotations'}{' '}\n {annotations\n .map(ann => <code>{ann}</code>)\n .reduce((prev, curr) => (\n <>\n {prev}, {curr}\n </>\n ))}{' '}\n {isSingular ? 'is' : 'are'} missing. You need to add the{' '}\n {isSingular ? 'annotation' : 'annotations'} to your {entityKind} if you\n want to enable this tool.\n </>\n );\n}\n\n/**\n * @public\n * Renders an empty state when an annotation is missing from an entity.\n */\nexport function MissingAnnotationEmptyState(props: {\n annotation: string | string[];\n readMoreUrl?: string;\n}) {\n let entity: Entity | undefined;\n try {\n const entityContext = useEntity();\n entity = entityContext.entity;\n } catch (err) {\n // ignore when entity context doesnt exist\n }\n\n const { annotation, readMoreUrl } = props;\n const annotations = Array.isArray(annotation) ? annotation : [annotation];\n const url =\n readMoreUrl ||\n 'https://backstage.io/docs/features/software-catalog/well-known-annotations';\n const classes = useStyles();\n\n const entityKind = entity?.kind || 'Component';\n const { yamlText, lineNumbers } = generateYamlExample(annotations, entity);\n return (\n <EmptyState\n missing=\"field\"\n title=\"Missing Annotation\"\n description={generateDescription(annotations, entityKind)}\n action={\n <>\n <Typography variant=\"body1\">\n Add the annotation to your {entityKind} YAML as shown in the\n highlighted example below:\n </Typography>\n <Box className={classes.code}>\n <CodeSnippet\n text={yamlText}\n language=\"yaml\"\n showLineNumbers\n highlightedNumbers={lineNumbers}\n customStyle={{ background: 'inherit', fontSize: '115%' }}\n />\n </Box>\n <Button color=\"primary\" component={Link} to={url}>\n Read more\n </Button>\n </>\n }\n />\n );\n}\n","/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ReactElement, PropsWithChildren } from 'react';\nimport { Route, Routes, useRoutes } from 'react-router-dom';\n\nimport { Entity } from '@backstage/catalog-model';\nimport { EntityPageDocs } from './EntityPageDocs';\nimport { TechDocsIndexPage } from './home/components/TechDocsIndexPage';\nimport { TechDocsReaderPage } from './reader/components/TechDocsReaderPage';\nimport {\n useEntity,\n MissingAnnotationEmptyState,\n} from '@backstage/plugin-catalog-react';\nimport {\n TECHDOCS_ANNOTATION,\n TECHDOCS_EXTERNAL_ANNOTATION,\n} from '@backstage/plugin-techdocs-common';\n\n/**\n * Helper that takes in entity and returns true/false if TechDocs is available for the entity\n *\n * @public\n */\nexport const isTechDocsAvailable = (entity: Entity) =>\n Boolean(entity?.metadata?.annotations?.[TECHDOCS_ANNOTATION]) ||\n Boolean(entity?.metadata?.annotations?.[TECHDOCS_EXTERNAL_ANNOTATION]);\n\n/**\n * Responsible for registering routes for TechDocs, TechDocs Homepage and separate TechDocs page\n *\n * @public\n */\nexport const Router = () => {\n return (\n <Routes>\n <Route path=\"/\" element={<TechDocsIndexPage />} />\n <Route\n path=\"/:namespace/:kind/:name/*\"\n element={<TechDocsReaderPage />}\n />\n </Routes>\n );\n};\n\nexport const TechDocsReaderRouter = (props: PropsWithChildren) => {\n const { children } = props;\n\n // Using objects instead of <Route> elements, otherwise \"outlet\" will be null on sub-pages and add-ons won't render\n const element = useRoutes([\n {\n path: '*',\n element: <TechDocsReaderPage />,\n children: [\n {\n path: '*',\n element: children,\n },\n ],\n },\n ]);\n\n return element;\n};\n\nexport const EmbeddedDocsRouter = (\n props: PropsWithChildren<{\n emptyState?: ReactElement;\n withSearch?: boolean;\n }>,\n) => {\n const { children, emptyState, withSearch = true } = props;\n const { entity } = useEntity();\n\n // Using objects instead of <Route> elements, otherwise \"outlet\" will be null on sub-pages and add-ons won't render\n const element = useRoutes([\n {\n path: '/*',\n element: <EntityPageDocs entity={entity} withSearch={withSearch} />,\n children: [\n {\n path: '*',\n element: children,\n },\n ],\n },\n ]);\n\n const projectId =\n entity.metadata.annotations?.[TECHDOCS_ANNOTATION] ||\n entity.metadata.annotations?.[TECHDOCS_EXTERNAL_ANNOTATION];\n\n if (!projectId) {\n return (\n emptyState ?? (\n <MissingAnnotationEmptyState annotation={[TECHDOCS_ANNOTATION]} />\n )\n );\n }\n return element;\n};\n\n/**\n * Responsible for registering route to view docs on Entity page\n *\n * @public\n */\nexport const LegacyEmbeddedDocsRouter = ({\n children,\n withSearch = true,\n}: PropsWithChildren<{ withSearch?: boolean }>) => {\n // Wrap the Router to avoid exposing the emptyState prop in the non-alpha\n // public API and make it easier for us to change later.\n return <EmbeddedDocsRouter children={children} withSearch={withSearch} />;\n};\n","/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FC } from 'react';\nimport { useOutlet } from 'react-router-dom';\nimport {\n TableColumn,\n TableProps,\n TableOptions,\n} from '@backstage/core-components';\nimport {\n EntityListPagination,\n EntityOwnerPickerProps,\n UserListFilterKind,\n} from '@backstage/plugin-catalog-react';\nimport { DefaultTechDocsHome } from './DefaultTechDocsHome';\nimport { DocsTableRow } from './Tables';\n\n/**\n * Props for {@link TechDocsIndexPage}\n *\n * @public\n */\nexport type TechDocsIndexPageProps = {\n initialFilter?: UserListFilterKind;\n columns?: TableColumn<DocsTableRow>[];\n actions?: TableProps<DocsTableRow>['actions'];\n ownerPickerMode?: EntityOwnerPickerProps['mode'];\n pagination?: EntityListPagination;\n options?: TableOptions<DocsTableRow>;\n PageWrapper?: FC;\n CustomHeader?: FC;\n};\n\nexport const TechDocsIndexPage = (props: TechDocsIndexPageProps) => {\n const outlet = useOutlet();\n\n return outlet || <DefaultTechDocsHome {...props} />;\n};\n","import { useMemo, useRef, useState } from 'react';\nimport { useSyncedRef } from '../useSyncedRef/index.js';\nexport function useAsync(asyncFn, initialValue) {\n const [state, setState] = useState({\n status: 'not-executed',\n error: undefined,\n result: initialValue,\n });\n const promiseRef = useRef();\n const argsRef = useRef();\n const methods = useSyncedRef({\n execute(...params) {\n argsRef.current = params;\n const promise = asyncFn(...params);\n promiseRef.current = promise;\n setState((s) => ({ ...s, status: 'loading' }));\n promise.then((result) => {\n if (promise === promiseRef.current) {\n setState((s) => ({ ...s, status: 'success', error: undefined, result }));\n }\n }, (error) => {\n if (promise === promiseRef.current) {\n setState((s) => ({ ...s, status: 'error', error }));\n }\n });\n return promise;\n },\n reset() {\n setState({\n status: 'not-executed',\n error: undefined,\n result: initialValue,\n });\n promiseRef.current = undefined;\n argsRef.current = undefined;\n },\n });\n return [\n state,\n useMemo(() => ({\n reset() {\n methods.current.reset();\n },\n execute: (...params) => methods.current.execute(...params),\n }), []),\n { promise: promiseRef.current, lastArgs: argsRef.current },\n ];\n}\n","/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { useEffect, useCallback, useMemo } from 'react';\nimport {\n discoveryApiRef,\n fetchApiRef,\n useApi,\n} from '@backstage/core-plugin-api';\nimport { useAsync, useMountEffect } from '@react-hookz/web';\nimport { ResponseError } from '@backstage/errors';\n\nconst COOKIE_PATH = '/.backstage/auth/v1/cookie';\nconst ONE_YEAR_MS = 365 * 24 * 3600_000;\n\n/**\n * @public\n * A hook that will refresh the cookie when it is about to expire.\n * @param options - Options for configuring the refresh cookie endpoint\n */\nexport function useCookieAuthRefresh(options: {\n // The plugin id used for discovering the API origin\n pluginId: string;\n}):\n | { status: 'loading' }\n | { status: 'error'; error: Error; retry: () => void }\n | { status: 'success'; data: { expiresAt: string } } {\n const { pluginId } = options ?? {};\n const fetchApi = useApi(fetchApiRef);\n const discoveryApi = useApi(discoveryApiRef);\n\n const channel = useMemo(() => {\n return 'BroadcastChannel' in window\n ? new BroadcastChannel(`${pluginId}-auth-cookie-expires-at`)\n : null;\n }, [pluginId]);\n\n const [state, actions] = useAsync<{ expiresAt: string }>(async () => {\n const apiOrigin = await discoveryApi.getBaseUrl(pluginId);\n const requestUrl = `${apiOrigin}${COOKIE_PATH}`;\n const response = await fetchApi.fetch(`${requestUrl}`, {\n credentials: 'include',\n });\n if (!response.ok) {\n // If we get a 404 from the cookie endpoint we assume that it does not\n // exist and cookie auth is not needed. For all active tabs we don't\n // schedule another refresh for the foreseeable future, but new tabs will\n // still check if cookie auth has been added to the deployment.\n // TODO(Rugvip): Once the legacy backend system is no longer supported we should remove this check\n if (response.status === 404) {\n return { expiresAt: new Date(Date.now() + ONE_YEAR_MS) };\n }\n throw await ResponseError.fromResponse(response);\n }\n const data = await response.json();\n if (!data.expiresAt) {\n throw new Error('No expiration date found in response');\n }\n return data;\n });\n\n useMountEffect(actions.execute);\n\n const retry = useCallback(() => {\n actions.execute();\n }, [actions]);\n\n const refresh = useCallback(\n (params: { expiresAt: string }) => {\n // Randomize the refreshing margin with a margin of 1-4 minutes to avoid all tabs refreshing at the same time\n // It cannot be less than 5 minutes otherwise the backend will return the same expiration date\n const margin = (1 + 3 * Math.random()) * 60000;\n const delay = Date.parse(params.expiresAt) - Date.now() - margin;\n const timeout = setTimeout(retry, delay);\n return () => clearTimeout(timeout);\n },\n [retry],\n );\n\n useEffect(() => {\n // Only schedule a refresh if we have a successful response\n if (state.status !== 'success' || !state.result) {\n return () => {};\n }\n channel?.postMessage({\n action: 'COOKIE_REFRESH_SUCCESS',\n payload: state.result,\n });\n let cancel = refresh(state.result);\n const listener = (\n event: MessageEvent<{ action: string; payload: { expiresAt: string } }>,\n ) => {\n const { action, payload } = event.data;\n if (action === 'COOKIE_REFRESH_SUCCESS') {\n cancel();\n cancel = refresh(payload);\n }\n };\n channel?.addEventListener('message', listener);\n return () => {\n cancel();\n channel?.removeEventListener('message', listener);\n };\n }, [state, refresh, channel]);\n\n // Initialising\n if (state.status === 'not-executed') {\n return { status: 'loading' };\n }\n\n // First refresh or retrying without any success before\n // Possible state transitions:\n // e.g. not-executed -> loading (first-refresh)\n // e.g. not-executed -> loading (first-refresh) -> error -> loading (manual-retry)\n if (state.status === 'loading' && !state.result) {\n return { status: 'loading' };\n }\n\n // Retrying after having succeeding at least once\n // Current state is: { status: 'loading', result: {...}, error: undefined | Error }\n // e.g. not-executed -> loading (first-refresh) -> success -> loading (scheduled-refresh) -> error -> loading (manual-retry)\n if (state.status === 'loading' && state.error) {\n return { status: 'loading' };\n }\n\n // Something went wrong during any situation of a refresh\n if (state.status === 'error' && state.error) {\n return { status: 'error', error: state.error, retry };\n }\n\n // At this point it should be safe to assume that we have a successful refresh\n return { status: 'success', data: state.result! };\n}\n","/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ReactNode } from 'react';\nimport { ErrorPanel } from '@backstage/core-components';\nimport { useApp } from '@backstage/core-plugin-api';\nimport Button from '@material-ui/core/Button';\nimport { useCookieAuthRefresh } from '../../hooks';\n\n/**\n * @public\n * Props for the {@link CookieAuthRefreshProvider} component.\n */\nexport type CookieAuthRefreshProviderProps = {\n // The plugin ID used for discovering the API origin\n pluginId: string;\n // The children to render when the refresh is successful\n children: ReactNode;\n};\n\n/**\n * @public\n * A provider that will refresh the cookie when it is about to expire.\n */\nexport function CookieAuthRefreshProvider(\n props: CookieAuthRefreshProviderProps,\n): JSX.Element {\n const { children, ...options } = props;\n const app = useApp();\n const { Progress } = app.getComponents();\n\n const result = useCookieAuthRefresh(options);\n\n if (result.status === 'loading') {\n return <Progress />;\n }\n\n if (result.status === 'error') {\n return (\n <ErrorPanel error={result.error}>\n <Button variant=\"outlined\" onClick={result.retry}>\n Retry\n </Button>\n </ErrorPanel>\n );\n }\n\n return <>{children}</>;\n}\n","/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Children, ReactElement, ReactNode } from 'react';\nimport { useOutlet } from 'react-router-dom';\n\nimport { Page } from '@backstage/core-components';\nimport { CompoundEntityRef } from '@backstage/catalog-model';\nimport {\n TECHDOCS_ADDONS_KEY,\n TECHDOCS_ADDONS_WRAPPER_KEY,\n TechDocsReaderPageProvider,\n} from '@backstage/plugin-techdocs-react';\n\nimport { TechDocsReaderPageRenderFunction } from '../../../types';\n\nimport { TechDocsReaderPageContent } from '../TechDocsReaderPageContent';\nimport { TechDocsReaderPageHeader } from '../TechDocsReaderPageHeader';\nimport { TechDocsReaderPageSubheader } from '../TechDocsReaderPageSubheader';\nimport { rootDocsRouteRef } from '../../../routes';\nimport {\n getComponentData,\n useRouteRefParams,\n} from '@backstage/core-plugin-api';\n\nimport { CookieAuthRefreshProvider } from '@backstage/plugin-auth-react';\nimport {\n createTheme,\n styled,\n ThemeOptions,\n ThemeProvider,\n useTheme,\n} from '@material-ui/core/styles';\n\n/* An explanation for the multiple ways of customizing the TechDocs reader page\n\nPlease refer to this page on the microsite for the latest recommended approach:\nhttps://backstage.io/docs/features/techdocs/how-to-guides#how-to-customize-the-techdocs-reader-page\n\nThe <TechDocsReaderPage> component is responsible for rendering the <TechDocsReaderPageProvider> and\nits contained version of a <Page>, which in turn renders the <TechDocsReaderPageContent>.\n\nHistorically, there have been different approaches on how this <Page> can be customized, and how the\n<TechDocsReaderPageContent> inside could be exchanged for a custom implementation (which was not\npossible before). Also, the current implementation supports every scenario to avoid breaking default\nconfigurations of TechDocs.\n\nIn particular, there are 4 different TechDocs page configurations:\n\nCONFIGURATION 1: <TechDocsReaderPage> only, no children\n\n<Route path=\"/docs/:namespace/:kind/:name/*\" element={<TechDocsReaderPage />} >\n\nThis is the simplest way to use TechDocs. Only a full page is passed, assuming that it comes with\nits content inside. Since we allowed customizing it, we started providing <TechDocsReaderLayout> as\na default implementation (which contains <TechDocsReaderPageContent>).\n\nCONFIGURATION 2 (not advised): <TechDocsReaderPage> with element children\n\n<Route\n path=\"/docs/:namespace/:kind/:name/*\"\n element={\n <TechDocsReaderPage>\n {techdocsPage}\n </TechDocsReaderPage>\n }\n/>\n\nPreviously, there were two ways of passing children to <TechDocsReaderPage>: either as elements (as\nshown above), or as a render function (described below in CONFIGURATION 3). The \"techdocsPage\" is\nlocated in packages/app/src/components/techdocs and is the default implementation of the content\ninside.\n\nCONFIGURATION 3 (not advised): <TechDocsReaderPage> with render function as child\n\n<Route\n path=\"/docs/:namespace/:kind/:name/*\"\n element={\n <TechDocsReaderPage>\n {({ metadata, entityMetadata, onReady }) => (\n techdocsPage\n )}\n </TechDocsReaderPage>\n }\n/>\n\nSimilar to CONFIGURATION 2, the direct children will be passed to the <TechDocsReaderPage> but in\nthis case interpreted as render prop.\n\nCONFIGURATION 4: <TechDocsReaderPage> and provided content in <Route>\n\n<Route\n path=\"/docs/:namespace/:kind/:name/*\"\n element={<TechDocsReaderPage />}\n>\n {techDocsPage}\n <TechDocsAddons>\n <ExpandableNavigation />\n <ReportIssue />\n <TextSize />\n <LightBox />\n </TechDocsAddons>\n</Route>\n\nThis is the current state in packages/app/src/App.tsx and moved the location of children from inside\nthe element prop in the <Route> to the children of the <Route>. Then, in <TechDocsReaderPage> they\nare retrieved using the useOutlet hook from React Router.\n\nNOTE: Render functions are no longer supported in this approach.\n*/\n\n/**\n * Props for {@link TechDocsReaderLayout}\n * @public\n */\nexport type TechDocsReaderLayoutProps = {\n /**\n * Show or hide the header, defaults to true.\n */\n withHeader?: boolean;\n /**\n * Show or hide the content search bar, defaults to true.\n */\n withSearch?: boolean;\n};\n\n/**\n * Default TechDocs reader page structure composed with a header and content\n * @public\n */\nexport const TechDocsReaderLayout = (props: TechDocsReaderLayoutProps) => {\n const { withSearch, withHeader = true } = props;\n return (\n <Page themeId=\"documentation\">\n {withHeader && <TechDocsReaderPageHeader />}\n <TechDocsReaderPageSubheader />\n <TechDocsReaderPageContent withSearch={withSearch} />\n </Page>\n );\n};\n\n/**\n * @public\n */\nexport type TechDocsReaderPageProps = {\n entityRef?: CompoundEntityRef;\n children?: TechDocsReaderPageRenderFunction | ReactNode;\n overrideThemeOptions?: Partial<ThemeOptions>;\n};\n\n/**\n * Styled Backstage Page that fills available vertical space\n */\nconst StyledPage = styled(Page)({\n height: 'inherit',\n overflowY: 'visible',\n});\n\n/**\n * An addon-aware implementation of the TechDocsReaderPage.\n *\n * @public\n */\nexport const TechDocsReaderPage = (props: TechDocsReaderPageProps) => {\n const currentTheme = useTheme();\n\n const readerPageTheme = createTheme({\n ...currentTheme,\n ...(props.overrideThemeOptions || {}),\n });\n const { kind, name, namespace } = useRouteRefParams(rootDocsRouteRef);\n const { children, entityRef = { kind, name, namespace } } = props;\n\n const outlet = useOutlet();\n\n if (!children) {\n const childrenList = outlet ? Children.toArray(outlet.props.children) : [];\n\n const grandChildren = childrenList.flatMap<ReactElement>(\n child => (child as ReactElement)?.props?.children ?? [],\n );\n\n const page: ReactNode = grandChildren.find(\n grandChild =>\n !getComponentData(grandChild, TECHDOCS_ADDONS_WRAPPER_KEY) &&\n !getComponentData(grandChild, TECHDOCS_ADDONS_KEY),\n );\n\n // As explained above, \"page\" is configuration 4 and <TechDocsReaderLayout> is 1\n return (\n <ThemeProvider theme={readerPageTheme}>\n <CookieAuthRefreshProvider pluginId=\"techdocs\">\n <TechDocsReaderPageProvider entityRef={entityRef}>\n {(page as JSX.Element) || <TechDocsReaderLayout />}\n </TechDocsReaderPageProvider>\n </CookieAuthRefreshProvider>\n </ThemeProvider>\n );\n }\n // As explained above, a render function is configuration 3 and React element is 2\n return (\n <ThemeProvider theme={readerPageTheme}>\n <CookieAuthRefreshProvider pluginId=\"techdocs\">\n <TechDocsReaderPageProvider entityRef={entityRef}>\n {({ metadata, entityMetadata, onReady }) => (\n <StyledPage\n themeId=\"documentation\"\n className=\"techdocs-reader-page\"\n >\n {children instanceof Function\n ? children({\n entityRef,\n techdocsMetadataValue: metadata.value,\n entityMetadataValue: entityMetadata.value,\n onReady,\n })\n : children}\n </StyledPage>\n )}\n </TechDocsReaderPageProvider>\n </CookieAuthRefreshProvider>\n </ThemeProvider>\n );\n};\n","/*\n * Copyright 2022 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { MouseEvent, useState, useCallback } from 'react';\n\nimport { makeStyles } from '@material-ui/core/styles';\nimport IconButton from '@material-ui/core/IconButton';\nimport Toolbar from '@material-ui/core/Toolbar';\nimport { ToolbarProps } from '@material-ui/core/Toolbar';\nimport Tooltip from '@material-ui/core/Tooltip';\nimport Menu from '@material-ui/core/Menu';\nimport Box from '@material-ui/core/Box';\nimport SettingsIcon from '@material-ui/icons/Settings';\n\nimport {\n TechDocsAddonLocations as locations,\n useTechDocsAddons,\n useTechDocsReaderPage,\n} from '@backstage/plugin-techdocs-react';\n\nconst useStyles = makeStyles(theme => ({\n root: {\n gridArea: 'pageSubheader',\n flexDirection: 'column',\n minHeight: 'auto',\n padding: theme.spacing(3, 3, 0),\n '@media print': {\n display: 'none',\n },\n },\n}));\n\n/**\n * Renders the reader page subheader.\n * Please use the Tech Docs add-ons to customize it\n * @public\n */\nexport const TechDocsReaderPageSubheader = (props: {\n toolbarProps?: ToolbarProps;\n}) => {\n const classes = useStyles();\n const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null);\n\n const handleClick = useCallback((event: MouseEvent<HTMLButtonElement>) => {\n setAnchorEl(event.currentTarget);\n }, []);\n\n const handleClose = useCallback(() => {\n setAnchorEl(null);\n }, []);\n\n const {\n entityMetadata: { value: entityMetadata, loading: entityMetadataLoading },\n } = useTechDocsReaderPage();\n\n const addons = useTechDocsAddons();\n\n const subheaderAddons = addons.renderComponentsByLocation(\n locations.Subheader,\n );\n\n const settingsAddons = addons.renderComponentsByLocation(locations.Settings);\n\n if (!subheaderAddons && !settingsAddons) return null;\n\n // No entity metadata = 404. Don't render subheader on 404.\n if (entityMetadataLoading === false && !entityMetadata) return null;\n\n return (\n <Toolbar classes={classes} {...props.toolbarProps}>\n <Box\n display=\"flex\"\n justifyContent=\"flex-end\"\n width=\"100%\"\n flexWrap=\"wrap\"\n >\n {subheaderAddons}\n {settingsAddons ? (\n <>\n <Tooltip title=\"Settings\">\n <IconButton\n aria-controls=\"tech-docs-reader-page-settings\"\n aria-haspopup=\"true\"\n onClick={handleClick}\n >\n <SettingsIcon />\n </IconButton>\n </Tooltip>\n <Menu\n id=\"tech-docs-reader-page-settings\"\n getContentAnchorEl={null}\n anchorEl={anchorEl}\n anchorOrigin={{ vertical: 'bottom', horizontal: 'right' }}\n open={Boolean(anchorEl)}\n onClose={handleClose}\n keepMounted\n >\n <div>{settingsAddons}</div>\n </Menu>\n </>\n ) : null}\n </Box>\n </Toolbar>\n );\n};\n"],"names":["useRouteRefParams","_routeRef","useParams","NewEntityContext","createVersionedContext","AsyncEntityProvider","props","children","entity","loading","error","refresh","value","Provider","createVersionedValueMap","AnalyticsContext","attributes","entityRef","stringifyEntityRef","undefined","EntityProvider","useEntity","versionedHolder","useVersionedContext","Error","atVersion","useAsyncEntity","trimStartSlash","path","replace","trimEndSlash","useEntityPageTechDocsRedirect","kind","name","namespace","routeDocsRoot","useRouteRef","rootDocsRouteRef","routeDocsCatalog","rootCatalogDocsRouteRef","useMemo","rootDocsPath","catalogDocsPath","url","toLocaleLowerCase","startsWith","suffix","slice","length","EntityPageDocs","withSearch","getCompoundEntityRef","searchResultUrlMapper","metadata","annotations","TECHDOCS_EXTERNAL_ANNOTATION","parseEntityRef","defaultPath","getEntityRootTechDocsPath","TechDocsReaderPage","TechDocsReaderPageSubheader","TechDocsReaderPageContent","useStyles","makeStyles","theme","code","borderRadius","margin","spacing","background","palette","type","common","white","generateYamlExample","spec","owner","yamlText","map","ann","join","line","lineNumbers","forEach","push","generateDescription","entityKind","isSingular","reduce","prev","curr","MissingAnnotationEmptyState","annotation","readMoreUrl","Array","isArray","classes","EmptyState","missing","title","description","action","Typography","variant","Box","className","CodeSnippet","text","language","showLineNumbers","highlightedNumbers","customStyle","fontSize","Button","color","component","Link","to","isTechDocsAvailable","Boolean","TECHDOCS_ANNOTATION","Router","Routes","Route","element","TechDocsIndexPage","TechDocsReaderRouter","useRoutes","EmbeddedDocsRouter","emptyState","LegacyEmbeddedDocsRouter","useOutlet","DefaultTechDocsHome","useAsync","asyncFn","initialValue","state","setState","promiseRef","argsRef","methods","useSyncedRef","params","promise","s","result","COOKIE_PATH","ONE_YEAR_MS","useCookieAuthRefresh","options","pluginId","fetchApi","useApi","fetchApiRef","discoveryApi","discoveryApiRef","channel","window","BroadcastChannel","actions","requestUrl","getBaseUrl","response","fetch","credentials","ok","status","expiresAt","Date","now","ResponseError","fromResponse","data","json","useMountEffect","execute","retry","useCallback","Math","random","delay","parse","timeout","setTimeout","clearTimeout","useEffect","postMessage","payload","cancel","listener","event","addEventListener","removeEventListener","CookieAuthRefreshProvider","app","useApp","Progress","getComponents","ErrorPanel","onClick","TechDocsReaderLayout","withHeader","Page","themeId","TechDocsReaderPageHeader","StyledPage","styled","height","overflowY","currentTheme","useTheme","readerPageTheme","createTheme","overrideThemeOptions","outlet","page","Children","toArray","flatMap","child","find","grandChild","getComponentData","TECHDOCS_ADDONS_WRAPPER_KEY","TECHDOCS_ADDONS_KEY","ThemeProvider","TechDocsReaderPageProvider","entityMetadata","onReady","Function","techdocsMetadataValue","entityMetadataValue","root","gridArea","flexDirection","minHeight","padding","display","anchorEl","setAnchorEl","useState","handleClick","currentTarget","handleClose","entityMetadataLoading","useTechDocsReaderPage","addons","useTechDocsAddons","subheaderAddons","renderComponentsByLocation","locations","Subheader","settingsAddons","Settings","Toolbar","toolbarProps","justifyContent","width","flexWrap","Tooltip","IconButton","aria-controls","aria-haspopup","SettingsIcon","Menu","id","getContentAnchorEl","anchorOrigin","vertical","horizontal","open","onClose","keepMounted","div"],"sourceRoot":""}
@@ -1,4 +0,0 @@
1
- "use strict";(()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[9234],{99234:(Ce,I,c)=>{c.r(I),c.d(I,{RealLogViewer:()=>ke});var d=c(31085),v=c(10394),A=c(29365),G=c(99594),$=c(53373),b=c.n($),f=c(14041),Y=c(18690),X=c(19686),B=c(84392),w=c(84774);const R=(0,w.A)(),F=/\n\r?/g,Z=Object.fromEntries(Object.entries({1:e=>({...e,bold:!0}),3:e=>({...e,italic:!0}),4:e=>({...e,underline:!0}),22:({bold:e,...t})=>t,23:({italic:e,...t})=>t,24:({underline:e,...t})=>t,30:e=>({...e,foreground:"black"}),31:e=>({...e,foreground:"red"}),32:e=>({...e,foreground:"green"}),33:e=>({...e,foreground:"yellow"}),34:e=>({...e,foreground:"blue"}),35:e=>({...e,foreground:"magenta"}),36:e=>({...e,foreground:"cyan"}),37:e=>({...e,foreground:"white"}),39:({foreground:e,...t})=>t,90:e=>({...e,foreground:"grey"}),40:e=>({...e,background:"black"}),41:e=>({...e,background:"red"}),42:e=>({...e,background:"green"}),43:e=>({...e,background:"yellow"}),44:e=>({...e,background:"blue"}),45:e=>({...e,background:"magenta"}),46:e=>({...e,background:"cyan"}),47:e=>({...e,background:"white"}),49:({background:e,...t})=>t}).map(([e,t])=>[`\x1B[${e}m`,t]));class C{lineNumber;chunks;text;constructor(t=1,n=[]){this.lineNumber=t,this.chunks=n,this.text=n.map(r=>r.text).join("").toLocaleLowerCase("en-US")}lastChunk(){return this.chunks[this.chunks.length-1]}replaceLastChunk(t){t&&(this.chunks.splice(this.chunks.length-1,1,...t),this.text=this.chunks.map(n=>n.text).join("").toLocaleLowerCase("en-US"))}}class J{text="";lines=[];process(t){if(this.text===t)return this.lines;if(this.text&&t.startsWith(this.text)){const n=this.lines.length>0?this.lines.length-1:0,r=this.lines[n]??new C,o=r.lastChunk(),l=this.processLines((o?.text??"")+t.slice(this.text.length),o?.modifiers,r?.lineNumber);r.replaceLastChunk(l[0]?.chunks),this.lines[n]=r,this.lines=this.lines.concat(l.slice(1))}else this.lines=this.processLines(t);return this.text=t,this.lines}processLines=(t,n={},r=1)=>{const o=[];let l=n,i=r,u=0;for(F.lastIndex=0;;){const s=F.exec(t);if(!s){const x=this.processText(t.slice(u),l);return o.push(new C(i,x)),o}const h=t.slice(u,s.index);u=s.index+s[0].length;const a=this.processText(h,l);o.push(new C(i,a)),l=a[a.length-1].modifiers??l,i+=1}};processText=(t,n)=>{const r=[];let o=n,l=0;for(R.lastIndex=0;;){const i=R.exec(t);if(!i)return r.push({text:t.slice(l),modifiers:o}),r;const u=t.slice(l,i.index);r.push({text:u,modifiers:o}),l=i.index+i[0].length,o=this.processCode(i[0],o)}};processCode=(t,n)=>Z[t]?.(n)??n}var Q=c(95479),M=c.n(Q),q=c(37639),_=c(72072);function ee(e,t){const n=new Array;if(t.bold&&n.push(e.modifierBold),t.italic&&n.push(e.modifierItalic),t.underline&&n.push(e.modifierUnderline),t.foreground){const r=`modifierForeground${M()(t.foreground)}`;n.push(e[r])}if(t.background){const r=`modifierBackground${M()(t.background)}`;n.push(e[r])}return n.length>0?n.join(" "):void 0}function te(e,t){if(!t||!e.includes(t))return;const n=new Array;let r=0;for(;;){const o=e.indexOf(t,r);if(o===-1)break;const l=o+t.length;n.push({start:o,end:l}),r=l}return n}function ne(e,t){const n=te(e.text,t);if(!n)return e.chunks;const r=new Array;let o=0,l=0,i=n[l];for(const u of e.chunks){const{text:s,modifiers:h}=u;if(!i||o+s.length<i.start){r.push(u),o+=s.length;continue}let a=0;for(;i;){const p=Math.max(i.start-o,0);if(p>s.length)break;const g=Math.min(i.end-o,s.length);if(p>a&&r.push({text:s.slice(a,p),modifiers:h}),g>p&&r.push({modifiers:h,highlight:l,text:s.slice(p,g)}),a=g,i.end-o===g)l+=1,i=n[l];else break}a<s.length&&r.push({text:s.slice(a),modifiers:h}),o+=s.length}return r}const se=({attributes:e,content:t})=>{const{href:n,...r}=e;return(0,d.jsx)(_.N_,{to:n,...r,children:t})};function oe({line:e,classes:t,searchText:n,highlightResultIndex:r,setRowHeight:o}){const l=(0,f.useRef)(null),i=(0,f.useMemo)(()=>ne(e,n),[e,n]);(0,f.useEffect)(()=>{l.current&&o&&o(e.lineNumber,l.current.offsetHeight)},[e.lineNumber,o]);const u=(0,f.useMemo)(()=>i.map(({text:s,modifiers:h,highlight:a},x)=>(0,d.jsx)("span",{className:b()(ee(t,h),a!==void 0&&(a===r?t.textSelectedHighlight:t.textHighlight),{[t.textWrap]:!!o}),children:(0,d.jsx)(q.A,{options:{render:se},children:s})},x)),[i,r,t,o]);return(0,d.jsx)("span",{ref:l,children:u})}var re=c(16249),ie=c(72501),le=c(68887),ce=c(63798),N=c(65859);function ae(e){const{resultCount:t,resultIndexStep:n,toggleShouldFilter:r}=e,o=e.resultIndex??0,l=i=>{i.key==="Enter"&&(i.metaKey||i.ctrlKey||i.altKey?r():n(i.shiftKey))};return(0,d.jsxs)(d.Fragment,{children:[t!==void 0&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(A.A,{size:"small",onClick:()=>n(!0),children:(0,d.jsx)(le.A,{})}),(0,d.jsxs)(ie.A,{children:[Math.min(o+1,t),"/",t]}),(0,d.jsx)(A.A,{size:"small",onClick:()=>n(),children:(0,d.jsx)(ce.A,{})})]}),(0,d.jsx)(re.A,{size:"small",variant:"standard",placeholder:"Search",value:e.searchInput,onKeyPress:l,onChange:i=>e.setSearchInput(i.target.value)}),(0,d.jsx)(A.A,{size:"small",onClick:r,children:e.shouldFilter?(0,d.jsx)(N.A,{color:"primary"}):(0,d.jsx)(N.A,{color:"disabled"})})]})}var de=c(58837),T=c(268),S=c(95186),z=c(38084),E=c(54024),W=c(40935),K=c(4499),H=c(85229),O=c(42020),V=c(6456);const P=40,ue=(0,de.A)(e=>({root:{background:e.palette.background.paper},header:{height:P,display:"flex",alignItems:"center",justifyContent:"flex-end"},log:{fontFamily:'"Monaco", monospace',fontSize:e.typography.pxToRem(12),lineHeight:"20px"},line:{position:"relative",whiteSpace:"pre",display:"flex",alignItems:"flex-start","&:hover":{background:e.palette.action.hover}},lineSelected:{background:e.palette.action.selected,"&:hover":{background:e.palette.action.selected}},lineCopyButton:{position:"absolute",paddingTop:0,paddingBottom:0},lineNumber:{display:"inline-block",textAlign:"end",width:60,marginRight:e.spacing(1),cursor:"pointer",flexShrink:0},textHighlight:{background:(0,T.X4)(e.palette.info.main,.15)},textSelectedHighlight:{background:(0,T.X4)(e.palette.info.main,.4)},modifierBold:{fontWeight:e.typography.fontWeightBold},modifierItalic:{fontStyle:"italic"},modifierUnderline:{textDecoration:"underline"},modifierForegroundBlack:{color:S.A.black},modifierForegroundRed:{color:z.A[500]},modifierForegroundGreen:{color:E.A[500]},modifierForegroundYellow:{color:W.A[500]},modifierForegroundBlue:{color:K.A[500]},modifierForegroundMagenta:{color:H.A[500]},modifierForegroundCyan:{color:O.A[500]},modifierForegroundWhite:{color:S.A.white},modifierForegroundGrey:{color:V.A[500]},modifierBackgroundBlack:{background:S.A.black},modifierBackgroundRed:{background:z.A[500]},modifierBackgroundGreen:{background:E.A[500]},modifierBackgroundYellow:{background:W.A[500]},modifierBackgroundBlue:{background:K.A[500]},modifierBackgroundMagenta:{background:H.A[500]},modifierBackgroundCyan:{background:O.A[500]},modifierBackgroundWhite:{background:S.A.white},modifierBackgroundGrey:{background:V.A[500]},textWrap:{whiteSpace:"pre-wrap",wordBreak:"break-all"}}),{name:"BackstageLogViewer"});var he=c(42);function fe(e,t){if(!t)return{lines:e};const n=[],r=[];for(const o of e)if(o.text.includes(t)){n.push(o);let l=0,i=0;for(;;){const u=o.text.indexOf(t,l);if(u===-1)break;r.push({lineNumber:o.lineNumber,lineIndex:i++}),l=u+t.length}}return{lines:n,results:r}}function ge(e){const[t,n]=(0,f.useState)(""),r=t.toLocaleLowerCase("en-US"),[o,l]=(0,f.useState)(0),[i,u]=(0,he.e)(!1),s=(0,f.useMemo)(()=>fe(e,r),[e,r]),h=s.results?s.results[Math.min(o,s.results.length-1)]:void 0,a=s.results?.length,x=p=>{if(p){if(a!==void 0){const g=Math.min(o-1,a-2);l(g<0?a-1:g)}}else if(a!==void 0){const g=o+1;l(g>=a?0:g)}};return{lines:i?s.lines:e,searchText:r,searchInput:t,setSearchInput:n,shouldFilter:i,toggleShouldFilter:u,resultCount:a,resultIndex:o,resultIndexStep:x,resultLine:h?.lineNumber,resultLineIndex:h?.lineIndex}}var me=c(72427),xe=c(39837),pe=c(36338);function ye(e){const t=(0,me.gf)(xe.m),[n,r]=(0,f.useState)(),o=n?Math.min(n.start,n.end):void 0,l=n?Math.max(n.start,n.end):void 0,[{error:i},u]=(0,pe.A)();return(0,f.useEffect)(()=>{i&&t.post(i)},[i,t]),{shouldShowButton(s){return o===s||l===s},isSelected(s){return n?o<=s&&s<=l:!1},setSelection(s,h){r(h?a=>a?{start:a.start,end:s}:{start:s,end:s}:a=>a?.start===s&&a?.end===s?void 0:{start:s,end:s})},copySelection(){if(n){const s=e.slice(Math.min(n.start,n.end)-1,Math.max(n.start,n.end)).map(h=>h.chunks.map(a=>a.text).join("")).join(`
2
- `);u(s),r(void 0)}}}}function ke(e){const t=ue({classes:e.classes}),[n,r]=(0,f.useState)(null),o=e.textWrap??!1,l=(0,f.useRef)({}),u=(0,f.useMemo)(()=>new J,[]).process(e.text),s=ge(u),h=ye(u),a=(0,Y.zy)();(0,f.useEffect)(()=>{n&&n.scrollToItem(u.length-1,"end")},[n,u]),(0,f.useEffect)(()=>{n&&(s.resultLine?n.scrollToItem(s.resultLine-1,"center"):n.scrollToItem(u.length-1,"end"))},[n,s.resultLine,u]),(0,f.useEffect)(()=>{if(a.hash){const m=parseInt(a.hash.replace(/\D/g,""),10);h.setSelection(m,!1)}},[]);const x=(m,y)=>{h.setSelection(m,y.shiftKey)};function p(m,y){o&&n&&(n.resetAfterIndex(0),l.current[m-1]=y)}function g(m){return l.current[m]||20}return(0,d.jsx)(X.Ay,{children:({height:m,width:y})=>{const L={ref:r,className:t.log,height:(m||480)-P,width:y||640,itemData:s.lines,itemCount:s.lines.length},U=({index:Ae,style:Se,data:ve})=>{const D=ve[Ae],{lineNumber:k}=D;return(0,d.jsxs)(v.A,{style:{...Se},className:b()(t.line,{[t.lineSelected]:h.isSelected(k)}),children:[h.shouldShowButton(k)&&(0,d.jsx)(A.A,{"data-testid":"copy-button",size:"small",className:t.lineCopyButton,onClick:()=>h.copySelection(),children:(0,d.jsx)(G.A,{fontSize:"inherit"})}),(0,d.jsx)("a",{role:"row",target:"_self",href:`#line-${k}`,className:t.lineNumber,onClick:j=>x(k,j),onKeyPress:j=>x(k,j),children:k}),(0,d.jsx)(oe,{setRowHeight:o?p:void 0,line:D,classes:t,searchText:s.searchText,highlightResultIndex:s.resultLine===k?s.resultLineIndex:void 0})]})};return(0,d.jsxs)(v.A,{style:{width:y,height:m},className:t.root,children:[(0,d.jsx)(v.A,{className:t.header,children:(0,d.jsx)(ae,{...s})}),o?(0,d.jsx)(B._m,{...L,itemSize:g,children:U}):(0,d.jsx)(B.Y1,{...L,itemSize:20,children:U})]})}})}}}]);})();
3
-
4
- //# sourceMappingURL=9234.a1d6ef55.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/9234.a1d6ef55.chunk.js","mappings":"8SAkBA,MAAMA,KAAYC,EAAAA,GAAe,EAC3BC,EAAe,SAGfC,EAAgBC,OAAOC,YAC3BD,OAAOE,QAAQ,CACb,EAAGC,IAAM,CAAE,GAAGA,EAAGC,KAAM,EAAK,GAC5B,EAAGD,IAAM,CAAE,GAAGA,EAAGE,OAAQ,EAAK,GAC9B,EAAGF,IAAM,CAAE,GAAGA,EAAGG,UAAW,EAAK,GACjC,GAAI,CAAC,CAAEF,KAAMG,EAAG,GAAGJ,CAAE,IAAMA,EAC3B,GAAI,CAAC,CAAEE,OAAQE,EAAG,GAAGJ,CAAE,IAAMA,EAC7B,GAAI,CAAC,CAAEG,UAAWC,EAAG,GAAGJ,CAAE,IAAMA,EAChC,GAAIA,IAAM,CAAE,GAAGA,EAAGK,WAAY,OAAQ,GACtC,GAAIL,IAAM,CAAE,GAAGA,EAAGK,WAAY,KAAM,GACpC,GAAIL,IAAM,CAAE,GAAGA,EAAGK,WAAY,OAAQ,GACtC,GAAIL,IAAM,CAAE,GAAGA,EAAGK,WAAY,Q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OAC9Cb,KAAMA,EACNK,QAASA,EACTU,WAAY+K,EAAO/K,WACnB4B,qBACEmJ,EAAOxB,aAAepM,EAClB4N,EAAOvB,gBACP1J,M,KAKd,EAEA,SACE,QAACmM,EAAAA,EAAGA,CAACF,MAAO,CAAEvF,MAAAA,EAAOpB,OAAAA,CAAO,EAAG9C,UAAWhD,EAAQ0F,K,aAChD,OAACiH,EAAAA,EAAGA,CAAC3J,UAAWhD,EAAQ6F,O,YACtB,OAACpC,GAAiBA,CAAE,GAAGgI,C,KAExBF,KACC,OAACyB,EAAAA,GAAgBA,CACd,GAAGX,EACJY,SAAUd,E,SAETK,C,MAGH,OAACU,EAAAA,GAAaA,CAAc,GAAGb,EAAaY,SAAU,G,SACnDT,C,KAKX,C,EAGN,C","sources":["webpack://techdocs-cli-embedded-app/../core-components/src/components/LogViewer/AnsiProcessor.ts","webpack://techdocs-cli-embedded-app/../core-components/src/components/LogViewer/LogLine.tsx","webpack://techdocs-cli-embedded-app/../core-components/src/components/LogViewer/LogViewerControls.tsx","webpack://techdocs-cli-embedded-app/../core-components/src/components/LogViewer/styles.ts","webpack://techdocs-cli-embedded-app/../core-components/src/components/LogViewer/useLogViewerSearch.tsx","webpack://techdocs-cli-embedded-app/../core-components/src/components/LogViewer/useLogViewerSelection.tsx","webpack://techdocs-cli-embedded-app/../core-components/src/components/LogViewer/RealLogViewer.tsx"],"sourcesContent":["/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport ansiRegexMaker from 'ansi-regex';\n\nconst ansiRegex = ansiRegexMaker();\nconst newlineRegex = /\\n\\r?/g;\n\n// A mapping of how each escape code changes the modifiers\nconst codeModifiers = Object.fromEntries(\n Object.entries({\n 1: m => ({ ...m, bold: true }),\n 3: m => ({ ...m, italic: true }),\n 4: m => ({ ...m, underline: true }),\n 22: ({ bold: _, ...m }) => m,\n 23: ({ italic: _, ...m }) => m,\n 24: ({ underline: _, ...m }) => m,\n 30: m => ({ ...m, foreground: 'black' }),\n 31: m => ({ ...m, foreground: 'red' }),\n 32: m => ({ ...m, foreground: 'green' }),\n 33: m => ({ ...m, foreground: 'yellow' }),\n 34: m => ({ ...m, foreground: 'blue' }),\n 35: m => ({ ...m, foreground: 'magenta' }),\n 36: m => ({ ...m, foreground: 'cyan' }),\n 37: m => ({ ...m, foreground: 'white' }),\n 39: ({ foreground: _, ...m }) => m,\n 90: m => ({ ...m, foreground: 'grey' }),\n 40: m => ({ ...m, background: 'black' }),\n 41: m => ({ ...m, background: 'red' }),\n 42: m => ({ ...m, background: 'green' }),\n 43: m => ({ ...m, background: 'yellow' }),\n 44: m => ({ ...m, background: 'blue' }),\n 45: m => ({ ...m, background: 'magenta' }),\n 46: m => ({ ...m, background: 'cyan' }),\n 47: m => ({ ...m, background: 'white' }),\n 49: ({ background: _, ...m }) => m,\n } as Record<string, (m: ChunkModifiers) => ChunkModifiers>).map(\n ([code, modifier]) => [`\\x1b[${code}m`, modifier],\n ),\n);\n\nexport type AnsiColor =\n | 'black'\n | 'red'\n | 'green'\n | 'yellow'\n | 'blue'\n | 'magenta'\n | 'cyan'\n | 'white'\n | 'grey';\n\nexport interface ChunkModifiers {\n foreground?: AnsiColor;\n background?: AnsiColor;\n bold?: boolean;\n italic?: boolean;\n underline?: boolean;\n}\n\nexport interface AnsiChunk {\n text: string;\n modifiers: ChunkModifiers;\n}\n\nexport class AnsiLine {\n text: string;\n\n constructor(\n readonly lineNumber: number = 1,\n readonly chunks: AnsiChunk[] = [],\n ) {\n this.text = chunks\n .map(c => c.text)\n .join('')\n .toLocaleLowerCase('en-US');\n }\n\n lastChunk(): AnsiChunk | undefined {\n return this.chunks[this.chunks.length - 1];\n }\n\n replaceLastChunk(newChunks?: AnsiChunk[]) {\n if (newChunks) {\n this.chunks.splice(this.chunks.length - 1, 1, ...newChunks);\n this.text = this.chunks\n .map(c => c.text)\n .join('')\n .toLocaleLowerCase('en-US');\n }\n }\n}\n\nexport class AnsiProcessor {\n private text: string = '';\n private lines: AnsiLine[] = [];\n\n /**\n * Processes a chunk of text while keeping internal state that optimizes\n * subsequent processing that appends to the text.\n */\n process(text: string): AnsiLine[] {\n if (this.text === text) {\n return this.lines;\n }\n\n if (this.text && text.startsWith(this.text)) {\n const lastLineIndex = this.lines.length > 0 ? this.lines.length - 1 : 0;\n const lastLine = this.lines[lastLineIndex] ?? new AnsiLine();\n const lastChunk = lastLine.lastChunk();\n\n const newLines = this.processLines(\n (lastChunk?.text ?? '') + text.slice(this.text.length),\n lastChunk?.modifiers,\n lastLine?.lineNumber,\n );\n lastLine.replaceLastChunk(newLines[0]?.chunks);\n\n this.lines[lastLineIndex] = lastLine;\n this.lines = this.lines.concat(newLines.slice(1));\n } else {\n this.lines = this.processLines(text);\n }\n this.text = text;\n\n return this.lines;\n }\n\n // Split a chunk of text up into lines and process each line individually\n private processLines = (\n text: string,\n modifiers: ChunkModifiers = {},\n startingLineNumber: number = 1,\n ): AnsiLine[] => {\n const lines: AnsiLine[] = [];\n\n let currentModifiers = modifiers;\n let currentLineNumber = startingLineNumber;\n\n let prevIndex = 0;\n newlineRegex.lastIndex = 0;\n for (;;) {\n const match = newlineRegex.exec(text);\n if (!match) {\n const chunks = this.processText(\n text.slice(prevIndex),\n currentModifiers,\n );\n lines.push(new AnsiLine(currentLineNumber, chunks));\n return lines;\n }\n\n const line = text.slice(prevIndex, match.index);\n prevIndex = match.index + match[0].length;\n\n const chunks = this.processText(line, currentModifiers);\n lines.push(new AnsiLine(currentLineNumber, chunks));\n\n // Modifiers that are active in the last chunk are carried over to the next line\n currentModifiers =\n chunks[chunks.length - 1].modifiers ?? currentModifiers;\n currentLineNumber += 1;\n }\n };\n\n // Processing of a one individual text chunk\n private processText = (\n fullText: string,\n modifiers: ChunkModifiers,\n ): AnsiChunk[] => {\n const chunks: AnsiChunk[] = [];\n\n let currentModifiers = modifiers;\n\n let prevIndex = 0;\n ansiRegex.lastIndex = 0;\n for (;;) {\n const match = ansiRegex.exec(fullText);\n if (!match) {\n chunks.push({\n text: fullText.slice(prevIndex),\n modifiers: currentModifiers,\n });\n return chunks;\n }\n\n const text = fullText.slice(prevIndex, match.index);\n chunks.push({ text, modifiers: currentModifiers });\n\n // For every escape code that we encounter we keep track of where the\n // next chunk of text starts, and what modifiers it has\n prevIndex = match.index + match[0].length;\n currentModifiers = this.processCode(match[0], currentModifiers);\n }\n };\n\n private processCode = (\n code: string,\n modifiers: ChunkModifiers,\n ): ChunkModifiers => {\n return codeModifiers[code]?.(modifiers) ?? modifiers;\n };\n}\n","/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { useEffect, useMemo, useRef } from 'react';\nimport { AnsiChunk, AnsiLine, ChunkModifiers } from './AnsiProcessor';\nimport startCase from 'lodash/startCase';\nimport classnames from 'classnames';\nimport { useStyles } from './styles';\nimport Linkify from 'linkify-react';\nimport { Link } from '../Link';\n\nexport function getModifierClasses(\n classes: ReturnType<typeof useStyles>,\n modifiers: ChunkModifiers,\n) {\n const classNames = new Array<string>();\n if (modifiers.bold) {\n classNames.push(classes.modifierBold);\n }\n if (modifiers.italic) {\n classNames.push(classes.modifierItalic);\n }\n if (modifiers.underline) {\n classNames.push(classes.modifierUnderline);\n }\n if (modifiers.foreground) {\n const key = `modifierForeground${startCase(\n modifiers.foreground,\n )}` as keyof typeof classes;\n classNames.push(classes[key]);\n }\n if (modifiers.background) {\n const key = `modifierBackground${startCase(\n modifiers.background,\n )}` as keyof typeof classes;\n classNames.push(classes[key]);\n }\n return classNames.length > 0 ? classNames.join(' ') : undefined;\n}\n\nexport function findSearchResults(text: string, searchText: string) {\n if (!searchText || !text.includes(searchText)) {\n return undefined;\n }\n const searchResults = new Array<{ start: number; end: number }>();\n let offset = 0;\n for (;;) {\n const start = text.indexOf(searchText, offset);\n if (start === -1) {\n break;\n }\n const end = start + searchText.length;\n searchResults.push({ start, end });\n offset = end;\n }\n return searchResults;\n}\n\nexport interface HighlightAnsiChunk extends AnsiChunk {\n highlight?: number;\n}\n\nexport function calculateHighlightedChunks(\n line: AnsiLine,\n searchText: string,\n): HighlightAnsiChunk[] {\n const results = findSearchResults(line.text, searchText);\n if (!results) {\n return line.chunks;\n }\n\n const chunks = new Array<HighlightAnsiChunk>();\n\n let lineOffset = 0;\n let resultIndex = 0;\n let result = results[resultIndex];\n for (const chunk of line.chunks) {\n const { text, modifiers } = chunk;\n if (!result || lineOffset + text.length < result.start) {\n chunks.push(chunk);\n lineOffset += text.length;\n continue;\n }\n\n let localOffset = 0;\n while (result) {\n const localStart = Math.max(result.start - lineOffset, 0);\n if (localStart > text.length) {\n break; // The next result is not in this chunk\n }\n\n const localEnd = Math.min(result.end - lineOffset, text.length);\n\n const hasTextBeforeResult = localStart > localOffset;\n if (hasTextBeforeResult) {\n chunks.push({ text: text.slice(localOffset, localStart), modifiers });\n }\n const hasResultText = localEnd > localStart;\n if (hasResultText) {\n chunks.push({\n modifiers,\n highlight: resultIndex,\n text: text.slice(localStart, localEnd),\n });\n }\n\n localOffset = localEnd;\n\n const foundCompleteResult = result.end - lineOffset === localEnd;\n if (foundCompleteResult) {\n resultIndex += 1;\n result = results[resultIndex];\n } else {\n break; // The rest of the result is in the following chunks\n }\n }\n\n const hasTextAfterResult = localOffset < text.length;\n if (hasTextAfterResult) {\n chunks.push({ text: text.slice(localOffset), modifiers });\n }\n\n lineOffset += text.length;\n }\n\n return chunks;\n}\n\nconst renderLink = ({\n attributes,\n content,\n}: {\n attributes: { [attr: string]: any };\n content: string;\n}) => {\n const { href, ...props } = attributes;\n return (\n <Link to={href} {...props}>\n {content}\n </Link>\n );\n};\n\nexport interface LogLineProps {\n line: AnsiLine;\n classes: ReturnType<typeof useStyles>;\n searchText: string;\n highlightResultIndex?: number;\n setRowHeight?: (index: number, size: number) => void;\n}\n\nexport function LogLine({\n line,\n classes,\n searchText,\n highlightResultIndex,\n setRowHeight,\n}: LogLineProps) {\n const lineRef = useRef<HTMLSpanElement>(null);\n const chunks = useMemo(\n () => calculateHighlightedChunks(line, searchText),\n [line, searchText],\n );\n\n useEffect(() => {\n if (lineRef.current && setRowHeight) {\n setRowHeight(line.lineNumber, lineRef.current.offsetHeight);\n }\n }, [line.lineNumber, setRowHeight]);\n\n const elements = useMemo(\n () =>\n chunks.map(({ text, modifiers, highlight }, index) => (\n // eslint-disable-next-line react/forbid-elements\n <span\n key={index}\n className={classnames(\n getModifierClasses(classes, modifiers),\n highlight !== undefined &&\n (highlight === highlightResultIndex\n ? classes.textSelectedHighlight\n : classes.textHighlight),\n { [classes.textWrap]: !!setRowHeight },\n )}\n >\n <Linkify options={{ render: renderLink }}>{text}</Linkify>\n </span>\n )),\n [chunks, highlightResultIndex, classes, setRowHeight],\n );\n\n return <span ref={lineRef}>{elements}</span>;\n}\n","/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { KeyboardEvent } from 'react';\nimport IconButton from '@material-ui/core/IconButton';\nimport TextField from '@material-ui/core/TextField';\nimport Typography from '@material-ui/core/Typography';\nimport ChevronLeftIcon from '@material-ui/icons/ChevronLeft';\nimport ChevronRightIcon from '@material-ui/icons/ChevronRight';\nimport FilterListIcon from '@material-ui/icons/FilterList';\nimport { LogViewerSearch } from './useLogViewerSearch';\n\nexport interface LogViewerControlsProps extends LogViewerSearch {}\n\nexport function LogViewerControls(props: LogViewerControlsProps) {\n const { resultCount, resultIndexStep, toggleShouldFilter } = props;\n const resultIndex = props.resultIndex ?? 0;\n\n const handleKeyPress = (event: KeyboardEvent<HTMLInputElement>) => {\n if (event.key === 'Enter') {\n if (event.metaKey || event.ctrlKey || event.altKey) {\n toggleShouldFilter();\n } else {\n resultIndexStep(event.shiftKey);\n }\n }\n };\n\n return (\n <>\n {resultCount !== undefined && (\n <>\n <IconButton size=\"small\" onClick={() => resultIndexStep(true)}>\n <ChevronLeftIcon />\n </IconButton>\n <Typography>\n {Math.min(resultIndex + 1, resultCount)}/{resultCount}\n </Typography>\n <IconButton size=\"small\" onClick={() => resultIndexStep()}>\n <ChevronRightIcon />\n </IconButton>\n </>\n )}\n <TextField\n size=\"small\"\n variant=\"standard\"\n placeholder=\"Search\"\n value={props.searchInput}\n onKeyPress={handleKeyPress}\n onChange={e => props.setSearchInput(e.target.value)}\n />\n <IconButton size=\"small\" onClick={toggleShouldFilter}>\n {props.shouldFilter ? (\n <FilterListIcon color=\"primary\" />\n ) : (\n <FilterListIcon color=\"disabled\" />\n )}\n </IconButton>\n </>\n );\n}\n","/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { alpha, makeStyles } from '@material-ui/core/styles';\nimport * as colors from '@material-ui/core/colors';\n\nexport const HEADER_SIZE = 40;\n\n/** @public Class keys for overriding LogViewer styles */\nexport type LogViewerClassKey =\n | 'root'\n | 'header'\n | 'log'\n | 'line'\n | 'lineSelected'\n | 'lineCopyButton'\n | 'lineNumber'\n | 'textHighlight'\n | 'textSelectedHighlight'\n | 'modifierBold'\n | 'modifierItalic'\n | 'modifierUnderline'\n | 'modifierForegroundBlack'\n | 'modifierForegroundRed'\n | 'modifierForegroundGreen'\n | 'modifierForegroundYellow'\n | 'modifierForegroundBlue'\n | 'modifierForegroundMagenta'\n | 'modifierForegroundCyan'\n | 'modifierForegroundWhite'\n | 'modifierForegroundGrey'\n | 'modifierBackgroundBlack'\n | 'modifierBackgroundRed'\n | 'modifierBackgroundGreen'\n | 'modifierBackgroundYellow'\n | 'modifierBackgroundBlue'\n | 'modifierBackgroundMagenta'\n | 'modifierBackgroundCyan'\n | 'modifierBackgroundWhite'\n | 'modifierBackgroundGrey';\n\nexport const useStyles = makeStyles(\n theme => ({\n root: {\n background: theme.palette.background.paper,\n },\n header: {\n height: HEADER_SIZE,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-end',\n },\n log: {\n fontFamily: '\"Monaco\", monospace',\n fontSize: theme.typography.pxToRem(12),\n lineHeight: '20px',\n },\n line: {\n position: 'relative',\n whiteSpace: 'pre',\n display: 'flex',\n alignItems: 'flex-start',\n\n '&:hover': {\n background: theme.palette.action.hover,\n },\n },\n lineSelected: {\n background: theme.palette.action.selected,\n\n '&:hover': {\n background: theme.palette.action.selected,\n },\n },\n lineCopyButton: {\n position: 'absolute',\n paddingTop: 0,\n paddingBottom: 0,\n },\n lineNumber: {\n display: 'inline-block',\n textAlign: 'end',\n width: 60,\n marginRight: theme.spacing(1),\n cursor: 'pointer',\n flexShrink: 0,\n },\n textHighlight: {\n background: alpha(theme.palette.info.main, 0.15),\n },\n textSelectedHighlight: {\n background: alpha(theme.palette.info.main, 0.4),\n },\n modifierBold: {\n fontWeight: theme.typography.fontWeightBold,\n },\n modifierItalic: {\n fontStyle: 'italic',\n },\n modifierUnderline: {\n textDecoration: 'underline',\n },\n modifierForegroundBlack: {\n color: colors.common.black,\n },\n modifierForegroundRed: {\n color: colors.red[500],\n },\n modifierForegroundGreen: {\n color: colors.green[500],\n },\n modifierForegroundYellow: {\n color: colors.yellow[500],\n },\n modifierForegroundBlue: {\n color: colors.blue[500],\n },\n modifierForegroundMagenta: {\n color: colors.purple[500],\n },\n modifierForegroundCyan: {\n color: colors.cyan[500],\n },\n modifierForegroundWhite: {\n color: colors.common.white,\n },\n modifierForegroundGrey: {\n color: colors.grey[500],\n },\n modifierBackgroundBlack: {\n background: colors.common.black,\n },\n modifierBackgroundRed: {\n background: colors.red[500],\n },\n modifierBackgroundGreen: {\n background: colors.green[500],\n },\n modifierBackgroundYellow: {\n background: colors.yellow[500],\n },\n modifierBackgroundBlue: {\n background: colors.blue[500],\n },\n modifierBackgroundMagenta: {\n background: colors.purple[500],\n },\n modifierBackgroundCyan: {\n background: colors.cyan[500],\n },\n modifierBackgroundWhite: {\n background: colors.common.white,\n },\n modifierBackgroundGrey: {\n background: colors.grey[500],\n },\n textWrap: {\n whiteSpace: 'pre-wrap',\n wordBreak: 'break-all',\n },\n }),\n { name: 'BackstageLogViewer' },\n);\n","/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { useMemo, useState } from 'react';\nimport { useToggle } from '@react-hookz/web';\nimport { AnsiLine } from './AnsiProcessor';\n\nexport function applySearchFilter(lines: AnsiLine[], searchText: string) {\n if (!searchText) {\n return { lines };\n }\n\n const matchingLines = [];\n const searchResults = [];\n for (const line of lines) {\n if (line.text.includes(searchText)) {\n matchingLines.push(line);\n\n let offset = 0;\n let lineResultIndex = 0;\n for (;;) {\n const start = line.text.indexOf(searchText, offset);\n if (start === -1) {\n break;\n }\n searchResults.push({\n lineNumber: line.lineNumber,\n lineIndex: lineResultIndex++,\n });\n offset = start + searchText.length;\n }\n }\n }\n\n return {\n lines: matchingLines,\n results: searchResults,\n };\n}\n\nexport interface LogViewerSearch {\n lines: AnsiLine[];\n\n searchText: string;\n searchInput: string;\n setSearchInput: (searchInput: string) => void;\n\n shouldFilter: boolean;\n toggleShouldFilter: () => void;\n\n resultCount: number | undefined;\n resultIndex: number | undefined;\n resultIndexStep: (decrement?: boolean) => void;\n\n resultLine: number | undefined;\n resultLineIndex: number | undefined;\n}\n\nexport function useLogViewerSearch(lines: AnsiLine[]): LogViewerSearch {\n const [searchInput, setSearchInput] = useState('');\n const searchText = searchInput.toLocaleLowerCase('en-US');\n\n const [resultIndex, setResultIndex] = useState<number>(0);\n\n const [shouldFilter, toggleShouldFilter] = useToggle(false);\n\n const filter = useMemo(\n () => applySearchFilter(lines, searchText),\n [lines, searchText],\n );\n\n const searchResult = filter.results\n ? filter.results[Math.min(resultIndex, filter.results.length - 1)]\n : undefined;\n const resultCount = filter.results?.length;\n\n const resultIndexStep = (decrement?: boolean) => {\n if (decrement) {\n if (resultCount !== undefined) {\n const next = Math.min(resultIndex - 1, resultCount - 2);\n setResultIndex(next < 0 ? resultCount - 1 : next);\n }\n } else {\n if (resultCount !== undefined) {\n const next = resultIndex + 1;\n setResultIndex(next >= resultCount ? 0 : next);\n }\n }\n };\n\n return {\n lines: shouldFilter ? filter.lines : lines,\n searchText,\n searchInput,\n setSearchInput,\n shouldFilter,\n toggleShouldFilter,\n resultCount,\n resultIndex,\n resultIndexStep,\n resultLine: searchResult?.lineNumber,\n resultLineIndex: searchResult?.lineIndex,\n };\n}\n","/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { errorApiRef, useApi } from '@backstage/core-plugin-api';\nimport { useEffect, useState } from 'react';\nimport useCopyToClipboard from 'react-use/esm/useCopyToClipboard';\nimport { AnsiLine } from './AnsiProcessor';\n\nexport function useLogViewerSelection(lines: AnsiLine[]) {\n const errorApi = useApi(errorApiRef);\n const [sel, setSelection] = useState<{ start: number; end: number }>();\n const start = sel ? Math.min(sel.start, sel.end) : undefined;\n const end = sel ? Math.max(sel.start, sel.end) : undefined;\n\n const [{ error }, copyToClipboard] = useCopyToClipboard();\n\n useEffect(() => {\n if (error) {\n errorApi.post(error);\n }\n }, [error, errorApi]);\n\n return {\n shouldShowButton(line: number) {\n return start === line || end === line;\n },\n isSelected(line: number) {\n if (!sel) {\n return false;\n }\n return start! <= line && line <= end!;\n },\n setSelection(line: number, add: boolean) {\n if (add) {\n setSelection(s =>\n s ? { start: s.start, end: line } : { start: line, end: line },\n );\n } else {\n setSelection(s =>\n s?.start === line && s?.end === line\n ? undefined\n : { start: line, end: line },\n );\n }\n },\n copySelection() {\n if (sel) {\n const copyText = lines\n .slice(Math.min(sel.start, sel.end) - 1, Math.max(sel.start, sel.end))\n .map(l => l.chunks.map(c => c.text).join(''))\n .join('\\n');\n copyToClipboard(copyText);\n setSelection(undefined);\n }\n },\n };\n}\n","/*\n * Copyright 2021 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport Box from '@material-ui/core/Box';\nimport IconButton from '@material-ui/core/IconButton';\nimport CopyIcon from '@material-ui/icons/FileCopy';\nimport classnames from 'classnames';\nimport { useEffect, useMemo, useRef, useState } from 'react';\nimport { useLocation } from 'react-router-dom';\nimport AutoSizer from 'react-virtualized-auto-sizer';\nimport { VariableSizeList, FixedSizeList } from 'react-window';\n\nimport { AnsiLine, AnsiProcessor } from './AnsiProcessor';\nimport { LogLine } from './LogLine';\nimport { LogViewerControls } from './LogViewerControls';\nimport { HEADER_SIZE, useStyles } from './styles';\nimport { useLogViewerSearch } from './useLogViewerSearch';\nimport { useLogViewerSelection } from './useLogViewerSelection';\n\nexport interface RealLogViewerProps {\n text: string;\n textWrap?: boolean;\n classes?: { root?: string };\n}\n\nexport function RealLogViewer(props: RealLogViewerProps) {\n const classes = useStyles({ classes: props.classes });\n const [listInstance, setListInstance] = useState<\n VariableSizeList<AnsiLine[]> | FixedSizeList<AnsiLine[]> | null\n >(null);\n const shouldTextWrap = props.textWrap ?? false;\n const heights = useRef<{ [key: number]: number }>({});\n\n // The processor keeps state that optimizes appending to the text\n const processor = useMemo(() => new AnsiProcessor(), []);\n const lines = processor.process(props.text);\n\n const search = useLogViewerSearch(lines);\n const selection = useLogViewerSelection(lines);\n const location = useLocation();\n\n useEffect(() => {\n if (listInstance) {\n listInstance.scrollToItem(lines.length - 1, 'end');\n }\n }, [listInstance, lines]);\n\n useEffect(() => {\n if (!listInstance) {\n return;\n }\n if (search.resultLine) {\n listInstance.scrollToItem(search.resultLine - 1, 'center');\n } else {\n listInstance.scrollToItem(lines.length - 1, 'end');\n }\n }, [listInstance, search.resultLine, lines]);\n\n useEffect(() => {\n if (location.hash) {\n // #line-6 -> 6\n const line = parseInt(location.hash.replace(/\\D/g, ''), 10);\n selection.setSelection(line, false);\n }\n }, []); // eslint-disable-line react-hooks/exhaustive-deps\n\n const handleSelectLine = (\n line: number,\n event: { shiftKey: boolean; preventDefault: () => void },\n ) => {\n selection.setSelection(line, event.shiftKey);\n };\n\n function setRowHeight(index: number, size: number) {\n if (shouldTextWrap && listInstance) {\n (listInstance as VariableSizeList<AnsiLine[]>).resetAfterIndex(0);\n // lineNumber is 1-based but index is 0-based\n heights.current[index - 1] = size;\n }\n }\n\n function getRowHeight(index: number) {\n return heights.current[index] || 20;\n }\n\n return (\n <AutoSizer>\n {({ height, width }: { height?: number; width?: number }) => {\n const commonProps = {\n ref: setListInstance,\n className: classes.log,\n height: (height || 480) - HEADER_SIZE,\n width: width || 640,\n itemData: search.lines,\n itemCount: search.lines.length,\n };\n\n const renderItem = ({\n index,\n style,\n data,\n }: {\n index: number;\n style: React.CSSProperties;\n data: AnsiLine[];\n }) => {\n const line = data[index];\n const { lineNumber } = line;\n return (\n <Box\n style={{ ...style }}\n className={classnames(classes.line, {\n [classes.lineSelected]: selection.isSelected(lineNumber),\n })}\n >\n {selection.shouldShowButton(lineNumber) && (\n <IconButton\n data-testid=\"copy-button\"\n size=\"small\"\n className={classes.lineCopyButton}\n onClick={() => selection.copySelection()}\n >\n <CopyIcon fontSize=\"inherit\" />\n </IconButton>\n )}\n <a\n role=\"row\"\n target=\"_self\"\n href={`#line-${lineNumber}`}\n className={classes.lineNumber}\n onClick={event => handleSelectLine(lineNumber, event)}\n onKeyPress={event => handleSelectLine(lineNumber, event)}\n >\n {lineNumber}\n </a>\n <LogLine\n setRowHeight={shouldTextWrap ? setRowHeight : undefined}\n line={line}\n classes={classes}\n searchText={search.searchText}\n highlightResultIndex={\n search.resultLine === lineNumber\n ? search.resultLineIndex\n : undefined\n }\n />\n </Box>\n );\n };\n\n return (\n <Box style={{ width, height }} className={classes.root}>\n <Box className={classes.header}>\n <LogViewerControls {...search} />\n </Box>\n {shouldTextWrap ? (\n <VariableSizeList<AnsiLine[]>\n {...commonProps}\n itemSize={getRowHeight}\n >\n {renderItem}\n </VariableSizeList>\n ) : (\n <FixedSizeList<AnsiLine[]> {...commonProps} itemSize={20}>\n {renderItem}\n </FixedSizeList>\n )}\n </Box>\n );\n }}\n </AutoSizer>\n );\n}\n"],"names":["ansiRegex","ansiRegexMaker","newlineRegex","codeModifiers","Object","fromEntries","entries","m","bold","italic","underline","_","foreground","background","map","code","modifier","AnsiLine","text","constructor","lineNumber","chunks","c","join","toLocaleLowerCase","lastChunk","length","replaceLastChunk","newChunks","splice","AnsiProcessor","lines","process","startsWith","lastLineIndex","lastLine","newLines","processLines","slice","modifiers","concat","startingLineNumber","currentModifiers","currentLineNumber","prevIndex","lastIndex","match","exec","processText","push","line","index","fullText","processCode","getModifierClasses","classes","classNames","Array","modifierBold","modifierItalic","modifierUnderline","key","startCase","undefined","findSearchResults","searchText","includes","searchResults","offset","start","indexOf","end","calculateHighlightedChunks","results","lineOffset","resultIndex","result","chunk","localOffset","localStart","Math","max","localEnd","min","highlight","renderLink","attributes","content","href","props","Link","to","LogLine","highlightResultIndex","setRowHeight","lineRef","useRef","useMemo","useEffect","current","offsetHeight","elements","span","className","classnames","textSelectedHighlight","textHighlight","textWrap","Linkify","options","render","ref","LogViewerControls","resultCount","resultIndexStep","toggleShouldFilter","handleKeyPress","event","metaKey","ctrlKey","altKey","shiftKey","IconButton","size","onClick","ChevronLeftIcon","Typography","ChevronRightIcon","TextField","variant","placeholder","value","searchInput","onKeyPress","onChange","e","setSearchInput","target","shouldFilter","FilterListIcon","color","HEADER_SIZE","useStyles","makeStyles","theme","root","palette","paper","header","height","display","alignItems","justifyContent","log","fontFamily","fontSize","typography","pxToRem","lineHeight","position","whiteSpace","action","hover","lineSelected","selected","lineCopyButton","paddingTop","paddingBottom","textAlign","width","marginRight","spacing","cursor","flexShrink","alpha","info","main","fontWeight","fontWeightBold","fontStyle","textDecoration","modifierForegroundBlack","colors","black","modifierForegroundRed","modifierForegroundGreen","modifierForegroundYellow","modifierForegroundBlue","modifierForegroundMagenta","modifierForegroundCyan","modifierForegroundWhite","white","modifierForegroundGrey","modifierBackgroundBlack","modifierBackgroundRed","modifierBackgroundGreen","modifierBackgroundYellow","modifierBackgroundBlue","modifierBackgroundMagenta","modifierBackgroundCyan","modifierBackgroundWhite","modifierBackgroundGrey","wordBreak","name","applySearchFilter","matchingLines","lineResultIndex","lineIndex","useLogViewerSearch","useState","setResultIndex","useToggle","filter","searchResult","decrement","next","resultLine","resultLineIndex","useLogViewerSelection","errorApi","useApi","errorApiRef","sel","setSelection","error","copyToClipboard","useCopyToClipboard","post","shouldShowButton","isSelected","add","s","copySelection","copyText","l","RealLogViewer","listInstance","setListInstance","shouldTextWrap","heights","search","selection","location","useLocation","scrollToItem","hash","parseInt","replace","handleSelectLine","resetAfterIndex","getRowHeight","AutoSizer","commonProps","itemData","itemCount","renderItem","style","data","Box","data-testid","CopyIcon","a","role","VariableSizeList","itemSize","FixedSizeList"],"sourceRoot":""}
@@ -1,6 +0,0 @@
1
- "use strict";(()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[9652],{52235:(I,y,t)=>{var e,p=t(4293),c=t(78920);e={value:!0},y.A=void 0;var f=c(t(14041)),v=p(t(74044)),g=(0,v.default)(f.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");y.A=g},48514:(I,y,t)=>{t.d(y,{M:()=>g});var e=t(31085),p=t(58837),c=t(71677),f=t(72501);const v=(0,p.A)({container:{overflow:"visible !important"},typo:{fontSize:"inherit",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box","-webkit-line-clamp":({line:r})=>r||1,"-webkit-box-orient":"vertical"}},{name:"BackstageOverflowTooltip"});function g(r){const R=v(r);return(0,e.jsx)(c.Ay,{title:r.title??(r.text||""),placement:r.placement,children:(0,e.jsx)(f.A,{className:R.typo,variant:"inherit",children:r.text})})}},48045:(I,y,t)=>{t.d(y,{n:()=>B});var e=t(31085),p=t(40703),c=t(59469),f=t(48653),v=t(45685),g=t(37197),r=t(58837),R=t(87051),i=t(53373),A=t.n(i),a=t(10394),m=t(72501),C=t(52235),l=t(72072);const h=(0,r.A)(n=>({root:{maxWidth:"fit-content",padding:n.spacing(2,2,2,2.5)},boxTitle:{margin:0,color:n.palette.textSubtle},arrow:{color:n.palette.textSubtle}}),{name:"BackstageBottomLink"});function x(n){const{link:s,title:d,onClick:j}=n,T=h();return(0,e.jsxs)(a.A,{children:[(0,e.jsx)(g.A,{}),(0,e.jsx)(l.N_,{to:s,onClick:j,underline:"none",children:(0,e.jsxs)(a.A,{display:"flex",alignItems:"center",className:T.root,children:[(0,e.jsx)(a.A,{className:T.boxTitle,fontWeight:"fontWeightBold",m:1,children:(0,e.jsx)(m.A,{children:(0,e.jsx)("strong",{children:d})})}),(0,e.jsx)(C.A,{className:T.arrow})]})})]})}var L=t(14041),u=t(73896),D=t(22020),K=t(10315),N=t(87849);const o=n=>{const{slackChannel:s}=n,{t:d}=(0,N.i)(K.O);if(s){if(typeof s=="string")return(0,e.jsx)(m.A,{children:d("errorBoundary.title",{slackChannel:s})});if(!s.href)return(0,e.jsx)(m.A,{children:d("errorBoundary.title",{slackChannel:s.name})})}else return null;return(0,e.jsx)(u.z,{to:s.href,variant:"contained",children:s.name})},M=class extends L.Component{constructor(s){super(s),this.state={error:void 0,errorInfo:void 0}}componentDidCatch(s,d){console.error(`ErrorBoundary, error: ${s}`,{error:s,errorInfo:d}),this.setState({error:s,errorInfo:d})}render(){const{slackChannel:s,children:d}=this.props,{error:j}=this.state;return j?(0,e.jsx)(D.b,{title:"Something Went Wrong",error:j,children:(0,e.jsx)(o,{slackChannel:s})}):d}},z=(0,r.A)(n=>({noPadding:{padding:0,"&:last-child":{paddingBottom:0}},contentAlignBottom:{display:"flex",alignItems:"self-end"},header:{padding:n.spacing(2,2,2,2.5)},headerTitle:{fontWeight:n.typography.fontWeightBold},headerSubheader:{paddingTop:n.spacing(1)},headerAvatar:{},headerAction:{},headerContent:{},subheader:{display:"flex"}}),{name:"BackstageInfoCard"}),E=(0,R.A)(n=>({root:{display:"inline-block",padding:n.spacing(8,8,0,0),float:"right"}}),{name:"BackstageInfoCardCardActionsTopRight"})(c.A),O={card:{flex:{display:"flex",flexDirection:"column"},fullHeight:{display:"flex",flexDirection:"column",height:"100%"},gridItem:{display:"flex",flexDirection:"column",height:"calc(100% - 10px)",marginBottom:"10px",breakInside:"avoid-page","@media print":{height:"auto"}}},cardContent:{fullHeight:{flex:1},gridItem:{flex:1}}};function B(n){const{title:s,subheader:d,divider:j=!0,deepLink:T,slackChannel:P,errorBoundaryProps:W,variant:H,alignContent:S="normal",children:U,headerStyle:F,headerProps:k,icon:w,action:Q,actionsClassName:G,actions:$,cardClassName:Z,actionsTopRight:J,className:q,noPadding:_,titleTypographyProps:tt,subheaderTypographyProps:et}=n,b=z();let V={},Y={};H&&H.split(/[\s]+/g).forEach(X=>{V={...V,...O.card[X]},Y={...Y,...O.cardContent[X]}});const nt=()=>!d&&!w?null:(0,e.jsxs)("div",{"data-testid":"info-card-subheader",children:[d&&(0,e.jsx)("div",{className:b.subheader,children:d}),w]}),st=W||(P?{slackChannel:P}:{});return(0,e.jsx)(p.A,{style:V,className:q,children:(0,e.jsxs)(M,{...st,children:[s&&(0,e.jsx)(v.A,{classes:{root:A()(b.header),title:b.headerTitle,subheader:b.headerSubheader,avatar:b.headerAvatar,action:b.headerAction,content:b.headerContent},title:s,subheader:nt(),action:Q,style:{...F},titleTypographyProps:tt,subheaderTypographyProps:et,...k}),J&&(0,e.jsx)(E,{children:J}),j&&(0,e.jsx)(g.A,{}),(0,e.jsx)(f.A,{className:A()(Z,{[b.noPadding]:_,[b.contentAlignBottom]:S==="bottom"}),style:Y,children:U}),$&&(0,e.jsx)(c.A,{className:G,children:$}),T&&(0,e.jsx)(x,{...T})]})})}},89648:(I,y,t)=>{t.d(y,{s:()=>l});var e=t(31085),p=t(58837),c=t(51372),f=t(48514),v=t(67871),g=t(90184),r=t(8859),R=t(34428);const i=Object.freeze({createEntityRefColumn(h){const{defaultKind:x}=h;function L(u){return u.metadata?.title||(0,g.S)(u,{defaultKind:x})}return{title:"Name",highlight:!0,customFilterAndSearch(u,D){return L(D).includes(u)},customSort(u,D){return L(u).localeCompare(L(D))},render:u=>(0,e.jsx)(r.z,{entityRef:u,defaultKind:x,title:u.metadata?.title})}},createEntityRelationColumn(h){const{title:x,relation:L,defaultKind:u,filter:D}=h;function K(o){return(0,v.t)(o,L,D)}function N(o){return K(o).map(M=>(0,g.S)(M,{defaultKind:u})).join(", ")}return{title:x,customFilterAndSearch(o,M){return N(M).includes(o)},customSort(o,M){return N(o).localeCompare(N(M))},render:o=>(0,e.jsx)(R.i,{entityRefs:K(o),defaultKind:u})}},createOwnerColumn(){return this.createEntityRelationColumn({title:"Owner",relation:c.vv,defaultKind:"group"})},createDomainColumn(){return this.createEntityRelationColumn({title:"Domain",relation:c.jn,defaultKind:"domain",filter:{kind:"domain"}})},createSystemColumn(){return this.createEntityRelationColumn({title:"System",relation:c.jn,defaultKind:"system",filter:{kind:"system"}})},createMetadataDescriptionColumn(){return{title:"Description",field:"metadata.description",render:h=>(0,e.jsx)(f.M,{text:h.metadata.description,placement:"bottom-start",line:2})}},createSpecLifecycleColumn(){return{title:"Lifecycle",field:"spec.lifecycle"}},createSpecTypeColumn(){return{title:"Type",field:"spec.type"}}}),A=[i.createEntityRefColumn({defaultKind:"system"}),i.createDomainColumn(),i.createOwnerColumn(),i.createMetadataDescriptionColumn()],a=[i.createEntityRefColumn({defaultKind:"component"}),i.createSystemColumn(),i.createOwnerColumn(),i.createSpecTypeColumn(),i.createSpecLifecycleColumn(),i.createMetadataDescriptionColumn()];var m=t(14209);const C=(0,p.A)(h=>({empty:{padding:h.spacing(2),display:"flex",justifyContent:"center"}})),l=h=>{const{entities:x,title:L,emptyContent:u,variant:D="gridItem",columns:K,tableOptions:N={}}=h,o=C(),M={minWidth:"0",width:"100%"};return D==="gridItem"&&(M.height="calc(100% - 10px)"),(0,e.jsx)(m.X,{columns:K,title:L,style:M,emptyContent:u&&(0,e.jsx)("div",{className:o.empty,children:u}),options:{search:!1,paging:!1,actionsColumnIndex:-1,padding:"dense",draggable:!1,...N},data:x})};l.columns=i,l.systemEntityColumns=A,l.componentEntityColumns=a},99538:(I,y,t)=>{t.d(y,{T7:()=>r,TY:()=>A,tN:()=>i});var e=t(31085),p=t(6820),c=t(25862),f=t(43836),v=t(10602);const g=(0,f.tK)("entity-context"),r=a=>{const{children:m,entity:C,loading:l,error:h,refresh:x}=a,L={entity:C,loading:l,error:h,refresh:x};return(0,e.jsx)(g.Provider,{value:(0,v.B)({1:L}),children:(0,e.jsx)(c.Ig,{attributes:{...C?{entityRef:(0,p.U2)(C)}:void 0},children:m})})},R=a=>_jsx(r,{entity:a.entity,loading:!a.entity,error:void 0,refresh:void 0,children:a.children});function i(){const a=(0,f.qO)("entity-context");if(!a)throw new Error("Entity context is not available");const m=a.atVersion(1);if(!m)throw new Error("EntityContext v1 not available");if(!m.entity)throw new Error("useEntity hook is being called outside of an EntityLayout where the entity has not been loaded. If this is intentional, please use useAsyncEntity instead.");return{entity:m.entity}}function A(){const a=(0,f.qO)("entity-context");if(!a)throw new Error("Entity context is not available");const m=a.atVersion(1);if(!m)throw new Error("EntityContext v1 not available");const{entity:C,loading:l,error:h,refresh:x}=m;return{entity:C,loading:l,error:h,refresh:x}}},90759:(I,y,t)=>{t.d(y,{W:()=>p});var e=t(93184);const p=(0,e.h)({id:"catalog",messages:{indexPage:{title:"{{orgName}} Catalog",createButtonTitle:"Create",supportButtonContent:"All your software catalog entities"},aboutCard:{title:"About",refreshButtonTitle:"Schedule entity refresh",editButtonTitle:"Edit Metadata",createSimilarButtonTitle:"Create something similar",refreshScheduledMessage:"Refresh scheduled",launchTemplate:"Launch Template",viewTechdocs:"View TechDocs",viewSource:"View Source",descriptionField:{label:"Description",value:"No description"},ownerField:{label:"Owner",value:"No Owner"},domainField:{label:"Domain",value:"No Domain"},systemField:{label:"System",value:"No System"},parentComponentField:{label:"Parent Component",value:"No Parent Component"},typeField:{label:"Type"},lifecycleField:{label:"Lifecycle"},tagsField:{label:"Tags",value:"No Tags"},targetsField:{label:"Targets"}},searchResultItem:{lifecycle:"Lifecycle",Owner:"Owner"},catalogTable:{warningPanelTitle:"Could not fetch catalog entities.",viewActionTitle:"View",editActionTitle:"Edit",starActionTitle:"Add to favorites",unStarActionTitle:"Remove from favorites"},dependencyOfComponentsCard:{title:"Dependency of components",emptyMessage:"No component depends on this component"},dependsOnComponentsCard:{title:"Depends on components",emptyMessage:"No component is a dependency of this component"},dependsOnResourcesCard:{title:"Depends on resources",emptyMessage:"No resource is a dependency of this component"},entityContextMenu:{copiedMessage:"Copied!",moreButtonTitle:"More",inspectMenuTitle:"Inspect entity",copyURLMenuTitle:"Copy entity URL",unregisterMenuTitle:"Unregister entity"},entityLabelsCard:{title:"Labels",emptyDescription:"No labels defined for this entity. You can add labels to your entity YAML as shown in the highlighted example below:",readMoreButtonTitle:"Read more"},entityLabels:{warningPanelTitle:"Entity not found",ownerLabel:"Owner",lifecycleLabel:"Lifecycle"},entityLinksCard:{title:"Links",emptyDescription:"No links defined for this entity. You can add links to your entity YAML as shown in the highlighted example below:",readMoreButtonTitle:"Read more"},entityNotFound:{title:"Entity was not found",description:"Want to help us build this? Check out our Getting Started documentation.",docButtonTitle:"DOCS"},deleteEntity:{dialogTitle:"Are you sure you want to delete this entity?",deleteButtonTitle:"Delete",cancelButtonTitle:"Cancel",description:"This entity is not referenced by any location and is therefore not receiving updates. Click here to delete."},entityProcessingErrorsDescription:"The error below originates from",entityRelationWarningDescription:`This entity has relations to other entities, which can't be found in the catalog.
2
- Entities not found are: `,hasComponentsCard:{title:"Has components",emptyMessage:"No component is part of this system"},hasResourcesCard:{title:"Has resources",emptyMessage:"No resource is part of this system"},hasSubcomponentsCard:{title:"Has subcomponents",emptyMessage:"No subcomponent is part of this component"},hasSubdomainsCard:{title:"Has subdomains",emptyMessage:"No subdomain is part of this domain"},hasSystemsCard:{title:"Has systems",emptyMessage:"No system is part of this domain"},relatedEntitiesCard:{emptyHelpLinkTitle:"Learn how to change this"},systemDiagramCard:{title:"System Diagram",description:"Use pinch & zoom to move around the diagram.",edgeLabels:{partOf:"part of",provides:"provides",dependsOn:"depends on"}}}})},9652:(I,y,t)=>{t.r(y),t.d(y,{HasSystemsCard:()=>r});var e=t(31085),p=t(51372),c=t(48105),f=t(59251),v=t(90759),g=t(87849);function r(R){const{t:i}=(0,g.i)(v.W),{variant:A="gridItem",title:a=i("hasSystemsCard.title"),columns:m=c.MW,tableOptions:C={}}=R;return(0,e.jsx)(f.p,{variant:A,title:a,entityKind:"System",relationType:p.sA,columns:m,asRenderableEntities:c.vy,emptyMessage:i("hasSystemsCard.emptyMessage"),emptyHelpLink:c.iU,tableOptions:C})}},59251:(I,y,t)=>{t.d(y,{p:()=>E});var e=t(31085),p=t(72501),c=t(99538),f=t(6820),v=t(72427),g=t(73466),r=t(7341);function R(O,B){const n=B?.type?.toLocaleLowerCase("en-US"),s=B?.kind?.toLocaleLowerCase("en-US"),d=(0,v.gf)(r.v),{loading:j,value:T,error:P}=(0,g.A)(async()=>{const W=O.relations?.filter(S=>(!n||S.type.toLocaleLowerCase("en-US")===n)&&(!s||(0,f.KU)(S.targetRef).kind===s));if(!W?.length)return[];const{items:H}=await d.getEntitiesByRefs({entityRefs:W.map(S=>S.targetRef)});return H.filter(S=>!!S)},[O,n,s]);return{entities:T,loading:j,error:P}}var i=t(89648),A=t(48045),a=t(68146),m=t(58837),C=t(37197),l=t(8109),h=t(5951),x=t(77310),L=t(37916),u=t(22020);const D=(0,m.A)(O=>({text:{fontFamily:"monospace",whiteSpace:"pre",overflowX:"auto",marginRight:O.spacing(2)},divider:{margin:O.spacing(2)}}),{name:"BackstageResponseErrorPanel"});function K(O){const{title:B,error:n,defaultExpanded:s}=O,d=D();if(n.name!=="ResponseError")return(0,e.jsx)(u.b,{title:B??n.message,defaultExpanded:s,error:n});const{body:j,cause:T}=n,{request:P,response:W}=j,H=`${W.statusCode}: ${T.name}`,S=P&&`${P.method} ${P.url}`,U=T.message.replace(/\\n/g,`
3
- `),F=T.stack?.replace(/\\n/g,`
4
- `),k=JSON.stringify(j,void 0,2);return(0,e.jsxs)(u.b,{title:B??n.message,defaultExpanded:s,error:{name:H,message:U,stack:F},children:[S&&(0,e.jsxs)(l.A,{alignItems:"flex-start",children:[(0,e.jsx)(h.A,{classes:{secondary:d.text},primary:"Request",secondary:P?`${S}`:void 0}),(0,e.jsx)(L.l,{text:S})]}),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(C.A,{component:"li",className:d.divider}),(0,e.jsx)(l.A,{alignItems:"flex-start",children:(0,e.jsx)(h.A,{classes:{secondary:d.text},primary:"Full Error as JSON"})}),(0,e.jsx)(x.z,{language:"json",text:k,showCopyCodeButton:!0})]})]})}var N=t(72072),o=t(48105),M=t(90759),z=t(87849);const E=O=>{const{variant:B="gridItem",title:n,columns:s,entityKind:d,relationType:j,emptyMessage:T,emptyHelpLink:P,asRenderableEntities:W,tableOptions:H={}}=O,{t:S}=(0,z.i)(M.W),{entity:U}=(0,c.tN)(),{entities:F,loading:k,error:w}=R(U,{type:j,kind:d});return k?(0,e.jsx)(A.n,{variant:B,title:n,children:(0,e.jsx)(a.k,{})}):w?(0,e.jsx)(A.n,{variant:B,title:n,children:(0,e.jsx)(K,{error:w})}):(0,e.jsx)(i.s,{title:n,variant:B,emptyContent:(0,e.jsxs)("div",{style:{textAlign:"center"},children:[(0,e.jsx)(p.A,{variant:"body1",children:T}),(0,e.jsx)(p.A,{variant:"body2",children:(0,e.jsx)(N.N_,{to:P,externalLinkIcon:!0,children:S("relatedEntitiesCard.emptyHelpLinkTitle")})})]}),columns:s,entities:W(F||[]),tableOptions:H})};E.componentEntityColumns=o.mz,E.componentEntityHelpLink=o.e2,E.asComponentEntities=o.xJ,E.resourceEntityColumns=o.v9,E.resourceEntityHelpLink=o.nz,E.asResourceEntities=o.eB,E.systemEntityColumns=o.MW,E.systemEntityHelpLink=o.iU,E.asSystemEntities=o.vy,E.domainEntityColums=o.xO,E.domainEntityHelpLink=o.Xr,E.asDomainEntities=o.QS},48105:(I,y,t)=>{t.d(y,{MW:()=>R,QS:()=>C,Xr:()=>m,e2:()=>c,eB:()=>r,iU:()=>i,mz:()=>p,nz:()=>g,v9:()=>v,vy:()=>A,xJ:()=>f,xO:()=>a});var e=t(89648);const p=[e.s.columns.createEntityRefColumn({defaultKind:"component"}),e.s.columns.createOwnerColumn(),e.s.columns.createSpecTypeColumn(),e.s.columns.createSpecLifecycleColumn(),e.s.columns.createMetadataDescriptionColumn()],c="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-component",f=l=>l,v=[e.s.columns.createEntityRefColumn({defaultKind:"resource"}),e.s.columns.createOwnerColumn(),e.s.columns.createSpecTypeColumn(),e.s.columns.createSpecLifecycleColumn(),e.s.columns.createMetadataDescriptionColumn()],g="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-resource",r=l=>l,R=[e.s.columns.createEntityRefColumn({defaultKind:"system"}),e.s.columns.createOwnerColumn(),e.s.columns.createMetadataDescriptionColumn()],i="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-system",A=l=>l,a=[e.s.columns.createEntityRefColumn({defaultKind:"domain"}),e.s.columns.createOwnerColumn(),e.s.columns.createMetadataDescriptionColumn()],m="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-domain",C=l=>l}}]);})();
5
-
6
- //# sourceMappingURL=9652.784d1aef.chunk.js.map