diff --git a/packages/common/constants/index.js b/packages/common/constants/index.js
index aef6d52ae0..808ab2c0ce 100644
--- a/packages/common/constants/index.js
+++ b/packages/common/constants/index.js
@@ -2,6 +2,7 @@ import ShareGoogleReactSvgUrl from "PUBLIC_DIR/images/share.google.react.svg?url
import ShareFacebookReactSvgUrl from "PUBLIC_DIR/images/share.facebook.react.svg?url";
import ShareTwitterReactSvgUrl from "PUBLIC_DIR/images/share.twitter.react.svg?url";
import ShareLinkedinReactSvgUrl from "PUBLIC_DIR/images/share.linkedin.react.svg?url";
+import ShareZoomReactSvgUrl from "PUBLIC_DIR/images/share.zoom.react.svg?url";
export const LANGUAGE = "asc_language";
export const COOKIE_EXPIRATION_YEAR = 31536000000;
@@ -247,6 +248,10 @@ export const providersData = Object.freeze({
label: "linkedin",
icon: ShareLinkedinReactSvgUrl,
},
+ zoom: {
+ label: "zoom",
+ icon: ShareZoomReactSvgUrl,
+ },
});
export const LoaderStyle = {
title: "",
diff --git a/packages/common/utils/image-helpers.js b/packages/common/utils/image-helpers.js
index 5699a1c77b..62e4f5d1de 100644
--- a/packages/common/utils/image-helpers.js
+++ b/packages/common/utils/image-helpers.js
@@ -56,6 +56,7 @@ import VkSvgUrl from "PUBLIC_DIR/images/thirdparties/vk.svg?url";
import WordpressSvgUrl from "PUBLIC_DIR/images/thirdparties/wordpress.svg?url";
import YahooSvgUrl from "PUBLIC_DIR/images/thirdparties/yahoo.svg?url";
import YandexSvgUrl from "PUBLIC_DIR/images/thirdparties/yandex.svg?url";
+import ZoomSvgUrl from "PUBLIC_DIR/images/thirdparties/zoom.svg?url";
import AviSvg24Url from "PUBLIC_DIR/images/icons/24/avi.svg?url";
import CsvSvg24Url from "PUBLIC_DIR/images/icons/24/csv.svg?url";
@@ -589,6 +590,7 @@ export const thirdpartiesLogo = new Map([
["wordpress.svg", WordpressSvgUrl],
["yahoo.svg", YahooSvgUrl],
["yandex.svg", YandexSvgUrl],
+ ["zoom.svg", ZoomSvgUrl],
]);
export const flagsIcons = new Map([
diff --git a/packages/common/utils/index.ts b/packages/common/utils/index.ts
index 54a08d8dd6..0db5a0ea0b 100644
--- a/packages/common/utils/index.ts
+++ b/packages/common/utils/index.ts
@@ -197,8 +197,8 @@ export function getCookie(name) {
let matches = document.cookie.match(
new RegExp(
"(?:^|; )" +
- name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, "\\$1") +
- "=([^;]*)"
+ name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, "\\$1") +
+ "=([^;]*)"
)
);
return matches ? decodeURIComponent(matches[1]) : undefined;
@@ -285,6 +285,8 @@ export function getProviderTranslation(provider, t, linked = false) {
return t("Common:SignInWithLinkedIn");
case "sso":
return t("Common:SignInWithSso");
+ case "zoom":
+ return t("Common:SignInWithZoom");
}
}
@@ -370,7 +372,7 @@ export function isElementInViewport(el) {
rect.top >= 0 &&
rect.left >= 0 &&
rect.bottom <=
- (window.innerHeight || document.documentElement.clientHeight) &&
+ (window.innerHeight || document.documentElement.clientHeight) &&
rect.right <= (window.innerWidth || document.documentElement.clientWidth)
);
}
@@ -556,8 +558,11 @@ export const getFileExtension = (fileTitle: string) => {
export const getSystemTheme = () => {
const isDesktopClient = window["AscDesktopEditor"] !== undefined;
const desktopClientTheme = window?.RendererProcessVariable?.theme;
- const isDark = desktopClientTheme?.id === "theme-dark" || desktopClientTheme?.id === "theme-contrast-dark" ||
- (desktopClientTheme?.id === "theme-system" && desktopClientTheme?.system === "dark");
+ const isDark =
+ desktopClientTheme?.id === "theme-dark" ||
+ desktopClientTheme?.id === "theme-contrast-dark" ||
+ (desktopClientTheme?.id === "theme-system" &&
+ desktopClientTheme?.system === "dark");
return isDesktopClient
? isDark
@@ -565,6 +570,6 @@ export const getSystemTheme = () => {
: ThemeKeys.BaseStr
: window.matchMedia &&
window.matchMedia("(prefers-color-scheme: dark)").matches
- ? ThemeKeys.DarkStr
- : ThemeKeys.BaseStr;
+ ? ThemeKeys.DarkStr
+ : ThemeKeys.BaseStr;
};
diff --git a/public/images/share.zoom.react.svg b/public/images/share.zoom.react.svg
new file mode 100644
index 0000000000..c6b1942341
--- /dev/null
+++ b/public/images/share.zoom.react.svg
@@ -0,0 +1,10 @@
+
diff --git a/public/images/thirdparties/zoom.svg b/public/images/thirdparties/zoom.svg
new file mode 100644
index 0000000000..e75e5ee338
--- /dev/null
+++ b/public/images/thirdparties/zoom.svg
@@ -0,0 +1,10 @@
+
diff --git a/public/locales/az/Common.json b/public/locales/az/Common.json
index da10eec86e..fadf778770 100644
--- a/public/locales/az/Common.json
+++ b/public/locales/az/Common.json
@@ -240,6 +240,7 @@
"SignInWithLinkedIn": "LinkedIn ilə giriş edin",
"SignInWithSso": "SSO ilə daxil olun",
"SignInWithTwitter": "Twitter ilə giriş edin",
+ "SignInWithZoom": "Zoom ilə giriş edin",
"Size": "Ölçü",
"SizeImageLarge": "Şəklin ölçüsü çox böyükdür, lütfən, başqa şəkil seçin.",
"SomethingWentWrong": "Xəta baş Verdi.",
diff --git a/public/locales/bg/Common.json b/public/locales/bg/Common.json
index 4bef173f80..dc9cba30af 100644
--- a/public/locales/bg/Common.json
+++ b/public/locales/bg/Common.json
@@ -240,6 +240,7 @@
"SignInWithLinkedIn": "Влез с LinkedIn",
"SignInWithSso": "Вход със SSO",
"SignInWithTwitter": "Влез с Twitter",
+ "SignInWithZoom": "Влез с Zoom",
"Size": "Размер",
"SizeImageLarge": "Размерът на изображението е твърде голям, моля изберете друго изображение.",
"SomethingWentWrong": "Нещо се обърка.",
diff --git a/public/locales/cs/Common.json b/public/locales/cs/Common.json
index 5aae5ada78..88158e88ef 100644
--- a/public/locales/cs/Common.json
+++ b/public/locales/cs/Common.json
@@ -240,6 +240,7 @@
"SignInWithLinkedIn": "Přihlásit se pomocí LinkedIn",
"SignInWithSso": "Přihlásit se pomocí SSO",
"SignInWithTwitter": "Přihlásit se pomocí Twitteru",
+ "SignInWithZoom": "Přihlásit se pomocí Zoom",
"Size": "Velikost",
"SizeImageLarge": "Velikost obrázku je příliš velká, vyberte prosím jiný obrázek.",
"SomethingWentWrong": "Něco se pokazilo.",
diff --git a/public/locales/de/Common.json b/public/locales/de/Common.json
index 089f5a73d3..fcb1954a11 100644
--- a/public/locales/de/Common.json
+++ b/public/locales/de/Common.json
@@ -240,6 +240,7 @@
"SignInWithLinkedIn": "Login über LinkedIn",
"SignInWithSso": "Mit SSO anmelden",
"SignInWithTwitter": "Login über Twitter",
+ "SignInWithZoom": "Login über Zoom",
"Size": "Größe",
"SizeImageLarge": "Das Bild ist zu groß, bitte wählen Sie ein anderes Bild.",
"SomethingWentWrong": "Ein Fehler ist aufgetreten.",
diff --git a/public/locales/el-GR/Common.json b/public/locales/el-GR/Common.json
index 475be9d955..7f0027356f 100644
--- a/public/locales/el-GR/Common.json
+++ b/public/locales/el-GR/Common.json
@@ -240,6 +240,7 @@
"SignInWithLinkedIn": "Συνδεθείτε με το LinkedIn",
"SignInWithSso": "Σύνδεση με SSO",
"SignInWithTwitter": "Συνδεθείτε με το Twitter",
+ "SignInWithZoom": "Συνδεθείτε με την Zoom",
"Size": "Μέγεθος",
"SizeImageLarge": "Το μέγεθος της εικόνας είναι πολύ μεγάλο, επιλέξτε άλλη εικόνα.",
"SomethingWentWrong": "Κάτι πήγε στραβά.",
diff --git a/public/locales/en/Common.json b/public/locales/en/Common.json
index ec8f5dee09..3d6c6286c4 100644
--- a/public/locales/en/Common.json
+++ b/public/locales/en/Common.json
@@ -241,6 +241,7 @@
"SignInWithLinkedIn": "Sign in with LinkedIn",
"SignInWithSso": "Sign in with SSO",
"SignInWithTwitter": "Sign in with Twitter",
+ "SignInWithZoom": "Sign in with Zoom",
"Size": "Size",
"SizeImageLarge": "The image size is too large, please select another image.",
"SomethingWentWrong": "Something went wrong.",
diff --git a/public/locales/es/Common.json b/public/locales/es/Common.json
index fb1fc68e85..b4300e1bbf 100644
--- a/public/locales/es/Common.json
+++ b/public/locales/es/Common.json
@@ -241,6 +241,7 @@
"SignInWithLinkedIn": "Iniciar sesión con LinkedIn",
"SignInWithSso": "Iniciar sesión con SSO",
"SignInWithTwitter": "Iniciar sesión con Twitter",
+ "SignInWithZoom": "Iniciar sesión con Zoom",
"Size": "Tamaño",
"SizeImageLarge": "El tamaño de la imagen es demasiado grande. Por favor, seleccione otra imagen.",
"SomethingWentWrong": "Se ha producido un error.",
diff --git a/public/locales/fi/Common.json b/public/locales/fi/Common.json
index 44da3471bc..9d9eaba6d7 100644
--- a/public/locales/fi/Common.json
+++ b/public/locales/fi/Common.json
@@ -240,6 +240,7 @@
"SignInWithLinkedIn": "Kirjaudu sisään LinkedInillä",
"SignInWithSso": "Kirjaudu sisään kertakirjautumisella",
"SignInWithTwitter": "Kirjaudu sisään Twitterillä",
+ "SignInWithZoom": "Kirjaudu sisään Zoomillä",
"Size": "Koko",
"SizeImageLarge": "Kuva on liian suuri, ole hyvä ja valitse toinen kuva.",
"SomethingWentWrong": "Jokin meni pieleen.",
diff --git a/public/locales/fr/Common.json b/public/locales/fr/Common.json
index 14831b8049..ed26a82d67 100644
--- a/public/locales/fr/Common.json
+++ b/public/locales/fr/Common.json
@@ -241,6 +241,7 @@
"SignInWithLinkedIn": "Se connecter avec LinkedIn",
"SignInWithSso": "Se connecter avec SSO",
"SignInWithTwitter": "Se connecter avec Twitter",
+ "SignInWithZoom": "Se connecter avec Zoom",
"Size": "Taille",
"SizeImageLarge": "La taille de l’image est trop grande, veuillez sélectionner une autre image.",
"SomethingWentWrong": "Un problème est survenu.",
diff --git a/public/locales/hy-AM/Common.json b/public/locales/hy-AM/Common.json
index 979437346d..e2ebb09ac6 100644
--- a/public/locales/hy-AM/Common.json
+++ b/public/locales/hy-AM/Common.json
@@ -241,6 +241,7 @@
"SignInWithLinkedIn": "Մուտք գործեք LinkedIn-ով",
"SignInWithSso": "Մուտք գործեք SSO-ով",
"SignInWithTwitter": "Մուտք գործեք Twitter-ով",
+ "SignInWithZoom": "Մուտք գործեք Zoom-ով",
"Size": "Չափ",
"SizeImageLarge": "Պատկերի չափը չափազանց մեծ է, խնդրում ենք ընտրել մեկ այլ պատկեր:",
"SomethingWentWrong": "Ինչ որ բան այնպես չգնաց.",
diff --git a/public/locales/it/Common.json b/public/locales/it/Common.json
index 0dc2069e93..367c5ea7b3 100644
--- a/public/locales/it/Common.json
+++ b/public/locales/it/Common.json
@@ -241,6 +241,7 @@
"SignInWithLinkedIn": "Accedere con LinkedIn",
"SignInWithSso": "Accedere con SSO",
"SignInWithTwitter": "Accedere con Twitter",
+ "SignInWithZoom": "Accedere con Zoom",
"Size": "Dimensione",
"SizeImageLarge": "La dimensione dell'immagine è troppo grande, seleziona un'altra immagine.",
"SomethingWentWrong": "Qualcosa è andato storto.",
diff --git a/public/locales/ja-JP/Common.json b/public/locales/ja-JP/Common.json
index 2db9343c55..ba73dbc0ca 100644
--- a/public/locales/ja-JP/Common.json
+++ b/public/locales/ja-JP/Common.json
@@ -240,6 +240,7 @@
"SignInWithLinkedIn": "LinkedInでサインイン",
"SignInWithSso": "SSOでサインイン",
"SignInWithTwitter": "Twitterでサインイン",
+ "SignInWithZoom": "Zoomでサインイン",
"Size": "サイズ",
"SizeImageLarge": "画像サイズが大きすぎるため、別の画像を選択してください。",
"SomethingWentWrong": "何かが間違っていた.",
diff --git a/public/locales/ko-KR/Common.json b/public/locales/ko-KR/Common.json
index f06ea0a65c..040587ec23 100644
--- a/public/locales/ko-KR/Common.json
+++ b/public/locales/ko-KR/Common.json
@@ -240,6 +240,7 @@
"SignInWithLinkedIn": "LinkedIn으로 로그인",
"SignInWithSso": "SSO로 로그인",
"SignInWithTwitter": "Twitter로 로그인",
+ "SignInWithZoom": "Zoom로 로그인",
"Size": "크기",
"SizeImageLarge": "이미지 크기가 너무 큽니다. 다른 이미지를 선택해주세요.",
"SomethingWentWrong": "무언가 잘못됐습니다.",
diff --git a/public/locales/lo-LA/Common.json b/public/locales/lo-LA/Common.json
index b4d5d73315..5cd461b79a 100644
--- a/public/locales/lo-LA/Common.json
+++ b/public/locales/lo-LA/Common.json
@@ -240,6 +240,7 @@
"SignInWithLinkedIn": "ເຂົ້າລະບົບດ້ວຍ LinkedIn",
"SignInWithSso": "ເຂົ້າສູ່ລະບົບດ້ວຍ SSO",
"SignInWithTwitter": "ເຂົ້າລະບົບດ້ວຍ Twitter",
+ "SignInWithZoom": "ເຂົ້າລະບົບດ້ວຍ Zoom",
"Size": "ຂະໜາດ",
"SizeImageLarge": "ຂະໜາດຮູບໃຫຍ່ເກີນໄປ, ກະລຸນາເລືອກຮູບອື່ນ.",
"SomethingWentWrong": "ມີບາງຢ່າງຜິດພາດ",
diff --git a/public/locales/lv/Common.json b/public/locales/lv/Common.json
index aeb1e41e74..76604fb935 100644
--- a/public/locales/lv/Common.json
+++ b/public/locales/lv/Common.json
@@ -240,6 +240,7 @@
"SignInWithLinkedIn": "Pierakstīties ar LinkedIn",
"SignInWithSso": "Pierakstīties, izmantojot SSO",
"SignInWithTwitter": "Pierakstīties ar Twitter",
+ "SignInWithZoom": "Pierakstīties ar Zoom",
"Size": "Izmērs",
"SizeImageLarge": "Attēls ir pārāk liels. Lūdzu, atlasiet citu attēlu.",
"SomethingWentWrong": "Radās problēma.",
diff --git a/public/locales/nl/Common.json b/public/locales/nl/Common.json
index 2cead16887..befe39bfee 100644
--- a/public/locales/nl/Common.json
+++ b/public/locales/nl/Common.json
@@ -240,6 +240,7 @@
"SignInWithLinkedIn": "Aanmelden met LinkedIn",
"SignInWithSso": "Aanmelden met SSO",
"SignInWithTwitter": "Aanmelden met Twitter",
+ "SignInWithZoom": "Aanmelden met Zoom",
"Size": "Formaat",
"SizeImageLarge": "De afbeelding is te groot, kies een andere afbeelding.",
"SomethingWentWrong": "Er is iets fout gegaan.",
diff --git a/public/locales/pl/Common.json b/public/locales/pl/Common.json
index 50007148f4..5ba6aacb66 100644
--- a/public/locales/pl/Common.json
+++ b/public/locales/pl/Common.json
@@ -240,6 +240,7 @@
"SignInWithLinkedIn": "Zaloguj się przez LinkedIn",
"SignInWithSso": "Zaloguj się za pomocą logowania jednokrotnego",
"SignInWithTwitter": "Zaloguj się przez Twitter",
+ "SignInWithZoom": "Zaloguj się przez Zoom",
"Size": "Rozmiar",
"SizeImageLarge": "Rozmiar obrazu jest zbyt duży, wybierz inny obraz.",
"SomethingWentWrong": "Coś poszło nie tak.",
diff --git a/public/locales/pt-BR/Common.json b/public/locales/pt-BR/Common.json
index 91a81f79de..499281cf17 100644
--- a/public/locales/pt-BR/Common.json
+++ b/public/locales/pt-BR/Common.json
@@ -241,6 +241,7 @@
"SignInWithLinkedIn": "Entrar com LinkedIn",
"SignInWithSso": "Fazer login com SSO",
"SignInWithTwitter": "Entrar com Twitter",
+ "SignInWithZoom": "Entrar com Zoom",
"Size": "Tamanho",
"SizeImageLarge": "O tamanho da imagem é muito grande, selecione outra imagem.",
"SomethingWentWrong": "Algo deu errado.",
diff --git a/public/locales/pt/Common.json b/public/locales/pt/Common.json
index dcfa9a3087..d23ebb34d4 100644
--- a/public/locales/pt/Common.json
+++ b/public/locales/pt/Common.json
@@ -240,6 +240,7 @@
"SignInWithLinkedIn": "Iniciar sessão com o LinkedIn",
"SignInWithSso": "Entrar com SSO",
"SignInWithTwitter": "Iniciar sessão com o Twitter",
+ "SignInWithZoom": "Iniciar sessão com o Zoom",
"Size": "Tamanho",
"SizeImageLarge": "A imagem é demasiado grande, por favor selecione outra imagem.",
"SomethingWentWrong": "Ocorreu um erro.",
diff --git a/public/locales/ro/Common.json b/public/locales/ro/Common.json
index da8cd09c17..be7355570b 100644
--- a/public/locales/ro/Common.json
+++ b/public/locales/ro/Common.json
@@ -241,6 +241,7 @@
"SignInWithLinkedIn": "Conectare cu LinkedIn",
"SignInWithSso": "Conectare cu SSO",
"SignInWithTwitter": "Conectare cu Twitter",
+ "SignInWithZoom": "Conectare cu Zoom",
"Size": "Dimensiune",
"SizeImageLarge": "Dimensiunea imaginii este prea mare, selectaţi o altă imagine.",
"SomethingWentWrong": "Ceva nu a mers bine.",
diff --git a/public/locales/ru/Common.json b/public/locales/ru/Common.json
index c7b868e253..56fb555270 100644
--- a/public/locales/ru/Common.json
+++ b/public/locales/ru/Common.json
@@ -241,6 +241,7 @@
"SignInWithLinkedIn": "Вход через LinkedIn",
"SignInWithSso": "Вход через SSO",
"SignInWithTwitter": "Вход через Twitter",
+ "SignInWithZoom": "Вход через Zoom",
"Size": "Размер",
"SizeImageLarge": "Размер изображения слишком большой, пожалуйста, выберите другое изображение.",
"SomethingWentWrong": "Что-то пошло не так.",
diff --git a/public/locales/sk/Common.json b/public/locales/sk/Common.json
index f68e2ae514..4b16efd1a7 100644
--- a/public/locales/sk/Common.json
+++ b/public/locales/sk/Common.json
@@ -240,6 +240,7 @@
"SignInWithLinkedIn": "Prihlásiť sa pomocou LinkedIn",
"SignInWithSso": "Prihlásiť sa pomocou SSO",
"SignInWithTwitter": "Prihlásiť sa pomocou Twitteru",
+ "SignInWithZoom": "Prihlásiť sa pomocou Zoom",
"Size": "Veľkosť",
"SizeImageLarge": "Obrázok je príliš veľký, vyberte iný obrázok.",
"SomethingWentWrong": "Niečo sa pokazilo.",
diff --git a/public/locales/sl/Common.json b/public/locales/sl/Common.json
index fc61e139cc..b5f0e75d66 100644
--- a/public/locales/sl/Common.json
+++ b/public/locales/sl/Common.json
@@ -240,6 +240,7 @@
"SignInWithLinkedIn": "Prijavi se z LinkedIn",
"SignInWithSso": "Vpiši se s SSO",
"SignInWithTwitter": "Prijavi se s Twitter",
+ "SignInWithZoom": "Prijavi se s Zoom",
"Size": "Velikost",
"SizeImageLarge": "Velikost slike je prevelika, izberite drugo sliko.",
"SomethingWentWrong": "Nekaj je šlo narobe.",
diff --git a/public/locales/tr/Common.json b/public/locales/tr/Common.json
index ce30378880..9af8065ab6 100644
--- a/public/locales/tr/Common.json
+++ b/public/locales/tr/Common.json
@@ -240,6 +240,7 @@
"SignInWithLinkedIn": "LinkedIn hesabınız ile giriş yapın",
"SignInWithSso": "SSO ile giriş yap",
"SignInWithTwitter": "Twitter hesabınız ile giriş yapın",
+ "SignInWithZoom": "Zoom hesabınız ile giriş yapın",
"Size": "Boyut",
"SizeImageLarge": "Resim boyutu çok büyük, lütfen başka bir resim seçin.",
"SomethingWentWrong": "Bir şeyler ters gitti.",
diff --git a/public/locales/uk-UA/Common.json b/public/locales/uk-UA/Common.json
index c34d8f0ca1..86bfb7d872 100644
--- a/public/locales/uk-UA/Common.json
+++ b/public/locales/uk-UA/Common.json
@@ -240,6 +240,7 @@
"SignInWithLinkedIn": "Увійти за допомогою LinkedIn",
"SignInWithSso": "Увійти за допомогою єдиного входу",
"SignInWithTwitter": "Увійти за допомогою Twitter",
+ "SignInWithZoom": "Увійти за допомогою Zoom",
"Size": "Розмір",
"SizeImageLarge": "Розмір зображення завеликий, виберіть інше зображення.",
"SomethingWentWrong": "Сталася помилка.",
diff --git a/public/locales/vi/Common.json b/public/locales/vi/Common.json
index 6561d1573e..0c4ae1f6ef 100644
--- a/public/locales/vi/Common.json
+++ b/public/locales/vi/Common.json
@@ -240,6 +240,7 @@
"SignInWithLinkedIn": "Đăng nhập bằng LinkedIn",
"SignInWithSso": "Đăng nhập bằng SSO",
"SignInWithTwitter": "Đăng nhập bằng Twitter",
+ "SignInWithZoom": "Đăng nhập bằng Zoom",
"Size": "Kích cỡ",
"SizeImageLarge": "Kích thước hình ảnh quá lớn, xin vui lòng chọn một hình ảnh khác.",
"SomethingWentWrong": "Đã xảy ra lỗi.",
diff --git a/public/locales/zh-CN/Common.json b/public/locales/zh-CN/Common.json
index e1aa78efe9..05cfbd4396 100644
--- a/public/locales/zh-CN/Common.json
+++ b/public/locales/zh-CN/Common.json
@@ -241,6 +241,7 @@
"SignInWithLinkedIn": "使用LinkedIn登录",
"SignInWithSso": "用SSO登录",
"SignInWithTwitter": "使用Twitter登录",
+ "SignInWithZoom": "使用Zoom登录",
"Size": "大小",
"SizeImageLarge": "图像尺寸过大,请选择另一张图像。",
"SomethingWentWrong": "出了点问题。",