@posx/core 5.5.567 → 5.5.569

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.d.ts CHANGED
@@ -2919,6 +2919,8 @@ interface IInvoiceCoreLine {
2919
2919
  kds_done: number;
2920
2920
  /** KDS prepared quantity for multi-station kitchen flow */
2921
2921
  kds_prepared?: number;
2922
+ /** KDS batch: last cleared kds_done value, only updated on kds_done display devices when order item is fully cleared. Prep station shows (kds_prepared - kds_batch) / (quantity - kds_batch) */
2923
+ kds_batch?: number;
2922
2924
  /** Whether cancel slip is printed */
2923
2925
  is_cancel_printed: boolean;
2924
2926
  /** Whether it is selected */
@@ -3139,6 +3141,7 @@ declare class InvoiceCoreLine implements IInvoiceCoreLine {
3139
3141
  sent: number;
3140
3142
  kds_done: number;
3141
3143
  kds_prepared: number;
3144
+ kds_batch: number;
3142
3145
  is_cancel_printed: boolean;
3143
3146
  selected: boolean;
3144
3147
  sales_user_uid: string;
@@ -3171,6 +3174,7 @@ declare class InvoiceLine extends AppCoreModel implements IInvoiceLine {
3171
3174
  sent: number;
3172
3175
  kds_done: number;
3173
3176
  kds_prepared: number;
3177
+ kds_batch: number;
3174
3178
  is_cancel_printed: boolean;
3175
3179
  selected: boolean;
3176
3180
  sales_user_uid: string;
@@ -6157,8 +6161,12 @@ interface IExportRow {
6157
6161
  //#region src/utils/csv.utils.d.ts
6158
6162
  /** Create CSV export blob from categories and products. Uses existing code/plu fields as-is. */
6159
6163
  declare function createCSVExport(categories: ICategory[], products: IItem[], filename?: string): Blob;
6160
- /** Same as createCSVExport but auto-generates missing category code / item PLU via SHA-256 hash. */
6161
- declare function createCSVExportWithHash(categories: ICategory[], products: IItem[], filename?: string): Promise<Blob>;
6164
+ /** Same as createCSVExport but auto-generates missing category code / item PLU via SHA-256 hash. Returns blob and uid-to-plu/code mappings. */
6165
+ declare function createCSVExportWithHash(categories: ICategory[], products: IItem[]): Promise<{
6166
+ blob: Blob;
6167
+ productPluByUid: Map<string, string>;
6168
+ categoryCodeByUid: Map<string, string>;
6169
+ }>;
6162
6170
  /** Import categories and products from CSV file */
6163
6171
  declare function importFromCSV(file: File): Promise<{
6164
6172
  categories: ICategory[];