2026-10-13 13:23:32 +03:30
|
|
|
|
import{_ as Me}from"./BasicMainCard-e958eff9.js";import{_ as $e}from"./BasicModal.vue_vue_type_style_index_0_lang-6969d1dc.js";import{_ as Le}from"./BasicInput.vue_vue_type_style_index_0_lang-1e71e6d8.js";import{_ as je}from"./button.vue_vue_type_style_index_0_lang-c84b0596.js";import{u as ae,_ as Qe}from"./useBaseTable-2f44456a.js";import{I as j}from"./Icon-e9d21126.js";import{_ as ze}from"./InputDatePicker.vue_vue_type_script_setup_true_lang-3f0afb93.js";import{t as Ve,a as Je}from"./useDataTime-c5fd0475.js";import{O as z,_ as We,I as Z,J as V,R as Ke,K as He,d as Xe,i as h,z as Y,B as Ge,j as ne,x as Ye,o as N,c as F,e as l,w as d,l as b,L as oe,b as n,f as U,F as Ze,q as et,t as tt,n as re,H as g,M as st}from"./index-88b436a3.js";import{fetchMatchingUserIds as le,formatTableResult as it}from"./supabaseTableQuery-81d2dd21.js";import{g as ue}from"./convert-2ad76038.js";import{g as ce}from"./index-eb78e5b4.js";import{T as de}from"./index-3056cee8.js";import{M as _e}from"./index-801e70c1.js";import{_ as me}from"./index-7fdb0173.js";import{T as Q}from"./isSymbol-5adcf314.js";import{U as at}from"./index-58f8102d.js";import"./Grid-3500d868.js";import"./index-ab792bfc.js";import"./Col-dbdf0e50.js";import"./styleChecker-e121d19f.js";import"./isPlainObject-6af67cf0.js";import"./vnode-4c3cf924.js";import"./_plugin-vue_export-helper-0965689e.js";import"./index-77cb2497.js";import"./usePrice-bc935b83.js";import"./index-5b1d7174.js";import"./SearchOutlined-a51da12b.js";import"./omit-c69ba12d.js";import"./FormItemContext-0dc63d45.js";import"./index-371b21ab.js";import"./index-608635af.js";import"./updateLocale-50b6b1dc.js";import"./shallowequal-a265b4c4.js";import"./useState-89585daf.js";import"./useMemo-9783b0bd.js";import"./lodash-ff1cad4c.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-8738a2db.js";import"./index-59dbbd66.js";import"./Badge-b5f795c2.js";import"./isNumeric-3f69e2aa.js";import"./index-e3b71aec.js";import"./index-6971af25.js";import"./index-4ad375f9.js";import"./index-70730f49.js";import"./DialogWrap-540d386d.js";import"./pickAttrs-fd92707c.js";import"./css-aae66f86.js";import"./toArray-20aa7010.js";import"./index-4c23d157.js";import"./useRefs-b589f2c4.js";import"./_flatRest-bfa472d2.js";import"./isMobile-e2e89480.js";import"./index-ad76e424.js";import"./index-f6397275.js";const nt=[{title:"ردیف",dataIndex:"id",key:"id",filterable:!1,width:70,align:"center",customRender:e=>e.record.index+1},{title:"ارسالکننده",dataIndex:"submitter_name",key:"submitter_name",filterField:"submitter_name",width:120},{title:"سوال",dataIndex:"question_text",key:"question_text",filterField:"question_text",customRender:e=>{var s;const a=e.record;return(s=a.question_text)!=null&&s.trim()?a.question_text:a.template_source?`${a.template_source} ...؟`:"-"}},{title:"گزینه ۱",dataIndex:"option1_text",key:"option1_text",filterField:"option1_text",width:120},{title:"گزینه ۲",dataIndex:"option2_text",key:"option2_text",filterField:"option2_text",width:120},{title:"تاریخ ارسال",dataIndex:"created_at",key:"created_at",type:"DateTime",filterField:"created_at",width:130,customRender:e=>Ve(e.record.created_at)},{title:"عملیات",dataIndex:"action",key:"action",slot:"action",filterable:!1,align:"center",width:120}],ot=[{title:"ردیف",dataIndex:"id",key:"id",filterable:!1,width:70,align:"center",customRender:e=>e.record.index+1},{title:"سوال",dataIndex:"question_text",key:"question_text",filterField:"question_text"},{title:"گزینه ۱",dataIndex:"option1_text",key:"option1_text",filterField:"option1_text",width:110},{title:"گزینه ۲",dataIndex:"option2_text",key:"option2_text",filterField:"option2_text",width:110},{title:"پاسخ صحیح",dataIndex:"correct_option",key:"correct_option",type:"Number",filterField:"correct_option",width:90,align:"center",customRender:e=>`گزینه ${e.record.correct_option}`},{title:"ترتیب",dataIndex:"sort_order",key:"sort_order",type:"Number",filterField:"sort_order",width:70,align:"center",customRender:e=>(e.record.sort_order??0)+1},{title
|