@skyux/layout 5.5.0 → 5.6.0

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 (68) hide show
  1. package/bundles/skyux-layout.umd.js +335 -335
  2. package/documentation.json +130 -130
  3. package/esm2015/lib/modules/action-button/action-button-container.component.js +1 -1
  4. package/esm2015/lib/modules/action-button/action-button-container.component.js.map +1 -1
  5. package/esm2015/lib/modules/action-button/action-button-icon.component.js.map +1 -1
  6. package/esm2015/lib/modules/action-button/action-button.module.js.map +1 -1
  7. package/esm2015/lib/modules/back-to-top/back-to-top-adapter.service.js +1 -1
  8. package/esm2015/lib/modules/back-to-top/back-to-top-adapter.service.js.map +1 -1
  9. package/esm2015/lib/modules/back-to-top/back-to-top.directive.js.map +1 -1
  10. package/esm2015/lib/modules/back-to-top/back-top-top.module.js +3 -3
  11. package/esm2015/lib/modules/back-to-top/back-top-top.module.js.map +1 -1
  12. package/esm2015/lib/modules/box/box.module.js.map +1 -1
  13. package/esm2015/lib/modules/card/card.component.js +2 -2
  14. package/esm2015/lib/modules/card/card.component.js.map +1 -1
  15. package/esm2015/lib/modules/card/card.module.js.map +1 -1
  16. package/esm2015/lib/modules/definition-list/definition-list.module.js +2 -2
  17. package/esm2015/lib/modules/definition-list/definition-list.module.js.map +1 -1
  18. package/esm2015/lib/modules/description-list/description-list-content.component.js +1 -1
  19. package/esm2015/lib/modules/description-list/description-list-content.component.js.map +1 -1
  20. package/esm2015/lib/modules/description-list/description-list-description.component.js +1 -1
  21. package/esm2015/lib/modules/description-list/description-list-description.component.js.map +1 -1
  22. package/esm2015/lib/modules/description-list/description-list.component.js +1 -1
  23. package/esm2015/lib/modules/description-list/description-list.component.js.map +1 -1
  24. package/esm2015/lib/modules/description-list/description-list.module.js +2 -2
  25. package/esm2015/lib/modules/description-list/description-list.module.js.map +1 -1
  26. package/esm2015/lib/modules/fluid-grid/column.component.js +1 -1
  27. package/esm2015/lib/modules/fluid-grid/column.component.js.map +1 -1
  28. package/esm2015/lib/modules/fluid-grid/fluid-grid.component.js.map +1 -1
  29. package/esm2015/lib/modules/fluid-grid/fluid-grid.module.js +2 -2
  30. package/esm2015/lib/modules/fluid-grid/fluid-grid.module.js.map +1 -1
  31. package/esm2015/lib/modules/fluid-grid/row.component.js.map +1 -1
  32. package/esm2015/lib/modules/format/format.module.js +1 -1
  33. package/esm2015/lib/modules/format/format.module.js.map +1 -1
  34. package/esm2015/lib/modules/inline-delete/inline-delete-adapter.service.js.map +1 -1
  35. package/esm2015/lib/modules/inline-delete/inline-delete.component.js.map +1 -1
  36. package/esm2015/lib/modules/inline-delete/inline-delete.module.js +1 -1
  37. package/esm2015/lib/modules/inline-delete/inline-delete.module.js.map +1 -1
  38. package/esm2015/lib/modules/page-summary/page-summary-adapter.service.js +2 -2
  39. package/esm2015/lib/modules/page-summary/page-summary-adapter.service.js.map +1 -1
  40. package/esm2015/lib/modules/page-summary/page-summary.component.js.map +1 -1
  41. package/esm2015/lib/modules/page-summary/page-summary.module.js.map +1 -1
  42. package/esm2015/lib/modules/shared/sky-layout-resources.module.js +1 -1
  43. package/esm2015/lib/modules/shared/sky-layout-resources.module.js.map +1 -1
  44. package/esm2015/lib/modules/text-expand/text-expand-modal.component.js.map +1 -1
  45. package/esm2015/lib/modules/text-expand/text-expand.component.js +7 -7
  46. package/esm2015/lib/modules/text-expand/text-expand.component.js.map +1 -1
  47. package/esm2015/lib/modules/text-expand/text-expand.module.js +2 -2
  48. package/esm2015/lib/modules/text-expand/text-expand.module.js.map +1 -1
  49. package/esm2015/lib/modules/text-expand-repeater/text-expand-repeater.component.js +6 -6
  50. package/esm2015/lib/modules/text-expand-repeater/text-expand-repeater.component.js.map +1 -1
  51. package/esm2015/lib/modules/text-expand-repeater/text-expand-repeater.module.js +1 -1
  52. package/esm2015/lib/modules/text-expand-repeater/text-expand-repeater.module.js.map +1 -1
  53. package/esm2015/lib/modules/toolbar/toolbar.component.js.map +1 -1
  54. package/esm2015/lib/modules/toolbar/toolbar.module.js +2 -2
  55. package/esm2015/lib/modules/toolbar/toolbar.module.js.map +1 -1
  56. package/esm2015/testing/action-button-fixture.js.map +1 -1
  57. package/esm2015/testing/card-fixture.js.map +1 -1
  58. package/esm2015/testing/page-summary-fixture.js.map +1 -1
  59. package/fesm2015/skyux-layout-testing.js.map +1 -1
  60. package/fesm2015/skyux-layout.js +315 -315
  61. package/fesm2015/skyux-layout.js.map +1 -1
  62. package/lib/modules/action-button/action-button-container.component.d.ts +1 -1
  63. package/lib/modules/card/card.component.d.ts +1 -1
  64. package/lib/modules/description-list/description-list-content.component.d.ts +1 -1
  65. package/lib/modules/description-list/description-list.component.d.ts +1 -1
  66. package/lib/modules/fluid-grid/column.component.d.ts +1 -1
  67. package/lib/modules/text-expand-repeater/text-expand-repeater.component.d.ts +1 -1
  68. package/package.json +8 -8
@@ -12,8 +12,8 @@ import * as i3$1 from '@skyux/theme';
12
12
  import { SkyThemeModule } from '@skyux/theme';
13
13
  import * as i1 from '@skyux/core';
14
14
  import { SkyMediaBreakpoints, SkyDockModule, SkyCoreAdapterService } from '@skyux/core';
15
- import { takeUntil, map, take } from 'rxjs/operators';
16
15
  import { Subject, fromEvent, BehaviorSubject, forkJoin } from 'rxjs';
16
+ import { takeUntil, map, take } from 'rxjs/operators';
17
17
  import * as i1$1 from '@skyux/i18n';
18
18
  import { getLibStringForLocale, SkyI18nModule, SKY_LIB_RESOURCES_PROVIDERS } from '@skyux/i18n';
19
19
  import * as i3$2 from '@angular/forms';
@@ -351,6 +351,90 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
351
351
  }]
352
352
  }] });
353
353
 
