@ezeep/ezeep-js 1.0.271 → 1.0.277

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 (120) hide show
  1. package/dist/cjs/{app-globals-D7ISNeUi.js → app-globals-L_3XPZxT.js} +7 -1
  2. package/dist/cjs/ezeep.cjs.js +4 -4
  3. package/dist/cjs/ezp-auth_15.cjs.entry.js +7240 -3678
  4. package/dist/cjs/{index-dv_gozsq.js → index-DM5v_sge.js} +3 -2
  5. package/dist/cjs/loader.cjs.js +3 -3
  6. package/dist/collection/collection-manifest.json +1 -1
  7. package/dist/collection/components/ezp-auth/ezp-auth.css +1 -1
  8. package/dist/collection/components/ezp-auth/ezp-auth.js +56 -15
  9. package/dist/collection/components/ezp-backdrop/ezp-backdrop.js +5 -5
  10. package/dist/collection/components/ezp-dialog/ezp-dialog.js +85 -13
  11. package/dist/collection/components/ezp-icon/ezp-icon.js +7 -2
  12. package/dist/collection/components/ezp-icon-button/ezp-icon-button.js +4 -1
  13. package/dist/collection/components/ezp-input/ezp-input.css +9 -12
  14. package/dist/collection/components/ezp-input/ezp-input.js +15 -13
  15. package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +207 -323
  16. package/dist/collection/components/ezp-printing/ezp-printing.css +9 -9
  17. package/dist/collection/components/ezp-printing/ezp-printing.js +107 -35
  18. package/dist/collection/components/ezp-select/ezp-select.css +2 -2
  19. package/dist/collection/components/ezp-select/ezp-select.js +92 -13
  20. package/dist/collection/components/ezp-status/ezp-status.js +23 -13
  21. package/dist/collection/components/ezp-stepper/ezp-stepper.js +13 -6
  22. package/dist/collection/components/ezp-text-button/ezp-text-button.js +1 -1
  23. package/dist/collection/components/ezp-upload/ezp-upload.css +9 -9
  24. package/dist/collection/components/ezp-upload/ezp-upload.js +26 -8
  25. package/dist/collection/components/ezp-user-menu/ezp-user-menu.css +2 -1
  26. package/dist/collection/components/ezp-user-menu/ezp-user-menu.js +15 -15
  27. package/dist/collection/services/auth.js +37 -36
  28. package/dist/collection/services/http.js +11 -0
  29. package/dist/collection/services/print-job.js +72 -0
  30. package/dist/collection/services/print.js +21 -69
  31. package/dist/collection/services/user.js +2 -9
  32. package/dist/collection/shared/constants.js +55 -0
  33. package/dist/collection/shared/global.js +7 -1
  34. package/dist/collection/shared/storage.js +71 -0
  35. package/dist/collection/types/shared/types.d.ts +40 -9
  36. package/dist/collection/utils/printer.js +68 -0
  37. package/dist/collection/utils/utils.js +24 -9
  38. package/dist/components/auth.js +1 -1
  39. package/dist/components/ezp-auth2.js +1 -1
  40. package/dist/components/ezp-backdrop2.js +1 -1
  41. package/dist/components/ezp-dialog2.js +1 -1
  42. package/dist/components/ezp-icon-button2.js +1 -1
  43. package/dist/components/ezp-icon2.js +1 -1
  44. package/dist/components/ezp-input2.js +1 -1
  45. package/dist/components/ezp-printer-selection2.js +1 -1
  46. package/dist/components/ezp-printing.js +1 -1
  47. package/dist/components/ezp-select2.js +1 -1
  48. package/dist/components/ezp-status2.js +1 -1
  49. package/dist/components/ezp-stepper2.js +1 -1
  50. package/dist/components/ezp-text-button2.js +1 -1
  51. package/dist/components/ezp-upload2.js +1 -1
  52. package/dist/components/ezp-user-menu.js +1 -1
  53. package/dist/components/ezp-user-menu2.js +1 -1
  54. package/dist/components/index.js +1 -1
  55. package/dist/components/utils.js +1 -0
  56. package/dist/directives/proxies.ts +82 -59
  57. package/dist/esm/{app-globals-CpP67t2l.js → app-globals-C0WTlb31.js} +7 -1
  58. package/dist/esm/ezeep.js +5 -5
  59. package/dist/esm/ezp-auth_15.entry.js +7240 -3678
  60. package/dist/esm/{index-BTfWEHH9.js → index-BButrLnB.js} +3 -3
  61. package/dist/esm/loader.js +4 -4
  62. package/dist/esm-es5/{app-globals-CpP67t2l.js → app-globals-C0WTlb31.js} +1 -1
  63. package/dist/esm-es5/ezeep.js +1 -1
  64. package/dist/esm-es5/ezp-auth_15.entry.js +2 -2
  65. package/dist/esm-es5/{index-BTfWEHH9.js → index-BButrLnB.js} +3 -3
  66. package/dist/esm-es5/loader.js +1 -1
  67. package/dist/ezeep/ezeep.esm.js +1 -1
  68. package/dist/ezeep/ezeep.js +1 -1
  69. package/dist/ezeep/p-644e48a0.system.entry.js +7 -0
  70. package/dist/ezeep/{p-BTfWEHH9.js → p-BButrLnB.js} +2 -2
  71. package/dist/ezeep/{p-CpP67t2l.js → p-C0WTlb31.js} +1 -1
  72. package/{www/build/p-DhXN1yGM.system.js → dist/ezeep/p-CYpousxy.system.js} +2 -2
  73. package/dist/ezeep/{p-5ok9OZMg.system.js → p-D4aCr1OK.system.js} +1 -1
  74. package/dist/ezeep/{p-CfQRcOh8.system.js → p-DCznw2Ee.system.js} +1 -1
  75. package/dist/ezeep/p-ebd2beda.entry.js +1 -0
  76. package/dist/ezeep/types/shared/types.d.ts +40 -9
  77. package/dist/types/components/ezp-auth/ezp-auth.d.ts +8 -5
  78. package/dist/types/components/ezp-backdrop/ezp-backdrop.d.ts +2 -2
  79. package/dist/types/components/ezp-dialog/ezp-dialog.d.ts +14 -3
  80. package/dist/types/components/ezp-input/ezp-input.d.ts +17 -14
  81. package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +23 -7
  82. package/dist/types/components/ezp-printing/ezp-printing.d.ts +25 -2
  83. package/dist/types/components/ezp-select/ezp-select.d.ts +10 -4
  84. package/dist/types/components/ezp-status/ezp-status.d.ts +6 -4
  85. package/dist/types/components/ezp-stepper/ezp-stepper.d.ts +1 -1
  86. package/dist/types/components/ezp-upload/ezp-upload.d.ts +4 -1
  87. package/dist/types/components/ezp-user-menu/ezp-user-menu.d.ts +5 -2
  88. package/dist/types/components.d.ts +38 -38
  89. package/dist/types/services/auth.d.ts +10 -0
  90. package/dist/types/services/http.d.ts +4 -0
  91. package/dist/types/services/print-job.d.ts +48 -0
  92. package/dist/types/services/print.d.ts +10 -9
  93. package/dist/types/services/user.d.ts +13 -2
  94. package/dist/types/shared/constants.d.ts +51 -0
  95. package/dist/types/shared/storage.d.ts +24 -0
  96. package/dist/types/shared/types.d.ts +40 -9
  97. package/dist/types/stencil-public-runtime.d.ts +1 -0
  98. package/dist/types/utils/printer.d.ts +22 -0
  99. package/dist/types/utils/utils.d.ts +22 -10
  100. package/package.json +30 -18
  101. package/readme.md +1 -0
  102. package/www/build/ezeep.esm.js +1 -1
  103. package/www/build/ezeep.js +1 -1
  104. package/www/build/p-644e48a0.system.entry.js +7 -0
  105. package/www/build/{p-BTfWEHH9.js → p-BButrLnB.js} +2 -2
  106. package/www/build/{p-CpP67t2l.js → p-C0WTlb31.js} +1 -1
  107. package/{dist/ezeep/p-DhXN1yGM.system.js → www/build/p-CYpousxy.system.js} +2 -2
  108. package/www/build/{p-5ok9OZMg.system.js → p-D4aCr1OK.system.js} +1 -1
  109. package/www/build/{p-CfQRcOh8.system.js → p-DCznw2Ee.system.js} +1 -1
  110. package/www/build/p-c7252f1c.js +1 -0
  111. package/www/build/p-ebd2beda.entry.js +1 -0
  112. package/www/data/locales/de.json +1 -0
  113. package/www/data/locales/en.json +1 -0
  114. package/www/index.html +2 -5
  115. package/dist/components/i18next.js +0 -1
  116. package/dist/ezeep/p-2177b8f4.system.entry.js +0 -7
  117. package/dist/ezeep/p-de8f6583.entry.js +0 -1
  118. package/www/build/p-2177b8f4.system.entry.js +0 -7
  119. package/www/build/p-256870db.js +0 -1
  120. package/www/build/p-de8f6583.entry.js +0 -1
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  const NAMESPACE = 'ezeep';
4
- const BUILD = /* ezeep */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, deserializer: false, devTools: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propChangeCallback: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, serializer: false, shadowDelegatesFocus: false, shadowDom: true, shadowSlotAssignmentManual: false, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true };
4
+ const BUILD = /* ezeep */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, deserializer: false, devTools: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propChangeCallback: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, serializer: false, shadowDelegatesFocus: false, shadowDom: true, shadowSlotAssignmentManual: false, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true };
5
5
  const Env = /* ezeep */ {};
