@blackbaud/skyux-lib-media 2.0.0-rc.0 → 6.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blackbaud-skyux-lib-media.d.ts +2 -8
- package/esm2020/blackbaud-skyux-lib-media.mjs +5 -0
- package/esm2020/modules/hero/hero-heading.component.mjs +17 -0
- package/esm2020/modules/hero/hero-subheading.component.mjs +17 -0
- package/esm2020/modules/hero/hero.component.mjs +45 -0
- package/esm2020/modules/hero/hero.module.mjs +36 -0
- package/esm2020/modules/image/image.component.mjs +40 -0
- package/esm2020/modules/image/image.module.mjs +30 -0
- package/esm2020/modules/shared/sky-media-resources.module.mjs +41 -0
- package/esm2020/modules/video/video.component.mjs +22 -0
- package/esm2020/modules/video/video.module.mjs +26 -0
- package/esm2020/public-api.mjs +11 -0
- package/fesm2015/blackbaud-skyux-lib-media.mjs +254 -0
- package/fesm2015/blackbaud-skyux-lib-media.mjs.map +1 -0
- package/fesm2020/blackbaud-skyux-lib-media.mjs +254 -0
- package/fesm2020/blackbaud-skyux-lib-media.mjs.map +1 -0
- package/modules/hero/hero-heading.component.d.ts +3 -0
- package/modules/hero/hero-subheading.component.d.ts +3 -0
- package/modules/hero/hero.component.d.ts +5 -1
- package/modules/hero/hero.module.d.ts +8 -0
- package/modules/image/image.component.d.ts +5 -1
- package/modules/image/image.module.d.ts +7 -0
- package/modules/shared/sky-media-resources.module.d.ts +14 -0
- package/modules/video/video.component.d.ts +4 -1
- package/modules/video/video.module.d.ts +6 -0
- package/package.json +26 -23
- package/public-api.d.ts +8 -0
- package/CHANGELOG.md +0 -32
- package/blackbaud-skyux-lib-media.metadata.json +0 -1
- package/bundles/blackbaud-skyux-lib-media.umd.js +0 -481
- package/bundles/blackbaud-skyux-lib-media.umd.js.map +0 -1
- package/bundles/blackbaud-skyux-lib-media.umd.min.js +0 -16
- package/bundles/blackbaud-skyux-lib-media.umd.min.js.map +0 -1
- package/esm2015/blackbaud-skyux-lib-media.js +0 -12
- package/esm2015/index.js +0 -4
- package/esm2015/modules/hero/hero-heading.component.js +0 -20
- package/esm2015/modules/hero/hero-subheading.component.js +0 -20
- package/esm2015/modules/hero/hero.component.js +0 -52
- package/esm2015/modules/hero/hero.module.js +0 -27
- package/esm2015/modules/image/image.component.js +0 -47
- package/esm2015/modules/image/image.module.js +0 -23
- package/esm2015/modules/shared/media-resources.module.js +0 -20
- package/esm2015/modules/video/video.component.js +0 -30
- package/esm2015/modules/video/video.module.js +0 -21
- package/esm2015/plugin-resources/media-resources-provider.js +0 -16
- package/esm5/blackbaud-skyux-lib-media.js +0 -12
- package/esm5/index.js +0 -4
- package/esm5/modules/hero/hero-heading.component.js +0 -21
- package/esm5/modules/hero/hero-subheading.component.js +0 -21
- package/esm5/modules/hero/hero.component.js +0 -57
- package/esm5/modules/hero/hero.module.js +0 -30
- package/esm5/modules/image/image.component.js +0 -52
- package/esm5/modules/image/image.module.js +0 -26
- package/esm5/modules/shared/media-resources.module.js +0 -23
- package/esm5/modules/video/video.component.js +0 -35
- package/esm5/modules/video/video.module.js +0 -24
- package/esm5/plugin-resources/media-resources-provider.js +0 -17
- package/fesm2015/blackbaud-skyux-lib-media.js +0 -245
- package/fesm2015/blackbaud-skyux-lib-media.js.map +0 -1
- package/fesm5/blackbaud-skyux-lib-media.js +0 -275
- package/fesm5/blackbaud-skyux-lib-media.js.map +0 -1
- package/index.d.ts +0 -3
- package/modules/shared/media-resources.module.d.ts +0 -2
- package/plugin-resources/media-resources-provider.d.ts +0 -5
- package/src/assets/demo-image.jpg +0 -0
- package/src/assets/hero-sample.jpg +0 -0
- package/src/assets/locales/resources_en_US.json +0 -10
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class SkyHeroHeadingComponent {
|
|
2
3
|
heroTextColor: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyHeroHeadingComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyHeroHeadingComponent, "sky-hero-heading", never, { "heroTextColor": "heroTextColor"; }, {}, never, ["*"]>;
|
|
3
6
|
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class SkyHeroSubheadingComponent {
|
|
2
3
|
heroTextColor: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyHeroSubheadingComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyHeroSubheadingComponent, "sky-hero-subheading", never, { "heroTextColor": "heroTextColor"; }, {}, never, ["*"]>;
|
|
3
6
|
}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class SkyHeroComponent {
|
|
3
4
|
private changeDetector;
|
|
4
5
|
backgroundImageUrl: string;
|
|
5
|
-
overlayOpacity: string;
|
|
6
|
+
set overlayOpacity(value: string);
|
|
7
|
+
get overlayOpacity(): string;
|
|
6
8
|
private readonly defaultOpacity;
|
|
7
9
|
private _overlayOpacity;
|
|
8
10
|
constructor(changeDetector: ChangeDetectorRef);
|
|
9
11
|
private parseInterval;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyHeroComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyHeroComponent, "sky-hero", never, { "backgroundImageUrl": "backgroundImageUrl"; "overlayOpacity": "overlayOpacity"; }, {}, never, ["*"]>;
|
|
10
14
|
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./hero.component";
|
|
3
|
+
import * as i2 from "./hero-heading.component";
|
|
4
|
+
import * as i3 from "./hero-subheading.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
1
6
|
export declare class SkyHeroModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyHeroModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyHeroModule, [typeof i1.SkyHeroComponent, typeof i2.SkyHeroHeadingComponent, typeof i3.SkyHeroSubheadingComponent], [typeof i4.CommonModule], [typeof i1.SkyHeroComponent, typeof i2.SkyHeroHeadingComponent, typeof i3.SkyHeroSubheadingComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SkyHeroModule>;
|
|
2
10
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class SkyImageComponent {
|
|
2
3
|
caption: string;
|
|
3
4
|
captionType: string;
|
|
4
5
|
imageAlt: string;
|
|
5
6
|
imageSource: string;
|
|
6
7
|
showBorder: boolean;
|
|
7
|
-
showCaptionPrefix: boolean;
|
|
8
|
+
set showCaptionPrefix(value: boolean);
|
|
9
|
+
get showCaptionPrefix(): boolean;
|
|
8
10
|
private _showCaptionPrefix;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyImageComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyImageComponent, "sky-image", never, { "caption": "caption"; "captionType": "captionType"; "imageAlt": "imageAlt"; "imageSource": "imageSource"; "showBorder": "showBorder"; "showCaptionPrefix": "showCaptionPrefix"; }, {}, never, never>;
|
|
9
13
|
}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./image.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../shared/sky-media-resources.module";
|
|
1
5
|
export declare class SkyImageModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyImageModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyImageModule, [typeof i1.SkyImageComponent], [typeof i2.CommonModule, typeof i3.SkyMediaResourcesModule], [typeof i1.SkyImageComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SkyImageModule>;
|
|
2
9
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SkyAppLocaleInfo, SkyLibResourcesProvider } from '@skyux/i18n';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@skyux/i18n";
|
|
4
|
+
export declare class SkyMediaResourcesProvider implements SkyLibResourcesProvider {
|
|
5
|
+
getString(localeInfo: SkyAppLocaleInfo, name: string): string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Import into any component library module that needs to use resource strings.
|
|
9
|
+
*/
|
|
10
|
+
export declare class SkyMediaResourcesModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyMediaResourcesModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyMediaResourcesModule, never, never, [typeof i1.SkyI18nModule]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SkyMediaResourcesModule>;
|
|
14
|
+
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class SkyVideoComponent {
|
|
4
5
|
private changeDetector;
|
|
5
6
|
private sanitizer;
|
|
6
|
-
videoSource: string;
|
|
7
|
+
set videoSource(value: string);
|
|
7
8
|
src: SafeResourceUrl;
|
|
8
9
|
constructor(changeDetector: ChangeDetectorRef, sanitizer: DomSanitizer);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyVideoComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyVideoComponent, "sky-video", never, { "videoSource": "videoSource"; }, {}, never, never>;
|
|
9
12
|
}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./video.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
1
4
|
export declare class SkyVideoModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyVideoModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyVideoModule, [typeof i1.SkyVideoComponent], [typeof i2.CommonModule], [typeof i1.SkyVideoComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SkyVideoModule>;
|
|
2
8
|
}
|
package/package.json
CHANGED
|
@@ -1,30 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blackbaud/skyux-lib-media",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "SKY UX Media",
|
|
5
|
-
"main": "bundles/blackbaud-skyux-lib-media.umd.js",
|
|
6
|
-
"module": "fesm5/blackbaud-skyux-lib-media.js",
|
|
7
|
-
"keywords": [],
|
|
8
|
-
"author": "Blackbaud",
|
|
9
|
-
"license": "ISC",
|
|
3
|
+
"version": "6.0.0-beta.0",
|
|
10
4
|
"peerDependencies": {
|
|
11
|
-
"@angular/common": "^
|
|
12
|
-
"@angular/core": "^
|
|
13
|
-
"@skyux/core": "^
|
|
14
|
-
"@skyux/i18n": "^
|
|
15
|
-
"tslib": "^1.10.0"
|
|
5
|
+
"@angular/common": "^13.3.11",
|
|
6
|
+
"@angular/core": "^13.3.11",
|
|
7
|
+
"@skyux/core": "^6.3.0",
|
|
8
|
+
"@skyux/i18n": "^6.3.0"
|
|
16
9
|
},
|
|
17
|
-
"dependencies": {
|
|
18
|
-
|
|
19
|
-
"type": "git",
|
|
20
|
-
"url": "https://github.com/blackbaud/skyux-lib-media.git"
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"tslib": "^2.4.0"
|
|
21
12
|
},
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"fesm2015": "fesm2015/blackbaud-skyux-lib-media.
|
|
13
|
+
"module": "fesm2015/blackbaud-skyux-lib-media.mjs",
|
|
14
|
+
"es2020": "fesm2020/blackbaud-skyux-lib-media.mjs",
|
|
15
|
+
"esm2020": "esm2020/blackbaud-skyux-lib-media.mjs",
|
|
16
|
+
"fesm2020": "fesm2020/blackbaud-skyux-lib-media.mjs",
|
|
17
|
+
"fesm2015": "fesm2015/blackbaud-skyux-lib-media.mjs",
|
|
27
18
|
"typings": "blackbaud-skyux-lib-media.d.ts",
|
|
28
|
-
"
|
|
19
|
+
"exports": {
|
|
20
|
+
"./package.json": {
|
|
21
|
+
"default": "./package.json"
|
|
22
|
+
},
|
|
23
|
+
".": {
|
|
24
|
+
"types": "./blackbaud-skyux-lib-media.d.ts",
|
|
25
|
+
"esm2020": "./esm2020/blackbaud-skyux-lib-media.mjs",
|
|
26
|
+
"es2020": "./fesm2020/blackbaud-skyux-lib-media.mjs",
|
|
27
|
+
"es2015": "./fesm2015/blackbaud-skyux-lib-media.mjs",
|
|
28
|
+
"node": "./fesm2015/blackbaud-skyux-lib-media.mjs",
|
|
29
|
+
"default": "./fesm2020/blackbaud-skyux-lib-media.mjs"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
29
32
|
"sideEffects": false
|
|
30
|
-
}
|
|
33
|
+
}
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './modules/hero/hero.module';
|
|
2
|
+
export * from './modules/image/image.module';
|
|
3
|
+
export * from './modules/video/video.module';
|
|
4
|
+
export { SkyHeroHeadingComponent as λ1 } from './modules/hero/hero-heading.component';
|
|
5
|
+
export { SkyHeroSubheadingComponent as λ2 } from './modules/hero/hero-subheading.component';
|
|
6
|
+
export { SkyHeroComponent as λ3 } from './modules/hero/hero.component';
|
|
7
|
+
export { SkyImageComponent as λ4 } from './modules/image/image.component';
|
|
8
|
+
export { SkyVideoComponent as λ5 } from './modules/video/video.component';
|
package/CHANGELOG.md
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# 2.0.0-rc.0 (2020-02-22)
|
|
2
|
-
|
|
3
|
-
### New features
|
|
4
|
-
|
|
5
|
-
- Added support for `@angular/core@^9`. [#16](https://github.com/blackbaud/skyux-lib-media/pull/16)
|
|
6
|
-
- Updated the pipeline to transpile to the [Angular Package Format](https://docs.google.com/document/d/1CZC2rcpxffTDfRDs6p1cfbmKNLA6x5O-NtkJglDaBVs/preview). [#16](https://github.com/blackbaud/skyux-lib-media/pull/16)
|
|
7
|
-
|
|
8
|
-
# 1.2.0 (2020-01-16)
|
|
9
|
-
|
|
10
|
-
- Updated the image component's HTML to improve accessibility. [#13](https://github.com/blackbaud/skyux-lib-media/pull/13)
|
|
11
|
-
- Fixed the image component's caption text to wrap to multiple lines if the text extends beyond the width of the image. [#13](https://github.com/blackbaud/skyux-lib-media/pull/13)
|
|
12
|
-
|
|
13
|
-
# 1.1.0 (2020-01-10)
|
|
14
|
-
|
|
15
|
-
- Added the ability to hide the "Do" and "Don't" prefixes to the image component captions. [#11](https://github.com/blackbaud/skyux-lib-media/pull/11)
|
|
16
|
-
|
|
17
|
-
# 1.0.1 (2019-06-25)
|
|
18
|
-
|
|
19
|
-
- Updated development dependencies to support `@skyux-sdk/builder@3.7.0`, which addresses problems with the UMD library bundle. [#7](https://github.com/blackbaud/skyux-lib-media/pull/7)
|
|
20
|
-
|
|
21
|
-
# 1.0.0 (2019-05-10)
|
|
22
|
-
|
|
23
|
-
- Initial major release.
|
|
24
|
-
|
|
25
|
-
# 1.0.0-beta.1 (2019-05-08)
|
|
26
|
-
|
|
27
|
-
- Added the hero image component. [#3](https://github.com/blackbaud/skyux-lib-media/pull/3)
|
|
28
|
-
- Added the video component. [#2](https://github.com/blackbaud/skyux-lib-media/pull/2)
|
|
29
|
-
|
|
30
|
-
# 1.0.0-beta.0 (2019-04-11)
|
|
31
|
-
|
|
32
|
-
- Initial beta release.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"SkyHeroModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":20,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵc"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":27,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵc"}]}]}],"members":{}},"SkyImageModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":16,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵd"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":21,"character":4},{"__symbolic":"reference","name":"ɵe"}],"exports":[{"__symbolic":"reference","name":"ɵd"}]}]}],"members":{}},"SkyVideoModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵg"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":17,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵg"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"sky-hero","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":11,"character":19},"member":"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 rgba(0,0,0,.45) 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;top:0;right:0;bottom:0;left:0;height:100%;width:100%}"]}]}],"members":{"backgroundImageUrl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"overlayOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":35,"character":28}]}],"parseInterval":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"sky-hero-heading","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":10,"character":19},"member":"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}"]}]}],"members":{"heroTextColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"sky-hero-subheading","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":10,"character":19},"member":"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}"]}]}],"members":{"heroTextColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}]}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"sky-image","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":10,"character":19},"member":"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}"]}]}],"members":{"caption":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"captionType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"imageAlt":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"imageSource":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"showBorder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"showCaptionPrefix":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}]}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":13,"character":1},"arguments":[{"providers":[{"provide":{"__symbolic":"reference","module":"@skyux/i18n","name":"SKY_LIB_RESOURCES_PROVIDERS","line":15,"character":13},"useClass":{"__symbolic":"reference","name":"ɵf"},"multi":true}],"exports":[{"__symbolic":"reference","module":"@skyux/i18n","name":"SkyI18nModule","line":20,"character":4}]}]}],"members":{}},"ɵf":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":11,"character":1}}],"members":{"getString":[{"__symbolic":"method"}]}},"ɵg":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":12,"character":1},"arguments":[{"selector":"sky-video","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":16,"character":19},"member":"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}"]}]}],"members":{"videoSource":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":29,"character":28},{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":30,"character":23}]}]}}},"origins":{"SkyHeroModule":"./modules/hero/hero.module","SkyImageModule":"./modules/image/image.module","SkyVideoModule":"./modules/video/video.module","ɵa":"./modules/hero/hero.component","ɵb":"./modules/hero/hero-heading.component","ɵc":"./modules/hero/hero-subheading.component","ɵd":"./modules/image/image.component","ɵe":"./modules/shared/media-resources.module","ɵf":"./plugin-resources/media-resources-provider","ɵg":"./modules/video/video.component"},"importAs":"@blackbaud/skyux-lib-media"}
|