@skyux/tiles 5.0.0-beta.1 → 5.0.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 (104) hide show
  1. package/bundles/skyux-tiles.umd.js +376 -264
  2. package/documentation.json +946 -832
  3. package/esm2015/modules/shared/sky-tiles-resources.module.js +41 -13
  4. package/esm2015/modules/tiles/tile/tile-summary.component.js +11 -7
  5. package/esm2015/modules/tiles/tile/tile-title.component.js +13 -8
  6. package/esm2015/modules/tiles/tile/tile.component.js +56 -39
  7. package/esm2015/modules/tiles/tile/tile.module.js +42 -23
  8. package/esm2015/modules/tiles/tile-content/tile-content-section.component.js +13 -8
  9. package/esm2015/modules/tiles/tile-content/tile-content.component.js +12 -8
  10. package/esm2015/modules/tiles/tile-content/tile-content.module.js +13 -17
  11. package/esm2015/modules/tiles/tile-dashboard/tile-dashboard-message-type.js +1 -1
  12. package/esm2015/modules/tiles/tile-dashboard/tile-dashboard-message.js +1 -1
  13. package/esm2015/modules/tiles/tile-dashboard/tile-dashboard.component.js +41 -31
  14. package/esm2015/modules/tiles/tile-dashboard/tile-dashboard.module.js +25 -18
  15. package/esm2015/modules/tiles/tile-dashboard/tile-dashboard.service.js +60 -49
  16. package/esm2015/modules/tiles/tile-dashboard-column/tile-dashboard-column.component.js +21 -21
  17. package/esm2015/modules/tiles/tile-dashboard-column/tile-dashboard-column.module.js +13 -15
  18. package/esm2015/modules/tiles/tile-dashboard-config/tile-dashboard-config.js +1 -1
  19. package/esm2015/modules/tiles/tiles.module.js +23 -14
  20. package/esm2015/public-api.js +10 -1
  21. package/esm2015/skyux-tiles.js +1 -9
  22. package/fesm2015/skyux-tiles.js +342 -251
  23. package/fesm2015/skyux-tiles.js.map +1 -1
  24. package/modules/shared/sky-tiles-resources.module.d.ts +5 -6
  25. package/modules/tiles/tile/tile-summary.component.d.ts +3 -0
  26. package/modules/tiles/tile/tile-title.component.d.ts +3 -0
  27. package/modules/tiles/tile/tile.component.d.ts +7 -0
  28. package/modules/tiles/tile/tile.module.d.ts +13 -0
  29. package/modules/tiles/tile-content/tile-content-section.component.d.ts +3 -0
  30. package/modules/tiles/tile-content/tile-content.component.d.ts +3 -0
  31. package/modules/tiles/tile-content/tile-content.module.d.ts +8 -0
  32. package/modules/tiles/tile-dashboard/tile-dashboard.component.d.ts +4 -0
  33. package/modules/tiles/tile-dashboard/tile-dashboard.module.d.ts +8 -0
  34. package/modules/tiles/tile-dashboard/tile-dashboard.service.d.ts +3 -0
  35. package/modules/tiles/tile-dashboard-column/tile-dashboard-column.component.d.ts +3 -0
  36. package/modules/tiles/tile-dashboard-column/tile-dashboard-column.module.d.ts +7 -0
  37. package/modules/tiles/tiles.module.d.ts +9 -0
  38. package/package.json +8 -9
  39. package/public-api.d.ts +7 -0
  40. package/skyux-tiles.d.ts +1 -8
  41. package/bundles/skyux-tiles.umd.js.map +0 -1
  42. package/esm2015/modules/shared/sky-tiles-resources.module.ngfactory.js +0 -15
  43. package/esm2015/modules/shared/sky-tiles-resources.module.ngsummary.json +0 -1
  44. package/esm2015/modules/tiles/tile/tile-summary.component.ngfactory.js +0 -16
  45. package/esm2015/modules/tiles/tile/tile-summary.component.ngsummary.json +0 -1
  46. package/esm2015/modules/tiles/tile/tile-title.component.ngfactory.js +0 -18
  47. package/esm2015/modules/tiles/tile/tile-title.component.ngsummary.json +0 -1
  48. package/esm2015/modules/tiles/tile/tile-title.component.scss.shim.ngstyle.js +0 -9
  49. package/esm2015/modules/tiles/tile/tile.component.ngfactory.js +0 -49
  50. package/esm2015/modules/tiles/tile/tile.component.ngsummary.json +0 -1
  51. package/esm2015/modules/tiles/tile/tile.component.scss.shim.ngstyle.js +0 -9
  52. package/esm2015/modules/tiles/tile/tile.module.ngfactory.js +0 -16
  53. package/esm2015/modules/tiles/tile/tile.module.ngsummary.json +0 -1
  54. package/esm2015/modules/tiles/tile-content/tile-content-section.component.ngfactory.js +0 -18
  55. package/esm2015/modules/tiles/tile-content/tile-content-section.component.ngsummary.json +0 -1
  56. package/esm2015/modules/tiles/tile-content/tile-content-section.component.scss.shim.ngstyle.js +0 -9
  57. package/esm2015/modules/tiles/tile-content/tile-content.component.ngfactory.js +0 -17
  58. package/esm2015/modules/tiles/tile-content/tile-content.component.ngsummary.json +0 -1
  59. package/esm2015/modules/tiles/tile-content/tile-content.component.scss.shim.ngstyle.js +0 -9
  60. package/esm2015/modules/tiles/tile-content/tile-content.module.ngfactory.js +0 -13
  61. package/esm2015/modules/tiles/tile-content/tile-content.module.ngsummary.json +0 -1
  62. package/esm2015/modules/tiles/tile-dashboard/tile-dashboard-message-type.ngsummary.json +0 -1
  63. package/esm2015/modules/tiles/tile-dashboard/tile-dashboard-message.ngsummary.json +0 -1
  64. package/esm2015/modules/tiles/tile-dashboard/tile-dashboard.component.ngfactory.js +0 -25
  65. package/esm2015/modules/tiles/tile-dashboard/tile-dashboard.component.ngsummary.json +0 -1
  66. package/esm2015/modules/tiles/tile-dashboard/tile-dashboard.component.scss.shim.ngstyle.js +0 -9
  67. package/esm2015/modules/tiles/tile-dashboard/tile-dashboard.module.ngfactory.js +0 -15
  68. package/esm2015/modules/tiles/tile-dashboard/tile-dashboard.module.ngsummary.json +0 -1
  69. package/esm2015/modules/tiles/tile-dashboard/tile-dashboard.service.ngsummary.json +0 -1
  70. package/esm2015/modules/tiles/tile-dashboard-column/tile-dashboard-column.component.ngfactory.js +0 -20
  71. package/esm2015/modules/tiles/tile-dashboard-column/tile-dashboard-column.component.ngsummary.json +0 -1
  72. package/esm2015/modules/tiles/tile-dashboard-column/tile-dashboard-column.component.scss.shim.ngstyle.js +0 -9
  73. package/esm2015/modules/tiles/tile-dashboard-column/tile-dashboard-column.module.ngfactory.js +0 -14
  74. package/esm2015/modules/tiles/tile-dashboard-column/tile-dashboard-column.module.ngsummary.json +0 -1
  75. package/esm2015/modules/tiles/tile-dashboard-config/tile-dashboard-config-layout-column.ngsummary.json +0 -1
  76. package/esm2015/modules/tiles/tile-dashboard-config/tile-dashboard-config-layout-tile.ngsummary.json +0 -1
  77. package/esm2015/modules/tiles/tile-dashboard-config/tile-dashboard-config-layout.ngsummary.json +0 -1
  78. package/esm2015/modules/tiles/tile-dashboard-config/tile-dashboard-config-reorder-data.ngsummary.json +0 -1
  79. package/esm2015/modules/tiles/tile-dashboard-config/tile-dashboard-config-tile.ngsummary.json +0 -1
  80. package/esm2015/modules/tiles/tile-dashboard-config/tile-dashboard-config.ngsummary.json +0 -1
  81. package/esm2015/modules/tiles/tiles.module.ngfactory.js +0 -22
  82. package/esm2015/modules/tiles/tiles.module.ngsummary.json +0 -1
  83. package/esm2015/public-api.ngsummary.json +0 -1
  84. package/esm2015/skyux-tiles.ngsummary.json +0 -1
  85. package/modules/shared/sky-tiles-resources.module.ngfactory.d.ts +0 -3
  86. package/modules/tiles/tile/tile-summary.component.ngfactory.d.ts +0 -1
  87. package/modules/tiles/tile/tile-title.component.ngfactory.d.ts +0 -1
  88. package/modules/tiles/tile/tile-title.component.scss.shim.ngstyle.d.ts +0 -1
  89. package/modules/tiles/tile/tile.component.ngfactory.d.ts +0 -1
  90. package/modules/tiles/tile/tile.component.scss.shim.ngstyle.d.ts +0 -1
  91. package/modules/tiles/tile/tile.module.ngfactory.d.ts +0 -3
  92. package/modules/tiles/tile-content/tile-content-section.component.ngfactory.d.ts +0 -1
  93. package/modules/tiles/tile-content/tile-content-section.component.scss.shim.ngstyle.d.ts +0 -1
  94. package/modules/tiles/tile-content/tile-content.component.ngfactory.d.ts +0 -1
  95. package/modules/tiles/tile-content/tile-content.component.scss.shim.ngstyle.d.ts +0 -1
  96. package/modules/tiles/tile-content/tile-content.module.ngfactory.d.ts +0 -3
  97. package/modules/tiles/tile-dashboard/tile-dashboard.component.ngfactory.d.ts +0 -1
  98. package/modules/tiles/tile-dashboard/tile-dashboard.component.scss.shim.ngstyle.d.ts +0 -1
  99. package/modules/tiles/tile-dashboard/tile-dashboard.module.ngfactory.d.ts +0 -3
  100. package/modules/tiles/tile-dashboard-column/tile-dashboard-column.component.ngfactory.d.ts +0 -1
  101. package/modules/tiles/tile-dashboard-column/tile-dashboard-column.component.scss.shim.ngstyle.d.ts +0 -1
  102. package/modules/tiles/tile-dashboard-column/tile-dashboard-column.module.ngfactory.d.ts +0 -3
  103. package/modules/tiles/tiles.module.ngfactory.d.ts +0 -3
  104. package/skyux-tiles.metadata.json +0 -1
