@acedatacloud/nexior 3.9.0 → 3.9.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.
Files changed (58) hide show
  1. package/dist/assets/{Auth.5f70d0fb.js → Auth.b7a99f2b.js} +1 -1
  2. package/dist/assets/{Callback.a5a28111.js → Callback.61010670.js} +1 -1
  3. package/dist/assets/{Console.5c756b88.css → Console.c5a5dbc8.css} +1 -1
  4. package/dist/assets/{Console.25834b01.js → Console.daf310f1.js} +1 -1
  5. package/dist/assets/{Conversation.b89cf18b.js → Conversation.8c12b339.js} +1 -1
  6. package/dist/assets/{CopyToClipboard.ce08ef84.js → CopyToClipboard.2bd47880.js} +1 -1
  7. package/dist/assets/{Detail.c6180471.css → Detail.98c6a517.css} +1 -1
  8. package/dist/assets/{Detail.c4f1cb7b.js → Detail.c7d74c2c.js} +1 -1
  9. package/dist/assets/{EditArray.d3af1fd9.js → EditArray.84dcde4d.js} +1 -1
  10. package/dist/assets/{Extra.8ae37a97.css → Extra.bbb29fc7.css} +1 -1
  11. package/dist/assets/{Extra.995d4482.js → Extra.dd94961e.js} +1 -1
  12. package/dist/assets/{FilePreview.27b33413.js → FilePreview.dc669922.js} +1 -1
  13. package/dist/assets/{History.9fc30c32.css → History.13351b79.css} +1 -1
  14. package/dist/assets/{History.a48da047.js → History.7f4a3661.js} +1 -1
  15. package/dist/assets/{ImagePreview.0f3e285b.js → ImagePreview.61c59dc0.js} +1 -1
  16. package/dist/assets/{ImageWrapper.a9f80951.js → ImageWrapper.cdf360d6.js} +1 -1
  17. package/dist/assets/{Index.29dce7ca.js → Index.035b53bc.js} +1 -1
  18. package/dist/assets/{Index.77ee5ea4.js → Index.16e1d77b.js} +1 -1
  19. package/dist/assets/{Index.73ed3f5c.js → Index.2bc25c40.js} +1 -1
  20. package/dist/assets/{Index.97f906e5.js → Index.379b7da4.js} +1 -1
  21. package/dist/assets/{Index.0a5116c5.js → Index.43806c70.js} +1 -1
  22. package/dist/assets/{Index.11ff18b0.js → Index.4d2caf51.js} +1 -1
  23. package/dist/assets/{Index.c64f7cce.js → Index.50d007fc.js} +1 -1
  24. package/dist/assets/{Index.a8112020.css → Index.5e60c1f9.css} +1 -1
  25. package/dist/assets/{Index.9b2907d3.js → Index.c207bae0.js} +1 -1
  26. package/dist/assets/{Index.83d1fc49.js → Index.c56e43a2.js} +1 -1
  27. package/dist/assets/{Index.c3ff5d54.js → Index.ce4b30a9.js} +1 -1
  28. package/dist/assets/{Index.eb472259.js → Index.d3d0b0b9.js} +1 -1
  29. package/dist/assets/{Index.662accc7.js → Index.dad003eb.js} +1 -1
  30. package/dist/assets/{InfoIcon.0f631732.js → InfoIcon.d7af8081.js} +1 -1
  31. package/dist/assets/{Invitees.0568a6f7.css → Invitees.3226fb22.css} +1 -1
  32. package/dist/assets/{Invitees.cd5edbbd.js → Invitees.44fdc7c0.js} +1 -1
  33. package/dist/assets/{List.a0985939.js → List.2ba9f680.js} +1 -1
  34. package/dist/assets/{List.4f190a76.js → List.4c319fb5.js} +1 -1
  35. package/dist/assets/{List.f8805050.css → List.7a35b0d1.css} +1 -1
  36. package/dist/assets/{List.6e2820e9.css → List.9bf4db0e.css} +1 -1
  37. package/dist/assets/{List.871e3346.js → List.b3c9ba59.js} +1 -1
  38. package/dist/assets/{List.b9ed2f01.css → List.d51988d3.css} +1 -1
  39. package/dist/assets/{Login.cf1e2c9f.js → Login.cb5bec07.js} +1 -1
  40. package/dist/assets/Main.a7e550c3.js +1 -0
  41. package/dist/assets/{Navigator.7660cf6c.js → Navigator.0a582246.js} +1 -1
  42. package/dist/assets/{NoTasks.c2526f0d.js → NoTasks.a8c6fc1d.js} +1 -1
  43. package/dist/assets/{Pagination.f081ac36.js → Pagination.1d64e8f6.js} +1 -1
  44. package/dist/assets/Status.43b4c3d7.js +1 -0
  45. package/dist/assets/Status.4e21b43a.css +1 -0
  46. package/dist/assets/{Subscribe.084d37fc.js → Subscribe.019d1202.js} +1 -1
  47. package/dist/assets/{Subscribe.7bc86667.css → Subscribe.e024d864.css} +1 -1
  48. package/dist/assets/{VideoPlayer.d6031edf.js → VideoPlayer.bcff1065.js} +1 -1
  49. package/dist/assets/{application.43d051ef.js → application.1c376fb1.js} +1 -1
  50. package/dist/assets/{distribution.8d24ff47.js → distribution.7e66d80f.js} +1 -1
  51. package/dist/assets/{index.c37a6f29.js → index.f5a81d59.js} +2 -2
  52. package/dist/assets/{order.4b244663.js → order.8669fbf9.js} +1 -1
  53. package/dist/assets/{price.c86f0258.js → price.e9aa5d45.js} +1 -1
  54. package/dist/index.html +1 -1
  55. package/package.json +1 -1
  56. package/dist/assets/Main.769c1fba.js +0 -1
  57. package/dist/assets/Status.bdb63467.css +0 -1
  58. package/dist/assets/Status.fd3db68d.js +0 -1
