@eui/mobile-core 14.0.0-beta.4 → 14.0.0-beta.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/EuimAppComponent.html +1 -1
- package/docs/components/EuimMenuComponent.html +1 -1
- package/docs/dependencies.html +5 -7
- package/docs/js/search/search_index.js +2 -2
- package/esm2020/lib/components/atoms/euim-label/euim-label.component.mjs +19 -7
- package/esm2020/lib/components/euim-base.directive.mjs +103 -35
- package/esm2020/lib/components/euim-menu/euim-menu.component.mjs +17 -15
- package/esm2020/lib/components/layout/euim-app/euim-app.component.mjs +6 -4
- package/esm2020/lib/euim-all.module.mjs +2 -2
- package/fesm2015/eui-mobile-core.mjs +239 -156
- package/fesm2015/eui-mobile-core.mjs.map +1 -1
- package/fesm2020/eui-mobile-core.mjs +234 -151
- package/fesm2020/eui-mobile-core.mjs.map +1 -1
- package/package.json +3 -4
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export * from '@eui/base';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Injectable, Directive, HostBinding, Input, Component, ViewEncapsulation, NgModule, EventEmitter,
|
|
3
|
+
import { Injectable, Directive, HostBinding, Input, Component, ViewEncapsulation, NgModule, EventEmitter, Output, ChangeDetectionStrategy } from '@angular/core';
|
|
4
4
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
5
5
|
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
6
|
-
import * as
|
|
6
|
+
import * as i4 from '@angular/common';
|
|
7
7
|
import { CommonModule } from '@angular/common';
|
|
8
|
-
import * as i1 from '@ionic/angular';
|
|
8
|
+
import * as i1$1 from '@ionic/angular';
|
|
9
9
|
import { IonicModule } from '@ionic/angular';
|
|
10
|
-
import
|
|
11
|
-
import * as i5 from '@eui/ecl-core';
|
|
12
|
-
import { EclLanguageService, EclDefaultLanguageService, EclLanguageListComponentModule, EclLinkDirectiveModule, EclIconComponentModule } from '@eui/ecl-core';
|
|
13
|
-
import * as i2$1 from '@eui/core';
|
|
10
|
+
import * as i2 from '@eui/core';
|
|
14
11
|
import { UxEuLanguages } from '@eui/core';
|
|
15
12
|
import { takeUntil, distinctUntilKeyChanged } from 'rxjs/operators';
|
|
16
|
-
import * as i1
|
|
13
|
+
import * as i1 from '@ngx-translate/core';
|
|
17
14
|
import { TranslateModule } from '@ngx-translate/core';
|
|
15
|
+
import * as i5 from '@eui/ecl-core';
|
|
16
|
+
import { EclLanguageService, EclDefaultLanguageService, EclLanguageListComponentModule, EclLinkDirectiveModule, EclIconComponentModule } from '@eui/ecl-core';
|
|
17
|
+
import { RouterModule } from '@angular/router';
|
|
18
18
|
|
|
19
19
|
const initialState = {
|
|
20
20
|
isLanguageListVisible: false,
|
|
@@ -66,41 +66,109 @@ class EuimBaseDirective {
|
|
|
66
66
|
this._euiSize4XL = false;
|
|
67
67
|
}
|
|
68
68
|
// TYPECLASS
|
|
69
|
-
get euiPrimary() {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
set
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
get
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
set
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
get
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
set
|
|
69
|
+
get euiPrimary() {
|
|
70
|
+
return this._euiPrimary;
|
|
71
|
+
}
|
|
72
|
+
set euiPrimary(value) {
|
|
73
|
+
this._euiPrimary = coerceBooleanProperty(value);
|
|
74
|
+
}
|
|
75
|
+
get euiSecondary() {
|
|
76
|
+
return this._euiSecondary;
|
|
77
|
+
}
|
|
78
|
+
set euiSecondary(value) {
|
|
79
|
+
this._euiSecondary = coerceBooleanProperty(value);
|
|
80
|
+
}
|
|
81
|
+
get euiInfo() {
|
|
82
|
+
return this._euiInfo;
|
|
83
|
+
}
|
|
84
|
+
set euiInfo(value) {
|
|
85
|
+
this._euiInfo = coerceBooleanProperty(value);
|
|
86
|
+
}
|
|
87
|
+
get euiSuccess() {
|
|
88
|
+
return this._euiSuccess;
|
|
89
|
+
}
|
|
90
|
+
set euiSuccess(value) {
|
|
91
|
+
this._euiSuccess = coerceBooleanProperty(value);
|
|
92
|
+
}
|
|
93
|
+
get euiWarning() {
|
|
94
|
+
return this._euiWarning;
|
|
95
|
+
}
|
|
96
|
+
set euiWarning(value) {
|
|
97
|
+
this._euiWarning = coerceBooleanProperty(value);
|
|
98
|
+
}
|
|
99
|
+
get euiDanger() {
|
|
100
|
+
return this._euiDanger;
|
|
101
|
+
}
|
|
102
|
+
set euiDanger(value) {
|
|
103
|
+
this._euiDanger = coerceBooleanProperty(value);
|
|
104
|
+
}
|
|
105
|
+
get euiAccent() {
|
|
106
|
+
return this._euiAccent;
|
|
107
|
+
}
|
|
108
|
+
set euiAccent(value) {
|
|
109
|
+
this._euiAccent = coerceBooleanProperty(value);
|
|
110
|
+
}
|
|
111
|
+
get euiInverted() {
|
|
112
|
+
return this._euiInverted;
|
|
113
|
+
}
|
|
114
|
+
set euiInverted(value) {
|
|
115
|
+
this._euiInverted = coerceBooleanProperty(value);
|
|
116
|
+
}
|
|
85
117
|
// SIZES
|
|
86
|
-
get euiSize2XS() {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
set
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
get
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
set
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
get
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
set
|
|
102
|
-
|
|
103
|
-
|
|
118
|
+
get euiSize2XS() {
|
|
119
|
+
return this._euiSize2XS;
|
|
120
|
+
}
|
|
121
|
+
set euiSize2XS(value) {
|
|
122
|
+
this._euiSize2XS = coerceBooleanProperty(value);
|
|
123
|
+
}
|
|
124
|
+
get euiSizeXS() {
|
|
125
|
+
return this._euiSizeXS;
|
|
126
|
+
}
|
|
127
|
+
set euiSizeXS(value) {
|
|
128
|
+
this._euiSizeXS = coerceBooleanProperty(value);
|
|
129
|
+
}
|
|
130
|
+
get euiSizeS() {
|
|
131
|
+
return this._euiSizeS;
|
|
132
|
+
}
|
|
133
|
+
set euiSizeS(value) {
|
|
134
|
+
this._euiSizeS = coerceBooleanProperty(value);
|
|
135
|
+
}
|
|
136
|
+
get euiSizeM() {
|
|
137
|
+
return this._euiSizeM;
|
|
138
|
+
}
|
|
139
|
+
set euiSizeM(value) {
|
|
140
|
+
this._euiSizeM = coerceBooleanProperty(value);
|
|
141
|
+
}
|
|
142
|
+
get euiSizeL() {
|
|
143
|
+
return this._euiSizeL;
|
|
144
|
+
}
|
|
145
|
+
set euiSizeL(value) {
|
|
146
|
+
this._euiSizeL = coerceBooleanProperty(value);
|
|
147
|
+
}
|
|
148
|
+
get euiSizeXL() {
|
|
149
|
+
return this._euiSizeXL;
|
|
150
|
+
}
|
|
151
|
+
set euiSizeXL(value) {
|
|
152
|
+
this._euiSizeXL = coerceBooleanProperty(value);
|
|
153
|
+
}
|
|
154
|
+
get euiSize2XL() {
|
|
155
|
+
return this._euiSize2XL;
|
|
156
|
+
}
|
|
157
|
+
set euiSize2XL(value) {
|
|
158
|
+
this._euiSize2XL = coerceBooleanProperty(value);
|
|
159
|
+
}
|
|
160
|
+
get euiSize3XL() {
|
|
161
|
+
return this._euiSize3XL;
|
|
162
|
+
}
|
|
163
|
+
set euiSize3XL(value) {
|
|
164
|
+
this._euiSize3XL = coerceBooleanProperty(value);
|
|
165
|
+
}
|
|
166
|
+
get euiSize4XL() {
|
|
167
|
+
return this._euiSize4XL;
|
|
168
|
+
}
|
|
169
|
+
set euiSize4XL(value) {
|
|
170
|
+
this._euiSize4XL = coerceBooleanProperty(value);
|
|
171
|
+
}
|
|
104
172
|
getCssClasses(rootClass) {
|
|
105
173
|
return [
|
|
106
174
|
rootClass,
|
|
@@ -187,12 +255,24 @@ class EuimLabelComponent extends EuimBaseDirective {
|
|
|
187
255
|
this._euimLabelSubTitle = false;
|
|
188
256
|
this._euimLabelMeta = false;
|
|
189
257
|
}
|
|
190
|
-
get euimLabelTitle() {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
set
|
|
194
|
-
|
|
195
|
-
|
|
258
|
+
get euimLabelTitle() {
|
|
259
|
+
return this._euimLabelTitle;
|
|
260
|
+
}
|
|
261
|
+
set euimLabelTitle(value) {
|
|
262
|
+
this._euimLabelTitle = coerceBooleanProperty(value);
|
|
263
|
+
}
|
|
264
|
+
get euimLabelSubTitle() {
|
|
265
|
+
return this._euimLabelSubTitle;
|
|
266
|
+
}
|
|
267
|
+
set euimLabelSubTitle(value) {
|
|
268
|
+
this._euimLabelSubTitle = coerceBooleanProperty(value);
|
|
269
|
+
}
|
|
270
|
+
get euimLabelMeta() {
|
|
271
|
+
return this._euimLabelMeta;
|
|
272
|
+
}
|
|
273
|
+
set euimLabelMeta(value) {
|
|
274
|
+
this._euimLabelMeta = coerceBooleanProperty(value);
|
|
275
|
+
}
|
|
196
276
|
get cssClasses() {
|
|
197
277
|
return this.getCssClasses();
|
|
198
278
|
}
|
|
@@ -391,6 +471,85 @@ class EuimControlFeedbackModule {
|
|
|
391
471
|
IonicModule], exports: [EuimControlFeedbackComponent] });
|
|
392
472
|
})();
|
|
393
473
|
|
|
474
|
+
function EuimLanguageListComponent_ecl_language_list_item_2_Template(rf, ctx) {
|
|
475
|
+
if (rf & 1) {
|
|
476
|
+
i0.ɵɵelement(0, "ecl-language-list-item", 2);
|
|
477
|
+
}
|
|
478
|
+
if (rf & 2) {
|
|
479
|
+
const language_r1 = ctx.$implicit;
|
|
480
|
+
i0.ɵɵproperty("languageCode", language_r1.code)("languageLabel", language_r1.label);
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
class EuimLanguageListComponent extends EuimBaseDirective {
|
|
484
|
+
constructor(cd, translateService, appShellService, appService) {
|
|
485
|
+
super();
|
|
486
|
+
this.cd = cd;
|
|
487
|
+
this.translateService = translateService;
|
|
488
|
+
this.appShellService = appShellService;
|
|
489
|
+
this.appService = appService;
|
|
490
|
+
this.languageSelected = new EventEmitter();
|
|
491
|
+
this.destroy$ = new Subject();
|
|
492
|
+
}
|
|
493
|
+
ngOnInit() {
|
|
494
|
+
this.appShellService.state$.pipe(takeUntil(this.destroy$), distinctUntilKeyChanged('languages')).subscribe((state) => {
|
|
495
|
+
this.languages = (state.languages) ?
|
|
496
|
+
UxEuLanguages.getOrderedLanguages(state.languages) :
|
|
497
|
+
UxEuLanguages.getLanguages();
|
|
498
|
+
this.cd.detectChanges();
|
|
499
|
+
});
|
|
500
|
+
this.appShellService.state$.pipe(takeUntil(this.destroy$), distinctUntilKeyChanged('activeLanguage')).subscribe((state) => {
|
|
501
|
+
this.selectedLanguage = {
|
|
502
|
+
code: state.activeLanguage,
|
|
503
|
+
label: this.getLanguageLabel(state.activeLanguage),
|
|
504
|
+
};
|
|
505
|
+
this.cd.detectChanges();
|
|
506
|
+
});
|
|
507
|
+
}
|
|
508
|
+
ngOnDestroy() {
|
|
509
|
+
this.destroy$.next(true);
|
|
510
|
+
this.destroy$.unsubscribe();
|
|
511
|
+
}
|
|
512
|
+
onLanguageSelected(evt) {
|
|
513
|
+
this.translateService.use(evt.language.code);
|
|
514
|
+
this.appService.isLanguageListVisible = false;
|
|
515
|
+
this.appShellService.setState(Object.assign(Object.assign({}, this.appShellService.state), { activeLanguage: evt.language.code }));
|
|
516
|
+
}
|
|
517
|
+
onLanguageListClose() {
|
|
518
|
+
this.appService.isLanguageListVisible = false;
|
|
519
|
+
}
|
|
520
|
+
getLanguageLabel(languageCode) {
|
|
521
|
+
for (const language of this.languages) {
|
|
522
|
+
if (language.code === languageCode) {
|
|
523
|
+
return language.label;
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
return;
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
/** @nocollapse */ EuimLanguageListComponent.ɵfac = function EuimLanguageListComponent_Factory(t) { return new (t || EuimLanguageListComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1.TranslateService), i0.ɵɵdirectiveInject(i2.UxAppShellService), i0.ɵɵdirectiveInject(EuimAppService)); };
|
|
530
|
+
/** @nocollapse */ EuimLanguageListComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: EuimLanguageListComponent, selectors: [["euim-language-list"]], outputs: { languageSelected: "languageSelected" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 6, consts: [[3, "selectedLanguageCode", "isOverlay", "isHidden", "languageSelected", "close"], [3, "languageCode", "languageLabel", 4, "ngFor", "ngForOf"], [3, "languageCode", "languageLabel"]], template: function EuimLanguageListComponent_Template(rf, ctx) {
|
|
531
|
+
if (rf & 1) {
|
|
532
|
+
i0.ɵɵelementStart(0, "ecl-language-list", 0);
|
|
533
|
+
i0.ɵɵlistener("languageSelected", function EuimLanguageListComponent_Template_ecl_language_list_languageSelected_0_listener($event) { return ctx.onLanguageSelected($event); })("close", function EuimLanguageListComponent_Template_ecl_language_list_close_0_listener() { return ctx.onLanguageListClose(); });
|
|
534
|
+
i0.ɵɵpipe(1, "async");
|
|
535
|
+
i0.ɵɵtemplate(2, EuimLanguageListComponent_ecl_language_list_item_2_Template, 1, 2, "ecl-language-list-item", 1);
|
|
536
|
+
i0.ɵɵelementEnd();
|
|
537
|
+
}
|
|
538
|
+
if (rf & 2) {
|
|
539
|
+
i0.ɵɵproperty("selectedLanguageCode", ctx.selectedLanguage == null ? null : ctx.selectedLanguage.code)("isOverlay", true)("isHidden", !i0.ɵɵpipeBind1(1, 4, ctx.appService.state$).isLanguageListVisible);
|
|
540
|
+
i0.ɵɵadvance(2);
|
|
541
|
+
i0.ɵɵproperty("ngForOf", ctx.languages);
|
|
542
|
+
}
|
|
543
|
+
}, dependencies: [i4.NgForOf, i5.EclLanguageListComponent, i5.EclLanguageListItemComponent, i4.AsyncPipe], encapsulation: 2 });
|
|
544
|
+
(function () {
|
|
545
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EuimLanguageListComponent, [{
|
|
546
|
+
type: Component,
|
|
547
|
+
args: [{ selector: 'euim-language-list', template: "<ecl-language-list\n [selectedLanguageCode]=\"selectedLanguage?.code\"\n [isOverlay]=\"true\"\n [isHidden]=\"!(appService.state$ | async).isLanguageListVisible\"\n (languageSelected)=\"onLanguageSelected($event)\"\n (close)=\"onLanguageListClose()\">\n <ecl-language-list-item\n *ngFor=\"let language of languages\"\n [languageCode]=\"language.code\"\n [languageLabel]=\"language.label\">\n </ecl-language-list-item>\n</ecl-language-list>\n" }]
|
|
548
|
+
}], function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.TranslateService }, { type: i2.UxAppShellService }, { type: EuimAppService }]; }, { languageSelected: [{
|
|
549
|
+
type: Output
|
|
550
|
+
}] });
|
|
551
|
+
})();
|
|
552
|
+
|
|
394
553
|
const _c0$i = ["*"];
|
|
395
554
|
class EuimAppComponent extends EuimBaseDirective {
|
|
396
555
|
constructor(asService) {
|
|
@@ -400,29 +559,30 @@ class EuimAppComponent extends EuimBaseDirective {
|
|
|
400
559
|
}
|
|
401
560
|
}
|
|
402
561
|
/** @nocollapse */ EuimAppComponent.ɵfac = function EuimAppComponent_Factory(t) { return new (t || EuimAppComponent)(i0.ɵɵdirectiveInject(EuimAppService)); };
|
|
403
|
-
/** @nocollapse */ EuimAppComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: EuimAppComponent, selectors: [["euim-app"]], inputs: { ionMenuId: "ionMenuId" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$i, decls:
|
|
562
|
+
/** @nocollapse */ EuimAppComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: EuimAppComponent, selectors: [["euim-app"]], inputs: { ionMenuId: "ionMenuId" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$i, decls: 4, vars: 1, consts: [[3, "id"]], template: function EuimAppComponent_Template(rf, ctx) {
|
|
404
563
|
if (rf & 1) {
|
|
405
564
|
i0.ɵɵprojectionDef();
|
|
406
565
|
i0.ɵɵelementStart(0, "ion-app");
|
|
407
566
|
i0.ɵɵprojection(1);
|
|
408
567
|
i0.ɵɵelement(2, "ion-router-outlet", 0);
|
|
409
568
|
i0.ɵɵelementEnd();
|
|
569
|
+
i0.ɵɵelement(3, "euim-language-list");
|
|
410
570
|
}
|
|
411
571
|
if (rf & 2) {
|
|
412
572
|
i0.ɵɵadvance(2);
|
|
413
573
|
i0.ɵɵpropertyInterpolate("id", ctx.ionMenuId);
|
|
414
574
|
}
|
|
415
|
-
}, dependencies: [i1.IonApp, i1.IonRouterOutlet], encapsulation: 2 });
|
|
575
|
+
}, dependencies: [i1$1.IonApp, i1$1.IonRouterOutlet, EuimLanguageListComponent], encapsulation: 2 });
|
|
416
576
|
(function () {
|
|
417
577
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EuimAppComponent, [{
|
|
418
578
|
type: Component,
|
|
419
|
-
args: [{ selector: 'euim-app', template: "<ion-app>\n <ng-content></ng-content>\n <ion-router-outlet id=\"{{ionMenuId}}\"></ion-router-outlet>\n</ion-app>\n\n
|
|
579
|
+
args: [{ selector: 'euim-app', template: "<ion-app>\n <ng-content></ng-content>\n <ion-router-outlet id=\"{{ionMenuId}}\"></ion-router-outlet>\n</ion-app>\n\n<euim-language-list></euim-language-list>\n" }]
|
|
420
580
|
}], function () { return [{ type: EuimAppService }]; }, { ionMenuId: [{
|
|
421
581
|
type: Input
|
|
422
582
|
}] });
|
|
423
583
|
})();
|
|
424
584
|
|
|
425
|
-
function
|
|
585
|
+
function EuimMenuComponent_ng_container_1_ion_list_header_2_Template(rf, ctx) {
|
|
426
586
|
if (rf & 1) {
|
|
427
587
|
i0.ɵɵelementStart(0, "ion-list-header");
|
|
428
588
|
i0.ɵɵtext(1);
|
|
@@ -434,21 +594,21 @@ function EuimMenuComponent_ng_container_1_ion_list_header_1_Template(rf, ctx) {
|
|
|
434
594
|
i0.ɵɵtextInterpolate1(" ", item_r1.subtitle, " ");
|
|
435
595
|
}
|
|
436
596
|
}
|
|
437
|
-
function
|
|
597
|
+
function EuimMenuComponent_ng_container_1_ion_item_3_ion_icon_1_Template(rf, ctx) {
|
|
438
598
|
if (rf & 1) {
|
|
439
|
-
i0.ɵɵelement(0, "ion-icon",
|
|
599
|
+
i0.ɵɵelement(0, "ion-icon", 6);
|
|
440
600
|
}
|
|
441
601
|
if (rf & 2) {
|
|
442
602
|
const item_r1 = i0.ɵɵnextContext(2).$implicit;
|
|
443
603
|
i0.ɵɵproperty("name", item_r1.icon)("color", item_r1.iconColor);
|
|
444
604
|
}
|
|
445
605
|
}
|
|
446
|
-
function
|
|
606
|
+
function EuimMenuComponent_ng_container_1_ion_item_3_Template(rf, ctx) {
|
|
447
607
|
if (rf & 1) {
|
|
448
608
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
449
|
-
i0.ɵɵelementStart(0, "ion-item",
|
|
450
|
-
i0.ɵɵlistener("click", function
|
|
451
|
-
i0.ɵɵtemplate(1,
|
|
609
|
+
i0.ɵɵelementStart(0, "ion-item", 4);
|
|
610
|
+
i0.ɵɵlistener("click", function EuimMenuComponent_ng_container_1_ion_item_3_Template_ion_item_click_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r9 = i0.ɵɵnextContext(); const item_r1 = ctx_r9.$implicit; const i_r2 = ctx_r9.index; const ctx_r8 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r8.onItemClick($event, item_r1.url, i_r2, item_r1)); });
|
|
611
|
+
i0.ɵɵtemplate(1, EuimMenuComponent_ng_container_1_ion_item_3_ion_icon_1_Template, 1, 2, "ion-icon", 5);
|
|
452
612
|
i0.ɵɵelementStart(2, "ion-label");
|
|
453
613
|
i0.ɵɵtext(3);
|
|
454
614
|
i0.ɵɵelementEnd()();
|
|
@@ -465,13 +625,15 @@ function EuimMenuComponent_ng_container_1_ion_item_2_Template(rf, ctx) {
|
|
|
465
625
|
function EuimMenuComponent_ng_container_1_Template(rf, ctx) {
|
|
466
626
|
if (rf & 1) {
|
|
467
627
|
i0.ɵɵelementContainerStart(0);
|
|
468
|
-
i0.ɵɵ
|
|
469
|
-
i0.ɵɵtemplate(2,
|
|
628
|
+
i0.ɵɵelementStart(1, "ion-menu-toggle", 1);
|
|
629
|
+
i0.ɵɵtemplate(2, EuimMenuComponent_ng_container_1_ion_list_header_2_Template, 2, 1, "ion-list-header", 2);
|
|
630
|
+
i0.ɵɵtemplate(3, EuimMenuComponent_ng_container_1_ion_item_3_Template, 4, 3, "ion-item", 3);
|
|
631
|
+
i0.ɵɵelementEnd();
|
|
470
632
|
i0.ɵɵelementContainerEnd();
|
|
471
633
|
}
|
|
472
634
|
if (rf & 2) {
|
|
473
635
|
const item_r1 = ctx.$implicit;
|
|
474
|
-
i0.ɵɵadvance(
|
|
636
|
+
i0.ɵɵadvance(2);
|
|
475
637
|
i0.ɵɵproperty("ngIf", item_r1.subtitle);
|
|
476
638
|
i0.ɵɵadvance(1);
|
|
477
639
|
i0.ɵɵproperty("ngIf", item_r1.label);
|
|
@@ -495,23 +657,23 @@ class EuimMenuComponent extends EuimBaseDirective {
|
|
|
495
657
|
this.itemClick.emit(item);
|
|
496
658
|
}
|
|
497
659
|
}
|
|
498
|
-
/** @nocollapse */ EuimMenuComponent.ɵfac = function EuimMenuComponent_Factory(t) { return new (t || EuimMenuComponent)(i0.ɵɵdirectiveInject(i1.NavController)); };
|
|
499
|
-
/** @nocollapse */ EuimMenuComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: EuimMenuComponent, selectors: [["euim-menu"]], inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[4, "ngFor", "ngForOf"], [4, "ngIf"], ["button", "", "class", "euim-menu__ion-item", 3, "lines", "click", 4, "ngIf"], ["button", "", 1, "euim-menu__ion-item", 3, "lines", "click"], [3, "name", "color", 4, "ngIf"], [3, "name", "color"]], template: function EuimMenuComponent_Template(rf, ctx) {
|
|
660
|
+
/** @nocollapse */ EuimMenuComponent.ɵfac = function EuimMenuComponent_Factory(t) { return new (t || EuimMenuComponent)(i0.ɵɵdirectiveInject(i1$1.NavController)); };
|
|
661
|
+
/** @nocollapse */ EuimMenuComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: EuimMenuComponent, selectors: [["euim-menu"]], inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[4, "ngFor", "ngForOf"], ["auto-hide", "true"], [4, "ngIf"], ["button", "", "class", "euim-menu__ion-item", 3, "lines", "click", 4, "ngIf"], ["button", "", 1, "euim-menu__ion-item", 3, "lines", "click"], [3, "name", "color", 4, "ngIf"], [3, "name", "color"]], template: function EuimMenuComponent_Template(rf, ctx) {
|
|
500
662
|
if (rf & 1) {
|
|
501
663
|
i0.ɵɵelementStart(0, "ion-list");
|
|
502
|
-
i0.ɵɵtemplate(1, EuimMenuComponent_ng_container_1_Template,
|
|
664
|
+
i0.ɵɵtemplate(1, EuimMenuComponent_ng_container_1_Template, 4, 2, "ng-container", 0);
|
|
503
665
|
i0.ɵɵelementEnd();
|
|
504
666
|
}
|
|
505
667
|
if (rf & 2) {
|
|
506
668
|
i0.ɵɵadvance(1);
|
|
507
669
|
i0.ɵɵproperty("ngForOf", ctx.items);
|
|
508
670
|
}
|
|
509
|
-
}, dependencies: [
|
|
671
|
+
}, dependencies: [i4.NgForOf, i4.NgIf, i1$1.IonIcon, i1$1.IonItem, i1$1.IonLabel, i1$1.IonList, i1$1.IonListHeader, i1$1.IonMenuToggle], styles: [".euim-menu__ion-item{--padding-start: 0px;--inner-padding-start: var(--eui-base-spacing-xs)}.euim-menu__ion-item ion-icon{margin-left:var(--eui-base-spacing-xs)}.euim-menu__ion-item ion-label{margin-left:var(--eui-base-spacing-xs)}\n"], encapsulation: 2, changeDetection: 0 });
|
|
510
672
|
(function () {
|
|
511
673
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EuimMenuComponent, [{
|
|
512
674
|
type: Component,
|
|
513
|
-
args: [{ selector: 'euim-menu', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ion-list >\n <ng-container *ngFor=\"let item of items; let i = index\">\n <ion-list-header *ngIf=\"item.subtitle\"> {{item.subtitle}} </ion-list-header>\n
|
|
514
|
-
}], function () { return [{ type: i1.NavController }]; }, { items: [{
|
|
675
|
+
args: [{ selector: 'euim-menu', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ion-list >\n <ng-container *ngFor=\"let item of items; let i = index\">\n <ion-menu-toggle auto-hide=\"true\">\n <ion-list-header *ngIf=\"item.subtitle\"> {{item.subtitle}} </ion-list-header>\n <ion-item *ngIf=\"item.label\" button class=\"euim-menu__ion-item\" [lines]=\"item.lines ? item.lines : 'none'\"\n (click)=\"onItemClick($event, (item.url), i, item)\">\n <ion-icon *ngIf=\"item.icon\"\n [name]=\"item.icon\"\n [color]=\"item.iconColor\"></ion-icon>\n <ion-label>{{item.label}}</ion-label>\n </ion-item>\n </ion-menu-toggle>\n </ng-container>\n</ion-list>\n", styles: [".euim-menu__ion-item{--padding-start: 0px;--inner-padding-start: var(--eui-base-spacing-xs)}.euim-menu__ion-item ion-icon{margin-left:var(--eui-base-spacing-xs)}.euim-menu__ion-item ion-label{margin-left:var(--eui-base-spacing-xs)}\n"] }]
|
|
676
|
+
}], function () { return [{ type: i1$1.NavController }]; }, { items: [{
|
|
515
677
|
type: Input
|
|
516
678
|
}], itemClick: [{
|
|
517
679
|
type: Output
|
|
@@ -582,7 +744,7 @@ class EuimAppSidebarComponent extends EuimBaseDirective {
|
|
|
582
744
|
i0.ɵɵpropertyInterpolate("contentId", ctx.ionMenuId);
|
|
583
745
|
i0.ɵɵpropertyInterpolate("menuId", ctx.ionMenuId);
|
|
584
746
|
}
|
|
585
|
-
}, dependencies: [i1.IonContent, i1.IonFooter, i1.IonMenu, i1.IonToolbar], encapsulation: 2 });
|
|
747
|
+
}, dependencies: [i1$1.IonContent, i1$1.IonFooter, i1$1.IonMenu, i1$1.IonToolbar], encapsulation: 2 });
|
|
586
748
|
(function () {
|
|
587
749
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EuimAppSidebarComponent, [{
|
|
588
750
|
type: Component,
|
|
@@ -713,85 +875,6 @@ class EuimAppSidebarModule {
|
|
|
713
875
|
EuimAppSidebarMenuComponent] });
|
|
714
876
|
})();
|
|
715
877
|
|
|
716
|
-
function EuimLanguageListComponent_ecl_language_list_item_2_Template(rf, ctx) {
|
|
717
|
-
if (rf & 1) {
|
|
718
|
-
i0.ɵɵelement(0, "ecl-language-list-item", 2);
|
|
719
|
-
}
|
|
720
|
-
if (rf & 2) {
|
|
721
|
-
const language_r1 = ctx.$implicit;
|
|
722
|
-
i0.ɵɵproperty("languageCode", language_r1.code)("languageLabel", language_r1.label);
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
class EuimLanguageListComponent extends EuimBaseDirective {
|
|
726
|
-
constructor(cd, translateService, appShellService, appService) {
|
|
727
|
-
super();
|
|
728
|
-
this.cd = cd;
|
|
729
|
-
this.translateService = translateService;
|
|
730
|
-
this.appShellService = appShellService;
|
|
731
|
-
this.appService = appService;
|
|
732
|
-
this.languageSelected = new EventEmitter();
|
|
733
|
-
this.destroy$ = new Subject();
|
|
734
|
-
}
|
|
735
|
-
ngOnInit() {
|
|
736
|
-
this.appShellService.state$.pipe(takeUntil(this.destroy$), distinctUntilKeyChanged('languages')).subscribe((state) => {
|
|
737
|
-
this.languages = (state.languages) ?
|
|
738
|
-
UxEuLanguages.getOrderedLanguages(state.languages) :
|
|
739
|
-
UxEuLanguages.getLanguages();
|
|
740
|
-
this.cd.detectChanges();
|
|
741
|
-
});
|
|
742
|
-
this.appShellService.state$.pipe(takeUntil(this.destroy$), distinctUntilKeyChanged('activeLanguage')).subscribe((state) => {
|
|
743
|
-
this.selectedLanguage = {
|
|
744
|
-
code: state.activeLanguage,
|
|
745
|
-
label: this.getLanguageLabel(state.activeLanguage),
|
|
746
|
-
};
|
|
747
|
-
this.cd.detectChanges();
|
|
748
|
-
});
|
|
749
|
-
}
|
|
750
|
-
ngOnDestroy() {
|
|
751
|
-
this.destroy$.next(true);
|
|
752
|
-
this.destroy$.unsubscribe();
|
|
753
|
-
}
|
|
754
|
-
onLanguageSelected(evt) {
|
|
755
|
-
this.translateService.use(evt.language.code);
|
|
756
|
-
this.appService.isLanguageListVisible = false;
|
|
757
|
-
this.appShellService.setState(Object.assign(Object.assign({}, this.appShellService.state), { activeLanguage: evt.language.code }));
|
|
758
|
-
}
|
|
759
|
-
onLanguageListClose() {
|
|
760
|
-
this.appService.isLanguageListVisible = false;
|
|
761
|
-
}
|
|
762
|
-
getLanguageLabel(languageCode) {
|
|
763
|
-
for (const language of this.languages) {
|
|
764
|
-
if (language.code === languageCode) {
|
|
765
|
-
return language.label;
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
return;
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
/** @nocollapse */ EuimLanguageListComponent.ɵfac = function EuimLanguageListComponent_Factory(t) { return new (t || EuimLanguageListComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$1.TranslateService), i0.ɵɵdirectiveInject(i2$1.UxAppShellService), i0.ɵɵdirectiveInject(EuimAppService)); };
|
|
772
|
-
/** @nocollapse */ EuimLanguageListComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: EuimLanguageListComponent, selectors: [["euim-language-list"]], outputs: { languageSelected: "languageSelected" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 6, consts: [[3, "selectedLanguageCode", "isOverlay", "isHidden", "languageSelected", "close"], [3, "languageCode", "languageLabel", 4, "ngFor", "ngForOf"], [3, "languageCode", "languageLabel"]], template: function EuimLanguageListComponent_Template(rf, ctx) {
|
|
773
|
-
if (rf & 1) {
|
|
774
|
-
i0.ɵɵelementStart(0, "ecl-language-list", 0);
|
|
775
|
-
i0.ɵɵlistener("languageSelected", function EuimLanguageListComponent_Template_ecl_language_list_languageSelected_0_listener($event) { return ctx.onLanguageSelected($event); })("close", function EuimLanguageListComponent_Template_ecl_language_list_close_0_listener() { return ctx.onLanguageListClose(); });
|
|
776
|
-
i0.ɵɵpipe(1, "async");
|
|
777
|
-
i0.ɵɵtemplate(2, EuimLanguageListComponent_ecl_language_list_item_2_Template, 1, 2, "ecl-language-list-item", 1);
|
|
778
|
-
i0.ɵɵelementEnd();
|
|
779
|
-
}
|
|
780
|
-
if (rf & 2) {
|
|
781
|
-
i0.ɵɵproperty("selectedLanguageCode", ctx.selectedLanguage == null ? null : ctx.selectedLanguage.code)("isOverlay", true)("isHidden", !i0.ɵɵpipeBind1(1, 4, ctx.appService.state$).isLanguageListVisible);
|
|
782
|
-
i0.ɵɵadvance(2);
|
|
783
|
-
i0.ɵɵproperty("ngForOf", ctx.languages);
|
|
784
|
-
}
|
|
785
|
-
}, dependencies: [i2.NgForOf, i5.EclLanguageListComponent, i5.EclLanguageListItemComponent, i2.AsyncPipe], encapsulation: 2 });
|
|
786
|
-
(function () {
|
|
787
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EuimLanguageListComponent, [{
|
|
788
|
-
type: Component,
|
|
789
|
-
args: [{ selector: 'euim-language-list', template: "<ecl-language-list\n [selectedLanguageCode]=\"selectedLanguage?.code\"\n [isOverlay]=\"true\"\n [isHidden]=\"!(appService.state$ | async).isLanguageListVisible\"\n (languageSelected)=\"onLanguageSelected($event)\"\n (close)=\"onLanguageListClose()\">\n <ecl-language-list-item\n *ngFor=\"let language of languages\"\n [languageCode]=\"language.code\"\n [languageLabel]=\"language.label\">\n </ecl-language-list-item>\n</ecl-language-list>\n" }]
|
|
790
|
-
}], function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$1.TranslateService }, { type: i2$1.UxAppShellService }, { type: EuimAppService }]; }, { languageSelected: [{
|
|
791
|
-
type: Output
|
|
792
|
-
}] });
|
|
793
|
-
})();
|
|
794
|
-
|
|
795
878
|
class EuimLanguageSelectorComponent extends EuimBaseDirective {
|
|
796
879
|
constructor(cd, translateService, appShellService, appService) {
|
|
797
880
|
super();
|
|
@@ -844,7 +927,7 @@ class EuimLanguageSelectorComponent extends EuimBaseDirective {
|
|
|
844
927
|
return super.getCssClasses('euim-language-selector');
|
|
845
928
|
}
|
|
846
929
|
}
|
|
847
|
-
/** @nocollapse */ EuimLanguageSelectorComponent.ɵfac = function EuimLanguageSelectorComponent_Factory(t) { return new (t || EuimLanguageSelectorComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1
|
|
930
|
+
/** @nocollapse */ EuimLanguageSelectorComponent.ɵfac = function EuimLanguageSelectorComponent_Factory(t) { return new (t || EuimLanguageSelectorComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1.TranslateService), i0.ɵɵdirectiveInject(i2.UxAppShellService), i0.ɵɵdirectiveInject(EuimAppService)); };
|
|
848
931
|
/** @nocollapse */ EuimLanguageSelectorComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: EuimLanguageSelectorComponent, selectors: [["euim-language-selector"]], hostVars: 2, hostBindings: function EuimLanguageSelectorComponent_HostBindings(rf, ctx) {
|
|
849
932
|
if (rf & 2) {
|
|
850
933
|
i0.ɵɵclassMap(ctx.cssClasses);
|
|
@@ -866,12 +949,12 @@ class EuimLanguageSelectorComponent extends EuimBaseDirective {
|
|
|
866
949
|
i0.ɵɵadvance(1);
|
|
867
950
|
i0.ɵɵtextInterpolate1(" ", ctx.selectedLanguage == null ? null : ctx.selectedLanguage.code == null ? null : ctx.selectedLanguage.code.toUpperCase(), " ");
|
|
868
951
|
}
|
|
869
|
-
}, dependencies: [i1.IonButton, i1.IonIcon], styles: [".euim-language-selector__text{font: 400 .75rem/1rem arial,sans-serif;font-style:normal;font-weight:700;margin-bottom:var(--eui-base-spacing-2xs);position:absolute;color:var(--eui-base-color-primary-100)}.euim-language-selector__text--primary,.euim-language-selector__icon{color:#fff}.euim-language-selector__icon--primary{color:var(--eui-base-color-primary-100)}\n"], encapsulation: 2 });
|
|
952
|
+
}, dependencies: [i1$1.IonButton, i1$1.IonIcon], styles: [".euim-language-selector__text{font: 400 .75rem/1rem arial,sans-serif;font-style:normal;font-weight:700;margin-bottom:var(--eui-base-spacing-2xs);position:absolute;color:var(--eui-base-color-primary-100)}.euim-language-selector__text--primary,.euim-language-selector__icon{color:#fff}.euim-language-selector__icon--primary{color:var(--eui-base-color-primary-100)}\n"], encapsulation: 2 });
|
|
870
953
|
(function () {
|
|
871
954
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EuimLanguageSelectorComponent, [{
|
|
872
955
|
type: Component,
|
|
873
956
|
args: [{ selector: 'euim-language-selector', encapsulation: ViewEncapsulation.None, template: "<ion-button (click)=\"onShowLanguageList($event)\">\n <ion-icon class=\"euim-language-selector__icon {{euimPrimary ? 'euim-language-selector__icon--primary' : ''}}\"\n src='data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\">\n <path\n d=\"M 21.00,0.00\n C 22.66,-0.00 24.00,1.34 24.00,3.00\n 24.00,3.00 24.00,17.00 24.00,17.00\n 24.00,18.66 22.66,20.00 21.00,20.00\n 21.00,20.00 3.00,20.00 3.00,20.00\n 1.34,20.00 0.00,18.66 0.00,17.00\n 0.00,17.00 0.00,3.00 0.00,3.00\n 0.00,1.34 1.34,0.00 3.00,0.00\n 3.00,0.00 21.00,0.00 21.00,0.00 Z\n M 9.66,12.34\n C 9.66,12.34 15.31,18.00 15.31,18.00\n 15.31,18.00 9.66,23.66 9.66,23.66\n 9.66,23.66 4.00,18.00 4.00,18.00\n 4.00,18.00 9.66,12.34 9.66,12.34 Z\" />\n </svg>'\n slot=\"icon-only\">\n </ion-icon>\n\n <span class=\"euim-language-selector__text {{euimPrimary ? 'euim-language-selector__text--primary' : ''}}\">\n {{ selectedLanguage?.code?.toUpperCase() }}\n </span>\n</ion-button>\n", styles: [".euim-language-selector__text{font: 400 .75rem/1rem arial,sans-serif;font-style:normal;font-weight:700;margin-bottom:var(--eui-base-spacing-2xs);position:absolute;color:var(--eui-base-color-primary-100)}.euim-language-selector__text--primary,.euim-language-selector__icon{color:#fff}.euim-language-selector__icon--primary{color:var(--eui-base-color-primary-100)}\n"] }]
|
|
874
|
-
}], function () { return [{ type: i0.ChangeDetectorRef }, { type: i1
|
|
957
|
+
}], function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.TranslateService }, { type: i2.UxAppShellService }, { type: EuimAppService }]; }, { euimPrimary: [{
|
|
875
958
|
type: Input
|
|
876
959
|
}], cssClasses: [{
|
|
877
960
|
type: HostBinding,
|
|
@@ -1090,7 +1173,7 @@ class EuiMUserProfileActionComponent extends EuimBaseDirective {
|
|
|
1090
1173
|
i0.ɵɵprojection(1);
|
|
1091
1174
|
i0.ɵɵelementEnd();
|
|
1092
1175
|
}
|
|
1093
|
-
}, dependencies: [i1.IonButtons], encapsulation: 2, changeDetection: 0 });
|
|
1176
|
+
}, dependencies: [i1$1.IonButtons], encapsulation: 2, changeDetection: 0 });
|
|
1094
1177
|
(function () {
|
|
1095
1178
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EuiMUserProfileActionComponent, [{
|
|
1096
1179
|
type: Component,
|
|
@@ -1219,7 +1302,7 @@ class EuimToolbarComponent extends EuimBaseDirective {
|
|
|
1219
1302
|
i0.ɵɵadvance(6);
|
|
1220
1303
|
i0.ɵɵproperty("ngIf", ctx.hasLanguageSelector);
|
|
1221
1304
|
}
|
|
1222
|
-
}, dependencies: [
|
|
1305
|
+
}, dependencies: [i4.NgIf, i1$1.IonBackButton, i1$1.IonButtons, i1$1.IonMenuButton, i1$1.IonTitle, i1$1.IonBackButtonDelegate, EuimLanguageSelectorComponent], styles: [".euim-toolbar{display:flex}\n"], encapsulation: 2 });
|
|
1223
1306
|
(function () {
|
|
1224
1307
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EuimToolbarComponent, [{
|
|
1225
1308
|
type: Component,
|
|
@@ -1470,7 +1553,7 @@ class EuimEmptyListPlaceholderComponent extends EuimBaseDirective {
|
|
|
1470
1553
|
i0.ɵɵadvance(2);
|
|
1471
1554
|
i0.ɵɵproperty("ngIf", !ctx.hasCustomContent(_r1));
|
|
1472
1555
|
}
|
|
1473
|
-
}, dependencies: [
|
|
1556
|
+
}, dependencies: [i4.NgIf, i1$1.IonCol, i1$1.IonGrid, i1$1.IonIcon, i1$1.IonRow, i1$1.IonSlide, i1.TranslatePipe], styles: [".euim-empty-list-placeholder__icon[_ngcontent-%COMP%]{color:var(--eui-base-color-grey-75);width:var(--eui-base-spacing-xl);height:var(--eui-base-spacing-xl);margin-bottom:var(--eui-base-spacing-2xs);padding-top:0;padding-bottom:0}.euim-empty-list-placeholder__message[_ngcontent-%COMP%]{font: 400 1rem/1.25rem arial,sans-serif;font-style:normal;font-weight:700;color:var(--eui-base-color-grey-75);padding-top:0;padding-bottom:0}.euim-empty-list-placeholder__description[_ngcontent-%COMP%]{font: 400 .875rem/1rem arial,sans-serif;color:var(--eui-base-color-grey-75);margin-top:var(--eui-base-spacing-2xs);padding-top:0;padding-bottom:0}"] });
|
|
1474
1557
|
(function () {
|
|
1475
1558
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EuimEmptyListPlaceholderComponent, [{
|
|
1476
1559
|
type: Component,
|
|
@@ -1622,7 +1705,7 @@ class EuimMessageComponent extends EuimBaseDirective {
|
|
|
1622
1705
|
i0.ɵɵadvance(1);
|
|
1623
1706
|
i0.ɵɵproperty("name", ctx.icon);
|
|
1624
1707
|
}
|
|
1625
|
-
}, dependencies: [i1.IonIcon], styles: [".euim-message{display:block;border-width:2px;border-style:solid;display:flex;padding:var(--eui-base-spacing-m)}.euim-message__wrappericon{width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l);padding:0;margin:0}.euim-message__icon{padding:0;margin:0;width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l)}.euim-message__wrapper{margin-left:var(--eui-base-spacing-xs)}.euim-message--danger{border-color:var(--eui-base-color-danger-100)}.euim-message--danger ion-icon{color:var(--eui-base-color-danger-100)}.euim-message--info{border-color:var(--eui-base-color-info-100)}.euim-message--info ion-icon{color:var(--eui-base-color-info-100)}.euim-message--success{border-color:var(--eui-base-color-success-100)}.euim-message--success ion-icon{color:var(--eui-base-color-success-100)}.euim-message--warning{border-color:var(--eui-base-color-warning-100)}.euim-message--warning ion-icon{color:var(--eui-base-color-warning-100)}.euim-message-title{display:flex;align-items:center;font: 400 1rem/1.25rem arial,sans-serif;font-style:normal;font-weight:700;padding:0;margin:0;margin-bottom:var(--eui-base-spacing-xs)}\n"], encapsulation: 2, changeDetection: 0 });
|
|
1708
|
+
}, dependencies: [i1$1.IonIcon], styles: [".euim-message{display:block;border-width:2px;border-style:solid;display:flex;padding:var(--eui-base-spacing-m)}.euim-message__wrappericon{width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l);padding:0;margin:0}.euim-message__icon{padding:0;margin:0;width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l)}.euim-message__wrapper{margin-left:var(--eui-base-spacing-xs)}.euim-message--danger{border-color:var(--eui-base-color-danger-100)}.euim-message--danger ion-icon{color:var(--eui-base-color-danger-100)}.euim-message--info{border-color:var(--eui-base-color-info-100)}.euim-message--info ion-icon{color:var(--eui-base-color-info-100)}.euim-message--success{border-color:var(--eui-base-color-success-100)}.euim-message--success ion-icon{color:var(--eui-base-color-success-100)}.euim-message--warning{border-color:var(--eui-base-color-warning-100)}.euim-message--warning ion-icon{color:var(--eui-base-color-warning-100)}.euim-message-title{display:flex;align-items:center;font: 400 1rem/1.25rem arial,sans-serif;font-style:normal;font-weight:700;padding:0;margin:0;margin-bottom:var(--eui-base-spacing-xs)}\n"], encapsulation: 2, changeDetection: 0 });
|
|
1626
1709
|
(function () {
|
|
1627
1710
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EuimMessageComponent, [{
|
|
1628
1711
|
type: Component,
|
|
@@ -1783,7 +1866,7 @@ class EuimStepperComponent extends EuimBaseDirective {
|
|
|
1783
1866
|
i0.ɵɵadvance(2);
|
|
1784
1867
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 11, "euim.stepper.next"));
|
|
1785
1868
|
}
|
|
1786
|
-
}, dependencies: [i1.IonButton, i1.IonCol, i1.IonFooter, i1.IonIcon, i1.IonLabel, i1.IonRow, i1.IonToolbar, i1
|
|
1869
|
+
}, dependencies: [i1$1.IonButton, i1$1.IonCol, i1$1.IonFooter, i1$1.IonIcon, i1$1.IonLabel, i1$1.IonRow, i1$1.IonToolbar, i1.TranslatePipe], encapsulation: 2 });
|
|
1787
1870
|
(function () {
|
|
1788
1871
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EuimStepperComponent, [{
|
|
1789
1872
|
type: Component,
|
|
@@ -2035,7 +2118,7 @@ class EuimAllModule {
|
|
|
2035
2118
|
}
|
|
2036
2119
|
/** @nocollapse */ EuimAllModule.ɵfac = function EuimAllModule_Factory(t) { return new (t || EuimAllModule)(); };
|
|
2037
2120
|
/** @nocollapse */ EuimAllModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: EuimAllModule });
|
|
2038
|
-
/** @nocollapse */ EuimAllModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({
|
|
2121
|
+
/** @nocollapse */ EuimAllModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [MODULES,
|
|
2039
2122
|
// Layout
|
|
2040
2123
|
EuimAppModule,
|
|
2041
2124
|
EuimAppSidebarModule,
|