@@ -1,13 +1,20 @@
1
- import { NgModule, EventEmitter, Injector, Injectable, Output, Component, ElementRef, ChangeDetectorRef, Optional, Input, ViewChild, ComponentFactoryResolver, ViewContainerRef, ViewChildren } from '@angular/core';
1
+ import * as i0 from '@angular/core';
2
+ import { NgModule, EventEmitter, Injector, Injectable, Output, ElementRef, Component, Optional, Input, ViewChild, ViewContainerRef, ViewChildren } from '@angular/core';
3
+ import * as i3 from '@angular/common';
2
4
  import { CommonModule } from '@angular/common';
3
- import { getLibStringForLocale, SkyI18nModule, SKY_LIB_RESOURCES_PROVIDERS, SkyLibResourcesService } from '@skyux/i18n';
5
+ import * as i3$1 from '@skyux/i18n';
6
+ import { getLibStringForLocale, SkyI18nModule, SKY_LIB_RESOURCES_PROVIDERS } from '@skyux/i18n';
7
+ import * as i2$1 from '@skyux/indicators';
4
8
  import { SkyChevronModule, SkyIconModule } from '@skyux/indicators';
9
+ import * as i4 from '@skyux/theme';
5
10
  import { SkyThemeModule } from '@skyux/theme';
6
11
  import { skyAnimationSlide } from '@skyux/animations';
7
12
  import { Subject } from 'rxjs';
8
13
  import { take, takeUntil } from 'rxjs/operators';
9
- import { DragulaService, DragulaModule } from 'ng2-dragula';
10
- import { SkyMediaBreakpoints, SkyMediaQueryService, SkyUIConfigService } from '@skyux/core';
14
+ import * as i2 from '@skyux/core';
15
+ import { SkyMediaBreakpoints, SkyIdModule } from '@skyux/core';
16
+ import * as i1 from 'ng2-dragula';
17
+ import { DragulaModule, DragulaService } from 'ng2-dragula';
11
18
 
12
19
  /**
13
20
  * NOTICE: DO NOT MODIFY THIS FILE!
@@ -16,7 +23,22 @@ import { SkyMediaBreakpoints, SkyMediaQueryService, SkyUIConfigService } from '@
16
23
  * To update this file, simply rerun the command.
17
24
  */
18
25
  const RESOURCES = {
19
- 'EN-US': { "skyux_tile_help": { "message": "Help" }, "skyux_tile_settings": { "message": "Settings" }, "skyux_tile_grab_handle": { "message": "Use arrow keys to reorder. Press up and down arrow keys to change position in column. Press left and right arrow keys to change position to another column." }, "skyux_tile_moved_assistive_text": { "message": "{0} moved. Current column: {1} of {2}. Current position in column: {3} of {4}" } },
26
+ 'EN-US': {
27
+ skyux_tile_expand: { message: 'Expand or collapse {0}' },
28
+ skyux_tile_expand_default: { message: 'Expand or collapse' },
29
+ skyux_tile_help: { message: '{0} help' },
30
+ skyux_tile_help_default: { message: 'Help' },
31
+ skyux_tile_settings: { message: '{0} settings' },
32
+ skyux_tile_settings_default: { message: 'Settings' },
33
+ skyux_tile_move: { message: 'Move {0}' },
34
+ skyux_tile_move_default: { message: 'Move' },
35
+ skyux_tile_move_instructions: {
36
+ message: "When focus is placed on a tile's move button, use the arrow keys to move it. The up and down keys change its position within a column. The left and right keys move it between columns.",
37
+ },
38
+ skyux_tile_moved_assistive_text: {
39
+ message: '{0} moved. Current column: {1} of {2}. Current position in column: {3} of {4}',
40
+ },
41
+ },
20
42
  };
21
43
  class SkyTilesResourcesProvider {
22
44
  getString(localeInfo, name) {
@@ -28,16 +50,28 @@ class SkyTilesResourcesProvider {
28
50
  */
29
51
  class SkyTilesResourcesModule {
30
52
  }
31
- SkyTilesResourcesModule.decorators = [
32
- { type: NgModule, args: [{
33
- exports: [SkyI18nModule],
34
- providers: [{
35
- provide: SKY_LIB_RESOURCES_PROVIDERS,
36
- useClass: SkyTilesResourcesProvider,
37
- multi: true
38
- }]
39
- },] }
40
- ];
53
+ SkyTilesResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTilesResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
54
+ SkyTilesResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTilesResourcesModule, exports: [SkyI18nModule] });
55
+ SkyTilesResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTilesResourcesModule, providers: [
56
+ {
57
+ provide: SKY_LIB_RESOURCES_PROVIDERS,
58
+ useClass: SkyTilesResourcesProvider,
59
+ multi: true,
60
+ },
61
+ ], imports: [SkyI18nModule] });
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTilesResourcesModule, decorators: [{
63
+ type: NgModule,
64
+ args: [{
65
+ exports: [SkyI18nModule],
66
+ providers: [
67
+ {
68
+ provide: SKY_LIB_RESOURCES_PROVIDERS,
69
+ useClass: SkyTilesResourcesProvider,
70
+ multi: true,
71
+ },
72
+ ],
73
+ }]
74
+ }] });
41
75
 
42
76
  const ATTR_TILE_ID = '_sky-tile-dashboard-tile-id';
43
77
  let bagIdIndex = 0;
@@ -54,7 +88,7 @@ class SkyTileDashboardService {
54
88
  * Fires when the tile dashboard's initialization is complete.
55
89
  */
56
90
  this.dashboardInitialized = new EventEmitter();
57
- this.bagId = 'sky-tile-dashboard-bag-' + (++bagIdIndex);
91
+ this.bagId = 'sky-tile-dashboard-bag-' + ++bagIdIndex;
58
92
  this.initDragula();
59
93
  }
60
94
  /**
@@ -66,7 +100,9 @@ class SkyTileDashboardService {
66
100
  // the config used inside and vice versa.
67
101
  this.defaultConfig = this.config = Object.assign({}, config);
68
102
  this.settingsKey = settingsKey;
69
- this.uiConfigService.getConfig(settingsKey, config).pipe(take(1))
103
+ this.uiConfigService
104
+ .getConfig(settingsKey, config)
105
+ .pipe(take(1))
70
106
  .subscribe((value) => {
71
107
  if (value.persisted) {
72
108
  this.config.layout = value.layout;
@@ -178,7 +214,8 @@ class SkyTileDashboardService {
178
214
  */
