Files
machartaa_admin_dist/dist/assets/index-6138017c.js
T

2 lines
19 KiB
JavaScript
Raw Normal View History

2026-08-19 18:36:32 +03:30
import{_ as xe}from"./BasicMainCard-c1077cbf.js";import{_ as ge}from"./BasicModal.vue_vue_type_style_index_0_lang-0121d908.js";import{_ as he}from"./BasicInput.vue_vue_type_style_index_0_lang-83b58369.js";import{_ as ye}from"./button.vue_vue_type_style_index_0_lang-dcd86e7a.js";import{u as V,_ as Se}from"./useBaseTable-7b78293f.js";import{I as U}from"./Icon-8dedfa53.js";import{_ as we}from"./InputDatePicker.vue_vue_type_script_setup_true_lang-32ccbda5.js";import{t as Te,a as qe}from"./useDataTime-a337f5c6.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-b0561d74.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-f9091817.js";import{M as H}from"./index-12bdf78c.js";import{a as Y}from"./index-482a46a3.js";import{T as A}from"./isSymbol-a4291d99.js";import"./Grid-80c38bfa.js";import"./index-9a77c0e9.js";import"./Col-08664037.js";import"./styleChecker-d39a1d44.js";import"./isPlainObject-3a5eccde.js";import"./vnode-531f9d95.js";import"./_plugin-vue_export-helper-130a5518.js";import"./index-b7f1770d.js";import"./usePrice-bc935b83.js";import"./index-d18c8f13.js";import"./SearchOutlined-ca6a4719.js";import"./omit-e6701bfc.js";import"./FormItemContext-5520cb52.js";import"./index-092c5981.js";import"./index-5d725680.js";import"./updateLocale-b730d578.js";import"./index-bc659f42.js";import"./shallowequal-4f931fa5.js";import"./useState-94528018.js";import"./useMemo-0162b583.js";import"./lodash-9a3882db.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-71825e72.js";import"./index-46f9dc77.js";import"./Badge-d2c862d8.js";import"./isNumeric-3f69e2aa.js";import"./index-7febe226.js";import"./index-93c22234.js";import"./index-b618fa76.js";import"./index-2dc7fe57.js";import"./DialogWrap-9c2d8a9c.js";import"./pickAttrs-69dd58a4.js";import"./css-aae66f86.js";import"./toArray-1ab9b01c.js";import"./index-840dd6b2.js";import"./useRefs-899ec8f3.js";import"./_flatRest-39f9ed6b.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_