From e7e73d5c828d3dce189f521c7e4140e58ef19a61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Machulda?= Date: Thu, 11 Jan 2024 13:56:35 +0100 Subject: [PATCH] Chore(release): Publish version 2.5.0 --- CHANGELOG.md | 20 ++ dist/LmcCookieConsentManager.cjs | 262 +++++++++++++++++++---- dist/LmcCookieConsentManager.js | 262 +++++++++++++++++++---- dist/LmcCookieConsentManager.mjs | 262 +++++++++++++++++++---- dist/LmcCookieConsentManager.scss | 6 +- dist/init.js | 262 +++++++++++++++++++---- dist/languages/cs.d.ts | 3 +- dist/languages/de.d.ts | 3 +- dist/languages/en.d.ts | 3 +- dist/languages/hr.d.ts | 9 + dist/languages/hu.d.ts | 3 +- dist/languages/pl.d.ts | 3 +- dist/languages/ru.d.ts | 3 +- dist/languages/sk.d.ts | 3 +- dist/languages/sl.d.ts | 9 + dist/languages/uk.d.ts | 3 +- dist/scss/theme/_default-to-vanilla.scss | 2 +- dist/scss/theme/_default.scss | 2 +- dist/types/vanilla-cookieconsent.d.ts | 8 + package.json | 2 +- 20 files changed, 964 insertions(+), 166 deletions(-) create mode 100644 dist/languages/hr.d.ts create mode 100644 dist/languages/sl.d.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index 005316bf..4a768538 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ + +# [2.5.0](https://github.com/lmc-eu/cookie-consent-manager/compare/2.4.1...2.5.0) (2024-01-11) + +### Documentation + +- Rebrand to Alma Career also in documentation and meta information ([a9f9a1c](https://github.com/lmc-eu/cookie-consent-manager/commit/a9f9a1c)) + +### Features + +- Add Croatian (hr) translation ([2ee50f3](https://github.com/lmc-eu/cookie-consent-manager/commit/2ee50f3)) +- Add Slovenian (sl) translation ([aee08f7](https://github.com/lmc-eu/cookie-consent-manager/commit/aee08f7)) +- Extend types to allow cookie tables settings ([33313ac](https://github.com/lmc-eu/cookie-consent-manager/commit/33313ac)) +- Update translations and unify Cookie policy document naming ([0ef63d0](https://github.com/lmc-eu/cookie-consent-manager/commit/0ef63d0)) + +### Chores + +- **deps:** Update dependency @lmc-eu/spirit-design-tokens to v1 ([8ab4715](https://github.com/lmc-eu/cookie-consent-manager/commit/8ab4715)) +- Fix ts-jest config deprecations ([135288d](https://github.com/lmc-eu/cookie-consent-manager/commit/135288d)) + + # [2.4.1](https://github.com/lmc-eu/cookie-consent-manager/compare/2.4.0...2.4.1) (2023-12-27) diff --git a/dist/LmcCookieConsentManager.cjs b/dist/LmcCookieConsentManager.cjs index 1bace74e..a0b5f6a4 100644 --- a/dist/LmcCookieConsentManager.cjs +++ b/dist/LmcCookieConsentManager.cjs @@ -847,9 +847,9 @@ var config = (extraMessages, secondaryButtonMode) => { save_settings_btn: "Ulo\u017Eit nastaven\xED", blocks: [ { - description: `Abyste z na\u0161ich str\xE1nek z\xEDskali maximum, je nejlep\u0161\xED povolit v\u0161echny typy Cookies. -` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Dal\u0161\xED informace o tom, co jsou Cookies a jak s nimi pracujeme, najdete na str\xE1nce - Z\xE1sady ochrany soukrom\xED.`) + description: `Abyste z\xA0na\u0161ich str\xE1nek z\xEDskali maximum, je nejlep\u0161\xED povolit v\u0161echny typy cookies. +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Dal\u0161\xED informace o\xA0tom, co jsou cookies a\xA0jak s\xA0nimi pracujeme, najdete + v\xA0Z\xE1sad\xE1ch\xA0cookies.`) }, { title: "Technicky nezbytn\xE9 Cookies", @@ -1036,12 +1036,12 @@ var config3 = (extraMessages, secondaryButtonMode) => { blocks: [ { description: `If you want to get the most out of our website it is best to allow all types of cookies. -` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `You can find more information about what cookies are and how we work with them on the page - Privacy policy.`) +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `For more information about what cookies are and how we work with them, see our + Cookie Policy.`) }, { title: "Technically necessary cookies", - description: `These cookies are essential for the proper functioning of our website and so they cannot be disabled. Without them, it would not be possible e.g.\xA0to display any content or to\xA0log\xA0in on our website.`, + description: `These cookies are essential for the proper functioning of our website, and so they cannot be disabled. Without them, it would not be possible e.g.\xA0to display any content or to\xA0log\xA0in on our website.`, toggle: { value: CookieConsentCategory.NECESSARY, enabled: true, @@ -1089,14 +1089,108 @@ var config3 = (extraMessages, secondaryButtonMode) => { }; }; -// src/languages/hu.ts +// src/languages/hr.ts var extra4 = { - and: "\xE9s", - legalName: "Alma Career csoport \xE9s a hozz\xE1 tartoz\xF3 v\xE1llalatok" + and: "i", + legalName: "tvrtkama iz poslovne grupacije Alma Career" }; var config4 = (extraMessages, secondaryButtonMode) => { var _a, _b; const lang = __spreadValues(__spreadValues({}, extra4), extraMessages); + return { + consent_modal: { + title: (_a = lang.consentTitle) != null ? _a : "Kola\u010Di\u0107i \u010Dine na\u0161u stranicu jo\u0161 boljom", + description: ` + ${assembleDescriptionIntro( + "Boljim razumijevanjem onoga \u0161to vas zanima, pokazat \u0107emo vam relevantniji\xA0sadr\u017Eaj.", + lang.descriptionIntro + )} +

+ Klikom na\xA0gumb \u201EPrihvati sve\u201C, dajete + ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), lang.and)} + privolu za\xA0upotrebu kola\u010Di\u0107a za personalizaciju, analitiku i ciljani marketing.. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Mo\u017Eete prilagoditi upotrebu kola\u010Di\u0107a u\xA0svojim prilago\u0111enim postavkama.` : ""} +

`, + primary_btn: { + text: "Prihvati sve", + role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL + }, + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Prihvati nu\u017Eno", "Prilago\u0111ene postavke") + }, + settings_modal: { + title: "Prilago\u0111ene postavke kola\u010Di\u0107a", + accept_all_btn: "Prihvati sve", + reject_all_btn: "Prihvati nu\u017Eno", + save_settings_btn: "Spremi postavke", + blocks: [ + { + description: `Ako \u017Eelite maksimalno iskoristiti na\u0161u web stranicu, najbolje je dopustiti sve vrste kola\u010Di\u0107a. +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Vi\u0161e informacija o tome \u0161to su kola\u010Di\u0107i i\xA0kako s\xA0njima radimo mo\u017Eete prona\u0107i na stranici + Pravila privatnosti.`) + }, + { + title: "Tehni\u010Dki nu\u017Eni kola\u010Di\u0107i", + description: `Ovi kola\u010Di\u0107i su klju\u010Dni za pravilno funkcioniranje na\u0161e web stranice i\xA0stoga ih nije mogu\u0107e onemogu\u0107iti. + Bez njih nije mogu\u0107e prikazati sadr\u017Eaj ili se\xA0prijaviti na\xA0na\u0161u web stranicu.`, + toggle: { + value: CookieConsentCategory.NECESSARY, + enabled: true, + readonly: true + } + }, + { + title: "Analiti\u010Dki kola\u010Di\u0107i", + description: `Ovi nam poma\u017Eu pratiti koliko ljudi posje\u0107uje na\u0161u web stranicu i\xA0kako je koriste. + Te\xA0informacije nam omogu\u0107uju kontinuirano pobolj\u0161avanje web stranice i\xA0drugih usluga.`, + toggle: { + value: CookieConsentCategory.ANALYTICS, + enabled: false, + readonly: false + } + }, + { + title: "Funkcionalni kola\u010Di\u0107i", + description: `Na\u0161a web stranica djeluje jo\u0161 u\u010Dinkovitije i\xA0bolje zahvaljuju\u0107i ovim kola\u010Di\u0107ima. + Na\xA0primjer, omogu\u0107uju nam kori\u0161tenje usluge razgovora i\xA0brzo i\xA0jednostavno odgovaranje na\xA0va\u0161a pitanja.`, + toggle: { + value: CookieConsentCategory.FUNCTIONALITY, + enabled: false, + readonly: false + } + }, + { + title: "Marketing kola\u010Di\u0107i", + description: `Ovi kola\u010Di\u0107i nam poma\u017Eu mjeriti u\u010Dinkovitost na\u0161eg ogla\u0161avanja i\xA0ciljanih ponuda usluga. + Marketing kola\u010Di\u0107i omogu\u0107uju nam dono\u0161enje vijesti koje bi vas mogle zanimati na\xA0internetu.`, + toggle: { + value: CookieConsentCategory.AD, + enabled: false, + readonly: false + } + }, + { + title: "Personalizacijski kola\u010Di\u0107i", + description: `Na\u0161e usluge bolje funkcioniraju ako ih mo\u017Eemo prilagoditi odre\u0111enim korisnicima. + Dopu\u0161tanjem personalizacijskih kola\u010Di\u0107a pove\u0107avate \u0161anse da\xA0prona\u0111ete sadr\u017Eaj koji \u017Eelite.`, + toggle: { + value: CookieConsentCategory.PERSONALIZATION, + enabled: false, + readonly: false + } + } + ] + } + }; +}; + +// src/languages/hu.ts +var extra5 = { + and: "\xE9s", + legalName: "Alma Career csoport \xE9s a hozz\xE1 tartoz\xF3 v\xE1llalatok" +}; +var config5 = (extraMessages, secondaryButtonMode) => { + var _a, _b; + const lang = __spreadValues(__spreadValues({}, extra5), extraMessages); return { consent_modal: { title: (_a = lang.consentTitle) != null ? _a : "Az oldalak s\xFCti f\xE1jlokat haszn\xE1lnak", @@ -1107,7 +1201,7 @@ var config4 = (extraMessages, secondaryButtonMode) => { )}

A\xA0\u201EMindent\xA0elfogadok\u201D gombra kattintva a\xA0hozz\xE1j\xE1rul\xE1s\xE1t adja ahhoz, hogy az - ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), extra4.and)} + ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), extra5.and)} s\xFCti f\xE1jlokat \xE9s egy\xE9b azonos\xEDt\xF3kat haszn\xE1ljon az \xD6n eszk\xF6z\xE9n. E\xA0s\xFCti f\xE1jlok \xE9s egy\xE9b azonos\xEDt\xF3k haszn\xE1lata megk\xF6nny\xEDti a\xA0weboldalon bel\xFCli navig\xE1ci\xF3t, a\xA0szem\xE9lyre szabott tartalom megjelen\xEDt\xE9s\xE9t, a\xA0c\xE9lzott marketinget, valamint term\xE9keink \xE9s szolg\xE1ltat\xE1saink haszn\xE1lat\xE1nak elemz\xE9s\xE9t. ${isSettingsButtonNotShown(secondaryButtonMode) ? `A\xA0cookie-k haszn\xE1lat\xE1t testre szabhatja saj\xE1t be\xE1ll\xEDt\xE1saiban.` : ""}