179
215
  getTileComponent(tileId) {
180
216
  for (let tileComponent of this.tileComponents) {
181
- if (tileComponent.location.nativeElement.getAttribute(ATTR_TILE_ID) === tileId) {
217
+ if (tileComponent.location.nativeElement.getAttribute(ATTR_TILE_ID) ===
218
+ tileId) {
182
219
  return tileComponent;
183
220
  }
184
221
  }
@@ -198,8 +235,8 @@ class SkyTileDashboardService {
198
235
  * @internal
199
236
  */
200
237
  moveTileOnKeyDown(tileCmp, direction, tileDescription) {
201
- const isSingleColumnMode = this.mediaQuery.current === SkyMediaBreakpoints.xs
202
- || this.mediaQuery.current === SkyMediaBreakpoints.sm;
238
+ const isSingleColumnMode = this.mediaQuery.current === SkyMediaBreakpoints.xs ||
239
+ this.mediaQuery.current === SkyMediaBreakpoints.sm;
203
240
  let tileId = this.getTileId(tileCmp);
204
241
  let tile = this.findTile(tileId);
205
242
  let column;
@@ -211,20 +248,23 @@ class SkyTileDashboardService {
211
248
  column = this.findTileColumn(tileId);
212
249
  colIndex = this.config.layout.multiColumn.findIndex((value) => value === column);
213
250
  }
214
- if ((direction === 'left' || direction === 'right') && !isSingleColumnMode) {
251
+ if ((direction === 'left' || direction === 'right') &&
252
+ !isSingleColumnMode) {
215
253
  let operator = direction === 'left' ? -1 : 1;
216
254
  let newColumn = this.config.layout.multiColumn[colIndex + operator];
217
255
  if (newColumn) {
218
256
  // Move the tile to the end of the new column
219
257
  newColumn.tiles.push(tile);
220
- column.tiles = column.tiles.filter(item => item !== tile);
221
- this.moveTilesToColumn(this.columns.toArray()[colIndex + operator], [tile]);
258
+ column.tiles = column.tiles.filter((item) => item !== tile);
259
+ this.moveTilesToColumn(this.columns.toArray()[colIndex + operator], [
260
+ tile,
261
+ ]);
222
262
  // Report the change in configuration
223
263
  let reportConfig = this.config;
224
264
  reportConfig.movedTile = {
225
265
  tileDescription: tileDescription || /* istanbul ignore next */ tile.id,
226
266
  column: colIndex + operator + 1,
227
- position: newColumn.tiles.length
267
+ position: newColumn.tiles.length,
228
268
  };
229
269
  this.configChange.emit(reportConfig);
230
270
  }
@@ -250,14 +290,15 @@ class SkyTileDashboardService {
250
290
  columnEl.appendChild(tileComponentInstance.location.nativeElement);
251
291
  }
252
292
  else {
253
- columnEl.insertBefore(tileComponentInstance.location.nativeElement, this.getTileComponent(column.tiles[curIndex + operator + 1].id).location.nativeElement);
293
+ columnEl.insertBefore(tileComponentInstance.location.nativeElement, this.getTileComponent(column.tiles[curIndex + operator + 1].id)
294
+ .location.nativeElement);
254
295
  }
255
296
  // Report the change in configuration
256
297
  let reportConfig = this.config;
257
298
  reportConfig.movedTile = {
258
299
  tileDescription: tileDescription || /* istanbul ignore next */ tile.id,
259
300
  column: isSingleColumnMode ? undefined : colIndex + 1,
260
- position: curIndex + operator + 1
301
+ position: curIndex + operator + 1,
261
302
  };
262
303
  this.configChange.emit(reportConfig);
263
304
  }
@@ -288,12 +329,13 @@ class SkyTileDashboardService {
288
329
  // If the layout tile was not found in the list of tiles, it was removed since last the user updated settings
289
330
  /*istanbul ignore else */
290
331
  if (this.config.layout.singleColumn) {
291
- this.config.layout.singleColumn.tiles = this.config.layout.singleColumn.tiles.filter(elem => elem.id !== layoutTile.id);
332
+ this.config.layout.singleColumn.tiles =
333
+ this.config.layout.singleColumn.tiles.filter((elem) => elem.id !== layoutTile.id);
292
334
  }
293
335
  /*istanbul ignore else */
294
336
  if (this.config.layout.multiColumn) {
295
- this.config.layout.multiColumn.forEach(elem => {
296
- elem.tiles = elem.tiles.filter(res => res.id !== layoutTile.id);
337
+ this.config.layout.multiColumn.forEach((elem) => {
338
+ elem.tiles = elem.tiles.filter((res) => res.id !== layoutTile.id);
297
339
  });
298
340
  }
299
341
  }
@@ -309,8 +351,8 @@ class SkyTileDashboardService {
309
351
  }
310
352
  loadTiles() {
311
353
  let layout = this.config.layout;
312
- if (this.mediaQuery.current === SkyMediaBreakpoints.xs
313
- || this.mediaQuery.current === SkyMediaBreakpoints.sm) {
354
+ if (this.mediaQuery.current === SkyMediaBreakpoints.xs ||
355
+ this.mediaQuery.current === SkyMediaBreakpoints.sm) {
314
356
  for (let tile of layout.singleColumn.tiles) {
315
357
  this.loadTileIntoColumn(this.singleColumn, tile);
316
358
  }
@@ -333,7 +375,7 @@ class SkyTileDashboardService {
333
375
  let providers = tile.providers /* istanbul ignore next */ || [];
334
376
  const injector = Injector.create({
335
377
  providers,
336
- parent: column.injector
378
+ parent: column.injector,
337
379
  });
338
380
  const factory = column.resolver.resolveComponentFactory(componentType);
339
381
  const componentRef = column.content.createComponent(factory, undefined, injector);
@@ -370,30 +412,30 @@ class SkyTileDashboardService {
370
412
  tiles: this.config.tiles,
371
413
  layout: {
372
414
  singleColumn: this.getSingleColumnLayoutForUIState(),
373
- multiColumn: this.getMultiColumnLayoutForUIState()
374
- }
415
+ multiColumn: this.getMultiColumnLayoutForUIState(),
416
+ },
375
417
  };
376
418
  }
377
419
  return this.config;
378
420
  }
379
421
  getSingleColumnLayoutForUIState() {
380
- if (this.mediaQuery.current === SkyMediaBreakpoints.xs
381
- || this.mediaQuery.current === SkyMediaBreakpoints.sm) {
422
+ if (this.mediaQuery.current === SkyMediaBreakpoints.xs ||
423
+ this.mediaQuery.current === SkyMediaBreakpoints.sm) {
382
424
  return {
383
- tiles: this.getTilesInEl(this.getColumnEl(this.singleColumn))
425
+ tiles: this.getTilesInEl(this.getColumnEl(this.singleColumn)),
384
426
  };
385
427
  }
386
428
  return this.config.layout.singleColumn;
387
429
  }
388
430
  getMultiColumnLayoutForUIState() {
389
- if (!(this.mediaQuery.current === SkyMediaBreakpoints.xs
390
- || this.mediaQuery.current === SkyMediaBreakpoints.sm)) {
431
+ if (!(this.mediaQuery.current === SkyMediaBreakpoints.xs ||
432
+ this.mediaQuery.current === SkyMediaBreakpoints.sm)) {
391
433
  let layoutColumns = [];
392
434
  let columns = this.columns.toArray();
393
435
  for (let column of columns) {
394
436
  if (column !== this.singleColumn) {
395
437
  let layoutColumn = {
396
- tiles: this.getTilesInEl(this.getColumnEl(column))
438
+ tiles: this.getTilesInEl(this.getColumnEl(column)),
397
439
  };
398
440
  layoutColumns.push(layoutColumn);
399
441
  }
@@ -432,7 +474,7 @@ class SkyTileDashboardService {
432
474
  moves: (el, container, handle) => {
433
475
  const target = el.querySelector('.sky-tile-grab-handle');
434
476
  return target.contains(handle);
435
- }
477
+ },
436
478
  });
437
479
  this.dragulaService.drop.subscribe((value) => {
438
480
  let config = this.getConfigForUIState();
@@ -467,7 +509,7 @@ class SkyTileDashboardService {
467
509
  findTileColumn(tileId) {
468
510
  /*istanbul ignore else */
469
511
  if (this.config && this.config.layout.multiColumn) {
470
- return this.config.layout.multiColumn.find(col => col.tiles && !!col.tiles.find(tile => tile.id === tileId));
512
+ return this.config.layout.multiColumn.find((col) => col.tiles && !!col.tiles.find((tile) => tile.id === tileId));
471
513
  }
472
514
  /*istanbul ignore next */
473
515
  return undefined;
@@ -479,18 +521,20 @@ class SkyTileDashboardService {
479
521
  this.checkReadyAndLoadTiles();
480
522
  }
481
523
  setUserConfig(config) {
482
- this.uiConfigService.setConfig(this.settingsKey, {
524
+ this.uiConfigService
525
+ .setConfig(this.settingsKey, {
483
526
  layout: this.config.layout,
484
527
  persisted: true,
485
- tileIds: this.defaultConfig.tiles.map(elem => elem.id)
486
- }).subscribe(() => { }, (err) => {
528
+ tileIds: this.defaultConfig.tiles.map((elem) => elem.id),
529
+ })
530
+ .subscribe(() => { }, (err) => {
487
531
  console.warn('Could not save tile dashboard settings.');
488
532
  console.warn(err);
489
533
  });
490
534
  }
491
535
  checkForNewTiles(oldUserTiles) {
492
536
  // Get a list of tiles that are in the config's default list but not in the user's settings
493
- let newTiles = this.config.tiles.filter(elem => {
537
+ let newTiles = this.config.tiles.filter((elem) => {
494
538
  return oldUserTiles.indexOf(elem.id) === -1;
495
539
  });
496
540
  const { multiColumn, singleColumn } = this.config.layout;
@@ -499,7 +543,7 @@ class SkyTileDashboardService {
499
543
  if (newTiles.length > 0) {
500
544
  /*istanbul ignore else */
501
545
  if (multiColumn) {
502
- newTiles.forEach(elem => {
546
+ newTiles.forEach((elem) => {
503
547
  let locationToAdd = 0;
504
548
  let smallest = multiColumn[0].tiles.length;
505
549
  multiColumn.forEach((item, index) => {
@@ -508,12 +552,15 @@ class SkyTileDashboardService {
508
552
  smallest = item.tiles.length;
509
553
  }
510
554
  });
511
- multiColumn[locationToAdd].tiles.push({ id: elem.id, isCollapsed: false });
555
+ multiColumn[locationToAdd].tiles.push({
556
+ id: elem.id,
557
+ isCollapsed: false,
558
+ });
512
559
  });
513
560
  }
514
561
  /*istanbul ignore else */
515
562
  if (singleColumn) {
516
- newTiles.forEach(elem => {
563
+ newTiles.forEach((elem) => {
517
564
  singleColumn.tiles.push({ id: elem.id, isCollapsed: false });
518
565
  });
519
566
  }
@@ -534,17 +581,13 @@ class SkyTileDashboardService {
534
581
  }
535
582
  }
536
583
  }
537
- SkyTileDashboardService.decorators = [
538
- { type: Injectable }
539
- ];
540
- SkyTileDashboardService.ctorParameters = () => [
541
- { type: DragulaService },
542
- { type: SkyMediaQueryService },
543
- { type: SkyUIConfigService }
544
- ];
545
- SkyTileDashboardService.propDecorators = {
546
- dashboardInitialized: [{ type: Output }]
547
- };
584
+ SkyTileDashboardService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileDashboardService, deps: [{ token: i1.DragulaService }, { token: i2.SkyMediaQueryService }, { token: i2.SkyUIConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
585
+ SkyTileDashboardService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileDashboardService });
586
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileDashboardService, decorators: [{
587
+ type: Injectable
588
+ }], ctorParameters: function () { return [{ type: i1.DragulaService }, { type: i2.SkyMediaQueryService }, { type: i2.SkyUIConfigService }]; }, propDecorators: { dashboardInitialized: [{
589
+ type: Output
590
+ }] } });
548
591
 
549
592
  /**
550
593
  * Provides a common look-and-feel for tab content.
@@ -643,13 +686,14 @@ class SkyTileComponent {
643
686
  if (this.isInDashboardColumn) {
644
687
  let direction = event.key.toLowerCase().replace('arrow', '');
645
688
  /* istanbul ignore else */
646
- if (direction === 'up'
647
- || direction === 'down'
648
- || direction === 'left'
649
- || direction === 'right') {
650
- this.dashboardService.moveTileOnKeyDown(this, direction, this.title ? this.title.nativeElement.innerText :
651
- /* istanbul ignore next */
652
- undefined);
689
+ if (direction === 'up' ||
690
+ direction === 'down' ||
691
+ direction === 'left' ||
692
+ direction === 'right') {
693
+ this.dashboardService.moveTileOnKeyDown(this, direction, this.title
694
+ ? this.title.nativeElement.innerText
695
+ : /* istanbul ignore next */
696
+ undefined);
653
697
  this.focusHandle();
654
698
  }
655
699
  }
@@ -658,35 +702,45 @@ class SkyTileComponent {
658
702
  this.grabHandle.nativeElement.focus();
659
703
  }
660
704
  }
661
- SkyTileComponent.decorators = [
662
- { type: Component, args: [{
663
- selector: 'sky-tile',
664
- template: "<section\n class=\"sky-tile\"\n [ngClass]=\"{\n 'sky-tile-collapsed': isCollapsed\n }\"\n [skyThemeClass]=\"{\n 'sky-box sky-elevation-1-bordered sky-padding-even-xl' : 'modern'\n }\"\n>\n <header class=\"sky-tile-header\">\n <div\n class=\"sky-tile-header-content\"\n (click)=\"titleClick()\"\n >\n <div\n class=\"sky-tile-header-title\"\n #titleContainer\n >\n <ng-content select=\"sky-tile-title\"></ng-content>\n </div>\n <div\n class=\"sky-tile-summary\"\n [skyThemeClass]=\"{\n 'sky-font-display-3' : 'modern',\n 'sky-headline' : 'default'\n }\"\n >\n <ng-content select=\"sky-tile-summary\"></ng-content>\n </div>\n </div>\n <div class=\"sky-tile-header-column-tools\">\n <div class=\"sky-tile-tools\">\n <ng-container *skyThemeIf=\"'default'\">\n <button *ngIf=\"hasHelp\"\n class=\"sky-btn sky-tile-tools-control sky-tile-help\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_tile_help' | skyLibResources\"\n [skyThemeClass]=\"{\n 'sky-btn-icon-borderless' : 'modern'\n }\"\n (click)=\"helpButtonClicked();\"\n >\n <sky-icon\n icon=\"question-circle\"\n ></sky-icon>\n </button>\n </ng-container>\n <sky-chevron\n [direction]=\"isCollapsed ? 'down' : 'up'\"\n [skyThemeClass]=\"{\n 'sky-tile-tools-control' : 'default',\n 'sky-margin-inline-default' : 'modern'\n }\"\n (directionChange)=\"chevronDirectionChange($event)\"\n >\n </sky-chevron>\n <button *ngIf=\"hasSettings\"\n class=\"sky-btn sky-tile-settings\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_tile_settings' | skyLibResources\"\n [skyThemeClass]=\"{\n 'sky-tile-tools-control' : 'default',\n 'sky-btn-icon-borderless sky-margin-inline-default' : 'modern'\n }\"\n (click)=\"settingsButtonClicked();\"\n >\n <sky-icon *skyThemeIf=\"'default'\"\n icon=\"cog\"\n ></sky-icon>\n <sky-icon *skyThemeIf=\"'modern'\"\n icon=\"cog-line\"\n iconType=\"skyux\"\n ></sky-icon>\n </button>\n <button *ngIf=\"isInDashboardColumn\"\n class=\"sky-btn sky-tile-grab-handle\"\n [attr.aria-label]=\"'skyux_tile_grab_handle' | skyLibResources\"\n [skyThemeClass]=\"{\n 'sky-tile-tools-control' : 'default',\n 'sky-btn-icon-borderless' : 'modern'\n }\"\n (click)=\"$event.stopPropagation()\"\n (keydown)=\"moveTile($event)\"\n #grabHandle\n >\n <sky-icon *skyThemeIf=\"'default'\"\n icon=\"th\"\n ></sky-icon>\n <sky-icon *skyThemeIf=\"'modern'\"\n icon=\"tile-drag\"\n iconType=\"skyux\"\n ></sky-icon>\n </button>\n </div>\n </div>\n </header>\n <div class=\"sky-tile-content\" [@skyAnimationSlide]=\"isCollapsed ? 'up' : 'down'\">\n <ng-content select=\"sky-tile-content\"></ng-content>\n </div>\n</section>\n",
665
- animations: [skyAnimationSlide],
666
- styles: [".sky-tile{background-color:#fff;margin-bottom:20px}.sky-tile-header{border-color:#cdcfd2;border-style:solid solid none;border-width:4px 0 0;display:flex}.sky-tile-header-content{display:flex;flex:1;align-items:baseline;cursor:pointer}.sky-tile-header-title{display:inline-flex}.sky-tile-summary{color:#0974a1;opacity:0;padding-right:15px;transition:opacity .25s;max-height:30px;overflow:hidden}.sky-tile-collapsed .sky-tile-summary{opacity:1}.sky-tile-header-column-tools{display:flex;align-items:center;flex:0 0 auto}.sky-tile-tools{display:flex;padding-right:15px}.sky-tile-tools-control{color:#cdcfd2;cursor:pointer;border:0;width:24px;height:24px;padding:0;display:block;margin:0 0 0 9px}.sky-tile-tools-control:hover{color:#979ba2;transition:color .15s}.sky-tile-grab-handle{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;font-size:15px}.sky-tile-content{border-color:#e2e3e4;-o-border-image:none;border-image:none;border-style:solid solid none;border-width:1px 0}.sky-theme-modern .sky-tile-header,.sky-theme-modern .sky-tile-content,:host-context(.sky-theme-modern) .sky-tile-header,:host-context(.sky-theme-modern) .sky-tile-content{border:none}.sky-theme-modern .sky-tile-header-column-tools,:host-context(.sky-theme-modern) .sky-tile-header-column-tools{align-items:flex-start}.sky-theme-modern .sky-tile-tools,:host-context(.sky-theme-modern) .sky-tile-tools{padding:0}.sky-theme-modern .sky-tile-tools-control,:host-context(.sky-theme-modern) .sky-tile-tools-control{font-size:18px;color:#686c73}.sky-theme-modern .sky-tile-grab-handle,:host-context(.sky-theme-modern) .sky-tile-grab-handle{font-size:16px}.sky-theme-modern .sky-tile-content ::ng-deep .sky-tile-content-section,:host-context(.sky-theme-modern) .sky-tile-content ::ng-deep .sky-tile-content-section{border-bottom:1px dotted #c0c2c5}.sky-theme-modern .sky-tile-content ::ng-deep sky-tile-content-section:first-child .sky-tile-content-section,:host-context(.sky-theme-modern) .sky-tile-content ::ng-deep sky-tile-content-section:first-child .sky-tile-content-section{margin-top:15px}.sky-theme-modern .sky-tile-content ::ng-deep sky-tile-content-section:last-child .sky-tile-content-section,:host-context(.sky-theme-modern) .sky-tile-content ::ng-deep sky-tile-content-section:last-child .sky-tile-content-section{padding-bottom:0;border-bottom:none}.sky-theme-modern :host .sky-tile,:host-context(.sky-theme-modern) :host .sky-tile{border-radius:0}.sky-theme-modern :host-context(.sky-responsive-container-xs) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-sm) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-md) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-lg) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-xs) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg) .sky-tile{border-radius:0}@media (min-width: 768px){.sky-theme-modern :host .sky-tile,:host-context(.sky-theme-modern) :host .sky-tile{border-radius:6px}}.sky-theme-modern :host-context(.sky-responsive-container-sm) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-md) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-lg) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg) .sky-tile{border-radius:6px}\n"]
667
- },] }
668
- ];
669
- SkyTileComponent.ctorParameters = () => [
670
- { type: ElementRef },
671
- { type: ChangeDetectorRef },
672
- { type: SkyTileDashboardService, decorators: [{ type: Optional }] }
673
- ];
674
- SkyTileComponent.propDecorators = {
675
- showSettings: [{ type: Input }],
676
- showHelp: [{ type: Input }],
677
- settingsClick: [{ type: Output }],
678
- isCollapsedChange: [{ type: Output }],
679
- helpClick: [{ type: Output }],
680
- isCollapsed: [{ type: Input }],
681
- grabHandle: [{ type: ViewChild, args: ['grabHandle', {
682
- read: ElementRef,
683
- static: false
684
- },] }],
685
- title: [{ type: ViewChild, args: ['titleContainer', {
686
- read: ElementRef,
687
- static: false
688
- },] }]
689
- };
705
+ SkyTileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: SkyTileDashboardService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
706
+ SkyTileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyTileComponent, selector: "sky-tile", inputs: { showSettings: "showSettings", showHelp: "showHelp", tileName: "tileName", isCollapsed: "isCollapsed" }, outputs: { settingsClick: "settingsClick", isCollapsedChange: "isCollapsedChange", helpClick: "helpClick" }, viewQueries: [{ propertyName: "grabHandle", first: true, predicate: ["grabHandle"], descendants: true, read: ElementRef }, { propertyName: "title", first: true, predicate: ["titleContainer"], descendants: true, read: ElementRef }], ngImport: i0, template: "<section\n class=\"sky-tile\"\n [ngClass]=\"{\n 'sky-tile-collapsed': isCollapsed\n }\"\n [skyThemeClass]=\"{\n 'sky-box sky-elevation-1-bordered sky-padding-even-xl': 'modern'\n }\"\n>\n <header class=\"sky-tile-header\">\n <div class=\"sky-tile-header-content\" (click)=\"titleClick()\">\n <div class=\"sky-tile-header-title\" #titleContainer>\n <ng-content select=\"sky-tile-title\"></ng-content>\n </div>\n <div\n class=\"sky-tile-summary\"\n [skyThemeClass]=\"{\n 'sky-font-display-3': 'modern',\n 'sky-headline': 'default'\n }\"\n >\n <ng-content select=\"sky-tile-summary\"></ng-content>\n </div>\n </div>\n <div class=\"sky-tile-header-column-tools\">\n <div class=\"sky-tile-tools\">\n <ng-container *skyThemeIf=\"'default'\">\n <button\n *ngIf=\"hasHelp\"\n class=\"sky-btn sky-tile-tools-control sky-tile-help\"\n type=\"button\"\n [attr.aria-label]=\"\n tileName\n ? ('skyux_tile_help' | skyLibResources: tileName)\n : ('skyux_tile_help_default' | skyLibResources)\n \"\n [skyThemeClass]=\"{\n 'sky-btn-icon-borderless': 'modern'\n }\"\n (click)=\"helpButtonClicked()\"\n >\n <sky-icon icon=\"question-circle\"></sky-icon>\n </button>\n </ng-container>\n <sky-chevron\n [ariaControls]=\"tileContent.id\"\n [ariaLabel]=\"\n tileName\n ? ('skyux_tile_expand' | skyLibResources: tileName)\n : ('skyux_tile_expand_default' | skyLibResources)\n \"\n [direction]=\"isCollapsed ? 'down' : 'up'\"\n [skyThemeClass]=\"{\n 'sky-tile-tools-control': 'default',\n 'sky-margin-inline-default': 'modern'\n }\"\n (directionChange)=\"chevronDirectionChange($event)\"\n >\n </sky-chevron>\n <button\n *ngIf=\"hasSettings\"\n class=\"sky-btn sky-tile-settings\"\n type=\"button\"\n [attr.aria-label]=\"\n tileName\n ? ('skyux_tile_settings' | skyLibResources: tileName)\n : ('skyux_tile_settings_default' | skyLibResources)\n \"\n [skyThemeClass]=\"{\n 'sky-tile-tools-control': 'default',\n 'sky-btn-icon-borderless sky-margin-inline-default': 'modern'\n }\"\n (click)=\"settingsButtonClicked()\"\n >\n <sky-icon *skyThemeIf=\"'default'\" icon=\"cog\"></sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n icon=\"cog-line\"\n iconType=\"skyux\"\n ></sky-icon>\n </button>\n <button\n *ngIf=\"isInDashboardColumn\"\n class=\"sky-btn sky-tile-grab-handle\"\n [attr.aria-label]=\"\n tileName\n ? ('skyux_tile_move' | skyLibResources: tileName)\n : ('skyux_tile_move_default' | skyLibResources)\n \"\n [attr.aria-describedby]=\"\n dashboardService?.bagId + '-move-instructions'\n \"\n [skyThemeClass]=\"{\n 'sky-tile-tools-control': 'default',\n 'sky-btn-icon-borderless': 'modern'\n }\"\n (click)=\"$event.stopPropagation()\"\n (keydown)=\"moveTile($event)\"\n #grabHandle\n >\n <sky-icon *skyThemeIf=\"'default'\" icon=\"th\"></sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n icon=\"tile-drag\"\n iconType=\"skyux\"\n ></sky-icon>\n </button>\n </div>\n </div>\n </header>\n <div\n class=\"sky-tile-content\"\n role=\"region\"\n skyId\n [attr.aria-label]=\"tileName\"\n [@skyAnimationSlide]=\"isCollapsed ? 'up' : 'down'\"\n #tileContent=\"skyId\"\n >\n <ng-content select=\"sky-tile-content\"></ng-content>\n </div>\n</section>\n", styles: [".sky-tile{background-color:#fff;margin-bottom:20px}.sky-tile-header{border-color:#cdcfd2;border-style:solid solid none;border-width:4px 0 0;display:flex}.sky-tile-header-content{display:flex;flex:1;align-items:baseline;cursor:pointer}.sky-tile-header-title{display:inline-flex}.sky-tile-summary{color:#0974a1;opacity:0;padding-right:15px;transition:opacity .25s;max-height:30px;overflow:hidden}.sky-tile-collapsed .sky-tile-summary{opacity:1}.sky-tile-header-column-tools{display:flex;align-items:center;flex:0 0 auto}.sky-tile-tools{display:flex;padding-right:15px}.sky-tile-tools-control{color:#cdcfd2;cursor:pointer;border:0;width:24px;height:24px;padding:0;display:block;margin:0 0 0 9px}.sky-tile-tools-control:hover{color:#979ba2;transition:color .15s}.sky-tile-grab-handle{cursor:move;cursor:-moz-grab;font-size:15px}.sky-tile-content{border-color:#e2e3e4;border-image:none;border-style:solid solid none;border-width:1px 0}:host-context(.sky-theme-modern) .sky-tile-header,:host-context(.sky-theme-modern) .sky-tile-content{border:none}:host-context(.sky-theme-modern) .sky-tile-header-column-tools{align-items:flex-start}:host-context(.sky-theme-modern) .sky-tile-tools{padding:0}:host-context(.sky-theme-modern) .sky-tile-tools-control{font-size:18px;color:#686c73}:host-context(.sky-theme-modern) .sky-tile-grab-handle{font-size:16px}:host-context(.sky-theme-modern) .sky-tile-content ::ng-deep .sky-tile-content-section{border-bottom:1px dotted #c0c2c5}:host-context(.sky-theme-modern) .sky-tile-content ::ng-deep sky-tile-content-section:first-child .sky-tile-content-section{margin-top:15px}:host-context(.sky-theme-modern) .sky-tile-content ::ng-deep sky-tile-content-section:last-child .sky-tile-content-section{padding-bottom:0;border-bottom:none}:host-context(.sky-theme-modern) :host .sky-tile{border-radius:0}:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-xs) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg) .sky-tile{border-radius:0}@media (min-width: 768px){:host-context(.sky-theme-modern) :host .sky-tile{border-radius:6px}}:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg) .sky-tile{border-radius:6px}.sky-theme-modern .sky-tile-header,.sky-theme-modern .sky-tile-content{border:none}.sky-theme-modern .sky-tile-header-column-tools{align-items:flex-start}.sky-theme-modern .sky-tile-tools{padding:0}.sky-theme-modern .sky-tile-tools-control{font-size:18px;color:#686c73}.sky-theme-modern .sky-tile-grab-handle{font-size:16px}.sky-theme-modern .sky-tile-content ::ng-deep .sky-tile-content-section{border-bottom:1px dotted #c0c2c5}.sky-theme-modern .sky-tile-content ::ng-deep sky-tile-content-section:first-child .sky-tile-content-section{margin-top:15px}.sky-theme-modern .sky-tile-content ::ng-deep sky-tile-content-section:last-child .sky-tile-content-section{padding-bottom:0;border-bottom:none}.sky-theme-modern :host .sky-tile{border-radius:0}.sky-theme-modern :host-context(.sky-responsive-container-xs) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-sm) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-md) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-lg) .sky-tile{border-radius:0}@media (min-width: 768px){.sky-theme-modern :host .sky-tile{border-radius:6px}}.sky-theme-modern :host-context(.sky-responsive-container-sm) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-md) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-lg) .sky-tile{border-radius:6px}\n"], components: [{ type: i2$1.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { type: i2$1.λ2, selector: "sky-chevron", inputs: ["ariaControls", "ariaLabel", "direction", "disabled"], outputs: ["directionChange"] }], directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i4.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.λ2, selector: "[skyId]", exportAs: ["skyId"] }], pipes: { "skyLibResources": i3$1.SkyLibResourcesPipe }, animations: [skyAnimationSlide] });
707
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileComponent, decorators: [{
708
+ type: Component,
709
+ args: [{
710
+ selector: 'sky-tile',
711
+ styleUrls: ['./tile.component.scss'],
712
+ templateUrl: './tile.component.html',
713
+ animations: [skyAnimationSlide],
714
+ }]
715
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: SkyTileDashboardService, decorators: [{
716
+ type: Optional
717
+ }] }]; }, propDecorators: { showSettings: [{
718
+ type: Input
719
+ }], showHelp: [{
720
+ type: Input
721
+ }], tileName: [{
722
+ type: Input
723
+ }], settingsClick: [{
724
+ type: Output
725
+ }], isCollapsedChange: [{
726
+ type: Output
727
+ }], helpClick: [{
728
+ type: Output
729
+ }], isCollapsed: [{
730
+ type: Input
731
+ }], grabHandle: [{
732
+ type: ViewChild,
733
+ args: ['grabHandle', {
734
+ read: ElementRef,
735
+ static: false,
736
+ }]
737
+ }], title: [{
738
+ type: ViewChild,
739
+ args: ['titleContainer', {
740
+ read: ElementRef,
741
+ static: false,
742
+ }]
743
+ }] } });
690
744
 
691
745
  /**
692
746
  * Specifies content to display in the tile's summary.
@@ -695,95 +749,119 @@ SkyTileComponent.propDecorators = {
695
749
  /* Code coverage having problems with no statements in classes */
696
750
  class SkyTileSummaryComponent {
697
751
  }
698
- SkyTileSummaryComponent.decorators = [
699
- { type: Component, args: [{
700
- selector: 'sky-tile-summary',
701
- template: "<ng-content></ng-content>\n"
702
- },] }
703
- ];
752
+ SkyTileSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
753
+ SkyTileSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyTileSummaryComponent, selector: "sky-tile-summary", ngImport: i0, template: "<ng-content></ng-content>\n" });
754
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileSummaryComponent, decorators: [{
755
+ type: Component,
756
+ args: [{
757
+ selector: 'sky-tile-summary',
758
+ templateUrl: 'tile-summary.component.html',
759
+ }]
760
+ }] });
704
761
 
705
762
  /**
706
763
  * Specifies content to display in the tile's title.
707
764
  */
708
765
  class SkyTileTitleComponent {
709
766
  }
710
- SkyTileTitleComponent.decorators = [
711
- { type: Component, args: [{
712
- selector: 'sky-tile-title',
713
- template: "<h2\n class=\"sky-tile-title\"\n [skyThemeClass]=\"{\n 'sky-font-heading-2' : 'modern',\n 'sky-section-heading' : 'default'\n }\"\n>\n <ng-content></ng-content>\n</h2>\n",
714
- styles: [".sky-tile-title{margin:0;padding:10px 15px}.sky-theme-modern .sky-tile-title,:host-context(.sky-theme-modern) .sky-tile-title{margin:0 30px 0 0;padding:0}\n"]
715
- },] }
716
- ];
767
+ SkyTileTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
768
+ SkyTileTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyTileTitleComponent, selector: "sky-tile-title", ngImport: i0, template: "<h2\n class=\"sky-tile-title\"\n [skyThemeClass]=\"{\n 'sky-font-heading-2': 'modern',\n 'sky-section-heading': 'default'\n }\"\n>\n <ng-content></ng-content>\n</h2>\n", styles: [".sky-tile-title{margin:0;padding:10px 15px}:host-context(.sky-theme-modern) .sky-tile-title{margin:0 30px 0 0;padding:0}.sky-theme-modern .sky-tile-title{margin:0 30px 0 0;padding:0}\n"], directives: [{ type: i4.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }] });
769
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileTitleComponent, decorators: [{
770
+ type: Component,
771
+ args: [{
772
+ selector: 'sky-tile-title',
773
+ templateUrl: './tile-title.component.html',
774
+ styleUrls: ['./tile-title.component.scss'],
775
+ }]
776
+ }] });
717
777
 
718
778
  class SkyTileModule {
719
779
  }
720
- SkyTileModule.decorators = [
721
- { type: NgModule, args: [{
722
- declarations: [
723
- SkyTileComponent,
724
- SkyTileSummaryComponent,
725
- SkyTileTitleComponent
726
- ],
727
- imports: [
728
- CommonModule,
729
- SkyChevronModule,
730
- SkyI18nModule,
731
- SkyIconModule,
732
- SkyThemeModule,
733
- SkyTilesResourcesModule
734
- ],
735
- exports: [
736
- SkyTileComponent,
737
- SkyTileSummaryComponent,
738
- SkyTileTitleComponent
739
- ]
740
- },] }
741
- ];
780
+ SkyTileModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
781
+ SkyTileModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileModule, declarations: [SkyTileComponent,
782
+ SkyTileSummaryComponent,
783
+ SkyTileTitleComponent], imports: [CommonModule,
784
+ SkyChevronModule,
785
+ SkyIdModule,
786
+ SkyI18nModule,
787
+ SkyIconModule,
788
+ SkyThemeModule,
789
+ SkyTilesResourcesModule], exports: [SkyTileComponent, SkyTileSummaryComponent, SkyTileTitleComponent] });
790
+ SkyTileModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileModule, imports: [[
791
+ CommonModule,
792
+ SkyChevronModule,
793
+ SkyIdModule,
794
+ SkyI18nModule,
795
+ SkyIconModule,
796
+ SkyThemeModule,
797
+ SkyTilesResourcesModule,
798
+ ]] });
799
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileModule, decorators: [{
800
+ type: NgModule,
801
+ args: [{
802
+ declarations: [
803
+ SkyTileComponent,
804
+ SkyTileSummaryComponent,
805
+ SkyTileTitleComponent,
806
+ ],
807
+ imports: [
808
+ CommonModule,
809
+ SkyChevronModule,
810
+ SkyIdModule,
811
+ SkyI18nModule,
812
+ SkyIconModule,
813
+ SkyThemeModule,
814
+ SkyTilesResourcesModule,
815
+ ],
816
+ exports: [SkyTileComponent, SkyTileSummaryComponent, SkyTileTitleComponent],
817
+ }]
818
+ }] });
742
819
 
743
820
  /**
744
821
  * Specifies content to display inside a padded section of a SkyTileContentComponent.
745
822
  */
746
823
  class SkyTileContentSectionComponent {
747
824
  }
748
- SkyTileContentSectionComponent.decorators = [
749
- { type: Component, args: [{
750
- selector: 'sky-tile-content-section',
751
- template: "<div\n class=\"sky-tile-content-section\"\n [skyThemeClass]=\"{\n 'sky-padding-even-large' : 'default'\n }\"\n>\n <ng-content></ng-content>\n</div>\n",
752
- styles: [".sky-theme-modern .sky-tile-content-section,:host-context(.sky-theme-modern) .sky-tile-content-section{padding:15px 0}\n"]
753
- },] }
754
- ];
825
+ SkyTileContentSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileContentSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
826
+ SkyTileContentSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyTileContentSectionComponent, selector: "sky-tile-content-section", ngImport: i0, template: "<div\n class=\"sky-tile-content-section\"\n [skyThemeClass]=\"{\n 'sky-padding-even-large': 'default'\n }\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [":host-context(.sky-theme-modern) .sky-tile-content-section{padding:15px 0}.sky-theme-modern .sky-tile-content-section{padding:15px 0}\n"], directives: [{ type: i4.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }] });
827
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileContentSectionComponent, decorators: [{
828
+ type: Component,
829
+ args: [{
830
+ selector: 'sky-tile-content-section',
831
+ styleUrls: ['./tile-content-section.component.scss'],
832
+ templateUrl: './tile-content-section.component.html',
833
+ }]
834
+ }] });
755
835
 
