@ezeep/ezeep-js 1.0.193 → 1.0.194

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.
@@ -33125,6 +33125,9 @@ let EzpPrinting = class {
33125
33125
  if (newValue !== oldValue && newValue.length > 0) {
33126
33126
  const uint8array = new TextEncoder().encode(newValue);
33127
33127
  this.file = new File([uint8array], this.filename, { type: 'application/pdf' });
33128
+ if (authStore.state.isAuthorized) {
33129
+ this.printOpen = true;
33130
+ }
33128
33131
  }
33129
33132
  }
33130
33133
  watchFilename(newValue, oldValue) {
@@ -28,6 +28,9 @@ export class EzpPrinting {
28
28
  if (newValue !== oldValue && newValue.length > 0) {
29
29
  const uint8array = new TextEncoder().encode(newValue);
30
30
  this.file = new File([uint8array], this.filename, { type: 'application/pdf' });
31
+ if (authStore.state.isAuthorized) {
32
+ this.printOpen = true;
33
+ }
31
34
  }
32
35
  }
33
36
  watchFilename(newValue, oldValue) {
@@ -33150,6 +33150,9 @@ let EzpPrinting$1 = class extends HTMLElement {
33150
33150
  if (newValue !== oldValue && newValue.length > 0) {
33151
33151
  const uint8array = new TextEncoder().encode(newValue);
33152
33152
  this.file = new File([uint8array], this.filename, { type: 'application/pdf' });
33153
+ if (authStore.state.isAuthorized) {
33154
+ this.printOpen = true;
33155
+ }
33153
33156
  }
33154
33157
  }
33155
33158
  watchFilename(newValue, oldValue) {
@@ -33121,6 +33121,9 @@ let EzpPrinting = class {
33121
33121
  if (newValue !== oldValue && newValue.length > 0) {
33122
33122
  const uint8array = new TextEncoder().encode(newValue);
33123
33123
  this.file = new File([uint8array], this.filename, { type: 'application/pdf' });
33124
+ if (authStore.state.isAuthorized) {
33125
+ this.printOpen = true;
33126
+ }
33124
33127
  }
33125
33128
  }
33126
33129
  watchFilename(newValue, oldValue) {