@skyux/modals 5.0.0-beta.2 → 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.
Files changed (116) hide show
  1. package/bundles/skyux-modals.umd.js +297 -276
  2. package/bundles/skyux-modals.umd.js.map +1 -1
  3. package/documentation.json +1827 -1735
  4. package/esm2015/modules/confirm/confirm.component.js +21 -16
  5. package/esm2015/modules/confirm/confirm.module.js +33 -22
  6. package/esm2015/modules/confirm/confirm.service.js +9 -11
  7. package/esm2015/modules/modal/modal-adapter.service.js +8 -8
  8. package/esm2015/modules/modal/modal-component-adapter.service.js +12 -39
  9. package/esm2015/modules/modal/modal-configuration.js +10 -5
  10. package/esm2015/modules/modal/modal-content.component.js +13 -9
  11. package/esm2015/modules/modal/modal-footer.component.js +12 -8
  12. package/esm2015/modules/modal/modal-header.component.js +15 -8
  13. package/esm2015/modules/modal/modal-host.component.js +24 -24
  14. package/esm2015/modules/modal/modal-host.service.js +9 -8
  15. package/esm2015/modules/modal/modal-scroll-shadow.directive.js +24 -20
  16. package/esm2015/modules/modal/modal.component.js +58 -32
  17. package/esm2015/modules/modal/modal.module.js +52 -33
  18. package/esm2015/modules/modal/modal.service.js +12 -14
  19. package/esm2015/modules/shared/sky-modals-resources.module.js +20 -11
  20. package/esm2015/public-api.js +6 -1
  21. package/esm2015/skyux-modals.js +1 -13
  22. package/fesm2015/skyux-modals.js +286 -258
  23. package/fesm2015/skyux-modals.js.map +1 -1
  24. package/modules/confirm/confirm.component.d.ts +3 -0
  25. package/modules/confirm/confirm.module.d.ts +9 -0
  26. package/modules/confirm/confirm.service.d.ts +3 -0
  27. package/modules/modal/modal-adapter.service.d.ts +3 -0
  28. package/modules/modal/modal-component-adapter.service.d.ts +6 -4
  29. package/modules/modal/modal-configuration.d.ts +3 -0
  30. package/modules/modal/modal-content.component.d.ts +3 -0
  31. package/modules/modal/modal-footer.component.d.ts +3 -0
  32. package/modules/modal/modal-header.component.d.ts +3 -0
  33. package/modules/modal/modal-host.component.d.ts +3 -0
  34. package/modules/modal/modal-host.service.d.ts +3 -0
  35. package/modules/modal/modal-scroll-shadow.directive.d.ts +3 -0
  36. package/modules/modal/modal.component.d.ts +9 -3
  37. package/modules/modal/modal.module.d.ts +15 -0
  38. package/modules/modal/modal.service.d.ts +3 -0
  39. package/modules/shared/sky-modals-resources.module.d.ts +5 -6
  40. package/package.json +4 -5
  41. package/public-api.d.ts +5 -0
  42. package/skyux-modals.d.ts +1 -12
  43. package/testing/package.json +0 -1
  44. package/testing/skyux-modals-testing.d.ts +1 -0
  45. package/esm2015/modules/confirm/confirm-button-action.ngsummary.json +0 -1
  46. package/esm2015/modules/confirm/confirm-button-config.ngsummary.json +0 -1
  47. package/esm2015/modules/confirm/confirm-button.ngsummary.json +0 -1
  48. package/esm2015/modules/confirm/confirm-closed-event-args.ngsummary.json +0 -1
  49. package/esm2015/modules/confirm/confirm-config.ngsummary.json +0 -1
  50. package/esm2015/modules/confirm/confirm-instance.ngsummary.json +0 -1
  51. package/esm2015/modules/confirm/confirm-modal-context.ngsummary.json +0 -1
  52. package/esm2015/modules/confirm/confirm-type.ngsummary.json +0 -1
  53. package/esm2015/modules/confirm/confirm.component.ngfactory.js +0 -41
  54. package/esm2015/modules/confirm/confirm.component.ngsummary.json +0 -1
  55. package/esm2015/modules/confirm/confirm.component.scss.shim.ngstyle.js +0 -9
  56. package/esm2015/modules/confirm/confirm.module.ngfactory.js +0 -23
  57. package/esm2015/modules/confirm/confirm.module.ngsummary.json +0 -1
  58. package/esm2015/modules/confirm/confirm.service.ngsummary.json +0 -1
  59. package/esm2015/modules/modal/modal-adapter.service.ngsummary.json +0 -1
  60. package/esm2015/modules/modal/modal-before-close-handler.ngsummary.json +0 -1
  61. package/esm2015/modules/modal/modal-close-args.ngsummary.json +0 -1
  62. package/esm2015/modules/modal/modal-component-adapter.service.ngsummary.json +0 -1
  63. package/esm2015/modules/modal/modal-configuration.ngsummary.json +0 -1
  64. package/esm2015/modules/modal/modal-content.component.ngfactory.js +0 -17
  65. package/esm2015/modules/modal/modal-content.component.ngsummary.json +0 -1
  66. package/esm2015/modules/modal/modal-content.component.scss.ngstyle.js +0 -9
  67. package/esm2015/modules/modal/modal-footer.component.ngfactory.js +0 -17
  68. package/esm2015/modules/modal/modal-footer.component.ngsummary.json +0 -1
  69. package/esm2015/modules/modal/modal-footer.component.scss.shim.ngstyle.js +0 -9
  70. package/esm2015/modules/modal/modal-header.component.ngfactory.js +0 -18
  71. package/esm2015/modules/modal/modal-header.component.ngsummary.json +0 -1
  72. package/esm2015/modules/modal/modal-header.component.scss.shim.ngstyle.js +0 -9
  73. package/esm2015/modules/modal/modal-host.component.ngfactory.js +0 -21
  74. package/esm2015/modules/modal/modal-host.component.ngsummary.json +0 -1
  75. package/esm2015/modules/modal/modal-host.component.scss.shim.ngstyle.js +0 -9
  76. package/esm2015/modules/modal/modal-host.service.ngsummary.json +0 -1
  77. package/esm2015/modules/modal/modal-instance.ngsummary.json +0 -1
  78. package/esm2015/modules/modal/modal-scroll-shadow-event-args.ngsummary.json +0 -1
  79. package/esm2015/modules/modal/modal-scroll-shadow.directive.ngsummary.json +0 -1
  80. package/esm2015/modules/modal/modal-state-animation.ngsummary.json +0 -1
  81. package/esm2015/modules/modal/modal.component.ngfactory.js +0 -52
  82. package/esm2015/modules/modal/modal.component.ngsummary.json +0 -1
  83. package/esm2015/modules/modal/modal.component.scss.shim.ngstyle.js +0 -9
  84. package/esm2015/modules/modal/modal.interface.ngsummary.json +0 -1
  85. package/esm2015/modules/modal/modal.module.ngfactory.js +0 -21
  86. package/esm2015/modules/modal/modal.module.ngsummary.json +0 -1
  87. package/esm2015/modules/modal/modal.service.ngsummary.json +0 -1
  88. package/esm2015/modules/shared/modal-for-root-compat.module.js +0 -18
  89. package/esm2015/modules/shared/modal-for-root-compat.module.ngfactory.js +0 -12
  90. package/esm2015/modules/shared/modal-for-root-compat.module.ngsummary.json +0 -1
  91. package/esm2015/modules/shared/sky-modals-resources.module.ngfactory.js +0 -15
  92. package/esm2015/modules/shared/sky-modals-resources.module.ngsummary.json +0 -1
  93. package/esm2015/public-api.ngsummary.json +0 -1
  94. package/esm2015/skyux-modals.ngsummary.json +0 -1
  95. package/esm2015/testing/modal-fixture.ngsummary.json +0 -1
  96. package/esm2015/testing/public-api.ngsummary.json +0 -1
  97. package/esm2015/testing/skyux-modals-testing.ngsummary.json +0 -1
  98. package/modules/confirm/confirm.component.ngfactory.d.ts +0 -1
  99. package/modules/confirm/confirm.component.scss.shim.ngstyle.d.ts +0 -1
  100. package/modules/confirm/confirm.module.ngfactory.d.ts +0 -3
  101. package/modules/modal/modal-content.component.ngfactory.d.ts +0 -1
  102. package/modules/modal/modal-content.component.scss.ngstyle.d.ts +0 -1
  103. package/modules/modal/modal-footer.component.ngfactory.d.ts +0 -1
  104. package/modules/modal/modal-footer.component.scss.shim.ngstyle.d.ts +0 -1
  105. package/modules/modal/modal-header.component.ngfactory.d.ts +0 -1
  106. package/modules/modal/modal-header.component.scss.shim.ngstyle.d.ts +0 -1
  107. package/modules/modal/modal-host.component.ngfactory.d.ts +0 -1
  108. package/modules/modal/modal-host.component.scss.shim.ngstyle.d.ts +0 -1
  109. package/modules/modal/modal.component.ngfactory.d.ts +0 -1
  110. package/modules/modal/modal.component.scss.shim.ngstyle.d.ts +0 -1
  111. package/modules/modal/modal.module.ngfactory.d.ts +0 -3
  112. package/modules/shared/modal-for-root-compat.module.d.ts +0 -6
  113. package/modules/shared/modal-for-root-compat.module.ngfactory.d.ts +0 -3
  114. package/modules/shared/sky-modals-resources.module.ngfactory.d.ts +0 -3
  115. package/skyux-modals.metadata.json +0 -1
  116. package/testing/skyux-modals-testing.metadata.json +0 -1
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@skyux/i18n'), require('@skyux/theme'), require('@angular/router'), require('@skyux/indicators'), require('@skyux/core'), require('rxjs/operators'), require('rxjs'), require('@angular/animations')) :
3
- typeof define === 'function' && define.amd ? define('@skyux/modals', ['exports', '@angular/core', '@angular/common', '@skyux/i18n', '@skyux/theme', '@angular/router', '@skyux/indicators', '@skyux/core', 'rxjs/operators', '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.i18n, global.theme, global.ng.router, global.indicators, global.i1, global.rxjs.operators, global.rxjs, global.ng.animations));
5
- }(this, (function (exports, i0, common, i18n, theme, router, indicators, i1, operators, rxjs, animations) { 'use strict';
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
+ 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.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;
@@ -25,7 +25,12 @@
25
25
  }
26
26
 
27
27
  var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
28
+ var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
28
29
  var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
30
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
31
+ var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
32
+ var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3);
33
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3$1);
29
34
 
30
35
  var SkyConfirmInstance = /** @class */ (function () {
31
36
  function SkyConfirmInstance() {
@@ -71,25 +76,6 @@
71
76
  SkyConfirmType[SkyConfirmType["YesNoCancel"] = 3] = "YesNoCancel";
72
77
  })(exports.SkyConfirmType || (exports.SkyConfirmType = {}));
73
78
 
74
- /**
75
- * @internal
76
- * @deprecated This module can be removed after we upgrade SKY UX development dependencies to version 5.
77
- */
78
- var SkyModalForRootCompatModule = /** @class */ (function () {
79
- function SkyModalForRootCompatModule() {
80
- }
81
- return SkyModalForRootCompatModule;
82
- }());
83
- SkyModalForRootCompatModule.decorators = [
84
- { type: i0.NgModule, args: [{
85
- providers: [
86
- i1.MutationObserverService,
87
- i1.SkyAppWindowRef,
88
- i1.SkyDynamicComponentService
89
- ]
90
- },] }
91
- ];
92
-
93
79
  /**
94
80
  * NOTICE: DO NOT MODIFY THIS FILE!
95
81
  * The contents of this file were automatically generated by
@@ -103,7 +89,7 @@
103
89
  function SkyModalsResourcesProvider() {
104
90
  }
105
91
  SkyModalsResourcesProvider.prototype.getString = function (localeInfo, name) {
106
- return i18n.getLibStringForLocale(RESOURCES, localeInfo.locale, name);
92
+ return i3.getLibStringForLocale(RESOURCES, localeInfo.locale, name);
107
93
  };
108
94
  return SkyModalsResourcesProvider;
109
95
  }());
@@ -115,16 +101,24 @@
115
101
  }
116
102
  return SkyModalsResourcesModule;
117
103
  }());
118
- SkyModalsResourcesModule.decorators = [
119
- { type: i0.NgModule, args: [{
120
- exports: [i18n.SkyI18nModule],
121
- providers: [{
122
- provide: i18n.SKY_LIB_RESOURCES_PROVIDERS,
123
- useClass: SkyModalsResourcesProvider,
124
- multi: true
125
- }]
126
- },] }
127
- ];
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
+ provide: i3.SKY_LIB_RESOURCES_PROVIDERS,
108
+ useClass: SkyModalsResourcesProvider,
109
+ multi: true
110
+ }], imports: [i3.SkyI18nModule] });
111
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalsResourcesModule, decorators: [{
112
+ type: i0.NgModule,
113
+ args: [{
114
+ exports: [i3.SkyI18nModule],
115
+ providers: [{
116
+ provide: i3.SKY_LIB_RESOURCES_PROVIDERS,
117
+ useClass: SkyModalsResourcesProvider,
118
+ multi: true
119
+ }]
120
+ }]
121
+ }] });
128
122
 
129
123
  /**
130
124
  * Specifies content to display in the modal's body.
@@ -134,14 +128,17 @@
134
128
  }
135
129
  return SkyModalContentComponent;
136
130
  }());
137
- SkyModalContentComponent.decorators = [
138
- { type: i0.Component, args: [{
139
- selector: 'sky-modal-content',
140
- template: "<ng-content></ng-content>\n",
141
- encapsulation: i0.ViewEncapsulation.None,
142
- styles: ["sky-modal-content{display:block;min-height:100%}.sky-theme-modern sky-modal-content{padding:10px 30px 30px}\n"]
143
- },] }
144
- ];
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
+ type: i0.Component,
135
+ args: [{
136
+ selector: 'sky-modal-content',
137
+ templateUrl: './modal-content.component.html',
138
+ styleUrls: ['./modal-content.component.scss'],
139
+ encapsulation: i0.ViewEncapsulation.None
140
+ }]
141
+ }] });
145
142
 
146
143
  /**
147
144
  * Specifies content to display in the modal's footer.
@@ -151,13 +148,16 @@
151
148
  }
152
149
  return SkyModalFooterComponent;
153
150
  }());
154
- SkyModalFooterComponent.decorators = [
155
- { type: i0.Component, args: [{
156
- selector: 'sky-modal-footer',
157
- template: "<div class=\"sky-modal-footer-container sky-padding-even-large\">\n <ng-content></ng-content>\n</div>\n",
158
- 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}.sky-theme-modern .sky-modal-footer-container,:host-context(.sky-theme-modern) .sky-modal-footer-container{border-top:none;padding:20px 30px}.sky-theme-modern.sky-theme-mode-dark .sky-modal-footer-container,:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-modal-footer-container{background-color:transparent}\n"]
159
- },] }
160
- ];
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
+ type: i0.Component,
155
+ args: [{
156
+ selector: 'sky-modal-footer',
157
+ templateUrl: './modal-footer.component.html',
158
+ styleUrls: ['./modal-footer.component.scss']
159
+ }]
160
+ }] });
161
161
 
162
162
  /**
163
163
  * Specifies a header for the modal.
@@ -167,13 +167,18 @@
167
167
  }
168
168
  return SkyModalHeaderComponent;
169
169
  }());
170
- SkyModalHeaderComponent.decorators = [
171
- { type: i0.Component, args: [{
172
- selector: 'sky-modal-header',
173
- template: "<h1\n class=\"sky-emphasized\"\n [skyThemeClass]=\"{\n 'sky-font-display-3': 'modern'\n }\"\n>\n <ng-content></ng-content>\n</h1>\n",
174
- styles: ["h1{margin:0;line-height:1.2}.sky-theme-modern.sky-theme-mode-dark h1,:host-context(.sky-theme-modern.sky-theme-mode-dark) h1{color:#fbfcfe}\n"]
175
- },] }
176
- ];
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
+ type: i0.Component,
174
+ args: [{
175
+ selector: 'sky-modal-header',
176
+ templateUrl: './modal-header.component.html',
177
+ styleUrls: [
178
+ './modal-header.component.scss'
179
+ ]
180
+ }]
181
+ }] });
177
182
 
178
183
  /**
179
184
  * @internal
@@ -213,12 +218,11 @@
213
218
  }());
214
219
  SkyModalAdapterService.MODAL_BODY_FULL_CLASS = 'sky-modal-body-full-page';
215
220
  SkyModalAdapterService.MODAL_BODY_CLASS = 'sky-modal-body-open';
216
- SkyModalAdapterService.decorators = [
217
- { type: i0.Injectable }
218
- ];
219
- SkyModalAdapterService.ctorParameters = function () { return [
220
- { type: i1.SkyAppWindowRef }
221
- ]; };
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
+ type: i0.Injectable
225
+ }], ctorParameters: function () { return [{ type: i3__namespace.SkyAppWindowRef }]; } });
222
226
 
223
227
  /**
224
228
  * @internal
@@ -284,13 +288,14 @@
284
288
  return SkyModalHostService;
285
289
  }());
286
290
  SkyModalHostService.modalHosts = [];
287
- SkyModalHostService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function SkyModalHostService_Factory() { return new SkyModalHostService(); }, token: SkyModalHostService, providedIn: "root" });
288
- SkyModalHostService.decorators = [
289
- { type: i0.Injectable, args: [{
290
- providedIn: 'root'
291
- },] }
292
- ];
293
- SkyModalHostService.ctorParameters = function () { return []; };
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
+ type: i0.Injectable,
295
+ args: [{
296
+ providedIn: 'root'
297
+ }]
298
+ }], ctorParameters: function () { return []; } });
294
299
 
295
300
  /**
296
301
  * @internal
@@ -302,10 +307,14 @@
302
307
  }
303
308
  return SkyModalConfiguration;
304
309
  }());
305
- SkyModalConfiguration.decorators = [
306
- { type: i0.Injectable }
307
- ];
308
- SkyModalConfiguration.ctorParameters = function () { return []; };
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
+ type: i0.Injectable,
314
+ args: [{
315
+ providedIn: 'any'
316
+ }]
317
+ }], ctorParameters: function () { return []; } });
309
318
 
310
319
  /**
311
320
  * @internal
@@ -378,7 +387,7 @@
378
387
  .pipe(operators.takeWhile(function () { return isOpen; }))
379
388
  .subscribe(function (event) {
380
389
  /* istanbul ignore else */
381
- if (event instanceof router.NavigationStart) {
390
+ if (event instanceof i2.NavigationStart) {
382
391
  modalInstance.close();
383
392
  }
384
393
  });
@@ -391,27 +400,23 @@
391
400
  };
