@oscloudlab/knowledge-card 0.0.7 → 0.0.9

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 (333) hide show
  1. package/dist/{abap-CAjc-L-i.js → abap-o7h27HV2.js} +1 -1
  2. package/dist/{abnf-BziFxpNk.js → abnf-C5YZyjte.js} +1 -1
  3. package/dist/{actionscript-BO5M9Qyz.js → actionscript-Dc7RGuEN.js} +1 -1
  4. package/dist/{ada-CB2ejYIS.js → ada-DsfU9j_U.js} +1 -1
  5. package/dist/{agda-BHMyjhEx.js → agda-BqD_eaWC.js} +1 -1
  6. package/dist/{al-Dyt-CL-j.js → al-C-x9Z2lb.js} +1 -1
  7. package/dist/{antlr4-8OSL6qF2.js → antlr4-sxWVgFBW.js} +1 -1
  8. package/dist/{apacheconf-CGT-mxly.js → apacheconf-Dh-WQ9WY.js} +1 -1
  9. package/dist/{apex-tVD_fAmX.js → apex-Cpyc9g_a.js} +1 -1
  10. package/dist/{apl-BasGvTk9.js → apl-ANnYcUpm.js} +1 -1
  11. package/dist/{applescript-C-FXJgyU.js → applescript-B-V_7rj1.js} +1 -1
  12. package/dist/{aql-fwgJ-tr0.js → aql-CC3BDkgc.js} +1 -1
  13. package/dist/{arduino-D17BuO7J.js → arduino-Dpu5uWn5.js} +1 -1
  14. package/dist/{arff-DWTWNPQJ.js → arff-RqnwBElb.js} +1 -1
  15. package/dist/{asciidoc-3ef1fDNu.js → asciidoc-Bt_30E_E.js} +1 -1
  16. package/dist/{asm6502-BguH7JIG.js → asm6502-Zm6BraOI.js} +1 -1
  17. package/dist/{asmatmel-CifEEKmO.js → asmatmel-BrUD00Mx.js} +1 -1
  18. package/dist/{aspnet-uQLtJyt8.js → aspnet-ClFIeUyn.js} +1 -1
  19. package/dist/{autohotkey-BwGYrLDC.js → autohotkey-m4MnmteH.js} +1 -1
  20. package/dist/autohotkey-m4MnmteH.js.gz +0 -0
  21. package/dist/{autoit-DK5Ua7W_.js → autoit-gaWV62KN.js} +1 -1
  22. package/dist/{avisynth-DkBVGpu3.js → avisynth-CNFwOhEd.js} +1 -1
  23. package/dist/{avro-idl-C7eqDOB1.js → avro-idl-CuiCvV8D.js} +1 -1
  24. package/dist/{bash-CHty129v.js → bash-DxaoY-ba.js} +1 -1
  25. package/dist/{basic-C7OhqjsH.js → basic-swYnZ9xc.js} +1 -1
  26. package/dist/{batch-DlSH_aD7.js → batch-CwkWJBoL.js} +1 -1
  27. package/dist/{bbcode-C-Vz64EB.js → bbcode-D5xvJWoV.js} +1 -1
  28. package/dist/{bicep-NzYroakY.js → bicep-DrJ8JCy1.js} +1 -1
  29. package/dist/{birb-D7iJNgu0.js → birb-DVzzwSQu.js} +1 -1
  30. package/dist/{bison-Of2u-VYA.js → bison-CBRieYS3.js} +1 -1
  31. package/dist/{bnf-ZJqXzPQT.js → bnf-DcNGA-7f.js} +1 -1
  32. package/dist/{brainfuck-BuWJs-9d.js → brainfuck-BcQajhTi.js} +1 -1
  33. package/dist/{brightscript-BfTYmJUz.js → brightscript-B1WZo1hK.js} +1 -1
  34. package/dist/{bro-BviKKGTo.js → bro-Df51tlJu.js} +1 -1
  35. package/dist/{bsl-BjjtBf9n.js → bsl-C0benxyh.js} +1 -1
  36. package/dist/{c-Blg1MMxV.js → c-DjWi3kto.js} +1 -1
  37. package/dist/{cfscript-EhADvpsx.js → cfscript-Dpv6SS3p.js} +1 -1
  38. package/dist/{chaiscript-QqEe8FwO.js → chaiscript-CZvlqJ7n.js} +1 -1
  39. package/dist/{cil-CAMsZn01.js → cil-CchdnF34.js} +1 -1
  40. package/dist/{clike-pjoeQKXc.js → clike-VbO9O6_f.js} +1 -1
  41. package/dist/{clojure-mNXfdkqr.js → clojure-CqBcEMJX.js} +1 -1
  42. package/dist/{cmake-tadKI_g1.js → cmake-BLuLZUfe.js} +1 -1
  43. package/dist/{cmake-tadKI_g1.js.gz → cmake-BLuLZUfe.js.gz} +0 -0
  44. package/dist/{cobol-BJ9sHThZ.js → cobol-C4BvG5vk.js} +1 -1
  45. package/dist/{coffeescript-CClJqr0k.js → coffeescript-BPQLp2vH.js} +1 -1
  46. package/dist/{concurnas-DrgY5xMB.js → concurnas-Dg-uqYqX.js} +1 -1
  47. package/dist/{coq-DS3Wu2GP.js → coq-BIEdUrWi.js} +1 -1
  48. package/dist/{core-DPsDU6XI.js → core-TX9WS0fZ.js} +5 -5
  49. package/dist/core-TX9WS0fZ.js.gz +0 -0
  50. package/dist/{cpp-CkAP3xvi.js → cpp-B13CD78g.js} +1 -1
  51. package/dist/{crystal-k9ipqY_i.js → crystal-CFaYLHC3.js} +1 -1
  52. package/dist/{csharp-BIZlObeW.js → csharp-Dh3j4dqG.js} +1 -1
  53. package/dist/{cshtml-CunAPNhu.js → cshtml-CAmbXmyJ.js} +1 -1
  54. package/dist/{csp-GK1TAXt4.js → csp-3s-Xm_MS.js} +1 -1
  55. package/dist/{css-extras-DmtfPLmD.js → css-extras-BoW76IG3.js} +1 -1
  56. package/dist/{css-CstSuTfA.js → css-hBbmcaNv.js} +1 -1
  57. package/dist/{csv-Bl4fFKoM.js → csv-TFhEUzCl.js} +1 -1
  58. package/dist/{cypher-D49Jw07k.js → cypher-CODk-stO.js} +1 -1
  59. package/dist/{d-DqYfQu0I.js → d-C7-Vr_dP.js} +1 -1
  60. package/dist/{dart-eeGEuvXW.js → dart-B3iwWsop.js} +1 -1
  61. package/dist/{dataweave-v-7gmYQv.js → dataweave-B08uGKWV.js} +1 -1
  62. package/dist/{dax-6QD11bNg.js → dax-Ch3QzUTv.js} +1 -1
  63. package/dist/{dhall-B4ENlzz6.js → dhall-BO-MQqXK.js} +1 -1
  64. package/dist/{diff-BogZav9F.js → diff-CJnWeO9Y.js} +1 -1
  65. package/dist/{django-BWhMqAQI.js → django-n-4iLtwV.js} +1 -1
  66. package/dist/{dns-zone-file-BDmxbuDW.js → dns-zone-file-Dl__EHWj.js} +1 -1
  67. package/dist/{docker-BY5mJN6X.js → docker-U_Ba8v65.js} +1 -1
  68. package/dist/{dot-D6YUT_LB.js → dot-D5N0ZyiE.js} +1 -1
  69. package/dist/{ebnf-DONLW2TZ.js → ebnf-Nf56CaFI.js} +1 -1
  70. package/dist/{editorconfig-B8NJhiEg.js → editorconfig-B4ylR1gc.js} +1 -1
  71. package/dist/{eiffel-DpESlT_b.js → eiffel-548iLlBt.js} +1 -1
  72. package/dist/{ejs-Cg55LNrC.js → ejs-1aXyTTO0.js} +1 -1
  73. package/dist/{elixir-DmUuGB6L.js → elixir-DM6t16My.js} +1 -1
  74. package/dist/{elm-BJJHBswN.js → elm-DznzkUsQ.js} +1 -1
  75. package/dist/{erb-JOvTLUw9.js → erb-BvA7mUN9.js} +1 -1
  76. package/dist/{erlang-DAI00O6P.js → erlang-B3KiukP8.js} +1 -1
  77. package/dist/{etlua-DA34U-sL.js → etlua-B7XqZsTH.js} +1 -1
  78. package/dist/{excel-formula-CjOfX-3h.js → excel-formula-DhcFYJjT.js} +1 -1
  79. package/dist/{factor-Dd1F5gIT.js → factor-C8LBebP6.js} +1 -1
  80. package/dist/factor-C8LBebP6.js.gz +0 -0
  81. package/dist/{false-CTR1psLS.js → false-CKkzExb-.js} +1 -1
  82. package/dist/{firestore-security-rules-D7XJz0HW.js → firestore-security-rules-DaktHxX7.js} +1 -1
  83. package/dist/{flow-C_vHITVe.js → flow-wsmC3Iap.js} +1 -1
  84. package/dist/{fortran-doWjzw6o.js → fortran-CkSU5KcD.js} +1 -1
  85. package/dist/{fsharp-B2Nu5wLd.js → fsharp-CazRVX6W.js} +1 -1
  86. package/dist/{ftl-BWXniTdI.js → ftl-CKFQknKh.js} +1 -1
  87. package/dist/{gap-q9i2USK7.js → gap-DXEeMsq5.js} +1 -1
  88. package/dist/{gcode-Cq2ldzIT.js → gcode-WQbZJKYF.js} +1 -1
  89. package/dist/{gdscript-35zDGBT0.js → gdscript-BC6Lsy4v.js} +1 -1
  90. package/dist/{gedcom-DTX3ktg7.js → gedcom-CbFn5yEU.js} +1 -1
  91. package/dist/{gherkin-CcrQuZ8q.js → gherkin-6yiRZKtp.js} +1 -1
  92. package/dist/gherkin-6yiRZKtp.js.gz +0 -0
  93. package/dist/{git-CGDGEGdn.js → git-KwWhVS-x.js} +1 -1
  94. package/dist/{glsl-Bs0bG6B_.js → glsl-BgwzTLBV.js} +1 -1
  95. package/dist/{gml-2M6qzR_9.js → gml-BXFtASiU.js} +1 -1
  96. package/dist/{gn-BrTFpEoD.js → gn-CN3sZXdx.js} +1 -1
  97. package/dist/{go-module-BMmQWowZ.js → go-module-BTYn4qhW.js} +1 -1
  98. package/dist/{go-B0-8jL_W.js → go-zq5Ncylm.js} +1 -1
  99. package/dist/{graphql-D7OiIDiY.js → graphql-n5d8dR_J.js} +1 -1
  100. package/dist/{groovy-33czBEe9.js → groovy-CBbesrR-.js} +1 -1
  101. package/dist/{haml-BG8z_HtO.js → haml-KZMU531a.js} +1 -1
  102. package/dist/{handlebars-Dh1V9f4l.js → handlebars-BnzvdYJa.js} +1 -1
  103. package/dist/{haskell-8WIEGT76.js → haskell-BF_nWjSI.js} +1 -1
  104. package/dist/{haxe-CNFey9xz.js → haxe-CZHWEdBw.js} +1 -1
  105. package/dist/{hcl-B8gr8Em6.js → hcl-xtEu2r3M.js} +1 -1
  106. package/dist/{hlsl-qVyHPW-e.js → hlsl-CzqpD17g.js} +1 -1
  107. package/dist/{hoon-YNDUdnqW.js → hoon-DayT5WM6.js} +1 -1
  108. package/dist/{hpkp-pyas0rqh.js → hpkp-DuVlSxD5.js} +1 -1
  109. package/dist/{hsts-BRU2gGJV.js → hsts-DPfbIK3F.js} +1 -1
  110. package/dist/{http-BDwbw7mM.js → http-fx_JYvk1.js} +1 -1
  111. package/dist/{ichigojam-BZmsMeqj.js → ichigojam-BAjgxCku.js} +1 -1
  112. package/dist/{icon-CoWF0_g1.js → icon-DlFYjYch.js} +1 -1
  113. package/dist/{icu-message-format-i_Z2w77C.js → icu-message-format-CkXKFVGR.js} +1 -1
  114. package/dist/{idris-CAL69AJi.js → idris-CSU2QG07.js} +1 -1
  115. package/dist/{iecst-DrnYBQeF.js → iecst-Vp1WO4pc.js} +1 -1
  116. package/dist/{ignore-B8VkzyR6.js → ignore-iyidOS2u.js} +1 -1
  117. package/dist/{index-BNg5INZl.js → index-Bn5TKwCB.js} +67280 -46867
  118. package/dist/index-Bn5TKwCB.js.gz +0 -0
  119. package/dist/{inform7-Bvv9N86A.js → inform7-DbrOYxKo.js} +1 -1
  120. package/dist/{ini-B8j5VmtW.js → ini-Cc1jaaD5.js} +1 -1
  121. package/dist/{io-Dmu9i0nm.js → io-BebIVatH.js} +1 -1
  122. package/dist/{j-D_UQevQl.js → j-Cs5o17Bv.js} +1 -1
  123. package/dist/{java-CFxPwaCY.js → java-BbGpa-Xl.js} +1 -1
  124. package/dist/{javadoc-_MMVimY0.js → javadoc-D_FM5J_6.js} +1 -1
  125. package/dist/{javadoclike-DE9ZYsIF.js → javadoclike-BF7pNG2n.js} +1 -1
  126. package/dist/{javascript-CzkisfF0.js → javascript-CLJKT5C0.js} +1 -1
  127. package/dist/{javastacktrace-ByU4hj-R.js → javastacktrace-CTum-pHz.js} +1 -1
  128. package/dist/{jexl-CY8vpQnE.js → jexl-ePWYt11P.js} +1 -1
  129. package/dist/{jolie-DK2ILUET.js → jolie-LGGAItPK.js} +1 -1
  130. package/dist/{jq-rOfrc-ov.js → jq-BMWSAgpV.js} +1 -1
  131. package/dist/{js-extras-DcZWaJsN.js → js-extras-DePGfKgt.js} +1 -1
  132. package/dist/{js-templates-BxK-yvQk.js → js-templates-lxvDrGbo.js} +1 -1
  133. package/dist/{jsdoc-g5WWD7sg.js → jsdoc-Dsci_uxx.js} +1 -1
  134. package/dist/{json-DsZh36Bn.js → json-A5MEsg1i.js} +1 -1
  135. package/dist/{json5-B1XiALI2.js → json5-CuU3AjdU.js} +1 -1
  136. package/dist/{jsonp-furGzMwZ.js → jsonp-EF-D7og7.js} +1 -1
  137. package/dist/{jsstacktrace-BcSnQENQ.js → jsstacktrace-B0p2tHpc.js} +1 -1
  138. package/dist/{jsx-C0QVKWPI.js → jsx-BhAgwkqv.js} +1 -1
  139. package/dist/{julia-BBgTpppN.js → julia-DJJr276i.js} +1 -1
  140. package/dist/{keepalived-CVxC89Z8.js → keepalived-mNsQEji5.js} +1 -1
  141. package/dist/{keyman-Bv0fEvUQ.js → keyman-s3paVlZX.js} +1 -1
  142. package/dist/knowledge-card.es.js +14 -2
  143. package/dist/knowledge-card.umd.js +133 -101
  144. package/dist/knowledge-card.umd.js.gz +0 -0
  145. package/dist/{kotlin-BgwbXZcd.js → kotlin-DfYl0ocz.js} +1 -1
  146. package/dist/{kumir-2G9ooniZ.js → kumir-Ch7X0pXF.js} +1 -1
  147. package/dist/{kusto-BcQj9jYy.js → kusto-BVqAp6Tw.js} +1 -1
  148. package/dist/{latex-CwMHPpLM.js → latex-D3fvj9sm.js} +1 -1
  149. package/dist/{latte-D-yutbwc.js → latte-zZmr-eZ3.js} +1 -1
  150. package/dist/{less-B3LgMbZk.js → less-C9gic8zn.js} +1 -1
  151. package/dist/{lilypond-Bsmvq7-y.js → lilypond-VYjyJVOz.js} +1 -1
  152. package/dist/{liquid-Bgcthur_.js → liquid-2-B5jCF6.js} +1 -1
  153. package/dist/{lisp-CHS16LXY.js → lisp-CP7_AkFs.js} +1 -1
  154. package/dist/{livescript-B2H3LQWe.js → livescript-DcOsRKyX.js} +1 -1
  155. package/dist/{llvm-CQeAW7gK.js → llvm-CfjpfOVZ.js} +1 -1
  156. package/dist/{log-B1n_Sa0Y.js → log-8UUKEDzj.js} +1 -1
  157. package/dist/{lolcode-BENE4Xjw.js → lolcode-3m1ezsyB.js} +1 -1
  158. package/dist/{lua-CsrC2v4i.js → lua-DmVaBZ8z.js} +1 -1
  159. package/dist/{magma-otap4CBF.js → magma-D0_90cxm.js} +1 -1
  160. package/dist/{makefile-1_MdSlKS.js → makefile-Oyod8NOz.js} +1 -1
  161. package/dist/{markdown-D2Dw-lt2.js → markdown-gAa5EWxM.js} +1 -1
  162. package/dist/markdown-gAa5EWxM.js.gz +0 -0
  163. package/dist/{markup-C93_qRpB.js → markup-B77VvQcT.js} +1 -1
  164. package/dist/{markup-templating-DqHaZPE7.js → markup-templating-CrSMDKhn.js} +1 -1
  165. package/dist/{matlab-CoixbAb_.js → matlab-EUyWkcO1.js} +1 -1
  166. package/dist/{maxscript-BsWCvULn.js → maxscript-BMb8j6H2.js} +1 -1
  167. package/dist/{mel-Cb6XoSgp.js → mel-NMiUZm3S.js} +1 -1
  168. package/dist/mel-NMiUZm3S.js.gz +0 -0
  169. package/dist/{mermaid-kV9M3tLT.js → mermaid-4HGxEHAR.js} +1 -1
  170. package/dist/{mizar-Oom0fcLa.js → mizar-DTa6RP9L.js} +1 -1
  171. package/dist/{mongodb-Bi-evMtb.js → mongodb-ChfCGPkA.js} +1 -1
  172. package/dist/{monkey-DTAzT9qU.js → monkey-wSvaQrpo.js} +1 -1
  173. package/dist/{moonscript-DxdR3EtJ.js → moonscript-VsdVxMIH.js} +1 -1
  174. package/dist/{n1ql-DENiHB5I.js → n1ql-Ch8C8oLh.js} +1 -1
  175. package/dist/{n4js-DYw5bXGB.js → n4js-YemxOuiQ.js} +1 -1
  176. package/dist/{nand2tetris-hdl-BCedGpWS.js → nand2tetris-hdl-BBtmIjzx.js} +1 -1
  177. package/dist/{naniscript-VHaGsSim.js → naniscript-L6fLyKKZ.js} +1 -1
  178. package/dist/{nasm-DhSTEi-9.js → nasm-fQJwQBCl.js} +1 -1
  179. package/dist/{neon-UVN1Tw_3.js → neon-CmwB2z8X.js} +1 -1
  180. package/dist/{nevod-WhzAUD32.js → nevod-B_6YMipO.js} +1 -1
  181. package/dist/{nginx-DkgLgNH-.js → nginx-B5f0tsHB.js} +1 -1
  182. package/dist/{nim-D8lF7rq8.js → nim-B4mXKvxS.js} +1 -1
  183. package/dist/{nix-Bjq4HlFt.js → nix-DVfCu4C4.js} +1 -1
  184. package/dist/{nsis-CnjJR2FJ.js → nsis-DiwDhzPY.js} +1 -1
  185. package/dist/{objectivec-CTui2_eD.js → objectivec-BEVBKtuD.js} +1 -1
  186. package/dist/{ocaml-DFVfU8pu.js → ocaml-C-DYauVQ.js} +1 -1
  187. package/dist/{opencl-DS4FQSRf.js → opencl-DRK42iIl.js} +1 -1
  188. package/dist/opencl-DRK42iIl.js.gz +0 -0
  189. package/dist/{openqasm-N4v30NRT.js → openqasm-CzwBA7yP.js} +1 -1
  190. package/dist/{oz-CcBwRBVN.js → oz-CSrCTncq.js} +1 -1
  191. package/dist/{parigp-Drow4J0Y.js → parigp-D9oMF_Tt.js} +1 -1
  192. package/dist/{parser-BMn4dhly.js → parser-CAoUJFFs.js} +1 -1
  193. package/dist/{pascal-CO60FOZI.js → pascal-ClTebcJp.js} +1 -1
  194. package/dist/{pascaligo-9sdvHRU1.js → pascaligo-ScW58yzg.js} +1 -1
  195. package/dist/{pcaxis-Bv9axNbU.js → pcaxis-DZA4_O2x.js} +1 -1
  196. package/dist/{peoplecode-C2byWYGK.js → peoplecode-Dy4iKCXY.js} +1 -1
  197. package/dist/{perl-CB7qzqed.js → perl-BdSJnNM-.js} +1 -1
  198. package/dist/{php-BLzy7UZ5.js → php-DZeo-c7k.js} +1 -1
  199. package/dist/{php-extras-B9cfv_-s.js → php-extras-rqEUy_CB.js} +1 -1
  200. package/dist/{phpdoc-C-t0vPc3.js → phpdoc-Bs4mosIV.js} +1 -1
  201. package/dist/{plsql-DiW7USdU.js → plsql-BCR0bUZ9.js} +1 -1
  202. package/dist/{powerquery-D6cLp7LV.js → powerquery-Cnn7CsSV.js} +1 -1
  203. package/dist/{powershell-DYnJupW9.js → powershell-DBXQqwo0.js} +1 -1
  204. package/dist/{processing-CEjrszl5.js → processing-BxuRXTuq.js} +1 -1
  205. package/dist/{prolog-Bhtm0Ucy.js → prolog-B2gJSzAB.js} +1 -1
  206. package/dist/{promql-CKj1N3Qa.js → promql-D-V4SR3C.js} +1 -1
  207. package/dist/{properties-CC4acQoP.js → properties-K0VdYtP0.js} +1 -1
  208. package/dist/{protobuf-KD3IiDXx.js → protobuf-D0-IE440.js} +1 -1
  209. package/dist/{psl-DWQm9K3F.js → psl-DCCMJvAK.js} +1 -1
  210. package/dist/{pug-DgeJ1i_u.js → pug-CAp5mVEu.js} +1 -1
  211. package/dist/{puppet-BX43JqCr.js → puppet-C_CTTlV7.js} +1 -1
  212. package/dist/{pure-BksDdMQ8.js → pure-DYr2NJ0S.js} +1 -1
  213. package/dist/{purebasic-DJv8fxSc.js → purebasic-D1EOQ-5y.js} +1 -1
  214. package/dist/{purescript-Dg9Gz0Mn.js → purescript-HzmHfLB4.js} +1 -1
  215. package/dist/{python-Vb9NO3vE.js → python-BwGxZ25-.js} +1 -1
  216. package/dist/{q-CaOqHsqz.js → q-tIdpidoi.js} +1 -1
  217. package/dist/{qml-DI1TmK3Z.js → qml-WWWlyJU6.js} +1 -1
  218. package/dist/{qore-BlFoutGJ.js → qore-C_CEE08_.js} +1 -1
  219. package/dist/{qsharp-D3faMIse.js → qsharp-Csj4nm_h.js} +1 -1
  220. package/dist/{r-B2OJCmF9.js → r-BGU1deY7.js} +1 -1
  221. package/dist/{racket-Bsw-qBt0.js → racket-B8ItRFKp.js} +1 -1
  222. package/dist/{reason-CtbzBXQG.js → reason-CWLoHxOa.js} +1 -1
  223. package/dist/{regex-V8nUstuk.js → regex-CLlofNKo.js} +1 -1
  224. package/dist/{rego-CsVS9iDu.js → rego-C3b4d5Ax.js} +1 -1
  225. package/dist/{renpy-DnQVUnNT.js → renpy-BTOho8Fw.js} +1 -1
  226. package/dist/{rest-en92ElIg.js → rest-DmwA_Ynf.js} +1 -1
  227. package/dist/{rip-CU4ON6Ac.js → rip-CH4UnVv6.js} +1 -1
  228. package/dist/{roboconf-DlcXlTZy.js → roboconf-sQqDkLOe.js} +1 -1
  229. package/dist/{robotframework-lR6OUIFx.js → robotframework-BlRLR5vS.js} +1 -1
  230. package/dist/{ruby-CQsntlFM.js → ruby-C0BPo3_k.js} +1 -1
  231. package/dist/{rust-DKh-5S0E.js → rust-BKPNbS4l.js} +1 -1
  232. package/dist/{sas-DR7zMFaX.js → sas-hDL2ltUO.js} +1 -1
  233. package/dist/sas-hDL2ltUO.js.gz +0 -0
  234. package/dist/{sass-BecK_JWC.js → sass-D2rSWl1q.js} +1 -1
  235. package/dist/{scala-BfcQGnBj.js → scala-jKIRIR_a.js} +1 -1
  236. package/dist/{scheme-B20Q1Wx8.js → scheme-B2ORxTLa.js} +1 -1
  237. package/dist/{scss-xyN771uZ.js → scss-DRBgAIBj.js} +1 -1
  238. package/dist/{shell-session-DJbSLyiO.js → shell-session-BXsl3z2i.js} +1 -1
  239. package/dist/{smali-CmNOOSDW.js → smali-DALeQPNa.js} +1 -1
  240. package/dist/{smalltalk-BRAHQiGZ.js → smalltalk-gTCNE7Tt.js} +1 -1
  241. package/dist/{smarty-C-7-aZU5.js → smarty-Dpj-wjvl.js} +1 -1
  242. package/dist/{sml-DBZSwVne.js → sml-CpK2Wp62.js} +1 -1
  243. package/dist/{solidity-CjdnGADI.js → solidity-BqFc9PrE.js} +1 -1
  244. package/dist/{solution-file-BZKknbsf.js → solution-file-CiCPUlJS.js} +1 -1
  245. package/dist/{soy-DPAOBIuo.js → soy-2Sg5B4Sw.js} +1 -1
  246. package/dist/{sparql-DuuMf8kh.js → sparql-CMDtuLe2.js} +1 -1
  247. package/dist/{splunk-spl-DLVJeVPG.js → splunk-spl-CUxsZmhi.js} +1 -1
  248. package/dist/{sqf-BVNXXRSq.js → sqf-AT44-M5s.js} +1 -1
  249. package/dist/sqf-AT44-M5s.js.gz +0 -0
  250. package/dist/{sql-I6sbDYxa.js → sql-_lqdTnUq.js} +1 -1
  251. package/dist/{squirrel-Dk_Ogx75.js → squirrel-DBpNbht6.js} +1 -1
  252. package/dist/{stan-CMZm4Zm8.js → stan-CaPm-iGB.js} +1 -1
  253. package/dist/style.css +32 -1
  254. package/dist/style.css.gz +0 -0
  255. package/dist/{stylus-CBEozeop.js → stylus-HojO2QM7.js} +1 -1
  256. package/dist/{swift-Dm_83AO8.js → swift-DLm4rK56.js} +1 -1
  257. package/dist/{systemd-BNPF0OFX.js → systemd-CZAt8xLN.js} +1 -1
  258. package/dist/{t4-cs-CIRm__Qx.js → t4-cs-ZhBR3MnS.js} +1 -1
  259. package/dist/{t4-templating-Dg1cDb4d.js → t4-templating-DnvN5D7s.js} +1 -1
  260. package/dist/{t4-vb-BaYFY4nx.js → t4-vb-CzMVQb4E.js} +1 -1
  261. package/dist/{tap-Dc1-4GAP.js → tap-AcnbUlp_.js} +1 -1
  262. package/dist/{tcl-CxCNXqSc.js → tcl-YOPsSA0S.js} +1 -1
  263. package/dist/{textile-BUBxOri4.js → textile-Bel-9tN2.js} +1 -1
  264. package/dist/textile-Bel-9tN2.js.gz +0 -0
  265. package/dist/{toml-C0-smqOf.js → toml-D7KIC9MW.js} +1 -1
  266. package/dist/{tremor-Bx2hrGVM.js → tremor-_JLAnawR.js} +1 -1
  267. package/dist/{tsx-BvbNK5Bb.js → tsx-Dwt26VVT.js} +1 -1
  268. package/dist/{tt2-CGi9pfj8.js → tt2-CZSIfSxD.js} +1 -1
  269. package/dist/{turtle-d1julAkp.js → turtle-Ce6PCQ7O.js} +1 -1
  270. package/dist/{twig-CV74QKpC.js → twig-41HAsmQu.js} +1 -1
  271. package/dist/types/components/CodePlayer/index.d.ts +24 -0
  272. package/dist/types/components/EnvStartup/EnvCloud/index.d.ts +10 -0
  273. package/dist/types/components/EnvStartup/index.d.ts +14 -0
  274. package/dist/types/components/ExampleCard/index.d.ts +13 -0
  275. package/dist/types/components/ExampleTools/ExCodePlayer/index.d.ts +12 -0
  276. package/dist/types/components/ExampleTools/ExShell/index.d.ts +6 -0
  277. package/dist/types/components/ExampleTools/index.d.ts +14 -0
  278. package/dist/types/components/KnowledgeCard/components/AIAssistant/index.d.ts +19 -0
  279. package/dist/types/components/KnowledgeCard/components/AnimationDemo/index.d.ts +5 -0
  280. package/dist/types/components/KnowledgeCard/components/CodeExample/index.d.ts +8 -0
  281. package/dist/types/components/KnowledgeCard/components/Header/index.d.ts +14 -0
  282. package/dist/types/components/KnowledgeCard/components/QuestionPractice/index.d.ts +9 -0
  283. package/dist/types/components/KnowledgeCard/components/Recommend/index.d.ts +17 -0
  284. package/dist/types/components/KnowledgeCard/components/TextExplanation/index.d.ts +14 -0
  285. package/dist/types/components/KnowledgeCard/components/VideoTutorial/index.d.ts +9 -0
  286. package/dist/types/components/KnowledgeCard/index.d.ts +78 -13
  287. package/dist/types/components/MyReactMarkdown/index.d.ts +1 -0
  288. package/dist/types/components/VideoPlayer/index.d.ts +2 -1
  289. package/dist/types/components/Xterm/index.d.ts +15 -0
  290. package/dist/types/components/Xterm/parseTextToCommandsAndExecute.d.ts +83 -0
  291. package/dist/types/index.d.ts +18 -4
  292. package/dist/types/utils/const.d.ts +1 -0
  293. package/dist/types/utils/index.d.ts +15 -0
  294. package/dist/{typescript-DYK7W6r2.js → typescript-CA6H-bT1.js} +1 -1
  295. package/dist/{typoscript-YNBJG0HD.js → typoscript-C-3EgkpG.js} +1 -1
  296. package/dist/{unrealscript-D8U-EX6B.js → unrealscript-BtVldN19.js} +1 -1
  297. package/dist/{uorazor-c0LDrJmN.js → uorazor-B34oZ3Sd.js} +1 -1
  298. package/dist/{uri-riwrrIBS.js → uri-Cx_7zfbq.js} +1 -1
  299. package/dist/{v-DHMw78kU.js → v-Di58gy6J.js} +1 -1
  300. package/dist/{vala-DhoiHPSw.js → vala-v6FI-6Ae.js} +1 -1
  301. package/dist/{vbnet-CAZuxQnI.js → vbnet-MCLU4AOc.js} +1 -1
  302. package/dist/{velocity-BeP43TVZ.js → velocity-CqwD_8t-.js} +1 -1
  303. package/dist/{verilog-Dt4TabmI.js → verilog-NEVDzf9k.js} +1 -1
  304. package/dist/{vhdl-DTnqEN80.js → vhdl-BwnQx_K4.js} +1 -1
  305. package/dist/{vim-CrOacGEu.js → vim-CgPjn2p2.js} +1 -1
  306. package/dist/vim-CgPjn2p2.js.gz +0 -0
  307. package/dist/{visual-basic-cOW_Ka-V.js → visual-basic-DJqI4fmi.js} +1 -1
  308. package/dist/{warpscript-V67tsvzC.js → warpscript-CuZBJnbE.js} +1 -1
  309. package/dist/{wasm-C9Ry62XI.js → wasm-CkhTVhEx.js} +1 -1
  310. package/dist/{web-idl-izJqB9bH.js → web-idl-DKU81X84.js} +1 -1
  311. package/dist/{wiki-CutGRmiA.js → wiki-wv4MxShs.js} +1 -1
  312. package/dist/{wolfram-B36zrT0P.js → wolfram-CGzZKfQS.js} +1 -1
  313. package/dist/{wren-BNLLvCGz.js → wren-CuQDrwxV.js} +1 -1
  314. package/dist/{xeora-sD6XXsIa.js → xeora-phW3ukY1.js} +1 -1
  315. package/dist/{xml-doc-DwdmbjCE.js → xml-doc-BcLztvpU.js} +1 -1
  316. package/dist/{xojo-BqDO6T6A.js → xojo-Dfrz_9sh.js} +1 -1
  317. package/dist/{xquery-CUYxH7Yf.js → xquery-UaOSmJbc.js} +1 -1
  318. package/dist/{yaml-DyMPdgI2.js → yaml-BqcKaMjm.js} +1 -1
  319. package/dist/{yang-BsvutVVl.js → yang-BXRI5mvV.js} +1 -1
  320. package/dist/{zig-szeQ_8bO.js → zig-BcPsIybV.js} +1 -1
  321. package/package.json +2 -1
  322. package/dist/autohotkey-BwGYrLDC.js.gz +0 -0
  323. package/dist/core-DPsDU6XI.js.gz +0 -0
  324. package/dist/factor-Dd1F5gIT.js.gz +0 -0
  325. package/dist/gherkin-CcrQuZ8q.js.gz +0 -0
  326. package/dist/index-BNg5INZl.js.gz +0 -0
  327. package/dist/markdown-D2Dw-lt2.js.gz +0 -0
  328. package/dist/mel-Cb6XoSgp.js.gz +0 -0
  329. package/dist/opencl-DS4FQSRf.js.gz +0 -0
  330. package/dist/sas-DR7zMFaX.js.gz +0 -0
  331. package/dist/sqf-BVNXXRSq.js.gz +0 -0
  332. package/dist/textile-BUBxOri4.js.gz +0 -0
  333. package/dist/vim-CrOacGEu.js.gz +0 -0
