@freedom_sky/feige-lib 4.2.0 → 4.6.0

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.
@@ -165,18 +165,21 @@ declare class Const {
165
165
  dateTime: string;
166
166
  date: string;
167
167
  yearMonth: string;
168
+ MonthDay: string;
168
169
  yearMonthDayHourMinute: string;
169
170
  };
170
171
  DAY_MONTH_YEAR: {
171
172
  dateTime: string;
172
173
  date: string;
173
174
  yearMonth: string;
175
+ MonthDay: string;
174
176
  yearMonthDayHourMinute: string;
175
177
  };
176
178
  YEAR_MONTH_DAY_REVERSE: {
177
179
  dateTime: string;
178
180
  date: string;
179
181
  yearMonth: string;
182
+ MonthDay: string;
180
183
  yearMonthDayHourMinute: string;
181
184
  };
182
185
  };
@@ -216,6 +219,7 @@ declare class Const {
216
219
  PRINT_FINISHED: string;
217
220
  CHANGE_ORDER_OPERATOR: string;
218
221
  CHANGE_TABLE: string;
222
+ MERGE_TABLE: string;
219
223
  WAITER_OFFLINE_CHANGE_ORDER_OPERATOR: string;
220
224
  WAITER_OFFLINE_CHANGE_ORDER_OPERATOR_FINISHED: string;
221
225
  WAITER_ONLINE_CHANGE_ORDER_OPERATOR_FINISHED: string;
@@ -259,18 +259,21 @@ var Const = /** @class */ (function () {
259
259
  dateTime: 'YYYY-MM-DD HH:mm:ss',
260
260
  date: 'YYYY-MM-DD',
261
261
  yearMonth: 'YYYY-MM',
262
+ MonthDay: 'MM-DD HH:mm',
262
263
  yearMonthDayHourMinute: 'YYYY-MM-DD HH:mm',
263
264
  },
264
265
  DAY_MONTH_YEAR: {
265
266
  dateTime: 'DD-MM-YYYY HH:mm:ss',
266
267
  date: 'DD-MM-YYYY',
267
268
  yearMonth: 'MM-YYYY',
269
+ MonthDay: 'DD-MM HH:mm',
268
270
  yearMonthDayHourMinute: 'DD-MM-YYYY HH:mm',
269
271
  },
270
272
  YEAR_MONTH_DAY_REVERSE: {
271
273
  dateTime: 'HH:mm:ss YYYY-MM-DD',
272
274
  date: 'YYYY-MM-DD',
273
275
  yearMonth: 'YYYY-MM',
276
+ MonthDay: 'MM-DD HH:mm',
274
277
  yearMonthDayHourMinute: 'HH:mm YYYY-MM-DD',
275
278
  },
276
279
  };
@@ -310,6 +313,7 @@ var Const = /** @class */ (function () {
310
313
  PRINT_FINISHED: 'printFinished',
311
314
  CHANGE_ORDER_OPERATOR: 'changeOrderOperator',
312
315
  CHANGE_TABLE: 'changeTable',
316
+ MERGE_TABLE: 'mergeTable',
313
317
  WAITER_OFFLINE_CHANGE_ORDER_OPERATOR: 'waiterOfflineChangeOrderOperator',
314
318
  WAITER_OFFLINE_CHANGE_ORDER_OPERATOR_FINISHED: 'waiterOfflineChangeOrderOperatorFinished',
315
319
  WAITER_ONLINE_CHANGE_ORDER_OPERATOR_FINISHED: 'waiterOnlineChangeOrderOperatorFinished',
@@ -22,5 +22,6 @@ export declare enum PrinterWidthEnum {
22
22
  }
23
23
  export declare enum PrintTypeEnum {
24
24
  Reception = "reception",
25
- Chef = "chef"
25
+ Chef = "chef",
26
+ Label = "label"
26
27
  }
@@ -30,4 +30,5 @@ var PrintTypeEnum;
30
30
  (function (PrintTypeEnum) {
31
31
  PrintTypeEnum["Reception"] = "reception";
32
32
  PrintTypeEnum["Chef"] = "chef";
33
+ PrintTypeEnum["Label"] = "label";
33
34
  })(PrintTypeEnum = exports.PrintTypeEnum || (exports.PrintTypeEnum = {}));
@@ -147,6 +147,7 @@ export interface ReceptionPrinter {
147
147
  specificationInNewLine?: boolean;
148
148
  customInformationAtStart?: string;
149
149
  customInformationAtEnd?: string;
150
+ showWaiterName?: boolean;
150
151
  }
151
152
  export interface ChefPrinter {
152
153
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freedom_sky/feige-lib",
3
- "version": "4.2.0",
3
+ "version": "4.6.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -256,18 +256,21 @@ class Const {
256
256
  dateTime: 'YYYY-MM-DD HH:mm:ss',
257
257
  date: 'YYYY-MM-DD',
258
258
  yearMonth: 'YYYY-MM',
259
+ MonthDay: 'MM-DD HH:mm',
259
260
  yearMonthDayHourMinute: 'YYYY-MM-DD HH:mm',
260
261
  },
261
262
  DAY_MONTH_YEAR: {
262
263
  dateTime: 'DD-MM-YYYY HH:mm:ss',
263
264
  date: 'DD-MM-YYYY',
264
265
  yearMonth: 'MM-YYYY',
266
+ MonthDay: 'DD-MM HH:mm',
265
267
  yearMonthDayHourMinute: 'DD-MM-YYYY HH:mm',
266
268
  },
267
269
  YEAR_MONTH_DAY_REVERSE: {
268
270
  dateTime: 'HH:mm:ss YYYY-MM-DD',
269
271
  date: 'YYYY-MM-DD',
270
272
  yearMonth: 'YYYY-MM',
273
+ MonthDay: 'MM-DD HH:mm',
271
274
  yearMonthDayHourMinute: 'HH:mm YYYY-MM-DD',
272
275
  },
273
276
  };
@@ -307,6 +310,7 @@ class Const {
307
310
  PRINT_FINISHED: 'printFinished',
308
311
  CHANGE_ORDER_OPERATOR: 'changeOrderOperator',
309
312
  CHANGE_TABLE: 'changeTable',
313
+ MERGE_TABLE: 'mergeTable',
310
314
  WAITER_OFFLINE_CHANGE_ORDER_OPERATOR: 'waiterOfflineChangeOrderOperator', // 该动作会触发多次,通常保持静默
311
315
  WAITER_OFFLINE_CHANGE_ORDER_OPERATOR_FINISHED: 'waiterOfflineChangeOrderOperatorFinished',
312
316
  WAITER_ONLINE_CHANGE_ORDER_OPERATOR_FINISHED: 'waiterOnlineChangeOrderOperatorFinished',
@@ -25,4 +25,5 @@ export enum PrinterWidthEnum {
25
25
  export enum PrintTypeEnum {
26
26
  Reception = 'reception',
27
27
  Chef = 'chef',
28
+ Label = 'label'
28
29
  }
@@ -149,6 +149,7 @@ export interface ReceptionPrinter {
149
149
  specificationInNewLine?: boolean;
150
150
  customInformationAtStart?: string;
151
151
  customInformationAtEnd?: string;
152
+ showWaiterName?: boolean;
152
153
  }
153
154
 
154
155
  export interface ChefPrinter {