@ezeep/ezeep-js 1.0.277 → 1.0.287

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/dist/cjs/ezeep.cjs.js +1 -1
  2. package/dist/cjs/ezp-auth_15.cjs.entry.js +116 -38
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/collection/components/ezp-auth/ezp-auth.css +0 -12
  5. package/dist/collection/components/ezp-auth/ezp-auth.js +23 -4
  6. package/dist/collection/components/ezp-dialog/ezp-dialog.js +1 -1
  7. package/dist/collection/components/ezp-icon/assets/glyph-cloud-upload.svg +4 -0
  8. package/dist/collection/components/ezp-icon/assets/glyph-file.svg +3 -0
  9. package/dist/collection/components/ezp-icon/ezp-icon.js +1 -1
  10. package/dist/collection/components/ezp-icon-button/ezp-icon-button.js +1 -1
  11. package/dist/collection/components/ezp-input/ezp-input.css +17 -33
  12. package/dist/collection/components/ezp-input/ezp-input.js +1 -1
  13. package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.css +175 -48
  14. package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +10 -8
  15. package/dist/collection/components/ezp-printing/ezp-printing.css +14 -14
  16. package/dist/collection/components/ezp-printing/ezp-printing.js +17 -2
  17. package/dist/collection/components/ezp-select/ezp-select.css +54 -36
  18. package/dist/collection/components/ezp-select/ezp-select.js +1 -1
  19. package/dist/collection/components/ezp-status/ezp-status.css +94 -9
  20. package/dist/collection/components/ezp-status/ezp-status.js +22 -3
  21. package/dist/collection/components/ezp-stepper/ezp-stepper.css +37 -35
  22. package/dist/collection/components/ezp-stepper/ezp-stepper.js +2 -2
  23. package/dist/collection/components/ezp-text-button/ezp-text-button.css +3 -3
  24. package/dist/collection/components/ezp-text-button/ezp-text-button.js +1 -1
  25. package/dist/collection/components/ezp-upload/ezp-upload.css +223 -75
  26. package/dist/collection/components/ezp-upload/ezp-upload.js +75 -3
  27. package/dist/collection/components/ezp-user-menu/ezp-user-menu.js +1 -1
  28. package/dist/collection/types/shared/types.d.ts +2 -0
  29. package/dist/components/ezp-auth2.js +1 -1
  30. package/dist/components/ezp-input2.js +1 -1
  31. package/dist/components/ezp-printer-selection2.js +1 -1
  32. package/dist/components/ezp-printing.js +1 -1
  33. package/dist/components/ezp-select2.js +1 -1
  34. package/dist/components/ezp-status2.js +1 -1
  35. package/dist/components/ezp-stepper2.js +1 -1
  36. package/dist/components/ezp-text-button2.js +1 -1
  37. package/dist/components/ezp-upload2.js +1 -1
  38. package/dist/components/ezp-user-menu2.js +1 -1
  39. package/dist/components/utils.js +1 -1
  40. package/dist/directives/proxies.ts +18 -6
  41. package/dist/esm/ezeep.js +1 -1
  42. package/dist/esm/ezp-auth_15.entry.js +116 -38
  43. package/dist/esm/loader.js +1 -1
  44. package/dist/esm-es5/ezeep.js +1 -1
  45. package/dist/esm-es5/ezp-auth_15.entry.js +2 -2
  46. package/dist/esm-es5/loader.js +1 -1
  47. package/dist/ezeep/assets/glyph-cloud-upload.svg +4 -0
  48. package/dist/ezeep/assets/glyph-file.svg +3 -0
  49. package/dist/ezeep/ezeep.esm.js +1 -1
  50. package/dist/ezeep/{p-644e48a0.system.entry.js → p-0aae0597.system.entry.js} +2 -2
  51. package/dist/ezeep/p-7b19a21a.entry.js +1 -0
  52. package/dist/ezeep/p-DCznw2Ee.system.js +1 -1
  53. package/dist/ezeep/types/shared/types.d.ts +2 -0
  54. package/dist/types/components/ezp-printing/ezp-printing.d.ts +7 -0
  55. package/dist/types/components/ezp-status/ezp-status.d.ts +1 -0
  56. package/dist/types/components/ezp-upload/ezp-upload.d.ts +11 -0
  57. package/dist/types/components.d.ts +15 -2
  58. package/dist/types/shared/types.d.ts +2 -0
  59. package/package.json +1 -1
  60. package/www/build/assets/glyph-cloud-upload.svg +4 -0
  61. package/www/build/assets/glyph-file.svg +3 -0
  62. package/www/build/ezeep.esm.js +1 -1
  63. package/www/build/{p-644e48a0.system.entry.js → p-0aae0597.system.entry.js} +2 -2
  64. package/www/build/p-7b19a21a.entry.js +1 -0
  65. package/www/build/p-879553e9.js +1 -0
  66. package/www/build/p-DCznw2Ee.system.js +1 -1
  67. package/www/data/locales/de.json +12 -5
  68. package/www/data/locales/en.json +12 -5
  69. package/www/index.html +1 -1
  70. package/dist/ezeep/p-ebd2beda.entry.js +0 -1
  71. package/www/build/p-c7252f1c.js +0 -1
  72. package/www/build/p-ebd2beda.entry.js +0 -1
