@dargmuesli/nuxt-cookie-control 7.1.5 → 7.2.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 CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  ![nuxt-cookie-control](https://drive.google.com/a/broj42.com/uc?id=19sFguJo7SKUvmH4xu9DhK9ZXzR6oWLX8)
8
8
 
9
- ✅ Translated for: ar, az, bg, ca, 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
9
+ ✅ Translated for: ar, az, bg, ca, cs, da, de, en, es, fi, fr, hr, hu, id, it, ja, ko, lt, nl, no, oc, pt, pl, ro, rs, ru, sk, sv, tr and uk
10
10
 
11
11
  ✅ Vue 3 support
12
12
 
package/dist/module.d.mts 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' | 'ca' | '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
+ type Locale = 'ar' | 'az' | 'bg' | 'ca' | 'cs' | 'da' | 'de' | 'en' | 'es' | 'fi' | 'fr' | 'hr' | 'hu' | 'id' | '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.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' | 'ca' | '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
+ type Locale = 'ar' | 'az' | 'bg' | 'ca' | 'cs' | 'da' | 'de' | 'en' | 'es' | 'fi' | 'fr' | 'hr' | 'hu' | 'id' | '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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-cookie-control",
3
- "version": "7.1.5",
3
+ "version": "7.2.0",
4
4
  "configKey": "cookieControl",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.0.0"
package/dist/module.mjs CHANGED
@@ -3,7 +3,7 @@ import { pathToFileURL } from 'node:url';
3
3
  import { createResolver, defineNuxtModule, addPlugin, addImports, addTemplate, extendWebpackConfig, extendViteConfig, resolvePath } from '@nuxt/kit';
4
4
 
5
5
  const name = "@dargmuesli/nuxt-cookie-control";
6
- const version = "7.1.5";
6
+ const version = "7.2.0";
7
7
 
8
8
  const en = {
9
9
  accept: "Accept",
@@ -0,0 +1,3 @@
1
+ import type { LocaleStrings } from '../types';
2
+ declare const _default: LocaleStrings;
3
+ export default _default;
@@ -0,0 +1,17 @@
1
+ export default {
2
+ accept: "Terima",
3
+ acceptAll: "Terima semua",
4
+ bannerDescription: "Kami menggunakan cookie kami sendiri dan cookie pihak ketiga agar kami dapat menampilkan situs web ini dengan benar dan lebih memahami bagaimana situs web ini digunakan, dengan tujuan untuk meningkatkan layanan yang kami tawarkan. Keputusan mengenai izin penggunaan cookie dapat diubah kapan saja menggunakan tombol cookie yang akan muncul setelah seleksi dibuat pada banner ini.",
5
+ bannerTitle: "Cookie",
6
+ close: "Tutup",
7
+ cookiesFunctional: "Cookie fungsional",
8
+ cookiesNecessary: "Cookie yang diperlukan",
9
+ cookiesOptional: "Cookie opsional",
10
+ decline: "Tolak",
11
+ declineAll: "Tolak semua",
12
+ here: "di sini",
13
+ iframeBlocked: "Untuk melihat ini, harap aktifkan cookie fungsional",
14
+ manageCookies: "Pelajari lebih lanjut dan sesuaikan",
15
+ save: "Simpan",
16
+ settingsUnsaved: "Anda memiliki pengaturan yang belum disimpan"
17
+ };
@@ -11,6 +11,7 @@ import fi from "./fi.mjs";
11
11
  import fr from "./fr.mjs";
12
12
  import hr from "./hr.mjs";
13
13
  import hu from "./hu.mjs";
14
+ import id from "./id.mjs";
14
15
  import it from "./it.mjs";
15
16
  import ja from "./ja.mjs";
16
17
  import ko from "./ko.mjs";
@@ -41,6 +42,7 @@ export const locales = [
41
42
  fr,
42
43
  hr,
43
44
  hu,
45
+ id,
44
46
  it,
45
47
  ja,
46
48
  ko,
@@ -1,6 +1,6 @@
1
1
  import type { Ref } from 'vue';
2
2
  import type { CookieOptions } from 'nuxt/app';
3
- export type Locale = 'ar' | 'az' | 'bg' | 'ca' | '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';
3
+ export type Locale = 'ar' | 'az' | 'bg' | 'ca' | 'cs' | 'da' | 'de' | 'en' | 'es' | 'fi' | 'fr' | 'hr' | 'hu' | 'id' | '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 {
package/package.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "lint-staged": "15.2.0",
25
25
  "nuxt": "3.8.2",
26
26
  "prettier": "3.1.0",
27
- "typescript": "5.3.2",
27
+ "typescript": "5.3.3",
28
28
  "vue": "3.3.10",
29
29
  "vue-tsc": "1.8.25",
30
30
  "webpack": "5.89.0"
@@ -79,5 +79,5 @@
79
79
  },
80
80
  "type": "module",
81
81
  "types": "./dist/module.d.ts",
82
- "version": "7.1.5"
82
+ "version": "7.2.0"
83
83
  }