`, @@ -1183,15 +1277,15 @@ var config4 = (extraMessages, secondaryButtonMode) => { }; // src/languages/pl.ts -var extra5 = { +var extra6 = { and: "i", company: "firm\u0119", companies: "firmy", legalName: "Alma Career i\xA0firmy z\xA0jej grupy biznesowej" }; -var config5 = (extraMessages, secondaryButtonMode) => { +var config6 = (extraMessages, secondaryButtonMode) => { var _a, _b; - const lang = __spreadValues(__spreadValues({}, extra5), extraMessages); + const lang = __spreadValues(__spreadValues({}, extra6), extraMessages); return { consent_modal: { title: (_a = lang.consentTitle) != null ? _a : "Dzi\u0119ki plikom Cookies nasza strona b\u0119dzie jeszcze lepsza", @@ -1203,7 +1297,7 @@ var config5 = (extraMessages, secondaryButtonMode) => {

Kliknij w\xA0przycisk \u201EAkceptuj wszystkie\u201D, aby wyrazi\u0107 zgod\u0119 na\xA0wykorzystanie plik\xF3w cookie przez ${pluralize(lang.companyNames.length, lang.company, lang.companies)} - ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), extra5.and)} + ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), extra6.and)} do personalizacji, analizy i\xA0ukierunkowanego marketingu. ${isSettingsButtonNotShown(secondaryButtonMode) ? `Korzystanie z\xA0plik\xF3w cookies mo\u017Cesz dostosowa\u0107 we\xA0w\u0142asnych ustawieniach.` : ""}

`, @@ -1221,8 +1315,8 @@ var config5 = (extraMessages, secondaryButtonMode) => { blocks: [ { description: `Aby w\xA0pe\u0142ni wykorzysta\u0107 mo\u017Cliwo\u015Bci naszej strony, najlepiej jest zezwoli\u0107 na\xA0wszystkie rodzaje plik\xF3w cookies. -` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Wi\u0119cej informacji na temat tego, czym s\u0105 pliki cookies i jak z nimi pracujemy znajdziesz na naszej stronie - Polityka prywatno\u015Bci.`) +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Wi\u0119cej informacji na temat tego, czym s\u0105 pliki cookies i\xA0jak z nimi pracujemy, znajdziesz w\xA0naszej + Polityce plik\xF3w\xA0cookie.`) }, { title: "Technicznie niezb\u0119dne pliki cookies", @@ -1275,15 +1369,15 @@ var config5 = (extraMessages, secondaryButtonMode) => { }; // src/languages/ru.ts -var extra6 = { +var extra7 = { and: "\u0438", company: "\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u044F\u043C", companies: "\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u044F\u043C", legalName: "Alma Career \u0438\xA0\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438 \u0435\u0435 \u0433\u0440\u0443\u043F\u043F\u044B" }; -var config6 = (extraMessages, secondaryButtonMode) => { +var config7 = (extraMessages, secondaryButtonMode) => { var _a, _b; - const lang = __spreadValues(__spreadValues({}, extra6), extraMessages); + const lang = __spreadValues(__spreadValues({}, extra7), extraMessages); return { consent_modal: { title: (_a = lang.consentTitle) != null ? _a : "\u042D\u0442\u043E\u0442 \u0441\u0430\u0439\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 \u0444\u0430\u0439\u043B\u044B cookie", @@ -1368,18 +1462,18 @@ var config6 = (extraMessages, secondaryButtonMode) => { }; // src/languages/sk.ts -var extra7 = { +var extra8 = { and: "a", company: "spolo\u010Dnosti", companies: "spolo\u010Dnostiam", legalName: "Alma Career a\xA0spolo\u010Dnostiam z\xA0jej obchodn\xE9 skupiny" }; -var config7 = (extraMessages, secondaryButtonMode) => { +var config8 = (extraMessages, secondaryButtonMode) => { var _a, _b; - const lang = __spreadValues(__spreadValues({}, extra7), extraMessages); + const lang = __spreadValues(__spreadValues({}, extra8), extraMessages); return { consent_modal: { - title: (_a = lang.consentTitle) != null ? _a : "V\u010Faka Cookies bud\xFA na\u0161e str\xE1nky e\u0161te lep\u0161ie", + title: (_a = lang.consentTitle) != null ? _a : "S cookies v\xE1m vieme lep\u0161ie prisp\xF4sobi\u0165 str\xE1nku", description: ` ${assembleDescriptionIntro( "Presnej\u0161\xED obsah\xA0na\xA0mieru v\xE1m budeme zobrazova\u0165, ke\u010F\xA0lep\u0161ie pochop\xEDme, \u010Do\xA0v\xE1s\xA0zauj\xEDma.", @@ -1405,9 +1499,9 @@ var config7 = (extraMessages, secondaryButtonMode) => { save_settings_btn: "Ulo\u017Ei\u0165 nastavenia", blocks: [ { - description: `Aby ste z na\u0161ich str\xE1nok z\xEDskali maximum, je najlep\u0161ie povoli\u0165 v\u0161etky typy cookies. -` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `\u010Eal\u0161ie inform\xE1cie o\xA0tom, \u010Do s\xFA cookies a ako s nimi pracujeme, n\xE1jdete na str\xE1nke - Z\xE1sady ochrany s\xFAkromia.`) + description: `Aby ste z\xA0na\u0161ich str\xE1nok z\xEDskali maximum, je najlep\u0161ie povoli\u0165 v\u0161etky typy cookies. +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `\u010Eal\u0161ie inform\xE1cie o\xA0tom, \u010Do s\xFA cookies a\xA0ako s\xA0nimi pracujeme, n\xE1jdete + v\xA0Z\xE1sad\xE1ch\xA0cookies.`) }, { title: "Technicky nevyhnutn\xE9 cookies", @@ -1459,16 +1553,110 @@ var config7 = (extraMessages, secondaryButtonMode) => { }; }; +// src/languages/sl.ts +var extra9 = { + and: "in", + legalName: "iz poslovne skupine Alma Career" +}; +var config9 = (extraMessages, secondaryButtonMode) => { + var _a, _b; + const lang = __spreadValues(__spreadValues({}, extra9), extraMessages); + return { + consent_modal: { + title: (_a = lang.consentTitle) != null ? _a : "Pi\u0161kotki izbolj\u0161ujejo na\u0161o spletno stran", + description: ` + ${assembleDescriptionIntro( + "Z bolj\u0161im razumevanjem, kaj vas zanima, vam bomo prikazali bolj relevantno\xA0vsebino.", + lang.descriptionIntro + )} +

+ S\xA0klikom na\xA0gumb \u201ESprejmi vse\u201C dajete soglasje podjetjem + ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), lang.and)} + za\xA0uporabo pi\u0161kotkov za\xA0personalizacijo, analitiko in ciljno ogla\u0161evanje. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Uporabo pi\u0161kotkov lahko prilagodite v\xA0svojih nastavitvah.` : ""} +

`, + primary_btn: { + text: "Sprejmi vse", + role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL + }, + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Sprejmi samo nujne", "Shrani nastavitve") + }, + settings_modal: { + title: "Prilagojene nastavitve pi\u0161kotkov", + accept_all_btn: "Sprejmi vse", + reject_all_btn: "Sprejmi samo nujne", + save_settings_btn: "Shrani nastavitve", + blocks: [ + { + description: `\u010Ce \u017Eelite najbolje izkoristiti na\u0161o spletno stran, je najbolje, da dovolite vse vrste pi\u0161kotkov. +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Ve\u010D informacij o\xA0tem, kaj so pi\u0161kotki in\xA0kako z\xA0njimi upravljamo, najdete na\xA0strani + Pravilnik o zasebnosti.`) + }, + { + title: "Tehni\u010Dno nujni pi\u0161kotki", + description: `Ti pi\u0161kotki so bistveni za pravilno delovanje na\u0161e spletne strani in\xA0jih ni\xA0mogo\u010De izklopiti. + Brez njih ne\xA0bi\xA0bilo mogo\u010De prikazati vsebine ali se\xA0prijaviti na\xA0na\u0161o spletno stran.`, + toggle: { + value: CookieConsentCategory.NECESSARY, + enabled: true, + readonly: true + } + }, + { + title: "Analiti\u010Dni pi\u0161kotki", + description: `Ti nam pomagajo spremljati, koliko ljudi obi\u0161\u010De na\u0161o spletno stran in\xA0kako jo uporabljajo. + Te informacije nam omogo\u010Dajo nenehno izbolj\u0161evanje spletne strani in\xA0drugih storitev.`, + toggle: { + value: CookieConsentCategory.ANALYTICS, + enabled: false, + readonly: false + } + }, + { + title: "Funkcionalni pi\u0161kotki", + description: `Na\u0161a spletna stran je \u0161e u\u010Dinkovitej\u0161a in\xA0bolje deluje zaradi teh pi\u0161kotkov. + Na primer, omogo\u010Dajo nam uporabo klepetalne storitve in\xA0hitro ter enostavno odgovarjanje na\xA0va\u0161a vpra\u0161anja.`, + toggle: { + value: CookieConsentCategory.FUNCTIONALITY, + enabled: false, + readonly: false + } + }, + { + title: "Tr\u017Eenjski pi\u0161kotki", + description: `Ti pi\u0161kotki nam pomagajo meriti u\u010Dinkovitost na\u0161ega ogla\u0161evanja in\xA0ciljnih ponudb storitev. + Tr\u017Eenjski pi\u0161kotki nam omogo\u010Dajo, da vam na\xA0internetu prina\u0161amo novice, ki vas morda zanimajo.`, + toggle: { + value: CookieConsentCategory.AD, + enabled: false, + readonly: false + } + }, + { + title: "Pi\u0161kotki za prilagajanje", + description: `Na\u0161e storitve bolje delujejo, \u010De jih lahko prilagodimo dolo\u010Denim uporabnikom. + Z\xA0dovoljenjem pi\u0161kotkov za prilagajanje pove\u010Date mo\u017Enosti, da najdete vsebino, ki jo\xA0\u017Eelite.`, + toggle: { + value: CookieConsentCategory.PERSONALIZATION, + enabled: false, + readonly: false + } + } + ] + } + }; +}; + // src/languages/uk.ts -var extra8 = { +var extra10 = { and: "i", company: "\u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C", companies: "\u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C", legalName: "Alma Career \u0442\u0430 \u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C \u0437\xA0\u0457\u0457 \u0433\u0440\u0443\u043F\u0438" }; -var config8 = (extraMessages, secondaryButtonMode) => { +var config10 = (extraMessages, secondaryButtonMode) => { var _a, _b; - const lang = __spreadValues(__spreadValues({}, extra8), extraMessages); + const lang = __spreadValues(__spreadValues({}, extra10), extraMessages); return { consent_modal: { title: (_a = lang.consentTitle) != null ? _a : "\u0426\u0435\u0439 \u0441\u0430\u0439\u0442 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0454 \u0444\u0430\u0439\u043B\u0438 cookie", @@ -1625,7 +1813,7 @@ var LmcCookieConsentManager = (serviceName, args) => { displayMode, secondaryButtonMode, translationOverrides, - config: config9 + config: config11 } = options; const cookieName = "lmc_ccm"; const cookieConsent = window.initCookieConsent(); @@ -1633,11 +1821,13 @@ var LmcCookieConsentManager = (serviceName, args) => { cs: config(__spreadValues({ companyNames }, translationOverrides.cs), secondaryButtonMode), de: config2(__spreadValues({ companyNames }, translationOverrides.de), secondaryButtonMode), en: config3(__spreadValues({ companyNames }, translationOverrides.en), secondaryButtonMode), - hu: config4(__spreadValues({ companyNames }, translationOverrides.hu), secondaryButtonMode), - pl: config5(__spreadValues({ companyNames }, translationOverrides.pl), secondaryButtonMode), - ru: config6(__spreadValues({ companyNames }, translationOverrides.ru), secondaryButtonMode), - sk: config7(__spreadValues({ companyNames }, translationOverrides.sk), secondaryButtonMode), - uk: config8(__spreadValues({ companyNames }, translationOverrides.uk), secondaryButtonMode) + hr: config4(__spreadValues({ companyNames }, translationOverrides.hr), secondaryButtonMode), + hu: config5(__spreadValues({ companyNames }, translationOverrides.hu), secondaryButtonMode), + pl: config6(__spreadValues({ companyNames }, translationOverrides.pl), secondaryButtonMode), + ru: config7(__spreadValues({ companyNames }, translationOverrides.ru), secondaryButtonMode), + sk: config8(__spreadValues({ companyNames }, translationOverrides.sk), secondaryButtonMode), + sl: config9(__spreadValues({ companyNames }, translationOverrides.sl), secondaryButtonMode), + uk: config10(__spreadValues({ companyNames }, translationOverrides.uk), secondaryButtonMode) }; const onFirstAcceptHandler = (userPreferences, cookie) => { const cookieData = cookieConsent.get("data"); @@ -1697,7 +1887,7 @@ var LmcCookieConsentManager = (serviceName, args) => { onFirstAction: onFirstAcceptHandler, onChange: onChangeHandler, languages - }, config9); + }, config11); cookieConsent.run(cookieConsentConfig); return cookieConsent; }; diff --git a/dist/LmcCookieConsentManager.js b/dist/LmcCookieConsentManager.js index d4b45203..80998dae 100644 --- a/dist/LmcCookieConsentManager.js +++ b/dist/LmcCookieConsentManager.js @@ -802,9 +802,9 @@ save_settings_btn: "Ulo\u017Eit nastaven\xED", blocks: [ { - description: `Abyste z na\u0161ich str\xE1nek z\xEDskali maximum, je nejlep\u0161\xED povolit v\u0161echny typy Cookies. -` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Dal\u0161\xED informace o tom, co jsou Cookies a jak s nimi pracujeme, najdete na str\xE1nce - Z\xE1sady ochrany soukrom\xED.`) + description: `Abyste z\xA0na\u0161ich str\xE1nek z\xEDskali maximum, je nejlep\u0161\xED povolit v\u0161echny typy cookies. +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Dal\u0161\xED informace o\xA0tom, co jsou cookies a\xA0jak s\xA0nimi pracujeme, najdete + v\xA0Z\xE1sad\xE1ch\xA0cookies.`) }, { title: "Technicky nezbytn\xE9 Cookies", @@ -991,12 +991,12 @@ blocks: [ { description: `If you want to get the most out of our website it is best to allow all types of cookies. -` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `You can find more information about what cookies are and how we work with them on the page - Privacy policy.`) +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `For more information about what cookies are and how we work with them, see our + Cookie Policy.`) }, { title: "Technically necessary cookies", - description: `These cookies are essential for the proper functioning of our website and so they cannot be disabled. Without them, it would not be possible e.g.\xA0to display any content or to\xA0log\xA0in on our website.`, + description: `These cookies are essential for the proper functioning of our website, and so they cannot be disabled. Without them, it would not be possible e.g.\xA0to display any content or to\xA0log\xA0in on our website.`, toggle: { value: CookieConsentCategory.NECESSARY, enabled: true, @@ -1044,14 +1044,108 @@ }; }; - // src/languages/hu.ts + // src/languages/hr.ts var extra4 = { - and: "\xE9s", - legalName: "Alma Career csoport \xE9s a hozz\xE1 tartoz\xF3 v\xE1llalatok" + and: "i", + legalName: "tvrtkama iz poslovne grupacije Alma Career" }; var config4 = (extraMessages, secondaryButtonMode) => { var _a, _b; const lang = __spreadValues(__spreadValues({}, extra4), extraMessages); + return { + consent_modal: { + title: (_a = lang.consentTitle) != null ? _a : "Kola\u010Di\u0107i \u010Dine na\u0161u stranicu jo\u0161 boljom", + description: ` + ${assembleDescriptionIntro( + "Boljim razumijevanjem onoga \u0161to vas zanima, pokazat \u0107emo vam relevantniji\xA0sadr\u017Eaj.", + lang.descriptionIntro + )} +

