@ezeep/ezeep-js 1.0.302 → 1.0.306

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.
Files changed (50) hide show
  1. package/dist/cjs/ezeep.cjs.js +1 -1
  2. package/dist/cjs/ezp-auth_16.cjs.entry.js +173 -10
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/collection/components/ezp-file-name/ezp-file-name.js +134 -3
  5. package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.css +29 -3
  6. package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +28 -3
  7. package/dist/collection/components/ezp-printing/ezp-printing.js +20 -2
  8. package/dist/collection/components/ezp-upload/ezp-upload.css +24 -3
  9. package/dist/collection/components/ezp-upload/ezp-upload.js +14 -3
  10. package/dist/collection/components/ezp-user-menu/ezp-user-menu.js +1 -1
  11. package/dist/collection/types/shared/types.d.ts +1 -0
  12. package/dist/collection/utils/utils.js +29 -0
  13. package/dist/components/auth.js +1 -1
  14. package/dist/components/ezp-file-name2.js +1 -1
  15. package/dist/components/ezp-printer-selection2.js +1 -1
  16. package/dist/components/ezp-printing.js +1 -1
  17. package/dist/components/ezp-upload2.js +1 -1
  18. package/dist/components/ezp-user-menu2.js +1 -1
  19. package/dist/components/utils.js +1 -1
  20. package/dist/directives/proxies.ts +14 -5
  21. package/dist/esm/ezeep.js +1 -1
  22. package/dist/esm/ezp-auth_16.entry.js +173 -10
  23. package/dist/esm/loader.js +1 -1
  24. package/dist/esm-es5/ezeep.js +1 -1
  25. package/dist/esm-es5/ezp-auth_16.entry.js +2 -2
  26. package/dist/esm-es5/loader.js +1 -1
  27. package/dist/ezeep/ezeep.esm.js +1 -1
  28. package/dist/ezeep/p-646c1d42.entry.js +1 -0
  29. package/dist/ezeep/p-8e2d88a9.system.entry.js +7 -0
  30. package/dist/ezeep/p-DCznw2Ee.system.js +1 -1
  31. package/dist/ezeep/types/shared/types.d.ts +1 -0
  32. package/dist/types/components/ezp-file-name/ezp-file-name.d.ts +43 -1
  33. package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +8 -0
  34. package/dist/types/components/ezp-printing/ezp-printing.d.ts +9 -2
  35. package/dist/types/components/ezp-upload/ezp-upload.d.ts +4 -0
  36. package/dist/types/components.d.ts +19 -3
  37. package/dist/types/shared/types.d.ts +1 -0
  38. package/dist/types/utils/utils.d.ts +20 -1
  39. package/package.json +1 -1
  40. package/www/build/ezeep.esm.js +1 -1
  41. package/www/build/p-646c1d42.entry.js +1 -0
  42. package/www/build/p-70951744.js +1 -0
  43. package/www/build/p-8e2d88a9.system.entry.js +7 -0
  44. package/www/build/p-DCznw2Ee.system.js +1 -1
  45. package/www/index.html +1 -1
  46. package/dist/ezeep/p-636e190f.system.entry.js +0 -7
  47. package/dist/ezeep/p-ff075048.entry.js +0 -1
  48. package/www/build/p-636e190f.system.entry.js +0 -7
  49. package/www/build/p-a2a4f55b.js +0 -1
  50. package/www/build/p-ff075048.entry.js +0 -1
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,n,t,i){function a(e){return e instanceof t?e:new t((function(n){n(e)}))}return new(t||(t=Promise))((function(t,r){function l(e){try{s(i.next(e))}catch(e){r(e)}}function o(e){try{s(i["throw"](e))}catch(e){r(e)}}function s(e){e.done?t(e.value):a(e.value).then(l,o)}s((i=i.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var t={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,a,r,l=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return l.next=o(0),l["throw"]=o(1),l["return"]=o(2),typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(e){return function(n){return s([e,n])}}function s(o){if(i)throw new TypeError("Generator is already executing.");while(l&&(l=0,o[0]&&(t=0)),t)try{if(i=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;a=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(r=t.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){t.label=o[1];break}if(o[0]===6&&t.label<r[1]){t.label=r[1];r=o;break}if(r&&t.label<r[2]){t.label=r[2];t.ops.push(o);break}if(r[2])t.ops.pop();t.trys.pop();continue}o=n.call(e,t)}catch(e){o=[6,e];a=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-CYpousxy.system.js","./p-D4aCr1OK.system.js"],(function(e,n){"use strict";var t,i,a,r,l,o,s,c;return{setters:[function(n){t=n.p;i=n.B;a=n.c;r=n.w;l=n.N;o=n.H;s=n.b;e("setNonce",n.s)},function(e){c=e.g}],execute:function(){var e=this;var u=function(){if(i.isDev&&!i.isTesting){a("Running in development mode.")}if(i.cloneNodeFix){p(o.prototype)}var e=i.scriptDataOpts?r.document&&Array.from(r.document.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(l,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===l})):null;var s=n.meta.url;var c=i.scriptDataOpts?(e||{})["data-opts"]||{}:{};if(s!==""){c.resourcesUrl=new URL(".",s).href}return t(c)};var p=function(e){var n=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return n.call(this,e)}var t=n.call(this,false);var i=this.childNodes;if(e){for(var a=0;a<i.length;a++){if(i[a].nodeType!==2){t.appendChild(i[a].cloneNode(true))}}}return t}};u().then((function(n){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,c()];case 1:e.sent();return[2,s([["p-636e190f.system",[[257,"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],setAuthRefreshToken:[64],checkAuth:[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"userCancel","listenUserCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"uploadContinue","listenUploadContinue"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]],{filedata:[{watchFileData:0}],filename:[{watchFilename:0}],fileurl:[{watchFileUrl:0}],language:[{watchLanguage:0}]}],[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],printTimedOut:[32],notSupported:[32],noPrinters:[32],hubDriverError:[32],userMenuOpen:[32],printStopped:[32],userName:[32],printers:[32],selectedPrinter:[32],printerConfig:[32],selectedPrinterConfig:[32],selectedProperties:[32],loadingPrinterConfig:[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]},[[0,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"],[9,"drop","resetDrag"],[9,"dragend","resetDrag"],[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]},[[8,"keydown","handleKeydown"]]],[1,"ezp-user-menu",{name:[1],open:[1028]},null,{open:[{watchOpen:0}]}],[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]},null,{expanded:[{watchExpanded:0}],preSelected:[{preSelectedChanged:0}]}],[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]},null,{value:[{watchValue:0}]}],[1,"ezp-status",{description:[1],subtext:[1],processing:[4],instance:[1],icon:[1],cancel:[8],close:[8],retry:[8]}],[1,"ezp-file-name",{name:[1],level:[1],weight:[1],placement:[1],expanded:[32],tooltipOpen:[32]},[[10,"keydown","handleKeyDown"]]],[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],isTruncated:[64]}]]]],n)]}}))}))}))}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function l(e){try{o(i.next(e))}catch(e){a(e)}}function s(e){try{o(i["throw"](e))}catch(e){a(e)}}function o(e){e.done?n(e.value):r(e.value).then(l,s)}o((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,l=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return l.next=s(0),l["throw"]=s(1),l["return"]=s(2),typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return o([e,t])}}function o(s){if(i)throw new TypeError("Generator is already executing.");while(l&&(l=0,s[0]&&(n=0)),n)try{if(i=1,r&&(a=s[0]&2?r["return"]:s[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;if(r=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];r=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-CYpousxy.system.js","./p-D4aCr1OK.system.js"],(function(e,t){"use strict";var n,i,r,a,l,s,o,c;return{setters:[function(t){n=t.p;i=t.B;r=t.c;a=t.w;l=t.N;s=t.H;o=t.b;e("setNonce",t.s)},function(e){c=e.g}],execute:function(){var e=this;var u=function(){if(i.isDev&&!i.isTesting){r("Running in development mode.")}if(i.cloneNodeFix){p(s.prototype)}var e=i.scriptDataOpts?a.document&&Array.from(a.document.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(l,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===l})):null;var o=t.meta.url;var c=i.scriptDataOpts?(e||{})["data-opts"]||{}:{};if(o!==""){c.resourcesUrl=new URL(".",o).href}return n(c)};var p=function(e){var t=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return t.call(this,e)}var n=t.call(this,false);var i=this.childNodes;if(e){for(var r=0;r<i.length;r++){if(i[r].nodeType!==2){n.appendChild(i[r].cloneNode(true))}}}return n}};u().then((function(t){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,c()];case 1:e.sent();return[2,o([["p-8e2d88a9.system",[[257,"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],setAuthRefreshToken:[64],checkAuth:[64]},[[0,"printCancel","listenPrintCancel"],[0,"printDismiss","listenPrintDismiss"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"userCancel","listenUserCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"uploadContinue","listenUploadContinue"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]],{filedata:[{watchFileData:0}],filename:[{watchFilename:0}],fileurl:[{watchFileUrl:0}],language:[{watchLanguage:0}]}],[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],printTimedOut:[32],notSupported:[32],noPrinters:[32],hubDriverError:[32],userMenuOpen:[32],printStopped:[32],firstVisibleFile:[32],userName:[32],printers:[32],selectedPrinter:[32],printerConfig:[32],selectedPrinterConfig:[32],selectedProperties:[32],loadingPrinterConfig:[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],firstVisibleFile:[32]},[[0,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"],[9,"drop","resetDrag"],[9,"dragend","resetDrag"],[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]},[[8,"keydown","handleKeydown"]]],[1,"ezp-user-menu",{name:[1],open:[1028]},null,{open:[{watchOpen:0}]}],[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]},null,{expanded:[{watchExpanded:0}],preSelected:[{preSelectedChanged:0}]}],[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]},null,{value:[{watchValue:0}]}],[1,"ezp-status",{description:[1],subtext:[1],processing:[4],instance:[1],icon:[1],cancel:[8],close:[8],retry:[8]}],[1,"ezp-file-name",{name:[1],level:[1],weight:[1],placement:[1],anchor:[1],expanded:[32],tooltipOpen:[32]},[[10,"keydown","handleKeyDown"]],{tooltipOpen:[{watchTooltipOpen:0}]}],[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],isTruncated:[64]}]]]],t)]}}))}))}))}}}));
@@ -53,6 +53,7 @@ export type TextButtonTypeTypes = 'button'
53
53
  export type LabelLevelTypes = 'primary' | 'secondary' | 'tertiary'
