@ezeep/ezeep-js 1.0.164 → 1.0.167

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 (64) hide show
  1. package/dist/cjs/ezeep.cjs.js +2 -2
  2. package/dist/cjs/ezp-auth_14.cjs.entry.js +78 -82
  3. package/dist/cjs/{index-baa7689a.js → index-0b159f85.js} +6 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/collection/components/ezp-auth/ezp-auth.css +2 -2
  6. package/dist/collection/components/ezp-auth/ezp-auth.js +25 -4
  7. package/dist/collection/components/ezp-backdrop/ezp-backdrop.css +1 -1
  8. package/dist/collection/components/ezp-dialog/ezp-dialog.css +5 -5
  9. package/dist/collection/components/ezp-icon/ezp-icon.css +1 -1
  10. package/dist/collection/components/ezp-icon-button/ezp-icon-button.css +16 -16
  11. package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.css +10 -9
  12. package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +30 -48
  13. package/dist/collection/components/ezp-printing/ezp-printing.css +203 -133
  14. package/dist/collection/components/ezp-printing/ezp-printing.js +20 -7
  15. package/dist/collection/components/ezp-select/ezp-select.css +21 -21
  16. package/dist/collection/components/ezp-select/ezp-select.js +5 -4
  17. package/dist/collection/components/ezp-status/ezp-status.css +7 -7
  18. package/dist/collection/components/ezp-status/ezp-status.js +2 -3
  19. package/dist/collection/components/ezp-stepper/ezp-stepper.css +12 -12
  20. package/dist/collection/components/ezp-text-button/ezp-text-button.css +14 -14
  21. package/dist/collection/components/ezp-upload/ezp-upload.css +6 -6
  22. package/dist/collection/components/ezp-upload/ezp-upload.js +9 -7
  23. package/dist/collection/components/ezp-user-menu/ezp-user-menu.css +33 -29
  24. package/dist/collection/components/ezp-user-menu/ezp-user-menu.js +1 -1
  25. package/dist/custom-elements/index.js +80 -84
  26. package/dist/directives/proxies.ts +2 -2
  27. package/dist/esm/ezeep.js +2 -2
  28. package/dist/esm/ezp-auth_14.entry.js +78 -82
  29. package/dist/esm/{index-18d4bf15.js → index-13f75d28.js} +6 -1
  30. package/dist/esm/loader.js +2 -2
  31. package/dist/esm-es5/ezeep.js +1 -1
  32. package/dist/esm-es5/ezp-auth_14.entry.js +3 -3
  33. package/dist/esm-es5/index-13f75d28.js +1 -0
  34. package/dist/esm-es5/loader.js +1 -1
  35. package/dist/ezeep/ezeep.esm.js +1 -1
  36. package/dist/ezeep/ezeep.js +1 -1
  37. package/dist/ezeep/p-16c7584d.system.js +1 -0
  38. package/dist/ezeep/p-17f25f95.js +1 -0
  39. package/dist/ezeep/{p-a78a89f7.system.entry.js → p-9ac499ef.system.entry.js} +3 -3
  40. package/{www/build/p-2bac1003.entry.js → dist/ezeep/p-a84d0e34.entry.js} +2 -2
  41. package/dist/ezeep/p-c04b764e.system.js +1 -0
  42. package/dist/types/components/ezp-auth/ezp-auth.d.ts +1 -0
  43. package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +1 -0
  44. package/dist/types/components/ezp-printing/ezp-printing.d.ts +1 -0
  45. package/dist/types/components/ezp-upload/ezp-upload.d.ts +2 -6
  46. package/dist/types/components.d.ts +2 -0
  47. package/dist/types/shared/types.d.ts +3 -2
  48. package/package.json +3 -1
  49. package/www/build/ezeep.esm.js +1 -1
  50. package/www/build/ezeep.js +1 -1
  51. package/www/build/p-16c7584d.system.js +1 -0
  52. package/www/build/p-17f25f95.js +1 -0
  53. package/www/build/{p-a78a89f7.system.entry.js → p-9ac499ef.system.entry.js} +3 -3
  54. package/{dist/ezeep/p-2bac1003.entry.js → www/build/p-a84d0e34.entry.js} +2 -2
  55. package/www/build/p-c04b764e.system.js +1 -0
  56. package/www/data/locales/en.json +3 -1
  57. package/www/index.html +8 -1
  58. package/dist/esm-es5/index-18d4bf15.js +0 -1
  59. package/dist/ezeep/p-80d5c308.system.js +0 -1
  60. package/dist/ezeep/p-d9b69b53.js +0 -1
  61. package/dist/ezeep/p-f96ca6a7.system.js +0 -1
  62. package/www/build/p-80d5c308.system.js +0 -1
  63. package/www/build/p-d9b69b53.js +0 -1
  64. package/www/build/p-f96ca6a7.system.js +0 -1
