@acedatacloud/nexior 3.5.1 → 3.6.0
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/assets/{Auth.a90cc399.js → Auth.7e6f4111.js} +1 -1
- package/dist/assets/{Callback.a82acc75.js → Callback.cb45a84d.js} +1 -1
- package/dist/assets/{Console.83a7d90a.js → Console.e3aac631.js} +1 -1
- package/dist/assets/Conversation.66d77b99.css +1 -0
- package/dist/assets/Conversation.7c9f3730.js +1 -0
- package/dist/assets/{CopyToClipboard.dcbf7182.js → CopyToClipboard.3752e201.js} +1 -1
- package/dist/assets/{Detail.24cd6940.js → Detail.3f01ee17.js} +1 -1
- package/dist/assets/EditArray.5391fc09.js +1 -0
- package/dist/assets/Extra.5477a502.js +1 -0
- package/dist/assets/{History.d91b1f04.js → History.d047803b.js} +1 -1
- package/dist/assets/{ImagePreview.025cfc09.js → ImagePreview.65bc0654.js} +1 -1
- package/dist/assets/Index.17dc01b1.js +1 -0
- package/dist/assets/{Index.77acf7ce.js → Index.2e3d5c82.js} +1 -1
- package/dist/assets/Index.33f3dfb6.js +1 -0
- package/dist/assets/Index.4529fd48.js +1 -0
- package/dist/assets/{Index.5a7e5cc0.js → Index.50ba380b.js} +2 -2
- package/dist/assets/Index.5e76681e.js +1 -0
- package/dist/assets/Index.6e057f69.js +1 -0
- package/dist/assets/Index.8675ada1.js +1 -0
- package/dist/assets/Index.bb85723a.js +1 -0
- package/dist/assets/Index.c0e93ce4.js +1 -0
- package/dist/assets/{Index.7dada60b.js → Index.ea29dd1e.js} +1 -1
- package/dist/assets/Index.f0f74bae.js +1 -0
- package/dist/assets/{InfoIcon.b6bd8d58.js → InfoIcon.b3285074.js} +1 -1
- package/dist/assets/{Invitees.9fba250b.js → Invitees.554ecb8a.js} +1 -1
- package/dist/assets/{List.011b2c71.js → List.72564a10.js} +1 -1
- package/dist/assets/{List.67c11343.js → List.cadae838.js} +1 -1
- package/dist/assets/{List.69d56b67.js → List.edcf37b7.js} +1 -1
- package/dist/assets/{Login.4c26f374.js → Login.cb819cb0.js} +1 -1
- package/dist/assets/Main.d6712532.js +1 -0
- package/dist/assets/Navigator.fb908eb8.js +1 -0
- package/dist/assets/{Pagination.3c242094.js → Pagination.87c48fec.js} +1 -1
- package/dist/assets/Status.5419f090.js +1 -0
- package/dist/assets/Subscribe.d0a01233.js +1 -0
- package/dist/assets/{common.5be6d835.js → common.fd9e9fef.js} +1 -1
- package/dist/assets/{distribution.fd10b951.js → distribution.fade0158.js} +1 -1
- package/dist/assets/index.bb8f1411.js +2 -0
- package/dist/assets/{order.f1773d29.js → order.ac0ff18c.js} +1 -1
- package/dist/assets/{price.cb59d1b0.js → price.68957c74.js} +1 -1
- package/dist/assets/{vendor-@vue.6c0309d3.js → vendor-@vue.38e80b4c.js} +1 -1
- package/dist/assets/{vendor-element-plus.1fa87efb.js → vendor-element-plus.0d60bec3.js} +5 -5
- package/dist/assets/{vendor-fortawesome.2b54ad1b.js → vendor-fortawesome.20479da6.js} +1 -1
- package/dist/assets/{vendor-markdown.cf3e96ae.js → vendor-markdown.b359a0a8.js} +1 -1
- package/dist/assets/{vendor-others.cdfefb59.js → vendor-others.4ac6d265.js} +1 -1
- package/dist/assets/{vendor-qrcode.6ab44f81.js → vendor-qrcode.60b22bc6.js} +1 -1
- package/dist/index.html +23 -23
- package/package.json +1 -1
- package/dist/assets/Chatdoc.5263125f.js +0 -1
- package/dist/assets/Chatdoc.b833a665.css +0 -1
- package/dist/assets/Conversation.33a8676d.js +0 -1
- package/dist/assets/Conversation.65fed89e.css +0 -1
- package/dist/assets/Conversation.c2ebf796.css +0 -1
- package/dist/assets/Conversation.fc58efa8.js +0 -1
- package/dist/assets/EditArray.fc90290f.js +0 -1
- package/dist/assets/Extra.d9e8ad3d.js +0 -1
- package/dist/assets/Index.19d318b4.js +0 -1
- package/dist/assets/Index.3d4c7011.js +0 -1
- package/dist/assets/Index.40702b91.js +0 -1
- package/dist/assets/Index.49dc3c46.js +0 -1
- package/dist/assets/Index.503e0f7b.js +0 -1
- package/dist/assets/Index.646d79c3.js +0 -1
- package/dist/assets/Index.6edc0543.js +0 -1
- package/dist/assets/Index.76db79a3.js +0 -1
- package/dist/assets/Index.877f522f.css +0 -1
- package/dist/assets/Index.9edce037.js +0 -1
- package/dist/assets/Index.f10f48b2.js +0 -1
- package/dist/assets/Main.421f61bd.js +0 -1
- package/dist/assets/Manage.07d2ae70.css +0 -1
- package/dist/assets/Manage.f12c92bd.js +0 -1
- package/dist/assets/MarkdownRenderer.3fb8276a.js +0 -1
- package/dist/assets/MarkdownRenderer.f404d95c.css +0 -1
- package/dist/assets/Navigator.3204ea1d.js +0 -1
- package/dist/assets/Setting.6cf3ec08.js +0 -1
- package/dist/assets/Status.ce9bc4cb.js +0 -1
- package/dist/assets/Subscribe.8bf14b5c.js +0 -1
- package/dist/assets/chatdoc.26e34f62.js +0 -1
- package/dist/assets/chatdoc.369240c0.js +0 -1
- package/dist/assets/chatdoc.38093bef.js +0 -1
- package/dist/assets/chatdoc.4963b715.js +0 -1
- package/dist/assets/chatdoc.5968870d.js +0 -1
- package/dist/assets/chatdoc.6e05604b.js +0 -1
- package/dist/assets/chatdoc.6f26a6c3.js +0 -1
- package/dist/assets/chatdoc.82bb469d.js +0 -1
- package/dist/assets/chatdoc.8b1244bd.js +0 -1
- package/dist/assets/chatdoc.a330c226.js +0 -1
- package/dist/assets/chatdoc.a7a590fd.js +0 -1
- package/dist/assets/chatdoc.be4f6cf9.js +0 -1
- package/dist/assets/chatdoc.c9102d6b.js +0 -1
- package/dist/assets/chatdoc.c99b8fc5.js +0 -1
- package/dist/assets/chatdoc.cb5d28e1.js +0 -1
- package/dist/assets/chatdoc.d6fa331d.js +0 -1
- package/dist/assets/chatdoc.e6a3302d.js +0 -1
- package/dist/assets/chatdoc.eb31a140.js +0 -1
- package/dist/assets/index.97386539.js +0 -3
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{an as ne}from"./vendor-others.cdfefb59.js";import{ar as j}from"./vendor-fortawesome.2b54ad1b.js";import{_ as S,aT as le,A as ie,K as O,F as re,M as ce,aU as ue,Z as pe}from"./index.97386539.js";import{T as de,u as L,N as me,O as _e,x as he,y as I,t as fe,m as ge,I as $e,s as ve,H as ye,R as ke}from"./vendor-element-plus.1fa87efb.js";import{H as V,al as a,o as i,e as _,f as r,I as M,V as s,M as h,T as u,U as N,ai as G,L as E,S as y,R as k,P as D}from"./vendor-@vue.6c0309d3.js";import{I as ae}from"./InfoIcon.b6bd8d58.js";import{I as we}from"./ImagePreview.025cfc09.js";import{C as be}from"./CopyToClipboard.dcbf7182.js";import"./vendor-markdown.cf3e96ae.js";import"./vendor-axios.168e6950.js";import"./vendor-qrcode.6ab44f81.js";const Ie=V({name:"LayoutHailuo",components:{ElDrawer:de,ElButton:L,FontAwesomeIcon:j},data(){return{drawer:!1}}}),Se={class:"main"},Ve={class:"config"},Pe={class:"result"};function Te(e,t,o,l,f,g){const p=a("font-awesome-icon"),m=a("el-button"),c=a("el-drawer");return i(),_("div",Se,[r("div",Ve,[M(e.$slots,"config",{},void 0,!0)]),r("div",Pe,[M(e.$slots,"result",{},void 0,!0)]),s(m,{round:"",class:"menu",onClick:t[0]||(t[0]=$=>e.drawer=!0)},{default:h(()=>[s(p,{icon:"fa-solid fa-gear",class:"icon-menu"})]),_:1}),s(c,{modelValue:e.drawer,"onUpdate:modelValue":t[1]||(t[1]=$=>e.drawer=$),"with-header":!1,size:"340px",class:"drawer"},{default:h(()=>[M(e.$slots,"config",{},void 0,!0)]),_:3},8,["modelValue"])])}var Ee=S(Ie,[["render",Te],["__scopeId","data-v-3c8363f5"],["__file","/home/runner/work/Nexior/Nexior/src/layouts/Hailuo.vue"]]);const Ce=V({name:"ModelSelector",components:{ElSelect:me,ElOption:_e},data(){return{}},computed:{options(){return[{value:"minimax-t2v",label:this.$t("hailuo.button.model1")},{value:"minimax-i2v",label:this.$t("hailuo.button.model2")}]},value:{get(){var e,t;return(t=(e=this.$store.state.hailuo)==null?void 0:e.config)==null?void 0:t.model},set(e){var t;this.$store.commit("hailuo/setConfig",{...(t=this.$store.state.hailuo)==null?void 0:t.config,model:e})}}},mounted(){this.value||(this.value=le)}}),Ue={class:"field"},Ae={class:"title font-bold"},Re={class:"float-left"};function Ne(e,t,o,l,f,g){const p=a("el-option"),m=a("el-select");return i(),_("div",Ue,[r("h2",Ae,u(e.$t("hailuo.name.model")),1),s(m,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=c=>e.value=c),class:"value",placeholder:e.$t("hailuo.placeholder.select"),clearable:""},{default:h(()=>[(i(!0),_(N,null,G(e.options,c=>(i(),E(p,{key:c.value,label:c.label,value:c.value},{default:h(()=>[r("span",Re,u(c.label),1)]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])])}var Ge=S(Ce,[["render",Ne],["__scopeId","data-v-62190314"],["__file","/home/runner/work/Nexior/Nexior/src/components/hailuo/config/ModelSelector.vue"]]);const Le=V({name:"StartImageUrlInput",components:{ElUpload:he,ElButton:L,InfoIcon:ae,ImagePreview:we},data(){return{fileList:[],uploadUrl:ie()+"/api/v1/files/"}},computed:{headers(){return{Authorization:`Bearer ${this.$store.state.token.access}`}},urls(){return this.fileList.map(e=>{var t;return(t=e==null?void 0:e.response)==null?void 0:t.file_url})},value:{get(){var e,t;return(t=(e=this.$store.state.hailuo)==null?void 0:e.config)==null?void 0:t.first_image_url},set(){var t,o;const e=(t=this.urls)==null?void 0:t[0];this.$store.commit("hailuo/setConfig",{...(o=this.$store.state.hailuo)==null?void 0:o.config,first_image_url:e})}}},mounted(){this.value||(this.value=void 0),this.onSetStartImageUrl()},methods:{onExceed(){I.warning(this.$t("hailuo.message.uploadStartImageExceed"))},onError(){I.error(this.$t("hailuo.message.uploadStartImageError"))},async onRemove(){I.error(this.$t("hailuo.message.uploadStartImageError"))},onSetStartImageUrl(){var t,o;const e=(t=this.urls)==null?void 0:t[0];this.$store.commit("hailuo/setConfig",{...(o=this.$store.state.hailuo)==null?void 0:o.config,first_image_url:e})},async onSuccess(){this.onSetStartImageUrl()}}}),De={class:"relative"},Oe={class:"flex justify-between"},Me={class:"flex justify-start items-center"},je={class:"text-sm font-bold"};function qe(e,t,o,l,f,g){const p=a("info-icon"),m=a("image-preview"),c=a("el-button"),$=a("el-upload");return i(),_("div",De,[r("div",Oe,[r("div",Me,[r("span",je,u(e.$t("hailuo.name.startImageUrl")),1),s(p,{content:e.$t("hailuo.description.startImageUrl"),class:"info"},null,8,["content"])])]),s($,{"file-list":e.fileList,"onUpdate:fileList":t[0]||(t[0]=d=>e.fileList=d),accept:".png,.jpg,.jpeg,.gif,.bmp,.webp",name:"file",class:"upload-wrapper","show-file-list":!0,limit:1,multiple:!1,"list-type":"picture",action:e.uploadUrl,"on-exceed":e.onExceed,"on-error":e.onError,"on-remove":e.onRemove,"on-success":e.onSuccess,headers:e.headers},{file:h(({file:d})=>{var v;return[s(m,{url:d.url||((v=d.response)==null?void 0:v.file_url),name:d.name,percentage:d.percentage,onRemove:w=>e.fileList.splice(e.fileList.indexOf(d),1)},null,8,["url","name","percentage","onRemove"])]}),default:h(()=>[s(c,{size:"small",type:"primary",class:"btn btn-upload",round:""},{default:h(()=>[y(u(e.$t("hailuo.button.uploadStartImageUrl")),1)]),_:1})]),_:1},8,["file-list","action","on-exceed","on-error","on-remove","on-success","headers"])])}var He=S(Le,[["render",qe],["__scopeId","data-v-6c6b80d0"],["__file","/home/runner/work/Nexior/Nexior/src/components/hailuo/config/StartImageUrlInput.vue"]]);const Be="",ze=V({name:"PromptInput",components:{ElInput:fe,InfoIcon:ae},computed:{prompt:{get(){var e,t;return(t=(e=this.$store.state.hailuo)==null?void 0:e.config)==null?void 0:t.prompt},set(e){var t;console.debug("set prompt",e),this.$store.commit("hailuo/setConfig",{...(t=this.$store.state.hailuo)==null?void 0:t.config,prompt:e})}}},mounted(){this.value||(this.value=Be)}}),Fe={class:"field"},Ke={class:"box"},Ze={class:"title font-bold"};function Je(e,t,o,l,f,g){const p=a("info-icon"),m=a("el-input");return i(),_("div",Fe,[r("div",Ke,[r("h2",Ze,u(e.$t("hailuo.name.prompt")),1),s(p,{content:e.$t("hailuo.description.prompt"),class:"info"},null,8,["content"])]),s(m,{modelValue:e.prompt,"onUpdate:modelValue":t[0]||(t[0]=c=>e.prompt=c),rows:3,type:"textarea",class:"prompt",placeholder:e.$t("hailuo.placeholder.prompt"),maxlength:300,"show-word-limit":""},null,8,["modelValue","placeholder"])])}var Qe=S(ze,[["render",Je],["__scopeId","data-v-d785889c"],["__file","/home/runner/work/Nexior/Nexior/src/components/hailuo/config/PromptInput.vue"]]);const We=V({name:"PresetPanel",components:{ElButton:L,FontAwesomeIcon:j,PromptInput:Qe,StartImageUrlInput:He,ModelSelector:Ge},emits:["generate"],computed:{config(){var e;return(e=this.$store.state.hailuo)==null?void 0:e.config}},methods:{onGenerate(){this.$emit("generate")}}}),Xe={class:"panel"},Ye={class:"config"},xe={class:"actions"};function et(e,t,o,l,f,g){var v,w,n;const p=a("prompt-input"),m=a("model-selector"),c=a("start-image-url-input"),$=a("font-awesome-icon"),d=a("el-button");return i(),_("div",Xe,[r("div",Ye,[s(p,{class:"mb-4"}),s(m,{class:"mb-4"}),((v=e.config)==null?void 0:v.model)==="minimax-i2v"?(i(),E(c,{key:0,class:"mb-4"})):k("v-if",!0),r("div",xe,[((w=e.config)==null?void 0:w.video_url)!==void 0||((n=e.config)==null?void 0:n.custom)?(i(),E(d,{key:0,type:"primary",class:"btn w-full",round:"",onClick:e.onGenerate},{default:h(()=>[s($,{icon:"fa-solid fa-magic",class:"mr-2"}),y(" "+u(e.$t("hailuo.button.extend")),1)]),_:1},8,["onClick"])):(i(),E(d,{key:1,type:"primary",class:"btn w-full",round:"",onClick:e.onGenerate},{default:h(()=>[s($,{icon:"fa-solid fa-magic",class:"mr-2"}),y(" "+u(e.$t("hailuo.button.generate")),1)]),_:1},8,["onClick"]))])])])}var tt=S(We,[["render",et],["__scopeId","data-v-01eef439"],["__file","/home/runner/work/Nexior/Nexior/src/components/hailuo/ConfigPanel.vue"]]);const ot=V({name:"VideoPlayer",components:{VuePlyr:ne},props:{modelValue:{type:Object,required:!0}},data(){return{options:{quality:{default:"1080p"}}}}}),st=["data-poster"],at=["src"];function nt(e,t,o,l,f,g){const p=a("vue-plyr");return i(),_("div",null,[s(p,{options:e.options,class:"video"},{default:h(()=>{var m,c;return[r("video",{controls:"",crossorigin:"",playsinline:"","data-poster":(m=e.modelValue)==null?void 0:m.image_url},[r("source",{size:"1080",src:(c=e.modelValue)==null?void 0:c.video_url,type:"video/mp4"},null,8,at)],8,st)]}),_:1},8,["options"])])}var lt=S(ot,[["render",nt],["__scopeId","data-v-11ad7a93"],["__file","/home/runner/work/Nexior/Nexior/src/components/hailuo/VideoPlayer.vue"]]);const it=V({name:"TaskPreview",components:{ElImage:ge,CopyToClipboard:be,FontAwesomeIcon:j,ElAlert:$e,VideoPlayer:lt,ElTooltip:ve,ElButton:L},props:{modelValue:{type:Object,required:!0}},data(){return{}},computed:{application(){var e;return(e=this.$store.state.hailuo)==null?void 0:e.application},config(){var e;return(e=this.$store.state.hailuo)==null?void 0:e.config},videos(){var o,l,f,g,p,m,c;let e=[];const t=(l=(o=this.modelValue)==null?void 0:o.request)==null?void 0:l.action;return Array.isArray((g=(f=this.modelValue)==null?void 0:f.response)==null?void 0:g.data)&&((c=(m=(p=this.modelValue)==null?void 0:p.response)==null?void 0:m.data)==null||c.forEach($=>{let d=$;t&&(d.action=t),e.push(d)})),e}},methods:{onExtend(e,t){var o;e.stopPropagation(),console.debug("set config",t),this.$store.commit("hailuo/setConfig",{...(o=this.$store.state.hailuo)==null?void 0:o.config,video_id:t.video_id,prompt:t.prompt,action:"extend",thumbnail_url:t.thumbnail_url,video_url:t.video_url})},onDownload(e,t){e.stopPropagation(),console.log("on download"),window.open(t,"_blank")},onReload(e){const t=e.target,o=new URL(t.src),l=o.searchParams.get("retry");if(!l)o.searchParams.set("retry","1");else if(parseInt(l)<2)o.searchParams.set("retry",(parseInt(l)+1).toString());else return;t.src=o.toString()},onOpenVideo(e){window.open(e,"_blank")}}}),rt={class:"left"},ct={class:"main"},ut={class:"bot"},pt={class:"datetime"},dt={class:"info"},mt={key:0,class:"prompt mt-2"},_t={key:0},ht={key:1},ft={key:0,class:D({content:!0,failed:!0})},gt={class:"image-wrapper"},$t={key:0,class:D({operations:!0,"mt-2":!0})},vt={class:"description"},yt={key:1,class:D({content:!0})},kt={class:"description"},wt={class:"description"},bt={class:"description"},It={key:2,class:D({content:!0})},St={class:"description"};function Vt(e,t,o,l,f,g){const p=a("el-image"),m=a("VideoPlayer"),c=a("el-button"),$=a("el-tooltip"),d=a("font-awesome-icon"),v=a("copy-to-clipboard"),w=a("el-alert");return i(!0),_(N,null,G(e.videos,(n,A)=>{var C,U,P,R,q,H,B,z,F,K,Z;return i(),_("div",{key:A,class:"preview"},[r("div",rt,[s(p,{src:"https://cdn.acedata.cloud/0qg4gp.png",class:"avatar"})]),r("div",ct,[r("div",ut,[y(u(e.$t("hailuo.name.hailuoBot"))+" ",1),r("span",pt,u(e.$dayjs.format(""+new Date(parseFloat(((C=e.modelValue)==null?void 0:C.created_at)||"")*1e3))),1)]),r("div",dt,[(P=(U=e.modelValue)==null?void 0:U.request)!=null&&P.prompt?(i(),_("p",mt,[y(u((q=(R=e.modelValue)==null?void 0:R.request)==null?void 0:q.prompt)+" ",1),(H=e.modelValue)!=null&&H.response?k("v-if",!0):(i(),_("span",_t," - ("+u(e.$t("hailuo.status.pending"))+") ",1)),(n==null?void 0:n.state)==="processing"||(n==null?void 0:n.state)==="pending"||(n==null?void 0:n.state)==="running"?(i(),_("span",ht," - ("+u(e.$t("hailuo.status.processing"))+") ",1)):k("v-if",!0)])):k("v-if",!0)]),k(" Display success message "),((z=(B=e.modelValue)==null?void 0:B.response)==null?void 0:z.success)===!0?(i(),_("div",ft,[r("div",gt,[s(m,{"model-value":n},null,8,["model-value"])]),n?(i(),_("div",$t,[s($,{class:"box-item",effect:"dark",content:e.$t("hailuo.message.downloadVideo"),placement:"top-start"},{default:h(()=>[s(c,{type:"info",size:"small",class:"btn-action",onClick:b=>e.onDownload(b,n==null?void 0:n.video_url)},{default:h(()=>[y(u(e.$t("hailuo.button.download")),1)]),_:2},1032,["onClick"])]),_:2},1032,["content"])])):k("v-if",!0),s(w,{closable:!1,class:"mt-2 success"},{default:h(()=>{var b,T;return[r("p",vt,[s(d,{icon:"fa-solid fa-magic",class:"mr-1"}),y(" "+u(e.$t("hailuo.name.taskId"))+": "+u((b=e.modelValue)==null?void 0:b.id)+" ",1),s(v,{content:(T=e.modelValue)==null?void 0:T.id,class:"btn-copy"},null,8,["content"])])]}),_:1})])):k("v-if",!0),k(" Display error message "),((K=(F=e.modelValue)==null?void 0:F.response)==null?void 0:K.success)===!1?(i(),_("div",yt,[s(w,{closable:!1,class:"failure"},{template:h(()=>[s(d,{icon:"fa-solid fa-exclamation-triangle",class:"mr-1"}),y(" "+u(e.$t("hailuo.name.failure")),1)]),default:h(()=>{var b,T,J,Q,W,X,Y,x,ee,te,oe,se;return[r("p",kt,[s(d,{icon:"fa-solid fa-magic",class:"mr-1"}),y(" "+u(e.$t("hailuo.name.taskId"))+": "+u((b=e.modelValue)==null?void 0:b.id)+" ",1),s(v,{content:(T=e.modelValue)==null?void 0:T.id,class:"btn-copy"},null,8,["content"])]),r("p",wt,[s(d,{icon:"fa-solid fa-circle-info",class:"mr-1"}),y(" "+u(e.$t("hailuo.name.failureReason"))+": "+u((W=(Q=(J=e.modelValue)==null?void 0:J.response)==null?void 0:Q.error)==null?void 0:W.message)+" ",1),s(v,{content:(x=(Y=(X=e.modelValue)==null?void 0:X.response)==null?void 0:Y.error)==null?void 0:x.message,class:"btn-copy"},null,8,["content"])]),r("p",bt,[s(d,{icon:"fa-solid fa-hashtag",class:"mr-1"}),y(" "+u(e.$t("hailuo.name.traceId"))+": "+u((te=(ee=e.modelValue)==null?void 0:ee.response)==null?void 0:te.trace_id)+" ",1),s(v,{content:(se=(oe=e.modelValue)==null?void 0:oe.response)==null?void 0:se.trace_id,class:"btn-copy"},null,8,["content"])])]}),_:1})])):k("v-if",!0),k(" Display error message "),!((Z=e.modelValue)!=null&&Z.response)||(n==null?void 0:n.state)==="processing"||(n==null?void 0:n.state)==="pending"||(n==null?void 0:n.state)==="running"?(i(),_("div",It,[s(w,{closable:!1,class:"info"},{template:h(()=>[s(d,{icon:"fa-solid fa-exclamation-triangle",class:"mr-1"}),y(" "+u(e.$t("hailuo.name.failure")),1)]),default:h(()=>{var b,T;return[r("p",St,[s(d,{icon:"fa-solid fa-magic",class:"mr-1"}),y(" "+u(e.$t("hailuo.name.taskId"))+": "+u((b=e.modelValue)==null?void 0:b.id)+" ",1),s(v,{content:(T=e.modelValue)==null?void 0:T.id,class:"btn-copy"},null,8,["content"])])]}),_:1})])):k("v-if",!0)])])}),128)}var Pt=S(it,[["render",Vt],["__scopeId","data-v-3f5aedb7"],["__file","/home/runner/work/Nexior/Nexior/src/components/hailuo/task/Preview.vue"]]);const Tt=V({name:"RecentPanel",components:{TaskPreview:Pt,ElSkeleton:ye,ElSkeletonItem:ke},emits:["reach-top"],data(){return{job:0}},computed:{tasks(){var e,t,o,l;return{...(e=this.$store.state.hailuo)==null?void 0:e.tasks,items:(l=(o=(t=this.$store.state.hailuo)==null?void 0:t.tasks)==null?void 0:o.items)==null?void 0:l.slice()}}},methods:{onHandleScroll(){const e=this.$refs.panel;console.log("reach-top reach-top reach-top"),e.scrollTop===0&&this.$emit("reach-top")}}}),Et={key:0,class:"tasks"},Ct={class:"left"},Ut={class:"main"},At={key:1,class:"tasks"},Rt={key:2,class:"description"};function Nt(e,t,o,l,f,g){var $,d,v,w,n,A,C,U;const p=a("el-skeleton-item"),m=a("el-skeleton"),c=a("task-preview");return i(),_("div",{ref:"panel",class:"panel recent",onScroll:t[0]||(t[0]=(...P)=>e.onHandleScroll&&e.onHandleScroll(...P))},[(($=e.tasks)==null?void 0:$.items)===void 0?(i(),_("div",Et,[(i(),_(N,null,G(3,P=>r("div",{key:P,class:"task placeholder"},[r("div",Ct,[s(m,{animated:""},{template:h(()=>[s(p,{variant:"image",class:"avatar"})]),_:1})]),r("div",Ut,[s(m,{animated:""},{template:h(()=>[s(p,{variant:"p",class:"title"}),s(p,{variant:"image",class:"icon"})]),_:1})])])),64))])):((v=(d=e.tasks)==null?void 0:d.items)==null?void 0:v.length)&&((n=(w=e.tasks)==null?void 0:w.items)==null?void 0:n.length)>0?(i(),_("div",At,[(i(!0),_(N,null,G((A=e.tasks)==null?void 0:A.items,(P,R)=>(i(),E(c,{key:R,"model-value":P,class:"preview"},null,8,["model-value"]))),128))])):k("v-if",!0),((U=(C=e.tasks)==null?void 0:C.items)==null?void 0:U.length)===0?(i(),_("p",Rt,u(e.$t("hailuo.message.noTasks")),1)):k("v-if",!0)],544)}var Gt=S(Tt,[["render",Nt],["__scopeId","data-v-7bff9d40"],["__file","/home/runner/work/Nexior/Nexior/src/components/hailuo/RecentPanel.vue"]]);const Lt="https://webhook.acedata.cloud/hailuo",Dt=V({name:"HailuoIndex",components:{ConfigPanel:tt,Layout:Ee,RecentPanel:Gt},data(){return{task:void 0,job:0,timer:void 0}},computed:{loading(){var e,t;return((t=(e=this.$store.state.hailuo)==null?void 0:e.status)==null?void 0:t.getApplications)===O.Request},service(){return this.$store.state.hailuo.service},credential(){return this.$store.state.hailuo.credential},config(){return this.$store.state.hailuo.config},initializing(){return this.$store.state.hailuo.status.getApplications===O.Request},needApply(){return this.$store.state.hailuo.status.getApplications===O.Success&&!this.application},application(){return this.$store.state.hailuo.application},applications(){return this.$store.state.hailuo.applications},tasks(){return this.$store.state.hailuo.tasks}},watch:{tasks:{handler(e,t){var o,l;((o=e==null?void 0:e.items)==null?void 0:o.length)>((l=t==null?void 0:t.items)==null?void 0:l.length)&&console.debug("new tasks detected")},deep:!0}},async mounted(){await this.onGetService(),await this.onGetApplication(),await this.onScrollDown(),await this.onGetTasks(),await this.onScrollDown(),this.job=setInterval(()=>{this.onGetTasks()},5e3)},async unmounted(){clearInterval(this.job),clearInterval(this.timer)},methods:{async onReachTop(){var e,t,o;console.debug("reached top"),await this.onGetTasks({createdAtMax:(o=(t=(e=this.tasks)==null?void 0:e.items)==null?void 0:t[0])==null?void 0:o.created_at})},async onGetService(){console.debug("start onGetService"),await this.$store.dispatch("hailuo/getService"),console.debug("end onGetService")},async onGetApplication(){console.debug("start onGetApplication"),await this.$store.dispatch("hailuo/getApplications"),console.debug("end onGetApplication"),await this.onGetTasks()},onApply(){re.create({application:this.application}).then(({data:e})=>{this.application=e,I.success(this.$t("application.message.applySuccessfully"))}).catch(e=>{var t,o;((o=(t=e==null?void 0:e.response)==null?void 0:t.data)==null?void 0:o.code)===ce&&I.error(this.$t("application.message.alreadyApplied"))})},async onScrollDown(){setTimeout(()=>{const e=document.querySelector(".recent");e&&(e.scrollTop=e.scrollHeight)},500)},async onGetTasks(e){if(this.loading){console.debug("loading");return}console.debug("start onGetTasks",e);const{limit:t=5,createdAtMin:o,createdAtMax:l}=e||{};console.debug("limit",t,"createdAtMin",o,"createdAtMax",l),await this.$store.dispatch("hailuo/getTasks",{limit:t,createdAtMin:o,createdAtMax:l})},async onGenerate(){var o;const e={...this.config,callback_url:Lt},t=(o=this.credential)==null?void 0:o.token;if(!t){console.error("no token specified");return}I.info(this.$t("hailuo.message.startingTask")),ue.generate(e,{token:t}).then(()=>{I.success(this.$t("hailuo.message.startTaskSuccess")),this.$store.commit("hailuo/setConfig",{config:void 0})}).catch(l=>{var g,p;const f=(g=l==null?void 0:l.response)==null?void 0:g.data;((p=f==null?void 0:f.error)==null?void 0:p.code)===pe?I.error(this.$t("hailuo.message.usedUp")):I.error(this.$t("hailuo.message.startTaskFailed"))}).finally(async()=>{setTimeout(async()=>{await this.onGetTasks(),await this.onScrollDown()},1e3)})}}});function Ot(e,t,o,l,f,g){const p=a("config-panel"),m=a("recent-panel"),c=a("layout");return i(),E(c,null,{config:h(()=>[s(p,{onGenerate:e.onGenerate},null,8,["onGenerate"])]),result:h(()=>[s(m,{class:"panel recent",onReachTop:e.onReachTop},null,8,["onReachTop"])]),_:1})}var Wt=S(Dt,[["render",Ot],["__scopeId","data-v-1f8aa246"],["__file","/home/runner/work/Nexior/Nexior/src/pages/hailuo/Index.vue"]]);export{Wt as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.btn.btn-create[data-v-41eec665]{text-align:center;cursor:pointer;border:none;width:50px;height:50px;border-radius:50%;margin-top:5px;background-color:var(--el-bg-color-page);margin-bottom:0}.el-button[data-v-41eec665]{border-radius:20px}.wrapper[data-v-52a67922]{width:100%;height:100%;padding:20px;background-color:var(--el-bg-color-page);display:flex;flex-direction:column}.title[data-v-52a67922]{font-size:20px;font-weight:700;margin-bottom:20px;color:var(--el-text-color-primary)}.introduction[data-v-52a67922]{margin-bottom:20px;font-size:14px;color:var(--el-text-color-regular)}.status[data-v-52a67922]{margin-bottom:10px;width:-moz-fit-content;width:fit-content}.repositories[data-v-52a67922]{flex:1;overflow-y:scroll}.repositories .repository[data-v-52a67922]{width:100%;height:150px;margin-bottom:20px;cursor:pointer;position:relative}.repositories .repository .el-dropdown[data-v-52a67922]{position:absolute;right:20px;top:20px}.repositories .repository .operation[data-v-52a67922],.repositories .repository .name[data-v-52a67922]{font-size:16px;font-weight:700;margin-bottom:10px}.repositories .repository .id[data-v-52a67922],.repositories .repository .description[data-v-52a67922]{font-size:12px;color:var(--el-text-color-regular)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./vendor-others.cdfefb59.js";import{ar as j}from"./vendor-fortawesome.2b54ad1b.js";import{_ as w,A as ne,K as L,F as ie,M as le,aV as re,Z as ce}from"./index.97386539.js";import{T as de,u as O,x as pe,y as T,M as me,L as ue,W as he,X as _e,m as oe,I as ge,H as fe,R as ve}from"./vendor-element-plus.1fa87efb.js";import{H as I,al as r,o,e as c,f as p,I as M,V as t,M as u,T as l,S as $,U as A,ai as E,L as D,R as g,P as U,m as $e}from"./vendor-@vue.6c0309d3.js";import{I as ye}from"./InfoIcon.b6bd8d58.js";import{A as be}from"./Status.ce9bc4cb.js";import{C as ke}from"./CopyToClipboard.dcbf7182.js";import"./vendor-markdown.cf3e96ae.js";import"./vendor-axios.168e6950.js";import"./vendor-qrcode.6ab44f81.js";const we=I({name:"LayoutHeadshots",components:{ElDrawer:de,ElButton:O,FontAwesomeIcon:j},data(){return{drawer:!1}}}),Ie={class:"main"},Se={class:"config"},Te={class:"result"};function Ve(e,s,a,n,_,f){const d=r("font-awesome-icon"),h=r("el-button"),i=r("el-drawer");return o(),c("div",Ie,[p("div",Se,[M(e.$slots,"config",{},void 0,!0)]),p("div",Te,[M(e.$slots,"result",{},void 0,!0)]),t(h,{round:"",class:"menu",onClick:s[0]||(s[0]=m=>e.drawer=!0)},{default:u(()=>[t(d,{icon:"fa-solid fa-gear",class:"icon-menu"})]),_:1}),t(i,{modelValue:e.drawer,"onUpdate:modelValue":s[1]||(s[1]=m=>e.drawer=m),"with-header":!1,size:"340px",class:"drawer"},{default:u(()=>[M(e.$slots,"config",{},void 0,!0)]),_:3},8,["modelValue"])])}var Ce=w(we,[["render",Ve],["__scopeId","data-v-3e896eaa"],["__file","/home/runner/work/Nexior/Nexior/src/layouts/Headshots.vue"]]);const Ae=I({name:"ImageUrlsInput",components:{ElUpload:pe,ElButton:O,InfoIcon:ye},data(){return{fileList:[],uploadUrl:ne()+"/api/v1/files/"}},computed:{headers(){return{Authorization:`Bearer ${this.$store.state.token.access}`}},urls(){return this.fileList.map(e=>{var s;return(s=e==null?void 0:e.response)==null?void 0:s.file_url})},value:{get(){var e,s;return(s=(e=this.$store.state.headshots)==null?void 0:e.config)==null?void 0:s.image_urls},set(e){var a;const s=this.urls;this.$store.commit("headshots/setConfig",{...(a=this.$store.state.headshots)==null?void 0:a.config,image_urls:s})}}},mounted(){this.value||(this.value=void 0),this.onSetImageUrls()},methods:{onExceed(){T.warning(this.$t("headshots.message.uploadImageExceed"))},onError(){T.error(this.$t("headshots.message.uploadImageError"))},onSetImageUrls(){var s;const e=this.urls;this.$store.commit("headshots/setConfig",{...(s=this.$store.state.headshots)==null?void 0:s.config,image_urls:e})},async onSuccess(){this.onSetImageUrls()}}}),Ee={class:"field"},Pe={class:"title font-bold"},Ge={class:"upload-wrapper"};function Re(e,s,a,n,_,f){const d=r("el-button"),h=r("el-upload"),i=r("info-icon");return o(),c("div",Ee,[p("h2",Pe,l(e.$t("headshots.name.endImageUrls")),1),p("div",Ge,[t(h,{"file-list":e.fileList,"onUpdate:fileList":s[0]||(s[0]=m=>e.fileList=m),accept:".png,.jpg,.jpeg,.gif,.bmp,.webp",name:"file",class:"value","show-file-list":!0,limit:2,multiple:!0,action:e.uploadUrl,"on-exceed":e.onExceed,"on-error":e.onError,"on-success":e.onSuccess,headers:e.headers},{default:u(()=>[t(d,{size:"small",type:"primary",round:""},{default:u(()=>[$(l(e.$t("headshots.button.uploadImageUrls")),1)]),_:1})]),_:1},8,["file-list","action","on-exceed","on-error","on-success","headers"])]),t(i,{content:e.$t("headshots.description.endImageUrls"),class:"info"},null,8,["content"])])}var Ue=w(Ae,[["render",Re],["__scopeId","data-v-69ae8722"],["__file","/home/runner/work/Nexior/Nexior/src/components/headshots/config/ImageUrlsInput.vue"]]);const Ne="fast",De=I({name:"ModeSelector",components:{ElRadioButton:me,ElRadioGroup:ue},data(){return{options:[{label:this.$t("headshots.button.fast"),value:"fast"},{label:this.$t("headshots.button.relax"),value:"relax"}]}},computed:{value:{get(){var e;return(e=this.$store.state.headshots.config)==null?void 0:e.mode},set(e){console.debug("set mode",e),this.$store.commit("headshots/setConfig",{...this.$store.state.headshots.config,mode:e})}}},mounted(){this.value||(this.value=Ne)}}),Le={class:"field"},Me={class:"title font-bold"};function je(e,s,a,n,_,f){const d=r("el-radio-button"),h=r("el-radio-group");return o(),c("div",Le,[p("h2",Me,l(e.$t("headshots.name.mode")),1),t(h,{modelValue:e.value,"onUpdate:modelValue":s[0]||(s[0]=i=>e.value=i),size:"small",class:"mode"},{default:u(()=>[(o(!0),c(A,null,E(e.options,i=>(o(),D(d,{key:i.value,label:i.value},{default:u(()=>[$(l(i.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])])}var Oe=w(De,[["render",je],["__scopeId","data-v-5ec8e3d9"],["__file","/home/runner/work/Nexior/Nexior/src/components/headshots/config/ModeSelector.vue"]]);const ze=I({name:"StylizeSelector",components:{ElTabs:he,ElTabPane:_e,ElImage:oe},data(){return{tab:"styles",value:"",elements:{styles:{displayName:this.$t("headshots.styleCategory.styles"),items:[{image:"https://static.aipedias.com/aicamera/common/20241008/20241008202314260779439.png",label:this.$t("headshots.styleTag.malePportrait"),value:"male_portrait"},{image:"https://static.aipedias.com/aicamera/common/20241008/202410082022241e9755548.png",label:this.$t("headshots.styleTag.malePportrait2"),value:"male_portrait2"},{image:"https://static.aipedias.com/aicamera/common/20241101/20241101170130d78f66521.png",label:this.$t("headshots.styleTag.kindergarten"),value:"kindergarten"},{image:"https://static.aipedias.com/aicamera/common/20240923/20240923123233accf60398.webp",label:this.$t("headshots.styleTag.logoTshirt"),value:"logo_tshirt"},{image:"https://static.aipedias.com/aicamera/common/20241025/202410252012329472d0656.jpg",label:this.$t("headshots.styleTag.wedding"),value:"wedding"},{image:"https://static.aipedias.com/aicamera/common/20240915/20240915145045254931400.webp",label:this.$t("headshots.styleTag.businessPphoto"),value:"business_photo"},{image:"https://static.aipedias.com/aicamera/common/20240810/20240810194526040341795.jpg",label:this.$t("headshots.styleTag.bobSuit"),value:"bob_suit"},{image:"https://static.aipedias.com/aicamera/common/20240717/20240717152654e0b348173.webp",label:this.$t("headshots.styleTag.femalePortrait"),value:"female_portrait"}]}}}},watch:{value(e){var s;console.debug("set template",e),this.$store.commit("headshots/setConfig",{...(s=this.$store.state.headshots)==null?void 0:s.config,template:e})}},mounted(){var e;this.value||(this.value=""),console.debug("set template",this.value),this.$store.commit("headshots/setConfig",{...(e=this.$store.state.headshots)==null?void 0:e.config,template:this.value})},methods:{onToggle(e){var s;this.value===e?this.value="":this.value=e,console.debug("set template",this.value),this.$store.commit("headshots/setConfig",{...(s=this.$store.state.headshots)==null?void 0:s.config,template:this.value})}}}),Be={class:"field"},He=["onClick"],qe={class:"name"};function Fe(e,s,a,n,_,f){const d=r("el-image"),h=r("el-tab-pane"),i=r("el-tabs");return o(),c("div",Be,[g(` <h2 class="title">{{ $t('headshots.field.elements') }}</h2> `),t(i,{modelValue:e.tab,"onUpdate:modelValue":s[0]||(s[0]=m=>e.tab=m)},{default:u(()=>[(o(!0),c(A,null,E(e.elements,(m,v)=>(o(),D(h,{key:v,label:m.displayName,name:v,class:"pane"},{default:u(()=>[(o(!0),c(A,null,E(m.items,(k,V)=>(o(),c("div",{key:V,class:U({item:!0,active:e.value===k.value}),onClick:C=>e.onToggle(k.value)},[t(d,{src:k.image,fit:"fill",class:"preview"},null,8,["src"]),p("span",qe,l(k.label),1)],10,He))),128))]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"])])}var Ke=w(ze,[["render",Fe],["__scopeId","data-v-7e0125ad"],["__file","/home/runner/work/Nexior/Nexior/src/components/headshots/config/ElementsSelector.vue"]]);const We=I({name:"PresetPanel",components:{ModeSelector:Oe,ImageUrlsInput:Ue,ElButton:O,FontAwesomeIcon:j,ElementsSelector:Ke},emits:["generate"],computed:{config(){var e;return(e=this.$store.state.headshots)==null?void 0:e.config}},methods:{onGenerate(){this.$emit("generate")}}}),Xe={class:"panel"},Ze={class:"config"},Je={class:"actions"};function Qe(e,s,a,n,_,f){const d=r("elements-selector"),h=r("mode-selector"),i=r("image-urls-input"),m=r("font-awesome-icon"),v=r("el-button");return o(),c("div",Xe,[p("div",Ze,[t(d,{class:"mb-4"}),t(h,{class:"mb-4"}),t(i,{class:"mb-4"}),p("div",Je,[t(v,{type:"primary",class:"btn w-full",round:"",onClick:e.onGenerate},{default:u(()=>[t(m,{icon:"fa-solid fa-magic",class:"mr-2"}),$(" "+l(e.$t("headshots.button.generate")),1)]),_:1},8,["onClick"])])])])}var Ye=w(We,[["render",Qe],["__scopeId","data-v-6a264fac"],["__file","/home/runner/work/Nexior/Nexior/src/components/headshots/ConfigPanel.vue"]]);const xe=I({name:"ImageGallery",props:{modelValue:{type:Object,required:!0}},setup(e){return{images:$e(()=>{var n,_,f;return((f=(_=(n=e.modelValue)==null?void 0:n.response)==null?void 0:_.data)==null?void 0:f.slice(0,2))||[]}),viewImage:n=>{window.open(n,"_blank")}}}}),es={class:"image-gallery"},ss=["src"],ts=["onClick"];function as(e,s,a,n,_,f){return o(),c("div",es,[(o(!0),c(A,null,E(e.images,(d,h)=>(o(),c("div",{key:h,class:"image-container"},[p("img",{src:d.image_url,alt:"Image"},null,8,ss),d.image_url?(o(),c("button",{key:0,class:"view-button",onClick:i=>e.viewImage(d.image_url)},l(e.$t("headshots.button.viewImage")),9,ts)):g("v-if",!0)]))),128))])}var os=w(xe,[["render",as],["__scopeId","data-v-0187109d"],["__file","/home/runner/work/Nexior/Nexior/src/components/headshots/ImageGallery.vue"]]);const ns=I({name:"TaskPreview",components:{ElImage:oe,CopyToClipboard:ke,FontAwesomeIcon:j,ElAlert:ge,ImageGallery:os},props:{modelValue:{type:Object,required:!0}},data(){return{}},computed:{application(){var e;return(e=this.$store.state.headshots)==null?void 0:e.application},config(){var e;return(e=this.$store.state.headshots)==null?void 0:e.config}},methods:{onDownload(e,s){e.stopPropagation(),console.log("on download"),window.open(s,"_blank")},onReload(e){const s=e.target,a=new URL(s.src),n=a.searchParams.get("retry");if(!n)a.searchParams.set("retry","1");else if(parseInt(n)<2)a.searchParams.set("retry",(parseInt(n)+1).toString());else return;s.src=a.toString()},onOpenVideo(e){window.open(e,"_blank")}}}),is={class:"preview"},ls={class:"left"},rs={class:"main"},cs={class:"bot"},ds={class:"datetime"},ps={class:"info"},ms={key:0,class:"prompt mt-2"},us={key:0},hs={key:1},_s={key:0,class:U({content:!0,failed:!0})},gs={class:"image-wrapper"},fs={class:"description"},vs={key:1,class:U({content:!0})},$s={class:"description"},ys={class:"description"},bs={class:"description"},ks={key:2,class:U({content:!0})},ws={class:"description"},Is={key:3,class:U({content:!0})},Ss={class:"description"};function Ts(e,s,a,n,_,f){var k,V,C,P,G,R,S,N,z,B,H,q,F,K,W;const d=r("el-image"),h=r("image-gallery"),i=r("font-awesome-icon"),m=r("copy-to-clipboard"),v=r("el-alert");return o(),c("div",is,[p("div",ls,[t(d,{src:"https://cdn.acedata.cloud/isxyfw.png",class:"avatar"})]),p("div",rs,[p("div",cs,[$(l(e.$t("headshots.name.headshotsBot"))+" ",1),p("span",ds,l(e.$dayjs.format(""+new Date(parseFloat(((k=e.modelValue)==null?void 0:k.created_at)||"")*1e3))),1)]),p("div",ps,[(C=(V=e.modelValue)==null?void 0:V.request)!=null&&C.template?(o(),c("p",ms,[$(l((G=(P=e.modelValue)==null?void 0:P.request)==null?void 0:G.template)+" ",1),(R=e.modelValue)!=null&&R.response?g("v-if",!0):(o(),c("span",us," - ("+l(e.$t("headshots.status.pending"))+") ",1)),((N=(S=e.modelValue)==null?void 0:S.response)==null?void 0:N.status)==="unknown"?(o(),c("span",hs," - ("+l(e.$t("headshots.status.processing"))+") ",1)):g("v-if",!0)])):g("v-if",!0)]),g(" Display success message "),((B=(z=e.modelValue)==null?void 0:z.response)==null?void 0:B.success)===!0?(o(),c("div",_s,[p("div",gs,[t(h,{"model-value":e.modelValue},null,8,["model-value"])]),t(v,{closable:!1,class:"mt-2 success"},{default:u(()=>{var y,b;return[p("p",fs,[t(i,{icon:"fa-solid fa-magic",class:"mr-1"}),$(" "+l(e.$t("headshots.name.taskId"))+": "+l((y=e.modelValue)==null?void 0:y.id)+" ",1),t(m,{content:(b=e.modelValue)==null?void 0:b.id,class:"btn-copy"},null,8,["content"])])]}),_:1})])):g("v-if",!0),g(" Display error message "),((q=(H=e.modelValue)==null?void 0:H.response)==null?void 0:q.success)===!1?(o(),c("div",vs,[t(v,{closable:!1,class:"failure"},{template:u(()=>[t(i,{icon:"fa-solid fa-exclamation-triangle",class:"mr-1"}),$(" "+l(e.$t("headshots.name.failure")),1)]),default:u(()=>{var y,b,X,Z,J,Q,Y,x,ee,se,te,ae;return[p("p",$s,[t(i,{icon:"fa-solid fa-magic",class:"mr-1"}),$(" "+l(e.$t("headshots.name.taskId"))+": "+l((y=e.modelValue)==null?void 0:y.id)+" ",1),t(m,{content:(b=e.modelValue)==null?void 0:b.id,class:"btn-copy"},null,8,["content"])]),p("p",ys,[t(i,{icon:"fa-solid fa-circle-info",class:"mr-1"}),$(" "+l(e.$t("headshots.name.failureReason"))+": "+l((J=(Z=(X=e.modelValue)==null?void 0:X.response)==null?void 0:Z.error)==null?void 0:J.message)+" ",1),t(m,{content:(x=(Y=(Q=e.modelValue)==null?void 0:Q.response)==null?void 0:Y.error)==null?void 0:x.message,class:"btn-copy"},null,8,["content"])]),p("p",bs,[t(i,{icon:"fa-solid fa-hashtag",class:"mr-1"}),$(" "+l(e.$t("headshots.name.traceId"))+": "+l((se=(ee=e.modelValue)==null?void 0:ee.response)==null?void 0:se.trace_id)+" ",1),t(m,{content:(ae=(te=e.modelValue)==null?void 0:te.response)==null?void 0:ae.trace_id,class:"btn-copy"},null,8,["content"])])]}),_:1})])):g("v-if",!0),g(" Display error message "),(F=e.modelValue)!=null&&F.response?g("v-if",!0):(o(),c("div",ks,[t(v,{closable:!1,class:"info"},{template:u(()=>[t(i,{icon:"fa-solid fa-exclamation-triangle",class:"mr-1"}),$(" "+l(e.$t("headshots.name.failure")),1)]),default:u(()=>{var y,b;return[p("p",ws,[t(i,{icon:"fa-solid fa-magic",class:"mr-1"}),$(" "+l(e.$t("headshots.name.taskId"))+": "+l((y=e.modelValue)==null?void 0:y.id)+" ",1),t(m,{content:(b=e.modelValue)==null?void 0:b.id,class:"btn-copy"},null,8,["content"])])]}),_:1})])),((W=(K=e.modelValue)==null?void 0:K.response)==null?void 0:W.status)==="unknown"?(o(),c("div",Is,[t(v,{closable:!1,class:"info"},{template:u(()=>[t(i,{icon:"fa-solid fa-exclamation-triangle",class:"mr-1"}),$(" "+l(e.$t("headshots.name.failure")),1)]),default:u(()=>{var y,b;return[p("p",Ss,[t(i,{icon:"fa-solid fa-magic",class:"mr-1"}),$(" "+l(e.$t("headshots.name.taskId"))+": "+l((y=e.modelValue)==null?void 0:y.id)+" ",1),t(m,{content:(b=e.modelValue)==null?void 0:b.id,class:"btn-copy"},null,8,["content"])])]}),_:1})])):g("v-if",!0)])])}var Vs=w(ns,[["render",Ts],["__scopeId","data-v-43e1feb8"],["__file","/home/runner/work/Nexior/Nexior/src/components/headshots/task/Preview.vue"]]);const Cs=I({name:"RecentPanel",components:{TaskPreview:Vs,ElSkeleton:fe,ElSkeletonItem:ve},emits:["reach-top"],data(){return{job:0}},computed:{tasks(){var e,s,a,n;return{...(e=this.$store.state.headshots)==null?void 0:e.tasks,items:(n=(a=(s=this.$store.state.headshots)==null?void 0:s.tasks)==null?void 0:a.items)==null?void 0:n.slice()}}},methods:{onHandleScroll(){const e=this.$refs.panel;console.log("reach-top reach-top reach-top"),e.scrollTop===0&&this.$emit("reach-top")}}}),As={key:0,class:"tasks"},Es={class:"left"},Ps={class:"main"},Gs={key:1,class:"tasks"},Rs={key:2,class:"description"};function Us(e,s,a,n,_,f){var m,v,k,V,C,P,G,R;const d=r("el-skeleton-item"),h=r("el-skeleton"),i=r("task-preview");return o(),c("div",{ref:"panel",class:"panel recent",onScroll:s[0]||(s[0]=(...S)=>e.onHandleScroll&&e.onHandleScroll(...S))},[((m=e.tasks)==null?void 0:m.items)===void 0?(o(),c("div",As,[(o(),c(A,null,E(3,S=>p("div",{key:S,class:"task placeholder"},[p("div",Es,[t(h,{animated:""},{template:u(()=>[t(d,{variant:"image",class:"avatar"})]),_:1})]),p("div",Ps,[t(h,{animated:""},{template:u(()=>[t(d,{variant:"p",class:"title"}),t(d,{variant:"image",class:"icon"})]),_:1})])])),64))])):((k=(v=e.tasks)==null?void 0:v.items)==null?void 0:k.length)&&((C=(V=e.tasks)==null?void 0:V.items)==null?void 0:C.length)>0?(o(),c("div",Gs,[(o(!0),c(A,null,E((P=e.tasks)==null?void 0:P.items,(S,N)=>(o(),D(i,{key:N,"model-value":S,class:"preview"},null,8,["model-value"]))),128))])):g("v-if",!0),((R=(G=e.tasks)==null?void 0:G.items)==null?void 0:R.length)===0?(o(),c("p",Rs,l(e.$t("headshots.message.noTasks")),1)):g("v-if",!0)],544)}var Ns=w(Cs,[["render",Us],["__scopeId","data-v-37920e9a"],["__file","/home/runner/work/Nexior/Nexior/src/components/headshots/RecentPanel.vue"]]);const Ds="https://webhook.acedata.cloud/headshots",Ls=I({name:"HeadshotsIndex",components:{ConfigPanel:Ye,Layout:Ce,ApplicationStatus:be,RecentPanel:Ns},data(){return{task:void 0,job:0,timer:void 0}},computed:{loading(){var e,s;return((s=(e=this.$store.state.headshots)==null?void 0:e.status)==null?void 0:s.getApplications)===L.Request},service(){return this.$store.state.headshots.service},credential(){return this.$store.state.headshots.credential},config(){return this.$store.state.headshots.config},initializing(){return this.$store.state.headshots.status.getApplications===L.Request},needApply(){return this.$store.state.headshots.status.getApplications===L.Success&&!this.application},application(){return this.$store.state.headshots.application},applications(){return this.$store.state.headshots.applications},tasks(){return this.$store.state.headshots.tasks}},watch:{tasks:{handler(e,s){var a,n;((a=e==null?void 0:e.items)==null?void 0:a.length)>((n=s==null?void 0:s.items)==null?void 0:n.length)&&console.debug("new tasks detected")},deep:!0}},async mounted(){await this.onGetService(),await this.onGetApplication(),await this.onScrollDown(),await this.onGetTasks(),this.job=setInterval(()=>{this.onGetTasks()},5e3)},async unmounted(){clearInterval(this.job),clearInterval(this.timer)},methods:{async onReachTop(){var e,s,a;console.debug("reached top"),await this.onGetTasks({createdAtMax:(a=(s=(e=this.tasks)==null?void 0:e.items)==null?void 0:s[0])==null?void 0:a.created_at})},async onGetService(){console.debug("start onGetService"),await this.$store.dispatch("headshots/getService"),console.debug("end onGetService")},async onGetApplication(){console.debug("start onGetApplication"),await this.$store.dispatch("headshots/getApplications"),console.debug("end onGetApplication"),await this.onGetTasks()},onApply(){ie.create({application:this.application}).then(({data:e})=>{this.application=e,T.success(this.$t("application.message.applySuccessfully"))}).catch(e=>{var s,a;((a=(s=e==null?void 0:e.response)==null?void 0:s.data)==null?void 0:a.code)===le&&T.error(this.$t("application.message.alreadyApplied"))})},async onScrollDown(){setTimeout(()=>{const e=document.querySelector(".recent");e&&(e.scrollTop=e.scrollHeight)},500)},async onGetTasks(e){if(this.loading){console.debug("loading");return}console.debug("start onGetTasks",e);const{limit:s=5,createdAtMin:a,createdAtMax:n}=e||{};console.debug("limit",s,"createdAtMin",a,"createdAtMax",n),await this.$store.dispatch("headshots/getTasks",{limit:s,createdAtMin:a,createdAtMax:n})},async onGeneratePicture(){var a;const e={...this.config,callback_url:Ds},s=(a=this.credential)==null?void 0:a.token;if(!s){console.error("no token specified");return}T.info(this.$t("headshots.message.startingTask")),re.generate(e,{token:s}).then(()=>{T.success(this.$t("headshots.message.startTaskSuccess")),this.$store.commit("headshots/setConfig",{config:void 0})}).catch(n=>{var f,d;const _=(f=n==null?void 0:n.response)==null?void 0:f.data;((d=_==null?void 0:_.error)==null?void 0:d.code)===ce?T.error(this.$t("headshots.message.usedUp")):T.error(this.$t("headshots.message.startTaskFailed"))}).finally(async()=>{setTimeout(async()=>{await this.onGetTasks(),await this.onScrollDown()},1e3)})}}});function Ms(e,s,a,n,_,f){const d=r("config-panel"),h=r("application-status"),i=r("recent-panel"),m=r("layout");return o(),D(m,null,{config:u(()=>[t(d,{onGenerate:e.onGeneratePicture},null,8,["onGenerate"])]),result:u(()=>[t(h,{initializing:e.initializing,application:e.application,applications:e.applications,service:e.service,"need-apply":e.needApply,class:"mb-4",onRefresh:e.onGetApplication,onSelect:s[0]||(s[0]=v=>e.$store.dispatch("headshots/setApplication",v))},null,8,["initializing","application","applications","service","need-apply","onRefresh"]),t(i,{class:"panel recent",onReachTop:e.onReachTop},null,8,["onReachTop"]),g(' <operation-panel class="panel operation" @generate="onGenerate" /> ')]),_:1})}var Js=w(Ls,[["render",Ms],["__scopeId","data-v-62da1b28"],["__file","/home/runner/work/Nexior/Nexior/src/pages/headshots/Index.vue"]]);export{Js as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{an as Ve}from"./vendor-others.cdfefb59.js";import{ar as z}from"./vendor-fortawesome.2b54ad1b.js";import{_ as y,aL as Se,aM as Ee,aN as Ne,aO as Pe,A as ye,aP as Te,K as H,F as Ce,M as Re,aQ as Le,Z as Ue}from"./index.97386539.js";import{T as Ae,u as B,N as Z,O as J,x as be,y as E,U as De,V as Ge,t as we,m as Me,I as Oe,s as je,H as Fe,R as qe}from"./vendor-element-plus.1fa87efb.js";import{H as b,al as n,o as l,e as p,f as a,I as Q,V as o,M as _,T as c,U,ai as A,L,P as D,a0 as ze,S as k,R as $}from"./vendor-@vue.6c0309d3.js";import{I as K}from"./InfoIcon.b6bd8d58.js";import{I as Ie}from"./ImagePreview.025cfc09.js";import{C as Be}from"./CopyToClipboard.dcbf7182.js";import"./vendor-markdown.cf3e96ae.js";import"./vendor-axios.168e6950.js";import"./vendor-qrcode.6ab44f81.js";const Ke=b({name:"LayoutKling",components:{ElDrawer:Ae,ElButton:B,FontAwesomeIcon:z},data(){return{drawer:!1}}}),He={class:"main"},Qe={class:"config"},Ze={class:"result"};function Je(e,t,s,d,g,f){const i=n("font-awesome-icon"),u=n("el-button"),r=n("el-drawer");return l(),p("div",He,[a("div",Qe,[Q(e.$slots,"config",{},void 0,!0)]),a("div",Ze,[Q(e.$slots,"result",{},void 0,!0)]),o(u,{round:"",class:"menu",onClick:t[0]||(t[0]=v=>e.drawer=!0)},{default:_(()=>[o(i,{icon:"fa-solid fa-gear",class:"icon-menu"})]),_:1}),o(r,{modelValue:e.drawer,"onUpdate:modelValue":t[1]||(t[1]=v=>e.drawer=v),"with-header":!1,size:"340px",class:"drawer"},{default:_(()=>[Q(e.$slots,"config",{},void 0,!0)]),_:3},8,["modelValue"])])}var We=y(Ke,[["render",Je],["__scopeId","data-v-50bc0f32"],["__file","/home/runner/work/Nexior/Nexior/src/layouts/Kling.vue"]]);const Xe=b({name:"ModelSelector",components:{ElSelect:Z,ElOption:J},props:{modelValue:{type:String,default:void 0}},emits:["update:modelValue"],data(){return{options:[{value:"kling-v1",label:"V1"},{value:"kling-v1-5",label:"V1.5"},{value:"kling-v1-6",label:"V1.6"}]}},computed:{value:{get(){var e,t;return(t=(e=this.$store.state.kling)==null?void 0:e.config)==null?void 0:t.model},set(e){this.$store.commit("kling/setConfig",{...this.$store.state.kling.config,model:e})}}},mounted(){this.value||(this.value=Se)}}),Ye={class:"field"},xe={class:"title font-bold"};function et(e,t,s,d,g,f){const i=n("el-option"),u=n("el-select");return l(),p("div",Ye,[a("h2",xe,c(e.$t("pika.name.model")),1),o(u,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=r=>e.value=r),class:"value",placeholder:e.$t("pika.placeholder.select")},{default:_(()=>[(l(!0),p(U,null,A(e.options,r=>(l(),L(i,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])])}var tt=y(Xe,[["render",et],["__scopeId","data-v-13cacdf9"],["__file","/home/runner/work/Nexior/Nexior/src/components/kling/config/ModelSelector.vue"]]);const ot=b({name:"ModeSelector",components:{ElSelect:Z,ElOption:J},props:{modelValue:{type:String,default:void 0}},emits:["update:modelValue"],data(){return{options:[{value:"std",label:"\u6807\u51C6"},{value:"pro",label:"\u9AD8\u901F"}]}},computed:{value:{get(){var e,t;return(t=(e=this.$store.state.kling)==null?void 0:e.config)==null?void 0:t.mode},set(e){this.$store.commit("kling/setConfig",{...this.$store.state.kling.config,mode:e})}}},mounted(){this.value||(this.value=Ee)}}),st={class:"field"},nt={class:"title font-bold"};function at(e,t,s,d,g,f){const i=n("el-option"),u=n("el-select");return l(),p("div",st,[a("h2",nt,c(e.$t("kling.name.mode")),1),o(u,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=r=>e.value=r),class:"value",placeholder:e.$t("kling.placeholder.select")},{default:_(()=>[(l(!0),p(U,null,A(e.options,r=>(l(),L(i,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])])}var lt=y(ot,[["render",at],["__scopeId","data-v-3af5203e"],["__file","/home/runner/work/Nexior/Nexior/src/components/kling/config/ModeSelector.vue"]]);const it=b({name:"DurationSelector",components:{ElSelect:Z,ElOption:J},props:{modelValue:{type:String,default:void 0}},emits:["update:modelValue"],data(){return{options:[{value:5,label:"5\u79D2"},{value:10,label:"10\u79D2"}]}},computed:{value:{get(){var e,t;return(t=(e=this.$store.state.kling)==null?void 0:e.config)==null?void 0:t.duration},set(e){this.$store.commit("kling/setConfig",{...this.$store.state.kling.config,duration:e})}}},mounted(){this.value||(this.value=Ne)}}),rt={class:"field"},ct={class:"title font-bold"};function dt(e,t,s,d,g,f){const i=n("el-option"),u=n("el-select");return l(),p("div",rt,[a("h2",ct,c(e.$t("kling.name.duration")),1),o(u,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=r=>e.value=r),class:"value",placeholder:e.$t("kling.placeholder.select")},{default:_(()=>[(l(!0),p(U,null,A(e.options,r=>(l(),L(i,{key:r.value,label:r.label,value:r.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])])}var pt=y(it,[["render",dt],["__scopeId","data-v-6434f6d2"],["__file","/home/runner/work/Nexior/Nexior/src/components/kling/config/DurationSelector.vue"]]);const ut=b({name:"RatioSelector",data(){return{options:[{value:"1:1",label:"1:1",width:20,height:20},{value:"16:9",label:"16:9",width:25,height:13},{value:"9:16",label:"9:16",width:13,height:25}]}},computed:{active(){return this.options.findIndex(e=>e.value===this.value)||0},value:{get(){var e,t,s;return(s=(t=(e=this.$store.state)==null?void 0:e.kling)==null?void 0:t.config)==null?void 0:s.aspect_ratio},set(e){var t,s;console.debug("set ratio",e),this.$store.commit("kling/setConfig",{...(s=(t=this.$store.state)==null?void 0:t.kling)==null?void 0:s.config,aspect_ratio:e})}}},mounted(){this.value||(this.value=Pe)}}),mt={class:"text-sm font-bold mb-2 block"},_t={class:"items"},gt=["onClick"],ft={class:"name"};function vt(e,t,s,d,g,f){return l(),p("div",null,[a("span",mt,c(e.$t("kling.name.ratio")),1),a("div",_t,[(l(!0),p(U,null,A(e.options,(i,u)=>(l(),p("div",{key:u,class:D({active:e.active===u,item:!0}),onClick:r=>e.value=i.value},[a("div",{class:D(["preview",i.label])},[a("div",{class:"rect",style:ze({width:i.width+"px",height:i.height+"px"})},null,4)],2),a("p",ft,c(i.label),1)],10,gt))),128))])])}var ht=y(ut,[["render",vt],["__scopeId","data-v-41d8dfdb"],["__file","/home/runner/work/Nexior/Nexior/src/components/kling/config/RatioSelector.vue"]]);const $t=b({name:"StartImage",components:{ElUpload:be,ElButton:B,InfoIcon:K,FontAwesomeIcon:z,ImagePreview:Ie},emits:["change"],data(){return{fileList:[],uploadUrl:ye()+"/api/v1/files/"}},computed:{headers(){return{Authorization:`Bearer ${this.$store.state.token.access}`}},urls(){return this.fileList.map(e=>{var t;return(t=e==null?void 0:e.response)==null?void 0:t.file_url})},value:{get(){var e,t,s;return(s=(t=(e=this.$store.state)==null?void 0:e.kling)==null?void 0:t.config)==null?void 0:s.start_image_url},set(e){}}},mounted(){this.value||(this.value=void 0),this.onSetStartImageUrl()},methods:{onExceed(){E.warning(this.$t("kling.message.uploadReferencesExceed"))},onError(){E.error(this.$t("kling.message.uploadReferencesError"))},onSetStartImageUrl(){var t,s,d;const e=(t=this.urls)==null?void 0:t[0];this.$store.commit("kling/setConfig",{...(d=(s=this.$store.state)==null?void 0:s.kling)==null?void 0:d.config,start_image_url:e})},async onSuccess(){this.onSetStartImageUrl()}}}),kt={class:"relative"},yt={class:"flex justify-between"},bt={class:"flex justify-start items-center"},wt={class:"text-sm font-bold"};function It(e,t,s,d,g,f){const i=n("info-icon"),u=n("image-preview"),r=n("font-awesome-icon"),v=n("el-button"),h=n("el-upload");return l(),p("div",kt,[a("div",yt,[a("div",bt,[a("span",wt,c(e.$t("kling.name.startImage")),1),o(i,{content:e.$t("kling.description.uploadStartImage")},null,8,["content"])])]),o(h,{"file-list":e.fileList,"onUpdate:fileList":t[0]||(t[0]=m=>e.fileList=m),name:"file",limit:5,class:"upload-wrapper",multiple:!1,action:e.uploadUrl,"list-type":"picture","on-exceed":e.onExceed,"on-error":e.onError,"on-success":e.onSuccess,headers:e.headers},{file:_(({file:m})=>{var w;return[o(u,{url:m.url||((w=m.response)==null?void 0:w.file_url),name:m.name,percentage:m.percentage,onRemove:N=>e.fileList.splice(e.fileList.indexOf(m),1)},null,8,["url","name","percentage","onRemove"])]}),default:_(()=>[o(v,{round:"",type:"primary",size:"small",class:"btn btn-upload"},{default:_(()=>[o(r,{icon:"fa-solid fa-upload",class:"icon mr-1"}),k(" "+c(e.$t("kling.button.uploadReferences")),1)]),_:1})]),_:1},8,["file-list","action","on-exceed","on-error","on-success","headers"])])}var Vt=y($t,[["render",It],["__scopeId","data-v-6e6084d0"],["__file","/home/runner/work/Nexior/Nexior/src/components/kling/config/StartImage.vue"]]);const St=b({name:"EndImage",components:{ElUpload:be,ElButton:B,ImagePreview:Ie,InfoIcon:K,FontAwesomeIcon:z},data(){return{fileList:[],uploadUrl:ye()+"/api/v1/files/"}},computed:{headers(){return{Authorization:`Bearer ${this.$store.state.token.access}`}},urls(){return this.fileList.map(e=>{var t;return(t=e==null?void 0:e.response)==null?void 0:t.file_url})},value:{get(){var e,t,s;return(s=(t=(e=this.$store.state)==null?void 0:e.kling)==null?void 0:t.config)==null?void 0:s.start_image_url},set(e){}}},mounted(){this.value||(this.value=void 0),this.onSetEndImageUrl()},methods:{onExceed(){E.warning(this.$t("kling.message.uploadReferencesExceed"))},onError(){E.error(this.$t("kling.message.uploadReferencesError"))},onSetEndImageUrl(){var t,s;const e=(t=this.urls)==null?void 0:t[0];this.$store.commit("kling/setConfig",{...(s=this.$store.state.kling)==null?void 0:s.config,end_image_url:e})},async onSuccess(){this.onSetEndImageUrl()}}}),Et={class:"relative"},Nt={class:"flex justify-between"},Pt={class:"flex justify-start items-center"},Tt={class:"text-sm font-bold"};function Ct(e,t,s,d,g,f){const i=n("info-icon"),u=n("image-preview"),r=n("font-awesome-icon"),v=n("el-button"),h=n("el-upload");return l(),p("div",Et,[a("div",Nt,[a("div",Pt,[a("span",Tt,c(e.$t("kling.name.endImage")),1),o(i,{content:e.$t("kling.description.uploadEndImage")},null,8,["content"])])]),o(h,{"file-list":e.fileList,"onUpdate:fileList":t[0]||(t[0]=m=>e.fileList=m),name:"file",limit:5,class:"upload-wrapper",multiple:!1,action:e.uploadUrl,"list-type":"picture","on-exceed":e.onExceed,"on-error":e.onError,"on-success":e.onSuccess,headers:e.headers},{file:_(({file:m})=>{var w;return[o(u,{url:m.url||((w=m.response)==null?void 0:w.file_url),name:m.name,percentage:m.percentage,onRemove:N=>e.fileList.splice(e.fileList.indexOf(m),1)},null,8,["url","name","percentage","onRemove"])]}),default:_(()=>[o(v,{round:"",type:"primary",size:"small",class:"btn btn-upload"},{default:_(()=>[o(r,{icon:"fa-solid fa-upload",class:"icon mr-1"}),k(" "+c(e.$t("kling.button.uploadReferences")),1)]),_:1})]),_:1},8,["file-list","action","on-exceed","on-error","on-success","headers"])])}var Rt=y(St,[["render",Ct],["__scopeId","data-v-72a21eff"],["__file","/home/runner/work/Nexior/Nexior/src/components/kling/config/EndImage.vue"]]);const Lt=b({name:"CfgScaleSelector",components:{ElSlider:De,InfoIcon:K,ElInputNumber:Ge},computed:{value:{get(){var e,t,s;return(s=(t=(e=this.$store.state)==null?void 0:e.kling)==null?void 0:t.config)==null?void 0:s.cfg_scale},set(e){var t,s;console.debug("set cfg_scale",e),this.$store.commit("kling/setConfig",{...(s=(t=this.$store.state)==null?void 0:t.kling)==null?void 0:s.config,cfg_scale:e})}}},mounted(){this.value||(this.value=Te)}}),Ut={class:"flex justify-between"},At={class:"flex justify-start items-center"},Dt={class:"text-sm font-bold"},Gt={class:"flex justify-end items-center"},Mt={class:"w-full"};function Ot(e,t,s,d,g,f){const i=n("info-icon"),u=n("el-input-number"),r=n("el-slider");return l(),p("div",null,[a("div",Ut,[a("div",At,[a("span",Dt,c(e.$t("kling.name.cfgScale")),1),o(i,{content:e.$t("kling.description.cfgScale")},null,8,["content"])]),a("div",Gt,[o(u,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=v=>e.value=v),"controls-position":"right"},null,8,["modelValue"])])]),a("div",Mt,[o(r,{modelValue:e.value,"onUpdate:modelValue":t[1]||(t[1]=v=>e.value=v),min:0,max:1,step:.1},null,8,["modelValue"])])])}var jt=y(Lt,[["render",Ot],["__file","/home/runner/work/Nexior/Nexior/src/components/kling/config/CfgScaleSelector.vue"]]);const Ft="",qt=b({name:"PromptInput",components:{ElInput:we,InfoIcon:K},computed:{prompt:{get(){var e,t;return(t=(e=this.$store.state.kling)==null?void 0:e.config)==null?void 0:t.prompt},set(e){var t;console.debug("set prompt",e),this.$store.commit("kling/setConfig",{...(t=this.$store.state.kling)==null?void 0:t.config,prompt:e})}}},mounted(){this.value||(this.value=Ft)}}),zt={class:"field"},Bt={class:"box"},Kt={class:"title font-bold"};function Ht(e,t,s,d,g,f){const i=n("info-icon"),u=n("el-input");return l(),p("div",zt,[a("div",Bt,[a("h2",Kt,c(e.$t("kling.name.prompt")),1),o(i,{content:e.$t("kling.description.prompt"),class:"info"},null,8,["content"])]),o(u,{modelValue:e.prompt,"onUpdate:modelValue":t[0]||(t[0]=r=>e.prompt=r),rows:3,type:"textarea",class:"prompt",placeholder:e.$t("kling.placeholder.prompt"),maxlength:500,"show-word-limit":""},null,8,["modelValue","placeholder"])])}var Qt=y(qt,[["render",Ht],["__scopeId","data-v-fd830852"],["__file","/home/runner/work/Nexior/Nexior/src/components/kling/config/PromptInput.vue"]]);const Zt="",Jt=b({name:"NegativePromptInput",components:{ElInput:we,InfoIcon:K},computed:{prompt:{get(){var e,t;return(t=(e=this.$store.state.kling)==null?void 0:e.config)==null?void 0:t.negative_prompt},set(e){var t;console.debug("set prompt",e),this.$store.commit("kling/setConfig",{...(t=this.$store.state.kling)==null?void 0:t.config,negative_prompt:e})}}},mounted(){this.value||(this.value=Zt)}}),Wt={class:"field"},Xt={class:"box"},Yt={class:"title font-bold"};function xt(e,t,s,d,g,f){const i=n("info-icon"),u=n("el-input");return l(),p("div",Wt,[a("div",Xt,[a("h2",Yt,c(e.$t("kling.name.negativePrompt")),1),o(i,{content:e.$t("kling.description.negativePrompt"),class:"info"},null,8,["content"])]),o(u,{modelValue:e.prompt,"onUpdate:modelValue":t[0]||(t[0]=r=>e.prompt=r),rows:3,type:"textarea",class:"prompt",placeholder:e.$t("kling.placeholder.negativePrompt"),maxlength:200,"show-word-limit":""},null,8,["modelValue","placeholder"])])}var eo=y(Jt,[["render",xt],["__scopeId","data-v-6c3d0de2"],["__file","/home/runner/work/Nexior/Nexior/src/components/kling/config/NegativePromptInput.vue"]]);const to=b({name:"PresetPanel",components:{ElButton:B,FontAwesomeIcon:z,PromptInput:Qt,NegativePromptInput:eo,ModelSelector:tt,ModeSelector:lt,DurationSelector:pt,RatioSelector:ht,StartImage:Vt,CfgScaleSelector:jt,EndImage:Rt},emits:["generate"],computed:{config(){var e;return(e=this.$store.state.kling)==null?void 0:e.config}},methods:{onGenerate(){this.$emit("generate")}}}),oo={class:"panel"},so={class:"config"},no={class:"actions"};function ao(e,t,s,d,g,f){var I,R;const i=n("prompt-input"),u=n("model-selector"),r=n("mode-selector"),v=n("ratio-selector"),h=n("start-image"),m=n("end-image"),w=n("cfg-scale-selector"),N=n("duration-selector"),C=n("negative-prompt-input"),P=n("font-awesome-icon"),T=n("el-button");return l(),p("div",oo,[a("div",so,[o(i,{class:"mb-4"}),o(u,{class:"mb-4"}),o(r,{class:"mb-4"}),o(v,{class:"mb-4"}),o(h,{class:"mb-2"}),o(m,{class:"mb-2"}),o(w,{class:"mb-4"}),o(N,{class:"mb-4"}),o(C,{class:"mb-4"}),a("div",no,[((I=e.config)==null?void 0:I.video_url)!==void 0||((R=e.config)==null?void 0:R.custom)?(l(),L(T,{key:0,type:"primary",class:"btn w-full",round:"",onClick:e.onGenerate},{default:_(()=>[o(P,{icon:"fa-solid fa-magic",class:"mr-2"}),k(" "+c(e.$t("kling.button.extend")),1)]),_:1},8,["onClick"])):(l(),L(T,{key:1,type:"primary",class:"btn w-full",round:"",onClick:e.onGenerate},{default:_(()=>[o(P,{icon:"fa-solid fa-magic",class:"mr-2"}),k(" "+c(e.$t("kling.button.generate")),1)]),_:1},8,["onClick"]))])])])}var lo=y(to,[["render",ao],["__scopeId","data-v-301363b4"],["__file","/home/runner/work/Nexior/Nexior/src/components/kling/ConfigPanel.vue"]]);const io=b({name:"VideoPlayer",components:{VuePlyr:Ve},props:{modelValue:{type:Object,required:!0}},data(){return{options:{quality:{default:"1080p"}}}}}),ro={controls:"",crossorigin:"",playsinline:""},co=["src"];function po(e,t,s,d,g,f){const i=n("vue-plyr");return l(),p("div",null,[o(i,{options:e.options,class:"video"},{default:_(()=>{var u;return[a("video",ro,[a("source",{size:"1080",src:(u=e.modelValue)==null?void 0:u.video_url,type:"video/mp4"},null,8,co)])]}),_:1},8,["options"])])}var uo=y(io,[["render",po],["__scopeId","data-v-3fd1ea0e"],["__file","/home/runner/work/Nexior/Nexior/src/components/kling/VideoPlayer.vue"]]);const mo=b({name:"TaskPreview",components:{ElImage:Me,CopyToClipboard:Be,FontAwesomeIcon:z,ElAlert:Oe,VideoPlayer:uo,ElTooltip:je,ElButton:B},props:{modelValue:{type:Object,required:!0}},data(){return{}},computed:{application(){var e;return(e=this.$store.state.kling)==null?void 0:e.application},config(){var e;return(e=this.$store.state.kling)==null?void 0:e.config}},methods:{onDownload(e,t){e.stopPropagation(),console.log("on download"),window.open(t,"_blank")},onReload(e){const t=e.target,s=new URL(t.src),d=s.searchParams.get("retry");if(!d)s.searchParams.set("retry","1");else if(parseInt(d)<2)s.searchParams.set("retry",(parseInt(d)+1).toString());else return;t.src=s.toString()},onOpenVideo(e){window.open(e,"_blank")}}}),_o={class:"preview"},go={class:"left"},fo={class:"main"},vo={class:"bot"},ho={class:"datetime"},$o={class:"info"},ko={key:0,class:"prompt mt-2"},yo={key:0},bo={key:1},wo={key:0,class:D({content:!0,failed:!0})},Io={class:"image-wrapper"},Vo={key:0,class:D({operations:!0,"mt-2":!0})},So={class:"description"},Eo={key:1,class:D({content:!0})},No={class:"description"},Po={class:"description"},To={key:0,class:"description"},Co={key:2,class:D({content:!0})},Ro={class:"description"},Lo={key:0,class:"description"};function Uo(e,t,s,d,g,f){var N,C,P,T,I,R,W,X,Y,x,ee,te,oe,se,ne,ae,le,ie,re,ce,de,pe,ue,me,_e;const i=n("el-image"),u=n("VideoPlayer"),r=n("el-button"),v=n("el-tooltip"),h=n("font-awesome-icon"),m=n("copy-to-clipboard"),w=n("el-alert");return l(),p("div",_o,[a("div",go,[o(i,{src:"https://cdn.acedata.cloud/qpbbbb.jpg",class:"avatar"})]),a("div",fo,[a("div",vo,[k(c(e.$t("kling.name.klingBot"))+" ",1),a("span",ho,c(e.$dayjs.format(""+new Date(parseFloat(((N=e.modelValue)==null?void 0:N.created_at)||"")*1e3))),1)]),a("div",$o,[(P=(C=e.modelValue)==null?void 0:C.request)!=null&&P.prompt?(l(),p("p",ko,[k(c((I=(T=e.modelValue)==null?void 0:T.request)==null?void 0:I.prompt)+" ",1),(R=e.modelValue)!=null&&R.response?$("v-if",!0):(l(),p("span",yo," - ("+c(e.$t("kling.status.pending"))+") ",1)),((X=(W=e.modelValue)==null?void 0:W.response)==null?void 0:X.state)==="submitted"||((x=(Y=e.modelValue)==null?void 0:Y.response)==null?void 0:x.state)==="processing"||((te=(ee=e.modelValue)==null?void 0:ee.response)==null?void 0:te.state)==="pending"||((se=(oe=e.modelValue)==null?void 0:oe.response)==null?void 0:se.state)==="completed"?(l(),p("span",bo," - ("+c(e.$t("kling.status.processing"))+") ",1)):$("v-if",!0)])):$("v-if",!0)]),$(" Display success message "),((ae=(ne=e.modelValue)==null?void 0:ne.response)==null?void 0:ae.success)===!0?(l(),p("div",wo,[a("div",Io,[o(u,{"model-value":(le=e.modelValue)==null?void 0:le.response},null,8,["model-value"])]),(ie=e.modelValue)!=null&&ie.response.success?(l(),p("div",Vo,[o(v,{class:"box-item",effect:"dark",content:e.$t("kling.message.downloadVideo"),placement:"top-start"},{default:_(()=>[o(r,{type:"info",size:"small",class:"btn-action",onClick:t[0]||(t[0]=S=>{var V;return e.onDownload(S,(V=e.modelValue)==null?void 0:V.response.video_url)})},{default:_(()=>[k(c(e.$t("kling.button.download")),1)]),_:1})]),_:1},8,["content"])])):$("v-if",!0),o(w,{closable:!1,class:"mt-2 success"},{default:_(()=>{var S,V;return[a("p",So,[o(h,{icon:"fa-solid fa-magic",class:"mr-1"}),k(" "+c(e.$t("kling.name.taskId"))+": "+c((S=e.modelValue)==null?void 0:S.id)+" ",1),o(m,{content:(V=e.modelValue)==null?void 0:V.id,class:"btn-copy"},null,8,["content"])])]}),_:1})])):$("v-if",!0),$(" Display error message "),((ce=(re=e.modelValue)==null?void 0:re.response)==null?void 0:ce.success)===!1?(l(),p("div",Eo,[o(w,{closable:!1,class:"failure"},{template:_(()=>[o(h,{icon:"fa-solid fa-exclamation-triangle",class:"mr-1"}),k(" "+c(e.$t("kling.name.failure")),1)]),default:_(()=>{var S,V,G,M,O,j,F,q,ge,fe,ve,he,$e,ke;return[a("p",No,[o(h,{icon:"fa-solid fa-magic",class:"mr-1"}),k(" "+c(e.$t("kling.name.taskId"))+": "+c((S=e.modelValue)==null?void 0:S.id)+" ",1),o(m,{content:(V=e.modelValue)==null?void 0:V.id,class:"btn-copy"},null,8,["content"])]),a("p",Po,[o(h,{icon:"fa-solid fa-circle-info",class:"mr-1"}),k(" "+c(e.$t("kling.name.failureReason"))+": "+c((O=(M=(G=e.modelValue)==null?void 0:G.response)==null?void 0:M.error)==null?void 0:O.message)+" ",1),o(m,{content:(q=(F=(j=e.modelValue)==null?void 0:j.response)==null?void 0:F.error)==null?void 0:q.message,class:"btn-copy"},null,8,["content"])]),(fe=(ge=e.modelValue)==null?void 0:ge.response)!=null&&fe.trace_id?(l(),p("p",To,[o(h,{icon:"fa-solid fa-hashtag",class:"mr-1"}),k(" "+c(e.$t("kling.name.traceId"))+": "+c((he=(ve=e.modelValue)==null?void 0:ve.response)==null?void 0:he.trace_id)+" ",1),o(m,{content:(ke=($e=e.modelValue)==null?void 0:$e.response)==null?void 0:ke.trace_id,class:"btn-copy"},null,8,["content"])])):$("v-if",!0)]}),_:1})])):$("v-if",!0),$(" Display error message "),!((de=e.modelValue)!=null&&de.response)||((ue=(pe=e.modelValue)==null?void 0:pe.response)==null?void 0:ue.state)==="processing"||((_e=(me=e.modelValue)==null?void 0:me.response)==null?void 0:_e.state)==="pending"?(l(),p("div",Co,[o(w,{closable:!1,class:"info"},{template:_(()=>[o(h,{icon:"fa-solid fa-exclamation-triangle",class:"mr-1"}),k(" "+c(e.$t("kling.name.failure")),1)]),default:_(()=>{var S,V,G,M,O,j,F,q;return[a("p",Ro,[o(h,{icon:"fa-solid fa-magic",class:"mr-1"}),k(" "+c(e.$t("kling.name.taskId"))+": "+c((S=e.modelValue)==null?void 0:S.id)+" ",1),o(m,{content:(V=e.modelValue)==null?void 0:V.id,class:"btn-copy"},null,8,["content"])]),(M=(G=e.modelValue)==null?void 0:G.response)!=null&&M.trace_id?(l(),p("p",Lo,[o(h,{icon:"fa-solid fa-hashtag",class:"mr-1"}),k(" "+c(e.$t("kling.name.traceId"))+": "+c((j=(O=e.modelValue)==null?void 0:O.response)==null?void 0:j.trace_id)+" ",1),o(m,{content:(q=(F=e.modelValue)==null?void 0:F.response)==null?void 0:q.trace_id,class:"btn-copy"},null,8,["content"])])):$("v-if",!0)]}),_:1})])):$("v-if",!0)])])}var Ao=y(mo,[["render",Uo],["__scopeId","data-v-547724c8"],["__file","/home/runner/work/Nexior/Nexior/src/components/kling/task/Preview.vue"]]);const Do=b({name:"RecentPanel",components:{TaskPreview:Ao,ElSkeleton:Fe,ElSkeletonItem:qe},emits:["reach-top"],data(){return{job:0}},computed:{tasks(){var e,t,s,d;return{...(e=this.$store.state.kling)==null?void 0:e.tasks,items:(d=(s=(t=this.$store.state.kling)==null?void 0:t.tasks)==null?void 0:s.items)==null?void 0:d.slice()}}},methods:{onHandleScroll(){const e=this.$refs.panel;console.log("reach-top reach-top reach-top"),e.scrollTop===0&&this.$emit("reach-top")}}}),Go={key:0,class:"tasks"},Mo={class:"left"},Oo={class:"main"},jo={key:1,class:"tasks"},Fo={key:2,class:"description"};function qo(e,t,s,d,g,f){var v,h,m,w,N,C,P,T;const i=n("el-skeleton-item"),u=n("el-skeleton"),r=n("task-preview");return l(),p("div",{ref:"panel",class:"panel recent",onScroll:t[0]||(t[0]=(...I)=>e.onHandleScroll&&e.onHandleScroll(...I))},[((v=e.tasks)==null?void 0:v.items)===void 0?(l(),p("div",Go,[(l(),p(U,null,A(3,I=>a("div",{key:I,class:"task placeholder"},[a("div",Mo,[o(u,{animated:""},{template:_(()=>[o(i,{variant:"image",class:"avatar"})]),_:1})]),a("div",Oo,[o(u,{animated:""},{template:_(()=>[o(i,{variant:"p",class:"title"}),o(i,{variant:"image",class:"icon"})]),_:1})])])),64))])):((m=(h=e.tasks)==null?void 0:h.items)==null?void 0:m.length)&&((N=(w=e.tasks)==null?void 0:w.items)==null?void 0:N.length)>0?(l(),p("div",jo,[$(" {{ tasks?.items }} "),(l(!0),p(U,null,A((C=e.tasks)==null?void 0:C.items,(I,R)=>(l(),L(r,{key:R,"model-value":I,class:"preview"},null,8,["model-value"]))),128))])):$("v-if",!0),((T=(P=e.tasks)==null?void 0:P.items)==null?void 0:T.length)===0?(l(),p("p",Fo,c(e.$t("kling.message.noTasks")),1)):$("v-if",!0)],544)}var zo=y(Do,[["render",qo],["__scopeId","data-v-abb7e68a"],["__file","/home/runner/work/Nexior/Nexior/src/components/kling/RecentPanel.vue"]]);const Bo="https://webhook.acedata.cloud/kling",Ko=b({name:"KlingIndex",components:{ConfigPanel:lo,Layout:We,RecentPanel:zo},data(){return{task:void 0,job:0,timer:void 0}},computed:{loading(){var e,t;return((t=(e=this.$store.state.kling)==null?void 0:e.status)==null?void 0:t.getApplications)===H.Request},service(){return this.$store.state.kling.service},credential(){return this.$store.state.kling.credential},config(){return this.$store.state.kling.config},initializing(){return this.$store.state.kling.status.getApplications===H.Request},needApply(){return this.$store.state.kling.status.getApplications===H.Success&&!this.application},application(){return this.$store.state.kling.application},applications(){return this.$store.state.kling.applications},tasks(){return this.$store.state.kling.tasks}},watch:{tasks:{handler(e,t){var s,d;((s=e==null?void 0:e.items)==null?void 0:s.length)>((d=t==null?void 0:t.items)==null?void 0:d.length)&&console.debug("new tasks detected")},deep:!0}},async mounted(){await this.onGetService(),await this.onGetApplication(),await this.onScrollDown(),await this.onGetTasks(),this.job=setInterval(()=>{this.onGetTasks()},5e3)},async unmounted(){clearInterval(this.job),clearInterval(this.timer)},methods:{async onReachTop(){var e,t,s;console.debug("reached top"),await this.onGetTasks({createdAtMax:(s=(t=(e=this.tasks)==null?void 0:e.items)==null?void 0:t[0])==null?void 0:s.created_at})},async onGetService(){console.debug("start onGetService"),await this.$store.dispatch("kling/getService"),console.debug("end onGetService")},async onGetApplication(){console.debug("start onGetApplication"),await this.$store.dispatch("kling/getApplications"),console.debug("end onGetApplication"),await this.onGetTasks()},onApply(){Ce.create({application:this.application}).then(({data:e})=>{this.application=e,E.success(this.$t("application.message.applySuccessfully"))}).catch(e=>{var t,s;((s=(t=e==null?void 0:e.response)==null?void 0:t.data)==null?void 0:s.code)===Re&&E.error(this.$t("application.message.alreadyApplied"))})},async onScrollDown(){setTimeout(()=>{const e=document.querySelector(".recent");e&&(e.scrollTop=e.scrollHeight)},500)},async onGetTasks(e){if(this.loading){console.debug("loading");return}console.debug("start onGetTasks",e);const{limit:t=5,createdAtMin:s,createdAtMax:d}=e||{};console.debug("limit",t,"createdAtMin",s,"createdAtMax",d),await this.$store.dispatch("kling/getTasks",{limit:t,createdAtMin:s,createdAtMax:d})},async onGenerate(){var s;const e={...this.config,callback_url:Bo},t=(s=this.credential)==null?void 0:s.token;if(!t){console.error("no token specified");return}E.info(this.$t("kling.message.startingTask")),Le.generate(e,{token:t}).then(()=>{E.success(this.$t("kling.message.startTaskSuccess")),this.$store.commit("kling/setConfig",{config:void 0})}).catch(d=>{var f,i;const g=(f=d==null?void 0:d.response)==null?void 0:f.data;((i=g==null?void 0:g.error)==null?void 0:i.code)===Ue?E.error(this.$t("kling.message.usedUp")):E.error(this.$t("kling.message.startTaskFailed"))}).finally(async()=>{setTimeout(async()=>{await this.onGetTasks(),await this.onScrollDown()},1e3)})}}});function Ho(e,t,s,d,g,f){const i=n("config-panel"),u=n("recent-panel"),r=n("layout");return l(),L(r,null,{config:_(()=>[o(i,{onGenerate:e.onGenerate},null,8,["onGenerate"])]),result:_(()=>[o(u,{class:"panel recent",onReachTop:e.onReachTop},null,8,["onReachTop"])]),_:1})}var ns=y(Ko,[["render",Ho],["__scopeId","data-v-e48d89a0"],["__file","/home/runner/work/Nexior/Nexior/src/pages/kling/Index.vue"]]);export{ns as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./vendor-others.cdfefb59.js";import{N as c}from"./Navigator.3204ea1d.js";import{A as m}from"./Status.ce9bc4cb.js";import{_ as u,K as i}from"./index.97386539.js";import{H as d,al as a,e as h,V as s,L as v,R as $,o as n}from"./vendor-@vue.6c0309d3.js";import"./vendor-element-plus.1fa87efb.js";import"./vendor-markdown.cf3e96ae.js";import"./vendor-fortawesome.2b54ad1b.js";import"./EditArray.fc90290f.js";import"./CopyToClipboard.dcbf7182.js";import"./vendor-axios.168e6950.js";import"./vendor-qrcode.6ab44f81.js";const N=d({name:"LayoutMain",components:{Navigator:c,ApplicationStatus:m},data(){return{mobile:window.innerWidth<768}},computed:{appName(){return this.$route.meta.appName},initializing(){var t;return((t=this.$store.state[this.appName])==null?void 0:t.status.getApplications)===i.Request},needApply(){return this.$store.state[this.appName].status.getApplications===i.Success&&!this.application},application(){return this.$store.state[this.appName].application},applications(){return this.$store.state[this.appName].applications},loading(){var t,e;return((e=(t=this.$store.state[this.appName])==null?void 0:t.status)==null?void 0:e.getApplications)===i.Request},service(){var t;return(t=this.$store.state[this.appName])==null?void 0:t.service}},mounted(){window.addEventListener("resize",()=>{this.mobile=window.innerWidth<768})}}),_={class:"wrapper"};function f(t,e,g,w,y,A){const p=a("router-view"),r=a("navigator"),l=a("application-status");return n(),h("div",_,[s(p,{class:"main"}),s(r,{class:"navigator",direction:t.mobile?"row":"column"},null,8,["direction"]),t.application?(n(),v(l,{key:0,class:"fixed right-2 top-2",application:t.application,applications:t.applications,initializing:t.initializing,"show-price":!1,authenticated:!!t.$store.state.token.access,service:t.service,"need-apply":t.needApply,onSelect:e[0]||(e[0]=o=>t.$store.dispatch(`${t.appName}/setApplication`,o)),onRefresh:e[1]||(e[1]=o=>t.$store.dispatch(`${t.appName}/getApplications`))},null,8,["application","applications","initializing","authenticated","service","need-apply"])):$("v-if",!0)])}var W=u(N,[["render",f],["__scopeId","data-v-63155678"],["__file","/home/runner/work/Nexior/Nexior/src/layouts/Main.vue"]]);export{W as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.el-button[data-v-4a88fdfb]{border-radius:20px}.wrapper[data-v-69ae9518]{width:100%;height:100%;display:flex;flex-direction:column;padding:30px}.el-button[data-v-69ae9518]{border-radius:20px}.title[data-v-69ae9518]{font-size:20px;font-weight:700;margin-bottom:20px}.introduction[data-v-69ae9518]{margin-bottom:20px;font-size:14px;color:var(--el-text-color-regular)}.operations[data-v-69ae9518]{margin-bottom:20px}.documents[data-v-69ae9518]{width:100%}.status[data-v-69ae9518]{margin-bottom:10px;width:-moz-fit-content;width:fit-content}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./vendor-others.cdfefb59.js";import{L as S}from"./Chatdoc.5263125f.js";import{u as D,E as L,x as N,k as z,Y as B,y as p,C as T,b as F,D as M}from"./vendor-element-plus.1fa87efb.js";import{A as P,_ as k,K as w}from"./index.97386539.js";import{H as E,al as l,o as n,e as b,V as s,M as o,P as K,L as m,R as h,f as c,T as a,S as d,U as R,av as O,O as j}from"./vendor-@vue.6c0309d3.js";import{A as q}from"./Status.ce9bc4cb.js";import"./vendor-markdown.cf3e96ae.js";import"./vendor-fortawesome.2b54ad1b.js";import"./vendor-axios.168e6950.js";import"./vendor-qrcode.6ab44f81.js";import"./CopyToClipboard.dcbf7182.js";const H=E({name:"UploadDocument",components:{ElButton:D,ElDialog:L,ElUpload:N,ElIcon:z,UploadFilled:B},data(){return{dialogVisible:!1,fileList:[],learning:!1,uploadUrl:P()+"/api/v1/files/"}},computed:{headers(){return{Authorization:`Bearer ${this.$store.state.token.access}`}},urls(){return this.fileList.map(e=>{var t;return(t=e==null?void 0:e.response)==null?void 0:t.file_url})}},async mounted(){},methods:{onExceed(){p.warning(this.$t("chatdoc.message.uploadDocumentsExceed"))},onError(){p.error(this.$t("chatdoc.message.uploadDocumentsError"))},async onSuccess(){p.success(this.$t("chatdoc.message.uploadDocumentsSuccess")),p.info(this.$t("chatdoc.message.startCreateDocument")),this.learning=!0,this.$store.dispatch("chatdoc/createDocument",{repositoryId:this.$route.params.repositoryId,fileUrl:this.urls[0],fileName:this.fileList[0].name}).then(()=>{p.success(this.$t("chatdoc.message.createDocumentSuccess")),this.dialogVisible=!1,this.$store.dispatch("chatdoc/getDocuments",{repositoryId:this.$route.params.repositoryId}),this.$store.dispatch("chatdoc/getApplications")}).catch(()=>{p.error(this.$t("chatdoc.message.createDocumentError"))}).finally(()=>{this.fileList=[],this.learning=!1})}}}),Y={key:1,class:"el-upload__text"},G={key:2};function J(e,t,_,$,C,I){const v=l("upload-filled"),y=l("el-icon"),r=l("el-upload"),f=l("el-dialog"),g=l("el-button");return n(),b(R,null,[s(f,{modelValue:e.dialogVisible,"onUpdate:modelValue":t[1]||(t[1]=u=>e.dialogVisible=u)},{default:o(()=>[s(r,{"file-list":e.fileList,"onUpdate:fileList":t[0]||(t[0]=u=>e.fileList=u),accept:".docx,.doc,.pdf,.txt,.csv,.enex,.epub,.eml,.html,.htm,.shtml,.md,.odt,.ppt,.pptx,.txt",drag:"",class:K({upload:!0}),name:"file","show-file-list":!0,limit:1,multiple:!1,action:e.uploadUrl,"on-exceed":e.onExceed,"on-error":e.onError,"on-success":e.onSuccess,headers:e.headers},{default:o(()=>[e.learning?h("v-if",!0):(n(),m(y,{key:0,class:"el-icon--upload"},{default:o(()=>[s(v)]),_:1})),e.learning?h("v-if",!0):(n(),b("div",Y,[c("p",null,a(e.$t("chatdoc.message.dragOrClickToUpload")),1),c("p",null,a(e.$t("chatdoc.message.supportedFiles")),1)])),e.learning?(n(),b("div",G,a(e.$t("chatdoc.message.learningDocument")),1)):h("v-if",!0)]),_:1},8,["file-list","action","on-exceed","on-error","on-success","headers"])]),_:1},8,["modelValue"]),s(g,{type:"primary",round:"",onClick:t[2]||(t[2]=u=>e.dialogVisible=!0)},{default:o(()=>[d(a(e.$t("chatdoc.button.uploadDocuments")),1)]),_:1})],64)}var Q=k(H,[["render",J],["__scopeId","data-v-4a88fdfb"],["__file","/home/runner/work/Nexior/Nexior/src/components/chatdoc/UploadDocument.vue"]]);const W=E({name:"ChatdocKnowledge",components:{Layout:S,ElButton:D,ElTable:T,ElTag:F,ApplicationStatus:q,ElTableColumn:M,UploadDocument:Q},data(){return{loading:!1,repositoryId:this.$route.params.repositoryId.toString()}},computed:{repository(){var e,t,_;return(_=(t=(e=this.$store.state)==null?void 0:e.chatdoc)==null?void 0:t.repositories)==null?void 0:_.find($=>$.id===this.repositoryId)},documents(){var e;return(e=this.repository)==null?void 0:e.documents},needApply(){return this.$store.state.chatdoc.status.getApplications===w.Success&&!this.application},service(){return this.$store.state.chatdoc.service},application(){return this.$store.state.chatdoc.application},initializing(){return this.$store.state.chatdoc.status.getApplications===w.Request}},async mounted(){console.log("start get documents"),this.loading=!0,this.$store.dispatch("chatdoc/getDocuments",{repositoryId:this.repositoryId}).then(()=>{this.loading=!1}).catch(()=>{this.loading=!1})},methods:{onDelete(e){this.$store.dispatch("chatdoc/deleteDocument",{id:e}).then(()=>{p.success(this.$t("chatdoc.message.deleteDocumentSuccess")),this.$store.dispatch("chatdoc/getDocuments",{repositoryId:this.repositoryId})})},onPreview(e){window.open(e,"_blank")}}}),X={class:"wrapper"},Z={class:"title"},x={class:"introduction"},ee={class:"status"},te={class:"operations"},oe={class:"documents"};function se(e,t,_,$,C,I){const v=l("application-status"),y=l("upload-document"),r=l("el-table-column"),f=l("el-tag"),g=l("el-button"),u=l("el-table"),U=l("layout"),V=O("loading");return n(),m(U,null,{chatdoc:o(()=>[c("div",X,[c("div",Z,a(e.$t("chatdoc.title.manage")),1),c("div",x,a(e.$t("chatdoc.message.introductionForKnowledge")),1),c("div",ee,[s(v,{"show-price":!1,initializing:e.initializing,application:e.application,"need-apply":e.needApply,service:e.service,onRefresh:t[0]||(t[0]=i=>e.$store.dispatch("chatdoc/getApplications"))},null,8,["initializing","application","need-apply","service"])]),c("div",te,[s(y)]),c("div",oe,[j((n(),m(u,{data:e.documents,border:""},{default:o(()=>[s(r,{prop:"id",label:"ID"}),s(r,{prop:"file_name",label:e.$t("chatdoc.field.fileName")},null,8,["label"]),s(r,{label:e.$t("chatdoc.field.fileExtension"),width:"100px"},{default:o(i=>[d(a(i.row.file_name.split(".").pop()),1)]),_:1},8,["label"]),s(r,{label:e.$t("chatdoc.field.createdAt"),width:"200px"},{default:o(i=>[d(a(i.row.created_at?e.$dayjs.format(i.row.created_at):""),1)]),_:1},8,["label"]),s(r,{label:e.$t("chatdoc.field.state"),width:"180px"},{default:o(i=>[i.row.state==="processing"?(n(),m(f,{key:0,type:"info"},{default:o(()=>[d(a(e.$t("chatdoc.field.stateProcessing")),1)]),_:1})):h("v-if",!0),i.row.state==="failed"?(n(),m(f,{key:1,type:"danger"},{default:o(()=>[d(a(e.$t("chatdoc.field.stateFailed")),1)]),_:1})):h("v-if",!0),i.row.state==="completed"?(n(),m(f,{key:2,type:"success"},{default:o(()=>[d(a(e.$t("chatdoc.field.stateCompleted")),1)]),_:1})):h("v-if",!0)]),_:1},8,["label"]),s(r,null,{default:o(i=>[s(g,{type:"primary",round:"",size:"small",onClick:A=>e.onPreview(i.row.file_url)},{default:o(()=>[d(a(e.$t("common.button.preview")),1)]),_:2},1032,["onClick"]),s(g,{type:"danger",round:"",size:"small",onClick:A=>e.onDelete(i.row.id)},{default:o(()=>[d(a(e.$t("common.button.delete")),1)]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[V,e.loading]])])])]),_:1})}var fe=k(W,[["render",se],["__scopeId","data-v-69ae9518"],["__file","/home/runner/work/Nexior/Nexior/src/pages/chatdoc/Manage.vue"]]);export{fe as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a9 as l,al as u,am as p}from"./vendor-others.cdfefb59.js";import{M as _}from"./vendor-markdown.cf3e96ae.js";import{a8 as m,_ as c}from"./index.97386539.js";import{H as i,m as h,ah as v,al as f,av as g,O as k,o as w,L as y}from"./vendor-@vue.6c0309d3.js";import"./vendor-highlight.js.6ee9ffbc.js";const M=async r=>{const n=(await l(()=>import("./vendor-highlight.js.6ee9ffbc.js"),["assets/vendor-highlight.js.6ee9ffbc.js","assets/vendor-highlight.js.4e8df926.css"])).default;console.debug("highlight.js loaded"),r.querySelectorAll("pre code").forEach(e=>{var s,a;const o=document.createElement("button");o.innerHTML=m.global.t("common.button.copy").toString(),o.addEventListener("click",()=>{u(e.innerText)}),(s=e.parentElement)!=null&&s.querySelector("button")||(a=e.parentElement)==null||a.prepend(o),n.highlightBlock(e)})},x=i({name:"VueMarkdown",props:{source:{type:String,required:!0},options:{type:Object,default:()=>({}),required:!1}},setup(r,{attrs:n}){const t=new _({...r.options,html:!0}).use(p,{delimiters:"all",throwOnError:!1,errorColor:"#cc0000",mathFence:!0}),e=h(()=>{const o=r.source;return t==null?void 0:t.render(o).replace(/<think>/g,'<div class="think">').replace(/<\/think>/g,"</div>")});return()=>v("div",{...n,innerHTML:e.value})}});var E=c(x,[["__file","/home/runner/work/Nexior/Nexior/src/components/common/VueMarkdown.vue"]]);const b=i({name:"ApiCode",directives:{highlight:M},components:{VueMarkdown:E},props:{content:{type:String,required:!1,default:""}},data(){},watch:{}});function $(r,n,t,e,o,s){const a=f("vue-markdown"),d=g("highlight");return k((w(),y(a,{source:r.content,class:"markdown-body"},null,8,["source"])),[[d]])}var T=c(b,[["render",$],["__scopeId","data-v-8173dc94"],["__file","/home/runner/work/Nexior/Nexior/src/components/common/MarkdownRenderer.vue"]]);export{T as M};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@media (prefers-color-scheme: dark){.markdown-body{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #484f58;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110,118,129,.4);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187,128,9,.15);--color-danger-fg: #f85149}}@media (prefers-color-scheme: light){.markdown-body{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #FFEBE9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-neutral-muted: rgba(175,184,193,.2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #cf222e}}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--color-fg-default);background-color:var(--color-canvas-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body a:active,.markdown-body a:hover{outline-width:0}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:600}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:600;padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-text-primary)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace,monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=button]::-moz-focus-inner,.markdown-body [type=reset]::-moz-focus-inner,.markdown-body [type=submit]::-moz-focus-inner{border-style:none;padding:0}.markdown-body [type=button]:-moz-focusring,.markdown-body [type=reset]:-moz-focusring,.markdown-body [type=submit]:-moz-focusring{outline:1px dotted ButtonText}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:-moz-max-content;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-body h2{font-weight:600;padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:600;font-size:1.25em}.markdown-body h4{font-weight:600;font-size:1em}.markdown-body h5{font-weight:600;font-size:.875em}.markdown-body h6{font-weight:600;font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body ::-moz-placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;appearance:none}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body [data-catalyst]{display:block}.markdown-body g-emoji{font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:400;line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body sup>a:before{content:"["}.markdown-body sup>a:after{content:"]"}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body ol[type=a]{list-style-type:lower-alpha}.markdown-body ol[type=i]{list-style-type:lower-roman}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:600}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:600;background:var(--color-canvas-subtle);border-top:0}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:400}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:3px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.6em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body[data-v-8173dc94]{background:none;padding-top:3px;color:inherit}.markdown-body ol[data-v-8173dc94]{list-style:initial}.markdown-body pre code[data-v-8173dc94]{color:#fff}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ab as Ie,ah as Te}from"./vendor-others.cdfefb59.js";import{_ as N,g as Ne,S as Ve,s as Fe,d as M,e as Ge,f as Me,h as fe,j as He,k as ve,l as Xe,m as ge,n as Je,o as $e,p as be,q as we,r as Be,t as ke,u as Ke,v as ye,w as Qe,x as Se,y as Ye,z as Ee,c as qe}from"./index.97386539.js";import{H as O,o as c,e as g,al as o,L as T,M as n,V as t,S as b,T as d,f as l,ai as H,U as V,O as K,W as Q,R as L,P as Oe}from"./vendor-@vue.6c0309d3.js";import{ar as Ce,as as ze,at as Pe,au as je,av as Ze,ac as We}from"./vendor-fortawesome.2b54ad1b.js";import{f as Ue,h as Y,i as q,j as z,k as Ae,l as Le,m as P,n as X,o as J,p as xe,E as et,q as tt,r as ot,s as st}from"./vendor-element-plus.1fa87efb.js";import{E as B,a as Re,b as De}from"./EditArray.fc90290f.js";const it=O({emits:["click"],computed:{dark(){return Ie("THEME")==="dark"},url(){var e;return(e=this.$store.state.site)==null?void 0:e.favicon}}}),nt=["src"];function at(e,s,m,u,$,k){return c(),g("img",{src:e.url,class:"logo tiny",onClick:s[0]||(s[0]=a=>e.$emit("click"))},null,8,nt)}var lt=N(it,[["render",at],["__file","/home/runner/work/Nexior/Nexior/src/components/common/LogoTiny.vue"]]),rt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAMAAAAKE/YAAAAAMFBMVEX///+3t7f4+Pi8vLzAwMDExMTS0tLIyMjk5OTz8/PY2NjOzs7u7u7d3d3p6enh4eFVKkJDAAAIfUlEQVR4nNVd15akOAylyRRQ9f9/O02BZJtgBQszfR/2zPahsJCvguVUFJYop35ux66pq6r6+fn9T910bTv3U2najBXK9zw2PxE07fz+n0Qf+raOyetL3g9PS7vgzRUYULfvZyXuR5nAgLF/SuK3UuJN7gf0PbyErDiieuU1zKmLyFJ3Y9u+vmh//V9dXT/b5VN3f+HbFq82nGivHH6999Vv8rC7P+NFzfBlF56xvl/sEy1Xbc8mZ9m3R7bcrO0jl+vXJH7J0YY78UvYKNuDjpWNTQd9tzd5ks9ePUm92u877WMlp4dhR+Y2OYkYdh3XmKclc9iATVwoXyFLZouXIobuBpEXlK+QcYbK7gOF2NpMaN2Vmfdr71LGirAbW5N3lr4F1rckC0GQbQw6cqrM1XACvzOr5EjT+2q+L24Vk6/sRGL7no6t5un9eQE+7JG4r+wk3+e9iGfXwzyeZHLjzDGFt0fEBB564ymOeRwzCg8dHaZ9kx8NZGZ8+UyOv0bSW3o9q5Tac5+0luajjGfqpsT2krIuTeaKZGQf4UUIKpx6xFbo2nGD9HSlpJZAGfSQILVjV02Z4CQsJhD2UdbcJ/dwyRfpNvozwaLo4q/0nMhLIrMThJSZZ4EhiJd6Ugti43SvzCTlPKnZmUNZMV+u4cYKwp85XlfcTBi/s6Z+MZ2LxADhGZzUDU9m5zjIr0woQhLxasAHWS7E9TgZU/Z1EBEIjbzxQYYxOudOxu73qTBcUGEaIzqD1hi96W6JTgzRoDSI/UhmITP7yUPFSYqaagD1R4wJkP8VnT8nTwVQqnauN06QjvtCvYt2IL3Zm/Uk9jjDz0RmMLggwx3SOuIUSniGpJv3bAJo1SAFr9mKH8aI+LqkI0RFtoIh9/L76Cc8GLCDoxxSjyAHgxxFYSEzJ18Ggly4YHQHnCQ2LRoCGINXQirim0JYUJpDatf/p24PP4mVwSblSg6MEhDGuzNVg6J5o8nEvAPAGZiAfk5MDRXNqxcmx/AVHPMprx8G1TEHwOzqTByseTgoDRxYDT6akSh9YSMzr6aLidOeTGCj3EqDkdC8GU9Q9c6voYlyJzxy0sOxOnRs8C3sQpSR92DOO4EDCXkAzoA935bPTy8AIgTBCIIyvyZsExF/uM2Byfk9A7VafuksfdyygFmJcc35NZ7tT5xUYMNwJYcI/FouGP7xOyT1YBOh+aVcsCHHBWCHZHLTxOfxF6ZA8HP82P7ASv4BJj5PMNMO/g3+H9ghqrtnGm4hIJLAd7byVxg5asGCA+AH2N2meYHvKPxZmQRIGtyMaOMweC/ZXJJJdJE0CF27Bm0oK8kWLKSWHxeILB8s7xN8gmxFi0VIFAkNqd5KiI3S7JBqJ7Ssycb70vAL2LAofMiE9hkBrQvX4OTXNLS4eGpwA8KlaxaGKHOy4OWWcSVoXSZz9ohYYLaxpB8bv4V2aFGeFiYOvqTb74V2mHkQ8IXjBKhMuKrMJIoLOQlmVGIiIlyPmXdguwJ6d8J/CZ1H0m4iB1Gr4D569HjCZalPaNoxeWtd5jKf4TRkpy30syh3KbLXPVZsWdIIQUK6dO8Jl+dkbUB6GfRranwIWx3hUzeVi5fRmggtDA6b/dWO3ELkLiF4QldqoXOPxhe8QOjt57LUpXhguGUhtEUFUtq9EBzUQluQWrphIV1oA1JLm0R6VFqh0z21eH30XmjFdofbF14dgC5PG1zS0w9pjuYFF2UYL9KHiXJGYhhXJkwLEk1RvrEMZVWmpgvSVC1XtEtNlYOAL1JYrdESOg3lcGtFQsVGs+Nu++msHdiu0BNEQQ5vYKssIWxQx3JNc1AqnbTFmg3qSoKmYz0mb//S7QDU1k5Vdu+VSnUFyA3aBES1ca9zkqb4PPVQUUVG74OVRfUNSqencXh+UR1sUnfqgy6+qLrVn75QThRt0I26VG0FU4dbRNfE1ULpqVVBIZBTN/kJ0PBDxY6QEbpp5v27JFCxI5xm1k3oIxT+Q+Wowgl93dIJhHzqVrW5erd0QrdIxUE8wFXxcL9IBXSlSRcLuSnq3NR+OZBq4ZWD1FXr8sn9wivVEjcPwtVuKtd6XOKmWUzoQeY/dCczHBcTKpZtnr2QB104gN70ukm+QNaHzBJV7DhbIAt/040ERMMXnbUDAwOtgvZVsUo0KaCi9Omib/SCqleKhE7KSsNIIt7IkFXoi40MSBrNO28X+ooHOKxWqPpuoVHRh7FDo3+pyHsorOZyG5R0w5kPUZmJffYFIrLhTLi1DzFJT0X+aWaZ3JGtfcJNlCvesTOuIpAcLBrdRIms5g4s+jFlM0PFPYY6ul1VtDG4PJzwqQHnGGpKKlA1fVKN0VqxX31Tx1DjOTBXaRFvs3vaWdkniPIEF3hdGgEmxpev0VpeHNf8ZuiROMBhet0hMch9qkogR2wXbeSojHI22jd5ifp1cLbY9dHB8NWhJCbOgkYzBxpFzxH3wu74F++ro8ckWsM7a5l7/IuzVnAxJX1MojGQ3shHslKCPPimY+b+jYfmU0qONPIOj5rzK9lDi33OyQttVpEaglXXMFoabQVmqny3QxaBW4opM3o4CtwDJazWGZtAUMi12ONkAtGMrNGS/1QI5yb+CxciLmc8EwoDKEokefK6CBKPRf47Mj/MEIujvv+MzA/6kKQLCR7y18q5Y8AjiWryrR1T9uwp/RqJ3YUdGWBxYUeR2RzN7gThn6ifCrtLaA7X/dwG4xtusvg+24uVihzKtr/Cqrh7OFPdcVlYcXItmyHS7x67ROwyxxTceAHegqsLHVOQ4WLH00sdE5DhUsev2IbaznR95gKrCnDGi0oXDOmTRrmvhP3i712+u+LvXXO84u9dKL2Cf3V33X7+i6u7N/y5S9IdvOvoF0G/19GP9tfR/wPQ21eEI8clLwAAAABJRU5ErkJggg==";const dt=O({name:"UserAvatar",data(){return{defaultAvatar:rt}},computed:{user(){var e;return(e=this.$store.getters)==null?void 0:e.user}}}),ct=["src"];function mt(e,s,m,u,$,k){var a;return c(),g("img",{src:((a=e.user)==null?void 0:a.avatar)||e.defaultAvatar,class:"avatar"},null,8,ct)}var ut=N(dt,[["render",mt],["__scopeId","data-v-1dac1046"],["__file","/home/runner/work/Nexior/Nexior/src/components/user/Avatar.vue"]]);const pt=O({name:"ThemeSelector",components:{ArrowDown:Ue,ElDropdown:Y,ElDropdownMenu:q,ElDropdownItem:z,ElIcon:Ae},data(){return{theme:"light"}},computed:{currentLabel(){return this.theme==="dark"?this.$t("common.theme.dark"):this.$t("common.theme.light")}},mounted(){this.theme=this.loadFromCookie(),this.applyTheme()},methods:{onSelect(e){this.theme=e,this.applyTheme()},applyTheme(){Te("THEME",this.theme,{path:"/",domain:Ne()}),this.theme==="dark"?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},loadFromCookie(){return Ie("THEME")==="dark"?"dark":"light"}}}),_t={class:"el-dropdown-link"};function ht(e,s,m,u,$,k){const a=o("arrow-down"),p=o("el-icon"),h=o("el-dropdown-item"),_=o("el-dropdown-menu"),r=o("el-dropdown");return c(),T(r,{trigger:"click",onCommand:e.onSelect},{dropdown:n(()=>[t(_,null,{default:n(()=>[t(h,{command:"light"},{default:n(()=>[b(d(e.$t("common.theme.light")),1)]),_:1}),t(h,{command:"dark"},{default:n(()=>[b(d(e.$t("common.theme.dark")),1)]),_:1})]),_:1})]),default:n(()=>[l("span",_t,[b(d(e.currentLabel)+" ",1),t(p,{class:"el-icon--right"},{default:n(()=>[t(a)]),_:1})])]),_:1},8,["onCommand"])}var ft=N(pt,[["render",ht],["__file","/home/runner/work/Nexior/Nexior/src/components/user/Theme.vue"]]);const vt=O({name:"LocaleSelector",components:{ElDropdown:Y,ElDropdownMenu:q,ElDropdownItem:z,ElIcon:Ae,ArrowDown:Ue},data(){return{locales:Ve}},computed:{value(){return this.$i18n.locale},currentLabel(){const e=this.locales.find(s=>s.value===this.value);return e?e.label:this.value}},methods:{async onSelectLocale(e){this.$router.push({query:{...this.$route.query,locale:void 0}}),await Fe(e),Te("LOCALE",e,{path:"/",domain:Ne()})}}}),gt={class:"el-dropdown-link"};function $t(e,s,m,u,$,k){const a=o("arrow-down"),p=o("el-icon"),h=o("el-dropdown-item"),_=o("el-dropdown-menu"),r=o("el-dropdown");return c(),T(r,{trigger:"click",onCommand:e.onSelectLocale},{dropdown:n(()=>[t(_,null,{default:n(()=>[(c(!0),g(V,null,H(e.locales,(f,i)=>(c(),T(h,{key:i,command:f.value},{default:n(()=>[b(d(f.label),1)]),_:2},1032,["command"]))),128))]),_:1})]),default:n(()=>[l("span",gt,[b(d(e.currentLabel)+" ",1),t(p,{class:"el-icon--right"},{default:n(()=>[t(a)]),_:1})])]),_:1},8,["onCommand"])}var bt=N(vt,[["render",$t],["__file","/home/runner/work/Nexior/Nexior/src/components/user/Locale.vue"]]);const wt=O({name:"GeneralSettings",components:{ThemeSwitcher:ft,LocaleSwitcher:bt}}),kt={class:"flex justify-between items-center mb-4"},yt={class:"block mb-2 text-sm"},St={class:"flex justify-between items-center mb-4"},Et={class:"block mb-2 text-sm"};function It(e,s,m,u,$,k){const a=o("theme-switcher"),p=o("locale-switcher");return c(),g(V,null,[l("div",kt,[l("label",yt,d(e.$t("common.settings.theme")),1),t(a)]),l("div",St,[l("label",Et,d(e.$t("common.settings.language")),1),t(p)])],64)}var Tt=N(wt,[["render",It],["__file","/home/runner/work/Nexior/Nexior/src/components/setting/General.vue"]]);const Nt=O({name:"SiteIndex",components:{EditText:B,EditImage:Re,EditArray:De,ElDivider:Le,ElImage:P,ElForm:X,ElFormItem:J},data(){return{editing:{title:!1}}},computed:{site(){return this.$store.getters.site}},methods:{onSave(e){var m;const s={...this.site,...e};M.update((m=this.site)==null?void 0:m.id,s).then(()=>{var u;console.debug("getSite for id",(u=this.site)==null?void 0:u.id),this.$store.dispatch("getSite")})}}}),Ot={class:"block w-full"},Ct={class:"block tip"},Ut={class:"block w-full"},At={class:"block tip"},Lt={class:"block w-full"},Rt={class:"block tip"},Dt={class:"block w-full"},Vt={class:"block tip"},Ft={class:"block w-full"},Gt={class:"block tip"};function Mt(e,s,m,u,$,k){const a=o("el-form-item"),p=o("edit-text"),h=o("el-image"),_=o("edit-image"),r=o("el-divider"),f=o("edit-array"),i=o("el-form");return c(),T(i,{model:e.site,class:"form","label-width":"auto",style:{"max-width":"600px"}},{default:n(()=>[t(a,{label:e.$t("site.field.origin")},{default:n(()=>[l("span",Ot,d(e.site.origin),1),l("span",Ct,d(e.$t("site.message.originTip")),1)]),_:1},8,["label"]),t(a,{label:e.$t("site.field.title")},{default:n(()=>[l("span",Ut,[b(d(e.site.title)+" ",1),t(p,{"model-value":e.site.title,title:e.$t("site.title.editTitle"),placeholder:e.$t("site.placeholder.title"),onConfirm:s[0]||(s[0]=v=>e.onSave({title:v}))},null,8,["model-value","title","placeholder"])]),l("span",At,d(e.$t("site.message.titleTip")),1)]),_:1},8,["label"]),t(a,{label:e.$t("site.field.logo")},{default:n(()=>[l("span",Lt,[t(h,{src:e.site.logo,class:"logo"},null,8,["src"]),t(_,{"model-value":e.site.logo,title:e.$t("site.title.editLogo"),tip:e.$t("site.message.editLogoTip"),onConfirm:s[1]||(s[1]=v=>e.onSave({logo:v}))},null,8,["model-value","title","tip"])]),l("span",Rt,d(e.$t("site.message.logoTip")),1)]),_:1},8,["label"]),t(a,{label:e.$t("site.field.favicon")},{default:n(()=>[l("span",Dt,[t(h,{src:e.site.favicon,class:"favicon"},null,8,["src"]),t(_,{"model-value":e.site.favicon,title:e.$t("site.title.editFavicon"),tip:e.$t("site.message.editFaviconTip"),onConfirm:s[2]||(s[2]=v=>e.onSave({favicon:v}))},null,8,["model-value","title","tip"])]),l("span",Vt,d(e.$t("site.message.faviconTip")),1)]),_:1},8,["label"]),t(r,{"border-style":"dashed"}),t(a,{label:e.$t("site.field.admins")},{default:n(()=>{var v,C;return[l("span",Ft,[b(d((v=e.site.admins)==null?void 0:v.join(", "))+" ",1),t(f,{"model-value":((C=e.site)==null?void 0:C.admins)||[],title:e.$t("site.title.editAdmins"),placeholder:e.$t("site.placeholder.admins"),tip:e.$t("site.message.adminsTip2"),min:1,"min-error-message":e.$t("site.message.atLeastOneAdmin"),onConfirm:s[3]||(s[3]=E=>e.onSave({admins:E}))},null,8,["model-value","title","placeholder","tip","min-error-message"])]),l("span",Gt,d(e.$t("site.message.adminsTip")),1)]}),_:1},8,["label"])]),_:1},8,["model"])}var Ht=N(Nt,[["render",Mt],["__scopeId","data-v-e38df654"],["__file","/home/runner/work/Nexior/Nexior/src/components/setting/Site.vue"]]);const Xt=O({name:"SettingSeo",components:{EditText:B,EditArray:De,ElForm:X,ElFormItem:J},data(){return{editing:{title:!1}}},computed:{site(){return this.$store.getters.site}},methods:{onSave(e){var m;const s={...this.site,...e};M.update((m=this.site)==null?void 0:m.id,s).then(()=>{var u;console.debug("getSite for id",(u=this.site)==null?void 0:u.id),this.$store.dispatch("getSite")})}}}),Jt={class:"block w-full"},Bt={class:"block tip"},Kt={class:"block w-full"},Qt={class:"block tip"};function Yt(e,s,m,u,$,k){const a=o("edit-text"),p=o("el-form-item"),h=o("edit-array"),_=o("el-form");return c(),T(_,{model:e.site,class:"form","label-width":"auto",style:{"max-width":"600px"}},{default:n(()=>[t(p,{label:e.$t("site.field.description")},{default:n(()=>[l("span",Jt,[b(d(e.site.description)+" ",1),t(a,{"model-value":e.site.description,title:e.$t("site.title.editDescription"),placeholder:e.$t("site.placeholder.description"),onConfirm:s[0]||(s[0]=r=>e.onSave({description:r}))},null,8,["model-value","title","placeholder"])]),l("span",Bt,d(e.$t("site.message.descriptionTip")),1)]),_:1},8,["label"]),t(p,{label:e.$t("site.field.keywords")},{default:n(()=>{var r,f;return[l("span",Kt,[b(d((r=e.site.keywords)==null?void 0:r.join(", "))+" ",1),t(h,{"model-value":((f=e.site)==null?void 0:f.keywords)||[],title:e.$t("site.title.editKeywords"),placeholder:e.$t("site.placeholder.keywords"),tip:e.$t("site.message.keywordsTip2"),onConfirm:s[1]||(s[1]=i=>e.onSave({keywords:i}))},null,8,["model-value","title","placeholder","tip"])]),l("span",Qt,d(e.$t("site.message.keywordsTip")),1)]}),_:1},8,["label"])]),_:1},8,["model"])}var qt=N(Xt,[["render",Yt],["__scopeId","data-v-57cb41c4"],["__file","/home/runner/work/Nexior/Nexior/src/components/setting/Seo.vue"]]);const zt=O({name:"SiteIndex",components:{EditText:B,ElForm:X,ElFormItem:J},data(){return{editing:{title:!1}}},computed:{site(){return this.$store.getters.site}},methods:{onSave(e){var m;const s={...this.site,...e};M.update((m=this.site)==null?void 0:m.id,s).then(()=>{var u;console.debug("getSite for id",(u=this.site)==null?void 0:u.id),this.$store.dispatch("getSite")})}}}),Pt={class:"block tip"},jt={class:"block tip"};function Zt(e,s,m,u,$,k){const a=o("edit-text"),p=o("el-form-item"),h=o("el-form");return c(),T(h,{model:e.site,class:"form","label-width":"auto",style:{"max-width":"600px"}},{default:n(()=>[t(p,{label:e.$t("site.field.distributionDefaultInviterId")},{default:n(()=>{var _,r;return[b(d((_=e.site.distribution)==null?void 0:_.default_inviter_id)+" ",1),t(a,{"model-value":(r=e.site.distribution)==null?void 0:r.default_inviter_id,title:e.$t("site.title.editDistributionDefaultInviterId"),placeholder:e.$t("site.placeholder.editDistributionDefaultInviterId"),onConfirm:s[0]||(s[0]=f=>e.onSave({distribution:{...e.site.distribution,default_inviter_id:f}}))},null,8,["model-value","title","placeholder"]),l("span",Pt,d(e.$t("site.message.distributionDefaultInviterIdTip")),1)]}),_:1},8,["label"]),t(p,{label:e.$t("site.field.distributionForceInviterId")},{default:n(()=>{var _,r;return[b(d((_=e.site.distribution)==null?void 0:_.force_inviter_id)+" ",1),t(a,{"model-value":(r=e.site.distribution)==null?void 0:r.force_inviter_id,title:e.$t("site.title.editDistributionForceInviterId"),placeholder:e.$t("site.placeholder.editDistributionForceInviterId"),onConfirm:s[1]||(s[1]=f=>e.onSave({distribution:{...e.site.distribution,force_inviter_id:f}}))},null,8,["model-value","title","placeholder"]),l("span",jt,d(e.$t("site.message.distributionForceInviterIdTip")),1)]}),_:1},8,["label"])]),_:1},8,["model"])}var Wt=N(zt,[["render",Zt],["__scopeId","data-v-4ed92693"],["__file","/home/runner/work/Nexior/Nexior/src/components/setting/Distribution.vue"]]);const xt=O({name:"SiteIndex",components:{EditText:B,EditImage:Re,ElImage:P,ElForm:X,ElSwitch:xe,ElFormItem:J},data(){return{editing:{title:!1}}},computed:{site(){return this.$store.getters.site}},methods:{onSave(e){var m;const s={...this.site,...e};M.update((m=this.site)==null?void 0:m.id,s).then(()=>{var u;console.debug("getSite for id",(u=this.site)==null?void 0:u.id),this.$store.dispatch("getSite")})}}}),eo={class:"w-full"},to={class:"block tip w-full"},oo={key:0},so={class:"block w-full"},io={class:"block w-full"};function no(e,s,m,u,$,k){const a=o("el-switch"),p=o("el-form-item"),h=o("el-image"),_=o("edit-image"),r=o("edit-text"),f=o("el-form");return c(),T(f,{model:e.site,class:"form","label-width":"auto",style:{"max-width":"600px"}},{default:n(()=>[(c(),g(V,null,H(["chatgpt","grok","deepseek","midjourney","qrart","suno","luma","pika","kling","flux","hailuo","headshots"],(i,v)=>t(p,{key:v,label:e.$t("site.field.features"+i.charAt(0).toUpperCase()+i.slice(1))},{default:n(()=>{var C,E,A,R,F,G;return[l("div",eo,[t(a,{"model-value":((C=e.site.features[i])==null?void 0:C.enabled)||!1,"inline-prompt":"","active-text":e.$t("site.button.enabled"),"inactive-text":e.$t("site.button.disabled"),"onUpdate:modelValue":w=>e.onSave({features:{...e.site.features,[i]:{...e.site.features[i],enabled:w}}})},null,8,["model-value","active-text","inactive-text","onUpdate:modelValue"])]),l("span",to,d(e.$t("site.message.features"+i.charAt(0).toUpperCase()+i.slice(1))),1),i==="support"?K((c(),g("div",oo,[t(p,{label:"WeChat"},{default:n(()=>{var w,y;return[t(a,{"model-value":((y=(w=e.site.features[i])==null?void 0:w.wechat)==null?void 0:y.enabled)||!1,"inline-prompt":"","active-text":e.$t("site.button.enabled"),"inactive-text":e.$t("site.button.disabled"),"onUpdate:modelValue":I=>{var S;return e.onSave({features:{...e.site.features,[i]:{...e.site.features[i],wechat:{...(S=e.site.features[i])==null?void 0:S.wechat,enabled:I}}}})}},null,8,["model-value","active-text","inactive-text","onUpdate:modelValue"])]}),_:2},1024),K(t(p,{label:e.$t("site.field.qr")},{default:n(()=>{var w,y,I,S;return[l("span",so,[t(h,{src:(y=(w=e.site.features[i])==null?void 0:w.wechat)==null?void 0:y.qr},null,8,["src"]),t(_,{"model-value":(S=(I=e.site.features[i])==null?void 0:I.wechat)==null?void 0:S.qr,title:e.$t("site.title.editQR"),tip:e.$t("site.message.editQRTip"),onConfirm:D=>{var U;return e.onSave({features:{...e.site.features,[i]:{...e.site.features[i],wechat:{...(U=e.site.features[i])==null?void 0:U.wechat,qr:D}}}})}},null,8,["model-value","title","tip","onConfirm"])])]}),_:2},1032,["label"]),[[Q,(A=(E=e.site.features[i])==null?void 0:E.wechat)==null?void 0:A.enabled]]),t(p,{label:"Discord"},{default:n(()=>{var w,y;return[t(a,{"model-value":((y=(w=e.site.features[i])==null?void 0:w.discord)==null?void 0:y.enabled)||!1,"inline-prompt":"","active-text":e.$t("site.button.enabled"),"inactive-text":e.$t("site.button.disabled"),"onUpdate:modelValue":I=>{var S;return e.onSave({features:{...e.site.features,[i]:{...e.site.features[i],discord:{...(S=e.site.features[i])==null?void 0:S.discord,enabled:I}}}})}},null,8,["model-value","active-text","inactive-text","onUpdate:modelValue"])]}),_:2},1024),K(t(p,{label:e.$t("site.field.url")},{default:n(()=>{var w,y,I,S;return[l("span",io,[b(d((y=(w=e.site.features[i])==null?void 0:w.discord)==null?void 0:y.url)+" ",1),t(r,{"model-value":(S=(I=e.site.features[i])==null?void 0:I.discord)==null?void 0:S.url,title:e.$t("site.title.editUrl"),placeholder:e.$t("site.placeholder.editUrl"),onConfirm:D=>{var U;return e.onSave({features:{...e.site.features,[i]:{...e.site.features[i],discord:{...(U=e.site.features[i])==null?void 0:U.discord,url:D}}}})}},null,8,["model-value","title","placeholder","onConfirm"])])]}),_:2},1032,["label"]),[[Q,(F=(R=e.site.features[i])==null?void 0:R.discord)==null?void 0:F.enabled]])],512)),[[Q,(G=e.site.features[i])==null?void 0:G.enabled]]):L("v-if",!0)]}),_:2},1032,["label"])),64))]),_:1},8,["model"])}var ao=N(xt,[["render",no],["__scopeId","data-v-7089d567"],["__file","/home/runner/work/Nexior/Nexior/src/components/setting/Function.vue"]]);const lo=O({name:"UserSetting",components:{ElDialog:et,ElMenu:tt,ElMenuItem:ot,FontAwesomeIcon:Ce,GeneralSetting:Tt,SiteSetting:Ht,SeoSetting:qt,DistributionSetting:Wt,FunctionSetting:ao},props:{visible:{type:Boolean,default:!1}},emits:["update:visible"],data(){return{activeTab:"general",showSuggestions:!0,navItems:[{key:"general",label:this.$t("common.settings.general"),icon:ze},{key:"site",label:this.$t("common.settings.site"),icon:Pe},{key:"seo",label:this.$t("common.settings.seo"),icon:je},{key:"distribution",label:this.$t("common.settings.distribution"),icon:Ze},{key:"function",label:this.$t("common.settings.function"),icon:We}]}},computed:{currentTabTitle(){const e=this.navItems.find(s=>s.key===this.activeTab);return e?e.label:""},isSiteAdmin(){var e,s,m,u,$;return!!(($=(m=(s=(e=this.$store)==null?void 0:e.state)==null?void 0:s.site)==null?void 0:m.admins)!=null&&$.includes((u=this.$store.getters.user)==null?void 0:u.id))}},methods:{onClose(){this.$emit("update:visible",!1)}}}),ro={class:"flex settings"},co={class:"w-40 h-full border-r"},mo={class:"flex-1 p-6 overflow-y-auto"},uo={key:0},po={key:1},_o={key:2},ho={key:3},fo={key:4};function vo(e,s,m,u,$,k){const a=o("font-awesome-icon"),p=o("el-menu-item"),h=o("el-menu"),_=o("general-setting"),r=o("site-setting"),f=o("seo-setting"),i=o("distribution-setting"),v=o("function-setting"),C=o("el-dialog");return c(),T(C,{"model-value":e.visible,onClose:e.onClose},{default:n(()=>[l("div",ro,[l("aside",co,[t(h,{class:"border-r-0"},{default:n(()=>[(c(!0),g(V,null,H(e.navItems,(E,A)=>(c(),T(p,{key:A,index:E.key,class:Oe(["flex items-center px-2 cursor-pointer py-2",e.activeTab===E.key?"active":""]),onClick:R=>e.activeTab=E.key},{default:n(()=>[t(a,{icon:E.icon,class:"mr-2"},null,8,["icon"]),b(" "+d(E.label),1)]),_:2},1032,["index","class","onClick"]))),128))]),_:1})]),l("main",mo,[e.activeTab==="general"?(c(),g("div",uo,[t(_)])):e.activeTab==="site"&&e.isSiteAdmin?(c(),g("div",po,[t(r)])):e.activeTab==="seo"&&e.isSiteAdmin?(c(),g("div",_o,[t(f)])):e.activeTab==="distribution"&&e.isSiteAdmin?(c(),g("div",ho,[t(i)])):e.activeTab==="function"&&e.isSiteAdmin?(c(),g("div",fo,[t(v)])):L("v-if",!0)])])]),_:1},8,["model-value","onClose"])}var go=N(lo,[["render",vo],["__scopeId","data-v-17be4dfc"],["__file","/home/runner/work/Nexior/Nexior/src/components/user/Setting.vue"]]);const $o=O({name:"UserCenter",components:{UserAvatar:ut,UserSetting:go,FontAwesomeIcon:Ce,ElDivider:Le,ElDropdownMenu:q,ElDropdownItem:z,ElDropdown:Y},data(){return{showMenu:!1,showSetting:!1}},computed:{user(){var e;return(e=this.$store.getters)==null?void 0:e.user}},mounted(){document.addEventListener("click",this.closeMenu)},unmounted(){document.removeEventListener("click",this.closeMenu)},methods:{toggleMenu(){this.showMenu=!this.showMenu},closeMenu(e){const s=e.target;this.$el.contains(s)||(this.showMenu=!1)},async onLogout(){await this.$store.dispatch("logout")},onConsole(){this.$router.push({name:Ge})},onDistribution(){this.$router.push({name:Me})},onSettings(){this.showSetting=!0}}}),bo={class:"center"},wo={key:0,class:"px-4 py-4 text-sm font-medium"};function ko(e,s,m,u,$,k){const a=o("user-avatar"),p=o("el-divider"),h=o("font-awesome-icon"),_=o("el-dropdown-item"),r=o("el-dropdown-menu"),f=o("el-dropdown"),i=o("user-setting");return c(),g(V,null,[l("div",bo,[t(f,{trigger:"click"},{dropdown:n(()=>{var v;return[e.user.email?(c(),g("div",wo,d((v=e.user)==null?void 0:v.email),1)):L("v-if",!0),e.user.email?(c(),T(p,{key:1,class:"mb-1 mt-1"})):L("v-if",!0),t(r,null,{default:n(()=>[t(_,{class:"py-2",onClick:e.onSettings},{default:n(()=>[t(h,{icon:"fa-solid fa-cog",class:"mr-1"}),b(" "+d(e.$t("common.nav.setting")),1)]),_:1},8,["onClick"]),t(_,{class:"py-2",onClick:e.onDistribution},{default:n(()=>[t(h,{icon:"fa-solid fa-coins",class:"mr-1"}),b(" "+d(e.$t("common.nav.distribution")),1)]),_:1},8,["onClick"]),t(_,{class:"py-2",onClick:e.onConsole},{default:n(()=>[t(h,{icon:"fa-solid fa-compass",class:"mr-1"}),b(" "+d(e.$t("common.nav.console")),1)]),_:1},8,["onClick"]),t(_,{class:"py-2",onClick:e.onLogout},{default:n(()=>[t(h,{icon:"fa-solid fa-arrow-right-from-bracket",class:"mr-1"}),b(" "+d(e.$t("common.nav.logOut")),1)]),_:1},8,["onClick"])]),_:1})]}),default:n(()=>[t(a,{class:"cursor-pointer"})]),_:1})]),t(i,{visible:e.showSetting,"onUpdate:visible":s[0]||(s[0]=v=>e.showSetting=v)},null,8,["visible"])],64)}var yo=N($o,[["render",ko],["__file","/home/runner/work/Nexior/Nexior/src/components/user/Center.vue"]]);const So=O({name:"Navigator",components:{ElImage:P,LogoTiny:lt,ElTooltip:st,UserCenter:yo},props:{direction:{type:String,default:"column"}},data(){return{operating:{dark:!1,locale:!1},activeIndex:this.$route.name}},computed:{links(){var s,m,u,$,k,a,p,h,_,r,f,i,v,C,E,A,R,F,G,w,y,I,S,D,U,j,Z,W,x,ee,te,oe,se,ie,ne,ae,le,re,de,ce,me,ue,pe,_e,he;const e=[];return(k=($=(u=(m=(s=this.$store)==null?void 0:s.state)==null?void 0:m.site)==null?void 0:u.features)==null?void 0:$.chatgpt)!=null&&k.enabled&&e.push({route:{name:fe},displayName:this.$t("common.nav.chatgpt"),logo:"https://cdn.acedata.cloud/7dljuv.png",routes:[He,fe]}),(r=(_=(h=(p=(a=this.$store)==null?void 0:a.state)==null?void 0:p.site)==null?void 0:h.features)==null?void 0:_.deepseek)!=null&&r.enabled&&e.push({route:{name:ve},displayName:this.$t("common.nav.deepseek"),logo:"https://cdn.acedata.cloud/4rb23t.jpg",routes:[Xe,ve]}),(E=(C=(v=(i=(f=this.$store)==null?void 0:f.state)==null?void 0:i.site)==null?void 0:v.features)==null?void 0:C.grok)!=null&&E.enabled&&e.push({route:{name:ge},displayName:this.$t("common.nav.grok"),logo:"https://cdn.acedata.cloud/p1ge98.png",routes:[Je,ge]}),(w=(G=(F=(R=(A=this.$store)==null?void 0:A.state)==null?void 0:R.site)==null?void 0:F.features)==null?void 0:G.midjourney)!=null&&w.enabled&&e.push({route:{name:$e},displayName:this.$t("common.nav.midjourney"),logo:"https://cdn.acedata.cloud/wto43b.png",routes:[$e]}),(U=(D=(S=(I=(y=this.$store)==null?void 0:y.state)==null?void 0:I.site)==null?void 0:S.features)==null?void 0:D.flux)!=null&&U.enabled&&e.push({route:{name:be},displayName:this.$t("common.nav.flux"),logo:"https://cdn.acedata.cloud/ogm2oa.png",routes:[be]}),(ee=(x=(W=(Z=(j=this.$store)==null?void 0:j.state)==null?void 0:Z.site)==null?void 0:W.features)==null?void 0:x.suno)!=null&&ee.enabled&&e.push({route:{name:we},displayName:this.$t("common.nav.suno"),logo:"https://cdn.acedata.cloud/l3ffw7.jpg",routes:[we,Be]}),(ne=(ie=(se=(oe=(te=this.$store)==null?void 0:te.state)==null?void 0:oe.site)==null?void 0:se.features)==null?void 0:ie.luma)!=null&&ne.enabled&&e.push({route:{name:ke},displayName:this.$t("common.nav.luma"),logo:"https://cdn.acedata.cloud/ahjfwi.png",routes:[ke,Ke]}),(ce=(de=(re=(le=(ae=this.$store)==null?void 0:ae.state)==null?void 0:le.site)==null?void 0:re.features)==null?void 0:de.hailuo)!=null&&ce.enabled&&e.push({route:{name:ye},displayName:this.$t("common.nav.hailuo"),logo:"https://cdn.acedata.cloud/0qg4gp.png",routes:[ye,Qe]}),(he=(_e=(pe=(ue=(me=this.$store)==null?void 0:me.state)==null?void 0:ue.site)==null?void 0:pe.features)==null?void 0:_e.kling)!=null&&he.enabled&&e.push({route:{name:Se},displayName:this.$t("common.nav.kling"),logo:"https://cdn.acedata.cloud/qpbbbb.jpg",routes:[Se,Ye]}),this.direction==="row"&&e.push({route:{name:Ee},displayName:this.$t("common.nav.profile"),icon:"fa-solid fa-user",routes:[Ee]}),e},authenticated(){return!!this.$store.state.token.access}},methods:{onHome(){this.$router.push({name:qe})}}}),Eo=["direction"],Io={class:"top"},To={key:0},No={class:"bottom"};function Oo(e,s,m,u,$,k){const a=o("logo-tiny"),p=o("el-image"),h=o("el-tooltip"),_=o("user-center");return c(),g("div",{direction:e.direction,class:"navigator"},[l("div",Io,[e.direction==="column"?(c(),g("div",To,[t(a,{onClick:e.onHome},null,8,["onClick"])])):L("v-if",!0),(c(!0),g(V,null,H(e.links,(r,f)=>(c(),g("div",{key:f,class:Oe({link:!0,active:r.routes.includes(e.$route.name)})},[e.direction==="column"?(c(),T(h,{key:0,effect:"dark",content:r.displayName,placement:"right"},{default:n(()=>[r.logo?(c(),T(p,{key:0,src:r.logo,class:"avatar",onClick:i=>e.$router.push(r.route)},null,8,["src","onClick"])):L("v-if",!0)]),_:2},1032,["content"])):L("v-if",!0)],2))),128))]),l("div",No,[t(_)])],8,Eo)}var Vo=N(So,[["render",Oo],["__scopeId","data-v-a43dbcba"],["__file","/home/runner/work/Nexior/Nexior/src/components/common/Navigator.vue"]]);export{Vo as N};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./vendor-others.cdfefb59.js";import{L as e}from"./Chatdoc.5263125f.js";import{_ as r}from"./index.97386539.js";import{H as n,al as a,L as s,M as i,o as m,S as p}from"./vendor-@vue.6c0309d3.js";import"./vendor-element-plus.1fa87efb.js";import"./vendor-markdown.cf3e96ae.js";import"./vendor-fortawesome.2b54ad1b.js";import"./vendor-axios.168e6950.js";import"./vendor-qrcode.6ab44f81.js";const c=n({name:"ChatdocSetting",components:{Layout:e},data(){return{}},async mounted(){},methods:{}});function d(u,t,_,f,l,x){const o=a("layout");return m(),s(o,null,{chatdoc:i(()=>t[0]||(t[0]=[p(" Setting ")])),_:1})}var N=r(c,[["render",d],["__file","/home/runner/work/Nexior/Nexior/src/pages/chatdoc/Setting.vue"]]);export{N as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./vendor-others.cdfefb59.js";import{A as Q,_ as C,I as G,E as W,L as X,F as Y,M as Z}from"./index.97386539.js";import{E as B,J as j,K as q,l as x,P as ee,u as P,y as S,C as te,D as oe,b as ie,Q as ne,H as le,R as ae,k as se}from"./vendor-element-plus.1fa87efb.js";import{H as w,al as o,o as a,L as f,M as n,f as r,V as i,S as m,T as l,e as v,U as z,ai as F,R as h,P as pe}from"./vendor-@vue.6c0309d3.js";import{C as re}from"./CopyToClipboard.dcbf7182.js";import{ar as ce}from"./vendor-fortawesome.2b54ad1b.js";const de=w({name:"ApplicationConfirm",components:{ElDialog:B,ElDescriptions:j,ElDescriptionsItem:q,ElDivider:x,ElCheckbox:ee,ElButton:P},props:{service:{type:Object,required:!0},visible:{type:Boolean,required:!1,default:!1}},emits:["update:visible","apply"],data(){return{checked:!0}},watch:{},methods:{getBaseUrlPlatform:Q,onApply(){if(!this.checked){S.error(this.$t("application.message.notAgreePolicy"));return}this.$emit("apply")}}}),ue={class:"content"},me={class:"policy"},fe={class:"policy-title"},_e=["href"];function ye(e,t,d,k,I,E){const c=o("el-descriptions-item"),b=o("el-descriptions"),_=o("el-divider"),$=o("el-checkbox"),s=o("el-button"),u=o("el-dialog");return a(),f(u,{"model-value":e.visible,width:"500px",title:e.$t("application.message.confirmApplying"),center:"",onClose:t[1]||(t[1]=p=>e.$emit("update:visible",!1))},{default:n(()=>[r("div",ue,[i(b,{column:1},{default:n(()=>[i(c,{label:e.$t("application.field.name")},{default:n(()=>{var p;return[m(l((p=e.service)==null?void 0:p.title),1)]}),_:1},8,["label"]),i(c,{label:e.$t("application.field.freeAmount")},{default:n(()=>{var p,g;return[r("span",null,l((p=e.service)==null?void 0:p.free_amount)+" "+l(e.$t(`service.unit.${(g=e.service)==null?void 0:g.unit}`)),1)]}),_:1},8,["label"])]),_:1}),i(_,{class:"my-2"}),r("div",me,[i($,{modelValue:e.checked,"onUpdate:modelValue":t[0]||(t[0]=p=>e.checked=p),size:"large",class:"policy-checkbox"},null,8,["modelValue"]),r("span",fe,l(e.$t("application.message.readPolicy")),1),r("a",{class:"policy-title highlight",target:"_blank",href:e.getBaseUrlPlatform()+"/terms"}," \xA0"+l(e.$t("application.message.policy")),9,_e)]),i(s,{round:"",type:"primary",onClick:e.onApply},{default:n(()=>[m(l(e.$t("common.button.apply")),1)]),_:1},8,["onClick"])])]),_:1},8,["model-value","title"])}var ve=C(de,[["render",ye],["__scopeId","data-v-666cd2fe"],["__file","/home/runner/work/Nexior/Nexior/src/components/application/Confirm.vue"]]);const he=w({name:"ApiPrice",components:{ElTable:te,ElTableColumn:oe,ElDialog:B,ElButton:P},props:{price:{type:Object,required:!0}},data(){return{visible:!1}},computed:{data(){var e;return((e=this.price)==null?void 0:e.data)||[]},columns(){var e;return(e=this.price)==null?void 0:e.columns},spans(){var e;return(e=this.price)==null?void 0:e.spans}},methods:{cellStyle(){return{"font-weight":"bold","text-align":"center"}},spanMethod({rowIndex:e,columnIndex:t}){if(this.spans){for(const d of this.spans)if(e===d[0]&&t===d[1])return[d[2],d[3]]}return[1,1]}}});function be(e,t,d,k,I,E){const c=o("el-table-column"),b=o("el-table"),_=o("el-dialog"),$=o("el-button");return a(),v("div",null,[i(_,{modelValue:e.visible,"onUpdate:modelValue":t[0]||(t[0]=s=>e.visible=s),center:"",width:"80%"},{default:n(()=>[i(b,{data:e.data,stripe:"","span-method":e.spanMethod,"header-cell-style":e.cellStyle,"cell-style":e.cellStyle},{default:n(()=>[(a(!0),v(z,null,F(e.columns,(s,u)=>(a(),f(c,{key:u,prop:s.key,label:s.label},null,8,["prop","label"]))),128))]),_:1},8,["data","span-method","header-cell-style","cell-style"])]),_:1},8,["modelValue"]),i($,{round:"",size:"small",onClick:t[1]||(t[1]=s=>e.visible=!0)},{default:n(()=>[m(l(e.$t("service.button.pricing")),1)]),_:1})])}var $e=C(he,[["render",be],["__scopeId","data-v-4600b314"],["__file","/home/runner/work/Nexior/Nexior/src/components/api/Price.vue"]]);const ge=w({name:"ApplicationInfo",components:{ElTag:ie,CopyToClipboard:re,ElDescriptions:j,ElDescriptionsItem:q},props:{application:{type:Object,required:!0},showType:{type:Boolean,default:!1},showId:{type:Boolean,default:!1}}});function ke(e,t,d,k,I,E){const c=o("el-descriptions-item"),b=o("copy-to-clipboard"),_=o("el-tag"),$=o("el-descriptions");return a(),f($,{column:1,class:"flex flex-col"},{default:n(()=>[i(c,{label:e.$t("application.field.serviceName")},{default:n(()=>{var s;return[m(l((s=e.application.service)==null?void 0:s.title),1)]}),_:1},8,["label"]),i(c,{label:e.$t("application.field.id")},{default:n(()=>[r("span",null,l(e.application.id),1),e.application.id?(a(),f(b,{key:0,content:e.application.id},null,8,["content"])):h("v-if",!0)]),_:1},8,["label"]),i(c,{label:e.$t("application.field.type")},{default:n(()=>[e.application.type==="Period"?(a(),f(_,{key:0,effect:"dark",round:""},{default:n(()=>[m(l(e.$t("application.type.period")),1)]),_:1})):h("v-if",!0),e.application.type==="Usage"?(a(),f(_,{key:1,effect:"dark",round:""},{default:n(()=>[m(l(e.$t("application.type.usage")),1)]),_:1})):h("v-if",!0)]),_:1},8,["label"]),e.application.type==="Period"?(a(),f(c,{key:0,label:e.$t("application.field.expiredAt")},{default:n(()=>[m(l(e.$dayjs.format(e.application.expired_at)),1)]),_:1},8,["label"])):h("v-if",!0),i(c,{label:e.$t("application.field.remainingAmount")},{default:n(()=>{var s,u,p,g;return[m(l((u=(s=e.application)==null?void 0:s.remaining_amount)==null?void 0:u.toFixed(6))+" "+l(e.$t("service.unit."+((g=(p=e.application)==null?void 0:p.service)==null?void 0:g.unit)+"s")),1)]}),_:1},8,["label"])]),_:1})}var Ae=C(ge,[["render",ke],["__scopeId","data-v-7ffaebbd"],["__file","/home/runner/work/Nexior/Nexior/src/components/application/Info.vue"]]);const Ce=w({name:"ApplicationStatus",components:{ElButton:P,Check:ne,ElDialog:B,FontAwesomeIcon:ce,ApplicationInfo:Ae,ApplicationConfirm:ve,ElSkeleton:le,ElSkeletonItem:ae,ApiPrice:$e,ElIcon:se},props:{application:{type:Object,required:!0},applications:{type:Array,default:void 0},initializing:{type:Boolean,default:!1},showPrice:{type:Boolean,default:!0},service:{type:Object,required:!0},needApply:{type:Boolean,default:!1}},emits:["apply","refresh","applied","update:application","select"],data(){return{showInfo:!1,confirming:this.needApply,applicationType:G}},computed:{authenticated(){return!!this.$store.state.token.access},user(){return this.$store.state.user}},watch:{needApply(e){e&&(this.confirming=e)}},methods:{onBuyMore(e){this.$router.push({name:W,params:{id:e.id}})},onCreateCredential(e){X.create({application_id:e==null?void 0:e.id,host:window.location.origin}).then(()=>{setTimeout(()=>{this.$emit("refresh")},2e3),this.confirming=!1}).finally(()=>{this.$emit("applied")})},onSelectApplication(e){this.$emit("select",e)},onApply(){var e;Y.create({service_id:(e=this.service)==null?void 0:e.id}).then(({data:t})=>{S.success(this.$t("application.message.applySuccessfully")),this.onCreateCredential(t)}).catch(t=>{var d,k;((k=(d=t==null?void 0:t.response)==null?void 0:d.data)==null?void 0:k.code)===Z&&S.error(this.$t("application.message.alreadyApplied")),this.confirming=!1})}}}),we={class:"element"},Ie={key:0},Ee={key:1,class:"status"},Se={class:"text-left mb-4"},Be={class:"applications flex flex-col gap-2 mb-6"},Pe=["onClick"],Ve={class:"text-center"},Ne={class:"actions"},Oe={key:0,class:"text-center info"},Te={class:"mr-2"},Ue={class:"ml-1"};function Me(e,t,d,k,I,E){const c=o("el-skeleton-item"),b=o("el-skeleton"),_=o("check"),$=o("el-icon"),s=o("application-info"),u=o("el-button"),p=o("api-price"),g=o("el-dialog"),L=o("font-awesome-icon"),H=o("el-tooltip"),J=o("application-confirm");return a(),v("div",we,[i(g,{modelValue:e.showInfo,"onUpdate:modelValue":t[1]||(t[1]=y=>e.showInfo=y),width:"500px"},{default:n(()=>{var y,V,N,O,T,U,M,D;return[e.initializing&&e.application===void 0?(a(),v("div",Ie,[i(b,{rows:1,class:"text-center"},{template:n(()=>[i(c,{variant:"p",class:"shimmer"})]),_:1})])):e.application?(a(),v("div",Ee,[r("p",Se,l(e.$t("application.message.applicationSelection")),1),r("div",Be,[(a(!0),v(z,null,F(e.applications,(A,K)=>{var R;return a(),v("div",{key:K,class:pe({item:!0,active:((R=e.application)==null?void 0:R.id)===A.id}),onClick:De=>e.onSelectApplication(A)},[i($,{class:"icon"},{default:n(()=>[i(_)]),_:1}),i(s,{application:A,"show-type":!0,"show-id":!0},null,8,["application"])],10,Pe)}),128))]),r("div",Ve,[i(u,{round:"",type:"primary",onClick:t[0]||(t[0]=A=>e.onBuyMore(e.application))},{default:n(()=>[m(l(e.$t("common.button.buyMore")),1)]),_:1})]),r("span",Ne,[e.showPrice&&((O=(N=(V=(y=e.application)==null?void 0:y.service)==null?void 0:V.apis)==null?void 0:N[0])==null?void 0:O.price)?(a(),f(p,{key:0,class:"price inline-block",price:(D=(M=(U=(T=e.application)==null?void 0:T.service)==null?void 0:U.apis)==null?void 0:M[0])==null?void 0:D.price},null,8,["price"])):h("v-if",!0)])])):h("v-if",!0)]}),_:1},8,["modelValue"]),i(H,{effect:"dark",placement:"top-start"},{default:n(()=>[i(u,{circle:"",onClick:t[2]||(t[2]=y=>e.showInfo=!0)},{default:n(()=>[i(L,{icon:"fa-solid fa-wallet",class:"icon"})]),_:1})]),_:1}),e.needApply&&e.service?(a(),v("div",Oe,[r("span",Te,l(e.$t("chat.message.notApplied")),1),r("span",null,[i(u,{round:"",type:"primary",class:"btn btn-apply",size:"small",onClick:t[3]||(t[3]=y=>e.confirming=!0)},{default:n(()=>[m(l(e.$t("common.button.apply")),1)]),_:1})]),r("span",Ue,l(e.$t("chat.message.tryForFree")),1),e.service&&e.authenticated?(a(),f(J,{key:0,modelValue:e.confirming,"onUpdate:modelValue":t[4]||(t[4]=y=>e.confirming=y),modelModifiers:{visible:!0},service:e.service,onApply:e.onApply},null,8,["modelValue","service","onApply"])):h("v-if",!0)])):h("v-if",!0)])}var He=C(Ce,[["render",Me],["__scopeId","data-v-2941d97e"],["__file","/home/runner/work/Nexior/Nexior/src/components/application/Status.vue"]]);export{He as A};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./vendor-others.cdfefb59.js";import{I as D}from"./api.f60246f3.js";import{_ as L,I as $,H as A,F as k,J as V,G as H}from"./index.97386539.js";import{o as M}from"./order.f1773d29.js";import{g as W}from"./price.cb59d1b0.js";import{ar as x}from"./vendor-fortawesome.2b54ad1b.js";import{H as K,A as U,b as z,B as G,F as J,u as X,y as S}from"./vendor-element-plus.1fa87efb.js";import{H as Y,al as f,L as m,M as o,o as c,V as l,f as d,T as p,e as _,ai as P,P as j,S as b,R as T,U as F}from"./vendor-@vue.6c0309d3.js";import"./vendor-markdown.cf3e96ae.js";import"./vendor-axios.168e6950.js";import"./vendor-qrcode.6ab44f81.js";const q=Y({name:"ConsoleSubscriptionBuy",components:{ElSkeleton:K,ElRow:U,ElTag:z,ElCol:G,ElCard:J,FontAwesomeIcon:x,ElButton:X},data(){return{application:void 0,application2:void 0,type:$.PERIOD,services:[],loading:!1,creating:!1,subscription:void 0}},computed:{site(){return this.$store.getters.site},applicationId(){var e,t;return(t=(e=this.$route.params)==null?void 0:e.id)==null?void 0:t.toString()},subscriptions(){var t,r,h,u;const e=[{name:"WEEK",label:this.$t("console.subscription.weekly"),description:this.$t("console.subscription.weekly.description"),duration:604800},{name:"MONTH",label:this.$t("console.subscription.monthly"),description:this.$t("console.subscription.monthly.description"),duration:2592e3},{name:"YEAR",tag:this.$t("console.button.suggested"),label:this.$t("console.subscription.yearly"),description:this.$t("console.subscription.yearly.description"),duration:31536e3}];for(const i of e){console.log("item",i);const a=this.getPackages(i.duration);console.log("pkgs",a),a&&(i.price=a.reduce((s,g)=>s+g.price,0));for(const s of a)i.benefits||(i.benefits=[]),i.benefits.push({enabled:!0,content:`${(t=s==null?void 0:s.service)==null?void 0:t.title} - ${s.amount} `+this.$t("service.unit."+((r=s==null?void 0:s.service)==null?void 0:r.unit)+"s")});(h=i.benefits)==null||h.push({enabled:i.name!=="WEEK",content:this.$t("console.message.benefit1")}),(u=i.benefits)==null||u.push({enabled:i.name!=="WEEK",content:this.$t("console.message.benefit2")})}return e},service(){var e;return(e=this.application)==null?void 0:e.service},serviceIds(){return!this.application||!this.application.service?[]:[this.application.service.id]}},async mounted(){this.loading=!0,await this.onFetchApplication(),await this.onFetchApplication2(),await this.onCreateApplications(),this.loading=!1,this.subscription=this.subscriptions[2]},methods:{getPriceString:W,onBuyExtra(){this.$router.push({name:A,params:{id:this.applicationId}})},getPackages(e){let t=[];if(!this.service)return[];const h=[this.service].sort((u,i)=>this.serviceIds.indexOf(u.id)-this.serviceIds.indexOf(i.id));for(const u of h){const i=u.packages,a=i==null?void 0:i.find(s=>s.type===D.PERIOD&&s.duration===e);a&&t.push({...a,service:u})}return t},async onCreateApplications(){var t,r;const e=[];if(this.application2||e.push((r=(t=this.application)==null?void 0:t.service)==null?void 0:r.id),e.length>0){for(const h of e)await k.create({service_id:h,type:$.PERIOD});await this.onFetchApplication2()}},onChangeType(){console.log("onChangeType",this.type),this.$router.push({name:A,params:this.$route.params})},async onFetchServices(){const{data:e}=await V.getAll({id:this.serviceIds});this.services=e.items,console.debug("services",this.services)},async onFetchApplication(){const{data:e}=await k.get(this.applicationId);this.application=e,console.debug("application",this.application)},async onFetchApplication2(){var t;const{data:e}=await k.getAll({limit:100,offset:0,user_id:this.$store.getters.user.id,ordering:"-created_at",service_id:this.serviceIds,type:$.PERIOD});this.application2=(t=e.items)==null?void 0:t[0],console.debug("application2",this.application2)},onCreateOrder(e){var t;if(this.subscription=e,this.creating=!0,!this.application2||!this.application2.id){S.error(this.$t("console.message.applicationNotFound")),this.creating=!1;return}M.create({application_ids:[this.application2.id],package_ids:this.getPackages(e.duration).map(r=>r.id),description:((t=this.service)==null?void 0:t.title)+" - "+e.label}).then(({data:r})=>{this.creating=!1,this.$router.push({name:H,params:{id:r.id}})}).catch(()=>{S.error(this.$t("order.message.createFailed")),this.creating=!1})}}}),Q={class:"title"},Z={class:"introduction"},ee={class:"name"},te={class:"price"},se={class:"description"},ie={class:"benefits"},oe={class:"operations"},ae={key:2,class:"extra"};function ne(e,t,r,h,u,i){const a=f("el-col"),s=f("el-row"),g=f("el-skeleton"),N=f("el-tag"),E=f("font-awesome-icon"),C=f("el-button"),I=f("el-card");return c(),m(s,{class:"panel"},{default:o(()=>[l(a,{span:24},{default:o(()=>[l(s,null,{default:o(()=>[l(a,{span:24},{default:o(()=>[d("h2",Q,p(e.$t("common.title.buyMore")),1)]),_:1})]),_:1}),l(s,null,{default:o(()=>[l(a,{span:24},{default:o(()=>[l(I,{shadow:"hover",class:"card"},{default:o(()=>[l(s,null,{default:o(()=>[l(a,{span:16,offset:4},{default:o(()=>[d("p",Z,p(e.$t("console.subscription.title")),1),e.loading?(c(),m(g,{key:0})):(c(),m(s,{key:1,gutter:15,class:"subscriptions"},{default:o(()=>[(c(!0),_(F,null,P(e.subscriptions,(n,R)=>{var w;return c(),m(a,{key:R,xs:24,md:24/(((w=e.subscriptions)==null?void 0:w.length)||4)},{default:o(()=>{var O;return[l(I,{shadow:"hover",class:j({subscription:!0,active:((O=e.subscription)==null?void 0:O.name)===n.name}),onClick:v=>e.subscription=n},{default:o(()=>{var v;return[d("h4",ee,[b(p(n.label)+" ",1),n.tag?(c(),m(N,{key:0,type:"warning"},{default:o(()=>[b(p(n.tag),1)]),_:2},1024)):T("v-if",!0)]),d("h2",te,p(e.getPriceString({value:n.price})),1),d("p",se,p(n.description),1),d("div",ie,[(c(!0),_(F,null,P(n.benefits,(y,B)=>(c(),_("div",{key:B,class:"benefit"},[y.enabled?(c(),m(E,{key:0,icon:"fa-solid fa-check",class:"icon icon-check"})):(c(),m(E,{key:1,icon:"fa-solid fa-xmark",class:"icon icon-xmark"})),d("span",null,p(y.content),1)]))),128))]),d("div",oe,[l(C,{class:"btn btn-subscribe",type:((v=e.subscription)==null?void 0:v.name)===(n==null?void 0:n.name)?"primary":"",round:"",onClick:y=>e.onCreateOrder(n)},{default:o(()=>[b(p(e.$t("common.button.buy")),1)]),_:2},1032,["type","onClick"])])]}),_:2},1032,["class","onClick"])]}),_:2},1032,["md"])}),128))]),_:1})),e.loading?T("v-if",!0):(c(),_("div",ae,[d("span",null,p(e.$t("console.message.doNotWantSubscribe")),1),l(C,{type:"primary",class:"btn btn-extra",round:"",size:"small",onClick:e.onBuyExtra},{default:o(()=>[b(p(e.$t("console.message.buyExtra")),1)]),_:1},8,["onClick"])]))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}var ge=L(q,[["render",ne],["__scopeId","data-v-56303b1f"],["__file","/home/runner/work/Nexior/Nexior/src/pages/console/application/Subscribe.vue"]]);export{ge as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={"button.uploadDocuments":{message:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B",description:"\u0422\u0435\u043A\u0441\u0442 \u043A\u043D\u043E\u043F\u043A\u0438, \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0449\u0438\u0439 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044E \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B"},"field.fileName":{message:"\u0418\u043C\u044F \u0444\u0430\u0439\u043B\u0430",description:"\u0418\u043C\u044F \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043C\u043E\u0433\u043E \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430"},"field.createdAt":{message:"\u0414\u0430\u0442\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F",description:"\u0412\u0440\u0435\u043C\u044F \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0438 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430"},"field.fileExtension":{message:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",description:"\u0422\u0438\u043F \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043C\u043E\u0433\u043E \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430"},"field.fileUrl":{message:"\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u0444\u0430\u0439\u043B",description:"\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043C\u044B\u0439 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442"},"field.fileSize":{message:"\u0420\u0430\u0437\u043C\u0435\u0440 \u0444\u0430\u0439\u043B\u0430",description:"\u0420\u0430\u0437\u043C\u0435\u0440 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043C\u043E\u0433\u043E \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430"},"field.state":{message:"\u0421\u0442\u0430\u0442\u0443\u0441",description:"\u0421\u0442\u0430\u0442\u0443\u0441 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430"},"field.stateProcessing":{message:"\u0412 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0435 \u043E\u0431\u0443\u0447\u0435\u043D\u0438\u044F",description:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u043D\u0430\u0445\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0435 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438"},"field.stateCompleted":{message:"\u041E\u0431\u0443\u0447\u0435\u043D\u0438\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E",description:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D"},"field.stateFailed":{message:"\u041E\u0448\u0438\u0431\u043A\u0430 \u043E\u0431\u0443\u0447\u0435\u043D\u0438\u044F",description:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442"},"field.name":{message:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",description:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430"},"field.description":{message:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",description:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430"},"message.introductionForKnowledge":{message:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u044B \u0432 \u0431\u0430\u0437\u0443 \u0437\u043D\u0430\u043D\u0438\u0439, \u0438 \u0431\u043E\u0442 \u0441\u043C\u043E\u0436\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0437\u043D\u0430\u043D\u0438\u044F \u0438\u0437 \u0431\u0430\u0437\u044B \u043F\u0440\u0438 \u043E\u0442\u0432\u0435\u0442\u0430\u0445.",description:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u0431\u0430\u0437\u0435 \u0437\u043D\u0430\u043D\u0438\u0439"},"message.introductionForRepository":{message:"\u0411\u0430\u0437\u0430 \u0437\u043D\u0430\u043D\u0438\u0439 \u2014 \u044D\u0442\u043E \u0441\u043E\u0431\u0440\u0430\u043D\u0438\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C. \u0411\u043E\u0442 \u0431\u0443\u0434\u0435\u0442 \u043E\u0442\u0432\u0435\u0447\u0430\u0442\u044C, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u0438\u0437 \u0431\u0430\u0437\u044B \u0437\u043D\u0430\u043D\u0438\u0439.",description:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u0431\u0430\u0437\u0435 \u0437\u043D\u0430\u043D\u0438\u0439"},"message.uploadDocumentsExceed":{message:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043C\u044B\u0445 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043F\u0440\u0435\u0432\u044B\u0441\u0438\u043B\u043E \u043B\u0438\u043C\u0438\u0442",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0435, \u043A\u043E\u0433\u0434\u0430 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043C\u044B\u0445 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043F\u0440\u0435\u0432\u044B\u0448\u0430\u0435\u0442 \u043B\u0438\u043C\u0438\u0442"},"message.uploadDocumentsError":{message:"\u041E\u0448\u0438\u0431\u043A\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0438 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0435 \u043F\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430"},"message.uploadDocumentsSuccess":{message:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043D",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u0443\u0441\u043F\u0435\u0448\u043D\u043E\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430"},"message.createDocumentSuccess":{message:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0441\u043E\u0437\u0434\u0430\u043D",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u0443\u0441\u043F\u0435\u0448\u043D\u043E\u043C \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0438 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430"},"message.startCreateDocument":{message:"\u041D\u0430\u0447\u0430\u043B\u043E \u043E\u0431\u0443\u0447\u0435\u043D\u0438\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430...",description:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u043D\u0430\u0447\u0430\u043B\u0435 \u043E\u0431\u0443\u0447\u0435\u043D\u0438\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430"},"message.createDocumentError":{message:"\u041E\u0448\u0438\u0431\u043A\u0430 \u043E\u0431\u0443\u0447\u0435\u043D\u0438\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0435 \u043F\u0440\u0438 \u043E\u0431\u0443\u0447\u0435\u043D\u0438\u0438 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430"},"message.dragOrClickToUpload":{message:"\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0438\u043B\u0438 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0438 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430",description:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u0442\u043E\u043C, \u043A\u0430\u043A \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442"},"message.learningDocument":{message:"\u041E\u0431\u0443\u0447\u0435\u043D\u0438\u0435 \u0438\u0434\u0435\u0442, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430 \u043F\u043E\u0434\u043E\u0436\u0434\u0438\u0442\u0435...",description:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0435 \u043E\u0431\u0443\u0447\u0435\u043D\u0438\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430"},"message.startNewChat":{message:"\u041D\u0430\u0447\u0430\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u0434\u0438\u0430\u043B\u043E\u0433",description:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u043D\u0430\u0447\u0430\u043B\u0435 \u043D\u043E\u0432\u043E\u0433\u043E \u0434\u0438\u0430\u043B\u043E\u0433\u0430"},"message.errorApiError":{message:"\u041E\u0448\u0438\u0431\u043A\u0430 \u043E\u0442\u0432\u0435\u0442\u0430, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0435 \u043F\u0440\u0438 \u0441\u0431\u043E\u0435 \u043E\u0442\u0432\u0435\u0442\u0430"},"message.errorBadRequest":{message:"\u0424\u043E\u0440\u043C\u0430\u0442 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E \u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u043D\u0435\u0432\u0435\u0440\u0435\u043D, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u0434\u0430\u0439\u0442\u0435 \u0432\u043E\u043F\u0440\u043E\u0441 \u0435\u0449\u0435 \u0440\u0430\u0437",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0435 \u043F\u0440\u0438 \u043D\u0435\u0432\u0435\u0440\u043D\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E \u0437\u0430\u043F\u0440\u043E\u0441\u0430"},"message.errorNoConversation":{message:"\u0421\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0440\u0430\u0437\u0433\u043E\u0432\u043E\u0440\u0430 \u043D\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0438\u043B\u0438 \u0438\u0441\u0442\u0435\u043A\u043B\u043E, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043D\u0430\u0447\u043D\u0438\u0442\u0435 \u043D\u043E\u0432\u044B\u0439 \u0440\u0430\u0437\u0433\u043E\u0432\u043E\u0440",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0435, \u043A\u043E\u0433\u0434\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0440\u0430\u0437\u0433\u043E\u0432\u043E\u0440\u0430 \u043D\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0438\u043B\u0438 \u0438\u0441\u0442\u0435\u043A\u043B\u043E"},"message.errorContentTooLarge":{message:"\u0421\u043E\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u0430 \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0434\u043B\u0438\u043D\u043D\u043E\u0435, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0441\u043E\u043A\u0440\u0430\u0442\u0438\u0442\u0435 \u0438 \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u043D\u043E\u0432\u0430",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0435, \u043A\u043E\u0433\u0434\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u0430 \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0434\u043B\u0438\u043D\u043D\u043E\u0435"},"message.errorTooManyRequests":{message:"\u0412\u0430\u0448\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0447\u0430\u0441\u0442\u044B\u0435, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0435 \u043F\u0440\u0438 \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0447\u0430\u0441\u0442\u044B\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F\u0445"},"message.errorUsedUp":{message:"\u0412\u0430\u0448 \u043B\u0438\u043C\u0438\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043A\u0443\u043F\u0438\u0442\u0435 \u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0435, \u043A\u043E\u0433\u0434\u0430 \u043B\u0438\u043C\u0438\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D"},"message.errorUnknown":{message:"\u041F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u0430\u044F \u043E\u0448\u0438\u0431\u043A\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435 \u0438\u043B\u0438 \u0441\u0432\u044F\u0436\u0438\u0442\u0435\u0441\u044C \u0441 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u043E\u0439",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0435 \u043F\u0440\u0438 \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E\u0439 \u043E\u0448\u0438\u0431\u043A\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430"},"message.errorTimeout":{message:"\u0412\u0440\u0435\u043C\u044F \u043E\u0442\u0432\u0435\u0442\u0430 \u043D\u0430 \u0432\u043E\u043F\u0440\u043E\u0441 \u0438\u0441\u0442\u0435\u043A\u043B\u043E, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0435 \u043F\u0440\u0438 \u0438\u0441\u0442\u0435\u0447\u0435\u043D\u0438\u0438 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043E\u0442\u0432\u0435\u0442\u0430"},"message.errorNotApplied":{message:"\u0412\u044B \u0435\u0449\u0435 \u043D\u0435 \u043F\u043E\u0434\u0430\u043B\u0438 \u0437\u0430\u044F\u0432\u043A\u0443 \u043D\u0430 \u044D\u0442\u0443 \u0443\u0441\u043B\u0443\u0433\u0443, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u0434\u0430\u0439\u0442\u0435 \u0437\u0430\u044F\u0432\u043A\u0443, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044C \u0432\u043E\u043F\u0440\u043E\u0441\u044B",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0435, \u043A\u043E\u0433\u0434\u0430 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C \u0435\u0449\u0435 \u043D\u0435 \u043F\u043E\u0434\u0430\u043B \u0437\u0430\u044F\u0432\u043A\u0443 \u043D\u0430 \u044D\u0442\u0443 \u0443\u0441\u043B\u0443\u0433\u0443"},"message.confirmDelete":{message:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435",description:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0438 \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u044F"},"message.howToUse":{message:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 Shift+Enter \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u0430 \u0441\u0442\u0440\u043E\u043A\u0438",description:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u0442\u043E\u043C, \u043A\u0430\u043A \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u0438\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0443"},"message.createRepositorySuccess":{message:"\u0411\u0430\u0437\u0430 \u0437\u043D\u0430\u043D\u0438\u0439 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0441\u043E\u0437\u0434\u0430\u043D\u0430",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u0443\u0441\u043F\u0435\u0448\u043D\u043E\u043C \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0438 \u0431\u0430\u0437\u044B \u0437\u043D\u0430\u043D\u0438\u0439"},"message.createRepositoryFailed":{message:"\u041E\u0448\u0438\u0431\u043A\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u0431\u0430\u0437\u044B \u0437\u043D\u0430\u043D\u0438\u0439",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0435 \u043F\u0440\u0438 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0438 \u0431\u0430\u0437\u044B \u0437\u043D\u0430\u043D\u0438\u0439"},"message.deleteRepositorySuccess":{message:"\u0411\u0430\u0437\u0430 \u0437\u043D\u0430\u043D\u0438\u0439 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0443\u0434\u0430\u043B\u0435\u043D\u0430",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u0443\u0441\u043F\u0435\u0448\u043D\u043E\u043C \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0438 \u0431\u0430\u0437\u044B \u0437\u043D\u0430\u043D\u0438\u0439"},"message.deleteDocumentSuccess":{message:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0443\u0434\u0430\u043B\u0435\u043D",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u0443\u0441\u043F\u0435\u0448\u043D\u043E\u043C \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0438 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430"},"message.currentRepository":{message:"\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0431\u0430\u0437\u0430 \u0437\u043D\u0430\u043D\u0438\u0439",description:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0431\u0430\u0437\u0435 \u0437\u043D\u0430\u043D\u0438\u0439"},"message.nameRequired":{message:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043F\u0443\u0441\u0442\u044B\u043C",description:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043E\u0431 \u043E\u0448\u0438\u0431\u043A\u0435, \u043A\u043E\u0433\u0434\u0430 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u043F\u0443\u0441\u0442\u043E\u0435"},"message.inputRepositoryName":{message:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0431\u0430\u0437\u044B \u0437\u043D\u0430\u043D\u0438\u0439",description:"\u0417\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C \u0434\u043B\u044F \u0432\u0432\u043E\u0434\u0430 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u044F \u0431\u0430\u0437\u044B \u0437\u043D\u0430\u043D\u0438\u0439"},"message.inputRepositoryDescription":{message:"\u041E\u043F\u0438\u0448\u0438\u0442\u0435 \u0441\u0432\u043E\u0439 \u0440\u0435\u043F\u043E\u0437\u0438\u0442\u043E\u0440\u0438\u0439 \u043E\u0434\u043D\u0438\u043C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043C",description:"\u0417\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C \u0432\u0432\u043E\u0434\u0430 \u0434\u043B\u044F \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u044F \u0440\u0435\u043F\u043E\u0437\u0438\u0442\u043E\u0440\u0438\u044F"},"message.supportedFiles":{message:"\u041F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043C\u044B\u0435 \u0442\u0438\u043F\u044B \u0444\u0430\u0439\u043B\u043E\u0432: .docx, .doc, .pdf, .txt, .csv, .enex, .epub, .eml, .html, .htm, .shtml, .md, .odt, .ppt, .pptx",description:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043C\u044B\u0445 \u0442\u0438\u043F\u0430\u0445 \u0444\u0430\u0439\u043B\u043E\u0432"},"nav.chat":{message:"\u0427\u0430\u0442",description:"\u042D\u043B\u0435\u043C\u0435\u043D\u0442 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0447\u0430\u0442\u0430"},"nav.setting":{message:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",description:"\u042D\u043B\u0435\u043C\u0435\u043D\u0442 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A"},"nav.manage":{message:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",description:"\u042D\u043B\u0435\u043C\u0435\u043D\u0442 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F"},"title.manage":{message:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0440\u0435\u043F\u043E\u0437\u0438\u0442\u043E\u0440\u0438\u0435\u043C",description:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0434\u043B\u044F \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0440\u0435\u043F\u043E\u0437\u0438\u0442\u043E\u0440\u0438\u0435\u043C"},"title.createRepository":{message:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0440\u0435\u043F\u043E\u0437\u0438\u0442\u043E\u0440\u0438\u0439",description:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0434\u043B\u044F \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u0440\u0435\u043F\u043E\u0437\u0438\u0442\u043E\u0440\u0438\u044F"},"title.repositories":{message:"\u0421\u043F\u0438\u0441\u043E\u043A \u0440\u0435\u043F\u043E\u0437\u0438\u0442\u043E\u0440\u0438\u0435\u0432",description:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0434\u043B\u044F \u0441\u043F\u0438\u0441\u043A\u0430 \u0440\u0435\u043F\u043E\u0437\u0438\u0442\u043E\u0440\u0438\u0435\u0432"}};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={"button.uploadDocuments":{message:"Carregar Documentos",description:"Texto do bot\xE3o que permite ao usu\xE1rio carregar documentos"},"field.fileName":{message:"Nome do Arquivo",description:"Nome do arquivo do documento carregado"},"field.createdAt":{message:"Data de Cria\xE7\xE3o",description:"Data e hora do upload do documento"},"field.fileExtension":{message:"Tipo de Arquivo",description:"Tipo do arquivo do documento carregado"},"field.fileUrl":{message:"Link do Arquivo",description:"Link do documento carregado"},"field.fileSize":{message:"Tamanho do Arquivo",description:"Tamanho do documento carregado"},"field.state":{message:"Estado",description:"Estado do processamento do documento"},"field.stateProcessing":{message:"Processando",description:"O documento est\xE1 em processamento"},"field.stateCompleted":{message:"Processamento Completo",description:"O processamento do documento foi bem-sucedido"},"field.stateFailed":{message:"Falha no Processamento",description:"O processamento do documento falhou"},"field.name":{message:"Nome",description:"Nome do documento"},"field.description":{message:"Descri\xE7\xE3o",description:"Descri\xE7\xE3o do documento"},"message.introductionForKnowledge":{message:"Os documentos podem ser adicionados ao reposit\xF3rio de conhecimento, e o rob\xF4 pode usar o conhecimento do reposit\xF3rio ao responder.",description:"Informa\xE7\xE3o introdut\xF3ria sobre o reposit\xF3rio de conhecimento"},"message.introductionForRepository":{message:"O reposit\xF3rio de conhecimento \xE9 uma cole\xE7\xE3o de documentos onde voc\xEA pode adicionar novos documentos. O rob\xF4 ir\xE1 responder a partir dos documentos no reposit\xF3rio.",description:"Informa\xE7\xE3o introdut\xF3ria sobre o reposit\xF3rio de conhecimento"},"message.uploadDocumentsExceed":{message:"Quantidade de documentos carregados excedeu o limite",description:"Mensagem de erro quando a quantidade de documentos carregados excede o limite"},"message.uploadDocumentsError":{message:"Falha ao carregar documentos",description:"Mensagem de erro quando falha no carregamento de documentos"},"message.uploadDocumentsSuccess":{message:"Documentos carregados com sucesso",description:"Mensagem de sucesso quando os documentos s\xE3o carregados com sucesso"},"message.createDocumentSuccess":{message:"Documento criado com sucesso",description:"Mensagem de sucesso quando o documento \xE9 criado com sucesso"},"message.startCreateDocument":{message:"Iniciando o processamento do documento...",description:"Mensagem ao iniciar o processamento do documento"},"message.createDocumentError":{message:"Falha no processamento do documento",description:"Mensagem de erro ao falhar no processamento do documento"},"message.dragOrClickToUpload":{message:"Arraste ou clique para carregar documentos",description:"Mensagem para arrastar ou clicar e carregar documentos"},"message.learningDocument":{message:"Processando, por favor aguarde...",description:"Mensagem durante o processamento do documento"},"message.startNewChat":{message:"Iniciar uma nova conversa",description:"Mensagem ao iniciar uma nova conversa"},"message.errorApiError":{message:"Falha na resposta, por favor tente novamente mais tarde",description:"Mensagem de erro quando h\xE1 falha na resposta"},"message.errorBadRequest":{message:"Formato do conte\xFAdo da solicita\xE7\xE3o est\xE1 incorreto, por favor reformule a pergunta",description:"Mensagem de erro quando o formato da solicita\xE7\xE3o est\xE1 incorreto"},"message.errorNoConversation":{message:"Conte\xFAdo da conversa n\xE3o existe ou expirou, por favor inicie uma nova conversa",description:"Mensagem de erro quando o conte\xFAdo da conversa n\xE3o existe ou expirou"},"message.errorContentTooLarge":{message:"O conte\xFAdo da pergunta \xE9 muito longo, por favor encurte e tente novamente",description:"Mensagem de erro quando o conte\xFAdo da pergunta \xE9 muito longo"},"message.errorTooManyRequests":{message:"Suas a\xE7\xF5es est\xE3o muito frequentes, por favor tente novamente mais tarde",description:"Mensagem de erro quando as a\xE7\xF5es s\xE3o muito frequentes"},"message.errorUsedUp":{message:"Seu limite de uso foi atingido, por favor adquira mais uso para continuar",description:"Mensagem de erro quando o limite de uso foi atingido"},"message.errorUnknown":{message:"Ocorreu um erro desconhecido no servidor, por favor tente novamente mais tarde ou entre em contato com o suporte",description:"Mensagem de erro quando ocorre um erro desconhecido no servidor"},"message.errorTimeout":{message:"Tempo de resposta excedido, por favor tente novamente mais tarde",description:"Mensagem de erro quando o tempo de resposta \xE9 excedido"},"message.errorNotApplied":{message:"Voc\xEA ainda n\xE3o solicitou este servi\xE7o, por favor solicite antes de continuar com a pergunta",description:"Mensagem de erro quando o usu\xE1rio ainda n\xE3o solicitou o servi\xE7o"},"message.confirmDelete":{message:"Confirmar Dele\xE7\xE3o",description:"Mensagem de confirma\xE7\xE3o ao deletar"},"message.howToUse":{message:"Pressione Shift+Enter para quebra de linha",description:"Instru\xE7\xF5es sobre como fazer quebra de linha"},"message.createRepositorySuccess":{message:"Reposit\xF3rio de conhecimento criado com sucesso",description:"Mensagem de sucesso ao criar o reposit\xF3rio de conhecimento"},"message.createRepositoryFailed":{message:"Falha ao criar reposit\xF3rio de conhecimento",description:"Mensagem de erro ao falhar na cria\xE7\xE3o do reposit\xF3rio de conhecimento"},"message.deleteRepositorySuccess":{message:"Reposit\xF3rio de conhecimento deletado com sucesso",description:"Mensagem de sucesso ao deletar o reposit\xF3rio de conhecimento"},"message.deleteDocumentSuccess":{message:"Documento deletado com sucesso",description:"Mensagem de sucesso ao deletar o documento"},"message.currentRepository":{message:"Reposit\xF3rio de conhecimento atual",description:"Informa\xE7\xE3o sobre o reposit\xF3rio de conhecimento atual"},"message.nameRequired":{message:"O nome n\xE3o pode estar vazio",description:"Mensagem de erro quando o nome est\xE1 vazio"},"message.inputRepositoryName":{message:"Nome do Reposit\xF3rio",description:"Placeholder para entrada do nome do reposit\xF3rio"},"message.inputRepositoryDescription":{message:"Descreva seu reposit\xF3rio em uma frase",description:"Placeholder para a descri\xE7\xE3o do reposit\xF3rio"},"message.supportedFiles":{message:"Tipos de arquivos suportados: .docx, .doc, .pdf, .txt, .csv, .enex, .epub, .eml, .html, .htm, .shtml, .md, .odt, .ppt, .pptx",description:"Informa\xE7\xE3o sobre os tipos de arquivos suportados"},"nav.chat":{message:"Chat",description:"Item de navega\xE7\xE3o para o chat"},"nav.setting":{message:"Configura\xE7\xF5es",description:"Item de navega\xE7\xE3o para as configura\xE7\xF5es"},"nav.manage":{message:"Gerenciar",description:"Item de navega\xE7\xE3o para gerenciar"},"title.manage":{message:"Gerenciar Reposit\xF3rio",description:"T\xEDtulo para gerenciar o reposit\xF3rio"},"title.createRepository":{message:"Criar Reposit\xF3rio",description:"T\xEDtulo para criar um reposit\xF3rio"},"title.repositories":{message:"Lista de Reposit\xF3rios",description:"T\xEDtulo para a lista de reposit\xF3rios"}};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={"button.uploadDocuments":{message:"\u0391\u03BD\u03AD\u03B2\u03B1\u03C3\u03BC\u03B1 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03C9\u03BD",description:"\u039A\u03B5\u03AF\u03BC\u03B5\u03BD\u03BF \u03BA\u03BF\u03C5\u03BC\u03C0\u03B9\u03BF\u03CD, \u03C0\u03BF\u03C5 \u03B5\u03C0\u03B9\u03C4\u03C1\u03AD\u03C0\u03B5\u03B9 \u03C3\u03C4\u03BF\u03BD \u03C7\u03C1\u03AE\u03C3\u03C4\u03B7 \u03BD\u03B1 \u03B1\u03BD\u03B5\u03B2\u03AC\u03C3\u03B5\u03B9 \u03AD\u03B3\u03B3\u03C1\u03B1\u03C6\u03B1"},"field.fileName":{message:"\u038C\u03BD\u03BF\u03BC\u03B1 \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5",description:"\u03A4\u03BF \u03CC\u03BD\u03BF\u03BC\u03B1 \u03C4\u03BF\u03C5 \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5 \u03C0\u03BF\u03C5 \u03B8\u03B1 \u03B1\u03BD\u03AD\u03B2\u03B5\u03B9"},"field.createdAt":{message:"\u0397\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03B4\u03B7\u03BC\u03B9\u03BF\u03C5\u03C1\u03B3\u03AF\u03B1\u03C2",description:"\u0397 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03B1\u03BD\u03AD\u03B2\u03B1\u03C3\u03B5 \u03C4\u03BF \u03AD\u03B3\u03B3\u03C1\u03B1\u03C6\u03BF"},"field.fileExtension":{message:"\u03A4\u03CD\u03C0\u03BF\u03C2 \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5",description:"\u039F \u03C4\u03CD\u03C0\u03BF\u03C2 \u03C4\u03BF\u03C5 \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5 \u03C0\u03BF\u03C5 \u03B8\u03B1 \u03B1\u03BD\u03AD\u03B2\u03B5\u03B9"},"field.fileUrl":{message:"\u03A3\u03CD\u03BD\u03B4\u03B5\u03C3\u03BC\u03BF\u03C2 \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5",description:"\u039F \u03C3\u03CD\u03BD\u03B4\u03B5\u03C3\u03BC\u03BF\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03BF \u03B1\u03BD\u03AD\u03B2\u03B1\u03C3\u03BC\u03B1 \u03C4\u03BF\u03C5 \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5"},"field.fileSize":{message:"\u039C\u03AD\u03B3\u03B5\u03B8\u03BF\u03C2 \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5",description:"\u03A4\u03BF \u03BC\u03AD\u03B3\u03B5\u03B8\u03BF\u03C2 \u03C4\u03BF\u03C5 \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5 \u03C0\u03BF\u03C5 \u03B8\u03B1 \u03B1\u03BD\u03AD\u03B2\u03B5\u03B9"},"field.state":{message:"\u039A\u03B1\u03C4\u03AC\u03C3\u03C4\u03B1\u03C3\u03B7",description:"\u0397 \u03BA\u03B1\u03C4\u03AC\u03C3\u03C4\u03B1\u03C3\u03B7 \u03B5\u03C0\u03B5\u03BE\u03B5\u03C1\u03B3\u03B1\u03C3\u03AF\u03B1\u03C2 \u03C4\u03BF\u03C5 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03BF\u03C5"},"field.stateProcessing":{message:"\u03A3\u03B5 \u03B5\u03C0\u03B5\u03BE\u03B5\u03C1\u03B3\u03B1\u03C3\u03AF\u03B1",description:"\u03A4\u03BF \u03AD\u03B3\u03B3\u03C1\u03B1\u03C6\u03BF \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C5\u03C0\u03CC \u03B5\u03C0\u03B5\u03BE\u03B5\u03C1\u03B3\u03B1\u03C3\u03AF\u03B1"},"field.stateCompleted":{message:"\u0397 \u03B5\u03C0\u03B5\u03BE\u03B5\u03C1\u03B3\u03B1\u03C3\u03AF\u03B1 \u03BF\u03BB\u03BF\u03BA\u03BB\u03B7\u03C1\u03CE\u03B8\u03B7\u03BA\u03B5",description:"\u0397 \u03B5\u03C0\u03B5\u03BE\u03B5\u03C1\u03B3\u03B1\u03C3\u03AF\u03B1 \u03C4\u03BF\u03C5 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03BF\u03C5 \u03AE\u03C4\u03B1\u03BD \u03B5\u03C0\u03B9\u03C4\u03C5\u03C7\u03AE\u03C2"},"field.stateFailed":{message:"\u0391\u03C0\u03BF\u03C4\u03C5\u03C7\u03AF\u03B1 \u03B5\u03C0\u03B5\u03BE\u03B5\u03C1\u03B3\u03B1\u03C3\u03AF\u03B1\u03C2",description:"\u0397 \u03B5\u03C0\u03B5\u03BE\u03B5\u03C1\u03B3\u03B1\u03C3\u03AF\u03B1 \u03C4\u03BF\u03C5 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03BF\u03C5 \u03B1\u03C0\u03AD\u03C4\u03C5\u03C7\u03B5"},"field.name":{message:"\u038C\u03BD\u03BF\u03BC\u03B1",description:"\u03A4\u03BF \u03CC\u03BD\u03BF\u03BC\u03B1 \u03C4\u03BF\u03C5 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03BF\u03C5"},"field.description":{message:"\u03A0\u03B5\u03C1\u03B9\u03B3\u03C1\u03B1\u03C6\u03AE",description:"\u0397 \u03C0\u03B5\u03C1\u03B9\u03B3\u03C1\u03B1\u03C6\u03AE \u03C4\u03BF\u03C5 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03BF\u03C5"},"message.introductionForKnowledge":{message:"\u03A4\u03B1 \u03AD\u03B3\u03B3\u03C1\u03B1\u03C6\u03B1 \u03BC\u03C0\u03BF\u03C1\u03BF\u03CD\u03BD \u03BD\u03B1 \u03C0\u03C1\u03BF\u03C3\u03C4\u03B5\u03B8\u03BF\u03CD\u03BD \u03C3\u03C4\u03B7 \u03B2\u03AC\u03C3\u03B7 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD, \u03BA\u03B1\u03B9 \u03BF\u03B9 \u03C1\u03BF\u03BC\u03C0\u03CC\u03C4 \u03BC\u03C0\u03BF\u03C1\u03BF\u03CD\u03BD \u03BD\u03B1 \u03C7\u03C1\u03B7\u03C3\u03B9\u03BC\u03BF\u03C0\u03BF\u03B9\u03BF\u03CD\u03BD \u03B1\u03C5\u03C4\u03AD\u03C2 \u03C4\u03B9\u03C2 \u03B3\u03BD\u03CE\u03C3\u03B5\u03B9\u03C2 \u03C3\u03C4\u03B9\u03C2 \u03B1\u03C0\u03B1\u03BD\u03C4\u03AE\u03C3\u03B5\u03B9\u03C2 \u03C4\u03BF\u03C5\u03C2.",description:"\u03A0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03AF\u03B5\u03C2 \u03B5\u03B9\u03C3\u03B1\u03B3\u03C9\u03B3\u03AE\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03B7 \u03B2\u03AC\u03C3\u03B7 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD"},"message.introductionForRepository":{message:"\u0397 \u03B2\u03AC\u03C3\u03B7 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD \u03B5\u03AF\u03BD\u03B1\u03B9 \u03BC\u03B9\u03B1 \u03C3\u03C5\u03BB\u03BB\u03BF\u03B3\u03AE \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03C9\u03BD, \u03BC\u03C0\u03BF\u03C1\u03B5\u03AF\u03C4\u03B5 \u03BD\u03B1 \u03C0\u03C1\u03BF\u03C3\u03B8\u03AD\u03C3\u03B5\u03C4\u03B5 \u03AD\u03B3\u03B3\u03C1\u03B1\u03C6\u03B1 \u03C3\u03B5 \u03B1\u03C5\u03C4\u03AE\u03BD. \u039F\u03B9 \u03C1\u03BF\u03BC\u03C0\u03CC\u03C4 \u03B8\u03B1 \u03B1\u03C0\u03B1\u03BD\u03C4\u03BF\u03CD\u03BD \u03BC\u03B5 \u03B2\u03AC\u03C3\u03B7 \u03C4\u03B1 \u03AD\u03B3\u03B3\u03C1\u03B1\u03C6\u03B1 \u03C4\u03B7\u03C2 \u03B2\u03AC\u03C3\u03B7\u03C2 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD.",description:"\u03A0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03AF\u03B5\u03C2 \u03B5\u03B9\u03C3\u03B1\u03B3\u03C9\u03B3\u03AE\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03B7 \u03B2\u03AC\u03C3\u03B7 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD"},"message.uploadDocumentsExceed":{message:"\u039F \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03C9\u03BD \u03C0\u03BF\u03C5 \u03B1\u03BD\u03AD\u03B2\u03B7\u03BA\u03B1\u03BD \u03BE\u03B5\u03C0\u03AD\u03C1\u03B1\u03C3\u03B5 \u03C4\u03BF \u03CC\u03C1\u03B9\u03BF",description:"\u039C\u03AE\u03BD\u03C5\u03BC\u03B1 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1\u03C4\u03BF\u03C2 \u03CC\u03C4\u03B1\u03BD \u03BE\u03B5\u03C0\u03B5\u03C1\u03B1\u03C3\u03C4\u03B5\u03AF \u03C4\u03BF \u03CC\u03C1\u03B9\u03BF \u03C4\u03C9\u03BD \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03C9\u03BD \u03C0\u03BF\u03C5 \u03B1\u03BD\u03B1\u03B2\u03B1\u03B8\u03BC\u03AF\u03B6\u03BF\u03BD\u03C4\u03B1\u03B9"},"message.uploadDocumentsError":{message:"\u0391\u03C0\u03BF\u03C4\u03C5\u03C7\u03AF\u03B1 \u03B1\u03BD\u03AD\u03B2\u03B1\u03C3\u03BC\u03B1 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03C9\u03BD",description:"\u039C\u03AE\u03BD\u03C5\u03BC\u03B1 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1\u03C4\u03BF\u03C2 \u03CC\u03C4\u03B1\u03BD \u03B1\u03C0\u03BF\u03C4\u03CD\u03C7\u03B5\u03B9 \u03B7 \u03B4\u03B9\u03B1\u03B4\u03B9\u03BA\u03B1\u03C3\u03AF\u03B1 \u03B1\u03BD\u03AD\u03B2\u03B1\u03C3\u03BC\u03B1 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03C9\u03BD"},"message.uploadDocumentsSuccess":{message:"\u0397 \u03B1\u03BD\u03AC\u03C1\u03C4\u03B7\u03C3\u03B7 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03C9\u03BD \u03AE\u03C4\u03B1\u03BD \u03B5\u03C0\u03B9\u03C4\u03C5\u03C7\u03AE\u03C2",description:"\u03A0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03AF\u03B5\u03C2 \u03B5\u03C0\u03B9\u03C4\u03C5\u03C7\u03AF\u03B1\u03C2 \u03CC\u03C4\u03B1\u03BD \u03B7 \u03B1\u03BD\u03AC\u03C1\u03C4\u03B7\u03C3\u03B7 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03C9\u03BD \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B5\u03C0\u03B9\u03C4\u03C5\u03C7\u03AE\u03C2"},"message.createDocumentSuccess":{message:"\u0397 \u03B4\u03B7\u03BC\u03B9\u03BF\u03C5\u03C1\u03B3\u03AF\u03B1 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03BF\u03C5 \u03AE\u03C4\u03B1\u03BD \u03B5\u03C0\u03B9\u03C4\u03C5\u03C7\u03AE\u03C2",description:"\u03A0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03AF\u03B5\u03C2 \u03B5\u03C0\u03B9\u03C4\u03C5\u03C7\u03AF\u03B1\u03C2 \u03CC\u03C4\u03B1\u03BD \u03B7 \u03B4\u03B7\u03BC\u03B9\u03BF\u03C5\u03C1\u03B3\u03AF\u03B1 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03BF\u03C5 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B5\u03C0\u03B9\u03C4\u03C5\u03C7\u03AE\u03C2"},"message.startCreateDocument":{message:"\u0388\u03BD\u03B1\u03C1\u03BE\u03B7 \u03B4\u03B7\u03BC\u03B9\u03BF\u03C5\u03C1\u03B3\u03AF\u03B1\u03C2 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03BF\u03C5...",description:"\u03A0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03AF\u03B5\u03C2 \u03BA\u03B1\u03C4\u03AC \u03C4\u03B7\u03BD \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7 \u03B4\u03B7\u03BC\u03B9\u03BF\u03C5\u03C1\u03B3\u03AF\u03B1\u03C2 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03BF\u03C5"},"message.createDocumentError":{message:"\u0391\u03C0\u03BF\u03C4\u03C5\u03C7\u03AF\u03B1 \u03B4\u03B7\u03BC\u03B9\u03BF\u03C5\u03C1\u03B3\u03AF\u03B1\u03C2 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03BF\u03C5",description:"\u039C\u03AE\u03BD\u03C5\u03BC\u03B1 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1\u03C4\u03BF\u03C2 \u03CC\u03C4\u03B1\u03BD \u03B1\u03C0\u03BF\u03C4\u03CD\u03C7\u03B5\u03B9 \u03B7 \u03B4\u03B9\u03B1\u03B4\u03B9\u03BA\u03B1\u03C3\u03AF\u03B1 \u03B4\u03B7\u03BC\u03B9\u03BF\u03C5\u03C1\u03B3\u03AF\u03B1\u03C2 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03BF\u03C5"},"message.dragOrClickToUpload":{message:"\u03A3\u03CD\u03C1\u03B5\u03C4\u03B5 \u03AE \u03BA\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03B1\u03BD\u03B5\u03B2\u03AC\u03C3\u03B5\u03C4\u03B5 \u03AD\u03B3\u03B3\u03C1\u03B1\u03C6\u03B1",description:"\u03A0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03AF\u03B5\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03B7 \u03B4\u03B9\u03B1\u03B4\u03B9\u03BA\u03B1\u03C3\u03AF\u03B1 \u03B1\u03BD\u03AD\u03B2\u03B1\u03C3\u03BC\u03B1 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03C9\u03BD"},"message.learningDocument":{message:"\u03A3\u03B5 \u03B4\u03B9\u03B1\u03B4\u03B9\u03BA\u03B1\u03C3\u03AF\u03B1 \u03B5\u03BA\u03BC\u03AC\u03B8\u03B7\u03C3\u03B7\u03C2, \u03C0\u03B1\u03C1\u03B1\u03BA\u03B1\u03BB\u03CE \u03C0\u03B5\u03C1\u03B9\u03BC\u03AD\u03BD\u03B5\u03C4\u03B5...",description:"\u03A0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03AF\u03B5\u03C2 \u03BA\u03B1\u03C4\u03AC \u03C4\u03B7 \u03B4\u03B9\u03AC\u03C1\u03BA\u03B5\u03B9\u03B1 \u03B5\u03BA\u03BC\u03AC\u03B8\u03B7\u03C3\u03B7\u03C2 \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03BF\u03C5"},"message.startNewChat":{message:"\u0388\u03BD\u03B1\u03C1\u03BE\u03B7 \u03BD\u03AD\u03BF\u03C5 \u03B4\u03B9\u03B1\u03BB\u03CC\u03B3\u03BF\u03C5",description:"\u03A0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03AF\u03B5\u03C2 \u03BA\u03B1\u03C4\u03AC \u03C4\u03B7\u03BD \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7 \u03BD\u03AD\u03BF\u03C5 \u03B4\u03B9\u03B1\u03BB\u03CC\u03B3\u03BF\u03C5"},"message.errorApiError":{message:"\u0391\u03C0\u03BF\u03C4\u03C5\u03C7\u03AF\u03B1 \u03B1\u03C0\u03CC\u03BA\u03C1\u03B9\u03C3\u03B7\u03C2, \u03C0\u03B1\u03C1\u03B1\u03BA\u03B1\u03BB\u03CE \u03B4\u03BF\u03BA\u03B9\u03BC\u03AC\u03C3\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC \u03B1\u03C1\u03B3\u03CC\u03C4\u03B5\u03C1\u03B1",description:"\u039C\u03AE\u03BD\u03C5\u03BC\u03B1 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1\u03C4\u03BF\u03C2 \u03CC\u03C4\u03B1\u03BD \u03B1\u03C0\u03BF\u03C4\u03CD\u03C7\u03B5\u03B9 \u03B7 \u03B1\u03C0\u03CC\u03BA\u03C1\u03B9\u03C3\u03B7"},"message.errorBadRequest":{message:"\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03BC\u03BF\u03C1\u03C6\u03AE \u03C0\u03B5\u03C1\u03B9\u03B5\u03C7\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03B1\u03B9\u03C4\u03AE\u03BC\u03B1\u03C4\u03BF\u03C2, \u03C0\u03B1\u03C1\u03B1\u03BA\u03B1\u03BB\u03CE \u03BE\u03B1\u03BD\u03B1\u03C1\u03C9\u03C4\u03AE\u03C3\u03C4\u03B5",description:"\u039C\u03AE\u03BD\u03C5\u03BC\u03B1 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1\u03C4\u03BF\u03C2 \u03B3\u03B9\u03B1 \u03BA\u03B1\u03BA\u03AE \u03B1\u03AF\u03C4\u03B7\u03C3\u03B7"},"message.errorNoConversation":{message:"\u03A4\u03BF \u03C0\u03B5\u03C1\u03B9\u03B5\u03C7\u03CC\u03BC\u03B5\u03BD\u03BF \u03B4\u03B9\u03B1\u03BB\u03CC\u03B3\u03BF\u03C5 \u03B4\u03B5\u03BD \u03C5\u03C0\u03AC\u03C1\u03C7\u03B5\u03B9 \u03AE \u03AD\u03C7\u03B5\u03B9 \u03BB\u03AE\u03BE\u03B5\u03B9, \u03C0\u03B1\u03C1\u03B1\u03BA\u03B1\u03BB\u03CE \u03BE\u03B5\u03BA\u03B9\u03BD\u03AE\u03C3\u03C4\u03B5 \u03BD\u03AD\u03BF \u03B4\u03B9\u03AC\u03BB\u03BF\u03B3\u03BF",description:"\u039C\u03AE\u03BD\u03C5\u03BC\u03B1 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1\u03C4\u03BF\u03C2 \u03CC\u03C4\u03B1\u03BD \u03C4\u03BF \u03C0\u03B5\u03C1\u03B9\u03B5\u03C7\u03CC\u03BC\u03B5\u03BD\u03BF \u03B4\u03B9\u03B1\u03BB\u03CC\u03B3\u03BF\u03C5 \u03B4\u03B5\u03BD \u03C5\u03C0\u03AC\u03C1\u03C7\u03B5\u03B9"},"message.errorContentTooLarge":{message:"\u03A4\u03BF \u03C0\u03B5\u03C1\u03B9\u03B5\u03C7\u03CC\u03BC\u03B5\u03BD\u03BF \u03C4\u03B7\u03C2 \u03B5\u03C1\u03CE\u03C4\u03B7\u03C3\u03B7\u03C2 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF, \u03C0\u03B1\u03C1\u03B1\u03BA\u03B1\u03BB\u03CE \u03C3\u03C5\u03BD\u03C4\u03BF\u03BC\u03B5\u03CD\u03C3\u03C4\u03B5 \u03BA\u03B1\u03B9 \u03B4\u03BF\u03BA\u03B9\u03BC\u03AC\u03C3\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC",description:"\u039C\u03AE\u03BD\u03C5\u03BC\u03B1 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1\u03C4\u03BF\u03C2 \u03CC\u03C4\u03B1\u03BD \u03C4\u03BF \u03C0\u03B5\u03C1\u03B9\u03B5\u03C7\u03CC\u03BC\u03B5\u03BD\u03BF \u03C4\u03B7\u03C2 \u03B5\u03C1\u03CE\u03C4\u03B7\u03C3\u03B7\u03C2 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF"},"message.errorTooManyRequests":{message:"\u039F\u03B9 \u03B5\u03BD\u03AD\u03C1\u03B3\u03B5\u03B9\u03AD\u03C2 \u03C3\u03B1\u03C2 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03BF\u03BB\u03CD \u03C3\u03C5\u03C7\u03BD\u03AD\u03C2, \u03C0\u03B1\u03C1\u03B1\u03BA\u03B1\u03BB\u03CE \u03B4\u03BF\u03BA\u03B9\u03BC\u03AC\u03C3\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC \u03B1\u03C1\u03B3\u03CC\u03C4\u03B5\u03C1\u03B1",description:"\u039C\u03AE\u03BD\u03C5\u03BC\u03B1 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1\u03C4\u03BF\u03C2 \u03CC\u03C4\u03B1\u03BD \u03BF\u03B9 \u03B5\u03BD\u03AD\u03C1\u03B3\u03B5\u03B9\u03B5\u03C2 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03BF\u03BB\u03CD \u03C3\u03C5\u03C7\u03BD\u03AD\u03C2"},"message.errorUsedUp":{message:"\u0397 \u03C0\u03BF\u03C3\u03CC\u03C4\u03B7\u03C4\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2 \u03C3\u03B1\u03C2 \u03AD\u03C7\u03B5\u03B9 \u03C6\u03C4\u03AC\u03C3\u03B5\u03B9 \u03C3\u03C4\u03BF \u03B1\u03BD\u03CE\u03C4\u03B1\u03C4\u03BF \u03CC\u03C1\u03B9\u03BF, \u03C0\u03B1\u03C1\u03B1\u03BA\u03B1\u03BB\u03CE \u03B1\u03B3\u03BF\u03C1\u03AC\u03C3\u03C4\u03B5 \u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B7 \u03C0\u03BF\u03C3\u03CC\u03C4\u03B7\u03C4\u03B1 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5",description:"\u039C\u03AE\u03BD\u03C5\u03BC\u03B1 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1\u03C4\u03BF\u03C2 \u03CC\u03C4\u03B1\u03BD \u03B7 \u03C0\u03BF\u03C3\u03CC\u03C4\u03B7\u03C4\u03B1 \u03AD\u03C7\u03B5\u03B9 \u03BA\u03B1\u03C4\u03B1\u03BD\u03B1\u03BB\u03C9\u03B8\u03B5\u03AF"},"message.errorUnknown":{message:"\u03A3\u03C6\u03AC\u03BB\u03BC\u03B1 \u03AC\u03B3\u03BD\u03C9\u03C3\u03C4\u03BF\u03C5 server, \u03C0\u03B1\u03C1\u03B1\u03BA\u03B1\u03BB\u03CE \u03B4\u03BF\u03BA\u03B9\u03BC\u03AC\u03C3\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC \u03AE \u03B5\u03C0\u03B9\u03BA\u03BF\u03B9\u03BD\u03C9\u03BD\u03AE\u03C3\u03C4\u03B5 \u03BC\u03B5 \u03C4\u03B7\u03BD \u03C5\u03C0\u03BF\u03C3\u03C4\u03AE\u03C1\u03B9\u03BE\u03B7",description:"\u039C\u03AE\u03BD\u03C5\u03BC\u03B1 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1\u03C4\u03BF\u03C2 \u03B3\u03B9\u03B1 \u03AC\u03B3\u03BD\u03C9\u03C3\u03C4\u03BF \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1"},"message.errorTimeout":{message:"\u0397 \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03B7 \u03C3\u03C4\u03B7\u03BD \u03B5\u03C1\u03CE\u03C4\u03B7\u03C3\u03B7 \u03BE\u03B5\u03C0\u03AD\u03C1\u03B1\u03C3\u03B5 \u03C4\u03BF \u03C7\u03C1\u03CC\u03BD\u03BF, \u03C0\u03B1\u03C1\u03B1\u03BA\u03B1\u03BB\u03CE \u03B4\u03BF\u03BA\u03B9\u03BC\u03AC\u03C3\u03C4\u03B5 \u03BE\u03B1\u03BD\u03AC \u03B1\u03C1\u03B3\u03CC\u03C4\u03B5\u03C1\u03B1",description:"\u039C\u03AE\u03BD\u03C5\u03BC\u03B1 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1\u03C4\u03BF\u03C2 \u03B3\u03B9\u03B1 \u03C5\u03C0\u03AD\u03C1\u03B2\u03B1\u03C3\u03B7 \u03C7\u03C1\u03CC\u03BD\u03BF\u03C5"},"message.errorNotApplied":{message:"\u0394\u03B5\u03BD \u03AD\u03C7\u03B5\u03C4\u03B5 \u03B6\u03B7\u03C4\u03AE\u03C3\u03B5\u03B9 \u03B1\u03C5\u03C4\u03AE \u03C4\u03B7\u03BD \u03C5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03B1, \u03C0\u03B1\u03C1\u03B1\u03BA\u03B1\u03BB\u03CE \u03B6\u03B7\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C4\u03B7\u03BD \u03BA\u03B1\u03B9 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03C4\u03B5 \u03BD\u03B1 \u03C1\u03C9\u03C4\u03AC\u03C4\u03B5",description:"\u039C\u03AE\u03BD\u03C5\u03BC\u03B1 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1\u03C4\u03BF\u03C2 \u03B3\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03C4\u03B7 \u03C0\u03BF\u03C5 \u03B4\u03B5\u03BD \u03AD\u03C7\u03B5\u03B9 \u03B6\u03B7\u03C4\u03AE\u03C3\u03B5\u03B9 \u03C5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03B1"},"message.confirmDelete":{message:"\u0395\u03C0\u03B9\u03B2\u03B5\u03B2\u03B1\u03AF\u03C9\u03C3\u03B7 \u03B4\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE\u03C2",description:"\u03A0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03AF\u03B5\u03C2 \u03B3\u03B9\u03B1 \u03B5\u03C0\u03B9\u03B2\u03B5\u03B2\u03B1\u03AF\u03C9\u03C3\u03B7 \u03B4\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE\u03C2"},"message.howToUse":{message:"\u03A0\u03B9\u03AD\u03C3\u03C4\u03B5 Shift+Enter \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BA\u03AC\u03BD\u03B5\u03C4\u03B5 \u03BD\u03AD\u03B1 \u03B3\u03C1\u03B1\u03BC\u03BC\u03AE",description:"\u03A0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03AF\u03B5\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03BF \u03C0\u03CE\u03C2 \u03BD\u03B1 \u03BA\u03AC\u03BD\u03B5\u03C4\u03B5 \u03BD\u03AD\u03B1 \u03B3\u03C1\u03B1\u03BC\u03BC\u03AE"},"message.createRepositorySuccess":{message:"\u0397 \u03B4\u03B7\u03BC\u03B9\u03BF\u03C5\u03C1\u03B3\u03AF\u03B1 \u03B2\u03AC\u03C3\u03B7\u03C2 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD \u03AE\u03C4\u03B1\u03BD \u03B5\u03C0\u03B9\u03C4\u03C5\u03C7\u03AE\u03C2",description:"\u03A0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03AF\u03B5\u03C2 \u03B5\u03C0\u03B9\u03C4\u03C5\u03C7\u03AF\u03B1\u03C2 \u03B3\u03B9\u03B1 \u03B4\u03B7\u03BC\u03B9\u03BF\u03C5\u03C1\u03B3\u03AF\u03B1 \u03B2\u03AC\u03C3\u03B7\u03C2 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD"},"message.createRepositoryFailed":{message:"\u0391\u03C0\u03BF\u03C4\u03C5\u03C7\u03AF\u03B1 \u03B4\u03B7\u03BC\u03B9\u03BF\u03C5\u03C1\u03B3\u03AF\u03B1\u03C2 \u03B2\u03AC\u03C3\u03B7\u03C2 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD",description:"\u039C\u03AE\u03BD\u03C5\u03BC\u03B1 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1\u03C4\u03BF\u03C2 \u03B3\u03B9\u03B1 \u03B1\u03C0\u03BF\u03C4\u03C5\u03C7\u03AF\u03B1 \u03B4\u03B7\u03BC\u03B9\u03BF\u03C5\u03C1\u03B3\u03AF\u03B1\u03C2 \u03B2\u03AC\u03C3\u03B7\u03C2 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD"},"message.deleteRepositorySuccess":{message:"\u0397 \u03B4\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE \u03B2\u03AC\u03C3\u03B7\u03C2 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD \u03AE\u03C4\u03B1\u03BD \u03B5\u03C0\u03B9\u03C4\u03C5\u03C7\u03AE\u03C2",description:"\u03A0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03AF\u03B5\u03C2 \u03B5\u03C0\u03B9\u03C4\u03C5\u03C7\u03AF\u03B1\u03C2 \u03B3\u03B9\u03B1 \u03B4\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE \u03B2\u03AC\u03C3\u03B7\u03C2 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD"},"message.deleteDocumentSuccess":{message:"\u0397 \u03B4\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03BF\u03C5 \u03AE\u03C4\u03B1\u03BD \u03B5\u03C0\u03B9\u03C4\u03C5\u03C7\u03AE\u03C2",description:"\u03A0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03AF\u03B5\u03C2 \u03B5\u03C0\u03B9\u03C4\u03C5\u03C7\u03AF\u03B1\u03C2 \u03B3\u03B9\u03B1 \u03B4\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE \u03B5\u03B3\u03B3\u03C1\u03AC\u03C6\u03BF\u03C5"},"message.currentRepository":{message:"\u03A4\u03C1\u03AD\u03C7\u03BF\u03C5\u03C3\u03B1 \u03B2\u03AC\u03C3\u03B7 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD",description:"\u03A0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03AF\u03B5\u03C2 \u03C0\u03BF\u03C5 \u03B5\u03BC\u03C6\u03B1\u03BD\u03AF\u03B6\u03BF\u03C5\u03BD \u03C4\u03B7\u03BD \u03C4\u03C1\u03AD\u03C7\u03BF\u03C5\u03C3\u03B1 \u03B2\u03AC\u03C3\u03B7 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD"},"message.nameRequired":{message:"\u03A4\u03BF \u03CC\u03BD\u03BF\u03BC\u03B1 \u03B4\u03B5\u03BD \u03BC\u03C0\u03BF\u03C1\u03B5\u03AF \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03BA\u03B5\u03BD\u03CC",description:"\u039C\u03AE\u03BD\u03C5\u03BC\u03B1 \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1\u03C4\u03BF\u03C2 \u03CC\u03C4\u03B1\u03BD \u03C4\u03BF \u03CC\u03BD\u03BF\u03BC\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03BA\u03B5\u03BD\u03CC"},"message.inputRepositoryName":{message:"\u038C\u03BD\u03BF\u03BC\u03B1 \u03B2\u03AC\u03C3\u03B7\u03C2 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD",description:"\u0394\u03B5\u03AF\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF \u03B3\u03B9\u03B1 \u03C4\u03BF \u03CC\u03BD\u03BF\u03BC\u03B1 \u03C4\u03B7\u03C2 \u03B2\u03AC\u03C3\u03B7\u03C2 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD"},"message.inputRepositoryDescription":{message:"\u03A0\u03B5\u03C1\u03B9\u03B3\u03C1\u03AC\u03C8\u03C4\u03B5 \u03C4\u03B7 \u03B2\u03AC\u03C3\u03B5\u03B9\u03C2 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD \u03C3\u03B1\u03C2 \u03BC\u03B5 \u03BC\u03AF\u03B1 \u03C0\u03C1\u03CC\u03C4\u03B1\u03C3\u03B7",description:"\u0393\u03C1\u03B1\u03BC\u03BC\u03AE \u03B5\u03B9\u03C3\u03CC\u03B4\u03BF\u03C5 \u03B3\u03B9\u03B1 \u03C4\u03B7\u03BD \u03C0\u03B5\u03C1\u03B9\u03B3\u03C1\u03B1\u03C6\u03AE \u03C4\u03B7\u03C2 \u03B2\u03AC\u03C3\u03B7\u03C2 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD"},"message.supportedFiles":{message:"\u03A5\u03C0\u03BF\u03C3\u03C4\u03B7\u03C1\u03B9\u03B6\u03CC\u03BC\u03B5\u03BD\u03BF\u03B9 \u03C4\u03CD\u03C0\u03BF\u03B9 \u03B1\u03C1\u03C7\u03B5\u03AF\u03C9\u03BD: .docx, .doc, .pdf, .txt, .csv, .enex, .epub, .eml, .html, .htm, .shtml, .md, .odt, .ppt, .pptx",description:"\u03A0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03AF\u03B5\u03C2 \u03C0\u03BF\u03C5 \u03B4\u03B5\u03AF\u03C7\u03BD\u03BF\u03C5\u03BD \u03C4\u03BF\u03C5\u03C2 \u03C5\u03C0\u03BF\u03C3\u03C4\u03B7\u03C1\u03B9\u03B6\u03CC\u03BC\u03B5\u03BD\u03BF\u03C5\u03C2 \u03C4\u03CD\u03C0\u03BF\u03C5\u03C2 \u03B1\u03C1\u03C7\u03B5\u03AF\u03C9\u03BD"},"nav.chat":{message:"\u03A3\u03C5\u03BD\u03BF\u03BC\u03B9\u03BB\u03AF\u03B1",description:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AF\u03B1 \u03C0\u03BB\u03BF\u03AE\u03B3\u03B7\u03C3\u03B7\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03B7 \u03C3\u03C5\u03BD\u03BF\u03BC\u03B9\u03BB\u03AF\u03B1"},"nav.setting":{message:"\u03A1\u03C5\u03B8\u03BC\u03AF\u03C3\u03B5\u03B9\u03C2",description:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AF\u03B1 \u03C0\u03BB\u03BF\u03AE\u03B3\u03B7\u03C3\u03B7\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03B9\u03C2 \u03C1\u03C5\u03B8\u03BC\u03AF\u03C3\u03B5\u03B9\u03C2"},"nav.manage":{message:"\u0394\u03B9\u03B1\u03C7\u03B5\u03AF\u03C1\u03B9\u03C3\u03B7",description:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AF\u03B1 \u03C0\u03BB\u03BF\u03AE\u03B3\u03B7\u03C3\u03B7\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03B7 \u03B4\u03B9\u03B1\u03C7\u03B5\u03AF\u03C1\u03B9\u03C3\u03B7"},"title.manage":{message:"\u0394\u03B9\u03B1\u03C7\u03B5\u03AF\u03C1\u03B9\u03C3\u03B7 \u03B2\u03AC\u03C3\u03B7\u03C2 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD",description:"\u03A4\u03AF\u03C4\u03BB\u03BF\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03B7 \u03B4\u03B9\u03B1\u03C7\u03B5\u03AF\u03C1\u03B9\u03C3\u03B7 \u03C4\u03B7\u03C2 \u03B2\u03AC\u03C3\u03B7\u03C2 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD"},"title.createRepository":{message:"\u0394\u03B7\u03BC\u03B9\u03BF\u03C5\u03C1\u03B3\u03AF\u03B1 \u03B2\u03AC\u03C3\u03B7\u03C2 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD",description:"\u03A4\u03AF\u03C4\u03BB\u03BF\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03B7 \u03B4\u03B7\u03BC\u03B9\u03BF\u03C5\u03C1\u03B3\u03AF\u03B1 \u03B2\u03AC\u03C3\u03B7\u03C2 \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD"},"title.repositories":{message:"\u039B\u03AF\u03C3\u03C4\u03B1 \u03B2\u03AC\u03C3\u03B5\u03C9\u03BD \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD",description:"\u03A4\u03AF\u03C4\u03BB\u03BF\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03B7 \u03BB\u03AF\u03C3\u03C4\u03B1 \u03C4\u03C9\u03BD \u03B2\u03AC\u03C3\u03B5\u03C9\u03BD \u03B3\u03BD\u03CE\u03C3\u03B5\u03C9\u03BD"}};export{e as default};
|