From cd8549daa31067591a9f470432581e330b179e84 Mon Sep 17 00:00:00 2001 From: TraceLumen Date: Wed, 2 Sep 2026 16:52:54 +0300 Subject: [PATCH] Preview preload pages count --- src/lib/PrintMenu.svelte | 896 ++++++++++++++++++++------------------- 1 file changed, 451 insertions(+), 445 deletions(-) diff --git a/src/lib/PrintMenu.svelte b/src/lib/PrintMenu.svelte index fdb7a74..6f83992 100644 --- a/src/lib/PrintMenu.svelte +++ b/src/lib/PrintMenu.svelte @@ -1,488 +1,494 @@ {#if !activeFile} -
-
- -

Печать

-
- -
- {#if files.length === 0} -
-

Загрузите файлы для печати

- -
- {:else} - {#each files as file (file.id)} -
-
toggleExpanded(file)}> - {#if file.expanded}▼{:else}►{/if} - {file.file.name} - e.stopPropagation()}> - {#if file.previewUrl} - - {/if} - - -
- - {#if file.expanded} -
- - -
- -
- {#each formats as f} - - {/each} -
-
- -
- -
- {#each colorModes as c} - - {/each} -
-
- -
- - -
- {#each qualities as q}{q.label}{/each} -
-
-
- {/if} -
- {/each} - - {/if} -
- -
- {#if files.length > 0} -

- {files.length} {plFiles(files.length)} - {#if extraCopies > 0}, {extraCopies} {plCopies(extraCopies)}{/if} -

- {/if} -
- Итого - {totalPrice} -
- - -
-
+
+
+ +

Печать

+
+ +
+ {#if files.length === 0} +
+

Загрузите файлы для печати

+ +
+ {:else} + {#each files as file (file.id)} +
+
toggleExpanded(file)}> + {#if file.expanded}▼{:else}►{/if} + {file.file.name} + e.stopPropagation()}> + {#if file.previewUrl} + + {/if} + + +
+ + {#if file.expanded} +
+ + +
+ +
+ {#each formats as f} + + {/each} +
+
+ +
+ +
+ {#each colorModes as c} + + {/each} +
+
+ +
+ + +
+ {#each qualities as q}{q.label}{/each} +
+
+
+ {/if} +
+ {/each} + + + {/if} +
+ +
+ {#if files.length > 0} +

+ {files.length} {plFiles(files.length)} + {#if extraCopies > 0}, {extraCopies} {plCopies(extraCopies)}{/if} +

+ {/if} +
+ Итого + {totalPrice} +
+ + +
+
{/if} {#if activeFile} - + {/if}