@ezeep/ezeep-js 1.0.151 → 1.0.154

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 (100) hide show
  1. package/dist/cjs/ezeep.cjs.js +3 -3
  2. package/dist/cjs/ezp-auth_14.cjs.entry.js +118 -67
  3. package/dist/cjs/{index-62fc857c.js → index-d547be4e.js} +23 -0
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/components/ezp-auth/ezp-auth.js +1 -3
  7. package/dist/collection/components/ezp-dialog/ezp-dialog.js +0 -2
  8. package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +87 -52
  9. package/dist/collection/components/ezp-printing/ezp-printing.js +24 -3
  10. package/dist/collection/components/ezp-status/ezp-status.js +0 -2
  11. package/dist/collection/components/ezp-upload/ezp-upload.js +0 -2
  12. package/dist/collection/components/ezp-user-menu/ezp-user-menu.js +0 -2
  13. package/dist/collection/services/auth.js +2 -0
  14. package/dist/collection/utils/utils.js +20 -8
  15. package/dist/components/auth.js +504 -0
  16. package/dist/components/ezp-auth.d.ts +11 -0
  17. package/dist/components/ezp-auth.js +6 -0
  18. package/dist/components/ezp-auth2.js +141 -0
  19. package/dist/components/ezp-backdrop.d.ts +11 -0
  20. package/dist/components/ezp-backdrop.js +6 -0
  21. package/dist/components/ezp-backdrop2.js +46 -0
  22. package/dist/components/ezp-dialog.d.ts +11 -0
  23. package/dist/components/ezp-dialog.js +6 -0
  24. package/dist/components/ezp-dialog2.js +92 -0
  25. package/dist/components/ezp-icon-button.d.ts +11 -0
  26. package/dist/components/ezp-icon-button.js +6 -0
  27. package/dist/components/ezp-icon-button2.js +70 -0
  28. package/dist/components/ezp-icon.d.ts +11 -0
  29. package/dist/components/ezp-icon.js +6 -0
  30. package/dist/components/ezp-icon2.js +58 -0
  31. package/dist/components/ezp-label.d.ts +11 -0
  32. package/dist/components/ezp-label.js +6 -0
  33. package/dist/components/ezp-label2.js +57 -0
  34. package/dist/components/ezp-printer-selection.d.ts +11 -0
  35. package/dist/components/ezp-printer-selection.js +6 -0
  36. package/dist/{custom-elements/index.js → components/ezp-printer-selection2.js} +8225 -12189
  37. package/dist/components/ezp-printing.d.ts +11 -0
  38. package/dist/components/ezp-printing.js +271 -0
  39. package/dist/components/ezp-select.d.ts +11 -0
  40. package/dist/components/ezp-select.js +6 -0
  41. package/dist/components/ezp-select2.js +194 -0
  42. package/dist/components/ezp-status.d.ts +11 -0
  43. package/dist/components/ezp-status.js +6 -0
  44. package/dist/components/ezp-status2.js +94 -0
  45. package/dist/components/ezp-stepper.d.ts +11 -0
  46. package/dist/components/ezp-stepper.js +6 -0
  47. package/dist/components/ezp-stepper2.js +119 -0
  48. package/dist/components/ezp-text-button.d.ts +11 -0
  49. package/dist/components/ezp-text-button.js +6 -0
  50. package/dist/components/ezp-text-button2.js +73 -0
  51. package/dist/components/ezp-upload.d.ts +11 -0
  52. package/dist/components/ezp-upload.js +6 -0
  53. package/dist/components/ezp-upload2.js +95 -0
  54. package/dist/components/ezp-user-menu.d.ts +11 -0
  55. package/dist/components/ezp-user-menu.js +6 -0
  56. package/dist/components/ezp-user-menu2.js +159 -0
  57. package/dist/components/i18next.js +2653 -0
  58. package/dist/components/index.d.ts +26 -0
  59. package/dist/components/index.js +15 -0
  60. package/dist/directives/proxies.ts +2 -2
  61. package/dist/esm/ezeep.js +3 -3
  62. package/dist/esm/ezp-auth_14.entry.js +118 -67
  63. package/dist/esm/{index-265d8cca.js → index-485041ac.js} +23 -0
  64. package/dist/esm/loader.js +3 -3
  65. package/dist/esm/polyfills/css-shim.js +1 -1
  66. package/dist/esm-es5/ezeep.js +1 -1
  67. package/dist/esm-es5/ezp-auth_14.entry.js +3 -3
  68. package/dist/esm-es5/index-485041ac.js +1 -0
  69. package/dist/esm-es5/loader.js +1 -1
  70. package/dist/ezeep/ezeep.esm.js +1 -1
  71. package/dist/ezeep/ezeep.js +1 -1
  72. package/dist/ezeep/p-0b51d725.system.entry.js +21 -0
  73. package/dist/ezeep/{p-a7b7b386.entry.js → p-b6ec69dc.entry.js} +2 -2
  74. package/dist/ezeep/p-cc2bb341.system.js +1 -0
  75. package/dist/ezeep/p-d4dae139.system.js +1 -0
  76. package/dist/ezeep/{p-f3065800.js → p-fa808a39.js} +0 -0
  77. package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +1 -1
  78. package/dist/types/components/ezp-printing/ezp-printing.d.ts +1 -0
  79. package/dist/types/components.d.ts +2 -0
  80. package/dist/types/stencil-public-runtime.d.ts +6 -4
  81. package/dist/types/utils/utils.d.ts +1 -1
  82. package/package.json +4 -4
  83. package/readme.md +1 -0
  84. package/www/build/ezeep.esm.js +1 -1
  85. package/www/build/ezeep.js +1 -1
  86. package/www/build/p-0b51d725.system.entry.js +21 -0
  87. package/www/build/{p-a7b7b386.entry.js → p-b6ec69dc.entry.js} +2 -2
  88. package/www/build/p-cc2bb341.system.js +1 -0
  89. package/www/build/p-d4dae139.system.js +1 -0
  90. package/www/build/{p-f3065800.js → p-fa808a39.js} +0 -0
  91. package/www/data/locales/en.json +6 -1
  92. package/www/index.html +1 -1
  93. package/dist/custom-elements/index.d.ts +0 -123
  94. package/dist/esm-es5/index-265d8cca.js +0 -1
  95. package/dist/ezeep/p-98ec6965.system.js +0 -1
  96. package/dist/ezeep/p-a1b0d17a.system.entry.js +0 -21
  97. package/dist/ezeep/p-f89804ee.system.js +0 -1
  98. package/www/build/p-98ec6965.system.js +0 -1
  99. package/www/build/p-a1b0d17a.system.entry.js +0 -21
  100. package/www/build/p-f89804ee.system.js +0 -1