+ Klikom na\xA0gumb \u201EPrihvati sve\u201C, dajete + ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), lang.and)} + privolu za\xA0upotrebu kola\u010Di\u0107a za personalizaciju, analitiku i ciljani marketing.. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Mo\u017Eete prilagoditi upotrebu kola\u010Di\u0107a u\xA0svojim prilago\u0111enim postavkama.` : ""} +

`, + primary_btn: { + text: "Prihvati sve", + role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL + }, + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Prihvati nu\u017Eno", "Prilago\u0111ene postavke") + }, + settings_modal: { + title: "Prilago\u0111ene postavke kola\u010Di\u0107a", + accept_all_btn: "Prihvati sve", + reject_all_btn: "Prihvati nu\u017Eno", + save_settings_btn: "Spremi postavke", + blocks: [ + { + description: `Ako \u017Eelite maksimalno iskoristiti na\u0161u web stranicu, najbolje je dopustiti sve vrste kola\u010Di\u0107a. +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Vi\u0161e informacija o tome \u0161to su kola\u010Di\u0107i i\xA0kako s\xA0njima radimo mo\u017Eete prona\u0107i na stranici + Pravila privatnosti.`) + }, + { + title: "Tehni\u010Dki nu\u017Eni kola\u010Di\u0107i", + description: `Ovi kola\u010Di\u0107i su klju\u010Dni za pravilno funkcioniranje na\u0161e web stranice i\xA0stoga ih nije mogu\u0107e onemogu\u0107iti. + Bez njih nije mogu\u0107e prikazati sadr\u017Eaj ili se\xA0prijaviti na\xA0na\u0161u web stranicu.`, + toggle: { + value: CookieConsentCategory.NECESSARY, + enabled: true, + readonly: true + } + }, + { + title: "Analiti\u010Dki kola\u010Di\u0107i", + description: `Ovi nam poma\u017Eu pratiti koliko ljudi posje\u0107uje na\u0161u web stranicu i\xA0kako je koriste. + Te\xA0informacije nam omogu\u0107uju kontinuirano pobolj\u0161avanje web stranice i\xA0drugih usluga.`, + toggle: { + value: CookieConsentCategory.ANALYTICS, + enabled: false, + readonly: false + } + }, + { + title: "Funkcionalni kola\u010Di\u0107i", + description: `Na\u0161a web stranica djeluje jo\u0161 u\u010Dinkovitije i\xA0bolje zahvaljuju\u0107i ovim kola\u010Di\u0107ima. + Na\xA0primjer, omogu\u0107uju nam kori\u0161tenje usluge razgovora i\xA0brzo i\xA0jednostavno odgovaranje na\xA0va\u0161a pitanja.`, + toggle: { + value: CookieConsentCategory.FUNCTIONALITY, + enabled: false, + readonly: false + } + }, + { + title: "Marketing kola\u010Di\u0107i", + description: `Ovi kola\u010Di\u0107i nam poma\u017Eu mjeriti u\u010Dinkovitost na\u0161eg ogla\u0161avanja i\xA0ciljanih ponuda usluga. + Marketing kola\u010Di\u0107i omogu\u0107uju nam dono\u0161enje vijesti koje bi vas mogle zanimati na\xA0internetu.`, + toggle: { + value: CookieConsentCategory.AD, + enabled: false, + readonly: false + } + }, + { + title: "Personalizacijski kola\u010Di\u0107i", + description: `Na\u0161e usluge bolje funkcioniraju ako ih mo\u017Eemo prilagoditi odre\u0111enim korisnicima. + Dopu\u0161tanjem personalizacijskih kola\u010Di\u0107a pove\u0107avate \u0161anse da\xA0prona\u0111ete sadr\u017Eaj koji \u017Eelite.`, + toggle: { + value: CookieConsentCategory.PERSONALIZATION, + enabled: false, + readonly: false + } + } + ] + } + }; + }; + + // src/languages/hu.ts + var extra5 = { + and: "\xE9s", + legalName: "Alma Career csoport \xE9s a hozz\xE1 tartoz\xF3 v\xE1llalatok" + }; + var config5 = (extraMessages, secondaryButtonMode) => { + var _a, _b; + const lang = __spreadValues(__spreadValues({}, extra5), extraMessages); return { consent_modal: { title: (_a = lang.consentTitle) != null ? _a : "Az oldalak s\xFCti f\xE1jlokat haszn\xE1lnak", @@ -1062,7 +1156,7 @@ )}

A\xA0\u201EMindent\xA0elfogadok\u201D gombra kattintva a\xA0hozz\xE1j\xE1rul\xE1s\xE1t adja ahhoz, hogy az - ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), extra4.and)} + ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), extra5.and)} s\xFCti f\xE1jlokat \xE9s egy\xE9b azonos\xEDt\xF3kat haszn\xE1ljon az \xD6n eszk\xF6z\xE9n. E\xA0s\xFCti f\xE1jlok \xE9s egy\xE9b azonos\xEDt\xF3k haszn\xE1lata megk\xF6nny\xEDti a\xA0weboldalon bel\xFCli navig\xE1ci\xF3t, a\xA0szem\xE9lyre szabott tartalom megjelen\xEDt\xE9s\xE9t, a\xA0c\xE9lzott marketinget, valamint term\xE9keink \xE9s szolg\xE1ltat\xE1saink haszn\xE1lat\xE1nak elemz\xE9s\xE9t. ${isSettingsButtonNotShown(secondaryButtonMode) ? `A\xA0cookie-k haszn\xE1lat\xE1t testre szabhatja saj\xE1t be\xE1ll\xEDt\xE1saiban.` : ""}

`, @@ -1138,15 +1232,15 @@ }; // src/languages/pl.ts - var extra5 = { + var extra6 = { and: "i", company: "firm\u0119", companies: "firmy", legalName: "Alma Career i\xA0firmy z\xA0jej grupy biznesowej" }; - var config5 = (extraMessages, secondaryButtonMode) => { + var config6 = (extraMessages, secondaryButtonMode) => { var _a, _b; - const lang = __spreadValues(__spreadValues({}, extra5), extraMessages); + const lang = __spreadValues(__spreadValues({}, extra6), extraMessages); return { consent_modal: { title: (_a = lang.consentTitle) != null ? _a : "Dzi\u0119ki plikom Cookies nasza strona b\u0119dzie jeszcze lepsza", @@ -1158,7 +1252,7 @@

Kliknij w\xA0przycisk \u201EAkceptuj wszystkie\u201D, aby wyrazi\u0107 zgod\u0119 na\xA0wykorzystanie plik\xF3w cookie przez ${pluralize(lang.companyNames.length, lang.company, lang.companies)} - ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), extra5.and)} + ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), extra6.and)} do personalizacji, analizy i\xA0ukierunkowanego marketingu. ${isSettingsButtonNotShown(secondaryButtonMode) ? `Korzystanie z\xA0plik\xF3w cookies mo\u017Cesz dostosowa\u0107 we\xA0w\u0142asnych ustawieniach.` : ""}

`, @@ -1176,8 +1270,8 @@ blocks: [ { description: `Aby w\xA0pe\u0142ni wykorzysta\u0107 mo\u017Cliwo\u015Bci naszej strony, najlepiej jest zezwoli\u0107 na\xA0wszystkie rodzaje plik\xF3w cookies. -` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Wi\u0119cej informacji na temat tego, czym s\u0105 pliki cookies i jak z nimi pracujemy znajdziesz na naszej stronie - Polityka prywatno\u015Bci.`) +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Wi\u0119cej informacji na temat tego, czym s\u0105 pliki cookies i\xA0jak z nimi pracujemy, znajdziesz w\xA0naszej + Polityce plik\xF3w\xA0cookie.`) }, { title: "Technicznie niezb\u0119dne pliki cookies", @@ -1230,15 +1324,15 @@ }; // src/languages/ru.ts - var extra6 = { + var extra7 = { and: "\u0438", company: "\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u044F\u043C", companies: "\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u044F\u043C", legalName: "Alma Career \u0438\xA0\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438 \u0435\u0435 \u0433\u0440\u0443\u043F\u043F\u044B" }; - var config6 = (extraMessages, secondaryButtonMode) => { + var config7 = (extraMessages, secondaryButtonMode) => { var _a, _b; - const lang = __spreadValues(__spreadValues({}, extra6), extraMessages); + const lang = __spreadValues(__spreadValues({}, extra7), extraMessages); return { consent_modal: { title: (_a = lang.consentTitle) != null ? _a : "\u042D\u0442\u043E\u0442 \u0441\u0430\u0439\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 \u0444\u0430\u0439\u043B\u044B cookie", @@ -1323,18 +1417,18 @@ }; // src/languages/sk.ts - var extra7 = { + var extra8 = { and: "a", company: "spolo\u010Dnosti", companies: "spolo\u010Dnostiam", legalName: "Alma Career a\xA0spolo\u010Dnostiam z\xA0jej obchodn\xE9 skupiny" }; - var config7 = (extraMessages, secondaryButtonMode) => { + var config8 = (extraMessages, secondaryButtonMode) => { var _a, _b; - const lang = __spreadValues(__spreadValues({}, extra7), extraMessages); + const lang = __spreadValues(__spreadValues({}, extra8), extraMessages); return { consent_modal: { - title: (_a = lang.consentTitle) != null ? _a : "V\u010Faka Cookies bud\xFA na\u0161e str\xE1nky e\u0161te lep\u0161ie", + title: (_a = lang.consentTitle) != null ? _a : "S cookies v\xE1m vieme lep\u0161ie prisp\xF4sobi\u0165 str\xE1nku", description: ` ${assembleDescriptionIntro( "Presnej\u0161\xED obsah\xA0na\xA0mieru v\xE1m budeme zobrazova\u0165, ke\u010F\xA0lep\u0161ie pochop\xEDme, \u010Do\xA0v\xE1s\xA0zauj\xEDma.", @@ -1360,9 +1454,9 @@ save_settings_btn: "Ulo\u017Ei\u0165 nastavenia", blocks: [ { - description: `Aby ste z na\u0161ich str\xE1nok z\xEDskali maximum, je najlep\u0161ie povoli\u0165 v\u0161etky typy cookies. -` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `\u010Eal\u0161ie inform\xE1cie o\xA0tom, \u010Do s\xFA cookies a ako s nimi pracujeme, n\xE1jdete na str\xE1nke - Z\xE1sady ochrany s\xFAkromia.`) + description: `Aby ste z\xA0na\u0161ich str\xE1nok z\xEDskali maximum, je najlep\u0161ie povoli\u0165 v\u0161etky typy cookies. +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `\u010Eal\u0161ie inform\xE1cie o\xA0tom, \u010Do s\xFA cookies a\xA0ako s\xA0nimi pracujeme, n\xE1jdete + v\xA0Z\xE1sad\xE1ch\xA0cookies.`) }, { title: "Technicky nevyhnutn\xE9 cookies", @@ -1414,16 +1508,110 @@ }; }; + // src/languages/sl.ts + var extra9 = { + and: "in", + legalName: "iz poslovne skupine Alma Career" + }; + var config9 = (extraMessages, secondaryButtonMode) => { + var _a, _b; + const lang = __spreadValues(__spreadValues({}, extra9), extraMessages); + return { + consent_modal: { + title: (_a = lang.consentTitle) != null ? _a : "Pi\u0161kotki izbolj\u0161ujejo na\u0161o spletno stran", + description: ` + ${assembleDescriptionIntro( + "Z bolj\u0161im razumevanjem, kaj vas zanima, vam bomo prikazali bolj relevantno\xA0vsebino.", + lang.descriptionIntro + )} +

