@oscloudlab/knowledge-card 0.0.8 → 0.0.10
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.
- package/dist/{abap-CAjc-L-i.js → abap-BQZ8lBE_.js} +1 -1
- package/dist/{abnf-BziFxpNk.js → abnf-BcZ_HJtp.js} +1 -1
- package/dist/{actionscript-BO5M9Qyz.js → actionscript-m888mLZN.js} +1 -1
- package/dist/{ada-CB2ejYIS.js → ada-BoETKknW.js} +1 -1
- package/dist/{agda-BHMyjhEx.js → agda-CPhOAvti.js} +1 -1
- package/dist/{al-Dyt-CL-j.js → al-CY_8Coim.js} +1 -1
- package/dist/{antlr4-8OSL6qF2.js → antlr4-BzGdZe7x.js} +1 -1
- package/dist/{apacheconf-CGT-mxly.js → apacheconf-qv-azlgT.js} +1 -1
- package/dist/{apex-tVD_fAmX.js → apex-DWpwZ1LH.js} +1 -1
- package/dist/{apl-BasGvTk9.js → apl-LjZcdmxl.js} +1 -1
- package/dist/{applescript-C-FXJgyU.js → applescript--YRmeODV.js} +1 -1
- package/dist/{aql-fwgJ-tr0.js → aql-ByUzUie6.js} +1 -1
- package/dist/{arduino-D17BuO7J.js → arduino-CYjYtRgL.js} +1 -1
- package/dist/{arff-DWTWNPQJ.js → arff-CNxHypxM.js} +1 -1
- package/dist/{asciidoc-3ef1fDNu.js → asciidoc-Bontd7oh.js} +1 -1
- package/dist/{asm6502-BguH7JIG.js → asm6502-CgnEsELx.js} +1 -1
- package/dist/{asmatmel-CifEEKmO.js → asmatmel-Ddx1C_M3.js} +1 -1
- package/dist/{aspnet-uQLtJyt8.js → aspnet-Bwjjrpaj.js} +1 -1
- package/dist/{autohotkey-BwGYrLDC.js → autohotkey-Ml2gycpt.js} +1 -1
- package/dist/autohotkey-Ml2gycpt.js.gz +0 -0
- package/dist/{autoit-DK5Ua7W_.js → autoit-D9FWhr1m.js} +1 -1
- package/dist/{avisynth-DkBVGpu3.js → avisynth-B3HEfI5V.js} +1 -1
- package/dist/{avro-idl-C7eqDOB1.js → avro-idl-BAvbXPZt.js} +1 -1
- package/dist/{bash-CHty129v.js → bash-BAndXl-S.js} +1 -1
- package/dist/{basic-C7OhqjsH.js → basic-B7NkPxN6.js} +1 -1
- package/dist/{batch-DlSH_aD7.js → batch-B79b6RRh.js} +1 -1
- package/dist/{bbcode-C-Vz64EB.js → bbcode-C_xeI6lJ.js} +1 -1
- package/dist/{bicep-NzYroakY.js → bicep-Cp9zylut.js} +1 -1
- package/dist/{birb-D7iJNgu0.js → birb-Cs5jcMp2.js} +1 -1
- package/dist/{bison-Of2u-VYA.js → bison-3t-FHr5W.js} +1 -1
- package/dist/{bnf-ZJqXzPQT.js → bnf-yN3ofzt0.js} +1 -1
- package/dist/{brainfuck-BuWJs-9d.js → brainfuck-B9MAdXuZ.js} +1 -1
- package/dist/{brightscript-BfTYmJUz.js → brightscript-BrCG6HGV.js} +1 -1
- package/dist/{bro-BviKKGTo.js → bro-l7G8t3xw.js} +1 -1
- package/dist/{bsl-BjjtBf9n.js → bsl-C8SCeTt_.js} +1 -1
- package/dist/{c-Blg1MMxV.js → c-DIAx1Pj3.js} +1 -1
- package/dist/{cfscript-EhADvpsx.js → cfscript-BXsbTHqk.js} +1 -1
- package/dist/{chaiscript-QqEe8FwO.js → chaiscript-CL_qZhxR.js} +1 -1
- package/dist/{cil-CAMsZn01.js → cil-Bjr23jjQ.js} +1 -1
- package/dist/{clike-pjoeQKXc.js → clike-By838GYi.js} +1 -1
- package/dist/{clojure-mNXfdkqr.js → clojure-BFh1-8be.js} +1 -1
- package/dist/{cmake-tadKI_g1.js → cmake-CSdv8oBo.js} +1 -1
- package/dist/cmake-CSdv8oBo.js.gz +0 -0
- package/dist/{cobol-BJ9sHThZ.js → cobol-DjktFtU3.js} +1 -1
- package/dist/{coffeescript-CClJqr0k.js → coffeescript-XOEwdzd6.js} +1 -1
- package/dist/{concurnas-DrgY5xMB.js → concurnas-DdDME4iV.js} +1 -1
- package/dist/{coq-DS3Wu2GP.js → coq-DOcvDOOx.js} +1 -1
- package/dist/{core-DPsDU6XI.js → core-CcodfFEl.js} +5 -5
- package/dist/core-CcodfFEl.js.gz +0 -0
- package/dist/{cpp-CkAP3xvi.js → cpp-DzH98eso.js} +1 -1
- package/dist/{crystal-k9ipqY_i.js → crystal-BXLyHJeI.js} +1 -1
- package/dist/{csharp-BIZlObeW.js → csharp-BcKJW0Zi.js} +1 -1
- package/dist/{cshtml-CunAPNhu.js → cshtml-CyPA-8iL.js} +1 -1
- package/dist/{csp-GK1TAXt4.js → csp-Dj19fIqH.js} +1 -1
- package/dist/{css-CstSuTfA.js → css-DlBITuPF.js} +1 -1
- package/dist/{css-extras-DmtfPLmD.js → css-extras-BHSiXMt4.js} +1 -1
- package/dist/{csv-Bl4fFKoM.js → csv-wteSizxm.js} +1 -1
- package/dist/{cypher-D49Jw07k.js → cypher-CU0rcEEa.js} +1 -1
- package/dist/{d-DqYfQu0I.js → d-T_NsvP2P.js} +1 -1
- package/dist/{dart-eeGEuvXW.js → dart-CzY2vv8W.js} +1 -1
- package/dist/{dataweave-v-7gmYQv.js → dataweave-BxNU9yv8.js} +1 -1
- package/dist/{dax-6QD11bNg.js → dax-BSLC7F3K.js} +1 -1
- package/dist/{dhall-B4ENlzz6.js → dhall-CPtbuVxv.js} +1 -1
- package/dist/{diff-BogZav9F.js → diff-CoJCll_a.js} +1 -1
- package/dist/{django-BWhMqAQI.js → django-gXid0nrc.js} +1 -1
- package/dist/{dns-zone-file-BDmxbuDW.js → dns-zone-file-CA3tGsoy.js} +1 -1
- package/dist/{docker-BY5mJN6X.js → docker-B2WtnSFD.js} +1 -1
- package/dist/{dot-D6YUT_LB.js → dot-DeSmzfHU.js} +1 -1
- package/dist/{ebnf-DONLW2TZ.js → ebnf-B14vddQb.js} +1 -1
- package/dist/{editorconfig-B8NJhiEg.js → editorconfig-CroyquVu.js} +1 -1
- package/dist/{eiffel-DpESlT_b.js → eiffel-DlqmDnZ6.js} +1 -1
- package/dist/{ejs-Cg55LNrC.js → ejs-DubAaG7a.js} +1 -1
- package/dist/{elixir-DmUuGB6L.js → elixir-ECMUC-ww.js} +1 -1
- package/dist/{elm-BJJHBswN.js → elm-BZBJ8yUk.js} +1 -1
- package/dist/{erb-JOvTLUw9.js → erb-D9ybr2yK.js} +1 -1
- package/dist/{erlang-DAI00O6P.js → erlang-DBNaF5od.js} +1 -1
- package/dist/{etlua-DA34U-sL.js → etlua-CuJKQSRa.js} +1 -1
- package/dist/{excel-formula-CjOfX-3h.js → excel-formula-B7tOROiu.js} +1 -1
- package/dist/{factor-Dd1F5gIT.js → factor-we5FkfWY.js} +1 -1
- package/dist/factor-we5FkfWY.js.gz +0 -0
- package/dist/{false-CTR1psLS.js → false-As8l_d4t.js} +1 -1
- package/dist/{firestore-security-rules-D7XJz0HW.js → firestore-security-rules-DdiqtV30.js} +1 -1
- package/dist/{flow-C_vHITVe.js → flow-C0PrTjGL.js} +1 -1
- package/dist/{fortran-doWjzw6o.js → fortran-dzU1VKZn.js} +1 -1
- package/dist/{fsharp-B2Nu5wLd.js → fsharp-Cpqd-AiR.js} +1 -1
- package/dist/{ftl-BWXniTdI.js → ftl-BINUX7OU.js} +1 -1
- package/dist/{gap-q9i2USK7.js → gap-DQHO_7-Q.js} +1 -1
- package/dist/{gcode-Cq2ldzIT.js → gcode-ZUGOaYcS.js} +1 -1
- package/dist/{gdscript-35zDGBT0.js → gdscript-BrL7P2Zc.js} +1 -1
- package/dist/{gedcom-DTX3ktg7.js → gedcom-BiEMExFj.js} +1 -1
- package/dist/{gherkin-CcrQuZ8q.js → gherkin-DTa-OTJu.js} +1 -1
- package/dist/gherkin-DTa-OTJu.js.gz +0 -0
- package/dist/{git-CGDGEGdn.js → git-DCPzm2KX.js} +1 -1
- package/dist/{glsl-Bs0bG6B_.js → glsl-bduy2F_B.js} +1 -1
- package/dist/{gml-2M6qzR_9.js → gml-DVAHtPqu.js} +1 -1
- package/dist/{gn-BrTFpEoD.js → gn-DUFW3IBV.js} +1 -1
- package/dist/{go-B0-8jL_W.js → go-aD2xrPaX.js} +1 -1
- package/dist/{go-module-BMmQWowZ.js → go-module-JVaQSqOt.js} +1 -1
- package/dist/{graphql-D7OiIDiY.js → graphql-C-VRJuEO.js} +1 -1
- package/dist/{groovy-33czBEe9.js → groovy-CH5X0KvK.js} +1 -1
- package/dist/{haml-BG8z_HtO.js → haml-5cu86Vp0.js} +1 -1
- package/dist/{handlebars-Dh1V9f4l.js → handlebars-D8rik-S4.js} +1 -1
- package/dist/{haskell-8WIEGT76.js → haskell-B-_qrO0G.js} +1 -1
- package/dist/{haxe-CNFey9xz.js → haxe-CvhB7kBP.js} +1 -1
- package/dist/{hcl-B8gr8Em6.js → hcl-B0poW52n.js} +1 -1
- package/dist/{hlsl-qVyHPW-e.js → hlsl-DMkFSX0a.js} +1 -1
- package/dist/{hoon-YNDUdnqW.js → hoon-dhmKeU35.js} +1 -1
- package/dist/{hpkp-pyas0rqh.js → hpkp-BhgOdlux.js} +1 -1
- package/dist/{hsts-BRU2gGJV.js → hsts-MdzPsIcQ.js} +1 -1
- package/dist/{http-BDwbw7mM.js → http-y2_JD95l.js} +1 -1
- package/dist/{ichigojam-BZmsMeqj.js → ichigojam-B7EgLP3g.js} +1 -1
- package/dist/{icon-CoWF0_g1.js → icon-D7hu5WNJ.js} +1 -1
- package/dist/{icu-message-format-i_Z2w77C.js → icu-message-format-DKAU4B-W.js} +1 -1
- package/dist/{idris-CAL69AJi.js → idris-Cwv-qa0x.js} +1 -1
- package/dist/{iecst-DrnYBQeF.js → iecst-BpyJ1BO5.js} +1 -1
- package/dist/{ignore-B8VkzyR6.js → ignore-CORgbvjs.js} +1 -1
- package/dist/{index-BNg5INZl.js → index-CaKpHep2.js} +67294 -46865
- package/dist/index-CaKpHep2.js.gz +0 -0
- package/dist/{inform7-Bvv9N86A.js → inform7-Busaw9Bx.js} +1 -1
- package/dist/{ini-B8j5VmtW.js → ini-DA1CsU-y.js} +1 -1
- package/dist/{io-Dmu9i0nm.js → io-CeXSkuD1.js} +1 -1
- package/dist/{j-D_UQevQl.js → j-YGGOa1Vp.js} +1 -1
- package/dist/{java-CFxPwaCY.js → java-bu6s5X2S.js} +1 -1
- package/dist/{javadoc-_MMVimY0.js → javadoc-QLrsW87E.js} +1 -1
- package/dist/{javadoclike-DE9ZYsIF.js → javadoclike-B58EhXuG.js} +1 -1
- package/dist/{javascript-CzkisfF0.js → javascript-ComFGwN_.js} +1 -1
- package/dist/{javastacktrace-ByU4hj-R.js → javastacktrace-b8m2WDey.js} +1 -1
- package/dist/{jexl-CY8vpQnE.js → jexl--KWvgvxO.js} +1 -1
- package/dist/{jolie-DK2ILUET.js → jolie-mCaelAbs.js} +1 -1
- package/dist/{jq-rOfrc-ov.js → jq-7kCieAAw.js} +1 -1
- package/dist/{js-extras-DcZWaJsN.js → js-extras-Bb8ZH37U.js} +1 -1
- package/dist/{js-templates-BxK-yvQk.js → js-templates-Bx45a9Re.js} +1 -1
- package/dist/{jsdoc-g5WWD7sg.js → jsdoc-BU-yNUHD.js} +1 -1
- package/dist/{json-DsZh36Bn.js → json-mVaT7TZO.js} +1 -1
- package/dist/{json5-B1XiALI2.js → json5-CEG9oMTJ.js} +1 -1
- package/dist/{jsonp-furGzMwZ.js → jsonp-C644g4AL.js} +1 -1
- package/dist/{jsstacktrace-BcSnQENQ.js → jsstacktrace-gMmqZaxD.js} +1 -1
- package/dist/{jsx-C0QVKWPI.js → jsx-CfQkpl2F.js} +1 -1
- package/dist/{julia-BBgTpppN.js → julia-Dr-JaTjl.js} +1 -1
- package/dist/{keepalived-CVxC89Z8.js → keepalived-BmWrQ14h.js} +1 -1
- package/dist/{keyman-Bv0fEvUQ.js → keyman-Wc4gv_FI.js} +1 -1
- package/dist/knowledge-card.es.js +15 -2
- package/dist/knowledge-card.umd.js +133 -101
- package/dist/knowledge-card.umd.js.gz +0 -0
- package/dist/{kotlin-BgwbXZcd.js → kotlin-DWdu9A81.js} +1 -1
- package/dist/{kumir-2G9ooniZ.js → kumir-BOnvmX6u.js} +1 -1
- package/dist/{kusto-BcQj9jYy.js → kusto-hq2FVUAy.js} +1 -1
- package/dist/{latex-CwMHPpLM.js → latex-XfglHh9T.js} +1 -1
- package/dist/{latte-D-yutbwc.js → latte-B53aNv6v.js} +1 -1
- package/dist/{less-B3LgMbZk.js → less-C0Xxlusd.js} +1 -1
- package/dist/{lilypond-Bsmvq7-y.js → lilypond--Ok0qTuJ.js} +1 -1
- package/dist/{liquid-Bgcthur_.js → liquid-BVVg4qzL.js} +1 -1
- package/dist/{lisp-CHS16LXY.js → lisp-Cty_iDsz.js} +1 -1
- package/dist/{livescript-B2H3LQWe.js → livescript-CMtfO9jv.js} +1 -1
- package/dist/{llvm-CQeAW7gK.js → llvm-CaOOIZTk.js} +1 -1
- package/dist/{log-B1n_Sa0Y.js → log-DuHPwq0T.js} +1 -1
- package/dist/{lolcode-BENE4Xjw.js → lolcode-D1xMZQkj.js} +1 -1
- package/dist/{lua-CsrC2v4i.js → lua-bDhSNVuX.js} +1 -1
- package/dist/{magma-otap4CBF.js → magma-5CaH20GO.js} +1 -1
- package/dist/{makefile-1_MdSlKS.js → makefile-DAbC8wib.js} +1 -1
- package/dist/{markdown-D2Dw-lt2.js → markdown-DcOEh5ZY.js} +1 -1
- package/dist/markdown-DcOEh5ZY.js.gz +0 -0
- package/dist/{markup-C93_qRpB.js → markup-C6c41V36.js} +1 -1
- package/dist/{markup-templating-DqHaZPE7.js → markup-templating-BOKB54Qr.js} +1 -1
- package/dist/{matlab-CoixbAb_.js → matlab-BV0M3gm9.js} +1 -1
- package/dist/{maxscript-BsWCvULn.js → maxscript-CBuxgJeR.js} +1 -1
- package/dist/{mel-Cb6XoSgp.js → mel-DMdXj-IT.js} +1 -1
- package/dist/mel-DMdXj-IT.js.gz +0 -0
- package/dist/{mermaid-kV9M3tLT.js → mermaid-5qQp96xk.js} +1 -1
- package/dist/{mizar-Oom0fcLa.js → mizar-DLatIZFH.js} +1 -1
- package/dist/{mongodb-Bi-evMtb.js → mongodb-CaL7TMTT.js} +1 -1
- package/dist/{monkey-DTAzT9qU.js → monkey-rDsqYKr_.js} +1 -1
- package/dist/{moonscript-DxdR3EtJ.js → moonscript-CiUHdXj5.js} +1 -1
- package/dist/{n1ql-DENiHB5I.js → n1ql-M9n_9SsZ.js} +1 -1
- package/dist/{n4js-DYw5bXGB.js → n4js-7e-NxN4m.js} +1 -1
- package/dist/{nand2tetris-hdl-BCedGpWS.js → nand2tetris-hdl-Dj3ckjT5.js} +1 -1
- package/dist/{naniscript-VHaGsSim.js → naniscript-CWL75sH1.js} +1 -1
- package/dist/{nasm-DhSTEi-9.js → nasm-CXQPkf8Y.js} +1 -1
- package/dist/{neon-UVN1Tw_3.js → neon-DCV0emmE.js} +1 -1
- package/dist/{nevod-WhzAUD32.js → nevod-nAMxBOVC.js} +1 -1
- package/dist/{nginx-DkgLgNH-.js → nginx-u9Ut1or-.js} +1 -1
- package/dist/{nim-D8lF7rq8.js → nim-DkhYY3Cz.js} +1 -1
- package/dist/{nix-Bjq4HlFt.js → nix-CmQYScfh.js} +1 -1
- package/dist/{nsis-CnjJR2FJ.js → nsis-BZMaMv44.js} +1 -1
- package/dist/{objectivec-CTui2_eD.js → objectivec-BvTEVHRf.js} +1 -1
- package/dist/{ocaml-DFVfU8pu.js → ocaml-DVefY9m5.js} +1 -1
- package/dist/{opencl-DS4FQSRf.js → opencl-CP3s3N8j.js} +1 -1
- package/dist/opencl-CP3s3N8j.js.gz +0 -0
- package/dist/{openqasm-N4v30NRT.js → openqasm-CBW1_uas.js} +1 -1
- package/dist/{oz-CcBwRBVN.js → oz-6XxE4ljA.js} +1 -1
- package/dist/{parigp-Drow4J0Y.js → parigp-DivL3kVa.js} +1 -1
- package/dist/{parser-BMn4dhly.js → parser-CW-ApVNs.js} +1 -1
- package/dist/{pascal-CO60FOZI.js → pascal-CAixDOW8.js} +1 -1
- package/dist/{pascaligo-9sdvHRU1.js → pascaligo-CpVBzAkX.js} +1 -1
- package/dist/{pcaxis-Bv9axNbU.js → pcaxis-DDhLexYs.js} +1 -1
- package/dist/{peoplecode-C2byWYGK.js → peoplecode-DJ_hpm2p.js} +1 -1
- package/dist/{perl-CB7qzqed.js → perl-D_PjxsuQ.js} +1 -1
- package/dist/{php-BLzy7UZ5.js → php-CNrWrb1p.js} +1 -1
- package/dist/{php-extras-B9cfv_-s.js → php-extras-DpXisLse.js} +1 -1
- package/dist/{phpdoc-C-t0vPc3.js → phpdoc-D6s6yi5W.js} +1 -1
- package/dist/{plsql-DiW7USdU.js → plsql-C4wu9SYn.js} +1 -1
- package/dist/{powerquery-D6cLp7LV.js → powerquery-C6foyCPa.js} +1 -1
- package/dist/{powershell-DYnJupW9.js → powershell-Dcs5yrwF.js} +1 -1
- package/dist/{processing-CEjrszl5.js → processing-qg_iFzUD.js} +1 -1
- package/dist/{prolog-Bhtm0Ucy.js → prolog-DQkqPRPJ.js} +1 -1
- package/dist/{promql-CKj1N3Qa.js → promql-DA4bJmxr.js} +1 -1
- package/dist/{properties-CC4acQoP.js → properties-DtHPSQZR.js} +1 -1
- package/dist/{protobuf-KD3IiDXx.js → protobuf-BthEhk5H.js} +1 -1
- package/dist/{psl-DWQm9K3F.js → psl-DsxVdmg9.js} +1 -1
- package/dist/{pug-DgeJ1i_u.js → pug-DHVDkK4x.js} +1 -1
- package/dist/{puppet-BX43JqCr.js → puppet-HmyioKTp.js} +1 -1
- package/dist/{pure-BksDdMQ8.js → pure-BknFRRpn.js} +1 -1
- package/dist/{purebasic-DJv8fxSc.js → purebasic-g0QjvWoP.js} +1 -1
- package/dist/{purescript-Dg9Gz0Mn.js → purescript-TXlqTmwk.js} +1 -1
- package/dist/{python-Vb9NO3vE.js → python-BvcHMKjb.js} +1 -1
- package/dist/{q-CaOqHsqz.js → q-BNp8TRnp.js} +1 -1
- package/dist/{qml-DI1TmK3Z.js → qml-Bab2DnhA.js} +1 -1
- package/dist/{qore-BlFoutGJ.js → qore-BL0BJxZy.js} +1 -1
- package/dist/{qsharp-D3faMIse.js → qsharp-BRsuzeCH.js} +1 -1
- package/dist/{r-B2OJCmF9.js → r-T6ZZHHPA.js} +1 -1
- package/dist/{racket-Bsw-qBt0.js → racket-CAmYgGhm.js} +1 -1
- package/dist/{reason-CtbzBXQG.js → reason-ChuDOs0K.js} +1 -1
- package/dist/{regex-V8nUstuk.js → regex-BASkZizv.js} +1 -1
- package/dist/{rego-CsVS9iDu.js → rego-DhmkAh4d.js} +1 -1
- package/dist/{renpy-DnQVUnNT.js → renpy-C53R2iGQ.js} +1 -1
- package/dist/{rest-en92ElIg.js → rest-C-ZIk459.js} +1 -1
- package/dist/{rip-CU4ON6Ac.js → rip-BPqviexK.js} +1 -1
- package/dist/{roboconf-DlcXlTZy.js → roboconf-Bjftj_1K.js} +1 -1
- package/dist/{robotframework-lR6OUIFx.js → robotframework-CNMZMiDq.js} +1 -1
- package/dist/{ruby-CQsntlFM.js → ruby-DnI66wFN.js} +1 -1
- package/dist/{rust-DKh-5S0E.js → rust-xlD6c3lt.js} +1 -1
- package/dist/{sas-DR7zMFaX.js → sas-x8siaMCh.js} +1 -1
- package/dist/sas-x8siaMCh.js.gz +0 -0
- package/dist/{sass-BecK_JWC.js → sass-XF1n6Zrc.js} +1 -1
- package/dist/{scala-BfcQGnBj.js → scala-DF65FZca.js} +1 -1
- package/dist/{scheme-B20Q1Wx8.js → scheme-BM4unaIh.js} +1 -1
- package/dist/{scss-xyN771uZ.js → scss-TTLlrJ-_.js} +1 -1
- package/dist/{shell-session-DJbSLyiO.js → shell-session-DihuGyN4.js} +1 -1
- package/dist/{smali-CmNOOSDW.js → smali-C86D_m3I.js} +1 -1
- package/dist/{smalltalk-BRAHQiGZ.js → smalltalk-Cl8Lms3M.js} +1 -1
- package/dist/{smarty-C-7-aZU5.js → smarty-BjkBsXj9.js} +1 -1
- package/dist/{sml-DBZSwVne.js → sml-DRq9uE7g.js} +1 -1
- package/dist/{solidity-CjdnGADI.js → solidity-EjigKShW.js} +1 -1
- package/dist/{solution-file-BZKknbsf.js → solution-file-C7t58cEa.js} +1 -1
- package/dist/{soy-DPAOBIuo.js → soy-CBG23ycY.js} +1 -1
- package/dist/{sparql-DuuMf8kh.js → sparql-9DXAXwxj.js} +1 -1
- package/dist/{splunk-spl-DLVJeVPG.js → splunk-spl-NkbV9TQj.js} +1 -1
- package/dist/{sqf-BVNXXRSq.js → sqf-aAGiE46l.js} +1 -1
- package/dist/sqf-aAGiE46l.js.gz +0 -0
- package/dist/{sql-I6sbDYxa.js → sql-HzD2IdV-.js} +1 -1
- package/dist/{squirrel-Dk_Ogx75.js → squirrel-DFVAf6mE.js} +1 -1
- package/dist/{stan-CMZm4Zm8.js → stan-CITwMU1I.js} +1 -1
- package/dist/style.css +32 -1
- package/dist/style.css.gz +0 -0
- package/dist/{stylus-CBEozeop.js → stylus-mLAk3AuO.js} +1 -1
- package/dist/{swift-Dm_83AO8.js → swift-htdR9TIu.js} +1 -1
- package/dist/{systemd-BNPF0OFX.js → systemd-C0pSxiBD.js} +1 -1
- package/dist/{t4-cs-CIRm__Qx.js → t4-cs-CVCdXVRD.js} +1 -1
- package/dist/{t4-templating-Dg1cDb4d.js → t4-templating-Cs5xuavf.js} +1 -1
- package/dist/{t4-vb-BaYFY4nx.js → t4-vb-D_lFfinI.js} +1 -1
- package/dist/{tap-Dc1-4GAP.js → tap-BY934Ehv.js} +1 -1
- package/dist/{tcl-CxCNXqSc.js → tcl-C8nEKILS.js} +1 -1
- package/dist/{textile-BUBxOri4.js → textile-ChcduYCh.js} +1 -1
- package/dist/textile-ChcduYCh.js.gz +0 -0
- package/dist/{toml-C0-smqOf.js → toml-Dj78I7t5.js} +1 -1
- package/dist/{tremor-Bx2hrGVM.js → tremor-DjSTSf9M.js} +1 -1
- package/dist/{tsx-BvbNK5Bb.js → tsx-CsIT7B6G.js} +1 -1
- package/dist/{tt2-CGi9pfj8.js → tt2-27DTuCiX.js} +1 -1
- package/dist/{turtle-d1julAkp.js → turtle-FOGvzS9d.js} +1 -1
- package/dist/{twig-CV74QKpC.js → twig-DYumi2II.js} +1 -1
- package/dist/types/components/CodePlayer/index.d.ts +25 -0
- package/dist/types/components/EnvStartup/EnvCloud/index.d.ts +10 -0
- package/dist/types/components/EnvStartup/index.d.ts +14 -0
- package/dist/types/components/ExampleCard/index.d.ts +13 -0
- package/dist/types/components/ExampleTools/ExCodePlayer/index.d.ts +12 -0
- package/dist/types/components/ExampleTools/ExShell/index.d.ts +6 -0
- package/dist/types/components/ExampleTools/index.d.ts +14 -0
- package/dist/types/components/KnowledgeCard/components/AIAssistant/index.d.ts +19 -0
- package/dist/types/components/KnowledgeCard/components/AnimationDemo/ShadowDom.d.ts +4 -0
- package/dist/types/components/KnowledgeCard/components/AnimationDemo/index.d.ts +5 -0
- package/dist/types/components/KnowledgeCard/components/CodeExample/index.d.ts +8 -0
- package/dist/types/components/KnowledgeCard/components/Header/index.d.ts +14 -0
- package/dist/types/components/KnowledgeCard/components/QuestionPractice/index.d.ts +9 -0
- package/dist/types/components/KnowledgeCard/components/Recommend/index.d.ts +17 -0
- package/dist/types/components/KnowledgeCard/components/TextExplanation/index.d.ts +14 -0
- package/dist/types/components/KnowledgeCard/components/VideoTutorial/index.d.ts +10 -0
- package/dist/types/components/KnowledgeCard/index.d.ts +82 -13
- package/dist/types/components/MyReactMarkdown/index.d.ts +1 -0
- package/dist/types/components/VideoPlayer/index.d.ts +2 -1
- package/dist/types/components/Xterm/index.d.ts +15 -0
- package/dist/types/components/Xterm/parseTextToCommandsAndExecute.d.ts +83 -0
- package/dist/types/index.d.ts +18 -1
- package/dist/types/utils/const.d.ts +1 -0
- package/dist/types/utils/index.d.ts +15 -0
- package/dist/{typescript-DYK7W6r2.js → typescript-CcBs1e_V.js} +1 -1
- package/dist/{typoscript-YNBJG0HD.js → typoscript-CsZeumGu.js} +1 -1
- package/dist/{unrealscript-D8U-EX6B.js → unrealscript-DFhkP04Y.js} +1 -1
- package/dist/{uorazor-c0LDrJmN.js → uorazor-D896Hxxl.js} +1 -1
- package/dist/{uri-riwrrIBS.js → uri-Cc99tHr8.js} +1 -1
- package/dist/{v-DHMw78kU.js → v-CS0vqa3K.js} +1 -1
- package/dist/{vala-DhoiHPSw.js → vala-3WG9mmUY.js} +1 -1
- package/dist/{vbnet-CAZuxQnI.js → vbnet-CEZJaaR2.js} +1 -1
- package/dist/{velocity-BeP43TVZ.js → velocity-BY8EpZMU.js} +1 -1
- package/dist/{verilog-Dt4TabmI.js → verilog-CDQ6a-9w.js} +1 -1
- package/dist/{vhdl-DTnqEN80.js → vhdl-z5wBG1wK.js} +1 -1
- package/dist/{vim-CrOacGEu.js → vim-C4G2BmiD.js} +1 -1
- package/dist/vim-C4G2BmiD.js.gz +0 -0
- package/dist/{visual-basic-cOW_Ka-V.js → visual-basic-DR1YlS7M.js} +1 -1
- package/dist/{warpscript-V67tsvzC.js → warpscript-CS4_SEAK.js} +1 -1
- package/dist/{wasm-C9Ry62XI.js → wasm-wFUaw4-Z.js} +1 -1
- package/dist/{web-idl-izJqB9bH.js → web-idl-CsaeaPXA.js} +1 -1
- package/dist/{wiki-CutGRmiA.js → wiki-Czasy3N8.js} +1 -1
- package/dist/{wolfram-B36zrT0P.js → wolfram-5Eky-UUF.js} +1 -1
- package/dist/{wren-BNLLvCGz.js → wren-DjFFKUVb.js} +1 -1
- package/dist/{xeora-sD6XXsIa.js → xeora-BWKZAlOB.js} +1 -1
- package/dist/{xml-doc-DwdmbjCE.js → xml-doc-B5giElKi.js} +1 -1
- package/dist/{xojo-BqDO6T6A.js → xojo-DCPT1iff.js} +1 -1
- package/dist/{xquery-CUYxH7Yf.js → xquery-CbpDbWAn.js} +1 -1
- package/dist/{yaml-DyMPdgI2.js → yaml-BNeHXsD7.js} +1 -1
- package/dist/{yang-BsvutVVl.js → yang-kWQk2PoV.js} +1 -1
- package/dist/{zig-szeQ_8bO.js → zig-BC3cQtBs.js} +1 -1
- package/package.json +2 -1
- package/dist/autohotkey-BwGYrLDC.js.gz +0 -0
- package/dist/cmake-tadKI_g1.js.gz +0 -0
- package/dist/core-DPsDU6XI.js.gz +0 -0
- package/dist/factor-Dd1F5gIT.js.gz +0 -0
- package/dist/gherkin-CcrQuZ8q.js.gz +0 -0
- package/dist/index-BNg5INZl.js.gz +0 -0
- package/dist/markdown-D2Dw-lt2.js.gz +0 -0
- package/dist/mel-Cb6XoSgp.js.gz +0 -0
- package/dist/opencl-DS4FQSRf.js.gz +0 -0
- package/dist/sas-DR7zMFaX.js.gz +0 -0
- package/dist/sqf-BVNXXRSq.js.gz +0 -0
- package/dist/textile-BUBxOri4.js.gz +0 -0
- 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-
|
|
1
|
+
import { g as getDefaultExportFromCjs } from "./index-CaKpHep2.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-
|
|
1
|
+
import { g as getDefaultExportFromCjs } from "./index-CaKpHep2.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-
|
|
1
|
+
import { g as getDefaultExportFromCjs } from "./index-CaKpHep2.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) {
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs } from "./index-
|
|
1
|
+
import { g as getDefaultExportFromCjs } from "./index-CaKpHep2.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-
|
|
1
|
+
import { g as getDefaultExportFromCjs } from "./index-CaKpHep2.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-
|
|
1
|
+
import { g as getDefaultExportFromCjs } from "./index-CaKpHep2.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-
|
|
1
|
+
import { g as getDefaultExportFromCjs } from "./index-CaKpHep2.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,25 @@
|
|
|
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
|
+
testRunResult?: number;
|
|
13
|
+
}
|
|
14
|
+
export interface CodePlayerProps {
|
|
15
|
+
data: codeDataProps;
|
|
16
|
+
hasTitle?: boolean;
|
|
17
|
+
toScore?: (code: string) => void;
|
|
18
|
+
errorHanle?: (data: any) => void;
|
|
19
|
+
codeChange?: (data: string) => void;
|
|
20
|
+
}
|
|
21
|
+
export interface CodePlayerRefProps {
|
|
22
|
+
toInstallPackage: (arr: string[]) => void;
|
|
23
|
+
}
|
|
24
|
+
declare const CodePlayer: import('react').ForwardRefExoticComponent<CodePlayerProps & import('react').RefAttributes<unknown>>;
|
|
25
|
+
export default CodePlayer;
|
|
@@ -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,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,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,10 @@
|
|
|
1
|
+
import { licenseProps } from '../../../VideoPlayer';
|
|
2
|
+
|
|
3
|
+
export interface VideoTutorialProps {
|
|
4
|
+
videoUrl?: string;
|
|
5
|
+
videoLicense?: licenseProps;
|
|
6
|
+
playerRef?: React.RefObject<HTMLDivElement>;
|
|
7
|
+
vidPlayAuth?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const VideoTutorial: React.FC<VideoTutorialProps>;
|
|
10
|
+
export default VideoTutorial;
|
|
@@ -1,29 +1,61 @@
|
|
|
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
|
|
6
|
+
export interface KnowledgeDataProps {
|
|
4
7
|
id: string | number;
|
|
5
8
|
knowledgeType: 'concept' | 'practice';
|
|
6
9
|
title: string;
|
|
7
10
|
content: string;
|
|
8
|
-
|
|
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?:
|
|
21
|
-
expandKnowledgeList?:
|
|
22
|
-
relatedKnowledgeList?:
|
|
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
|
+
editPermission?: boolean;
|
|
25
|
+
canGenAnimation?: boolean;
|
|
26
|
+
vidPlayAuth?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface KnowledgeShortProps {
|
|
29
|
+
id: string | number;
|
|
30
|
+
knowledgeType: 'concept' | 'practice';
|
|
31
|
+
title: string;
|
|
32
|
+
content?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface RecommendVideoProps {
|
|
35
|
+
title: string;
|
|
36
|
+
webUrl: string;
|
|
37
|
+
duration?: string;
|
|
38
|
+
pic?: string;
|
|
39
|
+
views?: number;
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
}
|
|
42
|
+
export interface KnowledgeCardProps {
|
|
43
|
+
knowledgeData: KnowledgeDataProps;
|
|
44
|
+
wrapperStyle?: React.CSSProperties;
|
|
45
|
+
titleEditable?: boolean;
|
|
46
|
+
contentEditable?: boolean;
|
|
47
|
+
showAnimation?: boolean;
|
|
48
|
+
editCallBack?: (props: {
|
|
49
|
+
id: string | number;
|
|
50
|
+
title?: string;
|
|
51
|
+
content?: string;
|
|
52
|
+
}) => void;
|
|
53
|
+
resetContentCallback?: () => void;
|
|
54
|
+
resetTitleCallback?: () => void;
|
|
55
|
+
runCode?: (data: CodeDataProps) => void;
|
|
23
56
|
createKnowldegeLoading?: boolean;
|
|
24
57
|
createKnowledgeCallback?: (props: {
|
|
25
58
|
createType: 'basic' | 'expand' | 'related';
|
|
26
|
-
userInput: string;
|
|
27
59
|
id: string | number;
|
|
28
60
|
}) => void;
|
|
29
61
|
createQuestionCallback?: (props: {
|
|
@@ -41,14 +73,51 @@ export interface KnowledgeCardProps {
|
|
|
41
73
|
userAnswer: string | string[];
|
|
42
74
|
questionData: QuestionItem;
|
|
43
75
|
}) => void;
|
|
76
|
+
saveCode?: (code: string) => void;
|
|
77
|
+
startEnv?: () => Promise<any>;
|
|
78
|
+
releaseEnv?: () => Promise<any>;
|
|
79
|
+
questionOperations?: (question: QuestionItem) => React.ReactNode;
|
|
80
|
+
submitQuestion?: (question: QuestionItem, data: any) => void;
|
|
81
|
+
getCodeSaveAnswer?: (question: QuestionItem) => string;
|
|
82
|
+
onKnowledgeCardClick?: (knowledge: KnowledgeShortProps) => void;
|
|
83
|
+
onRecommendVideoClick?: (video: RecommendVideoProps) => void;
|
|
84
|
+
useAiChatService?: () => ({
|
|
85
|
+
messages: Message[];
|
|
86
|
+
sendMessage: (message: {
|
|
87
|
+
input: string;
|
|
88
|
+
role?: 'user' | 'assistant';
|
|
89
|
+
}) => void;
|
|
90
|
+
loading: boolean;
|
|
91
|
+
});
|
|
44
92
|
}
|
|
45
93
|
export interface CodeDataProps {
|
|
94
|
+
title?: string;
|
|
46
95
|
lang: string;
|
|
47
96
|
code: string;
|
|
97
|
+
execTool?: ToolType;
|
|
98
|
+
container?: string;
|
|
99
|
+
testRunResult?: number;
|
|
48
100
|
}
|
|
49
101
|
export interface licenseProps {
|
|
50
102
|
domain: string;
|
|
51
103
|
key: string;
|
|
52
104
|
}
|
|
105
|
+
export interface KnowledgeCardContextProps {
|
|
106
|
+
envDetail: any;
|
|
107
|
+
envStatus: EnvStatus | '';
|
|
108
|
+
setEnvStatusNow: (status: EnvStatus | '') => void;
|
|
109
|
+
podName: string;
|
|
110
|
+
saveCode?: (code: string) => void;
|
|
111
|
+
shellData?: any;
|
|
112
|
+
podData?: any;
|
|
113
|
+
setPodNameNow: (name: string) => void;
|
|
114
|
+
setShellDataNow: (data: any) => void;
|
|
115
|
+
setPodDataNow: (data: any) => void;
|
|
116
|
+
startEnv?: () => Promise<any>;
|
|
117
|
+
releaseEnv?: () => Promise<any>;
|
|
118
|
+
envRepo?: string;
|
|
119
|
+
defaultShellContainer?: string;
|
|
120
|
+
}
|
|
121
|
+
export declare const KnowledgeCardContext: import('react').Context<KnowledgeCardContextProps>;
|
|
53
122
|
declare const VideoKnowledgeCard: React.FC<KnowledgeCardProps>;
|
|
54
123
|
export default VideoKnowledgeCard;
|
|
@@ -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;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,19 @@
|
|
|
1
1
|
export { default as KnowledgeCard } from './components/KnowledgeCard/index';
|
|
2
|
-
export type { KnowledgeCardProps } from './components/KnowledgeCard/index';
|
|
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';
|
|
@@ -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-
|
|
1
|
+
import { g as getDefaultExportFromCjs } from "./index-CaKpHep2.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++) {
|