diff --git a/packages/panel/src/components/Panel.svelte b/packages/panel/src/components/Panel.svelte index 9b85807ef6..30d5537a4d 100644 --- a/packages/panel/src/components/Panel.svelte +++ b/packages/panel/src/components/Panel.svelte @@ -32,9 +32,18 @@ export let isSub: boolean = true export let isAside: boolean = true export let isCustomAttr: boolean = true + export let isFullSize: boolean = false - +
{#if $$slots.navigator} diff --git a/packages/presentation/lang/ru.json b/packages/presentation/lang/ru.json index 330b30600e..3095ec4800 100644 --- a/packages/presentation/lang/ru.json +++ b/packages/presentation/lang/ru.json @@ -4,7 +4,7 @@ "Cancel": "Отменить", "Ok": "Ок", "Save": "Сохранить", - "Download": "Загрузить", + "Download": "Скачать", "Close": "Закрыть", "NotSelected": "Не выбрано", "Deselect": "Снять выделение", diff --git a/packages/presentation/src/components/PDFViewer.svelte b/packages/presentation/src/components/PDFViewer.svelte index 763a1e8658..a8b44b331d 100644 --- a/packages/presentation/src/components/PDFViewer.svelte +++ b/packages/presentation/src/components/PDFViewer.svelte @@ -13,43 +13,88 @@ // limitations under the License. --> -
{ + { dispatch('close') }} -/> -
-
-
-
- {name} +> + +
+
+
+ {iconLabel(name)} +
+
+ {name}
- { - dispatch('close') - }} - /> -
+ + + + {#if contentType && contentType.startsWith('image/')} +