6
6
 
7
7
  /*
8
- Stencil Client Platform v4.43.4 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Platform v4.43.5 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var Build = {
@@ -4685,6 +4685,7 @@ exports.StencilCore = StencilCore;
4685
4685
  exports.bootstrapLazy = bootstrapLazy;
4686
4686
  exports.consoleDevInfo = consoleDevInfo;
4687
4687
  exports.createEvent = createEvent;
4688
+ exports.forceUpdate = forceUpdate;
4688
4689
  exports.getAssetPath = getAssetPath;
4689
4690
  exports.getElement = getElement;
4690
4691
  exports.h = h;
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-dv_gozsq.js');
4
- var appGlobals = require('./app-globals-D7ISNeUi.js');
3
+ var index = require('./index-DM5v_sge.js');
4
+ var appGlobals = require('./app-globals-L_3XPZxT.js');
5
5
 
6
6
  const defineCustomElements = async (win, options) => {
7
7
  if (typeof window === 'undefined') return undefined;
8
8
  await appGlobals.globalScripts();
9
- return index.bootstrapLazy([["ezp-auth_15.cjs",[[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,"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],"notSupported":[32],"noPrinters":[32],"hubDriverError":[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]},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],"processing":[4],"instance":[1],"icon":[1],"cancel":[8],"close":[8],"retry":[8]}],[1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1],"small":[4]}],[1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-icon",{"name":[1],"size":[1],"framed":[4]}],[1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]]]], options);
9
+ return index.bootstrapLazy([["ezp-auth_15.cjs",[[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,"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],"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]},[[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],"processing":[4],"instance":[1],"icon":[1],"cancel":[8],"close":[8],"retry":[8]}],[1,"ezp-backdrop",{"visible":[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-text-button",{"blank":[4],"disabled":[4],"href":[1],"level":[1],"label":[1],"type":[1],"small":[4]}],[1,"ezp-icon-button",{"blank":[4],"disabled":[4],"href":[1],"icon":[1],"level":[1],"type":[1]}],[1,"ezp-icon",{"name":[1],"size":[1],"framed":[4]}],[1,"ezp-label",{"ellipsis":[4],"level":[1],"noWrap":[4,"no-wrap"],"text":[1],"weight":[1]}]]]], options);
10
10
  };
11
11
 
12
12
  exports.setNonce = index.setNonce;
@@ -19,7 +19,7 @@
19
19
  "mixins": [],
20
20
  "compiler": {
21
21
  "name": "@stencil/core",
22
- "version": "4.43.4",
22
+ "version": "4.43.5",
23
23
  "typescriptVersion": "5.8.3"
24
24
  },
25
25
  "collections": [],
@@ -10,10 +10,10 @@
10
10
  }
11
11
 
12
12
  .auth-actions {
13
+ align-items: center;
13
14
  display: flex;
14
15
  gap: var(--ezp-spacing-3);
15
16
  justify-content: space-between;
16
- align-items: center;
17
17
  width: 100%;
18
18
  }
19
19
  .auth-actions ezp-text-button {
@@ -1,11 +1,48 @@
1
1
  import { Host, h } from "@stencil/core";
2
2
  import { EzpAuthorizationService } from "../../services/auth";
3
3
  import authStore from "../../services/auth";
4
+ import { subscribeToLanguageChange } from "../../utils/utils";
4
5
  import i18next from "i18next";
5
6
  export class EzpAuth {
6
7
  constructor() {
7
8
  this.oauthPopupWindow = null;
8
9
  this.previousUrl = null;
10
+ // Bound once (arrow property) so add/removeEventListener share the same
11
+ // reference. An inline `(e) => this.receiveMessage(e)` never matches on
12
+ // remove, so listeners stacked across retried sign-ins and the popup's single
13
+ // code got exchanged once per accumulated listener.
14
+ this.receiveMessage = (event) => {
15
+ // Defense in depth #1: the code must come from the popup we opened — not any
16
+ // other window, frame or tab, even one served from the redirect origin.
17
+ if (this.oauthPopupWindow && event.source && event.source !== this.oauthPopupWindow) {
18
+ // eslint-disable-next-line no-console
19
+ console.warn('[ezeep] Ignored auth message from an unexpected source window.');
20
+ return;
21
+ }
22
+ // Defense in depth #2: only accept the code from the expected redirect
23
+ // origin — otherwise any page could postMessage a forged code into the
24
+ // token exchange. Fail *open* if redirectURI can't be parsed so a config
25
+ // quirk can never silently block sign-in; the source-window check above
26
+ // still guards against forgery in that case. Warn on any rejection so a
27
+ // real mismatch is debuggable.
28
+ let expectedOrigin = null;
29
+ try {
30
+ expectedOrigin = new URL(this.redirectURI).origin;
31
+ }
32
+ catch (_a) {
33
+ expectedOrigin = null;
34
+ }
35
+ if (expectedOrigin && event.origin !== expectedOrigin) {
36
+ // eslint-disable-next-line no-console
37
+ console.warn(`[ezeep] Ignored auth message from unexpected origin "${event.origin}" (expected "${expectedOrigin}").`);
38
+ return;
39
+ }
40
+ authStore.state.code = event.data;
41
+ this.auth.getAccessToken().then(() => {
42
+ this.authCancel.emit();
43
+ this.authSuccess.emit();
44
+ });
45
+ };
9
46
  }
10
47
  listenDialogAction() {
11
48
  this.openSignInWindow(this.auth.authURI.toString(), 'ezeep Login');
@@ -16,7 +53,17 @@ export class EzpAuth {
16
53
  listenStatusCancel() {
17
54
  this.authCancel.emit();
18
55
  }
56
+ connectedCallback() {
57
+ this.unsubscribeLanguage = subscribeToLanguageChange(this);
58
+ }
59
+ disconnectedCallback() {
60
+ var _a;
61
+ (_a = this.unsubscribeLanguage) === null || _a === void 0 ? void 0 : _a.call(this);
62
+ // Don't leave the message listener behind when the component is removed.
63
+ window.removeEventListener('message', this.receiveMessage);
64
+ }
19
65
  openSignInWindow(url, name) {
66
+ var _a;
20
67
  if (authStore.state.isAuthorized) {
21
68
  this.authCancel.emit();
22
69
  this.authSuccess.emit();
@@ -41,7 +88,7 @@ export class EzpAuth {
41
88
  typeof this.oauthPopupWindow.closed == 'undefined') {
42
89
  alert('popup blocked');
43
90
  }
44
- this.oauthPopupWindow.focus();
91
+ (_a = this.oauthPopupWindow) === null || _a === void 0 ? void 0 : _a.focus();
45
92
  }
46
93
  else {
47
94
  /* else the window reference must exist and the window
@@ -50,17 +97,11 @@ export class EzpAuth {
50
97
  the window or to reload the referenced resource. */
