@heycater/qualification-funnel 1.2.3 → 1.3.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.
- package/dist/artifacts/icons/catering_category/breakfast.svg +1 -0
- package/dist/artifacts/icons/catering_category/buffet.svg +1 -0
- package/dist/artifacts/icons/catering_category/business_lunch.svg +1 -0
- package/dist/artifacts/icons/catering_category/cakes_and_sweets.svg +1 -0
- package/dist/artifacts/icons/catering_category/drinks.svg +1 -0
- package/dist/artifacts/icons/catering_category/fine_dining.svg +1 -0
- package/dist/artifacts/icons/catering_category/fingerfood.svg +1 -0
- package/dist/artifacts/icons/catering_category/street_food.svg +1 -0
- package/dist/artifacts/images/survey/dietary_restrictions/meat.svg +1 -0
- package/dist/artifacts/images/survey/dietary_restrictions/vegan.svg +1 -0
- package/dist/artifacts/images/survey/dietary_restrictions/vegetarian.svg +1 -0
- package/dist/artifacts/locales/de/qualification.json +7 -1
- package/dist/artifacts/locales/en/qualification.json +7 -1
- package/dist/demo/iife-auto.html +1 -1
- package/dist/demo/iife-fullscreen.html +49 -0
- package/dist/demo/iife.html +1 -1
- package/dist/heycater-funnel.iife.js +509 -348
- package/dist/index.cjs.js +457 -286
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.esm.js +1416 -1644
- package/dist/index.esm.js.map +1 -1
- package/dist/stats.html +1 -1
- package/package.json +1 -1
package/dist/demo/iife-auto.html
CHANGED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="de">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>Heycater Funnel - Fullscreen Mode</title>
|
|
7
|
+
<style>
|
|
8
|
+
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
9
|
+
html, body { height: 100%; }
|
|
10
|
+
.lang-switcher {
|
|
11
|
+
position: fixed;
|
|
12
|
+
top: 10px;
|
|
13
|
+
right: 10px;
|
|
14
|
+
z-index: 100;
|
|
15
|
+
display: flex;
|
|
16
|
+
gap: 8px;
|
|
17
|
+
}
|
|
18
|
+
.lang-switcher button {
|
|
19
|
+
padding: 6px 14px;
|
|
20
|
+
border: 1px solid #ccc;
|
|
21
|
+
border-radius: 4px;
|
|
22
|
+
background: #fff;
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
font-size: 14px;
|
|
25
|
+
}
|
|
26
|
+
.lang-switcher button:hover { background: #f0f0f0; }
|
|
27
|
+
</style>
|
|
28
|
+
</head>
|
|
29
|
+
<body>
|
|
30
|
+
<div class="lang-switcher">
|
|
31
|
+
<button onclick="HeycaterFunnel.setLocale('de')">DE</button>
|
|
32
|
+
<button onclick="HeycaterFunnel.setLocale('en')">EN</button>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div data-heycater-funnel style="min-height: 100vh;"></div>
|
|
36
|
+
|
|
37
|
+
<script>
|
|
38
|
+
window.__HEYCATER_CONFIG__ = {
|
|
39
|
+
graphqlEndpoint: 'https://api.heycater.com/graphql',
|
|
40
|
+
googleMapsApiKey: 'AIzaSyCrunI86W7p8zk5yoGX9i1s0SzIJ7GTRDU',
|
|
41
|
+
locale: 'de',
|
|
42
|
+
mode: 'fullscreen',
|
|
43
|
+
};
|
|
44
|
+
</script>
|
|
45
|
+
|
|
46
|
+
<link rel="stylesheet" href="../heycater-funnel.css" />
|
|
47
|
+
<script src="../heycater-funnel.iife.js"></script>
|
|
48
|
+
</body>
|
|
49
|
+
</html>
|
package/dist/demo/iife.html
CHANGED
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
// Configuration - simulating what parent app would provide
|
|
88
88
|
window.__HEYCATER_CONFIG__ = {
|
|
89
89
|
graphqlEndpoint: 'https://api.heycater.com/graphql',
|
|
90
|
-
googleMapsApiKey: '
|
|
90
|
+
googleMapsApiKey: 'AIzaSyCrunI86W7p8zk5yoGX9i1s0SzIJ7GTRDU',
|
|
91
91
|
locale: 'de',
|
|
92
92
|
isProduction: false,
|
|
93
93
|
// bugsnagApiKey: 'your-key-here', // Uncomment to enable Bugsnag
|