@@ -6,7 +6,7 @@ var appGlobals = require('./app-globals-L_3XPZxT.js');
6
6
  const defineCustomElements = async (win, options) => {
7
7
  if (typeof window === 'undefined') return undefined;
8
8
  await appGlobals.globalScripts();
9
- return index.bootstrapLazy([["ezp-auth_15.cjs",[[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,"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],"processing":[4],"instance":[1],"icon":[1],"cancel":[8],"close":[8],"retry":[8]}],[1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1],"small":[4]}],[1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[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
+ return index.bootstrapLazy([["ezp-auth_15.cjs",[[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);
10
10
  };
11
11
 
12
12
  exports.setNonce = index.setNonce;
@@ -7,16 +7,4 @@
7
7
  --ezp-theme-solid: var(--ezp-accent-cyan-solid);
8
8
  --ezp-theme-translucent: var(--ezp-accent-cyan-translucent);
9
9
  display: block;
10
- }
11
-
12
- .auth-actions {
13
- align-items: center;
14
- display: flex;
15
- gap: var(--ezp-spacing-3);
16
- justify-content: space-between;
17
- width: 100%;
18
- }
19
- .auth-actions ezp-text-button {
20
- flex: 1;
21
- max-width: calc(50% - var(--ezp-spacing-3) / 2);
22
10
  }
@@ -51,7 +51,15 @@ export class EzpAuth {
51
51
  this.authCancel.emit();
52
52
  }
53
53
  listenStatusCancel() {
54
- this.authCancel.emit();
54
+ // Cancelling sign-in from the file trigger aborts the whole flow and clears
55
+ // the selected files (parity with the pre-redesign Cancel button). The button
56
+ // trigger has no pending selection, so it just closes the auth dialog.
57
+ if (this.trigger === 'file') {
58
+ this.userCancel.emit();
59
+ }
60
+ else {
61
+ this.authCancel.emit();
62
+ }
55
63
  }
56
64
  connectedCallback() {
57
65
  this.unsubscribeLanguage = subscribeToLanguageChange(this);
@@ -115,12 +123,23 @@ export class EzpAuth {
115
123
  await this.auth.generateCodeChallenge(authStore.state.codeVerifier);
116
124
  this.auth.buildAuthURI();
117
125
  }
118
- if (this.hidelogin && this.trigger === 'button') {
119
- this.openSignInWindow(this.auth.authURI.toString(), 'ezeep Login');
126
+ if (this.hidelogin && (this.trigger === 'button' || this.trigger === 'file')) {
127
+ if (authStore.state.isAuthorized) {
128
+ // Already signed in: no sign-in popup is needed, so skip straight to the
129
+ // print options. Mirrors the authorized branch of openSignInWindow
130
+ // (authURI isn't built when already authorized, so we can't call it here).
131
+ this.authCancel.emit();
132
+ this.authSuccess.emit();
133
+ }
134
+ else {
135
+ // Not signed in: trigger sign-in directly so the "Continue to print
136
+ // options" click leads to sign-in, without an extra confirmation button.
137
+ this.openSignInWindow(this.auth.authURI.toString(), 'ezeep Login');
138
+ }
120
139
  }
121
140
  }
122
141
  render() {
123
- return (h(Host, { key: 'adde3ddd8f6afddc27c3a5503569b3c0d9eea420' }, this.hidelogin && this.trigger === 'button' ? (h("ezp-status", { description: i18next.t('login_dialog.action'), processing: true, cancel: true })) : this.hidelogin && this.trigger === 'file' ? (h("div", { class: "auth-actions" }, h("ezp-text-button", { type: "button", level: "secondary", onClick: () => this.userCancel.emit(), label: i18next.t('button_actions.cancel') }), h("ezp-text-button", { type: "button", level: "primary", onClick: () => this.openSignInWindow(this.auth.authURI.toString(), 'ezeep Login'), label: i18next.t('button_actions.select_printer') }))) : (h("ezp-dialog", { heading: i18next.t('login_dialog.heading'), description: i18next.t('login_dialog.description'), action: i18next.t('login_dialog.action'), iconName: "logo", iconSize: "huge", iconFramed: false, instance: "login" }))));
142
+ return (h(Host, { key: 'c00096b96d6d21508d1a78d5ae5a7f552516d01f' }, this.hidelogin && (this.trigger === 'button' || this.trigger === 'file') ? (h("ezp-status", { description: i18next.t('login_dialog.action'), processing: true, cancel: true })) : (h("ezp-dialog", { heading: i18next.t('login_dialog.heading'), description: i18next.t('login_dialog.description'), action: i18next.t('login_dialog.action'), iconName: "logo", iconSize: "huge", iconFramed: false, instance: "login" }))));
124
143
  }
125
144
  static get is() { return "ezp-auth"; }
126
145
  static get encapsulation() { return "shadow"; }
@@ -171,7 +171,7 @@ export class EzpDialog {
171
171
  "mutable": false,
172
172
  "complexType": {
173
173
  "original": "IconNameTypes",
174
- "resolved": "\"account\" | \"checkmark\" | \"checkmark-alt\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"drag-drop\" | \"duplex\" | \"exclamation-mark\" | \"expand\" | \"height\" | \"help\" | \"light\" | \"logo\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"paper_range\" | \"plus\" | \"printer\" | \"quality\" | \"question-mark\" | \"size\" | \"system\" | \"trays\" | \"width\" | undefined",
174
+ "resolved": "\"account\" | \"checkmark\" | \"checkmark-alt\" | \"close\" | \"cloud-upload\" | \"color\" | \"copies\" | \"dark\" | \"drag-drop\" | \"duplex\" | \"exclamation-mark\" | \"expand\" | \"file\" | \"height\" | \"help\" | \"light\" | \"logo\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"paper_range\" | \"plus\" | \"printer\" | \"quality\" | \"question-mark\" | \"size\" | \"system\" | \"trays\" | \"width\" | undefined",
175
175
  "references": {
176
176
  "IconNameTypes": {
177
177
  "location": "import",
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12 3C9.38 3 7.14 4.68 6.34 7.03C4.44 7.34 3 8.99 3 11C3 13.21 4.79 15 7 15H8V13H7C5.9 13 5 12.1 5 11C5 9.9 5.9 9 7 9H8V8C8 5.79 9.79 4 12 4C13.86 4 15.43 5.28 15.87 7.0L16.09 7.86L16.98 7.99C18.13 8.16 19 9.16 19 10.35C19 11.68 17.93 13 16.35 13H16V15H16.35C18.9 15 21 13 21 10.35C21 8.31 19.63 6.57 17.74 6.09C16.98 4.2 15.14 3 12 3Z" />
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12 10L8 14H11V21H13V14H16L12 10Z" />
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M6 2H14L20 8V22H6C4.9 22 4 21.1 4 20V4C4 2.9 4.9 2 6 2ZM6 4V20H18V9H13V4H6ZM15 4.41L17.59 7H15V4.41ZM8 12H16V14H8V12ZM8 16H14V18H8V16Z" />
3
+ </svg>
@@ -52,7 +52,7 @@ export class EzpIcon {
52
52
  "mutable": false,
53
53
  "complexType": {
54
54
  "original": "IconNameTypes",
55
- "resolved": "\"account\" | \"checkmark\" | \"checkmark-alt\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"drag-drop\" | \"duplex\" | \"exclamation-mark\" | \"expand\" | \"height\" | \"help\" | \"light\" | \"logo\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"paper_range\" | \"plus\" | \"printer\" | \"quality\" | \"question-mark\" | \"size\" | \"system\" | \"trays\" | \"width\"",
55
+ "resolved": "\"account\" | \"checkmark\" | \"checkmark-alt\" | \"close\" | \"cloud-upload\" | \"color\" | \"copies\" | \"dark\" | \"drag-drop\" | \"duplex\" | \"exclamation-mark\" | \"expand\" | \"file\" | \"height\" | \"help\" | \"light\" | \"logo\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"paper_range\" | \"plus\" | \"printer\" | \"quality\" | \"question-mark\" | \"size\" | \"system\" | \"trays\" | \"width\"",
56
56
  "references": {
57
57
  "IconNameTypes": {
58
58
  "location": "import",
@@ -112,7 +112,7 @@ export class EzpIconButton {
112
112
  "mutable": false,
113
113
  "complexType": {
114
114
  "original": "IconNameTypes",
115
- "resolved": "\"account\" | \"checkmark\" | \"checkmark-alt\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"drag-drop\" | \"duplex\" | \"exclamation-mark\" | \"expand\" | \"height\" | \"help\" | \"light\" | \"logo\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"paper_range\" | \"plus\" | \"printer\" | \"quality\" | \"question-mark\" | \"size\" | \"system\" | \"trays\" | \"width\"",
115
+ "resolved": "\"account\" | \"checkmark\" | \"checkmark-alt\" | \"close\" | \"cloud-upload\" | \"color\" | \"copies\" | \"dark\" | \"drag-drop\" | \"duplex\" | \"exclamation-mark\" | \"expand\" | \"file\" | \"height\" | \"help\" | \"light\" | \"logo\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"paper_range\" | \"plus\" | \"printer\" | \"quality\" | \"question-mark\" | \"size\" | \"system\" | \"trays\" | \"width\"",
116
116
  "references": {
117
117
  "IconNameTypes": {
118
118
  "location": "import",
@@ -30,15 +30,13 @@
30
30
  */
31
31
  :host {
32
32
  align-items: center;
33
- background: var(--ezp-input-background, var(--ezp-core-surface-tertiary));
34
- border-radius: var(--ezp-input-border-radius, 0);
35
- box-shadow: var(--ezp-input-box-shadow-position-top, 0 -1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-right, 1px 0 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-bottom, 0 1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-left, -1px 0 0 0) var(--ezp-core-outline);
36
- cursor: pointer;
33
+ background: transparent;
34
+ cursor: text;
37
35
  display: grid;
38
36
  gap: var(--ezp-spacing-3);
39
37
  grid-template: var(--ezp-input-grid-template, auto/auto auto 1fr);
40
- height: 30px;
41
- padding: 0 var(--ezp-spacing-3);
38
+ height: 56px;
39
+ padding: var(--ezp-spacing-2) var(--ezp-spacing-3);
42
40
  position: relative;
43
41
  z-index: var(--ezp-input-z-index, 3);
44
42
  }
@@ -48,38 +46,19 @@
48
46
  }
49
47
 
50
48
  :host(.focused) {
51
- --ezp-input-icon-color: var(--ezp-theme-solid);
52
- --ezp-input-label-color: var(--ezp-theme-solid);
53
- }
54
-
55
- :host(:first-child) {
56
- --ezp-input-border-radius: 3px 3px 0 0;
57
- }
58
-
59
- :host(:last-child) {
60
- --ezp-input-border-radius: 0 0 3px 3px;
61
- }
62
-
63
- :host(:first-child:last-child) {
64
- --ezp-input-border-radius: 3px;
65
- }
66
-
67
- :host(:not(:last-child)) {
68
- --ezp-input-box-shadow-position-bottom: 0 0 0 0;
69
- }
70
-
71
- :host(:hover) {
72
- --ezp-input-background:
73
- linear-gradient(0deg, var(--ezp-core-shade-primary) 0%, var(--ezp-core-shade-primary) 100%),
74
- var(--ezp-core-surface-tertiary);
49
+ --ezp-input-label-color: var(--ezp-core-foreground-primary);
75
50
  }
76
51
 
77
52
  #label {
78
- color: var(--ezp-input-label-color, var(--ezp-core-foreground-secondary));
53
+ color: var(--ezp-input-label-color, var(--ezp-core-foreground-primary));
79
54
  }
80
55
 
81
56
  #icon {
82
- color: var(--ezp-input-icon-color, var(--ezp-core-foreground-secondary));
57
+ --ezp-icon-background: var(--ezp-theme-translucent);
58
+ --ezp-icon-borderRadius: 50%;
59
+ --ezp-icon-height: 40px;
60
+ --ezp-icon-width: 40px;
61
+ color: var(--ezp-input-icon-color, var(--ezp-theme-solid));
83
62
  }
84
63
 
85
64
  #input {
@@ -90,10 +69,11 @@
90
69
  box-shadow: none;
91
70
  box-sizing: border-box;
92
71
  color: var(--ezp-core-foreground-primary);
93
- cursor: inherit;
72
+ cursor: text;
94
73
  font-family: inherit;
95
74
  font-feature-settings: "tnum";
96
75
  font-size: 14px;
76
+ font-weight: 600;
97
77
  -webkit-font-smoothing: antialiased;
98
78
  height: 30px;
99
79
  letter-spacing: -0.0062235443em;
@@ -103,6 +83,10 @@
103
83
  text-align: right;
104
84
  width: 100%;
105
85
  }
86
+ #input::placeholder {
87
+ color: var(--ezp-core-foreground-tertiary);
88
+ font-weight: 400;
89
+ }
106
90
  #input[type=number]::-webkit-inner-spin-button, #input[type=number]::-webkit-outer-spin-button {
107
91
  -webkit-appearance: none;
108
92
  }
@@ -126,7 +126,7 @@ export class EzpInput {
126
126
  "mutable": false,
127
127
  "complexType": {
128
128
  "original": "IconNameTypes",
129
- "resolved": "\"account\" | \"checkmark\" | \"checkmark-alt\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"drag-drop\" | \"duplex\" | \"exclamation-mark\" | \"expand\" | \"height\" | \"help\" | \"light\" | \"logo\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"paper_range\" | \"plus\" | \"printer\" | \"quality\" | \"question-mark\" | \"size\" | \"system\" | \"trays\" | \"width\"",
129
+ "resolved": "\"account\" | \"checkmark\" | \"checkmark-alt\" | \"close\" | \"cloud-upload\" | \"color\" | \"copies\" | \"dark\" | \"drag-drop\" | \"duplex\" | \"exclamation-mark\" | \"expand\" | \"file\" | \"height\" | \"help\" | \"light\" | \"logo\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"paper_range\" | \"plus\" | \"printer\" | \"quality\" | \"question-mark\" | \"size\" | \"system\" | \"trays\" | \"width\"",
130
130
  "references": {
131
131
  "IconNameTypes": {
132
132
  "location": "import",
@@ -29,88 +29,215 @@
29
29
  *
30
30
  */
31
31
  :host {
32
- align-content: var(--ezp-printerSelection-alignContent, center);
32
+ --ezp-drucken-gradient: linear-gradient(
33
+ 135deg,
34
+ color-mix(in srgb, var(--ezp-theme-solid), white 14%) 0%,
35
+ color-mix(in srgb, var(--ezp-theme-solid), black 22%) 100%
36
+ );
37
+ --ezp-status-border-radius: 16px;
33
38
  background: var(--ezp-printerSelection-background, var(--ezp-core-backdrop));
34
- display: grid;
35
- grid-template: auto/var(--ezp-printerSelection-width, 320px);
36
- height: var(--ezp-printerSelection-height, 100vh);
37
- justify-content: var(--ezp-printerSelection-justifyContent, center);
38
- left: 0;
39
+ box-sizing: border-box;
40
+ display: flex;
41
+ /* Anchor to the containing block on every edge (`inset: 0`) instead of relying
42
+ on `height: 100vh`. When a host-app ancestor is transformed/filtered it
43
+ becomes the containing block for our fixed positioning; `inset: 0` fills it
44
+ exactly (so the dialog stays centered in the visible area and responsive),
45
+ whereas `100vh` would overflow and push the dialog to the top. */
46
+ inset: var(--ezp-printerSelection-inset, 0);
47
+ /* Scroll the backdrop when the dialog is taller than the available height;
48
+ combined with `#box { margin: auto }` this keeps it centered without clipping. */
49
+ overflow-y: auto;
50
+ padding: var(--ezp-printerSelection-padding, var(--ezp-spacing-5));
39
51
  position: var(--ezp-printerSelection-position, fixed);
40
- top: 0;
41
- width: 100%;
42
52
  z-index: 1;
43
53
  }
44
54
  :host(.seamless) {
45
- --ezp-printerSelection-alignContent: stretch;
46
55
  --ezp-printerSelection-background: transparent;
47
- --ezp-printerSelection-body-background: transparent;
48
- --ezp-printerSelection-body-padding: 0;
49
56
  --ezp-printerSelection-box-background: transparent;
50
- --ezp-printerSelection-box-borderRadius: 0;
51
57
  --ezp-printerSelection-box-boxShadow: none;
52
- --ezp-printerSelection-footer-boxShadowPosition: 0 0 0 0;
53
- --ezp-printerSelection-footer-padding: var(--ezp-spacing-2) 0;
54
- --ezp-printerSelection-header-boxShadowPosition: 0 0 0 0;
55
- --ezp-printerSelection-header-padding: var(--ezp-spacing-4) 0;
56
- --ezp-printerSelection-justifyContent: stretch;
58
+ --ezp-printerSelection-box-margin: 0;
59
+ --ezp-printerSelection-box-padding: 0;
60
+ --ezp-printerSelection-inset: auto;
61
+ --ezp-printerSelection-padding: 0;
57
62
  --ezp-printerSelection-position: static;
63
+ --ezp-printerSelection-width: 100%;
58
64
  }
59
65
 
60
66
  #box {
61
67
  background: var(--ezp-printerSelection-box-background, var(--ezp-core-surface-tertiary));
62
- border-radius: var(--ezp-printerSelection-box-borderRadius, 6px);
63
- box-shadow: var(--ezp-printerSelection-box-boxShadow, 0 0 0 1px var(--ezp-black-10));
64
- padding: var(--ezp-printerSelection-padding, 0);
68
+ border-radius: 16px;
69
+ box-shadow: var(--ezp-printerSelection-box-boxShadow, 0 0 0 1px var(--ezp-core-outline), 0 24px 60px -20px var(--ezp-core-backdrop));
70
+ color: var(--ezp-core-foreground-primary);
71
+ margin: var(--ezp-printerSelection-box-margin, auto);
72
+ padding: var(--ezp-printerSelection-box-padding, 0);
65
73
  position: relative;
74
+ width: var(--ezp-printerSelection-width, 384px);
66
75
  }
67
76
 
77
+ /**
78
+ *
79
+ * Header
80
+ *
81
+ */
68
82
  #header {
69
- border-radius: 6px 6px 0 0;
70
- box-shadow: var(--ezp-printerSelection-header-boxShadowPosition, 0 1px 0 0) var(--ezp-core-outline);
83
+ align-items: center;
84
+ border-bottom: 1px solid var(--ezp-core-outline);
71
85
  color: var(--ezp-core-foreground-primary);
72
- display: grid;
73
- grid-column-gap: var(--ezp-spacing-2);
74
- grid-template-columns: auto 1fr auto;
75
- padding: var(--ezp-printerSelection-header-padding, var(--ezp-spacing-4) var(--ezp-spacing-3) var(--ezp-spacing-4) var(--ezp-spacing-4));
86
+ display: flex;
87
+ gap: var(--ezp-spacing-3);
88
+ justify-content: space-between;
89
+ padding: var(--ezp-spacing-4);
76
90
  position: relative;
77
91
  z-index: 3;
78
92
  }
79
93
 
80
- #toggle-menu {
81
- margin: calc(var(--ezp-spacing-3) * -1) 0;
82
- position: relative;
83
- z-index: 2;
94
+ #title {
95
+ align-items: center;
96
+ display: flex;
97
+ gap: var(--ezp-spacing-3);
98
+ min-width: 0;
99
+ }
100
+ #title ezp-label {
101
+ --ezp-label-fontSize: 20px;
102
+ --ezp-label-lineHeight: 26px;
84
103
  }
85
104
 
105
+ #files-badge {
106
+ background: var(--ezp-theme-translucent);
107
+ border-radius: 999px;
108
+ color: var(--ezp-theme-solid);
109
+ font-size: 12px;
110
+ font-weight: 600;
111
+ line-height: 1;
112
+ padding: 5px 10px;
113
+ white-space: nowrap;
114
+ }
115
+
116
+ #header-actions {
117
+ align-items: center;
118
+ display: flex;
119
+ gap: var(--ezp-spacing-2);
120
+ }
121
+
122
+ /**
123
+ *
124
+ * Body
125
+ *
126
+ */
86
127
  #body {
87
- background: var(--ezp-printerSelection-body-background, var(--ezp-core-surface-secondary));
88
- box-shadow: var(--ezp-printerSelection-body-boxShadow, none);
128
+ background: var(--ezp-printerSelection-body-background, var(--ezp-core-surface-tertiary));
89
129
  display: flex;
90
130
  flex-direction: column;
91
- gap: var(--ezp-spacing-2);
92
- padding: var(--ezp-printerSelection-body-padding, var(--ezp-spacing-2));
131
+ gap: var(--ezp-spacing-3);
132
+ padding: var(--ezp-spacing-4);
93
133
  }
94
134
 
95
- #footer {
96
- border-radius: 0 0 6px 6px;
97
- box-shadow: var(--ezp-printerSelection-footer-boxShadowPosition, 0 -1px 0 0) var(--ezp-core-outline);
98
- display: grid;
135
+ /**
136
+ *
137
+ * Files card
138
+ *
139
+ */
140
+ #files-card {
141
+ background: var(--ezp-core-surface-secondary);
142
+ border-radius: 12px;
143
+ display: flex;
144
+ flex-direction: column;
99
145
  gap: var(--ezp-spacing-2);
100
- grid-template-areas: var(--ezp-printerSelection-footer-areas, "cancel print");
101
- grid-template-columns: var(--ezp-printerSelection-footer-columns, repeat(2, 1fr));
102
- grid-template-rows: var(--ezp-printerSelection-footer-rows, auto);
146
+ padding: var(--ezp-spacing-3) var(--ezp-spacing-4);
147
+ }
148
+
149
+ .file-row {
150
+ align-items: center;
151
+ display: flex;
152
+ gap: var(--ezp-spacing-3);
153
+ min-width: 0;
154
+ }
155
+ .file-row ezp-label {
156
+ --ezp-label-minWidth: 0;
157
+ }
158
+
159
+ .file-row-icon {
160
+ --ezp-icon-size: 18px;
161
+ --ezp-icon-gridTemplate: 18px;
162
+ color: var(--ezp-theme-solid);
163
+ flex-shrink: 0;
164
+ }
165
+
166
+ /**
167
+ *
168
+ * Printer card + print button
169
+ *
170
+ */
171
+ #printer-card {
172
+ border-radius: 12px;
173
+ box-shadow: inset 0 0 0 1px var(--ezp-core-outline);
174
+ position: relative;
175
+ }
176
+
177
+ #print {
178
+ align-items: center;
179
+ appearance: none;
180
+ background: var(--ezp-drucken-gradient);
181
+ border: 0;
182
+ border-radius: 0 0 12px 12px;
183
+ color: var(--ezp-white-100);
184
+ cursor: pointer;
185
+ display: flex;
186
+ font-family: inherit;
187
+ gap: var(--ezp-spacing-3);
103
188
  justify-content: center;
104
- justify-items: stretch;
105
- padding: var(--ezp-printerSelection-footer-padding, var(--ezp-spacing-2));
189
+ margin: 0;
190
+ outline: none;
191
+ padding: var(--ezp-spacing-4);
192
+ transition: opacity var(--ezp-duration-2) var(--ezp-easing-out-quart);
193
+ width: 100%;
194
+ }
195
+ #print ezp-icon {
196
+ --ezp-icon-size: 20px;
197
+ --ezp-icon-gridTemplate: 20px;
198
+ }
199
+ @media (hover: hover) {
200
+ #print:not(:disabled):hover {
201
+ opacity: 0.9;
202
+ }
203
+ #print:not(:disabled):active {
204
+ opacity: 0.8;
205
+ }
206
+ }
207
+ #print:disabled {
208
+ background: var(--ezp-core-shade-primary);
209
+ color: var(--ezp-core-foreground-tertiary);
210
+ cursor: default;
211
+ }
212
+
213
+ /**
214
+ *
215
+ * Options list
216
+ *
217
+ */
218
+ #options {
219
+ display: flex;
220
+ flex-direction: column;
221
+ }
222
+
223
+ /**
224
+ *
225
+ * Footer
226
+ *
227
+ */
228
+ #footer {
229
+ display: flex;
230
+ justify-content: flex-end;
231
+ padding: var(--ezp-spacing-3) var(--ezp-spacing-4) var(--ezp-spacing-4);
106
232
  position: relative;
107
233
  z-index: 3;
108
234
  }
109
235
 
110
236
  #cancel {
111
- grid-area: cancel;
112
- }
113
-
114
- #print {
115
- grid-area: print;
237
+ --ezp-textButton-background-init: transparent;
238
+ --ezp-textButton-background-hover: var(--ezp-core-shade-primary);
239
+ --ezp-textButton-boxShadow: inset 0 0 0 1px var(--ezp-core-outline);
240
+ --ezp-textButton-borderRadius: 999px;
241
+ --ezp-textButton-color-init: var(--ezp-core-foreground-primary);
242
+ --ezp-textButton-padding: var(--ezp-spacing-3) var(--ezp-spacing-6);
116
243
  }
@@ -654,7 +654,7 @@ export class EzpPrinterSelection {
654
654
  return (h("ezp-status", { icon: "checkmark-alt", description: this.pullPrintSuccessDescription(), instance: "print-success", close: true }));
655
655
  }
656
656
  if (this.printSuccess) {
657
- return (h("ezp-status", { icon: this.partialSuccess ? 'exclamation-mark' : 'checkmark-alt', description: this.printSuccessDescription(), instance: "print-success", close: true }));
657
+ return (h("ezp-status", { icon: this.partialSuccess ? 'exclamation-mark' : 'checkmark-alt', description: this.printSuccessDescription(), subtext: this.partialSuccess ? undefined : i18next.t('printer_selection.print_success_sub'), instance: "print-success", close: true }));
658
658
  }
659
659
  if (this.printTimedOut) {
660
660
  return (h("ezp-status", { icon: "exclamation-mark", description: i18next.t('printer_selection.print_timeout'), instance: "print-timeout", close: true, retry: true }));
@@ -675,11 +675,13 @@ export class EzpPrinterSelection {
675
675
  }
676
676
  render() {
677
677
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
678
- return this.loading ? (h("ezp-status", { processing: true, description: i18next.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("ezp-label", { weight: "heavy", text: i18next.t('printer_selection.print') + `${!this.notSupported ? ':' : ''}` }), h("ezp-label", { text: !this.notSupported
679
- ? this.files && this.files.length > 1
680
- ? i18next.t('printer_selection.files_selected', { count: this.files.length })
681
- : this.filename
682
- : '', ellipsis: true }), !this.hidemenu && (h("ezp-icon-button", { level: "tertiary", icon: "menu", id: "toggle-menu", type: "button", onClick: this.handleUserMenu })))), h("div", { id: "body" }, h("div", { id: "printer" }, h("ezp-select", { label: i18next.t('printer_selection.printer'), icon: "printer", placeholder: this.printers.length > 0
678
+ const fileNames = this.files && this.files.length > 0
679
+ ? this.files.map((file) => file.name)
680
+ : this.filename
681
+ ? [this.filename]
682
+ : [];
683
+ const fileCount = fileNames.length;
684
+ return this.loading ? (h("ezp-status", { processing: true, description: i18next.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: i18next.t('printer_selection.print') }), !this.notSupported && fileCount > 0 && (h("span", { id: "files-badge" }, i18next.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: i18next.t('printer_selection.printer'), icon: "printer", placeholder: this.printers.length > 0
683
685
  ? i18next.t('printer_selection.select_printer')
684
686
  : i18next.t('printer_selection.no_printers'), toggleFlow: "vertical", optionFlow: "vertical", options: this.printers.map((printer) => ({
685
687
  id: printer.id,
@@ -687,7 +689,7 @@ export class EzpPrinterSelection {
687
689
  meta: printer.location !== '' ? printer.location : '',
688
690
  type: 'printer',
689
691
  is_queue: printer.is_queue,
690
- })), preSelected: this.selectedPrinter.id ? this.selectedPrinter.name : null, disabled: !(this.printers.length > 0) })), h("div", { id: "options" }, h("ezp-select", { label: i18next.t('printer_selection.color'), icon: "color", placeholder: i18next.t('printer_selection.select_color'), toggleFlow: "horizontal", options: (_a = this.ColorOptions) === null || _a === void 0 ? void 0 : _a.map((option) => ({
692
+ })), 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: i18next.t('printer_selection.print') }))), h("div", { id: "options" }, h("ezp-stepper", { label: i18next.t('printer_selection.copies'), icon: "copies" }), h("ezp-select", { label: i18next.t('printer_selection.color'), icon: "color", placeholder: i18next.t('printer_selection.select_color'), toggleFlow: "horizontal", options: (_a = this.ColorOptions) === null || _a === void 0 ? void 0 : _a.map((option) => ({
691
693
  id: option.id,
692
694
  title: option.title,
693
695
  meta: '',
@@ -740,7 +742,7 @@ export class EzpPrinterSelection {
740
742
  : undefined, preSelected: this.selectedPrinter.id &&
741
743
  ((_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); }))
742
744
  ? (_w = this.selectedPrinterConfig.Default) === null || _w === void 0 ? void 0 : _w.Tray
743
- : 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: i18next.t('printer_selection.page_ranges') })), h("ezp-stepper", { label: i18next.t('printer_selection.copies'), icon: "copies" })), h("div", { id: "footer" }, h("ezp-text-button", { type: "button", level: "secondary", onClick: this.handleCancel, label: i18next.t('button_actions.cancel'), class: "action", id: "cancel" }), h("ezp-text-button", { disabled: this.selectedPrinter.id === '' || this.printProcessing || this.pageRangeInvalid, type: "button", onClick: this.handlePrint, label: i18next.t('button_actions.print'), ref: (button) => (this.printButton = button), class: "action", id: "print" })), !this.hidemenu && h("ezp-user-menu", { open: this.userMenuOpen, name: this.userName }))));
745
+ : 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: i18next.t('printer_selection.page_ranges') }))), h("div", { id: "footer" }, h("ezp-text-button", { type: "button", level: "secondary", onClick: this.handleCancel, label: i18next.t('button_actions.cancel'), class: "action", id: "cancel" })), !this.hidemenu && h("ezp-user-menu", { open: this.userMenuOpen, name: this.userName }))));
744
746
  }
