meemup-library 1.3.16 → 1.3.18
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/interfaces/management/IManagementOnlineStore.d.ts +20 -0
- package/dist/interfaces/management/IManagementOnlineStore.js +17 -0
- package/dist/interfaces/management/IManagementOnlineStoreAppearance.d.ts +24 -0
- package/dist/interfaces/management/IManagementOnlineStoreAppearance.js +22 -0
- package/dist/interfaces/management/IManagementOnlineStoreBlock.d.ts +12 -0
- package/dist/interfaces/management/IManagementOnlineStoreBlock.js +11 -0
- package/dist/interfaces/management/IManagementOnlineStoreColors.d.ts +15 -0
- package/dist/interfaces/management/IManagementOnlineStoreColors.js +14 -0
- package/dist/interfaces/management/IManagementOnlineStoreLanguage.d.ts +7 -0
- package/dist/interfaces/management/IManagementOnlineStoreLanguage.js +6 -0
- package/dist/interfaces/management/IManagementOnlineStoreMiscellaneous.d.ts +6 -0
- package/dist/interfaces/management/IManagementOnlineStoreMiscellaneous.js +5 -0
- package/dist/interfaces/management/IManagementOnlineStorePayment.d.ts +16 -0
- package/dist/interfaces/management/IManagementOnlineStorePayment.js +15 -0
- package/dist/interfaces/management/IManagementOnlineStoreSeo.d.ts +11 -0
- package/dist/interfaces/management/IManagementOnlineStoreSeo.js +10 -0
- package/dist/interfaces/management/IManagementOnlineStoreSocialNetwork.d.ts +4 -0
- package/dist/interfaces/management/IManagementOnlineStoreSocialNetwork.js +1 -0
- package/dist/interfaces/print/IOrderDetailCustomer.d.ts +2 -0
- package/dist/interfaces/print/IOrderDetailCustomer.js +2 -1
- package/dist/interfaces/print/IOrderDetailCustomerComment.d.ts +6 -0
- package/dist/interfaces/print/IOrderDetailCustomerComment.js +5 -0
- package/package.json +2 -2
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import ITextValue from "../ITextValue";
|
|
2
|
+
import IManagementOnlineStoreAppearance from "./IManagementOnlineStoreAppearance";
|
|
3
|
+
import IManagementOnlineStoreColors from "./IManagementOnlineStoreColors";
|
|
4
|
+
import IManagementOnlineStoreLanguage from "./IManagementOnlineStoreLanguage";
|
|
5
|
+
import IManagementOnlineStoreMiscellaneous from "./IManagementOnlineStoreMiscellaneous";
|
|
6
|
+
import IManagementOnlineStorePayment from "./IManagementOnlineStorePayment";
|
|
7
|
+
import IManagementOnlineStoreSeo from "./IManagementOnlineStoreSeo";
|
|
8
|
+
import IManagementOnlineStoreSocialNetwork from "./IManagementOnlineStoreSocialNetwork";
|
|
9
|
+
export default interface IManagementOnlineStore {
|
|
10
|
+
appearance: IManagementOnlineStoreAppearance;
|
|
11
|
+
categories: ITextValue[];
|
|
12
|
+
colors: IManagementOnlineStoreColors;
|
|
13
|
+
companyId: number;
|
|
14
|
+
language: IManagementOnlineStoreLanguage;
|
|
15
|
+
miscellaneous: IManagementOnlineStoreMiscellaneous;
|
|
16
|
+
payment: IManagementOnlineStorePayment;
|
|
17
|
+
seo: IManagementOnlineStoreSeo;
|
|
18
|
+
socialNetworks: IManagementOnlineStoreSocialNetwork[];
|
|
19
|
+
}
|
|
20
|
+
export declare const initWebShop: IManagementOnlineStore;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { initManagementOnlineStoreAppearance } from "./IManagementOnlineStoreAppearance";
|
|
2
|
+
import { initManagementOnlineStoreColors } from "./IManagementOnlineStoreColors";
|
|
3
|
+
import { initManagementOnlineStoreLanguage } from "./IManagementOnlineStoreLanguage";
|
|
4
|
+
import { initManagementOnlineStoreMiscellaneous } from "./IManagementOnlineStoreMiscellaneous";
|
|
5
|
+
import { initManagementOnlineStorePayment } from "./IManagementOnlineStorePayment";
|
|
6
|
+
import { initManagementOnlineStoreSeo } from "./IManagementOnlineStoreSeo";
|
|
7
|
+
export const initWebShop = {
|
|
8
|
+
companyId: 0,
|
|
9
|
+
socialNetworks: [],
|
|
10
|
+
categories: [],
|
|
11
|
+
appearance: initManagementOnlineStoreAppearance,
|
|
12
|
+
colors: initManagementOnlineStoreColors,
|
|
13
|
+
language: initManagementOnlineStoreLanguage,
|
|
14
|
+
miscellaneous: initManagementOnlineStoreMiscellaneous,
|
|
15
|
+
payment: initManagementOnlineStorePayment,
|
|
16
|
+
seo: initManagementOnlineStoreSeo
|
|
17
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import IManagementOnlineStoreBlock from "./IManagementOnlineStoreBlock";
|
|
2
|
+
export default interface IManagementOnlineStoreAppearance {
|
|
3
|
+
logo: string;
|
|
4
|
+
brand: string;
|
|
5
|
+
brandDescription: string;
|
|
6
|
+
mapLocationSection: boolean;
|
|
7
|
+
infoSection: boolean;
|
|
8
|
+
colorBar: string;
|
|
9
|
+
largeBannerUrl: string;
|
|
10
|
+
mediumBannerUrl: string;
|
|
11
|
+
smallBannerUrl: string;
|
|
12
|
+
faviconFileName: string;
|
|
13
|
+
pickupDeliverySelectorSection: boolean;
|
|
14
|
+
splashPageLayout: number;
|
|
15
|
+
blocks: IManagementOnlineStoreBlock[];
|
|
16
|
+
filterSectionVisibility: boolean;
|
|
17
|
+
allergiesSectionVisibility: boolean;
|
|
18
|
+
promotionsSectionVisibility: boolean;
|
|
19
|
+
ageVerificationPopup: boolean;
|
|
20
|
+
ageRestriction: number;
|
|
21
|
+
productsPageTitle: string;
|
|
22
|
+
defaultProductView: number;
|
|
23
|
+
}
|
|
24
|
+
export declare const initManagementOnlineStoreAppearance: IManagementOnlineStoreAppearance;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export const initManagementOnlineStoreAppearance = {
|
|
2
|
+
blocks: [],
|
|
3
|
+
logo: "",
|
|
4
|
+
brand: "",
|
|
5
|
+
brandDescription: "",
|
|
6
|
+
mapLocationSection: false,
|
|
7
|
+
infoSection: false,
|
|
8
|
+
colorBar: "#fff",
|
|
9
|
+
largeBannerUrl: "",
|
|
10
|
+
mediumBannerUrl: "",
|
|
11
|
+
smallBannerUrl: "",
|
|
12
|
+
faviconFileName: "",
|
|
13
|
+
pickupDeliverySelectorSection: false,
|
|
14
|
+
splashPageLayout: 1,
|
|
15
|
+
ageRestriction: 18,
|
|
16
|
+
ageVerificationPopup: false,
|
|
17
|
+
allergiesSectionVisibility: true,
|
|
18
|
+
defaultProductView: 1,
|
|
19
|
+
filterSectionVisibility: true,
|
|
20
|
+
productsPageTitle: "Menu",
|
|
21
|
+
promotionsSectionVisibility: true,
|
|
22
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default interface IManagementOnlineStoreBlock {
|
|
2
|
+
id: number;
|
|
3
|
+
priority: number;
|
|
4
|
+
enabled: boolean;
|
|
5
|
+
title: string;
|
|
6
|
+
imageUrl: string;
|
|
7
|
+
content: string;
|
|
8
|
+
backgroundColor: string;
|
|
9
|
+
background: boolean;
|
|
10
|
+
imageLocation: number;
|
|
11
|
+
}
|
|
12
|
+
export declare const initManagementOnlineStoreBlock: IManagementOnlineStoreBlock;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export default interface IManagementOnlineStoreColors {
|
|
2
|
+
colorBar: string;
|
|
3
|
+
colorTab: string;
|
|
4
|
+
textPrimary: string;
|
|
5
|
+
textSecondary: string;
|
|
6
|
+
divider: string;
|
|
7
|
+
background: string;
|
|
8
|
+
primary: string;
|
|
9
|
+
primaryLight: string;
|
|
10
|
+
primaryDark: string;
|
|
11
|
+
secondary: string;
|
|
12
|
+
secondaryDark: string;
|
|
13
|
+
secondaryLight: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const initManagementOnlineStoreColors: IManagementOnlineStoreColors;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const initManagementOnlineStoreColors = {
|
|
2
|
+
colorBar: "#fafafa",
|
|
3
|
+
colorTab: "#222",
|
|
4
|
+
textPrimary: "#000",
|
|
5
|
+
textSecondary: "#000",
|
|
6
|
+
divider: `#000`,
|
|
7
|
+
background: "#000",
|
|
8
|
+
primary: "#000",
|
|
9
|
+
primaryLight: "#000",
|
|
10
|
+
primaryDark: "#000",
|
|
11
|
+
secondary: "#000",
|
|
12
|
+
secondaryDark: "#000",
|
|
13
|
+
secondaryLight: "#000",
|
|
14
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export default interface IManagementOnlineStoreLanguage {
|
|
2
|
+
defaultLanguage: number;
|
|
3
|
+
showLanguageButtons: boolean;
|
|
4
|
+
selectedLanguageId: number[];
|
|
5
|
+
googleTranslate: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const initManagementOnlineStoreLanguage: IManagementOnlineStoreLanguage;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export default interface IManagementOnlineStorePayment {
|
|
2
|
+
availablePaymentTypes: number[];
|
|
3
|
+
cash: number;
|
|
4
|
+
cashTimeTo: string | null;
|
|
5
|
+
currencySymbol: string;
|
|
6
|
+
showTipOption: boolean;
|
|
7
|
+
maxCashAmount: number;
|
|
8
|
+
default: number;
|
|
9
|
+
pickupEnabled: boolean;
|
|
10
|
+
deliveryEnabled: boolean;
|
|
11
|
+
onlinePayStatus: number;
|
|
12
|
+
debitAtPayStatus: number;
|
|
13
|
+
onlinePayMaxAmount: number;
|
|
14
|
+
debitPayMaxAmount: number;
|
|
15
|
+
}
|
|
16
|
+
export declare const initManagementOnlineStorePayment: IManagementOnlineStorePayment;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const initManagementOnlineStorePayment = {
|
|
2
|
+
availablePaymentTypes: [],
|
|
3
|
+
cash: 0,
|
|
4
|
+
cashTimeTo: null,
|
|
5
|
+
currencySymbol: "$",
|
|
6
|
+
showTipOption: false,
|
|
7
|
+
maxCashAmount: 0,
|
|
8
|
+
default: 0,
|
|
9
|
+
pickupEnabled: false,
|
|
10
|
+
deliveryEnabled: false,
|
|
11
|
+
onlinePayStatus: 1,
|
|
12
|
+
debitAtPayStatus: 1,
|
|
13
|
+
debitPayMaxAmount: 0,
|
|
14
|
+
onlinePayMaxAmount: 0
|
|
15
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default interface IManagementOnlineStoreSeo {
|
|
2
|
+
title: string;
|
|
3
|
+
summary: string;
|
|
4
|
+
googleAnalyticsCode: string;
|
|
5
|
+
googleAnalytics: boolean;
|
|
6
|
+
facebookPixelCode: string;
|
|
7
|
+
servesCuisine: string;
|
|
8
|
+
priceRange: string;
|
|
9
|
+
ogImage: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const initManagementOnlineStoreSeo: IManagementOnlineStoreSeo;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import IOrderDetailCustomerComment from "./IOrderDetailCustomerComment";
|
|
1
2
|
interface IOrderDetailCustomer {
|
|
2
3
|
id: number;
|
|
3
4
|
fullName: string;
|
|
@@ -11,6 +12,7 @@ interface IOrderDetailCustomer {
|
|
|
11
12
|
houseNo: string;
|
|
12
13
|
postalCode: string;
|
|
13
14
|
firstOrder: boolean;
|
|
15
|
+
comment: IOrderDetailCustomerComment | null;
|
|
14
16
|
}
|
|
15
17
|
export default IOrderDetailCustomer;
|
|
16
18
|
export declare const initOrderDetailCustomer: IOrderDetailCustomer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meemup-library",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.18",
|
|
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.
|
|
14
|
+
"commit": "git add . && git commit -m \"version.1.3.18 \" && git push origin "
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"/dist"
|