@ezeep/ezeep-js 1.0.139 → 1.0.143

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 (163) hide show
  1. package/dist/cjs/ezeep.cjs.js +2 -2
  2. package/dist/cjs/ezp-auth_14.cjs.entry.js +33750 -0
  3. package/dist/cjs/{index-a93095ed.js → index-62fc857c.js} +7 -0
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +3 -1
  6. package/dist/collection/components/ezp-auth/ezp-auth.css +3 -77
  7. package/dist/collection/components/ezp-auth/ezp-auth.js +26 -20
  8. package/dist/collection/components/ezp-backdrop/ezp-backdrop.css +3 -3
  9. package/dist/collection/components/ezp-dialog/ezp-dialog.css +48 -0
  10. package/dist/collection/components/ezp-dialog/ezp-dialog.js +220 -0
  11. package/dist/collection/components/ezp-icon/assets/glyph-account.svg +2 -2
  12. package/dist/collection/components/ezp-icon/assets/glyph-checkmark-alt.svg +3 -0
  13. package/dist/collection/components/ezp-icon/assets/glyph-checkmark.svg +2 -2
  14. package/dist/collection/components/ezp-icon/assets/glyph-close.svg +2 -2
  15. package/dist/collection/components/ezp-icon/assets/glyph-color.svg +2 -2
  16. package/dist/collection/components/ezp-icon/assets/glyph-copies.svg +2 -2
  17. package/dist/collection/components/ezp-icon/assets/glyph-dark.svg +2 -2
  18. package/dist/collection/components/ezp-icon/assets/glyph-drag-drop.svg +3 -0
  19. package/dist/collection/components/ezp-icon/assets/glyph-duplex.svg +2 -2
  20. package/dist/collection/components/ezp-icon/assets/glyph-exclamation-mark.svg +3 -0
  21. package/dist/collection/components/ezp-icon/assets/glyph-expand.svg +2 -2
  22. package/dist/collection/components/ezp-icon/assets/glyph-help.svg +2 -2
  23. package/dist/collection/components/ezp-icon/assets/glyph-light.svg +2 -2
  24. package/dist/collection/components/ezp-icon/assets/glyph-logo.svg +3 -0
  25. package/dist/collection/components/ezp-icon/assets/glyph-logout.svg +2 -2
  26. package/dist/collection/components/ezp-icon/assets/glyph-menu.svg +2 -2
  27. package/dist/collection/components/ezp-icon/assets/glyph-minus.svg +2 -2
  28. package/dist/collection/components/ezp-icon/assets/glyph-orientation.svg +2 -2
  29. package/dist/collection/components/ezp-icon/assets/glyph-plus.svg +2 -2
  30. package/dist/collection/components/ezp-icon/assets/glyph-printer.svg +2 -2
  31. package/dist/collection/components/ezp-icon/assets/glyph-quality.svg +2 -2
  32. package/dist/collection/components/ezp-icon/assets/glyph-question-mark.svg +3 -0
  33. package/dist/collection/components/ezp-icon/assets/glyph-size.svg +2 -2
  34. package/dist/collection/components/ezp-icon/assets/glyph-system.svg +2 -2
  35. package/dist/collection/components/ezp-icon/ezp-icon.css +25 -9
  36. package/dist/collection/components/ezp-icon/ezp-icon.js +23 -3
  37. package/dist/collection/components/ezp-icon-button/ezp-icon-button.css +43 -34
  38. package/dist/collection/components/ezp-icon-button/ezp-icon-button.js +1 -1
  39. package/dist/collection/components/ezp-label/ezp-label.css +32 -32
  40. package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.css +21 -27
  41. package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +336 -75
  42. package/dist/collection/components/ezp-printing/ezp-printing.css +175 -273
  43. package/dist/collection/components/ezp-printing/ezp-printing.js +126 -13
  44. package/dist/collection/components/ezp-select/ezp-select.css +98 -151
  45. package/dist/collection/components/ezp-select/ezp-select.js +51 -20
  46. package/dist/collection/components/ezp-status/ezp-status.css +111 -0
  47. package/dist/collection/components/ezp-status/ezp-status.js +236 -0
  48. package/dist/collection/components/ezp-stepper/ezp-stepper.css +21 -21
  49. package/dist/collection/components/ezp-stepper/ezp-stepper.js +1 -1
  50. package/dist/collection/components/ezp-text-button/ezp-text-button.css +44 -34
  51. package/dist/collection/components/ezp-text-button/ezp-text-button.js +22 -2
  52. package/dist/collection/components/ezp-upload/ezp-upload.css +67 -0
  53. package/dist/collection/components/ezp-upload/ezp-upload.js +121 -0
  54. package/dist/collection/components/ezp-user-menu/ezp-user-menu.css +75 -71
  55. package/dist/collection/components/ezp-user-menu/ezp-user-menu.js +12 -9
  56. package/dist/collection/services/print.js +65 -9
  57. package/dist/custom-elements/index.d.ts +18 -6
  58. package/dist/custom-elements/index.js +29107 -361
  59. package/dist/directives/proxies.ts +81 -25
  60. package/dist/esm/ezeep.js +2 -2
  61. package/dist/esm/ezp-auth_14.entry.js +33733 -0
  62. package/dist/esm/{index-9ecf6ae0.js → index-265d8cca.js} +7 -1
  63. package/dist/esm/loader.js +2 -2
  64. package/dist/esm-es5/ezeep.js +1 -1
  65. package/dist/esm-es5/ezp-auth_14.entry.js +21 -0
  66. package/dist/esm-es5/{index-9ecf6ae0.js → index-265d8cca.js} +1 -1
  67. package/dist/esm-es5/loader.js +1 -1
  68. package/dist/ezeep/assets/glyph-account.svg +2 -2
  69. package/dist/ezeep/assets/glyph-checkmark-alt.svg +3 -0
  70. package/dist/ezeep/assets/glyph-checkmark.svg +2 -2
  71. package/dist/ezeep/assets/glyph-close.svg +2 -2
  72. package/dist/ezeep/assets/glyph-color.svg +2 -2
  73. package/dist/ezeep/assets/glyph-copies.svg +2 -2
  74. package/dist/ezeep/assets/glyph-dark.svg +2 -2
  75. package/dist/ezeep/assets/glyph-drag-drop.svg +3 -0
  76. package/dist/ezeep/assets/glyph-duplex.svg +2 -2
  77. package/dist/ezeep/assets/glyph-exclamation-mark.svg +3 -0
  78. package/dist/ezeep/assets/glyph-expand.svg +2 -2
  79. package/dist/ezeep/assets/glyph-help.svg +2 -2
  80. package/dist/ezeep/assets/glyph-light.svg +2 -2
  81. package/dist/ezeep/assets/glyph-logo.svg +3 -0
  82. package/dist/ezeep/assets/glyph-logout.svg +2 -2
  83. package/dist/ezeep/assets/glyph-menu.svg +2 -2
  84. package/dist/ezeep/assets/glyph-minus.svg +2 -2
  85. package/dist/ezeep/assets/glyph-orientation.svg +2 -2
  86. package/dist/ezeep/assets/glyph-plus.svg +2 -2
  87. package/dist/ezeep/assets/glyph-printer.svg +2 -2
  88. package/dist/ezeep/assets/glyph-quality.svg +2 -2
  89. package/dist/ezeep/assets/glyph-question-mark.svg +3 -0
  90. package/dist/ezeep/assets/glyph-size.svg +2 -2
  91. package/dist/ezeep/assets/glyph-system.svg +2 -2
  92. package/dist/ezeep/ezeep.esm.js +1 -1
  93. package/dist/ezeep/ezeep.js +1 -1
  94. package/dist/ezeep/p-6d99f6f4.system.entry.js +21 -0
  95. package/dist/ezeep/p-972c2256.entry.js +15 -0
  96. package/dist/ezeep/p-98ec6965.system.js +1 -0
  97. package/dist/ezeep/p-f3065800.js +1 -0
  98. package/dist/ezeep/p-f89804ee.system.js +1 -0
  99. package/dist/types/components/ezp-auth/ezp-auth.d.ts +3 -2
  100. package/dist/types/components/ezp-dialog/ezp-dialog.d.ts +42 -0
  101. package/dist/types/components/ezp-icon/ezp-icon.d.ts +2 -0
  102. package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +22 -2
  103. package/dist/types/components/ezp-printing/ezp-printing.d.ts +11 -3
  104. package/dist/types/components/ezp-select/ezp-select.d.ts +4 -0
  105. package/dist/types/components/ezp-status/ezp-status.d.ts +44 -0
  106. package/dist/types/components/ezp-text-button/ezp-text-button.d.ts +2 -0
  107. package/dist/types/components/ezp-upload/ezp-upload.d.ts +43 -0
  108. package/dist/types/components.d.ts +130 -21
  109. package/dist/types/services/print.d.ts +14 -2
  110. package/dist/types/shared/types.d.ts +15 -3
  111. package/package.json +12 -2
  112. package/readme.md +54 -18
  113. package/www/build/assets/glyph-account.svg +2 -2
  114. package/www/build/assets/glyph-checkmark-alt.svg +3 -0
  115. package/www/build/assets/glyph-checkmark.svg +2 -2
  116. package/www/build/assets/glyph-close.svg +2 -2
  117. package/www/build/assets/glyph-color.svg +2 -2
  118. package/www/build/assets/glyph-copies.svg +2 -2
  119. package/www/build/assets/glyph-dark.svg +2 -2
  120. package/www/build/assets/glyph-drag-drop.svg +3 -0
  121. package/www/build/assets/glyph-duplex.svg +2 -2
  122. package/www/build/assets/glyph-exclamation-mark.svg +3 -0
  123. package/www/build/assets/glyph-expand.svg +2 -2
  124. package/www/build/assets/glyph-help.svg +2 -2
  125. package/www/build/assets/glyph-light.svg +2 -2
  126. package/www/build/assets/glyph-logo.svg +3 -0
  127. package/www/build/assets/glyph-logout.svg +2 -2
  128. package/www/build/assets/glyph-menu.svg +2 -2
  129. package/www/build/assets/glyph-minus.svg +2 -2
  130. package/www/build/assets/glyph-orientation.svg +2 -2
  131. package/www/build/assets/glyph-plus.svg +2 -2
  132. package/www/build/assets/glyph-printer.svg +2 -2
  133. package/www/build/assets/glyph-quality.svg +2 -2
  134. package/www/build/assets/glyph-question-mark.svg +3 -0
  135. package/www/build/assets/glyph-size.svg +2 -2
  136. package/www/build/assets/glyph-system.svg +2 -2
  137. package/www/build/ezeep.esm.js +1 -1
  138. package/www/build/ezeep.js +1 -1
  139. package/www/build/p-6d99f6f4.system.entry.js +21 -0
  140. package/www/build/p-972c2256.entry.js +15 -0
  141. package/www/build/p-98ec6965.system.js +1 -0
  142. package/www/build/p-f3065800.js +1 -0
  143. package/www/build/p-f89804ee.system.js +1 -0
  144. package/www/data/file-types.json +68 -0
  145. package/www/data/locales/de.json +61 -30
  146. package/www/data/locales/en.json +61 -30
  147. package/www/index.html +27 -7
  148. package/dist/cjs/ezp-auth_12.cjs.entry.js +0 -5010
  149. package/dist/collection/components/ezp-progress/ezp-progress.css +0 -110
  150. package/dist/collection/components/ezp-progress/ezp-progress.js +0 -53
  151. package/dist/esm/ezp-auth_12.entry.js +0 -4995
  152. package/dist/esm-es5/ezp-auth_12.entry.js +0 -1
  153. package/dist/ezeep/p-1922e5fe.system.entry.js +0 -1
  154. package/dist/ezeep/p-649f6d96.entry.js +0 -1
  155. package/dist/ezeep/p-c488ee3f.system.js +0 -1
  156. package/dist/ezeep/p-eb3b8dbd.system.js +0 -1
  157. package/dist/ezeep/p-ff843eb4.js +0 -1
  158. package/dist/types/components/ezp-progress/ezp-progress.d.ts +0 -15
  159. package/www/build/p-1922e5fe.system.entry.js +0 -1
  160. package/www/build/p-649f6d96.entry.js +0 -1
  161. package/www/build/p-c488ee3f.system.js +0 -1
  162. package/www/build/p-eb3b8dbd.system.js +0 -1
  163. package/www/build/p-ff843eb4.js +0 -1
