@freedom_sky/feige-lib 4.28.0 → 4.31.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[];
@@ -333,6 +335,7 @@ declare class Const {
333
335
  phone?: undefined;
334
336
  email?: undefined;
335
337
  };
338
+ cashDenominations?: undefined;
336
339
  };
337
340
  cost?: undefined;
338
341
  } | {
@@ -351,6 +354,7 @@ declare class Const {
351
354
  phone: string;
352
355
  email: string;
353
356
  };
357
+ cashDenominations?: undefined;
354
358
  };
355
359
  } | {
356
360
  en: string;
@@ -375,6 +379,7 @@ declare class Const {
375
379
  phone?: undefined;
376
380
  email?: undefined;
377
381
  };
382
+ cashDenominations: number[];
378
383
  };
379
384
  })[];
380
385
  }
@@ -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,
@@ -614,7 +616,7 @@ var Const = /** @class */ (function () {
614
616
  instruction: undefined,
615
617
  showPriceInStore: false,
616
618
  qrCode: 'https://feige-img-hub.oss-cn-hangzhou.aliyuncs.com/canada.jpeg',
617
- phone: '(438)506-5128',
619
+ phone: '5148986618',
618
620
  email: 'info@feige.ca',
619
621
  },
620
622
  },
@@ -1527,6 +1529,7 @@ var Const = /** @class */ (function () {
1527
1529
  zh: '阿拉伯联合酋长国',
1528
1530
  phoneCode: '971',
1529
1531
  zhHead: 'A',
1532
+ cost: 6,
1530
1533
  },
1531
1534
  {
1532
1535
  en: 'United Kiongdom',
@@ -1573,6 +1576,7 @@ var Const = /** @class */ (function () {
1573
1576
  showPriceInStore: false,
1574
1577
  qrCode: 'https://feige-img-hub.oss-cn-hangzhou.aliyuncs.com/feige/agent/vi-agent-qr.jpeg',
1575
1578
  },
1579
+ cashDenominations: [500000, 200000, 100000, 50000, 20000, 10000, 5000, 2000, 1000],
1576
1580
  },
1577
1581
  },
1578
1582
  {
@@ -134,6 +134,7 @@ export interface Store {
134
134
  enabled: boolean;
135
135
  }[];
136
136
  readonly areas: Area[];
137
+ readonly cashDenominations: number[];
137
138
  }
138
139
  export interface ReceptionPrinter {
139
140
  _id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freedom_sky/feige-lib",
3
- "version": "4.28.0",
3
+ "version": "4.31.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,
@@ -611,7 +613,7 @@ class Const {
611
613
  instruction: undefined,
612
614
  showPriceInStore: false,
613
615
  qrCode: 'https://feige-img-hub.oss-cn-hangzhou.aliyuncs.com/canada.jpeg',
614
- phone: '(438)506-5128',
616
+ phone: '5148986618',
615
617
  email: 'info@feige.ca',
616
618
  },
617
619
  },
@@ -1524,6 +1526,7 @@ class Const {
1524
1526
  zh: '阿拉伯联合酋长国',
1525
1527
  phoneCode: '971',
1526
1528
  zhHead: 'A',
1529
+ cost: 6,
1527
1530
  },
1528
1531
  {
1529
1532
  en: 'United Kiongdom',
@@ -1570,6 +1573,7 @@ class Const {
1570
1573
  showPriceInStore: false,
1571
1574
  qrCode: 'https://feige-img-hub.oss-cn-hangzhou.aliyuncs.com/feige/agent/vi-agent-qr.jpeg',
1572
1575
  },
1576
+ cashDenominations: [500000, 200000, 100000, 50000, 20000, 10000, 5000, 2000, 1000],
1573
1577
  },
1574
1578
  },
1575
1579
  {
@@ -135,6 +135,7 @@ export interface Store {
135
135
  enabled: boolean;
136
136
  }[];
137
137
  readonly areas: Area[];
138
+ readonly cashDenominations: number[];
138
139
  }
139
140
 
140
141
  export interface ReceptionPrinter {