@ezeep/ezeep-js 1.0.221 → 1.0.225
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 +2 -2
- package/dist/cjs/{ezp-auth_14.cjs.entry.js → ezp-auth_15.cjs.entry.js} +96 -7
- package/dist/cjs/{index-0b159f85.js → index-1f953145.js} +11 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/ezp-dialog/ezp-dialog.js +1 -1
- package/dist/collection/components/ezp-icon/assets/glyph-height.svg +3 -0
- package/dist/collection/components/ezp-icon/assets/glyph-width.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 +115 -0
- package/dist/collection/components/ezp-input/ezp-input.js +190 -0
- package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +35 -4
- package/dist/collection/components/ezp-printing/ezp-printing.css +4 -0
- package/dist/collection/components/ezp-select/ezp-select.js +1 -1
- package/dist/collection/components/ezp-status/ezp-status.js +1 -1
- package/dist/collection/components/ezp-stepper/ezp-stepper.js +1 -1
- package/dist/collection/utils/utils.js +12 -0
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +100 -8
- package/dist/directives/proxies.ts +24 -0
- package/dist/esm/ezeep.js +2 -2
- package/dist/esm/{ezp-auth_14.entry.js → ezp-auth_15.entry.js} +96 -8
- package/dist/esm/{index-13f75d28.js → index-3ac1b749.js} +11 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm-es5/ezeep.js +1 -1
- package/dist/esm-es5/{ezp-auth_14.entry.js → ezp-auth_15.entry.js} +2 -2
- package/dist/esm-es5/index-3ac1b749.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/ezeep/assets/glyph-height.svg +3 -0
- package/dist/ezeep/assets/glyph-width.svg +3 -0
- package/dist/ezeep/ezeep.esm.js +1 -1
- package/dist/ezeep/ezeep.js +1 -1
- package/dist/ezeep/p-0cc2026d.system.js +1 -0
- package/dist/ezeep/{p-17f25f95.js → p-312f40d7.js} +1 -1
- package/dist/ezeep/p-3139f35d.entry.js +15 -0
- package/dist/ezeep/p-84bd195a.system.js +1 -0
- package/{www/build/p-b5d5f7b5.system.entry.js → dist/ezeep/p-a124be11.system.entry.js} +3 -3
- package/dist/types/components/ezp-input/ezp-input.d.ts +40 -0
- package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +3 -0
- package/dist/types/components.d.ts +65 -0
- package/dist/types/shared/types.d.ts +9 -5
- package/dist/types/utils/utils.d.ts +3 -0
- package/package.json +1 -1
- package/readme.md +1 -1
- package/www/build/assets/glyph-height.svg +3 -0
- package/www/build/assets/glyph-width.svg +3 -0
- package/www/build/ezeep.esm.js +1 -1
- package/www/build/ezeep.js +1 -1
- package/www/build/p-0cc2026d.system.js +1 -0
- package/www/build/{p-17f25f95.js → p-312f40d7.js} +1 -1
- package/www/build/p-3139f35d.entry.js +15 -0
- package/www/build/p-84bd195a.system.js +1 -0
- package/{dist/ezeep/p-b5d5f7b5.system.entry.js → www/build/p-a124be11.system.entry.js} +3 -3
- package/www/data/locales/de.json +3 -1
- package/www/data/locales/en.json +3 -1
- package/dist/esm-es5/index-13f75d28.js +0 -1
- package/dist/ezeep/p-16c7584d.system.js +0 -1
- package/dist/ezeep/p-9c3f24c6.entry.js +0 -15
- package/dist/ezeep/p-c04b764e.system.js +0 -1
- package/www/build/p-16c7584d.system.js +0 -1
- package/www/build/p-9c3f24c6.entry.js +0 -15
- package/www/build/p-c04b764e.system.js +0 -1
package/dist/cjs/ezeep.cjs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-1f953145.js');
|
|
4
4
|
const appGlobals = require('./app-globals-53afb196.js');
|
|
5
5
|
|
|
6
6
|
/*
|
|
@@ -17,5 +17,5 @@ const patchBrowser = () => {
|
|
|
17
17
|
|
|
18
18
|
patchBrowser().then(options => {
|
|
19
19
|
appGlobals.globalScripts();
|
|
20
|
-
return index.bootstrapLazy([["ezp-
|
|
20
|
+
return index.bootstrapLazy([["ezp-auth_15.cjs",[[1,"ezp-printing",{"clientid":[1],"redirecturi":[1],"filename":[1025],"fileurl":[1],"filetype":[1],"custom":[4],"hidelogin":[4],"hidemenu":[4],"hideheader":[4],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"fileid":[1],"appearance":[1],"trigger":[1],"language":[1],"code":[1],"filedata":[1],"seamless":[4],"printOpen":[32],"authOpen":[32],"onlyGetSasUri":[32],"noDocumentOpen":[32],"systemAppearance":[32],"file":[32],"open":[64],"logOut":[64],"getSasUri":[64],"getAuthUri":[64],"checkAuth":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]]],[1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1025],"fileurl":[1],"filetype":[1025],"fileid":[1025],"file":[16],"hidemenu":[4],"hideheader":[4],"seamless":[4],"loading":[32],"printProcessing":[32],"uploading":[32],"preparingUpload":[32],"printSuccess":[32],"printFailed":[32],"notSupported":[32],"noPrinters":[32],"userMenuOpen":[32],"printStopped":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedPrinterConfig":[32],"selectedProperties":[32],"paperid":[32]},[[0,"inputValueChanged","listenInputValueChanged"],[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"],[0,"statusCancel","listenStatusCancel"],[0,"statusClose","listenStatusClose"],[0,"statusRetry","listenStatusRetry"]]],[1,"ezp-auth",{"clientID":[1025,"client-i-d"],"redirectURI":[1025,"redirect-u-r-i"],"hidelogin":[4],"trigger":[1],"code":[1],"auth":[32],"authURI":[32],"accessToken":[32]},[[0,"dialogAction","listenDialogAction"],[0,"dialogClose","listenDialogClose"],[0,"statusCancel","listenStatusCancel"]]],[1,"ezp-upload",{"filename":[32],"dragging":[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"],[4,"printCancel","listenPrintCancel"]]],[1,"ezp-dialog",{"heading":[1],"description":[1],"action":[1],"iconName":[1,"icon-name"],"iconSize":[1,"icon-size"],"iconFramed":[4,"icon-framed"],"instance":[1]}],[1,"ezp-user-menu",{"name":[1],"open":[1028]}],[1,"ezp-select",{"icon":[1],"label":[1],"optionFlow":[1,"option-flow"],"options":[16],"placeholder":[1],"preSelected":[8,"pre-selected"],"toggleFlow":[1,"toggle-flow"],"disabled":[4],"expanded":[32],"selected":[32]}],[1,"ezp-input",{"label":[1],"value":[1032],"type":[1],"icon":[1],"suffix":[513],"eventType":[1,"event-type"],"focused":[32]}],[1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]}],[1,"ezp-status",{"description":[1],"processing":[4],"instance":[1],"icon":[1],"cancel":[8],"close":[8],"retry":[8]}],[1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1],"small":[4]}],[1,"ezp-icon",{"name":[1],"size":[1],"framed":[4]}],[1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]]]], options);
|
|
21
21
|
});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1f953145.js');
|
|
6
6
|
|
|
7
7
|
const appendToMap = (map, propName, value) => {
|
|
8
8
|
const items = map.get(propName);
|
|
@@ -2873,7 +2873,9 @@ const printer_selection$1 = {
|
|
|
2873
2873
|
copies: "Kopien",
|
|
2874
2874
|
duplex_long: "auf der langen Seite umdrehen",
|
|
2875
2875
|
duplex_short: "auf der kurzen Seite umdrehen",
|
|
2876
|
-
pull_print_success: "Bereit zum Auslösen."
|
|
2876
|
+
pull_print_success: "Bereit zum Auslösen.",
|
|
2877
|
+
width: "Breite",
|
|
2878
|
+
length: "Länge"
|
|
2877
2879
|
};
|
|
2878
2880
|
const button_actions$1 = {
|
|
2879
2881
|
login: "Anmelden",
|
|
@@ -2950,7 +2952,9 @@ const printer_selection = {
|
|
|
2950
2952
|
orientation_landscape: "Landscape",
|
|
2951
2953
|
unknown_location: "Unknown location",
|
|
2952
2954
|
no_printers: "No printers found.",
|
|
2953
|
-
copies: "Copies"
|
|
2955
|
+
copies: "Copies",
|
|
2956
|
+
width: "Width",
|
|
2957
|
+
length: "Length"
|
|
2954
2958
|
};
|
|
2955
2959
|
const button_actions = {
|
|
2956
2960
|
login: "Sign In",
|
|
@@ -3046,6 +3050,18 @@ const removeEmptyStrings = (obj) => {
|
|
|
3046
3050
|
});
|
|
3047
3051
|
return newObj;
|
|
3048
3052
|
};
|
|
3053
|
+
const managePaperDimensions = (properties) => {
|
|
3054
|
+
if (properties.paperid != PAPER_ID) {
|
|
3055
|
+
delete properties.paperlength;
|
|
3056
|
+
delete properties.paperwidth;
|
|
3057
|
+
}
|
|
3058
|
+
if (properties.paperlength && properties.paperwidth) {
|
|
3059
|
+
properties.paperlength = +properties.paperlength * 10;
|
|
3060
|
+
properties.paperwidth = +properties.paperwidth * 10;
|
|
3061
|
+
}
|
|
3062
|
+
return properties;
|
|
3063
|
+
};
|
|
3064
|
+
const PAPER_ID = 256;
|
|
3049
3065
|
|
|
3050
3066
|
class EzpAuthorizationService {
|
|
3051
3067
|
constructor(redirectURI, clientID) {
|
|
@@ -3411,6 +3427,58 @@ let EzpIconButton = class {
|
|
|
3411
3427
|
};
|
|
3412
3428
|
EzpIconButton.style = ezpIconButtonCss;
|
|
3413
3429
|
|
|
3430
|
+
const ezpInputCss = ":host{display:grid;grid-template:var(--ezp-input-grid-template, auto/auto auto 1fr);height:30px;position:relative;gap:var(--ezp-spacing-3);background:var(--ezp-input-background, var(--ezp-core-surface-tertiary));padding:0 var(--ezp-spacing-3);z-index:var(--ezp-input-z-index, 3);border-radius:var(--ezp-input-border-radius, 0);-webkit-box-shadow:var(--ezp-input-box-shadow-position-top, 0 -1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-right, 1px 0 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-bottom, 0 1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-left, -1px 0 0 0) var(--ezp-core-outline);box-shadow:var(--ezp-input-box-shadow-position-top, 0 -1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-right, 1px 0 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-bottom, 0 1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-left, -1px 0 0 0) var(--ezp-core-outline);-ms-flex-align:center;align-items:center;cursor:pointer}:host([suffix]){--ezp-input-grid-template:auto / auto auto 1fr auto;--ezp-input-input-padding-right:0}:host(.focused){--ezp-input-icon-color:var(--ezp-theme-solid);--ezp-input-label-color:var(--ezp-theme-solid)}:host(:first-child){--ezp-input-border-radius:3px 3px 0 0}:host(:last-child){--ezp-input-border-radius:0 0 3px 3px}:host(:first-child:last-child){--ezp-input-border-radius:3px}:host(:not(:last-child)){--ezp-input-box-shadow-position-bottom:0 0 0 0}:host(:hover){--ezp-input-background:linear-gradient(\n 0deg,\n var(--ezp-core-shade-primary) 0%,\n var(--ezp-core-shade-primary) 100%\n ),\n var(--ezp-core-surface-tertiary)}#label{color:var(--ezp-input-label-color, var(--ezp-core-foreground-secondary))}#icon{color:var(--ezp-input-icon-color, var(--ezp-core-foreground-secondary))}#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:inherit;font-family:inherit;-webkit-font-feature-settings:\"tnum\";font-feature-settings:\"tnum\";font-size:14px;-webkit-font-smoothing:antialiased;height:30px;letter-spacing:-0.0062235443em;margin:0;outline:none;padding:0 var(--ezp-input-input-padding-right, var(--ezp-spacing-1)) 0 0;text-align:right;width:100%}#input[type=number]::-webkit-inner-spin-button,#input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}#suffix{color:var(--ezp-core-foreground-tertiary)}";
|
|
3431
|
+
|
|
3432
|
+
let EzpInput = class {
|
|
3433
|
+
constructor(hostRef) {
|
|
3434
|
+
index.registerInstance(this, hostRef);
|
|
3435
|
+
this.inputValueChanged = index.createEvent(this, "inputValueChanged", 7);
|
|
3436
|
+
this.timeout = null;
|
|
3437
|
+
/**
|
|
3438
|
+
*
|
|
3439
|
+
* Properties
|
|
3440
|
+
*
|
|
3441
|
+
*/
|
|
3442
|
+
/** Description... */
|
|
3443
|
+
this.label = 'Label';
|
|
3444
|
+
/** Description... */
|
|
3445
|
+
this.type = 'text';
|
|
3446
|
+
/** Description... */
|
|
3447
|
+
this.icon = 'color';
|
|
3448
|
+
/**
|
|
3449
|
+
*
|
|
3450
|
+
* States
|
|
3451
|
+
*
|
|
3452
|
+
*/
|
|
3453
|
+
this.focused = false;
|
|
3454
|
+
this.setFocus = () => {
|
|
3455
|
+
this.input.focus();
|
|
3456
|
+
};
|
|
3457
|
+
this.handleBlur = () => {
|
|
3458
|
+
this.focused = false;
|
|
3459
|
+
};
|
|
3460
|
+
this.handleFocus = () => {
|
|
3461
|
+
this.focused = true;
|
|
3462
|
+
};
|
|
3463
|
+
}
|
|
3464
|
+
handleChange(event) {
|
|
3465
|
+
if (this.timeout) {
|
|
3466
|
+
clearTimeout(this.timeout);
|
|
3467
|
+
}
|
|
3468
|
+
this.value = event.target.value ? event.target.value : 0;
|
|
3469
|
+
this.timeout = setTimeout(() => {
|
|
3470
|
+
this.inputValueChanged.emit({
|
|
3471
|
+
type: this.eventType.toLowerCase(),
|
|
3472
|
+
value: this.value,
|
|
3473
|
+
});
|
|
3474
|
+
}, 500);
|
|
3475
|
+
}
|
|
3476
|
+
render() {
|
|
3477
|
+
return (index.h(index.Host, { class: { focused: this.focused }, onClick: this.setFocus }, index.h("ezp-icon", { id: "icon", name: this.icon }), index.h("ezp-label", { id: "label", noWrap: true, level: "secondary", text: this.label }), index.h("input", { id: "input", type: this.type, value: this.value, onInput: (event) => this.handleChange(event), ref: (input) => (this.input = input), onFocus: this.handleFocus, onBlur: this.handleBlur }), this.suffix ? index.h("ezp-label", { id: "suffix", level: "secondary", text: this.suffix }) : null));
|
|
3478
|
+
}
|
|
3479
|
+
};
|
|
3480
|
+
EzpInput.style = ezpInputCss;
|
|
3481
|
+
|
|
3414
3482
|
const ezpLabelCss = ":host{display:block;min-width:var(--ezp-label-minWidth, auto);padding-bottom:1px;padding-top:1px}:host::before,:host::after{content:\"\";display:block;height:0}:host::before{margin-top:calc((var(--ezp-label-offset) + 1px) * -1)}:host::after{margin-bottom:calc((var(--ezp-label-offset) + 1px) * -1)}:host(.no-wrap){--ezp-label-whiteSpace:nowrap}:host(.ellipsis){--ezp-label-minWidth:0;--ezp-label-overflow:hidden;--ezp-label-textOverflow:ellipsis;--ezp-label-whiteSpace:nowrap;--ezp-label-width:100%}:host(.primary){--ezp-label-fontSize:17px;--ezp-label-lineHeight:24px;--ezp-label-letterSpacing:-0.0127756105em;--ezp-label-offset:6px}:host(.secondary){--ezp-label-fontSize:14px;--ezp-label-lineHeight:20px;--ezp-label-letterSpacing:-0.0062235443em;--ezp-label-offset:5px}:host(.tertiary){--ezp-label-fontSize:12px;--ezp-label-lineHeight:18px;--ezp-label-letterSpacing:0.0004907745em;--ezp-label-offset:5px}:host(.soft){--ezp-label-fontWeight:400}:host(.strong){--ezp-label-fontWeight:500}:host(.heavy){--ezp-label-fontWeight:600}#text{font-size:var(--ezp-label-fontSize);font-weight:var(--ezp-label-fontWeight);letter-spacing:var(--ezp-label-letterSpacing);line-height:var(--ezp-label-lineHeight);overflow:var(--ezp-label-overflow, visible);text-overflow:var(--ezp-label-textOverflow, clip);white-space:var(--ezp-label-whiteSpace, normal);width:var(--ezp-label-width, auto)}";
|
|
3415
3483
|
|
|
3416
3484
|
let EzpLabel = class {
|
|
@@ -32701,6 +32769,8 @@ let EzpPrinterSelection = class {
|
|
|
32701
32769
|
orientation: 1,
|
|
32702
32770
|
copies: '',
|
|
32703
32771
|
resolution: 0,
|
|
32772
|
+
paperlength: 0,
|
|
32773
|
+
paperwidth: 0
|
|
32704
32774
|
};
|
|
32705
32775
|
/**
|
|
32706
32776
|
*
|
|
@@ -32727,7 +32797,8 @@ let EzpPrinterSelection = class {
|
|
|
32727
32797
|
this.printProcessing = true;
|
|
32728
32798
|
// we have to initialse this obj with empty strings to display the select component
|
|
32729
32799
|
// but don't want to send any attributes with empty strings to the API
|
|
32730
|
-
|
|
32800
|
+
let cleanPrintProperties = removeEmptyStrings(this.selectedProperties);
|
|
32801
|
+
cleanPrintProperties = managePaperDimensions(cleanPrintProperties);
|
|
32731
32802
|
// put it in store for further use
|
|
32732
32803
|
printStore.state.fileUrl = this.fileurl;
|
|
32733
32804
|
printStore.state.fileID = this.fileid;
|
|
@@ -32801,6 +32872,9 @@ let EzpPrinterSelection = class {
|
|
|
32801
32872
|
* Listeners
|
|
32802
32873
|
*
|
|
32803
32874
|
*/
|
|
32875
|
+
listenInputValueChanged(event) {
|
|
32876
|
+
this.setSelectedProperties(event.detail);
|
|
32877
|
+
}
|
|
32804
32878
|
listenSelectSelection(event) {
|
|
32805
32879
|
this.setSelectedProperties(event.detail);
|
|
32806
32880
|
}
|
|
@@ -32865,6 +32939,10 @@ let EzpPrinterSelection = class {
|
|
|
32865
32939
|
else {
|
|
32866
32940
|
this.selectedPrinter = { id: '', location: '', name: '', is_queue: false };
|
|
32867
32941
|
}
|
|
32942
|
+
this.setPaperid();
|
|
32943
|
+
}
|
|
32944
|
+
setPaperid() {
|
|
32945
|
+
this.paperid = this.selectedProperties.paperid;
|
|
32868
32946
|
}
|
|
32869
32947
|
getUserInfo() {
|
|
32870
32948
|
const userService = new EzpUserService();
|
|
@@ -32898,13 +32976,20 @@ let EzpPrinterSelection = class {
|
|
|
32898
32976
|
this.selectedProperties.paper = eventDetails.title;
|
|
32899
32977
|
this.selectedProperties.paperid = eventDetails.id;
|
|
32900
32978
|
// console.log('paper selected:')
|
|
32901
|
-
// console.log(this.selectedProperties.paper)
|
|
32902
32979
|
break;
|
|
32903
32980
|
case 'quality':
|
|
32904
32981
|
this.selectedProperties.resolution = eventDetails.title;
|
|
32905
32982
|
// console.log('quality selected:')
|
|
32906
32983
|
// console.log(this.selectedProperties.resolution)
|
|
32907
32984
|
break;
|
|
32985
|
+
case 'length':
|
|
32986
|
+
this.selectedProperties.paperlength = eventDetails.value;
|
|
32987
|
+
// console.log(this.selectedProperties)
|
|
32988
|
+
break;
|
|
32989
|
+
case 'width':
|
|
32990
|
+
this.selectedProperties.paperwidth = eventDetails.value;
|
|
32991
|
+
// console.log(this.selectedProperties)
|
|
32992
|
+
break;
|
|
32908
32993
|
case 'duplex':
|
|
32909
32994
|
if (eventDetails.title === 'None') {
|
|
32910
32995
|
this.selectedProperties.duplex = false;
|
|
@@ -32917,6 +33002,8 @@ let EzpPrinterSelection = class {
|
|
|
32917
33002
|
// console.log(this.selectedProperties.duplexmode)
|
|
32918
33003
|
break;
|
|
32919
33004
|
}
|
|
33005
|
+
// setting paper id here to updated the prop for input.
|
|
33006
|
+
this.setPaperid();
|
|
32920
33007
|
}
|
|
32921
33008
|
async handleFiles(file, printPorperties) {
|
|
32922
33009
|
this.preparingUpload = true;
|
|
@@ -32992,6 +33079,7 @@ let EzpPrinterSelection = class {
|
|
|
32992
33079
|
this.selectedProperties.paper = this.selectedPrinterConfig.PaperFormats[0].Name;
|
|
32993
33080
|
this.selectedProperties.paperid = this.selectedPrinterConfig.PaperFormats[0].Id;
|
|
32994
33081
|
}
|
|
33082
|
+
this.setPaperid();
|
|
32995
33083
|
}
|
|
32996
33084
|
/**
|
|
32997
33085
|
*
|
|
@@ -33094,7 +33182,7 @@ let EzpPrinterSelection = class {
|
|
|
33094
33182
|
title: format.Name,
|
|
33095
33183
|
meta: `${format.XRes} x ${format.YRes}`,
|
|
33096
33184
|
type: 'format',
|
|
33097
|
-
})), preSelected: this.selectedPrinter.id ? this.selectedProperties.paper : null, disabled: !(this.selectedPrinterConfig.PaperFormats.length > 0) }), index.h("ezp-select", { label: i18next.t('printer_selection.orientation'), icon: "orientation", placeholder: i18next.t('printer_selection.select_orientation'), toggleFlow: "horizontal", options: this.selectedPrinterConfig.OrientationsSupported.map((orientation, index) => ({
|
|
33185
|
+
})), preSelected: this.selectedPrinter.id ? this.selectedProperties.paper : null, disabled: !(this.selectedPrinterConfig.PaperFormats.length > 0) }), this.paperid == PAPER_ID ? (index.h(index.Fragment, null, index.h("ezp-input", { icon: "width", suffix: "mm", value: this.selectedProperties.paperwidth, eventType: "width", type: "number", label: i18next.t('printer_selection.width') }), index.h("ezp-input", { icon: "height", suffix: "mm", value: this.selectedProperties.paperlength, eventType: "length", type: "number", label: i18next.t('printer_selection.length') }))) : null, index.h("ezp-select", { label: i18next.t('printer_selection.orientation'), icon: "orientation", placeholder: i18next.t('printer_selection.select_orientation'), toggleFlow: "horizontal", options: this.selectedPrinterConfig.OrientationsSupported.map((orientation, index) => ({
|
|
33098
33186
|
id: index + 1,
|
|
33099
33187
|
title: i18next.t(`printer_selection.orientation_${orientation}`),
|
|
33100
33188
|
meta: '',
|
|
@@ -33116,7 +33204,7 @@ const config = {
|
|
|
33116
33204
|
printingApiHostUrl: printingApiHostUrl
|
|
33117
33205
|
};
|
|
33118
33206
|
|
|
33119
|
-
const ezpPrintingCss = ":host{--ezp-black-5:rgba(0, 0, 0, 0.05);--ezp-black-10:rgba(0, 0, 0, 0.1);--ezp-black-20:rgba(0, 0, 0, 0.2);--ezp-black-30:rgba(0, 0, 0, 0.3);--ezp-black-40:rgba(0, 0, 0, 0.4);--ezp-black-50:rgba(0, 0, 0, 0.5);--ezp-black-60:rgba(0, 0, 0, 0.6);--ezp-black-70:rgba(0, 0, 0, 0.7);--ezp-black-80:rgba(0, 0, 0, 0.8);--ezp-black-90:rgba(0, 0, 0, 0.9);--ezp-black-95:rgba(0, 0, 0, 0.95);--ezp-black-100:black}:host{--ezp-white-5:rgba(255, 255, 255, 0.05);--ezp-white-10:rgba(255, 255, 255, 0.1);--ezp-white-20:rgba(255, 255, 255, 0.2);--ezp-white-30:rgba(255, 255, 255, 0.3);--ezp-white-40:rgba(255, 255, 255, 0.4);--ezp-white-50:rgba(255, 255, 255, 0.5);--ezp-white-60:rgba(255, 255, 255, 0.6);--ezp-white-70:rgba(255, 255, 255, 0.7);--ezp-white-80:rgba(255, 255, 255, 0.8);--ezp-white-90:rgba(255, 255, 255, 0.9);--ezp-white-95:rgba(255, 255, 255, 0.95);--ezp-white-100:white}:host{font-family:\"Inter\", sans-serif;-webkit-font-feature-settings:\"calt\", \"liga\", \"ss03\", \"zero\", \"cv05\", \"cv10\";font-feature-settings:\"calt\", \"liga\", \"ss03\", \"zero\", \"cv05\", \"cv10\";-webkit-font-kerning:normal;font-kerning:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;-webkit-tap-highlight-color:transparent;text-rendering:optimizeLegibility;-webkit-text-size-adjust:none;--ezp-duration-1:0.1s;--ezp-duration-2:0.16s;--ezp-duration-3:0.26s;--ezp-duration-4:0.42s;--ezp-duration-5:0.68s;--ezp-duration-6:1s;--ezp-spacing-1:4px;--ezp-spacing-2:6px;--ezp-spacing-3:10px;--ezp-spacing-4:16px;--ezp-spacing-5:26px;--ezp-spacing-6:42px;--ezp-spacing-7:68px;--ezp-spacing-8:110px;--ezp-easing-in-quart:cubic-bezier(0.11, 0, 0.5, 0);--ezp-easing-in-out-quart:cubic-bezier(0.76, 0, 0.24, 1);--ezp-easing-in-out-cubic:cubic-bezier(0.65, 0, 0.35, 1);--ezp-easing-in-expo:cubic-bezier(0.7, 0, 0.84, 0);--ezp-easing-out-quart:cubic-bezier(0.25, 1, 0.5, 1);--ezp-easing-out-expo:cubic-bezier(0.16, 1, 0.3, 1)}:host(.light){--ezp-accent-pink-solid:#f23267;--ezp-accent-pink-solid-alt:#df1559;--ezp-accent-pink-translucent:rgba(242, 50, 103, 0.16);--ezp-accent-red-solid:#f23b22;--ezp-accent-red-solid-alt:#de2313;--ezp-accent-red-translucent:rgba(242, 59, 34, 0.16);--ezp-accent-orange-solid:#fe7200;--ezp-accent-orange-solid-alt:#f56200;--ezp-accent-orange-translucent:rgba(254, 114, 0, 0.16);--ezp-accent-yellow-solid:#ffa200;--ezp-accent-yellow-solid-alt:#fe9000;--ezp-accent-yellow-translucent:rgba(255, 162, 0, 0.16);--ezp-accent-green-solid:#5d9200;--ezp-accent-green-solid-alt:#518100;--ezp-accent-green-translucent:rgba(93, 146, 0, 0.16);--ezp-accent-teal-solid:#00967c;--ezp-accent-teal-solid-alt:#00846e;--ezp-accent-teal-translucent:rgba(0, 150, 124, 0.16);--ezp-accent-cyan-solid:#0091b4;--ezp-accent-cyan-solid-alt:#0080a0;--ezp-accent-cyan-translucent:rgba(0, 145, 180, 0.16);--ezp-accent-blue-solid:#5081f1;--ezp-accent-blue-solid-alt:#3b72df;--ezp-accent-blue-translucent:rgba(80, 129, 241, 0.16);--ezp-accent-violet-solid:#ae5ef3;--ezp-accent-violet-solid-alt:#9d4ee2;--ezp-accent-violet-translucent:rgba(174, 94, 243, 0.16);--ezp-core-surface-primary:white;--ezp-core-surface-secondary:#f3f3f3;--ezp-core-surface-tertiary:white;--ezp-core-foreground-primary:rgba(0, 0, 0, 0.94);--ezp-core-foreground-secondary:rgba(62, 62, 62, 0.68);--ezp-core-foreground-tertiary:rgba(62, 62, 62, 0.42);--ezp-core-shade-primary:rgba(139, 139, 139, 0.1);--ezp-core-shade-secondary:rgba(139, 139, 139, 0.16);--ezp-core-shade-tertiary:rgba(139, 139, 139, 0.22);--ezp-core-outline:rgba(99, 99, 99, 0.16);--ezp-core-edge:rgba(0, 0, 0, 0.1);--ezp-core-backdrop:rgba(0, 0, 0, 0.26)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.light){--ezp-accent-pink-solid:color(display-p3 0.949 0.196 0.404/100%);--ezp-accent-pink-solid-alt:color(display-p3 0.875 0.082 0.349/100%);--ezp-accent-pink-translucent:color(display-p3 0.949 0.196 0.404/16%);--ezp-accent-red-solid:color(display-p3 0.949 0.231 0.133/100%);--ezp-accent-red-solid-alt:color(display-p3 0.871 0.137 0.075/100%);--ezp-accent-red-translucent:color(display-p3 0.949 0.231 0.133/16%);--ezp-accent-orange-solid:color(display-p3 0.996 0.447 0/100%);--ezp-accent-orange-solid-alt:color(display-p3 0.961 0.384 0/100%);--ezp-accent-orange-translucent:color(display-p3 0.996 0.447 0/16%);--ezp-accent-yellow-solid:color(display-p3 1 0.635 0/100%);--ezp-accent-yellow-solid-alt:color(display-p3 0.996 0.565 0/100%);--ezp-accent-yellow-translucent:color(display-p3 1 0.635 0/16%);--ezp-accent-green-solid:color(display-p3 0.365 0.573 0/100%);--ezp-accent-green-solid-alt:color(display-p3 0.318 0.506 0/100%);--ezp-accent-green-translucent:color(display-p3 0.365 0.573 0/16%);--ezp-accent-teal-solid:color(display-p3 0 0.588 0.486/100%);--ezp-accent-teal-solid-alt:color(display-p3 0 0.518 0.431/100%);--ezp-accent-teal-translucent:color(display-p3 0 0.588 0.486/16%);--ezp-accent-cyan-solid:color(display-p3 0 0.569 0.706/100%);--ezp-accent-cyan-solid-alt:color(display-p3 0 0.502 0.627/100%);--ezp-accent-cyan-translucent:color(display-p3 0 0.569 0.706/16%);--ezp-accent-blue-solid:color(display-p3 0.314 0.506 0.945/100%);--ezp-accent-blue-solid-alt:color(display-p3 0.231 0.447 0.875/100%);--ezp-accent-blue-translucent:color(display-p3 0.314 0.506 0.945/16%);--ezp-accent-violet-solid:color(display-p3 0.682 0.369 0.953/100%);--ezp-accent-violet-solid-alt:color(display-p3 0.616 0.306 0.886/100%);--ezp-accent-violet-translucent:color(display-p3 0.682 0.369 0.953/16%)}}}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.light){--ezp-core-surface-primary:color(display-p3 1 1 1/100%);--ezp-core-surface-secondary:color(display-p3 0.953 0.953 0.953/100%);--ezp-core-surface-tertiary:color(display-p3 1 1 1/100%);--ezp-core-foreground-primary:color(display-p3 0 0 0/94%);--ezp-core-foreground-secondary:color(display-p3 0.243 0.243 0.243/68%);--ezp-core-foreground-tertiary:color(display-p3 0.243 0.243 0.243/42%);--ezp-core-shade-primary:color(display-p3 0.545 0.545 0.545/10%);--ezp-core-shade-secondary:color(display-p3 0.545 0.545 0.545/16%);--ezp-core-shade-tertiary:color(display-p3 0.545 0.545 0.545/22%);--ezp-core-outline:color(display-p3 0.388 0.388 0.388/16%);--ezp-core-edge:color(display-p3 0 0 0/10%);--ezp-core-backdrop:color(display-p3 0 0 0/26%)}}}:host(.dark){--ezp-dialog-box-boxShadow:inset 0 0 0 1px var(--ezp-core-outline),\n 0 0 0 1px var(--ezp-black-60);--ezp-printerSelection-body-boxShadow:inset 1px 0 0 0 var(--ezp-core-outline),\n 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),\n 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),\n 0 0 0 1px var(--ezp-black-60);--ezp-userMenu-header-boxShadowPosition:inset 0 -1px 0 0;--ezp-userMenu-links-boxShadowPosition:inset 0 -1px 0 0;--ezp-userMenu-theme-boxShadowPosition:inset 0 -1px 0 0;--ezp-accent-pink-solid:#ff4171;--ezp-accent-pink-translucent:rgba(255, 65, 113, 0.26);--ezp-accent-red-solid:#ff482c;--ezp-accent-red-translucent:rgba(255, 72, 44, 0.26);--ezp-accent-orange-solid:#ff811c;--ezp-accent-orange-translucent:rgba(255, 129, 28, 0.26);--ezp-accent-yellow-solid:#ffaf3a;--ezp-accent-yellow-translucent:rgba(255, 175, 58, 0.26);--ezp-accent-green-solid:#679c15;--ezp-accent-green-translucent:rgba(103, 156, 21, 0.26);--ezp-accent-teal-solid:#1da086;--ezp-accent-teal-translucent:rgba(29, 160, 134, 0.26);--ezp-accent-cyan-solid:#209bbf;--ezp-accent-cyan-translucent:rgba(32, 155, 191, 0.26);--ezp-accent-blue-solid:#5d8bfd;--ezp-accent-blue-translucent:rgba(93, 139, 253, 0.26);--ezp-accent-violet-solid:#ba69ff;--ezp-accent-violet-translucent:rgba(186, 105, 255, 0.26);--ezp-core-surface-primary:black;--ezp-core-surface-secondary:#1b1b1b;--ezp-core-surface-tertiary:#282828;--ezp-core-foreground-primary:rgba(255, 255, 255, 0.94);--ezp-core-foreground-secondary:rgba(182, 182, 182, 0.68);--ezp-core-foreground-tertiary:rgba(182, 182, 182, 0.42);--ezp-core-shade-primary:rgba(99, 99, 99, 0.26);--ezp-core-shade-secondary:rgba(99, 99, 99, 0.32);--ezp-core-shade-tertiary:rgba(99, 99, 99, 0.38);--ezp-core-outline:rgba(139, 139, 139, 0.26);--ezp-core-edge:rgba(255, 255, 255, 0.16);--ezp-core-backdrop:rgba(0, 0, 0, 0.68)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.dark){--ezp-accent-pink-solid:color(display-p3 1 0.255 0.443/100%);--ezp-accent-pink-translucent:color(display-p3 1 0.255 0.443/26%);--ezp-accent-red-solid:color(display-p3 1 0.282 0.173/100%);--ezp-accent-red-translucent:color(display-p3 1 0.282 0.173/26%);--ezp-accent-orange-solid:color(display-p3 1 0.506 0.11/100%);--ezp-accent-orange-translucent:color(display-p3 1 0.506 0.11/26%);--ezp-accent-yellow-solid:color(display-p3 1 0.686 0.227/100%);--ezp-accent-yellow-translucent:color(display-p3 1 0.686 0.227/26%);--ezp-accent-green-solid:color(display-p3 0.404 0.612 0.082/100%);--ezp-accent-green-translucent:color(display-p3 0.404 0.612 0.082/26%);--ezp-accent-teal-solid:color(display-p3 0.114 0.627 0.525/100%);--ezp-accent-teal-translucent:color(display-p3 0.114 0.627 0.525/26%);--ezp-accent-cyan-solid:color(display-p3 0.125 0.608 0.749/100%);--ezp-accent-cyan-translucent:color(display-p3 0.125 0.608 0.749/26%);--ezp-accent-blue-solid:color(display-p3 0.365 0.545 0.992/100%);--ezp-accent-blue-translucent:color(display-p3 0.365 0.545 0.992/26%);--ezp-accent-violet-solid:color(display-p3 0.729 0.412 1/100%);--ezp-accent-violet-translucent:color(display-p3 0.729 0.412 1/26%)}}}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.dark){--ezp-core-surface-primary:color(display-p3 0 0 0/100%);--ezp-core-surface-secondary:color(display-p3 0.106 0.106 0.106/100%);--ezp-core-surface-tertiary:color(display-p3 0.157 0.157 0.157/100%);--ezp-core-foreground-primary:color(display-p3 1 1 1/94%);--ezp-core-foreground-secondary:color(display-p3 0.714 0.714 0.714/68%);--ezp-core-foreground-tertiary:color(display-p3 0.714 0.714 0.714/42%);--ezp-core-shade-primary:color(display-p3 0.388 0.388 0.388/26%);--ezp-core-shade-secondary:color(display-p3 0.388 0.388 0.388/32%);--ezp-core-shade-tertiary:color(display-p3 0.388 0.388 0.388/38%);--ezp-core-outline:color(display-p3 0.545 0.545 0.545/26%);--ezp-core-edge:color(display-p3 1 1 1/16%);--ezp-core-backdrop:color(display-p3 0 0 0/68%)}}}:host(.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)}";
|
|
33207
|
+
const ezpPrintingCss = ":host{--ezp-black-5:rgba(0, 0, 0, 0.05);--ezp-black-10:rgba(0, 0, 0, 0.1);--ezp-black-20:rgba(0, 0, 0, 0.2);--ezp-black-30:rgba(0, 0, 0, 0.3);--ezp-black-40:rgba(0, 0, 0, 0.4);--ezp-black-50:rgba(0, 0, 0, 0.5);--ezp-black-60:rgba(0, 0, 0, 0.6);--ezp-black-70:rgba(0, 0, 0, 0.7);--ezp-black-80:rgba(0, 0, 0, 0.8);--ezp-black-90:rgba(0, 0, 0, 0.9);--ezp-black-95:rgba(0, 0, 0, 0.95);--ezp-black-100:black}:host{--ezp-white-5:rgba(255, 255, 255, 0.05);--ezp-white-10:rgba(255, 255, 255, 0.1);--ezp-white-20:rgba(255, 255, 255, 0.2);--ezp-white-30:rgba(255, 255, 255, 0.3);--ezp-white-40:rgba(255, 255, 255, 0.4);--ezp-white-50:rgba(255, 255, 255, 0.5);--ezp-white-60:rgba(255, 255, 255, 0.6);--ezp-white-70:rgba(255, 255, 255, 0.7);--ezp-white-80:rgba(255, 255, 255, 0.8);--ezp-white-90:rgba(255, 255, 255, 0.9);--ezp-white-95:rgba(255, 255, 255, 0.95);--ezp-white-100:white}:host{font-family:\"Inter\", sans-serif;-webkit-font-feature-settings:\"calt\", \"liga\", \"ss03\", \"zero\", \"cv05\", \"cv10\";font-feature-settings:\"calt\", \"liga\", \"ss03\", \"zero\", \"cv05\", \"cv10\";-webkit-font-kerning:normal;font-kerning:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;-webkit-tap-highlight-color:transparent;text-rendering:optimizeLegibility;-webkit-text-size-adjust:none;--ezp-duration-1:0.1s;--ezp-duration-2:0.16s;--ezp-duration-3:0.26s;--ezp-duration-4:0.42s;--ezp-duration-5:0.68s;--ezp-duration-6:1s;--ezp-spacing-1:4px;--ezp-spacing-2:6px;--ezp-spacing-3:10px;--ezp-spacing-4:16px;--ezp-spacing-5:26px;--ezp-spacing-6:42px;--ezp-spacing-7:68px;--ezp-spacing-8:110px;--ezp-easing-in-quart:cubic-bezier(0.11, 0, 0.5, 0);--ezp-easing-in-out-quart:cubic-bezier(0.76, 0, 0.24, 1);--ezp-easing-in-out-cubic:cubic-bezier(0.65, 0, 0.35, 1);--ezp-easing-in-expo:cubic-bezier(0.7, 0, 0.84, 0);--ezp-easing-out-quart:cubic-bezier(0.25, 1, 0.5, 1);--ezp-easing-out-expo:cubic-bezier(0.16, 1, 0.3, 1)}:host(.light){--ezp-accent-pink-solid:#f23267;--ezp-accent-pink-solid-alt:#df1559;--ezp-accent-pink-translucent:rgba(242, 50, 103, 0.16);--ezp-accent-red-solid:#f23b22;--ezp-accent-red-solid-alt:#de2313;--ezp-accent-red-translucent:rgba(242, 59, 34, 0.16);--ezp-accent-orange-solid:#fe7200;--ezp-accent-orange-solid-alt:#f56200;--ezp-accent-orange-translucent:rgba(254, 114, 0, 0.16);--ezp-accent-yellow-solid:#ffa200;--ezp-accent-yellow-solid-alt:#fe9000;--ezp-accent-yellow-translucent:rgba(255, 162, 0, 0.16);--ezp-accent-green-solid:#5d9200;--ezp-accent-green-solid-alt:#518100;--ezp-accent-green-translucent:rgba(93, 146, 0, 0.16);--ezp-accent-teal-solid:#00967c;--ezp-accent-teal-solid-alt:#00846e;--ezp-accent-teal-translucent:rgba(0, 150, 124, 0.16);--ezp-accent-cyan-solid:#0091b4;--ezp-accent-cyan-solid-alt:#0080a0;--ezp-accent-cyan-translucent:rgba(0, 145, 180, 0.16);--ezp-accent-blue-solid:#5081f1;--ezp-accent-blue-solid-alt:#3b72df;--ezp-accent-blue-translucent:rgba(80, 129, 241, 0.16);--ezp-accent-violet-solid:#ae5ef3;--ezp-accent-violet-solid-alt:#9d4ee2;--ezp-accent-violet-translucent:rgba(174, 94, 243, 0.16);--ezp-core-surface-primary:white;--ezp-core-surface-secondary:#f3f3f3;--ezp-core-surface-tertiary:white;--ezp-core-foreground-primary:rgba(0, 0, 0, 0.94);--ezp-core-foreground-secondary:rgba(62, 62, 62, 0.68);--ezp-core-foreground-tertiary:rgba(62, 62, 62, 0.42);--ezp-core-shade-primary:rgba(139, 139, 139, 0.1);--ezp-core-shade-secondary:rgba(139, 139, 139, 0.16);--ezp-core-shade-tertiary:rgba(139, 139, 139, 0.22);--ezp-core-outline:rgba(99, 99, 99, 0.16);--ezp-core-edge:rgba(0, 0, 0, 0.1);--ezp-core-backdrop:rgba(0, 0, 0, 0.26)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.light){--ezp-accent-pink-solid:color(display-p3 0.949 0.196 0.404/100%);--ezp-accent-pink-solid-alt:color(display-p3 0.875 0.082 0.349/100%);--ezp-accent-pink-translucent:color(display-p3 0.949 0.196 0.404/16%);--ezp-accent-red-solid:color(display-p3 0.949 0.231 0.133/100%);--ezp-accent-red-solid-alt:color(display-p3 0.871 0.137 0.075/100%);--ezp-accent-red-translucent:color(display-p3 0.949 0.231 0.133/16%);--ezp-accent-orange-solid:color(display-p3 0.996 0.447 0/100%);--ezp-accent-orange-solid-alt:color(display-p3 0.961 0.384 0/100%);--ezp-accent-orange-translucent:color(display-p3 0.996 0.447 0/16%);--ezp-accent-yellow-solid:color(display-p3 1 0.635 0/100%);--ezp-accent-yellow-solid-alt:color(display-p3 0.996 0.565 0/100%);--ezp-accent-yellow-translucent:color(display-p3 1 0.635 0/16%);--ezp-accent-green-solid:color(display-p3 0.365 0.573 0/100%);--ezp-accent-green-solid-alt:color(display-p3 0.318 0.506 0/100%);--ezp-accent-green-translucent:color(display-p3 0.365 0.573 0/16%);--ezp-accent-teal-solid:color(display-p3 0 0.588 0.486/100%);--ezp-accent-teal-solid-alt:color(display-p3 0 0.518 0.431/100%);--ezp-accent-teal-translucent:color(display-p3 0 0.588 0.486/16%);--ezp-accent-cyan-solid:color(display-p3 0 0.569 0.706/100%);--ezp-accent-cyan-solid-alt:color(display-p3 0 0.502 0.627/100%);--ezp-accent-cyan-translucent:color(display-p3 0 0.569 0.706/16%);--ezp-accent-blue-solid:color(display-p3 0.314 0.506 0.945/100%);--ezp-accent-blue-solid-alt:color(display-p3 0.231 0.447 0.875/100%);--ezp-accent-blue-translucent:color(display-p3 0.314 0.506 0.945/16%);--ezp-accent-violet-solid:color(display-p3 0.682 0.369 0.953/100%);--ezp-accent-violet-solid-alt:color(display-p3 0.616 0.306 0.886/100%);--ezp-accent-violet-translucent:color(display-p3 0.682 0.369 0.953/16%)}}}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.light){--ezp-core-surface-primary:color(display-p3 1 1 1/100%);--ezp-core-surface-secondary:color(display-p3 0.953 0.953 0.953/100%);--ezp-core-surface-tertiary:color(display-p3 1 1 1/100%);--ezp-core-foreground-primary:color(display-p3 0 0 0/94%);--ezp-core-foreground-secondary:color(display-p3 0.243 0.243 0.243/68%);--ezp-core-foreground-tertiary:color(display-p3 0.243 0.243 0.243/42%);--ezp-core-shade-primary:color(display-p3 0.545 0.545 0.545/10%);--ezp-core-shade-secondary:color(display-p3 0.545 0.545 0.545/16%);--ezp-core-shade-tertiary:color(display-p3 0.545 0.545 0.545/22%);--ezp-core-outline:color(display-p3 0.388 0.388 0.388/16%);--ezp-core-edge:color(display-p3 0 0 0/10%);--ezp-core-backdrop:color(display-p3 0 0 0/26%)}}}:host(.dark){--ezp-dialog-box-boxShadow:inset 0 0 0 1px var(--ezp-core-outline),\n 0 0 0 1px var(--ezp-black-60);--ezp-printerSelection-body-boxShadow:inset 1px 0 0 0 var(--ezp-core-outline),\n 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),\n 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),\n 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:#ff4171;--ezp-accent-pink-translucent:rgba(255, 65, 113, 0.26);--ezp-accent-red-solid:#ff482c;--ezp-accent-red-translucent:rgba(255, 72, 44, 0.26);--ezp-accent-orange-solid:#ff811c;--ezp-accent-orange-translucent:rgba(255, 129, 28, 0.26);--ezp-accent-yellow-solid:#ffaf3a;--ezp-accent-yellow-translucent:rgba(255, 175, 58, 0.26);--ezp-accent-green-solid:#679c15;--ezp-accent-green-translucent:rgba(103, 156, 21, 0.26);--ezp-accent-teal-solid:#1da086;--ezp-accent-teal-translucent:rgba(29, 160, 134, 0.26);--ezp-accent-cyan-solid:#209bbf;--ezp-accent-cyan-translucent:rgba(32, 155, 191, 0.26);--ezp-accent-blue-solid:#5d8bfd;--ezp-accent-blue-translucent:rgba(93, 139, 253, 0.26);--ezp-accent-violet-solid:#ba69ff;--ezp-accent-violet-translucent:rgba(186, 105, 255, 0.26);--ezp-core-surface-primary:black;--ezp-core-surface-secondary:#1b1b1b;--ezp-core-surface-tertiary:#282828;--ezp-core-foreground-primary:rgba(255, 255, 255, 0.94);--ezp-core-foreground-secondary:rgba(182, 182, 182, 0.68);--ezp-core-foreground-tertiary:rgba(182, 182, 182, 0.42);--ezp-core-shade-primary:rgba(99, 99, 99, 0.26);--ezp-core-shade-secondary:rgba(99, 99, 99, 0.32);--ezp-core-shade-tertiary:rgba(99, 99, 99, 0.38);--ezp-core-outline:rgba(139, 139, 139, 0.26);--ezp-core-edge:rgba(255, 255, 255, 0.16);--ezp-core-backdrop:rgba(0, 0, 0, 0.68)}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.dark){--ezp-accent-pink-solid:color(display-p3 1 0.255 0.443/100%);--ezp-accent-pink-translucent:color(display-p3 1 0.255 0.443/26%);--ezp-accent-red-solid:color(display-p3 1 0.282 0.173/100%);--ezp-accent-red-translucent:color(display-p3 1 0.282 0.173/26%);--ezp-accent-orange-solid:color(display-p3 1 0.506 0.11/100%);--ezp-accent-orange-translucent:color(display-p3 1 0.506 0.11/26%);--ezp-accent-yellow-solid:color(display-p3 1 0.686 0.227/100%);--ezp-accent-yellow-translucent:color(display-p3 1 0.686 0.227/26%);--ezp-accent-green-solid:color(display-p3 0.404 0.612 0.082/100%);--ezp-accent-green-translucent:color(display-p3 0.404 0.612 0.082/26%);--ezp-accent-teal-solid:color(display-p3 0.114 0.627 0.525/100%);--ezp-accent-teal-translucent:color(display-p3 0.114 0.627 0.525/26%);--ezp-accent-cyan-solid:color(display-p3 0.125 0.608 0.749/100%);--ezp-accent-cyan-translucent:color(display-p3 0.125 0.608 0.749/26%);--ezp-accent-blue-solid:color(display-p3 0.365 0.545 0.992/100%);--ezp-accent-blue-translucent:color(display-p3 0.365 0.545 0.992/26%);--ezp-accent-violet-solid:color(display-p3 0.729 0.412 1/100%);--ezp-accent-violet-translucent:color(display-p3 0.729 0.412 1/26%)}}}@media (color-gamut: p3){@supports (color: color(display-p3 1 1 1)){:host(.dark){--ezp-core-surface-primary:color(display-p3 0 0 0/100%);--ezp-core-surface-secondary:color(display-p3 0.106 0.106 0.106/100%);--ezp-core-surface-tertiary:color(display-p3 0.157 0.157 0.157/100%);--ezp-core-foreground-primary:color(display-p3 1 1 1/94%);--ezp-core-foreground-secondary:color(display-p3 0.714 0.714 0.714/68%);--ezp-core-foreground-tertiary:color(display-p3 0.714 0.714 0.714/42%);--ezp-core-shade-primary:color(display-p3 0.388 0.388 0.388/26%);--ezp-core-shade-secondary:color(display-p3 0.388 0.388 0.388/32%);--ezp-core-shade-tertiary:color(display-p3 0.388 0.388 0.388/38%);--ezp-core-outline:color(display-p3 0.545 0.545 0.545/26%);--ezp-core-edge:color(display-p3 1 1 1/16%);--ezp-core-backdrop:color(display-p3 0 0 0/68%)}}}:host(.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)}";
|
|
33120
33208
|
|
|
33121
33209
|
let EzpPrinting = class {
|
|
33122
33210
|
constructor(hostRef) {
|
|
@@ -33822,6 +33910,7 @@ exports.ezp_backdrop = EzpBackdrop;
|
|
|
33822
33910
|
exports.ezp_dialog = EzpDialog;
|
|
33823
33911
|
exports.ezp_icon = EzpIcon;
|
|
33824
33912
|
exports.ezp_icon_button = EzpIconButton;
|
|
33913
|
+
exports.ezp_input = EzpInput;
|
|
33825
33914
|
exports.ezp_label = EzpLabel;
|
|
33826
33915
|
exports.ezp_printer_selection = EzpPrinterSelection;
|
|
33827
33916
|
exports.ezp_printing = EzpPrinting;
|
|
@@ -711,9 +711,14 @@ const callNodeRefs = (vNode) => {
|
|
|
711
711
|
};
|
|
712
712
|
const renderVdom = (hostRef, renderFnResults) => {
|
|
713
713
|
const hostElm = hostRef.$hostElement$;
|
|
714
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
714
715
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
715
716
|
const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
|
|
716
717
|
hostTagName = hostElm.tagName;
|
|
718
|
+
if (cmpMeta.$attrsToReflect$) {
|
|
719
|
+
rootVnode.$attrs$ = rootVnode.$attrs$ || {};
|
|
720
|
+
cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
|
|
721
|
+
}
|
|
717
722
|
rootVnode.$tag$ = null;
|
|
718
723
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
719
724
|
hostRef.$vnode$ = rootVnode;
|
|
@@ -1121,6 +1126,9 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1121
1126
|
.map(([propName, m]) => {
|
|
1122
1127
|
const attrName = m[1] || propName;
|
|
1123
1128
|
attrNameToPropName.set(attrName, propName);
|
|
1129
|
+
if (m[0] & 512 /* ReflectAttr */) {
|
|
1130
|
+
cmpMeta.$attrsToReflect$.push([propName, attrName]);
|
|
1131
|
+
}
|
|
1124
1132
|
return attrName;
|
|
1125
1133
|
});
|
|
1126
1134
|
}
|
|
@@ -1298,6 +1306,9 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1298
1306
|
{
|
|
1299
1307
|
cmpMeta.$listeners$ = compactMeta[3];
|
|
1300
1308
|
}
|
|
1309
|
+
{
|
|
1310
|
+
cmpMeta.$attrsToReflect$ = [];
|
|
1311
|
+
}
|
|
1301
1312
|
{
|
|
1302
1313
|
cmpMeta.$watchers$ = {};
|
|
1303
1314
|
}
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1f953145.js');
|
|
6
6
|
const appGlobals = require('./app-globals-53afb196.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
@@ -16,7 +16,7 @@ const defineCustomElements = (win, options) => {
|
|
|
16
16
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
17
17
|
return patchEsm().then(() => {
|
|
18
18
|
appGlobals.globalScripts();
|
|
19
|
-
return index.bootstrapLazy([["ezp-
|
|
19
|
+
return index.bootstrapLazy([["ezp-auth_15.cjs",[[1,"ezp-printing",{"clientid":[1],"redirecturi":[1],"filename":[1025],"fileurl":[1],"filetype":[1],"custom":[4],"hidelogin":[4],"hidemenu":[4],"hideheader":[4],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"fileid":[1],"appearance":[1],"trigger":[1],"language":[1],"code":[1],"filedata":[1],"seamless":[4],"printOpen":[32],"authOpen":[32],"onlyGetSasUri":[32],"noDocumentOpen":[32],"systemAppearance":[32],"file":[32],"open":[64],"logOut":[64],"getSasUri":[64],"getAuthUri":[64],"checkAuth":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]]],[1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1025],"fileurl":[1],"filetype":[1025],"fileid":[1025],"file":[16],"hidemenu":[4],"hideheader":[4],"seamless":[4],"loading":[32],"printProcessing":[32],"uploading":[32],"preparingUpload":[32],"printSuccess":[32],"printFailed":[32],"notSupported":[32],"noPrinters":[32],"userMenuOpen":[32],"printStopped":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedPrinterConfig":[32],"selectedProperties":[32],"paperid":[32]},[[0,"inputValueChanged","listenInputValueChanged"],[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"],[0,"statusCancel","listenStatusCancel"],[0,"statusClose","listenStatusClose"],[0,"statusRetry","listenStatusRetry"]]],[1,"ezp-auth",{"clientID":[1025,"client-i-d"],"redirectURI":[1025,"redirect-u-r-i"],"hidelogin":[4],"trigger":[1],"code":[1],"auth":[32],"authURI":[32],"accessToken":[32]},[[0,"dialogAction","listenDialogAction"],[0,"dialogClose","listenDialogClose"],[0,"statusCancel","listenStatusCancel"]]],[1,"ezp-upload",{"filename":[32],"dragging":[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"],[4,"printCancel","listenPrintCancel"]]],[1,"ezp-dialog",{"heading":[1],"description":[1],"action":[1],"iconName":[1,"icon-name"],"iconSize":[1,"icon-size"],"iconFramed":[4,"icon-framed"],"instance":[1]}],[1,"ezp-user-menu",{"name":[1],"open":[1028]}],[1,"ezp-select",{"icon":[1],"label":[1],"optionFlow":[1,"option-flow"],"options":[16],"placeholder":[1],"preSelected":[8,"pre-selected"],"toggleFlow":[1,"toggle-flow"],"disabled":[4],"expanded":[32],"selected":[32]}],[1,"ezp-input",{"label":[1],"value":[1032],"type":[1],"icon":[1],"suffix":[513],"eventType":[1,"event-type"],"focused":[32]}],[1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]}],[1,"ezp-status",{"description":[1],"processing":[4],"instance":[1],"icon":[1],"cancel":[8],"close":[8],"retry":[8]}],[1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1],"small":[4]}],[1,"ezp-icon",{"name":[1],"size":[1],"framed":[4]}],[1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]]]], options);
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"./components/ezp-dialog/ezp-dialog.js",
|
|
6
6
|
"./components/ezp-icon/ezp-icon.js",
|
|
7
7
|
"./components/ezp-icon-button/ezp-icon-button.js",
|
|
8
|
+
"./components/ezp-input/ezp-input.js",
|
|
8
9
|
"./components/ezp-label/ezp-label.js",
|
|
9
10
|
"./components/ezp-printer-selection/ezp-printer-selection.js",
|
|
10
11
|
"./components/ezp-printing/ezp-printing.js",
|
|
@@ -107,7 +107,7 @@ export class EzpDialog {
|
|
|
107
107
|
"mutable": false,
|
|
108
108
|
"complexType": {
|
|
109
109
|
"original": "IconNameTypes",
|
|
110
|
-
"resolved": "\"account\" | \"checkmark\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"
|
|
110
|
+
"resolved": "\"account\" | \"checkmark-alt\" | \"checkmark\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"drag-drop\" | \"duplex\" | \"exclamation-mark\" | \"expand\" | \"height\" | \"help\" | \"light\" | \"logo\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"plus\" | \"printer\" | \"quality\" | \"question-mark\" | \"size\" | \"system\" | \"width\"",
|
|
111
111
|
"references": {
|
|
112
112
|
"IconNameTypes": {
|
|
113
113
|
"location": "import",
|
|
@@ -43,7 +43,7 @@ export class EzpIcon {
|
|
|
43
43
|
"mutable": false,
|
|
44
44
|
"complexType": {
|
|
45
45
|
"original": "IconNameTypes",
|
|
46
|
-
"resolved": "\"account\" | \"checkmark\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"
|
|
46
|
+
"resolved": "\"account\" | \"checkmark-alt\" | \"checkmark\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"drag-drop\" | \"duplex\" | \"exclamation-mark\" | \"expand\" | \"height\" | \"help\" | \"light\" | \"logo\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"plus\" | \"printer\" | \"quality\" | \"question-mark\" | \"size\" | \"system\" | \"width\"",
|
|
47
47
|
"references": {
|
|
48
48
|
"IconNameTypes": {
|
|
49
49
|
"location": "import",
|
|
@@ -100,7 +100,7 @@ export class EzpIconButton {
|
|
|
100
100
|
"mutable": false,
|
|
101
101
|
"complexType": {
|
|
102
102
|
"original": "IconNameTypes",
|
|
103
|
-
"resolved": "\"account\" | \"checkmark\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"
|
|
103
|
+
"resolved": "\"account\" | \"checkmark-alt\" | \"checkmark\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"drag-drop\" | \"duplex\" | \"exclamation-mark\" | \"expand\" | \"height\" | \"help\" | \"light\" | \"logo\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"plus\" | \"printer\" | \"quality\" | \"question-mark\" | \"size\" | \"system\" | \"width\"",
|
|
104
104
|
"references": {
|
|
105
105
|
"IconNameTypes": {
|
|
106
106
|
"location": "import",
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Modules
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
8
|
+
* Variables
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* Functions
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* Mixins
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* Modules
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* Rules
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
:host {
|
|
32
|
+
display: grid;
|
|
33
|
+
grid-template: var(--ezp-input-grid-template, auto/auto auto 1fr);
|
|
34
|
+
height: 30px;
|
|
35
|
+
position: relative;
|
|
36
|
+
gap: var(--ezp-spacing-3);
|
|
37
|
+
background: var(--ezp-input-background, var(--ezp-core-surface-tertiary));
|
|
38
|
+
padding: 0 var(--ezp-spacing-3);
|
|
39
|
+
z-index: var(--ezp-input-z-index, 3);
|
|
40
|
+
border-radius: var(--ezp-input-border-radius, 0);
|
|
41
|
+
box-shadow: var(--ezp-input-box-shadow-position-top, 0 -1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-right, 1px 0 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-bottom, 0 1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-left, -1px 0 0 0) var(--ezp-core-outline);
|
|
42
|
+
align-items: center;
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
}
|
|
45
|
+
:host([suffix]) {
|
|
46
|
+
--ezp-input-grid-template: auto / auto auto 1fr auto;
|
|
47
|
+
--ezp-input-input-padding-right: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
:host(.focused) {
|
|
51
|
+
--ezp-input-icon-color: var(--ezp-theme-solid);
|
|
52
|
+
--ezp-input-label-color: var(--ezp-theme-solid);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
:host(:first-child) {
|
|
56
|
+
--ezp-input-border-radius: 3px 3px 0 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:host(:last-child) {
|
|
60
|
+
--ezp-input-border-radius: 0 0 3px 3px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
:host(:first-child:last-child) {
|
|
64
|
+
--ezp-input-border-radius: 3px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
:host(:not(:last-child)) {
|
|
68
|
+
--ezp-input-box-shadow-position-bottom: 0 0 0 0;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
:host(:hover) {
|
|
72
|
+
--ezp-input-background: linear-gradient(
|
|
73
|
+
0deg,
|
|
74
|
+
var(--ezp-core-shade-primary) 0%,
|
|
75
|
+
var(--ezp-core-shade-primary) 100%
|
|
76
|
+
),
|
|
77
|
+
var(--ezp-core-surface-tertiary);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
#label {
|
|
81
|
+
color: var(--ezp-input-label-color, var(--ezp-core-foreground-secondary));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
#icon {
|
|
85
|
+
color: var(--ezp-input-icon-color, var(--ezp-core-foreground-secondary));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
#input {
|
|
89
|
+
appearance: textfield;
|
|
90
|
+
background: transparent;
|
|
91
|
+
border: 0;
|
|
92
|
+
border-radius: 3px;
|
|
93
|
+
box-shadow: none;
|
|
94
|
+
box-sizing: border-box;
|
|
95
|
+
color: var(--ezp-core-foreground-primary);
|
|
96
|
+
cursor: inherit;
|
|
97
|
+
font-family: inherit;
|
|
98
|
+
font-feature-settings: "tnum";
|
|
99
|
+
font-size: 14px;
|
|
100
|
+
-webkit-font-smoothing: antialiased;
|
|
101
|
+
height: 30px;
|
|
102
|
+
letter-spacing: -0.0062235443em;
|
|
103
|
+
margin: 0;
|
|
104
|
+
outline: none;
|
|
105
|
+
padding: 0 var(--ezp-input-input-padding-right, var(--ezp-spacing-1)) 0 0;
|
|
106
|
+
text-align: right;
|
|
107
|
+
width: 100%;
|
|
108
|
+
}
|
|
109
|
+
#input[type=number]::-webkit-inner-spin-button, #input[type=number]::-webkit-outer-spin-button {
|
|
110
|
+
-webkit-appearance: none;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
#suffix {
|
|
114
|
+
color: var(--ezp-core-foreground-tertiary);
|
|
115
|
+
}
|