@@ -18,6 +18,8 @@ export class EzpSelect {
18
18
  this.placeholder = 'Placeholder';
19
19
  /** Description... */
20
20
  this.toggleFlow = 'horizontal';
21
+ /** Description... */
22
+ this.disabled = false;
21
23
  /**
22
24
  *
23
25
  * States
@@ -26,13 +28,20 @@ export class EzpSelect {
26
28
  /** Description... */
27
29
  this.expanded = false;
28
30
  /** Description... */
29
- this.selected = { id: 0, title: '', meta: '' };
31
+ this.selected = { id: false, title: '', meta: '' };
30
32
  /**
31
33
  *
32
34
  * Private methods
33
35
  *
34
36
  */
35
37
  this.toggle = () => {
38
+ this.containerHeight = this.container.clientHeight - this.spacing * 2;
39
+ this.listHeight = this.list.scrollHeight;
40
+ this.wrapTop = this.component.offsetTop;
41
+ this.wrapHeight = this.toggleHeight + this.listHeight;
42
+ this.expandCover = this.wrapHeight > this.containerHeight;
43
+ this.expandRise = this.wrapHeight > this.containerHeight - this.wrapTop;
44
+ this.wrapDiff = this.containerHeight - this.wrapHeight - this.wrapTop;
36
45
  this.expanded = !this.expanded;
37
46
  this.selectToggle.emit(this.expanded);
38
47
  };
@@ -44,6 +53,13 @@ export class EzpSelect {
44
53
  this.toggle();
45
54
  }, delay);
