@freedom_sky/feige-lib 4.37.0 → 4.38.1

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/CHANGE.md ADDED
@@ -0,0 +1,8 @@
1
+ # 4.38.1
2
+ - change ug dateFormat to DateFormat.YEAR_MONTH_DAY,
3
+
4
+ # 4.38.0
5
+ - add extendedPrintingLangs and multiLangDirection to store printer interface
6
+
7
+ # 4.37.0
8
+ - add MultiLangDirectionEnum
@@ -196,7 +196,7 @@ var Const = /** @class */ (function () {
196
196
  speechCode: 'zh-CN',
197
197
  speechLang: 'zh',
198
198
  fontFamily: 'UG',
199
- dateFormat: common_enum_1.DateFormat.YEAR_MONTH_DAY_REVERSE,
199
+ dateFormat: common_enum_1.DateFormat.YEAR_MONTH_DAY,
200
200
  defaultAreaCode: '86',
201
201
  rtl: true,
202
202
  codepage: 'utf-8',
@@ -4,7 +4,7 @@ import { Specification } from './specification.interface';
4
4
  import { Subscription } from './subscription.interface';
5
5
  import { MemberSavingRule } from './member.interface';
6
6
  import { TaxTypeEnum } from '../../enum/tax.enum';
7
- import { PrinterDeviceTypeEnum, PrinterWidthEnum, TagPrinterDeviceTypeEnum, EncodeTypeEnum } from '../../enum/printer.enum';
7
+ import { PrinterDeviceTypeEnum, PrinterWidthEnum, TagPrinterDeviceTypeEnum, EncodeTypeEnum, MultiLangDirectionEnum } from '../../enum/printer.enum';
8
8
  import { TimeMenuLoopMode } from '../../enum/time-menu.enum';
9
9
  import { WeekEnum } from '../../enum/common.enum';
10
10
  export interface Store {
@@ -161,6 +161,8 @@ export interface ReceptionPrinter {
161
161
  showSalesmanName?: boolean;
162
162
  showUnitPrice?: boolean;
163
163
  encodeType?: EncodeTypeEnum;
164
+ extendedPrintingLangs?: string[];
165
+ multiLangDirection?: MultiLangDirectionEnum;
164
166
  }
165
167
  export interface ChefPrinter {
166
168
  name: string;
@@ -185,6 +187,8 @@ export interface ChefPrinter {
185
187
  showSalesmanName?: boolean;
186
188
  addTableNumBeforeDishName?: boolean;
187
189
  encodeType?: EncodeTypeEnum;
190
+ extendedPrintingLangs?: string[];
191
+ multiLangDirection?: MultiLangDirectionEnum;
188
192
  }
189
193
  export interface LabelPrinter {
190
194
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freedom_sky/feige-lib",
3
- "version": "4.37.0",
3
+ "version": "4.38.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -194,7 +194,7 @@ class Const {
194
194
  speechCode: 'zh-CN',
195
195
  speechLang: 'zh',
196
196
  fontFamily: 'UG',
197
- dateFormat: DateFormat.YEAR_MONTH_DAY_REVERSE,
197
+ dateFormat: DateFormat.YEAR_MONTH_DAY,
198
198
  defaultAreaCode: '86',
199
199
  rtl: true,
200
200
  codepage: 'utf-8',
@@ -37,5 +37,5 @@ export enum EncodeTypeEnum {
37
37
 
38
38
  export enum MultiLangDirectionEnum {
39
39
  HORIZONTAL = 'horizontal',
40
- VERTICAL = 'vertical'
41
- }
40
+ VERTICAL = 'vertical',
41
+ }
@@ -9,6 +9,7 @@ import {
9
9
  PrinterWidthEnum,
10
10
  TagPrinterDeviceTypeEnum,
11
11
  EncodeTypeEnum,
12
+ MultiLangDirectionEnum,
12
13
  } from '../../enum/printer.enum';
13
14
  import { TimeMenuLoopMode } from '../../enum/time-menu.enum';
14
15
  import { WeekEnum } from '../../enum/common.enum';
@@ -168,6 +169,8 @@ export interface ReceptionPrinter {
168
169
  showSalesmanName?: boolean;
169
170
  showUnitPrice?: boolean;
170
171
  encodeType?: EncodeTypeEnum;
172
+ extendedPrintingLangs?: string[];
173
+ multiLangDirection?: MultiLangDirectionEnum;
171
174
  }
172
175
 
173
176
  export interface ChefPrinter {
@@ -193,6 +196,8 @@ export interface ChefPrinter {
193
196
  showSalesmanName?: boolean;
194
197
  addTableNumBeforeDishName?: boolean;
195
198
  encodeType?: EncodeTypeEnum;
199
+ extendedPrintingLangs?: string[];
200
+ multiLangDirection?: MultiLangDirectionEnum;
196
201
  }
197
202
 
198
203
  export interface LabelPrinter {
package/CHANGE_LOG.md DELETED
@@ -1,2 +0,0 @@
1
- # 4.37.0
2
- - add MultiLangDirectionEnum