745
747
  static get is() { return "ezp-printer-selection"; }
746
748
  static get encapsulation() { return "shadow"; }
@@ -135,10 +135,10 @@
135
135
  --ezp-accent-teal-solid-alt: rgb(0, 132, 110);
136
136
  --ezp-accent-teal-translucent: rgba(0, 150, 124, 0.16);
137
137
  --ezp-accent-teal-faded: rgba(0, 150, 124, 0.1);
138
- --ezp-accent-cyan-solid: rgb(0, 145, 180);
139
- --ezp-accent-cyan-solid-alt: rgb(0, 128, 160);
140
- --ezp-accent-cyan-translucent: rgba(0, 145, 180, 0.16);
141
- --ezp-accent-cyan-faded: rgba(0, 145, 180, 0.1);
138
+ --ezp-accent-cyan-solid: rgb(0, 143, 178);
139
+ --ezp-accent-cyan-solid-alt: rgb(0, 126, 158);
140
+ --ezp-accent-cyan-translucent: rgba(0, 143, 178, 0.1);
141
+ --ezp-accent-cyan-faded: rgba(0, 143, 178, 0.1);
142
142
  --ezp-accent-blue-solid: rgb(80, 129, 241);
143
143
  --ezp-accent-blue-solid-alt: rgb(59, 114, 223);