46
55
  };
56
+ this.preSelect = () => {
57
+ this.selected = this.options.find((option) => typeof this.preSelected === 'number'
58
+ ? option.id === this.preSelected
59
+ : typeof this.preSelected === 'string'
60
+ ? option.title === this.preSelected
61
+ : null);
62
+ };
47
63
  }
48
64
  /**
49
65
  *
@@ -52,15 +68,15 @@ export class EzpSelect {
52
68
  */
53
69
  watchExpanded() {
54
70
  if (this.expandCover) {
55
- this.component.style.setProperty('--list-height', this.expanded ? `${this.containerHeight - this.toggleHeight}px` : '0px');
56
- this.component.style.setProperty('--wrap-translate-y', this.expanded ? `${this.wrapTop * -1 + this.spacing}px` : '0px');
71
+ this.component.style.setProperty('--ezp-select-list-height', this.expanded ? `${this.containerHeight - this.toggleHeight}px` : '0px');
72
+ this.component.style.setProperty('--ezp-select-wrap-translateY', this.expanded ? `${this.wrapTop * -1 + this.spacing}px` : '0px');
57
73
  }
58
74
  else if (this.expandRise) {
59
- this.component.style.setProperty('--list-height', this.expanded ? `${this.listHeight}px` : '0px');
60
- this.component.style.setProperty('--wrap-translate-y', this.expanded ? `${this.wrapDiff + this.spacing}px` : '0px');
75
+ this.component.style.setProperty('--ezp-select-list-height', this.expanded ? `${this.listHeight}px` : '0px');
76
+ this.component.style.setProperty('--ezp-select-wrap-translateY', this.expanded ? `${this.wrapDiff + this.spacing}px` : '0px');
61
77
  }
62
78
  else {
63
- this.component.style.setProperty('--list-height', this.expanded ? `${this.listHeight}px` : '0px');
79
+ this.component.style.setProperty('--ezp-select-list-height', this.expanded ? `${this.listHeight}px` : '0px');
64
80
  }
65
81
  if (this.expanded) {
66
82
  this.backdrop.visible = true;
@@ -84,22 +100,18 @@ export class EzpSelect {
84
100
  this.container.removeChild(this.backdrop);
85
101
  });
86
102
  if (this.preSelected) {
87
- this.selected = this.options.find((option) => typeof this.preSelected === 'number'
88
- ? option.id === this.preSelected
89
- : option.title === this.preSelected);
103
+ this.preSelect();
90
104
  }
91
105
  }
92
106
  componentDidLoad() {
93
107
  const styles = getComputedStyle(this.component);
94
- this.toggleHeight = parseInt(styles.getPropertyValue('--toggle-height'));
95
- this.duration = parseFloat(styles.getPropertyValue('--duration'));
96
- this.containerHeight = this.container.clientHeight - this.spacing * 2;
97
- this.listHeight = this.list.scrollHeight;
98
- this.wrapTop = this.component.offsetTop;
99
- this.wrapHeight = this.toggleHeight + this.listHeight;
100
- this.expandCover = this.wrapHeight > this.containerHeight;
101
- this.expandRise = this.wrapHeight > this.containerHeight - this.wrapTop;
102
- this.wrapDiff = this.containerHeight - this.wrapHeight - this.wrapTop;
108
+ this.toggleHeight = parseInt(styles.getPropertyValue('--ezp-select-toggle-height'));
109
+ this.duration = parseFloat(styles.getPropertyValue('--ezp-select-duration'));
110
+ }
111
+ componentWillUpdate() {
112
+ if (!this.selected.id && this.preSelected) {
113
+ this.preSelect();
114
+ }
103
115
  }
104
116
  /**
105
117
  *
@@ -112,11 +124,12 @@ export class EzpSelect {
112
124
  this.icon ? 'has-icon' : '',
113
125
  `toggle-${this.toggleFlow}`,
114
126
  this.optionFlow ? `option-${this.optionFlow}` : '',
127
+ this.disabled ? 'disabled' : '',
115
128
  ];
116
129
  const labelLevel = this.toggleFlow === 'horizontal' ? 'secondary' : 'tertiary';
117
130
  return (h(Host, { class: hostClasses.join(' ') },
118
131
  h("div", { id: "wrap" },
119
- h("div", { id: "toggle", onClick: () => this.toggle() },
132
+ h("div", { id: "toggle", onClick: () => !this.disabled && this.toggle() },
120
133
  this.icon ? h("ezp-icon", { id: "icon", name: this.icon }) : null,
121
134
  h("ezp-label", { id: "label", noWrap: true, level: labelLevel, text: this.label }),
122
135
  h("ezp-label", { id: "value", ellipsis: true, text: this.selected.title !== '' ? this.selected.title : this.placeholder }),
@@ -145,7 +158,7 @@ export class EzpSelect {
145
158
  "mutable": false,
146
159
  "complexType": {
147
160
  "original": "IconNameTypes",
148
- "resolved": "\"account\" | \"checkmark\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"duplex\" | \"expand\" | \"help\" | \"light\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"plus\" | \"printer\" | \"quality\" | \"size\" | \"system\"",
161
+ "resolved": "\"account\" | \"checkmark\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"duplex\" | \"expand\" | \"help\" | \"light\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"plus\" | \"printer\" | \"quality\" | \"size\" | \"system\" | \"drag-drop\" | \"checkmark-alt\" | \"question-mark\" | \"exclamation-mark\" | \"logo\"",
149
162
  "references": {
150
163
  "IconNameTypes": {
151
164
  "location": "import",
@@ -279,6 +292,24 @@ export class EzpSelect {
279
292
  "attribute": "toggle-flow",
280
293
  "reflect": false,
281
294
  "defaultValue": "'horizontal'"
295
+ },
296
+ "disabled": {
297
+ "type": "boolean",
298
+ "mutable": false,
299
+ "complexType": {
300
+ "original": "boolean",
301
+ "resolved": "boolean",
302
+ "references": {}
303
+ },
304
+ "required": false,
305
+ "optional": false,
306
+ "docs": {
307
+ "tags": [],
308
+ "text": "Description..."
309
+ },
310
+ "attribute": "disabled",
311
+ "reflect": false,
312
+ "defaultValue": "false"
282
313
  }
283
314
  }; }
284
315
  static get states() { return {
@@ -0,0 +1,111 @@
1
+ /**
2
+ *
3
+ * Modules
4
+ *
5
+ */
6
+ /**
7
+ *
8
+ * Variables
9
+ *
10
+ */
11
+ /**
12
+ *
13
+ * Functions
14
+ *
15
+ */
16
+ /**
17
+ *
18
+ * Mixins
19
+ *
20
+ */
21
+ /**
22
+ *
23
+ * Modules
24
+ *
25
+ */
26
+ /**
27
+ *
28
+ * Rules
29
+ *
30
+ */
31
+ :host {
32
+ align-items: center;
33
+ background: var(--ezp-color-overlay-primary);
34
+ border-radius: 6px;
35
+ box-sizing: border-box;
36
+ display: flex;
37
+ height: 100%;
38
+ justify-content: center;
39
+ left: 0;
40
+ padding: var(--ezp-spacing-6);
41
+ position: absolute;
42
+ top: 0;
43
+ width: 100%;
44
+ z-index: 9999;
45
+ }
46
+ @media (prefers-color-scheme: dark) {
47
+ :host {
48
+ --box-separator-position: inset 0 0 0 var(--hairline-width-positive);
49
+ }
50
+ }
51
+
52
+ #box {
53
+ --ezp-icon-fill: var(--ezp-color-theme-solid);
54
+ align-items: center;
55
+ background: var(--ezp-color-surface-tertiary);
56
+ border-radius: 3px;
57
+ box-shadow: var(--ezp-status-box-boxShadowPosition, 0 0 0 1px) var(--ezp-color-outline);
58
+ display: flex;
59
+ flex-direction: column;
60
+ gap: var(--ezp-spacing-4);
61
+ padding: var(--ezp-spacing-4) var(--ezp-spacing-5);
62
+ }
63
+
64
+ #indicator {
65
+ animation: rotate var(--ezp-duration-6) linear infinite;
66
+ display: block;
67
+ height: 42px;
68
+ transform: rotate(0);
69
+ width: 42px;
70
+ }
71
+
72
+ #track {
73
+ fill: none;
74
+ stroke: var(--ezp-color-outline);
75
+ stroke-width: 4px;
76
+ }
77
+
78
+ #value {
79
+ animation: offset var(--ezp-duration-6) linear alternate infinite;
80
+ fill: none;
81
+ stroke: var(--ezp-color-theme-solid);
82
+ stroke-dasharray: 110;
83
+ stroke-dashoffset: 110;
84
+ stroke-linecap: round;
85
+ stroke-width: 4px;
86
+ }
87
+
88
+ #description {
89
+ color: var(--ezp-color-foreground-primary);
90
+ }
91
+
92
+ #footer {
93
+ display: flex;
94
+ gap: var(--ezp-spacing-2);
95
+ }
96
+
97
+ /**
98
+ *
99
+ * Keyframes
100
+ *
101
+ */
102
+ @keyframes offset {
103
+ 100% {
104
+ stroke-dashoffset: 55;
105
+ }
106
+ }
107
+ @keyframes rotate {
108
+ 100% {
109
+ transform: rotate(360deg);
110
+ }
111
+ }
@@ -0,0 +1,236 @@
1
+ import { Component, Host, Prop, Event, h } from '@stencil/core';
2
+ import { initi18n } from '../../utils/utils';
3
+ import i18next from 'i18next';
4
+ export class EzpStatus {
5
+ constructor() {
6
+ /**
7
+ *
8
+ * Properties
9
+ *
10
+ */
11
+ this.description = 'Description';
12
+ this.processing = false;
13
+ /**
14
+ *
15
+ * Private methods
16
+ *
17
+ */
18
+ this.handleCancel = () => {
19
+ this.statusCancel.emit(this.instance);
20
+ };
21
+ this.handleClose = () => {
22
+ this.statusClose.emit(this.instance);
23
+ };
24
+ this.handleRetry = () => {
25
+ this.statusRetry.emit(this.instance);
26
+ };
27
+ }
28
+ /**
29
+ *
30
+ * Lifecycle methods
31
+ *
32
+ */
33
+ componentWillLoad() {
34
+ initi18n();
35
+ }
36
+ /**
37
+ *
38
+ * Render method
39
+ *
40
+ */
41
+ render() {
42
+ return (h(Host, null,
43
+ h("div", { id: "box" },
44
+ this.processing ? (h("svg", { id: "indicator", viewBox: "0 0 42 42", xmlns: "http://www.w3.org/2000/svg" },
45
+ h("circle", { id: "track", cx: "21", cy: "21", r: "18" }),
46
+ h("circle", { id: "value", cx: "21", cy: "21", r: "18" }))) : this.icon ? (h("ezp-icon", { name: this.icon, framed: true })) : null,
47
+ h("ezp-label", { id: "description", level: "tertiary", weight: "strong", text: this.description }),
48
+ h("div", { id: "footer" },
49
+ this.cancel && (h("ezp-text-button", { level: "secondary", small: true, onClick: this.handleCancel, label: typeof this.cancel === 'string' ? this.cancel : i18next.t('button_actions.cancel') })),
50
+ this.close && (h("ezp-text-button", { level: this.retry ? 'secondary' : 'primary', small: true, onClick: this.handleClose, label: typeof this.close === 'string' ? this.close : i18next.t('button_actions.close') })),
51
+ this.retry && (h("ezp-text-button", { level: "primary", small: true, onClick: this.handleRetry, label: typeof this.retry === 'string' ? this.retry : i18next.t('button_actions.retry') })),
52
+ h("slot", null)))));
53
+ }
54
+ static get is() { return "ezp-status"; }
55
+ static get encapsulation() { return "shadow"; }
56
+ static get originalStyleUrls() { return {
57
+ "$": ["ezp-status.scss"]
58
+ }; }
59
+ static get styleUrls() { return {
60
+ "$": ["ezp-status.css"]
61
+ }; }
62
+ static get properties() { return {
63
+ "description": {
64
+ "type": "string",
65
+ "mutable": false,
66
+ "complexType": {
67
+ "original": "string",
68
+ "resolved": "string",
69
+ "references": {}
70
+ },
71
+ "required": false,
72
+ "optional": false,
73
+ "docs": {
74
+ "tags": [],
75
+ "text": "\nProperties"
76
+ },
77
+ "attribute": "description",
78
+ "reflect": false,
79
+ "defaultValue": "'Description'"
80
+ },
81
+ "processing": {
82
+ "type": "boolean",
83
+ "mutable": false,
84
+ "complexType": {
85
+ "original": "boolean",
86
+ "resolved": "boolean",
87
+ "references": {}
88
+ },
89
+ "required": false,
90
+ "optional": false,
91
+ "docs": {
92
+ "tags": [],
93
+ "text": ""
94
+ },
95
+ "attribute": "processing",
96
+ "reflect": false,
97
+ "defaultValue": "false"
98
+ },
99
+ "instance": {
100
+ "type": "string",
101
+ "mutable": false,
102
+ "complexType": {
103
+ "original": "string",
104
+ "resolved": "string",
105
+ "references": {}
106
+ },
107
+ "required": false,
108
+ "optional": false,
109
+ "docs": {
110
+ "tags": [],
111
+ "text": ""
112
+ },
113
+ "attribute": "instance",
114
+ "reflect": false
115
+ },
116
+ "icon": {
117
+ "type": "string",
118
+ "mutable": false,
119
+ "complexType": {
120
+ "original": "IconNameTypes",
121
+ "resolved": "\"account\" | \"checkmark\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"duplex\" | \"expand\" | \"help\" | \"light\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"plus\" | \"printer\" | \"quality\" | \"size\" | \"system\" | \"drag-drop\" | \"checkmark-alt\" | \"question-mark\" | \"exclamation-mark\" | \"logo\"",
122
+ "references": {
123
+ "IconNameTypes": {
124
+ "location": "import",
125
+ "path": "../../shared/types"
126
+ }
127
+ }
128
+ },
129
+ "required": false,
130
+ "optional": true,
131
+ "docs": {
132
+ "tags": [],
133
+ "text": ""
134
+ },
135
+ "attribute": "icon",
136
+ "reflect": false
137
+ },
138
+ "cancel": {
139
+ "type": "any",
140
+ "mutable": false,
141
+ "complexType": {
142
+ "original": "string | boolean",
143
+ "resolved": "boolean | string",
144
+ "references": {}
145
+ },
146
+ "required": false,
147
+ "optional": true,
148
+ "docs": {
149
+ "tags": [],
150
+ "text": ""
151
+ },
152
+ "attribute": "cancel",
153
+ "reflect": false
154
+ },
155
+ "close": {
156
+ "type": "any",
157
+ "mutable": false,
158
+ "complexType": {
159
+ "original": "string | boolean",
160
+ "resolved": "boolean | string",
161
+ "references": {}
162
+ },
163
+ "required": false,
164
+ "optional": true,
165
+ "docs": {
166
+ "tags": [],
167
+ "text": ""
168
+ },
169
+ "attribute": "close",
170
+ "reflect": false
171
+ },
172
+ "retry": {
173
+ "type": "any",
174
+ "mutable": false,
175
+ "complexType": {
176
+ "original": "string | boolean",
177
+ "resolved": "boolean | string",
178
+ "references": {}
179
+ },
180
+ "required": false,
181
+ "optional": true,
182
+ "docs": {
183
+ "tags": [],
184
+ "text": ""
185
+ },
186
+ "attribute": "retry",
187
+ "reflect": false
188
+ }
189
+ }; }
190
+ static get events() { return [{
191
+ "method": "statusCancel",
192
+ "name": "statusCancel",
193
+ "bubbles": true,
194
+ "cancelable": true,
195
+ "composed": true,
196
+ "docs": {
197
+ "tags": [],
198
+ "text": "\nEvents"
199
+ },
200
+ "complexType": {
201
+ "original": "any",
202
+ "resolved": "any",
203
+ "references": {}
204
+ }
205
+ }, {
206
+ "method": "statusClose",
207
+ "name": "statusClose",
208
+ "bubbles": true,
209
+ "cancelable": true,
210
+ "composed": true,
211
+ "docs": {
212
+ "tags": [],
213
+ "text": ""
214
+ },
215
+ "complexType": {
216
+ "original": "any",
217
+ "resolved": "any",
218
+ "references": {}
219
+ }
220
+ }, {
221
+ "method": "statusRetry",
222
+ "name": "statusRetry",
223
+ "bubbles": true,
224
+ "cancelable": true,
225
+ "composed": true,
226
+ "docs": {
227
+ "tags": [],
228
+ "text": ""
229
+ },
230
+ "complexType": {
231
+ "original": "any",
232
+ "resolved": "any",
233
+ "references": {}
234
+ }
235
+ }]; }
236
+ }
@@ -30,27 +30,27 @@
30
30
  */