756
836
  /**
757
837
  * Specifies content to display in the tile's body.
758
838
  */
759
839
  class SkyTileContentComponent {
760
840
  }
761
- SkyTileContentComponent.decorators = [
762
- { type: Component, args: [{
763
- selector: 'sky-tile-content',
764
- template: "<ng-content></ng-content>\n",
765
- styles: [":host ::ng-deep sky-tile-content-section:not(:last-child) .sky-tile-content-section{border-bottom:1px solid #e2e3e4}\n"]
766
- },] }
767
- ];
841
+ SkyTileContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
842
+ SkyTileContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyTileContentComponent, selector: "sky-tile-content", ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host ::ng-deep sky-tile-content-section:not(:last-child) .sky-tile-content-section{border-bottom:1px solid #e2e3e4}\n"] });
843
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileContentComponent, decorators: [{
844
+ type: Component,
845
+ args: [{
846
+ selector: 'sky-tile-content',
847
+ styleUrls: ['./tile-content.component.scss'],
848
+ templateUrl: 'tile-content.component.html',
849
+ }]
850
+ }] });
768
851
 
769
852
  class SkyTileContentModule {
770
853
  }
771
- SkyTileContentModule.decorators = [
772
- { type: NgModule, args: [{
773
- declarations: [
774
- SkyTileContentComponent,
775
- SkyTileContentSectionComponent
776
- ],
777
- imports: [
778
- CommonModule,
779
- SkyThemeModule
780
- ],
781
- exports: [
782
- SkyTileContentComponent,
783
- SkyTileContentSectionComponent
784
- ]
785
- },] }
786
- ];
854
+ SkyTileContentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileContentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
855
+ SkyTileContentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileContentModule, declarations: [SkyTileContentComponent, SkyTileContentSectionComponent], imports: [CommonModule, SkyThemeModule], exports: [SkyTileContentComponent, SkyTileContentSectionComponent] });
856
+ SkyTileContentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileContentModule, imports: [[CommonModule, SkyThemeModule]] });
857
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileContentModule, decorators: [{
858
+ type: NgModule,
859
+ args: [{
860
+ declarations: [SkyTileContentComponent, SkyTileContentSectionComponent],
861
+ imports: [CommonModule, SkyThemeModule],
862
+ exports: [SkyTileContentComponent, SkyTileContentSectionComponent],
863
+ }]
864
+ }] });
787
865
 