+ S\xA0klikom na\xA0gumb \u201ESprejmi vse\u201C dajete soglasje podjetjem + ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), lang.and)} + za\xA0uporabo pi\u0161kotkov za\xA0personalizacijo, analitiko in ciljno ogla\u0161evanje. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Uporabo pi\u0161kotkov lahko prilagodite v\xA0svojih nastavitvah.` : ""} +

`, + primary_btn: { + text: "Sprejmi vse", + role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL + }, + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Sprejmi samo nujne", "Shrani nastavitve") + }, + settings_modal: { + title: "Prilagojene nastavitve pi\u0161kotkov", + accept_all_btn: "Sprejmi vse", + reject_all_btn: "Sprejmi samo nujne", + save_settings_btn: "Shrani nastavitve", + blocks: [ + { + description: `\u010Ce \u017Eelite najbolje izkoristiti na\u0161o spletno stran, je najbolje, da dovolite vse vrste pi\u0161kotkov. +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Ve\u010D informacij o\xA0tem, kaj so pi\u0161kotki in\xA0kako z\xA0njimi upravljamo, najdete na\xA0strani + Pravilnik o zasebnosti.`) + }, + { + title: "Tehni\u010Dno nujni pi\u0161kotki", + description: `Ti pi\u0161kotki so bistveni za pravilno delovanje na\u0161e spletne strani in\xA0jih ni\xA0mogo\u010De izklopiti. + Brez njih ne\xA0bi\xA0bilo mogo\u010De prikazati vsebine ali se\xA0prijaviti na\xA0na\u0161o spletno stran.`, + toggle: { + value: CookieConsentCategory.NECESSARY, + enabled: true, + readonly: true + } + }, + { + title: "Analiti\u010Dni pi\u0161kotki", + description: `Ti nam pomagajo spremljati, koliko ljudi obi\u0161\u010De na\u0161o spletno stran in\xA0kako jo uporabljajo. + Te informacije nam omogo\u010Dajo nenehno izbolj\u0161evanje spletne strani in\xA0drugih storitev.`, + toggle: { + value: CookieConsentCategory.ANALYTICS, + enabled: false, + readonly: false + } + }, + { + title: "Funkcionalni pi\u0161kotki", + description: `Na\u0161a spletna stran je \u0161e u\u010Dinkovitej\u0161a in\xA0bolje deluje zaradi teh pi\u0161kotkov. + Na primer, omogo\u010Dajo nam uporabo klepetalne storitve in\xA0hitro ter enostavno odgovarjanje na\xA0va\u0161a vpra\u0161anja.`, + toggle: { + value: CookieConsentCategory.FUNCTIONALITY, + enabled: false, + readonly: false + } + }, + { + title: "Tr\u017Eenjski pi\u0161kotki", + description: `Ti pi\u0161kotki nam pomagajo meriti u\u010Dinkovitost na\u0161ega ogla\u0161evanja in\xA0ciljnih ponudb storitev. + Tr\u017Eenjski pi\u0161kotki nam omogo\u010Dajo, da vam na\xA0internetu prina\u0161amo novice, ki vas morda zanimajo.`, + toggle: { + value: CookieConsentCategory.AD, + enabled: false, + readonly: false + } + }, + { + title: "Pi\u0161kotki za prilagajanje", + description: `Na\u0161e storitve bolje delujejo, \u010De jih lahko prilagodimo dolo\u010Denim uporabnikom. + Z\xA0dovoljenjem pi\u0161kotkov za prilagajanje pove\u010Date mo\u017Enosti, da najdete vsebino, ki jo\xA0\u017Eelite.`, + toggle: { + value: CookieConsentCategory.PERSONALIZATION, + enabled: false, + readonly: false + } + } + ] + } + }; + }; + // src/languages/uk.ts - var extra8 = { + var extra10 = { and: "i", company: "\u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C", companies: "\u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C", legalName: "Alma Career \u0442\u0430 \u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C \u0437\xA0\u0457\u0457 \u0433\u0440\u0443\u043F\u0438" }; - var config8 = (extraMessages, secondaryButtonMode) => { + var config10 = (extraMessages, secondaryButtonMode) => { var _a, _b; - const lang = __spreadValues(__spreadValues({}, extra8), extraMessages); + const lang = __spreadValues(__spreadValues({}, extra10), extraMessages); return { consent_modal: { title: (_a = lang.consentTitle) != null ? _a : "\u0426\u0435\u0439 \u0441\u0430\u0439\u0442 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0454 \u0444\u0430\u0439\u043B\u0438 cookie", @@ -1578,7 +1766,7 @@ displayMode, secondaryButtonMode, translationOverrides, - config: config9 + config: config11 } = options; const cookieName = "lmc_ccm"; const cookieConsent = window.initCookieConsent(); @@ -1586,11 +1774,13 @@ cs: config(__spreadValues({ companyNames }, translationOverrides.cs), secondaryButtonMode), de: config2(__spreadValues({ companyNames }, translationOverrides.de), secondaryButtonMode), en: config3(__spreadValues({ companyNames }, translationOverrides.en), secondaryButtonMode), - hu: config4(__spreadValues({ companyNames }, translationOverrides.hu), secondaryButtonMode), - pl: config5(__spreadValues({ companyNames }, translationOverrides.pl), secondaryButtonMode), - ru: config6(__spreadValues({ companyNames }, translationOverrides.ru), secondaryButtonMode), - sk: config7(__spreadValues({ companyNames }, translationOverrides.sk), secondaryButtonMode), - uk: config8(__spreadValues({ companyNames }, translationOverrides.uk), secondaryButtonMode) + hr: config4(__spreadValues({ companyNames }, translationOverrides.hr), secondaryButtonMode), + hu: config5(__spreadValues({ companyNames }, translationOverrides.hu), secondaryButtonMode), + pl: config6(__spreadValues({ companyNames }, translationOverrides.pl), secondaryButtonMode), + ru: config7(__spreadValues({ companyNames }, translationOverrides.ru), secondaryButtonMode), + sk: config8(__spreadValues({ companyNames }, translationOverrides.sk), secondaryButtonMode), + sl: config9(__spreadValues({ companyNames }, translationOverrides.sl), secondaryButtonMode), + uk: config10(__spreadValues({ companyNames }, translationOverrides.uk), secondaryButtonMode) }; const onFirstAcceptHandler = (userPreferences, cookie) => { const cookieData = cookieConsent.get("data"); @@ -1650,7 +1840,7 @@ onFirstAction: onFirstAcceptHandler, onChange: onChangeHandler, languages - }, config9); + }, config11); cookieConsent.run(cookieConsentConfig); return cookieConsent; }; diff --git a/dist/LmcCookieConsentManager.mjs b/dist/LmcCookieConsentManager.mjs index 4d5f2e45..462e11e4 100644 --- a/dist/LmcCookieConsentManager.mjs +++ b/dist/LmcCookieConsentManager.mjs @@ -800,9 +800,9 @@ var config = (extraMessages, secondaryButtonMode) => { save_settings_btn: "Ulo\u017Eit nastaven\xED", blocks: [ { - description: `Abyste z na\u0161ich str\xE1nek z\xEDskali maximum, je nejlep\u0161\xED povolit v\u0161echny typy Cookies. -` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Dal\u0161\xED informace o tom, co jsou Cookies a jak s nimi pracujeme, najdete na str\xE1nce - Z\xE1sady ochrany soukrom\xED.`) + description: `Abyste z\xA0na\u0161ich str\xE1nek z\xEDskali maximum, je nejlep\u0161\xED povolit v\u0161echny typy cookies. +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Dal\u0161\xED informace o\xA0tom, co jsou cookies a\xA0jak s\xA0nimi pracujeme, najdete + v\xA0Z\xE1sad\xE1ch\xA0cookies.`) }, { title: "Technicky nezbytn\xE9 Cookies", @@ -989,12 +989,12 @@ var config3 = (extraMessages, secondaryButtonMode) => { blocks: [ { description: `If you want to get the most out of our website it is best to allow all types of cookies. -` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `You can find more information about what cookies are and how we work with them on the page - Privacy policy.`) +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `For more information about what cookies are and how we work with them, see our + Cookie Policy.`) }, { title: "Technically necessary cookies", - description: `These cookies are essential for the proper functioning of our website and so they cannot be disabled. Without them, it would not be possible e.g.\xA0to display any content or to\xA0log\xA0in on our website.`, + description: `These cookies are essential for the proper functioning of our website, and so they cannot be disabled. Without them, it would not be possible e.g.\xA0to display any content or to\xA0log\xA0in on our website.`, toggle: { value: CookieConsentCategory.NECESSARY, enabled: true, @@ -1042,14 +1042,108 @@ var config3 = (extraMessages, secondaryButtonMode) => { }; }; -// src/languages/hu.ts +// src/languages/hr.ts var extra4 = { - and: "\xE9s", - legalName: "Alma Career csoport \xE9s a hozz\xE1 tartoz\xF3 v\xE1llalatok" + and: "i", + legalName: "tvrtkama iz poslovne grupacije Alma Career" }; var config4 = (extraMessages, secondaryButtonMode) => { var _a, _b; const lang = __spreadValues(__spreadValues({}, extra4), extraMessages); + return { + consent_modal: { + title: (_a = lang.consentTitle) != null ? _a : "Kola\u010Di\u0107i \u010Dine na\u0161u stranicu jo\u0161 boljom", + description: ` + ${assembleDescriptionIntro( + "Boljim razumijevanjem onoga \u0161to vas zanima, pokazat \u0107emo vam relevantniji\xA0sadr\u017Eaj.", + lang.descriptionIntro + )} +