354
+ /**
355
+ * NOTICE: DO NOT MODIFY THIS FILE!
356
+ * The contents of this file were automatically generated by
357
+ * the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-layout' schematic.
358
+ * To update this file, simply rerun the command.
359
+ */
360
+ const RESOURCES = {
361
+ 'EN-US': {
362
+ skyux_back_to_top: { message: 'Back to top' },
363
+ skyux_card_checkbox_label: { message: 'Select card' },
364
+ skyux_definition_list_none_found: { message: 'None found.' },
365
+ skyux_description_list_none_found: { message: 'None found.' },
366
+ skyux_inline_delete_assistive_text: {
367
+ message: 'Are you sure you want to delete this item?',
368
+ },
369
+ skyux_inline_delete_cancel: { message: 'Cancel' },
370
+ skyux_inline_delete_confirm_deletion: { message: 'Confirm deletion' },
371
+ skyux_inline_delete_delete: { message: 'Delete' },
372
+ skyux_text_expand_close_text: { message: 'Close' },
373
+ skyux_text_expand_modal_title: { message: 'Expanded view' },
374
+ skyux_text_expand_see_less: { message: 'See less' },
375
+ skyux_text_expand_see_more: { message: 'See more' },
376
+ },
377
+ };
378
+ class SkyLayoutResourcesProvider {
379
+ getString(localeInfo, name) {
380
+ return getLibStringForLocale(RESOURCES, localeInfo.locale, name);
381
+ }
382
+ }
383
+ /**
384
+ * Import into any component library module that needs to use resource strings.
385
+ */
386
+ class SkyLayoutResourcesModule {
387
+ }
388
+ SkyLayoutResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyLayoutResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
389
+ SkyLayoutResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyLayoutResourcesModule, exports: [SkyI18nModule] });
390
+ SkyLayoutResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyLayoutResourcesModule, providers: [
391
+ {
392
+ provide: SKY_LIB_RESOURCES_PROVIDERS,
393
+ useClass: SkyLayoutResourcesProvider,
394
+ multi: true,
395
+ },
396
+ ], imports: [SkyI18nModule] });
397
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyLayoutResourcesModule, decorators: [{
398
+ type: NgModule,
399
+ args: [{
400
+ exports: [SkyI18nModule],
401
+ providers: [
402
+ {
403
+ provide: SKY_LIB_RESOURCES_PROVIDERS,
404
+ useClass: SkyLayoutResourcesProvider,
405
+ multi: true,
406
+ },
407
+ ],
408
+ }]
409
+ }] });
410
+
411
+ /**
412
+ * @internal
413
+ */
414
+ class SkyBackToTopComponent {
415
+ constructor() {
416
+ this._scrollToTopClick = new Subject();
417
+ }
418
+ get scrollToTopClick() {
419
+ return this._scrollToTopClick.asObservable();
420
+ }
421
+ onScrollToTopClick() {
422
+ this._scrollToTopClick.next();
423
+ this._scrollToTopClick.complete();
424
+ }
425
+ }
426
+ SkyBackToTopComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyBackToTopComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
427
+ SkyBackToTopComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyBackToTopComponent, selector: "sky-back-to-top", ngImport: i0, template: "<div class=\"sky-back-to-top sky-padding-squish-large\">\n <button\n class=\"sky-btn sky-btn-link-inline\"\n type=\"button\"\n (click)=\"onScrollToTopClick()\"\n >\n {{ 'skyux_back_to_top' | skyLibResources }}\n </button>\n</div>\n", styles: [".sky-back-to-top{display:flex;align-items:center;width:100%;background-color:#fff;box-shadow:0 -3px 3px #cdcfd2}\n"], pipes: { "skyLibResources": i1$1.SkyLibResourcesPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
428
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyBackToTopComponent, decorators: [{
429
+ type: Component,
430
+ args: [{
431
+ selector: 'sky-back-to-top',
432
+ templateUrl: './back-to-top.component.html',
433
+ styleUrls: ['./back-to-top.component.scss'],
434
+ changeDetection: ChangeDetectionStrategy.OnPush,
435
+ }]
436
+ }] });
437
+
354
438
  /**
355
439
  * @internal
356
440
  */
@@ -434,33 +518,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
434
518
  type: Injectable
435
519
  }], ctorParameters: function () { return [{ type: i1.SkyAppWindowRef }]; } });
436
520
 
437
- /**
438
- * @internal
439
- */
440
- class SkyBackToTopComponent {
441
- constructor() {
442
- this._scrollToTopClick = new Subject();
443
- }
444
- get scrollToTopClick() {
445
- return this._scrollToTopClick.asObservable();
446
- }
447
- onScrollToTopClick() {
448
- this._scrollToTopClick.next();
449
- this._scrollToTopClick.complete();
450
- }
451
- }
452
- SkyBackToTopComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyBackToTopComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
453
- SkyBackToTopComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyBackToTopComponent, selector: "sky-back-to-top", ngImport: i0, template: "<div class=\"sky-back-to-top sky-padding-squish-large\">\n <button\n class=\"sky-btn sky-btn-link-inline\"\n type=\"button\"\n (click)=\"onScrollToTopClick()\"\n >\n {{ 'skyux_back_to_top' | skyLibResources }}\n </button>\n</div>\n", styles: [".sky-back-to-top{display:flex;align-items:center;width:100%;background-color:#fff;box-shadow:0 -3px 3px #cdcfd2}\n"], pipes: { "skyLibResources": i1$1.SkyLibResourcesPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
454
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyBackToTopComponent, decorators: [{
455
- type: Component,
456
- args: [{
457
- selector: 'sky-back-to-top',
458
- templateUrl: './back-to-top.component.html',
459
- styleUrls: ['./back-to-top.component.scss'],
460
- changeDetection: ChangeDetectionStrategy.OnPush,
461
- }]
462
- }] });
463
-
464
521
  /**
465
522
  * Specifies the type of message to send to the back to top component.
466
523
  */
@@ -577,63 +634,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
577
634
  type: Input
578
635
  }] } });
579
636
 