392
401
  return SkyModalHostComponent;
393
402
  }());
394
- SkyModalHostComponent.decorators = [
395
- { type: i0.Component, args: [{
396
- selector: 'sky-modal-host',
397
- 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",
398
- viewProviders: [SkyModalAdapterService],
399
- styles: [".sky-modal-host-backdrop{background-color:#00000080;position:fixed;top:0;left:0;bottom:0;right:0}\n"]
400
- },] }
401
- ];
402
- SkyModalHostComponent.ctorParameters = function () { return [
403
- { type: i0.ComponentFactoryResolver },
404
- { type: SkyModalAdapterService },
405
- { type: i0.Injector },
406
- { type: router.Router },
407
- { type: i0.ChangeDetectorRef }
408
- ]; };
409
- SkyModalHostComponent.propDecorators = {
410
- target: [{ type: i0.ViewChild, args: ['target', {
411
- read: i0.ViewContainerRef,
412
- static: true
413
- },] }]
414
- };
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
+ type: i0.Component,
407
+ args: [{
408
+ selector: 'sky-modal-host',
409
+ templateUrl: './modal-host.component.html',
410
+ styleUrls: ['./modal-host.component.scss'],
411
+ viewProviders: [SkyModalAdapterService]
412
+ }]
413
+ }], ctorParameters: function () { return [{ type: i0__namespace.ComponentFactoryResolver }, { type: SkyModalAdapterService }, { type: i0__namespace.Injector }, { type: i2__namespace.Router }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { target: [{
414
+ type: i0.ViewChild,
415
+ args: ['target', {
416
+ read: i0.ViewContainerRef,
417
+ static: true
418
+ }]
419
+ }] } });
415
420
 
