@ezeep/ezeep-js 1.0.224 → 1.0.225

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.
@@ -18,6 +18,8 @@ export declare class EzpInput {
18
18
  icon: IconNameTypes;
19
19
  /** Description... */
20
20
  suffix: string;
21
+ /** Description... */
22
+ eventType: string;
21
23
  /**
22
24
  *
23
25
  * Events
@@ -70,6 +70,10 @@ export namespace Components {
70
70
  "type": IconButtonTypeTypes;
71
71
  }
72
72
  interface EzpInput {
73
+ /**
74
+ * Description...
75
+ */
76
+ "eventType": string;
73
77
  /**
74
78
  * Description...
75
79
  */
@@ -440,6 +444,10 @@ declare namespace LocalJSX {
440
444
  "type"?: IconButtonTypeTypes;
441
445
  }
442
446
  interface EzpInput {
447
+ /**
448
+ * Description...
449
+ */
450
+ "eventType"?: string;
443
451
  /**
444
452
  * Description...
445
453
  */
@@ -0,0 +1,116 @@
1
+ export type IconButtonLevelTypes = 'primary' | 'secondary' | 'tertiary' | 'quaternary'
2
+ export type IconButtonTypeTypes = 'button'
3
+ export type IconNameTypes =
4
+ | 'account'
5
+ | 'checkmark-alt'
6
+ | 'checkmark'
7
+ | 'close'
8
+ | 'color'
9
+ | 'copies'
10
+ | 'dark'
11
+ | 'drag-drop'
12
+ | 'duplex'
13
+ | 'exclamation-mark'
14
+ | 'expand'
15
+ | 'height'
16
+ | 'help'
17
+ | 'light'
18
+ | 'logo'
19
+ | 'logout'
20
+ | 'menu'
21
+ | 'minus'
22
+ | 'orientation'
23
+ | 'plus'
24
+ | 'printer'
25
+ | 'quality'
26
+ | 'question-mark'
27
+ | 'size'
28
+ | 'system'
29
+ | 'width'
30
+ export type IconSizeTypes = 'normal' | 'large' | 'huge'
31
+ export type PrintOrganizationType = { id: number; name: string; printers: PrintPrinterType[] }
32
+ export type PrintPrinterType = { id: number; name: string; location: string }
33
+ export type PrintUserType = {
34
+ id: number
35
+ firstName: string
36
+ lastName: string
37
+ email: string
38
+ organizations: PrintOrganizationType[]
39
+ }
40
+ export type SelectFlowTypes = 'vertical' | 'horizontal'
41
+ export type SelectOptionType = {
42
+ id: number | string | boolean
43
+ title: string
44
+ meta: string
45
+ type?: string
46
+ }
47
+ export type TextButtonLevelTypes = 'primary' | 'secondary' | 'tertiary'
48
+ export type TextButtonTypeTypes = 'button'
49
+ export type LabelLevelTypes = 'primary' | 'secondary' | 'tertiary'
50
+ export type WeightTypes = 'soft' | 'strong' | 'heavy'
51
+ export type ThemeTypes = 'pink' | 'red' | 'orange' | 'green' | 'teal' | 'cyan' | 'blue' | 'violet'
52
+ export type AppearanceTypes = 'system' | 'light' | 'dark'
53
+ export type TriggerTypes = 'custom' | 'file' | 'button'
54
+ export type AlertType = { open: boolean; heading: string; description: string }
55
+ export type SystemAppearanceTypes = 'light' | 'dark'
56
+ export interface PrinterProperties {
57
+ paper?: string
58
+ paperid?: number | string
59
+ color?: boolean | string
60
+ duplex?: boolean | string
61
+ duplexmode?: number | string
62
+ orientation?: number | string
63
+ copies?: number | string
64
+ resolution?: string | number
65
+ paperlength? : string | number
66
+ paperwidth? : string | number
67
+ }
68
+
69
+ export interface Printer {
70
+ id: string
71
+ location: string
72
+ name: string
73
+ is_queue: boolean
74
+ }
75
+
76
+ export interface PaperFormat {
77
+ Id: number
78
+ Name: string
79
+ XRes: number
80
+ YRes: number
81
+ }
82
+ export interface PrinterConfig {
83
+ Collate?: boolean
84
+ Color?: boolean
85
+ Driver?: string
86
+ DuplexMode?: number
87
+ DuplexSupported?: boolean
88
+ Id?: string
89
+ Location?: string
90
+ MediaSupported?: Array<string>
91
+ MediaSupportedId?: Array<number>
92
+ Name?: string
93
+ OrientationsSupported?: Array<string>
94
+ OrientationsSupportedId?: Array<number>
95
+ PaperFormats?: Array<PaperFormat>
96
+ Resolutions?: Array<string>
97
+ TPUID?: number
98
+ }
99
+
100
+ export interface User {
101
+ azureProfile: any
102
+ dateJoined: string
103
+ displayName: string
104
+ email: string
105
+ firstName: string
106
+ id: string
107
+ idProfile: {
108
+ name: string
109
+ oid: string
110
+ preferredUsername: string
111
+ }
112
+ isVerfified: boolean
113
+ lastName: string
114
+ roles: Array<string>
115
+ userInvitations: any
116
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ezeep/ezeep-js",
3
- "version": "1.0.224",
3
+ "version": "1.0.225",
4
4
  "description": "A JavaScript library to enable easy and fast printing on any web application uising ezeep Blue.",
5
5
  "author": "Thinprint GmbH",
6
6
  "license": "MIT",
@@ -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-ae73a226",[[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],paperid:[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",{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-input",{label:[1],value:[1032],type:[1],icon:[1],suffix:[513],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))));
1
+ import{p as e,b as t}from"./p-312f40d7.js";import{g as i}from"./p-a4d37138.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>(i(),t([["p-3139f35d",[[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],paperid:[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",{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-input",{label:[1],value:[1032],type:[1],icon:[1],suffix:[513],eventType:[1,"event-type"],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))));