51
98
  this.oauthPopupWindow.focus();
52
99
  }
53
- // add the listener for receiving a message from the popup
54
- window.addEventListener('message', (event) => this.receiveMessage(event), false);
100
+ // add the listener for receiving a message from the popup (same bound
101
+ // reference used by removeEventListener above, so it never stacks)
102
+ window.addEventListener('message', this.receiveMessage, false);
55
103
  this.previousUrl = this.auth.authURI;
56
104
  }
57
- receiveMessage(event) {
58
- authStore.state.code = event.data;
59
- this.auth.getAccessToken().then(() => {
60
- this.authCancel.emit();
61
- this.authSuccess.emit();
62
- });
63
- }
64
105
  async componentWillLoad() {
65
106
  this.auth = new EzpAuthorizationService(this.redirectURI, this.clientID);
66
107
  if (this.code) {
@@ -79,7 +120,7 @@ export class EzpAuth {
79
120
  }
80
121
  }
81
122
  render() {
82
- return (h(Host, { key: 'a61df2cca2d4ebdf13b0148ad9eed77f2bd6526f' }, this.hidelogin && this.trigger === 'button' ? (h("ezp-status", { description: i18next.t('login_dialog.action'), processing: true, cancel: true })) : this.hidelogin && this.trigger === 'file' ? (h("div", { class: "auth-actions" }, h("ezp-text-button", { type: "button", level: "secondary", onClick: () => this.userCancel.emit(), label: i18next.t('button_actions.cancel') }), h("ezp-text-button", { type: "button", level: "primary", onClick: () => this.openSignInWindow(this.auth.authURI.toString(), 'ezeep Login'), label: i18next.t('button_actions.select_printer') }))) : (h("ezp-dialog", { heading: i18next.t('login_dialog.heading'), description: i18next.t('login_dialog.description'), action: i18next.t('login_dialog.action'), iconName: "logo", iconSize: "huge", iconFramed: false, instance: "login" }))));
123
+ return (h(Host, { key: 'adde3ddd8f6afddc27c3a5503569b3c0d9eea420' }, this.hidelogin && this.trigger === 'button' ? (h("ezp-status", { description: i18next.t('login_dialog.action'), processing: true, cancel: true })) : this.hidelogin && this.trigger === 'file' ? (h("div", { class: "auth-actions" }, h("ezp-text-button", { type: "button", level: "secondary", onClick: () => this.userCancel.emit(), label: i18next.t('button_actions.cancel') }), h("ezp-text-button", { type: "button", level: "primary", onClick: () => this.openSignInWindow(this.auth.authURI.toString(), 'ezeep Login'), label: i18next.t('button_actions.select_printer') }))) : (h("ezp-dialog", { heading: i18next.t('login_dialog.heading'), description: i18next.t('login_dialog.description'), action: i18next.t('login_dialog.action'), iconName: "logo", iconSize: "huge", iconFramed: false, instance: "login" }))));
83
124
  }
84
125
  static get is() { return "ezp-auth"; }
85
126
  static get encapsulation() { return "shadow"; }
@@ -231,8 +272,8 @@ export class EzpAuth {
231
272
  "text": ""
232
273
  },
233
274
  "complexType": {
234
- "original": "any",
235
- "resolved": "any",
275
+ "original": "void",
276
+ "resolved": "void",
236
277
  "references": {}
237
278
  }
238
279
  }, {
@@ -246,8 +287,8 @@ export class EzpAuth {
246
287
  "text": ""
247
288
  },
248
289
  "complexType": {
249
- "original": "any",
250
- "resolved": "any",
290
+ "original": "void",
291
+ "resolved": "void",
251
292
  "references": {}
252
293
  }
253
294
  }];
