@ezeep/ezeep-js 1.0.271 → 1.0.277

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.
Files changed (120) hide show
  1. package/dist/cjs/{app-globals-D7ISNeUi.js → app-globals-L_3XPZxT.js} +7 -1
  2. package/dist/cjs/ezeep.cjs.js +4 -4
  3. package/dist/cjs/ezp-auth_15.cjs.entry.js +7240 -3678
  4. package/dist/cjs/{index-dv_gozsq.js → index-DM5v_sge.js} +3 -2
  5. package/dist/cjs/loader.cjs.js +3 -3
  6. package/dist/collection/collection-manifest.json +1 -1
  7. package/dist/collection/components/ezp-auth/ezp-auth.css +1 -1
  8. package/dist/collection/components/ezp-auth/ezp-auth.js +56 -15
  9. package/dist/collection/components/ezp-backdrop/ezp-backdrop.js +5 -5
  10. package/dist/collection/components/ezp-dialog/ezp-dialog.js +85 -13
  11. package/dist/collection/components/ezp-icon/ezp-icon.js +7 -2
  12. package/dist/collection/components/ezp-icon-button/ezp-icon-button.js +4 -1
  13. package/dist/collection/components/ezp-input/ezp-input.css +9 -12
  14. package/dist/collection/components/ezp-input/ezp-input.js +15 -13
  15. package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +207 -323
  16. package/dist/collection/components/ezp-printing/ezp-printing.css +9 -9
  17. package/dist/collection/components/ezp-printing/ezp-printing.js +107 -35
  18. package/dist/collection/components/ezp-select/ezp-select.css +2 -2
  19. package/dist/collection/components/ezp-select/ezp-select.js +92 -13
  20. package/dist/collection/components/ezp-status/ezp-status.js +23 -13
  21. package/dist/collection/components/ezp-stepper/ezp-stepper.js +13 -6
  22. package/dist/collection/components/ezp-text-button/ezp-text-button.js +1 -1
  23. package/dist/collection/components/ezp-upload/ezp-upload.css +9 -9
  24. package/dist/collection/components/ezp-upload/ezp-upload.js +26 -8
  25. package/dist/collection/components/ezp-user-menu/ezp-user-menu.css +2 -1
  26. package/dist/collection/components/ezp-user-menu/ezp-user-menu.js +15 -15
  27. package/dist/collection/services/auth.js +37 -36
  28. package/dist/collection/services/http.js +11 -0
  29. package/dist/collection/services/print-job.js +72 -0
  30. package/dist/collection/services/print.js +21 -69
  31. package/dist/collection/services/user.js +2 -9
  32. package/dist/collection/shared/constants.js +55 -0
  33. package/dist/collection/shared/global.js +7 -1
  34. package/dist/collection/shared/storage.js +71 -0
  35. package/dist/collection/types/shared/types.d.ts +40 -9
  36. package/dist/collection/utils/printer.js +68 -0
  37. package/dist/collection/utils/utils.js +24 -9
  38. package/dist/components/auth.js +1 -1
  39. package/dist/components/ezp-auth2.js +1 -1
  40. package/dist/components/ezp-backdrop2.js +1 -1
  41. package/dist/components/ezp-dialog2.js +1 -1
  42. package/dist/components/ezp-icon-button2.js +1 -1
  43. package/dist/components/ezp-icon2.js +1 -1
  44. package/dist/components/ezp-input2.js +1 -1
  45. package/dist/components/ezp-printer-selection2.js +1 -1
  46. package/dist/components/ezp-printing.js +1 -1
  47. package/dist/components/ezp-select2.js +1 -1
  48. package/dist/components/ezp-status2.js +1 -1
  49. package/dist/components/ezp-stepper2.js +1 -1
  50. package/dist/components/ezp-text-button2.js +1 -1
  51. package/dist/components/ezp-upload2.js +1 -1
  52. package/dist/components/ezp-user-menu.js +1 -1
  53. package/dist/components/ezp-user-menu2.js +1 -1
  54. package/dist/components/index.js +1 -1
  55. package/dist/components/utils.js +1 -0
  56. package/dist/directives/proxies.ts +82 -59
  57. package/dist/esm/{app-globals-CpP67t2l.js → app-globals-C0WTlb31.js} +7 -1
  58. package/dist/esm/ezeep.js +5 -5
  59. package/dist/esm/ezp-auth_15.entry.js +7240 -3678
  60. package/dist/esm/{index-BTfWEHH9.js → index-BButrLnB.js} +3 -3
  61. package/dist/esm/loader.js +4 -4
  62. package/dist/esm-es5/{app-globals-CpP67t2l.js → app-globals-C0WTlb31.js} +1 -1
  63. package/dist/esm-es5/ezeep.js +1 -1
  64. package/dist/esm-es5/ezp-auth_15.entry.js +2 -2
  65. package/dist/esm-es5/{index-BTfWEHH9.js → index-BButrLnB.js} +3 -3
  66. package/dist/esm-es5/loader.js +1 -1
  67. package/dist/ezeep/ezeep.esm.js +1 -1
  68. package/dist/ezeep/ezeep.js +1 -1
  69. package/dist/ezeep/p-644e48a0.system.entry.js +7 -0
  70. package/dist/ezeep/{p-BTfWEHH9.js → p-BButrLnB.js} +2 -2
  71. package/dist/ezeep/{p-CpP67t2l.js → p-C0WTlb31.js} +1 -1
  72. package/{www/build/p-DhXN1yGM.system.js → dist/ezeep/p-CYpousxy.system.js} +2 -2
  73. package/dist/ezeep/{p-5ok9OZMg.system.js → p-D4aCr1OK.system.js} +1 -1
  74. package/dist/ezeep/{p-CfQRcOh8.system.js → p-DCznw2Ee.system.js} +1 -1
  75. package/dist/ezeep/p-ebd2beda.entry.js +1 -0
  76. package/dist/ezeep/types/shared/types.d.ts +40 -9
  77. package/dist/types/components/ezp-auth/ezp-auth.d.ts +8 -5
  78. package/dist/types/components/ezp-backdrop/ezp-backdrop.d.ts +2 -2
  79. package/dist/types/components/ezp-dialog/ezp-dialog.d.ts +14 -3
  80. package/dist/types/components/ezp-input/ezp-input.d.ts +17 -14
  81. package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +23 -7
  82. package/dist/types/components/ezp-printing/ezp-printing.d.ts +25 -2
  83. package/dist/types/components/ezp-select/ezp-select.d.ts +10 -4
  84. package/dist/types/components/ezp-status/ezp-status.d.ts +6 -4
  85. package/dist/types/components/ezp-stepper/ezp-stepper.d.ts +1 -1
  86. package/dist/types/components/ezp-upload/ezp-upload.d.ts +4 -1
  87. package/dist/types/components/ezp-user-menu/ezp-user-menu.d.ts +5 -2
  88. package/dist/types/components.d.ts +38 -38
  89. package/dist/types/services/auth.d.ts +10 -0
  90. package/dist/types/services/http.d.ts +4 -0
  91. package/dist/types/services/print-job.d.ts +48 -0
  92. package/dist/types/services/print.d.ts +10 -9
  93. package/dist/types/services/user.d.ts +13 -2
  94. package/dist/types/shared/constants.d.ts +51 -0
  95. package/dist/types/shared/storage.d.ts +24 -0
  96. package/dist/types/shared/types.d.ts +40 -9
  97. package/dist/types/stencil-public-runtime.d.ts +1 -0
  98. package/dist/types/utils/printer.d.ts +22 -0
  99. package/dist/types/utils/utils.d.ts +22 -10
  100. package/package.json +30 -18
  101. package/readme.md +1 -0
  102. package/www/build/ezeep.esm.js +1 -1
  103. package/www/build/ezeep.js +1 -1
  104. package/www/build/p-644e48a0.system.entry.js +7 -0
  105. package/www/build/{p-BTfWEHH9.js → p-BButrLnB.js} +2 -2
  106. package/www/build/{p-CpP67t2l.js → p-C0WTlb31.js} +1 -1
  107. package/{dist/ezeep/p-DhXN1yGM.system.js → www/build/p-CYpousxy.system.js} +2 -2
  108. package/www/build/{p-5ok9OZMg.system.js → p-D4aCr1OK.system.js} +1 -1
  109. package/www/build/{p-CfQRcOh8.system.js → p-DCznw2Ee.system.js} +1 -1
  110. package/www/build/p-c7252f1c.js +1 -0
  111. package/www/build/p-ebd2beda.entry.js +1 -0
  112. package/www/data/locales/de.json +1 -0
  113. package/www/data/locales/en.json +1 -0
  114. package/www/index.html +2 -5
  115. package/dist/components/i18next.js +0 -1
  116. package/dist/ezeep/p-2177b8f4.system.entry.js +0 -7
  117. package/dist/ezeep/p-de8f6583.entry.js +0 -1
  118. package/www/build/p-2177b8f4.system.entry.js +0 -7
  119. package/www/build/p-256870db.js +0 -1
  120. package/www/build/p-de8f6583.entry.js +0 -1
