diff --git a/src/lib/common/utils/file.util.js b/src/lib/common/utils/file.util.js index e749b4c..b45c86e 100644 --- a/src/lib/common/utils/file.util.js +++ b/src/lib/common/utils/file.util.js @@ -21,5 +21,5 @@ export function pagesLabel(entry) { if (!entry.selectedPages || entry.selectedPages.size === 0) return 'Нет'; if (entry.selectedPages.size === entry.totalPages) return 'Все'; if (entry.selectedPages.size === 1) return `стр. ${[...entry.selectedPages][0]}`; - return `${entry.selectedPages.size} из ${entry.totalPages}`; + return `${entry.selectedPages.size}/${entry.totalPages} стр.`; } diff --git a/src/lib/common/utils/pricing.util.js b/src/lib/common/utils/pricing.util.js index 9bb6d33..f7e5085 100644 --- a/src/lib/common/utils/pricing.util.js +++ b/src/lib/common/utils/pricing.util.js @@ -7,8 +7,8 @@ export const QUALITIES = [ ]; export const COLOR_MODES = [ - { id: 'bw', label: 'Чб' }, - { id: 'color', label: 'Цвет' } + { id: 'bw', label: 'Черно-белая' }, + { id: 'color', label: 'Цветная' } ]; export const FORMATS = ['A4', 'A5']; diff --git a/src/lib/pages/print/FormatPicker.svelte b/src/lib/pages/print/FormatPicker.svelte new file mode 100644 index 0000000..5d90bc1 --- /dev/null +++ b/src/lib/pages/print/FormatPicker.svelte @@ -0,0 +1,79 @@ + + + +{#if open} +
+{/if} + + diff --git a/src/lib/pages/print/GearOption.svelte b/src/lib/pages/print/GearOption.svelte new file mode 100644 index 0000000..894e048 --- /dev/null +++ b/src/lib/pages/print/GearOption.svelte @@ -0,0 +1,111 @@ + + + +