@skyux/modals 5.0.0-beta.5 → 5.0.0-beta.6

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.
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@skyux/theme'), require('@angular/router'), require('@skyux/indicators'), require('@skyux/i18n'), require('rxjs/operators'), require('@skyux/core'), require('rxjs'), require('@angular/animations')) :
3
3
  typeof define === 'function' && define.amd ? define('@skyux/modals', ['exports', '@angular/core', '@angular/common', '@skyux/theme', '@angular/router', '@skyux/indicators', '@skyux/i18n', 'rxjs/operators', '@skyux/core', 'rxjs', '@angular/animations'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.skyux = global.skyux || {}, global.skyux.modals = {}), global.ng.core, global.ng.common, global.i1, global.ng.router, global.i5, global.i3, global.rxjs.operators, global.i1$1, global.rxjs, global.ng.animations));
5
- }(this, (function (exports, i0, i6, i1, i2, i5, i3, operators, i1$1, rxjs, animations) { 'use strict';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.skyux = global.skyux || {}, global.skyux.modals = {}), global.ng.core, global.ng.common, global.i1, global.ng.router, global.i5, global.i3, global.rxjs.operators, global.i3$1, global.rxjs, global.ng.animations));
5
+ }(this, (function (exports, i0, i6, i1, i2, i5, i3, operators, i3$1, rxjs, animations) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -29,8 +29,8 @@
29
29
  var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
30
30
  var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
31
31
  var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
32
- var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
33
- var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
32
+ var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3);
33
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3$1);
34
34
 
35
35
  var SkyConfirmInstance = /** @class */ (function () {
36
36
  function SkyConfirmInstance() {
@@ -101,14 +101,14 @@
101
101
  }
102
102
  return SkyModalsResourcesModule;
103
103
  }());
104
- SkyModalsResourcesModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalsResourcesModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
105
- SkyModalsResourcesModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalsResourcesModule, exports: [i3.SkyI18nModule] });
106
- SkyModalsResourcesModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalsResourcesModule, providers: [{
104
+ SkyModalsResourcesModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalsResourcesModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
105
+ SkyModalsResourcesModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalsResourcesModule, exports: [i3.SkyI18nModule] });
106
+ SkyModalsResourcesModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalsResourcesModule, providers: [{
107
107
  provide: i3.SKY_LIB_RESOURCES_PROVIDERS,
108
108
  useClass: SkyModalsResourcesProvider,
109
109
  multi: true
110
110
  }], imports: [i3.SkyI18nModule] });
111
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalsResourcesModule, decorators: [{
111
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalsResourcesModule, decorators: [{
112
112
  type: i0.NgModule,
113
113
  args: [{
114
114
  exports: [i3.SkyI18nModule],
@@ -128,9 +128,9 @@
128
128
  }
129
129
  return SkyModalContentComponent;
130
130
  }());
131
- SkyModalContentComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalContentComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
132
- SkyModalContentComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.5", type: SkyModalContentComponent, selector: "sky-modal-content", ngImport: i0__namespace, template: "<ng-content></ng-content>\n", styles: ["sky-modal-content{display:block;min-height:100%}.sky-theme-modern sky-modal-content{padding:10px 30px 30px}\n"], encapsulation: i0__namespace.ViewEncapsulation.None });
133
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalContentComponent, decorators: [{
131
+ SkyModalContentComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalContentComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
132
+ SkyModalContentComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: SkyModalContentComponent, selector: "sky-modal-content", ngImport: i0__namespace, template: "<ng-content></ng-content>\n", styles: ["sky-modal-content{display:block;min-height:100%}.sky-theme-modern sky-modal-content{padding:10px 30px 30px}\n"], encapsulation: i0__namespace.ViewEncapsulation.None });
133
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalContentComponent, decorators: [{
134
134
  type: i0.Component,
135
135
  args: [{
136
136
  selector: 'sky-modal-content',
@@ -148,9 +148,9 @@
148
148
  }
149
149
  return SkyModalFooterComponent;
150
150
  }());
151
- SkyModalFooterComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalFooterComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
152
- SkyModalFooterComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.5", type: SkyModalFooterComponent, selector: "sky-modal-footer", ngImport: i0__namespace, template: "<div class=\"sky-modal-footer-container sky-padding-even-large\">\n <ng-content></ng-content>\n</div>\n", styles: [".sky-modal-footer-container{background-color:#fff;border-top:1px solid #e2e3e4}.sky-modal-footer-container ::ng-deep .sky-btn-link:first-child{margin-left:-12px}:host-context(.sky-theme-modern) .sky-modal-footer-container{border-top:none;padding:20px 30px}.sky-theme-modern .sky-modal-footer-container{border-top:none;padding:20px 30px}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-modal-footer-container{background-color:transparent}.sky-theme-modern.sky-theme-mode-dark .sky-modal-footer-container{background-color:transparent}\n"] });
153
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalFooterComponent, decorators: [{
151
+ SkyModalFooterComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalFooterComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
152
+ SkyModalFooterComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: SkyModalFooterComponent, selector: "sky-modal-footer", ngImport: i0__namespace, template: "<div class=\"sky-modal-footer-container sky-padding-even-large\">\n <ng-content></ng-content>\n</div>\n", styles: [".sky-modal-footer-container{background-color:#fff;border-top:1px solid #e2e3e4}.sky-modal-footer-container ::ng-deep .sky-btn-link:first-child{margin-left:-12px}:host-context(.sky-theme-modern) .sky-modal-footer-container{border-top:none;padding:20px 30px}.sky-theme-modern .sky-modal-footer-container{border-top:none;padding:20px 30px}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-modal-footer-container{background-color:transparent}.sky-theme-modern.sky-theme-mode-dark .sky-modal-footer-container{background-color:transparent}\n"] });
153
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalFooterComponent, decorators: [{
154
154
  type: i0.Component,
155
155
  args: [{
156
156
  selector: 'sky-modal-footer',
@@ -167,9 +167,9 @@
167
167
  }
168
168
  return SkyModalHeaderComponent;
169
169
  }());
170
- SkyModalHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalHeaderComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
171
- SkyModalHeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.5", type: SkyModalHeaderComponent, selector: "sky-modal-header", ngImport: i0__namespace, template: "<h1\n class=\"sky-emphasized\"\n [skyThemeClass]=\"{\n 'sky-font-display-3': 'modern'\n }\"\n>\n <ng-content></ng-content>\n</h1>\n", styles: ["h1{margin:0;line-height:1.2}:host-context(.sky-theme-modern.sky-theme-mode-dark) h1{color:#fbfcfe}.sky-theme-modern.sky-theme-mode-dark h1{color:#fbfcfe}\n"], directives: [{ type: i1__namespace.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }] });
172
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalHeaderComponent, decorators: [{
170
+ SkyModalHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalHeaderComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
171
+ SkyModalHeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: SkyModalHeaderComponent, selector: "sky-modal-header", ngImport: i0__namespace, template: "<h1\n class=\"sky-emphasized\"\n [skyThemeClass]=\"{\n 'sky-font-display-3': 'modern'\n }\"\n>\n <ng-content></ng-content>\n</h1>\n", styles: ["h1{margin:0;line-height:1.2}:host-context(.sky-theme-modern.sky-theme-mode-dark) h1{color:#fbfcfe}.sky-theme-modern.sky-theme-mode-dark h1{color:#fbfcfe}\n"], directives: [{ type: i1__namespace.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }] });
172
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalHeaderComponent, decorators: [{
173
173
  type: i0.Component,
174
174
  args: [{
175
175
  selector: 'sky-modal-header',
@@ -218,11 +218,11 @@
218
218
  }());
219
219
  SkyModalAdapterService.MODAL_BODY_FULL_CLASS = 'sky-modal-body-full-page';
220
220
  SkyModalAdapterService.MODAL_BODY_CLASS = 'sky-modal-body-open';
221
- SkyModalAdapterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalAdapterService, deps: [{ token: i1__namespace$1.SkyAppWindowRef }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
222
- SkyModalAdapterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalAdapterService });
223
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalAdapterService, decorators: [{
221
+ SkyModalAdapterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalAdapterService, deps: [{ token: i3__namespace.SkyAppWindowRef }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
222
+ SkyModalAdapterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalAdapterService });
223
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalAdapterService, decorators: [{
224
224
  type: i0.Injectable
225
- }], ctorParameters: function () { return [{ type: i1__namespace$1.SkyAppWindowRef }]; } });
225
+ }], ctorParameters: function () { return [{ type: i3__namespace.SkyAppWindowRef }]; } });
226
226
 
227
227
  /**
228
228
  * @internal
@@ -288,9 +288,9 @@
288
288
  return SkyModalHostService;
289
289
  }());
290
290
  SkyModalHostService.modalHosts = [];
291
- SkyModalHostService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalHostService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
292
- SkyModalHostService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalHostService, providedIn: 'root' });
293
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalHostService, decorators: [{
291
+ SkyModalHostService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalHostService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
292
+ SkyModalHostService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalHostService, providedIn: 'root' });
293
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalHostService, decorators: [{
294
294
  type: i0.Injectable,
295
295
  args: [{
296
296
  providedIn: 'root'
@@ -307,9 +307,9 @@
307
307
  }
308
308
  return SkyModalConfiguration;
309
309
  }());
310
- SkyModalConfiguration.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalConfiguration, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
311
- SkyModalConfiguration.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalConfiguration, providedIn: 'any' });
312
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalConfiguration, decorators: [{
310
+ SkyModalConfiguration.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalConfiguration, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
311
+ SkyModalConfiguration.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalConfiguration, providedIn: 'any' });
312
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalConfiguration, decorators: [{
313
313
  type: i0.Injectable,
314
314
  args: [{
315
315
  providedIn: 'any'
@@ -400,9 +400,9 @@
400
400
  };
401
401
  return SkyModalHostComponent;
402
402
  }());
403
- SkyModalHostComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalHostComponent, deps: [{ token: i0__namespace.ComponentFactoryResolver }, { token: SkyModalAdapterService }, { token: i0__namespace.Injector }, { token: i2__namespace.Router }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
404
- SkyModalHostComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.5", type: SkyModalHostComponent, selector: "sky-modal-host", viewQueries: [{ propertyName: "target", first: true, predicate: ["target"], descendants: true, read: i0.ViewContainerRef, static: true }], ngImport: i0__namespace, template: "<div\n class=\"sky-modal-host-backdrop\"\n [hidden]=\"!modalOpen\"\n [ngStyle]=\"{\n zIndex: backdropZIndex\n }\"\n>\n</div>\n<div #target></div>\n", styles: [".sky-modal-host-backdrop{background-color:#00000080;position:fixed;top:0;left:0;bottom:0;right:0}\n"], directives: [{ type: i6__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], viewProviders: [SkyModalAdapterService] });
405
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalHostComponent, decorators: [{
403
+ SkyModalHostComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalHostComponent, deps: [{ token: i0__namespace.ComponentFactoryResolver }, { token: SkyModalAdapterService }, { token: i0__namespace.Injector }, { token: i2__namespace.Router }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
404
+ SkyModalHostComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: SkyModalHostComponent, selector: "sky-modal-host", viewQueries: [{ propertyName: "target", first: true, predicate: ["target"], descendants: true, read: i0.ViewContainerRef, static: true }], ngImport: i0__namespace, template: "<div\n class=\"sky-modal-host-backdrop\"\n [hidden]=\"!modalOpen\"\n [ngStyle]=\"{\n zIndex: backdropZIndex\n }\"\n>\n</div>\n<div #target></div>\n", styles: [".sky-modal-host-backdrop{background-color:#00000080;position:fixed;top:0;left:0;bottom:0;right:0}\n"], directives: [{ type: i6__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], viewProviders: [SkyModalAdapterService] });
405
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalHostComponent, decorators: [{
406
406
  type: i0.Component,
407
407
  args: [{
408
408
  selector: 'sky-modal-host',
@@ -518,9 +518,9 @@
518
518
  };
519
519
  return SkyModalScrollShadowDirective;
520
520
  }());
521
- SkyModalScrollShadowDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalScrollShadowDirective, deps: [{ token: i0__namespace.ElementRef }, { token: i1__namespace.SkyThemeService, optional: true }, { token: i1__namespace$1.MutationObserverService }, { token: i0__namespace.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Directive });
522
- SkyModalScrollShadowDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: SkyModalScrollShadowDirective, selector: "[skyModalScrollShadow]", outputs: { skyModalScrollShadow: "skyModalScrollShadow" }, host: { listeners: { "window:resize": "windowResize()", "scroll": "scroll()" } }, ngImport: i0__namespace });
523
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalScrollShadowDirective, decorators: [{
521
+ SkyModalScrollShadowDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalScrollShadowDirective, deps: [{ token: i0__namespace.ElementRef }, { token: i1__namespace.SkyThemeService, optional: true }, { token: i3__namespace.MutationObserverService }, { token: i0__namespace.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Directive });
522
+ SkyModalScrollShadowDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: SkyModalScrollShadowDirective, selector: "[skyModalScrollShadow]", outputs: { skyModalScrollShadow: "skyModalScrollShadow" }, host: { listeners: { "window:resize": "windowResize()", "scroll": "scroll()" } }, ngImport: i0__namespace });
523
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalScrollShadowDirective, decorators: [{
524
524
  type: i0.Directive,
525
525
  args: [{
526
526
  selector: '[skyModalScrollShadow]'
@@ -528,7 +528,7 @@
528
528
  }], ctorParameters: function () {
529
529
  return [{ type: i0__namespace.ElementRef }, { type: i1__namespace.SkyThemeService, decorators: [{
530
530
  type: i0.Optional
531
- }] }, { type: i1__namespace$1.MutationObserverService }, { type: i0__namespace.NgZone }];
531
+ }] }, { type: i3__namespace.MutationObserverService }, { type: i0__namespace.NgZone }];
532
532
  }, propDecorators: { skyModalScrollShadow: [{
533
533
  type: i0.Output
534
534
  }], windowResize: [{
@@ -539,16 +539,12 @@
539
539
  args: ['scroll']
540
540
  }] } });
541
541
 
542
- /* tslint:disable */
543
- var tabbableSelector = 'a[href], area[href], input:not([disabled]):not([tabindex=\'-1\']), ' +
544
- 'button:not([disabled]):not([tabindex=\'-1\']),select:not([disabled]):not([tabindex=\'-1\']), textarea:not([disabled]):not([tabindex=\'-1\']), ' +
545
- 'iframe, object, embed, *[tabindex]:not([tabindex=\'-1\']), *[contenteditable=true]';
546
- /* tslint:enable */
547
542
  /**
548
543
  * @internal
549
544
  */
550
545
  var SkyModalComponentAdapterService = /** @class */ (function () {
551
- function SkyModalComponentAdapterService() {
546
+ function SkyModalComponentAdapterService(coreAdapter) {
547
+ this.coreAdapter = coreAdapter;
552
548
  }
553
549
  SkyModalComponentAdapterService.prototype.handleWindowChange = function (modalEl) {
554
550
  var boundedHeightEl = modalEl.nativeElement.querySelector('.sky-modal');
@@ -571,9 +567,6 @@
571
567
  modalContentEl.style.maxHeight = contentHeight.toString() + 'px';
572
568
  }
573
569
  };
574
- SkyModalComponentAdapterService.prototype.loadFocusElementList = function (modalEl) {
575
- return this.loadFocusableChildren(modalEl.nativeElement);
576
- };
577
570
  SkyModalComponentAdapterService.prototype.isFocusInFirstItem = function (event, list) {
578
571
  /* istanbul ignore next */
579
572
  /* sanity check */
@@ -618,36 +611,11 @@
618
611
  inputWithAutofocus.focus();
619
612
  }
620
613
  else {
621
- var focusEl = modalEl.nativeElement.querySelector('.sky-modal-content');
622
- var focusableChildren = this.loadFocusableChildren(focusEl);
623
- // Focus first focusable child if available. Otherwise focus content pane.
624
- if (!this.focusFirstElement(focusableChildren)) {
625
- focusEl.focus();
626
- }
614
+ this.coreAdapter.getFocusableChildrenAndApplyFocus(modalEl, '.sky-modal-content', true);
627
615
  }
628
616
  window.scrollTo(currentScrollX, currentScrollY);
629
617
  }
630
618
  };
631
- SkyModalComponentAdapterService.prototype.loadFocusableChildren = function (elem) {
632
- var _this = this;
633
- var elements = Array.prototype.slice.call(elem.querySelectorAll(tabbableSelector));
634
- return elements.filter(function (element) {
635
- return _this.isVisible(element);
636
- });
637
- };
638
- SkyModalComponentAdapterService.prototype.isVisible = function (element) {
639
- var style = window.getComputedStyle(element);
640
- var isHidden = style.display === 'none' || style.visibility === 'hidden';
641
- if (isHidden) {
642
- return false;
643
- }
644
- var hasBounds = !!(element.offsetWidth ||
645
- /* istanbul ignore next */
646
- element.offsetHeight ||
647
- /* istanbul ignore next */
648
- element.getClientRects().length);
649
- return hasBounds;
650
- };
651
619
  SkyModalComponentAdapterService.prototype.setFullPageHeight = function (fullPageModalEl) {
652
620
  var windowHeight = window.innerHeight;
653
621
  var fullPageModalStyle = getComputedStyle(fullPageModalEl);
@@ -659,11 +627,11 @@
659
627
  };
660
628
  return SkyModalComponentAdapterService;
661
629
  }());
662
- SkyModalComponentAdapterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalComponentAdapterService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
663
- SkyModalComponentAdapterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalComponentAdapterService });
664
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalComponentAdapterService, decorators: [{
630
+ SkyModalComponentAdapterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalComponentAdapterService, deps: [{ token: i3__namespace.SkyCoreAdapterService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
631
+ SkyModalComponentAdapterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalComponentAdapterService });
632
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalComponentAdapterService, decorators: [{
665
633
  type: i0.Injectable
666
- }], ctorParameters: function () { return []; } });
634
+ }], ctorParameters: function () { return [{ type: i3__namespace.SkyCoreAdapterService }]; } });
667
635
 
