@skyux/tiles 8.7.2 → 9.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.
- package/documentation.json +39 -39
- package/esm2022/lib/modules/shared/sky-tiles-resources.module.mjs +60 -0
- package/{esm2020 → esm2022}/lib/modules/tiles/tile/tile-summary.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/modules/tiles/tile/tile-title.component.mjs +4 -4
- package/esm2022/lib/modules/tiles/tile/tile.component.mjs +164 -0
- package/{esm2020 → esm2022}/lib/modules/tiles/tile/tile.module.mjs +21 -21
- package/{esm2020 → esm2022}/lib/modules/tiles/tile-content/tile-content-section.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/modules/tiles/tile-content/tile-content.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/modules/tiles/tile-content/tile-content.module.mjs +5 -5
- package/esm2022/lib/modules/tiles/tile-dashboard/tile-dashboard.component.mjs +137 -0
- package/{esm2020 → esm2022}/lib/modules/tiles/tile-dashboard/tile-dashboard.module.mjs +9 -9
- package/esm2022/lib/modules/tiles/tile-dashboard/tile-dashboard.service.mjs +560 -0
- package/esm2022/lib/modules/tiles/tile-dashboard-column/tile-dashboard-column.component.mjs +30 -0
- package/{esm2020 → esm2022}/lib/modules/tiles/tile-dashboard-column/tile-dashboard-column.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/modules/tiles/tiles.module.mjs +11 -11
- package/fesm2022/skyux-tiles.mjs +1123 -0
- package/{fesm2020 → fesm2022}/skyux-tiles.mjs.map +1 -1
- package/lib/modules/tiles/tile/tile.component.d.ts +1 -1
- package/lib/modules/tiles/tile-dashboard/tile-dashboard.component.d.ts +1 -1
- package/package.json +13 -19
- package/esm2020/lib/modules/shared/sky-tiles-resources.module.mjs +0 -60
- package/esm2020/lib/modules/tiles/tile/tile.component.mjs +0 -165
- package/esm2020/lib/modules/tiles/tile-dashboard/tile-dashboard.component.mjs +0 -136
- package/esm2020/lib/modules/tiles/tile-dashboard/tile-dashboard.service.mjs +0 -540
- package/esm2020/lib/modules/tiles/tile-dashboard-column/tile-dashboard-column.component.mjs +0 -33
- package/fesm2015/skyux-tiles.mjs +0 -1115
- package/fesm2015/skyux-tiles.mjs.map +0 -1
- package/fesm2020/skyux-tiles.mjs +0 -1103
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/modules/tiles/tile-dashboard/tile-dashboard-message-type.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/modules/tiles/tile-dashboard/tile-dashboard-message.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/modules/tiles/tile-dashboard-config/tile-dashboard-config-layout-column.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/modules/tiles/tile-dashboard-config/tile-dashboard-config-layout-tile.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/modules/tiles/tile-dashboard-config/tile-dashboard-config-layout.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/modules/tiles/tile-dashboard-config/tile-dashboard-config-reorder-data.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/modules/tiles/tile-dashboard-config/tile-dashboard-config-tile.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/modules/tiles/tile-dashboard-config/tile-dashboard-config.mjs +0 -0
- /package/{esm2020 → esm2022}/skyux-tiles.mjs +0 -0
package/documentation.json
CHANGED
|
@@ -2840,39 +2840,34 @@
|
|
|
2840
2840
|
},
|
|
2841
2841
|
"codeExamples": [
|
|
2842
2842
|
{
|
|
2843
|
-
"fileName": "
|
|
2844
|
-
"filePath": "/projects/tiles/documentation/code-examples/tiles/
|
|
2845
|
-
"rawContents": "
|
|
2843
|
+
"fileName": "tiles-demo.module.ts",
|
|
2844
|
+
"filePath": "/projects/tiles/documentation/code-examples/tiles/inline-help/tiles-demo.module.ts",
|
|
2845
|
+
"rawContents": "import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { SkyHelpInlineModule } from '@skyux/indicators';\nimport { SkyTilesModule } from '@skyux/tiles';\n\nimport { TileDemoTile1Component } from './tile-demo-tile1.component';\nimport { TileDemoTile2Component } from './tile-demo-tile2.component';\nimport { TilesDemoComponent } from './tiles-demo.component';\n\n@NgModule({\n imports: [CommonModule, SkyTilesModule, SkyHelpInlineModule],\n declarations: [\n TilesDemoComponent,\n TileDemoTile1Component,\n TileDemoTile2Component,\n ],\n exports: [TilesDemoComponent],\n})\nexport class TilesDemoModule {}\n"
|
|
2846
2846
|
},
|
|
2847
2847
|
{
|
|
2848
|
-
"fileName": "
|
|
2849
|
-
"filePath": "/projects/tiles/documentation/code-examples/tiles/
|
|
2850
|
-
"rawContents": "import { Component } from '@angular/core';\n\
|
|
2848
|
+
"fileName": "tiles-demo.component.ts",
|
|
2849
|
+
"filePath": "/projects/tiles/documentation/code-examples/tiles/inline-help/tiles-demo.component.ts",
|
|
2850
|
+
"rawContents": "import { Component } from '@angular/core';\nimport { SkyTileDashboardConfig } from '@skyux/tiles';\n\nimport { TileDemoTile1Component } from './tile-demo-tile1.component';\nimport { TileDemoTile2Component } from './tile-demo-tile2.component';\n\n@Component({\n selector: 'app-tiles-demo',\n templateUrl: './tiles-demo.component.html',\n})\nexport class TilesDemoComponent {\n public dashboardConfig: SkyTileDashboardConfig = {\n tiles: [\n {\n id: 'tile1',\n componentType: TileDemoTile1Component,\n },\n {\n id: 'tile2',\n componentType: TileDemoTile2Component,\n },\n ],\n layout: {\n singleColumn: {\n tiles: [\n {\n id: 'tile2',\n isCollapsed: false,\n },\n {\n id: 'tile1',\n isCollapsed: true,\n },\n ],\n },\n multiColumn: [\n {\n tiles: [\n {\n id: 'tile1',\n isCollapsed: true,\n },\n ],\n },\n {\n tiles: [\n {\n id: 'tile2',\n isCollapsed: false,\n },\n ],\n },\n ],\n },\n };\n}\n"
|
|
2851
2851
|
},
|
|
2852
2852
|
{
|
|
2853
|
-
"fileName": "
|
|
2854
|
-
"filePath": "/projects/tiles/documentation/code-examples/tiles/
|
|
2855
|
-
"rawContents": "<sky-tile
|
|
2853
|
+
"fileName": "tiles-demo.component.html",
|
|
2854
|
+
"filePath": "/projects/tiles/documentation/code-examples/tiles/inline-help/tiles-demo.component.html",
|
|
2855
|
+
"rawContents": "<sky-tile-dashboard [(config)]=\"dashboardConfig\"></sky-tile-dashboard>\n"
|
|
2856
2856
|
},
|
|
2857
2857
|
{
|
|
2858
2858
|
"fileName": "tile-demo-tile2.component.ts",
|
|
2859
|
-
"filePath": "/projects/tiles/documentation/code-examples/tiles/
|
|
2860
|
-
"rawContents": "import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'div.tile2',\n templateUrl: './tile-demo-tile2.component.html',\n})\nexport class TileDemoTile2Component {}\n"
|
|
2861
|
-
},
|
|
2862
|
-
{
|
|
2863
|
-
"fileName": "tiles-demo.component.html",
|
|
2864
|
-
"filePath": "/projects/tiles/documentation/code-examples/tiles/basic/tiles-demo.component.html",
|
|
2865
|
-
"rawContents": "<sky-tile-dashboard [(config)]=\"dashboardConfig\"></sky-tile-dashboard>\n"
|
|
2859
|
+
"filePath": "/projects/tiles/documentation/code-examples/tiles/inline-help/tile-demo-tile2.component.ts",
|
|
2860
|
+
"rawContents": "import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'div.tile2',\n templateUrl: './tile-demo-tile2.component.html',\n})\nexport class TileDemoTile2Component {\n public onActionClick(): void {\n alert('Help inline button clicked!');\n }\n\n public onHelpClick($event: MouseEvent): void {\n $event.stopPropagation();\n }\n}\n"
|
|
2866
2861
|
},
|
|
2867
2862
|
{
|
|
2868
|
-
"fileName": "
|
|
2869
|
-
"filePath": "/projects/tiles/documentation/code-examples/tiles/
|
|
2870
|
-
"rawContents": "
|
|
2863
|
+
"fileName": "tile-demo-tile2.component.html",
|
|
2864
|
+
"filePath": "/projects/tiles/documentation/code-examples/tiles/inline-help/tile-demo-tile2.component.html",
|
|
2865
|
+
"rawContents": "<sky-tile>\n <sky-tile-title>\n Tile 2\n <sky-help-inline\n class=\"sky-control-help\"\n (actionClick)=\"onActionClick()\"\n (click)=\"onHelpClick($event)\"\n ></sky-help-inline>\n </sky-tile-title>\n <sky-tile-content>\n <sky-tile-content-section> Section 1 </sky-tile-content-section>\n <sky-tile-content-section> Section 2 </sky-tile-content-section>\n <sky-tile-content-section> Section 3 </sky-tile-content-section>\n </sky-tile-content>\n</sky-tile>\n"
|
|
2871
2866
|
},
|
|
2872
2867
|
{
|
|
2873
|
-
"fileName": "
|
|
2874
|
-
"filePath": "/projects/tiles/documentation/code-examples/tiles/
|
|
2875
|
-
"rawContents": "import {
|
|
2868
|
+
"fileName": "tile-demo-tile1.component.ts",
|
|
2869
|
+
"filePath": "/projects/tiles/documentation/code-examples/tiles/inline-help/tile-demo-tile1.component.ts",
|
|
2870
|
+
"rawContents": "import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'div.tile1',\n templateUrl: './tile-demo-tile1.component.html',\n})\nexport class TileDemoTile1Component {\n public tileSettingsClick(): void {\n alert('tile settings clicked');\n }\n\n public onActionClick(): void {\n alert('Help inline button clicked!');\n }\n\n public onHelpClick($event: MouseEvent): void {\n $event.stopPropagation();\n }\n}\n"
|
|
2876
2871
|
},
|
|
2877
2872
|
{
|
|
2878
2873
|
"fileName": "tile-demo-tile1.component.html",
|
|
@@ -2880,34 +2875,39 @@
|
|
|
2880
2875
|
"rawContents": "<sky-tile (settingsClick)=\"tileSettingsClick()\">\n <sky-tile-title>\n Tile 1\n <sky-help-inline\n class=\"sky-control-help\"\n (actionClick)=\"onActionClick()\"\n (click)=\"onHelpClick($event)\"\n ></sky-help-inline>\n </sky-tile-title>\n <sky-tile-summary> $123.4m </sky-tile-summary>\n <sky-tile-content>\n <sky-tile-content-section> Section 1 </sky-tile-content-section>\n <sky-tile-content-section> Section 2 </sky-tile-content-section>\n <sky-tile-content-section> Section 3 </sky-tile-content-section>\n </sky-tile-content>\n</sky-tile>\n"
|
|
2881
2876
|
},
|
|
2882
2877
|
{
|
|
2883
|
-
"fileName": "
|
|
2884
|
-
"filePath": "/projects/tiles/documentation/code-examples/tiles/
|
|
2885
|
-
"rawContents": "import {
|
|
2878
|
+
"fileName": "tiles-demo.module.ts",
|
|
2879
|
+
"filePath": "/projects/tiles/documentation/code-examples/tiles/basic/tiles-demo.module.ts",
|
|
2880
|
+
"rawContents": "import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { SkyTilesModule } from '@skyux/tiles';\n\nimport { TileDemoTile1Component } from './tile-demo-tile1.component';\nimport { TileDemoTile2Component } from './tile-demo-tile2.component';\nimport { TilesDemoComponent } from './tiles-demo.component';\n\n@NgModule({\n imports: [CommonModule, SkyTilesModule],\n declarations: [\n TilesDemoComponent,\n TileDemoTile1Component,\n TileDemoTile2Component,\n ],\n exports: [TilesDemoComponent],\n})\nexport class TilesDemoModule {}\n"
|
|
2886
2881
|
},
|
|
2887
2882
|
{
|
|
2888
|
-
"fileName": "
|
|
2889
|
-
"filePath": "/projects/tiles/documentation/code-examples/tiles/
|
|
2890
|
-
"rawContents": "
|
|
2883
|
+
"fileName": "tiles-demo.component.ts",
|
|
2884
|
+
"filePath": "/projects/tiles/documentation/code-examples/tiles/basic/tiles-demo.component.ts",
|
|
2885
|
+
"rawContents": "import { Component } from '@angular/core';\nimport { SkyTileDashboardConfig } from '@skyux/tiles';\n\nimport { TileDemoTile1Component } from './tile-demo-tile1.component';\nimport { TileDemoTile2Component } from './tile-demo-tile2.component';\n\n@Component({\n selector: 'app-tiles-demo',\n templateUrl: './tiles-demo.component.html',\n})\nexport class TilesDemoComponent {\n public dashboardConfig: SkyTileDashboardConfig = {\n tiles: [\n {\n id: 'tile1',\n componentType: TileDemoTile1Component,\n },\n {\n id: 'tile2',\n componentType: TileDemoTile2Component,\n },\n ],\n layout: {\n singleColumn: {\n tiles: [\n {\n id: 'tile2',\n isCollapsed: false,\n },\n {\n id: 'tile1',\n isCollapsed: true,\n },\n ],\n },\n multiColumn: [\n {\n tiles: [\n {\n id: 'tile1',\n isCollapsed: true,\n },\n ],\n },\n {\n tiles: [\n {\n id: 'tile2',\n isCollapsed: false,\n },\n ],\n },\n ],\n },\n };\n}\n"
|
|
2886
|
+
},
|
|
2887
|
+
{
|
|
2888
|
+
"fileName": "tiles-demo.component.html",
|
|
2889
|
+
"filePath": "/projects/tiles/documentation/code-examples/tiles/basic/tiles-demo.component.html",
|
|
2890
|
+
"rawContents": "<sky-tile-dashboard [(config)]=\"dashboardConfig\"></sky-tile-dashboard>\n"
|
|
2891
2891
|
},
|
|
2892
2892
|
{
|
|
2893
2893
|
"fileName": "tile-demo-tile2.component.ts",
|
|
2894
|
-
"filePath": "/projects/tiles/documentation/code-examples/tiles/
|
|
2895
|
-
"rawContents": "import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'div.tile2',\n templateUrl: './tile-demo-tile2.component.html',\n})\nexport class TileDemoTile2Component {
|
|
2894
|
+
"filePath": "/projects/tiles/documentation/code-examples/tiles/basic/tile-demo-tile2.component.ts",
|
|
2895
|
+
"rawContents": "import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'div.tile2',\n templateUrl: './tile-demo-tile2.component.html',\n})\nexport class TileDemoTile2Component {}\n"
|
|
2896
2896
|
},
|
|
2897
2897
|
{
|
|
2898
|
-
"fileName": "
|
|
2899
|
-
"filePath": "/projects/tiles/documentation/code-examples/tiles/
|
|
2900
|
-
"rawContents": "<sky-tile-
|
|
2898
|
+
"fileName": "tile-demo-tile2.component.html",
|
|
2899
|
+
"filePath": "/projects/tiles/documentation/code-examples/tiles/basic/tile-demo-tile2.component.html",
|
|
2900
|
+
"rawContents": "<sky-tile>\n <sky-tile-title> Tile 2 </sky-tile-title>\n <sky-tile-content>\n <sky-tile-content-section> Section 1 </sky-tile-content-section>\n <sky-tile-content-section> Section 2 </sky-tile-content-section>\n <sky-tile-content-section> Section 3 </sky-tile-content-section>\n </sky-tile-content>\n</sky-tile>\n"
|
|
2901
2901
|
},
|
|
2902
2902
|
{
|
|
2903
|
-
"fileName": "
|
|
2904
|
-
"filePath": "/projects/tiles/documentation/code-examples/tiles/
|
|
2905
|
-
"rawContents": "import { Component } from '@angular/core';\
|
|
2903
|
+
"fileName": "tile-demo-tile1.component.ts",
|
|
2904
|
+
"filePath": "/projects/tiles/documentation/code-examples/tiles/basic/tile-demo-tile1.component.ts",
|
|
2905
|
+
"rawContents": "import { Component } from '@angular/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'div.tile1',\n templateUrl: './tile-demo-tile1.component.html',\n})\nexport class TileDemoTile1Component {\n public tileSettingsClick(): void {\n alert('tile settings clicked');\n }\n}\n"
|
|
2906
2906
|
},
|
|
2907
2907
|
{
|
|
2908
|
-
"fileName": "
|
|
2909
|
-
"filePath": "/projects/tiles/documentation/code-examples/tiles/
|
|
2910
|
-
"rawContents": "
|
|
2908
|
+
"fileName": "tile-demo-tile1.component.html",
|
|
2909
|
+
"filePath": "/projects/tiles/documentation/code-examples/tiles/basic/tile-demo-tile1.component.html",
|
|
2910
|
+
"rawContents": "<sky-tile (settingsClick)=\"tileSettingsClick()\">\n <sky-tile-title> Tile 1 </sky-tile-title>\n <sky-tile-summary> $123.4m </sky-tile-summary>\n <sky-tile-content>\n <sky-tile-content-section> Section 1 </sky-tile-content-section>\n <sky-tile-content-section> Section 2 </sky-tile-content-section>\n <sky-tile-content-section> Section 3 </sky-tile-content-section>\n </sky-tile-content>\n</sky-tile>\n"
|
|
2911
2911
|
}
|
|
2912
2912
|
]
|
|
2913
2913
|
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTICE: DO NOT MODIFY THIS FILE!
|
|
3
|
+
* The contents of this file were automatically generated by
|
|
4
|
+
* the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-tiles' schematic.
|
|
5
|
+
* To update this file, simply rerun the command.
|
|
6
|
+
*/
|
|
7
|
+
import { NgModule } from '@angular/core';
|
|
8
|
+
import { SKY_LIB_RESOURCES_PROVIDERS, SkyI18nModule, getLibStringForLocale, } from '@skyux/i18n';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
const RESOURCES = {
|
|
11
|
+
'EN-US': {
|
|
12
|
+
skyux_tile_expand: { message: 'Expand or collapse {0}' },
|
|
13
|
+
skyux_tile_expand_default: { message: 'Expand or collapse' },
|
|
14
|
+
skyux_tile_help: { message: '{0} help' },
|
|
15
|
+
skyux_tile_help_default: { message: 'Help' },
|
|
16
|
+
skyux_tile_settings: { message: '{0} settings' },
|
|
17
|
+
skyux_tile_settings_default: { message: 'Settings' },
|
|
18
|
+
skyux_tile_move: { message: 'Move {0}' },
|
|
19
|
+
skyux_tile_move_default: { message: 'Move' },
|
|
20
|
+
skyux_tile_move_instructions: {
|
|
21
|
+
message: "When focus is placed on a tile's move button, use the arrow keys to move it. The up and down keys change its position within a column. The left and right keys move it between columns.",
|
|
22
|
+
},
|
|
23
|
+
skyux_tile_moved_assistive_text: {
|
|
24
|
+
message: '{0} moved. Current column: {1} of {2}. Current position in column: {3} of {4}',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
export class SkyTilesResourcesProvider {
|
|
29
|
+
getString(localeInfo, name) {
|
|
30
|
+
return getLibStringForLocale(RESOURCES, localeInfo.locale, name);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Import into any component library module that needs to use resource strings.
|
|
35
|
+
*/
|
|
36
|
+
export class SkyTilesResourcesModule {
|
|
37
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTilesResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
38
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyTilesResourcesModule, exports: [SkyI18nModule] }); }
|
|
39
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTilesResourcesModule, providers: [
|
|
40
|
+
{
|
|
41
|
+
provide: SKY_LIB_RESOURCES_PROVIDERS,
|
|
42
|
+
useClass: SkyTilesResourcesProvider,
|
|
43
|
+
multi: true,
|
|
44
|
+
},
|
|
45
|
+
], imports: [SkyI18nModule] }); }
|
|
46
|
+
}
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTilesResourcesModule, decorators: [{
|
|
48
|
+
type: NgModule,
|
|
49
|
+
args: [{
|
|
50
|
+
exports: [SkyI18nModule],
|
|
51
|
+
providers: [
|
|
52
|
+
{
|
|
53
|
+
provide: SKY_LIB_RESOURCES_PROVIDERS,
|
|
54
|
+
useClass: SkyTilesResourcesProvider,
|
|
55
|
+
multi: true,
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
}]
|
|
59
|
+
}] });
|
|
60
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2t5LXRpbGVzLXJlc291cmNlcy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvdGlsZXMvc3JjL2xpYi9tb2R1bGVzL3NoYXJlZC9za3ktdGlsZXMtcmVzb3VyY2VzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7R0FLRztBQUNILE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUNMLDJCQUEyQixFQUUzQixhQUFhLEVBR2IscUJBQXFCLEdBQ3RCLE1BQU0sY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bnQgcG9zaXRpb24gaW4gY29sdW1uOiB7M30gb2YgezR9JyxcbiAgICB9LFxuICB9LFxufTtcblxuZXhwb3J0IGNsYXNzIFNreVRpbGVzUmVzb3VyY2VzUHJvdmlkZXIgaW1wbGVtZW50cyBTa3lMaWJSZXNvdXJjZXNQcm92aWRlciB7XG4gIHB1YmxpYyBnZXRTdHJpbmcoXG4gICAgbG9jYWxlSW5mbzogU2t5QXBwTG9jYWxlSW5mbyxcbiAgICBuYW1lOiBzdHJpbmdcbiAgKTogc3RyaW5nIHwgdW5kZWZpbmVkIHtcbiAgICByZXR1cm4gZ2V0TGliU3RyaW5nRm9yTG9jYWxlKFJFU09VUkNFUywgbG9jYWxlSW5mby5sb2NhbGUsIG5hbWUpO1xuICB9XG59XG5cbi8qKlxuICogSW1wb3J0IGludG8gYW55IGNvbXBvbmVudCBsaWJyYXJ5IG1vZHVsZSB0aGF0IG5lZWRzIHRvIHVzZSByZXNvdXJjZSBzdHJpbmdzLlxuICovXG5ATmdNb2R1bGUoe1xuICBleHBvcnRzOiBbU2t5STE4bk1vZHVsZV0sXG4gIHByb3ZpZGVyczogW1xuICAgIHtcbiAgICAgIHByb3ZpZGU6IFNLWV9MSUJfUkVTT1VSQ0VTX1BST1ZJREVSUyxcbiAgICAgIHVzZUNsYXNzOiBTa3lUaWxlc1Jlc291cmNlc1Byb3ZpZGVyLFxuICAgICAgbXVsdGk6IHRydWUsXG4gICAgfSxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgU2t5VGlsZXNSZXNvdXJjZXNNb2R1bGUge31cbiJdfQ==
|
|
@@ -6,11 +6,11 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
/* istanbul ignore next */
|
|
7
7
|
/* Code coverage having problems with no statements in classes */
|
|
8
8
|
export class SkyTileSummaryComponent {
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTileSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: SkyTileSummaryComponent, selector: "sky-tile-summary", ngImport: i0, template: "<ng-content></ng-content>\n" }); }
|
|
9
11
|
}
|
|
10
|
-
|
|
11
|
-
SkyTileSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyTileSummaryComponent, selector: "sky-tile-summary", ngImport: i0, template: "<ng-content></ng-content>\n" });
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTileSummaryComponent, decorators: [{
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTileSummaryComponent, decorators: [{
|
|
13
13
|
type: Component,
|
|
14
14
|
args: [{ selector: 'sky-tile-summary', template: "<ng-content></ng-content>\n" }]
|
|
15
15
|
}] });
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGlsZS1zdW1tYXJ5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy90aWxlcy9zcmMvbGliL21vZHVsZXMvdGlsZXMvdGlsZS90aWxlLXN1bW1hcnkuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3RpbGVzL3NyYy9saWIvbW9kdWxlcy90aWxlcy90aWxlL3RpbGUtc3VtbWFyeS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUUxQzs7R0FFRztBQUtILDBCQUEwQjtBQUMxQixpRUFBaUU7QUFDakUsTUFBTSxPQUFPLHVCQUF1Qjs4R0FBdkIsdUJBQXVCO2tHQUF2Qix1QkFBdUIsd0RDWHBDLDZCQUNBOzsyRkRVYSx1QkFBdUI7a0JBTm5DLFNBQVM7K0JBQ0Usa0JBQWtCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbi8qKlxuICogU3BlY2lmaWVzIGNvbnRlbnQgdG8gZGlzcGxheSBpbiB0aGUgdGlsZSdzIHN1bW1hcnkuXG4gKi9cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ3NreS10aWxlLXN1bW1hcnknLFxuICB0ZW1wbGF0ZVVybDogJ3RpbGUtc3VtbWFyeS5jb21wb25lbnQuaHRtbCcsXG59KVxuLyogaXN0YW5idWwgaWdub3JlIG5leHQgKi9cbi8qIENvZGUgY292ZXJhZ2UgaGF2aW5nIHByb2JsZW1zIHdpdGggbm8gc3RhdGVtZW50cyBpbiBjbGFzc2VzICovXG5leHBvcnQgY2xhc3MgU2t5VGlsZVN1bW1hcnlDb21wb25lbnQge31cbiIsIjxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiJdfQ==
|
|
@@ -5,11 +5,11 @@ import * as i1 from "@skyux/core";
|
|
|
5
5
|
* Specifies content to display in the tile's title.
|
|
6
6
|
*/
|
|
7
7
|
export class SkyTileTitleComponent {
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTileTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: SkyTileTitleComponent, selector: "sky-tile-title", ngImport: i0, template: "<h2 class=\"sky-tile-title sky-font-heading-2\">\n <span skyTrim><ng-content></ng-content></span\n ><span class=\"sky-control-help-container\"\n ><ng-content select=\".sky-control-help\"></ng-content\n ></span>\n</h2>\n", styles: [".sky-tile-title{margin:0;padding:10px 15px}:host-context(.sky-theme-modern) .sky-tile-title{margin:0 30px 0 0;padding:0}.sky-theme-modern .sky-tile-title{margin:0 30px 0 0;padding:0}\n"], dependencies: [{ kind: "directive", type: i1.λ4, selector: "[skyTrim]" }] }); }
|
|
8
10
|
}
|
|
9
|
-
|
|
10
|
-
SkyTileTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyTileTitleComponent, selector: "sky-tile-title", ngImport: i0, template: "<h2 class=\"sky-tile-title sky-font-heading-2\">\n <span skyTrim><ng-content></ng-content></span\n ><span class=\"sky-control-help-container\"\n ><ng-content select=\".sky-control-help\"></ng-content\n ></span>\n</h2>\n", styles: [".sky-tile-title{margin:0;padding:10px 15px}:host-context(.sky-theme-modern) .sky-tile-title{margin:0 30px 0 0;padding:0}.sky-theme-modern .sky-tile-title{margin:0 30px 0 0;padding:0}\n"], dependencies: [{ kind: "directive", type: i1.λ4, selector: "[skyTrim]" }] });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTileTitleComponent, decorators: [{
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTileTitleComponent, decorators: [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{ selector: 'sky-tile-title', template: "<h2 class=\"sky-tile-title sky-font-heading-2\">\n <span skyTrim><ng-content></ng-content></span\n ><span class=\"sky-control-help-container\"\n ><ng-content select=\".sky-control-help\"></ng-content\n ></span>\n</h2>\n", styles: [".sky-tile-title{margin:0;padding:10px 15px}:host-context(.sky-theme-modern) .sky-tile-title{margin:0 30px 0 0;padding:0}.sky-theme-modern .sky-tile-title{margin:0 30px 0 0;padding:0}\n"] }]
|
|
14
14
|
}] });
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGlsZS10aXRsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvdGlsZXMvc3JjL2xpYi9tb2R1bGVzL3RpbGVzL3RpbGUvdGlsZS10aXRsZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvdGlsZXMvc3JjL2xpYi9tb2R1bGVzL3RpbGVzL3RpbGUvdGlsZS10aXRsZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7QUFFMUM7O0dBRUc7QUFNSCxNQUFNLE9BQU8scUJBQXFCOzhHQUFyQixxQkFBcUI7a0dBQXJCLHFCQUFxQixzRENWbEMsbU9BTUE7OzJGRElhLHFCQUFxQjtrQkFMakMsU0FBUzsrQkFDRSxnQkFBZ0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuLyoqXG4gKiBTcGVjaWZpZXMgY29udGVudCB0byBkaXNwbGF5IGluIHRoZSB0aWxlJ3MgdGl0bGUuXG4gKi9cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ3NreS10aWxlLXRpdGxlJyxcbiAgdGVtcGxhdGVVcmw6ICcuL3RpbGUtdGl0bGUuY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi90aWxlLXRpdGxlLmNvbXBvbmVudC5zY3NzJ10sXG59KVxuZXhwb3J0IGNsYXNzIFNreVRpbGVUaXRsZUNvbXBvbmVudCB7fVxuIiwiPGgyIGNsYXNzPVwic2t5LXRpbGUtdGl0bGUgc2t5LWZvbnQtaGVhZGluZy0yXCI+XG4gIDxzcGFuIHNreVRyaW0+PG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50Pjwvc3BhblxuICA+PHNwYW4gY2xhc3M9XCJza3ktY29udHJvbC1oZWxwLWNvbnRhaW5lclwiXG4gICAgPjxuZy1jb250ZW50IHNlbGVjdD1cIi5za3ktY29udHJvbC1oZWxwXCI+PC9uZy1jb250ZW50XG4gID48L3NwYW4+XG48L2gyPlxuIl19
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { Component, ElementRef, EventEmitter, Input, Optional, Output, ViewChild, } from '@angular/core';
|
|
2
|
+
import { skyAnimationSlide } from '@skyux/animations';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { takeUntil } from 'rxjs/operators';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../tile-dashboard/tile-dashboard.service";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
import * as i3 from "@skyux/indicators";
|
|
9
|
+
import * as i4 from "@skyux/core";
|
|
10
|
+
import * as i5 from "@skyux/theme";
|
|
11
|
+
import * as i6 from "@skyux/i18n";
|
|
12
|
+
/**
|
|
13
|
+
* Provides a common look-and-feel for tab content.
|
|
14
|
+
*/
|
|
15
|
+
export class SkyTileComponent {
|
|
16
|
+
get isCollapsed() {
|
|
17
|
+
if (this.#dashboardService) {
|
|
18
|
+
const configCollapsedState = this.#dashboardService.tileIsCollapsed(this);
|
|
19
|
+
this.#_isCollapsed = configCollapsedState;
|
|
20
|
+
}
|
|
21
|
+
return this.#_isCollapsed;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Whether the tile is in a collapsed state.
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
set isCollapsed(value) {
|
|
28
|
+
this.#_isCollapsed = !!value;
|
|
29
|
+
if (this.#dashboardService) {
|
|
30
|
+
this.#dashboardService.setTileCollapsed(this, this.#_isCollapsed);
|
|
31
|
+
}
|
|
32
|
+
this.isCollapsedChange.emit(this.#_isCollapsed);
|
|
33
|
+
}
|
|
34
|
+
#changeDetector;
|
|
35
|
+
#dashboardService;
|
|
36
|
+
#ngUnsubscribe;
|
|
37
|
+
#_isCollapsed;
|
|
38
|
+
constructor(elementRef, changeDetector, dashboardService) {
|
|
39
|
+
this.elementRef = elementRef;
|
|
40
|
+
/**
|
|
41
|
+
* Whether to display a settings button in the tile header. To display the
|
|
42
|
+
* button, you must also listen for the `settingsClick` event.
|
|
43
|
+
* @default true
|
|
44
|
+
*/
|
|
45
|
+
this.showSettings = true;
|
|
46
|
+
/**
|
|
47
|
+
* Whether to display a help button in the tile header. To display the
|
|
48
|
+
* button, you must also listen for the `helpClick` event.
|
|
49
|
+
* @default true
|
|
50
|
+
*/
|
|
51
|
+
this.showHelp = true;
|
|
52
|
+
/**
|
|
53
|
+
* Fires when users select the settings button in the tile header. The settings
|
|
54
|
+
* button only appears when the `showSettings` property is set to `true`.
|
|
55
|
+
*/
|
|
56
|
+
this.settingsClick = new EventEmitter();
|
|
57
|
+
/**
|
|
58
|
+
* Fires when the tile's collapsed state changes. Returns `true` when the tile
|
|
59
|
+
* collapses and `false` when it expands.
|
|
60
|
+
*/
|
|
61
|
+
this.isCollapsedChange = new EventEmitter();
|
|
62
|
+
/**
|
|
63
|
+
* Fires when users select the help button in the tile header. The help
|
|
64
|
+
* button only appears when the `showHelp` property is set to `true`.
|
|
65
|
+
*/
|
|
66
|
+
this.helpClick = new EventEmitter();
|
|
67
|
+
this.isInDashboardColumn = false;
|
|
68
|
+
this.#ngUnsubscribe = new Subject();
|
|
69
|
+
this.#_isCollapsed = false;
|
|
70
|
+
this.#changeDetector = changeDetector;
|
|
71
|
+
this.#dashboardService = dashboardService;
|
|
72
|
+
this.isInDashboardColumn = !!this.#dashboardService;
|
|
73
|
+
if (this.#dashboardService) {
|
|
74
|
+
this.ariaDescribedBy = `${this.#dashboardService.bagId}-move-instructions`;
|
|
75
|
+
/**
|
|
76
|
+
* This subscription ensures that if any values which come in from the dashboard service are
|
|
77
|
+
* updated that the component will update if the tile's parent component utilizes OnPush
|
|
78
|
+
* change detection.
|
|
79
|
+
*/
|
|
80
|
+
this.#dashboardService.configChange
|
|
81
|
+
.pipe(takeUntil(this.#ngUnsubscribe))
|
|
82
|
+
.subscribe(() => {
|
|
83
|
+
this.#changeDetector.markForCheck();
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
ngOnDestroy() {
|
|
88
|
+
this.#ngUnsubscribe.next();
|
|
89
|
+
this.#ngUnsubscribe.complete();
|
|
90
|
+
}
|
|
91
|
+
settingsButtonClicked() {
|
|
92
|
+
this.settingsClick.emit(undefined);
|
|
93
|
+
}
|
|
94
|
+
helpButtonClicked() {
|
|
95
|
+
this.helpClick.emit(undefined);
|
|
96
|
+
}
|
|
97
|
+
get hasSettings() {
|
|
98
|
+
return this.settingsClick.observers.length > 0 && this.showSettings;
|
|
99
|
+
}
|
|
100
|
+
get hasHelp() {
|
|
101
|
+
return this.helpClick.observers.length > 0 && this.showHelp;
|
|
102
|
+
}
|
|
103
|
+
titleClick() {
|
|
104
|
+
this.isCollapsed = !this.isCollapsed;
|
|
105
|
+
}
|
|
106
|
+
chevronDirectionChange(direction) {
|
|
107
|
+
this.isCollapsed = direction === 'down';
|
|
108
|
+
}
|
|
109
|
+
moveTile(event) {
|
|
110
|
+
/* istanbul ignore else */
|
|
111
|
+
if (this.#dashboardService) {
|
|
112
|
+
const direction = event.key.toLowerCase().replace('arrow', '');
|
|
113
|
+
/* istanbul ignore else */
|
|
114
|
+
if (direction === 'up' ||
|
|
115
|
+
direction === 'down' ||
|
|
116
|
+
direction === 'left' ||
|
|
117
|
+
direction === 'right') {
|
|
118
|
+
this.#dashboardService.moveTileOnKeyDown(this, direction, this.title
|
|
119
|
+
? this.title.nativeElement.innerText
|
|
120
|
+
: /* istanbul ignore next */
|
|
121
|
+
undefined);
|
|
122
|
+
this.#focusHandle();
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
#focusHandle() {
|
|
127
|
+
this.grabHandle?.nativeElement.focus();
|
|
128
|
+
}
|
|
129
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTileComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.SkyTileDashboardService, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
130
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: SkyTileComponent, selector: "sky-tile", inputs: { showSettings: "showSettings", showHelp: "showHelp", tileName: "tileName", isCollapsed: "isCollapsed" }, outputs: { settingsClick: "settingsClick", isCollapsedChange: "isCollapsedChange", helpClick: "helpClick" }, viewQueries: [{ propertyName: "grabHandle", first: true, predicate: ["grabHandle"], descendants: true, read: ElementRef }, { propertyName: "title", first: true, predicate: ["titleContainer"], descendants: true, read: ElementRef }], ngImport: i0, template: "<section\n class=\"sky-tile\"\n [ngClass]=\"{\n 'sky-tile-collapsed': isCollapsed\n }\"\n [skyThemeClass]=\"{\n 'sky-box sky-elevation-1-bordered sky-padding-even-xl': 'modern'\n }\"\n>\n <header class=\"sky-tile-header\">\n <div class=\"sky-tile-header-content\" (click)=\"titleClick()\">\n <div class=\"sky-tile-header-title\" #titleContainer>\n <ng-content select=\"sky-tile-title\"></ng-content>\n </div>\n <div class=\"sky-tile-summary sky-font-display-3\">\n <ng-content select=\"sky-tile-summary\"></ng-content>\n </div>\n </div>\n <div class=\"sky-tile-header-column-tools\">\n <div class=\"sky-tile-tools\">\n <ng-container *skyThemeIf=\"'default'\">\n <button\n *ngIf=\"hasHelp\"\n class=\"sky-btn sky-tile-tools-control sky-tile-help\"\n type=\"button\"\n [attr.aria-label]=\"\n tileName\n ? ('skyux_tile_help' | skyLibResources : tileName)\n : ('skyux_tile_help_default' | skyLibResources)\n \"\n [skyThemeClass]=\"{\n 'sky-btn-icon-borderless': 'modern'\n }\"\n (click)=\"helpButtonClicked()\"\n >\n <sky-icon icon=\"question-circle\"></sky-icon>\n </button>\n </ng-container>\n <sky-chevron\n [ariaControls]=\"tileContent.id\"\n [ariaLabel]=\"\n tileName\n ? ('skyux_tile_expand' | skyLibResources : tileName)\n : ('skyux_tile_expand_default' | skyLibResources)\n \"\n [direction]=\"isCollapsed ? 'down' : 'up'\"\n [skyThemeClass]=\"{\n 'sky-tile-tools-control': 'default',\n 'sky-margin-inline-default': 'modern'\n }\"\n (directionChange)=\"chevronDirectionChange($event)\"\n >\n </sky-chevron>\n <button\n *ngIf=\"hasSettings\"\n class=\"sky-btn sky-tile-settings\"\n type=\"button\"\n [attr.aria-label]=\"\n tileName\n ? ('skyux_tile_settings' | skyLibResources : tileName)\n : ('skyux_tile_settings_default' | skyLibResources)\n \"\n [skyThemeClass]=\"{\n 'sky-tile-tools-control': 'default',\n 'sky-btn-icon-borderless sky-margin-inline-default': 'modern'\n }\"\n (click)=\"settingsButtonClicked()\"\n >\n <sky-icon *skyThemeIf=\"'default'\" icon=\"cog\"></sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n icon=\"cog-line\"\n iconType=\"skyux\"\n ></sky-icon>\n </button>\n <button\n *ngIf=\"isInDashboardColumn\"\n class=\"sky-btn sky-tile-grab-handle\"\n [attr.aria-label]=\"\n tileName\n ? ('skyux_tile_move' | skyLibResources : tileName)\n : ('skyux_tile_move_default' | skyLibResources)\n \"\n [attr.aria-describedby]=\"ariaDescribedBy\"\n [skyThemeClass]=\"{\n 'sky-tile-tools-control': 'default',\n 'sky-btn-icon-borderless': 'modern'\n }\"\n (click)=\"$event.stopPropagation()\"\n (keydown)=\"moveTile($event)\"\n #grabHandle\n >\n <sky-icon *skyThemeIf=\"'default'\" icon=\"th\"></sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n icon=\"tile-drag\"\n iconType=\"skyux\"\n ></sky-icon>\n </button>\n </div>\n </div>\n </header>\n <div\n class=\"sky-tile-content\"\n role=\"region\"\n skyId\n [attr.aria-label]=\"tileName\"\n [@skyAnimationSlide]=\"isCollapsed ? 'up' : 'down'\"\n #tileContent=\"skyId\"\n >\n <ng-content select=\"sky-tile-content\"></ng-content>\n </div>\n</section>\n", styles: [".sky-tile{background-color:#fff;margin-bottom:20px}.sky-tile-header{border-color:#cdcfd2;border-style:solid solid none;border-width:4px 0 0;display:flex}.sky-tile-header-content{display:flex;flex:1;align-items:baseline;cursor:pointer}.sky-tile-header-title{display:inline-flex}.sky-tile-summary{color:#0974a1;opacity:0;padding-right:15px;transition:opacity .25s;max-height:30px;overflow:hidden}.sky-tile-collapsed .sky-tile-summary{opacity:1}.sky-tile-header-column-tools{display:flex;align-items:center;flex:0 0 auto}.sky-tile-tools{display:flex;padding-right:15px}.sky-tile-tools-control{color:#cdcfd2;cursor:pointer;border:0;width:24px;height:24px;padding:0;display:block;margin:0 0 0 9px}.sky-tile-tools-control:hover{color:#979ba2;transition:color .15s}.sky-tile-grab-handle{cursor:move;cursor:-moz-grab;font-size:15px}.sky-tile-content{border-color:#e2e3e4;border-image:none;border-style:solid solid none;border-width:1px 0}:host-context(.sky-theme-modern) .sky-tile-header,:host-context(.sky-theme-modern) .sky-tile-content{border:none}:host-context(.sky-theme-modern) .sky-tile-header-column-tools{align-items:flex-start}:host-context(.sky-theme-modern) .sky-tile-tools{padding:0}:host-context(.sky-theme-modern) .sky-tile-tools-control{font-size:18px;color:#686c73}:host-context(.sky-theme-modern) .sky-tile-grab-handle{font-size:16px}:host-context(.sky-theme-modern) .sky-tile-content ::ng-deep .sky-tile-content-section{border-bottom:1px dotted #c0c2c5}:host-context(.sky-theme-modern) .sky-tile-content ::ng-deep sky-tile-content-section:first-child .sky-tile-content-section{margin-top:15px}:host-context(.sky-theme-modern) .sky-tile-content ::ng-deep sky-tile-content-section:last-child .sky-tile-content-section{padding-bottom:0;border-bottom:none}:host-context(.sky-theme-modern) :host .sky-tile{border-radius:0}:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-xs) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg) .sky-tile{border-radius:0}@media (min-width: 768px){:host-context(.sky-theme-modern) :host .sky-tile{border-radius:6px}}:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg) .sky-tile{border-radius:6px}.sky-theme-modern .sky-tile-header,.sky-theme-modern .sky-tile-content{border:none}.sky-theme-modern .sky-tile-header-column-tools{align-items:flex-start}.sky-theme-modern .sky-tile-tools{padding:0}.sky-theme-modern .sky-tile-tools-control{font-size:18px;color:#686c73}.sky-theme-modern .sky-tile-grab-handle{font-size:16px}.sky-theme-modern .sky-tile-content ::ng-deep .sky-tile-content-section{border-bottom:1px dotted #c0c2c5}.sky-theme-modern .sky-tile-content ::ng-deep sky-tile-content-section:first-child .sky-tile-content-section{margin-top:15px}.sky-theme-modern .sky-tile-content ::ng-deep sky-tile-content-section:last-child .sky-tile-content-section{padding-bottom:0;border-bottom:none}.sky-theme-modern :host .sky-tile{border-radius:0}.sky-theme-modern :host-context(.sky-responsive-container-xs) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-sm) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-md) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-lg) .sky-tile{border-radius:0}@media (min-width: 768px){.sky-theme-modern :host .sky-tile{border-radius:6px}}.sky-theme-modern :host-context(.sky-responsive-container-sm) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-md) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-lg) .sky-tile{border-radius:6px}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.λ2, selector: "sky-chevron", inputs: ["ariaControls", "ariaLabel", "direction", "disabled"], outputs: ["directionChange"] }, { kind: "directive", type: i4.λ2, selector: "[skyId]", exportAs: ["skyId"] }, { kind: "component", type: i3.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { kind: "directive", type: i5.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { kind: "directive", type: i5.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }, { kind: "pipe", type: i6.SkyLibResourcesPipe, name: "skyLibResources" }], animations: [skyAnimationSlide] }); }
|
|
131
|
+
}
|
|
132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTileComponent, decorators: [{
|
|
133
|
+
type: Component,
|
|
134
|
+
args: [{ selector: 'sky-tile', animations: [skyAnimationSlide], template: "<section\n class=\"sky-tile\"\n [ngClass]=\"{\n 'sky-tile-collapsed': isCollapsed\n }\"\n [skyThemeClass]=\"{\n 'sky-box sky-elevation-1-bordered sky-padding-even-xl': 'modern'\n }\"\n>\n <header class=\"sky-tile-header\">\n <div class=\"sky-tile-header-content\" (click)=\"titleClick()\">\n <div class=\"sky-tile-header-title\" #titleContainer>\n <ng-content select=\"sky-tile-title\"></ng-content>\n </div>\n <div class=\"sky-tile-summary sky-font-display-3\">\n <ng-content select=\"sky-tile-summary\"></ng-content>\n </div>\n </div>\n <div class=\"sky-tile-header-column-tools\">\n <div class=\"sky-tile-tools\">\n <ng-container *skyThemeIf=\"'default'\">\n <button\n *ngIf=\"hasHelp\"\n class=\"sky-btn sky-tile-tools-control sky-tile-help\"\n type=\"button\"\n [attr.aria-label]=\"\n tileName\n ? ('skyux_tile_help' | skyLibResources : tileName)\n : ('skyux_tile_help_default' | skyLibResources)\n \"\n [skyThemeClass]=\"{\n 'sky-btn-icon-borderless': 'modern'\n }\"\n (click)=\"helpButtonClicked()\"\n >\n <sky-icon icon=\"question-circle\"></sky-icon>\n </button>\n </ng-container>\n <sky-chevron\n [ariaControls]=\"tileContent.id\"\n [ariaLabel]=\"\n tileName\n ? ('skyux_tile_expand' | skyLibResources : tileName)\n : ('skyux_tile_expand_default' | skyLibResources)\n \"\n [direction]=\"isCollapsed ? 'down' : 'up'\"\n [skyThemeClass]=\"{\n 'sky-tile-tools-control': 'default',\n 'sky-margin-inline-default': 'modern'\n }\"\n (directionChange)=\"chevronDirectionChange($event)\"\n >\n </sky-chevron>\n <button\n *ngIf=\"hasSettings\"\n class=\"sky-btn sky-tile-settings\"\n type=\"button\"\n [attr.aria-label]=\"\n tileName\n ? ('skyux_tile_settings' | skyLibResources : tileName)\n : ('skyux_tile_settings_default' | skyLibResources)\n \"\n [skyThemeClass]=\"{\n 'sky-tile-tools-control': 'default',\n 'sky-btn-icon-borderless sky-margin-inline-default': 'modern'\n }\"\n (click)=\"settingsButtonClicked()\"\n >\n <sky-icon *skyThemeIf=\"'default'\" icon=\"cog\"></sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n icon=\"cog-line\"\n iconType=\"skyux\"\n ></sky-icon>\n </button>\n <button\n *ngIf=\"isInDashboardColumn\"\n class=\"sky-btn sky-tile-grab-handle\"\n [attr.aria-label]=\"\n tileName\n ? ('skyux_tile_move' | skyLibResources : tileName)\n : ('skyux_tile_move_default' | skyLibResources)\n \"\n [attr.aria-describedby]=\"ariaDescribedBy\"\n [skyThemeClass]=\"{\n 'sky-tile-tools-control': 'default',\n 'sky-btn-icon-borderless': 'modern'\n }\"\n (click)=\"$event.stopPropagation()\"\n (keydown)=\"moveTile($event)\"\n #grabHandle\n >\n <sky-icon *skyThemeIf=\"'default'\" icon=\"th\"></sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n icon=\"tile-drag\"\n iconType=\"skyux\"\n ></sky-icon>\n </button>\n </div>\n </div>\n </header>\n <div\n class=\"sky-tile-content\"\n role=\"region\"\n skyId\n [attr.aria-label]=\"tileName\"\n [@skyAnimationSlide]=\"isCollapsed ? 'up' : 'down'\"\n #tileContent=\"skyId\"\n >\n <ng-content select=\"sky-tile-content\"></ng-content>\n </div>\n</section>\n", styles: [".sky-tile{background-color:#fff;margin-bottom:20px}.sky-tile-header{border-color:#cdcfd2;border-style:solid solid none;border-width:4px 0 0;display:flex}.sky-tile-header-content{display:flex;flex:1;align-items:baseline;cursor:pointer}.sky-tile-header-title{display:inline-flex}.sky-tile-summary{color:#0974a1;opacity:0;padding-right:15px;transition:opacity .25s;max-height:30px;overflow:hidden}.sky-tile-collapsed .sky-tile-summary{opacity:1}.sky-tile-header-column-tools{display:flex;align-items:center;flex:0 0 auto}.sky-tile-tools{display:flex;padding-right:15px}.sky-tile-tools-control{color:#cdcfd2;cursor:pointer;border:0;width:24px;height:24px;padding:0;display:block;margin:0 0 0 9px}.sky-tile-tools-control:hover{color:#979ba2;transition:color .15s}.sky-tile-grab-handle{cursor:move;cursor:-moz-grab;font-size:15px}.sky-tile-content{border-color:#e2e3e4;border-image:none;border-style:solid solid none;border-width:1px 0}:host-context(.sky-theme-modern) .sky-tile-header,:host-context(.sky-theme-modern) .sky-tile-content{border:none}:host-context(.sky-theme-modern) .sky-tile-header-column-tools{align-items:flex-start}:host-context(.sky-theme-modern) .sky-tile-tools{padding:0}:host-context(.sky-theme-modern) .sky-tile-tools-control{font-size:18px;color:#686c73}:host-context(.sky-theme-modern) .sky-tile-grab-handle{font-size:16px}:host-context(.sky-theme-modern) .sky-tile-content ::ng-deep .sky-tile-content-section{border-bottom:1px dotted #c0c2c5}:host-context(.sky-theme-modern) .sky-tile-content ::ng-deep sky-tile-content-section:first-child .sky-tile-content-section{margin-top:15px}:host-context(.sky-theme-modern) .sky-tile-content ::ng-deep sky-tile-content-section:last-child .sky-tile-content-section{padding-bottom:0;border-bottom:none}:host-context(.sky-theme-modern) :host .sky-tile{border-radius:0}:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-xs) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg) .sky-tile{border-radius:0}@media (min-width: 768px){:host-context(.sky-theme-modern) :host .sky-tile{border-radius:6px}}:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md) .sky-tile,:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg) .sky-tile{border-radius:6px}.sky-theme-modern .sky-tile-header,.sky-theme-modern .sky-tile-content{border:none}.sky-theme-modern .sky-tile-header-column-tools{align-items:flex-start}.sky-theme-modern .sky-tile-tools{padding:0}.sky-theme-modern .sky-tile-tools-control{font-size:18px;color:#686c73}.sky-theme-modern .sky-tile-grab-handle{font-size:16px}.sky-theme-modern .sky-tile-content ::ng-deep .sky-tile-content-section{border-bottom:1px dotted #c0c2c5}.sky-theme-modern .sky-tile-content ::ng-deep sky-tile-content-section:first-child .sky-tile-content-section{margin-top:15px}.sky-theme-modern .sky-tile-content ::ng-deep sky-tile-content-section:last-child .sky-tile-content-section{padding-bottom:0;border-bottom:none}.sky-theme-modern :host .sky-tile{border-radius:0}.sky-theme-modern :host-context(.sky-responsive-container-xs) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-sm) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-md) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-lg) .sky-tile{border-radius:0}@media (min-width: 768px){.sky-theme-modern :host .sky-tile{border-radius:6px}}.sky-theme-modern :host-context(.sky-responsive-container-sm) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-md) .sky-tile,.sky-theme-modern :host-context(.sky-responsive-container-lg) .sky-tile{border-radius:6px}\n"] }]
|
|
135
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.SkyTileDashboardService, decorators: [{
|
|
136
|
+
type: Optional
|
|
137
|
+
}] }]; }, propDecorators: { showSettings: [{
|
|
138
|
+
type: Input
|
|
139
|
+
}], showHelp: [{
|
|
140
|
+
type: Input
|
|
141
|
+
}], tileName: [{
|
|
142
|
+
type: Input
|
|
143
|
+
}], settingsClick: [{
|
|
144
|
+
type: Output
|
|
145
|
+
}], isCollapsedChange: [{
|
|
146
|
+
type: Output
|
|
147
|
+
}], helpClick: [{
|
|
148
|
+
type: Output
|
|
149
|
+
}], isCollapsed: [{
|
|
150
|
+
type: Input
|
|
151
|
+
}], grabHandle: [{
|
|
152
|
+
type: ViewChild,
|
|
153
|
+
args: ['grabHandle', {
|
|
154
|
+
read: ElementRef,
|
|
155
|
+
static: false,
|
|
156
|
+
}]
|
|
157
|
+
}], title: [{
|
|
158
|
+
type: ViewChild,
|
|
159
|
+
args: ['titleContainer', {
|
|
160
|
+
read: ElementRef,
|
|
161
|
+
static: false,
|
|
162
|
+
}]
|
|
163
|
+
}] } });
|
|
164
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGlsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvdGlsZXMvc3JjL2xpYi9tb2R1bGVzL3RpbGVzL3RpbGUvdGlsZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvdGlsZXMvc3JjL2xpYi9tb2R1bGVzL3RpbGVzL3RpbGUvdGlsZS5jb21w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jb2x1bW4tdG9vbHNcIj5cbiAgICAgIDxkaXYgY2xhc3M9XCJza3ktdGlsZS10b29sc1wiPlxuICAgICAgICA8bmctY29udGFpbmVyICpza3lUaGVtZUlmPVwiJ2RlZmF1bHQnXCI+XG4gICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgKm5nSWY9XCJoYXNIZWxwXCJcbiAgICAgICAgICAgIGNsYXNzPVwic2t5LWJ0biBza3ktdGlsZS10b29scy1jb250cm9sIHNreS10aWxlLWhlbHBcIlxuICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgICAgICBbYXR0ci5hcmlhLWxhYmVsXT1cIlxuICAgICAgICAgICAgICB0aWxlTmFtZVxuICAgICAgICAgICAgICAgID8gKCdza3l1eF90aWxlX2hlbHAnIHwgc2t5TGliUmVzb3VyY2VzIDogdGlsZU5hbWUpXG4gICAgICAgICAgICAgICAgOiAoJ3NreXV4X3RpbGVfaGVscF9kZWZhdWx0JyB8IHNreUxpYlJlc291cmNlcylcbiAgICAgICAgICAgIFwiXG4gICAgICAgICAgICBbc2t5VGhlbWVDbGFzc109XCJ7XG4gICAgICAgICAgICAgICdza3ktYnRuLWljb24tYm9yZGVybGVzcyc6ICdtb2Rlcm4nXG4gICAgICAgICAgICB9XCJcbiAgICAgICAgICAgIChjbGljayk9XCJoZWxwQnV0dG9uQ2xpY2tlZCgpXCJcbiAgICAgICAgICA+XG4gICAgICAgICAgICA8c2t5LWljb24gaWNvbj1cInF1ZXN0aW9uLWNpcmNsZVwiPjwvc2t5LWljb24+XG4gICAgICAgICAgPC9idXR0b24+XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICA8c2t5LWNoZXZyb25cbiAgICAgICAgICBbYXJpYUNvbnRyb2xzXT1cInRpbGVDb250ZW50LmlkXCJcbiAgICAgICAgICBbYXJpYUxhYmVsXT1cIlxuICAgICAgICAgICAgdGlsZU5hbWVcbiAgICAgICAgICAgICAgPyAoJ3NreXV4X3RpbG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ICdza3ktYnRuLWljb24tYm9yZGVybGVzcyBza3ktbWFyZ2luLWlubGluZS1kZWZhdWx0JzogJ21vZGVybidcbiAgICAgICAgICB9XCJcbiAgICAgICAgICAoY2xpY2spPVwic2V0dGluZ3NCdXR0b25DbGlja2VkKClcIlxuICAgICAgICA+XG4gICAgICAgICAgPHNreS1pY29uICpza3lUaGVtZUlmPVwiJ2RlZmF1bHQnXCIgaWNvbj1cImNvZ1wiPjwvc2t5LWljb24+XG4gICAgICAgICAgPHNreS1pY29uXG4gICAgICAgICAgICAqc2t5VGhlbWVJZj1cIidtb2Rlcm4nXCJcbiAgICAgICAgICAgIGljb249XCJjb2ctbGluZVwiXG4gICAgICAgICAgICBpY29uVHlwZT1cInNreXV4XCJcbiAgICAgICAgICA+PC9za3ktaWNvbj5cbiAgICAgICAgPC9idXR0b24+XG4gICAgICAgIDxidXR0b25cbiAgICAgICAgICAqbmdJZj1cImlzSW5EYXNoYm9hcmRDb2x1bW5cIlxuICAgICAgICAgIGNsYXNzPVwic2t5LWJ0biBza3ktdGlsZS1ncmFiLWhhbmRsZVwiXG4gICAgICAgICAgW2F0dHIuYXJpYS1sYWJlbF09XCJcbiAgICAgICAgICAgIHRpbGVOYW1lXG4gICAgICAgICAgICAgID8gKCdza3l1eF90aWxlX21vdmUnIHwgc2t5TGliUmVzb3VyY2VzIDogdGlsZU5hbWUpXG4gICAgICAgICAgICAgIDogKCdza3l1eF90aWxlX21vdmVfZGVmYXVsdCcgfCBza3lMaWJSZXNvdXJjZXMpXG4gICAgICAgICAgXCJcbiAgICAgICAgICBbYXR0ci5hcmlhLWRlc2NyaWJlZGJ5XT1cImFyaWFEZXNjcmliZWRCeVwiXG4gICAgICAgICAgW3NreVRoZW1lQ2xhc3NdPVwie1xuICAgICAgICAgICAgJ3NreS10aWxlLXRvb2xzLWNvbnRyb2wnOiAnZGVmYXVsdCcsXG4gICAgICAgICAgICAnc2t5LWJ0bi1pY29uLWJvcmRlcmxlc3MnOiAnbW9kZXJuJ1xuICAgICAgICAgIH1cIlxuICAgICAgICAgIChjbGljayk9XCIkZXZlbnQuc3RvcFByb3BhZ2F0aW9uKClcIlxuICAgICAgICAgIChrZXlkb3duKT1cIm1vdmVUaWxlKCRldmVudClcIlxuICAgICAgICAgICNncmFiSGFuZGxlXG4gICAgICAgID5cbiAgICAgICAgICA8c2t5LWljb24gKnNreVRoZW1lSWY9XCInZGVmYXVsdCdcIiBpY29uPVwidGhcIj48L3NreS1pY29uPlxuICAgICAgICAgIDxza3ktaWNvblxuICAgICAgICAgICAgKnNreVRoZW1lSWY9XCInbW9kZXJuJ1wiXG4gICAgICAgICAgICBpY29uPVwidGlsZS1kcmFnXCJcbiAgICAgICAgICAgIGljb25UeXBlPVwic2t5dXhcIlxuICAgICAgICAgID48L3NreS1pY29uPlxuICAgICAgICA8L2J1dHRvbj5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICA8L2hlYWRlcj5cbiAgPGRpdlxuICAgIGNsYXNzPVwic2t5LXRpbGUtY29udGVudFwiXG4gICAgcm9sZT1cInJlZ2lvblwiXG4gICAgc2t5SWRcbiAgICBbYXR0ci5hcmlhLWxhYmVsXT1cInRpbGVOYW1lXCJcbiAgICBbQHNreUFuaW1hdGlvblNsaWRlXT1cImlzQ29sbGFwc2VkID8gJ3VwJyA6ICdkb3duJ1wiXG4gICAgI3RpbGVDb250ZW50PVwic2t5SWRcIlxuICA+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwic2t5LXRpbGUtY29udGVudFwiPjwvbmctY29udGVudD5cbiAgPC9kaXY+XG48L3NlY3Rpb24+XG4iXX0=
|
|
@@ -10,27 +10,27 @@ import { SkyTileTitleComponent } from './tile-title.component';
|
|
|
10
10
|
import { SkyTileComponent } from './tile.component';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export class SkyTileModule {
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
14
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: SkyTileModule, declarations: [SkyTileComponent,
|
|
15
|
+
SkyTileSummaryComponent,
|
|
16
|
+
SkyTileTitleComponent], imports: [CommonModule,
|
|
17
|
+
SkyChevronModule,
|
|
18
|
+
SkyIdModule,
|
|
19
|
+
SkyI18nModule,
|
|
20
|
+
SkyIconModule,
|
|
21
|
+
SkyThemeModule,
|
|
22
|
+
SkyTilesResourcesModule,
|
|
23
|
+
SkyTrimModule], exports: [SkyTileComponent, SkyTileSummaryComponent, SkyTileTitleComponent] }); }
|
|
24
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTileModule, imports: [CommonModule,
|
|
25
|
+
SkyChevronModule,
|
|
26
|
+
SkyIdModule,
|
|
27
|
+
SkyI18nModule,
|
|
28
|
+
SkyIconModule,
|
|
29
|
+
SkyThemeModule,
|
|
30
|
+
SkyTilesResourcesModule,
|
|
31
|
+
SkyTrimModule] }); }
|
|
13
32
|
}
|
|
14
|
-
|
|
15
|
-
SkyTileModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyTileModule, declarations: [SkyTileComponent,
|
|
16
|
-
SkyTileSummaryComponent,
|
|
17
|
-
SkyTileTitleComponent], imports: [CommonModule,
|
|
18
|
-
SkyChevronModule,
|
|
19
|
-
SkyIdModule,
|
|
20
|
-
SkyI18nModule,
|
|
21
|
-
SkyIconModule,
|
|
22
|
-
SkyThemeModule,
|
|
23
|
-
SkyTilesResourcesModule,
|
|
24
|
-
SkyTrimModule], exports: [SkyTileComponent, SkyTileSummaryComponent, SkyTileTitleComponent] });
|
|
25
|
-
SkyTileModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTileModule, imports: [CommonModule,
|
|
26
|
-
SkyChevronModule,
|
|
27
|
-
SkyIdModule,
|
|
28
|
-
SkyI18nModule,
|
|
29
|
-
SkyIconModule,
|
|
30
|
-
SkyThemeModule,
|
|
31
|
-
SkyTilesResourcesModule,
|
|
32
|
-
SkyTrimModule] });
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTileModule, decorators: [{
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTileModule, decorators: [{
|
|
34
34
|
type: NgModule,
|
|
35
35
|
args: [{
|
|
36
36
|
declarations: [
|
|
@@ -51,4 +51,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
51
51
|
exports: [SkyTileComponent, SkyTileSummaryComponent, SkyTileTitleComponent],
|
|
52
52
|
}]
|
|
53
53
|
}] });
|
|
54
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
54
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGlsZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvdGlsZXMvc3JjL2xpYi9tb2R1bGVzL3RpbGVzL3RpbGUvdGlsZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFdBQVcsRUFBRSxhQUFhLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFDekQsT0FBTyxFQUFFLGFBQWEsRUFBRSx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lsZVRpdGxlQ29tcG9uZW50LFxuICBdLFxuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIFNreUNoZXZyb25Nb2R1bGUsXG4gICAgU2t5SWRNb2R1bGUsXG4gICAgU2t5STE4bk1vZHVsZSxcbiAgICBTa3lJY29uTW9kdWxlLFxuICAgIFNreVRoZW1lTW9kdWxlLFxuICAgIFNreVRpbGVzUmVzb3VyY2VzTW9kdWxlLFxuICAgIFNreVRyaW1Nb2R1bGUsXG4gIF0sXG4gIGV4cG9ydHM6IFtTa3lUaWxlQ29tcG9uZW50LCBTa3lUaWxlU3VtbWFyeUNvbXBvbmVudCwgU2t5VGlsZVRpdGxlQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgU2t5VGlsZU1vZHVsZSB7fVxuIl19
|
package/{esm2020 → esm2022}/lib/modules/tiles/tile-content/tile-content-section.component.mjs
RENAMED
|
@@ -5,11 +5,11 @@ import * as i1 from "@skyux/theme";
|
|
|
5
5
|
* Specifies content to display inside a padded section of a SkyTileContentComponent.
|
|
6
6
|
*/
|
|
7
7
|
export class SkyTileContentSectionComponent {
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTileContentSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: SkyTileContentSectionComponent, selector: "sky-tile-content-section", ngImport: i0, template: "<div\n class=\"sky-tile-content-section\"\n [skyThemeClass]=\"{\n 'sky-padding-even-large': 'default'\n }\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [":host-context(.sky-theme-modern) .sky-tile-content-section{padding:15px 0}.sky-theme-modern .sky-tile-content-section{padding:15px 0}\n"], dependencies: [{ kind: "directive", type: i1.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }] }); }
|
|
8
10
|
}
|
|
9
|
-
|
|
10
|
-
SkyTileContentSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyTileContentSectionComponent, selector: "sky-tile-content-section", ngImport: i0, template: "<div\n class=\"sky-tile-content-section\"\n [skyThemeClass]=\"{\n 'sky-padding-even-large': 'default'\n }\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [":host-context(.sky-theme-modern) .sky-tile-content-section{padding:15px 0}.sky-theme-modern .sky-tile-content-section{padding:15px 0}\n"], dependencies: [{ kind: "directive", type: i1.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }] });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTileContentSectionComponent, decorators: [{
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyTileContentSectionComponent, decorators: [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{ selector: 'sky-tile-content-section', template: "<div\n class=\"sky-tile-content-section\"\n [skyThemeClass]=\"{\n 'sky-padding-even-large': 'default'\n }\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [":host-context(.sky-theme-modern) .sky-tile-content-section{padding:15px 0}.sky-theme-modern .sky-tile-content-section{padding:15px 0}\n"] }]
|
|
14
14
|
}] });
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGlsZS1jb250ZW50LXNlY3Rpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3RpbGVzL3NyYy9saWIvbW9kdWxlcy90aWxlcy90aWxlLWNvbnRlbnQvdGlsZS1jb250ZW50LXNlY3Rpb24uY29tcG9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