meemup-library 1.2.63 → 1.2.65

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.
@@ -0,0 +1,6 @@
1
+ declare enum EnumShowCustomer {
2
+ YES = 1,
3
+ YES_WHEN_DELIVERY_ORDER = 2,
4
+ NO = 3
5
+ }
6
+ export default EnumShowCustomer;
@@ -0,0 +1,14 @@
1
+ var EnumShowCustomer;
2
+ (function (EnumShowCustomer) {
3
+ EnumShowCustomer[EnumShowCustomer["YES"] = 1] = "YES";
4
+ EnumShowCustomer[EnumShowCustomer["YES_WHEN_DELIVERY_ORDER"] = 2] = "YES_WHEN_DELIVERY_ORDER";
5
+ EnumShowCustomer[EnumShowCustomer["NO"] = 3] = "NO";
6
+ })(EnumShowCustomer || (EnumShowCustomer = {}));
7
+ export default EnumShowCustomer;
8
+ // {text: "Yes", value: 1}
9
+ // 1
10
+ // :
11
+ // {text: "Yes , When delivery order", value: 2}
12
+ // 2
13
+ // :
14
+ // {text: "No", value: 3}
@@ -7,14 +7,14 @@ export const initPrintTemplate = {
7
7
  printerLocal: "",
8
8
  mode: 1,
9
9
  paper: 1,
10
- layout: 1,
10
+ layout: 2,
11
11
  borderWidth: 1,
12
- width: 1,
12
+ width: 80,
13
13
  height: 1,
14
14
  logoAvailable: false,
15
15
  logoUrl: "",
16
- logoCenter: false,
17
- font: "",
16
+ logoCenter: true,
17
+ font: "Arial",
18
18
  fontSize: 12,
19
19
  customerAddressFontSize: 12,
20
20
  marginTop: 0,
@@ -26,13 +26,13 @@ export const initPrintTemplate = {
26
26
  paddingBottom: 0,
27
27
  paddingLeft: 0,
28
28
  nameAddressShow: false,
29
- nameAddressCenter: false,
29
+ nameAddressCenter: true,
30
30
  textAfterAddress: "",
31
- textAfterAddressCenter: false,
31
+ textAfterAddressCenter: true,
32
32
  showPrices: false,
33
33
  showCustomerInfo: 0,
34
34
  textBeforeProducts: "",
35
- textBeforeProductsCenter: false,
35
+ textBeforeProductsCenter: true,
36
36
  showProductKitchenName: false,
37
37
  sortProducts: 1,
38
38
  showCategoryTitle: false,
@@ -41,17 +41,17 @@ export const initPrintTemplate = {
41
41
  printOnlyCertainProducts: false,
42
42
  printOnlyCertainProductsList: [],
43
43
  textEnd: "",
44
- textEndCenter: false,
44
+ textEndCenter: true,
45
45
  promoCode: null,
46
46
  qrCodeOrderDetails: false,
47
47
  customerOnlinePaymentAgrementSection: false,
48
48
  orderInfo: false,
49
- orderSummary: false,
49
+ orderSummary: true,
50
50
  promotionId: null,
51
51
  promotionCodeNote: "",
52
52
  deviceId: null,
53
53
  orderDesiredDateTimeVisibility: true,
54
- displayDeliveryInstructionsRemarks: false,
54
+ displayDeliveryInstructionsRemarks: true,
55
55
  deliveryInstructionsRemarksFontSize: 12,
56
56
  headerOfPrintText: null,
57
57
  headerOfPrintIsCenter: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.2.63",
3
+ "version": "1.2.65",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",