@ezeep/ezeep-js 1.0.178 → 1.0.181
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 +11 -5
- package/dist/collection/components/ezp-printing/ezp-printing.js +11 -5
- package/dist/custom-elements/index.js +11 -5
- package/dist/esm/ezp-auth_14.entry.js +11 -5
- package/dist/esm-es5/ezp-auth_14.entry.js +3 -3
- package/dist/ezeep/ezeep.esm.js +1 -1
- package/dist/ezeep/p-16c7584d.system.js +1 -1
- package/dist/ezeep/{p-9706130f.entry.js → p-4d6a3c19.entry.js} +1 -1
- package/dist/ezeep/{p-cc02e307.system.entry.js → p-aefea3fb.system.entry.js} +1 -1
- package/dist/types/components/ezp-printing/ezp-printing.d.ts +3 -1
- package/dist/types/shared/types.d.ts +112 -0
- 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-9706130f.entry.js → p-4d6a3c19.entry.js} +1 -1
- package/www/build/{p-cc02e307.system.entry.js → p-aefea3fb.system.entry.js} +1 -1
- package/www/index.html +2 -2
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { EzpAuthorizationService } from '../../services/auth';
|
|
1
2
|
import { ThemeTypes, AppearanceTypes, TriggerTypes, SystemAppearanceTypes } from './../../shared/types';
|
|
2
3
|
export declare class EzpPrinting {
|
|
4
|
+
auth: EzpAuthorizationService;
|
|
3
5
|
file: File;
|
|
4
6
|
clientid: string;
|
|
5
7
|
redirecturi: string;
|
|
@@ -54,7 +56,7 @@ export declare class EzpPrinting {
|
|
|
54
56
|
getAuthUri(): Promise<string>;
|
|
55
57
|
checkAuth(): void;
|
|
56
58
|
refreshTokensPeriodically(seconds: number): void;
|
|
57
|
-
componentWillLoad(): void
|
|
59
|
+
componentWillLoad(): Promise<void>;
|
|
58
60
|
componentDidLoad(): void;
|
|
59
61
|
/**
|
|
60
62
|
*
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
export type IconButtonLevelTypes = 'primary' | 'secondary' | 'tertiary' | 'quaternary'
|
|
2
|
+
export type IconButtonTypeTypes = 'button'
|
|
3
|
+
export type IconNameTypes =
|
|
4
|
+
| 'account'
|
|
5
|
+
| 'checkmark'
|
|
6
|
+
| 'close'
|
|
7
|
+
| 'color'
|
|
8
|
+
| 'copies'
|
|
9
|
+
| 'dark'
|
|
10
|
+
| 'duplex'
|
|
11
|
+
| 'expand'
|
|
12
|
+
| 'help'
|
|
13
|
+
| 'light'
|
|
14
|
+
| 'logout'
|
|
15
|
+
| 'menu'
|
|
16
|
+
| 'minus'
|
|
17
|
+
| 'orientation'
|
|
18
|
+
| 'plus'
|
|
19
|
+
| 'printer'
|
|
20
|
+
| 'quality'
|
|
21
|
+
| 'size'
|
|
22
|
+
| 'system'
|
|
23
|
+
| 'drag-drop'
|
|
24
|
+
| 'checkmark-alt'
|
|
25
|
+
| 'question-mark'
|
|
26
|
+
| 'exclamation-mark'
|
|
27
|
+
| 'logo'
|
|
28
|
+
export type IconSizeTypes = 'normal' | 'large' | 'huge'
|
|
29
|
+
export type PrintOrganizationType = { id: number; name: string; printers: PrintPrinterType[] }
|
|
30
|
+
export type PrintPrinterType = { id: number; name: string; location: string }
|
|
31
|
+
export type PrintUserType = {
|
|
32
|
+
id: number
|
|
33
|
+
firstName: string
|
|
34
|
+
lastName: string
|
|
35
|
+
email: string
|
|
36
|
+
organizations: PrintOrganizationType[]
|
|
37
|
+
}
|
|
38
|
+
export type SelectFlowTypes = 'vertical' | 'horizontal'
|
|
39
|
+
export type SelectOptionType = {
|
|
40
|
+
id: number | string | boolean
|
|
41
|
+
title: string
|
|
42
|
+
meta: string
|
|
43
|
+
type?: string
|
|
44
|
+
}
|
|
45
|
+
export type TextButtonLevelTypes = 'primary' | 'secondary' | 'tertiary'
|
|
46
|
+
export type TextButtonTypeTypes = 'button'
|
|
47
|
+
export type LabelLevelTypes = 'primary' | 'secondary' | 'tertiary'
|
|
48
|
+
export type WeightTypes = 'soft' | 'strong' | 'heavy'
|
|
49
|
+
export type ThemeTypes = 'pink' | 'red' | 'orange' | 'green' | 'teal' | 'cyan' | 'blue' | 'violet'
|
|
50
|
+
export type AppearanceTypes = 'system' | 'light' | 'dark'
|
|
51
|
+
export type TriggerTypes = 'custom' | 'file' | 'button'
|
|
52
|
+
export type AlertType = { open: boolean; heading: string; description: string }
|
|
53
|
+
export type SystemAppearanceTypes = 'light' | 'dark'
|
|
54
|
+
export interface PrinterProperties {
|
|
55
|
+
paper?: string
|
|
56
|
+
paperid?: number | string
|
|
57
|
+
color?: boolean | string
|
|
58
|
+
duplex?: boolean | string
|
|
59
|
+
duplexmode?: number | string
|
|
60
|
+
orientation?: number | string
|
|
61
|
+
copies?: number | string
|
|
62
|
+
resolution?: string | number
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface Printer {
|
|
66
|
+
id: string
|
|
67
|
+
location: string
|
|
68
|
+
name: string
|
|
69
|
+
is_queue: boolean
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface PaperFormat {
|
|
73
|
+
Id: number
|
|
74
|
+
Name: string
|
|
75
|
+
XRes: number
|
|
76
|
+
YRes: number
|
|
77
|
+
}
|
|
78
|
+
export interface PrinterConfig {
|
|
79
|
+
Collate?: boolean
|
|
80
|
+
Color?: boolean
|
|
81
|
+
Driver?: string
|
|
82
|
+
DuplexMode?: number
|
|
83
|
+
DuplexSupported?: boolean
|
|
84
|
+
Id?: string
|
|
85
|
+
Location?: string
|
|
86
|
+
MediaSupported?: Array<string>
|
|
87
|
+
MediaSupportedId?: Array<number>
|
|
88
|
+
Name?: string
|
|
89
|
+
OrientationsSupported?: Array<string>
|
|
90
|
+
OrientationsSupportedId?: Array<number>
|
|
91
|
+
PaperFormats?: Array<PaperFormat>
|
|
92
|
+
Resolutions?: Array<string>
|
|
93
|
+
TPUID?: number
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export interface User {
|
|
97
|
+
azureProfile: any
|
|
98
|
+
dateJoined: string
|
|
99
|
+
displayName: string
|
|
100
|
+
email: string
|
|
101
|
+
firstName: string
|
|
102
|
+
id: string
|
|
103
|
+
idProfile: {
|
|
104
|
+
name: string
|
|
105
|
+
oid: string
|
|
106
|
+
preferredUsername: string
|
|
107
|
+
}
|
|
108
|
+
isVerfified: boolean
|
|
109
|
+
lastName: string
|
|
110
|
+
roles: Array<string>
|
|
111
|
+
userInvitations: any
|
|
112
|
+
}
|
package/package.json
CHANGED
package/www/build/ezeep.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as i}from"./p-17f25f95.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-17f25f95.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-4d6a3c19",[[1,"ezp-printing",{file:[1040],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],code:[1],printOpen:[32],authOpen:[32],onlyGetSasUri:[32],noDocumentOpen:[32],systemAppearance:[32],open:[64],logOut:[64],getSasUri:[64],getAuthUri:[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],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],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))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-c04b764e.system.js","./p-ded04529.system.js"],(function(e,t){"use strict";var n,i,l;return{setters:[function(e){n=e.p;i=e.b},function(e){l=e.g}],execute:function(){var e=function(){var e=t.meta.url;var i={};if(e!==""){i.resourcesUrl=new URL(".",e).href}return n(i)};e().then((function(e){l();return i([["p-
|
|
1
|
+
System.register(["./p-c04b764e.system.js","./p-ded04529.system.js"],(function(e,t){"use strict";var n,i,l;return{setters:[function(e){n=e.p;i=e.b},function(e){l=e.g}],execute:function(){var e=function(){var e=t.meta.url;var i={};if(e!==""){i.resourcesUrl=new URL(".",e).href}return n(i)};e().then((function(e){l();return i([["p-aefea3fb.system",[[1,"ezp-printing",{file:[1040],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],code:[1],printOpen:[32],authOpen:[32],onlyGetSasUri:[32],noDocumentOpen:[32],systemAppearance:[32],open:[64],logOut:[64],getSasUri:[64],getAuthUri:[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],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],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)}))}}}));
|