@ezeep/ezeep-js 1.0.287 → 1.0.294

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 (53) hide show
  1. package/dist/cjs/ezeep.cjs.js +1 -1
  2. package/dist/cjs/ezp-auth_15.cjs.entry.js +84 -48
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/collection/components/ezp-input/ezp-input.css +11 -2
  5. package/dist/collection/components/ezp-input/ezp-input.js +3 -5
  6. package/dist/collection/components/ezp-label/ezp-label.js +1 -1
  7. package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.css +41 -15
  8. package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +12 -8
  9. package/dist/collection/components/ezp-printing/ezp-printing.js +1 -1
  10. package/dist/collection/components/ezp-select/ezp-select.css +9 -12
  11. package/dist/collection/components/ezp-select/ezp-select.js +1 -1
  12. package/dist/collection/components/ezp-status/ezp-status.js +2 -2
  13. package/dist/collection/components/ezp-stepper/ezp-stepper.js +1 -1
  14. package/dist/collection/components/ezp-text-button/ezp-text-button.css +3 -1
  15. package/dist/collection/components/ezp-text-button/ezp-text-button.js +1 -1
  16. package/dist/collection/components/ezp-upload/ezp-upload.css +173 -144
  17. package/dist/collection/components/ezp-upload/ezp-upload.js +58 -9
  18. package/dist/collection/components/ezp-user-menu/ezp-user-menu.js +1 -1
  19. package/dist/components/ezp-input2.js +1 -1
  20. package/dist/components/ezp-label2.js +1 -1
  21. package/dist/components/ezp-printer-selection2.js +1 -1
  22. package/dist/components/ezp-printing.js +1 -1
  23. package/dist/components/ezp-select2.js +1 -1
  24. package/dist/components/ezp-status2.js +1 -1
  25. package/dist/components/ezp-stepper2.js +1 -1
  26. package/dist/components/ezp-text-button2.js +1 -1
  27. package/dist/components/ezp-upload2.js +1 -1
  28. package/dist/components/ezp-user-menu2.js +1 -1
  29. package/dist/components/utils.js +1 -1
  30. package/dist/esm/ezeep.js +1 -1
  31. package/dist/esm/ezp-auth_15.entry.js +84 -48
  32. package/dist/esm/loader.js +1 -1
  33. package/dist/esm-es5/ezeep.js +1 -1
  34. package/dist/esm-es5/ezp-auth_15.entry.js +2 -2
  35. package/dist/esm-es5/loader.js +1 -1
  36. package/dist/ezeep/ezeep.esm.js +1 -1
  37. package/dist/ezeep/p-3ab5a223.entry.js +1 -0
  38. package/dist/ezeep/p-DCznw2Ee.system.js +1 -1
  39. package/dist/ezeep/{p-0aae0597.system.entry.js → p-fe700ca4.system.entry.js} +2 -2
  40. package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +2 -0
  41. package/dist/types/components/ezp-upload/ezp-upload.d.ts +8 -1
  42. package/dist/types/components.d.ts +0 -2
  43. package/package.json +1 -1
  44. package/www/build/ezeep.esm.js +1 -1
  45. package/www/build/p-3ab5a223.entry.js +1 -0
  46. package/www/build/{p-879553e9.js → p-65242d5e.js} +1 -1
  47. package/www/build/p-DCznw2Ee.system.js +1 -1
  48. package/www/build/{p-0aae0597.system.entry.js → p-fe700ca4.system.entry.js} +2 -2
  49. package/www/data/locales/de.json +6 -8
  50. package/www/data/locales/en.json +6 -8
  51. package/www/index.html +1 -1
  52. package/dist/ezeep/p-7b19a21a.entry.js +0 -1
  53. package/www/build/p-7b19a21a.entry.js +0 -1
@@ -2575,15 +2575,13 @@ const button_actions$1 = {
2575
2575
  select_printer: "Wähle Drucker"
2576
2576
  };
2577
2577
  const upload$1 = {
2578
- description: "Ziehe Dateien hier in den Browser ",
2579
- meta_leading: "oder",
2580
- dropzone_title: "Dateien hier ablegen",
2581
- browse: "vom Gerät auswählen",
2578
+ choose_files: "Dateien auswählen",
2579
+ drag_hint: "oder Dateien hierher ziehen",
2580
+ dropzone_title: "Zum Hochladen ablegen",
2582
2581
  file_type_fallback: "DATEI",
2583
- meta_multiple: "— mehrere Dateien möglich",
2584
- add_more: "Hinzufügen",
2585
- files_ready_one: "{{count}} Datei bereit",
2586
- files_ready_other: "{{count}} Dateien bereit",
2582
+ add_more: "Weitere Dateien hinzufügen",
2583
+ remove_file: "Datei entfernen",
2584
+ remove_files: "Dateien entfernen",
2587
2585
  "continue": "Weiter zu Druckoptionen"
2588
2586
  };
