@ezeep/ezeep-js 1.0.166 → 1.0.170

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 (61) hide show
  1. package/dist/cjs/ezeep.cjs.js +2 -2
  2. package/dist/cjs/ezp-auth_14.cjs.entry.js +82 -79
  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 +30 -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 +32 -47
  13. package/dist/collection/components/ezp-printing/ezp-printing.css +203 -133
  14. package/dist/collection/components/ezp-printing/ezp-printing.js +10 -4
  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 -8
  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 +19 -9
  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 +83 -80
  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 +82 -79
  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/{www/build/p-80d5c308.system.js → dist/ezeep/p-16c7584d.system.js} +1 -1
  38. package/dist/ezeep/p-17f25f95.js +1 -0
  39. package/dist/ezeep/{p-cec0b069.system.entry.js → p-68f1313b.system.entry.js} +3 -3
  40. package/dist/ezeep/{p-a91289a6.entry.js → p-91042202.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-upload/ezp-upload.d.ts +3 -6
  45. package/dist/types/components.d.ts +2 -0
  46. package/dist/types/shared/types.d.ts +3 -2
  47. package/package.json +3 -1
  48. package/www/build/ezeep.esm.js +1 -1
  49. package/www/build/ezeep.js +1 -1
  50. package/{dist/ezeep/p-80d5c308.system.js → www/build/p-16c7584d.system.js} +1 -1
  51. package/www/build/p-17f25f95.js +1 -0
  52. package/www/build/{p-cec0b069.system.entry.js → p-68f1313b.system.entry.js} +3 -3
  53. package/www/build/{p-a91289a6.entry.js → p-91042202.entry.js} +2 -2
  54. package/www/build/p-c04b764e.system.js +1 -0
  55. package/www/data/locales/en.json +5 -2
  56. package/www/index.html +6 -1
  57. package/dist/esm-es5/index-18d4bf15.js +0 -1
  58. package/dist/ezeep/p-d9b69b53.js +0 -1
  59. package/dist/ezeep/p-f96ca6a7.system.js +0 -1
  60. package/www/build/p-d9b69b53.js +0 -1
  61. 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,13 +2963,15 @@ const button_actions = {
2962
2963
  print: "Print",
2963
2964
  cancel: "Cancel",
2964
2965
  close: "Close",
2965
- retry: "Retry"
2966
+ retry: "Retry",
2967
+ select_printer: "Select Printer"
2966
2968
  };
2967
2969
  const upload = {
2968
2970
  description: "Drop a file here into the browser ",
2969
2971
  meta_leading: "or",
2970
2972
  meta_select: "select a file",
2971
- meta_trailing: "to print with ezeep Blue."
2973
+ meta_trailing: "to print with ezeep Blue.",
2974
+ selected_file: "Selected File:"
2972
2975
  };
2973
2976
  const user_menu = {
2974
2977
  theme: "Color theme",
@@ -3171,7 +3174,7 @@ function sendCodeToParentWindow() {
3171
3174
  }
3172
3175
  }
3173
3176
 
3174
- const ezpAuthCss = ":host{--ezp-color-theme-solid:var(--ezp-color-cyan-solid);--ezp-color-theme-translucent:var(--ezp-color-cyan-translucent);display:block}";
3177
+ const ezpAuthCss = ":host{--ezp-theme-solid:var(--ezp-accent-cyan-solid);--ezp-theme-translucent:var(--ezp-accent-cyan-translucent);display:block}";
3175
3178
 
3176
3179
  let EzpAuth$1 = class extends HTMLElement {
3177
3180
  constructor() {
@@ -3193,6 +3196,11 @@ let EzpAuth$1 = class extends HTMLElement {
3193
3196
  this.authCancel.emit();
3194
3197
  }
3195
3198
  openSignInWindow(url, name) {
3199
+ if (authStore.state.isAuthorized) {
3200
+ this.authCancel.emit();
3201
+ this.authSuccess.emit();
3202
+ return;
3203
+ }
3196
3204
  // remove any existing event listeners
3197
3205
  window.removeEventListener('message', this.receiveMessage);
3198
3206
  // window features
@@ -3207,6 +3215,11 @@ let EzpAuth$1 = class extends HTMLElement {
3207
3215
  then we load it in the already opened secondary window and then
3208
3216
  we bring such window back on top/in front of its parent window. */
3209
3217
  this.oauthPopupWindow = window.open(url, name, windowFeatures);
3218
+ if (!this.oauthPopupWindow ||
3219
+ this.oauthPopupWindow.closed ||
3220
+ typeof this.oauthPopupWindow.closed == 'undefined') {
3221
+ alert('popup blocked');
3222
+ }
3210
3223
  this.oauthPopupWindow.focus();
3211
3224
  }
3212
3225
  else {
@@ -3234,17 +3247,17 @@ let EzpAuth$1 = class extends HTMLElement {
3234
3247
  await this.auth.generateCodeChallenge(authStore.state.codeVerifier);
3235
3248
  this.auth.buildAuthURI();
3236
3249
  }
3237
- if (this.hidelogin) {
3250
+ if (this.hidelogin && this.trigger === 'button') {
3238
3251
  this.openSignInWindow(this.auth.authURI.toString(), 'ezeep Login');
3239
3252
  }
3240
3253
  }
3241
3254
  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" })));
3255
+ 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.select_printer') })) : (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
3256
  }
3244
3257
  static get style() { return ezpAuthCss; }
3245
3258
  };
3246
3259
 
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}}";
3260
+ 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
3261
 
3249
3262
  let EzpBackdrop$1 = class extends HTMLElement {
3250
3263
  constructor() {
@@ -3271,7 +3284,7 @@ let EzpBackdrop$1 = class extends HTMLElement {
3271
3284
  static get style() { return ezpBackdropCss; }
3272
3285
  };
3273
3286
 
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)}";
3287
+ 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
3288
 
3276
3289
  let EzpDialog$1 = class extends HTMLElement {
3277
3290
  constructor() {
@@ -3313,7 +3326,7 @@ let EzpDialog$1 = class extends HTMLElement {
3313
3326
  static get style() { return ezpDialogCss; }
3314
3327
  };
3315
3328
 
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%}";
3329
+ 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
3330
 
3318
3331
  let EzpIcon$1 = class extends HTMLElement {
3319
3332
  constructor() {
@@ -3350,7 +3363,7 @@ let EzpIcon$1 = class extends HTMLElement {
3350
3363
  static get style() { return ezpIconCss; }
3351
3364
  };
3352
3365
 
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}";
3366
+ 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
3367
 
3355
3368
  let EzpIconButton$1 = class extends HTMLElement {
3356
3369
  constructor() {
@@ -32629,7 +32642,7 @@ const userStore = createStore({
32629
32642
  appearance: '',
32630
32643
  });
32631
32644
 
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}";
32645
+ 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
32646
 
32634
32647
  let EzpPrinterSelection$1 = class extends HTMLElement {
32635
32648
  constructor() {
@@ -32682,11 +32695,11 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
32682
32695
  paper: '',
32683
32696
  paperid: '',
32684
32697
  color: false,
32685
- duplex: false,
32686
- duplexmode: '',
32687
- orientation: '',
32698
+ duplex: true,
32699
+ duplexmode: 1,
32700
+ orientation: 1,
32688
32701
  copies: '',
32689
- resolution: '',
32702
+ resolution: 0,
32690
32703
  };
32691
32704
  /**
32692
32705
  *
@@ -32709,6 +32722,7 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
32709
32722
  this.MAX_POLL_ATTEMPTS = Infinity;
32710
32723
  /** Description... */
32711
32724
  this.handlePrint = async () => {
32725
+ this.printButton.blur();
32712
32726
  this.printProcessing = true;
32713
32727
  // we have to initialse this obj with empty strings to display the select component
32714
32728
  // but don't want to send any attributes with empty strings to the API
@@ -32724,6 +32738,10 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
32724
32738
  this.printService
32725
32739
  .printFileByUrl(authStore.state.accessToken, this.fileurl, this.filetype, this.selectedPrinter.id, cleanPrintProperties, this.filename)
32726
32740
  .then((response) => {
32741
+ if (response.status === 200 && this.selectedPrinter.is_queue) {
32742
+ this.printProcessing = false;
32743
+ this.printSuccess = true;
32744
+ }
32727
32745
  if (response.status === 412) {
32728
32746
  response.json().then((data) => (this.fileid = data.fileid));
32729
32747
  this.printService.printByFileID(authStore.state.accessToken, this.fileid, this.filetype, this.selectedPrinter.id, cleanPrintProperties, this.filename);
@@ -32835,7 +32853,7 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
32835
32853
  this.selectedPrinter = JSON.parse(localStorage.getItem('printer'));
32836
32854
  }
32837
32855
  else {
32838
- this.selectedPrinter = { id: '', location: '', name: '' };
32856
+ this.selectedPrinter = { id: '', location: '', name: '', is_queue: false };
32839
32857
  }
32840
32858
  }
32841
32859
  getUserInfo() {
@@ -32850,6 +32868,7 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
32850
32868
  case 'printer':
32851
32869
  this.selectedPrinter.id = eventDetails.id;
32852
32870
  this.selectedPrinter.name = eventDetails.title;
32871
+ this.selectedPrinter.is_queue = eventDetails.is_queue;
32853
32872
  await this.printService
32854
32873
  .getPrinterProperties(authStore.state.accessToken, this.selectedPrinter.id)
32855
32874
  .then((data) => (this.selectedPrinterConfig = data[0]));
@@ -32955,8 +32974,10 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
32955
32974
  else {
32956
32975
  format = 'A4';
32957
32976
  }
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;
32977
+ if (this.selectedPrinterConfig.PaperFormats.find((el) => el.Name.includes(format))) {
32978
+ this.selectedProperties.paper = this.selectedPrinterConfig.PaperFormats.find((el) => el.Name.includes(format)).Name;
32979
+ this.selectedProperties.paperid = this.selectedPrinterConfig.PaperFormats.find((el) => el.Name.includes(format)).Id;
32980
+ }
32960
32981
  }
32961
32982
  /**
32962
32983
  *
@@ -33013,18 +33034,15 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
33013
33034
  ? i18next.t('printer_selection.prepare_upload')
33014
33035
  : this.uploading
33015
33036
  ? 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
33037
+ : 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
33038
  ? i18next.t('printer_selection.select_printer')
33018
33039
  : i18next.t('printer_selection.no_printers'), toggleFlow: "vertical", optionFlow: "vertical", options: this.printers.map((printer) => ({
33019
33040
  id: printer.id,
33020
33041
  title: printer.name,
33021
- meta: printer.location !== ''
33022
- ? printer.location
33023
- : '',
33042
+ meta: printer.location !== '' ? printer.location : '',
33024
33043
  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
33044
+ is_queue: printer.is_queue,
33045
+ })), 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
33046
  ? [
33029
33047
  {
33030
33048
  id: 1,
@@ -33046,53 +33064,33 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
33046
33064
  meta: '',
33047
33065
  type: 'color',
33048
33066
  },
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) => ({
33067
+ ], preSelected: this.selectedPrinter.id
33068
+ ? this.selectedProperties.color
33069
+ ? i18next.t('printer_selection.color_color')
33070
+ : i18next.t('printer_selection.color_grayscale')
33071
+ : 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
33072
  id: option.id,
33057
33073
  title: option.title,
33058
33074
  meta: '',
33059
33075
  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) => ({
33076
+ })), preSelected: this.selectedPrinter.id && this.selectedProperties.duplex
33077
+ ? this.duplexOptions.find((option) => option.id === this.selectedProperties.duplexmode).id
33078
+ : 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
33079
  id: format.Id,
33070
33080
  title: format.Name,
33071
33081
  meta: `${format.XRes} x ${format.YRes}`,
33072
33082
  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) => ({
33083
+ })), 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
33084
  id: index + 1,
33077
33085
  title: i18next.t(`printer_selection.orientation_${orientation}`),
33078
33086
  meta: '',
33079
33087
  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) => ({
33088
+ })), 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
33089
  id: index,
33088
33090
  title: option,
33089
33091
  meta: '',
33090
33092
  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 }))));
33093
+ })), 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
33094
  }
33097
33095
  static get style() { return ezpPrinterSelectionCss; }
33098
33096
  };
@@ -33104,7 +33102,7 @@ const config = {
33104
33102
  printingApiHostUrl: printingApiHostUrl
33105
33103
  };
33106
33104
 
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)}";
33105
+ 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
33106
 
33109
33107
  let EzpPrinting$1 = class extends HTMLElement {
33110
33108
  constructor() {
@@ -33135,14 +33133,17 @@ let EzpPrinting$1 = class extends HTMLElement {
33135
33133
  /** Description... */
33136
33134
  listenPrintCancel() {
33137
33135
  this.printOpen = false;
33136
+ this.checkAuth();
33138
33137
  }
33139
33138
  /** Description... */
33140
33139
  listenPrintSubmit() {
33141
33140
  this.printOpen = false;
33141
+ this.checkAuth();
33142
33142
  }
33143
33143
  /** Description... */
33144
33144
  listenAuthCancel() {
33145
33145
  this.authOpen = false;
33146
+ this.checkAuth();
33146
33147
  }
33147
33148
  listenAuthSuccess() {
33148
33149
  if (this.onlyGetSasUri) {
@@ -33177,7 +33178,8 @@ let EzpPrinting$1 = class extends HTMLElement {
33177
33178
  *
33178
33179
  */
33179
33180
  async open() {
33180
- if (authStore.state.isAuthorized) {
33181
+ if (authStore.state.isAuthorized && this.trigger === 'file') {
33182
+ this.authOpen = true;
33181
33183
  if (this.filename) {
33182
33184
  this.printOpen = true;
33183
33185
  }
@@ -33261,8 +33263,8 @@ let EzpPrinting$1 = class extends HTMLElement {
33261
33263
  else {
33262
33264
  printStore.state.printApiHostUrl = config.printingApiHostUrl;
33263
33265
  }
33264
- initi18n(this.language);
33265
33266
  sendCodeToParentWindow();
33267
+ initi18n(this.language);
33266
33268
  this.checkAuth();
33267
33269
  }
33268
33270
  componentDidLoad() {
@@ -33276,12 +33278,12 @@ let EzpPrinting$1 = class extends HTMLElement {
33276
33278
  render() {
33277
33279
  return (h(Host, { class: `${userStore.state.theme} ${userStore.state.appearance === 'system'
33278
33280
  ? this.systemAppearance
33279
- : 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() })))));
33281
+ : userStore.state.appearance}` }, 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() }))), 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));
33280
33282
  }
33281
33283
  static get style() { return ezpPrintingCss; }
33282
33284
  };
33283
33285
 
33284
- 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)}";
33286
+ 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)}";
33285
33287
 
33286
33288
  let EzpSelect$1 = class extends HTMLElement {
33287
33289
  constructor() {
@@ -33338,8 +33340,6 @@ let EzpSelect$1 = class extends HTMLElement {
33338
33340
  const delay = this.selected.id === id ? 0 : this.duration * 1000;
33339
33341
  this.selected = this.options.find((option) => option.id === id);
33340
33342
  this.selectSelection.emit(this.selected);
33341
- // console.log('ezp-select:')
33342
- // console.log(this.selected)
33343
33343
  window.setTimeout(() => {
33344
33344
  this.toggle();
33345
33345
  }, delay);
@@ -33390,7 +33390,7 @@ let EzpSelect$1 = class extends HTMLElement {
33390
33390
  this.backdrop.addEventListener('backdropHideEnd', () => {
33391
33391
  this.container.removeChild(this.backdrop);
33392
33392
  });
33393
- if (this.preSelected) {
33393
+ if (this.preSelected !== undefined && this.preSelected !== '' && this.preSelected !== null) {
33394
33394
  this.preSelect();
33395
33395
  }
33396
33396
  }
@@ -33400,7 +33400,10 @@ let EzpSelect$1 = class extends HTMLElement {
33400
33400
  this.duration = parseFloat(styles.getPropertyValue('--ezp-select-duration'));
33401
33401
  }
33402
33402
  componentWillUpdate() {
33403
- if (!this.selected.id && this.preSelected) {
33403
+ if (this.selected.id === false &&
33404
+ this.preSelected !== undefined &&
33405
+ this.preSelected !== '' &&
33406
+ this.preSelected !== null) {
33404
33407
  this.preSelect();
33405
33408
  }
33406
33409
  }
@@ -33431,7 +33434,7 @@ let EzpSelect$1 = class extends HTMLElement {
33431
33434
  static get style() { return ezpSelectCss; }
33432
33435
  };
33433
33436
 
33434
- 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);margin-bottom:100px}#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)}}";
33437
+ 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)}}";
33435
33438
 
33436
33439
  let EzpStatus$1 = class extends HTMLElement {
33437
33440
  constructor() {
@@ -33476,12 +33479,12 @@ let EzpStatus$1 = class extends HTMLElement {
33476
33479
  *
33477
33480
  */
33478
33481
  render() {
33479
- 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)))));
33482
+ 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') })))))));
33480
33483
  }
33481
33484
  static get style() { return ezpStatusCss; }
33482
33485
  };
33483
33486
 
33484
- 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}";
33487
+ 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}";
33485
33488
 
33486
33489
  let EzpStepper$1 = class extends HTMLElement {
33487
33490
  constructor() {
@@ -33562,7 +33565,7 @@ let EzpStepper$1 = class extends HTMLElement {
33562
33565
  static get style() { return ezpStepperCss; }
33563
33566
  };
33564
33567
 
33565
- 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}";
33568
+ 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}";
33566
33569
 
33567
33570
  let EzpTextButton$1 = class extends HTMLElement {
33568
33571
  constructor() {
@@ -33604,7 +33607,7 @@ let EzpTextButton$1 = class extends HTMLElement {
33604
33607
  static get style() { return ezpTextButtonCss; }
33605
33608
  };
33606
33609
 
33607
- 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}";
33610
+ 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}";
33608
33611
 
33609
33612
  let EzpUpload$1 = class extends HTMLElement {
33610
33613
  constructor() {
@@ -33617,6 +33620,7 @@ let EzpUpload$1 = class extends HTMLElement {
33617
33620
  * States
33618
33621
  *
33619
33622
  */
33623
+ this.filename = '';
33620
33624
  this.dragging = false;
33621
33625
  /**
33622
33626
  *
@@ -33624,6 +33628,7 @@ let EzpUpload$1 = class extends HTMLElement {
33624
33628
  *
33625
33629
  */
33626
33630
  this.handleInput = () => {
33631
+ this.filename = this.input.files[0].name;
33627
33632
  this.uploadFile.emit(this.input.files);
33628
33633
  };
33629
33634
  }
@@ -33647,14 +33652,12 @@ let EzpUpload$1 = class extends HTMLElement {
33647
33652
  event.stopPropagation();
33648
33653
  event.preventDefault();
33649
33654
  this.dragging = false;
33655
+ this.filename = event.dataTransfer.files[0].name;
33650
33656
  this.uploadFile.emit(event.dataTransfer.files);
33651
33657
  }
33652
- /**
33653
- *
33654
- * Lifecycle methods
33655
- *
33656
- */
33657
- componentWillLoad() {
33658
+ listenPrintCancel() {
33659
+ this.form.reset();
33660
+ this.filename = '';
33658
33661
  }
33659
33662
  /**
33660
33663
  *
@@ -33662,12 +33665,12 @@ let EzpUpload$1 = class extends HTMLElement {
33662
33665
  *
33663
33666
  */
33664
33667
  render() {
33665
- 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') }))))));
33668
+ 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') })), this.filename != '' && (h(Fragment, null, h("ezp-label", { level: "secondary", text: i18next.t('upload.selected_file') }), h("ezp-label", { level: "tertiary", text: this.filename })))))));
33666
33669
  }
33667
33670
  static get style() { return ezpUploadCss; }
33668
33671
  };
33669
33672
 
33670
- 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)}}";
33673
+ 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)}}";
33671
33674
 