package/dist/style.css.gz CHANGED
Binary file
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  import { r as requireT4Templating } from "./t4-templating-BGmVz2pK.js";
3
3
  import { r as requireCsharp } from "./csharp-iD8vdCRX.js";
4
4
  function _mergeNamespaces(n, m) {
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  import { r as requireT4Templating } from "./t4-templating-BGmVz2pK.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  for (var i = 0; i < m.length; i++) {
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  import { r as requireT4Templating } from "./t4-templating-BGmVz2pK.js";
3
3
  import { r as requireVbnet } from "./vbnet-D0GSTx4W.js";
4
4
  function _mergeNamespaces(n, m) {
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  import { r as requireYaml } from "./yaml-hSvfQRm2.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  for (var i = 0; i < m.length; i++) {
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
Binary file
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  import { r as requireJsx } from "./jsx-C1qRCugV.js";
3
3
  import { r as requireTypescript } from "./typescript-e-gwqYt9.js";
4
4
  function _mergeNamespaces(n, m) {
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  import { r as requireMarkupTemplating } from "./markup-templating-hY-QSL53.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  for (var i = 0; i < m.length; i++) {
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  import { r as requireTurtle } from "./turtle-D3qNu8kc.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  for (var i = 0; i < m.length; i++) {
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  import { r as requireMarkupTemplating } from "./markup-templating-hY-QSL53.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  for (var i = 0; i < m.length; i++) {
@@ -0,0 +1,24 @@
1
+
2
+ export interface codeDataProps {
3
+ topic?: string;
4
+ content?: string;
5
+ lang: string;
6
+ code: string;
7
+ verifyMode?: string;
8
+ cases?: {
9
+ input: any[];
10
+ output: string;
11
+ }[];
12
+ }
13
+ export interface CodePlayerProps {
14
+ data: codeDataProps;
15
+ hasTitle?: boolean;
16
+ toScore?: (code: string) => void;
17
+ errorHanle?: (data: any) => void;
18
+ codeChange?: (data: string) => void;
19
+ }
20
+ export interface CodePlayerRefProps {
21
+ toInstallPackage: (arr: string[]) => void;
22
+ }
23
+ declare const CodePlayer: import('react').ForwardRefExoticComponent<CodePlayerProps & import('react').RefAttributes<unknown>>;
24
+ export default CodePlayer;
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+
3
+ type EnvCloudProps = {
4
+ mark?: boolean;
5
+ containers?: any;
6
+ status?: any;
7
+ overtime?: boolean;
8
+ };
9
+ declare const EnvCloud: React.FC<EnvCloudProps>;
10
+ export default EnvCloud;
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+
3
+ export declare enum EnvStatus {
4
+ Startuping = 0,//启动中
5
+ Running = 1,//运行中
6
+ Closing = 2,//关闭中
7
+ Resetting = 3
8
+ }
9
+ export type EnvStartupProps = {
10
+ onRunningPod?: (value?: any, closeShell?: boolean) => void;
11
+ [other: string]: any;
12
+ };
13
+ declare const EnvStartup: React.FC<EnvStartupProps>;
14
+ export default EnvStartup;
@@ -0,0 +1,13 @@
1
+ import { ToolType } from '../ExampleTools';
2
+
3
+ export interface ExampleCardProps {
4
+ title?: string;
5
+ code?: string;
6
+ execTool?: ToolType;
7
+ lang?: string;
8
+ content?: string;
9
+ saveCode?: (code: string) => void;
10
+ container?: string;
11
+ }
12
+ declare const ExampleCard: import('react').MemoExoticComponent<(props: ExampleCardProps) => import("react/jsx-runtime").JSX.Element>;
13
+ export default ExampleCard;
@@ -0,0 +1,12 @@
1
+ export interface codePlayerData {
2
+ lang: string;
3
+ code: any;
4
+ topic: string;
5
+ content: string;
6
+ }
7
+ export interface CodePlayerProps {
8
+ codePlayerData: codePlayerData;
9
+ codePlayerRef?: any;
10
+ }
11
+ declare const ExCodePlayer: React.FC<CodePlayerProps>;
12
+ export default ExCodePlayer;
@@ -0,0 +1,6 @@
1
+ export interface ShellProps {
2
+ container: string | null;
3
+ initCode: string;
4
+ }
5
+ declare const ExShell: (props: ShellProps) => import("react/jsx-runtime").JSX.Element;
6
+ export default ExShell;
@@ -0,0 +1,14 @@
1
+ import { CodePlayerProps } from './ExCodePlayer';
2
+
3
+ export declare enum ToolType {
4
+ Runner = "runner",
5
+ Shell = "shell"
6
+ }
7
+ export interface ExampleToolsData {
8
+ CodePlayerProps: CodePlayerProps | null;
9
+ tool: ToolType;
10
+ container: string | null;
11
+ initCode: string;
12
+ }
13
+ declare const ExampleTools: import('react').MemoExoticComponent<(props: ExampleToolsData) => import("react/jsx-runtime").JSX.Element>;
14
+ export default ExampleTools;
@@ -0,0 +1,19 @@
1
+ import { default as React } from 'react';
2
+
3
+ export interface Message {
4
+ role: 'user' | 'assistant';
5
+ content: string;
6
+ id: string;
7
+ }
8
+ export interface AIAssistantProps {
9
+ useAiChatService: () => ({
10
+ messages: Message[];
11
+ sendMessage: (message: {
12
+ input: string;
13
+ role?: 'user' | 'assistant';
14
+ }) => void;
15
+ loading: boolean;
16
+ });
17
+ }
18
+ declare const AIAssistant: React.FC<AIAssistantProps>;
19
+ export default AIAssistant;
@@ -0,0 +1,5 @@
1
+
2
+ declare const AnimationDemo: ({ animationHtml }: {
3
+ animationHtml: string;
4
+ }) => import("react/jsx-runtime").JSX.Element;
5
+ export default AnimationDemo;
@@ -0,0 +1,8 @@
1
+ import { codeDataProps } from '../../../CodePlayer';
2
+
3
+ declare const CodeExample: React.FC<{
4
+ codeData: codeDataProps[];
5
+ saveCode?: (code: string) => void;
6
+ runCode?: (data: codeDataProps) => void;
7
+ }>;
8
+ export default CodeExample;
@@ -0,0 +1,14 @@
1
+
2
+ declare const Header: React.FC<{
3
+ title: string;
4
+ knowledgeType: 'concept' | 'practice';
5
+ titleEditable?: boolean;
6
+ editCallBack?: (props: {
7
+ id: string | number;
8
+ title?: string;
9
+ content?: string;
10
+ }) => void;
11
+ resetTitleCallback?: () => void;
12
+ questionId?: string | number;
13
+ }>;
14
+ export default Header;
@@ -0,0 +1,9 @@
1
+ import { QuestionItem } from '../../../QuestionRender';
2
+
3
+ declare const QuestionPractice: ({ questionsList, questionOperations, submitQuestion, getCodeSaveAnswer, }: {
4
+ questionsList: QuestionItem[];
5
+ questionOperations: (question: QuestionItem) => React.ReactNode;
6
+ submitQuestion: (question: QuestionItem, data: any) => void;
7
+ getCodeSaveAnswer?: (question: QuestionItem) => string;
8
+ }) => import("react/jsx-runtime").JSX.Element;
9
+ export default QuestionPractice;
@@ -0,0 +1,17 @@
1
+ import { KnowledgeShortProps, RecommendVideoProps } from '../..';
2
+
3
+ export interface recommendProps {
4
+ questionId: string | number;
5
+ basicKnowledgeList?: KnowledgeShortProps[];
6
+ expandKnowledgeList?: KnowledgeShortProps[];
7
+ relatedKnowledgeList?: KnowledgeShortProps[];
8
+ recommendVideos?: RecommendVideoProps[];
9
+ onRecommendVideoClick?: (item: RecommendVideoProps) => void;
10
+ onKnowledgeCardClick?: (knowledge: KnowledgeShortProps) => void;
11
+ createKnowledgeCallback?: (props: {
12
+ createType: 'basic' | 'expand' | 'related';
13
+ id: string | number;
14
+ }) => void;
15
+ }
16
+ declare const Recommend: React.FC<recommendProps>;
17
+ export default Recommend;
@@ -0,0 +1,14 @@
1
+
2
+ export interface TextExplanationProps {
3
+ knowledgeId: string | number;
4
+ content: string;
5
+ contentEditable?: boolean;
6
+ editCallBack?: (props: {
7
+ id: string | number;
8
+ title?: string;
9
+ content?: string;
10
+ }) => void;
11
+ resetContentCallback?: () => void;
12
+ }
13
+ declare const TextExplanation: React.FC<TextExplanationProps>;
14
+ export default TextExplanation;
@@ -0,0 +1,9 @@
1
+ import { licenseProps } from '../../../VideoPlayer';
2
+
3
+ export interface VideoTutorialProps {
4
+ videoUrl?: string;
5
+ videoLicense?: licenseProps;
6
+ playerRef?: React.RefObject<HTMLDivElement>;
7
+ }
8
+ declare const VideoTutorial: React.FC<VideoTutorialProps>;
9
+ export default VideoTutorial;
@@ -1,29 +1,58 @@
1
1
  import { QuestionItem } from '../QuestionRender';
2
+ import { ToolType } from '../ExampleTools';
3
+ import { EnvStatus } from '../EnvStartup';
4
+ import { Message } from './components/AIAssistant';
2
5
 
3
- export interface KnowledgeCardProps {
6
+ export interface KnowledgeDataProps {
4
7
  id: string | number;
5
8
  knowledgeType: 'concept' | 'practice';
6
9
  title: string;
7
10
  content: string;
8
- editCallBack?: (props: {
9
- title: string;
10
- content: string;
11
- id: string | number;
12
- }) => void;
13
- resetContentCallback?: () => void;
14
- codeData?: CodeDataProps;
11
+ codeData?: CodeDataProps[];
15
12
  videoTime?: string;
16
13
  videoUrl?: string;
17
14
  videoLicense?: licenseProps;
18
- runCode?: (code: string) => void;
19
15
  questionsList?: QuestionItem[];
20
- basicKnowledgeList?: KnowledgeCardProps[];
21
- expandKnowledgeList?: KnowledgeCardProps[];
22
- relatedKnowledgeList?: KnowledgeCardProps[];
16
+ basicKnowledgeList?: KnowledgeShortProps[];
17
+ expandKnowledgeList?: KnowledgeShortProps[];
18
+ relatedKnowledgeList?: KnowledgeShortProps[];
19
+ envDetail?: any;
20
+ envRepo?: string;
21
+ defaultShellContainer?: string;
22
+ animationHtml?: string;
23
+ recommendVideos?: RecommendVideoProps[];
24
+ }
25
+ export interface KnowledgeShortProps {
26
+ id: string | number;
27
+ knowledgeType: 'concept' | 'practice';
28
+ title: string;
29
+ content?: string;
30
+ }
31
+ export interface RecommendVideoProps {
32
+ title: string;
33
+ webUrl: string;
34
+ duration?: string;
35
+ pic?: string;
36
+ views?: number;
37
+ [key: string]: any;
38
+ }
39
+ export interface KnowledgeCardProps {
40
+ knowledgeData: KnowledgeDataProps;
41
+ wrapperStyle?: React.CSSProperties;
42
+ titleEditable?: boolean;
43
+ contentEditable?: boolean;
44
+ showAnimation?: boolean;
45
+ editCallBack?: (props: {
46
+ id: string | number;
47
+ title?: string;
48
+ content?: string;
49
+ }) => void;
50
+ resetContentCallback?: () => void;
51
+ resetTitleCallback?: () => void;
52
+ runCode?: (data: CodeDataProps) => void;
23
53
  createKnowldegeLoading?: boolean;
24
54
  createKnowledgeCallback?: (props: {
25
55
  createType: 'basic' | 'expand' | 'related';
26
- userInput: string;
27
56
  id: string | number;
28
57
  }) => void;
29
58
  createQuestionCallback?: (props: {
@@ -41,14 +70,50 @@ export interface KnowledgeCardProps {
41
70
  userAnswer: string | string[];
42
71
  questionData: QuestionItem;
43
72
  }) => void;
73
+ saveCode?: (code: string) => void;
74
+ startEnv?: () => Promise<any>;
75
+ releaseEnv?: () => Promise<any>;
76
+ questionOperations?: (question: QuestionItem) => React.ReactNode;
77
+ submitQuestion?: (question: QuestionItem, data: any) => void;
78
+ getCodeSaveAnswer?: (question: QuestionItem) => string;
79
+ onKnowledgeCardClick?: (knowledge: KnowledgeShortProps) => void;
80
+ onRecommendVideoClick?: (video: RecommendVideoProps) => void;
81
+ useAiChatService?: () => ({
82
+ messages: Message[];
83
+ sendMessage: (message: {
84
+ input: string;
85
+ role?: 'user' | 'assistant';
86
+ }) => void;
87
+ loading: boolean;
88
+ });
44
89
  }
45
90
  export interface CodeDataProps {
91
+ title?: string;
46
92
  lang: string;
47
93
  code: string;
94
+ execTool?: ToolType;
95
+ container?: string;
48
96
  }
49
97
  export interface licenseProps {
50
98
  domain: string;
51
99
  key: string;
52
100
  }
101
+ export interface KnowledgeCardContextProps {
102
+ envDetail: any;
103
+ envStatus: EnvStatus | '';
104
+ setEnvStatusNow: (status: EnvStatus | '') => void;
105
+ podName: string;
106
+ saveCode?: (code: string) => void;
107
+ shellData?: any;
108
+ podData?: any;
109
+ setPodNameNow: (name: string) => void;
110
+ setShellDataNow: (data: any) => void;
111
+ setPodDataNow: (data: any) => void;
112
+ startEnv?: () => Promise<any>;
113
+ releaseEnv?: () => Promise<any>;
114
+ envRepo?: string;
115
+ defaultShellContainer?: string;
116
+ }
117
+ export declare const KnowledgeCardContext: import('react').Context<KnowledgeCardContextProps>;
53
118
  declare const VideoKnowledgeCard: React.FC<KnowledgeCardProps>;
54
119
  export default VideoKnowledgeCard;
@@ -1,3 +1,4 @@
1
+
1
2
  declare const MyReactMarkdown: ({ children }: {
2
3
  children: any;
3
4
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,10 @@
1
1
 
2
- interface VideoPlayerProps {
2
+ export interface VideoPlayerProps {
3
3
  playerRef: any;
4
4
  url: string;
5
5
  license: licenseProps;
6
6
  containerId: string;
7
+ vidPlayAuth?: string;
7
8
  }
8
9
  export interface licenseProps {
9
10
  domain: string;
@@ -0,0 +1,15 @@
1
+
2
+ interface XtermProps {
3
+ id: string;
4
+ conn: string;
5
+ path: string;
6
+ containers?: any[];
7
+ returnMessage?: (ifOpen: string) => void;
8
+ runWeb?: (pathValue: string) => void;
9
+ valiateReturn?: (returnValue: boolean) => void;
10
+ nextReturn?: (returnValue: boolean) => void;
11
+ initExec?: () => void;
12
+ initCode?: string;
13
+ }
14
+ declare const Xterm: import('react').ForwardRefExoticComponent<XtermProps & import('react').RefAttributes<unknown>>;
15
+ export default Xterm;
@@ -0,0 +1,83 @@
1
+ export interface Command {
2
+ raw: string;
3
+ command: string;
4
+ comment: string;
5
+ lineNumber: number;
6
+ isGitCommand: boolean;
7
+ hasRedirect: boolean;
8
+ hasArguments: boolean;
9
+ }
10
+ export interface CommandExecutionOptions {
11
+ delay?: number;
12
+ showPrompt?: boolean;
13
+ showComments?: boolean;
14
+ simulateOutput?: boolean;
15
+ realExecution?: boolean;
16
+ abortSignal?: AbortSignal;
17
+ onCommandStart?: (cmd: Command, index: number) => void;
18
+ onCommandComplete?: (cmd: Command, index: number) => void;
19
+ }
20
+ export interface CommandParseOptions {
21
+ preserveEmptyLines?: boolean;
22
+ includeLineBreaks?: boolean;
23
+ }
24
+ type WriteCallback = (text: string) => void;
25
+ /**
26
+ * 解析命令字符串为命令数组
27
+ * @param commandString - 包含命令和注释的完整字符串
28
+ * @param options - 解析选项
29
+ * @returns 解析出的命令数组
30
+ */
31
+ export declare function parseCommandString(commandString: string, options?: CommandParseOptions): Command[];
32
+ /**
33
+ * 从命令行提取命令主体(第一个单词)
34
+ */
35
+ export declare function extractCommand(line: string): string;
36
+ /**
37
+ * 解析并执行终端命令字符串
38
+ */
39
+ export declare function parseAndExecuteCommands(commandString: string, writeToTerminal: WriteCallback, options?: CommandExecutionOptions): Promise<Command[]>;
40
+ /**
41
+ * 执行命令数组
42
+ */
43
+ export declare function executeCommands(commands: Command[], writeToTerminal: WriteCallback, options?: CommandExecutionOptions): Promise<void>;
44
+ /**
45
+ * 模拟常见命令的输出
46
+ */
47
+ export declare function simulateCommandOutput(cmd: Command, writeToTerminal: WriteCallback, delay: number, abortSignal?: AbortSignal): Promise<void>;
48
+ /**
49
+ * 睡眠函数
50
+ */
51
+ export declare function sleep(ms: number, signal?: AbortSignal): Promise<void>;
52
+ /**
53
+ * 验证命令字符串格式
54
+ */
55
+ export declare function validateCommandString(commandString: string): {
56
+ isValid: boolean;
57
+ errors: string[];
58
+ };
59
+ /**
60
+ * 格式化命令字符串为更易读的格式
61
+ */
62
+ export declare function formatCommandString(commandString: string, indent?: number): string;
63
+ /**
64
+ * 示例使用函数
65
+ */
66
+ export declare function exampleUsage(): void;
67
+ declare global {
68
+ interface Window {
69
+ TerminalCommandUtils?: {
70
+ parseAndExecuteCommands: typeof parseAndExecuteCommands;
71
+ parseCommandString: typeof parseCommandString;
72
+ executeCommands: typeof executeCommands;
73
+ validateCommandString: typeof validateCommandString;
74
+ };
75
+ }
76
+ }
77
+ declare const _default: {
78
+ parseAndExecuteCommands: typeof parseAndExecuteCommands;
79
+ parseCommandString: typeof parseCommandString;
80
+ executeCommands: typeof executeCommands;
81
+ validateCommandString: typeof validateCommandString;
82
+ };
83
+ export default _default;
@@ -1,5 +1,19 @@
1
- import { default as KnowledgeCard } from './components/KnowledgeCard/index';
2
-
3
1
  export { default as KnowledgeCard } from './components/KnowledgeCard/index';
4
- export type { KnowledgeCardProps } from './components/KnowledgeCard/index';
5
- export default KnowledgeCard;
2
+ export type { KnowledgeCardProps, KnowledgeDataProps, KnowledgeShortProps, RecommendVideoProps, } from './components/KnowledgeCard/index';
3
+ export { default as CodePlayer } from './components/CodePlayer/index';
4
+ export type { codeDataProps, CodePlayerProps, CodePlayerRefProps, } from './components/CodePlayer/index';
5
+ export { default as EnvStartup } from './components/EnvStartup/index';
6
+ export { EnvStatus, } from './components/EnvStartup/index';
7
+ export type { EnvStartupProps } from './components/EnvStartup/index';
8
+ export { default as ExampleCard } from './components/ExampleCard/index';
9
+ export type { ExampleCardProps, } from './components/ExampleCard/index';
10
+ export { default as ExampleTools } from './components/ExampleTools/index';
11
+ export { ToolType, } from './components/ExampleTools/index';
12
+ export type { ExampleToolsData, } from './components/ExampleTools/index';
13
+ export { default as MyReactMarkdown } from './components/MyReactMarkdown/index';
14
+ export { default as QuestionRender } from './components/QuestionRender/index';
15
+ export { useQuestionRender, QuestionStatus, QuestionTypeEnum, } from './components/QuestionRender/index';
16
+ export type { QuestionRenderProps, QuestionItem, QuestionPropsInter, QuesitonRenderDefaultProps, } from './components/QuestionRender/index';
17
+ export { default as VideoPlayer } from './components/VideoPlayer/index';
18
+ export type { VideoPlayerProps, licenseProps, } from './components/VideoPlayer/index';
19
+ export { default as Xterm } from './components/Xterm/index';
@@ -1,5 +1,6 @@
1
1
  export declare const codeTestUrlStatic = "https://quiz.cloudlab.top";
2
2
  export declare const codePlayerUrlStatic = "https://run.cloudlab.top";
3
+ export declare const vgenFilePathTag = "summary";
3
4
  /**
4
5
  * 默认支持的语言
5
6
  */
@@ -6,3 +6,18 @@ export declare const isArrayEqual: (arr1: any[], arr2: any[]) => boolean;
6
6
  * @returns 如果是有效 JSON,返回解析后的数据;否则返回 null
7
7
  */
8
8
  export declare const tryParseJSON: (text: string) => any;
9
+ /**
10
+ * 防抖
11
+ */
12
+ export declare const debounce: <T extends (...args: any[]) => any>(func: T, wait?: number, immediate?: boolean) => ((...args: Parameters<T>) => void);
13
+ export declare const formatSecondsToTime: (time: any) => string;
14
+ /**
15
+ * 将秒数转化为 时:分:秒 格式的字符串
16
+ */
17
+ export declare const secondToFormat: (time: number | string | undefined) => string;
18
+ /**
19
+ * 格式化观看次数
20
+ * @param views 观看次数
21
+ * @returns 格式化后的字符串
22
+ */
23
+ export declare const formatViewCount: (views: number) => string;
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  import { r as requireTypescript } from "./typescript-e-gwqYt9.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  for (var i = 0; i < m.length; i++) {
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from "./index-BNg5INZl.js";
1
+ import { g as getDefaultExportFromCjs } from "./index-Bn5TKwCB.js";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];