@@ -13,7 +13,7 @@ export class EzpBackdrop {
13
13
  }
14
14
  }
15
15
  render() {
16
- return h(Host, { key: '7795cb74eefda5cdc979c97e4c491cbe9976c019', class: { hide: !this.visible }, onClick: () => this.handleClick() });
16
+ return h(Host, { key: '723bc1fc67fbe5a491e80094ec2444f4d6f9ce32', class: { hide: !this.visible }, onClick: () => this.handleClick() });
17
17
  }
18
18
  static get is() { return "ezp-backdrop"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -63,8 +63,8 @@ export class EzpBackdrop {
63
63
  "text": ""
64
64
  },
65
65
  "complexType": {
66
- "original": "any",
67
- "resolved": "any",
66
+ "original": "void",
67
+ "resolved": "void",
68
68
  "references": {}
69
69
  }
70
70
  }, {
@@ -78,8 +78,8 @@ export class EzpBackdrop {
78
78
  "text": ""
79
79
  },
80
80
  "complexType": {
81
- "original": "any",
82
- "resolved": "any",
81
+ "original": "void",
82
+ "resolved": "void",
83
83
  "references": {}
84
84
  }
85
85
  }];
@@ -1,15 +1,11 @@
1
1
  import { Host, h } from "@stencil/core";
