@ezeep/ezeep-js 1.0.136 → 1.0.140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ezeep.cjs.js +1 -1
- package/dist/cjs/ezp-auth_12.cjs.entry.js +126 -46
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ezp-icon/assets/glyph-dark.svg +3 -0
- package/dist/collection/components/ezp-icon/assets/glyph-light.svg +3 -0
- package/dist/collection/components/ezp-icon/assets/glyph-system.svg +3 -0
- package/dist/collection/components/ezp-icon/ezp-icon.css +2 -2
- 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-printer-selection/ezp-printer-selection.css +2 -3
- package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +109 -38
- package/dist/collection/components/ezp-printing/ezp-printing.css +211 -120
- package/dist/collection/components/ezp-printing/ezp-printing.js +43 -1
- package/dist/collection/components/ezp-progress/ezp-progress.css +1 -1
- package/dist/collection/components/ezp-select/ezp-select.js +1 -1
- package/dist/collection/components/ezp-stepper/ezp-stepper.js +1 -1
- package/dist/collection/components/ezp-user-menu/ezp-user-menu.css +45 -1
- package/dist/collection/components/ezp-user-menu/ezp-user-menu.js +15 -2
- package/dist/collection/services/print.js +17 -1
- package/dist/collection/services/user.js +1 -0
- package/dist/custom-elements/index.js +128 -48
- package/dist/directives/proxies.ts +4 -4
- package/dist/esm/ezeep.js +1 -1
- package/dist/esm/ezp-auth_12.entry.js +126 -46
- package/dist/esm/loader.js +1 -1
- package/dist/esm-es5/ezeep.js +1 -1
- package/dist/esm-es5/ezp-auth_12.entry.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/ezeep/assets/glyph-dark.svg +3 -0
- package/dist/ezeep/assets/glyph-light.svg +3 -0
- package/dist/ezeep/assets/glyph-system.svg +3 -0
- package/dist/ezeep/ezeep.esm.js +1 -1
- package/dist/ezeep/p-0711b970.entry.js +1 -0
- package/dist/ezeep/p-c488ee3f.system.js +1 -1
- package/dist/ezeep/p-e8c8adc1.system.entry.js +1 -0
- package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +3 -1
- package/dist/types/components/ezp-printing/ezp-printing.d.ts +3 -1
- package/dist/types/components/ezp-user-menu/ezp-user-menu.d.ts +2 -0
- package/dist/types/components.d.ts +7 -1
- package/dist/types/services/print.d.ts +8 -1
- package/dist/types/services/user.d.ts +1 -0
- package/dist/types/shared/types.d.ts +4 -0
- package/package.json +1 -1
- package/readme.md +27 -3
- package/www/build/assets/glyph-dark.svg +3 -0
- package/www/build/assets/glyph-light.svg +3 -0
- package/www/build/assets/glyph-system.svg +3 -0
- package/www/build/ezeep.esm.js +1 -1
- package/www/build/p-0711b970.entry.js +1 -0
- package/www/build/p-c488ee3f.system.js +1 -1
- package/www/build/p-e8c8adc1.system.entry.js +1 -0
- package/www/index.html +1 -1
- package/dist/ezeep/p-12ca28b7.system.entry.js +0 -1
- package/dist/ezeep/p-f4d2e700.entry.js +0 -1
- package/www/build/p-12ca28b7.system.entry.js +0 -1
- package/www/build/p-f4d2e700.entry.js +0 -1
|
@@ -3183,7 +3183,7 @@ let EzpBackdrop$1 = class extends HTMLElement {
|
|
|
3183
3183
|
static get style() { return ezpBackdropCss; }
|
|
3184
3184
|
};
|
|
3185
3185
|
|
|
3186
|
-
const ezpIconCss = ":host{-ms-flex-line-pack:center;align-content:center;display:block;display:grid;grid-template:var(--host-gridTemplate)/var(--host-gridTemplate);height:var(--host-size);-ms-flex-pack:center;justify-content:center;width:var(--host-size)}:host(.normal){--host-size:18px;--host-gridTemplate:22px}:host(.large){--host-size:36px;--host-gridTemplate:44px}svg{display:block;fill:currentColor;height:100%;width:100%}";
|
|
3186
|
+
const ezpIconCss = ":host{-ms-flex-line-pack:center;align-content:center;display:block;display:grid;grid-template:var(--host-gridTemplate)/var(--host-gridTemplate);height:var(--icon-height, var(--host-size));-ms-flex-pack:center;justify-content:center;width:var(--icon-width, var(--host-size))}:host(.normal){--host-size:18px;--host-gridTemplate:22px}:host(.large){--host-size:36px;--host-gridTemplate:44px}svg{display:block;fill:currentColor;height:100%;width:100%}";
|
|
3187
3187
|
|
|
3188
3188
|
let EzpIcon$1 = class extends HTMLElement {
|
|
3189
3189
|
constructor() {
|
|
@@ -4171,7 +4171,17 @@ class EzpPrintService {
|
|
|
4171
4171
|
'Content-Type': 'application/json',
|
|
4172
4172
|
},
|
|
4173
4173
|
body: JSON.stringify(Object.assign(Object.assign(Object.assign({ fileurl: fileUrl, type: fileType, printerid: printerID }, (filename && { alias: filename })), (printAndDelete && { printanddelete: printAndDelete })), { properties })),
|
|
4174
|
-
})
|
|
4174
|
+
});
|
|
4175
|
+
}
|
|
4176
|
+
printByFileID(accessToken, fileID, fileType, printerID, properties, filename, printAndDelete) {
|
|
4177
|
+
return fetch(`https://${this.printingApi}/sfapi/Print/`, {
|
|
4178
|
+
method: 'POST',
|
|
4179
|
+
headers: {
|
|
4180
|
+
Authorization: 'Bearer ' + accessToken,
|
|
4181
|
+
'Content-Type': 'application/json',
|
|
4182
|
+
},
|
|
4183
|
+
body: JSON.stringify(Object.assign(Object.assign(Object.assign({ fileid: fileID, type: fileType, printerid: printerID }, (filename && { alias: filename })), (printAndDelete && { printanddelete: printAndDelete })), { properties })),
|
|
4184
|
+
});
|
|
4175
4185
|
}
|
|
4176
4186
|
}
|
|
4177
4187
|
const printStore = createStore({
|
|
@@ -4179,6 +4189,12 @@ const printStore = createStore({
|
|
|
4179
4189
|
jobID: '',
|
|
4180
4190
|
printFinished: false,
|
|
4181
4191
|
printApiHostUrl: '',
|
|
4192
|
+
printerProperties: {},
|
|
4193
|
+
fileID: '',
|
|
4194
|
+
fileUrl: '',
|
|
4195
|
+
fileType: '',
|
|
4196
|
+
printerID: '',
|
|
4197
|
+
fileName: ''
|
|
4182
4198
|
});
|
|
4183
4199
|
|
|
4184
4200
|
class EzpUserService {
|
|
@@ -4197,6 +4213,7 @@ class EzpUserService {
|
|
|
4197
4213
|
const userStore = createStore({
|
|
4198
4214
|
user: null,
|
|
4199
4215
|
theme: '',
|
|
4216
|
+
appearance: '',
|
|
4200
4217
|
});
|
|
4201
4218
|
|
|
4202
4219
|
const colors = [
|
|
@@ -4277,7 +4294,7 @@ const options = {
|
|
|
4277
4294
|
sizes: sizes
|
|
4278
4295
|
};
|
|
4279
4296
|
|
|
4280
|
-
const ezpPrinterSelectionCss = ":host{-ms-flex-line-pack:center;align-content:center;background:var(--color-overlay);display:grid;grid-template:auto/320px;height:100vh;-ms-flex-pack:center;justify-content:center;left:0;position:fixed;top:0;width:100vw}@media (prefers-color-scheme: dark){:host{--content-boxShadow:inset var(--hairline-width-positive) 0 0 0 var(--hairline-color),\n inset var(--hairline-width-negative) 0 0 0 var(--hairline-color);--container-separator-position:inset 0 0 0 var(--hairline-width-positive);--footer-separator-position:inset 0 var(--hairline-width-positive) 0 0;--header-separator-position:inset 0 var(--hairline-width-negative) 0 0}}#container{background:var(--color-surface-tertiary);border-radius:6px
|
|
4297
|
+
const ezpPrinterSelectionCss = ":host{-ms-flex-line-pack:center;align-content:center;background:var(--color-overlay);display:grid;grid-template:auto/320px;height:100vh;-ms-flex-pack:center;justify-content:center;left:0;position:fixed;top:0;width:100vw}@media (prefers-color-scheme: dark){:host{--content-boxShadow:inset var(--hairline-width-positive) 0 0 0 var(--hairline-color),\n inset var(--hairline-width-negative) 0 0 0 var(--hairline-color);--container-separator-position:inset 0 0 0 var(--hairline-width-positive);--footer-separator-position:inset 0 var(--hairline-width-positive) 0 0;--header-separator-position:inset 0 var(--hairline-width-negative) 0 0}}#container{background:var(--color-surface-tertiary);border-radius:6px;position:relative}#header{-webkit-box-shadow:inset 0 var(--hairline-width-negative) 0 0 var(--hairline-color);box-shadow:inset 0 var(--hairline-width-negative) 0 0 var(--hairline-color);color:var(--color-foreground-primary);display:grid;grid-column-gap:var(--spacing-1);grid-template-columns:auto 1fr auto;padding:var(--spacing-4) var(--spacing-3) var(--spacing-4) var(--spacing-4);position:relative;z-index:3}#toggle-menu{margin:calc(var(--spacing-3) * -1) 0;position:relative;z-index:2}#content{background:var(--color-surface-secondary);-webkit-box-shadow:var(--content-boxShadow, none);box-shadow:var(--content-boxShadow, none);display:grid;grid-row-gap:var(--spacing-2);grid-template-rows:repeat(2, auto);padding:var(--spacing-2)}#footer{-webkit-box-shadow:inset 0 var(--hairline-width-positive) 0 0 var(--hairline-color);box-shadow:inset 0 var(--hairline-width-positive) 0 0 var(--hairline-color);display:grid;grid-column-gap:var(--spacing-2);grid-template-columns:repeat(2, 1fr);padding:var(--spacing-2);position:relative;z-index:3}";
|
|
4281
4298
|
|
|
4282
4299
|
let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
4283
4300
|
constructor() {
|
|
@@ -4314,7 +4331,7 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
4314
4331
|
this.selectedProperties = {
|
|
4315
4332
|
paper: '',
|
|
4316
4333
|
paperid: '',
|
|
4317
|
-
color:
|
|
4334
|
+
color: false,
|
|
4318
4335
|
duplex: false,
|
|
4319
4336
|
duplexmode: '',
|
|
4320
4337
|
orientation: '',
|
|
@@ -4324,7 +4341,7 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
4324
4341
|
this.previouslySelectedProperties = {
|
|
4325
4342
|
paper: '',
|
|
4326
4343
|
paperid: '',
|
|
4327
|
-
color:
|
|
4344
|
+
color: false,
|
|
4328
4345
|
duplex: false,
|
|
4329
4346
|
duplexmode: '',
|
|
4330
4347
|
orientation: '',
|
|
@@ -4342,39 +4359,88 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
4342
4359
|
};
|
|
4343
4360
|
/** Description... */
|
|
4344
4361
|
this.handlePrint = () => {
|
|
4362
|
+
const validateData = (data) => {
|
|
4363
|
+
if (data.jobstatus === 0) {
|
|
4364
|
+
this.printInProgress = false;
|
|
4365
|
+
return true;
|
|
4366
|
+
}
|
|
4367
|
+
return false;
|
|
4368
|
+
};
|
|
4369
|
+
const POLL_INTERVAL = 2000;
|
|
4345
4370
|
this.printInProgress = true;
|
|
4346
|
-
this.printService
|
|
4347
|
-
.printFileByUrl(authStore.state.accessToken, this.fileurl, this.filetype, this.selectedPrinter.id,
|
|
4348
4371
|
// we have to initialse this obj with empty strings to display the select component
|
|
4349
4372
|
// but don't want to send any attributes with empty strings to the API
|
|
4350
|
-
removeEmptyStrings(this.selectedProperties)
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4373
|
+
removeEmptyStrings(this.selectedProperties);
|
|
4374
|
+
// put it in store for further use
|
|
4375
|
+
printStore.state.fileUrl = this.fileurl;
|
|
4376
|
+
printStore.state.fileID = this.fileid;
|
|
4377
|
+
printStore.state.fileType = this.filetype;
|
|
4378
|
+
printStore.state.printerID = this.selectedPrinter.id;
|
|
4379
|
+
printStore.state.printerProperties = this.selectedProperties;
|
|
4380
|
+
printStore.state.fileName = this.filename;
|
|
4381
|
+
if (this.fileurl) {
|
|
4382
|
+
this.printService
|
|
4383
|
+
.printFileByUrl(authStore.state.accessToken, this.fileurl, this.filetype, this.selectedPrinter.id, this.selectedProperties, this.filename)
|
|
4384
|
+
.then((response) => {
|
|
4385
|
+
if (response.status === 412) {
|
|
4386
|
+
response.json().then(data => this.fileid = data.fileid);
|
|
4387
|
+
this.printService.printByFileID(authStore.state.accessToken, this.fileid, this.filetype, this.selectedPrinter.id, this.selectedProperties, this.filename).finally(() => this.printInProgress = false);
|
|
4388
|
+
}
|
|
4389
|
+
else {
|
|
4390
|
+
return response.json();
|
|
4391
|
+
}
|
|
4392
|
+
})
|
|
4393
|
+
.then((data) => {
|
|
4394
|
+
if (data.jobid) {
|
|
4395
|
+
printStore.state.jobID = data.jobid;
|
|
4396
|
+
poll({
|
|
4397
|
+
fn: this.printService.getPrintStatus,
|
|
4398
|
+
validate: validateData,
|
|
4399
|
+
interval: POLL_INTERVAL,
|
|
4400
|
+
maxAttempts: 10,
|
|
4401
|
+
})
|
|
4402
|
+
.then(data)
|
|
4403
|
+
.catch((err) => {
|
|
4404
|
+
console.warn(err);
|
|
4357
4405
|
this.printInProgress = false;
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
};
|
|
4362
|
-
poll({
|
|
4363
|
-
fn: this.printService.getPrintStatus,
|
|
4364
|
-
validate: validateData,
|
|
4365
|
-
interval: POLL_INTERVAL,
|
|
4366
|
-
maxAttempts: 10,
|
|
4367
|
-
})
|
|
4368
|
-
.then(data)
|
|
4369
|
-
.catch((err) => {
|
|
4370
|
-
console.warn(err);
|
|
4406
|
+
});
|
|
4407
|
+
}
|
|
4408
|
+
else {
|
|
4371
4409
|
this.printInProgress = false;
|
|
4372
|
-
}
|
|
4373
|
-
}
|
|
4374
|
-
|
|
4410
|
+
}
|
|
4411
|
+
})
|
|
4412
|
+
.catch(error => {
|
|
4413
|
+
console.log(error);
|
|
4375
4414
|
this.printInProgress = false;
|
|
4376
|
-
}
|
|
4377
|
-
}
|
|
4415
|
+
});
|
|
4416
|
+
}
|
|
4417
|
+
else if (this.fileid) {
|
|
4418
|
+
this.printService.printByFileID(authStore.state.accessToken, this.fileid, this.filetype, this.selectedPrinter.id, this.selectedProperties, this.filename)
|
|
4419
|
+
.then((response) => response.json())
|
|
4420
|
+
.then((data) => {
|
|
4421
|
+
if (data.jobid) {
|
|
4422
|
+
printStore.state.jobID = data.jobid;
|
|
4423
|
+
poll({
|
|
4424
|
+
fn: this.printService.getPrintStatus,
|
|
4425
|
+
validate: validateData,
|
|
4426
|
+
interval: POLL_INTERVAL,
|
|
4427
|
+
maxAttempts: 10,
|
|
4428
|
+
})
|
|
4429
|
+
.then(data)
|
|
4430
|
+
.catch((err) => {
|
|
4431
|
+
console.warn(err);
|
|
4432
|
+
this.printInProgress = false;
|
|
4433
|
+
});
|
|
4434
|
+
}
|
|
4435
|
+
else {
|
|
4436
|
+
this.printInProgress = false;
|
|
4437
|
+
}
|
|
4438
|
+
})
|
|
4439
|
+
.catch(error => {
|
|
4440
|
+
console.log(error);
|
|
4441
|
+
this.printInProgress = false;
|
|
4442
|
+
});
|
|
4443
|
+
}
|
|
4378
4444
|
localStorage.setItem('properties', JSON.stringify(this.selectedProperties));
|
|
4379
4445
|
localStorage.setItem('printer', JSON.stringify(this.selectedPrinter));
|
|
4380
4446
|
localStorage.setItem('previouslySelectedProperties', JSON.stringify(this.previouslySelectedProperties));
|
|
@@ -4422,11 +4488,14 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
4422
4488
|
this.userName = userStore.state.user.display_name;
|
|
4423
4489
|
});
|
|
4424
4490
|
}
|
|
4425
|
-
setSelectedProperties(eventDetails) {
|
|
4491
|
+
async setSelectedProperties(eventDetails) {
|
|
4426
4492
|
switch (eventDetails.type) {
|
|
4427
4493
|
case 'printer':
|
|
4428
4494
|
this.selectedPrinter.id = eventDetails.id;
|
|
4429
4495
|
this.selectedPrinter.name = eventDetails.title;
|
|
4496
|
+
await this.printService.getPrinterProperties(authStore.state.accessToken, this.selectedPrinter.id).then(data => this.selectedPrinterConfig = data[0]);
|
|
4497
|
+
console.log('selected printer config:');
|
|
4498
|
+
console.log(this.selectedPrinterConfig);
|
|
4430
4499
|
break;
|
|
4431
4500
|
case 'color':
|
|
4432
4501
|
this.selectedProperties.color = !!eventDetails.id;
|
|
@@ -4478,7 +4547,8 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
4478
4547
|
await this.printService
|
|
4479
4548
|
.getAllPrinterProperties(authStore.state.accessToken)
|
|
4480
4549
|
.then((printerConfig) => {
|
|
4481
|
-
this.printerConfig = printerConfig
|
|
4550
|
+
this.printerConfig = printerConfig;
|
|
4551
|
+
console.log(this.printerConfig);
|
|
4482
4552
|
});
|
|
4483
4553
|
this.loading = false;
|
|
4484
4554
|
}
|
|
@@ -4495,7 +4565,7 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
4495
4565
|
? printer.location
|
|
4496
4566
|
: i18next.t('printer_selection.unknown_location'),
|
|
4497
4567
|
type: 'printer',
|
|
4498
|
-
})), preSelected: this.selectedPrinter.name })), h("div", { id: "options" }, h("ezp-select", { label: i18next.t('printer_selection.color'), icon: "color", placeholder: i18next.t('printer_selection.select_color'), toggleFlow: "horizontal", options: this.
|
|
4568
|
+
})), preSelected: this.selectedPrinter.name })), h("div", { id: "options" }, h("ezp-select", { label: i18next.t('printer_selection.color'), icon: "color", placeholder: i18next.t('printer_selection.select_color'), toggleFlow: "horizontal", options: this.selectedPrinterConfig.Color
|
|
4499
4569
|
? [
|
|
4500
4570
|
{
|
|
4501
4571
|
id: 1,
|
|
@@ -4516,25 +4586,25 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
4516
4586
|
title: i18next.t('printer_selection.color_grayscale'),
|
|
4517
4587
|
meta: '',
|
|
4518
4588
|
type: 'color',
|
|
4519
|
-
}
|
|
4520
|
-
], preSelected: this.previouslySelectedProperties.color }), h("ezp-select", { label: i18next.t('printer_selection.orientation'), icon: "orientation", placeholder: i18next.t('printer_selection.select_orientation'), toggleFlow: "horizontal", options: this.
|
|
4589
|
+
},
|
|
4590
|
+
], preSelected: this.previouslySelectedProperties.color }), 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) => ({
|
|
4521
4591
|
id: index,
|
|
4522
4592
|
title: i18next.t(`printer_selection.orientation_${orientation}`),
|
|
4523
4593
|
meta: '',
|
|
4524
4594
|
type: 'orientation',
|
|
4525
|
-
})), preSelected: this.previouslySelectedProperties.orientation }), h("ezp-select", { label: i18next.t('printer_selection.size'), icon: "size", placeholder: i18next.t('printer_selection.select_size'), toggleFlow: "horizontal", optionFlow: "horizontal", options: this.
|
|
4595
|
+
})), preSelected: this.previouslySelectedProperties.orientation }), h("ezp-select", { label: i18next.t('printer_selection.size'), icon: "size", placeholder: i18next.t('printer_selection.select_size'), toggleFlow: "horizontal", optionFlow: "horizontal", options: this.selectedPrinterConfig.PaperFormats.map((format) => ({
|
|
4526
4596
|
id: format.Id,
|
|
4527
4597
|
title: format.Name,
|
|
4528
4598
|
meta: `${format.XRes} x ${format.YRes}`,
|
|
4529
4599
|
type: 'format',
|
|
4530
|
-
})), preSelected: this.previouslySelectedProperties.paper }), h("ezp-select", { label: i18next.t('printer_selection.quality'), icon: "quality", toggleFlow: "horizontal", options: this.
|
|
4600
|
+
})), preSelected: this.previouslySelectedProperties.paper }), h("ezp-select", { label: i18next.t('printer_selection.quality'), icon: "quality", toggleFlow: "horizontal", options: this.selectedPrinterConfig.Resolutions.map((option, index) => ({
|
|
4531
4601
|
id: index,
|
|
4532
4602
|
title: option,
|
|
4533
4603
|
meta: '',
|
|
4534
4604
|
type: 'quality',
|
|
4535
4605
|
})), preSelected: !this.previouslySelectedProperties.resolution
|
|
4536
|
-
? this.
|
|
4537
|
-
: this.previouslySelectedProperties.resolution }), this.
|
|
4606
|
+
? this.selectedPrinterConfig.Resolutions[0]
|
|
4607
|
+
: this.previouslySelectedProperties.resolution }), this.selectedPrinterConfig.DuplexSupported ? (h("ezp-select", { label: i18next.t('printer_selection.duplex'), icon: "duplex", toggleFlow: "horizontal", options: this.duplexOptions.map((option) => ({
|
|
4538
4608
|
id: option.id,
|
|
4539
4609
|
title: option.title,
|
|
4540
4610
|
meta: '',
|
|
@@ -4553,7 +4623,7 @@ const config = {
|
|
|
4553
4623
|
printingApiHostUrl: printingApiHostUrl
|
|
4554
4624
|
};
|
|
4555
4625
|
|
|
4556
|
-
const ezpPrintingCss = ":host{-ms-flex-line-pack:center;align-content:center;background:var(--color-surface-primary);color:var(--color-foreground-primary);display:grid;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;grid-template:auto/auto;-ms-flex-pack:center;justify-content:center;margin:0;min-height:100vh;-webkit-tap-highlight-color:transparent;text-rendering:optimizeLegibility;-webkit-text-size-adjust:none;--color-theme-pink-solid:#f23267;--color-theme-red-solid:#f23b22;--color-theme-orange-solid:#fe7200;--color-theme-green-solid:#5d9200;--color-theme-cyan-solid:#0091b4;--color-theme-blue-solid:#4e81f3;--color-theme-violet-solid:#ae5ef3;--color-theme-pink-translucent:rgba(242, 50, 103, 0.16);--color-theme-red-translucent:rgba(242, 59, 34, 0.16);--color-theme-orange-translucent:rgba(254, 114, 0, 0.16);--color-theme-green-translucent:rgba(93, 146, 0, 0.16);--color-theme-cyan-translucent:rgba(0, 145, 180, 0.16);--color-theme-blue-translucent:rgba(78, 129, 243, 0.16);--color-theme-violet-translucent:rgba(174, 94, 243, 0.16);--color-on-theme:white;--color-surface-primary:white;--color-surface-secondary:#f3f3f3;--color-surface-tertiary:white;--color-shade-primary:rgba(119, 119, 119, 0.1);--color-shade-secondary:rgba(119, 119, 119, 0.16);--color-shade-tertiary:rgba(119, 119, 119, 0.22);--color-foreground-primary:rgba(0, 0, 0, 0.94);--color-foreground-secondary:rgba(99, 99, 99, 0.9);--color-foreground-tertiary:rgba(99, 99, 99, 0.58);--color-outline-primary:rgba(119, 119, 119, 0.16);--color-outline-secondary:rgba(119, 119, 119, 0.26);--color-overlay:rgba(0, 0, 0, 0.26);--color-shadow:rgba(0, 0, 0, 0.06);--duration-1:0.1s;--duration-2:0.16s;--duration-3:0.26s;--duration-4:0.42s;--duration-5:0.68s;--duration-6:1s;--spacing-1:4px;--spacing-2:6px;--spacing-3:10px;--spacing-4:16px;--spacing-5:26px;--spacing-6:42px;--spacing-7:68px;--spacing-8:110px;--easing-in-quart:cubic-bezier(0.11, 0, 0.5, 0);--easing-in-out-quart:cubic-bezier(0.76, 0, 0.24, 1);--easing-in-out-cubic:cubic-bezier(0.65, 0, 0.35, 1);--easing-in-expo:cubic-bezier(0.7, 0, 0.84, 0);--easing-out-quart:cubic-bezier(0.25, 1, 0.5, 1);--easing-out-expo:cubic-bezier(0.16, 1, 0.3, 1);--hairline-color:var(--color-outline-primary)}@supports (color: color(display-p3 1 1 1)){:host{--color-theme-pink-solid:color(display-p3 0.9490196078 0.1960784314 0.4039215686/100%);--color-theme-red-solid:color(display-p3 0.9490196078 0.231372549 0.1333333333/100%);--color-theme-orange-solid:color(display-p3 0.9960784314 0.4470588235 0/100%);--color-theme-green-solid:color(display-p3 0.3647058824 0.5725490196 0/100%);--color-theme-cyan-solid:color(display-p3 0 0.568627451 0.7058823529/100%);--color-theme-blue-solid:color(display-p3 0.3058823529 0.5058823529 0.9529411765/100%);--color-theme-violet-solid:color(display-p3 0.6823529412 0.368627451 0.9529411765/100%);--color-theme-pink-translucent:color(display-p3 0.9490196078 0.1960784314 0.4039215686/16%);--color-theme-red-translucent:color(display-p3 0.9490196078 0.231372549 0.1333333333/16%);--color-theme-orange-translucent:color(display-p3 0.9960784314 0.4470588235 0/16%);--color-theme-green-translucent:color(display-p3 0.3647058824 0.5725490196 0/16%);--color-theme-cyan-translucent:color(display-p3 0 0.568627451 0.7058823529/16%);--color-theme-blue-translucent:color(display-p3 0.3058823529 0.5058823529 0.9529411765/16%);--color-theme-violet-translucent:color(display-p3 0.6823529412 0.368627451 0.9529411765/16%);--color-on-theme:color(display-p3 1 1 1/100%);--color-surface-primary:color(display-p3 1 1 1/100%);--color-surface-secondary:color(display-p3 0.9529411765 0.9529411765 0.9529411765/100%);--color-surface-tertiary:color(display-p3 1 1 1/100%);--color-shade-primary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/10%);--color-shade-secondary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/16%);--color-shade-tertiary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/22%);--color-foreground-primary:color(display-p3 0 0 0/94%);--color-foreground-secondary:color(display-p3 0.3882352941 0.3882352941 0.3882352941/90%);--color-foreground-tertiary:color(display-p3 0.3882352941 0.3882352941 0.3882352941/58%);--color-outline-primary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/16%);--color-outline-secondary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/26%);--color-overlay:color(display-p3 0 0 0/26%);--color-shadow:color(display-p3 0 0 0/6%)}}@media (-webkit-min-device-pixel-ratio: 1), (min-device-pixel-ratio: 1){:host{--hairline-width-positive:calc(1px / 1);--hairline-width-negative:calc(-1px / 1)}}@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2){:host{--hairline-width-positive:calc(1px / 2);--hairline-width-negative:calc(-1px / 2)}}@media (-webkit-min-device-pixel-ratio: 3), (min-device-pixel-ratio: 3){:host{--hairline-width-positive:calc(1px / 3);--hairline-width-negative:calc(-1px / 3)}}@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2){:host{--hairline-color:var(--color-outline-secondary)}}@media (prefers-color-scheme: dark){:host{--color-theme-pink-solid:#ff4171;--color-theme-red-solid:#ff482c;--color-theme-orange-solid:#ff811c;--color-theme-green-solid:#679c15;--color-theme-cyan-solid:#209bbf;--color-theme-blue-solid:#5b8bff;--color-theme-violet-solid:#ba69ff;--color-theme-pink-translucent:rgba(255, 65, 113, 0.26);--color-theme-red-translucent:rgba(255, 72, 44, 0.26);--color-theme-orange-translucent:rgba(255, 129, 28, 0.26);--color-theme-green-translucent:rgba(103, 156, 21, 0.26);--color-theme-cyan-translucent:rgba(32, 155, 191, 0.26);--color-theme-blue-translucent:rgba(91, 139, 255, 0.26);--color-theme-violet-translucent:rgba(186, 105, 255, 0.26);--color-on-theme:black;--color-surface-primary:black;--color-surface-secondary:#1b1b1b;--color-surface-tertiary:#282828;--color-shade-primary:rgba(119, 119, 119, 0.28);--color-shade-secondary:rgba(119, 119, 119, 0.34);--color-shade-tertiary:rgba(119, 119, 119, 0.4);--color-foreground-primary:rgba(255, 255, 255, 0.94);--color-foreground-secondary:rgba(139, 139, 139, 0.9);--color-foreground-tertiary:rgba(139, 139, 139, 0.58);--color-outline-primary:rgba(119, 119, 119, 0.26);--color-outline-secondary:rgba(119, 119, 119, 0.32);--color-overlay:rgba(0, 0, 0, 0.68);--color-shadow:rgba(0, 0, 0, 0.1)}@supports (color: color(display-p3 1 1 1)){:host{--color-theme-pink-solid:color(display-p3 1 0.2549019608 0.4431372549/100%);--color-theme-red-solid:color(display-p3 1 0.2823529412 0.1725490196/100%);--color-theme-orange-solid:color(display-p3 1 0.5058823529 0.1098039216/100%);--color-theme-green-solid:color(display-p3 0.4039215686 0.6117647059 0.0823529412/100%);--color-theme-cyan-solid:color(display-p3 0.1254901961 0.6078431373 0.7490196078/100%);--color-theme-blue-solid:color(display-p3 0.3568627451 0.5450980392 1/100%);--color-theme-violet-solid:color(display-p3 0.7294117647 0.4117647059 1/100%);--color-theme-pink-translucent:color(display-p3 1 0.2549019608 0.4431372549/26%);--color-theme-red-translucent:color(display-p3 1 0.2823529412 0.1725490196/26%);--color-theme-orange-translucent:color(display-p3 1 0.5058823529 0.1098039216/26%);--color-theme-green-translucent:color(display-p3 0.4039215686 0.6117647059 0.0823529412/26%);--color-theme-cyan-translucent:color(display-p3 0.1254901961 0.6078431373 0.7490196078/26%);--color-theme-blue-translucent:color(display-p3 0.3568627451 0.5450980392 1/26%);--color-theme-violet-translucent:color(display-p3 0.7294117647 0.4117647059 1/26%);--color-on-theme:color(display-p3 0 0 0/100%);--color-surface-primary:color(display-p3 0 0 0/100%);--color-surface-secondary:color(display-p3 0.1058823529 0.1058823529 0.1058823529/100%);--color-surface-tertiary:color(display-p3 0.1568627451 0.1568627451 0.1568627451/100%);--color-shade-primary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/28%);--color-shade-secondary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/34%);--color-shade-tertiary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/40%);--color-foreground-primary:color(display-p3 1 1 1/94%);--color-foreground-secondary:color(display-p3 0.5450980392 0.5450980392 0.5450980392/90%);--color-foreground-tertiary:color(display-p3 0.5450980392 0.5450980392 0.5450980392/58%);--color-outline-primary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/26%);--color-outline-secondary:color(display-p3 0.4666666667 0.4666666667 0.4666666667/32%);--color-overlay:color(display-p3 0 0 0/68%);--color-shadow:color(display-p3 0 0 0/10%)}}}:host(.blue){--color-theme-solid:var(--color-theme-blue-solid);--color-theme-translucent:var(--color-theme-blue-translucent)}:host(.cyan){--color-theme-solid:var(--color-theme-cyan-solid);--color-theme-translucent:var(--color-theme-cyan-translucent)}:host(.green){--color-theme-solid:var(--color-theme-green-solid);--color-theme-translucent:var(--color-theme-green-translucent)}:host(.orange){--color-theme-solid:var(--color-theme-orange-solid);--color-theme-translucent:var(--color-theme-orange-translucent)}:host(.pink){--color-theme-solid:var(--color-theme-pink-solid);--color-theme-translucent:var(--color-theme-pink-translucent)}:host(.red){--color-theme-solid:var(--color-theme-red-solid);--color-theme-translucent:var(--color-theme-red-translucent)}:host(.violet){--color-theme-solid:var(--color-theme-violet-solid);--color-theme-translucent:var(--color-theme-violet-translucent)}";
|
|
4626
|
+
const ezpPrintingCss = ":host{-ms-flex-line-pack:center;align-content:center;background:var(--color-surface-primary);color:var(--color-foreground-primary);display:grid;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;grid-template:auto/auto;-ms-flex-pack:center;justify-content:center;margin:0;min-height:100vh;-webkit-tap-highlight-color:transparent;text-rendering:optimizeLegibility;-webkit-text-size-adjust:none;--duration-1:0.1s;--duration-2:0.16s;--duration-3:0.26s;--duration-4:0.42s;--duration-5:0.68s;--duration-6:1s;--spacing-1:4px;--spacing-2:6px;--spacing-3:10px;--spacing-4:16px;--spacing-5:26px;--spacing-6:42px;--spacing-7:68px;--spacing-8:110px;--easing-in-quart:cubic-bezier(0.11, 0, 0.5, 0);--easing-in-out-quart:cubic-bezier(0.76, 0, 0.24, 1);--easing-in-out-cubic:cubic-bezier(0.65, 0, 0.35, 1);--easing-in-expo:cubic-bezier(0.7, 0, 0.84, 0);--easing-out-quart:cubic-bezier(0.25, 1, 0.5, 1);--easing-out-expo:cubic-bezier(0.16, 1, 0.3, 1);--hairline-color:var(--color-outline-primary);--color-theme-pink-solid-light:#f23267;--color-theme-red-solid-light:#f23b22;--color-theme-orange-solid-light:#fe7200;--color-theme-green-solid-light:#5d9200;--color-theme-cyan-solid-light:#0091b4;--color-theme-blue-solid-light:#4e81f3;--color-theme-violet-solid-light:#ae5ef3;--color-theme-pink-translucent-light:rgba(242, 50, 103, 0.16);--color-theme-red-translucent-light:rgba(242, 59, 34, 0.16);--color-theme-orange-translucent-light:rgba(254, 114, 0, 0.16);--color-theme-green-translucent-light:rgba(93, 146, 0, 0.16);--color-theme-cyan-translucent-light:rgba(0, 145, 180, 0.16);--color-theme-blue-translucent-light:rgba(78, 129, 243, 0.16);--color-theme-violet-translucent-light:rgba(174, 94, 243, 0.16);--color-on-theme-light:white;--color-surface-primary-light:white;--color-surface-secondary-light:#f3f3f3;--color-surface-tertiary-light:white;--color-shade-primary-light:rgba(119, 119, 119, 0.1);--color-shade-secondary-light:rgba(119, 119, 119, 0.16);--color-shade-tertiary-light:rgba(119, 119, 119, 0.22);--color-foreground-primary-light:rgba(0, 0, 0, 0.94);--color-foreground-secondary-light:rgba(99, 99, 99, 0.9);--color-foreground-tertiary-light:rgba(99, 99, 99, 0.58);--color-outline-primary-light:#e2e2e2;--color-outline-secondary-light:#d1d1d1;--color-overlay-light:rgba(0, 0, 0, 0.26);--color-shadow-light:rgba(0, 0, 0, 0.06);--color-theme-pink-solid-dark:#ff4171;--color-theme-red-solid-dark:#ff482c;--color-theme-orange-solid-dark:#ff811c;--color-theme-green-solid-dark:#679c15;--color-theme-cyan-solid-dark:#209bbf;--color-theme-blue-solid-dark:#5b8bff;--color-theme-violet-solid-dark:#ba69ff;--color-theme-pink-translucent-dark:rgba(255, 65, 113, 0.26);--color-theme-red-translucent-dark:rgba(255, 72, 44, 0.26);--color-theme-orange-translucent-dark:rgba(255, 129, 28, 0.26);--color-theme-green-translucent-dark:rgba(103, 156, 21, 0.26);--color-theme-cyan-translucent-dark:rgba(32, 155, 191, 0.26);--color-theme-blue-translucent-dark:rgba(91, 139, 255, 0.26);--color-theme-violet-translucent-dark:rgba(186, 105, 255, 0.26);--color-on-theme-dark:black;--color-surface-primary-dark:black;--color-surface-secondary-dark:#1b1b1b;--color-surface-tertiary-dark:#282828;--color-shade-primary-dark:rgba(119, 119, 119, 0.28);--color-shade-secondary-dark:rgba(119, 119, 119, 0.34);--color-shade-tertiary-dark:rgba(119, 119, 119, 0.4);--color-foreground-primary-dark:rgba(255, 255, 255, 0.94);--color-foreground-secondary-dark:rgba(139, 139, 139, 0.9);--color-foreground-tertiary-dark:rgba(139, 139, 139, 0.58);--color-outline-primary-dark:#3e3e3e;--color-outline-secondary-dark:#4b4b4b;--color-overlay-dark:rgba(0, 0, 0, 0.68);--color-shadow-dark:rgba(0, 0, 0, 0.1)}@media (-webkit-min-device-pixel-ratio: 1), (min-device-pixel-ratio: 1){:host{--hairline-width-positive:calc(1px / 1);--hairline-width-negative:calc(-1px / 1)}}@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2){:host{--hairline-width-positive:calc(1px / 2);--hairline-width-negative:calc(-1px / 2)}}@media (-webkit-min-device-pixel-ratio: 3), (min-device-pixel-ratio: 3){:host{--hairline-width-positive:calc(1px / 3);--hairline-width-negative:calc(-1px / 3)}}@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2){:host{--hairline-color:var(--color-outline-secondary)}}@supports (color: color(display-p3 1 1 1)){:host{--color-theme-pink-solid-light:color(display-p3 0.9490196078 0.1960784314 0.4039215686/100%);--color-theme-red-solid-light:color(display-p3 0.9490196078 0.231372549 0.1333333333/100%);--color-theme-orange-solid-light:color(display-p3 0.9960784314 0.4470588235 0/100%);--color-theme-green-solid-light:color(display-p3 0.3647058824 0.5725490196 0/100%);--color-theme-cyan-solid-light:color(display-p3 0 0.568627451 0.7058823529/100%);--color-theme-blue-solid-light:color(display-p3 0.3058823529 0.5058823529 0.9529411765/100%);--color-theme-violet-solid-light:color(display-p3 0.6823529412 0.368627451 0.9529411765/100%);--color-theme-pink-translucent-light:color(display-p3 0.9490196078 0.1960784314 0.4039215686/16%);--color-theme-red-translucent-light:color(display-p3 0.9490196078 0.231372549 0.1333333333/16%);--color-theme-orange-translucent-light:color(display-p3 0.9960784314 0.4470588235 0/16%);--color-theme-green-translucent-light:color(display-p3 0.3647058824 0.5725490196 0/16%);--color-theme-cyan-translucent-light:color(display-p3 0 0.568627451 0.7058823529/16%);--color-theme-blue-translucent-light:color(display-p3 0.3058823529 0.5058823529 0.9529411765/16%);--color-theme-violet-translucent-light:color(display-p3 0.6823529412 0.368627451 0.9529411765/16%);--color-on-theme-light:color(display-p3 1 1 1/100%);--color-surface-primary-light:color(display-p3 1 1 1/100%);--color-surface-secondary-light:color(display-p3 0.9529411765 0.9529411765 0.9529411765/100%);--color-surface-tertiary-light:color(display-p3 1 1 1/100%);--color-shade-primary-light:color(display-p3 0.4666666667 0.4666666667 0.4666666667/10%);--color-shade-secondary-light:color(display-p3 0.4666666667 0.4666666667 0.4666666667/16%);--color-shade-tertiary-light:color(display-p3 0.4666666667 0.4666666667 0.4666666667/22%);--color-foreground-primary-light:color(display-p3 0 0 0/94%);--color-foreground-secondary-light:color(display-p3 0.3882352941 0.3882352941 0.3882352941/90%);--color-foreground-tertiary-light:color(display-p3 0.3882352941 0.3882352941 0.3882352941/58%);--color-outline-primary-light:color(display-p3 0.8862745098 0.8862745098 0.8862745098/100%);--color-outline-secondary-light:color(display-p3 0.8196078431 0.8196078431 0.8196078431/100%);--color-overlay-light:color(display-p3 0 0 0/26%);--color-shadow-light:color(display-p3 0 0 0/6%)}}@supports (color: color(display-p3 1 1 1)){:host{--color-theme-pink-solid-dark:color(display-p3 1 0.2549019608 0.4431372549/100%);--color-theme-red-solid-dark:color(display-p3 1 0.2823529412 0.1725490196/100%);--color-theme-orange-solid-dark:color(display-p3 1 0.5058823529 0.1098039216/100%);--color-theme-green-solid-dark:color(display-p3 0.4039215686 0.6117647059 0.0823529412/100%);--color-theme-cyan-solid-dark:color(display-p3 0.1254901961 0.6078431373 0.7490196078/100%);--color-theme-blue-solid-dark:color(display-p3 0.3568627451 0.5450980392 1/100%);--color-theme-violet-solid-dark:color(display-p3 0.7294117647 0.4117647059 1/100%);--color-theme-pink-translucent-dark:color(display-p3 1 0.2549019608 0.4431372549/26%);--color-theme-red-translucent-dark:color(display-p3 1 0.2823529412 0.1725490196/26%);--color-theme-orange-translucent-dark:color(display-p3 1 0.5058823529 0.1098039216/26%);--color-theme-green-translucent-dark:color(display-p3 0.4039215686 0.6117647059 0.0823529412/26%);--color-theme-cyan-translucent-dark:color(display-p3 0.1254901961 0.6078431373 0.7490196078/26%);--color-theme-blue-translucent-dark:color(display-p3 0.3568627451 0.5450980392 1/26%);--color-theme-violet-translucent-dark:color(display-p3 0.7294117647 0.4117647059 1/26%);--color-on-theme-dark:color(display-p3 0 0 0/100%);--color-surface-primary-dark:color(display-p3 0 0 0/100%);--color-surface-secondary-dark:color(display-p3 0.1058823529 0.1058823529 0.1058823529/100%);--color-surface-tertiary-dark:color(display-p3 0.1568627451 0.1568627451 0.1568627451/100%);--color-shade-primary-dark:color(display-p3 0.4666666667 0.4666666667 0.4666666667/28%);--color-shade-secondary-dark:color(display-p3 0.4666666667 0.4666666667 0.4666666667/34%);--color-shade-tertiary-dark:color(display-p3 0.4666666667 0.4666666667 0.4666666667/40%);--color-foreground-primary-dark:color(display-p3 1 1 1/94%);--color-foreground-secondary-dark:color(display-p3 0.5450980392 0.5450980392 0.5450980392/90%);--color-foreground-tertiary-dark:color(display-p3 0.5450980392 0.5450980392 0.5450980392/58%);--color-outline-primary-dark:color(display-p3 0.2431372549 0.2431372549 0.2431372549/100%);--color-outline-secondary-dark:color(display-p3 0.2941176471 0.2941176471 0.2941176471/100%);--color-overlay-dark:color(display-p3 0 0 0/68%);--color-shadow-dark:color(display-p3 0 0 0/10%)}}:host,:host(.light){--color-theme-pink-solid:var(--color-theme-pink-solid-light);--color-theme-red-solid:var(--color-theme-red-solid-light);--color-theme-orange-solid:var(--color-theme-orange-solid-light);--color-theme-green-solid:var(--color-theme-green-solid-light);--color-theme-cyan-solid:var(--color-theme-cyan-solid-light);--color-theme-blue-solid:var(--color-theme-blue-solid-light);--color-theme-violet-solid:var(--color-theme-violet-solid-light);--color-theme-pink-translucent:var(--color-theme-pink-translucent-light);--color-theme-red-translucent:var(--color-theme-red-translucent-light);--color-theme-orange-translucent:var(--color-theme-orange-translucent-light);--color-theme-green-translucent:var(--color-theme-green-translucent-light);--color-theme-cyan-translucent:var(--color-theme-cyan-translucent-light);--color-theme-blue-translucent:var(--color-theme-blue-translucent-light);--color-theme-violet-translucent:var(--color-theme-violet-translucent-light);--color-on-theme:var(--color-on-theme-light);--color-surface-primary:var(--color-surface-primary-light);--color-surface-secondary:var(--color-surface-secondary-light);--color-surface-tertiary:var(--color-surface-tertiary-light);--color-shade-primary:var(--color-shade-primary-light);--color-shade-secondary:var(--color-shade-secondary-light);--color-shade-tertiary:var(--color-shade-tertiary-light);--color-foreground-primary:var(--color-foreground-primary-light);--color-foreground-secondary:var(--color-foreground-secondary-light);--color-foreground-tertiary:var(--color-foreground-tertiary-light);--color-outline-primary:var(--color-outline-primary-light);--color-outline-secondary:var(--color-outline-secondary-light);--color-overlay:var(--color-overlay-light);--color-shadow:var(--color-shadow-light)}:host(.dark){--color-theme-pink-solid:var(--color-theme-pink-solid-dark);--color-theme-red-solid:var(--color-theme-red-solid-dark);--color-theme-orange-solid:var(--color-theme-orange-solid-dark);--color-theme-green-solid:var(--color-theme-green-solid-dark);--color-theme-cyan-solid:var(--color-theme-cyan-solid-dark);--color-theme-blue-solid:var(--color-theme-blue-solid-dark);--color-theme-violet-solid:var(--color-theme-violet-solid-dark);--color-theme-pink-translucent:var(--color-theme-pink-translucent-dark);--color-theme-red-translucent:var(--color-theme-red-translucent-dark);--color-theme-orange-translucent:var(--color-theme-orange-translucent-dark);--color-theme-green-translucent:var(--color-theme-green-translucent-dark);--color-theme-cyan-translucent:var(--color-theme-cyan-translucent-dark);--color-theme-blue-translucent:var(--color-theme-blue-translucent-dark);--color-theme-violet-translucent:var(--color-theme-violet-translucent-dark);--color-on-theme:var(--color-on-theme-dark);--color-surface-primary:var(--color-surface-primary-dark);--color-surface-secondary:var(--color-surface-secondary-dark);--color-surface-tertiary:var(--color-surface-tertiary-dark);--color-shade-primary:var(--color-shade-primary-dark);--color-shade-secondary:var(--color-shade-secondary-dark);--color-shade-tertiary:var(--color-shade-tertiary-dark);--color-foreground-primary:var(--color-foreground-primary-dark);--color-foreground-secondary:var(--color-foreground-secondary-dark);--color-foreground-tertiary:var(--color-foreground-tertiary-dark);--color-outline-primary:var(--color-outline-primary-dark);--color-outline-secondary:var(--color-outline-secondary-dark);--color-overlay:var(--color-overlay-dark);--color-shadow:var(--color-shadow-dark)}@media (prefers-color-scheme: dark){:host{--color-theme-pink-solid:var(--color-theme-pink-solid-dark);--color-theme-red-solid:var(--color-theme-red-solid-dark);--color-theme-orange-solid:var(--color-theme-orange-solid-dark);--color-theme-green-solid:var(--color-theme-green-solid-dark);--color-theme-cyan-solid:var(--color-theme-cyan-solid-dark);--color-theme-blue-solid:var(--color-theme-blue-solid-dark);--color-theme-violet-solid:var(--color-theme-violet-solid-dark);--color-theme-pink-translucent:var(--color-theme-pink-translucent-dark);--color-theme-red-translucent:var(--color-theme-red-translucent-dark);--color-theme-orange-translucent:var(--color-theme-orange-translucent-dark);--color-theme-green-translucent:var(--color-theme-green-translucent-dark);--color-theme-cyan-translucent:var(--color-theme-cyan-translucent-dark);--color-theme-blue-translucent:var(--color-theme-blue-translucent-dark);--color-theme-violet-translucent:var(--color-theme-violet-translucent-dark);--color-on-theme:var(--color-on-theme-dark);--color-surface-primary:var(--color-surface-primary-dark);--color-surface-secondary:var(--color-surface-secondary-dark);--color-surface-tertiary:var(--color-surface-tertiary-dark);--color-shade-primary:var(--color-shade-primary-dark);--color-shade-secondary:var(--color-shade-secondary-dark);--color-shade-tertiary:var(--color-shade-tertiary-dark);--color-foreground-primary:var(--color-foreground-primary-dark);--color-foreground-secondary:var(--color-foreground-secondary-dark);--color-foreground-tertiary:var(--color-foreground-tertiary-dark);--color-outline-primary:var(--color-outline-primary-dark);--color-outline-secondary:var(--color-outline-secondary-dark);--color-overlay:var(--color-overlay-dark);--color-shadow:var(--color-shadow-dark)}}:host(.blue){--color-theme-solid:var(--color-theme-blue-solid);--color-theme-translucent:var(--color-theme-blue-translucent)}:host(.cyan){--color-theme-solid:var(--color-theme-cyan-solid);--color-theme-translucent:var(--color-theme-cyan-translucent)}:host(.green){--color-theme-solid:var(--color-theme-green-solid);--color-theme-translucent:var(--color-theme-green-translucent)}:host(.orange){--color-theme-solid:var(--color-theme-orange-solid);--color-theme-translucent:var(--color-theme-orange-translucent)}:host(.pink){--color-theme-solid:var(--color-theme-pink-solid);--color-theme-translucent:var(--color-theme-pink-translucent)}:host(.red){--color-theme-solid:var(--color-theme-red-solid);--color-theme-translucent:var(--color-theme-red-translucent)}:host(.violet){--color-theme-solid:var(--color-theme-violet-solid);--color-theme-translucent:var(--color-theme-violet-translucent)}";
|
|
4557
4627
|
|
|
4558
4628
|
let EzpPrinting$1 = class extends HTMLElement {
|
|
4559
4629
|
constructor() {
|
|
@@ -4561,6 +4631,7 @@ let EzpPrinting$1 = class extends HTMLElement {
|
|
|
4561
4631
|
this.__registerHost();
|
|
4562
4632
|
this.__attachShadow();
|
|
4563
4633
|
this.theme = 'cyan';
|
|
4634
|
+
this.appearance = 'system';
|
|
4564
4635
|
/**
|
|
4565
4636
|
*
|
|
4566
4637
|
* States
|
|
@@ -4624,6 +4695,7 @@ let EzpPrinting$1 = class extends HTMLElement {
|
|
|
4624
4695
|
componentWillLoad() {
|
|
4625
4696
|
authStore.state.redirectUri = this.redirecturi;
|
|
4626
4697
|
userStore.state.theme = this.theme;
|
|
4698
|
+
userStore.state.appearance = this.appearance;
|
|
4627
4699
|
if (this.authapihosturl) {
|
|
4628
4700
|
authStore.state.authApiHostUrl = this.authapihosturl;
|
|
4629
4701
|
}
|
|
@@ -4645,12 +4717,12 @@ let EzpPrinting$1 = class extends HTMLElement {
|
|
|
4645
4717
|
*
|
|
4646
4718
|
*/
|
|
4647
4719
|
render() {
|
|
4648
|
-
return (h(Host, { class: userStore.state.theme }, this.authOpen ? (h("ezp-auth", { clientID: this.clientid, redirectURI: this.redirecturi, hidelogin: this.hidelogin })) : this.printOpen ? (h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype })) : this.custom ? (h("slot", null)) : (h("ezp-icon-button", { id: "print-trigger", icon: "printer", slot: "trigger", type: "button", onClick: () => this.open() }))));
|
|
4720
|
+
return (h(Host, { class: `${userStore.state.theme} ${userStore.state.appearance}` }, this.authOpen ? (h("ezp-auth", { clientID: this.clientid, redirectURI: this.redirecturi, hidelogin: this.hidelogin })) : this.printOpen ? (h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype, fileid: this.fileid })) : this.custom ? (h("slot", null)) : (h("ezp-icon-button", { id: "print-trigger", icon: "printer", slot: "trigger", type: "button", onClick: () => this.open() }))));
|
|
4649
4721
|
}
|
|
4650
4722
|
static get style() { return ezpPrintingCss; }
|
|
4651
4723
|
};
|
|
4652
4724
|
|
|
4653
|
-
const ezpProgressCss = ":host{--stroke-width:4;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;background:var(--color-overlay);border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;display:grid;grid-template:auto/auto;height:100%;-ms-flex-pack:center;justify-content:center;justify-items:center;left:0;padding:var(--spacing-6);position:absolute;top:0;width:100%;z-index:9999}@media (prefers-color-scheme: dark){:host{--box-separator-position:inset 0 0 0 var(--hairline-width-positive)}}#box{background:var(--color-surface-tertiary);border-radius:3px;-webkit-box-shadow:var(--box-separator-position, 0 0 0 var(--hairline-width-positive)) var(--hairline-color);box-shadow:var(--box-separator-position, 0 0 0 var(--hairline-width-positive)) var(--hairline-color);display:grid;grid-row-gap:var(--spacing-2);grid-template-columns:1fr;grid-template-rows:repeat(2, auto);justify-items:center;padding:var(--spacing-4)}#indicator{-webkit-animation:rotate var(--duration-6) linear infinite;animation:rotate var(--duration-6) linear infinite;display:block;height:44px;-webkit-transform:rotate(0);transform:rotate(0);width:44px}#track{fill:none;stroke:var(--color-outline-
|
|
4725
|
+
const ezpProgressCss = ":host{--stroke-width:4;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;background:var(--color-overlay);border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;display:grid;grid-template:auto/auto;height:100%;-ms-flex-pack:center;justify-content:center;justify-items:center;left:0;padding:var(--spacing-6);position:absolute;top:0;width:100%;z-index:9999}@media (prefers-color-scheme: dark){:host{--box-separator-position:inset 0 0 0 var(--hairline-width-positive)}}#box{background:var(--color-surface-tertiary);border-radius:3px;-webkit-box-shadow:var(--box-separator-position, 0 0 0 var(--hairline-width-positive)) var(--hairline-color);box-shadow:var(--box-separator-position, 0 0 0 var(--hairline-width-positive)) var(--hairline-color);display:grid;grid-row-gap:var(--spacing-2);grid-template-columns:1fr;grid-template-rows:repeat(2, auto);justify-items:center;padding:var(--spacing-4)}#indicator{-webkit-animation:rotate var(--duration-6) linear infinite;animation:rotate var(--duration-6) linear infinite;display:block;height:44px;-webkit-transform:rotate(0);transform:rotate(0);width:44px}#track{fill:none;stroke:var(--color-outline-primary);stroke-width:var(--stroke-width)}#value{-webkit-animation:offset var(--duration-6) linear alternate infinite;animation:offset var(--duration-6) linear alternate infinite;fill:none;stroke:var(--color-theme-solid);stroke-dasharray:100;stroke-dashoffset:100;stroke-linecap:round;stroke-width:var(--stroke-width)}#status{color:var(--color-foreground-primary)}@-webkit-keyframes offset{100%{stroke-dashoffset:50}}@keyframes offset{100%{stroke-dashoffset:50}}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}";
|
|
4654
4726
|
|
|
4655
4727
|
let EzpProgress$1 = class extends HTMLElement {
|
|
4656
4728
|
constructor() {
|
|
@@ -4932,7 +5004,7 @@ let EzpTextButton$1 = class extends HTMLElement {
|
|
|
4932
5004
|
static get style() { return ezpTextButtonCss; }
|
|
4933
5005
|
};
|
|
4934
5006
|
|
|
4935
|
-
const ezpUserMenuCss = ":host{background:var(--color-surface-tertiary);border-radius:6px;-webkit-box-shadow:var(--host-separator-position, 0 0 0 var(--hairline-width-positive)) var(--hairline-color);box-shadow:var(--host-separator-position, 0 0 0 var(--hairline-width-positive)) var(--hairline-color);display:block;opacity:var(--host-opacity, 0);position:absolute;right:0;top:0;-webkit-transform:scale(var(--host-scale, 0.94, 0.94));transform:scale(var(--host-scale, 0.94, 0.94));-webkit-transform-origin:right top;transform-origin:right top;-webkit-transition:var(--host-transition, opacity var(--duration-3) var(--easing-out-quart), transform var(--duration-3) var(--easing-out-quart), visibility 0s var(--duration-3));transition:var(--host-transition, opacity var(--duration-3) var(--easing-out-quart), transform var(--duration-3) var(--easing-out-quart), visibility 0s var(--duration-3));visibility:var(--host-visibility, hidden);z-index:5}:host(.is-open){--host-opacity:1;--host-scale:1, 1;--host-transition:opacity var(--duration-3) var(--easing-out-quart),\n transform var(--duration-3) var(--easing-out-quart), visibility 0s 0s;--host-visibility:visible}@media (prefers-color-scheme: dark){:host{--host-separator-position:inset 0 0 0 var(--hairline-width-positive)}}#header{-ms-flex-align:center;align-items:center;-webkit-box-shadow:0 var(--hairline-width-positive) 0 0 var(--hairline-color);box-shadow:0 var(--hairline-width-positive) 0 0 var(--hairline-color);-webkit-box-shadow:0;box-shadow:0;display:grid;grid-template:auto/1fr auto;padding:var(--spacing-4) var(--spacing-3) var(--spacing-4) var(--spacing-4)}#name{color:var(--color-foreground-primary)}#close{margin:calc(var(--spacing-3) * -1) 0}#links{
|
|
5007
|
+
const ezpUserMenuCss = ":host{background:var(--color-surface-tertiary);border-radius:6px;-webkit-box-shadow:var(--host-separator-position, 0 0 0 var(--hairline-width-positive)) var(--hairline-color);box-shadow:var(--host-separator-position, 0 0 0 var(--hairline-width-positive)) var(--hairline-color);display:block;opacity:var(--host-opacity, 0);position:absolute;right:0;top:0;-webkit-transform:scale(var(--host-scale, 0.94, 0.94));transform:scale(var(--host-scale, 0.94, 0.94));-webkit-transform-origin:right top;transform-origin:right top;-webkit-transition:var(--host-transition, opacity var(--duration-3) var(--easing-out-quart), transform var(--duration-3) var(--easing-out-quart), visibility 0s var(--duration-3));transition:var(--host-transition, opacity var(--duration-3) var(--easing-out-quart), transform var(--duration-3) var(--easing-out-quart), visibility 0s var(--duration-3));visibility:var(--host-visibility, hidden);z-index:5}:host(.is-open){--host-opacity:1;--host-scale:1, 1;--host-transition:opacity var(--duration-3) var(--easing-out-quart),\n transform var(--duration-3) var(--easing-out-quart), visibility 0s 0s;--host-visibility:visible}@media (prefers-color-scheme: dark){:host{--host-separator-position:inset 0 0 0 var(--hairline-width-positive)}}#header{-ms-flex-align:center;align-items:center;-webkit-box-shadow:0 var(--hairline-width-positive) 0 0 var(--hairline-color);box-shadow:0 var(--hairline-width-positive) 0 0 var(--hairline-color);-webkit-box-shadow:0;box-shadow:0;display:grid;grid-template:auto/1fr auto;padding:var(--spacing-4) var(--spacing-3) var(--spacing-4) var(--spacing-4)}#name{color:var(--color-foreground-primary)}#close{margin:calc(var(--spacing-3) * -1) 0}#links{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:var(--spacing-2)}.link{-ms-flex-align:center;align-items:center;background:var(--link-background, transparent);border-radius:3px;color:var(--color-foreground-primary);cursor:pointer;display:grid;gap:var(--spacing-3);grid-template:auto/auto 1fr;padding:var(--spacing-3);text-decoration:none}.link:hover{--link-background:var(--color-shade-primary)}.link__icon{color:var(--color-theme-solid);margin:calc(var(--spacing-2) * -1) 0}#theme{-webkit-box-shadow:inset 0 var(--hairline-width-positive) 0 0 var(--hairline-color);box-shadow:inset 0 var(--hairline-width-positive) 0 0 var(--hairline-color);display:grid;gap:var(--spacing-3);grid-template:repeat(2, auto)/1fr;padding:var(--spacing-4) var(--spacing-4) var(--spacing-3)}#swatches{display:-ms-flexbox;display:flex;margin:0 calc(var(--spacing-2) * -1)}.swatch{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--swatch-background, transparent);border:0;border-radius:50%;color:var(--swatch-color);cursor:var(--swatch-cursor, pointer);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:0;opacity:var(--swatch-opacity, 1);outline:none;padding:var(--spacing-2)}@media (hover: hover){.swatch:not(.selected):hover{--swatch-background:var(--swatch-theme-translucent)}.swatch:not(.selected):active{--swatch-opacity:0.74}}.swatch.selected{--dot-boxShadowSize:10px;--swatch-background:var(--swatch-theme-translucent);--swatch-cursor:normal}.swatch.selected>.dot{-webkit-animation:dot-bounce var(--duration-2) ease-in-out;animation:dot-bounce var(--duration-2) ease-in-out}.swatch--blue{--swatch-theme-solid:var(--color-theme-blue-solid);--swatch-theme-translucent:var(--color-theme-blue-translucent)}.swatch--cyan{--swatch-theme-solid:var(--color-theme-cyan-solid);--swatch-theme-translucent:var(--color-theme-cyan-translucent)}.swatch--green{--swatch-theme-solid:var(--color-theme-green-solid);--swatch-theme-translucent:var(--color-theme-green-translucent)}.swatch--orange{--swatch-theme-solid:var(--color-theme-orange-solid);--swatch-theme-translucent:var(--color-theme-orange-translucent)}.swatch--pink{--swatch-theme-solid:var(--color-theme-pink-solid);--swatch-theme-translucent:var(--color-theme-pink-translucent)}.swatch--red{--swatch-theme-solid:var(--color-theme-red-solid);--swatch-theme-translucent:var(--color-theme-red-translucent)}.swatch--violet{--swatch-theme-solid:var(--color-theme-violet-solid);--swatch-theme-translucent:var(--color-theme-violet-translucent)}.dot{background:var(--dot-background, transparent);border-radius:50%;-webkit-box-shadow:inset 0 0 0 var(--dot-boxShadowSize, 4px) var(--swatch-theme-solid);box-shadow:inset 0 0 0 var(--dot-boxShadowSize, 4px) var(--swatch-theme-solid);height:18px;-webkit-transition:-webkit-box-shadow var(--duration-2);transition:-webkit-box-shadow var(--duration-2);transition:box-shadow var(--duration-2);transition:box-shadow var(--duration-2), -webkit-box-shadow var(--duration-2);width:18px}#appearance{-webkit-box-shadow:inset 0 var(--hairline-width-positive) 0 0 var(--hairline-color);box-shadow:inset 0 var(--hairline-width-positive) 0 0 var(--hairline-color);display:grid;gap:var(--spacing-3);grid-template:repeat(2, auto)/1fr;padding:var(--spacing-4) var(--spacing-4) var(--spacing-3)}#tabs{display:grid;grid-template:auto/repeat(3, 1fr);margin:0 calc(var(--spacing-2) * -1)}.tab{--icon-height:8px;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--tab-background, transparent);border:0;border-radius:14px;color:var(--tab-color, var(--color-foreground-secondary));cursor:var(--tab-cursor, pointer);display:-ms-flexbox;display:flex;gap:var(--spacing-2);-ms-flex-pack:center;justify-content:center;margin:0;outline:none;padding:var(--spacing-3) var(--spacing-3) var(--spacing-3) var(--spacing-2)}@media (hover: hover){.tab:not(.selected):hover{--tab-background:var(--color-shade-primary)}.tab:not(.selected):active{--tab-background:var(--color-shade-secondary)}}.tab.selected{--tab-background:var(--color-theme-translucent);--tab-color:var(--color-theme-solid);--tab-cursor:normal}@-webkit-keyframes dot-bounce{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}50%{-webkit-transform:scale(0.84, 0.84);transform:scale(0.84, 0.84)}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}}@keyframes dot-bounce{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}50%{-webkit-transform:scale(0.84, 0.84);transform:scale(0.84, 0.84)}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}}";
|
|
4936
5008
|
|
|
4937
5009
|
let EzpUserMenu$1 = class extends HTMLElement {
|
|
4938
5010
|
constructor() {
|
|
@@ -4955,6 +5027,11 @@ let EzpUserMenu$1 = class extends HTMLElement {
|
|
|
4955
5027
|
},
|
|
4956
5028
|
];
|
|
4957
5029
|
this.themes = ['pink', 'red', 'orange', 'green', 'cyan', 'blue', 'violet'];
|
|
5030
|
+
this.appearances = [
|
|
5031
|
+
{ title: 'System', name: 'system' },
|
|
5032
|
+
{ title: 'Light', name: 'light' },
|
|
5033
|
+
{ title: 'Dark', name: 'dark' },
|
|
5034
|
+
];
|
|
4958
5035
|
this.name = 'John Doe';
|
|
4959
5036
|
this.open = false;
|
|
4960
5037
|
this.handleClose = () => {
|
|
@@ -4968,6 +5045,9 @@ let EzpUserMenu$1 = class extends HTMLElement {
|
|
|
4968
5045
|
this.handleTheme = (theme) => {
|
|
4969
5046
|
userStore.state.theme = theme;
|
|
4970
5047
|
};
|
|
5048
|
+
this.handleAppearance = (appearance) => {
|
|
5049
|
+
userStore.state.appearance = appearance;
|
|
5050
|
+
};
|
|
4971
5051
|
}
|
|
4972
5052
|
/**
|
|
4973
5053
|
*
|
|
@@ -5009,7 +5089,7 @@ let EzpUserMenu$1 = class extends HTMLElement {
|
|
|
5009
5089
|
*
|
|
5010
5090
|
*/
|
|
5011
5091
|
render() {
|
|
5012
|
-
return (h(Host, { class: this.open ? 'is-open' : '' }, h("div", { id: "header" }, h("ezp-label", { ellipsis: true, id: "name", weight: "strong", text: this.name }), h("ezp-icon-button", { id: "close", level: "tertiary", icon: "close", onClick: this.handleClose })), h("div", { id: "links" }, this.links.map((link) => (h("a", { class: "link", href: link.href, target: "_blank", rel: "noopener noreferrer" }, h("ezp-icon", { class: "link__icon", name: link.icon }), h("ezp-label", { text: link.title })))), h("a", { class: "link", onClick: this.logOut }, h("ezp-icon", { class: "link__icon", name: "logout" }), h("ezp-label", { text: "Logout" }))), h("div", { id: "theme" }, h("ezp-label", { text: "Color Theme:" }), h("div", { id: "swatches" }, this.themes.map((theme) => (h("button", { class: `swatch swatch--${theme} ${theme === userStore.state.theme ? 'selected' : ''}`, onClick: () => this.handleTheme(theme) }, h("span", { class: "dot" }))))))));
|
|
5092
|
+
return (h(Host, { class: this.open ? 'is-open' : '' }, h("div", { id: "header" }, h("ezp-label", { ellipsis: true, id: "name", weight: "strong", text: this.name }), h("ezp-icon-button", { id: "close", level: "tertiary", icon: "close", onClick: this.handleClose })), h("div", { id: "links" }, this.links.map((link) => (h("a", { class: "link", href: link.href, target: "_blank", rel: "noopener noreferrer" }, h("ezp-icon", { class: "link__icon", name: link.icon }), h("ezp-label", { text: link.title })))), h("a", { class: "link", onClick: this.logOut }, h("ezp-icon", { class: "link__icon", name: "logout" }), h("ezp-label", { text: "Logout" }))), h("div", { id: "theme" }, h("ezp-label", { text: "Color Theme:", weight: "strong" }), h("div", { id: "swatches" }, this.themes.map((theme) => (h("button", { class: `swatch swatch--${theme} ${theme === userStore.state.theme ? 'selected' : ''}`, onClick: () => this.handleTheme(theme) }, h("span", { class: "dot" })))))), h("div", { id: "appearance" }, h("ezp-label", { text: "Appearance:", weight: "strong" }), h("div", { id: "tabs" }, this.appearances.map((appearance) => (h("button", { class: `tab ${appearance.name === userStore.state.appearance ? 'selected' : ''}`, onClick: () => this.handleAppearance(appearance.name) }, h("ezp-icon", { name: appearance.name }), h("ezp-label", { text: appearance.title, level: "tertiary", weight: "strong" }))))))));
|
|
5013
5093
|
}
|
|
5014
5094
|
get component() { return this; }
|
|
5015
5095
|
static get watchers() { return {
|
|
@@ -5024,8 +5104,8 @@ const EzpBackdrop = /*@__PURE__*/proxyCustomElement(EzpBackdrop$1, [1,"ezp-backd
|
|
|
5024
5104
|
const EzpIcon = /*@__PURE__*/proxyCustomElement(EzpIcon$1, [1,"ezp-icon",{"name":[1],"size":[1]}]);
|
|
5025
5105
|
const EzpIconButton = /*@__PURE__*/proxyCustomElement(EzpIconButton$1, [1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}]);
|
|
5026
5106
|
const EzpLabel = /*@__PURE__*/proxyCustomElement(EzpLabel$1, [1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]);
|
|
5027
|
-
const EzpPrinterSelection = /*@__PURE__*/proxyCustomElement(EzpPrinterSelection$1, [1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1],"fileurl":[1],"filetype":[1],"loading":[32],"options":[32],"printInProgress":[32],"userMenuOpen":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedProperties":[32],"previouslySelectedProperties":[32]},[[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"]]]);
|
|
5028
|
-
const EzpPrinting = /*@__PURE__*/proxyCustomElement(EzpPrinting$1, [1,"ezp-printing",{"clientid":[1],"redirecturi":[1],"filename":[1],"fileurl":[1],"filetype":[1],"custom":[4],"hidelogin":[4],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"printOpen":[32],"authOpen":[32]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authShow","listenAuthShow"],[0,"printShow","listenPrintShow"]]]);
|
|
5107
|
+
const EzpPrinterSelection = /*@__PURE__*/proxyCustomElement(EzpPrinterSelection$1, [1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1],"fileurl":[1],"filetype":[1],"fileid":[1],"loading":[32],"options":[32],"printInProgress":[32],"userMenuOpen":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedPrinterConfig":[32],"selectedProperties":[32],"previouslySelectedProperties":[32]},[[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"]]]);
|
|
5108
|
+
const EzpPrinting = /*@__PURE__*/proxyCustomElement(EzpPrinting$1, [1,"ezp-printing",{"clientid":[1],"redirecturi":[1],"filename":[1],"fileurl":[1],"filetype":[1],"custom":[4],"hidelogin":[4],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"fileid":[1],"appearance":[1],"printOpen":[32],"authOpen":[32]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authShow","listenAuthShow"],[0,"printShow","listenPrintShow"]]]);
|
|
5029
5109
|
const EzpProgress = /*@__PURE__*/proxyCustomElement(EzpProgress$1, [1,"ezp-progress",{"status":[1]}]);
|
|
5030
5110
|
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"],"expanded":[32],"selected":[32]}]);
|
|
5031
5111
|
const EzpStepper = /*@__PURE__*/proxyCustomElement(EzpStepper$1, [1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]}]);
|
|
@@ -115,13 +115,13 @@ export class EzpLabel {
|
|
|
115
115
|
|
|
116
116
|
export declare interface EzpPrinterSelection extends Components.EzpPrinterSelection {}
|
|
117
117
|
@ProxyCmp({
|
|
118
|
-
inputs: ['clientID', 'filename', 'filetype', 'fileurl', 'redirectURI']
|
|
118
|
+
inputs: ['clientID', 'fileid', 'filename', 'filetype', 'fileurl', 'redirectURI']
|
|
119
119
|
})
|
|
120
120
|
@Component({
|
|
121
121
|
selector: 'ezp-printer-selection',
|
|
122
122
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
123
123
|
template: '<ng-content></ng-content>',
|
|
124
|
-
inputs: ['clientID', 'filename', 'filetype', 'fileurl', 'redirectURI'],
|
|
124
|
+
inputs: ['clientID', 'fileid', 'filename', 'filetype', 'fileurl', 'redirectURI'],
|
|
125
125
|
outputs: ['printCancel', 'printSubmit']
|
|
126
126
|
})
|
|
127
127
|
export class EzpPrinterSelection {
|
|
@@ -140,14 +140,14 @@ export class EzpPrinterSelection {
|
|
|
140
140
|
|
|
141
141
|
export declare interface EzpPrinting extends Components.EzpPrinting {}
|
|
142
142
|
@ProxyCmp({
|
|
143
|
-
inputs: ['authapihosturl', 'clientid', 'custom', 'filename', 'filetype', 'fileurl', 'hidelogin', 'printapihosturl', 'redirecturi', 'theme'],
|
|
143
|
+
inputs: ['appearance', 'authapihosturl', 'clientid', 'custom', 'fileid', 'filename', 'filetype', 'fileurl', 'hidelogin', 'printapihosturl', 'redirecturi', 'theme'],
|
|
144
144
|
methods: ['open']
|
|
145
145
|
})
|
|
146
146
|
@Component({
|
|
147
147
|
selector: 'ezp-printing',
|
|
148
148
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
149
149
|
template: '<ng-content></ng-content>',
|
|
150
|
-
inputs: ['authapihosturl', 'clientid', 'custom', 'filename', 'filetype', 'fileurl', 'hidelogin', 'printapihosturl', 'redirecturi', 'theme']
|
|
150
|
+
inputs: ['appearance', 'authapihosturl', 'clientid', 'custom', 'fileid', 'filename', 'filetype', 'fileurl', 'hidelogin', 'printapihosturl', 'redirecturi', 'theme']
|
|
151
151
|
})
|
|
152
152
|
export class EzpPrinting {
|
|
153
153
|
protected el: HTMLElement;
|
package/dist/esm/ezeep.js
CHANGED
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
|
|
16
16
|
patchBrowser().then(options => {
|
|
17
17
|
globalScripts();
|
|
18
|
-
return bootstrapLazy([["ezp-auth_12",[[1,"ezp-printing",{"clientid":[1],"redirecturi":[1],"filename":[1],"fileurl":[1],"filetype":[1],"custom":[4],"hidelogin":[4],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"printOpen":[32],"authOpen":[32],"open":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authShow","listenAuthShow"],[0,"printShow","listenPrintShow"]]],[1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1],"fileurl":[1],"filetype":[1],"loading":[32],"options":[32],"printInProgress":[32],"userMenuOpen":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedProperties":[32],"previouslySelectedProperties":[32]},[[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"]]],[1,"ezp-auth",{"clientID":[1025,"client-i-d"],"redirectURI":[1025,"redirect-u-r-i"],"hidelogin":[4],"auth":[32],"authURI":[32],"accessToken":[32]}],[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"],"expanded":[32],"selected":[32]}],[1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]}],[1,"ezp-progress",{"status":[1]}],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1]}],[1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-icon",{"name":[1],"size":[1]}],[1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]]]], options);
|
|
18
|
+
return bootstrapLazy([["ezp-auth_12",[[1,"ezp-printing",{"clientid":[1],"redirecturi":[1],"filename":[1],"fileurl":[1],"filetype":[1],"custom":[4],"hidelogin":[4],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"fileid":[1],"appearance":[1],"printOpen":[32],"authOpen":[32],"open":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authShow","listenAuthShow"],[0,"printShow","listenPrintShow"]]],[1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1],"fileurl":[1],"filetype":[1],"fileid":[1],"loading":[32],"options":[32],"printInProgress":[32],"userMenuOpen":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedPrinterConfig":[32],"selectedProperties":[32],"previouslySelectedProperties":[32]},[[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"]]],[1,"ezp-auth",{"clientID":[1025,"client-i-d"],"redirectURI":[1025,"redirect-u-r-i"],"hidelogin":[4],"auth":[32],"authURI":[32],"accessToken":[32]}],[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"],"expanded":[32],"selected":[32]}],[1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]}],[1,"ezp-progress",{"status":[1]}],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1]}],[1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-icon",{"name":[1],"size":[1]}],[1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]]]], options);
|
|
19
19
|
});
|