@freedom_sky/feige-lib 3.58.0 → 4.3.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
CHANGED
|
@@ -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;
|
|
@@ -214,6 +216,7 @@ declare class Const {
|
|
|
214
216
|
PRINT_FINISHED: string;
|
|
215
217
|
CHANGE_ORDER_OPERATOR: string;
|
|
216
218
|
CHANGE_TABLE: string;
|
|
219
|
+
MERGE_TABLE: string;
|
|
217
220
|
WAITER_OFFLINE_CHANGE_ORDER_OPERATOR: string;
|
|
218
221
|
WAITER_OFFLINE_CHANGE_ORDER_OPERATOR_FINISHED: string;
|
|
219
222
|
WAITER_ONLINE_CHANGE_ORDER_OPERATOR_FINISHED: string;
|
package/dist/const/const.js
CHANGED
|
@@ -173,7 +173,8 @@ var Const = /** @class */ (function () {
|
|
|
173
173
|
name: 'ئۇيغۇرچە',
|
|
174
174
|
img: '',
|
|
175
175
|
code: 'ug',
|
|
176
|
-
speechCode: '
|
|
176
|
+
speechCode: 'zh-CN',
|
|
177
|
+
speechLang: 'zh',
|
|
177
178
|
printCode: 'img',
|
|
178
179
|
fontFamily: 'UG',
|
|
179
180
|
dateFormat: 'YEAR_MONTH_DAY_REVERSE',
|
|
@@ -309,6 +310,7 @@ var Const = /** @class */ (function () {
|
|
|
309
310
|
PRINT_FINISHED: 'printFinished',
|
|
310
311
|
CHANGE_ORDER_OPERATOR: 'changeOrderOperator',
|
|
311
312
|
CHANGE_TABLE: 'changeTable',
|
|
313
|
+
MERGE_TABLE: 'mergeTable',
|
|
312
314
|
WAITER_OFFLINE_CHANGE_ORDER_OPERATOR: 'waiterOfflineChangeOrderOperator',
|
|
313
315
|
WAITER_OFFLINE_CHANGE_ORDER_OPERATOR_FINISHED: 'waiterOfflineChangeOrderOperatorFinished',
|
|
314
316
|
WAITER_ONLINE_CHANGE_ORDER_OPERATOR_FINISHED: 'waiterOnlineChangeOrderOperatorFinished',
|
|
@@ -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
|
@@ -170,7 +170,8 @@ class Const {
|
|
|
170
170
|
name: 'ئۇيغۇرچە',
|
|
171
171
|
img: '',
|
|
172
172
|
code: 'ug',
|
|
173
|
-
speechCode: '
|
|
173
|
+
speechCode: 'zh-CN',
|
|
174
|
+
speechLang: 'zh',
|
|
174
175
|
printCode: 'img',
|
|
175
176
|
fontFamily: 'UG',
|
|
176
177
|
dateFormat: 'YEAR_MONTH_DAY_REVERSE',
|
|
@@ -306,6 +307,7 @@ class Const {
|
|
|
306
307
|
PRINT_FINISHED: 'printFinished',
|
|
307
308
|
CHANGE_ORDER_OPERATOR: 'changeOrderOperator',
|
|
308
309
|
CHANGE_TABLE: 'changeTable',
|
|
310
|
+
MERGE_TABLE: 'mergeTable',
|
|
309
311
|
WAITER_OFFLINE_CHANGE_ORDER_OPERATOR: 'waiterOfflineChangeOrderOperator', // 该动作会触发多次,通常保持静默
|
|
310
312
|
WAITER_OFFLINE_CHANGE_ORDER_OPERATOR_FINISHED: 'waiterOfflineChangeOrderOperatorFinished',
|
|
311
313
|
WAITER_ONLINE_CHANGE_ORDER_OPERATOR_FINISHED: 'waiterOnlineChangeOrderOperatorFinished',
|
|
@@ -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;
|