@seniorsistemas/angular-components 17.28.0 → 17.28.2

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.
Files changed (39) hide show
  1. package/bundles/seniorsistemas-angular-components.umd.js +130 -18
  2. package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
  3. package/bundles/seniorsistemas-angular-components.umd.min.js +2 -2
  4. package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
  5. package/components/accessibility-events/directives/accessibility-event.directive.d.ts +4 -2
  6. package/components/grid-menu/components/grid-menu-item/grid-menu-item.component.d.ts +7 -0
  7. package/components/grid-menu/grid-menu.component.d.ts +9 -1
  8. package/components/grid-menu/types/grid-menu-item.d.ts +6 -1
  9. package/components/ia-insight/components/ia-insight-sidebar/ia-insight-sidebar.component.d.ts +3 -1
  10. package/components/ia-insight/ia-insight.component.d.ts +5 -1
  11. package/components/ia-insight/models/ia-insight-item.d.ts +12 -0
  12. package/esm2015/components/accessibility-events/directives/accessibility-event.directive.js +9 -3
  13. package/esm2015/components/fieldset/fieldset.module.js +2 -3
  14. package/esm2015/components/grid-menu/components/grid-menu-item/grid-menu-item.component.js +36 -6
  15. package/esm2015/components/grid-menu/grid-menu.component.js +43 -4
  16. package/esm2015/components/grid-menu/grid-menu.module.js +3 -2
  17. package/esm2015/components/grid-menu/types/grid-menu-item.js +1 -1
  18. package/esm2015/components/ia-insight/components/ia-insight-card/ia-insight-card.component.js +15 -3
  19. package/esm2015/components/ia-insight/components/ia-insight-sidebar/ia-insight-sidebar.component.js +12 -2
  20. package/esm2015/components/ia-insight/ia-insight.component.js +17 -3
  21. package/esm2015/components/ia-insight/models/ia-insight-item.js +1 -1
  22. package/esm2015/components/tile/tile.component.js +1 -1
  23. package/esm5/components/accessibility-events/directives/accessibility-event.directive.js +10 -4
  24. package/esm5/components/fieldset/fieldset.module.js +2 -3
  25. package/esm5/components/grid-menu/components/grid-menu-item/grid-menu-item.component.js +38 -6
  26. package/esm5/components/grid-menu/grid-menu.component.js +43 -4
  27. package/esm5/components/grid-menu/grid-menu.module.js +3 -2
  28. package/esm5/components/grid-menu/types/grid-menu-item.js +1 -1
  29. package/esm5/components/ia-insight/components/ia-insight-card/ia-insight-card.component.js +15 -3
  30. package/esm5/components/ia-insight/components/ia-insight-sidebar/ia-insight-sidebar.component.js +12 -2
  31. package/esm5/components/ia-insight/ia-insight.component.js +17 -3
  32. package/esm5/components/ia-insight/models/ia-insight-item.js +1 -1
  33. package/esm5/components/tile/tile.component.js +1 -1
  34. package/fesm2015/seniorsistemas-angular-components.js +123 -14
  35. package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
  36. package/fesm5/seniorsistemas-angular-components.js +126 -15
  37. package/fesm5/seniorsistemas-angular-components.js.map +1 -1
  38. package/package.json +1 -1
  39. package/seniorsistemas-angular-components.metadata.json +1 -1
@@ -53,7 +53,6 @@ import { EditorModule } from 'primeng/editor';
53
53
  import { ConfirmationService } from 'primeng/api';
54
54
  import { ConfirmDialogModule } from 'primeng/confirmdialog';
55
55
  import Cropper from 'cropperjs';
56
- import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
57
56
  import marked from 'marked';
58
57
  import { moveItemInArray, transferArrayItem, DragDropModule } from '@angular/cdk/drag-drop';
59
58
  import { FocusTrapFactory, A11yModule } from '@angular/cdk/a11y';