580
- /**
581
- * NOTICE: DO NOT MODIFY THIS FILE!
582
- * The contents of this file were automatically generated by
583
- * the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-layout' schematic.
584
- * To update this file, simply rerun the command.
585
- */
586
- const RESOURCES = {
587
- 'EN-US': {
588
- skyux_back_to_top: { message: 'Back to top' },
589
- skyux_card_checkbox_label: { message: 'Select card' },
590
- skyux_definition_list_none_found: { message: 'None found.' },
591
- skyux_description_list_none_found: { message: 'None found.' },
592
- skyux_inline_delete_assistive_text: {
593
- message: 'Are you sure you want to delete this item?',
594
- },
595
- skyux_inline_delete_cancel: { message: 'Cancel' },
596
- skyux_inline_delete_confirm_deletion: { message: 'Confirm deletion' },
597
- skyux_inline_delete_delete: { message: 'Delete' },
598
- skyux_text_expand_close_text: { message: 'Close' },
599
- skyux_text_expand_modal_title: { message: 'Expanded view' },
600
- skyux_text_expand_see_less: { message: 'See less' },
601
- skyux_text_expand_see_more: { message: 'See more' },
602
- },
603
- };
604
- class SkyLayoutResourcesProvider {
605
- getString(localeInfo, name) {
606
- return getLibStringForLocale(RESOURCES, localeInfo.locale, name);
607
- }
608
- }
609
- /**
610
- * Import into any component library module that needs to use resource strings.
611
- */
612
- class SkyLayoutResourcesModule {
613
- }
614
- SkyLayoutResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyLayoutResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
615
- SkyLayoutResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyLayoutResourcesModule, exports: [SkyI18nModule] });
616
- SkyLayoutResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyLayoutResourcesModule, providers: [
617
- {
618
- provide: SKY_LIB_RESOURCES_PROVIDERS,
619
- useClass: SkyLayoutResourcesProvider,
620
- multi: true,
621
- },
622
- ], imports: [SkyI18nModule] });
623
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyLayoutResourcesModule, decorators: [{
624
- type: NgModule,
625
- args: [{
626
- exports: [SkyI18nModule],
627
- providers: [
628
- {
629
- provide: SKY_LIB_RESOURCES_PROVIDERS,
630
- useClass: SkyLayoutResourcesProvider,
631
- multi: true,
632
- },
633
- ],
634
- }]
635
- }] });
636
-
637
637
  class SkyBackToTopModule {
638
638
  }
639
639
  SkyBackToTopModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyBackToTopModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -1237,61 +1237,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1237
1237
  }]
1238
1238
  }] });
1239
1239
 
1240
- /**
1241
- * @internal
1242
- */
1243
- class SkyDefinitionListService {
1244
- constructor() {
1245
- this.labelWidth = new BehaviorSubject('');
1246
- this.defaultValue = new BehaviorSubject('');
1247
- }
1248
- }
1249
- SkyDefinitionListService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDefinitionListService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1250
- SkyDefinitionListService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDefinitionListService });
1251
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDefinitionListService, decorators: [{
1252
- type: Injectable
1253
- }] });
1254
-
1255
- /**
1256
- * Creates a definition list to display label-value pairs.
1257
- */
1258
- class SkyDefinitionListComponent {
1259
- constructor(service) {
1260
- this.service = service;
1261
- }
1262
- /**
1263
- * Specifies the width of the label portion of the definition list.
1264
- * @default "90px"
1265
- */
1266
- set labelWidth(value) {
1267
- this.service.labelWidth.next(value);
1268
- }
1269
- /**
1270
- * Specifies a default value to display when no value is provided
1271
- * for a label-value pair.
1272
- * @default "None found"
1273
- */
1274
- set defaultValue(value) {
1275
- this.service.defaultValue.next(value);
1276
- }
1277
- }
1278
- SkyDefinitionListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDefinitionListComponent, deps: [{ token: SkyDefinitionListService }], target: i0.ɵɵFactoryTarget.Component });
1279
- SkyDefinitionListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyDefinitionListComponent, selector: "sky-definition-list", inputs: { labelWidth: "labelWidth", defaultValue: "defaultValue" }, providers: [SkyDefinitionListService], ngImport: i0, template: "<div class=\"sky-definition-list\">\n <ng-content select=\"sky-definition-list-heading\"></ng-content>\n <ng-content select=\"sky-definition-list-content\"></ng-content>\n</div>\n", styles: [".sky-definition-list{margin-right:50px;margin-bottom:20px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1280
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDefinitionListComponent, decorators: [{
1281
- type: Component,
1282
- args: [{
1283
- selector: 'sky-definition-list',
1284
- templateUrl: './definition-list.component.html',
1285
- styleUrls: ['./definition-list.component.scss'],
1286
- providers: [SkyDefinitionListService],
1287
- changeDetection: ChangeDetectionStrategy.OnPush,
1288
- }]
1289
- }], ctorParameters: function () { return [{ type: SkyDefinitionListService }]; }, propDecorators: { labelWidth: [{
1290
- type: Input
1291
- }], defaultValue: [{
1292
- type: Input
1293
- }] } });
1294
-
1295
1240
  /**
1296
1241
  * Wraps the label-value pairs in the definition list.
1297
1242
  */
@@ -1326,6 +1271,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1326
1271
  }]
1327
1272
  }] });
1328
1273
 
1274
+ /**
1275
+ * @internal
1276
+ */
1277
+ class SkyDefinitionListService {
1278
+ constructor() {
1279
+ this.labelWidth = new BehaviorSubject('');
1280
+ this.defaultValue = new BehaviorSubject('');
1281
+ }
1282
+ }
1283
+ SkyDefinitionListService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDefinitionListService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1284
+ SkyDefinitionListService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDefinitionListService });
1285
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDefinitionListService, decorators: [{
1286
+ type: Injectable
1287
+ }] });
1288
+
1329
1289
  /**
1330
1290
  * Specifies the label in a label-value pair.
1331
1291
  */
@@ -1365,6 +1325,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1365
1325
  }]
1366
1326
  }], ctorParameters: function () { return [{ type: SkyDefinitionListService }]; } });
1367
1327
 
1328
+ /**
1329
+ * Creates a definition list to display label-value pairs.
1330
+ */
1331
+ class SkyDefinitionListComponent {
1332
+ constructor(service) {
1333
+ this.service = service;
1334
+ }
1335
+ /**
1336
+ * Specifies the width of the label portion of the definition list.
1337
+ * @default "90px"
1338
+ */
1339
+ set labelWidth(value) {
1340
+ this.service.labelWidth.next(value);
1341
+ }
1342
+ /**
1343
+ * Specifies a default value to display when no value is provided
1344
+ * for a label-value pair.
1345
+ * @default "None found"
1346
+ */
1347
+ set defaultValue(value) {
1348
+ this.service.defaultValue.next(value);
1349
+ }
1350
+ }
1351
+ SkyDefinitionListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDefinitionListComponent, deps: [{ token: SkyDefinitionListService }], target: i0.ɵɵFactoryTarget.Component });
1352
+ SkyDefinitionListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyDefinitionListComponent, selector: "sky-definition-list", inputs: { labelWidth: "labelWidth", defaultValue: "defaultValue" }, providers: [SkyDefinitionListService], ngImport: i0, template: "<div class=\"sky-definition-list\">\n <ng-content select=\"sky-definition-list-heading\"></ng-content>\n <ng-content select=\"sky-definition-list-content\"></ng-content>\n</div>\n", styles: [".sky-definition-list{margin-right:50px;margin-bottom:20px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1353
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDefinitionListComponent, decorators: [{
1354
+ type: Component,
1355
+ args: [{
1356
+ selector: 'sky-definition-list',
1357
+ templateUrl: './definition-list.component.html',
1358
+ styleUrls: ['./definition-list.component.scss'],
1359
+ providers: [SkyDefinitionListService],
1360
+ changeDetection: ChangeDetectionStrategy.OnPush,
1361
+ }]
1362
+ }], ctorParameters: function () { return [{ type: SkyDefinitionListService }]; }, propDecorators: { labelWidth: [{
1363
+ type: Input
1364
+ }], defaultValue: [{
1365
+ type: Input
1366
+ }] } });
1367
+
1368
1368
  class SkyDefinitionListModule {
1369
1369
  }
