@eui/mobile-core 16.7.0-snapshot-1709025354856 → 16.7.0-snapshot-1709121320092
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/EuiMUserProfileActionComponent.html +33 -1243
- package/docs/components/EuiMUserProfileAvatarComponent.html +33 -1243
- package/docs/components/EuiMUserProfileInfosComponent.html +33 -1243
- package/docs/components/EuiMUserProfileInfosItemComponent.html +33 -1243
- package/docs/components/EuimAlertMessageComponent.html +113 -1264
- package/docs/components/EuimAppComponent.html +20 -1217
- package/docs/components/EuimAppSidebarComponent.html +2 -1216
- package/docs/components/EuimAppSidebarFooterComponent.html +1 -1
- package/docs/components/EuimAppSidebarHeaderComponent.html +1 -1
- package/docs/components/EuimAppSidebarMenuComponent.html +1 -1
- package/docs/components/EuimAvatarComponent.html +51 -1218
- package/docs/components/EuimAvatarIconComponent.html +46 -1176
- package/docs/components/EuimBadgeComponent.html +5 -1
- package/docs/components/EuimChipSelectorComponent.html +247 -1360
- package/docs/components/EuimControlFeedbackComponent.html +85 -1530
- package/docs/components/EuimDataSummaryColComponent.html +1 -1
- package/docs/components/EuimDataSummaryComponent.html +173 -1281
- package/docs/components/EuimEmptyListPlaceholderComponent.html +46 -1176
- package/docs/components/EuimFieldSetComponent.html +33 -1243
- package/docs/components/EuimFieldsetActionsComponent.html +33 -1243
- package/docs/components/EuimFieldsetLegendComponent.html +33 -1243
- package/docs/components/EuimHeaderDetailsComponent.html +1 -1
- package/docs/components/EuimInfoScreenComponent.html +33 -57
- package/docs/components/EuimLabelComponent.html +101 -1470
- package/docs/components/EuimLanguageListComponent.html +133 -1323
- package/docs/components/EuimLanguageSelectorComponent.html +133 -1312
- package/docs/components/EuimMediaHeaderComponent.html +69 -1109
- package/docs/components/EuimMenuComponent.html +146 -1403
- package/docs/components/EuimMessageComponent.html +80 -1529
- package/docs/components/EuimMessageTitleComponent.html +33 -1243
- package/docs/components/EuimMultiselectComponent.html +1 -1
- package/docs/components/EuimMultiselectFilterComponent.html +1 -1
- package/docs/components/EuimMultiselectInfoComponent.html +1 -1
- package/docs/components/EuimMultiselectListComponent.html +1 -1
- package/docs/components/EuimMultiselectToolbarComponent.html +1 -1
- package/docs/components/EuimNotificationItemComponent.html +66 -1115
- package/docs/components/EuimScrollerXComponent.html +51 -1248
- package/docs/components/EuimSidebarComponent.html +1 -1
- package/docs/components/EuimSidebarContentComponent.html +1 -1
- package/docs/components/EuimSkeletonListComponent.html +5 -1
- package/docs/components/EuimSkeletonListItemComponent.html +1 -1
- package/docs/components/EuimSlideComponent.html +1 -1
- package/docs/components/EuimSlideInfoScreenComponent.html +1 -1
- package/docs/components/EuimSliderComponent.html +50 -71
- package/docs/components/EuimSliderInfoScreenComponent.html +50 -71
- package/docs/components/EuimSpinnerComponent.html +35 -1206
- package/docs/components/EuimSpinnerDescriptionComponent.html +51 -1218
- package/docs/components/EuimSpinnerMessageComponent.html +51 -1218
- package/docs/components/EuimStepperComponent.html +50 -1244
- package/docs/components/EuimToolbarActionItemsComponent.html +52 -1249
- package/docs/components/EuimToolbarComponent.html +128 -1296
- package/docs/components/EuimToolbarTitleComponent.html +52 -1249
- package/docs/components/EuimUserProfileComponent.html +33 -1243
- package/docs/dependencies.html +2 -2
- package/docs/directives/EuimChipSelectorItemDirective.html +88 -1381
- package/docs/directives/EuimDataSummaryColLabelDirective.html +67 -1179
- package/docs/directives/EuimDataSummaryColValueDirective.html +100 -1216
- package/docs/index.html +1 -1
- package/docs/js/menu-wc.js +0 -3
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2022/lib/components/atoms/euim-control-feedback/euim-control-feedback.component.mjs +24 -89
- package/esm2022/lib/components/atoms/euim-label/euim-label.component.mjs +55 -42
- package/esm2022/lib/components/atoms/euim-notification-item/euim-notification-item.component.mjs +27 -10
- package/esm2022/lib/components/euim-alert-message/euim-alert-messsage.component.mjs +5 -18
- package/esm2022/lib/components/euim-avatar/euim-avatar.component.mjs +9 -15
- package/esm2022/lib/components/euim-avatar-icon/euim-avatar-icon.component.mjs +6 -8
- package/esm2022/lib/components/euim-badge/euim-badge.component.mjs +4 -4
- package/esm2022/lib/components/euim-chip-selector/euim-chip-selector-item/euim-chip-selector-item.directive.mjs +11 -21
- package/esm2022/lib/components/euim-chip-selector/euim-chip-selector.component.mjs +6 -8
- package/esm2022/lib/components/euim-data-summary/euim-data-summary-col-label/euim-data-summary-col-label.directive.mjs +23 -13
- package/esm2022/lib/components/euim-data-summary/euim-data-summary-col-value/euim-data-summary-col-value.directive.mjs +14 -13
- package/esm2022/lib/components/euim-data-summary/euim-data-summary.component.mjs +26 -17
- package/esm2022/lib/components/euim-empty-list-placeholder/euim-empty-list-placeholder.component.mjs +6 -7
- package/esm2022/lib/components/euim-fieldset/euim-fieldset-actions/euim-fieldset-actions.component.mjs +4 -6
- package/esm2022/lib/components/euim-fieldset/euim-fieldset-legend/euim-fieldset-legend.component.mjs +4 -6
- package/esm2022/lib/components/euim-fieldset/euim-fieldset.component.mjs +4 -6
- package/esm2022/lib/components/euim-media-header/euim-media-header.component.mjs +27 -17
- package/esm2022/lib/components/euim-menu/euim-menu.component.mjs +10 -12
- package/esm2022/lib/components/euim-message/euim-message-title/euim-message-title.component.mjs +4 -6
- package/esm2022/lib/components/euim-message/euim-message.component.mjs +37 -98
- package/esm2022/lib/components/euim-scroller-x/euim-scroller-x.component.mjs +9 -10
- package/esm2022/lib/components/euim-skeleton-list/euim-skeleton-list.component.mjs +4 -4
- package/esm2022/lib/components/euim-slider/euim-slider.component.mjs +6 -11
- package/esm2022/lib/components/euim-slider-info-screen/euim-slider-info-screen.component.mjs +6 -11
- package/esm2022/lib/components/euim-spinner/euim-spinner-description/euim-spinner-description.component.mjs +9 -15
- package/esm2022/lib/components/euim-spinner/euim-spinner-message/euim-spinner-message.component.mjs +9 -15
- package/esm2022/lib/components/euim-spinner/euim-spinner.component.mjs +7 -13
- package/esm2022/lib/components/euim-stepper/euim-stepper.component.mjs +14 -8
- package/esm2022/lib/components/layout/euim-app/euim-app-sidebar/sidebar.component.mjs +4 -6
- package/esm2022/lib/components/layout/euim-app/euim-app.component.mjs +3 -5
- package/esm2022/lib/components/layout/euim-info-screen/euim-info-screen.component.mjs +5 -10
- package/esm2022/lib/components/layout/euim-language-selector/euim-language-list.component.mjs +5 -7
- package/esm2022/lib/components/layout/euim-language-selector/euim-language-selector.component.mjs +20 -21
- package/esm2022/lib/components/layout/euim-toolbar/euim-toolbar-action-items/euim-toolbar-action-items.component.mjs +10 -12
- package/esm2022/lib/components/layout/euim-toolbar/euim-toolbar-title/euim-toolbar-title.component.mjs +10 -12
- package/esm2022/lib/components/layout/euim-toolbar/euim-toolbar.component.mjs +20 -14
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile-action/euim-user-profile-action.component.mjs +4 -6
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile-avatar/euim-user-profile-avatar.component.mjs +4 -6
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile-infos/euim-user-profile-infos.component.mjs +4 -6
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile-infos-item/euim-user-profile-infos-item.component.mjs +4 -6
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile.component.mjs +4 -6
- package/fesm2022/eui-mobile-core.mjs +665 -1088
- package/fesm2022/eui-mobile-core.mjs.map +1 -1
- package/lib/components/atoms/euim-control-feedback/euim-control-feedback.component.d.ts +6 -20
- package/lib/components/atoms/euim-control-feedback/euim-control-feedback.component.d.ts.map +1 -1
- package/lib/components/atoms/euim-label/euim-label.component.d.ts +10 -16
- package/lib/components/atoms/euim-label/euim-label.component.d.ts.map +1 -1
- package/lib/components/atoms/euim-notification-item/euim-notification-item.component.d.ts +6 -3
- package/lib/components/atoms/euim-notification-item/euim-notification-item.component.d.ts.map +1 -1
- package/lib/components/euim-alert-message/euim-alert-messsage.component.d.ts +2 -4
- package/lib/components/euim-alert-message/euim-alert-messsage.component.d.ts.map +1 -1
- package/lib/components/euim-avatar/euim-avatar.component.d.ts +2 -4
- package/lib/components/euim-avatar/euim-avatar.component.d.ts.map +1 -1
- package/lib/components/euim-avatar-icon/euim-avatar-icon.component.d.ts +1 -2
- package/lib/components/euim-avatar-icon/euim-avatar-icon.component.d.ts.map +1 -1
- package/lib/components/euim-badge/euim-badge.component.d.ts.map +1 -1
- package/lib/components/euim-chip-selector/euim-chip-selector-item/euim-chip-selector-item.directive.d.ts +4 -8
- package/lib/components/euim-chip-selector/euim-chip-selector-item/euim-chip-selector-item.directive.d.ts.map +1 -1
- package/lib/components/euim-chip-selector/euim-chip-selector.component.d.ts +3 -4
- package/lib/components/euim-chip-selector/euim-chip-selector.component.d.ts.map +1 -1
- package/lib/components/euim-data-summary/euim-data-summary-col-label/euim-data-summary-col-label.directive.d.ts +7 -5
- package/lib/components/euim-data-summary/euim-data-summary-col-label/euim-data-summary-col-label.directive.d.ts.map +1 -1
- package/lib/components/euim-data-summary/euim-data-summary-col-value/euim-data-summary-col-value.directive.d.ts +5 -4
- package/lib/components/euim-data-summary/euim-data-summary-col-value/euim-data-summary-col-value.directive.d.ts.map +1 -1
- package/lib/components/euim-data-summary/euim-data-summary.component.d.ts +7 -5
- package/lib/components/euim-data-summary/euim-data-summary.component.d.ts.map +1 -1
- package/lib/components/euim-empty-list-placeholder/euim-empty-list-placeholder.component.d.ts +1 -2
- package/lib/components/euim-empty-list-placeholder/euim-empty-list-placeholder.component.d.ts.map +1 -1
- package/lib/components/euim-fieldset/euim-fieldset-actions/euim-fieldset-actions.component.d.ts +1 -2
- package/lib/components/euim-fieldset/euim-fieldset-actions/euim-fieldset-actions.component.d.ts.map +1 -1
- package/lib/components/euim-fieldset/euim-fieldset-legend/euim-fieldset-legend.component.d.ts +1 -2
- package/lib/components/euim-fieldset/euim-fieldset-legend/euim-fieldset-legend.component.d.ts.map +1 -1
- package/lib/components/euim-fieldset/euim-fieldset.component.d.ts +1 -2
- package/lib/components/euim-fieldset/euim-fieldset.component.d.ts.map +1 -1
- package/lib/components/euim-media-header/euim-media-header.component.d.ts +6 -3
- package/lib/components/euim-media-header/euim-media-header.component.d.ts.map +1 -1
- package/lib/components/euim-menu/euim-menu.component.d.ts +4 -6
- package/lib/components/euim-menu/euim-menu.component.d.ts.map +1 -1
- package/lib/components/euim-message/euim-message-title/euim-message-title.component.d.ts +1 -2
- package/lib/components/euim-message/euim-message-title/euim-message-title.component.d.ts.map +1 -1
- package/lib/components/euim-message/euim-message.component.d.ts +6 -20
- package/lib/components/euim-message/euim-message.component.d.ts.map +1 -1
- package/lib/components/euim-scroller-x/euim-scroller-x.component.d.ts +2 -3
- package/lib/components/euim-scroller-x/euim-scroller-x.component.d.ts.map +1 -1
- package/lib/components/euim-skeleton-list/euim-skeleton-list.component.d.ts.map +1 -1
- package/lib/components/euim-slider/euim-slider.component.d.ts +1 -2
- package/lib/components/euim-slider/euim-slider.component.d.ts.map +1 -1
- package/lib/components/euim-slider-info-screen/euim-slider-info-screen.component.d.ts +1 -2
- package/lib/components/euim-slider-info-screen/euim-slider-info-screen.component.d.ts.map +1 -1
- package/lib/components/euim-spinner/euim-spinner-description/euim-spinner-description.component.d.ts +2 -4
- package/lib/components/euim-spinner/euim-spinner-description/euim-spinner-description.component.d.ts.map +1 -1
- package/lib/components/euim-spinner/euim-spinner-message/euim-spinner-message.component.d.ts +2 -4
- package/lib/components/euim-spinner/euim-spinner-message/euim-spinner-message.component.d.ts.map +1 -1
- package/lib/components/euim-spinner/euim-spinner.component.d.ts +2 -4
- package/lib/components/euim-spinner/euim-spinner.component.d.ts.map +1 -1
- package/lib/components/euim-stepper/euim-stepper.component.d.ts +4 -4
- package/lib/components/euim-stepper/euim-stepper.component.d.ts.map +1 -1
- package/lib/components/layout/euim-app/euim-app-sidebar/sidebar.component.d.ts +1 -2
- package/lib/components/layout/euim-app/euim-app-sidebar/sidebar.component.d.ts.map +1 -1
- package/lib/components/layout/euim-app/euim-app.component.d.ts +1 -2
- package/lib/components/layout/euim-app/euim-app.component.d.ts.map +1 -1
- package/lib/components/layout/euim-info-screen/euim-info-screen.component.d.ts +1 -2
- package/lib/components/layout/euim-info-screen/euim-info-screen.component.d.ts.map +1 -1
- package/lib/components/layout/euim-language-selector/euim-language-list.component.d.ts +1 -2
- package/lib/components/layout/euim-language-selector/euim-language-list.component.d.ts.map +1 -1
- package/lib/components/layout/euim-language-selector/euim-language-selector.component.d.ts +7 -7
- package/lib/components/layout/euim-language-selector/euim-language-selector.component.d.ts.map +1 -1
- package/lib/components/layout/euim-toolbar/euim-toolbar-action-items/euim-toolbar-action-items.component.d.ts +2 -3
- package/lib/components/layout/euim-toolbar/euim-toolbar-action-items/euim-toolbar-action-items.component.d.ts.map +1 -1
- package/lib/components/layout/euim-toolbar/euim-toolbar-title/euim-toolbar-title.component.d.ts +2 -3
- package/lib/components/layout/euim-toolbar/euim-toolbar-title/euim-toolbar-title.component.d.ts.map +1 -1
- package/lib/components/layout/euim-toolbar/euim-toolbar.component.d.ts +6 -6
- package/lib/components/layout/euim-toolbar/euim-toolbar.component.d.ts.map +1 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile-action/euim-user-profile-action.component.d.ts +1 -2
- package/lib/components/layout/euim-user-profile/euim-user-profile-action/euim-user-profile-action.component.d.ts.map +1 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile-avatar/euim-user-profile-avatar.component.d.ts +1 -2
- package/lib/components/layout/euim-user-profile/euim-user-profile-avatar/euim-user-profile-avatar.component.d.ts.map +1 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile-infos/euim-user-profile-infos.component.d.ts +1 -2
- package/lib/components/layout/euim-user-profile/euim-user-profile-infos/euim-user-profile-infos.component.d.ts.map +1 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile-infos-item/euim-user-profile-infos-item.component.d.ts +1 -2
- package/lib/components/layout/euim-user-profile/euim-user-profile-infos-item/euim-user-profile-infos-item.component.d.ts.map +1 -1
- package/lib/components/layout/euim-user-profile/euim-user-profile.component.d.ts +1 -2
- package/lib/components/layout/euim-user-profile/euim-user-profile.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/docs/directives/EuimBaseDirective.html +0 -2930
- package/esm2022/lib/components/euim-base.directive.mjs +0 -286
- package/lib/components/euim-base.directive.d.ts +0 -86
- package/lib/components/euim-base.directive.d.ts.map +0 -1
package/esm2022/lib/components/atoms/euim-control-feedback/euim-control-feedback.component.mjs
CHANGED
|
@@ -1,103 +1,38 @@
|
|
|
1
|
-
import { Component, HostBinding,
|
|
2
|
-
import {
|
|
3
|
-
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
1
|
+
import { Component, HostBinding, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
+
import { BaseStatesDirective } from '../../base-states.directive';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
super(...arguments);
|
|
8
|
-
this._euimInfo = true;
|
|
9
|
-
this._euimSuccess = false;
|
|
10
|
-
this._euimWarning = false;
|
|
11
|
-
this._euimDanger = false;
|
|
12
|
-
this._variant = 'info';
|
|
13
|
-
}
|
|
14
|
-
get euimInfo() {
|
|
15
|
-
return this._euimInfo;
|
|
16
|
-
}
|
|
17
|
-
set euimInfo(value) {
|
|
18
|
-
this.resetVariantType();
|
|
19
|
-
this._euimInfo = coerceBooleanProperty(value);
|
|
20
|
-
if (this._euimInfo) {
|
|
21
|
-
this._variant = 'info';
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
get euimSuccess() {
|
|
25
|
-
return this._euimSuccess;
|
|
26
|
-
}
|
|
27
|
-
set euimSuccess(value) {
|
|
28
|
-
this.resetVariantType();
|
|
29
|
-
this._euimSuccess = coerceBooleanProperty(value);
|
|
30
|
-
if (this._euimSuccess) {
|
|
31
|
-
this._variant = 'success';
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
get euimWarning() {
|
|
35
|
-
return this._euimWarning;
|
|
36
|
-
}
|
|
37
|
-
set euimWarning(value) {
|
|
38
|
-
this.resetVariantType();
|
|
39
|
-
this._euimWarning = coerceBooleanProperty(value);
|
|
40
|
-
if (this._euimWarning) {
|
|
41
|
-
this._variant = 'warning';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
get euimDanger() {
|
|
45
|
-
return this._euimDanger;
|
|
46
|
-
}
|
|
47
|
-
set euimDanger(value) {
|
|
48
|
-
this.resetVariantType();
|
|
49
|
-
this._euimDanger = coerceBooleanProperty(value);
|
|
50
|
-
if (this._euimDanger) {
|
|
51
|
-
this._variant = 'danger';
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
get variant() {
|
|
55
|
-
return this._variant;
|
|
56
|
-
}
|
|
57
|
-
set variant(value) {
|
|
58
|
-
this._euimWarning = (value === 'warning');
|
|
59
|
-
this._euimInfo = (value === 'info');
|
|
60
|
-
this._euimSuccess = (value === 'success');
|
|
61
|
-
this._euimDanger = (value === 'danger');
|
|
62
|
-
this._variant = value;
|
|
63
|
-
}
|
|
64
|
-
resetVariantType() {
|
|
65
|
-
this._euimDanger = false;
|
|
66
|
-
this._euimInfo = false;
|
|
67
|
-
this._euimSuccess = false;
|
|
68
|
-
this._euimInfo = false;
|
|
69
|
-
this._variant = null;
|
|
70
|
-
}
|
|
71
|
-
get color() {
|
|
72
|
-
return this.variant;
|
|
73
|
-
}
|
|
4
|
+
import * as i1 from "../../base-states.directive";
|
|
5
|
+
export class EuimControlFeedbackComponent {
|
|
74
6
|
get cssClasses() {
|
|
75
7
|
return this.getCssClasses();
|
|
76
8
|
}
|
|
9
|
+
constructor(baseStatesDirective) {
|
|
10
|
+
this.baseStatesDirective = baseStatesDirective;
|
|
11
|
+
}
|
|
77
12
|
getCssClasses() {
|
|
78
13
|
return [
|
|
79
|
-
'euim-control-feedback',
|
|
80
|
-
this.color ? `euim-control-feedback--${this.color}` : '',
|
|
14
|
+
this.baseStatesDirective.getCssClasses('euim-control-feedback'),
|
|
81
15
|
].join(' ');
|
|
82
16
|
}
|
|
83
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimControlFeedbackComponent, deps:
|
|
84
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimControlFeedbackComponent, selector: "euim-control-feedback",
|
|
17
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimControlFeedbackComponent, deps: [{ token: i1.BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimControlFeedbackComponent, selector: "euim-control-feedback", host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: i1.BaseStatesDirective, inputs: ["euimInfo", "euimInfo", "euimSuccess", "euimSuccess", "euimWarning", "euimWarning", "euimDanger", "euimDanger", "euimVariant", "euimVariant"] }], ngImport: i0, template: "<ng-content></ng-content>\n", styles: [".euim-control-feedback{display:block;font-size:var(--eui-base-font-size-xs);padding-left:var(--eui-base-spacing-m)}.euim-control-feedback--info{color:var(--eui-base-color-info-100)}.euim-control-feedback--success{color:var(--eui-base-color-success-100)}.euim-control-feedback--warning{color:var(--eui-base-color-warning-100)}.euim-control-feedback--danger{color:var(--eui-base-color-danger-100)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
85
19
|
}
|
|
86
20
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimControlFeedbackComponent, decorators: [{
|
|
87
21
|
type: Component,
|
|
88
|
-
args: [{ selector: 'euim-control-feedback', encapsulation: ViewEncapsulation.None,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
22
|
+
args: [{ selector: 'euim-control-feedback', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
23
|
+
{
|
|
24
|
+
directive: BaseStatesDirective,
|
|
25
|
+
inputs: [
|
|
26
|
+
'euimInfo',
|
|
27
|
+
'euimSuccess',
|
|
28
|
+
'euimWarning',
|
|
29
|
+
'euimDanger',
|
|
30
|
+
'euimVariant',
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
], template: "<ng-content></ng-content>\n", styles: [".euim-control-feedback{display:block;font-size:var(--eui-base-font-size-xs);padding-left:var(--eui-base-spacing-m)}.euim-control-feedback--info{color:var(--eui-base-color-info-100)}.euim-control-feedback--success{color:var(--eui-base-color-success-100)}.euim-control-feedback--warning{color:var(--eui-base-color-warning-100)}.euim-control-feedback--danger{color:var(--eui-base-color-danger-100)}\n"] }]
|
|
34
|
+
}], ctorParameters: function () { return [{ type: i1.BaseStatesDirective }]; }, propDecorators: { cssClasses: [{
|
|
100
35
|
type: HostBinding,
|
|
101
36
|
args: ['class']
|
|
102
37
|
}] } });
|
|
103
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1jb250cm9sLWZlZWRiYWNrLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9hdG9tcy9ldWltLWNvbnRyb2wtZmVlZGJhY2svZXVpbS1jb250cm9sLWZlZWRiYWNrLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9hdG9tcy9ldWltLWNvbnRyb2wtZmVlZGJ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EBIb3N0QmluZGluZygnY2xhc3MnKVxuICAgIHB1YmxpYyBnZXQgY3NzQ2xhc3NlcygpOiBzdHJpbmcge1xuICAgICAgICByZXR1cm4gdGhpcy5nZXRDc3NDbGFzc2VzKCk7XG4gICAgfVxuXG4gICAgY29uc3RydWN0b3IocHVibGljIGJhc2VTdGF0ZXNEaXJlY3RpdmU6IEJhc2VTdGF0ZXNEaXJlY3RpdmUpIHt9XG5cbiAgICBnZXRDc3NDbGFzc2VzKCk6IHN0cmluZyB7XG4gICAgICAgIHJldHVybiBbXG4gICAgICAgICAgICB0aGlzLmJhc2VTdGF0ZXNEaXJlY3RpdmUuZ2V0Q3NzQ2xhc3NlcygnZXVpbS1jb250cm9sLWZlZWRiYWNrJyksXG4gICAgICAgIF0uam9pbignICcpO1xuICAgIH1cbn1cbiIsIjxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiJdfQ==
|
|
@@ -1,60 +1,73 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { Component, Input, HostBinding, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';
|
|
3
|
+
import { coerceBoolean } from '@eui/base';
|
|
4
|
+
import { BaseStatesDirective } from '../../base-states.directive';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
return this._euimLabelTitle;
|
|
8
|
-
}
|
|
9
|
-
set euimLabelTitle(value) {
|
|
10
|
-
this._euimLabelTitle = coerceBooleanProperty(value);
|
|
11
|
-
}
|
|
12
|
-
get euimLabelSubTitle() {
|
|
13
|
-
return this._euimLabelSubTitle;
|
|
14
|
-
}
|
|
15
|
-
set euimLabelSubTitle(value) {
|
|
16
|
-
this._euimLabelSubTitle = coerceBooleanProperty(value);
|
|
17
|
-
}
|
|
18
|
-
get euimLabelMeta() {
|
|
19
|
-
return this._euimLabelMeta;
|
|
20
|
-
}
|
|
21
|
-
set euimLabelMeta(value) {
|
|
22
|
-
this._euimLabelMeta = coerceBooleanProperty(value);
|
|
23
|
-
}
|
|
24
|
-
get euimLabelTruncate() {
|
|
25
|
-
return this._euimLabelTruncate;
|
|
26
|
-
}
|
|
27
|
-
set euimLabelTruncate(value) {
|
|
28
|
-
this._euimLabelTruncate = coerceBooleanProperty(value);
|
|
29
|
-
}
|
|
6
|
+
import * as i1 from "../../base-states.directive";
|
|
7
|
+
export class EuimLabelComponent {
|
|
30
8
|
get cssClasses() {
|
|
31
9
|
return this.getCssClasses();
|
|
32
10
|
}
|
|
33
|
-
constructor() {
|
|
34
|
-
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
39
|
-
// this.euiTextTruncateWithLines = this.paramEuiTextTruncateWithLines;
|
|
11
|
+
constructor(baseStatesDirective) {
|
|
12
|
+
this.baseStatesDirective = baseStatesDirective;
|
|
13
|
+
this.euimLabelTitle = false;
|
|
14
|
+
this.euimLabelSubTitle = false;
|
|
15
|
+
this.euimLabelMeta = false;
|
|
16
|
+
this.euimLabelTruncate = false;
|
|
40
17
|
}
|
|
41
18
|
getCssClasses() {
|
|
42
19
|
return [
|
|
20
|
+
this.baseStatesDirective.getCssClasses('euim-label'),
|
|
43
21
|
this.euimLabelTitle ? 'euim-label__title' : '',
|
|
44
22
|
this.euimLabelSubTitle ? 'euim-label__sub-title' : '',
|
|
45
23
|
this.euimLabelMeta ? 'euim-label__meta' : '',
|
|
46
24
|
this.euimLabelTruncate ? 'eui-u-text-truncate' : '',
|
|
47
25
|
this.euimLabelTruncateWithLines > 0 ? 'euim-label__euiTextTruncateWithLines euim-label__truncate' : '',
|
|
48
|
-
|
|
49
|
-
].join(' ').trim();
|
|
26
|
+
].join(' ');
|
|
50
27
|
}
|
|
51
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
52
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimLabelComponent, selector: "div[euimLabel], p[euimLabel], span[euimLabel], euim-label", inputs: { euimLabelTruncateWithLines: "euimLabelTruncateWithLines", euimLabelTitle: "euimLabelTitle", euimLabelSubTitle: "euimLabelSubTitle", euimLabelMeta: "euimLabelMeta", euimLabelTruncate: "euimLabelTruncate" }, host: { properties: { "style.--euimLabelTruncateWithLines": "this.euimLabelTruncateWithLines", "class": "this.cssClasses" } },
|
|
28
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimLabelComponent, deps: [{ token: i1.BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
29
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimLabelComponent, selector: "div[euimLabel], p[euimLabel], span[euimLabel], euim-label", inputs: { euimLabelTruncateWithLines: "euimLabelTruncateWithLines", euimLabelTitle: "euimLabelTitle", euimLabelSubTitle: "euimLabelSubTitle", euimLabelMeta: "euimLabelMeta", euimLabelTruncate: "euimLabelTruncate" }, host: { properties: { "style.--euimLabelTruncateWithLines": "this.euimLabelTruncateWithLines", "class": "this.cssClasses" } }, hostDirectives: [{ directive: i1.BaseStatesDirective, inputs: ["euimInfo", "euimInfo", "euimSuccess", "euimSuccess", "euimWarning", "euimWarning", "euimDanger", "euimDanger", "euimPrimary", "euimPrimary", "euimSecondary", "euimSecondary", "euimDefault", "euimDefault", "euimDark", "euimDark", "euimAccent", "euimAccent", "euimSize2XS", "euimSize2XS", "euimSizeXS", "euimSizeXS", "euimSizeS", "euimSizeS", "euimSizeM", "euimSizeM", "euimSizeL", "euimSizeL", "euimSizeXL", "euimSizeXL", "euimSize2XL", "euimSize2XL", "euimSize3XL", "euimSize3XL", "euimSize4XL", "euimSize4XL"] }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".euim-label{display:block;align-items:center;margin:0;padding:0;color:var(--eui-base-color-grey-100)}.euim-label ion-icon{vertical-align:bottom;margin-right:var(--eui-base-spacing-2xs)}.euim-label :not(ion-icon:first-child){margin-left:var(--eui-base-spacing-2xs)}.euim-label__title{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-text)}.euim-label__title ion-icon{font-size:var(--eui-base-font-size-m)}.euim-label__sub-title,.euim-label__meta{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);color:var(--eui-base-color-grey-75)}.euim-label__sub-title ion-icon,.euim-label__meta ion-icon{font-size:var(--eui-base-font-size-m)}.euim-label__title+.euim-label__sub-title,.euim-label__title+.euim-label__meta,.euim-label__sub-title+.euim-label__meta,.euim-label__sub-title+.euim-label__sub-title,.euim-label__meta+.euim-label__sub-title,.euim-label__meta+.euim-label__meta{margin-top:var(--eui-base-spacing-2xs)}.euim-label__euiTextTruncateWithLines{white-space:break-spaces;display:-webkit-box;-webkit-line-clamp:var(--euimLabelTruncateWithLines);-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.euim-label__truncate{white-space:break-spaces}.euim-label--primary{color:var(--eui-base-color-primary-100)}.euim-label--secondary{color:var(--eui-base-color-grey-50)}.euim-label--default{color:var(--eui-base-color-grey-75)}.euim-label--dark{color:var(--eui-base-color-grey-100)}.euim-label--info{color:var(--eui-base-color-info-100)}.euim-label--success{color:var(--eui-base-color-success-100)}.euim-label--warning{color:var(--eui-base-color-warning-100)}.euim-label--danger{color:var(--eui-base-color-danger-100)}.euim-label--accent{color:var(--eui-base-color-accent-100)}.euim-label--size-2xs{font:var(--eui-base-font-size-2xs)}.euim-label--size-xs{font:var(--eui-base-font-size-xs)}.euim-label--size-s{font:var(--eui-base-font-size-s)}.euim-label--size-m{font:var(--eui-base-font-size-m)}.euim-label--size-l{font:var(--eui-base-font-size-l)}.euim-label--size-xl{font:var(--eui-base-font-size-xl)}.euim-label--size-2xl{font:var(--eui-base-font-size-2xl)}.euim-label--size-3xl{font:var(--eui-base-font-size-3xl)}.euim-label--size-4xl{font:var(--eui-base-font-size-4xl)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
53
30
|
}
|
|
31
|
+
__decorate([
|
|
32
|
+
coerceBoolean
|
|
33
|
+
], EuimLabelComponent.prototype, "euimLabelTitle", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
coerceBoolean
|
|
36
|
+
], EuimLabelComponent.prototype, "euimLabelSubTitle", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
coerceBoolean
|
|
39
|
+
], EuimLabelComponent.prototype, "euimLabelMeta", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
coerceBoolean
|
|
42
|
+
], EuimLabelComponent.prototype, "euimLabelTruncate", void 0);
|
|
54
43
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimLabelComponent, decorators: [{
|
|
55
44
|
type: Component,
|
|
56
|
-
args: [{ selector: 'div[euimLabel], p[euimLabel], span[euimLabel], euim-label', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None,
|
|
57
|
-
|
|
45
|
+
args: [{ selector: 'div[euimLabel], p[euimLabel], span[euimLabel], euim-label', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
46
|
+
{
|
|
47
|
+
directive: BaseStatesDirective,
|
|
48
|
+
inputs: [
|
|
49
|
+
'euimInfo',
|
|
50
|
+
'euimSuccess',
|
|
51
|
+
'euimWarning',
|
|
52
|
+
'euimDanger',
|
|
53
|
+
'euimPrimary',
|
|
54
|
+
'euimSecondary',
|
|
55
|
+
'euimDefault',
|
|
56
|
+
'euimDark',
|
|
57
|
+
'euimAccent',
|
|
58
|
+
'euimSize2XS',
|
|
59
|
+
'euimSizeXS',
|
|
60
|
+
'euimSizeS',
|
|
61
|
+
'euimSizeM',
|
|
62
|
+
'euimSizeL',
|
|
63
|
+
'euimSizeXL',
|
|
64
|
+
'euimSize2XL',
|
|
65
|
+
'euimSize3XL',
|
|
66
|
+
'euimSize4XL',
|
|
67
|
+
],
|
|
68
|
+
},
|
|
69
|
+
], styles: [".euim-label{display:block;align-items:center;margin:0;padding:0;color:var(--eui-base-color-grey-100)}.euim-label ion-icon{vertical-align:bottom;margin-right:var(--eui-base-spacing-2xs)}.euim-label :not(ion-icon:first-child){margin-left:var(--eui-base-spacing-2xs)}.euim-label__title{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-text)}.euim-label__title ion-icon{font-size:var(--eui-base-font-size-m)}.euim-label__sub-title,.euim-label__meta{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);color:var(--eui-base-color-grey-75)}.euim-label__sub-title ion-icon,.euim-label__meta ion-icon{font-size:var(--eui-base-font-size-m)}.euim-label__title+.euim-label__sub-title,.euim-label__title+.euim-label__meta,.euim-label__sub-title+.euim-label__meta,.euim-label__sub-title+.euim-label__sub-title,.euim-label__meta+.euim-label__sub-title,.euim-label__meta+.euim-label__meta{margin-top:var(--eui-base-spacing-2xs)}.euim-label__euiTextTruncateWithLines{white-space:break-spaces;display:-webkit-box;-webkit-line-clamp:var(--euimLabelTruncateWithLines);-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.euim-label__truncate{white-space:break-spaces}.euim-label--primary{color:var(--eui-base-color-primary-100)}.euim-label--secondary{color:var(--eui-base-color-grey-50)}.euim-label--default{color:var(--eui-base-color-grey-75)}.euim-label--dark{color:var(--eui-base-color-grey-100)}.euim-label--info{color:var(--eui-base-color-info-100)}.euim-label--success{color:var(--eui-base-color-success-100)}.euim-label--warning{color:var(--eui-base-color-warning-100)}.euim-label--danger{color:var(--eui-base-color-danger-100)}.euim-label--accent{color:var(--eui-base-color-accent-100)}.euim-label--size-2xs{font:var(--eui-base-font-size-2xs)}.euim-label--size-xs{font:var(--eui-base-font-size-xs)}.euim-label--size-s{font:var(--eui-base-font-size-s)}.euim-label--size-m{font:var(--eui-base-font-size-m)}.euim-label--size-l{font:var(--eui-base-font-size-l)}.euim-label--size-xl{font:var(--eui-base-font-size-xl)}.euim-label--size-2xl{font:var(--eui-base-font-size-2xl)}.euim-label--size-3xl{font:var(--eui-base-font-size-3xl)}.euim-label--size-4xl{font:var(--eui-base-font-size-4xl)}\n"] }]
|
|
70
|
+
}], ctorParameters: function () { return [{ type: i1.BaseStatesDirective }]; }, propDecorators: { euimLabelTruncateWithLines: [{
|
|
58
71
|
type: HostBinding,
|
|
59
72
|
args: ['style.--euimLabelTruncateWithLines']
|
|
60
73
|
}, {
|
|
@@ -71,4 +84,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
71
84
|
type: HostBinding,
|
|
72
85
|
args: ['class']
|
|
73
86
|
}] } });
|
|
74
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
87
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1sYWJlbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvYXRvbXMvZXVpbS1sYWJlbC9ldWltLWxhYmVsLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsV0FBVyxFQUFFLGlCQUFpQixFQUFFLHVCQUF1QixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFHLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFDMUMsT0FBTyxFQUFFLG1CQUFtQixFQU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TaXplMlhTJyxcbiAgICAgICAgICAgICAgICAnZXVpbVNpemVYUycsXG4gICAgICAgICAgICAgICAgJ2V1aW1TaXplUycsXG4gICAgICAgICAgICAgICAgJ2V1aW1TaXplTScsXG4gICAgICAgICAgICAgICAgJ2V1aW1TaXplTCcsXG4gICAgICAgICAgICAgICAgJ2V1aW1TaXplWEwnLFxuICAgICAgICAgICAgICAgICdldWltU2l6ZTJYTCcsXG4gICAgICAgICAgICAgICAgJ2V1aW1TaXplM1hMJyxcbiAgICAgICAgICAgICAgICAnZXVpbVNpemU0WEwnLFxuICAgICAgICAgICAgXSxcbiAgICAgICAgfSxcbiAgICBdLFxufSlcblxuZXhwb3J0IGNsYXNzIEV1aW1MYWJlbENvbXBvbmVudCB7XG5cbiAgICBASG9zdEJpbmRpbmcoJ3N0eWxlLi0tZXVpbUxhYmVsVHJ1bmNhdGVXaXRoTGluZXMnKSBASW5wdXQoKSAgZXVpbUxhYmVsVHJ1bmNhdGVXaXRoTGluZXM6IG51bWJlcjtcblxuICAgIEBJbnB1dCgpXG4gICAgQGNvZXJjZUJvb2xlYW5cbiAgICBldWltTGFiZWxUaXRsZTogQm9vbGVhbklucHV0ID0gZmFsc2U7XG5cbiAgICBASW5wdXQoKVxuICAgIEBjb2VyY2VCb29sZWFuXG4gICAgZXVpbUxhYmVsU3ViVGl0bGU6IEJvb2xlYW5JbnB1dCA9IGZhbHNlO1xuXG4gICAgQElucHV0KClcbiAgICBAY29lcmNlQm9vbGVhblxuICAgIGV1aW1MYWJlbE1ldGE6IEJvb2xlYW5JbnB1dCA9IGZhbHNlO1xuXG4gICAgQElucHV0KClcbiAgICBAY29lcmNlQm9vbGVhblxuICAgIGV1aW1MYWJlbFRydW5jYXRlOiBCb29sZWFuSW5wdXQgPSBmYWxzZTtcblxuICAgIEBIb3N0QmluZGluZygnY2xhc3MnKVxuICAgIHB1YmxpYyBnZXQgY3NzQ2xhc3NlcygpOiBzdHJpbmcge1xuICAgICAgICByZXR1cm4gdGhpcy5nZXRDc3NDbGFzc2VzKCk7XG4gICAgfVxuXG4gICAgY29uc3RydWN0b3IocHVibGljIGJhc2VTdGF0ZXNEaXJlY3RpdmU6IEJhc2VTdGF0ZXNEaXJlY3RpdmUpIHt9XG5cbiAgICBnZXRDc3NDbGFzc2VzKCk6IHN0cmluZyB7XG4gICAgICAgIHJldHVybiBbXG4gICAgICAgICAgICB0aGlzLmJhc2VTdGF0ZXNEaXJlY3RpdmUuZ2V0Q3NzQ2xhc3NlcygnZXVpbS1sYWJlbCcpLFxuICAgICAgICAgICAgdGhpcy5ldWltTGFiZWxUaXRsZSA/ICdldWltLWxhYmVsX190aXRsZScgOiAnJyxcbiAgICAgICAgICAgIHRoaXMuZXVpbUxhYmVsU3ViVGl0bGUgPyAnZXVpbS1sYWJlbF9fc3ViLXRpdGxlJyA6ICcnLFxuICAgICAgICAgICAgdGhpcy5ldWltTGFiZWxNZXRhID8gJ2V1aW0tbGFiZWxfX21ldGEnIDogJycsXG4gICAgICAgICAgICB0aGlzLmV1aW1MYWJlbFRydW5jYXRlICA/ICdldWktdS10ZXh0LXRydW5jYXRlJzogJycsXG4gICAgICAgICAgICB0aGlzLmV1aW1MYWJlbFRydW5jYXRlV2l0aExpbmVzID4gMCA/ICdldWltLWxhYmVsX19ldWlUZXh0VHJ1bmNhdGVXaXRoTGluZXMgZXVpbS1sYWJlbF9fdHJ1bmNhdGUnOiAnJyxcbiAgICAgICAgXS5qb2luKCcgJyk7XG4gICAgfVxufVxuIl19
|
package/esm2022/lib/components/atoms/euim-notification-item/euim-notification-item.component.mjs
CHANGED
|
@@ -1,23 +1,40 @@
|
|
|
1
|
-
import { Component, HostBinding, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import {
|
|
1
|
+
import { Component, HostBinding, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
+
import { BaseStatesDirective } from '../../base-states.directive';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
4
|
+
import * as i1 from "../../base-states.directive";
|
|
5
|
+
export class EuimNotificationItemComponent {
|
|
5
6
|
get cssClasses() {
|
|
6
7
|
return this.getCssClasses();
|
|
7
8
|
}
|
|
9
|
+
constructor(baseStatesDirective) {
|
|
10
|
+
this.baseStatesDirective = baseStatesDirective;
|
|
11
|
+
}
|
|
8
12
|
getCssClasses() {
|
|
9
13
|
return [
|
|
10
|
-
|
|
11
|
-
].join(' ')
|
|
14
|
+
this.baseStatesDirective.getCssClasses('euim-notification-item'),
|
|
15
|
+
].join(' ');
|
|
12
16
|
}
|
|
13
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimNotificationItemComponent, deps:
|
|
14
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimNotificationItemComponent, selector: "euim-notification-item", host: { properties: { "class": "this.cssClasses" } },
|
|
17
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimNotificationItemComponent, deps: [{ token: i1.BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimNotificationItemComponent, selector: "euim-notification-item", host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: i1.BaseStatesDirective, inputs: ["euimInfo", "euimInfo", "euimSuccess", "euimSuccess", "euimWarning", "euimWarning", "euimDanger", "euimDanger", "euimPrimary", "euimPrimary", "euimSecondary", "euimSecondary", "euimAccent", "euimAccent"] }], ngImport: i0, template: "", styles: [".euim-notification-item{display:block;border-radius:50%;width:var(--eui-base-spacing-xs);height:var(--eui-base-spacing-xs)}.euim-notification-item--primary{background:var(--eui-base-color-primary-100)}.euim-notification-item--secondary{background:var(--eui-base-color-grey-50)}.euim-notification-item--info{background:var(--eui-base-color-info-100)}.euim-notification-item--success{background:var(--eui-base-color-success-100)}.euim-notification-item--warning{background:var(--eui-base-color-warning-100)}.euim-notification-item--danger{background:var(--eui-base-color-danger-100)}.euim-notification-item--accent{background:var(--eui-base-color-accent-100)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
15
19
|
}
|
|
16
20
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimNotificationItemComponent, decorators: [{
|
|
17
21
|
type: Component,
|
|
18
|
-
args: [{ selector: 'euim-notification-item', encapsulation: ViewEncapsulation.None,
|
|
19
|
-
|
|
22
|
+
args: [{ selector: 'euim-notification-item', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [
|
|
23
|
+
{
|
|
24
|
+
directive: BaseStatesDirective,
|
|
25
|
+
inputs: [
|
|
26
|
+
'euimInfo',
|
|
27
|
+
'euimSuccess',
|
|
28
|
+
'euimWarning',
|
|
29
|
+
'euimDanger',
|
|
30
|
+
'euimPrimary',
|
|
31
|
+
'euimSecondary',
|
|
32
|
+
'euimAccent',
|
|
33
|
+
],
|
|
34
|
+
},
|
|
35
|
+
], template: "", styles: [".euim-notification-item{display:block;border-radius:50%;width:var(--eui-base-spacing-xs);height:var(--eui-base-spacing-xs)}.euim-notification-item--primary{background:var(--eui-base-color-primary-100)}.euim-notification-item--secondary{background:var(--eui-base-color-grey-50)}.euim-notification-item--info{background:var(--eui-base-color-info-100)}.euim-notification-item--success{background:var(--eui-base-color-success-100)}.euim-notification-item--warning{background:var(--eui-base-color-warning-100)}.euim-notification-item--danger{background:var(--eui-base-color-danger-100)}.euim-notification-item--accent{background:var(--eui-base-color-accent-100)}\n"] }]
|
|
36
|
+
}], ctorParameters: function () { return [{ type: i1.BaseStatesDirective }]; }, propDecorators: { cssClasses: [{
|
|
20
37
|
type: HostBinding,
|
|
21
38
|
args: ['class']
|
|
22
39
|
}] } });
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1ub3RpZmljYXRpb24taXRlbS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvYXRvbXMvZXVpbS1ub3RpZmljYXRpb24taXRlbS9ldWltLW5vdGlmaWNhdGlvbi1pdGVtLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9hdG9tcy9ldWltLW5vdGlmaWNhdGlvbi1pdGVtL2V1aW0tbm90aWZpY2F0aW9uLWl0ZW0uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsaUJBQWlCLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkcsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sNkJBQTZCLENBQUM7OztBQXVCbEUsTUFBTSxPQUFPLDZCQUE2QjtJQUV0QyxJQUNXLFVBQVU7UUFDakIsT0FBTyxJQUFJLENBQUMsYUFBYSxFQUFFLENBQUM7SUFDaEMsQ0FBQztJQUVELFlBQW1CLG1CQUF3QztRQUF4Qyx3QkFBbUIsR0FBbkIsbUJBQW1CLENBQXFCO0lBQUcsQ0FBQztJQUUvRCxhQUFhO1FBQ1QsT0FBTztZQUNILElBQUksQ0FBQyxtQkFBbUIsQ0FBQyxhQUFhLENBQUMsd0JBQXdCLENBQUM7U0FDbkUsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7SUFDaEIsQ0FBQztrSUFiUSw2QkFBNkI7c0hBQTdCLD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BCYXNlU3RhdGVzRGlyZWN0aXZlLFxuICAgICAgICAgICAgaW5wdXRzOiBbXG4gICAgICAgICAgICAgICAgJ2V1aW1JbmZvJyxcbiAgICAgICAgICAgICAgICAnZXVpbVN1Y2Nlc3MnLFxuICAgICAgICAgICAgICAgICdldWltV2FybmluZycsXG4gICAgICAgICAgICAgICAgJ2V1aW1EYW5nZXInLFxuICAgICAgICAgICAgICAgICdldWltUHJpbWFyeScsXG4gICAgICAgICAgICAgICAgJ2V1aW1TZWNvbmRhcnknLFxuICAgICAgICAgICAgICAgICdldWltQWNjZW50JyxcbiAgICAgICAgICAgIF0sXG4gICAgICAgIH0sXG4gICAgXSxcbn0pXG5leHBvcnQgY2xhc3MgRXVpbU5vdGlmaWNhdGlvbkl0ZW1Db21wb25lbnQge1xuXG4gICAgQEhvc3RCaW5kaW5nKCdjbGFzcycpXG4gICAgcHVibGljIGdldCBjc3NDbGFzc2VzKCk6IHN0cmluZyB7XG4gICAgICAgIHJldHVybiB0aGlzLmdldENzc0NsYXNzZXMoKTtcbiAgICB9XG5cbiAgICBjb25zdHJ1Y3RvcihwdWJsaWMgYmFzZVN0YXRlc0RpcmVjdGl2ZTogQmFzZVN0YXRlc0RpcmVjdGl2ZSkge31cblxuICAgIGdldENzc0NsYXNzZXMoKTogc3RyaW5nIHtcbiAgICAgICAgcmV0dXJuIFtcbiAgICAgICAgICAgIHRoaXMuYmFzZVN0YXRlc0RpcmVjdGl2ZS5nZXRDc3NDbGFzc2VzKCdldWltLW5vdGlmaWNhdGlvbi1pdGVtJyksXG4gICAgICAgIF0uam9pbignICcpO1xuICAgIH1cbn1cbiIsIiJdfQ==
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation, EventEmitter, Output } from '@angular/core';
|
|
3
|
-
import { EuimBaseDirective } from '../euim-base.directive';
|
|
4
3
|
import { coerceBoolean } from '@eui/base';
|
|
5
4
|
import { BaseStatesDirective } from '../base-states.directive';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
@@ -8,9 +7,8 @@ import * as i1 from "../base-states.directive";
|
|
|
8
7
|
import * as i2 from "@angular/common";
|
|
9
8
|
import * as i3 from "@ionic/angular";
|
|
10
9
|
import * as i4 from "../atoms/euim-label/euim-label.component";
|
|
11
|
-
export class EuimAlertMessageComponent
|
|
10
|
+
export class EuimAlertMessageComponent {
|
|
12
11
|
constructor(baseStatesDirective) {
|
|
13
|
-
super();
|
|
14
12
|
this.baseStatesDirective = baseStatesDirective;
|
|
15
13
|
this._variant = 'default';
|
|
16
14
|
this.euimClose = new EventEmitter();
|
|
@@ -21,7 +19,6 @@ export class EuimAlertMessageComponent extends EuimBaseDirective {
|
|
|
21
19
|
}
|
|
22
20
|
ngOnInit() {
|
|
23
21
|
if (this.baseStatesDirective) {
|
|
24
|
-
this.resetVariantType();
|
|
25
22
|
this.setVariants();
|
|
26
23
|
}
|
|
27
24
|
}
|
|
@@ -76,20 +73,9 @@ export class EuimAlertMessageComponent extends EuimBaseDirective {
|
|
|
76
73
|
get cssClasses() {
|
|
77
74
|
return this.getCssClasses();
|
|
78
75
|
}
|
|
79
|
-
resetVariantType() {
|
|
80
|
-
this._euimDanger = false;
|
|
81
|
-
this._euimInfo = false;
|
|
82
|
-
this._euimSuccess = false;
|
|
83
|
-
this._euimInfo = false;
|
|
84
|
-
this._euimPrimary = false;
|
|
85
|
-
this._euimDark = false;
|
|
86
|
-
this._euimClear = false;
|
|
87
|
-
this._euimLight = false;
|
|
88
|
-
this._variant = null;
|
|
89
|
-
}
|
|
90
76
|
getCssClasses() {
|
|
91
77
|
return [
|
|
92
|
-
'euim-alert-message',
|
|
78
|
+
this.baseStatesDirective.getCssClasses('euim-alert-message'),
|
|
93
79
|
this._variant ? `euim-alert-message--${this._variant}` : '',
|
|
94
80
|
!this.isVisible ? 'euim-alert-message--hidden' : '',
|
|
95
81
|
].join(' ');
|
|
@@ -102,7 +88,7 @@ export class EuimAlertMessageComponent extends EuimBaseDirective {
|
|
|
102
88
|
this.euimClose.emit();
|
|
103
89
|
}
|
|
104
90
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimAlertMessageComponent, deps: [{ token: i1.BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
105
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimAlertMessageComponent, selector: "euim-alert-message", inputs: { euimLabelTruncate: "euimLabelTruncate", hasIcon: "hasIcon", isCloseable: "isCloseable" }, outputs: { euimClose: "euimClose" }, host: { properties: { "class": "this.cssClasses" } },
|
|
91
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimAlertMessageComponent, selector: "euim-alert-message", inputs: { euimLabelTruncate: "euimLabelTruncate", hasIcon: "hasIcon", isCloseable: "isCloseable" }, outputs: { euimClose: "euimClose" }, host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: i1.BaseStatesDirective, inputs: ["euimInfo", "euimInfo", "euimSuccess", "euimSuccess", "euimWarning", "euimWarning", "euimDanger", "euimDanger", "euimPrimary", "euimPrimary", "euimDark", "euimDark", "euimLight", "euimLight", "euimClear", "euimClear", "euimVariant", "euimVariant"] }], ngImport: i0, template: "<div class=\"euim-alert-message__wrappericon\" *ngIf=\"hasIcon && isVisible\">\n <ion-icon *ngIf=\"hasIcon\" [name]=\"icon\" class=\"euim-alert-message__icon\"></ion-icon>\n</div>\n<div class=\"euim-alert-message__wrapper\" *ngIf=\"isVisible\">\n <div class=\"slotStart\">\n <ng-content select=\"[slotStart]\"></ng-content>\n </div>\n <div euimLabel [euimLabelTruncate]=\"euimLabelTruncate\">\n <ng-content></ng-content>\n </div>\n <div class=\"slotEnd\">\n <ng-content select=\"[slotEnd]\"></ng-content>\n </div>\n</div>\n\n<a *ngIf=\"isCloseable && isVisible\" role=\"button\" aria-label=\"Close Icon Button\" class=\"euim-alert-message__close\"\n (click)=\"onClose($event)\">\n <ion-icon name=\"close-sharp\" class=\"euim-alert-message__closeIcon\"></ion-icon>\n</a>\n", styles: [".euim-alert-message{width:100%;display:flex;align-items:center;font:normal normal 400 .875rem/1rem var(--eui-base-font-family);padding-left:var(--eui-base-spacing-m);padding-right:var(--eui-base-spacing-xs);padding-top:var(--eui-base-spacing-xs);padding-bottom:var(--eui-base-spacing-xs)}.euim-alert-message__wrapper{padding:0;margin:0;min-width:1px;display:flex;align-items:center;position:relative;flex-grow:1}.euim-alert-message .slotEnd{display:flex;align-items:center;margin-inline-start:auto;padding-left:var(--eui-base-spacing-xs)}.euim-alert-message .slotEnd ion-icon{width:var(--eui-base-spacing-m);height:var(--eui-base-spacing-m);display:flex}.euim-alert-message [slotStart]{display:flex;align-items:center;width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l);margin-inline-end:var(--eui-base-spacing-m)}.euim-alert-message__icon{align-items:center;width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l);margin-inline-end:var(--eui-base-spacing-m)}.euim-alert-message__closeIcon{align-items:center;width:var(--eui-base-spacing-m);height:var(--eui-base-spacing-m)}.euim-alert-message__wrappericon{align-items:center;width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l);margin-inline-end:var(--eui-base-spacing-m)}.euim-alert-message__close{padding:0;margin:0;width:var(--eui-base-spacing-m);height:var(--eui-base-spacing-m)}.euim-alert-message a{cursor:pointer}.euim-alert-message ion-badge[slotEnd]{display:flex}.euim-alert-message--danger{color:var(--eui-base-color-danger-120);background:var(--eui-base-color-danger-25)}.euim-alert-message--danger .euim-label{color:var(--eui-base-color-danger-120)}.euim-alert-message--danger ion-icon{color:var(--eui-base-color-danger-100)}.euim-alert-message--danger ion-badge[slotEnd],.euim-alert-message--danger ion-button[slotEnd],.euim-alert-message--danger ion-chip[slotEnd]{--background: var(--eui-base-color-danger-100);color:var(--eui-base-color-white)}.euim-alert-message--danger ion-badge[slotEnd] ion-icon,.euim-alert-message--danger ion-button[slotEnd] ion-icon,.euim-alert-message--danger ion-chip[slotEnd] ion-icon{color:var(--eui-base-color-white)}.euim-alert-message--danger [slotEnd] ion-icon{color:var(--eui-base-color-danger-100)}.euim-alert-message--info{color:var(--eui-base-color-info-120);background:var(--eui-base-color-info-25)}.euim-alert-message--info .euim-label{color:var(--eui-base-color-info-120)}.euim-alert-message--info ion-icon{color:var(--eui-base-color-info-100)}.euim-alert-message--info ion-badge[slotEnd],.euim-alert-message--info ion-button[slotEnd],.euim-alert-message--info ion-chip[slotEnd]{--background: var(--eui-base-color-info-100);color:var(--eui-base-color-white)}.euim-alert-message--info ion-badge[slotEnd] ion-icon,.euim-alert-message--info ion-button[slotEnd] ion-icon,.euim-alert-message--info ion-chip[slotEnd] ion-icon{color:var(--eui-base-color-white)}.euim-alert-message--info [slotEnd] ion-icon{color:var(--eui-base-color-info-100)}.euim-alert-message--success{color:var(--eui-base-color-success-120);background:var(--eui-base-color-success-25)}.euim-alert-message--success .euim-label{color:var(--eui-base-color-success-120)}.euim-alert-message--success ion-icon{color:var(--eui-base-color-success-100)}.euim-alert-message--success ion-badge[slotEnd],.euim-alert-message--success ion-button[slotEnd],.euim-alert-message--success ion-chip[slotEnd]{--background: var(--eui-base-color-success-100);color:var(--eui-base-color-white)}.euim-alert-message--success ion-badge[slotEnd] ion-icon,.euim-alert-message--success ion-button[slotEnd] ion-icon,.euim-alert-message--success ion-chip[slotEnd] ion-icon{color:var(--eui-base-color-white)}.euim-alert-message--success [slotEnd] ion-icon{color:var(--eui-base-color-success-100)}.euim-alert-message--warning{color:var(--eui-base-color-warning-140);background:var(--eui-base-color-warning-25)}.euim-alert-message--warning .euim-label{color:var(--eui-base-color-warning-140)}.euim-alert-message--warning ion-icon{color:var(--eui-base-color-warning-120)}.euim-alert-message--warning ion-badge[slotEnd],.euim-alert-message--warning ion-button[slotEnd],.euim-alert-message--warning ion-chip[slotEnd]{--background: var(--eui-base-color-warning-120);color:var(--eui-base-color-white)}.euim-alert-message--warning ion-badge[slotEnd] ion-icon,.euim-alert-message--warning ion-button[slotEnd] ion-icon,.euim-alert-message--warning ion-chip[slotEnd] ion-icon{color:var(--eui-base-color-white)}.euim-alert-message--warning [slotEnd] ion-icon{color:var(--eui-base-color-warning-120)}.euim-alert-message--dark{color:var(--eui-base-color-white);background:var(--eui-base-color-grey-100)}.euim-alert-message--dark ion-icon,.euim-alert-message--dark .euim-label{color:var(--eui-base-color-white)}.euim-alert-message--dark [slotEnd]{--background: var(--eui-base-color-grey-100);color:var(--eui-base-color-white)}.euim-alert-message--primary{color:var(--eui-base-color-white);background:var(--eui-base-color-primary-100)}.euim-alert-message--primary ion-icon,.euim-alert-message--primary .euim-label{color:var(--eui-base-color-white)}.euim-alert-message--primary [slotEnd]{--background: none;--border-color: var(--eui-base-color-grey-5);color:var(--eui-base-color-grey-5)}.euim-alert-message--light{color:var(--eui-base-color-grey-100);background:var(--eui-base-color-grey-5)}.euim-alert-message--light ion-icon,.euim-alert-message--light .euim-label{color:var(--eui-base-color-grey-100)}.euim-alert-message--light [slotEnd]{--background: var(--eui-base-color-grey-5);color:var(--eui-base-color-grey-100)}.euim-alert-message--default{color:var(--eui-base-color-black);background:none}.euim-alert-message--default ion-icon,.euim-alert-message--default .euim-label{color:var(--eui-base-color-black)}.euim-alert-message--clear{color:var(--eui-base-color-grey-100);background:none}.euim-alert-message--clear ion-icon,.euim-alert-message--clear .euim-label{color:var(--eui-base-color-grey-100)}.euim-alert-message--hidden{display:none}.euim-alert-message [slotEnd]{font:normal normal 400 .875rem/1rem var(--eui-base-font-family)}.euim-alert-message ion-badge[slotEnd]{padding-right:var(--eui-base-spacing-xs);padding-left:var(--eui-base-spacing-xs)}.euim-alert-message ion-badge[slotEnd] ion-icon{padding-left:var(--eui-base-spacing-2xs)}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i4.EuimLabelComponent, selector: "div[euimLabel], p[euimLabel], span[euimLabel], euim-label", inputs: ["euimLabelTruncateWithLines", "euimLabelTitle", "euimLabelSubTitle", "euimLabelMeta", "euimLabelTruncate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
106
92
|
}
|
|
107
93
|
__decorate([
|
|
108
94
|
coerceBoolean
|
|
@@ -127,6 +113,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
127
113
|
'euimDark',
|
|
128
114
|
'euimLight',
|
|
129
115
|
'euimClear',
|
|
116
|
+
'euimVariant',
|
|
130
117
|
],
|
|
131
118
|
},
|
|
132
119
|
], template: "<div class=\"euim-alert-message__wrappericon\" *ngIf=\"hasIcon && isVisible\">\n <ion-icon *ngIf=\"hasIcon\" [name]=\"icon\" class=\"euim-alert-message__icon\"></ion-icon>\n</div>\n<div class=\"euim-alert-message__wrapper\" *ngIf=\"isVisible\">\n <div class=\"slotStart\">\n <ng-content select=\"[slotStart]\"></ng-content>\n </div>\n <div euimLabel [euimLabelTruncate]=\"euimLabelTruncate\">\n <ng-content></ng-content>\n </div>\n <div class=\"slotEnd\">\n <ng-content select=\"[slotEnd]\"></ng-content>\n </div>\n</div>\n\n<a *ngIf=\"isCloseable && isVisible\" role=\"button\" aria-label=\"Close Icon Button\" class=\"euim-alert-message__close\"\n (click)=\"onClose($event)\">\n <ion-icon name=\"close-sharp\" class=\"euim-alert-message__closeIcon\"></ion-icon>\n</a>\n", styles: [".euim-alert-message{width:100%;display:flex;align-items:center;font:normal normal 400 .875rem/1rem var(--eui-base-font-family);padding-left:var(--eui-base-spacing-m);padding-right:var(--eui-base-spacing-xs);padding-top:var(--eui-base-spacing-xs);padding-bottom:var(--eui-base-spacing-xs)}.euim-alert-message__wrapper{padding:0;margin:0;min-width:1px;display:flex;align-items:center;position:relative;flex-grow:1}.euim-alert-message .slotEnd{display:flex;align-items:center;margin-inline-start:auto;padding-left:var(--eui-base-spacing-xs)}.euim-alert-message .slotEnd ion-icon{width:var(--eui-base-spacing-m);height:var(--eui-base-spacing-m);display:flex}.euim-alert-message [slotStart]{display:flex;align-items:center;width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l);margin-inline-end:var(--eui-base-spacing-m)}.euim-alert-message__icon{align-items:center;width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l);margin-inline-end:var(--eui-base-spacing-m)}.euim-alert-message__closeIcon{align-items:center;width:var(--eui-base-spacing-m);height:var(--eui-base-spacing-m)}.euim-alert-message__wrappericon{align-items:center;width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l);margin-inline-end:var(--eui-base-spacing-m)}.euim-alert-message__close{padding:0;margin:0;width:var(--eui-base-spacing-m);height:var(--eui-base-spacing-m)}.euim-alert-message a{cursor:pointer}.euim-alert-message ion-badge[slotEnd]{display:flex}.euim-alert-message--danger{color:var(--eui-base-color-danger-120);background:var(--eui-base-color-danger-25)}.euim-alert-message--danger .euim-label{color:var(--eui-base-color-danger-120)}.euim-alert-message--danger ion-icon{color:var(--eui-base-color-danger-100)}.euim-alert-message--danger ion-badge[slotEnd],.euim-alert-message--danger ion-button[slotEnd],.euim-alert-message--danger ion-chip[slotEnd]{--background: var(--eui-base-color-danger-100);color:var(--eui-base-color-white)}.euim-alert-message--danger ion-badge[slotEnd] ion-icon,.euim-alert-message--danger ion-button[slotEnd] ion-icon,.euim-alert-message--danger ion-chip[slotEnd] ion-icon{color:var(--eui-base-color-white)}.euim-alert-message--danger [slotEnd] ion-icon{color:var(--eui-base-color-danger-100)}.euim-alert-message--info{color:var(--eui-base-color-info-120);background:var(--eui-base-color-info-25)}.euim-alert-message--info .euim-label{color:var(--eui-base-color-info-120)}.euim-alert-message--info ion-icon{color:var(--eui-base-color-info-100)}.euim-alert-message--info ion-badge[slotEnd],.euim-alert-message--info ion-button[slotEnd],.euim-alert-message--info ion-chip[slotEnd]{--background: var(--eui-base-color-info-100);color:var(--eui-base-color-white)}.euim-alert-message--info ion-badge[slotEnd] ion-icon,.euim-alert-message--info ion-button[slotEnd] ion-icon,.euim-alert-message--info ion-chip[slotEnd] ion-icon{color:var(--eui-base-color-white)}.euim-alert-message--info [slotEnd] ion-icon{color:var(--eui-base-color-info-100)}.euim-alert-message--success{color:var(--eui-base-color-success-120);background:var(--eui-base-color-success-25)}.euim-alert-message--success .euim-label{color:var(--eui-base-color-success-120)}.euim-alert-message--success ion-icon{color:var(--eui-base-color-success-100)}.euim-alert-message--success ion-badge[slotEnd],.euim-alert-message--success ion-button[slotEnd],.euim-alert-message--success ion-chip[slotEnd]{--background: var(--eui-base-color-success-100);color:var(--eui-base-color-white)}.euim-alert-message--success ion-badge[slotEnd] ion-icon,.euim-alert-message--success ion-button[slotEnd] ion-icon,.euim-alert-message--success ion-chip[slotEnd] ion-icon{color:var(--eui-base-color-white)}.euim-alert-message--success [slotEnd] ion-icon{color:var(--eui-base-color-success-100)}.euim-alert-message--warning{color:var(--eui-base-color-warning-140);background:var(--eui-base-color-warning-25)}.euim-alert-message--warning .euim-label{color:var(--eui-base-color-warning-140)}.euim-alert-message--warning ion-icon{color:var(--eui-base-color-warning-120)}.euim-alert-message--warning ion-badge[slotEnd],.euim-alert-message--warning ion-button[slotEnd],.euim-alert-message--warning ion-chip[slotEnd]{--background: var(--eui-base-color-warning-120);color:var(--eui-base-color-white)}.euim-alert-message--warning ion-badge[slotEnd] ion-icon,.euim-alert-message--warning ion-button[slotEnd] ion-icon,.euim-alert-message--warning ion-chip[slotEnd] ion-icon{color:var(--eui-base-color-white)}.euim-alert-message--warning [slotEnd] ion-icon{color:var(--eui-base-color-warning-120)}.euim-alert-message--dark{color:var(--eui-base-color-white);background:var(--eui-base-color-grey-100)}.euim-alert-message--dark ion-icon,.euim-alert-message--dark .euim-label{color:var(--eui-base-color-white)}.euim-alert-message--dark [slotEnd]{--background: var(--eui-base-color-grey-100);color:var(--eui-base-color-white)}.euim-alert-message--primary{color:var(--eui-base-color-white);background:var(--eui-base-color-primary-100)}.euim-alert-message--primary ion-icon,.euim-alert-message--primary .euim-label{color:var(--eui-base-color-white)}.euim-alert-message--primary [slotEnd]{--background: none;--border-color: var(--eui-base-color-grey-5);color:var(--eui-base-color-grey-5)}.euim-alert-message--light{color:var(--eui-base-color-grey-100);background:var(--eui-base-color-grey-5)}.euim-alert-message--light ion-icon,.euim-alert-message--light .euim-label{color:var(--eui-base-color-grey-100)}.euim-alert-message--light [slotEnd]{--background: var(--eui-base-color-grey-5);color:var(--eui-base-color-grey-100)}.euim-alert-message--default{color:var(--eui-base-color-black);background:none}.euim-alert-message--default ion-icon,.euim-alert-message--default .euim-label{color:var(--eui-base-color-black)}.euim-alert-message--clear{color:var(--eui-base-color-grey-100);background:none}.euim-alert-message--clear ion-icon,.euim-alert-message--clear .euim-label{color:var(--eui-base-color-grey-100)}.euim-alert-message--hidden{display:none}.euim-alert-message [slotEnd]{font:normal normal 400 .875rem/1rem var(--eui-base-font-family)}.euim-alert-message ion-badge[slotEnd]{padding-right:var(--eui-base-spacing-xs);padding-left:var(--eui-base-spacing-xs)}.euim-alert-message ion-badge[slotEnd] ion-icon{padding-left:var(--eui-base-spacing-2xs)}\n"] }]
|
|
@@ -142,4 +129,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
142
129
|
type: HostBinding,
|
|
143
130
|
args: ['class']
|
|
144
131
|
}] } });
|
|
145
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1hbGVydC1tZXNzc2FnZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi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gICAgICAgIH0gZWxzZSBpZiAodGhpcy5iYXNlU3RhdGVzRGlyZWN0aXZlLmV1aW1DbGVhcikge1xuICAgICAgICAgICAgdGhpcy5fdmFyaWFudCA9ICdjbGVhcic7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBnZXQgaWNvbigpOiBzdHJpbmcge1xuICAgICAgICBzd2l0Y2ggKHRoaXMuX3ZhcmlhbnQpIHtcbiAgICAgICAgICAgIGNhc2UgJ3dhcm5pbmcnOlxuICAgICAgICAgICAgICAgIHJldHVybiAnYWxlcnQtY2lyY2xlLXNoYXJwJztcbiAgICAgICAgICAgIGNhc2UgJ2Rhbmdlcic6XG4gICAgICAgICAgICAgICAgcmV0dXJuICdjbG9zZS1jaXJjbGUtc2hhcnAnO1xuICAgICAgICAgICAgY2FzZSAnc3VjY2Vzcyc6XG4gICAgICAgICAgICAgICAgcmV0dXJuICdjaGVja21hcmstY2lyY2xlLXNoYXJwJztcbiAgICAgICAgICAgIGNhc2UgJ2luZm8nOlxuICAgICAgICAgICAgICAgIHJldHVybiAnaW5mb3JtYXRpb24tY2lyY2xlLXNoYXJwJztcbiAgICAgICAgICAgIGNhc2UgJ3ByaW1hcnknOlxuICAgICAgICAgICAgICAgIHJldHVybiAnc2VhcmNoLXNoYXJwJztcbiAgICAgICAgICAgIGNhc2UgJ2RhcmsnOlxuICAgICAgICAgICAgICAgIHJldHVybiAnc2VhcmNoLXNoYXJwJztcbiAgICAgICAgICAgIGNhc2UgJ2xpZ2h0JzpcbiAgICAgICAgICAgICAgICByZXR1cm4gJ3NlYXJjaC1zaGFycCc7XG4gICAgICAgICAgICBjYXNlICdjbGVhcic6XG4gICAgICAgICAgICAgICAgcmV0dXJuICdzZWFyY2gtc2hhcnAnO1xuICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgICByZXR1cm4gJyc7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBASG9zdEJpbmRpbmcoJ2NsYXNzJylcbiAgICBwdWJs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XCIgYXJpYS1sYWJlbD1cIkNsb3NlIEljb24gQnV0dG9uXCIgY2xhc3M9XCJldWltLWFsZXJ0LW1lc3NhZ2VfX2Nsb3NlXCJcbiAgICAoY2xpY2spPVwib25DbG9zZSgkZXZlbnQpXCI+XG4gICAgPGlvbi1pY29uIG5hbWU9XCJjbG9zZS1zaGFycFwiIGNsYXNzPVwiZXVpbS1hbGVydC1tZXNzYWdlX19jbG9zZUljb25cIj48L2lvbi1pY29uPlxuPC9hPlxuIl19
|
|
@@ -1,23 +1,17 @@
|
|
|
1
|
-
import { Component, HostBinding, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import { EuimBaseDirective } from '../euim-base.directive';
|
|
1
|
+
import { Component, HostBinding, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export class EuimAvatarComponent
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
export class EuimAvatarComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.className = 'euim-avatar';
|
|
7
6
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
'euim-avatar',
|
|
11
|
-
].join(' ');
|
|
12
|
-
}
|
|
13
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimAvatarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
14
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimAvatarComponent, selector: "euim-avatar", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [".euim-avatar{display:inline-flex;position:relative}.euim-avatar[slot=start]{margin-inline-end:var(--eui-base-spacing-m)}.euim-avatar[slot=end]{margin-inline-start:var(--eui-base-spacing-m)}.euim-avatar__sub-icon{position:absolute;z-index:99;display:inline-flex;bottom:-6px;right:-6px}.euim-avatar-icon--fill-outline-solid{border-width:2px;border-style:solid;border-color:var(--eui-base-color-white)}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
|
7
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimAvatarComponent, selector: "euim-avatar", host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [".euim-avatar{display:inline-flex;position:relative}.euim-avatar[slot=start]{margin-inline-end:var(--eui-base-spacing-m)}.euim-avatar[slot=end]{margin-inline-start:var(--eui-base-spacing-m)}.euim-avatar__sub-icon{position:absolute;z-index:99;display:inline-flex;bottom:-6px;right:-6px}.euim-avatar-icon--fill-outline-solid{border-width:2px;border-style:solid;border-color:var(--eui-base-color-white)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
15
9
|
}
|
|
16
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimAvatarComponent, decorators: [{
|
|
17
11
|
type: Component,
|
|
18
|
-
args: [{ selector: 'euim-avatar', encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n", styles: [".euim-avatar{display:inline-flex;position:relative}.euim-avatar[slot=start]{margin-inline-end:var(--eui-base-spacing-m)}.euim-avatar[slot=end]{margin-inline-start:var(--eui-base-spacing-m)}.euim-avatar__sub-icon{position:absolute;z-index:99;display:inline-flex;bottom:-6px;right:-6px}.euim-avatar-icon--fill-outline-solid{border-width:2px;border-style:solid;border-color:var(--eui-base-color-white)}\n"] }]
|
|
19
|
-
}], propDecorators: {
|
|
12
|
+
args: [{ selector: 'euim-avatar', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n", styles: [".euim-avatar{display:inline-flex;position:relative}.euim-avatar[slot=start]{margin-inline-end:var(--eui-base-spacing-m)}.euim-avatar[slot=end]{margin-inline-start:var(--eui-base-spacing-m)}.euim-avatar__sub-icon{position:absolute;z-index:99;display:inline-flex;bottom:-6px;right:-6px}.euim-avatar-icon--fill-outline-solid{border-width:2px;border-style:solid;border-color:var(--eui-base-color-white)}\n"] }]
|
|
13
|
+
}], propDecorators: { className: [{
|
|
20
14
|
type: HostBinding,
|
|
21
15
|
args: ['class']
|
|
22
16
|
}] } });
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1hdmF0YXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2V1aW0tYXZhdGFyL2V1aW0tYXZhdGFyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9ldWltLWF2YXRhci9ldWltLWF2YXRhci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxpQkFBaUIsRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFTbkcsTUFBTSxPQUFPLG1CQUFtQjtJQVBoQztRQVEwQixjQUFTLEdBQUcsYUFBYSxDQUFDO0tBQ25EO2tJQUZZLG1CQUFtQjtzSEFBbkIsbUJBQW1CLHdHQ1RoQyw2QkFDQTs7NEZEUWEsbUJBQW1CO2tCQVAvQixTQUFTOytCQUNJLGFBQWEsaUJBR1IsaUJBQWlCLENBQUMsSUFBSSxtQkFDc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