@@ -1 +1 @@
1
- var i=Object.defineProperty;var n=(r,t,e)=>t in r?i(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var s=(r,t,e)=>(n(r,typeof t!="symbol"?t+"":t,e),e);import{E as a}from"./index.c37a6f29.js";class y{constructor(){s(this,"key","orders")}async getAll(t){return await a.get(`/${this.key}/`,{params:t})}async get(t){return await a.get(`/${this.key}/${t}`)}async create(t){return await a.post(`/${this.key}/`,t)}async update(t,e){return await a.put(`/${this.key}/${t}`,e)}async refresh(t){return await a.post(`/${this.key}/${t}/refresh/`)}async pay(t,e){return await a.post(`/${this.key}/${t}/pay/`,e)}async updatePrice(t,e){return await a.post(`/${this.key}/${t}/update-price/`,e)}async finish(t){return await a.post(`/${this.key}/${t}/finish/`)}async delete(t){return await a.delete(`/${this.key}/${t}`)}}const c=new y;export{c as o};
1
+ var i=Object.defineProperty;var n=(r,t,e)=>t in r?i(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var s=(r,t,e)=>(n(r,typeof t!="symbol"?t+"":t,e),e);import{E as a}from"./index.f5a81d59.js";class y{constructor(){s(this,"key","orders")}async getAll(t){return await a.get(`/${this.key}/`,{params:t})}async get(t){return await a.get(`/${this.key}/${t}`)}async create(t){return await a.post(`/${this.key}/`,t)}async update(t,e){return await a.put(`/${this.key}/${t}`,e)}async refresh(t){return await a.post(`/${this.key}/${t}/refresh/`)}async pay(t,e){return await a.post(`/${this.key}/${t}/pay/`,e)}async updatePrice(t,e){return await a.post(`/${this.key}/${t}/update-price/`,e)}async finish(t){return await a.post(`/${this.key}/${t}/finish/`)}async delete(t){return await a.delete(`/${this.key}/${t}`)}}const c=new y;export{c as o};
@@ -1 +1 @@
1
- import{F as a,G as i}from"./index.c37a6f29.js";const l=o=>{const e=a.state.exchange;let{value:t,currency:r=a.state.currency||"usd"}=o;const c=i[r];if(!e)return{value:t,currency:r,label:c};const n=`usd-${r}`,s=e[n];return s&&(t=t*s),console.log("new price",{value:t,currency:r}),{value:t,currency:r,label:c}},g=o=>{var n;let{value:e,defaultValue:t,fractionDigits:r=2}=o;if(e===void 0&&(e=t),e===void 0)return"";const c=l({value:e});return`${c.label}${(n=c.value)==null?void 0:n.toFixed(r)}`};export{g};
1
+ import{F as a,G as i}from"./index.f5a81d59.js";const l=o=>{const e=a.state.exchange;let{value:t,currency:r=a.state.currency||"usd"}=o;const c=i[r];if(!e)return{value:t,currency:r,label:c};const n=`usd-${r}`,s=e[n];return s&&(t=t*s),console.log("new price",{value:t,currency:r}),{value:t,currency:r,label:c}},g=o=>{var n;let{value:e,defaultValue:t,fractionDigits:r=2}=o;if(e===void 0&&(e=t),e===void 0)return"";const c=l({value:e});return`${c.label}${(n=c.value)==null?void 0:n.toFixed(r)}`};export{g};
package/dist/index.html CHANGED
@@ -16,7 +16,7 @@
16
16
  s.parentNode.insertBefore(hm, s);
17
17
  })();