31
31
  :host {
32
32
  align-items: center;
33
- background: var(--color-surface-tertiary);
33
+ background: var(--ezp-color-surface-tertiary);
34
34
  border-radius: 3px;
35
- box-shadow: 0 0 0 var(--hairline-width-positive) var(--hairline-color);
35
+ box-shadow: var(--ezp-stepper-boxShadowPosition, 0 0 0 1px) var(--ezp-color-outline);
36
36
  display: grid;
37
- gap: var(--spacing-3);
38
- grid-template: var(--host-gridTemplate, auto/auto 1fr auto);
39
- padding: 0 var(--spacing-2) 0 var(--spacing-3);
37
+ gap: var(--ezp-spacing-3);
38
+ grid-template: var(--ezp-stepper-gridTemplate, auto/auto 1fr auto);
39
+ padding: 0 var(--ezp-spacing-2) 0 var(--ezp-spacing-3);
40
40
  position: relative;
41
41
  z-index: 0;
42
42
  }
43
43
  :host(.focused) {
44
- --icon-color: var(--color-theme-solid);
45
- --label-color: var(--color-theme-solid);
44
+ --ezp-stepper-icon-color: var(--ezp-color-theme-solid);
45
+ --ezp-stepper-label-color: var(--ezp-color-theme-solid);
46
46
  }