668
636
  var skyAnimationModalState = animations.trigger('modalState', [
669
637
  animations.state('in', animations.style({ opacity: '1.0' })),
@@ -685,12 +653,14 @@
685
653
  * [write unit tests for modals](https://developer.blackbaud.com/skyux/learn/get-started/advanced/unit-test-modals).
686
654
  */
687
655
  var SkyModalComponent = /** @class */ (function () {
688
- function SkyModalComponent(hostService, config, elRef, windowRef, componentAdapter) {
656
+ function SkyModalComponent(hostService, config, elRef, windowRef, componentAdapter, coreAdapter, dockService) {
689
657
  this.hostService = hostService;
690
658
  this.config = config;
691
659
  this.elRef = elRef;
692
660
  this.windowRef = windowRef;
693
661
  this.componentAdapter = componentAdapter;
662
+ this.coreAdapter = coreAdapter;
663
+ this.dockService = dockService;
694
664
  this.modalState = 'in';
695
665
  this.modalContentId = 'sky-modal-content-id-' + skyModalUniqueIdentifier.toString();
696
666
  this.modalHeaderId = 'sky-modal-header-id-' + skyModalUniqueIdentifier.toString();
@@ -802,7 +772,7 @@
802
772
  if (topModal && topModal === this.hostService) {
803
773
  if (event.which === 9) { // Tab pressed
804
774
  var focusChanged = false;
805
- var focusElementList = this.componentAdapter.loadFocusElementList(this.elRef);
775
+ var focusElementList = this.coreAdapter.getFocusableChildren(this.elRef.nativeElement);
806
776
  if (event.shiftKey &&
807
777
  (this.componentAdapter.isFocusInFirstItem(event, focusElementList) ||
808
778
  this.componentAdapter.isModalFocused(event, this.elRef))) {
@@ -828,6 +798,11 @@
828
798
  this.windowRef.nativeWindow.setTimeout(function () {
829
799
  _this.componentAdapter.modalOpened(_this.elRef);
830
800
  });
801
+ this.dockService.setDockOptions({
802
+ location: i3$1.SkyDockLocation.ElementBottom,
803
+ referenceEl: this.modalContentWrapperElement.nativeElement,
804
+ zIndex: 5
805
+ });
831
806
  };
832
807
  SkyModalComponent.prototype.helpButtonClick = function () {
833
808
  this.hostService.onOpenHelp(this.helpKey);
@@ -846,13 +821,14 @@
846
821
  };
847
822
  return SkyModalComponent;
848
823
  }());
849
- SkyModalComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalComponent, deps: [{ token: SkyModalHostService }, { token: SkyModalConfiguration }, { token: i0__namespace.ElementRef }, { token: i1__namespace$1.SkyAppWindowRef }, { token: SkyModalComponentAdapterService }], target: i0__namespace.ɵɵFactoryTarget.Component });
850
- SkyModalComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.5", type: SkyModalComponent, selector: "sky-modal", inputs: { ariaRole: "ariaRole", tiledBody: "tiledBody" }, host: { listeners: { "document:keyup": "onDocumentKeyUp($event)", "document:keydown": "onDocumentKeyDown($event)" } }, providers: [
851
- SkyModalComponentAdapterService
852
- ], ngImport: i0__namespace, template: "<!--\n Animations are broken in Chrome v52. Angular 2 RC5 will fix it.\n https://github.com/angular/angular/issues/10245\n-->\n<!--<div @modalState=\"modalState\">-->\n\n<div\n class=\"sky-modal-dialog\"\n aria-modal=\"true\"\n [attr.aria-describedby]=\"ariaDescribedBy\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.role]=\"ariaRole\"\n (window:resize)=\"windowResize()\"\n>\n <div\n class=\"sky-modal sky-shadow sky-box sky-elevation-16\"\n tabindex=\"-1\"\n [ngClass]=\"{\n 'sky-modal-full-page': modalFullPage,\n 'sky-modal-small' : isSmallSize,\n 'sky-modal-medium' : isMediumSize,\n 'sky-modal-large' : isLargeSize,\n 'sky-modal-tiled' : isTiledBody\n }\"\n [ngStyle]=\"{\n zIndex: modalZIndex\n }\">\n\n <div\n class=\"sky-modal-header\"\n [hidden]=\"!headerContent || !headerContent.children || headerContent.children.length &lt; 1\"\n [ngStyle]=\"{\n 'box-shadow': scrollShadow?.topShadow\n }\"\n >\n <div\n class=\"sky-modal-header-content\"\n [attr.id]=\"modalHeaderId\"\n [ngClass]=\"{\n 'sky-section-heading': modalFullPage\n }\"\n #headerContent\n >\n <ng-content select=\"sky-modal-header\"></ng-content>\n </div>\n <div class=\"sky-modal-header-buttons\">\n <button *ngIf=\"helpKey\"\n class=\"sky-btn sky-modal-btn-help\"\n name=\"help-button\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_modal_open_help' | skyLibResources\"\n (click)=\"helpButtonClick()\"\n >\n <sky-icon icon=\"question-circle\"></sky-icon>\n </button>\n\n <button type=\"button\" class=\"sky-btn sky-modal-btn-close\" [attr.aria-label]=\"'skyux_modal_close' | skyLibResources\" (click)=\"closeButtonClick()\">\n <sky-icon icon=\"close\"></sky-icon>\n </button>\n </div>\n\n </div>\n <div\n class=\"sky-modal-content sky-padding-even-large\"\n role=\"region\"\n tabindex=\"0\"\n [attr.aria-labelledby]=\"modalHeaderId\"\n [attr.id]=\"modalContentId\"\n (skyModalScrollShadow)=\"scrollShadowChange($event)\"\n >\n <ng-content select=\"sky-modal-content\"></ng-content>\n </div>\n <div\n class=\"sky-modal-footer\"\n [ngStyle]=\"{\n 'box-shadow': scrollShadow?.bottomShadow\n }\"\n >\n <ng-content select=\"sky-modal-footer\"></ng-content>\n </div>\n </div>\n</div>\n", styles: [".sky-modal{border-top:1px solid #cdcfd2;border-bottom:1px solid #cdcfd2;border-left:1px solid #cdcfd2;border-right:1px solid #cdcfd2;position:fixed;width:auto;left:0;right:0;top:20px;margin:10px;display:flex;flex-direction:column;overflow:hidden}.sky-modal:focus{outline:none}@media (min-width: 768px){.sky-modal:not(.sky-modal-large){margin:0 auto}.sky-modal-small{width:300px}.sky-modal-small .sky-modal-content,.sky-modal-small .sky-modal-header,.sky-modal-small .sky-modal-footer{max-width:300px}.sky-modal-medium{width:600px}.sky-modal-medium .sky-modal-content,.sky-modal-medium .sky-modal-header,.sky-modal-medium .sky-modal-footer{max-width:600px}}@media (min-width: 920px){.sky-modal-large{margin:0 auto;width:900px}.sky-modal-large .sky-modal-content,.sky-modal-large .sky-modal-header,.sky-modal-large .sky-modal-footer{max-width:900px}}.sky-modal-content{background-color:#fff}.sky-modal-content:focus{outline-style:dotted;outline-width:thin;outline-offset:-1px}.sky-modal-tiled .sky-modal-content{background-color:#eeeeef}.sky-modal-tiled .sky-modal-content ::ng-deep .sky-tile-title{font-family:\"BLKB Sans\",\"Helvetica Neue\",Arial,sans-serif;color:#686c73;font-weight:300;font-size:19px}.sky-modal-header{padding:9px 3px 9px 15px;background-color:#fff;display:flex;align-items:baseline;border-bottom:1px solid #e2e3e4}.sky-modal-header-buttons{flex-shrink:.0001}.sky-modal-header-buttons .sky-btn{border:none;color:#cdcfd2;cursor:pointer}.sky-modal-header-buttons .sky-btn:hover{color:#979ba2;transition:color .15s}.sky-modal-header-content{flex-grow:1}.sky-modal-header{flex-shrink:0;z-index:2}.sky-modal-content{overflow-y:auto}.sky-modal-footer{flex-shrink:0;z-index:2}.sky-modal-footer ::ng-deep sky-tabset-nav-button+sky-tabset-nav-button{margin-left:10px}.sky-modal-footer ::ng-deep sky-tabset-nav-button+.sky-btn{margin-left:10px}.sky-modal-footer ::ng-deep .sky-btn+.sky-btn{margin-left:10px}.sky-modal-footer ::ng-deep .sky-btn+.sky-btn-link{margin-left:-2px}.sky-modal-full-page{width:100%;top:0;margin:0}.sky-modal-full-page .sky-modal-header-buttons sky-icon[icon=close]{font-size:20px}.sky-modal-full-page .sky-modal-content{flex-grow:1}:host ::ng-deep .sky-sectioned-form{min-height:460px;margin:-15px}:host-context(.sky-theme-modern) .sky-modal-header{border:none;padding:20px 30px}:host-context(.sky-theme-modern) .sky-modal-btn-help,:host-context(.sky-theme-modern) .sky-modal-btn-close{display:none}:host-context(.sky-theme-modern) .sky-modal-content{padding:0}:host-context(.sky-theme-modern) .sky-modal-full-page{width:calc(100% - (60px));margin:30px}.sky-theme-modern .sky-modal-header{border:none;padding:20px 30px}.sky-theme-modern .sky-modal-btn-help,.sky-theme-modern .sky-modal-btn-close{display:none}.sky-theme-modern .sky-modal-content{padding:0}.sky-theme-modern .sky-modal-full-page{width:calc(100% - (60px));margin:30px}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-modal{border-color:#121212}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-modal-header{color:#fbfcfe}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-modal-header,:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-modal-content{background-color:transparent}.sky-theme-modern.sky-theme-mode-dark .sky-modal{border-color:#121212}.sky-theme-modern.sky-theme-mode-dark .sky-modal-header{color:#fbfcfe}.sky-theme-modern.sky-theme-mode-dark .sky-modal-header,.sky-theme-modern.sky-theme-mode-dark .sky-modal-content{background-color:transparent}\n"], components: [{ type: i5__namespace.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }], directives: [{ type: i6__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i6__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: SkyModalScrollShadowDirective, selector: "[skyModalScrollShadow]", outputs: ["skyModalScrollShadow"] }], pipes: { "skyLibResources": i3__namespace.SkyLibResourcesPipe }, animations: [
824
+ SkyModalComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalComponent, deps: [{ token: SkyModalHostService }, { token: SkyModalConfiguration }, { token: i0__namespace.ElementRef }, { token: i3__namespace.SkyAppWindowRef }, { token: SkyModalComponentAdapterService }, { token: i3__namespace.SkyCoreAdapterService }, { token: i3__namespace.SkyDockService, host: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
825
+ SkyModalComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: SkyModalComponent, selector: "sky-modal", inputs: { ariaRole: "ariaRole", tiledBody: "tiledBody" }, host: { listeners: { "document:keyup": "onDocumentKeyUp($event)", "document:keydown": "onDocumentKeyDown($event)" } }, providers: [
826
+ SkyModalComponentAdapterService,
827
+ i3$1.SkyDockService
828
+ ], viewQueries: [{ propertyName: "modalContentWrapperElement", first: true, predicate: ["modalContentWrapper"], descendants: true, read: i0.ElementRef }], ngImport: i0__namespace, template: "<!--\n Animations are broken in Chrome v52. Angular 2 RC5 will fix it.\n https://github.com/angular/angular/issues/10245\n-->\n<!--<div @modalState=\"modalState\">-->\n\n<div\n class=\"sky-modal-dialog\"\n aria-modal=\"true\"\n [attr.aria-describedby]=\"ariaDescribedBy\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.role]=\"ariaRole\"\n (window:resize)=\"windowResize()\"\n>\n <div\n class=\"sky-modal sky-shadow sky-box sky-elevation-16\"\n tabindex=\"-1\"\n [ngClass]=\"{\n 'sky-modal-full-page': modalFullPage,\n 'sky-modal-small' : isSmallSize,\n 'sky-modal-medium' : isMediumSize,\n 'sky-modal-large' : isLargeSize,\n 'sky-modal-tiled' : isTiledBody\n }\"\n [ngStyle]=\"{\n zIndex: modalZIndex\n }\">\n\n <div\n class=\"sky-modal-header\"\n [hidden]=\"!headerContent || !headerContent.children || headerContent.children.length &lt; 1\"\n [ngStyle]=\"{\n 'box-shadow': scrollShadow?.topShadow\n }\"\n >\n <div\n class=\"sky-modal-header-content\"\n [attr.id]=\"modalHeaderId\"\n [ngClass]=\"{\n 'sky-section-heading': modalFullPage\n }\"\n #headerContent\n >\n <ng-content select=\"sky-modal-header\"></ng-content>\n </div>\n <div class=\"sky-modal-header-buttons\">\n <button *ngIf=\"helpKey\"\n class=\"sky-btn sky-modal-btn-help\"\n name=\"help-button\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_modal_open_help' | skyLibResources\"\n (click)=\"helpButtonClick()\"\n >\n <sky-icon icon=\"question-circle\"></sky-icon>\n </button>\n\n <button type=\"button\" class=\"sky-btn sky-modal-btn-close\" [attr.aria-label]=\"'skyux_modal_close' | skyLibResources\" (click)=\"closeButtonClick()\">\n <sky-icon icon=\"close\"></sky-icon>\n </button>\n </div>\n\n </div>\n <div\n class=\"sky-modal-content sky-padding-even-large\"\n role=\"region\"\n tabindex=\"0\"\n [attr.aria-labelledby]=\"modalHeaderId\"\n [attr.id]=\"modalContentId\"\n (skyModalScrollShadow)=\"scrollShadowChange($event)\"\n #modalContentWrapper\n >\n <ng-content select=\"sky-modal-content\"></ng-content>\n </div>\n <div\n class=\"sky-modal-footer\"\n [ngStyle]=\"{\n 'box-shadow': scrollShadow?.bottomShadow\n }\"\n >\n <ng-content select=\"sky-modal-footer\"></ng-content>\n </div>\n </div>\n</div>\n", styles: [".sky-modal{border-top:1px solid #cdcfd2;border-bottom:1px solid #cdcfd2;border-left:1px solid #cdcfd2;border-right:1px solid #cdcfd2;position:fixed;width:auto;left:0;right:0;top:20px;margin:10px;display:flex;flex-direction:column;overflow:hidden}.sky-modal:focus{outline:none}@media (min-width: 768px){.sky-modal:not(.sky-modal-large){margin:0 auto}.sky-modal-small{width:300px}.sky-modal-small .sky-modal-content,.sky-modal-small .sky-modal-header,.sky-modal-small .sky-modal-footer{max-width:300px}.sky-modal-medium{width:600px}.sky-modal-medium .sky-modal-content,.sky-modal-medium .sky-modal-header,.sky-modal-medium .sky-modal-footer{max-width:600px}}@media (min-width: 920px){.sky-modal-large{margin:0 auto;width:900px}.sky-modal-large .sky-modal-content,.sky-modal-large .sky-modal-header,.sky-modal-large .sky-modal-footer{max-width:900px}}.sky-modal-content{background-color:#fff}.sky-modal-content:focus{outline-style:dotted;outline-width:thin;outline-offset:-1px}.sky-modal-tiled .sky-modal-content{background-color:#eeeeef}.sky-modal-tiled .sky-modal-content ::ng-deep .sky-tile-title{font-family:\"BLKB Sans\",\"Helvetica Neue\",Arial,sans-serif;color:#686c73;font-weight:300;font-size:19px}.sky-modal-header{padding:9px 3px 9px 15px;background-color:#fff;display:flex;align-items:baseline;border-bottom:1px solid #e2e3e4}.sky-modal-header-buttons{flex-shrink:.0001}.sky-modal-header-buttons .sky-btn{border:none;color:#cdcfd2;cursor:pointer}.sky-modal-header-buttons .sky-btn:hover{color:#979ba2;transition:color .15s}.sky-modal-header-content{flex-grow:1}.sky-modal-header{flex-shrink:0;z-index:2}.sky-modal-content{overflow-y:auto}.sky-modal-footer{flex-shrink:0;z-index:2}.sky-modal-footer ::ng-deep sky-tabset-nav-button+sky-tabset-nav-button{margin-left:10px}.sky-modal-footer ::ng-deep sky-tabset-nav-button+.sky-btn{margin-left:10px}.sky-modal-footer ::ng-deep .sky-btn+.sky-btn{margin-left:10px}.sky-modal-footer ::ng-deep .sky-btn+.sky-btn-link{margin-left:-2px}.sky-modal-full-page{width:100%;top:0;margin:0}.sky-modal-full-page .sky-modal-header-buttons sky-icon[icon=close]{font-size:20px}.sky-modal-full-page .sky-modal-content{flex-grow:1}:host ::ng-deep .sky-sectioned-form{min-height:460px;margin:-15px}.sky-modal-content>::ng-deep sky-dock{bottom:-15px;margin-left:-15px;margin-bottom:-15px;padding-top:15px;width:calc(100% + 30px)}:host-context(.sky-theme-modern) .sky-modal-header{border:none;padding:20px 30px}:host-context(.sky-theme-modern) .sky-modal-btn-help,:host-context(.sky-theme-modern) .sky-modal-btn-close{display:none}:host-context(.sky-theme-modern) .sky-modal-content{padding:0}:host-context(.sky-theme-modern) .sky-modal-full-page{width:calc(100% - (60px));margin:30px}:host-context(.sky-theme-modern) .sky-modal-content>::ng-deep sky-dock{bottom:0;margin-left:initial;margin-bottom:initial;padding-top:initial;width:100%}.sky-theme-modern .sky-modal-header{border:none;padding:20px 30px}.sky-theme-modern .sky-modal-btn-help,.sky-theme-modern .sky-modal-btn-close{display:none}.sky-theme-modern .sky-modal-content{padding:0}.sky-theme-modern .sky-modal-full-page{width:calc(100% - (60px));margin:30px}.sky-theme-modern .sky-modal-content>::ng-deep sky-dock{bottom:0;margin-left:initial;margin-bottom:initial;padding-top:initial;width:100%}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-modal{border-color:#121212}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-modal-header{color:#fbfcfe}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-modal-header,:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-modal-content{background-color:transparent}.sky-theme-modern.sky-theme-mode-dark .sky-modal{border-color:#121212}.sky-theme-modern.sky-theme-mode-dark .sky-modal-header{color:#fbfcfe}.sky-theme-modern.sky-theme-mode-dark .sky-modal-header,.sky-theme-modern.sky-theme-mode-dark .sky-modal-content{background-color:transparent}\n"], components: [{ type: i5__namespace.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }], directives: [{ type: i6__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i6__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: SkyModalScrollShadowDirective, selector: "[skyModalScrollShadow]", outputs: ["skyModalScrollShadow"] }], pipes: { "skyLibResources": i3__namespace$1.SkyLibResourcesPipe }, animations: [
853
829
  skyAnimationModalState
854
830
  ] });
855
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalComponent, decorators: [{
831
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalComponent, decorators: [{
856
832
  type: i0.Component,
857
833
  args: [{
858
834
  selector: 'sky-modal',
@@ -862,13 +838,21 @@
862
838
  skyAnimationModalState
863
839
  ],
864
840
  providers: [
865
- SkyModalComponentAdapterService
841
+ SkyModalComponentAdapterService,
842
+ i3$1.SkyDockService
866
843
  ]
867
844
  }]
868
- }], ctorParameters: function () { return [{ type: SkyModalHostService }, { type: SkyModalConfiguration }, { type: i0__namespace.ElementRef }, { type: i1__namespace$1.SkyAppWindowRef }, { type: SkyModalComponentAdapterService }]; }, propDecorators: { ariaRole: [{
845
+ }], ctorParameters: function () {
846
+ return [{ type: SkyModalHostService }, { type: SkyModalConfiguration }, { type: i0__namespace.ElementRef }, { type: i3__namespace.SkyAppWindowRef }, { type: SkyModalComponentAdapterService }, { type: i3__namespace.SkyCoreAdapterService }, { type: i3__namespace.SkyDockService, decorators: [{
847
+ type: i0.Host
848
+ }] }];
849
+ }, propDecorators: { ariaRole: [{
869
850
  type: i0.Input
870
851
  }], tiledBody: [{
871
852
  type: i0.Input
853
+ }], modalContentWrapperElement: [{
854
+ type: i0.ViewChild,
855
+ args: ['modalContentWrapper', { read: i0.ElementRef }]
872
856
  }], onDocumentKeyUp: [{
873
857
  type: i0.HostListener,
874
858
  args: ['document:keyup', ['$event']]
@@ -882,8 +866,8 @@
882
866
  }
883
867
  return SkyModalModule;
884
868
  }());
885
- SkyModalModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
886
- SkyModalModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalModule, declarations: [SkyModalComponent,
869
+ SkyModalModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
870
+ SkyModalModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalModule, declarations: [SkyModalComponent,
887
871
  SkyModalContentComponent,
888
872
  SkyModalFooterComponent,
889
873
  SkyModalHeaderComponent,
@@ -896,14 +880,14 @@
896
880
  SkyModalContentComponent,
897
881
  SkyModalFooterComponent,
898
882
  SkyModalHeaderComponent] });
899
- SkyModalModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalModule, imports: [[
883
+ SkyModalModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalModule, imports: [[
900
884
  i6.CommonModule,
901
885
  i2.RouterModule,
902
886
  i5.SkyIconModule,
903
887
  SkyModalsResourcesModule,
904
888
  i1.SkyThemeModule
905
889
  ]] });
906
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalModule, decorators: [{
890
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalModule, decorators: [{
907
891
  type: i0.NgModule,
908
892
  args: [{
909
893
  declarations: [
@@ -1164,9 +1148,9 @@
1164
1148
  };
1165
1149
  return SkyConfirmComponent;
1166
1150
  }());
1167
- SkyConfirmComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyConfirmComponent, deps: [{ token: SkyConfirmModalContext }, { token: SkyModalInstance }, { token: i3__namespace.SkyLibResourcesService, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
1168
- SkyConfirmComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.5", type: SkyConfirmComponent, selector: "sky-confirm", ngImport: i0__namespace, template: "<div class=\"sky-confirm\">\n <sky-modal\n ariaRole=\"alertdialog\">\n <sky-modal-content class=\"sky-confirm-content\">\n\n <div\n class=\"sky-confirm-message\"\n [ngClass]=\"{\n 'sky-confirm-preserve-white-space': preserveWhiteSpace\n }\"\n [skyThemeClass]=\"{\n 'sky-emphasized': 'default',\n 'sky-font-heading-1 sky-font-display-3': 'modern'\n }\"\n >{{ message }}</div>\n\n <div *ngIf=\"body\"\n class=\"sky-confirm-body\"\n [ngClass]=\"{\n 'sky-confirm-preserve-white-space': preserveWhiteSpace\n }\"\n >{{ body }}</div>\n\n <div class=\"sky-confirm-buttons\">\n <button\n *ngFor=\"let button of buttons\"\n type=\"button\"\n class=\"sky-btn\"\n [ngClass]=\"[\n 'sky-btn-' + button.styleType\n ]\"\n [skyThemeClass]=\"{\n 'sky-margin-inline-sm': 'modern',\n 'sky-margin-inline-compact': 'default'\n }\"\n (click)=\"close(button)\"\n [attr.autofocus]=\"button.autofocus ? 'autofocus': null\"\n >\n {{ button.text }}\n </button>\n </div>\n </sky-modal-content>\n </sky-modal>\n</div>\n", styles: [".sky-confirm-message{margin-top:5px}.sky-confirm-body{margin-top:10px}.sky-confirm-buttons{margin-top:20px}.sky-confirm-preserve-white-space{white-space:pre-wrap}:host-context(.sky-theme-modern) .sky-confirm-content{padding:20px 30px}:host-context(.sky-theme-modern) .sky-confirm-message{padding-bottom:20px}:host-context(.sky-theme-modern) .sky-confirm-body{margin:0}.sky-theme-modern .sky-confirm-content{padding:20px 30px}.sky-theme-modern .sky-confirm-message{padding-bottom:20px}.sky-theme-modern .sky-confirm-body{margin:0}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-confirm-message{color:#fbfcfe}.sky-theme-modern.sky-theme-mode-dark .sky-confirm-message{color:#fbfcfe}\n"], components: [{ type: SkyModalComponent, selector: "sky-modal", inputs: ["ariaRole", "tiledBody"] }, { type: SkyModalContentComponent, selector: "sky-modal-content" }], directives: [{ type: i6__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i6__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
1169
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyConfirmComponent, decorators: [{
1151
+ SkyConfirmComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyConfirmComponent, deps: [{ token: SkyConfirmModalContext }, { token: SkyModalInstance }, { token: i3__namespace$1.SkyLibResourcesService, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
1152
+ SkyConfirmComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: SkyConfirmComponent, selector: "sky-confirm", ngImport: i0__namespace, template: "<div class=\"sky-confirm\">\n <sky-modal\n ariaRole=\"alertdialog\">\n <sky-modal-content class=\"sky-confirm-content\">\n\n <div\n class=\"sky-confirm-message\"\n [ngClass]=\"{\n 'sky-confirm-preserve-white-space': preserveWhiteSpace\n }\"\n [skyThemeClass]=\"{\n 'sky-emphasized': 'default',\n 'sky-font-heading-1 sky-font-display-3': 'modern'\n }\"\n >{{ message }}</div>\n\n <div *ngIf=\"body\"\n class=\"sky-confirm-body\"\n [ngClass]=\"{\n 'sky-confirm-preserve-white-space': preserveWhiteSpace\n }\"\n >{{ body }}</div>\n\n <div class=\"sky-confirm-buttons\">\n <button\n *ngFor=\"let button of buttons\"\n type=\"button\"\n class=\"sky-btn\"\n [ngClass]=\"[\n 'sky-btn-' + button.styleType\n ]\"\n [skyThemeClass]=\"{\n 'sky-margin-inline-sm': 'modern',\n 'sky-margin-inline-compact': 'default'\n }\"\n (click)=\"close(button)\"\n [attr.autofocus]=\"button.autofocus ? 'autofocus': null\"\n >\n {{ button.text }}\n </button>\n </div>\n </sky-modal-content>\n </sky-modal>\n</div>\n", styles: [".sky-confirm-message{margin-top:5px}.sky-confirm-body{margin-top:10px}.sky-confirm-buttons{margin-top:20px}.sky-confirm-preserve-white-space{white-space:pre-wrap}:host-context(.sky-theme-modern) .sky-confirm-content{padding:20px 30px}:host-context(.sky-theme-modern) .sky-confirm-message{padding-bottom:20px}:host-context(.sky-theme-modern) .sky-confirm-body{margin:0}.sky-theme-modern .sky-confirm-content{padding:20px 30px}.sky-theme-modern .sky-confirm-message{padding-bottom:20px}.sky-theme-modern .sky-confirm-body{margin:0}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-confirm-message{color:#fbfcfe}.sky-theme-modern.sky-theme-mode-dark .sky-confirm-message{color:#fbfcfe}\n"], components: [{ type: SkyModalComponent, selector: "sky-modal", inputs: ["ariaRole", "tiledBody"] }, { type: SkyModalContentComponent, selector: "sky-modal-content" }], directives: [{ type: i6__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i6__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
1153
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyConfirmComponent, decorators: [{
1170
1154
  type: i0.Component,
1171
1155
  args: [{
1172
1156
  selector: 'sky-confirm',
@@ -1174,7 +1158,7 @@
1174
1158
  styleUrls: ['./confirm.component.scss']
1175
1159
  }]
1176
1160
  }], ctorParameters: function () {
1177
- return [{ type: SkyConfirmModalContext }, { type: SkyModalInstance }, { type: i3__namespace.SkyLibResourcesService, decorators: [{
1161
+ return [{ type: SkyConfirmModalContext }, { type: SkyModalInstance }, { type: i3__namespace$1.SkyLibResourcesService, decorators: [{
1178
1162
  type: i0.Optional
1179
1163
  }] }];
1180
1164
  } });
@@ -1184,18 +1168,18 @@
1184
1168
  }
1185
1169
  return SkyConfirmModule;
1186
1170
  }());
1187
- SkyConfirmModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyConfirmModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1188
- SkyConfirmModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyConfirmModule, declarations: [SkyConfirmComponent], imports: [i6.CommonModule,
1171
+ SkyConfirmModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyConfirmModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1172
+ SkyConfirmModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyConfirmModule, declarations: [SkyConfirmComponent], imports: [i6.CommonModule,
1189
1173
  SkyModalModule,
1190
1174
  SkyModalsResourcesModule,
1191
1175
  i1.SkyThemeModule], exports: [SkyConfirmComponent] });
1192
- SkyConfirmModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyConfirmModule, imports: [[
1176
+ SkyConfirmModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyConfirmModule, imports: [[
1193
1177
  i6.CommonModule,
1194
1178
  SkyModalModule,
1195
1179
  SkyModalsResourcesModule,
1196
1180
  i1.SkyThemeModule
1197
1181
  ]] });
1198
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyConfirmModule, decorators: [{
1182
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyConfirmModule, decorators: [{
1199
1183
  type: i0.NgModule,
1200
1184
  args: [{
1201
1185
  declarations: [
@@ -1286,9 +1270,9 @@
1286
1270
  };
1287
1271
  return SkyModalService;
1288
1272
  }());
1289
- SkyModalService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalService, deps: [{ token: i1__namespace$1.SkyDynamicComponentService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1290
- SkyModalService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalService, providedIn: 'any' });
1291
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyModalService, decorators: [{
1273
+ SkyModalService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalService, deps: [{ token: i3__namespace.SkyDynamicComponentService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1274
+ SkyModalService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalService, providedIn: 'any' });
1275
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalService, decorators: [{
1292
1276
  type: i0.Injectable,
1293
1277
  args: [{
1294
1278
  // Must be 'any' so that the modal component is created in the context of its module's injector.
@@ -1296,7 +1280,7 @@
1296
1280
  // injector and may loose context if the modal was opened from within a lazy-loaded module.
1297
1281
  providedIn: 'any'
1298
1282
  }]
1299
- }], ctorParameters: function () { return [{ type: i1__namespace$1.SkyDynamicComponentService }]; } });
1283
+ }], ctorParameters: function () { return [{ type: i3__namespace.SkyDynamicComponentService }]; } });
1300
1284
 
1301
1285
  /**
1302
1286
  * The `SkyConfirmService` provider launches the confirmation dialog.
@@ -1333,9 +1317,9 @@
1333
1317
  };
1334
1318
  return SkyConfirmService;
1335
1319
  }());
1336
- SkyConfirmService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyConfirmService, deps: [{ token: SkyModalService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1337
- SkyConfirmService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyConfirmService, providedIn: 'root' });
1338
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: SkyConfirmService, decorators: [{
1320
+ SkyConfirmService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyConfirmService, deps: [{ token: SkyModalService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1321
+ SkyConfirmService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyConfirmService, providedIn: 'root' });
1322
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyConfirmService, decorators: [{
1339
1323
  type: i0.Injectable,
1340
1324
  args: [{
1341
1325
  providedIn: 'root'
@@ -1 +1 @@
1
- {"version":3,"file":"skyux-modals.umd.js","sources":["../../../projects/modals/src/modules/confirm/confirm-instance.ts","../../../projects/modals/src/modules/confirm/confirm-modal-context.ts","../../../projects/modals/src/modules/confirm/confirm-type.ts","../../../projects/modals/src/modules/shared/sky-modals-resources.module.ts","../../../projects/modals/src/modules/modal/modal-content.component.ts","../../../projects/modals/src/modules/modal/modal-content.component.html","../../../projects/modals/src/modules/modal/modal-footer.component.ts","../../../projects/modals/src/modules/modal/modal-footer.component.html","../../../projects/modals/src/modules/modal/modal-header.component.ts","../../../projects/modals/src/modules/modal/modal-header.component.html","../../../projects/modals/src/modules/modal/modal-adapter.service.ts","../../../projects/modals/src/modules/modal/modal-host.service.ts","../../../projects/modals/src/modules/modal/modal-configuration.ts","../../../projects/modals/src/modules/modal/modal-host.component.ts","../../../projects/modals/src/modules/modal/modal-host.component.html","../../../projects/modals/src/modules/modal/modal-scroll-shadow.directive.ts","../../../projects/modals/src/modules/modal/modal-component-adapter.service.ts","../../../projects/modals/src/modules/modal/modal-state-animation.ts","../../../projects/modals/src/modules/modal/modal.component.ts","../../../projects/modals/src/modules/modal/modal.component.html","../../../projects/modals/src/modules/modal/modal.module.ts","../../../projects/modals/src/modules/modal/modal-close-args.ts","../../../projects/modals/src/modules/modal/modal-before-close-handler.ts","../../../projects/modals/src/modules/modal/modal-instance.ts","../../../projects/modals/src/modules/confirm/confirm.component.ts","../../../projects/modals/src/modules/confirm/confirm.component.html","../../../projects/modals/src/modules/confirm/confirm.module.ts","../../../projects/modals/src/modules/modal/modal.service.ts","../../../projects/modals/src/modules/confirm/confirm.service.ts","../../../projects/modals/src/skyux-modals.ts"],"sourcesContent":["import {\n EventEmitter\n} from '@angular/core';\n\nimport {\n SkyConfirmCloseEventArgs\n} from './confirm-closed-event-args';\n\nexport class SkyConfirmInstance {\n /**\n * Fires when users select an action to close the confirmation dialog. This event\n * returns a `SkyConfirmCloseEventArgs` object with information about the button that\n * users select.\n */\n public closed = new EventEmitter<SkyConfirmCloseEventArgs>();\n}\n","import {\n SkyConfirmButtonConfig\n} from './confirm-button-config';\n\nimport {\n SkyConfirmConfig\n} from './confirm-config';\n\nimport {\n SkyConfirmType\n} from './confirm-type';\n\n/* istanbul ignore next */\nexport class SkyConfirmModalContext implements SkyConfirmConfig {\n public message: string;\n public body: string;\n public buttons: SkyConfirmButtonConfig[];\n public preserveWhiteSpace: boolean;\n public type: SkyConfirmType;\n}\n","export enum SkyConfirmType {\n /**\n * Allows you to define your own `buttons` using the buttons property to\n * specify an array of `SkyConfirmButtonConfig` objects.\n */\n Custom = 0,\n /**\n * Displays one button with an **OK** label.\n */\n OK = 1,\n /**\n * Displays two buttons with **Yes** and **Cancel** labels.\n * @deprecated Use the `Custom` type to follow the guidance that labels\n * should clearly indicate the actions that occur when users select buttons.\n */\n YesCancel = 2,\n /**\n * Displays three buttons with **Yes**, **No**, and **Cancel** labels.\n * @deprecated Use the `Custom` type to follow the guidance that labels\n * should clearly indicate the actions that occur when users select buttons.\n */\n YesNoCancel = 3\n}\n","/**\n * NOTICE: DO NOT MODIFY THIS FILE!\n * The contents of this file were automatically generated by\n * the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-modals' schematic.\n * To update this file, simply rerun the command.\n */\n\nimport { NgModule } from '@angular/core';\nimport {\n getLibStringForLocale,\n SkyAppLocaleInfo,\n SkyI18nModule,\n SkyLibResources,\n SkyLibResourcesProvider,\n SKY_LIB_RESOURCES_PROVIDERS\n} from '@skyux/i18n';\n\nconst RESOURCES: { [locale: string]: SkyLibResources } = {\n 'EN-US': {\"skyux_confirm_dialog_default_ok_text\":{\"message\":\"OK\"},\"skyux_confirm_dialog_default_yes_text\":{\"message\":\"Yes\"},\"skyux_confirm_dialog_default_no_text\":{\"message\":\"No\"},\"skyux_confirm_dialog_default_cancel_text\":{\"message\":\"Cancel\"},\"skyux_modal_close\":{\"message\":\"Close modal\"},\"skyux_modal_open_help\":{\"message\":\"Open Help\"},\"skyux_modal_footer_cancel_button\":{\"message\":\"Cancel\"},\"skyux_modal_footer_primary_button\":{\"message\":\"Save\"}},\n};\n\nexport class SkyModalsResourcesProvider implements SkyLibResourcesProvider {\n public getString(localeInfo: SkyAppLocaleInfo, name: string): string {\n return getLibStringForLocale(RESOURCES, localeInfo.locale, name);\n }\n}\n\n/**\n * Import into any component library module that needs to use resource strings.\n */\n@NgModule({\n exports: [SkyI18nModule],\n providers: [{\n provide: SKY_LIB_RESOURCES_PROVIDERS,\n useClass: SkyModalsResourcesProvider,\n multi: true\n }]\n})\nexport class SkyModalsResourcesModule { }\n","import {\n Component,\n ViewEncapsulation\n} from '@angular/core';\n\n/**\n * Specifies content to display in the modal's body.\n */\n@Component({\n selector: 'sky-modal-content',\n templateUrl: './modal-content.component.html',\n styleUrls: ['./modal-content.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class SkyModalContentComponent { }\n","<ng-content></ng-content>\n","import {\n Component\n} from '@angular/core';\n\n/**\n * Specifies content to display in the modal's footer.\n */\n@Component({\n selector: 'sky-modal-footer',\n templateUrl: './modal-footer.component.html',\n styleUrls: ['./modal-footer.component.scss']\n})\nexport class SkyModalFooterComponent {\n}\n","<div class=\"sky-modal-footer-container sky-padding-even-large\">\n <ng-content></ng-content>\n</div>\n","import {\n Component\n} from '@angular/core';\n\n/**\n * Specifies a header for the modal.\n */\n@Component({\n selector: 'sky-modal-header',\n templateUrl: './modal-header.component.html',\n styleUrls: [\n './modal-header.component.scss'\n ]\n})\nexport class SkyModalHeaderComponent {}\n","<h1\n class=\"sky-emphasized\"\n [skyThemeClass]=\"{\n 'sky-font-display-3': 'modern'\n }\"\n>\n <ng-content></ng-content>\n</h1>\n","import {\n Injectable\n} from '@angular/core';\n\nimport {\n SkyAppWindowRef\n} from '@skyux/core';\n\n/**\n * @internal\n */\n@Injectable()\nexport class SkyModalAdapterService {\n private static readonly MODAL_BODY_FULL_CLASS = 'sky-modal-body-full-page';\n private static readonly MODAL_BODY_CLASS = 'sky-modal-body-open';\n\n private docRef: any;\n private bodyEl: HTMLElement;\n\n constructor(\n private windowRef: SkyAppWindowRef\n ) {\n this.docRef = this.windowRef.nativeWindow.document;\n this.bodyEl = this.windowRef.nativeWindow.document.body;\n }\n\n public toggleFullPageModalClass(isAddFull: boolean): void {\n if (isAddFull) {\n this.addClassToBody(SkyModalAdapterService.MODAL_BODY_FULL_CLASS);\n } else {\n this.removeClassFromBody(SkyModalAdapterService.MODAL_BODY_FULL_CLASS);\n }\n }\n\n public setPageScroll(isAdd: boolean): void {\n if (isAdd) {\n this.addClassToBody(SkyModalAdapterService.MODAL_BODY_CLASS);\n } else {\n this.removeClassFromBody(SkyModalAdapterService.MODAL_BODY_CLASS);\n }\n }\n\n public getModalOpener(): HTMLElement {\n return <HTMLElement>this.docRef.activeElement;\n }\n\n private addClassToBody(className: string): void {\n this.bodyEl.classList.add(className);\n }\n\n private removeClassFromBody(className: string): void {\n this.bodyEl.classList.remove(className);\n }\n}\n","import {\n EventEmitter,\n Injectable\n} from '@angular/core';\n\n/**\n * @internal\n * @dynamic\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class SkyModalHostService {\n\n public static get openModalCount(): number {\n return SkyModalHostService.modalHosts.length;\n }\n\n public static get fullPageModalCount(): number {\n let fullPageModals = SkyModalHostService.modalHosts.filter(modal => modal.fullPage);\n return fullPageModals.length;\n }\n\n private static get BASE_Z_INDEX(): number {\n return 1040;\n }\n\n public static get backdropZIndex(): number {\n return SkyModalHostService.BASE_Z_INDEX + SkyModalHostService.modalHosts.length * 10;\n }\n\n public static get topModal(): SkyModalHostService {\n return SkyModalHostService.modalHosts[SkyModalHostService.modalHosts.length - 1];\n }\n\n private static modalHosts: SkyModalHostService[] = [];\n\n public close = new EventEmitter<void>();\n public fullPage = false;\n public openHelp = new EventEmitter<any>();\n\n constructor() {\n SkyModalHostService.modalHosts.push(this);\n }\n\n public getModalZIndex(): number {\n let zIndex = SkyModalHostService.BASE_Z_INDEX + 1;\n zIndex += (SkyModalHostService.modalHosts.indexOf(this) + 1) * 10;\n return zIndex;\n }\n\n public onClose(): void {\n this.close.emit();\n }\n\n public onOpenHelp(helpKey?: string) {\n this.openHelp.emit(helpKey);\n }\n\n public destroy(): void {\n SkyModalHostService.modalHosts.splice(SkyModalHostService.modalHosts.indexOf(this), 1);\n }\n}\n","import {\n Injectable\n} from '@angular/core';\n\n/**\n * @internal\n */\n@Injectable({\n providedIn: 'any'\n})\n\nexport class SkyModalConfiguration {\n public fullPage?: boolean;\n public size?: string;\n public ariaDescribedBy?: string;\n public ariaLabelledBy?: string;\n public ariaRole?: string;\n public tiledBody?: boolean;\n public helpKey?: string;\n\n constructor() {\n this.fullPage = this.fullPage;\n this.size = 'medium';\n }\n}\n","import {\n ChangeDetectorRef,\n Component,\n ComponentFactoryResolver,\n Injector,\n ViewChild,\n ViewContainerRef\n} from '@angular/core';\n\nimport {\n NavigationStart,\n Router\n} from '@angular/router';\n\nimport {\n takeWhile\n} from 'rxjs/operators';\n\nimport {\n SkyModalAdapterService\n} from './modal-adapter.service';\n\nimport {\n SkyModalInstance\n} from './modal-instance';\n\nimport {\n SkyModalHostService\n} from './modal-host.service';\n\nimport {\n SkyModalConfigurationInterface\n} from './modal.interface';\n\nimport {\n SkyModalConfiguration\n} from './modal-configuration';\n\n/**\n * @internal\n */\n@Component({\n selector: 'sky-modal-host',\n templateUrl: './modal-host.component.html',\n styleUrls: ['./modal-host.component.scss'],\n viewProviders: [SkyModalAdapterService]\n})\nexport class SkyModalHostComponent {\n public get modalOpen() {\n return SkyModalHostService.openModalCount > 0;\n }\n\n public get backdropZIndex() {\n return SkyModalHostService.backdropZIndex;\n }\n\n /**\n * Use `any` for backwards-compatibility with Angular 4-7.\n * See: https://github.com/angular/angular/issues/30654\n * TODO: Remove the `any` in a breaking change.\n * @internal\n */\n @ViewChild('target', {\n read: ViewContainerRef,\n static: true\n } as any)\n public target: ViewContainerRef;\n\n constructor(\n private resolver: ComponentFactoryResolver,\n private adapter: SkyModalAdapterService,\n private injector: Injector,\n private router: Router,\n private changeDetector: ChangeDetectorRef\n ) { }\n\n public open(\n modalInstance: SkyModalInstance,\n component: any,\n config?: SkyModalConfigurationInterface\n ) {\n const params: SkyModalConfigurationInterface = Object.assign({}, config);\n const factory = this.resolver.resolveComponentFactory(component);\n\n const hostService = new SkyModalHostService();\n hostService.fullPage = !!params.fullPage;\n\n const adapter = this.adapter;\n const modalOpener: HTMLElement = adapter.getModalOpener();\n\n let isOpen = true;\n\n params.providers.push({\n provide: SkyModalHostService,\n useValue: hostService\n });\n params.providers.push({\n provide: SkyModalConfiguration,\n useValue: params\n });\n\n adapter.setPageScroll(SkyModalHostService.openModalCount > 0);\n adapter.toggleFullPageModalClass(SkyModalHostService.fullPageModalCount > 0);\n\n let providers = params.providers || /* istanbul ignore next */ [];\n const injector = Injector.create({\n providers,\n parent: this.injector\n });\n\n let modalComponentRef = this.target.createComponent(factory, undefined, injector);\n\n modalInstance.componentInstance = modalComponentRef.instance;\n\n function closeModal() {\n hostService.destroy();\n adapter.setPageScroll(SkyModalHostService.openModalCount > 0);\n adapter.toggleFullPageModalClass(SkyModalHostService.fullPageModalCount > 0);\n /* istanbul ignore else */\n /* sanity check */\n if (modalOpener && modalOpener.focus) {\n modalOpener.focus();\n }\n modalComponentRef.destroy();\n }\n\n hostService.openHelp.subscribe((helpKey?: string) => {\n modalInstance.openHelp(helpKey);\n });\n\n hostService.close.subscribe(() => {\n modalInstance.close();\n });\n\n this.router.events\n .pipe(\n takeWhile(() => isOpen)\n )\n .subscribe((event) => {\n /* istanbul ignore else */\n if (event instanceof NavigationStart) {\n modalInstance.close();\n }\n });\n\n modalInstance.closed.subscribe(() => {\n isOpen = false;\n closeModal();\n });\n\n // Necessary if the host was created via a consumer's lifecycle hook such as ngOnInit\n this.changeDetector.detectChanges();\n }\n}\n","<div\n class=\"sky-modal-host-backdrop\"\n [hidden]=\"!modalOpen\"\n [ngStyle]=\"{\n zIndex: backdropZIndex\n }\"\n>\n</div>\n<div #target></div>\n","import {\n Directive,\n ElementRef,\n EventEmitter,\n HostListener,\n OnDestroy,\n OnInit,\n Optional,\n Output,\n NgZone\n} from '@angular/core';\n\nimport {\n Subject\n} from 'rxjs';\n\nimport {\n takeUntil\n} from 'rxjs/operators';\n\nimport {\n MutationObserverService\n} from '@skyux/core';\n\nimport {\n SkyTheme,\n SkyThemeService\n} from '@skyux/theme';\n\nimport {\n SkyModalScrollShadowEventArgs\n} from './modal-scroll-shadow-event-args';\n\n/**\n * Raises an event when the box shadow for the modal header or footer should be adjusted\n * based on the scroll position of the host element.\n * @internal\n */\n@Directive({\n selector: '[skyModalScrollShadow]'\n})\nexport class SkyModalScrollShadowDirective implements OnInit, OnDestroy {\n\n @Output()\n public skyModalScrollShadow = new EventEmitter<SkyModalScrollShadowEventArgs>();\n\n private currentShadow: SkyModalScrollShadowEventArgs;\n\n private currentTheme: SkyTheme;\n\n private mutationObserver: MutationObserver;\n\n private ngUnsubscribe = new Subject<any>();\n\n constructor(\n private elRef: ElementRef,\n @Optional() private themeSvc: SkyThemeService,\n private mutationObserverSvc: MutationObserverService,\n private ngZone: NgZone\n ) { }\n\n @HostListener('window:resize')\n public windowResize(): void {\n this.checkForShadow();\n }\n\n @HostListener('scroll')\n public scroll(): void {\n this.checkForShadow();\n }\n\n public ngOnInit(): void {\n if (this.themeSvc) {\n this.themeSvc.settingsChange\n .pipe(\n takeUntil(this.ngUnsubscribe)\n )\n .subscribe((themeSettings) => {\n this.currentTheme = themeSettings.currentSettings.theme;\n\n if (this.currentTheme === SkyTheme.presets.modern) {\n this.initMutationObserver();\n } else {\n this.emitShadow({\n bottomShadow: 'none',\n topShadow: 'none'\n });\n\n this.destroyMutationObserver();\n }\n });\n }\n }\n\n public ngOnDestroy(): void {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n\n this.destroyMutationObserver();\n }\n\n private initMutationObserver(): void {\n if (!this.mutationObserver) {\n const el = this.elRef.nativeElement;\n\n // MutationObserver is patched by Zone.js and therefore becomes part of the\n // Angular change detection cycle, but this can lead to infinite loops in some\n // secnarios. This will keep MutationObserver from triggering change detection.\n this.ngZone.runOutsideAngular(() => {\n this.mutationObserver = this.mutationObserverSvc.create(() => {\n this.checkForShadow();\n });\n\n this.mutationObserver.observe(\n el,\n {\n attributes: true,\n characterData: true,\n childList: true,\n subtree: true\n }\n );\n });\n }\n }\n\n private destroyMutationObserver(): void {\n if (this.mutationObserver) {\n this.mutationObserver.disconnect();\n this.mutationObserver = undefined;\n }\n }\n\n private checkForShadow(): void {\n if (this.currentTheme === SkyTheme.presets.modern) {\n const el = this.elRef.nativeElement;\n\n const topShadow = this.buildShadowStyle(\n el.scrollTop\n );\n\n const bottomShadow = this.buildShadowStyle(\n (el.scrollHeight - el.scrollTop) - el.clientHeight\n );\n\n this.emitShadow({\n bottomShadow,\n topShadow\n });\n }\n }\n\n private buildShadowStyle(pixelsFromEnd: number): string {\n // Progressively darken the shadow until the user scrolls 30 pixels from the top or bottom\n // of the scrollable element, with a max opacity of 0.3.\n const opacity = Math.min(pixelsFromEnd / 30, 1) * 0.3;\n\n return opacity > 0 ?\n `0px 1px 8px 0px rgba(0, 0, 0, ${opacity})` :\n 'none';\n }\n\n private emitShadow(shadow: SkyModalScrollShadowEventArgs): void {\n if (\n !this.currentShadow ||\n this.currentShadow.bottomShadow !== shadow.bottomShadow ||\n this.currentShadow.topShadow !== shadow.topShadow\n ) {\n this.skyModalScrollShadow.emit(shadow);\n this.currentShadow = shadow;\n }\n }\n}\n","import {\n Injectable,\n ElementRef\n} from '@angular/core';\n\n/* tslint:disable */\nlet tabbableSelector = 'a[href], area[href], input:not([disabled]):not([tabindex=\\'-1\\']), ' +\n 'button:not([disabled]):not([tabindex=\\'-1\\']),select:not([disabled]):not([tabindex=\\'-1\\']), textarea:not([disabled]):not([tabindex=\\'-1\\']), ' +\n 'iframe, object, embed, *[tabindex]:not([tabindex=\\'-1\\']), *[contenteditable=true]';\n/* tslint:enable */\n\n/**\n * @internal\n */\n@Injectable()\nexport class SkyModalComponentAdapterService {\n constructor(\n ) { }\n\n public handleWindowChange(modalEl: ElementRef): void {\n let boundedHeightEl = modalEl.nativeElement.querySelector('.sky-modal');\n let fullPageModalEl = modalEl.nativeElement.querySelector('.sky-modal-full-page');\n /*\n Set modal height equal to max height of window (accounting for padding above and below modal)\n */\n let newHeight = window.innerHeight - 40;\n\n boundedHeightEl.style.maxHeight = newHeight.toString() + 'px';\n if (fullPageModalEl) {\n this.setFullPageHeight(fullPageModalEl);\n } else {\n /*\n IE11 doesn't handle flex and max-height correctly so we have to explicitly add\n max-height to the content that accounts for standard header and footer height.\n */\n let modalContentEl = modalEl.nativeElement.querySelector('.sky-modal-content');\n let contentHeight = newHeight - 114;\n modalContentEl.style.maxHeight = contentHeight.toString() + 'px';\n }\n }\n\n public loadFocusElementList(modalEl: ElementRef): Array<HTMLElement> {\n return this.loadFocusableChildren(modalEl.nativeElement);\n }\n\n public isFocusInFirstItem(event: KeyboardEvent, list: Array<HTMLElement>): boolean {\n /* istanbul ignore next */\n /* sanity check */\n let eventTarget = event.target || event.srcElement;\n return list.length > 0 && eventTarget === list[0];\n }\n\n public isFocusInLastItem(event: KeyboardEvent, list: Array<HTMLElement>): boolean {\n /* istanbul ignore next */\n /* sanity check */\n let eventTarget = event.target || event.srcElement;\n return list.length > 0 && eventTarget === list[list.length - 1];\n }\n\n public isModalFocused(event: KeyboardEvent, modalEl: ElementRef): boolean {\n /* istanbul ignore next */\n /* sanity check */\n let eventTarget = event.target || event.srcElement;\n return modalEl &&\n eventTarget === modalEl.nativeElement.querySelector('.sky-modal-dialog');\n }\n\n public focusLastElement(list: Array<HTMLElement>): boolean {\n if (list.length > 0) {\n list[list.length - 1].focus();\n return true;\n }\n return false;\n }\n\n public focusFirstElement(list: Array<HTMLElement>): boolean {\n if (list.length > 0) {\n list[0].focus();\n return true;\n }\n return false;\n }\n\n public modalOpened(modalEl: ElementRef): void {\n /* istanbul ignore else */\n /* handle the case where somehow there is a focused element already in the modal */\n if (!(document.activeElement && modalEl.nativeElement.contains(document.activeElement))) {\n let currentScrollX = window.pageXOffset;\n let currentScrollY = window.pageYOffset;\n\n let inputWithAutofocus = modalEl.nativeElement.querySelector('[autofocus]');\n\n if (inputWithAutofocus) {\n inputWithAutofocus.focus();\n } else {\n let focusEl: HTMLElement = modalEl.nativeElement.querySelector('.sky-modal-content');\n let focusableChildren = this.loadFocusableChildren(focusEl);\n\n // Focus first focusable child if available. Otherwise focus content pane.\n if (!this.focusFirstElement(focusableChildren)) {\n focusEl.focus();\n }\n }\n window.scrollTo(currentScrollX, currentScrollY);\n }\n }\n\n private loadFocusableChildren(elem: HTMLElement) {\n let elements: Array<HTMLElement>\n = Array.prototype.slice.call(elem.querySelectorAll(tabbableSelector));\n\n return elements.filter((element) => {\n return this.isVisible(element);\n });\n }\n\n private isVisible(element: HTMLElement) {\n const style = window.getComputedStyle(element);\n const isHidden = style.display === 'none' || style.visibility === 'hidden';\n if (isHidden) {\n return false;\n }\n\n const hasBounds = !!(\n element.offsetWidth ||\n /* istanbul ignore next */\n element.offsetHeight ||\n /* istanbul ignore next */\n element.getClientRects().length\n );\n return hasBounds;\n }\n\n private setFullPageHeight(fullPageModalEl: HTMLElement): void {\n const windowHeight = window.innerHeight;\n const fullPageModalStyle = getComputedStyle(fullPageModalEl);\n\n const marginTopBottom =\n parseInt(fullPageModalStyle.marginTop, 10) +\n parseInt(fullPageModalStyle.marginBottom, 10);\n\n const fullPageModalHeight = (windowHeight - marginTopBottom) + 'px';\n\n fullPageModalEl.style.height = fullPageModalHeight;\n fullPageModalEl.style.maxHeight = fullPageModalHeight;\n }\n}\n","import {\n animate,\n state,\n style,\n transition,\n trigger\n} from '@angular/animations';\n\nexport const skyAnimationModalState = trigger('modalState', [\n state('in', style({ opacity: '1.0' })),\n state('out', style({ opacity: '0.0' })),\n transition('void => *', [\n style({ opacity: '0.0' }),\n animate(150)\n ]),\n transition('* => void', [\n animate(150, style({ opacity: '0.0' }))\n ])\n]) as any;\n","import {\n Component,\n Input,\n ElementRef,\n AfterViewInit,\n HostListener\n} from '@angular/core';\n\nimport {\n SkyAppWindowRef\n} from '@skyux/core';\n\nimport {\n SkyModalHostService\n} from './modal-host.service';\n\nimport {\n SkyModalConfiguration\n} from './modal-configuration';\n\nimport {\n SkyModalComponentAdapterService\n} from './modal-component-adapter.service';\n\nimport {\n SkyModalScrollShadowEventArgs\n} from './modal-scroll-shadow-event-args';\n\nimport {\n skyAnimationModalState\n} from './modal-state-animation';\n\nlet skyModalUniqueIdentifier: number = 0;\n\n/**\n * Provides a common look-and-feel for modal content with options to display\n * a common modal header, specify body content, and display a common modal footer\n * and buttons. For information about how to test modals in SKY UX, see\n * [write unit tests for modals](https://developer.blackbaud.com/skyux/learn/get-started/advanced/unit-test-modals).\n */\n@Component({\n selector: 'sky-modal',\n templateUrl: './modal.component.html',\n styleUrls: ['./modal.component.scss'],\n animations: [\n skyAnimationModalState\n ],\n providers: [\n SkyModalComponentAdapterService\n ]\n})\nexport class SkyModalComponent implements AfterViewInit {\n\n /**\n * @internal\n */\n @Input()\n public get ariaRole() {\n return this.config.ariaRole || 'dialog';\n }\n public set ariaRole(value: string) {\n this.config.ariaRole = value;\n }\n\n /**\n * @internal\n */\n @Input()\n public set tiledBody(value: boolean) {\n this.config.tiledBody = value;\n }\n\n public get modalZIndex() {\n return this.hostService.getModalZIndex();\n }\n\n public get modalFullPage() {\n return this.config.fullPage;\n }\n\n public get isSmallSize() {\n return !this.modalFullPage && this.isSizeEqual(this.config.size, 'small');\n }\n\n public get isMediumSize() {\n return !this.modalFullPage && !(this.isSmallSize || this.isLargeSize);\n }\n\n public get isLargeSize() {\n return !this.modalFullPage && this.isSizeEqual(this.config.size, 'large');\n }\n\n public get isTiledBody() {\n return this.config.tiledBody;\n }\n\n public get ariaDescribedBy() {\n return this.config.ariaDescribedBy || this.modalContentId;\n }\n\n public get ariaLabelledBy() {\n return this.config.ariaLabelledBy || this.modalHeaderId;\n }\n\n public get helpKey() {\n return this.config.helpKey;\n }\n\n public modalState = 'in';\n\n public modalContentId: string = 'sky-modal-content-id-' + skyModalUniqueIdentifier.toString();\n\n public modalHeaderId: string = 'sky-modal-header-id-' + skyModalUniqueIdentifier.toString();\n\n public scrollShadow: SkyModalScrollShadowEventArgs;\n\n constructor(\n private hostService: SkyModalHostService,\n private config: SkyModalConfiguration,\n private elRef: ElementRef,\n private windowRef: SkyAppWindowRef,\n private componentAdapter: SkyModalComponentAdapterService\n ) { }\n\n @HostListener('document:keyup', ['$event'])\n public onDocumentKeyUp(event: KeyboardEvent) {\n /* istanbul ignore else */\n /* sanity check */\n if (SkyModalHostService.openModalCount > 0) {\n let topModal = SkyModalHostService.topModal;\n if (topModal && topModal === this.hostService) {\n if (event.which === 27) { // Escape key up\n event.preventDefault();\n this.closeButtonClick();\n }\n }\n }\n }\n\n @HostListener('document:keydown', ['$event'])\n public onDocumentKeyDown(event: KeyboardEvent) {\n /* istanbul ignore else */\n /* sanity check */\n if (SkyModalHostService.openModalCount > 0) {\n let topModal = SkyModalHostService.topModal;\n if (topModal && topModal === this.hostService) {\n if (event.which === 9) { // Tab pressed\n let focusChanged = false;\n\n let focusElementList = this.componentAdapter.loadFocusElementList(this.elRef);\n\n if (\n event.shiftKey &&\n (this.componentAdapter.isFocusInFirstItem(event, focusElementList) ||\n this.componentAdapter.isModalFocused(event, this.elRef))) {\n\n focusChanged = this.componentAdapter.focusLastElement(focusElementList);\n } else if (\n !event.shiftKey && this.componentAdapter.isFocusInLastItem(event, focusElementList)) {\n focusChanged = this.componentAdapter.focusFirstElement(focusElementList);\n }\n\n if (focusChanged) {\n event.preventDefault();\n event.stopPropagation();\n }\n }\n }\n }\n }\n\n public ngAfterViewInit() {\n skyModalUniqueIdentifier++;\n this.componentAdapter.handleWindowChange(this.elRef);\n\n // Adding a timeout to avoid ExpressionChangedAfterItHasBeenCheckedError.\n // https://stackoverflow.com/questions/40562845\n this.windowRef.nativeWindow.setTimeout(() => {\n this.componentAdapter.modalOpened(this.elRef);\n });\n }\n\n public helpButtonClick() {\n this.hostService.onOpenHelp(this.helpKey);\n }\n\n public closeButtonClick() {\n this.hostService.onClose();\n }\n\n public windowResize() {\n this.componentAdapter.handleWindowChange(this.elRef);\n }\n\n public scrollShadowChange(args: SkyModalScrollShadowEventArgs): void {\n this.scrollShadow = args;\n }\n\n private isSizeEqual(actualSize: string, size: string) {\n return actualSize && actualSize.toLowerCase() === size;\n }\n}\n","<!--\n Animations are broken in Chrome v52. Angular 2 RC5 will fix it.\n https://github.com/angular/angular/issues/10245\n-->\n<!--<div @modalState=\"modalState\">-->\n\n<div\n class=\"sky-modal-dialog\"\n aria-modal=\"true\"\n [attr.aria-describedby]=\"ariaDescribedBy\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.role]=\"ariaRole\"\n (window:resize)=\"windowResize()\"\n>\n <div\n class=\"sky-modal sky-shadow sky-box sky-elevation-16\"\n tabindex=\"-1\"\n [ngClass]=\"{\n 'sky-modal-full-page': modalFullPage,\n 'sky-modal-small' : isSmallSize,\n 'sky-modal-medium' : isMediumSize,\n 'sky-modal-large' : isLargeSize,\n 'sky-modal-tiled' : isTiledBody\n }\"\n [ngStyle]=\"{\n zIndex: modalZIndex\n }\">\n\n <div\n class=\"sky-modal-header\"\n [hidden]=\"!headerContent || !headerContent.children || headerContent.children.length &lt; 1\"\n [ngStyle]=\"{\n 'box-shadow': scrollShadow?.topShadow\n }\"\n >\n <div\n class=\"sky-modal-header-content\"\n [attr.id]=\"modalHeaderId\"\n [ngClass]=\"{\n 'sky-section-heading': modalFullPage\n }\"\n #headerContent\n >\n <ng-content select=\"sky-modal-header\"></ng-content>\n </div>\n <div class=\"sky-modal-header-buttons\">\n <button *ngIf=\"helpKey\"\n class=\"sky-btn sky-modal-btn-help\"\n name=\"help-button\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_modal_open_help' | skyLibResources\"\n (click)=\"helpButtonClick()\"\n >\n <sky-icon icon=\"question-circle\"></sky-icon>\n </button>\n\n <button type=\"button\" class=\"sky-btn sky-modal-btn-close\" [attr.aria-label]=\"'skyux_modal_close' | skyLibResources\" (click)=\"closeButtonClick()\">\n <sky-icon icon=\"close\"></sky-icon>\n </button>\n </div>\n\n </div>\n <div\n class=\"sky-modal-content sky-padding-even-large\"\n role=\"region\"\n tabindex=\"0\"\n [attr.aria-labelledby]=\"modalHeaderId\"\n [attr.id]=\"modalContentId\"\n (skyModalScrollShadow)=\"scrollShadowChange($event)\"\n >\n <ng-content select=\"sky-modal-content\"></ng-content>\n </div>\n <div\n class=\"sky-modal-footer\"\n [ngStyle]=\"{\n 'box-shadow': scrollShadow?.bottomShadow\n }\"\n >\n <ng-content select=\"sky-modal-footer\"></ng-content>\n </div>\n </div>\n</div>\n","import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n RouterModule\n} from '@angular/router';\n\nimport {\n SkyIconModule\n} from '@skyux/indicators';\n\nimport {\n SkyThemeModule\n} from '@skyux/theme';\n\nimport {\n SkyModalsResourcesModule\n} from '../shared/sky-modals-resources.module';\n\nimport {\n SkyModalContentComponent\n} from './modal-content.component';\n\nimport {\n SkyModalFooterComponent\n} from './modal-footer.component';\n\nimport {\n SkyModalHeaderComponent\n} from './modal-header.component';\n\nimport {\n SkyModalHostComponent\n} from './modal-host.component';\n\nimport {\n SkyModalScrollShadowDirective\n} from './modal-scroll-shadow.directive';\n\nimport {\n SkyModalComponent\n} from './modal.component';\n\n@NgModule({\n declarations: [\n SkyModalComponent,\n SkyModalContentComponent,\n SkyModalFooterComponent,\n SkyModalHeaderComponent,\n SkyModalHostComponent,\n SkyModalScrollShadowDirective\n ],\n imports: [\n CommonModule,\n RouterModule,\n SkyIconModule,\n SkyModalsResourcesModule,\n SkyThemeModule\n ],\n exports: [\n SkyModalComponent,\n SkyModalContentComponent,\n SkyModalFooterComponent,\n SkyModalHeaderComponent\n ],\n entryComponents: [\n SkyModalHostComponent\n ]\n})\nexport class SkyModalModule { }\n","export class SkyModalCloseArgs {\n public reason: string;\n public data: any;\n constructor() {}\n}\n","import {\n SkyModalCloseArgs\n} from '../modal/modal-close-args';\n\nexport class SkyModalBeforeCloseHandler {\n constructor(\n public readonly closeModal: Function,\n public readonly closeArgs: SkyModalCloseArgs\n ) { }\n}\n","import {\n Observable,\n Subject\n} from 'rxjs';\n\nimport {\n SkyModalCloseArgs\n} from './modal-close-args';\n\nimport {\n SkyModalBeforeCloseHandler\n} from './modal-before-close-handler';\n\n// TODO: this class won't show in the generated docs until this work is done:\n// https://github.com/blackbaud/skyux-docs-tools/issues/30\n\n/**\n * Allows you to close the modal and return data from the launched modal.\n */\nexport class SkyModalInstance {\n\n /**\n * An event that the modal instance emits when it is about to close.\n * It emits a `SkyModalBeforeCloseHandler` object with a `closeModal` method\n * that closes the modal. If a subscription exists for this event,\n * the modal does not close until the subscriber calls the `closeModal` method.\n */\n public get beforeClose(): Observable<SkyModalBeforeCloseHandler> {\n return this._beforeClose;\n }\n\n /**\n * An event that the modal instance emits when it closes.\n * It emits a `SkyCloseModalArgs` object with a `data` property that includes\n * data passed from users on close or save and a `reason` property that indicates\n * whether the modal was saved or closed without saving.\n * The `reason` property accepts any string value.\n * Common examples include `cancel`, `close`, and `save`.\n */\n public get closed(): Observable<SkyModalCloseArgs> {\n return this._closed;\n }\n\n /**\n * An event that the modal instance emits when users click\n * the <i class=\"fa fa-question-circle\" aria-hidden=\"true\"></i> button.\n * If a `helpKey` parameter was specified, the `helpOpened` event broadcasts the `helpKey`.\n */\n public get helpOpened(): Observable<string> {\n return this._helpOpened;\n }\n\n /**\n * A direct reference to the provided component's class.\n */\n public componentInstance: any;\n\n private _beforeClose = new Subject<SkyModalBeforeCloseHandler>();\n\n private _closed = new Subject<SkyModalCloseArgs>();\n\n private _helpOpened = new Subject<string>();\n\n /**\n * Closes the modal instance.\n * @param result Specifies an object to emit to subscribers of the `closed` event of the\n * modal instance. The `SkyModalInstance` provider can be injected into a component's constructor\n * so that this `close` function can be called from a button in the `sky-modal-footer`.\n * @param reason Specifies the reason for the modal closing, with the default reason of `close`.\n * @param ignoreBeforeClose Indicates whether to ignore the modal instance's `beforeClose` event.\n */\n public close(result?: any, reason?: string, ignoreBeforeClose?: boolean): void {\n if (reason === undefined) {\n reason = 'close';\n }\n\n this.closeModal(reason, result, ignoreBeforeClose);\n }\n\n /**\n * Closes the modal instance with `reason=cancel`.\n * @param result Specifies an object to emit to subscribers of the `closed` event of the modal\n * instance. The `SkyModalInstance` provider can be injected into a component's constructor so\n * that this cancel function can be called from a button in the `sky-modal-footer`.\n */\n public cancel(result?: any): void {\n this.closeModal('cancel', result);\n }\n\n /**\n * Closes the modal instance with `reason=save`.\n * @param result Specifies an object to emit to subscribers of the `closed` event of the modal\n * instance. The `SkyModalInstance` provider can be injected into a component's constructor so\n * that this `save` function can be called from a button in `the sky-modal-footer`.\n */\n public save(result?: any): void {\n this.closeModal('save', result);\n }\n\n /**\n * Triggers the `helpOpened` event that broadcasts a `helpKey` parameter to open\n * when users click the <i class=\"fa fa-question-circle\" aria-hidden=\"true\"></i> button.\n * @param helpKey Specifies a string to emit to subscribers of\n * the modal instance's `helpOpened` event. Consumers can inject the `SkyModalInstance` provider\n * into a component's constructor to call the `openHelp` function in the modal template.\n */\n public openHelp(helpKey?: string): void {\n this._helpOpened.next(helpKey);\n }\n\n private closeModal(type: string, result?: any, ignoreBeforeClose = false): void {\n const args = new SkyModalCloseArgs();\n\n args.reason = type;\n args.data = result;\n\n if (this._beforeClose.observers.length === 0 || ignoreBeforeClose) {\n this.notifyClosed(args);\n } else {\n this._beforeClose.next(new SkyModalBeforeCloseHandler(() => {\n this.notifyClosed(args);\n }, args));\n }\n }\n\n private notifyClosed(args: SkyModalCloseArgs): void {\n this._closed.next(args);\n this._closed.complete();\n this._beforeClose.complete();\n this._helpOpened.complete();\n }\n}\n","import {\n Component,\n OnInit,\n Optional\n} from '@angular/core';\n\nimport {\n SkyLibResourcesService\n} from '@skyux/i18n';\n\nimport {\n BehaviorSubject,\n Observable,\n zip as observableZip\n} from 'rxjs';\n\nimport {\n SkyModalInstance\n} from '../modal/modal-instance';\n\nimport {\n SkyConfirmButton\n} from './confirm-button';\n\nimport {\n SkyConfirmButtonConfig\n} from './confirm-button-config';\n\nimport {\n SkyConfirmCloseEventArgs\n} from './confirm-closed-event-args';\n\nimport {\n SkyConfirmType\n} from './confirm-type';\n\nimport {\n SkyConfirmModalContext\n} from './confirm-modal-context';\n\n@Component({\n selector: 'sky-confirm',\n templateUrl: './confirm.component.html',\n styleUrls: ['./confirm.component.scss']\n})\nexport class SkyConfirmComponent implements OnInit {\n public buttons: SkyConfirmButton[];\n public message: string;\n public body: string;\n public preserveWhiteSpace = false;\n\n constructor(\n private config: SkyConfirmModalContext,\n private modal: SkyModalInstance,\n @Optional() private resourcesService: SkyLibResourcesService\n ) { }\n\n public ngOnInit() {\n if (this.config.type === SkyConfirmType.Custom && this.config.buttons.length > 0) {\n this.buttons = this.getCustomButtons(this.config.buttons);\n } else {\n this.getPresetButtons().subscribe((buttons: SkyConfirmButton[]) => {\n this.buttons = buttons;\n });\n }\n\n this.message = this.config.message;\n this.body = this.config.body;\n this.preserveWhiteSpace = this.config.preserveWhiteSpace || false;\n }\n\n public close(button: SkyConfirmButton) {\n const result: SkyConfirmCloseEventArgs = {\n action: button.action\n };\n\n this.modal.close(result);\n }\n\n private getPresetButtons(): Observable<SkyConfirmButton[]> {\n const emitter = new BehaviorSubject<SkyConfirmButton[]>([]);\n\n switch (this.config.type) {\n default:\n case SkyConfirmType.OK:\n this.resourcesService.getString('skyux_confirm_dialog_default_ok_text')\n .subscribe((value: string) => {\n emitter.next([\n {\n text: value,\n autofocus: true,\n styleType: 'primary',\n action: 'ok'\n }\n ]);\n });\n break;\n\n case SkyConfirmType.YesNoCancel:\n observableZip(\n this.resourcesService.getString('skyux_confirm_dialog_default_yes_text'),\n this.resourcesService.getString('skyux_confirm_dialog_default_no_text'),\n this.resourcesService.getString('skyux_confirm_dialog_default_cancel_text')\n ).subscribe((values: any) => {\n emitter.next([\n {\n text: values[0],\n autofocus: true,\n styleType: 'primary',\n action: 'yes'\n },\n {\n text: values[1],\n styleType: 'default',\n action: 'no'\n },\n {\n text: values[2],\n styleType: 'link',\n action: 'cancel'\n }\n ]);\n });\n break;\n\n case SkyConfirmType.YesCancel:\n observableZip(\n this.resourcesService.getString('skyux_confirm_dialog_default_yes_text'),\n this.resourcesService.getString('skyux_confirm_dialog_default_cancel_text')\n ).subscribe((values: any) => {\n emitter.next([\n {\n text: values[0],\n autofocus: true,\n styleType: 'primary',\n action: 'yes'\n },\n {\n text: values[1],\n styleType: 'link',\n action: 'cancel'\n }\n ]);\n });\n break;\n }\n\n return emitter;\n }\n\n private getCustomButtons(buttonConfig: SkyConfirmButtonConfig[]): SkyConfirmButton[] {\n const buttons: SkyConfirmButton[] = [];\n\n buttonConfig.forEach((config: SkyConfirmButtonConfig) => {\n buttons.push({\n text: config.text,\n action: config.action,\n styleType: config.styleType || 'default',\n autofocus: config.autofocus || false\n } as SkyConfirmButton);\n });\n\n return buttons;\n }\n}\n","<div class=\"sky-confirm\">\n <sky-modal\n ariaRole=\"alertdialog\">\n <sky-modal-content class=\"sky-confirm-content\">\n\n <div\n class=\"sky-confirm-message\"\n [ngClass]=\"{\n 'sky-confirm-preserve-white-space': preserveWhiteSpace\n }\"\n [skyThemeClass]=\"{\n 'sky-emphasized': 'default',\n 'sky-font-heading-1 sky-font-display-3': 'modern'\n }\"\n >{{ message }}</div>\n\n <div *ngIf=\"body\"\n class=\"sky-confirm-body\"\n [ngClass]=\"{\n 'sky-confirm-preserve-white-space': preserveWhiteSpace\n }\"\n >{{ body }}</div>\n\n <div class=\"sky-confirm-buttons\">\n <button\n *ngFor=\"let button of buttons\"\n type=\"button\"\n class=\"sky-btn\"\n [ngClass]=\"[\n 'sky-btn-' + button.styleType\n ]\"\n [skyThemeClass]=\"{\n 'sky-margin-inline-sm': 'modern',\n 'sky-margin-inline-compact': 'default'\n }\"\n (click)=\"close(button)\"\n [attr.autofocus]=\"button.autofocus ? 'autofocus': null\"\n >\n {{ button.text }}\n </button>\n </div>\n </sky-modal-content>\n </sky-modal>\n</div>\n","import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n SkyThemeModule\n} from '@skyux/theme';\n\nimport {\n SkyModalModule\n} from '../modal/modal.module';\n\nimport {\n SkyModalsResourcesModule\n} from '../shared/sky-modals-resources.module';\n\nimport {\n SkyConfirmComponent\n} from './confirm.component';\n\n@NgModule({\n declarations: [\n SkyConfirmComponent\n ],\n imports: [\n CommonModule,\n SkyModalModule,\n SkyModalsResourcesModule,\n SkyThemeModule\n ],\n exports: [\n SkyConfirmComponent\n ],\n entryComponents: [\n SkyConfirmComponent\n ]\n})\nexport class SkyConfirmModule { }\n","import {\n ComponentRef,\n Injectable\n} from '@angular/core';\n\nimport {\n SkyDynamicComponentService\n} from '@skyux/core';\n\nimport {\n SkyModalInstance\n} from './modal-instance';\n\nimport {\n SkyModalHostComponent\n} from './modal-host.component';\n\nimport {\n SkyModalConfigurationInterface\n} from './modal.interface';\n\n/**\n * A service that lauches modals. For information about how to test modals in SKY UX, see\n * [write unit tests for modals](https://developer.blackbaud.com/skyux/learn/get-started/advanced/unit-test-modals).\n * @dynamic\n */\n@Injectable({\n // Must be 'any' so that the modal component is created in the context of its module's injector.\n // If set to 'root', the component's dependency injections would only be derived from the root\n // injector and may loose context if the modal was opened from within a lazy-loaded module.\n providedIn: 'any'\n})\nexport class SkyModalService {\n\n private static host: ComponentRef<SkyModalHostComponent>;\n\n // TODO: In future breaking change - remove extra parameters as they are no longer used.\n /* tslint:disable:no-unused-variable */\n constructor(\n private dynamicComponentService?: SkyDynamicComponentService\n ) { }\n\n /**\n * @private\n * Removes the modal host from the DOM.\n */\n public dispose(): void {\n if (SkyModalService.host) {\n this.dynamicComponentService.removeComponent(SkyModalService.host);\n SkyModalService.host = undefined;\n }\n }\n\n /**\n * Opens a modal using the specified component.\n * @param component Determines the component to render.\n * Since the component generates dynamically instead of with HTML selectors, consumers must\n * register it with the `entryComponents` property in the `app-extras.module.ts` file.\n * For more information, see the\n * [entry components tutorial](https://developer.blackbaud.com/skyux/learn/get-started/advanced/entry-components).\n * @param {SkyModalConfigurationInterface} config Populates the modal based on the `SkyModalConfigurationInterface` object.\n */\n public open(component: any, config?: SkyModalConfigurationInterface | any[]): SkyModalInstance {\n let modalInstance = new SkyModalInstance();\n this.createHostComponent();\n let params = this.getConfigFromParameter(config);\n\n params.providers.push({\n provide: SkyModalInstance,\n useValue: modalInstance\n });\n\n SkyModalService.host.instance.open(modalInstance, component, params);\n\n return modalInstance;\n }\n\n private getConfigFromParameter(providersOrConfig: any): SkyModalConfigurationInterface {\n let defaultParams: SkyModalConfigurationInterface = {\n 'providers': [],\n 'fullPage': false,\n 'size': 'medium',\n 'tiledBody': false\n };\n let params: SkyModalConfigurationInterface = undefined;\n let method: any = undefined;\n\n // Object Literal Lookup for backwards compatability.\n method = {\n 'providers?': Object.assign({}, defaultParams, { 'providers': providersOrConfig }),\n 'config': Object.assign({}, defaultParams, providersOrConfig)\n };\n\n if (Array.isArray(providersOrConfig) === true) {\n params = method['providers?'];\n } else {\n params = method['config'];\n }\n\n return params;\n }\n\n private createHostComponent(): void {\n if (!SkyModalService.host) {\n SkyModalService.host = this.dynamicComponentService.createComponent(SkyModalHostComponent);\n }\n }\n}\n","import {\n Injectable\n} from '@angular/core';\n\nimport {\n SkyModalCloseArgs\n} from '../modal/modal-close-args';\n\nimport {\n SkyModalInstance\n} from '../modal/modal-instance';\n\nimport {\n SkyModalService\n} from '../modal/modal.service';\n\nimport {\n SkyConfirmCloseEventArgs\n} from './confirm-closed-event-args';\n\nimport {\n SkyConfirmConfig\n} from './confirm-config';\n\nimport {\n SkyConfirmModalContext\n} from './confirm-modal-context';\n\nimport {\n SkyConfirmComponent\n} from './confirm.component';\n\nimport {\n SkyConfirmInstance\n} from './confirm-instance';\n\n/**\n * The `SkyConfirmService` provider launches the confirmation dialog.\n * Within the service, you can specify the dialog's message and customize the button text.\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class SkyConfirmService {\n constructor(\n private modalService: SkyModalService\n ) { }\n\n/**\n * Opens a confirmation dialog and passes the `config` parameter of type `SkyConfirmConfig`\n * to the component's constructor. This method returns an object of type `SkyConfirmInstance`.\n */\n public open(config: SkyConfirmConfig): SkyConfirmInstance {\n const modalInstance: SkyModalInstance = this.modalService.open(\n SkyConfirmComponent,\n {\n providers: [{\n provide: SkyConfirmModalContext,\n useValue: config\n }]\n }\n );\n\n const confirmInstance = new SkyConfirmInstance();\n\n modalInstance.closed.subscribe((args: SkyModalCloseArgs) => {\n let result: SkyConfirmCloseEventArgs = args.data;\n\n // The modal was closed using the ESC key.\n if (result === undefined) {\n result = {\n action: 'cancel'\n };\n }\n\n confirmInstance.closed.emit(result);\n confirmInstance.closed.complete();\n });\n\n return confirmInstance;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["EventEmitter","SkyConfirmType","getLibStringForLocale","SkyI18nModule","SKY_LIB_RESOURCES_PROVIDERS","NgModule","Component","ViewEncapsulation","Injectable","Injector","takeWhile","NavigationStart","ViewContainerRef","ViewChild","Subject","takeUntil","SkyTheme","Directive","Optional","Output","HostListener","trigger","state","style","transition","animate","Input","CommonModule","RouterModule","SkyIconModule","SkyThemeModule","BehaviorSubject","observableZip"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAQA;;;;;;YAMS,WAAM,GAAG,IAAIA,eAAY,EAA4B,CAAC;SAC9D;iCAAA;KAAA;;ICHD;;QACA;SAMC;qCAAA;KAAA;;ACnBWC;IAAZ,WAAY,cAAc;;;;;QAKxB,uDAAU,CAAA;;;;QAIV,+CAAM,CAAA;;;;;;QAMN,6DAAa,CAAA;;;;;;QAMb,iEAAe,CAAA;IACjB,CAAC,EAtBWA,sBAAc,KAAdA,sBAAc;;ICA1B;;;;;;IAiBA,IAAM,SAAS,GAA0C;QACvD,OAAO,EAAE,EAAC,sCAAsC,EAAC,EAAC,SAAS,EAAC,IAAI,EAAC,EAAC,uCAAuC,EAAC,EAAC,SAAS,EAAC,KAAK,EAAC,EAAC,sCAAsC,EA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,SAAS,EAAE;oBACxB,MAAM,GAAG;wBACP,MAAM,EAAE,QAAQ;qBACjB,CAAC;iBACH;gBAED,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;gBACpC,eAAe,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;aACnC,CAAC,CAAC;YAEH,OAAO,eAAe,CAAC;SACxB;;;wIArCU,iBAAiB;4IAAjB,iBAAiB,cAFhB,MAAM;qHAEP,iBAAiB;sBAH7BA,aAAU;uBAAC;wBACV,UAAU,EAAE,MAAM;qBACnB;;;IC1CD;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"skyux-modals.umd.js","sources":["../../../projects/modals/src/modules/confirm/confirm-instance.ts","../../../projects/modals/src/modules/confirm/confirm-modal-context.ts","../../../projects/modals/src/modules/confirm/confirm-type.ts","../../../projects/modals/src/modules/shared/sky-modals-resources.module.ts","../../../projects/modals/src/modules/modal/modal-content.component.ts","../../../projects/modals/src/modules/modal/modal-content.component.html","../../../projects/modals/src/modules/modal/modal-footer.component.ts","../../../projects/modals/src/modules/modal/modal-footer.component.html","../../../projects/modals/src/modules/modal/modal-header.component.ts","../../../projects/modals/src/modules/modal/modal-header.component.html","../../../projects/modals/src/modules/modal/modal-adapter.service.ts","../../../projects/modals/src/modules/modal/modal-host.service.ts","../../../projects/modals/src/modules/modal/modal-configuration.ts","../../../projects/modals/src/modules/modal/modal-host.component.ts","../../../projects/modals/src/modules/modal/modal-host.component.html","../../../projects/modals/src/modules/modal/modal-scroll-shadow.directive.ts","../../../projects/modals/src/modules/modal/modal-component-adapter.service.ts","../../../projects/modals/src/modules/modal/modal-state-animation.ts","../../../projects/modals/src/modules/modal/modal.component.ts","../../../projects/modals/src/modules/modal/modal.component.html","../../../projects/modals/src/modules/modal/modal.module.ts","../../../projects/modals/src/modules/modal/modal-close-args.ts","../../../projects/modals/src/modules/modal/modal-before-close-handler.ts","../../../projects/modals/src/modules/modal/modal-instance.ts","../../../projects/modals/src/modules/confirm/confirm.component.ts","../../../projects/modals/src/modules/confirm/confirm.component.html","../../../projects/modals/src/modules/confirm/confirm.module.ts","../../../projects/modals/src/modules/modal/modal.service.ts","../../../projects/modals/src/modules/confirm/confirm.service.ts","../../../projects/modals/src/skyux-modals.ts"],"sourcesContent":["import {\n EventEmitter\n} from '@angular/core';\n\nimport {\n SkyConfirmCloseEventArgs\n} from './confirm-closed-event-args';\n\nexport class SkyConfirmInstance {\n /**\n * Fires when users select an action to close the confirmation dialog. This event\n * returns a `SkyConfirmCloseEventArgs` object with information about the button that\n * users select.\n */\n public closed = new EventEmitter<SkyConfirmCloseEventArgs>();\n}\n","import {\n SkyConfirmButtonConfig\n} from './confirm-button-config';\n\nimport {\n SkyConfirmConfig\n} from './confirm-config';\n\nimport {\n SkyConfirmType\n} from './confirm-type';\n\n/* istanbul ignore next */\nexport class SkyConfirmModalContext implements SkyConfirmConfig {\n public message: string;\n public body: string;\n public buttons: SkyConfirmButtonConfig[];\n public preserveWhiteSpace: boolean;\n public type: SkyConfirmType;\n}\n","export enum SkyConfirmType {\n /**\n * Allows you to define your own `buttons` using the buttons property to\n * specify an array of `SkyConfirmButtonConfig` objects.\n */\n Custom = 0,\n /**\n * Displays one button with an **OK** label.\n */\n OK = 1,\n /**\n * Displays two buttons with **Yes** and **Cancel** labels.\n * @deprecated Use the `Custom` type to follow the guidance that labels\n * should clearly indicate the actions that occur when users select buttons.\n */\n YesCancel = 2,\n /**\n * Displays three buttons with **Yes**, **No**, and **Cancel** labels.\n * @deprecated Use the `Custom` type to follow the guidance that labels\n * should clearly indicate the actions that occur when users select buttons.\n */\n YesNoCancel = 3\n}\n","/**\n * NOTICE: DO NOT MODIFY THIS FILE!\n * The contents of this file were automatically generated by\n * the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-modals' schematic.\n * To update this file, simply rerun the command.\n */\n\nimport { NgModule } from '@angular/core';\nimport {\n getLibStringForLocale,\n SkyAppLocaleInfo,\n SkyI18nModule,\n SkyLibResources,\n SkyLibResourcesProvider,\n SKY_LIB_RESOURCES_PROVIDERS\n} from '@skyux/i18n';\n\nconst RESOURCES: { [locale: string]: SkyLibResources } = {\n 'EN-US': {\"skyux_confirm_dialog_default_ok_text\":{\"message\":\"OK\"},\"skyux_confirm_dialog_default_yes_text\":{\"message\":\"Yes\"},\"skyux_confirm_dialog_default_no_text\":{\"message\":\"No\"},\"skyux_confirm_dialog_default_cancel_text\":{\"message\":\"Cancel\"},\"skyux_modal_close\":{\"message\":\"Close modal\"},\"skyux_modal_open_help\":{\"message\":\"Open Help\"},\"skyux_modal_footer_cancel_button\":{\"message\":\"Cancel\"},\"skyux_modal_footer_primary_button\":{\"message\":\"Save\"}},\n};\n\nexport class SkyModalsResourcesProvider implements SkyLibResourcesProvider {\n public getString(localeInfo: SkyAppLocaleInfo, name: string): string {\n return getLibStringForLocale(RESOURCES, localeInfo.locale, name);\n }\n}\n\n/**\n * Import into any component library module that needs to use resource strings.\n */\n@NgModule({\n exports: [SkyI18nModule],\n providers: [{\n provide: SKY_LIB_RESOURCES_PROVIDERS,\n useClass: SkyModalsResourcesProvider,\n multi: true\n }]\n})\nexport class SkyModalsResourcesModule { }\n","import {\n Component,\n ViewEncapsulation\n} from '@angular/core';\n\n/**\n * Specifies content to display in the modal's body.\n */\n@Component({\n selector: 'sky-modal-content',\n templateUrl: './modal-content.component.html',\n styleUrls: ['./modal-content.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class SkyModalContentComponent { }\n","<ng-content></ng-content>\n","import {\n Component\n} from '@angular/core';\n\n/**\n * Specifies content to display in the modal's footer.\n */\n@Component({\n selector: 'sky-modal-footer',\n templateUrl: './modal-footer.component.html',\n styleUrls: ['./modal-footer.component.scss']\n})\nexport class SkyModalFooterComponent {\n}\n","<div class=\"sky-modal-footer-container sky-padding-even-large\">\n <ng-content></ng-content>\n</div>\n","import {\n Component\n} from '@angular/core';\n\n/**\n * Specifies a header for the modal.\n */\n@Component({\n selector: 'sky-modal-header',\n templateUrl: './modal-header.component.html',\n styleUrls: [\n './modal-header.component.scss'\n ]\n})\nexport class SkyModalHeaderComponent {}\n","<h1\n class=\"sky-emphasized\"\n [skyThemeClass]=\"{\n 'sky-font-display-3': 'modern'\n }\"\n>\n <ng-content></ng-content>\n</h1>\n","import {\n Injectable\n} from '@angular/core';\n\nimport {\n SkyAppWindowRef\n} from '@skyux/core';\n\n/**\n * @internal\n */\n@Injectable()\nexport class SkyModalAdapterService {\n private static readonly MODAL_BODY_FULL_CLASS = 'sky-modal-body-full-page';\n private static readonly MODAL_BODY_CLASS = 'sky-modal-body-open';\n\n private docRef: any;\n private bodyEl: HTMLElement;\n\n constructor(\n private windowRef: SkyAppWindowRef\n ) {\n this.docRef = this.windowRef.nativeWindow.document;\n this.bodyEl = this.windowRef.nativeWindow.document.body;\n }\n\n public toggleFullPageModalClass(isAddFull: boolean): void {\n if (isAddFull) {\n this.addClassToBody(SkyModalAdapterService.MODAL_BODY_FULL_CLASS);\n } else {\n this.removeClassFromBody(SkyModalAdapterService.MODAL_BODY_FULL_CLASS);\n }\n }\n\n public setPageScroll(isAdd: boolean): void {\n if (isAdd) {\n this.addClassToBody(SkyModalAdapterService.MODAL_BODY_CLASS);\n } else {\n this.removeClassFromBody(SkyModalAdapterService.MODAL_BODY_CLASS);\n }\n }\n\n public getModalOpener(): HTMLElement {\n return <HTMLElement>this.docRef.activeElement;\n }\n\n private addClassToBody(className: string): void {\n this.bodyEl.classList.add(className);\n }\n\n private removeClassFromBody(className: string): void {\n this.bodyEl.classList.remove(className);\n }\n}\n","import {\n EventEmitter,\n Injectable\n} from '@angular/core';\n\n/**\n * @internal\n * @dynamic\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class SkyModalHostService {\n\n public static get openModalCount(): number {\n return SkyModalHostService.modalHosts.length;\n }\n\n public static get fullPageModalCount(): number {\n let fullPageModals = SkyModalHostService.modalHosts.filter(modal => modal.fullPage);\n return fullPageModals.length;\n }\n\n private static get BASE_Z_INDEX(): number {\n return 1040;\n }\n\n public static get backdropZIndex(): number {\n return SkyModalHostService.BASE_Z_INDEX + SkyModalHostService.modalHosts.length * 10;\n }\n\n public static get topModal(): SkyModalHostService {\n return SkyModalHostService.modalHosts[SkyModalHostService.modalHosts.length - 1];\n }\n\n private static modalHosts: SkyModalHostService[] = [];\n\n public close = new EventEmitter<void>();\n public fullPage = false;\n public openHelp = new EventEmitter<any>();\n\n constructor() {\n SkyModalHostService.modalHosts.push(this);\n }\n\n public getModalZIndex(): number {\n let zIndex = SkyModalHostService.BASE_Z_INDEX + 1;\n zIndex += (SkyModalHostService.modalHosts.indexOf(this) + 1) * 10;\n return zIndex;\n }\n\n public onClose(): void {\n this.close.emit();\n }\n\n public onOpenHelp(helpKey?: string) {\n this.openHelp.emit(helpKey);\n }\n\n public destroy(): void {\n SkyModalHostService.modalHosts.splice(SkyModalHostService.modalHosts.indexOf(this), 1);\n }\n}\n","import {\n Injectable\n} from '@angular/core';\n\n/**\n * @internal\n */\n@Injectable({\n providedIn: 'any'\n})\n\nexport class SkyModalConfiguration {\n public fullPage?: boolean;\n public size?: string;\n public ariaDescribedBy?: string;\n public ariaLabelledBy?: string;\n public ariaRole?: string;\n public tiledBody?: boolean;\n public helpKey?: string;\n\n constructor() {\n this.fullPage = this.fullPage;\n this.size = 'medium';\n }\n}\n","import {\n ChangeDetectorRef,\n Component,\n ComponentFactoryResolver,\n Injector,\n ViewChild,\n ViewContainerRef\n} from '@angular/core';\n\nimport {\n NavigationStart,\n Router\n} from '@angular/router';\n\nimport {\n takeWhile\n} from 'rxjs/operators';\n\nimport {\n SkyModalAdapterService\n} from './modal-adapter.service';\n\nimport {\n SkyModalInstance\n} from './modal-instance';\n\nimport {\n SkyModalHostService\n} from './modal-host.service';\n\nimport {\n SkyModalConfigurationInterface\n} from './modal.interface';\n\nimport {\n SkyModalConfiguration\n} from './modal-configuration';\n\n/**\n * @internal\n */\n@Component({\n selector: 'sky-modal-host',\n templateUrl: './modal-host.component.html',\n styleUrls: ['./modal-host.component.scss'],\n viewProviders: [SkyModalAdapterService]\n})\nexport class SkyModalHostComponent {\n public get modalOpen() {\n return SkyModalHostService.openModalCount > 0;\n }\n\n public get backdropZIndex() {\n return SkyModalHostService.backdropZIndex;\n }\n\n /**\n * Use `any` for backwards-compatibility with Angular 4-7.\n * See: https://github.com/angular/angular/issues/30654\n * TODO: Remove the `any` in a breaking change.\n * @internal\n */\n @ViewChild('target', {\n read: ViewContainerRef,\n static: true\n } as any)\n public target: ViewContainerRef;\n\n constructor(\n private resolver: ComponentFactoryResolver,\n private adapter: SkyModalAdapterService,\n private injector: Injector,\n private router: Router,\n private changeDetector: ChangeDetectorRef\n ) { }\n\n public open(\n modalInstance: SkyModalInstance,\n component: any,\n config?: SkyModalConfigurationInterface\n ) {\n const params: SkyModalConfigurationInterface = Object.assign({}, config);\n const factory = this.resolver.resolveComponentFactory(component);\n\n const hostService = new SkyModalHostService();\n hostService.fullPage = !!params.fullPage;\n\n const adapter = this.adapter;\n const modalOpener: HTMLElement = adapter.getModalOpener();\n\n let isOpen = true;\n\n params.providers.push({\n provide: SkyModalHostService,\n useValue: hostService\n });\n params.providers.push({\n provide: SkyModalConfiguration,\n useValue: params\n });\n\n adapter.setPageScroll(SkyModalHostService.openModalCount > 0);\n adapter.toggleFullPageModalClass(SkyModalHostService.fullPageModalCount > 0);\n\n let providers = params.providers || /* istanbul ignore next */ [];\n const injector = Injector.create({\n providers,\n parent: this.injector\n });\n\n let modalComponentRef = this.target.createComponent(factory, undefined, injector);\n\n modalInstance.componentInstance = modalComponentRef.instance;\n\n function closeModal() {\n hostService.destroy();\n adapter.setPageScroll(SkyModalHostService.openModalCount > 0);\n adapter.toggleFullPageModalClass(SkyModalHostService.fullPageModalCount > 0);\n /* istanbul ignore else */\n /* sanity check */\n if (modalOpener && modalOpener.focus) {\n modalOpener.focus();\n }\n modalComponentRef.destroy();\n }\n\n hostService.openHelp.subscribe((helpKey?: string) => {\n modalInstance.openHelp(helpKey);\n });\n\n hostService.close.subscribe(() => {\n modalInstance.close();\n });\n\n this.router.events\n .pipe(\n takeWhile(() => isOpen)\n )\n .subscribe((event) => {\n /* istanbul ignore else */\n if (event instanceof NavigationStart) {\n modalInstance.close();\n }\n });\n\n modalInstance.closed.subscribe(() => {\n isOpen = false;\n closeModal();\n });\n\n // Necessary if the host was created via a consumer's lifecycle hook such as ngOnInit\n this.changeDetector.detectChanges();\n }\n}\n","<div\n class=\"sky-modal-host-backdrop\"\n [hidden]=\"!modalOpen\"\n [ngStyle]=\"{\n zIndex: backdropZIndex\n }\"\n>\n</div>\n<div #target></div>\n","import {\n Directive,\n ElementRef,\n EventEmitter,\n HostListener,\n OnDestroy,\n OnInit,\n Optional,\n Output,\n NgZone\n} from '@angular/core';\n\nimport {\n Subject\n} from 'rxjs';\n\nimport {\n takeUntil\n} from 'rxjs/operators';\n\nimport {\n MutationObserverService\n} from '@skyux/core';\n\nimport {\n SkyTheme,\n SkyThemeService\n} from '@skyux/theme';\n\nimport {\n SkyModalScrollShadowEventArgs\n} from './modal-scroll-shadow-event-args';\n\n/**\n * Raises an event when the box shadow for the modal header or footer should be adjusted\n * based on the scroll position of the host element.\n * @internal\n */\n@Directive({\n selector: '[skyModalScrollShadow]'\n})\nexport class SkyModalScrollShadowDirective implements OnInit, OnDestroy {\n\n @Output()\n public skyModalScrollShadow = new EventEmitter<SkyModalScrollShadowEventArgs>();\n\n private currentShadow: SkyModalScrollShadowEventArgs;\n\n private currentTheme: SkyTheme;\n\n private mutationObserver: MutationObserver;\n\n private ngUnsubscribe = new Subject<any>();\n\n constructor(\n private elRef: ElementRef,\n @Optional() private themeSvc: SkyThemeService,\n private mutationObserverSvc: MutationObserverService,\n private ngZone: NgZone\n ) { }\n\n @HostListener('window:resize')\n public windowResize(): void {\n this.checkForShadow();\n }\n\n @HostListener('scroll')\n public scroll(): void {\n this.checkForShadow();\n }\n\n public ngOnInit(): void {\n if (this.themeSvc) {\n this.themeSvc.settingsChange\n .pipe(\n takeUntil(this.ngUnsubscribe)\n )\n .subscribe((themeSettings) => {\n this.currentTheme = themeSettings.currentSettings.theme;\n\n if (this.currentTheme === SkyTheme.presets.modern) {\n this.initMutationObserver();\n } else {\n this.emitShadow({\n bottomShadow: 'none',\n topShadow: 'none'\n });\n\n this.destroyMutationObserver();\n }\n });\n }\n }\n\n public ngOnDestroy(): void {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n\n this.destroyMutationObserver();\n }\n\n private initMutationObserver(): void {\n if (!this.mutationObserver) {\n const el = this.elRef.nativeElement;\n\n // MutationObserver is patched by Zone.js and therefore becomes part of the\n // Angular change detection cycle, but this can lead to infinite loops in some\n // secnarios. This will keep MutationObserver from triggering change detection.\n this.ngZone.runOutsideAngular(() => {\n this.mutationObserver = this.mutationObserverSvc.create(() => {\n this.checkForShadow();\n });\n\n this.mutationObserver.observe(\n el,\n {\n attributes: true,\n characterData: true,\n childList: true,\n subtree: true\n }\n );\n });\n }\n }\n\n private destroyMutationObserver(): void {\n if (this.mutationObserver) {\n this.mutationObserver.disconnect();\n this.mutationObserver = undefined;\n }\n }\n\n private checkForShadow(): void {\n if (this.currentTheme === SkyTheme.presets.modern) {\n const el = this.elRef.nativeElement;\n\n const topShadow = this.buildShadowStyle(\n el.scrollTop\n );\n\n const bottomShadow = this.buildShadowStyle(\n (el.scrollHeight - el.scrollTop) - el.clientHeight\n );\n\n this.emitShadow({\n bottomShadow,\n topShadow\n });\n }\n }\n\n private buildShadowStyle(pixelsFromEnd: number): string {\n // Progressively darken the shadow until the user scrolls 30 pixels from the top or bottom\n // of the scrollable element, with a max opacity of 0.3.\n const opacity = Math.min(pixelsFromEnd / 30, 1) * 0.3;\n\n return opacity > 0 ?\n `0px 1px 8px 0px rgba(0, 0, 0, ${opacity})` :\n 'none';\n }\n\n private emitShadow(shadow: SkyModalScrollShadowEventArgs): void {\n if (\n !this.currentShadow ||\n this.currentShadow.bottomShadow !== shadow.bottomShadow ||\n this.currentShadow.topShadow !== shadow.topShadow\n ) {\n this.skyModalScrollShadow.emit(shadow);\n this.currentShadow = shadow;\n }\n }\n}\n","import {\n Injectable,\n ElementRef\n} from '@angular/core';\n\nimport {\n SkyCoreAdapterService\n} from '@skyux/core';\n\n/**\n * @internal\n */\n@Injectable()\nexport class SkyModalComponentAdapterService {\n constructor(\n private coreAdapter: SkyCoreAdapterService\n ) { }\n\n public handleWindowChange(modalEl: ElementRef): void {\n let boundedHeightEl = modalEl.nativeElement.querySelector('.sky-modal');\n let fullPageModalEl = modalEl.nativeElement.querySelector('.sky-modal-full-page');\n /*\n Set modal height equal to max height of window (accounting for padding above and below modal)\n */\n let newHeight = window.innerHeight - 40;\n\n boundedHeightEl.style.maxHeight = newHeight.toString() + 'px';\n if (fullPageModalEl) {\n this.setFullPageHeight(fullPageModalEl);\n } else {\n /*\n IE11 doesn't handle flex and max-height correctly so we have to explicitly add\n max-height to the content that accounts for standard header and footer height.\n */\n let modalContentEl = modalEl.nativeElement.querySelector('.sky-modal-content');\n let contentHeight = newHeight - 114;\n modalContentEl.style.maxHeight = contentHeight.toString() + 'px';\n }\n }\n\n public isFocusInFirstItem(event: KeyboardEvent, list: Array<HTMLElement>): boolean {\n /* istanbul ignore next */\n /* sanity check */\n let eventTarget = event.target || event.srcElement;\n return list.length > 0 && eventTarget === list[0];\n }\n\n public isFocusInLastItem(event: KeyboardEvent, list: Array<HTMLElement>): boolean {\n /* istanbul ignore next */\n /* sanity check */\n let eventTarget = event.target || event.srcElement;\n return list.length > 0 && eventTarget === list[list.length - 1];\n }\n\n public isModalFocused(event: KeyboardEvent, modalEl: ElementRef): boolean {\n /* istanbul ignore next */\n /* sanity check */\n let eventTarget = event.target || event.srcElement;\n return modalEl &&\n eventTarget === modalEl.nativeElement.querySelector('.sky-modal-dialog');\n }\n\n public focusLastElement(list: Array<HTMLElement>): boolean {\n if (list.length > 0) {\n list[list.length - 1].focus();\n return true;\n }\n return false;\n }\n\n public focusFirstElement(list: Array<HTMLElement>): boolean {\n if (list.length > 0) {\n list[0].focus();\n return true;\n }\n return false;\n }\n\n public modalOpened(modalEl: ElementRef): void {\n /* istanbul ignore else */\n /* handle the case where somehow there is a focused element already in the modal */\n if (!(document.activeElement && modalEl.nativeElement.contains(document.activeElement))) {\n let currentScrollX = window.pageXOffset;\n let currentScrollY = window.pageYOffset;\n\n let inputWithAutofocus = modalEl.nativeElement.querySelector('[autofocus]');\n\n if (inputWithAutofocus) {\n inputWithAutofocus.focus();\n } else {\n this.coreAdapter.getFocusableChildrenAndApplyFocus(modalEl, '.sky-modal-content', true);\n }\n window.scrollTo(currentScrollX, currentScrollY);\n }\n }\n\n private setFullPageHeight(fullPageModalEl: HTMLElement): void {\n const windowHeight = window.innerHeight;\n const fullPageModalStyle = getComputedStyle(fullPageModalEl);\n\n const marginTopBottom =\n parseInt(fullPageModalStyle.marginTop, 10) +\n parseInt(fullPageModalStyle.marginBottom, 10);\n\n const fullPageModalHeight = (windowHeight - marginTopBottom) + 'px';\n\n fullPageModalEl.style.height = fullPageModalHeight;\n fullPageModalEl.style.maxHeight = fullPageModalHeight;\n }\n}\n","import {\n animate,\n state,\n style,\n transition,\n trigger\n} from '@angular/animations';\n\nexport const skyAnimationModalState = trigger('modalState', [\n state('in', style({ opacity: '1.0' })),\n state('out', style({ opacity: '0.0' })),\n transition('void => *', [\n style({ opacity: '0.0' }),\n animate(150)\n ]),\n transition('* => void', [\n animate(150, style({ opacity: '0.0' }))\n ])\n]) as any;\n","import {\n AfterViewInit,\n Component,\n Input,\n ElementRef,\n Host,\n HostListener,\n ViewChild\n} from '@angular/core';\n\nimport {\n SkyAppWindowRef,\n SkyCoreAdapterService,\n SkyDockLocation,\n SkyDockService\n} from '@skyux/core';\n\nimport {\n SkyModalHostService\n} from './modal-host.service';\n\nimport {\n SkyModalConfiguration\n} from './modal-configuration';\n\nimport {\n SkyModalComponentAdapterService\n} from './modal-component-adapter.service';\n\nimport {\n SkyModalScrollShadowEventArgs\n} from './modal-scroll-shadow-event-args';\n\nimport {\n skyAnimationModalState\n} from './modal-state-animation';\n\nlet skyModalUniqueIdentifier: number = 0;\n\n/**\n * Provides a common look-and-feel for modal content with options to display\n * a common modal header, specify body content, and display a common modal footer\n * and buttons. For information about how to test modals in SKY UX, see\n * [write unit tests for modals](https://developer.blackbaud.com/skyux/learn/get-started/advanced/unit-test-modals).\n */\n@Component({\n selector: 'sky-modal',\n templateUrl: './modal.component.html',\n styleUrls: ['./modal.component.scss'],\n animations: [\n skyAnimationModalState\n ],\n providers: [\n SkyModalComponentAdapterService,\n SkyDockService\n ]\n})\nexport class SkyModalComponent implements AfterViewInit {\n\n /**\n * @internal\n */\n @Input()\n public get ariaRole() {\n return this.config.ariaRole || 'dialog';\n }\n public set ariaRole(value: string) {\n this.config.ariaRole = value;\n }\n\n /**\n * @internal\n */\n @Input()\n public set tiledBody(value: boolean) {\n this.config.tiledBody = value;\n }\n\n public get modalZIndex() {\n return this.hostService.getModalZIndex();\n }\n\n public get modalFullPage() {\n return this.config.fullPage;\n }\n\n public get isSmallSize() {\n return !this.modalFullPage && this.isSizeEqual(this.config.size, 'small');\n }\n\n public get isMediumSize() {\n return !this.modalFullPage && !(this.isSmallSize || this.isLargeSize);\n }\n\n public get isLargeSize() {\n return !this.modalFullPage && this.isSizeEqual(this.config.size, 'large');\n }\n\n public get isTiledBody() {\n return this.config.tiledBody;\n }\n\n public get ariaDescribedBy() {\n return this.config.ariaDescribedBy || this.modalContentId;\n }\n\n public get ariaLabelledBy() {\n return this.config.ariaLabelledBy || this.modalHeaderId;\n }\n\n public get helpKey() {\n return this.config.helpKey;\n }\n\n public modalState = 'in';\n\n public modalContentId: string = 'sky-modal-content-id-' + skyModalUniqueIdentifier.toString();\n\n public modalHeaderId: string = 'sky-modal-header-id-' + skyModalUniqueIdentifier.toString();\n\n public scrollShadow: SkyModalScrollShadowEventArgs;\n\n @ViewChild('modalContentWrapper', { read: ElementRef })\n private modalContentWrapperElement: ElementRef;\n\n constructor(\n private hostService: SkyModalHostService,\n private config: SkyModalConfiguration,\n private elRef: ElementRef,\n private windowRef: SkyAppWindowRef,\n private componentAdapter: SkyModalComponentAdapterService,\n private coreAdapter: SkyCoreAdapterService,\n @Host() private dockService: SkyDockService\n ) { }\n\n @HostListener('document:keyup', ['$event'])\n public onDocumentKeyUp(event: KeyboardEvent) {\n /* istanbul ignore else */\n /* sanity check */\n if (SkyModalHostService.openModalCount > 0) {\n let topModal = SkyModalHostService.topModal;\n if (topModal && topModal === this.hostService) {\n if (event.which === 27) { // Escape key up\n event.preventDefault();\n this.closeButtonClick();\n }\n }\n }\n }\n\n @HostListener('document:keydown', ['$event'])\n public onDocumentKeyDown(event: KeyboardEvent) {\n /* istanbul ignore else */\n /* sanity check */\n if (SkyModalHostService.openModalCount > 0) {\n let topModal = SkyModalHostService.topModal;\n if (topModal && topModal === this.hostService) {\n if (event.which === 9) { // Tab pressed\n let focusChanged = false;\n\n let focusElementList = this.coreAdapter.getFocusableChildren(this.elRef.nativeElement);\n\n if (\n event.shiftKey &&\n (this.componentAdapter.isFocusInFirstItem(event, focusElementList) ||\n this.componentAdapter.isModalFocused(event, this.elRef))) {\n\n focusChanged = this.componentAdapter.focusLastElement(focusElementList);\n } else if (\n !event.shiftKey && this.componentAdapter.isFocusInLastItem(event, focusElementList)) {\n focusChanged = this.componentAdapter.focusFirstElement(focusElementList);\n }\n\n if (focusChanged) {\n event.preventDefault();\n event.stopPropagation();\n }\n }\n }\n }\n }\n\n public ngAfterViewInit() {\n skyModalUniqueIdentifier++;\n this.componentAdapter.handleWindowChange(this.elRef);\n\n // Adding a timeout to avoid ExpressionChangedAfterItHasBeenCheckedError.\n // https://stackoverflow.com/questions/40562845\n this.windowRef.nativeWindow.setTimeout(() => {\n this.componentAdapter.modalOpened(this.elRef);\n });\n\n this.dockService.setDockOptions({\n location: SkyDockLocation.ElementBottom,\n referenceEl: this.modalContentWrapperElement.nativeElement,\n zIndex: 5\n });\n }\n\n public helpButtonClick() {\n this.hostService.onOpenHelp(this.helpKey);\n }\n\n public closeButtonClick() {\n this.hostService.onClose();\n }\n\n public windowResize() {\n this.componentAdapter.handleWindowChange(this.elRef);\n }\n\n public scrollShadowChange(args: SkyModalScrollShadowEventArgs): void {\n this.scrollShadow = args;\n }\n\n private isSizeEqual(actualSize: string, size: string) {\n return actualSize && actualSize.toLowerCase() === size;\n }\n}\n","<!--\n Animations are broken in Chrome v52. Angular 2 RC5 will fix it.\n https://github.com/angular/angular/issues/10245\n-->\n<!--<div @modalState=\"modalState\">-->\n\n<div\n class=\"sky-modal-dialog\"\n aria-modal=\"true\"\n [attr.aria-describedby]=\"ariaDescribedBy\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.role]=\"ariaRole\"\n (window:resize)=\"windowResize()\"\n>\n <div\n class=\"sky-modal sky-shadow sky-box sky-elevation-16\"\n tabindex=\"-1\"\n [ngClass]=\"{\n 'sky-modal-full-page': modalFullPage,\n 'sky-modal-small' : isSmallSize,\n 'sky-modal-medium' : isMediumSize,\n 'sky-modal-large' : isLargeSize,\n 'sky-modal-tiled' : isTiledBody\n }\"\n [ngStyle]=\"{\n zIndex: modalZIndex\n }\">\n\n <div\n class=\"sky-modal-header\"\n [hidden]=\"!headerContent || !headerContent.children || headerContent.children.length &lt; 1\"\n [ngStyle]=\"{\n 'box-shadow': scrollShadow?.topShadow\n }\"\n >\n <div\n class=\"sky-modal-header-content\"\n [attr.id]=\"modalHeaderId\"\n [ngClass]=\"{\n 'sky-section-heading': modalFullPage\n }\"\n #headerContent\n >\n <ng-content select=\"sky-modal-header\"></ng-content>\n </div>\n <div class=\"sky-modal-header-buttons\">\n <button *ngIf=\"helpKey\"\n class=\"sky-btn sky-modal-btn-help\"\n name=\"help-button\"\n type=\"button\"\n [attr.aria-label]=\"'skyux_modal_open_help' | skyLibResources\"\n (click)=\"helpButtonClick()\"\n >\n <sky-icon icon=\"question-circle\"></sky-icon>\n </button>\n\n <button type=\"button\" class=\"sky-btn sky-modal-btn-close\" [attr.aria-label]=\"'skyux_modal_close' | skyLibResources\" (click)=\"closeButtonClick()\">\n <sky-icon icon=\"close\"></sky-icon>\n </button>\n </div>\n\n </div>\n <div\n class=\"sky-modal-content sky-padding-even-large\"\n role=\"region\"\n tabindex=\"0\"\n [attr.aria-labelledby]=\"modalHeaderId\"\n [attr.id]=\"modalContentId\"\n (skyModalScrollShadow)=\"scrollShadowChange($event)\"\n #modalContentWrapper\n >\n <ng-content select=\"sky-modal-content\"></ng-content>\n </div>\n <div\n class=\"sky-modal-footer\"\n [ngStyle]=\"{\n 'box-shadow': scrollShadow?.bottomShadow\n }\"\n >\n <ng-content select=\"sky-modal-footer\"></ng-content>\n </div>\n </div>\n</div>\n","import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n RouterModule\n} from '@angular/router';\n\nimport {\n SkyIconModule\n} from '@skyux/indicators';\n\nimport {\n SkyThemeModule\n} from '@skyux/theme';\n\nimport {\n SkyModalsResourcesModule\n} from '../shared/sky-modals-resources.module';\n\nimport {\n SkyModalContentComponent\n} from './modal-content.component';\n\nimport {\n SkyModalFooterComponent\n} from './modal-footer.component';\n\nimport {\n SkyModalHeaderComponent\n} from './modal-header.component';\n\nimport {\n SkyModalHostComponent\n} from './modal-host.component';\n\nimport {\n SkyModalScrollShadowDirective\n} from './modal-scroll-shadow.directive';\n\nimport {\n SkyModalComponent\n} from './modal.component';\n\n@NgModule({\n declarations: [\n SkyModalComponent,\n SkyModalContentComponent,\n SkyModalFooterComponent,\n SkyModalHeaderComponent,\n SkyModalHostComponent,\n SkyModalScrollShadowDirective\n ],\n imports: [\n CommonModule,\n RouterModule,\n SkyIconModule,\n SkyModalsResourcesModule,\n SkyThemeModule\n ],\n exports: [\n SkyModalComponent,\n SkyModalContentComponent,\n SkyModalFooterComponent,\n SkyModalHeaderComponent\n ],\n entryComponents: [\n SkyModalHostComponent\n ]\n})\nexport class SkyModalModule { }\n","export class SkyModalCloseArgs {\n public reason: string;\n public data: any;\n constructor() {}\n}\n","import {\n SkyModalCloseArgs\n} from '../modal/modal-close-args';\n\nexport class SkyModalBeforeCloseHandler {\n constructor(\n public readonly closeModal: Function,\n public readonly closeArgs: SkyModalCloseArgs\n ) { }\n}\n","import {\n Observable,\n Subject\n} from 'rxjs';\n\nimport {\n SkyModalCloseArgs\n} from './modal-close-args';\n\nimport {\n SkyModalBeforeCloseHandler\n} from './modal-before-close-handler';\n\n// TODO: this class won't show in the generated docs until this work is done:\n// https://github.com/blackbaud/skyux-docs-tools/issues/30\n\n/**\n * Allows you to close the modal and return data from the launched modal.\n */\nexport class SkyModalInstance {\n\n /**\n * An event that the modal instance emits when it is about to close.\n * It emits a `SkyModalBeforeCloseHandler` object with a `closeModal` method\n * that closes the modal. If a subscription exists for this event,\n * the modal does not close until the subscriber calls the `closeModal` method.\n */\n public get beforeClose(): Observable<SkyModalBeforeCloseHandler> {\n return this._beforeClose;\n }\n\n /**\n * An event that the modal instance emits when it closes.\n * It emits a `SkyCloseModalArgs` object with a `data` property that includes\n * data passed from users on close or save and a `reason` property that indicates\n * whether the modal was saved or closed without saving.\n * The `reason` property accepts any string value.\n * Common examples include `cancel`, `close`, and `save`.\n */\n public get closed(): Observable<SkyModalCloseArgs> {\n return this._closed;\n }\n\n /**\n * An event that the modal instance emits when users click\n * the <i class=\"fa fa-question-circle\" aria-hidden=\"true\"></i> button.\n * If a `helpKey` parameter was specified, the `helpOpened` event broadcasts the `helpKey`.\n */\n public get helpOpened(): Observable<string> {\n return this._helpOpened;\n }\n\n /**\n * A direct reference to the provided component's class.\n */\n public componentInstance: any;\n\n private _beforeClose = new Subject<SkyModalBeforeCloseHandler>();\n\n private _closed = new Subject<SkyModalCloseArgs>();\n\n private _helpOpened = new Subject<string>();\n\n /**\n * Closes the modal instance.\n * @param result Specifies an object to emit to subscribers of the `closed` event of the\n * modal instance. The `SkyModalInstance` provider can be injected into a component's constructor\n * so that this `close` function can be called from a button in the `sky-modal-footer`.\n * @param reason Specifies the reason for the modal closing, with the default reason of `close`.\n * @param ignoreBeforeClose Indicates whether to ignore the modal instance's `beforeClose` event.\n */\n public close(result?: any, reason?: string, ignoreBeforeClose?: boolean): void {\n if (reason === undefined) {\n reason = 'close';\n }\n\n this.closeModal(reason, result, ignoreBeforeClose);\n }\n\n /**\n * Closes the modal instance with `reason=cancel`.\n * @param result Specifies an object to emit to subscribers of the `closed` event of the modal\n * instance. The `SkyModalInstance` provider can be injected into a component's constructor so\n * that this cancel function can be called from a button in the `sky-modal-footer`.\n */\n public cancel(result?: any): void {\n this.closeModal('cancel', result);\n }\n\n /**\n * Closes the modal instance with `reason=save`.\n * @param result Specifies an object to emit to subscribers of the `closed` event of the modal\n * instance. The `SkyModalInstance` provider can be injected into a component's constructor so\n * that this `save` function can be called from a button in `the sky-modal-footer`.\n */\n public save(result?: any): void {\n this.closeModal('save', result);\n }\n\n /**\n * Triggers the `helpOpened` event that broadcasts a `helpKey` parameter to open\n * when users click the <i class=\"fa fa-question-circle\" aria-hidden=\"true\"></i> button.\n * @param helpKey Specifies a string to emit to subscribers of\n * the modal instance's `helpOpened` event. Consumers can inject the `SkyModalInstance` provider\n * into a component's constructor to call the `openHelp` function in the modal template.\n */\n public openHelp(helpKey?: string): void {\n this._helpOpened.next(helpKey);\n }\n\n private closeModal(type: string, result?: any, ignoreBeforeClose = false): void {\n const args = new SkyModalCloseArgs();\n\n args.reason = type;\n args.data = result;\n\n if (this._beforeClose.observers.length === 0 || ignoreBeforeClose) {\n this.notifyClosed(args);\n } else {\n this._beforeClose.next(new SkyModalBeforeCloseHandler(() => {\n this.notifyClosed(args);\n }, args));\n }\n }\n\n private notifyClosed(args: SkyModalCloseArgs): void {\n this._closed.next(args);\n this._closed.complete();\n this._beforeClose.complete();\n this._helpOpened.complete();\n }\n}\n","import {\n Component,\n OnInit,\n Optional\n} from '@angular/core';\n\nimport {\n SkyLibResourcesService\n} from '@skyux/i18n';\n\nimport {\n BehaviorSubject,\n Observable,\n zip as observableZip\n} from 'rxjs';\n\nimport {\n SkyModalInstance\n} from '../modal/modal-instance';\n\nimport {\n SkyConfirmButton\n} from './confirm-button';\n\nimport {\n SkyConfirmButtonConfig\n} from './confirm-button-config';\n\nimport {\n SkyConfirmCloseEventArgs\n} from './confirm-closed-event-args';\n\nimport {\n SkyConfirmType\n} from './confirm-type';\n\nimport {\n SkyConfirmModalContext\n} from './confirm-modal-context';\n\n@Component({\n selector: 'sky-confirm',\n templateUrl: './confirm.component.html',\n styleUrls: ['./confirm.component.scss']\n})\nexport class SkyConfirmComponent implements OnInit {\n public buttons: SkyConfirmButton[];\n public message: string;\n public body: string;\n public preserveWhiteSpace = false;\n\n constructor(\n private config: SkyConfirmModalContext,\n private modal: SkyModalInstance,\n @Optional() private resourcesService: SkyLibResourcesService\n ) { }\n\n public ngOnInit() {\n if (this.config.type === SkyConfirmType.Custom && this.config.buttons.length > 0) {\n this.buttons = this.getCustomButtons(this.config.buttons);\n } else {\n this.getPresetButtons().subscribe((buttons: SkyConfirmButton[]) => {\n this.buttons = buttons;\n });\n }\n\n this.message = this.config.message;\n this.body = this.config.body;\n this.preserveWhiteSpace = this.config.preserveWhiteSpace || false;\n }\n\n public close(button: SkyConfirmButton) {\n const result: SkyConfirmCloseEventArgs = {\n action: button.action\n };\n\n this.modal.close(result);\n }\n\n private getPresetButtons(): Observable<SkyConfirmButton[]> {\n const emitter = new BehaviorSubject<SkyConfirmButton[]>([]);\n\n switch (this.config.type) {\n default:\n case SkyConfirmType.OK:\n this.resourcesService.getString('skyux_confirm_dialog_default_ok_text')\n .subscribe((value: string) => {\n emitter.next([\n {\n text: value,\n autofocus: true,\n styleType: 'primary',\n action: 'ok'\n }\n ]);\n });\n break;\n\n case SkyConfirmType.YesNoCancel:\n observableZip(\n this.resourcesService.getString('skyux_confirm_dialog_default_yes_text'),\n this.resourcesService.getString('skyux_confirm_dialog_default_no_text'),\n this.resourcesService.getString('skyux_confirm_dialog_default_cancel_text')\n ).subscribe((values: any) => {\n emitter.next([\n {\n text: values[0],\n autofocus: true,\n styleType: 'primary',\n action: 'yes'\n },\n {\n text: values[1],\n styleType: 'default',\n action: 'no'\n },\n {\n text: values[2],\n styleType: 'link',\n action: 'cancel'\n }\n ]);\n });\n break;\n\n case SkyConfirmType.YesCancel:\n observableZip(\n this.resourcesService.getString('skyux_confirm_dialog_default_yes_text'),\n this.resourcesService.getString('skyux_confirm_dialog_default_cancel_text')\n ).subscribe((values: any) => {\n emitter.next([\n {\n text: values[0],\n autofocus: true,\n styleType: 'primary',\n action: 'yes'\n },\n {\n text: values[1],\n styleType: 'link',\n action: 'cancel'\n }\n ]);\n });\n break;\n }\n\n return emitter;\n }\n\n private getCustomButtons(buttonConfig: SkyConfirmButtonConfig[]): SkyConfirmButton[] {\n const buttons: SkyConfirmButton[] = [];\n\n buttonConfig.forEach((config: SkyConfirmButtonConfig) => {\n buttons.push({\n text: config.text,\n action: config.action,\n styleType: config.styleType || 'default',\n autofocus: config.autofocus || false\n } as SkyConfirmButton);\n });\n\n return buttons;\n }\n}\n","<div class=\"sky-confirm\">\n <sky-modal\n ariaRole=\"alertdialog\">\n <sky-modal-content class=\"sky-confirm-content\">\n\n <div\n class=\"sky-confirm-message\"\n [ngClass]=\"{\n 'sky-confirm-preserve-white-space': preserveWhiteSpace\n }\"\n [skyThemeClass]=\"{\n 'sky-emphasized': 'default',\n 'sky-font-heading-1 sky-font-display-3': 'modern'\n }\"\n >{{ message }}</div>\n\n <div *ngIf=\"body\"\n class=\"sky-confirm-body\"\n [ngClass]=\"{\n 'sky-confirm-preserve-white-space': preserveWhiteSpace\n }\"\n >{{ body }}</div>\n\n <div class=\"sky-confirm-buttons\">\n <button\n *ngFor=\"let button of buttons\"\n type=\"button\"\n class=\"sky-btn\"\n [ngClass]=\"[\n 'sky-btn-' + button.styleType\n ]\"\n [skyThemeClass]=\"{\n 'sky-margin-inline-sm': 'modern',\n 'sky-margin-inline-compact': 'default'\n }\"\n (click)=\"close(button)\"\n [attr.autofocus]=\"button.autofocus ? 'autofocus': null\"\n >\n {{ button.text }}\n </button>\n </div>\n </sky-modal-content>\n </sky-modal>\n</div>\n","import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n SkyThemeModule\n} from '@skyux/theme';\n\nimport {\n SkyModalModule\n} from '../modal/modal.module';\n\nimport {\n SkyModalsResourcesModule\n} from '../shared/sky-modals-resources.module';\n\nimport {\n SkyConfirmComponent\n} from './confirm.component';\n\n@NgModule({\n declarations: [\n SkyConfirmComponent\n ],\n imports: [\n CommonModule,\n SkyModalModule,\n SkyModalsResourcesModule,\n SkyThemeModule\n ],\n exports: [\n SkyConfirmComponent\n ],\n entryComponents: [\n SkyConfirmComponent\n ]\n})\nexport class SkyConfirmModule { }\n","import {\n ComponentRef,\n Injectable\n} from '@angular/core';\n\nimport {\n SkyDynamicComponentService\n} from '@skyux/core';\n\nimport {\n SkyModalInstance\n} from './modal-instance';\n\nimport {\n SkyModalHostComponent\n} from './modal-host.component';\n\nimport {\n SkyModalConfigurationInterface\n} from './modal.interface';\n\n/**\n * A service that lauches modals. For information about how to test modals in SKY UX, see\n * [write unit tests for modals](https://developer.blackbaud.com/skyux/learn/get-started/advanced/unit-test-modals).\n * @dynamic\n */\n@Injectable({\n // Must be 'any' so that the modal component is created in the context of its module's injector.\n // If set to 'root', the component's dependency injections would only be derived from the root\n // injector and may loose context if the modal was opened from within a lazy-loaded module.\n providedIn: 'any'\n})\nexport class SkyModalService {\n\n private static host: ComponentRef<SkyModalHostComponent>;\n\n // TODO: In future breaking change - remove extra parameters as they are no longer used.\n /* tslint:disable:no-unused-variable */\n constructor(\n private dynamicComponentService?: SkyDynamicComponentService\n ) { }\n\n /**\n * @private\n * Removes the modal host from the DOM.\n */\n public dispose(): void {\n if (SkyModalService.host) {\n this.dynamicComponentService.removeComponent(SkyModalService.host);\n SkyModalService.host = undefined;\n }\n }\n\n /**\n * Opens a modal using the specified component.\n * @param component Determines the component to render.\n * Since the component generates dynamically instead of with HTML selectors, consumers must\n * register it with the `entryComponents` property in the `app-extras.module.ts` file.\n * For more information, see the\n * [entry components tutorial](https://developer.blackbaud.com/skyux/learn/get-started/advanced/entry-components).\n * @param {SkyModalConfigurationInterface} config Populates the modal based on the `SkyModalConfigurationInterface` object.\n */\n public open(component: any, config?: SkyModalConfigurationInterface | any[]): SkyModalInstance {\n let modalInstance = new SkyModalInstance();\n this.createHostComponent();\n let params = this.getConfigFromParameter(config);\n\n params.providers.push({\n provide: SkyModalInstance,\n useValue: modalInstance\n });\n\n SkyModalService.host.instance.open(modalInstance, component, params);\n\n return modalInstance;\n }\n\n private getConfigFromParameter(providersOrConfig: any): SkyModalConfigurationInterface {\n let defaultParams: SkyModalConfigurationInterface = {\n 'providers': [],\n 'fullPage': false,\n 'size': 'medium',\n 'tiledBody': false\n };\n let params: SkyModalConfigurationInterface = undefined;\n let method: any = undefined;\n\n // Object Literal Lookup for backwards compatability.\n method = {\n 'providers?': Object.assign({}, defaultParams, { 'providers': providersOrConfig }),\n 'config': Object.assign({}, defaultParams, providersOrConfig)\n };\n\n if (Array.isArray(providersOrConfig) === true) {\n params = method['providers?'];\n } else {\n params = method['config'];\n }\n\n return params;\n }\n\n private createHostComponent(): void {\n if (!SkyModalService.host) {\n SkyModalService.host = this.dynamicComponentService.createComponent(SkyModalHostComponent);\n }\n }\n}\n","import {\n Injectable\n} from '@angular/core';\n\nimport {\n SkyModalCloseArgs\n} from '../modal/modal-close-args';\n\nimport {\n SkyModalInstance\n} from '../modal/modal-instance';\n\nimport {\n SkyModalService\n} from '../modal/modal.service';\n\nimport {\n SkyConfirmCloseEventArgs\n} from './confirm-closed-event-args';\n\nimport {\n SkyConfirmConfig\n} from './confirm-config';\n\nimport {\n SkyConfirmModalContext\n} from './confirm-modal-context';\n\nimport {\n SkyConfirmComponent\n} from './confirm.component';\n\nimport {\n SkyConfirmInstance\n} from './confirm-instance';\n\n/**\n * The `SkyConfirmService` provider launches the confirmation dialog.\n * Within the service, you can specify the dialog's message and customize the button text.\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class SkyConfirmService {\n constructor(\n private modalService: SkyModalService\n ) { }\n\n/**\n * Opens a confirmation dialog and passes the `config` parameter of type `SkyConfirmConfig`\n * to the component's constructor. This method returns an object of type `SkyConfirmInstance`.\n */\n public open(config: SkyConfirmConfig): SkyConfirmInstance {\n const modalInstance: SkyModalInstance = this.modalService.open(\n SkyConfirmComponent,\n {\n providers: [{\n provide: SkyConfirmModalContext,\n useValue: config\n }]\n }\n );\n\n const confirmInstance = new SkyConfirmInstance();\n\n modalInstance.closed.subscribe((args: SkyModalCloseArgs) => {\n let result: SkyConfirmCloseEventArgs = args.data;\n\n // The modal was closed using the ESC key.\n if (result === undefined) {\n result = {\n action: 'cancel'\n };\n }\n\n confirmInstance.closed.emit(result);\n confirmInstance.closed.complete();\n });\n\n return confirmInstance;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["EventEmitter","SkyConfirmType","getLibStringForLocale","SkyI18nModule","SKY_LIB_RESOURCES_PROVIDERS","NgModule","Component","ViewEncapsulation","Injectable","Injector","takeWhile","NavigationStart","ViewContainerRef","ViewChild","Subject","takeUntil","SkyTheme","Directive","Optional","Output","HostListener","trigger","state","style","transition","animate","SkyDockLocation","SkyDockService","ElementRef","Host","Input","CommonModule","RouterModule","SkyIconModule","SkyThemeModule","BehaviorSubject","observableZip"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAQA;;;;;;YAMS,WAAM,GAAG,IAAIA,eAAY,EAA4B,CAAC;SAC9D;iCAAA;KAAA;;ICHD;;QACA;SAMC;qCAAA;KAAA;;ACnBWC;IAAZ,WAAY,cAAc;;;;;QAKxB,uDAAU,CAAA;;;;QAIV,+CAAM,CAAA;;;;;;QAMN,6DAAa,CAAA;;;;;;QAMb,iEAAe,CAAA;IACjB,CAAC,EAtBWA,sBAAc,KAAdA,sBAAc;;ICA1B;;;;;;IAiBA,IAAM,SAA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 "id": 122,
35
35
  "name": "SkyConfirmType",
36
36
  "kind": 4,
37
37
  "kindString": "Enumeration",
38
38
  "flags": {},
39
39
  "children": [
40
40
  {
41
- "id": 120,
41
+ "id": 123,
42
42
  "name": "Custom",
43
43
  "kind": 16,
44
44
  "kindString": "Enumeration member",
@@ -56,7 +56,7 @@
56
56
  "defaultValue": "0"
57
57
  },
58
58
  {
59
- "id": 121,
59
+ "id": 124,
60
60
  "name": "OK",
61
61
  "kind": 16,
62
62
  "kindString": "Enumeration member",
@@ -74,7 +74,7 @@
74
74
  "defaultValue": "1"
75
75
  },
76
76
  {
77
- "id": 122,
77
+ "id": 125,
78
78
  "name": "YesCancel",
79
79
  "kind": 16,
80
80
  "kindString": "Enumeration member",
@@ -98,7 +98,7 @@
98
98
  "defaultValue": "2"
99
99
  },
100
100
  {
101
- "id": 123,
101
+ "id": 126,
102
102
  "name": "YesNoCancel",
103
103
  "kind": 16,
104
104
  "kindString": "Enumeration member",
@@ -127,10 +127,10 @@
127
127
  "title": "Enumeration members",
128
128
  "kind": 16,
129
129
  "children": [
130
- 120,
131
- 121,
132
- 122,
133
- 123
130
+ 123,
131
+ 124,
132
+ 125,
133
+ 126
134
134
  ]
135
135
  }
136
136
  ],
@@ -143,35 +143,35 @@
143
143
  ]
144
144
  },
145
145
  {
146
- "id": 107,
146
+ "id": 110,
147
147
  "name": "SkyConfirmInstance",
148
148
  "kind": 128,
149
149
  "kindString": "Class",
150
150
  "flags": {},
151
151
  "children": [
152
152
  {
153
- "id": 108,
153
+ "id": 111,
154
154
  "name": "constructor",
155
155
  "kind": 512,
156
156
  "kindString": "Constructor",
157
157
  "flags": {},
158
158
  "signatures": [
159
159
  {
160
- "id": 109,
160
+ "id": 112,
161
161
  "name": "new SkyConfirmInstance",
162
162
  "kind": 16384,
163
163
  "kindString": "Constructor signature",
164
164
  "flags": {},
165
165
  "type": {
166
166
  "type": "reference",
167
- "id": 107,
167
+ "id": 110,
168
168
  "name": "SkyConfirmInstance"
169
169
  }
170
170
  }
171
171
  ]
172
172
  },
173
173
  {
174
- "id": 110,
174
+ "id": 113,
175
175
  "name": "closed",
176
176
  "kind": 1024,
177
177
  "kindString": "Property",
@@ -193,7 +193,7 @@
193
193
  "typeArguments": [
194
194
  {
195
195
  "type": "reference",
196
- "id": 99,
196
+ "id": 102,
197
197
  "name": "SkyConfirmCloseEventArgs"
198
198
  }
199
199
  ],
@@ -207,14 +207,14 @@
207
207
  "title": "Constructors",
208
208
  "kind": 512,
209
209
  "children": [
210
- 108
210
+ 111
211
211
  ]
212
212
  },
213
213
  {
214
214
  "title": "Properties",
215
215
  "kind": 1024,
216
216
  "children": [
217
- 110
217
+ 113
218
218
  ]
219
219
  }
220
220
  ],
@@ -227,35 +227,35 @@
227
227
  ]
228
228
  },
229
229
  {
230
- "id": 111,
230
+ "id": 114,
231
231
  "name": "SkyConfirmModalContext",
232
232
  "kind": 128,
233
233
  "kindString": "Class",
234
234
  "flags": {},
235
235
  "children": [
236
236
  {
237
- "id": 112,
237
+ "id": 115,
238
238
  "name": "constructor",
239
239
  "kind": 512,
240
240
  "kindString": "Constructor",
241
241
  "flags": {},
242
242
  "signatures": [
243
243
  {
244
- "id": 113,
244
+ "id": 116,
245
245
  "name": "new SkyConfirmModalContext",
246
246
  "kind": 16384,
247
247
  "kindString": "Constructor signature",
248
248
  "flags": {},
249
249
  "type": {
250
250
  "type": "reference",
251
- "id": 111,
251
+ "id": 114,
252
252
  "name": "SkyConfirmModalContext"
253
253
  }
254
254
  }
255
255
  ]
256
256
  },
257
257
  {
258
- "id": 115,
258
+ "id": 118,
259
259
  "name": "body",
260
260
  "kind": 1024,
261
261
  "kindString": "Property",
@@ -278,12 +278,12 @@
278
278
  },
279
279
  "implementationOf": {
280
280
  "type": "reference",
281
- "id": 103,
281
+ "id": 106,
282
282
  "name": "SkyConfirmConfig.body"
283
283
  }
284
284
  },
285
285
  {
286
- "id": 116,
286
+ "id": 119,
287
287
  "name": "buttons",
288
288
  "kind": 1024,
289
289
  "kindString": "Property",
@@ -304,18 +304,18 @@
304
304
  "type": "array",
305
305
  "elementType": {
306
306
  "type": "reference",
307
- "id": 94,
307
+ "id": 97,
308
308
  "name": "SkyConfirmButtonConfig"
309
309
  }
310
310
  },
311
311
  "implementationOf": {
312
312
  "type": "reference",
313
- "id": 104,
313
+ "id": 107,
314
314
  "name": "SkyConfirmConfig.buttons"
315
315
  }
316
316
  },
317
317
  {
318
- "id": 114,
318
+ "id": 117,
319
319
  "name": "message",
320
320
  "kind": 1024,
321
321
  "kindString": "Property",
@@ -338,12 +338,12 @@
338
338
  },
339
339
  "implementationOf": {
340
340
  "type": "reference",
341
- "id": 102,
341
+ "id": 105,
342
342
  "name": "SkyConfirmConfig.message"
343
343
  }
344
344
  },
345
345
  {
346
- "id": 117,
346
+ "id": 120,
347
347
  "name": "preserveWhiteSpace",
348
348
  "kind": 1024,
349
349
  "kindString": "Property",
@@ -366,12 +366,12 @@
366
366
  },
367
367
  "implementationOf": {
368
368
  "type": "reference",
369
- "id": 105,
369
+ "id": 108,
370
370
  "name": "SkyConfirmConfig.preserveWhiteSpace"
371
371
  }
372
372
  },
373
373
  {
374
- "id": 118,
374
+ "id": 121,
375
375
  "name": "type",
376
376
  "kind": 1024,
377
377
  "kindString": "Property",
@@ -390,12 +390,12 @@
390
390
  ],
391
391
  "type": {
392
392
  "type": "reference",
393
- "id": 119,
393
+ "id": 122,
394
394
  "name": "SkyConfirmType"
395
395
  },
396
396
  "implementationOf": {
397
397
  "type": "reference",
398
- "id": 106,
398
+ "id": 109,
399
399
  "name": "SkyConfirmConfig.type"
400
400
  }
401
401
  }
@@ -405,18 +405,18 @@
405
405
  "title": "Constructors",
406
406
  "kind": 512,
407
407
  "children": [
408
- 112
408
+ 115
409
409
  ]
410
410
  },
411
411
  {
412
412
  "title": "Properties",
413
413
  "kind": 1024,
414
414
  "children": [
415
- 115,
416
- 116,
417
- 114,
415
+ 118,
416
+ 119,
418
417
  117,
419
- 118
418
+ 120,
419
+ 121
420
420
  ]
421
421
  }
422
422
  ],
@@ -430,13 +430,13 @@
430
430
  "implementedTypes": [
431
431
  {
432
432
  "type": "reference",
433
- "id": 101,
433
+ "id": 104,
434
434
  "name": "SkyConfirmConfig"
435
435
  }
436
436
  ]
437
437
  },
438
438
  {
439
- "id": 124,
439
+ "id": 127,
440
440
  "name": "SkyConfirmModule",
441
441
  "kind": 128,
442
442
  "kindString": "Class",
@@ -455,21 +455,21 @@
455
455
  ],
456
456
  "children": [
457
457
  {
458
- "id": 125,
458
+ "id": 128,
459
459
  "name": "constructor",
460
460
  "kind": 512,
461
461
  "kindString": "Constructor",
462
462
  "flags": {},
463
463
  "signatures": [
464
464
  {
465
- "id": 126,
465
+ "id": 129,
466
466
  "name": "new SkyConfirmModule",
467
467
  "kind": 16384,
468
468
  "kindString": "Constructor signature",
469
469
  "flags": {},
470
470
  "type": {
471
471
  "type": "reference",
472
- "id": 124,
472
+ "id": 127,
473
473
  "name": "SkyConfirmModule"
474
474
  }
475
475
  }
@@ -481,7 +481,7 @@
481
481
  "title": "Constructors",
482
482
  "kind": 512,
483
483
  "children": [
484
- 125
484
+ 128
485
485
  ]
486
486
  }
487
487
  ],
@@ -494,7 +494,7 @@
494
494
  ]
495
495
  },
496
496
  {
497
- "id": 127,
497
+ "id": 130,
498
498
  "name": "SkyConfirmService",
499
499
  "kind": 128,
500
500
  "kindString": "Class",
@@ -516,7 +516,7 @@
516
516
  ],
517
517
  "children": [
518
518
  {
519
- "id": 128,
519
+ "id": 131,
520
520
  "name": "constructor",
521
521
  "kind": 512,
522
522
  "kindString": "Constructor",
@@ -530,35 +530,35 @@
530
530
  ],
531
531
  "signatures": [
532
532
  {
533
- "id": 129,
533
+ "id": 132,
534
534
  "name": "new SkyConfirmService",
535
535
  "kind": 16384,
536
536
  "kindString": "Constructor signature",
537
537
  "flags": {},
538
538
  "parameters": [
539
539
  {
540
- "id": 130,
540
+ "id": 133,
541
541
  "name": "modalService",
542
542
  "kind": 32768,
543
543
  "kindString": "Parameter",
544
544
  "flags": {},
545
545
  "type": {
546
546
  "type": "reference",
547
- "id": 229,
547
+ "id": 232,
548
548
  "name": "SkyModalService"
549
549
  }
550
550
  }
551
551
  ],
552
552
  "type": {
553
553
  "type": "reference",
554
- "id": 127,
554
+ "id": 130,
555
555
  "name": "SkyConfirmService"
556
556
  }
557
557
  }
558
558
  ]
559
559
  },
560
560
  {
561
- "id": 131,
561
+ "id": 134,
562
562
  "name": "open",
563
563
  "kind": 2048,
564
564
  "kindString": "Method",
@@ -574,7 +574,7 @@
574
574
  ],
575
575
  "signatures": [
576
576
  {
577
- "id": 132,
577
+ "id": 135,
578
578
  "name": "open",
579
579
  "kind": 4096,
580
580
  "kindString": "Call signature",
@@ -584,21 +584,21 @@
584
584
  },
585
585
  "parameters": [
586
586
  {
587
- "id": 133,
587
+ "id": 136,
588
588
  "name": "config",
589
589
  "kind": 32768,
590
590
  "kindString": "Parameter",
591
591
  "flags": {},
592
592
  "type": {
593
593
  "type": "reference",
594
- "id": 101,
594
+ "id": 104,
595
595
  "name": "SkyConfirmConfig"
596
596
  }
597
597
  }
598
598
  ],
599
599
  "type": {
600
600
  "type": "reference",
601
- "id": 107,
601
+ "id": 110,
602
602
  "name": "SkyConfirmInstance"
603
603
  }
604
604
  }
@@ -610,14 +610,14 @@
610
610
  "title": "Constructors",
611
611
  "kind": 512,
612
612
  "children": [
613
- 128
613
+ 131
614
614
  ]
615
615
  },
616
616
  {
617
617
  "title": "Methods",
618
618
  "kind": 2048,
619
619
  "children": [
620
- 131
620
+ 134
621
621
  ]
622
622
  }
623
623
  ],
@@ -630,14 +630,14 @@
630
630
  ]
631
631
  },
632
632
  {
633
- "id": 134,
633
+ "id": 137,
634
634
  "name": "SkyModalBeforeCloseHandler",
635
635
  "kind": 128,
636
636
  "kindString": "Class",
637
637
  "flags": {},
638
638
  "children": [
639
639
  {
640
- "id": 135,
640
+ "id": 138,
641
641
  "name": "constructor",
642
642
  "kind": 512,
643
643
  "kindString": "Constructor",
@@ -651,14 +651,14 @@
651
651
  ],
652
652
  "signatures": [
653
653
  {
654
- "id": 136,
654
+ "id": 139,
655
655
  "name": "new SkyModalBeforeCloseHandler",
656
656
  "kind": 16384,
657
657
  "kindString": "Constructor signature",
658
658
  "flags": {},
659
659
  "parameters": [
660
660
  {
661
- "id": 137,
661
+ "id": 140,
662
662
  "name": "closeModal",
663
663
  "kind": 32768,
664
664
  "kindString": "Parameter",
@@ -669,28 +669,28 @@
669
669
  }
670
670
  },
671
671
  {
672
- "id": 138,
672
+ "id": 141,
673
673
  "name": "closeArgs",
674
674
  "kind": 32768,
675
675
  "kindString": "Parameter",
676
676
  "flags": {},
677
677
  "type": {
678
678
  "type": "reference",
679
- "id": 141,
679
+ "id": 144,
680
680
  "name": "SkyModalCloseArgs"
681
681
  }
682
682
  }
683
683
  ],
684
684
  "type": {
685
685
  "type": "reference",
686
- "id": 134,
686
+ "id": 137,
687
687
  "name": "SkyModalBeforeCloseHandler"
688
688
  }
689
689
  }
690
690
  ]
691
691
  },
692
692
  {
693
- "id": 140,
693
+ "id": 143,
694
694
  "name": "closeArgs",
695
695
  "kind": 1024,
696
696
  "kindString": "Property",
@@ -700,12 +700,12 @@
700
700
  },
701
701
  "type": {
702
702
  "type": "reference",
703
- "id": 141,
703
+ "id": 144,
704
704
  "name": "SkyModalCloseArgs"
705
705
  }
706
706
  },
707
707
  {
708
- "id": 139,
708
+ "id": 142,
709
709
  "name": "closeModal",
710
710
  "kind": 1024,
711
711
  "kindString": "Property",
@@ -724,15 +724,15 @@
724
724
  "title": "Constructors",
725
725
  "kind": 512,
726
726
  "children": [
727
- 135
727
+ 138
728
728
  ]
729
729
  },
730
730
  {
731
731
  "title": "Properties",
732
732
  "kind": 1024,
733
733
  "children": [
734
- 140,
735
- 139
734
+ 143,
735
+ 142
736
736
  ]
737
737
  }
738
738
  ],
@@ -745,14 +745,14 @@
745
745
  ]
746
746
  },
747
747
  {
748
- "id": 141,
748
+ "id": 144,
749
749
  "name": "SkyModalCloseArgs",
750
750
  "kind": 128,
751
751
  "kindString": "Class",
752
752
  "flags": {},
753
753
  "children": [
754
754
  {
755
- "id": 142,
755
+ "id": 145,
756
756
  "name": "constructor",
757
757
  "kind": 512,
758
758
  "kindString": "Constructor",
@@ -766,21 +766,21 @@
766
766
  ],
767
767
  "signatures": [
768
768
  {
769
- "id": 143,
769
+ "id": 146,
770
770
  "name": "new SkyModalCloseArgs",
771
771
  "kind": 16384,
772
772
  "kindString": "Constructor signature",
773
773
  "flags": {},
774
774
  "type": {
775
775
  "type": "reference",
776
- "id": 141,
776
+ "id": 144,
777
777
  "name": "SkyModalCloseArgs"
778
778
  }
779
779
  }
780
780
  ]
781
781
  },
782
782
  {
783
- "id": 145,
783
+ "id": 148,
784
784
  "name": "data",
785
785
  "kind": 1024,
786
786
  "kindString": "Property",
@@ -800,7 +800,7 @@
800
800
  }
801
801
  },
802
802
  {
803
- "id": 144,
803
+ "id": 147,
804
804
  "name": "reason",
805
805
  "kind": 1024,
806
806
  "kindString": "Property",
@@ -825,15 +825,15 @@
825
825
  "title": "Constructors",
826
826
  "kind": 512,
827
827
  "children": [
828
- 142
828
+ 145
829
829
  ]
830
830
  },
831
831
  {
832
832
  "title": "Properties",
833
833
  "kind": 1024,
834
834
  "children": [
835
- 145,
836
- 144
835
+ 148,
836
+ 147
837
837
  ]
838
838
  }
839
839
  ],
@@ -846,7 +846,7 @@
846
846
  ]
847
847
  },
