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