@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.
- package/dist/const/const.d.ts +1 -0
- package/dist/const/const.js +2 -1
- package/dist/enum/printer.enum.d.ts +2 -1
- package/dist/enum/printer.enum.js +1 -0
- package/dist/interfaces/order/order.interface.d.ts +2 -2
- package/package.json +1 -1
- package/src/const/const.ts +2 -1
- package/src/enum/printer.enum.ts +1 -0
- package/src/interfaces/order/order.interface.ts +2 -2
package/dist/const/const.d.ts
CHANGED
package/dist/const/const.js
CHANGED
|
@@ -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: '
|
|
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
|
|
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
|
-
|
|
69
|
+
printerPrinted: string[];
|
|
70
70
|
kdsPrinted: string[];
|
|
71
71
|
printStatus: PrintStatusEnum;
|
|
72
72
|
clientId: string;
|
package/package.json
CHANGED
package/src/const/const.ts
CHANGED
|
@@ -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: '
|
|
173
|
+
speechCode: 'zh-CN',
|
|
173
174
|
printCode: 'img',
|
|
174
175
|
fontFamily: 'UG',
|
|
175
176
|
dateFormat: 'YEAR_MONTH_DAY_REVERSE',
|
package/src/enum/printer.enum.ts
CHANGED
|
@@ -13,7 +13,7 @@ export interface Order {
|
|
|
13
13
|
readonly nickName?: string;
|
|
14
14
|
readonly note?: string;
|
|
15
15
|
readonly merchantNote?: string;
|
|
16
|
-
readonly
|
|
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
|
-
|
|
71
|
+
printerPrinted: string[];
|
|
72
72
|
kdsPrinted: string[];
|
|
73
73
|
printStatus: PrintStatusEnum;
|
|
74
74
|
clientId: string;
|