2589
2587
  const user_menu$1 = {
@@ -2668,15 +2666,13 @@ const button_actions = {
2668
2666
  select_printer: "Select Printer"
2669
2667
  };
2670
2668
  const upload = {
2671
- description: "Drop files here into the browser ",
2672
- meta_leading: "or",
2673
- dropzone_title: "Drop files here",
2674
- browse: "select from device",
2669
+ choose_files: "Choose files",
2670
+ drag_hint: "or drag files here",
2671
+ dropzone_title: "Drop to upload",
2675
2672
  file_type_fallback: "FILE",
2676
- meta_multiple: "— multiple files supported",
2677
- add_more: "Add",
2678
- files_ready_one: "{{count}} file ready",
2679
- files_ready_other: "{{count}} files ready",
2673
+ add_more: "Add more files",
2674
+ remove_file: "Remove file",
2675
+ remove_files: "Remove files",
2680
2676
  "continue": "Continue to print options"
2681
2677
  };
2682
2678
  const user_menu = {
@@ -3438,7 +3434,7 @@ const EzpIconButton = class {
3438
3434
  };
3439
3435
  EzpIconButton.style = ezpIconButtonCss();
3440
3436
 
3441
- const ezpInputCss = () => `:host{-ms-flex-align:center;align-items:center;background:transparent;cursor:text;display:grid;gap:var(--ezp-spacing-3);grid-template:var(--ezp-input-grid-template, auto/auto auto 1fr);height:56px;padding:var(--ezp-spacing-2) var(--ezp-spacing-3);position:relative;z-index:var(--ezp-input-z-index, 3)}:host([suffix]){--ezp-input-grid-template:auto / auto auto 1fr auto;--ezp-input-input-padding-right:0}:host(.focused){--ezp-input-label-color:var(--ezp-core-foreground-primary)}#label{color:var(--ezp-input-label-color, var(--ezp-core-foreground-primary))}#icon{--ezp-icon-background:var(--ezp-theme-translucent);--ezp-icon-borderRadius:50%;--ezp-icon-height:40px;--ezp-icon-width:40px;color:var(--ezp-input-icon-color, var(--ezp-theme-solid))}#input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;background:transparent;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-core-foreground-primary);cursor:text;font-family:inherit;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";font-size:14px;font-weight:600;-webkit-font-smoothing:antialiased;height:30px;letter-spacing:-0.0062235443em;margin:0;outline:none;padding:0 var(--ezp-input-input-padding-right, var(--ezp-spacing-1)) 0 0;text-align:right;width:100%}#input::-webkit-input-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input::-moz-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input:-ms-input-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input::-ms-input-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input::placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input[type=number]::-webkit-inner-spin-button,#input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}#suffix{color:var(--ezp-core-foreground-tertiary)}`;
3437
+ const ezpInputCss = () => `:host{-ms-flex-align:center;align-items:center;background:transparent;cursor:text;display:grid;gap:var(--ezp-spacing-3);grid-template:var(--ezp-input-grid-template, auto/auto 1fr);height:56px;padding:var(--ezp-spacing-2) var(--ezp-spacing-3);position:relative;z-index:var(--ezp-input-z-index, 3)}:host(.has-icon){--ezp-input-grid-template:auto / auto auto 1fr}:host([suffix]){--ezp-input-grid-template:auto / auto 1fr auto;--ezp-input-input-padding-right:0}:host([suffix].has-icon){--ezp-input-grid-template:auto / auto auto 1fr auto;--ezp-input-input-padding-right:0}:host(.focused){--ezp-input-label-color:var(--ezp-core-foreground-primary)}#label{color:var(--ezp-input-label-color, var(--ezp-core-foreground-primary))}#icon{--ezp-icon-background:var(--ezp-theme-translucent);--ezp-icon-borderRadius:50%;--ezp-icon-height:40px;--ezp-icon-width:40px;color:var(--ezp-input-icon-color, var(--ezp-theme-solid))}#input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;background:transparent;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-core-foreground-primary);cursor:text;font-family:inherit;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";font-size:14px;-webkit-font-smoothing:antialiased;font-weight:600;height:30px;letter-spacing:-0.0062235443em;margin:0;outline:none;padding:0 var(--ezp-input-input-padding-right, var(--ezp-spacing-1)) 0 0;text-align:right;width:100%}#input::-webkit-input-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input::-moz-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input:-ms-input-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input::-ms-input-placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input::placeholder{color:var(--ezp-core-foreground-tertiary);font-weight:400}#input[type=number]::-webkit-inner-spin-button,#input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}#suffix{color:var(--ezp-core-foreground-tertiary)}`;
3442
3438
 
3443
3439
  const EzpInput = class {
3444
3440
  constructor(hostRef) {
@@ -3455,8 +3451,6 @@ const EzpInput = class {
3455
3451
  /** Description... */
3456
3452
  this.type = 'text';
3457
3453
  /** Description... */
3458
- this.icon = 'color';
3459
- /** Description... */
3460
3454
  this.placeholder = '';
3461
3455
  /**
3462
3456
  *
@@ -3489,7 +3483,8 @@ const EzpInput = class {
3489
3483
  }, 500);
3490
3484
  }
3491
3485
  render() {
3492
- return (h(Host, { key: 'ba8958137bce0592dbe4ec23c03284885f570e27', class: { focused: this.focused }, onClick: this.setFocus }, h("ezp-icon", { key: '9d3b108841ffdabec9b9a98d6d6b2ea19fba37fc', id: "icon", name: this.icon }), h("ezp-label", { key: '5fee00202e9c6407bddf8a1b7090d983d79e42b3', id: "label", noWrap: true, level: "secondary", text: this.label }), h("input", { key: '99c71e9c6d29193046bd0b6094efbac828ffab15', id: "input", type: this.type, value: this.value, placeholder: this.placeholder, "aria-label": this.label, onInput: (event) => this.handleChange(event), ref: (input) => (this.input = input), onFocus: this.handleFocus, onBlur: this.handleBlur }), this.suffix ? h("ezp-label", { id: "suffix", level: "secondary", text: this.suffix }) : null));
3486
+ const hasIcon = !!this.icon;
3487
+ return (h(Host, { key: '47a8f8b4f1dd6a8cb2b67ffc21e8770e555a52e3', class: { focused: this.focused, 'has-icon': hasIcon }, onClick: this.setFocus }, hasIcon ? h("ezp-icon", { id: "icon", name: this.icon }) : null, h("ezp-label", { key: '7d9401d2ab927cb52cd2fcfbdcf8790c5a6d0228', id: "label", noWrap: true, level: "secondary", text: this.label }), h("input", { key: 'f0422183a1677ba90e8fe74d6ccf3abdaeb3d645', id: "input", type: this.type, value: this.value, placeholder: this.placeholder, "aria-label": this.label, onInput: (event) => this.handleChange(event), ref: (input) => (this.input = input), onFocus: this.handleFocus, onBlur: this.handleBlur }), this.suffix ? h("ezp-label", { id: "suffix", level: "secondary", text: this.suffix }) : null));
3493
3488
  }
3494
3489
  };
3495
3490
  EzpInput.style = ezpInputCss();
@@ -3521,7 +3516,7 @@ const EzpLabel = class {
3521
3516
  *
3522
3517
  */
3523
3518
  render() {
3524
- return (h(Host, { key: '2dc1901cc1a083e659eb7224a3e34566145e89c2', class: `${this.level} ${this.weight} ${this.ellipsis ? 'ellipsis' : ''} ${this.noWrap ? 'no-wrap' : ''}` }, h("div", { key: '8919f66e8401b3e2797d0ab9ce50f42c0b244348', id: "text" }, this.text)));
3519
+ return (h(Host, { key: '941746aaf861bd3ffe8dc65c1c5dbc52866be923', class: `${this.level} ${this.weight} ${this.ellipsis ? 'ellipsis' : ''} ${this.noWrap ? 'no-wrap' : ''}` }, h("div", { key: '36ee30f53e0209f569129ce1c1ca8e1ccf5d0803', id: "text" }, this.text)));
3525
3520
  }
3526
3521
  };
3527
3522
  EzpLabel.style = ezpLabelCss();
@@ -38239,7 +38234,7 @@ async function uploadAndPrintFile(ctx, file, hooks = {}) {
38239
38234
  }
38240
38235
  }
38241
38236
 
38242
- const ezpPrinterSelectionCss = () => `:host{--ezp-drucken-gradient:linear-gradient( 135deg, color-mix(in srgb, var(--ezp-theme-solid), white 14%) 0%, color-mix(in srgb, var(--ezp-theme-solid), black 22%) 100% );--ezp-status-border-radius:16px;background:var(--ezp-printerSelection-background, var(--ezp-core-backdrop));-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inset:var(--ezp-printerSelection-inset, 0);overflow-y:auto;padding:var(--ezp-printerSelection-padding, var(--ezp-spacing-5));position:var(--ezp-printerSelection-position, fixed);z-index:1}:host(.seamless){--ezp-printerSelection-background:transparent;--ezp-printerSelection-box-background:transparent;--ezp-printerSelection-box-boxShadow:none;--ezp-printerSelection-box-margin:0;--ezp-printerSelection-box-padding:0;--ezp-printerSelection-inset:auto;--ezp-printerSelection-padding:0;--ezp-printerSelection-position:static;--ezp-printerSelection-width:100%}#box{background:var(--ezp-printerSelection-box-background, var(--ezp-core-surface-tertiary));border-radius:16px;-webkit-box-shadow:var(--ezp-printerSelection-box-boxShadow, 0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop));box-shadow:var(--ezp-printerSelection-box-boxShadow, 0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop));color:var(--ezp-core-foreground-primary);margin:var(--ezp-printerSelection-box-margin, auto);padding:var(--ezp-printerSelection-box-padding, 0);position:relative;width:var(--ezp-printerSelection-width, 384px)}#header{-ms-flex-align:center;align-items:center;border-bottom:1px solid var(--ezp-core-outline);color:var(--ezp-core-foreground-primary);display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3);-ms-flex-pack:justify;justify-content:space-between;padding:var(--ezp-spacing-4);position:relative;z-index:3}#title{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3);min-width:0}#title ezp-label{--ezp-label-fontSize:20px;--ezp-label-lineHeight:26px}#files-badge{background:var(--ezp-theme-translucent);border-radius:999px;color:var(--ezp-theme-solid);font-size:12px;font-weight:600;line-height:1;padding:5px 10px;white-space:nowrap}#header-actions{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-2)}#body{background:var(--ezp-printerSelection-body-background, var(--ezp-core-surface-tertiary));display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-3);padding:var(--ezp-spacing-4)}#files-card{background:var(--ezp-core-surface-secondary);border-radius:12px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-2);padding:var(--ezp-spacing-3) var(--ezp-spacing-4)}.file-row{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3);min-width:0}.file-row ezp-label{--ezp-label-minWidth:0}.file-row-icon{--ezp-icon-size:18px;--ezp-icon-gridTemplate:18px;color:var(--ezp-theme-solid);-ms-flex-negative:0;flex-shrink:0}#printer-card{border-radius:12px;-webkit-box-shadow:inset 0 0 0 1px var(--ezp-core-outline);box-shadow:inset 0 0 0 1px var(--ezp-core-outline);position:relative}#print{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-drucken-gradient);border:0;border-radius:0 0 12px 12px;color:var(--ezp-white-100);cursor:pointer;display:-ms-flexbox;display:flex;font-family:inherit;gap:var(--ezp-spacing-3);-ms-flex-pack:center;justify-content:center;margin:0;outline:none;padding:var(--ezp-spacing-4);-webkit-transition:opacity var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:opacity var(--ezp-duration-2) var(--ezp-easing-out-quart);width:100%}#print ezp-icon{--ezp-icon-size:20px;--ezp-icon-gridTemplate:20px}@media (hover: hover){#print:not(:disabled):hover{opacity:0.9}#print:not(:disabled):active{opacity:0.8}}#print:disabled{background:var(--ezp-core-shade-primary);color:var(--ezp-core-foreground-tertiary);cursor:default}#options{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#footer{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;padding:var(--ezp-spacing-3) var(--ezp-spacing-4) var(--ezp-spacing-4);position:relative;z-index:3}#cancel{--ezp-textButton-background-init:transparent;--ezp-textButton-background-hover:var(--ezp-core-shade-primary);--ezp-textButton-boxShadow:inset 0 0 0 1px var(--ezp-core-outline);--ezp-textButton-borderRadius:999px;--ezp-textButton-color-init:var(--ezp-core-foreground-primary);--ezp-textButton-padding:var(--ezp-spacing-3) var(--ezp-spacing-6)}`;
38237
+ const ezpPrinterSelectionCss = () => `:host{--ezp-status-border-radius:16px;background:var(--ezp-printerSelection-background, var(--ezp-core-backdrop));-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inset:var(--ezp-printerSelection-inset, 0);overflow-y:auto;padding:var(--ezp-printerSelection-padding, var(--ezp-spacing-5));position:var(--ezp-printerSelection-position, fixed);z-index:1}:host(.seamless){--ezp-printerSelection-background:transparent;--ezp-printerSelection-box-background:transparent;--ezp-printerSelection-box-boxShadow:none;--ezp-printerSelection-box-margin:0;--ezp-printerSelection-box-padding:0;--ezp-printerSelection-inset:auto;--ezp-printerSelection-padding:0;--ezp-printerSelection-position:static;--ezp-printerSelection-width:100%}#box{background:var(--ezp-printerSelection-box-background, var(--ezp-core-surface-tertiary));border-radius:16px;-webkit-box-shadow:var(--ezp-printerSelection-box-boxShadow, 0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop));box-shadow:var(--ezp-printerSelection-box-boxShadow, 0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop));color:var(--ezp-core-foreground-primary);margin:var(--ezp-printerSelection-box-margin, auto);padding:var(--ezp-printerSelection-box-padding, 0);position:relative;width:var(--ezp-printerSelection-width, 384px)}#header{-ms-flex-align:center;align-items:center;border-bottom:1px solid var(--ezp-core-outline);color:var(--ezp-core-foreground-primary);display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3);-ms-flex-pack:justify;justify-content:space-between;padding:var(--ezp-spacing-4);position:relative;z-index:3}#title{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3);min-width:0}#title ezp-label{--ezp-label-fontSize:20px;--ezp-label-lineHeight:26px}#files-badge{background:var(--ezp-theme-translucent);border-radius:999px;color:var(--ezp-theme-solid);font-size:12px;font-weight:600;line-height:1;padding:5px 10px;white-space:nowrap}#header-actions{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-2)}#body{background:var(--ezp-printerSelection-body-background, var(--ezp-core-surface-tertiary));display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-3);padding:var(--ezp-spacing-4)}#files-card{background:var(--ezp-core-surface-secondary);border-radius:12px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-2);padding:var(--ezp-spacing-3) var(--ezp-spacing-4)}.file-row{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--ezp-spacing-3);min-width:0}.file-row ezp-label{--ezp-label-minWidth:0}.file-row-icon{--ezp-icon-size:18px;--ezp-icon-gridTemplate:18px;color:var(--ezp-theme-solid);-ms-flex-negative:0;flex-shrink:0}#printer-caption{color:var(--ezp-core-foreground-secondary);letter-spacing:0.08em;padding:0 var(--ezp-spacing-1);text-transform:uppercase}#printer-card{border-radius:12px;-webkit-box-shadow:inset 0 0 0 1px var(--ezp-core-outline);box-shadow:inset 0 0 0 1px var(--ezp-core-outline);position:relative}#printer{--ezp-select-label-display:none;--ezp-select-toggle-gridTemplateAreas:'icon value accessory';--ezp-select-toggle-gridTemplateRows:auto;--ezp-select-value-textAlign:left}#print{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-theme-solid);border:0;border-radius:8px;color:var(--ezp-white-100);cursor:pointer;display:-ms-flexbox;display:flex;font-family:inherit;gap:var(--ezp-spacing-3);-ms-flex-pack:center;justify-content:center;margin:0;outline:none;padding:13px var(--ezp-spacing-4);-webkit-transition:opacity var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:opacity var(--ezp-duration-2) var(--ezp-easing-out-quart);width:100%}#print ezp-icon{--ezp-icon-size:20px;--ezp-icon-gridTemplate:20px}@media (hover: hover){#print:not(:disabled):hover{opacity:0.9}#print:not(:disabled):active{opacity:0.8}}#print:disabled{background:var(--ezp-core-shade-primary);color:var(--ezp-core-foreground-tertiary);cursor:default}#options{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#options>*{-webkit-box-shadow:inset 0 -1px 0 0 var(--ezp-core-outline);box-shadow:inset 0 -1px 0 0 var(--ezp-core-outline)}#options>*:last-child{-webkit-box-shadow:none;box-shadow:none}#footer{background:var(--ezp-printerSelection-body-background, var(--ezp-core-surface-tertiary));border-radius:0 0 16px 16px;border-top:1px solid var(--ezp-core-outline);bottom:0;display:grid;gap:var(--ezp-spacing-3);grid-template-columns:1fr 1.4fr;padding:var(--ezp-spacing-4);position:-webkit-sticky;position:sticky;z-index:3}#cancel{--ezp-textButton-background-active:var(--ezp-core-shade-secondary);--ezp-textButton-background-hover:var(--ezp-core-shade-primary);--ezp-textButton-background-init:transparent;--ezp-textButton-borderRadius:8px;--ezp-textButton-boxShadow:inset 0 0 0 1px var(--ezp-core-outline);--ezp-textButton-color-init:var(--ezp-core-foreground-primary);--ezp-textButton-padding:13px var(--ezp-spacing-3)}`;
38243
38238
 
38244
38239
  const EzpPrinterSelection = class {
38245
38240
  constructor(hostRef) {
@@ -38608,6 +38603,10 @@ const EzpPrinterSelection = class {
38608
38603
  break;
38609
38604
  }
38610
38605
  }
38606
+ /** Print needs a printer, no job in flight and a valid page range. */
38607
+ get printDisabled() {
38608
+ return this.selectedPrinter.id === '' || this.printProcessing || this.pageRangeInvalid;
38609
+ }
38611
38610
  getPropertiesFromLocalStorage() {
38612
38611
  const savedProperties = storage.getProperties();
38613
38612
  if (savedProperties) {
@@ -38915,7 +38914,7 @@ const EzpPrinterSelection = class {
38915
38914
  ? [this.filename]
38916
38915
  : [];
38917
38916
  const fileCount = fileNames.length;
38918
- return this.loading ? (h("ezp-status", { processing: true, description: instance.t('printer_selection.loading'), instance: "loading" })) : (h(Host, { class: { seamless: this.seamless } }, h("div", { id: "box", "data-backdrop-surface": true }, !this.printStopped && this.renderStatus(), !this.hideheader && (h("div", { id: "header" }, h("div", { id: "title" }, h("ezp-label", { weight: "heavy", text: instance.t('printer_selection.print') }), !this.notSupported && fileCount > 0 && (h("span", { id: "files-badge" }, instance.t('printer_selection.file_count', { count: fileCount })))), h("div", { id: "header-actions" }, !this.hidemenu && (h("ezp-icon-button", { level: "tertiary", icon: "menu", id: "toggle-menu", type: "button", onClick: this.handleUserMenu })), h("ezp-icon-button", { level: "tertiary", icon: "close", id: "close", type: "button", onClick: this.handleCancel })))), h("div", { id: "body" }, !this.notSupported && fileNames.length > 0 && (h("div", { id: "files-card" }, fileNames.map((name, index) => (h("div", { class: "file-row", key: index }, h("ezp-icon", { name: "file", class: "file-row-icon" }), h("ezp-label", { ellipsis: true, text: name })))))), h("div", { id: "printer-card" }, h("ezp-select", { id: "printer", label: instance.t('printer_selection.printer'), icon: "printer", placeholder: this.printers.length > 0
38917
+ return this.loading ? (h("ezp-status", { processing: true, description: instance.t('printer_selection.loading'), instance: "loading" })) : (h(Host, { class: { seamless: this.seamless } }, h("div", { id: "box", "data-backdrop-surface": true }, !this.printStopped && this.renderStatus(), !this.hideheader && (h("div", { id: "header" }, h("div", { id: "title" }, h("ezp-label", { weight: "heavy", text: instance.t('printer_selection.print') }), !this.notSupported && fileCount > 0 && (h("span", { id: "files-badge" }, instance.t('printer_selection.file_count', { count: fileCount })))), h("div", { id: "header-actions" }, !this.hidemenu && (h("ezp-icon-button", { level: "tertiary", icon: "menu", id: "toggle-menu", type: "button", onClick: this.handleUserMenu })), h("ezp-icon-button", { level: "tertiary", icon: "close", id: "close", type: "button", onClick: this.handleCancel })))), h("div", { id: "body" }, !this.notSupported && fileNames.length > 0 && (h("div", { id: "files-card" }, fileNames.map((name, index) => (h("div", { class: "file-row", key: index }, h("ezp-icon", { name: "file", class: "file-row-icon" }), h("ezp-label", { ellipsis: true, text: name })))))), h("ezp-label", { id: "printer-caption", level: "tertiary", weight: "heavy", text: instance.t('printer_selection.printer') }), h("div", { id: "printer-card" }, h("ezp-select", { id: "printer", label: instance.t('printer_selection.printer'), icon: "printer", placeholder: this.printers.length > 0
38919
38918
  ? instance.t('printer_selection.select_printer')
38920
38919
  : instance.t('printer_selection.no_printers'), toggleFlow: "vertical", optionFlow: "vertical", options: this.printers.map((printer) => ({
38921
38920
  id: printer.id,
@@ -38923,14 +38922,14 @@ const EzpPrinterSelection = class {
38923
38922
  meta: printer.location !== '' ? printer.location : '',
38924
38923
  type: 'printer',
38925
38924
  is_queue: printer.is_queue,
38926
- })), preSelected: this.selectedPrinter.id ? this.selectedPrinter.name : null, disabled: !(this.printers.length > 0) }), h("button", { id: "print", type: "button", disabled: this.selectedPrinter.id === '' || this.printProcessing || this.pageRangeInvalid, onClick: this.handlePrint, ref: (button) => (this.printButton = button) }, h("ezp-icon", { name: "printer" }), h("ezp-label", { weight: "heavy", text: instance.t('printer_selection.print') }))), h("div", { id: "options" }, h("ezp-stepper", { label: instance.t('printer_selection.copies'), icon: "copies" }), h("ezp-select", { label: instance.t('printer_selection.color'), icon: "color", placeholder: instance.t('printer_selection.select_color'), toggleFlow: "horizontal", options: (_a = this.ColorOptions) === null || _a === void 0 ? void 0 : _a.map((option) => ({
38925
+ })), preSelected: this.selectedPrinter.id ? this.selectedPrinter.name : null, disabled: !(this.printers.length > 0) })), h("div", { id: "options" }, h("ezp-stepper", { label: instance.t('printer_selection.copies') }), h("ezp-select", { label: instance.t('printer_selection.color'), placeholder: instance.t('printer_selection.select_color'), toggleFlow: "horizontal", options: (_a = this.ColorOptions) === null || _a === void 0 ? void 0 : _a.map((option) => ({
38927
38926
  id: option.id,
38928
38927
  title: option.title,
38929
38928
  meta: '',
38930
38929
  type: 'color',
38931
38930
  })), preSelected: this.selectedPrinter.id && ((_b = this.selectedPrinterConfig.Default) === null || _b === void 0 ? void 0 : _b.Color) == 'color'
38932
38931
  ? instance.t('printer_selection.color_color')
38933
- : instance.t('printer_selection.color_grayscale'), disabled: !this.selectedPrinterConfig.ColorSupported }), h("ezp-select", { label: instance.t('printer_selection.duplex'), icon: "duplex", placeholder: instance.t('printer_selection.select_duplex'), toggleFlow: "horizontal", options: (_c = this.duplexOptions) === null || _c === void 0 ? void 0 : _c.map((option) => ({
38932
+ : instance.t('printer_selection.color_grayscale'), disabled: !this.selectedPrinterConfig.ColorSupported }), h("ezp-select", { label: instance.t('printer_selection.duplex'), placeholder: instance.t('printer_selection.select_duplex'), toggleFlow: "horizontal", options: (_c = this.duplexOptions) === null || _c === void 0 ? void 0 : _c.map((option) => ({
38934
38933
  id: option.id,
38935
38934
  title: option.title,
38936
38935
  meta: '',
@@ -38942,7 +38941,7 @@ const EzpPrinterSelection = class {
38942
38941
  ? instance.t('printer_selection.duplex_long')
38943
38942
  : ((_f = this.selectedPrinterConfig.Default) === null || _f === void 0 ? void 0 : _f.Duplex) == 'duplex_horizontal'
38944
38943
  ? instance.t('printer_selection.duplex_short')
38945
- : null, disabled: !this.selectedPrinterConfig.DuplexSupported }), h("ezp-select", { label: instance.t('printer_selection.size'), icon: "size", placeholder: instance.t('printer_selection.select_size'), toggleFlow: "horizontal", optionFlow: "horizontal", options: this.selectedPrinterConfig.PaperFormats &&
38944
+ : null, disabled: !this.selectedPrinterConfig.DuplexSupported }), h("ezp-select", { label: instance.t('printer_selection.size'), placeholder: instance.t('printer_selection.select_size'), toggleFlow: "horizontal", optionFlow: "horizontal", options: this.selectedPrinterConfig.PaperFormats &&
38946
38945
  this.selectedPrinterConfig.PaperFormats.map((format) => ({
38947
38946
  id: format.Id,
38948
38947
  title: format.Name,
@@ -38951,12 +38950,12 @@ const EzpPrinterSelection = class {
38951
38950
  })), preSelected: this.selectedPrinter.id &&
38952
38951
  ((_g = this.selectedPrinterConfig.PaperFormats) === null || _g === void 0 ? void 0 : _g.find((el) => { var _a; return el.Name.includes((_a = this.selectedPrinterConfig.Default) === null || _a === void 0 ? void 0 : _a.Paper); }))
38953
38952
  ? (_h = this.selectedPrinterConfig.Default) === null || _h === void 0 ? void 0 : _h.Paper
38954
- : null, disabled: !(((_k = (_j = this.selectedPrinterConfig.PaperFormats) === null || _j === void 0 ? void 0 : _j.length) !== null && _k !== void 0 ? _k : 0) > 0) }), this.paperid == PAPER_ID ? (h(Fragment, null, h("ezp-input", { icon: "width", suffix: "mm", value: this.selectedProperties.paperwidth, eventType: "width", type: "number", label: instance.t('printer_selection.width') }), h("ezp-input", { icon: "height", suffix: "mm", value: this.selectedProperties.paperlength, eventType: "length", type: "number", label: instance.t('printer_selection.length') }))) : null, h("ezp-select", { label: instance.t('printer_selection.orientation'), icon: "orientation", placeholder: instance.t('printer_selection.select_orientation'), toggleFlow: "horizontal", options: (_l = this.selectedPrinterConfig.OrientationsSupported) === null || _l === void 0 ? void 0 : _l.map((orientation, index) => ({
38953
+ : null, disabled: !(((_k = (_j = this.selectedPrinterConfig.PaperFormats) === null || _j === void 0 ? void 0 : _j.length) !== null && _k !== void 0 ? _k : 0) > 0) }), this.paperid == PAPER_ID ? (h(Fragment, null, h("ezp-input", { suffix: "mm", value: this.selectedProperties.paperwidth, eventType: "width", type: "number", label: instance.t('printer_selection.width') }), h("ezp-input", { suffix: "mm", value: this.selectedProperties.paperlength, eventType: "length", type: "number", label: instance.t('printer_selection.length') }))) : null, h("ezp-select", { label: instance.t('printer_selection.orientation'), placeholder: instance.t('printer_selection.select_orientation'), toggleFlow: "horizontal", options: (_l = this.selectedPrinterConfig.OrientationsSupported) === null || _l === void 0 ? void 0 : _l.map((orientation, index) => ({
38955
38954
  id: index + 1,
38956
38955
  title: instance.t(`printer_selection.orientation_${orientation}`),
38957
38956
  meta: '',
38958
38957
  type: 'orientation',
38959
- })), preSelected: this.selectedPrinter.id ? this.selectedProperties.orientation : null, disabled: !(((_o = (_m = this.selectedPrinterConfig.OrientationsSupported) === null || _m === void 0 ? void 0 : _m.length) !== null && _o !== void 0 ? _o : 0) > 0) }), h("ezp-select", { label: instance.t('printer_selection.quality'), icon: "quality", placeholder: instance.t('printer_selection.select_quality'), toggleFlow: "horizontal", options: (_p = this.selectedPrinterConfig.Resolutions) === null || _p === void 0 ? void 0 : _p.map((option, index) => ({
38958
+ })), preSelected: this.selectedPrinter.id ? this.selectedProperties.orientation : null, disabled: !(((_o = (_m = this.selectedPrinterConfig.OrientationsSupported) === null || _m === void 0 ? void 0 : _m.length) !== null && _o !== void 0 ? _o : 0) > 0) }), h("ezp-select", { label: instance.t('printer_selection.quality'), placeholder: instance.t('printer_selection.select_quality'), toggleFlow: "horizontal", options: (_p = this.selectedPrinterConfig.Resolutions) === null || _p === void 0 ? void 0 : _p.map((option, index) => ({
38960
38959
  id: index,
38961
38960
  title: option,
38962
38961
  meta: '',
@@ -38966,7 +38965,7 @@ const EzpPrinterSelection = class {
38966
38965
  ? (_s = this.selectedPrinterConfig.Default) === null || _s === void 0 ? void 0 : _s.Resolution
38967
38966
  : null, disabled: !(((_u = (_t = this.selectedPrinterConfig.Resolutions) === null || _t === void 0 ? void 0 : _t.length) !== null && _u !== void 0 ? _u : 0) > 0) }), this.selectedPrinterConfig.Trays &&
38968
38967
  this.selectedPrinterConfig.Trays.length >= 1 &&
38969
- this.selectedPrinterConfig.Trays[0] != null ? (h("ezp-select", { label: instance.t('printer_selection.trays'), icon: "trays", placeholder: instance.t('printer_selection.select_trays'), toggleFlow: "horizontal", optionFlow: "horizontal", options: this.selectedPrinterConfig.Trays && this.selectedPrinterConfig.Trays.length >= 1
38968
+ this.selectedPrinterConfig.Trays[0] != null ? (h("ezp-select", { label: instance.t('printer_selection.trays'), placeholder: instance.t('printer_selection.select_trays'), toggleFlow: "horizontal", optionFlow: "horizontal", options: this.selectedPrinterConfig.Trays && this.selectedPrinterConfig.Trays.length >= 1
38970
38969
  ? this.selectedPrinterConfig.Trays.map((trays) => ({
38971
38970
  title: trays.Name,
38972
38971
  id: trays.Index,
@@ -38976,7 +38975,7 @@ const EzpPrinterSelection = class {
38976
38975
  : undefined, preSelected: this.selectedPrinter.id &&
38977
38976
  ((_v = this.selectedPrinterConfig.Trays) === null || _v === void 0 ? void 0 : _v.find((el) => { var _a; return el.Name.includes((_a = this.selectedPrinterConfig.Default) === null || _a === void 0 ? void 0 : _a.Tray); }))
38978
38977
  ? (_w = this.selectedPrinterConfig.Default) === null || _w === void 0 ? void 0 : _w.Tray
38979
- : null })) : null, h("ezp-input", { icon: "paper_range", suffix: "", placeholder: "1-2,4-5,8", value: this.selectedProperties.PageRanges, eventType: "paper_ranges", type: "text", label: instance.t('printer_selection.page_ranges') }))), h("div", { id: "footer" }, h("ezp-text-button", { type: "button", level: "secondary", onClick: this.handleCancel, label: instance.t('button_actions.cancel'), class: "action", id: "cancel" })), !this.hidemenu && h("ezp-user-menu", { open: this.userMenuOpen, name: this.userName }))));
38978
+ : null })) : null, h("ezp-input", { suffix: "", placeholder: "1-2,4-5,8", value: this.selectedProperties.PageRanges, eventType: "paper_ranges", type: "text", label: instance.t('printer_selection.page_ranges') }))), h("div", { id: "footer" }, h("ezp-text-button", { type: "button", level: "secondary", onClick: this.handleCancel, label: instance.t('button_actions.cancel'), class: "action", id: "cancel" }), h("button", { id: "print", type: "button", disabled: this.printDisabled, onClick: this.handlePrint, ref: (button) => (this.printButton = button) }, h("ezp-icon", { name: "printer" }), h("ezp-label", { weight: "heavy", text: instance.t('printer_selection.print') }))), !this.hidemenu && h("ezp-user-menu", { open: this.userMenuOpen, name: this.userName }))));
38980
38979
  }
38981
38980
  };
38982
38981
  EzpPrinterSelection.style = ezpPrinterSelectionCss();
@@ -39326,7 +39325,7 @@ const EzpPrinting = class {
39326
39325
  *
39327
39326
  */
39328
39327
  render() {
39329
- return (h(Host, { key: '8eaeae452fb60e1c15265cf970dddf8767e4c849', class: `${userStore.state.theme} ${userStore.state.appearance === 'system'
39328
+ return (h(Host, { key: '5aa98ade8a71777d5032a3ccfb70d52f9d71f259', class: `${userStore.state.theme} ${userStore.state.appearance === 'system'
39330
39329
  ? this.systemAppearance
39331
39330
  : userStore.state.appearance} ${this.seamless ? 'seamless' : ''}` }, 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, code: this.code })) : this.printOpen ? (h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype, fileid: this.fileid, files: this.files, hidemenu: this.hidemenu, hideheader: this.hideheader, seamless: this.seamless })) : this.noDocumentOpen ? (h("ezp-dialog", { heading: instance.t('no_document_dialog.heading'), description: instance.t('no_document_dialog.description'), action: instance.t('no_document_dialog.action'), iconName: "question-mark", instance: "no-document-selected" })) : null));
39332
39331
  }
@@ -39347,7 +39346,7 @@ const EzpPrinting = class {
39347
39346
  };
39348
39347
  EzpPrinting.style = ezpPrintingCss();
39349
39348
 
39350
- const ezpSelectCss = () => `:host{--ezp-select-duration:var(--ezp-duration-3);--ezp-badge-gradient:linear-gradient( 135deg, color-mix(in srgb, var(--ezp-theme-solid), white 14%) 0%, color-mix(in srgb, var(--ezp-theme-solid), black 22%) 100% );display:block;height:var(--ezp-select-toggle-height);position:relative;-webkit-transition:var(--ezp-select-transition, z-index 0s var(--ezp-select-duration));transition:var(--ezp-select-transition, z-index 0s var(--ezp-select-duration));z-index:var(--ezp-select-zIndex, 3)}:host(.toggle-horizontal){--ezp-select-label-alignSelf:center;--ezp-select-toggle-gridTemplateAreas:'label value accessory';--ezp-select-toggle-gridTemplateColumns:1fr repeat(2, auto);--ezp-select-toggle-height:56px;--ezp-select-toggle-gridTemplateRows:auto;--ezp-select-value-alignSelf:center}:host(.toggle-horizontal.has-icon){--ezp-select-toggle-gridTemplateAreas:'icon label value accessory';--ezp-select-toggle-gridTemplateColumns:auto 1fr repeat(2, auto)}:host(.toggle-vertical){--ezp-select-label-alignSelf:center;--ezp-select-toggle-gridTemplateAreas:'label accessory' 'value accessory';--ezp-select-toggle-gridTemplateColumns:1fr auto;--ezp-select-toggle-height:64px;--ezp-select-toggle-gridTemplateRows:repeat(2, auto);--ezp-select-value-alignSelf:center}:host(.toggle-vertical.has-icon){--ezp-select-toggle-gridTemplateAreas:'icon label accessory' 'icon value accessory';--ezp-select-toggle-gridTemplateColumns:auto 1fr auto}:host(.option-horizontal){--ezp-select-details-gridTemplateColumns:repeat(2, 1fr);--ezp-select-details-gridTemplateRows:auto;--ezp-select-option-height:44px}:host(.option-vertical){--ezp-select-details-gridTemplateColumns:1fr;--ezp-select-details-gridTemplateRows:repeat(2, auto);--ezp-select-option-height:52px}:host(.toggle-vertical.has-icon){--ezp-select-badge-background:var(--ezp-badge-gradient);--ezp-select-badge-color:var(--ezp-white-100);--ezp-select-badge-height:44px;--ezp-select-badge-width:44px;--ezp-select-label-textTransform:uppercase;--ezp-select-label-letterSpacing:0.08em;--ezp-select-label-fontSize:11px;--ezp-select-value-fontSize:16px;--ezp-select-value-fontWeight:600;--ezp-select-value-color:var(--ezp-core-foreground-primary)}:host(.is-expanded){--ezp-select-accessory-color:var(--ezp-theme-solid);--ezp-select-transition:z-index 0s 0s;--ezp-select-zIndex:9999;--ezp-select-label-color:var(--ezp-theme-solid);--ezp-select-toggle-background:var(--ezp-theme-translucent);--ezp-select-wrap-background:var(--ezp-core-surface-tertiary);--ezp-select-wrap-borderRadius:12px;--ezp-select-wrap-boxShadow:0 0 0 1px var(--ezp-core-outline), 0 16px 40px -16px var(--ezp-core-backdrop)}:host(.disabled){--ezp-select-accessory-color:var(--ezp-core-foreground-tertiary);--ezp-select-badge-background:var(--ezp-core-shade-primary);--ezp-select-badge-color:var(--ezp-core-foreground-tertiary);--ezp-select-label-color:var(--ezp-core-foreground-tertiary);--ezp-select-toggle-background-hover:transparent;--ezp-select-toggle-cursor:default;--ezp-select-value-color:var(--ezp-core-foreground-tertiary);--value-color:var(--ezp-core-foreground-tertiary)}#wrap{background:var(--ezp-select-wrap-background, transparent);border-radius:var(--ezp-select-wrap-borderRadius, 12px);-webkit-box-shadow:var(--ezp-select-wrap-boxShadow, none);box-shadow:var(--ezp-select-wrap-boxShadow, none);-webkit-transform:translateY(var(--ezp-select-wrap-translateY, 0));transform:translateY(var(--ezp-select-wrap-translateY, 0));-webkit-transition:border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-transform var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-transform var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:transform var(--ezp-select-duration) var(--ezp-easing-out-quart), border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:transform var(--ezp-select-duration) var(--ezp-easing-out-quart), border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-transform var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart)}#toggle{background:var(--ezp-select-toggle-background, transparent);border-radius:var(--ezp-select-wrap-borderRadius, 12px);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:var(--ezp-select-toggle-cursor, pointer);display:grid;gap:2px var(--ezp-spacing-3);grid-template-areas:var(--ezp-select-toggle-gridTemplateAreas, none);grid-template-columns:var(--ezp-select-toggle-gridTemplateColumns, none);grid-template-rows:var(--ezp-select-toggle-gridTemplateRows, auto);height:var(--ezp-select-toggle-height, auto);padding:var(--ezp-spacing-2) var(--ezp-spacing-3);-webkit-transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart)}#toggle:hover{--ezp-select-toggle-background:var( --ezp-select-toggle-background-hover, var(--ezp-core-shade-primary) )}#icon{--ezp-icon-background:var(--ezp-select-badge-background, var(--ezp-theme-translucent));--ezp-icon-borderRadius:50%;--ezp-icon-height:var(--ezp-select-badge-height, 40px);--ezp-icon-width:var(--ezp-select-badge-width, 40px);align-self:center;color:var(--ezp-select-badge-color, var(--ezp-theme-solid));grid-area:icon}#label{--ezp-label-fontSize:var(--ezp-select-label-fontSize, 14px);--ezp-label-letterSpacing:var(--ezp-select-label-letterSpacing, normal);align-self:var(--ezp-select-label-alignSelf, auto);color:var(--ezp-select-label-color, var(--ezp-core-foreground-primary));grid-area:label;text-transform:var(--ezp-select-label-textTransform, none)}#value{--ezp-label-fontSize:var(--ezp-select-value-fontSize, 14px);--ezp-label-fontWeight:var(--ezp-select-value-fontWeight, 400);align-self:var(--ezp-select-value-alignSelf, auto);color:var(--ezp-select-value-color, var(--value-color, var(--ezp-core-foreground-secondary)));grid-area:value;text-align:right}#accessory{align-self:center;color:var(--ezp-select-accessory-color, var(--ezp-core-foreground-tertiary));grid-area:accessory}#list{-webkit-box-shadow:inset 0 1px 0 0 var(--ezp-core-outline);box-shadow:inset 0 1px 0 0 var(--ezp-core-outline);height:var(--ezp-select-list-height, 0);overflow:auto;-webkit-transition:height var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:height var(--ezp-select-duration) var(--ezp-easing-out-quart)}.option{background:var(--ezp-select-option-background);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:grid;gap:var(--ezp-spacing-3);grid-template:auto/auto 1fr;height:var(--ezp-select-option-height, auto);padding:0 0 0 var(--ezp-spacing-3)}.option:not(:last-child){--ezp-select-details-boxShadow:inset 0 -1px 0 0 var(--ezp-core-outline)}.option:hover{--ezp-select-option-background:var(--ezp-core-shade-primary)}.option:active{--ezp-select-option-background:var(--ezp-core-shade-secondary)}.option.is-selected{--ezp-select-indicator-opacity:1;--ezp-select-indicator-transform:translateX(0);--ezp-select-indicator-transition:opacity var(--ezp-select-duration) var(--ezp-easing-out-quart), transform var(--ezp-select-duration) var(--ezp-easing-out-quart), visibility 0s 0s;--ezp-select-indicator-visibility:visible}.indicator{-ms-flex-item-align:center;align-self:center;color:var(--ezp-theme-solid);margin:calc(var(--ezp-spacing-2) * -1) 0;opacity:var(--ezp-select-indicator-opacity, 0);-webkit-transform:var(--ezp-select-indicator-transform, translateX(var(--ezp-spacing-3)));transform:var(--ezp-select-indicator-transform, translateX(var(--ezp-spacing-3)));-webkit-transition:var(--ezp-select-indicator-transition, opacity var(--ezp-select-duration) var(--ezp-easing-out-quart), transform var(--ezp-select-duration) var(--ezp-easing-out-quart), visibility 0s var(--ezp-select-duration));transition:var(--ezp-select-indicator-transition, opacity var(--ezp-select-duration) var(--ezp-easing-out-quart), transform var(--ezp-select-duration) var(--ezp-easing-out-quart), visibility 0s var(--ezp-select-duration));visibility:var(--ezp-select-indicator-visibility, hidden)}.details{-webkit-box-shadow:var(--ezp-select-details-boxShadow);box-shadow:var(--ezp-select-details-boxShadow);display:grid;gap:var(--ezp-spacing-2);grid-template-columns:var(--ezp-select-details-gridTemplateColumns, 1fr);grid-template-rows:var(--ezp-select-details-gridTemplateRows, auto);padding:var(--ezp-spacing-3) var(--ezp-spacing-3) var(--ezp-spacing-3) 0}.title{-ms-flex-item-align:start;align-self:start;color:var(--ezp-core-foreground-primary)}.meta{-ms-flex-item-align:end;align-self:end;color:var(--ezp-core-foreground-secondary)}`;
39349
+ 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(.toggle-horizontal){--ezp-select-label-alignSelf:center;--ezp-select-toggle-gridTemplateAreas:'label value accessory';--ezp-select-toggle-gridTemplateColumns:1fr repeat(2, auto);--ezp-select-toggle-height:56px;--ezp-select-toggle-gridTemplateRows:auto;--ezp-select-value-alignSelf:center}:host(.toggle-horizontal.has-icon){--ezp-select-toggle-gridTemplateAreas:'icon label value accessory';--ezp-select-toggle-gridTemplateColumns:auto 1fr repeat(2, auto)}:host(.toggle-vertical){--ezp-select-label-alignSelf:center;--ezp-select-toggle-gridTemplateAreas:'label accessory' 'value accessory';--ezp-select-toggle-gridTemplateColumns:1fr auto;--ezp-select-toggle-height:64px;--ezp-select-toggle-gridTemplateRows:repeat(2, auto);--ezp-select-value-alignSelf:center}:host(.toggle-vertical.has-icon){--ezp-select-toggle-gridTemplateAreas:'icon label accessory' 'icon value accessory';--ezp-select-toggle-gridTemplateColumns:auto 1fr auto}:host(.option-horizontal){--ezp-select-details-gridTemplateColumns:repeat(2, 1fr);--ezp-select-details-gridTemplateRows:auto;--ezp-select-option-height:44px}:host(.option-vertical){--ezp-select-details-gridTemplateColumns:1fr;--ezp-select-details-gridTemplateRows:repeat(2, auto);--ezp-select-option-height:52px}:host(.toggle-vertical.has-icon){--ezp-select-badge-borderRadius:10px;--ezp-select-badge-height:40px;--ezp-select-badge-width:40px;--ezp-select-label-textTransform:uppercase;--ezp-select-label-letterSpacing:0.08em;--ezp-select-label-fontSize:11px;--ezp-select-value-fontSize:16px;--ezp-select-value-fontWeight:600;--ezp-select-value-color:var(--ezp-core-foreground-primary)}:host(.is-expanded){--ezp-select-accessory-color:var(--ezp-theme-solid);--ezp-select-transition:z-index 0s 0s;--ezp-select-zIndex:9999;--ezp-select-label-color:var(--ezp-theme-solid);--ezp-select-toggle-background:var(--ezp-theme-translucent);--ezp-select-wrap-background:var(--ezp-core-surface-tertiary);--ezp-select-wrap-borderRadius:12px;--ezp-select-wrap-boxShadow:0 0 0 1px var(--ezp-core-outline), 0 16px 40px -16px var(--ezp-core-backdrop)}:host(.disabled){--ezp-select-accessory-color:var(--ezp-core-foreground-tertiary);--ezp-select-badge-background:var(--ezp-core-shade-primary);--ezp-select-badge-color:var(--ezp-core-foreground-tertiary);--ezp-select-label-color:var(--ezp-core-foreground-tertiary);--ezp-select-toggle-background-hover:transparent;--ezp-select-toggle-cursor:default;--ezp-select-value-color:var(--ezp-core-foreground-tertiary);--value-color:var(--ezp-core-foreground-tertiary)}#wrap{background:var(--ezp-select-wrap-background, transparent);border-radius:var(--ezp-select-wrap-borderRadius, 12px);-webkit-box-shadow:var(--ezp-select-wrap-boxShadow, none);box-shadow:var(--ezp-select-wrap-boxShadow, none);-webkit-transform:translateY(var(--ezp-select-wrap-translateY, 0));transform:translateY(var(--ezp-select-wrap-translateY, 0));-webkit-transition:border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-transform var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-transform var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:transform var(--ezp-select-duration) var(--ezp-easing-out-quart), border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:transform var(--ezp-select-duration) var(--ezp-easing-out-quart), border-radius var(--ezp-select-duration) var(--ezp-easing-out-quart), box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-transform var(--ezp-select-duration) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-select-duration) var(--ezp-easing-out-quart)}#toggle{background:var(--ezp-select-toggle-background, transparent);border-radius:var(--ezp-select-wrap-borderRadius, 12px);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:var(--ezp-select-toggle-cursor, pointer);display:grid;gap:2px var(--ezp-spacing-3);grid-template-areas:var(--ezp-select-toggle-gridTemplateAreas, none);grid-template-columns:var(--ezp-select-toggle-gridTemplateColumns, none);grid-template-rows:var(--ezp-select-toggle-gridTemplateRows, auto);height:var(--ezp-select-toggle-height, auto);padding:var(--ezp-spacing-2) var(--ezp-spacing-3);-webkit-transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart)}#toggle:hover{--ezp-select-toggle-background:var( --ezp-select-toggle-background-hover, var(--ezp-core-shade-primary) )}#icon{--ezp-icon-background:var(--ezp-select-badge-background, var(--ezp-theme-translucent));--ezp-icon-borderRadius:var(--ezp-select-badge-borderRadius, 50%);--ezp-icon-height:var(--ezp-select-badge-height, 40px);--ezp-icon-width:var(--ezp-select-badge-width, 40px);align-self:center;color:var(--ezp-select-badge-color, var(--ezp-theme-solid));grid-area:icon}#label{--ezp-label-fontSize:var(--ezp-select-label-fontSize, 14px);--ezp-label-letterSpacing:var(--ezp-select-label-letterSpacing, normal);align-self:var(--ezp-select-label-alignSelf, auto);color:var(--ezp-select-label-color, var(--ezp-core-foreground-primary));display:var(--ezp-select-label-display, block);grid-area:label;text-transform:var(--ezp-select-label-textTransform, none)}#value{--ezp-label-fontSize:var(--ezp-select-value-fontSize, 14px);--ezp-label-fontWeight:var(--ezp-select-value-fontWeight, 400);align-self:var(--ezp-select-value-alignSelf, auto);color:var(--ezp-select-value-color, var(--value-color, var(--ezp-core-foreground-secondary)));grid-area:value;text-align:var(--ezp-select-value-textAlign, right)}#accessory{align-self:center;color:var(--ezp-select-accessory-color, var(--ezp-core-foreground-tertiary));grid-area:accessory}#list{-webkit-box-shadow:inset 0 1px 0 0 var(--ezp-core-outline);box-shadow:inset 0 1px 0 0 var(--ezp-core-outline);height:var(--ezp-select-list-height, 0);overflow:auto;-webkit-transition:height var(--ezp-select-duration) var(--ezp-easing-out-quart);transition:height var(--ezp-select-duration) var(--ezp-easing-out-quart)}.option{background:var(--ezp-select-option-background);-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:grid;gap:var(--ezp-spacing-3);grid-template:auto/auto 1fr;height:var(--ezp-select-option-height, auto);padding:0 0 0 var(--ezp-spacing-3)}.option:not(:last-child){--ezp-select-details-boxShadow:inset 0 -1px 0 0 var(--ezp-core-outline)}.option:hover{--ezp-select-option-background:var(--ezp-core-shade-primary)}.option:active{--ezp-select-option-background:var(--ezp-core-shade-secondary)}.option.is-selected{--ezp-select-indicator-opacity:1;--ezp-select-indicator-transform:translateX(0);--ezp-select-indicator-transition:opacity var(--ezp-select-duration) var(--ezp-easing-out-quart), transform var(--ezp-select-duration) var(--ezp-easing-out-quart), visibility 0s 0s;--ezp-select-indicator-visibility:visible}.indicator{-ms-flex-item-align:center;align-self:center;color:var(--ezp-theme-solid);margin:calc(var(--ezp-spacing-2) * -1) 0;opacity:var(--ezp-select-indicator-opacity, 0);-webkit-transform:var(--ezp-select-indicator-transform, translateX(var(--ezp-spacing-3)));transform:var(--ezp-select-indicator-transform, translateX(var(--ezp-spacing-3)));-webkit-transition:var(--ezp-select-indicator-transition, opacity var(--ezp-select-duration) var(--ezp-easing-out-quart), transform var(--ezp-select-duration) var(--ezp-easing-out-quart), visibility 0s var(--ezp-select-duration));transition:var(--ezp-select-indicator-transition, opacity var(--ezp-select-duration) var(--ezp-easing-out-quart), transform var(--ezp-select-duration) var(--ezp-easing-out-quart), visibility 0s var(--ezp-select-duration));visibility:var(--ezp-select-indicator-visibility, hidden)}.details{-webkit-box-shadow:var(--ezp-select-details-boxShadow);box-shadow:var(--ezp-select-details-boxShadow);display:grid;gap:var(--ezp-spacing-2);grid-template-columns:var(--ezp-select-details-gridTemplateColumns, 1fr);grid-template-rows:var(--ezp-select-details-gridTemplateRows, auto);padding:var(--ezp-spacing-3) var(--ezp-spacing-3) var(--ezp-spacing-3) 0}.title{-ms-flex-item-align:start;align-self:start;color:var(--ezp-core-foreground-primary)}.meta{-ms-flex-item-align:end;align-self:end;color:var(--ezp-core-foreground-secondary)}`;
39351
39350
 
39352
39351
  /**
39353
39352
  * The "nothing selected" sentinel. Its empty `title` makes the toggle fall back
@@ -39562,7 +39561,7 @@ const EzpSelect = class {
39562
39561
  this.disabled ? 'disabled' : '',
39563
39562
  ];
39564
39563
  const labelLevel = this.toggleFlow === 'horizontal' ? 'secondary' : 'tertiary';
39565
- return (h(Host, { key: 'feebc96701d65827e984b1d75d9ef96974ae6df3', class: hostClasses.join(' ') }, h("div", { key: 'ef9d6ac76f626f74d0dfc0cff7e1747afae0df1b', id: "wrap" }, h("div", { key: '3a18e8c059d93be76f72b0244133b7dbddba5d0d', id: "toggle", role: "combobox", "aria-haspopup": "listbox", "aria-controls": "list", "aria-expanded": this.expanded ? 'true' : 'false', "aria-label": this.label, "aria-disabled": this.disabled ? 'true' : 'false', tabindex: this.disabled ? -1 : 0, ref: (el) => (this.toggleEl = el), onClick: () => !this.disabled && this.toggle(), onKeyDown: this.handleToggleKeydown }, this.icon ? h("ezp-icon", { id: "icon", name: this.icon }) : null, h("ezp-label", { key: 'fda5f7c7f33343634df401890b1c580369273568', id: "label", noWrap: true, level: labelLevel, text: this.label }), h("ezp-label", { key: '2cad104bb14338efaf165c7edff5a7226b9f8a8c', id: "value", ellipsis: true, text: ((_a = this.selected) === null || _a === void 0 ? void 0 : _a.title) !== '' ? (_b = this.selected) === null || _b === void 0 ? void 0 : _b.title : this.placeholder }), h("ezp-icon", { key: 'e4e3a59e2ee36ee9d07232ca03e540b4e7dad6ba', id: "accessory", name: "expand" })), h("div", { key: '3f3c5bc0202985d4f64ba9df828c877df1240f6f', id: "list", role: "listbox", "aria-label": this.label, ref: (element) => (this.list = element) }, (_c = this.options) === null || _c === void 0 ? void 0 : _c.map((option) => {
39564
+ return (h(Host, { key: '89aa6ffebb4083fd8ea1ca90c4ab3b197498fd68', class: hostClasses.join(' ') }, h("div", { key: '895a0c53f37d7255034643b33b9b4efcc95072e8', id: "wrap" }, h("div", { key: '8339822b01a064a9bc03e8ea9a65e8de55339640', id: "toggle", role: "combobox", "aria-haspopup": "listbox", "aria-controls": "list", "aria-expanded": this.expanded ? 'true' : 'false', "aria-label": this.label, "aria-disabled": this.disabled ? 'true' : 'false', tabindex: this.disabled ? -1 : 0, ref: (el) => (this.toggleEl = el), onClick: () => !this.disabled && this.toggle(), onKeyDown: this.handleToggleKeydown }, this.icon ? h("ezp-icon", { id: "icon", name: this.icon }) : null, h("ezp-label", { key: '3ba6751cd4c366193ef304ed967cd644e8a04aa2', id: "label", noWrap: true, level: labelLevel, text: this.label }), h("ezp-label", { key: 'd0dd648a1ebe6bfb0dd21e0d24da486c21d34d61', id: "value", ellipsis: true, text: ((_a = this.selected) === null || _a === void 0 ? void 0 : _a.title) !== '' ? (_b = this.selected) === null || _b === void 0 ? void 0 : _b.title : this.placeholder }), h("ezp-icon", { key: '11f05e149e4f3c443bf6b261617ea36c794a657c', id: "accessory", name: "expand" })), h("div", { key: '794d83d79e75f5c85d156fc05bf7c0815ed12780', id: "list", role: "listbox", "aria-label": this.label, ref: (element) => (this.list = element) }, (_c = this.options) === null || _c === void 0 ? void 0 : _c.map((option) => {
39566
39565
  var _a, _b;
39567
39566
  if (option.title !== '') {
39568
39567
  return (h("div", { class: `option ${option.id === ((_a = this.selected) === null || _a === void 0 ? void 0 : _a.id) ? 'is-selected' : ''} ${option.meta !== '' ? 'has-meta' : ''} `, role: "option", "aria-selected": option.id === ((_b = this.selected) === null || _b === void 0 ? void 0 : _b.id) ? 'true' : 'false', tabindex: this.expanded ? 0 : -1, onClick: () => this.select(option.id), onKeyDown: (event) => this.handleOptionKeydown(event, option.id) }, h("ezp-icon", { name: "checkmark", class: "indicator" }), h("div", { class: "details" }, h("ezp-label", { class: "title", ellipsis: true, text: option.title }), option.meta !== '' ? (h("ezp-label", { level: "tertiary", class: "meta", text: option.meta, ellipsis: true })) : null)));
@@ -39632,9 +39631,9 @@ const EzpStatus = class {
39632
39631
  return (
39633
39632
  // Live region so screen readers announce status changes (loading,
39634
39633
  // processing, success, error) as they render.
39635
- h(Host, { key: '5956a42fc8d74042fe88418c5f98011d0bf728c8', role: "status", "aria-live": "polite" }, h("div", { key: 'b1aebc3725a621c0e4474481064988167ca80328', id: "box" }, this.processing ? (h("svg", { id: "indicator", viewBox: "0 0 42 42", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, h("circle", { id: "track", cx: "21", cy: "21", r: "18" }), h("circle", { id: "value", cx: "21", cy: "21", r: "18" }))) : this.icon ? (h("div", { id: "icon" }, h("div", { id: "icon-inner" }, h("ezp-icon", { name: this.icon })))) : null, h("ezp-label", { key: '34baad28a5ffc3fac42eef6a886ae52f772e3576', id: "description", weight: "heavy", text: this.description }), this.subtext && (h("ezp-label", { key: '321659cc9ae7a40f62c8fc6447556d1aa026a9dc', id: "subtext", level: "secondary", text: this.subtext })), (this.cancel || this.close || this.retry) && (h("div", { key: 'ce83d1db0aad512f282f1a2bbfbf112a3d2f7aed', id: "footer" }, this.cancel && (h("ezp-text-button", { key: '9eb72f9e158b1e2c6a4fd2d2755705c2041b67f5', class: "action secondary", level: "secondary", onClick: this.handleCancel, label: typeof this.cancel === 'string'
39634
+ h(Host, { key: '57292e782da34ffd4ccde20684cd7e5d4b07d857', role: "status", "aria-live": "polite" }, h("div", { key: 'f4cac1f4e6624efaac038b26dd592ef8c96769a1', id: "box" }, this.processing ? (h("svg", { id: "indicator", viewBox: "0 0 42 42", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, h("circle", { id: "track", cx: "21", cy: "21", r: "18" }), h("circle", { id: "value", cx: "21", cy: "21", r: "18" }))) : this.icon ? (h("div", { id: "icon" }, h("div", { id: "icon-inner" }, h("ezp-icon", { name: this.icon })))) : null, h("ezp-label", { key: '6d6747ac139503337ee1ef5c5d9da0c2b8447846', id: "description", weight: "heavy", text: this.description }), this.subtext && (h("ezp-label", { key: '75557ddfdb8a08cd4536550444937adb462c2ec5', id: "subtext", level: "secondary", text: this.subtext })), (this.cancel || this.close || this.retry) && (h("div", { key: '5615011e1e597a18643d6b7b11007b56d4eee4ad', id: "footer" }, this.cancel && (h("ezp-text-button", { key: 'a451aa22649c64745667ae1434690a86ed680a30', class: "action secondary", level: "secondary", onClick: this.handleCancel, label: typeof this.cancel === 'string'
39636
39635
  ? this.cancel
39637
- : instance.t('button_actions.cancel') })), this.close && (h("ezp-text-button", { key: '9a10f49011bf0f0cba24905e82574199837e122a', class: `action ${this.retry ? 'secondary' : 'primary'}`, level: this.retry ? 'secondary' : 'primary', onClick: this.handleClose, label: typeof this.close === 'string' ? this.close : instance.t('button_actions.close') })), this.retry && (h("ezp-text-button", { key: '2522cfae37af2c9e8800af545f04b986affac356', class: "action primary", level: "primary", onClick: this.handleRetry, label: typeof this.retry === 'string' ? this.retry : instance.t('button_actions.retry') })))))));
39636
+ : instance.t('button_actions.cancel') })), this.close && (h("ezp-text-button", { key: 'a3ea31d096ab7514102fb2c8000a5059c833a96b', class: `action ${this.retry ? 'secondary' : 'primary'}`, level: this.retry ? 'secondary' : 'primary', onClick: this.handleClose, label: typeof this.close === 'string' ? this.close : instance.t('button_actions.close') })), this.retry && (h("ezp-text-button", { key: '154c3547c46066e80207f3c479788b068cf6a84d', class: "action primary", level: "primary", onClick: this.handleRetry, label: typeof this.retry === 'string' ? this.retry : instance.t('button_actions.retry') })))))));
39638
39637
  }
39639
39638
  };
39640
39639
  EzpStatus.style = ezpStatusCss();
@@ -39771,7 +39770,7 @@ const EzpStepper = class {
39771
39770
  *
39772
39771
  */
39773
39772
  render() {
39774
- return (h(Host, { key: 'ef15da0203857706cd220bd932fe25fb20f9a876', class: `${this.focused ? 'focused' : ''} ${this.icon ? 'has-icon' : ''}` }, h("div", { key: 'c36d83b93752da6678184e6e5d449e7422d0dd10', id: "toggle", onClick: this.setFocus }), this.icon ? h("ezp-icon", { id: "icon", name: this.icon }) : null, h("ezp-label", { key: '14e07c854636dfce079c349dd245fa8c7fc3025d', id: "label", noWrap: true, text: this.label }), h("div", { key: '11eef956e9f5dbb0feffa5fd2aed60dae7d80035', class: "buttons" }, h("button", { key: 'e328929f56a3aebeff825a711674a9e3d9e91ab0', class: "button", type: "button", "aria-label": `Decrease ${this.label}`, disabled: !this.canDecrease, onClick: this.handleDecrease }, h("ezp-icon", { key: 'd1af53b4ab9e22c28bd16325851f01e7c551de94', name: "minus" })), h("input", { key: '3591c3060576cf1abdc1187e20aa97b901589a92', id: "input", type: "number", ref: (input) => (this.input = input), min: this.min.toString(), max: this.max !== undefined ? this.max.toString() : undefined, value: this.value.toString(), "aria-label": this.label, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur }), h("button", { key: 'c081e7190bbea2f2d75cf81394c781ade876dce6', class: "button", type: "button", "aria-label": `Increase ${this.label}`, disabled: !this.canIncrease, onClick: this.handleIncrease }, h("ezp-icon", { key: 'd3a1ddde274537dec1f5a17c0cdf5afdd40fe24f', name: "plus" })))));
39773
+ return (h(Host, { key: 'cdb3aa8969719def6546f35fac5aa35b47c1f94b', class: `${this.focused ? 'focused' : ''} ${this.icon ? 'has-icon' : ''}` }, h("div", { key: '4b0edee6d156edc6e8f79eb0639be4203b12fc5b', id: "toggle", onClick: this.setFocus }), this.icon ? h("ezp-icon", { id: "icon", name: this.icon }) : null, h("ezp-label", { key: '4fb1d96f12933ee37c05afafee8f313d77a06e9e', id: "label", noWrap: true, text: this.label }), h("div", { key: '3be9bb50e25876cecf351632e002bc37474a12df', class: "buttons" }, h("button", { key: '77fdb0f15d4b54a820a7c4329b2f49ac2bef832e', class: "button", type: "button", "aria-label": `Decrease ${this.label}`, disabled: !this.canDecrease, onClick: this.handleDecrease }, h("ezp-icon", { key: '76cc4d8fefdb61a9ad66aa63fe36414093207ef5', name: "minus" })), h("input", { key: 'fab279a99fb1803fc8095c881f6d43233a12de6b', id: "input", type: "number", ref: (input) => (this.input = input), min: this.min.toString(), max: this.max !== undefined ? this.max.toString() : undefined, value: this.value.toString(), "aria-label": this.label, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur }), h("button", { key: 'fa0ad31ae7a0481d4ca173211ae2796a6ef5e805', class: "button", type: "button", "aria-label": `Increase ${this.label}`, disabled: !this.canIncrease, onClick: this.handleIncrease }, h("ezp-icon", { key: '98bb7417e464e4d5704d8f5d4f969a11d0c70fcf', name: "plus" })))));
39775
39774
  }
39776
39775
  static get watchers() { return {
39777
39776
  "value": [{
@@ -39793,7 +39792,7 @@ EzpStepper.ALLOWED_KEYS = [
39793
39792
  EzpStepper.CTRL_CMD_KEYS = ['a', 'c', 'v', 'x'];
39794
39793
  EzpStepper.style = ezpStepperCss();
39795
39794
 
39796
- const ezpTextButtonCss = () => `:host{display:-ms-flexbox;display:flex}:host(.primary){--ezp-textButton-background-disabled:var(--ezp-core-shade-primary);--ezp-textButton-background-init:var(--ezp-theme-solid);--ezp-textButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-white-100);--ezp-textButton-opacity-active:0.74;--ezp-textButton-opacity-hover:0.84}:host(.secondary){--ezp-textButton-background-active:var(--ezp-core-shade-tertiary);--ezp-textButton-background-disabled:var(--ezp-core-shade-primary);--ezp-textButton-background-hover:var(--ezp-core-shade-secondary);--ezp-textButton-background-init:var(--ezp-core-shade-primary);--ezp-textButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-theme-solid)}:host(.tertiary){--ezp-textButton-background-active:var(--ezp-core-shade-secondary);--ezp-textButton-background-disabled:transparent;--ezp-textButton-background-hover:var(--ezp-core-shade-primary);--ezp-textButton-background-init:transparent;--ezp-textButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-theme-solid)}#button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-textButton-background, var(--ezp-textButton-background-init));border:0;border-radius:var(--ezp-textButton-borderRadius, 3px);-webkit-box-shadow:var(--ezp-textButton-boxShadow, none);box-shadow:var(--ezp-textButton-boxShadow, none);color:var(--ezp-textButton-color, var(--ezp-textButton-color-init));cursor:var(--ezp-textButton-cursor, pointer);display:-ms-flexbox;display:flex;font-family:inherit;-ms-flex-pack:center;justify-content:center;margin:0;opacity:var(--ezp-textButton-opacity, 1);outline:none;padding:var(--ezp-textButton-padding, var(--ezp-spacing-3));white-space:nowrap;width:100%}@media (hover: hover){#button:not(:disabled):hover{--ezp-textButton-background:var( --ezp-textButton-background-hover, var(--ezp-textButton-background-init) );--ezp-textButton-opacity:var(--ezp-textButton-opacity-hover, 1)}#button:not(:disabled):active{--ezp-textButton-background:var( --ezp-textButton-background-active, var(--ezp-textButton-background-init) );--ezp-textButton-opacity:var(--ezp-textButton-opacity-active, 1)}}#button:disabled{--ezp-textButton-background:var(--ezp-textButton-background-disabled);--ezp-textButton-color:var(--ezp-textButton-color-disabled);--ezp-textButton-cursor:default}#label{pointer-events:none}`;
39795
+ const ezpTextButtonCss = () => `:host{display:-ms-flexbox;display:flex}:host(.primary){--ezp-textButton-background-disabled:var(--ezp-core-shade-primary);--ezp-textButton-background-init:var(--ezp-theme-solid);--ezp-textButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-white-100);--ezp-textButton-opacity-active:0.74;--ezp-textButton-opacity-hover:0.84}:host(.secondary){--ezp-textButton-background-active:var(--ezp-core-shade-tertiary);--ezp-textButton-background-disabled:var(--ezp-core-shade-primary);--ezp-textButton-background-hover:var(--ezp-core-shade-secondary);--ezp-textButton-background-init:var(--ezp-core-shade-primary);--ezp-textButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-theme-solid)}:host(.tertiary){--ezp-textButton-background-active:var(--ezp-core-shade-secondary);--ezp-textButton-background-disabled:transparent;--ezp-textButton-background-hover:var(--ezp-core-shade-primary);--ezp-textButton-background-init:transparent;--ezp-textButton-color-disabled:var(--ezp-core-foreground-tertiary);--ezp-textButton-color-init:var(--ezp-theme-solid)}#button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-textButton-background, var(--ezp-textButton-background-init));border:0;border-radius:var(--ezp-textButton-borderRadius, 3px);-webkit-box-shadow:var(--ezp-textButton-boxShadow, none);box-shadow:var(--ezp-textButton-boxShadow, none);color:var(--ezp-textButton-color, var(--ezp-textButton-color-init));cursor:var(--ezp-textButton-cursor, pointer);display:-ms-flexbox;display:flex;font-family:inherit;-ms-flex-pack:center;justify-content:center;margin:0;opacity:var(--ezp-textButton-opacity, 1);outline:none;padding:var(--ezp-textButton-padding, var(--ezp-spacing-3));white-space:var(--ezp-textButton-whiteSpace, nowrap);width:100%}@media (hover: hover){#button:not(:disabled):hover{--ezp-textButton-background:var( --ezp-textButton-background-hover, var(--ezp-textButton-background-init) );--ezp-textButton-opacity:var(--ezp-textButton-opacity-hover, 1)}#button:not(:disabled):active{--ezp-textButton-background:var( --ezp-textButton-background-active, var(--ezp-textButton-background-init) );--ezp-textButton-opacity:var(--ezp-textButton-opacity-active, 1)}}#button:disabled{--ezp-textButton-background:var(--ezp-textButton-background-disabled);--ezp-textButton-boxShadow:none;--ezp-textButton-color:var(--ezp-textButton-color-disabled);--ezp-textButton-cursor:default}#label{pointer-events:none}`;
39797
39796
 
39798
39797
  const EzpTextButton = class {
39799
39798
  constructor(hostRef) {
@@ -39828,12 +39827,12 @@ const EzpTextButton = class {
39828
39827
  href: this.href,
39829
39828
  target: this.blank ? '_blank' : '_self',
39830
39829
  };
39831
- return (h(Host, { key: 'e4d814429f79e8c7043ac26f44ebab08ba119cb4', class: `${this.level}` }, h(TagType, Object.assign({ key: 'e3f66d16f69c8abc1f073558b6547644340dcb6b', id: "button", "aria-label": this.label }, attributes), h("ezp-label", { key: 'c091e210993059cdf044863fe600212ec04c44b7', id: "label", weight: "heavy", text: this.label, level: this.small ? 'tertiary' : 'secondary' }))));
39830
+ return (h(Host, { key: '24c7d7fe23395513fccfc8fc94fbc552a1763148', class: `${this.level}` }, h(TagType, Object.assign({ key: 'eded3e128d17f4b5bf5a29b01e51f4a2ba1d6d74', id: "button", "aria-label": this.label }, attributes), h("ezp-label", { key: '4974381f385143ac4828f74c580ef280357e85ac', id: "label", weight: "heavy", text: this.label, level: this.small ? 'tertiary' : 'secondary' }))));
39832
39831
  }
39833
39832
  };
39834
39833
  EzpTextButton.style = ezpTextButtonCss();
39835
39834
 
39836
- const ezpUploadCss = () => `:host{--ezp-upload-gradient:linear-gradient( 135deg, color-mix(in srgb, var(--ezp-theme-solid), white 14%) 0%, color-mix(in srgb, var(--ezp-theme-solid), black 22%) 100% );-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-core-foreground-primary);display:block;width:var(--ezp-upload-width, auto);height:var(--ezp-upload-height, auto)}*,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}#form{display:block;height:100%}#input{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:0;opacity:0;pointer-events:none;position:absolute;width:0}#modal{background:var(--ezp-core-surface-tertiary);border-radius:16px;-webkit-box-shadow:0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop);box-shadow:0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4);height:100%;padding:var(--ezp-spacing-5)}#dropzone{-ms-flex-align:center;align-items:center;background:var(--ezp-upload-background, transparent);border:1.5px dashed var(--ezp-upload-border-color, var(--ezp-core-foreground-tertiary));border-radius:12px;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4);-ms-flex-pack:center;justify-content:center;min-height:0;padding:var(--ezp-spacing-6) var(--ezp-spacing-5);text-align:center;-webkit-transition:background-color var(--ezp-duration-3) var(--ezp-easing-out-quart), border-color var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:background-color var(--ezp-duration-3) var(--ezp-easing-out-quart), border-color var(--ezp-duration-3) var(--ezp-easing-out-quart)}:host(.dragging){--ezp-upload-background:var(--ezp-theme-translucent);--ezp-upload-border-color:var(--ezp-theme-solid)}#cloud{-ms-flex-align:center;align-items:center;background:var(--ezp-upload-gradient);border-radius:20px;-webkit-box-shadow:0 12px 24px -8px color-mix(in srgb, var(--ezp-theme-solid), transparent 45%);box-shadow:0 12px 24px -8px color-mix(in srgb, var(--ezp-theme-solid), transparent 45%);color:var(--ezp-white-100);display:-ms-flexbox;display:flex;height:84px;-ms-flex-pack:center;justify-content:center;width:84px}#cloud ezp-icon{--ezp-icon-size:40px;--ezp-icon-gridTemplate:40px}#dropzone-title{--ezp-label-fontSize:20px;--ezp-label-lineHeight:26px}#meta{-ms-flex-align:baseline;align-items:baseline;color:var(--ezp-core-foreground-secondary);display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:4px;-ms-flex-pack:center;justify-content:center}#browse{color:var(--ezp-theme-solid);cursor:pointer;opacity:var(--ezp-upload-browse-opacity, 1)}@media (hover: hover){#browse:hover{--ezp-upload-browse-opacity:0.6}}#formats{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--ezp-spacing-2);-ms-flex-pack:center;justify-content:center}.format{background:transparent;border:1px solid var(--ezp-core-outline);border-radius:999px;color:var(--ezp-core-foreground-secondary);font-size:12px;font-weight:600;letter-spacing:0.02em;line-height:1;padding:7px 14px}#thumbs{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--ezp-spacing-4);-ms-flex-pack:center;justify-content:center;max-height:40vh;overflow-y:auto;padding:var(--ezp-spacing-1);scrollbar-width:thin;width:100%}.thumb{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:6px;position:relative;width:88px}.thumb-icon{-ms-flex-align:center;align-items:center;background:var(--ezp-upload-gradient);border-radius:50%;color:var(--ezp-white-100);display:-ms-flexbox;display:flex;height:56px;-ms-flex-pack:center;justify-content:center;width:56px}.thumb-icon ezp-icon{--ezp-icon-size:26px;--ezp-icon-gridTemplate:26px}.thumb-name{--ezp-label-minWidth:0;max-width:100%}.thumb-meta{letter-spacing:0.02em}.thumb-remove{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-core-surface-tertiary);border:1px solid var(--ezp-core-outline);border-radius:50%;color:var(--ezp-core-foreground-secondary);cursor:pointer;display:-ms-flexbox;display:flex;height:20px;-ms-flex-pack:center;justify-content:center;padding:0;position:absolute;right:8px;top:-4px;-webkit-transition:color var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:color var(--ezp-duration-2) var(--ezp-easing-out-quart);width:20px;z-index:1}.thumb-remove ezp-icon{--ezp-icon-size:12px;--ezp-icon-gridTemplate:12px}@media (hover: hover){.thumb-remove:hover{color:var(--ezp-core-foreground-primary)}}.thumb-add{cursor:pointer}.thumb-add .thumb-add-icon{-ms-flex-align:center;align-items:center;border:1.5px dashed var(--ezp-core-foreground-tertiary);border-radius:50%;color:var(--ezp-core-foreground-secondary);display:-ms-flexbox;display:flex;height:56px;-ms-flex-pack:center;justify-content:center;-webkit-transition:border-color var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:border-color var(--ezp-duration-2) var(--ezp-easing-out-quart);width:56px}.thumb-add .thumb-add-icon ezp-icon{--ezp-icon-size:24px;--ezp-icon-gridTemplate:24px}@media (hover: hover){.thumb-add:hover .thumb-add-icon{border-color:var(--ezp-theme-solid);color:var(--ezp-theme-solid)}}#ready{color:var(--ezp-core-foreground-secondary);letter-spacing:0.08em;text-align:center;text-transform:uppercase}#footer{display:grid;gap:var(--ezp-spacing-3);grid-template-columns:1fr 1.4fr}.action{--ezp-textButton-borderRadius:999px;--ezp-textButton-padding:var(--ezp-spacing-4)}#continue{--ezp-textButton-background-init:var(--ezp-upload-gradient)}`;
39835
+ const ezpUploadCss = () => `@charset "UTF-8";:host{-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-core-foreground-primary);display:block;height:var(--ezp-upload-height, auto);width:var(--ezp-upload-width, auto)}*,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}#form{display:block;height:100%}#input{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:0;opacity:0;pointer-events:none;position:absolute;width:0}#modal{background:var(--ezp-core-surface-tertiary);border-radius:16px;-webkit-box-shadow:0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop);box-shadow:0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;overflow:hidden}:host(.dragging) #modal *{pointer-events:none}#body-frame{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;min-height:0;position:relative}#body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:auto;padding:var(--ezp-spacing-4);scrollbar-width:thin}#dropzone{-ms-flex-align:center;align-items:center;background:var(--ezp-theme-translucent);border:1.5px dashed var(--ezp-theme-solid);border-radius:12px;-webkit-box-shadow:var(--ezp-upload-dropzone-boxShadow, none);box-shadow:var(--ezp-upload-dropzone-boxShadow, none);display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4);-ms-flex-pack:center;justify-content:center;min-height:160px;padding:var(--ezp-spacing-6) var(--ezp-spacing-4);text-align:center;-webkit-transition:-webkit-box-shadow var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:-webkit-box-shadow var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:box-shadow var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:box-shadow var(--ezp-duration-3) var(--ezp-easing-out-quart), -webkit-box-shadow var(--ezp-duration-3) var(--ezp-easing-out-quart)}:host(.dragging){--ezp-upload-dropzone-boxShadow:0 0 0 4px var(--ezp-theme-translucent)}:host(:not(.dragging)) #dropzone-title,:host(.dragging) #dropzone-prompt{display:none}#drop-overlay{-ms-flex-align:center;align-items:center;background:-webkit-gradient(linear, left top, left bottom, from(var(--ezp-theme-translucent)), to(var(--ezp-theme-translucent))), var(--ezp-core-surface-tertiary);background:linear-gradient(var(--ezp-theme-translucent), var(--ezp-theme-translucent)), var(--ezp-core-surface-tertiary);border:1.5px dashed var(--ezp-theme-solid);border-radius:12px;-webkit-box-shadow:0 0 0 4px var(--ezp-theme-translucent);box-shadow:0 0 0 4px var(--ezp-theme-translucent);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4);inset:var(--ezp-spacing-4);-ms-flex-pack:center;justify-content:center;pointer-events:none;position:absolute;text-align:center;z-index:1}#dropzone-icon{--ezp-icon-size:32px;--ezp-icon-gridTemplate:32px;color:var(--ezp-theme-solid)}#dropzone-prompt{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-3)}#choose{--ezp-textButton-borderRadius:8px;--ezp-textButton-padding:13px var(--ezp-spacing-5)}#drag-hint{color:var(--ezp-core-foreground-primary)}#formats{color:var(--ezp-core-foreground-secondary)}#files{border:1px solid var(--ezp-core-outline);border-radius:12px;overflow:hidden}.file{-ms-flex-align:center;align-items:center;display:grid;gap:var(--ezp-spacing-3);grid-template-columns:auto minmax(0, 1fr) auto;padding:var(--ezp-spacing-3) var(--ezp-spacing-4)}.file+.file{border-top:1px solid var(--ezp-core-outline)}.file-type{background:var(--ezp-theme-translucent);border-radius:6px;color:var(--ezp-theme-solid);font-size:11px;font-weight:600;letter-spacing:0.02em;line-height:1;overflow:hidden;padding:8px 6px;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:56px}.file-details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-2);min-width:0}.file-size{color:var(--ezp-core-foreground-secondary)}.file-remove{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:6px;color:var(--ezp-core-foreground-tertiary);cursor:pointer;display:-ms-flexbox;display:flex;height:28px;-ms-flex-pack:center;justify-content:center;padding:0;-webkit-transition:color var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:color var(--ezp-duration-2) var(--ezp-easing-out-quart);width:28px}.file-remove ezp-icon{--ezp-icon-size:16px;--ezp-icon-gridTemplate:16px}@media (hover: hover){.file-remove:hover{color:var(--ezp-core-foreground-primary)}}#add-more{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-upload-addMore-background, transparent);border:0;border-top:1px solid var(--ezp-core-outline);color:var(--ezp-theme-solid);cursor:pointer;display:-ms-flexbox;display:flex;font-family:inherit;gap:4px;-ms-flex-pack:center;justify-content:center;padding:var(--ezp-spacing-3);-webkit-transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart);transition:background-color var(--ezp-duration-2) var(--ezp-easing-out-quart);width:100%}#add-more ezp-icon{--ezp-icon-size:18px;--ezp-icon-gridTemplate:18px}@media (hover: hover){#add-more:hover{--ezp-upload-addMore-background:var(--ezp-core-shade-primary)}}#footer{border-top:1px solid var(--ezp-core-outline);display:grid;gap:var(--ezp-spacing-3);grid-template-columns:1fr 1.4fr;padding:var(--ezp-spacing-4)}.action{--ezp-textButton-borderRadius:8px;--ezp-textButton-padding:13px var(--ezp-spacing-3);--ezp-textButton-whiteSpace:normal;text-align:center}#clear{--ezp-textButton-background-active:var(--ezp-core-shade-secondary);--ezp-textButton-background-hover:var(--ezp-core-shade-primary);--ezp-textButton-background-init:transparent;--ezp-textButton-boxShadow:inset 0 0 0 1px var(--ezp-core-outline);--ezp-textButton-color-init:var(--ezp-core-foreground-primary)}`;
39837
39836
 
39838
39837
  /** File formats advertised to the user as supported for printing. */
39839
39838
  const SUPPORTED_FORMATS = ['PDF', 'DOCX', 'PNG', 'JPG', 'XLSX'];
@@ -39850,11 +39849,32 @@ const EzpUpload = class {
39850
39849
  */
39851
39850
  this.selectedFiles = [];
39852
39851
  this.dragging = false;
39852
+ /**
39853
+ *
39854
+ * Listeners
39855
+ *
39856
+ */
39857
+ // dragenter/dragleave bubble from every child the pointer crosses, and the
39858
+ // next child's enter fires before the previous one's leave, so count depth
39859
+ // instead of toggling. This only balances if every entered element stays
39860
+ // connected until its dragleave fires, so the render never removes anything
39861
+ // while `dragging` flips (see the drop overlay below).
39862
+ this.dragDepth = 0;
39853
39863
  /**
39854
39864
  *
39855
39865
  * Private methods
39856
39866
  *
39857
39867
  */
39868
+ // Stable per-File keys, so removing a row doesn't make Stencil reuse the
39869
+ // following rows' DOM. Keyed by identity: the same file picked twice still
39870
+ // gets two distinct rows.
39871
+ this.fileKeys = new WeakMap();
39872
+ this.nextFileKey = 0;
39873
+ /** Opens the native file picker from our own buttons. */
39874
+ this.openPicker = () => {
39875
+ var _a;
39876
+ (_a = this.input) === null || _a === void 0 ? void 0 : _a.click();
39877
+ };
39858
39878
  this.handleInput = () => {
39859
39879
  var _a, _b;
39860
39880
  const files = Array.from((_b = (_a = this.input) === null || _a === void 0 ? void 0 : _a.files) !== null && _b !== void 0 ? _b : []);
@@ -39877,6 +39897,8 @@ const EzpUpload = class {
39877
39897
  }
39878
39898
  };
39879
39899
  this.handleCancel = () => {
39900
+ if (this.selectedFiles.length === 0)
39901
+ return;
39880
39902
  // Closing is the host's call: the event bubbles to `ezp-printing`, which
39881
39903
  // ends the print flow. It also reaches the document, where our own
39882
39904
  // `printCancel` listener resets the form and the selection.
@@ -39895,12 +39917,11 @@ const EzpUpload = class {
39895
39917
  var _a;
39896
39918
  (_a = this.unsubscribeLanguage) === null || _a === void 0 ? void 0 : _a.call(this);
39897
39919
  }
39898
- /**
39899
- *
39900
- * Listeners
39901
- *
39902
- */
39903
- handleDragEnter() {
39920
+ handleDragEnter(event) {
39921
+ // Accept here as well as on dragover: when the element under the pointer
39922
+ // changes, the browser takes the drop effect from dragenter alone.
39923
+ event === null || event === void 0 ? void 0 : event.preventDefault();
39924
+ this.dragDepth++;
39904
39925
  this.dragging = true;
39905
39926
  }
39906
39927
  handleDragOver(event) {
@@ -39911,22 +39932,37 @@ const EzpUpload = class {
39911
39932
  }
39912
39933
  }
39913
39934
  handleDragLeave() {
39914
- this.dragging = false;
39935
+ this.dragDepth = Math.max(0, this.dragDepth - 1);
39936
+ this.dragging = this.dragDepth > 0;
39915
39937
  }
39916
39938
  handleDrop(event) {
39917
39939
  var _a, _b;
39918
39940
  event.stopPropagation();
39919
39941
  event.preventDefault();
39942
+ this.dragDepth = 0;
39920
39943
  this.dragging = false;
39921
39944
  const files = Array.from((_b = (_a = event.dataTransfer) === null || _a === void 0 ? void 0 : _a.files) !== null && _b !== void 0 ? _b : []);
39922
39945
  // Add new files to existing selection instead of replacing
39923
39946
  this.selectedFiles = [...this.selectedFiles, ...files];
39924
39947
  this.uploadFile.emit(this.selectedFiles);
39925
39948
  }
39949
+ // A drag that ends anywhere else (dropped elsewhere on the page, or
39950
+ // cancelled) must not leave the card stuck in its drop state.
39951
+ resetDrag() {
39952
+ this.dragDepth = 0;
39953
+ this.dragging = false;
39954
+ }
39926
39955
  listenPrintCancel() {
39927
39956
  var _a;
39928
39957
  (_a = this.form) === null || _a === void 0 ? void 0 : _a.reset();
39929
39958
  this.selectedFiles = [];
39959
+ this.resetDrag();
39960
+ }
39961
+ fileKey(file) {
39962
+ if (!this.fileKeys.has(file)) {
39963
+ this.fileKeys.set(file, this.nextFileKey++);
39964
+ }
39965
+ return this.fileKeys.get(file);
39930
39966
  }
39931
39967
  /** Extract a short, upper-cased file-type label from the file name. */
39932
39968
  fileType(name) {
@@ -39953,7 +39989,7 @@ const EzpUpload = class {
39953
39989
  */
39954
39990
  render() {
39955
39991
  const hasFiles = this.selectedFiles.length > 0;
39956
- return (h(Host, { key: '61f63c0ce2529b4389ca9adf6759cb67db742192', class: { dragging: this.dragging } }, h("form", { key: '141f9b3fcf32206b2dd9c96accf655fef46ba10a', id: "form", ref: (form) => (this.form = form) }, h("input", { key: '30a1215373e7a273cafac0e134cbc0e57b6449ed', type: "file", name: "input", id: "input", multiple: true, "aria-label": instance.t('upload.description'), ref: (input) => (this.input = input), onInput: this.handleInput }), h("div", { key: '60540452c32a1342ba48367926bb0a226bc982a4', id: "modal" }, h("div", { key: '753a4fa19493bc0d60516771015de92d51e26282', id: "dropzone" }, hasFiles && (h("div", { key: 'd45c25efdfca9724b867e1b1a6c44a199402f633', id: "thumbs" }, this.selectedFiles.map((file, index) => (h("div", { key: index, class: "thumb" }, h("button", { type: "button", class: "thumb-remove", "aria-label": instance.t('button_actions.close'), onClick: (event) => this.removeFile(event, index) }, h("ezp-icon", { name: "close" })), h("div", { class: "thumb-icon" }, h("ezp-icon", { name: "file" })), h("ezp-label", { class: "thumb-name", ellipsis: true, text: file.name }), h("ezp-label", { class: "thumb-meta", level: "tertiary", weight: "strong", text: `${this.fileType(file.name)} · ${this.formatSize(file.size)}` })))), h("label", { key: '17283f52957983344881fdbaf22ab7aa28dedc97', htmlFor: "input", class: "thumb thumb-add" }, h("div", { key: '9d686e95d2e001519c8915ce686ae3b250276da3', class: "thumb-add-icon" }, h("ezp-icon", { key: 'f18ba642f129379cadd5d71e42eabbe434808bee', name: "plus" })), h("ezp-label", { key: 'ef03b99760fd7eaf6acb5c9d8654d7f862122d19', class: "thumb-name", level: "tertiary", text: instance.t('upload.add_more') })))), !hasFiles && (h("div", { key: '805df3ed48bd701a325869ebe4bb33f372a440d6', id: "cloud" }, h("ezp-icon", { key: '3e9fda14d452ecce60f541fd77529d97745a2ff9', name: "cloud-upload" }))), h("ezp-label", { key: 'e2203efbc3769d4f093ddafbd74d4723b111d70e', id: "dropzone-title", weight: "heavy", text: instance.t('upload.dropzone_title') }), h("div", { key: '28e48fc98d28dfadfc5002ee95dd0f9f09588909', id: "meta" }, h("ezp-label", { key: 'd0a81fd2acf329510763faefb5ac8e7fcd99c67b', level: "secondary", text: instance.t('upload.meta_leading') }), h("label", { key: '8d253191678ebf9e5f664047144820ddebe4ca43', htmlFor: "input", id: "browse" }, h("ezp-label", { key: '408a1a75c704db3fc5cf7d282646cc2d2ab6719b', level: "secondary", weight: "strong", text: instance.t('upload.browse') })), h("ezp-label", { key: '53ac72da58256a38a5bb7a7b78ed545ffc6d12b2', level: "secondary", text: instance.t('upload.meta_multiple') })), h("div", { key: '1fc8eef07376aaa54f0b5e23577a3125d6d00317', id: "formats" }, SUPPORTED_FORMATS.map((format) => (h("span", { class: "format", key: format }, format))))), hasFiles && (h("ezp-label", { key: '6340632d7c3d98f4660294661f6b01d414a77567', id: "ready", level: "secondary", weight: "strong", text: instance.t('upload.files_ready', { count: this.selectedFiles.length }) })), h("div", { key: 'f146ff18286df2c422e1a17add49474d3ac5b32d', id: "footer" }, h("ezp-text-button", { key: '17916a9918fa1e9511ef9490839f24eee84694ef', type: "button", level: "secondary", onClick: this.handleCancel, label: instance.t('button_actions.cancel'), class: "action" }), h("ezp-text-button", { key: '15dfc3f01e6050316bd875020bc8ce062f621154', id: "continue", type: "button", disabled: !hasFiles, onClick: this.handleContinue, label: instance.t('upload.continue'), class: "action" }))))));
39992
+ return (h(Host, { key: '4230fcbee5d8a20d79c05035a1783f16696a66fa', class: { dragging: this.dragging } }, h("form", { key: '5dcae80d94508ebe05e3dc8df463b0a1b79563ff', id: "form", ref: (form) => (this.form = form) }, h("input", { key: '480307c4fdbe7a39ba3872bce7cf905888f7946b', type: "file", name: "input", id: "input", multiple: true, "aria-label": instance.t('upload.choose_files'), ref: (input) => (this.input = input), onInput: this.handleInput }), h("div", { key: '95a58113221f2337323f0b6df3d58e459fdece2c', id: "modal" }, h("div", { key: '876b5ebe74d685b2ec7196df3deb8a9fd5437305', id: "body-frame" }, h("div", { key: '15465aeb4e939ce26b09d1a1c4f9b9b5d8901762', id: "body" }, !hasFiles && (h("div", { key: '912e27683e12d3d8ca999b4c3dbe1f528677aafd', id: "dropzone" }, h("ezp-icon", { key: '8cb1edf6b5c14a7815e52f7bc91d674047045e57', id: "dropzone-icon", name: "cloud-upload" }), h("ezp-label", { key: '678ea4205fbe81d3621dc205303533eb8c12ce23', id: "dropzone-title", level: "primary", weight: "heavy", text: instance.t('upload.dropzone_title') }), h("div", { key: '0fcd25bb9f12c1cd0c056d88cf94a20946b44f2a', id: "dropzone-prompt" }, h("ezp-text-button", { key: '5cc5ff7a98f87ae1eb2db4009435b926924be2e9', id: "choose", type: "button", onClick: this.openPicker, label: instance.t('upload.choose_files') }), h("ezp-label", { key: 'b64fe2cadd1639c5ef0b10da0084d420abd8232f', id: "drag-hint", level: "secondary", weight: "strong", text: instance.t('upload.drag_hint') }), h("ezp-label", { key: '5bf5178e691d35a58e988bacff656bd790f4c6ea', id: "formats", level: "tertiary", text: SUPPORTED_FORMATS.join(', ') })))), hasFiles && (h("div", { key: '289ce054d8987ba1d2a5c6481171dce341dd1e5c', id: "files" }, this.selectedFiles.map((file, index) => (h("div", { key: this.fileKey(file), class: "file" }, h("span", { class: "file-type", "aria-hidden": "true" }, this.fileType(file.name)), h("div", { class: "file-details" }, h("ezp-label", { class: "file-name", ellipsis: true, weight: "heavy", text: file.name }), h("ezp-label", { class: "file-size", level: "tertiary", text: this.formatSize(file.size) })), h("button", { type: "button", class: "file-remove", "aria-label": instance.t('upload.remove_file'), onClick: (event) => this.removeFile(event, index) }, h("ezp-icon", { name: "close" }))))), h("button", { key: 'd0b397071945aadecde0a92b9a9e36a40a612197', type: "button", id: "add-more", onClick: this.openPicker }, h("ezp-icon", { key: 'cd89350e28759f3d2b4553367ff6c6f4eaf07dfc', name: "plus" }), h("ezp-label", { key: '0f959da4e971ad6520563d892afb086b1a3df5a4', level: "secondary", weight: "heavy", text: instance.t('upload.add_more') }))))), hasFiles && this.dragging && (h("div", { key: 'd767d3dc25ce56b85dd0b3dcacf88a6fa4e420e1', id: "drop-overlay", "aria-hidden": "true" }, h("ezp-icon", { key: 'fefa5a29b5bd2df98b5d9fedfce2e6800418544f', id: "dropzone-icon", name: "cloud-upload" }), h("ezp-label", { key: '7ef3bba07de86ecefa094617f6262f47875db36a', level: "primary", weight: "heavy", text: instance.t('upload.dropzone_title') })))), h("div", { key: 'd7b1f67053bd4e0eef8d271eb7c3e547d4d40af3', id: "footer" }, h("ezp-text-button", { key: 'c0195d9ba0012a5297254eae8d60dc90337eb7a1', id: "clear", type: "button", level: "secondary", disabled: !hasFiles, onClick: this.handleCancel, label: instance.t('upload.remove_files'), class: "action" }), h("ezp-text-button", { key: '154a5770c232fadd7befd1af09c26cbe5d143f36', id: "continue", type: "button", disabled: !hasFiles, onClick: this.handleContinue, label: instance.t('upload.continue'), class: "action" }))))));
39957
39993
  }
39958
39994
  };
39959
39995
  EzpUpload.style = ezpUploadCss();
@@ -40043,7 +40079,7 @@ const EzpUserMenu = class {
40043
40079
  *
40044
40080
  */
40045
40081
  render() {
40046
- return (h(Host, { key: '8f5dde2735c47dc8102ddd5a625e26f853b7b587', class: this.open ? 'is-open' : '' }, h("div", { key: 'e188d9ad63ade716adaace39718bb988bc4159c9', id: "header" }, h("ezp-label", { key: '53907b171c8eeb9ed7a4a1c2cbf22e233110328c', ellipsis: true, id: "name", weight: "heavy", text: this.name }), h("ezp-icon-button", { key: '8370bfe1563693c31ee712e5a84662f39ea55ec0', id: "close", level: "tertiary", icon: "close", onClick: this.handleClose })), h("div", { key: '1c34c655d43f7de3375caeeba156f9eb616c11e8', id: "links" }, this.links.map((link) => (h("a", { class: "link", href: link.href, target: "_blank", rel: "noopener noreferrer" }, h("ezp-icon", { class: "link__icon", name: link.icon }), h("ezp-label", { text: link.title })))), h("a", { key: '18bde718f8a7a480dd6cac365a306951f80028f5', class: "link", onClick: this.logOut }, h("ezp-icon", { key: '3f7ce8f3974b10a0ae866abd1f1371b652abe0b1', class: "link__icon", name: "logout" }), h("ezp-label", { key: '424e025c00b4cfe7638efbecd1680b8402a791e0', text: instance.t('user_menu.logout') }))), h("div", { key: 'b163718862a0f086fd674134847d845fa229c91c', id: "theme" }, h("ezp-label", { key: '6bb91ea03c727485d53df484ea465d103b1d1af4', class: "caption", text: `${instance.t('user_menu.theme')}:`, weight: "heavy" }), h("div", { key: 'c834c2421138fea1f497dec486664b3fd6f86b69', id: "swatches" }, this.themes.map((theme) => (h("button", { class: `swatch swatch--${theme} ${theme === userStore.state.theme ? 'selected' : ''}`, onClick: () => this.handleTheme(theme) }, h("span", { class: "dot" })))))), h("div", { key: 'c84c57f3662760967c876242a85719a89f087eb3', id: "appearance" }, h("ezp-label", { key: '9ea2300e84a4d6421f496d3a033a97689b6fc498', class: "caption", text: `${instance.t('user_menu.appearance')}:`, weight: "heavy" }), h("div", { key: '4718a7e9e71ebfeece0ccc2f9fe4ce94d703e08e', id: "tabs" }, this.appearances.map((appearance) => (h("button", { class: `tab ${appearance.name === userStore.state.appearance ? 'selected' : ''}`, onClick: () => this.handleAppearance(appearance.name) }, h("ezp-icon", { name: appearance.name }), h("ezp-label", { text: appearance.title, level: "tertiary", weight: "strong" }))))))));
40082
+ return (h(Host, { key: '3d13f203651146743cf8ac7754764e37d5cead30', class: this.open ? 'is-open' : '' }, h("div", { key: '28c08e6068d25a96d385553491edfcec25e516d3', id: "header" }, h("ezp-label", { key: '45881a8cff5d1efbbae133cd13206120c2ae17da', ellipsis: true, id: "name", weight: "heavy", text: this.name }), h("ezp-icon-button", { key: '92205d9008c0d3a68989ea8bca24c481b1542716', id: "close", level: "tertiary", icon: "close", onClick: this.handleClose })), h("div", { key: '4ef631425b38ed208f5e55446525c45943e6dfee', id: "links" }, this.links.map((link) => (h("a", { class: "link", href: link.href, target: "_blank", rel: "noopener noreferrer" }, h("ezp-icon", { class: "link__icon", name: link.icon }), h("ezp-label", { text: link.title })))), h("a", { key: '85e8603a60e7150458e31cc20bbaa99a0f024636', class: "link", onClick: this.logOut }, h("ezp-icon", { key: 'c96a13aeb65e645e7180c469d9168550d6bfaee2', class: "link__icon", name: "logout" }), h("ezp-label", { key: '1aa825d659ffedd8318016540716c88a27f4f75b', text: instance.t('user_menu.logout') }))), h("div", { key: 'c7d2c25bebb2601c34215766b2e85359834e16f7', id: "theme" }, h("ezp-label", { key: 'e39f708172868841fd5d043dc6d8466a4db71405', class: "caption", text: `${instance.t('user_menu.theme')}:`, weight: "heavy" }), h("div", { key: '26dc2c26d4408c0cb03d0e2fbd4954744eb2ada4', id: "swatches" }, this.themes.map((theme) => (h("button", { class: `swatch swatch--${theme} ${theme === userStore.state.theme ? 'selected' : ''}`, onClick: () => this.handleTheme(theme) }, h("span", { class: "dot" })))))), h("div", { key: 'ed62f9a441fd9eb464699c8cfdc277148b471bf8', id: "appearance" }, h("ezp-label", { key: '6b21204284c739cc00d79caca622f892d44a6889', class: "caption", text: `${instance.t('user_menu.appearance')}:`, weight: "heavy" }), h("div", { key: 'fcd9dcf68b857b6b22b7617dd999c7137ab04c9e', id: "tabs" }, this.appearances.map((appearance) => (h("button", { class: `tab ${appearance.name === userStore.state.appearance ? 'selected' : ''}`, onClick: () => this.handleAppearance(appearance.name) }, h("ezp-icon", { name: appearance.name }), h("ezp-label", { text: appearance.title, level: "tertiary", weight: "strong" }))))))));
40047
40083
  }
40048
40084
  get component() { return getElement(this); }
40049
40085
  static get watchers() { return {
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-C0WTlb31.js';
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy([["ezp-auth_15",[[257,"ezp-printing",{"clientid":[1],"redirecturi":[1],"filename":[1025],"fileurl":[1],"filetype":[1],"custom":[4],"hidelogin":[4],"hidemenu":[4],"hideheader":[4],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"fileid":[1],"appearance":[1],"trigger":[1],"language":[1],"code":[1],"filedata":[1],"seamless":[4],"printOpen":[32],"authOpen":[32],"onlyGetSasUri":[32],"noDocumentOpen":[32],"systemAppearance":[32],"files":[32],"open":[64],"logOut":[64],"getSasUri":[64],"getAuthUri":[64],"setAuthRefreshToken":[64],"checkAuth":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"userCancel","listenUserCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"uploadContinue","listenUploadContinue"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]],{"filedata":[{"watchFileData":0}],"filename":[{"watchFilename":0}],"fileurl":[{"watchFileUrl":0}],"language":[{"watchLanguage":0}]}],[1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1025],"fileurl":[1],"filetype":[1025],"fileid":[1025],"files":[16],"hidemenu":[4],"hideheader":[4],"seamless":[4],"loading":[32],"printProcessing":[32],"pageRangeInvalid":[32],"uploading":[32],"preparingUpload":[32],"printSuccess":[32],"printFailed":[32],"printTimedOut":[32],"notSupported":[32],"noPrinters":[32],"hubDriverError":[32],"userMenuOpen":[32],"printStopped":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedPrinterConfig":[32],"selectedProperties":[32],"paperid":[32],"currentFileIndex":[32],"totalFiles":[32],"failedFiles":[32],"successfulFiles":[32],"partialSuccess":[32]},[[0,"inputValueChanged","listenInputValueChanged"],[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"],[0,"statusCancel","listenStatusCancel"],[0,"statusClose","listenStatusClose"],[0,"statusRetry","listenStatusRetry"]]],[1,"ezp-auth",{"clientID":[1025,"client-i-d"],"redirectURI":[1025,"redirect-u-r-i"],"hidelogin":[4],"trigger":[1],"code":[1],"auth":[32],"authURI":[32],"accessToken":[32]},[[0,"dialogAction","listenDialogAction"],[0,"dialogClose","listenDialogClose"],[0,"statusCancel","listenStatusCancel"]]],[1,"ezp-upload",{"selectedFiles":[32],"dragging":[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"],[4,"printCancel","listenPrintCancel"]]],[1,"ezp-dialog",{"heading":[1],"description":[1],"action":[1],"iconName":[1,"icon-name"],"iconSize":[1,"icon-size"],"iconFramed":[4,"icon-framed"],"instance":[1]},[[8,"keydown","handleKeydown"]]],[1,"ezp-user-menu",{"name":[1],"open":[1028]},null,{"open":[{"watchOpen":0}]}],[1,"ezp-select",{"icon":[1],"label":[1],"optionFlow":[1,"option-flow"],"options":[16],"placeholder":[1],"preSelected":[8,"pre-selected"],"toggleFlow":[1,"toggle-flow"],"disabled":[4],"expanded":[32],"selected":[32]},null,{"expanded":[{"watchExpanded":0}],"preSelected":[{"preSelectedChanged":0}]}],[1,"ezp-input",{"label":[1],"value":[1032],"type":[1],"icon":[1],"suffix":[513],"eventType":[1,"event-type"],"placeholder":[1],"focused":[32]}],[1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]},null,{"value":[{"watchValue":0}]}],[1,"ezp-status",{"description":[1],"subtext":[1],"processing":[4],"instance":[1],"icon":[1],"cancel":[8],"close":[8],"retry":[8]}],[1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1],"small":[4]}],[1,"ezp-icon",{"name":[1],"size":[1],"framed":[4]}],[1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]]]], options);
8
+ return bootstrapLazy([["ezp-auth_15",[[257,"ezp-printing",{"clientid":[1],"redirecturi":[1],"filename":[1025],"fileurl":[1],"filetype":[1],"custom":[4],"hidelogin":[4],"hidemenu":[4],"hideheader":[4],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"fileid":[1],"appearance":[1],"trigger":[1],"language":[1],"code":[1],"filedata":[1],"seamless":[4],"printOpen":[32],"authOpen":[32],"onlyGetSasUri":[32],"noDocumentOpen":[32],"systemAppearance":[32],"files":[32],"open":[64],"logOut":[64],"getSasUri":[64],"getAuthUri":[64],"setAuthRefreshToken":[64],"checkAuth":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"userCancel","listenUserCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"uploadContinue","listenUploadContinue"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]],{"filedata":[{"watchFileData":0}],"filename":[{"watchFilename":0}],"fileurl":[{"watchFileUrl":0}],"language":[{"watchLanguage":0}]}],[1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1025],"fileurl":[1],"filetype":[1025],"fileid":[1025],"files":[16],"hidemenu":[4],"hideheader":[4],"seamless":[4],"loading":[32],"printProcessing":[32],"pageRangeInvalid":[32],"uploading":[32],"preparingUpload":[32],"printSuccess":[32],"printFailed":[32],"printTimedOut":[32],"notSupported":[32],"noPrinters":[32],"hubDriverError":[32],"userMenuOpen":[32],"printStopped":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedPrinterConfig":[32],"selectedProperties":[32],"paperid":[32],"currentFileIndex":[32],"totalFiles":[32],"failedFiles":[32],"successfulFiles":[32],"partialSuccess":[32]},[[0,"inputValueChanged","listenInputValueChanged"],[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"],[0,"statusCancel","listenStatusCancel"],[0,"statusClose","listenStatusClose"],[0,"statusRetry","listenStatusRetry"]]],[1,"ezp-auth",{"clientID":[1025,"client-i-d"],"redirectURI":[1025,"redirect-u-r-i"],"hidelogin":[4],"trigger":[1],"code":[1],"auth":[32],"authURI":[32],"accessToken":[32]},[[0,"dialogAction","listenDialogAction"],[0,"dialogClose","listenDialogClose"],[0,"statusCancel","listenStatusCancel"]]],[1,"ezp-upload",{"selectedFiles":[32],"dragging":[32]},[[0,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"],[9,"drop","resetDrag"],[9,"dragend","resetDrag"],[4,"printCancel","listenPrintCancel"]]],[1,"ezp-dialog",{"heading":[1],"description":[1],"action":[1],"iconName":[1,"icon-name"],"iconSize":[1,"icon-size"],"iconFramed":[4,"icon-framed"],"instance":[1]},[[8,"keydown","handleKeydown"]]],[1,"ezp-user-menu",{"name":[1],"open":[1028]},null,{"open":[{"watchOpen":0}]}],[1,"ezp-select",{"icon":[1],"label":[1],"optionFlow":[1,"option-flow"],"options":[16],"placeholder":[1],"preSelected":[8,"pre-selected"],"toggleFlow":[1,"toggle-flow"],"disabled":[4],"expanded":[32],"selected":[32]},null,{"expanded":[{"watchExpanded":0}],"preSelected":[{"preSelectedChanged":0}]}],[1,"ezp-input",{"label":[1],"value":[1032],"type":[1],"icon":[1],"suffix":[513],"eventType":[1,"event-type"],"placeholder":[1],"focused":[32]}],[1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]},null,{"value":[{"watchValue":0}]}],[1,"ezp-status",{"description":[1],"subtext":[1],"processing":[4],"instance":[1],"icon":[1],"cancel":[8],"close":[8],"retry":[8]}],[1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1],"small":[4]}],[1,"ezp-icon",{"name":[1],"size":[1],"framed":[4]}],[1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]]]], options);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };