2fa774b6bd
This commit introduces a new "Companies" page to the dashboard, providing a comprehensive view of company data in a sortable and paginated table. Key changes include: - A new page at `/companies` to display the data table. - A new API route `/api/companies` that serves mock company data. - A `CompaniesTable` component built with `react-table` featuring sorting, pagination, and search functionality. - Reusable `TablePagination` and `TableActions` components to support the table. - The `moment` library has been added as a dependency to format dates within the table. - A new `CrossIcon` has been added for UI controls. - The `InputGroup` component is enhanced with an `autoComplete` prop. - A link to the new "Companies" page has been added to the sidebar navigation.
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"name": "free-nextadmin-nextjs",
|
|
"version": "1.2.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"@tanstack/react-query": "^5.85.6",
|
|
"@types/js-cookie": "^3.0.6",
|
|
"apexcharts": "^4.5.0",
|
|
"axios": "^1.11.0",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"dayjs": "^1.11.13",
|
|
"flatpickr": "^4.6.13",
|
|
"js-cookie": "^3.0.5",
|
|
"jsvectormap": "^1.6.0",
|
|
"moment": "^2.30.1",
|
|
"next": "15.1.6",
|
|
"next-themes": "^0.4.4",
|
|
"nextjs-toploader": "^3.7.15",
|
|
"react": "19.0.0",
|
|
"react-apexcharts": "^1.7.0",
|
|
"react-dom": "19.0.0",
|
|
"react-hook-form": "^7.62.0",
|
|
"react-intersection-observer": "^9.16.0",
|
|
"react-toastify": "^11.0.5",
|
|
"tailwind-merge": "^2.6.0",
|
|
"zod": "^4.1.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22",
|
|
"@types/react": "19.0.8",
|
|
"@types/react-dom": "19.0.3",
|
|
"autoprefixer": "^10.4.20",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "15.1.6",
|
|
"postcss": "^8",
|
|
"prettier": "^3.4.2",
|
|
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
"tailwindcss": "^3.4.16",
|
|
"typescript": "^5"
|
|
}
|
|
}
|