+ Klikom na\xA0gumb \u201EPrihvati sve\u201C, dajete + ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), lang.and)} + privolu za\xA0upotrebu kola\u010Di\u0107a za personalizaciju, analitiku i ciljani marketing.. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Mo\u017Eete prilagoditi upotrebu kola\u010Di\u0107a u\xA0svojim prilago\u0111enim postavkama.` : ""} +

`, + primary_btn: { + text: "Prihvati sve", + role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL + }, + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Prihvati nu\u017Eno", "Prilago\u0111ene postavke") + }, + settings_modal: { + title: "Prilago\u0111ene postavke kola\u010Di\u0107a", + accept_all_btn: "Prihvati sve", + reject_all_btn: "Prihvati nu\u017Eno", + save_settings_btn: "Spremi postavke", + blocks: [ + { + description: `Ako \u017Eelite maksimalno iskoristiti na\u0161u web stranicu, najbolje je dopustiti sve vrste kola\u010Di\u0107a. +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Vi\u0161e informacija o tome \u0161to su kola\u010Di\u0107i i\xA0kako s\xA0njima radimo mo\u017Eete prona\u0107i na stranici + Pravila privatnosti.`) + }, + { + title: "Tehni\u010Dki nu\u017Eni kola\u010Di\u0107i", + description: `Ovi kola\u010Di\u0107i su klju\u010Dni za pravilno funkcioniranje na\u0161e web stranice i\xA0stoga ih nije mogu\u0107e onemogu\u0107iti. + Bez njih nije mogu\u0107e prikazati sadr\u017Eaj ili se\xA0prijaviti na\xA0na\u0161u web stranicu.`, + toggle: { + value: CookieConsentCategory.NECESSARY, + enabled: true, + readonly: true + } + }, + { + title: "Analiti\u010Dki kola\u010Di\u0107i", + description: `Ovi nam poma\u017Eu pratiti koliko ljudi posje\u0107uje na\u0161u web stranicu i\xA0kako je koriste. + Te\xA0informacije nam omogu\u0107uju kontinuirano pobolj\u0161avanje web stranice i\xA0drugih usluga.`, + toggle: { + value: CookieConsentCategory.ANALYTICS, + enabled: false, + readonly: false + } + }, + { + title: "Funkcionalni kola\u010Di\u0107i", + description: `Na\u0161a web stranica djeluje jo\u0161 u\u010Dinkovitije i\xA0bolje zahvaljuju\u0107i ovim kola\u010Di\u0107ima. + Na\xA0primjer, omogu\u0107uju nam kori\u0161tenje usluge razgovora i\xA0brzo i\xA0jednostavno odgovaranje na\xA0va\u0161a pitanja.`, + toggle: { + value: CookieConsentCategory.FUNCTIONALITY, + enabled: false, + readonly: false + } + }, + { + title: "Marketing kola\u010Di\u0107i", + description: `Ovi kola\u010Di\u0107i nam poma\u017Eu mjeriti u\u010Dinkovitost na\u0161eg ogla\u0161avanja i\xA0ciljanih ponuda usluga. + Marketing kola\u010Di\u0107i omogu\u0107uju nam dono\u0161enje vijesti koje bi vas mogle zanimati na\xA0internetu.`, + toggle: { + value: CookieConsentCategory.AD, + enabled: false, + readonly: false + } + }, + { + title: "Personalizacijski kola\u010Di\u0107i", + description: `Na\u0161e usluge bolje funkcioniraju ako ih mo\u017Eemo prilagoditi odre\u0111enim korisnicima. + Dopu\u0161tanjem personalizacijskih kola\u010Di\u0107a pove\u0107avate \u0161anse da\xA0prona\u0111ete sadr\u017Eaj koji \u017Eelite.`, + toggle: { + value: CookieConsentCategory.PERSONALIZATION, + enabled: false, + readonly: false + } + } + ] + } + }; +}; + +// src/languages/hu.ts +var extra5 = { + and: "\xE9s", + legalName: "Alma Career csoport \xE9s a hozz\xE1 tartoz\xF3 v\xE1llalatok" +}; +var config5 = (extraMessages, secondaryButtonMode) => { + var _a, _b; + const lang = __spreadValues(__spreadValues({}, extra5), extraMessages); return { consent_modal: { title: (_a = lang.consentTitle) != null ? _a : "Az oldalak s\xFCti f\xE1jlokat haszn\xE1lnak", @@ -1060,7 +1154,7 @@ var config4 = (extraMessages, secondaryButtonMode) => { )}

A\xA0\u201EMindent\xA0elfogadok\u201D gombra kattintva a\xA0hozz\xE1j\xE1rul\xE1s\xE1t adja ahhoz, hogy az - ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), extra4.and)} + ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), extra5.and)} s\xFCti f\xE1jlokat \xE9s egy\xE9b azonos\xEDt\xF3kat haszn\xE1ljon az \xD6n eszk\xF6z\xE9n. E\xA0s\xFCti f\xE1jlok \xE9s egy\xE9b azonos\xEDt\xF3k haszn\xE1lata megk\xF6nny\xEDti a\xA0weboldalon bel\xFCli navig\xE1ci\xF3t, a\xA0szem\xE9lyre szabott tartalom megjelen\xEDt\xE9s\xE9t, a\xA0c\xE9lzott marketinget, valamint term\xE9keink \xE9s szolg\xE1ltat\xE1saink haszn\xE1lat\xE1nak elemz\xE9s\xE9t. ${isSettingsButtonNotShown(secondaryButtonMode) ? `A\xA0cookie-k haszn\xE1lat\xE1t testre szabhatja saj\xE1t be\xE1ll\xEDt\xE1saiban.` : ""}