788
866
  /**
789
867
  * Specifies the type of message to send to the tile dashboard component.
@@ -814,24 +892,22 @@ class SkyTileDashboardColumnComponent {
814
892
  this.bagId = this.dashboardService.bagId;
815
893
  }
816
894
  }
817
- SkyTileDashboardColumnComponent.decorators = [
818
- { type: Component, args: [{
819
- selector: 'sky-tile-dashboard-column',
820
- template: "<div class=\"sky-tile-dashboard-column\" [dragula]=\"bagId\">\n <div #content></div>\n</div>\n",
821
- styles: [":host{display:flex;flex-grow:1;overflow:hidden}:host{padding:0}:host-context(.sky-responsive-container-xs),:host-context(.sky-responsive-container-sm),:host-context(.sky-responsive-container-md),:host-context(.sky-responsive-container-lg){padding:0}@media (min-width: 768px){:host{padding:0 10px}}:host-context(.sky-responsive-container-sm),:host-context(.sky-responsive-container-md),:host-context(.sky-responsive-container-lg){padding:0 10px}.sky-tile-dashboard-column{min-height:100px;width:100%}@media (min-width: 768px){.sky-theme-modern :host,:host-context(.sky-theme-modern) :host{padding:0 15px}}.sky-theme-modern :host-context(.sky-responsive-container-sm),.sky-theme-modern :host-context(.sky-responsive-container-md),.sky-theme-modern :host-context(.sky-responsive-container-lg),:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm),:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md),:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg){padding:0 15px}\n"]
822
- },] }
823
- ];
824
- SkyTileDashboardColumnComponent.ctorParameters = () => [
825
- { type: ComponentFactoryResolver },
826
- { type: Injector },
827
- { type: SkyTileDashboardService }
828
- ];
829
- SkyTileDashboardColumnComponent.propDecorators = {
830
- content: [{ type: ViewChild, args: ['content', {
831
- read: ViewContainerRef,
832
- static: false
833
- },] }]
834
- };
895
+ SkyTileDashboardColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileDashboardColumnComponent, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: SkyTileDashboardService }], target: i0.ɵɵFactoryTarget.Component });
896
+ SkyTileDashboardColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyTileDashboardColumnComponent, selector: "sky-tile-dashboard-column", viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: "<div class=\"sky-tile-dashboard-column\" [dragula]=\"bagId\">\n <div #content></div>\n</div>\n", styles: [":host{display:flex;flex-grow:1;overflow:hidden}:host{padding:0}:host-context(.sky-responsive-container-xs),:host-context(.sky-responsive-container-sm),:host-context(.sky-responsive-container-md),:host-context(.sky-responsive-container-lg){padding:0}@media (min-width: 768px){:host{padding:0 10px}}:host-context(.sky-responsive-container-sm),:host-context(.sky-responsive-container-md),:host-context(.sky-responsive-container-lg){padding:0 10px}.sky-tile-dashboard-column{min-height:100px;width:100%}@media (min-width: 768px){:host-context(.sky-theme-modern) :host{padding:0 15px}}:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm),:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md),:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg){padding:0 15px}@media (min-width: 768px){.sky-theme-modern :host{padding:0 15px}}.sky-theme-modern :host-context(.sky-responsive-container-sm),.sky-theme-modern :host-context(.sky-responsive-container-md),.sky-theme-modern :host-context(.sky-responsive-container-lg){padding:0 15px}\n"], directives: [{ type: i1.DragulaDirective, selector: "[dragula]", inputs: ["dragula", "dragulaModel", "dragulaOptions"] }] });
897
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileDashboardColumnComponent, decorators: [{
898
+ type: Component,
899
+ args: [{
900
+ selector: 'sky-tile-dashboard-column',
901
+ styleUrls: ['./tile-dashboard-column.component.scss'],
902
+ templateUrl: './tile-dashboard-column.component.html',
903
+ }]
904
+ }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: SkyTileDashboardService }]; }, propDecorators: { content: [{
905
+ type: ViewChild,
906
+ args: ['content', {
907
+ read: ViewContainerRef,
908
+ static: false,
909
+ }]
910
+ }] } });
835
911
 
836
912
  /**
837
913
  * Specifies a container to group multiple tiles.
@@ -852,6 +928,7 @@ class SkyTileDashboardComponent {
852
928
  * tiles to rearrange them.
853
929
  */