2
2
  import i18next from "i18next";
3
+ import { subscribeToLanguageChange } from "../../utils/utils";
3
4
  export class EzpDialog {
4
5
  constructor() {
5
6
  this.action = i18next.t('button_actions.close');
6
7
  this.iconSize = 'large';
7
8
  this.iconFramed = true;
8
- /**
9
- *
10
- * Private methods
11
- *
12
- */
13
9
  this.handleClose = () => {
14
10
  this.dialogClose.emit(this.instance);
15
11
  };
@@ -17,19 +13,86 @@ export class EzpDialog {
17
13
  this.dialogAction.emit(this.instance);
18
14
  };
19
15
  }
16
+ connectedCallback() {
17
+ this.unsubscribeLanguage = subscribeToLanguageChange(this);
18
+ }
19
+ componentDidLoad() {
20
+ var _a;
21
+ // Move focus into the dialog so keyboard/screen-reader users land here.
22
+ (_a = this.box) === null || _a === void 0 ? void 0 : _a.focus();
23
+ }
24
+ disconnectedCallback() {
25
+ var _a;
26
+ (_a = this.unsubscribeLanguage) === null || _a === void 0 ? void 0 : _a.call(this);
27
+ }
20
28
  /**
21
29
  *
22
- * Lifecycle methods
30
+ * Private methods
23
31
  *
24
32
  */
25
- componentWillLoad() { }
33
+ handleKeydown(event) {
34
+ if (event.key === 'Escape') {
35
+ this.handleClose();
36
+ return;
37
+ }
38
+ if (event.key === 'Tab') {
39
+ this.trapFocus(event);
40
+ }
41
+ }
42
+ /** Keep Tab focus cycling inside the modal (across nested shadow roots). */
43
+ trapFocus(event) {
44
+ if (!this.box)
45
+ return;
46
+ const focusable = this.collectFocusable(this.box);
47
+ if (focusable.length === 0)
48
+ return;
49
+ const first = focusable[0];
50
+ const last = focusable[focusable.length - 1];
51
+ const active = this.deepActiveElement();
52
+ if (!active || !focusable.includes(active)) {
53
+ // Focus is on the dialog box or escaped it — pull it to the first control.
54
+ event.preventDefault();
55
+ first.focus();
56
+ }
57
+ else if (event.shiftKey && active === first) {
58
+ event.preventDefault();
59
+ last.focus();
60
+ }
61
+ else if (!event.shiftKey && active === last) {
62
+ event.preventDefault();
63
+ first.focus();
64
+ }
65
+ }
66
+ /** Tabbable elements in the flattened tree, descending into shadow roots. */
67
+ collectFocusable(root) {
68
+ const result = [];
69
+ const visit = (node) => {
70
+ node.querySelectorAll('*').forEach((el) => {
71
+ if (el.tabIndex >= 0 && !el.disabled)
72
+ result.push(el);
73
+ if (el.shadowRoot)
74
+ visit(el.shadowRoot);
75
+ });
76
+ };
77
+ visit(root);
78
+ return result;
79
+ }
80
+ /** The truly-focused element, following activeElement through shadow roots. */
81
+ deepActiveElement() {
82
+ var _a;
83
+ let el = document.activeElement;
84
+ while ((_a = el === null || el === void 0 ? void 0 : el.shadowRoot) === null || _a === void 0 ? void 0 : _a.activeElement) {
85
+ el = el.shadowRoot.activeElement;
86
+ }
87
+ return el;
88
+ }
26
89
  /**
27
90
  *
28
91
  * Render method
29
92
  *
30
93
  */
31
94
  render() {
32
- return (h(Host, { key: 'e73ad3d56827d5ecf36f92052599bfeb3bc463f6' }, h("div", { key: '3c71c2a729a1c2b0afa50778b0195961e788e1e9', id: "box" }, h("div", { key: '350b2daeaf8e6fcdc9194c5355358ba117158d3d', id: "header" }, h("ezp-icon-button", { key: 'd9a23a475ef6c88270add722cf97ec7b32510f7f', level: "tertiary", icon: "close", type: "button", onClick: this.handleClose })), h("div", { key: 'd14762d7b761244428c2903c9efce1a0b9130adf', id: "body" }, this.iconName && (h("ezp-icon", { key: 'cd77a5e3f99aad37adb74bc0a3e824dcc498ccd4', name: this.iconName, size: this.iconSize, framed: this.iconFramed })), h("div", { key: '8c9ad16c863d1ca02658d9c2d1c50d4b5ee487f5', id: "text" }, h("ezp-label", { key: '97d2ff06ca2b73e1729b0abb441bca42384dcb07', text: this.heading, weight: "heavy" }), h("ezp-label", { key: '0f77905b89ecd61489e1019568bbcba8a8345eb2', text: this.description }))), h("div", { key: '6143abdde9159ac3df1f76511f617e0ad2b7f9fe', id: "footer" }, h("ezp-text-button", { key: '12cb509c048b6a9e2c9df34c0abc25e094e6f3f9', type: "button", level: "primary", onClick: this.handleAction, label: this.action })))));
95
+ return (h(Host, { key: '4f86872972538970ab0d3e6e15055ae558537f4d' }, h("div", { key: 'fd78a41cf3f37ecc2481e6fb11c9031dcb45a063', id: "box", role: "dialog", "aria-modal": "true", "aria-label": this.heading, tabindex: -1, ref: (el) => (this.box = el) }, h("div", { key: 'defd711c745edc2fd0be5349f67f6795659c4c80', id: "header" }, h("ezp-icon-button", { key: '7da94b33c02de9acca8e5a77bb74757d36e607fd', level: "tertiary", icon: "close", type: "button", onClick: this.handleClose })), h("div", { key: '092387310d14f01aea60d0e7750de470a5184fe4', id: "body" }, this.iconName && (h("ezp-icon", { key: 'a933e2cb2e686544d9fbb31e3b7ee1eee2766deb', name: this.iconName, size: this.iconSize, framed: this.iconFramed })), h("div", { key: '45cafccc90a14bc5993c0696eed9567e01ab62e7', id: "text" }, h("ezp-label", { key: 'ffbd56a50d2fb7f6d62309eadeeb0f1da7fc93b6', text: this.heading, weight: "heavy" }), h("ezp-label", { key: '7563c3d9085eee67361c4ff8220da5c9a5de9d5c', text: this.description }))), h("div", { key: '999423e06a1b5721cc8c3788471235759e50b14a', id: "footer" }, h("ezp-text-button", { key: '16c8a33207a06d3e1a436e08098bfd9b6587306e', type: "button", level: "primary", onClick: this.handleAction, label: this.action })))));
33
96
  }
34
97
  static get is() { return "ezp-dialog"; }
35
98
  static get encapsulation() { return "shadow"; }
@@ -108,7 +171,7 @@ export class EzpDialog {
108
171
  "mutable": false,
109
172
  "complexType": {
110
173
  "original": "IconNameTypes",
111
- "resolved": "\"account\" | \"checkmark\" | \"checkmark-alt\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"drag-drop\" | \"duplex\" | \"exclamation-mark\" | \"expand\" | \"height\" | \"help\" | \"light\" | \"logo\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"paper_range\" | \"plus\" | \"printer\" | \"quality\" | \"question-mark\" | \"size\" | \"system\" | \"trays\" | \"width\"",
174
+ "resolved": "\"account\" | \"checkmark\" | \"checkmark-alt\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"drag-drop\" | \"duplex\" | \"exclamation-mark\" | \"expand\" | \"height\" | \"help\" | \"light\" | \"logo\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"paper_range\" | \"plus\" | \"printer\" | \"quality\" | \"question-mark\" | \"size\" | \"system\" | \"trays\" | \"width\" | undefined",
112
175
  "references": {
113
176
  "IconNameTypes": {
114
177
  "location": "import",
@@ -209,8 +272,8 @@ export class EzpDialog {
209
272
  "text": "\nEvents"
210
273
  },
211
274
  "complexType": {
212
- "original": "any",
213
- "resolved": "any",
275
+ "original": "string",
276
+ "resolved": "string",
214
277
  "references": {}
215
278
  }
216
279
  }, {
@@ -224,10 +287,19 @@ export class EzpDialog {
224
287
  "text": ""
225
288
  },
226
289
  "complexType": {
227
- "original": "any",
228
- "resolved": "any",
290
+ "original": "string",
291
+ "resolved": "string",
229
292
  "references": {}
230
293
  }
231
294
  }];
232
295
  }
296
+ static get listeners() {
297
+ return [{
298
+ "name": "keydown",
299
+ "method": "handleKeydown",
300
+ "target": "window",
301
+ "capture": false,
302
+ "passive": false
303
+ }];
304
+ }
233
305
  }
@@ -17,7 +17,9 @@ export class EzpIcon {
17
17
  .then((result) => {
18
18
  this.glyph = result;
19
19
  })
20
- .catch((error) => console.log(error));
20
+ .catch(() => {
21
+ // Missing/unfetchable glyph — render nothing rather than crash.
22
+ });
21
23
  }
22
24
  /**
23
25
  *
@@ -25,7 +27,10 @@ export class EzpIcon {
25
27
  *
26
28
  */
27
29
  render() {
28
- return (h(Host, { key: 'fd1cab62856b3bdba0208035d746724d5ed7dc78', class: `${this.size} ${this.framed ? 'framed' : ''}` }, h("div", { key: 'b2fed8ed7e5c01adfb6e4c8af93ed13f3b24b206', id: "glyph", innerHTML: this.glyph })));
30
+ return (
31
+ // Decorative: icons here always sit next to a label or live-region text,
32
+ // so hide them from the accessibility tree to avoid double announcements.
33
+ h(Host, { key: 'e1b22ece00f1260a34561c8d1efd44c2d5f37c73', class: `${this.size} ${this.framed ? 'framed' : ''}`, "aria-hidden": "true" }, h("div", { key: '0734d4b5fdc363303d69b7e5dc138f8caeaa316c', id: "glyph", innerHTML: this.glyph })));
29
34
  }
30
35
  static get is() { return "ezp-icon"; }
31
36
  static get encapsulation() { return "shadow"; }
@@ -29,7 +29,10 @@ export class EzpIconButton {
29
29
  href: this.href,
30
30
  target: this.blank ? '_blank' : '_self',
31
31
  };
32
- return (h(Host, { key: 'f4e0663dbec2f04d7b52ee40a4cf17186673b037', class: `${this.level}` }, h(TagType, Object.assign({ key: 'ca1c301b57c96814eaa14f51c09c4843e5ea3c59', id: "button" }, attributes), h("ezp-icon", { key: '3e9ff37bf5fc19a25f76ed80935649bb37388bcf', name: this.icon }))));
32
+ // Icon-only control: derive an accessible name from the icon so screen
33
+ // readers announce something meaningful (e.g. "menu", "printer").
34
+ const label = this.icon.replace(/[-_]/g, ' ');
35
+ return (h(Host, { key: '7d3d43ec31503ff7ecc87e9f498ee5b2d09d5d96', class: `${this.level}` }, h(TagType, Object.assign({ key: 'b7d5c646bb66ebff92d661574c647f8a2773a908', id: "button", "aria-label": label }, attributes), h("ezp-icon", { key: 'bc4c322b7c9389a8aaa27feac7084ae9e1befaa4', name: this.icon }))));
33
36
  }
