@dargmuesli/nuxt-cookie-control 5.8.4 → 5.8.5
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/module.d.ts +59 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +167 -4
- package/dist/runtime/composables.d.ts +2 -0
- package/dist/runtime/composables.mjs +2 -0
- package/dist/runtime/constants.d.ts +2 -0
- package/dist/runtime/constants.mjs +1 -0
- package/dist/runtime/locale/ar.d.ts +3 -0
- package/dist/runtime/locale/ar.mjs +17 -0
- package/dist/runtime/locale/az.d.ts +3 -0
- package/dist/runtime/locale/az.mjs +17 -0
- package/dist/runtime/locale/bg.d.ts +3 -0
- package/dist/runtime/locale/bg.mjs +17 -0
- package/dist/runtime/locale/cs.d.ts +3 -0
- package/dist/runtime/locale/cs.mjs +17 -0
- package/dist/runtime/locale/da.d.ts +3 -0
- package/dist/runtime/locale/da.mjs +17 -0
- package/dist/runtime/locale/de.d.ts +3 -0
- package/dist/runtime/locale/de.mjs +17 -0
- package/dist/runtime/locale/en.d.ts +3 -0
- package/dist/runtime/locale/en.mjs +17 -0
- package/dist/runtime/locale/es.d.ts +3 -0
- package/dist/runtime/locale/es.mjs +17 -0
- package/dist/runtime/locale/fi.d.ts +3 -0
- package/dist/runtime/locale/fi.mjs +17 -0
- package/dist/runtime/locale/fr.d.ts +3 -0
- package/dist/runtime/locale/fr.mjs +17 -0
- package/dist/runtime/locale/hr.d.ts +3 -0
- package/dist/runtime/locale/hr.mjs +17 -0
- package/dist/runtime/locale/hu.d.ts +3 -0
- package/dist/runtime/locale/hu.mjs +17 -0
- package/dist/runtime/locale/index.d.ts +1 -0
- package/dist/runtime/locale/index.mjs +54 -0
- package/dist/runtime/locale/it.d.ts +3 -0
- package/dist/runtime/locale/it.mjs +17 -0
- package/dist/runtime/locale/ja.d.ts +3 -0
- package/dist/runtime/locale/ja.mjs +17 -0
- package/dist/runtime/locale/ko.d.ts +3 -0
- package/dist/runtime/locale/ko.mjs +17 -0
- package/dist/runtime/locale/lt.d.ts +3 -0
- package/dist/runtime/locale/lt.mjs +17 -0
- package/dist/runtime/locale/nl.d.ts +3 -0
- package/dist/runtime/locale/nl.mjs +17 -0
- package/dist/runtime/locale/no.d.ts +3 -0
- package/dist/runtime/locale/no.mjs +17 -0
- package/dist/runtime/locale/oc.d.ts +3 -0
- package/dist/runtime/locale/oc.mjs +17 -0
- package/dist/runtime/locale/pl.d.ts +3 -0
- package/dist/runtime/locale/pl.mjs +17 -0
- package/dist/runtime/locale/pt.d.ts +3 -0
- package/dist/runtime/locale/pt.mjs +17 -0
- package/dist/runtime/locale/ru.d.ts +3 -0
- package/dist/runtime/locale/ru.mjs +17 -0
- package/dist/runtime/locale/sk.d.ts +3 -0
- package/dist/runtime/locale/sk.mjs +17 -0
- package/dist/runtime/locale/sv.d.ts +3 -0
- package/dist/runtime/locale/sv.mjs +17 -0
- package/dist/runtime/locale/tr.d.ts +3 -0
- package/dist/runtime/locale/tr.mjs +17 -0
- package/dist/runtime/locale/uk.d.ts +3 -0
- package/dist/runtime/locale/uk.mjs +17 -0
- package/dist/runtime/methods.d.ts +9 -0
- package/dist/runtime/methods.mjs +25 -0
- package/dist/runtime/plugin.d.ts +2 -0
- package/dist/runtime/plugin.mjs +40 -0
- package/dist/runtime/set-vars/native.d.ts +1 -0
- package/dist/runtime/set-vars/{native.ts → native.mjs} +2 -2
- package/dist/runtime/set-vars/ponyfill.d.ts +1 -0
- package/dist/runtime/set-vars/ponyfill.mjs +4 -0
- package/dist/runtime/types.d.ts +66 -0
- package/dist/runtime/types.mjs +57 -0
- package/dist/types.d.ts +1 -15
- package/package.json +4 -7
- package/dist/runtime/composables.ts +0 -5
- package/dist/runtime/constants.ts +0 -3
- package/dist/runtime/locale/ar.ts +0 -20
- package/dist/runtime/locale/az.ts +0 -20
- package/dist/runtime/locale/bg.ts +0 -21
- package/dist/runtime/locale/cs.ts +0 -20
- package/dist/runtime/locale/da.ts +0 -20
- package/dist/runtime/locale/de.ts +0 -21
- package/dist/runtime/locale/en.ts +0 -20
- package/dist/runtime/locale/es.ts +0 -20
- package/dist/runtime/locale/fi.ts +0 -21
- package/dist/runtime/locale/fr.ts +0 -20
- package/dist/runtime/locale/hr.ts +0 -21
- package/dist/runtime/locale/hu.ts +0 -21
- package/dist/runtime/locale/index.ts +0 -55
- package/dist/runtime/locale/it.ts +0 -20
- package/dist/runtime/locale/ja.ts +0 -20
- package/dist/runtime/locale/ko.ts +0 -20
- package/dist/runtime/locale/lt.ts +0 -20
- package/dist/runtime/locale/nl.ts +0 -21
- package/dist/runtime/locale/no.ts +0 -21
- package/dist/runtime/locale/oc.ts +0 -20
- package/dist/runtime/locale/pl.ts +0 -21
- package/dist/runtime/locale/pt.ts +0 -21
- package/dist/runtime/locale/ru.ts +0 -20
- package/dist/runtime/locale/sk.ts +0 -20
- package/dist/runtime/locale/sv.ts +0 -21
- package/dist/runtime/locale/tr.ts +0 -20
- package/dist/runtime/locale/uk.ts +0 -20
- package/dist/runtime/methods.ts +0 -49
- package/dist/runtime/plugin.ts +0 -51
- package/dist/runtime/set-vars/ponyfill.ts +0 -5
- package/dist/runtime/types.ts +0 -156
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
accept: "\u540C\u610F",
|
|
3
|
+
acceptAll: "\u5168\u3066\u540C\u610F",
|
|
4
|
+
bannerDescription: "\u5F53\u30B5\u30A4\u30C8\u3067\u306F\u3001\u30B5\u30FC\u30D3\u30B9\u6539\u5584\u3092\u76EE\u7684\u3068\u3057\u3066\u5F53\u30B5\u30A4\u30C8\u53CA\u3073\u7B2C\u4E09\u8005\u304C\u63D0\u4F9B\u3059\u308BCookie\u3092\u4F7F\u7528\u3059\u308B\u3053\u3068\u306B\u3088\u308A\u3001\u5229\u7528\u8005\u306B\u5F53\u30B5\u30A4\u30C8\u3092\u8868\u793A\u3055\u305B\u308B\u3068\u3068\u3082\u306B\u3001\u5229\u7528\u8005\u304C\u3069\u306E\u3088\u3046\u306B\u30B5\u30A4\u30C8\u3092\u5229\u7528\u3057\u3066\u3044\u308B\u304B\u3092\u3088\u308A\u5341\u5206\u306B\u628A\u63E1\u3059\u308B\u3053\u3068\u304C\u53EF\u80FD\u3068\u306A\u3063\u3066\u3044\u307E\u3059\u3002\u3053\u306E\u307E\u307E\u95B2\u89A7\u3092\u7D9A\u3051\u308B\u3068\u3001Cookie\u306E\u5229\u7528\u306B\u3064\u3044\u3066\u540C\u610F\u3057\u305F\u3068\u307F\u306A\u3055\u308C\u307E\u3059\u3002",
|
|
5
|
+
bannerTitle: "Cookie",
|
|
6
|
+
close: "\u9589\u3058\u308B",
|
|
7
|
+
cookiesFunctional: "\u6A5F\u80FD\u6027Cookie",
|
|
8
|
+
cookiesNecessary: "\u4E0D\u53EF\u6B20\u306ACookie",
|
|
9
|
+
cookiesOptional: "\u4EFB\u610F\u306Ecookies",
|
|
10
|
+
decline: "\u5FC5\u8981\u306B\u5FDC\u3058\u3066\u53D7\u3051\u5165\u308C\u308B",
|
|
11
|
+
declineAll: "\u5168\u3066\u524A\u9664",
|
|
12
|
+
here: "\u8A2D\u5B9A",
|
|
13
|
+
iframeBlocked: "\u3053\u3053\u3092\u8868\u793A\u3059\u308B\u306B\u306F\u3001\u6A5F\u80FD\u6027Cookie\u3092\u6709\u52B9\u306B\u3057\u3066\u304F\u3060\u3055\u3044:",
|
|
14
|
+
manageCookies: "Cookie\u3092\u7BA1\u7406",
|
|
15
|
+
save: "\u4FDD\u5B58",
|
|
16
|
+
settingsUnsaved: "\u4FDD\u5B58\u3055\u308C\u3066\u3044\u306A\u3044\u8A2D\u5B9A\u304C\u3042\u308A\u307E\u3059"
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
accept: "\uD5C8\uC6A9\uD558\uAE30",
|
|
3
|
+
acceptAll: "\uBAA8\uB450 \uD5C8\uC6A9\uD558\uAE30",
|
|
4
|
+
bannerDescription: "\uB2F9\uC0AC\uAC00 \uC81C\uACF5\uD558\uB294 \uC11C\uBE44\uC2A4\uB97C \uAC1C\uC120\uD558\uAE30 \uC704\uD574 \uADC0\uD558\uC5D0\uAC8C \uC774 \uC6F9\uC0AC\uC774\uD2B8\uB97C \uBCF4\uC5EC\uC8FC\uACE0 \uADC0\uD558\uC758 \uC0AC\uC6A9 \uBC29\uBC95\uC744 \uB354 \uC798 \uC774\uD574\uD560 \uC218 \uC788\uB3C4\uB85D \uC790\uCCB4 \uCFE0\uD0A4 \uBC0F \uD0C0\uC0AC \uCFE0\uD0A4\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4. \uD0D0\uC0C9\uC744 \uACC4\uC18D\uD55C\uB2E4\uBA74 \uCFE0\uD0A4\uB97C \uD5C8\uC6A9\uD55C \uAC83\uC73C\uB85C \uAC04\uC8FC\uB429\uB2C8\uB2E4.",
|
|
5
|
+
bannerTitle: "\uCFE0\uD0A4",
|
|
6
|
+
close: "\uB2EB\uAE30",
|
|
7
|
+
cookiesFunctional: "\uAE30\uB2A5\uC801 \uCFE0\uD0A4",
|
|
8
|
+
cookiesNecessary: "\uD544\uC218 \uCFE0\uD0A4\uD0A4",
|
|
9
|
+
cookiesOptional: "\uC120\uD0DD\uC801 \uCFE0\uD0A4",
|
|
10
|
+
decline: "\uAC70\uBD80\uD558\uAE30",
|
|
11
|
+
declineAll: "\uBAA8\uB450 \uAC70\uBD80\uD558\uAE30",
|
|
12
|
+
here: "\uC5EC\uAE30",
|
|
13
|
+
iframeBlocked: "\uC774 \uCF58\uD150\uCE20\uB97C \uBCFC \uC218 \uC788\uB3C4\uB85D \uAE30\uB2A5\uC801 \uCFE0\uD0A4\uB97C \uD5C8\uC6A9\uD574 \uC8FC\uC138\uC694.",
|
|
14
|
+
manageCookies: "\uCFE0\uD0A4 \uAD00\uB9AC",
|
|
15
|
+
save: "\uC800\uC7A5\uD558\uAE30",
|
|
16
|
+
settingsUnsaved: "\uBCC0\uACBD \uC0AC\uD56D\uC774 \uC800\uC7A5\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
accept: "Sutinku",
|
|
3
|
+
acceptAll: "Sutinku su visais",
|
|
4
|
+
bannerDescription: "Mes naudojame savo slapukus and tre\u010Di\u0173j\u0173 \u0161ali\u0173 slapukus tam, kad gal\u0117tume geriau suprasti kaip svetain\u0117 veikia ir yra naudojama bei tobulinti savo teikiamas paslaugas. J\u016Bs bet kuriuo metu galite pakeisti sutikim\u0105 d\u0117l slapuk\u0173 naudojimo paspaud\u0119 slapuk\u0173 mygtuk\u0105 kuris atsiras kai \u0161ioje reklamjuost\u0117je padarysite pasirinkim\u0105.",
|
|
5
|
+
bannerTitle: "Slapukai",
|
|
6
|
+
close: "U\u017Edaryti",
|
|
7
|
+
cookiesFunctional: "Funkciniai slapukai",
|
|
8
|
+
cookiesNecessary: "B\u016Btinieji slapukai",
|
|
9
|
+
cookiesOptional: "Pasirinktiniai slapukai",
|
|
10
|
+
decline: "At\u0161aukti",
|
|
11
|
+
declineAll: "At\u0161aukti visk\u0105",
|
|
12
|
+
here: "\u010Dia",
|
|
13
|
+
iframeBlocked: "Nor\u0117dami matyti, leiskite naudoti funkcinius slapukus",
|
|
14
|
+
manageCookies: "Su\u017Einoti daugiau ir pritaikyti",
|
|
15
|
+
save: "I\u0161saugoti",
|
|
16
|
+
settingsUnsaved: "J\u016Bs nei\u0161saugojote vis\u0173 nustatym\u0173"
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
accept: "Aanvaarden",
|
|
3
|
+
acceptAll: "Accepteer alles",
|
|
4
|
+
bannerDescription: "We gebruiken onze eigen cookies en third-party cookies om onze site te tonen en om te leren hoe deze gebruikt wordt, met het oog om de services die we verlenen te verbeteren. Door verder te gaan op onze site gaan we ervanuit dat hiermee akkoord gegaan wordt.",
|
|
5
|
+
bannerTitle: "Cookies",
|
|
6
|
+
close: "Sluiten",
|
|
7
|
+
cookiesFunctional: "Functionele cookies",
|
|
8
|
+
cookiesNecessary: "Noodzakelijke cookies",
|
|
9
|
+
cookiesOptional: "Optionele cookies",
|
|
10
|
+
decline: "Accepteer noodzakelijk",
|
|
11
|
+
declineAll: "Verwijder alles",
|
|
12
|
+
here: "hier",
|
|
13
|
+
iframeBlocked: "Om dit te kunnen bekijken dienen functionele cookies geaccepteerd te worden",
|
|
14
|
+
manageCookies: "Beheer cookies",
|
|
15
|
+
save: "Opslaan",
|
|
16
|
+
settingsUnsaved: "Er zijn niet-opgeslagen instellingen"
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
accept: "Aksepterer",
|
|
3
|
+
acceptAll: "Godta alle",
|
|
4
|
+
bannerDescription: "Vi bruker v\xE5re egne informasjonskapsler og tredjeparts informasjonskapsler, slik at vi kan vise deg dette nettstedet og bedre forst\xE5 hvordan du bruker det, med tanke p\xE5 \xE5 forbedre tjenestene vi tilbyr.",
|
|
5
|
+
bannerTitle: "Informasjonskapsler",
|
|
6
|
+
close: "Lukk",
|
|
7
|
+
cookiesFunctional: "Funksjonelle informasjonskapsler",
|
|
8
|
+
cookiesNecessary: "N\xF8dvendige informasjonskapsler",
|
|
9
|
+
cookiesOptional: "Valgfrie informasjonskapsler",
|
|
10
|
+
decline: "Jeg aksepterer det n\xF8dvendige",
|
|
11
|
+
declineAll: "Slett alle",
|
|
12
|
+
here: "her",
|
|
13
|
+
iframeBlocked: "For \xE5 se dette, vennligst aktiver funksjonelle informasjonskapsler",
|
|
14
|
+
manageCookies: "Administrer informasjonskapsler",
|
|
15
|
+
save: "Lagre",
|
|
16
|
+
settingsUnsaved: "Du har ulagrede innstillinger"
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
accept: "Acceptar",
|
|
3
|
+
acceptAll: "Tot acceptar",
|
|
4
|
+
bannerDescription: "Utilizam de cookies d\u2019origina e de cookies t\xE8rces. Aquestes cookies son destinats a vos ofrir una navegacion optimizada sus aqueste site web de nos donar un apercebut de son utilizacion, per melhorar los servicis que vos provesiss\xE8m. En contunhant v\xF2stra navegacion, consideram qu\u2019acceptatz l\u2019usatge de cookies.",
|
|
5
|
+
bannerTitle: "Cookies",
|
|
6
|
+
close: "Tancar",
|
|
7
|
+
cookiesFunctional: "Cookies foncionals",
|
|
8
|
+
cookiesNecessary: "Los cookies obligat\xF2ris",
|
|
9
|
+
cookiesOptional: "Los cookies opcionals",
|
|
10
|
+
decline: "Acc\xE8pti \xE7\xF2 necessari",
|
|
11
|
+
declineAll: "Tot refusar",
|
|
12
|
+
here: "aqu\xED",
|
|
13
|
+
iframeBlocked: "Per veire aqu\xF2, merc\xE9s d\u2019activar los cookies foncionals",
|
|
14
|
+
manageCookies: "Gerir los cookies",
|
|
15
|
+
save: "Salvagardar",
|
|
16
|
+
settingsUnsaved: "Av\xE8tz de param\xE8tres non salvagardats"
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
accept: "Akceptuj",
|
|
3
|
+
acceptAll: "Akceptuj wszystkie",
|
|
4
|
+
bannerDescription: "U\u017Cywamy w\u0142asnych plik\xF3w cookie i plik\xF3w cookie stron trzecich, aby\u015Bmy mogli poprawnie wy\u015Bwietla\u0107 t\u0119 witryn\u0119 i lepiej zrozumie\u0107, w jaki spos\xF3b ta witryna jest u\u017Cywana, w celu ulepszenia oferowanych przez nas us\u0142ug. Decyzj\u0119 w sprawie zgody na korzystanie z plik\xF3w cookie mo\u017Cna zmieni\u0107 w dowolnym momencie za pomoc\u0105 przycisku cookie, kt\xF3ry pojawi si\u0119 po dokonaniu wyboru na tym banerze.",
|
|
5
|
+
bannerTitle: "Polityka cookies",
|
|
6
|
+
close: "Zamknij",
|
|
7
|
+
cookiesFunctional: "Funkcjonalne pliki cookies",
|
|
8
|
+
cookiesNecessary: "Niezb\u0119dne pliki cookies",
|
|
9
|
+
cookiesOptional: "Opcjonalne pliki cookies",
|
|
10
|
+
decline: "Zrezygnuj",
|
|
11
|
+
declineAll: "Zrezygnuj ze wszystkich",
|
|
12
|
+
here: "tutaj",
|
|
13
|
+
iframeBlocked: "W celu wy\u015Bwietlenia wymagane jest w\u0142\u0105czenie funkcjonalnych plik\xF3w cookies",
|
|
14
|
+
manageCookies: "Dowiedz si\u0119 wi\u0119cej",
|
|
15
|
+
save: "Zapisz",
|
|
16
|
+
settingsUnsaved: "Masz niezapisane ustawienia"
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
accept: "Aceitar todos",
|
|
3
|
+
acceptAll: "Aceitar",
|
|
4
|
+
bannerDescription: "N\xF3s utilizamos os nossos pr\xF3prios cookies e de terceiros para que possamos lhe mostrar este site e compreender a forma como o utiliza, de forma a melhorarmos os servi\xE7os que oferecemos. Ao continuar a navegar no site, consideramos que aceitou a utiliza\xE7\xE3o de cookies.",
|
|
5
|
+
bannerTitle: "Cookies",
|
|
6
|
+
close: "Fechar",
|
|
7
|
+
cookiesFunctional: "Cookies funcionais",
|
|
8
|
+
cookiesNecessary: "Cookies necess\xE1rios",
|
|
9
|
+
cookiesOptional: "Cookies opcionais",
|
|
10
|
+
decline: "Eu aceito o necess\xE1rio",
|
|
11
|
+
declineAll: "Apagar todos",
|
|
12
|
+
here: "aqui",
|
|
13
|
+
iframeBlocked: "Para visualizar isto, por favor, active os cookies funcionais",
|
|
14
|
+
manageCookies: "Gerir cookies",
|
|
15
|
+
save: "Gravar",
|
|
16
|
+
settingsUnsaved: "Tem altera\xE7\xF5es n\xE3o guardadas"
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
accept: "\u041F\u0440\u0438\u043D\u0438\u043C\u0430\u0442\u044C",
|
|
3
|
+
acceptAll: "\u041F\u0440\u0438\u043D\u044F\u0442\u044C \u0432\u0441\u0435",
|
|
4
|
+
bannerDescription: "\u041C\u044B \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C \u043D\u0430\u0448\u0438 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0435 \u0444\u0430\u0439\u043B\u044B cookie \u0438 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u044B cookie, \u0447\u0442\u043E\u0431\u044B \u043C\u044B \u043C\u043E\u0433\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u0430\u043C \u044D\u0442\u043E\u0442 \u0432\u0435\u0431-\u0441\u0430\u0439\u0442 \u0438 \u043B\u0443\u0447\u0448\u0435 \u043F\u043E\u043D\u044F\u0442\u044C, \u043A\u0430\u043A \u0432\u044B \u0435\u0433\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0435, \u0441 \u0446\u0435\u043B\u044C\u044E \u0443\u043B\u0443\u0447\u0448\u0435\u043D\u0438\u044F \u043F\u0440\u0435\u0434\u043B\u0430\u0433\u0430\u0435\u043C\u044B\u0445 \u043D\u0430\u043C\u0438 \u0443\u0441\u043B\u0443\u0433. \u0415\u0441\u043B\u0438 \u0432\u044B \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u0435 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440, \u043C\u044B \u0431\u0443\u0434\u0435\u043C \u0441\u0447\u0438\u0442\u0430\u0442\u044C, \u0447\u0442\u043E \u0432\u044B \u043F\u0440\u0438\u043D\u044F\u043B\u0438 \u0444\u0430\u0439\u043B\u044B cookie.",
|
|
5
|
+
bannerTitle: "\u0424\u0430\u0439\u043B\u044B cookie",
|
|
6
|
+
close: "\u0417\u0430\u043A\u0440\u044B\u0442\u044C",
|
|
7
|
+
cookiesFunctional: "\u0424\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0435 \u0444\u0430\u0439\u043B\u044B cookie",
|
|
8
|
+
cookiesNecessary: "\u041D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u0435 \u0444\u0430\u0439\u043B\u044B cookie",
|
|
9
|
+
cookiesOptional: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0444\u0430\u0439\u043B\u044B cookie",
|
|
10
|
+
decline: "\u042F \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u044E \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0435",
|
|
11
|
+
declineAll: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435",
|
|
12
|
+
here: "\u0437\u0434\u0435\u0441\u044C",
|
|
13
|
+
iframeBlocked: "\u0427\u0442\u043E\u0431\u044B \u044D\u0442\u043E \u0443\u0432\u0438\u0434\u0435\u0442\u044C, \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0435 \u0444\u0430\u0439\u043B\u044B cookie",
|
|
14
|
+
manageCookies: "\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u0430\u043C\u0438 cookie",
|
|
15
|
+
save: "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C",
|
|
16
|
+
settingsUnsaved: "\u0423 \u0432\u0430\u0441 \u0435\u0441\u0442\u044C \u043D\u0435\u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043D\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438"
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
accept: "Prija\u0165",
|
|
3
|
+
acceptAll: "Prija\u0165 v\u0161etko",
|
|
4
|
+
bannerDescription: "S\xFAbory cookie a s\xFAbory cookie tret\xEDch str\xE1n pou\u017E\xEDvame na to, aby sme mohli v\u0161etko spr\xE1vne zobrazi\u0165 a lep\u0161ie pochopi\u0165, ako pou\u017E\xEDvate t\xFAto webov\xFA lokalitu, aby sme mohli zlep\u0161i\u0165 pon\xFAkan\xE9 slu\u017Eby. Rozhodnutia m\xF4\u017Eete kedyko\u013Evek zmeni\u0165 pomocou tla\u010Didla cookie, ktor\xE9 sa zobraz\xED po vykonan\xED v\xFDberu na tomto banneri.",
|
|
5
|
+
bannerTitle: "Cookies",
|
|
6
|
+
close: "Zatvori\u0165",
|
|
7
|
+
cookiesFunctional: "Obslu\u017En\xE9 cookies",
|
|
8
|
+
cookiesNecessary: "Nevyhnutn\xE9 cookies",
|
|
9
|
+
cookiesOptional: "Volite\u013En\xE9 cookies",
|
|
10
|
+
decline: "Odmietnu\u0165",
|
|
11
|
+
declineAll: "Odmietnu\u0165 v\u0161etky",
|
|
12
|
+
here: "tu",
|
|
13
|
+
iframeBlocked: "Ak ho chcete zobrazi\u0165, povo\u013Ete obslu\u017En\xE9 cookies",
|
|
14
|
+
manageCookies: "\u010Eal\u0161ie inform\xE1cie a prisp\xF4sobenie",
|
|
15
|
+
save: "Ulo\u017Ei\u0165",
|
|
16
|
+
settingsUnsaved: "M\xE1te neulo\u017Een\xE9 nastavenia"
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
accept: "Godk\xE4nn",
|
|
3
|
+
acceptAll: "Godk\xE4nn alla",
|
|
4
|
+
bannerDescription: "Vi anv\xE4nder egna och tredjeparts-cookies f\xF6r att visa webbplatsen korrekt samt f\xF6r att f\xF6rst\xE5 hur webbplatsen anv\xE4nds i syfte att kunna f\xF6rb\xE4ttra de tj\xE4nster vi erbjuder. Ditt beslut kring anv\xE4ndandet av cookies kan n\xE4rsomhelst \xE4ndras via cookie-knappen p\xE5 webbplatsen.",
|
|
5
|
+
bannerTitle: "Cookies",
|
|
6
|
+
close: "St\xE4ng",
|
|
7
|
+
cookiesFunctional: "Funktionella cookies",
|
|
8
|
+
cookiesNecessary: "N\xF6dv\xE4ndiga cookies",
|
|
9
|
+
cookiesOptional: "Frivilliga cookies",
|
|
10
|
+
decline: "Avsl\xE5",
|
|
11
|
+
declineAll: "Avsl\xE5 alla",
|
|
12
|
+
here: "h\xE4r",
|
|
13
|
+
iframeBlocked: "F\xF6r att ta del av detta, var god godk\xE4nn funktionella cookies",
|
|
14
|
+
manageCookies: "Anpassa",
|
|
15
|
+
save: "Spara",
|
|
16
|
+
settingsUnsaved: "Du har inst\xE4llningar som inte \xE4r sparade"
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
accept: "Kabul etmek",
|
|
3
|
+
acceptAll: "T\xFCm\xFCn\xFC kabul et",
|
|
4
|
+
bannerDescription: "Bu web sitesini do\u011Fru bir \u015Fekilde g\xF6r\xFCnt\xFCleyebilmek ve teklifimizi geli\u015Ftirmek i\xE7in bu web sitesinin nas\u0131l kullan\u0131ld\u0131\u011F\u0131n\u0131 daha iyi anlayabilmek i\xE7in kendi ve \xFC\xE7\xFCnc\xFC taraf \xE7erezlerimizi kullan\u0131yoruz. \xC7erez kullanma izni ile ilgili karar, bu banner \xFCzerinde bir se\xE7im yap\u0131ld\u0131ktan sonra g\xF6r\xFCnen \xE7erez d\xFC\u011Fmesi arac\u0131l\u0131\u011F\u0131yla herhangi bir zamanda de\u011Fi\u015Ftirilebilir.",
|
|
5
|
+
bannerTitle: "\xC7erezler",
|
|
6
|
+
close: "Kapat",
|
|
7
|
+
cookiesFunctional: "\u0130\u015Flevsel \xE7erezler",
|
|
8
|
+
cookiesNecessary: "Gerekli \xE7erezler",
|
|
9
|
+
cookiesOptional: "\u0130ste\u011Fe ba\u011Fl\u0131 \xE7erezler",
|
|
10
|
+
decline: "Reddetmek",
|
|
11
|
+
declineAll: "T\xFCm\xFCn\xFC reddet",
|
|
12
|
+
here: "here",
|
|
13
|
+
iframeBlocked: "Bunu g\xF6rmek i\xE7in l\xFCtfen i\u015Flevsel \xE7erezleri etkinle\u015Ftirin",
|
|
14
|
+
manageCookies: "\xC7erezleri y\xF6net",
|
|
15
|
+
save: "Kaydet",
|
|
16
|
+
settingsUnsaved: "Kaydedilmemi\u015F ayarlar mevcut"
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
accept: "\u041F\u0440\u0438\u043D\u0438\u043C\u0430\u0442\u044C",
|
|
3
|
+
acceptAll: "\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0438 \u0443\u0441\u0456",
|
|
4
|
+
bannerDescription: "\u041C\u0438 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0454\u043C\u043E \u0432\u043B\u0430\u0441\u043D\u0456 \u0444\u0430\u0439\u043B\u0438 cookie \u0442\u0430 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0444\u0430\u0439\u043B\u0438 cookie, \u0449\u043E\u0431 \u043C\u0438 \u043C\u043E\u0433\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u0432\u0430\u043C \u0446\u0435\u0439 \u0432\u0435\u0431-\u0441\u0430\u0439\u0442 \u0456 \u043A\u0440\u0430\u0449\u0435 \u0437\u0440\u043E\u0437\u0443\u043C\u0456\u0442\u0438, \u044F\u043A \u0432\u0438 \u043D\u0438\u043C \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0454\u0442\u0435\u0441\u044F, \u0437 \u043C\u0435\u0442\u043E\u044E \u043F\u043E\u043A\u0440\u0430\u0449\u0435\u043D\u043D\u044F \u043F\u0440\u043E\u043F\u043E\u043D\u043E\u0432\u0430\u043D\u0438\u0445 \u043D\u0430\u043C\u0438 \u043F\u043E\u0441\u043B\u0443\u0433. \u042F\u043A\u0449\u043E \u0432\u0438 \u043F\u0440\u043E\u0434\u043E\u0432\u0436\u0443\u0454\u0442\u0435 \u043F\u0435\u0440\u0435\u0433\u043B\u044F\u0434, \u043C\u0438 \u0432\u0432\u0430\u0436\u0430\u0454\u043C\u043E, \u0449\u043E \u0432\u0438 \u043F\u0440\u0438\u0439\u043D\u044F\u043B\u0438 \u0444\u0430\u0439\u043B\u0438 cookie.",
|
|
5
|
+
bannerTitle: "\u0424\u0430\u0439\u043B\u0438 cookie",
|
|
6
|
+
close: "\u0417\u0430\u043A\u0440\u0438\u0442\u0438",
|
|
7
|
+
cookiesFunctional: "\u0424\u0443\u043D\u043A\u0446\u0456\u043E\u043D\u0430\u043B\u044C\u043D\u0456 \u0444\u0430\u0439\u043B\u0438 cookie",
|
|
8
|
+
cookiesNecessary: "\u041D\u0435\u043E\u0431\u0445\u0456\u0434\u043D\u0456 \u0444\u0430\u0439\u043B\u0438 cookie",
|
|
9
|
+
cookiesOptional: "\u0424\u0430\u043A\u0443\u043B\u044C\u0442\u0430\u0442\u0438\u0432\u043D\u0456 \u0444\u0430\u0439\u043B\u0438 cookie",
|
|
10
|
+
decline: "\u041F\u0440\u0438\u0439\u043C\u0430\u044E \u043D\u0435\u043E\u0431\u0445\u0456\u0434\u043D\u0435",
|
|
11
|
+
declineAll: "\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0443\u0441\u0456",
|
|
12
|
+
here: "\u0442\u0443\u0442",
|
|
13
|
+
iframeBlocked: "\u0429\u043E\u0431 \u043F\u043E\u0431\u0430\u0447\u0438\u0442\u0438 \u0446\u0435, \u0443\u0432\u0456\u043C\u043A\u043D\u0456\u0442\u044C \u0444\u0443\u043D\u043A\u0446\u0456\u043E\u043D\u0430\u043B\u044C\u043D\u0456 \u0444\u0430\u0439\u043B\u0438 cookie",
|
|
14
|
+
manageCookies: "\u041A\u0435\u0440\u0443\u0432\u0430\u0442\u0438 \u0444\u0430\u0439\u043B\u0430\u043C\u0438 cookie",
|
|
15
|
+
save: "\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438",
|
|
16
|
+
settingsUnsaved: "\u0423 \u0432\u0430\u0441 \u0454 \u043D\u0435\u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u0456 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F"
|
|
17
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Cookie, ModuleOptions, Translatable } from './types';
|
|
2
|
+
export declare const getAllCookieIdsString: (moduleOptions: ModuleOptions) => string;
|
|
3
|
+
export declare const getCookie: (name: string) => any;
|
|
4
|
+
export declare const getCookieId: (cookie: Cookie) => string;
|
|
5
|
+
export declare const getCookieIds: (cookies: Cookie[]) => string[];
|
|
6
|
+
export declare const removeCookie: (name: string) => any;
|
|
7
|
+
export declare const resolveTranslatable: (translatable: Translatable, locale?: import("./types").Locale) => string;
|
|
8
|
+
export declare const setCookie: (name: string, value: string, options: Cookies.CookieAttributes) => any;
|
|
9
|
+
export declare const useResolveTranslatable: (locale?: import("./types").Locale) => (translatable: Translatable) => string;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import Cookies from "js-cookie";
|
|
2
|
+
import slugify from "@sindresorhus/slugify";
|
|
3
|
+
import { LOCALE_DEFAULT } from "./constants.mjs";
|
|
4
|
+
export const getAllCookieIdsString = (moduleOptions) => getCookieIds([
|
|
5
|
+
...moduleOptions.cookies.necessary,
|
|
6
|
+
...moduleOptions.cookies.optional
|
|
7
|
+
]).join("");
|
|
8
|
+
export const getCookie = (name) => Cookies.get(name);
|
|
9
|
+
export const getCookieId = (cookie) => cookie.id || slugify(resolveTranslatable(cookie.name));
|
|
10
|
+
export const getCookieIds = (cookies) => cookies.map((cookie) => getCookieId(cookie));
|
|
11
|
+
export const removeCookie = (name) => Cookies.remove(name);
|
|
12
|
+
export const resolveTranslatable = (translatable, locale = LOCALE_DEFAULT) => {
|
|
13
|
+
if (typeof translatable === "string")
|
|
14
|
+
return translatable;
|
|
15
|
+
if (!locale)
|
|
16
|
+
throw new Error("No locale given for translatable that is not a string.");
|
|
17
|
+
const result = translatable[locale];
|
|
18
|
+
if (!result)
|
|
19
|
+
throw new Error(`Could not get translation for locale ${locale}.`);
|
|
20
|
+
return result;
|
|
21
|
+
};
|
|
22
|
+
export const setCookie = (name, value, options) => Cookies.set(name, value, { sameSite: "Strict", ...options });
|
|
23
|
+
export const useResolveTranslatable = (locale = LOCALE_DEFAULT) => {
|
|
24
|
+
return (translatable) => resolveTranslatable(translatable, locale);
|
|
25
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import Cookies from "js-cookie";
|
|
2
|
+
import { ref } from "vue";
|
|
3
|
+
import { getAllCookieIdsString, getCookieId } from "./methods.mjs";
|
|
4
|
+
import { defineNuxtPlugin } from "#imports";
|
|
5
|
+
import moduleOptions from "#build/cookie-control-options";
|
|
6
|
+
export default defineNuxtPlugin((_nuxtApp) => {
|
|
7
|
+
const cookieIsConsentGiven = Cookies.get(
|
|
8
|
+
moduleOptions.cookieNameIsConsentGiven
|
|
9
|
+
);
|
|
10
|
+
const cookieCookiesEnabledIds = Cookies.get(
|
|
11
|
+
moduleOptions.cookieNameCookiesEnabledIds
|
|
12
|
+
)?.split("|");
|
|
13
|
+
const isConsentGiven = ref(
|
|
14
|
+
cookieIsConsentGiven === void 0 ? void 0 : cookieIsConsentGiven === getAllCookieIdsString(moduleOptions)
|
|
15
|
+
);
|
|
16
|
+
const cookiesEnabled = ref(
|
|
17
|
+
cookieCookiesEnabledIds === void 0 ? void 0 : [
|
|
18
|
+
...moduleOptions.cookies.necessary.filter(
|
|
19
|
+
(cookieNecessary) => cookieCookiesEnabledIds.includes(getCookieId(cookieNecessary))
|
|
20
|
+
),
|
|
21
|
+
...moduleOptions.cookies.optional.filter(
|
|
22
|
+
(cookieOptional) => cookieCookiesEnabledIds.includes(getCookieId(cookieOptional))
|
|
23
|
+
)
|
|
24
|
+
]
|
|
25
|
+
);
|
|
26
|
+
const cookiesEnabledIds = ref(cookieCookiesEnabledIds);
|
|
27
|
+
const isModalActive = ref();
|
|
28
|
+
const state = {
|
|
29
|
+
isConsentGiven,
|
|
30
|
+
cookiesEnabled,
|
|
31
|
+
cookiesEnabledIds,
|
|
32
|
+
isModalActive,
|
|
33
|
+
moduleOptions
|
|
34
|
+
};
|
|
35
|
+
return {
|
|
36
|
+
provide: {
|
|
37
|
+
cookies: state
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (variables: Record<string, string>): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export default function
|
|
1
|
+
export default function(variables) {
|
|
2
2
|
for (const cssVar in variables) {
|
|
3
|
-
document.documentElement.style.setProperty(`--${cssVar}`, variables[cssVar])
|
|
3
|
+
document.documentElement.style.setProperty(`--${cssVar}`, variables[cssVar]);
|
|
4
4
|
}
|
|
5
5
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (variables: Record<string, string>): void;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export type Locale = 'ar' | 'az' | 'bg' | 'cs' | 'da' | 'de' | 'en' | 'es' | 'fi' | 'fr' | 'hr' | 'hu' | 'it' | 'ja' | 'ko' | 'lt' | 'nl' | 'no' | 'oc' | 'pt' | 'pl' | 'ru' | 'sk' | 'sv' | 'tr' | 'uk';
|
|
3
|
+
export type PartialRecord<K extends keyof any, T> = Partial<Record<K, T>>;
|
|
4
|
+
export type Translatable = string | PartialRecord<Locale, string>;
|
|
5
|
+
export declare enum CookieType {
|
|
6
|
+
NECESSARY = "necessary",
|
|
7
|
+
OPTIONAL = "optional"
|
|
8
|
+
}
|
|
9
|
+
export interface Cookie {
|
|
10
|
+
description?: Translatable;
|
|
11
|
+
id?: string;
|
|
12
|
+
name: Translatable;
|
|
13
|
+
links?: Record<string, string | null>;
|
|
14
|
+
src?: string;
|
|
15
|
+
targetCookieIds?: string[];
|
|
16
|
+
}
|
|
17
|
+
export interface LocaleStrings {
|
|
18
|
+
accept: string;
|
|
19
|
+
acceptAll: string;
|
|
20
|
+
bannerDescription: string;
|
|
21
|
+
bannerTitle: string;
|
|
22
|
+
close: string;
|
|
23
|
+
cookiesFunctional: string;
|
|
24
|
+
cookiesNecessary: string;
|
|
25
|
+
cookiesOptional: string;
|
|
26
|
+
iframeBlocked: string;
|
|
27
|
+
decline: string;
|
|
28
|
+
declineAll: string;
|
|
29
|
+
here: string;
|
|
30
|
+
manageCookies: string;
|
|
31
|
+
save: string;
|
|
32
|
+
settingsUnsaved: string;
|
|
33
|
+
}
|
|
34
|
+
export interface ModuleOptions {
|
|
35
|
+
barPosition: 'top-left' | 'top-right' | 'top-full' | 'bottom-left' | 'bottom-right' | 'bottom-full';
|
|
36
|
+
closeModalOnClickOutside: boolean;
|
|
37
|
+
colors: false | Record<string, any>;
|
|
38
|
+
cookieExpiryOffsetMs: number;
|
|
39
|
+
cookieNameCookiesEnabledIds: string;
|
|
40
|
+
cookieNameIsConsentGiven: string;
|
|
41
|
+
cookies: {
|
|
42
|
+
necessary: Cookie[];
|
|
43
|
+
optional: Cookie[];
|
|
44
|
+
};
|
|
45
|
+
domain: string;
|
|
46
|
+
isAcceptNecessaryButtonEnabled: boolean;
|
|
47
|
+
isControlButtonEnabled: boolean;
|
|
48
|
+
isCookieIdVisible: boolean;
|
|
49
|
+
isCssEnabled: boolean;
|
|
50
|
+
isCssPonyfillEnabled: boolean;
|
|
51
|
+
isDashInDescriptionEnabled: boolean;
|
|
52
|
+
isIframeBlocked: boolean | {
|
|
53
|
+
initialState: boolean;
|
|
54
|
+
};
|
|
55
|
+
isModalForced: boolean;
|
|
56
|
+
locales: Locale[];
|
|
57
|
+
localeTexts: PartialRecord<Locale, Partial<LocaleStrings>>;
|
|
58
|
+
}
|
|
59
|
+
export declare const DEFAULTS: Required<ModuleOptions>;
|
|
60
|
+
export interface State {
|
|
61
|
+
cookiesEnabled: Ref<Cookie[] | undefined>;
|
|
62
|
+
cookiesEnabledIds: Ref<string[] | undefined>;
|
|
63
|
+
isConsentGiven: Ref<boolean | undefined>;
|
|
64
|
+
isModalActive: Ref<boolean>;
|
|
65
|
+
moduleOptions: ModuleOptions;
|
|
66
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import en from "./locale/en.mjs";
|
|
2
|
+
export var CookieType = /* @__PURE__ */ ((CookieType2) => {
|
|
3
|
+
CookieType2["NECESSARY"] = "necessary";
|
|
4
|
+
CookieType2["OPTIONAL"] = "optional";
|
|
5
|
+
return CookieType2;
|
|
6
|
+
})(CookieType || {});
|
|
7
|
+
export const DEFAULTS = {
|
|
8
|
+
barPosition: "bottom-full",
|
|
9
|
+
closeModalOnClickOutside: false,
|
|
10
|
+
colors: {
|
|
11
|
+
barBackground: "#000",
|
|
12
|
+
barButtonBackground: "#fff",
|
|
13
|
+
barButtonColor: "#000",
|
|
14
|
+
barButtonHoverBackground: "#333",
|
|
15
|
+
barButtonHoverColor: "#fff",
|
|
16
|
+
barTextColor: "#fff",
|
|
17
|
+
checkboxActiveBackground: "#000",
|
|
18
|
+
checkboxActiveCircleBackground: "#fff",
|
|
19
|
+
checkboxDisabledBackground: "#ddd",
|
|
20
|
+
checkboxDisabledCircleBackground: "#fff",
|
|
21
|
+
checkboxInactiveBackground: "#000",
|
|
22
|
+
checkboxInactiveCircleBackground: "#fff",
|
|
23
|
+
controlButtonBackground: "#fff",
|
|
24
|
+
controlButtonHoverBackground: "#000",
|
|
25
|
+
controlButtonIconColor: "#000",
|
|
26
|
+
controlButtonIconHoverColor: "#fff",
|
|
27
|
+
focusRingColor: "#808080",
|
|
28
|
+
modalBackground: "#fff",
|
|
29
|
+
modalButtonBackground: "#000",
|
|
30
|
+
modalButtonColor: "#fff",
|
|
31
|
+
modalButtonHoverBackground: "#333",
|
|
32
|
+
modalButtonHoverColor: "#fff",
|
|
33
|
+
modalOverlay: "#000",
|
|
34
|
+
modalOverlayOpacity: 0.8,
|
|
35
|
+
modalTextColor: "#000",
|
|
36
|
+
modalUnsavedColor: "#fff"
|
|
37
|
+
},
|
|
38
|
+
cookies: {
|
|
39
|
+
necessary: [],
|
|
40
|
+
optional: []
|
|
41
|
+
},
|
|
42
|
+
cookieExpiryOffsetMs: 1e3 * 60 * 60 * 24 * 365,
|
|
43
|
+
// one year
|
|
44
|
+
cookieNameIsConsentGiven: "ncc_c",
|
|
45
|
+
cookieNameCookiesEnabledIds: "ncc_e",
|
|
46
|
+
isAcceptNecessaryButtonEnabled: true,
|
|
47
|
+
isControlButtonEnabled: true,
|
|
48
|
+
isCookieIdVisible: false,
|
|
49
|
+
isCssEnabled: true,
|
|
50
|
+
isCssPonyfillEnabled: false,
|
|
51
|
+
isDashInDescriptionEnabled: true,
|
|
52
|
+
isIframeBlocked: false,
|
|
53
|
+
isModalForced: false,
|
|
54
|
+
domain: "",
|
|
55
|
+
locales: ["en"],
|
|
56
|
+
localeTexts: { en }
|
|
57
|
+
};
|
package/dist/types.d.ts
CHANGED
|
@@ -1,21 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { } from './module'
|
|
3
3
|
|
|
4
|
-
declare module '@nuxt/schema' {
|
|
5
|
-
interface NuxtConfig { ['cookieControl']?: Partial<ModuleOptions> }
|
|
6
|
-
interface NuxtOptions { ['cookieControl']?: ModuleOptions }
|
|
7
|
-
interface NuxtHooks extends ModuleHooks {}
|
|
8
|
-
interface RuntimeConfig extends ModuleRuntimeConfig {}
|
|
9
|
-
interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {}
|
|
10
|
-
}
|
|
11
4
|
|
|
12
|
-
declare module 'nuxt/schema' {
|
|
13
|
-
interface NuxtConfig { ['cookieControl']?: Partial<ModuleOptions> }
|
|
14
|
-
interface NuxtOptions { ['cookieControl']?: ModuleOptions }
|
|
15
|
-
interface NuxtHooks extends ModuleHooks {}
|
|
16
|
-
interface RuntimeConfig extends ModuleRuntimeConfig {}
|
|
17
|
-
interface PublicRuntimeConfig extends ModulePublicRuntimeConfig {}
|
|
18
|
-
}
|
|
19
5
|
|
|
20
6
|
|
|
21
7
|
export { default } from './module'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dargmuesli/nuxt-cookie-control",
|
|
3
|
-
"version": "5.8.
|
|
3
|
+
"version": "5.8.5",
|
|
4
4
|
"description": "Nuxt Cookies Control Module",
|
|
5
5
|
"author": "Dario Ferderber <dario.ferderber@broj42.com>",
|
|
6
6
|
"maintainers": [
|
|
@@ -33,12 +33,9 @@
|
|
|
33
33
|
"src/locale"
|
|
34
34
|
],
|
|
35
35
|
"scripts": {
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"dev:build": "nuxi build playground",
|
|
40
|
-
"lint": "pnpm prepack && eslint --ext .js,.ts,.vue . && nuxi typecheck playground",
|
|
41
|
-
"prepare": "husky install && pnpm dev:prepare"
|
|
36
|
+
"build": "nuxt-module-build",
|
|
37
|
+
"prepack": "pnpm build",
|
|
38
|
+
"prepare": "husky install"
|
|
42
39
|
},
|
|
43
40
|
"dependencies": {
|
|
44
41
|
"@nuxt/kit": "3.4.3",
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { LocaleStrings } from '../types'
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
accept: 'قبول',
|
|
5
|
-
acceptAll: 'قبول الكل',
|
|
6
|
-
bannerDescription:
|
|
7
|
-
'نحن نستخدم ملفات تعريف الارتباط الخاصة بنا وملفات تعريف الارتباط الخاصة بالجهات الخارجية حتى نتمكن من عرض هذا الموقع وفهم كيفية استخدامه بشكل أفضل ، بهدف تحسين الخدمات التي نقدمها. إذا واصلت التصفح ، فإننا نعتبر أنك قبلت ملفات تعريف الارتباط.',
|
|
8
|
-
bannerTitle: 'ملفات تعريف الارتباط',
|
|
9
|
-
close: 'إغلاق',
|
|
10
|
-
cookiesFunctional: 'ملفات تعريف الارتباط الوظيفية',
|
|
11
|
-
cookiesNecessary: 'ملفات تعريف الارتباط الضرورية',
|
|
12
|
-
cookiesOptional: 'ملفات تعريف الارتباط الاختيارية',
|
|
13
|
-
decline: 'تقبل الضرورة',
|
|
14
|
-
declineAll: 'حذف الكل',
|
|
15
|
-
here: 'هنا',
|
|
16
|
-
iframeBlocked: 'لرؤية هذا ، يرجى تمكين ملفات تعريف الارتباط الوظيفية',
|
|
17
|
-
manageCookies: 'إدارة ملفات تعريف الارتباط',
|
|
18
|
-
save: 'حفظ',
|
|
19
|
-
settingsUnsaved: 'لديك إعدادات غير محفوظة',
|
|
20
|
-
} as LocaleStrings
|