@eui/components 18.0.0-next.6 → 18.0.0-next.7
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.
- package/docs/components/EuiCommonHeaderComponent.html +1 -1
- package/docs/components/EuiExpandContentComponent.html +1 -1
- package/docs/dependencies.html +2 -2
- package/docs/js/menu-wc.js +6 -6
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/modules/EuiCommonHeaderModule.html +0 -10
- package/docs/modules/EuiExpandContentModule.html +0 -10
- package/esm2022/eui-icon/eui-icon-svg.component.mjs +2 -2
- package/esm2022/eui-icon/eui-icon.component.mjs +2 -2
- package/esm2022/eui-input-checkbox/eui-input-checkbox.component.mjs +2 -2
- package/esm2022/eui-input-radio/eui-input-radio.component.mjs +2 -2
- package/esm2022/index.mjs +2 -2
- package/esm2022/layout/eui-app/eui-app-top-message/top-message.component.mjs +2 -2
- package/esm2022/shared/eui-common-header/common-header.component.mjs +10 -8
- package/esm2022/shared/eui-expand-content/eui-expand-content.component.mjs +11 -8
- package/esm2022/shared/index.mjs +2 -2
- package/esm2022/shared/input.directive.mjs +2 -2
- package/eui-icon/eui-icon-svg.component.d.ts +1 -1
- package/eui-icon/eui-icon-svg.component.d.ts.map +1 -1
- package/eui-icon/eui-icon.component.d.ts +1 -1
- package/eui-icon/eui-icon.component.d.ts.map +1 -1
- package/fesm2022/eui-components-eui-icon.mjs +2 -2
- package/fesm2022/eui-components-eui-icon.mjs.map +1 -1
- package/fesm2022/eui-components-eui-input-checkbox.mjs +2 -4
- package/fesm2022/eui-components-eui-input-checkbox.mjs.map +1 -1
- package/fesm2022/eui-components-eui-input-radio.mjs +2 -4
- package/fesm2022/eui-components-eui-input-radio.mjs.map +1 -1
- package/fesm2022/eui-components-layout.mjs +1 -1
- package/fesm2022/eui-components-layout.mjs.map +1 -1
- package/fesm2022/eui-components-shared.mjs +1242 -82
- package/fesm2022/eui-components-shared.mjs.map +4 -4
- package/fesm2022/eui-components.mjs +353 -22
- package/fesm2022/eui-components.mjs.map +3 -3
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/layout/eui-app/eui-app-top-message/top-message.component.d.ts +1 -1
- package/layout/eui-app/eui-app-top-message/top-message.component.d.ts.map +1 -1
- package/package.json +3 -15
- package/shared/eui-common-header/common-header.component.d.ts +1 -2
- package/shared/eui-common-header/common-header.component.d.ts.map +1 -1
- package/shared/eui-expand-content/eui-expand-content.component.d.ts +1 -2
- package/shared/eui-expand-content/eui-expand-content.component.d.ts.map +1 -1
- package/shared/index.d.ts +1 -1
- package/shared/index.d.ts.map +1 -1
- package/shared/input.directive.d.ts +1 -1
- package/shared/input.directive.d.ts.map +1 -1
- package/esm2022/eui-all/eui-components-eui-all.mjs +0 -5
- package/esm2022/shared/base/eui-components-shared-base.mjs +0 -5
- package/eui-all/eui-components-eui-all.d.ts.map +0 -1
- package/eui-all/package.json +0 -3
- package/fesm2022/eui-components-eui-all.mjs +0 -356
- package/fesm2022/eui-components-eui-all.mjs.map +0 -7
- package/fesm2022/eui-components-shared-base.mjs +0 -1208
- package/fesm2022/eui-components-shared-base.mjs.map +0 -7
- package/shared/base/eui-components-shared-base.d.ts.map +0 -1
- package/shared/base/package.json +0 -3
@@ -1,1208 +0,0 @@
|
|
1
|
-
// mixins/typeclass/eui-primary.mixin.mjs
|
2
|
-
import { coerceBooleanProperty } from "@angular/cdk/coercion";
|
3
|
-
function mixinEuiPrimary(base = class {
|
4
|
-
}) {
|
5
|
-
class Mixin extends base {
|
6
|
-
/** Whether the euiPrimary is disabled or not. */
|
7
|
-
get euiPrimary() {
|
8
|
-
return this._euiPrimary;
|
9
|
-
}
|
10
|
-
set euiPrimary(value) {
|
11
|
-
this._euiPrimary = coerceBooleanProperty(value);
|
12
|
-
}
|
13
|
-
constructor(...args) {
|
14
|
-
super(...args);
|
15
|
-
this._euiPrimary = false;
|
16
|
-
}
|
17
|
-
getCssClasses(rootClass = "") {
|
18
|
-
return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiPrimary ? `${rootClass}--primary` : ""].join(" ").trim();
|
19
|
-
}
|
20
|
-
}
|
21
|
-
return Mixin;
|
22
|
-
}
|
23
|
-
|
24
|
-
// mixins/typeclass/eui-secondary.mixin.mjs
|
25
|
-
import { coerceBooleanProperty as coerceBooleanProperty2 } from "@angular/cdk/coercion";
|
26
|
-
var mixinEuiSecondary = (base = class {
|
27
|
-
}) => {
|
28
|
-
class Mixin extends base {
|
29
|
-
/** Whether the EuiSecondary is disabled or not. */
|
30
|
-
get euiSecondary() {
|
31
|
-
return this._euiSecondary;
|
32
|
-
}
|
33
|
-
set euiSecondary(value) {
|
34
|
-
this._euiSecondary = coerceBooleanProperty2(value);
|
35
|
-
}
|
36
|
-
constructor(...args) {
|
37
|
-
super(...args);
|
38
|
-
this._euiSecondary = false;
|
39
|
-
}
|
40
|
-
getCssClasses(rootClass = "") {
|
41
|
-
return [
|
42
|
-
super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass,
|
43
|
-
this._euiSecondary ? `${rootClass}--secondary` : ""
|
44
|
-
].join(" ").trim();
|
45
|
-
}
|
46
|
-
}
|
47
|
-
return Mixin;
|
48
|
-
};
|
49
|
-
|
50
|
-
// mixins/typeclass/eui-info.mixin.mjs
|
51
|
-
import { coerceBooleanProperty as coerceBooleanProperty3 } from "@angular/cdk/coercion";
|
52
|
-
function mixinEuiInfo(base = class {
|
53
|
-
}) {
|
54
|
-
class Mixin extends base {
|
55
|
-
/** Whether the EuiInfo is disabled or not. */
|
56
|
-
get euiInfo() {
|
57
|
-
return this._euiInfo;
|
58
|
-
}
|
59
|
-
set euiInfo(value) {
|
60
|
-
this._euiInfo = coerceBooleanProperty3(value);
|
61
|
-
}
|
62
|
-
constructor(...args) {
|
63
|
-
super(...args);
|
64
|
-
this._euiInfo = false;
|
65
|
-
}
|
66
|
-
getCssClasses(rootClass = "") {
|
67
|
-
return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiInfo ? `${rootClass}--info` : ""].join(" ").trim();
|
68
|
-
}
|
69
|
-
}
|
70
|
-
return Mixin;
|
71
|
-
}
|
72
|
-
|
73
|
-
// mixins/typeclass/eui-success.mixin.mjs
|
74
|
-
import { coerceBooleanProperty as coerceBooleanProperty4 } from "@angular/cdk/coercion";
|
75
|
-
var mixinEuiSuccess = (base = class {
|
76
|
-
}) => {
|
77
|
-
class Mixin extends base {
|
78
|
-
/** Whether the EuiSuccess is disabled or not. */
|
79
|
-
get euiSuccess() {
|
80
|
-
return this._euiSuccess;
|
81
|
-
}
|
82
|
-
set euiSuccess(value) {
|
83
|
-
this._euiSuccess = coerceBooleanProperty4(value);
|
84
|
-
}
|
85
|
-
constructor(...args) {
|
86
|
-
super(...args);
|
87
|
-
this._euiSuccess = false;
|
88
|
-
}
|
89
|
-
getCssClasses(rootClass = "") {
|
90
|
-
return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiSuccess ? `${rootClass}--success` : ""].join(" ").trim();
|
91
|
-
}
|
92
|
-
}
|
93
|
-
return Mixin;
|
94
|
-
};
|
95
|
-
|
96
|
-
// mixins/typeclass/eui-warning.mixin.mjs
|
97
|
-
import { coerceBooleanProperty as coerceBooleanProperty5 } from "@angular/cdk/coercion";
|
98
|
-
var mixinEuiWarning = (base = class {
|
99
|
-
}) => {
|
100
|
-
class Mixin extends base {
|
101
|
-
/** Whether the EuiWarning is disabled or not. */
|
102
|
-
get euiWarning() {
|
103
|
-
return this._euiWarning;
|
104
|
-
}
|
105
|
-
set euiWarning(value) {
|
106
|
-
this._euiWarning = coerceBooleanProperty5(value);
|
107
|
-
}
|
108
|
-
constructor(...args) {
|
109
|
-
super(...args);
|
110
|
-
this._euiWarning = false;
|
111
|
-
}
|
112
|
-
getCssClasses(rootClass = "") {
|
113
|
-
return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiWarning ? `${rootClass}--warning` : ""].join(" ").trim();
|
114
|
-
}
|
115
|
-
}
|
116
|
-
return Mixin;
|
117
|
-
};
|
118
|
-
|
119
|
-
// mixins/typeclass/eui-accent.mixin.mjs
|
120
|
-
import { coerceBooleanProperty as coerceBooleanProperty6 } from "@angular/cdk/coercion";
|
121
|
-
function mixinEuiAccent(base = class {
|
122
|
-
}) {
|
123
|
-
class Mixin extends base {
|
124
|
-
/** Whether the EuiAccent is disabled or not. */
|
125
|
-
get euiAccent() {
|
126
|
-
return this._euiAccent;
|
127
|
-
}
|
128
|
-
set euiAccent(value) {
|
129
|
-
this._euiAccent = coerceBooleanProperty6(value);
|
130
|
-
}
|
131
|
-
constructor(...args) {
|
132
|
-
super(...args);
|
133
|
-
this._euiAccent = false;
|
134
|
-
}
|
135
|
-
getCssClasses(rootClass = "") {
|
136
|
-
return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiAccent ? `${rootClass}--accent` : ""].join(" ").trim();
|
137
|
-
}
|
138
|
-
}
|
139
|
-
return Mixin;
|
140
|
-
}
|
141
|
-
|
142
|
-
// mixins/typeclass/eui-danger.mixin.mjs
|
143
|
-
import { coerceBooleanProperty as coerceBooleanProperty7 } from "@angular/cdk/coercion";
|
144
|
-
function mixinEuiDanger(base = class {
|
145
|
-
}) {
|
146
|
-
class Mixin extends base {
|
147
|
-
/** Whether the EuiDanger is disabled or not. */
|
148
|
-
get euiDanger() {
|
149
|
-
return this._euiDanger;
|
150
|
-
}
|
151
|
-
set euiDanger(value) {
|
152
|
-
this._euiDanger = coerceBooleanProperty7(value);
|
153
|
-
}
|
154
|
-
constructor(...args) {
|
155
|
-
super(...args);
|
156
|
-
this._euiDanger = false;
|
157
|
-
}
|
158
|
-
getCssClasses(rootClass = "") {
|
159
|
-
return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiDanger ? `${rootClass}--danger` : ""].join(" ").trim();
|
160
|
-
}
|
161
|
-
}
|
162
|
-
return Mixin;
|
163
|
-
}
|
164
|
-
|
165
|
-
// mixins/typeclass/eui-variant.mixin.mjs
|
166
|
-
var mixinEuiVariant = (base = class {
|
167
|
-
}) => {
|
168
|
-
class Mixin extends base {
|
169
|
-
/** Whether the EuiVariant is disabled or not. */
|
170
|
-
get euiVariant() {
|
171
|
-
return this._euiVariant;
|
172
|
-
}
|
173
|
-
set euiVariant(value) {
|
174
|
-
super.euiPrimary = value === "primary";
|
175
|
-
super.euiSecondary = value === "secondary";
|
176
|
-
super.euiWarning = value === "warning";
|
177
|
-
super.euiInfo = value === "info";
|
178
|
-
super.euiSuccess = value === "success";
|
179
|
-
super.euiDanger = value === "danger";
|
180
|
-
super.euiAccent = value === "accent";
|
181
|
-
this._euiVariant = value;
|
182
|
-
}
|
183
|
-
constructor(...args) {
|
184
|
-
super(...args);
|
185
|
-
this._euiVariant = "";
|
186
|
-
}
|
187
|
-
}
|
188
|
-
return Mixin;
|
189
|
-
};
|
190
|
-
|
191
|
-
// mixins/state/eui-disabled.mixin.mjs
|
192
|
-
import { coerceBooleanProperty as coerceBooleanProperty8 } from "@angular/cdk/coercion";
|
193
|
-
function mixinEuiDisabled(base = class {
|
194
|
-
}) {
|
195
|
-
class Mixin extends base {
|
196
|
-
/** Whether the euiDisabled is disabled or not. */
|
197
|
-
get euiDisabled() {
|
198
|
-
return this._euiDisabled;
|
199
|
-
}
|
200
|
-
set euiDisabled(value) {
|
201
|
-
this._euiDisabled = coerceBooleanProperty8(value);
|
202
|
-
}
|
203
|
-
constructor(...args) {
|
204
|
-
super(...args);
|
205
|
-
this._euiDisabled = false;
|
206
|
-
}
|
207
|
-
getCssClasses(rootClass = "") {
|
208
|
-
return [
|
209
|
-
super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass,
|
210
|
-
this._euiDisabled ? `${rootClass}--disabled disabled` : ""
|
211
|
-
].join(" ").trim();
|
212
|
-
}
|
213
|
-
}
|
214
|
-
return Mixin;
|
215
|
-
}
|
216
|
-
|
217
|
-
// mixins/state/eui-clearable.mixin.mjs
|
218
|
-
import { coerceBooleanProperty as coerceBooleanProperty9 } from "@angular/cdk/coercion";
|
219
|
-
function mixinEuiClearable(base = class {
|
220
|
-
}) {
|
221
|
-
class Mixin extends base {
|
222
|
-
/** Whether the euiClearable is disabled or not. */
|
223
|
-
get euiClearable() {
|
224
|
-
return this._euiClearable;
|
225
|
-
}
|
226
|
-
set euiClearable(value) {
|
227
|
-
this._euiClearable = coerceBooleanProperty9(value);
|
228
|
-
}
|
229
|
-
constructor(...args) {
|
230
|
-
super(...args);
|
231
|
-
this._euiClearable = false;
|
232
|
-
}
|
233
|
-
getCssClasses(rootClass = "") {
|
234
|
-
return [
|
235
|
-
super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass,
|
236
|
-
this._euiClearable ? `${rootClass}--clearable` : ""
|
237
|
-
].join(" ").trim();
|
238
|
-
}
|
239
|
-
}
|
240
|
-
return Mixin;
|
241
|
-
}
|
242
|
-
|
243
|
-
// mixins/state/eui-loading.mixin.mjs
|
244
|
-
import { coerceBooleanProperty as coerceBooleanProperty10 } from "@angular/cdk/coercion";
|
245
|
-
function mixinEuiLoading(base = class {
|
246
|
-
}) {
|
247
|
-
class Mixin extends base {
|
248
|
-
/** Whether the euiLoading is disabled or not. */
|
249
|
-
get euiLoading() {
|
250
|
-
return this._euiLoading;
|
251
|
-
}
|
252
|
-
set euiLoading(value) {
|
253
|
-
this._euiLoading = coerceBooleanProperty10(value);
|
254
|
-
}
|
255
|
-
constructor(...args) {
|
256
|
-
super(...args);
|
257
|
-
this._euiLoading = false;
|
258
|
-
}
|
259
|
-
getCssClasses(rootClass = "") {
|
260
|
-
return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiLoading ? `${rootClass}--loading` : ""].join(" ").trim();
|
261
|
-
}
|
262
|
-
}
|
263
|
-
return Mixin;
|
264
|
-
}
|
265
|
-
|
266
|
-
// mixins/state/eui-rounded.mixin.mjs
|
267
|
-
import { coerceBooleanProperty as coerceBooleanProperty11 } from "@angular/cdk/coercion";
|
268
|
-
function mixinEuiRounded(base = class {
|
269
|
-
}) {
|
270
|
-
class Mixin extends base {
|
271
|
-
/** Whether the euiRounded is disabled or not. */
|
272
|
-
get euiRounded() {
|
273
|
-
return this._euiRounded;
|
274
|
-
}
|
275
|
-
set euiRounded(value) {
|
276
|
-
this._euiRounded = coerceBooleanProperty11(value);
|
277
|
-
}
|
278
|
-
constructor(...args) {
|
279
|
-
super(...args);
|
280
|
-
this._euiRounded = false;
|
281
|
-
}
|
282
|
-
getCssClasses(rootClass = "") {
|
283
|
-
return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiRounded ? `${rootClass}--rounded` : ""].join(" ").trim();
|
284
|
-
}
|
285
|
-
}
|
286
|
-
return Mixin;
|
287
|
-
}
|
288
|
-
|
289
|
-
// mixins/state/eui-outline.mixin.mjs
|
290
|
-
import { coerceBooleanProperty as coerceBooleanProperty12 } from "@angular/cdk/coercion";
|
291
|
-
function mixinEuiOutline(base = class {
|
292
|
-
}) {
|
293
|
-
class Mixin extends base {
|
294
|
-
/** Whether the euiOutline is disabled or not. */
|
295
|
-
get euiOutline() {
|
296
|
-
return this._euiOutline;
|
297
|
-
}
|
298
|
-
set euiOutline(value) {
|
299
|
-
this._euiOutline = coerceBooleanProperty12(value);
|
300
|
-
}
|
301
|
-
constructor(...args) {
|
302
|
-
super(...args);
|
303
|
-
this._euiOutline = false;
|
304
|
-
}
|
305
|
-
getCssClasses(rootClass = "") {
|
306
|
-
return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiOutline ? `${rootClass}--outline` : ""].join(" ").trim();
|
307
|
-
}
|
308
|
-
}
|
309
|
-
return Mixin;
|
310
|
-
}
|
311
|
-
|
312
|
-
// mixins/state/eui-compact.mixin.mjs
|
313
|
-
import { coerceBooleanProperty as coerceBooleanProperty13 } from "@angular/cdk/coercion";
|
314
|
-
function mixinEuiCompact(base = class {
|
315
|
-
}) {
|
316
|
-
class Mixin extends base {
|
317
|
-
/** Whether the euiCompact is disabled or not. */
|
318
|
-
get euiCompact() {
|
319
|
-
return this._euiCompact;
|
320
|
-
}
|
321
|
-
set euiCompact(value) {
|
322
|
-
this._euiCompact = coerceBooleanProperty13(value);
|
323
|
-
}
|
324
|
-
constructor(...args) {
|
325
|
-
super(...args);
|
326
|
-
this._euiCompact = false;
|
327
|
-
}
|
328
|
-
getCssClasses(rootClass = "") {
|
329
|
-
return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiCompact ? `${rootClass}--compact` : ""].join(" ").trim();
|
330
|
-
}
|
331
|
-
}
|
332
|
-
return Mixin;
|
333
|
-
}
|
334
|
-
|
335
|
-
// mixins/state/eui-responsive.mixin.mjs
|
336
|
-
import { coerceBooleanProperty as coerceBooleanProperty14 } from "@angular/cdk/coercion";
|
337
|
-
function mixinEuiResponsive(base = class {
|
338
|
-
}) {
|
339
|
-
class Mixin extends base {
|
340
|
-
/** Whether the euiResponsive is disabled or not. */
|
341
|
-
get euiResponsive() {
|
342
|
-
return this._euiResponsive;
|
343
|
-
}
|
344
|
-
set euiResponsive(value) {
|
345
|
-
this._euiResponsive = coerceBooleanProperty14(value);
|
346
|
-
}
|
347
|
-
constructor(...args) {
|
348
|
-
super(...args);
|
349
|
-
this._euiResponsive = false;
|
350
|
-
}
|
351
|
-
getCssClasses(rootClass = "") {
|
352
|
-
return [
|
353
|
-
super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass,
|
354
|
-
this._euiResponsive ? `${rootClass}--responsive` : ""
|
355
|
-
].join(" ").trim();
|
356
|
-
}
|
357
|
-
}
|
358
|
-
return Mixin;
|
359
|
-
}
|
360
|
-
|
361
|
-
// mixins/state/eui-highlighted.mixin.mjs
|
362
|
-
import { coerceBooleanProperty as coerceBooleanProperty15 } from "@angular/cdk/coercion";
|
363
|
-
function mixinEuiHighlighted(base = class {
|
364
|
-
}) {
|
365
|
-
class Mixin extends base {
|
366
|
-
/** Whether the euiHighlighted is disabled or not. */
|
367
|
-
get euiHighlighted() {
|
368
|
-
return this._euiHighlighted;
|
369
|
-
}
|
370
|
-
set euiHighlighted(value) {
|
371
|
-
this._euiHighlighted = coerceBooleanProperty15(value);
|
372
|
-
}
|
373
|
-
constructor(...args) {
|
374
|
-
super(...args);
|
375
|
-
this._euiHighlighted = false;
|
376
|
-
}
|
377
|
-
getCssClasses(rootClass = "") {
|
378
|
-
return [
|
379
|
-
super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass,
|
380
|
-
this._euiHighlighted ? `${rootClass}--highlighted` : ""
|
381
|
-
].join(" ").trim();
|
382
|
-
}
|
383
|
-
}
|
384
|
-
return Mixin;
|
385
|
-
}
|
386
|
-
|
387
|
-
// mixins/size/eui-small.mixin.mjs
|
388
|
-
import { coerceBooleanProperty as coerceBooleanProperty16 } from "@angular/cdk/coercion";
|
389
|
-
function mixinEuiSmallSize(base = class {
|
390
|
-
}) {
|
391
|
-
class Mixin extends base {
|
392
|
-
/** apply extremely small size */
|
393
|
-
get euiSize2XS() {
|
394
|
-
return this._euiSize2XS;
|
395
|
-
}
|
396
|
-
set euiSize2XS(value) {
|
397
|
-
this._euiSize2XS = coerceBooleanProperty16(value);
|
398
|
-
}
|
399
|
-
/** apply extra small size */
|
400
|
-
get euiSizeXS() {
|
401
|
-
return this._euiSizeXS;
|
402
|
-
}
|
403
|
-
set euiSizeXS(value) {
|
404
|
-
this._euiSizeXS = coerceBooleanProperty16(value);
|
405
|
-
}
|
406
|
-
/** apply small size */
|
407
|
-
get euiSizeS() {
|
408
|
-
return this._euiSizeS;
|
409
|
-
}
|
410
|
-
set euiSizeS(value) {
|
411
|
-
this._euiSizeS = coerceBooleanProperty16(value);
|
412
|
-
}
|
413
|
-
constructor(...args) {
|
414
|
-
super(...args);
|
415
|
-
this._euiSize2XS = false;
|
416
|
-
this._euiSizeXS = false;
|
417
|
-
this._euiSizeS = false;
|
418
|
-
}
|
419
|
-
getCssClasses(rootClass = "") {
|
420
|
-
return [
|
421
|
-
super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass,
|
422
|
-
this._euiSize2XS ? `${rootClass}--size-2xs` : "",
|
423
|
-
this._euiSizeXS ? `${rootClass}--size-xs` : "",
|
424
|
-
this._euiSizeS ? `${rootClass}--size-s` : ""
|
425
|
-
].join(" ").trim();
|
426
|
-
}
|
427
|
-
}
|
428
|
-
return Mixin;
|
429
|
-
}
|
430
|
-
|
431
|
-
// mixins/size/eui-medium.mixin.mjs
|
432
|
-
import { coerceBooleanProperty as coerceBooleanProperty17 } from "@angular/cdk/coercion";
|
433
|
-
function mixinEuiMediumSize(base = class {
|
434
|
-
}) {
|
435
|
-
class Mixin extends base {
|
436
|
-
/** apply small size */
|
437
|
-
get euiSizeM() {
|
438
|
-
return this._euiSizeM;
|
439
|
-
}
|
440
|
-
set euiSizeM(value) {
|
441
|
-
this._euiSizeM = coerceBooleanProperty17(value);
|
442
|
-
}
|
443
|
-
constructor(...args) {
|
444
|
-
super(...args);
|
445
|
-
this._euiSizeM = false;
|
446
|
-
}
|
447
|
-
getCssClasses(rootClass = "") {
|
448
|
-
return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiSizeM ? `${rootClass}--size-m` : ""].join(" ").trim();
|
449
|
-
}
|
450
|
-
}
|
451
|
-
return Mixin;
|
452
|
-
}
|
453
|
-
|
454
|
-
// mixins/size/eui-large.mixin.mjs
|
455
|
-
import { coerceBooleanProperty as coerceBooleanProperty18 } from "@angular/cdk/coercion";
|
456
|
-
function mixinEuiLargeSize(base = class {
|
457
|
-
}) {
|
458
|
-
class Mixin extends base {
|
459
|
-
/** apply large size */
|
460
|
-
get euiSizeL() {
|
461
|
-
return this._euiSizeL;
|
462
|
-
}
|
463
|
-
set euiSizeL(value) {
|
464
|
-
this._euiSizeL = coerceBooleanProperty18(value);
|
465
|
-
}
|
466
|
-
/** apply extra large size */
|
467
|
-
get euiSizeXL() {
|
468
|
-
return this._euiSizeXL;
|
469
|
-
}
|
470
|
-
set euiSizeXL(value) {
|
471
|
-
this._euiSizeXL = coerceBooleanProperty18(value);
|
472
|
-
}
|
473
|
-
/** apply extra extra large size */
|
474
|
-
get euiSize2XL() {
|
475
|
-
return this._euiSize2XL;
|
476
|
-
}
|
477
|
-
set euiSize2XL(value) {
|
478
|
-
this._euiSize2XL = coerceBooleanProperty18(value);
|
479
|
-
}
|
480
|
-
/** apply extra extra extra large size */
|
481
|
-
get euiSize3XL() {
|
482
|
-
return this._euiSize3XL;
|
483
|
-
}
|
484
|
-
set euiSize3XL(value) {
|
485
|
-
this._euiSize3XL = coerceBooleanProperty18(value);
|
486
|
-
}
|
487
|
-
/** apply extra extra extra extra large size */
|
488
|
-
get euiSize4XL() {
|
489
|
-
return this._euiSize4XL;
|
490
|
-
}
|
491
|
-
set euiSize4XL(value) {
|
492
|
-
this._euiSize4XL = coerceBooleanProperty18(value);
|
493
|
-
}
|
494
|
-
/** apply extra extra extra extra extra large size */
|
495
|
-
get euiSize5XL() {
|
496
|
-
return this._euiSize5XL;
|
497
|
-
}
|
498
|
-
set euiSize5XL(value) {
|
499
|
-
this._euiSize5XL = coerceBooleanProperty18(value);
|
500
|
-
}
|
501
|
-
constructor(...args) {
|
502
|
-
super(...args);
|
503
|
-
this._euiSizeL = false;
|
504
|
-
this._euiSizeXL = false;
|
505
|
-
this._euiSize2XL = false;
|
506
|
-
this._euiSize3XL = false;
|
507
|
-
this._euiSize4XL = false;
|
508
|
-
this._euiSize5XL = false;
|
509
|
-
}
|
510
|
-
getCssClasses(rootClass = "") {
|
511
|
-
return [
|
512
|
-
super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass,
|
513
|
-
this._euiSizeXL ? `${rootClass}--size-xl` : "",
|
514
|
-
this._euiSize2XL ? `${rootClass}--size-2xl` : "",
|
515
|
-
this._euiSize3XL ? `${rootClass}--size-3xl` : "",
|
516
|
-
this._euiSize4XL ? `${rootClass}--size-4xl` : "",
|
517
|
-
this._euiSize5XL ? `${rootClass}--size-5xl` : ""
|
518
|
-
].join(" ").trim();
|
519
|
-
}
|
520
|
-
}
|
521
|
-
return Mixin;
|
522
|
-
}
|
523
|
-
|
524
|
-
// mixins/index.mjs
|
525
|
-
function applyMixins(derivedCtor, constructors) {
|
526
|
-
constructors.forEach((baseCtor) => {
|
527
|
-
Object.getOwnPropertyNames(baseCtor.prototype).forEach((name) => {
|
528
|
-
Object.defineProperty(derivedCtor.prototype, name, Object.getOwnPropertyDescriptor(baseCtor.prototype, name) || /* @__PURE__ */ Object.create(null));
|
529
|
-
});
|
530
|
-
});
|
531
|
-
}
|
532
|
-
|
533
|
-
// base.directive.mjs
|
534
|
-
import { Directive, Input, HostBinding } from "@angular/core";
|
535
|
-
import { coerceBooleanProperty as coerceBooleanProperty19 } from "@angular/cdk/coercion";
|
536
|
-
import * as i0 from "@angular/core";
|
537
|
-
var BaseComponentMixinBase = mixinEuiPrimary(mixinEuiSecondary(mixinEuiInfo(mixinEuiSuccess(mixinEuiWarning(mixinEuiDisabled())))));
|
538
|
-
var BaseDirective = class _BaseDirective {
|
539
|
-
constructor() {
|
540
|
-
this._euiPrimary = false;
|
541
|
-
this._euiSecondary = false;
|
542
|
-
this._euiInfo = false;
|
543
|
-
this._euiSuccess = false;
|
544
|
-
this._euiWarning = false;
|
545
|
-
this._euiDanger = false;
|
546
|
-
this._euiAccent = false;
|
547
|
-
this._euiVariant = "";
|
548
|
-
this._euiSize2XS = false;
|
549
|
-
this._euiSizeXS = false;
|
550
|
-
this._euiSizeS = false;
|
551
|
-
this._euiSizeM = false;
|
552
|
-
this._euiSizeL = false;
|
553
|
-
this._euiSizeXL = false;
|
554
|
-
this._euiSize2XL = false;
|
555
|
-
this._euiSize3XL = false;
|
556
|
-
this._euiSize4XL = false;
|
557
|
-
this._euiSize5XL = false;
|
558
|
-
this._euiSizeVariant = "";
|
559
|
-
this._euiRounded = false;
|
560
|
-
this._euiOutline = false;
|
561
|
-
this._euiCompact = false;
|
562
|
-
this._euiDisabled = false;
|
563
|
-
this._euiResponsive = false;
|
564
|
-
this._euiHighlighted = false;
|
565
|
-
this._euiClearable = false;
|
566
|
-
this._euiLoading = false;
|
567
|
-
}
|
568
|
-
get ariaDisabled() {
|
569
|
-
return this._euiDisabled ? true : null;
|
570
|
-
}
|
571
|
-
// COLORS
|
572
|
-
get euiPrimary() {
|
573
|
-
return coerceBooleanProperty19(this._euiPrimary);
|
574
|
-
}
|
575
|
-
set euiPrimary(value) {
|
576
|
-
this._euiPrimary = coerceBooleanProperty19(value);
|
577
|
-
}
|
578
|
-
get euiSecondary() {
|
579
|
-
return this._euiSecondary;
|
580
|
-
}
|
581
|
-
set euiSecondary(value) {
|
582
|
-
this._euiSecondary = coerceBooleanProperty19(value);
|
583
|
-
}
|
584
|
-
get euiInfo() {
|
585
|
-
return this._euiInfo;
|
586
|
-
}
|
587
|
-
set euiInfo(value) {
|
588
|
-
this._euiInfo = coerceBooleanProperty19(value);
|
589
|
-
}
|
590
|
-
get euiSuccess() {
|
591
|
-
return this._euiSuccess;
|
592
|
-
}
|
593
|
-
set euiSuccess(value) {
|
594
|
-
this._euiSuccess = coerceBooleanProperty19(value);
|
595
|
-
}
|
596
|
-
get euiWarning() {
|
597
|
-
return this._euiWarning;
|
598
|
-
}
|
599
|
-
set euiWarning(value) {
|
600
|
-
this._euiWarning = coerceBooleanProperty19(value);
|
601
|
-
}
|
602
|
-
get euiDanger() {
|
603
|
-
return this._euiDanger;
|
604
|
-
}
|
605
|
-
set euiDanger(value) {
|
606
|
-
this._euiDanger = coerceBooleanProperty19(value);
|
607
|
-
}
|
608
|
-
get euiAccent() {
|
609
|
-
return this._euiAccent;
|
610
|
-
}
|
611
|
-
set euiAccent(value) {
|
612
|
-
this._euiAccent = coerceBooleanProperty19(value);
|
613
|
-
}
|
614
|
-
get euiVariant() {
|
615
|
-
return this._euiVariant;
|
616
|
-
}
|
617
|
-
set euiVariant(value) {
|
618
|
-
this._euiPrimary = value === "primary";
|
619
|
-
this._euiSecondary = value === "secondary";
|
620
|
-
this._euiWarning = value === "warning";
|
621
|
-
this._euiInfo = value === "info";
|
622
|
-
this._euiSuccess = value === "success";
|
623
|
-
this._euiDanger = value === "danger";
|
624
|
-
this._euiAccent = value === "accent";
|
625
|
-
this._euiVariant = value;
|
626
|
-
}
|
627
|
-
// SIZES
|
628
|
-
get euiSize2XS() {
|
629
|
-
return this._euiSize2XS;
|
630
|
-
}
|
631
|
-
set euiSize2XS(value) {
|
632
|
-
this._euiSize2XS = coerceBooleanProperty19(value);
|
633
|
-
}
|
634
|
-
get euiSizeXS() {
|
635
|
-
return this._euiSizeXS;
|
636
|
-
}
|
637
|
-
set euiSizeXS(value) {
|
638
|
-
this._euiSizeXS = coerceBooleanProperty19(value);
|
639
|
-
}
|
640
|
-
get euiSizeS() {
|
641
|
-
return this._euiSizeS;
|
642
|
-
}
|
643
|
-
set euiSizeS(value) {
|
644
|
-
this._euiSizeS = coerceBooleanProperty19(value);
|
645
|
-
}
|
646
|
-
get euiSizeM() {
|
647
|
-
return this._euiSizeM;
|
648
|
-
}
|
649
|
-
set euiSizeM(value) {
|
650
|
-
this._euiSizeM = coerceBooleanProperty19(value);
|
651
|
-
}
|
652
|
-
get euiSizeL() {
|
653
|
-
return this._euiSizeL;
|
654
|
-
}
|
655
|
-
set euiSizeL(value) {
|
656
|
-
this._euiSizeL = coerceBooleanProperty19(value);
|
657
|
-
}
|
658
|
-
get euiSizeXL() {
|
659
|
-
return this._euiSizeXL;
|
660
|
-
}
|
661
|
-
set euiSizeXL(value) {
|
662
|
-
this._euiSizeXL = coerceBooleanProperty19(value);
|
663
|
-
}
|
664
|
-
get euiSize2XL() {
|
665
|
-
return this._euiSize2XL;
|
666
|
-
}
|
667
|
-
set euiSize2XL(value) {
|
668
|
-
this._euiSize2XL = coerceBooleanProperty19(value);
|
669
|
-
}
|
670
|
-
get euiSize3XL() {
|
671
|
-
return this._euiSize3XL;
|
672
|
-
}
|
673
|
-
set euiSize3XL(value) {
|
674
|
-
this._euiSize3XL = coerceBooleanProperty19(value);
|
675
|
-
}
|
676
|
-
get euiSize4XL() {
|
677
|
-
return this._euiSize4XL;
|
678
|
-
}
|
679
|
-
set euiSize4XL(value) {
|
680
|
-
this._euiSize4XL = coerceBooleanProperty19(value);
|
681
|
-
}
|
682
|
-
get euiSize5XL() {
|
683
|
-
return this._euiSize5XL;
|
684
|
-
}
|
685
|
-
set euiSize5XL(value) {
|
686
|
-
this._euiSize5XL = coerceBooleanProperty19(value);
|
687
|
-
}
|
688
|
-
get euiSizeVariant() {
|
689
|
-
return this._euiSizeVariant;
|
690
|
-
}
|
691
|
-
set euiSizeVariant(value) {
|
692
|
-
this._euiSize2XS = value === "2xs";
|
693
|
-
this._euiSizeXS = value === "xs";
|
694
|
-
this._euiSizeS = value === "s";
|
695
|
-
this._euiSizeM = value === "m";
|
696
|
-
this._euiSizeL = value === "l";
|
697
|
-
this._euiSizeXL = value === "xl";
|
698
|
-
this._euiSize2XL = value === "2xl";
|
699
|
-
this._euiSize3XL = value === "3xl";
|
700
|
-
this._euiSize4XL = value === "4xl";
|
701
|
-
this._euiSize5XL = value === "5xl";
|
702
|
-
this._euiSizeVariant = value;
|
703
|
-
}
|
704
|
-
// EXTRA SHAPES
|
705
|
-
get euiRounded() {
|
706
|
-
return this._euiRounded;
|
707
|
-
}
|
708
|
-
set euiRounded(value) {
|
709
|
-
this._euiRounded = coerceBooleanProperty19(value);
|
710
|
-
}
|
711
|
-
get euiOutline() {
|
712
|
-
return this._euiOutline;
|
713
|
-
}
|
714
|
-
set euiOutline(value) {
|
715
|
-
this._euiOutline = coerceBooleanProperty19(value);
|
716
|
-
}
|
717
|
-
get euiCompact() {
|
718
|
-
return this._euiCompact;
|
719
|
-
}
|
720
|
-
set euiCompact(value) {
|
721
|
-
this._euiCompact = coerceBooleanProperty19(value);
|
722
|
-
}
|
723
|
-
// STATES
|
724
|
-
get euiDisabled() {
|
725
|
-
return this._euiDisabled;
|
726
|
-
}
|
727
|
-
set euiDisabled(value) {
|
728
|
-
this._euiDisabled = coerceBooleanProperty19(value);
|
729
|
-
}
|
730
|
-
get euiResponsive() {
|
731
|
-
return this._euiResponsive;
|
732
|
-
}
|
733
|
-
set euiResponsive(value) {
|
734
|
-
this._euiResponsive = coerceBooleanProperty19(value);
|
735
|
-
}
|
736
|
-
get euiHighlighted() {
|
737
|
-
return this._euiHighlighted;
|
738
|
-
}
|
739
|
-
set euiHighlighted(value) {
|
740
|
-
this._euiHighlighted = coerceBooleanProperty19(value);
|
741
|
-
}
|
742
|
-
get euiClearable() {
|
743
|
-
return this._euiClearable;
|
744
|
-
}
|
745
|
-
set euiClearable(value) {
|
746
|
-
this._euiClearable = coerceBooleanProperty19(value);
|
747
|
-
}
|
748
|
-
get euiLoading() {
|
749
|
-
return this._euiLoading;
|
750
|
-
}
|
751
|
-
set euiLoading(value) {
|
752
|
-
this._euiLoading = coerceBooleanProperty19(value);
|
753
|
-
}
|
754
|
-
getCssClasses(rootClass) {
|
755
|
-
return [
|
756
|
-
rootClass,
|
757
|
-
this._euiPrimary ? `${rootClass}--primary` : "",
|
758
|
-
this._euiSecondary ? `${rootClass}--secondary` : "",
|
759
|
-
this._euiInfo ? `${rootClass}--info` : "",
|
760
|
-
this._euiSuccess ? `${rootClass}--success` : "",
|
761
|
-
this._euiWarning ? `${rootClass}--warning` : "",
|
762
|
-
this._euiDanger ? `${rootClass}--danger` : "",
|
763
|
-
this._euiAccent ? `${rootClass}--accent` : "",
|
764
|
-
this._euiSize2XS ? `${rootClass}--size-2xs` : "",
|
765
|
-
this._euiSizeXS ? `${rootClass}--size-xs` : "",
|
766
|
-
this._euiSizeS ? `${rootClass}--size-s` : "",
|
767
|
-
this._euiSizeM ? `${rootClass}--size-m` : "",
|
768
|
-
this._euiSizeL ? `${rootClass}--size-l` : "",
|
769
|
-
this._euiSizeXL ? `${rootClass}--size-xl` : "",
|
770
|
-
this._euiSize2XL ? `${rootClass}--size-2xl` : "",
|
771
|
-
this._euiSize3XL ? `${rootClass}--size-3xl` : "",
|
772
|
-
this._euiSize4XL ? `${rootClass}--size-4xl` : "",
|
773
|
-
this._euiSize5XL ? `${rootClass}--size-5xl` : "",
|
774
|
-
this._euiRounded ? `${rootClass}--rounded` : "",
|
775
|
-
this._euiOutline ? `${rootClass}--outline` : "",
|
776
|
-
this._euiDisabled ? `${rootClass}--disabled disabled` : "",
|
777
|
-
this._euiCompact ? `${rootClass}--compact` : "",
|
778
|
-
this._euiResponsive ? `${rootClass}--responsive` : "",
|
779
|
-
this._euiHighlighted ? `${rootClass}--highlighted` : "",
|
780
|
-
this._euiClearable ? `${rootClass}--clearable` : "",
|
781
|
-
this._euiLoading ? `${rootClass}--loading` : "",
|
782
|
-
this.styleClass ? this.styleClass : ""
|
783
|
-
].join(" ").trim();
|
784
|
-
}
|
785
|
-
static {
|
786
|
-
this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i0, type: _BaseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
787
|
-
}
|
788
|
-
static {
|
789
|
-
this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.2", type: _BaseDirective, selector: "[euiBase]", inputs: { e2eAttr: "e2eAttr", styleClass: "styleClass", euiPrimary: "euiPrimary", euiSecondary: "euiSecondary", euiInfo: "euiInfo", euiSuccess: "euiSuccess", euiWarning: "euiWarning", euiDanger: "euiDanger", euiAccent: "euiAccent", euiVariant: "euiVariant", euiSize2XS: "euiSize2XS", euiSizeXS: "euiSizeXS", euiSizeS: "euiSizeS", euiSizeM: "euiSizeM", euiSizeL: "euiSizeL", euiSizeXL: "euiSizeXL", euiSize2XL: "euiSize2XL", euiSize3XL: "euiSize3XL", euiSize4XL: "euiSize4XL", euiSize5XL: "euiSize5XL", euiSizeVariant: "euiSizeVariant", euiRounded: "euiRounded", euiOutline: "euiOutline", euiCompact: "euiCompact", euiDisabled: "euiDisabled", euiResponsive: "euiResponsive", euiHighlighted: "euiHighlighted", euiClearable: "euiClearable", euiLoading: "euiLoading" }, host: { properties: { "attr.aria-disabled": "this.ariaDisabled", "attr.data-e2e": "this.e2eAttr" } }, ngImport: i0 });
|
790
|
-
}
|
791
|
-
};
|
792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i0, type: BaseDirective, decorators: [{
|
793
|
-
type: Directive,
|
794
|
-
args: [{
|
795
|
-
selector: "[euiBase]"
|
796
|
-
}]
|
797
|
-
}], propDecorators: { ariaDisabled: [{
|
798
|
-
type: HostBinding,
|
799
|
-
args: ["attr.aria-disabled"]
|
800
|
-
}], e2eAttr: [{
|
801
|
-
type: HostBinding,
|
802
|
-
args: ["attr.data-e2e"]
|
803
|
-
}, {
|
804
|
-
type: Input
|
805
|
-
}], styleClass: [{
|
806
|
-
type: Input
|
807
|
-
}], euiPrimary: [{
|
808
|
-
type: Input
|
809
|
-
}], euiSecondary: [{
|
810
|
-
type: Input
|
811
|
-
}], euiInfo: [{
|
812
|
-
type: Input
|
813
|
-
}], euiSuccess: [{
|
814
|
-
type: Input
|
815
|
-
}], euiWarning: [{
|
816
|
-
type: Input
|
817
|
-
}], euiDanger: [{
|
818
|
-
type: Input
|
819
|
-
}], euiAccent: [{
|
820
|
-
type: Input
|
821
|
-
}], euiVariant: [{
|
822
|
-
type: Input
|
823
|
-
}], euiSize2XS: [{
|
824
|
-
type: Input
|
825
|
-
}], euiSizeXS: [{
|
826
|
-
type: Input
|
827
|
-
}], euiSizeS: [{
|
828
|
-
type: Input
|
829
|
-
}], euiSizeM: [{
|
830
|
-
type: Input
|
831
|
-
}], euiSizeL: [{
|
832
|
-
type: Input
|
833
|
-
}], euiSizeXL: [{
|
834
|
-
type: Input
|
835
|
-
}], euiSize2XL: [{
|
836
|
-
type: Input
|
837
|
-
}], euiSize3XL: [{
|
838
|
-
type: Input
|
839
|
-
}], euiSize4XL: [{
|
840
|
-
type: Input
|
841
|
-
}], euiSize5XL: [{
|
842
|
-
type: Input
|
843
|
-
}], euiSizeVariant: [{
|
844
|
-
type: Input
|
845
|
-
}], euiRounded: [{
|
846
|
-
type: Input
|
847
|
-
}], euiOutline: [{
|
848
|
-
type: Input
|
849
|
-
}], euiCompact: [{
|
850
|
-
type: Input
|
851
|
-
}], euiDisabled: [{
|
852
|
-
type: Input
|
853
|
-
}], euiResponsive: [{
|
854
|
-
type: Input
|
855
|
-
}], euiHighlighted: [{
|
856
|
-
type: Input
|
857
|
-
}], euiClearable: [{
|
858
|
-
type: Input
|
859
|
-
}], euiLoading: [{
|
860
|
-
type: Input
|
861
|
-
}] } });
|
862
|
-
|
863
|
-
// base-states.directive.mjs
|
864
|
-
import { Directive as Directive2, HostBinding as HostBinding2, Input as Input2, booleanAttribute } from "@angular/core";
|
865
|
-
import { coerceBooleanProperty as coerceBooleanProperty20 } from "@angular/cdk/coercion";
|
866
|
-
import * as i02 from "@angular/core";
|
867
|
-
var BaseStatesDirective = class _BaseStatesDirective {
|
868
|
-
constructor() {
|
869
|
-
this.euiRounded = false;
|
870
|
-
this.euiOutline = false;
|
871
|
-
this.euiCompact = false;
|
872
|
-
this.euiDisabled = false;
|
873
|
-
this.euiResponsive = false;
|
874
|
-
this.euiHighlighted = false;
|
875
|
-
this.euiClearable = false;
|
876
|
-
this.euiLoading = false;
|
877
|
-
this.euiInverted = false;
|
878
|
-
this._euiPrimary = false;
|
879
|
-
this._euiSecondary = false;
|
880
|
-
this._euiSecondaryLight = false;
|
881
|
-
this._euiInfo = false;
|
882
|
-
this._euiSuccess = false;
|
883
|
-
this._euiWarning = false;
|
884
|
-
this._euiDanger = false;
|
885
|
-
this._euiAccent = false;
|
886
|
-
this._euiSize2XS = false;
|
887
|
-
this._euiSizeXS = false;
|
888
|
-
this._euiSizeS = false;
|
889
|
-
this._euiSizeM = false;
|
890
|
-
this._euiSizeL = false;
|
891
|
-
this._euiSizeXL = false;
|
892
|
-
this._euiSize2XL = false;
|
893
|
-
this._euiSize3XL = false;
|
894
|
-
this._euiSize4XL = false;
|
895
|
-
this._euiSize5XL = false;
|
896
|
-
this._euiSizeVariant = "";
|
897
|
-
this._euiVariant = "";
|
898
|
-
}
|
899
|
-
get ariaDisabled() {
|
900
|
-
return this.euiDisabled ? true : null;
|
901
|
-
}
|
902
|
-
// COLORS
|
903
|
-
get euiPrimary() {
|
904
|
-
return this._euiPrimary;
|
905
|
-
}
|
906
|
-
set euiPrimary(value) {
|
907
|
-
this._euiPrimary = coerceBooleanProperty20(value);
|
908
|
-
this._euiVariant = "primary";
|
909
|
-
}
|
910
|
-
get euiSecondary() {
|
911
|
-
return this._euiSecondary;
|
912
|
-
}
|
913
|
-
set euiSecondary(value) {
|
914
|
-
this._euiSecondary = coerceBooleanProperty20(value);
|
915
|
-
this._euiVariant = "secondary";
|
916
|
-
}
|
917
|
-
get euiSecondaryLight() {
|
918
|
-
return this._euiSecondaryLight;
|
919
|
-
}
|
920
|
-
set euiSecondaryLight(value) {
|
921
|
-
this._euiSecondaryLight = coerceBooleanProperty20(value);
|
922
|
-
this._euiVariant = "secondaryLight";
|
923
|
-
}
|
924
|
-
get euiInfo() {
|
925
|
-
return this._euiInfo;
|
926
|
-
}
|
927
|
-
set euiInfo(value) {
|
928
|
-
this._euiInfo = coerceBooleanProperty20(value);
|
929
|
-
this._euiVariant = "info";
|
930
|
-
}
|
931
|
-
get euiSuccess() {
|
932
|
-
return this._euiSuccess;
|
933
|
-
}
|
934
|
-
set euiSuccess(value) {
|
935
|
-
this._euiSuccess = coerceBooleanProperty20(value);
|
936
|
-
this._euiVariant = "success";
|
937
|
-
}
|
938
|
-
get euiWarning() {
|
939
|
-
return this._euiWarning;
|
940
|
-
}
|
941
|
-
set euiWarning(value) {
|
942
|
-
this._euiWarning = coerceBooleanProperty20(value);
|
943
|
-
this._euiVariant = "warning";
|
944
|
-
}
|
945
|
-
get euiDanger() {
|
946
|
-
return this._euiDanger;
|
947
|
-
}
|
948
|
-
set euiDanger(value) {
|
949
|
-
this._euiDanger = coerceBooleanProperty20(value);
|
950
|
-
this._euiVariant = "danger";
|
951
|
-
}
|
952
|
-
get euiAccent() {
|
953
|
-
return this._euiAccent;
|
954
|
-
}
|
955
|
-
set euiAccent(value) {
|
956
|
-
this._euiAccent = coerceBooleanProperty20(value);
|
957
|
-
this._euiVariant = "accent";
|
958
|
-
}
|
959
|
-
get euiVariant() {
|
960
|
-
return this._euiVariant;
|
961
|
-
}
|
962
|
-
set euiVariant(value) {
|
963
|
-
this.euiPrimary = value === "primary";
|
964
|
-
this.euiSecondary = value === "secondary";
|
965
|
-
this.euiSecondaryLight = value === "secondaryLight";
|
966
|
-
this.euiWarning = value === "warning";
|
967
|
-
this.euiInfo = value === "info";
|
968
|
-
this.euiSuccess = value === "success";
|
969
|
-
this.euiDanger = value === "danger";
|
970
|
-
this.euiAccent = value === "accent";
|
971
|
-
this._euiVariant = value;
|
972
|
-
}
|
973
|
-
// SIZES
|
974
|
-
get euiSize2XS() {
|
975
|
-
return this._euiSize2XS;
|
976
|
-
}
|
977
|
-
set euiSize2XS(value) {
|
978
|
-
this._euiSize2XS = coerceBooleanProperty20(value);
|
979
|
-
this._euiSizeVariant = "2xs";
|
980
|
-
}
|
981
|
-
get euiSizeXS() {
|
982
|
-
return this._euiSizeXS;
|
983
|
-
}
|
984
|
-
set euiSizeXS(value) {
|
985
|
-
this._euiSizeXS = coerceBooleanProperty20(value);
|
986
|
-
this._euiSizeVariant = "xs";
|
987
|
-
}
|
988
|
-
get euiSizeS() {
|
989
|
-
return this._euiSizeS;
|
990
|
-
}
|
991
|
-
set euiSizeS(value) {
|
992
|
-
this._euiSizeS = coerceBooleanProperty20(value);
|
993
|
-
this._euiSizeVariant = "s";
|
994
|
-
}
|
995
|
-
get euiSizeM() {
|
996
|
-
return this._euiSizeM;
|
997
|
-
}
|
998
|
-
set euiSizeM(value) {
|
999
|
-
this._euiSizeM = coerceBooleanProperty20(value);
|
1000
|
-
this._euiSizeVariant = "m";
|
1001
|
-
}
|
1002
|
-
get euiSizeL() {
|
1003
|
-
return this._euiSizeL;
|
1004
|
-
}
|
1005
|
-
set euiSizeL(value) {
|
1006
|
-
this._euiSizeL = coerceBooleanProperty20(value);
|
1007
|
-
this._euiSizeVariant = "l";
|
1008
|
-
}
|
1009
|
-
get euiSizeXL() {
|
1010
|
-
return this._euiSizeXL;
|
1011
|
-
}
|
1012
|
-
set euiSizeXL(value) {
|
1013
|
-
this._euiSizeXL = coerceBooleanProperty20(value);
|
1014
|
-
this._euiSizeVariant = "xl";
|
1015
|
-
}
|
1016
|
-
get euiSize2XL() {
|
1017
|
-
return this._euiSize2XL;
|
1018
|
-
}
|
1019
|
-
set euiSize2XL(value) {
|
1020
|
-
this._euiSize2XL = coerceBooleanProperty20(value);
|
1021
|
-
this._euiSizeVariant = "2xl";
|
1022
|
-
}
|
1023
|
-
get euiSize3XL() {
|
1024
|
-
return this._euiSize3XL;
|
1025
|
-
}
|
1026
|
-
set euiSize3XL(value) {
|
1027
|
-
this._euiSize3XL = coerceBooleanProperty20(value);
|
1028
|
-
this._euiSizeVariant = "3xl";
|
1029
|
-
}
|
1030
|
-
get euiSize4XL() {
|
1031
|
-
return this._euiSize4XL;
|
1032
|
-
}
|
1033
|
-
set euiSize4XL(value) {
|
1034
|
-
this._euiSize4XL = coerceBooleanProperty20(value);
|
1035
|
-
this._euiSizeVariant = "4xl";
|
1036
|
-
}
|
1037
|
-
get euiSize5XL() {
|
1038
|
-
return this._euiSize5XL;
|
1039
|
-
}
|
1040
|
-
set euiSize5XL(value) {
|
1041
|
-
this._euiSize5XL = coerceBooleanProperty20(value);
|
1042
|
-
this._euiSizeVariant = "5xl";
|
1043
|
-
}
|
1044
|
-
get euiSizeVariant() {
|
1045
|
-
return this._euiSizeVariant;
|
1046
|
-
}
|
1047
|
-
set euiSizeVariant(value) {
|
1048
|
-
this.euiSize2XS = value === "2xs";
|
1049
|
-
this.euiSizeXS = value === "xs";
|
1050
|
-
this.euiSizeS = value === "s";
|
1051
|
-
this.euiSizeM = value === "m";
|
1052
|
-
this.euiSizeL = value === "l";
|
1053
|
-
this.euiSizeXL = value === "xl";
|
1054
|
-
this.euiSize2XL = value === "2xl";
|
1055
|
-
this.euiSize3XL = value === "3xl";
|
1056
|
-
this.euiSize4XL = value === "4xl";
|
1057
|
-
this.euiSize5XL = value === "5xl";
|
1058
|
-
this._euiSizeVariant = value;
|
1059
|
-
}
|
1060
|
-
getCssClasses(rootClass) {
|
1061
|
-
return [
|
1062
|
-
rootClass,
|
1063
|
-
this.euiPrimary ? `${rootClass}--primary` : "",
|
1064
|
-
this.euiSecondary ? `${rootClass}--secondary` : "",
|
1065
|
-
this.euiSecondaryLight ? `${rootClass}--secondary-light` : "",
|
1066
|
-
this.euiInfo ? `${rootClass}--info` : "",
|
1067
|
-
this.euiSuccess ? `${rootClass}--success` : "",
|
1068
|
-
this.euiWarning ? `${rootClass}--warning` : "",
|
1069
|
-
this.euiDanger ? `${rootClass}--danger` : "",
|
1070
|
-
this.euiAccent ? `${rootClass}--accent` : "",
|
1071
|
-
this.euiSize2XS ? `${rootClass}--size-2xs` : "",
|
1072
|
-
this.euiSizeXS ? `${rootClass}--size-xs` : "",
|
1073
|
-
this.euiSizeS ? `${rootClass}--size-s` : "",
|
1074
|
-
this.euiSizeM ? `${rootClass}--size-m` : "",
|
1075
|
-
this.euiSizeL ? `${rootClass}--size-l` : "",
|
1076
|
-
this.euiSizeXL ? `${rootClass}--size-xl` : "",
|
1077
|
-
this.euiSize2XL ? `${rootClass}--size-2xl` : "",
|
1078
|
-
this.euiSize3XL ? `${rootClass}--size-3xl` : "",
|
1079
|
-
this.euiSize4XL ? `${rootClass}--size-4xl` : "",
|
1080
|
-
this.euiSize5XL ? `${rootClass}--size-5xl` : "",
|
1081
|
-
this.euiRounded ? `${rootClass}--rounded` : "",
|
1082
|
-
this.euiOutline ? `${rootClass}--outline` : "",
|
1083
|
-
this.euiDisabled ? `${rootClass}--disabled disabled` : "",
|
1084
|
-
this.euiCompact ? `${rootClass}--compact` : "",
|
1085
|
-
this.euiResponsive ? `${rootClass}--responsive` : "",
|
1086
|
-
this.euiHighlighted ? `${rootClass}--highlighted` : "",
|
1087
|
-
this.euiClearable ? `${rootClass}--clearable` : "",
|
1088
|
-
this.euiLoading ? `${rootClass}--loading` : "",
|
1089
|
-
this.euiInverted ? `${rootClass}--inverted` : ""
|
1090
|
-
].join(" ").trim();
|
1091
|
-
}
|
1092
|
-
static {
|
1093
|
-
this.ɵfac = i02.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i02, type: _BaseStatesDirective, deps: [], target: i02.ɵɵFactoryTarget.Directive });
|
1094
|
-
}
|
1095
|
-
static {
|
1096
|
-
this.ɵdir = i02.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.2", type: _BaseStatesDirective, isStandalone: true, selector: "[euiBase]", inputs: { euiPrimary: "euiPrimary", euiSecondary: "euiSecondary", euiSecondaryLight: "euiSecondaryLight", euiInfo: "euiInfo", euiSuccess: "euiSuccess", euiWarning: "euiWarning", euiDanger: "euiDanger", euiAccent: "euiAccent", euiVariant: "euiVariant", euiSize2XS: "euiSize2XS", euiSizeXS: "euiSizeXS", euiSizeS: "euiSizeS", euiSizeM: "euiSizeM", euiSizeL: "euiSizeL", euiSizeXL: "euiSizeXL", euiSize2XL: "euiSize2XL", euiSize3XL: "euiSize3XL", euiSize4XL: "euiSize4XL", euiSize5XL: "euiSize5XL", euiSizeVariant: "euiSizeVariant", euiRounded: ["euiRounded", "euiRounded", booleanAttribute], euiOutline: ["euiOutline", "euiOutline", booleanAttribute], euiCompact: ["euiCompact", "euiCompact", booleanAttribute], euiDisabled: ["euiDisabled", "euiDisabled", booleanAttribute], euiResponsive: ["euiResponsive", "euiResponsive", booleanAttribute], euiHighlighted: ["euiHighlighted", "euiHighlighted", booleanAttribute], euiClearable: ["euiClearable", "euiClearable", booleanAttribute], euiLoading: ["euiLoading", "euiLoading", booleanAttribute], euiInverted: ["euiInverted", "euiInverted", booleanAttribute] }, host: { properties: { "attr.aria-disabled": "this.ariaDisabled" } }, ngImport: i02 });
|
1097
|
-
}
|
1098
|
-
};
|
1099
|
-
i02.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i02, type: BaseStatesDirective, decorators: [{
|
1100
|
-
type: Directive2,
|
1101
|
-
args: [{
|
1102
|
-
standalone: true,
|
1103
|
-
selector: "[euiBase]"
|
1104
|
-
}]
|
1105
|
-
}], propDecorators: { ariaDisabled: [{
|
1106
|
-
type: HostBinding2,
|
1107
|
-
args: ["attr.aria-disabled"]
|
1108
|
-
}], euiPrimary: [{
|
1109
|
-
type: Input2
|
1110
|
-
}], euiSecondary: [{
|
1111
|
-
type: Input2
|
1112
|
-
}], euiSecondaryLight: [{
|
1113
|
-
type: Input2
|
1114
|
-
}], euiInfo: [{
|
1115
|
-
type: Input2
|
1116
|
-
}], euiSuccess: [{
|
1117
|
-
type: Input2
|
1118
|
-
}], euiWarning: [{
|
1119
|
-
type: Input2
|
1120
|
-
}], euiDanger: [{
|
1121
|
-
type: Input2
|
1122
|
-
}], euiAccent: [{
|
1123
|
-
type: Input2
|
1124
|
-
}], euiVariant: [{
|
1125
|
-
type: Input2
|
1126
|
-
}], euiSize2XS: [{
|
1127
|
-
type: Input2
|
1128
|
-
}], euiSizeXS: [{
|
1129
|
-
type: Input2
|
1130
|
-
}], euiSizeS: [{
|
1131
|
-
type: Input2
|
1132
|
-
}], euiSizeM: [{
|
1133
|
-
type: Input2
|
1134
|
-
}], euiSizeL: [{
|
1135
|
-
type: Input2
|
1136
|
-
}], euiSizeXL: [{
|
1137
|
-
type: Input2
|
1138
|
-
}], euiSize2XL: [{
|
1139
|
-
type: Input2
|
1140
|
-
}], euiSize3XL: [{
|
1141
|
-
type: Input2
|
1142
|
-
}], euiSize4XL: [{
|
1143
|
-
type: Input2
|
1144
|
-
}], euiSize5XL: [{
|
1145
|
-
type: Input2
|
1146
|
-
}], euiSizeVariant: [{
|
1147
|
-
type: Input2
|
1148
|
-
}], euiRounded: [{
|
1149
|
-
type: Input2,
|
1150
|
-
args: [{ transform: booleanAttribute }]
|
1151
|
-
}], euiOutline: [{
|
1152
|
-
type: Input2,
|
1153
|
-
args: [{ transform: booleanAttribute }]
|
1154
|
-
}], euiCompact: [{
|
1155
|
-
type: Input2,
|
1156
|
-
args: [{ transform: booleanAttribute }]
|
1157
|
-
}], euiDisabled: [{
|
1158
|
-
type: Input2,
|
1159
|
-
args: [{ transform: booleanAttribute }]
|
1160
|
-
}], euiResponsive: [{
|
1161
|
-
type: Input2,
|
1162
|
-
args: [{ transform: booleanAttribute }]
|
1163
|
-
}], euiHighlighted: [{
|
1164
|
-
type: Input2,
|
1165
|
-
args: [{ transform: booleanAttribute }]
|
1166
|
-
}], euiClearable: [{
|
1167
|
-
type: Input2,
|
1168
|
-
args: [{ transform: booleanAttribute }]
|
1169
|
-
}], euiLoading: [{
|
1170
|
-
type: Input2,
|
1171
|
-
args: [{ transform: booleanAttribute }]
|
1172
|
-
}], euiInverted: [{
|
1173
|
-
type: Input2,
|
1174
|
-
args: [{ transform: booleanAttribute }]
|
1175
|
-
}] } });
|
1176
|
-
export {
|
1177
|
-
BaseComponentMixinBase,
|
1178
|
-
BaseDirective,
|
1179
|
-
BaseStatesDirective,
|
1180
|
-
applyMixins,
|
1181
|
-
mixinEuiAccent,
|
1182
|
-
mixinEuiClearable,
|
1183
|
-
mixinEuiCompact,
|
1184
|
-
mixinEuiDanger,
|
1185
|
-
mixinEuiDisabled,
|
1186
|
-
mixinEuiHighlighted,
|
1187
|
-
mixinEuiInfo,
|
1188
|
-
mixinEuiLargeSize,
|
1189
|
-
mixinEuiLoading,
|
1190
|
-
mixinEuiMediumSize,
|
1191
|
-
mixinEuiOutline,
|
1192
|
-
mixinEuiPrimary,
|
1193
|
-
mixinEuiResponsive,
|
1194
|
-
mixinEuiRounded,
|
1195
|
-
mixinEuiSecondary,
|
1196
|
-
mixinEuiSmallSize,
|
1197
|
-
mixinEuiSuccess,
|
1198
|
-
mixinEuiVariant,
|
1199
|
-
mixinEuiWarning
|
1200
|
-
};
|
1201
|
-
/**
|
1202
|
-
* @license
|
1203
|
-
* Copyright European Commission All Rights Reserved.
|
1204
|
-
*
|
1205
|
-
* Use of this source code is governed by an EUPL-style license that can be
|
1206
|
-
* found in the LICENSE file at https://ec.europa.eu/info/european-union-public-licence_en
|
1207
|
-
*/
|
1208
|
-
//# sourceMappingURL=eui-components-shared-base.mjs.map
|