@skyux/pages 5.7.2 → 6.0.0-beta.2
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/esm2020/index.mjs +12 -0
- package/esm2020/lib/modules/action-hub/action-hub-buttons.component.mjs +20 -0
- package/esm2020/lib/modules/action-hub/action-hub-content.component.mjs +14 -0
- package/esm2020/lib/modules/action-hub/action-hub.component.mjs +91 -0
- package/esm2020/lib/modules/action-hub/action-hub.module.mjs +86 -0
- package/esm2020/lib/modules/action-hub/types/action-hub-needs-attention.mjs +2 -0
- package/esm2020/lib/modules/action-hub/types/page-link.mjs +2 -0
- package/esm2020/lib/modules/action-hub/types/recent-link.mjs +2 -0
- package/esm2020/lib/modules/link-list/link-list.component.mjs +19 -0
- package/esm2020/lib/modules/needs-attention/needs-attention.component.mjs +22 -0
- package/esm2020/lib/modules/page-header/page-header.component.mjs +20 -0
- package/esm2020/lib/modules/page-header/page-header.module.mjs +41 -0
- package/esm2020/lib/modules/shared/sky-pages-resources.module.mjs +52 -0
- package/esm2020/skyux-pages.mjs +5 -0
- package/fesm2015/skyux-pages.mjs +326 -0
- package/fesm2015/skyux-pages.mjs.map +1 -0
- package/fesm2020/skyux-pages.mjs +326 -0
- package/fesm2020/skyux-pages.mjs.map +1 -0
- package/package.json +31 -15
- package/bundles/skyux-pages.umd.js +0 -399
- package/esm2015/index.js +0 -12
- package/esm2015/index.js.map +0 -1
- package/esm2015/lib/modules/action-hub/action-hub-buttons.component.js +0 -23
- package/esm2015/lib/modules/action-hub/action-hub-buttons.component.js.map +0 -1
- package/esm2015/lib/modules/action-hub/action-hub-content.component.js +0 -17
- package/esm2015/lib/modules/action-hub/action-hub-content.component.js.map +0 -1
- package/esm2015/lib/modules/action-hub/action-hub.component.js +0 -95
- package/esm2015/lib/modules/action-hub/action-hub.component.js.map +0 -1
- package/esm2015/lib/modules/action-hub/action-hub.module.js +0 -86
- package/esm2015/lib/modules/action-hub/action-hub.module.js.map +0 -1
- package/esm2015/lib/modules/action-hub/types/action-hub-needs-attention.js +0 -2
- package/esm2015/lib/modules/action-hub/types/action-hub-needs-attention.js.map +0 -1
- package/esm2015/lib/modules/action-hub/types/page-link.js +0 -2
- package/esm2015/lib/modules/action-hub/types/page-link.js.map +0 -1
- package/esm2015/lib/modules/action-hub/types/recent-link.js +0 -2
- package/esm2015/lib/modules/action-hub/types/recent-link.js.map +0 -1
- package/esm2015/lib/modules/link-list/link-list.component.js +0 -23
- package/esm2015/lib/modules/link-list/link-list.component.js.map +0 -1
- package/esm2015/lib/modules/needs-attention/needs-attention.component.js +0 -26
- package/esm2015/lib/modules/needs-attention/needs-attention.component.js.map +0 -1
- package/esm2015/lib/modules/page-header/page-header.component.js +0 -24
- package/esm2015/lib/modules/page-header/page-header.component.js.map +0 -1
- package/esm2015/lib/modules/page-header/page-header.module.js +0 -41
- package/esm2015/lib/modules/page-header/page-header.module.js.map +0 -1
- package/esm2015/lib/modules/shared/sky-pages-resources.module.js +0 -52
- package/esm2015/lib/modules/shared/sky-pages-resources.module.js.map +0 -1
- package/esm2015/skyux-pages.js +0 -5
- package/esm2015/skyux-pages.js.map +0 -1
- package/fesm2015/skyux-pages.js +0 -348
- package/fesm2015/skyux-pages.js.map +0 -1
|
@@ -1,399 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@angular/router'), require('@skyux/i18n'), require('@skyux/indicators'), require('@skyux/layout'), require('@skyux/router'), require('@skyux/theme')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@skyux/pages', ['exports', '@angular/common', '@angular/core', '@angular/router', '@skyux/i18n', '@skyux/indicators', '@skyux/layout', '@skyux/router', '@skyux/theme'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.skyux = global.skyux || {}, global.skyux.pages = {}), global.ng.common, global.ng.core, global.ng.router, global.i6, global.i2, global.i1, global.i4, global.i3));
|
|
5
|
-
})(this, (function (exports, i2$1, i0, router, i6, i2, i1, i4, i3) { 'use strict';
|
|
6
|
-
|
|
7
|
-
function _interopNamespace(e) {
|
|
8
|
-
if (e && e.__esModule) return e;
|
|
9
|
-
var n = Object.create(null);
|
|
10
|
-
if (e) {
|
|
11
|
-
Object.keys(e).forEach(function (k) {
|
|
12
|
-
if (k !== 'default') {
|
|
13
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () { return e[k]; }
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
n["default"] = e;
|
|
22
|
-
return Object.freeze(n);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
|
|
26
|
-
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
27
|
-
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
28
|
-
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
29
|
-
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
30
|
-
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
31
|
-
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
32
|
-
|
|
33
|
-
var SkyLinkListComponent = /** @class */ (function () {
|
|
34
|
-
function SkyLinkListComponent() {
|
|
35
|
-
}
|
|
36
|
-
return SkyLinkListComponent;
|
|
37
|
-
}());
|
|
38
|
-
SkyLinkListComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLinkListComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
39
|
-
SkyLinkListComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyLinkListComponent, selector: "sky-link-list", inputs: { links: "links", title: "title" }, ngImport: i0__namespace, template: "<ng-container\n *ngIf=\"links === 'loading'; then loadingTemplateRef; else linksTemplateRef\"\n></ng-container>\n\n<ng-template #headingTemplateRef>\n <h2 class=\"sky-font-heading-4 sky-margin-stacked-sm\">\n {{ title }}\n </h2>\n</ng-template>\n<ng-template #loadingTemplateRef>\n <sky-wait [isWaiting]=\"true\"></sky-wait>\n <ng-container [ngTemplateOutlet]=\"headingTemplateRef\"></ng-container>\n</ng-template>\n<ng-template #linksTemplateRef>\n <ng-container *ngIf=\"links?.length > 0\">\n <ng-container [ngTemplateOutlet]=\"headingTemplateRef\"></ng-container>\n <ul\n class=\"sky-link-list\"\n [skyThemeClass]=\"{\n 'sky-margin-stacked-separate': 'default',\n 'sky-margin-stacked-xl': 'modern'\n }\"\n >\n <li\n *ngFor=\"let link of links\"\n [skyThemeClass]=\"{\n 'sky-margin-stacked-default': 'default',\n 'sky-margin-stacked-sm': 'modern'\n }\"\n >\n <a *ngIf=\"link.permalink.url\" [skyHref]=\"link.permalink.url\">\n {{ link.label }}\n </a>\n <a\n *ngIf=\"link.permalink.route\"\n [skyAppLink]=\"link.permalink.route.commands\"\n [queryParams]=\"link.permalink.route.extras?.queryParams\"\n [queryParamsHandling]=\"\n link.permalink.route.extras?.queryParamsHandling\n \"\n [fragment]=\"link.permalink.route.extras?.fragment\"\n [preserveFragment]=\"link.permalink.route.extras?.preserveFragment\"\n [skipLocationChange]=\"link.permalink.route.extras?.skipLocationChange\"\n [replaceUrl]=\"link.permalink.route.extras?.replaceUrl\"\n [state]=\"link.permalink.route.extras?.state\"\n >\n {{ link.label }}\n </a>\n </li>\n </ul>\n </ng-container>\n</ng-template>\n", styles: [".sky-link-list{list-style:none;margin-left:0;padding-left:0}\n"], components: [{ type: i2__namespace.λ14, selector: "sky-wait", inputs: ["ariaLabel", "isWaiting", "isFullPage", "isNonBlocking"] }], directives: [{ type: i2__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i2__namespace$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4__namespace.λ1, selector: "[skyHref]", inputs: ["skyHref", "skyHrefElse"] }, { type: i4__namespace.λ3, selector: "[skyAppLink]", inputs: ["skyAppLink"] }] });
|
|
40
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyLinkListComponent, decorators: [{
|
|
41
|
-
type: i0.Component,
|
|
42
|
-
args: [{
|
|
43
|
-
selector: 'sky-link-list',
|
|
44
|
-
template: "<ng-container\n *ngIf=\"links === 'loading'; then loadingTemplateRef; else linksTemplateRef\"\n></ng-container>\n\n<ng-template #headingTemplateRef>\n <h2 class=\"sky-font-heading-4 sky-margin-stacked-sm\">\n {{ title }}\n </h2>\n</ng-template>\n<ng-template #loadingTemplateRef>\n <sky-wait [isWaiting]=\"true\"></sky-wait>\n <ng-container [ngTemplateOutlet]=\"headingTemplateRef\"></ng-container>\n</ng-template>\n<ng-template #linksTemplateRef>\n <ng-container *ngIf=\"links?.length > 0\">\n <ng-container [ngTemplateOutlet]=\"headingTemplateRef\"></ng-container>\n <ul\n class=\"sky-link-list\"\n [skyThemeClass]=\"{\n 'sky-margin-stacked-separate': 'default',\n 'sky-margin-stacked-xl': 'modern'\n }\"\n >\n <li\n *ngFor=\"let link of links\"\n [skyThemeClass]=\"{\n 'sky-margin-stacked-default': 'default',\n 'sky-margin-stacked-sm': 'modern'\n }\"\n >\n <a *ngIf=\"link.permalink.url\" [skyHref]=\"link.permalink.url\">\n {{ link.label }}\n </a>\n <a\n *ngIf=\"link.permalink.route\"\n [skyAppLink]=\"link.permalink.route.commands\"\n [queryParams]=\"link.permalink.route.extras?.queryParams\"\n [queryParamsHandling]=\"\n link.permalink.route.extras?.queryParamsHandling\n \"\n [fragment]=\"link.permalink.route.extras?.fragment\"\n [preserveFragment]=\"link.permalink.route.extras?.preserveFragment\"\n [skipLocationChange]=\"link.permalink.route.extras?.skipLocationChange\"\n [replaceUrl]=\"link.permalink.route.extras?.replaceUrl\"\n [state]=\"link.permalink.route.extras?.state\"\n >\n {{ link.label }}\n </a>\n </li>\n </ul>\n </ng-container>\n</ng-template>\n",
|
|
45
|
-
styles: [".sky-link-list{list-style:none;margin-left:0;padding-left:0}\n"],
|
|
46
|
-
}]
|
|
47
|
-
}], propDecorators: { links: [{
|
|
48
|
-
type: i0.Input
|
|
49
|
-
}], title: [{
|
|
50
|
-
type: i0.Input
|
|
51
|
-
}] } });
|
|
52
|
-
|
|
53
|
-
var SkyNeedsAttentionComponent = /** @class */ (function () {
|
|
54
|
-
function SkyNeedsAttentionComponent() {
|
|
55
|
-
this.gutterSize = 'large';
|
|
56
|
-
}
|
|
57
|
-
return SkyNeedsAttentionComponent;
|
|
58
|
-
}());
|
|
59
|
-
SkyNeedsAttentionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyNeedsAttentionComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
60
|
-
SkyNeedsAttentionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyNeedsAttentionComponent, selector: "sky-needs-attention", inputs: { items: "items" }, ngImport: i0__namespace, template: "<div\n class=\"sky-needs-attention-container\"\n [skyThemeClass]=\"{\n 'sky-padding-even-large sky-shadow': 'default',\n 'sky-box sky-elevation-1-bordered sky-padding-even-xl': 'modern'\n }\"\n>\n <h2 class=\"sky-font-heading-4\">\n {{ 'sky_action_hub_needs_attention' | skyLibResources }}\n </h2>\n <sky-fluid-grid [gutterSize]=\"gutterSize\" [disableMargin]=\"true\">\n <sky-row>\n <sky-column *ngIf=\"items?.length === 0\" [screenXSmall]=\"12\">\n {{ 'sky_action_hub_needs_attention_empty' | skyLibResources }}\n </sky-column>\n <sky-column\n *ngFor=\"let item of items; let isLast = last\"\n [screenSmall]=\"items.length > 6 ? 6 : 12\"\n [screenXSmall]=\"12\"\n >\n <ng-template #link>\n <sky-icon\n *skyThemeIf=\"'default'\"\n class=\"sky-needs-attention-item-icon\"\n icon=\"chevron-right\"\n ></sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n class=\"sky-needs-attention-item-icon\"\n icon=\"chevron-right\"\n iconType=\"skyux\"\n ></sky-icon>\n <sky-key-info\n layout=\"horizontal\"\n class=\"sky-needs-attention-item-key-info\"\n >\n <sky-key-info-label>{{ item.message }}</sky-key-info-label>\n <sky-key-info-value\n [skyThemeClass]=\"{\n 'sky-emphasized': 'default',\n 'sky-font-display-4': 'modern'\n }\"\n >\n {{ item.title }}\n </sky-key-info-value>\n </sky-key-info>\n </ng-template>\n <a\n *ngIf=\"item.permalink.route\"\n [skyAppLink]=\"item.permalink.route.commands\"\n [queryParams]=\"item.permalink.route.extras?.queryParams\"\n [queryParamsHandling]=\"\n item.permalink.route.extras?.queryParamsHandling\n \"\n [fragment]=\"item.permalink.route.extras?.fragment\"\n [preserveFragment]=\"item.permalink.route.extras?.preserveFragment\"\n [skipLocationChange]=\"item.permalink.route.extras?.skipLocationChange\"\n [replaceUrl]=\"item.permalink.route.extras?.replaceUrl\"\n [state]=\"item.permalink.route.extras?.state\"\n class=\"\n sky-needs-attention-item\n sky-padding-vertical-lg\n sky-border-bottom-row\n \"\n >\n <ng-container *ngTemplateOutlet=\"link\"></ng-container>\n </a>\n <a\n *ngIf=\"item.permalink.url\"\n [skyHref]=\"item.permalink.url\"\n class=\"\n sky-needs-attention-item\n sky-padding-vertical-lg\n sky-border-bottom-row\n \"\n >\n <ng-container *ngTemplateOutlet=\"link\"></ng-container>\n </a>\n </sky-column>\n </sky-row>\n </sky-fluid-grid>\n</div>\n", styles: [".sky-needs-attention-container{background-color:#fff}.sky-needs-attention-item{display:flex;flex-wrap:nowrap;align-items:center}.sky-needs-attention-item-icon{color:#686c73}.sky-needs-attention-item-key-info{flex-grow:1}.sky-needs-attention-item-icon{order:1}.sky-needs-attention-item sky-key-info-value{color:#0974a1}.sky-needs-attention-item:hover sky-key-info-value,.sky-needs-attention-item:hover sky-key-info-label{text-decoration:underline}.sky-needs-attention-item:focus{outline:none}.sky-needs-attention-item:focus:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 8px #0000004d}sky-column:last-child>a{border-bottom:none}\n"], components: [{ type: i1__namespace.λ22, selector: "sky-fluid-grid", inputs: ["disableMargin", "gutterSize"] }, { type: i1__namespace.λ23, selector: "sky-row", inputs: ["reverseColumnOrder"] }, { type: i1__namespace.λ24, selector: "sky-column", inputs: ["screenXSmall", "screenSmall", "screenMedium", "screenLarge"] }, { type: i2__namespace.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { type: i2__namespace.λ8, selector: "sky-key-info", inputs: ["layout"] }, { type: i2__namespace.λ6, selector: "sky-key-info-label" }, { type: i2__namespace.λ7, selector: "sky-key-info-value" }], directives: [{ type: i3__namespace.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i2__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3__namespace.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }, { type: i4__namespace.λ3, selector: "[skyAppLink]", inputs: ["skyAppLink"] }, { type: i2__namespace$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace.λ1, selector: "[skyHref]", inputs: ["skyHref", "skyHrefElse"] }], pipes: { "skyLibResources": i6__namespace.SkyLibResourcesPipe } });
|
|
61
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyNeedsAttentionComponent, decorators: [{
|
|
62
|
-
type: i0.Component,
|
|
63
|
-
args: [{
|
|
64
|
-
selector: 'sky-needs-attention',
|
|
65
|
-
template: "<div\n class=\"sky-needs-attention-container\"\n [skyThemeClass]=\"{\n 'sky-padding-even-large sky-shadow': 'default',\n 'sky-box sky-elevation-1-bordered sky-padding-even-xl': 'modern'\n }\"\n>\n <h2 class=\"sky-font-heading-4\">\n {{ 'sky_action_hub_needs_attention' | skyLibResources }}\n </h2>\n <sky-fluid-grid [gutterSize]=\"gutterSize\" [disableMargin]=\"true\">\n <sky-row>\n <sky-column *ngIf=\"items?.length === 0\" [screenXSmall]=\"12\">\n {{ 'sky_action_hub_needs_attention_empty' | skyLibResources }}\n </sky-column>\n <sky-column\n *ngFor=\"let item of items; let isLast = last\"\n [screenSmall]=\"items.length > 6 ? 6 : 12\"\n [screenXSmall]=\"12\"\n >\n <ng-template #link>\n <sky-icon\n *skyThemeIf=\"'default'\"\n class=\"sky-needs-attention-item-icon\"\n icon=\"chevron-right\"\n ></sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n class=\"sky-needs-attention-item-icon\"\n icon=\"chevron-right\"\n iconType=\"skyux\"\n ></sky-icon>\n <sky-key-info\n layout=\"horizontal\"\n class=\"sky-needs-attention-item-key-info\"\n >\n <sky-key-info-label>{{ item.message }}</sky-key-info-label>\n <sky-key-info-value\n [skyThemeClass]=\"{\n 'sky-emphasized': 'default',\n 'sky-font-display-4': 'modern'\n }\"\n >\n {{ item.title }}\n </sky-key-info-value>\n </sky-key-info>\n </ng-template>\n <a\n *ngIf=\"item.permalink.route\"\n [skyAppLink]=\"item.permalink.route.commands\"\n [queryParams]=\"item.permalink.route.extras?.queryParams\"\n [queryParamsHandling]=\"\n item.permalink.route.extras?.queryParamsHandling\n \"\n [fragment]=\"item.permalink.route.extras?.fragment\"\n [preserveFragment]=\"item.permalink.route.extras?.preserveFragment\"\n [skipLocationChange]=\"item.permalink.route.extras?.skipLocationChange\"\n [replaceUrl]=\"item.permalink.route.extras?.replaceUrl\"\n [state]=\"item.permalink.route.extras?.state\"\n class=\"\n sky-needs-attention-item\n sky-padding-vertical-lg\n sky-border-bottom-row\n \"\n >\n <ng-container *ngTemplateOutlet=\"link\"></ng-container>\n </a>\n <a\n *ngIf=\"item.permalink.url\"\n [skyHref]=\"item.permalink.url\"\n class=\"\n sky-needs-attention-item\n sky-padding-vertical-lg\n sky-border-bottom-row\n \"\n >\n <ng-container *ngTemplateOutlet=\"link\"></ng-container>\n </a>\n </sky-column>\n </sky-row>\n </sky-fluid-grid>\n</div>\n",
|
|
66
|
-
styles: [".sky-needs-attention-container{background-color:#fff}.sky-needs-attention-item{display:flex;flex-wrap:nowrap;align-items:center}.sky-needs-attention-item-icon{color:#686c73}.sky-needs-attention-item-key-info{flex-grow:1}.sky-needs-attention-item-icon{order:1}.sky-needs-attention-item sky-key-info-value{color:#0974a1}.sky-needs-attention-item:hover sky-key-info-value,.sky-needs-attention-item:hover sky-key-info-label{text-decoration:underline}.sky-needs-attention-item:focus{outline:none}.sky-needs-attention-item:focus:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 8px #0000004d}sky-column:last-child>a{border-bottom:none}\n"],
|
|
67
|
-
}]
|
|
68
|
-
}], propDecorators: { items: [{
|
|
69
|
-
type: i0.Input
|
|
70
|
-
}] } });
|
|
71
|
-
|
|
72
|
-
var parentLink;
|
|
73
|
-
var SkyPageHeaderComponent = /** @class */ (function () {
|
|
74
|
-
function SkyPageHeaderComponent() {
|
|
75
|
-
}
|
|
76
|
-
return SkyPageHeaderComponent;
|
|
77
|
-
}());
|
|
78
|
-
SkyPageHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyPageHeaderComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
79
|
-
SkyPageHeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyPageHeaderComponent, selector: "sky-page-header", inputs: { parentLink: "parentLink", pageTitle: "pageTitle" }, ngImport: i0__namespace, template: "<h1 class=\"sky-page-header\">\n <span *ngIf=\"parentLink\" class=\"sky-page-header-parent-link-wrapper\">\n <a\n *ngIf=\"parentLink.permalink?.url\"\n [skyHref]=\"parentLink.permalink.url\"\n class=\"sky-font-heading-1 sky-page-header-parent-link\"\n >{{ parentLink.label }}</a\n >\n <a\n *ngIf=\"parentLink.permalink?.route\"\n [skyAppLink]=\"parentLink.permalink.route.commands\"\n [queryParams]=\"parentLink.permalink.route.extras?.queryParams\"\n [queryParamsHandling]=\"\n parentLink.permalink.route.extras?.queryParamsHandling\n \"\n [fragment]=\"parentLink.permalink.route.extras?.fragment\"\n [preserveFragment]=\"parentLink.permalink.route.extras?.preserveFragment\"\n [skipLocationChange]=\"\n parentLink.permalink.route.extras?.skipLocationChange\n \"\n [replaceUrl]=\"parentLink.permalink.route.extras?.replaceUrl\"\n [state]=\"parentLink.permalink.route.extras?.state\"\n class=\"sky-font-heading-1 sky-page-header-parent-link\"\n >{{ parentLink.label }}</a\n >\n <span class=\"sky-page-header-chevron\">\n <sky-icon *skyThemeIf=\"'default'\" icon=\"chevron-right\"></sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n icon=\"chevron-right\"\n iconType=\"skyux\"\n ></sky-icon>\n </span>\n </span>\n <wbr *ngIf=\"parentLink\" />\n <span class=\"sky-page-header-page-title sky-font-heading-1\">\n {{ pageTitle }}\n </span>\n</h1>\n", styles: [".sky-page-header-page-title,.sky-page-header-parent-link-wrapper{display:inline-block;block-size:-moz-fit-content;block-size:fit-content}.sky-page-header-parent-link{color:#0974a1}.sky-page-header-chevron{font-size:16px;margin:0 10px}.sky-page-header-chevron,.sky-page-header-parent-link,.sky-page-header-page-title{vertical-align:middle}:host-context(.sky-theme-modern) .sky-page-header-parent-link{color:#1870b8}.sky-theme-modern .sky-page-header-parent-link{color:#1870b8}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-page-header-parent-link{color:#009cd1}.sky-theme-modern.sky-theme-mode-dark .sky-page-header-parent-link{color:#009cd1}\n"], components: [{ type: i2__namespace.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }], directives: [{ type: i2__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.λ1, selector: "[skyHref]", inputs: ["skyHref", "skyHrefElse"] }, { type: i4__namespace.λ3, selector: "[skyAppLink]", inputs: ["skyAppLink"] }, { type: i3__namespace.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }] });
|
|
80
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyPageHeaderComponent, decorators: [{
|
|
81
|
-
type: i0.Component,
|
|
82
|
-
args: [{
|
|
83
|
-
selector: 'sky-page-header',
|
|
84
|
-
template: "<h1 class=\"sky-page-header\">\n <span *ngIf=\"parentLink\" class=\"sky-page-header-parent-link-wrapper\">\n <a\n *ngIf=\"parentLink.permalink?.url\"\n [skyHref]=\"parentLink.permalink.url\"\n class=\"sky-font-heading-1 sky-page-header-parent-link\"\n >{{ parentLink.label }}</a\n >\n <a\n *ngIf=\"parentLink.permalink?.route\"\n [skyAppLink]=\"parentLink.permalink.route.commands\"\n [queryParams]=\"parentLink.permalink.route.extras?.queryParams\"\n [queryParamsHandling]=\"\n parentLink.permalink.route.extras?.queryParamsHandling\n \"\n [fragment]=\"parentLink.permalink.route.extras?.fragment\"\n [preserveFragment]=\"parentLink.permalink.route.extras?.preserveFragment\"\n [skipLocationChange]=\"\n parentLink.permalink.route.extras?.skipLocationChange\n \"\n [replaceUrl]=\"parentLink.permalink.route.extras?.replaceUrl\"\n [state]=\"parentLink.permalink.route.extras?.state\"\n class=\"sky-font-heading-1 sky-page-header-parent-link\"\n >{{ parentLink.label }}</a\n >\n <span class=\"sky-page-header-chevron\">\n <sky-icon *skyThemeIf=\"'default'\" icon=\"chevron-right\"></sky-icon>\n <sky-icon\n *skyThemeIf=\"'modern'\"\n icon=\"chevron-right\"\n iconType=\"skyux\"\n ></sky-icon>\n </span>\n </span>\n <wbr *ngIf=\"parentLink\" />\n <span class=\"sky-page-header-page-title sky-font-heading-1\">\n {{ pageTitle }}\n </span>\n</h1>\n",
|
|
85
|
-
styles: [".sky-page-header-page-title,.sky-page-header-parent-link-wrapper{display:inline-block;block-size:-moz-fit-content;block-size:fit-content}.sky-page-header-parent-link{color:#0974a1}.sky-page-header-chevron{font-size:16px;margin:0 10px}.sky-page-header-chevron,.sky-page-header-parent-link,.sky-page-header-page-title{vertical-align:middle}:host-context(.sky-theme-modern) .sky-page-header-parent-link{color:#1870b8}.sky-theme-modern .sky-page-header-parent-link{color:#1870b8}:host-context(.sky-theme-modern.sky-theme-mode-dark) .sky-page-header-parent-link{color:#009cd1}.sky-theme-modern.sky-theme-mode-dark .sky-page-header-parent-link{color:#009cd1}\n"],
|
|
86
|
-
}]
|
|
87
|
-
}], propDecorators: { parentLink: [{
|
|
88
|
-
type: i0.Input
|
|
89
|
-
}], pageTitle: [{
|
|
90
|
-
type: i0.Input
|
|
91
|
-
}] } });
|
|
92
|
-
|
|
93
|
-
var SkyPageHeaderModule = /** @class */ (function () {
|
|
94
|
-
function SkyPageHeaderModule() {
|
|
95
|
-
}
|
|
96
|
-
return SkyPageHeaderModule;
|
|
97
|
-
}());
|
|
98
|
-
SkyPageHeaderModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyPageHeaderModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
99
|
-
SkyPageHeaderModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyPageHeaderModule, declarations: [SkyPageHeaderComponent], imports: [i2$1.CommonModule,
|
|
100
|
-
router.RouterModule,
|
|
101
|
-
i4.SkyAppLinkModule,
|
|
102
|
-
i2.SkyIconModule,
|
|
103
|
-
i3.SkyThemeModule,
|
|
104
|
-
i4.SkyHrefModule], exports: [SkyPageHeaderComponent] });
|
|
105
|
-
SkyPageHeaderModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyPageHeaderModule, imports: [[
|
|
106
|
-
i2$1.CommonModule,
|
|
107
|
-
router.RouterModule,
|
|
108
|
-
i4.SkyAppLinkModule,
|
|
109
|
-
i2.SkyIconModule,
|
|
110
|
-
i3.SkyThemeModule,
|
|
111
|
-
i4.SkyHrefModule,
|
|
112
|
-
]] });
|
|
113
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyPageHeaderModule, decorators: [{
|
|
114
|
-
type: i0.NgModule,
|
|
115
|
-
args: [{
|
|
116
|
-
imports: [
|
|
117
|
-
i2$1.CommonModule,
|
|
118
|
-
router.RouterModule,
|
|
119
|
-
i4.SkyAppLinkModule,
|
|
120
|
-
i2.SkyIconModule,
|
|
121
|
-
i3.SkyThemeModule,
|
|
122
|
-
i4.SkyHrefModule,
|
|
123
|
-
],
|
|
124
|
-
declarations: [SkyPageHeaderComponent],
|
|
125
|
-
exports: [SkyPageHeaderComponent],
|
|
126
|
-
}]
|
|
127
|
-
}] });
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* NOTICE: DO NOT MODIFY THIS FILE!
|
|
131
|
-
* The contents of this file were automatically generated by
|
|
132
|
-
* the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-pages' schematic.
|
|
133
|
-
* To update this file, simply rerun the command.
|
|
134
|
-
*/
|
|
135
|
-
var RESOURCES = {
|
|
136
|
-
'EN-US': {
|
|
137
|
-
sky_action_hub_related_links: { message: 'Related Links' },
|
|
138
|
-
sky_action_hub_recent_links: { message: 'Recently Accessed' },
|
|
139
|
-
sky_action_hub_needs_attention: { message: 'Needs Attention' },
|
|
140
|
-
sky_action_hub_needs_attention_empty: {
|
|
141
|
-
message: 'No issues currently need attention',
|
|
142
|
-
},
|
|
143
|
-
},
|
|
144
|
-
};
|
|
145
|
-
var SkyPagesResourcesProvider = /** @class */ (function () {
|
|
146
|
-
function SkyPagesResourcesProvider() {
|
|
147
|
-
}
|
|
148
|
-
SkyPagesResourcesProvider.prototype.getString = function (localeInfo, name) {
|
|
149
|
-
return i6.getLibStringForLocale(RESOURCES, localeInfo.locale, name);
|
|
150
|
-
};
|
|
151
|
-
return SkyPagesResourcesProvider;
|
|
152
|
-
}());
|
|
153
|
-
/**
|
|
154
|
-
* Import into any component library module that needs to use resource strings.
|
|
155
|
-
*/
|
|
156
|
-
var SkyPagesResourcesModule = /** @class */ (function () {
|
|
157
|
-
function SkyPagesResourcesModule() {
|
|
158
|
-
}
|
|
159
|
-
return SkyPagesResourcesModule;
|
|
160
|
-
}());
|
|
161
|
-
SkyPagesResourcesModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyPagesResourcesModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
162
|
-
SkyPagesResourcesModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyPagesResourcesModule, exports: [i6.SkyI18nModule] });
|
|
163
|
-
SkyPagesResourcesModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyPagesResourcesModule, providers: [
|
|
164
|
-
{
|
|
165
|
-
provide: i6.SKY_LIB_RESOURCES_PROVIDERS,
|
|
166
|
-
useClass: SkyPagesResourcesProvider,
|
|
167
|
-
multi: true,
|
|
168
|
-
},
|
|
169
|
-
], imports: [i6.SkyI18nModule] });
|
|
170
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyPagesResourcesModule, decorators: [{
|
|
171
|
-
type: i0.NgModule,
|
|
172
|
-
args: [{
|
|
173
|
-
exports: [i6.SkyI18nModule],
|
|
174
|
-
providers: [
|
|
175
|
-
{
|
|
176
|
-
provide: i6.SKY_LIB_RESOURCES_PROVIDERS,
|
|
177
|
-
useClass: SkyPagesResourcesProvider,
|
|
178
|
-
multi: true,
|
|
179
|
-
},
|
|
180
|
-
],
|
|
181
|
-
}]
|
|
182
|
-
}] });
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* Displays buttons after the page title.
|
|
186
|
-
*
|
|
187
|
-
* Example:
|
|
188
|
-
*
|
|
189
|
-
* ```html
|
|
190
|
-
* <a class="sky-btn sky-btn-default" href="path/to/new">New</a>
|
|
191
|
-
* ```
|
|
192
|
-
*/
|
|
193
|
-
var SkyActionHubButtonsComponent = /** @class */ (function () {
|
|
194
|
-
function SkyActionHubButtonsComponent() {
|
|
195
|
-
}
|
|
196
|
-
return SkyActionHubButtonsComponent;
|
|
197
|
-
}());
|
|
198
|
-
SkyActionHubButtonsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionHubButtonsComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
199
|
-
SkyActionHubButtonsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyActionHubButtonsComponent, selector: "sky-action-hub-buttons", ngImport: i0__namespace, template: "<ng-content></ng-content>\n" });
|
|
200
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionHubButtonsComponent, decorators: [{
|
|
201
|
-
type: i0.Component,
|
|
202
|
-
args: [{
|
|
203
|
-
selector: 'sky-action-hub-buttons',
|
|
204
|
-
template: "<ng-content></ng-content>\n",
|
|
205
|
-
}]
|
|
206
|
-
}] });
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* Displays additional content after the action items.
|
|
210
|
-
*/
|
|
211
|
-
var SkyActionHubContentComponent = /** @class */ (function () {
|
|
212
|
-
function SkyActionHubContentComponent() {
|
|
213
|
-
}
|
|
214
|
-
return SkyActionHubContentComponent;
|
|
215
|
-
}());
|
|
216
|
-
SkyActionHubContentComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionHubContentComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
217
|
-
SkyActionHubContentComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyActionHubContentComponent, selector: "sky-action-hub-content", ngImport: i0__namespace, template: "<ng-content></ng-content>\n" });
|
|
218
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionHubContentComponent, decorators: [{
|
|
219
|
-
type: i0.Component,
|
|
220
|
-
args: [{
|
|
221
|
-
selector: 'sky-action-hub-content',
|
|
222
|
-
template: "<ng-content></ng-content>\n",
|
|
223
|
-
}]
|
|
224
|
-
}] });
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* Creates an action hub to direct user attention to important
|
|
228
|
-
* actions and provide quick access to common tasks.
|
|
229
|
-
*/
|
|
230
|
-
var SkyActionHubComponent = /** @class */ (function () {
|
|
231
|
-
function SkyActionHubComponent() {
|
|
232
|
-
/**
|
|
233
|
-
* Provides a list of actions that users must perform based on business requirements or best practices, or `"loading"` to display a wait indicator.
|
|
234
|
-
*/
|
|
235
|
-
this.needsAttention = [];
|
|
236
|
-
/**
|
|
237
|
-
* Provides a list of recently accessed links, or `"loading"` to display a wait indicator.
|
|
238
|
-
*/
|
|
239
|
-
this.recentLinks = [];
|
|
240
|
-
/**
|
|
241
|
-
* Provides a list of related links, or `"loading"` to display a wait indicator.
|
|
242
|
-
*/
|
|
243
|
-
this.relatedLinks = [];
|
|
244
|
-
/**
|
|
245
|
-
* Specifies the page title.
|
|
246
|
-
* @default ""
|
|
247
|
-
*/
|
|
248
|
-
this.title = '';
|
|
249
|
-
}
|
|
250
|
-
SkyActionHubComponent.prototype.getRecentLinksSorted = function (recentLinks, limit) {
|
|
251
|
-
if (recentLinks === 'loading') {
|
|
252
|
-
return 'loading';
|
|
253
|
-
}
|
|
254
|
-
if (!recentLinks || recentLinks.length === 0) {
|
|
255
|
-
return [];
|
|
256
|
-
}
|
|
257
|
-
return recentLinks
|
|
258
|
-
.slice(0)
|
|
259
|
-
.sort(function (a, b) {
|
|
260
|
-
var aTime = a.lastAccessed instanceof Date
|
|
261
|
-
? a.lastAccessed.toISOString()
|
|
262
|
-
: a.lastAccessed;
|
|
263
|
-
var bTime = b.lastAccessed instanceof Date
|
|
264
|
-
? b.lastAccessed.toISOString()
|
|
265
|
-
: b.lastAccessed;
|
|
266
|
-
if (aTime === bTime) {
|
|
267
|
-
return 0;
|
|
268
|
-
}
|
|
269
|
-
return aTime > bTime ? -1 : 1;
|
|
270
|
-
})
|
|
271
|
-
.slice(0, limit);
|
|
272
|
-
};
|
|
273
|
-
SkyActionHubComponent.prototype.getRelatedLinksSorted = function (relatedLinks) {
|
|
274
|
-
if (relatedLinks === 'loading') {
|
|
275
|
-
return 'loading';
|
|
276
|
-
}
|
|
277
|
-
if (!relatedLinks || relatedLinks.length === 0) {
|
|
278
|
-
return [];
|
|
279
|
-
}
|
|
280
|
-
return relatedLinks.slice(0).sort(function (a, b) {
|
|
281
|
-
var aLabel = a.label.trim().toUpperCase();
|
|
282
|
-
var bLabel = b.label.trim().toUpperCase();
|
|
283
|
-
if (aLabel === bLabel) {
|
|
284
|
-
return 0;
|
|
285
|
-
}
|
|
286
|
-
return aLabel < bLabel ? -1 : 1;
|
|
287
|
-
});
|
|
288
|
-
};
|
|
289
|
-
return SkyActionHubComponent;
|
|
290
|
-
}());
|
|
291
|
-
SkyActionHubComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionHubComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
292
|
-
SkyActionHubComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyActionHubComponent, selector: "sky-action-hub", inputs: { needsAttention: "needsAttention", parentLink: "parentLink", recentLinks: "recentLinks", relatedLinks: "relatedLinks", title: "title" }, ngImport: i0__namespace, template: "<ng-template #loadingTemplateRef>\n <sky-wait [isWaiting]=\"true\"></sky-wait>\n</ng-template>\n<sky-fluid-grid>\n <sky-row>\n <sky-column>\n <sky-page-header\n [pageTitle]=\"title\"\n [parentLink]=\"parentLink\"\n ></sky-page-header>\n </sky-column>\n </sky-row>\n <sky-row>\n <sky-column screenLarge=\"9\" screenXSmall=\"12\">\n <div\n [skyThemeClass]=\"{\n 'sky-margin-stacked-separate': 'default',\n 'sky-margin-stacked-xl': 'modern'\n }\"\n >\n <ng-content select=\"sky-action-hub-buttons\"></ng-content>\n </div>\n\n <div\n [skyThemeClass]=\"{\n 'sky-margin-stacked-separate': 'default',\n 'sky-margin-stacked-xxl': 'modern'\n }\"\n >\n <ng-container\n *ngIf=\"\n needsAttention === 'loading';\n then loadingTemplateRef;\n else needsAttentionTemplateRef\n \"\n ></ng-container>\n <ng-template #needsAttentionTemplateRef>\n <sky-needs-attention [items]=\"needsAttention\"></sky-needs-attention>\n </ng-template>\n </div>\n\n <div\n [skyThemeClass]=\"{\n 'sky-margin-stacked-separate': 'default',\n 'sky-margin-stacked-xxl': 'modern'\n }\"\n >\n <ng-content select=\"sky-action-hub-content\"></ng-content>\n </div>\n </sky-column>\n <sky-column screenLarge=\"3\" screenXSmall=\"12\">\n <sky-link-list\n [links]=\"getRelatedLinksSorted(relatedLinks)\"\n [title]=\"'sky_action_hub_related_links' | skyLibResources\"\n ></sky-link-list>\n <sky-link-list\n [links]=\"getRecentLinksSorted(recentLinks, 5)\"\n [title]=\"'sky_action_hub_recent_links' | skyLibResources\"\n ></sky-link-list>\n </sky-column>\n </sky-row>\n</sky-fluid-grid>\n", components: [{ type: i2__namespace.λ14, selector: "sky-wait", inputs: ["ariaLabel", "isWaiting", "isFullPage", "isNonBlocking"] }, { type: i1__namespace.λ22, selector: "sky-fluid-grid", inputs: ["disableMargin", "gutterSize"] }, { type: i1__namespace.λ23, selector: "sky-row", inputs: ["reverseColumnOrder"] }, { type: i1__namespace.λ24, selector: "sky-column", inputs: ["screenXSmall", "screenSmall", "screenMedium", "screenLarge"] }, { type: SkyPageHeaderComponent, selector: "sky-page-header", inputs: ["parentLink", "pageTitle"] }, { type: SkyNeedsAttentionComponent, selector: "sky-needs-attention", inputs: ["items"] }, { type: SkyLinkListComponent, selector: "sky-link-list", inputs: ["links", "title"] }], directives: [{ type: i3__namespace.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i2__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "skyLibResources": i6__namespace.SkyLibResourcesPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
293
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionHubComponent, decorators: [{
|
|
294
|
-
type: i0.Component,
|
|
295
|
-
args: [{
|
|
296
|
-
selector: 'sky-action-hub',
|
|
297
|
-
template: "<ng-template #loadingTemplateRef>\n <sky-wait [isWaiting]=\"true\"></sky-wait>\n</ng-template>\n<sky-fluid-grid>\n <sky-row>\n <sky-column>\n <sky-page-header\n [pageTitle]=\"title\"\n [parentLink]=\"parentLink\"\n ></sky-page-header>\n </sky-column>\n </sky-row>\n <sky-row>\n <sky-column screenLarge=\"9\" screenXSmall=\"12\">\n <div\n [skyThemeClass]=\"{\n 'sky-margin-stacked-separate': 'default',\n 'sky-margin-stacked-xl': 'modern'\n }\"\n >\n <ng-content select=\"sky-action-hub-buttons\"></ng-content>\n </div>\n\n <div\n [skyThemeClass]=\"{\n 'sky-margin-stacked-separate': 'default',\n 'sky-margin-stacked-xxl': 'modern'\n }\"\n >\n <ng-container\n *ngIf=\"\n needsAttention === 'loading';\n then loadingTemplateRef;\n else needsAttentionTemplateRef\n \"\n ></ng-container>\n <ng-template #needsAttentionTemplateRef>\n <sky-needs-attention [items]=\"needsAttention\"></sky-needs-attention>\n </ng-template>\n </div>\n\n <div\n [skyThemeClass]=\"{\n 'sky-margin-stacked-separate': 'default',\n 'sky-margin-stacked-xxl': 'modern'\n }\"\n >\n <ng-content select=\"sky-action-hub-content\"></ng-content>\n </div>\n </sky-column>\n <sky-column screenLarge=\"3\" screenXSmall=\"12\">\n <sky-link-list\n [links]=\"getRelatedLinksSorted(relatedLinks)\"\n [title]=\"'sky_action_hub_related_links' | skyLibResources\"\n ></sky-link-list>\n <sky-link-list\n [links]=\"getRecentLinksSorted(recentLinks, 5)\"\n [title]=\"'sky_action_hub_recent_links' | skyLibResources\"\n ></sky-link-list>\n </sky-column>\n </sky-row>\n</sky-fluid-grid>\n",
|
|
298
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
299
|
-
}]
|
|
300
|
-
}], propDecorators: { needsAttention: [{
|
|
301
|
-
type: i0.Input
|
|
302
|
-
}], parentLink: [{
|
|
303
|
-
type: i0.Input
|
|
304
|
-
}], recentLinks: [{
|
|
305
|
-
type: i0.Input
|
|
306
|
-
}], relatedLinks: [{
|
|
307
|
-
type: i0.Input
|
|
308
|
-
}], title: [{
|
|
309
|
-
type: i0.Input
|
|
310
|
-
}] } });
|
|
311
|
-
|
|
312
|
-
var SkyActionHubModule = /** @class */ (function () {
|
|
313
|
-
function SkyActionHubModule() {
|
|
314
|
-
}
|
|
315
|
-
return SkyActionHubModule;
|
|
316
|
-
}());
|
|
317
|
-
SkyActionHubModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionHubModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
318
|
-
SkyActionHubModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionHubModule, declarations: [SkyActionHubButtonsComponent,
|
|
319
|
-
SkyActionHubComponent,
|
|
320
|
-
SkyActionHubContentComponent,
|
|
321
|
-
SkyNeedsAttentionComponent,
|
|
322
|
-
SkyLinkListComponent], imports: [i2$1.CommonModule,
|
|
323
|
-
SkyPagesResourcesModule,
|
|
324
|
-
router.RouterModule,
|
|
325
|
-
i1.SkyActionButtonModule,
|
|
326
|
-
i4.SkyAppLinkModule,
|
|
327
|
-
i1.SkyFluidGridModule,
|
|
328
|
-
i6.SkyI18nModule,
|
|
329
|
-
i2.SkyIconModule,
|
|
330
|
-
i2.SkyKeyInfoModule,
|
|
331
|
-
SkyPageHeaderModule,
|
|
332
|
-
i3.SkyThemeModule,
|
|
333
|
-
i2.SkyWaitModule,
|
|
334
|
-
i4.SkyHrefModule], exports: [SkyActionHubButtonsComponent,
|
|
335
|
-
SkyActionHubComponent,
|
|
336
|
-
SkyActionHubContentComponent] });
|
|
337
|
-
SkyActionHubModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionHubModule, imports: [[
|
|
338
|
-
i2$1.CommonModule,
|
|
339
|
-
SkyPagesResourcesModule,
|
|
340
|
-
router.RouterModule,
|
|
341
|
-
i1.SkyActionButtonModule,
|
|
342
|
-
i4.SkyAppLinkModule,
|
|
343
|
-
i1.SkyFluidGridModule,
|
|
344
|
-
i6.SkyI18nModule,
|
|
345
|
-
i2.SkyIconModule,
|
|
346
|
-
i2.SkyKeyInfoModule,
|
|
347
|
-
SkyPageHeaderModule,
|
|
348
|
-
i3.SkyThemeModule,
|
|
349
|
-
i2.SkyWaitModule,
|
|
350
|
-
i4.SkyHrefModule,
|
|
351
|
-
]] });
|
|
352
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SkyActionHubModule, decorators: [{
|
|
353
|
-
type: i0.NgModule,
|
|
354
|
-
args: [{
|
|
355
|
-
imports: [
|
|
356
|
-
i2$1.CommonModule,
|
|
357
|
-
SkyPagesResourcesModule,
|
|
358
|
-
router.RouterModule,
|
|
359
|
-
i1.SkyActionButtonModule,
|
|
360
|
-
i4.SkyAppLinkModule,
|
|
361
|
-
i1.SkyFluidGridModule,
|
|
362
|
-
i6.SkyI18nModule,
|
|
363
|
-
i2.SkyIconModule,
|
|
364
|
-
i2.SkyKeyInfoModule,
|
|
365
|
-
SkyPageHeaderModule,
|
|
366
|
-
i3.SkyThemeModule,
|
|
367
|
-
i2.SkyWaitModule,
|
|
368
|
-
i4.SkyHrefModule,
|
|
369
|
-
],
|
|
370
|
-
declarations: [
|
|
371
|
-
SkyActionHubButtonsComponent,
|
|
372
|
-
SkyActionHubComponent,
|
|
373
|
-
SkyActionHubContentComponent,
|
|
374
|
-
SkyNeedsAttentionComponent,
|
|
375
|
-
SkyLinkListComponent,
|
|
376
|
-
],
|
|
377
|
-
exports: [
|
|
378
|
-
SkyActionHubButtonsComponent,
|
|
379
|
-
SkyActionHubComponent,
|
|
380
|
-
SkyActionHubContentComponent,
|
|
381
|
-
],
|
|
382
|
-
}]
|
|
383
|
-
}] });
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* Generated bundle index. Do not edit.
|
|
387
|
-
*/
|
|
388
|
-
|
|
389
|
-
exports.SkyActionHubModule = SkyActionHubModule;
|
|
390
|
-
exports.SkyPageHeaderModule = SkyPageHeaderModule;
|
|
391
|
-
exports["λ1"] = SkyActionHubComponent;
|
|
392
|
-
exports["λ2"] = SkyActionHubButtonsComponent;
|
|
393
|
-
exports["λ3"] = SkyActionHubContentComponent;
|
|
394
|
-
exports["λ4"] = SkyPageHeaderComponent;
|
|
395
|
-
|
|
396
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
397
|
-
|
|
398
|
-
}));
|
|
399
|
-
//# sourceMappingURL=skyux-pages.umd.js.map
|
package/esm2015/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export * from './lib/modules/action-hub/action-hub.module';
|
|
2
|
-
export * from './lib/modules/action-hub/types/action-hub-needs-attention';
|
|
3
|
-
export * from './lib/modules/action-hub/types/page-link';
|
|
4
|
-
export * from './lib/modules/action-hub/types/recent-link';
|
|
5
|
-
export * from './lib/modules/page-header/page-header.module';
|
|
6
|
-
// Components and directives must be exported to support Angular's "partial" Ivy compiler.
|
|
7
|
-
// Obscure names are used to indicate types are not part of the public API.
|
|
8
|
-
export { SkyActionHubComponent as λ1 } from './lib/modules/action-hub/action-hub.component';
|
|
9
|
-
export { SkyActionHubButtonsComponent as λ2 } from './lib/modules/action-hub/action-hub-buttons.component';
|
|
10
|
-
export { SkyActionHubContentComponent as λ3 } from './lib/modules/action-hub/action-hub-content.component';
|
|
11
|
-
export { SkyPageHeaderComponent as λ4 } from './lib/modules/page-header/page-header.component';
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
package/esm2015/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/components/pages/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC;AAC3D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAE7D,0FAA0F;AAC1F,2EAA2E;AAC3E,OAAO,EAAE,qBAAqB,IAAI,EAAE,EAAE,MAAM,+CAA+C,CAAC;AAC5F,OAAO,EAAE,4BAA4B,IAAI,EAAE,EAAE,MAAM,uDAAuD,CAAC;AAC3G,OAAO,EAAE,4BAA4B,IAAI,EAAE,EAAE,MAAM,uDAAuD,CAAC;AAC3G,OAAO,EAAE,sBAAsB,IAAI,EAAE,EAAE,MAAM,iDAAiD,CAAC","sourcesContent":["export * from './lib/modules/action-hub/action-hub.module';\nexport * from './lib/modules/action-hub/types/action-hub-needs-attention';\nexport * from './lib/modules/action-hub/types/page-link';\nexport * from './lib/modules/action-hub/types/recent-link';\nexport * from './lib/modules/page-header/page-header.module';\n\n// Components and directives must be exported to support Angular's \"partial\" Ivy compiler.\n// Obscure names are used to indicate types are not part of the public API.\nexport { SkyActionHubComponent as λ1 } from './lib/modules/action-hub/action-hub.component';\nexport { SkyActionHubButtonsComponent as λ2 } from './lib/modules/action-hub/action-hub-buttons.component';\nexport { SkyActionHubContentComponent as λ3 } from './lib/modules/action-hub/action-hub-content.component';\nexport { SkyPageHeaderComponent as λ4 } from './lib/modules/page-header/page-header.component';\n"]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Displays buttons after the page title.
|
|
5
|
-
*
|
|
6
|
-
* Example:
|
|
7
|
-
*
|
|
8
|
-
* ```html
|
|
9
|
-
* <a class="sky-btn sky-btn-default" href="path/to/new">New</a>
|
|
10
|
-
* ```
|
|
11
|
-
*/
|
|
12
|
-
export class SkyActionHubButtonsComponent {
|
|
13
|
-
}
|
|
14
|
-
SkyActionHubButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyActionHubButtonsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
SkyActionHubButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyActionHubButtonsComponent, selector: "sky-action-hub-buttons", ngImport: i0, template: "<ng-content></ng-content>\n" });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyActionHubButtonsComponent, decorators: [{
|
|
17
|
-
type: Component,
|
|
18
|
-
args: [{
|
|
19
|
-
selector: 'sky-action-hub-buttons',
|
|
20
|
-
templateUrl: 'action-hub-buttons.component.html',
|
|
21
|
-
}]
|
|
22
|
-
}] });
|
|
23
|
-
//# sourceMappingURL=action-hub-buttons.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"action-hub-buttons.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/pages/src/lib/modules/action-hub/action-hub-buttons.component.ts","../../../../../../../../libs/components/pages/src/lib/modules/action-hub/action-hub-buttons.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;AAE1C;;;;;;;;GAQG;AAKH,MAAM,OAAO,4BAA4B;;0HAA5B,4BAA4B;8GAA5B,4BAA4B,8DCfzC,6BACA;4FDca,4BAA4B;kBAJxC,SAAS;mBAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,WAAW,EAAE,mCAAmC;iBACjD","sourcesContent":["import { Component } from '@angular/core';\n\n/**\n * Displays buttons after the page title.\n *\n * Example:\n *\n * ```html\n * <a class=\"sky-btn sky-btn-default\" href=\"path/to/new\">New</a>\n * ```\n */\n@Component({\n selector: 'sky-action-hub-buttons',\n templateUrl: 'action-hub-buttons.component.html',\n})\nexport class SkyActionHubButtonsComponent {}\n","<ng-content></ng-content>\n"]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Displays additional content after the action items.
|
|
5
|
-
*/
|
|
6
|
-
export class SkyActionHubContentComponent {
|
|
7
|
-
}
|
|
8
|
-
SkyActionHubContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyActionHubContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
-
SkyActionHubContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyActionHubContentComponent, selector: "sky-action-hub-content", ngImport: i0, template: "<ng-content></ng-content>\n" });
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyActionHubContentComponent, decorators: [{
|
|
11
|
-
type: Component,
|
|
12
|
-
args: [{
|
|
13
|
-
selector: 'sky-action-hub-content',
|
|
14
|
-
templateUrl: 'action-hub-content.component.html',
|
|
15
|
-
}]
|
|
16
|
-
}] });
|
|
17
|
-
//# sourceMappingURL=action-hub-content.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"action-hub-content.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/pages/src/lib/modules/action-hub/action-hub-content.component.ts","../../../../../../../../libs/components/pages/src/lib/modules/action-hub/action-hub-content.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;AAE1C;;GAEG;AAKH,MAAM,OAAO,4BAA4B;;0HAA5B,4BAA4B;8GAA5B,4BAA4B,8DCTzC,6BACA;4FDQa,4BAA4B;kBAJxC,SAAS;mBAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,WAAW,EAAE,mCAAmC;iBACjD","sourcesContent":["import { Component } from '@angular/core';\n\n/**\n * Displays additional content after the action items.\n */\n@Component({\n selector: 'sky-action-hub-content',\n templateUrl: 'action-hub-content.component.html',\n})\nexport class SkyActionHubContentComponent {}\n","<ng-content></ng-content>\n"]}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@skyux/indicators";
|
|
4
|
-
import * as i2 from "@skyux/layout";
|
|
5
|
-
import * as i3 from "../page-header/page-header.component";
|
|
6
|
-
import * as i4 from "../needs-attention/needs-attention.component";
|
|
7
|
-
import * as i5 from "../link-list/link-list.component";
|
|
8
|
-
import * as i6 from "@skyux/theme";
|
|
9
|
-
import * as i7 from "@angular/common";
|
|
10
|
-
import * as i8 from "@skyux/i18n";
|
|
11
|
-
/**
|
|
12
|
-
* Creates an action hub to direct user attention to important
|
|
13
|
-
* actions and provide quick access to common tasks.
|
|
14
|
-
*/
|
|
15
|
-
export class SkyActionHubComponent {
|
|
16
|
-
constructor() {
|
|
17
|
-
/**
|
|
18
|
-
* Provides a list of actions that users must perform based on business requirements or best practices, or `"loading"` to display a wait indicator.
|
|
19
|
-
*/
|
|
20
|
-
this.needsAttention = [];
|
|
21
|
-
/**
|
|
22
|
-
* Provides a list of recently accessed links, or `"loading"` to display a wait indicator.
|
|
23
|
-
*/
|
|
24
|
-
this.recentLinks = [];
|
|
25
|
-
/**
|
|
26
|
-
* Provides a list of related links, or `"loading"` to display a wait indicator.
|
|
27
|
-
*/
|
|
28
|
-
this.relatedLinks = [];
|
|
29
|
-
/**
|
|
30
|
-
* Specifies the page title.
|
|
31
|
-
* @default ""
|
|
32
|
-
*/
|
|
33
|
-
this.title = '';
|
|
34
|
-
}
|
|
35
|
-
getRecentLinksSorted(recentLinks, limit) {
|
|
36
|
-
if (recentLinks === 'loading') {
|
|
37
|
-
return 'loading';
|
|
38
|
-
}
|
|
39
|
-
if (!recentLinks || recentLinks.length === 0) {
|
|
40
|
-
return [];
|
|
41
|
-
}
|
|
42
|
-
return recentLinks
|
|
43
|
-
.slice(0)
|
|
44
|
-
.sort((a, b) => {
|
|
45
|
-
const aTime = a.lastAccessed instanceof Date
|
|
46
|
-
? a.lastAccessed.toISOString()
|
|
47
|
-
: a.lastAccessed;
|
|
48
|
-
const bTime = b.lastAccessed instanceof Date
|
|
49
|
-
? b.lastAccessed.toISOString()
|
|
50
|
-
: b.lastAccessed;
|
|
51
|
-
if (aTime === bTime) {
|
|
52
|
-
return 0;
|
|
53
|
-
}
|
|
54
|
-
return aTime > bTime ? -1 : 1;
|
|
55
|
-
})
|
|
56
|
-
.slice(0, limit);
|
|
57
|
-
}
|
|
58
|
-
getRelatedLinksSorted(relatedLinks) {
|
|
59
|
-
if (relatedLinks === 'loading') {
|
|
60
|
-
return 'loading';
|
|
61
|
-
}
|
|
62
|
-
if (!relatedLinks || relatedLinks.length === 0) {
|
|
63
|
-
return [];
|
|
64
|
-
}
|
|
65
|
-
return relatedLinks.slice(0).sort((a, b) => {
|
|
66
|
-
const aLabel = a.label.trim().toUpperCase();
|
|
67
|
-
const bLabel = b.label.trim().toUpperCase();
|
|
68
|
-
if (aLabel === bLabel) {
|
|
69
|
-
return 0;
|
|
70
|
-
}
|
|
71
|
-
return aLabel < bLabel ? -1 : 1;
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
SkyActionHubComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyActionHubComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
76
|
-
SkyActionHubComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SkyActionHubComponent, selector: "sky-action-hub", inputs: { needsAttention: "needsAttention", parentLink: "parentLink", recentLinks: "recentLinks", relatedLinks: "relatedLinks", title: "title" }, ngImport: i0, template: "<ng-template #loadingTemplateRef>\n <sky-wait [isWaiting]=\"true\"></sky-wait>\n</ng-template>\n<sky-fluid-grid>\n <sky-row>\n <sky-column>\n <sky-page-header\n [pageTitle]=\"title\"\n [parentLink]=\"parentLink\"\n ></sky-page-header>\n </sky-column>\n </sky-row>\n <sky-row>\n <sky-column screenLarge=\"9\" screenXSmall=\"12\">\n <div\n [skyThemeClass]=\"{\n 'sky-margin-stacked-separate': 'default',\n 'sky-margin-stacked-xl': 'modern'\n }\"\n >\n <ng-content select=\"sky-action-hub-buttons\"></ng-content>\n </div>\n\n <div\n [skyThemeClass]=\"{\n 'sky-margin-stacked-separate': 'default',\n 'sky-margin-stacked-xxl': 'modern'\n }\"\n >\n <ng-container\n *ngIf=\"\n needsAttention === 'loading';\n then loadingTemplateRef;\n else needsAttentionTemplateRef\n \"\n ></ng-container>\n <ng-template #needsAttentionTemplateRef>\n <sky-needs-attention [items]=\"needsAttention\"></sky-needs-attention>\n </ng-template>\n </div>\n\n <div\n [skyThemeClass]=\"{\n 'sky-margin-stacked-separate': 'default',\n 'sky-margin-stacked-xxl': 'modern'\n }\"\n >\n <ng-content select=\"sky-action-hub-content\"></ng-content>\n </div>\n </sky-column>\n <sky-column screenLarge=\"3\" screenXSmall=\"12\">\n <sky-link-list\n [links]=\"getRelatedLinksSorted(relatedLinks)\"\n [title]=\"'sky_action_hub_related_links' | skyLibResources\"\n ></sky-link-list>\n <sky-link-list\n [links]=\"getRecentLinksSorted(recentLinks, 5)\"\n [title]=\"'sky_action_hub_recent_links' | skyLibResources\"\n ></sky-link-list>\n </sky-column>\n </sky-row>\n</sky-fluid-grid>\n", components: [{ type: i1.λ14, selector: "sky-wait", inputs: ["ariaLabel", "isWaiting", "isFullPage", "isNonBlocking"] }, { type: i2.λ22, selector: "sky-fluid-grid", inputs: ["disableMargin", "gutterSize"] }, { type: i2.λ23, selector: "sky-row", inputs: ["reverseColumnOrder"] }, { type: i2.λ24, selector: "sky-column", inputs: ["screenXSmall", "screenSmall", "screenMedium", "screenLarge"] }, { type: i3.SkyPageHeaderComponent, selector: "sky-page-header", inputs: ["parentLink", "pageTitle"] }, { type: i4.SkyNeedsAttentionComponent, selector: "sky-needs-attention", inputs: ["items"] }, { type: i5.SkyLinkListComponent, selector: "sky-link-list", inputs: ["links", "title"] }], directives: [{ type: i6.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "skyLibResources": i8.SkyLibResourcesPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SkyActionHubComponent, decorators: [{
|
|
78
|
-
type: Component,
|
|
79
|
-
args: [{
|
|
80
|
-
selector: 'sky-action-hub',
|
|
81
|
-
templateUrl: './action-hub.component.html',
|
|
82
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
83
|
-
}]
|
|
84
|
-
}], propDecorators: { needsAttention: [{
|
|
85
|
-
type: Input
|
|
86
|
-
}], parentLink: [{
|
|
87
|
-
type: Input
|
|
88
|
-
}], recentLinks: [{
|
|
89
|
-
type: Input
|
|
90
|
-
}], relatedLinks: [{
|
|
91
|
-
type: Input
|
|
92
|
-
}], title: [{
|
|
93
|
-
type: Input
|
|
94
|
-
}] } });
|
|
95
|
-
//# sourceMappingURL=action-hub.component.js.map
|