18
18
  </script>
19
- <script type="module" crossorigin src="/assets/index.c37a6f29.js"></script>
19
+ <script type="module" crossorigin src="/assets/index.f5a81d59.js"></script>
20
20
  <link rel="modulepreload" href="/assets/vendor-@vue.ddcf0365.js">
21
21
  <link rel="modulepreload" href="/assets/vendor-element-plus.e3d8a038.js">
22
22
  <link rel="modulepreload" href="/assets/vendor-markdown.0185da35.js">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acedatacloud/nexior",
3
- "version": "3.9.0",
3
+ "version": "3.9.1",
4
4
  "author": "Ace Data Cloud <office@acedata.cloud>",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +0,0 @@
1
- import"./vendor-others.c752dc81.js";import{N as w}from"./Navigator.7660cf6c.js";import{A as E}from"./Status.fd3db68d.js";import{N as c,I as u,D as I,_ as $,O as k,J as C,P as D}from"./index.c37a6f29.js";import{E as U,l as V,P as L,u as P,y}from"./vendor-element-plus.e3d8a038.js";import{H as A,al as a,o as b,L as N,M as v,f as m,V as p,T as _,S as B,e as O,R as S}from"./vendor-@vue.ddcf0365.js";import"./vendor-markdown.0185da35.js";import"./vendor-fortawesome.2b4acb38.js";import"./EditArray.d3af1fd9.js";import"./CopyToClipboard.ce08ef84.js";import"./vendor-axios.168e6950.js";import"./vendor-qrcode.b1bdae55.js";function x(e){if(!(e!=null&&e.expired_at))return!1;try{return new Date(e==null?void 0:e.expired_at)<new Date}catch{return!1}}function M(e){return console.debug("application remaining amount",e,e==null?void 0:e.remaining_amount),(e==null?void 0:e.remaining_amount)&&(e==null?void 0:e.remaining_amount)<0}function d(e){if(!e)return console.debug("application is undefined, return false"),!1;const t=M(e),s=x(e);return console.debug("is application exhausted",t),console.debug("is application expired",s),!t&&!s}function R(e,t){if(console.debug("start to execute getFinalApplication",e,t),t&&d(t)&&(e==null?void 0:e.some(o=>o.id===t.id)))return console.debug("current application is usable",t),t;console.debug("get final application from applications",e);const s=e==null?void 0:e.find(o=>o.scope===c.GLOBAL&&o.type===u.PERIOD);if(console.debug("application1",s),d(s))return console.debug("application with global scope and Period type",s),s;const i=e==null?void 0:e.find(o=>o.scope===c.GLOBAL&&o.type===u.USAGE);if(console.debug("application2",i),d(i))return console.debug("application with global scope and Usage type",i),i;const n=e==null?void 0:e.find(o=>(o.scope===c.INDIVIDUAL&&(o==null?void 0:o.type))===u.PERIOD);if(console.debug("application3",n),d(n))return console.debug("application with Period type",n),n;const r=e==null?void 0:e.find(o=>(o.scope===c.INDIVIDUAL&&(o==null?void 0:o.type))===u.USAGE);if(console.debug("application4",r),d(r))return console.debug("application with Usage type",r),r}const z=A({name:"ApplicationConfirm",components:{ElDialog:U,ElDivider:V,ElCheckbox:L,ElButton:P},props:{visible:{type:Boolean,required:!1,default:!1}},emits:["update:visible","apply"],data(){return{checked:!0}},watch:{},methods:{getBaseUrlPlatform:I,onApply(){if(!this.checked){y.error(this.$t("application.message.notAgreePolicy"));return}this.$emit("apply")}}}),G={class:"content"},F={class:"policy"},T={class:"policy-title"},q=["href"];function W(e,t,s,i,n,r){const o=a("el-divider"),h=a("el-checkbox"),g=a("el-button"),f=a("el-dialog");return b(),N(f,{"model-value":e.visible,width:"500px",title:e.$t("application.message.confirmApplying"),center:"",onClose:t[1]||(t[1]=l=>e.$emit("update:visible",!1))},{default:v(()=>[m("div",G,[p(o,{class:"my-2"}),m("div",F,[p(h,{modelValue:e.checked,"onUpdate:modelValue":t[0]||(t[0]=l=>e.checked=l),size:"large",class:"policy-checkbox"},null,8,["modelValue"]),m("span",T,_(e.$t("application.message.readPolicy")),1),m("a",{class:"policy-title highlight",target:"_blank",href:e.getBaseUrlPlatform()+"/terms"}," \xA0"+_(e.$t("application.message.policy")),9,q)]),p(g,{round:"",type:"primary",onClick:e.onApply},{default:v(()=>[B(_(e.$t("common.button.apply")),1)]),_:1},8,["onClick"])])]),_:1},8,["model-value","title"])}var H=$(z,[["render",W],["__scopeId","data-v-666cd2fe"],["__file","/home/runner/work/Nexior/Nexior/src/components/application/Confirm.vue"]]);const J=A({name:"LayoutMain",components:{Navigator:w,ApplicationStatus:E,ApplicationConfirm:H},data(){return{applying:!1,mobile:window.innerWidth<768}},computed:{appName(){return this.$route.meta.appName},application(){var e;return(e=this.$store.state[this.appName])==null?void 0:e.application},applications(){var s,i,n;const e=(i=(s=this.$store.state[this.appName])==null?void 0:s.applications)!=null?i:[];console.debug("individualApplications",e);const t=(n=this.$store.state.applications)!=null?n:[];return console.debug("globalApplications",t),t.concat(e)},loading(){var e,t;return((t=(e=this.$store.state[this.appName])==null?void 0:e.status)==null?void 0:t.getApplications)===k.Request},service(){var e;return(e=this.$store.state[this.appName])==null?void 0:e.service}},watch:{appName(){this.onInitialize()}},mounted(){this.onInitialize(),window.addEventListener("resize",()=>{this.mobile=window.innerWidth<768})},methods:{async onInitialize(){console.debug("Fetching all individual and global applications for",this.appName),Promise.all([this.$store.dispatch("getApplications"),this.$store.dispatch(`${this.appName}/getApplications`)]).finally(()=>{var s,i;console.debug("Fetched all applications",this.applications),((s=this.$store.state.applications)==null?void 0:s.length)===0&&(this.applying=!0);const e=(i=this.$store.state[this.appName])==null?void 0:i.application;console.debug("current application",e);const t=R(this.applications,e);console.debug("final application",t),t&&(console.debug("set final application",t,t==null?void 0:t.type),this.$store.dispatch(`${this.appName}/setApplication`,t))})},onApply(){C.create({type:u.USAGE,scope:c.GLOBAL,user_id:this.$store.getters.user.id}).then(({data:e})=>{y.success(this.$t("application.message.applySuccessfully")),this.onInitialize()}).catch(e=>{var t,s;((s=(t=e==null?void 0:e.response)==null?void 0:t.data)==null?void 0:s.code)===D&&y.error(this.$t("application.message.alreadyApplied"))})}}}),j={class:"wrapper"};function K(e,t,s,i,n,r){const o=a("router-view"),h=a("navigator"),g=a("application-status"),f=a("application-confirm");return b(),O("div",j,[p(o,{class:"main"}),p(h,{class:"navigator",direction:e.mobile?"row":"column"},null,8,["direction"]),e.application?(b(),N(g,{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"])):S("v-if",!0),p(f,{modelValue:e.applying,"onUpdate:modelValue":t[1]||(t[1]=l=>e.applying=l),modelModifiers:{visible:!0},onApply:e.onApply},null,8,["modelValue","onApply"])])}var le=$(J,[["render",K],["__scopeId","data-v-63155678"],["__file","/home/runner/work/Nexior/Nexior/src/layouts/Main.vue"]]);export{le as default};
@@ -1 +0,0 @@
1
- .table[data-v-4600b314]{width:80%;max-width:1200px}.info[data-v-7ffaebbd]{font-size:13px;color:var(--el-text-color-primary);text-align:center;line-height:28px}.subtitle[data-v-7ffaebbd]{font-size:12px;color:var(--el-text-color-secondary)}.applications .item[data-v-2941d97e]{cursor:pointer;padding:20px;background-color:var(--el-bg-color);border-radius:15px;border:1px solid var(--el-border-color-lighter);display:flex;align-items:center;gap:30px}.applications .item .icon[data-v-2941d97e]{visibility:hidden}.applications .item.active .icon[data-v-2941d97e]{visibility:visible}.applications .item .icon[data-v-2941d97e]{color:var(--el-color-white);font-size:20px;background-color:var(--el-color-primary);border-radius:50%;padding:5px}.actions[data-v-2941d97e]{margin:0 5px;display:inline-block}@media (max-width: 767px){.actions[data-v-2941d97e]{display:block;margin:5px auto 0;width:-moz-fit-content;width:fit-content}}.actions .el-button[data-v-2941d97e],.btn-apply[data-v-2941d97e]{border-radius:20px}
@@ -1 +0,0 @@
1
- import"./vendor-others.c752dc81.js";import{_ as w,I as F,L as R}from"./index.c37a6f29.js";import{C as z,D as H,E as M,u as j,b as J,J as K,K as Q,Q as X,k as G}from"./vendor-element-plus.e3d8a038.js";import{H as g,al as a,o as i,e as v,V as l,M as o,U as D,ai as L,L as c,S as u,T as s,R as m,f as $,P as W,$ as Y}from"./vendor-@vue.ddcf0365.js";import{C as Z}from"./CopyToClipboard.ce08ef84.js";import{ar as x}from"./vendor-fortawesome.2b4acb38.js";const ee=g({name:"ApiPrice",components:{ElTable:z,ElTableColumn:H,ElDialog:M,ElButton:j},props:{price:{type:Object,required:!0}},data(){return{visible:!1}},computed:{data(){var e;return((e=this.price)==null?void 0:e.data)||[]},columns(){var e;return(e=this.price)==null?void 0:e.columns},spans(){var e;return(e=this.price)==null?void 0:e.spans}},methods:{cellStyle(){return{"font-weight":"bold","text-align":"center"}},spanMethod({rowIndex:e,columnIndex:t}){if(this.spans){for(const d of this.spans)if(e===d[0]&&t===d[1])return[d[2],d[3]]}return[1,1]}}});function te(e,t,d,I,C,A){const p=a("el-table-column"),b=a("el-table"),f=a("el-dialog"),_=a("el-button");return i(),v("div",null,[l(f,{modelValue:e.visible,"onUpdate:modelValue":t[0]||(t[0]=n=>e.visible=n),center:"",width:"80%"},{default:o(()=>[l(b,{data:e.data,stripe:"","span-method":e.spanMethod,"header-cell-style":e.cellStyle,"cell-style":e.cellStyle},{default:o(()=>[(i(!0),v(D,null,L(e.columns,(n,y)=>(i(),c(p,{key:y,prop:n.key,label:n.label},null,8,["prop","label"]))),128))]),_:1},8,["data","span-method","header-cell-style","cell-style"])]),_:1},8,["modelValue"]),l(_,{round:"",size:"small",onClick:t[1]||(t[1]=n=>e.visible=!0)},{default:o(()=>[u(s(e.$t("service.button.pricing")),1)]),_:1})])}var oe=w(ee,[["render",te],["__scopeId","data-v-4600b314"],["__file","/home/runner/work/Nexior/Nexior/src/components/api/Price.vue"]]);const ae=g({name:"ApplicationInfo",components:{ElTag:J,CopyToClipboard:Z,ElDescriptions:K,ElDescriptionsItem:Q},props:{application:{type:Object,required:!0},showType:{type:Boolean,default:!1},showId:{type:Boolean,default:!1}}});function ie(e,t,d,I,C,A){const p=a("el-descriptions-item"),b=a("copy-to-clipboard"),f=a("el-tag"),_=a("el-descriptions");return i(),c(_,{column:1,class:"flex flex-col"},{default:o(()=>[e.application.scope==="Individual"?(i(),c(p,{key:0,label:e.$t("application.field.serviceName")},{default:o(()=>{var n;return[u(s((n=e.application.service)==null?void 0:n.title),1)]}),_:1},8,["label"])):m("v-if",!0),l(p,{label:e.$t("application.field.id")},{default:o(()=>[$("span",null,s(e.application.id),1),e.application.id?(i(),c(b,{key:0,content:e.application.id},null,8,["content"])):m("v-if",!0)]),_:1},8,["label"]),l(p,{label:e.$t("application.field.type")},{default:o(()=>[e.application.type==="Period"?(i(),c(f,{key:0,effect:"dark",round:""},{default:o(()=>[u(s(e.$t("application.type.period")),1)]),_:1})):m("v-if",!0),e.application.type==="Usage"?(i(),c(f,{key:1,effect:"dark",round:""},{default:o(()=>[u(s(e.$t("application.type.usage")),1)]),_:1})):m("v-if",!0)]),_:1},8,["label"]),e.application.type==="Period"?(i(),c(p,{key:1,label:e.$t("application.field.expiredAt")},{default:o(()=>[u(s(e.$dayjs.format(e.application.expired_at)),1)]),_:1},8,["label"])):m("v-if",!0),l(p,{label:e.$t("application.field.remainingAmount")},{default:o(()=>{var n,y,h,r;return[u(s((y=(n=e.application)==null?void 0:n.remaining_amount)==null?void 0:y.toFixed(6))+" "+s(e.$t("service.unit."+(((r=(h=e.application)==null?void 0:h.service)==null?void 0:r.unit)||"credit")+"s")),1)]}),_:1},8,["label"])]),_:1})}var ne=w(ae,[["render",ie],["__scopeId","data-v-7ffaebbd"],["__file","/home/runner/work/Nexior/Nexior/src/components/application/Info.vue"]]);const le=g({name:"ApplicationStatus",components:{ElButton:j,Check:X,ElDialog:M,FontAwesomeIcon:x,ApplicationInfo:ne,ApiPrice:oe,ElIcon:G},props:{application:{type:Object,required:!0},applications:{type:Array,default:void 0},showPrice:{type:Boolean,default:!0},service:{type:Object,required:!0}},emits:["select"],data(){return{showInfo:!1,applicationType:F}},computed:{authenticated(){return!!this.$store.state.token.access},user(){return this.$store.state.user}},methods:{onBuyMore(e){const t=this.$router.resolve({name:R,params:{id:e.id}}).href;window.open(t,"_blank")},onSelectApplication(e){this.$emit("select",e)}}}),se={class:"status"},pe={key:0},re={class:"text-left mb-4"},ce={class:"applications flex flex-col gap-2 mb-6"},de=["onClick"],ue={class:"actions"};function me(e,t,d,I,C,A){const p=a("check"),b=a("el-icon"),f=a("application-info"),_=a("el-button"),n=a("api-price"),y=a("el-dialog"),h=a("font-awesome-icon");return i(),v("div",se,[l(y,{modelValue:e.showInfo,"onUpdate:modelValue":t[1]||(t[1]=r=>e.showInfo=r),width:"600px"},{default:o(()=>{var r,E,N,S,T,P,V,B;return[e.application?(i(),v("div",pe,[$("p",re,s(e.$t("application.message.applicationSelection")),1),$("div",ce,[(i(!0),v(D,null,L(e.applications,(k,U)=>{var O;return i(),v("div",{key:U,class:W({item:!0,active:((O=e.application)==null?void 0:O.id)===k.id}),onClick:q=>e.onSelectApplication(k)},[l(b,{class:"icon"},{default:o(()=>[l(p)]),_:1}),l(f,{application:k,"show-type":!0,"show-id":!0},null,8,["application"]),l(_,{round:"",type:"primary",onClick:t[0]||(t[0]=Y(q=>e.onBuyMore(e.application),["stop"]))},{default:o(()=>[u(s(e.$t("common.button.buyMore")),1)]),_:1})],10,de)}),128))]),$("span",ue,[e.showPrice&&((S=(N=(E=(r=e.application)==null?void 0:r.service)==null?void 0:E.apis)==null?void 0:N[0])==null?void 0:S.price)?(i(),c(n,{key:0,class:"price inline-block",price:(B=(V=(P=(T=e.application)==null?void 0:T.service)==null?void 0:P.apis)==null?void 0:V[0])==null?void 0:B.price},null,8,["price"])):m("v-if",!0)])])):m("v-if",!0)]}),_:1},8,["modelValue"]),l(_,{circle:"",onClick:t[2]||(t[2]=r=>e.showInfo=!0)},{default:o(()=>[l(h,{icon:"fa-solid fa-wallet",class:"icon"})]),_:1})])}var $e=w(le,[["render",me],["__scopeId","data-v-2941d97e"],["__file","/home/runner/work/Nexior/Nexior/src/components/application/Status.vue"]]);export{$e as A};