416
421
  /**
417
422
  * Raises an event when the box shadow for the modal header or footer should be adjusted
@@ -440,7 +445,7 @@
440
445
  .pipe(operators.takeUntil(this.ngUnsubscribe))
441
446
  .subscribe(function (themeSettings) {
442
447
  _this.currentTheme = themeSettings.currentSettings.theme;
443
- if (_this.currentTheme === theme.SkyTheme.presets.modern) {
448
+ if (_this.currentTheme === i1.SkyTheme.presets.modern) {
444
449
  _this.initMutationObserver();
445
450
  }
446
451
  else {
@@ -485,7 +490,7 @@
485
490
  }
486
491
  };
487
492
  SkyModalScrollShadowDirective.prototype.checkForShadow = function () {
488
- if (this.currentTheme === theme.SkyTheme.presets.modern) {
493
+ if (this.currentTheme === i1.SkyTheme.presets.modern) {
489
494
  var el = this.elRef.nativeElement;
490
495
  var topShadow = this.buildShadowStyle(el.scrollTop);
491
496
  var bottomShadow = this.buildShadowStyle((el.scrollHeight - el.scrollTop) - el.clientHeight);
@@ -513,33 +518,33 @@
513
518
  };
514
519
  return SkyModalScrollShadowDirective;
515
520
  }());
516
- SkyModalScrollShadowDirective.decorators = [
517
- { type: i0.Directive, args: [{
518
- selector: '[skyModalScrollShadow]'
519
- },] }
520
- ];
521
- SkyModalScrollShadowDirective.ctorParameters = function () { return [
522
- { type: i0.ElementRef },
523
- { type: theme.SkyThemeService, decorators: [{ type: i0.Optional }] },
524
- { type: i1.MutationObserverService },
525
- { type: i0.NgZone }
526
- ]; };
527
- SkyModalScrollShadowDirective.propDecorators = {
528
- skyModalScrollShadow: [{ type: i0.Output }],
529
- windowResize: [{ type: i0.HostListener, args: ['window:resize',] }],
530
- scroll: [{ type: i0.HostListener, args: ['scroll',] }]
531
- };
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
+ type: i0.Directive,
525
+ args: [{
526
+ selector: '[skyModalScrollShadow]'
527
+ }]
528
+ }], ctorParameters: function () {
529
+ return [{ type: i0__namespace.ElementRef }, { type: i1__namespace.SkyThemeService, decorators: [{
530
+ type: i0.Optional
531
+ }] }, { type: i3__namespace.MutationObserverService }, { type: i0__namespace.NgZone }];
532
+ }, propDecorators: { skyModalScrollShadow: [{
533
+ type: i0.Output
534
+ }], windowResize: [{
535
+ type: i0.HostListener,
536
+ args: ['window:resize']
537
+ }], scroll: [{
538
+ type: i0.HostListener,
539
+ args: ['scroll']
540
+ }] } });
532
541
 
533
- /* tslint:disable */
534
- var tabbableSelector = 'a[href], area[href], input:not([disabled]):not([tabindex=\'-1\']), ' +
535
- 'button:not([disabled]):not([tabindex=\'-1\']),select:not([disabled]):not([tabindex=\'-1\']), textarea:not([disabled]):not([tabindex=\'-1\']), ' +
536
- 'iframe, object, embed, *[tabindex]:not([tabindex=\'-1\']), *[contenteditable=true]';
537
- /* tslint:enable */
538
542
  /**
539
543
  * @internal
540
544
  */