854
930
  this.configChange = new EventEmitter();
931
+ this.moveInstructionsId = this.dashboardService.bagId + '-move-instructions';
855
932
  this.configSet = false;
856
933
  this.ngUnsubscribe = new Subject();
857
934
  this.viewReady = false;
@@ -867,9 +944,7 @@ class SkyTileDashboardComponent {
867
944
  else {
868
945
  messageObservable = this.resourcesService.getString('skyux_tile_moved_assistive_text', config.movedTile.tileDescription, config.movedTile.column.toString(), config.layout.multiColumn.length.toString(), config.movedTile.position.toString(), config.layout.multiColumn[config.movedTile.column - 1].tiles.length.toString());
869
946
  }
870
- messageObservable
871
- .pipe(take(1))
872
- .subscribe((message) => {
947
+ messageObservable.pipe(take(1)).subscribe((message) => {
873
948
  this.tileMovedReport = message;
874
949
  });
875
950
  }
@@ -922,87 +997,103 @@ class SkyTileDashboardComponent {
922
997
  }
923
998
  }
924
999
  }
925
- SkyTileDashboardComponent.decorators = [
926
- { type: Component, args: [{
927
- selector: 'sky-tile-dashboard',
928
- template: "<span\n aria-live=\"assertive\"\n class=\"sky-assistive-text\"\n>\n {{ tileMovedReport }}\n</span>\n<sky-tile-dashboard-column\n *ngFor=\"let column of config?.layout?.multiColumn\"\n class=\"sky-tile-dashboard-layout-multi\"\n [ngStyle]=\"{\n 'flex-basis': (100 / config?.layout?.multiColumn.length) + '%'\n }\"\n>\n</sky-tile-dashboard-column>\n<sky-tile-dashboard-column class=\"sky-tile-dashboard-layout-single\" #singleColumn>\n</sky-tile-dashboard-column>\n<ng-content></ng-content>\n",
929
- providers: [SkyTileDashboardService],
930
- styles: [":host{display:block;padding:0}:host .sky-tile-dashboard-layout-multi{display:none}:host .sky-tile-dashboard-layout-single{display:block}:host .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile{margin-bottom:0}:host-context(.sky-responsive-container-xs),:host-context(.sky-responsive-container-sm),:host-context(.sky-responsive-container-md),:host-context(.sky-responsive-container-lg){display:block;padding:0}:host-context(.sky-responsive-container-xs) .sky-tile-dashboard-layout-multi,:host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-multi,:host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-multi,:host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-multi{display:none}:host-context(.sky-responsive-container-xs) .sky-tile-dashboard-layout-single,:host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-single,:host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-single,:host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-single{display:block}:host-context(.sky-responsive-container-xs) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-responsive-container-xs) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,:host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,:host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,:host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile{margin-bottom:0}@media (min-width: 768px){:host .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile{margin-bottom:20px}:host :host-context(.sky-theme-default){padding-top:20px}}:host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,:host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,:host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile{margin-bottom:20px}:host-context(.sky-responsive-container-sm) :host-context(.sky-theme-default),:host-context(.sky-responsive-container-md) :host-context(.sky-theme-default),:host-context(.sky-responsive-container-lg) :host-context(.sky-theme-default){padding-top:20px}@media (min-width: 992px){:host{display:flex;padding:0 10px}:host .sky-tile-dashboard-layout-multi{display:block}:host .sky-tile-dashboard-layout-single{display:none}}:host-context(.sky-responsive-container-md),:host-context(.sky-responsive-container-lg){display:flex;padding:0 10px}:host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-multi,:host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-multi{display:block}:host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-single,:host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-single{display:none}@media screen{.sky-assistive-text{width:0;height:0;padding:0;opacity:0;position:absolute;margin:-1px;border:0;overflow:hidden;clip:rect(0,0,0,0);outline:none;white-space:nowrap}}:host-context(.sky-theme-default){background-color:#eeeeef}@media (min-width: 768px){.sky-theme-modern :host .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,.sky-theme-modern :host .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,:host-context(.sky-theme-modern) :host .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-theme-modern) :host .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile{margin-bottom:30px}}.sky-theme-modern :host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile{margin-bottom:30px}\n"]
931
- },] }
932
- ];
933
- SkyTileDashboardComponent.ctorParameters = () => [
934
- { type: SkyTileDashboardService },
935
- { type: SkyMediaQueryService },
936
- { type: SkyLibResourcesService, decorators: [{ type: Optional }] }
937
- ];
938
- SkyTileDashboardComponent.propDecorators = {
939
- config: [{ type: Input }],
940
- messageStream: [{ type: Input }],
941
- settingsKey: [{ type: Input }],
942
- configChange: [{ type: Output }],
943
- columns: [{ type: ViewChildren, args: [SkyTileDashboardColumnComponent,] }],
944
- singleColumn: [{ type: ViewChild, args: ['singleColumn', {
945
- read: SkyTileDashboardColumnComponent,
946
- static: false
947
- },] }]
948
- };
1000
+ SkyTileDashboardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileDashboardComponent, deps: [{ token: SkyTileDashboardService }, { token: i2.SkyMediaQueryService }, { token: i3$1.SkyLibResourcesService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
1001
+ SkyTileDashboardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyTileDashboardComponent, selector: "sky-tile-dashboard", inputs: { config: "config", messageStream: "messageStream", settingsKey: "settingsKey" }, outputs: { configChange: "configChange" }, providers: [SkyTileDashboardService], viewQueries: [{ propertyName: "singleColumn", first: true, predicate: ["singleColumn"], descendants: true, read: SkyTileDashboardColumnComponent }, { propertyName: "columns", predicate: SkyTileDashboardColumnComponent, descendants: true }], ngImport: i0, template: "<span aria-live=\"assertive\" class=\"sky-assistive-text\">\n {{ tileMovedReport }}\n</span>\n<sky-tile-dashboard-column\n *ngFor=\"let column of config?.layout?.multiColumn\"\n class=\"sky-tile-dashboard-layout-multi\"\n [ngStyle]=\"{\n 'flex-basis': 100 / config?.layout?.multiColumn.length + '%'\n }\"\n>\n</sky-tile-dashboard-column>\n<sky-tile-dashboard-column\n class=\"sky-tile-dashboard-layout-single\"\n #singleColumn\n>\n</sky-tile-dashboard-column>\n<span class=\"sky-screen-reader-only\" [id]=\"moveInstructionsId\">{{\n 'skyux_tile_move_instructions' | skyLibResources\n}}</span>\n<ng-content></ng-content>\n", styles: [":host{display:block;padding:0}:host .sky-tile-dashboard-layout-multi{display:none}:host .sky-tile-dashboard-layout-single{display:block}:host .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile{margin-bottom:0}:host-context(.sky-responsive-container-xs),:host-context(.sky-responsive-container-sm),:host-context(.sky-responsive-container-md),:host-context(.sky-responsive-container-lg){display:block;padding:0}:host-context(.sky-responsive-container-xs) .sky-tile-dashboard-layout-multi,:host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-multi,:host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-multi,:host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-multi{display:none}:host-context(.sky-responsive-container-xs) .sky-tile-dashboard-layout-single,:host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-single,:host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-single,:host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-single{display:block}:host-context(.sky-responsive-container-xs) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-responsive-container-xs) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,:host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,:host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,:host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile{margin-bottom:0}@media (min-width: 768px){:host .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile{margin-bottom:20px}:host :host-context(.sky-theme-default){padding-top:20px}}:host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,:host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,:host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile{margin-bottom:20px}:host-context(.sky-responsive-container-sm) :host-context(.sky-theme-default),:host-context(.sky-responsive-container-md) :host-context(.sky-theme-default),:host-context(.sky-responsive-container-lg) :host-context(.sky-theme-default){padding-top:20px}@media (min-width: 992px){:host{display:flex;padding:0 10px}:host .sky-tile-dashboard-layout-multi{display:block}:host .sky-tile-dashboard-layout-single{display:none}}:host-context(.sky-responsive-container-md),:host-context(.sky-responsive-container-lg){display:flex;padding:0 10px}:host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-multi,:host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-multi{display:block}:host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-single,:host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-single{display:none}@media screen{.sky-assistive-text{width:0;height:0;padding:0;opacity:0;position:absolute;margin:-1px;border:0;overflow:hidden;clip:rect(0,0,0,0);outline:none;white-space:nowrap}}:host-context(.sky-theme-default){background-color:#eeeeef}@media (min-width: 768px){:host-context(.sky-theme-modern) :host .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-theme-modern) :host .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile{margin-bottom:30px}}:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile{margin-bottom:30px}@media (min-width: 768px){.sky-theme-modern :host .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,.sky-theme-modern :host .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile{margin-bottom:30px}}.sky-theme-modern :host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-sm) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-md) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-single ::ng-deep .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-lg) .sky-tile-dashboard-layout-multi ::ng-deep .sky-tile{margin-bottom:30px}\n"], components: [{ type: SkyTileDashboardColumnComponent, selector: "sky-tile-dashboard-column" }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], pipes: { "skyLibResources": i3$1.SkyLibResourcesPipe } });
1002
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileDashboardComponent, decorators: [{
1003
+ type: Component,
1004
+ args: [{
1005
+ selector: 'sky-tile-dashboard',
1006
+ styleUrls: ['./tile-dashboard.component.scss'],
1007
+ templateUrl: './tile-dashboard.component.html',
1008
+ providers: [SkyTileDashboardService],
1009
+ }]
1010
+ }], ctorParameters: function () { return [{ type: SkyTileDashboardService }, { type: i2.SkyMediaQueryService }, { type: i3$1.SkyLibResourcesService, decorators: [{
1011
+ type: Optional
1012
+ }] }]; }, propDecorators: { config: [{
1013
+ type: Input
1014
+ }], messageStream: [{
1015
+ type: Input
1016
+ }], settingsKey: [{
1017
+ type: Input
1018
+ }], configChange: [{
1019
+ type: Output
1020
+ }], columns: [{
1021
+ type: ViewChildren,
1022
+ args: [SkyTileDashboardColumnComponent]
1023
+ }], singleColumn: [{
1024
+ type: ViewChild,
1025
+ args: ['singleColumn', {
1026
+ read: SkyTileDashboardColumnComponent,
1027
+ static: false,
1028
+ }]
1029
+ }] } });
949
1030
 
