@skyux/layout 5.5.0-beta.0 → 5.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/skyux-layout.umd.js +335 -335
- package/documentation.json +145 -130
- package/esm2015/lib/modules/action-button/action-button-container.component.js +1 -1
- package/esm2015/lib/modules/action-button/action-button-container.component.js.map +1 -1
- package/esm2015/lib/modules/action-button/action-button-icon.component.js.map +1 -1
- package/esm2015/lib/modules/action-button/action-button.module.js.map +1 -1
- package/esm2015/lib/modules/back-to-top/back-to-top-adapter.service.js +1 -1
- package/esm2015/lib/modules/back-to-top/back-to-top-adapter.service.js.map +1 -1
- package/esm2015/lib/modules/back-to-top/back-to-top.directive.js.map +1 -1
- package/esm2015/lib/modules/back-to-top/back-top-top.module.js +3 -3
- package/esm2015/lib/modules/back-to-top/back-top-top.module.js.map +1 -1
- package/esm2015/lib/modules/box/box.module.js.map +1 -1
- package/esm2015/lib/modules/card/card.component.js +2 -2
- package/esm2015/lib/modules/card/card.component.js.map +1 -1
- package/esm2015/lib/modules/card/card.module.js.map +1 -1
- package/esm2015/lib/modules/definition-list/definition-list.module.js +2 -2
- package/esm2015/lib/modules/definition-list/definition-list.module.js.map +1 -1
- package/esm2015/lib/modules/description-list/description-list-content.component.js +1 -1
- package/esm2015/lib/modules/description-list/description-list-content.component.js.map +1 -1
- package/esm2015/lib/modules/description-list/description-list-description.component.js +1 -1
- package/esm2015/lib/modules/description-list/description-list-description.component.js.map +1 -1
- package/esm2015/lib/modules/description-list/description-list.component.js +1 -1
- package/esm2015/lib/modules/description-list/description-list.component.js.map +1 -1
- package/esm2015/lib/modules/description-list/description-list.module.js +2 -2
- package/esm2015/lib/modules/description-list/description-list.module.js.map +1 -1
- package/esm2015/lib/modules/fluid-grid/column.component.js +1 -1
- package/esm2015/lib/modules/fluid-grid/column.component.js.map +1 -1
- package/esm2015/lib/modules/fluid-grid/fluid-grid.component.js.map +1 -1
- package/esm2015/lib/modules/fluid-grid/fluid-grid.module.js +2 -2
- package/esm2015/lib/modules/fluid-grid/fluid-grid.module.js.map +1 -1
- package/esm2015/lib/modules/fluid-grid/row.component.js.map +1 -1
- package/esm2015/lib/modules/format/format.module.js +1 -1
- package/esm2015/lib/modules/format/format.module.js.map +1 -1
- package/esm2015/lib/modules/inline-delete/inline-delete-adapter.service.js.map +1 -1
- package/esm2015/lib/modules/inline-delete/inline-delete.component.js.map +1 -1
- package/esm2015/lib/modules/inline-delete/inline-delete.module.js +1 -1
- package/esm2015/lib/modules/inline-delete/inline-delete.module.js.map +1 -1
- package/esm2015/lib/modules/page-summary/page-summary-adapter.service.js +2 -2
- package/esm2015/lib/modules/page-summary/page-summary-adapter.service.js.map +1 -1
- package/esm2015/lib/modules/page-summary/page-summary.component.js.map +1 -1
- package/esm2015/lib/modules/page-summary/page-summary.module.js.map +1 -1
- package/esm2015/lib/modules/shared/sky-layout-resources.module.js +1 -1
- package/esm2015/lib/modules/shared/sky-layout-resources.module.js.map +1 -1
- package/esm2015/lib/modules/text-expand/text-expand-modal.component.js.map +1 -1
- package/esm2015/lib/modules/text-expand/text-expand.component.js +7 -7
- package/esm2015/lib/modules/text-expand/text-expand.component.js.map +1 -1
- package/esm2015/lib/modules/text-expand/text-expand.module.js +2 -2
- package/esm2015/lib/modules/text-expand/text-expand.module.js.map +1 -1
- package/esm2015/lib/modules/text-expand-repeater/text-expand-repeater.component.js +6 -6
- package/esm2015/lib/modules/text-expand-repeater/text-expand-repeater.component.js.map +1 -1
- package/esm2015/lib/modules/text-expand-repeater/text-expand-repeater.module.js +1 -1
- package/esm2015/lib/modules/text-expand-repeater/text-expand-repeater.module.js.map +1 -1
- package/esm2015/lib/modules/toolbar/toolbar.component.js.map +1 -1
- package/esm2015/lib/modules/toolbar/toolbar.module.js +2 -2
- package/esm2015/lib/modules/toolbar/toolbar.module.js.map +1 -1
- package/esm2015/testing/action-button-fixture.js.map +1 -1
- package/esm2015/testing/card-fixture.js.map +1 -1
- package/esm2015/testing/page-summary-fixture.js.map +1 -1
- package/fesm2015/skyux-layout-testing.js.map +1 -1
- package/fesm2015/skyux-layout.js +315 -315
- package/fesm2015/skyux-layout.js.map +1 -1
- package/lib/modules/action-button/action-button-container.component.d.ts +1 -1
- package/lib/modules/card/card.component.d.ts +1 -1
- package/lib/modules/description-list/description-list-content.component.d.ts +1 -1
- package/lib/modules/description-list/description-list.component.d.ts +1 -1
- package/lib/modules/fluid-grid/column.component.d.ts +1 -1
- package/lib/modules/text-expand-repeater/text-expand-repeater.component.d.ts +1 -1
- package/package.json +20 -17
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@angular/router'), require('@skyux/indicators'), require('@skyux/router'), require('@skyux/theme'), require('rxjs
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@skyux/layout', ['exports', '@angular/common', '@angular/core', '@angular/router', '@skyux/indicators', '@skyux/router', '@skyux/theme', 'rxjs
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.skyux = global.skyux || {}, global.skyux.layout = {}), global.ng.common, global.ng.core, global.ng.router, global.i2$1, global.i4, global.i3$1, global.rxjs
|
|
5
|
-
})(this, (function (exports, i3, i0, i2, i2$1, i4, i3$1,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@angular/router'), require('@skyux/indicators'), require('@skyux/router'), require('@skyux/theme'), require('rxjs'), require('rxjs/operators'), require('@skyux/core'), require('@skyux/i18n'), require('@angular/forms'), require('@skyux/forms'), require('@angular/animations'), require('@skyux/modals')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@skyux/layout', ['exports', '@angular/common', '@angular/core', '@angular/router', '@skyux/indicators', '@skyux/router', '@skyux/theme', 'rxjs', 'rxjs/operators', '@skyux/core', '@skyux/i18n', '@angular/forms', '@skyux/forms', '@angular/animations', '@skyux/modals'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.skyux = global.skyux || {}, global.skyux.layout = {}), global.ng.common, global.ng.core, global.ng.router, global.i2$1, global.i4, global.i3$1, global.rxjs, global.rxjs.operators, global.i1, global.i1$1, global.ng.forms, global.i1$2, global.ng.animations, global.i2$2));
|
|
5
|
+
})(this, (function (exports, i3, i0, i2, i2$1, i4, i3$1, rxjs, operators, i1, i1$1, i3$2, i1$2, animations, i2$2) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -389,6 +389,101 @@
|
|
|
389
389
|
}]
|
|
390
390
|
}] });
|
|
391
391
|
|
|
392
|
+
/**
|
|
393
|
+
* NOTICE: DO NOT MODIFY THIS FILE!
|
|
394
|
+
* The contents of this file were automatically generated by
|
|
395
|
+
* the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-layout' schematic.
|
|
396
|
+
* To update this file, simply rerun the command.
|
|
397
|
+
*/
|
|
398
|
+
var RESOURCES = {
|
|
399
|
+
'EN-US': {
|
|
400
|
+
skyux_back_to_top: { message: 'Back to top' },
|
|
401
|
+
skyux_card_checkbox_label: { message: 'Select card' },
|
|
402
|
+
skyux_definition_list_none_found: { message: 'None found.' },
|
|
403
|
+
skyux_description_list_none_found: { message: 'None found.' },
|
|
404
|
+
skyux_inline_delete_assistive_text: {
|
|
405
|
+
message: 'Are you sure you want to delete this item?',
|
|
406
|
+
},
|
|
407
|
+
skyux_inline_delete_cancel: { message: 'Cancel' },
|
|
408
|
+
skyux_inline_delete_confirm_deletion: { message: 'Confirm deletion' },
|
|
409
|
+
skyux_inline_delete_delete: { message: 'Delete' },
|
|
410
|
+
skyux_text_expand_close_text: { message: 'Close' },
|
|
411
|
+
skyux_text_expand_modal_title: { message: 'Expanded view' },
|
|
412
|
+
skyux_text_expand_see_less: { message: 'See less' },
|
|
413
|
+
skyux_text_expand_see_more: { message: 'See more' },
|
|
414
|
+
},
|
|
415
|
+
};
|
|
416
|
+
var SkyLayoutResourcesProvider = /** @class */ (function () {
|
|
417
|
+
function SkyLayoutResourcesProvider() {
|
|
418
|
+
}
|
|
419
|
+
SkyLayoutResourcesProvider.prototype.getString = function (localeInfo, name) {
|
|
420
|
+
return i1$1.getLibStringForLocale(RESOURCES, localeInfo.locale, name);
|
|
421
|
+
};
|
|
422
|
+
return SkyLayoutResourcesProvider;
|
|
423
|
+
}());
|
|
424
|
+
/**
|
|
425
|
+
* Import into any component library module that needs to use resource strings.
|
|
426
|
+
*/
|
|
427
|
+
var SkyLayoutResourcesModule = /** @class */ (function () {
|
|
428
|
+
function SkyLayoutResourcesModule() {
|
|
429
|
+
}
|
|
430
|
+
return SkyLayoutResourcesModule;
|
|
431
|
+
}());
|
|
432
|
+
SkyLayoutResourcesModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLayoutResourcesModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
433
|
+
SkyLayoutResourcesModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLayoutResourcesModule, exports: [i1$1.SkyI18nModule] });
|
|
434
|
+
SkyLayoutResourcesModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLayoutResourcesModule, providers: [
|
|
435
|
+
{
|
|
436
|
+
provide: i1$1.SKY_LIB_RESOURCES_PROVIDERS,
|
|
437
|
+
useClass: SkyLayoutResourcesProvider,
|
|
438
|
+
multi: true,
|
|
439
|
+
},
|
|
440
|
+
], imports: [i1$1.SkyI18nModule] });
|
|
441
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLayoutResourcesModule, decorators: [{
|
|
442
|
+
type: i0.NgModule,
|
|
443
|
+
args: [{
|
|
444
|
+
exports: [i1$1.SkyI18nModule],
|
|
445
|
+
providers: [
|
|
446
|
+
{
|
|
447
|
+
provide: i1$1.SKY_LIB_RESOURCES_PROVIDERS,
|
|
448
|
+
useClass: SkyLayoutResourcesProvider,
|
|
449
|
+
multi: true,
|
|
450
|
+
},
|
|
451
|
+
],
|
|
452
|
+
}]
|
|
453
|
+
}] });
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* @internal
|
|
457
|
+
*/
|
|
458
|
+
var SkyBackToTopComponent = /** @class */ (function () {
|
|
459
|
+
function SkyBackToTopComponent() {
|
|
460
|
+
this._scrollToTopClick = new rxjs.Subject();
|
|
461
|
+
}
|
|
462
|
+
Object.defineProperty(SkyBackToTopComponent.prototype, "scrollToTopClick", {
|
|
463
|
+
get: function () {
|
|
464
|
+
return this._scrollToTopClick.asObservable();
|
|
465
|
+
},
|
|
466
|
+
enumerable: false,
|
|
467
|
+
configurable: true
|
|
468
|
+
});
|
|
469
|
+
SkyBackToTopComponent.prototype.onScrollToTopClick = function () {
|
|
470
|
+
this._scrollToTopClick.next();
|
|
471
|
+
this._scrollToTopClick.complete();
|
|
472
|
+
};
|
|
473
|
+
return SkyBackToTopComponent;
|
|
474
|
+
}());
|
|
475
|
+
SkyBackToTopComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyBackToTopComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
476
|
+
SkyBackToTopComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyBackToTopComponent, selector: "sky-back-to-top", ngImport: i0__namespace, 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__namespace$1.SkyLibResourcesPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
477
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyBackToTopComponent, decorators: [{
|
|
478
|
+
type: i0.Component,
|
|
479
|
+
args: [{
|
|
480
|
+
selector: 'sky-back-to-top',
|
|
481
|
+
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",
|
|
482
|
+
styles: [".sky-back-to-top{display:flex;align-items:center;width:100%;background-color:#fff;box-shadow:0 -3px 3px #cdcfd2}\n"],
|
|
483
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
484
|
+
}]
|
|
485
|
+
}] });
|
|
486
|
+
|
|
392
487
|
/**
|
|
393
488
|
* @internal
|
|
394
489
|
*/
|
|
@@ -474,38 +569,6 @@
|
|
|
474
569
|
type: i0.Injectable
|
|
475
570
|
}], ctorParameters: function () { return [{ type: i1__namespace.SkyAppWindowRef }]; } });
|
|
476
571
|
|
|
477
|
-
/**
|
|
478
|
-
* @internal
|
|
479
|
-
*/
|
|
480
|
-
var SkyBackToTopComponent = /** @class */ (function () {
|
|
481
|
-
function SkyBackToTopComponent() {
|
|
482
|
-
this._scrollToTopClick = new rxjs.Subject();
|
|
483
|
-
}
|
|
484
|
-
Object.defineProperty(SkyBackToTopComponent.prototype, "scrollToTopClick", {
|
|
485
|
-
get: function () {
|
|
486
|
-
return this._scrollToTopClick.asObservable();
|
|
487
|
-
},
|
|
488
|
-
enumerable: false,
|
|
489
|
-
configurable: true
|
|
490
|
-
});
|
|
491
|
-
SkyBackToTopComponent.prototype.onScrollToTopClick = function () {
|
|
492
|
-
this._scrollToTopClick.next();
|
|
493
|
-
this._scrollToTopClick.complete();
|
|
494
|
-
};
|
|
495
|
-
return SkyBackToTopComponent;
|
|
496
|
-
}());
|
|
497
|
-
SkyBackToTopComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyBackToTopComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
498
|
-
SkyBackToTopComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyBackToTopComponent, selector: "sky-back-to-top", ngImport: i0__namespace, 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__namespace$1.SkyLibResourcesPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
499
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyBackToTopComponent, decorators: [{
|
|
500
|
-
type: i0.Component,
|
|
501
|
-
args: [{
|
|
502
|
-
selector: 'sky-back-to-top',
|
|
503
|
-
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",
|
|
504
|
-
styles: [".sky-back-to-top{display:flex;align-items:center;width:100%;background-color:#fff;box-shadow:0 -3px 3px #cdcfd2}\n"],
|
|
505
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
506
|
-
}]
|
|
507
|
-
}] });
|
|
508
|
-
|
|
509
572
|
/**
|
|
510
573
|
* Specifies the type of message to send to the back to top component.
|
|
511
574
|
*/
|
|
@@ -634,69 +697,6 @@
|
|
|
634
697
|
type: i0.Input
|
|
635
698
|
}] } });
|
|
636
699
|
|
|
637
|
-
/**
|
|
638
|
-
* NOTICE: DO NOT MODIFY THIS FILE!
|
|
639
|
-
* The contents of this file were automatically generated by
|
|
640
|
-
* the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-layout' schematic.
|
|
641
|
-
* To update this file, simply rerun the command.
|
|
642
|
-
*/
|
|
643
|
-
var RESOURCES = {
|
|
644
|
-
'EN-US': {
|
|
645
|
-
skyux_back_to_top: { message: 'Back to top' },
|
|
646
|
-
skyux_card_checkbox_label: { message: 'Select card' },
|
|
647
|
-
skyux_definition_list_none_found: { message: 'None found.' },
|
|
648
|
-
skyux_description_list_none_found: { message: 'None found.' },
|
|
649
|
-
skyux_inline_delete_assistive_text: {
|
|
650
|
-
message: 'Are you sure you want to delete this item?',
|
|
651
|
-
},
|
|
652
|
-
skyux_inline_delete_cancel: { message: 'Cancel' },
|
|
653
|
-
skyux_inline_delete_confirm_deletion: { message: 'Confirm deletion' },
|
|
654
|
-
skyux_inline_delete_delete: { message: 'Delete' },
|
|
655
|
-
skyux_text_expand_close_text: { message: 'Close' },
|
|
656
|
-
skyux_text_expand_modal_title: { message: 'Expanded view' },
|
|
657
|
-
skyux_text_expand_see_less: { message: 'See less' },
|
|
658
|
-
skyux_text_expand_see_more: { message: 'See more' },
|
|
659
|
-
},
|
|
660
|
-
};
|
|
661
|
-
var SkyLayoutResourcesProvider = /** @class */ (function () {
|
|
662
|
-
function SkyLayoutResourcesProvider() {
|
|
663
|
-
}
|
|
664
|
-
SkyLayoutResourcesProvider.prototype.getString = function (localeInfo, name) {
|
|
665
|
-
return i1$1.getLibStringForLocale(RESOURCES, localeInfo.locale, name);
|
|
666
|
-
};
|
|
667
|
-
return SkyLayoutResourcesProvider;
|
|
668
|
-
}());
|
|
669
|
-
/**
|
|
670
|
-
* Import into any component library module that needs to use resource strings.
|
|
671
|
-
*/
|
|
672
|
-
var SkyLayoutResourcesModule = /** @class */ (function () {
|
|
673
|
-
function SkyLayoutResourcesModule() {
|
|
674
|
-
}
|
|
675
|
-
return SkyLayoutResourcesModule;
|
|
676
|
-
}());
|
|
677
|
-
SkyLayoutResourcesModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLayoutResourcesModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
678
|
-
SkyLayoutResourcesModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLayoutResourcesModule, exports: [i1$1.SkyI18nModule] });
|
|
679
|
-
SkyLayoutResourcesModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLayoutResourcesModule, providers: [
|
|
680
|
-
{
|
|
681
|
-
provide: i1$1.SKY_LIB_RESOURCES_PROVIDERS,
|
|
682
|
-
useClass: SkyLayoutResourcesProvider,
|
|
683
|
-
multi: true,
|
|
684
|
-
},
|
|
685
|
-
], imports: [i1$1.SkyI18nModule] });
|
|
686
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLayoutResourcesModule, decorators: [{
|
|
687
|
-
type: i0.NgModule,
|
|
688
|
-
args: [{
|
|
689
|
-
exports: [i1$1.SkyI18nModule],
|
|
690
|
-
providers: [
|
|
691
|
-
{
|
|
692
|
-
provide: i1$1.SKY_LIB_RESOURCES_PROVIDERS,
|
|
693
|
-
useClass: SkyLayoutResourcesProvider,
|
|
694
|
-
multi: true,
|
|
695
|
-
},
|
|
696
|
-
],
|
|
697
|
-
}]
|
|
698
|
-
}] });
|
|
699
|
-
|
|
700
700
|
var SkyBackToTopModule = /** @class */ (function () {
|
|
701
701
|
function SkyBackToTopModule() {
|
|
702
702
|
}
|
|
@@ -1339,71 +1339,6 @@
|
|
|
1339
1339
|
}]
|
|
1340
1340
|
}] });
|
|
1341
1341
|
|
|
1342
|
-
/**
|
|
1343
|
-
* @internal
|
|
1344
|
-
*/
|
|
1345
|
-
var SkyDefinitionListService = /** @class */ (function () {
|
|
1346
|
-
function SkyDefinitionListService() {
|
|
1347
|
-
this.labelWidth = new rxjs.BehaviorSubject('');
|
|
1348
|
-
this.defaultValue = new rxjs.BehaviorSubject('');
|
|
1349
|
-
}
|
|
1350
|
-
return SkyDefinitionListService;
|
|
1351
|
-
}());
|
|
1352
|
-
SkyDefinitionListService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDefinitionListService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1353
|
-
SkyDefinitionListService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDefinitionListService });
|
|
1354
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDefinitionListService, decorators: [{
|
|
1355
|
-
type: i0.Injectable
|
|
1356
|
-
}] });
|
|
1357
|
-
|
|
1358
|
-
/**
|
|
1359
|
-
* Creates a definition list to display label-value pairs.
|
|
1360
|
-
*/
|
|
1361
|
-
var SkyDefinitionListComponent = /** @class */ (function () {
|
|
1362
|
-
function SkyDefinitionListComponent(service) {
|
|
1363
|
-
this.service = service;
|
|
1364
|
-
}
|
|
1365
|
-
Object.defineProperty(SkyDefinitionListComponent.prototype, "labelWidth", {
|
|
1366
|
-
/**
|
|
1367
|
-
* Specifies the width of the label portion of the definition list.
|
|
1368
|
-
* @default "90px"
|
|
1369
|
-
*/
|
|
1370
|
-
set: function (value) {
|
|
1371
|
-
this.service.labelWidth.next(value);
|
|
1372
|
-
},
|
|
1373
|
-
enumerable: false,
|
|
1374
|
-
configurable: true
|
|
1375
|
-
});
|
|
1376
|
-
Object.defineProperty(SkyDefinitionListComponent.prototype, "defaultValue", {
|
|
1377
|
-
/**
|
|
1378
|
-
* Specifies a default value to display when no value is provided
|
|
1379
|
-
* for a label-value pair.
|
|
1380
|
-
* @default "None found"
|
|
1381
|
-
*/
|
|
1382
|
-
set: function (value) {
|
|
1383
|
-
this.service.defaultValue.next(value);
|
|
1384
|
-
},
|
|
1385
|
-
enumerable: false,
|
|
1386
|
-
configurable: true
|
|
1387
|
-
});
|
|
1388
|
-
return SkyDefinitionListComponent;
|
|
1389
|
-
}());
|
|
1390
|
-
SkyDefinitionListComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDefinitionListComponent, deps: [{ token: SkyDefinitionListService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1391
|
-
SkyDefinitionListComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyDefinitionListComponent, selector: "sky-definition-list", inputs: { labelWidth: "labelWidth", defaultValue: "defaultValue" }, providers: [SkyDefinitionListService], ngImport: i0__namespace, 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__namespace.ChangeDetectionStrategy.OnPush });
|
|
1392
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDefinitionListComponent, decorators: [{
|
|
1393
|
-
type: i0.Component,
|
|
1394
|
-
args: [{
|
|
1395
|
-
selector: 'sky-definition-list',
|
|
1396
|
-
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",
|
|
1397
|
-
styles: [".sky-definition-list{margin-right:50px;margin-bottom:20px}\n"],
|
|
1398
|
-
providers: [SkyDefinitionListService],
|
|
1399
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1400
|
-
}]
|
|
1401
|
-
}], ctorParameters: function () { return [{ type: SkyDefinitionListService }]; }, propDecorators: { labelWidth: [{
|
|
1402
|
-
type: i0.Input
|
|
1403
|
-
}], defaultValue: [{
|
|
1404
|
-
type: i0.Input
|
|
1405
|
-
}] } });
|
|
1406
|
-
|
|
1407
1342
|
/**
|
|
1408
1343
|
* Wraps the label-value pairs in the definition list.
|
|
1409
1344
|
*/
|
|
@@ -1444,6 +1379,22 @@
|
|
|
1444
1379
|
}]
|
|
1445
1380
|
}] });
|
|
1446
1381
|
|
|
1382
|
+
/**
|
|
1383
|
+
* @internal
|
|
1384
|
+
*/
|
|
1385
|
+
var SkyDefinitionListService = /** @class */ (function () {
|
|
1386
|
+
function SkyDefinitionListService() {
|
|
1387
|
+
this.labelWidth = new rxjs.BehaviorSubject('');
|
|
1388
|
+
this.defaultValue = new rxjs.BehaviorSubject('');
|
|
1389
|
+
}
|
|
1390
|
+
return SkyDefinitionListService;
|
|
1391
|
+
}());
|
|
1392
|
+
SkyDefinitionListService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDefinitionListService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1393
|
+
SkyDefinitionListService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDefinitionListService });
|
|
1394
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDefinitionListService, decorators: [{
|
|
1395
|
+
type: i0.Injectable
|
|
1396
|
+
}] });
|
|
1397
|
+
|
|
1447
1398
|
/**
|
|
1448
1399
|
* Specifies the label in a label-value pair.
|
|
1449
1400
|
*/
|
|
@@ -1485,6 +1436,55 @@
|
|
|
1485
1436
|
}]
|
|
1486
1437
|
}], ctorParameters: function () { return [{ type: SkyDefinitionListService }]; } });
|
|
1487
1438
|
|
|
1439
|
+
/**
|
|
1440
|
+
* Creates a definition list to display label-value pairs.
|
|
1441
|
+
*/
|
|
1442
|
+
var SkyDefinitionListComponent = /** @class */ (function () {
|
|
1443
|
+
function SkyDefinitionListComponent(service) {
|
|
1444
|
+
this.service = service;
|
|
1445
|
+
}
|
|
1446
|
+
Object.defineProperty(SkyDefinitionListComponent.prototype, "labelWidth", {
|
|
1447
|
+
/**
|
|
1448
|
+
* Specifies the width of the label portion of the definition list.
|
|
1449
|
+
* @default "90px"
|
|
1450
|
+
*/
|
|
1451
|
+
set: function (value) {
|
|
1452
|
+
this.service.labelWidth.next(value);
|
|
1453
|
+
},
|
|
1454
|
+
enumerable: false,
|
|
1455
|
+
configurable: true
|
|
1456
|
+
});
|
|
1457
|
+
Object.defineProperty(SkyDefinitionListComponent.prototype, "defaultValue", {
|
|
1458
|
+
/**
|
|
1459
|
+
* Specifies a default value to display when no value is provided
|
|
1460
|
+
* for a label-value pair.
|
|
1461
|
+
* @default "None found"
|
|
1462
|
+
*/
|
|
1463
|
+
set: function (value) {
|
|
1464
|
+
this.service.defaultValue.next(value);
|
|
1465
|
+
},
|
|
1466
|
+
enumerable: false,
|
|
1467
|
+
configurable: true
|
|
1468
|
+
});
|
|
1469
|
+
return SkyDefinitionListComponent;
|
|
1470
|
+
}());
|
|
1471
|
+
SkyDefinitionListComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDefinitionListComponent, deps: [{ token: SkyDefinitionListService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1472
|
+
SkyDefinitionListComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyDefinitionListComponent, selector: "sky-definition-list", inputs: { labelWidth: "labelWidth", defaultValue: "defaultValue" }, providers: [SkyDefinitionListService], ngImport: i0__namespace, 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__namespace.ChangeDetectionStrategy.OnPush });
|
|
1473
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDefinitionListComponent, decorators: [{
|
|
1474
|
+
type: i0.Component,
|
|
1475
|
+
args: [{
|
|
1476
|
+
selector: 'sky-definition-list',
|
|
1477
|
+
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",
|
|
1478
|
+
styles: [".sky-definition-list{margin-right:50px;margin-bottom:20px}\n"],
|
|
1479
|
+
providers: [SkyDefinitionListService],
|
|
1480
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1481
|
+
}]
|
|
1482
|
+
}], ctorParameters: function () { return [{ type: SkyDefinitionListService }]; }, propDecorators: { labelWidth: [{
|
|
1483
|
+
type: i0.Input
|
|
1484
|
+
}], defaultValue: [{
|
|
1485
|
+
type: i0.Input
|
|
1486
|
+
}] } });
|
|
1487
|
+
|
|
1488
1488
|
var SkyDefinitionListModule = /** @class */ (function () {
|
|
1489
1489
|
function SkyDefinitionListModule() {
|
|
1490
1490
|
}
|
|
@@ -1522,73 +1522,6 @@
|
|
|
1522
1522
|
}]
|
|
1523
1523
|
}] });
|
|
1524
1524
|
|
|
1525
|
-
/**
|
|
1526
|
-
* @internal
|
|
1527
|
-
*/
|
|
1528
|
-
var SkyDescriptionListAdapterService = /** @class */ (function () {
|
|
1529
|
-
function SkyDescriptionListAdapterService(rendererFactory) {
|
|
1530
|
-
this.renderer = rendererFactory.createRenderer(undefined, undefined);
|
|
1531
|
-
}
|
|
1532
|
-
SkyDescriptionListAdapterService.prototype.getWidth = function (elementRef) {
|
|
1533
|
-
return elementRef.nativeElement.clientWidth;
|
|
1534
|
-
};
|
|
1535
|
-
SkyDescriptionListAdapterService.prototype.setResponsiveClass = function (element) {
|
|
1536
|
-
var nativeEl = element.nativeElement;
|
|
1537
|
-
var width = this.getWidth(element);
|
|
1538
|
-
var className = this.getResponsiveClassName(width);
|
|
1539
|
-
this.renderer.removeClass(nativeEl, 'sky-responsive-container-xs');
|
|
1540
|
-
this.renderer.removeClass(nativeEl, 'sky-responsive-container-sm');
|
|
1541
|
-
this.renderer.removeClass(nativeEl, 'sky-responsive-container-md');
|
|
1542
|
-
this.renderer.addClass(nativeEl, className);
|
|
1543
|
-
};
|
|
1544
|
-
SkyDescriptionListAdapterService.prototype.getResponsiveClassName = function (width) {
|
|
1545
|
-
var xsBreakpointMaxPixels = 479;
|
|
1546
|
-
var smBreakpointMinPixels = 480;
|
|
1547
|
-
var smBreakpointMaxPixels = 767;
|
|
1548
|
-
if (width <= xsBreakpointMaxPixels) {
|
|
1549
|
-
return 'sky-responsive-container-xs';
|
|
1550
|
-
}
|
|
1551
|
-
else if (width >= smBreakpointMinPixels &&
|
|
1552
|
-
width <= smBreakpointMaxPixels) {
|
|
1553
|
-
return 'sky-responsive-container-sm';
|
|
1554
|
-
}
|
|
1555
|
-
else {
|
|
1556
|
-
return 'sky-responsive-container-md';
|
|
1557
|
-
}
|
|
1558
|
-
};
|
|
1559
|
-
return SkyDescriptionListAdapterService;
|
|
1560
|
-
}());
|
|
1561
|
-
SkyDescriptionListAdapterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDescriptionListAdapterService, deps: [{ token: i0__namespace.RendererFactory2 }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1562
|
-
SkyDescriptionListAdapterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDescriptionListAdapterService });
|
|
1563
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDescriptionListAdapterService, decorators: [{
|
|
1564
|
-
type: i0.Injectable
|
|
1565
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.RendererFactory2 }]; } });
|
|
1566
|
-
|
|
1567
|
-
/**
|
|
1568
|
-
* Specifies the term in a term-description pair.
|
|
1569
|
-
*/
|
|
1570
|
-
var SkyDescriptionListTermComponent = /** @class */ (function () {
|
|
1571
|
-
function SkyDescriptionListTermComponent() {
|
|
1572
|
-
}
|
|
1573
|
-
return SkyDescriptionListTermComponent;
|
|
1574
|
-
}());
|
|
1575
|
-
SkyDescriptionListTermComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDescriptionListTermComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1576
|
-
SkyDescriptionListTermComponent.ɵcmp = i0__namespace.ɵɵ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: i0.TemplateRef, static: true }], ngImport: i0__namespace, template: "<ng-template #termTemplateRef>\n <ng-content></ng-content>\n</ng-template>\n", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
1577
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDescriptionListTermComponent, decorators: [{
|
|
1578
|
-
type: i0.Component,
|
|
1579
|
-
args: [{
|
|
1580
|
-
selector: 'sky-description-list-term',
|
|
1581
|
-
template: "<ng-template #termTemplateRef>\n <ng-content></ng-content>\n</ng-template>\n",
|
|
1582
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1583
|
-
}]
|
|
1584
|
-
}], propDecorators: { templateRef: [{
|
|
1585
|
-
type: i0.ViewChild,
|
|
1586
|
-
args: ['termTemplateRef', {
|
|
1587
|
-
read: i0.TemplateRef,
|
|
1588
|
-
static: true,
|
|
1589
|
-
}]
|
|
1590
|
-
}] } });
|
|
1591
|
-
|
|
1592
1525
|
/**
|
|
1593
1526
|
* @internal
|
|
1594
1527
|
*/
|
|
@@ -1645,18 +1578,43 @@
|
|
|
1645
1578
|
};
|
|
1646
1579
|
return SkyDescriptionListDescriptionComponent;
|
|
1647
1580
|
}());
|
|
1648
|
-
SkyDescriptionListDescriptionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDescriptionListDescriptionComponent, deps: [{ token: SkyDescriptionListService }, { token: i0__namespace.ChangeDetectorRef }, { token: i3__namespace$1.SkyThemeService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1649
|
-
SkyDescriptionListDescriptionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyDescriptionListDescriptionComponent, selector: "sky-description-list-description", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["descriptionTemplateRef"], descendants: true, read: i0.TemplateRef, static: true }], ngImport: i0__namespace, template: "<ng-template #descriptionTemplateRef>\n <span #valueEl>\n <ng-content></ng-content>\n </span>\n <span\n *ngIf=\"!valueEl.textContent.trim()\"\n data-sky-id=\"sky-description-list-default-value\"\n [skyThemeClass]=\"{\n 'sky-font-deemphasized': 'modern',\n 'sky-deemphasized': 'default'\n }\"\n >\n {{\n (service.defaultDescription | async) ||\n ('skyux_description_list_none_found' | skyLibResources)\n }}\n </span>\n</ng-template>\n", directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$1.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }], pipes: { "async": i3__namespace.AsyncPipe, "skyLibResources": i1__namespace$1.SkyLibResourcesPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
1650
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDescriptionListDescriptionComponent, decorators: [{
|
|
1581
|
+
SkyDescriptionListDescriptionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDescriptionListDescriptionComponent, deps: [{ token: SkyDescriptionListService }, { token: i0__namespace.ChangeDetectorRef }, { token: i3__namespace$1.SkyThemeService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1582
|
+
SkyDescriptionListDescriptionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyDescriptionListDescriptionComponent, selector: "sky-description-list-description", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["descriptionTemplateRef"], descendants: true, read: i0.TemplateRef, static: true }], ngImport: i0__namespace, template: "<ng-template #descriptionTemplateRef>\n <span #valueEl>\n <ng-content></ng-content>\n </span>\n <span\n *ngIf=\"!valueEl.textContent.trim()\"\n data-sky-id=\"sky-description-list-default-value\"\n [skyThemeClass]=\"{\n 'sky-font-deemphasized': 'modern',\n 'sky-deemphasized': 'default'\n }\"\n >\n {{\n (service.defaultDescription | async) ||\n ('skyux_description_list_none_found' | skyLibResources)\n }}\n </span>\n</ng-template>\n", directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$1.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }], pipes: { "async": i3__namespace.AsyncPipe, "skyLibResources": i1__namespace$1.SkyLibResourcesPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
1583
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDescriptionListDescriptionComponent, decorators: [{
|
|
1584
|
+
type: i0.Component,
|
|
1585
|
+
args: [{
|
|
1586
|
+
selector: 'sky-description-list-description',
|
|
1587
|
+
template: "<ng-template #descriptionTemplateRef>\n <span #valueEl>\n <ng-content></ng-content>\n </span>\n <span\n *ngIf=\"!valueEl.textContent.trim()\"\n data-sky-id=\"sky-description-list-default-value\"\n [skyThemeClass]=\"{\n 'sky-font-deemphasized': 'modern',\n 'sky-deemphasized': 'default'\n }\"\n >\n {{\n (service.defaultDescription | async) ||\n ('skyux_description_list_none_found' | skyLibResources)\n }}\n </span>\n</ng-template>\n",
|
|
1588
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1589
|
+
}]
|
|
1590
|
+
}], ctorParameters: function () { return [{ type: SkyDescriptionListService }, { type: i0__namespace.ChangeDetectorRef }, { type: i3__namespace$1.SkyThemeService }]; }, propDecorators: { templateRef: [{
|
|
1591
|
+
type: i0.ViewChild,
|
|
1592
|
+
args: ['descriptionTemplateRef', {
|
|
1593
|
+
read: i0.TemplateRef,
|
|
1594
|
+
static: true,
|
|
1595
|
+
}]
|
|
1596
|
+
}] } });
|
|
1597
|
+
|
|
1598
|
+
/**
|
|
1599
|
+
* Specifies the term in a term-description pair.
|
|
1600
|
+
*/
|
|
1601
|
+
var SkyDescriptionListTermComponent = /** @class */ (function () {
|
|
1602
|
+
function SkyDescriptionListTermComponent() {
|
|
1603
|
+
}
|
|
1604
|
+
return SkyDescriptionListTermComponent;
|
|
1605
|
+
}());
|
|
1606
|
+
SkyDescriptionListTermComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDescriptionListTermComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1607
|
+
SkyDescriptionListTermComponent.ɵcmp = i0__namespace.ɵɵ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: i0.TemplateRef, static: true }], ngImport: i0__namespace, template: "<ng-template #termTemplateRef>\n <ng-content></ng-content>\n</ng-template>\n", changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
1608
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDescriptionListTermComponent, decorators: [{
|
|
1651
1609
|
type: i0.Component,
|
|
1652
1610
|
args: [{
|
|
1653
|
-
selector: 'sky-description-list-
|
|
1654
|
-
template: "<ng-template #
|
|
1611
|
+
selector: 'sky-description-list-term',
|
|
1612
|
+
template: "<ng-template #termTemplateRef>\n <ng-content></ng-content>\n</ng-template>\n",
|
|
1655
1613
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1656
1614
|
}]
|
|
1657
|
-
}],
|
|
1615
|
+
}], propDecorators: { templateRef: [{
|
|
1658
1616
|
type: i0.ViewChild,
|
|
1659
|
-
args: ['
|
|
1617
|
+
args: ['termTemplateRef', {
|
|
1660
1618
|
read: i0.TemplateRef,
|
|
1661
1619
|
static: true,
|
|
1662
1620
|
}]
|
|
@@ -1686,6 +1644,48 @@
|
|
|
1686
1644
|
args: [SkyDescriptionListDescriptionComponent]
|
|
1687
1645
|
}] } });
|
|
1688
1646
|
|
|
1647
|
+
/**
|
|
1648
|
+
* @internal
|
|
1649
|
+
*/
|
|
1650
|
+
var SkyDescriptionListAdapterService = /** @class */ (function () {
|
|
1651
|
+
function SkyDescriptionListAdapterService(rendererFactory) {
|
|
1652
|
+
this.renderer = rendererFactory.createRenderer(undefined, undefined);
|
|
1653
|
+
}
|
|
1654
|
+
SkyDescriptionListAdapterService.prototype.getWidth = function (elementRef) {
|
|
1655
|
+
return elementRef.nativeElement.clientWidth;
|
|
1656
|
+
};
|
|
1657
|
+
SkyDescriptionListAdapterService.prototype.setResponsiveClass = function (element) {
|
|
1658
|
+
var nativeEl = element.nativeElement;
|
|
1659
|
+
var width = this.getWidth(element);
|
|
1660
|
+
var className = this.getResponsiveClassName(width);
|
|
1661
|
+
this.renderer.removeClass(nativeEl, 'sky-responsive-container-xs');
|
|
1662
|
+
this.renderer.removeClass(nativeEl, 'sky-responsive-container-sm');
|
|
1663
|
+
this.renderer.removeClass(nativeEl, 'sky-responsive-container-md');
|
|
1664
|
+
this.renderer.addClass(nativeEl, className);
|
|
1665
|
+
};
|
|
1666
|
+
SkyDescriptionListAdapterService.prototype.getResponsiveClassName = function (width) {
|
|
1667
|
+
var xsBreakpointMaxPixels = 479;
|
|
1668
|
+
var smBreakpointMinPixels = 480;
|
|
1669
|
+
var smBreakpointMaxPixels = 767;
|
|
1670
|
+
if (width <= xsBreakpointMaxPixels) {
|
|
1671
|
+
return 'sky-responsive-container-xs';
|
|
1672
|
+
}
|
|
1673
|
+
else if (width >= smBreakpointMinPixels &&
|
|
1674
|
+
width <= smBreakpointMaxPixels) {
|
|
1675
|
+
return 'sky-responsive-container-sm';
|
|
1676
|
+
}
|
|
1677
|
+
else {
|
|
1678
|
+
return 'sky-responsive-container-md';
|
|
1679
|
+
}
|
|
1680
|
+
};
|
|
1681
|
+
return SkyDescriptionListAdapterService;
|
|
1682
|
+
}());
|
|
1683
|
+
SkyDescriptionListAdapterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDescriptionListAdapterService, deps: [{ token: i0__namespace.RendererFactory2 }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1684
|
+
SkyDescriptionListAdapterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDescriptionListAdapterService });
|
|
1685
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyDescriptionListAdapterService, decorators: [{
|
|
1686
|
+
type: i0.Injectable
|
|
1687
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.RendererFactory2 }]; } });
|
|
1688
|
+
|
|
1689
1689
|
/**
|
|
1690
1690
|
* Creates a description list to display term-description pairs.
|
|
1691
1691
|
*/
|
|
@@ -1882,33 +1882,6 @@
|
|
|
1882
1882
|
SkyFluidGridGutterSize[SkyFluidGridGutterSize["Large"] = 2] = "Large";
|
|
1883
1883
|
})(exports.SkyFluidGridGutterSize || (exports.SkyFluidGridGutterSize = {}));
|
|
1884
1884
|
|
|
1885
|
-
/**
|
|
1886
|
-
* Displays a row within the `sky-fluid-grid` wrapper. Previously, you could display a row
|
|
1887
|
-
* without a wrapper, but we no longer officially support that option.
|
|
1888
|
-
*/
|
|
1889
|
-
var SkyRowComponent = /** @class */ (function () {
|
|
1890
|
-
function SkyRowComponent() {
|
|
1891
|
-
/**
|
|
1892
|
-
* Indicates whether to reverse the display order for columns in the row.
|
|
1893
|
-
* @default false
|
|
1894
|
-
*/
|
|
1895
|
-
this.reverseColumnOrder = false;
|
|
1896
|
-
}
|
|
1897
|
-
return SkyRowComponent;
|
|
1898
|
-
}());
|
|
1899
|
-
SkyRowComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyRowComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1900
|
-
SkyRowComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyRowComponent, selector: "sky-row", inputs: { reverseColumnOrder: "reverseColumnOrder" }, ngImport: i0__namespace, 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__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1901
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyRowComponent, decorators: [{
|
|
1902
|
-
type: i0.Component,
|
|
1903
|
-
args: [{
|
|
1904
|
-
selector: 'sky-row',
|
|
1905
|
-
template: "<div class=\"sky-row\" [ngClass]=\"{ 'sky-row-reverse': reverseColumnOrder }\">\n <ng-content></ng-content>\n</div>\n",
|
|
1906
|
-
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"],
|
|
1907
|
-
}]
|
|
1908
|
-
}], propDecorators: { reverseColumnOrder: [{
|
|
1909
|
-
type: i0.Input
|
|
1910
|
-
}] } });
|
|
1911
|
-
|
|
1912
1885
|
var SkyColumnComponent = /** @class */ (function () {
|
|
1913
1886
|
function SkyColumnComponent() {
|
|
1914
1887
|
}
|
|
@@ -2042,6 +2015,33 @@
|
|
|
2042
2015
|
type: i0.Input
|
|
2043
2016
|
}] } });
|
|
2044
2017
|
|
|
2018
|
+
/**
|
|
2019
|
+
* Displays a row within the `sky-fluid-grid` wrapper. Previously, you could display a row
|
|
2020
|
+
* without a wrapper, but we no longer officially support that option.
|
|
2021
|
+
*/
|
|
2022
|
+
var SkyRowComponent = /** @class */ (function () {
|
|
2023
|
+
function SkyRowComponent() {
|
|
2024
|
+
/**
|
|
2025
|
+
* Indicates whether to reverse the display order for columns in the row.
|
|
2026
|
+
* @default false
|
|
2027
|
+
*/
|
|
2028
|
+
this.reverseColumnOrder = false;
|
|
2029
|
+
}
|
|
2030
|
+
return SkyRowComponent;
|
|
2031
|
+
}());
|
|
2032
|
+
SkyRowComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyRowComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2033
|
+
SkyRowComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyRowComponent, selector: "sky-row", inputs: { reverseColumnOrder: "reverseColumnOrder" }, ngImport: i0__namespace, 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__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2034
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyRowComponent, decorators: [{
|
|
2035
|
+
type: i0.Component,
|
|
2036
|
+
args: [{
|
|
2037
|
+
selector: 'sky-row',
|
|
2038
|
+
template: "<div class=\"sky-row\" [ngClass]=\"{ 'sky-row-reverse': reverseColumnOrder }\">\n <ng-content></ng-content>\n</div>\n",
|
|
2039
|
+
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"],
|
|
2040
|
+
}]
|
|
2041
|
+
}], propDecorators: { reverseColumnOrder: [{
|
|
2042
|
+
type: i0.Input
|
|
2043
|
+
}] } });
|
|
2044
|
+
|
|
2045
2045
|
var SkyFluidGridModule = /** @class */ (function () {
|
|
2046
2046
|
function SkyFluidGridModule() {
|
|
2047
2047
|
}
|
|
@@ -2817,36 +2817,6 @@
|
|
|
2817
2817
|
}]
|
|
2818
2818
|
}] });
|
|
2819
2819
|
|
|
2820
|
-
/**
|
|
2821
|
-
* @internal
|
|
2822
|
-
*/
|
|
2823
|
-
var SkyTextExpandAdapterService = /** @class */ (function () {
|
|
2824
|
-
function SkyTextExpandAdapterService(rendererFactory) {
|
|
2825
|
-
this.rendererFactory = rendererFactory;
|
|
2826
|
-
this.renderer = this.rendererFactory.createRenderer(undefined, undefined);
|
|
2827
|
-
}
|
|
2828
|
-
SkyTextExpandAdapterService.prototype.getContainerHeight = function (containerEl) {
|
|
2829
|
-
return containerEl.nativeElement.offsetHeight;
|
|
2830
|
-
};
|
|
2831
|
-
SkyTextExpandAdapterService.prototype.setContainerHeight = function (containerEl, height) {
|
|
2832
|
-
if (height === undefined) {
|
|
2833
|
-
this.renderer.removeStyle(containerEl.nativeElement, 'max-height');
|
|
2834
|
-
}
|
|
2835
|
-
else {
|
|
2836
|
-
this.renderer.setStyle(containerEl.nativeElement, 'max-height', height);
|
|
2837
|
-
}
|
|
2838
|
-
};
|
|
2839
|
-
SkyTextExpandAdapterService.prototype.setText = function (textEl, text) {
|
|
2840
|
-
textEl.nativeElement.textContent = text;
|
|
2841
|
-
};
|
|
2842
|
-
return SkyTextExpandAdapterService;
|
|
2843
|
-
}());
|
|
2844
|
-
SkyTextExpandAdapterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTextExpandAdapterService, deps: [{ token: i0__namespace.RendererFactory2 }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
2845
|
-
SkyTextExpandAdapterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTextExpandAdapterService });
|
|
2846
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTextExpandAdapterService, decorators: [{
|
|
2847
|
-
type: i0.Injectable
|
|
2848
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.RendererFactory2 }]; } });
|
|
2849
|
-
|
|
2850
2820
|
/**
|
|
2851
2821
|
* @internal
|
|
2852
2822
|
*/
|
|
@@ -2880,6 +2850,36 @@
|
|
|
2880
2850
|
}]
|
|
2881
2851
|
}], ctorParameters: function () { return [{ type: SkyTextExpandModalContext }, { type: i2__namespace$2.SkyModalInstance }]; } });
|
|
2882
2852
|
|
|
2853
|
+
/**
|
|
2854
|
+
* @internal
|
|
2855
|
+
*/
|
|
2856
|
+
var SkyTextExpandAdapterService = /** @class */ (function () {
|
|
2857
|
+
function SkyTextExpandAdapterService(rendererFactory) {
|
|
2858
|
+
this.rendererFactory = rendererFactory;
|
|
2859
|
+
this.renderer = this.rendererFactory.createRenderer(undefined, undefined);
|
|
2860
|
+
}
|
|
2861
|
+
SkyTextExpandAdapterService.prototype.getContainerHeight = function (containerEl) {
|
|
2862
|
+
return containerEl.nativeElement.offsetHeight;
|
|
2863
|
+
};
|
|
2864
|
+
SkyTextExpandAdapterService.prototype.setContainerHeight = function (containerEl, height) {
|
|
2865
|
+
if (height === undefined) {
|
|
2866
|
+
this.renderer.removeStyle(containerEl.nativeElement, 'max-height');
|
|
2867
|
+
}
|
|
2868
|
+
else {
|
|
2869
|
+
this.renderer.setStyle(containerEl.nativeElement, 'max-height', height);
|
|
2870
|
+
}
|
|
2871
|
+
};
|
|
2872
|
+
SkyTextExpandAdapterService.prototype.setText = function (textEl, text) {
|
|
2873
|
+
textEl.nativeElement.textContent = text;
|
|
2874
|
+
};
|
|
2875
|
+
return SkyTextExpandAdapterService;
|
|
2876
|
+
}());
|
|
2877
|
+
SkyTextExpandAdapterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTextExpandAdapterService, deps: [{ token: i0__namespace.RendererFactory2 }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
2878
|
+
SkyTextExpandAdapterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTextExpandAdapterService });
|
|
2879
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyTextExpandAdapterService, decorators: [{
|
|
2880
|
+
type: i0.Injectable
|
|
2881
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.RendererFactory2 }]; } });
|
|
2882
|
+
|
|
2883
2883
|
/**
|
|
2884
2884
|
* Auto-incrementing integer used to generate unique ids for text expand components.
|
|
2885
2885
|
*/
|
|
@@ -3386,6 +3386,25 @@
|
|
|
3386
3386
|
}]
|
|
3387
3387
|
}] });
|
|
3388
3388
|
|
|
3389
|
+
/**
|
|
3390
|
+
* Specifies a container for an item in the toolbar.
|
|
3391
|
+
*/
|
|
3392
|
+
var SkyToolbarItemComponent = /** @class */ (function () {
|
|
3393
|
+
function SkyToolbarItemComponent() {
|
|
3394
|
+
}
|
|
3395
|
+
return SkyToolbarItemComponent;
|
|
3396
|
+
}());
|
|
3397
|
+
SkyToolbarItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyToolbarItemComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3398
|
+
SkyToolbarItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyToolbarItemComponent, selector: "sky-toolbar-item", ngImport: i0__namespace, 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"] });
|
|
3399
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyToolbarItemComponent, decorators: [{
|
|
3400
|
+
type: i0.Component,
|
|
3401
|
+
args: [{
|
|
3402
|
+
selector: 'sky-toolbar-item',
|
|
3403
|
+
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"],
|
|
3404
|
+
template: "<div class=\"sky-toolbar-item\">\n <ng-content></ng-content>\n</div>\n",
|
|
3405
|
+
}]
|
|
3406
|
+
}] });
|
|
3407
|
+
|
|
3389
3408
|
/**
|
|
3390
3409
|
* Specifies a section to group items within the toolbar. The section displays items in a separate horizontal row.
|
|
3391
3410
|
*/
|
|
@@ -3405,6 +3424,27 @@
|
|
|
3405
3424
|
}]
|
|
3406
3425
|
}] });
|
|
3407
3426
|
|
|
3427
|
+
/**
|
|
3428
|
+
* Adds a section on the right side of the toolbar for items that substantially alter
|
|
3429
|
+
* the view of the content container. This includes simple filters and view switchers.
|
|
3430
|
+
*/
|
|
3431
|
+
var SkyToolbarViewActionsComponent = /** @class */ (function () {
|
|
3432
|
+
function SkyToolbarViewActionsComponent() {
|
|
3433
|
+
}
|
|
3434
|
+
return SkyToolbarViewActionsComponent;
|
|
3435
|
+
}());
|
|
3436
|
+
SkyToolbarViewActionsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyToolbarViewActionsComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3437
|
+
SkyToolbarViewActionsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyToolbarViewActionsComponent, selector: "sky-toolbar-view-actions", ngImport: i0__namespace, 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__namespace.ChangeDetectionStrategy.OnPush });
|
|
3438
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyToolbarViewActionsComponent, decorators: [{
|
|
3439
|
+
type: i0.Component,
|
|
3440
|
+
args: [{
|
|
3441
|
+
selector: 'sky-toolbar-view-actions',
|
|
3442
|
+
template: "<div class=\"sky-toolbar-view-actions\">\n <ng-content></ng-content>\n</div>\n",
|
|
3443
|
+
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"],
|
|
3444
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
3445
|
+
}]
|
|
3446
|
+
}] });
|
|
3447
|
+
|
|
3408
3448
|
/**
|
|
3409
3449
|
* Displays actions for lists, records, and tiles.
|
|
3410
3450
|
*/
|
|
@@ -3431,46 +3471,6 @@
|
|
|
3431
3471
|
args: [SkyToolbarSectionComponent, { descendants: true }]
|
|
3432
3472
|
}] } });
|
|
3433
3473
|
|
|
3434
|
-
/**
|
|
3435
|
-
* Specifies a container for an item in the toolbar.
|
|
3436
|
-
*/
|
|
3437
|
-
var SkyToolbarItemComponent = /** @class */ (function () {
|
|
3438
|
-
function SkyToolbarItemComponent() {
|
|
3439
|
-
}
|
|
3440
|
-
return SkyToolbarItemComponent;
|
|
3441
|
-
}());
|
|
3442
|
-
SkyToolbarItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyToolbarItemComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3443
|
-
SkyToolbarItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyToolbarItemComponent, selector: "sky-toolbar-item", ngImport: i0__namespace, 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"] });
|
|
3444
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyToolbarItemComponent, decorators: [{
|
|
3445
|
-
type: i0.Component,
|
|
3446
|
-
args: [{
|
|
3447
|
-
selector: 'sky-toolbar-item',
|
|
3448
|
-
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"],
|
|
3449
|
-
template: "<div class=\"sky-toolbar-item\">\n <ng-content></ng-content>\n</div>\n",
|
|
3450
|
-
}]
|
|
3451
|
-
}] });
|
|
3452
|
-
|
|
3453
|
-
/**
|
|
3454
|
-
* Adds a section on the right side of the toolbar for items that substantially alter
|
|
3455
|
-
* the view of the content container. This includes simple filters and view switchers.
|
|
3456
|
-
*/
|
|
3457
|
-
var SkyToolbarViewActionsComponent = /** @class */ (function () {
|
|
3458
|
-
function SkyToolbarViewActionsComponent() {
|
|
3459
|
-
}
|
|
3460
|
-
return SkyToolbarViewActionsComponent;
|
|
3461
|
-
}());
|
|
3462
|
-
SkyToolbarViewActionsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyToolbarViewActionsComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3463
|
-
SkyToolbarViewActionsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyToolbarViewActionsComponent, selector: "sky-toolbar-view-actions", ngImport: i0__namespace, 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__namespace.ChangeDetectionStrategy.OnPush });
|
|
3464
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyToolbarViewActionsComponent, decorators: [{
|
|
3465
|
-
type: i0.Component,
|
|
3466
|
-
args: [{
|
|
3467
|
-
selector: 'sky-toolbar-view-actions',
|
|
3468
|
-
template: "<div class=\"sky-toolbar-view-actions\">\n <ng-content></ng-content>\n</div>\n",
|
|
3469
|
-
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"],
|
|
3470
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
3471
|
-
}]
|
|
3472
|
-
}] });
|
|
3473
|
-
|
|
3474
3474
|
var SkyToolbarModule = /** @class */ (function () {
|
|
3475
3475
|
function SkyToolbarModule() {
|
|
3476
3476
|
}
|