@ezeep/ezeep-js 1.0.157 → 1.0.160
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 +2 -2
- package/dist/cjs/ezp-auth_14.cjs.entry.js +30 -25
- package/dist/cjs/{index-d547be4e.js → index-baa7689a.js} +8 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/ezp-auth/ezp-auth.js +16 -16
- package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +5 -6
- package/dist/collection/components/ezp-printing/ezp-printing.js +24 -0
- package/dist/collection/components/ezp-upload/ezp-upload.css +1 -0
- package/dist/collection/components/ezp-user-menu/ezp-user-menu.js +5 -1
- package/dist/custom-elements/index.js +30 -25
- package/dist/directives/proxies.ts +1 -1
- package/dist/esm/ezeep.js +2 -2
- package/dist/esm/ezp-auth_14.entry.js +30 -25
- package/dist/esm/{index-485041ac.js → index-18d4bf15.js} +8 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm-es5/ezeep.js +1 -1
- package/dist/esm-es5/ezp-auth_14.entry.js +3 -3
- package/dist/esm-es5/index-18d4bf15.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/ezeep/ezeep.esm.js +1 -1
- package/dist/ezeep/ezeep.js +1 -1
- package/dist/ezeep/p-80d5c308.system.js +1 -0
- package/dist/ezeep/{p-f310e367.entry.js → p-9ff19f99.entry.js} +2 -2
- package/dist/ezeep/p-d9b69b53.js +1 -0
- package/dist/ezeep/{p-e149771a.system.entry.js → p-e762ca0f.system.entry.js} +3 -3
- package/{www/build/p-cc2bb341.system.js → dist/ezeep/p-f96ca6a7.system.js} +1 -1
- package/dist/types/components/ezp-auth/ezp-auth.d.ts +2 -1
- package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +1 -1
- package/dist/types/components/ezp-printing/ezp-printing.d.ts +1 -0
- package/dist/types/components.d.ts +1 -0
- package/package.json +1 -1
- package/www/build/ezeep.esm.js +1 -1
- package/www/build/ezeep.js +1 -1
- package/www/build/p-80d5c308.system.js +1 -0
- package/www/build/{p-f310e367.entry.js → p-9ff19f99.entry.js} +2 -2
- package/www/build/p-d9b69b53.js +1 -0
- package/www/build/{p-e149771a.system.entry.js → p-e762ca0f.system.entry.js} +3 -3
- package/{dist/ezeep/p-cc2bb341.system.js → www/build/p-f96ca6a7.system.js} +1 -1
- package/www/index.html +1 -1
- package/dist/esm-es5/index-485041ac.js +0 -1
- package/dist/ezeep/p-d4dae139.system.js +0 -1
- package/dist/ezeep/p-fa808a39.js +0 -1
- package/www/build/p-d4dae139.system.js +0 -1
- package/www/build/p-fa808a39.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getRenderingRef, f as forceUpdate, r as registerInstance, c as createEvent, h, H as Host, a as getElement, d as getAssetPath, F as Fragment } from './index-
|
|
1
|
+
import { g as getRenderingRef, f as forceUpdate, r as registerInstance, c as createEvent, h, H as Host, a as getElement, d as getAssetPath, F as Fragment } from './index-18d4bf15.js';
|
|
2
2
|
|
|
3
3
|
const appendToMap = (map, propName, value) => {
|
|
4
4
|
const items = map.get(propName);
|
|
@@ -3163,7 +3163,7 @@ let EzpAuth = class {
|
|
|
3163
3163
|
registerInstance(this, hostRef);
|
|
3164
3164
|
this.authCancel = createEvent(this, "authCancel", 7);
|
|
3165
3165
|
this.authSuccess = createEvent(this, "authSuccess", 7);
|
|
3166
|
-
this.
|
|
3166
|
+
this.oauthPopupWindow = null;
|
|
3167
3167
|
this.previousUrl = null;
|
|
3168
3168
|
}
|
|
3169
3169
|
listenDialogAction() {
|
|
@@ -3172,38 +3172,32 @@ let EzpAuth = class {
|
|
|
3172
3172
|
listenDialogClose() {
|
|
3173
3173
|
this.authCancel.emit();
|
|
3174
3174
|
}
|
|
3175
|
+
listenStatusCancel() {
|
|
3176
|
+
this.authCancel.emit();
|
|
3177
|
+
}
|
|
3175
3178
|
openSignInWindow(url, name) {
|
|
3176
3179
|
// remove any existing event listeners
|
|
3177
3180
|
window.removeEventListener('message', this.receiveMessage);
|
|
3178
3181
|
// window features
|
|
3179
3182
|
const strWindowFeatures = 'toolbar=no, menubar=no, width=600, height=7000, top=100, left=100';
|
|
3180
|
-
if (this.
|
|
3183
|
+
if (this.oauthPopupWindow === null || this.oauthPopupWindow.closed) {
|
|
3181
3184
|
/* if the pointer to the window object in memory does not exist
|
|
3182
3185
|
or if such pointer exists but the window was closed */
|
|
3183
|
-
this.
|
|
3186
|
+
this.oauthPopupWindow = window.open(url, name, strWindowFeatures);
|
|
3184
3187
|
}
|
|
3185
3188
|
else if (this.previousUrl !== this.auth.authURI.toString()) {
|
|
3186
3189
|
/* if the resource to load is different,
|
|
3187
3190
|
then we load it in the already opened secondary window and then
|
|
3188
3191
|
we bring such window back on top/in front of its parent window. */
|
|
3189
|
-
this.
|
|
3190
|
-
this.
|
|
3192
|
+
this.oauthPopupWindow = window.open(url, name, strWindowFeatures);
|
|
3193
|
+
this.oauthPopupWindow.focus();
|
|
3191
3194
|
}
|
|
3192
3195
|
else {
|
|
3193
3196
|
/* else the window reference must exist and the window
|
|
3194
3197
|
is not closed; therefore, we can bring it back on top of any other
|
|
3195
3198
|
window with the focus() method. There would be no need to re-create
|
|
3196
3199
|
the window or to reload the referenced resource. */
|
|
3197
|
-
this.
|
|
3198
|
-
}
|
|
3199
|
-
// check if the window was closed and cancel login accordingly
|
|
3200
|
-
if (this.hidelogin) {
|
|
3201
|
-
let checkClosedTimer = setInterval(() => {
|
|
3202
|
-
if (this.windowObjectReference.closed) {
|
|
3203
|
-
this.authCancel.emit();
|
|
3204
|
-
clearInterval(checkClosedTimer);
|
|
3205
|
-
}
|
|
3206
|
-
}, 500);
|
|
3200
|
+
this.oauthPopupWindow.focus();
|
|
3207
3201
|
}
|
|
3208
3202
|
// add the listener for receiving a message from the popup
|
|
3209
3203
|
window.addEventListener('message', (event) => this.receiveMessage(event), false);
|
|
@@ -3228,7 +3222,7 @@ let EzpAuth = class {
|
|
|
3228
3222
|
}
|
|
3229
3223
|
}
|
|
3230
3224
|
render() {
|
|
3231
|
-
return this.hidelogin ? (h("ezp-status", { description: i18next.t('login_dialog.action'), processing: true })) : (h(Host, null, h("ezp-dialog", { heading: i18next.t('login_dialog.heading'), description: i18next.t('login_dialog.description'), action: i18next.t('login_dialog.action'), iconName: "logo", iconSize: "huge", iconFramed: false, instance: "login" })));
|
|
3225
|
+
return this.hidelogin ? (h("ezp-status", { description: i18next.t('login_dialog.action'), processing: true, cancel: true })) : (h(Host, null, h("ezp-dialog", { heading: i18next.t('login_dialog.heading'), description: i18next.t('login_dialog.description'), action: i18next.t('login_dialog.action'), iconName: "logo", iconSize: "huge", iconFramed: false, instance: "login" })));
|
|
3232
3226
|
}
|
|
3233
3227
|
};
|
|
3234
3228
|
EzpAuth.style = ezpAuthCss;
|
|
@@ -32799,7 +32793,7 @@ let EzpPrinterSelection = class {
|
|
|
32799
32793
|
fn: this.printService.getPrintStatus,
|
|
32800
32794
|
validate: this.validateData,
|
|
32801
32795
|
interval: this.POLL_INTERVAL,
|
|
32802
|
-
maxAttempts:
|
|
32796
|
+
maxAttempts: 30,
|
|
32803
32797
|
}).catch((err) => {
|
|
32804
32798
|
console.warn(err);
|
|
32805
32799
|
this.printFailed = true;
|
|
@@ -32966,7 +32960,7 @@ let EzpPrinterSelection = class {
|
|
|
32966
32960
|
fn: this.printService.getPrintStatus,
|
|
32967
32961
|
validate: this.validateData,
|
|
32968
32962
|
interval: this.POLL_INTERVAL,
|
|
32969
|
-
maxAttempts:
|
|
32963
|
+
maxAttempts: 30,
|
|
32970
32964
|
}).catch((err) => {
|
|
32971
32965
|
console.log(err);
|
|
32972
32966
|
this.printFailed = true;
|
|
@@ -33001,8 +32995,8 @@ let EzpPrinterSelection = class {
|
|
|
33001
32995
|
else {
|
|
33002
32996
|
format = 'A4';
|
|
33003
32997
|
}
|
|
33004
|
-
this.selectedProperties.paper = this.selectedPrinterConfig.PaperFormats.find((el) => el.Name
|
|
33005
|
-
this.selectedProperties.paperid = this.selectedPrinterConfig.PaperFormats.find((el) => el.Name
|
|
32998
|
+
this.selectedProperties.paper = this.selectedPrinterConfig.PaperFormats.find((el) => el.Name.includes(format)).Name;
|
|
32999
|
+
this.selectedProperties.paperid = this.selectedPrinterConfig.PaperFormats.find((el) => el.Name.includes(format)).Id;
|
|
33006
33000
|
}
|
|
33007
33001
|
/**
|
|
33008
33002
|
*
|
|
@@ -33010,8 +33004,7 @@ let EzpPrinterSelection = class {
|
|
|
33010
33004
|
*
|
|
33011
33005
|
*/
|
|
33012
33006
|
/** Description... */
|
|
33013
|
-
async
|
|
33014
|
-
this.loading = true;
|
|
33007
|
+
async connectedCallback() {
|
|
33015
33008
|
this.getPropertiesFromLocalStorage();
|
|
33016
33009
|
this.getUserInfo();
|
|
33017
33010
|
this.printService = new EzpPrintService(this.redirectURI, this.clientID);
|
|
@@ -33258,6 +33251,14 @@ let EzpPrinting = class {
|
|
|
33258
33251
|
this.authOpen = true;
|
|
33259
33252
|
}
|
|
33260
33253
|
}
|
|
33254
|
+
async logOut() {
|
|
33255
|
+
localStorage.removeItem('properties');
|
|
33256
|
+
localStorage.removeItem('refreshToken');
|
|
33257
|
+
localStorage.removeItem('access_token');
|
|
33258
|
+
localStorage.removeItem('printer');
|
|
33259
|
+
localStorage.removeItem('isAuthorized');
|
|
33260
|
+
this.printOpen = false;
|
|
33261
|
+
}
|
|
33261
33262
|
checkAuth() {
|
|
33262
33263
|
const printService = new EzpPrintService(this.redirecturi, this.clientid);
|
|
33263
33264
|
let accessToken = authStore.state.accessToken;
|
|
@@ -33634,7 +33635,7 @@ let EzpTextButton = class {
|
|
|
33634
33635
|
};
|
|
33635
33636
|
EzpTextButton.style = ezpTextButtonCss;
|
|
33636
33637
|
|
|
33637
|
-
const ezpUploadCss = ":host{-ms-flex-line-pack:center;align-content:center;background:var(--ezp-upload-background, transparent);border:1px dashed var(--ezp-upload-border-color, var(--ezp-color-foreground-tertiary));border-radius:3px;color:var(--ezp-color-foreground-primary);display:grid;grid-template:auto/minmax(auto, 280px);height:var(--ezp-upload-height, auto);-ms-flex-pack:center;justify-content:center;padding:var(--ezp-spacing-3);position:relative;-webkit-transition:background-color var(--ezp-duration-3) var(--ezp-easing-out-quart), border-color var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:background-color var(--ezp-duration-3) var(--ezp-easing-out-quart), border-color var(--ezp-duration-3) var(--ezp-easing-out-quart);width:var(--ezp-upload-width, auto)}:host(.dragging){--ezp-upload-background:var(--ezp-color-theme-translucent);--ezp-upload-border-color:var(--ezp-color-theme-translucent);--ezp-upload-header-blur:16px;--ezp-upload-header-opacity:0.42}#header{--ezp-icon-fill:var(--ezp-color-theme-solid);-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-webkit-filter:blur(var(--ezp-upload-header-blur, 0));filter:blur(var(--ezp-upload-header-blur, 0));-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-5);opacity:var(--ezp-upload-header-opacity, 1);text-align:center;-webkit-transition:opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), -webkit-filter var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), -webkit-filter var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:filter var(--ezp-duration-3) var(--ezp-easing-out-quart), opacity var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:filter var(--ezp-duration-3) var(--ezp-easing-out-quart), opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), -webkit-filter var(--ezp-duration-3) var(--ezp-easing-out-quart)}#meta{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--ezp-spacing-3) 3px;-ms-flex-pack:center;justify-content:center}#select{color:var(--ezp-color-theme-solid);cursor:pointer;opacity:var(--ezp-upload-select-opacity, 1);text-decoration:underline;white-space:nowrap}@media (hover: hover){#select:hover{--ezp-upload-select-opacity:0.58}}#input{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:0;opacity:0;pointer-events:none;position:absolute;width:0}";
|
|
33638
|
+
const ezpUploadCss = ":host{-ms-flex-line-pack:center;align-content:center;background:var(--ezp-upload-background, transparent);border:1px dashed var(--ezp-upload-border-color, var(--ezp-color-foreground-tertiary));border-radius:3px;-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--ezp-color-foreground-primary);display:grid;grid-template:auto/minmax(auto, 280px);height:var(--ezp-upload-height, auto);-ms-flex-pack:center;justify-content:center;padding:var(--ezp-spacing-3);position:relative;-webkit-transition:background-color var(--ezp-duration-3) var(--ezp-easing-out-quart), border-color var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:background-color var(--ezp-duration-3) var(--ezp-easing-out-quart), border-color var(--ezp-duration-3) var(--ezp-easing-out-quart);width:var(--ezp-upload-width, auto)}:host(.dragging){--ezp-upload-background:var(--ezp-color-theme-translucent);--ezp-upload-border-color:var(--ezp-color-theme-translucent);--ezp-upload-header-blur:16px;--ezp-upload-header-opacity:0.42}#header{--ezp-icon-fill:var(--ezp-color-theme-solid);-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-webkit-filter:blur(var(--ezp-upload-header-blur, 0));filter:blur(var(--ezp-upload-header-blur, 0));-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-5);opacity:var(--ezp-upload-header-opacity, 1);text-align:center;-webkit-transition:opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), -webkit-filter var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), -webkit-filter var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:filter var(--ezp-duration-3) var(--ezp-easing-out-quart), opacity var(--ezp-duration-3) var(--ezp-easing-out-quart);transition:filter var(--ezp-duration-3) var(--ezp-easing-out-quart), opacity var(--ezp-duration-3) var(--ezp-easing-out-quart), -webkit-filter var(--ezp-duration-3) var(--ezp-easing-out-quart)}#meta{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--ezp-spacing-3) 3px;-ms-flex-pack:center;justify-content:center}#select{color:var(--ezp-color-theme-solid);cursor:pointer;opacity:var(--ezp-upload-select-opacity, 1);text-decoration:underline;white-space:nowrap}@media (hover: hover){#select:hover{--ezp-upload-select-opacity:0.58}}#input{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:0;opacity:0;pointer-events:none;position:absolute;width:0}";
|
|
33638
33639
|
|
|
33639
33640
|
let EzpUpload = class {
|
|
33640
33641
|
constructor(hostRef) {
|
|
@@ -33727,7 +33728,11 @@ let EzpUserMenu = class {
|
|
|
33727
33728
|
this.userMenuClosure.emit();
|
|
33728
33729
|
};
|
|
33729
33730
|
this.logOut = () => {
|
|
33730
|
-
localStorage.
|
|
33731
|
+
localStorage.removeItem('properties');
|
|
33732
|
+
localStorage.removeItem('refreshToken');
|
|
33733
|
+
localStorage.removeItem('access_token');
|
|
33734
|
+
localStorage.removeItem('printer');
|
|
33735
|
+
localStorage.removeItem('isAuthorized');
|
|
33731
33736
|
authStore.state.isAuthorized = false;
|
|
33732
33737
|
this.logoutEmitter.emit();
|
|
33733
33738
|
};
|
|
@@ -1150,6 +1150,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1150
1150
|
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
1151
1151
|
}
|
|
1152
1152
|
endNewInstance();
|
|
1153
|
+
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
1153
1154
|
}
|
|
1154
1155
|
if (Cstr.style) {
|
|
1155
1156
|
// this component has styles but we haven't registered them yet
|
|
@@ -1178,6 +1179,11 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1178
1179
|
schedule();
|
|
1179
1180
|
}
|
|
1180
1181
|
};
|
|
1182
|
+
const fireConnectedCallback = (instance) => {
|
|
1183
|
+
{
|
|
1184
|
+
safeCall(instance, 'connectedCallback');
|
|
1185
|
+
}
|
|
1186
|
+
};
|
|
1181
1187
|
const connectedCallback = (elm) => {
|
|
1182
1188
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1183
1189
|
const hostRef = getHostRef(elm);
|
|
@@ -1221,6 +1227,8 @@ const connectedCallback = (elm) => {
|
|
|
1221
1227
|
// reattach any event listeners to the host
|
|
1222
1228
|
// since they would have been removed when disconnected
|
|
1223
1229
|
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
|
|
1230
|
+
// fire off connectedCallback() on component instance
|
|
1231
|
+
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
1224
1232
|
}
|
|
1225
1233
|
endConnected();
|
|
1226
1234
|
}
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-18d4bf15.js';
|
|
2
2
|
import { g as globalScripts } from './app-globals-28960cbc.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
@@ -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],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"fileid":[1],"appearance":[1],"trigger":[1],"language":[1],"printOpen":[32],"authOpen":[32],"noDocumentOpen":[32],"systemAppearance":[32],"open":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"]]],[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],"loading":[32],"options":[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],"auth":[32],"authURI":[32],"accessToken":[32]},[[0,"dialogAction","listenDialogAction"],[0,"dialogClose","listenDialogClose"]]],[1,"ezp-upload",{"dragging":[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"]]],[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);
|
|
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],"authapihosturl":[1],"printapihosturl":[1],"theme":[1],"fileid":[1],"appearance":[1],"trigger":[1],"language":[1],"printOpen":[32],"authOpen":[32],"noDocumentOpen":[32],"systemAppearance":[32],"open":[64],"logOut":[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"]]],[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],"loading":[32],"options":[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],"auth":[32],"authURI":[32],"accessToken":[32]},[[0,"dialogAction","listenDialogAction"],[0,"dialogClose","listenDialogClose"],[0,"statusCancel","listenStatusCancel"]]],[1,"ezp-upload",{"dragging":[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"]]],[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-
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-18d4bf15.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],authapihosturl:[1],printapihosturl:[1],theme:[1],fileid:[1],appearance:[1],trigger:[1],language:[1],printOpen:[32],authOpen:[32],noDocumentOpen:[32],systemAppearance:[32],open:[64],logOut:[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"]]],[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],loading:[32],options:[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],auth:[32],authURI:[32],accessToken:[32]},[[0,"dialogAction","listenDialogAction"],[0,"dialogClose","listenDialogClose"],[0,"statusCancel","listenStatusCancel"]]],[1,"ezp-upload",{dragging:[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"]]],[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)}));
|