144
144
  --ezp-accent-blue-translucent: rgba(80, 129, 241, 0.16);
@@ -179,10 +179,10 @@
179
179
  --ezp-accent-teal-solid-alt: color(display-p3 0 0.518 0.431 / 100%);
180
180
  --ezp-accent-teal-translucent: color(display-p3 0 0.588 0.486 / 16%);
181
181
  --ezp-accent-teal-faded: color(display-p3 0 0.588 0.486 / 10%);
182
- --ezp-accent-cyan-solid: color(display-p3 0 0.569 0.706 / 100%);
183
- --ezp-accent-cyan-solid-alt: color(display-p3 0 0.502 0.627 / 100%);
184
- --ezp-accent-cyan-translucent: color(display-p3 0 0.569 0.706 / 16%);
185
- --ezp-accent-cyan-faded: color(display-p3 0 0.569 0.706 / 10%);
182
+ --ezp-accent-cyan-solid: color(display-p3 0 0.561 0.698 / 100%);
183
+ --ezp-accent-cyan-solid-alt: color(display-p3 0 0.494 0.62 / 100%);
184
+ --ezp-accent-cyan-translucent: color(display-p3 0 0.561 0.698 / 10%);
185
+ --ezp-accent-cyan-faded: color(display-p3 0 0.561 0.698 / 10%);
186
186
  --ezp-accent-blue-solid: color(display-p3 0.314 0.506 0.945 / 100%);
