@blackbaud/skyux-lib-media 7.0.0 → 8.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/README.md +6 -4
  2. package/esm2020/blackbaud-skyux-lib-media.mjs +2 -2
  3. package/esm2020/index.mjs +11 -0
  4. package/esm2020/lib/modules/hero/hero-heading.component.mjs +17 -0
  5. package/esm2020/lib/modules/hero/hero-subheading.component.mjs +17 -0
  6. package/esm2020/lib/modules/hero/hero.component.mjs +51 -0
  7. package/esm2020/lib/modules/hero/hero.module.mjs +32 -0
  8. package/esm2020/{modules → lib/modules}/image/image.component.mjs +9 -9
  9. package/esm2020/lib/modules/image/image.module.mjs +19 -0
  10. package/esm2020/lib/modules/shared/sky-media-resources.module.mjs +48 -0
  11. package/esm2020/lib/modules/video/video.component.mjs +30 -0
  12. package/esm2020/lib/modules/video/video.module.mjs +18 -0
  13. package/fesm2015/blackbaud-skyux-lib-media.mjs +100 -99
  14. package/fesm2015/blackbaud-skyux-lib-media.mjs.map +1 -1
  15. package/fesm2020/blackbaud-skyux-lib-media.mjs +100 -99
  16. package/fesm2020/blackbaud-skyux-lib-media.mjs.map +1 -1
  17. package/index.d.ts +8 -5
  18. package/{modules → lib/modules}/hero/hero-heading.component.d.ts +1 -1
  19. package/{modules → lib/modules}/hero/hero-subheading.component.d.ts +1 -1
  20. package/{modules → lib/modules}/hero/hero.component.d.ts +3 -6
  21. package/{modules → lib/modules}/hero/hero.module.d.ts +0 -0
  22. package/{modules → lib/modules}/image/image.component.d.ts +7 -7
  23. package/{modules → lib/modules}/image/image.module.d.ts +0 -0
  24. package/{modules → lib/modules}/shared/sky-media-resources.module.d.ts +1 -1
  25. package/{modules → lib/modules}/video/video.component.d.ts +3 -4
  26. package/{modules → lib/modules}/video/video.module.d.ts +0 -0
  27. package/package.json +17 -2
  28. package/esm2020/modules/hero/hero-heading.component.mjs +0 -17
  29. package/esm2020/modules/hero/hero-subheading.component.mjs +0 -17
  30. package/esm2020/modules/hero/hero.component.mjs +0 -45
  31. package/esm2020/modules/hero/hero.module.mjs +0 -34
  32. package/esm2020/modules/image/image.module.mjs +0 -28
  33. package/esm2020/modules/shared/sky-media-resources.module.mjs +0 -41
  34. package/esm2020/modules/video/video.component.mjs +0 -22
  35. package/esm2020/modules/video/video.module.mjs +0 -24
  36. package/esm2020/public-api.mjs +0 -11
  37. package/public-api.d.ts +0 -8
@@ -1,63 +1,22 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
3
1
  import * as i1 from '@angular/common';
4
2
  import { CommonModule } from '@angular/common';
3
+ import * as i0 from '@angular/core';
4
+ import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
5
+ import { __classPrivateFieldSet, __classPrivateFieldGet } from 'tslib';
5
6
  import * as i2 from '@skyux/i18n';
6
7
  import { getLibStringForLocale, SkyI18nModule, SKY_LIB_RESOURCES_PROVIDERS } from '@skyux/i18n';
7
8
  import * as i1$1 from '@angular/platform-browser';
8
9
 
9
- class SkyHeroComponent {
10
- constructor(changeDetector) {
11
- this.changeDetector = changeDetector;
12
- this.defaultOpacity = '0.4';
13
- }
14
- set overlayOpacity(value) {
15
- const sanitized = value.replace(/[^\d.-]/g, '');
16
- const newValue = this.parseInterval(sanitized).toString();
17
- this._overlayOpacity = newValue;
18
- this.changeDetector.markForCheck();
19
- }
20
- get overlayOpacity() {
21
- return this._overlayOpacity || this.defaultOpacity;
22
- }
23
- parseInterval(value) {
24
- let interval = parseFloat(value);
25
- if (isNaN(interval)) {
26
- return 0.4;
27
- }
28
- if (interval > 100) {
29
- return 1;
30
- }
31
- if (interval < 0) {
32
- return 0;
33
- }
34
- if (interval % 1 > 0) {
35
- return interval;
36
- }
37
- return interval / 100;
38
- }
39
- }
40
- SkyHeroComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyHeroComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
41
- SkyHeroComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SkyHeroComponent, selector: "sky-hero", inputs: { backgroundImageUrl: "backgroundImageUrl", overlayOpacity: "overlayOpacity" }, ngImport: i0, template: "<div\n class=\"sky-hero\"\n [ngStyle]=\"{\n 'background-image': 'url(' + backgroundImageUrl + ')'\n }\"\n>\n <div\n class=\"sky-hero-body sky-max-width-container\"\n >\n <ng-content></ng-content>\n </div>\n <div\n class=\"sky-hero-overlay\"\n [ngStyle]=\"{\n 'opacity': overlayOpacity\n }\"\n >\n </div>\n</div>\n", styles: [".sky-hero{background-color:#000;display:flex;justify-content:center;background-repeat:no-repeat;background-position:center;background-size:cover;position:relative;box-shadow:0 1px 8px #00000073 inset}.sky-hero-body{display:flex;flex-direction:column;justify-content:center;margin:100px 0 80px;text-align:center;z-index:1;padding:0 15px}@media (min-width: 992px){.sky-hero-body{padding:0 10px}}@media (min-width: 1200px){.sky-hero-body{padding:0}}.sky-hero-overlay{background-color:#000;position:absolute;inset:0;height:100%;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyHeroComponent, decorators: [{
43
- type: Component,
44
- args: [{ selector: 'sky-hero', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"sky-hero\"\n [ngStyle]=\"{\n 'background-image': 'url(' + backgroundImageUrl + ')'\n }\"\n>\n <div\n class=\"sky-hero-body sky-max-width-container\"\n >\n <ng-content></ng-content>\n </div>\n <div\n class=\"sky-hero-overlay\"\n [ngStyle]=\"{\n 'opacity': overlayOpacity\n }\"\n >\n </div>\n</div>\n", styles: [".sky-hero{background-color:#000;display:flex;justify-content:center;background-repeat:no-repeat;background-position:center;background-size:cover;position:relative;box-shadow:0 1px 8px #00000073 inset}.sky-hero-body{display:flex;flex-direction:column;justify-content:center;margin:100px 0 80px;text-align:center;z-index:1;padding:0 15px}@media (min-width: 992px){.sky-hero-body{padding:0 10px}}@media (min-width: 1200px){.sky-hero-body{padding:0}}.sky-hero-overlay{background-color:#000;position:absolute;inset:0;height:100%;width:100%}\n"] }]
45
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { backgroundImageUrl: [{
46
- type: Input
47
- }], overlayOpacity: [{
48
- type: Input
49
- }] } });
50
-
51
10
  class SkyHeroHeadingComponent {
52
11
  constructor() {
53
12
  this.heroTextColor = '#fff';
54
13
  }
55
14
  }