@@ -4,23 +4,23 @@ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, Even
4
4
 
5
5
  import { ProxyCmp } from './angular-component-lib/utils';
6
6
 
7
- import type { Components } from '@ezeep/ezeep-js/components';
8
-
9
- import { defineCustomElement as defineEzpAuth } from '@ezeep/ezeep-js/components/ezp-auth.js';
10
- import { defineCustomElement as defineEzpBackdrop } from '@ezeep/ezeep-js/components/ezp-backdrop.js';
11
- import { defineCustomElement as defineEzpDialog } from '@ezeep/ezeep-js/components/ezp-dialog.js';
12
- import { defineCustomElement as defineEzpIcon } from '@ezeep/ezeep-js/components/ezp-icon.js';
13
- import { defineCustomElement as defineEzpIconButton } from '@ezeep/ezeep-js/components/ezp-icon-button.js';
14
- import { defineCustomElement as defineEzpInput } from '@ezeep/ezeep-js/components/ezp-input.js';
15
- import { defineCustomElement as defineEzpLabel } from '@ezeep/ezeep-js/components/ezp-label.js';
16
- import { defineCustomElement as defineEzpPrinterSelection } from '@ezeep/ezeep-js/components/ezp-printer-selection.js';
17
- import { defineCustomElement as defineEzpPrinting } from '@ezeep/ezeep-js/components/ezp-printing.js';
18
- import { defineCustomElement as defineEzpSelect } from '@ezeep/ezeep-js/components/ezp-select.js';
19
- import { defineCustomElement as defineEzpStatus } from '@ezeep/ezeep-js/components/ezp-status.js';
20
- import { defineCustomElement as defineEzpStepper } from '@ezeep/ezeep-js/components/ezp-stepper.js';
21
- import { defineCustomElement as defineEzpTextButton } from '@ezeep/ezeep-js/components/ezp-text-button.js';
22
- import { defineCustomElement as defineEzpUpload } from '@ezeep/ezeep-js/components/ezp-upload.js';
23
- import { defineCustomElement as defineEzpUserMenu } from '@ezeep/ezeep-js/components/ezp-user-menu.js';
7
+ import type { Components } from '@ezeep/ezeep-js/dist/components';
8
+
9
+ import { defineCustomElement as defineEzpAuth } from '@ezeep/ezeep-js/dist/components/ezp-auth.js';
10
+ import { defineCustomElement as defineEzpBackdrop } from '@ezeep/ezeep-js/dist/components/ezp-backdrop.js';
11
+ import { defineCustomElement as defineEzpDialog } from '@ezeep/ezeep-js/dist/components/ezp-dialog.js';
12
+ import { defineCustomElement as defineEzpIcon } from '@ezeep/ezeep-js/dist/components/ezp-icon.js';
13
+ import { defineCustomElement as defineEzpIconButton } from '@ezeep/ezeep-js/dist/components/ezp-icon-button.js';
14
+ import { defineCustomElement as defineEzpInput } from '@ezeep/ezeep-js/dist/components/ezp-input.js';
15
+ import { defineCustomElement as defineEzpLabel } from '@ezeep/ezeep-js/dist/components/ezp-label.js';
16
+ import { defineCustomElement as defineEzpPrinterSelection } from '@ezeep/ezeep-js/dist/components/ezp-printer-selection.js';
17
+ import { defineCustomElement as defineEzpPrinting } from '@ezeep/ezeep-js/dist/components/ezp-printing.js';
18
+ import { defineCustomElement as defineEzpSelect } from '@ezeep/ezeep-js/dist/components/ezp-select.js';
19
+ import { defineCustomElement as defineEzpStatus } from '@ezeep/ezeep-js/dist/components/ezp-status.js';
20
+ import { defineCustomElement as defineEzpStepper } from '@ezeep/ezeep-js/dist/components/ezp-stepper.js';
21
+ import { defineCustomElement as defineEzpTextButton } from '@ezeep/ezeep-js/dist/components/ezp-text-button.js';
22
+ import { defineCustomElement as defineEzpUpload } from '@ezeep/ezeep-js/dist/components/ezp-upload.js';
23
+ import { defineCustomElement as defineEzpUserMenu } from '@ezeep/ezeep-js/dist/components/ezp-user-menu.js';
24
24
  @ProxyCmp({
25
25
  defineCustomElementFn: defineEzpAuth,
26
26
  inputs: ['clientID', 'code', 'hidelogin', 'redirectURI', 'trigger']
@@ -35,9 +35,9 @@ import { defineCustomElement as defineEzpUserMenu } from '@ezeep/ezeep-js/compon
35
35
  })
