2 lines
19 KiB
JavaScript
2 lines
19 KiB
JavaScript
import{_ as xe}from"./BasicMainCard-29eef376.js";import{_ as ge}from"./BasicModal.vue_vue_type_style_index_0_lang-7803828f.js";import{_ as he}from"./BasicInput.vue_vue_type_style_index_0_lang-0a352870.js";import{_ as ye}from"./button.vue_vue_type_style_index_0_lang-99dfcd06.js";import{u as V,_ as Se}from"./useBaseTable-e4bbf0da.js";import{I as U}from"./Icon-c9ad16b9.js";import{_ as we}from"./InputDatePicker.vue_vue_type_script_setup_true_lang-bdf8677c.js";import{t as Te,a as qe}from"./useDataTime-5442c624.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-bc4edd51.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-627337a8.js";import{M as H}from"./index-609e9a96.js";import{a as Y}from"./index-727535d5.js";import{T as A}from"./isSymbol-f9834f4f.js";import"./Grid-08ee34b6.js";import"./index-7fcb5f91.js";import"./Col-96f7f23f.js";import"./styleChecker-bc667521.js";import"./isPlainObject-ed8996b4.js";import"./vnode-f2307909.js";import"./_plugin-vue_export-helper-c8347567.js";import"./index-d4870df7.js";import"./usePrice-bc935b83.js";import"./index-49e2e544.js";import"./SearchOutlined-4504ec77.js";import"./omit-6f60253b.js";import"./FormItemContext-4e017a44.js";import"./index-9df7eaa1.js";import"./index-1d49b36b.js";import"./updateLocale-7b0be7e3.js";import"./index-bc659f42.js";import"./shallowequal-cad00b6e.js";import"./useState-47ff4833.js";import"./useMemo-8275a234.js";import"./lodash-3efc1909.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-9775c8a5.js";import"./index-5ea3cefd.js";import"./Badge-627fd6d3.js";import"./isNumeric-3f69e2aa.js";import"./index-34768277.js";import"./index-4e41e7b6.js";import"./index-393b875d.js";import"./index-47b6ba8f.js";import"./DialogWrap-f12e49af.js";import"./pickAttrs-1c46cfba.js";import"./css-aae66f86.js";import"./toArray-b01cb1f9.js";import"./index-ae018072.js";import"./index-3aafac3f.js";import"./useRefs-225197bd.js";import"./_flatRest-9adb1e9a.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:
|