@ezeep/ezeep-js 1.0.277 → 1.0.287

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/dist/cjs/ezeep.cjs.js +1 -1
  2. package/dist/cjs/ezp-auth_15.cjs.entry.js +116 -38
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/collection/components/ezp-auth/ezp-auth.css +0 -12
  5. package/dist/collection/components/ezp-auth/ezp-auth.js +23 -4
  6. package/dist/collection/components/ezp-dialog/ezp-dialog.js +1 -1
  7. package/dist/collection/components/ezp-icon/assets/glyph-cloud-upload.svg +4 -0
  8. package/dist/collection/components/ezp-icon/assets/glyph-file.svg +3 -0
  9. package/dist/collection/components/ezp-icon/ezp-icon.js +1 -1
  10. package/dist/collection/components/ezp-icon-button/ezp-icon-button.js +1 -1
  11. package/dist/collection/components/ezp-input/ezp-input.css +17 -33
  12. package/dist/collection/components/ezp-input/ezp-input.js +1 -1
  13. package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.css +175 -48
  14. package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +10 -8
  15. package/dist/collection/components/ezp-printing/ezp-printing.css +14 -14
  16. package/dist/collection/components/ezp-printing/ezp-printing.js +17 -2
  17. package/dist/collection/components/ezp-select/ezp-select.css +54 -36
  18. package/dist/collection/components/ezp-select/ezp-select.js +1 -1
  19. package/dist/collection/components/ezp-status/ezp-status.css +94 -9
  20. package/dist/collection/components/ezp-status/ezp-status.js +22 -3
  21. package/dist/collection/components/ezp-stepper/ezp-stepper.css +37 -35
  22. package/dist/collection/components/ezp-stepper/ezp-stepper.js +2 -2
  23. package/dist/collection/components/ezp-text-button/ezp-text-button.css +3 -3
  24. package/dist/collection/components/ezp-text-button/ezp-text-button.js +1 -1
  25. package/dist/collection/components/ezp-upload/ezp-upload.css +223 -75
  26. package/dist/collection/components/ezp-upload/ezp-upload.js +75 -3
  27. package/dist/collection/components/ezp-user-menu/ezp-user-menu.js +1 -1
  28. package/dist/collection/types/shared/types.d.ts +2 -0
  29. package/dist/components/ezp-auth2.js +1 -1
  30. package/dist/components/ezp-input2.js +1 -1
  31. package/dist/components/ezp-printer-selection2.js +1 -1
  32. package/dist/components/ezp-printing.js +1 -1
  33. package/dist/components/ezp-select2.js +1 -1
  34. package/dist/components/ezp-status2.js +1 -1
  35. package/dist/components/ezp-stepper2.js +1 -1
  36. package/dist/components/ezp-text-button2.js +1 -1
  37. package/dist/components/ezp-upload2.js +1 -1
  38. package/dist/components/ezp-user-menu2.js +1 -1
  39. package/dist/components/utils.js +1 -1
  40. package/dist/directives/proxies.ts +18 -6
  41. package/dist/esm/ezeep.js +1 -1
  42. package/dist/esm/ezp-auth_15.entry.js +116 -38
  43. package/dist/esm/loader.js +1 -1
  44. package/dist/esm-es5/ezeep.js +1 -1
  45. package/dist/esm-es5/ezp-auth_15.entry.js +2 -2
  46. package/dist/esm-es5/loader.js +1 -1
  47. package/dist/ezeep/assets/glyph-cloud-upload.svg +4 -0
  48. package/dist/ezeep/assets/glyph-file.svg +3 -0
  49. package/dist/ezeep/ezeep.esm.js +1 -1
  50. package/dist/ezeep/{p-644e48a0.system.entry.js → p-0aae0597.system.entry.js} +2 -2
  51. package/dist/ezeep/p-7b19a21a.entry.js +1 -0
  52. package/dist/ezeep/p-DCznw2Ee.system.js +1 -1
  53. package/dist/ezeep/types/shared/types.d.ts +2 -0
  54. package/dist/types/components/ezp-printing/ezp-printing.d.ts +7 -0
  55. package/dist/types/components/ezp-status/ezp-status.d.ts +1 -0
  56. package/dist/types/components/ezp-upload/ezp-upload.d.ts +11 -0
  57. package/dist/types/components.d.ts +15 -2
  58. package/dist/types/shared/types.d.ts +2 -0
  59. package/package.json +1 -1
  60. package/www/build/assets/glyph-cloud-upload.svg +4 -0
  61. package/www/build/assets/glyph-file.svg +3 -0
  62. package/www/build/ezeep.esm.js +1 -1
  63. package/www/build/{p-644e48a0.system.entry.js → p-0aae0597.system.entry.js} +2 -2
  64. package/www/build/p-7b19a21a.entry.js +1 -0
  65. package/www/build/p-879553e9.js +1 -0
  66. package/www/build/p-DCznw2Ee.system.js +1 -1
  67. package/www/data/locales/de.json +12 -5
  68. package/www/data/locales/en.json +12 -5
  69. package/www/index.html +1 -1
  70. package/dist/ezeep/p-ebd2beda.entry.js +0 -1
  71. package/www/build/p-c7252f1c.js +0 -1
  72. package/www/build/p-ebd2beda.entry.js +0 -1