848
848
  {
849
- "id": 182,
849
+ "id": 185,
850
850
  "name": "SkyModalInstance",
851
851
  "kind": 128,
852
852
  "kindString": "Class",
@@ -856,28 +856,28 @@
856
856
  },
857
857
  "children": [
858
858
  {
859
- "id": 183,
859
+ "id": 186,
860
860
  "name": "constructor",
861
861
  "kind": 512,
862
862
  "kindString": "Constructor",
863
863
  "flags": {},
864
864
  "signatures": [
865
865
  {
866
- "id": 184,
866
+ "id": 187,
867
867
  "name": "new SkyModalInstance",
868
868
  "kind": 16384,
869
869
  "kindString": "Constructor signature",
870
870
  "flags": {},
871
871
  "type": {
872
872
  "type": "reference",
873
- "id": 182,
873
+ "id": 185,
874
874
  "name": "SkyModalInstance"
875
875
  }
876
876
  }
877
877
  ]
878
878
  },
879
879
  {
880
- "id": 191,
880
+ "id": 194,
881
881
  "name": "componentInstance",
882
882
  "kind": 1024,
883
883
  "kindString": "Property",
@@ -900,7 +900,7 @@
900
900
  }
901
901
  },
902
902
  {
903
- "id": 185,
903
+ "id": 188,
904
904
  "name": "beforeClose",
905
905
  "kind": 262144,
906
906
  "kindString": "Accessor",
@@ -919,7 +919,7 @@
919
919
  ],