541
545
  var SkyModalComponentAdapterService = /** @class */ (function () {
542
- function SkyModalComponentAdapterService() {
546
+ function SkyModalComponentAdapterService(coreAdapter) {
547
+ this.coreAdapter = coreAdapter;
543
548
  }
544
549
  SkyModalComponentAdapterService.prototype.handleWindowChange = function (modalEl) {
545
550
  var boundedHeightEl = modalEl.nativeElement.querySelector('.sky-modal');
@@ -562,9 +567,6 @@
562
567
  modalContentEl.style.maxHeight = contentHeight.toString() + 'px';
563
568
  }
564
569
  };
565
- SkyModalComponentAdapterService.prototype.loadFocusElementList = function (modalEl) {
566
- return this.loadFocusableChildren(modalEl.nativeElement);
567
- };
568
570
  SkyModalComponentAdapterService.prototype.isFocusInFirstItem = function (event, list) {
569
571
  /* istanbul ignore next */
570
572
  /* sanity check */
@@ -609,36 +611,11 @@
609
611
  inputWithAutofocus.focus();
610
612
  }
611
613
  else {
612
- var focusEl = modalEl.nativeElement.querySelector('.sky-modal-content');
613
- var focusableChildren = this.loadFocusableChildren(focusEl);
614
- // Focus first focusable child if available. Otherwise focus content pane.
615
- if (!this.focusFirstElement(focusableChildren)) {
616
- focusEl.focus();
617
- }
614
+ this.coreAdapter.getFocusableChildrenAndApplyFocus(modalEl, '.sky-modal-content', true);
618
615
  }
619
616
  window.scrollTo(currentScrollX, currentScrollY);
620
617
  }
621
618
  };
