2026-09-19 17:37:47 +03:30
|
|
|
import{_ as Ne}from"./BasicMainCard-8291a0be.js";import{_ as Le}from"./BasicModal.vue_vue_type_style_index_0_lang-9330561a.js";import{_ as Me}from"./BasicInput.vue_vue_type_style_index_0_lang-672b5a8b.js";import{_ as De,u as ue}from"./useBaseTable-05b26333.js";import{_ as Fe}from"./button.vue_vue_type_style_index_0_lang-bd7de123.js";import{_ as $e,H as Pe,I as Be,J as Ee,d as Oe,i as g,j as W,o as w,c as A,e as n,w as _,b as l,f as P,K as ce,l as f,t as de,n as S,O as X,P as Y,B as ze,k as Ve,G as y,L as je}from"./index-6d0cd65e.js";import{I as K}from"./Icon-26941971.js";import{t as ye}from"./useDataTime-af597da2.js";import{g as qe}from"./member-7e01e374.js";import{p as Ke}from"./pushNotification-a43c0f92.js";import{g as Q}from"./convert-2ad76038.js";import{n as me}from"./textUtils-c37780ad.js";import{g as _e}from"./index-1a5043f1.js";import{_ as He,v as pe,t as ve}from"./AudienceSegmentPicker.vue_vue_type_script_setup_true_lang-ec1f5c93.js";import{R as H,C as Ge}from"./index-19225493.js";import{M as Je}from"./index-1fdbf8ec.js";import{S as We}from"./index-1d24a383.js";import{I as Xe}from"./index-0a3c8350.js";import{T as Z}from"./isSymbol-94624ad1.js";import{U as Ye}from"./index-207fac00.js";import"./Grid-849ebb25.js";import"./index-ae4857ed.js";import"./_plugin-vue_export-helper-057121dd.js";import"./shallowequal-969229a1.js";import"./index-0e770d03.js";import"./vnode-272c72c0.js";import"./index-8d45f2c0.js";import"./useState-6a654be9.js";import"./useRefs-b0f30c2d.js";import"./_flatRest-2e1bd5be.js";import"./isMobile-e2e89480.js";import"./omit-0042b203.js";import"./index-a30aaa52.js";import"./Col-27d7ac55.js";import"./styleChecker-0273aaa3.js";import"./isPlainObject-d2ad9b1e.js";import"./usePrice-bc935b83.js";import"./updateLocale-cd480df1.js";import"./index-eddc2482.js";import"./useMemo-fb6ccae7.js";import"./FormItemContext-b6ebc5a2.js";import"./lodash-6c37e040.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-8a3278c2.js";import"./index-61e1d708.js";import"./Badge-a066a44e.js";import"./isNumeric-3f69e2aa.js";import"./index-08466728.js";import"./index-b2a6c339.js";import"./toArray-5fe0a9e6.js";import"./SearchOutlined-f7ba34a1.js";import"./pickAttrs-ae9bd1c0.js";import"./index-3f13e53b.js";import"./index-28b0ff59.js";import"./dayjs-df20201e.js";import"./index-d1b0a2ea.js";import"./index-cbd32094.js";import"./DialogWrap-b6637bda.js";import"./css-aae66f86.js";import"./index-17510b5d.js";import"./index-373d7dab.js";function O(i){return Number(i||0).toLocaleString("fa-IR")}const ge=[{title:"ردیف",dataIndex:"id",key:"id",filterable:!1,width:70,align:"center",customRender:i=>i.record.index+1},{title:"عنوان",dataIndex:"title",key:"title"},{title:"فعال",dataIndex:"active",key:"active",align:"center",width:90,customRender:i=>i.record.active?"بله":"خیر"},{title:"مخاطب",dataIndex:"audience_label",key:"audience_label",filterable:!1,customRender:i=>i.record.audience_label||"همه کاربران"},{title:"سقف بستن",dataIndex:"max_dismissals",key:"max_dismissals",align:"center",width:100,filterable:!1,customRender:i=>O(i.record.max_dismissals||1)},{title:"نمایش",dataIndex:"views_count",key:"views_count",align:"center",width:90,filterable:!1,customRender:i=>O(i.record.views_count)},{title:"کاربر یکتا",dataIndex:"unique_users_count",key:"unique_users_count",align:"center",width:100,filterable:!1,customRender:i=>O(i.record.unique_users_count)},{title:"بستن ✕",dataIndex:"close_count",key:"close_count",align:"center",width:90,filterable:!1,customRender:i=>O(i.record.close_count)},{title:"کلیک دکمه",dataIndex:"cta_click_count",key:"cta_click_count",align:"center",width:100,filterable:!1,customRender:i=>O(i.record.cta_click_count)},{title:"اولویت",dataIndex:"priority",key:"priority",align:"center",width:90},{title:"زمان ایجاد",dataIndex:"created_at",key:"created_at",customRender:i=>ye(i.record.created_at)},{title:"عملیات",dataIndex:"action",key:"action",slot:"action",filterable:!1,align:"center"}];async function Qe(i){const p=await Pe("app_notificatio
|