meemup-library 1.3.17 → 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.
@@ -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,11 @@
1
+ export const initManagementOnlineStoreBlock = {
2
+ id: -1,
3
+ priority: 0,
4
+ enabled: false,
5
+ title: "",
6
+ imageUrl: "",
7
+ content: "",
8
+ backgroundColor: "#fff",
9
+ background: false,
10
+ imageLocation: 2
11
+ };
@@ -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,6 @@
1
+ export const initManagementOnlineStoreLanguage = {
2
+ defaultLanguage: 1,
3
+ showLanguageButtons: false,
4
+ selectedLanguageId: [],
5
+ googleTranslate: false
6
+ };
@@ -0,0 +1,6 @@
1
+ export default interface IManagementOnlineStoreMiscellaneous {
2
+ pickup: boolean;
3
+ delivery: boolean;
4
+ showNoPopupsByDefault: boolean;
5
+ }
6
+ export declare const initManagementOnlineStoreMiscellaneous: IManagementOnlineStoreMiscellaneous;
@@ -0,0 +1,5 @@
1
+ export const initManagementOnlineStoreMiscellaneous = {
2
+ pickup: true,
3
+ delivery: true,
4
+ showNoPopupsByDefault: true
5
+ };
@@ -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,10 @@
1
+ export const initManagementOnlineStoreSeo = {
2
+ title: "",
3
+ summary: "",
4
+ googleAnalyticsCode: "",
5
+ googleAnalytics: false,
6
+ facebookPixelCode: "",
7
+ servesCuisine: "",
8
+ priceRange: "",
9
+ ogImage: "",
10
+ };
@@ -0,0 +1,4 @@
1
+ export default interface IManagementOnlineStoreSocialNetwork {
2
+ id: number;
3
+ value: string;
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.3.17",
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.17 \" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.3.18 \" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"