1370
1370
  SkyDefinitionListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDefinitionListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -1389,78 +1389,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1389
1389
  SkyDefinitionListValueComponent,
1390
1390
  ],
1391
1391
  imports: [CommonModule, SkyI18nModule, SkyLayoutResourcesModule],
1392
- exports: [
1393
- SkyDefinitionListComponent,
1394
- SkyDefinitionListContentComponent,
1395
- SkyDefinitionListHeadingComponent,
1396
- SkyDefinitionListLabelComponent,
1397
- SkyDefinitionListValueComponent,
1398
- ],
1399
- }]
1400
- }] });
1401
-
1402
- /**
1403
- * @internal
1404
- */
1405
- class SkyDescriptionListAdapterService {
1406
- constructor(rendererFactory) {
1407
- this.renderer = rendererFactory.createRenderer(undefined, undefined);
1408
- }
1409
- getWidth(elementRef) {
1410
- return elementRef.nativeElement.clientWidth;
1411
- }
1412
- setResponsiveClass(element) {
1413
- const nativeEl = element.nativeElement;
1414
- const width = this.getWidth(element);
1415
- const className = this.getResponsiveClassName(width);
1416
- this.renderer.removeClass(nativeEl, 'sky-responsive-container-xs');
1417
- this.renderer.removeClass(nativeEl, 'sky-responsive-container-sm');
1418
- this.renderer.removeClass(nativeEl, 'sky-responsive-container-md');
1419
- this.renderer.addClass(nativeEl, className);
1420
- }
1421
- getResponsiveClassName(width) {
1422
- const xsBreakpointMaxPixels = 479;
1423
- const smBreakpointMinPixels = 480;
1424
- const smBreakpointMaxPixels = 767;
1425
- if (width <= xsBreakpointMaxPixels) {
1426
- return 'sky-responsive-container-xs';
1427
- }
1428
- else if (width >= smBreakpointMinPixels &&
1429
- width <= smBreakpointMaxPixels) {
1430
- return 'sky-responsive-container-sm';
1431
- }
1432
- else {
1433
- return 'sky-responsive-container-md';
1434
- }
1435
- }
1436
- }
1437
- SkyDescriptionListAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDescriptionListAdapterService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
1438
- SkyDescriptionListAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDescriptionListAdapterService });
1439
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDescriptionListAdapterService, decorators: [{
1440
- type: Injectable
1441
- }], ctorParameters: function () { return [{ type: i0.RendererFactory2 }]; } });
1442
-
1443
- /**
1444
- * Specifies the term in a term-description pair.
1445
- */
1446
- class SkyDescriptionListTermComponent {
1447
- }
1448
- SkyDescriptionListTermComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDescriptionListTermComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1449
- SkyDescriptionListTermComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyDescriptionListTermComponent, selector: "sky-description-list-term", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["termTemplateRef"], descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: "<ng-template #termTemplateRef>\n <ng-content></ng-content>\n</ng-template>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
1450
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDescriptionListTermComponent, decorators: [{
1451
- type: Component,
1452
- args: [{
1453
- selector: 'sky-description-list-term',
1454
- templateUrl: './description-list-term.component.html',
1455
- changeDetection: ChangeDetectionStrategy.OnPush,
1392
+ exports: [
1393
+ SkyDefinitionListComponent,
1394
+ SkyDefinitionListContentComponent,
1395
+ SkyDefinitionListHeadingComponent,
1396
+ SkyDefinitionListLabelComponent,
1397
+ SkyDefinitionListValueComponent,
1398
+ ],
1456
1399
  }]
1457
- }], propDecorators: { templateRef: [{
1458
- type: ViewChild,
1459
- args: ['termTemplateRef', {
1460
- read: TemplateRef,
1461
- static: true,
1462
- }]
1463
- }] } });
1400
+ }] });
1464
1401
 
1465
1402
  /**
1466
1403
  * @internal
@@ -1528,6 +1465,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1528
1465
  }]
1529
1466
  }] } });
1530
1467
 
1468
+ /**
1469
+ * Specifies the term in a term-description pair.
1470
+ */
1471
+ class SkyDescriptionListTermComponent {
1472
+ }
1473
+ SkyDescriptionListTermComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDescriptionListTermComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1474
+ SkyDescriptionListTermComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyDescriptionListTermComponent, selector: "sky-description-list-term", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["termTemplateRef"], descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: "<ng-template #termTemplateRef>\n <ng-content></ng-content>\n</ng-template>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
1475
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDescriptionListTermComponent, decorators: [{
1476
+ type: Component,
1477
+ args: [{
1478
+ selector: 'sky-description-list-term',
1479
+ templateUrl: './description-list-term.component.html',
1480
+ changeDetection: ChangeDetectionStrategy.OnPush,
1481
+ }]
1482
+ }], propDecorators: { templateRef: [{
1483
+ type: ViewChild,
1484
+ args: ['termTemplateRef', {
1485
+ read: TemplateRef,
1486
+ static: true,
1487
+ }]
1488
+ }] } });
1489
+
1531
1490
  /**
1532
1491
  * Wraps the term-description pairs in the description list.
1533
1492
  */
@@ -1549,6 +1508,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1549
1508
  args: [SkyDescriptionListDescriptionComponent]
1550
1509
  }] } });
1551
1510
 
1511
+ /**
1512
+ * @internal
1513
+ */
1514
+ class SkyDescriptionListAdapterService {
1515
+ constructor(rendererFactory) {
1516
+ this.renderer = rendererFactory.createRenderer(undefined, undefined);
1517
+ }
1518
+ getWidth(elementRef) {
1519
+ return elementRef.nativeElement.clientWidth;
1520
+ }
1521
+ setResponsiveClass(element) {
1522
+ const nativeEl = element.nativeElement;
1523
+ const width = this.getWidth(element);
1524
+ const className = this.getResponsiveClassName(width);
1525
+ this.renderer.removeClass(nativeEl, 'sky-responsive-container-xs');
1526
+ this.renderer.removeClass(nativeEl, 'sky-responsive-container-sm');
1527
+ this.renderer.removeClass(nativeEl, 'sky-responsive-container-md');
1528
+ this.renderer.addClass(nativeEl, className);
1529
+ }
1530
+ getResponsiveClassName(width) {
1531
+ const xsBreakpointMaxPixels = 479;
1532
+ const smBreakpointMinPixels = 480;
1533
+ const smBreakpointMaxPixels = 767;
1534
+ if (width <= xsBreakpointMaxPixels) {
1535
+ return 'sky-responsive-container-xs';
1536
+ }
1537
+ else if (width >= smBreakpointMinPixels &&
1538
+ width <= smBreakpointMaxPixels) {
1539
+ return 'sky-responsive-container-sm';
1540
+ }
1541
+ else {
1542
+ return 'sky-responsive-container-md';
1543
+ }
1544
+ }
1545
+ }
1546
+ SkyDescriptionListAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDescriptionListAdapterService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
1547
+ SkyDescriptionListAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDescriptionListAdapterService });
1548
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyDescriptionListAdapterService, decorators: [{
1549
+ type: Injectable
1550
+ }], ctorParameters: function () { return [{ type: i0.RendererFactory2 }]; } });
1551
+
1552
1552
  /**
1553
1553
  * Creates a description list to display term-description pairs.
1554
1554
  */
