@freedom_sky/feige-lib 4.3.0 → 4.7.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
+ MonthDayHourMinute: 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
+ MonthDayHourMinute: 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
+ MonthDayHourMinute: string;
180
183
  yearMonthDayHourMinute: string;
181
184
  };
182
185
  };
@@ -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
+ MonthDayHourMinute: '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
+ MonthDayHourMinute: '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
+ MonthDayHourMinute: 'MM-DD HH:mm',
274
277
  yearMonthDayHourMinute: 'HH:mm YYYY-MM-DD',
275
278
  },
276
279
  };
@@ -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.3.0",
3
+ "version": "4.7.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
+ MonthDayHourMinute: '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
+ MonthDayHourMinute: '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
+ MonthDayHourMinute: 'MM-DD HH:mm',
271
274
  yearMonthDayHourMinute: 'HH:mm YYYY-MM-DD',
272
275
  },
273
276
  };
@@ -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 {