56
15
  SkyHeroHeadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyHeroHeadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
57
- SkyHeroHeadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SkyHeroHeadingComponent, selector: "sky-hero-heading", inputs: { heroTextColor: "heroTextColor" }, ngImport: i0, template: "<h1\n class=\"sky-hero-heading sky-page-heading\"\n [ngStyle]=\"{color: heroTextColor}\"\n>\n <ng-content></ng-content>\n</h1>\n", styles: [".sky-hero-heading{font-size:3.5em;margin:0}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
16
+ SkyHeroHeadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SkyHeroHeadingComponent, selector: "sky-hero-heading", inputs: { heroTextColor: "heroTextColor" }, ngImport: i0, template: "<h1\n class=\"sky-hero-heading sky-page-heading\"\n [ngStyle]=\"{ color: heroTextColor }\"\n>\n <ng-content></ng-content>\n</h1>\n", styles: [".sky-hero-heading{font-size:3.5em;margin:0}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
58
17
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyHeroHeadingComponent, decorators: [{
59
18
  type: Component,
60
- args: [{ selector: 'sky-hero-heading', changeDetection: ChangeDetectionStrategy.OnPush, template: "<h1\n class=\"sky-hero-heading sky-page-heading\"\n [ngStyle]=\"{color: heroTextColor}\"\n>\n <ng-content></ng-content>\n</h1>\n", styles: [".sky-hero-heading{font-size:3.5em;margin:0}\n"] }]
19
+ args: [{ selector: 'sky-hero-heading', changeDetection: ChangeDetectionStrategy.OnPush, template: "<h1\n class=\"sky-hero-heading sky-page-heading\"\n [ngStyle]=\"{ color: heroTextColor }\"\n>\n <ng-content></ng-content>\n</h1>\n", styles: [".sky-hero-heading{font-size:3.5em;margin:0}\n"] }]
61
20
  }], propDecorators: { heroTextColor: [{
62
21
  type: Input
63
22
  }] } });
@@ -68,14 +27,61 @@ class SkyHeroSubheadingComponent {
68
27
  }
69
28
  }
70
29
  SkyHeroSubheadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyHeroSubheadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
71
- SkyHeroSubheadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SkyHeroSubheadingComponent, selector: "sky-hero-subheading", inputs: { heroTextColor: "heroTextColor" }, ngImport: i0, template: "<h2\n class=\"sky-hero-subheading sky-subsection-heading\"\n [ngStyle]=\"{color: heroTextColor}\"\n>\n <ng-content></ng-content>\n</h2>\n", styles: [".sky-hero-subheading{font-size:1.3em;margin:1em 0 0}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
30
+ SkyHeroSubheadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SkyHeroSubheadingComponent, selector: "sky-hero-subheading", inputs: { heroTextColor: "heroTextColor" }, ngImport: i0, template: "<h2\n class=\"sky-hero-subheading sky-subsection-heading\"\n [ngStyle]=\"{ color: heroTextColor }\"\n>\n <ng-content></ng-content>\n</h2>\n", styles: [".sky-hero-subheading{font-size:1.3em;margin:1em 0 0}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
72
31
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyHeroSubheadingComponent, decorators: [{
73
32
  type: Component,
74
- args: [{ selector: 'sky-hero-subheading', changeDetection: ChangeDetectionStrategy.OnPush, template: "<h2\n class=\"sky-hero-subheading sky-subsection-heading\"\n [ngStyle]=\"{color: heroTextColor}\"\n>\n <ng-content></ng-content>\n</h2>\n", styles: [".sky-hero-subheading{font-size:1.3em;margin:1em 0 0}\n"] }]
33
+ args: [{ selector: 'sky-hero-subheading', changeDetection: ChangeDetectionStrategy.OnPush, template: "<h2\n class=\"sky-hero-subheading sky-subsection-heading\"\n [ngStyle]=\"{ color: heroTextColor }\"\n>\n <ng-content></ng-content>\n</h2>\n", styles: [".sky-hero-subheading{font-size:1.3em;margin:1em 0 0}\n"] }]
75
34
  }], propDecorators: { heroTextColor: [{
76
35
  type: Input
77
36
  }] } });
78
37
 