@@ -1731,32 +1731,6 @@ var SkyFluidGridGutterSize;
1731
1731
  SkyFluidGridGutterSize[SkyFluidGridGutterSize["Large"] = 2] = "Large";
1732
1732
  })(SkyFluidGridGutterSize || (SkyFluidGridGutterSize = {}));
1733
1733
 
1734
- /**
1735
- * Displays a row within the `sky-fluid-grid` wrapper. Previously, you could display a row
1736
- * without a wrapper, but we no longer officially support that option.
1737
- */
1738
- class SkyRowComponent {
1739
- constructor() {
1740
- /**
1741
- * Indicates whether to reverse the display order for columns in the row.
1742
- * @default false
1743
- */
1744
- this.reverseColumnOrder = false;
1745
- }
1746
- }
1747
- SkyRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1748
- SkyRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyRowComponent, selector: "sky-row", inputs: { reverseColumnOrder: "reverseColumnOrder" }, ngImport: i0, template: "<div class=\"sky-row\" [ngClass]=\"{ 'sky-row-reverse': reverseColumnOrder }\">\n <ng-content></ng-content>\n</div>\n", styles: [".sky-row{display:flex;flex-direction:row;flex-wrap:wrap;margin-left:-15px;margin-right:-15px}:host-context(.sky-fluid-grid-gutter-size-small) .sky-row{margin-left:-5px;margin-right:-5px}:host-context(.sky-fluid-grid-gutter-size-small.sky-fluid-grid-no-margin) .sky-row{margin-left:-10px;margin-right:-10px}:host-context(.sky-fluid-grid-gutter-size-medium) .sky-row{margin-left:-10px;margin-right:-10px}:host-context(.sky-fluid-grid-gutter-size-medium.sky-fluid-grid-no-margin) .sky-row{margin-left:-20px;margin-right:-20px}:host-context(.sky-fluid-grid-gutter-size-large) .sky-row{margin-left:-15px;margin-right:-15px}:host-context(.sky-fluid-grid-gutter-size-large.sky-fluid-grid-no-margin) .sky-row{margin-left:-30px;margin-right:-30px}:host-context(.sky-theme-modern .sky-fluid-grid-gutter-size-small) .sky-row{margin-left:-10px;margin-right:-10px}:host-context(.sky-theme-modern .sky-fluid-grid-gutter-size-small.sky-fluid-grid-no-margin) .sky-row{margin-left:-20px;margin-right:-20px}:host-context(.sky-theme-modern .sky-fluid-grid-gutter-size-medium) .sky-row{margin-left:-15px;margin-right:-15px}:host-context(.sky-theme-modern .sky-fluid-grid-gutter-size-medium.sky-fluid-grid-no-margin) .sky-row{margin-left:-30px;margin-right:-30px}:host-context(.sky-theme-modern .sky-fluid-grid-gutter-size-large) .sky-row{margin-left:-30px;margin-right:-30px}:host-context(.sky-theme-modern .sky-fluid-grid-gutter-size-large.sky-fluid-grid-no-margin) .sky-row{margin-left:-60px;margin-right:-60px}:host .sky-row.sky-row-reverse{flex-direction:row}:host-context(.sky-responsive-container-xs) .sky-row.sky-row-reverse,:host-context(.sky-responsive-container-sm) .sky-row.sky-row-reverse,:host-context(.sky-responsive-container-md) .sky-row.sky-row-reverse,:host-context(.sky-responsive-container-lg) .sky-row.sky-row-reverse{flex-direction:row}@media (min-width: 768px){:host .sky-row.sky-row-reverse{flex-direction:row-reverse}}:host-context(.sky-responsive-container-sm) .sky-row.sky-row-reverse,:host-context(.sky-responsive-container-md) .sky-row.sky-row-reverse,:host-context(.sky-responsive-container-lg) .sky-row.sky-row-reverse{flex-direction:row-reverse}:host-context(.sky-theme-modern) .sky-row{margin-left:-30px;margin-right:-30px}.sky-theme-modern .sky-row{margin-left:-30px;margin-right:-30px}\n"], directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
1749
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyRowComponent, decorators: [{
1750
- type: Component,
1751
- args: [{
1752
- selector: 'sky-row',
1753
- templateUrl: './row.component.html',
1754
- styleUrls: ['./row.component.scss'],
1755
- }]
1756
- }], propDecorators: { reverseColumnOrder: [{
1757
- type: Input
1758
- }] } });
1759
-
1760
1734
  class SkyColumnComponent {
1761
1735
  ngOnChanges(changes) {
1762
1736
  /* istanbul ignore else */
@@ -1768,7 +1742,7 @@ class SkyColumnComponent {
1768
1742
  }
1769
1743
  }
1770
1744
  getClassNames() {
1771
- let classnames = ['sky-column'];
1745
+ const classnames = ['sky-column'];
1772
1746
  if (this.screenXSmall) {
1773
1747
  classnames.push(`sky-column-xs-${this.screenXSmall}`);
1774
1748
  }
@@ -1872,6 +1846,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1872
1846
  type: Input
1873
1847
  }] } });
1874
1848
 
