@quicktalog/common 1.39.0 → 1.41.0
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,7 @@
|
|
|
1
|
+
import { Catalogue } from "../types";
|
|
2
|
+
export declare const defaultCatalogueData: Omit<Catalogue, "id" | "createdBy">;
|
|
3
|
+
export declare const BUSINESS_TYPES: {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}[];
|
|
7
|
+
export declare const DEFAULT_IMAGE = "https://vgrutvaw2q.ufs.sh/f/X7AUkOrs4vhbBxZSgiECZj8HKxV2bkXdTwltoU3hRaDYAm9q";
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export const defaultCatalogueData = {
|
|
2
|
+
name: "",
|
|
3
|
+
logo: "",
|
|
4
|
+
status: "draft",
|
|
5
|
+
language: "eng",
|
|
6
|
+
heading: "",
|
|
7
|
+
currency: "EUR",
|
|
8
|
+
businessType: "",
|
|
9
|
+
content: [],
|
|
10
|
+
metadata: {
|
|
11
|
+
title: "",
|
|
12
|
+
description: "",
|
|
13
|
+
icon: "",
|
|
14
|
+
},
|
|
15
|
+
legal: {
|
|
16
|
+
legalName: "",
|
|
17
|
+
termsAndConditions: "",
|
|
18
|
+
privacyPolicy: "",
|
|
19
|
+
address: "",
|
|
20
|
+
},
|
|
21
|
+
appearance: {
|
|
22
|
+
theme: {
|
|
23
|
+
type: "standard",
|
|
24
|
+
name: "theme-monochrome",
|
|
25
|
+
},
|
|
26
|
+
style: {
|
|
27
|
+
contentFontSize: "medium",
|
|
28
|
+
fontFamily: "inter",
|
|
29
|
+
borderRadius: 12,
|
|
30
|
+
shadow: "low",
|
|
31
|
+
},
|
|
32
|
+
overlay: {
|
|
33
|
+
isEnabled: false,
|
|
34
|
+
icon: "",
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
contact: {
|
|
38
|
+
phone: "",
|
|
39
|
+
email: "",
|
|
40
|
+
website: "",
|
|
41
|
+
socials: [],
|
|
42
|
+
},
|
|
43
|
+
header: {
|
|
44
|
+
type: "default",
|
|
45
|
+
logoSize: {
|
|
46
|
+
width: 160,
|
|
47
|
+
height: 160,
|
|
48
|
+
},
|
|
49
|
+
cta: {
|
|
50
|
+
isEnabled: true,
|
|
51
|
+
label: "",
|
|
52
|
+
url: "",
|
|
53
|
+
},
|
|
54
|
+
emailCta: true,
|
|
55
|
+
phoneCta: true,
|
|
56
|
+
},
|
|
57
|
+
footer: {
|
|
58
|
+
type: "default",
|
|
59
|
+
logoSize: {
|
|
60
|
+
width: 160,
|
|
61
|
+
height: 160,
|
|
62
|
+
},
|
|
63
|
+
cta: {
|
|
64
|
+
isEnabled: true,
|
|
65
|
+
label: "",
|
|
66
|
+
url: "",
|
|
67
|
+
},
|
|
68
|
+
newsletter: false,
|
|
69
|
+
showPartners: false,
|
|
70
|
+
},
|
|
71
|
+
createdAt: new Date().toString(),
|
|
72
|
+
updatedAt: new Date().toString(),
|
|
73
|
+
source: "builder",
|
|
74
|
+
tags: [],
|
|
75
|
+
partners: [],
|
|
76
|
+
};
|
|
77
|
+
export const BUSINESS_TYPES = [
|
|
78
|
+
{ value: "restaurant", label: "Restaurant" },
|
|
79
|
+
{ value: "cafe", label: "Cafe" },
|
|
80
|
+
{ value: "bar", label: "Bar" },
|
|
81
|
+
{ value: "bakery", label: "Bakery" },
|
|
82
|
+
{ value: "food-truck", label: "Food Truck" },
|
|
83
|
+
{ value: "catering", label: "Catering" },
|
|
84
|
+
{ value: "other", label: "Other" },
|
|
85
|
+
];
|
|
86
|
+
export const DEFAULT_IMAGE = "https://vgrutvaw2q.ufs.sh/f/X7AUkOrs4vhbBxZSgiECZj8HKxV2bkXdTwltoU3hRaDYAm9q";
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
export const themes = [
|
|
2
|
-
{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
2
|
+
// {
|
|
3
|
+
// id: 1,
|
|
4
|
+
// key: "theme-advent-1",
|
|
5
|
+
// label: "Advent 1",
|
|
6
|
+
// description:
|
|
7
|
+
// "A warm and festive theme inspired by the spirit of anticipation and celebration. Advent combines cozy winter tones, gentle contrasts, and elegant typography to evoke a sense of calm preparation and joyful expectation. Ideal for holiday campaigns, seasonal landing pages, or storytelling experiences that blend warmth, tradition, and modern simplicity.",
|
|
8
|
+
// type: "light",
|
|
9
|
+
// },
|
|
10
|
+
// {
|
|
11
|
+
// id: 2,
|
|
12
|
+
// key: "theme-advent-2",
|
|
13
|
+
// label: "Advent 2",
|
|
14
|
+
// description:
|
|
15
|
+
// "A warm and festive theme inspired by the spirit of anticipation and celebration. Advent combines cozy winter tones, gentle contrasts, and elegant typography to evoke a sense of calm preparation and joyful expectation. Ideal for holiday campaigns, seasonal landing pages, or storytelling experiences that blend warmth, tradition, and modern simplicity.",
|
|
16
|
+
// type: "light",
|
|
17
|
+
// },
|
|
16
18
|
{
|
|
17
19
|
id: 3,
|
|
18
20
|
key: "theme-monochrome",
|
package/dist/constants/index.js
CHANGED