@ezeep/ezeep-js 1.0.237 → 1.0.238
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_15.cjs.entry.js +214 -107
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +204 -95
- package/dist/collection/components/ezp-printing/ezp-printing.js +6 -5
- package/dist/collection/components/ezp-upload/ezp-upload.js +13 -11
- package/dist/custom-elements/index.js +217 -110
- package/dist/directives/proxies.ts +2 -2
- package/dist/esm/ezeep.js +1 -1
- package/dist/esm/ezp-auth_15.entry.js +214 -107
- package/dist/esm/loader.js +1 -1
- package/dist/esm-es5/ezeep.js +1 -1
- package/dist/esm-es5/ezp-auth_15.entry.js +3 -3
- package/dist/esm-es5/loader.js +1 -1
- package/dist/ezeep/ezeep.esm.js +1 -1
- package/dist/ezeep/{p-7b589922.entry.js → p-0aba6822.entry.js} +2 -2
- package/dist/ezeep/p-84bd195a.system.js +1 -1
- package/dist/ezeep/{p-62b9b554.system.entry.js → p-dba5d7b7.system.entry.js} +3 -3
- package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +10 -3
- package/dist/types/components/ezp-printing/ezp-printing.d.ts +1 -1
- package/dist/types/components/ezp-upload/ezp-upload.d.ts +1 -1
- package/dist/types/components.d.ts +2 -2
- package/package.json +1 -1
- package/www/build/ezeep.esm.js +1 -1
- package/www/build/{p-7b589922.entry.js → p-0aba6822.entry.js} +2 -2
- package/www/build/p-84bd195a.system.js +1 -1
- package/www/build/{p-62b9b554.system.entry.js → p-dba5d7b7.system.entry.js} +3 -3
- package/www/data/locales/de.json +3 -3
- package/www/data/locales/en.json +3 -3
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { Printer, PrinterConfig, PrinterProperties } from '../../shared/types';
|
|
3
3
|
export declare class EzpPrinterSelection {
|
|
4
|
-
private sasUri;
|
|
5
4
|
private fileExtension;
|
|
6
5
|
private printService;
|
|
7
6
|
duplexOptions: {
|
|
@@ -24,7 +23,7 @@ export declare class EzpPrinterSelection {
|
|
|
24
23
|
fileurl: string;
|
|
25
24
|
filetype: string;
|
|
26
25
|
fileid: string;
|
|
27
|
-
|
|
26
|
+
files: File[];
|
|
28
27
|
hidemenu: boolean;
|
|
29
28
|
hideheader: boolean;
|
|
30
29
|
seamless: boolean;
|
|
@@ -51,6 +50,11 @@ export declare class EzpPrinterSelection {
|
|
|
51
50
|
selectedPrinterConfig: PrinterConfig;
|
|
52
51
|
selectedProperties: PrinterProperties;
|
|
53
52
|
paperid: number | string;
|
|
53
|
+
currentFileIndex: number;
|
|
54
|
+
totalFiles: number;
|
|
55
|
+
failedFiles: string[];
|
|
56
|
+
successfulFiles: string[];
|
|
57
|
+
partialSuccess: boolean;
|
|
54
58
|
/**
|
|
55
59
|
*
|
|
56
60
|
* Events
|
|
@@ -91,7 +95,10 @@ export declare class EzpPrinterSelection {
|
|
|
91
95
|
private setPaperid;
|
|
92
96
|
private getUserInfo;
|
|
93
97
|
private setSelectedProperties;
|
|
94
|
-
handleFiles(
|
|
98
|
+
handleFiles(files: File[], printPorperties: any): Promise<void>;
|
|
99
|
+
private processSingleFile;
|
|
100
|
+
private waitForPrintCompletion;
|
|
101
|
+
private getFileExtension;
|
|
95
102
|
private validateFileType;
|
|
96
103
|
setDefaultPaperFormat(): void;
|
|
97
104
|
/**
|
|
@@ -33,7 +33,7 @@ export declare class EzpPrinting {
|
|
|
33
33
|
onlyGetSasUri: boolean;
|
|
34
34
|
noDocumentOpen: boolean;
|
|
35
35
|
systemAppearance: SystemAppearanceTypes;
|
|
36
|
-
|
|
36
|
+
files: File[];
|
|
37
37
|
/** Watchers */
|
|
38
38
|
watchFileData(newValue: string, oldValue: string): void;
|
|
39
39
|
watchFilename(newValue: string, oldValue: string): void;
|
|
@@ -126,9 +126,9 @@ export namespace Components {
|
|
|
126
126
|
* Properties
|
|
127
127
|
*/
|
|
128
128
|
"clientID": string;
|
|
129
|
-
"file": File;
|
|
130
129
|
"fileid": string;
|
|
131
130
|
"filename": string;
|
|
131
|
+
"files": File[];
|
|
132
132
|
"filetype": string;
|
|
133
133
|
"fileurl": string;
|
|
134
134
|
"hideheader": boolean;
|
|
@@ -508,9 +508,9 @@ declare namespace LocalJSX {
|
|
|
508
508
|
* Properties
|
|
509
509
|
*/
|
|
510
510
|
"clientID"?: string;
|
|
511
|
-
"file"?: File;
|
|
512
511
|
"fileid"?: string;
|
|
513
512
|
"filename"?: string;
|
|
513
|
+
"files"?: File[];
|
|
514
514
|
"filetype"?: string;
|
|
515
515
|
"fileurl"?: string;
|
|
516
516
|
"hideheader"?: boolean;
|
package/package.json
CHANGED
package/www/build/ezeep.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as i}from"./p-312f40d7.js";import{g as t}from"./p-a4d37138.js";(()=>{const i=import.meta.url,t={};return""!==i&&(t.resourcesUrl=new URL(".",i).href),e(t)})().then((e=>(t(),i([["p-
|
|
1
|
+
import{p as e,b as i}from"./p-312f40d7.js";import{g as t}from"./p-a4d37138.js";(()=>{const i=import.meta.url,t={};return""!==i&&(t.resourcesUrl=new URL(".",i).href),e(t)})().then((e=>(t(),i([["p-0aba6822",[[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],files:[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],files:[16],hidemenu:[4],hideheader:[4],seamless:[4],loading:[32],printProcessing:[32],pageRangeInvalid:[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],paperid:[32],currentFileIndex:[32],totalFiles:[32],failedFiles:[32],successfulFiles:[32],partialSuccess:[32]},[[0,"inputValueChanged","listenInputValueChanged"],[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",{selectedFiles:[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-input",{label:[1],value:[1032],type:[1],icon:[1],suffix:[513],eventType:[1,"event-type"],placeholder:[1],focused:[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))));
|