2026-08-19 11:15:51 +03:30
|
|
|
|
import{_ as xe}from"./BasicMainCard-945a60be.js";import{_ as ge}from"./BasicModal.vue_vue_type_style_index_0_lang-31a77bff.js";import{_ as he}from"./BasicInput.vue_vue_type_style_index_0_lang-16fb135f.js";import{_ as ye}from"./button.vue_vue_type_style_index_0_lang-bfd9fcfc.js";import{u as V,_ as Se}from"./useBaseTable-53dd99af.js";import{I as U}from"./Icon-49e380f5.js";import{_ as we}from"./InputDatePicker.vue_vue_type_script_setup_true_lang-3a64eb35.js";import{t as Te,a as qe}from"./useDataTime-3763aaa9.js";import{G as v,_ as Ie,d as ke,g as x,E as N,Q as Ee,h as J,v as Oe,o as K,c as W,b as l,w as d,j as b,H as z,a as s,e as C,t as Re,k as Pe,D as f}from"./index-bfe458ac.js";import{fetchMatchingUserIds as G,applyEmbeddedUserSearch as Ue,applySupabaseFilter as Ne,applySupabaseSort as Ce,applySupabasePagination as Ae,formatTableResult as Be}from"./supabaseTableQuery-8ab5665d.js";import{T as X}from"./index-17e4f352.js";import{M as H}from"./index-30f4723a.js";import{a as Y}from"./index-d61dbb2f.js";import{T as A}from"./isSymbol-0bccfc01.js";import"./Grid-653102df.js";import"./index-61da12ec.js";import"./Col-37dd3be5.js";import"./styleChecker-8e2e8c57.js";import"./isPlainObject-d0372073.js";import"./vnode-d4498b2d.js";import"./_plugin-vue_export-helper-67599eab.js";import"./index-a231d930.js";import"./usePrice-bc935b83.js";import"./index-3a7846ee.js";import"./SearchOutlined-2adda210.js";import"./omit-31473f11.js";import"./FormItemContext-50ffb9a1.js";import"./index-866ab3cc.js";import"./index-d162d812.js";import"./updateLocale-01f6a4ae.js";import"./index-bc659f42.js";import"./shallowequal-58ae19a4.js";import"./useState-28dabf70.js";import"./useMemo-c07be216.js";import"./lodash-6ccdc7c6.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-5abef7b1.js";import"./index-24b7e322.js";import"./Badge-2d408009.js";import"./isNumeric-3f69e2aa.js";import"./index-231f7c05.js";import"./index-f9fac6a3.js";import"./index-78c7f5e8.js";import"./index-d6fc1ec7.js";import"./DialogWrap-f94b796f.js";import"./pickAttrs-c1604177.js";import"./css-aae66f86.js";import"./toArray-54bd8d35.js";import"./index-d3413392.js";import"./useRefs-7ed7974b.js";import"./_flatRest-e19970cd.js";import"./isMobile-e2e89480.js";const De=[{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 o;const i=e.record;return(o=i.question_text)!=null&&o.trim()?i.question_text:i.template_source?`${i.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=>Te(e.record.created_at)},{title:"عملیات",dataIndex:"action",key:"action",slot:"action",filterable:!1,align:"center",width:120}],Fe=[{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:"تاریخ انتشار",dataIndex:"publish_date",key:"publish_date",type:"Date",filterField:"publish_
|