38
+ var _SkyHeroComponent_instances, _SkyHeroComponent_changeDetector, _SkyHeroComponent__overlayOpacity, _SkyHeroComponent_parseInterval;
39
+ const DEFAULT_OPACITY = '0.4';
40
+ class SkyHeroComponent {
41
+ constructor(changeDetector) {
42
+ _SkyHeroComponent_instances.add(this);
43
+ _SkyHeroComponent_changeDetector.set(this, void 0);
44
+ _SkyHeroComponent__overlayOpacity.set(this, DEFAULT_OPACITY);
45
+ __classPrivateFieldSet(this, _SkyHeroComponent_changeDetector, changeDetector, "f");
46
+ }
47
+ set overlayOpacity(value) {
48
+ const overlayOpacity = value || DEFAULT_OPACITY;
49
+ const sanitized = overlayOpacity.replace(/[^\d.-]/g, '');
50
+ const newValue = __classPrivateFieldGet(this, _SkyHeroComponent_instances, "m", _SkyHeroComponent_parseInterval).call(this, sanitized).toString();
51
+ __classPrivateFieldSet(this, _SkyHeroComponent__overlayOpacity, newValue, "f");
52
+ __classPrivateFieldGet(this, _SkyHeroComponent_changeDetector, "f").markForCheck();
53
+ }
54
+ get overlayOpacity() {
55
+ return __classPrivateFieldGet(this, _SkyHeroComponent__overlayOpacity, "f");
56
+ }
57
+ }
58
+ _SkyHeroComponent_changeDetector = new WeakMap(), _SkyHeroComponent__overlayOpacity = new WeakMap(), _SkyHeroComponent_instances = new WeakSet(), _SkyHeroComponent_parseInterval = function _SkyHeroComponent_parseInterval(value) {
59
+ const interval = parseFloat(value);
60
+ if (isNaN(interval)) {
61
+ return 0.4;
62
+ }
63
+ if (interval > 100) {
64
+ return 1;
65
+ }
66
+ if (interval < 0) {
67
+ return 0;
68
+ }
69
+ if (interval % 1 > 0) {
70
+ return interval;
71
+ }
72
+ return interval / 100;
73
+ };
74
+ SkyHeroComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyHeroComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
75
+ SkyHeroComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SkyHeroComponent, selector: "sky-hero", inputs: { backgroundImageUrl: "backgroundImageUrl", overlayOpacity: "overlayOpacity" }, ngImport: i0, template: "<div\n class=\"sky-hero\"\n [ngStyle]=\"{\n 'background-image': 'url(' + backgroundImageUrl + ')'\n }\"\n>\n <div class=\"sky-hero-body sky-max-width-container\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"sky-hero-overlay\"\n [ngStyle]=\"{\n opacity: overlayOpacity\n }\"\n ></div>\n</div>\n", styles: [".sky-hero{background-color:#000;display:flex;justify-content:center;background-repeat:no-repeat;background-position:center;background-size:cover;position:relative;box-shadow:0 1px 8px #00000073 inset}.sky-hero-body{display:flex;flex-direction:column;justify-content:center;margin:100px 0 80px;text-align:center;z-index:1;padding:0 15px}@media (min-width: 992px){.sky-hero-body{padding:0 10px}}@media (min-width: 1200px){.sky-hero-body{padding:0}}.sky-hero-overlay{background-color:#000;position:absolute;inset:0;height:100%;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyHeroComponent, decorators: [{
77
+ type: Component,
78
+ args: [{ selector: 'sky-hero', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"sky-hero\"\n [ngStyle]=\"{\n 'background-image': 'url(' + backgroundImageUrl + ')'\n }\"\n>\n <div class=\"sky-hero-body sky-max-width-container\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"sky-hero-overlay\"\n [ngStyle]=\"{\n opacity: overlayOpacity\n }\"\n ></div>\n</div>\n", styles: [".sky-hero{background-color:#000;display:flex;justify-content:center;background-repeat:no-repeat;background-position:center;background-size:cover;position:relative;box-shadow:0 1px 8px #00000073 inset}.sky-hero-body{display:flex;flex-direction:column;justify-content:center;margin:100px 0 80px;text-align:center;z-index:1;padding:0 15px}@media (min-width: 992px){.sky-hero-body{padding:0 10px}}@media (min-width: 1200px){.sky-hero-body{padding:0}}.sky-hero-overlay{background-color:#000;position:absolute;inset:0;height:100%;width:100%}\n"] }]
79
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { backgroundImageUrl: [{
80
+ type: Input
81
+ }], overlayOpacity: [{
82
+ type: Input
83
+ }] } });
84
+
79
85
  class SkyHeroModule {
80
86
  }
81
87
  SkyHeroModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyHeroModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -91,27 +97,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
91
97
  declarations: [
92
98
  SkyHeroComponent,
93
99
  SkyHeroHeadingComponent,
94
- SkyHeroSubheadingComponent
95
- ],
96
- imports: [
97
- CommonModule
100
+ SkyHeroSubheadingComponent,
98
101
  ],
102
+ imports: [CommonModule],
99
103
  exports: [
100
104
  SkyHeroComponent,
101
105
  SkyHeroHeadingComponent,
102
- SkyHeroSubheadingComponent
103
- ]
106
+ SkyHeroSubheadingComponent,
107
+ ],
104
108
  }]
105
109
  }] });
106
110
 
107
111
  /**
108
112
  * NOTICE: DO NOT MODIFY THIS FILE!
109
113
  * The contents of this file were automatically generated by
110
- * the 'ng generate @skyux/i18n:lib-resources-module modules/shared/sky-media' schematic.
114
+ * the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-media' schematic.
111
115
  * To update this file, simply rerun the command.
112
116
  */
113
117
  const RESOURCES = {
114
- 'EN-US': { "skyux_image_do_text": { "message": "Do" }, "skyux_image_dont_text": { "message": "Don't" } },
118
+ 'EN-US': {
119
+ skyux_image_do_text: { message: 'Do' },
120
+ skyux_image_dont_text: { message: "Don't" },
121
+ },
115
122
  };
116
123
  class SkyMediaResourcesProvider {
117
124
  getString(localeInfo, name) {
@@ -125,45 +132,48 @@ class SkyMediaResourcesModule {
125
132
  }
126
133
  SkyMediaResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyMediaResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
127
134
  SkyMediaResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: SkyMediaResourcesModule, exports: [SkyI18nModule] });
128
- SkyMediaResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyMediaResourcesModule, providers: [{
135
+ SkyMediaResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyMediaResourcesModule, providers: [
136
+ {
129
137
  provide: SKY_LIB_RESOURCES_PROVIDERS,
130
138
  useClass: SkyMediaResourcesProvider,
131
- multi: true
132
- }], imports: [SkyI18nModule] });
139
+ multi: true,
140
+ },
141
+ ], imports: [SkyI18nModule] });
133
142
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyMediaResourcesModule, decorators: [{
134
143
  type: NgModule,
135
144
  args: [{
136
145
  exports: [SkyI18nModule],
137
- providers: [{
146
+ providers: [
147
+ {
138
148
  provide: SKY_LIB_RESOURCES_PROVIDERS,
139
149
  useClass: SkyMediaResourcesProvider,
140
- multi: true
141
- }]
150
+ multi: true,
151
+ },
152
+ ],
142
153
  }]
143
154
  }] });
144
155
 
156
+ var _SkyImageComponent__showCaptionPrefix;
145
157
  class SkyImageComponent {
146
158
  constructor() {
147
159
  this.captionType = 'default';
148
160
  this.imageAlt = 'image';
149
161
  this.showBorder = false;
150
- this._showCaptionPrefix = true;
162
+ _SkyImageComponent__showCaptionPrefix.set(this, true);
151
163
  }
152
164
  set showCaptionPrefix(value) {
153
- this._showCaptionPrefix = value;
165
+ __classPrivateFieldSet(this, _SkyImageComponent__showCaptionPrefix, value !== false, "f");
154
166
  }
155
167
  get showCaptionPrefix() {
156
- if (this._showCaptionPrefix === undefined) {
157
- return true;
158
- }
159
- return this._showCaptionPrefix;
168
+ return __classPrivateFieldGet(this, _SkyImageComponent__showCaptionPrefix, "f");
160
169
  }
161
170
  }