36
36
  export class EzpAuth {
37
37
  protected el: HTMLEzpAuthElement;
38
- @Output() authCancel = new EventEmitter<CustomEvent<MouseEvent>>();
39
- @Output() authSuccess = new EventEmitter<CustomEvent<any>>();
40
- @Output() userCancel = new EventEmitter<CustomEvent<any>>();
38
+ @Output() authCancel = new EventEmitter<EzpAuthCustomEvent<MouseEvent>>();
39
+ @Output() authSuccess = new EventEmitter<EzpAuthCustomEvent<void>>();
40
+ @Output() userCancel = new EventEmitter<EzpAuthCustomEvent<void>>();
41
41
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
42
42
  c.detach();
43
43
  this.el = r.nativeElement;
@@ -45,13 +45,15 @@ export class EzpAuth {
45
45
  }
46
46
 
47
47
 
48
+ import type { EzpAuthCustomEvent } from '@ezeep/ezeep-js/dist/components';
49
+
48
50
  export declare interface EzpAuth extends Components.EzpAuth {
49
51
 
50
- authCancel: EventEmitter<CustomEvent<MouseEvent>>;
52
+ authCancel: EventEmitter<EzpAuthCustomEvent<MouseEvent>>;
51
53
 
52
- authSuccess: EventEmitter<CustomEvent<any>>;
54
+ authSuccess: EventEmitter<EzpAuthCustomEvent<void>>;
53
55
 
54
- userCancel: EventEmitter<CustomEvent<any>>;
56
+ userCancel: EventEmitter<EzpAuthCustomEvent<void>>;
55
57
  }
56
58
 
57
59
 
@@ -69,8 +71,8 @@ export declare interface EzpAuth extends Components.EzpAuth {
69
71
  })