1849
+ /**
1850
+ * Displays a row within the `sky-fluid-grid` wrapper. Previously, you could display a row
1851
+ * without a wrapper, but we no longer officially support that option.
1852
+ */
1853
+ class SkyRowComponent {
1854
+ constructor() {
1855
+ /**
1856
+ * Indicates whether to reverse the display order for columns in the row.
1857
+ * @default false
1858
+ */
1859
+ this.reverseColumnOrder = false;
1860
+ }
1861
+ }
1862
+ SkyRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1863
+ SkyRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyRowComponent, selector: "sky-row", inputs: { reverseColumnOrder: "reverseColumnOrder" }, ngImport: i0, template: "<div class=\"sky-row\" [ngClass]=\"{ 'sky-row-reverse': reverseColumnOrder }\">\n <ng-content></ng-content>\n</div>\n", styles: [".sky-row{display:flex;flex-direction:row;flex-wrap:wrap;margin-left:-15px;margin-right:-15px}:host-context(.sky-fluid-grid-gutter-size-small) .sky-row{margin-left:-5px;margin-right:-5px}:host-context(.sky-fluid-grid-gutter-size-small.sky-fluid-grid-no-margin) .sky-row{margin-left:-10px;margin-right:-10px}:host-context(.sky-fluid-grid-gutter-size-medium) .sky-row{margin-left:-10px;margin-right:-10px}:host-context(.sky-fluid-grid-gutter-size-medium.sky-fluid-grid-no-margin) .sky-row{margin-left:-20px;margin-right:-20px}:host-context(.sky-fluid-grid-gutter-size-large) .sky-row{margin-left:-15px;margin-right:-15px}:host-context(.sky-fluid-grid-gutter-size-large.sky-fluid-grid-no-margin) .sky-row{margin-left:-30px;margin-right:-30px}:host-context(.sky-theme-modern .sky-fluid-grid-gutter-size-small) .sky-row{margin-left:-10px;margin-right:-10px}:host-context(.sky-theme-modern .sky-fluid-grid-gutter-size-small.sky-fluid-grid-no-margin) .sky-row{margin-left:-20px;margin-right:-20px}:host-context(.sky-theme-modern .sky-fluid-grid-gutter-size-medium) .sky-row{margin-left:-15px;margin-right:-15px}:host-context(.sky-theme-modern .sky-fluid-grid-gutter-size-medium.sky-fluid-grid-no-margin) .sky-row{margin-left:-30px;margin-right:-30px}:host-context(.sky-theme-modern .sky-fluid-grid-gutter-size-large) .sky-row{margin-left:-30px;margin-right:-30px}:host-context(.sky-theme-modern .sky-fluid-grid-gutter-size-large.sky-fluid-grid-no-margin) .sky-row{margin-left:-60px;margin-right:-60px}:host .sky-row.sky-row-reverse{flex-direction:row}:host-context(.sky-responsive-container-xs) .sky-row.sky-row-reverse,:host-context(.sky-responsive-container-sm) .sky-row.sky-row-reverse,:host-context(.sky-responsive-container-md) .sky-row.sky-row-reverse,:host-context(.sky-responsive-container-lg) .sky-row.sky-row-reverse{flex-direction:row}@media (min-width: 768px){:host .sky-row.sky-row-reverse{flex-direction:row-reverse}}:host-context(.sky-responsive-container-sm) .sky-row.sky-row-reverse,:host-context(.sky-responsive-container-md) .sky-row.sky-row-reverse,:host-context(.sky-responsive-container-lg) .sky-row.sky-row-reverse{flex-direction:row-reverse}:host-context(.sky-theme-modern) .sky-row{margin-left:-30px;margin-right:-30px}.sky-theme-modern .sky-row{margin-left:-30px;margin-right:-30px}\n"], directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
1864
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyRowComponent, decorators: [{
1865
+ type: Component,
1866
+ args: [{
1867
+ selector: 'sky-row',
1868
+ templateUrl: './row.component.html',
1869
+ styleUrls: ['./row.component.scss'],
1870
+ }]
1871
+ }], propDecorators: { reverseColumnOrder: [{
1872
+ type: Input
1873
+ }] } });
1874
+
1875
1875
  class SkyFluidGridModule {
1876
1876
  }
1877
1877
  SkyFluidGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyFluidGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -2157,8 +2157,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2157
2157
  */
2158
2158
  class SkyPageSummaryAdapterService {
2159
2159
  updateKeyInfoLocation(elRef, isXS) {
2160
- let el = elRef.nativeElement;
2161
- let keyInfoContainerEl = el.querySelector('.sky-page-summary-key-info-container');
2160
+ const el = elRef.nativeElement;
2161
+ const keyInfoContainerEl = el.querySelector('.sky-page-summary-key-info-container');
2162
2162
  if (isXS) {
2163
2163
  el.querySelector('.sky-page-summary-key-info-xs').appendChild(keyInfoContainerEl);
2164
2164
  }
@@ -2261,35 +2261,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2261
2261
  }]
2262
2262
  }] });
2263
2263
 
2264
- /**
2265
- * @internal
2266
- */
2267
- class SkyTextExpandAdapterService {
2268
- constructor(rendererFactory) {
2269
- this.rendererFactory = rendererFactory;
2270
- this.renderer = this.rendererFactory.createRenderer(undefined, undefined);
2271
- }
2272
- getContainerHeight(containerEl) {
2273
- return containerEl.nativeElement.offsetHeight;
2274
- }
2275
- setContainerHeight(containerEl, height) {
2276
- if (height === undefined) {
2277
- this.renderer.removeStyle(containerEl.nativeElement, 'max-height');
2278
- }
2279
- else {
2280
- this.renderer.setStyle(containerEl.nativeElement, 'max-height', height);
2281
- }
2282
- }
2283
- setText(textEl, text) {
2284
- textEl.nativeElement.textContent = text;
2285
- }
2286
- }
2287
- SkyTextExpandAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTextExpandAdapterService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
2288
- SkyTextExpandAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTextExpandAdapterService });
2289
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTextExpandAdapterService, decorators: [{
2290
- type: Injectable
2291
- }], ctorParameters: function () { return [{ type: i0.RendererFactory2 }]; } });
2292
-
2293
2264
  /**
2294
2265
  * @internal
2295
2266
  */
@@ -2319,6 +2290,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2319
2290
  }]
2320
2291
  }], ctorParameters: function () { return [{ type: SkyTextExpandModalContext }, { type: i2$2.SkyModalInstance }]; } });
2321
2292
 
2293
+ /**
2294
+ * @internal
2295
+ */
2296
+ class SkyTextExpandAdapterService {
2297
+ constructor(rendererFactory) {
2298
+ this.rendererFactory = rendererFactory;
2299
+ this.renderer = this.rendererFactory.createRenderer(undefined, undefined);
2300
+ }
2301
+ getContainerHeight(containerEl) {
2302
+ return containerEl.nativeElement.offsetHeight;
2303
+ }
2304
+ setContainerHeight(containerEl, height) {
2305
+ if (height === undefined) {
2306
+ this.renderer.removeStyle(containerEl.nativeElement, 'max-height');
2307
+ }
2308
+ else {
2309
+ this.renderer.setStyle(containerEl.nativeElement, 'max-height', height);
2310
+ }
2311
+ }
2312
+ setText(textEl, text) {
2313
+ textEl.nativeElement.textContent = text;
2314
+ }
2315
+ }
2316
+ SkyTextExpandAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTextExpandAdapterService, deps: [{ token: i0.RendererFactory2 }], target: i0.ɵɵFactoryTarget.Injectable });
2317
+ SkyTextExpandAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTextExpandAdapterService });
2318
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyTextExpandAdapterService, decorators: [{
2319
+ type: Injectable
2320
+ }], ctorParameters: function () { return [{ type: i0.RendererFactory2 }]; } });
2321
+
2322
2322
  /**
2323
2323
  * Auto-incrementing integer used to generate unique ids for text expand components.
2324
2324
  */