622
- SkyModalComponentAdapterService.prototype.loadFocusableChildren = function (elem) {
623
- var _this = this;
624
- var elements = Array.prototype.slice.call(elem.querySelectorAll(tabbableSelector));
625
- return elements.filter(function (element) {
626
- return _this.isVisible(element);
627
- });
628
- };
629
- SkyModalComponentAdapterService.prototype.isVisible = function (element) {
630
- var style = window.getComputedStyle(element);
631
- var isHidden = style.display === 'none' || style.visibility === 'hidden';
632
- if (isHidden) {
633
- return false;
634
- }
635
- var hasBounds = !!(element.offsetWidth ||
636
- /* istanbul ignore next */
637
- element.offsetHeight ||
638
- /* istanbul ignore next */
639
- element.getClientRects().length);
640
- return hasBounds;
641
- };
642
619
  SkyModalComponentAdapterService.prototype.setFullPageHeight = function (fullPageModalEl) {
643
620
  var windowHeight = window.innerHeight;
644
621
  var fullPageModalStyle = getComputedStyle(fullPageModalEl);
@@ -650,10 +627,11 @@
650
627
  };
651
628
  return SkyModalComponentAdapterService;
652
629
  }());
653
- SkyModalComponentAdapterService.decorators = [
654
- { type: i0.Injectable }
655
- ];
656
- SkyModalComponentAdapterService.ctorParameters = function () { return []; };
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: [{
633
+ type: i0.Injectable
634
+ }], ctorParameters: function () { return [{ type: i3__namespace.SkyCoreAdapterService }]; } });
657
635
 
