@ezeep/ezeep-js 1.0.216 → 1.0.219
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/ezeep.cjs.js +1 -1
- package/dist/cjs/ezp-auth_14.cjs.entry.js +13 -13
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +20 -0
- package/dist/collection/components/ezp-printing/ezp-printing.js +16 -24
- package/dist/collection/services/auth.js +1 -5
- package/dist/custom-elements/index.js +14 -14
- package/dist/directives/proxies.ts +5 -3
- package/dist/esm/ezeep.js +1 -1
- package/dist/esm/ezp-auth_14.entry.js +13 -13
- package/dist/esm/loader.js +1 -1
- package/dist/esm-es5/ezeep.js +1 -1
- package/dist/esm-es5/ezp-auth_14.entry.js +2 -2
- package/dist/esm-es5/loader.js +1 -1
- package/dist/ezeep/ezeep.esm.js +1 -1
- package/dist/ezeep/p-16c7584d.system.js +1 -1
- package/dist/ezeep/{p-9e35ed42.system.entry.js → p-1b0070eb.system.entry.js} +2 -2
- package/dist/ezeep/{p-e9b5a5e9.entry.js → p-2fd079c0.entry.js} +2 -2
- package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +1 -0
- package/dist/types/components/ezp-printing/ezp-printing.d.ts +1 -1
- package/dist/types/components/ezp-user-menu/ezp-user-menu.d.ts +2 -0
- package/dist/types/components.d.ts +1 -1
- package/package.json +1 -1
- package/www/build/ezeep.esm.js +1 -1
- package/www/build/p-16c7584d.system.js +1 -1
- package/www/build/{p-9e35ed42.system.entry.js → p-1b0070eb.system.entry.js} +2 -2
- package/www/build/{p-e9b5a5e9.entry.js → p-2fd079c0.entry.js} +2 -2
- package/www/index.html +10 -3
package/dist/cjs/ezeep.cjs.js
CHANGED
|
@@ -17,5 +17,5 @@ const patchBrowser = () => {
|
|
|
17
17
|
|
|
18
18
|
patchBrowser().then(options => {
|
|
19
19
|
appGlobals.globalScripts();
|
|
20
|
-
return index.bootstrapLazy([["ezp-auth_14.cjs",[[1,"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],"file":[32],"open":[64],"logOut":[64],"
|
|
20
|
+
return index.bootstrapLazy([["ezp-auth_14.cjs",[[1,"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],"file":[32],"open":[64],"logOut":[64],"getSasUri":[64],"getAuthUri":[64],"checkAuth":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]]],[1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1025],"fileurl":[1],"filetype":[1025],"fileid":[1025],"file":[16],"hidemenu":[4],"hideheader":[4],"seamless":[4],"loading":[32],"printProcessing":[32],"uploading":[32],"preparingUpload":[32],"printSuccess":[32],"printFailed":[32],"notSupported":[32],"noPrinters":[32],"userMenuOpen":[32],"printStopped":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedPrinterConfig":[32],"selectedProperties":[32]},[[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",{"filename":[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]}],[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]}],[1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]}],[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-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1],"small":[4]}],[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);
|
|
21
21
|
});
|
|
@@ -3157,11 +3157,7 @@ class EzpAuthorizationService {
|
|
|
3157
3157
|
body: encodeFormData({
|
|
3158
3158
|
token: authStore.state.refreshToken,
|
|
3159
3159
|
}),
|
|
3160
|
-
})
|
|
3161
|
-
.then((response) => {
|
|
3162
|
-
console.log(response.json());
|
|
3163
|
-
})
|
|
3164
|
-
.catch((error) => {
|
|
3160
|
+
}).catch((error) => {
|
|
3165
3161
|
console.log(error);
|
|
3166
3162
|
});
|
|
3167
3163
|
}
|
|
@@ -32653,6 +32649,7 @@ let EzpPrinterSelection = class {
|
|
|
32653
32649
|
index.registerInstance(this, hostRef);
|
|
32654
32650
|
this.printCancel = index.createEvent(this, "printCancel", 7);
|
|
32655
32651
|
this.printSubmit = index.createEvent(this, "printSubmit", 7);
|
|
32652
|
+
this.logout = index.createEvent(this, "logout", 7);
|
|
32656
32653
|
this.sasUri = '';
|
|
32657
32654
|
this.fileExtension = '';
|
|
32658
32655
|
this.duplexOptions = [
|
|
@@ -32814,6 +32811,7 @@ let EzpPrinterSelection = class {
|
|
|
32814
32811
|
}
|
|
32815
32812
|
listenLogout() {
|
|
32816
32813
|
this.printCancel.emit();
|
|
32814
|
+
this.logout.emit();
|
|
32817
32815
|
}
|
|
32818
32816
|
listenStatusCancel(event) {
|
|
32819
32817
|
if (event.detail === 'print-processing') {
|
|
@@ -33139,9 +33137,13 @@ let EzpPrinting = class {
|
|
|
33139
33137
|
}
|
|
33140
33138
|
/** Watchers */
|
|
33141
33139
|
watchFileData(newValue, oldValue) {
|
|
33140
|
+
console.log(newValue);
|
|
33142
33141
|
if (newValue !== oldValue && newValue.length > 0) {
|
|
33143
|
-
|
|
33144
|
-
|
|
33142
|
+
let array = new Uint8Array(newValue.length);
|
|
33143
|
+
for (let i = 0; i < newValue.length; i++) {
|
|
33144
|
+
array[i] = newValue.charCodeAt(i);
|
|
33145
|
+
}
|
|
33146
|
+
this.file = new File([array], this.filename);
|
|
33145
33147
|
}
|
|
33146
33148
|
}
|
|
33147
33149
|
watchFilename(newValue, oldValue) {
|
|
@@ -33207,6 +33209,9 @@ let EzpPrinting = class {
|
|
|
33207
33209
|
this.noDocumentOpen = false;
|
|
33208
33210
|
}
|
|
33209
33211
|
}
|
|
33212
|
+
listenLogout() {
|
|
33213
|
+
this.logOut();
|
|
33214
|
+
}
|
|
33210
33215
|
/**
|
|
33211
33216
|
*
|
|
33212
33217
|
* Public methods
|
|
@@ -33226,8 +33231,7 @@ let EzpPrinting = class {
|
|
|
33226
33231
|
}
|
|
33227
33232
|
}
|
|
33228
33233
|
async logOut() {
|
|
33229
|
-
|
|
33230
|
-
//this.auth.revokeRefreshToken()
|
|
33234
|
+
this.auth.revokeRefreshToken();
|
|
33231
33235
|
localStorage.removeItem('properties');
|
|
33232
33236
|
localStorage.removeItem('refreshToken');
|
|
33233
33237
|
localStorage.removeItem('access_token');
|
|
@@ -33235,10 +33239,6 @@ let EzpPrinting = class {
|
|
|
33235
33239
|
localStorage.removeItem('isAuthorized');
|
|
33236
33240
|
this.printOpen = false;
|
|
33237
33241
|
}
|
|
33238
|
-
async logOutandRevokeToken() {
|
|
33239
|
-
this.auth.revokeRefreshToken();
|
|
33240
|
-
this.logOut();
|
|
33241
|
-
}
|
|
33242
33242
|
async getSasUri() {
|
|
33243
33243
|
this.onlyGetSasUri = true;
|
|
33244
33244
|
const printService = new EzpPrintService(this.redirecturi, this.clientid);
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -16,7 +16,7 @@ const defineCustomElements = (win, options) => {
|
|
|
16
16
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
17
17
|
return patchEsm().then(() => {
|
|
18
18
|
appGlobals.globalScripts();
|
|
19
|
-
return index.bootstrapLazy([["ezp-auth_14.cjs",[[1,"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],"file":[32],"open":[64],"logOut":[64],"
|
|
19
|
+
return index.bootstrapLazy([["ezp-auth_14.cjs",[[1,"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],"file":[32],"open":[64],"logOut":[64],"getSasUri":[64],"getAuthUri":[64],"checkAuth":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]]],[1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1025],"fileurl":[1],"filetype":[1025],"fileid":[1025],"file":[16],"hidemenu":[4],"hideheader":[4],"seamless":[4],"loading":[32],"printProcessing":[32],"uploading":[32],"preparingUpload":[32],"printSuccess":[32],"printFailed":[32],"notSupported":[32],"noPrinters":[32],"userMenuOpen":[32],"printStopped":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedPrinterConfig":[32],"selectedProperties":[32]},[[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",{"filename":[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]}],[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]}],[1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]}],[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-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1],"small":[4]}],[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);
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
|
|
@@ -167,6 +167,7 @@ export class EzpPrinterSelection {
|
|
|
167
167
|
}
|
|
168
168
|
listenLogout() {
|
|
169
169
|
this.printCancel.emit();
|
|
170
|
+
this.logout.emit();
|
|
170
171
|
}
|
|
171
172
|
listenStatusCancel(event) {
|
|
172
173
|
if (event.detail === 'print-processing') {
|
|
@@ -718,6 +719,25 @@ export class EzpPrinterSelection {
|
|
|
718
719
|
}
|
|
719
720
|
}
|
|
720
721
|
}
|
|
722
|
+
}, {
|
|
723
|
+
"method": "logout",
|
|
724
|
+
"name": "logout",
|
|
725
|
+
"bubbles": true,
|
|
726
|
+
"cancelable": true,
|
|
727
|
+
"composed": true,
|
|
728
|
+
"docs": {
|
|
729
|
+
"tags": [],
|
|
730
|
+
"text": ""
|
|
731
|
+
},
|
|
732
|
+
"complexType": {
|
|
733
|
+
"original": "MouseEvent",
|
|
734
|
+
"resolved": "MouseEvent",
|
|
735
|
+
"references": {
|
|
736
|
+
"MouseEvent": {
|
|
737
|
+
"location": "global"
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
}
|
|
721
741
|
}]; }
|
|
722
742
|
static get listeners() { return [{
|
|
723
743
|
"name": "selectSelection",
|
|
@@ -27,9 +27,13 @@ export class EzpPrinting {
|
|
|
27
27
|
}
|
|
28
28
|
/** Watchers */
|
|
29
29
|
watchFileData(newValue, oldValue) {
|
|
30
|
+
console.log(newValue);
|
|
30
31
|
if (newValue !== oldValue && newValue.length > 0) {
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
let array = new Uint8Array(newValue.length);
|
|
33
|
+
for (let i = 0; i < newValue.length; i++) {
|
|
34
|
+
array[i] = newValue.charCodeAt(i);
|
|
35
|
+
}
|
|
36
|
+
this.file = new File([array], this.filename);
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
39
|
watchFilename(newValue, oldValue) {
|
|
@@ -95,6 +99,9 @@ export class EzpPrinting {
|
|
|
95
99
|
this.noDocumentOpen = false;
|
|
96
100
|
}
|
|
97
101
|
}
|
|
102
|
+
listenLogout() {
|
|
103
|
+
this.logOut();
|
|
104
|
+
}
|
|
98
105
|
/**
|
|
99
106
|
*
|
|
100
107
|
* Public methods
|
|
@@ -114,8 +121,7 @@ export class EzpPrinting {
|
|
|
114
121
|
}
|
|
115
122
|
}
|
|
116
123
|
async logOut() {
|
|
117
|
-
|
|
118
|
-
//this.auth.revokeRefreshToken()
|
|
124
|
+
this.auth.revokeRefreshToken();
|
|
119
125
|
localStorage.removeItem('properties');
|
|
120
126
|
localStorage.removeItem('refreshToken');
|
|
121
127
|
localStorage.removeItem('access_token');
|
|
@@ -123,10 +129,6 @@ export class EzpPrinting {
|
|
|
123
129
|
localStorage.removeItem('isAuthorized');
|
|
124
130
|
this.printOpen = false;
|
|
125
131
|
}
|
|
126
|
-
async logOutandRevokeToken() {
|
|
127
|
-
this.auth.revokeRefreshToken();
|
|
128
|
-
this.logOut();
|
|
129
|
-
}
|
|
130
132
|
async getSasUri() {
|
|
131
133
|
this.onlyGetSasUri = true;
|
|
132
134
|
const printService = new EzpPrintService(this.redirecturi, this.clientid);
|
|
@@ -631,22 +633,6 @@ export class EzpPrinting {
|
|
|
631
633
|
"tags": []
|
|
632
634
|
}
|
|
633
635
|
},
|
|
634
|
-
"logOutandRevokeToken": {
|
|
635
|
-
"complexType": {
|
|
636
|
-
"signature": "() => Promise<void>",
|
|
637
|
-
"parameters": [],
|
|
638
|
-
"references": {
|
|
639
|
-
"Promise": {
|
|
640
|
-
"location": "global"
|
|
641
|
-
}
|
|
642
|
-
},
|
|
643
|
-
"return": "Promise<void>"
|
|
644
|
-
},
|
|
645
|
-
"docs": {
|
|
646
|
-
"text": "",
|
|
647
|
-
"tags": []
|
|
648
|
-
}
|
|
649
|
-
},
|
|
650
636
|
"getSasUri": {
|
|
651
637
|
"complexType": {
|
|
652
638
|
"signature": "() => Promise<string>",
|
|
@@ -751,5 +737,11 @@ export class EzpPrinting {
|
|
|
751
737
|
"target": undefined,
|
|
752
738
|
"capture": false,
|
|
753
739
|
"passive": false
|
|
740
|
+
}, {
|
|
741
|
+
"name": "logout",
|
|
742
|
+
"method": "listenLogout",
|
|
743
|
+
"target": undefined,
|
|
744
|
+
"capture": false,
|
|
745
|
+
"passive": false
|
|
754
746
|
}]; }
|
|
755
747
|
}
|
|
@@ -110,11 +110,7 @@ export class EzpAuthorizationService {
|
|
|
110
110
|
body: encodeFormData({
|
|
111
111
|
token: authStore.state.refreshToken,
|
|
112
112
|
}),
|
|
113
|
-
})
|
|
114
|
-
.then((response) => {
|
|
115
|
-
console.log(response.json());
|
|
116
|
-
})
|
|
117
|
-
.catch((error) => {
|
|
113
|
+
}).catch((error) => {
|
|
118
114
|
console.log(error);
|
|
119
115
|
});
|
|
120
116
|
}
|
|
@@ -3166,11 +3166,7 @@ class EzpAuthorizationService {
|
|
|
3166
3166
|
body: encodeFormData({
|
|
3167
3167
|
token: authStore.state.refreshToken,
|
|
3168
3168
|
}),
|
|
3169
|
-
})
|
|
3170
|
-
.then((response) => {
|
|
3171
|
-
console.log(response.json());
|
|
3172
|
-
})
|
|
3173
|
-
.catch((error) => {
|
|
3169
|
+
}).catch((error) => {
|
|
3174
3170
|
console.log(error);
|
|
3175
3171
|
});
|
|
3176
3172
|
}
|
|
@@ -32676,6 +32672,7 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
32676
32672
|
this.__attachShadow();
|
|
32677
32673
|
this.printCancel = createEvent(this, "printCancel", 7);
|
|
32678
32674
|
this.printSubmit = createEvent(this, "printSubmit", 7);
|
|
32675
|
+
this.logout = createEvent(this, "logout", 7);
|
|
32679
32676
|
this.sasUri = '';
|
|
32680
32677
|
this.fileExtension = '';
|
|
32681
32678
|
this.duplexOptions = [
|
|
@@ -32837,6 +32834,7 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
32837
32834
|
}
|
|
32838
32835
|
listenLogout() {
|
|
32839
32836
|
this.printCancel.emit();
|
|
32837
|
+
this.logout.emit();
|
|
32840
32838
|
}
|
|
32841
32839
|
listenStatusCancel(event) {
|
|
32842
32840
|
if (event.detail === 'print-processing') {
|
|
@@ -33164,9 +33162,13 @@ let EzpPrinting$1 = class extends HTMLElement {
|
|
|
33164
33162
|
}
|
|
33165
33163
|
/** Watchers */
|
|
33166
33164
|
watchFileData(newValue, oldValue) {
|
|
33165
|
+
console.log(newValue);
|
|
33167
33166
|
if (newValue !== oldValue && newValue.length > 0) {
|
|
33168
|
-
|
|
33169
|
-
|
|
33167
|
+
let array = new Uint8Array(newValue.length);
|
|
33168
|
+
for (let i = 0; i < newValue.length; i++) {
|
|
33169
|
+
array[i] = newValue.charCodeAt(i);
|
|
33170
|
+
}
|
|
33171
|
+
this.file = new File([array], this.filename);
|
|
33170
33172
|
}
|
|
33171
33173
|
}
|
|
33172
33174
|
watchFilename(newValue, oldValue) {
|
|
@@ -33232,6 +33234,9 @@ let EzpPrinting$1 = class extends HTMLElement {
|
|
|
33232
33234
|
this.noDocumentOpen = false;
|
|
33233
33235
|
}
|
|
33234
33236
|
}
|
|
33237
|
+
listenLogout() {
|
|
33238
|
+
this.logOut();
|
|
33239
|
+
}
|
|
33235
33240
|
/**
|
|
33236
33241
|
*
|
|
33237
33242
|
* Public methods
|
|
@@ -33251,8 +33256,7 @@ let EzpPrinting$1 = class extends HTMLElement {
|
|
|
33251
33256
|
}
|
|
33252
33257
|
}
|
|
33253
33258
|
async logOut() {
|
|
33254
|
-
|
|
33255
|
-
//this.auth.revokeRefreshToken()
|
|
33259
|
+
this.auth.revokeRefreshToken();
|
|
33256
33260
|
localStorage.removeItem('properties');
|
|
33257
33261
|
localStorage.removeItem('refreshToken');
|
|
33258
33262
|
localStorage.removeItem('access_token');
|
|
@@ -33260,10 +33264,6 @@ let EzpPrinting$1 = class extends HTMLElement {
|
|
|
33260
33264
|
localStorage.removeItem('isAuthorized');
|
|
33261
33265
|
this.printOpen = false;
|
|
33262
33266
|
}
|
|
33263
|
-
async logOutandRevokeToken() {
|
|
33264
|
-
this.auth.revokeRefreshToken();
|
|
33265
|
-
this.logOut();
|
|
33266
|
-
}
|
|
33267
33267
|
async getSasUri() {
|
|
33268
33268
|
this.onlyGetSasUri = true;
|
|
33269
33269
|
const printService = new EzpPrintService(this.redirecturi, this.clientid);
|
|
@@ -33857,7 +33857,7 @@ const EzpIcon = /*@__PURE__*/proxyCustomElement(EzpIcon$1, [1,"ezp-icon",{"name"
|
|
|
33857
33857
|
const EzpIconButton = /*@__PURE__*/proxyCustomElement(EzpIconButton$1, [1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}]);
|
|
33858
33858
|
const EzpLabel = /*@__PURE__*/proxyCustomElement(EzpLabel$1, [1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]);
|
|
33859
33859
|
const EzpPrinterSelection = /*@__PURE__*/proxyCustomElement(EzpPrinterSelection$1, [1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1025],"fileurl":[1],"filetype":[1025],"fileid":[1025],"file":[16],"hidemenu":[4],"hideheader":[4],"seamless":[4],"loading":[32],"printProcessing":[32],"uploading":[32],"preparingUpload":[32],"printSuccess":[32],"printFailed":[32],"notSupported":[32],"noPrinters":[32],"userMenuOpen":[32],"printStopped":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedPrinterConfig":[32],"selectedProperties":[32]},[[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"],[0,"statusCancel","listenStatusCancel"],[0,"statusClose","listenStatusClose"],[0,"statusRetry","listenStatusRetry"]]]);
|
|
33860
|
-
const EzpPrinting = /*@__PURE__*/proxyCustomElement(EzpPrinting$1, [1,"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],"file":[32]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"]]]);
|
|
33860
|
+
const EzpPrinting = /*@__PURE__*/proxyCustomElement(EzpPrinting$1, [1,"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],"file":[32]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]]]);
|
|
33861
33861
|
const EzpSelect = /*@__PURE__*/proxyCustomElement(EzpSelect$1, [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]}]);
|
|
33862
33862
|
const EzpStatus = /*@__PURE__*/proxyCustomElement(EzpStatus$1, [1,"ezp-status",{"description":[1],"processing":[4],"instance":[1],"icon":[1],"cancel":[8],"close":[8],"retry":[8]}]);
|
|
33863
33863
|
const EzpStepper = /*@__PURE__*/proxyCustomElement(EzpStepper$1, [1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]}]);
|
|
@@ -148,18 +148,20 @@ export declare interface EzpPrinterSelection extends Components.EzpPrinterSelect
|
|
|
148
148
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
149
149
|
template: '<ng-content></ng-content>',
|
|
150
150
|
inputs: ['clientID', 'file', 'fileid', 'filename', 'filetype', 'fileurl', 'hideheader', 'hidemenu', 'redirectURI', 'seamless'],
|
|
151
|
-
outputs: ['printCancel', 'printSubmit']
|
|
151
|
+
outputs: ['printCancel', 'printSubmit', 'logout']
|
|
152
152
|
})
|
|
153
153
|
export class EzpPrinterSelection {
|
|
154
154
|
/** Description... */
|
|
155
155
|
printCancel!: EventEmitter<CustomEvent<MouseEvent>>;
|
|
156
156
|
/** Description... */
|
|
157
157
|
printSubmit!: EventEmitter<CustomEvent<MouseEvent>>;
|
|
158
|
+
/** */
|
|
159
|
+
logout!: EventEmitter<CustomEvent<MouseEvent>>;
|
|
158
160
|
protected el: HTMLElement;
|
|
159
161
|
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
160
162
|
c.detach();
|
|
161
163
|
this.el = r.nativeElement;
|
|
162
|
-
proxyOutputs(this, this.el, ['printCancel', 'printSubmit']);
|
|
164
|
+
proxyOutputs(this, this.el, ['printCancel', 'printSubmit', 'logout']);
|
|
163
165
|
}
|
|
164
166
|
}
|
|
165
167
|
|
|
@@ -167,7 +169,7 @@ export class EzpPrinterSelection {
|
|
|
167
169
|
export declare interface EzpPrinting extends Components.EzpPrinting {}
|
|
168
170
|
@ProxyCmp({
|
|
169
171
|
inputs: ['appearance', 'authapihosturl', 'clientid', 'code', 'custom', 'filedata', 'fileid', 'filename', 'filetype', 'fileurl', 'hideheader', 'hidelogin', 'hidemenu', 'language', 'printapihosturl', 'redirecturi', 'seamless', 'theme', 'trigger'],
|
|
170
|
-
methods: ['open', 'logOut', '
|
|
172
|
+
methods: ['open', 'logOut', 'getSasUri', 'getAuthUri', 'checkAuth']
|
|
171
173
|
})
|
|
172
174
|
@Component({
|
|
173
175
|
selector: 'ezp-printing',
|
package/dist/esm/ezeep.js
CHANGED
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
|
|
16
16
|
patchBrowser().then(options => {
|
|
17
17
|
globalScripts();
|
|
18
|
-
return bootstrapLazy([["ezp-auth_14",[[1,"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],"file":[32],"open":[64],"logOut":[64],"
|
|
18
|
+
return bootstrapLazy([["ezp-auth_14",[[1,"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],"file":[32],"open":[64],"logOut":[64],"getSasUri":[64],"getAuthUri":[64],"checkAuth":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]]],[1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1025],"fileurl":[1],"filetype":[1025],"fileid":[1025],"file":[16],"hidemenu":[4],"hideheader":[4],"seamless":[4],"loading":[32],"printProcessing":[32],"uploading":[32],"preparingUpload":[32],"printSuccess":[32],"printFailed":[32],"notSupported":[32],"noPrinters":[32],"userMenuOpen":[32],"printStopped":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedPrinterConfig":[32],"selectedProperties":[32]},[[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",{"filename":[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]}],[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]}],[1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]}],[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-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1],"small":[4]}],[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);
|
|
19
19
|
});
|
|
@@ -3153,11 +3153,7 @@ class EzpAuthorizationService {
|
|
|
3153
3153
|
body: encodeFormData({
|
|
3154
3154
|
token: authStore.state.refreshToken,
|
|
3155
3155
|
}),
|
|
3156
|
-
})
|
|
3157
|
-
.then((response) => {
|
|
3158
|
-
console.log(response.json());
|
|
3159
|
-
})
|
|
3160
|
-
.catch((error) => {
|
|
3156
|
+
}).catch((error) => {
|
|
3161
3157
|
console.log(error);
|
|
3162
3158
|
});
|
|
3163
3159
|
}
|
|
@@ -32649,6 +32645,7 @@ let EzpPrinterSelection = class {
|
|
|
32649
32645
|
registerInstance(this, hostRef);
|
|
32650
32646
|
this.printCancel = createEvent(this, "printCancel", 7);
|
|
32651
32647
|
this.printSubmit = createEvent(this, "printSubmit", 7);
|
|
32648
|
+
this.logout = createEvent(this, "logout", 7);
|
|
32652
32649
|
this.sasUri = '';
|
|
32653
32650
|
this.fileExtension = '';
|
|
32654
32651
|
this.duplexOptions = [
|
|
@@ -32810,6 +32807,7 @@ let EzpPrinterSelection = class {
|
|
|
32810
32807
|
}
|
|
32811
32808
|
listenLogout() {
|
|
32812
32809
|
this.printCancel.emit();
|
|
32810
|
+
this.logout.emit();
|
|
32813
32811
|
}
|
|
32814
32812
|
listenStatusCancel(event) {
|
|
32815
32813
|
if (event.detail === 'print-processing') {
|
|
@@ -33135,9 +33133,13 @@ let EzpPrinting = class {
|
|
|
33135
33133
|
}
|
|
33136
33134
|
/** Watchers */
|
|
33137
33135
|
watchFileData(newValue, oldValue) {
|
|
33136
|
+
console.log(newValue);
|
|
33138
33137
|
if (newValue !== oldValue && newValue.length > 0) {
|
|
33139
|
-
|
|
33140
|
-
|
|
33138
|
+
let array = new Uint8Array(newValue.length);
|
|
33139
|
+
for (let i = 0; i < newValue.length; i++) {
|
|
33140
|
+
array[i] = newValue.charCodeAt(i);
|
|
33141
|
+
}
|
|
33142
|
+
this.file = new File([array], this.filename);
|
|
33141
33143
|
}
|
|
33142
33144
|
}
|
|
33143
33145
|
watchFilename(newValue, oldValue) {
|
|
@@ -33203,6 +33205,9 @@ let EzpPrinting = class {
|
|
|
33203
33205
|
this.noDocumentOpen = false;
|
|
33204
33206
|
}
|
|
33205
33207
|
}
|
|
33208
|
+
listenLogout() {
|
|
33209
|
+
this.logOut();
|
|
33210
|
+
}
|
|
33206
33211
|
/**
|
|
33207
33212
|
*
|
|
33208
33213
|
* Public methods
|
|
@@ -33222,8 +33227,7 @@ let EzpPrinting = class {
|
|
|
33222
33227
|
}
|
|
33223
33228
|
}
|
|
33224
33229
|
async logOut() {
|
|
33225
|
-
|
|
33226
|
-
//this.auth.revokeRefreshToken()
|
|
33230
|
+
this.auth.revokeRefreshToken();
|
|
33227
33231
|
localStorage.removeItem('properties');
|
|
33228
33232
|
localStorage.removeItem('refreshToken');
|
|
33229
33233
|
localStorage.removeItem('access_token');
|
|
@@ -33231,10 +33235,6 @@ let EzpPrinting = class {
|
|
|
33231
33235
|
localStorage.removeItem('isAuthorized');
|
|
33232
33236
|
this.printOpen = false;
|
|
33233
33237
|
}
|
|
33234
|
-
async logOutandRevokeToken() {
|
|
33235
|
-
this.auth.revokeRefreshToken();
|
|
33236
|
-
this.logOut();
|
|
33237
|
-
}
|
|
33238
33238
|
async getSasUri() {
|
|
33239
33239
|
this.onlyGetSasUri = true;
|
|
33240
33240
|
const printService = new EzpPrintService(this.redirecturi, this.clientid);
|
package/dist/esm/loader.js
CHANGED
|
@@ -12,7 +12,7 @@ const defineCustomElements = (win, options) => {
|
|
|
12
12
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
13
13
|
return patchEsm().then(() => {
|
|
14
14
|
globalScripts();
|
|
15
|
-
return bootstrapLazy([["ezp-auth_14",[[1,"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],"file":[32],"open":[64],"logOut":[64],"
|
|
15
|
+
return bootstrapLazy([["ezp-auth_14",[[1,"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],"file":[32],"open":[64],"logOut":[64],"getSasUri":[64],"getAuthUri":[64],"checkAuth":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]]],[1,"ezp-printer-selection",{"clientID":[1,"client-i-d"],"redirectURI":[1,"redirect-u-r-i"],"filename":[1025],"fileurl":[1],"filetype":[1025],"fileid":[1025],"file":[16],"hidemenu":[4],"hideheader":[4],"seamless":[4],"loading":[32],"printProcessing":[32],"uploading":[32],"preparingUpload":[32],"printSuccess":[32],"printFailed":[32],"notSupported":[32],"noPrinters":[32],"userMenuOpen":[32],"printStopped":[32],"userName":[32],"printers":[32],"selectedPrinter":[32],"printerConfig":[32],"selectedPrinterConfig":[32],"selectedProperties":[32]},[[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",{"filename":[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]}],[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]}],[1,"ezp-stepper",{"icon":[1],"label":[1],"max":[2],"min":[2],"canDecrease":[32],"canIncrease":[32],"focused":[32],"value":[32]}],[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-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1],"small":[4]}],[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);
|
|
16
16
|
});
|
|
17
17
|
};
|
|
18
18
|
|
package/dist/esm-es5/ezeep.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-13f75d28.js";import{g as globalScripts}from"./app-globals-28960cbc.js";var patchBrowser=function(){var e=import.meta.url;var t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return promiseResolve(t)};patchBrowser().then((function(e){globalScripts();return bootstrapLazy([["ezp-auth_14",[[1,"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],file:[32],open:[64],logOut:[64],
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-13f75d28.js";import{g as globalScripts}from"./app-globals-28960cbc.js";var patchBrowser=function(){var e=import.meta.url;var t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return promiseResolve(t)};patchBrowser().then((function(e){globalScripts();return bootstrapLazy([["ezp-auth_14",[[1,"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],file:[32],open:[64],logOut:[64],getSasUri:[64],getAuthUri:[64],checkAuth:[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]]],[1,"ezp-printer-selection",{clientID:[1,"client-i-d"],redirectURI:[1,"redirect-u-r-i"],filename:[1025],fileurl:[1],filetype:[1025],fileid:[1025],file:[16],hidemenu:[4],hideheader:[4],seamless:[4],loading:[32],printProcessing:[32],uploading:[32],preparingUpload:[32],printSuccess:[32],printFailed:[32],notSupported:[32],noPrinters:[32],userMenuOpen:[32],printStopped:[32],userName:[32],printers:[32],selectedPrinter:[32],printerConfig:[32],selectedPrinterConfig:[32],selectedProperties:[32]},[[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",{filename:[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]}],[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]}],[1,"ezp-stepper",{icon:[1],label:[1],max:[2],min:[2],canDecrease:[32],canIncrease:[32],focused:[32],value:[32]}],[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-icon-button",{blank:[4],disabled:[4],href:[1],icon:[1],level:[1],type:[1]}],[1,"ezp-text-button",{blank:[4],disabled:[4],href:[1],level:[1],label:[1],type:[1],small:[4]}],[1,"ezp-icon",{name:[1],size:[1],framed:[4]}],[1,"ezp-label",{ellipsis:[4],level:[1],noWrap:[4,"no-wrap"],text:[1],weight:[1]}]]]],e)}));
|