PageSourceSearch

https://www.addonskills.com/build/assets/List--sg2MzTh.js

js addonskills.com collected 2026-10-04 11:20:53 UTC 2,715 bytes, 1 lines download raw bytes

1import{j as e,H as s}from"./app-rigfn0yw.js";import{A as m}from"./AuthenticatedLayout-3LCJg2oC.js";import{x as l}from"./toast-BXZozn88.js";import{C as p}from"./confirmdialog.esm-CMrqoRIS.js";import{B as d}from"./badge.esm-CBqjQhCQ.js";import{H as c}from"./Header-DUmXtIsa.js";import{D as u}from"./Datatable-BNSWdnF1.js";import{A as n}from"./ActionButtons-BuSxFKuj.js";import"./transition-CVfiuB3g.js";import"./ApplicationLogo-Bm3XSjxx.js";import"./clsx-B-dksMZM.js";import"./button.esm-B6nmtWQv.js";import"./portal.esm-BVBTTCwc.js";import"./tooltip.esm-B6Hf81dF.js";import"./dialog.esm-hTDCF_Ft.js";import"./csstransition.esm-DhcyjZzP.js";import"./index.esm-ZysgFa0I.js";import"./overlayservice.esm-Bk5qNdz2.js";import"./index.esm-AGd2Lzhz.js";import"./column.esm-Bj2k5aba.js";import"./inputnumber.esm--f2PiPqz.js";import"./inputtext.esm-B89kCRsW.js";import"./index.esm-BxkyDAwG.js";import"./dropdown.esm-D-nSx-Xo.js";import"./virtualscroller.esm-DFsdifH6.js";import"./index.esm-B7e-T_5K.js";import"./index.esm-Drf67Jv6.js";import"./index.esm-Cj1NscMp.js";import"./index.esm-DSmEg6mf.js";import"./index.esm-CpWlHu2J.js";import"./dayjs.min-BJWeyXxP.js";import"./XsButton-D84r4vqn.js";import"./DeleteConfirmDialog-5EOzFEX2.js";import"./StatusConfirmDialog-OwyDOCvj.js";import"./ApiService-Ct7FbVXo.js";function X({auth:r}){const o=[{raw:"mop_categories.id",field:"id",header:"Sr. No.",sortable:!1,filter:!1,body:(t,i)=>e.jsx("div",{className:"text-center",children:i.rowIndex+1})},{raw:"mop_categories.name",field:"name",header:"Name",sortable:!0,filter:!1,search:!0},{raw:"mop_categories.code",field:"code",header:"Code",sortable:!0,filter:!1,search:!0},{raw:"mop_categories.is_active",field:"is_active",header:"Status",sortable:!0,filter:!1,body:t=>e.jsx(d,{value:t.is_active?"Active":"Inactive",severity:t.is_active?"success":"danger"})},{field:null,header:"Action",sortable:!1,filter:!1,body:t=>e.jsx(n,{row:t,moduleName:"MOP Category",baseRoute:"mop-category",deleteRoute:route("mop-category.destroy",t.id),hasEdit:!0,hasDelete:!0,hasView:!0})}],a=[{label:"Settings",url:"#"},{label:"MOP Categories"}];return e.jsxs(m,{user:r.user,header:e.jsx(c,{title:"MOP Category Management",breadcrumbItems:a,buttonLabel:"Create Category",buttonIcon:"pi pi-plus",buttonSize:"small",buttonLink:route("mop-category.create")}),children:[e.jsx(s,{title:"MOP Categories"}),e.jsx(l,{}),e.jsx(p,{}),e.jsx("div",{className:"py-6",children:e.jsx("div",{className:"mx-auto sm:px-6 lg:px-8",children:e.jsx("div",{className:"bg-white overflow-hidden shadow-sm sm:rounded-lg p-6",children:e.jsx(u,{columns:o,url:route("mop-category.datatable"),showSearch:!0,searchPlaceholder:"Search by name or code..."})})})})]})}export{X 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.