70
72
  export class EzpBackdrop {
71
73
  protected el: HTMLEzpBackdropElement;
72
- @Output() backdropHideStart = new EventEmitter<CustomEvent<any>>();
73
- @Output() backdropHideEnd = new EventEmitter<CustomEvent<any>>();
74
+ @Output() backdropHideStart = new EventEmitter<EzpBackdropCustomEvent<void>>();
75
+ @Output() backdropHideEnd = new EventEmitter<EzpBackdropCustomEvent<void>>();
74
76
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
75
77
  c.detach();
76
78
  this.el = r.nativeElement;
@@ -78,11 +80,13 @@ export class EzpBackdrop {
78
80
  }
79
81
 
80
82
 
83
+ import type { EzpBackdropCustomEvent } from '@ezeep/ezeep-js/dist/components';
84
+
81
85
  export declare interface EzpBackdrop extends Components.EzpBackdrop {
82
86
 
83
- backdropHideStart: EventEmitter<CustomEvent<any>>;
87
+ backdropHideStart: EventEmitter<EzpBackdropCustomEvent<void>>;
84
88
 
85
- backdropHideEnd: EventEmitter<CustomEvent<any>>;
89
+ backdropHideEnd: EventEmitter<EzpBackdropCustomEvent<void>>;
86
90
  }
87
91
 
88
92
 
@@ -100,8 +104,8 @@ export declare interface EzpBackdrop extends Components.EzpBackdrop {
100
104
  })
101
105
  export class EzpDialog {
102
106
  protected el: HTMLEzpDialogElement;
103
- @Output() dialogClose = new EventEmitter<CustomEvent<any>>();
104
- @Output() dialogAction = new EventEmitter<CustomEvent<any>>();
107
+ @Output() dialogClose = new EventEmitter<EzpDialogCustomEvent<string>>();
108
+ @Output() dialogAction = new EventEmitter<EzpDialogCustomEvent<string>>();
105
109
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
106
110
  c.detach();
107
111
  this.el = r.nativeElement;
@@ -109,14 +113,16 @@ export class EzpDialog {
109
113
  }
110
114
 
111
115
 
116
+ import type { EzpDialogCustomEvent } from '@ezeep/ezeep-js/dist/components';
117
+
112
118
  export declare interface EzpDialog extends Components.EzpDialog {
113
119
  /**
114
120
  *
115
121
  Events
116
122
  */
117
- dialogClose: EventEmitter<CustomEvent<any>>;
123
+ dialogClose: EventEmitter<EzpDialogCustomEvent<string>>;
118
124
 
119
- dialogAction: EventEmitter<CustomEvent<any>>;
125
+ dialogAction: EventEmitter<EzpDialogCustomEvent<string>>;
120
126
  }
121
127
 
122
128
 
@@ -180,7 +186,7 @@ export declare interface EzpIconButton extends Components.EzpIconButton {}
180
186
  })
181
187
  export class EzpInput {
182
188
  protected el: HTMLEzpInputElement;
183
- @Output() inputValueChanged = new EventEmitter<CustomEvent<any>>();
189
+ @Output() inputValueChanged = new EventEmitter<EzpInputCustomEvent<{ type: string; value: string | number }>>();
184
190
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
185
191
  c.detach();
186
192
  this.el = r.nativeElement;
@@ -188,12 +194,14 @@ export class EzpInput {
188
194
  }
189
195
 
190
196
 
197
+ import type { EzpInputCustomEvent } from '@ezeep/ezeep-js/dist/components';
198
+
191
199
  export declare interface EzpInput extends Components.EzpInput {
192
200
  /**
193
201
  *
194
202
  Events
195
203
  */
196
- inputValueChanged: EventEmitter<CustomEvent<any>>;
204
+ inputValueChanged: EventEmitter<EzpInputCustomEvent<{ type: string; value: string | number }>>;
197
205
  }
198
206
 
199
207
 
@@ -234,9 +242,9 @@ export declare interface EzpLabel extends Components.EzpLabel {}
234
242
  })