171
+ _SkyImageComponent__showCaptionPrefix = new WeakMap();
162
172
  SkyImageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
163
- SkyImageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SkyImageComponent, selector: "sky-image", inputs: { caption: "caption", captionType: "captionType", imageAlt: "imageAlt", imageSource: "imageSource", showBorder: "showBorder", showCaptionPrefix: "showCaptionPrefix" }, ngImport: i0, template: "<figure\n class=\"sky-image-wrapper\"\n>\n <img\n class=\"sky-image\"\n [alt]=\"imageAlt\"\n [ngClass]=\"{\n 'sky-image-border': showBorder\n }\"\n [src]=\"imageSource\"\n />\n <figcaption *ngIf=\"caption\"\n class=\"sky-image-caption\"\n [ngClass]=\"{\n 'sky-image-caption-default': captionType === 'default',\n 'sky-image-caption-info sky-text-info': captionType === 'info',\n 'sky-image-caption-success sky-text-success': captionType === 'success',\n 'sky-image-caption-warning sky-text-warning': captionType === 'warning',\n 'sky-image-caption-danger sky-text-danger': captionType === 'danger'\n }\"\n >\n <ng-container [ngSwitch]=\"captionType\">\n <ng-container *ngSwitchCase=\"'success'\">\n <ng-container *ngIf=\"showCaptionPrefix\">\n <strong>{{ 'skyux_image_do_text' | skyLibResources }}</strong>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'danger'\">\n <ng-container *ngIf=\"showCaptionPrefix\">\n <strong>{{ 'skyux_image_dont_text' | skyLibResources }}</strong>\n </ng-container>\n </ng-container>\n </ng-container>\n {{ caption }}\n </figcaption>\n</figure>\n", styles: [".sky-image-wrapper{display:table;margin:0;padding:0}.sky-image{display:block;max-width:100%;height:auto;width:auto}.sky-image-border{border:1px solid #cdcfd2}.sky-image-caption{border-top:5px solid #cdcfd2;display:table-caption;caption-side:bottom;margin:10px 0;padding:5px 0 0}.sky-image-caption-success{border-color:#72bf44}.sky-image-caption-danger{border-color:#ef4044}.sky-image-caption-warning{border-color:#fbb034}.sky-image-caption-info{border-color:#00b4f1}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "pipe", type: i2.SkyLibResourcesPipe, name: "skyLibResources" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
173
+ SkyImageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SkyImageComponent, selector: "sky-image", inputs: { caption: "caption", captionType: "captionType", imageAlt: "imageAlt", imageSource: "imageSource", showBorder: "showBorder", showCaptionPrefix: "showCaptionPrefix" }, ngImport: i0, template: "<figure class=\"sky-image-wrapper\">\n <img\n class=\"sky-image\"\n [alt]=\"imageAlt\"\n [ngClass]=\"{\n 'sky-image-border': showBorder\n }\"\n [src]=\"imageSource\"\n />\n <figcaption\n *ngIf=\"caption\"\n class=\"sky-image-caption\"\n [ngClass]=\"{\n 'sky-image-caption-default': captionType === 'default',\n 'sky-image-caption-info sky-text-info': captionType === 'info',\n 'sky-image-caption-success sky-text-success': captionType === 'success',\n 'sky-image-caption-warning sky-text-warning': captionType === 'warning',\n 'sky-image-caption-danger sky-text-danger': captionType === 'danger'\n }\"\n >\n <ng-container [ngSwitch]=\"captionType\">\n <ng-container *ngSwitchCase=\"'success'\">\n <ng-container *ngIf=\"showCaptionPrefix\">\n <strong>{{ 'skyux_image_do_text' | skyLibResources }}</strong>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'danger'\">\n <ng-container *ngIf=\"showCaptionPrefix\">\n <strong>{{ 'skyux_image_dont_text' | skyLibResources }}</strong>\n </ng-container>\n </ng-container>\n </ng-container>\n {{ caption }}\n </figcaption>\n</figure>\n", styles: [".sky-image-wrapper{display:table;margin:0;padding:0}.sky-image{display:block;max-width:100%;height:auto;width:auto}.sky-image-border{border:1px solid #cdcfd2}.sky-image-caption{border-top:5px solid #cdcfd2;display:table-caption;caption-side:bottom;margin:10px 0;padding:5px 0 0}.sky-image-caption-success{border-color:#72bf44}.sky-image-caption-danger{border-color:#ef4044}.sky-image-caption-warning{border-color:#fbb034}.sky-image-caption-info{border-color:#00b4f1}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "pipe", type: i2.SkyLibResourcesPipe, name: "skyLibResources" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
164
174
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyImageComponent, decorators: [{
165
175
  type: Component,
166
- args: [{ selector: 'sky-image', changeDetection: ChangeDetectionStrategy.OnPush, template: "<figure\n class=\"sky-image-wrapper\"\n>\n <img\n class=\"sky-image\"\n [alt]=\"imageAlt\"\n [ngClass]=\"{\n 'sky-image-border': showBorder\n }\"\n [src]=\"imageSource\"\n />\n <figcaption *ngIf=\"caption\"\n class=\"sky-image-caption\"\n [ngClass]=\"{\n 'sky-image-caption-default': captionType === 'default',\n 'sky-image-caption-info sky-text-info': captionType === 'info',\n 'sky-image-caption-success sky-text-success': captionType === 'success',\n 'sky-image-caption-warning sky-text-warning': captionType === 'warning',\n 'sky-image-caption-danger sky-text-danger': captionType === 'danger'\n }\"\n >\n <ng-container [ngSwitch]=\"captionType\">\n <ng-container *ngSwitchCase=\"'success'\">\n <ng-container *ngIf=\"showCaptionPrefix\">\n <strong>{{ 'skyux_image_do_text' | skyLibResources }}</strong>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'danger'\">\n <ng-container *ngIf=\"showCaptionPrefix\">\n <strong>{{ 'skyux_image_dont_text' | skyLibResources }}</strong>\n </ng-container>\n </ng-container>\n </ng-container>\n {{ caption }}\n </figcaption>\n</figure>\n", styles: [".sky-image-wrapper{display:table;margin:0;padding:0}.sky-image{display:block;max-width:100%;height:auto;width:auto}.sky-image-border{border:1px solid #cdcfd2}.sky-image-caption{border-top:5px solid #cdcfd2;display:table-caption;caption-side:bottom;margin:10px 0;padding:5px 0 0}.sky-image-caption-success{border-color:#72bf44}.sky-image-caption-danger{border-color:#ef4044}.sky-image-caption-warning{border-color:#fbb034}.sky-image-caption-info{border-color:#00b4f1}\n"] }]
176
+ args: [{ selector: 'sky-image', changeDetection: ChangeDetectionStrategy.OnPush, template: "<figure class=\"sky-image-wrapper\">\n <img\n class=\"sky-image\"\n [alt]=\"imageAlt\"\n [ngClass]=\"{\n 'sky-image-border': showBorder\n }\"\n [src]=\"imageSource\"\n />\n <figcaption\n *ngIf=\"caption\"\n class=\"sky-image-caption\"\n [ngClass]=\"{\n 'sky-image-caption-default': captionType === 'default',\n 'sky-image-caption-info sky-text-info': captionType === 'info',\n 'sky-image-caption-success sky-text-success': captionType === 'success',\n 'sky-image-caption-warning sky-text-warning': captionType === 'warning',\n 'sky-image-caption-danger sky-text-danger': captionType === 'danger'\n }\"\n >\n <ng-container [ngSwitch]=\"captionType\">\n <ng-container *ngSwitchCase=\"'success'\">\n <ng-container *ngIf=\"showCaptionPrefix\">\n <strong>{{ 'skyux_image_do_text' | skyLibResources }}</strong>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'danger'\">\n <ng-container *ngIf=\"showCaptionPrefix\">\n <strong>{{ 'skyux_image_dont_text' | skyLibResources }}</strong>\n </ng-container>\n </ng-container>\n </ng-container>\n {{ caption }}\n </figcaption>\n</figure>\n", styles: [".sky-image-wrapper{display:table;margin:0;padding:0}.sky-image{display:block;max-width:100%;height:auto;width:auto}.sky-image-border{border:1px solid #cdcfd2}.sky-image-caption{border-top:5px solid #cdcfd2;display:table-caption;caption-side:bottom;margin:10px 0;padding:5px 0 0}.sky-image-caption-success{border-color:#72bf44}.sky-image-caption-danger{border-color:#ef4044}.sky-image-caption-warning{border-color:#fbb034}.sky-image-caption-info{border-color:#00b4f1}\n"] }]
167
177
  }], propDecorators: { caption: [{
168
178
  type: Input
169
179
  }], captionType: [{
@@ -181,41 +191,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
181
191
  class SkyImageModule {
182
192
  }
183
193
  SkyImageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyImageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
184
- SkyImageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: SkyImageModule, declarations: [SkyImageComponent], imports: [CommonModule,
185
- SkyMediaResourcesModule], exports: [SkyImageComponent] });
186
- SkyImageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyImageModule, imports: [CommonModule,
187
- SkyMediaResourcesModule] });
194
+ SkyImageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: SkyImageModule, declarations: [SkyImageComponent], imports: [CommonModule, SkyMediaResourcesModule], exports: [SkyImageComponent] });
195
+ SkyImageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyImageModule, imports: [CommonModule, SkyMediaResourcesModule] });
188
196
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyImageModule, decorators: [{
189
197
  type: NgModule,
190
198
  args: [{
191
- declarations: [
192
- SkyImageComponent
193
- ],
194
- imports: [
195
- CommonModule,
196
- SkyMediaResourcesModule
197
- ],
198
- exports: [
199
- SkyImageComponent
200
- ]
199
+ declarations: [SkyImageComponent],
200
+ imports: [CommonModule, SkyMediaResourcesModule],
201
+ exports: [SkyImageComponent],
201
202
  }]
202
203
  }] });
