@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
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
var _SkyTileDashboardColumnComponent_dashboardService;
|
|
2
|
-
import { __classPrivateFieldGet, __classPrivateFieldSet } from "tslib";
|
|
3
|
-
import { Component, ViewChild, ViewContainerRef, } from '@angular/core';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../tile-dashboard/tile-dashboard.service";
|
|
6
|
-
import * as i2 from "ng2-dragula";
|
|
7
|
-
let columnIdIndex = 0;
|
|
8
|
-
/**
|
|
9
|
-
* @internal
|
|
10
|
-
*/
|
|
11
|
-
export class SkyTileDashboardColumnComponent {
|
|
12
|
-
constructor(injector, dashboardService) {
|
|
13
|
-
this.injector = injector;
|
|
14
|
-
_SkyTileDashboardColumnComponent_dashboardService.set(this, void 0);
|
|
15
|
-
__classPrivateFieldSet(this, _SkyTileDashboardColumnComponent_dashboardService, dashboardService, "f");
|
|
16
|
-
this.columnId = `tile-dashboard-column-${++columnIdIndex}`;
|
|
17
|
-
this.bagId = __classPrivateFieldGet(this, _SkyTileDashboardColumnComponent_dashboardService, "f").bagId;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
_SkyTileDashboardColumnComponent_dashboardService = new WeakMap();
|
|
21
|
-
SkyTileDashboardColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTileDashboardColumnComponent, deps: [{ token: i0.Injector }, { token: i1.SkyTileDashboardService }], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
-
SkyTileDashboardColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyTileDashboardColumnComponent, selector: "sky-tile-dashboard-column", viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: "<div class=\"sky-tile-dashboard-column\" [dragula]=\"bagId\">\n <div #content></div>\n</div>\n", styles: [":host{display:flex;flex-grow:1;overflow:hidden}:host{padding:0}:host-context(.sky-responsive-container-xs),:host-context(.sky-responsive-container-sm),:host-context(.sky-responsive-container-md),:host-context(.sky-responsive-container-lg){padding:0}@media (min-width: 768px){:host{padding:0 10px}}:host-context(.sky-responsive-container-sm),:host-context(.sky-responsive-container-md),:host-context(.sky-responsive-container-lg){padding:0 10px}.sky-tile-dashboard-column{min-height:100px;width:100%}@media (min-width: 768px){:host-context(.sky-theme-modern) :host{padding:0 15px}}:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm),:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md),:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg){padding:0 15px}@media (min-width: 768px){.sky-theme-modern :host{padding:0 15px}}.sky-theme-modern :host-context(.sky-responsive-container-sm),.sky-theme-modern :host-context(.sky-responsive-container-md),.sky-theme-modern :host-context(.sky-responsive-container-lg){padding:0 15px}\n"], dependencies: [{ kind: "directive", type: i2.DragulaDirective, selector: "[dragula]", inputs: ["dragula", "dragulaModel"], outputs: ["dragulaModelChange"] }] });
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyTileDashboardColumnComponent, decorators: [{
|
|
24
|
-
type: Component,
|
|
25
|
-
args: [{ selector: 'sky-tile-dashboard-column', template: "<div class=\"sky-tile-dashboard-column\" [dragula]=\"bagId\">\n <div #content></div>\n</div>\n", styles: [":host{display:flex;flex-grow:1;overflow:hidden}:host{padding:0}:host-context(.sky-responsive-container-xs),:host-context(.sky-responsive-container-sm),:host-context(.sky-responsive-container-md),:host-context(.sky-responsive-container-lg){padding:0}@media (min-width: 768px){:host{padding:0 10px}}:host-context(.sky-responsive-container-sm),:host-context(.sky-responsive-container-md),:host-context(.sky-responsive-container-lg){padding:0 10px}.sky-tile-dashboard-column{min-height:100px;width:100%}@media (min-width: 768px){:host-context(.sky-theme-modern) :host{padding:0 15px}}:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-sm),:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-md),:host-context(.sky-theme-modern) :host-context(.sky-responsive-container-lg){padding:0 15px}@media (min-width: 768px){.sky-theme-modern :host{padding:0 15px}}.sky-theme-modern :host-context(.sky-responsive-container-sm),.sky-theme-modern :host-context(.sky-responsive-container-md),.sky-theme-modern :host-context(.sky-responsive-container-lg){padding:0 15px}\n"] }]
|
|
26
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.SkyTileDashboardService }]; }, propDecorators: { content: [{
|
|
27
|
-
type: ViewChild,
|
|
28
|
-
args: ['content', {
|
|
29
|
-
read: ViewContainerR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