@@ -0,0 +1,46 @@
1
+ import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
2
+
3
+ const ezpBackdropCss = ":host{-webkit-animation:var(--ezp-backdrop-animation-name, host-in) var(--ezp-duration-3) forwards var(--ezp-easing-out-quart);animation:var(--ezp-backdrop-animation-name, host-in) var(--ezp-duration-3) forwards var(--ezp-easing-out-quart);background:var(--ezp-color-overlay-primary);border-radius:6px;display:block;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:4}:host(.hide){--ezp-backdrop-animation-name:host-out}@-webkit-keyframes host-in{0%{opacity:0}100%{opacity:1}}@keyframes host-in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes host-out{0%{opacity:1}100%{opacity:0}}@keyframes host-out{0%{opacity:1}100%{opacity:0}}";
4
+
5
+ let EzpBackdrop = class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ this.backdropHideStart = createEvent(this, "backdropHideStart", 7);
11
+ this.backdropHideEnd = createEvent(this, "backdropHideEnd", 7);
12
+ this.visible = true;
13
+ }
14
+ handleClick() {
15
+ this.visible = false;
16
+ this.backdropHideStart.emit();
17
+ }
18
+ listenAnimationEnd() {
19
+ if (!this.visible) {
20
+ this.backdropHideEnd.emit();
21
+ }
22
+ }
23
+ render() {
24
+ return h(Host, { class: { hide: !this.visible }, onClick: () => this.handleClick() });
25
+ }
26
+ get component() { return this; }
27
+ static get style() { return ezpBackdropCss; }
28
+ };
29
+ EzpBackdrop = /*@__PURE__*/ proxyCustomElement(EzpBackdrop, [1, "ezp-backdrop", {
30
+ "visible": [1028]
31
+ }, [[0, "animationend", "listenAnimationEnd"]]]);
32
+ function defineCustomElement() {
33
+ if (typeof customElements === "undefined") {
34
+ return;
35
+ }
36
+ const components = ["ezp-backdrop"];
37
+ components.forEach(tagName => { switch (tagName) {
38
+ case "ezp-backdrop":
39
+ if (!customElements.get(tagName)) {
40
+ customElements.define(tagName, EzpBackdrop);
41
+ }
42
+ break;
43
+ } });
44
+ }
45
+
46
+ export { EzpBackdrop as E, defineCustomElement as d };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface EzpDialog extends Components.EzpDialog, HTMLElement {}
4
+ export const EzpDialog: {
5
+ prototype: EzpDialog;
6
+ new (): EzpDialog;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { E as EzpDialog$1, d as defineCustomElement$1 } from './ezp-dialog2.js';
2
+
3
+ const EzpDialog = EzpDialog$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { EzpDialog, defineCustomElement };
@@ -0,0 +1,92 @@
1
+ import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
2
+ import { i as i18next } from './i18next.js';
3
+ import { d as defineCustomElement$4 } from './ezp-icon2.js';
4
+ import { d as defineCustomElement$3 } from './ezp-icon-button2.js';
5
+ import { d as defineCustomElement$2 } from './ezp-label2.js';
6
+ import { d as defineCustomElement$1 } from './ezp-text-button2.js';
7
+
8
+ const ezpDialogCss = ":host{--ezp-icon-fill:var(--ezp-color-theme-solid);-ms-flex-line-pack:center;align-content:center;background:var(--ezp-color-overlay-primary);display:grid;grid-template:auto/minmax(auto, 280px);height:100%;-ms-flex-pack:center;justify-content:center;left:0;position:fixed;top:0;width:100%}#box{background:var(--ezp-color-surface-tertiary);border-radius:6px;-webkit-box-shadow:var(--ezp-dialog-box-boxShadow, 0 0 0 1px var(--ezp-color-overlay-secondary));box-shadow:var(--ezp-dialog-box-boxShadow, 0 0 0 1px var(--ezp-color-overlay-secondary))}#header{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;padding:var(--ezp-spacing-2) var(--ezp-spacing-3)}#body{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-5);padding:0 var(--ezp-spacing-5);text-align:center}#text{color:var(--ezp-color-foreground-primary);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--ezp-spacing-4)}#footer{display:grid;grid-template:auto/minmax(144px, auto);-ms-flex-pack:center;justify-content:center;padding:var(--ezp-spacing-5)}";
9
+
10
+ let EzpDialog = class extends HTMLElement {
11
+ constructor() {
12
+ super();
13
+ this.__registerHost();
14
+ this.__attachShadow();
15
+ this.dialogClose = createEvent(this, "dialogClose", 7);
16
+ this.dialogAction = createEvent(this, "dialogAction", 7);
17
+ this.action = i18next.t('button_actions.close');
18
+ this.iconSize = 'large';
19
+ this.iconFramed = true;
20
+ /**
21
+ *
22
+ * Private methods
23
+ *
24
+ */
25
+ this.handleClose = () => {
26
+ this.dialogClose.emit(this.instance);
27
+ };
28
+ this.handleAction = () => {
29
+ this.dialogAction.emit(this.instance);
30
+ };
31
+ }
32
+ /**
33
+ *
34
+ * Lifecycle methods
35
+ *
36
+ */
37
+ componentWillLoad() {
38
+ }
39
+ /**
40
+ *
41
+ * Render method
42
+ *
43
+ */
44
+ render() {
45
+ return (h(Host, null, h("div", { id: "box" }, h("div", { id: "header" }, h("ezp-icon-button", { level: "tertiary", icon: "close", type: "button", onClick: this.handleClose })), h("div", { id: "body" }, this.iconName && (h("ezp-icon", { name: this.iconName, size: this.iconSize, framed: this.iconFramed })), h("div", { id: "text" }, h("ezp-label", { text: this.heading, weight: "heavy" }), h("ezp-label", { text: this.description }))), h("div", { id: "footer" }, h("ezp-text-button", { type: "button", level: "primary", onClick: this.handleAction, label: this.action })))));
46
+ }
47
+ static get style() { return ezpDialogCss; }
48
+ };
49
+ EzpDialog = /*@__PURE__*/ proxyCustomElement(EzpDialog, [1, "ezp-dialog", {
50
+ "heading": [1],
51
+ "description": [1],
52
+ "action": [1],
53
+ "iconName": [1, "icon-name"],
54
+ "iconSize": [1, "icon-size"],
55
+ "iconFramed": [4, "icon-framed"],
56
+ "instance": [1]
57
+ }]);
58
+ function defineCustomElement() {
59
+ if (typeof customElements === "undefined") {
60
+ return;
61
+ }
62
+ const components = ["ezp-dialog", "ezp-icon", "ezp-icon-button", "ezp-label", "ezp-text-button"];
63
+ components.forEach(tagName => { switch (tagName) {
64
+ case "ezp-dialog":
65
+ if (!customElements.get(tagName)) {
66
+ customElements.define(tagName, EzpDialog);
67
+ }
68
+ break;
69
+ case "ezp-icon":
70
+ if (!customElements.get(tagName)) {
71
+ defineCustomElement$4();
72
+ }
73
+ break;
74
+ case "ezp-icon-button":
75
+ if (!customElements.get(tagName)) {
76
+ defineCustomElement$3();
77
+ }
78
+ break;
79
+ case "ezp-label":
80
+ if (!customElements.get(tagName)) {
81
+ defineCustomElement$2();
82
+ }
83
+ break;
84
+ case "ezp-text-button":
85
+ if (!customElements.get(tagName)) {
86
+ defineCustomElement$1();
87
+ }
88
+ break;
89
+ } });
90
+ }
91
+
92
+ export { EzpDialog as E, defineCustomElement as d };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface EzpIconButton extends Components.EzpIconButton, HTMLElement {}
4
+ export const EzpIconButton: {
5
+ prototype: EzpIconButton;
6
+ new (): EzpIconButton;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { E as EzpIconButton$1, d as defineCustomElement$1 } from './ezp-icon-button2.js';
2
+
3
+ const EzpIconButton = EzpIconButton$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { EzpIconButton, defineCustomElement };
@@ -0,0 +1,70 @@
1
+ import { HTMLElement, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$1 } from './ezp-icon2.js';
3
+
4
+ const ezpIconButtonCss = ":host{display:block}:host(.primary){--ezp-iconButton-background-disabled:var(--ezp-color-shade-primary);--ezp-iconButton-background-init:var(--ezp-color-theme-solid);--ezp-iconButton-color-disabled:var(--ezp-color-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-color-on-theme);--ezp-iconButton-opacity-active:0.74;--ezp-iconButton-opacity-hover:0.84}:host(.secondary){--ezp-iconButton-background-active:var(--ezp-color-shade-tertiary);--ezp-iconButton-background-disabled:var(--ezp-color-shade-primary);--ezp-iconButton-background-hover:var(--ezp-color-shade-secondary);--ezp-iconButton-background-init:var(--ezp-color-shade-primary);--ezp-iconButton-color-disabled:var(--ezp-color-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-color-theme-solid)}:host(.tertiary){--ezp-iconButton-background-active:var(--ezp-color-shade-secondary);--ezp-iconButton-background-hover:var(--ezp-color-shade-primary);--ezp-iconButton-background-init:transparent;--ezp-iconButton-color-disabled:var(--ezp-color-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-color-theme-solid)}:host(.quaternary){--ezp-iconButton-background-init:transparent;--ezp-iconButton-color-disabled:var(--ezp-color-foreground-tertiary);--ezp-iconButton-color-init:var(--ezp-color-theme-solid);--ezp-iconButton-opacity-active:0.58;--ezp-iconButton-opacity-hover:0.74}#button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--ezp-iconButton-background, var(--ezp-iconButton-background-init));border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;color:var(--ezp-iconButton-color, var(--ezp-iconButton-color-init));cursor:var(--ezp-iconButton-cursor, pointer);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:0;opacity:var(--ezp-iconButton-opacity, 1);outline:none;padding:var(--ezp-spacing-2)}@media (hover: hover){#button:not(:disabled):hover{--ezp-iconButton-background:var(\n --ezp-iconButton-background-hover,\n var(--ezp-iconButton-background-init)\n );--ezp-iconButton-opacity:var(--ezp-iconButton-opacity-hover, 1)}#button:not(:disabled):active{--ezp-iconButton-background:var(\n --ezp-iconButton-background-active,\n var(--ezp-iconButton-background-init)\n );--ezp-iconButton-opacity:var(--ezp-iconButton-opacity-active, 1)}}#button:disabled{--ezp-iconButton-background:var(\n --ezp-iconButton-background-disabled,\n var(--ezp-iconButton-background-init)\n );--ezp-iconButton-color:var(--ezp-iconButton-color-disabled);--ezp-iconButton-cursor:default}";
5
+
6
+ let EzpIconButton = class extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ /**
12
+ *
13
+ * Properties
14
+ *
15
+ */
16
+ /** Description... */
17
+ this.blank = false;
18
+ /** Description... */
19
+ this.disabled = false;
20
+ /** Description... */
21
+ this.level = 'primary';
22
+ }
23
+ /**
24
+ *
25
+ * Render method
26
+ *
27
+ */
28
+ render() {
29
+ const TagType = this.type !== undefined ? 'button' : 'a';
30
+ const attributes = this.type !== undefined
31
+ ? {
32
+ type: this.type,
33
+ disabled: this.disabled,
34
+ }
35
+ : {
36
+ href: this.href,
37
+ target: this.blank ? '_blank' : '_self',
38
+ };
39
+ return (h(Host, { class: `${this.level}` }, h(TagType, Object.assign({ id: "button" }, attributes), h("ezp-icon", { name: this.icon }))));
40
+ }
41
+ static get style() { return ezpIconButtonCss; }
42
+ };
43
+ EzpIconButton = /*@__PURE__*/ proxyCustomElement(EzpIconButton, [1, "ezp-icon-button", {
44
+ "blank": [4],
45
+ "disabled": [4],
46
+ "href": [1],
47
+ "icon": [1],
48
+ "level": [1],
49
+ "type": [1]
50
+ }]);
51
+ function defineCustomElement() {
52
+ if (typeof customElements === "undefined") {
53
+ return;
54
+ }
55
+ const components = ["ezp-icon-button", "ezp-icon"];
56
+ components.forEach(tagName => { switch (tagName) {
57
+ case "ezp-icon-button":
58
+ if (!customElements.get(tagName)) {
59
+ customElements.define(tagName, EzpIconButton);
60
+ }
61
+ break;
62
+ case "ezp-icon":
63
+ if (!customElements.get(tagName)) {
64
+ defineCustomElement$1();
65
+ }
66
+ break;
67
+ } });
68
+ }
69
+
70
+ export { EzpIconButton as E, defineCustomElement as d };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface EzpIcon extends Components.EzpIcon, HTMLElement {}
4
+ export const EzpIcon: {
5
+ prototype: EzpIcon;
6
+ new (): EzpIcon;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { E as EzpIcon$1, d as defineCustomElement$1 } from './ezp-icon2.js';
2
+
3
+ const EzpIcon = EzpIcon$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { EzpIcon, defineCustomElement };
@@ -0,0 +1,58 @@
1
+ import { HTMLElement, getAssetPath, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
2
+
3
+ const ezpIconCss = ":host{-ms-flex-line-pack:center;align-content:center;background:var(--ezp-icon-background, transparent);border-radius:var(--ezp-icon-borderRadius, 0);display:grid;grid-template:var(--ezp-icon-gridTemplate)/var(--ezp-icon-gridTemplate);height:var(--ezp-icon-height, var(--ezp-icon-size));-ms-flex-pack:center;justify-content:center;padding:var(--ezp-icon-padding, 0);width:var(--ezp-icon-width, var(--ezp-icon-size))}:host(.framed){--ezp-icon-background:var(--ezp-color-shade-primary);--ezp-icon-borderRadius:50%;--ezp-icon-padding:var(--ezp-icon-frame)}:host(.normal){--ezp-icon-size:18px;--ezp-icon-gridTemplate:24px;--ezp-icon-frame:var(--ezp-spacing-3)}:host(.large){--ezp-icon-size:36px;--ezp-icon-gridTemplate:48px;--ezp-icon-frame:var(--ezp-spacing-4)}:host(.huge){--ezp-icon-size:54px;--ezp-icon-gridTemplate:72px;--ezp-icon-frame:var(--ezp-spacing-5)}svg{display:block;fill:var(--ezp-icon-fill, currentColor);height:100%;width:100%}";
4
+
5
+ let EzpIcon = class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ /** Description... */
11
+ this.size = 'normal';
12
+ /** Description... */
13
+ this.framed = false;
14
+ }
15
+ /**
16
+ *
17
+ * Lifecycle methods
18
+ *
19
+ */
20
+ async componentWillLoad() {
21
+ await fetch(getAssetPath(`./assets/glyph-${this.name}.svg`))
22
+ .then((response) => response.text())
23
+ .then((result) => {
24
+ this.glyph = result;
25
+ })
26
+ .catch((error) => console.log(error));
27
+ }
28
+ /**
29
+ *
30
+ * Render method
31
+ *
32
+ */
33
+ render() {
34
+ return (h(Host, { class: `${this.size} ${this.framed ? 'framed' : ''}` }, h("div", { id: "glyph", innerHTML: this.glyph })));
35
+ }
36
+ static get assetsDirs() { return ["assets"]; }
37
+ static get style() { return ezpIconCss; }
38
+ };
39
+ EzpIcon = /*@__PURE__*/ proxyCustomElement(EzpIcon, [1, "ezp-icon", {
40
+ "name": [1],
41
+ "size": [1],
42
+ "framed": [4]
43
+ }]);
44
+ function defineCustomElement() {
45
+ if (typeof customElements === "undefined") {
46
+ return;
47
+ }
48
+ const components = ["ezp-icon"];
49
+ components.forEach(tagName => { switch (tagName) {
50
+ case "ezp-icon":
51
+ if (!customElements.get(tagName)) {
52
+ customElements.define(tagName, EzpIcon);
53
+ }
54
+ break;
55
+ } });
56
+ }
57
+
58
+ export { EzpIcon as E, defineCustomElement as d };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface EzpLabel extends Components.EzpLabel, HTMLElement {}
4
+ export const EzpLabel: {
5
+ prototype: EzpLabel;
6
+ new (): EzpLabel;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { E as EzpLabel$1, d as defineCustomElement$1 } from './ezp-label2.js';
2
+
3
+ const EzpLabel = EzpLabel$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { EzpLabel, defineCustomElement };
@@ -0,0 +1,57 @@
1
+ import { HTMLElement, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
2
+
3
+ const ezpLabelCss = ":host{display:block;min-width:var(--ezp-label-minWidth, auto);padding-bottom:1px;padding-top:1px}:host::before,:host::after{content:\"\";display:block;height:0}:host::before{margin-top:calc((var(--ezp-label-offset) + 1px) * -1)}:host::after{margin-bottom:calc((var(--ezp-label-offset) + 1px) * -1)}:host(.no-wrap){--ezp-label-whiteSpace:nowrap}:host(.ellipsis){--ezp-label-minWidth:0;--ezp-label-overflow:hidden;--ezp-label-textOverflow:ellipsis;--ezp-label-whiteSpace:nowrap;--ezp-label-width:100%}:host(.primary){--ezp-label-fontSize:17px;--ezp-label-lineHeight:24px;--ezp-label-letterSpacing:-0.0127756105em;--ezp-label-offset:6px}:host(.secondary){--ezp-label-fontSize:14px;--ezp-label-lineHeight:20px;--ezp-label-letterSpacing:-0.0062235443em;--ezp-label-offset:5px}:host(.tertiary){--ezp-label-fontSize:12px;--ezp-label-lineHeight:18px;--ezp-label-letterSpacing:0.0004907745em;--ezp-label-offset:5px}:host(.soft){--ezp-label-fontWeight:400}:host(.strong){--ezp-label-fontWeight:500}:host(.heavy){--ezp-label-fontWeight:600}#text{font-size:var(--ezp-label-fontSize);font-weight:var(--ezp-label-fontWeight);letter-spacing:var(--ezp-label-letterSpacing);line-height:var(--ezp-label-lineHeight);overflow:var(--ezp-label-overflow, visible);text-overflow:var(--ezp-label-textOverflow, clip);white-space:var(--ezp-label-whiteSpace, normal);width:var(--ezp-label-width, auto)}";
4
+
5
+ let EzpLabel = class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ /**
11
+ *
12
+ * Properties
13
+ *
14
+ */
15
+ /** Description... */
16
+ this.ellipsis = false;
17
+ /** Description... */
18
+ this.level = 'secondary';
19
+ /** Description... */
20
+ this.noWrap = false;
21
+ /** Description... */
22
+ this.text = 'Label';
23
+ /** Description... */
24
+ this.weight = 'soft';
25
+ }
26
+ /**
27
+ *
28
+ * Render method
29
+ *
30
+ */
31
+ render() {
32
+ return (h(Host, { class: `${this.level} ${this.weight} ${this.ellipsis ? 'ellipsis' : ''} ${this.noWrap ? 'no-wrap' : ''}` }, h("div", { id: "text" }, this.text)));
33
+ }
34
+ static get style() { return ezpLabelCss; }
35
+ };
36
+ EzpLabel = /*@__PURE__*/ proxyCustomElement(EzpLabel, [1, "ezp-label", {
37
+ "ellipsis": [4],
38
+ "level": [1],
39
+ "noWrap": [4, "no-wrap"],
40
+ "text": [1],
41
+ "weight": [1]
42
+ }]);
43
+ function defineCustomElement() {
44
+ if (typeof customElements === "undefined") {
45
+ return;
46
+ }
47
+ const components = ["ezp-label"];
48
+ components.forEach(tagName => { switch (tagName) {
49
+ case "ezp-label":
50
+ if (!customElements.get(tagName)) {
51
+ customElements.define(tagName, EzpLabel);
52
+ }
53
+ break;
54
+ } });
55
+ }
56
+
57
+ export { EzpLabel as E, defineCustomElement as d };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface EzpPrinterSelection extends Components.EzpPrinterSelection, HTMLElement {}
4
+ export const EzpPrinterSelection: {
5
+ prototype: EzpPrinterSelection;
6
+ new (): EzpPrinterSelection;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { E as EzpPrinterSelection$1, d as defineCustomElement$1 } from './ezp-printer-selection2.js';
2
+
3
+ const EzpPrinterSelection = EzpPrinterSelection$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { EzpPrinterSelection, defineCustomElement };