@acedatacloud/nexior 3.16.1 → 3.17.1
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-BkuwlRoo.js → Auth-7LrIaRXX.js} +1 -1
- package/dist/assets/{BotPlaceholder-DOhMSuSg.js → BotPlaceholder-BVT46TAd.js} +1 -1
- package/dist/assets/{Callback-LTQJypAB.js → Callback-hABhRKIt.js} +1 -1
- package/dist/assets/{Console--z9Y3v_M.js → Console-8ND3fATq.js} +1 -1
- package/dist/assets/{Conversation-Dq-9qyVg.js → Conversation-DE57lMgT.js} +2 -2
- package/dist/assets/{CopyToClipboard-BIu2bCpR.js → CopyToClipboard-UijJbsqJ.js} +1 -1
- package/dist/assets/{Detail-ifZWQwqk.js → Detail-8Ugy1eYF.js} +1 -1
- package/dist/assets/{EditArray-rKzAa6Wh.js → EditArray-gm5t_Kz0.js} +1 -1
- package/dist/assets/{Extra-DoCcSdV7.js → Extra-CKR7SAc_.js} +1 -1
- package/dist/assets/{FilePreview-Dzcap-lr.js → FilePreview-Cdc19MKr.js} +1 -1
- package/dist/assets/{History-Ckw35no-.js → History-DliNkRyl.js} +1 -1
- package/dist/assets/{ImagePreview-D_8VP_T0.js → ImagePreview-6EIbC_sR.js} +1 -1
- package/dist/assets/{ImageWrapper-ChQNPH-9.js → ImageWrapper-fi7fasjx.js} +1 -1
- package/dist/assets/{Index-pudkbDgQ.js → Index-6hjuvHB8.js} +1 -1
- package/dist/assets/{Index-CkDSyVOt.js → Index-BNo1miBD.js} +1 -1
- package/dist/assets/{Index-DQOS0eHA.js → Index-BfvqSRlg.js} +1 -1
- package/dist/assets/{Index-BIAryaS2.js → Index-BsCRjHo8.js} +1 -1
- package/dist/assets/{Index-D0b-qid1.js → Index-C6i06Gmt.js} +1 -1
- package/dist/assets/{Index-BXrOomgN.js → Index-CC7s4u_Q.js} +1 -1
- package/dist/assets/Index-CNupoaje.js +1 -0
- package/dist/assets/{Index-DBml4as3.js → Index-CrGil6g0.js} +1 -1
- package/dist/assets/Index-CuveKqEU.css +1 -0
- package/dist/assets/{Index-BZNoX8rt.css → Index-CxJI3mwA.css} +1 -1
- package/dist/assets/{Index-kBzxfovf.js → Index-D14rIJOY.js} +1 -1
- package/dist/assets/{Index-Bwl6xgRR.js → Index-DIJCfRzw.js} +1 -1
- package/dist/assets/{Index-BOtwcGZT.js → Index-DtOJNhKA.js} +1 -1
- package/dist/assets/Index-DwJQGhU2.js +1 -0
- package/dist/assets/{Index-DqM54IVU.js → Index-Srfbm7-U.js} +1 -1
- package/dist/assets/{Index-DL6MtFfh.js → Index-i5itoYxe.js} +1 -1
- package/dist/assets/{InfoIcon-D6PUDRo_.js → InfoIcon-Xl69Q1MM.js} +1 -1
- package/dist/assets/{Invitees-BaMTYTou.js → Invitees-DBy66OXl.js} +1 -1
- package/dist/assets/{List-Y0x1Nxy5.js → List-Bd073jPw.js} +1 -1
- package/dist/assets/{List-D3UbKccZ.js → List-F2vQUMUP.js} +1 -1
- package/dist/assets/{List-CqFdyLED.js → List-MTniuJeY.js} +1 -1
- package/dist/assets/{Login-Bi06eMin.js → Login-MW3GOqC9.js} +1 -1
- package/dist/assets/{Main-CQXFn9ty.js → Main-0mcjc1zN.js} +1 -1
- package/dist/assets/Navigator-C7-4_HoX.js +1 -0
- package/dist/assets/{Navigator-DduT-WvI.css → Navigator-Ceq4Wad_.css} +1 -1
- package/dist/assets/{NoTasks-DWe30n2J.js → NoTasks-CE2VHR2V.js} +1 -1
- package/dist/assets/{Pagination-Bf0Ix9ET.js → Pagination-Dj1BGjQp.js} +1 -1
- package/dist/assets/Status-NJPGZDSw.js +1 -0
- package/dist/assets/{Subscribe-5JYfDCXK.js → Subscribe-BgoU29ka.js} +1 -1
- package/dist/assets/{VideoPlayer-dcpMk5wp.js → VideoPlayer-DKkdcOyq.js} +1 -1
- package/dist/assets/{_Uint8Array-B4Ba1PVM.js → _Uint8Array-CP8wtPEA.js} +1 -1
- package/dist/assets/_baseClone-CoApr6-J.js +1 -0
- package/dist/assets/_baseIteratee-C5G35sz0.js +1 -0
- package/dist/assets/{_initCloneObject-BH7jWQ_I.js → _initCloneObject-BA-9LMnp.js} +1 -1
- package/dist/assets/{castArray-BHtbvzcE.js → castArray-CDAve6Uh.js} +1 -1
- package/dist/assets/common-B3l71Jyp.js +1 -0
- package/dist/assets/common-B6ANnQVT.js +1 -0
- package/dist/assets/common-Ba3KmXGc.js +1 -0
- package/dist/assets/common-C0J73rwn.js +1 -0
- package/dist/assets/common-CA0573dW.js +1 -0
- package/dist/assets/common-CA1QAZX4.js +1 -0
- package/dist/assets/common-CBxtDAFq.js +1 -0
- package/dist/assets/common-CDSv86Qj.js +1 -0
- package/dist/assets/common-CG0EQkNE.js +1 -0
- package/dist/assets/common-CJr56rFm.js +1 -0
- package/dist/assets/{common-OL48uI-0.js → common-D3CfV170.js} +1 -1
- package/dist/assets/common-D3_4p9TP.js +1 -0
- package/dist/assets/common-D5nT0q8u.js +1 -0
- package/dist/assets/common-DGzA3Png.js +1 -0
- package/dist/assets/{common-NwnpPmOh.js → common-DcnAeafW.js} +1 -1
- package/dist/assets/common-DwvtzAWR.js +1 -0
- package/dist/assets/common-k3jif74g.js +1 -0
- package/dist/assets/common-vFO_cP3J.js +1 -0
- package/dist/assets/{debounce-BD0Llk1h.js → debounce-1efl_mvL.js} +1 -1
- package/dist/assets/{distribution-D3LHUbpf.js → distribution-DPUYoKcb.js} +1 -1
- package/dist/assets/{dropdown-C1t8uY18.js → dropdown-BnhCaS_f.js} +1 -1
- package/dist/assets/index--3Z-xHzh.js +1 -0
- package/dist/assets/index-BBQ_UUnS.js +638 -0
- package/dist/assets/{index-Dt3STBTu.js → index-BGabSj17.js} +2 -2
- package/dist/assets/{index-DeUpuRmm.js → index-BMCjpD48.js} +1 -1
- package/dist/assets/{index-BJ9sBisj.js → index-BSDI4dFo.js} +1 -1
- package/dist/assets/{index-CclW0Rit.js → index-BTlX-Tfg.js} +1 -1
- package/dist/assets/index-BapylglA.js +1 -0
- package/dist/assets/{index-CJH_hr7w.js → index-BiNYa2x2.js} +1 -1
- package/dist/assets/{index-CNTA3A3f.js → index-C3SYsYu_.js} +1 -1
- package/dist/assets/{index-CA6dWpXZ.js → index-CM8ayRyw.js} +1 -1
- package/dist/assets/{index-CXToY2-h.js → index-COT9fz42.js} +2 -2
- package/dist/assets/{index-B7dvDo-P.js → index-CTEN31bH.js} +1 -1
- package/dist/assets/{index-CjnHN7w2.js → index-CdvQ8ZtS.js} +1 -1
- package/dist/assets/{index-DffkKKNy.js → index-Cr0sAHeI.js} +1 -1
- package/dist/assets/index-CwMR5y3F.js +1 -0
- package/dist/assets/{index-C6hA5TWo.js → index-CxoDu7WD.js} +1 -1
- package/dist/assets/{index-DsSgo1-j.js → index-D7neHZ0I.js} +2 -2
- package/dist/assets/{index-ThOzPa5J.js → index-DDVvuE-e.js} +1 -1
- package/dist/assets/{index-DuzqMVIQ.js → index-DI3fGy7J.js} +1 -1
- package/dist/assets/{index-D0mYfORH.js → index-DJVhLku9.js} +1 -1
- package/dist/assets/{index-WvATVaSG.js → index-DMZoP9hn.js} +1 -1
- package/dist/assets/{index-CvGE-1KG.js → index-DQZbejQA.js} +1 -1
- package/dist/assets/{index-BvYpsGFP.js → index-DXtnUso3.js} +1 -1
- package/dist/assets/index-LbigwZMB.js +1 -0
- package/dist/assets/index-a35IcFm1.js +1 -0
- package/dist/assets/{index-cwwhbHoU.js → index-aPXY01Tj.js} +1 -1
- package/dist/assets/{index-BpH4Ggsl.js → index-bwlt2UVM.js} +1 -1
- package/dist/assets/{index-DLQX8ces.js → index-g36qfLkk.js} +1 -1
- package/dist/assets/{index-S8RkxyHh.js → index-uuDZo75T.js} +1 -1
- package/dist/assets/{index.es-BOpBg0UI.js → index.es-BxnzRC37.js} +1 -1
- package/dist/assets/{isEqual-Dbw7tVId.js → isEqual-BUS99vVF.js} +1 -1
- package/dist/assets/{isPlainObject-pRg19Jue.js → isPlainObject-BVC9L144.js} +1 -1
- package/dist/assets/kling-7pNDzfNN.js +1 -0
- package/dist/assets/kling-BK9591VN.js +1 -0
- package/dist/assets/kling-BaTnwPGB.js +1 -0
- package/dist/assets/kling-WY6h8Akm.js +1 -0
- package/dist/assets/midjourney-BK68rw4v.js +1 -0
- package/dist/assets/{midjourney-DEISXjPJ.js → midjourney-BOSLPXYd.js} +1 -1
- package/dist/assets/midjourney-Bc96BM98.js +1 -0
- package/dist/assets/midjourney-Bs6UTWc_.js +1 -0
- package/dist/assets/midjourney-BxBWHaOt.js +1 -0
- package/dist/assets/midjourney-BxOyD_dl.js +1 -0
- package/dist/assets/midjourney-CCAZM0l6.js +1 -0
- package/dist/assets/midjourney-CLIyDa6j.js +1 -0
- package/dist/assets/midjourney-CvJ_CJAc.js +1 -0
- package/dist/assets/midjourney-D1IbLd1m.js +1 -0
- package/dist/assets/midjourney-DJ_2P23a.js +1 -0
- package/dist/assets/midjourney-DKLOMMVC.js +1 -0
- package/dist/assets/midjourney-DM4jVekc.js +1 -0
- package/dist/assets/midjourney-DPAw3bi8.js +1 -0
- package/dist/assets/midjourney-DlQvz4Bo.js +1 -0
- package/dist/assets/midjourney-DtAVhT0M.js +1 -0
- package/dist/assets/{midjourney-kzhxkDbQ.js → midjourney-tCFio6uZ.js} +1 -1
- package/dist/assets/midjourney-tsH3Y0i-.js +1 -0
- package/dist/assets/{order-BnPp2oTp.js → order-CxcKlnfR.js} +1 -1
- package/dist/assets/pixverse-gZjsZans.js +1 -0
- package/dist/assets/{price-onQYeDGi.js → price-Cv9IK5ng.js} +1 -1
- package/dist/assets/site-1ftYKSRI.js +1 -0
- package/dist/assets/site-B6W9UsMQ.js +1 -0
- package/dist/assets/site-BIFuP6eQ.js +1 -0
- package/dist/assets/site-BKyvjRqE.js +1 -0
- package/dist/assets/site-BctWZhc6.js +1 -0
- package/dist/assets/site-BgbgFKsH.js +1 -0
- package/dist/assets/site-BsNGoV0r.js +1 -0
- package/dist/assets/site-BtCSmOaH.js +1 -0
- package/dist/assets/site-BtSCiDVK.js +1 -0
- package/dist/assets/site-C5akFVph.js +1 -0
- package/dist/assets/site-C96sCmME.js +1 -0
- package/dist/assets/site-CmeECrH6.js +1 -0
- package/dist/assets/site-DF2w_1HQ.js +1 -0
- package/dist/assets/site-DcYEpoYs.js +1 -0
- package/dist/assets/site-Df8HKw8h.js +1 -0
- package/dist/assets/site-P3A2NZk8.js +1 -0
- package/dist/assets/site-VCgmiNKK.js +1 -0
- package/dist/assets/site-fbRFJ8zE.js +1 -0
- package/dist/assets/{strings-JVRUlEcU.js → strings-D6mb3ZVz.js} +1 -1
- package/dist/assets/{typescript-BDQzoLbE.js → typescript-51mfcZRW.js} +1 -1
- package/dist/assets/use-form-item-CxqykdJA.js +1 -0
- package/dist/assets/veo-3zKgxer5.js +1 -0
- package/dist/assets/veo-BI4g6x_1.js +1 -0
- package/dist/assets/veo-BR3H2R4F.js +1 -0
- package/dist/assets/veo-BXcltFVR.js +1 -0
- package/dist/assets/veo-BocIIMgA.js +1 -0
- package/dist/assets/veo-CVaSyNQn.js +1 -0
- package/dist/assets/veo-CZOVKp22.js +1 -0
- package/dist/assets/veo-CZqDkrPQ.js +1 -0
- package/dist/assets/veo-CZra50B-.js +1 -0
- package/dist/assets/veo-CbGSG0_a.js +1 -0
- package/dist/assets/veo-DDTWG0_-.js +1 -0
- package/dist/assets/veo-DU-VU18f.js +1 -0
- package/dist/assets/veo-D_Y5yWq9.js +1 -0
- package/dist/assets/veo-DhJcbz6F.js +1 -0
- package/dist/assets/veo-Ds3v9g7y.js +1 -0
- package/dist/assets/veo-K6G5xBEu.js +1 -0
- package/dist/assets/veo-RAvxcZeN.js +1 -0
- package/dist/assets/veo-a4_wVvTS.js +1 -0
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/Index-B5dKecAV.js +0 -1
- package/dist/assets/Navigator-ghNnzyAd.js +0 -1
- package/dist/assets/Status-DMSStC55.js +0 -1
- package/dist/assets/_baseClone-CP-pCuea.js +0 -1
- package/dist/assets/_baseIteratee-CWuQF0Pw.js +0 -1
- package/dist/assets/common-1iQSWUd1.js +0 -1
- package/dist/assets/common-Be4H6jdV.js +0 -1
- package/dist/assets/common-BghFkLWM.js +0 -1
- package/dist/assets/common-BrFby4Ky.js +0 -1
- package/dist/assets/common-Bvick_UR.js +0 -1
- package/dist/assets/common-C2rm-k66.js +0 -1
- package/dist/assets/common-C_J4y2JE.js +0 -1
- package/dist/assets/common-CkuUcrO9.js +0 -1
- package/dist/assets/common-D-6r_-m9.js +0 -1
- package/dist/assets/common-DG3cTgFD.js +0 -1
- package/dist/assets/common-DRBnXSRp.js +0 -1
- package/dist/assets/common-Dilv4fxi.js +0 -1
- package/dist/assets/common-DvIXsScc.js +0 -1
- package/dist/assets/common-DyFFpr0B.js +0 -1
- package/dist/assets/common-HS8SvCoT.js +0 -1
- package/dist/assets/common-pw6hDCQ6.js +0 -1
- package/dist/assets/index-4aBt5Vjx.js +0 -638
- package/dist/assets/index-BVisl222.js +0 -1
- package/dist/assets/index-BsJuzfM9.js +0 -1
- package/dist/assets/index-D4Nbe_d4.js +0 -1
- package/dist/assets/index-DhqaUZXu.js +0 -1
- package/dist/assets/index-vSn3l9f9.js +0 -1
- package/dist/assets/kling-B1nCkQH-.js +0 -1
- package/dist/assets/kling-BlrhOths.js +0 -1
- package/dist/assets/kling-D7hbQQQW.js +0 -1
- package/dist/assets/kling-DrL0AwJz.js +0 -1
- package/dist/assets/midjourney-8dbl06WU.js +0 -1
- package/dist/assets/midjourney-8f3J9bhU.js +0 -1
- package/dist/assets/midjourney-BN10jSwh.js +0 -1
- package/dist/assets/midjourney-BUxwE3F9.js +0 -1
- package/dist/assets/midjourney-CBocYF0B.js +0 -1
- package/dist/assets/midjourney-CeriAk6B.js +0 -1
- package/dist/assets/midjourney-ClhQVRIK.js +0 -1
- package/dist/assets/midjourney-Cp6qfauG.js +0 -1
- package/dist/assets/midjourney-Cx5KEAE9.js +0 -1
- package/dist/assets/midjourney-D8k7Y7vV.js +0 -1
- package/dist/assets/midjourney-DtfbTn0W.js +0 -1
- package/dist/assets/midjourney-G8qopR2N.js +0 -1
- package/dist/assets/midjourney-Nvbqh73g.js +0 -1
- package/dist/assets/midjourney-XRLicaes.js +0 -1
- package/dist/assets/midjourney-f98eMyz2.js +0 -1
- package/dist/assets/midjourney-nPq846ge.js +0 -1
- package/dist/assets/pixverse-DflL-q_g.js +0 -1
- package/dist/assets/site-BKEpp32T.js +0 -1
- package/dist/assets/site-Be_-UII9.js +0 -1
- package/dist/assets/site-BhvK4gec.js +0 -1
- package/dist/assets/site-BlMs9Zhy.js +0 -1
- package/dist/assets/site-Bx0QYEf2.js +0 -1
- package/dist/assets/site-C1NAEwMM.js +0 -1
- package/dist/assets/site-CQ4690VO.js +0 -1
- package/dist/assets/site-C_QQG80S.js +0 -1
- package/dist/assets/site-CozAKuXr.js +0 -1
- package/dist/assets/site-CsjaqKqY.js +0 -1
- package/dist/assets/site-CvoS6ApR.js +0 -1
- package/dist/assets/site-D551UBmE.js +0 -1
- package/dist/assets/site-DKA0eaC7.js +0 -1
- package/dist/assets/site-D_5Q7HUd.js +0 -1
- package/dist/assets/site-Dm90PXZn.js +0 -1
- package/dist/assets/site-God48tBE.js +0 -1
- package/dist/assets/site-QlkZcHVJ.js +0 -1
- package/dist/assets/site-r82zeRnp.js +0 -1
- package/dist/assets/use-form-item-CoynAZx1.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as v,
|
|
1
|
+
import{d as v,c7 as C,de as E,df as k,h as A,i as p,j as e,k as o,l as i,t as l,x as n,J as T,cN as D,y as c,D as _,b as P,o as s}from"./index-BBQ_UUnS.js";import{I as B}from"./credential-DWyZQ5lE.js";import{P as N}from"./Pagination-Dj1BGjQp.js";import{C as F}from"./CopyToClipboard-UijJbsqJ.js";import{E as x,a as I,b as O}from"./index-BiNYa2x2.js";import{E as R,a as U}from"./index-D7neHZ0I.js";import{E as q}from"./index-CdvQ8ZtS.js";import"./index-DXtnUso3.js";import"./index-CTEN31bH.js";import"./index-DJVhLku9.js";import"./typescript-51mfcZRW.js";import"./index-BTlX-Tfg.js";import"./strings-D6mb3ZVz.js";import"./castArray-CDAve6Uh.js";import"./isEqual-BUS99vVF.js";import"./_Uint8Array-CP8wtPEA.js";import"./use-form-item-CxqykdJA.js";import"./index-DQZbejQA.js";import"./index-BMCjpD48.js";import"./debounce-1efl_mvL.js";import"./_baseIteratee-C5G35sz0.js";import"./index-CM8ayRyw.js";import"./index.es-BxnzRC37.js";import"./_initCloneObject-BA-9LMnp.js";import"./isPlainObject-BVC9L144.js";import"./index-uuDZo75T.js";import"./index-r5W6hzzQ.js";const L=v({name:"ConsoleApplicationList",components:{Pagination:N,CopyToClipboard:F,ElTable:U,ElRow:O,ElButton:q,ElCol:I,ElTag:C,ElTableColumn:R,ElCard:x},data(){return{credentialType:B,applications:[],loading:!1,total:void 0,buying:!1,limit:12,form:{amount:1},active:{service:void 0,application:void 0}}},computed:{redirect(){return this.$route.query?.redirect},page(){return parseInt(this.$route.query.page?.toString()||"1")}},watch:{page:{handler(){this.onFetchData()}},type:{handler(){this.onFetchData()}}},mounted(){this.onFetchData()},methods:{onBuyMore(t){this.$router.push({name:k,params:{id:t.id}})},onPageChange(t){this.$router.push({name:this.$route.name?.toString(),query:{...this.$route.query,page:t}})},onFetchData(){this.loading=!0,E.getAll({limit:this.limit,offset:(this.page-1)*this.limit,user_id:this.$store.getters.user.id,ordering:"-created_at"}).then(({data:t})=>{this.applications=t.items,this.loading=!1,this.total=t.count}).catch(()=>{this.loading=!1})},getRemainingAmount(t){if(t.remaining_amount===void 0||t.remaining_amount===null)return"";const d=this.$t(`service.unit.${t?.service?.unit||"credit"}s`);return`${t.remaining_amount?.toFixed(6)} ${d}`},getUsedAmount(t){if(t.used_amount===void 0||t.used_amount===null)return"";const d=this.$t(`service.unit.${t?.service?.unit||"credit"}s`);return`${t.used_amount?.toFixed(6)} ${d}`}}}),S={class:"title"},V={class:"copy"},z={key:0,class:"expired-at"},M={class:"float-right"},j={class:"pagination"};function J(t,d,X,G,H,K){const u=i("el-col"),m=i("el-row"),h=i("copy-to-clipboard"),r=i("el-table-column"),f=i("el-tag"),g=i("el-button"),y=i("el-table"),$=i("el-card"),b=i("pagination"),w=D("loading");return s(),p(m,{class:"panel"},{default:e(()=>[o(u,{span:24},{default:e(()=>[o(m,null,{default:e(()=>[o(u,{span:24},{default:e(()=>[l("h2",S,n(t.$t("common.title.allApplications")),1)]),_:1})]),_:1}),o(m,null,{default:e(()=>[o(u,{span:24},{default:e(()=>[o($,{shadow:"hover"},{default:e(()=>[T((s(),p(y,{data:t.applications,stripe:"","table-layout":"fixed","empty-text":t.$t("common.message.noData")},{default:e(()=>[o(r,{prop:"id",label:t.$t("application.field.id"),width:"190px","class-name":"text-center"},{default:e(a=>[l("span",null,n(a.row.id),1),l("span",V,[o(h,{content:a?.row?.id,class:"inline-block"},null,8,["content"])])]),_:1},8,["label"]),o(r,{label:t.$t("application.field.type"),width:"80px"},{default:e(a=>[a.row?.type==="Period"?(s(),p(f,{key:0,type:"success",effect:"dark",round:""},{default:e(()=>[_(n(t.$t("application.type.period")),1)]),_:1})):c("",!0),a.row?.type==="Usage"?(s(),p(f,{key:1,effect:"dark",round:""},{default:e(()=>[_(n(t.$t("application.type.usage")),1)]),_:1})):c("",!0)]),_:1},8,["label"]),o(r,{label:t.$t("application.field.name"),width:"180px"},{default:e(a=>[l("span",null,n(a.row?.service?.title),1)]),_:1},8,["label"]),o(r,{prop:"remaining_amount",label:t.$t("application.field.remainingAmount"),width:"140px","class-name":"text-center"},{default:e(a=>[l("span",null,n(t.getRemainingAmount(a.row)),1)]),_:1},8,["label"]),o(r,{prop:"used_amount",label:t.$t("application.field.usedAmount"),width:"140px","class-name":"text-center"},{default:e(a=>[l("span",null,n(t.getUsedAmount(a.row)),1)]),_:1},8,["label"]),o(r,{label:t.$t("application.field.expiredAt"),width:"170px"},{default:e(a=>[a.row.expired_at?(s(),P("span",z,n(t.$dayjs.format(a.row.expired_at)),1)):c("",!0)]),_:1},8,["label"]),o(r,{fixed:"right",width:"120px"},{default:e(a=>[l("div",M,[a?.row?.type==="Period"||a?.row?.type==="Usage"?(s(),p(g,{key:0,type:"primary",round:"",size:"small",onClick:Q=>t.onBuyMore(a?.row)},{default:e(()=>[_(n(t.$t("application.button.buyMore")),1)]),_:2},1032,["onClick"])):c("",!0)])]),_:1})]),_:1},8,["data","empty-text"])),[[w,t.loading]])]),_:1})]),_:1})]),_:1}),o(m,null,{default:e(()=>[o(u,{span:24},{default:e(()=>[l("div",j,[o(b,{"current-page":t.page,"page-size":t.limit,total:t.total,onChange:t.onPageChange},null,8,["current-page","page-size","total","onChange"])])]),_:1})]),_:1})]),_:1})]),_:1})}const Et=A(L,[["render",J]]);export{Et as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as t}from"./index-
|
|
1
|
+
import{d as t}from"./index-BBQ_UUnS.js";const r=t({name:"AuthLogin",data(){return{redirect:this.$route.query.redirect?.toString()}},async mounted(){this.$store.state.token.access?this.$router.push(this.redirect||"/"):this.$store.dispatch("login")}});export{r as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{N as E}from"./Navigator-
|
|
1
|
+
import{N as E}from"./Navigator-C7-4_HoX.js";import{A as N}from"./Status-NJPGZDSw.js";import{dk as m,dc as u,d as _,c6 as k,L as D,h as v,i as w,j as A,t as c,k as r,x as h,l as a,D as I,o as y,de as U,dl as C,dm as L,c as V,b as z,y as B}from"./index-BBQ_UUnS.js";import{E as P}from"./index-CdvQ8ZtS.js";import{E as O}from"./index-uuDZo75T.js";import{E as S}from"./index-bwlt2UVM.js";import{E as $}from"./index-BapylglA.js";import"./index.es-BxnzRC37.js";import"./index-C3SYsYu_.js";import"./index-CTEN31bH.js";import"./index-DJVhLku9.js";import"./typescript-51mfcZRW.js";import"./index-BTlX-Tfg.js";import"./dropdown-BnhCaS_f.js";import"./castArray-CDAve6Uh.js";import"./EditArray-gm5t_Kz0.js";import"./index-DQZbejQA.js";import"./index-BMCjpD48.js";import"./use-form-item-CxqykdJA.js";import"./index-Cr0sAHeI.js";import"./index-BGabSj17.js";import"./_baseClone-CoApr6-J.js";import"./_Uint8Array-CP8wtPEA.js";import"./_initCloneObject-BA-9LMnp.js";import"./isEqual-BUS99vVF.js";import"./index-COT9fz42.js";import"./index-BSDI4dFo.js";import"./debounce-1efl_mvL.js";import"./index-CwMR5y3F.js";import"./index-CxoDu7WD.js";import"./index-r5W6hzzQ.js";import"./index-CM8ayRyw.js";function G(e){if(!e?.expired_at)return!1;try{return new Date(e?.expired_at)<new Date}catch{return!1}}function R(e){return console.debug("application remaining amount",e,e?.remaining_amount),e?.remaining_amount&&e?.remaining_amount<0}function d(e){if(!e)return console.debug("application is undefined, return false"),!1;const t=R(e),o=G(e);return console.debug("is application exhausted",t),console.debug("is application expired",o),!t&&!o}function F(e,t){if(console.debug("start to execute getFinalApplication",e,t),t&&d(t)&&e?.some(i=>i.id===t.id))return console.debug("current application is usable",t),t;console.debug("get final application from applications",e);const o=e?.find(i=>i.scope===m.GLOBAL&&i.type===u.PERIOD);if(console.debug("application1",o),d(o))return console.debug("application with global scope and Period type",o),o;const s=e?.find(i=>i.scope===m.GLOBAL&&i.type===u.USAGE);if(console.debug("application2",s),d(s))return console.debug("application with global scope and Usage type",s),s;const n=e?.find(i=>(i.scope===m.INDIVIDUAL&&i?.type)===u.PERIOD);if(console.debug("application3",n),d(n))return console.debug("application with Period type",n),n;const p=e?.find(i=>(i.scope===m.INDIVIDUAL&&i?.type)===u.USAGE);if(console.debug("application4",p),d(p))return console.debug("application with Usage type",p),p}const M=_({name:"ApplicationConfirm",components:{ElDialog:D,ElDivider:S,ElCheckbox:O,ElButton:P},props:{visible:{type:Boolean,required:!1,default:!1}},emits:["update:visible","apply"],data(){return{checked:!0}},watch:{},methods:{getBaseUrlPlatform:k,onApply(){if(!this.checked){$.error(this.$t("application.message.notAgreePolicy"));return}this.$emit("apply")}}}),T={class:"content"},q={class:"my-4"},x={class:"policy"},W={class:"policy-title"},j=["href"];function H(e,t,o,s,n,p){const i=a("el-divider"),g=a("el-checkbox"),f=a("el-button"),b=a("el-dialog");return y(),w(b,{"model-value":e.visible,width:"500px",title:e.$t("application.message.welcome"),center:"",onClose:t[1]||(t[1]=l=>e.$emit("update:visible",!1))},{default:A(()=>[c("div",T,[c("p",q,h(e.$t("application.message.notApplied")),1),r(i,{class:"my-2"}),c("div",x,[r(g,{modelValue:e.checked,"onUpdate:modelValue":t[0]||(t[0]=l=>e.checked=l),size:"large",class:"policy-checkbox"},null,8,["modelValue"]),c("span",W,h(e.$t("application.message.readPolicy")),1),c("a",{class:"policy-title highlight",target:"_blank",href:e.getBaseUrlPlatform()+"/terms"}," "+h(e.$t("application.message.policy")),9,j)]),r(f,{round:"",type:"primary",onClick:e.onApply},{default:A(()=>[I(h(e.$t("common.button.start")),1)]),_:1},8,["onClick"])])]),_:1},8,["model-value","title"])}const J=v(M,[["render",H],["__scopeId","data-v-30c096e2"]]),K=_({name:"LayoutMain",components:{Navigator:E,ApplicationStatus:N,ApplicationConfirm:J},provide(){return{initialized:V(()=>this.initialized)}},data(){return{initialized:!1,applying:!1,mobile:window.innerWidth<768}},computed:{appName(){return this.$route.meta.appName},application(){return this.$store.state[this.appName]?.application},applications(){const e=this.$store.state[this.appName]?.applications??[];console.debug("individualApplications",e);const t=this.$store.state.applications??[];return console.debug("globalApplications",t),t.concat(e)},loading(){return this.$store.state[this.appName]?.status?.getApplications===L.Request},service(){return this.$store.state[this.appName]?.service}},watch:{appName(){this.initialize()}},mounted(){this.initialize(),window.addEventListener("resize",()=>{this.mobile=window.innerWidth<768})},methods:{async initialize(){this.initialized=!1,console.debug("Fetching all individual and global applications for",this.appName),Promise.all([this.$store.dispatch("getApplications"),this.$store.dispatch(`${this.appName}/getApplications`)]).finally(()=>{console.debug("Fetched all applications",this.applications),this.$store.state.applications?.length===0&&(this.applying=!0);const e=this.$store.state[this.appName]?.application;console.debug("current application",e);const t=F(this.applications,e);console.debug("final application",t),t&&(console.debug("set final application",t,t?.type),this.$store.dispatch(`${this.appName}/setApplication`,t)),this.initialized=!0})},onApply(){U.create({type:u.USAGE,scope:m.GLOBAL,user_id:this.$store.getters.user.id}).then(()=>{$.success(this.$t("application.message.applySuccessfully")),this.initialize(),this.applying=!1}).catch(e=>{e?.response?.data?.code===C&&$.error(this.$t("application.message.alreadyApplied"))})}}}),Q={class:"wrapper"};function X(e,t,o,s,n,p){const i=a("router-view"),g=a("navigator"),f=a("application-status"),b=a("application-confirm");return y(),z("div",Q,[r(i,{class:"main"}),r(g,{class:"navigator",direction:e.mobile?"row":"column"},null,8,["direction"]),e.application?(y(),w(f,{key:0,class:"fixed right-2 top-2",application:e.application,applications:e.applications,"show-price":!1,authenticated:!!e.$store.state.token.access,service:e.service,onSelect:t[0]||(t[0]=l=>e.$store.dispatch(`${e.appName}/setApplication`,l))},null,8,["application","applications","authenticated","service"])):B("",!0),r(b,{modelValue:e.applying,"onUpdate:modelValue":t[1]||(t[1]=l=>e.applying=l),modelModifiers:{visible:!0},onApply:e.onApply},null,8,["modelValue","onApply"])])}const Ce=v(K,[["render",X],["__scopeId","data-v-0b99de0e"]]);export{Ce as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as $,z as W,h as b,b as h,o as r,E as x,A as ee,B as te,C as se,i as v,j as i,t as a,D as f,k as t,x as l,l as s,G as de,I as ce,v as C,F as O,H as A,J as L,y,K as D,L as me,M as ue,N as pe,O as he,P as fe,Q as _e,n as oe,S as ge,T as ve,R as $e,U as be,V as H,W as Ee,X as we,Y as X,Z as ke,$ as Se,a0 as J,a1 as Ie,a2 as K,a3 as Y,a4 as P,a5 as Te,a6 as B,a7 as ye,a8 as Q,a9 as Oe,aa as z,ab as Ce,ac as q,ad as Ae,ae as j,af as Ue,ag as Z,ah as Ne}from"./index-BBQ_UUnS.js";import{F as ie}from"./index.es-BxnzRC37.js";import{E as V,a as F,b as G}from"./index-C3SYsYu_.js";import{E as ne,a as ae,b as U}from"./EditArray-gm5t_Kz0.js";import{E as N,a as R}from"./index-COT9fz42.js";import{E as M}from"./index-BSDI4dFo.js";import{E as le}from"./index-bwlt2UVM.js";import{E as Re}from"./index-CwMR5y3F.js";import{E as Le,a as De}from"./index-CxoDu7WD.js";import{E as Ve}from"./index-CTEN31bH.js";const Fe=$({emits:["click"],computed:{dark(){return W("THEME")==="dark"},url(){return this.$store.state.site?.favicon}}}),Ge=["src"];function Me(e,o,E,w,k,S){return r(),h("img",{src:e.url,class:"logo",onClick:o[0]||(o[0]=d=>e.$emit("click"))},null,8,Ge)}const He=b(Fe,[["render",Me]]),Xe="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==",Je=$({name:"UserAvatar",data(){return{defaultAvatar:Xe}},computed:{user(){return this.$store.getters?.user}}}),Ke=["src"];function Ye(e,o,E,w,k,S){return r(),h("img",{src:e.user?.avatar||e.defaultAvatar,class:"avatar"},null,8,Ke)}const Pe=b(Je,[["render",Ye],["__scopeId","data-v-04402928"]]),Be=$({name:"ThemeSelector",components:{ArrowDown:ee,ElDropdown:G,ElDropdownMenu:F,ElDropdownItem:V,ElIcon:x},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:se()}),this.theme==="dark"?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},loadFromCookie(){return W("THEME")==="dark"?"dark":"light"}}}),Qe={class:"el-dropdown-link"};function ze(e,o,E,w,k,S){const d=s("arrow-down"),c=s("el-icon"),u=s("el-dropdown-item"),m=s("el-dropdown-menu"),p=s("el-dropdown");return r(),v(p,{trigger:"click",onCommand:e.onSelect},{dropdown:i(()=>[t(m,null,{default:i(()=>[t(u,{command:"light"},{default:i(()=>[f(l(e.$t("common.theme.light")),1)]),_:1}),t(u,{command:"dark"},{default:i(()=>[f(l(e.$t("common.theme.dark")),1)]),_:1})]),_:1})]),default:i(()=>[a("span",Qe,[f(l(e.currentLabel)+" ",1),t(c,{class:"el-icon--right"},{default:i(()=>[t(d)]),_:1})])]),_:1},8,["onCommand"])}const qe=b(Be,[["render",ze]]),je=$({name:"Locale",components:{ElDropdown:G,ElDropdownMenu:F,ElDropdownItem:V,ElIcon:x,ArrowDown:ee},data(){return{locales:ce}},computed:{value(){return this.$i18n.locale},currentLabel(){const e=this.locales.find(o=>o.value===this.value);return e?e.label:this.value}},methods:{async onSelectLocale(e){this.$router.push({query:{...this.$route.query,locale:void 0}}),await de(e),te("LOCALE",e,{path:"/",domain:se()})}}}),Ze={class:"el-dropdown-link"};function We(e,o,E,w,k,S){const d=s("arrow-down"),c=s("el-icon"),u=s("el-dropdown-item"),m=s("el-dropdown-menu"),p=s("el-dropdown");return r(),v(p,{trigger:"click",onCommand:e.onSelectLocale},{dropdown:i(()=>[t(m,null,{default:i(()=>[(r(!0),h(O,null,C(e.locales,(g,n)=>(r(),v(u,{key:n,command:g.value},{default:i(()=>[f(l(g.label),1)]),_:2},1032,["command"]))),128))]),_:1})]),default:i(()=>[a("span",Ze,[f(l(e.currentLabel)+" ",1),t(c,{class:"el-icon--right"},{default:i(()=>[t(d)]),_:1})])]),_:1},8,["onCommand"])}const xe=b(je,[["render",We]]),et=$({name:"GeneralSettings",components:{ThemeSwitcher:qe,LocaleSwitcher:xe}}),tt={class:"flex justify-between items-center mb-4"},st={class:"block mb-2 text-sm"},ot={class:"flex justify-between items-center mb-4"},it={class:"block mb-2 text-sm"};function nt(e,o,E,w,k,S){const d=s("theme-switcher"),c=s("locale-switcher");return r(),h(O,null,[a("div",tt,[a("label",st,l(e.$t("common.settings.theme")),1),t(d)]),a("div",ot,[a("label",it,l(e.$t("common.settings.language")),1),t(c)])],64)}const at=b(et,[["render",nt]]),lt=$({name:"SiteIndex",components:{EditText:U,EditImage:ae,EditArray:ne,ElDivider:le,ElImage:M,ElForm:R,ElFormItem:N},data(){return{editing:{title:!1}}},computed:{site(){return this.$store.getters.site}},methods:{onSave(e){const o={...this.site,...e};A.update(this.site?.id,o).then(()=>{console.debug("getSite for id",this.site?.id),this.$store.dispatch("getSite")})}}}),rt={class:"block w-full"},dt={class:"block tip"},ct={class:"block w-full"},mt={class:"block tip"},ut={class:"block w-full"},pt={class:"block tip"},ht={class:"block w-full"},ft={class:"block tip"},_t={class:"block w-full"},gt={class:"block tip"};function vt(e,o,E,w,k,S){const d=s("el-form-item"),c=s("edit-text"),u=s("el-image"),m=s("edit-image"),p=s("el-divider"),g=s("edit-array"),n=s("el-form");return r(),v(n,{model:e.site,class:"form","label-width":"auto",style:{"max-width":"600px"}},{default:i(()=>[t(d,{label:e.$t("site.field.origin")},{default:i(()=>[a("span",rt,l(e.site.origin),1),a("span",dt,l(e.$t("site.message.originTip")),1)]),_:1},8,["label"]),t(d,{label:e.$t("site.field.title")},{default:i(()=>[a("span",ct,[f(l(e.site.title)+" ",1),t(c,{"model-value":e.site.title,title:e.$t("site.title.editTitle"),placeholder:e.$t("site.placeholder.title"),onConfirm:o[0]||(o[0]=_=>e.onSave({title:_}))},null,8,["model-value","title","placeholder"])]),a("span",mt,l(e.$t("site.message.titleTip")),1)]),_:1},8,["label"]),t(d,{label:e.$t("site.field.logo")},{default:i(()=>[a("span",ut,[t(u,{src:e.site.logo,class:"logo"},null,8,["src"]),t(m,{"model-value":e.site.logo,title:e.$t("site.title.editLogo"),tip:e.$t("site.message.editLogoTip"),onConfirm:o[1]||(o[1]=_=>e.onSave({logo:_}))},null,8,["model-value","title","tip"])]),a("span",pt,l(e.$t("site.message.logoTip")),1)]),_:1},8,["label"]),t(d,{label:e.$t("site.field.favicon")},{default:i(()=>[a("span",ht,[t(u,{src:e.site.favicon,class:"favicon"},null,8,["src"]),t(m,{"model-value":e.site.favicon,title:e.$t("site.title.editFavicon"),tip:e.$t("site.message.editFaviconTip"),onConfirm:o[2]||(o[2]=_=>e.onSave({favicon:_}))},null,8,["model-value","title","tip"])]),a("span",ft,l(e.$t("site.message.faviconTip")),1)]),_:1},8,["label"]),t(p,{"border-style":"dashed"}),t(d,{label:e.$t("site.field.admins")},{default:i(()=>[a("span",_t,[f(l(e.site.admins?.join(", "))+" ",1),t(g,{"model-value":e.site?.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:o[3]||(o[3]=_=>e.onSave({admins:_}))},null,8,["model-value","title","placeholder","tip","min-error-message"])]),a("span",gt,l(e.$t("site.message.adminsTip")),1)]),_:1},8,["label"])]),_:1},8,["model"])}const $t=b(lt,[["render",vt],["__scopeId","data-v-792f0f1e"]]),bt=$({name:"SettingSeo",components:{EditText:U,EditArray:ne,ElForm:R,ElFormItem:N},data(){return{editing:{title:!1}}},computed:{site(){return this.$store.getters.site}},methods:{onSave(e){const o={...this.site,...e};A.update(this.site?.id,o).then(()=>{console.debug("getSite for id",this.site?.id),this.$store.dispatch("getSite")})}}}),Et={class:"block w-full"},wt={class:"block tip"},kt={class:"block w-full"},St={class:"block tip"};function It(e,o,E,w,k,S){const d=s("edit-text"),c=s("el-form-item"),u=s("edit-array"),m=s("el-form");return r(),v(m,{model:e.site,class:"form","label-width":"auto",style:{"max-width":"600px"}},{default:i(()=>[t(c,{label:e.$t("site.field.description")},{default:i(()=>[a("span",Et,[f(l(e.site.description)+" ",1),t(d,{"model-value":e.site.description,title:e.$t("site.title.editDescription"),placeholder:e.$t("site.placeholder.description"),onConfirm:o[0]||(o[0]=p=>e.onSave({description:p}))},null,8,["model-value","title","placeholder"])]),a("span",wt,l(e.$t("site.message.descriptionTip")),1)]),_:1},8,["label"]),t(c,{label:e.$t("site.field.keywords")},{default:i(()=>[a("span",kt,[f(l(e.site.keywords?.join(", "))+" ",1),t(u,{"model-value":e.site?.keywords||[],title:e.$t("site.title.editKeywords"),placeholder:e.$t("site.placeholder.keywords"),tip:e.$t("site.message.keywordsTip2"),onConfirm:o[1]||(o[1]=p=>e.onSave({keywords:p}))},null,8,["model-value","title","placeholder","tip"])]),a("span",St,l(e.$t("site.message.keywordsTip")),1)]),_:1},8,["label"])]),_:1},8,["model"])}const Tt=b(bt,[["render",It],["__scopeId","data-v-c655c957"]]),yt=$({name:"SiteIndex",components:{EditText:U,ElForm:R,ElFormItem:N},data(){return{editing:{title:!1}}},computed:{site(){return this.$store.getters.site}},methods:{onSave(e){const o={...this.site,...e};A.update(this.site?.id,o).then(()=>{console.debug("getSite for id",this.site?.id),this.$store.dispatch("getSite")})}}}),Ot={class:"block tip"},Ct={class:"block tip"};function At(e,o,E,w,k,S){const d=s("edit-text"),c=s("el-form-item"),u=s("el-form");return r(),v(u,{model:e.site,class:"form","label-width":"auto",style:{"max-width":"600px"}},{default:i(()=>[t(c,{label:e.$t("site.field.distributionDefaultInviterId")},{default:i(()=>[f(l(e.site.distribution?.default_inviter_id)+" ",1),t(d,{"model-value":e.site.distribution?.default_inviter_id,title:e.$t("site.title.editDistributionDefaultInviterId"),placeholder:e.$t("site.placeholder.editDistributionDefaultInviterId"),onConfirm:o[0]||(o[0]=m=>e.onSave({distribution:{...e.site.distribution,default_inviter_id:m}}))},null,8,["model-value","title","placeholder"]),a("span",Ot,l(e.$t("site.message.distributionDefaultInviterIdTip")),1)]),_:1},8,["label"]),t(c,{label:e.$t("site.field.distributionForceInviterId")},{default:i(()=>[f(l(e.site.distribution?.force_inviter_id)+" ",1),t(d,{"model-value":e.site.distribution?.force_inviter_id,title:e.$t("site.title.editDistributionForceInviterId"),placeholder:e.$t("site.placeholder.editDistributionForceInviterId"),onConfirm:o[1]||(o[1]=m=>e.onSave({distribution:{...e.site.distribution,force_inviter_id:m}}))},null,8,["model-value","title","placeholder"]),a("span",Ct,l(e.$t("site.message.distributionForceInviterIdTip")),1)]),_:1},8,["label"])]),_:1},8,["model"])}const Ut=b(yt,[["render",At],["__scopeId","data-v-b0c15dee"]]),Nt=$({name:"SiteIndex",components:{EditText:U,EditImage:ae,ElImage:M,ElForm:R,ElSwitch:Re,ElFormItem:N},data(){return{editing:{title:!1}}},computed:{site(){return this.$store.getters.site}},methods:{onSave(e){const o={...this.site,...e};A.update(this.site?.id,o).then(()=>{console.debug("getSite for id",this.site?.id),this.$store.dispatch("getSite")})}}}),Rt={class:"w-full"},Lt={class:"block tip w-full"},Dt={key:0},Vt={class:"block w-full"},Ft={class:"block w-full"};function Gt(e,o,E,w,k,S){const d=s("el-switch"),c=s("el-form-item"),u=s("el-image"),m=s("edit-image"),p=s("edit-text"),g=s("el-form");return r(),v(g,{model:e.site,class:"form","label-width":"auto",style:{"max-width":"600px"}},{default:i(()=>[(r(),h(O,null,C(["chatgpt","grok","deepseek","midjourney","qrart","suno","luma","pika","kling","veo","pixverse","flux","hailuo","headshots"],(n,_)=>t(c,{key:_,label:e.$t("site.field.features"+n.charAt(0).toUpperCase()+n.slice(1))},{default:i(()=>[a("div",Rt,[t(d,{"model-value":e.site.features[n]?.enabled||!1,"inline-prompt":"","active-text":e.$t("site.button.enabled"),"inactive-text":e.$t("site.button.disabled"),"onUpdate:modelValue":I=>e.onSave({features:{...e.site.features,[n]:{...e.site.features[n],enabled:I}}})},null,8,["model-value","active-text","inactive-text","onUpdate:modelValue"])]),a("span",Lt,l(e.$t("site.message.features"+n.charAt(0).toUpperCase()+n.slice(1))),1),n==="support"?L((r(),h("div",Dt,[t(c,{label:"WeChat"},{default:i(()=>[t(d,{"model-value":e.site.features[n]?.wechat?.enabled||!1,"inline-prompt":"","active-text":e.$t("site.button.enabled"),"inactive-text":e.$t("site.button.disabled"),"onUpdate:modelValue":I=>e.onSave({features:{...e.site.features,[n]:{...e.site.features[n],wechat:{...e.site.features[n]?.wechat,enabled:I}}}})},null,8,["model-value","active-text","inactive-text","onUpdate:modelValue"])]),_:2},1024),L(t(c,{label:e.$t("site.field.qr")},{default:i(()=>[a("span",Vt,[t(u,{src:e.site.features[n]?.wechat?.qr},null,8,["src"]),t(m,{"model-value":e.site.features[n]?.wechat?.qr,title:e.$t("site.title.editQR"),tip:e.$t("site.message.editQRTip"),onConfirm:I=>e.onSave({features:{...e.site.features,[n]:{...e.site.features[n],wechat:{...e.site.features[n]?.wechat,qr:I}}}})},null,8,["model-value","title","tip","onConfirm"])])]),_:2},1032,["label"]),[[D,e.site.features[n]?.wechat?.enabled]]),t(c,{label:"Discord"},{default:i(()=>[t(d,{"model-value":e.site.features[n]?.discord?.enabled||!1,"inline-prompt":"","active-text":e.$t("site.button.enabled"),"inactive-text":e.$t("site.button.disabled"),"onUpdate:modelValue":I=>e.onSave({features:{...e.site.features,[n]:{...e.site.features[n],discord:{...e.site.features[n]?.discord,enabled:I}}}})},null,8,["model-value","active-text","inactive-text","onUpdate:modelValue"])]),_:2},1024),L(t(c,{label:e.$t("site.field.url")},{default:i(()=>[a("span",Ft,[f(l(e.site.features[n]?.discord?.url)+" ",1),t(p,{"model-value":e.site.features[n]?.discord?.url,title:e.$t("site.title.editUrl"),placeholder:e.$t("site.placeholder.editUrl"),onConfirm:I=>e.onSave({features:{...e.site.features,[n]:{...e.site.features[n],discord:{...e.site.features[n]?.discord,url:I}}}})},null,8,["model-value","title","placeholder","onConfirm"])])]),_:2},1032,["label"]),[[D,e.site.features[n]?.discord?.enabled]])],512)),[[D,e.site.features[n]?.enabled]]):y("",!0)]),_:2},1032,["label"])),64))]),_:1},8,["model"])}const Mt=b(Nt,[["render",Gt],["__scopeId","data-v-568af09b"]]),Ht=$({name:"UserSetting",components:{ElDialog:me,ElMenu:De,ElMenuItem:Le,FontAwesomeIcon:ie,GeneralSetting:at,SiteSetting:$t,SeoSetting:Tt,DistributionSetting:Ut,FunctionSetting:Mt},props:{visible:{type:Boolean,default:!1}},emits:["update:visible"],data(){return{activeTab:"general",showSuggestions:!0}},computed:{navItems(){return[{key:"general",label:this.$t("common.settings.general"),icon:ue,visible:!0},{key:"site",label:this.$t("common.settings.site"),icon:pe,visible:this.isSiteAdmin},{key:"seo",label:this.$t("common.settings.seo"),icon:he,visible:this.isSiteAdmin},{key:"distribution",label:this.$t("common.settings.distribution"),icon:fe,visible:this.isSiteAdmin},{key:"function",label:this.$t("common.settings.function"),icon:_e,visible:this.isSiteAdmin}]},currentTabTitle(){console.debug("activeTab",this.activeTab);const e=this.navItems.find(o=>o.key===this.activeTab);return e?e.label:""},isSiteAdmin(){return!!this.$store?.state?.site?.admins?.includes(this.$store.getters.user?.id)}},methods:{onClose(){this.$emit("update:visible",!1)}}}),Xt={class:"flex settings h-[460px]"},Jt={class:"h-full border-r"},Kt={class:"flex-1 p-6 overflow-y-auto"},Yt={key:0},Pt={key:1},Bt={key:2},Qt={key:3},zt={key:4};function qt(e,o,E,w,k,S){const d=s("font-awesome-icon"),c=s("el-menu-item"),u=s("el-menu"),m=s("general-setting"),p=s("site-setting"),g=s("seo-setting"),n=s("distribution-setting"),_=s("function-setting"),I=s("el-dialog");return r(),v(I,{"model-value":e.visible,onClose:e.onClose},{default:i(()=>[a("div",Xt,[a("aside",Jt,[t(u,{class:"border-r-0"},{default:i(()=>[(r(!0),h(O,null,C(e.navItems,(T,re)=>(r(),v(c,{key:re,index:T.key,class:oe(["flex w-[160px] truncate items-center px-2 cursor-pointer py-2",e.activeTab===T.key?"active":"",T.visible?"":"hidden"]),onClick:rs=>e.activeTab=T.key},{default:i(()=>[t(d,{icon:T.icon,class:"mr-2"},null,8,["icon"]),f(" "+l(T.label),1)]),_:2},1032,["index","class","onClick"]))),128))]),_:1})]),a("main",Kt,[e.activeTab==="general"?(r(),h("div",Yt,[t(m)])):e.activeTab==="site"?(r(),h("div",Pt,[t(p)])):e.activeTab==="seo"&&e.isSiteAdmin?(r(),h("div",Bt,[t(g)])):e.activeTab==="distribution"&&e.isSiteAdmin?(r(),h("div",Qt,[t(n)])):e.activeTab==="function"&&e.isSiteAdmin?(r(),h("div",zt,[t(_)])):y("",!0)])])]),_:1},8,["model-value","onClose"])}const jt=b(Ht,[["render",qt]]),Zt=$({name:"UserCenter",components:{UserAvatar:Pe,UserSetting:jt,FontAwesomeIcon:ie,ElDivider:le,ElDropdownMenu:F,ElDropdownItem:V,ElDropdown:G},data(){return{showMenu:!1,showSetting:!1}},computed:{user(){return this.$store.getters?.user}},mounted(){document.addEventListener("click",this.closeMenu)},unmounted(){document.removeEventListener("click",this.closeMenu)},methods:{toggleMenu(){this.showMenu=!this.showMenu},closeMenu(e){const o=e.target;this.$el.contains(o)||(this.showMenu=!1)},async onLogout(){await this.$store.dispatch("logout")},onConsole(){this.$router.push({name:ve})},onDistribution(){this.$router.push({name:ge})},onSettings(){this.showSetting=!0}}}),Wt={class:"center"},xt={key:0,class:"px-4 py-4 text-sm font-medium"};function es(e,o,E,w,k,S){const d=s("user-avatar"),c=s("el-divider"),u=s("font-awesome-icon"),m=s("el-dropdown-item"),p=s("el-dropdown-menu"),g=s("el-dropdown"),n=s("user-setting");return r(),h(O,null,[a("div",Wt,[t(g,{trigger:"click"},{dropdown:i(()=>[e.user.email?(r(),h("div",xt,l(e.user?.email),1)):y("",!0),e.user.email?(r(),v(c,{key:1,class:"mb-1 mt-1"})):y("",!0),t(p,null,{default:i(()=>[t(m,{class:"py-2",onClick:e.onSettings},{default:i(()=>[t(u,{icon:"fa-solid fa-cog",class:"mr-2"}),f(" "+l(e.$t("common.nav.setting")),1)]),_:1},8,["onClick"]),t(m,{class:"py-2",onClick:e.onDistribution},{default:i(()=>[t(u,{icon:"fa-solid fa-coins",class:"mr-2"}),f(" "+l(e.$t("common.nav.distribution")),1)]),_:1},8,["onClick"]),t(m,{class:"py-2",onClick:e.onConsole},{default:i(()=>[t(u,{icon:"fa-solid fa-compass",class:"mr-2"}),f(" "+l(e.$t("common.nav.console")),1)]),_:1},8,["onClick"]),t(m,{class:"py-2",onClick:e.onLogout},{default:i(()=>[t(u,{icon:"fa-solid fa-arrow-right-from-bracket",class:"mr-2"}),f(" "+l(e.$t("common.nav.logOut")),1)]),_:1},8,["onClick"])]),_:1})]),default:i(()=>[t(d,{class:"cursor-pointer"})]),_:1})]),t(n,{visible:e.showSetting,"onUpdate:visible":o[0]||(o[0]=_=>e.showSetting=_)},null,8,["visible"])],64)}const ts=b(Zt,[["render",es]]),ss=$({name:"Navigator",components:{ElImage:M,Logo:He,ElTooltip:Ve,UserCenter:ts},props:{direction:{type:String,default:"column"}},data(){return{operating:{dark:!1,locale:!1},activeIndex:this.$route.name}},computed:{links(){const e=[];return this.$store?.state?.site?.features?.chatgpt?.enabled&&e.push({route:{name:H},displayName:this.$t("common.nav.chatgpt"),logo:Ee,routes:[be,H]}),this.$store?.state?.site?.features?.deepseek?.enabled&&e.push({route:{name:X},displayName:this.$t("common.nav.deepseek"),logo:ke,routes:[we,X]}),this.$store?.state?.site?.features?.grok?.enabled&&e.push({route:{name:J},displayName:this.$t("common.nav.grok"),logo:Ie,routes:[Se,J]}),this.$store?.state?.site?.features?.midjourney?.enabled&&e.push({route:{name:K},displayName:this.$t("common.nav.midjourney"),logo:"https://cdn.acedata.cloud/wto43b.png",routes:[K]}),this.$store?.state?.site?.features?.flux?.enabled&&e.push({route:{name:Y},displayName:this.$t("common.nav.flux"),logo:"https://cdn.acedata.cloud/ogm2oa.png",routes:[Y]}),this.$store?.state?.site?.features?.suno?.enabled&&e.push({route:{name:P},displayName:this.$t("common.nav.suno"),logo:"https://cdn.acedata.cloud/l3ffw7.jpg",routes:[P,Te]}),this.$store?.state?.site?.features?.luma?.enabled&&e.push({route:{name:B},displayName:this.$t("common.nav.luma"),logo:"https://cdn.acedata.cloud/ahjfwi.png",routes:[B,ye]}),this.$store?.state?.site?.features?.hailuo?.enabled&&e.push({route:{name:Q},displayName:this.$t("common.nav.hailuo"),logo:"https://cdn.acedata.cloud/0qg4gp.png",routes:[Q,Oe]}),this.$store?.state?.site?.features?.kling?.enabled&&e.push({route:{name:z},displayName:this.$t("common.nav.kling"),logo:"https://cdn.acedata.cloud/qpbbbb.jpg",routes:[z,Ce]}),this.$store?.state?.site?.features?.veo?.enabled&&e.push({route:{name:q},displayName:this.$t("common.nav.veo"),logo:"https://cdn.acedata.cloud/8nxyy9.jpg",routes:[q,Ae]}),this.$store?.state?.site?.features?.pixverse?.enabled&&e.push({route:{name:j},displayName:this.$t("common.nav.pixverse"),logo:"https://cdn.acedata.cloud/viy61r.jpg",routes:[j,Ue]}),this.direction==="row"&&e.push({route:{name:Z},displayName:this.$t("common.nav.profile"),icon:"fa-solid fa-user",routes:[Z]}),e},authenticated(){return!!this.$store.state.token.access}},methods:{onHome(){this.$router.push({name:$e})}}}),os=["direction"],is={class:"top"},ns={class:"w-full flex justify-center brand"},as={class:"bottom"};function ls(e,o,E,w,k,S){const d=s("logo"),c=s("el-image"),u=s("el-tooltip"),m=s("user-center");return r(),h("div",{direction:e.direction,class:"navigator"},[a("div",is,[a("div",ns,[e.direction==="column"?(r(),v(d,{key:0,onClick:Ne(e.onHome,["stop"])},null,8,["onClick"])):y("",!0)]),(r(!0),h(O,null,C(e.links,(p,g)=>(r(),h("div",{key:g,class:oe({link:!0,active:p.routes.includes(e.$route.name)})},[t(u,{effect:"dark",content:p.displayName,placement:e.direction==="row"?"top":"right"},{default:i(()=>[p.logo?(r(),v(c,{key:0,src:p.logo,class:"avatar",onClick:n=>e.$router.push(p.route)},null,8,["src","onClick"])):y("",!0)]),_:2},1032,["content","placement"])],2))),128))]),a("div",as,[t(m)])],8,os)}const $s=b(ss,[["render",ls],["__scopeId","data-v-2952ae55"]]);export{$s as N};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.avatar[data-v-04402928]{width:35px;height:35px;max-width:initial;max-height:initial;border-radius:50%;-o-object-fit:cover;object-fit:cover;cursor:pointer;transition:transform .3s ease}.panel[data-v-792f0f1e]{padding:30px;background-color:var(--el-bg-color-page);overflow-y:auto}.panel h2.title[data-v-792f0f1e]{font-size:26px;font-weight:700;margin-bottom:20px;color:var(--el-text-color-primary)}.panel h4.title[data-v-792f0f1e]{font-size:20px;font-weight:700;margin-bottom:20px;color:var(--el-text-color-primary)}.panel .form .logo[data-v-792f0f1e]{max-width:150px}.panel .form .tip[data-v-792f0f1e]{color:var(--el-text-color-secondary);font-size:12px}.panel[data-v-c655c957]{padding:30px;background-color:var(--el-bg-color-page);overflow-y:auto}.panel h2.title[data-v-c655c957]{font-size:26px;font-weight:700;margin-bottom:20px;color:var(--el-text-color-primary)}.panel h4.title[data-v-c655c957]{font-size:20px;font-weight:700;margin-bottom:20px;color:var(--el-text-color-primary)}.panel .form .logo[data-v-c655c957]{max-width:200px}.panel .form .tip[data-v-c655c957]{color:var(--el-text-color-secondary);font-size:12px}.panel[data-v-b0c15dee]{padding:30px;background-color:var(--el-bg-color-page);overflow-y:auto}.panel h2.title[data-v-b0c15dee]{font-size:26px;font-weight:700;margin-bottom:20px;color:var(--el-text-color-primary)}.panel h4.title[data-v-b0c15dee]{font-size:20px;font-weight:700;margin-bottom:20px;color:var(--el-text-color-primary)}.panel .form .logo[data-v-b0c15dee]{max-width:200px}.panel .form .tip[data-v-b0c15dee]{color:var(--el-text-color-secondary);font-size:12px}.panel[data-v-
|
|
1
|
+
.avatar[data-v-04402928]{width:35px;height:35px;max-width:initial;max-height:initial;border-radius:50%;-o-object-fit:cover;object-fit:cover;cursor:pointer;transition:transform .3s ease}.panel[data-v-792f0f1e]{padding:30px;background-color:var(--el-bg-color-page);overflow-y:auto}.panel h2.title[data-v-792f0f1e]{font-size:26px;font-weight:700;margin-bottom:20px;color:var(--el-text-color-primary)}.panel h4.title[data-v-792f0f1e]{font-size:20px;font-weight:700;margin-bottom:20px;color:var(--el-text-color-primary)}.panel .form .logo[data-v-792f0f1e]{max-width:150px}.panel .form .tip[data-v-792f0f1e]{color:var(--el-text-color-secondary);font-size:12px}.panel[data-v-c655c957]{padding:30px;background-color:var(--el-bg-color-page);overflow-y:auto}.panel h2.title[data-v-c655c957]{font-size:26px;font-weight:700;margin-bottom:20px;color:var(--el-text-color-primary)}.panel h4.title[data-v-c655c957]{font-size:20px;font-weight:700;margin-bottom:20px;color:var(--el-text-color-primary)}.panel .form .logo[data-v-c655c957]{max-width:200px}.panel .form .tip[data-v-c655c957]{color:var(--el-text-color-secondary);font-size:12px}.panel[data-v-b0c15dee]{padding:30px;background-color:var(--el-bg-color-page);overflow-y:auto}.panel h2.title[data-v-b0c15dee]{font-size:26px;font-weight:700;margin-bottom:20px;color:var(--el-text-color-primary)}.panel h4.title[data-v-b0c15dee]{font-size:20px;font-weight:700;margin-bottom:20px;color:var(--el-text-color-primary)}.panel .form .logo[data-v-b0c15dee]{max-width:200px}.panel .form .tip[data-v-b0c15dee]{color:var(--el-text-color-secondary);font-size:12px}.panel[data-v-568af09b]{padding:30px;background-color:var(--el-bg-color-page);overflow-y:auto}.panel h2.title[data-v-568af09b]{font-size:26px;font-weight:700;margin-bottom:20px;color:var(--el-text-color-primary)}.panel h4.title[data-v-568af09b]{font-size:20px;font-weight:700;margin-bottom:20px;color:var(--el-text-color-primary)}.panel .form .logo[data-v-568af09b]{max-width:200px}.panel .form .tip[data-v-568af09b]{color:var(--el-text-color-secondary);font-size:12px}.navigator[data-v-2952ae55]{display:flex;align-items:center;position:relative}.navigator .top .avatar[data-v-2952ae55]{display:block;margin:auto;width:35px;height:35px;border-radius:50%;cursor:pointer;border:1px solid var(--el-border-color-lighter)}.navigator[direction=row][data-v-2952ae55]{flex-direction:row;border-top:1px solid var(--el-border-color)}.navigator[direction=row] .brand[data-v-2952ae55]{display:none}.navigator[direction=row] .top[data-v-2952ae55]{display:flex;flex-direction:row;align-items:center;justify-content:space-evenly;width:100%}.navigator[direction=row] .top .link[data-v-2952ae55]{text-align:center}.navigator[direction=row] .top .link .description[data-v-2952ae55]{font-size:10px;margin-top:3px}.navigator[direction=row] .top .link.active[data-v-2952ae55]{color:var(--el-color-primary)}.navigator[direction=row] .bottom[data-v-2952ae55]{display:none}.navigator[direction=column][data-v-2952ae55]{flex-direction:column}.navigator[direction=column] .top[data-v-2952ae55]{flex:1;display:flex;flex-direction:column;padding-top:10px;width:60px;gap:15px}.navigator[direction=column] .top .logo[data-v-2952ae55]{width:40px;height:40px;cursor:pointer}.navigator[direction=column] .top .link[data-v-2952ae55]{width:100%}.navigator[direction=column] .bottom[data-v-2952ae55]{height:50px;display:flex;flex-direction:column;width:100%;justify-content:flex-end;align-items:center;padding-bottom:10px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{F as t}from"./index.es-
|
|
1
|
+
import{F as t}from"./index.es-BxnzRC37.js";import{d as n,h as a,b as c,y as $,k as r,t as i,l as m,x as s,o as p}from"./index-BBQ_UUnS.js";const v=n({name:"Consumption",components:{FontAwesomeIcon:t},props:{value:{type:Number,required:!1,default:null},service:{type:Object,required:!0}}}),x={key:0,class:"text-center text-[var(--el-text-color-secondary)] mb-1"},h={class:"text-xs"};function k(e,d,l,_,u,f){const o=m("font-awesome-icon");return e.value!==null&&e.value!==void 0?(p(),c("div",x,[r(o,{icon:"fa-solid fa-coins",class:"text-xs mr-1"}),i("span",h,s(e.value)+" "+s(e.$t(`service.unit.${e.service?.unit||"credits"}`)),1)])):$("",!0)}const B=a(v,[["render",k]]),y=n({name:"NoTasks",components:{FontAwesomeIcon:t}}),N={class:"text-center text-gray-400"},C={class:"mt-4 text-sm"};function w(e,d,l,_,u,f){const o=m("font-awesome-icon");return p(),c("div",N,[r(o,{icon:"fa-solid fa-magic"}),i("p",C,s(e.$t("common.message.noTasks")),1)])}const T=a(y,[["render",w]]);export{B as C,T as N};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ah as q,bG as G,_ as F,d as z,a$ as L,c as P,b as C,o as u,i as $,x as I,j as R,b6 as ae,e as a,E as ne,al as ce,c7 as te,an as re,a as A,aj as E,au as J,k as ie,F as se,v as le,n as S,aL as ge,t as Y,ce as H,bH as pe,y as W,cN as de,cO as Z,cP as fe,c6 as be,ai as M,aI as ve,cQ as me,bM as Pe,ak as Ce,bL as he,bk as w,bQ as ze,b3 as ye,b2 as _e,g as Se,h as Ne,l as ke}from"./index-4aBt5Vjx.js";import{E as xe,a as Ee}from"./index-BvYpsGFP.js";import{m as oe}from"./typescript-BDQzoLbE.js";import{i as $e}from"./isEqual-Dbw7tVId.js";import{E as Te}from"./index-CvGE-1KG.js";const ue=Symbol("elPaginationKey"),Me=q({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:G}}),Be={click:e=>e instanceof MouseEvent},we=z({name:"ElPaginationPrev"}),Ie=z({...we,props:Me,emits:Be,setup(e){const l=e,{t:r}=L(),c=P(()=>l.disabled||l.currentPage<=1);return(s,p)=>(u(),C("button",{type:"button",class:"btn-prev",disabled:a(c),"aria-label":s.prevText||a(r)("el.pagination.prev"),"aria-disabled":a(c),onClick:f=>s.$emit("click",f)},[s.prevText?(u(),C("span",{key:0},I(s.prevText),1)):(u(),$(a(ne),{key:1},{default:R(()=>[(u(),$(ae(s.prevIcon)))]),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}});var qe=F(Ie,[["__file","prev.vue"]]);const Le=q({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:G}}),je=z({name:"ElPaginationNext"}),Ae=z({...je,props:Le,emits:["click"],setup(e){const l=e,{t:r}=L(),c=P(()=>l.disabled||l.currentPage===l.pageCount||l.pageCount===0);return(s,p)=>(u(),C("button",{type:"button",class:"btn-next",disabled:a(c),"aria-label":s.nextText||a(r)("el.pagination.next"),"aria-disabled":a(c),onClick:f=>s.$emit("click",f)},[s.nextText?(u(),C("span",{key:0},I(s.nextText),1)):(u(),$(a(ne),{key:1},{default:R(()=>[(u(),$(ae(s.nextIcon)))]),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}});var Fe=F(Ae,[["__file","next.vue"]]);const X=()=>ce(ue,{}),Ke=q({pageSize:{type:Number,required:!0},pageSizes:{type:re(Array),default:()=>oe([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,teleported:Boolean,size:{type:String,values:te},appendSizeTo:String}),Ue=z({name:"ElPaginationSizes"}),De=z({...Ue,props:Ke,emits:["page-size-change"],setup(e,{emit:l}){const r=e,{t:c}=L(),s=A("pagination"),p=X(),f=E(r.pageSize);J(()=>r.pageSizes,(o,_)=>{if(!$e(o,_)&&ge(o)){const g=o.includes(r.pageSize)?r.pageSize:r.pageSizes[0];l("page-size-change",g)}}),J(()=>r.pageSize,o=>{f.value=o});const y=P(()=>r.pageSizes);function k(o){var _;o!==f.value&&(f.value=o,(_=p.handleSizeChange)==null||_.call(p,Number(o)))}return(o,_)=>(u(),C("span",{class:S(a(s).e("sizes"))},[ie(a(Ee),{"model-value":f.value,disabled:o.disabled,"popper-class":o.popperClass,size:o.size,teleported:o.teleported,"validate-event":!1,"append-to":o.appendSizeTo,onChange:k},{default:R(()=>[(u(!0),C(se,null,le(a(y),g=>(u(),$(a(xe),{key:g,value:g,label:g+a(c)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size","teleported","append-to"])],2))}});var Oe=F(De,[["__file","sizes.vue"]]);const Ve=q({size:{type:String,values:te}}),We=z({name:"ElPaginationJumper"}),He=z({...We,props:Ve,setup(e){const{t:l}=L(),r=A("pagination"),{pageCount:c,disabled:s,currentPage:p,changeEvent:f}=X(),y=E(),k=P(()=>{var g;return(g=y.value)!=null?g:p?.value});function o(g){y.value=g?+g:""}function _(g){g=Math.trunc(+g),f?.(g),y.value=void 0}return(g,K)=>(u(),C("span",{class:S(a(r).e("jump")),disabled:a(s)},[Y("span",{class:S([a(r).e("goto")])},I(a(l)("el.pagination.goto")),3),ie(a(Te),{size:g.size,class:S([a(r).e("editor"),a(r).is("in-pagination")]),min:1,max:a(c),disabled:a(s),"model-value":a(k),"validate-event":!1,"aria-label":a(l)("el.pagination.page"),type:"number","onUpdate:modelValue":o,onChange:_},null,8,["size","class","max","disabled","model-value","aria-label"]),Y("span",{class:S([a(r).e("classifier")])},I(a(l)("el.pagination.pageClassifier")),3)],10,["disabled"]))}});var Ge=F(He,[["__file","jumper.vue"]]);const Je=q({total:{type:Number,default:1e3}}),Qe=z({name:"ElPaginationTotal"}),Re=z({...Qe,props:Je,setup(e){const{t:l}=L(),r=A("pagination"),{disabled:c}=X();return(s,p)=>(u(),C("span",{class:S(a(r).e("total")),disabled:a(c)},I(a(l)("el.pagination.total",{total:s.total})),11,["disabled"]))}});var Xe=F(Re,[["__file","total.vue"]]);const Ye=q({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),Ze=z({name:"ElPaginationPager"}),ea=z({...Ze,props:Ye,emits:[H],setup(e,{emit:l}){const r=e,c=A("pager"),s=A("icon"),{t:p}=L(),f=E(!1),y=E(!1),k=E(!1),o=E(!1),_=E(!1),g=E(!1),K=P(()=>{const i=r.pagerCount,n=(i-1)/2,t=Number(r.currentPage),b=Number(r.pageCount);let v=!1,T=!1;b>i&&(t>i-n&&(v=!0),t<b-n&&(T=!0));const B=[];if(v&&!T){const h=b-(i-2);for(let N=h;N<b;N++)B.push(N)}else if(!v&&T)for(let h=2;h<i;h++)B.push(h);else if(v&&T){const h=Math.floor(i/2)-1;for(let N=t-h;N<=t+h;N++)B.push(N)}else for(let h=2;h<b;h++)B.push(h);return B}),j=P(()=>["more","btn-quickprev",s.b(),c.is("disabled",r.disabled)]),x=P(()=>["more","btn-quicknext",s.b(),c.is("disabled",r.disabled)]),d=P(()=>r.disabled?-1:0);pe(()=>{const i=(r.pagerCount-1)/2;f.value=!1,y.value=!1,r.pageCount>r.pagerCount&&(r.currentPage>r.pagerCount-i&&(f.value=!0),r.currentPage<r.pageCount-i&&(y.value=!0))});function U(i=!1){r.disabled||(i?k.value=!0:o.value=!0)}function O(i=!1){i?_.value=!0:g.value=!0}function Q(i){const n=i.target;if(n.tagName.toLowerCase()==="li"&&Array.from(n.classList).includes("number")){const t=Number(n.textContent);t!==r.currentPage&&l(H,t)}else n.tagName.toLowerCase()==="li"&&Array.from(n.classList).includes("more")&&V(i)}function V(i){const n=i.target;if(n.tagName.toLowerCase()==="ul"||r.disabled)return;let t=Number(n.textContent);const b=r.pageCount,v=r.currentPage,T=r.pagerCount-2;n.className.includes("more")&&(n.className.includes("quickprev")?t=v-T:n.className.includes("quicknext")&&(t=v+T)),Number.isNaN(+t)||(t<1&&(t=1),t>b&&(t=b)),t!==v&&l(H,t)}return(i,n)=>(u(),C("ul",{class:S(a(c).b()),onClick:V,onKeyup:be(Q,["enter"])},[i.pageCount>0?(u(),C("li",{key:0,class:S([[a(c).is("active",i.currentPage===1),a(c).is("disabled",i.disabled)],"number"]),"aria-current":i.currentPage===1,"aria-label":a(p)("el.pagination.currentPage",{pager:1}),tabindex:a(d)}," 1 ",10,["aria-current","aria-label","tabindex"])):W("v-if",!0),f.value?(u(),C("li",{key:1,class:S(a(j)),tabindex:a(d),"aria-label":a(p)("el.pagination.prevPages",{pager:i.pagerCount-2}),onMouseenter:t=>U(!0),onMouseleave:t=>k.value=!1,onFocus:t=>O(!0),onBlur:t=>_.value=!1},[(k.value||_.value)&&!i.disabled?(u(),$(a(de),{key:0})):(u(),$(a(Z),{key:1}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):W("v-if",!0),(u(!0),C(se,null,le(a(K),t=>(u(),C("li",{key:t,class:S([[a(c).is("active",i.currentPage===t),a(c).is("disabled",i.disabled)],"number"]),"aria-current":i.currentPage===t,"aria-label":a(p)("el.pagination.currentPage",{pager:t}),tabindex:a(d)},I(t),11,["aria-current","aria-label","tabindex"]))),128)),y.value?(u(),C("li",{key:2,class:S(a(x)),tabindex:a(d),"aria-label":a(p)("el.pagination.nextPages",{pager:i.pagerCount-2}),onMouseenter:t=>U(),onMouseleave:t=>o.value=!1,onFocus:t=>O(),onBlur:t=>g.value=!1},[(o.value||g.value)&&!i.disabled?(u(),$(a(fe),{key:0})):(u(),$(a(Z),{key:1}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):W("v-if",!0),i.pageCount>1?(u(),C("li",{key:3,class:S([[a(c).is("active",i.currentPage===i.pageCount),a(c).is("disabled",i.disabled)],"number"]),"aria-current":i.currentPage===i.pageCount,"aria-label":a(p)("el.pagination.currentPage",{pager:i.pageCount}),tabindex:a(d)},I(i.pageCount),11,["aria-current","aria-label","tabindex"])):W("v-if",!0)],42,["onKeyup"]))}});var aa=F(ea,[["__file","pager.vue"]]);const m=e=>typeof e!="number",na=q({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>M(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:re(Array),default:()=>oe([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:G,default:()=>_e},nextText:{type:String,default:""},nextIcon:{type:G,default:()=>ye},teleported:{type:Boolean,default:!0},small:Boolean,size:ze,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),ta={"update:current-page":e=>M(e),"update:page-size":e=>M(e),"size-change":e=>M(e),change:(e,l)=>M(e)&&M(l),"current-change":e=>M(e),"prev-click":e=>M(e),"next-click":e=>M(e)},ee="ElPagination";var ra=z({name:ee,props:na,emits:ta,setup(e,{emit:l,slots:r}){const{t:c}=L(),s=A("pagination"),p=ve().vnode.props||{},f=me(),y=P(()=>{var n;return e.small?"small":(n=e.size)!=null?n:f.value});Pe({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},P(()=>!!e.small));const k="onUpdate:currentPage"in p||"onUpdate:current-page"in p||"onCurrentChange"in p,o="onUpdate:pageSize"in p||"onUpdate:page-size"in p||"onSizeChange"in p,_=P(()=>{if(m(e.total)&&m(e.pageCount)||!m(e.currentPage)&&!k)return!1;if(e.layout.includes("sizes")){if(m(e.pageCount)){if(!m(e.total)&&!m(e.pageSize)&&!o)return!1}else if(!o)return!1}return!0}),g=E(m(e.defaultPageSize)?10:e.defaultPageSize),K=E(m(e.defaultCurrentPage)?1:e.defaultCurrentPage),j=P({get(){return m(e.pageSize)?g.value:e.pageSize},set(n){m(e.pageSize)&&(g.value=n),o&&(l("update:page-size",n),l("size-change",n))}}),x=P(()=>{let n=0;return m(e.pageCount)?m(e.total)||(n=Math.max(1,Math.ceil(e.total/j.value))):n=e.pageCount,n}),d=P({get(){return m(e.currentPage)?K.value:e.currentPage},set(n){let t=n;n<1?t=1:n>x.value&&(t=x.value),m(e.currentPage)&&(K.value=t),k&&(l("update:current-page",t),l("current-change",t))}});J(x,n=>{d.value>n&&(d.value=n)}),J([d,j],n=>{l(H,...n)},{flush:"post"});function U(n){d.value=n}function O(n){j.value=n;const t=x.value;d.value>t&&(d.value=t)}function Q(){e.disabled||(d.value-=1,l("prev-click",d.value))}function V(){e.disabled||(d.value+=1,l("next-click",d.value))}function i(n,t){n&&(n.props||(n.props={}),n.props.class=[n.props.class,t].join(" "))}return Ce(ue,{pageCount:x,disabled:P(()=>e.disabled),currentPage:d,changeEvent:U,handleSizeChange:O}),()=>{var n,t;if(!_.value)return he(ee,c("el.pagination.deprecationWarning")),null;if(!e.layout||e.hideOnSinglePage&&x.value<=1)return null;const b=[],v=[],T=w("div",{class:s.e("rightwrapper")},v),B={prev:w(qe,{disabled:e.disabled,currentPage:d.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:Q}),jumper:w(Ge,{size:y.value}),pager:w(aa,{currentPage:d.value,pageCount:x.value,pagerCount:e.pagerCount,onChange:U,disabled:e.disabled}),next:w(Fe,{disabled:e.disabled,currentPage:d.value,pageCount:x.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:V}),sizes:w(Oe,{pageSize:j.value,pageSizes:e.pageSizes,popperClass:e.popperClass,disabled:e.disabled,teleported:e.teleported,size:y.value,appendSizeTo:e.appendSizeTo}),slot:(t=(n=r?.default)==null?void 0:n.call(r))!=null?t:null,total:w(Xe,{total:m(e.total)?0:e.total})},h=e.layout.split(",").map(D=>D.trim());let N=!1;return h.forEach(D=>{if(D==="->"){N=!0;return}N?v.push(B[D]):b.push(B[D])}),i(b[0],s.is("first")),i(b[b.length-1],s.is("last")),N&&v.length>0&&(i(v[0],s.is("first")),i(v[v.length-1],s.is("last")),b.push(T)),w("div",{class:[s.b(),s.is("background",e.background),s.m(y.value)]},b)}}});const ia=Se(ra),sa=z({name:"Pagination",components:{ElPagination:ia},props:{total:{type:Number,required:!1,default:void 0},currentPage:{type:Number,required:!0},pageSize:{type:Number,required:!0}},emits:["change"],data(){return{loaded:!1}},mounted(){setTimeout(()=>{this.loaded=!0},1e3)},methods:{onPageChange(e){this.loaded&&this.$emit("change",e)}}});function la(e,l,r,c,s,p){const f=ke("el-pagination");return u(),$(f,{class:"mt-3 mb-3",background:"","hide-on-single-page":!1,layout:"prev, pager, next","current-page":e.currentPage,total:e.total,"page-size":e.pageSize,onCurrentChange:e.onPageChange},null,8,["current-page","total","page-size","onCurrentChange"])}const da=Ne(sa,[["render",la]]);export{da as P};
|
|
1
|
+
import{aj as q,bI as H,_ as F,d as z,b1 as L,c as P,b as C,o as u,i as T,x as I,j as Q,b8 as ae,e as a,E as ne,an as ce,c9 as te,ap as re,a as A,al as E,aw as R,k as ie,F as se,v as le,n as _,aN as ge,t as Y,cg as J,bJ as pe,y as W,cP as de,cQ as Z,cR as fe,c8 as be,ak as M,aK as ve,cS as me,bO as Pe,am as Ce,bN as he,bm as w,bS as ze,b5 as ye,b4 as Se,g as _e,h as Ne,l as ke}from"./index-BBQ_UUnS.js";import{E as xe,a as Ee}from"./index-DXtnUso3.js";import{m as oe}from"./typescript-51mfcZRW.js";import{i as Te}from"./isEqual-BUS99vVF.js";import{E as $e}from"./index-DQZbejQA.js";const ue=Symbol("elPaginationKey"),Me=q({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:H}}),Be={click:e=>e instanceof MouseEvent},we=z({name:"ElPaginationPrev"}),Ie=z({...we,props:Me,emits:Be,setup(e){const l=e,{t:r}=L(),c=P(()=>l.disabled||l.currentPage<=1);return(s,p)=>(u(),C("button",{type:"button",class:"btn-prev",disabled:a(c),"aria-label":s.prevText||a(r)("el.pagination.prev"),"aria-disabled":a(c),onClick:f=>s.$emit("click",f)},[s.prevText?(u(),C("span",{key:0},I(s.prevText),1)):(u(),T(a(ne),{key:1},{default:Q(()=>[(u(),T(ae(s.prevIcon)))]),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}});var qe=F(Ie,[["__file","prev.vue"]]);const Le=q({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:H}}),je=z({name:"ElPaginationNext"}),Ae=z({...je,props:Le,emits:["click"],setup(e){const l=e,{t:r}=L(),c=P(()=>l.disabled||l.currentPage===l.pageCount||l.pageCount===0);return(s,p)=>(u(),C("button",{type:"button",class:"btn-next",disabled:a(c),"aria-label":s.nextText||a(r)("el.pagination.next"),"aria-disabled":a(c),onClick:f=>s.$emit("click",f)},[s.nextText?(u(),C("span",{key:0},I(s.nextText),1)):(u(),T(a(ne),{key:1},{default:Q(()=>[(u(),T(ae(s.nextIcon)))]),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}});var Fe=F(Ae,[["__file","next.vue"]]);const X=()=>ce(ue,{}),Ke=q({pageSize:{type:Number,required:!0},pageSizes:{type:re(Array),default:()=>oe([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,teleported:Boolean,size:{type:String,values:te},appendSizeTo:String}),Ue=z({name:"ElPaginationSizes"}),De=z({...Ue,props:Ke,emits:["page-size-change"],setup(e,{emit:l}){const r=e,{t:c}=L(),s=A("pagination"),p=X(),f=E(r.pageSize);R(()=>r.pageSizes,(o,S)=>{if(!Te(o,S)&&ge(o)){const g=o.includes(r.pageSize)?r.pageSize:r.pageSizes[0];l("page-size-change",g)}}),R(()=>r.pageSize,o=>{f.value=o});const y=P(()=>r.pageSizes);function k(o){var S;o!==f.value&&(f.value=o,(S=p.handleSizeChange)==null||S.call(p,Number(o)))}return(o,S)=>(u(),C("span",{class:_(a(s).e("sizes"))},[ie(a(Ee),{"model-value":f.value,disabled:o.disabled,"popper-class":o.popperClass,size:o.size,teleported:o.teleported,"validate-event":!1,"append-to":o.appendSizeTo,onChange:k},{default:Q(()=>[(u(!0),C(se,null,le(a(y),g=>(u(),T(a(xe),{key:g,value:g,label:g+a(c)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size","teleported","append-to"])],2))}});var Oe=F(De,[["__file","sizes.vue"]]);const Ve=q({size:{type:String,values:te}}),We=z({name:"ElPaginationJumper"}),Je=z({...We,props:Ve,setup(e){const{t:l}=L(),r=A("pagination"),{pageCount:c,disabled:s,currentPage:p,changeEvent:f}=X(),y=E(),k=P(()=>{var g;return(g=y.value)!=null?g:p?.value});function o(g){y.value=g?+g:""}function S(g){g=Math.trunc(+g),f?.(g),y.value=void 0}return(g,K)=>(u(),C("span",{class:_(a(r).e("jump")),disabled:a(s)},[Y("span",{class:_([a(r).e("goto")])},I(a(l)("el.pagination.goto")),3),ie(a($e),{size:g.size,class:_([a(r).e("editor"),a(r).is("in-pagination")]),min:1,max:a(c),disabled:a(s),"model-value":a(k),"validate-event":!1,"aria-label":a(l)("el.pagination.page"),type:"number","onUpdate:modelValue":o,onChange:S},null,8,["size","class","max","disabled","model-value","aria-label"]),Y("span",{class:_([a(r).e("classifier")])},I(a(l)("el.pagination.pageClassifier")),3)],10,["disabled"]))}});var He=F(Je,[["__file","jumper.vue"]]);const Re=q({total:{type:Number,default:1e3}}),Ge=z({name:"ElPaginationTotal"}),Qe=z({...Ge,props:Re,setup(e){const{t:l}=L(),r=A("pagination"),{disabled:c}=X();return(s,p)=>(u(),C("span",{class:_(a(r).e("total")),disabled:a(c)},I(a(l)("el.pagination.total",{total:s.total})),11,["disabled"]))}});var Xe=F(Qe,[["__file","total.vue"]]);const Ye=q({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),Ze=z({name:"ElPaginationPager"}),ea=z({...Ze,props:Ye,emits:[J],setup(e,{emit:l}){const r=e,c=A("pager"),s=A("icon"),{t:p}=L(),f=E(!1),y=E(!1),k=E(!1),o=E(!1),S=E(!1),g=E(!1),K=P(()=>{const i=r.pagerCount,n=(i-1)/2,t=Number(r.currentPage),b=Number(r.pageCount);let v=!1,$=!1;b>i&&(t>i-n&&(v=!0),t<b-n&&($=!0));const B=[];if(v&&!$){const h=b-(i-2);for(let N=h;N<b;N++)B.push(N)}else if(!v&&$)for(let h=2;h<i;h++)B.push(h);else if(v&&$){const h=Math.floor(i/2)-1;for(let N=t-h;N<=t+h;N++)B.push(N)}else for(let h=2;h<b;h++)B.push(h);return B}),j=P(()=>["more","btn-quickprev",s.b(),c.is("disabled",r.disabled)]),x=P(()=>["more","btn-quicknext",s.b(),c.is("disabled",r.disabled)]),d=P(()=>r.disabled?-1:0);pe(()=>{const i=(r.pagerCount-1)/2;f.value=!1,y.value=!1,r.pageCount>r.pagerCount&&(r.currentPage>r.pagerCount-i&&(f.value=!0),r.currentPage<r.pageCount-i&&(y.value=!0))});function U(i=!1){r.disabled||(i?k.value=!0:o.value=!0)}function O(i=!1){i?S.value=!0:g.value=!0}function G(i){const n=i.target;if(n.tagName.toLowerCase()==="li"&&Array.from(n.classList).includes("number")){const t=Number(n.textContent);t!==r.currentPage&&l(J,t)}else n.tagName.toLowerCase()==="li"&&Array.from(n.classList).includes("more")&&V(i)}function V(i){const n=i.target;if(n.tagName.toLowerCase()==="ul"||r.disabled)return;let t=Number(n.textContent);const b=r.pageCount,v=r.currentPage,$=r.pagerCount-2;n.className.includes("more")&&(n.className.includes("quickprev")?t=v-$:n.className.includes("quicknext")&&(t=v+$)),Number.isNaN(+t)||(t<1&&(t=1),t>b&&(t=b)),t!==v&&l(J,t)}return(i,n)=>(u(),C("ul",{class:_(a(c).b()),onClick:V,onKeyup:be(G,["enter"])},[i.pageCount>0?(u(),C("li",{key:0,class:_([[a(c).is("active",i.currentPage===1),a(c).is("disabled",i.disabled)],"number"]),"aria-current":i.currentPage===1,"aria-label":a(p)("el.pagination.currentPage",{pager:1}),tabindex:a(d)}," 1 ",10,["aria-current","aria-label","tabindex"])):W("v-if",!0),f.value?(u(),C("li",{key:1,class:_(a(j)),tabindex:a(d),"aria-label":a(p)("el.pagination.prevPages",{pager:i.pagerCount-2}),onMouseenter:t=>U(!0),onMouseleave:t=>k.value=!1,onFocus:t=>O(!0),onBlur:t=>S.value=!1},[(k.value||S.value)&&!i.disabled?(u(),T(a(de),{key:0})):(u(),T(a(Z),{key:1}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):W("v-if",!0),(u(!0),C(se,null,le(a(K),t=>(u(),C("li",{key:t,class:_([[a(c).is("active",i.currentPage===t),a(c).is("disabled",i.disabled)],"number"]),"aria-current":i.currentPage===t,"aria-label":a(p)("el.pagination.currentPage",{pager:t}),tabindex:a(d)},I(t),11,["aria-current","aria-label","tabindex"]))),128)),y.value?(u(),C("li",{key:2,class:_(a(x)),tabindex:a(d),"aria-label":a(p)("el.pagination.nextPages",{pager:i.pagerCount-2}),onMouseenter:t=>U(),onMouseleave:t=>o.value=!1,onFocus:t=>O(),onBlur:t=>g.value=!1},[(o.value||g.value)&&!i.disabled?(u(),T(a(fe),{key:0})):(u(),T(a(Z),{key:1}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):W("v-if",!0),i.pageCount>1?(u(),C("li",{key:3,class:_([[a(c).is("active",i.currentPage===i.pageCount),a(c).is("disabled",i.disabled)],"number"]),"aria-current":i.currentPage===i.pageCount,"aria-label":a(p)("el.pagination.currentPage",{pager:i.pageCount}),tabindex:a(d)},I(i.pageCount),11,["aria-current","aria-label","tabindex"])):W("v-if",!0)],42,["onKeyup"]))}});var aa=F(ea,[["__file","pager.vue"]]);const m=e=>typeof e!="number",na=q({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>M(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:re(Array),default:()=>oe([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:H,default:()=>Se},nextText:{type:String,default:""},nextIcon:{type:H,default:()=>ye},teleported:{type:Boolean,default:!0},small:Boolean,size:ze,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),ta={"update:current-page":e=>M(e),"update:page-size":e=>M(e),"size-change":e=>M(e),change:(e,l)=>M(e)&&M(l),"current-change":e=>M(e),"prev-click":e=>M(e),"next-click":e=>M(e)},ee="ElPagination";var ra=z({name:ee,props:na,emits:ta,setup(e,{emit:l,slots:r}){const{t:c}=L(),s=A("pagination"),p=ve().vnode.props||{},f=me(),y=P(()=>{var n;return e.small?"small":(n=e.size)!=null?n:f.value});Pe({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},P(()=>!!e.small));const k="onUpdate:currentPage"in p||"onUpdate:current-page"in p||"onCurrentChange"in p,o="onUpdate:pageSize"in p||"onUpdate:page-size"in p||"onSizeChange"in p,S=P(()=>{if(m(e.total)&&m(e.pageCount)||!m(e.currentPage)&&!k)return!1;if(e.layout.includes("sizes")){if(m(e.pageCount)){if(!m(e.total)&&!m(e.pageSize)&&!o)return!1}else if(!o)return!1}return!0}),g=E(m(e.defaultPageSize)?10:e.defaultPageSize),K=E(m(e.defaultCurrentPage)?1:e.defaultCurrentPage),j=P({get(){return m(e.pageSize)?g.value:e.pageSize},set(n){m(e.pageSize)&&(g.value=n),o&&(l("update:page-size",n),l("size-change",n))}}),x=P(()=>{let n=0;return m(e.pageCount)?m(e.total)||(n=Math.max(1,Math.ceil(e.total/j.value))):n=e.pageCount,n}),d=P({get(){return m(e.currentPage)?K.value:e.currentPage},set(n){let t=n;n<1?t=1:n>x.value&&(t=x.value),m(e.currentPage)&&(K.value=t),k&&(l("update:current-page",t),l("current-change",t))}});R(x,n=>{d.value>n&&(d.value=n)}),R([d,j],n=>{l(J,...n)},{flush:"post"});function U(n){d.value=n}function O(n){j.value=n;const t=x.value;d.value>t&&(d.value=t)}function G(){e.disabled||(d.value-=1,l("prev-click",d.value))}function V(){e.disabled||(d.value+=1,l("next-click",d.value))}function i(n,t){n&&(n.props||(n.props={}),n.props.class=[n.props.class,t].join(" "))}return Ce(ue,{pageCount:x,disabled:P(()=>e.disabled),currentPage:d,changeEvent:U,handleSizeChange:O}),()=>{var n,t;if(!S.value)return he(ee,c("el.pagination.deprecationWarning")),null;if(!e.layout||e.hideOnSinglePage&&x.value<=1)return null;const b=[],v=[],$=w("div",{class:s.e("rightwrapper")},v),B={prev:w(qe,{disabled:e.disabled,currentPage:d.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:G}),jumper:w(He,{size:y.value}),pager:w(aa,{currentPage:d.value,pageCount:x.value,pagerCount:e.pagerCount,onChange:U,disabled:e.disabled}),next:w(Fe,{disabled:e.disabled,currentPage:d.value,pageCount:x.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:V}),sizes:w(Oe,{pageSize:j.value,pageSizes:e.pageSizes,popperClass:e.popperClass,disabled:e.disabled,teleported:e.teleported,size:y.value,appendSizeTo:e.appendSizeTo}),slot:(t=(n=r?.default)==null?void 0:n.call(r))!=null?t:null,total:w(Xe,{total:m(e.total)?0:e.total})},h=e.layout.split(",").map(D=>D.trim());let N=!1;return h.forEach(D=>{if(D==="->"){N=!0;return}N?v.push(B[D]):b.push(B[D])}),i(b[0],s.is("first")),i(b[b.length-1],s.is("last")),N&&v.length>0&&(i(v[0],s.is("first")),i(v[v.length-1],s.is("last")),b.push($)),w("div",{class:[s.b(),s.is("background",e.background),s.m(y.value)]},b)}}});const ia=_e(ra),sa=z({name:"Pagination",components:{ElPagination:ia},props:{total:{type:Number,required:!1,default:void 0},currentPage:{type:Number,required:!0},pageSize:{type:Number,required:!0}},emits:["change"],data(){return{loaded:!1}},mounted(){setTimeout(()=>{this.loaded=!0},1e3)},methods:{onPageChange(e){this.loaded&&this.$emit("change",e)}}});function la(e,l,r,c,s,p){const f=ke("el-pagination");return u(),T(f,{class:"mt-3 mb-3",background:"","hide-on-single-page":!1,layout:"prev, pager, next","current-page":e.currentPage,total:e.total,"page-size":e.pageSize,onCurrentChange:e.onPageChange},null,8,["current-page","total","page-size","onCurrentChange"])}const da=Ne(sa,[["render",la]]);export{da as P};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as $,E as B,cq as E,h as y,b as a,t as o,k as l,j as p,l as c,x as i,D as f,ah as v,o as n,L as I,df as O,q as S,dc as T,y as U,F as j,v as N,i as V,n as q}from"./index-BBQ_UUnS.js";import{F as h}from"./index.es-BxnzRC37.js";import{E as b}from"./index-CdvQ8ZtS.js";const L=$({name:"ApplicationInfo",components:{FontAwesomeIcon:h,ElButton:b,Check:E,ElIcon:B},props:{application:{type:Object,required:!0},showType:{type:Boolean,default:!1},showId:{type:Boolean,default:!1}},emits:["buy","usage"]}),F={class:"flex flex-col"},M={class:"icon"},z={class:"text-left"},D={class:"description"},G={key:0},P={key:1},R={class:"value"},X={class:"description2"},H={key:0},J={key:1},K={class:"flex flex-col justify-center align-middle gap-2"},Q={class:"flex"},W={class:"flex"};function Y(e,t,k,g,w,A){const d=c("check"),u=c("el-icon"),m=c("font-awesome-icon"),r=c("el-button");return n(),a("div",null,[o("div",F,[l(u,{class:"check"},{default:p(()=>[l(d)]),_:1}),o("div",M,[l(m,{icon:"fa-solid fa-wallet"})]),o("div",z,[o("p",D,[e.application.service?(n(),a("span",P,i(e.$t("application.title.applicationBalance",{service:e.application.service?.title})),1)):(n(),a("span",G,i(e.$t("application.title.globalBalance")),1))]),o("p",R,i(e.application?.remaining_amount?.toFixed(6))+" "+i(e.$t("service.unit."+(e.application?.service?.unit||"credit")+"s")),1),o("p",X,[e.application.type==="Period"?(n(),a("span",H,i(e.$t("application.field.expiredAt"))+": "+i(e.$dayjs.format(e.application.expired_at)),1)):(n(),a("span",J,i(e.$t("application.message.neverExpire")),1))])])]),o("div",K,[o("div",Q,[l(r,{size:"small",round:"",onClick:t[0]||(t[0]=v(s=>e.$emit("usage",e.application),["stop"]))},{default:p(()=>[f(i(e.$t("application.button.usage")),1)]),_:1})]),o("div",W,[l(r,{type:"primary",round:"",size:"small",onClick:t[1]||(t[1]=v(s=>e.$emit("buy",e.application),["stop"]))},{default:p(()=>[f(i(e.$t("application.button.buyMore")),1)]),_:1})])])])}const Z=y(L,[["render",Y],["__scopeId","data-v-9e1d6abd"]]),x=$({name:"ApplicationStatus",components:{ElButton:b,ElDialog:I,FontAwesomeIcon:h,ApplicationInfo:Z},props:{application:{type:Object,required:!0},applications:{type:Array,default:void 0},service:{type:Object,required:!0}},emits:["select"],data(){return{visible:!1,applicationType:T}},computed:{authenticated(){return!!this.$store.state.token.access},user(){return this.$store.state.user}},methods:{onGoUsage(e){const t=this.$router.resolve({name:S,query:{application_id:e.id}});window.open(t.href,"_blank")},onBuyMore(e){const t=this.$router.resolve({name:O,params:{id:e.id}}).href;window.open(t,"_blank")},onSelectApplication(e){this.$emit("select",e)}}}),ee={class:"status"},te={key:0},oe={class:"text-center mb-4"},se={class:"flex flex-col gap-4 mb-6 justify-center items-center overflow-y-auto"};function ie(e,t,k,g,w,A){const d=c("application-info"),u=c("el-dialog"),m=c("font-awesome-icon"),r=c("el-button");return n(),a("div",ee,[l(u,{modelValue:e.visible,"onUpdate:modelValue":t[0]||(t[0]=s=>e.visible=s),class:"mt-12",width:"450px"},{default:p(()=>[e.application?(n(),a("div",te,[o("p",oe,i(e.$t("application.message.applicationSelection")),1),o("div",se,[(n(!0),a(j,null,N(e.applications,(s,C)=>(n(),V(d,{key:C,class:q({item:!0,active:e.application?.id===s.id}),application:s,onClick:_=>e.onSelectApplication(s),onUsage:_=>e.onGoUsage(s),onBuy:_=>e.onBuyMore(s)},null,8,["class","application","onClick","onUsage","onBuy"]))),128))])])):U("",!0)]),_:1},8,["modelValue"]),l(r,{circle:"",class:"entry",onClick:t[1]||(t[1]=s=>e.visible=!0)},{default:p(()=>[l(m,{icon:"fa-solid fa-wallet",class:"icon"})]),_:1})])}const ce=y(x,[["render",ie],["__scopeId","data-v-a53c7a3d"]]);export{ce as A};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{I as R}from"./api-Ch0ZHArw.js";import{d as N,
|
|
1
|
+
import{I as R}from"./api-Ch0ZHArw.js";import{d as N,c7 as B,dg as D,de as v,dc as y,dj as L,df as C,h as x,i as u,j as s,k as i,l as h,t as c,x as n,b as g,y as I,v as w,F as O,D as _,o,n as V}from"./index-BBQ_UUnS.js";import{o as W}from"./order-CxcKlnfR.js";import{g as K}from"./price-Cv9IK5ng.js";import{F as M}from"./index.es-BxnzRC37.js";import{E as j}from"./index-CdvQ8ZtS.js";import{E as z,a as U,b as H}from"./index-BiNYa2x2.js";import{E as X}from"./index--3Z-xHzh.js";import{E as A}from"./index-BapylglA.js";import"./use-form-item-CxqykdJA.js";import"./index-r5W6hzzQ.js";import"./typescript-51mfcZRW.js";const Y=N({name:"ConsoleSubscriptionBuy",components:{ElSkeleton:X,ElRow:H,ElTag:B,ElCol:U,ElCard:z,FontAwesomeIcon:M,ElButton:j},data(){return{application:void 0,application2:void 0,type:y.PERIOD,services:[],loading:!1,creating:!1,subscription:void 0}},computed:{site(){return this.$store.getters.site},applicationId(){return this.$route.params?.id?.toString()},subscriptions(){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 t of e){console.log("item",t);const m=this.getPackages(t.duration);console.log("pkgs",m),m&&(t.price=m.reduce((r,d)=>r+d.price,0));for(const r of m)t.benefits||(t.benefits=[]),t.benefits.push({enabled:!0,content:`${r?.service?.title} - ${r.amount} `+this.$t("service.unit."+r?.service?.unit+"s")});t.benefits?.push({enabled:t.name!=="WEEK",content:this.$t("console.message.benefit1")}),t.benefits?.push({enabled:t.name!=="WEEK",content:this.$t("console.message.benefit2")})}return e},service(){return this.application?.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:K,onBuyExtra(){this.$router.push({name:C,params:{id:this.applicationId}})},getPackages(e){let t=[];if(!this.service)return[];const r=[this.service].sort((d,b)=>this.serviceIds.indexOf(d.id)-this.serviceIds.indexOf(b.id));for(const d of r){const l=d.packages?.find(p=>p.type===R.PERIOD&&p.duration===e);l&&t.push({...l,service:d})}return t},async onCreateApplications(){const e=[];if(this.application2||e.push(this.application?.service?.id),e.length>0){for(const t of e)await v.create({service_id:t,type:y.PERIOD});await this.onFetchApplication2()}},onChangeType(){console.log("onChangeType",this.type),this.$router.push({name:C,params:this.$route.params})},async onFetchServices(){const{data:e}=await L.getAll({id:this.serviceIds});this.services=e.items,console.debug("services",this.services)},async onFetchApplication(){const{data:e}=await v.get(this.applicationId);this.application=e,console.debug("application",this.application)},async onFetchApplication2(){const{data:e}=await v.getAll({limit:100,offset:0,user_id:this.$store.getters.user.id,ordering:"-created_at",service_id:this.serviceIds,type:y.PERIOD});this.application2=e.items?.[0],console.debug("application2",this.application2)},onCreateOrder(e){if(this.subscription=e,this.creating=!0,!this.application2||!this.application2.id){A.error(this.$t("console.message.applicationNotFound")),this.creating=!1;return}W.create({application_ids:[this.application2.id],package_ids:this.getPackages(e.duration).map(t=>t.id),description:this.service?.title+" - "+e.label}).then(({data:t})=>{this.creating=!1,this.$router.push({name:D,params:{id:t.id}})}).catch(()=>{A.error(this.$t("order.message.createFailed")),this.creating=!1})}}}),q={class:"title"},G={class:"introduction"},J={class:"name"},Q={class:"price"},Z={class:"description"},ee={class:"benefits"},te={class:"operations"},se={key:2,class:"extra"};function ie(e,t,m,r,d,b){const l=h("el-col"),p=h("el-row"),S=h("el-skeleton"),F=h("el-tag"),k=h("font-awesome-icon"),E=h("el-button"),$=h("el-card");return o(),u(p,{class:"panel"},{default:s(()=>[i(l,{span:24},{default:s(()=>[i(p,null,{default:s(()=>[i(l,{span:24},{default:s(()=>[c("h2",q,n(e.$t("common.title.buyMore")),1)]),_:1})]),_:1}),i(p,null,{default:s(()=>[i(l,{span:24},{default:s(()=>[i($,{shadow:"hover",class:"card"},{default:s(()=>[i(p,null,{default:s(()=>[i(l,{class:"max-w-4xl mx-auto"},{default:s(()=>[c("p",G,n(e.$t("console.subscription.title")),1),e.loading?(o(),u(S,{key:0})):(o(),u(p,{key:1,gutter:15,class:"subscriptions"},{default:s(()=>[(o(!0),g(O,null,w(e.subscriptions,(a,P)=>(o(),u(l,{key:P,xs:24,md:24/(e.subscriptions?.length||4)},{default:s(()=>[i($,{shadow:"hover",class:V({subscription:!0,active:e.subscription?.name===a.name}),onClick:f=>e.subscription=a},{default:s(()=>[c("h4",J,[_(n(a.label)+" ",1),a.tag?(o(),u(F,{key:0,type:"warning"},{default:s(()=>[_(n(a.tag),1)]),_:2},1024)):I("",!0)]),c("h2",Q,n(e.getPriceString({value:a.price})),1),c("p",Z,n(a.description),1),c("div",ee,[(o(!0),g(O,null,w(a.benefits,(f,T)=>(o(),g("div",{key:T,class:"benefit"},[f.enabled?(o(),u(k,{key:0,icon:"fa-solid fa-check",class:"icon icon-check"})):(o(),u(k,{key:1,icon:"fa-solid fa-xmark",class:"icon icon-xmark"})),c("span",null,n(f.content),1)]))),128))]),c("div",te,[i(E,{class:"btn btn-subscribe",type:e.subscription?.name===a?.name?"primary":"",round:"",onClick:f=>e.onCreateOrder(a)},{default:s(()=>[_(n(e.$t("common.button.buy")),1)]),_:2},1032,["type","onClick"])])]),_:2},1032,["class","onClick"])]),_:2},1032,["md"]))),128))]),_:1})),e.loading?I("",!0):(o(),g("div",se,[c("span",null,n(e.$t("console.message.doNotWantSubscribe")),1),i(E,{type:"primary",class:"btn btn-extra",round:"",size:"small",onClick:e.onBuyExtra},{default:s(()=>[_(n(e.$t("console.message.buyExtra")),1)]),_:1},8,["onClick"])]))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}const ge=x(Y,[["render",ie],["__scopeId","data-v-3411ae97"]]);export{ge as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as t}from"./vue-plyr-QZFBikSk.js";import{d as n,h as r,b as a,k as i,j as c,t as e,l as p,o as d}from"./index-
|
|
1
|
+
import{s as t}from"./vue-plyr-QZFBikSk.js";import{d as n,h as r,b as a,k as i,j as c,t as e,l as p,o as d}from"./index-BBQ_UUnS.js";const l=n({name:"VideoPlayer",components:{VuePlyr:t},props:{src:{type:String,required:!0}},data(){return{options:{quality:{default:"1080p"}}}}}),_={class:"video"},u={controls:"",crossorigin:"anonymous",playsinline:""},m=["src"];function y(o,f,v,h,V,$){const s=p("vue-plyr");return d(),a("div",_,[i(s,{options:o.options},{default:c(()=>[e("video",u,[e("source",{size:"1080",src:o.src,type:"video/mp4"},null,8,m)])]),_:1},8,["options"])])}const C=r(l,[["render",y],["__scopeId","data-v-80a09170"]]);export{C as V};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{cD as l,c4 as i,cE as D,bX as F,bY as _,cF as G,c0 as L,bV as B,cG as A,cH as y,cI as K,cJ as c}from"./index-BBQ_UUnS.js";import{i as k,b as R,a as W}from"./index-DJVhLku9.js";var h=l(i,"WeakMap");function q(t){return t!=null&&k(t.length)&&!D(t)}var H=Object.prototype;function N(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||H;return t===r}function Y(t,e){for(var r=-1,o=Array(t);++r<t;)o[r]=e(r);return o}function J(){return!1}var z=typeof exports=="object"&&exports&&!exports.nodeType&&exports,w=z&&typeof module=="object"&&module&&!module.nodeType&&module,X=w&&w.exports===z,x=X?i.Buffer:void 0,Z=x?x.isBuffer:void 0,Q=Z||J,tt="[object Arguments]",rt="[object Array]",et="[object Boolean]",at="[object Date]",ot="[object Error]",nt="[object Function]",st="[object Map]",it="[object Number]",ct="[object Object]",ut="[object RegExp]",pt="[object Set]",ft="[object String]",gt="[object WeakMap]",bt="[object ArrayBuffer]",yt="[object DataView]",lt="[object Float32Array]",dt="[object Float64Array]",Tt="[object Int8Array]",ht="[object Int16Array]",jt="[object Int32Array]",vt="[object Uint8Array]",mt="[object Uint8ClampedArray]",_t="[object Uint16Array]",At="[object Uint32Array]",a={};a[lt]=a[dt]=a[Tt]=a[ht]=a[jt]=a[vt]=a[mt]=a[_t]=a[At]=!0;a[tt]=a[rt]=a[bt]=a[et]=a[yt]=a[at]=a[ot]=a[nt]=a[st]=a[it]=a[ct]=a[ut]=a[pt]=a[ft]=a[gt]=!1;function wt(t){return F(t)&&k(t.length)&&!!a[_(t)]}function xt(t){return function(e){return t(e)}}var U=typeof exports=="object"&&exports&&!exports.nodeType&&exports,g=U&&typeof module=="object"&&module&&!module.nodeType&&module,St=g&&g.exports===U,T=St&&G.process,S=function(){try{var t=g&&g.require&&g.require("util").types;return t||T&&T.binding&&T.binding("util")}catch{}}(),O=S&&S.isTypedArray,Ot=O?xt(O):wt,Pt=Object.prototype,It=Pt.hasOwnProperty;function Mt(t,e){var r=B(t),o=!r&&R(t),u=!r&&!o&&Q(t),p=!r&&!o&&!u&&Ot(t),f=r||o||u||p,d=f?Y(t.length,String):[],V=d.length;for(var n in t)(e||It.call(t,n))&&!(f&&(n=="length"||u&&(n=="offset"||n=="parent")||p&&(n=="buffer"||n=="byteLength"||n=="byteOffset")||L(n,V)))&&d.push(n);return d}function $t(t,e){return function(r){return t(e(r))}}var Ct=$t(Object.keys,Object),Et=Object.prototype,Bt=Et.hasOwnProperty;function kt(t){if(!N(t))return Ct(t);var e=[];for(var r in Object(t))Bt.call(t,r)&&r!="constructor"&&e.push(r);return e}function zt(t){return q(t)?Mt(t):kt(t)}function Ut(){this.__data__=new A,this.size=0}function Vt(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}function Dt(t){return this.__data__.get(t)}function Ft(t){return this.__data__.has(t)}var Gt=200;function Lt(t,e){var r=this.__data__;if(r instanceof A){var o=r.__data__;if(!y||o.length<Gt-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new K(o)}return r.set(t,e),this.size=r.size,this}function b(t){var e=this.__data__=new A(t);this.size=e.size}b.prototype.clear=Ut;b.prototype.delete=Vt;b.prototype.get=Dt;b.prototype.has=Ft;b.prototype.set=Lt;function Kt(t,e){for(var r=-1,o=t==null?0:t.length,u=0,p=[];++r<o;){var f=t[r];e(f,r,t)&&(p[u++]=f)}return p}function Rt(){return[]}var Wt=Object.prototype,qt=Wt.propertyIsEnumerable,P=Object.getOwnPropertySymbols,Ht=P?function(t){return t==null?[]:(t=Object(t),Kt(P(t),function(e){return qt.call(t,e)}))}:Rt;function Nt(t,e,r){var o=e(t);return B(t)?o:W(o,r(t))}function ar(t){return Nt(t,zt,Ht)}var j=l(i,"DataView"),v=l(i,"Promise"),m=l(i,"Set"),I="[object Map]",Yt="[object Object]",M="[object Promise]",$="[object Set]",C="[object WeakMap]",E="[object DataView]",Jt=c(j),Xt=c(y),Zt=c(v),Qt=c(m),tr=c(h),s=_;(j&&s(new j(new ArrayBuffer(1)))!=E||y&&s(new y)!=I||v&&s(v.resolve())!=M||m&&s(new m)!=$||h&&s(new h)!=C)&&(s=function(t){var e=_(t),r=e==Yt?t.constructor:void 0,o=r?c(r):"";if(o)switch(o){case Jt:return E;case Xt:return I;case Zt:return M;case Qt:return $;case tr:return C}return e});var or=i.Uint8Array;export{b as S,or as U,s as a,Nt as b,xt as c,ar as d,N as e,Mt as f,Ht as g,q as h,Q as i,Ot as j,zt as k,S as n,$t as o,Rt as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{k as C,g as F,s as _,b as N,a as j,c as E,n as u,i as K,S as R,d as v}from"./_Uint8Array-CP8wtPEA.js";import{bZ as $,bX as B,aZ as Z,bV as V,cC as W}from"./index-BBQ_UUnS.js";import{c as T,k as p,g as X,a as x,b as Y,d as q,e as H,i as J}from"./_initCloneObject-BA-9LMnp.js";import{a as Q}from"./index-DJVhLku9.js";function k(r,e){for(var n=-1,o=r==null?0:r.length;++n<o&&e(r[n],n,r)!==!1;);return r}function z(r,e){return r&&T(e,C(e),r)}function rr(r,e){return r&&T(e,p(e),r)}function er(r,e){return T(r,F(r),e)}var tr=Object.getOwnPropertySymbols,L=tr?function(r){for(var e=[];r;)Q(e,F(r)),r=X(r);return e}:_;function nr(r,e){return T(r,L(r),e)}function ar(r){return N(r,p,L)}var or=Object.prototype,sr=or.hasOwnProperty;function cr(r){var e=r.length,n=new r.constructor(e);return e&&typeof r[0]=="string"&&sr.call(r,"index")&&(n.index=r.index,n.input=r.input),n}function ir(r,e){var n=e?x(r.buffer):r.buffer;return new r.constructor(n,r.byteOffset,r.byteLength)}var br=/\w*$/;function fr(r){var e=new r.constructor(r.source,br.exec(r));return e.lastIndex=r.lastIndex,e}var O=$?$.prototype:void 0,w=O?O.valueOf:void 0;function gr(r){return w?Object(w.call(r)):{}}var yr="[object Boolean]",ur="[object Date]",Tr="[object Map]",lr="[object Number]",jr="[object RegExp]",pr="[object Set]",Ar="[object String]",dr="[object Symbol]",mr="[object ArrayBuffer]",Sr="[object DataView]",$r="[object Float32Array]",Or="[object Float64Array]",wr="[object Int8Array]",Ir="[object Int16Array]",hr="[object Int32Array]",Cr="[object Uint8Array]",Fr="[object Uint8ClampedArray]",Er="[object Uint16Array]",Br="[object Uint32Array]";function xr(r,e,n){var o=r.constructor;switch(e){case mr:return x(r);case yr:case ur:return new o(+r);case Sr:return ir(r,n);case $r:case Or:case wr:case Ir:case hr:case Cr:case Fr:case Er:case Br:return Y(r,n);case Tr:return new o;case lr:case Ar:return new o(r);case jr:return fr(r);case pr:return new o;case dr:return gr(r)}}var Lr="[object Map]";function Mr(r){return B(r)&&j(r)==Lr}var I=u&&u.isMap,Ur=I?E(I):Mr,Pr="[object Set]";function Dr(r){return B(r)&&j(r)==Pr}var h=u&&u.isSet,Gr=h?E(h):Dr,_r=1,Nr=2,Kr=4,M="[object Arguments]",Rr="[object Array]",vr="[object Boolean]",Zr="[object Date]",Vr="[object Error]",U="[object Function]",Wr="[object GeneratorFunction]",Xr="[object Map]",Yr="[object Number]",P="[object Object]",qr="[object RegExp]",Hr="[object Set]",Jr="[object String]",Qr="[object Symbol]",kr="[object WeakMap]",zr="[object ArrayBuffer]",re="[object DataView]",ee="[object Float32Array]",te="[object Float64Array]",ne="[object Int8Array]",ae="[object Int16Array]",oe="[object Int32Array]",se="[object Uint8Array]",ce="[object Uint8ClampedArray]",ie="[object Uint16Array]",be="[object Uint32Array]",t={};t[M]=t[Rr]=t[zr]=t[re]=t[vr]=t[Zr]=t[ee]=t[te]=t[ne]=t[ae]=t[oe]=t[Xr]=t[Yr]=t[P]=t[qr]=t[Hr]=t[Jr]=t[Qr]=t[se]=t[ce]=t[ie]=t[be]=!0;t[Vr]=t[U]=t[kr]=!1;function l(r,e,n,o,f,s){var a,g=e&_r,y=e&Nr,D=e&Kr;if(n&&(a=f?n(r,o,f,s):n(r)),a!==void 0)return a;if(!Z(r))return r;var A=V(r);if(A){if(a=cr(r),!g)return q(r,a)}else{var b=j(r),d=b==U||b==Wr;if(K(r))return H(r,g);if(b==P||b==M||d&&!f){if(a=y||d?{}:J(r),!g)return y?nr(r,rr(a,r)):er(r,z(a,r))}else{if(!t[b])return f?r:{};a=xr(r,b,g)}}s||(s=new R);var m=s.get(r);if(m)return m;s.set(r,a),Gr(r)?r.forEach(function(c){a.add(l(c,e,n,c,r,s))}):Ur(r)&&r.forEach(function(c,i){a.set(i,l(c,e,n,i,r,s))});var G=D?y?ar:v:y?p:C,S=A?void 0:G(r);return k(S||r,function(c,i){S&&(i=c,c=r[i]),W(a,i,l(c,e,n,i,r,s))}),a}export{l as b,ar as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{S as E,k as O}from"./_Uint8Array-CP8wtPEA.js";import{b as c}from"./isEqual-BUS99vVF.js";import{aZ as P,d8 as A,b$ as m,cZ as y,c1 as M,bV as _}from"./index-BBQ_UUnS.js";import{h as g,c as b}from"./index-DJVhLku9.js";var d=1,C=2;function I(n,r,e,t){var i=e.length,u=i;if(n==null)return!u;for(n=Object(n);i--;){var f=e[i];if(f[2]?f[1]!==n[f[0]]:!(f[0]in n))return!1}for(;++i<u;){f=e[i];var s=f[0],o=n[s],h=f[1];if(f[2]){if(o===void 0&&!(s in n))return!1}else{var l=new E,a;if(!(a===void 0?c(h,o,d|C,t,l):a))return!1}}return!0}function p(n){return n===n&&!P(n)}function L(n){for(var r=O(n),e=r.length;e--;){var t=r[e],i=n[t];r[e]=[t,i,p(i)]}return r}function R(n,r){return function(e){return e==null?!1:e[n]===r&&(r!==void 0||n in Object(e))}}function D(n){var r=L(n);return r.length==1&&r[0][2]?R(r[0][0],r[0][1]):function(e){return e===n||I(e,n,r)}}var G=1,w=2;function F(n,r){return A(n)&&p(r)?R(m(n),r):function(e){var t=y(e,n);return t===void 0&&t===r?g(e,n):c(r,t,G|w)}}function S(n){return function(r){return r?.[n]}}function $(n){return function(r){return M(r,n)}}function x(n){return A(n)?S(m(n)):$(n)}function Z(n){return typeof n=="function"?n:n==null?b:typeof n=="object"?_(n)?F(n[0],n[1]):D(n):x(n)}export{Z as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{aZ as p,cK as y,cC as O,c4 as m}from"./index-BBQ_UUnS.js";import{e as v,f as x,h as w,o as P,U as i}from"./_Uint8Array-CP8wtPEA.js";var a=Object.create,b=function(){function e(){}return function(r){if(!p(r))return{};if(a)return a(r);e.prototype=r;var n=new e;return e.prototype=void 0,n}}();function z(e,r){var n=-1,t=e.length;for(r||(r=Array(t));++n<t;)r[n]=e[n];return r}function M(e,r,n,t){var h=!n;n||(n={});for(var u=-1,g=r.length;++u<g;){var s=r[u],o=void 0;o===void 0&&(o=e[s]),h?y(n,s,o):O(n,s,o)}return n}function A(e){var r=[];if(e!=null)for(var n in Object(e))r.push(n);return r}var C=Object.prototype,K=C.hasOwnProperty;function U(e){if(!p(e))return A(e);var r=v(e),n=[];for(var t in e)t=="constructor"&&(r||!K.call(e,t))||n.push(t);return n}function N(e){return w(e)?x(e,!0):U(e)}var I=P(Object.getPrototypeOf,Object),d=typeof exports=="object"&&exports&&!exports.nodeType&&exports,f=d&&typeof module=="object"&&module&&!module.nodeType&&module,L=f&&f.exports===d,c=L?m.Buffer:void 0,l=c?c.allocUnsafe:void 0;function Z(e,r){if(r)return e.slice();var n=e.length,t=l?l(n):new e.constructor(n);return e.copy(t),t}function T(e){var r=new e.constructor(e.byteLength);return new i(r).set(new i(e)),r}function k(e,r){var n=r?T(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function q(e){return typeof e.constructor=="function"&&!v(e)?b(I(e)):{}}export{T as a,k as b,M as c,z as d,Z as e,I as g,q as i,N as k};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bV as a}from"./index-BBQ_UUnS.js";function e(){if(!arguments.length)return[];var r=arguments[0];return a(r)?r:[r]}export{e as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={"button.setup":{message:"إعداد",description:"نص الزر، يستخدم لإعداد بعض المحتويات"},"button.start":{message:"ابدأ",description:"نص الزر، يستخدم لبدء بعض العمليات"},"button.copy":{message:"نسخ",description:"نص الزر، يستخدم لإعداد بعض المحتويات"},"button.restart":{message:"إعادة توليد",description:"نص الزر، يستخدم لإعداد بعض المحتويات"},"button.preview":{message:"معاينة",description:"نص الزر، يستخدم لفتح معاينة لملف معين عبر URL"},"button.seeRawImage":{message:"عرض الصورة الأصلية",description:"نص الزر، يستخدم لعرض الصورة الأصلية"},"button.seeRawVideo":{message:"عرض الفيديو",description:"نص الزر، يستخدم لعرض الصورة الأصلية"},"button.edit":{message:"تعديل",description:"نص الزر، يستخدم لتعديل بعض المحتويات"},"button.login":{message:"تسجيل الدخول",description:"نص الزر، يستخدم لتسجيل الدخول"},"button.logout":{message:"تسجيل الخروج",description:"نص الزر، يستخدم لتسجيل الخروج"},"button.new":{message:"إنشاء جديد",description:"نص الزر، يستخدم لإنشاء مشروع جديد"},"button.delete":{message:"حذف",description:"نص الزر، يستخدم لحذف بعض المحتويات"},"button.confirm":{message:"تأكيد",description:"نص الزر، يستخدم لتأكيد بعض المحتويات"},"button.cancel":{message:"إلغاء",description:"نص الزر، يستخدم لإلغاء بعض العمليات"},"button.alert":{message:"تحذير",description:"نص الزر، يستخدم لتحذير بعض المحتويات"},"button.info":{message:"معلومات",description:"نص الزر، يستخدم لعرض المعلومات"},"button.publish":{message:"نشر",description:"نص الزر، يستخدم لنشر بعض المحتويات"},"button.watch":{message:"شاهد",description:"نص الزر، يستخدم لمشاهدة بعض المحتويات"},"button.verify":{message:"التحقق من الهوية",description:"نص الزر، يستخدم لتمكين المستخدم من التحقق من الهوية"},"button.profile":{message:"الملف الشخصي",description:"نص الزر، يستخدم لعرض الملف الشخصي"},"button.console":{message:"وحدة التحكم",description:"نص الزر، يستخدم لعرض صفحة وحدة التحكم للتحكم في بعض المحتويات على الويب"},"button.learn":{message:"تعلم",description:"نص الزر، يستخدم لتمكين المستخدم من تعلم بعض المحتويات"},"button.buy":{message:"شراء",description:"نص الزر، يستخدم لتمكين المستخدم من شراء بعض المحتويات"},"button.try":{message:"جرب",description:"نص الزر، يستخدم لتمكين المستخدم من تجربة بعض المحتويات"},"button.startForFree":{message:"ابدأ مجانًا",description:"نص الزر، يستخدم لتمكين المستخدم من البدء في استخدامه مجانًا"},"button.apply":{message:"تقديم طلب",description:"نص الزر، يستخدم لتمكين المستخدم من تقديم طلب لخدمة API"},"button.refresh":{message:"تحديث",description:"نص الزر، يستخدم لتحديث الصفحة"},"button.pay":{message:"دفع",description:"نص الزر، يستخدم لتمكين المستخدم من دفع رسوم الخدمة"},"button.repay":{message:"استمرار الدفع",description:"نص الزر، يستخدم لتمكين المستخدم من الاستمرار في دفع رسوم الخدمة"},"button.applied":{message:"تم التقديم",description:"نص الزر، يستخدم لعرض أن المستخدم قد قدم طلبًا لهذه الخدمة"},"button.acquire":{message:"الحصول على",description:"نص الزر، يستخدم لتمكين المستخدم من الحصول على رمز أو مفتاح خدمة API"},"button.fillExample":{message:"املأ المثال",description:"نص الزر، يستخدم لتمكين المستخدم من ملء بيانات المثال"},"button.buyMore":{message:"شراء المزيد",description:"نص الزر، يستخدم لتمكين المستخدم من شراء المزيد من المحتويات"},"button.update":{message:"تحديث",description:"نص الزر، يستخدم لتحديث بعض المحتويات"},"button.view":{message:"عرض",description:"نص الزر، يستخدم لعرض بعض المحتويات"},"button.create":{message:"إنشاء",description:"نص الزر، يستخدم لإنشاء بعض المحتويات"},"button.referralEarnings":{message:"أرباح الإحالة",description:"نص الزر، يستخدم لعرض أرباح الإحالة، مما يعني أن المستخدم يمكنه كسب المال من خلال دعوة الآخرين لاستخدام الخدمة"},"button.finish":{message:"إنهاء",description:"نص الزر، يستخدم لإنهاء بعض المحتويات"},"entity.id":{message:"معرف",description:"يستخدم لعرض المعرف الفريد للكيان"},"entity.type":{message:"نوع",description:"يستخدم لعرض نوع الكيان"},"entity.website":{message:"Ace Data Cloud",description:"اسم الموقع، لا حاجة للترجمة، احتفظ به كـ 'Ace Data Cloud'"},"entity.copyright":{message:"حقوق الطبع والنشر",description:"يستخدم لعرض نص معلومات حقوق الطبع والنشر"},"entity.platform":{message:"منصة",description:"نص يشير إلى أن هذه هي منصة خدمة API"},"entity.title":{message:"عنوان",description:"عنوان الكيان"},"entity.icon":{message:"أيقونة",description:"أيقونة الكيان"},"entity.status":{message:"الحالة",description:"حالة الكيان"},"entity.operation":{message:"عملية",description:"عملية الكيان"},"entity.description":{message:"الوصف",description:"وصف الكيان"},"entity.createdAt":{message:"تاريخ الإنشاء",description:"تاريخ إنشاء الكيان"},"entity.updatedAt":{message:"تاريخ التحديث",description:"تاريخ تحديث الكيان"},"entity.order":{message:"طلب",description:"طلب الكيان، الطلب يحتوي على المبلغ ومعلومات الخدمة، يحتاج المستخدم لدفعه"},"message.noTasks":{message:"لا توجد مهام تاريخية، يرجى بدء مهمة جديدة~",description:"رسالة عند عدم وجود مهام"},"message.usedAmount":{message:"المبلغ المستخدم",description:"يستخدم لعرض المبلغ المستخدم في الخدمة"},"message.remainingAmount":{message:"المبلغ المتبقي",description:"يستخدم لعرض المبلغ المتبقي في الخدمة"},"message.copied":{message:"تم النسخ بنجاح",description:"يستخدم لعرض رسالة نجاح النسخ"},"message.restart":{message:"إعادة التوليد",description:"يستخدم لعرض رسالة إعادة التوليد"},"message.confirmDelete":{message:"هل أنت متأكد أنك تريد الحذف؟",description:"يستخدم لتأكيد ما إذا كان المستخدم يريد حذف محتوى معين"},"message.expiredAt":{message:"تاريخ الانتهاء",description:"يستخدم لعرض تاريخ انتهاء الخدمة"},"message.alert":{message:"تحذير",description:"يستخدم لتحذير المستخدم"},"message.info":{message:"تذكير ودي",description:"يستخدم لعرض معلومات"},"message.free":{message:"مجاني",description:"يستخدم لعرض رسالة تفيد بأن الخدمة مجانية، مما يعني أن المستخدم ليس بحاجة للدفع"},"message.startPrice":{message:"سعر البداية",description:"يستخدم لعرض أقل سعر للخدمة"},"message.joinDiscord":{message:"انضم إلى Discord",description:"يستخدم لدعوة المستخدم للانضمام إلى قناة Discord"},"message.addWeChat":{message:"إضافة WeChat",description:"يستخدم لدعوة المستخدم لإضافة WeChat"},"message.serviceTech":{message:"الدعم الفني",description:"يستخدم لعرض رسالة دعم فني للخدمة"},"message.businessCooperation":{message:"التعاون التجاري",description:"يستخدم لعرض رسالة تعاون تجاري"},"message.noData":{message:"لا توجد بيانات",description:"يستخدم لعرض رسالة عدم وجود بيانات في الجدول أو القائمة"},"nav.home":{message:"الرئيسية",description:"نص في شريط التنقل بالموقع، يستخدم لعرض الصفحة الرئيسية"},"nav.content":{message:"المحتوى",description:"نص في شريط التنقل بالموقع، يستخدم لعرض صفحة المحتوى"},"nav.category":{message:"التصنيف",description:"نص في شريط التنقل بالموقع، يستخدم لعرض صفحة التصنيف"},"nav.service":{message:"الخدمة",description:"نص في شريط التنقل بالموقع، يستخدم لعرض صفحة الخدمة"},"nav.profile":{message:"أنا",description:"نص في شريط التنقل بالموقع، يستخدم لعرض صفحة الملف الشخصي"},"nav.products":{message:"المنتجات",description:"نص في شريط التنقل بالموقع، يستخدم لعرض صفحة المنتجات"},"nav.referral":{message:"عائدات الإحالة",description:"نص في شريط التنقل بالموقع، يستخدم لعرض صفحة الإحالة"},"nav.apiPlatform":{message:"منصة API",description:"نص في شريط التنقل بالموقع، يستخدم لعرض صفحة منصة API"},"nav.document":{message:"الوثائق",description:"نص في شريط التنقل بالموقع، يستخدم لعرض صفحة الوثائق"},"nav.console":{message:"وحدة التحكم",description:"نص في شريط التنقل بالموقع، يستخدم لعرض صفحة وحدة التحكم"},"nav.chatgpt":{message:"ChatGPT",description:"نص في شريط التنقل بالموقع، يستخدم لعرض صفحة ChatGPT، يرجى عدم ترجمة هذا الحقل، يجب أن يبقى 'ChatGPT'"},"nav.deepseek":{message:"DeepSeek",description:"نص في شريط التنقل بالموقع، يستخدم لعرض صفحة DeepSeek، يرجى عدم ترجمة هذا الحقل، يجب أن يبقى 'DeepSeek'"},"nav.grok":{message:"Grok",description:"نص في شريط التنقل بالموقع، يستخدم لعرض صفحة Grok، يرجى عدم ترجمة هذا الحقل، يجب أن يبقى 'Grok'"},"nav.chat":{message:"دردشة",description:"نص في شريط التنقل بالموقع، يستخدم لعرض صفحة الدردشة، يرجى عدم ترجمة هذا الحقل، يجب أن يبقى 'Chat'"},"nav.veo":{message:"Veo",description:"نص في شريط التنقل بالموقع، يستخدم لعرض صفحة Veo، يرجى عدم ترجمة هذا الحقل، يجب أن يبقى 'Veo'"},"nav.midjourney":{message:"Midjourney",description:"نص في شريط التنقل بالموقع، يستخدم لعرض صفحة Midjourney، يرجى عدم ترجمة هذا الحقل، يجب أن يبقى 'Midjourney'"},"nav.qrart":{message:"QRArt",description:"نص في شريط التنقل بالموقع، يستخدم لعرض صفحة QRArt، يرجى عدم ترجمة هذا الحقل، يجب أن يبقى 'QRArt'"},"nav.suno":{message:"Suno",description:"النص في شريط التنقل بالموقع، لعرض صفحة Suno، يرجى عدم ترجمة هذا الحقل، يجب أن يبقى كما هو 'Suno'"},"nav.pixverse":{message:"Pixverse",description:"النص في شريط التنقل بالموقع، لعرض صفحة Pixverse، يرجى عدم ترجمة هذا الحقل، يجب أن يبقى كما هو 'Pixverse'"},"nav.flux":{message:"Flux",description:"النص في شريط التنقل بالموقع، لعرض صفحة Flux، يرجى عدم ترجمة هذا الحقل، يجب أن يبقى كما هو 'Flux'"},"nav.luma":{message:"Luma",description:"النص في شريط التنقل بالموقع، لعرض صفحة Luma، يرجى عدم ترجمة هذا الحقل، يجب أن يبقى كما هو 'Luma'"},"nav.pika":{message:"Pika",description:"النص في شريط التنقل بالموقع، لعرض صفحة Pika، يرجى عدم ترجمة هذا الحقل، يجب أن يبقى كما هو 'Pika'"},"nav.kling":{message:"Kling",description:"النص في شريط التنقل بالموقع، لعرض صفحة Kling، يرجى عدم ترجمة هذا الحقل، يجب أن يبقى كما هو 'Kling'"},"nav.hailuo":{message:"Hailuo",description:"النص في شريط التنقل بالموقع، لعرض صفحة Hailuo، يرجى عدم ترجمة هذا الحقل، يجب أن يبقى كما هو 'Hailuo'"},"nav.image":{message:"صورة",description:"النص في شريط التنقل بالموقع، لعرض صفحة الصورة"},"nav.music":{message:"موسيقى",description:"النص في شريط التنقل بالموقع، لعرض صفحة الموسيقى"},"nav.video":{message:"فيديو",description:"النص في شريط التنقل بالموقع، لعرض صفحة الفيديو"},"nav.distribution":{message:"عائدات التوصية",description:"النص في شريط التنقل بالموقع، لعرض صفحة عائدات التوصية"},"nav.logOut":{message:"تسجيل الخروج",description:"النص في شريط التنقل بالموقع، لتسجيل الخروج"},"nav.site":{message:"إعدادات الموقع",description:"النص في شريط التنقل بالموقع، لعرض صفحة إعدادات الموقع"},"nav.setting":{message:"إعدادات",description:"النص في شريط التنقل بالموقع، لعرض صفحة الإعدادات"},"nav.headshots":{message:"صور هوية AI",description:"النص في شريط التنقل بالموقع، لعرض صفحة إعدادات الموقع"},"nav.locale":{message:"إعدادات اللغة",description:"النص في شريط التنقل بالموقع، لتغيير اللغة"},"nav.support":{message:"دعم العملاء",description:"النص في شريط التنقل بالموقع، لعرض صفحة الدعم"},"nav.darkMode":{message:"الوضع الداكن",description:"النص في شريط التنقل بالموقع، للتبديل إلى السمة الداكنة"},"title.alert":{message:"تنبيه",description:"عنوان رسالة التنبيه"},"title.placeholderOfSelect":{message:"يرجى الاختيار",description:"نص العنصر النائب في حقل الاختيار"},"title.placeholderOfInput":{message:"يرجى الإدخال",description:"نص العنصر النائب في حقل الإدخال"},"title.allApplications":{message:"جميع الطلبات",description:"عنوان صفحة عرض جميع الطلبات"},"title.allOrders":{message:"جميع الطلبات",description:"عنوان صفحة عرض جميع الطلبات"},"title.orderInfo":{message:"معلومات الطلب",description:"عنوان صفحة عرض معلومات الطلب"},"title.buyMore":{message:"شراء المزيد",description:"عنوان صفحة تشجع المستخدم على شراء المزيد"},"title.distribution":{message:"عائدات التوصية",description:"عنوان صفحة عرض عائدات التوصية، تشير إلى أن المستخدم يمكنه كسب المال من خلال دعوة الآخرين لاستخدام الخدمة"},"title.site":{message:"إعدادات الموقع",description:"عنوان صفحة عرض إعدادات الموقع"},"title.distributionHistory":{message:"تاريخ التوصية",description:"عنوان صفحة عرض تاريخ التوصية"},"title.invitee":{message:"المدعو",description:"عنوان صفحة عرض المدعو"},"title.allUsages":{message:"تاريخ الاستخدام",description:"عنوان صفحة عرض جميع سجلات استخدام خدمة API"},"title.allCredentials":{message:"الاعتمادات",description:"عنوان صفحة عرض جميع الاعتمادات، هذه الاعتمادات تستخدم للوصول إلى API"},"about.title1":{message:"اتصل بنا",description:"عنوان قسم عرض معلومات الاتصال"},"about.title2":{message:"الموارد",description:"عنوان قسم عرض الروابط"},"about.title3":{message:"الروابط",description:"عنوان قسم عرض معلومات الدعم"},"about.address":{message:"الولايات المتحدة الأمريكية، ولاية ديلاوير، مدينة ميدلتون، مكتب رقم 201، شارع نورث برود",description:"عنوان الشركة"},"about.email":{message:"office@acedata.cloud",description:"البريد الإلكتروني للشركة"},"about.link1":{message:"الخدمات",description:"رابط صفحة الخدمات"},"about.link2":{message:"الوثائق",description:"رابط صفحة الوثائق"},"about.link3":{message:"لوحة التحكم",description:"رابط صفحة لوحة التحكم"},"about.link4":{message:"الملف الشخصي",description:"رابط صفحة الملف الشخصي"},"about.link5":{message:"المركز",description:"رابط صفحة المركز"},"about.link6":{message:"عائدات التوصية",description:"رابط صفحة عائدات التوصية"},"about.link7":{message:"الدعم",description:"رابط صفحة الدعم"},"about.link8":{message:"شروط الخدمة",description:"رابط صفحة شروط الخدمة"},"about.link9":{message:"سياسة الخصوصية",description:"رابط صفحة سياسة الخصوصية"},"theme.light":{message:"فاتح",description:"اسم السمة الفاتحة"},"theme.dark":{message:"داكن",description:"اسم السمة الداكنة"},"theme.system":{message:"نظام",description:"اسم السمة النظامية، تشير إلى التبديل التلقائي للسمة بناءً على إعدادات النظام"},"settings.general":{message:"الإعدادات العامة",description:"عنوان قسم الإعدادات العامة في صفحة الإعدادات"},"settings.language":{message:"اللغة",description:"عنوان قسم إعدادات اللغة في صفحة الإعدادات"},"settings.theme":{message:"السمة",description:"عنوان قسم إعدادات السمة في صفحة الإعدادات"},"settings.seo":{message:"إعدادات SEO",description:"عنوان قسم إعدادات SEO في صفحة الإعدادات"},"settings.site":{message:"إعدادات الموقع",description:"عنوان قسم إعدادات الموقع في صفحة الإعدادات"},"settings.distribution":{message:"إعدادات التوزيع",description:"عنوان قسم إعدادات التوزيع في صفحة الإعدادات"},"settings.function":{message:"إعدادات الوظائف",description:"عنوان قسم إعدادات الوظائف في صفحة الإعدادات"}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={"button.setup":{message:"Налаштування",description:"Текст кнопки, що використовується для налаштування певних параметрів"},"button.start":{message:"Почати",description:"Текст кнопки, що використовується для початку певних дій"},"button.copy":{message:"Копіювати",description:"Текст кнопки, що використовується для налаштування певних параметрів"},"button.restart":{message:"Перегенерувати",description:"Текст кнопки, що використовується для налаштування певних параметрів"},"button.preview":{message:"Попередній перегляд",description:"Текст кнопки, що використовується для відкриття попереднього перегляду певного файлу через URL"},"button.seeRawImage":{message:"Переглянути оригінал",description:"Текст кнопки, що використовується для перегляду оригінального зображення"},"button.seeRawVideo":{message:"Переглянути відео",description:"Текст кнопки, що використовується для перегляду оригінального відео"},"button.edit":{message:"Редагувати",description:"Текст кнопки, що використовується для редагування певних параметрів"},"button.login":{message:"Увійти",description:"Текст кнопки, що використовується для входу в систему"},"button.logout":{message:"Вийти",description:"Текст кнопки, що використовується для виходу з системи"},"button.new":{message:"Створити новий",description:"Текст кнопки, що використовується для створення нового проекту"},"button.delete":{message:"Видалити",description:"Текст кнопки, що використовується для видалення певних параметрів"},"button.confirm":{message:"Підтвердити",description:"Текст кнопки, що використовується для підтвердження певних дій"},"button.cancel":{message:"Скасувати",description:"Текст кнопки, що використовується для скасування певних дій"},"button.alert":{message:"Попередження",description:"Текст кнопки, що використовується для попередження про певні дії"},"button.info":{message:"Інформація",description:"Текст кнопки, що використовується для відображення інформації"},"button.publish":{message:"Опублікувати",description:"Текст кнопки, що використовується для публікації певних матеріалів"},"button.watch":{message:"Дивитися",description:"Текст кнопки, що використовується для перегляду певних матеріалів"},"button.verify":{message:"Перевірка особи",description:"Текст кнопки, що використовується для перевірки особи користувача"},"button.profile":{message:"Профіль",description:"Текст кнопки, що використовується для відображення профілю користувача"},"button.console":{message:"Консоль",description:"Текст кнопки, що використовується для відображення сторінки консолі для управління певними параметрами на веб-сторінці"},"button.learn":{message:"Вивчити",description:"Текст кнопки, що використовується для навчання користувача певним матеріалам"},"button.buy":{message:"Купити",description:"Текст кнопки, що використовується для покупки певних матеріалів"},"button.try":{message:"Спробувати",description:"Текст кнопки, що використовується для спроби певних матеріалів"},"button.startForFree":{message:"Почати безкоштовно",description:"Текст кнопки, що використовується для безкоштовного початку використання"},"button.apply":{message:"Подати заявку",description:"Текст кнопки, що використовується для подання заявки на API-сервіс"},"button.refresh":{message:"Оновити",description:"Текст кнопки, що використовується для оновлення сторінки"},"button.pay":{message:"Оплатити",description:"Текст кнопки, що використовується для оплати послуг"},"button.repay":{message:"Продовжити оплату",description:"Текст кнопки, що використовується для продовження оплати послуг"},"button.applied":{message:"Подано заявку",description:"Текст кнопки, що використовується для відображення інформації про те, що користувач вже подав заявку на цей сервіс"},"button.acquire":{message:"Отримати",description:"Текст кнопки, що використовується для отримання токена або ключа API-сервісу"},"button.fillExample":{message:"Заповнити приклад",description:"Текст кнопки, що використовується для заповнення прикладних даних"},"button.buyMore":{message:"Купити більше",description:"Текст кнопки, що використовується для покупки додаткових матеріалів"},"button.update":{message:"Оновити",description:"Текст кнопки, що використовується для оновлення певних параметрів"},"button.view":{message:"Переглянути",description:"Текст кнопки, що використовується для перегляду певних матеріалів"},"button.create":{message:"Створити",description:"Текст кнопки, що використовується для створення певних матеріалів"},"button.referralEarnings":{message:"Реферальний дохід",description:"Текст кнопки, що використовується для відображення реферального доходу, що означає, що користувач може заробити, запрошуючи інших використовувати сервіс"},"button.finish":{message:"Завершити",description:"Текст кнопки, що використовується для завершення певних дій"},"entity.id":{message:"ID",description:"Використовується для відображення унікального ідентифікатора сутності"},"entity.type":{message:"Тип",description:"Використовується для відображення типу сутності"},"entity.website":{message:"Ace Data Cloud",description:"Назва сайту, не потребує перекладу, залишається 'Ace Data Cloud'"},"entity.copyright":{message:"Авторське право",description:"Використовується для відображення інформації про авторське право"},"entity.platform":{message:"Платформа",description:"Текст, що вказує, що це платформа API-сервісу"},"entity.title":{message:"Заголовок",description:"Заголовок сутності"},"entity.icon":{message:"Іконка",description:"Іконка сутності"},"entity.status":{message:"Статус",description:"Статус сутності"},"entity.operation":{message:"Операція",description:"Операція сутності"},"entity.description":{message:"Опис",description:"Опис сутності"},"entity.createdAt":{message:"Час створення",description:"Час створення сутності"},"entity.updatedAt":{message:"Час оновлення",description:"Час оновлення сутності"},"entity.order":{message:"Замовлення",description:"Замовлення сутності, замовлення містить суму, інформацію про послугу, за яку користувач повинен заплатити"},"message.noTasks":{message:"Немає історичних завдань, будь ласка, почніть нове завдання~",description:"Повідомлення, коли немає завдань"},"message.usedAmount":{message:"Використана сума",description:"Використовується для відображення суми, яка була використана для послуги"},"message.remainingAmount":{message:"Залишкова сума",description:"Використовується для відображення залишкової суми послуги"},"message.copied":{message:"Успішно скопійовано",description:"Використовується для відображення повідомлення про успішне копіювання вмісту"},"message.restart":{message:"Перегенерувати",description:"Використовується для відображення повідомлення про успішне копіювання вмісту"},"message.confirmDelete":{message:"Ви впевнені, що хочете видалити?",description:"Використовується для підтвердження, чи хоче користувач видалити певний вміст"},"message.expiredAt":{message:"Час закінчення",description:"Використовується для відображення часу закінчення послуги"},"message.alert":{message:"Попередження",description:"Використовується для попередження користувача"},"message.info":{message:"Дружнє нагадування",description:"Використовується для відображення інформаційного повідомлення"},"message.free":{message:"Безкоштовно",description:"Використовується для відображення повідомлення про безкоштовну послугу, що означає, що користувач не повинен платити"},"message.startPrice":{message:"Початкова ціна",description:"Використовується для відображення повідомлення про найнижчу ціну послуги"},"message.joinDiscord":{message:"Приєднатися до Discord",description:"Використовується для запрошення користувача приєднатися до каналу Discord"},"message.addWeChat":{message:"Додати WeChat",description:"Використовується для запрошення користувача додати WeChat"},"message.serviceTech":{message:"Технічна підтримка",description:"Використовується для відображення повідомлення про технічну підтримку послуги"},"message.businessCooperation":{message:"Комерційна співпраця",description:"Використовується для відображення повідомлення про комерційну співпрацю"},"message.noData":{message:"Немає даних",description:"Використовується для відображення повідомлення, що в таблиці або списку немає даних"},"nav.home":{message:"Головна",description:"Текст у навігаційній панелі сайту, що відображає головну сторінку"},"nav.content":{message:"Контент",description:"Текст у навігаційній панелі сайту, що відображає сторінку контенту"},"nav.category":{message:"Категорія",description:"Текст у навігаційній панелі сайту, що відображає сторінку категорій"},"nav.service":{message:"Послуги",description:"Текст у навігаційній панелі сайту, що відображає сторінку послуг"},"nav.profile":{message:"Я",description:"Текст у навігаційній панелі сайту, що відображає сторінку профілю"},"nav.products":{message:"Продукти",description:"Текст у навігаційній панелі сайту, що відображає сторінку продуктів"},"nav.referral":{message:"Рекомендаційний дохід",description:"Текст у навігаційній панелі сайту, що відображає сторінку рекомендацій"},"nav.apiPlatform":{message:"API Платформа",description:"Текст у навігаційній панелі сайту, що відображає сторінку API платформи"},"nav.document":{message:"Документація",description:"Текст у навігаційній панелі сайту, що відображає сторінку документації"},"nav.console":{message:"Консоль",description:"Текст у навігаційній панелі сайту, що відображає сторінку консолі"},"nav.chatgpt":{message:"ChatGPT",description:"Текст у навігаційній панелі сайту, що відображає сторінку ChatGPT, не перекладати це поле, має залишатися 'ChatGPT'"},"nav.deepseek":{message:"DeepSeek",description:"Текст у навігаційній панелі сайту, що відображає сторінку DeepSeek, не перекладати це поле, має залишатися 'DeepSeek'"},"nav.grok":{message:"Grok",description:"Текст у навігаційній панелі сайту, що відображає сторінку Grok, не перекладати це поле, має залишатися 'Grok'"},"nav.chat":{message:"Чат",description:"Текст у навігаційній панелі сайту, що відображає сторінку чату, не перекладати це поле, має залишатися 'Chat'"},"nav.veo":{message:"Veo",description:"Текст у навігаційній панелі сайту, що відображає сторінку чату, не перекладати це поле, має залишатися 'Veo'"},"nav.midjourney":{message:"Midjourney",description:"Текст у навігаційній панелі сайту, що відображає сторінку Midjourney, не перекладати це поле, має залишатися 'Midjourney'"},"nav.qrart":{message:"QRArt",description:"Текст у навігаційній панелі сайту, що відображає сторінку QRArt, не перекладати це поле, має залишатися 'QRArt'"},"nav.suno":{message:"Suno",description:"Текст у навігаційній панелі сайту для відображення сторінки Suno, не перекладайте це поле, має залишатися 'Suno'"},"nav.pixverse":{message:"Pixverse",description:"Текст у навігаційній панелі сайту для відображення сторінки Pixverse, не перекладайте це поле, має залишатися 'Pixverse'"},"nav.flux":{message:"Flux",description:"Текст у навігаційній панелі сайту для відображення сторінки Flux, не перекладайте це поле, має залишатися 'Flux'"},"nav.luma":{message:"Luma",description:"Текст у навігаційній панелі сайту для відображення сторінки Luma, не перекладайте це поле, має залишатися 'Luma'"},"nav.pika":{message:"Pika",description:"Текст у навігаційній панелі сайту для відображення сторінки Pika, не перекладайте це поле, має залишатися 'Pika'"},"nav.kling":{message:"Kling",description:"Текст у навігаційній панелі сайту для відображення сторінки Kling, не перекладайте це поле, має залишатися 'Kling'"},"nav.hailuo":{message:"Hailuo",description:"Текст у навігаційній панелі сайту для відображення сторінки Hailuo, не перекладайте це поле, має залишатися 'Hailuo'"},"nav.image":{message:"Зображення",description:"Текст у навігаційній панелі сайту для відображення сторінки зображень"},"nav.music":{message:"Музика",description:"Текст у навігаційній панелі сайту для відображення сторінки музики"},"nav.video":{message:"Відео",description:"Текст у навігаційній панелі сайту для відображення сторінки відео"},"nav.distribution":{message:"Рекомендації",description:"Текст у навігаційній панелі сайту для відображення сторінки рекомендацій"},"nav.logOut":{message:"Вийти",description:"Текст у навігаційній панелі сайту для виходу з облікового запису"},"nav.site":{message:"Налаштування сайту",description:"Текст у навігаційній панелі сайту для відображення сторінки налаштувань сайту"},"nav.setting":{message:"Налаштування",description:"Текст у навігаційній панелі сайту для відображення сторінки налаштувань"},"nav.headshots":{message:"AI Фото",description:"Текст у навігаційній панелі сайту для відображення сторінки налаштувань сайту"},"nav.locale":{message:"Налаштування мови",description:"Текст у навігаційній панелі сайту для зміни мови"},"nav.support":{message:"Підтримка",description:"Текст у навігаційній панелі сайту для відображення сторінки підтримки"},"nav.darkMode":{message:"Темний режим",description:"Текст у навігаційній панелі сайту для перемикання на темну тему"},"title.alert":{message:"Попередження",description:"Заголовок повідомлення про попередження"},"title.placeholderOfSelect":{message:"Будь ласка, виберіть",description:"Плейсхолдер для поля вибору"},"title.placeholderOfInput":{message:"Будь ласка, заповніть",description:"Плейсхолдер для поля введення"},"title.allApplications":{message:"Всі заявки",description:"Заголовок сторінки для відображення всіх заявок"},"title.allOrders":{message:"Всі замовлення",description:"Заголовок сторінки для відображення всіх замовлень"},"title.orderInfo":{message:"Інформація про замовлення",description:"Заголовок сторінки для відображення інформації про замовлення"},"title.buyMore":{message:"Купити більше",description:"Заголовок сторінки, що дозволяє користувачеві купити більше"},"title.distribution":{message:"Рекомендації",description:"Заголовок сторінки для відображення рекомендацій, що вказує, що користувач може заробити, запрошуючи інших користуватися послугами"},"title.site":{message:"Налаштування сайту",description:"Заголовок сторінки для відображення налаштувань сайту"},"title.distributionHistory":{message:"Історія рекомендацій",description:"Заголовок сторінки для відображення історії рекомендацій"},"title.invitee":{message:"Запрошений",description:"Заголовок сторінки для відображення запрошеного"},"title.allUsages":{message:"Історія використання",description:"Заголовок сторінки для відображення всіх записів використання API"},"title.allCredentials":{message:"Облікові дані",description:"Заголовок сторінки для відображення всіх облікових даних, які використовуються для доступу до API"},"about.title1":{message:"Зв'яжіться з нами",description:"Заголовок частини для відображення контактної інформації"},"about.title2":{message:"Ресурси",description:"Заголовок частини для відображення посилань"},"about.title3":{message:"Посилання",description:"Заголовок частини для відображення інформації про підтримку"},"about.address":{message:"США, штат Делавер, місто Міддлтаун, офіс 201, N Broad St",description:"Адреса компанії"},"about.email":{message:"office@acedata.cloud",description:"Електронна пошта компанії"},"about.link1":{message:"Послуги",description:"Посилання на сторінку послуг"},"about.link2":{message:"Документація",description:"Посилання на сторінку документації"},"about.link3":{message:"Консоль",description:"Посилання на сторінку консолі"},"about.link4":{message:"Профіль",description:"Посилання на сторінку профілю"},"about.link5":{message:"Центр",description:"Посилання на сторінку центру"},"about.link6":{message:"Рекомендовані доходи",description:"Посилання на сторінку рекомендованих доходів"},"about.link7":{message:"Підтримка",description:"Посилання на сторінку підтримки"},"about.link8":{message:"Умови обслуговування",description:"Посилання на сторінку умов обслуговування"},"about.link9":{message:"Політика конфіденційності",description:"Посилання на сторінку політики конфіденційності"},"theme.light":{message:"Світла тема",description:"Назва світлої теми"},"theme.dark":{message:"Темна тема",description:"Назва темної теми"},"theme.system":{message:"Системна",description:"Назва системної теми, що означає автоматичне перемикання теми відповідно до налаштувань системи"},"settings.general":{message:"Загальні налаштування",description:"Заголовок розділу загальних налаштувань на сторінці налаштувань"},"settings.language":{message:"Мова",description:"Заголовок розділу налаштувань мови на сторінці налаштувань"},"settings.theme":{message:"Тема",description:"Заголовок розділу налаштувань теми на сторінці налаштувань"},"settings.seo":{message:"Налаштування SEO",description:"Заголовок розділу налаштувань SEO на сторінці налаштувань"},"settings.site":{message:"Налаштування сайту",description:"Заголовок розділу налаштувань сайту на сторінці налаштувань"},"settings.distribution":{message:"Налаштування розподілу",description:"Заголовок розділу налаштувань розподілу на сторінці налаштувань"},"settings.function":{message:"Налаштування функцій",description:"Заголовок розділу налаштувань функцій на сторінці налаштувань"}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={"button.setup":{message:"Setup",description:"Button text used to set up certain content"},"button.start":{message:"Start",description:"Button text used to begin certain operations"},"button.copy":{message:"Copy",description:"Button text used to copy certain content"},"button.restart":{message:"Regenerate",description:"Button text used to regenerate certain content"},"button.preview":{message:"Preview",description:"Button text used to open a preview of a file via URL"},"button.seeRawImage":{message:"View Original Image",description:"Button text used to view the original image"},"button.seeRawVideo":{message:"View Video",description:"Button text used to view the original video"},"button.edit":{message:"Edit",description:"Button text used to edit certain content"},"button.login":{message:"Login",description:"Button text used to log in"},"button.logout":{message:"Logout",description:"Button text used to log out"},"button.new":{message:"New",description:"Button text used to create a new project"},"button.delete":{message:"Delete",description:"Button text used to delete certain content"},"button.confirm":{message:"Confirm",description:"Button text used to confirm certain content"},"button.cancel":{message:"Cancel",description:"Button text used to cancel certain operations"},"button.alert":{message:"Alert",description:"Button text used to alert certain content"},"button.info":{message:"Information",description:"Button text used to display information"},"button.publish":{message:"Publish",description:"Button text used to publish certain content"},"button.watch":{message:"Watch",description:"Button text used to watch certain content"},"button.verify":{message:"Real Name Verification",description:"Button text used to allow users to perform real name verification"},"button.profile":{message:"Profile",description:"Button text used to display user profile"},"button.console":{message:"Console",description:"Button text used to display the console page to control certain content on the webpage"},"button.learn":{message:"Learn",description:"Button text used to allow users to learn certain content"},"button.buy":{message:"Buy",description:"Button text used to allow users to purchase certain content"},"button.try":{message:"Try",description:"Button text used to allow users to try certain content"},"button.startForFree":{message:"Start for Free",description:"Button text used to allow users to start using for free"},"button.apply":{message:"Apply",description:"Button text used to allow users to apply for API services"},"button.refresh":{message:"Refresh",description:"Button text used to refresh the page"},"button.pay":{message:"Pay",description:"Button text used to allow users to pay for services"},"button.repay":{message:"Continue Payment",description:"Button text used to allow users to continue paying for services"},"button.applied":{message:"Applied",description:"Button text used to indicate that the user has applied for the service"},"button.acquire":{message:"Acquire",description:"Button text used to allow users to obtain API service tokens or keys"},"button.fillExample":{message:"Fill Example",description:"Button text used to allow users to fill in example data"},"button.buyMore":{message:"Buy More",description:"Button text used to allow users to purchase more content"},"button.update":{message:"Update",description:"Button text used to update certain content"},"button.view":{message:"View",description:"Button text used to view certain content"},"button.create":{message:"Create",description:"Button text used to create certain content"},"button.referralEarnings":{message:"Referral Earnings",description:"Button text used to display referral earnings, indicating that users can earn money by inviting others to use the service"},"button.finish":{message:"Finish",description:"Button text used to complete certain content"},"entity.id":{message:"ID",description:"Used to display the unique identifier of the entity"},"entity.type":{message:"Type",description:"Used to display the type of the entity"},"entity.website":{message:"Ace Data Cloud",description:"Website name, no translation needed, keep as 'Ace Data Cloud'"},"entity.copyright":{message:"Copyright",description:"Text used to display copyright information"},"entity.platform":{message:"Platform",description:"Text indicating that this is the platform for the API service"},"entity.title":{message:"Title",description:"The title of the entity"},"entity.icon":{message:"Icon",description:"The icon of the entity"},"entity.status":{message:"Status",description:"The status of the entity"},"entity.operation":{message:"Operation",description:"The operation of the entity"},"entity.description":{message:"Description",description:"The description of the entity"},"entity.createdAt":{message:"Created At",description:"The time when the entity was created"},"entity.updatedAt":{message:"Updated At",description:"The time when the entity was updated"},"entity.order":{message:"Order",description:"The order of the entity, which includes amount and service information that the user needs to pay for"},"message.noTasks":{message:"No historical tasks, please start a new task~",description:"Message when there are no tasks"},"message.usedAmount":{message:"Used Amount",description:"Used to display the amount of service that has been used"},"message.remainingAmount":{message:"Remaining Amount",description:"Used to display the remaining amount of service"},"message.copied":{message:"Successfully Copied",description:"Used to display a message that the content has been successfully copied"},"message.restart":{message:"Regenerate",description:"Used to display a message for regenerating content"},"message.confirmDelete":{message:"Are you sure you want to delete?",description:"Message to confirm if the user wants to delete certain content"},"message.expiredAt":{message:"Expiration Time",description:"Used to display the expiration time of the service"},"message.alert":{message:"Warning",description:"Message to warn the user"},"message.info":{message:"Friendly Reminder",description:"Message to display information"},"message.free":{message:"Free",description:"Message to indicate that the service is free, meaning the user does not need to pay"},"message.startPrice":{message:"Starting Price",description:"Message to display the minimum price of the service"},"message.joinDiscord":{message:"Join Discord",description:"Message to let users join the Discord channel"},"message.addWeChat":{message:"Add WeChat",description:"Message to let users add WeChat"},"message.serviceTech":{message:"Technical Support",description:"Message to display technical support for the service"},"message.businessCooperation":{message:"Business Cooperation",description:"Message to display business cooperation"},"message.noData":{message:"No Data",description:"Message to display when there is no data in a table or list"},"nav.home":{message:"Home",description:"Text in the website navigation bar to display the home page"},"nav.content":{message:"Content",description:"Text in the website navigation bar to display the content page"},"nav.category":{message:"Category",description:"Text in the website navigation bar to display the category page"},"nav.service":{message:"Service",description:"Text in the website navigation bar to display the service page"},"nav.profile":{message:"Me",description:"Text in the website navigation bar to display the profile page"},"nav.products":{message:"Products",description:"Text in the website navigation bar to display the products page"},"nav.referral":{message:"Referral Earnings",description:"Text in the website navigation bar to display the referral page"},"nav.apiPlatform":{message:"API Platform",description:"Text in the website navigation bar to display the API platform page"},"nav.document":{message:"Documentation",description:"Text in the website navigation bar to display the documentation page"},"nav.console":{message:"Console",description:"Text in the website navigation bar to display the console page"},"nav.chatgpt":{message:"ChatGPT",description:"Text in the website navigation bar to display the ChatGPT page, do not translate this field, must remain 'ChatGPT'"},"nav.deepseek":{message:"DeepSeek",description:"Text in the website navigation bar to display the DeepSeek page, do not translate this field, must remain 'DeepSeek'"},"nav.grok":{message:"Grok",description:"Text in the website navigation bar to display the Grok page, do not translate this field, must remain 'Grok'"},"nav.chat":{message:"Chat",description:"Text in the website navigation bar to display the chat page, do not translate this field, must remain 'Chat'"},"nav.veo":{message:"Veo",description:"Text in the website navigation bar to display the chat page, do not translate this field, must remain 'Veo'"},"nav.midjourney":{message:"Midjourney",description:"Text in the website navigation bar to display the Midjourney page, do not translate this field, must remain 'Midjourney'"},"nav.qrart":{message:"QRArt",description:"Text in the website navigation bar to display the QR art page, do not translate this field, must remain 'QRArt'"},"nav.suno":{message:"Suno",description:"Text in the website navigation bar to display the Suno page, please do not translate this field, must remain as 'Suno'"},"nav.pixverse":{message:"Pixverse",description:"Text in the website navigation bar to display the Pixverse page, please do not translate this field, must remain as 'Pixverse'"},"nav.flux":{message:"Flux",description:"Text in the website navigation bar to display the Flux page, please do not translate this field, must remain as 'Flux'"},"nav.luma":{message:"Luma",description:"Text in the website navigation bar to display the Luma page, please do not translate this field, must remain as 'Luma'"},"nav.pika":{message:"Pika",description:"Text in the website navigation bar to display the Pika page, please do not translate this field, must remain as 'Pika'"},"nav.kling":{message:"Kling",description:"Text in the website navigation bar to display the Kling page, please do not translate this field, must remain as 'Kling'"},"nav.hailuo":{message:"Hailuo",description:"Text in the website navigation bar to display the Hailuo page, please do not translate this field, must remain as 'Hailuo'"},"nav.image":{message:"Image",description:"Text in the website navigation bar to display the image page"},"nav.music":{message:"Music",description:"Text in the website navigation bar to display the music page"},"nav.video":{message:"Video",description:"Text in the website navigation bar to display the video page"},"nav.distribution":{message:"Referral Earnings",description:"Text in the website navigation bar to display the referral earnings page"},"nav.logOut":{message:"Log Out",description:"Text in the website navigation bar to log out"},"nav.site":{message:"Site Configuration",description:"Text in the website navigation bar to display the site configuration page"},"nav.setting":{message:"Settings",description:"Text in the website navigation bar to display the settings page"},"nav.headshots":{message:"AI ID Photo",description:"Text in the website navigation bar to display the site configuration page"},"nav.locale":{message:"Language Settings",description:"Text in the website navigation bar to change the language"},"nav.support":{message:"Customer Support",description:"Text in the website navigation bar to display the support page"},"nav.darkMode":{message:"Dark Mode",description:"Text in the website navigation bar to switch to dark theme"},"title.alert":{message:"Alert",description:"Title of the alert message"},"title.placeholderOfSelect":{message:"Please Select",description:"Placeholder for the selection input box"},"title.placeholderOfInput":{message:"Please Fill In",description:"Placeholder for the input box"},"title.allApplications":{message:"All Applications",description:"Title of the page displaying all applications"},"title.allOrders":{message:"All Orders",description:"Title of the page displaying all orders"},"title.orderInfo":{message:"Order Information",description:"Title of the page displaying order information"},"title.buyMore":{message:"Buy More",description:"Title of the page encouraging users to buy more"},"title.distribution":{message:"Referral Earnings",description:"Title of the page displaying referral earnings, indicating that users can earn by inviting others to use the service"},"title.site":{message:"Site Configuration",description:"Title of the page displaying site configuration"},"title.distributionHistory":{message:"Referral History",description:"Title of the page displaying referral history"},"title.invitee":{message:"Invitee",description:"Title of the page displaying invitees"},"title.allUsages":{message:"Usage History",description:"Title of the page displaying all usage records of the API service"},"title.allCredentials":{message:"Credentials",description:"Title of the page displaying all credentials used to access the API"},"about.title1":{message:"Contact Us",description:"Title of the section displaying contact information"},"about.title2":{message:"Resources",description:"Title of the section displaying links"},"about.title3":{message:"Links",description:"Title of the section displaying support information"},"about.address":{message:"Office 201, N Broad St, Middletown, DE, USA",description:"Company's address"},"about.email":{message:"office@acedata.cloud",description:"Company's email"},"about.link1":{message:"Services",description:"Link to the services page"},"about.link2":{message:"Documentation",description:"Link to the documentation page"},"about.link3":{message:"Console",description:"Link to the console page"},"about.link4":{message:"Profile",description:"Link to the profile page"},"about.link5":{message:"Center",description:"Link to the center page"},"about.link6":{message:"Referral Earnings",description:"Link to the referral earnings page"},"about.link7":{message:"Support",description:"Link to the support page"},"about.link8":{message:"Terms of Service",description:"Link to the terms of service page"},"about.link9":{message:"Privacy Policy",description:"Link to the privacy policy page"},"theme.light":{message:"Light",description:"Name of the light theme"},"theme.dark":{message:"Dark",description:"Name of the dark theme"},"theme.system":{message:"System",description:"Name of the system theme, indicating automatic switching based on system settings"},"settings.general":{message:"General Settings",description:"Title of the general settings section in the settings page"},"settings.language":{message:"Language",description:"Title of the language settings section in the settings page"},"settings.theme":{message:"Theme",description:"Title of the theme settings section in the settings page"},"settings.seo":{message:"SEO Settings",description:"Title of the SEO settings section in the settings page"},"settings.site":{message:"Site Settings",description:"Title of the site settings section in the settings page"},"settings.distribution":{message:"Distribution Settings",description:"Title of the distribution settings section in the settings page"},"settings.function":{message:"Feature Settings",description:"Title of the feature settings section in the settings page"}};export{e as default};
|