@freedom_sky/feige-lib 3.56.0 → 4.1.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.
@@ -87,6 +87,7 @@ declare class Const {
87
87
  RSD: string;
88
88
  RM: string;
89
89
  PEN: string;
90
+ AED: string;
90
91
  };
91
92
  LARGE_CURRENCY: string[];
92
93
  CHINA_TYPE_DISCOUNT_LANGS: string[];
@@ -91,6 +91,7 @@ var Const = /** @class */ (function () {
91
91
  RSD: 'RSD',
92
92
  RM: 'RM',
93
93
  PEN: 'S/. ',
94
+ AED: 'AED',
94
95
  };
95
96
  this.LARGE_CURRENCY = ['đ']; //币值比较大,不需要小数而且需要三位打逗号的货币
96
97
  this.CHINA_TYPE_DISCOUNT_LANGS = ['zh', 'zh-tw']; //以中文习惯打折的语言
@@ -172,7 +173,7 @@ var Const = /** @class */ (function () {
172
173
  name: 'ئۇيغۇرچە',
173
174
  img: '',
174
175
  code: 'ug',
175
- speechCode: 'ug-CN',
176
+ speechCode: 'zh-CN',
176
177
  printCode: 'img',
177
178
  fontFamily: 'UG',
178
179
  dateFormat: 'YEAR_MONTH_DAY_REVERSE',
@@ -10,7 +10,8 @@ export declare enum PrinterDeviceTypeEnum {
10
10
  System = "System",
11
11
  FeieYun = "FeieYun",
12
12
  XinyeYun = "XinyeYun",
13
- AiyinYun = "AiyinYun"
13
+ AiyinYun = "AiyinYun",
14
+ YilianYun = "YilianYun"
14
15
  }
15
16
  export declare enum TagPrinterDeviceTypeEnum {
16
17
  XinyeYun = "XinyeYun"
@@ -15,6 +15,7 @@ var PrinterDeviceTypeEnum;
15
15
  PrinterDeviceTypeEnum["FeieYun"] = "FeieYun";
16
16
  PrinterDeviceTypeEnum["XinyeYun"] = "XinyeYun";
17
17
  PrinterDeviceTypeEnum["AiyinYun"] = "AiyinYun";
18
+ PrinterDeviceTypeEnum["YilianYun"] = "YilianYun";
18
19
  })(PrinterDeviceTypeEnum = exports.PrinterDeviceTypeEnum || (exports.PrinterDeviceTypeEnum = {}));
19
20
  var TagPrinterDeviceTypeEnum;
20
21
  (function (TagPrinterDeviceTypeEnum) {
@@ -13,7 +13,7 @@ export interface Order {
13
13
  readonly nickName?: string;
14
14
  readonly note?: string;
15
15
  readonly merchantNote?: string;
16
- readonly printed: string[];
16
+ readonly printerPrinted: string[];
17
17
  readonly kdsPrinted: string[];
18
18
  readonly printStatus: PrintStatusEnum;
19
19
  readonly content: Content[];
@@ -66,7 +66,7 @@ export interface Task {
66
66
  callReason?: string;
67
67
  content?: Content[];
68
68
  valet?: boolean;
69
- printed: string[];
69
+ printerPrinted: string[];
70
70
  kdsPrinted: string[];
71
71
  printStatus: PrintStatusEnum;
72
72
  clientId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freedom_sky/feige-lib",
3
- "version": "3.56.0",
3
+ "version": "4.1.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -88,6 +88,7 @@ class Const {
88
88
  RSD: 'RSD',
89
89
  RM: 'RM',
90
90
  PEN: 'S/. ', //秘鲁新索尔
91
+ AED: 'AED', //阿联酋迪拉姆
91
92
  };
92
93
  LARGE_CURRENCY = ['đ']; //币值比较大,不需要小数而且需要三位打逗号的货币
93
94
  CHINA_TYPE_DISCOUNT_LANGS = ['zh', 'zh-tw']; //以中文习惯打折的语言
@@ -169,7 +170,7 @@ class Const {
169
170
  name: 'ئۇيغۇرچە',
170
171
  img: '',
171
172
  code: 'ug',
172
- speechCode: 'ug-CN',
173
+ speechCode: 'zh-CN',
173
174
  printCode: 'img',
174
175
  fontFamily: 'UG',
175
176
  dateFormat: 'YEAR_MONTH_DAY_REVERSE',
@@ -11,6 +11,7 @@ export enum PrinterDeviceTypeEnum {
11
11
  FeieYun = 'FeieYun',
12
12
  XinyeYun = 'XinyeYun',
13
13
  AiyinYun = 'AiyinYun',
14
+ YilianYun = 'YilianYun',
14
15
  }
15
16
 
16
17
  export enum TagPrinterDeviceTypeEnum {
@@ -13,7 +13,7 @@ export interface Order {
13
13
  readonly nickName?: string;
14
14
  readonly note?: string;
15
15
  readonly merchantNote?: string;
16
- readonly printed: string[];
16
+ readonly printerPrinted: string[];
17
17
  readonly kdsPrinted: string[];
18
18
  readonly printStatus: PrintStatusEnum;
19
19
  readonly content: Content[];
@@ -68,7 +68,7 @@ export interface Task {
68
68
  callReason?: string;
69
69
  content?: Content[];
70
70
  valet?: boolean;
71
- printed: string[];
71
+ printerPrinted: string[];
72
72
  kdsPrinted: string[];
73
73
  printStatus: PrintStatusEnum;
74
74
  clientId: string;