@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.
Files changed (98) hide show
  1. package/.cache/tsbuildinfo.json +1 -1
  2. package/demos/demo.html +2 -2
  3. package/demos/demo.min.html +1 -1
  4. package/demos/demo.styles.dark.html +2 -2
  5. package/demos/demo.styles.dark.min.html +1 -1
  6. package/demos/demo.styles.nudge-website.dark.html +18 -0
  7. package/demos/demo.styles.nudge-website.dark.min.html +9 -0
  8. package/demos/demo.styles.nudge-website.light.html +18 -0
  9. package/demos/demo.styles.nudge-website.light.min.html +9 -0
  10. package/demos/demo.styles.nudge.dark.html +2 -2
  11. package/demos/demo.styles.nudge.dark.min.html +1 -1
  12. package/demos/demo.styles.nudge.light.html +2 -2
  13. package/demos/demo.styles.nudge.light.min.html +1 -1
  14. package/demos/demo.styles.tenant_con-edison.dark.html +2 -2
  15. package/demos/demo.styles.tenant_con-edison.dark.min.html +1 -1
  16. package/demos/demo.styles.tenant_con-edison.light.html +2 -2
  17. package/demos/demo.styles.tenant_con-edison.light.min.html +1 -1
  18. package/demos/demo.styles.tenant_freeman.dark.html +2 -2
  19. package/demos/demo.styles.tenant_freeman.dark.min.html +1 -1
  20. package/demos/demo.styles.tenant_freeman.light.html +2 -2
  21. package/demos/demo.styles.tenant_frontier.dark.html +2 -2
  22. package/demos/demo.styles.tenant_frontier.dark.min.html +1 -1
  23. package/demos/demo.styles.tenant_frontier.light.html +2 -2
  24. package/demos/demo.styles.tenant_frontier.light.min.html +1 -1
  25. package/demos/demo.styles.tenant_oru.dark.html +2 -2
  26. package/demos/demo.styles.tenant_oru.dark.min.html +1 -1
  27. package/demos/demo.styles.tenant_oru.light.html +2 -2
  28. package/demos/demo.styles.tenant_oru.light.min.html +1 -1
  29. package/demos/demo.styles.tilli-pay.dark.html +2 -2
  30. package/demos/demo.styles.tilli-pay.dark.min.html +1 -1
  31. package/demos/demo.styles.tilli-pay.light.html +2 -2
  32. package/demos/demo.styles.tilli-pay.light.min.html +1 -1
  33. package/demos/demo.styles.tilli-website.dark.html +2 -2
  34. package/demos/demo.styles.tilli-website.dark.min.html +1 -1
  35. package/demos/demo.styles.tilli-website.light.html +2 -2
  36. package/demos/demo.styles.tilli-website.light.min.html +1 -1
  37. package/dist/init/_configs.d.ts +12 -0
  38. package/dist/init/_configs.d.ts.map +1 -0
  39. package/dist/init/_configs.js +17 -0
  40. package/dist/init/brf.config.d.ts +3 -0
  41. package/dist/init/brf.config.d.ts.map +1 -0
  42. package/dist/init/brf.config.js +61 -0
  43. package/dist/init/brf.js +2 -61
  44. package/dist/init/nudge-website.config.d.ts +3 -0
  45. package/dist/init/nudge-website.config.d.ts.map +1 -0
  46. package/dist/init/nudge-website.config.js +120 -0
  47. package/dist/init/nudge-website.js +2 -120
  48. package/dist/init/nudge.config.d.ts +3 -0
  49. package/dist/init/nudge.config.d.ts.map +1 -0
  50. package/dist/init/nudge.config.js +28 -0
  51. package/dist/init/nudge.js +2 -28
  52. package/dist/init/tilli-pay-website.config.d.ts +3 -0
  53. package/dist/init/tilli-pay-website.config.d.ts.map +1 -0
  54. package/dist/init/tilli-pay-website.config.js +200 -0
  55. package/dist/init/tilli-pay-website.js +2 -200
  56. package/dist/init/tilli-pay.config.d.ts +3 -0
  57. package/dist/init/tilli-pay.config.d.ts.map +1 -0
  58. package/dist/init/tilli-pay.config.js +18 -0
  59. package/dist/init/tilli-pay.js +2 -18
  60. package/dist/init/tilli-website.config.d.ts +3 -0
  61. package/dist/init/tilli-website.config.d.ts.map +1 -0
  62. package/dist/init/tilli-website.config.js +206 -0
  63. package/dist/init/tilli-website.js +2 -206
  64. package/dist/init/tilliX.config.d.ts +3 -0
  65. package/dist/init/tilliX.config.d.ts.map +1 -0
  66. package/dist/init/tilliX.config.js +20 -0
  67. package/dist/init/tilliX.js +2 -20
  68. package/dist/init.d.ts +1 -1
  69. package/dist/init.js +2 -2
  70. package/dist/react-components/CookieConsentInit.client.d.ts +6 -1
  71. package/dist/react-components/CookieConsentInit.client.d.ts.map +1 -1
  72. package/dist/react-components/CookieConsentInit.client.js +2 -2
  73. package/dist/react-components/CookieConsentInit.server.d.ts +6 -1
  74. package/dist/react-components/CookieConsentInit.server.d.ts.map +1 -1
  75. package/dist/react-components/CookieConsentInit.server.js +2 -2
  76. package/dist/react-components/hooks/useCookieConsent.d.ts +2 -1
  77. package/dist/react-components/hooks/useCookieConsent.d.ts.map +1 -1
  78. package/dist/react-components/hooks/useCookieConsent.js +6 -3
  79. package/package.json +1 -1
  80. package/src/init/_configs.ts +20 -0
  81. package/src/init/brf.config.ts +70 -0
  82. package/src/init/brf.ts +2 -73
  83. package/src/init/nudge-website.config.ts +132 -0
  84. package/src/init/nudge-website.ts +2 -135
  85. package/src/init/nudge.config.ts +37 -0
  86. package/src/init/nudge.ts +2 -40
  87. package/src/init/tilli-pay-website.config.ts +213 -0
  88. package/src/init/tilli-pay-website.ts +2 -216
  89. package/src/init/tilli-pay.config.ts +27 -0
  90. package/src/init/tilli-pay.ts +2 -30
  91. package/src/init/tilli-website.config.ts +219 -0
  92. package/src/init/tilli-website.ts +2 -222
  93. package/src/init/tilliX.config.ts +29 -0
  94. package/src/init/tilliX.ts +2 -32
  95. package/src/init.ts +2 -2
  96. package/src/react-components/CookieConsentInit.client.tsx +9 -2
  97. package/src/react-components/CookieConsentInit.server.tsx +11 -2
  98. 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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/cookieconsent.css"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/brf.js"
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>
@@ -3,7 +3,7 @@
3
3
  <body>