658
636
  var skyAnimationModalState = animations.trigger('modalState', [
659
637
  animations.state('in', animations.style({ opacity: '1.0' })),
@@ -675,12 +653,14 @@
675
653
  * [write unit tests for modals](https://developer.blackbaud.com/skyux/learn/get-started/advanced/unit-test-modals).
676
654
  */
677
655
  var SkyModalComponent = /** @class */ (function () {
678
- function SkyModalComponent(hostService, config, elRef, windowRef, componentAdapter) {
656
+ function SkyModalComponent(hostService, config, elRef, windowRef, componentAdapter, coreAdapter, dockService) {
679
657
  this.hostService = hostService;
680
658
  this.config = config;
681
659
  this.elRef = elRef;
682
660
  this.windowRef = windowRef;
683
661
  this.componentAdapter = componentAdapter;
662
+ this.coreAdapter = coreAdapter;
663
+ this.dockService = dockService;
684
664
  this.modalState = 'in';
685
665
  this.modalContentId = 'sky-modal-content-id-' + skyModalUniqueIdentifier.toString();
686
666
  this.modalHeaderId = 'sky-modal-header-id-' + skyModalUniqueIdentifier.toString();
@@ -792,7 +772,7 @@
792
772
  if (topModal && topModal === this.hostService) {
793
773
  if (event.which === 9) { // Tab pressed
794
774
  var focusChanged = false;
795
- var focusElementList = this.componentAdapter.loadFocusElementList(this.elRef);
775
+ var focusElementList = this.coreAdapter.getFocusableChildren(this.elRef.nativeElement);
796
776
  if (event.shiftKey &&
797
777
  (this.componentAdapter.isFocusInFirstItem(event, focusElementList) ||
798
778
  this.componentAdapter.isModalFocused(event, this.elRef))) {
@@ -818,6 +798,11 @@
818
798
  this.windowRef.nativeWindow.setTimeout(function () {
819
799
  _this.componentAdapter.modalOpened(_this.elRef);
820
800
  });
801
+ this.dockService.setDockOptions({
802
+ location: i3$1.SkyDockLocation.ElementBottom,
803
+ referenceEl: this.modalContentWrapperElement.nativeElement,
804
+ zIndex: 5
805
+ });
821
806
  };
822
807
  SkyModalComponent.prototype.helpButtonClick = function () {
823
808
  this.hostService.onOpenHelp(this.helpKey);
@@ -836,68 +821,101 @@
836
821
  };
837
822
  return SkyModalComponent;
838
823
  }());
839
- SkyModalComponent.decorators = [
840
- { type: i0.Component, args: [{
841
- selector: 'sky-modal',
842
- 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",
843
- animations: [
844
- skyAnimationModalState
845
- ],
846
- providers: [
847
- SkyModalComponentAdapterService
848
- ],
849
- 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-theme-modern .sky-modal-header,:host-context(.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,:host-context(.sky-theme-modern) .sky-modal-btn-help,:host-context(.sky-theme-modern) .sky-modal-btn-close{display:none}.sky-theme-modern .sky-modal-content,:host-context(.sky-theme-modern) .sky-modal-content{padding:0}.sky-theme-modern .sky-modal-full-page,:host-context(.sky-theme-modern) .sky-modal-full-page{width:calc(100% - (60px));margin:30px}.sky-theme-modern.sky-theme-mode-dark .sky-modal,:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-modal{border-color:#121212}.sky-theme-modern.sky-theme-mode-dark .sky-modal-header,:host-context(.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,: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}\n"]
850
- },] }
851
- ];
852
- SkyModalComponent.ctorParameters = function () { return [
853
- { type: SkyModalHostService },
854
- { type: SkyModalConfiguration },
855
- { type: i0.ElementRef },
856
- { type: i1.SkyAppWindowRef },
857
- { type: SkyModalComponentAdapterService }
858
- ]; };
859
- SkyModalComponent.propDecorators = {
860
- ariaRole: [{ type: i0.Input }],
861
- tiledBody: [{ type: i0.Input }],
862
- onDocumentKeyUp: [{ type: i0.HostListener, args: ['document:keyup', ['$event'],] }],
863
- onDocumentKeyDown: [{ type: i0.HostListener, args: ['document:keydown', ['$event'],] }]
864
- };
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: [
829
+ skyAnimationModalState
830
+ ] });
831
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalComponent, decorators: [{
832
+ type: i0.Component,
833
+ args: [{
834
+ selector: 'sky-modal',
835
+ templateUrl: './modal.component.html',
836
+ styleUrls: ['./modal.component.scss'],
837
+ animations: [
838
+ skyAnimationModalState
839
+ ],
840
+ providers: [
841
+ SkyModalComponentAdapterService,
842
+ i3$1.SkyDockService
843
+ ]
844
+ }]
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: [{
850
+ type: i0.Input
851
+ }], tiledBody: [{
852
+ type: i0.Input
853
+ }], modalContentWrapperElement: [{
854
+ type: i0.ViewChild,
855
+ args: ['modalContentWrapper', { read: i0.ElementRef }]
856
+ }], onDocumentKeyUp: [{
857
+ type: i0.HostListener,
858
+ args: ['document:keyup', ['$event']]
859
+ }], onDocumentKeyDown: [{
860
+ type: i0.HostListener,
861
+ args: ['document:keydown', ['$event']]
862
+ }] } });
865
863
 
866
864
  var SkyModalModule = /** @class */ (function () {
867
865
  function SkyModalModule() {
868
866
  }
869
867
  return SkyModalModule;
870
868
  }());
871
- SkyModalModule.decorators = [
872
- { type: i0.NgModule, args: [{
873
- declarations: [
874
- SkyModalComponent,
875
- SkyModalContentComponent,
876
- SkyModalFooterComponent,
877
- SkyModalHeaderComponent,
878
- SkyModalHostComponent,
879
- SkyModalScrollShadowDirective
880
- ],
881
- imports: [
882
- common.CommonModule,
883
- router.RouterModule,
884
- i18n.SkyI18nModule,
885
- indicators.SkyIconModule,
886
- SkyModalForRootCompatModule,
887
- SkyModalsResourcesModule,
888
- theme.SkyThemeModule
889
- ],
890
- exports: [
891
- SkyModalComponent,
892
- SkyModalContentComponent,
893
- SkyModalFooterComponent,
894
- SkyModalHeaderComponent
895
- ],
896
- entryComponents: [
897
- SkyModalHostComponent
898
- ]
899
- },] }
900
- ];
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,
871
+ SkyModalContentComponent,
872
+ SkyModalFooterComponent,
873
+ SkyModalHeaderComponent,
874
+ SkyModalHostComponent,
875
+ SkyModalScrollShadowDirective], imports: [i6.CommonModule,
876
+ i2.RouterModule,
877
+ i5.SkyIconModule,
878
+ SkyModalsResourcesModule,
879
+ i1.SkyThemeModule], exports: [SkyModalComponent,
880
+ SkyModalContentComponent,
881
+ SkyModalFooterComponent,
882
+ SkyModalHeaderComponent] });
883
+ SkyModalModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalModule, imports: [[
884
+ i6.CommonModule,
885
+ i2.RouterModule,
886
+ i5.SkyIconModule,
887
+ SkyModalsResourcesModule,
888
+ i1.SkyThemeModule
889
+ ]] });
890
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyModalModule, decorators: [{
891
+ type: i0.NgModule,
892
+ args: [{
893
+ declarations: [
894
+ SkyModalComponent,
895
+ SkyModalContentComponent,
896
+ SkyModalFooterComponent,
897
+ SkyModalHeaderComponent,
898
+ SkyModalHostComponent,
899
+ SkyModalScrollShadowDirective
900
+ ],
901
+ imports: [
902
+ i6.CommonModule,
903
+ i2.RouterModule,
904
+ i5.SkyIconModule,
905
+ SkyModalsResourcesModule,
906
+ i1.SkyThemeModule
907
+ ],
908
+ exports: [
909
+ SkyModalComponent,
910
+ SkyModalContentComponent,
911
+ SkyModalFooterComponent,
912
+ SkyModalHeaderComponent
913
+ ],
914
+ entryComponents: [
915
+ SkyModalHostComponent
916
+ ]
917
+ }]
918
+ }] });
901
919
 