203
204
 
205
+ var _SkyVideoComponent_changeDetector, _SkyVideoComponent_sanitizer;
204
206
  class SkyVideoComponent {
205
207
  constructor(changeDetector, sanitizer) {
206
- this.changeDetector = changeDetector;
207
- this.sanitizer = sanitizer;
208
+ _SkyVideoComponent_changeDetector.set(this, void 0);
209
+ _SkyVideoComponent_sanitizer.set(this, void 0);
210
+ __classPrivateFieldSet(this, _SkyVideoComponent_changeDetector, changeDetector, "f");
211
+ __classPrivateFieldSet(this, _SkyVideoComponent_sanitizer, sanitizer, "f");
208
212
  }
209
213
  set videoSource(value) {
210
- this.src = this.sanitizer.bypassSecurityTrustResourceUrl(value);
211
- this.changeDetector.markForCheck();
214
+ this.src = value
215
+ ? __classPrivateFieldGet(this, _SkyVideoComponent_sanitizer, "f").bypassSecurityTrustResourceUrl(value)
216
+ : undefined;
217
+ __classPrivateFieldGet(this, _SkyVideoComponent_changeDetector, "f").markForCheck();
212
218
  }
213
219
  }
220
+ _SkyVideoComponent_changeDetector = new WeakMap(), _SkyVideoComponent_sanitizer = new WeakMap();
214
221
  SkyVideoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyVideoComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
215
- SkyVideoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SkyVideoComponent, selector: "sky-video", inputs: { videoSource: "videoSource" }, ngImport: i0, template: "<div class=\"sky-video\">\n <iframe\n allowfullscreen\n class=\"sky-video-object\"\n frameborder=\"0\"\n [src]=\"src\"\n >\n </iframe>\n</div>\n", styles: [".sky-video{position:relative;display:block;width:100%;overflow:hidden;margin:10px 0}.sky-video:before{content:\"\";display:block;padding-top:56.25%}.sky-video:after{content:\"\";display:block;clear:both}.sky-video .sky-video-object{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
222
+ SkyVideoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SkyVideoComponent, selector: "sky-video", inputs: { videoSource: "videoSource" }, ngImport: i0, template: "<div class=\"sky-video\">\n <iframe\n *ngIf=\"src\"\n allowfullscreen\n class=\"sky-video-object\"\n frameborder=\"0\"\n [src]=\"src\"\n >\n </iframe>\n</div>\n", styles: [".sky-video{position:relative;display:block;width:100%;overflow:hidden;margin:10px 0}.sky-video:before{content:\"\";display:block;padding-top:56.25%}.sky-video:after{content:\"\";display:block;clear:both}.sky-video .sky-video-object{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
216
223
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyVideoComponent, decorators: [{
217
224
  type: Component,
218
- args: [{ selector: 'sky-video', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"sky-video\">\n <iframe\n allowfullscreen\n class=\"sky-video-object\"\n frameborder=\"0\"\n [src]=\"src\"\n >\n </iframe>\n</div>\n", styles: [".sky-video{position:relative;display:block;width:100%;overflow:hidden;margin:10px 0}.sky-video:before{content:\"\";display:block;padding-top:56.25%}.sky-video:after{content:\"\";display:block;clear:both}.sky-video .sky-video-object{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}\n"] }]
225
+ args: [{ selector: 'sky-video', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"sky-video\">\n <iframe\n *ngIf=\"src\"\n allowfullscreen\n class=\"sky-video-object\"\n frameborder=\"0\"\n [src]=\"src\"\n >\n </iframe>\n</div>\n", styles: [".sky-video{position:relative;display:block;width:100%;overflow:hidden;margin:10px 0}.sky-video:before{content:\"\";display:block;padding-top:56.25%}.sky-video:after{content:\"\";display:block;clear:both}.sky-video .sky-video-object{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}\n"] }]
219
226
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$1.DomSanitizer }]; }, propDecorators: { videoSource: [{
220
227
  type: Input
221
228
  }] } });