34
37
  static get is() { return "ezp-icon-button"; }
35
38
  static get encapsulation() { return "shadow"; }
@@ -29,18 +29,18 @@
29
29
  *
30
30
  */
31
31
  :host {
32
+ align-items: center;
33
+ background: var(--ezp-input-background, var(--ezp-core-surface-tertiary));
34
+ border-radius: var(--ezp-input-border-radius, 0);
35
+ box-shadow: var(--ezp-input-box-shadow-position-top, 0 -1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-right, 1px 0 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-bottom, 0 1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-left, -1px 0 0 0) var(--ezp-core-outline);
36
+ cursor: pointer;
32
37
  display: grid;
38
+ gap: var(--ezp-spacing-3);
33
39
  grid-template: var(--ezp-input-grid-template, auto/auto auto 1fr);
34
40
  height: 30px;
35
- position: relative;
36
- gap: var(--ezp-spacing-3);
37
- background: var(--ezp-input-background, var(--ezp-core-surface-tertiary));
38
41
  padding: 0 var(--ezp-spacing-3);
42
+ position: relative;
39
43
  z-index: var(--ezp-input-z-index, 3);
40
- border-radius: var(--ezp-input-border-radius, 0);
41
- box-shadow: var(--ezp-input-box-shadow-position-top, 0 -1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-right, 1px 0 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-bottom, 0 1px 0 0) var(--ezp-core-outline), var(--ezp-input-box-shadow-position-left, -1px 0 0 0) var(--ezp-core-outline);
42
- align-items: center;
43
- cursor: pointer;
44
44
  }
