@freedom_sky/feige-lib 3.57.0 → 4.2.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.
@@ -145,6 +145,7 @@ declare class Const {
145
145
  printCode: string;
146
146
  dateFormat: string;
147
147
  defaultAreaCode: string;
148
+ speechLang?: undefined;
148
149
  fontFamily?: undefined;
149
150
  rtl?: undefined;
150
151
  } | {
@@ -152,6 +153,7 @@ declare class Const {
152
153
  img: string;
153
154
  code: string;
154
155
  speechCode: string;
156
+ speechLang: string;
155
157
  printCode: string;
156
158
  fontFamily: string;
157
159
  dateFormat: string;
@@ -173,7 +173,8 @@ var Const = /** @class */ (function () {
173
173
  name: 'ئۇيغۇرچە',
174
174
  img: '',
175
175
  code: 'ug',
176
- speechCode: 'ug-CN',
176
+ speechCode: 'zh-CN',
177
+ speechLang: 'zh',
177
178
  printCode: 'img',
178
179
  fontFamily: 'UG',
179
180
  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.57.0",
3
+ "version": "4.2.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -170,7 +170,8 @@ class Const {
170
170
  name: 'ئۇيغۇرچە',
171
171
  img: '',
172
172
  code: 'ug',
173
- speechCode: 'ug-CN',
173
+ speechCode: 'zh-CN',
174
+ speechLang: 'zh',
174
175
  printCode: 'img',
175
176
  fontFamily: 'UG',
176
177
  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;