235
243
  export class EzpPrinterSelection {
236
244
  protected el: HTMLEzpPrinterSelectionElement;
237
- @Output() printCancel = new EventEmitter<CustomEvent<MouseEvent>>();
238
- @Output() printSubmit = new EventEmitter<CustomEvent<MouseEvent>>();
239
- @Output() logout = new EventEmitter<CustomEvent<MouseEvent>>();
245
+ @Output() printCancel = new EventEmitter<EzpPrinterSelectionCustomEvent<MouseEvent>>();
246
+ @Output() printSubmit = new EventEmitter<EzpPrinterSelectionCustomEvent<MouseEvent>>();
247
+ @Output() logout = new EventEmitter<EzpPrinterSelectionCustomEvent<MouseEvent>>();
240
248
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
241
249
  c.detach();
242
250
  this.el = r.nativeElement;
@@ -244,17 +252,19 @@ export class EzpPrinterSelection {
244
252
  }
245
253
 
246
254
 
255
+ import type { EzpPrinterSelectionCustomEvent } from '@ezeep/ezeep-js/dist/components';
256
+
247
257
  export declare interface EzpPrinterSelection extends Components.EzpPrinterSelection {
248
258
  /**
249
259
  * Description...
250
260
  */
251
- printCancel: EventEmitter<CustomEvent<MouseEvent>>;
261
+ printCancel: EventEmitter<EzpPrinterSelectionCustomEvent<MouseEvent>>;
252
262
  /**
253
263
  * Description...
254
264
  */
255
- printSubmit: EventEmitter<CustomEvent<MouseEvent>>;
265
+ printSubmit: EventEmitter<EzpPrinterSelectionCustomEvent<MouseEvent>>;
256
266
 
257
- logout: EventEmitter<CustomEvent<MouseEvent>>;
267
+ logout: EventEmitter<EzpPrinterSelectionCustomEvent<MouseEvent>>;
258
268
  }
259
269
 
260
270
 
@@ -273,7 +283,7 @@ export declare interface EzpPrinterSelection extends Components.EzpPrinterSelect
273
283
  })
274
284
  export class EzpPrinting {
275
285
  protected el: HTMLEzpPrintingElement;
276
- @Output() printFinished = new EventEmitter<CustomEvent<any>>();
286
+ @Output() printFinished = new EventEmitter<EzpPrintingCustomEvent<void>>();
277
287
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
278
288
  c.detach();
279
289
  this.el = r.nativeElement;
@@ -281,11 +291,13 @@ export class EzpPrinting {
281
291
  }
282
292
 
283
293
 
294
+ import type { EzpPrintingCustomEvent } from '@ezeep/ezeep-js/dist/components';
295
+
284
296
  export declare interface EzpPrinting extends Components.EzpPrinting {
285
297
  /**
286
298
  * Events
287
299
  */
288
- printFinished: EventEmitter<CustomEvent<any>>;
300
+ printFinished: EventEmitter<EzpPrintingCustomEvent<void>>;
289
301
  }
290
302
 
291
303
 
@@ -303,8 +315,8 @@ export declare interface EzpPrinting extends Components.EzpPrinting {
303
315
  })
304
316
  export class EzpSelect {
305
317
  protected el: HTMLEzpSelectElement;
306
- @Output() selectToggle = new EventEmitter<CustomEvent<any>>();
307
- @Output() selectSelection = new EventEmitter<CustomEvent<any>>();
318
+ @Output() selectToggle = new EventEmitter<EzpSelectCustomEvent<boolean>>();
319
+ @Output() selectSelection = new EventEmitter<EzpSelectCustomEvent<IEzpSelectSelectOptionType>>();
308
320
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
309
321
  c.detach();
310
322
  this.el = r.nativeElement;
@@ -312,14 +324,17 @@ export class EzpSelect {
312
324
  }
313
325
 
314
326
 
327
+ import type { EzpSelectCustomEvent } from '@ezeep/ezeep-js/dist/components';
328
+ import type { SelectOptionType as IEzpSelectSelectOptionType } from '@ezeep/ezeep-js/dist/components';
329
+
315
330
  export declare interface EzpSelect extends Components.EzpSelect {
316
331
  /**
317
332
  *
318
333
  Events
319
334
  */
320
- selectToggle: EventEmitter<CustomEvent<any>>;
335
+ selectToggle: EventEmitter<EzpSelectCustomEvent<boolean>>;
321
336
 
322
- selectSelection: EventEmitter<CustomEvent<any>>;
337
+ selectSelection: EventEmitter<EzpSelectCustomEvent<IEzpSelectSelectOptionType>>;
323
338
  }
324
339
 
325
340
 
@@ -337,9 +352,9 @@ Events
337
352
  })
