@skyux/tiles 7.0.0-beta.8 → 7.0.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/documentation.json +402 -203
- package/esm2020/lib/modules/shared/sky-tiles-resources.module.mjs +5 -5
- package/esm2020/lib/modules/tiles/tile/tile-summary.component.mjs +4 -4
- package/esm2020/lib/modules/tiles/tile/tile-title.component.mjs +4 -4
- package/esm2020/lib/modules/tiles/tile/tile.component.mjs +36 -32
- package/esm2020/lib/modules/tiles/tile/tile.module.mjs +5 -5
- package/esm2020/lib/modules/tiles/tile-content/tile-content-section.component.mjs +4 -4
- package/esm2020/lib/modules/tiles/tile-content/tile-content.component.mjs +4 -4
- package/esm2020/lib/modules/tiles/tile-content/tile-content.module.mjs +5 -5
- package/esm2020/lib/modules/tiles/tile-dashboard/tile-dashboard.component.mjs +45 -35
- package/esm2020/lib/modules/tiles/tile-dashboard/tile-dashboard.module.mjs +5 -5
- package/esm2020/lib/modules/tiles/tile-dashboard/tile-dashboard.service.mjs +353 -327
- package/esm2020/lib/modules/tiles/tile-dashboard-column/tile-dashboard-column.component.mjs +15 -14
- package/esm2020/lib/modules/tiles/tile-dashboard-column/tile-dashboard-column.module.mjs +5 -5
- package/esm2020/lib/modules/tiles/tiles.module.mjs +5 -5
- package/fesm2015/skyux-tiles.mjs +486 -433
- package/fesm2015/skyux-tiles.mjs.map +1 -1
- package/fesm2020/skyux-tiles.mjs +475 -433
- package/fesm2020/skyux-tiles.mjs.map +1 -1
- package/lib/modules/tiles/tile/tile.component.d.ts +5 -9
- package/lib/modules/tiles/tile-dashboard/tile-dashboard.component.d.ts +8 -14
- package/lib/modules/tiles/tile-dashboard/tile-dashboard.service.d.ts +7 -36
- package/lib/modules/tiles/tile-dashboard-column/tile-dashboard-column.component.d.ts +4 -5
- package/package.json +8 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentRef, EventEmitter, QueryList } from '@angular/core';
|
|
2
|
-
import { SkyMediaQueryService, SkyUIConfigService } from '@skyux/core';
|
|
2
|
+
import { SkyDynamicComponentService, SkyMediaQueryService, SkyUIConfigService } from '@skyux/core';
|
|
3
3
|
import { DragulaService } from 'ng2-dragula';
|
|
4
4
|
import { SkyTileDashboardColumnComponent } from '../tile-dashboard-column/tile-dashboard-column.component';
|
|
5
5
|
import { SkyTileDashboardConfig } from '../tile-dashboard-config/tile-dashboard-config';
|
|
@@ -7,9 +7,7 @@ import { SkyTileDashboardConfigLayoutTile } from '../tile-dashboard-config/tile-
|
|
|
7
7
|
import { SkyTileComponent } from '../tile/tile.component';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class SkyTileDashboardService {
|
|
10
|
-
private
|
|
11
|
-
private mediaQuery;
|
|
12
|
-
private uiConfigService;
|
|
10
|
+
#private;
|
|
13
11
|
/**
|
|
14
12
|
* @internal
|
|
15
13
|
*/
|
|
@@ -22,14 +20,7 @@ export declare class SkyTileDashboardService {
|
|
|
22
20
|
* Fires when the tile dashboard's initialization is complete.
|
|
23
21
|
*/
|
|
24
22
|
dashboardInitialized: EventEmitter<void>;
|
|
25
|
-
|
|
26
|
-
private config;
|
|
27
|
-
private defaultConfig;
|
|
28
|
-
private columns;
|
|
29
|
-
private singleColumn;
|
|
30
|
-
private mediaSubscription;
|
|
31
|
-
private settingsKey;
|
|
32
|
-
constructor(dragulaService: DragulaService, mediaQuery: SkyMediaQueryService, uiConfigService: SkyUIConfigService);
|
|
23
|
+
constructor(dragulaService: DragulaService, mediaQuery: SkyMediaQueryService, uiConfigService: SkyUIConfigService, dynamicComponentService?: SkyDynamicComponentService);
|
|
33
24
|
/**
|
|
34
25
|
* @internal
|
|
35
26
|
*/
|
|
@@ -55,11 +46,11 @@ export declare class SkyTileDashboardService {
|
|
|
55
46
|
* @param tile Specifies the tile component.
|
|
56
47
|
* @param isCollapsed Indicates whether the tile is collapsed.
|
|
57
48
|
*/
|
|
58
|
-
setTileCollapsed(tile: SkyTileComponent, isCollapsed: boolean): void;
|
|
49
|
+
setTileCollapsed(tile: SkyTileComponent | undefined, isCollapsed: boolean): void;
|
|
59
50
|
/**
|
|
60
51
|
* @internal
|
|
61
52
|
*/
|
|
62
|
-
getTileComponentType(layoutTile: SkyTileDashboardConfigLayoutTile): any;
|
|
53
|
+
getTileComponentType(layoutTile: SkyTileDashboardConfigLayoutTile | undefined): any;
|
|
63
54
|
/**
|
|
64
55
|
* @internal
|
|
65
56
|
*/
|
|
@@ -67,7 +58,7 @@ export declare class SkyTileDashboardService {
|
|
|
67
58
|
/**
|
|
68
59
|
* @internal
|
|
69
60
|
*/
|
|
70
|
-
getTileComponent(tileId: string): ComponentRef<any
|
|
61
|
+
getTileComponent(tileId: string): ComponentRef<any> | undefined;
|
|
71
62
|
/**
|
|
72
63
|
* @internal
|
|
73
64
|
*/
|
|
@@ -76,26 +67,6 @@ export declare class SkyTileDashboardService {
|
|
|
76
67
|
* @internal
|
|
77
68
|
*/
|
|
78
69
|
moveTileOnKeyDown(tileCmp: SkyTileComponent, direction: string, tileDescription: string): void;
|
|
79
|
-
|
|
80
|
-
private getTileOrRemoveFromLayout;
|
|
81
|
-
private checkReadyAndLoadTiles;
|
|
82
|
-
private loadTiles;
|
|
83
|
-
private loadTileIntoColumn;
|
|
84
|
-
private moveTilesToSingleColumn;
|
|
85
|
-
private moveTilesToMultiColumn;
|
|
86
|
-
private moveTilesToColumn;
|
|
87
|
-
private getConfigForUIState;
|
|
88
|
-
private getSingleColumnLayoutForUIState;
|
|
89
|
-
private getMultiColumnLayoutForUIState;
|
|
90
|
-
private getTilesInEl;
|
|
91
|
-
private initMediaQueries;
|
|
92
|
-
private initDragula;
|
|
93
|
-
private getColumnEl;
|
|
94
|
-
private findTile;
|
|
95
|
-
private findTileColumn;
|
|
96
|
-
private initToDefaults;
|
|
97
|
-
private setUserConfig;
|
|
98
|
-
private checkForNewTiles;
|
|
99
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyTileDashboardService, never>;
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyTileDashboardService, [null, null, null, { optional: true; }]>;
|
|
100
71
|
static ɵprov: i0.ɵɵInjectableDeclaration<SkyTileDashboardService>;
|
|
101
72
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
2
2
|
import { SkyTileDashboardService } from '../tile-dashboard/tile-dashboard.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
export declare class SkyTileDashboardColumnComponent {
|
|
8
|
-
|
|
8
|
+
#private;
|
|
9
9
|
injector: Injector;
|
|
10
|
-
private dashboardService;
|
|
11
10
|
bagId: string;
|
|
12
11
|
columnId: string;
|
|
13
|
-
content:
|
|
14
|
-
constructor(
|
|
12
|
+
content: ElementRef | undefined;
|
|
13
|
+
constructor(injector: Injector, dashboardService: SkyTileDashboardService);
|
|
15
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyTileDashboardColumnComponent, never>;
|
|
16
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkyTileDashboardColumnComponent, "sky-tile-dashboard-column", never, {}, {}, never, never, false>;
|
|
17
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/tiles",
|
|
3
|
-
"version": "7.0.0
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@angular/common": "^14.2.
|
|
36
|
-
"@angular/core": "^14.2.
|
|
37
|
-
"@skyux/animations": "7.0.0
|
|
38
|
-
"@skyux/core": "7.0.0
|
|
39
|
-
"@skyux/i18n": "7.0.0
|
|
40
|
-
"@skyux/indicators": "7.0.0
|
|
41
|
-
"@skyux/theme": "7.0.0
|
|
35
|
+
"@angular/common": "^14.2.11",
|
|
36
|
+
"@angular/core": "^14.2.11",
|
|
37
|
+
"@skyux/animations": "7.0.0",
|
|
38
|
+
"@skyux/core": "7.0.0",
|
|
39
|
+
"@skyux/i18n": "7.0.0",
|
|
40
|
+
"@skyux/indicators": "7.0.0",
|
|
41
|
+
"@skyux/theme": "7.0.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"dragula": "3.7.3",
|