33672
33675
  let EzpUserMenu$1 = class extends HTMLElement {
33673
33676
  constructor() {
@@ -33689,7 +33692,7 @@ let EzpUserMenu$1 = class extends HTMLElement {
33689
33692
  href: 'https://support.ezeep.com',
33690
33693
  },
33691
33694
  ];
33692
- this.themes = ['pink', 'red', 'orange', 'green', 'cyan', 'blue', 'violet'];
33695
+ this.themes = ['pink', 'red', 'orange', 'green', 'teal', 'cyan', 'blue', 'violet'];
33693
33696
  this.appearances = [
33694
33697
  { title: i18next.t('user_menu.system'), name: 'system' },
33695
33698
  { title: i18next.t('user_menu.light'), name: 'light' },
@@ -33766,7 +33769,7 @@ let EzpUserMenu$1 = class extends HTMLElement {
33766
33769
  };
33767
33770
 
33768
33771
  globalScripts();
33769
- 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"]]]);
33772
+ 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"]]]);
33770
33773
  const EzpBackdrop = /*@__PURE__*/proxyCustomElement(EzpBackdrop$1, [1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]]);
33771
33774
  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]}]);
33772
33775
  const EzpIcon = /*@__PURE__*/proxyCustomElement(EzpIcon$1, [1,"ezp-icon",{"name":[1],"size":[1],"framed":[4]}]);