@@ -228,15 +235,9 @@ SkyVideoModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
228
235
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SkyVideoModule, decorators: [{
229
236
  type: NgModule,
230
237
  args: [{
231
- declarations: [
232
- SkyVideoComponent
233
- ],
234
- imports: [
235
- CommonModule
236
- ],
237
- exports: [
238
- SkyVideoComponent
239
- ]
238
+ declarations: [SkyVideoComponent],
239
+ imports: [CommonModule],
240
+ exports: [SkyVideoComponent],
240
241
  }]
241
242
  }] });
242
243
 
@@ -1 +1 @@
1
- {"version":3,"file":"blackbaud-skyux-lib-media.mjs","sources":["../../../projects/media/src/modules/hero/hero.component.ts","../../../projects/media/src/modules/hero/hero.component.html","../../../projects/media/src/modules/hero/hero-heading.component.ts","../../../projects/media/src/modules/hero/hero-heading.component.html","../../../projects/media/src/modules/hero/hero-subheading.component.ts","../../../projects/media/src/modules/hero/hero-subheading.component.html","../../../projects/media/src/modules/hero/hero.module.ts","../../../projects/media/src/modules/shared/sky-media-resources.module.ts","../../../projects/media/src/modules/image/image.component.ts","../../../projects/media/src/modules/image/image.component.html","../../../projects/media/src/modules/image/image.module.ts","../../../projects/media/src/modules/video/video.component.ts","../../../projects/media/src/modules/video/video.component.html","../../../projects/media/src/modules/video/video.module.ts","../../../projects/media/src/blackbaud-skyux-lib-media.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Input,\n ChangeDetectorRef\n} from '@angular/core';\n\n@Component({\n selector: 'sky-hero',\n templateUrl: './hero.component.html',\n styleUrls: ['./hero.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SkyHeroComponent {\n\n @Input()\n public backgroundImageUrl: string;\n\n @Input()\n public set overlayOpacity(value: string) {\n const sanitized = value.replace(/[^\\d.-]/g, '');\n const newValue = this.parseInterval(sanitized).toString();\n this._overlayOpacity = newValue;\n this.changeDetector.markForCheck();\n }\n\n public get overlayOpacity(): string {\n return this._overlayOpacity || this.defaultOpacity;\n }\n\n private readonly defaultOpacity = '0.4';\n\n private _overlayOpacity: string;\n\n constructor(\n private changeDetector: ChangeDetectorRef\n ) { }\n\n private parseInterval(value: string): number {\n let interval = parseFloat(value);\n\n if (isNaN(interval)) {\n return 0.4;\n }\n\n if (interval > 100) {\n return 1;\n }\n\n if (interval < 0) {\n return 0;\n }\n\n if (interval % 1 > 0) {\n return interval;\n }\n\n return interval / 100;\n }\n}\n","<div\n class=\"sky-hero\"\n [ngStyle]=\"{\n 'background-image': 'url(' + backgroundImageUrl + ')'\n }\"\n>\n <div\n class=\"sky-hero-body sky-max-width-container\"\n >\n <ng-content></ng-content>\n </div>\n <div\n class=\"sky-hero-overlay\"\n [ngStyle]=\"{\n 'opacity': overlayOpacity\n }\"\n >\n </div>\n</div>\n","import {\n ChangeDetectionStrategy,\n Component,\n Input\n} from '@angular/core';\n\n@Component({\n selector: 'sky-hero-heading',\n templateUrl: './hero-heading.component.html',\n styleUrls: ['./hero-heading.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SkyHeroHeadingComponent {\n\n @Input()\n public heroTextColor = '#fff';\n\n}\n","<h1\n class=\"sky-hero-heading sky-page-heading\"\n [ngStyle]=\"{color: heroTextColor}\"\n>\n <ng-content></ng-content>\n</h1>\n","import {\n ChangeDetectionStrategy,\n Component,\n Input\n} from '@angular/core';\n\n@Component({\n selector: 'sky-hero-subheading',\n templateUrl: './hero-subheading.component.html',\n styleUrls: ['./hero-subheading.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SkyHeroSubheadingComponent {\n\n @Input()\n public heroTextColor = '#fff';\n\n}\n","<h2\n class=\"sky-hero-subheading sky-subsection-heading\"\n [ngStyle]=\"{color: heroTextColor}\"\n>\n <ng-content></ng-content>\n</h2>\n","import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n SkyHeroComponent\n} from './hero.component';\n\nimport {\n SkyHeroHeadingComponent\n} from './hero-heading.component';\n\nimport {\n SkyHeroSubheadingComponent\n} from './hero-subheading.component';\n\n@NgModule({\n declarations: [\n SkyHeroComponent,\n SkyHeroHeadingComponent,\n SkyHeroSubheadingComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n SkyHeroComponent,\n SkyHeroHeadingComponent,\n SkyHeroSubheadingComponent\n ]\n})\nexport class SkyHeroModule { }\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-media' 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_image_do_text\":{\"message\":\"Do\"},\"skyux_image_dont_text\":{\"message\":\"Don't\"}},\n};\n\nexport class SkyMediaResourcesProvider 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: SkyMediaResourcesProvider,\n multi: true\n }]\n})\nexport class SkyMediaResourcesModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n Input\n} from '@angular/core';\n\n@Component({\n selector: 'sky-image',\n templateUrl: './image.component.html',\n styleUrls: ['./image.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SkyImageComponent {\n\n @Input()\n public caption: string;\n\n @Input()\n public captionType = 'default';\n\n @Input()\n public imageAlt = 'image';\n\n @Input()\n public imageSource: string;\n\n @Input()\n public showBorder = false;\n\n @Input()\n public set showCaptionPrefix(value: boolean) {\n this._showCaptionPrefix = value;\n }\n\n public get showCaptionPrefix(): boolean {\n if (this._showCaptionPrefix === undefined) {\n return true;\n }\n\n return this._showCaptionPrefix;\n }\n\n private _showCaptionPrefix: boolean = true;\n\n}\n","<figure\n class=\"sky-image-wrapper\"\n>\n <img\n class=\"sky-image\"\n [alt]=\"imageAlt\"\n [ngClass]=\"{\n 'sky-image-border': showBorder\n }\"\n [src]=\"imageSource\"\n />\n <figcaption *ngIf=\"caption\"\n class=\"sky-image-caption\"\n [ngClass]=\"{\n 'sky-image-caption-default': captionType === 'default',\n 'sky-image-caption-info sky-text-info': captionType === 'info',\n 'sky-image-caption-success sky-text-success': captionType === 'success',\n 'sky-image-caption-warning sky-text-warning': captionType === 'warning',\n 'sky-image-caption-danger sky-text-danger': captionType === 'danger'\n }\"\n >\n <ng-container [ngSwitch]=\"captionType\">\n <ng-container *ngSwitchCase=\"'success'\">\n <ng-container *ngIf=\"showCaptionPrefix\">\n <strong>{{ 'skyux_image_do_text' | skyLibResources }}</strong>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'danger'\">\n <ng-container *ngIf=\"showCaptionPrefix\">\n <strong>{{ 'skyux_image_dont_text' | skyLibResources }}</strong>\n </ng-container>\n </ng-container>\n </ng-container>\n {{ caption }}\n </figcaption>\n</figure>\n","import {\n CommonModule\n} from '@angular/common';\n\nimport {\n NgModule\n} from '@angular/core';\n\nimport {\n SkyMediaResourcesModule\n} from '../shared/sky-media-resources.module';\n\nimport {\n SkyImageComponent\n} from './image.component';\n\n@NgModule({\n declarations: [\n SkyImageComponent\n ],\n imports: [\n CommonModule,\n SkyMediaResourcesModule\n ],\n exports: [\n SkyImageComponent\n ]\n})\nexport class SkyImageModule { }\n","import {\n ChangeDetectionStrategy,\n Component,\n Input,\n ChangeDetectorRef\n} from '@angular/core';\n\nimport {\n DomSanitizer,\n SafeResourceUrl\n} from '@angular/platform-browser';\n\n@Component({\n selector: 'sky-video',\n templateUrl: './video.component.html',\n styleUrls: ['./video.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class SkyVideoComponent {\n\n @Input()\n public set videoSource(value: string) {\n this.src = this.sanitizer.bypassSecurityTrustResourceUrl(value);\n this.changeDetector.markForCheck();\n }\n\n public src: SafeResourceUrl;\n\n constructor(\n private changeDetector: ChangeDetectorRef,\n private sanitizer: DomSanitizer\n ) { }\n}\n","<div class=\"sky-video\">\n <iframe\n allowfullscreen\n class=\"sky-video-object\"\n frameborder=\"0\"\n [src]=\"src\"\n >\n </iframe>\n</div>\n","import {\n CommonModule\n} from '@angular/common';\n\nimport {\n NgModule\n} from '@angular/core';\n\nimport {\n SkyVideoComponent\n} from './video.component';\n\n@NgModule({\n declarations: [\n SkyVideoComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n SkyVideoComponent\n ]\n})\nexport class SkyVideoModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;MAaa,gBAAgB,CAAA;AAqB3B,IAAA,WAAA,CACU,cAAiC,EAAA;AAAjC,QAAA,IAAc,CAAA,cAAA,GAAd,cAAc,CAAmB;AAL1B,QAAA,IAAc,CAAA,c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A,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YANvB,YAAY,CAAA,EAAA,CAAA,CAAA;4FAMH,cAAc,EAAA,UAAA,EAAA,CAAA;kBAX1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,iBAAiB;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,iBAAiB;AAClB,qBAAA;iBACF,CAAA;;;ACtBD;;AAEG;;;;"}
1
+ {"version":3,"file":"blackbaud-skyux-lib-media.mjs","sources":["../../../../libs/media/src/lib/modules/hero/hero-heading.component.ts","../../../../libs/media/src/lib/modules/hero/hero-heading.component.html","../../../../libs/media/src/lib/modules/hero/hero-subheading.component.ts","../../../../libs/media/src/lib/modules/hero/hero-subheading.component.html","../../../../libs/media/src/lib/modules/hero/hero.component.ts","../../../../libs/media/src/lib/modules/hero/hero.component.html","../../../../libs/media/src/lib/modules/hero/hero.module.ts","../../../../libs/media/src/lib/modules/shared/sky-media-resources.module.ts","../../../../libs/media/src/lib/modules/image/image.component.ts","../../../../libs/media/src/lib/modules/image/image.component.html","../../../../libs/media/src/lib/modules/image/image.module.ts","../../../../libs/media/src/lib/modules/video/video.component.ts","../../../../libs/media/src/lib/modules/video/video.component.html","../../../../libs/media/src/lib/modules/video/video.module.ts","../../../../libs/media/src/blackbaud-skyux-lib-media.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'sky-hero-heading',\n templateUrl: './hero-heading.component.html',\n styleUrls: ['./hero-heading.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyHeroHeadingComponent {\n @Input()\n public heroTextColor: string | undefined = '#fff';\n}\n","<h1\n class=\"sky-hero-heading sky-page-heading\"\n [ngStyle]=\"{ color: heroTextColor }\"\n>\n <ng-content></ng-content>\n</h1>\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'sky-hero-subheading',\n templateUrl: './hero-subheading.component.html',\n styleUrls: ['./hero-subheading.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyHeroSubheadingComponent {\n @Input()\n public heroTextColor: string | undefined = '#fff';\n}\n","<h2\n class=\"sky-hero-subheading sky-subsection-heading\"\n [ngStyle]=\"{ color: heroTextColor }\"\n>\n <ng-content></ng-content>\n</h2>\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Input,\n} from '@angular/core';\n\nconst DEFAULT_OPACITY = '0.4';\n\n@Component({\n selector: 'sky-hero',\n templateUrl: './hero.component.html',\n styleUrls: ['./hero.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyHeroComponent {\n @Input()\n public backgroundImageUrl: string | undefined;\n\n @Input()\n public set overlayOpacity(value: string | undefined) {\n const overlayOpacity = value || DEFAULT_OPACITY;\n const sanitized = overlayOpacity.replace(/[^\\d.-]/g, '');\n const newValue = this.#parseInterval(sanitized).toString();\n this.#_overlayOpacity = newValue;\n this.#changeDetector.markForCheck();\n }\n\n public get overlayOpacity(): string {\n return this.#_overlayOpacity;\n }\n\n #changeDetector: ChangeDetectorRef;\n\n #_overlayOpacity = DEFAULT_OPACITY;\n\n constructor(changeDetector: ChangeDetectorRef) {\n this.#changeDetector = changeDetector;\n }\n\n #parseInterval(value: string): number {\n const interval = parseFloat(value);\n\n if (isNaN(interval)) {\n return 0.4;\n }\n\n if (interval > 100) {\n return 1;\n }\n\n if (interval < 0) {\n return 0;\n }\n\n if (interval % 1 > 0) {\n return interval;\n }\n\n return interval / 100;\n }\n}\n","<div\n class=\"sky-hero\"\n [ngStyle]=\"{\n 'background-image': 'url(' + backgroundImageUrl + ')'\n }\"\n>\n <div class=\"sky-hero-body sky-max-width-container\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"sky-hero-overlay\"\n [ngStyle]=\"{\n opacity: overlayOpacity\n }\"\n ></div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { SkyHeroHeadingComponent } from './hero-heading.component';\nimport { SkyHeroSubheadingComponent } from './hero-subheading.component';\nimport { SkyHeroComponent } from './hero.component';\n\n@NgModule({\n declarations: [\n SkyHeroComponent,\n SkyHeroHeadingComponent,\n SkyHeroSubheadingComponent,\n ],\n imports: [CommonModule],\n exports: [\n SkyHeroComponent,\n SkyHeroHeadingComponent,\n SkyHeroSubheadingComponent,\n ],\n})\nexport class SkyHeroModule {}\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 lib/modules/shared/sky-media' schematic.\n * To update this file, simply rerun the command.\n */\nimport { NgModule } from '@angular/core';\nimport {\n SKY_LIB_RESOURCES_PROVIDERS,\n SkyAppLocaleInfo,\n SkyI18nModule,\n SkyLibResources,\n SkyLibResourcesProvider,\n getLibStringForLocale,\n} from '@skyux/i18n';\n\nconst RESOURCES: { [locale: string]: SkyLibResources } = {\n 'EN-US': {\n skyux_image_do_text: { message: 'Do' },\n skyux_image_dont_text: { message: \"Don't\" },\n },\n};\n\nexport class SkyMediaResourcesProvider implements SkyLibResourcesProvider {\n public getString(\n localeInfo: SkyAppLocaleInfo,\n name: string\n ): string | undefined {\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 {\n provide: SKY_LIB_RESOURCES_PROVIDERS,\n useClass: SkyMediaResourcesProvider,\n multi: true,\n },\n ],\n})\nexport class SkyMediaResourcesModule {}\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n@Component({\n selector: 'sky-image',\n templateUrl: './image.component.html',\n styleUrls: ['./image.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyImageComponent {\n @Input()\n public caption: string | undefined;\n\n @Input()\n public captionType: string | undefined = 'default';\n\n @Input()\n public imageAlt: string | undefined = 'image';\n\n @Input()\n public imageSource: string | undefined;\n\n @Input()\n public showBorder: boolean | undefined = false;\n\n @Input()\n public set showCaptionPrefix(value: boolean | undefined) {\n this.#_showCaptionPrefix = value !== false;\n }\n\n public get showCaptionPrefix(): boolean {\n return this.#_showCaptionPrefix;\n }\n\n #_showCaptionPrefix = true;\n}\n","<figure class=\"sky-image-wrapper\">\n <img\n class=\"sky-image\"\n [alt]=\"imageAlt\"\n [ngClass]=\"{\n 'sky-image-border': showBorder\n }\"\n [src]=\"imageSource\"\n />\n <figcaption\n *ngIf=\"caption\"\n class=\"sky-image-caption\"\n [ngClass]=\"{\n 'sky-image-caption-default': captionType === 'default',\n 'sky-image-caption-info sky-text-info': captionType === 'info',\n 'sky-image-caption-success sky-text-success': captionType === 'success',\n 'sky-image-caption-warning sky-text-warning': captionType === 'warning',\n 'sky-image-caption-danger sky-text-danger': captionType === 'danger'\n }\"\n >\n <ng-container [ngSwitch]=\"captionType\">\n <ng-container *ngSwitchCase=\"'success'\">\n <ng-container *ngIf=\"showCaptionPrefix\">\n <strong>{{ 'skyux_image_do_text' | skyLibResources }}</strong>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'danger'\">\n <ng-container *ngIf=\"showCaptionPrefix\">\n <strong>{{ 'skyux_image_dont_text' | skyLibResources }}</strong>\n </ng-container>\n </ng-container>\n </ng-container>\n {{ caption }}\n </figcaption>\n</figure>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { SkyMediaResourcesModule } from '../shared/sky-media-resources.module';\n\nimport { SkyImageComponent } from './image.component';\n\n@NgModule({\n declarations: [SkyImageComponent],\n imports: [CommonModule, SkyMediaResourcesModule],\n exports: [SkyImageComponent],\n})\nexport class SkyImageModule {}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Input,\n} from '@angular/core';\nimport { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';\n\n@Component({\n selector: 'sky-video',\n templateUrl: './video.component.html',\n styleUrls: ['./video.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyVideoComponent {\n @Input()\n public set videoSource(value: string | undefined) {\n this.src = value\n ? this.#sanitizer.bypassSecurityTrustResourceUrl(value)\n : undefined;\n this.#changeDetector.markForCheck();\n }\n\n public src: SafeResourceUrl | undefined;\n\n #changeDetector: ChangeDetectorRef;\n\n #sanitizer: DomSanitizer;\n\n constructor(changeDetector: ChangeDetectorRef, sanitizer: DomSanitizer) {\n this.#changeDetector = changeDetector;\n this.#sanitizer = sanitizer;\n }\n}\n","<div class=\"sky-video\">\n <iframe\n *ngIf=\"src\"\n allowfullscreen\n class=\"sky-video-object\"\n frameborder=\"0\"\n [src]=\"src\"\n >\n </iframe>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { SkyVideoComponent } from './video.component';\n\n@NgModule({\n declarations: [SkyVideoComponent],\n imports: [CommonModule],\n exports: [SkyVideoComponent],\n})\nexport class SkyVideoModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2"],"mappings":";;;;;;;;;MAQa,uBAAuB,CAAA;AANpC,IAAA,WAAA,GAAA;AAQS,QAAA,IAAa,CAAA,aAAA,GAAuB,MAAM,CAAC;KACnD;;qHAHY,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAvB,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,uBAAuB,oGCRpC,uIAMA,EAAA,MAAA,EAAA,CAAA,+CAAA,CAAA,EAAA,YAAA,EAAA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