@ezeep/ezeep-js 1.0.180 → 1.0.181
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/ezp-auth_14.cjs.entry.js +5 -5
- package/dist/collection/components/ezp-printing/ezp-printing.js +5 -5
- package/dist/custom-elements/index.js +5 -5
- package/dist/esm/ezp-auth_14.entry.js +5 -5
- package/dist/esm-es5/ezp-auth_14.entry.js +3 -3
- package/dist/ezeep/ezeep.esm.js +1 -1
- package/dist/ezeep/p-16c7584d.system.js +1 -1
- package/dist/ezeep/{p-ff9e1f95.entry.js → p-4d6a3c19.entry.js} +1 -1
- package/dist/ezeep/{p-96070f1c.system.entry.js → p-aefea3fb.system.entry.js} +1 -1
- package/dist/types/components/ezp-printing/ezp-printing.d.ts +1 -1
- package/package.json +1 -1
- package/www/build/ezeep.esm.js +1 -1
- package/www/build/p-16c7584d.system.js +1 -1
- package/www/build/{p-ff9e1f95.entry.js → p-4d6a3c19.entry.js} +1 -1
- package/www/build/{p-96070f1c.system.entry.js → p-aefea3fb.system.entry.js} +1 -1
|
@@ -33234,7 +33234,7 @@ let EzpPrinting = class {
|
|
|
33234
33234
|
authService.refreshTokens();
|
|
33235
33235
|
}, seconds * 1000);
|
|
33236
33236
|
}
|
|
33237
|
-
componentWillLoad() {
|
|
33237
|
+
async componentWillLoad() {
|
|
33238
33238
|
const systemAppearanceDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
33239
33239
|
this.systemAppearance = systemAppearanceDark.matches ? 'dark' : 'light';
|
|
33240
33240
|
systemAppearanceDark.addEventListener('change', (event) => {
|
|
@@ -33256,10 +33256,10 @@ let EzpPrinting = class {
|
|
|
33256
33256
|
printStore.state.printApiHostUrl = config.printingApiHostUrl;
|
|
33257
33257
|
}
|
|
33258
33258
|
if (this.code) {
|
|
33259
|
-
this.auth.
|
|
33260
|
-
|
|
33261
|
-
|
|
33262
|
-
|
|
33259
|
+
this.auth.code = this.code;
|
|
33260
|
+
await this.auth.getAccessToken();
|
|
33261
|
+
this.authOpen = false;
|
|
33262
|
+
this.printOpen = true;
|
|
33263
33263
|
}
|
|
33264
33264
|
sendCodeToParentWindow();
|
|
33265
33265
|
initi18n(this.language);
|
|
@@ -147,7 +147,7 @@ export class EzpPrinting {
|
|
|
147
147
|
authService.refreshTokens();
|
|
148
148
|
}, seconds * 1000);
|
|
149
149
|
}
|
|
150
|
-
componentWillLoad() {
|
|
150
|
+
async componentWillLoad() {
|
|
151
151
|
const systemAppearanceDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
152
152
|
this.systemAppearance = systemAppearanceDark.matches ? 'dark' : 'light';
|
|
153
153
|
systemAppearanceDark.addEventListener('change', (event) => {
|
|
@@ -169,10 +169,10 @@ export class EzpPrinting {
|
|
|
169
169
|
printStore.state.printApiHostUrl = config.printingApiHostUrl;
|
|
170
170
|
}
|
|
171
171
|
if (this.code) {
|
|
172
|
-
this.auth.
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
172
|
+
this.auth.code = this.code;
|
|
173
|
+
await this.auth.getAccessToken();
|
|
174
|
+
this.authOpen = false;
|
|
175
|
+
this.printOpen = true;
|
|
176
176
|
}
|
|
177
177
|
sendCodeToParentWindow();
|
|
178
178
|
initi18n(this.language);
|
|
@@ -33259,7 +33259,7 @@ let EzpPrinting$1 = class extends HTMLElement {
|
|
|
33259
33259
|
authService.refreshTokens();
|
|
33260
33260
|
}, seconds * 1000);
|
|
33261
33261
|
}
|
|
33262
|
-
componentWillLoad() {
|
|
33262
|
+
async componentWillLoad() {
|
|
33263
33263
|
const systemAppearanceDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
33264
33264
|
this.systemAppearance = systemAppearanceDark.matches ? 'dark' : 'light';
|
|
33265
33265
|
systemAppearanceDark.addEventListener('change', (event) => {
|
|
@@ -33281,10 +33281,10 @@ let EzpPrinting$1 = class extends HTMLElement {
|
|
|
33281
33281
|
printStore.state.printApiHostUrl = config.printingApiHostUrl;
|
|
33282
33282
|
}
|
|
33283
33283
|
if (this.code) {
|
|
33284
|
-
this.auth.
|
|
33285
|
-
|
|
33286
|
-
|
|
33287
|
-
|
|
33284
|
+
this.auth.code = this.code;
|
|
33285
|
+
await this.auth.getAccessToken();
|
|
33286
|
+
this.authOpen = false;
|
|
33287
|
+
this.printOpen = true;
|
|
33288
33288
|
}
|
|
33289
33289
|
sendCodeToParentWindow();
|
|
33290
33290
|
initi18n(this.language);
|
|
@@ -33230,7 +33230,7 @@ let EzpPrinting = class {
|
|
|
33230
33230
|
authService.refreshTokens();
|
|
33231
33231
|
}, seconds * 1000);
|
|
33232
33232
|
}
|
|
33233
|
-
componentWillLoad() {
|
|
33233
|
+
async componentWillLoad() {
|
|
33234
33234
|
const systemAppearanceDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
33235
33235
|
this.systemAppearance = systemAppearanceDark.matches ? 'dark' : 'light';
|
|
33236
33236
|
systemAppearanceDark.addEventListener('change', (event) => {
|
|
@@ -33252,10 +33252,10 @@ let EzpPrinting = class {
|
|
|
33252
33252
|
printStore.state.printApiHostUrl = config.printingApiHostUrl;
|
|
33253
33253
|
}
|
|
33254
33254
|
if (this.code) {
|
|
33255
|
-
this.auth.
|
|
33256
|
-
|
|
33257
|
-
|
|
33258
|
-
|
|
33255
|
+
this.auth.code = this.code;
|
|
33256
|
+
await this.auth.getAccessToken();
|
|
33257
|
+
this.authOpen = false;
|
|
33258
|
+
this.printOpen = true;
|
|
33259
33259
|
}
|
|
33260
33260
|
sendCodeToParentWindow();
|
|
33261
33261
|
initi18n(this.language);
|