Files
machartaa_admin_dist/dist/assets/index-2f08acb4.js
T

2 lines
19 KiB
JavaScript
Raw Normal View History

2026-07-26 21:18:50 +03:30
import{_ as xe}from"./BasicMainCard-ad68421c.js";import{_ as ge}from"./BasicModal.vue_vue_type_style_index_0_lang-7e7e37ca.js";import{_ as he}from"./BasicInput.vue_vue_type_style_index_0_lang-0813ef79.js";import{_ as ye}from"./button.vue_vue_type_style_index_0_lang-c90761af.js";import{u as V,_ as Se}from"./useBaseTable-1503ffff.js";import{I as U}from"./Icon-ecd42e7a.js";import{_ as we}from"./InputDatePicker.vue_vue_type_script_setup_true_lang-117dc265.js";import{t as Te,a as qe}from"./useDataTime-57fc1f09.js";import{G as v,_ as Ie,d as ke,g as x,E as N,O 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-a1cbdc04.js";import{f as G,a as Ue,b as Ne,c as Ce,d as Ae,e as Be}from"./supabaseTableQuery-95762ff3.js";import{a as X}from"./index-6a6e2f69.js";import{M as H}from"./index-9c349efd.js";import{a as Y}from"./index-1a119724.js";import{T as A}from"./isSymbol-52713665.js";import"./index-bf7cee9b.js";import"./index-c40db828.js";import"./Col-08ce96dd.js";import"./styleChecker-0c4cbd10.js";import"./isPlainObject-f510e32a.js";import"./vnode-2778ccba.js";import"./_plugin-vue_export-helper-a1c1a00b.js";import"./index-81112407.js";import"./usePrice-bc935b83.js";import"./index-0f8757b7.js";import"./FormItemContext-8408af52.js";import"./updateLocale-16bb7b9a.js";import"./useState-7eb66b9e.js";import"./lodash-5e93f948.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-c33a79e6.js";import"./index-022013ee.js";import"./isNumeric-3f69e2aa.js";import"./index-be2c7609.js";import"./index-c8c86a9a.js";import"./index-9c0e62f2.js";import"./LeftOutlined-40fb7e14.js";import"./css-aae66f86.js";import"./DialogWrap-65e27abc.js";import"./pickAttrs-21cead41.js";import"./toArray-8d6c1cc7.js";import"./index-039fd9c4.js";import"./useRefs-d6fb9168.js";import"./_flatRest-61b4c813.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_date",width:120,customRender:e=>qe(e.record.publish_date)},{title:"طراح",dataIndex:"designer_name",key:"designer_name",filterField:"designer_name",width:110,customRender:e=>e.record.designer_user_id?e.record.designer_name||"کاربر":"-"},{title:"عملیات",dataIndex:"action",key:"action",slot:"action",filterable:!1,align:"center",width:100}];function Z(e){var a;if(