@freedom_sky/feige-lib 4.30.0 → 4.32.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.
@@ -79,6 +79,7 @@ declare class Const {
79
79
  };
80
80
  CURRENCY_SYMBOL: {
81
81
  RMB: string;
82
+ JPY: string;
82
83
  USD: string;
83
84
  EUR: string;
84
85
  VND: string;
@@ -88,6 +89,7 @@ declare class Const {
88
89
  RM: string;
89
90
  PEN: string;
90
91
  AED: string;
92
+ FT: string;
91
93
  };
92
94
  LARGE_CURRENCY: string[];
93
95
  CHINA_TYPE_DISCOUNT_LANGS: string[];
@@ -83,6 +83,7 @@ var Const = /** @class */ (function () {
83
83
  };
84
84
  this.CURRENCY_SYMBOL = {
85
85
  RMB: '¥',
86
+ JPY: '¥',
86
87
  USD: '$',
87
88
  EUR: '€',
88
89
  VND: 'đ',
@@ -92,8 +93,9 @@ var Const = /** @class */ (function () {
92
93
  RM: 'RM',
93
94
  PEN: 'S/. ',
94
95
  AED: 'AED',
96
+ FT: 'Ft',
95
97
  };
96
- this.LARGE_CURRENCY = ['đ']; //币值比较大,不需要小数而且需要三位打逗号的货币
98
+ this.LARGE_CURRENCY = ['đ', '¥']; //币值比较大,不需要小数而且需要三位打逗号的货币
97
99
  this.CHINA_TYPE_DISCOUNT_LANGS = ['zh', 'zh-tw']; //以中文习惯打折的语言
98
100
  this.UPPER_LIMIT = {
99
101
  WAITER_NUM: 10,
@@ -1574,7 +1576,7 @@ var Const = /** @class */ (function () {
1574
1576
  showPriceInStore: false,
1575
1577
  qrCode: 'https://feige-img-hub.oss-cn-hangzhou.aliyuncs.com/feige/agent/vi-agent-qr.jpeg',
1576
1578
  },
1577
- cashDenominations: [500000, 200000, 100000, 50000, 20000, 10000, 5000, 2000, 1000]
1579
+ cashDenominations: [500000, 200000, 100000, 50000, 20000, 10000, 5000, 2000, 1000],
1578
1580
  },
1579
1581
  },
1580
1582
  {
@@ -182,6 +182,7 @@ export interface ChefPrinter {
182
182
  countFront?: boolean;
183
183
  showWaiterName?: boolean;
184
184
  showSalesmanName?: boolean;
185
+ addTableNumBeforeDishName?: boolean;
185
186
  }
186
187
  export interface LabelPrinter {
187
188
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freedom_sky/feige-lib",
3
- "version": "4.30.0",
3
+ "version": "4.32.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -80,6 +80,7 @@ class Const {
80
80
  };
81
81
  CURRENCY_SYMBOL = {
82
82
  RMB: '¥',
83
+ JPY: '¥',
83
84
  USD: '$',
84
85
  EUR: '€',
85
86
  VND: 'đ',
@@ -89,8 +90,9 @@ class Const {
89
90
  RM: 'RM',
90
91
  PEN: 'S/. ', //秘鲁新索尔
91
92
  AED: 'AED', //阿联酋迪拉姆
93
+ FT: 'Ft', //匈牙利福林
92
94
  };
93
- LARGE_CURRENCY = ['đ']; //币值比较大,不需要小数而且需要三位打逗号的货币
95
+ LARGE_CURRENCY = ['đ', '¥']; //币值比较大,不需要小数而且需要三位打逗号的货币
94
96
  CHINA_TYPE_DISCOUNT_LANGS = ['zh', 'zh-tw']; //以中文习惯打折的语言
95
97
  UPPER_LIMIT = {
96
98
  WAITER_NUM: 10,
@@ -1571,7 +1573,7 @@ class Const {
1571
1573
  showPriceInStore: false,
1572
1574
  qrCode: 'https://feige-img-hub.oss-cn-hangzhou.aliyuncs.com/feige/agent/vi-agent-qr.jpeg',
1573
1575
  },
1574
- cashDenominations: [500000,200000,100000,50000,20000,10000,5000,2000,1000]
1576
+ cashDenominations: [500000, 200000, 100000, 50000, 20000, 10000, 5000, 2000, 1000],
1575
1577
  },
1576
1578
  },
1577
1579
  {
@@ -135,7 +135,7 @@ export interface Store {
135
135
  enabled: boolean;
136
136
  }[];
137
137
  readonly areas: Area[];
138
- readonly cashDenominations: number[]
138
+ readonly cashDenominations: number[];
139
139
  }
140
140
 
141
141
  export interface ReceptionPrinter {
@@ -185,6 +185,7 @@ export interface ChefPrinter {
185
185
  countFront?: boolean;
186
186
  showWaiterName?: boolean;
187
187
  showSalesmanName?: boolean;
188
+ addTableNumBeforeDishName?: boolean;
188
189
  }
189
190
 
190
191
  export interface LabelPrinter {