920
920
  "getSignature": [
921
921
  {
922
- "id": 186,
922
+ "id": 189,
923
923
  "name": "beforeClose",
924
924
  "kind": 524288,
925
925
  "kindString": "Get signature",
@@ -932,7 +932,7 @@
932
932
  "typeArguments": [
933
933
  {
934
934
  "type": "reference",
935
- "id": 134,
935
+ "id": 137,
936
936
  "name": "SkyModalBeforeCloseHandler"
937
937
  }
938
938
  ],
@@ -942,7 +942,7 @@
942
942
  ]
943
943
  },
944
944
  {
945
- "id": 187,
945
+ "id": 190,
946
946
  "name": "closed",
947
947
  "kind": 262144,
948
948
  "kindString": "Accessor",
@@ -961,7 +961,7 @@
961
961
  ],
962
962
  "getSignature": [
963
963
  {
964
- "id": 188,
964
+ "id": 191,
965
965
  "name": "closed",
966
966
  "kind": 524288,
967
967
  "kindString": "Get signature",
@@ -974,7 +974,7 @@
974
974
  "typeArguments": [
975
975
  {
976
976
  "type": "reference",
977
- "id": 141,
977
+ "id": 144,
978
978
  "name": "SkyModalCloseArgs"
979
979
  }
980
980
  ],
@@ -984,7 +984,7 @@
984
984
  ]
985
985
  },
