@eui/mobile-core 16.7.0-snapshot-1709025354856 → 16.7.0-snapshot-1709133352306
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 +6 -2
- package/docs/components/EuimChipSelectorComponent.html +244 -1333
- 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/BaseStatesDirective.html +81 -0
- 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 +25 -89
- package/esm2022/lib/components/atoms/euim-label/euim-label.component.mjs +56 -42
- package/esm2022/lib/components/atoms/euim-notification-item/euim-notification-item.component.mjs +28 -10
- package/esm2022/lib/components/base-states.directive.mjs +23 -2
- package/esm2022/lib/components/euim-alert-message/euim-alert-messsage.component.mjs +6 -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 +5 -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 +10 -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 +27 -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 +38 -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 +692 -1083
- 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/base-states.directive.d.ts +4 -1
- package/lib/components/base-states.directive.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 +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 +5 -5
- 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
|
@@ -1,27 +1,37 @@
|
|
|
1
1
|
import { Directive, HostBinding } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { BaseStatesDirective } from '../../base-states.directive';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
super(...arguments);
|
|
7
|
-
this.rootClass = 'euim-data-summary__col-label';
|
|
8
|
-
}
|
|
4
|
+
import * as i1 from "../../base-states.directive";
|
|
5
|
+
export class EuimDataSummaryColLabelDirective {
|
|
9
6
|
get cssClasses() {
|
|
10
|
-
return this.getCssClasses(
|
|
7
|
+
return this.getCssClasses();
|
|
8
|
+
}
|
|
9
|
+
constructor(baseStatesDirective) {
|
|
10
|
+
this.baseStatesDirective = baseStatesDirective;
|
|
11
11
|
}
|
|
12
|
-
getCssClasses(
|
|
13
|
-
return
|
|
12
|
+
getCssClasses() {
|
|
13
|
+
return [
|
|
14
|
+
this.baseStatesDirective.getCssClasses('euim-data-summary__col-label'),
|
|
15
|
+
].join(' ').trim();
|
|
14
16
|
}
|
|
15
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimDataSummaryColLabelDirective, deps:
|
|
16
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EuimDataSummaryColLabelDirective, selector: "[euimDataSummaryColLabel]", host: { properties: { "class": "this.cssClasses" } },
|
|
17
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimDataSummaryColLabelDirective, deps: [{ token: i1.BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
18
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EuimDataSummaryColLabelDirective, selector: "[euimDataSummaryColLabel]", host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: i1.BaseStatesDirective, inputs: ["euimPrimary", "euimPrimary"] }], ngImport: i0 }); }
|
|
17
19
|
}
|
|
18
20
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimDataSummaryColLabelDirective, decorators: [{
|
|
19
21
|
type: Directive,
|
|
20
22
|
args: [{
|
|
21
23
|
selector: '[euimDataSummaryColLabel]',
|
|
24
|
+
hostDirectives: [
|
|
25
|
+
{
|
|
26
|
+
directive: BaseStatesDirective,
|
|
27
|
+
inputs: [
|
|
28
|
+
'euimPrimary',
|
|
29
|
+
],
|
|
30
|
+
},
|
|
31
|
+
],
|
|
22
32
|
}]
|
|
23
|
-
}], propDecorators: { cssClasses: [{
|
|
33
|
+
}], ctorParameters: function () { return [{ type: i1.BaseStatesDirective }]; }, propDecorators: { cssClasses: [{
|
|
24
34
|
type: HostBinding,
|
|
25
35
|
args: ['class']
|
|
26
36
|
}] } });
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1kYXRhLXN1bW1hcnktY29sLWxhYmVsLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL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RCaW5kaW5nIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBCYXNlU3RhdGVzRGlyZWN0aXZlIH0gZnJvbSAnLi4vLi4vYmFzZS1zdGF0ZXMuZGlyZWN0aXZlJztcblxuQERpcmVjdGl2ZSh7XG4gICAgc2VsZWN0b3I6ICdbZXVpbURhdGFTdW1tYXJ5Q29sTGFiZWxdJyxcbiAgICBob3N0RGlyZWN0aXZlczogW1xuICAgICAgICB7XG4gICAgICAgICAgICBkaXJlY3RpdmU6IEJhc2VTdGF0ZXNEaXJlY3RpdmUsXG4gICAgICAgICAgICBpbnB1dHM6IFtcbiAgICAgICAgICAgICAgICAnZXVpbVByaW1hcnknLFxuICAgICAgICAgICAgXSxcbiAgICAgICAgfSxcbiAgICBdLFxufSlcbmV4cG9ydCBjbGFzcyBFdWltRGF0YVN1bW1hcnlDb2xMYWJlbERpcmVjdGl2ZSB7XG4gICAgQEhvc3RCaW5kaW5nKCdjbGFzcycpXG4gICAgcHVibGljIGdldCBjc3NDbGFzc2VzKCk6IHN0cmluZyB7XG4gICAgICAgIHJldHVybiB0aGlzLmdldENzc0NsYXNzZXMoKTtcbiAgICB9XG5cbiAgICBjb25zdHJ1Y3RvcihwdWJsaWMgYmFzZVN0YXRlc0RpcmVjdGl2ZTogQmFzZVN0YXRlc0RpcmVjdGl2ZSkge31cblxuICAgIGdldENzc0NsYXNzZXMoKSA6c3RyaW5nIHtcbiAgICAgICAgcmV0dXJuIFtcbiAgICAgICAgICAgIHRoaXMuYmFzZVN0YXRlc0RpcmVjdGl2ZS5nZXRDc3NDbGFzc2VzKCdldWltLWRhdGEtc3VtbWFyeV9fY29sLWxhYmVsJyksXG4gICAgICAgIF0uam9pbignICcpLnRyaW0oKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { Directive, HostBinding } from '@angular/core';
|
|
2
|
-
import { EuimBaseDirective } from '../../euim-base.directive';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
super(...arguments);
|
|
7
|
-
this.rootClass = 'euim-data-summary__col-value';
|
|
8
|
-
}
|
|
3
|
+
import * as i1 from "../../base-states.directive";
|
|
4
|
+
export class EuimDataSummaryColValueDirective {
|
|
9
5
|
get cssClasses() {
|
|
10
|
-
return this.getCssClasses(
|
|
6
|
+
return this.getCssClasses();
|
|
7
|
+
}
|
|
8
|
+
constructor(baseStatesDirective) {
|
|
9
|
+
this.baseStatesDirective = baseStatesDirective;
|
|
11
10
|
}
|
|
12
|
-
getCssClasses(
|
|
13
|
-
return
|
|
11
|
+
getCssClasses() {
|
|
12
|
+
return [
|
|
13
|
+
this.baseStatesDirective.getCssClasses('euim-data-summary__col-value'),
|
|
14
|
+
].join(' ').trim();
|
|
14
15
|
}
|
|
15
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimDataSummaryColValueDirective, deps:
|
|
16
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EuimDataSummaryColValueDirective, selector: "[euimDataSummaryColValue]", host: { properties: { "class": "this.cssClasses" } },
|
|
16
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimDataSummaryColValueDirective, deps: [{ token: i1.BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
17
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EuimDataSummaryColValueDirective, selector: "[euimDataSummaryColValue]", host: { properties: { "class": "this.cssClasses" } }, ngImport: i0 }); }
|
|
17
18
|
}
|
|
18
19
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimDataSummaryColValueDirective, decorators: [{
|
|
19
20
|
type: Directive,
|
|
20
21
|
args: [{
|
|
21
22
|
selector: '[euimDataSummaryColValue]',
|
|
22
23
|
}]
|
|
23
|
-
}], propDecorators: { cssClasses: [{
|
|
24
|
+
}], ctorParameters: function () { return [{ type: i1.BaseStatesDirective }]; }, propDecorators: { cssClasses: [{
|
|
24
25
|
type: HostBinding,
|
|
25
26
|
args: ['class']
|
|
26
27
|
}] } });
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1kYXRhLXN1bW1hcnktY29sLXZhbHVlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9ldWltLWRhdGEtc3VtbWFyeS9ldWltLWRhdGEtc3VtbWFyeS1jb2wtdmFsdWUvZXVpbS1kYXRhLXN1bW1hcnktY29sLXZhbHVlLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7O0FBTXZELE1BQU0sT0FBTyxnQ0FBZ0M7SUFDekMsSUFDVyxVQUFVO1FBQ2pCLE9BQU8sSUFBSSxDQUFDLGFBQWEsRUFBRSxDQUFDO0lBQ2hDLENBQUM7SUFFRCxZQUFtQixtQkFBd0M7UUFBeEMsd0JBQW1CLEdBQW5CLG1CQUFtQixDQUFxQjtJQUFHLENBQUM7SUFFL0QsYUFBYTtRQUNULE9BQU87WUFDSCxJQUFJLENBQUMsbUJBQW1CLENBQUMsYUFBYSxDQUFDLDhCQUE4QixDQUFDO1NBQ3pFLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDLElBQUksRUFBRSxDQUFDO0lBQ3Z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rategy, Component, ContentChildren, HostBinding, ViewEncapsulation, } from '@angular/core';
|
|
2
|
-
import { EuimBaseDirective } from '../euim-base.directive';
|
|
3
2
|
import { EuimDataSummaryColLabelDirective } from './euim-data-summary-col-label/euim-data-summary-col-label.directive';
|
|
4
3
|
import { EuimDataSummaryColValueDirective } from './euim-data-summary-col-value/euim-data-summary-col-value.directive';
|
|
4
|
+
import { BaseStatesDirective } from '../base-states.directive';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
super(...arguments);
|
|
9
|
-
this.rootClass = 'euim-data-summary';
|
|
10
|
-
}
|
|
6
|
+
import * as i1 from "../base-states.directive";
|
|
7
|
+
export class EuimDataSummaryComponent {
|
|
11
8
|
get cssClasses() {
|
|
12
|
-
return this.getCssClasses(
|
|
9
|
+
return this.getCssClasses();
|
|
10
|
+
}
|
|
11
|
+
constructor(baseStatesDirective) {
|
|
12
|
+
this.baseStatesDirective = baseStatesDirective;
|
|
13
13
|
}
|
|
14
|
-
getCssClasses(
|
|
15
|
-
return
|
|
14
|
+
getCssClasses() {
|
|
15
|
+
return [
|
|
16
|
+
this.baseStatesDirective.getCssClasses('euim-data-summary'),
|
|
17
|
+
].join(' ');
|
|
16
18
|
}
|
|
17
19
|
ngAfterContentInit() {
|
|
18
20
|
if (this.euimDataSummaryColLabelComponent
|
|
19
21
|
&& this.euimDataSummaryColValueComponent) {
|
|
20
|
-
if (this.euimPrimary) {
|
|
22
|
+
if (this.baseStatesDirective.euimPrimary) {
|
|
21
23
|
this.euimDataSummaryColLabelComponent.forEach(item => {
|
|
22
|
-
item.euimPrimary = true;
|
|
24
|
+
item.baseStatesDirective.euimPrimary = true;
|
|
23
25
|
});
|
|
24
26
|
this.euimDataSummaryColValueComponent.forEach(item => {
|
|
25
|
-
item.euimPrimary = true;
|
|
27
|
+
item.baseStatesDirective.euimPrimary = true;
|
|
26
28
|
});
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimDataSummaryComponent, deps:
|
|
31
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimDataSummaryComponent, selector: "euim-data-summary", host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "euimDataSummaryColLabelComponent", predicate: EuimDataSummaryColLabelDirective, descendants: true }, { propertyName: "euimDataSummaryColValueComponent", predicate: EuimDataSummaryColValueDirective, descendants: true }],
|
|
32
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimDataSummaryComponent, deps: [{ token: i1.BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
33
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimDataSummaryComponent, selector: "euim-data-summary", host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "euimDataSummaryColLabelComponent", predicate: EuimDataSummaryColLabelDirective, descendants: true }, { propertyName: "euimDataSummaryColValueComponent", predicate: EuimDataSummaryColValueDirective, descendants: true }], hostDirectives: [{ directive: i1.BaseStatesDirective, inputs: ["euimPrimary", "euimPrimary", "color", "color"] }], ngImport: i0, template: "<ng-content></ng-content>\n", styles: [".euim-data-summary{display:flex;width:100%;padding:var(--eui-base-spacing-s);border-bottom:1px solid var(--eui-base-color-grey-20);border-top:1px solid var(--eui-base-color-grey-20)}.euim-data-summary--primary{background-color:var(--eui-base-color-primary-100);border-bottom:0;border-top:0}.euim-data-summary__col{width:100%;text-align:center}.euim-data-summary__col+.euim-data-summary__col{border-left:1px solid var(--eui-base-color-grey-20)}.euim-data-summary__col-label{color:var(--eui-base-color-grey-100);font:var(--eui-base-font-m);font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;margin-bottom:var(--eui-base-spacing-2xs)}.euim-data-summary__col-label--primary{color:var(--eui-base-color-white)}.euim-data-summary__col-value{color:var(--eui-base-color-grey-75);font:var(--eui-base-font-s)}.euim-data-summary__col-value--primary{color:var(--eui-base-color-white)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
32
34
|
}
|
|
33
35
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimDataSummaryComponent, decorators: [{
|
|
34
36
|
type: Component,
|
|
35
|
-
args: [{ selector: 'euim-data-summary', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None,
|
|
36
|
-
|
|
37
|
+
args: [{ selector: 'euim-data-summary', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, hostDirectives: [
|
|
38
|
+
{
|
|
39
|
+
directive: BaseStatesDirective,
|
|
40
|
+
inputs: [
|
|
41
|
+
'euimPrimary',
|
|
42
|
+
'color',
|
|
43
|
+
],
|
|
44
|
+
},
|
|
45
|
+
], template: "<ng-content></ng-content>\n", styles: [".euim-data-summary{display:flex;width:100%;padding:var(--eui-base-spacing-s);border-bottom:1px solid var(--eui-base-color-grey-20);border-top:1px solid var(--eui-base-color-grey-20)}.euim-data-summary--primary{background-color:var(--eui-base-color-primary-100);border-bottom:0;border-top:0}.euim-data-summary__col{width:100%;text-align:center}.euim-data-summary__col+.euim-data-summary__col{border-left:1px solid var(--eui-base-color-grey-20)}.euim-data-summary__col-label{color:var(--eui-base-color-grey-100);font:var(--eui-base-font-m);font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;margin-bottom:var(--eui-base-spacing-2xs)}.euim-data-summary__col-label--primary{color:var(--eui-base-color-white)}.euim-data-summary__col-value{color:var(--eui-base-color-grey-75);font:var(--eui-base-font-s)}.euim-data-summary__col-value--primary{color:var(--eui-base-color-white)}\n"] }]
|
|
46
|
+
}], ctorParameters: function () { return [{ type: i1.BaseStatesDirective }]; }, propDecorators: { euimDataSummaryColLabelComponent: [{
|
|
37
47
|
type: ContentChildren,
|
|
38
48
|
args: [EuimDataSummaryColLabelDirective, { descendants: true }]
|
|
39
49
|
}], euimDataSummaryColValueComponent: [{
|
|
@@ -43,4 +53,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
43
53
|
type: HostBinding,
|
|
44
54
|
args: ['class']
|
|
45
55
|
}] } });
|
|
46
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
56
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1kYXRhLXN1bW1hcnkuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2V1aW0tZGF0YS1zdW1tYXJ5L2V1aW0tZGF0YS1zdW1tYXJ5LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9ldWltLWRhdGEtc3VtbWFyeS9ldWltLWRhdGEtc3VtbWFyeS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBRUgsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxlQUFlLEVBQ2YsV0FBVyxFQUVYLGlCQUFpQixHQUNwQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsZ0NBQWdDLEVBQUUsTUFBTSxxRUFBcUUsQ0FBQztBQUN2SCxPQUFPLEVBQUUsZ0NBQWdDLEVBQUUsTUFBTSxxRUFBcUUsQ0FBQztBQUN2SCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQzs7O0FBa0IvRCxNQUFN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ICAgICAgICAgICAgICAgICAgIGl0ZW0uYmFzZVN0YXRlc0RpcmVjdGl2ZS5ldWltUHJpbWFyeSA9IHRydWU7XG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG59XG4iLCI8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4iXX0=
|
package/esm2022/lib/components/euim-empty-list-placeholder/euim-empty-list-placeholder.component.mjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';
|
|
3
|
-
import { EuimBaseDirective } from '../euim-base.directive';
|
|
2
|
+
import { Component, HostBinding, Input, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';
|
|
4
3
|
import { coerceBoolean } from '@eui/base';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
import * as i1 from "@angular/common";
|
|
7
6
|
import * as i2 from "@ionic/angular";
|
|
8
7
|
import * as i3 from "@ngx-translate/core";
|
|
9
|
-
export class EuimEmptyListPlaceholderComponent
|
|
8
|
+
export class EuimEmptyListPlaceholderComponent {
|
|
10
9
|
get cssClasses() {
|
|
11
10
|
return this.getCssClasses();
|
|
12
11
|
}
|
|
@@ -18,8 +17,8 @@ export class EuimEmptyListPlaceholderComponent extends EuimBaseDirective {
|
|
|
18
17
|
this.euimMarginBottomSmall ? 'euim-empty-list-placeholder--margin-bottom-small' : '',
|
|
19
18
|
].join(' ');
|
|
20
19
|
}
|
|
21
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimEmptyListPlaceholderComponent, deps:
|
|
22
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimEmptyListPlaceholderComponent, selector: "euim-empty-list-placeholder", inputs: { message: "message", icon: "icon", description: "description", button: "button", euimMarginTopLarge: "euimMarginTopLarge", euimMarginTopSmall: "euimMarginTopSmall", euimMarginBottomSmall: "euimMarginBottomSmall" }, host: { properties: { "class": "this.cssClasses" } },
|
|
20
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimEmptyListPlaceholderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
21
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimEmptyListPlaceholderComponent, selector: "euim-empty-list-placeholder", inputs: { message: "message", icon: "icon", description: "description", button: "button", euimMarginTopLarge: "euimMarginTopLarge", euimMarginTopSmall: "euimMarginTopSmall", euimMarginBottomSmall: "euimMarginBottomSmall" }, host: { properties: { "class": "this.cssClasses" } }, ngImport: i0, template: "<ion-icon *ngIf=\"icon\" [name]=\"icon\" size=\"large\" class=\"euim-empty-list-placeholder__icon\"></ion-icon>\n<ion-icon *ngIf=\"(!icon && !message && !description)\" name=\"search-sharp\" size=\"large\"\n class=\"euim-empty-list-placeholder__icon\"></ion-icon>\n<div class=\"euim-empty-list-placeholder__message\" *ngIf=\"message || (!icon && !message && !description)\">\n {{ message || 'euim.empty-list-placeholder.message' | translate }}\n</div>\n<div class=\"euim-empty-list-placeholder__description\" *ngIf=\"description || (!icon && !message && !description)\">\n {{ description || 'euim.empty-list-placeholder.description' | translate }}\n</div>\n<ng-content></ng-content>", styles: [".euim-empty-list-placeholder{width:100%;display:grid;grid-template-columns:1fr;grid-template-rows:auto;grid-column-gap:0;grid-row-gap:var(--eui-base-spacing-2xs);justify-content:center;justify-items:center;align-items:center;margin:auto}.euim-empty-list-placeholder--margin-top-large{margin-top:calc(9 * var(--eui-base-spacing-m))}.euim-empty-list-placeholder--margin-top-small{margin-top:var(--eui-base-spacing-m)}.euim-empty-list-placeholder--margin-bottom-small{margin-bottom:var(--eui-base-spacing-m)}.euim-empty-list-placeholder__icon{color:var(--eui-base-color-grey-75)}.euim-empty-list-placeholder__message{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-grey-75)}.euim-empty-list-placeholder__description{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);color:var(--eui-base-color-grey-75)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
23
22
|
}
|
|
24
23
|
__decorate([
|
|
25
24
|
coerceBoolean
|
|
@@ -32,7 +31,7 @@ __decorate([
|
|
|
32
31
|
], EuimEmptyListPlaceholderComponent.prototype, "euimMarginBottomSmall", void 0);
|
|
33
32
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimEmptyListPlaceholderComponent, decorators: [{
|
|
34
33
|
type: Component,
|
|
35
|
-
args: [{ selector: 'euim-empty-list-placeholder', encapsulation: ViewEncapsulation.None, template: "<ion-icon *ngIf=\"icon\" [name]=\"icon\" size=\"large\" class=\"euim-empty-list-placeholder__icon\"></ion-icon>\n<ion-icon *ngIf=\"(!icon && !message && !description)\" name=\"search-sharp\" size=\"large\"\n class=\"euim-empty-list-placeholder__icon\"></ion-icon>\n<div class=\"euim-empty-list-placeholder__message\" *ngIf=\"message || (!icon && !message && !description)\">\n {{ message || 'euim.empty-list-placeholder.message' | translate }}\n</div>\n<div class=\"euim-empty-list-placeholder__description\" *ngIf=\"description || (!icon && !message && !description)\">\n {{ description || 'euim.empty-list-placeholder.description' | translate }}\n</div>\n<ng-content></ng-content>", styles: [".euim-empty-list-placeholder{width:100%;display:grid;grid-template-columns:1fr;grid-template-rows:auto;grid-column-gap:0;grid-row-gap:var(--eui-base-spacing-2xs);justify-content:center;justify-items:center;align-items:center;margin:auto}.euim-empty-list-placeholder--margin-top-large{margin-top:calc(9 * var(--eui-base-spacing-m))}.euim-empty-list-placeholder--margin-top-small{margin-top:var(--eui-base-spacing-m)}.euim-empty-list-placeholder--margin-bottom-small{margin-bottom:var(--eui-base-spacing-m)}.euim-empty-list-placeholder__icon{color:var(--eui-base-color-grey-75)}.euim-empty-list-placeholder__message{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-grey-75)}.euim-empty-list-placeholder__description{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);color:var(--eui-base-color-grey-75)}\n"] }]
|
|
34
|
+
args: [{ selector: 'euim-empty-list-placeholder', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ion-icon *ngIf=\"icon\" [name]=\"icon\" size=\"large\" class=\"euim-empty-list-placeholder__icon\"></ion-icon>\n<ion-icon *ngIf=\"(!icon && !message && !description)\" name=\"search-sharp\" size=\"large\"\n class=\"euim-empty-list-placeholder__icon\"></ion-icon>\n<div class=\"euim-empty-list-placeholder__message\" *ngIf=\"message || (!icon && !message && !description)\">\n {{ message || 'euim.empty-list-placeholder.message' | translate }}\n</div>\n<div class=\"euim-empty-list-placeholder__description\" *ngIf=\"description || (!icon && !message && !description)\">\n {{ description || 'euim.empty-list-placeholder.description' | translate }}\n</div>\n<ng-content></ng-content>", styles: [".euim-empty-list-placeholder{width:100%;display:grid;grid-template-columns:1fr;grid-template-rows:auto;grid-column-gap:0;grid-row-gap:var(--eui-base-spacing-2xs);justify-content:center;justify-items:center;align-items:center;margin:auto}.euim-empty-list-placeholder--margin-top-large{margin-top:calc(9 * var(--eui-base-spacing-m))}.euim-empty-list-placeholder--margin-top-small{margin-top:var(--eui-base-spacing-m)}.euim-empty-list-placeholder--margin-bottom-small{margin-bottom:var(--eui-base-spacing-m)}.euim-empty-list-placeholder__icon{color:var(--eui-base-color-grey-75)}.euim-empty-list-placeholder__message{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-grey-75)}.euim-empty-list-placeholder__description{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);color:var(--eui-base-color-grey-75)}\n"] }]
|
|
36
35
|
}], propDecorators: { message: [{
|
|
37
36
|
type: Input
|
|
38
37
|
}], icon: [{
|
|
@@ -51,4 +50,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
51
50
|
type: HostBinding,
|
|
52
51
|
args: ['class']
|
|
53
52
|
}] } });
|
|
54
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1lbXB0eS1saXN0LXBsYWNlaG9sZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9ldWltLWVtcHR5LWxpc3QtcGxhY2Vob2xkZXIvZXVpbS1lbXB0eS1saXN0LXBsYWNlaG9sZGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9ldWltLWVtcHR5LWxpc3QtcGxhY2Vob2xkZXIvZXVpbS1lbXB0eS1saXN0LXBsYWNlaG9sZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsaUJBQWlCLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFMUcsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLFdBQVcsQ0FBQzs7Ozs7QU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NlaG9sZGVyX19pY29uXCI+PC9pb24taWNvbj5cbjxkaXYgY2xhc3M9XCJldWltLWVtcHR5LWxpc3QtcGxhY2Vob2xkZXJfX21lc3NhZ2VcIiAqbmdJZj1cIm1lc3NhZ2UgfHwgKCFpY29uICYmICFtZXNzYWdlICYmICFkZXNjcmlwdGlvbilcIj5cbiAgICB7eyBtZXNzYWdlIHx8ICdldWltLmVtcHR5LWxpc3QtcGxhY2Vob2xkZXIubWVzc2FnZScgfCB0cmFuc2xhdGUgfX1cbjwvZGl2PlxuPGRpdiBjbGFzcz1cImV1aW0tZW1wdHktbGlzdC1wbGFjZWhvbGRlcl9fZGVzY3JpcHRpb25cIiAqbmdJZj1cImRlc2NyaXB0aW9uIHx8ICghaWNvbiAmJiAhbWVzc2FnZSAmJiAhZGVzY3JpcHRpb24pXCI+XG4gICAge3sgZGVzY3JpcHRpb24gfHwgJ2V1aW0uZW1wdHktbGlzdC1wbGFjZWhvbGRlci5kZXNjcmlwdGlvbicgfCB0cmFuc2xhdGUgfX1cbjwvZGl2PlxuPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PiJdfQ==
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, HostBinding, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import { EuimBaseDirective } from '../../euim-base.directive';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export class EuimFieldsetActionsComponent
|
|
3
|
+
export class EuimFieldsetActionsComponent {
|
|
5
4
|
constructor() {
|
|
6
|
-
super(...arguments);
|
|
7
5
|
this.className = 'euim-fieldset-actions';
|
|
8
6
|
}
|
|
9
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimFieldsetActionsComponent, deps:
|
|
10
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimFieldsetActionsComponent, selector: "euim-fieldset-actions", host: { properties: { "class": "this.className" } },
|
|
7
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimFieldsetActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimFieldsetActionsComponent, selector: "euim-fieldset-actions", host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
11
9
|
}
|
|
12
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimFieldsetActionsComponent, decorators: [{
|
|
13
11
|
type: Component,
|
|
@@ -16,4 +14,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
16
14
|
type: HostBinding,
|
|
17
15
|
args: ['class']
|
|
18
16
|
}] } });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1maWVsZHNldC1hY3Rpb25zLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9ldWltLWZpZWxkc2V0L2V1aW0tZmllbGRzZXQtYWN0aW9ucy9ldWltLWZpZWxkc2V0LWFjdGlvbnMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2V1aW0tZmllbGRzZXQvZXVpbS1maWVsZHNldC1hY3Rpb25zL2V1aW0tZmllbGRzZXQtYWN0aW9ucy5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wiPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuIl19
|
package/esm2022/lib/components/euim-fieldset/euim-fieldset-legend/euim-fieldset-legend.component.mjs
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, HostBinding, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import { EuimBaseDirective } from '../../euim-base.directive';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export class EuimFieldsetLegendComponent
|
|
3
|
+
export class EuimFieldsetLegendComponent {
|
|
5
4
|
constructor() {
|
|
6
|
-
super(...arguments);
|
|
7
5
|
this.className = 'euim-fieldset-legend';
|
|
8
6
|
}
|
|
9
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimFieldsetLegendComponent, deps:
|
|
10
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimFieldsetLegendComponent, selector: "euim-fieldset-legend", host: { properties: { "class": "this.className" } },
|
|
7
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimFieldsetLegendComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimFieldsetLegendComponent, selector: "euim-fieldset-legend", host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
11
9
|
}
|
|
12
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimFieldsetLegendComponent, decorators: [{
|
|
13
11
|
type: Component,
|
|
@@ -16,4 +14,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
16
14
|
type: HostBinding,
|
|
17
15
|
args: ['class']
|
|
18
16
|
}] } });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1maWVsZHNldC1sZWdlbmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2V1aW0tZmllbGRzZXQvZXVpbS1maWVsZHNldC1sZWdlbmQvZXVpbS1maWVsZHNldC1sZWdlbmQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2V1aW0tZmllbGRzZXQvZXVpbS1maWVsZHNldC1sZWdlbmQvZXVpbS1maWVsZHNldC1sZWdlbmQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBUW5HLE1BQU0sT0FBTywyQkFBMkI7SUFOeEM7UUFPMEIsY0FBUyxHQUFHLHNCQUFzQixDQUFDO0tBQzVEO2tJQUZZLDJCQUEyQjtzSEFBM0IsMkJBQTJCLGlIQ1J4Qyw2QkFDQTs7NEZET2EsMkJBQTJCO2tCQU52QyxTQUFTOytCQUNJLHNCQUFzQixtQkFFZix1QkFBdUIsQ0FBQyxNQUFNLGlCQUNoQyxpQkFBaUIsQ0FBQyxJQUFJOzhCQUdmLFNBQVM7c0JBQTlCLFdBQVc7dUJBQUMsT0FBTyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENoYW5nZURldGVjdGlvblN0cmF0ZWd5LCBDb21wb25lbnQsIEhvc3RCaW5kaW5nLCBWaWV3RW5jYXBzdWxhdGlvbiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ2V1aW0tZmllbGRzZXQtbGVnZW5kJyxcbiAgICB0ZW1wbGF0ZVVybDogJy4vZXVpbS1maWVsZHNldC1sZWdlbmQuY29tcG9uZW50Lmh0bWwnLFxuICAgIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxuICAgIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmUsXG59KVxuZXhwb3J0IGNsYXNzIEV1aW1GaWVsZHNldExlZ2VuZENvbXBvbmVudCB7XG4gICAgQEhvc3RCaW5kaW5nKCdjbGFzcycpIGNsYXNzTmFtZSA9ICdldWltLWZpZWxkc2V0LWxlZ2VuZCc7XG59XG4iLCI8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4iXX0=
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, HostBinding, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import { EuimBaseDirective } from '../euim-base.directive';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export class EuimFieldSetComponent
|
|
3
|
+
export class EuimFieldSetComponent {
|
|
5
4
|
constructor() {
|
|
6
|
-
super(...arguments);
|
|
7
5
|
this.className = 'euim-fieldset';
|
|
8
6
|
}
|
|
9
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimFieldSetComponent, deps:
|
|
10
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimFieldSetComponent, selector: "euim-fieldset", host: { properties: { "class": "this.className" } },
|
|
7
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimFieldSetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimFieldSetComponent, selector: "euim-fieldset", host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<div>\n <div class=\"euim-fieldset__header\">\n <ng-content select=\"euim-fieldset-legend\"></ng-content>\n <ng-content select=\"euim-fieldset-actions\"></ng-content>\n </div>\n <ng-content></ng-content>\n</div>\n", styles: [".euim-fieldset{display:block}.euim-fieldset__header{display:flex;align-items:center;justify-content:space-between;padding-top:var(--eui-base-spacing-m);border-bottom:1px solid var(--eui-base-color-grey-20);width:100%}.euim-fieldset-legend{display:flex;align-items:center;font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family);margin-bottom:var(--eui-base-spacing-xs)}.euim-fieldset-legend ion-icon{margin-right:var(--eui-base-spacing-xs)}.euim-fieldset-actions{display:flex;align-items:center}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
11
9
|
}
|
|
12
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimFieldSetComponent, decorators: [{
|
|
13
11
|
type: Component,
|
|
@@ -16,4 +14,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
16
14
|
type: HostBinding,
|
|
17
15
|
args: ['class']
|
|
18
16
|
}] } });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1maWVsZHNldC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi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XRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmUsXG59KVxuZXhwb3J0IGNsYXNzIEV1aW1GaWVsZFNldENvbXBvbmVudCB7XG4gICAgQEhvc3RCaW5kaW5nKCdjbGFzcycpIGNsYXNzTmFtZSA9ICdldWltLWZpZWxkc2V0Jztcbn1cbiIsIjxkaXY+XG4gICAgPGRpdiBjbGFzcz1cImV1aW0tZmllbGRzZXRfX2hlYWRlclwiPlxuICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJldWltLWZpZWxkc2V0LWxlZ2VuZFwiPjwvbmctY29udGVudD5cbiAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiZXVpbS1maWVsZHNldC1hY3Rpb25zXCI+PC9uZy1jb250ZW50PlxuICAgIDwvZGl2PlxuICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvZGl2PlxuIl19
|
|
@@ -1,46 +1,56 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { BaseStatesDirective } from '../base-states.directive';
|
|
4
4
|
import { coerceBoolean } from '@eui/base';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.euimNoGradient = false;
|
|
11
|
-
}
|
|
6
|
+
import * as i1 from "../base-states.directive";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
export class EuimMediaHeaderComponent {
|
|
12
9
|
get cssClasses() {
|
|
13
10
|
return this.getCssClasses();
|
|
14
11
|
}
|
|
12
|
+
constructor(baseStatesDirective) {
|
|
13
|
+
this.baseStatesDirective = baseStatesDirective;
|
|
14
|
+
this.euimNoGradient = false;
|
|
15
|
+
}
|
|
15
16
|
getCssClasses() {
|
|
16
17
|
let size;
|
|
17
|
-
if (this.euimSizeM) {
|
|
18
|
+
if (this.baseStatesDirective.euimSizeM) {
|
|
18
19
|
size = 'm';
|
|
19
20
|
}
|
|
20
|
-
if (this.euimSizeS) {
|
|
21
|
+
if (this.baseStatesDirective.euimSizeS) {
|
|
21
22
|
size = 's';
|
|
22
23
|
}
|
|
23
|
-
if (this.euimSizeL) {
|
|
24
|
+
if (this.baseStatesDirective.euimSizeL) {
|
|
24
25
|
size = 'l';
|
|
25
26
|
}
|
|
26
27
|
return [
|
|
27
|
-
'euim-media-header',
|
|
28
|
+
this.baseStatesDirective.getCssClasses('euim-media-header'),
|
|
28
29
|
size ? `euim-media-header__size-${size}` : '',
|
|
29
|
-
].join(' ');
|
|
30
|
+
].join(' ').trim();
|
|
30
31
|
}
|
|
31
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimMediaHeaderComponent, deps:
|
|
32
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimMediaHeaderComponent, selector: "euim-media-header", inputs: { euimNoGradient: "euimNoGradient" }, host: { properties: { "class": "this.cssClasses" } },
|
|
32
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimMediaHeaderComponent, deps: [{ token: i1.BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
33
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimMediaHeaderComponent, selector: "euim-media-header", inputs: { euimNoGradient: "euimNoGradient" }, host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: i1.BaseStatesDirective, inputs: ["euimSizeM", "euimSizeM", "euimSizeS", "euimSizeS", "euimSizeL", "euimSizeL"] }], ngImport: i0, template: "<ng-content select=\"[euimMediaHeaderImage]\"></ng-content>\n<div *ngIf=\"!euimNoGradient\" class=\"euim-media-header__gradient\">\n</div>\n<div class=\"euim-media-header__text\">\n <ng-content></ng-content>\n</div>\n", styles: [".euim-media-header{position:relative;display:flex}.euim-media-header__text{position:absolute;bottom:var(--eui-base-spacing-m);color:#fff;padding-left:var(--eui-base-spacing-m);padding-right:var(--eui-base-spacing-m)}.euim-media-header__text h4{margin-bottom:var(--eui-base-spacing-2xs);font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family);font-weight:700;margin-top:0}.euim-media-header__text div{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family)}.euim-media-header__text .euim-media-header__title{font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-white)}.euim-media-header__text .euim-media-header__sub-title{color:var(--eui-base-color-white);font:normal normal 400 1rem/1.25rem var(--eui-base-font-family)}.euim-media-header__gradient{width:100%;height:100%;background:linear-gradient(to bottom,rgba(255,255,255,0),var(--eui-base-color-black) 100%);background-blend-mode:multiply;background-size:100%;position:absolute;inset:0}.euim-media-header__image{width:100%;height:100%;object-fit:cover}.euim-media-header__title{font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-white)}.euim-media-header__sub-title{color:var(--eui-base-color-white);font:normal normal 400 1rem/1.25rem var(--eui-base-font-family)}.euim-media-header__title+.euim-media-header__sub-title{margin-top:var(--eui-base-spacing-2xs)}.euim-media-header__size-s{height:calc(var(--eui-base-spacing-m) * 8)}.euim-media-header__size-m{height:calc(var(--eui-base-spacing-m) * 16)}.euim-media-header__size-l{height:calc(var(--eui-base-spacing-m) * 25)}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
33
34
|
}
|
|
34
35
|
__decorate([
|
|
35
36
|
coerceBoolean
|
|
36
37
|
], EuimMediaHeaderComponent.prototype, "euimNoGradient", void 0);
|
|
37
38
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimMediaHeaderComponent, decorators: [{
|
|
38
39
|
type: Component,
|
|
39
|
-
args: [{ selector: 'euim-media-header', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None,
|
|
40
|
-
|
|
40
|
+
args: [{ selector: 'euim-media-header', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, hostDirectives: [
|
|
41
|
+
{
|
|
42
|
+
directive: BaseStatesDirective,
|
|
43
|
+
inputs: [
|
|
44
|
+
'euimSizeM',
|
|
45
|
+
'euimSizeS',
|
|
46
|
+
'euimSizeL',
|
|
47
|
+
],
|
|
48
|
+
},
|
|
49
|
+
], template: "<ng-content select=\"[euimMediaHeaderImage]\"></ng-content>\n<div *ngIf=\"!euimNoGradient\" class=\"euim-media-header__gradient\">\n</div>\n<div class=\"euim-media-header__text\">\n <ng-content></ng-content>\n</div>\n", styles: [".euim-media-header{position:relative;display:flex}.euim-media-header__text{position:absolute;bottom:var(--eui-base-spacing-m);color:#fff;padding-left:var(--eui-base-spacing-m);padding-right:var(--eui-base-spacing-m)}.euim-media-header__text h4{margin-bottom:var(--eui-base-spacing-2xs);font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family);font-weight:700;margin-top:0}.euim-media-header__text div{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family)}.euim-media-header__text .euim-media-header__title{font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-white)}.euim-media-header__text .euim-media-header__sub-title{color:var(--eui-base-color-white);font:normal normal 400 1rem/1.25rem var(--eui-base-font-family)}.euim-media-header__gradient{width:100%;height:100%;background:linear-gradient(to bottom,rgba(255,255,255,0),var(--eui-base-color-black) 100%);background-blend-mode:multiply;background-size:100%;position:absolute;inset:0}.euim-media-header__image{width:100%;height:100%;object-fit:cover}.euim-media-header__title{font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-white)}.euim-media-header__sub-title{color:var(--eui-base-color-white);font:normal normal 400 1rem/1.25rem var(--eui-base-font-family)}.euim-media-header__title+.euim-media-header__sub-title{margin-top:var(--eui-base-spacing-2xs)}.euim-media-header__size-s{height:calc(var(--eui-base-spacing-m) * 8)}.euim-media-header__size-m{height:calc(var(--eui-base-spacing-m) * 16)}.euim-media-header__size-l{height:calc(var(--eui-base-spacing-m) * 25)}\n"] }]
|
|
50
|
+
}], ctorParameters: function () { return [{ type: i1.BaseStatesDirective }]; }, propDecorators: { euimNoGradient: [{
|
|
41
51
|
type: Input
|
|
42
52
|
}], cssClasses: [{
|
|
43
53
|
type: HostBinding,
|
|
44
54
|
args: ['class']
|
|
45
55
|
}] } });
|
|
46
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
56
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1tZWRpYS1oZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2V1aW0tbWVkaWEtaGVhZGVyL2V1aW0tbWVkaWEtaGVhZGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9ldWltLW1lZGlhLWhlYWRlci9ldWltLW1lZGlhLWhlYWRlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsS0FBSyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFHLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDBCQUEwQixDQUFD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