1import{i as d}from"./timeUtils-8zFzXAjW.js";import{h as u,x as g,v as n,o as h,d as b,w as c,f as t,u as e,a as m,t as p}from"./app-BVAMd5_1.js";import{A as v,s as r}from"./AdminIndexLayout-C6pmie6c.js";import"./AdminLayout-CXLULjk1.js";import"./_plugin-vue_export-helper-B3-6B-L5.js";import"./LoadingBlocker-DYFa7CW1.js";import"./index-C2Ar5VrO.js";import"./index-FuwuR9He.js";import"./index-BsY6cDoi.js";import"./index-Dt73Zd7D.js";import"./index-CU60oa8b.js";import"./index-B9u8IBu7.js";import"./index-CxXJJ1TN.js";import"./index-BmpPouj9.js";import"./index-DOQBLMUr.js";import"./index-Di0KRafF.js";import"./index-2I8F4KPS.js";import"./index-CbiLlRvj.js";import"./index-Cl38M3Zv.js";const V={__name:"Index",setup(w){const o=u(),l=g(),f=(a,i)=>{l.require({target:a.currentTarget,message:"Do you want to delete this admin?",icon:"pi pi-info-circle",rejectProps:{label:"Cancel",severity:"secondary",outlined:!0},acceptProps:{label:"Delete",severity:"danger"},accept:()=>{o.value.softDelete(i)}})},y=(a,i)=>{l.require({target:a.currentTarget,message:"Do you want to restore this user?",icon:"pi pi-info-circle",rejectProps:{label:"Cancel",severity:"secondary",outlined:!0},acceptProps:{label:"Restore",severity:"success"},accept:()=>{o.value.restore(i)}})},_=u({id:{value:null,matchMode:n.CONTAINS},email:{value:null,matchMode:n.CONTAINS},name:{value:null,matchMode:n.CONTAINS}});return(a,i)=>(h(),b(v,{ref_key:"adminIndexLayout",ref:o,title:"Security Maintenance",header:"Security Maintenance","create-api-route":"admin.security.create","create-icon-class":"pi-user-plus","resource-singular":"Admin","resource-plural":"Admin Users","default-sort-field":"updated_at","index-api-route":"api.security.index","edit-route":"admin.security.edit","edit-icon-class":"pi-user-edit","confirm-soft-delete":f,"confirm-restore":y,"delete-error-message":"Error deleting admin user.","restore-error-message":"Error restoring admin user.","soft-delete-route":"api.security.soft_delete","restore-api-route":"api.security.restore","filter-settings":_.value},{columns:c(()=>[t(e(r),{sortable:"",class:"tw-w-[5%]",field:"id",header:"ID"}),t(e(r),{sortable:"",field:"email",header:"Email"}),t(e(r),{sortable:"",field:"name",header:"Name"}),t(e(r),{sortable:"",class:"tw-w-[15%]",field:"created_at",header:"Created"},{body:c(s=>[m("span",null,p(e(d)(s.data.created_at)),1)]),_:1}),t(e(r),{sortable:"",class:"tw-w-[15%]",field:"updated_at",header:"Updated"},{body:c(s=>[m("span",null,p(e(d)(s.data.updated_at)),1)]),_:1})]),_:1},8,["filter-settings"]))}};export{V as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.