@opencloud-eu/design-system
Version:
OpenCloud Design System is used to design OpenCloud UI components
70 lines (69 loc) • 15 kB
JavaScript
import { createGettext as u } from "vue3-gettext";
import { applyCustomProp as n } from "./design-system/helpers.js";
import { s as p } from "./uniqueId-Dt-4z8v4.js";
import { O as m, c as h } from "./index-BzG8FG3T.js";
const g = {}, f = {}, b = {}, S = {}, w = { Activity: "Aktivität", "Add custom emoji": "Füge ein benutzerdefiniertes Emoji hinzu", "Animals & Nature": "Tiere & Natur", Breadcrumbs: "Brotkrumennavigation", Cancel: "Abbrechen", "Choose default skin tone": "Wähle eine Standard-Hautfarbe", "Clear date": "Lösche das Datum", "Clear filter": "Filter löschen", "Clear input": "Eingabe löschen", Close: "Schließen", Copied: "Kopiert", Copy: "Kopieren", "Copy password": "Passwort kopieren", "Copy the following information and pass them to technical support to troubleshoot the problem:": "Bitte folgende Information kopieren und an den technischen Support weiterleiten, damit das Problem gelöst werden kann.", Custom: "Benutzerdefiniert", Dark: "Dunkel", Default: "Standard", "Deselect %{label}": "%{label} abwählen", Details: "Details", Flags: "Flaggen", "Food & Drink": "Essen & Trinken", "Frequently used": "Oft genutzt", "Generate password": "Passwort generieren", "Go to page %{ page }": "Zu Seite %{ page } springen", "Go to the next page": "Zur nächsten Seite springen", "Go to the previous page": "Zur vorherigen Seite springen", "Hide password": "Passwort verbergen", Light: "Hell", Medium: "Mittel", "Medium-Dark": "Mitteldunkel", "Medium-Light": "Mittelhell", "Navigate one level up": "Eine Ebene höher navigieren", "No options available.": "Keine Optionen vorhanden.", Objects: "Objekte", "Oh no!": "Oh nein!", Pagination: "Paginierung", "Password policy": "Passwort-Richtlinie", "Pick an emoji…": "Wähle ein Emoji…", "Read more": "Mehr anzeigen", Search: "Suchen", "Search for option": "Nach Option suchen", "Search Results": "Suchergebnisse", "Select file": ["Datei auswählen", "Dateien auswählen"], "Show actions for current folder": "Aktionen für den aktuellen Ordner anzeigen", "Show more information": "Mehr Informationen anzeigen", "Show password": "Passwort anzeigen", "Smileys & People": "Smileys & Personen", "Sort by %{ name }": "Nach %{ name } sortieren", Symbols: "Symbole", "That emoji couldn’t be found": "Das Emoji konnte nicht gefunden werden", "The date must be after %{date}": "Das Datum muss nach dem %{date} sein", "Travel & Places": "Reisen & Orte" }, C = {}, y = {}, v = {}, k = {}, P = {}, j = {}, D = { Activity: "Activité", "Add custom emoji": "Ajouter un emoji personnalisé", "Animals & Nature": "Animaux & Nature", Breadcrumbs: "Miette", Cancel: "Annuler", "Choose default skin tone": "Choisir le teint par défaut", "Clear date": "Effacer la date", "Clear filter": "Effacer le filtre", "Clear input": "Effacer l'entrée", Close: "Fermer", Copied: "Copié", Copy: "Copier", "Copy password": "Copier le mot de passe", "Copy the following information and pass them to technical support to troubleshoot the problem:": "Copiez les informations suivantes et transmettez-les à l'assistance technique pour résoudre le problème :", Custom: "Personnalisé", Dark: "Sombre", Default: "Défaut", "Deselect %{label}": "Désélectionner %{label}", Details: "Détails", Flags: "Drapeaux", "Food & Drink": "Alimentation & boissons", "Frequently used": "Fréquemment utilisé", "Generate password": "Générer un mot de passe", "Go to page %{ page }": "Aller à la page %{ page }", "Go to the next page": "Aller à la page suivante", "Go to the previous page": "Aller à la page précédente", "Hide password": "Masquer le mot de passe", Light: "Clair", Medium: "Moyen", "Medium-Dark": "Moyen sombre", "Medium-Light": "Moyen clair", "Navigate one level up": "Naviguez d'un niveau vers le haut", "No options available.": "Aucune option disponible.", Objects: "Objets", "Oh no!": "Oh non !", Pagination: "Pagination", "Password policy": "Politique des mots de passe", "Pick an emoji…": "Choisissez un emoji...", "Read more": "En savoir plus", Search: "Recherche", "Search for option": "Recherche d'option", "Search Results": "Résultats de la recherche", "Select file": ["Sélectionner le fichier", "Sélectionner les fichiers", "Sélectionner les fichiers"], "Show actions for current folder": "Afficher les actions pour le dossier actuel", "Show more information": "Afficher plus d'informations", "Show password": "Afficher le mot de passe", "Smileys & People": "Smileys & personnes", "Sort by %{ name }": "Trier par %{ name }", Symbols: "Symboles", "That emoji couldn’t be found": "Cet emoji est introuvable", "The date must be after %{date}": "La date doit être postérieure à %{date}", "Travel & Places": "Voyages & lieux" }, z = {}, A = {}, M = { Activity: "Activiteit", "Add custom emoji": "Custom emoji toevoegen", "Animals & Nature": "Dieren & Natuur", Cancel: "Annuleren", "Clear date": "Datum leegmaken", "Clear filter": "Filter leegmaken", Close: "Afsluiten", Copied: "Gekopieerd", Copy: "Kopie", "Copy password": "Kopieer wachtwoord", "Copy the following information and pass them to technical support to troubleshoot the problem:": "Kopieer de volgende informatie en geef deze door aan de technische ondersteuning om het probleem op te lossen:", Dark: "Donker", Default: "Standaard", Details: "Details", Flags: "Vlaggen", "Food & Drink": "Eten & Drinken", "Frequently used": "Vaak gebruikt", "Generate password": "Maak wachtwoord", "Go to page %{ page }": "Ga naar pagina %{ page }", "Go to the next page": "Ga naar de volgende pagina", "Go to the previous page": "Ga naar de vorige pagina", "Hide password": "Wachtwoord verbergen", Light: "Licht", Medium: "Gemiddeld", "Medium-Dark": "Halfdonker", "Medium-Light": "Halflicht", "Navigate one level up": "Ga een niveau omhoog", "No options available.": "Geen opties beschikbaar", Objects: "Objecten", "Oh no!": "O nee!", "Password policy": "Wachtwoordbeleid", "Pick an emoji…": "Kies een emoji...", "Read more": "Verder lezen", Search: "Zoeken", "Search for option": "Zoek naar een optie", "Search Results": "Zoekresultaten", "Show actions for current folder": "Acties voor de huidige map weergeven", "Show more information": "Meer informatie weergeven", "Show password": "Wachtwoord tonen", "Smileys & People": "Smileys & Mensen", "Sort by %{ name }": "Sorteer op %{ name }", Symbols: "Symbolen", "That emoji couldn’t be found": "Kan die emoji niet vinden", "The date must be after %{date}": "De datum moet later zijn dan %{date}", "Travel & Places": "Reizen & Plaatsen" }, G = { Activity: "Attività", "Add custom emoji": "Aggiungi emoji personalizzata", "Animals & Nature": "Natura & Animali", Breadcrumbs: "Breadcrumbs", Cancel: "Cancella", "Choose default skin tone": "Scegli il tono predefinito", "Clear date": "Pulisci data", "Clear filter": "Pulisci filtro", "Clear input": "Pulisci input", Close: "Chiudi", Copied: "Copiato", Copy: "Copia", "Copy password": "Copia password", "Copy the following information and pass them to technical support to troubleshoot the problem:": "Copia le seguenti informazioni e inviale al supporto tecnico per risolvere il problema:", Custom: "Personalizzato", Dark: "Scuro", Default: "Predefinito", "Deselect %{label}": "Deseleziona %{label}", Details: "Dettagli", Flags: "Flags", "Food & Drink": "Cibo & Bevande", "Frequently used": "Usato frequentemente", "Generate password": "Genera password", "Go to page %{ page }": "Vai alla pagina %{ page }", "Go to the next page": "Vai alla pagina successiva", "Go to the previous page": "Vai alla pagina precedente", "Hide password": "Nascondi password", Light: "Chiaro", Medium: "Medio", "Medium-Dark": "Medio-Scuro", "Medium-Light": "Medio-Chiaro", "Navigate one level up": "Passare al livello superiore", "No options available.": "Nessuna opzione disponibile.", Objects: "Oggetti", "Oh no!": "Oh no!", Pagination: "Paginazione", "Password policy": "Politica sulla password", "Pick an emoji…": "Scegli un emoji...", "Read more": "Leggi di più", Search: "Cerca", "Search for option": "Cerca l'opzione", "Search Results": "Risultati della ricerca", "Select file": ["Seleziona il file", "Seleziona i file", "Seleziona i file"], "Show actions for current folder": "Mostra azioni per la cartella corrente", "Show more information": "Mostra più informazioni", "Show password": "Mostra password", "Smileys & People": "Faccine e persone", "Sort by %{ name }": "Ordina per %{ nome }", Symbols: "Simboli", "That emoji couldn’t be found": "Non è stato possibile trovare quell'emoji", "The date must be after %{date}": "La data deve essere successiva a %{date}", "Travel & Places": "Viaggi e luoghi" }, F = {}, N = { Activity: "Aktywność", Cancel: "Anuluj", Close: "Zamknij", Copy: "Kopiuj", "Copy password": "Kopiuj hasło", Details: "Szczegóły", "Food & Drink": "Jedzenie i picie", "Generate password": "Generuj hasło", "Hide password": "Ukryj hasło", Objects: "Obiekty", Pagination: "Stronicowanie", "Password policy": "Polityka hasła", "Read more": "Czytaj więcej", Search: "Szukaj", "Show more information": "Pokaż więcej informacji", "Show password": "Pokaż hasło", Symbols: "Symbole", "Travel & Places": "Podróż i miejsca" }, T = {}, L = {}, R = { Activity: "활동", "Add custom emoji": "사용자 지정 이모티콘 추가", "Animals & Nature": "동물과 자연", Breadcrumbs: "빵가루", Cancel: "취소", "Choose default skin tone": "기본 피부 톤 선택", "Clear date": "맑은 날", "Clear filter": "필터 지우기", Close: "닫기", Copied: "복사됨", Copy: "복사", "Copy password": "비밀번호 복사", "Copy the following information and pass them to technical support to troubleshoot the problem:": "다음 정보를 복사하여 기술 지원팀에 전달하여 문제를 해결하세요:", Custom: "커스텀", Dark: "어두운", Default: "기본", "Deselect %{label}": "%{label} 선택 취소", Details: "세부 사항", Flags: "깃발", "Food & Drink": "음식 & 음료", "Frequently used": "자주 사용됨", "Generate password": "비밀번호 생성", "Go to page %{ page }": "페이지 %{ page }로 이동", "Go to the next page": "다음 페이지로 이동", "Go to the previous page": "이전 페이지로 이동", "Hide password": "비밀번호 숨기기", Light: "밝은", Medium: "중간", "Medium-Dark": "중간-어두운", "Medium-Light": "중간-밝은", "Navigate one level up": "한 단계 위로 이동", "No options available.": "선택지가 없습니다.", Objects: "대상들", "Oh no!": "저런!", Pagination: "페이지 수", "Password policy": "비밀번호 정책", "Pick an emoji…": "이모티콘 선택하기...", "Read more": "더 읽기", Search: "조회", "Search for option": "옵션 검색", "Search Results": "검색 결과", "Show actions for current folder": "현재 폴더에 대한 작업 표시", "Show more information": "더 많은 정보 보기", "Show password": "비밀번호 표시", "Smileys & People": "스마일리스 & 사람", "Sort by %{ name }": "%{ name }으로 정렬", Symbols: "심벌", "That emoji couldn’t be found": "그 이모티콘을 찾을 수 없습니다", "The date must be after %{date}": "날짜는 %{date} 이후여야 합니다", "Travel & Places": "여행 & 장소" }, x = {}, O = {}, E = { Details: "Детали" }, q = {}, H = {}, B = {}, K = {}, V = {}, Z = {}, _ = { Activity: "活动", "Add custom emoji": "添加自定义表情", "Animals & Nature": "动物与自然", Breadcrumbs: "面包屑导航", Cancel: "取消", "Choose default skin tone": "选择默认肤色", "Clear date": "清除日期", "Clear filter": "清除筛选条件", "Clear input": "清除输入", Close: "关闭", Copied: "已复制", Copy: "复制", "Copy password": "复制密码", "Copy the following information and pass them to technical support to troubleshoot the problem:": "复制以下信息并提交给技术支持以排查问题:", Custom: "自定义", Dark: "深色", Default: "默认", "Deselect %{label}": "取消选择%{label}", Details: "详细信息", Flags: "旗帜", "Food & Drink": "食物与饮品", "Frequently used": "常用", "Generate password": "生成密码", "Go to page %{ page }": "转到第%{page}页", "Go to the next page": "转到下一页", "Go to the previous page": "转到上一页", "Hide password": "隐藏密码", Light: "浅色", Medium: "中等", "Medium-Dark": "中等深色", "Medium-Light": "中等浅色", "Navigate one level up": "向上一级导航", "No options available.": "无可用选项", Objects: "物品", "Oh no!": "糟糕!", Pagination: "分页", "Password policy": "密码策略", "Pick an emoji…": "选择一个表情…", "Read more": "了解更多", Search: "搜索", "Search for option": "搜索选项", "Search Results": "搜索结果", "Select file": "选择文件", "Show actions for current folder": "显示当前文件夹的操作", "Show more information": "显示更多信息", "Show password": "显示密码", "Smileys & People": "笑脸与人物", "Sort by %{ name }": "按%{name}排序", Symbols: "符号", "That emoji couldn’t be found": "找不到该表情", "The date must be after %{date}": "日期必须在%{date}之后", "Travel & Places": "旅行与地点" }, W = {}, I = {}, U = {
af: g,
bg: f,
bs: b,
ar: S,
de: w,
es: C,
cs: y,
el: v,
et: k,
gl: P,
hr: j,
fr: D,
id: z,
he: A,
nl: M,
it: G,
ja: F,
pl: N,
ka: T,
pt: L,
ko: R,
si: x,
ro: O,
ru: E,
sq: q,
sk: H,
sv: B,
sr: K,
tr: V,
ta: Z,
zh: _,
uk: W,
ug: I
}, J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
OcTooltip: m
}, Symbol.toStringTag, { value: "Module" }));
let r = null;
const t = (a, o) => {
for (const e in a)
n(o + e, a[e]);
};
function ee(a) {
r ? r.current = a : console.error("vue3-gettext is not initialized. Please make sure to initialize it properly.");
}
const oe = {
install(a, o = {}) {
var s, l, c, d;
p(o.iconUrlPrefix || ""), (s = o == null ? void 0 : o.language) != null && s.initGettext && (r = u({
defaultLanguage: o.language.defaultLanguage || "en",
silent: !0,
translations: {
...U,
...o.language.translations || {}
}
}), a.use(r));
const e = o.tokens;
t(e == null ? void 0 : e.breakpoints, "breakpoint-"), t(e == null ? void 0 : e.colorPalette, "color-"), t(e == null ? void 0 : e.roles, "role-"), t(e == null ? void 0 : e.fontSizes, "font-size-"), t(e == null ? void 0 : e.sizes, "size-"), t(e == null ? void 0 : e.spacing, "space-"), n("font-family", e == null ? void 0 : e.fontFamily), (l = e == null ? void 0 : e.roles) != null && l.chrome || (n("role-chrome", (c = e == null ? void 0 : e.roles) == null ? void 0 : c.surfaceContainer), n("role-on-chrome", (d = e == null ? void 0 : e.roles) == null ? void 0 : d.onSurface)), Object.values(h).forEach((i) => a.component(i.__name, i)), Object.values(J).forEach((i) => a.directive(i.name, i));
}
};
export {
oe as default,
ee as setLanguage
};