Files
machartaa_admin_dist/dist/assets/index-857b509e.js
T

2 lines
13 KiB
JavaScript
Raw Normal View History

2026-08-09 13:07:17 +03:30
import{_ as z}from"./BasicShowContext.vue_vue_type_script_setup_true_lang-892b140c.js";import{_ as V,u as A}from"./useBaseTable-3c30fe12.js";import{_ as J,B as O}from"./button.vue_vue_type_style_index_0_lang-f6f5b6a0.js";import{g as G,a as Q,s as W,b as X,c as Y,d as Z}from"./pushNotification-9884eb92.js";import{t as j}from"./useDataTime-5a269444.js";import{M as ee}from"./index-ef1f8a61.js";import{I as K}from"./index-1ab617ae.js";import{d as F,g as m,h as N,v as te,o as g,c as y,a as e,b as a,j as $,w as r,e as u,t as i,k as L,H as q,D as T,F as se,i as ae}from"./index-f8ee37b9.js";import{_ as oe}from"./BasicModal.vue_vue_type_style_index_0_lang-661b0a06.js";import{I as le}from"./Icon-889d6eab.js";import{D as ne,_ as re}from"./index-2f9eb9d4.js";import{S as ie}from"./index-0e72b27c.js";import{T as de}from"./isSymbol-cdcd460d.js";import{T as ue,a as ce}from"./index-6e8a4b4f.js";import"./updateLocale-d5a764a4.js";import"./index-bc659f42.js";import"./index-b8cc71e2.js";import"./vnode-b0e810ae.js";import"./omit-bdd3cea5.js";import"./_plugin-vue_export-helper-775bc553.js";import"./useState-f5985d90.js";import"./index-f923b666.js";import"./toArray-53a55fc4.js";import"./FormItemContext-5821e8c8.js";import"./pickAttrs-69f29e9c.js";import"./lodash-7c51d08d.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-2e892f80.js";import"./index-78e4e5e0.js";import"./Badge-47d7b0bb.js";import"./isNumeric-3f69e2aa.js";import"./index-89210322.js";import"./index-8bcedf66.js";import"./styleChecker-c1fc9f39.js";import"./index-0441c4fc.js";import"./DialogWrap-192ddaf7.js";import"./css-aae66f86.js";import"./index-bf59f845.js";import"./isPlainObject-6382de01.js";import"./useRefs-bff35432.js";import"./_flatRest-6305d35d.js";const _e=[{title:"ردیف",dataIndex:"id",key:"id",filterable:!1,customRender:t=>{var h;const o=((h=t==null?void 0:t.record)==null?void 0:h.record)??(t==null?void 0:t.record)??t;return(typeof(o==null?void 0:o.index)=="number"?o.index:0)+1}},{title:"نام",dataIndex:"first_name",key:"first_name",filterable:!0},{title:"نام خانوادگی",dataIndex:"last_name",key:"last_name",filterable:!0},{title:"شماره همراه",dataIndex:"phone",key:"phone",filterable:!0},{title:"اعلان فعال",dataIndex:"has_push",key:"has_push",filterField:"has_push",type:"Select",filterable:!0,filterComponentProps:{options:[{label:"فعال",value:"1"},{label:"غیرفعال",value:"0"}]},customRender:t=>{var c;const o=((c=t==null?void 0:t.record)==null?void 0:c.record)??(t==null?void 0:t.record)??t;return o!=null&&o.has_push?"✓ فعال":"—"}},{title:"زمان ثبت‌نام",dataIndex:"created_at",key:"created_at",type:"Date",filterable:!0,customRender:t=>{var c;const o=((c=t==null?void 0:t.record)==null?void 0:c.record)??(t==null?void 0:t.record)??t;return o!=null&&o.created_at?j(o.created_at):"-"}}],pe={class:"space-y-4"},me={class:"grid grid-cols-1 xl:grid-cols-3 gap-4"},fe={class:"xl:col-span-2 space-y-4"},ve=e("div",{class:"mb-1 text-sm text-gray-600"},"عنوان نوتیفیکیشن *",-1),be=e("div",{class:"mb-1 text-sm text-gray-600"},"متن نوتیفیکیشن *",-1),ge=e("div",{class:"mb-1 text-sm text-gray-600"},"لینک (اختیاری)",-1),he={class:"flex flex-wrap gap-2"},ye={class:"bg-gray-50 rounded-lg p-4 border border-gray-200 space-y-2 text-sm"},xe=e("div",{class:"font-semibold text-gray-700 mb-2"},"آمار اعلان‌ها",-1),ke={class:"grid grid-cols-1 gap-2"},$e={class:"flex justify-between items-center bg-white rounded-md px-3 py-2 border border-gray-100"},we=e("span",{class:"text-gray-600"},"کاربران با اعلان فعال",-1),Se={class:"text-green-700"},Pe={class:"flex justify-between items-center bg-white rounded-md px-3 py-2 border border-gray-100"},Ie=e("span",{class:"text-gray-600"},"کل اشتراک push",-1),Re=e("div",{class:"font-semibold text-gray-700 mb-2 pt-2"},"راهنما",-1),Te=e("p",{class:"text-gray-600 leading-6 m-0"}," فقط کاربرانی که اعلان را در اپ فعال کرده‌اند، نوتیف دریافت می‌کنند. ",-1),Be=e("p",{cla