@@ -2530,6 +2530,7 @@ const printer_selection$1 = {
2530
2530
  printer: "Drucker",
2531
2531
  print_processing: "Drucken…",
2532
2532
  print_success: "Erfolgreich gedruckt.",
2533
+ print_success_sub: "Dein Dokument ist auf dem Weg zum Drucker.",
2533
2534
  print_failed: "Druck fehlgeschlagen",
2534
2535
  print_timeout: "Das dauert länger als erwartet. Der Auftrag wird möglicherweise noch auf dem Drucker fertiggestellt.",
2535
2536
  not_supported: "Der ausgewählte Dateityp wird nicht unterstützt.",
@@ -2563,8 +2564,9 @@ const printer_selection$1 = {
2563
2564
  select_trays: "Wähle Papierfach",
2564
2565
  page_ranges: "Druckbereich",
2565
2566
  paper_ranges: "Papier-Ranges",
2566
- files_selected: "{{count}} Dateien ausgewählt",
2567
- files: "Dateien"
2567
+ files: "Dateien",
2568
+ file_count_one: "{{count}} Datei",
2569
+ file_count_other: "{{count}} Dateien"
2568
2570
  };
2569
2571
  const button_actions$1 = {
2570
2572
  login: "Anmelden",
@@ -2577,9 +2579,14 @@ const button_actions$1 = {
2577
2579
  const upload$1 = {
2578
2580
  description: "Ziehe Dateien hier in den Browser ",
2579
2581
  meta_leading: "oder",
2580
- meta_select: "wähle Dateien aus",
2581
- meta_trailing: "um mit ezeep Blue zu drucken.",
2582
- selected_files: "Ausgewählte Dateien:"
2582
+ dropzone_title: "Dateien hier ablegen",
2583
+ browse: "vom Gerät auswählen",
2584
+ file_type_fallback: "DATEI",
2585
+ meta_multiple: "— mehrere Dateien möglich",
2586
+ add_more: "Hinzufügen",
2587
+ files_ready_one: "{{count}} Datei bereit",
2588
+ files_ready_other: "{{count}} Dateien bereit",
2589
+ "continue": "Weiter zu Druckoptionen"
2583
2590
  };
2584
2591
  const user_menu$1 = {
2585
2592
  theme: "Farbschema",
@@ -2614,6 +2621,7 @@ const printer_selection = {
2614
2621
  loading: "Loading My Printers…",
2615
2622
  print_processing: "Printing…",
2616
2623
  print_success: "Successfully printed.",
2624
+ print_success_sub: "Your document is on its way to the printer.",
2617
2625
  pull_print_success: "Ready to be released.",
2618
2626
  print_failed: "Print failed",
2619
2627
  print_timeout: "This is taking longer than expected. The job may still finish on the printer.",
@@ -2649,8 +2657,9 @@ const printer_selection = {
2649
2657
  select_trays: "Select Tray",
2650
2658
  page_ranges: "Page Ranges",
2651
2659
  paper_ranges: "Paper Ranges",
2652
- files_selected: "{{count}} files selected",
2653
- files: "files"
2660
+ files: "files",
2661
+ file_count_one: "{{count}} file",
2662
+ file_count_other: "{{count}} files"
2654
2663
  };
2655
2664
  const button_actions = {
2656
2665
  login: "Sign In",
@@ -2663,9 +2672,14 @@ const button_actions = {
2663
2672
  const upload = {
2664
2673
  description: "Drop files here into the browser ",
2665
2674
  meta_leading: "or",
2666
- meta_select: "select files",
2667
- meta_trailing: "to print with ezeep Blue.",
2668
- selected_files: "Selected Files:"
2675
+ dropzone_title: "Drop files here",
2676
+ browse: "select from device",
2677
+ file_type_fallback: "FILE",
2678
+ meta_multiple: "— multiple files supported",
2679
+ add_more: "Add",
2680
+ files_ready_one: "{{count}} file ready",
2681
+ files_ready_other: "{{count}} files ready",
2682
+ "continue": "Continue to print options"
2669
2683
  };
2670
2684
  const user_menu = {
2671
2685
  theme: "Color theme",
@@ -3072,7 +3086,7 @@ function sendCodeToParentWindow() {
3072
3086
  }
3073
3087
  }
3074
3088
 
3075
- const ezpAuthCss = () => `:host{--ezp-theme-solid:var(--ezp-accent-cyan-solid);--ezp-theme-translucent:var(--ezp-accent-cyan-translucent);display:block}.auth-actions{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3);-ms-flex-pack:justify;justify-content:space-between;width:100%}.auth-actions ezp-text-button{-ms-flex:1;flex:1;max-width:calc(50% - var(--ezp-spacing-3) / 2)}`;
3089
+ const ezpAuthCss = () => `:host{--ezp-theme-solid:var(--ezp-accent-cyan-solid);--ezp-theme-translucent:var(--ezp-accent-cyan-translucent);display:block}`;
3076
3090
 
3077
3091
  const EzpAuth = class {
3078
3092
  constructor(hostRef) {
@@ -3126,7 +3140,15 @@ const EzpAuth = class {
3126
3140
  this.authCancel.emit();
3127
3141
  }
3128
3142
  listenStatusCancel() {
3129
- this.authCancel.emit();
3143
+ // Cancelling sign-in from the file trigger aborts the whole flow and clears
3144
+ // the selected files (parity with the pre-redesign Cancel button). The button
3145
+ // trigger has no pending selection, so it just closes the auth dialog.
3146
+ if (this.trigger === 'file') {
3147
+ this.userCancel.emit();
3148
+ }
3149
+ else {
3150
+ this.authCancel.emit();
3151
+ }
3130
3152
  }
3131
3153
  connectedCallback() {
3132
3154
  this.unsubscribeLanguage = subscribeToLanguageChange(this);
@@ -3190,12 +3212,23 @@ const EzpAuth = class {
3190
3212
  await this.auth.generateCodeChallenge(authStore.state.codeVerifier);
3191
3213
  this.auth.buildAuthURI();
3192
3214
  }
3193
- if (this.hidelogin && this.trigger === 'button') {
3194
- this.openSignInWindow(this.auth.authURI.toString(), 'ezeep Login');
3215
+ if (this.hidelogin && (this.trigger === 'button' || this.trigger === 'file')) {
3216
+ if (authStore.state.isAuthorized) {
3217
+ // Already signed in: no sign-in popup is needed, so skip straight to the
3218
+ // print options. Mirrors the authorized branch of openSignInWindow
3219
+ // (authURI isn't built when already authorized, so we can't call it here).
3220
+ this.authCancel.emit();
3221
+ this.authSuccess.emit();
3222
+ }
3223
+ else {
3224
+ // Not signed in: trigger sign-in directly so the "Continue to print
3225
+ // options" click leads to sign-in, without an extra confirmation button.
3226
+ this.openSignInWindow(this.auth.authURI.toString(), 'ezeep Login');
3227
+ }
3195
3228
  }
3196
3229
  }
3197
3230
  render() {
3198
- return (index.h(index.Host, { key: 'adde3ddd8f6afddc27c3a5503569b3c0d9eea420' }, this.hidelogin && this.trigger === 'button' ? (index.h("ezp-status", { description: instance.t('login_dialog.action'), processing: true, cancel: true })) : this.hidelogin && this.trigger === 'file' ? (index.h("div", { class: "auth-actions" }, index.h("ezp-text-button", { type: "button", level: "secondary", onClick: () => this.userCancel.emit(), label: instance.t('button_actions.cancel') }), index.h("ezp-text-button", { type: "button", level: "primary", onClick: () => this.openSignInWindow(this.auth.authURI.toString(), 'ezeep Login'), label: instance.t('button_actions.select_printer') }))) : (index.h("ezp-dialog", { heading: instance.t('login_dialog.heading'), description: instance.t('login_dialog.description'), action: instance.t('login_dialog.action'), iconName: "logo", iconSize: "huge", iconFramed: false, instance: "login" }))));
3231
+ return (index.h(index.Host, { key: 'c00096b96d6d21508d1a78d5ae5a7f552516d01f' }, this.hidelogin && (this.trigger === 'button' || this.trigger === 'file') ? (index.h("ezp-status", { description: instance.t('login_dialog.action'), processing: true, cancel: true })) : (index.h("ezp-dialog", { heading: instance.t('login_dialog.heading'), description: instance.t('login_dialog.description'), action: instance.t('login_dialog.action'), iconName: "logo", iconSize: "huge", iconFramed: false, instance: "login" }))));
3199
3232
  }
3200
3233
  };
3201
3234
  EzpAuth.style = ezpAuthCss();
@@ -3407,7 +3440,7 @@ const EzpIconButton = class {
3407
3440
  };
3408
3441
  EzpIconButton.style = ezpIconButtonCss();
3409
3442
 
3410
- const ezpInputCss = () => `:host{-ms-flex-align:center;align-items:center;background:var(--ezp-input-background, var(--ezp-core-surface-tertiary));border-radius:var(--ezp-input-border-radius, 0);-webkit-box-shadow:var(--ezp-input-box-shadow-position-top, 0 -1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-right, 1px 0 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-bottom, 0 1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-left, -1px 0 0 0) var(--ezp-core-outline);box-shadow:var(--ezp-input-box-shadow-position-top, 0 -1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-right, 1px 0 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-bottom, 0 1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-left, -1px 0 0 0) var(--ezp-core-outline);cursor:pointer;display:grid;gap:var(--ezp-spacing-3);grid-template:var(--ezp-input-grid-template, auto/auto auto 1fr);height:30px;padding:0 var(--ezp-spacing-3);position:relative;z-index:var(--ezp-input-z-index, 3)}:host([suffix]){--ezp-input-grid-template:auto / auto auto 1fr auto;--ezp-input-input-padding-right:0}:host(.focused){--ezp-input-icon-color:var(--ezp-theme-solid);--ezp-input-label-color:var(--ezp-theme-solid)}:host(:first-child){--ezp-input-border-radius:3px 3px 0 0}:host(:last-child){--ezp-input-border-radius:0 0 3px 3px}:host(:first-child:last-child){--ezp-input-border-radius:3px}:host(:not(:last-child)){--ezp-input-box-shadow-position-bottom:0 0 0 0}:host(:hover){--ezp-input-background:linear-gradient(0deg, var(--ezp-core-shade-primary) 0%, var(--ezp-core-shade-primary) 100%), var(--ezp-core-surface-tertiary)}#label{color:var(--ezp-input-label-color, var(--ezp-core-foreground-secondary))}#icon{color:var(--ezp-input-icon-color, var(--ezp-core-foreground-secondary))}#input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;background:transparent;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-core-foreground-primary);cursor:inherit;font-family:inherit;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";font-size:14px;-webkit-font-smoothing:antialiased;height:30px;letter-spacing:-0.0062235443em;margin:0;outline:none;padding:0 var(--ezp-input-input-padding-right, var(--ezp-spacing-1)) 0 0;text-align:right;width:100%}#input[type=number]::-webkit-inner-spin-button,#input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}#suffix{color:var(--ezp-core-foreground-tertiary)}`;
3443
+ const ezpInputCss = () => `:host{-ms-flex-align:center;align-items:center;background:transparent;cursor:text;display:grid;gap:var(--ezp-spacing-3);grid-template:var(--ezp-input-grid-template, auto/auto auto 1fr);height:56px;padding:var(--ezp-spacing-2) var(--ezp-spacing-3);position:relative;z-index:var(--ezp-input-z-index, 3)}:host([suffix]){--ezp-input-grid-template:auto / auto auto 1fr auto;--ezp-input-input-padding-right:0}:host(.focused){--ezp-input-label-color:var(--ezp-core-foreground-primary)}#label{color:var(--ezp-input-label-color, var(--ezp-core-foreground-primary))}#icon{--ezp-icon-background:var(--ezp-theme-translucent);--ezp-icon-borderRadius:50%;--ezp-icon-height:40px;--ezp-icon-width:40px;color:var(--ezp-input-icon-color, var(--ezp-theme-solid))}#input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;background:transparent;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-core-foreground-primary);cursor:text;font-family:inherit;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";font-size:14px;font-weight:600;-webkit-font-smoothing:antialiased;height:30px;letter-spacing:-0.0062235443em;margin:0;outline:none;padding:0 var(--ezp-input-input-padding-right, var(--ezp-spacing-1)) 0 0;text-align:right;width:100%}#input::-webkit-input-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input::-moz-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input:-ms-input-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input::-ms-input-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input::placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input[type=number]::-webkit-inner-spin-button,#input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}#suffix{color:var(--ezp-core-foreground-tertiary)}`;
3411
3444
 
3412
3445
  const EzpInput = class {
3413
3446
  constructor(hostRef) {
@@ -38208,7 +38241,7 @@ async function uploadAndPrintFile(ctx, file, hooks = {}) {
38208
38241
  }
38209
38242
  }
38210
38243
 
38211
- const ezpPrinterSelectionCss = () => `:host{-ms-flex-line-pack:var(--ezp-printerSelection-alignContent, center);align-content:var(--ezp-printerSelection-alignContent, center);background:var(--ezp-printerSelection-background, var(--ezp-core-backdrop));display:grid;grid-template:auto/var(--ezp-printerSelection-width, 320px);height:var(--ezp-printerSelection-height, 100vh);-ms-flex-pack:var(--ezp-printerSelection-justifyContent, center);justify-content:var(--ezp-printerSelection-justifyContent, center);left:0;position:var(--ezp-printerSelection-position, fixed);top:0;width:100%;z-index:1}:host(.seamless){--ezp-printerSelection-alignContent:stretch;--ezp-printerSelection-background:transparent;--ezp-printerSelection-body-background:transparent;--ezp-printerSelection-body-padding:0;--ezp-printerSelection-box-background:transparent;--ezp-printerSelection-box-borderRadius:0;--ezp-printerSelection-box-boxShadow:none;--ezp-printerSelection-footer-boxShadowPosition:0 0 0 0;--ezp-printerSelection-footer-padding:var(--ezp-spacing-2) 0;--ezp-printerSelection-header-boxShadowPosition:0 0 0 0;--ezp-printerSelection-header-padding:var(--ezp-spacing-4) 0;--ezp-printerSelection-justifyContent:stretch;--ezp-printerSelection-position:static}#box{background:var(--ezp-printerSelection-box-background, var(--ezp-core-surface-tertiary));border-radius:var(--ezp-printerSelection-box-borderRadius, 6px);-webkit-box-shadow:var(--ezp-printerSelection-box-boxShadow, 0 0 0 1px var(--ezp-black-10));box-shadow:var(--ezp-printerSelection-box-boxShadow, 0 0 0 1px var(--ezp-black-10));padding:var(--ezp-printerSelection-padding, 0);position:relative}#header{border-radius:6px 6px 0 0;-webkit-box-shadow:var(--ezp-printerSelection-header-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);box-shadow:var(--ezp-printerSelection-header-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);color:var(--ezp-core-foreground-primary);display:grid;grid-column-gap:var(--ezp-spacing-2);grid-template-columns:auto 1fr auto;padding:var(--ezp-printerSelection-header-padding, var(--ezp-spacing-4) var(--ezp-spacing-3) var(--ezp-spacing-4) var(--ezp-spacing-4));position:relative;z-index:3}#toggle-menu{margin:calc(var(--ezp-spacing-3) * -1) 0;position:relative;z-index:2}#body{background:var(--ezp-printerSelection-body-background, var(--ezp-core-surface-secondary));-webkit-box-shadow:var(--ezp-printerSelection-body-boxShadow, none);box-shadow:var(--ezp-printerSelection-body-boxShadow, none);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-2);padding:var(--ezp-printerSelection-body-padding, var(--ezp-spacing-2))}#footer{border-radius:0 0 6px 6px;-webkit-box-shadow:var(--ezp-printerSelection-footer-boxShadowPosition, 0 -1px 0 0) var(--ezp-core-outline);box-shadow:var(--ezp-printerSelection-footer-boxShadowPosition, 0 -1px 0 0) var(--ezp-core-outline);display:grid;gap:var(--ezp-spacing-2);grid-template-areas:var(--ezp-printerSelection-footer-areas, "cancel print");grid-template-columns:var(--ezp-printerSelection-footer-columns, repeat(2, 1fr));grid-template-rows:var(--ezp-printerSelection-footer-rows, auto);-ms-flex-pack:center;justify-content:center;justify-items:stretch;padding:var(--ezp-printerSelection-footer-padding, var(--ezp-spacing-2));position:relative;z-index:3}#cancel{grid-area:cancel}#print{grid-area:print}`;
38244
+ const ezpPrinterSelectionCss = () => `:host{--ezp-drucken-gradient:linear-gradient( 135deg, color-mix(in srgb, var(--ezp-theme-solid), white 14%) 0%, color-mix(in srgb, var(--ezp-theme-solid), black 22%) 100% );--ezp-status-border-radius:16px;background:var(--ezp-printerSelection-background, var(--ezp-core-backdrop));-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inset:var(--ezp-printerSelection-inset, 0);overflow-y:auto;padding:var(--ezp-printerSelection-padding, var(--ezp-spacing-5));position:var(--ezp-printerSelection-position, fixed);z-index:1}:host(.seamless){--ezp-printerSelection-background:transparent;--ezp-printerSelection-box-background:transparent;--ezp-printerSelection-box-boxShadow:none;--ezp-printerSelection-box-margin:0;--ezp-printerSelection-box-padding:0;--ezp-printerSelection-inset:auto;--ezp-printerSelection-padding:0;--ezp-printerSelection-position:static;--ezp-printerSelection-width:100%}#box{background:var(--ezp-printerSelection-box-background, var(--ezp-core-surface-tertiary));border-radius:16px;-webkit-box-shadow:var(--ezp-printerSelection-box-boxShadow, 0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop));box-shadow:var(--ezp-printerSelection-box-boxShadow, 0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop));color:var(--ezp-core-foreground-primary);margin:var(--ezp-printerSelection-box-margin, auto);padding:var(--ezp-printerSelection-box-padding, 0);position:relative;width:var(--ezp-printerSelection-width, 384px)}#header{-ms-flex-align:center;align-items:center;border-bottom:1px solid var(--ezp-core-outline);color:var(--ezp-core-foreground-primary);display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3);-ms-flex-pack:justify;justify-content:space-between;padding:var(--ezp-spacing-4);position:relative;z-index:3}#title{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3);min-width:0}#title ezp-label{--ezp-label-fontSize:20px;--ezp-label-lineHeight:26px}#files-badge{background:var(--ezp-theme-translucent);border-radius:999px;color:var(--ezp-theme-solid);font-size:12px;font-weight:600;line-height:1;padding:5px 10px;white-space:nowrap}#header-actions{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-2)}#body{background:var(--ezp-printerSelection-body-background, var(--ezp-core-surface-tertiary));display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-3);padding:var(--ezp-spacing-4)}#files-card{background:var(--ezp-core-surface-secondary);border-radius:12px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-2);padding:var(--ezp-spacing-3) var(--ezp-spacing-4)}.file-row{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3);min-width:0}.file-row ezp-label{--ezp-label-minWidth:0}.file-row-icon{--ezp-icon-size:18px;--ezp-icon-gridTemplate:18px;color:var(--ezp-theme-solid);-ms-flex-negative:0;flex-shrink:0}#printer-card{border-radius:12px;-webkit-box-shadow:inset 0 0 0 1px var(--ezp-core-outline);box-shadow:inset 0 0 0 1px var(--ezp-core-outline);position:relative}#print{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-drucken-gradient);border:0;border-radius:0 0 12px 12px;color:var(--ezp-white-100);cursor:pointer;display:-ms-flexbox;display:flex;font-family:inherit;gap:var(--ezp-spacing-3);-ms-flex-pack:center;justify-content:center;margin:0;outline:none;padding:var(--ezp-spacing-4);-webkit-transition:opacity var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:opacity var(--ezp-duration-2) var(--ezp-easing-out-quart);width:100%}#print ezp-icon{--ezp-icon-size:20px;--ezp-icon-gridTemplate:20px}@media (hover: hover){#print:not(:disabled):hover{opacity:0.9}#print:not(:disabled):active{opacity:0.8}}#print:disabled{background:var(--ezp-core-shade-primary);color:var(--ezp-core-foreground-tertiary);cursor:default}#options{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#footer{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;padding:var(--ezp-spacing-3) var(--ezp-spacing-4) var(--ezp-spacing-4);position:relative;z-index:3}#cancel{--ezp-textButton-background-init:transparent;--ezp-textButton-background-hover:var(--ezp-core-shade-primary);--ezp-textButton-boxShadow:inset 0 0 0 1px var(--ezp-core-outline);--ezp-textButton-borderRadius:999px;--ezp-textButton-color-init:var(--ezp-core-foreground-primary);--ezp-textButton-padding:var(--ezp-spacing-3) var(--ezp-spacing-6)}`;
38212
38245
 
38213
38246
  const EzpPrinterSelection = class {
38214
38247
  constructor(hostRef) {
@@ -38857,7 +38890,7 @@ const EzpPrinterSelection = class {
38857
38890
  return (index.h("ezp-status", { icon: "checkmark-alt", description: this.pullPrintSuccessDescription(), instance: "print-success", close: true }));
38858
38891
  }
38859
38892
  if (this.printSuccess) {
38860
- return (index.h("ezp-status", { icon: this.partialSuccess ? 'exclamation-mark' : 'checkmark-alt', description: this.printSuccessDescription(), instance: "print-success", close: true }));
38893
+ return (index.h("ezp-status", { icon: this.partialSuccess ? 'exclamation-mark' : 'checkmark-alt', description: this.printSuccessDescription(), subtext: this.partialSuccess ? undefined : instance.t('printer_selection.print_success_sub'), instance: "print-success", close: true }));
38861
38894
  }
38862
38895
  if (this.printTimedOut) {
38863
38896
  return (index.h("ezp-status", { icon: "exclamation-mark", description: instance.t('printer_selection.print_timeout'), instance: "print-timeout", close: true, retry: true }));
@@ -38878,11 +38911,13 @@ const EzpPrinterSelection = class {
38878
38911
  }
38879
38912
  render() {
38880
38913
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
38881
- return this.loading ? (index.h("ezp-status", { processing: true, description: instance.t('printer_selection.loading'), instance: "loading" })) : (index.h(index.Host, { class: { seamless: this.seamless } }, index.h("div", { id: "box", "data-backdrop-surface": true }, !this.printStopped && this.renderStatus(), !this.hideheader && (index.h("div", { id: "header" }, index.h("ezp-label", { weight: "heavy", text: instance.t('printer_selection.print') + `${!this.notSupported ? ':' : ''}` }), index.h("ezp-label", { text: !this.notSupported
38882
- ? this.files && this.files.length > 1
38883
- ? instance.t('printer_selection.files_selected', { count: this.files.length })
38884
- : this.filename
38885
- : '', ellipsis: true }), !this.hidemenu && (index.h("ezp-icon-button", { level: "tertiary", icon: "menu", id: "toggle-menu", type: "button", onClick: this.handleUserMenu })))), index.h("div", { id: "body" }, index.h("div", { id: "printer" }, index.h("ezp-select", { label: instance.t('printer_selection.printer'), icon: "printer", placeholder: this.printers.length > 0
38914
+ const fileNames = this.files && this.files.length > 0
38915
+ ? this.files.map((file) => file.name)
38916
+ : this.filename
38917
+ ? [this.filename]
38918
+ : [];
38919
+ const fileCount = fileNames.length;
38920
+ return this.loading ? (index.h("ezp-status", { processing: true, description: instance.t('printer_selection.loading'), instance: "loading" })) : (index.h(index.Host, { class: { seamless: this.seamless } }, index.h("div", { id: "box", "data-backdrop-surface": true }, !this.printStopped && this.renderStatus(), !this.hideheader && (index.h("div", { id: "header" }, index.h("div", { id: "title" }, index.h("ezp-label", { weight: "heavy", text: instance.t('printer_selection.print') }), !this.notSupported && fileCount > 0 && (index.h("span", { id: "files-badge" }, instance.t('printer_selection.file_count', { count: fileCount })))), index.h("div", { id: "header-actions" }, !this.hidemenu && (index.h("ezp-icon-button", { level: "tertiary", icon: "menu", id: "toggle-menu", type: "button", onClick: this.handleUserMenu })), index.h("ezp-icon-button", { level: "tertiary", icon: "close", id: "close", type: "button", onClick: this.handleCancel })))), index.h("div", { id: "body" }, !this.notSupported && fileNames.length > 0 && (index.h("div", { id: "files-card" }, fileNames.map((name, index$1) => (index.h("div", { class: "file-row", key: index$1 }, index.h("ezp-icon", { name: "file", class: "file-row-icon" }), index.h("ezp-label", { ellipsis: true, text: name })))))), index.h("div", { id: "printer-card" }, index.h("ezp-select", { id: "printer", label: instance.t('printer_selection.printer'), icon: "printer", placeholder: this.printers.length > 0
38886
38921
  ? instance.t('printer_selection.select_printer')
38887
38922
  : instance.t('printer_selection.no_printers'), toggleFlow: "vertical", optionFlow: "vertical", options: this.printers.map((printer) => ({
38888
38923
  id: printer.id,
@@ -38890,7 +38925,7 @@ const EzpPrinterSelection = class {
38890
38925
  meta: printer.location !== '' ? printer.location : '',
38891
38926
  type: 'printer',
38892
38927
  is_queue: printer.is_queue,
38893
- })), preSelected: this.selectedPrinter.id ? this.selectedPrinter.name : null, disabled: !(this.printers.length > 0) })), index.h("div", { id: "options" }, index.h("ezp-select", { label: instance.t('printer_selection.color'), icon: "color", placeholder: instance.t('printer_selection.select_color'), toggleFlow: "horizontal", options: (_a = this.ColorOptions) === null || _a === void 0 ? void 0 : _a.map((option) => ({
38928
+ })), preSelected: this.selectedPrinter.id ? this.selectedPrinter.name : null, disabled: !(this.printers.length > 0) }), index.h("button", { id: "print", type: "button", disabled: this.selectedPrinter.id === '' || this.printProcessing || this.pageRangeInvalid, onClick: this.handlePrint, ref: (button) => (this.printButton = button) }, index.h("ezp-icon", { name: "printer" }), index.h("ezp-label", { weight: "heavy", text: instance.t('printer_selection.print') }))), index.h("div", { id: "options" }, index.h("ezp-stepper", { label: instance.t('printer_selection.copies'), icon: "copies" }), index.h("ezp-select", { label: instance.t('printer_selection.color'), icon: "color", placeholder: instance.t('printer_selection.select_color'), toggleFlow: "horizontal", options: (_a = this.ColorOptions) === null || _a === void 0 ? void 0 : _a.map((option) => ({
38894
38929
  id: option.id,
38895
38930
  title: option.title,
38896
38931
  meta: '',
@@ -38943,7 +38978,7 @@ const EzpPrinterSelection = class {
38943
38978
  : undefined, preSelected: this.selectedPrinter.id &&
38944
38979
  ((_v = this.selectedPrinterConfig.Trays) === null || _v === void 0 ? void 0 : _v.find((el) => { var _a; return el.Name.includes((_a = this.selectedPrinterConfig.Default) === null || _a === void 0 ? void 0 : _a.Tray); }))
38945
38980
  ? (_w = this.selectedPrinterConfig.Default) === null || _w === void 0 ? void 0 : _w.Tray
38946
- : null })) : null, index.h("ezp-input", { icon: "paper_range", suffix: "", placeholder: "1-2,4-5,8", value: this.selectedProperties.PageRanges, eventType: "paper_ranges", type: "text", label: instance.t('printer_selection.page_ranges') })), index.h("ezp-stepper", { label: instance.t('printer_selection.copies'), icon: "copies" })), index.h("div", { id: "footer" }, index.h("ezp-text-button", { type: "button", level: "secondary", onClick: this.handleCancel, label: instance.t('button_actions.cancel'), class: "action", id: "cancel" }), index.h("ezp-text-button", { disabled: this.selectedPrinter.id === '' || this.printProcessing || this.pageRangeInvalid, type: "button", onClick: this.handlePrint, label: instance.t('button_actions.print'), ref: (button) => (this.printButton = button), class: "action", id: "print" })), !this.hidemenu && index.h("ezp-user-menu", { open: this.userMenuOpen, name: this.userName }))));
38981
+ : null })) : null, index.h("ezp-input", { icon: "paper_range", suffix: "", placeholder: "1-2,4-5,8", value: this.selectedProperties.PageRanges, eventType: "paper_ranges", type: "text", label: instance.t('printer_selection.page_ranges') }))), index.h("div", { id: "footer" }, index.h("ezp-text-button", { type: "button", level: "secondary", onClick: this.handleCancel, label: instance.t('button_actions.cancel'), class: "action", id: "cancel" })), !this.hidemenu && index.h("ezp-user-menu", { open: this.userMenuOpen, name: this.userName }))));
38947
38982
  }
38948
38983
  };
38949
38984
  EzpPrinterSelection.style = ezpPrinterSelectionCss();
@@ -38955,7 +38990,7 @@ var config = {
38955
38990
  printingApiHostUrl: printingApiHostUrl
38956
38991
  };
38957
38992
 
38958
- const ezpPrintingCss = () => `:host{--ezp-black-5:rgba(0, 0, 0, 0.05);--ezp-black-10:rgba(0, 0, 0, 0.1);--ezp-black-20:rgba(0, 0, 0, 0.2);--ezp-black-30:rgba(0, 0, 0, 0.3);--ezp-black-40:rgba(0, 0, 0, 0.4);--ezp-black-50:rgba(0, 0, 0, 0.5);--ezp-black-60:rgba(0, 0, 0, 0.6);--ezp-black-70:rgba(0, 0, 0, 0.7);--ezp-black-80:rgba(0, 0, 0, 0.8);--ezp-black-90:rgba(0, 0, 0, 0.9);--ezp-black-95:rgba(0, 0, 0, 0.95);--ezp-black-100:rgb(0, 0, 0)}:host{--ezp-white-5:rgba(255, 255, 255, 0.05);--ezp-white-10:rgba(255, 255, 255, 0.1);--ezp-white-20:rgba(255, 255, 255, 0.2);--ezp-white-30:rgba(255, 255, 255, 0.3);--ezp-white-40:rgba(255, 255, 255, 0.4);--ezp-white-50:rgba(255, 255, 255, 0.5);--ezp-white-60:rgba(255, 255, 255, 0.6);--ezp-white-70:rgba(255, 255, 255, 0.7);--ezp-white-80:rgba(255, 255, 255, 0.8);--ezp-white-90:rgba(255, 255, 255, 0.9);--ezp-white-95:rgba(255, 255, 255, 0.95);--ezp-white-100:rgb(255, 255, 255)}:host{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Inter", sans-serif;-webkit-font-feature-settings:"calt", "liga", "ss03", "zero", "cv05", "cv10";font-feature-settings:"calt", "liga", "ss03", "zero", "cv05", "cv10";-webkit-font-kerning:normal;font-kerning:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;-webkit-tap-highlight-color:transparent;text-rendering:optimizeLegibility;-webkit-text-size-adjust:none;--ezp-duration-1:0.1s;--ezp-duration-2:0.16s;--ezp-duration-3:0.26s;--ezp-duration-4:0.42s;--ezp-duration-5:0.68s;--ezp-duration-6:1s;--ezp-spacing-1:4px;--ezp-spacing-2:6px;--ezp-spacing-3:10px;--ezp-spacing-4:16px;--ezp-spacing-5:26px;--ezp-spacing-6:42px;--ezp-spacing-7:68px;--ezp-spacing-8:110px;--ezp-easing-in-quart:cubic-bezier(0.11, 0, 0.5, 0);--ezp-easing-in-out-quart:cubic-bezier(0.76, 0, 0.24, 1);--ezp-easing-in-out-cubic:cubic-bezier(0.65, 0, 0.35, 1);--ezp-easing-in-expo:cubic-bezier(0.7, 0, 0.84, 0);--ezp-easing-out-quart:cubic-bezier(0.25, 1, 0.5, 1);--ezp-easing-out-expo:cubic-bezier(0.16, 1, 0.3, 1)}:host([fit-parent]){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-height:100%;min-height:0}:host([fit-parent]) ezp-upload{-ms-flex:1 1 auto;flex:1 1 auto;min-height:0}:host([fit-parent]) ezp-auth{-ms-flex-negative:0;flex-shrink:0}:host(.light){--ezp-accent-pink-solid:rgb(242, 50, 103);--ezp-accent-pink-solid-alt:rgb(223, 21, 89);--ezp-accent-pink-translucent:rgba(242, 50, 103, 0.16);--ezp-accent-pink-faded:rgba(242, 50, 103, 0.1);--ezp-accent-red-solid:rgb(242, 59, 34);--ezp-accent-red-solid-alt:rgb(222, 35, 19);--ezp-accent-red-translucent:rgba(242, 59, 34, 0.16);--ezp-accent-red-faded:rgba(242, 59, 34, 0.1);--ezp-accent-orange-solid:rgb(254, 114, 0);--ezp-accent-orange-solid-alt:rgb(245, 98, 0);--ezp-accent-orange-translucent:rgba(254, 114, 0, 0.16);--ezp-accent-orange-faded:rgba(254, 114, 0, 0.1);--ezp-accent-yellow-solid:rgb(255, 162, 0);--ezp-accent-yellow-solid-alt:rgb(254, 144, 0);--ezp-accent-yellow-translucent:rgba(255, 162, 0, 0.16);--ezp-accent-yellow-faded:rgba(255, 162, 0, 0.1);--ezp-accent-green-solid:rgb(93, 146, 0);--ezp-accent-green-solid-alt:rgb(81, 129, 0);--ezp-accent-green-translucent:rgba(93, 146, 0, 0.16);--ezp-accent-green-faded:rgba(93, 146, 0, 0.1);--ezp-accent-teal-solid:rgb(0, 150, 124);--ezp-accent-teal-solid-alt:rgb(0, 132, 110);--ezp-accent-teal-translucent:rgba(0, 150, 124, 0.16);--ezp-accent-teal-faded:rgba(0, 150, 124, 0.1);--ezp-accent-cyan-solid:rgb(0, 145, 180);--ezp-accent-cyan-solid-alt:rgb(0, 128, 160);--ezp-accent-cyan-translucent:rgba(0, 145, 180, 0.16);--ezp-accent-cyan-faded:rgba(0, 145, 180, 0.1);--ezp-accent-blue-solid:rgb(80, 129, 241);--ezp-accent-blue-solid-alt:rgb(59, 114, 223);--ezp-accent-blue-translucent:rgba(80, 129, 241, 0.16);--ezp-accent-blue-faded:rgba(80, 129, 241, 0.1);--ezp-accent-dark-blue-solid:rgb(0, 47, 109);--ezp-accent-dark-blue-solid-alt:rgb(0, 35, 84);--ezp-accent-dark-blue-translucent:rgba(0, 47, 109, 0.16);--ezp-accent-dark-blue-faded:rgba(0, 47, 109, 0.1);--ezp-accent-violet-solid:rgb(174, 94, 243);--ezp-accent-violet-solid-alt:rgb(157, 78, 226);--ezp-accent-violet-translucent:rgba(174, 94, 243, 0.16);--ezp-accent-violet-faded:rgba(174, 94, 243, 0.1)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.light){--ezp-accent-pink-solid:color(display-p3 0.949 0.196 0.404 / 100%);--ezp-accent-pink-solid-alt:color(display-p3 0.875 0.082 0.349 / 100%);--ezp-accent-pink-translucent:color(display-p3 0.949 0.196 0.404 / 16%);--ezp-accent-pink-faded:color(display-p3 0.949 0.196 0.404 / 10%);--ezp-accent-red-solid:color(display-p3 0.949 0.231 0.133 / 100%);--ezp-accent-red-solid-alt:color(display-p3 0.871 0.137 0.075 / 100%);--ezp-accent-red-translucent:color(display-p3 0.949 0.231 0.133 / 16%);--ezp-accent-red-faded:color(display-p3 0.949 0.231 0.133 / 10%);--ezp-accent-orange-solid:color(display-p3 0.996 0.447 0 / 100%);--ezp-accent-orange-solid-alt:color(display-p3 0.961 0.384 0 / 100%);--ezp-accent-orange-translucent:color(display-p3 0.996 0.447 0 / 16%);--ezp-accent-orange-faded:color(display-p3 0.996 0.447 0 / 10%);--ezp-accent-yellow-solid:color(display-p3 1 0.635 0 / 100%);--ezp-accent-yellow-solid-alt:color(display-p3 0.996 0.565 0 / 100%);--ezp-accent-yellow-translucent:color(display-p3 1 0.635 0 / 16%);--ezp-accent-yellow-faded:color(display-p3 1 0.635 0 / 10%);--ezp-accent-green-solid:color(display-p3 0.365 0.573 0 / 100%);--ezp-accent-green-solid-alt:color(display-p3 0.318 0.506 0 / 100%);--ezp-accent-green-translucent:color(display-p3 0.365 0.573 0 / 16%);--ezp-accent-green-faded:color(display-p3 0.365 0.573 0 / 10%);--ezp-accent-teal-solid:color(display-p3 0 0.588 0.486 / 100%);--ezp-accent-teal-solid-alt:color(display-p3 0 0.518 0.431 / 100%);--ezp-accent-teal-translucent:color(display-p3 0 0.588 0.486 / 16%);--ezp-accent-teal-faded:color(display-p3 0 0.588 0.486 / 10%);--ezp-accent-cyan-solid:color(display-p3 0 0.569 0.706 / 100%);--ezp-accent-cyan-solid-alt:color(display-p3 0 0.502 0.627 / 100%);--ezp-accent-cyan-translucent:color(display-p3 0 0.569 0.706 / 16%);--ezp-accent-cyan-faded:color(display-p3 0 0.569 0.706 / 10%);--ezp-accent-blue-solid:color(display-p3 0.314 0.506 0.945 / 100%);--ezp-accent-blue-solid-alt:color(display-p3 0.231 0.447 0.875 / 100%);--ezp-accent-blue-translucent:color(display-p3 0.314 0.506 0.945 / 16%);--ezp-accent-blue-faded:color(display-p3 0.314 0.506 0.945 / 10%);--ezp-accent-dark-blue-solid:color(display-p3 0 0.184 0.427 / 100%);--ezp-accent-dark-blue-solid-alt:color(display-p3 0 0.137 0.329 / 100%);--ezp-accent-dark-blue-translucent:color(display-p3 0 0.184 0.427 / 16%);--ezp-accent-dark-blue-faded:color(display-p3 0 0.184 0.427 / 10%);--ezp-accent-violet-solid:color(display-p3 0.682 0.369 0.953 / 100%);--ezp-accent-violet-solid-alt:color(display-p3 0.616 0.306 0.886 / 100%);--ezp-accent-violet-translucent:color(display-p3 0.682 0.369 0.953 / 16%);--ezp-accent-violet-faded:color(display-p3 0.682 0.369 0.953 / 10%)}}}:host(.light){--ezp-core-surface-primary:rgb(255, 255, 255);--ezp-core-surface-secondary:rgb(243, 243, 243);--ezp-core-surface-secondary-alt:rgb(249, 249, 249);--ezp-core-surface-tertiary:rgb(255, 255, 255);--ezp-core-foreground-primary:rgba(0, 0, 0, 0.94);--ezp-core-foreground-secondary:rgba(62, 62, 62, 0.68);--ezp-core-foreground-tertiary:rgba(62, 62, 62, 0.42);--ezp-core-shade-primary:rgba(139, 139, 139, 0.1);--ezp-core-shade-secondary:rgba(139, 139, 139, 0.16);--ezp-core-shade-tertiary:rgba(139, 139, 139, 0.22);--ezp-core-outline:rgba(99, 99, 99, 0.16);--ezp-core-edge:rgba(0, 0, 0, 0.1);--ezp-core-backdrop:rgba(0, 0, 0, 0.26)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.light){--ezp-core-surface-primary:color(display-p3 1 1 1 / 100%);--ezp-core-surface-secondary:color(display-p3 0.953 0.953 0.953 / 100%);--ezp-core-surface-secondary-alt:color(display-p3 0.976 0.976 0.976 / 100%);--ezp-core-surface-tertiary:color(display-p3 1 1 1 / 100%);--ezp-core-foreground-primary:color(display-p3 0 0 0 / 94%);--ezp-core-foreground-secondary:color(display-p3 0.243 0.243 0.243 / 68%);--ezp-core-foreground-tertiary:color(display-p3 0.243 0.243 0.243 / 42%);--ezp-core-shade-primary:color(display-p3 0.545 0.545 0.545 / 10%);--ezp-core-shade-secondary:color(display-p3 0.545 0.545 0.545 / 16%);--ezp-core-shade-tertiary:color(display-p3 0.545 0.545 0.545 / 22%);--ezp-core-outline:color(display-p3 0.388 0.388 0.388 / 16%);--ezp-core-edge:color(display-p3 0 0 0 / 10%);--ezp-core-backdrop:color(display-p3 0 0 0 / 26%)}}}:host(.dark){--ezp-dialog-box-boxShadow:inset 0 0 0 1px var(--ezp-core-outline), 0 0 0 1px var(--ezp-black-60);--ezp-printerSelection-body-boxShadow:inset 1px 0 0 0 var(--ezp-core-outline), inset -1px 0 0 0 var(--ezp-core-outline);--ezp-printerSelection-box-boxShadow:0 0 0 1px var(--ezp-black-60);--ezp-printerSelection-footer-boxShadowPosition:inset 0 0 0 1px;--ezp-printerSelection-header-boxShadowPosition:inset 0 0 0 1px;--ezp-select-wrap-boxShadowPositionBottom:inset 0 -1px 0 0;--ezp-select-wrap-boxShadowPositionLeft:inset 1px 0 0 0;--ezp-select-wrap-boxShadowPositionRight:inset -1px 0 0 0;--ezp-select-wrap-boxShadowPositionTop:inset 0 1px 0 0;--ezp-status-box-boxShadow:inset 0 0 0 1px var(--ezp-core-outline), 0 0 0 1px var(--ezp-black-60);--ezp-stepper-boxShadowPosition:inset 0 0 0 1px;--ezp-userMenu-boxShadow:inset 0 0 0 1px var(--ezp-core-outline), 0 0 0 1px var(--ezp-black-60);--ezp-userMenu-header-boxShadowPosition:inset 0 -1px 0 0;--ezp-userMenu-links-boxShadowPosition:inset 0 -1px 0 0;--ezp-userMenu-theme-boxShadowPosition:inset 0 -1px 0 0;--ezp-input-box-shadow-position-top:inset 0 1px 0 0;--ezp-input-box-shadow-position-right:inset -1px 0 0 0;--ezp-input-box-shadow-position-bottom:inset 0 -1px 0 0;--ezp-input-box-shadow-position-left:inset 1px 0 0 0;--ezp-accent-pink-solid:rgb(255, 65, 113);--ezp-accent-pink-translucent:rgba(255, 65, 113, 0.26);--ezp-accent-pink-faded:rgba(255, 65, 113, 0.16);--ezp-accent-red-solid:rgb(255, 72, 44);--ezp-accent-red-translucent:rgba(255, 72, 44, 0.26);--ezp-accent-red-faded:rgba(255, 72, 44, 0.16);--ezp-accent-orange-solid:rgb(255, 129, 28);--ezp-accent-orange-translucent:rgba(255, 129, 28, 0.26);--ezp-accent-orange-faded:rgba(255, 129, 28, 0.16);--ezp-accent-yellow-solid:rgb(255, 175, 58);--ezp-accent-yellow-translucent:rgba(255, 175, 58, 0.26);--ezp-accent-yellow-faded:rgba(255, 175, 58, 0.16);--ezp-accent-green-solid:rgb(103, 156, 21);--ezp-accent-green-translucent:rgba(103, 156, 21, 0.26);--ezp-accent-green-faded:rgba(103, 156, 21, 0.16);--ezp-accent-teal-solid:rgb(29, 160, 134);--ezp-accent-teal-translucent:rgba(29, 160, 134, 0.26);--ezp-accent-teal-faded:rgba(29, 160, 134, 0.16);--ezp-accent-cyan-solid:rgb(32, 155, 191);--ezp-accent-cyan-translucent:rgba(32, 155, 191, 0.26);--ezp-accent-cyan-faded:rgba(32, 155, 191, 0.16);--ezp-accent-blue-solid:rgb(93, 139, 253);--ezp-accent-blue-translucent:rgba(93, 139, 253, 0.26);--ezp-accent-blue-faded:rgba(93, 139, 253, 0.16);--ezp-accent-dark-blue-solid:rgb(20, 56, 119);--ezp-accent-dark-blue-translucent:rgba(20, 56, 119, 0.26);--ezp-accent-dark-blue-faded:rgba(20, 56, 119, 0.16);--ezp-accent-violet-solid:rgb(186, 105, 255);--ezp-accent-violet-translucent:rgba(186, 105, 255, 0.26);--ezp-accent-violet-faded:rgba(186, 105, 255, 0.16)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.dark){--ezp-accent-pink-solid:color(display-p3 1 0.255 0.443 / 100%);--ezp-accent-pink-translucent:color(display-p3 1 0.255 0.443 / 26%);--ezp-accent-pink-faded:color(display-p3 1 0.255 0.443 / 16%);--ezp-accent-red-solid:color(display-p3 1 0.282 0.173 / 100%);--ezp-accent-red-translucent:color(display-p3 1 0.282 0.173 / 26%);--ezp-accent-red-faded:color(display-p3 1 0.282 0.173 / 16%);--ezp-accent-orange-solid:color(display-p3 1 0.506 0.11 / 100%);--ezp-accent-orange-translucent:color(display-p3 1 0.506 0.11 / 26%);--ezp-accent-orange-faded:color(display-p3 1 0.506 0.11 / 16%);--ezp-accent-yellow-solid:color(display-p3 1 0.686 0.227 / 100%);--ezp-accent-yellow-translucent:color(display-p3 1 0.686 0.227 / 26%);--ezp-accent-yellow-faded:color(display-p3 1 0.686 0.227 / 16%);--ezp-accent-green-solid:color(display-p3 0.404 0.612 0.082 / 100%);--ezp-accent-green-translucent:color(display-p3 0.404 0.612 0.082 / 26%);--ezp-accent-green-faded:color(display-p3 0.404 0.612 0.082 / 16%);--ezp-accent-teal-solid:color(display-p3 0.114 0.627 0.525 / 100%);--ezp-accent-teal-translucent:color(display-p3 0.114 0.627 0.525 / 26%);--ezp-accent-teal-faded:color(display-p3 0.114 0.627 0.525 / 16%);--ezp-accent-cyan-solid:color(display-p3 0.125 0.608 0.749 / 100%);--ezp-accent-cyan-translucent:color(display-p3 0.125 0.608 0.749 / 26%);--ezp-accent-cyan-faded:color(display-p3 0.125 0.608 0.749 / 16%);--ezp-accent-blue-solid:color(display-p3 0.365 0.545 0.992 / 100%);--ezp-accent-blue-translucent:color(display-p3 0.365 0.545 0.992 / 26%);--ezp-accent-blue-faded:color(display-p3 0.365 0.545 0.992 / 16%);--ezp-accent-dark-blue-solid:color(display-p3 0.078 0.22 0.467 / 100%);--ezp-accent-dark-blue-translucent:color(display-p3 0.078 0.22 0.467 / 26%);--ezp-accent-dark-blue-faded:color(display-p3 0.078 0.22 0.467 / 16%);--ezp-accent-violet-solid:color(display-p3 0.729 0.412 1 / 100%);--ezp-accent-violet-translucent:color(display-p3 0.729 0.412 1 / 26%);--ezp-accent-violet-faded:color(display-p3 0.729 0.412 1 / 16%)}}}:host(.dark){--ezp-core-surface-primary:rgb(0, 0, 0);--ezp-core-surface-secondary:rgb(27, 27, 27);--ezp-core-surface-secondary-alt:rgb(19, 19, 19);--ezp-core-surface-tertiary:rgb(40, 40, 40);--ezp-core-foreground-primary:rgba(255, 255, 255, 0.94);--ezp-core-foreground-secondary:rgba(182, 182, 182, 0.68);--ezp-core-foreground-tertiary:rgba(182, 182, 182, 0.42);--ezp-core-shade-primary:rgba(99, 99, 99, 0.26);--ezp-core-shade-secondary:rgba(99, 99, 99, 0.32);--ezp-core-shade-tertiary:rgba(99, 99, 99, 0.38);--ezp-core-outline:rgba(139, 139, 139, 0.26);--ezp-core-edge:rgba(255, 255, 255, 0.16);--ezp-core-backdrop:rgba(0, 0, 0, 0.68)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.dark){--ezp-core-surface-primary:color(display-p3 0 0 0 / 100%);--ezp-core-surface-secondary:color(display-p3 0.106 0.106 0.106 / 100%);--ezp-core-surface-secondary-alt:color(display-p3 0.075 0.075 0.075 / 100%);--ezp-core-surface-tertiary:color(display-p3 0.157 0.157 0.157 / 100%);--ezp-core-foreground-primary:color(display-p3 1 1 1 / 94%);--ezp-core-foreground-secondary:color(display-p3 0.714 0.714 0.714 / 68%);--ezp-core-foreground-tertiary:color(display-p3 0.714 0.714 0.714 / 42%);--ezp-core-shade-primary:color(display-p3 0.388 0.388 0.388 / 26%);--ezp-core-shade-secondary:color(display-p3 0.388 0.388 0.388 / 32%);--ezp-core-shade-tertiary:color(display-p3 0.388 0.388 0.388 / 38%);--ezp-core-outline:color(display-p3 0.545 0.545 0.545 / 26%);--ezp-core-edge:color(display-p3 1 1 1 / 16%);--ezp-core-backdrop:color(display-p3 0 0 0 / 68%)}}}:host(.seamless){--ezp-status-border-radius:0;--ezp-backdrop-border-radius:0}:host(.blue){--ezp-theme-solid:var(--ezp-accent-blue-solid);--ezp-theme-translucent:var(--ezp-accent-blue-translucent)}:host(.cyan){--ezp-theme-solid:var(--ezp-accent-cyan-solid);--ezp-theme-translucent:var(--ezp-accent-cyan-translucent)}:host(.green){--ezp-theme-solid:var(--ezp-accent-green-solid);--ezp-theme-translucent:var(--ezp-accent-green-translucent)}:host(.teal){--ezp-theme-solid:var(--ezp-accent-teal-solid);--ezp-theme-translucent:var(--ezp-accent-teal-translucent)}:host(.orange){--ezp-theme-solid:var(--ezp-accent-orange-solid);--ezp-theme-translucent:var(--ezp-accent-orange-translucent)}:host(.pink){--ezp-theme-solid:var(--ezp-accent-pink-solid);--ezp-theme-translucent:var(--ezp-accent-pink-translucent)}:host(.red){--ezp-theme-solid:var(--ezp-accent-red-solid);--ezp-theme-translucent:var(--ezp-accent-red-translucent)}:host(.violet){--ezp-theme-solid:var(--ezp-accent-violet-solid);--ezp-theme-translucent:var(--ezp-accent-violet-translucent)}`;
38993
+ const ezpPrintingCss = () => `:host{--ezp-black-5:rgba(0, 0, 0, 0.05);--ezp-black-10:rgba(0, 0, 0, 0.1);--ezp-black-20:rgba(0, 0, 0, 0.2);--ezp-black-30:rgba(0, 0, 0, 0.3);--ezp-black-40:rgba(0, 0, 0, 0.4);--ezp-black-50:rgba(0, 0, 0, 0.5);--ezp-black-60:rgba(0, 0, 0, 0.6);--ezp-black-70:rgba(0, 0, 0, 0.7);--ezp-black-80:rgba(0, 0, 0, 0.8);--ezp-black-90:rgba(0, 0, 0, 0.9);--ezp-black-95:rgba(0, 0, 0, 0.95);--ezp-black-100:rgb(0, 0, 0)}:host{--ezp-white-5:rgba(255, 255, 255, 0.05);--ezp-white-10:rgba(255, 255, 255, 0.1);--ezp-white-20:rgba(255, 255, 255, 0.2);--ezp-white-30:rgba(255, 255, 255, 0.3);--ezp-white-40:rgba(255, 255, 255, 0.4);--ezp-white-50:rgba(255, 255, 255, 0.5);--ezp-white-60:rgba(255, 255, 255, 0.6);--ezp-white-70:rgba(255, 255, 255, 0.7);--ezp-white-80:rgba(255, 255, 255, 0.8);--ezp-white-90:rgba(255, 255, 255, 0.9);--ezp-white-95:rgba(255, 255, 255, 0.95);--ezp-white-100:rgb(255, 255, 255)}:host{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Inter", sans-serif;-webkit-font-feature-settings:"calt", "liga", "ss03", "zero", "cv05", "cv10";font-feature-settings:"calt", "liga", "ss03", "zero", "cv05", "cv10";-webkit-font-kerning:normal;font-kerning:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;-webkit-tap-highlight-color:transparent;text-rendering:optimizeLegibility;-webkit-text-size-adjust:none;--ezp-duration-1:0.1s;--ezp-duration-2:0.16s;--ezp-duration-3:0.26s;--ezp-duration-4:0.42s;--ezp-duration-5:0.68s;--ezp-duration-6:1s;--ezp-spacing-1:4px;--ezp-spacing-2:6px;--ezp-spacing-3:10px;--ezp-spacing-4:16px;--ezp-spacing-5:26px;--ezp-spacing-6:42px;--ezp-spacing-7:68px;--ezp-spacing-8:110px;--ezp-easing-in-quart:cubic-bezier(0.11, 0, 0.5, 0);--ezp-easing-in-out-quart:cubic-bezier(0.76, 0, 0.24, 1);--ezp-easing-in-out-cubic:cubic-bezier(0.65, 0, 0.35, 1);--ezp-easing-in-expo:cubic-bezier(0.7, 0, 0.84, 0);--ezp-easing-out-quart:cubic-bezier(0.25, 1, 0.5, 1);--ezp-easing-out-expo:cubic-bezier(0.16, 1, 0.3, 1)}:host([fit-parent]){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-height:100%;min-height:0}:host([fit-parent]) ezp-upload{-ms-flex:1 1 auto;flex:1 1 auto;min-height:0}:host([fit-parent]) ezp-auth{-ms-flex-negative:0;flex-shrink:0}:host(.light){--ezp-accent-pink-solid:rgb(242, 50, 103);--ezp-accent-pink-solid-alt:rgb(223, 21, 89);--ezp-accent-pink-translucent:rgba(242, 50, 103, 0.16);--ezp-accent-pink-faded:rgba(242, 50, 103, 0.1);--ezp-accent-red-solid:rgb(242, 59, 34);--ezp-accent-red-solid-alt:rgb(222, 35, 19);--ezp-accent-red-translucent:rgba(242, 59, 34, 0.16);--ezp-accent-red-faded:rgba(242, 59, 34, 0.1);--ezp-accent-orange-solid:rgb(254, 114, 0);--ezp-accent-orange-solid-alt:rgb(245, 98, 0);--ezp-accent-orange-translucent:rgba(254, 114, 0, 0.16);--ezp-accent-orange-faded:rgba(254, 114, 0, 0.1);--ezp-accent-yellow-solid:rgb(255, 162, 0);--ezp-accent-yellow-solid-alt:rgb(254, 144, 0);--ezp-accent-yellow-translucent:rgba(255, 162, 0, 0.16);--ezp-accent-yellow-faded:rgba(255, 162, 0, 0.1);--ezp-accent-green-solid:rgb(93, 146, 0);--ezp-accent-green-solid-alt:rgb(81, 129, 0);--ezp-accent-green-translucent:rgba(93, 146, 0, 0.16);--ezp-accent-green-faded:rgba(93, 146, 0, 0.1);--ezp-accent-teal-solid:rgb(0, 150, 124);--ezp-accent-teal-solid-alt:rgb(0, 132, 110);--ezp-accent-teal-translucent:rgba(0, 150, 124, 0.16);--ezp-accent-teal-faded:rgba(0, 150, 124, 0.1);--ezp-accent-cyan-solid:rgb(0, 143, 178);--ezp-accent-cyan-solid-alt:rgb(0, 126, 158);--ezp-accent-cyan-translucent:rgba(0, 143, 178, 0.1);--ezp-accent-cyan-faded:rgba(0, 143, 178, 0.1);--ezp-accent-blue-solid:rgb(80, 129, 241);--ezp-accent-blue-solid-alt:rgb(59, 114, 223);--ezp-accent-blue-translucent:rgba(80, 129, 241, 0.16);--ezp-accent-blue-faded:rgba(80, 129, 241, 0.1);--ezp-accent-dark-blue-solid:rgb(0, 47, 109);--ezp-accent-dark-blue-solid-alt:rgb(0, 35, 84);--ezp-accent-dark-blue-translucent:rgba(0, 47, 109, 0.16);--ezp-accent-dark-blue-faded:rgba(0, 47, 109, 0.1);--ezp-accent-violet-solid:rgb(174, 94, 243);--ezp-accent-violet-solid-alt:rgb(157, 78, 226);--ezp-accent-violet-translucent:rgba(174, 94, 243, 0.16);--ezp-accent-violet-faded:rgba(174, 94, 243, 0.1)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.light){--ezp-accent-pink-solid:color(display-p3 0.949 0.196 0.404 / 100%);--ezp-accent-pink-solid-alt:color(display-p3 0.875 0.082 0.349 / 100%);--ezp-accent-pink-translucent:color(display-p3 0.949 0.196 0.404 / 16%);--ezp-accent-pink-faded:color(display-p3 0.949 0.196 0.404 / 10%);--ezp-accent-red-solid:color(display-p3 0.949 0.231 0.133 / 100%);--ezp-accent-red-solid-alt:color(display-p3 0.871 0.137 0.075 / 100%);--ezp-accent-red-translucent:color(display-p3 0.949 0.231 0.133 / 16%);--ezp-accent-red-faded:color(display-p3 0.949 0.231 0.133 / 10%);--ezp-accent-orange-solid:color(display-p3 0.996 0.447 0 / 100%);--ezp-accent-orange-solid-alt:color(display-p3 0.961 0.384 0 / 100%);--ezp-accent-orange-translucent:color(display-p3 0.996 0.447 0 / 16%);--ezp-accent-orange-faded:color(display-p3 0.996 0.447 0 / 10%);--ezp-accent-yellow-solid:color(display-p3 1 0.635 0 / 100%);--ezp-accent-yellow-solid-alt:color(display-p3 0.996 0.565 0 / 100%);--ezp-accent-yellow-translucent:color(display-p3 1 0.635 0 / 16%);--ezp-accent-yellow-faded:color(display-p3 1 0.635 0 / 10%);--ezp-accent-green-solid:color(display-p3 0.365 0.573 0 / 100%);--ezp-accent-green-solid-alt:color(display-p3 0.318 0.506 0 / 100%);--ezp-accent-green-translucent:color(display-p3 0.365 0.573 0 / 16%);--ezp-accent-green-faded:color(display-p3 0.365 0.573 0 / 10%);--ezp-accent-teal-solid:color(display-p3 0 0.588 0.486 / 100%);--ezp-accent-teal-solid-alt:color(display-p3 0 0.518 0.431 / 100%);--ezp-accent-teal-translucent:color(display-p3 0 0.588 0.486 / 16%);--ezp-accent-teal-faded:color(display-p3 0 0.588 0.486 / 10%);--ezp-accent-cyan-solid:color(display-p3 0 0.561 0.698 / 100%);--ezp-accent-cyan-solid-alt:color(display-p3 0 0.494 0.62 / 100%);--ezp-accent-cyan-translucent:color(display-p3 0 0.561 0.698 / 10%);--ezp-accent-cyan-faded:color(display-p3 0 0.561 0.698 / 10%);--ezp-accent-blue-solid:color(display-p3 0.314 0.506 0.945 / 100%);--ezp-accent-blue-solid-alt:color(display-p3 0.231 0.447 0.875 / 100%);--ezp-accent-blue-translucent:color(display-p3 0.314 0.506 0.945 / 16%);--ezp-accent-blue-faded:color(display-p3 0.314 0.506 0.945 / 10%);--ezp-accent-dark-blue-solid:color(display-p3 0 0.184 0.427 / 100%);--ezp-accent-dark-blue-solid-alt:color(display-p3 0 0.137 0.329 / 100%);--ezp-accent-dark-blue-translucent:color(display-p3 0 0.184 0.427 / 16%);--ezp-accent-dark-blue-faded:color(display-p3 0 0.184 0.427 / 10%);--ezp-accent-violet-solid:color(display-p3 0.682 0.369 0.953 / 100%);--ezp-accent-violet-solid-alt:color(display-p3 0.616 0.306 0.886 / 100%);--ezp-accent-violet-translucent:color(display-p3 0.682 0.369 0.953 / 16%);--ezp-accent-violet-faded:color(display-p3 0.682 0.369 0.953 / 10%)}}}:host(.light){--ezp-core-surface-primary:rgb(255, 255, 255);--ezp-core-surface-secondary:rgb(243, 243, 243);--ezp-core-surface-secondary-alt:rgb(249, 249, 249);--ezp-core-surface-tertiary:rgb(255, 255, 255);--ezp-core-foreground-primary:rgba(0, 0, 0, 0.94);--ezp-core-foreground-secondary:rgba(62, 62, 62, 0.68);--ezp-core-foreground-tertiary:rgba(62, 62, 62, 0.42);--ezp-core-shade-primary:rgba(139, 139, 139, 0.1);--ezp-core-shade-secondary:rgba(139, 139, 139, 0.16);--ezp-core-shade-tertiary:rgba(139, 139, 139, 0.22);--ezp-core-outline:rgba(99, 99, 99, 0.16);--ezp-core-edge:rgba(0, 0, 0, 0.1);--ezp-core-backdrop:rgba(0, 0, 0, 0.26)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.light){--ezp-core-surface-primary:color(display-p3 1 1 1 / 100%);--ezp-core-surface-secondary:color(display-p3 0.953 0.953 0.953 / 100%);--ezp-core-surface-secondary-alt:color(display-p3 0.976 0.976 0.976 / 100%);--ezp-core-surface-tertiary:color(display-p3 1 1 1 / 100%);--ezp-core-foreground-primary:color(display-p3 0 0 0 / 94%);--ezp-core-foreground-secondary:color(display-p3 0.243 0.243 0.243 / 68%);--ezp-core-foreground-tertiary:color(display-p3 0.243 0.243 0.243 / 42%);--ezp-core-shade-primary:color(display-p3 0.545 0.545 0.545 / 10%);--ezp-core-shade-secondary:color(display-p3 0.545 0.545 0.545 / 16%);--ezp-core-shade-tertiary:color(display-p3 0.545 0.545 0.545 / 22%);--ezp-core-outline:color(display-p3 0.388 0.388 0.388 / 16%);--ezp-core-edge:color(display-p3 0 0 0 / 10%);--ezp-core-backdrop:color(display-p3 0 0 0 / 26%)}}}:host(.dark){--ezp-dialog-box-boxShadow:inset 0 0 0 1px var(--ezp-core-outline), 0 0 0 1px var(--ezp-black-60);--ezp-printerSelection-body-boxShadow:inset 1px 0 0 0 var(--ezp-core-outline), inset -1px 0 0 0 var(--ezp-core-outline);--ezp-printerSelection-box-boxShadow:0 0 0 1px var(--ezp-black-60);--ezp-printerSelection-footer-boxShadowPosition:inset 0 0 0 1px;--ezp-printerSelection-header-boxShadowPosition:inset 0 0 0 1px;--ezp-select-wrap-boxShadowPositionBottom:inset 0 -1px 0 0;--ezp-select-wrap-boxShadowPositionLeft:inset 1px 0 0 0;--ezp-select-wrap-boxShadowPositionRight:inset -1px 0 0 0;--ezp-select-wrap-boxShadowPositionTop:inset 0 1px 0 0;--ezp-status-box-boxShadow:inset 0 0 0 1px var(--ezp-core-outline), 0 0 0 1px var(--ezp-black-60);--ezp-stepper-boxShadowPosition:inset 0 0 0 1px;--ezp-userMenu-boxShadow:inset 0 0 0 1px var(--ezp-core-outline), 0 0 0 1px var(--ezp-black-60);--ezp-userMenu-header-boxShadowPosition:inset 0 -1px 0 0;--ezp-userMenu-links-boxShadowPosition:inset 0 -1px 0 0;--ezp-userMenu-theme-boxShadowPosition:inset 0 -1px 0 0;--ezp-input-box-shadow-position-top:inset 0 1px 0 0;--ezp-input-box-shadow-position-right:inset -1px 0 0 0;--ezp-input-box-shadow-position-bottom:inset 0 -1px 0 0;--ezp-input-box-shadow-position-left:inset 1px 0 0 0;--ezp-accent-pink-solid:rgb(255, 65, 113);--ezp-accent-pink-translucent:rgba(255, 65, 113, 0.26);--ezp-accent-pink-faded:rgba(255, 65, 113, 0.16);--ezp-accent-red-solid:rgb(255, 72, 44);--ezp-accent-red-translucent:rgba(255, 72, 44, 0.26);--ezp-accent-red-faded:rgba(255, 72, 44, 0.16);--ezp-accent-orange-solid:rgb(255, 129, 28);--ezp-accent-orange-translucent:rgba(255, 129, 28, 0.26);--ezp-accent-orange-faded:rgba(255, 129, 28, 0.16);--ezp-accent-yellow-solid:rgb(255, 175, 58);--ezp-accent-yellow-translucent:rgba(255, 175, 58, 0.26);--ezp-accent-yellow-faded:rgba(255, 175, 58, 0.16);--ezp-accent-green-solid:rgb(103, 156, 21);--ezp-accent-green-translucent:rgba(103, 156, 21, 0.26);--ezp-accent-green-faded:rgba(103, 156, 21, 0.16);--ezp-accent-teal-solid:rgb(29, 160, 134);--ezp-accent-teal-translucent:rgba(29, 160, 134, 0.26);--ezp-accent-teal-faded:rgba(29, 160, 134, 0.16);--ezp-accent-cyan-solid:rgb(32, 153, 189);--ezp-accent-cyan-translucent:rgba(32, 153, 189, 0.26);--ezp-accent-cyan-faded:rgba(32, 153, 189, 0.16);--ezp-accent-blue-solid:rgb(93, 139, 253);--ezp-accent-blue-translucent:rgba(93, 139, 253, 0.26);--ezp-accent-blue-faded:rgba(93, 139, 253, 0.16);--ezp-accent-dark-blue-solid:rgb(20, 56, 119);--ezp-accent-dark-blue-translucent:rgba(20, 56, 119, 0.26);--ezp-accent-dark-blue-faded:rgba(20, 56, 119, 0.16);--ezp-accent-violet-solid:rgb(186, 105, 255);--ezp-accent-violet-translucent:rgba(186, 105, 255, 0.26);--ezp-accent-violet-faded:rgba(186, 105, 255, 0.16)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.dark){--ezp-accent-pink-solid:color(display-p3 1 0.255 0.443 / 100%);--ezp-accent-pink-translucent:color(display-p3 1 0.255 0.443 / 26%);--ezp-accent-pink-faded:color(display-p3 1 0.255 0.443 / 16%);--ezp-accent-red-solid:color(display-p3 1 0.282 0.173 / 100%);--ezp-accent-red-translucent:color(display-p3 1 0.282 0.173 / 26%);--ezp-accent-red-faded:color(display-p3 1 0.282 0.173 / 16%);--ezp-accent-orange-solid:color(display-p3 1 0.506 0.11 / 100%);--ezp-accent-orange-translucent:color(display-p3 1 0.506 0.11 / 26%);--ezp-accent-orange-faded:color(display-p3 1 0.506 0.11 / 16%);--ezp-accent-yellow-solid:color(display-p3 1 0.686 0.227 / 100%);--ezp-accent-yellow-translucent:color(display-p3 1 0.686 0.227 / 26%);--ezp-accent-yellow-faded:color(display-p3 1 0.686 0.227 / 16%);--ezp-accent-green-solid:color(display-p3 0.404 0.612 0.082 / 100%);--ezp-accent-green-translucent:color(display-p3 0.404 0.612 0.082 / 26%);--ezp-accent-green-faded:color(display-p3 0.404 0.612 0.082 / 16%);--ezp-accent-teal-solid:color(display-p3 0.114 0.627 0.525 / 100%);--ezp-accent-teal-translucent:color(display-p3 0.114 0.627 0.525 / 26%);--ezp-accent-teal-faded:color(display-p3 0.114 0.627 0.525 / 16%);--ezp-accent-cyan-solid:color(display-p3 0.125 0.6 0.741 / 100%);--ezp-accent-cyan-translucent:color(display-p3 0.125 0.6 0.741 / 26%);--ezp-accent-cyan-faded:color(display-p3 0.125 0.6 0.741 / 16%);--ezp-accent-blue-solid:color(display-p3 0.365 0.545 0.992 / 100%);--ezp-accent-blue-translucent:color(display-p3 0.365 0.545 0.992 / 26%);--ezp-accent-blue-faded:color(display-p3 0.365 0.545 0.992 / 16%);--ezp-accent-dark-blue-solid:color(display-p3 0.078 0.22 0.467 / 100%);--ezp-accent-dark-blue-translucent:color(display-p3 0.078 0.22 0.467 / 26%);--ezp-accent-dark-blue-faded:color(display-p3 0.078 0.22 0.467 / 16%);--ezp-accent-violet-solid:color(display-p3 0.729 0.412 1 / 100%);--ezp-accent-violet-translucent:color(display-p3 0.729 0.412 1 / 26%);--ezp-accent-violet-faded:color(display-p3 0.729 0.412 1 / 16%)}}}:host(.dark){--ezp-core-surface-primary:rgb(0, 0, 0);--ezp-core-surface-secondary:rgb(27, 27, 27);--ezp-core-surface-secondary-alt:rgb(19, 19, 19);--ezp-core-surface-tertiary:rgb(40, 40, 40);--ezp-core-foreground-primary:rgba(255, 255, 255, 0.94);--ezp-core-foreground-secondary:rgba(182, 182, 182, 0.68);--ezp-core-foreground-tertiary:rgba(182, 182, 182, 0.42);--ezp-core-shade-primary:rgba(99, 99, 99, 0.26);--ezp-core-shade-secondary:rgba(99, 99, 99, 0.32);--ezp-core-shade-tertiary:rgba(99, 99, 99, 0.38);--ezp-core-outline:rgba(139, 139, 139, 0.26);--ezp-core-edge:rgba(255, 255, 255, 0.16);--ezp-core-backdrop:rgba(0, 0, 0, 0.68)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.dark){--ezp-core-surface-primary:color(display-p3 0 0 0 / 100%);--ezp-core-surface-secondary:color(display-p3 0.106 0.106 0.106 / 100%);--ezp-core-surface-secondary-alt:color(display-p3 0.075 0.075 0.075 / 100%);--ezp-core-surface-tertiary:color(display-p3 0.157 0.157 0.157 / 100%);--ezp-core-foreground-primary:color(display-p3 1 1 1 / 94%);--ezp-core-foreground-secondary:color(display-p3 0.714 0.714 0.714 / 68%);--ezp-core-foreground-tertiary:color(display-p3 0.714 0.714 0.714 / 42%);--ezp-core-shade-primary:color(display-p3 0.388 0.388 0.388 / 26%);--ezp-core-shade-secondary:color(display-p3 0.388 0.388 0.388 / 32%);--ezp-core-shade-tertiary:color(display-p3 0.388 0.388 0.388 / 38%);--ezp-core-outline:color(display-p3 0.545 0.545 0.545 / 26%);--ezp-core-edge:color(display-p3 1 1 1 / 16%);--ezp-core-backdrop:color(display-p3 0 0 0 / 68%)}}}:host(.seamless){--ezp-status-border-radius:0;--ezp-backdrop-border-radius:0}:host(.blue){--ezp-theme-solid:var(--ezp-accent-blue-solid);--ezp-theme-translucent:var(--ezp-accent-blue-translucent)}:host(.cyan){--ezp-theme-solid:var(--ezp-accent-cyan-solid);--ezp-theme-translucent:var(--ezp-accent-cyan-translucent)}:host(.green){--ezp-theme-solid:var(--ezp-accent-green-solid);--ezp-theme-translucent:var(--ezp-accent-green-translucent)}:host(.teal){--ezp-theme-solid:var(--ezp-accent-teal-solid);--ezp-theme-translucent:var(--ezp-accent-teal-translucent)}:host(.orange){--ezp-theme-solid:var(--ezp-accent-orange-solid);--ezp-theme-translucent:var(--ezp-accent-orange-translucent)}:host(.pink){--ezp-theme-solid:var(--ezp-accent-pink-solid);--ezp-theme-translucent:var(--ezp-accent-pink-translucent)}:host(.red){--ezp-theme-solid:var(--ezp-accent-red-solid);--ezp-theme-translucent:var(--ezp-accent-red-translucent)}:host(.violet){--ezp-theme-solid:var(--ezp-accent-violet-solid);--ezp-theme-translucent:var(--ezp-accent-violet-translucent)}`;
38959
38994
 
38960
38995
  const EzpPrinting = class {
38961
38996
  constructor(hostRef) {
@@ -39048,6 +39083,9 @@ const EzpPrinting = class {
39048
39083
  detail: {},
39049
39084
  });
39050
39085
  document.dispatchEvent(printCancelEvent);
39086
+ // Cancelling sign-in with files pending discards them, so the flow is over
39087
+ // for the host — same signal as cancelling on the upload or print step.
39088
+ this.printFinished.emit();
39051
39089
  this.checkAuth();
39052
39090
  }
39053
39091
  async listenAuthSuccess() {
@@ -39066,6 +39104,12 @@ const EzpPrinting = class {
39066
39104
  }
39067
39105
  }
39068
39106
  listenUploadFile(event) {
39107
+ // Keep the selection in sync as files are added/removed, but stay on the
39108
+ // upload step until the user explicitly continues (see listenUploadContinue).
39109
+ this.files = event.detail;
39110
+ this.filename = this.files.length > 0 ? this.files[0].name : '';
39111
+ }
39112
+ listenUploadContinue(event) {
39069
39113
  this.files = event.detail;
39070
39114
  this.filename = this.files.length > 0 ? this.files[0].name : '';
39071
39115
  this.open();
@@ -39284,7 +39328,7 @@ const EzpPrinting = class {
39284
39328
  *
39285
39329
  */
39286
39330
  render() {
39287
- return (index.h(index.Host, { key: 'be2b1eab0c9aeb2b026f94c66c760d4c1e3d946a', class: `${userStore.state.theme} ${userStore.state.appearance === 'system'
39331
+ return (index.h(index.Host, { key: '8eaeae452fb60e1c15265cf970dddf8767e4c849', class: `${userStore.state.theme} ${userStore.state.appearance === 'system'
39288
39332
  ? this.systemAppearance
39289
39333
  : userStore.state.appearance} ${this.seamless ? 'seamless' : ''}` }, this.trigger === 'custom' ? (index.h("slot", null)) : this.trigger === 'file' ? (index.h("ezp-upload", null)) : (this.trigger === 'button' && (index.h("ezp-icon-button", { id: "print-trigger", icon: "printer", slot: "trigger", type: "button", onClick: () => this.open() }))), this.authOpen ? (index.h("ezp-auth", { clientID: this.clientid, redirectURI: this.redirecturi, hidelogin: this.hidelogin, trigger: this.trigger, code: this.code })) : this.printOpen ? (index.h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype, fileid: this.fileid, files: this.files, hidemenu: this.hidemenu, hideheader: this.hideheader, seamless: this.seamless })) : this.noDocumentOpen ? (index.h("ezp-dialog", { heading: instance.t('no_document_dialog.heading'), description: instance.t('no_document_dialog.description'), action: instance.t('no_document_dialog.action'), iconName: "question-mark", instance: "no-document-selected" })) : null));
39290
39334
  }
@@ -39305,7 +39349,7 @@ const EzpPrinting = class {
39305
39349
  };
39306
39350
  EzpPrinting.style = ezpPrintingCss();
39307
39351
 
39308
- const ezpSelectCss = () => `:host{--ezp-select-duration:var(--ezp-duration-3);display:block;height:var(--ezp-select-toggle-height);position:relative;-webkit-transition:var(--ezp-select-transition, z-index 0s var(--ezp-select-duration));transition:var(--ezp-select-transition, z-index 0s var(--ezp-select-duration));z-index:var(--ezp-select-zIndex, 3)}:host(:first-child){--ezp-select-wrap-borderRadius:3px 3px 0 0}:host(:last-child){--ezp-select-wrap-borderRadius:0 0 3px 3px}:host(:first-child:last-child){--ezp-select-wrap-borderRadius:3px}:host(:not(:last-child):not(.is-expanded)){--ezp-select-wrap-boxShadowPositionBottom:0 0 0 0}:host(.toggle-horizontal){--ezp-select-label-alignSelf:start;--ezp-select-toggle-gridTemplateAreas:'label value accessory';--ezp-select-toggle-gridTemplateColumns:1fr repeat(2, auto);--ezp-select-toggle-height:30px;--ezp-select-toggle-gridTemplateRows:auto;--ezp-select-value-alignSelf:end}:host(.toggle-horizontal.has-icon){--ezp-select-toggle-gridTemplateAreas:'icon label value accessory';--ezp-select-toggle-gridTemplateColumns:auto 1fr repeat(2, auto)}:host(.toggle-vertical){--ezp-select-label-alignSelf:center;--ezp-select-toggle-gridTemplateAreas:'label accessory' 'value accessory';--ezp-select-toggle-gridTemplateColumns:1fr auto;--ezp-select-toggle-height:48px;--ezp-select-toggle-gridTemplateRows:repeat(2, auto);--ezp-select-value-alignSelf:center}:host(.toggle-vertical.has-icon){--ezp-select-toggle-gridTemplateAreas:'icon label accessory' 'icon value accessory';--ezp-select-toggle-gridTemplateColumns:auto 1fr auto}:host(.option-horizontal){--ezp-select-details-gridTemplateColumns:repeat(2, 1fr);--ezp-select-details-gridTemplateRows:auto;--ezp-select-option-height:30px}:host(.option-vertical){--ezp-select-details-gridTemplateColumns:1fr;--ezp-select-details-gridTemplateRows:repeat(2, auto);--ezp-select-option-height:48px}:host(.is-expanded){--ezp-select-accessory-color:var(--ezp-theme-solid);--ezp-select-transition:z-index 0s 0s;--ezp-select-zIndex:9999;--ezp-select-icon-color:var(--ezp-theme-solid);--ezp-select-label-color:var(--ezp-theme-solid);--ezp-select-wrap-borderRadius:3px}:host(.disabled){--ezp-select-accessory-color:var(--ezp-core-foreground-tertiary);--ezp-select-icon-color:var(--ezp-core-foreground-tertiary);--ezp-select-label-color:var(--ezp-core-foreground-tertiary);--ezp-select-toggle-background-hover:transparent;--ezp-select-toggle-cursor:default;--value-color:var(--ezp-core-foreground-tertiary)}#wrap{background:var(--ezp-core-surface-tertiary);border-radius:var(--ezp-select-wrap-borderRadius, 0);-webkit-box-shadow:var(--ezp-select-wrap-boxShadowPositionTop, 0 -1px 0 0) var(--ezp-core-outline), var(--ezp-select-wrap-boxShadowPositionRight, 1px 0 0 0) var(--ezp-core-outline), var(--ezp-select-wrap-boxShadowPositionBottom, 0 1px 0 0) var(--ezp-core-outline), var(--ezp-select-wrap-boxShadowPositionLeft, -1px 0 0 0) var(--ezp-core-outline);box-shadow:var(--ezp-select-wrap-boxShadowPositionTop, 0 -1px 0 0) var(--ezp-core-outline), var(--ezp-select-wrap-boxShadowPositionRight, 1px 0 0 0) var(--ezp-core-outline), var(--ezp-select-wrap-boxShadowPositionBottom, 0 1px 0 0) var(--ezp-core-outline), var(--ezp-select-wrap-boxShadowPositionLeft, -1px 0 0 0) var(--ezp-core-outline);-webkit-transform:translateY(var(--ezp-select-wrap-translateY, 0));transform:translateY(var(--ezp-select-wrap-translateY, 0));-webkit-transition:border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-transform var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-transform var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:transform var(--ezp-select-duration) var(--ezp-easing-out-quart), border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:transform var(--ezp-select-duration) var(--ezp-easing-out-quart), border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-transform var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart)}#toggle{background:var(--ezp-select-toggle-background, transparent);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:var(--ezp-select-toggle-cursor, pointer);display:grid;gap:var(--ezp-spacing-2) var(--ezp-spacing-3);grid-template-areas:var(--ezp-select-toggle-gridTemplateAreas, none);grid-template-columns:var(--ezp-select-toggle-gridTemplateColumns, none);grid-template-rows:var(--ezp-select-toggle-gridTemplateRows, auto);height:var(--ezp-select-toggle-height, auto);padding:var(--ezp-spacing-3)}#toggle:hover{--ezp-select-toggle-background:var( --ezp-select-toggle-background-hover, var(--ezp-core-shade-primary) )}#icon{align-self:center;color:var(--ezp-select-icon-color, var(--ezp-core-foreground-secondary));grid-area:icon;margin:calc(var(--ezp-spacing-2) * -1) 0}#label{align-self:var(--ezp-select-label-alignSelf, auto);color:var(--ezp-select-label-color, var(--ezp-core-foreground-secondary));grid-area:label}#value{align-self:var(--ezp-select-value-alignSelf, auto);color:var(--value-color, var(--ezp-core-foreground-primary));grid-area:value}#accessory{align-self:center;color:var(--ezp-select-accessory-color, var(--ezp-core-foreground-secondary));grid-area:accessory;margin:calc(var(--ezp-spacing-2) * -1) 0}#list{-webkit-box-shadow:inset 0 1px 0 0 var(--ezp-core-outline);box-shadow:inset 0 1px 0 0 var(--ezp-core-outline);height:var(--ezp-select-list-height, 0);overflow:auto;-webkit-transition:height var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:height var(--ezp-select-duration) var(--ezp-easing-out-quart)}.option{background:var(--ezp-select-option-background);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:grid;gap:var(--ezp-spacing-3);grid-template:auto/auto 1fr;height:var(--ezp-select-option-height, auto);padding:0 0 0 var(--ezp-spacing-3)}.option:not(:last-child){--ezp-select-details-boxShadow:inset 0 -1px 0 0 var(--ezp-core-outline)}.option:hover{--ezp-select-option-background:var(--ezp-core-shade-primary)}.option:active{--ezp-select-option-background:var(--ezp-core-shade-secondary)}.option.is-selected{--ezp-select-indicator-opacity:1;--ezp-select-indicator-transform:translateX(0);--ezp-select-indicator-transition:opacity var(--ezp-select-duration) var(--ezp-easing-out-quart), transform var(--ezp-select-duration) var(--ezp-easing-out-quart), visibility 0s 0s;--ezp-select-indicator-visibility:visible}.indicator{-ms-flex-item-align:center;align-self:center;color:var(--ezp-theme-solid);margin:calc(var(--ezp-spacing-2) * -1) 0;opacity:var(--ezp-select-indicator-opacity, 0);-webkit-transform:var(--ezp-select-indicator-transform, translateX(var(--ezp-spacing-3)));transform:var(--ezp-select-indicator-transform, translateX(var(--ezp-spacing-3)));-webkit-transition:var(--ezp-select-indicator-transition, opacity var(--ezp-select-duration) var(--ezp-easing-out-quart), transform var(--ezp-select-duration) var(--ezp-easing-out-quart), visibility 0s var(--ezp-select-duration));transition:var(--ezp-select-indicator-transition, opacity var(--ezp-select-duration) var(--ezp-easing-out-quart), transform var(--ezp-select-duration) var(--ezp-easing-out-quart), visibility 0s var(--ezp-select-duration));visibility:var(--ezp-select-indicator-visibility, hidden)}.details{-webkit-box-shadow:var(--ezp-select-details-boxShadow);box-shadow:var(--ezp-select-details-boxShadow);display:grid;gap:var(--ezp-spacing-2);grid-template-columns:var(--ezp-select-details-gridTemplateColumns, 1fr);grid-template-rows:var(--ezp-select-details-gridTemplateRows, auto);padding:var(--ezp-spacing-3) var(--ezp-spacing-3) var(--ezp-spacing-3) 0}.title{-ms-flex-item-align:start;align-self:start;color:var(--ezp-core-foreground-primary)}.meta{-ms-flex-item-align:end;align-self:end;color:var(--ezp-core-foreground-secondary)}`;
39352
+ const ezpSelectCss = () => `:host{--ezp-select-duration:var(--ezp-duration-3);--ezp-badge-gradient:linear-gradient( 135deg, color-mix(in srgb, var(--ezp-theme-solid), white 14%) 0%, color-mix(in srgb, var(--ezp-theme-solid), black 22%) 100% );display:block;height:var(--ezp-select-toggle-height);position:relative;-webkit-transition:var(--ezp-select-transition, z-index 0s var(--ezp-select-duration));transition:var(--ezp-select-transition, z-index 0s var(--ezp-select-duration));z-index:var(--ezp-select-zIndex, 3)}:host(.toggle-horizontal){--ezp-select-label-alignSelf:center;--ezp-select-toggle-gridTemplateAreas:'label value accessory';--ezp-select-toggle-gridTemplateColumns:1fr repeat(2, auto);--ezp-select-toggle-height:56px;--ezp-select-toggle-gridTemplateRows:auto;--ezp-select-value-alignSelf:center}:host(.toggle-horizontal.has-icon){--ezp-select-toggle-gridTemplateAreas:'icon label value accessory';--ezp-select-toggle-gridTemplateColumns:auto 1fr repeat(2, auto)}:host(.toggle-vertical){--ezp-select-label-alignSelf:center;--ezp-select-toggle-gridTemplateAreas:'label accessory' 'value accessory';--ezp-select-toggle-gridTemplateColumns:1fr auto;--ezp-select-toggle-height:64px;--ezp-select-toggle-gridTemplateRows:repeat(2, auto);--ezp-select-value-alignSelf:center}:host(.toggle-vertical.has-icon){--ezp-select-toggle-gridTemplateAreas:'icon label accessory' 'icon value accessory';--ezp-select-toggle-gridTemplateColumns:auto 1fr auto}:host(.option-horizontal){--ezp-select-details-gridTemplateColumns:repeat(2, 1fr);--ezp-select-details-gridTemplateRows:auto;--ezp-select-option-height:44px}:host(.option-vertical){--ezp-select-details-gridTemplateColumns:1fr;--ezp-select-details-gridTemplateRows:repeat(2, auto);--ezp-select-option-height:52px}:host(.toggle-vertical.has-icon){--ezp-select-badge-background:var(--ezp-badge-gradient);--ezp-select-badge-color:var(--ezp-white-100);--ezp-select-badge-height:44px;--ezp-select-badge-width:44px;--ezp-select-label-textTransform:uppercase;--ezp-select-label-letterSpacing:0.08em;--ezp-select-label-fontSize:11px;--ezp-select-value-fontSize:16px;--ezp-select-value-fontWeight:600;--ezp-select-value-color:var(--ezp-core-foreground-primary)}:host(.is-expanded){--ezp-select-accessory-color:var(--ezp-theme-solid);--ezp-select-transition:z-index 0s 0s;--ezp-select-zIndex:9999;--ezp-select-label-color:var(--ezp-theme-solid);--ezp-select-toggle-background:var(--ezp-theme-translucent);--ezp-select-wrap-background:var(--ezp-core-surface-tertiary);--ezp-select-wrap-borderRadius:12px;--ezp-select-wrap-boxShadow:0 0 0 1px var(--ezp-core-outline), 0 16px 40px -16px var(--ezp-core-backdrop)}:host(.disabled){--ezp-select-accessory-color:var(--ezp-core-foreground-tertiary);--ezp-select-badge-background:var(--ezp-core-shade-primary);--ezp-select-badge-color:var(--ezp-core-foreground-tertiary);--ezp-select-label-color:var(--ezp-core-foreground-tertiary);--ezp-select-toggle-background-hover:transparent;--ezp-select-toggle-cursor:default;--ezp-select-value-color:var(--ezp-core-foreground-tertiary);--value-color:var(--ezp-core-foreground-tertiary)}#wrap{background:var(--ezp-select-wrap-background, transparent);border-radius:var(--ezp-select-wrap-borderRadius, 12px);-webkit-box-shadow:var(--ezp-select-wrap-boxShadow, none);box-shadow:var(--ezp-select-wrap-boxShadow, none);-webkit-transform:translateY(var(--ezp-select-wrap-translateY, 0));transform:translateY(var(--ezp-select-wrap-translateY, 0));-webkit-transition:border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-transform var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-transform var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:transform var(--ezp-select-duration) var(--ezp-easing-out-quart), border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:transform var(--ezp-select-duration) var(--ezp-easing-out-quart), border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-transform var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart)}#toggle{background:var(--ezp-select-toggle-background, transparent);border-radius:var(--ezp-select-wrap-borderRadius, 12px);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:var(--ezp-select-toggle-cursor, pointer);display:grid;gap:2px var(--ezp-spacing-3);grid-template-areas:var(--ezp-select-toggle-gridTemplateAreas, none);grid-template-columns:var(--ezp-select-toggle-gridTemplateColumns, none);grid-template-rows:var(--ezp-select-toggle-gridTemplateRows, auto);height:var(--ezp-select-toggle-height, auto);padding:var(--ezp-spacing-2) var(--ezp-spacing-3);-webkit-transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart)}#toggle:hover{--ezp-select-toggle-background:var( --ezp-select-toggle-background-hover, var(--ezp-core-shade-primary) )}#icon{--ezp-icon-background:var(--ezp-select-badge-background, var(--ezp-theme-translucent));--ezp-icon-borderRadius:50%;--ezp-icon-height:var(--ezp-select-badge-height, 40px);--ezp-icon-width:var(--ezp-select-badge-width, 40px);align-self:center;color:var(--ezp-select-badge-color, var(--ezp-theme-solid));grid-area:icon}#label{--ezp-label-fontSize:var(--ezp-select-label-fontSize, 14px);--ezp-label-letterSpacing:var(--ezp-select-label-letterSpacing, normal);align-self:var(--ezp-select-label-alignSelf, auto);color:var(--ezp-select-label-color, var(--ezp-core-foreground-primary));grid-area:label;text-transform:var(--ezp-select-label-textTransform, none)}#value{--ezp-label-fontSize:var(--ezp-select-value-fontSize, 14px);--ezp-label-fontWeight:var(--ezp-select-value-fontWeight, 400);align-self:var(--ezp-select-value-alignSelf, auto);color:var(--ezp-select-value-color, var(--value-color, var(--ezp-core-foreground-secondary)));grid-area:value;text-align:right}#accessory{align-self:center;color:var(--ezp-select-accessory-color, var(--ezp-core-foreground-tertiary));grid-area:accessory}#list{-webkit-box-shadow:inset 0 1px 0 0 var(--ezp-core-outline);box-shadow:inset 0 1px 0 0 var(--ezp-core-outline);height:var(--ezp-select-list-height, 0);overflow:auto;-webkit-transition:height var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:height var(--ezp-select-duration) var(--ezp-easing-out-quart)}.option{background:var(--ezp-select-option-background);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:grid;gap:var(--ezp-spacing-3);grid-template:auto/auto 1fr;height:var(--ezp-select-option-height, auto);padding:0 0 0 var(--ezp-spacing-3)}.option:not(:last-child){--ezp-select-details-boxShadow:inset 0 -1px 0 0 var(--ezp-core-outline)}.option:hover{--ezp-select-option-background:var(--ezp-core-shade-primary)}.option:active{--ezp-select-option-background:var(--ezp-core-shade-secondary)}.option.is-selected{--ezp-select-indicator-opacity:1;--ezp-select-indicator-transform:translateX(0);--ezp-select-indicator-transition:opacity var(--ezp-select-duration) var(--ezp-easing-out-quart), transform var(--ezp-select-duration) var(--ezp-easing-out-quart), visibility 0s 0s;--ezp-select-indicator-visibility:visible}.indicator{-ms-flex-item-align:center;align-self:center;color:var(--ezp-theme-solid);margin:calc(var(--ezp-spacing-2) * -1) 0;opacity:var(--ezp-select-indicator-opacity, 0);-webkit-transform:var(--ezp-select-indicator-transform, translateX(var(--ezp-spacing-3)));transform:var(--ezp-select-indicator-transform, translateX(var(--ezp-spacing-3)));-webkit-transition:var(--ezp-select-indicator-transition, opacity var(--ezp-select-duration) var(--ezp-easing-out-quart), transform var(--ezp-select-duration) var(--ezp-easing-out-quart), visibility 0s var(--ezp-select-duration));transition:var(--ezp-select-indicator-transition, opacity var(--ezp-select-duration) var(--ezp-easing-out-quart), transform var(--ezp-select-duration) var(--ezp-easing-out-quart), visibility 0s var(--ezp-select-duration));visibility:var(--ezp-select-indicator-visibility, hidden)}.details{-webkit-box-shadow:var(--ezp-select-details-boxShadow);box-shadow:var(--ezp-select-details-boxShadow);display:grid;gap:var(--ezp-spacing-2);grid-template-columns:var(--ezp-select-details-gridTemplateColumns, 1fr);grid-template-rows:var(--ezp-select-details-gridTemplateRows, auto);padding:var(--ezp-spacing-3) var(--ezp-spacing-3) var(--ezp-spacing-3) 0}.title{-ms-flex-item-align:start;align-self:start;color:var(--ezp-core-foreground-primary)}.meta{-ms-flex-item-align:end;align-self:end;color:var(--ezp-core-foreground-secondary)}`;
39309
39353
 
39310
39354
  /**
39311
39355
  * The "nothing selected" sentinel. Its empty `title` makes the toggle fall back
@@ -39539,7 +39583,7 @@ const EzpSelect = class {
39539
39583
  };
39540
39584
  EzpSelect.style = ezpSelectCss();
39541
39585
 
39542
- const ezpStatusCss = () => `:host{-ms-flex-align:center;align-items:center;background:var(--ezp-core-backdrop);border-radius:var(--ezp-status-border-radius, 6px);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:100%;-ms-flex-pack:center;justify-content:center;left:0;padding:var(--ezp-spacing-6);position:absolute;top:0;width:100%;z-index:9999}@media (prefers-color-scheme: dark){:host{--box-separator-position:inset 0 0 0 var(--hairline-width-positive)}}#box{--ezp-icon-fill:var(--ezp-theme-solid);-ms-flex-align:center;align-items:center;background:var(--ezp-core-surface-tertiary);border-radius:3px;-webkit-box-shadow:var(--ezp-status-box-boxShadow, 0 0 0 1px var(--ezp-black-10));box-shadow:var(--ezp-status-box-boxShadow, 0 0 0 1px var(--ezp-black-10));display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4);padding:var(--ezp-spacing-4) var(--ezp-spacing-5)}#indicator{-webkit-animation:rotate var(--ezp-duration-6) linear infinite;animation:rotate var(--ezp-duration-6) linear infinite;display:block;height:42px;-webkit-transform:rotate(0);transform:rotate(0);width:42px}#track{fill:none;stroke:var(--ezp-core-outline);stroke-width:4px}#value{-webkit-animation:offset var(--ezp-duration-6) linear alternate infinite;animation:offset var(--ezp-duration-6) linear alternate infinite;fill:none;stroke:var(--ezp-theme-solid);stroke-dasharray:110;stroke-dashoffset:110;stroke-linecap:round;stroke-width:4px}#description{color:var(--ezp-core-foreground-primary)}#footer{display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-2)}@-webkit-keyframes offset{100%{stroke-dashoffset:55}}@keyframes offset{100%{stroke-dashoffset:55}}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}`;
39586
+ const ezpStatusCss = () => `:host{--ezp-status-gradient:linear-gradient( 135deg, color-mix(in srgb, var(--ezp-theme-solid), white 14%) 0%, color-mix(in srgb, var(--ezp-theme-solid), black 22%) 100% );-ms-flex-align:center;align-items:center;background:var(--ezp-core-backdrop);border-radius:var(--ezp-status-border-radius, 16px);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:100%;-ms-flex-pack:center;justify-content:center;left:0;padding:var(--ezp-spacing-5);position:absolute;top:0;width:100%;z-index:9999}@media (prefers-color-scheme: dark){:host{--box-separator-position:inset 0 0 0 var(--hairline-width-positive)}}*,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}#box{-ms-flex-align:center;align-items:center;background:var(--ezp-core-surface-tertiary);border-radius:16px;-webkit-box-shadow:var(--ezp-status-box-boxShadow, 0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop));box-shadow:var(--ezp-status-box-boxShadow, 0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop));display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4);max-width:360px;padding:var(--ezp-spacing-6) var(--ezp-spacing-5) var(--ezp-spacing-5);text-align:center;width:100%}#icon{-ms-flex-align:center;align-items:center;background:var(--ezp-theme-translucent);border-radius:50%;display:-ms-flexbox;display:flex;height:132px;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ezp-spacing-2);width:132px}#icon-inner{-ms-flex-align:center;align-items:center;background:var(--ezp-status-gradient);border-radius:50%;-webkit-box-shadow:0 12px 24px -8px color-mix(in srgb, var(--ezp-theme-solid), transparent 45%);box-shadow:0 12px 24px -8px color-mix(in srgb, var(--ezp-theme-solid), transparent 45%);color:var(--ezp-white-100);display:-ms-flexbox;display:flex;height:84px;-ms-flex-pack:center;justify-content:center;width:84px}#icon-inner ezp-icon{--ezp-icon-size:40px;--ezp-icon-gridTemplate:40px}#indicator{-webkit-animation:rotate var(--ezp-duration-6) linear infinite;animation:rotate var(--ezp-duration-6) linear infinite;display:block;height:48px;-webkit-transform:rotate(0);transform:rotate(0);width:48px}#track{fill:none;stroke:var(--ezp-core-outline);stroke-width:4px}#value{-webkit-animation:offset var(--ezp-duration-6) linear alternate infinite;animation:offset var(--ezp-duration-6) linear alternate infinite;fill:none;stroke:var(--ezp-theme-solid);stroke-dasharray:110;stroke-dashoffset:110;stroke-linecap:round;stroke-width:4px}#description{--ezp-label-fontSize:22px;--ezp-label-lineHeight:28px;color:var(--ezp-core-foreground-primary)}#subtext{color:var(--ezp-core-foreground-secondary);margin-top:calc(var(--ezp-spacing-4) * -1 + var(--ezp-spacing-2))}#footer{display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3);margin-top:var(--ezp-spacing-3);width:100%}.action{--ezp-textButton-borderRadius:999px;--ezp-textButton-padding:var(--ezp-spacing-4);-ms-flex:1;flex:1}ezp-text-button.action.primary{--ezp-textButton-background-init:var(--ezp-status-gradient)}ezp-text-button.action.secondary{--ezp-textButton-background-init:transparent;--ezp-textButton-boxShadow:inset 0 0 0 1px var(--ezp-core-outline);--ezp-textButton-color-init:var(--ezp-core-foreground-primary)}@-webkit-keyframes offset{100%{stroke-dashoffset:55}}@keyframes offset{100%{stroke-dashoffset:55}}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}`;
39543
39587
 
39544
39588
  const EzpStatus = class {
39545
39589
  constructor(hostRef) {
@@ -39590,14 +39634,14 @@ const EzpStatus = class {
39590
39634
  return (
39591
39635
  // Live region so screen readers announce status changes (loading,
39592
39636
  // processing, success, error) as they render.
39593
- index.h(index.Host, { key: 'b5c9846f02fb4d1ecfb4e858979771707f43da7b', role: "status", "aria-live": "polite" }, index.h("div", { key: '565dc8d7c33de18e84b9e2fc08509fa930f25b6b', id: "box" }, this.processing ? (index.h("svg", { id: "indicator", viewBox: "0 0 42 42", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, index.h("circle", { id: "track", cx: "21", cy: "21", r: "18" }), index.h("circle", { id: "value", cx: "21", cy: "21", r: "18" }))) : this.icon ? (index.h("ezp-icon", { name: this.icon, framed: true })) : null, index.h("ezp-label", { key: '2e0a465a7ab43caf42ddbe0bcf8939411334fe75', id: "description", level: "tertiary", weight: "strong", text: this.description }), (this.cancel || this.close || this.retry) && (index.h("div", { key: '47c159c24325fc2b8617dfeb70a322e3fb21d1c2', id: "footer" }, this.cancel && (index.h("ezp-text-button", { key: '50cadac96eede3676ff7b223e2974f4f621246a3', level: "secondary", small: true, onClick: this.handleCancel, label: typeof this.cancel === 'string'
39637
+ index.h(index.Host, { key: '5956a42fc8d74042fe88418c5f98011d0bf728c8', role: "status", "aria-live": "polite" }, index.h("div", { key: 'b1aebc3725a621c0e4474481064988167ca80328', id: "box" }, this.processing ? (index.h("svg", { id: "indicator", viewBox: "0 0 42 42", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, index.h("circle", { id: "track", cx: "21", cy: "21", r: "18" }), index.h("circle", { id: "value", cx: "21", cy: "21", r: "18" }))) : this.icon ? (index.h("div", { id: "icon" }, index.h("div", { id: "icon-inner" }, index.h("ezp-icon", { name: this.icon })))) : null, index.h("ezp-label", { key: '34baad28a5ffc3fac42eef6a886ae52f772e3576', id: "description", weight: "heavy", text: this.description }), this.subtext && (index.h("ezp-label", { key: '321659cc9ae7a40f62c8fc6447556d1aa026a9dc', id: "subtext", level: "secondary", text: this.subtext })), (this.cancel || this.close || this.retry) && (index.h("div", { key: 'ce83d1db0aad512f282f1a2bbfbf112a3d2f7aed', id: "footer" }, this.cancel && (index.h("ezp-text-button", { key: '9eb72f9e158b1e2c6a4fd2d2755705c2041b67f5', class: "action secondary", level: "secondary", onClick: this.handleCancel, label: typeof this.cancel === 'string'
39594
39638
  ? this.cancel
39595
- : instance.t('button_actions.cancel') })), this.close && (index.h("ezp-text-button", { key: '36efc776e9c90117fd3c99544cdd3fc2e170466c', level: this.retry ? 'secondary' : 'primary', small: true, onClick: this.handleClose, label: typeof this.close === 'string' ? this.close : instance.t('button_actions.close') })), this.retry && (index.h("ezp-text-button", { key: '04c60353ca77b16772edb67a38ef5cdf06e4f407', level: "primary", small: true, onClick: this.handleRetry, label: typeof this.retry === 'string' ? this.retry : instance.t('button_actions.retry') })))))));
39639
+ : instance.t('button_actions.cancel') })), this.close && (index.h("ezp-text-button", { key: '9a10f49011bf0f0cba24905e82574199837e122a', class: `action ${this.retry ? 'secondary' : 'primary'}`, level: this.retry ? 'secondary' : 'primary', onClick: this.handleClose, label: typeof this.close === 'string' ? this.close : instance.t('button_actions.close') })), this.retry && (index.h("ezp-text-button", { key: '2522cfae37af2c9e8800af545f04b986affac356', class: "action primary", level: "primary", onClick: this.handleRetry, label: typeof this.retry === 'string' ? this.retry : instance.t('button_actions.retry') })))))));
39596
39640
  }
39597
39641
  };
39598
39642
  EzpStatus.style = ezpStatusCss();
39599
39643
 
39600
- const ezpStepperCss = () => `:host{-ms-flex-align:center;align-items:center;background:var(--ezp-core-surface-tertiary);border-radius:3px;-webkit-box-shadow:var(--ezp-stepper-boxShadowPosition, 0 0 0 1px) var(--ezp-core-outline);box-shadow:var(--ezp-stepper-boxShadowPosition, 0 0 0 1px) var(--ezp-core-outline);display:grid;gap:var(--ezp-spacing-3);grid-template:var(--ezp-stepper-gridTemplate, auto/auto 1fr auto);padding:0 var(--ezp-spacing-2) 0 var(--ezp-spacing-3);position:relative;z-index:0}:host(.focused){--ezp-stepper-icon-color:var(--ezp-theme-solid);--ezp-stepper-label-color:var(--ezp-theme-solid)}:host(.has-icon){--ezp-stepper-gridTemplate:auto / repeat(2, auto) 1fr auto}#toggle{background:var(--ezp-stepper-toggle-background, transparent);border-radius:3px;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:100%;z-index:-1}@media (hover: hover){#toggle:hover{--ezp-stepper-toggle-background:var(--ezp-core-shade-primary)}}#icon{color:var(--ezp-stepper-icon-color, var(--ezp-core-foreground-secondary));pointer-events:none}#label{color:var(--ezp-stepper-label-color, var(--ezp-core-foreground-secondary));pointer-events:none}#input{-moz-appearance:textfield;-webkit-appearance:none;appearance:none;background:transparent;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-core-foreground-primary);cursor:inherit;font-family:inherit;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";font-size:14px;-webkit-font-smoothing:antialiased;height:30px;letter-spacing:-0.0062235443em;margin:0;outline:none;padding:0;pointer-events:none;text-align:right;width:100%}#input::-webkit-outer-spin-button,#input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.buttons{display:-ms-flexbox;display:flex}.button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-stepper-button-background, transparent);border:0;border-radius:50%;-webkit-box-shadow:none;box-shadow:none;color:var(--ezp-stepper-button-color, var(--ezp-theme-solid));cursor:var(--ezp-stepper-button-cursor, pointer);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:0;outline:none;padding:var(--ezp-spacing-1)}@media (hover: hover){.button:not(:disabled):hover{--ezp-stepper-button-background:var(--ezp-core-shade-primary)}.button:not(:disabled):active{--ezp-stepper-button-background:var(--ezp-core-shade-secondary)}}.button:disabled{--ezp-stepper-button-color:var(--ezp-core-foreground-tertiary);--ezp-stepper-button-cursor:default}`;
39644
+ const ezpStepperCss = () => `:host{-ms-flex-align:center;align-items:center;background:transparent;display:grid;gap:var(--ezp-spacing-3);grid-template:var(--ezp-stepper-gridTemplate, auto/1fr auto);height:56px;padding:var(--ezp-spacing-2) var(--ezp-spacing-3);position:relative;z-index:0}:host(.focused){--ezp-stepper-label-color:var(--ezp-core-foreground-primary)}:host(.has-icon){--ezp-stepper-gridTemplate:auto / auto 1fr auto}#toggle{background:transparent;border-radius:12px;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:100%;z-index:-1}#icon{--ezp-icon-background:var(--ezp-theme-translucent);--ezp-icon-borderRadius:50%;--ezp-icon-height:40px;--ezp-icon-width:40px;color:var(--ezp-stepper-icon-color, var(--ezp-theme-solid));pointer-events:none}#label{color:var(--ezp-stepper-label-color, var(--ezp-core-foreground-primary));pointer-events:none}#input{-moz-appearance:textfield;-webkit-appearance:none;appearance:none;background:transparent;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-core-foreground-primary);cursor:text;font-family:inherit;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";font-size:16px;font-weight:600;-webkit-font-smoothing:antialiased;height:30px;letter-spacing:-0.0109597786em;margin:0;min-width:28px;outline:none;padding:0;text-align:center;width:28px}#input::-webkit-outer-spin-button,#input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.buttons{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3)}.button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-stepper-button-background, transparent);border:1px solid var(--ezp-stepper-button-border, var(--ezp-core-outline));border-radius:50%;-webkit-box-shadow:none;box-shadow:none;color:var(--ezp-stepper-button-color, var(--ezp-core-foreground-secondary));cursor:var(--ezp-stepper-button-cursor, pointer);display:-ms-flexbox;display:flex;height:32px;-ms-flex-pack:center;justify-content:center;margin:0;outline:none;padding:0;-webkit-transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart), border-color var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart), border-color var(--ezp-duration-2) var(--ezp-easing-out-quart);width:32px}.button ezp-icon{--ezp-icon-size:16px;--ezp-icon-gridTemplate:16px}@media (hover: hover){.button:not(:disabled):hover{--ezp-stepper-button-background:var(--ezp-theme-translucent);--ezp-stepper-button-border:var(--ezp-theme-solid);--ezp-stepper-button-color:var(--ezp-theme-solid)}.button:not(:disabled):active{--ezp-stepper-button-background:var(--ezp-core-shade-secondary)}}.button:disabled{--ezp-stepper-button-border:var(--ezp-core-shade-primary);--ezp-stepper-button-color:var(--ezp-core-foreground-tertiary);--ezp-stepper-button-cursor:default}`;
39601
39645
 
39602
39646
  const EzpStepper = class {
39603
39647
  constructor(hostRef) {
@@ -39729,7 +39773,7 @@ const EzpStepper = class {
39729
39773
  *
39730
39774
  */
39731
39775
  render() {
39732
- return (index.h(index.Host, { key: 'cdb3aa8969719def6546f35fac5aa35b47c1f94b', class: `${this.focused ? 'focused' : ''} ${this.icon ? 'has-icon' : ''}` }, index.h("div", { key: '4b0edee6d156edc6e8f79eb0639be4203b12fc5b', id: "toggle", onClick: this.setFocus }), this.icon ? index.h("ezp-icon", { id: "icon", name: this.icon }) : null, index.h("ezp-label", { key: '4fb1d96f12933ee37c05afafee8f313d77a06e9e', id: "label", noWrap: true, text: this.label }), index.h("input", { key: '75a462106e4fc3f7b303178a52dd41d6b9145e1c', id: "input", type: "number", ref: (input) => (this.input = input), min: this.min.toString(), max: this.max !== undefined ? this.max.toString() : undefined, value: this.value.toString(), "aria-label": this.label, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur }), index.h("div", { key: 'a42c04e3098ec7a96d871c1e7eb12d59189ce540', class: "buttons" }, index.h("button", { key: '05b28026fc46ed0b14f6617880a252bf83137fa5', class: "button", type: "button", "aria-label": `Decrease ${this.label}`, disabled: !this.canDecrease, onClick: this.handleDecrease }, index.h("ezp-icon", { key: '66b31a81d7e7836442d342991c6a4ec3749db8ce', name: "minus" })), index.h("button", { key: '9380b02ebd91ea0cdd26dce6f85ccb7c825d0fe2', class: "button", type: "button", "aria-label": `Increase ${this.label}`, disabled: !this.canIncrease, onClick: this.handleIncrease }, index.h("ezp-icon", { key: 'b85c276634c61557a475f2951531d9ff0ff78435', name: "plus" })))));
39776
+ return (index.h(index.Host, { key: 'ef15da0203857706cd220bd932fe25fb20f9a876', class: `${this.focused ? 'focused' : ''} ${this.icon ? 'has-icon' : ''}` }, index.h("div", { key: 'c36d83b93752da6678184e6e5d449e7422d0dd10', id: "toggle", onClick: this.setFocus }), this.icon ? index.h("ezp-icon", { id: "icon", name: this.icon }) : null, index.h("ezp-label", { key: '14e07c854636dfce079c349dd245fa8c7fc3025d', id: "label", noWrap: true, text: this.label }), index.h("div", { key: '11eef956e9f5dbb0feffa5fd2aed60dae7d80035', class: "buttons" }, index.h("button", { key: 'e328929f56a3aebeff825a711674a9e3d9e91ab0', class: "button", type: "button", "aria-label": `Decrease ${this.label}`, disabled: !this.canDecrease, onClick: this.handleDecrease }, index.h("ezp-icon", { key: 'd1af53b4ab9e22c28bd16325851f01e7c551de94', name: "minus" })), index.h("input", { key: '3591c3060576cf1abdc1187e20aa97b901589a92', id: "input", type: "number", ref: (input) => (this.input = input), min: this.min.toString(), max: this.max !== undefined ? this.max.toString() : undefined, value: this.value.toString(), "aria-label": this.label, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur }), index.h("button", { key: 'c081e7190bbea2f2d75cf81394c781ade876dce6', class: "button", type: "button", "aria-label": `Increase ${this.label}`, disabled: !this.canIncrease, onClick: this.handleIncrease }, index.h("ezp-icon", { key: 'd3a1ddde274537dec1f5a17c0cdf5afdd40fe24f', name: "plus" })))));
39733
39777
  }
39734
39778
  static get watchers() { return {
39735
39779
  "value": [{
@@ -39751,7 +39795,7 @@ EzpStepper.ALLOWED_KEYS = [
39751
39795
  EzpStepper.CTRL_CMD_KEYS = ['a', 'c', 'v', 'x'];
39752
39796
  EzpStepper.style = ezpStepperCss();
39753
39797
 
39754
- const ezpTextButtonCss = () => `:host{display:-ms-flexbox;display:flex}:host(.primary){--ezp-textButton-background-disabled:var(--ezp-core-shade-primary);--ezp-textButton-background-init:var(--ezp-theme-solid);--ezp-textButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-white-100);--ezp-textButton-opacity-active:0.74;--ezp-textButton-opacity-hover:0.84}:host(.secondary){--ezp-textButton-background-active:var(--ezp-core-shade-tertiary);--ezp-textButton-background-disabled:var(--ezp-core-shade-primary);--ezp-textButton-background-hover:var(--ezp-core-shade-secondary);--ezp-textButton-background-init:var(--ezp-core-shade-primary);--ezp-textButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-theme-solid)}:host(.tertiary){--ezp-textButton-background-active:var(--ezp-core-shade-secondary);--ezp-textButton-background-disabled:transparent;--ezp-textButton-background-hover:var(--ezp-core-shade-primary);--ezp-textButton-background-init:transparent;--ezp-textButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-theme-solid)}#button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-textButton-background, var(--ezp-textButton-background-init));border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;color:var(--ezp-textButton-color, var(--ezp-textButton-color-init));cursor:var(--ezp-textButton-cursor, pointer);display:-ms-flexbox;display:flex;font-family:inherit;-ms-flex-pack:center;justify-content:center;margin:0;opacity:var(--ezp-textButton-opacity, 1);outline:none;padding:var(--ezp-spacing-3);white-space:nowrap;width:100%}@media (hover: hover){#button:not(:disabled):hover{--ezp-textButton-background:var( --ezp-textButton-background-hover, var(--ezp-textButton-background-init) );--ezp-textButton-opacity:var(--ezp-textButton-opacity-hover, 1)}#button:not(:disabled):active{--ezp-textButton-background:var( --ezp-textButton-background-active, var(--ezp-textButton-background-init) );--ezp-textButton-opacity:var(--ezp-textButton-opacity-active, 1)}}#button:disabled{--ezp-textButton-background:var(--ezp-textButton-background-disabled);--ezp-textButton-color:var(--ezp-textButton-color-disabled);--ezp-textButton-cursor:default}#label{pointer-events:none}`;
39798
+ const ezpTextButtonCss = () => `:host{display:-ms-flexbox;display:flex}:host(.primary){--ezp-textButton-background-disabled:var(--ezp-core-shade-primary);--ezp-textButton-background-init:var(--ezp-theme-solid);--ezp-textButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-white-100);--ezp-textButton-opacity-active:0.74;--ezp-textButton-opacity-hover:0.84}:host(.secondary){--ezp-textButton-background-active:var(--ezp-core-shade-tertiary);--ezp-textButton-background-disabled:var(--ezp-core-shade-primary);--ezp-textButton-background-hover:var(--ezp-core-shade-secondary);--ezp-textButton-background-init:var(--ezp-core-shade-primary);--ezp-textButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-theme-solid)}:host(.tertiary){--ezp-textButton-background-active:var(--ezp-core-shade-secondary);--ezp-textButton-background-disabled:transparent;--ezp-textButton-background-hover:var(--ezp-core-shade-primary);--ezp-textButton-background-init:transparent;--ezp-textButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-theme-solid)}#button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-textButton-background, var(--ezp-textButton-background-init));border:0;border-radius:var(--ezp-textButton-borderRadius, 3px);-webkit-box-shadow:var(--ezp-textButton-boxShadow, none);box-shadow:var(--ezp-textButton-boxShadow, none);color:var(--ezp-textButton-color, var(--ezp-textButton-color-init));cursor:var(--ezp-textButton-cursor, pointer);display:-ms-flexbox;display:flex;font-family:inherit;-ms-flex-pack:center;justify-content:center;margin:0;opacity:var(--ezp-textButton-opacity, 1);outline:none;padding:var(--ezp-textButton-padding, var(--ezp-spacing-3));white-space:nowrap;width:100%}@media (hover: hover){#button:not(:disabled):hover{--ezp-textButton-background:var( --ezp-textButton-background-hover, var(--ezp-textButton-background-init) );--ezp-textButton-opacity:var(--ezp-textButton-opacity-hover, 1)}#button:not(:disabled):active{--ezp-textButton-background:var( --ezp-textButton-background-active, var(--ezp-textButton-background-init) );--ezp-textButton-opacity:var(--ezp-textButton-opacity-active, 1)}}#button:disabled{--ezp-textButton-background:var(--ezp-textButton-background-disabled);--ezp-textButton-color:var(--ezp-textButton-color-disabled);--ezp-textButton-cursor:default}#label{pointer-events:none}`;
39755
39799
 
39756
39800
  const EzpTextButton = class {
39757
39801
  constructor(hostRef) {
@@ -39786,17 +39830,21 @@ const EzpTextButton = class {
39786
39830
  href: this.href,
39787
39831
  target: this.blank ? '_blank' : '_self',
39788
39832
  };
39789
- return (index.h(index.Host, { key: '24c7d7fe23395513fccfc8fc94fbc552a1763148', class: `${this.level}` }, index.h(TagType, Object.assign({ key: 'eded3e128d17f4b5bf5a29b01e51f4a2ba1d6d74', id: "button", "aria-label": this.label }, attributes), index.h("ezp-label", { key: '4974381f385143ac4828f74c580ef280357e85ac', id: "label", weight: "heavy", text: this.label, level: this.small ? 'tertiary' : 'secondary' }))));
39833
+ return (index.h(index.Host, { key: 'e4d814429f79e8c7043ac26f44ebab08ba119cb4', class: `${this.level}` }, index.h(TagType, Object.assign({ key: 'e3f66d16f69c8abc1f073558b6547644340dcb6b', id: "button", "aria-label": this.label }, attributes), index.h("ezp-label", { key: 'c091e210993059cdf044863fe600212ec04c44b7', id: "label", weight: "heavy", text: this.label, level: this.small ? 'tertiary' : 'secondary' }))));
39790
39834
  }
39791
39835
  };
39792
39836
  EzpTextButton.style = ezpTextButtonCss();
39793
39837
 
39794
- const ezpUploadCss = () => `@charset "UTF-8";:host{-ms-flex-line-pack:center;align-content:center;background:var(--ezp-upload-background, transparent);border:1px dashed var(--ezp-upload-border-color, var(--ezp-core-foreground-tertiary));border-radius:3px;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-core-foreground-primary);display:grid;grid-template:auto/minmax(auto, 280px);height:var(--ezp-upload-height, auto);-ms-flex-pack:center;justify-content:center;padding:var(--ezp-spacing-3);position:relative;-webkit-transition:background-color var(--ezp-duration-3) var(--ezp-easing-out-quart), border-color var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:background-color var(--ezp-duration-3) var(--ezp-easing-out-quart), border-color var(--ezp-duration-3) var(--ezp-easing-out-quart);width:var(--ezp-upload-width, auto)}:host(.dragging){--ezp-upload-background:var(--ezp-theme-translucent);--ezp-upload-border-color:var(--ezp-theme-translucent);--ezp-upload-header-blur:16px;--ezp-upload-header-opacity:0.42}#header{--ezp-icon-fill:var(--ezp-theme-solid);-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-webkit-filter:blur(var(--ezp-upload-header-blur, 0));filter:blur(var(--ezp-upload-header-blur, 0));-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-5);opacity:var(--ezp-upload-header-opacity, 1);text-align:center;-webkit-transition:opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), -webkit-filter var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), -webkit-filter var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:filter var(--ezp-duration-3) var(--ezp-easing-out-quart), opacity var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:filter var(--ezp-duration-3) var(--ezp-easing-out-quart), opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), -webkit-filter var(--ezp-duration-3) var(--ezp-easing-out-quart);}#header:has(#file-list){gap:var(--ezp-spacing-3)}#header:has(#file-list)>ezp-icon{display:none}#header:has(#file-list)>ezp-label:first-of-type{display:none}#meta{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--ezp-spacing-3) 3px;-ms-flex-pack:center;justify-content:center}#select{color:var(--ezp-theme-solid);cursor:pointer;opacity:var(--ezp-upload-select-opacity, 1);text-decoration:underline;white-space:nowrap}@media (hover: hover){#select:hover{--ezp-upload-select-opacity:0.58}}#input{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:0;opacity:0;pointer-events:none;position:absolute;width:0}#file-list{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-3);max-height:var(--ezp-upload-fileList-maxHeight, 35vh);overflow-y:auto;scrollbar-color:var(--ezp-core-foreground-tertiary) transparent;scrollbar-width:thin;width:100%;}#file-list::-webkit-scrollbar{height:8px;width:8px}#file-list::-webkit-scrollbar-thumb{background:var(--ezp-core-foreground-tertiary);border-radius:4px}#file-list::-webkit-scrollbar-track{background:transparent}.file-item{-ms-flex-align:center;align-items:center;background:var(--ezp-core-background-secondary);border-radius:3px;display:grid;gap:var(--ezp-spacing-3);grid-template-columns:1fr auto;min-height:32px;padding:var(--ezp-spacing-2) var(--ezp-spacing-3)}.file-name{grid-column:1;min-width:0}.file-name ezp-label{--ezp-label-minWidth:0}.file-remove{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;grid-column:2}`;
39838
+ const ezpUploadCss = () => `:host{--ezp-upload-gradient:linear-gradient( 135deg, color-mix(in srgb, var(--ezp-theme-solid), white 14%) 0%, color-mix(in srgb, var(--ezp-theme-solid), black 22%) 100% );-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-core-foreground-primary);display:block;width:var(--ezp-upload-width, auto);height:var(--ezp-upload-height, auto)}*,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}#form{display:block;height:100%}#input{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:0;opacity:0;pointer-events:none;position:absolute;width:0}#modal{background:var(--ezp-core-surface-tertiary);border-radius:16px;-webkit-box-shadow:0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop);box-shadow:0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4);height:100%;padding:var(--ezp-spacing-5)}#dropzone{-ms-flex-align:center;align-items:center;background:var(--ezp-upload-background, transparent);border:1.5px dashed var(--ezp-upload-border-color, var(--ezp-core-foreground-tertiary));border-radius:12px;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4);-ms-flex-pack:center;justify-content:center;min-height:0;padding:var(--ezp-spacing-6) var(--ezp-spacing-5);text-align:center;-webkit-transition:background-color var(--ezp-duration-3) var(--ezp-easing-out-quart), border-color var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:background-color var(--ezp-duration-3) var(--ezp-easing-out-quart), border-color var(--ezp-duration-3) var(--ezp-easing-out-quart)}:host(.dragging){--ezp-upload-background:var(--ezp-theme-translucent);--ezp-upload-border-color:var(--ezp-theme-solid)}#cloud{-ms-flex-align:center;align-items:center;background:var(--ezp-upload-gradient);border-radius:20px;-webkit-box-shadow:0 12px 24px -8px color-mix(in srgb, var(--ezp-theme-solid), transparent 45%);box-shadow:0 12px 24px -8px color-mix(in srgb, var(--ezp-theme-solid), transparent 45%);color:var(--ezp-white-100);display:-ms-flexbox;display:flex;height:84px;-ms-flex-pack:center;justify-content:center;width:84px}#cloud ezp-icon{--ezp-icon-size:40px;--ezp-icon-gridTemplate:40px}#dropzone-title{--ezp-label-fontSize:20px;--ezp-label-lineHeight:26px}#meta{-ms-flex-align:baseline;align-items:baseline;color:var(--ezp-core-foreground-secondary);display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:4px;-ms-flex-pack:center;justify-content:center}#browse{color:var(--ezp-theme-solid);cursor:pointer;opacity:var(--ezp-upload-browse-opacity, 1)}@media (hover: hover){#browse:hover{--ezp-upload-browse-opacity:0.6}}#formats{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--ezp-spacing-2);-ms-flex-pack:center;justify-content:center}.format{background:transparent;border:1px solid var(--ezp-core-outline);border-radius:999px;color:var(--ezp-core-foreground-secondary);font-size:12px;font-weight:600;letter-spacing:0.02em;line-height:1;padding:7px 14px}#thumbs{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--ezp-spacing-4);-ms-flex-pack:center;justify-content:center;max-height:40vh;overflow-y:auto;padding:var(--ezp-spacing-1);scrollbar-width:thin;width:100%}.thumb{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:6px;position:relative;width:88px}.thumb-icon{-ms-flex-align:center;align-items:center;background:var(--ezp-upload-gradient);border-radius:50%;color:var(--ezp-white-100);display:-ms-flexbox;display:flex;height:56px;-ms-flex-pack:center;justify-content:center;width:56px}.thumb-icon ezp-icon{--ezp-icon-size:26px;--ezp-icon-gridTemplate:26px}.thumb-name{--ezp-label-minWidth:0;max-width:100%}.thumb-meta{letter-spacing:0.02em}.thumb-remove{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-core-surface-tertiary);border:1px solid var(--ezp-core-outline);border-radius:50%;color:var(--ezp-core-foreground-secondary);cursor:pointer;display:-ms-flexbox;display:flex;height:20px;-ms-flex-pack:center;justify-content:center;padding:0;position:absolute;right:8px;top:-4px;-webkit-transition:color var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:color var(--ezp-duration-2) var(--ezp-easing-out-quart);width:20px;z-index:1}.thumb-remove ezp-icon{--ezp-icon-size:12px;--ezp-icon-gridTemplate:12px}@media (hover: hover){.thumb-remove:hover{color:var(--ezp-core-foreground-primary)}}.thumb-add{cursor:pointer}.thumb-add .thumb-add-icon{-ms-flex-align:center;align-items:center;border:1.5px dashed var(--ezp-core-foreground-tertiary);border-radius:50%;color:var(--ezp-core-foreground-secondary);display:-ms-flexbox;display:flex;height:56px;-ms-flex-pack:center;justify-content:center;-webkit-transition:border-color var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:border-color var(--ezp-duration-2) var(--ezp-easing-out-quart);width:56px}.thumb-add .thumb-add-icon ezp-icon{--ezp-icon-size:24px;--ezp-icon-gridTemplate:24px}@media (hover: hover){.thumb-add:hover .thumb-add-icon{border-color:var(--ezp-theme-solid);color:var(--ezp-theme-solid)}}#ready{color:var(--ezp-core-foreground-secondary);letter-spacing:0.08em;text-align:center;text-transform:uppercase}#footer{display:grid;gap:var(--ezp-spacing-3);grid-template-columns:1fr 1.4fr}.action{--ezp-textButton-borderRadius:999px;--ezp-textButton-padding:var(--ezp-spacing-4)}#continue{--ezp-textButton-background-init:var(--ezp-upload-gradient)}`;
39795
39839
 
39840
+ /** File formats advertised to the user as supported for printing. */
39841
+ const SUPPORTED_FORMATS = ['PDF', 'DOCX', 'PNG', 'JPG', 'XLSX'];
39796
39842
  const EzpUpload = class {
39797
39843
  constructor(hostRef) {
39798
39844
  index.registerInstance(this, hostRef);
39799
39845
  this.uploadFile = index.createEvent(this, "uploadFile", 7);
39846
+ this.uploadContinue = index.createEvent(this, "uploadContinue", 7);
39847
+ this.printCancel = index.createEvent(this, "printCancel", 7);
39800
39848
  /**
39801
39849
  *
39802
39850
  * States
@@ -39830,6 +39878,17 @@ const EzpUpload = class {
39830
39878
  this.input.value = '';
39831
39879
  }
39832
39880
  };
39881
+ this.handleCancel = () => {
39882
+ // Closing is the host's call: the event bubbles to `ezp-printing`, which
39883
+ // ends the print flow. It also reaches the document, where our own
39884
+ // `printCancel` listener resets the form and the selection.
39885
+ this.printCancel.emit();
39886
+ };
39887
+ this.handleContinue = () => {
39888
+ if (this.selectedFiles.length === 0)
39889
+ return;
39890
+ this.uploadContinue.emit(this.selectedFiles);
39891
+ };
39833
39892
  }
39834
39893
  connectedCallback() {
39835
39894
  this.unsubscribeLanguage = subscribeToLanguageChange(this);
@@ -39871,13 +39930,32 @@ const EzpUpload = class {
39871
39930
  (_a = this.form) === null || _a === void 0 ? void 0 : _a.reset();
39872
39931
  this.selectedFiles = [];
39873
39932
  }
39933
+ /** Extract a short, upper-cased file-type label from the file name. */
39934
+ fileType(name) {
39935
+ const extension = name.split('.').pop();
39936
+ return extension && extension !== name ? extension.toUpperCase() : instance.t('upload.file_type_fallback');
39937
+ }
39938
+ /** Human-readable file size (matches the mockup's "14.6 KB" style). */
39939
+ formatSize(bytes) {
39940
+ if (bytes < 1024)
39941
+ return `${bytes} B`;
39942
+ const units = ['KB', 'MB', 'GB'];
39943
+ let size = bytes / 1024;
39944
+ let unit = 0;
39945
+ while (size >= 1024 && unit < units.length - 1) {
39946
+ size /= 1024;
39947
+ unit++;
39948
+ }
39949
+ return `${size.toFixed(1)} ${units[unit]}`;
39950
+ }
39874
39951
  /**
39875
39952
  *
39876
39953
  * Render method
39877
39954
  *
39878
39955
  */
39879
39956
  render() {
39880
- return (index.h(index.Host, { key: '3ed4218a2085c92c782e460894149608b8bc4136', class: { dragging: this.dragging } }, index.h("form", { key: 'de62cb59d82367edc013683d54d55f1807a1d6c7', id: "form", ref: (form) => (this.form = form) }, index.h("div", { key: 'a6de2ece802087868d0b0a7bf28f60a058737c6c', id: "header" }, index.h("ezp-icon", { key: '6c0f86cbc078a47b0c8383d9e7a68ae4a3e19c47', name: "drag-drop", size: "huge", framed: true }), index.h("ezp-label", { key: '8ad91024fcdecb6dfe3821ac9d04b31c47b76496', weight: "strong", text: instance.t('upload.description') }), index.h("div", { key: '233ba9e003abc33cc7f95f3faba507a33fcc09f1', id: "meta" }, index.h("ezp-label", { key: 'e257eb18a98d5578f6476b81ffaef5813dcd2eda', level: "tertiary", text: instance.t('upload.meta_leading') }), index.h("label", { key: 'a7127233e97c89af6ab3d562dd909ff79b8122d5', htmlFor: "input", id: "select" }, index.h("ezp-label", { key: '5d4fa0a05a2e56377a6e6130cbfab206fff4dd29', level: "tertiary", weight: "strong", text: instance.t('upload.meta_select') })), index.h("input", { key: '7f3e8e45b58629176d4f41392d20dc30fd27b420', type: "file", name: "input", id: "input", multiple: true, "aria-label": instance.t('upload.description'), ref: (input) => (this.input = input), onInput: this.handleInput }), index.h("ezp-label", { key: '2ab851d12e712f3fdbbee0cea2f248ad8e7de807', level: "tertiary", text: instance.t('upload.meta_trailing') })), this.selectedFiles.length > 0 && (index.h(index.Fragment, null, index.h("ezp-label", { key: '12050e4b680fe14796af60bf526468dda308f439', level: "secondary", text: instance.t('upload.selected_files') }), index.h("div", { key: 'fbfcb67db6d426fe45a431dcaa15db43040f9c97', id: "file-list" }, this.selectedFiles.map((file, index$1) => (index.h("div", { key: index$1, class: "file-item" }, index.h("div", { class: "file-name" }, index.h("ezp-label", { level: "tertiary", text: file.name })), index.h("div", { class: "file-remove" }, index.h("ezp-icon-button", { icon: "close", type: "button", level: "tertiary", onClick: (event) => this.removeFile(event, index$1) }))))))))))));
39957
+ const hasFiles = this.selectedFiles.length > 0;
39958
+ return (index.h(index.Host, { key: '61f63c0ce2529b4389ca9adf6759cb67db742192', class: { dragging: this.dragging } }, index.h("form", { key: '141f9b3fcf32206b2dd9c96accf655fef46ba10a', id: "form", ref: (form) => (this.form = form) }, index.h("input", { key: '30a1215373e7a273cafac0e134cbc0e57b6449ed', type: "file", name: "input", id: "input", multiple: true, "aria-label": instance.t('upload.description'), ref: (input) => (this.input = input), onInput: this.handleInput }), index.h("div", { key: '60540452c32a1342ba48367926bb0a226bc982a4', id: "modal" }, index.h("div", { key: '753a4fa19493bc0d60516771015de92d51e26282', id: "dropzone" }, hasFiles && (index.h("div", { key: 'd45c25efdfca9724b867e1b1a6c44a199402f633', id: "thumbs" }, this.selectedFiles.map((file, index$1) => (index.h("div", { key: index$1, class: "thumb" }, index.h("button", { type: "button", class: "thumb-remove", "aria-label": instance.t('button_actions.close'), onClick: (event) => this.removeFile(event, index$1) }, index.h("ezp-icon", { name: "close" })), index.h("div", { class: "thumb-icon" }, index.h("ezp-icon", { name: "file" })), index.h("ezp-label", { class: "thumb-name", ellipsis: true, text: file.name }), index.h("ezp-label", { class: "thumb-meta", level: "tertiary", weight: "strong", text: `${this.fileType(file.name)} · ${this.formatSize(file.size)}` })))), index.h("label", { key: '17283f52957983344881fdbaf22ab7aa28dedc97', htmlFor: "input", class: "thumb thumb-add" }, index.h("div", { key: '9d686e95d2e001519c8915ce686ae3b250276da3', class: "thumb-add-icon" }, index.h("ezp-icon", { key: 'f18ba642f129379cadd5d71e42eabbe434808bee', name: "plus" })), index.h("ezp-label", { key: 'ef03b99760fd7eaf6acb5c9d8654d7f862122d19', class: "thumb-name", level: "tertiary", text: instance.t('upload.add_more') })))), !hasFiles && (index.h("div", { key: '805df3ed48bd701a325869ebe4bb33f372a440d6', id: "cloud" }, index.h("ezp-icon", { key: '3e9fda14d452ecce60f541fd77529d97745a2ff9', name: "cloud-upload" }))), index.h("ezp-label", { key: 'e2203efbc3769d4f093ddafbd74d4723b111d70e', id: "dropzone-title", weight: "heavy", text: instance.t('upload.dropzone_title') }), index.h("div", { key: '28e48fc98d28dfadfc5002ee95dd0f9f09588909', id: "meta" }, index.h("ezp-label", { key: 'd0a81fd2acf329510763faefb5ac8e7fcd99c67b', level: "secondary", text: instance.t('upload.meta_leading') }), index.h("label", { key: '8d253191678ebf9e5f664047144820ddebe4ca43', htmlFor: "input", id: "browse" }, index.h("ezp-label", { key: '408a1a75c704db3fc5cf7d282646cc2d2ab6719b', level: "secondary", weight: "strong", text: instance.t('upload.browse') })), index.h("ezp-label", { key: '53ac72da58256a38a5bb7a7b78ed545ffc6d12b2', level: "secondary", text: instance.t('upload.meta_multiple') })), index.h("div", { key: '1fc8eef07376aaa54f0b5e23577a3125d6d00317', id: "formats" }, SUPPORTED_FORMATS.map((format) => (index.h("span", { class: "format", key: format }, format))))), hasFiles && (index.h("ezp-label", { key: '6340632d7c3d98f4660294661f6b01d414a77567', id: "ready", level: "secondary", weight: "strong", text: instance.t('upload.files_ready', { count: this.selectedFiles.length }) })), index.h("div", { key: 'f146ff18286df2c422e1a17add49474d3ac5b32d', id: "footer" }, index.h("ezp-text-button", { key: '17916a9918fa1e9511ef9490839f24eee84694ef', type: "button", level: "secondary", onClick: this.handleCancel, label: instance.t('button_actions.cancel'), class: "action" }), index.h("ezp-text-button", { key: '15dfc3f01e6050316bd875020bc8ce062f621154', id: "continue", type: "button", disabled: !hasFiles, onClick: this.handleContinue, label: instance.t('upload.continue'), class: "action" }))))));
39881
39959
  }
39882
39960
  };
39883
39961
  EzpUpload.style = ezpUploadCss();
@@ -39967,7 +40045,7 @@ const EzpUserMenu = class {
39967
40045
  *
39968
40046
  */
39969
40047
  render() {
39970
- return (index.h(index.Host, { key: '76b6f86b18d8aab59578ab6a3ea25e4177ff6e54', class: this.open ? 'is-open' : '' }, index.h("div", { key: '4179c44a0477b59606ecb769453ccdfcda0c017b', id: "header" }, index.h("ezp-label", { key: 'ecb776a4c4c04eadae8599fa9d077238468fc809', ellipsis: true, id: "name", weight: "heavy", text: this.name }), index.h("ezp-icon-button", { key: 'fba99c75cee975801bdaeb861f41c8693a149843', id: "close", level: "tertiary", icon: "close", onClick: this.handleClose })), index.h("div", { key: '16028fe80eb8851891ec618900ce488718d0ad3b', id: "links" }, this.links.map((link) => (index.h("a", { class: "link", href: link.href, target: "_blank", rel: "noopener noreferrer" }, index.h("ezp-icon", { class: "link__icon", name: link.icon }), index.h("ezp-label", { text: link.title })))), index.h("a", { key: '7741d760a000a78eb96709a6ad87fa962efdc375', class: "link", onClick: this.logOut }, index.h("ezp-icon", { key: '33b280fcea4e039c5f0dd53f348ebf0400b97b64', class: "link__icon", name: "logout" }), index.h("ezp-label", { key: 'ccc22c5fbd9baaf5352a61ce845b3c98e8f83e7d', text: instance.t('user_menu.logout') }))), index.h("div", { key: 'a7dce7b1073af19ff90bdf1fabe214ac08c55003', id: "theme" }, index.h("ezp-label", { key: '66ba8c16a9c6183a577edc403074f9e3fcf55345', class: "caption", text: `${instance.t('user_menu.theme')}:`, weight: "heavy" }), index.h("div", { key: '1c6f931a3040d392720d0c7c1f7a9eee4114b935', id: "swatches" }, this.themes.map((theme) => (index.h("button", { class: `swatch swatch--${theme} ${theme === userStore.state.theme ? 'selected' : ''}`, onClick: () => this.handleTheme(theme) }, index.h("span", { class: "dot" })))))), index.h("div", { key: '1b771bbce7b7ea213ecd489e6a3e917aed8a845b', id: "appearance" }, index.h("ezp-label", { key: '8f1a96513260500a6ce3319f72b6ea2ca6a0794a', class: "caption", text: `${instance.t('user_menu.appearance')}:`, weight: "heavy" }), index.h("div", { key: '177a61b8f7210f6a90a36fc5bb9d4b23c64f2a10', id: "tabs" }, this.appearances.map((appearance) => (index.h("button", { class: `tab ${appearance.name === userStore.state.appearance ? 'selected' : ''}`, onClick: () => this.handleAppearance(appearance.name) }, index.h("ezp-icon", { name: appearance.name }), index.h("ezp-label", { text: appearance.title, level: "tertiary", weight: "strong" }))))))));
40048
+ return (index.h(index.Host, { key: '8f5dde2735c47dc8102ddd5a625e26f853b7b587', class: this.open ? 'is-open' : '' }, index.h("div", { key: 'e188d9ad63ade716adaace39718bb988bc4159c9', id: "header" }, index.h("ezp-label", { key: '53907b171c8eeb9ed7a4a1c2cbf22e233110328c', ellipsis: true, id: "name", weight: "heavy", text: this.name }), index.h("ezp-icon-button", { key: '8370bfe1563693c31ee712e5a84662f39ea55ec0', id: "close", level: "tertiary", icon: "close", onClick: this.handleClose })), index.h("div", { key: '1c34c655d43f7de3375caeeba156f9eb616c11e8', id: "links" }, this.links.map((link) => (index.h("a", { class: "link", href: link.href, target: "_blank", rel: "noopener noreferrer" }, index.h("ezp-icon", { class: "link__icon", name: link.icon }), index.h("ezp-label", { text: link.title })))), index.h("a", { key: '18bde718f8a7a480dd6cac365a306951f80028f5', class: "link", onClick: this.logOut }, index.h("ezp-icon", { key: '3f7ce8f3974b10a0ae866abd1f1371b652abe0b1', class: "link__icon", name: "logout" }), index.h("ezp-label", { key: '424e025c00b4cfe7638efbecd1680b8402a791e0', text: instance.t('user_menu.logout') }))), index.h("div", { key: 'b163718862a0f086fd674134847d845fa229c91c', id: "theme" }, index.h("ezp-label", { key: '6bb91ea03c727485d53df484ea465d103b1d1af4', class: "caption", text: `${instance.t('user_menu.theme')}:`, weight: "heavy" }), index.h("div", { key: 'c834c2421138fea1f497dec486664b3fd6f86b69', id: "swatches" }, this.themes.map((theme) => (index.h("button", { class: `swatch swatch--${theme} ${theme === userStore.state.theme ? 'selected' : ''}`, onClick: () => this.handleTheme(theme) }, index.h("span", { class: "dot" })))))), index.h("div", { key: 'c84c57f3662760967c876242a85719a89f087eb3', id: "appearance" }, index.h("ezp-label", { key: '9ea2300e84a4d6421f496d3a033a97689b6fc498', class: "caption", text: `${instance.t('user_menu.appearance')}:`, weight: "heavy" }), index.h("div", { key: '4718a7e9e71ebfeece0ccc2f9fe4ce94d703e08e', id: "tabs" }, this.appearances.map((appearance) => (index.h("button", { class: `tab ${appearance.name === userStore.state.appearance ? 'selected' : ''}`, onClick: () => this.handleAppearance(appearance.name) }, index.h("ezp-icon", { name: appearance.name }), index.h("ezp-label", { text: appearance.title, level: "tertiary", weight: "strong" }))))))));
39971
40049
  }
39972
40050
  get component() { return index.getElement(this); }
39973
40051
  static get watchers() { return {