902
920
  var SkyModalCloseArgs = /** @class */ (function () {
903
921
  function SkyModalCloseArgs() {
@@ -1130,44 +1148,57 @@
1130
1148
  };
1131
1149
  return SkyConfirmComponent;
1132
1150
  }());
1133
- SkyConfirmComponent.decorators = [
1134
- { type: i0.Component, args: [{
1135
- selector: 'sky-confirm',
1136
- 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",
1137
- 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}.sky-theme-modern .sky-confirm-content,:host-context(.sky-theme-modern) .sky-confirm-content{padding:20px 30px}.sky-theme-modern .sky-confirm-message,:host-context(.sky-theme-modern) .sky-confirm-message{padding-bottom:20px}.sky-theme-modern .sky-confirm-body,:host-context(.sky-theme-modern) .sky-confirm-body{margin:0}.sky-theme-modern.sky-theme-mode-dark .sky-confirm-message,:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-confirm-message{color:#fbfcfe}\n"]
1138
- },] }
1139
- ];
1140
- SkyConfirmComponent.ctorParameters = function () { return [
1141
- { type: SkyConfirmModalContext },
1142
- { type: SkyModalInstance },
1143
- { type: i18n.SkyLibResourcesService, decorators: [{ type: i0.Optional }] }
1144
- ]; };
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: [{
1154
+ type: i0.Component,
1155
+ args: [{
1156
+ selector: 'sky-confirm',
1157
+ templateUrl: './confirm.component.html',
1158
+ styleUrls: ['./confirm.component.scss']
1159
+ }]
1160
+ }], ctorParameters: function () {
1161
+ return [{ type: SkyConfirmModalContext }, { type: SkyModalInstance }, { type: i3__namespace$1.SkyLibResourcesService, decorators: [{
1162
+ type: i0.Optional
1163
+ }] }];
1164
+ } });
1145
1165
 
1146
1166
  var SkyConfirmModule = /** @class */ (function () {
1147
1167
  function SkyConfirmModule() {
1148
1168
  }
1149
1169
  return SkyConfirmModule;
1150
1170
  }());
