@ezeep/ezeep-js 1.0.221 → 1.0.224
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 +173 -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-84bd195a.system.js +1 -0
- package/dist/ezeep/p-ae73a226.entry.js +15 -0
- package/{www/build/p-b5d5f7b5.system.entry.js → dist/ezeep/p-f344770c.system.entry.js} +3 -3
- package/dist/types/components/ezp-input/ezp-input.d.ts +38 -0
- package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +3 -0
- package/dist/types/components.d.ts +57 -0
- 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-84bd195a.system.js +1 -0
- package/www/build/p-ae73a226.entry.js +15 -0
- package/{dist/ezeep/p-b5d5f7b5.system.entry.js → www/build/p-f344770c.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/dist/types/shared/types.d.ts +0 -112
- 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
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { Component, Host, Prop, h, State, Event } from '@stencil/core';
|
|
2
|
+
export class EzpInput {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.timeout = null;
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* Properties
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
/** Description... */
|
|
11
|
+
this.label = 'Label';
|
|
12
|
+
/** Description... */
|
|
13
|
+
this.type = 'text';
|
|
14
|
+
/** Description... */
|
|
15
|
+
this.icon = 'color';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* States
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
this.focused = false;
|
|
22
|
+
this.setFocus = () => {
|
|
23
|
+
this.input.focus();
|
|
24
|
+
};
|
|
25
|
+
this.handleBlur = () => {
|
|
26
|
+
this.focused = false;
|
|
27
|
+
};
|
|
28
|
+
this.handleFocus = () => {
|
|
29
|
+
this.focused = true;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
handleChange(event) {
|
|
33
|
+
if (this.timeout) {
|
|
34
|
+
clearTimeout(this.timeout);
|
|
35
|
+
}
|
|
36
|
+
this.value = event.target.value ? event.target.value : 0;
|
|
37
|
+
this.timeout = setTimeout(() => {
|
|
38
|
+
this.inputValueChanged.emit({
|
|
39
|
+
type: this.label.toLowerCase(),
|
|
40
|
+
value: this.value,
|
|
41
|
+
});
|
|
42
|
+
}, 500);
|
|
43
|
+
}
|
|
44
|
+
render() {
|
|
45
|
+
return (h(Host, { class: { focused: this.focused }, onClick: this.setFocus },
|
|
46
|
+
h("ezp-icon", { id: "icon", name: this.icon }),
|
|
47
|
+
h("ezp-label", { id: "label", noWrap: true, level: "secondary", text: this.label }),
|
|
48
|
+
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 }),
|
|
49
|
+
this.suffix ? h("ezp-label", { id: "suffix", level: "secondary", text: this.suffix }) : null));
|
|
50
|
+
}
|
|
51
|
+
static get is() { return "ezp-input"; }
|
|
52
|
+
static get encapsulation() { return "shadow"; }
|
|
53
|
+
static get originalStyleUrls() { return {
|
|
54
|
+
"$": ["ezp-input.scss"]
|
|
55
|
+
}; }
|
|
56
|
+
static get styleUrls() { return {
|
|
57
|
+
"$": ["ezp-input.css"]
|
|
58
|
+
}; }
|
|
59
|
+
static get properties() { return {
|
|
60
|
+
"label": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"mutable": false,
|
|
63
|
+
"complexType": {
|
|
64
|
+
"original": "string",
|
|
65
|
+
"resolved": "string",
|
|
66
|
+
"references": {}
|
|
67
|
+
},
|
|
68
|
+
"required": false,
|
|
69
|
+
"optional": false,
|
|
70
|
+
"docs": {
|
|
71
|
+
"tags": [],
|
|
72
|
+
"text": "Description..."
|
|
73
|
+
},
|
|
74
|
+
"attribute": "label",
|
|
75
|
+
"reflect": false,
|
|
76
|
+
"defaultValue": "'Label'"
|
|
77
|
+
},
|
|
78
|
+
"value": {
|
|
79
|
+
"type": "any",
|
|
80
|
+
"mutable": true,
|
|
81
|
+
"complexType": {
|
|
82
|
+
"original": "number | string",
|
|
83
|
+
"resolved": "number | string",
|
|
84
|
+
"references": {}
|
|
85
|
+
},
|
|
86
|
+
"required": false,
|
|
87
|
+
"optional": false,
|
|
88
|
+
"docs": {
|
|
89
|
+
"tags": [],
|
|
90
|
+
"text": "Description..."
|
|
91
|
+
},
|
|
92
|
+
"attribute": "value",
|
|
93
|
+
"reflect": false
|
|
94
|
+
},
|
|
95
|
+
"type": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"mutable": false,
|
|
98
|
+
"complexType": {
|
|
99
|
+
"original": "string",
|
|
100
|
+
"resolved": "string",
|
|
101
|
+
"references": {}
|
|
102
|
+
},
|
|
103
|
+
"required": false,
|
|
104
|
+
"optional": false,
|
|
105
|
+
"docs": {
|
|
106
|
+
"tags": [],
|
|
107
|
+
"text": "Description..."
|
|
108
|
+
},
|
|
109
|
+
"attribute": "type",
|
|
110
|
+
"reflect": false,
|
|
111
|
+
"defaultValue": "'text'"
|
|
112
|
+
},
|
|
113
|
+
"icon": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"mutable": false,
|
|
116
|
+
"complexType": {
|
|
117
|
+
"original": "IconNameTypes",
|
|
118
|
+
"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\"",
|
|
119
|
+
"references": {
|
|
120
|
+
"IconNameTypes": {
|
|
121
|
+
"location": "import",
|
|
122
|
+
"path": "./../../shared/types"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"required": false,
|
|
127
|
+
"optional": false,
|
|
128
|
+
"docs": {
|
|
129
|
+
"tags": [],
|
|
130
|
+
"text": "Description..."
|
|
131
|
+
},
|
|
132
|
+
"attribute": "icon",
|
|
133
|
+
"reflect": false,
|
|
134
|
+
"defaultValue": "'color'"
|
|
135
|
+
},
|
|
136
|
+
"suffix": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"mutable": false,
|
|
139
|
+
"complexType": {
|
|
140
|
+
"original": "string",
|
|
141
|
+
"resolved": "string",
|
|
142
|
+
"references": {}
|
|
143
|
+
},
|
|
144
|
+
"required": false,
|
|
145
|
+
"optional": false,
|
|
146
|
+
"docs": {
|
|
147
|
+
"tags": [],
|
|
148
|
+
"text": "Description..."
|
|
149
|
+
},
|
|
150
|
+
"attribute": "suffix",
|
|
151
|
+
"reflect": true
|
|
152
|
+
}
|
|
153
|
+
}; }
|
|
154
|
+
static get states() { return {
|
|
155
|
+
"focused": {}
|
|
156
|
+
}; }
|
|
157
|
+
static get events() { return [{
|
|
158
|
+
"method": "inputValueChanged",
|
|
159
|
+
"name": "inputValueChanged",
|
|
160
|
+
"bubbles": true,
|
|
161
|
+
"cancelable": true,
|
|
162
|
+
"composed": true,
|
|
163
|
+
"docs": {
|
|
164
|
+
"tags": [],
|
|
165
|
+
"text": "\nEvents"
|
|
166
|
+
},
|
|
167
|
+
"complexType": {
|
|
168
|
+
"original": "any",
|
|
169
|
+
"resolved": "any",
|
|
170
|
+
"references": {}
|
|
171
|
+
}
|
|
172
|
+
}]; }
|
|
173
|
+
}
|
|
@@ -3,7 +3,8 @@ import i18next from 'i18next';
|
|
|
3
3
|
import authStore from '../../services/auth';
|
|
4
4
|
import printStore, { EzpPrintService } from '../../services/print';
|
|
5
5
|
import userStore, { EzpUserService } from '../../services/user';
|
|
6
|
-
import { poll, removeEmptyStrings } from '../../utils/utils';
|
|
6
|
+
import { managePaperDimensions, poll, removeEmptyStrings } from '../../utils/utils';
|
|
7
|
+
import { PAPER_ID } from '../../utils/utils';
|
|
7
8
|
export class EzpPrinterSelection {
|
|
8
9
|
constructor() {
|
|
9
10
|
this.sasUri = '';
|
|
@@ -56,6 +57,8 @@ export class EzpPrinterSelection {
|
|
|
56
57
|
orientation: 1,
|
|
57
58
|
copies: '',
|
|
58
59
|
resolution: 0,
|
|
60
|
+
paperlength: 0,
|
|
61
|
+
paperwidth: 0
|
|
59
62
|
};
|
|
60
63
|
/**
|
|
61
64
|
*
|
|
@@ -82,7 +85,8 @@ export class EzpPrinterSelection {
|
|
|
82
85
|
this.printProcessing = true;
|
|
83
86
|
// we have to initialse this obj with empty strings to display the select component
|
|
84
87
|
// but don't want to send any attributes with empty strings to the API
|
|
85
|
-
|
|
88
|
+
let cleanPrintProperties = removeEmptyStrings(this.selectedProperties);
|
|
89
|
+
cleanPrintProperties = managePaperDimensions(cleanPrintProperties);
|
|
86
90
|
// put it in store for further use
|
|
87
91
|
printStore.state.fileUrl = this.fileurl;
|
|
88
92
|
printStore.state.fileID = this.fileid;
|
|
@@ -156,6 +160,9 @@ export class EzpPrinterSelection {
|
|
|
156
160
|
* Listeners
|
|
157
161
|
*
|
|
158
162
|
*/
|
|
163
|
+
listenInputValueChanged(event) {
|
|
164
|
+
this.setSelectedProperties(event.detail);
|
|
165
|
+
}
|
|
159
166
|
listenSelectSelection(event) {
|
|
160
167
|
this.setSelectedProperties(event.detail);
|
|
161
168
|
}
|
|
@@ -220,6 +227,10 @@ export class EzpPrinterSelection {
|
|
|
220
227
|
else {
|
|
221
228
|
this.selectedPrinter = { id: '', location: '', name: '', is_queue: false };
|
|
222
229
|
}
|
|
230
|
+
this.setPaperid();
|
|
231
|
+
}
|
|
232
|
+
setPaperid() {
|
|
233
|
+
this.paperid = this.selectedProperties.paperid;
|
|
223
234
|
}
|
|
224
235
|
getUserInfo() {
|
|
225
236
|
const userService = new EzpUserService();
|
|
@@ -253,13 +264,20 @@ export class EzpPrinterSelection {
|
|
|
253
264
|
this.selectedProperties.paper = eventDetails.title;
|
|
254
265
|
this.selectedProperties.paperid = eventDetails.id;
|
|
255
266
|
// console.log('paper selected:')
|
|
256
|
-
// console.log(this.selectedProperties.paper)
|
|
257
267
|
break;
|
|
258
268
|
case 'quality':
|
|
259
269
|
this.selectedProperties.resolution = eventDetails.title;
|
|
260
270
|
// console.log('quality selected:')
|
|
261
271
|
// console.log(this.selectedProperties.resolution)
|
|
262
272
|
break;
|
|
273
|
+
case 'length':
|
|
274
|
+
this.selectedProperties.paperlength = eventDetails.value;
|
|
275
|
+
// console.log(this.selectedProperties)
|
|
276
|
+
break;
|
|
277
|
+
case 'width':
|
|
278
|
+
this.selectedProperties.paperwidth = eventDetails.value;
|
|
279
|
+
// console.log(this.selectedProperties)
|
|
280
|
+
break;
|
|
263
281
|
case 'duplex':
|
|
264
282
|
if (eventDetails.title === 'None') {
|
|
265
283
|
this.selectedProperties.duplex = false;
|
|
@@ -274,6 +292,8 @@ export class EzpPrinterSelection {
|
|
|
274
292
|
default:
|
|
275
293
|
break;
|
|
276
294
|
}
|
|
295
|
+
// setting paper id here to updated the prop for input.
|
|
296
|
+
this.setPaperid();
|
|
277
297
|
}
|
|
278
298
|
async handleFiles(file, printPorperties) {
|
|
279
299
|
this.preparingUpload = true;
|
|
@@ -349,6 +369,7 @@ export class EzpPrinterSelection {
|
|
|
349
369
|
this.selectedProperties.paper = this.selectedPrinterConfig.PaperFormats[0].Name;
|
|
350
370
|
this.selectedProperties.paperid = this.selectedPrinterConfig.PaperFormats[0].Id;
|
|
351
371
|
}
|
|
372
|
+
this.setPaperid();
|
|
352
373
|
}
|
|
353
374
|
/**
|
|
354
375
|
*
|
|
@@ -465,6 +486,9 @@ export class EzpPrinterSelection {
|
|
|
465
486
|
meta: `${format.XRes} x ${format.YRes}`,
|
|
466
487
|
type: 'format',
|
|
467
488
|
})), preSelected: this.selectedPrinter.id ? this.selectedProperties.paper : null, disabled: !(this.selectedPrinterConfig.PaperFormats.length > 0) }),
|
|
489
|
+
this.paperid == PAPER_ID ? (h(Fragment, null,
|
|
490
|
+
h("ezp-input", { icon: "width", suffix: "mm", value: this.selectedProperties.paperwidth, type: "number", label: i18next.t('printer_selection.width') }),
|
|
491
|
+
h("ezp-input", { icon: "height", suffix: "mm", value: this.selectedProperties.paperwidth, type: "number", label: i18next.t('printer_selection.length') }))) : null,
|
|
468
492
|
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) => ({
|
|
469
493
|
id: index + 1,
|
|
470
494
|
title: i18next.t(`printer_selection.orientation_${orientation}`),
|
|
@@ -683,7 +707,8 @@ export class EzpPrinterSelection {
|
|
|
683
707
|
"selectedPrinter": {},
|
|
684
708
|
"printerConfig": {},
|
|
685
709
|
"selectedPrinterConfig": {},
|
|
686
|
-
"selectedProperties": {}
|
|
710
|
+
"selectedProperties": {},
|
|
711
|
+
"paperid": {}
|
|
687
712
|
}; }
|
|
688
713
|
static get events() { return [{
|
|
689
714
|
"method": "printCancel",
|
|
@@ -744,6 +769,12 @@ export class EzpPrinterSelection {
|
|
|
744
769
|
}
|
|
745
770
|
}]; }
|
|
746
771
|
static get listeners() { return [{
|
|
772
|
+
"name": "inputValueChanged",
|
|
773
|
+
"method": "listenInputValueChanged",
|
|
774
|
+
"target": undefined,
|
|
775
|
+
"capture": false,
|
|
776
|
+
"passive": false
|
|
777
|
+
}, {
|
|
747
778
|
"name": "selectSelection",
|
|
748
779
|
"method": "listenSelectSelection",
|
|
749
780
|
"target": undefined,
|
|
@@ -202,6 +202,10 @@
|
|
|
202
202
|
--ezp-userMenu-header-boxShadowPosition: inset 0 -1px 0 0;
|
|
203
203
|
--ezp-userMenu-links-boxShadowPosition: inset 0 -1px 0 0;
|
|
204
204
|
--ezp-userMenu-theme-boxShadowPosition: inset 0 -1px 0 0;
|
|
205
|
+
--ezp-input-box-shadow-position-top: inset 0 1px 0 0;
|
|
206
|
+
--ezp-input-box-shadow-position-right: inset -1px 0 0 0;
|
|
207
|
+
--ezp-input-box-shadow-position-bottom: inset 0 -1px 0 0;
|
|
208
|
+
--ezp-input-box-shadow-position-left: inset 1px 0 0 0;
|
|
205
209
|
--ezp-accent-pink-solid: #ff4171;
|
|
206
210
|
--ezp-accent-pink-translucent: rgba(255, 65, 113, 0.26);
|
|
207
211
|
--ezp-accent-red-solid: #ff482c;
|
|
@@ -161,7 +161,7 @@ export class EzpSelect {
|
|
|
161
161
|
"mutable": false,
|
|
162
162
|
"complexType": {
|
|
163
163
|
"original": "IconNameTypes",
|
|
164
|
-
"resolved": "\"account\" | \"checkmark\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"
|
|
164
|
+
"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\"",
|
|
165
165
|
"references": {
|
|
166
166
|
"IconNameTypes": {
|
|
167
167
|
"location": "import",
|
|
@@ -116,7 +116,7 @@ export class EzpStatus {
|
|
|
116
116
|
"mutable": false,
|
|
117
117
|
"complexType": {
|
|
118
118
|
"original": "IconNameTypes",
|
|
119
|
-
"resolved": "\"account\" | \"checkmark\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"
|
|
119
|
+
"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\"",
|
|
120
120
|
"references": {
|
|
121
121
|
"IconNameTypes": {
|
|
122
122
|
"location": "import",
|
|
@@ -91,7 +91,7 @@ export class EzpStepper {
|
|
|
91
91
|
"mutable": false,
|
|
92
92
|
"complexType": {
|
|
93
93
|
"original": "IconNameTypes",
|
|
94
|
-
"resolved": "\"account\" | \"checkmark\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"
|
|
94
|
+
"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\"",
|
|
95
95
|
"references": {
|
|
96
96
|
"IconNameTypes": {
|
|
97
97
|
"location": "import",
|
|
@@ -64,3 +64,15 @@ export const removeEmptyStrings = (obj) => {
|
|
|
64
64
|
});
|
|
65
65
|
return newObj;
|
|
66
66
|
};
|
|
67
|
+
export const managePaperDimensions = (properties) => {
|
|
68
|
+
if (properties.paperid != PAPER_ID) {
|
|
69
|
+
delete properties.paperlength;
|
|
70
|
+
delete properties.paperwidth;
|
|
71
|
+
}
|
|
72
|
+
if (properties.paperlength && properties.paperwidth) {
|
|
73
|
+
properties.paperlength = +properties.paperlength * 10;
|
|
74
|
+
properties.paperwidth = +properties.paperwidth * 10;
|
|
75
|
+
}
|
|
76
|
+
return properties;
|
|
77
|
+
};
|
|
78
|
+
export const PAPER_ID = 256;
|
|
@@ -32,6 +32,12 @@ export const EzpIconButton: {
|
|
|
32
32
|
new (): EzpIconButton;
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
+
interface EzpInput extends Components.EzpInput, HTMLElement {}
|
|
36
|
+
export const EzpInput: {
|
|
37
|
+
prototype: EzpInput;
|
|
38
|
+
new (): EzpInput;
|
|
39
|
+
};
|
|
40
|
+
|
|
35
41
|
interface EzpLabel extends Components.EzpLabel, HTMLElement {}
|
|
36
42
|
export const EzpLabel: {
|
|
37
43
|
prototype: EzpLabel;
|
|
@@ -2882,7 +2882,9 @@ const printer_selection$1 = {
|
|
|
2882
2882
|
copies: "Kopien",
|
|
2883
2883
|
duplex_long: "auf der langen Seite umdrehen",
|
|
2884
2884
|
duplex_short: "auf der kurzen Seite umdrehen",
|
|
2885
|
-
pull_print_success: "Bereit zum Auslösen."
|
|
2885
|
+
pull_print_success: "Bereit zum Auslösen.",
|
|
2886
|
+
width: "Breite",
|
|
2887
|
+
length: "Länge"
|
|
2886
2888
|
};
|
|
2887
2889
|
const button_actions$1 = {
|
|
2888
2890
|
login: "Anmelden",
|
|
@@ -2959,7 +2961,9 @@ const printer_selection = {
|
|
|
2959
2961
|
orientation_landscape: "Landscape",
|
|
2960
2962
|
unknown_location: "Unknown location",
|
|
2961
2963
|
no_printers: "No printers found.",
|
|
2962
|
-
copies: "Copies"
|
|
2964
|
+
copies: "Copies",
|
|
2965
|
+
width: "Width",
|
|
2966
|
+
length: "Length"
|
|
2963
2967
|
};
|
|
2964
2968
|
const button_actions = {
|
|
2965
2969
|
login: "Sign In",
|
|
@@ -3055,6 +3059,18 @@ const removeEmptyStrings = (obj) => {
|
|
|
3055
3059
|
});
|
|
3056
3060
|
return newObj;
|
|
3057
3061
|
};
|
|
3062
|
+
const managePaperDimensions = (properties) => {
|
|
3063
|
+
if (properties.paperid != PAPER_ID) {
|
|
3064
|
+
delete properties.paperlength;
|
|
3065
|
+
delete properties.paperwidth;
|
|
3066
|
+
}
|
|
3067
|
+
if (properties.paperlength && properties.paperwidth) {
|
|
3068
|
+
properties.paperlength = +properties.paperlength * 10;
|
|
3069
|
+
properties.paperwidth = +properties.paperwidth * 10;
|
|
3070
|
+
}
|
|
3071
|
+
return properties;
|
|
3072
|
+
};
|
|
3073
|
+
const PAPER_ID = 256;
|
|
3058
3074
|
|
|
3059
3075
|
class EzpAuthorizationService {
|
|
3060
3076
|
constructor(redirectURI, clientID) {
|
|
@@ -3430,6 +3446,60 @@ let EzpIconButton$1 = class extends HTMLElement {
|
|
|
3430
3446
|
static get style() { return ezpIconButtonCss; }
|
|
3431
3447
|
};
|
|
3432
3448
|
|
|
3449
|
+
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)}";
|
|
3450
|
+
|
|
3451
|
+
let EzpInput$1 = class extends HTMLElement {
|
|
3452
|
+
constructor() {
|
|
3453
|
+
super();
|
|
3454
|
+
this.__registerHost();
|
|
3455
|
+
this.__attachShadow();
|
|
3456
|
+
this.inputValueChanged = createEvent(this, "inputValueChanged", 7);
|
|
3457
|
+
this.timeout = null;
|
|
3458
|
+
/**
|
|
3459
|
+
*
|
|
3460
|
+
* Properties
|
|
3461
|
+
*
|
|
3462
|
+
*/
|
|
3463
|
+
/** Description... */
|
|
3464
|
+
this.label = 'Label';
|
|
3465
|
+
/** Description... */
|
|
3466
|
+
this.type = 'text';
|
|
3467
|
+
/** Description... */
|
|
3468
|
+
this.icon = 'color';
|
|
3469
|
+
/**
|
|
3470
|
+
*
|
|
3471
|
+
* States
|
|
3472
|
+
*
|
|
3473
|
+
*/
|
|
3474
|
+
this.focused = false;
|
|
3475
|
+
this.setFocus = () => {
|
|
3476
|
+
this.input.focus();
|
|
3477
|
+
};
|
|
3478
|
+
this.handleBlur = () => {
|
|
3479
|
+
this.focused = false;
|
|
3480
|
+
};
|
|
3481
|
+
this.handleFocus = () => {
|
|
3482
|
+
this.focused = true;
|
|
3483
|
+
};
|
|
3484
|
+
}
|
|
3485
|
+
handleChange(event) {
|
|
3486
|
+
if (this.timeout) {
|
|
3487
|
+
clearTimeout(this.timeout);
|
|
3488
|
+
}
|
|
3489
|
+
this.value = event.target.value ? event.target.value : 0;
|
|
3490
|
+
this.timeout = setTimeout(() => {
|
|
3491
|
+
this.inputValueChanged.emit({
|
|
3492
|
+
type: this.label.toLowerCase(),
|
|
3493
|
+
value: this.value,
|
|
3494
|
+
});
|
|
3495
|
+
}, 500);
|
|
3496
|
+
}
|
|
3497
|
+
render() {
|
|
3498
|
+
return (h(Host, { class: { focused: this.focused }, onClick: this.setFocus }, h("ezp-icon", { id: "icon", name: this.icon }), h("ezp-label", { id: "label", noWrap: true, level: "secondary", text: this.label }), 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 ? h("ezp-label", { id: "suffix", level: "secondary", text: this.suffix }) : null));
|
|
3499
|
+
}
|
|
3500
|
+
static get style() { return ezpInputCss; }
|
|
3501
|
+
};
|
|
3502
|
+
|
|
3433
3503
|
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)}";
|
|
3434
3504
|
|
|
3435
3505
|
let EzpLabel$1 = class extends HTMLElement {
|
|
@@ -32724,6 +32794,8 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
32724
32794
|
orientation: 1,
|
|
32725
32795
|
copies: '',
|
|
32726
32796
|
resolution: 0,
|
|
32797
|
+
paperlength: 0,
|
|
32798
|
+
paperwidth: 0
|
|
32727
32799
|
};
|
|
32728
32800
|
/**
|
|
32729
32801
|
*
|
|
@@ -32750,7 +32822,8 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
32750
32822
|
this.printProcessing = true;
|
|
32751
32823
|
// we have to initialse this obj with empty strings to display the select component
|
|
32752
32824
|
// but don't want to send any attributes with empty strings to the API
|
|
32753
|
-
|
|
32825
|
+
let cleanPrintProperties = removeEmptyStrings(this.selectedProperties);
|
|
32826
|
+
cleanPrintProperties = managePaperDimensions(cleanPrintProperties);
|
|
32754
32827
|
// put it in store for further use
|
|
32755
32828
|
printStore.state.fileUrl = this.fileurl;
|
|
32756
32829
|
printStore.state.fileID = this.fileid;
|
|
@@ -32824,6 +32897,9 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
32824
32897
|
* Listeners
|
|
32825
32898
|
*
|
|
32826
32899
|
*/
|
|
32900
|
+
listenInputValueChanged(event) {
|
|
32901
|
+
this.setSelectedProperties(event.detail);
|
|
32902
|
+
}
|
|
32827
32903
|
listenSelectSelection(event) {
|
|
32828
32904
|
this.setSelectedProperties(event.detail);
|
|
32829
32905
|
}
|
|
@@ -32888,6 +32964,10 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
32888
32964
|
else {
|
|
32889
32965
|
this.selectedPrinter = { id: '', location: '', name: '', is_queue: false };
|
|
32890
32966
|
}
|
|
32967
|
+
this.setPaperid();
|
|
32968
|
+
}
|
|
32969
|
+
setPaperid() {
|
|
32970
|
+
this.paperid = this.selectedProperties.paperid;
|
|
32891
32971
|
}
|
|
32892
32972
|
getUserInfo() {
|
|
32893
32973
|
const userService = new EzpUserService();
|
|
@@ -32921,13 +33001,20 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
32921
33001
|
this.selectedProperties.paper = eventDetails.title;
|
|
32922
33002
|
this.selectedProperties.paperid = eventDetails.id;
|
|
32923
33003
|
// console.log('paper selected:')
|
|
32924
|
-
// console.log(this.selectedProperties.paper)
|
|
32925
33004
|
break;
|
|
32926
33005
|
case 'quality':
|
|
32927
33006
|
this.selectedProperties.resolution = eventDetails.title;
|
|
32928
33007
|
// console.log('quality selected:')
|
|
32929
33008
|
// console.log(this.selectedProperties.resolution)
|
|
32930
33009
|
break;
|
|
33010
|
+
case 'length':
|
|
33011
|
+
this.selectedProperties.paperlength = eventDetails.value;
|
|
33012
|
+
// console.log(this.selectedProperties)
|
|
33013
|
+
break;
|
|
33014
|
+
case 'width':
|
|
33015
|
+
this.selectedProperties.paperwidth = eventDetails.value;
|
|
33016
|
+
// console.log(this.selectedProperties)
|
|
33017
|
+
break;
|
|
32931
33018
|
case 'duplex':
|
|
32932
33019
|
if (eventDetails.title === 'None') {
|
|
32933
33020
|
this.selectedProperties.duplex = false;
|
|
@@ -32940,6 +33027,8 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
32940
33027
|
// console.log(this.selectedProperties.duplexmode)
|
|
32941
33028
|
break;
|
|
32942
33029
|
}
|
|
33030
|
+
// setting paper id here to updated the prop for input.
|
|
33031
|
+
this.setPaperid();
|
|
32943
33032
|
}
|
|
32944
33033
|
async handleFiles(file, printPorperties) {
|
|
32945
33034
|
this.preparingUpload = true;
|
|
@@ -33015,6 +33104,7 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
33015
33104
|
this.selectedProperties.paper = this.selectedPrinterConfig.PaperFormats[0].Name;
|
|
33016
33105
|
this.selectedProperties.paperid = this.selectedPrinterConfig.PaperFormats[0].Id;
|
|
33017
33106
|
}
|
|
33107
|
+
this.setPaperid();
|
|
33018
33108
|
}
|
|
33019
33109
|
/**
|
|
33020
33110
|
*
|
|
@@ -33117,7 +33207,7 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
33117
33207
|
title: format.Name,
|
|
33118
33208
|
meta: `${format.XRes} x ${format.YRes}`,
|
|
33119
33209
|
type: 'format',
|
|
33120
|
-
})), preSelected: this.selectedPrinter.id ? this.selectedProperties.paper : null, disabled: !(this.selectedPrinterConfig.PaperFormats.length > 0) }), h("ezp-select", { label: i18next.t('printer_selection.orientation'), icon: "orientation", placeholder: i18next.t('printer_selection.select_orientation'), toggleFlow: "horizontal", options: this.selectedPrinterConfig.OrientationsSupported.map((orientation, index) => ({
|
|
33210
|
+
})), preSelected: this.selectedPrinter.id ? this.selectedProperties.paper : null, disabled: !(this.selectedPrinterConfig.PaperFormats.length > 0) }), this.paperid == PAPER_ID ? (h(Fragment, null, h("ezp-input", { icon: "width", suffix: "mm", value: this.selectedProperties.paperwidth, type: "number", label: i18next.t('printer_selection.width') }), h("ezp-input", { icon: "height", suffix: "mm", value: this.selectedProperties.paperwidth, type: "number", label: i18next.t('printer_selection.length') }))) : null, 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) => ({
|
|
33121
33211
|
id: index + 1,
|
|
33122
33212
|
title: i18next.t(`printer_selection.orientation_${orientation}`),
|
|
33123
33213
|
meta: '',
|
|
@@ -33139,7 +33229,7 @@ const config = {
|
|
|
33139
33229
|
printingApiHostUrl: printingApiHostUrl
|
|
33140
33230
|
};
|
|
33141
33231
|
|
|
33142
|
-
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)}";
|
|
33232
|
+
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)}";
|
|
33143
33233
|
|
|
33144
33234
|
let EzpPrinting$1 = class extends HTMLElement {
|
|
33145
33235
|
constructor() {
|
|
@@ -33860,8 +33950,9 @@ const EzpBackdrop = /*@__PURE__*/proxyCustomElement(EzpBackdrop$1, [1,"ezp-backd
|
|
|
33860
33950
|
const EzpDialog = /*@__PURE__*/proxyCustomElement(EzpDialog$1, [1,"ezp-dialog",{"heading":[1],"description":[1],"action":[1],"iconName":[1,"icon-name"],"iconSize":[1,"icon-size"],"iconFramed":[4,"icon-framed"],"instance":[1]}]);
|
|
33861
33951
|
const EzpIcon = /*@__PURE__*/proxyCustomElement(EzpIcon$1, [1,"ezp-icon",{"name":[1],"size":[1],"framed":[4]}]);
|
|
33862
33952
|
const EzpIconButton = /*@__PURE__*/proxyCustomElement(EzpIconButton$1, [1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}]);
|
|
33953
|
+
const EzpInput = /*@__PURE__*/proxyCustomElement(EzpInput$1, [1,"ezp-input",{"label":[1],"value":[1032],"type":[1],"icon":[1],"suffix":[513],"focused":[32]}]);
|
|
33863
33954
|
const EzpLabel = /*@__PURE__*/proxyCustomElement(EzpLabel$1, [1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]);
|
|
33864
|
-
const EzpPrinterSelection = /*@__PURE__*/proxyCustomElement(EzpPrinterSelection$1, [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]},[[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"],[0,"statusCancel","listenStatusCancel"],[0,"statusClose","listenStatusClose"],[0,"statusRetry","listenStatusRetry"]]]);
|
|
33955
|
+
const EzpPrinterSelection = /*@__PURE__*/proxyCustomElement(EzpPrinterSelection$1, [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"]]]);
|
|
33865
33956
|
const EzpPrinting = /*@__PURE__*/proxyCustomElement(EzpPrinting$1, [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]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]]]);
|
|
33866
33957
|
const EzpSelect = /*@__PURE__*/proxyCustomElement(EzpSelect$1, [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]}]);
|
|
33867
33958
|
const EzpStatus = /*@__PURE__*/proxyCustomElement(EzpStatus$1, [1,"ezp-status",{"description":[1],"processing":[4],"instance":[1],"icon":[1],"cancel":[8],"close":[8],"retry":[8]}]);
|
|
@@ -33877,6 +33968,7 @@ const defineCustomElements = (opts) => {
|
|
|
33877
33968
|
EzpDialog,
|
|
33878
33969
|
EzpIcon,
|
|
33879
33970
|
EzpIconButton,
|
|
33971
|
+
EzpInput,
|
|
33880
33972
|
EzpLabel,
|
|
33881
33973
|
EzpPrinterSelection,
|
|
33882
33974
|
EzpPrinting,
|
|
@@ -33894,4 +33986,4 @@ const defineCustomElements = (opts) => {
|
|
|
33894
33986
|
}
|
|
33895
33987
|
};
|
|
33896
33988
|
|
|
33897
|
-
export { EzpAuth, EzpBackdrop, EzpDialog, EzpIcon, EzpIconButton, EzpLabel, EzpPrinterSelection, EzpPrinting, EzpSelect, EzpStatus, EzpStepper, EzpTextButton, EzpUpload, EzpUserMenu, defineCustomElements };
|
|
33989
|
+
export { EzpAuth, EzpBackdrop, EzpDialog, EzpIcon, EzpIconButton, EzpInput, EzpLabel, EzpPrinterSelection, EzpPrinting, EzpSelect, EzpStatus, EzpStepper, EzpTextButton, EzpUpload, EzpUserMenu, defineCustomElements };
|