Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 13.58.77.244
Current Path : /var/www/qpms/assets/ |
| Current File : /var/www/qpms/assets/datatable-V9_JACeO.js |
import{t as s,F as p,B as n,a_ as c}from"./index-CXvb2HGZ.js";import{S as d}from"./index-DHyLT5wt.js";const g=(o,a)=>({filterDropdown:({setSelectedKeys:e,selectedKeys:l,confirm:r,clearFilters:i,close:h})=>s.jsxs("div",{style:{padding:8},onKeyDown:t=>t.stopPropagation(),children:[s.jsx(p,{autoFocus:!0,placeholder:`Search ${a}`,value:l,onChange:t=>e(t.target.value?[t.target.value]:[]),onPressEnter:()=>{r()},style:{marginBottom:8,display:"block"}}),s.jsxs(d,{children:[s.jsx(n,{type:"primary",onClick:()=>r(),icon:s.jsx(c,{}),size:"small",style:{width:90},children:"Search"}),s.jsx(n,{onClick:()=>{i(),r()},size:"small",style:{width:90},children:"Reset"})]})]}),filterIcon:e=>s.jsx(c,{style:{color:e?"#8231d3":"#ccc"}}),onFilter:(e,l)=>l[o].toString().toLowerCase().includes(e.toLowerCase())}),x=(o,a,e)=>o[e].localeCompare(a[e]);export{g,x as s};
|