@ezeep/ezeep-js 1.0.213 → 1.0.216
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/ezp-auth_14.cjs.entry.js +2 -8
- package/dist/collection/components/ezp-printing/ezp-printing.js +1 -3
- package/dist/collection/services/print.js +1 -6
- package/dist/custom-elements/index.js +2 -8
- package/dist/esm/ezp-auth_14.entry.js +2 -8
- package/dist/esm-es5/ezp-auth_14.entry.js +1 -1
- package/dist/ezeep/ezeep.esm.js +1 -1
- package/dist/ezeep/p-16c7584d.system.js +1 -1
- package/dist/ezeep/{p-b80520f7.system.entry.js → p-9e35ed42.system.entry.js} +1 -1
- package/dist/ezeep/{p-c5031a42.entry.js → p-e9b5a5e9.entry.js} +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-b80520f7.system.entry.js → p-9e35ed42.system.entry.js} +1 -1
- package/www/build/{p-c5031a42.entry.js → p-e9b5a5e9.entry.js} +1 -1
|
@@ -32600,11 +32600,6 @@ class EzpPrintService {
|
|
|
32600
32600
|
},
|
|
32601
32601
|
});
|
|
32602
32602
|
const client = new BlockBlobClient(sasUri, pipeline);
|
|
32603
|
-
// upload
|
|
32604
|
-
// for (let index = 0; index < files.length; index++) {
|
|
32605
|
-
// const file = files[index]
|
|
32606
|
-
// console.log(response._response.status)
|
|
32607
|
-
// }
|
|
32608
32603
|
const response = await client.uploadData(file, {
|
|
32609
32604
|
blockSize: 4 * 1024 * 1024,
|
|
32610
32605
|
concurrency: 20,
|
|
@@ -32612,7 +32607,7 @@ class EzpPrintService {
|
|
|
32612
32607
|
let progress = (100 * e.loadedBytes) / file.size;
|
|
32613
32608
|
printStore.state.uploadProgress = progress;
|
|
32614
32609
|
},
|
|
32615
|
-
blobHTTPHeaders: { blobContentType:
|
|
32610
|
+
blobHTTPHeaders: { blobContentType: 'application/octet-stream' },
|
|
32616
32611
|
});
|
|
32617
32612
|
return response;
|
|
32618
32613
|
}
|
|
@@ -33173,7 +33168,6 @@ let EzpPrinting = class {
|
|
|
33173
33168
|
listenPrintCancel() {
|
|
33174
33169
|
this.printOpen = false;
|
|
33175
33170
|
this.printFinished.emit();
|
|
33176
|
-
this.auth.revokeRefreshToken();
|
|
33177
33171
|
}
|
|
33178
33172
|
/** Description... */
|
|
33179
33173
|
listenPrintSubmit() {
|
|
@@ -33333,7 +33327,7 @@ let EzpPrinting = class {
|
|
|
33333
33327
|
render() {
|
|
33334
33328
|
return (index.h(index.Host, { class: `${userStore.state.theme} ${userStore.state.appearance === 'system'
|
|
33335
33329
|
? this.systemAppearance
|
|
33336
|
-
: userStore.state.appearance} ${this.seamless ? 'seamless' : ''}` }, this.trigger === 'custom' ? (index.h("slot", null)) : this.trigger === 'file' ? (index.h("ezp-upload", null)) : (this.trigger === 'button' && (index.h("ezp-icon-button", { id: "print-trigger", icon: "printer", slot: "trigger", type: "button", onClick: () => this.open() }))), this.authOpen ? (index.h("ezp-auth", { clientID: this.clientid, redirectURI: this.redirecturi, hidelogin: this.hidelogin, trigger: this.trigger, code: this.code })) : this.printOpen ? (index.h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype, fileid: this.fileid, file: this.file, hidemenu: this.hidemenu, hideheader: this.hideheader, seamless: this.seamless })) : this.noDocumentOpen ? (index.h("ezp-dialog", { heading: i18next.t('no_document_dialog.heading'), description: i18next.t('no_document_dialog.description'), action: i18next.t('no_document_dialog.action'), iconName: "question-mark", instance: "no-document-selected" })) : null
|
|
33330
|
+
: userStore.state.appearance} ${this.seamless ? 'seamless' : ''}` }, this.trigger === 'custom' ? (index.h("slot", null)) : this.trigger === 'file' ? (index.h("ezp-upload", null)) : (this.trigger === 'button' && (index.h("ezp-icon-button", { id: "print-trigger", icon: "printer", slot: "trigger", type: "button", onClick: () => this.open() }))), this.authOpen ? (index.h("ezp-auth", { clientID: this.clientid, redirectURI: this.redirecturi, hidelogin: this.hidelogin, trigger: this.trigger, code: this.code })) : this.printOpen ? (index.h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype, fileid: this.fileid, file: this.file, hidemenu: this.hidemenu, hideheader: this.hideheader, seamless: this.seamless })) : this.noDocumentOpen ? (index.h("ezp-dialog", { heading: i18next.t('no_document_dialog.heading'), description: i18next.t('no_document_dialog.description'), action: i18next.t('no_document_dialog.action'), iconName: "question-mark", instance: "no-document-selected" })) : null));
|
|
33337
33331
|
}
|
|
33338
33332
|
static get watchers() { return {
|
|
33339
33333
|
"filedata": ["watchFileData"],
|
|
@@ -56,7 +56,6 @@ export class EzpPrinting {
|
|
|
56
56
|
listenPrintCancel() {
|
|
57
57
|
this.printOpen = false;
|
|
58
58
|
this.printFinished.emit();
|
|
59
|
-
this.auth.revokeRefreshToken();
|
|
60
59
|
}
|
|
61
60
|
/** Description... */
|
|
62
61
|
listenPrintSubmit() {
|
|
@@ -218,8 +217,7 @@ export class EzpPrinting {
|
|
|
218
217
|
? this.systemAppearance
|
|
219
218
|
: userStore.state.appearance} ${this.seamless ? 'seamless' : ''}` },
|
|
220
219
|
this.trigger === 'custom' ? (h("slot", null)) : this.trigger === 'file' ? (h("ezp-upload", null)) : (this.trigger === 'button' && (h("ezp-icon-button", { id: "print-trigger", icon: "printer", slot: "trigger", type: "button", onClick: () => this.open() }))),
|
|
221
|
-
this.authOpen ? (h("ezp-auth", { clientID: this.clientid, redirectURI: this.redirecturi, hidelogin: this.hidelogin, trigger: this.trigger, code: this.code })) : this.printOpen ? (h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype, fileid: this.fileid, file: this.file, hidemenu: this.hidemenu, hideheader: this.hideheader, seamless: this.seamless })) : this.noDocumentOpen ? (h("ezp-dialog", { heading: i18next.t('no_document_dialog.heading'), description: i18next.t('no_document_dialog.description'), action: i18next.t('no_document_dialog.action'), iconName: "question-mark", instance: "no-document-selected" })) : null
|
|
222
|
-
h("button", { onClick: () => this.auth.refreshTokens() }, "refresh tokens")));
|
|
220
|
+
this.authOpen ? (h("ezp-auth", { clientID: this.clientid, redirectURI: this.redirecturi, hidelogin: this.hidelogin, trigger: this.trigger, code: this.code })) : this.printOpen ? (h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype, fileid: this.fileid, file: this.file, hidemenu: this.hidemenu, hideheader: this.hideheader, seamless: this.seamless })) : this.noDocumentOpen ? (h("ezp-dialog", { heading: i18next.t('no_document_dialog.heading'), description: i18next.t('no_document_dialog.description'), action: i18next.t('no_document_dialog.action'), iconName: "question-mark", instance: "no-document-selected" })) : null));
|
|
223
221
|
}
|
|
224
222
|
static get is() { return "ezp-printing"; }
|
|
225
223
|
static get encapsulation() { return "shadow"; }
|
|
@@ -140,11 +140,6 @@ export class EzpPrintService {
|
|
|
140
140
|
},
|
|
141
141
|
});
|
|
142
142
|
const client = new BlockBlobClient(sasUri, pipeline);
|
|
143
|
-
// upload
|
|
144
|
-
// for (let index = 0; index < files.length; index++) {
|
|
145
|
-
// const file = files[index]
|
|
146
|
-
// console.log(response._response.status)
|
|
147
|
-
// }
|
|
148
143
|
const response = await client.uploadData(file, {
|
|
149
144
|
blockSize: 4 * 1024 * 1024,
|
|
150
145
|
concurrency: 20,
|
|
@@ -152,7 +147,7 @@ export class EzpPrintService {
|
|
|
152
147
|
let progress = (100 * e.loadedBytes) / file.size;
|
|
153
148
|
printStore.state.uploadProgress = progress;
|
|
154
149
|
},
|
|
155
|
-
blobHTTPHeaders: { blobContentType:
|
|
150
|
+
blobHTTPHeaders: { blobContentType: 'application/octet-stream' },
|
|
156
151
|
});
|
|
157
152
|
return response;
|
|
158
153
|
}
|
|
@@ -32621,11 +32621,6 @@ class EzpPrintService {
|
|
|
32621
32621
|
},
|
|
32622
32622
|
});
|
|
32623
32623
|
const client = new BlockBlobClient(sasUri, pipeline);
|
|
32624
|
-
// upload
|
|
32625
|
-
// for (let index = 0; index < files.length; index++) {
|
|
32626
|
-
// const file = files[index]
|
|
32627
|
-
// console.log(response._response.status)
|
|
32628
|
-
// }
|
|
32629
32624
|
const response = await client.uploadData(file, {
|
|
32630
32625
|
blockSize: 4 * 1024 * 1024,
|
|
32631
32626
|
concurrency: 20,
|
|
@@ -32633,7 +32628,7 @@ class EzpPrintService {
|
|
|
32633
32628
|
let progress = (100 * e.loadedBytes) / file.size;
|
|
32634
32629
|
printStore.state.uploadProgress = progress;
|
|
32635
32630
|
},
|
|
32636
|
-
blobHTTPHeaders: { blobContentType:
|
|
32631
|
+
blobHTTPHeaders: { blobContentType: 'application/octet-stream' },
|
|
32637
32632
|
});
|
|
32638
32633
|
return response;
|
|
32639
32634
|
}
|
|
@@ -33198,7 +33193,6 @@ let EzpPrinting$1 = class extends HTMLElement {
|
|
|
33198
33193
|
listenPrintCancel() {
|
|
33199
33194
|
this.printOpen = false;
|
|
33200
33195
|
this.printFinished.emit();
|
|
33201
|
-
this.auth.revokeRefreshToken();
|
|
33202
33196
|
}
|
|
33203
33197
|
/** Description... */
|
|
33204
33198
|
listenPrintSubmit() {
|
|
@@ -33358,7 +33352,7 @@ let EzpPrinting$1 = class extends HTMLElement {
|
|
|
33358
33352
|
render() {
|
|
33359
33353
|
return (h(Host, { class: `${userStore.state.theme} ${userStore.state.appearance === 'system'
|
|
33360
33354
|
? this.systemAppearance
|
|
33361
|
-
: userStore.state.appearance} ${this.seamless ? 'seamless' : ''}` }, this.trigger === 'custom' ? (h("slot", null)) : this.trigger === 'file' ? (h("ezp-upload", null)) : (this.trigger === 'button' && (h("ezp-icon-button", { id: "print-trigger", icon: "printer", slot: "trigger", type: "button", onClick: () => this.open() }))), this.authOpen ? (h("ezp-auth", { clientID: this.clientid, redirectURI: this.redirecturi, hidelogin: this.hidelogin, trigger: this.trigger, code: this.code })) : this.printOpen ? (h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype, fileid: this.fileid, file: this.file, hidemenu: this.hidemenu, hideheader: this.hideheader, seamless: this.seamless })) : this.noDocumentOpen ? (h("ezp-dialog", { heading: i18next.t('no_document_dialog.heading'), description: i18next.t('no_document_dialog.description'), action: i18next.t('no_document_dialog.action'), iconName: "question-mark", instance: "no-document-selected" })) : null
|
|
33355
|
+
: userStore.state.appearance} ${this.seamless ? 'seamless' : ''}` }, this.trigger === 'custom' ? (h("slot", null)) : this.trigger === 'file' ? (h("ezp-upload", null)) : (this.trigger === 'button' && (h("ezp-icon-button", { id: "print-trigger", icon: "printer", slot: "trigger", type: "button", onClick: () => this.open() }))), this.authOpen ? (h("ezp-auth", { clientID: this.clientid, redirectURI: this.redirecturi, hidelogin: this.hidelogin, trigger: this.trigger, code: this.code })) : this.printOpen ? (h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype, fileid: this.fileid, file: this.file, hidemenu: this.hidemenu, hideheader: this.hideheader, seamless: this.seamless })) : this.noDocumentOpen ? (h("ezp-dialog", { heading: i18next.t('no_document_dialog.heading'), description: i18next.t('no_document_dialog.description'), action: i18next.t('no_document_dialog.action'), iconName: "question-mark", instance: "no-document-selected" })) : null));
|
|
33362
33356
|
}
|
|
33363
33357
|
static get watchers() { return {
|
|
33364
33358
|
"filedata": ["watchFileData"],
|
|
@@ -32596,11 +32596,6 @@ class EzpPrintService {
|
|
|
32596
32596
|
},
|
|
32597
32597
|
});
|
|
32598
32598
|
const client = new BlockBlobClient(sasUri, pipeline);
|
|
32599
|
-
// upload
|
|
32600
|
-
// for (let index = 0; index < files.length; index++) {
|
|
32601
|
-
// const file = files[index]
|
|
32602
|
-
// console.log(response._response.status)
|
|
32603
|
-
// }
|
|
32604
32599
|
const response = await client.uploadData(file, {
|
|
32605
32600
|
blockSize: 4 * 1024 * 1024,
|
|
32606
32601
|
concurrency: 20,
|
|
@@ -32608,7 +32603,7 @@ class EzpPrintService {
|
|
|
32608
32603
|
let progress = (100 * e.loadedBytes) / file.size;
|
|
32609
32604
|
printStore.state.uploadProgress = progress;
|
|
32610
32605
|
},
|
|
32611
|
-
blobHTTPHeaders: { blobContentType:
|
|
32606
|
+
blobHTTPHeaders: { blobContentType: 'application/octet-stream' },
|
|
32612
32607
|
});
|
|
32613
32608
|
return response;
|
|
32614
32609
|
}
|
|
@@ -33169,7 +33164,6 @@ let EzpPrinting = class {
|
|
|
33169
33164
|
listenPrintCancel() {
|
|
33170
33165
|
this.printOpen = false;
|
|
33171
33166
|
this.printFinished.emit();
|
|
33172
|
-
this.auth.revokeRefreshToken();
|
|
33173
33167
|
}
|
|
33174
33168
|
/** Description... */
|
|
33175
33169
|
listenPrintSubmit() {
|
|
@@ -33329,7 +33323,7 @@ let EzpPrinting = class {
|
|
|
33329
33323
|
render() {
|
|
33330
33324
|
return (h(Host, { class: `${userStore.state.theme} ${userStore.state.appearance === 'system'
|
|
33331
33325
|
? this.systemAppearance
|
|
33332
|
-
: userStore.state.appearance} ${this.seamless ? 'seamless' : ''}` }, this.trigger === 'custom' ? (h("slot", null)) : this.trigger === 'file' ? (h("ezp-upload", null)) : (this.trigger === 'button' && (h("ezp-icon-button", { id: "print-trigger", icon: "printer", slot: "trigger", type: "button", onClick: () => this.open() }))), this.authOpen ? (h("ezp-auth", { clientID: this.clientid, redirectURI: this.redirecturi, hidelogin: this.hidelogin, trigger: this.trigger, code: this.code })) : this.printOpen ? (h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype, fileid: this.fileid, file: this.file, hidemenu: this.hidemenu, hideheader: this.hideheader, seamless: this.seamless })) : this.noDocumentOpen ? (h("ezp-dialog", { heading: i18next.t('no_document_dialog.heading'), description: i18next.t('no_document_dialog.description'), action: i18next.t('no_document_dialog.action'), iconName: "question-mark", instance: "no-document-selected" })) : null
|
|
33326
|
+
: userStore.state.appearance} ${this.seamless ? 'seamless' : ''}` }, this.trigger === 'custom' ? (h("slot", null)) : this.trigger === 'file' ? (h("ezp-upload", null)) : (this.trigger === 'button' && (h("ezp-icon-button", { id: "print-trigger", icon: "printer", slot: "trigger", type: "button", onClick: () => this.open() }))), this.authOpen ? (h("ezp-auth", { clientID: this.clientid, redirectURI: this.redirecturi, hidelogin: this.hidelogin, trigger: this.trigger, code: this.code })) : this.printOpen ? (h("ezp-printer-selection", { clientID: this.clientid, redirectURI: this.redirecturi, filename: this.filename, fileurl: this.fileurl, filetype: this.filetype, fileid: this.fileid, file: this.file, hidemenu: this.hidemenu, hideheader: this.hideheader, seamless: this.seamless })) : this.noDocumentOpen ? (h("ezp-dialog", { heading: i18next.t('no_document_dialog.heading'), description: i18next.t('no_document_dialog.description'), action: i18next.t('no_document_dialog.action'), iconName: "question-mark", instance: "no-document-selected" })) : null));
|
|
33333
33327
|
}
|
|
33334
33328
|
static get watchers() { return {
|
|
33335
33329
|
"filedata": ["watchFileData"],
|