45
45
  :host([suffix]) {
46
46
  --ezp-input-grid-template: auto / auto auto 1fr auto;
@@ -69,11 +69,8 @@
69
69
  }
70
70
 
71
71
  :host(:hover) {
72
- --ezp-input-background: linear-gradient(
73
- 0deg,
74
- var(--ezp-core-shade-primary) 0%,
75
- var(--ezp-core-shade-primary) 100%
76
- ),
72
+ --ezp-input-background:
73
+ linear-gradient(0deg, var(--ezp-core-shade-primary) 0%, var(--ezp-core-shade-primary) 100%),
77
74
  var(--ezp-core-surface-tertiary);
78
75
  }
79
76
 
@@ -3,10 +3,10 @@ export class EzpInput {
3
3
  constructor() {
4
4
  this.timeout = null;
5
5
  /**
6
- *
7
- * Properties
8
- *
9
- */
6
+ *
7
+ * Properties
8
+ *
9
+ */
10
10
  /** Description... */
11
11
  this.label = 'Label';
12
12
  /** Description... */
@@ -16,13 +16,14 @@ export class EzpInput {
16
16
  /** Description... */
17
17
  this.placeholder = '';
18
18
  /**
19
- *
20
- * States
21
- *
22
- */
19
+ *
20
+ * States
21
+ *
22
+ */
23
23
  this.focused = false;
24
24
  this.setFocus = () => {
25
- this.input.focus();
25
+ var _a;
26
+ (_a = this.input) === null || _a === void 0 ? void 0 : _a.focus();
26
27
  };
27
28
  this.handleBlur = () => {
28
29
  this.focused = false;
@@ -35,7 +36,8 @@ export class EzpInput {
35
36
  if (this.timeout) {
36
37
  clearTimeout(this.timeout);
37
38
  }
38
- this.value = event.target.value ? event.target.value : this.type === 'number' ? 0 : '';
39
+ const target = event.target;
40
+ this.value = target.value ? target.value : this.type === 'number' ? 0 : '';
39
41
  this.timeout = setTimeout(() => {
40
42
  this.inputValueChanged.emit({
41
43
  type: this.eventType.toLowerCase(),
@@ -44,7 +46,7 @@ export class EzpInput {
44
46
  }, 500);
45
47
  }
46
48
  render() {
47
- return (h(Host, { key: '8b50da5bdd10b4d1b0b2621de73c77d7b8ef8161', class: { focused: this.focused }, onClick: this.setFocus }, h("ezp-icon", { key: '87e22adf85c53abed0523843390f2e38ab874ef0', id: "icon", name: this.icon }), h("ezp-label", { key: 'c6814b9606a4b372221fb8aad5650194d58a5938', id: "label", noWrap: true, level: "secondary", text: this.label }), h("input", { key: 'b83fef53a29002ac87e75bea14f91fedb74b435a', id: "input", type: this.type, value: this.value, placeholder: this.placeholder, onInput: (event) => this.handleChange(event), ref: (input) => (this.input = input), onFocus: this.handleFocus, onBlur: this.handleBlur }), this.suffix ? h("ezp-label", { id: "suffix", level: "secondary", text: this.suffix }) : null));
49
+ return (h(Host, { key: 'ba8958137bce0592dbe4ec23c03284885f570e27', class: { focused: this.focused }, onClick: this.setFocus }, h("ezp-icon", { key: '9d3b108841ffdabec9b9a98d6d6b2ea19fba37fc', id: "icon", name: this.icon }), h("ezp-label", { key: '5fee00202e9c6407bddf8a1b7090d983d79e42b3', id: "label", noWrap: true, level: "secondary", text: this.label }), h("input", { key: '99c71e9c6d29193046bd0b6094efbac828ffab15', id: "input", type: this.type, value: this.value, placeholder: this.placeholder, "aria-label": this.label, onInput: (event) => this.handleChange(event), ref: (input) => (this.input = input), onFocus: this.handleFocus, onBlur: this.handleBlur }), this.suffix ? h("ezp-label", { id: "suffix", level: "secondary", text: this.suffix }) : null));
48
50
  }
49
51
  static get is() { return "ezp-input"; }
50
52
  static get encapsulation() { return "shadow"; }
@@ -223,8 +225,8 @@ export class EzpInput {
223
225
  "text": "\nEvents"
224
226
  },
225
227
  "complexType": {
226
- "original": "any",
227
- "resolved": "any",
228
+ "original": "{ type: string; value: string | number }",
229
+ "resolved": "{ type: string; value: string | number; }",
228
230
  "references": {}
229
231
  }
230
232
  }];