@tilli-pro/cookieconsent-plugin 0.7.54 → 0.7.60
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/.cache/tsbuildinfo.json +1 -1
- package/demos/demo.html +2 -2
- package/demos/demo.min.html +1 -1
- package/demos/demo.styles.dark.html +2 -2
- package/demos/demo.styles.dark.min.html +1 -1
- package/demos/demo.styles.nudge-website.dark.html +18 -0
- package/demos/demo.styles.nudge-website.dark.min.html +9 -0
- package/demos/demo.styles.nudge-website.light.html +18 -0
- package/demos/demo.styles.nudge-website.light.min.html +9 -0
- package/demos/demo.styles.nudge.dark.html +2 -2
- package/demos/demo.styles.nudge.dark.min.html +1 -1
- package/demos/demo.styles.nudge.light.html +2 -2
- package/demos/demo.styles.nudge.light.min.html +1 -1
- package/demos/demo.styles.tenant_con-edison.dark.html +2 -2
- package/demos/demo.styles.tenant_con-edison.dark.min.html +1 -1
- package/demos/demo.styles.tenant_con-edison.light.html +2 -2
- package/demos/demo.styles.tenant_con-edison.light.min.html +1 -1
- package/demos/demo.styles.tenant_freeman.dark.html +2 -2
- package/demos/demo.styles.tenant_freeman.dark.min.html +1 -1
- package/demos/demo.styles.tenant_freeman.light.html +2 -2
- package/demos/demo.styles.tenant_frontier.dark.html +2 -2
- package/demos/demo.styles.tenant_frontier.dark.min.html +1 -1
- package/demos/demo.styles.tenant_frontier.light.html +2 -2
- package/demos/demo.styles.tenant_frontier.light.min.html +1 -1
- package/demos/demo.styles.tenant_oru.dark.html +2 -2
- package/demos/demo.styles.tenant_oru.dark.min.html +1 -1
- package/demos/demo.styles.tenant_oru.light.html +2 -2
- package/demos/demo.styles.tenant_oru.light.min.html +1 -1
- package/demos/demo.styles.tilli-pay.dark.html +2 -2
- package/demos/demo.styles.tilli-pay.dark.min.html +1 -1
- package/demos/demo.styles.tilli-pay.light.html +2 -2
- package/demos/demo.styles.tilli-pay.light.min.html +1 -1
- package/demos/demo.styles.tilli-website.dark.html +2 -2
- package/demos/demo.styles.tilli-website.dark.min.html +1 -1
- package/demos/demo.styles.tilli-website.light.html +2 -2
- package/demos/demo.styles.tilli-website.light.min.html +1 -1
- package/dist/init/_configs.d.ts +12 -0
- package/dist/init/_configs.d.ts.map +1 -0
- package/dist/init/_configs.js +17 -0
- package/dist/init/brf.config.d.ts +3 -0
- package/dist/init/brf.config.d.ts.map +1 -0
- package/dist/init/brf.config.js +61 -0
- package/dist/init/brf.js +2 -61
- package/dist/init/nudge-website.config.d.ts +3 -0
- package/dist/init/nudge-website.config.d.ts.map +1 -0
- package/dist/init/nudge-website.config.js +120 -0
- package/dist/init/nudge-website.js +2 -120
- package/dist/init/nudge.config.d.ts +3 -0
- package/dist/init/nudge.config.d.ts.map +1 -0
- package/dist/init/nudge.config.js +28 -0
- package/dist/init/nudge.js +2 -28
- package/dist/init/tilli-pay-website.config.d.ts +3 -0
- package/dist/init/tilli-pay-website.config.d.ts.map +1 -0
- package/dist/init/tilli-pay-website.config.js +200 -0
- package/dist/init/tilli-pay-website.js +2 -200
- package/dist/init/tilli-pay.config.d.ts +3 -0
- package/dist/init/tilli-pay.config.d.ts.map +1 -0
- package/dist/init/tilli-pay.config.js +18 -0
- package/dist/init/tilli-pay.js +2 -18
- package/dist/init/tilli-website.config.d.ts +3 -0
- package/dist/init/tilli-website.config.d.ts.map +1 -0
- package/dist/init/tilli-website.config.js +206 -0
- package/dist/init/tilli-website.js +2 -206
- package/dist/init/tilliX.config.d.ts +3 -0
- package/dist/init/tilliX.config.d.ts.map +1 -0
- package/dist/init/tilliX.config.js +20 -0
- package/dist/init/tilliX.js +2 -20
- package/dist/init.d.ts +1 -1
- package/dist/init.js +2 -2
- package/dist/react-components/CookieConsentInit.client.d.ts +6 -1
- package/dist/react-components/CookieConsentInit.client.d.ts.map +1 -1
- package/dist/react-components/CookieConsentInit.client.js +2 -2
- package/dist/react-components/CookieConsentInit.server.d.ts +6 -1
- package/dist/react-components/CookieConsentInit.server.d.ts.map +1 -1
- package/dist/react-components/CookieConsentInit.server.js +2 -2
- package/dist/react-components/hooks/useCookieConsent.d.ts +2 -1
- package/dist/react-components/hooks/useCookieConsent.d.ts.map +1 -1
- package/dist/react-components/hooks/useCookieConsent.js +6 -3
- package/package.json +1 -1
- package/src/init/_configs.ts +20 -0
- package/src/init/brf.config.ts +70 -0
- package/src/init/brf.ts +2 -73
- package/src/init/nudge-website.config.ts +132 -0
- package/src/init/nudge-website.ts +2 -135
- package/src/init/nudge.config.ts +37 -0
- package/src/init/nudge.ts +2 -40
- package/src/init/tilli-pay-website.config.ts +213 -0
- package/src/init/tilli-pay-website.ts +2 -216
- package/src/init/tilli-pay.config.ts +27 -0
- package/src/init/tilli-pay.ts +2 -30
- package/src/init/tilli-website.config.ts +219 -0
- package/src/init/tilli-website.ts +2 -222
- package/src/init/tilliX.config.ts +29 -0
- package/src/init/tilliX.ts +2 -32
- package/src/init.ts +2 -2
- package/src/react-components/CookieConsentInit.client.tsx +9 -2
- package/src/react-components/CookieConsentInit.server.tsx +11 -2
- package/src/react-components/hooks/useCookieConsent.ts +10 -3
package/demos/demo.html
CHANGED
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/brf.js"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
package/demos/demo.min.html
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/brf.js"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/brf.js?theme=elegant-black"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/brf.js?theme=elegant-black"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en" class="cc--tilli-website-dark dark">
|
3
|
+
<!-- it's best to also import the CSS at the <head> level, but it's optional (since the script will auto-add it if not already-present) -->
|
4
|
+
<head>
|
5
|
+
<link
|
6
|
+
rel="stylesheet"
|
7
|
+
href="
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/cookieconsent.css"
|
9
|
+
/>
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<script
|
14
|
+
type="module"
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/nudge-website.js?theme=nudge-website-dark"
|
16
|
+
></script>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en" class="cc--tilli-website-light">
|
3
|
+
<!-- it's best to also import the CSS at the <head> level, but it's optional (since the script will auto-add it if not already-present) -->
|
4
|
+
<head>
|
5
|
+
<link
|
6
|
+
rel="stylesheet"
|
7
|
+
href="
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/cookieconsent.css"
|
9
|
+
/>
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<script
|
14
|
+
type="module"
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/nudge-website.js?theme=nudge-website-light"
|
16
|
+
></script>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/nudge.js?theme=nudge-dark"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/nudge.js?theme=nudge-dark"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/nudge.js?theme=nudge-light"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/nudge.js?theme=nudge-light"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/tilliX.js?theme=tenant%3Acon-edison-dark"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/tilliX.js?theme=tenant%3Acon-edison-dark"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/tilliX.js?theme=tenant%3Acon-edison-light"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/tilliX.js?theme=tenant%3Acon-edison-light"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/brf.js?theme=tenant%3Afreeman-dark"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/brf.js?theme=tenant%3Afreeman-dark"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/brf.js?theme=tenant%3Afreeman-light"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/brf.js?theme=tenant%3Afrontier-dark"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/brf.js?theme=tenant%3Afrontier-dark"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/brf.js?theme=tenant%3Afrontier-light"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/brf.js?theme=tenant%3Afrontier-light"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/tilliX.js?theme=tenant%3Aoru-dark"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/tilliX.js?theme=tenant%3Aoru-dark"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/tilliX.js?theme=tenant%3Aoru-light"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<body>
|
5
5
|
<script
|
6
6
|
type="module"
|
7
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
7
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/tilliX.js?theme=tenant%3Aoru-light"
|
8
8
|
></script>
|
9
9
|
</body>
|
10
10
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/tilli-pay.js?theme=tilli-pay-dark"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/tilli-pay.js?theme=tilli-pay-dark"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/tilli-pay.js?theme=tilli-pay-light"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/tilli-pay.js?theme=tilli-pay-light"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/tilli-website.js?theme=tilli-website-dark"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/tilli-website.js?theme=tilli-website-dark"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<link
|
6
6
|
rel="stylesheet"
|
7
7
|
href="
|
8
|
-
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
8
|
+
https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/cookieconsent.css"
|
9
9
|
/>
|
10
10
|
</head>
|
11
11
|
|
12
12
|
<body>
|
13
13
|
<script
|
14
14
|
type="module"
|
15
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
15
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/tilli-website.js?theme=tilli-website-light"
|
16
16
|
></script>
|
17
17
|
</body>
|
18
18
|
</html>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<body>
|
4
4
|
<script
|
5
5
|
type="module"
|
6
|
-
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@
|
6
|
+
src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/tilli-website.js?theme=tilli-website-light"
|
7
7
|
></script>
|
8
8
|
</body>
|
9
9
|
</html>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare const configs: {
|
2
|
+
brf: import("@tilli-pro/cookieconsent").CookieConsentConfig;
|
3
|
+
"nudge-website": import("@tilli-pro/cookieconsent").CookieConsentConfig;
|
4
|
+
nudge: import("@tilli-pro/cookieconsent").CookieConsentConfig;
|
5
|
+
"tilli-pay-website": import("@tilli-pro/cookieconsent").CookieConsentConfig;
|
6
|
+
"tilli-pay": import("@tilli-pro/cookieconsent").CookieConsentConfig;
|
7
|
+
"tilli-website": import("@tilli-pro/cookieconsent").CookieConsentConfig;
|
8
|
+
tilliX: import("@tilli-pro/cookieconsent").CookieConsentConfig;
|
9
|
+
};
|
10
|
+
export type ConfigId = keyof typeof configs;
|
11
|
+
export declare const getConfig: (configId: ConfigId) => import("@tilli-pro/cookieconsent").CookieConsentConfig;
|
12
|
+
//# sourceMappingURL=_configs.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"_configs.d.ts","sourceRoot":"","sources":["../../src/init/_configs.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,OAAO;;;;;;;;CAQnB,CAAC;AACF,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,OAAO,CAAC;AAE5C,eAAO,MAAM,SAAS,aAAc,QAAQ,2DAAsB,CAAC"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { config as brf } from "./brf.config";
|
2
|
+
import { config as nudge } from "./nudge.config";
|
3
|
+
import { config as nudgeWebsite } from "./nudge-website.config";
|
4
|
+
import { config as tilliPay } from "./tilli-pay.config";
|
5
|
+
import { config as tilliPayWebsite } from "./tilli-pay-website.config";
|
6
|
+
import { config as tilliWebsite } from "./tilli-website.config";
|
7
|
+
import { config as tilliX } from "./tilliX.config";
|
8
|
+
export const configs = {
|
9
|
+
brf,
|
10
|
+
"nudge-website": nudgeWebsite,
|
11
|
+
nudge,
|
12
|
+
"tilli-pay-website": tilliPayWebsite,
|
13
|
+
"tilli-pay": tilliPay,
|
14
|
+
"tilli-website": tilliWebsite,
|
15
|
+
"tilliX": tilliX,
|
16
|
+
};
|
17
|
+
export const getConfig = (configId) => configs[configId];
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"brf.config.d.ts","sourceRoot":"","sources":["../../src/init/brf.config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAiEpE,eAAO,MAAM,MAAM,EAAE,mBAIpB,CAAC"}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
import _config from "../config";
|
2
|
+
import { LABELS } from "../config/categories/labels";
|
3
|
+
import cookies from "../config/cookies";
|
4
|
+
import { stripInvalidLinkedCategoriesFromTranslations } from "./utils";
|
5
|
+
// TODO: auto-detect detect language
|
6
|
+
const __LANGUAGE__ = "en"; // "English" ("English")
|
7
|
+
const categories = {
|
8
|
+
necessary: {
|
9
|
+
enabled: true, // "necessary" category is always enabled.
|
10
|
+
readOnly: true,
|
11
|
+
services: {
|
12
|
+
/** tilliX (BRF) */
|
13
|
+
tilliX: {
|
14
|
+
label: LABELS.en.necessary.tilliX,
|
15
|
+
cookies: [...cookies.necessary.brf(__LANGUAGE__)],
|
16
|
+
},
|
17
|
+
},
|
18
|
+
},
|
19
|
+
functional: {
|
20
|
+
services: {
|
21
|
+
/** tilliX (BRF) */
|
22
|
+
tilliX: {
|
23
|
+
label: LABELS.en.functional.tilliX,
|
24
|
+
cookies: [...cookies.functional.brf(__LANGUAGE__)],
|
25
|
+
},
|
26
|
+
},
|
27
|
+
autoClear: {
|
28
|
+
cookies: [
|
29
|
+
{
|
30
|
+
name: /^(tx-theme)/, // tilliX theme (-> "light" | "dark")
|
31
|
+
},
|
32
|
+
],
|
33
|
+
},
|
34
|
+
},
|
35
|
+
analytics: {
|
36
|
+
services: {
|
37
|
+
/** Datadog (RUM) */
|
38
|
+
datadog: {
|
39
|
+
label: LABELS.en.analytics.datadog,
|
40
|
+
cookies: [...cookies.analytics.datadog(__LANGUAGE__)],
|
41
|
+
},
|
42
|
+
},
|
43
|
+
autoClear: {
|
44
|
+
cookies: [
|
45
|
+
{
|
46
|
+
name: /^(_tilli_analytics_dd_)/, // Datadog (RUM)
|
47
|
+
},
|
48
|
+
],
|
49
|
+
},
|
50
|
+
},
|
51
|
+
};
|
52
|
+
// TODO: DRY further w/ `./tilli-website.ts`
|
53
|
+
const language = {
|
54
|
+
..._config.language,
|
55
|
+
translations: stripInvalidLinkedCategoriesFromTranslations(_config.language.translations, categories),
|
56
|
+
};
|
57
|
+
export const config = {
|
58
|
+
..._config,
|
59
|
+
categories,
|
60
|
+
language,
|
61
|
+
};
|