`, @@ -1136,15 +1230,15 @@ var config4 = (extraMessages, secondaryButtonMode) => { }; // src/languages/pl.ts -var extra5 = { +var extra6 = { and: "i", company: "firm\u0119", companies: "firmy", legalName: "Alma Career i\xA0firmy z\xA0jej grupy biznesowej" }; -var config5 = (extraMessages, secondaryButtonMode) => { +var config6 = (extraMessages, secondaryButtonMode) => { var _a, _b; - const lang = __spreadValues(__spreadValues({}, extra5), extraMessages); + const lang = __spreadValues(__spreadValues({}, extra6), extraMessages); return { consent_modal: { title: (_a = lang.consentTitle) != null ? _a : "Dzi\u0119ki plikom Cookies nasza strona b\u0119dzie jeszcze lepsza", @@ -1156,7 +1250,7 @@ var config5 = (extraMessages, secondaryButtonMode) => {

Kliknij w\xA0przycisk \u201EAkceptuj wszystkie\u201D, aby wyrazi\u0107 zgod\u0119 na\xA0wykorzystanie plik\xF3w cookie przez ${pluralize(lang.companyNames.length, lang.company, lang.companies)} - ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), extra5.and)} + ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), extra6.and)} do personalizacji, analizy i\xA0ukierunkowanego marketingu. ${isSettingsButtonNotShown(secondaryButtonMode) ? `Korzystanie z\xA0plik\xF3w cookies mo\u017Cesz dostosowa\u0107 we\xA0w\u0142asnych ustawieniach.` : ""}

`, @@ -1174,8 +1268,8 @@ var config5 = (extraMessages, secondaryButtonMode) => { blocks: [ { description: `Aby w\xA0pe\u0142ni wykorzysta\u0107 mo\u017Cliwo\u015Bci naszej strony, najlepiej jest zezwoli\u0107 na\xA0wszystkie rodzaje plik\xF3w cookies. -` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Wi\u0119cej informacji na temat tego, czym s\u0105 pliki cookies i jak z nimi pracujemy znajdziesz na naszej stronie - Polityka prywatno\u015Bci.`) +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Wi\u0119cej informacji na temat tego, czym s\u0105 pliki cookies i\xA0jak z nimi pracujemy, znajdziesz w\xA0naszej + Polityce plik\xF3w\xA0cookie.`) }, { title: "Technicznie niezb\u0119dne pliki cookies", @@ -1228,15 +1322,15 @@ var config5 = (extraMessages, secondaryButtonMode) => { }; // src/languages/ru.ts -var extra6 = { +var extra7 = { and: "\u0438", company: "\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u044F\u043C", companies: "\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u044F\u043C", legalName: "Alma Career \u0438\xA0\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438 \u0435\u0435 \u0433\u0440\u0443\u043F\u043F\u044B" }; -var config6 = (extraMessages, secondaryButtonMode) => { +var config7 = (extraMessages, secondaryButtonMode) => { var _a, _b; - const lang = __spreadValues(__spreadValues({}, extra6), extraMessages); + const lang = __spreadValues(__spreadValues({}, extra7), extraMessages); return { consent_modal: { title: (_a = lang.consentTitle) != null ? _a : "\u042D\u0442\u043E\u0442 \u0441\u0430\u0439\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 \u0444\u0430\u0439\u043B\u044B cookie", @@ -1321,18 +1415,18 @@ var config6 = (extraMessages, secondaryButtonMode) => { }; // src/languages/sk.ts -var extra7 = { +var extra8 = { and: "a", company: "spolo\u010Dnosti", companies: "spolo\u010Dnostiam", legalName: "Alma Career a\xA0spolo\u010Dnostiam z\xA0jej obchodn\xE9 skupiny" }; -var config7 = (extraMessages, secondaryButtonMode) => { +var config8 = (extraMessages, secondaryButtonMode) => { var _a, _b; - const lang = __spreadValues(__spreadValues({}, extra7), extraMessages); + const lang = __spreadValues(__spreadValues({}, extra8), extraMessages); return { consent_modal: { - title: (_a = lang.consentTitle) != null ? _a : "V\u010Faka Cookies bud\xFA na\u0161e str\xE1nky e\u0161te lep\u0161ie", + title: (_a = lang.consentTitle) != null ? _a : "S cookies v\xE1m vieme lep\u0161ie prisp\xF4sobi\u0165 str\xE1nku", description: ` ${assembleDescriptionIntro( "Presnej\u0161\xED obsah\xA0na\xA0mieru v\xE1m budeme zobrazova\u0165, ke\u010F\xA0lep\u0161ie pochop\xEDme, \u010Do\xA0v\xE1s\xA0zauj\xEDma.", @@ -1358,9 +1452,9 @@ var config7 = (extraMessages, secondaryButtonMode) => { save_settings_btn: "Ulo\u017Ei\u0165 nastavenia", blocks: [ { - description: `Aby ste z na\u0161ich str\xE1nok z\xEDskali maximum, je najlep\u0161ie povoli\u0165 v\u0161etky typy cookies. -` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `\u010Eal\u0161ie inform\xE1cie o\xA0tom, \u010Do s\xFA cookies a ako s nimi pracujeme, n\xE1jdete na str\xE1nke - Z\xE1sady ochrany s\xFAkromia.`) + description: `Aby ste z\xA0na\u0161ich str\xE1nok z\xEDskali maximum, je najlep\u0161ie povoli\u0165 v\u0161etky typy cookies. +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `\u010Eal\u0161ie inform\xE1cie o\xA0tom, \u010Do s\xFA cookies a\xA0ako s\xA0nimi pracujeme, n\xE1jdete + v\xA0Z\xE1sad\xE1ch\xA0cookies.`) }, { title: "Technicky nevyhnutn\xE9 cookies", @@ -1412,16 +1506,110 @@ var config7 = (extraMessages, secondaryButtonMode) => { }; }; +// src/languages/sl.ts +var extra9 = { + and: "in", + legalName: "iz poslovne skupine Alma Career" +}; +var config9 = (extraMessages, secondaryButtonMode) => { + var _a, _b; + const lang = __spreadValues(__spreadValues({}, extra9), extraMessages); + return { + consent_modal: { + title: (_a = lang.consentTitle) != null ? _a : "Pi\u0161kotki izbolj\u0161ujejo na\u0161o spletno stran", + description: ` + ${assembleDescriptionIntro( + "Z bolj\u0161im razumevanjem, kaj vas zanima, vam bomo prikazali bolj relevantno\xA0vsebino.", + lang.descriptionIntro + )} +

+ S\xA0klikom na\xA0gumb \u201ESprejmi vse\u201C dajete soglasje podjetjem + ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), lang.and)} + za\xA0uporabo pi\u0161kotkov za\xA0personalizacijo, analitiko in ciljno ogla\u0161evanje. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Uporabo pi\u0161kotkov lahko prilagodite v\xA0svojih nastavitvah.` : ""} +

`, + primary_btn: { + text: "Sprejmi vse", + role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL + }, + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Sprejmi samo nujne", "Shrani nastavitve") + }, + settings_modal: { + title: "Prilagojene nastavitve pi\u0161kotkov", + accept_all_btn: "Sprejmi vse", + reject_all_btn: "Sprejmi samo nujne", + save_settings_btn: "Shrani nastavitve", + blocks: [ + { + description: `\u010Ce \u017Eelite najbolje izkoristiti na\u0161o spletno stran, je najbolje, da dovolite vse vrste pi\u0161kotkov. +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Ve\u010D informacij o\xA0tem, kaj so pi\u0161kotki in\xA0kako z\xA0njimi upravljamo, najdete na\xA0strani + Pravilnik o zasebnosti.`) + }, + { + title: "Tehni\u010Dno nujni pi\u0161kotki", + description: `Ti pi\u0161kotki so bistveni za pravilno delovanje na\u0161e spletne strani in\xA0jih ni\xA0mogo\u010De izklopiti. + Brez njih ne\xA0bi\xA0bilo mogo\u010De prikazati vsebine ali se\xA0prijaviti na\xA0na\u0161o spletno stran.`, + toggle: { + value: CookieConsentCategory.NECESSARY, + enabled: true, + readonly: true + } + }, + { + title: "Analiti\u010Dni pi\u0161kotki", + description: `Ti nam pomagajo spremljati, koliko ljudi obi\u0161\u010De na\u0161o spletno stran in\xA0kako jo uporabljajo. + Te informacije nam omogo\u010Dajo nenehno izbolj\u0161evanje spletne strani in\xA0drugih storitev.`, + toggle: { + value: CookieConsentCategory.ANALYTICS, + enabled: false, + readonly: false + } + }, + { + title: "Funkcionalni pi\u0161kotki", + description: `Na\u0161a spletna stran je \u0161e u\u010Dinkovitej\u0161a in\xA0bolje deluje zaradi teh pi\u0161kotkov. + Na primer, omogo\u010Dajo nam uporabo klepetalne storitve in\xA0hitro ter enostavno odgovarjanje na\xA0va\u0161a vpra\u0161anja.`, + toggle: { + value: CookieConsentCategory.FUNCTIONALITY, + enabled: false, + readonly: false + } + }, + { + title: "Tr\u017Eenjski pi\u0161kotki", + description: `Ti pi\u0161kotki nam pomagajo meriti u\u010Dinkovitost na\u0161ega ogla\u0161evanja in\xA0ciljnih ponudb storitev. + Tr\u017Eenjski pi\u0161kotki nam omogo\u010Dajo, da vam na\xA0internetu prina\u0161amo novice, ki vas morda zanimajo.`, + toggle: { + value: CookieConsentCategory.AD, + enabled: false, + readonly: false + } + }, + { + title: "Pi\u0161kotki za prilagajanje", + description: `Na\u0161e storitve bolje delujejo, \u010De jih lahko prilagodimo dolo\u010Denim uporabnikom. + Z\xA0dovoljenjem pi\u0161kotkov za prilagajanje pove\u010Date mo\u017Enosti, da najdete vsebino, ki jo\xA0\u017Eelite.`, + toggle: { + value: CookieConsentCategory.PERSONALIZATION, + enabled: false, + readonly: false + } + } + ] + } + }; +}; + // src/languages/uk.ts -var extra8 = { +var extra10 = { and: "i", company: "\u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C", companies: "\u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C", legalName: "Alma Career \u0442\u0430 \u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C \u0437\xA0\u0457\u0457 \u0433\u0440\u0443\u043F\u0438" }; -var config8 = (extraMessages, secondaryButtonMode) => { +var config10 = (extraMessages, secondaryButtonMode) => { var _a, _b; - const lang = __spreadValues(__spreadValues({}, extra8), extraMessages); + const lang = __spreadValues(__spreadValues({}, extra10), extraMessages); return { consent_modal: { title: (_a = lang.consentTitle) != null ? _a : "\u0426\u0435\u0439 \u0441\u0430\u0439\u0442 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0454 \u0444\u0430\u0439\u043B\u0438 cookie", @@ -1576,7 +1764,7 @@ var LmcCookieConsentManager = (serviceName, args) => { displayMode, secondaryButtonMode, translationOverrides, - config: config9 + config: config11 } = options; const cookieName = "lmc_ccm"; const cookieConsent = window.initCookieConsent(); @@ -1584,11 +1772,13 @@ var LmcCookieConsentManager = (serviceName, args) => { cs: config(__spreadValues({ companyNames }, translationOverrides.cs), secondaryButtonMode), de: config2(__spreadValues({ companyNames }, translationOverrides.de), secondaryButtonMode), en: config3(__spreadValues({ companyNames }, translationOverrides.en), secondaryButtonMode), - hu: config4(__spreadValues({ companyNames }, translationOverrides.hu), secondaryButtonMode), - pl: config5(__spreadValues({ companyNames }, translationOverrides.pl), secondaryButtonMode), - ru: config6(__spreadValues({ companyNames }, translationOverrides.ru), secondaryButtonMode), - sk: config7(__spreadValues({ companyNames }, translationOverrides.sk), secondaryButtonMode), - uk: config8(__spreadValues({ companyNames }, translationOverrides.uk), secondaryButtonMode) + hr: config4(__spreadValues({ companyNames }, translationOverrides.hr), secondaryButtonMode), + hu: config5(__spreadValues({ companyNames }, translationOverrides.hu), secondaryButtonMode), + pl: config6(__spreadValues({ companyNames }, translationOverrides.pl), secondaryButtonMode), + ru: config7(__spreadValues({ companyNames }, translationOverrides.ru), secondaryButtonMode), + sk: config8(__spreadValues({ companyNames }, translationOverrides.sk), secondaryButtonMode), + sl: config9(__spreadValues({ companyNames }, translationOverrides.sl), secondaryButtonMode), + uk: config10(__spreadValues({ companyNames }, translationOverrides.uk), secondaryButtonMode) }; const onFirstAcceptHandler = (userPreferences, cookie) => { const cookieData = cookieConsent.get("data"); @@ -1648,7 +1838,7 @@ var LmcCookieConsentManager = (serviceName, args) => { onFirstAction: onFirstAcceptHandler, onChange: onChangeHandler, languages - }, config9); + }, config11); cookieConsent.run(cookieConsentConfig); return cookieConsent; }; diff --git a/dist/LmcCookieConsentManager.scss b/dist/LmcCookieConsentManager.scss index cd187967..3ae61fc8 100644 --- a/dist/LmcCookieConsentManager.scss +++ b/dist/LmcCookieConsentManager.scss @@ -1,11 +1,11 @@ /*! - * LMC Cookie Consent Manager - * Copyright 2021–2022 LMC s.r.o. + * Alma Career Cookie Consent Manager + * Copyright 2021–2024 Alma Career Czechia s.r.o. * Licensed under MIT (https://github.com/lmc-eu/cookie-consent-manager/blob/main/LICENSE.md) */ // Vanilla Cookie Consent CSS by Orest Bida. @use 'vanilla-cookieconsent/src/cookieconsent.css'; -// LMC Cookie Consent Manager CSS by LMC. +// Alma Career Cookie Consent Manager CSS by LMC. @use 'scss'; diff --git a/dist/init.js b/dist/init.js index 35ddb93a..3312364c 100644 --- a/dist/init.js +++ b/dist/init.js @@ -802,9 +802,9 @@ save_settings_btn: "Ulo\u017Eit nastaven\xED", blocks: [ { - description: `Abyste z na\u0161ich str\xE1nek z\xEDskali maximum, je nejlep\u0161\xED povolit v\u0161echny typy Cookies. -` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Dal\u0161\xED informace o tom, co jsou Cookies a jak s nimi pracujeme, najdete na str\xE1nce - Z\xE1sady ochrany soukrom\xED.`) + description: `Abyste z\xA0na\u0161ich str\xE1nek z\xEDskali maximum, je nejlep\u0161\xED povolit v\u0161echny typy cookies. +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Dal\u0161\xED informace o\xA0tom, co jsou cookies a\xA0jak s\xA0nimi pracujeme, najdete + v\xA0Z\xE1sad\xE1ch\xA0cookies.`) }, { title: "Technicky nezbytn\xE9 Cookies", @@ -991,12 +991,12 @@ blocks: [ { description: `If you want to get the most out of our website it is best to allow all types of cookies. -` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `You can find more information about what cookies are and how we work with them on the page - Privacy policy.`) +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `For more information about what cookies are and how we work with them, see our + Cookie Policy.`) }, { title: "Technically necessary cookies", - description: `These cookies are essential for the proper functioning of our website and so they cannot be disabled. Without them, it would not be possible e.g.\xA0to display any content or to\xA0log\xA0in on our website.`, + description: `These cookies are essential for the proper functioning of our website, and so they cannot be disabled. Without them, it would not be possible e.g.\xA0to display any content or to\xA0log\xA0in on our website.`, toggle: { value: CookieConsentCategory.NECESSARY, enabled: true, @@ -1044,14 +1044,108 @@ }; }; - // src/languages/hu.ts + // src/languages/hr.ts var extra4 = { - and: "\xE9s", - legalName: "Alma Career csoport \xE9s a hozz\xE1 tartoz\xF3 v\xE1llalatok" + and: "i", + legalName: "tvrtkama iz poslovne grupacije Alma Career" }; var config4 = (extraMessages, secondaryButtonMode) => { var _a, _b; const lang = __spreadValues(__spreadValues({}, extra4), extraMessages); + return { + consent_modal: { + title: (_a = lang.consentTitle) != null ? _a : "Kola\u010Di\u0107i \u010Dine na\u0161u stranicu jo\u0161 boljom", + description: ` + ${assembleDescriptionIntro( + "Boljim razumijevanjem onoga \u0161to vas zanima, pokazat \u0107emo vam relevantniji\xA0sadr\u017Eaj.", + lang.descriptionIntro + )} +

+ Klikom na\xA0gumb \u201EPrihvati sve\u201C, dajete + ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), lang.and)} + privolu za\xA0upotrebu kola\u010Di\u0107a za personalizaciju, analitiku i ciljani marketing.. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Mo\u017Eete prilagoditi upotrebu kola\u010Di\u0107a u\xA0svojim prilago\u0111enim postavkama.` : ""} +

`, + primary_btn: { + text: "Prihvati sve", + role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL + }, + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Prihvati nu\u017Eno", "Prilago\u0111ene postavke") + }, + settings_modal: { + title: "Prilago\u0111ene postavke kola\u010Di\u0107a", + accept_all_btn: "Prihvati sve", + reject_all_btn: "Prihvati nu\u017Eno", + save_settings_btn: "Spremi postavke", + blocks: [ + { + description: `Ako \u017Eelite maksimalno iskoristiti na\u0161u web stranicu, najbolje je dopustiti sve vrste kola\u010Di\u0107a. +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Vi\u0161e informacija o tome \u0161to su kola\u010Di\u0107i i\xA0kako s\xA0njima radimo mo\u017Eete prona\u0107i na stranici + Pravila privatnosti.`) + }, + { + title: "Tehni\u010Dki nu\u017Eni kola\u010Di\u0107i", + description: `Ovi kola\u010Di\u0107i su klju\u010Dni za pravilno funkcioniranje na\u0161e web stranice i\xA0stoga ih nije mogu\u0107e onemogu\u0107iti. + Bez njih nije mogu\u0107e prikazati sadr\u017Eaj ili se\xA0prijaviti na\xA0na\u0161u web stranicu.`, + toggle: { + value: CookieConsentCategory.NECESSARY, + enabled: true, + readonly: true + } + }, + { + title: "Analiti\u010Dki kola\u010Di\u0107i", + description: `Ovi nam poma\u017Eu pratiti koliko ljudi posje\u0107uje na\u0161u web stranicu i\xA0kako je koriste. + Te\xA0informacije nam omogu\u0107uju kontinuirano pobolj\u0161avanje web stranice i\xA0drugih usluga.`, + toggle: { + value: CookieConsentCategory.ANALYTICS, + enabled: false, + readonly: false + } + }, + { + title: "Funkcionalni kola\u010Di\u0107i", + description: `Na\u0161a web stranica djeluje jo\u0161 u\u010Dinkovitije i\xA0bolje zahvaljuju\u0107i ovim kola\u010Di\u0107ima. + Na\xA0primjer, omogu\u0107uju nam kori\u0161tenje usluge razgovora i\xA0brzo i\xA0jednostavno odgovaranje na\xA0va\u0161a pitanja.`, + toggle: { + value: CookieConsentCategory.FUNCTIONALITY, + enabled: false, + readonly: false + } + }, + { + title: "Marketing kola\u010Di\u0107i", + description: `Ovi kola\u010Di\u0107i nam poma\u017Eu mjeriti u\u010Dinkovitost na\u0161eg ogla\u0161avanja i\xA0ciljanih ponuda usluga. + Marketing kola\u010Di\u0107i omogu\u0107uju nam dono\u0161enje vijesti koje bi vas mogle zanimati na\xA0internetu.`, + toggle: { + value: CookieConsentCategory.AD, + enabled: false, + readonly: false + } + }, + { + title: "Personalizacijski kola\u010Di\u0107i", + description: `Na\u0161e usluge bolje funkcioniraju ako ih mo\u017Eemo prilagoditi odre\u0111enim korisnicima. + Dopu\u0161tanjem personalizacijskih kola\u010Di\u0107a pove\u0107avate \u0161anse da\xA0prona\u0111ete sadr\u017Eaj koji \u017Eelite.`, + toggle: { + value: CookieConsentCategory.PERSONALIZATION, + enabled: false, + readonly: false + } + } + ] + } + }; + }; + + // src/languages/hu.ts + var extra5 = { + and: "\xE9s", + legalName: "Alma Career csoport \xE9s a hozz\xE1 tartoz\xF3 v\xE1llalatok" + }; + var config5 = (extraMessages, secondaryButtonMode) => { + var _a, _b; + const lang = __spreadValues(__spreadValues({}, extra5), extraMessages); return { consent_modal: { title: (_a = lang.consentTitle) != null ? _a : "Az oldalak s\xFCti f\xE1jlokat haszn\xE1lnak", @@ -1062,7 +1156,7 @@ )}