187
187
  --ezp-accent-blue-solid-alt: color(display-p3 0.231 0.447 0.875 / 100%);
188
188
  --ezp-accent-blue-translucent: color(display-p3 0.314 0.506 0.945 / 16%);
@@ -275,9 +275,9 @@
275
275
  --ezp-accent-teal-solid: rgb(29, 160, 134);
276
276
  --ezp-accent-teal-translucent: rgba(29, 160, 134, 0.26);
277
277
  --ezp-accent-teal-faded: rgba(29, 160, 134, 0.16);
278
- --ezp-accent-cyan-solid: rgb(32, 155, 191);
279
- --ezp-accent-cyan-translucent: rgba(32, 155, 191, 0.26);
280
- --ezp-accent-cyan-faded: rgba(32, 155, 191, 0.16);
278
+ --ezp-accent-cyan-solid: rgb(32, 153, 189);
279
+ --ezp-accent-cyan-translucent: rgba(32, 153, 189, 0.26);
280
+ --ezp-accent-cyan-faded: rgba(32, 153, 189, 0.16);
281
281
  --ezp-accent-blue-solid: rgb(93, 139, 253);
282
282
  --ezp-accent-blue-translucent: rgba(93, 139, 253, 0.26);
283
283
  --ezp-accent-blue-faded: rgba(93, 139, 253, 0.16);