986
986
  {
987
- "id": 189,
987
+ "id": 192,
988
988
  "name": "helpOpened",
989
989
  "kind": 262144,
990
990
  "kindString": "Accessor",
@@ -1003,7 +1003,7 @@
1003
1003
  ],
1004
1004
  "getSignature": [
1005
1005
  {
1006
- "id": 190,
1006
+ "id": 193,
1007
1007
  "name": "helpOpened",
1008
1008
  "kind": 524288,
1009
1009
  "kindString": "Get signature",
@@ -1025,7 +1025,7 @@
1025
1025
  ]
1026
1026
  },
1027
1027
  {
1028
- "id": 200,
1028
+ "id": 203,
1029
1029
  "name": "cancel",
1030
1030
  "kind": 2048,
1031
1031
  "kindString": "Method",
@@ -1041,7 +1041,7 @@
1041
1041
  ],
1042
1042
  "signatures": [
1043
1043
  {
1044
- "id": 201,
1044
+ "id": 204,
1045
1045
  "name": "cancel",
1046
1046
  "kind": 4096,
1047
1047
  "kindString": "Call signature",
@@ -1051,7 +1051,7 @@
1051
1051
  },
1052
1052
  "parameters": [
1053
1053
  {
1054
- "id": 202,
1054
+ "id": 205,
1055
1055
  "name": "result",
1056
1056
  "kind": 32768,
1057
1057
  "kindString": "Parameter",
@@ -1075,7 +1075,7 @@
1075
1075
  ]
1076
1076
  },
1077
1077
  {
1078
- "id": 195,
1078
+ "id": 198,
1079
1079
  "name": "close",
1080
1080
  "kind": 2048,
1081
1081
  "kindString": "Method",
@@ -1091,7 +1091,7 @@
1091
1091
  ],
1092
1092
  "signatures": [
1093
1093
  {
1094
- "id": 196,
1094
+ "id": 199,
1095
1095
  "name": "close",
1096
1096
  "kind": 4096,
1097
1097
  "kindString": "Call signature",
@@ -1101,7 +1101,7 @@
1101
1101
  },
1102
1102
  "parameters": [
1103
1103
  {
1104
- "id": 197,
1104
+ "id": 200,
1105
1105
  "name": "result",
1106
1106
  "kind": 32768,
1107
1107
  "kindString": "Parameter",
@@ -1117,7 +1117,7 @@
1117
1117
  }
1118
1118
  },
1119
1119
  {
1120
- "id": 198,
1120
+ "id": 201,
1121
1121
  "name": "reason",
1122
1122
  "kind": 32768,
1123
1123
  "kindString": "Parameter",
@@ -1133,7 +1133,7 @@
1133
1133
  }
1134
1134
  },
1135
1135
  {
1136
- "id": 199,
1136
+ "id": 202,
1137
1137
  "name": "ignoreBeforeClose",
1138
1138
  "kind": 32768,
1139
1139
  "kindString": "Parameter",
@@ -1157,7 +1157,7 @@
1157
1157
  ]
1158
1158
  },
