@xpert-ai/chatkit-ui 0.4.9 → 0.4.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/app/assets/{_baseUniq-CvUv2HwQ.js → _baseUniq-L_C0UtBf.js} +1 -1
- package/dist/app/assets/{abap-BO7niWiC.js → abap-BpnyPh6e.js} +1 -1
- package/dist/app/assets/{abnf-CWEz7Drs.js → abnf-CePQrE9v.js} +1 -1
- package/dist/app/assets/{actionscript-CyOkZZxh.js → actionscript-CEbXXYWC.js} +1 -1
- package/dist/app/assets/{ada-Jlv844Rv.js → ada-6ojm7R_Z.js} +1 -1
- package/dist/app/assets/{agda-C_kFG5ee.js → agda-BJJMgT72.js} +1 -1
- package/dist/app/assets/{al-BJB3bCYn.js → al-CjM03tR4.js} +1 -1
- package/dist/app/assets/{antlr4-CxC5pLeu.js → antlr4-CN9DxFQq.js} +1 -1
- package/dist/app/assets/{apacheconf-Do-yEyZc.js → apacheconf-DIP0dEtR.js} +1 -1
- package/dist/app/assets/{apex-_x2gfDUc.js → apex-Dk0IZjGB.js} +1 -1
- package/dist/app/assets/{apl-CV7O96Vz.js → apl-Bzb4FgpE.js} +1 -1
- package/dist/app/assets/{applescript-BBZjdzgl.js → applescript-B0UaluN5.js} +1 -1
- package/dist/app/assets/{aql-CPRi8JU5.js → aql-CUf7Ed1z.js} +1 -1
- package/dist/app/assets/{arc-COu-nBNR.js → arc-CAj2CWKM.js} +1 -1
- package/dist/app/assets/{architectureDiagram-Q4EWVU46-D-ddveKc.js → architectureDiagram-Q4EWVU46-BOSyiusQ.js} +1 -1
- package/dist/app/assets/{arduino-B_V9Srpy.js → arduino-B1HB_jXM.js} +1 -1
- package/dist/app/assets/{arff-DsGhNcbT.js → arff-CPQ25yN1.js} +1 -1
- package/dist/app/assets/{asciidoc-B5CEO5fh.js → asciidoc-DV5p79UO.js} +1 -1
- package/dist/app/assets/{asm6502-D2a8tVul.js → asm6502-CpY5r4lk.js} +1 -1
- package/dist/app/assets/{asmatmel-DUTqaTnC.js → asmatmel-CxbyxEbb.js} +1 -1
- package/dist/app/assets/{aspnet-DLUpHuHv.js → aspnet-CJaAnWH-.js} +1 -1
- package/dist/app/assets/{autohotkey-BSB_nyws.js → autohotkey-C582BAaU.js} +1 -1
- package/dist/app/assets/{autoit-BwgYwpuM.js → autoit-Ct1i1FKr.js} +1 -1
- package/dist/app/assets/{avisynth-Cgf1pYso.js → avisynth-DtDpdH0z.js} +1 -1
- package/dist/app/assets/{avro-idl-XqteGdRE.js → avro-idl-B_TsIBE2.js} +1 -1
- package/dist/app/assets/{bash-Dk281cbu.js → bash-DwYhdU-w.js} +1 -1
- package/dist/app/assets/{basic-uRpIiMGe.js → basic-C07QA6Vo.js} +1 -1
- package/dist/app/assets/{batch-C4-m-mLr.js → batch-DjR7VTRm.js} +1 -1
- package/dist/app/assets/{bbcode-B1LUoNFx.js → bbcode-CwHqfRZe.js} +1 -1
- package/dist/app/assets/{bicep-CqsJcsXf.js → bicep-C1vVTkRE.js} +1 -1
- package/dist/app/assets/{birb-DXU3R8QI.js → birb-CBTuHWN7.js} +1 -1
- package/dist/app/assets/{bison-BLjm1RgB.js → bison-C08f83AH.js} +1 -1
- package/dist/app/assets/{blockDiagram-DXYQGD6D-BHxMFapA.js → blockDiagram-DXYQGD6D-BwfXbVr_.js} +1 -1
- package/dist/app/assets/{bnf-D-7oTwhm.js → bnf-eixMjfhu.js} +1 -1
- package/dist/app/assets/{brainfuck-I-YgfuEr.js → brainfuck-OXBW4BZH.js} +1 -1
- package/dist/app/assets/{brightscript-CkF_ucD-.js → brightscript-BSDqAE-U.js} +1 -1
- package/dist/app/assets/{bro-CPPYpjZw.js → bro-Bi8eHVX-.js} +1 -1
- package/dist/app/assets/{bsl-CVgUnXO6.js → bsl-CEhRIRY7.js} +1 -1
- package/dist/app/assets/{c-BS7yj6Yf.js → c-Czzvuksm.js} +1 -1
- package/dist/app/assets/{c4Diagram-AHTNJAMY-BuCOREEO.js → c4Diagram-AHTNJAMY-BGp37t4h.js} +1 -1
- package/dist/app/assets/{cfscript-CIVISA6c.js → cfscript-BDye0SUz.js} +1 -1
- package/dist/app/assets/{chaiscript-DPJ77ndP.js → chaiscript-DapUhojE.js} +1 -1
- package/dist/app/assets/channel-CKs0hRBa.js +1 -0
- package/dist/app/assets/{chunk-4BX2VUAB-C9mHTP0m.js → chunk-4BX2VUAB-xQQ1b4Co.js} +1 -1
- package/dist/app/assets/{chunk-4TB4RGXK-B9VoBVJp.js → chunk-4TB4RGXK-ChvEc_zS.js} +1 -1
- package/dist/app/assets/{chunk-55IACEB6-N4Q-mlk6.js → chunk-55IACEB6-CSgtZuqU.js} +1 -1
- package/dist/app/assets/{chunk-EDXVE4YY-D-MWM76q.js → chunk-EDXVE4YY-D6bAHfe-.js} +1 -1
- package/dist/app/assets/{chunk-FMBD7UC4-DDGTq6jI.js → chunk-FMBD7UC4-CfqAGzwt.js} +1 -1
- package/dist/app/assets/{chunk-OYMX7WX6-BBZDoYQI.js → chunk-OYMX7WX6-DppYEx9e.js} +1 -1
- package/dist/app/assets/{chunk-QZHKN3VN-DdnHt9oV.js → chunk-QZHKN3VN-OcXmUBXK.js} +1 -1
- package/dist/app/assets/{chunk-YZCP3GAM-CDlHGJHz.js → chunk-YZCP3GAM-DEM4F_gM.js} +1 -1
- package/dist/app/assets/{cil-DZ05JSZt.js → cil-CkS5pr8z.js} +1 -1
- package/dist/app/assets/classDiagram-6PBFFD2Q-BSlTfNc_.js +1 -0
- package/dist/app/assets/classDiagram-v2-HSJHXN6E-BSlTfNc_.js +1 -0
- package/dist/app/assets/{clike-C-dce4Yl.js → clike-BnesBfd1.js} +1 -1
- package/dist/app/assets/{clojure-Cik0pyKG.js → clojure-CMTJuYgr.js} +1 -1
- package/dist/app/assets/clone-Qytsv1Ng.js +1 -0
- package/dist/app/assets/{cmake-ClItZh_8.js → cmake-Bad4-rPE.js} +1 -1
- package/dist/app/assets/{cobol-DWNFtn0e.js → cobol-BVGOaTIA.js} +1 -1
- package/dist/app/assets/{coffeescript-DFxA9g0F.js → coffeescript-BfGXelSK.js} +1 -1
- package/dist/app/assets/{concurnas-uPVT6qf5.js → concurnas-CIwpz7d6.js} +1 -1
- package/dist/app/assets/{coq-BSKv5Z4t.js → coq-DSIeTmBw.js} +1 -1
- package/dist/app/assets/{core-CqabDKxB.js → core-aBCdKGFg.js} +1 -1
- package/dist/app/assets/{cose-bilkent-S5V4N54A-BRQTAZ30.js → cose-bilkent-S5V4N54A-BsOe3ZRA.js} +1 -1
- package/dist/app/assets/{cpp-BKB6xq7P.js → cpp-6tyvrJuf.js} +1 -1
- package/dist/app/assets/{crystal-ptPEIgBt.js → crystal-CiyZx3nA.js} +1 -1
- package/dist/app/assets/{csharp-DKCrBSIr.js → csharp-aV-8z_7S.js} +1 -1
- package/dist/app/assets/{cshtml-DnjmY1aO.js → cshtml-DXQwMOL2.js} +1 -1
- package/dist/app/assets/{csp-CzmWWq7i.js → csp-QFnPub4X.js} +1 -1
- package/dist/app/assets/{css-nabIgEws.js → css-NG8SQHFd.js} +1 -1
- package/dist/app/assets/{css-extras-CZ9kQxJC.js → css-extras-BYOlAC_J.js} +1 -1
- package/dist/app/assets/{csv-BG0H1N52.js → csv-CRVKaEXK.js} +1 -1
- package/dist/app/assets/{cypher-DyEzG7ti.js → cypher-N4lavBWi.js} +1 -1
- package/dist/app/assets/{d-BMmV-4z1.js → d-CXsOP2vo.js} +1 -1
- package/dist/app/assets/{dagre-KV5264BT-B8BjxTZj.js → dagre-KV5264BT-DeGuPXts.js} +1 -1
- package/dist/app/assets/{dart-CpGxTj2o.js → dart-QuR1URa-.js} +1 -1
- package/dist/app/assets/{dataweave-DhQPX3BU.js → dataweave-DSZsHkWW.js} +1 -1
- package/dist/app/assets/{dax-C_hSU3cL.js → dax-316zZNcC.js} +1 -1
- package/dist/app/assets/{dhall-DHj_sxCo.js → dhall-RmKM9GKI.js} +1 -1
- package/dist/app/assets/{diagram-5BDNPKRD-CAiueCI6.js → diagram-5BDNPKRD-rnVFbmh_.js} +1 -1
- package/dist/app/assets/{diagram-G4DWMVQ6-DlsV8l1r.js → diagram-G4DWMVQ6-C_06tcEj.js} +1 -1
- package/dist/app/assets/{diagram-MMDJMWI5-Kv6CoQdl.js → diagram-MMDJMWI5-CU4PzLKC.js} +1 -1
- package/dist/app/assets/{diagram-TYMM5635-BznfcBm-.js → diagram-TYMM5635-B6DWOJFf.js} +1 -1
- package/dist/app/assets/{diff-TDLgKsTC.js → diff-D1VyyUNE.js} +1 -1
- package/dist/app/assets/{django-BGA6uMwl.js → django-1g5s3FD9.js} +1 -1
- package/dist/app/assets/{dns-zone-file-CS7N29Nh.js → dns-zone-file-DPyAfyNh.js} +1 -1
- package/dist/app/assets/{docker-CFuWEMG4.js → docker-B6Ppya8s.js} +1 -1
- package/dist/app/assets/{dot-BuI3fIl5.js → dot-qEA9Iscp.js} +1 -1
- package/dist/app/assets/{ebnf-0yXcRKzq.js → ebnf-Dq27JvcF.js} +1 -1
- package/dist/app/assets/{editorconfig-ZwKFQrw_.js → editorconfig-DTKOOxka.js} +1 -1
- package/dist/app/assets/{eiffel-CCkWkof9.js → eiffel-M573bWnZ.js} +1 -1
- package/dist/app/assets/{ejs-C9upEEvN.js → ejs-5_NMM1D1.js} +1 -1
- package/dist/app/assets/{elixir-DpngNXg2.js → elixir-Czvfyjv_.js} +1 -1
- package/dist/app/assets/{elm-F-WH2jVY.js → elm-B8ew8DwL.js} +1 -1
- package/dist/app/assets/{erDiagram-SMLLAGMA-evVGq9aA.js → erDiagram-SMLLAGMA-CLBUx2BT.js} +1 -1
- package/dist/app/assets/{erb-BGEr245J.js → erb-B6kN8bOV.js} +1 -1
- package/dist/app/assets/{erlang-R3_RAdeP.js → erlang-DB9zwFPB.js} +1 -1
- package/dist/app/assets/{etlua-DqqAkZdO.js → etlua-BO-uDffT.js} +1 -1
- package/dist/app/assets/{excel-formula-CSiml3ju.js → excel-formula-DggXv9UI.js} +1 -1
- package/dist/app/assets/{factor-DmMNhX8j.js → factor-DyMYAmFt.js} +1 -1
- package/dist/app/assets/{false-BRxcTXb3.js → false-D6qsKvn8.js} +1 -1
- package/dist/app/assets/{firestore-security-rules-QUZ9d15G.js → firestore-security-rules-CmxC6hqr.js} +1 -1
- package/dist/app/assets/{flow-CM8Ul_F8.js → flow-CuYyVwSm.js} +1 -1
- package/dist/app/assets/{flowDiagram-DWJPFMVM-CRC5ztDh.js → flowDiagram-DWJPFMVM-BXqpXcQj.js} +1 -1
- package/dist/app/assets/{fortran-4BoXeWjv.js → fortran-B9VZ0rBH.js} +1 -1
- package/dist/app/assets/{fsharp-aLuIEWkd.js → fsharp-GO7xyDtk.js} +1 -1
- package/dist/app/assets/{ftl-CiEvcjAh.js → ftl-miAH75V3.js} +1 -1
- package/dist/app/assets/{ganttDiagram-T4ZO3ILL-BA5PQPVx.js → ganttDiagram-T4ZO3ILL-Dwt1tgUY.js} +1 -1
- package/dist/app/assets/{gap-DRHnZupb.js → gap-CId1dUrj.js} +1 -1
- package/dist/app/assets/{gcode-Ci4yyT_S.js → gcode-C59Bc_Q_.js} +1 -1
- package/dist/app/assets/{gdscript-CwHuZksE.js → gdscript-fCaxiH5y.js} +1 -1
- package/dist/app/assets/{gedcom-514pRwDC.js → gedcom-Fz0PyMGL.js} +1 -1
- package/dist/app/assets/{gherkin-CHJmGFl4.js → gherkin-DpCy-yO5.js} +1 -1
- package/dist/app/assets/{git-Cpt88esC.js → git-CDabPQd8.js} +1 -1
- package/dist/app/assets/{gitGraphDiagram-UUTBAWPF-r2T7lPpJ.js → gitGraphDiagram-UUTBAWPF-DKdTEA1Q.js} +1 -1
- package/dist/app/assets/{glsl-BfrS8yJO.js → glsl-CAuBdubM.js} +1 -1
- package/dist/app/assets/{gml-DDgXE7W7.js → gml-B1-KFSC-.js} +1 -1
- package/dist/app/assets/{gn-CoQG_0n5.js → gn-z9JlBynS.js} +1 -1
- package/dist/app/assets/{go-B5zj8JkX.js → go-Bh8RVnCA.js} +1 -1
- package/dist/app/assets/{go-module-EmzvkBoA.js → go-module-BxEHBAUj.js} +1 -1
- package/dist/app/assets/{graph-Cf1KoQrp.js → graph-C5VCXRja.js} +1 -1
- package/dist/app/assets/{graphql-BiDysM4-.js → graphql-UVwaZqUP.js} +1 -1
- package/dist/app/assets/{groovy-CpSog8z5.js → groovy-Bm3Dr_U_.js} +1 -1
- package/dist/app/assets/{haml-CvSPf2h1.js → haml-BQkZhweN.js} +1 -1
- package/dist/app/assets/{handlebars-D-WQRJEB.js → handlebars-UliZj7od.js} +1 -1
- package/dist/app/assets/{haskell-C7BRSZIe.js → haskell-EGerwJvN.js} +1 -1
- package/dist/app/assets/{haxe-_Hcflzq6.js → haxe-f4j0SE6I.js} +1 -1
- package/dist/app/assets/{hcl-CWqWstRc.js → hcl-CuuY0fvP.js} +1 -1
- package/dist/app/assets/{hlsl-BxXCCGJZ.js → hlsl-C4nrcroF.js} +1 -1
- package/dist/app/assets/{hoon-CwaQ-EFH.js → hoon-YAf2AIOr.js} +1 -1
- package/dist/app/assets/{hpkp-DQmRthIx.js → hpkp-ClJhCK_W.js} +1 -1
- package/dist/app/assets/{hsts-D8Ur8bD-.js → hsts-CEpwd5fr.js} +1 -1
- package/dist/app/assets/{http-Cw3RkimR.js → http-BR64Nyk9.js} +1 -1
- package/dist/app/assets/{ichigojam-CM6bS6zb.js → ichigojam-DTWmfCcD.js} +1 -1
- package/dist/app/assets/{icon-CtcSAZYC.js → icon-D0qxhzhu.js} +1 -1
- package/dist/app/assets/{icu-message-format-DF5LqWc8.js → icu-message-format-Cr2MhD47.js} +1 -1
- package/dist/app/assets/{idris-BFiVs7gd.js → idris-D6urX37y.js} +1 -1
- package/dist/app/assets/{iecst-DdrMjXQ5.js → iecst-D9PNLpyA.js} +1 -1
- package/dist/app/assets/{ignore-DIq2g2-l.js → ignore-hxaHGT6e.js} +1 -1
- package/dist/app/assets/index-CIhQPDQc.css +1 -0
- package/dist/app/assets/{index-tsW7eKsE.js → index-Ca6boVeh.js} +119 -119
- package/dist/app/assets/{infoDiagram-42DDH7IO-wYyuNxNj.js → infoDiagram-42DDH7IO-CCZ9EqBH.js} +1 -1
- package/dist/app/assets/{inform7-DzmXERkt.js → inform7-DGwJlX9w.js} +1 -1
- package/dist/app/assets/{ini-D5KL9MSR.js → ini-HbQ_pZ9w.js} +1 -1
- package/dist/app/assets/{io-DhsFH1Tp.js → io-Dhyv4fqE.js} +1 -1
- package/dist/app/assets/{ishikawaDiagram-UXIWVN3A-C4-BPurQ.js → ishikawaDiagram-UXIWVN3A-CnOAK-IZ.js} +1 -1
- package/dist/app/assets/{j-5x99BUy1.js → j-DAcUG2zB.js} +1 -1
- package/dist/app/assets/{java-BF9JoKMx.js → java-CdeMY3IG.js} +1 -1
- package/dist/app/assets/{javadoc-BxSJmEM7.js → javadoc-BeQ0Pg6D.js} +1 -1
- package/dist/app/assets/{javadoclike-CPt-8K6_.js → javadoclike-DPYVfShk.js} +1 -1
- package/dist/app/assets/{javascript-BssOsFWy.js → javascript-BGlZ4jdn.js} +1 -1
- package/dist/app/assets/{javastacktrace-Dd6I7h5J.js → javastacktrace-Jex9eXtr.js} +1 -1
- package/dist/app/assets/{jexl-CUEZVd6g.js → jexl-BFt920Jf.js} +1 -1
- package/dist/app/assets/{jolie-D4tUWCAe.js → jolie-YCJV5cqd.js} +1 -1
- package/dist/app/assets/{journeyDiagram-VCZTEJTY-4dsXMpZz.js → journeyDiagram-VCZTEJTY-C5RrtwyC.js} +1 -1
- package/dist/app/assets/{jq-DA4saxp1.js → jq-BlHh9d3G.js} +1 -1
- package/dist/app/assets/{js-extras-BHoZQrc7.js → js-extras-DqpdICye.js} +1 -1
- package/dist/app/assets/{js-templates-DHIHpncv.js → js-templates-CvnMgk4Z.js} +1 -1
- package/dist/app/assets/{jsdoc-DiRqJjfA.js → jsdoc-D4a3LTWc.js} +1 -1
- package/dist/app/assets/{json-WG7VBScH.js → json-Deb7FFLA.js} +1 -1
- package/dist/app/assets/{json5-TZgr9JRE.js → json5-BJMK5K1n.js} +1 -1
- package/dist/app/assets/{jsonp-Dv9WqRYx.js → jsonp-C04DhIsm.js} +1 -1
- package/dist/app/assets/{jsstacktrace-Gz4Bje7i.js → jsstacktrace-dnLb08RQ.js} +1 -1
- package/dist/app/assets/{jsx-Bw3uULWP.js → jsx-qoVtXIf0.js} +1 -1
- package/dist/app/assets/{julia-D8b2chKD.js → julia-Din5szlb.js} +1 -1
- package/dist/app/assets/{kanban-definition-6JOO6SKY-BpSZrzpV.js → kanban-definition-6JOO6SKY-CbNOvC3e.js} +1 -1
- package/dist/app/assets/{keepalived-CxrShb2S.js → keepalived-B4pmJFAA.js} +1 -1
- package/dist/app/assets/{keyman-CiksSo_Q.js → keyman-GZkMiOR4.js} +1 -1
- package/dist/app/assets/{kotlin-DrUdw5kE.js → kotlin-BaVFlKSj.js} +1 -1
- package/dist/app/assets/{kumir-D7RWib-C.js → kumir-BYgnVncN.js} +1 -1
- package/dist/app/assets/{kusto-BV4XMg16.js → kusto-iC0N6VZB.js} +1 -1
- package/dist/app/assets/{latex-BC0Uyc-d.js → latex-DJsq4A7S.js} +1 -1
- package/dist/app/assets/{latte-tPT1UrWz.js → latte-4-D5JQy6.js} +1 -1
- package/dist/app/assets/{layout-BOlQN9Mo.js → layout-woS_Ptld.js} +1 -1
- package/dist/app/assets/{less-oxG_fu4g.js → less-BEGF0T8s.js} +1 -1
- package/dist/app/assets/{lilypond-C88RotJr.js → lilypond-DaScaqz9.js} +1 -1
- package/dist/app/assets/{linear-BfflU34i.js → linear-BihMu0qn.js} +1 -1
- package/dist/app/assets/{liquid-C7TfcW57.js → liquid-D0JwjezM.js} +1 -1
- package/dist/app/assets/{lisp-Buz4RfpM.js → lisp-Ba08UZ8Y.js} +1 -1
- package/dist/app/assets/{livescript-1DQfUkd-.js → livescript-Ba6INIPm.js} +1 -1
- package/dist/app/assets/{llvm-JvopDbcE.js → llvm-B0HbpJgY.js} +1 -1
- package/dist/app/assets/{log-BnfCB9DE.js → log-CUZTDc-a.js} +1 -1
- package/dist/app/assets/{lolcode-D_D_7GzE.js → lolcode-D40bzDOF.js} +1 -1
- package/dist/app/assets/{lua-CO1cU0XH.js → lua-jHZMGpQf.js} +1 -1
- package/dist/app/assets/{magma-B1G7u0t4.js → magma-BMKUCiAE.js} +1 -1
- package/dist/app/assets/{makefile-AeGGTOcq.js → makefile-CrnMbIy3.js} +1 -1
- package/dist/app/assets/{markdown-C8OTDGWj.js → markdown-BpxRx0s_.js} +1 -1
- package/dist/app/assets/{markup-fcpLEWs9.js → markup-D_2bSIGF.js} +1 -1
- package/dist/app/assets/{markup-templating-BJPOJotJ.js → markup-templating-BQJ4eRFE.js} +1 -1
- package/dist/app/assets/{matlab-C5u9cVSe.js → matlab-uyhAjnN1.js} +1 -1
- package/dist/app/assets/{maxscript-D1j46lZY.js → maxscript-H8QAZVCr.js} +1 -1
- package/dist/app/assets/{mel-4T8xB3kc.js → mel-Os9gRUqz.js} +1 -1
- package/dist/app/assets/{mermaid-D2CuapgG.js → mermaid-B2iIz3n5.js} +1 -1
- package/dist/app/assets/{min-C6bAU5tf.js → min-BTBcsdCC.js} +1 -1
- package/dist/app/assets/{mindmap-definition-QFDTVHPH-DQCqFXf4.js → mindmap-definition-QFDTVHPH-Dvj885ud.js} +1 -1
- package/dist/app/assets/{mizar-6YzPCneu.js → mizar-D9MjA9UN.js} +1 -1
- package/dist/app/assets/{mongodb-rU_FNrrO.js → mongodb-Dn0muF6d.js} +1 -1
- package/dist/app/assets/{monkey-DHTaMD5j.js → monkey-DOTSILMn.js} +1 -1
- package/dist/app/assets/{moonscript-B4Q1sWnw.js → moonscript-DfQiWdI-.js} +1 -1
- package/dist/app/assets/{n1ql-C-kQ4Dz0.js → n1ql-Di7PgXpN.js} +1 -1
- package/dist/app/assets/{n4js-B4Kuv0gT.js → n4js-4FGHhLWQ.js} +1 -1
- package/dist/app/assets/{nand2tetris-hdl-BEZvFDwm.js → nand2tetris-hdl-RPNTjDij.js} +1 -1
- package/dist/app/assets/{naniscript-0DISbVj5.js → naniscript-DlBeU5rv.js} +1 -1
- package/dist/app/assets/{nasm-Cy_rHjd9.js → nasm-DOfW-U1c.js} +1 -1
- package/dist/app/assets/{neon-CQPnGFjU.js → neon-DIaK0ba7.js} +1 -1
- package/dist/app/assets/{nevod-Cc2uvwJy.js → nevod-MZznxw70.js} +1 -1
- package/dist/app/assets/{nginx-CtSV-zWN.js → nginx-B_evwEEx.js} +1 -1
- package/dist/app/assets/{nim-Cx8sXTrq.js → nim-CKV8H1in.js} +1 -1
- package/dist/app/assets/{nix-fzCInmbw.js → nix-snnJAJ52.js} +1 -1
- package/dist/app/assets/{nsis-B-WmXulG.js → nsis-BkQHvfnw.js} +1 -1
- package/dist/app/assets/{objectivec-B7mP6oMV.js → objectivec-MasMMXjt.js} +1 -1
- package/dist/app/assets/{ocaml-BCNitKcz.js → ocaml-DfMICclm.js} +1 -1
- package/dist/app/assets/{opencl-Ccg1YnSK.js → opencl-DMGsaXz-.js} +1 -1
- package/dist/app/assets/{openqasm-CtnHTd2G.js → openqasm-HESEWwwi.js} +1 -1
- package/dist/app/assets/{oz-DXv1OItd.js → oz-Dnbv1xyS.js} +1 -1
- package/dist/app/assets/{parigp-Cb_kuYUA.js → parigp-BA7vMMvc.js} +1 -1
- package/dist/app/assets/{parser-CwT8uubF.js → parser-CpgehIIr.js} +1 -1
- package/dist/app/assets/{pascal-B5wSlm8n.js → pascal-CHpGLduo.js} +1 -1
- package/dist/app/assets/{pascaligo-D7-1FMxX.js → pascaligo-gC_Fmy9X.js} +1 -1
- package/dist/app/assets/{pcaxis-DbHPrVNE.js → pcaxis-ClUcRdeO.js} +1 -1
- package/dist/app/assets/{peoplecode-Bwty_AUm.js → peoplecode-DQzgxy54.js} +1 -1
- package/dist/app/assets/{perl-BiIJMtwN.js → perl-oGp9SxLw.js} +1 -1
- package/dist/app/assets/{php-6mreideO.js → php-DgxqR0GZ.js} +1 -1
- package/dist/app/assets/{php-extras-CBjQ7vIX.js → php-extras-BfS-aY8o.js} +1 -1
- package/dist/app/assets/{phpdoc-B62bzA5k.js → phpdoc-BmMoLBHI.js} +1 -1
- package/dist/app/assets/{pieDiagram-DEJITSTG-URmplZD6.js → pieDiagram-DEJITSTG-DZ0yFuk7.js} +1 -1
- package/dist/app/assets/{plsql-BAj_vv6G.js → plsql-CPXmCYYW.js} +1 -1
- package/dist/app/assets/{powerquery-CzCmbNz6.js → powerquery-FtFYTUVW.js} +1 -1
- package/dist/app/assets/{powershell-CpwS-v1m.js → powershell-DuDoHsht.js} +1 -1
- package/dist/app/assets/{processing-9HFL_Kda.js → processing-CjEmSLbF.js} +1 -1
- package/dist/app/assets/{prolog-D71hnbvz.js → prolog-BrB4XKYQ.js} +1 -1
- package/dist/app/assets/{promql-Cr4QC9HL.js → promql-Bo3Yo-85.js} +1 -1
- package/dist/app/assets/{properties-J9p1gfGR.js → properties-C12E8Vrx.js} +1 -1
- package/dist/app/assets/{protobuf-DMxIf431.js → protobuf-ZSbyt_tp.js} +1 -1
- package/dist/app/assets/{psl-CTytrTSB.js → psl-C8BZ04EB.js} +1 -1
- package/dist/app/assets/{pug-jEAnZaKi.js → pug-tFtksCnz.js} +1 -1
- package/dist/app/assets/{puppet-DGT0PXLM.js → puppet-DIKGEmsp.js} +1 -1
- package/dist/app/assets/{pure-DFlG-Euv.js → pure-Dl1I5Uf9.js} +1 -1
- package/dist/app/assets/{purebasic-fdJezgk1.js → purebasic-BKUq9_IV.js} +1 -1
- package/dist/app/assets/{purescript-WUURLlSz.js → purescript-BfKdBG7f.js} +1 -1
- package/dist/app/assets/{q-CmD9Xmj5.js → q-Bc-J6oNm.js} +1 -1
- package/dist/app/assets/{qml-BMG0y4hi.js → qml-CtblfTL-.js} +1 -1
- package/dist/app/assets/{qore-ndBZlJKP.js → qore-C_WhRfpS.js} +1 -1
- package/dist/app/assets/{qsharp-DLCEDNKN.js → qsharp-CkQWjHnz.js} +1 -1
- package/dist/app/assets/{quadrantDiagram-34T5L4WZ-DYv3ycY4.js → quadrantDiagram-34T5L4WZ-BFAfZEAg.js} +1 -1
- package/dist/app/assets/{r-B8Kaj2hw.js → r-BLXGPVPD.js} +1 -1
- package/dist/app/assets/{racket-BmjGoXCu.js → racket-E6RQ7R9a.js} +1 -1
- package/dist/app/assets/{reason-BMBey7GD.js → reason-DCm-poIN.js} +1 -1
- package/dist/app/assets/{regex-CcOJ-RBo.js → regex-BQMYuSFJ.js} +1 -1
- package/dist/app/assets/{rego-BIXa5YcP.js → rego-kN2r0Pui.js} +1 -1
- package/dist/app/assets/{renpy-DFVE_JD1.js → renpy-ifyhyky1.js} +1 -1
- package/dist/app/assets/{requirementDiagram-MS252O5E-enCn9qyU.js → requirementDiagram-MS252O5E-Cy6vLX6y.js} +1 -1
- package/dist/app/assets/{rest-B9H-hgOJ.js → rest-sNHXO2Rp.js} +1 -1
- package/dist/app/assets/{rip-Bv5Hr1Jw.js → rip-DiG06njh.js} +1 -1
- package/dist/app/assets/{roboconf-jRCQTbv5.js → roboconf-Go3FkVXZ.js} +1 -1
- package/dist/app/assets/{robotframework-B5SYb3S6.js → robotframework-B0KjSDge.js} +1 -1
- package/dist/app/assets/{ruby-B9xBZ2-7.js → ruby-lembbibU.js} +1 -1
- package/dist/app/assets/{rust-DxSKWUH3.js → rust-lLanU6M8.js} +1 -1
- package/dist/app/assets/{sankeyDiagram-XADWPNL6-Bhc5bfvg.js → sankeyDiagram-XADWPNL6-CHNcaRfC.js} +1 -1
- package/dist/app/assets/{sas-Ufzee22m.js → sas-CepPfFuK.js} +1 -1
- package/dist/app/assets/{sass-D2SeUbd3.js → sass-CJ9PFEHC.js} +1 -1
- package/dist/app/assets/{scala-1mDQ7lT3.js → scala-BOTmxIAg.js} +1 -1
- package/dist/app/assets/{scheme-C1DE_OtV.js → scheme-DebY6fXZ.js} +1 -1
- package/dist/app/assets/{scss-CG-uC_jx.js → scss-I831DfbF.js} +1 -1
- package/dist/app/assets/{sequenceDiagram-FGHM5R23-CDe6bCwe.js → sequenceDiagram-FGHM5R23-B262jGYI.js} +1 -1
- package/dist/app/assets/{shell-session-BXrndzdM.js → shell-session-Bc2Vf63x.js} +1 -1
- package/dist/app/assets/{smali-QM7yFavH.js → smali-BvHZ9KC5.js} +1 -1
- package/dist/app/assets/{smalltalk-C-fITGMb.js → smalltalk-CnJHUQDi.js} +1 -1
- package/dist/app/assets/{smarty-4kJKkU5q.js → smarty-C52pWLjT.js} +1 -1
- package/dist/app/assets/{sml-ot95negB.js → sml-BIsAmqJZ.js} +1 -1
- package/dist/app/assets/{solidity-Dx_IP6eq.js → solidity-CmIQhZ4P.js} +1 -1
- package/dist/app/assets/{solution-file-wapuUhtE.js → solution-file-BIQSOYlV.js} +1 -1
- package/dist/app/assets/{soy-D-5oz9aj.js → soy-3fx5uUfg.js} +1 -1
- package/dist/app/assets/{sparql--6Q0TOqj.js → sparql-BVOpxY0k.js} +1 -1
- package/dist/app/assets/{splunk-spl-CNbdZc4Q.js → splunk-spl-BY78MSNc.js} +1 -1
- package/dist/app/assets/{sqf-DSKo3YQF.js → sqf-C829Cqkw.js} +1 -1
- package/dist/app/assets/{sql-gNTttuTN.js → sql-BjXleg-C.js} +1 -1
- package/dist/app/assets/{squirrel-DBA8eFXS.js → squirrel-hVXB9A_k.js} +1 -1
- package/dist/app/assets/{stan-DDf1Y7DO.js → stan-DR8-Ksro.js} +1 -1
- package/dist/app/assets/{stateDiagram-FHFEXIEX-p42Be8mf.js → stateDiagram-FHFEXIEX-DASFzkGA.js} +1 -1
- package/dist/app/assets/stateDiagram-v2-QKLJ7IA2-VSJXuK_v.js +1 -0
- package/dist/app/assets/{stylus-CjUUyrES.js → stylus-BLgROJFn.js} +1 -1
- package/dist/app/assets/{swift-CKnKs81t.js → swift-BFiTbikL.js} +1 -1
- package/dist/app/assets/{systemd-C10k014a.js → systemd-BH7-HakT.js} +1 -1
- package/dist/app/assets/{t4-cs-DDiM4sZJ.js → t4-cs-BhRgiInj.js} +1 -1
- package/dist/app/assets/{t4-templating-7kKJq4TZ.js → t4-templating-DVcctKts.js} +1 -1
- package/dist/app/assets/{t4-vb-DuiSnonv.js → t4-vb-BWdGVqZt.js} +1 -1
- package/dist/app/assets/{tap-IQ8yl2oh.js → tap-O_XkewC5.js} +1 -1
- package/dist/app/assets/{tcl-DURyRJDt.js → tcl-yX1XNQSP.js} +1 -1
- package/dist/app/assets/{textile-DQ_JtUdC.js → textile-BLezi3e1.js} +1 -1
- package/dist/app/assets/{timeline-definition-GMOUNBTQ-B4uPbG-W.js → timeline-definition-GMOUNBTQ-BNGwgyTF.js} +1 -1
- package/dist/app/assets/{toml-IQN2CNuI.js → toml-Eph7qw5M.js} +1 -1
- package/dist/app/assets/{tremor-Bny5MqnS.js → tremor-CSl2ZVP1.js} +1 -1
- package/dist/app/assets/{tt2-DcdeYRm9.js → tt2-0Brdd3gb.js} +1 -1
- package/dist/app/assets/{turtle-ePfiwKUJ.js → turtle-Cc0fFjp3.js} +1 -1
- package/dist/app/assets/{twig-DYNpPvPW.js → twig-Dt5yL5pH.js} +1 -1
- package/dist/app/assets/{typescript-myhWeMeg.js → typescript-gPQes0uv.js} +1 -1
- package/dist/app/assets/{typoscript-BtWmq6lK.js → typoscript-J9BtBWlv.js} +1 -1
- package/dist/app/assets/{unrealscript-BdPAyGL5.js → unrealscript-g2cMrNeY.js} +1 -1
- package/dist/app/assets/{uorazor-CdoHfnCa.js → uorazor-ChupejQE.js} +1 -1
- package/dist/app/assets/{uri-8lWJiWx5.js → uri-DKyJK53l.js} +1 -1
- package/dist/app/assets/{v-0tJN9Hku.js → v-gE-bfjKA.js} +1 -1
- package/dist/app/assets/{vala-XUiF0ZAF.js → vala-COAZWYR5.js} +1 -1
- package/dist/app/assets/{vbnet-BUEocEyh.js → vbnet-Bu2O5wTQ.js} +1 -1
- package/dist/app/assets/{velocity-BEOmqWKD.js → velocity-QORnuopg.js} +1 -1
- package/dist/app/assets/{vennDiagram-DHZGUBPP-CiBcI7a1.js → vennDiagram-DHZGUBPP-7IQLntaa.js} +1 -1
- package/dist/app/assets/{verilog-BBKGGmem.js → verilog-qxGjqHLf.js} +1 -1
- package/dist/app/assets/{vhdl-B-_TUb2S.js → vhdl-cIq_dULQ.js} +1 -1
- package/dist/app/assets/{vim-D12Uaiun.js → vim-DY-IJIKY.js} +1 -1
- package/dist/app/assets/{visual-basic-Bt6yOtui.js → visual-basic-Coo2C3Qj.js} +1 -1
- package/dist/app/assets/{wardley-RL74JXVD-CAHah9aU.js → wardley-RL74JXVD-D5caMcOT.js} +1 -1
- package/dist/app/assets/{wardleyDiagram-NUSXRM2D-DuJOM0rD.js → wardleyDiagram-NUSXRM2D-BbTN3RD2.js} +1 -1
- package/dist/app/assets/{warpscript-CeTM4-Gj.js → warpscript-BaMVI_Yi.js} +1 -1
- package/dist/app/assets/{wasm-SfMoRKqG.js → wasm-C1KcjV4l.js} +1 -1
- package/dist/app/assets/{web-idl-D20E2F0O.js → web-idl-C1V0GjBc.js} +1 -1
- package/dist/app/assets/{wiki-D8abQrQq.js → wiki-QJuJkorv.js} +1 -1
- package/dist/app/assets/{wolfram-CGEar8g5.js → wolfram-fbFFHeKH.js} +1 -1
- package/dist/app/assets/{wren-D2cfeRDa.js → wren-CZ1XKEHc.js} +1 -1
- package/dist/app/assets/{xeora-CjjXFLG8.js → xeora-O0sY3eom.js} +1 -1
- package/dist/app/assets/{xml-doc-3_owB9PN.js → xml-doc-Bs1K40y6.js} +1 -1
- package/dist/app/assets/{xojo-C312JS6O.js → xojo-DsepgQ0E.js} +1 -1
- package/dist/app/assets/{xquery-Cn9l8bPn.js → xquery-C2-xF6LZ.js} +1 -1
- package/dist/app/assets/{xychartDiagram-5P7HB3ND-CvrNIPqq.js → xychartDiagram-5P7HB3ND-D_u6cobc.js} +1 -1
- package/dist/app/assets/{yaml-OkW6jhVj.js → yaml-CSCOF77O.js} +1 -1
- package/dist/app/assets/{yang-Dg93mnQG.js → yang-Dupiqe8o.js} +1 -1
- package/dist/app/assets/{zig-CD6h8YdZ.js → zig-BVtaAQ9o.js} +1 -1
- package/dist/app/index.html +2 -2
- package/dist/index.cjs +161 -46
- package/dist/index.js +185 -63
- package/package.json +3 -3
- package/dist/app/assets/channel-DqqmKvlV.js +0 -1
- package/dist/app/assets/classDiagram-6PBFFD2Q-DDmxiqHK.js +0 -1
- package/dist/app/assets/classDiagram-v2-HSJHXN6E-DDmxiqHK.js +0 -1
- package/dist/app/assets/clone-DzAFCb4d.js +0 -1
- package/dist/app/assets/index-o0o3Q2hC.css +0 -1
- package/dist/app/assets/stateDiagram-v2-QKLJ7IA2-CAhlZfwO.js +0 -1
package/dist/index.cjs
CHANGED
|
@@ -2205,6 +2205,9 @@ var en_US_default = {
|
|
|
2205
2205
|
history: {
|
|
2206
2206
|
threadHistory: "Thread history",
|
|
2207
2207
|
title: "Threads",
|
|
2208
|
+
refresh: "Refresh threads",
|
|
2209
|
+
updatedAt: "Updated {{time}}",
|
|
2210
|
+
deleteThread: "Delete {{title}}",
|
|
2208
2211
|
newThread: "New Thread",
|
|
2209
2212
|
empty: "No threads yet",
|
|
2210
2213
|
newThreadTitle: "New thread",
|
|
@@ -2646,6 +2649,9 @@ var zh_CN_default = {
|
|
|
2646
2649
|
history: {
|
|
2647
2650
|
threadHistory: "\u7EBF\u7A0B\u5386\u53F2",
|
|
2648
2651
|
title: "\u7EBF\u7A0B",
|
|
2652
|
+
refresh: "\u5237\u65B0\u7EBF\u7A0B",
|
|
2653
|
+
updatedAt: "\u66F4\u65B0\u4E8E {{time}}",
|
|
2654
|
+
deleteThread: "\u5220\u9664 {{title}}",
|
|
2649
2655
|
newThread: "\u65B0\u7EBF\u7A0B",
|
|
2650
2656
|
empty: "\u6682\u65E0\u7EBF\u7A0B",
|
|
2651
2657
|
newThreadTitle: "\u65B0\u7EBF\u7A0B",
|
|
@@ -4760,10 +4766,10 @@ var ScrollArea = React11.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
4760
4766
|
ScrollAreaPrimitive.Root,
|
|
4761
4767
|
{
|
|
4762
4768
|
ref,
|
|
4763
|
-
className: cn("relative overflow-hidden", className),
|
|
4769
|
+
className: cn("relative min-w-0 overflow-hidden", className),
|
|
4764
4770
|
...props,
|
|
4765
4771
|
children: [
|
|
4766
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
|
|
4772
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ScrollAreaPrimitive.Viewport, { className: "h-full w-full min-w-0 max-w-full rounded-[inherit] [&>div]:!block [&>div]:!w-full", children }),
|
|
4767
4773
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ScrollBar, {}),
|
|
4768
4774
|
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ScrollAreaPrimitive.Corner, {})
|
|
4769
4775
|
]
|
|
@@ -4798,6 +4804,9 @@ function Sheet({ ...props }) {
|
|
|
4798
4804
|
function SheetTrigger({ ...props }) {
|
|
4799
4805
|
return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(SheetPrimitive.Trigger, { ...props });
|
|
4800
4806
|
}
|
|
4807
|
+
function SheetClose({ ...props }) {
|
|
4808
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(SheetPrimitive.Close, { ...props });
|
|
4809
|
+
}
|
|
4801
4810
|
function SheetPortal({ ...props }) {
|
|
4802
4811
|
return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(SheetPrimitive.Portal, { ...props });
|
|
4803
4812
|
}
|
|
@@ -4818,6 +4827,7 @@ function SheetOverlay({
|
|
|
4818
4827
|
}
|
|
4819
4828
|
function SheetContent({
|
|
4820
4829
|
side = "right",
|
|
4830
|
+
showCloseButton = true,
|
|
4821
4831
|
className,
|
|
4822
4832
|
children,
|
|
4823
4833
|
...props
|
|
@@ -4842,7 +4852,7 @@ function SheetContent({
|
|
|
4842
4852
|
...props,
|
|
4843
4853
|
children: [
|
|
4844
4854
|
children,
|
|
4845
|
-
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
4855
|
+
showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
4846
4856
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react6.X, { size: 16 }),
|
|
4847
4857
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: "sr-only", children: t("sheet.close") })
|
|
4848
4858
|
] })
|
|
@@ -4881,17 +4891,51 @@ function SheetTitle({
|
|
|
4881
4891
|
|
|
4882
4892
|
// src/components/history/HistorySidebar.tsx
|
|
4883
4893
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
4894
|
+
var formatThreadUpdatedAt = (value, formatters, now = /* @__PURE__ */ new Date()) => {
|
|
4895
|
+
if (Number.isNaN(value.getTime())) return null;
|
|
4896
|
+
const isSameYear = value.getFullYear() === now.getFullYear();
|
|
4897
|
+
const isSameDay = isSameYear && value.getMonth() === now.getMonth() && value.getDate() === now.getDate();
|
|
4898
|
+
return {
|
|
4899
|
+
compact: isSameDay ? formatters.time.format(value) : isSameYear ? formatters.date.format(value) : formatters.dateWithYear.format(value),
|
|
4900
|
+
full: formatters.full.format(value)
|
|
4901
|
+
};
|
|
4902
|
+
};
|
|
4884
4903
|
function HistorySidebar({
|
|
4885
4904
|
threads = [],
|
|
4886
4905
|
currentThreadId,
|
|
4887
4906
|
onNewThread,
|
|
4907
|
+
onRefresh,
|
|
4888
4908
|
onSelectThread,
|
|
4889
4909
|
onDeleteThread,
|
|
4910
|
+
isRefreshing = false,
|
|
4890
4911
|
showDelete = true,
|
|
4891
4912
|
disabled = false
|
|
4892
4913
|
}) {
|
|
4893
|
-
const { t } = useChatkitTranslation();
|
|
4914
|
+
const { t, i18n: i18n2 } = useChatkitTranslation();
|
|
4894
4915
|
const [open, setOpen] = React13.useState(false);
|
|
4916
|
+
const language = i18n2.resolvedLanguage ?? i18n2.language;
|
|
4917
|
+
const threadTimeFormatters = React13.useMemo(
|
|
4918
|
+
() => ({
|
|
4919
|
+
time: new Intl.DateTimeFormat(language, {
|
|
4920
|
+
hour: "2-digit",
|
|
4921
|
+
minute: "2-digit"
|
|
4922
|
+
}),
|
|
4923
|
+
date: new Intl.DateTimeFormat(language, {
|
|
4924
|
+
month: "numeric",
|
|
4925
|
+
day: "numeric"
|
|
4926
|
+
}),
|
|
4927
|
+
dateWithYear: new Intl.DateTimeFormat(language, {
|
|
4928
|
+
year: "numeric",
|
|
4929
|
+
month: "numeric",
|
|
4930
|
+
day: "numeric"
|
|
4931
|
+
}),
|
|
4932
|
+
full: new Intl.DateTimeFormat(language, {
|
|
4933
|
+
dateStyle: "medium",
|
|
4934
|
+
timeStyle: "short"
|
|
4935
|
+
})
|
|
4936
|
+
}),
|
|
4937
|
+
[language]
|
|
4938
|
+
);
|
|
4895
4939
|
const handleNewThread = () => {
|
|
4896
4940
|
onNewThread?.();
|
|
4897
4941
|
setOpen(false);
|
|
@@ -4918,49 +4962,118 @@ function HistorySidebar({
|
|
|
4918
4962
|
) }) }) }),
|
|
4919
4963
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(TooltipContent, { side: "bottom", children: t("history.threadHistory") })
|
|
4920
4964
|
] }),
|
|
4921
|
-
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
children: [
|
|
4930
|
-
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4965
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
4966
|
+
SheetContent,
|
|
4967
|
+
{
|
|
4968
|
+
side: "right",
|
|
4969
|
+
className: "w-80 p-0",
|
|
4970
|
+
showCloseButton: false,
|
|
4971
|
+
"aria-describedby": void 0,
|
|
4972
|
+
children: [
|
|
4973
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(SheetHeader, { className: "grid grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center space-y-0 border-b px-3 py-4", children: [
|
|
4974
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(SheetTitle, { className: "col-start-2 text-center", children: t("history.title") }),
|
|
4975
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "col-start-3 row-start-1 flex min-w-max items-center gap-1 justify-self-end", children: [
|
|
4976
|
+
onRefresh && /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(Tooltip, { children: [
|
|
4977
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
4978
|
+
Button,
|
|
4979
|
+
{
|
|
4980
|
+
type: "button",
|
|
4981
|
+
variant: "ghost",
|
|
4982
|
+
size: "icon-sm",
|
|
4983
|
+
onClick: () => void onRefresh(),
|
|
4984
|
+
disabled: disabled || isRefreshing,
|
|
4985
|
+
className: "cursor-pointer text-muted-foreground hover:bg-accent hover:text-accent-foreground",
|
|
4986
|
+
"aria-label": t("history.refresh"),
|
|
4987
|
+
"aria-busy": isRefreshing,
|
|
4988
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
4989
|
+
import_lucide_react7.RefreshCw,
|
|
4990
|
+
{
|
|
4991
|
+
size: 16,
|
|
4992
|
+
className: cn(isRefreshing && "animate-spin")
|
|
4993
|
+
}
|
|
4994
|
+
)
|
|
4995
|
+
}
|
|
4996
|
+
) }),
|
|
4997
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(TooltipContent, { side: "bottom", children: t("history.refresh") })
|
|
4998
|
+
] }),
|
|
4999
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(SheetClose, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
5000
|
+
Button,
|
|
5001
|
+
{
|
|
5002
|
+
type: "button",
|
|
5003
|
+
variant: "ghost",
|
|
5004
|
+
size: "icon-sm",
|
|
5005
|
+
className: "cursor-pointer text-muted-foreground hover:bg-accent hover:text-accent-foreground",
|
|
5006
|
+
"aria-label": t("sheet.close"),
|
|
5007
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react7.X, { size: 16 })
|
|
5008
|
+
}
|
|
5009
|
+
) })
|
|
5010
|
+
] })
|
|
5011
|
+
] }),
|
|
5012
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "p-4", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
5013
|
+
Button,
|
|
5014
|
+
{
|
|
5015
|
+
onClick: handleNewThread,
|
|
5016
|
+
className: "w-full justify-start gap-2",
|
|
5017
|
+
variant: "secondary",
|
|
5018
|
+
children: [
|
|
5019
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react7.PlusCircle, { size: 16 }),
|
|
5020
|
+
t("history.newThread")
|
|
5021
|
+
]
|
|
5022
|
+
}
|
|
5023
|
+
) }),
|
|
5024
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ScrollArea, { className: "h-[calc(100vh-140px)]", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "px-4 pb-4", children: threads.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "py-8 text-center text-sm text-muted-foreground", children: t("history.empty") }) : /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { children: threads.map((thread) => {
|
|
5025
|
+
const updatedAt = thread.lastMessageAt ? formatThreadUpdatedAt(
|
|
5026
|
+
thread.lastMessageAt,
|
|
5027
|
+
threadTimeFormatters
|
|
5028
|
+
) : null;
|
|
5029
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
5030
|
+
"div",
|
|
4949
5031
|
{
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
5032
|
+
"data-active": currentThreadId === thread.id,
|
|
5033
|
+
className: cn(
|
|
5034
|
+
"group flex items-center gap-2 rounded-lg px-3 py-2 text-sm transition-colors",
|
|
5035
|
+
"cursor-pointer hover:bg-accent hover:text-accent-foreground",
|
|
5036
|
+
"data-[active=true]:bg-accent data-[active=true]:text-accent-foreground"
|
|
5037
|
+
),
|
|
5038
|
+
onClick: () => handleSelectThread(thread.id),
|
|
5039
|
+
children: [
|
|
5040
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "shrink-0 text-muted-foreground transition-colors group-hover:text-accent-foreground group-data-[active=true]:text-accent-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react7.MessageSquare, { size: 16 }) }),
|
|
5041
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "min-w-0 flex-1 truncate", children: thread.title }),
|
|
5042
|
+
updatedAt && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
5043
|
+
"time",
|
|
5044
|
+
{
|
|
5045
|
+
dateTime: thread.lastMessageAt?.toISOString(),
|
|
5046
|
+
title: updatedAt.full,
|
|
5047
|
+
"aria-label": t("history.updatedAt", {
|
|
5048
|
+
time: updatedAt.full
|
|
5049
|
+
}),
|
|
5050
|
+
className: "hidden shrink-0 whitespace-nowrap text-xs text-muted-foreground transition-colors group-hover:inline group-hover:text-accent-foreground group-focus-within:inline group-data-[active=true]:text-accent-foreground",
|
|
5051
|
+
children: updatedAt.compact
|
|
5052
|
+
}
|
|
5053
|
+
),
|
|
5054
|
+
showDelete && onDeleteThread && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
5055
|
+
"button",
|
|
5056
|
+
{
|
|
5057
|
+
type: "button",
|
|
5058
|
+
onClick: (e) => {
|
|
5059
|
+
e.stopPropagation();
|
|
5060
|
+
onDeleteThread(thread.id);
|
|
5061
|
+
},
|
|
5062
|
+
className: "shrink-0 rounded p-1 opacity-0 transition-all hover:bg-destructive/10 hover:text-destructive group-hover:opacity-100 group-focus-within:opacity-100",
|
|
5063
|
+
"aria-label": t("history.deleteThread", {
|
|
5064
|
+
title: thread.title
|
|
5065
|
+
}),
|
|
5066
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react7.Trash2, { size: 14 })
|
|
5067
|
+
}
|
|
5068
|
+
)
|
|
5069
|
+
]
|
|
5070
|
+
},
|
|
5071
|
+
thread.id
|
|
5072
|
+
);
|
|
5073
|
+
}) }) }) })
|
|
5074
|
+
]
|
|
5075
|
+
}
|
|
5076
|
+
)
|
|
4964
5077
|
] });
|
|
4965
5078
|
}
|
|
4966
5079
|
|
|
@@ -19773,8 +19886,10 @@ function Chat({
|
|
|
19773
19886
|
threads,
|
|
19774
19887
|
currentThreadId: stream.threadId ?? void 0,
|
|
19775
19888
|
onNewThread: handleNewThread,
|
|
19889
|
+
onRefresh: refreshThreads,
|
|
19776
19890
|
onSelectThread: handleSelectThread,
|
|
19777
19891
|
onDeleteThread: handleDeleteThread,
|
|
19892
|
+
isRefreshing: isThreadsLoading,
|
|
19778
19893
|
showDelete: history?.showDelete !== false,
|
|
19779
19894
|
disabled: missingConfig || isThreadsLoading || isHistoryLoading
|
|
19780
19895
|
}
|