@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,23 +1,18 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
1
2
|
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
+
import { coerceBoolean } from '@eui/base';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
import * as i1 from "@ionic/angular";
|
|
5
6
|
import * as i2 from "@angular/common";
|
|
6
7
|
import * as i3 from "../euim-avatar-icon/euim-avatar-icon.component";
|
|
7
8
|
import * as i4 from "../atoms/euim-label/euim-label.component";
|
|
8
9
|
import * as i5 from "../atoms/euim-notification-item/euim-notification-item.component";
|
|
9
|
-
export class EuimMenuComponent
|
|
10
|
+
export class EuimMenuComponent {
|
|
10
11
|
constructor(navCtrl) {
|
|
11
|
-
super();
|
|
12
12
|
this.navCtrl = navCtrl;
|
|
13
13
|
this.isChanged = false;
|
|
14
14
|
this.itemClick = new EventEmitter();
|
|
15
|
-
|
|
16
|
-
get items() {
|
|
17
|
-
return this._items;
|
|
18
|
-
}
|
|
19
|
-
set items(value) {
|
|
20
|
-
this._items = value;
|
|
15
|
+
this.items = [];
|
|
21
16
|
}
|
|
22
17
|
onItemClick(event, idx, item) {
|
|
23
18
|
if (item && item.url) {
|
|
@@ -34,14 +29,17 @@ export class EuimMenuComponent extends EuimBaseDirective {
|
|
|
34
29
|
return item.notification?.color === color;
|
|
35
30
|
}
|
|
36
31
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimMenuComponent, deps: [{ token: i1.NavController }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
37
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimMenuComponent, selector: "euim-menu", inputs: { items: "items" }, outputs: { itemClick: "itemClick" },
|
|
32
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimMenuComponent, selector: "euim-menu", inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, ngImport: i0, template: "<ion-list>\n <ng-container *ngFor=\"let section of items\">\n <li class=\"euim-menu__section\">\n <ion-item-divider *ngIf=\"section.sectionName\">\n <p euimLabel [euimSizeS]=\"true\" [euimDefault]=\"true\">{{section.sectionName}}</p>\n </ion-item-divider>\n <ion-menu-toggle auto-hide=\"true\" *ngFor=\"let item of section.items; let j = index\">\n <ion-item (click)=\"onItemClick($event, j, item)\" *ngIf=\"item.label\"\n [lines]=\"item.lines ? item.lines : 'none'\" button [detail]=\"item.detailArrow\"\n class=\"euim-menu__section-item\">\n <euim-avatar-icon *ngIf=\"item.avatarColor\" size=\"s\" variant=\"rounded\" [color]=\"item.avatarColor\">\n <ion-icon *ngIf=\"item.icon\"\n [color]=\"item.iconColor\"\n [name]=\"item.icon\"></ion-icon>\n </euim-avatar-icon>\n <ion-icon *ngIf=\"item.icon && !item.avatarColor\"\n [color]=\"item.iconColor\"\n [name]=\"item.icon\"></ion-icon>\n <div>\n <p class=\"euim-menu__section-item-label\" euimLabel [euimSizeM]=\"true\" [euimDark]=\"true\">{{item.label}}</p>\n <p class=\"euim-menu__section-item-sublabel\" euimLabel [euimSizeS]=\"true\" [euimDefault]=\"true\">{{item.sublabel}}</p>\n </div>\n\n <ion-badge *ngIf=\"item.badge\" [color]=\"item.badge.color\" slot=\"end\">\n {{item.badge.value}}</ion-badge>\n <euim-notification-item *ngIf=\"item.notification && !item.notification.count\"\n slot=\"end\"\n [euimSuccess]=\"isColorDirectiveShown(item, 'success')\"\n [euimWarning]=\"isColorDirectiveShown(item, 'warning')\"\n [euimDanger]=\"isColorDirectiveShown(item, 'danger')\"\n [euimInfo]=\"isColorDirectiveShown(item, 'info')\"\n [euimPrimary]=\"isColorDirectiveShown(item, 'primary')\"\n [euimSecondary]=\"isColorDirectiveShown(item, 'secondary')\"\n [euimAccent]=\"isColorDirectiveShown(item, 'accent')\"\n ></euim-notification-item>\n <ion-note class=\"euim-menu__metadata\" slot=\"end\" *ngIf=\"item.metadata\">\n <p euimLabel [euimSizeS]=\"true\" [euimDefault]=\"true\">{{item.metadata}}</p>\n </ion-note>\n </ion-item>\n </ion-menu-toggle>\n </li>\n </ng-container>\n</ion-list>\n", styles: [".euim-menu__section-item{--padding-start: 0px;--inner-padding-start: var(--eui-base-spacing-m)}.euim-menu__section-item::part(detail-icon){color:var(--eui-base-color-grey-50);font-size:var(--eui-base-font-size-2xl);opacity:1;margin-left:var(--eui-base-spacing-xs)}.euim-menu__section-item-label,.euim-menu__section-item-sublabel{margin-left:var(--eui-base-spacing-m)}.euim-menu__metadata{margin:auto 0 auto var(--eui-base-spacing-s);padding:0}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1.IonBadge, selector: "ion-badge", inputs: ["color", "mode"] }, { kind: "component", type: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i1.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "counterFormatter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { kind: "component", type: i1.IonItemDivider, selector: "ion-item-divider", inputs: ["color", "mode", "sticky"] }, { kind: "component", type: i1.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { kind: "component", type: i1.IonMenuToggle, selector: "ion-menu-toggle", inputs: ["autoHide", "menu"] }, { kind: "component", type: i1.IonNote, selector: "ion-note", inputs: ["color", "mode"] }, { kind: "component", type: i3.EuimAvatarIconComponent, selector: "euim-avatar-icon", inputs: ["color", "size", "fill", "variant", "borderColor"] }, { kind: "component", type: i4.EuimLabelComponent, selector: "div[euimLabel], p[euimLabel], span[euimLabel], euim-label", inputs: ["euimLabelTruncateWithLines", "euimLabelTitle", "euimLabelSubTitle", "euimLabelMeta", "euimLabelTruncate"] }, { kind: "component", type: i5.EuimNotificationItemComponent, selector: "euim-notification-item" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
38
33
|
}
|
|
34
|
+
__decorate([
|
|
35
|
+
coerceBoolean
|
|
36
|
+
], EuimMenuComponent.prototype, "isChanged", void 0);
|
|
39
37
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimMenuComponent, decorators: [{
|
|
40
38
|
type: Component,
|
|
41
39
|
args: [{ selector: 'euim-menu', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ion-list>\n <ng-container *ngFor=\"let section of items\">\n <li class=\"euim-menu__section\">\n <ion-item-divider *ngIf=\"section.sectionName\">\n <p euimLabel [euimSizeS]=\"true\" [euimDefault]=\"true\">{{section.sectionName}}</p>\n </ion-item-divider>\n <ion-menu-toggle auto-hide=\"true\" *ngFor=\"let item of section.items; let j = index\">\n <ion-item (click)=\"onItemClick($event, j, item)\" *ngIf=\"item.label\"\n [lines]=\"item.lines ? item.lines : 'none'\" button [detail]=\"item.detailArrow\"\n class=\"euim-menu__section-item\">\n <euim-avatar-icon *ngIf=\"item.avatarColor\" size=\"s\" variant=\"rounded\" [color]=\"item.avatarColor\">\n <ion-icon *ngIf=\"item.icon\"\n [color]=\"item.iconColor\"\n [name]=\"item.icon\"></ion-icon>\n </euim-avatar-icon>\n <ion-icon *ngIf=\"item.icon && !item.avatarColor\"\n [color]=\"item.iconColor\"\n [name]=\"item.icon\"></ion-icon>\n <div>\n <p class=\"euim-menu__section-item-label\" euimLabel [euimSizeM]=\"true\" [euimDark]=\"true\">{{item.label}}</p>\n <p class=\"euim-menu__section-item-sublabel\" euimLabel [euimSizeS]=\"true\" [euimDefault]=\"true\">{{item.sublabel}}</p>\n </div>\n\n <ion-badge *ngIf=\"item.badge\" [color]=\"item.badge.color\" slot=\"end\">\n {{item.badge.value}}</ion-badge>\n <euim-notification-item *ngIf=\"item.notification && !item.notification.count\"\n slot=\"end\"\n [euimSuccess]=\"isColorDirectiveShown(item, 'success')\"\n [euimWarning]=\"isColorDirectiveShown(item, 'warning')\"\n [euimDanger]=\"isColorDirectiveShown(item, 'danger')\"\n [euimInfo]=\"isColorDirectiveShown(item, 'info')\"\n [euimPrimary]=\"isColorDirectiveShown(item, 'primary')\"\n [euimSecondary]=\"isColorDirectiveShown(item, 'secondary')\"\n [euimAccent]=\"isColorDirectiveShown(item, 'accent')\"\n ></euim-notification-item>\n <ion-note class=\"euim-menu__metadata\" slot=\"end\" *ngIf=\"item.metadata\">\n <p euimLabel [euimSizeS]=\"true\" [euimDefault]=\"true\">{{item.metadata}}</p>\n </ion-note>\n </ion-item>\n </ion-menu-toggle>\n </li>\n </ng-container>\n</ion-list>\n", styles: [".euim-menu__section-item{--padding-start: 0px;--inner-padding-start: var(--eui-base-spacing-m)}.euim-menu__section-item::part(detail-icon){color:var(--eui-base-color-grey-50);font-size:var(--eui-base-font-size-2xl);opacity:1;margin-left:var(--eui-base-spacing-xs)}.euim-menu__section-item-label,.euim-menu__section-item-sublabel{margin-left:var(--eui-base-spacing-m)}.euim-menu__metadata{margin:auto 0 auto var(--eui-base-spacing-s);padding:0}\n"] }]
|
|
42
|
-
}], ctorParameters: function () { return [{ type: i1.NavController }]; }, propDecorators: { itemClick: [{
|
|
40
|
+
}], ctorParameters: function () { return [{ type: i1.NavController }]; }, propDecorators: { isChanged: [], itemClick: [{
|
|
43
41
|
type: Output
|
|
44
42
|
}], items: [{
|
|
45
43
|
type: Input
|
|
46
44
|
}] } });
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1tZW51LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9ldWltLW1lbnUvZXVpbS1tZW51LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9ldWltLW1lbnUvZXVpbS1tZW51LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBR25ILE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxXQUFXLENBQUM7Ozs7Ozs7QUFVMUMsTUFBTSxPQUFPLGlCQUFpQjtJQVMxQixZQUFvQixPQUFzQjtRQUF0QixZQUFPLEdBQVAsT0FBTyxDQUFlO1FBTjFDLGNBQVMsR0FBaUIsS0FBSyxDQUFDO1FBRXRCLGNBQVMsR0FBK0IsSUFBSSxZQUFZLEVBQUUsQ0FBQztRQUU1RCxVQUFLLEdBQXNCLEVBQUUsQ0FBQztJQUVNLENBQUM7SUFFOU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dGVtczsgbGV0IGogPSBpbmRleFwiPlxuICAgICAgICAgICAgICAgIDxpb24taXRlbSAoY2xpY2spPVwib25JdGVtQ2xpY2soJGV2ZW50LCBqLCBpdGVtKVwiICpuZ0lmPVwiaXRlbS5sYWJlbFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgIFtsaW5lc109XCJpdGVtLmxpbmVzID8gaXRlbS5saW5lcyA6ICdub25lJ1wiIGJ1dHRvbiBbZGV0YWlsXT1cIml0ZW0uZGV0YWlsQXJyb3dcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImV1aW0tbWVudV9fc2VjdGlvbi1pdGVtXCI+XG4gICAgICAgICAgICAgICAgICAgIDxldWltLWF2YXRhci1pY29uICpuZ0lmPVwiaXRlbS5hdmF0YXJDb2xvclwiIHNpemU9XCJzXCIgdmFyaWFudD1cInJvdW5kZWRcIiBbY29sb3JdPVwiaXRlbS5hdmF0YXJDb2xvclwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGlvbi1pY29uICpuZ0lmPVwiaXRlbS5pY29uXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbY29sb3JdPVwiaXRlbS5pY29uQ29sb3JcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtuYW1lXT1cIml0ZW0uaWNvblwiPjwvaW9uLWljb24+XG4gICAgICAgICAgICAgICAgICAgIDwvZXVpbS1hdmF0YXItaWNvbj5cbiAgICAgICAgICAgICAgICAgICAgPGlvbi1pY29uICpuZ0lmPVwiaXRlbS5pY29uICYmICFpdGVtLmF2YXRhckNvbG9yXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtjb2xvcl09XCJpdGVtLmljb25Db2xvclwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbbmFtZV09XCJpdGVtLmljb25cIj48L2lvbi1pY29uPlxuICAgICAgICAgICAgICAgICAgICA8ZGl2PlxuICAgICAgICAgICAgICAgICAgICAgICAgPHAgY2xhc3M9XCJldWltLW1lbnVfX3NlY3Rpb24taXRlbS1sYWJlbFwiIGV1aW1MYWJlbCBbZXVpbVNpemVNXT1cInRydWVcIiBbZXVpbURhcmtdPVwidHJ1ZVwiPnt7aXRlbS5sYWJlbH19PC9wPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHAgY2xhc3M9XCJldWltLW1lbnVfX3NlY3Rpb24taXRlbS1zdWJsYWJlbFwiIGV1aW1MYWJlbCBbZXVpbVNpemVTXT1cInRydWVcIiBbZXVpbURlZmF1bHRdPVwidHJ1ZVwiPnt7aXRlbS5zdWJsYWJlbH19PC9wPlxuICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cblxuICAgICAgICAgICAgICAgICAgICA8aW9uLWJhZGdlICpuZ0lmPVwiaXRlbS5iYWRnZVwiIFtjb2xvcl09XCJpdGVtLmJhZGdlLmNvbG9yXCIgc2xvdD1cImVuZFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAge3tpdGVtLmJhZGdlLnZhbHVlfX08L2lvbi1iYWRnZT5cbiAgICAgICAgICAgICAgICAgICAgPGV1aW0tbm90aWZpY2F0aW9uLWl0ZW0gKm5nSWY9XCJpdGVtLm5vdGlmaWNhdGlvbiAmJiAhaXRlbS5ub3RpZmljYXRpb24uY291bnRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzbG90PVwiZW5kXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2V1aW1TdWNjZXNzXT1cImlzQ29sb3JEaXJlY3RpdmVTaG93bihpdGVtLCAnc3VjY2VzcycpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2V1aW1XYXJuaW5nXT1cImlzQ29sb3JEaXJlY3RpdmVTaG93bihpdGVtLCAnd2FybmluZycpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2V1aW1EYW5nZXJdPVwiaXNDb2xvckRpcmVjdGl2ZVNob3duKGl0ZW0sICdkYW5nZXInKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtldWltSW5mb109XCJpc0NvbG9yRGlyZWN0aXZlU2hvd24oaXRlbSwgJ2luZm8nKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtldWltUHJpbWFyeV09XCJpc0NvbG9yRGlyZWN0aXZlU2hvd24oaXRlbSwgJ3ByaW1hcnknKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtldWltU2Vjb25kYXJ5XT1cImlzQ29sb3JEaXJlY3RpdmVTaG93bihpdGVtLCAnc2Vjb25kYXJ5JylcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbZXVpbUFjY2VudF09XCJpc0NvbG9yRGlyZWN0aXZlU2hvd24oaXRlbSwgJ2FjY2VudCcpXCJcbiAgICAgICAgICAgICAgICAgICAgPjwvZXVpbS1ub3RpZmljYXRpb24taXRlbT5cbiAgICAgICAgICAgICAgICAgICAgPGlvbi1ub3RlIGNsYXNzPVwiZXVpbS1tZW51X19tZXRhZGF0YVwiIHNsb3Q9XCJlbmRcIiAqbmdJZj1cIml0ZW0ubWV0YWRhdGFcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxwIGV1aW1MYWJlbCBbZXVpbVNpemVTXT1cInRydWVcIiBbZXVpbURlZmF1bHRdPVwidHJ1ZVwiPnt7aXRlbS5tZXRhZGF0YX19PC9wPlxuICAgICAgICAgICAgICAgICAgICA8L2lvbi1ub3RlPlxuICAgICAgICAgICAgICAgIDwvaW9uLWl0ZW0+XG4gICAgICAgICAgICA8L2lvbi1tZW51LXRvZ2dsZT5cbiAgICAgICAgPC9saT5cbiAgICA8L25nLWNvbnRhaW5lcj5cbjwvaW9uLWxpc3Q+XG4iXX0=
|
package/esm2022/lib/components/euim-message/euim-message-title/euim-message-title.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 EuimMessageTitleComponent
|
|
3
|
+
export class EuimMessageTitleComponent {
|
|
5
4
|
constructor() {
|
|
6
|
-
super(...arguments);
|
|
7
5
|
this.className = 'euim-message-title';
|
|
8
6
|
}
|
|
9
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimMessageTitleComponent, deps:
|
|
10
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimMessageTitleComponent, selector: "euim-message-title", host: { properties: { "className": "this.className" } },
|
|
7
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimMessageTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimMessageTitleComponent, selector: "euim-message-title", host: { properties: { "className": "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: EuimMessageTitleComponent, decorators: [{
|
|
13
11
|
type: Component,
|
|
@@ -15,4 +13,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
15
13
|
}], propDecorators: { className: [{
|
|
16
14
|
type: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BDb21wb25lbnQoe1xuICAgIHNlbGVjdG9yOiAnZXVpbS1tZXNzYWdlLXRpdGxlJyxcbiAgICB0ZW1wbGF0ZVVybDogJy4vZXVpbS1tZXNzYWdlLXRpdGxlLmNvbXBvbmVudC5odG1sJyxcbiAgICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbiAgICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lLFxufSlcbmV4cG9ydCBjbGFzcyBFdWltTWVzc2FnZVRpdGxlQ29tcG9uZW50IHtcbiAgICBASG9zdEJpbmRpbmcoKSBjbGFzc05hbWUgPSAnZXVpbS1tZXNzYWdlLXRpdGxlJztcbn1cbiIsIjxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiJdfQ==
|
|
@@ -1,118 +1,58 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, HostBinding,
|
|
2
|
-
import {
|
|
3
|
-
import { EuimBaseDirective } from '../euim-base.directive';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, HostBinding, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import { BaseStatesDirective } from '../base-states.directive';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
this.
|
|
10
|
-
|
|
11
|
-
this._euimWarning = false;
|
|
12
|
-
this._euimDanger = false;
|
|
13
|
-
this._variant = 'info';
|
|
14
|
-
}
|
|
15
|
-
get euimInfo() {
|
|
16
|
-
return this._euimInfo;
|
|
17
|
-
}
|
|
18
|
-
set euimInfo(value) {
|
|
19
|
-
this.resetVariantType();
|
|
20
|
-
this._euimInfo = coerceBooleanProperty(value);
|
|
21
|
-
if (this._euimInfo) {
|
|
22
|
-
this._variant = 'info';
|
|
4
|
+
import * as i1 from "../base-states.directive";
|
|
5
|
+
import * as i2 from "@ionic/angular";
|
|
6
|
+
export class EuimMessageComponent {
|
|
7
|
+
get icon() {
|
|
8
|
+
if (this.baseStatesDirective.euimWarning) {
|
|
9
|
+
return 'alert-circle';
|
|
23
10
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
return this._euimSuccess;
|
|
27
|
-
}
|
|
28
|
-
set euimSuccess(value) {
|
|
29
|
-
this.resetVariantType();
|
|
30
|
-
this._euimSuccess = coerceBooleanProperty(value);
|
|
31
|
-
if (this._euimSuccess) {
|
|
32
|
-
this._variant = 'success';
|
|
11
|
+
if (this.baseStatesDirective.euimDanger) {
|
|
12
|
+
return 'close-circle';
|
|
33
13
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
return this._euimWarning;
|
|
37
|
-
}
|
|
38
|
-
set euimWarning(value) {
|
|
39
|
-
this.resetVariantType();
|
|
40
|
-
this._euimWarning = coerceBooleanProperty(value);
|
|
41
|
-
if (this._euimWarning) {
|
|
42
|
-
this._variant = 'warning';
|
|
14
|
+
if (this.baseStatesDirective.euimSuccess) {
|
|
15
|
+
return 'checkmark-circle';
|
|
43
16
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
return this._euimDanger;
|
|
47
|
-
}
|
|
48
|
-
set euimDanger(value) {
|
|
49
|
-
this.resetVariantType();
|
|
50
|
-
this._euimDanger = coerceBooleanProperty(value);
|
|
51
|
-
if (this._euimDanger) {
|
|
52
|
-
this._variant = 'danger';
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
get variant() {
|
|
56
|
-
return this._variant;
|
|
57
|
-
}
|
|
58
|
-
set variant(value) {
|
|
59
|
-
this._euimWarning = value === 'warning';
|
|
60
|
-
this._euimInfo = value === 'info';
|
|
61
|
-
this._euimSuccess = value === 'success';
|
|
62
|
-
this._euimDanger = value === 'danger';
|
|
63
|
-
this._variant = value;
|
|
64
|
-
}
|
|
65
|
-
get color() {
|
|
66
|
-
return this.variant;
|
|
67
|
-
}
|
|
68
|
-
get icon() {
|
|
69
|
-
switch (this.variant) {
|
|
70
|
-
case 'warning':
|
|
71
|
-
return 'alert-circle';
|
|
72
|
-
case 'danger':
|
|
73
|
-
return 'close-circle';
|
|
74
|
-
case 'success':
|
|
75
|
-
return 'checkmark-circle';
|
|
76
|
-
case 'info':
|
|
77
|
-
return 'information-circle';
|
|
78
|
-
default:
|
|
79
|
-
return '';
|
|
17
|
+
if (this.baseStatesDirective.euimInfo || !this.baseStatesDirective.euimWarning && !this.baseStatesDirective.euimDanger && !this.baseStatesDirective.euimSuccess && !this.baseStatesDirective.euimInfo) {
|
|
18
|
+
return 'information-circle';
|
|
80
19
|
}
|
|
81
20
|
}
|
|
82
21
|
get cssClasses() {
|
|
83
22
|
return this.getCssClasses();
|
|
84
23
|
}
|
|
85
|
-
|
|
86
|
-
this.
|
|
87
|
-
this._euimInfo = false;
|
|
88
|
-
this._euimSuccess = false;
|
|
89
|
-
this._euimInfo = false;
|
|
90
|
-
this._variant = null;
|
|
24
|
+
constructor(baseStatesDirective) {
|
|
25
|
+
this.baseStatesDirective = baseStatesDirective;
|
|
91
26
|
}
|
|
92
27
|
getCssClasses() {
|
|
93
28
|
return [
|
|
94
|
-
'euim-message',
|
|
95
|
-
this.
|
|
29
|
+
this.baseStatesDirective.getCssClasses('euim-message'),
|
|
30
|
+
!this.baseStatesDirective.euimWarning &&
|
|
31
|
+
!this.baseStatesDirective.euimDanger &&
|
|
32
|
+
!this.baseStatesDirective.euimSuccess &&
|
|
33
|
+
!this.baseStatesDirective.euimInfo ? 'euim-message--info' : '',
|
|
96
34
|
].join(' ');
|
|
97
35
|
}
|
|
98
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimMessageComponent, deps:
|
|
99
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimMessageComponent, selector: "euim-message",
|
|
36
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimMessageComponent, deps: [{ token: i1.BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
37
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimMessageComponent, selector: "euim-message", host: { properties: { "class": "this.cssClasses" } }, hostDirectives: [{ directive: i1.BaseStatesDirective, inputs: ["euimInfo", "euimInfo", "euimSuccess", "euimSuccess", "euimWarning", "euimWarning", "euimDanger", "euimDanger", "euimVariant", "euimVariant", "color", "color"] }], ngImport: i0, template: "<div class=\"euim-message__wrappericon\">\n <ion-icon [name]=\"icon\" class=\"euim-message__icon\"></ion-icon>\n</div>\n<div class=\"euim-message__wrapper\">\n <ng-content select=\"euim-message-title\"></ng-content>\n <ng-content></ng-content>\n</div>\n", styles: [".euim-message{border-width:2px;border-style:solid;display:flex;padding:var(--eui-base-spacing-m)}.euim-message__wrappericon{width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l);padding:0;margin:0}.euim-message__icon{padding:0;margin:0;width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l)}.euim-message__wrapper{margin-left:var(--eui-base-spacing-xs)}.euim-message--danger{border-color:var(--eui-base-color-danger-100)}.euim-message--danger ion-icon{color:var(--eui-base-color-danger-100)}.euim-message--info{border-color:var(--eui-base-color-info-100)}.euim-message--info ion-icon{color:var(--eui-base-color-info-100)}.euim-message--success{border-color:var(--eui-base-color-success-100)}.euim-message--success ion-icon{color:var(--eui-base-color-success-100)}.euim-message--warning{border-color:var(--eui-base-color-warning-100)}.euim-message--warning ion-icon{color:var(--eui-base-color-warning-100)}.euim-message-title{display:flex;align-items:center;font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;padding:0;margin:0 0 var(--eui-base-spacing-xs)}\n"], dependencies: [{ kind: "component", type: i2.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
100
38
|
}
|
|
101
39
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimMessageComponent, decorators: [{
|
|
102
40
|
type: Component,
|
|
103
|
-
args: [{ selector: 'euim-message', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
41
|
+
args: [{ selector: 'euim-message', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, hostDirectives: [
|
|
42
|
+
{
|
|
43
|
+
directive: BaseStatesDirective,
|
|
44
|
+
inputs: [
|
|
45
|
+
'euimInfo',
|
|
46
|
+
'euimSuccess',
|
|
47
|
+
'euimWarning',
|
|
48
|
+
'euimDanger',
|
|
49
|
+
'euimVariant',
|
|
50
|
+
'color',
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
], template: "<div class=\"euim-message__wrappericon\">\n <ion-icon [name]=\"icon\" class=\"euim-message__icon\"></ion-icon>\n</div>\n<div class=\"euim-message__wrapper\">\n <ng-content select=\"euim-message-title\"></ng-content>\n <ng-content></ng-content>\n</div>\n", styles: [".euim-message{border-width:2px;border-style:solid;display:flex;padding:var(--eui-base-spacing-m)}.euim-message__wrappericon{width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l);padding:0;margin:0}.euim-message__icon{padding:0;margin:0;width:var(--eui-base-spacing-l);height:var(--eui-base-spacing-l)}.euim-message__wrapper{margin-left:var(--eui-base-spacing-xs)}.euim-message--danger{border-color:var(--eui-base-color-danger-100)}.euim-message--danger ion-icon{color:var(--eui-base-color-danger-100)}.euim-message--info{border-color:var(--eui-base-color-info-100)}.euim-message--info ion-icon{color:var(--eui-base-color-info-100)}.euim-message--success{border-color:var(--eui-base-color-success-100)}.euim-message--success ion-icon{color:var(--eui-base-color-success-100)}.euim-message--warning{border-color:var(--eui-base-color-warning-100)}.euim-message--warning ion-icon{color:var(--eui-base-color-warning-100)}.euim-message-title{display:flex;align-items:center;font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;padding:0;margin:0 0 var(--eui-base-spacing-xs)}\n"] }]
|
|
54
|
+
}], ctorParameters: function () { return [{ type: i1.BaseStatesDirective }]; }, propDecorators: { cssClasses: [{
|
|
115
55
|
type: HostBinding,
|
|
116
56
|
args: ['class']
|
|
117
57
|
}] } });
|
|
118
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1tZXNzYWdlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9ldWltLW1lc3NhZ2UvZXVpbS1tZXNzYWdlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9ldWltLW1lc3NhZ2UvZXVpbS1tZXNzYWdlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsV0FBVyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25HLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDBCQUEwQixDQUFDOzs7O0FBd0IvRCxNQUFNLE9BQU8sb0JBQW9CO0lBRTdCLElBQUksSUFBSTtRQUNKLElBQUssSUFBSSxDQUFDLG1CQUFtQixDQUFDLFdBQVcsRUFBRztZQ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hbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG4gICAgZW5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZSxcbiAgICBob3N0RGlyZWN0aXZlczogW1xuICAgICAgICB7XG4gICAgICAgICAgICBkaXJlY3RpdmU6IEJhc2VTdGF0ZXNEaXJlY3RpdmUsXG4gICAgICAgICAgICBpbnB1dHM6IFtcbiAgICAgICAgICAgICAgICAnZXVpbUluZm8nLFxuICAgICAgICAgICAgICAgICdldWltU3VjY2VzcycsXG4gICAgICAgICAgICAgICAgJ2V1aW1XYXJuaW5nJyxcbiAgICAgICAgICAgICAgICAnZXVpbURhbmdlcicsXG4gICAgICAgICAgICAgICAgJ2V1aW1WYXJpYW50JyxcbiAgICAgICAgICAgICAgICAnY29sb3InLFxuICAgICAgICAgICAgXSxcbiAgICAgICAgfSxcbiAgICBdLFxufSlcbmV4cG9ydCBjbGFzcyBFdWltTWVzc2FnZUNvbXBvbmVudCB7XG5cbiAgICBnZXQgaWNvbigpOiBzdHJpbmcge1xuICAgICAgICBpZiAoIHRoaXMuYmFzZVN0YXRlc0RpcmVjdGl2ZS5ldWltV2FybmluZyApIHtcbiAgICAgICAgICAgIHJldHVybiAnYWxlcnQtY2lyY2xlJ1xuICAgICAgICB9XG4gICAgICAgIGlmICggdGhpcy5iYXNlU3RhdGVzRGlyZWN0aXZlLmV1aW1EYW5nZXIgKSB7XG4gICAgICAgICAgICByZXR1cm4gJ2Nsb3NlLWNpcmNsZSdcbiAgICAgICAgfVxuICAgICAgICBpZiAoIHRoaXMuYmFzZVN0YXRlc0RpcmVjdGl2ZS5ldWltU3VjY2VzcyApIHtcbiAgICAgICAgICAgIHJldHVybiAnY2hlY2ttYXJrLWNpcmNsZSdcbiAgICAgICAgfVxuICAgICAgICBpZiAoIHRoaXMuYmFzZVN0YXRlc0RpcmVjdGl2ZS5ldWltSW5mbyB8fCAhdGhpcy5iYXN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wZXJpY29uXCI+XG4gICAgPGlvbi1pY29uIFtuYW1lXT1cImljb25cIiBjbGFzcz1cImV1aW0tbWVzc2FnZV9faWNvblwiPjwvaW9uLWljb24+XG48L2Rpdj5cbjxkaXYgY2xhc3M9XCJldWltLW1lc3NhZ2VfX3dyYXBwZXJcIj5cbiAgICA8bmctY29udGVudCBzZWxlY3Q9XCJldWltLW1lc3NhZ2UtdGl0bGVcIj48L25nLWNvbnRlbnQ+XG4gICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,18 +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 EuimScrollerXComponent
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
export class EuimScrollerXComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.className = 'euim-scroller-x';
|
|
7
6
|
}
|
|
8
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimScrollerXComponent, deps:
|
|
9
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimScrollerXComponent, selector: "euim-scroller-x", host: { properties: { "class": "this.
|
|
7
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimScrollerXComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimScrollerXComponent, selector: "euim-scroller-x", host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<ng-content></ng-content>\n\n", styles: [".euim-scroller-x{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-color:transparent transparent}.euim-scroller-x>*{flex:0 0 auto}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
10
9
|
}
|
|
11
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimScrollerXComponent, decorators: [{
|
|
12
11
|
type: Component,
|
|
13
|
-
args: [{ selector: 'euim-scroller-x', encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n\n", styles: [".euim-scroller-x{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-color:transparent transparent}.euim-scroller-x>*{flex:0 0 auto}\n"] }]
|
|
14
|
-
}], propDecorators: {
|
|
12
|
+
args: [{ selector: 'euim-scroller-x', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n\n", styles: [".euim-scroller-x{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-color:transparent transparent}.euim-scroller-x>*{flex:0 0 auto}\n"] }]
|
|
13
|
+
}], propDecorators: { className: [{
|
|
15
14
|
type: HostBinding,
|
|
16
15
|
args: ['class']
|
|
17
16
|
}] } });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1zY3JvbGxlci14LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9ldWltLXNjcm9sbGVyLXgvZXVpbS1zY3JvbGxlci14LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9ldWltLXNjcm9sbGVyLXgvZXV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aW0tc2Nyb2xsZXIteCc7XG59XG4iLCI8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG5cbiJdfQ==
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Input, ContentChild } from '@angular/core';
|
|
1
|
+
import { Component, Input, ContentChild, ChangeDetectionStrategy } from '@angular/core';
|
|
2
2
|
import { EuimSkeletonListItemComponent } from '../euim-skeleton-list-item';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@angular/common";
|
|
@@ -28,15 +28,15 @@ export class EuimSkeletonListComponent {
|
|
|
28
28
|
return Array.from({ length: this.items });
|
|
29
29
|
}
|
|
30
30
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimSkeletonListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimSkeletonListComponent, selector: "euim-skeleton-list", inputs: { items: "items" }, queries: [{ propertyName: "skeletonListItem", first: true, predicate: EuimSkeletonListItemComponent, descendants: true }], ngImport: i0, template: "<ng-container *ngFor=\"let item of itemsArray\">\n <euim-skeleton-list-item *ngIf=\"!skeletonListItem\"></euim-skeleton-list-item>\n <ng-container *ngIf=\"skeletonListItem\">\n <ng-container *ngComponentOutlet=\"skeletonItem; inputs: skeletonItemInputs\"></ng-container>\n </ng-container>\n</ng-container>\n\n", dependencies: [{ kind: "directive", type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.EuimSkeletonListItemComponent, selector: "euim-skeleton-list-item", inputs: ["hasAvatar", "hasTitle", "hasSubtitle", "hasMetaLine", "isAnimated", "avatarType", "separator", "titleWidth", "subTitleWidth", "metaLineWidth"] }] }); }
|
|
31
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EuimSkeletonListComponent, selector: "euim-skeleton-list", inputs: { items: "items" }, queries: [{ propertyName: "skeletonListItem", first: true, predicate: EuimSkeletonListItemComponent, descendants: true }], ngImport: i0, template: "<ng-container *ngFor=\"let item of itemsArray\">\n <euim-skeleton-list-item *ngIf=\"!skeletonListItem\"></euim-skeleton-list-item>\n <ng-container *ngIf=\"skeletonListItem\">\n <ng-container *ngComponentOutlet=\"skeletonItem; inputs: skeletonItemInputs\"></ng-container>\n </ng-container>\n</ng-container>\n\n", dependencies: [{ kind: "directive", type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.EuimSkeletonListItemComponent, selector: "euim-skeleton-list-item", inputs: ["hasAvatar", "hasTitle", "hasSubtitle", "hasMetaLine", "isAnimated", "avatarType", "separator", "titleWidth", "subTitleWidth", "metaLineWidth"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
32
32
|
}
|
|
33
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EuimSkeletonListComponent, decorators: [{
|
|
34
34
|
type: Component,
|
|
35
|
-
args: [{ selector: 'euim-skeleton-list', template: "<ng-container *ngFor=\"let item of itemsArray\">\n <euim-skeleton-list-item *ngIf=\"!skeletonListItem\"></euim-skeleton-list-item>\n <ng-container *ngIf=\"skeletonListItem\">\n <ng-container *ngComponentOutlet=\"skeletonItem; inputs: skeletonItemInputs\"></ng-container>\n </ng-container>\n</ng-container>\n\n" }]
|
|
35
|
+
args: [{ selector: 'euim-skeleton-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngFor=\"let item of itemsArray\">\n <euim-skeleton-list-item *ngIf=\"!skeletonListItem\"></euim-skeleton-list-item>\n <ng-container *ngIf=\"skeletonListItem\">\n <ng-container *ngComponentOutlet=\"skeletonItem; inputs: skeletonItemInputs\"></ng-container>\n </ng-container>\n</ng-container>\n\n" }]
|
|
36
36
|
}], propDecorators: { items: [{
|
|
37
37
|
type: Input
|
|
38
38
|
}], skeletonListItem: [{
|
|
39
39
|
type: ContentChild,
|
|
40
40
|
args: [EuimSkeletonListItemComponent]
|
|
41
41
|
}] } });
|
|
42
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1za2VsZXRvbi1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9ldWltLXNrZWxldG9uLWxpc3QvZXVpbS1za2VsZXRvbi1saXN0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9ldWltLXNrZWxldG9uLWxpc3QvZXVpbS1za2VsZXRvbi1saXN0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLFlBQVksRUFBb0IsdUJBQ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