@ezeep/ezeep-js 1.0.190 → 1.0.191

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.
@@ -33124,6 +33124,11 @@ let EzpPrinting = class {
33124
33124
  this.file = new File([uint8array], this.filename, { type: 'application/pdf' });
33125
33125
  }
33126
33126
  }
33127
+ watchFilename(newValue, oldValue) {
33128
+ if (newValue !== oldValue && newValue.length > 0) {
33129
+ this.filename = newValue;
33130
+ }
33131
+ }
33127
33132
  /**
33128
33133
  *
33129
33134
  * Listeners
@@ -33287,7 +33292,8 @@ let EzpPrinting = class {
33287
33292
  : userStore.state.appearance}` }, this.trigger === 'custom' ? (index.h("slot", null)) : this.trigger === 'file' ? (index.h("ezp-upload", null)) : (this.trigger === 'button' && (index.h("ezp-icon-button", { id: "print-trigger", icon: "printer", slot: "trigger", type: "button", onClick: () => this.open() }))), this.authOpen ? (index.h("ezp-auth", { clientID: this.clientid, redirectURI: this.redirecturi, hidelogin: this.hidelogin, trigger: this.trigger, code: this.code })) : this.printOpen ? (index.h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype, fileid: this.fileid, file: this.file, hidemenu: this.hidemenu })) : this.noDocumentOpen ? (index.h("ezp-dialog", { heading: i18next.t('no_document_dialog.heading'), description: i18next.t('no_document_dialog.description'), action: i18next.t('no_document_dialog.action'), iconName: "question-mark", instance: "no-document-selected" })) : null));
33288
33293
  }
33289
33294
  static get watchers() { return {
33290
- "filedata": ["watchFileData"]
33295
+ "filedata": ["watchFileData"],
33296
+ "filename": ["watchFilename"]
33291
33297
  }; }
33292
33298
  };
33293
33299
  EzpPrinting.style = ezpPrintingCss;
@@ -30,6 +30,11 @@ export class EzpPrinting {
30
30
  this.file = new File([uint8array], this.filename, { type: 'application/pdf' });
31
31
  }
32
32
  }
33
+ watchFilename(newValue, oldValue) {
34
+ if (newValue !== oldValue && newValue.length > 0) {
35
+ this.filename = newValue;
36
+ }
37
+ }
33
38
  /**
34
39
  *
35
40
  * Listeners
@@ -590,6 +595,9 @@ export class EzpPrinting {
590
595
  static get watchers() { return [{
591
596
  "propName": "filedata",
592
597
  "methodName": "watchFileData"
598
+ }, {
599
+ "propName": "filename",
600
+ "methodName": "watchFilename"
593
601
  }]; }
594
602
  static get listeners() { return [{
595
603
  "name": "printCancel",
@@ -33149,6 +33149,11 @@ let EzpPrinting$1 = class extends HTMLElement {
33149
33149
  this.file = new File([uint8array], this.filename, { type: 'application/pdf' });
33150
33150
  }
33151
33151
  }
33152
+ watchFilename(newValue, oldValue) {
33153
+ if (newValue !== oldValue && newValue.length > 0) {
33154
+ this.filename = newValue;
33155
+ }
33156
+ }
33152
33157
  /**
33153
33158
  *
33154
33159
  * Listeners
@@ -33312,7 +33317,8 @@ let EzpPrinting$1 = class extends HTMLElement {
33312
33317
  : userStore.state.appearance}` }, this.trigger === 'custom' ? (h("slot", null)) : this.trigger === 'file' ? (h("ezp-upload", null)) : (this.trigger === 'button' && (h("ezp-icon-button", { id: "print-trigger", icon: "printer", slot: "trigger", type: "button", onClick: () => this.open() }))), this.authOpen ? (h("ezp-auth", { clientID: this.clientid, redirectURI: this.redirecturi, hidelogin: this.hidelogin, trigger: this.trigger, code: this.code })) : this.printOpen ? (h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype, fileid: this.fileid, file: this.file, hidemenu: this.hidemenu })) : this.noDocumentOpen ? (h("ezp-dialog", { heading: i18next.t('no_document_dialog.heading'), description: i18next.t('no_document_dialog.description'), action: i18next.t('no_document_dialog.action'), iconName: "question-mark", instance: "no-document-selected" })) : null));
33313
33318
  }
33314
33319
  static get watchers() { return {
33315
- "filedata": ["watchFileData"]
33320
+ "filedata": ["watchFileData"],
33321
+ "filename": ["watchFilename"]
33316
33322
  }; }
33317
33323
  static get style() { return ezpPrintingCss; }
33318
33324
  };
@@ -33120,6 +33120,11 @@ let EzpPrinting = class {
33120
33120
  this.file = new File([uint8array], this.filename, { type: 'application/pdf' });
33121
33121
  }
33122
33122
  }
33123
+ watchFilename(newValue, oldValue) {
33124
+ if (newValue !== oldValue && newValue.length > 0) {
33125
+ this.filename = newValue;
33126
+ }
33127
+ }
33123
33128
  /**
33124
33129
  *
33125
33130
  * Listeners
@@ -33283,7 +33288,8 @@ let EzpPrinting = class {
33283
33288
  : userStore.state.appearance}` }, this.trigger === 'custom' ? (h("slot", null)) : this.trigger === 'file' ? (h("ezp-upload", null)) : (this.trigger === 'button' && (h("ezp-icon-button", { id: "print-trigger", icon: "printer", slot: "trigger", type: "button", onClick: () => this.open() }))), this.authOpen ? (h("ezp-auth", { clientID: this.clientid, redirectURI: this.redirecturi, hidelogin: this.hidelogin, trigger: this.trigger, code: this.code })) : this.printOpen ? (h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype, fileid: this.fileid, file: this.file, hidemenu: this.hidemenu })) : this.noDocumentOpen ? (h("ezp-dialog", { heading: i18next.t('no_document_dialog.heading'), description: i18next.t('no_document_dialog.description'), action: i18next.t('no_document_dialog.action'), iconName: "question-mark", instance: "no-document-selected" })) : null));
33284
33289
  }
33285
33290
  static get watchers() { return {
33286
- "filedata": ["watchFileData"]
33291
+ "filedata": ["watchFileData"],
33292
+ "filename": ["watchFilename"]
33287
33293
  }; }
33288
33294
  };
33289
33295
  EzpPrinting.style = ezpPrintingCss;