1159
1159
  {
1160
- "id": 206,
1160
+ "id": 209,
1161
1161
  "name": "openHelp",
1162
1162
  "kind": 2048,
1163
1163
  "kindString": "Method",
@@ -1173,7 +1173,7 @@
1173
1173
  ],
1174
1174
  "signatures": [
1175
1175
  {
1176
- "id": 207,
1176
+ "id": 210,
1177
1177
  "name": "openHelp",
1178
1178
  "kind": 4096,
1179
1179
  "kindString": "Call signature",
@@ -1183,7 +1183,7 @@
1183
1183
  },
1184
1184
  "parameters": [
1185
1185
  {
1186
- "id": 208,
1186
+ "id": 211,
1187
1187
  "name": "helpKey",
1188
1188
  "kind": 32768,
1189
1189
  "kindString": "Parameter",
@@ -1207,7 +1207,7 @@
1207
1207
  ]
1208
1208
  },
1209
1209
  {
1210
- "id": 203,
1210
+ "id": 206,
1211
1211
  "name": "save",
1212
1212
  "kind": 2048,
1213
1213
  "kindString": "Method",
@@ -1223,7 +1223,7 @@
1223
1223
  ],
1224
1224
  "signatures": [
1225
1225
  {
1226
- "id": 204,
1226
+ "id": 207,
1227
1227
  "name": "save",
1228
1228
  "kind": 4096,
1229
1229
  "kindString": "Call signature",
@@ -1233,7 +1233,7 @@
1233
1233
  },
1234
1234
  "parameters": [
1235
1235
  {
1236
- "id": 205,
1236
+ "id": 208,
1237
1237
  "name": "result",
1238
1238
  "kind": 32768,
1239
1239
  "kindString": "Parameter",
@@ -1262,33 +1262,33 @@
1262
1262
  "title": "Constructors",
1263
1263
  "kind": 512,
1264
1264
  "children": [
1265
- 183
1265
+ 186
1266
1266
  ]
1267
1267
  },
1268
1268
  {
1269
1269
  "title": "Properties",
1270
1270
  "kind": 1024,
1271
1271
  "children": [
1272
- 191
1272
+ 194
1273
1273
  ]
1274
1274
  },
1275
1275
  {
1276
1276
  "title": "Accessors",
1277
1277
  "kind": 262144,
1278
1278
  "children": [
1279
- 185,
1280
- 187,
1281
- 189
1279
+ 188,
1280
+ 190,
1281
+ 192
1282
1282
  ]
1283
1283
  },
1284
1284
  {
1285
1285
  "title": "Methods",
1286
1286
  "kind": 2048,
1287
1287
  "children": [
1288
- 200,
1289
- 195,
1290
- 206,
1291
- 203
1288
+ 203,
1289
+ 198,
1290
+ 209,
1291
+ 206
1292
1292
  ]
1293
1293
  }
1294
1294
  ],
@@ -1301,7 +1301,7 @@
1301
1301
  ]
1302
1302
  },
