1import{j as e,d as l}from"./app-belrbPXN.js";import{_ as r}from"./Lang-BxT6IC8I.js";import{PlusIcon as n}from"./PlusIcon-YI9O2wg5.js";import{SearchIcon as p}from"./SearchIcon-IcEPHXgu.js";import{i as c}from"./chunk-TC4QW7OA-U26paOyA.js";import{b as o}from"./chunk-NXTXE2B3-LSC6jqGg.js";import"./import-0kiaZdOS.js";import"./chunk-3TAVD5Y3-JLEfvKNw.js";import"./chunk-XHQUSKIE-9yTKuk0T.js";import"./import-p5sRK1qG.js";import"./chunk-6BQDBGF4-B566eCa_.js";import"./chunk-MCFSCOSB--WO4Tv9A.js";import"./import-_-a0l05m.js";import"./import-1bjV9P8v.js";import"./chunk-BSXPKUBX-mpJVaeDf.js";import"./chunk-M3MASYO7-ql8iGmnH.js";import"./chunk-3XT5V4LF-zg9JoeIL.js";import"./chunk-2PIR7DFM-PKNoTa34.js";import"./index-Cg9dHLmZ.js";import"./use-force-update-VB-OXXUy.js";import"./index-2kllFQyz.js";import"./chunk-MCG5YV3A-mwckgY4f.js";import"./chunk-EB2I5ZVA-WHwNbYK3.js";import"./chunk-YOBXD5IP-I7dSNQUW.js";const R=({name:t,total:a,filterValue:m,onSearchChange:i,handleClickModal:s=null})=>e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"flex justify-between items-center gap-3 items-end",children:[e.jsx(c,{isClearable:!0,className:"w-full sm:max-w-[44%]",placeholder:r("Search by :name...",{name:r(t)}),startContent:e.jsx(p,{}),value:m,onValueChange:i,classNames:{input:"border-0 focus:ring-0"}}),e.jsxs("div",{className:"flex gap-3",children:[s&&e.jsx(o,{className:"bg-foreground text-background",size:"sm",onClick:s,children:r("Order :name",{name:r(t)})}),e.jsx(o,{as:l,href:route("backoffice.people.create"),className:"bg-foreground text-background",endContent:e.jsx(n,{}),size:"sm",children:r("New :name",{name:r(t)})})]})]}),e.jsx("div",{className:"flex justify-between items-center",children:e.jsxs("span",{className:"text-default-400 text-small",children:["Total ",a," ",r(t.toLowerCase())]})})]});export{R as HeadTable};
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.