950
1031
  class SkyTileDashboardColumnModule {
951
1032
  }
952
- SkyTileDashboardColumnModule.decorators = [
953
- { type: NgModule, args: [{
954
- declarations: [
955
- SkyTileDashboardColumnComponent
956
- ],
957
- imports: [
958
- CommonModule,
959
- DragulaModule
960
- ],
961
- exports: [
962
- SkyTileDashboardColumnComponent
963
- ]
964
- },] }
965
- ];
1033
+ SkyTileDashboardColumnModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileDashboardColumnModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1034
+ SkyTileDashboardColumnModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileDashboardColumnModule, declarations: [SkyTileDashboardColumnComponent], imports: [CommonModule, DragulaModule], exports: [SkyTileDashboardColumnComponent] });
1035
+ SkyTileDashboardColumnModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileDashboardColumnModule, imports: [[CommonModule, DragulaModule]] });
1036
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileDashboardColumnModule, decorators: [{
1037
+ type: NgModule,
1038
+ args: [{
1039
+ declarations: [SkyTileDashboardColumnComponent],
1040
+ imports: [CommonModule, DragulaModule],
1041
+ exports: [SkyTileDashboardColumnComponent],
1042
+ }]
1043
+ }] });
966
1044
 
967
1045
  class SkyTileDashboardModule {
968
1046
  }
