@freedom_sky/feige-lib 4.33.0 → 4.34.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
|
@@ -151,6 +151,7 @@ declare class Const {
|
|
|
151
151
|
speechLang?: undefined;
|
|
152
152
|
fontFamily?: undefined;
|
|
153
153
|
rtl?: undefined;
|
|
154
|
+
defaultEncodeType?: undefined;
|
|
154
155
|
} | {
|
|
155
156
|
name: string;
|
|
156
157
|
img: string;
|
|
@@ -162,6 +163,19 @@ declare class Const {
|
|
|
162
163
|
dateFormat: string;
|
|
163
164
|
defaultAreaCode: string;
|
|
164
165
|
rtl: boolean;
|
|
166
|
+
defaultEncodeType?: undefined;
|
|
167
|
+
} | {
|
|
168
|
+
name: string;
|
|
169
|
+
img: string;
|
|
170
|
+
code: string;
|
|
171
|
+
speechCode: string;
|
|
172
|
+
printCode: string;
|
|
173
|
+
defaultEncodeType: string;
|
|
174
|
+
dateFormat: string;
|
|
175
|
+
defaultAreaCode: string;
|
|
176
|
+
speechLang?: undefined;
|
|
177
|
+
fontFamily?: undefined;
|
|
178
|
+
rtl?: undefined;
|
|
165
179
|
})[];
|
|
166
180
|
DATE_FORMAT: {
|
|
167
181
|
YEAR_MONTH_DAY: {
|
package/dist/const/const.js
CHANGED
package/package.json
CHANGED
package/src/const/const.ts
CHANGED
|
@@ -186,7 +186,8 @@ class Const {
|
|
|
186
186
|
img: '',
|
|
187
187
|
code: 'vi',
|
|
188
188
|
speechCode: 'vi-VN',
|
|
189
|
-
printCode: '
|
|
189
|
+
printCode: 'cp1258',
|
|
190
|
+
defaultEncodeType: 'img', // 如果有这个字段, 就以这个字段为准, 没有的话, 判断printCode是否为img, 是的话就img, 不是的话就是codepage, utf-8默认只能手动选
|
|
190
191
|
dateFormat: 'DAY_MONTH_YEAR',
|
|
191
192
|
defaultAreaCode: '84',
|
|
192
193
|
},
|
|
@@ -4,7 +4,12 @@ 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 {
|
|
7
|
+
import {
|
|
8
|
+
PrinterDeviceTypeEnum,
|
|
9
|
+
PrinterWidthEnum,
|
|
10
|
+
TagPrinterDeviceTypeEnum,
|
|
11
|
+
EncodeTypeEnum,
|
|
12
|
+
} from '../../enum/printer.enum';
|
|
8
13
|
import { TimeMenuLoopMode } from '../../enum/time-menu.enum';
|
|
9
14
|
import { WeekEnum } from '../../enum/common.enum';
|
|
10
15
|
|