meemup-library 1.7.2 → 1.7.4

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.
@@ -338,6 +338,7 @@ class OrderToolController {
338
338
  additionalText: item.additionalText,
339
339
  productName: item.productName,
340
340
  tags: item.tags,
341
+ discount: (item === null || item === void 0 ? void 0 : item.discount) || 0
341
342
  };
342
343
  }
343
344
  createExtraNames(item, currency) {
@@ -0,0 +1,5 @@
1
+ declare enum EnumDineInLandingMode {
2
+ Grid = 1,
3
+ DragDrop = 2
4
+ }
5
+ export default EnumDineInLandingMode;
@@ -0,0 +1,6 @@
1
+ var EnumDineInLandingMode;
2
+ (function (EnumDineInLandingMode) {
3
+ EnumDineInLandingMode[EnumDineInLandingMode["Grid"] = 1] = "Grid";
4
+ EnumDineInLandingMode[EnumDineInLandingMode["DragDrop"] = 2] = "DragDrop";
5
+ })(EnumDineInLandingMode || (EnumDineInLandingMode = {}));
6
+ export default EnumDineInLandingMode;
@@ -1,3 +1,4 @@
1
+ import EnumDineInLandingMode from "../../enums/enum-dine-in-landing-mode";
1
2
  import PosOrderDisplayType from "../../enums/enum-pos-order-display-type";
2
3
  import EnumNewOrderWarning from "../../enums/EnumNewOrderWarning";
3
4
  import EnumNotifyNewReservation from "../../enums/EnumNotifyNewReservation";
@@ -68,6 +69,7 @@ interface IPointOfSaleLocalSetting {
68
69
  printerConnections: IPointOfSalePrinterConnections;
69
70
  productLongPress: EnumProductLongPress;
70
71
  activeLandingPage: boolean;
72
+ dineInScreenViewMode: EnumDineInLandingMode;
71
73
  elavonTerminals: IPointOfSaleElavonTerminalDevice[];
72
74
  externalClerkSystem: boolean;
73
75
  awaitingPaymentDeviceResponse: boolean;
@@ -1,3 +1,4 @@
1
+ import EnumDineInLandingMode from "../../enums/enum-dine-in-landing-mode";
1
2
  import PosOrderDisplayType from "../../enums/enum-pos-order-display-type";
2
3
  import EnumNewOrderWarning from "../../enums/EnumNewOrderWarning";
3
4
  import EnumNotifyNewReservation from "../../enums/EnumNotifyNewReservation";
@@ -67,6 +68,7 @@ export const initPointOfSaleLocalSetting = {
67
68
  },
68
69
  productLongPress: EnumProductLongPress.TOGGLE_SNOOZ,
69
70
  activeLandingPage: false,
71
+ dineInScreenViewMode: EnumDineInLandingMode.Grid,
70
72
  elavonTerminals: [],
71
73
  externalClerkSystem: false,
72
74
  awaitingPaymentDeviceResponse: false,
@@ -16,5 +16,6 @@ interface IOrderDetailProduct {
16
16
  additionalText: string;
17
17
  productName: string;
18
18
  tags: string[] | null;
19
+ discount: number;
19
20
  }
20
21
  export default IOrderDetailProduct;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.7.2",
3
+ "version": "1.7.4",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "remove:one": "rimraf dist",
12
12
  "remove:two": "rimraf ./src/dist",
13
13
  "test": "echo \"Error: no test specified\" && exit 1",
14
- "commit": "git add . && git commit -m \"version.1.7.2\" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.7.4\" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"