4
4
  <script
5
5
  type="module"
6
- src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/brf.js"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/cookieconsent.css"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/brf.js?theme=elegant-black"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/brf.js?theme=elegant-black"
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,9 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <body>
4
+ <script
5
+ type="module"
6
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/nudge-website.js?theme=nudge-website-dark"
7
+ ></script>
8
+ </body>
9
+ </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>
@@ -0,0 +1,9 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <body>
4
+ <script
5
+ type="module"
6
+ src="https://cdn.jsdelivr.net/gh/tilli-pro/cookieconsent@95beecd12c0b52ac7b01a40f5a04ca8dff865bfb/dist/plugin/init/nudge-website.js?theme=nudge-website-light"
7
+ ></script>
8
+ </body>
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/cookieconsent.css"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/nudge.js?theme=nudge-dark"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/nudge.js?theme=nudge-dark"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/cookieconsent.css"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/nudge.js?theme=nudge-light"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/nudge.js?theme=nudge-light"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/cookieconsent.css"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/tilliX.js?theme=tenant%3Acon-edison-dark"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/tilliX.js?theme=tenant%3Acon-edison-dark"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/cookieconsent.css"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/tilliX.js?theme=tenant%3Acon-edison-light"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/tilliX.js?theme=tenant%3Acon-edison-light"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/cookieconsent.css"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/brf.js?theme=tenant%3Afreeman-dark"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/brf.js?theme=tenant%3Afreeman-dark"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/cookieconsent.css"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/brf.js?theme=tenant%3Afreeman-light"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/cookieconsent.css"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/brf.js?theme=tenant%3Afrontier-dark"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/brf.js?theme=tenant%3Afrontier-dark"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/cookieconsent.css"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/brf.js?theme=tenant%3Afrontier-light"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/brf.js?theme=tenant%3Afrontier-light"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/cookieconsent.css"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/tilliX.js?theme=tenant%3Aoru-dark"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/tilliX.js?theme=tenant%3Aoru-dark"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/cookieconsent.css"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/tilliX.js?theme=tenant%3Aoru-light"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/tilliX.js?theme=tenant%3Aoru-light"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/cookieconsent.css"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/tilli-pay.js?theme=tilli-pay-dark"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/tilli-pay.js?theme=tilli-pay-dark"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/cookieconsent.css"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/tilli-pay.js?theme=tilli-pay-light"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/tilli-pay.js?theme=tilli-pay-light"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/cookieconsent.css"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/tilli-website.js?theme=tilli-website-dark"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/tilli-website.js?theme=tilli-website-dark"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/cookieconsent.css"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/tilli-website.js?theme=tilli-website-light"
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@49b255420f7606d2a641e5294a5a9c09db612cca/dist/plugin/init/tilli-website.js?theme=tilli-website-light"
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,3 @@
1
+ import type { CookieConsentConfig } from "@tilli-pro/cookieconsent";
2
+ export declare const config: CookieConsentConfig;
3
+ //# sourceMappingURL=brf.config.d.ts.map
@@ -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
+ };