969
- SkyTileDashboardModule.decorators = [
970
- { type: NgModule, args: [{
971
- declarations: [
972
- SkyTileDashboardComponent
973
- ],
974
- providers: [
975
- DragulaService
976
- ],
977
- imports: [
978
- CommonModule,
979
- SkyTileDashboardColumnModule
980
- ],
981
- exports: [
982
- SkyTileDashboardComponent
983
- ]
984
- },] }
985
- ];
1047
+ SkyTileDashboardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileDashboardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1048
+ SkyTileDashboardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileDashboardModule, declarations: [SkyTileDashboardComponent], imports: [CommonModule,
1049
+ SkyTileDashboardColumnModule,
1050
+ SkyTilesResourcesModule], exports: [SkyTileDashboardComponent] });
1051
+ SkyTileDashboardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileDashboardModule, providers: [DragulaService], imports: [[
1052
+ CommonModule,
1053
+ SkyTileDashboardColumnModule,
1054
+ SkyTilesResourcesModule,
1055
+ ]] });
1056
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTileDashboardModule, decorators: [{
1057
+ type: NgModule,
1058
+ args: [{
1059
+ declarations: [SkyTileDashboardComponent],
1060
+ providers: [DragulaService],
1061
+ imports: [
1062
+ CommonModule,
1063
+ SkyTileDashboardColumnModule,
1064
+ SkyTilesResourcesModule,
1065
+ ],
1066
+ exports: [SkyTileDashboardComponent],
1067
+ }]
1068
+ }] });
986
1069
 
987
1070
  class SkyTilesModule {
988
1071
  }
989
- SkyTilesModule.decorators = [
990
- { type: NgModule, args: [{
991
- imports: [
992
- CommonModule
993
- ],
994
- exports: [
995
- SkyTileContentModule,
996
- SkyTileModule,
997
- SkyTileDashboardColumnModule,
998
- SkyTileDashboardModule
999
- ]
1000
- },] }
1001
- ];
1072
+ SkyTilesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTilesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1073
+ SkyTilesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTilesModule, imports: [CommonModule], exports: [SkyTileContentModule,
1074
+ SkyTileModule,
1075
+ SkyTileDashboardColumnModule,
1076
+ SkyTileDashboardModule] });
1077
+ SkyTilesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTilesModule, imports: [[CommonModule], SkyTileContentModule,
1078
+ SkyTileModule,
1079
+ SkyTileDashboardColumnModule,
1080
+ SkyTileDashboardModule] });
1081
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTilesModule, decorators: [{
1082
+ type: NgModule,
1083
+ args: [{
1084
+ imports: [CommonModule],
1085
+ exports: [
1086
+ SkyTileContentModule,
1087
+ SkyTileModule,
1088
+ SkyTileDashboardColumnModule,
1089
+ SkyTileDashboardModule,
1090
+ ],
1091
+ }]
1092
+ }] });
1002
1093
 
1003
1094
  /**
1004
1095
  * Generated bundle index. Do not edit.
1005
1096
  */
1006
1097
 
1007
- export { SkyTileContentModule, SkyTileDashboardColumnModule, SkyTileDashboardMessageType, SkyTileDashboardModule, SkyTileDashboardService, SkyTileModule, SkyTilesModule, SkyTileComponent as ɵa, SkyTileSummaryComponent as ɵb, SkyTileTitleComponent as ɵc, SkyTilesResourcesProvider as ɵd, SkyTilesResourcesModule as ɵe, SkyTileContentComponent as ɵf, SkyTileContentSectionComponent as ɵg, SkyTileDashboardComponent as ɵh, SkyTileDashboardColumnComponent as ɵi };
1098
+ export { SkyTileContentModule, SkyTileDashboardColumnModule, SkyTileDashboardMessageType, SkyTileDashboardModule, SkyTileDashboardService, SkyTileModule, SkyTilesModule, SkyTileComponent as λ1, SkyTileSummaryComponent as λ2, SkyTileTitleComponent as λ3, SkyTileContentSectionComponent as λ4, SkyTileContentComponent as λ5, SkyTileDashboardColumnComponent as λ6, SkyTileDashboardComponent as λ7 };
1008
1099
  //# sourceMappingURL=skyux-tiles.js.map