A\xA0\u201EMindent\xA0elfogadok\u201D gombra kattintva a\xA0hozz\xE1j\xE1rul\xE1s\xE1t adja ahhoz, hogy az - ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), extra4.and)} + ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), extra5.and)} s\xFCti f\xE1jlokat \xE9s egy\xE9b azonos\xEDt\xF3kat haszn\xE1ljon az \xD6n eszk\xF6z\xE9n. E\xA0s\xFCti f\xE1jlok \xE9s egy\xE9b azonos\xEDt\xF3k haszn\xE1lata megk\xF6nny\xEDti a\xA0weboldalon bel\xFCli navig\xE1ci\xF3t, a\xA0szem\xE9lyre szabott tartalom megjelen\xEDt\xE9s\xE9t, a\xA0c\xE9lzott marketinget, valamint term\xE9keink \xE9s szolg\xE1ltat\xE1saink haszn\xE1lat\xE1nak elemz\xE9s\xE9t. ${isSettingsButtonNotShown(secondaryButtonMode) ? `A\xA0cookie-k haszn\xE1lat\xE1t testre szabhatja saj\xE1t be\xE1ll\xEDt\xE1saiban.` : ""}

`, @@ -1138,15 +1232,15 @@ }; // src/languages/pl.ts - var extra5 = { + var extra6 = { and: "i", company: "firm\u0119", companies: "firmy", legalName: "Alma Career i\xA0firmy z\xA0jej grupy biznesowej" }; - var config5 = (extraMessages, secondaryButtonMode) => { + var config6 = (extraMessages, secondaryButtonMode) => { var _a, _b; - const lang = __spreadValues(__spreadValues({}, extra5), extraMessages); + const lang = __spreadValues(__spreadValues({}, extra6), extraMessages); return { consent_modal: { title: (_a = lang.consentTitle) != null ? _a : "Dzi\u0119ki plikom Cookies nasza strona b\u0119dzie jeszcze lepsza", @@ -1158,7 +1252,7 @@

Kliknij w\xA0przycisk \u201EAkceptuj wszystkie\u201D, aby wyrazi\u0107 zgod\u0119 na\xA0wykorzystanie plik\xF3w cookie przez ${pluralize(lang.companyNames.length, lang.company, lang.companies)} - ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), extra5.and)} + ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), extra6.and)} do personalizacji, analizy i\xA0ukierunkowanego marketingu. ${isSettingsButtonNotShown(secondaryButtonMode) ? `Korzystanie z\xA0plik\xF3w cookies mo\u017Cesz dostosowa\u0107 we\xA0w\u0142asnych ustawieniach.` : ""}

`, @@ -1176,8 +1270,8 @@ blocks: [ { description: `Aby w\xA0pe\u0142ni wykorzysta\u0107 mo\u017Cliwo\u015Bci naszej strony, najlepiej jest zezwoli\u0107 na\xA0wszystkie rodzaje plik\xF3w cookies. -` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Wi\u0119cej informacji na temat tego, czym s\u0105 pliki cookies i jak z nimi pracujemy znajdziesz na naszej stronie - Polityka prywatno\u015Bci.`) +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Wi\u0119cej informacji na temat tego, czym s\u0105 pliki cookies i\xA0jak z nimi pracujemy, znajdziesz w\xA0naszej + Polityce plik\xF3w\xA0cookie.`) }, { title: "Technicznie niezb\u0119dne pliki cookies", @@ -1230,15 +1324,15 @@ }; // src/languages/ru.ts - var extra6 = { + var extra7 = { and: "\u0438", company: "\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u044F\u043C", companies: "\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u044F\u043C", legalName: "Alma Career \u0438\xA0\u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438 \u0435\u0435 \u0433\u0440\u0443\u043F\u043F\u044B" }; - var config6 = (extraMessages, secondaryButtonMode) => { + var config7 = (extraMessages, secondaryButtonMode) => { var _a, _b; - const lang = __spreadValues(__spreadValues({}, extra6), extraMessages); + const lang = __spreadValues(__spreadValues({}, extra7), extraMessages); return { consent_modal: { title: (_a = lang.consentTitle) != null ? _a : "\u042D\u0442\u043E\u0442 \u0441\u0430\u0439\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 \u0444\u0430\u0439\u043B\u044B cookie", @@ -1323,18 +1417,18 @@ }; // src/languages/sk.ts - var extra7 = { + var extra8 = { and: "a", company: "spolo\u010Dnosti", companies: "spolo\u010Dnostiam", legalName: "Alma Career a\xA0spolo\u010Dnostiam z\xA0jej obchodn\xE9 skupiny" }; - var config7 = (extraMessages, secondaryButtonMode) => { + var config8 = (extraMessages, secondaryButtonMode) => { var _a, _b; - const lang = __spreadValues(__spreadValues({}, extra7), extraMessages); + const lang = __spreadValues(__spreadValues({}, extra8), extraMessages); return { consent_modal: { - title: (_a = lang.consentTitle) != null ? _a : "V\u010Faka Cookies bud\xFA na\u0161e str\xE1nky e\u0161te lep\u0161ie", + title: (_a = lang.consentTitle) != null ? _a : "S cookies v\xE1m vieme lep\u0161ie prisp\xF4sobi\u0165 str\xE1nku", description: ` ${assembleDescriptionIntro( "Presnej\u0161\xED obsah\xA0na\xA0mieru v\xE1m budeme zobrazova\u0165, ke\u010F\xA0lep\u0161ie pochop\xEDme, \u010Do\xA0v\xE1s\xA0zauj\xEDma.", @@ -1360,9 +1454,9 @@ save_settings_btn: "Ulo\u017Ei\u0165 nastavenia", blocks: [ { - description: `Aby ste z na\u0161ich str\xE1nok z\xEDskali maximum, je najlep\u0161ie povoli\u0165 v\u0161etky typy cookies. -` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `\u010Eal\u0161ie inform\xE1cie o\xA0tom, \u010Do s\xFA cookies a ako s nimi pracujeme, n\xE1jdete na str\xE1nke - Z\xE1sady ochrany s\xFAkromia.`) + description: `Aby ste z\xA0na\u0161ich str\xE1nok z\xEDskali maximum, je najlep\u0161ie povoli\u0165 v\u0161etky typy cookies. +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `\u010Eal\u0161ie inform\xE1cie o\xA0tom, \u010Do s\xFA cookies a\xA0ako s\xA0nimi pracujeme, n\xE1jdete + v\xA0Z\xE1sad\xE1ch\xA0cookies.`) }, { title: "Technicky nevyhnutn\xE9 cookies", @@ -1414,16 +1508,110 @@ }; }; + // src/languages/sl.ts + var extra9 = { + and: "in", + legalName: "iz poslovne skupine Alma Career" + }; + var config9 = (extraMessages, secondaryButtonMode) => { + var _a, _b; + const lang = __spreadValues(__spreadValues({}, extra9), extraMessages); + return { + consent_modal: { + title: (_a = lang.consentTitle) != null ? _a : "Pi\u0161kotki izbolj\u0161ujejo na\u0161o spletno stran", + description: ` + ${assembleDescriptionIntro( + "Z bolj\u0161im razumevanjem, kaj vas zanima, vam bomo prikazali bolj relevantno\xA0vsebino.", + lang.descriptionIntro + )} +

+ S\xA0klikom na\xA0gumb \u201ESprejmi vse\u201C dajete soglasje podjetjem + ${addSeparators(legalizeAlmaCareer(lang.companyNames, lang.legalName), lang.and)} + za\xA0uporabo pi\u0161kotkov za\xA0personalizacijo, analitiko in ciljno ogla\u0161evanje. + ${isSettingsButtonNotShown(secondaryButtonMode) ? `Uporabo pi\u0161kotkov lahko prilagodite v\xA0svojih nastavitvah.` : ""} +

