@ezeep/ezeep-js 1.0.267 → 1.0.269
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/app-globals-D7ISNeUi.js +16 -0
- package/dist/cjs/ezeep.cjs.js +43 -12
- package/dist/cjs/ezp-auth_15.cjs.entry.js +27992 -26047
- package/dist/cjs/index-dv_gozsq.js +4694 -0
- package/dist/cjs/loader.cjs.js +7 -17
- package/dist/collection/collection-manifest.json +19 -18
- package/dist/collection/components/ezp-auth/ezp-auth.js +266 -245
- package/dist/collection/components/ezp-backdrop/ezp-backdrop.js +93 -81
- package/dist/collection/components/ezp-dialog/ezp-dialog.js +226 -210
- package/dist/collection/components/ezp-icon/ezp-icon.js +117 -102
- package/dist/collection/components/ezp-icon-button/ezp-icon-button.js +181 -159
- package/dist/collection/components/ezp-input/ezp-input.css +5 -5
- package/dist/collection/components/ezp-input/ezp-input.js +227 -205
- package/dist/collection/components/ezp-label/ezp-label.css +5 -5
- package/dist/collection/components/ezp-label/ezp-label.js +151 -132
- package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.css +5 -5
- package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +1134 -1107
- package/dist/collection/components/ezp-printing/ezp-printing.css +183 -125
- package/dist/collection/components/ezp-printing/ezp-printing.js +872 -807
- package/dist/collection/components/ezp-select/ezp-select.css +4 -4
- package/dist/collection/components/ezp-select/ezp-select.js +376 -351
- package/dist/collection/components/ezp-status/ezp-status.css +5 -5
- package/dist/collection/components/ezp-status/ezp-status.js +238 -223
- package/dist/collection/components/ezp-stepper/ezp-stepper.css +5 -5
- package/dist/collection/components/ezp-stepper/ezp-stepper.js +256 -243
- package/dist/collection/components/ezp-text-button/ezp-text-button.js +196 -174
- package/dist/collection/components/ezp-upload/ezp-upload.js +134 -141
- package/dist/collection/components/ezp-user-menu/ezp-user-menu.css +5 -5
- package/dist/collection/components/ezp-user-menu/ezp-user-menu.js +180 -185
- package/dist/collection/services/auth.js +133 -133
- package/dist/collection/services/print.js +167 -167
- package/dist/collection/services/user.js +16 -16
- package/dist/collection/shared/global.js +7 -7
- package/dist/collection/types/shared/types.d.ts +1 -0
- package/dist/collection/utils/utils.js +89 -89
- package/dist/components/auth.js +1 -0
- package/dist/components/ezp-auth.d.ts +11 -0
- package/dist/components/ezp-auth.js +1 -0
- package/dist/components/ezp-auth2.js +1 -0
- package/dist/components/ezp-backdrop.d.ts +11 -0
- package/dist/components/ezp-backdrop.js +1 -0
- package/dist/components/ezp-backdrop2.js +1 -0
- package/dist/components/ezp-dialog.d.ts +11 -0
- package/dist/components/ezp-dialog.js +1 -0
- package/dist/components/ezp-dialog2.js +1 -0
- package/dist/components/ezp-icon-button.d.ts +11 -0
- package/dist/components/ezp-icon-button.js +1 -0
- package/dist/components/ezp-icon-button2.js +1 -0
- package/dist/components/ezp-icon.d.ts +11 -0
- package/dist/components/ezp-icon.js +1 -0
- package/dist/components/ezp-icon2.js +1 -0
- package/dist/components/ezp-input.d.ts +11 -0
- package/dist/components/ezp-input.js +1 -0
- package/dist/components/ezp-input2.js +1 -0
- package/dist/components/ezp-label.d.ts +11 -0
- package/dist/components/ezp-label.js +1 -0
- package/dist/components/ezp-label2.js +1 -0
- package/dist/components/ezp-printer-selection.d.ts +11 -0
- package/dist/components/ezp-printer-selection.js +1 -0
- package/dist/components/ezp-printer-selection2.js +1 -0
- package/dist/components/ezp-printing.d.ts +11 -0
- package/dist/components/ezp-printing.js +1 -0
- package/dist/components/ezp-select.d.ts +11 -0
- package/dist/components/ezp-select.js +1 -0
- package/dist/components/ezp-select2.js +1 -0
- package/dist/components/ezp-status.d.ts +11 -0
- package/dist/components/ezp-status.js +1 -0
- package/dist/components/ezp-status2.js +1 -0
- package/dist/components/ezp-stepper.d.ts +11 -0
- package/dist/components/ezp-stepper.js +1 -0
- package/dist/components/ezp-stepper2.js +1 -0
- package/dist/components/ezp-text-button.d.ts +11 -0
- package/dist/components/ezp-text-button.js +1 -0
- package/dist/components/ezp-text-button2.js +1 -0
- package/dist/components/ezp-upload.d.ts +11 -0
- package/dist/components/ezp-upload.js +1 -0
- package/dist/components/ezp-upload2.js +1 -0
- package/dist/components/ezp-user-menu.d.ts +11 -0
- package/dist/components/ezp-user-menu.js +1 -0
- package/dist/components/ezp-user-menu2.js +1 -0
- package/dist/components/i18next.js +1 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/directives/angular-component-lib/utils.ts +33 -14
- package/dist/directives/proxies.ts +231 -111
- package/dist/esm/app-globals-CpP67t2l.js +14 -0
- package/dist/esm/ezeep.js +41 -12
- package/dist/esm/ezp-auth_15.entry.js +27996 -26049
- package/dist/esm/index-BTfWEHH9.js +4677 -0
- package/dist/esm/loader.js +7 -15
- package/dist/esm-es5/app-globals-CpP67t2l.js +1 -0
- package/dist/esm-es5/ezeep.js +1 -1
- package/dist/esm-es5/ezp-auth_15.entry.js +2 -2
- package/dist/esm-es5/index-BTfWEHH9.js +13 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/ezeep/ezeep.esm.js +1 -1
- package/dist/ezeep/ezeep.js +16 -19
- package/dist/ezeep/p-2177b8f4.system.entry.js +7 -0
- package/dist/ezeep/p-5ok9OZMg.system.js +1 -0
- package/dist/ezeep/p-BTfWEHH9.js +2 -0
- package/dist/ezeep/p-CfQRcOh8.system.js +1 -0
- package/dist/ezeep/p-CpP67t2l.js +1 -0
- package/dist/ezeep/p-DhXN1yGM.system.js +13 -0
- package/dist/ezeep/p-de8f6583.entry.js +1 -0
- package/dist/ezeep/types/shared/types.d.ts +1 -0
- package/dist/types/components/ezp-auth/ezp-auth.d.ts +20 -20
- package/dist/types/components/ezp-backdrop/ezp-backdrop.d.ts +7 -7
- package/dist/types/components/ezp-dialog/ezp-dialog.d.ts +38 -38
- package/dist/types/components/ezp-icon/ezp-icon.d.ts +24 -24
- package/dist/types/components/ezp-icon-button/ezp-icon-button.d.ts +23 -23
- package/dist/types/components/ezp-input/ezp-input.d.ts +38 -38
- package/dist/types/components/ezp-label/ezp-label.d.ts +21 -21
- package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +116 -116
- package/dist/types/components/ezp-printing/ezp-printing.d.ts +83 -83
- package/dist/types/components/ezp-select/ezp-select.d.ts +80 -80
- package/dist/types/components/ezp-status/ezp-status.d.ts +40 -40
- package/dist/types/components/ezp-stepper/ezp-stepper.d.ts +65 -65
- package/dist/types/components/ezp-text-button/ezp-text-button.d.ts +25 -25
- package/dist/types/components/ezp-upload/ezp-upload.d.ts +38 -38
- package/dist/types/components/ezp-user-menu/ezp-user-menu.d.ts +43 -43
- package/dist/types/components.d.ts +493 -50
- package/dist/types/services/auth.d.ts +27 -27
- package/dist/types/services/print.d.ts +32 -32
- package/dist/types/services/user.d.ts +4 -4
- package/dist/types/shared/types.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +335 -40
- package/dist/types/utils/utils.d.ts +6 -6
- package/loader/cdn.js +1 -2
- package/loader/index.cjs.js +1 -2
- package/loader/index.d.ts +13 -1
- package/loader/index.es2017.js +1 -2
- package/loader/index.js +1 -2
- package/package.json +10 -10
- package/www/build/ezeep.esm.js +1 -1
- package/www/build/ezeep.js +16 -19
- package/www/build/p-2177b8f4.system.entry.js +7 -0
- package/www/build/p-256870db.js +1 -0
- package/www/build/p-5ok9OZMg.system.js +1 -0
- package/www/build/p-BTfWEHH9.js +2 -0
- package/www/build/p-CfQRcOh8.system.js +1 -0
- package/www/build/p-CpP67t2l.js +1 -0
- package/www/build/p-DhXN1yGM.system.js +13 -0
- package/www/build/p-de8f6583.entry.js +1 -0
- package/www/index.html +1 -1
- package/dist/cjs/app-globals-53afb196.js +0 -15
- package/dist/cjs/index-1f953145.js +0 -1482
- package/dist/custom-elements/index.d.ts +0 -129
- package/dist/custom-elements/index.js +0 -34555
- package/dist/esm/app-globals-28960cbc.js +0 -13
- package/dist/esm/index-3ac1b749.js +0 -1450
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm-es5/app-globals-28960cbc.js +0 -1
- package/dist/esm-es5/index-3ac1b749.js +0 -1
- package/dist/ezeep/p-0cc2026d.system.js +0 -1
- package/dist/ezeep/p-312f40d7.js +0 -1
- package/dist/ezeep/p-4a7d6c3a.system.entry.js +0 -7
- package/dist/ezeep/p-84bd195a.system.js +0 -1
- package/dist/ezeep/p-a4d37138.js +0 -1
- package/dist/ezeep/p-ded04529.system.js +0 -1
- package/dist/ezeep/p-e20ee337.entry.js +0 -1
- package/loader/package.json +0 -10
- package/www/build/p-0cc2026d.system.js +0 -1
- package/www/build/p-312f40d7.js +0 -1
- package/www/build/p-4a7d6c3a.system.entry.js +0 -7
- package/www/build/p-84bd195a.system.js +0 -1
- package/www/build/p-a4d37138.js +0 -1
- package/www/build/p-ded04529.system.js +0 -1
- package/www/build/p-e20ee337.entry.js +0 -1
- /package/dist/ezeep/{p-50ea2036.system.js → p-YWpyar7R.system.js} +0 -0
- /package/www/build/{p-50ea2036.system.js → p-YWpyar7R.system.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { EzpAuthorizationService } from '../../services/auth';
|
|
3
3
|
export declare class EzpAuth {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
4
|
+
clientID: string;
|
|
5
|
+
redirectURI: string;
|
|
6
|
+
hidelogin: boolean;
|
|
7
|
+
trigger: string;
|
|
8
|
+
code: string;
|
|
9
|
+
auth: EzpAuthorizationService;
|
|
10
|
+
authURI: string;
|
|
11
|
+
accessToken: string;
|
|
12
|
+
authCancel: EventEmitter<MouseEvent>;
|
|
13
|
+
authSuccess: EventEmitter;
|
|
14
|
+
userCancel: EventEmitter;
|
|
15
|
+
listenDialogAction(): void;
|
|
16
|
+
listenDialogClose(): void;
|
|
17
|
+
listenStatusCancel(): void;
|
|
18
|
+
oauthPopupWindow: Window;
|
|
19
|
+
previousUrl: any;
|
|
20
|
+
openSignInWindow(url: string, name: string): void;
|
|
21
|
+
receiveMessage(event: any): void;
|
|
22
|
+
componentWillLoad(): Promise<void>;
|
|
23
|
+
render(): any;
|
|
24
24
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
export declare class EzpBackdrop {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
component: HTMLEzpBackdropElement;
|
|
4
|
+
visible: boolean;
|
|
5
|
+
backdropHideStart: EventEmitter;
|
|
6
|
+
backdropHideEnd: EventEmitter;
|
|
7
|
+
private handleClick;
|
|
8
|
+
listenAnimationEnd(): void;
|
|
9
|
+
render(): any;
|
|
10
10
|
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { IconNameTypes, IconSizeTypes } from '../../shared/types';
|
|
3
3
|
export declare class EzpDialog {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* Events
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
dialogClose: EventEmitter;
|
|
10
|
+
dialogAction: EventEmitter;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* Properties
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
heading: string;
|
|
17
|
+
description: string;
|
|
18
|
+
action: string;
|
|
19
|
+
iconName?: IconNameTypes;
|
|
20
|
+
iconSize: IconSizeTypes;
|
|
21
|
+
iconFramed: boolean;
|
|
22
|
+
instance: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* Lifecycle methods
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
componentWillLoad(): void;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* Private methods
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
private handleClose;
|
|
35
|
+
private handleAction;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* Render method
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
render(): any;
|
|
42
42
|
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { IconNameTypes, IconSizeTypes } from '../../shared/types';
|
|
2
2
|
export declare class EzpIcon {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
3
|
+
private glyph;
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* Properties
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
/** Description... */
|
|
10
|
+
name: IconNameTypes;
|
|
11
|
+
/** Description... */
|
|
12
|
+
size: IconSizeTypes;
|
|
13
|
+
/** Description... */
|
|
14
|
+
framed: boolean;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* Lifecycle methods
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
componentWillLoad(): Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* Render method
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
render(): any;
|
|
27
27
|
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { IconButtonLevelTypes, IconButtonTypeTypes, IconNameTypes } from '../../shared/types';
|
|
2
2
|
export declare class EzpIconButton {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* Properties
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
/** Description... */
|
|
9
|
+
blank: boolean;
|
|
10
|
+
/** Description... */
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
/** Description... */
|
|
13
|
+
href: string;
|
|
14
|
+
/** Description... */
|
|
15
|
+
icon: IconNameTypes;
|
|
16
|
+
/** Description... */
|
|
17
|
+
level: IconButtonLevelTypes;
|
|
18
|
+
/** Description... */
|
|
19
|
+
type: IconButtonTypeTypes;
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* Render method
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
render(): any;
|
|
26
26
|
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { IconNameTypes } from './../../shared/types';
|
|
3
3
|
export declare class EzpInput {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
4
|
+
private input?;
|
|
5
|
+
private timeout;
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
8
|
+
* Properties
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
/** Description... */
|
|
12
|
+
label: string;
|
|
13
|
+
/** Description... */
|
|
14
|
+
value: number | string;
|
|
15
|
+
/** Description... */
|
|
16
|
+
type: string;
|
|
17
|
+
/** Description... */
|
|
18
|
+
icon: IconNameTypes;
|
|
19
|
+
/** Description... */
|
|
20
|
+
suffix: string;
|
|
21
|
+
/** Description... */
|
|
22
|
+
eventType: string;
|
|
23
|
+
/** Description... */
|
|
24
|
+
placeholder: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* Events
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
inputValueChanged: EventEmitter;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* States
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
focused: boolean;
|
|
37
|
+
handleChange(event: any): void;
|
|
38
|
+
private setFocus;
|
|
39
|
+
private handleBlur;
|
|
40
|
+
private handleFocus;
|
|
41
|
+
render(): any;
|
|
42
42
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { LabelLevelTypes, WeightTypes } from '../../shared/types';
|
|
2
2
|
export declare class EzpLabel {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* Properties
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
/** Description... */
|
|
9
|
+
ellipsis: boolean;
|
|
10
|
+
/** Description... */
|
|
11
|
+
level: LabelLevelTypes;
|
|
12
|
+
/** Description... */
|
|
13
|
+
noWrap: boolean;
|
|
14
|
+
/** Description... */
|
|
15
|
+
text: string;
|
|
16
|
+
/** Description... */
|
|
17
|
+
weight: WeightTypes;
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* Render method
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
render(): any;
|
|
24
24
|
}
|
|
@@ -1,120 +1,120 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { Printer, PrinterConfig, PrinterProperties } from '../../shared/types';
|
|
3
3
|
export declare class EzpPrinterSelection {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
4
|
+
private fileExtension;
|
|
5
|
+
private printService;
|
|
6
|
+
duplexOptions: {
|
|
7
|
+
id: number;
|
|
8
|
+
title: string;
|
|
9
|
+
}[];
|
|
10
|
+
ColorOptions: {
|
|
11
|
+
id: number;
|
|
12
|
+
title: string;
|
|
13
|
+
}[];
|
|
14
|
+
private printButton?;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* Properties
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
clientID: string;
|
|
21
|
+
redirectURI: string;
|
|
22
|
+
filename: string;
|
|
23
|
+
fileurl: string;
|
|
24
|
+
filetype: string;
|
|
25
|
+
fileid: string;
|
|
26
|
+
files: File[];
|
|
27
|
+
hidemenu: boolean;
|
|
28
|
+
hideheader: boolean;
|
|
29
|
+
seamless: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* States
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
loading: boolean;
|
|
36
|
+
printProcessing: boolean;
|
|
37
|
+
pageRangeInvalid: boolean;
|
|
38
|
+
uploading: boolean;
|
|
39
|
+
preparingUpload: boolean;
|
|
40
|
+
printSuccess: boolean;
|
|
41
|
+
printFailed: boolean;
|
|
42
|
+
notSupported: boolean;
|
|
43
|
+
noPrinters: boolean;
|
|
44
|
+
hubDriverError: boolean;
|
|
45
|
+
userMenuOpen: boolean;
|
|
46
|
+
printStopped: boolean;
|
|
47
|
+
userName: string;
|
|
48
|
+
printers: Printer[];
|
|
49
|
+
selectedPrinter: Printer;
|
|
50
|
+
printerConfig: PrinterConfig[];
|
|
51
|
+
selectedPrinterConfig: PrinterConfig;
|
|
52
|
+
selectedProperties: PrinterProperties;
|
|
53
|
+
paperid: number | string;
|
|
54
|
+
currentFileIndex: number;
|
|
55
|
+
totalFiles: number;
|
|
56
|
+
failedFiles: string[];
|
|
57
|
+
successfulFiles: string[];
|
|
58
|
+
partialSuccess: boolean;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* Events
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
/** Description... */
|
|
65
|
+
printCancel: EventEmitter<MouseEvent>;
|
|
66
|
+
/** Description... */
|
|
67
|
+
printSubmit: EventEmitter<MouseEvent>;
|
|
68
|
+
logout: EventEmitter<MouseEvent>;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* Listeners
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
listenInputValueChanged(event: CustomEvent): void;
|
|
75
|
+
listenSelectSelection(event: CustomEvent): void;
|
|
76
|
+
listenStepperChanged(event: CustomEvent): void;
|
|
77
|
+
listenUserMenuClosure(): void;
|
|
78
|
+
listenLogout(): void;
|
|
79
|
+
listenStatusCancel(event: CustomEvent): void;
|
|
80
|
+
listenStatusClose(event: CustomEvent): void;
|
|
81
|
+
listenStatusRetry(event: CustomEvent): void;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* Private methods
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
87
|
+
/** Description... */
|
|
88
|
+
private handleCancel;
|
|
89
|
+
private validateData;
|
|
90
|
+
private POLL_INTERVAL;
|
|
91
|
+
private MAX_POLL_ATTEMPTS;
|
|
92
|
+
private HUB_TIMEOUT;
|
|
93
|
+
/** Description... */
|
|
94
|
+
private handlePrint;
|
|
95
|
+
private handleUserMenu;
|
|
96
|
+
private getPropertiesFromLocalStorage;
|
|
97
|
+
private setPaperid;
|
|
98
|
+
private getUserInfo;
|
|
99
|
+
private setSelectedProperties;
|
|
100
|
+
handleFiles(files: File[], printPorperties: any): Promise<void>;
|
|
101
|
+
private processSingleFile;
|
|
102
|
+
private waitForPrintCompletion;
|
|
103
|
+
private getFileExtension;
|
|
104
|
+
private validateFileType;
|
|
105
|
+
setDefaultPaperFormat(): void;
|
|
106
|
+
private processMultipleFiles;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* Lifecycle methods
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
/** Description... */
|
|
113
|
+
connectedCallback(): Promise<void>;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* Render method
|
|
117
|
+
*
|
|
118
|
+
*/
|
|
119
|
+
render(): any;
|
|
120
120
|
}
|