@@ -2929,6 +2929,7 @@ const printer_selection = {
2929
2929
  loading: "Loading My Printers…",
2930
2930
  print_processing: "Printing…",
2931
2931
  print_success: "Successfully printed.",
2932
+ pull_print_success: "Ready to be released.",
2932
2933
  print_failed: "Print failed",
2933
2934
  not_supported: "The selected file type is not supported.",
2934
2935
  prepare_upload: "Preparing…",
@@ -2962,7 +2963,8 @@ const button_actions = {
2962
2963
  print: "Print",
2963
2964
  cancel: "Cancel",
2964
2965
  close: "Close",
2965
- retry: "Retry"
2966
+ retry: "Retry",
2967
+ next: "Next"
2966
2968
  };
2967
2969
  const upload = {
2968
2970
  description: "Drop a file here into the browser ",
@@ -3171,7 +3173,7 @@ function sendCodeToParentWindow() {
3171
3173
  }
3172
3174
  }
3173
3175
 
3174
- const ezpAuthCss = ":host{--ezp-color-theme-solid:var(--ezp-color-cyan-solid);--ezp-color-theme-translucent:var(--ezp-color-cyan-translucent);display:block}";
3176
+ const ezpAuthCss = ":host{--ezp-theme-solid:var(--ezp-accent-cyan-solid);--ezp-theme-translucent:var(--ezp-accent-cyan-translucent);display:block}";
3175
3177
 
3176
3178
  let EzpAuth$1 = class extends HTMLElement {
3177
3179
  constructor() {
@@ -3207,6 +3209,11 @@ let EzpAuth$1 = class extends HTMLElement {
3207
3209
  then we load it in the already opened secondary window and then
3208
3210
  we bring such window back on top/in front of its parent window. */
3209
3211
  this.oauthPopupWindow = window.open(url, name, windowFeatures);
3212
+ if (!this.oauthPopupWindow ||
3213
+ this.oauthPopupWindow.closed ||
3214
+ typeof this.oauthPopupWindow.closed == 'undefined') {
3215
+ alert('popup blocked');
3216
+ }
3210
3217
  this.oauthPopupWindow.focus();
3211
3218
  }
3212
3219
  else {
@@ -3234,17 +3241,17 @@ let EzpAuth$1 = class extends HTMLElement {
3234
3241
  await this.auth.generateCodeChallenge(authStore.state.codeVerifier);
3235
3242
  this.auth.buildAuthURI();
3236
3243
  }
3237
- if (this.hidelogin) {
3244
+ if (this.hidelogin && this.trigger === 'button') {
3238
3245
  this.openSignInWindow(this.auth.authURI.toString(), 'ezeep Login');
3239
3246
  }
3240
3247
  }
3241
3248
  render() {
3242
- return this.hidelogin ? (h("ezp-status", { description: i18next.t('login_dialog.action'), processing: true, cancel: true })) : (h(Host, null, h("ezp-dialog", { heading: i18next.t('login_dialog.heading'), description: i18next.t('login_dialog.description'), action: i18next.t('login_dialog.action'), iconName: "logo", iconSize: "huge", iconFramed: false, instance: "login" })));
3249
+ return (h(Host, null, this.hidelogin && this.trigger === 'button' ? (h("ezp-status", { description: i18next.t('login_dialog.action'), processing: true, cancel: true })) : this.hidelogin && this.trigger === 'file' ? (h("ezp-text-button", { type: "button", level: "primary", onClick: () => this.openSignInWindow(this.auth.authURI.toString(), 'ezeep Login'), label: i18next.t('button_actions.next') })) : (h("ezp-dialog", { heading: i18next.t('login_dialog.heading'), description: i18next.t('login_dialog.description'), action: i18next.t('login_dialog.action'), iconName: "logo", iconSize: "huge", iconFramed: false, instance: "login" }))));
3243
3250
  }
3244
3251
  static get style() { return ezpAuthCss; }
3245
3252
  };
3246
3253
 
3247
- const ezpBackdropCss = ":host{-webkit-animation:var(--ezp-backdrop-animation-name, host-in) var(--ezp-duration-3) forwards var(--ezp-easing-out-quart);animation:var(--ezp-backdrop-animation-name, host-in) var(--ezp-duration-3) forwards var(--ezp-easing-out-quart);background:var(--ezp-color-overlay-primary);border-radius:6px;display:block;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:4}:host(.hide){--ezp-backdrop-animation-name:host-out}@-webkit-keyframes host-in{0%{opacity:0}100%{opacity:1}}@keyframes host-in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes host-out{0%{opacity:1}100%{opacity:0}}@keyframes host-out{0%{opacity:1}100%{opacity:0}}";
3254
+ const ezpBackdropCss = ":host{-webkit-animation:var(--ezp-backdrop-animation-name, host-in) var(--ezp-duration-3) forwards var(--ezp-easing-out-quart);animation:var(--ezp-backdrop-animation-name, host-in) var(--ezp-duration-3) forwards var(--ezp-easing-out-quart);background:var(--ezp-core-backdrop);border-radius:6px;display:block;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:4}:host(.hide){--ezp-backdrop-animation-name:host-out}@-webkit-keyframes host-in{0%{opacity:0}100%{opacity:1}}@keyframes host-in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes host-out{0%{opacity:1}100%{opacity:0}}@keyframes host-out{0%{opacity:1}100%{opacity:0}}";
3248
3255
 
3249
3256
  let EzpBackdrop$1 = class extends HTMLElement {
3250
3257
  constructor() {
@@ -3271,7 +3278,7 @@ let EzpBackdrop$1 = class extends HTMLElement {
3271
3278
  static get style() { return ezpBackdropCss; }
3272
3279
  };
3273
3280
 
3274
- const ezpDialogCss = ":host{--ezp-icon-fill:var(--ezp-color-theme-solid);-ms-flex-line-pack:center;align-content:center;background:var(--ezp-color-overlay-primary);display:grid;grid-template:auto/minmax(auto, 280px);height:100%;-ms-flex-pack:center;justify-content:center;left:0;position:fixed;top:0;width:100%}#box{background:var(--ezp-color-surface-tertiary);border-radius:6px;-webkit-box-shadow:var(--ezp-dialog-box-boxShadow, 0 0 0 1px var(--ezp-color-overlay-secondary));box-shadow:var(--ezp-dialog-box-boxShadow, 0 0 0 1px var(--ezp-color-overlay-secondary))}#header{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;padding:var(--ezp-spacing-2) var(--ezp-spacing-3)}#body{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-5);padding:0 var(--ezp-spacing-5);text-align:center}#text{color:var(--ezp-color-foreground-primary);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4)}#footer{display:grid;grid-template:auto/minmax(144px, auto);-ms-flex-pack:center;justify-content:center;padding:var(--ezp-spacing-5)}";
3281
+ const ezpDialogCss = ":host{--ezp-icon-fill:var(--ezp-theme-solid);-ms-flex-line-pack:center;align-content:center;background:var(--ezp-core-backdrop);display:grid;grid-template:auto/minmax(auto, 280px);height:100%;-ms-flex-pack:center;justify-content:center;left:0;position:fixed;top:0;width:100%}#box{background:var(--ezp-core-surface-tertiary);border-radius:6px;-webkit-box-shadow:var(--ezp-dialog-box-boxShadow, 0 0 0 1px var(--ezp-black-10));box-shadow:var(--ezp-dialog-box-boxShadow, 0 0 0 1px var(--ezp-black-10))}#header{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;padding:var(--ezp-spacing-2) var(--ezp-spacing-3)}#body{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-5);padding:0 var(--ezp-spacing-5);text-align:center}#text{color:var(--ezp-core-foreground-primary);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4)}#footer{display:grid;grid-template:auto/minmax(144px, auto);-ms-flex-pack:center;justify-content:center;padding:var(--ezp-spacing-5)}";
3275
3282
 
3276
3283
  let EzpDialog$1 = class extends HTMLElement {
3277
3284
  constructor() {
@@ -3313,7 +3320,7 @@ let EzpDialog$1 = class extends HTMLElement {
3313
3320
  static get style() { return ezpDialogCss; }
3314
3321
  };
3315
3322
 
3316
- const ezpIconCss = ":host{-ms-flex-line-pack:center;align-content:center;background:var(--ezp-icon-background, transparent);border-radius:var(--ezp-icon-borderRadius, 0);display:grid;grid-template:var(--ezp-icon-gridTemplate)/var(--ezp-icon-gridTemplate);height:var(--ezp-icon-height, var(--ezp-icon-size));-ms-flex-pack:center;justify-content:center;padding:var(--ezp-icon-padding, 0);width:var(--ezp-icon-width, var(--ezp-icon-size))}:host(.framed){--ezp-icon-background:var(--ezp-color-shade-primary);--ezp-icon-borderRadius:50%;--ezp-icon-padding:var(--ezp-icon-frame)}:host(.normal){--ezp-icon-size:18px;--ezp-icon-gridTemplate:24px;--ezp-icon-frame:var(--ezp-spacing-3)}:host(.large){--ezp-icon-size:36px;--ezp-icon-gridTemplate:48px;--ezp-icon-frame:var(--ezp-spacing-4)}:host(.huge){--ezp-icon-size:54px;--ezp-icon-gridTemplate:72px;--ezp-icon-frame:var(--ezp-spacing-5)}svg{display:block;fill:var(--ezp-icon-fill, currentColor);height:100%;width:100%}";
3323
+ const ezpIconCss = ":host{-ms-flex-line-pack:center;align-content:center;background:var(--ezp-icon-background, transparent);border-radius:var(--ezp-icon-borderRadius, 0);display:grid;grid-template:var(--ezp-icon-gridTemplate)/var(--ezp-icon-gridTemplate);height:var(--ezp-icon-height, var(--ezp-icon-size));-ms-flex-pack:center;justify-content:center;padding:var(--ezp-icon-padding, 0);width:var(--ezp-icon-width, var(--ezp-icon-size))}:host(.framed){--ezp-icon-background:var(--ezp-core-shade-primary);--ezp-icon-borderRadius:50%;--ezp-icon-padding:var(--ezp-icon-frame)}:host(.normal){--ezp-icon-size:18px;--ezp-icon-gridTemplate:24px;--ezp-icon-frame:var(--ezp-spacing-3)}:host(.large){--ezp-icon-size:36px;--ezp-icon-gridTemplate:48px;--ezp-icon-frame:var(--ezp-spacing-4)}:host(.huge){--ezp-icon-size:54px;--ezp-icon-gridTemplate:72px;--ezp-icon-frame:var(--ezp-spacing-5)}svg{display:block;fill:var(--ezp-icon-fill, currentColor);height:100%;width:100%}";
3317
3324
 
3318
3325
  let EzpIcon$1 = class extends HTMLElement {
3319
3326
  constructor() {
@@ -3350,7 +3357,7 @@ let EzpIcon$1 = class extends HTMLElement {
3350
3357
  static get style() { return ezpIconCss; }
3351
3358
  };
3352
3359
 
3353
- const ezpIconButtonCss = ":host{display:block}:host(.primary){--ezp-iconButton-background-disabled:var(--ezp-color-shade-primary);--ezp-iconButton-background-init:var(--ezp-color-theme-solid);--ezp-iconButton-color-disabled:var(--ezp-color-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-color-on-theme);--ezp-iconButton-opacity-active:0.74;--ezp-iconButton-opacity-hover:0.84}:host(.secondary){--ezp-iconButton-background-active:var(--ezp-color-shade-tertiary);--ezp-iconButton-background-disabled:var(--ezp-color-shade-primary);--ezp-iconButton-background-hover:var(--ezp-color-shade-secondary);--ezp-iconButton-background-init:var(--ezp-color-shade-primary);--ezp-iconButton-color-disabled:var(--ezp-color-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-color-theme-solid)}:host(.tertiary){--ezp-iconButton-background-active:var(--ezp-color-shade-secondary);--ezp-iconButton-background-hover:var(--ezp-color-shade-primary);--ezp-iconButton-background-init:transparent;--ezp-iconButton-color-disabled:var(--ezp-color-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-color-theme-solid)}:host(.quaternary){--ezp-iconButton-background-init:transparent;--ezp-iconButton-color-disabled:var(--ezp-color-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-color-theme-solid);--ezp-iconButton-opacity-active:0.58;--ezp-iconButton-opacity-hover:0.74}#button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-iconButton-background, var(--ezp-iconButton-background-init));border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;color:var(--ezp-iconButton-color, var(--ezp-iconButton-color-init));cursor:var(--ezp-iconButton-cursor, pointer);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:0;opacity:var(--ezp-iconButton-opacity, 1);outline:none;padding:var(--ezp-spacing-2)}@media (hover: hover){#button:not(:disabled):hover{--ezp-iconButton-background:var(\n --ezp-iconButton-background-hover,\n var(--ezp-iconButton-background-init)\n );--ezp-iconButton-opacity:var(--ezp-iconButton-opacity-hover, 1)}#button:not(:disabled):active{--ezp-iconButton-background:var(\n --ezp-iconButton-background-active,\n var(--ezp-iconButton-background-init)\n );--ezp-iconButton-opacity:var(--ezp-iconButton-opacity-active, 1)}}#button:disabled{--ezp-iconButton-background:var(\n --ezp-iconButton-background-disabled,\n var(--ezp-iconButton-background-init)\n );--ezp-iconButton-color:var(--ezp-iconButton-color-disabled);--ezp-iconButton-cursor:default}";
3360
+ const ezpIconButtonCss = ":host{display:block}:host(.primary){--ezp-iconButton-background-disabled:var(--ezp-core-shade-primary);--ezp-iconButton-background-init:var(--ezp-theme-solid);--ezp-iconButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-white-100);--ezp-iconButton-opacity-active:0.74;--ezp-iconButton-opacity-hover:0.84}:host(.secondary){--ezp-iconButton-background-active:var(--ezp-core-shade-tertiary);--ezp-iconButton-background-disabled:var(--ezp-core-shade-primary);--ezp-iconButton-background-hover:var(--ezp-core-shade-secondary);--ezp-iconButton-background-init:var(--ezp-core-shade-primary);--ezp-iconButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-theme-solid)}:host(.tertiary){--ezp-iconButton-background-active:var(--ezp-core-shade-secondary);--ezp-iconButton-background-hover:var(--ezp-core-shade-primary);--ezp-iconButton-background-init:transparent;--ezp-iconButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-theme-solid)}:host(.quaternary){--ezp-iconButton-background-init:transparent;--ezp-iconButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-theme-solid);--ezp-iconButton-opacity-active:0.58;--ezp-iconButton-opacity-hover:0.74}#button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-iconButton-background, var(--ezp-iconButton-background-init));border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;color:var(--ezp-iconButton-color, var(--ezp-iconButton-color-init));cursor:var(--ezp-iconButton-cursor, pointer);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:0;opacity:var(--ezp-iconButton-opacity, 1);outline:none;padding:var(--ezp-spacing-2)}@media (hover: hover){#button:not(:disabled):hover{--ezp-iconButton-background:var(\n --ezp-iconButton-background-hover,\n var(--ezp-iconButton-background-init)\n );--ezp-iconButton-opacity:var(--ezp-iconButton-opacity-hover, 1)}#button:not(:disabled):active{--ezp-iconButton-background:var(\n --ezp-iconButton-background-active,\n var(--ezp-iconButton-background-init)\n );--ezp-iconButton-opacity:var(--ezp-iconButton-opacity-active, 1)}}#button:disabled{--ezp-iconButton-background:var(\n --ezp-iconButton-background-disabled,\n var(--ezp-iconButton-background-init)\n );--ezp-iconButton-color:var(--ezp-iconButton-color-disabled);--ezp-iconButton-cursor:default}";
3354
3361
 
3355
3362
  let EzpIconButton$1 = class extends HTMLElement {
3356
3363
  constructor() {
@@ -32629,7 +32636,7 @@ const userStore = createStore({
32629
32636
  appearance: '',
32630
32637
  });
32631
32638
 
32632
- const ezpPrinterSelectionCss = ":host{-ms-flex-line-pack:center;align-content:center;background:var(--ezp-color-overlay-primary);display:grid;grid-template:auto/320px;height:100vh;-ms-flex-pack:center;justify-content:center;left:0;position:fixed;top:0;width:100vw}#box{background:var(--ezp-color-surface-tertiary);border-radius:6px;-webkit-box-shadow:var(--ezp-printerSelection-box-boxShadow, 0 0 0 1px var(--ezp-color-overlay-secondary));box-shadow:var(--ezp-printerSelection-box-boxShadow, 0 0 0 1px var(--ezp-color-overlay-secondary));position:relative}#header{border-radius:6px 6px 0 0;-webkit-box-shadow:var(--ezp-printerSelection-header-boxShadowPosition, 0 1px 0 0) var(--ezp-color-outline);box-shadow:var(--ezp-printerSelection-header-boxShadowPosition, 0 1px 0 0) var(--ezp-color-outline);color:var(--ezp-color-foreground-primary);display:grid;grid-column-gap:var(--ezp-spacing-1);grid-template-columns:auto 1fr auto;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-color-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-spacing-2)}#footer{border-radius:0 0 6px 6px;-webkit-box-shadow:var(--ezp-printerSelection-footer-boxShadowPosition, 0 -1px 0 0) var(--ezp-color-outline);box-shadow:var(--ezp-printerSelection-footer-boxShadowPosition, 0 -1px 0 0) var(--ezp-color-outline);display:grid;grid-column-gap:var(--ezp-spacing-2);grid-template-columns:repeat(2, 1fr);padding:var(--ezp-spacing-2);position:relative;z-index:3}";
32639
+ const ezpPrinterSelectionCss = ":host{-ms-flex-line-pack:center;align-content:center;background:var(--ezp-core-backdrop);display:grid;grid-template:auto/var(--ezp-printerSelection-width, 320px);height:100vh;-ms-flex-pack:center;justify-content:center;left:0;position:fixed;top:0;width:100vw;z-index:1}#box{background:var(--ezp-core-surface-tertiary);border-radius: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));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-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-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-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;grid-column-gap:var(--ezp-spacing-2);grid-template-columns:repeat(2, 1fr);padding:var(--ezp-spacing-2);position:relative;z-index:3}";
32633
32640
 
32634
32641
  let EzpPrinterSelection$1 = class extends HTMLElement {
32635
32642
  constructor() {
@@ -32682,11 +32689,11 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
32682
32689
  paper: '',
32683
32690
  paperid: '',
32684
32691
  color: false,
32685
- duplex: false,
32686
- duplexmode: '',
32687
- orientation: '',
32692
+ duplex: true,
32693
+ duplexmode: 1,
32694
+ orientation: 1,
32688
32695
  copies: '',
32689
- resolution: '',
32696
+ resolution: 0,
32690
32697
  };
32691
32698
  /**
32692
32699
  *
@@ -32706,9 +32713,10 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
32706
32713
  return false;
32707
32714
  };
32708
32715
  this.POLL_INTERVAL = 2000;
32709
- this.MAX_POLL_ATTEMPTS = 1000;
32716
+ this.MAX_POLL_ATTEMPTS = Infinity;
32710
32717
  /** Description... */
32711
32718
  this.handlePrint = async () => {
32719
+ this.printButton.blur();
32712
32720
  this.printProcessing = true;
32713
32721
  // we have to initialse this obj with empty strings to display the select component
32714
32722
  // but don't want to send any attributes with empty strings to the API
@@ -32835,7 +32843,7 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
32835
32843
  this.selectedPrinter = JSON.parse(localStorage.getItem('printer'));
32836
32844
  }
32837
32845
  else {
32838
- this.selectedPrinter = { id: '', location: '', name: '' };
32846
+ this.selectedPrinter = { id: '', location: '', name: '', is_queue: false };
32839
32847
  }
32840
32848
  }
32841
32849
  getUserInfo() {
@@ -32850,9 +32858,11 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
32850
32858
  case 'printer':
32851
32859
  this.selectedPrinter.id = eventDetails.id;
32852
32860
  this.selectedPrinter.name = eventDetails.title;
32861
+ this.selectedPrinter.is_queue = eventDetails.is_queue;
32853
32862
  await this.printService
32854
32863
  .getPrinterProperties(authStore.state.accessToken, this.selectedPrinter.id)
32855
32864
  .then((data) => (this.selectedPrinterConfig = data[0]));
32865
+ console.log(this.selectedPrinterConfig);
32856
32866
  this.setDefaultPaperFormat();
32857
32867
  break;
32858
32868
  case 'color':
@@ -32955,8 +32965,10 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
32955
32965
  else {
32956
32966
  format = 'A4';
32957
32967
  }
32958
- this.selectedProperties.paper = this.selectedPrinterConfig.PaperFormats.find((el) => el.Name.includes(format)).Name;
32959
- this.selectedProperties.paperid = this.selectedPrinterConfig.PaperFormats.find((el) => el.Name.includes(format)).Id;
32968
+ if (this.selectedPrinterConfig.PaperFormats.find((el) => el.Name.includes(format))) {
32969
+ this.selectedProperties.paper = this.selectedPrinterConfig.PaperFormats.find((el) => el.Name.includes(format)).Name;
32970
+ this.selectedProperties.paperid = this.selectedPrinterConfig.PaperFormats.find((el) => el.Name.includes(format)).Id;
32971
+ }
32960
32972
  }
32961
32973
  /**
32962
32974
  *
@@ -33013,18 +33025,15 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
33013
33025
  ? i18next.t('printer_selection.prepare_upload')
33014
33026
  : this.uploading
33015
33027
  ? i18next.t('printer_selection.uploading')
33016
- : i18next.t('printer_selection.print_processing'), instance: "print-processing", cancel: true })) : this.printSuccess ? (h("ezp-status", { icon: "checkmark-alt", description: i18next.t('printer_selection.print_success'), instance: "print-success", close: true })) : this.printFailed ? (h("ezp-status", { icon: "exclamation-mark", description: i18next.t('printer_selection.print_failed'), instance: "print-failed", close: true, retry: true })) : this.notSupported ? (h("ezp-status", { icon: "exclamation-mark", description: i18next.t('printer_selection.not_supported'), instance: "not-supported", retry: true })) : this.noPrinters ? (h("ezp-status", { icon: "exclamation-mark", description: i18next.t('printer_selection.no_printers'), instance: "no-printers", close: true })) : null)), h("div", { id: "header" }, h("ezp-label", { weight: "heavy", text: i18next.t('printer_selection.print') + `${!this.notSupported ? ':' : ''}` }), h("ezp-label", { text: !this.notSupported ? this.filename : '' }), !this.hidemenu && (h("ezp-icon-button", { level: "tertiary", icon: "menu", id: "toggle-menu", type: "button", onClick: this.handleUserMenu }))), h("div", { id: "body" }, h("div", { id: "printer" }, h("ezp-select", { label: i18next.t('printer_selection.printer'), icon: "printer", placeholder: this.printers.length > 0
33028
+ : i18next.t('printer_selection.print_processing'), instance: "print-processing", cancel: true })) : this.printSuccess ? (h("ezp-status", { icon: "checkmark-alt", description: i18next.t('printer_selection.print_success'), instance: "print-success", close: true })) : this.printSuccess && this.selectedPrinter.is_queue ? (h("ezp-status", { icon: "checkmark-alt", description: i18next.t('printer_selection.pull_print_success'), instance: "print-success", close: true })) : this.printFailed ? (h("ezp-status", { icon: "exclamation-mark", description: i18next.t('printer_selection.print_failed'), instance: "print-failed", close: true, retry: true })) : this.notSupported ? (h("ezp-status", { icon: "exclamation-mark", description: i18next.t('printer_selection.not_supported'), instance: "not-supported", retry: true })) : this.noPrinters ? (h("ezp-status", { icon: "exclamation-mark", description: i18next.t('printer_selection.no_printers'), instance: "no-printers", close: true })) : null)), h("div", { id: "header" }, h("ezp-label", { weight: "heavy", text: i18next.t('printer_selection.print') + `${!this.notSupported ? ':' : ''}` }), h("ezp-label", { text: !this.notSupported ? this.filename : '', ellipsis: true }), !this.hidemenu && (h("ezp-icon-button", { level: "tertiary", icon: "menu", id: "toggle-menu", type: "button", onClick: this.handleUserMenu }))), h("div", { id: "body" }, h("div", { id: "printer" }, h("ezp-select", { label: i18next.t('printer_selection.printer'), icon: "printer", placeholder: this.printers.length > 0
33017
33029
  ? i18next.t('printer_selection.select_printer')
33018
33030
  : i18next.t('printer_selection.no_printers'), toggleFlow: "vertical", optionFlow: "vertical", options: this.printers.map((printer) => ({
33019
33031
  id: printer.id,
33020
33032
  title: printer.name,
33021
- meta: printer.location !== ''
33022
- ? printer.location
33023
- : i18next.t('printer_selection.unknown_location'),
33033
+ meta: printer.location !== '' ? printer.location : '',
33024
33034
  type: 'printer',
33025
- })),
33026
- // preSelected={this.selectedPrinter ? this.selectedPrinter.name : null}
33027
- disabled: !(this.printers.length > 0) })), h("div", { id: "options" }, h("ezp-select", { label: i18next.t('printer_selection.color'), icon: "color", placeholder: i18next.t('printer_selection.select_color'), toggleFlow: "horizontal", options: this.selectedPrinterConfig.Color
33035
+ is_queue: printer.is_queue,
33036
+ })), preSelected: this.selectedPrinter.id ? this.selectedPrinter.name : null, disabled: !(this.printers.length > 0) })), h("div", { id: "options" }, h("ezp-select", { label: i18next.t('printer_selection.color'), icon: "color", placeholder: i18next.t('printer_selection.select_color'), toggleFlow: "horizontal", options: this.selectedPrinterConfig.Color
33028
33037
  ? [
33029
33038
  {
33030
33039
  id: 1,
@@ -33046,53 +33055,33 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
33046
33055
  meta: '',
33047
33056
  type: 'color',
33048
33057
  },
33049
- ],
33050
- // preSelected={
33051
- // this.selectedProperties.color
33052
- // ? i18next.t('printer_selection.color_color')
33053
- // : i18next.t('printer_selection.color_grayscale')
33054
- // }
33055
- disabled: !this.selectedPrinterConfig.Color }), h("ezp-select", { label: i18next.t('printer_selection.duplex'), icon: "duplex", placeholder: i18next.t('printer_selection.select_duplex'), toggleFlow: "horizontal", options: this.duplexOptions.map((option) => ({
33058
+ ], preSelected: this.selectedPrinter.id
33059
+ ? this.selectedProperties.color
33060
+ ? i18next.t('printer_selection.color_color')
33061
+ : i18next.t('printer_selection.color_grayscale')
33062
+ : null, disabled: !this.selectedPrinterConfig.Color }), h("ezp-select", { label: i18next.t('printer_selection.duplex'), icon: "duplex", placeholder: i18next.t('printer_selection.select_duplex'), toggleFlow: "horizontal", options: this.duplexOptions.map((option) => ({
33056
33063
  id: option.id,
33057
33064
  title: option.title,
33058
33065
  meta: '',
33059
33066
  type: 'duplex',
33060
- })),
33061
- // preSelected={
33062
- // this.selectedProperties.duplex
33063
- // ? this.duplexOptions.find(
33064
- // (option) => option.id === this.selectedProperties.duplexmode
33065
- // ).id
33066
- // : null
33067
- // }
33068
- disabled: !this.selectedPrinterConfig.DuplexSupported }), h("ezp-select", { label: i18next.t('printer_selection.size'), icon: "size", placeholder: i18next.t('printer_selection.select_size'), toggleFlow: "horizontal", optionFlow: "horizontal", options: this.selectedPrinterConfig.PaperFormats.map((format) => ({
33067
+ })), preSelected: this.selectedPrinter.id && this.selectedProperties.duplex
33068
+ ? this.duplexOptions.find((option) => option.id === this.selectedProperties.duplexmode).id
33069
+ : null, disabled: !this.selectedPrinterConfig.DuplexSupported }), h("ezp-select", { label: i18next.t('printer_selection.size'), icon: "size", placeholder: i18next.t('printer_selection.select_size'), toggleFlow: "horizontal", optionFlow: "horizontal", options: this.selectedPrinterConfig.PaperFormats.map((format) => ({
33069
33070
  id: format.Id,
33070
33071
  title: format.Name,
33071
33072
  meta: `${format.XRes} x ${format.YRes}`,
33072
33073
  type: 'format',
33073
- })),
33074
- // preSelected={this.selectedProperties.paper ? this.selectedProperties.paper : null}
33075
- disabled: !(this.selectedPrinterConfig.PaperFormats.length > 0) }), h("ezp-select", { label: i18next.t('printer_selection.orientation'), icon: "orientation", placeholder: i18next.t('printer_selection.select_orientation'), toggleFlow: "horizontal", options: this.selectedPrinterConfig.OrientationsSupported.map((orientation, index) => ({
33074
+ })), preSelected: this.selectedPrinter.id ? this.selectedProperties.paper : null, disabled: !(this.selectedPrinterConfig.PaperFormats.length > 0) }), h("ezp-select", { label: i18next.t('printer_selection.orientation'), icon: "orientation", placeholder: i18next.t('printer_selection.select_orientation'), toggleFlow: "horizontal", options: this.selectedPrinterConfig.OrientationsSupported.map((orientation, index) => ({
33076
33075
  id: index + 1,
33077
33076
  title: i18next.t(`printer_selection.orientation_${orientation}`),
33078
33077
  meta: '',
33079
33078
  type: 'orientation',
33080
- })),
33081
- // preSelected={
33082
- // this.selectedProperties.orientation
33083
- // ? this.selectedProperties.orientation
33084
- // : null
33085
- // }
33086
- disabled: !(this.selectedPrinterConfig.OrientationsSupported.length > 0) }), h("ezp-select", { label: i18next.t('printer_selection.quality'), icon: "quality", placeholder: i18next.t('printer_selection.select_quality'), toggleFlow: "horizontal", options: this.selectedPrinterConfig.Resolutions.map((option, index) => ({
33079
+ })), preSelected: this.selectedPrinter.id ? this.selectedProperties.orientation : null, disabled: !(this.selectedPrinterConfig.OrientationsSupported.length > 0) }), h("ezp-select", { label: i18next.t('printer_selection.quality'), icon: "quality", placeholder: i18next.t('printer_selection.select_quality'), toggleFlow: "horizontal", options: this.selectedPrinterConfig.Resolutions.map((option, index) => ({
33087
33080
  id: index,
33088
33081
  title: option,
33089
33082
  meta: '',
33090
33083
  type: 'quality',
33091
- })),
33092
- // preSelected={
33093
- // this.selectedProperties.resolution ? this.selectedProperties.resolution : null
33094
- // }
33095
- disabled: !(this.selectedPrinterConfig.Resolutions.length > 0) })), h("ezp-stepper", { label: i18next.t('printer_selection.copies'), max: 10, icon: "copies" })), h("div", { id: "footer" }, h("ezp-text-button", { type: "button", level: "secondary", onClick: this.handleCancel, label: i18next.t('button_actions.cancel') }), h("ezp-text-button", { disabled: this.selectedPrinter.id === '', type: "button", onClick: this.handlePrint, label: i18next.t('button_actions.print') })), !this.hidemenu && h("ezp-user-menu", { open: this.userMenuOpen, name: this.userName }))));
33084
+ })), preSelected: this.selectedPrinter.id ? this.selectedProperties.resolution : null, disabled: !(this.selectedPrinterConfig.Resolutions.length > 0) })), h("ezp-stepper", { label: i18next.t('printer_selection.copies'), max: 10, icon: "copies" })), h("div", { id: "footer" }, h("ezp-text-button", { type: "button", level: "secondary", onClick: this.handleCancel, label: i18next.t('button_actions.cancel') }), h("ezp-text-button", { disabled: this.selectedPrinter.id === '' || this.printProcessing, type: "button", onClick: this.handlePrint, label: i18next.t('button_actions.print'), ref: (button) => (this.printButton = button) })), !this.hidemenu && h("ezp-user-menu", { open: this.userMenuOpen, name: this.userName }))));
33096
33085
  }
33097
33086
  static get style() { return ezpPrinterSelectionCss; }
33098
33087
  };
@@ -33104,7 +33093,7 @@ const config = {
33104
33093
  printingApiHostUrl: printingApiHostUrl
33105
33094
  };
33106
33095
 
33107
- const ezpPrintingCss = ":host{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(.light){--ezp-color-pink-solid:#f23267;--ezp-color-red-solid:#f23b22;--ezp-color-orange-solid:#fe7200;--ezp-color-green-solid:#5d9200;--ezp-color-cyan-solid:#0091b4;--ezp-color-blue-solid:#4e81f3;--ezp-color-violet-solid:#ae5ef3;--ezp-color-pink-translucent:rgba(242, 50, 103, 0.16);--ezp-color-red-translucent:rgba(242, 59, 34, 0.16);--ezp-color-orange-translucent:rgba(254, 114, 0, 0.16);--ezp-color-green-translucent:rgba(93, 146, 0, 0.16);--ezp-color-cyan-translucent:rgba(0, 145, 180, 0.16);--ezp-color-blue-translucent:rgba(78, 129, 243, 0.16);--ezp-color-violet-translucent:rgba(174, 94, 243, 0.16);--ezp-color-on-theme:white;--ezp-color-surface-primary:white;--ezp-color-surface-secondary:#f3f3f3;--ezp-color-surface-tertiary:white;--ezp-color-shade-primary:rgba(139, 139, 139, 0.1);--ezp-color-shade-secondary:rgba(139, 139, 139, 0.16);--ezp-color-shade-tertiary:rgba(139, 139, 139, 0.22);--ezp-color-foreground-primary:rgba(0, 0, 0, 0.94);--ezp-color-foreground-secondary:rgba(62, 62, 62, 0.68);--ezp-color-foreground-tertiary:rgba(62, 62, 62, 0.42);--ezp-color-outline:rgba(99, 99, 99, 0.16);--ezp-color-overlay-primary:rgba(0, 0, 0, 0.26);--ezp-color-overlay-secondary:rgba(0, 0, 0, 0.16);--ezp-color-shadow:rgba(0, 0, 0, 0.06)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.light){--ezp-color-pink-solid:color(display-p3 0.949 0.196 0.404/100%);--ezp-color-red-solid:color(display-p3 0.949 0.231 0.133/100%);--ezp-color-orange-solid:color(display-p3 0.996 0.447 0/100%);--ezp-color-green-solid:color(display-p3 0.365 0.573 0/100%);--ezp-color-cyan-solid:color(display-p3 0 0.569 0.706/100%);--ezp-color-blue-solid:color(display-p3 0.306 0.506 0.953/100%);--ezp-color-violet-solid:color(display-p3 0.682 0.369 0.953/100%);--ezp-color-pink-translucent:color(display-p3 0.949 0.196 0.404/16%);--ezp-color-red-translucent:color(display-p3 0.949 0.231 0.133/16%);--ezp-color-orange-translucent:color(display-p3 0.996 0.447 0/16%);--ezp-color-green-translucent:color(display-p3 0.365 0.573 0/16%);--ezp-color-cyan-translucent:color(display-p3 0 0.569 0.706/16%);--ezp-color-blue-translucent:color(display-p3 0.306 0.506 0.953/16%);--ezp-color-violet-translucent:color(display-p3 0.682 0.369 0.953/16%);--ezp-color-on-theme:color(display-p3 1 1 1/100%);--ezp-color-surface-primary:color(display-p3 1 1 1/100%);--ezp-color-surface-secondary:color(display-p3 0.953 0.953 0.953/100%);--ezp-color-surface-tertiary:color(display-p3 1 1 1/100%);--ezp-color-shade-primary:color(display-p3 0.545 0.545 0.545/10%);--ezp-color-shade-secondary:color(display-p3 0.545 0.545 0.545/16%);--ezp-color-shade-tertiary:color(display-p3 0.545 0.545 0.545/22%);--ezp-color-foreground-primary:color(display-p3 0 0 0/94%);--ezp-color-foreground-secondary:color(display-p3 0.243 0.243 0.243/68%);--ezp-color-foreground-tertiary:color(display-p3 0.243 0.243 0.243/42%);--ezp-color-outline:color(display-p3 0.388 0.388 0.388/16%);--ezp-color-overlay-primary:color(display-p3 0 0 0/26%);--ezp-color-overlay-secondary:color(display-p3 0 0 0/16%);--ezp-color-shadow:color(display-p3 0 0 0/6%)}}}:host(.dark){--ezp-dialog-box-boxShadow:inset 0 0 0 1px var(--ezp-color-outline),\n 0 0 0 1px var(--ezp-color-overlay-secondary);--ezp-printerSelection-body-boxShadow:inset 1px 0 0 0 var(--ezp-color-outline),\n inset -1px 0 0 0 var(--ezp-color-outline);--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-boxShadowPosition:inset 0 0 0 1px;--ezp-stepper-boxShadowPosition:inset 0 0 0 1px;--ezp-userMenu-boxShadowPosition:inset 0 0 0 1px;--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}:host(.dark){--ezp-color-pink-solid:#ff4171;--ezp-color-red-solid:#ff482c;--ezp-color-orange-solid:#ff811c;--ezp-color-green-solid:#679c15;--ezp-color-cyan-solid:#209bbf;--ezp-color-blue-solid:#5b8bff;--ezp-color-violet-solid:#ba69ff;--ezp-color-pink-translucent:rgba(255, 65, 113, 0.26);--ezp-color-red-translucent:rgba(255, 72, 44, 0.26);--ezp-color-orange-translucent:rgba(255, 129, 28, 0.26);--ezp-color-green-translucent:rgba(103, 156, 21, 0.26);--ezp-color-cyan-translucent:rgba(32, 155, 191, 0.26);--ezp-color-blue-translucent:rgba(91, 139, 255, 0.26);--ezp-color-violet-translucent:rgba(186, 105, 255, 0.26);--ezp-color-on-theme:white;--ezp-color-surface-primary:black;--ezp-color-surface-secondary:#1b1b1b;--ezp-color-surface-tertiary:#282828;--ezp-color-shade-primary:rgba(99, 99, 99, 0.26);--ezp-color-shade-secondary:rgba(99, 99, 99, 0.32);--ezp-color-shade-tertiary:rgba(99, 99, 99, 0.38);--ezp-color-foreground-primary:rgba(255, 255, 255, 0.94);--ezp-color-foreground-secondary:rgba(182, 182, 182, 0.68);--ezp-color-foreground-tertiary:rgba(182, 182, 182, 0.42);--ezp-color-outline:rgba(139, 139, 139, 0.26);--ezp-color-overlay-primary:rgba(0, 0, 0, 0.68);--ezp-color-overlay-secondary:rgba(0, 0, 0, 0.42);--ezp-color-shadow:rgba(0, 0, 0, 0.1)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.dark){--ezp-color-pink-solid:color(display-p3 1 0.255 0.443/100%);--ezp-color-red-solid:color(display-p3 1 0.282 0.173/100%);--ezp-color-orange-solid:color(display-p3 1 0.506 0.11/100%);--ezp-color-green-solid:color(display-p3 0.404 0.612 0.082/100%);--ezp-color-cyan-solid:color(display-p3 0.125 0.608 0.749/100%);--ezp-color-blue-solid:color(display-p3 0.357 0.545 1/100%);--ezp-color-violet-solid:color(display-p3 0.729 0.412 1/100%);--ezp-color-pink-translucent:color(display-p3 1 0.255 0.443/26%);--ezp-color-red-translucent:color(display-p3 1 0.282 0.173/26%);--ezp-color-orange-translucent:color(display-p3 1 0.506 0.11/26%);--ezp-color-green-translucent:color(display-p3 0.404 0.612 0.082/26%);--ezp-color-cyan-translucent:color(display-p3 0.125 0.608 0.749/26%);--ezp-color-blue-translucent:color(display-p3 0.357 0.545 1/26%);--ezp-color-violet-translucent:color(display-p3 0.729 0.412 1/26%);--ezp-color-on-theme:color(display-p3 1 1 1/100%);--ezp-color-surface-primary:color(display-p3 0 0 0/100%);--ezp-color-surface-secondary:color(display-p3 0.106 0.106 0.106/100%);--ezp-color-surface-tertiary:color(display-p3 0.157 0.157 0.157/100%);--ezp-color-shade-primary:color(display-p3 0.388 0.388 0.388/26%);--ezp-color-shade-secondary:color(display-p3 0.388 0.388 0.388/32%);--ezp-color-shade-tertiary:color(display-p3 0.388 0.388 0.388/38%);--ezp-color-foreground-primary:color(display-p3 1 1 1/94%);--ezp-color-foreground-secondary:color(display-p3 0.714 0.714 0.714/68%);--ezp-color-foreground-tertiary:color(display-p3 0.714 0.714 0.714/42%);--ezp-color-outline:color(display-p3 0.545 0.545 0.545/26%);--ezp-color-overlay-primary:color(display-p3 0 0 0/68%);--ezp-color-overlay-secondary:color(display-p3 0 0 0/42%);--ezp-color-shadow:color(display-p3 0 0 0/10%)}}}:host(.blue){--ezp-color-theme-solid:var(--ezp-color-blue-solid);--ezp-color-theme-translucent:var(--ezp-color-blue-translucent)}:host(.cyan){--ezp-color-theme-solid:var(--ezp-color-cyan-solid);--ezp-color-theme-translucent:var(--ezp-color-cyan-translucent)}:host(.green){--ezp-color-theme-solid:var(--ezp-color-green-solid);--ezp-color-theme-translucent:var(--ezp-color-green-translucent)}:host(.orange){--ezp-color-theme-solid:var(--ezp-color-orange-solid);--ezp-color-theme-translucent:var(--ezp-color-orange-translucent)}:host(.pink){--ezp-color-theme-solid:var(--ezp-color-pink-solid);--ezp-color-theme-translucent:var(--ezp-color-pink-translucent)}:host(.red){--ezp-color-theme-solid:var(--ezp-color-red-solid);--ezp-color-theme-translucent:var(--ezp-color-red-translucent)}:host(.violet){--ezp-color-theme-solid:var(--ezp-color-violet-solid);--ezp-color-theme-translucent:var(--ezp-color-violet-translucent)}";
33096
+ 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:black}: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:white}:host{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(.light){--ezp-accent-pink-solid:#f23267;--ezp-accent-pink-solid-alt:#df1559;--ezp-accent-pink-translucent:rgba(242, 50, 103, 0.16);--ezp-accent-red-solid:#f23b22;--ezp-accent-red-solid-alt:#de2313;--ezp-accent-red-translucent:rgba(242, 59, 34, 0.16);--ezp-accent-orange-solid:#fe7200;--ezp-accent-orange-solid-alt:#f56200;--ezp-accent-orange-translucent:rgba(254, 114, 0, 0.16);--ezp-accent-yellow-solid:#ffa200;--ezp-accent-yellow-solid-alt:#fe9000;--ezp-accent-yellow-translucent:rgba(255, 162, 0, 0.16);--ezp-accent-green-solid:#5d9200;--ezp-accent-green-solid-alt:#518100;--ezp-accent-green-translucent:rgba(93, 146, 0, 0.16);--ezp-accent-teal-solid:#00967c;--ezp-accent-teal-solid-alt:#00846e;--ezp-accent-teal-translucent:rgba(0, 150, 124, 0.16);--ezp-accent-cyan-solid:#0091b4;--ezp-accent-cyan-solid-alt:#0080a0;--ezp-accent-cyan-translucent:rgba(0, 145, 180, 0.16);--ezp-accent-blue-solid:#5081f1;--ezp-accent-blue-solid-alt:#3b72df;--ezp-accent-blue-translucent:rgba(80, 129, 241, 0.16);--ezp-accent-violet-solid:#ae5ef3;--ezp-accent-violet-solid-alt:#9d4ee2;--ezp-accent-violet-translucent:rgba(174, 94, 243, 0.16);--ezp-core-surface-primary:white;--ezp-core-surface-secondary:#f3f3f3;--ezp-core-surface-tertiary:white;--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-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-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-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-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-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-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-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-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-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%)}}}@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-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-accent-pink-solid:#ff4171;--ezp-accent-pink-translucent:rgba(255, 65, 113, 0.26);--ezp-accent-red-solid:#ff482c;--ezp-accent-red-translucent:rgba(255, 72, 44, 0.26);--ezp-accent-orange-solid:#ff811c;--ezp-accent-orange-translucent:rgba(255, 129, 28, 0.26);--ezp-accent-yellow-solid:#ffaf3a;--ezp-accent-yellow-translucent:rgba(255, 175, 58, 0.26);--ezp-accent-green-solid:#679c15;--ezp-accent-green-translucent:rgba(103, 156, 21, 0.26);--ezp-accent-teal-solid:#1da086;--ezp-accent-teal-translucent:rgba(29, 160, 134, 0.26);--ezp-accent-cyan-solid:#209bbf;--ezp-accent-cyan-translucent:rgba(32, 155, 191, 0.26);--ezp-accent-blue-solid:#5d8bfd;--ezp-accent-blue-translucent:rgba(93, 139, 253, 0.26);--ezp-accent-violet-solid:#ba69ff;--ezp-accent-violet-translucent:rgba(186, 105, 255, 0.26);--ezp-core-surface-primary:black;--ezp-core-surface-secondary:#1b1b1b;--ezp-core-surface-tertiary:#282828;--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-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-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-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-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-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-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-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-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-violet-solid:color(display-p3 0.729 0.412 1/100%);--ezp-accent-violet-translucent:color(display-p3 0.729 0.412 1/26%)}}}@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-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(.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)}";
33108
33097
 
33109
33098
  let EzpPrinting$1 = class extends HTMLElement {
33110
33099
  constructor() {
@@ -33124,6 +33113,7 @@ let EzpPrinting$1 = class extends HTMLElement {
33124
33113
  /** Description... */
33125
33114
  this.printOpen = false;
33126
33115
  this.authOpen = false;
33116
+ this.onlyGetSasUri = false;
33127
33117
  this.noDocumentOpen = false;
33128
33118
  }
33129
33119
  /**
@@ -33144,7 +33134,11 @@ let EzpPrinting$1 = class extends HTMLElement {
33144
33134
  this.authOpen = false;
33145
33135
  }
33146
33136
  listenAuthSuccess() {
33147
- if (this.filename != '') {
33137
+ if (this.onlyGetSasUri) {
33138
+ this.printOpen = false;
33139
+ this.onlyGetSasUri = false;
33140
+ }
33141
+ else if (this.filename != '') {
33148
33142
  this.printOpen = true;
33149
33143
  }
33150
33144
  else {
@@ -33193,11 +33187,16 @@ let EzpPrinting$1 = class extends HTMLElement {
33193
33187
  this.printOpen = false;
33194
33188
  }
33195
33189
  async getSasUri() {
33190
+ this.onlyGetSasUri = true;
33196
33191
  const printService = new EzpPrintService(this.redirecturi, this.clientid);
33197
- const response = await printService.prepareFileUpload(authStore.state.accessToken)
33198
- .catch(() => this.open());
33199
- const sasUri = response.sasUri;
33200
- return sasUri;
33192
+ let response = await printService.prepareFileUpload(authStore.state.accessToken).catch(() => {
33193
+ this.open();
33194
+ return null;
33195
+ });
33196
+ if (response) {
33197
+ const sasUri = response.sasUri;
33198
+ return sasUri;
33199
+ }
33201
33200
  }
33202
33201
  checkAuth() {
33203
33202
  const printService = new EzpPrintService(this.redirecturi, this.clientid);
@@ -33266,12 +33265,12 @@ let EzpPrinting$1 = class extends HTMLElement {
33266
33265
  render() {
33267
33266
  return (h(Host, { class: `${userStore.state.theme} ${userStore.state.appearance === 'system'
33268
33267
  ? this.systemAppearance
33269
- : userStore.state.appearance}` }, this.authOpen ? (h("ezp-auth", { clientID: this.clientid, redirectURI: this.redirecturi, hidelogin: this.hidelogin })) : this.printOpen ? (h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype, fileid: this.fileid, file: this.file, hidemenu: this.hidemenu })) : this.noDocumentOpen ? (h("ezp-dialog", { heading: i18next.t('no_document_dialog.heading'), description: i18next.t('no_document_dialog.description'), action: i18next.t('no_document_dialog.action'), iconName: "question-mark", instance: "no-document-selected" })) : this.trigger === 'custom' ? (h("slot", null)) : this.trigger === 'file' ? (h("ezp-upload", null)) : (this.trigger === 'button' && (h("ezp-icon-button", { id: "print-trigger", icon: "printer", slot: "trigger", type: "button", onClick: () => this.open() })))));
33268
+ : userStore.state.appearance}` }, this.authOpen ? (h("ezp-auth", { clientID: this.clientid, redirectURI: this.redirecturi, hidelogin: this.hidelogin, trigger: this.trigger })) : this.printOpen ? (h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype, fileid: this.fileid, file: this.file, hidemenu: this.hidemenu })) : this.noDocumentOpen ? (h("ezp-dialog", { heading: i18next.t('no_document_dialog.heading'), description: i18next.t('no_document_dialog.description'), action: i18next.t('no_document_dialog.action'), iconName: "question-mark", instance: "no-document-selected" })) : null, this.trigger === 'custom' ? (h("slot", null)) : this.trigger === 'file' ? (h("ezp-upload", null)) : (this.trigger === 'button' && (h("ezp-icon-button", { id: "print-trigger", icon: "printer", slot: "trigger", type: "button", onClick: () => this.open() })))));
33270
33269
  }
33271
33270
  static get style() { return ezpPrintingCss; }
33272
33271
  };
33273
33272
 
33274
- 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-color-theme-solid);--ezp-select-transition:z-index 0s 0s;--ezp-select-zIndex:9999;--ezp-select-icon-color:var(--ezp-color-theme-solid);--ezp-select-label-color:var(--ezp-color-theme-solid);--ezp-select-wrap-borderRadius:3px}:host(.disabled){--ezp-select-accessory-color:var(--ezp-color-foreground-tertiary);--ezp-select-icon-color:var(--ezp-color-foreground-tertiary);--ezp-select-label-color:var(--ezp-color-foreground-tertiary);--ezp-select-toggle-background-hover:transparent;--ezp-select-toggle-cursor:default;--value-color:var(--ezp-color-foreground-tertiary)}#wrap{background:var(--ezp-color-surface-tertiary);border-radius:var(--ezp-select-wrap-borderRadius, 0);-webkit-box-shadow:var(--ezp-select-wrap-boxShadowPositionTop, 0 -1px 0 0) var(--ezp-color-outline), var(--ezp-select-wrap-boxShadowPositionRight, 1px 0 0 0) var(--ezp-color-outline), var(--ezp-select-wrap-boxShadowPositionBottom, 0 1px 0 0) var(--ezp-color-outline), var(--ezp-select-wrap-boxShadowPositionLeft, -1px 0 0 0) var(--ezp-color-outline);box-shadow:var(--ezp-select-wrap-boxShadowPositionTop, 0 -1px 0 0) var(--ezp-color-outline), var(--ezp-select-wrap-boxShadowPositionRight, 1px 0 0 0) var(--ezp-color-outline), var(--ezp-select-wrap-boxShadowPositionBottom, 0 1px 0 0) var(--ezp-color-outline), var(--ezp-select-wrap-boxShadowPositionLeft, -1px 0 0 0) var(--ezp-color-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(\n --ezp-select-toggle-background-hover,\n var(--ezp-color-shade-primary)\n )}#icon{align-self:center;color:var(--ezp-select-icon-color, var(--ezp-color-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-color-foreground-secondary));grid-area:label}#value{align-self:var(--ezp-select-value-alignSelf, auto);color:var(--value-color, var(--ezp-color-foreground-primary));grid-area:value}#accessory{align-self:center;color:var(--ezp-select-accessory-color, var(--ezp-color-foreground-secondary));grid-area:accessory;margin:calc(var(--ezp-spacing-2) * -1) 0}#list{-webkit-box-shadow:inset 0 1px 0 0 var(--ezp-color-outline);box-shadow:inset 0 1px 0 0 var(--ezp-color-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-color-outline)}.option:hover{--ezp-select-option-background:var(--ezp-color-shade-primary)}.option:active{--ezp-select-option-background:var(--ezp-color-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)\n var(--ezp-easing-out-quart),\n 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-color-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-color-foreground-primary)}.meta{-ms-flex-item-align:end;align-self:end;color:var(--ezp-color-foreground-secondary)}";
33273
+ 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(\n --ezp-select-toggle-background-hover,\n var(--ezp-core-shade-primary)\n )}#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)\n var(--ezp-easing-out-quart),\n 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)}";
33275
33274
 
33276
33275
  let EzpSelect$1 = class extends HTMLElement {
33277
33276
  constructor() {
@@ -33328,8 +33327,6 @@ let EzpSelect$1 = class extends HTMLElement {
33328
33327
  const delay = this.selected.id === id ? 0 : this.duration * 1000;
33329
33328
  this.selected = this.options.find((option) => option.id === id);
33330
33329
  this.selectSelection.emit(this.selected);
33331
- // console.log('ezp-select:')
33332
- // console.log(this.selected)
33333
33330
  window.setTimeout(() => {
33334
33331
  this.toggle();
33335
33332
  }, delay);
@@ -33380,7 +33377,7 @@ let EzpSelect$1 = class extends HTMLElement {
33380
33377
  this.backdrop.addEventListener('backdropHideEnd', () => {
33381
33378
  this.container.removeChild(this.backdrop);
33382
33379
  });
33383
- if (this.preSelected) {
33380
+ if (this.preSelected !== undefined && this.preSelected !== '' && this.preSelected !== null) {
33384
33381
  this.preSelect();
33385
33382
  }
33386
33383
  }
@@ -33390,7 +33387,10 @@ let EzpSelect$1 = class extends HTMLElement {
33390
33387
  this.duration = parseFloat(styles.getPropertyValue('--ezp-select-duration'));
33391
33388
  }
33392
33389
  componentWillUpdate() {
33393
- if (!this.selected.id && this.preSelected) {
33390
+ if (this.selected.id === false &&
33391
+ this.preSelected !== undefined &&
33392
+ this.preSelected !== '' &&
33393
+ this.preSelected !== null) {
33394
33394
  this.preSelect();
33395
33395
  }
33396
33396
  }
@@ -33421,7 +33421,7 @@ let EzpSelect$1 = class extends HTMLElement {
33421
33421
  static get style() { return ezpSelectCss; }
33422
33422
  };
33423
33423
 
33424
- const ezpStatusCss = ":host{-ms-flex-align:center;align-items:center;background:var(--ezp-color-overlay-primary);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-color-theme-solid);-ms-flex-align:center;align-items:center;background:var(--ezp-color-surface-tertiary);border-radius:3px;-webkit-box-shadow:var(--ezp-status-box-boxShadowPosition, 0 0 0 1px) var(--ezp-color-outline);box-shadow:var(--ezp-status-box-boxShadowPosition, 0 0 0 1px) var(--ezp-color-outline);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-color-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-color-theme-solid);stroke-dasharray:110;stroke-dashoffset:110;stroke-linecap:round;stroke-width:4px}#description{color:var(--ezp-color-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)}}";
33424
+ const ezpStatusCss = ":host{-ms-flex-align:center;align-items:center;background:var(--ezp-core-backdrop);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)}}";
33425
33425
 
33426
33426
  let EzpStatus$1 = class extends HTMLElement {
33427
33427
  constructor() {
@@ -33466,12 +33466,12 @@ let EzpStatus$1 = class extends HTMLElement {
33466
33466
  *
33467
33467
  */
33468
33468
  render() {
33469
- return (h(Host, null, h("div", { id: "box" }, this.processing ? (h("svg", { id: "indicator", viewBox: "0 0 42 42", xmlns: "http://www.w3.org/2000/svg" }, h("circle", { id: "track", cx: "21", cy: "21", r: "18" }), h("circle", { id: "value", cx: "21", cy: "21", r: "18" }))) : this.icon ? (h("ezp-icon", { name: this.icon, framed: true })) : null, h("ezp-label", { id: "description", level: "tertiary", weight: "strong", text: this.description }), h("div", { id: "footer" }, this.cancel && (h("ezp-text-button", { level: "secondary", small: true, onClick: this.handleCancel, label: typeof this.cancel === 'string' ? this.cancel : i18next.t('button_actions.cancel') })), this.close && (h("ezp-text-button", { level: this.retry ? 'secondary' : 'primary', small: true, onClick: this.handleClose, label: typeof this.close === 'string' ? this.close : i18next.t('button_actions.close') })), this.retry && (h("ezp-text-button", { level: "primary", small: true, onClick: this.handleRetry, label: typeof this.retry === 'string' ? this.retry : i18next.t('button_actions.retry') })), h("slot", null)))));
33469
+ return (h(Host, null, h("div", { id: "box" }, this.processing ? (h("svg", { id: "indicator", viewBox: "0 0 42 42", xmlns: "http://www.w3.org/2000/svg" }, h("circle", { id: "track", cx: "21", cy: "21", r: "18" }), h("circle", { id: "value", cx: "21", cy: "21", r: "18" }))) : this.icon ? (h("ezp-icon", { name: this.icon, framed: true })) : null, h("ezp-label", { id: "description", level: "tertiary", weight: "strong", text: this.description }), (this.cancel || this.close || this.retry) && (h("div", { id: "footer" }, this.cancel && (h("ezp-text-button", { level: "secondary", small: true, onClick: this.handleCancel, label: typeof this.cancel === 'string' ? this.cancel : i18next.t('button_actions.cancel') })), this.close && (h("ezp-text-button", { level: this.retry ? 'secondary' : 'primary', small: true, onClick: this.handleClose, label: typeof this.close === 'string' ? this.close : i18next.t('button_actions.close') })), this.retry && (h("ezp-text-button", { level: "primary", small: true, onClick: this.handleRetry, label: typeof this.retry === 'string' ? this.retry : i18next.t('button_actions.retry') })))))));
33470
33470
  }
33471
33471
  static get style() { return ezpStatusCss; }
33472
33472
  };
33473
33473
 
33474
- const ezpStepperCss = ":host{-ms-flex-align:center;align-items:center;background:var(--ezp-color-surface-tertiary);border-radius:3px;-webkit-box-shadow:var(--ezp-stepper-boxShadowPosition, 0 0 0 1px) var(--ezp-color-outline);box-shadow:var(--ezp-stepper-boxShadowPosition, 0 0 0 1px) var(--ezp-color-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-color-theme-solid);--ezp-stepper-label-color:var(--ezp-color-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-color-shade-primary)}}#icon{color:var(--ezp-stepper-icon-color, var(--ezp-color-foreground-secondary));pointer-events:none}#label{color:var(--ezp-stepper-label-color, var(--ezp-color-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-color-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-color-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-color-shade-primary)}.button:not(:disabled):active{--ezp-stepper-button-background:var(--ezp-color-shade-secondary)}}.button:disabled{--ezp-stepper-button-color:var(--ezp-color-foreground-tertiary);--ezp-stepper-button-cursor:default}";
33474
+ 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}";
33475
33475
 
33476
33476
  let EzpStepper$1 = class extends HTMLElement {
33477
33477
  constructor() {
@@ -33552,7 +33552,7 @@ let EzpStepper$1 = class extends HTMLElement {
33552
33552
  static get style() { return ezpStepperCss; }
33553
33553
  };
33554
33554
 
33555
- const ezpTextButtonCss = ":host{display:-ms-flexbox;display:flex}:host(.primary){--ezp-textButton-background-disabled:var(--ezp-color-shade-primary);--ezp-textButton-background-init:var(--ezp-color-theme-solid);--ezp-textButton-color-disabled:var(--ezp-color-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-color-on-theme);--ezp-textButton-opacity-active:0.74;--ezp-textButton-opacity-hover:0.84}:host(.secondary){--ezp-textButton-background-active:var(--ezp-color-shade-tertiary);--ezp-textButton-background-disabled:var(--ezp-color-shade-primary);--ezp-textButton-background-hover:var(--ezp-color-shade-secondary);--ezp-textButton-background-init:var(--ezp-color-shade-primary);--ezp-textButton-color-disabled:var(--ezp-color-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-color-theme-solid)}:host(.tertiary){--ezp-textButton-background-active:var(--ezp-color-shade-secondary);--ezp-textButton-background-disabled:transparent;--ezp-textButton-background-hover:var(--ezp-color-shade-primary);--ezp-textButton-background-init:transparent;--ezp-textButton-color-disabled:var(--ezp-color-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-color-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(\n --ezp-textButton-background-hover,\n var(--ezp-textButton-background-init)\n );--ezp-textButton-opacity:var(--ezp-textButton-opacity-hover, 1)}#button:not(:disabled):active{--ezp-textButton-background:var(\n --ezp-textButton-background-active,\n var(--ezp-textButton-background-init)\n );--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}";
33555
+ 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(\n --ezp-textButton-background-hover,\n var(--ezp-textButton-background-init)\n );--ezp-textButton-opacity:var(--ezp-textButton-opacity-hover, 1)}#button:not(:disabled):active{--ezp-textButton-background:var(\n --ezp-textButton-background-active,\n var(--ezp-textButton-background-init)\n );--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}";
33556
33556
 
33557
33557
  let EzpTextButton$1 = class extends HTMLElement {
33558
33558
  constructor() {
@@ -33594,7 +33594,7 @@ let EzpTextButton$1 = class extends HTMLElement {
33594
33594
  static get style() { return ezpTextButtonCss; }
33595
33595
  };
33596
33596
 
33597
- const ezpUploadCss = ":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-color-foreground-tertiary));border-radius:3px;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-color-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-color-theme-translucent);--ezp-upload-border-color:var(--ezp-color-theme-translucent);--ezp-upload-header-blur:16px;--ezp-upload-header-opacity:0.42}#header{--ezp-icon-fill:var(--ezp-color-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)}#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-color-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}";
33597
+ const ezpUploadCss = ":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)}#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}";
33598
33598
 
33599
33599
  let EzpUpload$1 = class extends HTMLElement {
33600
33600
  constructor() {
@@ -33639,12 +33639,8 @@ let EzpUpload$1 = class extends HTMLElement {
33639
33639
  this.dragging = false;
33640
33640
  this.uploadFile.emit(event.dataTransfer.files);
33641
33641
  }
33642
- /**
33643
- *
33644
- * Lifecycle methods
33645
- *
33646
- */
33647
- componentWillLoad() {
33642
+ listenPrintCancel() {
33643
+ this.form.reset();
33648
33644
  }
33649
33645
  /**
33650
33646
  *
@@ -33652,12 +33648,12 @@ let EzpUpload$1 = class extends HTMLElement {
33652
33648
  *
33653
33649
  */
33654
33650
  render() {
33655
- return (h(Host, { class: { dragging: this.dragging } }, h("div", { id: "box" }, h("div", { id: "header" }, h("ezp-icon", { name: "drag-drop", size: "huge", framed: true }), h("ezp-label", { weight: "strong", text: i18next.t('upload.description') }), h("div", { id: "meta" }, h("ezp-label", { level: "tertiary", text: i18next.t('upload.meta_leading') }), h("label", { htmlFor: "input", id: "select" }, h("ezp-label", { level: "tertiary", weight: "strong", text: i18next.t('upload.meta_select') })), h("input", { type: "file", name: "input", id: "input", ref: (input) => (this.input = input), onInput: this.handleInput }), h("ezp-label", { level: "tertiary", text: i18next.t('upload.meta_trailing') }))))));
33651
+ return (h(Host, { class: { dragging: this.dragging } }, h("form", { id: "form", ref: (form) => (this.form = form) }, h("div", { id: "header" }, h("ezp-icon", { name: "drag-drop", size: "huge", framed: true }), h("ezp-label", { weight: "strong", text: i18next.t('upload.description') }), h("div", { id: "meta" }, h("ezp-label", { level: "tertiary", text: i18next.t('upload.meta_leading') }), h("label", { htmlFor: "input", id: "select" }, h("ezp-label", { level: "tertiary", weight: "strong", text: i18next.t('upload.meta_select') })), h("input", { type: "file", name: "input", id: "input", ref: (input) => (this.input = input), onInput: this.handleInput }), h("ezp-label", { level: "tertiary", text: i18next.t('upload.meta_trailing') }))))));
33656
33652
  }
33657
33653
  static get style() { return ezpUploadCss; }
33658
33654
  };
33659
33655
 
33660
- const ezpUserMenuCss = ":host{background:var(--ezp-color-surface-tertiary);border-radius:6px;-webkit-box-shadow:var(--ezp-userMenu-boxShadowPosition, 0 0 0 1px) var(--ezp-color-outline);box-shadow:var(--ezp-userMenu-boxShadowPosition, 0 0 0 1px) var(--ezp-color-outline);display:block;opacity:var(--ezp-userMenu-opacity, 0);position:absolute;right:0;top:0;-webkit-transform:scale(var(--ezp-userMenu-scale, 0.94, 0.94));transform:scale(var(--ezp-userMenu-scale, 0.94, 0.94));-webkit-transform-origin:right top;transform-origin:right top;-webkit-transition:var(--ezp-userMenu-transition, opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), transform var(--ezp-duration-3) var(--ezp-easing-out-quart), visibility 0s var(--ezp-duration-3));transition:var(--ezp-userMenu-transition, opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), transform var(--ezp-duration-3) var(--ezp-easing-out-quart), visibility 0s var(--ezp-duration-3));visibility:var(--ezp-userMenu-visibility, hidden);z-index:5}:host(.is-open){--ezp-userMenu-opacity:1;--ezp-userMenu-scale:1, 1;--ezp-userMenu-transition:opacity var(--ezp-duration-3) var(--ezp-easing-out-quart),\n transform var(--ezp-duration-3) var(--ezp-easing-out-quart), visibility 0s 0s;--ezp-userMenu-visibility:visible}@media (prefers-color-scheme: dark){:host{--ezp-userMenu-separator-position:inset 0 0 0 var(--hairline-width-positive)}}#header{-ms-flex-align:center;align-items:center;-webkit-box-shadow:var(--ezp-userMenu-header-boxShadowPosition, 0 1px 0 0) var(--ezp-color-outline);box-shadow:var(--ezp-userMenu-header-boxShadowPosition, 0 1px 0 0) var(--ezp-color-outline);-webkit-box-shadow:0;box-shadow:0;display:grid;grid-template:auto/1fr auto;padding:var(--ezp-spacing-4) var(--ezp-spacing-3) var(--ezp-spacing-4) var(--ezp-spacing-4)}#name{color:var(--ezp-color-foreground-primary)}#close{margin:calc(var(--ezp-spacing-3) * -1) 0}#links{-webkit-box-shadow:var(--ezp-userMenu-links-boxShadowPosition, 0 1px 0 0) var(--ezp-color-outline);box-shadow:var(--ezp-userMenu-links-boxShadowPosition, 0 1px 0 0) var(--ezp-color-outline);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:var(--ezp-spacing-2)}.link{-ms-flex-align:center;align-items:center;background:var(--ezp-userMenu-link-background, transparent);border-radius:3px;color:var(--ezp-color-foreground-primary);cursor:pointer;display:grid;gap:var(--ezp-spacing-3);grid-template:auto/auto 1fr;padding:var(--ezp-spacing-3);text-decoration:none}.link:hover{--ezp-userMenu-link-background:var(--ezp-color-shade-primary)}.link__icon{color:var(--ezp-color-theme-solid);margin:calc(var(--ezp-spacing-2) * -1) 0}.caption{color:var(--ezp-color-foreground-primary)}#theme{-webkit-box-shadow:var(--ezp-userMenu-theme-boxShadowPosition, 0 1px 0 0) var(--ezp-color-outline);box-shadow:var(--ezp-userMenu-theme-boxShadowPosition, 0 1px 0 0) var(--ezp-color-outline);display:grid;gap:var(--ezp-spacing-3);grid-template:repeat(2, auto)/1fr;padding:var(--ezp-spacing-4) var(--ezp-spacing-4) var(--ezp-spacing-3)}#swatches{display:-ms-flexbox;display:flex;margin:0 calc(var(--ezp-spacing-2) * -1)}.swatch{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-userMenu-swatch-background, transparent);border:0;border-radius:50%;color:var(--ezp-userMenu-swatch-color);cursor:var(--ezp-userMenu-swatch-cursor, pointer);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:0;opacity:var(--ezp-userMenu-swatch-opacity, 1);outline:none;padding:var(--ezp-spacing-2)}@media (hover: hover){.swatch:not(.selected):hover{--ezp-userMenu-swatch-background:var(--ezp-userMenu-swatch-theme-translucent)}.swatch:not(.selected):active{--ezp-userMenu-swatch-opacity:0.74}}.swatch.selected{--ezp-userMenu-dot-boxShadowSize:10px;--ezp-userMenu-swatch-background:var(--ezp-userMenu-swatch-theme-translucent);--ezp-userMenu-swatch-cursor:normal}.swatch.selected>.dot{-webkit-animation:dot-bounce var(--ezp-duration-2) ease-in-out;animation:dot-bounce var(--ezp-duration-2) ease-in-out}.swatch--blue{--ezp-userMenu-swatch-theme-solid:var(--ezp-color-blue-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-color-blue-translucent)}.swatch--cyan{--ezp-userMenu-swatch-theme-solid:var(--ezp-color-cyan-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-color-cyan-translucent)}.swatch--green{--ezp-userMenu-swatch-theme-solid:var(--ezp-color-green-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-color-green-translucent)}.swatch--orange{--ezp-userMenu-swatch-theme-solid:var(--ezp-color-orange-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-color-orange-translucent)}.swatch--pink{--ezp-userMenu-swatch-theme-solid:var(--ezp-color-pink-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-color-pink-translucent)}.swatch--red{--ezp-userMenu-swatch-theme-solid:var(--ezp-color-red-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-color-red-translucent)}.swatch--violet{--ezp-userMenu-swatch-theme-solid:var(--ezp-color-violet-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-color-violet-translucent)}.dot{background:var(--ezp-userMenu-dot-background, transparent);border-radius:50%;-webkit-box-shadow:inset 0 0 0 var(--ezp-userMenu-dot-boxShadowSize, 4px) var(--ezp-userMenu-swatch-theme-solid);box-shadow:inset 0 0 0 var(--ezp-userMenu-dot-boxShadowSize, 4px) var(--ezp-userMenu-swatch-theme-solid);height:18px;-webkit-transition:-webkit-box-shadow var(--ezp-duration-2);transition:-webkit-box-shadow var(--ezp-duration-2);transition:box-shadow var(--ezp-duration-2);transition:box-shadow var(--ezp-duration-2), -webkit-box-shadow var(--ezp-duration-2);width:18px}#appearance{display:grid;gap:var(--ezp-spacing-3);grid-template:repeat(2, auto)/1fr;padding:var(--ezp-spacing-4) var(--ezp-spacing-4) var(--ezp-spacing-3)}#tabs{display:grid;grid-template:auto/repeat(3, 1fr);margin:0 calc(var(--ezp-spacing-2) * -1)}.tab{--ezp-icon-height:8px;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-userMenu-tab-background, transparent);border:0;border-radius:14px;color:var(--ezp-userMenu-tab-color, var(--ezp-color-foreground-secondary));cursor:var(--ezp-userMenu-tab-cursor, pointer);display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-2);-ms-flex-pack:center;justify-content:center;margin:0;outline:none;padding:var(--ezp-spacing-3) var(--ezp-spacing-3) var(--ezp-spacing-3) var(--ezp-spacing-2)}@media (hover: hover){.tab:not(.selected):hover{--ezp-userMenu-tab-background:var(--ezp-color-shade-primary)}.tab:not(.selected):active{--ezp-userMenu-tab-background:var(--ezp-color-shade-secondary)}}.tab.selected{--ezp-userMenu-tab-background:var(--ezp-color-theme-translucent);--ezp-userMenu-tab-color:var(--ezp-color-theme-solid);--ezp-userMenu-tab-cursor:normal}@-webkit-keyframes dot-bounce{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}50%{-webkit-transform:scale(0.84, 0.84);transform:scale(0.84, 0.84)}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}}@keyframes dot-bounce{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}50%{-webkit-transform:scale(0.84, 0.84);transform:scale(0.84, 0.84)}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}}";
33656
+ const ezpUserMenuCss = ":host{background:var(--ezp-core-surface-tertiary);border-radius:6px;-webkit-box-shadow:var(--ezp-userMenu-boxShadow, 0 0 0 1px var(--ezp-black-10));box-shadow:var(--ezp-userMenu-boxShadow, 0 0 0 1px var(--ezp-black-10));display:block;opacity:var(--ezp-userMenu-opacity, 0);position:absolute;right:0;top:0;-webkit-transform:scale(var(--ezp-userMenu-scale, 0.94, 0.94));transform:scale(var(--ezp-userMenu-scale, 0.94, 0.94));-webkit-transform-origin:right top;transform-origin:right top;-webkit-transition:var(--ezp-userMenu-transition, opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), transform var(--ezp-duration-3) var(--ezp-easing-out-quart), visibility 0s var(--ezp-duration-3));transition:var(--ezp-userMenu-transition, opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), transform var(--ezp-duration-3) var(--ezp-easing-out-quart), visibility 0s var(--ezp-duration-3));visibility:var(--ezp-userMenu-visibility, hidden);z-index:5}:host(.is-open){--ezp-userMenu-opacity:1;--ezp-userMenu-scale:1, 1;--ezp-userMenu-transition:opacity var(--ezp-duration-3) var(--ezp-easing-out-quart),\n transform var(--ezp-duration-3) var(--ezp-easing-out-quart), visibility 0s 0s;--ezp-userMenu-visibility:visible}@media (prefers-color-scheme: dark){:host{--ezp-userMenu-separator-position:inset 0 0 0 var(--hairline-width-positive)}}#header{-ms-flex-align:center;align-items:center;-webkit-box-shadow:var(--ezp-userMenu-header-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);box-shadow:var(--ezp-userMenu-header-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);-webkit-box-shadow:0;box-shadow:0;display:grid;grid-template:auto/1fr auto;padding:var(--ezp-spacing-4) var(--ezp-spacing-3) var(--ezp-spacing-4) var(--ezp-spacing-4)}#name{color:var(--ezp-core-foreground-primary)}#close{margin:calc(var(--ezp-spacing-3) * -1) 0}#links{-webkit-box-shadow:var(--ezp-userMenu-links-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);box-shadow:var(--ezp-userMenu-links-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:var(--ezp-spacing-2)}.link{-ms-flex-align:center;align-items:center;background:var(--ezp-userMenu-link-background, transparent);border-radius:3px;color:var(--ezp-core-foreground-primary);cursor:pointer;display:grid;gap:var(--ezp-spacing-3);grid-template:auto/auto 1fr;padding:var(--ezp-spacing-3);text-decoration:none}.link:hover{--ezp-userMenu-link-background:var(--ezp-core-shade-primary)}.link__icon{color:var(--ezp-theme-solid);margin:calc(var(--ezp-spacing-2) * -1) 0}.caption{color:var(--ezp-core-foreground-primary)}#theme{-webkit-box-shadow:var(--ezp-userMenu-theme-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);box-shadow:var(--ezp-userMenu-theme-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);display:grid;gap:var(--ezp-spacing-3);grid-template:repeat(2, auto)/1fr;padding:var(--ezp-spacing-4) var(--ezp-spacing-4) var(--ezp-spacing-3)}#swatches{display:-ms-flexbox;display:flex;margin:0 calc(var(--ezp-spacing-2) * -1)}.swatch{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-userMenu-swatch-background, transparent);border:0;border-radius:50%;color:var(--ezp-userMenu-swatch-color);cursor:var(--ezp-userMenu-swatch-cursor, pointer);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:0;opacity:var(--ezp-userMenu-swatch-opacity, 1);outline:none;padding:var(--ezp-spacing-2)}@media (hover: hover){.swatch:not(.selected):hover{--ezp-userMenu-swatch-background:var(--ezp-userMenu-swatch-theme-translucent)}.swatch:not(.selected):active{--ezp-userMenu-swatch-opacity:0.74}}.swatch.selected{--ezp-userMenu-dot-boxShadowSize:10px;--ezp-userMenu-swatch-background:var(--ezp-userMenu-swatch-theme-translucent);--ezp-userMenu-swatch-cursor:normal}.swatch.selected>.dot{-webkit-animation:dot-bounce var(--ezp-duration-2) ease-in-out;animation:dot-bounce var(--ezp-duration-2) ease-in-out}.swatch--blue{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-blue-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-blue-translucent)}.swatch--cyan{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-cyan-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-cyan-translucent)}.swatch--green{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-green-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-green-translucent)}.swatch--teal{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-teal-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-teal-translucent)}.swatch--orange{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-orange-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-orange-translucent)}.swatch--pink{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-pink-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-pink-translucent)}.swatch--red{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-red-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-red-translucent)}.swatch--violet{--ezp-userMenu-swatch-theme-solid:var(--ezp-accent-violet-solid);--ezp-userMenu-swatch-theme-translucent:var(--ezp-accent-violet-translucent)}.dot{background:var(--ezp-userMenu-dot-background, transparent);border-radius:50%;-webkit-box-shadow:inset 0 0 0 var(--ezp-userMenu-dot-boxShadowSize, 4px) var(--ezp-userMenu-swatch-theme-solid);box-shadow:inset 0 0 0 var(--ezp-userMenu-dot-boxShadowSize, 4px) var(--ezp-userMenu-swatch-theme-solid);height:18px;-webkit-transition:-webkit-box-shadow var(--ezp-duration-2);transition:-webkit-box-shadow var(--ezp-duration-2);transition:box-shadow var(--ezp-duration-2);transition:box-shadow var(--ezp-duration-2), -webkit-box-shadow var(--ezp-duration-2);width:18px}#appearance{display:grid;gap:var(--ezp-spacing-3);grid-template:repeat(2, auto)/1fr;padding:var(--ezp-spacing-4) var(--ezp-spacing-4) var(--ezp-spacing-3)}#tabs{display:grid;grid-template:auto/repeat(3, 1fr);margin:0 calc(var(--ezp-spacing-2) * -1)}.tab{--ezp-icon-height:8px;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-userMenu-tab-background, transparent);border:0;border-radius:14px;color:var(--ezp-userMenu-tab-color, var(--ezp-core-foreground-secondary));cursor:var(--ezp-userMenu-tab-cursor, pointer);display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-2);-ms-flex-pack:center;justify-content:center;margin:0;outline:none;padding:var(--ezp-spacing-3) var(--ezp-spacing-3) var(--ezp-spacing-3) var(--ezp-spacing-2)}@media (hover: hover){.tab:not(.selected):hover{--ezp-userMenu-tab-background:var(--ezp-core-shade-primary)}.tab:not(.selected):active{--ezp-userMenu-tab-background:var(--ezp-core-shade-secondary)}}.tab.selected{--ezp-userMenu-tab-background:var(--ezp-theme-translucent);--ezp-userMenu-tab-color:var(--ezp-theme-solid);--ezp-userMenu-tab-cursor:normal}@-webkit-keyframes dot-bounce{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}50%{-webkit-transform:scale(0.84, 0.84);transform:scale(0.84, 0.84)}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}}@keyframes dot-bounce{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}50%{-webkit-transform:scale(0.84, 0.84);transform:scale(0.84, 0.84)}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}}";
33661
33657
 
33662
33658
  let EzpUserMenu$1 = class extends HTMLElement {
33663
33659
  constructor() {
@@ -33679,7 +33675,7 @@ let EzpUserMenu$1 = class extends HTMLElement {
33679
33675
  href: 'https://support.ezeep.com',
33680
33676
  },
33681
33677
  ];
33682
- this.themes = ['pink', 'red', 'orange', 'green', 'cyan', 'blue', 'violet'];
33678
+ this.themes = ['pink', 'red', 'orange', 'green', 'teal', 'cyan', 'blue', 'violet'];
33683
33679
  this.appearances = [
33684
33680
  { title: i18next.t('user_menu.system'), name: 'system' },
33685
33681
  { title: i18next.t('user_menu.light'), name: 'light' },
@@ -33756,19 +33752,19 @@ let EzpUserMenu$1 = class extends HTMLElement {
33756
33752
  };
33757
33753
 
33758
33754
  globalScripts();
33759
- const EzpAuth = /*@__PURE__*/proxyCustomElement(EzpAuth$1, [1,"ezp-auth",{"clientID":[1025,"client-i-d"],"redirectURI":[1025,"redirect-u-r-i"],"hidelogin":[4],"auth":[32],"authURI":[32],"accessToken":[32]},[[0,"dialogAction","listenDialogAction"],[0,"dialogClose","listenDialogClose"],[0,"statusCancel","listenStatusCancel"]]]);
33755
+ const EzpAuth = /*@__PURE__*/proxyCustomElement(EzpAuth$1, [1,"ezp-auth",{"clientID":[1025,"client-i-d"],"redirectURI":[1025,"redirect-u-r-i"],"hidelogin":[4],"trigger":[1],"auth":[32],"authURI":[32],"accessToken":[32]},[[0,"dialogAction","listenDialogAction"],[0,"dialogClose","listenDialogClose"],[0,"statusCancel","listenStatusCancel"]]]);
33760
33756
  const EzpBackdrop = /*@__PURE__*/proxyCustomElement(EzpBackdrop$1, [1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]]);
33761
33757
  const EzpDialog = /*@__PURE__*/proxyCustomElement(EzpDialog$1, [1,"ezp-dialog",{"heading":[1],"description":[1],"action":[1],"iconName":[1,"icon-name"],"iconSize":[1,"icon-size"],"iconFramed":[4,"icon-framed"],"instance":[1]}]);
33762
33758
  const EzpIcon = /*@__PURE__*/proxyCustomElement(EzpIcon$1, [1,"ezp-icon",{"name":[1],"size":[1],"framed":[4]}]);
33763
33759
  const EzpIconButton = /*@__PURE__*/proxyCustomElement(EzpIconButton$1, [1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}]);
33764
33760
  const EzpLabel = /*@__PURE__*/proxyCustomElement(EzpLabel$1, [1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]);
33765
33761
  const EzpPrinterSelection = /*@__PURE__*/proxyCustomElement(EzpPrinterSelection$1, [1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1025],"fileurl":[1],"filetype":[1025],"fileid":[1025],"file":[16],"hidemenu":[4],"loading":[32],"printProcessing":[32],"uploading":[32],"preparingUpload":[32],"printSuccess":[32],"printFailed":[32],"notSupported":[32],"noPrinters":[32],"userMenuOpen":[32],"printStopped":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedPrinterConfig":[32],"selectedProperties":[32]},[[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"],[0,"statusCancel","listenStatusCancel"],[0,"statusClose","listenStatusClose"],[0,"statusRetry","listenStatusRetry"]]]);
33766
- const EzpPrinting = /*@__PURE__*/proxyCustomElement(EzpPrinting$1, [1,"ezp-printing",{"clientid":[1],"redirecturi":[1],"filename":[1025],"fileurl":[1],"filetype":[1],"custom":[4],"hidelogin":[4],"hidemenu":[4],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"fileid":[1],"appearance":[1],"trigger":[1],"language":[1],"printOpen":[32],"authOpen":[32],"noDocumentOpen":[32],"systemAppearance":[32]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"]]]);
33762
+ const EzpPrinting = /*@__PURE__*/proxyCustomElement(EzpPrinting$1, [1,"ezp-printing",{"clientid":[1],"redirecturi":[1],"filename":[1025],"fileurl":[1],"filetype":[1],"custom":[4],"hidelogin":[4],"hidemenu":[4],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"fileid":[1],"appearance":[1],"trigger":[1],"language":[1],"printOpen":[32],"authOpen":[32],"onlyGetSasUri":[32],"noDocumentOpen":[32],"systemAppearance":[32]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"]]]);
33767
33763
  const EzpSelect = /*@__PURE__*/proxyCustomElement(EzpSelect$1, [1,"ezp-select",{"icon":[1],"label":[1],"optionFlow":[1,"option-flow"],"options":[16],"placeholder":[1],"preSelected":[8,"pre-selected"],"toggleFlow":[1,"toggle-flow"],"disabled":[4],"expanded":[32],"selected":[32]}]);
33768
33764
  const EzpStatus = /*@__PURE__*/proxyCustomElement(EzpStatus$1, [1,"ezp-status",{"description":[1],"processing":[4],"instance":[1],"icon":[1],"cancel":[8],"close":[8],"retry":[8]}]);
33769
33765
  const EzpStepper = /*@__PURE__*/proxyCustomElement(EzpStepper$1, [1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]}]);
33770
33766
  const EzpTextButton = /*@__PURE__*/proxyCustomElement(EzpTextButton$1, [1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1],"small":[4]}]);
33771
- const EzpUpload = /*@__PURE__*/proxyCustomElement(EzpUpload$1, [1,"ezp-upload",{"dragging":[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"]]]);
33767
+ const EzpUpload = /*@__PURE__*/proxyCustomElement(EzpUpload$1, [1,"ezp-upload",{"dragging":[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"],[4,"printCancel","listenPrintCancel"]]]);
33772
33768
  const EzpUserMenu = /*@__PURE__*/proxyCustomElement(EzpUserMenu$1, [1,"ezp-user-menu",{"name":[1],"open":[1028]}]);
33773
33769
  const defineCustomElements = (opts) => {
33774
33770
  if (typeof customElements !== 'undefined') {