@@ -13194,6 +13193,7 @@ let AccessibilityEventDirective = class AccessibilityEventDirective {
13194
13193
  this.elementRef = elementRef;
13195
13194
  this.sActivatedContent = new EventEmitter();
13196
13195
  this.tabindex = 0;
13196
+ this.disabled = false;
13197
13197
  this.EVENT_LISTENER = (event) => {
13198
13198
  if (event instanceof KeyboardEvent) {
13199
13199
  const key = event.key;
@@ -13204,11 +13204,13 @@ let AccessibilityEventDirective = class AccessibilityEventDirective {
13204
13204
  }
13205
13205
  this.sActivatedContent.next(event);
13206
13206
  };
13207
+ }
13208
+ ngOnInit() {
13207
13209
  this.setTabIndex();
13208
13210
  this.checkAccessbilityEvents();
13209
13211
  }
13210
13212
  setTabIndex() {
13211
- const hasTabIndex = this.element.tabIndex >= 0;
13213
+ const hasTabIndex = this.element.tabIndex !== 0;
13212
13214
  if (hasTabIndex) {
13213
13215
  return;
13214
13216
  }
@@ -13235,6 +13237,9 @@ __decorate([
13235
13237
  __decorate([
13236
13238
  Input()
13237
13239
  ], AccessibilityEventDirective.prototype, "tabindex", void 0);
13240
+ __decorate([
13241
+ Input()
13242
+ ], AccessibilityEventDirective.prototype, "disabled", void 0);
13238
13243
  AccessibilityEventDirective = __decorate([
13239
13244
  Directive({
13240
13245
  selector: '[sActivatedContent]'
@@ -13257,7 +13262,7 @@ let FieldsetModule = class FieldsetModule {
13257
13262
  };
13258
13263
  FieldsetModule = __decorate([
13259
13264
  NgModule({
13260
- imports: [CommonModule, AccessibilityEventsModule, BrowserAnimationsModule],
13265
+ imports: [CommonModule, AccessibilityEventsModule],
13261
13266
  declarations: [FieldsetComponent$1],
13262
13267
  exports: [FieldsetComponent$1],
13263
13268
  })
@@ -16092,8 +16097,17 @@ let IAInsightCardComponent = class IAInsightCardComponent {
16092
16097
  this.dislikeSelected = false;
16093
16098
  }
16094
16099
  toggle() {
16095
- this.open = !this.open;
16096
- this._requestInsight();
16100
+ const newOpenState = !this.open;
16101
+ this.open = newOpenState;
16102
+ if (newOpenState === true && this.insight.onOpenSidebar) {
16103
+ this.insight.onOpenSidebar();
16104
+ }
16105
+ else if (newOpenState === false && this.insight.onCloseSideBar) {
16106
+ this.insight.onCloseSideBar();
16107
+ }
16108
+ if (newOpenState === true) {
16109
+ this._requestInsight();
16110
+ }
16097
16111
  }
16098
16112
  onLikeSelected() {
16099
16113
  var _a, _b;
@@ -16136,6 +16150,9 @@ let IAInsightCardComponent = class IAInsightCardComponent {
16136
16150
  .pipe(first(), finalize(() => (this.isLoading = false)))
16137
16151
  .subscribe((content) => {
16138
16152
  this.content = marked.marked(content);
16153
+ if (this.insight.onContentLoaded) {
16154
+ this.insight.onContentLoaded();
16155
+ }
16139
16156
  });
16140
16157
  }
16141
16158
  };
@@ -16158,6 +16175,8 @@ IAInsightCardComponent = __decorate([
16158
16175
  let IAInsightSidebarComponent = class IAInsightSidebarComponent {
16159
16176
  constructor() {
16160
16177
  this.insights = [];
16178
+ this.closedSidebar = new EventEmitter();
16179
+ this.openedSidebar = new EventEmitter();
16161
16180
  this.opened = false;
16162
16181
  }
16163
16182
  toggle() {
@@ -16165,9 +16184,11 @@ let IAInsightSidebarComponent = class IAInsightSidebarComponent {
16165
16184
  }
16166
16185
  open() {
16167
16186
  this.opened = true;
16187
+ this.openedSidebar.emit();
16168
16188
  }
16169
16189
  close() {
16170
16190
  this.opened = false;
16191
+ this.closedSidebar.emit();
16171
16192
  }
16172
16193
  };
16173
16194
  __decorate([
@@ -16194,6 +16215,12 @@ __decorate([
16194
16215
  __decorate([
16195
16216
  Input()
16196
16217
  ], IAInsightSidebarComponent.prototype, "noPermissionTemplate", void 0);
16218
+ __decorate([
16219
+ Output()
16220
+ ], IAInsightSidebarComponent.prototype, "closedSidebar", void 0);
16221
+ __decorate([
16222
+ Output()
16223
+ ], IAInsightSidebarComponent.prototype, "openedSidebar", void 0);
16197
16224
  IAInsightSidebarComponent = __decorate([
16198
16225
  Component({
16199
16226
  selector: "s-ia-insight-sidebar",
@@ -16223,6 +16250,8 @@ let IAInsightComponent = class IAInsightComponent {
16223
16250
  constructor() {
16224
16251
  this.insights = [];
16225
16252
  this.hasPermission = true;
16253
+ this.openIAInsight = new EventEmitter();
16254
+ this.closedIAInsight = new EventEmitter();
16226
16255
  }
16227
16256
  ngAfterContentInit() {
16228
16257
  this._getTemplates();
@@ -16233,6 +16262,12 @@ let IAInsightComponent = class IAInsightComponent {
16233
16262
  close() {
16234
16263
  this.sidebar.close();
16235
16264
  }
16265
+ onOpenSidebar() {
16266
+ this.openIAInsight.emit();
16267
+ }
16268
+ onCloseSidebar() {
16269
+ this.closedIAInsight.emit();
16270
+ }
16236
16271
  getIntroTemplate() {
16237
16272
  return this._getCustomTemplate(IAInsightTemplateTypes.Intro);
16238
16273
  }
@@ -16267,6 +16302,12 @@ __decorate([
16267
16302
  __decorate([
16268
16303
  Input()
16269
16304
  ], IAInsightComponent.prototype, "noPermissionText", void 0);
16305
+ __decorate([
16306
+ Output()
16307
+ ], IAInsightComponent.prototype, "openIAInsight", void 0);
16308
+ __decorate([
16309
+ Output()
16310
+ ], IAInsightComponent.prototype, "closedIAInsight", void 0);
16270
16311
  __decorate([
16271
16312
  ViewChild(IAInsightSidebarComponent)
16272
16313
  ], IAInsightComponent.prototype, "sidebar", void 0);
@@ -16276,7 +16317,7 @@ __decorate([
16276
16317
  IAInsightComponent = __decorate([
16277
16318
  Component({
16278
16319
  selector: "s-ia-insight",
16279
- template: "<s-ia-insight-sidebar\n #sidebar\n [insights]=\"insights\"\n [hasPermission]=\"hasPermission\"\n [introText]=\"introText\"\n [introTemplate]=\"introTemplate\"\n [emptyText]=\"emptyText\"\n [emptyTemplate]=\"emptyTemplate\"\n [noPermissionText]=\"noPermissionText\"\n [noPermissionTemplate]=\"noPermissionTemplate\">\n</s-ia-insight-sidebar>",
16320
+ template: "<s-ia-insight-sidebar\n #sidebar\n [insights]=\"insights\"\n [hasPermission]=\"hasPermission\"\n [introText]=\"introText\"\n [introTemplate]=\"introTemplate\"\n [emptyText]=\"emptyText\"\n [emptyTemplate]=\"emptyTemplate\"\n [noPermissionText]=\"noPermissionText\"\n (openedSidebar)=\"onOpenSidebar()\"\n (closedSidebar)=\"onCloseSidebar()\"\n [noPermissionTemplate]=\"noPermissionTemplate\"\n>\n</s-ia-insight-sidebar>\n",
16280
16321
  styles: [""]
16281
16322
  })
16282
16323
  ], IAInsightComponent);
@@ -16309,29 +16350,90 @@ IAInsightModule = __decorate([
16309
16350
 
16310
16351
  let GridMenuComponent = class GridMenuComponent {
16311
16352
  constructor() {
16353
+ this.useFontAwesomeIcons = false;
16312
16354
  this.itemsArray = [];
16355
+ this.selectable = false;
16356
+ this.selectedChange = new EventEmitter();
16313
16357
  }
16314
16358
  set items(items) {
16315
- this.itemsArray = Array.isArray(items) ? items : [items];
16359
+ if (isNullOrUndefined(items)) {
16360
+ this.itemsArray = [];
16361
+ }
16362
+ else {
16363
+ this.itemsArray = Array.isArray(items) ? items : [items];
16364
+ }
16365
+ }
16366
+ ngOnChanges(changes) {
16367
+ if (changes.selected && changes.selected.isFirstChange()) {
16368
+ if (this.selectable) {
16369
+ this.selected.active = true;
16370
+ }
16371
+ }
16372
+ }
16373
+ onClickGridMenuItem(gridMenuItem) {
16374
+ if (!this.selectable) {
16375
+ return;
16376
+ }
16377
+ if (this.previousGridMenuItemClicked) {
16378
+ this.previousGridMenuItemClicked.active = false;
16379
+ }
16380
+ gridMenuItem.active = !gridMenuItem.active;
16381
+ this.previousGridMenuItemClicked = gridMenuItem;
16382
+ this.selectedChange.next(gridMenuItem);
16316
16383
  }
16317
16384
  };
16318
16385
  __decorate([
16319
16386
  Input()
16320
16387
  ], GridMenuComponent.prototype, "items", null);
16388
+ __decorate([
16389
+ Input()
16390
+ ], GridMenuComponent.prototype, "useFontAwesomeIcons", void 0);
16391
+ __decorate([
16392
+ Input()
16393
+ ], GridMenuComponent.prototype, "selectable", void 0);
16394
+ __decorate([
16395
+ Input()
16396
+ ], GridMenuComponent.prototype, "selected", void 0);
16397
+ __decorate([
16398
+ Output()
16399
+ ], GridMenuComponent.prototype, "selectedChange", void 0);
16321
16400
  GridMenuComponent = __decorate([
16322
16401
  Component({
16323
16402
  selector: "s-grid-menu",
16324
- template: "<s-grid-menu-item *ngFor=\"let item of itemsArray\" [item]=\"item\"></s-grid-menu-item>\n",
16403
+ template: "<section class=\"grid-menu\">\n <s-grid-menu-item\n *ngFor=\"let item of itemsArray\"\n [item]=\"item\"\n [iconIsFromFontAwesome]=\"useFontAwesomeIcons\"\n (clickedGridMenuItem)=\"onClickGridMenuItem($event)\"\n ></s-grid-menu-item>\n</section>\n",
16325
16404
  styles: [".grid-menu{display:-ms-grid;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,200px);-ms-flex-pack:space-evenly;justify-content:space-evenly}"]
16326
16405
  })
16327
16406
  ], GridMenuComponent);
16328
16407
 
16329
16408
  let GridMenuItemComponent = class GridMenuItemComponent {
16409
+ constructor() {
16410
+ this.iconIsFromFontAwesome = false;
16411
+ this.clickedGridMenuItem = new EventEmitter();
16412
+ this.fontAwesomePrefix = 'fal';
16413
+ }
16330
16414
  onClick() {
16331
16415
  var _a, _b;
16332
- if (this.disabled)
16416
+ if (this.disabled) {
16333
16417
  return;
16418
+ }
16334
16419
  (_b = (_a = this.item).action) === null || _b === void 0 ? void 0 : _b.call(_a);
16420
+ this.clickedGridMenuItem.emit(this.item);
16421
+ }
16422
+ onMouseEnter() {
16423
+ if (this.disabled) {
16424
+ return;
16425
+ }
16426
+ this.fontAwesomePrefix = 'fas';
16427
+ }
16428
+ onMouseLeave() {
16429
+ if (this.disabled) {
16430
+ return;
16431
+ }
16432
+ this.fontAwesomePrefix = 'fal';
16433
+ }
16434
+ get iconFontAwesomeClassName() {
16435
+ const prefix = this.item.active ? 'fas' : this.fontAwesomePrefix;
16436
+ return `${prefix} ${this.item.icon}`;
16335
16437
  }
16336
16438
  get initialLetter() {
16337
16439
  let initialLetter = "";
@@ -16345,17 +16447,24 @@ let GridMenuItemComponent = class GridMenuItemComponent {
16345
16447
  return initialLetter;
16346
16448
  }
16347
16449
  get disabled() {
16348
- return typeof this.item.disabled === "function" ? !!this.item.disabled() : !!this.item.disabled;
16450
+ var _a, _b;
16451
+ return typeof ((_a = this.item) === null || _a === void 0 ? void 0 : _a.disabled) === "function" ? !!this.item.disabled() : !!((_b = this.item) === null || _b === void 0 ? void 0 : _b.disabled);
16349
16452
  }
16350
16453
  };
16351
16454
  __decorate([
16352
16455
  Input()
16353
16456
  ], GridMenuItemComponent.prototype, "item", void 0);
16457
+ __decorate([
16458
+ Input()
16459
+ ], GridMenuItemComponent.prototype, "iconIsFromFontAwesome", void 0);
16460
+ __decorate([
16461
+ Output()
16462
+ ], GridMenuItemComponent.prototype, "clickedGridMenuItem", void 0);
16354
16463
  GridMenuItemComponent = __decorate([
16355
16464
  Component({
16356
16465
  selector: "s-grid-menu-item",
16357
- template: "<button\n class=\"icon-button\"\n [class.icon-button--disabled]=\"disabled\"\n (click)=\"onClick()\">\n <div class=\"icon-wrapper\">\n <span\n *ngIf=\"item.icon; else initialsTemplate\"\n class=\"icon\"\n style=\"background-image: url('{{ item.icon }}');\">\n </span>\n <ng-template #initialsTemplate>\n <span class=\"initials\">{{ initialLetter }}</span>\n </ng-template>\n </div>\n <span class=\"title\">{{ item.label }}</span>\n</button>\n",
16358
- styles: [".icon-button{-ms-flex-align:center;align-items:center;background-color:transparent;border:none;cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;gap:12px;-ms-flex-pack:center;justify-content:center;padding:5px;transition:transform .3s ease-in-out;width:200px}.icon-button .icon-wrapper{-ms-flex-item-align:center;align-self:center;background-color:#dedce5;border-radius:10px;display:-ms-flexbox;display:flex;height:64px;-ms-flex-pack:center;justify-content:center;overflow:hidden;padding:8px;width:64px}.icon-button .icon-wrapper .icon{background-position:center;background-repeat:no-repeat;background-size:cover;display:inline-block;height:100%;width:100%}.icon-button .icon-wrapper .initials{-ms-flex-align:center;align-items:center;color:#428bca;display:-ms-flexbox;display:flex;font-family:\"Open Sans\",sans-serif;font-size:20px;font-weight:700}.icon-button .title{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#428bca;display:-webkit-box;font-family:\"Open Sans\",sans-serif;font-size:14px;line-clamp:2;overflow:hidden;text-overflow:ellipsis;width:100%}.icon-button--disabled{cursor:default;opacity:.5}.icon-button:not(.icon-button--disabled):hover{transform:scale(1.05)}"]
16466
+ template: "<button\n class=\"icon-button\"\n [class.icon-button-active]=\"item.active\"\n [class.icon-button--disabled]=\"disabled\"\n (sActivatedContent)=\"onClick()\"\n [disabled]=\"disabled\"\n [tabindex]=\"disabled ? -1 : 0\"\n [class.icon-font-awesome]=\"iconIsFromFontAwesome\"\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\"\n *ngIf=\"item\"\n>\n <div class=\"icon-wrapper\" [class.icon-image]=\"!iconIsFromFontAwesome\">\n <ng-container *ngIf=\"item.icon\">\n <i *ngIf=\"iconIsFromFontAwesome\" [class]=\"iconFontAwesomeClassName\"> </i>\n <span *ngIf=\"!iconIsFromFontAwesome\" class=\"icon\" style=\"background-image: url('{{ item.icon }}');\"> </span>\n </ng-container>\n\n <ng-container *ngIf=\"!item.icon\">\n <span class=\"initials\">{{ initialLetter }}</span>\n </ng-container>\n </div>\n <span class=\"title\">{{ item.label }}</span>\n</button>\n",
16467
+ styles: [".icon-button{-ms-flex-align:center;align-items:center;background-color:transparent;border:none;cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;gap:12px;-ms-flex-pack:center;justify-content:center;padding:5px;transition:transform .3s ease-in-out;width:200px}.icon-button:not(.icon-button--disabled):hover .initials,.icon-button:not(.icon-button--disabled):hover .title{font-weight:700}.icon-button.icon-font-awesome .title{padding-bottom:1em}.icon-button.icon-font-awesome:not(.icon-button--disabled):hover{border-radius:10px;background-color:#dedce5}.icon-button.icon-font-awesome .icon-wrapper i{color:#009494}.icon-button .icon-wrapper{-ms-flex-item-align:center;align-self:center;border-radius:10px;display:-ms-flexbox;display:flex;height:64px;-ms-flex-pack:center;justify-content:center;overflow:hidden;padding:8px;width:64px;-ms-flex-align:center;align-items:center;font-size:3em}.icon-button .icon-wrapper.icon-image{background-color:#dedce5}.icon-button .icon-wrapper .icon{background-position:center;background-repeat:no-repeat;background-size:cover;display:inline-block;height:100%;width:100%}.icon-button .icon-wrapper .initials{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;font-family:\"Open Sans\",sans-serif;font-size:20px;font-weight:700}.icon-button .title{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;font-family:\"Open Sans\",sans-serif;font-size:14px;line-clamp:2;overflow:hidden;text-overflow:ellipsis;width:100%}.icon-button--disabled{cursor:default;opacity:.5}.icon-button:not(.icon-button--disabled):hover{transform:scale(1.05)}.icon-button-active{transform:scale(1.05);border-radius:10px;background-color:#dedce5}.icon-button-active .initials,.icon-button-active .title{font-weight:700}"]
16359
16468
  })
16360
16469
  ], GridMenuItemComponent);
16361
16470
 
@@ -16363,7 +16472,7 @@ let GridMenuModule = class GridMenuModule {
16363
16472
  };
16364
16473
  GridMenuModule = __decorate([
16365
16474
  NgModule({
16366
- imports: [CommonModule],
16475
+ imports: [CommonModule, AccessibilityEventsModule],
16367
16476
  declarations: [GridMenuItemComponent, GridMenuComponent],
16368
16477
  exports: [GridMenuItemComponent, GridMenuComponent],
16369
16478
  })
@@ -19898,7 +20007,7 @@ TileComponent = TileComponent_1 = __decorate([
19898
20007
  Component({
19899
20008
  selector: "s-tile",
19900
20009
  template: "<div\n [id]=\"id\"\n class=\"tile\"\n [attr.tabindex]=\"disabled ? undefined : tabIndex\"\n [attr.aria-label]=\"label\"\n [attr.aria-disabled]=\"disabled\"\n role=\"button\"\n [ngClass]=\"{ 'tile--disabled': disabled }\"\n (click)=\"!disabled && onClick.emit($event)\">\n <div\n *ngIf=\"imageSource || iconClass\"\n class=\"thumbnail\">\n <ng-container *ngIf=\"imageSource\">\n <div\n *ngIf=\"!useThumbnail\"\n class=\"image-icon\">\n <div\n class=\"icon\"\n [style.background-image]=\"'url(' + imageSource + ')'\">\n </div>\n </div>\n <s-thumbnail\n *ngIf=\"useThumbnail\"\n [id]=\"id + '-thumbnail'\"\n [imageSource]=\"imageSource\"\n [imageAlt]=\"imageAlt || label\"\n size=\"small\"\n [isTile]=\"true\"\n >\n </s-thumbnail>\n </ng-container>\n\n <span\n *ngIf=\"!imageSource && iconClass\"\n [id]=\"id + '-icon'\"\n [class]=\"'icon ' + iconClass\"\n aria-hidden=\"true\">\n </span>\n </div>\n <div\n *ngIf=\"!iconClass && !imageSource\"\n class=\"first-letter-container\">\n <div class=\"first-letter\">\n <span>{{ initialLetter }}</span>\n </div>\n </div>\n\n <div class=\"info\">\n <span\n [id]=\"id + '-title'\"\n class=\"title\"\n [sTooltip]=\"label\"\n tooltipPosition=\"top\"\n showDelay=\"500\">\n {{ label }}\n </span>\n <span\n [id]=\"id + '-description'\"\n class=\"description\"\n [sTooltip]=\"description\"\n tooltipPosition=\"top\"\n showDelay=\"500\">\n {{ description }}\n </span>\n </div>\n</div>\n",
19901
- styles: [".tile{-ms-flex-align:center;align-items:center;background-color:#fff;border:1px solid #c1c1cc;cursor:pointer;display:-ms-flexbox;display:flex;min-height:80px;overflow:hidden;padding:15px;position:relative;transition:background-color .2s ease-out,border-color .2s ease-out}.tile:focus:not(.tile--disabled),.tile:hover:not(.tile--disabled){background-color:#eeebf2;outline:0}.tile .thumbnail{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-right:15px}.tile .thumbnail .icon{color:#428bca;font-size:2.5rem}.tile .info{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;overflow:hidden}.tile .info .description,.tile .info .title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tile .info .title{color:#428bca;font-size:1.25rem}.tile .info .description{color:#6e7280;font-size:.875rem}.tile .first-letter-container{float:left;margin-right:10px;position:relative;text-align:center}.tile .first-letter-container .first-letter{background-color:#428bca;border-radius:50%;color:#fff;font-size:1.375rem;height:40px;line-height:1.8em;margin:0 auto 5px;width:40px}.tile--disabled{opacity:.5;filter:Alpha(Opacity=50);background-image:none}.tile--disabled,.tile--disabled *{cursor:text!important}.tile .image-icon{padding:8px;background-color:#eeebf2;border-radius:4px}.tile .image-icon .icon{height:32px;width:32px;background-size:cover;background-repeat:no-repeat}"]
20010
+ styles: [".tile{-ms-flex-align:center;align-items:center;background-color:#fff;border:1px solid #c1c1cc;cursor:pointer;display:-ms-flexbox;display:flex;min-height:80px;overflow:hidden;padding:15px;position:relative;transition:background-color .2s ease-out,border-color .2s ease-out}.tile:focus:not(.tile--disabled),.tile:hover:not(.tile--disabled){background-color:#eeebf2;outline:0}.tile .thumbnail{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-right:15px}.tile .thumbnail .icon{color:#428bca;font-size:2.5rem}.tile .info{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;overflow:hidden}.tile .info .description,.tile .info .title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tile .info .title{color:#428bca;font-size:1.25rem}.tile .info .description{color:#6e7280;font-size:.875rem}.tile .first-letter-container{float:left;margin-right:10px;position:relative;text-align:center}.tile .first-letter-container .first-letter{background-color:#428bca;border-radius:50%;color:#fff;font-size:1.375rem;height:40px;line-height:1.8em;margin:0 auto 5px;width:40px}.tile--disabled{opacity:.5;filter:Alpha(Opacity=50);background-image:none}.tile--disabled,.tile--disabled *{cursor:text!important}.tile .image-icon .icon{height:32px;width:32px;background-size:cover;background-repeat:no-repeat}"]
19902
20011
  })
19903
20012
  ], TileComponent);
19904
20013