@ezeep/ezeep-js 1.0.217 → 1.0.220
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 +20 -23
- 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 +10 -22
- package/dist/collection/services/auth.js +14 -17
- package/dist/custom-elements/index.js +21 -24
- package/dist/directives/proxies.ts +5 -3
- package/dist/esm/ezeep.js +1 -1
- package/dist/esm/ezp-auth_14.entry.js +20 -23
- 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-afeb203b.entry.js → p-d8ef521f.entry.js} +2 -2
- package/dist/ezeep/{p-32bf202f.system.entry.js → p-d9a3b012.system.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-afeb203b.entry.js → p-d8ef521f.entry.js} +2 -2
- package/www/build/{p-32bf202f.system.entry.js → p-d9a3b012.system.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
|
});
|
|
@@ -3147,23 +3147,20 @@ class EzpAuthorizationService {
|
|
|
3147
3147
|
});
|
|
3148
3148
|
}
|
|
3149
3149
|
revokeRefreshToken() {
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
.
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
.catch((error) => {
|
|
3165
|
-
console.log(error);
|
|
3166
|
-
});
|
|
3150
|
+
if (authStore.state.refreshToken)
|
|
3151
|
+
fetch(`https://${this.oauthUrl}/oauth/revoke/`, {
|
|
3152
|
+
credentials: 'include',
|
|
3153
|
+
headers: {
|
|
3154
|
+
Authorization: 'Basic ' + btoa(this.clientID + ':'),
|
|
3155
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
3156
|
+
},
|
|
3157
|
+
method: 'POST',
|
|
3158
|
+
body: encodeFormData({
|
|
3159
|
+
token: authStore.state.refreshToken,
|
|
3160
|
+
}),
|
|
3161
|
+
}).catch((error) => {
|
|
3162
|
+
console.log(error);
|
|
3163
|
+
});
|
|
3167
3164
|
}
|
|
3168
3165
|
}
|
|
3169
3166
|
const authStore = createStore({
|
|
@@ -32653,6 +32650,7 @@ let EzpPrinterSelection = class {
|
|
|
32653
32650
|
index.registerInstance(this, hostRef);
|
|
32654
32651
|
this.printCancel = index.createEvent(this, "printCancel", 7);
|
|
32655
32652
|
this.printSubmit = index.createEvent(this, "printSubmit", 7);
|
|
32653
|
+
this.logout = index.createEvent(this, "logout", 7);
|
|
32656
32654
|
this.sasUri = '';
|
|
32657
32655
|
this.fileExtension = '';
|
|
32658
32656
|
this.duplexOptions = [
|
|
@@ -32814,6 +32812,7 @@ let EzpPrinterSelection = class {
|
|
|
32814
32812
|
}
|
|
32815
32813
|
listenLogout() {
|
|
32816
32814
|
this.printCancel.emit();
|
|
32815
|
+
this.logout.emit();
|
|
32817
32816
|
}
|
|
32818
32817
|
listenStatusCancel(event) {
|
|
32819
32818
|
if (event.detail === 'print-processing') {
|
|
@@ -33211,6 +33210,9 @@ let EzpPrinting = class {
|
|
|
33211
33210
|
this.noDocumentOpen = false;
|
|
33212
33211
|
}
|
|
33213
33212
|
}
|
|
33213
|
+
listenLogout() {
|
|
33214
|
+
this.logOut();
|
|
33215
|
+
}
|
|
33214
33216
|
/**
|
|
33215
33217
|
*
|
|
33216
33218
|
* Public methods
|
|
@@ -33230,8 +33232,7 @@ let EzpPrinting = class {
|
|
|
33230
33232
|
}
|
|
33231
33233
|
}
|
|
33232
33234
|
async logOut() {
|
|
33233
|
-
|
|
33234
|
-
//this.auth.revokeRefreshToken()
|
|
33235
|
+
this.auth.revokeRefreshToken();
|
|
33235
33236
|
localStorage.removeItem('properties');
|
|
33236
33237
|
localStorage.removeItem('refreshToken');
|
|
33237
33238
|
localStorage.removeItem('access_token');
|
|
@@ -33239,10 +33240,6 @@ let EzpPrinting = class {
|
|
|
33239
33240
|
localStorage.removeItem('isAuthorized');
|
|
33240
33241
|
this.printOpen = false;
|
|
33241
33242
|
}
|
|
33242
|
-
async logOutandRevokeToken() {
|
|
33243
|
-
this.auth.revokeRefreshToken();
|
|
33244
|
-
this.logOut();
|
|
33245
|
-
}
|
|
33246
33243
|
async getSasUri() {
|
|
33247
33244
|
this.onlyGetSasUri = true;
|
|
33248
33245
|
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",
|
|
@@ -99,6 +99,9 @@ export class EzpPrinting {
|
|
|
99
99
|
this.noDocumentOpen = false;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
+
listenLogout() {
|
|
103
|
+
this.logOut();
|
|
104
|
+
}
|
|
102
105
|
/**
|
|
103
106
|
*
|
|
104
107
|
* Public methods
|
|
@@ -118,8 +121,7 @@ export class EzpPrinting {
|
|
|
118
121
|
}
|
|
119
122
|
}
|
|
120
123
|
async logOut() {
|
|
121
|
-
|
|
122
|
-
//this.auth.revokeRefreshToken()
|
|
124
|
+
this.auth.revokeRefreshToken();
|
|
123
125
|
localStorage.removeItem('properties');
|
|
124
126
|
localStorage.removeItem('refreshToken');
|
|
125
127
|
localStorage.removeItem('access_token');
|
|
@@ -127,10 +129,6 @@ export class EzpPrinting {
|
|
|
127
129
|
localStorage.removeItem('isAuthorized');
|
|
128
130
|
this.printOpen = false;
|
|
129
131
|
}
|
|
130
|
-
async logOutandRevokeToken() {
|
|
131
|
-
this.auth.revokeRefreshToken();
|
|
132
|
-
this.logOut();
|
|
133
|
-
}
|
|
134
132
|
async getSasUri() {
|
|
135
133
|
this.onlyGetSasUri = true;
|
|
136
134
|
const printService = new EzpPrintService(this.redirecturi, this.clientid);
|
|
@@ -635,22 +633,6 @@ export class EzpPrinting {
|
|
|
635
633
|
"tags": []
|
|
636
634
|
}
|
|
637
635
|
},
|
|
638
|
-
"logOutandRevokeToken": {
|
|
639
|
-
"complexType": {
|
|
640
|
-
"signature": "() => Promise<void>",
|
|
641
|
-
"parameters": [],
|
|
642
|
-
"references": {
|
|
643
|
-
"Promise": {
|
|
644
|
-
"location": "global"
|
|
645
|
-
}
|
|
646
|
-
},
|
|
647
|
-
"return": "Promise<void>"
|
|
648
|
-
},
|
|
649
|
-
"docs": {
|
|
650
|
-
"text": "",
|
|
651
|
-
"tags": []
|
|
652
|
-
}
|
|
653
|
-
},
|
|
654
636
|
"getSasUri": {
|
|
655
637
|
"complexType": {
|
|
656
638
|
"signature": "() => Promise<string>",
|
|
@@ -755,5 +737,11 @@ export class EzpPrinting {
|
|
|
755
737
|
"target": undefined,
|
|
756
738
|
"capture": false,
|
|
757
739
|
"passive": false
|
|
740
|
+
}, {
|
|
741
|
+
"name": "logout",
|
|
742
|
+
"method": "listenLogout",
|
|
743
|
+
"target": undefined,
|
|
744
|
+
"capture": false,
|
|
745
|
+
"passive": false
|
|
758
746
|
}]; }
|
|
759
747
|
}
|
|
@@ -100,23 +100,20 @@ export class EzpAuthorizationService {
|
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
102
|
revokeRefreshToken() {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
.
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
.catch((error) => {
|
|
118
|
-
console.log(error);
|
|
119
|
-
});
|
|
103
|
+
if (authStore.state.refreshToken)
|
|
104
|
+
fetch(`https://${this.oauthUrl}/oauth/revoke/`, {
|
|
105
|
+
credentials: 'include',
|
|
106
|
+
headers: {
|
|
107
|
+
Authorization: 'Basic ' + btoa(this.clientID + ':'),
|
|
108
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
109
|
+
},
|
|
110
|
+
method: 'POST',
|
|
111
|
+
body: encodeFormData({
|
|
112
|
+
token: authStore.state.refreshToken,
|
|
113
|
+
}),
|
|
114
|
+
}).catch((error) => {
|
|
115
|
+
console.log(error);
|
|
116
|
+
});
|
|
120
117
|
}
|
|
121
118
|
}
|
|
122
119
|
const authStore = createStore({
|
|
@@ -3156,23 +3156,20 @@ class EzpAuthorizationService {
|
|
|
3156
3156
|
});
|
|
3157
3157
|
}
|
|
3158
3158
|
revokeRefreshToken() {
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
.
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
.catch((error) => {
|
|
3174
|
-
console.log(error);
|
|
3175
|
-
});
|
|
3159
|
+
if (authStore.state.refreshToken)
|
|
3160
|
+
fetch(`https://${this.oauthUrl}/oauth/revoke/`, {
|
|
3161
|
+
credentials: 'include',
|
|
3162
|
+
headers: {
|
|
3163
|
+
Authorization: 'Basic ' + btoa(this.clientID + ':'),
|
|
3164
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
3165
|
+
},
|
|
3166
|
+
method: 'POST',
|
|
3167
|
+
body: encodeFormData({
|
|
3168
|
+
token: authStore.state.refreshToken,
|
|
3169
|
+
}),
|
|
3170
|
+
}).catch((error) => {
|
|
3171
|
+
console.log(error);
|
|
3172
|
+
});
|
|
3176
3173
|
}
|
|
3177
3174
|
}
|
|
3178
3175
|
const authStore = createStore({
|
|
@@ -32676,6 +32673,7 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
32676
32673
|
this.__attachShadow();
|
|
32677
32674
|
this.printCancel = createEvent(this, "printCancel", 7);
|
|
32678
32675
|
this.printSubmit = createEvent(this, "printSubmit", 7);
|
|
32676
|
+
this.logout = createEvent(this, "logout", 7);
|
|
32679
32677
|
this.sasUri = '';
|
|
32680
32678
|
this.fileExtension = '';
|
|
32681
32679
|
this.duplexOptions = [
|
|
@@ -32837,6 +32835,7 @@ let EzpPrinterSelection$1 = class extends HTMLElement {
|
|
|
32837
32835
|
}
|
|
32838
32836
|
listenLogout() {
|
|
32839
32837
|
this.printCancel.emit();
|
|
32838
|
+
this.logout.emit();
|
|
32840
32839
|
}
|
|
32841
32840
|
listenStatusCancel(event) {
|
|
32842
32841
|
if (event.detail === 'print-processing') {
|
|
@@ -33236,6 +33235,9 @@ let EzpPrinting$1 = class extends HTMLElement {
|
|
|
33236
33235
|
this.noDocumentOpen = false;
|
|
33237
33236
|
}
|
|
33238
33237
|
}
|
|
33238
|
+
listenLogout() {
|
|
33239
|
+
this.logOut();
|
|
33240
|
+
}
|
|
33239
33241
|
/**
|
|
33240
33242
|
*
|
|
33241
33243
|
* Public methods
|
|
@@ -33255,8 +33257,7 @@ let EzpPrinting$1 = class extends HTMLElement {
|
|
|
33255
33257
|
}
|
|
33256
33258
|
}
|
|
33257
33259
|
async logOut() {
|
|
33258
|
-
|
|
33259
|
-
//this.auth.revokeRefreshToken()
|
|
33260
|
+
this.auth.revokeRefreshToken();
|
|
33260
33261
|
localStorage.removeItem('properties');
|
|
33261
33262
|
localStorage.removeItem('refreshToken');
|
|
33262
33263
|
localStorage.removeItem('access_token');
|
|
@@ -33264,10 +33265,6 @@ let EzpPrinting$1 = class extends HTMLElement {
|
|
|
33264
33265
|
localStorage.removeItem('isAuthorized');
|
|
33265
33266
|
this.printOpen = false;
|
|
33266
33267
|
}
|
|
33267
|
-
async logOutandRevokeToken() {
|
|
33268
|
-
this.auth.revokeRefreshToken();
|
|
33269
|
-
this.logOut();
|
|
33270
|
-
}
|
|
33271
33268
|
async getSasUri() {
|
|
33272
33269
|
this.onlyGetSasUri = true;
|
|
33273
33270
|
const printService = new EzpPrintService(this.redirecturi, this.clientid);
|
|
@@ -33861,7 +33858,7 @@ const EzpIcon = /*@__PURE__*/proxyCustomElement(EzpIcon$1, [1,"ezp-icon",{"name"
|
|
|
33861
33858
|
const EzpIconButton = /*@__PURE__*/proxyCustomElement(EzpIconButton$1, [1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}]);
|
|
33862
33859
|
const EzpLabel = /*@__PURE__*/proxyCustomElement(EzpLabel$1, [1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]);
|
|
33863
33860
|
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"]]]);
|
|
33864
|
-
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"]]]);
|
|
33861
|
+
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"]]]);
|
|
33865
33862
|
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]}]);
|
|
33866
33863
|
const EzpStatus = /*@__PURE__*/proxyCustomElement(EzpStatus$1, [1,"ezp-status",{"description":[1],"processing":[4],"instance":[1],"icon":[1],"cancel":[8],"close":[8],"retry":[8]}]);
|
|
33867
33864
|
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
|
});
|
|
@@ -3143,23 +3143,20 @@ class EzpAuthorizationService {
|
|
|
3143
3143
|
});
|
|
3144
3144
|
}
|
|
3145
3145
|
revokeRefreshToken() {
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
.
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
.catch((error) => {
|
|
3161
|
-
console.log(error);
|
|
3162
|
-
});
|
|
3146
|
+
if (authStore.state.refreshToken)
|
|
3147
|
+
fetch(`https://${this.oauthUrl}/oauth/revoke/`, {
|
|
3148
|
+
credentials: 'include',
|
|
3149
|
+
headers: {
|
|
3150
|
+
Authorization: 'Basic ' + btoa(this.clientID + ':'),
|
|
3151
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
3152
|
+
},
|
|
3153
|
+
method: 'POST',
|
|
3154
|
+
body: encodeFormData({
|
|
3155
|
+
token: authStore.state.refreshToken,
|
|
3156
|
+
}),
|
|
3157
|
+
}).catch((error) => {
|
|
3158
|
+
console.log(error);
|
|
3159
|
+
});
|
|
3163
3160
|
}
|
|
3164
3161
|
}
|
|
3165
3162
|
const authStore = createStore({
|
|
@@ -32649,6 +32646,7 @@ let EzpPrinterSelection = class {
|
|
|
32649
32646
|
registerInstance(this, hostRef);
|
|
32650
32647
|
this.printCancel = createEvent(this, "printCancel", 7);
|
|
32651
32648
|
this.printSubmit = createEvent(this, "printSubmit", 7);
|
|
32649
|
+
this.logout = createEvent(this, "logout", 7);
|
|
32652
32650
|
this.sasUri = '';
|
|
32653
32651
|
this.fileExtension = '';
|
|
32654
32652
|
this.duplexOptions = [
|
|
@@ -32810,6 +32808,7 @@ let EzpPrinterSelection = class {
|
|
|
32810
32808
|
}
|
|
32811
32809
|
listenLogout() {
|
|
32812
32810
|
this.printCancel.emit();
|
|
32811
|
+
this.logout.emit();
|
|
32813
32812
|
}
|
|
32814
32813
|
listenStatusCancel(event) {
|
|
32815
32814
|
if (event.detail === 'print-processing') {
|
|
@@ -33207,6 +33206,9 @@ let EzpPrinting = class {
|
|
|
33207
33206
|
this.noDocumentOpen = false;
|
|
33208
33207
|
}
|
|
33209
33208
|
}
|
|
33209
|
+
listenLogout() {
|
|
33210
|
+
this.logOut();
|
|
33211
|
+
}
|
|
33210
33212
|
/**
|
|
33211
33213
|
*
|
|
33212
33214
|
* Public methods
|
|
@@ -33226,8 +33228,7 @@ let EzpPrinting = class {
|
|
|
33226
33228
|
}
|
|
33227
33229
|
}
|
|
33228
33230
|
async logOut() {
|
|
33229
|
-
|
|
33230
|
-
//this.auth.revokeRefreshToken()
|
|
33231
|
+
this.auth.revokeRefreshToken();
|
|
33231
33232
|
localStorage.removeItem('properties');
|
|
33232
33233
|
localStorage.removeItem('refreshToken');
|
|
33233
33234
|
localStorage.removeItem('access_token');
|
|
@@ -33235,10 +33236,6 @@ let EzpPrinting = class {
|
|
|
33235
33236
|
localStorage.removeItem('isAuthorized');
|
|
33236
33237
|
this.printOpen = false;
|
|
33237
33238
|
}
|
|
33238
|
-
async logOutandRevokeToken() {
|
|
33239
|
-
this.auth.revokeRefreshToken();
|
|
33240
|
-
this.logOut();
|
|
33241
|
-
}
|
|
33242
33239
|
async getSasUri() {
|
|
33243
33240
|
this.onlyGetSasUri = true;
|
|
33244
33241
|
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)}));
|