@ezeep/ezeep-js 1.0.207 → 1.0.208

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.
@@ -33105,6 +33105,7 @@ const ezpPrintingCss = ":host{--ezp-black-5:rgba(0, 0, 0, 0.05);--ezp-black-10:r
33105
33105
  let EzpPrinting = class {
33106
33106
  constructor(hostRef) {
33107
33107
  index.registerInstance(this, hostRef);
33108
+ this.printFinished = index.createEvent(this, "printFinished", 7);
33108
33109
  this.filename = '';
33109
33110
  this.hidemenu = false;
33110
33111
  this.hideheader = false;
@@ -33148,11 +33149,13 @@ let EzpPrinting = class {
33148
33149
  /** Description... */
33149
33150
  listenPrintCancel() {
33150
33151
  this.printOpen = false;
33152
+ this.printFinished.emit();
33151
33153
  this.checkAuth();
33152
33154
  }
33153
33155
  /** Description... */
33154
33156
  listenPrintSubmit() {
33155
33157
  this.printOpen = false;
33158
+ this.printFinished.emit();
33156
33159
  this.checkAuth();
33157
33160
  }
33158
33161
  /** Description... */
@@ -1,4 +1,4 @@
1
- import { Component, Host, State, Listen, Method, h, Prop, Watch } from '@stencil/core';
1
+ import { Component, Host, State, Listen, Method, h, Prop, Watch, Event } from '@stencil/core';
2
2
  import authStore, { EzpAuthorizationService, sendCodeToParentWindow } from '../../services/auth';
3
3
  import printStore, { EzpPrintService } from '../../services/print';
4
4
  import userStore from '../../services/user';
@@ -50,11 +50,13 @@ export class EzpPrinting {
50
50
  /** Description... */
51
51
  listenPrintCancel() {
52
52
  this.printOpen = false;
53
+ this.printFinished.emit();
53
54
  this.checkAuth();
54
55
  }
55
56
  /** Description... */
56
57
  listenPrintSubmit() {
57
58
  this.printOpen = false;
59
+ this.printFinished.emit();
58
60
  this.checkAuth();
59
61
  }
60
62
  /** Description... */
@@ -570,6 +572,22 @@ export class EzpPrinting {
570
572
  "systemAppearance": {},
571
573
  "file": {}
572
574
  }; }
575
+ static get events() { return [{
576
+ "method": "printFinished",
577
+ "name": "printFinished",
578
+ "bubbles": true,
579
+ "cancelable": true,
580
+ "composed": true,
581
+ "docs": {
582
+ "tags": [],
583
+ "text": "Events"
584
+ },
585
+ "complexType": {
586
+ "original": "any",
587
+ "resolved": "any",
588
+ "references": {}
589
+ }
590
+ }]; }
573
591
  static get methods() { return {
574
592
  "open": {
575
593
  "complexType": {
@@ -33130,6 +33130,7 @@ let EzpPrinting$1 = class extends HTMLElement {
33130
33130
  super();
33131
33131
  this.__registerHost();
33132
33132
  this.__attachShadow();
33133
+ this.printFinished = createEvent(this, "printFinished", 7);
33133
33134
  this.filename = '';
33134
33135
  this.hidemenu = false;
33135
33136
  this.hideheader = false;
@@ -33173,11 +33174,13 @@ let EzpPrinting$1 = class extends HTMLElement {
33173
33174
  /** Description... */
33174
33175
  listenPrintCancel() {
33175
33176
  this.printOpen = false;
33177
+ this.printFinished.emit();
33176
33178
  this.checkAuth();
33177
33179
  }
33178
33180
  /** Description... */
33179
33181
  listenPrintSubmit() {
33180
33182
  this.printOpen = false;
33183
+ this.printFinished.emit();
33181
33184
  this.checkAuth();
33182
33185
  }
33183
33186
  /** Description... */
@@ -173,13 +173,17 @@ export declare interface EzpPrinting extends Components.EzpPrinting {}
173
173
  selector: 'ezp-printing',
174
174
  changeDetection: ChangeDetectionStrategy.OnPush,
175
175
  template: '<ng-content></ng-content>',
176
- inputs: ['appearance', 'authapihosturl', 'clientid', 'code', 'custom', 'filedata', 'fileid', 'filename', 'filetype', 'fileurl', 'hideheader', 'hidelogin', 'hidemenu', 'language', 'printapihosturl', 'redirecturi', 'seamless', 'theme', 'trigger']
176
+ inputs: ['appearance', 'authapihosturl', 'clientid', 'code', 'custom', 'filedata', 'fileid', 'filename', 'filetype', 'fileurl', 'hideheader', 'hidelogin', 'hidemenu', 'language', 'printapihosturl', 'redirecturi', 'seamless', 'theme', 'trigger'],
177
+ outputs: ['printFinished']
177
178
  })
178
179
  export class EzpPrinting {
180
+ /** Events */
181
+ printFinished!: EventEmitter<CustomEvent<any>>;
179
182
  protected el: HTMLElement;
180
183
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
181
184
  c.detach();
182
185
  this.el = r.nativeElement;
186
+ proxyOutputs(this, this.el, ['printFinished']);
183
187
  }
184
188
  }
185
189
 
@@ -33101,6 +33101,7 @@ const ezpPrintingCss = ":host{--ezp-black-5:rgba(0, 0, 0, 0.05);--ezp-black-10:r
33101
33101
  let EzpPrinting = class {
33102
33102
  constructor(hostRef) {
33103
33103
  registerInstance(this, hostRef);
33104
+ this.printFinished = createEvent(this, "printFinished", 7);
33104
33105
  this.filename = '';
33105
33106
  this.hidemenu = false;
33106
33107
  this.hideheader = false;
@@ -33144,11 +33145,13 @@ let EzpPrinting = class {
33144
33145
  /** Description... */
33145
33146
  listenPrintCancel() {
33146
33147
  this.printOpen = false;
33148
+ this.printFinished.emit();
33147
33149
  this.checkAuth();
33148
33150
  }
33149
33151
  /** Description... */
33150
33152
  listenPrintSubmit() {
33151
33153
  this.printOpen = false;
33154
+ this.printFinished.emit();
33152
33155
  this.checkAuth();
33153
33156
  }
33154
33157
  /** Description... */