1303
1303
  {
1304
- "id": 226,
1304
+ "id": 229,
1305
1305
  "name": "SkyModalModule",
1306
1306
  "kind": 128,
1307
1307
  "kindString": "Class",
@@ -1320,21 +1320,21 @@
1320
1320
  ],
1321
1321
  "children": [
1322
1322
  {
1323
- "id": 227,
1323
+ "id": 230,
1324
1324
  "name": "constructor",
1325
1325
  "kind": 512,
1326
1326
  "kindString": "Constructor",
1327
1327
  "flags": {},
1328
1328
  "signatures": [
1329
1329
  {
1330
- "id": 228,
1330
+ "id": 231,
1331
1331
  "name": "new SkyModalModule",
1332
1332
  "kind": 16384,
1333
1333
  "kindString": "Constructor signature",
1334
1334
  "flags": {},
1335
1335
  "type": {
1336
1336
  "type": "reference",
1337
- "id": 226,
1337
+ "id": 229,
1338
1338
  "name": "SkyModalModule"
1339
1339
  }
1340
1340
  }
@@ -1346,7 +1346,7 @@
1346
1346
  "title": "Constructors",
1347
1347
  "kind": 512,
1348
1348
  "children": [
1349
- 227
1349
+ 230
1350
1350
  ]
1351
1351
  }
1352
1352
  ],
@@ -1359,7 +1359,7 @@
1359
1359
  ]
1360
1360
  },
1361
1361
  {
1362
- "id": 229,
1362
+ "id": 232,
1363
1363
  "name": "SkyModalService",
1364
1364
  "kind": 128,
1365
1365
  "kindString": "Class",
@@ -1387,7 +1387,7 @@
1387
1387
  ],
1388
1388
  "children": [
1389
1389
  {
1390
- "id": 231,
1390
+ "id": 234,
1391
1391
  "name": "constructor",
1392
1392
  "kind": 512,
1393
1393
  "kindString": "Constructor",
@@ -1401,14 +1401,14 @@
1401
1401
  ],
1402
1402
  "signatures": [
1403
1403
  {
1404
- "id": 232,
1404
+ "id": 235,
1405
1405
  "name": "new SkyModalService",
1406
1406
  "kind": 16384,
1407
1407
  "kindString": "Constructor signature",
1408
1408
  "flags": {},
1409
1409
  "parameters": [
1410
1410
  {
1411
- "id": 233,
1411
+ "id": 236,
1412
1412
  "name": "dynamicComponentService",
1413
1413
  "kind": 32768,
1414
1414
  "kindString": "Parameter",
@@ -1423,14 +1423,14 @@
1423
1423
  ],
1424
1424
  "type": {
1425
1425
  "type": "reference",
1426
- "id": 229,
1426
+ "id": 232,
1427
1427
  "name": "SkyModalService"
1428
1428
  }
1429
1429
  }
1430
1430
  ]
1431
1431
  },
1432
1432
  {
1433
- "id": 236,
1433
+ "id": 239,
1434
1434
  "name": "open",
1435
1435
  "kind": 2048,
1436
1436
  "kindString": "Method",
@@ -1446,7 +1446,7 @@
1446
1446
  ],
1447
1447
  "signatures": [
1448
1448
  {
1449
- "id": 237,
1449
+ "id": 240,
1450
1450
  "name": "open",
1451
1451
  "kind": 4096,
1452
1452
  "kindString": "Call signature",
@@ -1456,7 +1456,7 @@
1456
1456
  },
1457
1457
  "parameters": [
1458
1458
  {
1459
- "id": 238,
1459
+ "id": 241,
1460
1460
  "name": "component",
1461
1461
  "kind": 32768,
1462
1462
  "kindString": "Parameter",
@@ -1470,7 +1470,7 @@
1470
1470
  }
1471
1471
  },
1472
1472
  {
1473
- "id": 239,
1473
+ "id": 242,
1474
1474
  "name": "config",
1475
1475
  "kind": 32768,
1476
1476
  "kindString": "Parameter",
@@ -1492,7 +1492,7 @@
1492
1492
  },
1493
1493
  {
1494
1494
  "type": "reference",
1495
- "id": 217,
1495
+ "id": 220,
1496
1496
  "name": "SkyModalConfigurationInterface"
1497
1497
  }
1498
1498
  ]
@@ -1501,7 +1501,7 @@
1501
1501
  ],
1502
1502
  "type": {
1503
1503
  "type": "reference",
1504
- "id": 182,
1504
+ "id": 185,
1505
1505
  "name": "SkyModalInstance"
1506
1506
  }
1507
1507
  }
@@ -1513,14 +1513,14 @@
1513
1513
  "title": "Constructors",
1514
1514
  "kind": 512,
1515
1515
  "children": [
1516
- 231
1516
+ 234
1517
1517
  ]
1518
1518
  },
1519
1519
  {
1520
1520
  "title": "Methods",
1521
1521
  "kind": 2048,
1522
1522
  "children": [
1523
- 236
1523
+ 239
1524
1524
  ]
1525
1525
  }
1526
1526
  ],
@@ -1580,7 +1580,7 @@
1580
1580
  "flags": {},
1581
1581
  "type": {
1582
1582
  "type": "reference",
1583
- "id": 111,
1583
+ "id": 114,
1584
1584
  "name": "SkyConfirmModalContext"
1585
1585
  }
1586
1586
  },
@@ -1592,7 +1592,7 @@
1592
1592
  "flags": {},
1593
1593
  "type": {
1594
1594
  "type": "reference",
1595
- "id": 182,
1595
+ "id": 185,
1596
1596
  "name": "SkyModalInstance"
1597
1597
  }
1598
1598
  },
@@ -1665,7 +1665,7 @@
1665
1665
  "type": "array",
1666
1666
  "elementType": {
1667
1667
  "type": "reference",
1668
- "id": 88,
1668
+ "id": 91,
1669
1669
  "name": "SkyConfirmButton"
1670
1670
  }
1671
1671
  }
@@ -1742,7 +1742,7 @@
1742
1742
  "flags": {},
1743
1743
  "type": {
1744
1744
  "type": "reference",
1745
- "id": 88,
1745
+ "id": 91,
1746
1746
  "name": "SkyConfirmButton"
1747
1747
  }
1748
1748
  }
@@ -2033,7 +2033,7 @@
2033
2033
  "name": "Component"
2034
2034
  },
2035
2035
  "arguments": {
2036
- "obj": "{\n selector: 'sky-modal',\n templateUrl: './modal.component.html',\n styleUrls: ['./modal.component.scss'],\n animations: [\n skyAnimationModalState\n ],\n providers: [\n SkyModalComponentAdapterService\n ]\n}"
2036
+ "obj": "{\n selector: 'sky-modal',\n templateUrl: './modal.component.html',\n styleUrls: ['./modal.component.scss'],\n animations: [\n skyAnimationModalState\n ],\n providers: [\n SkyModalComponentAdapterService,\n SkyDockService\n ]\n}"
2037
2037
  }
2038
2038
  }
2039
2039
  ],
@@ -2047,7 +2047,7 @@
2047
2047
  "sources": [
2048
2048
  {
2049
2049
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2050
- "line": 117,
2050
+ "line": 126,
2051
2051
  "character": 2
2052
2052
  }
2053
2053
  ],
@@ -2119,6 +2119,38 @@
2119
2119
  "type": "reference",
2120
2120
  "name": "SkyModalComponentAdapterService"
2121
2121
  }
2122
+ },
2123
+ {
2124
+ "id": 38,
2125
+ "name": "coreAdapter",
2126
+ "kind": 32768,
2127
+ "kindString": "Parameter",
2128
+ "flags": {},
2129
+ "type": {
2130
+ "type": "reference",
2131
+ "name": "SkyCoreAdapterService"
2132
+ }
2133
+ },
2134
+ {
2135
+ "id": 39,
2136
+ "name": "dockService",
2137
+ "kind": 32768,
2138
+ "kindString": "Parameter",
2139
+ "flags": {},
2140
+ "decorators": [
2141
+ {
2142
+ "name": "Host",
2143
+ "type": {
2144
+ "type": "reference",
2145
+ "name": "Host"
2146
+ },
2147
+ "arguments": {}
2148
+ }
2149
+ ],
2150
+ "type": {
2151
+ "type": "reference",
2152
+ "name": "SkyDockService"
2153
+ }
2122
2154
  }
2123
2155
  ],
2124
2156
  "type": {
@@ -2130,7 +2162,7 @@
2130
2162
  ]
2131
2163
  },
2132
2164
  {
2133
- "id": 64,
2165
+ "id": 66,
2134
2166
  "name": "modalContentId",
2135
2167
  "kind": 1024,
2136
2168
  "kindString": "Property",
@@ -2140,7 +2172,7 @@
2140
2172
  "sources": [
2141
2173
  {
2142
2174
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2143
- "line": 111,
2175
+ "line": 117,
2144
2176
  "character": 9
2145
2177
  }
2146
2178
  ],
@@ -2151,7 +2183,7 @@
2151
2183
  "defaultValue": "..."
2152
2184
  },
2153
2185
  {
2154
- "id": 65,
2186
+ "id": 67,
2155
2187
  "name": "modalHeaderId",
2156
2188
  "kind": 1024,
2157
2189
  "kindString": "Property",
@@ -2161,7 +2193,7 @@
2161
2193
  "sources": [
2162
2194
  {
2163
2195
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2164
- "line": 113,
2196
+ "line": 119,
2165
2197
  "character": 9
2166
2198
  }
2167
2199
  ],
@@ -2172,7 +2204,7 @@
2172
2204
  "defaultValue": "..."
2173
2205
  },
2174
2206
  {
2175
- "id": 63,
2207
+ "id": 65,
2176
2208
  "name": "modalState",
2177
2209
  "kind": 1024,
2178
2210
  "kindString": "Property",
@@ -2182,7 +2214,7 @@
2182
2214
  "sources": [
2183
2215
  {
2184
2216
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2185
- "line": 109,
2217
+ "line": 115,
2186
2218
  "character": 9
2187
2219
  }
2188
2220
  ],
@@ -2193,7 +2225,7 @@
2193
2225
  "defaultValue": "'in'"
2194
2226
  },
2195
2227
  {
2196
- "id": 66,
2228
+ "id": 68,
2197
2229
  "name": "scrollShadow",
2198
2230
  "kind": 1024,
2199
2231
  "kindString": "Property",
@@ -2203,7 +2235,7 @@
2203
2235
  "sources": [
2204
2236
  {
2205
2237
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2206
- "line": 115,
2238
+ "line": 121,
2207
2239
  "character": 9
2208
2240
  }
2209
2241
  ],
@@ -2213,7 +2245,7 @@
2213
2245
  }
2214
2246
  },
