@dargmuesli/nuxt-cookie-control 6.0.0 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/locale/index.mjs +2 -0
- package/dist/runtime/locale/ro.d.ts +3 -0
- package/dist/runtime/locale/ro.mjs +17 -0
- package/dist/runtime/types.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|

|
|
6
6
|
|
|
7
|
-
✅ Translated for: ar, az, bg, cs, da, de, en, es, fi, fr, hr, hu, it, ja, ko, lt, nl, no, oc, pt, pl, rs, ru, sk, sv, tr and uk
|
|
7
|
+
✅ Translated for: ar, az, bg, cs, da, de, en, es, fi, fr, hr, hu, it, ja, ko, lt, nl, no, oc, pt, pl, ro, rs, ru, sk, sv, tr and uk
|
|
8
8
|
|
|
9
9
|
✅ Vue 3 support
|
|
10
10
|
|
package/dist/module.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
2
|
import { CookieOptions } from 'nuxt/app';
|
|
3
3
|
|
|
4
|
-
type Locale = 'ar' | 'az' | 'bg' | 'cs' | 'da' | 'de' | 'en' | 'es' | 'fi' | 'fr' | 'hr' | 'hu' | 'it' | 'ja' | 'ko' | 'lt' | 'nl' | 'no' | 'oc' | 'pt' | 'pl' | 'rs' | 'ru' | 'sk' | 'sv' | 'tr' | 'uk';
|
|
4
|
+
type Locale = 'ar' | 'az' | 'bg' | 'cs' | 'da' | 'de' | 'en' | 'es' | 'fi' | 'fr' | 'hr' | 'hu' | 'it' | 'ja' | 'ko' | 'lt' | 'nl' | 'no' | 'oc' | 'pt' | 'pl' | 'ro' | 'rs' | 'ru' | 'sk' | 'sv' | 'tr' | 'uk';
|
|
5
5
|
type PartialRecord<K extends keyof any, T> = Partial<Record<K, T>>;
|
|
6
6
|
type Translatable = string | PartialRecord<Locale, string>;
|
|
7
7
|
interface Cookie {
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { pathToFileURL } from 'node:url';
|
|
|
3
3
|
import { createResolver, defineNuxtModule, addPlugin, addImports, addTemplate, extendWebpackConfig, resolvePath } from '@nuxt/kit';
|
|
4
4
|
|
|
5
5
|
const name = "@dargmuesli/nuxt-cookie-control";
|
|
6
|
-
const version = "6.
|
|
6
|
+
const version = "6.1.0";
|
|
7
7
|
|
|
8
8
|
const en = {
|
|
9
9
|
accept: "Accept",
|
|
@@ -19,6 +19,7 @@ import no from "./no.mjs";
|
|
|
19
19
|
import oc from "./oc.mjs";
|
|
20
20
|
import pt from "./pt.mjs";
|
|
21
21
|
import pl from "./pl.mjs";
|
|
22
|
+
import ro from "./ro.mjs";
|
|
22
23
|
import rs from "./rs.mjs";
|
|
23
24
|
import ru from "./ru.mjs";
|
|
24
25
|
import sk from "./sk.mjs";
|
|
@@ -47,6 +48,7 @@ export const locales = [
|
|
|
47
48
|
oc,
|
|
48
49
|
pt,
|
|
49
50
|
pl,
|
|
51
|
+
ro,
|
|
50
52
|
rs,
|
|
51
53
|
ru,
|
|
52
54
|
sk,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
accept: "Accept\u0103",
|
|
3
|
+
acceptAll: "Accept\u0103 toate",
|
|
4
|
+
bannerDescription: "Utiliz\u0103m propriile noastre cookie-uri \u0219i cookie-uri ale ter\u021Bilor pentru a afi\u0219a corect acest site web \u0219i pentru a \xEEn\u021Belege mai bine modul \xEEn care este utilizat acest site web, cu scopul de a \xEEmbun\u0103t\u0103\u021Bi serviciile pe care le oferim. Decizia cu privire la permisiunile de utilizare a cookie-urilor poate fi modificat\u0103 \xEEn orice moment folosind butonul de cookie-uri care va ap\u0103rea dup\u0103 ce a\u021Bi f\u0103cut o selec\u021Bie pe aceast\u0103 banner.",
|
|
5
|
+
bannerTitle: "Cookie-uri",
|
|
6
|
+
close: "\xCEnchide",
|
|
7
|
+
cookiesFunctional: "Cookie-uri func\u021Bionale",
|
|
8
|
+
cookiesNecessary: "Cookie-uri necesare",
|
|
9
|
+
cookiesOptional: "Cookie-uri op\u021Bionale",
|
|
10
|
+
decline: "Declin\u0103",
|
|
11
|
+
declineAll: "Declin\u0103 toate",
|
|
12
|
+
here: "aici",
|
|
13
|
+
iframeBlocked: "Pentru a vedea aceasta, activeaz\u0103 cookie-urile func\u021Bionale",
|
|
14
|
+
manageCookies: "Afl\u0103 mai multe \u0219i configureaz\u0103",
|
|
15
|
+
save: "Salveaz\u0103",
|
|
16
|
+
settingsUnsaved: "Ai set\u0103ri nesalvate"
|
|
17
|
+
};
|
package/dist/runtime/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { CookieOptions } from 'nuxt/app';
|
|
3
|
-
export type Locale = 'ar' | 'az' | 'bg' | 'cs' | 'da' | 'de' | 'en' | 'es' | 'fi' | 'fr' | 'hr' | 'hu' | 'it' | 'ja' | 'ko' | 'lt' | 'nl' | 'no' | 'oc' | 'pt' | 'pl' | 'rs' | 'ru' | 'sk' | 'sv' | 'tr' | 'uk';
|
|
3
|
+
export type Locale = 'ar' | 'az' | 'bg' | 'cs' | 'da' | 'de' | 'en' | 'es' | 'fi' | 'fr' | 'hr' | 'hu' | 'it' | 'ja' | 'ko' | 'lt' | 'nl' | 'no' | 'oc' | 'pt' | 'pl' | 'ro' | 'rs' | 'ru' | 'sk' | 'sv' | 'tr' | 'uk';
|
|
4
4
|
export type PartialRecord<K extends keyof any, T> = Partial<Record<K, T>>;
|
|
5
5
|
export type Translatable = string | PartialRecord<Locale, string>;
|
|
6
6
|
export declare enum CookieType {
|