1151
- SkyConfirmModule.decorators = [
1152
- { type: i0.NgModule, args: [{
1153
- declarations: [
1154
- SkyConfirmComponent
1155
- ],
1156
- imports: [
1157
- common.CommonModule,
1158
- i18n.SkyI18nModule,
1159
- SkyModalModule,
1160
- SkyModalsResourcesModule,
1161
- theme.SkyThemeModule
1162
- ],
1163
- exports: [
1164
- SkyConfirmComponent
1165
- ],
1166
- entryComponents: [
1167
- SkyConfirmComponent
1168
- ]
1169
- },] }
1170
- ];
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,
1173
+ SkyModalModule,
1174
+ SkyModalsResourcesModule,
1175
+ i1.SkyThemeModule], exports: [SkyConfirmComponent] });
1176
+ SkyConfirmModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyConfirmModule, imports: [[
1177
+ i6.CommonModule,
1178
+ SkyModalModule,
1179
+ SkyModalsResourcesModule,
1180
+ i1.SkyThemeModule
1181
+ ]] });
1182
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: SkyConfirmModule, decorators: [{
1183
+ type: i0.NgModule,
1184
+ args: [{
1185
+ declarations: [
1186
+ SkyConfirmComponent
1187
+ ],
1188
+ imports: [
1189
+ i6.CommonModule,
1190
+ SkyModalModule,
1191
+ SkyModalsResourcesModule,
1192
+ i1.SkyThemeModule
1193
+ ],
1194
+ exports: [
1195
+ SkyConfirmComponent
1196
+ ],
1197
+ entryComponents: [
1198
+ SkyConfirmComponent
1199
+ ]
1200
+ }]
1201
+ }] });
1171
1202
 
1172
1203
  /**
1173
1204
  * A service that lauches modals. For information about how to test modals in SKY UX, see
@@ -1239,18 +1270,17 @@
1239
1270
  };
1240
1271
  return SkyModalService;
1241
1272
  }());
1242
- SkyModalService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function SkyModalService_Factory() { return new SkyModalService(i0__namespace.ɵɵinject(i1__namespace.SkyDynamicComponentService)); }, token: SkyModalService, providedIn: "any" });
1243
- SkyModalService.decorators = [
1244
- { type: i0.Injectable, args: [{
1245
- // Must be 'any' so that the modal component is created in the context of its module's injector.
1246
- // If set to 'root', the component's dependency injections would only be derived from the root
1247
- // injector and may loose context if the modal was opened from within a lazy-loaded module.
1248
- providedIn: 'any'
1249
- },] }
1250
- ];
1251
- SkyModalService.ctorParameters = function () { return [
1252
- { type: i1.SkyDynamicComponentService }
1253
- ]; };
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: [{
1276
+ type: i0.Injectable,
1277
+ args: [{
1278
+ // Must be 'any' so that the modal component is created in the context of its module's injector.
1279
+ // If set to 'root', the component's dependency injections would only be derived from the root
1280
+ // injector and may loose context if the modal was opened from within a lazy-loaded module.
1281
+ providedIn: 'any'
1282
+ }]
1283
+ }], ctorParameters: function () { return [{ type: i3__namespace.SkyDynamicComponentService }]; } });
1254
1284
 
1255
1285
  /**
1256
1286
  * The `SkyConfirmService` provider launches the confirmation dialog.
@@ -1287,15 +1317,14 @@
1287
1317
  };
1288
1318
  return SkyConfirmService;
1289
1319
  }());
1290
- SkyConfirmService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function SkyConfirmService_Factory() { return new SkyConfirmService(i0__namespace.ɵɵinject(SkyModalService)); }, token: SkyConfirmService, providedIn: "root" });
1291
- SkyConfirmService.decorators = [
1292
- { type: i0.Injectable, args: [{
1293
- providedIn: 'root'
1294
- },] }
1295
- ];
1296
- SkyConfirmService.ctorParameters = function () { return [
1297
- { type: SkyModalService }
1298
- ]; };
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: [{
1323
+ type: i0.Injectable,
1324
+ args: [{
1325
+ providedIn: 'root'
1326
+ }]
1327
+ }], ctorParameters: function () { return [{ type: SkyModalService }]; } });
1299
1328
 
1300
1329
  /**
1301
1330
  * Generated bundle index. Do not edit.
@@ -1312,19 +1341,11 @@
1312
1341
  exports.SkyModalInstance = SkyModalInstance;
1313
1342
  exports.SkyModalModule = SkyModalModule;
1314
1343
  exports.SkyModalService = SkyModalService;
1315
- exports.ɵa = SkyConfirmComponent;
1316
- exports.ɵb = SkyModalComponent;
1317
- exports.ɵc = skyAnimationModalState;
1318
- exports.ɵd = SkyModalComponentAdapterService;
1319
- exports.ɵe = SkyModalContentComponent;
1320
- exports.ɵf = SkyModalFooterComponent;
1321
- exports.ɵg = SkyModalHeaderComponent;
1322
- exports.ɵh = SkyModalHostComponent;
1323
- exports.ɵi = SkyModalAdapterService;
1324
- exports.ɵj = SkyModalScrollShadowDirective;
1325
- exports.ɵk = SkyModalForRootCompatModule;
1326
- exports.ɵl = SkyModalsResourcesProvider;
1327
- exports.ɵm = SkyModalsResourcesModule;
1344
+ exports.λ1 = SkyConfirmComponent;
1345
+ exports.λ2 = SkyModalContentComponent;
1346
+ exports.λ3 = SkyModalFooterComponent;
1347
+ exports.λ4 = SkyModalHeaderComponent;
1348
+ exports.λ5 = SkyModalComponent;
1328
1349
 
1329
1350
  Object.defineProperty(exports, '__esModule', { value: true });
1330
1351