2215
2247
  {
2216
- "id": 57,
2248
+ "id": 59,
2217
2249
  "name": "ariaDescribedBy",
2218
2250
  "kind": 262144,
2219
2251
  "kindString": "Accessor",
@@ -2223,13 +2255,13 @@
2223
2255
  "sources": [
2224
2256
  {
2225
2257
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2226
- "line": 97,
2258
+ "line": 103,
2227
2259
  "character": 13
2228
2260
  }
2229
2261
  ],
2230
2262
  "getSignature": [
2231
2263
  {
2232
- "id": 58,
2264
+ "id": 60,
2233
2265
  "name": "ariaDescribedBy",
2234
2266
  "kind": 524288,
2235
2267
  "kindString": "Get signature",
@@ -2242,7 +2274,7 @@
2242
2274
  ]
2243
2275
  },
2244
2276
  {
2245
- "id": 59,
2277
+ "id": 61,
2246
2278
  "name": "ariaLabelledBy",
2247
2279
  "kind": 262144,
2248
2280
  "kindString": "Accessor",
@@ -2252,13 +2284,13 @@
2252
2284
  "sources": [
2253
2285
  {
2254
2286
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2255
- "line": 101,
2287
+ "line": 107,
2256
2288
  "character": 13
2257
2289
  }
2258
2290
  ],
2259
2291
  "getSignature": [
2260
2292
  {
2261
- "id": 60,
2293
+ "id": 62,
2262
2294
  "name": "ariaLabelledBy",
2263
2295
  "kind": 524288,
2264
2296
  "kindString": "Get signature",
@@ -2271,7 +2303,7 @@
2271
2303
  ]
2272
2304
  },
2273
2305
  {
2274
- "id": 61,
2306
+ "id": 63,
2275
2307
  "name": "helpKey",
2276
2308
  "kind": 262144,
2277
2309
  "kindString": "Accessor",
@@ -2281,13 +2313,13 @@
2281
2313
  "sources": [
2282
2314
  {
2283
2315
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2284
- "line": 105,
2316
+ "line": 111,
2285
2317
  "character": 13
2286
2318
  }
2287
2319
  ],
2288
2320
  "getSignature": [
2289
2321
  {
2290
- "id": 62,
2322
+ "id": 64,
2291
2323
  "name": "helpKey",
2292
2324
  "kind": 524288,
2293
2325
  "kindString": "Get signature",
@@ -2300,7 +2332,7 @@
2300
2332
  ]
2301
2333
  },
2302
2334
  {
2303
- "id": 53,
2335
+ "id": 55,
2304
2336
  "name": "isLargeSize",
2305
2337
  "kind": 262144,
2306
2338
  "kindString": "Accessor",
@@ -2310,13 +2342,13 @@
2310
2342
  "sources": [
2311
2343
  {
2312
2344
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2313
- "line": 89,
2345
+ "line": 95,
2314
2346
  "character": 13
2315
2347
  }
2316
2348
  ],
2317
2349
  "getSignature": [
2318
2350
  {
2319
- "id": 54,
2351
+ "id": 56,
2320
2352
  "name": "isLargeSize",
2321
2353
  "kind": 524288,
2322
2354
  "kindString": "Get signature",
@@ -2329,7 +2361,7 @@
2329
2361
  ]
2330
2362
  },
2331
2363
  {
2332
- "id": 51,
2364
+ "id": 53,
2333
2365
  "name": "isMediumSize",
2334
2366
  "kind": 262144,
2335
2367
  "kindString": "Accessor",
@@ -2339,13 +2371,13 @@
2339
2371
  "sources": [
2340
2372
  {
2341
2373
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2342
- "line": 85,
2374
+ "line": 91,
2343
2375
  "character": 13
2344
2376
  }
2345
2377
  ],
2346
2378
  "getSignature": [
2347
2379
  {
2348
- "id": 52,
2380
+ "id": 54,
2349
2381
  "name": "isMediumSize",
2350
2382
  "kind": 524288,
2351
2383
  "kindString": "Get signature",
@@ -2358,7 +2390,7 @@
2358
2390
  ]
2359
2391
  },
2360
2392
  {
2361
- "id": 49,
2393
+ "id": 51,
2362
2394
  "name": "isSmallSize",
2363
2395
  "kind": 262144,
2364
2396
  "kindString": "Accessor",
@@ -2368,13 +2400,13 @@
2368
2400
  "sources": [
2369
2401
  {
2370
2402
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2371
- "line": 81,
2403
+ "line": 87,
2372
2404
  "character": 13
2373
2405
  }
2374
2406
  ],
2375
2407
  "getSignature": [
2376
2408
  {
2377
- "id": 50,
2409
+ "id": 52,
2378
2410
  "name": "isSmallSize",
2379
2411
  "kind": 524288,
2380
2412
  "kindString": "Get signature",
@@ -2387,7 +2419,7 @@
2387
2419
  ]
2388
2420
  },
2389
2421
  {
2390
- "id": 55,
2422
+ "id": 57,
2391
2423
  "name": "isTiledBody",
2392
2424
  "kind": 262144,
2393
2425
  "kindString": "Accessor",
@@ -2397,13 +2429,13 @@
2397
2429
  "sources": [
2398
2430
  {
2399
2431
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2400
- "line": 93,
2432
+ "line": 99,
2401
2433
  "character": 13
2402
2434
  }
2403
2435
  ],
2404
2436
  "getSignature": [
2405
2437
  {
2406
- "id": 56,
2438
+ "id": 58,
2407
2439
  "name": "isTiledBody",
2408
2440
  "kind": 524288,
2409
2441
  "kindString": "Get signature",
@@ -2416,7 +2448,7 @@
2416
2448
  ]
2417
2449
  },
2418
2450
  {
2419
- "id": 47,
2451
+ "id": 49,
2420
2452
  "name": "modalFullPage",
2421
2453
  "kind": 262144,
2422
2454
  "kindString": "Accessor",
@@ -2426,13 +2458,13 @@
2426
2458
  "sources": [
2427
2459
  {
2428
2460
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2429
- "line": 77,
2461
+ "line": 83,
2430
2462
  "character": 13
2431
2463
  }
2432
2464
  ],
2433
2465
  "getSignature": [
2434
2466
  {
2435
- "id": 48,
2467
+ "id": 50,
2436
2468
  "name": "modalFullPage",
2437
2469
  "kind": 524288,
2438
2470
  "kindString": "Get signature",
@@ -2445,7 +2477,7 @@
2445
2477
  ]
2446
2478
  },
2447
2479
  {
2448
- "id": 45,
2480
+ "id": 47,
2449
2481
  "name": "modalZIndex",
2450
2482
  "kind": 262144,
2451
2483
  "kindString": "Accessor",
@@ -2455,13 +2487,13 @@
2455
2487
  "sources": [
2456
2488
  {
2457
2489
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2458
- "line": 73,
2490
+ "line": 79,
2459
2491
  "character": 13
2460
2492
  }
2461
2493
  ],
2462
2494
  "getSignature": [
2463
2495
  {
2464
- "id": 46,
2496
+ "id": 48,
2465
2497
  "name": "modalZIndex",
2466
2498
  "kind": 524288,
2467
2499
  "kindString": "Get signature",
@@ -2474,7 +2506,7 @@
2474
2506
  ]
2475
2507
  },
2476
2508
  {
2477
- "id": 77,
2509
+ "id": 80,
2478
2510
  "name": "closeButtonClick",
2479
2511
  "kind": 2048,
2480
2512
  "kindString": "Method",
@@ -2484,13 +2516,13 @@
2484
2516
  "sources": [
2485
2517
  {
2486
2518
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2487
- "line": 187,
2519
+ "line": 204,
2488
2520
  "character": 9
2489
2521
  }
2490
2522
  ],
2491
2523
  "signatures": [
2492
2524
  {
2493
- "id": 78,
2525
+ "id": 81,
2494
2526
  "name": "closeButtonClick",
2495
2527
  "kind": 4096,
2496
2528
  "kindString": "Call signature",
@@ -2503,7 +2535,7 @@
2503
2535
  ]
2504
2536
  },
2505
2537
  {
2506
- "id": 75,
2538
+ "id": 78,
2507
2539
  "name": "helpButtonClick",
2508
2540
  "kind": 2048,
2509
2541
  "kindString": "Method",
@@ -2513,13 +2545,13 @@
2513
2545
  "sources": [
2514
2546
  {
2515
2547
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2516
- "line": 183,
2548
+ "line": 200,
2517
2549
  "character": 9
2518
2550
  }
2519
2551
  ],
2520
2552
  "signatures": [
2521
2553
  {
2522
- "id": 76,
2554
+ "id": 79,
2523
2555
  "name": "helpButtonClick",
2524
2556
  "kind": 4096,
2525
2557
  "kindString": "Call signature",
@@ -2532,7 +2564,7 @@
2532
2564
  ]
2533
2565
  },
2534
2566
  {
2535
- "id": 73,
2567
+ "id": 76,
2536
2568
  "name": "ngAfterViewInit",
2537
2569
  "kind": 2048,
2538
2570
  "kindString": "Method",
@@ -2542,13 +2574,13 @@
2542
2574
  "sources": [
2543
2575
  {
2544
2576
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2545
- "line": 172,
2577
+ "line": 183,
2546
2578
  "character": 9
2547
2579
  }
2548
2580
  ],
2549
2581
  "signatures": [
2550
2582
  {
2551
- "id": 74,
2583
+ "id": 77,
2552
2584
  "name": "ngAfterViewInit",
2553
2585
  "kind": 4096,
2554
2586
  "kindString": "Call signature",
@@ -2569,7 +2601,7 @@
2569
2601
  }
2570
2602
  },
2571
2603
  {
2572
- "id": 70,
2604
+ "id": 73,
2573
2605
  "name": "onDocumentKeyDown",
2574
2606
  "kind": 2048,
2575
2607
  "kindString": "Method",
@@ -2592,20 +2624,20 @@
2592
2624
  "sources": [
2593
2625
  {
2594
2626
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2595
- "line": 141,
2627
+ "line": 152,
2596
2628
  "character": 9
2597
2629
  }
2598
2630
  ],
2599
2631
  "signatures": [
2600
2632
  {
2601
- "id": 71,
2633
+ "id": 74,
2602
2634
  "name": "onDocumentKeyDown",
2603
2635
  "kind": 4096,
2604
2636
  "kindString": "Call signature",
2605
2637
  "flags": {},
2606
2638
  "parameters": [
2607
2639
  {
2608
- "id": 72,
2640
+ "id": 75,
2609
2641
  "name": "event",
2610
2642
  "kind": 32768,
2611
2643
  "kindString": "Parameter",
@@ -2624,7 +2656,7 @@
2624
2656
  ]
2625
2657
  },
2626
2658
  {
2627
- "id": 67,
2659
+ "id": 70,
2628
2660
  "name": "onDocumentKeyUp",
2629
2661
  "kind": 2048,
2630
2662
  "kindString": "Method",
@@ -2647,20 +2679,20 @@
2647
2679
  "sources": [
2648
2680
  {
2649
2681
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2650
- "line": 126,
2682
+ "line": 137,
2651
2683
  "character": 9
2652
2684
  }
2653
2685
  ],
2654
2686
  "signatures": [
2655
2687
  {
2656
- "id": 68,
2688
+ "id": 71,
2657
2689
  "name": "onDocumentKeyUp",
2658
2690
  "kind": 4096,
2659
2691
  "kindString": "Call signature",
2660
2692
  "flags": {},
2661
2693
  "parameters": [
2662
2694
  {
2663
- "id": 69,
2695
+ "id": 72,
2664
2696
  "name": "event",
2665
2697
  "kind": 32768,
2666
2698
  "kindString": "Parameter",
@@ -2679,7 +2711,7 @@
2679
2711
  ]
2680
2712
  },
2681
2713
  {
2682
- "id": 81,
2714
+ "id": 84,
2683
2715
  "name": "scrollShadowChange",
2684
2716
  "kind": 2048,
2685
2717
  "kindString": "Method",
@@ -2689,20 +2721,20 @@
2689
2721
  "sources": [
2690
2722
  {
2691
2723
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2692
- "line": 195,
2724
+ "line": 212,
2693
2725
  "character": 9
2694
2726
  }
2695
2727
  ],
2696
2728
  "signatures": [
2697
2729
  {
2698
- "id": 82,
2730
+ "id": 85,
2699
2731
  "name": "scrollShadowChange",
2700
2732
  "kind": 4096,
2701
2733
  "kindString": "Call signature",
2702
2734
  "flags": {},
2703
2735
  "parameters": [
2704
2736
  {
2705
- "id": 83,
2737
+ "id": 86,
2706
2738
  "name": "args",
2707
2739
  "kind": 32768,
2708
2740
  "kindString": "Parameter",
@@ -2721,7 +2753,7 @@
2721
2753
  ]
2722
2754
  },
2723
2755
  {
2724
- "id": 79,
2756
+ "id": 82,
2725
2757
  "name": "windowResize",
2726
2758
  "kind": 2048,
2727
2759
  "kindString": "Method",
@@ -2731,13 +2763,13 @@
2731
2763
  "sources": [
2732
2764
  {
2733
2765
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2734
- "line": 191,
2766
+ "line": 208,
2735
2767
  "character": 9
2736
2768
  }
2737
2769
  ],
2738
2770
  "signatures": [
2739
2771
  {
2740
- "id": 80,
2772
+ "id": 83,
2741
2773
  "name": "windowResize",
2742
2774
  "kind": 4096,
2743
2775
  "kindString": "Call signature",
@@ -2762,45 +2794,45 @@
2762
2794
  "title": "Properties",
2763
2795
  "kind": 1024,
2764
2796
  "children": [
2765
- 64,
2797
+ 66,
2798
+ 67,
2766
2799
  65,
2767
- 63,
2768
- 66
2800
+ 68
2769
2801
  ]
2770
2802
  },
2771
2803
  {
2772
2804
  "title": "Accessors",
2773
2805
  "kind": 262144,
2774
2806
  "children": [
2775
- 57,
2776
2807
  59,
2777
2808
  61,
2809
+ 63,
2810
+ 55,
2778
2811
  53,
2779
2812
  51,
2813
+ 57,
2780
2814
  49,
2781
- 55,
2782
- 47,
2783
- 45
2815
+ 47
2784
2816
  ]
2785
2817
  },
2786
2818
  {
2787
2819
  "title": "Methods",
2788
2820
  "kind": 2048,
2789
2821
  "children": [
2790
- 77,
2791
- 75,
2822
+ 80,
2823
+ 78,
2824
+ 76,
2792
2825
  73,
2793
2826
  70,
2794
- 67,
2795
- 81,
2796
- 79
2827
+ 84,
2828
+ 82
2797
2829
  ]
2798
2830
  }
2799
2831
  ],
2800
2832
  "sources": [
2801
2833
  {
2802
2834
  "fileName": "projects/modals/src/modules/modal/modal.component.ts",
2803
- "line": 52,
2835
+ "line": 58,
2804
2836
  "character": 13
2805
2837
  }
2806
2838
  ],
@@ -2812,14 +2844,14 @@
2812
2844
  ]
2813
2845
  },
2814
2846
  {
2815
- "id": 88,
2847
+ "id": 91,
2816
2848
  "name": "SkyConfirmButton",
2817
2849
  "kind": 256,
2818
2850
  "kindString": "Interface",
2819
2851
  "flags": {},
2820
2852
  "children": [
2821
2853
  {
2822
- "id": 89,
2854
+ "id": 92,
2823
2855
  "name": "action",
2824
2856
  "kind": 1024,
2825
2857
  "kindString": "Property",
@@ -2833,12 +2865,12 @@
2833
2865
  ],
2834
2866
  "type": {
2835
2867
  "type": "reference",
2836
- "id": 93,
2868
+ "id": 96,
2837
2869
  "name": "SkyConfirmButtonAction"
2838
2870
  }
2839
2871
  },
2840
2872
  {
2841
- "id": 92,
2873
+ "id": 95,
2842
2874
  "name": "autofocus",
2843
2875
  "kind": 1024,
2844
2876
  "kindString": "Property",
@@ -2858,7 +2890,7 @@
2858
2890
  }
2859
2891
  },
2860
2892
  {
2861
- "id": 90,
2893
+ "id": 93,
2862
2894
  "name": "styleType",
2863
2895
  "kind": 1024,
2864
2896
  "kindString": "Property",
@@ -2876,7 +2908,7 @@
2876
2908
  }
2877
2909
  },
2878
2910
  {
2879
- "id": 91,
2911
+ "id": 94,
2880
2912
  "name": "text",
2881
2913
  "kind": 1024,
2882
2914
  "kindString": "Property",
@@ -2899,10 +2931,10 @@
2899
2931
  "title": "Properties",
2900
2932
  "kind": 1024,
2901
2933
  "children": [
2902
- 89,
2903
2934
  92,
2904
- 90,
2905
- 91
2935
+ 95,
2936
+ 93,
2937
+ 94
2906
2938
  ]
2907
2939
  }
2908
2940
  ],
@@ -2915,14 +2947,14 @@
2915
2947
  ]
2916
2948
  },
2917
2949
  {
2918
- "id": 94,
2950
+ "id": 97,
2919
2951
  "name": "SkyConfirmButtonConfig",
2920
2952
  "kind": 256,
2921
2953
  "kindString": "Interface",
2922
2954
  "flags": {},
2923
2955
  "children": [
2924
2956
  {
2925
- "id": 95,
2957
+ "id": 98,
2926
2958
  "name": "action",
2927
2959
  "kind": 1024,
2928
2960
  "kindString": "Property",
@@ -2943,7 +2975,7 @@
2943
2975
  }
2944
2976
  },
2945
2977
  {
2946
- "id": 98,
2978
+ "id": 101,
2947
2979
  "name": "autofocus",
2948
2980
  "kind": 1024,
2949
2981
  "kindString": "Property",
@@ -2966,7 +2998,7 @@
2966
2998
  }
2967
2999
  },
2968
3000
  {
2969
- "id": 97,
3001
+ "id": 100,
2970
3002
  "name": "styleType",
2971
3003
  "kind": 1024,
2972
3004
  "kindString": "Property",
@@ -2989,7 +3021,7 @@
2989
3021
  }
2990
3022
  },
2991
3023
  {
2992
- "id": 96,
3024
+ "id": 99,
2993
3025
  "name": "text",
2994
3026
  "kind": 1024,
2995
3027
  "kindString": "Property",
@@ -3015,10 +3047,10 @@
3015
3047
  "title": "Properties",
3016
3048
  "kind": 1024,
3017
3049
  "children": [
3018
- 95,
3019
3050
  98,
3020
- 97,
3021
- 96
3051
+ 101,
3052
+ 100,
3053
+ 99
3022
3054
  ]
3023
3055
  }
3024
3056
  ],
@@ -3031,14 +3063,14 @@
3031
3063
  ]
3032
3064
  },
3033
3065
  {
3034
- "id": 99,
3066
+ "id": 102,
3035
3067
  "name": "SkyConfirmCloseEventArgs",
3036
3068
  "kind": 256,
3037
3069
  "kindString": "Interface",
3038
3070
  "flags": {},
3039
3071
  "children": [
3040
3072
  {
3041
- "id": 100,
3073
+ "id": 103,
3042
3074
  "name": "action",
3043
3075
  "kind": 1024,
3044
3076
  "kindString": "Property",
@@ -3064,7 +3096,7 @@
3064
3096
  "title": "Properties",
3065
3097
  "kind": 1024,
3066
3098
  "children": [
3067
- 100
3099
+ 103
3068
3100
  ]
3069
3101
  }
3070
3102
  ],
@@ -3077,14 +3109,14 @@
3077
3109
  ]
3078
3110
  },
3079
3111
  {
3080
- "id": 101,
3112
+ "id": 104,
3081
3113
  "name": "SkyConfirmConfig",
3082
3114
  "kind": 256,
3083
3115
  "kindString": "Interface",
3084
3116
  "flags": {},
3085
3117
  "children": [
3086
3118
  {
3087
- "id": 103,
3119
+ "id": 106,
3088
3120
  "name": "body",
3089
3121
  "kind": 1024,
3090
3122
  "kindString": "Property",
@@ -3107,7 +3139,7 @@
3107
3139
  }
3108
3140
  },
3109
3141
  {
3110
- "id": 104,
3142
+ "id": 107,
3111
3143
  "name": "buttons",
3112
3144
  "kind": 1024,
3113
3145
  "kindString": "Property",
@@ -3128,13 +3160,13 @@
3128
3160
  "type": "array",
3129
3161
  "elementType": {
3130
3162
  "type": "reference",
3131
- "id": 94,
3163
+ "id": 97,
3132
3164
  "name": "SkyConfirmButtonConfig"
3133
3165
  }
3134
3166
  }
3135
3167
  },
3136
3168
  {
3137
- "id": 102,
3169
+ "id": 105,
3138
3170
  "name": "message",
3139
3171
  "kind": 1024,
3140
3172
  "kindString": "Property",
@@ -3161,7 +3193,7 @@
3161
3193
  }
3162
3194
  },
3163
3195
  {
3164
- "id": 105,
3196
+ "id": 108,
3165
3197
  "name": "preserveWhiteSpace",
3166
3198
  "kind": 1024,
3167
3199
  "kindString": "Property",
@@ -3190,7 +3222,7 @@
3190
3222
  }
3191
3223
  },
3192
3224
  {
3193
- "id": 106,
3225
+ "id": 109,
3194
3226
  "name": "type",
3195
3227
  "kind": 1024,
3196
3228
  "kindString": "Property",
@@ -3209,7 +3241,7 @@
3209
3241
  ],
3210
3242
  "type": {
3211
3243
  "type": "reference",
3212
- "id": 119,
3244
+ "id": 122,
3213
3245
  "name": "SkyConfirmType"
3214
3246
  }
3215
3247
  }
@@ -3219,11 +3251,11 @@
3219
3251
  "title": "Properties",
3220
3252
  "kind": 1024,
3221
3253
  "children": [
3222
- 103,
3223
- 104,
3224
- 102,
3254
+ 106,
3255
+ 107,
3225
3256
  105,
3226
- 106
3257
+ 108,
3258
+ 109
3227
3259
  ]
3228
3260
  }
3229
3261
  ],
@@ -3237,13 +3269,13 @@
3237
3269
  "implementedBy": [
3238
3270
  {
3239
3271
  "type": "reference",
3240
- "id": 111,
3272
+ "id": 114,
3241
3273
  "name": "SkyConfirmModalContext"
3242
3274
  }
3243
3275
  ]
3244
3276
  },
3245
3277
  {
3246
- "id": 217,
3278
+ "id": 220,
3247
3279
  "name": "SkyModalConfigurationInterface",
3248
3280
  "kind": 256,
3249
3281
  "kindString": "Interface",
@@ -3253,7 +3285,7 @@
3253
3285
  },
3254
3286
  "children": [
3255
3287
  {
3256
- "id": 221,
3288
+ "id": 224,
3257
3289
  "name": "ariaDescribedBy",
3258
3290
  "kind": 1024,
3259
3291
  "kindString": "Property",
@@ -3276,7 +3308,7 @@
3276
3308
  }
3277
3309
  },
3278
3310
  {
3279
- "id": 222,
3311
+ "id": 225,
3280
3312
  "name": "ariaLabelledBy",
3281
3313
  "kind": 1024,
3282
3314
  "kindString": "Property",
@@ -3299,7 +3331,7 @@
3299
3331
  }
3300
3332
  },
3301
3333
  {
3302
- "id": 223,
3334
+ "id": 226,
3303
3335
  "name": "ariaRole",
3304
3336
  "kind": 1024,
3305
3337
  "kindString": "Property",
@@ -3328,7 +3360,7 @@
3328
3360
  }
3329
3361
  },
3330
3362
  {
3331
- "id": 218,
3363
+ "id": 221,
3332
3364
  "name": "fullPage",
3333
3365
  "kind": 1024,
3334
3366
  "kindString": "Property",
@@ -3351,7 +3383,7 @@
3351
3383
  }
3352
3384
  },
3353
3385
  {
3354
- "id": 225,
3386
+ "id": 228,
3355
3387
  "name": "helpKey",
3356
3388
  "kind": 1024,
3357
3389
  "kindString": "Property",
@@ -3374,7 +3406,7 @@
3374
3406
  }
3375
3407
  },
3376
3408
  {
3377
- "id": 220,
3409
+ "id": 223,
3378
3410
  "name": "providers",
3379
3411
  "kind": 1024,
3380
3412
  "kindString": "Property",
@@ -3400,7 +3432,7 @@
3400
3432
  }
3401
3433
  },
3402
3434
  {
3403
- "id": 219,
3435
+ "id": 222,
3404
3436
  "name": "size",
3405
3437
  "kind": 1024,
3406
3438
  "kindString": "Property",
@@ -3423,7 +3455,7 @@
3423
3455
  }
3424
3456
  },
3425
3457
  {
3426
- "id": 224,
3458
+ "id": 227,
3427
3459
  "name": "tiledBody",
3428
3460
  "kind": 1024,
3429
3461
  "kindString": "Property",
@@ -3451,14 +3483,14 @@
3451
3483
  "title": "Properties",
3452
3484
  "kind": 1024,
3453
3485
  "children": [
3486
+ 224,
3487
+ 225,
3488
+ 226,
3454
3489
  221,
3455
- 222,
3490
+ 228,
3456
3491
  223,
3457
- 218,
3458
- 225,
3459
- 220,
3460
- 219,
3461
- 224
3492
+ 222,
3493
+ 227
3462
3494
  ]
3463
3495
  }
3464
3496
  ],
@@ -3471,7 +3503,7 @@
3471
3503
  ]
3472
3504
  },
3473
3505
  {
3474
- "id": 93,
3506
+ "id": 96,
3475
3507
  "name": "SkyConfirmButtonAction",
3476
3508
  "kind": 4194304,
3477
3509
  "kindString": "Type alias",
@@ -3511,22 +3543,22 @@
3511
3543
  "title": "Enumerations",
3512
3544
  "kind": 4,
3513
3545
  "children": [
3514
- 119
3546
+ 122
3515
3547
  ]
3516
3548
  },
3517
3549
  {
3518
3550
  "title": "Classes",
3519
3551
  "kind": 128,
3520
3552
  "children": [
3521
- 107,
3522
- 111,
3523
- 124,
3553
+ 110,
3554
+ 114,
3524
3555
  127,
3525
- 134,
3526
- 141,
3527
- 182,
3528
- 226,
3556
+ 130,
3557
+ 137,
3558
+ 144,
3559
+ 185,
3529
3560
  229,
3561
+ 232,
3530
3562
  1,
3531
3563
  21,
3532
3564
  24,
@@ -3538,18 +3570,18 @@
3538
3570
  "title": "Interfaces",
3539
3571
  "kind": 256,
3540
3572
  "children": [
3541
- 88,
3542
- 94,
3543
- 99,
3544
- 101,
3545
- 217
3573
+ 91,
3574
+ 97,
3575
+ 102,
3576
+ 104,
3577
+ 220
3546
3578
  ]
3547
3579
  },
3548
3580
  {
3549
3581
  "title": "Type aliases",
3550
3582
  "kind": 4194304,
3551
3583
  "children": [
3552
- 93
3584
+ 96
3553
3585
  ]
3554
3586
  }
3555
3587
  ],
@@ -3565,12 +3597,12 @@
3565
3597
  {
3566
3598
  "fileName": "confirm-demo.component.html",
3567
3599
  "filePath": "/projects/modals/documentation/code-examples/confirm/confirm-demo.component.html",
3568
- "rawContents": "<div\n class=\"sky-margin-stacked-default\"\n>\n <button\n aria-haspopup=\"dialog\"\n class=\"sky-btn sky-btn-default sky-margin-inline-default\"\n type=\"button\"\n (click)=\"openOKConfirm()\">\n OK confirm\n </button>\n\n <button\n aria-haspopup=\"dialog\"\n class=\"sky-btn sky-btn-default sky-margin-inline-default\"\n type=\"button\"\n (click)=\"openYesCancelConfirmWithBody()\">\n Yes/cancel confirm with body\n </button>\n\n <button\n aria-haspopup=\"dialog\"\n class=\"sky-btn sky-btn-default sky-margin-inline-default\"\n type=\"button\"\n (click)=\"openCustomConfirm()\">\n Custom confirm\n </button>\n</div>\n\n<p *ngIf=\"selectedAction && selectedText\">\n You selected the \"{{ selectedText }}\" button, which has an action of \"{{ selectedAction }}.\"\n</p>\n<p *ngIf=\"selectedAction && !selectedText\">\n You selected the \"{{ selectedAction }}\" action.\n</p>\n"
3600
+ "rawContents": "<div\n class=\"sky-margin-stacked-default\"\n>\n <button\n aria-haspopup=\"dialog\"\n class=\"sky-btn sky-btn-default sky-margin-inline-default\"\n type=\"button\"\n (click)=\"openOKConfirm()\">\n OK confirm\n </button>\n\n <button\n aria-haspopup=\"dialog\"\n class=\"sky-btn sky-btn-default sky-margin-inline-default\"\n type=\"button\"\n (click)=\"openCustomConfirm()\">\n Custom confirm\n </button>\n</div>\n\n<p *ngIf=\"selectedAction && selectedText\">\n You selected the \"{{ selectedText }}\" button, which has an action of \"{{ selectedAction }}.\"\n</p>\n<p *ngIf=\"selectedAction && !selectedText\">\n You selected the \"{{ selectedAction }}\" action.\n</p>\n"
3569
3601
  },
3570
3602
  {
3571
3603
  "fileName": "confirm-demo.component.ts",
3572
3604
  "filePath": "/projects/modals/documentation/code-examples/confirm/confirm-demo.component.ts",
3573
- "rawContents": "import {\n Component\n} from '@angular/core';\n\nimport {\n SkyConfirmButtonAction,\n SkyConfirmInstance,\n SkyConfirmService,\n SkyConfirmType\n} from '@skyux/modals';\n\n@Component({\n selector: 'app-confirm-demo',\n templateUrl: './confirm-demo.component.html'\n})\nexport class ConfirmDemoComponent {\n\n public selectedAction: SkyConfirmButtonAction;\n\n public selectedText: string;\n\n constructor(\n private confirmService: SkyConfirmService\n ) { }\n\n public openOKConfirm() {\n const dialog: SkyConfirmInstance = this.confirmService.open({\n message: 'Use the OK button type for information that does not require user action.',\n type: SkyConfirmType.OK\n });\n\n dialog.closed.subscribe((result: any) => {\n this.selectedText = undefined;\n this.selectedAction = result.action;\n });\n }\n\n public openYesCancelConfirmWithBody() {\n const dialog: SkyConfirmInstance = this.confirmService.open({\n message: 'Use the YesCancel button type to let users confirm or cancel.',\n body: 'Do not use a YesCancel button type if users could be confused about what the Yes button does. Use a Custom button type instead and provide labels that clearly indicate the action occurs when users select the button.',\n type: SkyConfirmType.YesCancel\n });\n\n dialog.closed.subscribe((result: any) => {\n this.selectedText = undefined;\n this.selectedAction = result.action;\n });\n }\n\n public openCustomConfirm() {\n const buttons = [\n { text: 'Save', action: 'save', styleType: 'primary' },\n { text: 'Delete', action: 'delete' },\n { text: 'Cancel', action: 'cancel', autofocus: true }\n ];\n\n const dialog: SkyConfirmInstance = this.confirmService.open({\n message: 'Use the Custom button type to define your own buttons.',\n body: 'Labels should clearly indicate the action occurs when users select the button.',\n type: SkyConfirmType.Custom,\n buttons\n });\n\n dialog.closed.subscribe((result: any) => {\n this.selectedAction = result.action;\n\n buttons.some((button: any) => {\n if (button.action === result.action) {\n this.selectedText = button.text;\n return true;\n }\n });\n });\n }\n}\n"
3605
+ "rawContents": "import {\n Component\n} from '@angular/core';\n\nimport {\n SkyConfirmButtonAction,\n SkyConfirmInstance,\n SkyConfirmService,\n SkyConfirmType\n} from '@skyux/modals';\n\n@Component({\n selector: 'app-confirm-demo',\n templateUrl: './confirm-demo.component.html'\n})\nexport class ConfirmDemoComponent {\n\n public selectedAction: SkyConfirmButtonAction;\n\n public selectedText: string;\n\n constructor(\n private confirmService: SkyConfirmService\n ) { }\n\n public openOKConfirm() {\n const dialog: SkyConfirmInstance = this.confirmService.open({\n message: 'Use the OK button type for information that does not require user action.',\n type: SkyConfirmType.OK\n });\n\n dialog.closed.subscribe((result: any) => {\n this.selectedText = undefined;\n this.selectedAction = result.action;\n });\n }\n\n public openCustomConfirm() {\n const buttons = [\n { text: 'Save', action: 'save', styleType: 'primary' },\n { text: 'Delete', action: 'delete' },\n { text: 'Cancel', action: 'cancel', autofocus: true, styleType: 'link' }\n ];\n\n const dialog: SkyConfirmInstance = this.confirmService.open({\n message: 'Use the Custom button type to define your own buttons.',\n body: 'Labels should clearly indicate the action occurs when users select the button.',\n type: SkyConfirmType.Custom,\n buttons\n });\n\n dialog.closed.subscribe((result: any) => {\n this.selectedAction = result.action;\n\n buttons.some((button: any) => {\n if (button.action === result.action) {\n this.selectedText = button.text;\n return true;\n }\n });\n });\n }\n}\n"
3574
3606
  },
3575
3607
  {
3576
3608
  "fileName": "confirm-demo.module.ts",