@@ -309,9 +309,9 @@
309
309
  --ezp-accent-teal-solid: color(display-p3 0.114 0.627 0.525 / 100%);
310
310
  --ezp-accent-teal-translucent: color(display-p3 0.114 0.627 0.525 / 26%);
311
311
  --ezp-accent-teal-faded: color(display-p3 0.114 0.627 0.525 / 16%);
312
- --ezp-accent-cyan-solid: color(display-p3 0.125 0.608 0.749 / 100%);
313
- --ezp-accent-cyan-translucent: color(display-p3 0.125 0.608 0.749 / 26%);
314
- --ezp-accent-cyan-faded: color(display-p3 0.125 0.608 0.749 / 16%);
312
+ --ezp-accent-cyan-solid: color(display-p3 0.125 0.6 0.741 / 100%);
313
+ --ezp-accent-cyan-translucent: color(display-p3 0.125 0.6 0.741 / 26%);
314
+ --ezp-accent-cyan-faded: color(display-p3 0.125 0.6 0.741 / 16%);
315
315
  --ezp-accent-blue-solid: color(display-p3 0.365 0.545 0.992 / 100%);
316
316
  --ezp-accent-blue-translucent: color(display-p3 0.365 0.545 0.992 / 26%);
317
317
  --ezp-accent-blue-faded: color(display-p3 0.365 0.545 0.992 / 16%);