@@ -2440,7 +2440,7 @@ class SkyTextExpandComponent {
2440
2440
  this.animationEnd();
2441
2441
  /* Before animation is kicked off, ensure that a maxHeight exists */
2442
2442
  /* Once we have support for angular v4 animations with parameters we can use that instead */
2443
- let currentHeight = this.textExpandAdapter.getContainerHeight(this.containerEl);
2443
+ const currentHeight = this.textExpandAdapter.getContainerHeight(this.containerEl);
2444
2444
  this.textExpandAdapter.setContainerHeight(this.containerEl, `${currentHeight}px`);
2445
2445
  }
2446
2446
  setup(value) {
@@ -2468,7 +2468,7 @@ class SkyTextExpandComponent {
2468
2468
  this.textExpandAdapter.setText(this.textEl, this.textToShow);
2469
2469
  }
2470
2470
  getNewlineCount(value) {
2471
- let matches = value.match(/\n/gi);
2471
+ const matches = value.match(/\n/gi);
2472
2472
  if (matches) {
2473
2473
  return matches.length;
2474
2474
  }
@@ -2493,17 +2493,17 @@ class SkyTextExpandComponent {
2493
2493
  return value.substr(0, length);
2494
2494
  }
2495
2495
  animateText(previousText, newText, expanding) {
2496
- let adapter = this.textExpandAdapter;
2497
- let container = this.containerEl;
2496
+ const adapter = this.textExpandAdapter;
2497
+ const container = this.containerEl;
2498
2498
  // Reset max height
2499
2499
  adapter.setContainerHeight(container, undefined);
2500
2500
  // Measure the current height so we can animate from it.
2501
- let currentHeight = adapter.getContainerHeight(container);
2501
+ const currentHeight = adapter.getContainerHeight(container);
2502
2502
  this.textToShow = newText;
2503
2503
  adapter.setText(this.textEl, this.textToShow);
2504
2504
  this.buttonText = expanding ? this.seeLessText : this.seeMoreText;
2505
2505
  // Measure the new height so we can animate to it.
2506
- let newHeight = adapter.getContainerHeight(container);
2506
+ const newHeight = adapter.getContainerHeight(container);
2507
2507
  /* istanbul ignore if */
2508
2508
  if (newHeight < currentHeight) {
2509
2509
  // The new text is smaller than the old text, so put the old text back before doing
@@ -2702,14 +2702,14 @@ class SkyTextExpandRepeaterComponent {
2702
2702
  this.animationEnd();
2703
2703
  /* Before animation is kicked off, ensure that a maxHeight exists */
2704
2704
  /* Once we have support for angular v4 animations with parameters we can use that instead */
2705
- let currentHeight = this.textExpandRepeaterAdapter.getContainerHeight(this.containerEl);
2705
+ const currentHeight = this.textExpandRepeaterAdapter.getContainerHeight(this.containerEl);
2706
2706
  this.textExpandRepeaterAdapter.setContainerHeight(this.containerEl, `${currentHeight}px`);
2707
2707
  }
2708
2708
  animateRepeater(expanding) {
2709
- let adapter = this.textExpandRepeaterAdapter;
2710
- let container = this.containerEl;
2709
+ const adapter = this.textExpandRepeaterAdapter;
2710
+ const container = this.containerEl;
2711
2711
  adapter.setContainerHeight(container, undefined);
2712
- let currentHeight = adapter.getContainerHeight(container);
2712
+ const currentHeight = adapter.getContainerHeight(container);
2713
2713
  for (let i = this.maxItems; i < this.contentItems.length; i++) {
2714
2714
  if (!expanding) {
2715
2715
  adapter.hideItem(this.items[i]);
@@ -2718,7 +2718,7 @@ class SkyTextExpandRepeaterComponent {
2718
2718
  adapter.showItem(this.items[i]);
2719
2719
  }
2720
2720
  }
2721
- let newHeight = adapter.getContainerHeight(container);
2721
+ const newHeight = adapter.getContainerHeight(container);
2722
2722
  if (!expanding) {
2723
2723
  this.buttonText = this.seeMoreText;
2724
2724
  }
@@ -2745,7 +2745,7 @@ class SkyTextExpandRepeaterComponent {
2745
2745
  }
2746
2746
  setup(value) {
2747
2747
  if (value) {
2748
- let length = value.length;
2748
+ const length = value.length;
2749
2749
  if (length > this.maxItems) {
2750
2750
  this.expandable = true;
2751
2751
  this.buttonText = this.seeMoreText;
@@ -2802,6 +2802,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2802
2802
  }]
2803
2803
  }] });
2804
2804
 
2805
+ /**
2806
+ * Specifies a container for an item in the toolbar.
2807
+ */
2808
+ class SkyToolbarItemComponent {
2809
+ }
2810
+ SkyToolbarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyToolbarItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2811
+ SkyToolbarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyToolbarItemComponent, selector: "sky-toolbar-item", ngImport: i0, template: "<div class=\"sky-toolbar-item\">\n <ng-content></ng-content>\n</div>\n", styles: [".sky-toolbar-item{margin-right:5px;margin-bottom:5px}:host-context(.sky-theme-modern) .sky-toolbar-item{margin-top:5px;margin-bottom:5px;margin-right:10px}:host-context(.sky-theme-modern) .sky-toolbar-item ::ng-deep .sky-btn{padding-left:10px;padding-right:10px}:host-context(.sky-theme-modern) .sky-toolbar-item ::ng-deep .sky-btn.sky-btn-default:not(:disabled){background-color:transparent;border:none}:host-context(.sky-theme-modern) .sky-toolbar-item ::ng-deep .sky-btn.sky-btn-default:not(:disabled):not(:hover):not(:active):not(:focus){box-shadow:inset 0 0 0 1px transparent}.sky-theme-modern .sky-toolbar-item{margin-top:5px;margin-bottom:5px;margin-right:10px}.sky-theme-modern .sky-toolbar-item ::ng-deep .sky-btn{padding-left:10px;padding-right:10px}.sky-theme-modern .sky-toolbar-item ::ng-deep .sky-btn.sky-btn-default:not(:disabled){background-color:transparent;border:none}.sky-theme-modern .sky-toolbar-item ::ng-deep .sky-btn.sky-btn-default:not(:disabled):not(:hover):not(:active):not(:focus){box-shadow:inset 0 0 0 1px transparent}\n"] });
2812
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyToolbarItemComponent, decorators: [{
2813
+ type: Component,
2814
+ args: [{
2815
+ selector: 'sky-toolbar-item',
2816
+ styleUrls: ['./toolbar-item.component.scss'],
2817
+ templateUrl: './toolbar-item.component.html',
2818
+ }]
2819
+ }] });
2820
+
2805
2821
  /**
2806
2822
  * Specifies a section to group items within the toolbar. The section displays items in a separate horizontal row.
2807
2823
  */
@@ -2818,6 +2834,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2818
2834
  }]
2819
2835
  }] });
2820
2836
 