`, + primary_btn: { + text: "Sprejmi vse", + role: VanillaCookieConsent.PrimaryButtonRole.ACCEPT_ALL + }, + secondary_btn: assembleSecondaryButton(secondaryButtonMode, "Sprejmi samo nujne", "Shrani nastavitve") + }, + settings_modal: { + title: "Prilagojene nastavitve pi\u0161kotkov", + accept_all_btn: "Sprejmi vse", + reject_all_btn: "Sprejmi samo nujne", + save_settings_btn: "Shrani nastavitve", + blocks: [ + { + description: `\u010Ce \u017Eelite najbolje izkoristiti na\u0161o spletno stran, je najbolje, da dovolite vse vrste pi\u0161kotkov. +` + ((_b = lang.settingsModalMoreInfo) != null ? _b : `Ve\u010D informacij o\xA0tem, kaj so pi\u0161kotki in\xA0kako z\xA0njimi upravljamo, najdete na\xA0strani + Pravilnik o zasebnosti.`) + }, + { + title: "Tehni\u010Dno nujni pi\u0161kotki", + description: `Ti pi\u0161kotki so bistveni za pravilno delovanje na\u0161e spletne strani in\xA0jih ni\xA0mogo\u010De izklopiti. + Brez njih ne\xA0bi\xA0bilo mogo\u010De prikazati vsebine ali se\xA0prijaviti na\xA0na\u0161o spletno stran.`, + toggle: { + value: CookieConsentCategory.NECESSARY, + enabled: true, + readonly: true + } + }, + { + title: "Analiti\u010Dni pi\u0161kotki", + description: `Ti nam pomagajo spremljati, koliko ljudi obi\u0161\u010De na\u0161o spletno stran in\xA0kako jo uporabljajo. + Te informacije nam omogo\u010Dajo nenehno izbolj\u0161evanje spletne strani in\xA0drugih storitev.`, + toggle: { + value: CookieConsentCategory.ANALYTICS, + enabled: false, + readonly: false + } + }, + { + title: "Funkcionalni pi\u0161kotki", + description: `Na\u0161a spletna stran je \u0161e u\u010Dinkovitej\u0161a in\xA0bolje deluje zaradi teh pi\u0161kotkov. + Na primer, omogo\u010Dajo nam uporabo klepetalne storitve in\xA0hitro ter enostavno odgovarjanje na\xA0va\u0161a vpra\u0161anja.`, + toggle: { + value: CookieConsentCategory.FUNCTIONALITY, + enabled: false, + readonly: false + } + }, + { + title: "Tr\u017Eenjski pi\u0161kotki", + description: `Ti pi\u0161kotki nam pomagajo meriti u\u010Dinkovitost na\u0161ega ogla\u0161evanja in\xA0ciljnih ponudb storitev. + Tr\u017Eenjski pi\u0161kotki nam omogo\u010Dajo, da vam na\xA0internetu prina\u0161amo novice, ki vas morda zanimajo.`, + toggle: { + value: CookieConsentCategory.AD, + enabled: false, + readonly: false + } + }, + { + title: "Pi\u0161kotki za prilagajanje", + description: `Na\u0161e storitve bolje delujejo, \u010De jih lahko prilagodimo dolo\u010Denim uporabnikom. + Z\xA0dovoljenjem pi\u0161kotkov za prilagajanje pove\u010Date mo\u017Enosti, da najdete vsebino, ki jo\xA0\u017Eelite.`, + toggle: { + value: CookieConsentCategory.PERSONALIZATION, + enabled: false, + readonly: false + } + } + ] + } + }; + }; + // src/languages/uk.ts - var extra8 = { + var extra10 = { and: "i", company: "\u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C", companies: "\u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C", legalName: "Alma Career \u0442\u0430 \u043A\u043E\u043C\u043F\u0430\u043D\u0456\u044F\u043C \u0437\xA0\u0457\u0457 \u0433\u0440\u0443\u043F\u0438" }; - var config8 = (extraMessages, secondaryButtonMode) => { + var config10 = (extraMessages, secondaryButtonMode) => { var _a, _b; - const lang = __spreadValues(__spreadValues({}, extra8), extraMessages); + const lang = __spreadValues(__spreadValues({}, extra10), extraMessages); return { consent_modal: { title: (_a = lang.consentTitle) != null ? _a : "\u0426\u0435\u0439 \u0441\u0430\u0439\u0442 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0454 \u0444\u0430\u0439\u043B\u0438 cookie", @@ -1578,7 +1766,7 @@ displayMode, secondaryButtonMode, translationOverrides, - config: config9 + config: config11 } = options; const cookieName = "lmc_ccm"; const cookieConsent = window.initCookieConsent(); @@ -1586,11 +1774,13 @@ cs: config(__spreadValues({ companyNames }, translationOverrides.cs), secondaryButtonMode), de: config2(__spreadValues({ companyNames }, translationOverrides.de), secondaryButtonMode), en: config3(__spreadValues({ companyNames }, translationOverrides.en), secondaryButtonMode), - hu: config4(__spreadValues({ companyNames }, translationOverrides.hu), secondaryButtonMode), - pl: config5(__spreadValues({ companyNames }, translationOverrides.pl), secondaryButtonMode), - ru: config6(__spreadValues({ companyNames }, translationOverrides.ru), secondaryButtonMode), - sk: config7(__spreadValues({ companyNames }, translationOverrides.sk), secondaryButtonMode), - uk: config8(__spreadValues({ companyNames }, translationOverrides.uk), secondaryButtonMode) + hr: config4(__spreadValues({ companyNames }, translationOverrides.hr), secondaryButtonMode), + hu: config5(__spreadValues({ companyNames }, translationOverrides.hu), secondaryButtonMode), + pl: config6(__spreadValues({ companyNames }, translationOverrides.pl), secondaryButtonMode), + ru: config7(__spreadValues({ companyNames }, translationOverrides.ru), secondaryButtonMode), + sk: config8(__spreadValues({ companyNames }, translationOverrides.sk), secondaryButtonMode), + sl: config9(__spreadValues({ companyNames }, translationOverrides.sl), secondaryButtonMode), + uk: config10(__spreadValues({ companyNames }, translationOverrides.uk), secondaryButtonMode) }; const onFirstAcceptHandler = (userPreferences, cookie) => { const cookieData = cookieConsent.get("data"); @@ -1650,7 +1840,7 @@ onFirstAction: onFirstAcceptHandler, onChange: onChangeHandler, languages - }, config9); + }, config11); cookieConsent.run(cookieConsentConfig); return cookieConsent; }; diff --git a/dist/languages/cs.d.ts b/dist/languages/cs.d.ts index e200d1ac..01662a6a 100644 --- a/dist/languages/cs.d.ts +++ b/dist/languages/cs.d.ts @@ -1,6 +1,5 @@ -import { ExtraMessages, Values } from '../types'; +import { ExtraMessages, Values, VanillaCookieConsent } from '../types'; import { SecondaryButtonMode } from '../constants'; -import { VanillaCookieConsent } from '../types/vanilla-cookieconsent'; /** * @param {ExtraMessages} [extraMessages] - Object with extra messages * @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown diff --git a/dist/languages/de.d.ts b/dist/languages/de.d.ts index e200d1ac..01662a6a 100644 --- a/dist/languages/de.d.ts +++ b/dist/languages/de.d.ts @@ -1,6 +1,5 @@ -import { ExtraMessages, Values } from '../types'; +import { ExtraMessages, Values, VanillaCookieConsent } from '../types'; import { SecondaryButtonMode } from '../constants'; -import { VanillaCookieConsent } from '../types/vanilla-cookieconsent'; /** * @param {ExtraMessages} [extraMessages] - Object with extra messages * @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown diff --git a/dist/languages/en.d.ts b/dist/languages/en.d.ts index e200d1ac..01662a6a 100644 --- a/dist/languages/en.d.ts +++ b/dist/languages/en.d.ts @@ -1,6 +1,5 @@ -import { ExtraMessages, Values } from '../types'; +import { ExtraMessages, Values, VanillaCookieConsent } from '../types'; import { SecondaryButtonMode } from '../constants'; -import { VanillaCookieConsent } from '../types/vanilla-cookieconsent'; /** * @param {ExtraMessages} [extraMessages] - Object with extra messages * @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown diff --git a/dist/languages/hr.d.ts b/dist/languages/hr.d.ts new file mode 100644 index 00000000..01662a6a --- /dev/null +++ b/dist/languages/hr.d.ts @@ -0,0 +1,9 @@ +import { ExtraMessages, Values, VanillaCookieConsent } from '../types'; +import { SecondaryButtonMode } from '../constants'; +/** + * @param {ExtraMessages} [extraMessages] - Object with extra messages + * @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown + * @returns {VanillaCookieConsent.Languages} Object with translated messages + */ +export declare const config: (extraMessages: ExtraMessages, secondaryButtonMode: Values) => VanillaCookieConsent.Languages; +export default config; diff --git a/dist/languages/hu.d.ts b/dist/languages/hu.d.ts index e200d1ac..01662a6a 100644 --- a/dist/languages/hu.d.ts +++ b/dist/languages/hu.d.ts @@ -1,6 +1,5 @@ -import { ExtraMessages, Values } from '../types'; +import { ExtraMessages, Values, VanillaCookieConsent } from '../types'; import { SecondaryButtonMode } from '../constants'; -import { VanillaCookieConsent } from '../types/vanilla-cookieconsent'; /** * @param {ExtraMessages} [extraMessages] - Object with extra messages * @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown diff --git a/dist/languages/pl.d.ts b/dist/languages/pl.d.ts index e200d1ac..01662a6a 100644 --- a/dist/languages/pl.d.ts +++ b/dist/languages/pl.d.ts @@ -1,6 +1,5 @@ -import { ExtraMessages, Values } from '../types'; +import { ExtraMessages, Values, VanillaCookieConsent } from '../types'; import { SecondaryButtonMode } from '../constants'; -import { VanillaCookieConsent } from '../types/vanilla-cookieconsent'; /** * @param {ExtraMessages} [extraMessages] - Object with extra messages * @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown diff --git a/dist/languages/ru.d.ts b/dist/languages/ru.d.ts index e200d1ac..01662a6a 100644 --- a/dist/languages/ru.d.ts +++ b/dist/languages/ru.d.ts @@ -1,6 +1,5 @@ -import { ExtraMessages, Values } from '../types'; +import { ExtraMessages, Values, VanillaCookieConsent } from '../types'; import { SecondaryButtonMode } from '../constants'; -import { VanillaCookieConsent } from '../types/vanilla-cookieconsent'; /** * @param {ExtraMessages} [extraMessages] - Object with extra messages * @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown diff --git a/dist/languages/sk.d.ts b/dist/languages/sk.d.ts index e200d1ac..01662a6a 100644 --- a/dist/languages/sk.d.ts +++ b/dist/languages/sk.d.ts @@ -1,6 +1,5 @@ -import { ExtraMessages, Values } from '../types'; +import { ExtraMessages, Values, VanillaCookieConsent } from '../types'; import { SecondaryButtonMode } from '../constants'; -import { VanillaCookieConsent } from '../types/vanilla-cookieconsent'; /** * @param {ExtraMessages} [extraMessages] - Object with extra messages * @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown diff --git a/dist/languages/sl.d.ts b/dist/languages/sl.d.ts new file mode 100644 index 00000000..01662a6a --- /dev/null +++ b/dist/languages/sl.d.ts @@ -0,0 +1,9 @@ +import { ExtraMessages, Values, VanillaCookieConsent } from '../types'; +import { SecondaryButtonMode } from '../constants'; +/** + * @param {ExtraMessages} [extraMessages] - Object with extra messages + * @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown + * @returns {VanillaCookieConsent.Languages} Object with translated messages + */ +export declare const config: (extraMessages: ExtraMessages, secondaryButtonMode: Values) => VanillaCookieConsent.Languages; +export default config; diff --git a/dist/languages/uk.d.ts b/dist/languages/uk.d.ts index e200d1ac..01662a6a 100644 --- a/dist/languages/uk.d.ts +++ b/dist/languages/uk.d.ts @@ -1,6 +1,5 @@ -import { ExtraMessages, Values } from '../types'; +import { ExtraMessages, Values, VanillaCookieConsent } from '../types'; import { SecondaryButtonMode } from '../constants'; -import { VanillaCookieConsent } from '../types/vanilla-cookieconsent'; /** * @param {ExtraMessages} [extraMessages] - Object with extra messages * @param {SecondaryButtonMode} [secondaryButtonMode] - Which secondary button should be shown diff --git a/dist/scss/theme/_default-to-vanilla.scss b/dist/scss/theme/_default-to-vanilla.scss index 58d5d109..b5b94f56 100644 --- a/dist/scss/theme/_default-to-vanilla.scss +++ b/dist/scss/theme/_default-to-vanilla.scss @@ -1,5 +1,5 @@ // -// Map LMC CCM **private** theming API to the original (vanilla) Cookie Consent custom properties. +// Map Alma Career CCM **private** theming API to the original (vanilla) Cookie Consent custom properties. // // Assignment below is applied through `.cc_div` instead of `:root`, so it works for both light and // dark theme. diff --git a/dist/scss/theme/_default.scss b/dist/scss/theme/_default.scss index 58e64c23..18051195 100644 --- a/dist/scss/theme/_default.scss +++ b/dist/scss/theme/_default.scss @@ -1,5 +1,5 @@ // -// Read from LMC CCM public theming API and assign to private theming layer. +// Read from Alma Career CCM public theming API and assign to private theming layer. // // `--lmcccm-p-*` (`p` for private) are internally used custom properties that either obtain // corresponding `--lmcccm-*` custom property from public API, or default to a specified Spirit diff --git a/dist/types/vanilla-cookieconsent.d.ts b/dist/types/vanilla-cookieconsent.d.ts index d7c68368..382ad222 100644 --- a/dist/types/vanilla-cookieconsent.d.ts +++ b/dist/types/vanilla-cookieconsent.d.ts @@ -50,10 +50,17 @@ export declare namespace VanillaCookieConsent { enabled?: boolean; readonly?: boolean; } + interface CookieTableItem { + domain?: string; + path?: string; + is_regex?: boolean; + [key: string]: string | boolean | undefined; + } interface ModalBlock { title?: string; description?: string; toggle?: ModalBlockToggle; + cookie_table?: CookieTableItem[]; } interface ConsentModal { title?: string; @@ -66,6 +73,7 @@ export declare namespace VanillaCookieConsent { accept_all_btn?: string; reject_all_btn?: string; save_settings_btn?: string; + cookie_table_headers?: Record[]; blocks?: ModalBlock[]; } export interface Languages { diff --git a/package.json b/package.json index f3c6f7b1..81e6c92c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lmc-eu/cookie-consent-manager", - "version": "2.4.1", + "version": "2.5.0", "description": "Cookie Consent Manager mainly for Alma Career products", "keywords": [ "alma-career",