{"_id":"@anakin824/finpod-embedding","_rev":"5-d4628c4f36c3f44560e55acb6bb093b6","name":"@anakin824/finpod-embedding","dist-tags":{"latest":"0.2.3"},"versions":{"0.1.0":{"name":"@anakin824/finpod-embedding","version":"0.1.0","keywords":["erp","accounting","finance","inventory","orders","embeddable","react","nextjs"],"author":{"name":"anakin824"},"license":"MIT","_id":"@anakin824/finpod-embedding@0.1.0","maintainers":[{"name":"anakin824","email":"admin@prodigee.dev"}],"homepage":"https://github.com/anakin824/finpod-embedding#readme","bugs":{"url":"https://github.com/anakin824/finpod-embedding/issues"},"dist":{"shasum":"606964ee5c866564d502c8ddd50c133c5f758c03","tarball":"https://registry.npmjs.org/@anakin824/finpod-embedding/-/finpod-embedding-0.1.0.tgz","fileCount":12,"integrity":"sha512-e1rkhv1J5LWLUiSGx5cPJT4lzXGZ0OFGNBGJEHkr9VGEo2x9jzKGlOAmqz4aZBsh1KEt6bswkcEMr/uvmw6rsw==","signatures":[{"sig":"MEQCICGHGyBT+m3z+yBPSojLtOS0Rz4YuhZjdL99ih+S0nj9AiAm552BqPmAyJT9386xqs3TipAjhhMwMRSOK2R28/QoWQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4192375},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles":"./app/globals.css"},"scripts":{"dev":"next dev","lint":"next lint","build":"next build","start":"next start","build:all":"npm run build:lib && npm run build","build:lib":"tsup","prepublishOnly":"npm run build:lib"},"_npmUser":{"name":"anakin824","email":"admin@prodigee.dev"},"repository":{"url":"git+https://github.com/anakin824/finpod-embedding.git","type":"git"},"_npmVersion":"11.5.1","description":"FinPod ERP Portal - Embeddable components and features for accounting, inventory, and order management","directories":{},"_nodeVersion":"24.5.0","dependencies":{"yup":"^1.7.1","zod":"^4.3.6","antd":"^6.2.2","clsx":"^2.1.1","next":"^14.2.0","axios":"^1.13.4","react":"^18.3.0","date-fns":"^4.1.0","react-dom":"^18.3.0","react-icons":"^5.5.0","lucide-react":"^0.563.0","react-select":"^5.10.2","@mui/material":"^7.3.7","react-toastify":"^11.0.5","tailwind-merge":"^3.4.0","react-hook-form":"^7.71.1","@headlessui/react":"^2.2.9","@hookform/resolvers":"^5.2.2","@mui/icons-material":"^7.3.7","@tanstack/react-query":"^5.90.20"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","eslint":"^8.57.0","postcss":"^8.4.0","typescript":"^5.5.0","@types/node":"^20.14.0","tailwindcss":"^3.4.0","@types/react":"^18.3.27","autoprefixer":"^10.4.0","@types/react-dom":"^18.3.7","eslint-config-next":"^14.2.0"},"_npmOperationalInternal":{"tmp":"tmp/finpod-embedding_0.1.0_1769887883804_0.7647621088991075","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@anakin824/finpod-embedding","version":"0.2.0","keywords":["erp","accounting","finance","inventory","orders","embeddable","react","nextjs"],"author":{"name":"anakin824"},"license":"MIT","_id":"@anakin824/finpod-embedding@0.2.0","maintainers":[{"name":"anakin824","email":"admin@prodigee.dev"}],"homepage":"https://github.com/anakin824/finpod-embedding#readme","bugs":{"url":"https://github.com/anakin824/finpod-embedding/issues"},"dist":{"shasum":"8a5ccce70ae888a26d357f1992a2f9558d2f512b","tarball":"https://registry.npmjs.org/@anakin824/finpod-embedding/-/finpod-embedding-0.2.0.tgz","fileCount":13,"integrity":"sha512-wDcFqv7O96h2JD/bFX53qjTeMuANN1anDA8Hu0wV2hbZHdO5l8iDqBlhqOEeSDoISXA4HB9xlpMZZl53yice7w==","signatures":[{"sig":"MEYCIQCRQT5i4bEAyru9DLm/WSGyCCa4v57QDehJk+JBjUJH8wIhAJQdOLWwu09YHYpmQrPurAaDBYJItfFLPgWB2BmzZAH7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4638823},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles":"./app/globals.css"},"scripts":{"dev":"next dev","lint":"next lint","build":"next build","start":"next start","build:all":"npm run build:lib && npm run build","build:lib":"tsup","prepublishOnly":"npm run build:lib"},"_npmUser":{"name":"anakin824","email":"admin@prodigee.dev"},"repository":{"url":"git+https://github.com/anakin824/finpod-embedding.git","type":"git"},"_npmVersion":"11.5.1","description":"FinPod ERP Portal - Embeddable components and features for accounting, inventory, and order management","directories":{},"_nodeVersion":"24.5.0","dependencies":{"clsx":"^2.1.1","axios":"^1.13.4","recharts":"^3.7.0","react-icons":"^5.5.0","tailwind-merge":"^3.4.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","eslint":"^8.57.0","postcss":"^8.4.0","typescript":"^5.5.0","@types/node":"^20.14.0","tailwindcss":"^3.4.0","@types/react":"^18.3.27","autoprefixer":"^10.4.0","@types/react-dom":"^18.3.7","eslint-config-next":"^14.2.0"},"peerDependencies":{"yup":"^1.0.0","zod":"^4.0.0","antd":"^5.15.0 || ^6.0.0","next":"^14.2.0","react":"^18.3.0","date-fns":"^3.6.0 || ^4.0.0","recharts":"^2.0.0","react-dom":"^18.3.0","lucide-react":"^0.400.0","react-select":"^5.0.0","@mui/material":"^5.0.0 || ^7.0.0","react-toastify":"^11.0.0","react-hook-form":"^7.0.0","@headlessui/react":"^2.0.0","@hookform/resolvers":"^5.0.0","@mui/icons-material":"^5.0.0 || ^7.0.0","@tanstack/react-query":"^5.0.0"},"peerDependenciesMeta":{"yup":{"optional":true},"zod":{"optional":true},"antd":{"optional":true},"@mui/material":{"optional":true},"@mui/icons-material":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/finpod-embedding_0.2.0_1769901974162_0.9079346574171054","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@anakin824/finpod-embedding","version":"0.2.1","keywords":["erp","accounting","finance","inventory","orders","embeddable","react","nextjs"],"author":{"name":"anakin824"},"license":"MIT","_id":"@anakin824/finpod-embedding@0.2.1","maintainers":[{"name":"anakin824","email":"admin@prodigee.dev"}],"homepage":"https://github.com/anakin824/finpod-embedding#readme","bugs":{"url":"https://github.com/anakin824/finpod-embedding/issues"},"dist":{"shasum":"cbb393c76b46ea2f19e6eb382c0d09bb21e8311c","tarball":"https://registry.npmjs.org/@anakin824/finpod-embedding/-/finpod-embedding-0.2.1.tgz","fileCount":13,"integrity":"sha512-wrRJRbeauFj/c+Bz3amb3PULAoMEl/NPH92i5UwYk+XbUbIgh8RDIlNlydMTariKv+8MY80EtZ7D6wL6tdn5Gg==","signatures":[{"sig":"MEYCIQCex1tlJAroQ9EnGImXKNMtVB6DsYILj89Vvx40V4uY0gIhANDYHnaJuv6m+Z/xh/AZg3s7vwEA4fVPZ+HnJO73h9FY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4638806},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles":"./app/globals.css"},"scripts":{"dev":"next dev","lint":"next lint","build":"next build","start":"next start","build:all":"npm run build:lib && npm run build","build:lib":"tsup","prepublishOnly":"npm run build:lib"},"_npmUser":{"name":"anakin824","email":"admin@prodigee.dev"},"repository":{"url":"git+https://github.com/anakin824/finpod-embedding.git","type":"git"},"_npmVersion":"11.5.1","description":"FinPod ERP Portal - Embeddable components and features for accounting, inventory, and order management","directories":{},"_nodeVersion":"24.5.0","dependencies":{"clsx":"^2.1.1","react-icons":"^5.5.0","tailwind-merge":"^3.4.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","eslint":"^8.57.0","postcss":"^8.4.0","typescript":"^5.5.0","@types/node":"^20.14.0","tailwindcss":"^3.4.0","@types/react":"^18.3.27","autoprefixer":"^10.4.0","@types/react-dom":"^18.3.7","eslint-config-next":"^14.2.0"},"peerDependencies":{"yup":"^1.0.0","zod":"^4.0.0","antd":"^5.15.0 || ^6.0.0","next":"^14.2.0","axios":"^1.0.0","react":"^18.3.0","date-fns":"^3.6.0 || ^4.0.0","recharts":"^2.0.0 || ^3.0.0","react-dom":"^18.3.0","lucide-react":"^0.400.0","react-select":"^5.0.0","@mui/material":"^5.0.0 || ^7.0.0","react-toastify":"^11.0.0","react-hook-form":"^7.0.0","@headlessui/react":"^2.0.0","@hookform/resolvers":"^5.0.0","@mui/icons-material":"^5.0.0 || ^7.0.0","@tanstack/react-query":"^5.0.0"},"peerDependenciesMeta":{"yup":{"optional":true},"zod":{"optional":true},"antd":{"optional":true},"@mui/material":{"optional":true},"@mui/icons-material":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/finpod-embedding_0.2.1_1769904259399_0.11324080239206302","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@anakin824/finpod-embedding","version":"0.2.2","keywords":["erp","accounting","finance","inventory","orders","embeddable","react","nextjs"],"author":{"name":"anakin824"},"license":"MIT","_id":"@anakin824/finpod-embedding@0.2.2","maintainers":[{"name":"anakin824","email":"admin@prodigee.dev"}],"homepage":"https://github.com/anakin824/finpod-embedding#readme","bugs":{"url":"https://github.com/anakin824/finpod-embedding/issues"},"dist":{"shasum":"133da728304e175954a3826fd1dc5780a5a60407","tarball":"https://registry.npmjs.org/@anakin824/finpod-embedding/-/finpod-embedding-0.2.2.tgz","fileCount":13,"integrity":"sha512-6REfraABAH2a/eHDAuIp4pXvBPnlqhZj1HoqoWgK/7wTa/ECMfoEXqk7tpDxfRda3cJRZ8Ok+jBaH8ELhGbTbQ==","signatures":[{"sig":"MEQCIAaD5KlS/RY343yHmcyvVlD+hGrh+nX6ZYdX9Nr+il/TAiA0Fp95N68NGNoypY64ct9plG6bhJv+vxusohzbN++EXA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4677317},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles":"./app/globals.css"},"scripts":{"dev":"next dev","lint":"next lint","build":"next build","start":"next start","build:all":"npm run build:lib && npm run build","build:lib":"tsup","prepublishOnly":"npm run build:lib"},"_npmUser":{"name":"anakin824","email":"admin@prodigee.dev"},"repository":{"url":"git+https://github.com/anakin824/finpod-embedding.git","type":"git"},"_npmVersion":"11.5.1","description":"FinPod ERP Portal - Embeddable components and features for accounting, inventory, and order management","directories":{},"_nodeVersion":"24.5.0","dependencies":{"clsx":"^2.1.1","react-icons":"^5.5.0","tailwind-merge":"^3.4.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","eslint":"^8.57.0","postcss":"^8.4.0","typescript":"^5.5.0","@types/node":"^20.14.0","tailwindcss":"^3.4.0","@types/react":"^18.3.27","autoprefixer":"^10.4.0","@types/react-dom":"^18.3.7","eslint-config-next":"^14.2.0"},"peerDependencies":{"yup":"^1.0.0","zod":"^4.0.0","antd":"^5.15.0 || ^6.0.0","next":"^14.2.0","axios":"^1.0.0","react":"^18.3.0","date-fns":"^3.6.0 || ^4.0.0","recharts":"^2.0.0 || ^3.0.0","react-dom":"^18.3.0","lucide-react":"^0.400.0","react-select":"^5.0.0","@mui/material":"^5.0.0 || ^7.0.0","react-toastify":"^11.0.0","react-hook-form":"^7.0.0","@headlessui/react":"^2.0.0","@hookform/resolvers":"^5.0.0","@mui/icons-material":"^5.0.0 || ^7.0.0","@tanstack/react-query":"^5.0.0"},"peerDependenciesMeta":{"yup":{"optional":true},"zod":{"optional":true},"antd":{"optional":true},"@mui/material":{"optional":true},"@mui/icons-material":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/finpod-embedding_0.2.2_1769908469529_0.1599023662033534","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@anakin824/finpod-embedding","version":"0.2.3","description":"FinPod ERP Portal - Embeddable components and features for accounting, inventory, and order management","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./styles":"./app/globals.css"},"keywords":["erp","accounting","finance","inventory","orders","embeddable","react","nextjs"],"author":{"name":"anakin824"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/anakin824/finpod-embedding.git"},"scripts":{"dev":"next dev","build":"next build","build:lib":"tsup","build:all":"npm run build:lib && npm run build","start":"next start","lint":"next lint","prepublishOnly":"npm run build:lib"},"peerDependencies":{"@headlessui/react":"^2.0.0","@hookform/resolvers":"^5.0.0","@mui/icons-material":"^5.0.0 || ^7.0.0","@mui/material":"^5.0.0 || ^7.0.0","@tanstack/react-query":"^5.0.0","antd":"^5.15.0 || ^6.0.0","axios":"^1.0.0","date-fns":"^3.6.0 || ^4.0.0","lucide-react":"^0.400.0","recharts":"^2.0.0 || ^3.0.0","next":"^14.2.0","react":"^18.3.0","react-dom":"^18.3.0","react-hook-form":"^7.0.0","react-select":"^5.0.0","react-toastify":"^11.0.0","yup":"^1.0.0","zod":"^4.0.0"},"peerDependenciesMeta":{"antd":{"optional":true},"@mui/material":{"optional":true},"@mui/icons-material":{"optional":true},"yup":{"optional":true},"zod":{"optional":true}},"dependencies":{"clsx":"^2.1.1","react-icons":"^5.5.0","tailwind-merge":"^3.4.0"},"devDependencies":{"@types/node":"^20.14.0","@types/react":"^18.3.27","@types/react-dom":"^18.3.7","autoprefixer":"^10.4.0","eslint":"^8.57.0","eslint-config-next":"^14.2.0","postcss":"^8.4.0","tailwindcss":"^3.4.0","tsup":"^8.5.1","typescript":"^5.5.0"},"_id":"@anakin824/finpod-embedding@0.2.3","bugs":{"url":"https://github.com/anakin824/finpod-embedding/issues"},"homepage":"https://github.com/anakin824/finpod-embedding#readme","_nodeVersion":"24.5.0","_npmVersion":"11.5.1","dist":{"integrity":"sha512-DXCyojyk6f3Ec0a+g/XOcLkT0scIUiTr6YJNuHk8mWvVd7nokKVcQSxLw5nj3M8NWhHVItK2p0WwyPTWQUGtaA==","shasum":"d2eccfee4c2c197addf979eb2287307aaff97ee2","tarball":"https://registry.npmjs.org/@anakin824/finpod-embedding/-/finpod-embedding-0.2.3.tgz","fileCount":13,"unpackedSize":4737041,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBOeEZGUTh7ZBNElfwGXYnmy99n5LZQOK7DbkafFBessAiEAoxoWYmXErj3aLRVOj2Qls80Ed8WlY2QS2WqJl3n5Qkk="}]},"_npmUser":{"name":"anakin824","email":"admin@prodigee.dev"},"directories":{},"maintainers":[{"name":"anakin824","email":"admin@prodigee.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/finpod-embedding_0.2.3_1769967076715_0.7594630568162404"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-31T19:31:23.642Z","modified":"2026-02-01T17:31:16.995Z","0.1.0":"2026-01-31T19:31:24.004Z","0.2.0":"2026-01-31T23:26:14.354Z","0.2.1":"2026-02-01T00:04:19.597Z","0.2.2":"2026-02-01T01:14:29.726Z","0.2.3":"2026-02-01T17:31:16.894Z"},"bugs":{"url":"https://github.com/anakin824/finpod-embedding/issues"},"author":{"name":"anakin824"},"license":"MIT","homepage":"https://github.com/anakin824/finpod-embedding#readme","keywords":["erp","accounting","finance","inventory","orders","embeddable","react","nextjs"],"repository":{"type":"git","url":"git+https://github.com/anakin824/finpod-embedding.git"},"description":"FinPod ERP Portal - Embeddable components and features for accounting, inventory, and order management","maintainers":[{"name":"anakin824","email":"admin@prodigee.dev"}],"readme":"# @anakin824/finpod-embedding\n\nEmbeddable FinPod UI components for Next.js applications.\n\n## Installation\n\n```bash\nnpm install @anakin824/finpod-embedding\n```\n\n## Quick Start\n\n### 1. Wrap your app with FinPodProvider\n\n```typescript\n// app/layout.tsx\nimport { FinPodProvider } from '@anakin824/finpod-embedding';\n\nexport default function RootLayout({ children }) {\n  return (\n    <html>\n      <body>\n        <FinPodProvider \n          apiUrl=\"https://your-api.example.com/api/v1\"\n          getAuthToken={() => {\n            // Get token from your app's auth system\n            return localStorage.getItem('auth_token');\n          }}\n          onAuthError={() => {\n            // Handle auth errors\n            window.location.href = '/login';\n          }}\n        >\n          {children}\n        </FinPodProvider>\n      </body>\n    </html>\n  );\n}\n```\n\n### 2. Use portal pages/components\n\n```typescript\n// app/erp/chart-accounts/page.tsx\nimport { ChartAccountsPage } from '@anakin824/finpod-embedding';\n\nexport default function Page() {\n  return <ChartAccountsPage />;\n}\n```\n\n## Configuration\n\n### FinPodProvider Props\n\n| Prop | Type | Required | Description |\n|------|------|----------|-------------|\n| `apiUrl` | `string` | Yes | Base URL for FinPod API |\n| `getAuthToken` | `() => string \\| null` | No | Function to get auth token (defaults to localStorage) |\n| `onAuthError` | `() => void` | No | Callback when API returns 401/403 |\n| `onTokenExpired` | `() => void` | No | Callback when token expires |\n\n## Available Components\n\n### Pages\n- `ChartAccountsPage` - Chart of Accounts management\n- `OrdersPage` - Sales Orders\n- `PurchaseOrdersPage` - Purchase Orders\n- `ItemsPage` - Inventory Items\n- `WarehousesPage` - Warehouse management\n- `StockEntriesPage` - Stock entry management\n- `GeneralLedgerPage` - General Ledger view\n- `JournalEntriesPage` - Journal Entries\n- `CustomersPage` - Customer management\n- `SuppliersPage` - Supplier management\n- `CompaniesPage` - Company management\n- `InvoicesPage` - Invoice management\n- `AccountsPayablePage` - Accounts Payable\n- `AccountsReceivablePage` - Accounts Receivable\n- `DashboardPage` - Dashboard\n\n### Components\n- `StatusBadge` - Status badge component\n- `DataTable` - Data table component\n- `PayButton` - Payment button component\n\n### Hooks\nAll React Query hooks are exported for custom implementations:\n- `useChartAccounts`\n- `useOrders`\n- `useItems`\n- `useCustomers`\n- `useSuppliers`\n- And more...\n\n## Examples\n\n### Using Individual Components\n\n```typescript\nimport { ChartAccountsPage, OrdersPage } from '@anakin824/finpod-embedding';\n\n// In your route\n<ChartAccountsPage />\n```\n\n### Using Hooks Directly\n\n```typescript\nimport { useChartAccounts } from '@anakin824/finpod-embedding';\n\nfunction CustomComponent() {\n  const { data, isLoading } = useChartAccounts();\n  // Use data...\n}\n```\n\n### Custom Token Source\n\n```typescript\n<FinPodProvider \n  apiUrl=\"https://api.example.com/api/v1\"\n  getAuthToken={() => {\n    // Get from your app's auth context\n    return useAuth().token;\n  }}\n>\n  {children}\n</FinPodProvider>\n```\n\n## Requirements\n\n- React 18+\n- Next.js 14+\n- @tanstack/react-query 5+\n\n## License\n\nMIT\n","readmeFilename":"README.npm.md"}