54
54
  export type WeightTypes = 'soft' | 'strong' | 'heavy'
55
55
  export type TooltipPlacementTypes = 'top' | 'bottom'
56
+ export type TooltipAnchorTypes = 'container' | 'parent'
56
57
  export type ThemeTypes = 'pink' | 'red' | 'orange' | 'green' | 'teal' | 'cyan' | 'blue' | 'violet'
57
58
  export type AppearanceTypes = 'system' | 'light' | 'dark'
58
59
  export type TriggerTypes = 'custom' | 'file' | 'button'
@@ -1,10 +1,12 @@
1
- import { LabelLevelTypes, TooltipPlacementTypes, WeightTypes } from '../../shared/types';
1
+ import { LabelLevelTypes, TooltipAnchorTypes, TooltipPlacementTypes, WeightTypes } from '../../shared/types';
2
2
  export declare class EzpFileName {
3
3
  host: HTMLEzpFileNameElement;
4
4
  private openTimeout?;
5
5
  private closeTimeout?;
6
6
  /** Invalidates an in-flight open when the pointer leaves. */
7
7
  private openGeneration;
8
+ /** Everything the open tooltip listens to for scrolling, to detach on close. */
9
+ private scrollTargets;
8
10
  /**
9
11
  *
10
12
  * Properties
@@ -20,6 +22,18 @@ export declare class EzpFileName {
20
22
  /** Side the tooltip opens on. Consumers point it away from the edge their
21
23
  * row sits against — `bottom` for the first row of a list, `top` below it. */
22
24
  placement: TooltipPlacementTypes;
25
+ /** What the tooltip is placed against.
26
+ *
27
+ * `container`: the nearest positioned ancestor, by CSS alone. The consumer
28
+ * makes the row that ancestor, and the bubble opens at the row's edge.
29
+ *
30
+ * `parent`: the row the name sits in, measured when the tooltip opens — the
31
+ * closest ancestor marked `data-tooltip-row`, or else the name's parent
32
+ * element. For rows inside a scroll container, which would clip a bubble
33
+ * anchored to the row. The consumer puts the positioned ancestor outside the
34
+ * scroller instead, and the bubble spans that ancestor but lines up with
35
+ * the row. */
36
+ anchor: TooltipAnchorTypes;
23
37
  /**
24
38
  *
25
39
  * States
@@ -35,6 +49,15 @@ export declare class EzpFileName {
35
49
  *
36
50
  */
37
51
  disconnectedCallback(): void;
52
+ componentDidRender(): void;
53
+ /**
54
+ *
55
+ * Watchers
56
+ *
57
+ */
58
+ /** A measured bubble stays where it was put, so once the row scrolls away
59
+ * under it, it would point at the wrong name. Closing it is the honest fix. */
60
+ watchTooltipOpen(open: boolean): void;
38
61
  /**
39
62
  *
40
63
  * Listeners
@@ -70,6 +93,25 @@ export declare class EzpFileName {
70
93
  private isClipped;
71
94
  private openTooltip;
72
95
  private closeTooltip;
96
+ /** Lines the bubble up with the row the name sits in. Its containing block
97
+ * is somewhere further out, so `top: 0` shows where that block starts, and
98
+ * the offset is taken from there. Measurements are in screen pixels, which
99
+ * differ from CSS pixels when a host scales the dialog with a transform, so
100
+ * the offset is converted back before it is applied.
101
+ *
102
+ * `placement` is a preference here: a row near the edge of whatever clips
103
+ * the bubble may not have room on that side, so it opens on the other. */
104
+ private placeTooltip;
105
+ /** The part of the screen the bubble can show in: the viewport, narrowed by
106
+ * every ancestor of its containing block that clips overflow — the host's
107
+ * scrolling body, say. The scroller the rows sit in isn't among them, as the
108
+ * bubble is anchored beyond it. */
109
+ private visibleArea;
110
+ /** Scroll events don't bubble, so every ancestor is listened to directly —
111
+ * across shadow roots, since the scroll container is usually the consumer's.
112
+ * A window resize re-wraps the bubble just the same, so it closes it too. */
113
+ private watchScroll;
114
+ private stopWatchingScroll;
73
115
  /** Leaves the tooltip up briefly so the pointer can reach it. */
74
116
  private scheduleClose;
75
117
  private cancelScheduledClose;
@@ -46,6 +46,9 @@ export declare class EzpPrinterSelection {
46
46
  hubDriverError: boolean;
47
47
  userMenuOpen: boolean;
48
48
  printStopped: boolean;
49
+ /** First row of the file list that is at least partly in view. Its tooltip
50
+ * opens downwards, as there is no list left above it to cover. */
51
+ firstVisibleFile: number;
49
52
  userName: string;
50
53
  /** Starts empty so the dialog can still render if the list never arrives. */
51
54
  printers: Printer[];
@@ -69,6 +72,10 @@ export declare class EzpPrinterSelection {
69
72
  */
70
73
  /** Description... */
71
74
  printCancel: EventEmitter<MouseEvent>;
75
+ /** Cancel or close on this dialog: the user backs out of the print options
76
+ * only. Unlike `printCancel`, it leaves the selected files alone, so the
77
+ * host can return to the step they were chosen on. */
78
+ printDismiss: EventEmitter<void>;
72
79
  /** Description... */
73
80
  printSubmit: EventEmitter<MouseEvent>;
74
81
  logout: EventEmitter<MouseEvent>;
@@ -106,6 +113,7 @@ export declare class EzpPrinterSelection {
106
113
  * that cannot do it. */
107
114
  private rememberSelection;
108
115
  private handleUserMenu;
116
+ private handleFilesScroll;
109
117
  /**
110
118
  * Decide which printer the dialog opens on: the one last printed to, or the
111
119
  * user's only printer when there is nothing to choose between. Its settings
@@ -51,6 +51,11 @@ export declare class EzpPrinting {
51
51
  */
52
52
  /** Description... */
53
53
  listenPrintCancel(): void;
54
+ /** Cancel or close on the print options card. With an upload step to go
55
+ * back to, only the card closes: the files picked there stay picked, and
56
+ * removing them is the upload card's "Clear files". Without one there is
57
+ * nothing left to show, so it ends the flow like `printCancel`. */
58
+ listenPrintDismiss(): void;
54
59
  /** Description... */
55
60
  listenPrintSubmit(): void;
56
61
  /** Description... */
@@ -68,8 +73,10 @@ export declare class EzpPrinting {
68
73
  /**
69
74
  * Fired when the print flow reaches an end state and the host may dismiss the
70
75
  * component: a print job was submitted, or the user cancelled on the upload
71
- * card, the sign-in dialog (with files pending) or the print options card. It
72
- * does not mean a job was printed — check for that on the print API side.
76
+ * card, the sign-in dialog (with files pending) or the print options card. A
77
+ * cancel on the print options card returns to the upload card when there is
78
+ * one (`trigger="file"`), so it doesn't end the flow there. It does not mean
79
+ * a job was printed — check for that on the print API side.
73
80
  */
74
81
  printFinished: EventEmitter<void>;
75
82
  /**
@@ -12,6 +12,9 @@ export declare class EzpUpload {
12
12
  */
13
13
  selectedFiles: File[];
14
14
  dragging: boolean;
15
+ /** First row of the file list that is at least partly in view. Its tooltip
16
+ * opens downwards, as there is no list left above it to cover. */
17
+ firstVisibleFile: number;
15
18
  /**
16
19
  *
17
20
  * Events
@@ -48,6 +51,7 @@ export declare class EzpUpload {
48
51
  private handleInput;
49
52
  private removeFile;
50
53
  private handleCancel;
54
+ private handleFilesScroll;
51
55
  private handleContinue;
52
56
  /** Extract a short, upper-cased file-type label from the file name. */
53
57
  private fileType;
@@ -5,8 +5,8 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
- import { AppearanceTypes, IconButtonLevelTypes, IconButtonTypeTypes, IconNameTypes, IconSizeTypes, LabelLevelTypes, SelectFlowTypes, SelectOptionType, TextButtonLevelTypes, TextButtonTypeTypes, ThemeTypes, TooltipPlacementTypes, TriggerTypes, WeightTypes } from "./shared/types";
9
- export { AppearanceTypes, IconButtonLevelTypes, IconButtonTypeTypes, IconNameTypes, IconSizeTypes, LabelLevelTypes, SelectFlowTypes, SelectOptionType, TextButtonLevelTypes, TextButtonTypeTypes, ThemeTypes, TooltipPlacementTypes, TriggerTypes, WeightTypes } from "./shared/types";
8
+ import { AppearanceTypes, IconButtonLevelTypes, IconButtonTypeTypes, IconNameTypes, IconSizeTypes, LabelLevelTypes, SelectFlowTypes, SelectOptionType, TextButtonLevelTypes, TextButtonTypeTypes, ThemeTypes, TooltipAnchorTypes, TooltipPlacementTypes, TriggerTypes, WeightTypes } from "./shared/types";
9
+ export { AppearanceTypes, IconButtonLevelTypes, IconButtonTypeTypes, IconNameTypes, IconSizeTypes, LabelLevelTypes, SelectFlowTypes, SelectOptionType, TextButtonLevelTypes, TextButtonTypeTypes, ThemeTypes, TooltipAnchorTypes, TooltipPlacementTypes, TriggerTypes, WeightTypes } from "./shared/types";
10
10
  export namespace Components {
11
11
  interface EzpAuth {
12
12
  "clientID": string;
@@ -43,6 +43,11 @@ export namespace Components {
43
43
  "instance": string;
44
44
  }
45
45
  interface EzpFileName {
46
+ /**
47
+ * What the tooltip is placed against. `container`: the nearest positioned ancestor, by CSS alone. The consumer makes the row that ancestor, and the bubble opens at the row's edge. `parent`: the row the name sits in, measured when the tooltip opens — the closest ancestor marked `data-tooltip-row`, or else the name's parent element. For rows inside a scroll container, which would clip a bubble anchored to the row. The consumer puts the positioned ancestor outside the scroller instead, and the bubble spans that ancestor but lines up with the row.
48
+ * @default 'container'
49
+ */
50
+ "anchor": TooltipAnchorTypes;
46
51
  /**
47
52
  * Type scale of the rendered name, passed through to `ezp-label`.
48
53
  * @default 'secondary'
@@ -510,6 +515,7 @@ declare global {
510
515
  };
511
516
  interface HTMLEzpPrinterSelectionElementEventMap {
512
517
  "printCancel": MouseEvent;
518
+ "printDismiss": void;
513
519
  "printSubmit": MouseEvent;
514
520
  "logout": MouseEvent;
515
521
  }
@@ -708,6 +714,11 @@ declare namespace LocalJSX {
708
714
  "onDialogClose"?: (event: EzpDialogCustomEvent<string>) => void;
709
715
  }
710
716
  interface EzpFileName {
717
+ /**
718
+ * What the tooltip is placed against. `container`: the nearest positioned ancestor, by CSS alone. The consumer makes the row that ancestor, and the bubble opens at the row's edge. `parent`: the row the name sits in, measured when the tooltip opens — the closest ancestor marked `data-tooltip-row`, or else the name's parent element. For rows inside a scroll container, which would clip a bubble anchored to the row. The consumer puts the positioned ancestor outside the scroller instead, and the bubble spans that ancestor but lines up with the row.
719
+ * @default 'container'
720
+ */
721
+ "anchor"?: TooltipAnchorTypes;
711
722
  /**
712
723
  * Type scale of the rendered name, passed through to `ezp-label`.
713
724
  * @default 'secondary'
@@ -861,6 +872,10 @@ declare namespace LocalJSX {
861
872
  * Description...
862
873
  */
863
874
  "onPrintCancel"?: (event: EzpPrinterSelectionCustomEvent<MouseEvent>) => void;
875
+ /**
876
+ * Cancel or close on this dialog: the user backs out of the print options only. Unlike `printCancel`, it leaves the selected files alone, so the host can return to the step they were chosen on.
877
+ */
878
+ "onPrintDismiss"?: (event: EzpPrinterSelectionCustomEvent<void>) => void;
864
879
  /**
865
880
  * Description...
866
881
  */
@@ -899,7 +914,7 @@ declare namespace LocalJSX {
899
914
  */
900
915
  "language"?: string;
901
916
  /**
902
- * Fired when the print flow reaches an end state and the host may dismiss the component: a print job was submitted, or the user cancelled on the upload card, the sign-in dialog (with files pending) or the print options card. It does not mean a job was printed — check for that on the print API side.
917
+ * Fired when the print flow reaches an end state and the host may dismiss the component: a print job was submitted, or the user cancelled on the upload card, the sign-in dialog (with files pending) or the print options card. A cancel on the print options card returns to the upload card when there is one (`trigger="file"`), so it doesn't end the flow there. It does not mean a job was printed — check for that on the print API side.
903
918
  */
904
919
  "onPrintFinished"?: (event: EzpPrintingCustomEvent<void>) => void;
905
920
  "printapihosturl"?: string;
@@ -1092,6 +1107,7 @@ declare namespace LocalJSX {
1092
1107
  "level": LabelLevelTypes;
1093
1108
  "weight": WeightTypes;
1094
1109
  "placement": TooltipPlacementTypes;
1110
+ "anchor": TooltipAnchorTypes;
1095
1111
  }
1096
1112
  interface EzpIconAttributes {
1097
1113
  "name": IconNameTypes;
@@ -53,6 +53,7 @@ export type TextButtonTypeTypes = 'button'
53
53
  export type LabelLevelTypes = 'primary' | 'secondary' | 'tertiary'
54
54
  export type WeightTypes = 'soft' | 'strong' | 'heavy'
55
55
  export type TooltipPlacementTypes = 'top' | 'bottom'
56
+ export type TooltipAnchorTypes = 'container' | 'parent'
56
57
  export type ThemeTypes = 'pink' | 'red' | 'orange' | 'green' | 'teal' | 'cyan' | 'blue' | 'violet'
57
58
  export type AppearanceTypes = 'system' | 'light' | 'dark'
58
59
  export type TriggerTypes = 'custom' | 'file' | 'button'
@@ -1,4 +1,4 @@
1
- import { PrinterProperties } from './../shared/types';
1
+ import { PrinterProperties, TooltipPlacementTypes } from './../shared/types';
2
2
  export { PAPER_ID } from '../shared/constants';
3
3
  /**
4
4
  * Re-render a Stencil component whenever the i18next language changes.
@@ -9,6 +9,25 @@ export { PAPER_ID } from '../shared/constants';
9
9
  * disconnectedCallback.
10
10
  */
11
11
  export declare function subscribeToLanguageChange(component: unknown): () => void;
12
+ /** Index of the first child of a scroll container that is at least half in
13
+ * view, or -1 when it has none. Lists use it to open the topmost visible row's
14
+ * tooltip downwards, as nothing in the list is left above that row to cover.
15
+ * A row showing only a sliver doesn't count: the row below it is the one the
16
+ * user reads first, and that one should open downwards. */
17
+ export declare function firstVisibleChild(container: HTMLElement): number;
18
+ /**
19
+ * Side a tooltip should open on, given where it was asked to open and the room
20
+ * there is. The requested side wins whenever the bubble fits there; otherwise
21
+ * it flips to the other side if that fits, or if that simply has more room.
22
+ * All values are in the same (screen) pixels.
23
+ */
24
+ export declare function pickTooltipSide(requested: TooltipPlacementTypes, row: {
25
+ top: number;
26
+ bottom: number;
27
+ }, needed: number, visible: {
28
+ top: number;
29
+ bottom: number;
30
+ }): TooltipPlacementTypes;
12
31
  export declare function encodeFormData(data: {
13
32
  [x: string]: string | number | boolean;
14
33
  }): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ezeep/ezeep-js",
3
- "version": "1.0.302",
3
+ "version": "1.0.306",
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 n,c as t,w as i,N as l,H as a,b as r}from"./p-BButrLnB.js";export{s as setNonce}from"./p-BButrLnB.js";import{g as o}from"./p-C0WTlb31.js";var p=e=>{const n=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return n.call(this,e);const t=n.call(this,!1),i=this.childNodes;if(e)for(let e=0;e<i.length;e++)2!==i[e].nodeType&&t.appendChild(i[e].cloneNode(!0));return t}};(()=>{n.isDev&&!n.isTesting&&t("Running in development mode."),n.cloneNodeFix&&p(a.prototype);const s=n.scriptDataOpts?i.document&&Array.from(i.document.querySelectorAll("script")).find((e=>new RegExp(`/${l}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===l)):null,r=import.meta.url,o=n.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==r&&(o.resourcesUrl=new URL(".",r).href),e(o)})().then((async e=>(await o(),r([["p-ff075048",[[257,"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],setAuthRefreshToken:[64],checkAuth:[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"userCancel","listenUserCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"uploadContinue","listenUploadContinue"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]],{filedata:[{watchFileData:0}],filename:[{watchFilename:0}],fileurl:[{watchFileUrl:0}],language:[{watchLanguage:0}]}],[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],printTimedOut:[32],notSupported:[32],noPrinters:[32],hubDriverError:[32],userMenuOpen:[32],printStopped:[32],userName:[32],printers:[32],selectedPrinter:[32],printerConfig:[32],selectedPrinterConfig:[32],selectedProperties:[32],loadingPrinterConfig:[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]},[[0,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"],[9,"drop","resetDrag"],[9,"dragend","resetDrag"],[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]},[[8,"keydown","handleKeydown"]]],[1,"ezp-user-menu",{name:[1],open:[1028]},null,{open:[{watchOpen:0}]}],[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]},null,{expanded:[{watchExpanded:0}],preSelected:[{preSelectedChanged:0}]}],[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]},null,{value:[{watchValue:0}]}],[1,"ezp-status",{description:[1],subtext:[1],processing:[4],instance:[1],icon:[1],cancel:[8],close:[8],retry:[8]}],[1,"ezp-file-name",{name:[1],level:[1],weight:[1],placement:[1],expanded:[32],tooltipOpen:[32]},[[10,"keydown","handleKeyDown"]]],[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],isTruncated:[64]}]]]],e))));
1
+ import{p as e,B as t,c as n,w as i,N as l,H as a,b as r}from"./p-BButrLnB.js";export{s as setNonce}from"./p-BButrLnB.js";import{g as o}from"./p-C0WTlb31.js";var p=e=>{const t=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return t.call(this,e);const n=t.call(this,!1),i=this.childNodes;if(e)for(let e=0;e<i.length;e++)2!==i[e].nodeType&&n.appendChild(i[e].cloneNode(!0));return n}};(()=>{t.isDev&&!t.isTesting&&n("Running in development mode."),t.cloneNodeFix&&p(a.prototype);const s=t.scriptDataOpts?i.document&&Array.from(i.document.querySelectorAll("script")).find((e=>new RegExp(`/${l}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===l)):null,r=import.meta.url,o=t.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==r&&(o.resourcesUrl=new URL(".",r).href),e(o)})().then((async e=>(await o(),r([["p-646c1d42",[[257,"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],setAuthRefreshToken:[64],checkAuth:[64]},[[0,"printCancel","listenPrintCancel"],[0,"printDismiss","listenPrintDismiss"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"userCancel","listenUserCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"uploadContinue","listenUploadContinue"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]],{filedata:[{watchFileData:0}],filename:[{watchFilename:0}],fileurl:[{watchFileUrl:0}],language:[{watchLanguage:0}]}],[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],printTimedOut:[32],notSupported:[32],noPrinters:[32],hubDriverError:[32],userMenuOpen:[32],printStopped:[32],firstVisibleFile:[32],userName:[32],printers:[32],selectedPrinter:[32],printerConfig:[32],selectedPrinterConfig:[32],selectedProperties:[32],loadingPrinterConfig:[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],firstVisibleFile:[32]},[[0,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"],[9,"drop","resetDrag"],[9,"dragend","resetDrag"],[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]},[[8,"keydown","handleKeydown"]]],[1,"ezp-user-menu",{name:[1],open:[1028]},null,{open:[{watchOpen:0}]}],[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]},null,{expanded:[{watchExpanded:0}],preSelected:[{preSelectedChanged:0}]}],[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]},null,{value:[{watchValue:0}]}],[1,"ezp-status",{description:[1],subtext:[1],processing:[4],instance:[1],icon:[1],cancel:[8],close:[8],retry:[8]}],[1,"ezp-file-name",{name:[1],level:[1],weight:[1],placement:[1],anchor:[1],expanded:[32],tooltipOpen:[32]},[[10,"keydown","handleKeyDown"]],{tooltipOpen:[{watchTooltipOpen:0}]}],[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],isTruncated:[64]}]]]],e))));