338
353
  export class EzpStatus {
339
354
  protected el: HTMLEzpStatusElement;
340
- @Output() statusCancel = new EventEmitter<CustomEvent<any>>();
341
- @Output() statusClose = new EventEmitter<CustomEvent<any>>();
342
- @Output() statusRetry = new EventEmitter<CustomEvent<any>>();
355
+ @Output() statusCancel = new EventEmitter<EzpStatusCustomEvent<string>>();
356
+ @Output() statusClose = new EventEmitter<EzpStatusCustomEvent<string>>();
357
+ @Output() statusRetry = new EventEmitter<EzpStatusCustomEvent<string>>();
343
358
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
344
359
  c.detach();
345
360
  this.el = r.nativeElement;
@@ -347,16 +362,18 @@ export class EzpStatus {
347
362
  }
348
363
 
349
364
 
365
+ import type { EzpStatusCustomEvent } from '@ezeep/ezeep-js/dist/components';
366
+
350
367
  export declare interface EzpStatus extends Components.EzpStatus {
351
368
  /**
352
369
  *
353
370
  Events
354
371
  */
355
- statusCancel: EventEmitter<CustomEvent<any>>;
372
+ statusCancel: EventEmitter<EzpStatusCustomEvent<string>>;
356
373
 
357
- statusClose: EventEmitter<CustomEvent<any>>;
374
+ statusClose: EventEmitter<EzpStatusCustomEvent<string>>;
358
375
 
359
- statusRetry: EventEmitter<CustomEvent<any>>;
376
+ statusRetry: EventEmitter<EzpStatusCustomEvent<string>>;
360
377
  }
361
378
 
362
379
 
@@ -374,7 +391,7 @@ Events
374
391
  })
375
392
  export class EzpStepper {
376
393
  protected el: HTMLEzpStepperElement;
377
- @Output() stepperChanged = new EventEmitter<CustomEvent<any>>();
394
+ @Output() stepperChanged = new EventEmitter<EzpStepperCustomEvent<number>>();
378
395
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
379
396
  c.detach();
380
397
  this.el = r.nativeElement;
@@ -382,12 +399,14 @@ export class EzpStepper {
382
399
  }
383
400
 
384
401
 
402
+ import type { EzpStepperCustomEvent } from '@ezeep/ezeep-js/dist/components';
403
+
385
404
  export declare interface EzpStepper extends Components.EzpStepper {
386
405
  /**
387
406
  *
388
407
  Events
389
408
  */
390
- stepperChanged: EventEmitter<CustomEvent<any>>;
409
+ stepperChanged: EventEmitter<EzpStepperCustomEvent<number>>;
391
410
  }
392
411
 
393
412
 
@@ -427,7 +446,7 @@ export declare interface EzpTextButton extends Components.EzpTextButton {}
427
446
  })
428
447
  export class EzpUpload {
429
448
  protected el: HTMLEzpUploadElement;
430
- @Output() uploadFile = new EventEmitter<CustomEvent<any>>();
449
+ @Output() uploadFile = new EventEmitter<EzpUploadCustomEvent<File[]>>();
431
450
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
432
451
  c.detach();
433
452
  this.el = r.nativeElement;
@@ -435,12 +454,14 @@ export class EzpUpload {
435
454
  }
436
455
 
437
456
 
457
+ import type { EzpUploadCustomEvent } from '@ezeep/ezeep-js/dist/components';
458
+
438
459
  export declare interface EzpUpload extends Components.EzpUpload {
439
460
  /**
440
461
  *
441
462
  Events
442
463
  */
443
- uploadFile: EventEmitter<CustomEvent<any>>;
464
+ uploadFile: EventEmitter<EzpUploadCustomEvent<File[]>>;
444
465
  }
445
466
 
446
467
 
@@ -458,8 +479,8 @@ Events
458
479
  })
