- Added @point-of-sale/receipt-printer-encoder dependency to package.json. - Implemented useThermalPrinter hook for managing Bluetooth and USB printer connections. - Created encodeOrderReceipt function to format receipt data for printing. - Enhanced TransactionIndex component to include printer connection options and receipt printing functionality. - Added dropdown menu for selecting printer connection type (Bluetooth/USB) and printing receipt options (58mm/80mm). - Updated TransactionCardRow to include print receipt actions. - Defined TypeScript types for receipt printer encoder and web Bluetooth/USB APIs. - Configured Vite to optimize dependencies for receipt printer encoder. |
||
|---|---|---|
| .. | ||
| auth.ts | ||
| global.d.ts | ||
| index.ts | ||
| navigation.ts | ||
| receipt-printer-encoder.d.ts | ||
| ui.ts | ||
| vite-env.d.ts | ||
| web-bluetooth-usb.d.ts | ||