@dargmuesli/nuxt-cookie-control 5.1.0 → 5.2.1
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 +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/locale/fi.d.ts +3 -0
- package/dist/runtime/locale/fi.mjs +17 -0
- package/dist/runtime/locale/index.mjs +32 -1
- package/dist/runtime/types.d.ts +1 -1
- package/package.json +8 -8
package/dist/module.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
2
|
|
|
3
|
-
type Locale = 'ar' | 'de' | 'en' | 'es' | 'fr' | 'hr' | 'hu' | 'it' | 'ja' | 'nl' | 'no' | 'pt' | 'ru' | 'uk';
|
|
3
|
+
type Locale = 'ar' | 'az' | 'cs' | 'da' | 'de' | 'en' | 'es' | 'fi' | 'fr' | 'hr' | 'hu' | 'it' | 'ja' | 'ko' | 'lt' | 'nl' | 'no' | 'pt' | 'ru' | 'sk' | 'sv' | 'tr' | 'uk';
|
|
4
4
|
type PartialRecord<K extends keyof any, T> = Partial<Record<K, T>>;
|
|
5
5
|
type Translatable = string | PartialRecord<Locale, string>;
|
|
6
6
|
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 = "5.1
|
|
6
|
+
const version = "5.2.1";
|
|
7
7
|
|
|
8
8
|
const en = {
|
|
9
9
|
accept: "Accept",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
accept: "Hyv\xE4ksy",
|
|
3
|
+
acceptAll: "Hyv\xE4ksy kaikki",
|
|
4
|
+
bannerDescription: "K\xE4yt\xE4mme omia ja kolmannen osapuolen ev\xE4steit\xE4 verkkosivuston n\xE4ytt\xE4miseen ja sen k\xE4yt\xF6n ymm\xE4rt\xE4miseen, jotta voimme parantaa palveluitamme. Ev\xE4steiden k\xE4ytt\xF6oikeuksien valinta voidaan muuttaa koska tahansa ev\xE4steiden valintanapin avulla, joka ilmestyy valinnan j\xE4lkeen t\xE4h\xE4n banneriin.",
|
|
5
|
+
bannerTitle: "Ev\xE4steet",
|
|
6
|
+
close: "Sulje",
|
|
7
|
+
cookiesFunctional: "Toiminnalliset ev\xE4steet",
|
|
8
|
+
cookiesNecessary: "Pakolliset ev\xE4steet",
|
|
9
|
+
cookiesOptional: "Valinnaiset ev\xE4steet",
|
|
10
|
+
decline: "Kiell\xE4",
|
|
11
|
+
declineAll: "Kiell\xE4 kaikki",
|
|
12
|
+
here: "t\xE4\xE4lt\xE4",
|
|
13
|
+
iframeBlocked: "N\xE4hd\xE4ksesi t\xE4m\xE4n, ole hyv\xE4 ja hyv\xE4ksy toiminnalliset ev\xE4steet.",
|
|
14
|
+
manageCookies: "Lue lis\xE4\xE4 ja hallitse ev\xE4steit\xE4",
|
|
15
|
+
save: "Tallenna",
|
|
16
|
+
settingsUnsaved: "Sinulla on tallentamattomia muutoksia."
|
|
17
|
+
};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import ar from "./ar.mjs";
|
|
2
|
+
import az from "./az.mjs";
|
|
3
|
+
import cs from "./cs.mjs";
|
|
4
|
+
import da from "./da.mjs";
|
|
2
5
|
import de from "./de.mjs";
|
|
3
6
|
import en from "./en.mjs";
|
|
4
7
|
import es from "./es.mjs";
|
|
@@ -7,9 +10,37 @@ import hr from "./hr.mjs";
|
|
|
7
10
|
import hu from "./hu.mjs";
|
|
8
11
|
import it from "./it.mjs";
|
|
9
12
|
import ja from "./ja.mjs";
|
|
13
|
+
import ko from "./ko.mjs";
|
|
14
|
+
import lt from "./lt.mjs";
|
|
10
15
|
import nl from "./nl.mjs";
|
|
11
16
|
import no from "./no.mjs";
|
|
12
17
|
import pt from "./pt.mjs";
|
|
13
18
|
import ru from "./ru.mjs";
|
|
19
|
+
import sk from "./sk.mjs";
|
|
20
|
+
import sv from "./sv.mjs";
|
|
21
|
+
import tr from "./tr.mjs";
|
|
14
22
|
import uk from "./uk.mjs";
|
|
15
|
-
export const locales = [
|
|
23
|
+
export const locales = [
|
|
24
|
+
ar,
|
|
25
|
+
az,
|
|
26
|
+
cs,
|
|
27
|
+
da,
|
|
28
|
+
de,
|
|
29
|
+
en,
|
|
30
|
+
es,
|
|
31
|
+
fr,
|
|
32
|
+
hr,
|
|
33
|
+
hu,
|
|
34
|
+
it,
|
|
35
|
+
ja,
|
|
36
|
+
ko,
|
|
37
|
+
lt,
|
|
38
|
+
nl,
|
|
39
|
+
no,
|
|
40
|
+
pt,
|
|
41
|
+
ru,
|
|
42
|
+
sk,
|
|
43
|
+
sv,
|
|
44
|
+
tr,
|
|
45
|
+
uk
|
|
46
|
+
];
|
package/dist/runtime/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
export type Locale = 'ar' | 'de' | 'en' | 'es' | 'fr' | 'hr' | 'hu' | 'it' | 'ja' | 'nl' | 'no' | 'pt' | 'ru' | 'uk';
|
|
2
|
+
export type Locale = 'ar' | 'az' | 'cs' | 'da' | 'de' | 'en' | 'es' | 'fi' | 'fr' | 'hr' | 'hu' | 'it' | 'ja' | 'ko' | 'lt' | 'nl' | 'no' | 'pt' | 'ru' | 'sk' | 'sv' | 'tr' | 'uk';
|
|
3
3
|
export type PartialRecord<K extends keyof any, T> = Partial<Record<K, T>>;
|
|
4
4
|
export type Translatable = string | PartialRecord<Locale, string>;
|
|
5
5
|
export declare enum CookieType {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dargmuesli/nuxt-cookie-control",
|
|
3
|
-
"version": "5.1
|
|
3
|
+
"version": "5.2.1",
|
|
4
4
|
"description": "Nuxt Cookies Control Module",
|
|
5
5
|
"author": "Dario Ferderber <dario.ferderber@broj42.com>",
|
|
6
6
|
"maintainers": [
|
|
@@ -47,20 +47,20 @@
|
|
|
47
47
|
"@nuxt/module-builder": "0.2.1",
|
|
48
48
|
"@nuxtjs/eslint-config-typescript": "12.0.0",
|
|
49
49
|
"@types/js-cookie": "3.0.3",
|
|
50
|
-
"eslint": "8.
|
|
51
|
-
"eslint-config-prettier": "8.
|
|
50
|
+
"eslint": "8.36.0",
|
|
51
|
+
"eslint-config-prettier": "8.7.0",
|
|
52
52
|
"eslint-plugin-prettier": "4.2.1",
|
|
53
53
|
"husky": "8.0.3",
|
|
54
|
-
"lint-staged": "13.
|
|
54
|
+
"lint-staged": "13.2.0",
|
|
55
55
|
"nuxt": "3.2.3",
|
|
56
|
-
"prettier": "2.8.
|
|
57
|
-
"typescript": "
|
|
56
|
+
"prettier": "2.8.6",
|
|
57
|
+
"typescript": "5.0.2",
|
|
58
58
|
"vue": "3.2.47",
|
|
59
59
|
"vue-tsc": "1.2.0",
|
|
60
|
-
"webpack": "5.
|
|
60
|
+
"webpack": "5.76.2"
|
|
61
61
|
},
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"access": "public"
|
|
64
64
|
},
|
|
65
|
-
"scheduleVersion": "
|
|
65
|
+
"scheduleVersion": "5.2.1"
|
|
66
66
|
}
|