459
480
  export class EzpUserMenu {
460
481
  protected el: HTMLEzpUserMenuElement;
461
- @Output() userMenuClosure = new EventEmitter<CustomEvent<any>>();
462
- @Output() logoutEmitter = new EventEmitter<CustomEvent<any>>();
482
+ @Output() userMenuClosure = new EventEmitter<EzpUserMenuCustomEvent<void>>();
483
+ @Output() logoutEmitter = new EventEmitter<EzpUserMenuCustomEvent<void>>();
463
484
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
464
485
  c.detach();
465
486
  this.el = r.nativeElement;
@@ -467,14 +488,16 @@ export class EzpUserMenu {
467
488
  }
468
489
 
469
490
 
491
+ import type { EzpUserMenuCustomEvent } from '@ezeep/ezeep-js/dist/components';
492
+
470
493
  export declare interface EzpUserMenu extends Components.EzpUserMenu {
471
494
  /**
472
495
  *
473
496
  Events
474
497
  */
475
- userMenuClosure: EventEmitter<CustomEvent<any>>;
498
+ userMenuClosure: EventEmitter<EzpUserMenuCustomEvent<void>>;
476
499
 
477
- logoutEmitter: EventEmitter<CustomEvent<any>>;
500
+ logoutEmitter: EventEmitter<EzpUserMenuCustomEvent<void>>;
478
501
  }
479
502
 
480
503
 
@@ -3,8 +3,14 @@ var global = async () => {
3
3
  style: 'normal',
4
4
  weight: '400 600',
5
5
  });
