@freedom_sky/feige-lib 4.0.0 → 4.4.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 +6 -0
- package/dist/const/const.js +6 -1
- package/package.json +1 -1
- package/src/const/const.ts +6 -1
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;
|
|
@@ -163,18 +165,21 @@ declare class Const {
|
|
|
163
165
|
dateTime: string;
|
|
164
166
|
date: string;
|
|
165
167
|
yearMonth: string;
|
|
168
|
+
MonthDay: string;
|
|
166
169
|
yearMonthDayHourMinute: string;
|
|
167
170
|
};
|
|
168
171
|
DAY_MONTH_YEAR: {
|
|
169
172
|
dateTime: string;
|
|
170
173
|
date: string;
|
|
171
174
|
yearMonth: string;
|
|
175
|
+
MonthDay: string;
|
|
172
176
|
yearMonthDayHourMinute: string;
|
|
173
177
|
};
|
|
174
178
|
YEAR_MONTH_DAY_REVERSE: {
|
|
175
179
|
dateTime: string;
|
|
176
180
|
date: string;
|
|
177
181
|
yearMonth: string;
|
|
182
|
+
MonthDay: string;
|
|
178
183
|
yearMonthDayHourMinute: string;
|
|
179
184
|
};
|
|
180
185
|
};
|
|
@@ -214,6 +219,7 @@ declare class Const {
|
|
|
214
219
|
PRINT_FINISHED: string;
|
|
215
220
|
CHANGE_ORDER_OPERATOR: string;
|
|
216
221
|
CHANGE_TABLE: string;
|
|
222
|
+
MERGE_TABLE: string;
|
|
217
223
|
WAITER_OFFLINE_CHANGE_ORDER_OPERATOR: string;
|
|
218
224
|
WAITER_OFFLINE_CHANGE_ORDER_OPERATOR_FINISHED: string;
|
|
219
225
|
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',
|
|
@@ -258,18 +259,21 @@ var Const = /** @class */ (function () {
|
|
|
258
259
|
dateTime: 'YYYY-MM-DD HH:mm:ss',
|
|
259
260
|
date: 'YYYY-MM-DD',
|
|
260
261
|
yearMonth: 'YYYY-MM',
|
|
262
|
+
MonthDay: 'MM-DD HH:mm',
|
|
261
263
|
yearMonthDayHourMinute: 'YYYY-MM-DD HH:mm',
|
|
262
264
|
},
|
|
263
265
|
DAY_MONTH_YEAR: {
|
|
264
266
|
dateTime: 'DD-MM-YYYY HH:mm:ss',
|
|
265
267
|
date: 'DD-MM-YYYY',
|
|
266
268
|
yearMonth: 'MM-YYYY',
|
|
269
|
+
MonthDay: 'DD-MM HH:mm',
|
|
267
270
|
yearMonthDayHourMinute: 'DD-MM-YYYY HH:mm',
|
|
268
271
|
},
|
|
269
272
|
YEAR_MONTH_DAY_REVERSE: {
|
|
270
273
|
dateTime: 'HH:mm:ss YYYY-MM-DD',
|
|
271
274
|
date: 'YYYY-MM-DD',
|
|
272
275
|
yearMonth: 'YYYY-MM',
|
|
276
|
+
MonthDay: 'MM-DD HH:mm',
|
|
273
277
|
yearMonthDayHourMinute: 'HH:mm YYYY-MM-DD',
|
|
274
278
|
},
|
|
275
279
|
};
|
|
@@ -309,6 +313,7 @@ var Const = /** @class */ (function () {
|
|
|
309
313
|
PRINT_FINISHED: 'printFinished',
|
|
310
314
|
CHANGE_ORDER_OPERATOR: 'changeOrderOperator',
|
|
311
315
|
CHANGE_TABLE: 'changeTable',
|
|
316
|
+
MERGE_TABLE: 'mergeTable',
|
|
312
317
|
WAITER_OFFLINE_CHANGE_ORDER_OPERATOR: 'waiterOfflineChangeOrderOperator',
|
|
313
318
|
WAITER_OFFLINE_CHANGE_ORDER_OPERATOR_FINISHED: 'waiterOfflineChangeOrderOperatorFinished',
|
|
314
319
|
WAITER_ONLINE_CHANGE_ORDER_OPERATOR_FINISHED: 'waiterOnlineChangeOrderOperatorFinished',
|
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',
|
|
@@ -255,18 +256,21 @@ class Const {
|
|
|
255
256
|
dateTime: 'YYYY-MM-DD HH:mm:ss',
|
|
256
257
|
date: 'YYYY-MM-DD',
|
|
257
258
|
yearMonth: 'YYYY-MM',
|
|
259
|
+
MonthDay: 'MM-DD HH:mm',
|
|
258
260
|
yearMonthDayHourMinute: 'YYYY-MM-DD HH:mm',
|
|
259
261
|
},
|
|
260
262
|
DAY_MONTH_YEAR: {
|
|
261
263
|
dateTime: 'DD-MM-YYYY HH:mm:ss',
|
|
262
264
|
date: 'DD-MM-YYYY',
|
|
263
265
|
yearMonth: 'MM-YYYY',
|
|
266
|
+
MonthDay: 'DD-MM HH:mm',
|
|
264
267
|
yearMonthDayHourMinute: 'DD-MM-YYYY HH:mm',
|
|
265
268
|
},
|
|
266
269
|
YEAR_MONTH_DAY_REVERSE: {
|
|
267
270
|
dateTime: 'HH:mm:ss YYYY-MM-DD',
|
|
268
271
|
date: 'YYYY-MM-DD',
|
|
269
272
|
yearMonth: 'YYYY-MM',
|
|
273
|
+
MonthDay: 'MM-DD HH:mm',
|
|
270
274
|
yearMonthDayHourMinute: 'HH:mm YYYY-MM-DD',
|
|
271
275
|
},
|
|
272
276
|
};
|
|
@@ -306,6 +310,7 @@ class Const {
|
|
|
306
310
|
PRINT_FINISHED: 'printFinished',
|
|
307
311
|
CHANGE_ORDER_OPERATOR: 'changeOrderOperator',
|
|
308
312
|
CHANGE_TABLE: 'changeTable',
|
|
313
|
+
MERGE_TABLE: 'mergeTable',
|
|
309
314
|
WAITER_OFFLINE_CHANGE_ORDER_OPERATOR: 'waiterOfflineChangeOrderOperator', // 该动作会触发多次,通常保持静默
|
|
310
315
|
WAITER_OFFLINE_CHANGE_ORDER_OPERATOR_FINISHED: 'waiterOfflineChangeOrderOperatorFinished',
|
|
311
316
|
WAITER_ONLINE_CHANGE_ORDER_OPERATOR_FINISHED: 'waiterOnlineChangeOrderOperatorFinished',
|