@acedatacloud/nexior 2.18.5 → 2.18.6
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.6e4a3cd7.js → Auth.4305136a.js} +1 -1
- package/dist/assets/{Callback.a0fd03e1.js → Callback.91ffb8a1.js} +1 -1
- package/dist/assets/{Chatdoc.804604f3.js → Chatdoc.0434e824.js} +1 -1
- package/dist/assets/{Console.083addca.js → Console.75b2c18e.js} +1 -1
- package/dist/assets/{Conversation.c422f3c3.js → Conversation.056ef50d.js} +1 -1
- package/dist/assets/{Conversation.c41450b2.js → Conversation.0859f9a2.js} +1 -1
- package/dist/assets/{CopyToClipboard.e04e20e8.js → CopyToClipboard.ce7e54b9.js} +1 -1
- package/dist/assets/{DarkSelector.ea823b62.js → DarkSelector.5f86e77e.js} +1 -1
- package/dist/assets/{Detail.7ba4dac7.js → Detail.d20aafab.js} +1 -1
- package/dist/assets/{Extra.e226dae2.js → Extra.5e95552c.js} +1 -1
- package/dist/assets/{History.a0d11e11.js → History.acdb7c99.js} +1 -1
- package/dist/assets/{ImageNavigator.b5ddc534.js → ImageNavigator.721ef28d.js} +1 -1
- package/dist/assets/{Index.ed3ab4a7.js → Index.056787b3.js} +1 -1
- package/dist/assets/Index.1a020d15.js +1 -0
- package/dist/assets/{Index.1b4b4a95.js → Index.1da2e8e0.js} +1 -1
- package/dist/assets/{Index.15f97c67.js → Index.21d13f6b.js} +1 -1
- package/dist/assets/{Index.5b479967.js → Index.2bae1d02.js} +1 -1
- package/dist/assets/{Index.6d15e38c.js → Index.447ce93b.js} +1 -1
- package/dist/assets/{Index.8576bc68.js → Index.44eaf7e6.js} +1 -1
- package/dist/assets/{Index.f53a0386.js → Index.529d2259.js} +1 -1
- package/dist/assets/{Index.dc70b9aa.js → Index.63b27b51.js} +1 -1
- package/dist/assets/{Index.cc8bd401.js → Index.6e8b5732.js} +1 -1
- package/dist/assets/{Index.e2f32fc3.js → Index.7d4ca0ea.js} +1 -1
- package/dist/assets/{Index.a9f33dda.js → Index.81635100.js} +1 -1
- package/dist/assets/{Index.3b0d2670.js → Index.95c6d3f3.js} +1 -1
- package/dist/assets/{Index.ff2c40c4.js → Index.9bfacf56.js} +1 -1
- package/dist/assets/{Index.d5741434.js → Index.e9c1193e.js} +1 -1
- package/dist/assets/{InfoIcon.c99ed779.js → InfoIcon.3bd34965.js} +1 -1
- package/dist/assets/{Invitees.dc9c6e70.js → Invitees.0be1c6c3.js} +1 -1
- package/dist/assets/{List.3fc33d01.js → List.0f195103.js} +1 -1
- package/dist/assets/{List.0c946679.js → List.306ddef4.js} +1 -1
- package/dist/assets/{List.98c72b26.js → List.b0b65cdf.js} +1 -1
- package/dist/assets/{Login.dd2fccbc.js → Login.15cee351.js} +1 -1
- package/dist/assets/{Main.9b37e096.js → Main.a6c1c006.js} +1 -1
- package/dist/assets/{Manage.6fe3fa82.js → Manage.c30e1652.js} +1 -1
- package/dist/assets/{MarkdownRenderer.a1f3353e.js → MarkdownRenderer.866621bd.js} +1 -1
- package/dist/assets/{Navigator.a3f36836.js → Navigator.22eb5711.js} +1 -1
- package/dist/assets/{Pagination.694e87ad.js → Pagination.ccd9a480.js} +1 -1
- package/dist/assets/{Setting.fe621dc1.js → Setting.39c154dd.js} +1 -1
- package/dist/assets/{Status.133211aa.js → Status.c3b5f6cd.js} +1 -1
- package/dist/assets/{Subscribe.0a53d021.js → Subscribe.3707af28.js} +1 -1
- package/dist/assets/{VideoNavigator.68ca7839.js → VideoNavigator.e087264a.js} +1 -1
- package/dist/assets/{distribution.8101f77d.js → distribution.e817f3b0.js} +1 -1
- package/dist/assets/{index.209613c8.js → index.a71f3c46.js} +1 -1
- package/dist/assets/{order.2cda8c2f.js → order.18d9ced7.js} +1 -1
- package/dist/assets/{price.b8584ec7.js → price.43dc5e96.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/Index.af551f02.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./vendor-others.179d4404.js";import{M as Q,_ as w,I as G,E as H,a6 as W,F as K}from"./index.
|
|
1
|
+
import"./vendor-others.179d4404.js";import{M as Q,_ as w,I as G,E as H,a6 as W,F as K}from"./index.a71f3c46.js";import{E as q,G as Y,H as J,D as X,Q as Z,l as R,M as C,y as x,A as ee,b as te,C as oe,R as ne,d as ie,f as ae,e as se,S as le,T as pe}from"./vendor-element-plus.f90d6803.js";import{H as A,al as o,o as n,L as _,M as a,f as d,V as s,T as f,U as i,e as r,W as D,ai as L,S as p}from"./vendor-@vue.fc29b169.js";const re="duplication",je="api_error",ze="bad_request",Fe="used_up",Qe="unknown",Ge="canceled",He="timeout",We="content_too_large",Ke="too_many_requests",Ye="not_applied";const ce=A({name:"ApplicationConfirm",components:{ElDialog:q,ElDescriptions:Y,ElDescriptionsItem:J,ElDivider:X,ElCheckbox:Z,ElButton:R},props:{service:{type:Object,required:!0},visible:{type:Boolean,required:!1,default:!1}},emits:["update:visible","apply"],data(){return{checked:!0}},watch:{},methods:{getBaseUrlPlatform:Q,onApply(){if(!this.checked){C.error(this.$t("application.message.notAgreePolicy"));return}this.$emit("apply")}}}),de={class:"content"},ue={class:"policy"},me={class:"policy-title"},_e=["href"];function fe(e,t,y,h,v,O){const u=o("el-descriptions-item"),$=o("el-descriptions"),m=o("el-divider"),b=o("el-checkbox"),l=o("el-button"),E=o("el-dialog");return n(),_(E,{"model-value":e.visible,width:"500px",title:e.$t("application.message.confirmApplying"),center:"",onClose:t[1]||(t[1]=c=>e.$emit("update:visible",!1))},{default:a(()=>[d("div",de,[s($,{column:1},{default:a(()=>[s(u,{label:e.$t("application.field.name")},{default:a(()=>{var c;return[f(i((c=e.service)==null?void 0:c.title),1)]}),_:1},8,["label"]),s(u,{label:e.$t("application.field.freeAmount")},{default:a(()=>{var c,k;return[d("span",null,i((c=e.service)==null?void 0:c.free_amount)+" "+i(e.$t(`service.unit.${(k=e.service)==null?void 0:k.unit}`)),1)]}),_:1},8,["label"])]),_:1}),s(m,{class:"my-2"}),d("div",ue,[s(b,{modelValue:e.checked,"onUpdate:modelValue":t[0]||(t[0]=c=>e.checked=c),size:"large",class:"policy-checkbox"},null,8,["modelValue"]),d("span",me,i(e.$t("application.message.readPolicy")),1),d("a",{class:"policy-title highlight",target:"_blank",href:e.getBaseUrlPlatform()+"/terms"}," \xA0"+i(e.$t("application.message.policy")),9,_e)]),s(l,{round:"",type:"primary",onClick:e.onApply},{default:a(()=>[f(i(e.$t("common.button.apply")),1)]),_:1},8,["onClick"])])]),_:1},8,["model-value","title"])}var ye=w(ce,[["render",fe],["__scopeId","data-v-666cd2fe"],["__file","/home/runner/work/Nexior/Nexior/src/components/application/Confirm.vue"]]);const he=A({name:"ApiPrice",components:{ElTable:x,ElTableColumn:ee,ElDialog:q,ElButton:R},props:{price:{type:Object,required:!0}},data(){return{visible:!1}},computed:{data(){var e;return((e=this.price)==null?void 0:e.data)||[]},columns(){var e;return(e=this.price)==null?void 0:e.columns},spans(){var e;return(e=this.price)==null?void 0:e.spans}},methods:{cellStyle(){return{"font-weight":"bold","text-align":"center"}},spanMethod({row:e,column:t,rowIndex:y,columnIndex:h}){if(this.spans){for(const v of this.spans)if(y===v[0]&&h===v[1])return[v[2],v[3]]}return[1,1]}}});function ve(e,t,y,h,v,O){const u=o("el-table-column"),$=o("el-table"),m=o("el-dialog"),b=o("el-button");return n(),r("div",null,[s(m,{modelValue:e.visible,"onUpdate:modelValue":t[0]||(t[0]=l=>e.visible=l),center:"",width:"80%"},{default:a(()=>[s($,{data:e.data,stripe:"","span-method":e.spanMethod,"header-cell-style":e.cellStyle,"cell-style":e.cellStyle},{default:a(()=>[(n(!0),r(D,null,L(e.columns,(l,E)=>(n(),_(u,{key:E,prop:l.key,label:l.label},null,8,["prop","label"]))),128))]),_:1},8,["data","span-method","header-cell-style","cell-style"])]),_:1},8,["modelValue"]),s(b,{round:"",size:"small",onClick:t[1]||(t[1]=l=>e.visible=!0)},{default:a(()=>[f(i(e.$t("service.button.pricing")),1)]),_:1})])}var $e=w(he,[["render",ve],["__scopeId","data-v-4600b314"],["__file","/home/runner/work/Nexior/Nexior/src/components/api/Price.vue"]]);const be=A({name:"ApplicationInfo",components:{ElTag:te},props:{application:{type:Object,required:!0},showType:{type:Boolean,default:!1},showId:{type:Boolean,default:!1}}}),ge={key:0,class:"info"},Ee={key:1,class:"subtitle"},ke={key:1,type:"success",class:"info",effect:"dark"},we={key:1,class:"subtitle"};function Ae(e,t,y,h,v,O){var $,m,b,l;const u=o("el-tag");return n(),r(D,null,[e.application.type==="Period"?(n(),r("span",ge,[e.showType?(n(),_(u,{key:0,type:"primary",class:"mr-1",effect:"dark"},{default:a(()=>[f(i(e.$t("application.type.period")),1)]),_:1})):p("v-if",!0),f(" "+i(e.$t("common.message.expiredAt"))+": "+i(e.$dayjs.format(e.application.expired_at))+" ",1),e.showId?(n(),r("p",Ee,"ID: "+i(e.application.id),1)):p("v-if",!0)])):p("v-if",!0),e.application.type==="Usage"?(n(),r("span",ke,[e.showType?(n(),_(u,{key:0,class:"mr-1"},{default:a(()=>[f(i(e.$t("application.type.usage")),1)]),_:1})):p("v-if",!0),f(" "+i(e.$t("common.message.remainingAmount"))+": "+i((m=($=e.application)==null?void 0:$.remaining_amount)==null?void 0:m.toFixed(6))+" "+i(e.$t("service.unit."+((l=(b=e.application)==null?void 0:b.service)==null?void 0:l.unit)+"s"))+" ",1),e.showId?(n(),r("p",we,"ID: "+i(e.application.id),1)):p("v-if",!0)])):p("v-if",!0)],64)}var Oe=w(be,[["render",Ae],["__scopeId","data-v-7ffaebbd"],["__file","/home/runner/work/Nexior/Nexior/src/components/application/Info.vue"]]);const Ce=A({name:"ApplicationStatus",components:{ElButton:R,ApplicationInfo:Oe,ApplicationConfirm:ye,ElSkeleton:oe,ElSkeletonItem:ne,ApiPrice:$e,ElDropdown:ie,ElDropdownMenu:ae,ElDropdownItem:se,ArrowDown:le,ElIcon:pe},props:{application:{type:Object,required:!0},applications:{type:Array,default:void 0},initializing:{type:Boolean,default:!1},showPrice:{type:Boolean,default:!0},service:{type:Object,required:!0},needApply:{type:Boolean,default:!1}},emits:["apply","refresh","applied","update:application","select"],data(){return{confirming:this.needApply,applicationType:G}},computed:{authenticated(){return!!this.$store.state.token.access},user(){return this.$store.state.user}},watch:{needApply(e){e&&(this.confirming=e)}},methods:{onBuyMore(e){this.$router.push({name:H,params:{id:e.id}})},onCreateCredential(e){W.create({application_id:e==null?void 0:e.id,host:window.location.origin}).then(()=>{setTimeout(()=>{this.$emit("refresh")},2e3),this.confirming=!1}).finally(()=>{this.$emit("applied")})},onSelectApplication(e){this.$emit("select",e)},onApply(){var e;K.create({service_id:(e=this.service)==null?void 0:e.id}).then(({data:t})=>{C.success(this.$t("application.message.applySuccessfully")),this.onCreateCredential(t)}).catch(t=>{var y,h;((h=(y=t==null?void 0:t.response)==null?void 0:y.data)==null?void 0:h.code)===re&&C.error(this.$t("application.message.alreadyApplied")),this.confirming=!1})}}}),Re={class:"element"},De={key:0},Ie={key:1,class:"status"},Te={class:"el-dropdown-link"},Ne={class:"actions"},Se={key:2,class:"text-center info"},Be={class:"mr-2"},Pe={class:"ml-1"};function Ue(e,t,y,h,v,O){var T,N,S,B,P,U,V,M;const u=o("el-skeleton-item"),$=o("el-skeleton"),m=o("application-info"),b=o("arrow-down"),l=o("el-icon"),E=o("el-dropdown-item"),c=o("el-dropdown-menu"),k=o("el-dropdown"),I=o("el-button"),j=o("api-price"),z=o("application-confirm");return n(),r("div",Re,[e.initializing&&e.application===void 0?(n(),r("div",De,[s($,{rows:1,class:"text-center"},{template:a(()=>[s(u,{variant:"p",class:"shimmer"})]),_:1})])):e.application?(n(),r("div",Ie,[s(k,{onCommand:e.onSelectApplication},{dropdown:a(()=>[e.applications&&e.applications.length>0?(n(),_(c,{key:0},{default:a(()=>[(n(!0),r(D,null,L(e.applications,(g,F)=>(n(),_(E,{key:F,command:g},{default:a(()=>[s(m,{application:g,"show-type":!0,"show-id":!0},null,8,["application"])]),_:2},1032,["command"]))),128))]),_:1})):p("v-if",!0)]),default:a(()=>[d("span",Te,[s(m,{application:e.application},null,8,["application"]),e.applications&&e.applications.length>0?(n(),_(l,{key:0,class:"el-icon--right ml-0"},{default:a(()=>[s(b)]),_:1})):p("v-if",!0)])]),_:1},8,["onCommand"]),d("span",Ne,[s(I,{round:"",size:"small",type:"primary",class:"mr-1",onClick:t[0]||(t[0]=g=>e.onBuyMore(e.application))},{default:a(()=>[f(i(e.$t("common.button.buyMore")),1)]),_:1}),e.showPrice&&((B=(S=(N=(T=e.application)==null?void 0:T.service)==null?void 0:N.apis)==null?void 0:S[0])==null?void 0:B.price)?(n(),_(j,{key:0,class:"price inline-block",price:(M=(V=(U=(P=e.application)==null?void 0:P.service)==null?void 0:U.apis)==null?void 0:V[0])==null?void 0:M.price},null,8,["price"])):p("v-if",!0)])])):p("v-if",!0),e.needApply&&e.service?(n(),r("div",Se,[d("span",Be,i(e.$t("chat.message.notApplied")),1),d("span",null,[s(I,{round:"",type:"primary",class:"btn btn-apply",size:"small",onClick:t[1]||(t[1]=g=>e.confirming=!0)},{default:a(()=>[f(i(e.$t("common.button.apply")),1)]),_:1})]),d("span",Pe,i(e.$t("chat.message.tryForFree")),1),e.service&&e.authenticated?(n(),_(z,{key:0,modelValue:e.confirming,"onUpdate:modelValue":t[2]||(t[2]=g=>e.confirming=g),modelModifiers:{visible:!0},service:e.service,onApply:e.onApply},null,8,["modelValue","service","onApply"])):p("v-if",!0)])):p("v-if",!0)])}var Je=w(Ce,[["render",Ue],["__scopeId","data-v-2941d97e"],["__file","/home/runner/work/Nexior/Nexior/src/components/application/Status.vue"]]);export{Je as A,Qe as E,Ge as a,Ye as b,We as c,Ke as d,He as e,ze as f,je as g,Fe as h,re as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./vendor-others.179d4404.js";import{I as D}from"./api.f60246f3.js";import{_ as L,I as $,H as A,F as k,J as M,G as V}from"./index.
|
|
1
|
+
import"./vendor-others.179d4404.js";import{I as D}from"./api.f60246f3.js";import{_ as L,I as $,H as A,F as k,J as M,G as V}from"./index.a71f3c46.js";import{o as W}from"./order.18d9ced7.js";import{g as x}from"./price.43dc5e96.js";import{aq as H}from"./vendor-fortawesome.3e228e5c.js";import{C as K,i as U,b as z,h as q,r as G,l as J,M as S}from"./vendor-element-plus.f90d6803.js";import{H as Q,al as f,L as m,M as o,o as c,V as l,f as d,U as p,e as _,ai as T,Q as X,T as b,S as N,W as P}from"./vendor-@vue.fc29b169.js";import"./vendor-axios.168e6950.js";import"./vendor-qrcode.8db51d62.js";const Y=Q({name:"ConsoleSubscriptionBuy",components:{ElSkeleton:K,ElRow:U,ElTag:z,ElCol:q,ElCard:G,FontAwesomeIcon:H,ElButton:J},data(){return{application:void 0,application2:void 0,type:$.PERIOD,services:[],loading:!1,creating:!1,subscription:void 0}},computed:{site(){return this.$store.getters.site},applicationId(){var e,t;return(t=(e=this.$route.params)==null?void 0:e.id)==null?void 0:t.toString()},subscriptions(){var t,r,h,u;const e=[{name:"WEEK",label:this.$t("console.subscription.weekly"),description:this.$t("console.subscription.weekly.description"),duration:604800},{name:"MONTH",label:this.$t("console.subscription.monthly"),description:this.$t("console.subscription.monthly.description"),duration:2592e3},{name:"YEAR",tag:this.$t("console.button.suggested"),label:this.$t("console.subscription.yearly"),description:this.$t("console.subscription.yearly.description"),duration:31536e3}];for(const i of e){console.log("item",i);const a=this.getPackages(i.duration);console.log("pkgs",a),a&&(i.price=a.reduce((s,g)=>s+g.price,0));for(const s of a)i.benefits||(i.benefits=[]),i.benefits.push({enabled:!0,content:`${(t=s==null?void 0:s.service)==null?void 0:t.title} - ${s.amount} `+this.$t("service.unit."+((r=s==null?void 0:s.service)==null?void 0:r.unit)+"s")});(h=i.benefits)==null||h.push({enabled:i.name!=="WEEK",content:this.$t("console.message.benefit1")}),(u=i.benefits)==null||u.push({enabled:i.name!=="WEEK",content:this.$t("console.message.benefit2")})}return e},service(){var e;return(e=this.application)==null?void 0:e.service},serviceIds(){return!this.application||!this.application.service?[]:[this.application.service.id]}},async mounted(){this.loading=!0,await this.onFetchApplication(),await this.onFetchApplication2(),await this.onCreateApplications(),this.loading=!1,this.subscription=this.subscriptions[2]},methods:{getPriceString:x,onBuyExtra(){this.$router.push({name:A,params:{id:this.applicationId}})},getPackages(e){let t=[];if(!this.service)return[];const h=[this.service].sort((u,i)=>this.serviceIds.indexOf(u.id)-this.serviceIds.indexOf(i.id));for(const u of h){const i=u.packages,a=i==null?void 0:i.find(s=>s.type===D.PERIOD&&s.duration===e);a&&t.push({...a,service:u})}return t},async onCreateApplications(){var t,r;const e=[];if(this.application2||e.push((r=(t=this.application)==null?void 0:t.service)==null?void 0:r.id),e.length>0){for(const h of e)await k.create({service_id:h,type:$.PERIOD});await this.onFetchApplication2()}},onChangeType(){console.log("onChangeType",this.type),this.$router.push({name:A,params:this.$route.params})},async onFetchServices(){const{data:e}=await M.getAll({id:this.serviceIds});this.services=e.items,console.debug("services",this.services)},async onFetchApplication(){const{data:e}=await k.get(this.applicationId);this.application=e,console.debug("application",this.application)},async onFetchApplication2(){var t;const{data:e}=await k.getAll({limit:100,offset:0,user_id:this.$store.getters.user.id,ordering:"-created_at",service_id:this.serviceIds,type:$.PERIOD});this.application2=(t=e.items)==null?void 0:t[0],console.debug("application2",this.application2)},onCreateOrder(e){var t;if(this.subscription=e,this.creating=!0,!this.application2||!this.application2.id){S.error(this.$t("console.message.applicationNotFound")),this.creating=!1;return}W.create({application_ids:[this.application2.id],package_ids:this.getPackages(e.duration).map(r=>r.id),description:((t=this.service)==null?void 0:t.title)+" - "+e.label}).then(({data:r})=>{this.creating=!1,this.$router.push({name:V,params:{id:r.id}})}).catch(()=>{S.error(this.$t("order.message.createFailed")),this.creating=!1})}}}),j={class:"title"},Z={class:"introduction"},ee={class:"name"},te={class:"price"},se={class:"description"},ie={class:"benefits"},oe={class:"operations"},ae={key:2,class:"extra"};function ne(e,t,r,h,u,i){const a=f("el-col"),s=f("el-row"),g=f("el-skeleton"),F=f("el-tag"),E=f("font-awesome-icon"),C=f("el-button"),I=f("el-card");return c(),m(s,{class:"panel"},{default:o(()=>[l(a,{span:24},{default:o(()=>[l(s,null,{default:o(()=>[l(a,{span:24},{default:o(()=>[d("h2",j,p(e.$t("common.title.buyMore")),1)]),_:1})]),_:1}),l(s,null,{default:o(()=>[l(a,{span:24},{default:o(()=>[l(I,{shadow:"hover",class:"card"},{default:o(()=>[l(s,null,{default:o(()=>[l(a,{span:16,offset:4},{default:o(()=>[d("p",Z,p(e.$t("console.subscription.title")),1),e.loading?(c(),m(g,{key:0})):(c(),m(s,{key:1,gutter:15,class:"subscriptions"},{default:o(()=>[(c(!0),_(P,null,T(e.subscriptions,(n,R)=>{var w;return c(),m(a,{key:R,xs:24,md:24/(((w=e.subscriptions)==null?void 0:w.length)||4)},{default:o(()=>{var O;return[l(I,{shadow:"hover",class:X({subscription:!0,active:((O=e.subscription)==null?void 0:O.name)===n.name}),onClick:v=>e.subscription=n},{default:o(()=>{var v;return[d("h4",ee,[b(p(n.label)+" ",1),n.tag?(c(),m(F,{key:0,type:"warning"},{default:o(()=>[b(p(n.tag),1)]),_:2},1024)):N("v-if",!0)]),d("h2",te,p(e.getPriceString({value:n.price})),1),d("p",se,p(n.description),1),d("div",ie,[(c(!0),_(P,null,T(n.benefits,(y,B)=>(c(),_("div",{key:B,class:"benefit"},[y.enabled?(c(),m(E,{key:0,icon:"fa-solid fa-check",class:"icon icon-check"})):(c(),m(E,{key:1,icon:"fa-solid fa-xmark",class:"icon icon-xmark"})),d("span",null,p(y.content),1)]))),128))]),d("div",oe,[l(C,{class:"btn btn-subscribe",type:((v=e.subscription)==null?void 0:v.name)===(n==null?void 0:n.name)?"primary":"",round:"",onClick:y=>e.onCreateOrder(n)},{default:o(()=>[b(p(e.$t("common.button.buy")),1)]),_:2},1032,["type","onClick"])])]}),_:2},1032,["class","onClick"])]}),_:2},1032,["md"])}),128))]),_:1})),e.loading?N("v-if",!0):(c(),_("div",ae,[d("span",null,p(e.$t("console.message.doNotWantSubscribe")),1),l(C,{type:"primary",class:"btn btn-extra",round:"",size:"small",onClick:e.onBuyExtra},{default:o(()=>[b(p(e.$t("console.message.buyExtra")),1)]),_:1},8,["onClick"])]))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}var be=L(Y,[["render",ne],["__scopeId","data-v-56303b1f"],["__file","/home/runner/work/Nexior/Nexior/src/pages/console/application/Subscribe.vue"]]);export{be as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./vendor-others.179d4404.js";import{_ as V}from"./index.
|
|
1
|
+
import"./vendor-others.179d4404.js";import{_ as V}from"./index.a71f3c46.js";import{j as b,k as M}from"./vendor-element-plus.f90d6803.js";import{H as w,al as N,o as t,L as n,M as a,T as r,U as u,S as s}from"./vendor-@vue.fc29b169.js";const B=w({name:"VideoNavigator",components:{ElMenu:b,ElMenuItem:M},computed:{site(){return this.$store.state.site},active(){return console.log(this.$route.path),this.$route.path}}});function E(e,o,I,S,T,j){const i=N("el-menu-item"),y=N("el-menu");return t(),n(y,{mode:"horizontal","default-active":e.active},{default:a(()=>{var m,d,p,v,f,k,$,_,g,h,c,C;return[(p=(d=(m=e.site)==null?void 0:m.features)==null?void 0:d.luma)!=null&&p.enabled?(t(),n(i,{key:0,index:"/luma",onClick:o[0]||(o[0]=l=>e.$router.push("/luma"))},{default:a(()=>[r(u(e.$t("common.nav.luma")),1)]),_:1})):s("v-if",!0),(k=(f=(v=e.site)==null?void 0:v.features)==null?void 0:f.pika)!=null&&k.enabled?(t(),n(i,{key:1,index:"/pika",onClick:o[1]||(o[1]=l=>e.$router.push("/pika"))},{default:a(()=>[r(u(e.$t("common.nav.pika")),1)]),_:1})):s("v-if",!0),(g=(_=($=e.site)==null?void 0:$.features)==null?void 0:_.hailuo)!=null&&g.enabled?(t(),n(i,{key:2,index:"/hailuo",onClick:o[2]||(o[2]=l=>e.$router.push("/hailuo"))},{default:a(()=>[r(u(e.$t("common.nav.hailuo")),1)]),_:1})):s("v-if",!0),(C=(c=(h=e.site)==null?void 0:h.features)==null?void 0:c.kling)!=null&&C.enabled?(t(),n(i,{key:3,index:"/kling",onClick:o[3]||(o[3]=l=>e.$router.push("/kling"))},{default:a(()=>[r(u(e.$t("common.nav.kling")),1)]),_:1})):s("v-if",!0)]}),_:1},8,["default-active"])}var U=V(B,[["render",E],["__scopeId","data-v-47fd0d00"],["__file","/home/runner/work/Nexior/Nexior/src/components/common/VideoNavigator.vue"]]);export{U as V};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a=Object.defineProperty;var n=(i,t,s)=>t in i?a(i,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[t]=s;var e=(i,t,s)=>(n(i,typeof t!="symbol"?t+"":t,s),s);import{B as r}from"./index.
|
|
1
|
+
var a=Object.defineProperty;var n=(i,t,s)=>t in i?a(i,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[t]=s;var e=(i,t,s)=>(n(i,typeof t!="symbol"?t+"":t,s),s);import{B as r}from"./index.a71f3c46.js";class o{constructor(){e(this,"key","distribution-histories")}async getAll(t){return await r.get(`/${this.key}/`,{params:t})}}const b=new o;class l{constructor(){e(this,"key","distribution-statuses")}async getAll(t){return await r.get(`/${this.key}/`,{params:t})}async initialize(){return await r.post(`/${this.key}/initialize/`)}}const h=new l;class c{constructor(){e(this,"key","distribution-levels")}async getAll(t){return await r.get(`/${this.key}/`,{params:t})}}const k=new c;class u{constructor(){e(this,"key","shorturl")}async create(t){return await r.post(`/${this.key}`,{content:t})}}const w=new u;export{k as a,b,h as d,w as s};
|