2837
+ /**
2838
+ * Adds a section on the right side of the toolbar for items that substantially alter
2839
+ * the view of the content container. This includes simple filters and view switchers.
2840
+ */
2841
+ class SkyToolbarViewActionsComponent {
2842
+ }
2843
+ SkyToolbarViewActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyToolbarViewActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2844
+ SkyToolbarViewActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyToolbarViewActionsComponent, selector: "sky-toolbar-view-actions", ngImport: i0, template: "<div class=\"sky-toolbar-view-actions\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{margin-left:auto}.sky-toolbar-view-actions{display:flex;align-items:center;margin-bottom:5px}.sky-toolbar-view-actions ::ng-deep>:not(:last-child){margin-right:5px}:host-context(.sky-theme-modern) .sky-toolbar-view-actions{margin-bottom:0}:host-context(.sky-theme-modern) .sky-toolbar-view-actions ::ng-deep>:not(:last-child){margin-top:5px;margin-bottom:5px;margin-right:10px}:host-context(.sky-theme-modern) .sky-toolbar-view-actions ::ng-deep .sky-btn{background-color:transparent;border:none;padding-left:10px;padding-right:10px}:host-context(.sky-theme-modern) .sky-toolbar-view-actions ::ng-deep .sky-btn:not(:hover):not(:active):not(:focus){box-shadow:inset 0 0 0 1px transparent}.sky-theme-modern .sky-toolbar-view-actions{margin-bottom:0}.sky-theme-modern .sky-toolbar-view-actions ::ng-deep>:not(:last-child){margin-top:5px;margin-bottom:5px;margin-right:10px}.sky-theme-modern .sky-toolbar-view-actions ::ng-deep .sky-btn{background-color:transparent;border:none;padding-left:10px;padding-right:10px}.sky-theme-modern .sky-toolbar-view-actions ::ng-deep .sky-btn:not(:hover):not(:active):not(:focus){box-shadow:inset 0 0 0 1px transparent}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2845
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyToolbarViewActionsComponent, decorators: [{
2846
+ type: Component,
2847
+ args: [{
2848
+ selector: 'sky-toolbar-view-actions',
2849
+ templateUrl: './toolbar-view-actions.component.html',
2850
+ styleUrls: ['./toolbar-view-actions.component.scss'],
2851
+ changeDetection: ChangeDetectionStrategy.OnPush,
2852
+ }]
2853
+ }] });
2854
+
2821
2855
  /**
2822
2856
  * Displays actions for lists, records, and tiles.
2823
2857
  */
@@ -2843,40 +2877,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2843
2877
  args: [SkyToolbarSectionComponent, { descendants: true }]
2844
2878
  }] } });
2845
2879
 
2846
- /**
2847
- * Specifies a container for an item in the toolbar.
2848
- */
2849
- class SkyToolbarItemComponent {
2850
- }
2851
- SkyToolbarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyToolbarItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2852
- SkyToolbarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyToolbarItemComponent, selector: "sky-toolbar-item", ngImport: i0, template: "<div class=\"sky-toolbar-item\">\n <ng-content></ng-content>\n</div>\n", styles: [".sky-toolbar-item{margin-right:5px;margin-bottom:5px}:host-context(.sky-theme-modern) .sky-toolbar-item{margin-top:5px;margin-bottom:5px;margin-right:10px}:host-context(.sky-theme-modern) .sky-toolbar-item ::ng-deep .sky-btn{padding-left:10px;padding-right:10px}:host-context(.sky-theme-modern) .sky-toolbar-item ::ng-deep .sky-btn.sky-btn-default:not(:disabled){background-color:transparent;border:none}:host-context(.sky-theme-modern) .sky-toolbar-item ::ng-deep .sky-btn.sky-btn-default:not(:disabled):not(:hover):not(:active):not(:focus){box-shadow:inset 0 0 0 1px transparent}.sky-theme-modern .sky-toolbar-item{margin-top:5px;margin-bottom:5px;margin-right:10px}.sky-theme-modern .sky-toolbar-item ::ng-deep .sky-btn{padding-left:10px;padding-right:10px}.sky-theme-modern .sky-toolbar-item ::ng-deep .sky-btn.sky-btn-default:not(:disabled){background-color:transparent;border:none}.sky-theme-modern .sky-toolbar-item ::ng-deep .sky-btn.sky-btn-default:not(:disabled):not(:hover):not(:active):not(:focus){box-shadow:inset 0 0 0 1px transparent}\n"] });
2853
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyToolbarItemComponent, decorators: [{
2854
- type: Component,
2855
- args: [{
2856
- selector: 'sky-toolbar-item',
2857
- styleUrls: ['./toolbar-item.component.scss'],
2858
- templateUrl: './toolbar-item.component.html',
2859
- }]
2860
- }] });
2861
-
2862
- /**
2863
- * Adds a section on the right side of the toolbar for items that substantially alter
2864
- * the view of the content container. This includes simple filters and view switchers.
2865
- */
2866
- class SkyToolbarViewActionsComponent {
2867
- }
2868
- SkyToolbarViewActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyToolbarViewActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2869
- SkyToolbarViewActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyToolbarViewActionsComponent, selector: "sky-toolbar-view-actions", ngImport: i0, template: "<div class=\"sky-toolbar-view-actions\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{margin-left:auto}.sky-toolbar-view-actions{display:flex;align-items:center;margin-bottom:5px}.sky-toolbar-view-actions ::ng-deep>:not(:last-child){margin-right:5px}:host-context(.sky-theme-modern) .sky-toolbar-view-actions{margin-bottom:0}:host-context(.sky-theme-modern) .sky-toolbar-view-actions ::ng-deep>:not(:last-child){margin-top:5px;margin-bottom:5px;margin-right:10px}:host-context(.sky-theme-modern) .sky-toolbar-view-actions ::ng-deep .sky-btn{background-color:transparent;border:none;padding-left:10px;padding-right:10px}:host-context(.sky-theme-modern) .sky-toolbar-view-actions ::ng-deep .sky-btn:not(:hover):not(:active):not(:focus){box-shadow:inset 0 0 0 1px transparent}.sky-theme-modern .sky-toolbar-view-actions{margin-bottom:0}.sky-theme-modern .sky-toolbar-view-actions ::ng-deep>:not(:last-child){margin-top:5px;margin-bottom:5px;margin-right:10px}.sky-theme-modern .sky-toolbar-view-actions ::ng-deep .sky-btn{background-color:transparent;border:none;padding-left:10px;padding-right:10px}.sky-theme-modern .sky-toolbar-view-actions ::ng-deep .sky-btn:not(:hover):not(:active):not(:focus){box-shadow:inset 0 0 0 1px transparent}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2870
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyToolbarViewActionsComponent, decorators: [{
2871
- type: Component,
2872
- args: [{
2873
- selector: 'sky-toolbar-view-actions',
2874
- templateUrl: './toolbar-view-actions.component.html',
2875
- styleUrls: ['./toolbar-view-actions.component.scss'],
2876
- changeDetection: ChangeDetectionStrategy.OnPush,
2877
- }]
2878
- }] });
2879
-
2880
2880
  class SkyToolbarModule {
2881
2881
  }
2882
2882
  SkyToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });