2 lines
30 KiB
JavaScript
2 lines
30 KiB
JavaScript
import{_ as Ye}from"./BasicMainCard-226652ff.js";import{_ as Ze}from"./BasicModal.vue_vue_type_style_index_0_lang-234112c9.js";import{_ as et,a as tt,u as at}from"./useBaseTable-e60ec4b8.js";import{_ as ot}from"./BasicInput.vue_vue_type_style_index_0_lang-78ced8eb.js";import{_ as st}from"./BasicTextArea.vue_vue_type_style_index_0_lang-cfe29417.js";import{_ as lt}from"./button.vue_vue_type_style_index_0_lang-d41fbf64.js";import{d as it,q as nt,u as rt,g as k,E as ct,v as ut,o as m,c as f,b as n,w as p,j as b,a,e as w,H as dt,t as D,F as _e,n as pe,k as q,y as ve,D as g,M as _t,N as pt,bC as vt,I as me,p as mt,i as ht}from"./index-c3a83709.js";import{g as ft,a as gt,b as bt,d as yt,u as kt,s as xt,c as wt,e as qt,f as Ut}from"./stepChallenge-2c7c9a67.js";import{t as St}from"./useDataTime-0f66fcd9.js";import{I as A}from"./Icon-78d04a1c.js";import{g as ee,e as L,a as Ct}from"./convert-2ad76038.js";import{a as Se}from"./index-6d9d7b65.js";import{M as At}from"./index-3cee424d.js";import{S as Ce}from"./index-55899d99.js";import{a as Ae}from"./index-ce887100.js";import{T as he}from"./isSymbol-933af901.js";import{U as te}from"./index-f68a6e65.js";import{_ as $t}from"./_plugin-vue_export-helper-9424d566.js";import"./index-51e1e412.js";import"./index-133c097e.js";import"./Col-f98af73f.js";import"./styleChecker-5d75eaf5.js";import"./isPlainObject-e4dd5edb.js";import"./vnode-13aafe4d.js";import"./updateLocale-ff27ed8b.js";import"./useState-edde538a.js";import"./FormItemContext-89798113.js";import"./lodash-35a3e948.js";import"./index-588aa217.js";import"./index-795d795f.js";import"./isNumeric-3f69e2aa.js";import"./index-1b40f734.js";import"./index-4987f49a.js";import"./index-c0c82e0d.js";import"./DialogWrap-99990cc9.js";import"./pickAttrs-948566e5.js";import"./css-aae66f86.js";import"./toArray-fdd672d9.js";import"./usePrice-bc935b83.js";import"./useRefs-c83745ad.js";import"./_flatRest-09ea8109.js";import"./index-42c94377.js";const Lt=[{title:"ردیف",dataIndex:"id",key:"id",filterable:!1,width:70,align:"center",customRender:x=>x.record.index+1},{title:"عنوان",dataIndex:"title",key:"title"},{title:"مراحل",dataIndex:"steps_count",key:"steps_count",customRender:x=>{const I=x.record.steps_count||0,O=x.record.total_minutes||0;return I?`${I} مرحله / ${O} دقیقه`:"-"}},{title:"نمایش",dataIndex:"show",key:"show",customRender:x=>x.record.show?"فعال":"مخفی"},{title:"نوع",dataIndex:"access_type",key:"access_type",width:100,align:"center",customRender:x=>x.record.access_type==="subscription"?"اشتراکی":"رایگان"},{title:"ترتیب",dataIndex:"sort_order",key:"sort_order",width:80,align:"center"},{title:"زمان ایجاد",dataIndex:"created_at",key:"created_at",customRender:x=>St(x.record.created_at)},{title:"عملیات",dataIndex:"action",key:"action",slot:"action",filterable:!1,align:"center"}],r=x=>(_t("data-v-c054cae7"),x=x(),pt(),x),Rt={class:"flex justify-between items-center mb-4"},Mt=r(()=>a("h2",null,"چالشهای مرحلهای",-1)),Pt={class:"gap-2 flex justify-center"},Ft=r(()=>a("span",null,"حذف",-1)),Tt=r(()=>a("span",null,"ویرایش",-1)),Bt={class:"mb-4 flex flex-wrap items-center justify-between gap-3"},Dt=r(()=>a("h2",{class:"m-0"},"پیشرفت کاربران در چالشها",-1)),Ot={key:0,class:"py-16 flex justify-center"},jt={key:1,class:"text-center text-gray-500 py-16"},zt={key:2,class:"challenge-progress-grid"},Nt=["onClick"],It=["title"],Wt={class:"challenge-progress-card__stats"},Ht={class:"challenge-progress-card__stat"},Et=r(()=>a("span",{class:"challenge-progress-card__label"},"کاربران یکتا",-1)),Jt={class:"challenge-progress-card__value"},Kt={class:"challenge-progress-card__stat"},Vt=r(()=>a("span",{class:"challenge-progress-card__label"},"دفعات انجام",-1)),Xt={class:"challenge-progress-card__value"},Qt={class:"challenge-progress-card__footer"},Gt={class:"max-w-2xl space-y-4"},Yt=r(()=>a("h2",{class:"text-lg font-semibold"},"قوانین چالشهای کدوبلو",-1)),Zt=r(()=>a("p",{class:"text-sm text-gray-600"},"
|