How veloraexplains/cartoniq works
CartonIQ is an offline-first packaging business suite: users design and cost boxes, manage customers and quotations, convert approved quotations into production orders, track manufacturing and stock, and produce business documents. The graph includes the documented engineering, reporting, and administration capabilities alongside this workflow. Relationships are limited to imports and calls visible in the excerpts or SOURCE INDEX; unsampled implementations are represented by their exact tree paths, not inferred internal behavior.
Main entry points: App.tsx App navigation and lock · storage.ts Local offline storage · FactorySettingsView.tsx Factory settings · OrderTracker.tsx Order tracker
Components 25
App shell
- App navigation and lock
src/App.tsx
Design and engineering
- Packaging calculator
src/components/calculator/SmartCalculator.tsx - Manufacturing calculations
src/utils/calculator.ts - Numeric input
src/components/common/NumericInput.tsx - Box designer
src/components/designer/BoxDesigner.tsx - 3D box viewer
src/components/3d/Box3DViewer.tsx - 2D die-line viewer
src/components/designer/DieLine2DViewer.tsx - Plant engineering suite
src/components/engineering/EngineeringSuite.tsx
Commercial operations
- Customer CRM
src/components/crm/CustomerCRM.tsx - Quotation manager
src/components/quotations/QuotationManager.tsx
Plant operations
- Order tracker
src/components/orders/OrderTracker.tsx - Delivery challan
src/components/orders/DeliveryChallanModal.tsx - Production job card
src/components/orders/JobCardModal.tsx - Paper inventory
src/components/inventory/InventoryManager.tsx - Business reports
src/components/reports/ReportsView.tsx
Local data and documents
- Factory settings
src/components/settings/FactorySettingsView.tsx - Security settings
src/components/settings/SecuritySettings.tsx - Backup and restore
src/components/settings/BackupRestoreView.tsx - Activity history
src/components/settings/ActivityHistoryView.tsx - Safe data deletion
src/components/settings/SafeDataDeletionView.tsx - About and legal
src/components/settings/AboutLegalView.tsx - Local offline storage
src/utils/storage.ts - Document printing
src/utils/printHelper.ts
Other components
- Factory user
- Native printer service
Connections 48
- Factory user → App navigation and lock: uses
README.md - App navigation and lock → Packaging calculator: renders
src/App.tsx - App navigation and lock → Box designer: renders
src/App.tsx - App navigation and lock → Customer CRM: renders
src/App.tsx - App navigation and lock → Quotation manager: renders
src/App.tsx - App navigation and lock → Order tracker: renders
src/App.tsx - App navigation and lock → Paper inventory: renders
src/App.tsx - App navigation and lock → Business reports: renders
src/App.tsx - App navigation and lock → Plant engineering suite: renders
src/App.tsx - App navigation and lock → Factory settings: renders
src/App.tsx - App navigation and lock → Local offline storage: reads config
src/App.tsx - App navigation and lock → Security settings: configures
- App navigation and lock → Backup and restore: renders
- App navigation and lock → Activity history: renders
- App navigation and lock → Safe data deletion: renders
- App navigation and lock → About and legal: renders
- Packaging calculator → Manufacturing calculations: calculates with
src/components/calculator/SmartCalculator.tsx - Packaging calculator → Numeric input: uses
src/components/calculator/SmartCalculator.tsx - Box designer → Manufacturing calculations: calculates with
src/components/designer/BoxDesigner.tsx - Box designer → Numeric input: uses
src/components/designer/BoxDesigner.tsx - Box designer → 3D box viewer: renders
src/components/designer/BoxDesigner.tsx - Box designer → 2D die-line viewer: renders
src/components/designer/BoxDesigner.tsx - Plant engineering suite → Manufacturing calculations: uses
src/components/engineering/EngineeringSuite.tsx - Plant engineering suite → Numeric input: uses
src/components/engineering/EngineeringSuite.tsx - Customer CRM → Local offline storage: reads and writes
src/components/crm/CustomerCRM.tsx - Quotation manager → Local offline storage: reads and writes
src/components/quotations/QuotationManager.tsx - Quotation manager → Order tracker: creates order
src/components/quotations/QuotationManager.tsx - Quotation manager → Numeric input: uses
src/components/quotations/QuotationManager.tsx - Quotation manager → Document printing: prints documents
src/components/quotations/QuotationManager.tsx - Order tracker → Local offline storage: reads and writes
src/components/orders/OrderTracker.tsx - Order tracker → Delivery challan: renders
src/components/orders/OrderTracker.tsx - Order tracker → Production job card: renders
src/components/orders/OrderTracker.tsx - Order tracker → Numeric input: uses
src/components/orders/OrderTracker.tsx - Delivery challan → Document printing: prints document
src/components/orders/DeliveryChallanModal.tsx - Production job card → Document printing: prints document
src/components/orders/JobCardModal.tsx - Paper inventory → Local offline storage: reads and writes
src/components/inventory/InventoryManager.tsx - Paper inventory → Numeric input: uses
src/components/inventory/InventoryManager.tsx - Business reports → Local offline storage: reads records
src/components/reports/ReportsView.tsx - Factory settings → Local offline storage: reads and writes
src/components/settings/FactorySettingsView.tsx - Factory settings → Security settings: renders
src/components/settings/FactorySettingsView.tsx - Factory settings → Backup and restore: renders
src/components/settings/FactorySettingsView.tsx - Factory settings → Activity history: renders
src/components/settings/FactorySettingsView.tsx - Factory settings → Safe data deletion: renders
src/components/settings/FactorySettingsView.tsx - Factory settings → About and legal: renders
src/components/settings/FactorySettingsView.tsx - Security settings → Local offline storage: reads and writes
src/components/settings/SecuritySettings.tsx - Backup and restore → Local offline storage: backs up
src/components/settings/BackupRestoreView.tsx - Activity history → Local offline storage: reads history
src/components/settings/ActivityHistoryView.tsx - Safe data deletion → Local offline storage: deletes data
src/components/settings/SafeDataDeletionView.tsx