@@ -33778,7 +33781,7 @@ const EzpSelect = /*@__PURE__*/proxyCustomElement(EzpSelect$1, [1,"ezp-select",{
33778
33781
  const EzpStatus = /*@__PURE__*/proxyCustomElement(EzpStatus$1, [1,"ezp-status",{"description":[1],"processing":[4],"instance":[1],"icon":[1],"cancel":[8],"close":[8],"retry":[8]}]);
33779
33782
  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]}]);
33780
33783
  const EzpTextButton = /*@__PURE__*/proxyCustomElement(EzpTextButton$1, [1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1],"small":[4]}]);
33781
- const EzpUpload = /*@__PURE__*/proxyCustomElement(EzpUpload$1, [1,"ezp-upload",{"dragging":[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"]]]);
33784
+ const EzpUpload = /*@__PURE__*/proxyCustomElement(EzpUpload$1, [1,"ezp-upload",{"filename":[32],"dragging":[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"],[4,"printCancel","listenPrintCancel"]]]);
33782
33785
  const EzpUserMenu = /*@__PURE__*/proxyCustomElement(EzpUserMenu$1, [1,"ezp-user-menu",{"name":[1],"open":[1028]}]);
33783
33786
  const defineCustomElements = (opts) => {
33784
33787
  if (typeof customElements !== 'undefined') {