47
47
 
48
48
  :host(.has-icon) {
49
- --host-gridTemplate: auto / repeat(2, auto) 1fr auto;
49
+ --ezp-stepper-gridTemplate: auto / repeat(2, auto) 1fr auto;
50
50
  }
51
51
 
52
52
  #toggle {
53
- background: var(--toggle-background, transparent);
53
+ background: var(--ezp-stepper-toggle-background, transparent);
54
54
  border-radius: 3px;
55
55
  cursor: pointer;
56
56
  height: 100%;
@@ -62,17 +62,17 @@
62
62
  }
63
63
  @media (hover: hover) {
64
64
  #toggle:hover {
65
- --toggle-background: var(--color-shade-primary);
65
+ --ezp-stepper-toggle-background: var(--ezp-color-shade-primary);
66
66
  }
67
67
  }
68
68
 
69
69
  #icon {
70
- color: var(--icon-color, var(--color-foreground-secondary));
70
+ color: var(--ezp-stepper-icon-color, var(--ezp-color-foreground-secondary));
71
71
  pointer-events: none;
72
72
  }
73
73
 
74
74
  #label {
75
- color: var(--label-color, var(--color-foreground-secondary));
75
+ color: var(--ezp-stepper-label-color, var(--ezp-color-foreground-secondary));
76
76
  pointer-events: none;
