meemup-library 1.3.35 → 1.3.37

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.
@@ -23,5 +23,6 @@ export default interface IManagementOnlineStore {
23
23
  ageRestriction: number;
24
24
  productsPageTitle: string;
25
25
  defaultProductView: number;
26
+ asSoonAsPossibleDesiredDateTimeEnabled: boolean;
26
27
  }
27
28
  export declare const initManagementOnlineStore: IManagementOnlineStore;
@@ -21,4 +21,5 @@ export const initManagementOnlineStore = {
21
21
  filterSectionVisibility: true,
22
22
  productsPageTitle: "Menu",
23
23
  promotionSectionVisibility: true,
24
+ asSoonAsPossibleDesiredDateTimeEnabled: true,
24
25
  };
@@ -0,0 +1,6 @@
1
+ export default interface ITimeCardForm {
2
+ from: string;
3
+ to: string;
4
+ staffId: number;
5
+ }
6
+ export declare const initTimeCardForm: ITimeCardForm;
@@ -0,0 +1,5 @@
1
+ export const initTimeCardForm = {
2
+ from: "",
3
+ to: "",
4
+ staffId: 0,
5
+ };
@@ -0,0 +1,17 @@
1
+ import ITimeCardResponseRecord from "./ITimeCardResponseRecord";
2
+ export default interface ITimeCardResponse {
3
+ staffId: number;
4
+ staff: string;
5
+ hourlyRate: number;
6
+ overtimeExempt: boolean;
7
+ payType: number;
8
+ annualSalary: number;
9
+ regularHours: number;
10
+ regularEarnings: number;
11
+ overtimeHours: number;
12
+ overtimeEarnings: number;
13
+ totalHoursWorked: number;
14
+ totalEarnings: number;
15
+ records: ITimeCardResponseRecord[];
16
+ }
17
+ export declare const initTimeCardResponse: ITimeCardResponse;
@@ -0,0 +1,15 @@
1
+ export const initTimeCardResponse = {
2
+ staffId: 0,
3
+ staff: "",
4
+ hourlyRate: 0,
5
+ overtimeExempt: false,
6
+ payType: 0,
7
+ annualSalary: 0,
8
+ regularHours: 0,
9
+ regularEarnings: 0,
10
+ overtimeHours: 0,
11
+ overtimeEarnings: 0,
12
+ totalHoursWorked: 0,
13
+ totalEarnings: 0,
14
+ records: []
15
+ };
@@ -0,0 +1,6 @@
1
+ export default interface ITimeCardResponseRecord {
2
+ date: string;
3
+ clockedIn: string;
4
+ clockedOut: string;
5
+ hoursWorked: number;
6
+ }
@@ -58,7 +58,7 @@ export const initPointOfSaleLocalSetting = {
58
58
  templateReceipt: initPointOfSaleSettingTemplateReceipt,
59
59
  receiptCopiesOnOrderPayment: initPointOfSaleSettingReceiptCopiesOnOrderPayment,
60
60
  receiptCopiesOnOrderSave: initPointOfSaleSettingReceiptCopiesOnOrderSave,
61
- productLongPress: EnumProductLongPress.NOT_ACTION,
61
+ productLongPress: EnumProductLongPress.TOGGLE_SNOOZ,
62
62
  activeLandingPage: false,
63
63
  elavonTerminals: [],
64
64
  externalClerkSystem: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.3.35",
3
+ "version": "1.3.37",
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.3.35 \" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.3.37 \" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"