6
- font.load().then(() => {
6
+ font
7
+ .load()
8
+ .then(() => {
7
9
  document.fonts.add(font);
10
+ })
11
+ .catch(() => {
12
+ // The remote webfont is a progressive enhancement; if it can't be
13
+ // fetched (offline, blocked, CI without egress) fall back silently.
8
14
  });
9
15
  };
10
16
 
package/dist/esm/ezeep.js CHANGED
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, B as BUILD, c as consoleDevInfo, w as win, N as NAMESPACE, H, b as bootstrapLazy } from './index-BTfWEHH9.js';
2
- export { s as setNonce } from './index-BTfWEHH9.js';
3
- import { g as globalScripts } from './app-globals-CpP67t2l.js';
1
+ import { p as promiseResolve, B as BUILD, c as consoleDevInfo, w as win, N as NAMESPACE, H, b as bootstrapLazy } from './index-BButrLnB.js';
2
+ export { s as setNonce } from './index-BButrLnB.js';
3
+ import { g as globalScripts } from './app-globals-C0WTlb31.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.43.4 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.43.5 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var patchBrowser = () => {
@@ -44,5 +44,5 @@ var patchCloneNodeFix = (HTMLElementPrototype) => {
44
44
 
45
45
  patchBrowser().then(async (options) => {
46
46
  await globalScripts();
47
- return bootstrapLazy([["ezp-auth_15",[[257,"ezp-printing",{"clientid":[1],"redirecturi":[1],"filename":[1025],"fileurl":[1],"filetype":[1],"custom":[4],"hidelogin":[4],"hidemenu":[4],"hideheader":[4],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"fileid":[1],"appearance":[1],"trigger":[1],"language":[1],"code":[1],"filedata":[1],"seamless":[4],"printOpen":[32],"authOpen":[32],"onlyGetSasUri":[32],"noDocumentOpen":[32],"systemAppearance":[32],"files":[32],"open":[64],"logOut":[64],"getSasUri":[64],"getAuthUri":[64],"setAuthRefreshToken":[64],"checkAuth":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"userCancel","listenUserCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]],{"filedata":[{"watchFileData":0}],"filename":[{"watchFilename":0}],"fileurl":[{"watchFileUrl":0}],"language":[{"watchLanguage":0}]}],[1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1025],"fileurl":[1],"filetype":[1025],"fileid":[1025],"files":[16],"hidemenu":[4],"hideheader":[4],"seamless":[4],"loading":[32],"printProcessing":[32],"pageRangeInvalid":[32],"uploading":[32],"preparingUpload":[32],"printSuccess":[32],"printFailed":[32],"notSupported":[32],"noPrinters":[32],"hubDriverError":[32],"userMenuOpen":[32],"printStopped":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedPrinterConfig":[32],"selectedProperties":[32],"paperid":[32],"currentFileIndex":[32],"totalFiles":[32],"failedFiles":[32],"successfulFiles":[32],"partialSuccess":[32]},[[0,"inputValueChanged","listenInputValueChanged"],[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"],[0,"statusCancel","listenStatusCancel"],[0,"statusClose","listenStatusClose"],[0,"statusRetry","listenStatusRetry"]]],[1,"ezp-auth",{"clientID":[1025,"client-i-d"],"redirectURI":[1025,"redirect-u-r-i"],"hidelogin":[4],"trigger":[1],"code":[1],"auth":[32],"authURI":[32],"accessToken":[32]},[[0,"dialogAction","listenDialogAction"],[0,"dialogClose","listenDialogClose"],[0,"statusCancel","listenStatusCancel"]]],[1,"ezp-upload",{"selectedFiles":[32],"dragging":[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"],[4,"printCancel","listenPrintCancel"]]],[1,"ezp-dialog",{"heading":[1],"description":[1],"action":[1],"iconName":[1,"icon-name"],"iconSize":[1,"icon-size"],"iconFramed":[4,"icon-framed"],"instance":[1]}],[1,"ezp-user-menu",{"name":[1],"open":[1028]},null,{"open":[{"watchOpen":0}]}],[1,"ezp-select",{"icon":[1],"label":[1],"optionFlow":[1,"option-flow"],"options":[16],"placeholder":[1],"preSelected":[8,"pre-selected"],"toggleFlow":[1,"toggle-flow"],"disabled":[4],"expanded":[32],"selected":[32]},null,{"expanded":[{"watchExpanded":0}],"preSelected":[{"preSelectedChanged":0}]}],[1,"ezp-input",{"label":[1],"value":[1032],"type":[1],"icon":[1],"suffix":[513],"eventType":[1,"event-type"],"placeholder":[1],"focused":[32]}],[1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]},null,{"value":[{"watchValue":0}]}],[1,"ezp-status",{"description":[1],"processing":[4],"instance":[1],"icon":[1],"cancel":[8],"close":[8],"retry":[8]}],[1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1],"small":[4]}],[1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-icon",{"name":[1],"size":[1],"framed":[4]}],[1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]]]], options);
47
+ return bootstrapLazy([["ezp-auth_15",[[257,"ezp-printing",{"clientid":[1],"redirecturi":[1],"filename":[1025],"fileurl":[1],"filetype":[1],"custom":[4],"hidelogin":[4],"hidemenu":[4],"hideheader":[4],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"fileid":[1],"appearance":[1],"trigger":[1],"language":[1],"code":[1],"filedata":[1],"seamless":[4],"printOpen":[32],"authOpen":[32],"onlyGetSasUri":[32],"noDocumentOpen":[32],"systemAppearance":[32],"files":[32],"open":[64],"logOut":[64],"getSasUri":[64],"getAuthUri":[64],"setAuthRefreshToken":[64],"checkAuth":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"userCancel","listenUserCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]],{"filedata":[{"watchFileData":0}],"filename":[{"watchFilename":0}],"fileurl":[{"watchFileUrl":0}],"language":[{"watchLanguage":0}]}],[1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1025],"fileurl":[1],"filetype":[1025],"fileid":[1025],"files":[16],"hidemenu":[4],"hideheader":[4],"seamless":[4],"loading":[32],"printProcessing":[32],"pageRangeInvalid":[32],"uploading":[32],"preparingUpload":[32],"printSuccess":[32],"printFailed":[32],"printTimedOut":[32],"notSupported":[32],"noPrinters":[32],"hubDriverError":[32],"userMenuOpen":[32],"printStopped":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedPrinterConfig":[32],"selectedProperties":[32],"paperid":[32],"currentFileIndex":[32],"totalFiles":[32],"failedFiles":[32],"successfulFiles":[32],"partialSuccess":[32]},[[0,"inputValueChanged","listenInputValueChanged"],[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"],[0,"statusCancel","listenStatusCancel"],[0,"statusClose","listenStatusClose"],[0,"statusRetry","listenStatusRetry"]]],[1,"ezp-auth",{"clientID":[1025,"client-i-d"],"redirectURI":[1025,"redirect-u-r-i"],"hidelogin":[4],"trigger":[1],"code":[1],"auth":[32],"authURI":[32],"accessToken":[32]},[[0,"dialogAction","listenDialogAction"],[0,"dialogClose","listenDialogClose"],[0,"statusCancel","listenStatusCancel"]]],[1,"ezp-upload",{"selectedFiles":[32],"dragging":[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"],[4,"printCancel","listenPrintCancel"]]],[1,"ezp-dialog",{"heading":[1],"description":[1],"action":[1],"iconName":[1,"icon-name"],"iconSize":[1,"icon-size"],"iconFramed":[4,"icon-framed"],"instance":[1]},[[8,"keydown","handleKeydown"]]],[1,"ezp-user-menu",{"name":[1],"open":[1028]},null,{"open":[{"watchOpen":0}]}],[1,"ezp-select",{"icon":[1],"label":[1],"optionFlow":[1,"option-flow"],"options":[16],"placeholder":[1],"preSelected":[8,"pre-selected"],"toggleFlow":[1,"toggle-flow"],"disabled":[4],"expanded":[32],"selected":[32]},null,{"expanded":[{"watchExpanded":0}],"preSelected":[{"preSelectedChanged":0}]}],[1,"ezp-input",{"label":[1],"value":[1032],"type":[1],"icon":[1],"suffix":[513],"eventType":[1,"event-type"],"placeholder":[1],"focused":[32]}],[1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]},null,{"value":[{"watchValue":0}]}],[1,"ezp-status",{"description":[1],"processing":[4],"instance":[1],"icon":[1],"cancel":[8],"close":[8],"retry":[8]}],[1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1],"small":[4]}],[1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-icon",{"name":[1],"size":[1],"framed":[4]}],[1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]]]], options);
48
48
  });