77
77
  }
78
78
 
@@ -92,7 +92,7 @@
92
92
  border-radius: 3px;
93
93
  box-shadow: none;
94
94
  box-sizing: border-box;
95
- color: var(--color-foreground-primary);
95
+ color: var(--ezp-color-foreground-primary);
96
96
  cursor: inherit;
97
97
  font-family: inherit;
98
98
  font-feature-settings: "tnum";
@@ -121,27 +121,27 @@
121
121
  .button {
122
122
  align-items: center;
123
123
  appearance: none;
124
- background: var(--button-background, transparent);
124
+ background: var(--ezp-stepper-button-background, transparent);
125
125
  border: 0;
126
126
  border-radius: 50%;
127
127
  box-shadow: none;
128
- color: var(--button-color, var(--color-theme-solid));
129
- cursor: var(--button-cursor, pointer);
128
+ color: var(--ezp-stepper-button-color, var(--ezp-color-theme-solid));
129
+ cursor: var(--ezp-stepper-button-cursor, pointer);
130
130
  display: flex;
131
131
  justify-content: center;
132
132
  margin: 0;
133
133
  outline: none;
134
- padding: var(--spacing-1);
134
+ padding: var(--ezp-spacing-1);
135
135
  }
136
136
  @media (hover: hover) {
137
137
  .button:not(:disabled):hover {
138
- --button-background: var(--color-shade-primary);
138
+ --ezp-stepper-button-background: var(--ezp-color-shade-primary);
139
139
  }
140
140
  .button:not(:disabled):active {
141
- --button-background: var(--color-shade-secondary);
141
+ --ezp-stepper-button-background: var(--ezp-color-shade-secondary);
142
142
  }
143
143
  }
144
144
  .button:disabled {
145
- --button-color: var(--color-foreground-tertiary);
146
- --button-cursor: not-allowed;
145
+ --ezp-stepper-button-color: var(--ezp-color-foreground-tertiary);
146
+ --ezp-stepper-button-cursor: default;
147
147
  }
@@ -91,7 +91,7 @@ export class EzpStepper {
91
91
  "mutable": false,
92
92
  "complexType": {
93
93
  "original": "IconNameTypes",
94
- "resolved": "\"account\" | \"checkmark\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"duplex\" | \"expand\" | \"help\" | \"light\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"plus\" | \"printer\" | \"quality\" | \"size\" | \"system\"",
94
+ "resolved": "\"account\" | \"checkmark\" | \"close\" | \"color\" | \"copies\" | \"dark\" | \"duplex\" | \"expand\" | \"help\" | \"light\" | \"logout\" | \"menu\" | \"minus\" | \"orientation\" | \"plus\" | \"printer\" | \"quality\" | \"size\" | \"system\" | \"drag-drop\" | \"checkmark-alt\" | \"question-mark\" | \"exclamation-mark\" | \"logo\"",
95
95
  "references": {
96
96
  "IconNameTypes": {
97
97
  "location": "import",