@skyux/pages 5.9.4 → 6.0.0-beta.10
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 +14 -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-recent-links-resolve.pipe.mjs +100 -0
- package/esm2020/lib/modules/action-hub/action-hub-related-links-sort.pipe.mjs +29 -0
- package/esm2020/lib/modules/action-hub/action-hub.component.mjs +54 -0
- package/esm2020/lib/modules/action-hub/action-hub.module.mjs +92 -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/page-links-input.mjs +2 -0
- package/esm2020/lib/modules/action-hub/types/recent-link.mjs +2 -0
- package/esm2020/lib/modules/action-hub/types/recent-links-input.mjs +2 -0
- package/esm2020/lib/modules/action-hub/types/recent-links-resolved.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 +416 -0
- package/fesm2015/skyux-pages.mjs.map +1 -0
- package/fesm2020/skyux-pages.mjs +414 -0
- package/fesm2020/skyux-pages.mjs.map +1 -0
- package/package.json +30 -14
- package/bundles/skyux-pages.umd.js +0 -809
- package/esm2015/index.js +0 -14
- 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-recent-links-resolve.pipe.js +0 -100
- package/esm2015/lib/modules/action-hub/action-hub-recent-links-resolve.pipe.js.map +0 -1
- package/esm2015/lib/modules/action-hub/action-hub-related-links-sort.pipe.js +0 -29
- package/esm2015/lib/modules/action-hub/action-hub-related-links-sort.pipe.js.map +0 -1
- package/esm2015/lib/modules/action-hub/action-hub.component.js +0 -58
- package/esm2015/lib/modules/action-hub/action-hub.component.js.map +0 -1
- package/esm2015/lib/modules/action-hub/action-hub.module.js +0 -92
- 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/page-links-input.js +0 -2
- package/esm2015/lib/modules/action-hub/types/page-links-input.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/action-hub/types/recent-links-input.js +0 -2
- package/esm2015/lib/modules/action-hub/types/recent-links-input.js.map +0 -1
- package/esm2015/lib/modules/action-hub/types/recent-links-resolved.js +0 -2
- package/esm2015/lib/modules/action-hub/types/recent-links-resolved.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 -436
- package/fesm2015/skyux-pages.js.map +0 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { RouterModule } from '@angular/router';
|
|
4
|
+
import { SkyIconModule } from '@skyux/indicators';
|
|
5
|
+
import { SkyAppLinkModule, SkyHrefModule } from '@skyux/router';
|
|
6
|
+
import { SkyThemeModule } from '@skyux/theme';
|
|
7
|
+
import { SkyPageHeaderComponent } from './page-header.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export class SkyPageHeaderModule {
|
|
10
|
+
}
|
|
11
|
+
SkyPageHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPageHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
+
SkyPageHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPageHeaderModule, declarations: [SkyPageHeaderComponent], imports: [CommonModule,
|
|
13
|
+
RouterModule,
|
|
14
|
+
SkyAppLinkModule,
|
|
15
|
+
SkyIconModule,
|
|
16
|
+
SkyThemeModule,
|
|
17
|
+
SkyHrefModule], exports: [SkyPageHeaderComponent] });
|
|
18
|
+
SkyPageHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPageHeaderModule, imports: [[
|
|
19
|
+
CommonModule,
|
|
20
|
+
RouterModule,
|
|
21
|
+
SkyAppLinkModule,
|
|
22
|
+
SkyIconModule,
|
|
23
|
+
SkyThemeModule,
|
|
24
|
+
SkyHrefModule,
|
|
25
|
+
]] });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPageHeaderModule, decorators: [{
|
|
27
|
+
type: NgModule,
|
|
28
|
+
args: [{
|
|
29
|
+
imports: [
|
|
30
|
+
CommonModule,
|
|
31
|
+
RouterModule,
|
|
32
|
+
SkyAppLinkModule,
|
|
33
|
+
SkyIconModule,
|
|
34
|
+
SkyThemeModule,
|
|
35
|
+
SkyHrefModule,
|
|
36
|
+
],
|
|
37
|
+
declarations: [SkyPageHeaderComponent],
|
|
38
|
+
exports: [SkyPageHeaderComponent],
|
|
39
|
+
}]
|
|
40
|
+
}] });
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS1oZWFkZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3BhZ2VzL3NyYy9saWIvbW9kdWxlcy9wYWdlLWhlYWRlci9wYWdlLWhlYWRlci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNsRCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsYUFBYSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2hFLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxj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dAc2t5dXgvdGhlbWUnO1xuXG5pbXBvcnQgeyBTa3lQYWdlSGVhZGVyQ29tcG9uZW50IH0gZnJvbSAnLi9wYWdlLWhlYWRlci5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIFJvdXRlck1vZHVsZSxcbiAgICBTa3lBcHBMaW5rTW9kdWxlLFxuICAgIFNreUljb25Nb2R1bGUsXG4gICAgU2t5VGhlbWVNb2R1bGUsXG4gICAgU2t5SHJlZk1vZHVsZSxcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbU2t5UGFnZUhlYWRlckNvbXBvbmVudF0sXG4gIGV4cG9ydHM6IFtTa3lQYWdlSGVhZGVyQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgU2t5UGFnZUhlYWRlck1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,52 @@
|
|
|
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-pages' 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
|
+
sky_action_hub_related_links: { message: 'Related Links' },
|
|
13
|
+
sky_action_hub_recent_links: { message: 'Recently Accessed' },
|
|
14
|
+
sky_action_hub_needs_attention: { message: 'Needs Attention' },
|
|
15
|
+
sky_action_hub_needs_attention_empty: {
|
|
16
|
+
message: 'No issues currently need attention',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
export class SkyPagesResourcesProvider {
|
|
21
|
+
getString(localeInfo, name) {
|
|
22
|
+
return getLibStringForLocale(RESOURCES, localeInfo.locale, name);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Import into any component library module that needs to use resource strings.
|
|
27
|
+
*/
|
|
28
|
+
export class SkyPagesResourcesModule {
|
|
29
|
+
}
|
|
30
|
+
SkyPagesResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPagesResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
31
|
+
SkyPagesResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPagesResourcesModule, exports: [SkyI18nModule] });
|
|
32
|
+
SkyPagesResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPagesResourcesModule, providers: [
|
|
33
|
+
{
|
|
34
|
+
provide: SKY_LIB_RESOURCES_PROVIDERS,
|
|
35
|
+
useClass: SkyPagesResourcesProvider,
|
|
36
|
+
multi: true,
|
|
37
|
+
},
|
|
38
|
+
], imports: [SkyI18nModule] });
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPagesResourcesModule, decorators: [{
|
|
40
|
+
type: NgModule,
|
|
41
|
+
args: [{
|
|
42
|
+
exports: [SkyI18nModule],
|
|
43
|
+
providers: [
|
|
44
|
+
{
|
|
45
|
+
provide: SKY_LIB_RESOURCES_PROVIDERS,
|
|
46
|
+
useClass: SkyPagesResourcesProvider,
|
|
47
|
+
multi: true,
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
}]
|
|
51
|
+
}] });
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2t5LXBhZ2VzLXJl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BTa3lQYWdlc1Jlc291cmNlc1Byb3ZpZGVyLFxuICAgICAgbXVsdGk6IHRydWUsXG4gICAgfSxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgU2t5UGFnZXNSZXNvdXJjZXNNb2R1bGUge31cbiJdfQ==
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2t5dXgtcGFnZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvcGFnZXMvc3JjL3NreXV4LXBhZ2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
import * as i2$1 from '@angular/common';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { Component, Input, NgModule, Pipe, Optional, ChangeDetectionStrategy } from '@angular/core';
|
|
5
|
+
import { RouterModule } from '@angular/router';
|
|
6
|
+
import * as i6 from '@skyux/i18n';
|
|
7
|
+
import { getLibStringForLocale, SkyI18nModule, SKY_LIB_RESOURCES_PROVIDERS } from '@skyux/i18n';
|
|
8
|
+
import * as i2 from '@skyux/indicators';
|
|
9
|
+
import { SkyIconModule, SkyKeyInfoModule, SkyWaitModule } from '@skyux/indicators';
|
|
10
|
+
import * as i1 from '@skyux/layout';
|
|
11
|
+
import { SkyActionButtonModule, SkyFluidGridModule } from '@skyux/layout';
|
|
12
|
+
import * as i4 from '@skyux/router';
|
|
13
|
+
import { SkyAppLinkModule, SkyHrefModule } from '@skyux/router';
|
|
14
|
+
import * as i3 from '@skyux/theme';
|
|
15
|
+
import { SkyThemeModule } from '@skyux/theme';
|
|
16
|
+
import { __classPrivateFieldGet, __classPrivateFieldSet } from 'tslib';
|
|
17
|
+
import { Subject } from 'rxjs';
|
|
18
|
+
import { takeUntil } from 'rxjs/operators';
|
|
19
|
+
|
|
20
|
+
class SkyLinkListComponent {
|
|
21
|
+
}
|
|
22
|
+
SkyLinkListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyLinkListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
+
SkyLinkListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: SkyLinkListComponent, selector: "sky-link-list", inputs: { links: "links", title: "title" }, ngImport: i0, 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.λ14, selector: "sky-wait", inputs: ["ariaLabel", "isWaiting", "isFullPage", "isNonBlocking"] }], directives: [{ type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.λ1, selector: "[skyHref]", inputs: ["skyHref", "skyHrefElse"] }, { type: i4.λ3, selector: "[skyAppLink]", inputs: ["skyAppLink"] }] });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyLinkListComponent, decorators: [{
|
|
25
|
+
type: Component,
|
|
26
|
+
args: [{ selector: 'sky-link-list', 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"] }]
|
|
27
|
+
}], propDecorators: { links: [{
|
|
28
|
+
type: Input
|
|
29
|
+
}], title: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}] } });
|
|
32
|
+
|
|
33
|
+
class SkyNeedsAttentionComponent {
|
|
34
|
+
constructor() {
|
|
35
|
+
this.gutterSize = 'large';
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
SkyNeedsAttentionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyNeedsAttentionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
+
SkyNeedsAttentionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: SkyNeedsAttentionComponent, selector: "sky-needs-attention", inputs: { items: "items" }, ngImport: i0, 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=\"sky-needs-attention-item sky-padding-vertical-lg sky-border-bottom-row\"\n >\n <ng-container *ngTemplateOutlet=\"link\"></ng-container>\n </a>\n <a\n *ngIf=\"item.permalink.url\"\n [skyHref]=\"item.permalink.url\"\n class=\"sky-needs-attention-item sky-padding-vertical-lg sky-border-bottom-row\"\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.λ22, selector: "sky-fluid-grid", inputs: ["disableMargin", "gutterSize"] }, { type: i1.λ23, selector: "sky-row", inputs: ["reverseColumnOrder"] }, { type: i1.λ24, selector: "sky-column", inputs: ["screenXSmall", "screenSmall", "screenMedium", "screenLarge"] }, { type: i2.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { type: i2.λ8, selector: "sky-key-info", inputs: ["layout"] }, { type: i2.λ6, selector: "sky-key-info-label" }, { type: i2.λ7, selector: "sky-key-info-value" }], directives: [{ type: i3.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }, { type: i4.λ3, selector: "[skyAppLink]", inputs: ["skyAppLink"] }, { type: i2$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.λ1, selector: "[skyHref]", inputs: ["skyHref", "skyHrefElse"] }], pipes: { "skyLibResources": i6.SkyLibResourcesPipe } });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyNeedsAttentionComponent, decorators: [{
|
|
41
|
+
type: Component,
|
|
42
|
+
args: [{ selector: 'sky-needs-attention', 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=\"sky-needs-attention-item sky-padding-vertical-lg sky-border-bottom-row\"\n >\n <ng-container *ngTemplateOutlet=\"link\"></ng-container>\n </a>\n <a\n *ngIf=\"item.permalink.url\"\n [skyHref]=\"item.permalink.url\"\n class=\"sky-needs-attention-item sky-padding-vertical-lg sky-border-bottom-row\"\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"] }]
|
|
43
|
+
}], propDecorators: { items: [{
|
|
44
|
+
type: Input
|
|
45
|
+
}] } });
|
|
46
|
+
|
|
47
|
+
let parentLink;
|
|
48
|
+
class SkyPageHeaderComponent {
|
|
49
|
+
}
|
|
50
|
+
SkyPageHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPageHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
51
|
+
SkyPageHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: SkyPageHeaderComponent, selector: "sky-page-header", inputs: { parentLink: "parentLink", pageTitle: "pageTitle" }, ngImport: i0, 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.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }], directives: [{ type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.λ1, selector: "[skyHref]", inputs: ["skyHref", "skyHrefElse"] }, { type: i4.λ3, selector: "[skyAppLink]", inputs: ["skyAppLink"] }, { type: i3.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }] });
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPageHeaderComponent, decorators: [{
|
|
53
|
+
type: Component,
|
|
54
|
+
args: [{ selector: 'sky-page-header', 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"] }]
|
|
55
|
+
}], propDecorators: { parentLink: [{
|
|
56
|
+
type: Input
|
|
57
|
+
}], pageTitle: [{
|
|
58
|
+
type: Input
|
|
59
|
+
}] } });
|
|
60
|
+
|
|
61
|
+
class SkyPageHeaderModule {
|
|
62
|
+
}
|
|
63
|
+
SkyPageHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPageHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
64
|
+
SkyPageHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPageHeaderModule, declarations: [SkyPageHeaderComponent], imports: [CommonModule,
|
|
65
|
+
RouterModule,
|
|
66
|
+
SkyAppLinkModule,
|
|
67
|
+
SkyIconModule,
|
|
68
|
+
SkyThemeModule,
|
|
69
|
+
SkyHrefModule], exports: [SkyPageHeaderComponent] });
|
|
70
|
+
SkyPageHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPageHeaderModule, imports: [[
|
|
71
|
+
CommonModule,
|
|
72
|
+
RouterModule,
|
|
73
|
+
SkyAppLinkModule,
|
|
74
|
+
SkyIconModule,
|
|
75
|
+
SkyThemeModule,
|
|
76
|
+
SkyHrefModule,
|
|
77
|
+
]] });
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPageHeaderModule, decorators: [{
|
|
79
|
+
type: NgModule,
|
|
80
|
+
args: [{
|
|
81
|
+
imports: [
|
|
82
|
+
CommonModule,
|
|
83
|
+
RouterModule,
|
|
84
|
+
SkyAppLinkModule,
|
|
85
|
+
SkyIconModule,
|
|
86
|
+
SkyThemeModule,
|
|
87
|
+
SkyHrefModule,
|
|
88
|
+
],
|
|
89
|
+
declarations: [SkyPageHeaderComponent],
|
|
90
|
+
exports: [SkyPageHeaderComponent],
|
|
91
|
+
}]
|
|
92
|
+
}] });
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* NOTICE: DO NOT MODIFY THIS FILE!
|
|
96
|
+
* The contents of this file were automatically generated by
|
|
97
|
+
* the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-pages' schematic.
|
|
98
|
+
* To update this file, simply rerun the command.
|
|
99
|
+
*/
|
|
100
|
+
const RESOURCES = {
|
|
101
|
+
'EN-US': {
|
|
102
|
+
sky_action_hub_related_links: { message: 'Related Links' },
|
|
103
|
+
sky_action_hub_recent_links: { message: 'Recently Accessed' },
|
|
104
|
+
sky_action_hub_needs_attention: { message: 'Needs Attention' },
|
|
105
|
+
sky_action_hub_needs_attention_empty: {
|
|
106
|
+
message: 'No issues currently need attention',
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
};
|
|
110
|
+
class SkyPagesResourcesProvider {
|
|
111
|
+
getString(localeInfo, name) {
|
|
112
|
+
return getLibStringForLocale(RESOURCES, localeInfo.locale, name);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Import into any component library module that needs to use resource strings.
|
|
117
|
+
*/
|
|
118
|
+
class SkyPagesResourcesModule {
|
|
119
|
+
}
|
|
120
|
+
SkyPagesResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPagesResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
121
|
+
SkyPagesResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPagesResourcesModule, exports: [SkyI18nModule] });
|
|
122
|
+
SkyPagesResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPagesResourcesModule, providers: [
|
|
123
|
+
{
|
|
124
|
+
provide: SKY_LIB_RESOURCES_PROVIDERS,
|
|
125
|
+
useClass: SkyPagesResourcesProvider,
|
|
126
|
+
multi: true,
|
|
127
|
+
},
|
|
128
|
+
], imports: [SkyI18nModule] });
|
|
129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyPagesResourcesModule, decorators: [{
|
|
130
|
+
type: NgModule,
|
|
131
|
+
args: [{
|
|
132
|
+
exports: [SkyI18nModule],
|
|
133
|
+
providers: [
|
|
134
|
+
{
|
|
135
|
+
provide: SKY_LIB_RESOURCES_PROVIDERS,
|
|
136
|
+
useClass: SkyPagesResourcesProvider,
|
|
137
|
+
multi: true,
|
|
138
|
+
},
|
|
139
|
+
],
|
|
140
|
+
}]
|
|
141
|
+
}] });
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Displays buttons after the page title.
|
|
145
|
+
*
|
|
146
|
+
* Example:
|
|
147
|
+
*
|
|
148
|
+
* ```html
|
|
149
|
+
* <a class="sky-btn sky-btn-default" href="path/to/new">New</a>
|
|
150
|
+
* ```
|
|
151
|
+
*/
|
|
152
|
+
class SkyActionHubButtonsComponent {
|
|
153
|
+
}
|
|
154
|
+
SkyActionHubButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyActionHubButtonsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
155
|
+
SkyActionHubButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: SkyActionHubButtonsComponent, selector: "sky-action-hub-buttons", ngImport: i0, template: "<ng-content></ng-content>\n" });
|
|
156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyActionHubButtonsComponent, decorators: [{
|
|
157
|
+
type: Component,
|
|
158
|
+
args: [{ selector: 'sky-action-hub-buttons', template: "<ng-content></ng-content>\n" }]
|
|
159
|
+
}] });
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Displays additional content after the action items.
|
|
163
|
+
*/
|
|
164
|
+
class SkyActionHubContentComponent {
|
|
165
|
+
}
|
|
166
|
+
SkyActionHubContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyActionHubContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
167
|
+
SkyActionHubContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: SkyActionHubContentComponent, selector: "sky-action-hub-content", ngImport: i0, template: "<ng-content></ng-content>\n" });
|
|
168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyActionHubContentComponent, decorators: [{
|
|
169
|
+
type: Component,
|
|
170
|
+
args: [{ selector: 'sky-action-hub-content', template: "<ng-content></ng-content>\n" }]
|
|
171
|
+
}] });
|
|
172
|
+
|
|
173
|
+
var _SkyActionHubRecentLinksResolvePipe_instances, _SkyActionHubRecentLinksResolvePipe_currentRecentLinks, _SkyActionHubRecentLinksResolvePipe_currentRecentLinksResolved, _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSub, _SkyActionHubRecentLinksResolvePipe_ngUnsubscribe, _SkyActionHubRecentLinksResolvePipe_resolveRequestedRoutes, _SkyActionHubRecentLinksResolvePipe_updateRecentLinksResolved;
|
|
174
|
+
const RECENTLY_ACCESSED_LIMIT = 5;
|
|
175
|
+
function getRecentLinksSorted(recentLinks) {
|
|
176
|
+
if (recentLinks === 'loading') {
|
|
177
|
+
return 'loading';
|
|
178
|
+
}
|
|
179
|
+
if (!recentLinks || recentLinks.length === 0) {
|
|
180
|
+
return [];
|
|
181
|
+
}
|
|
182
|
+
return recentLinks
|
|
183
|
+
.slice(0)
|
|
184
|
+
.sort((a, b) => {
|
|
185
|
+
const aTime = a.lastAccessed instanceof Date
|
|
186
|
+
? a.lastAccessed.toISOString()
|
|
187
|
+
: a.lastAccessed;
|
|
188
|
+
const bTime = b.lastAccessed instanceof Date
|
|
189
|
+
? b.lastAccessed.toISOString()
|
|
190
|
+
: b.lastAccessed;
|
|
191
|
+
if (aTime === bTime) {
|
|
192
|
+
return 0;
|
|
193
|
+
}
|
|
194
|
+
return aTime > bTime ? -1 : 1;
|
|
195
|
+
})
|
|
196
|
+
.slice(0, RECENTLY_ACCESSED_LIMIT);
|
|
197
|
+
}
|
|
198
|
+
class SkyActionHubRecentLinksResolvePipe {
|
|
199
|
+
constructor(changeDetector, recentlyAccessedSvc) {
|
|
200
|
+
this.changeDetector = changeDetector;
|
|
201
|
+
this.recentlyAccessedSvc = recentlyAccessedSvc;
|
|
202
|
+
_SkyActionHubRecentLinksResolvePipe_instances.add(this);
|
|
203
|
+
_SkyActionHubRecentLinksResolvePipe_currentRecentLinks.set(this, void 0);
|
|
204
|
+
_SkyActionHubRecentLinksResolvePipe_currentRecentLinksResolved.set(this, []);
|
|
205
|
+
_SkyActionHubRecentLinksResolvePipe_recentlyAccessedSub.set(this, void 0);
|
|
206
|
+
_SkyActionHubRecentLinksResolvePipe_ngUnsubscribe.set(this, new Subject());
|
|
207
|
+
}
|
|
208
|
+
transform(recentLinks) {
|
|
209
|
+
if (recentLinks !== __classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_currentRecentLinks, "f")) {
|
|
210
|
+
if (__classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSub, "f")) {
|
|
211
|
+
__classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSub, "f").unsubscribe();
|
|
212
|
+
}
|
|
213
|
+
__classPrivateFieldSet(this, _SkyActionHubRecentLinksResolvePipe_currentRecentLinks, recentLinks, "f");
|
|
214
|
+
const getLinksArgs = recentLinks;
|
|
215
|
+
if (getLinksArgs === null || getLinksArgs === void 0 ? void 0 : getLinksArgs.requestedRoutes) {
|
|
216
|
+
__classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_instances, "m", _SkyActionHubRecentLinksResolvePipe_resolveRequestedRoutes).call(this, getLinksArgs);
|
|
217
|
+
}
|
|
218
|
+
else {
|
|
219
|
+
__classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_instances, "m", _SkyActionHubRecentLinksResolvePipe_updateRecentLinksResolved).call(this, recentLinks);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
return __classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_currentRecentLinksResolved, "f");
|
|
223
|
+
}
|
|
224
|
+
ngOnDestroy() {
|
|
225
|
+
__classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_ngUnsubscribe, "f").next();
|
|
226
|
+
__classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_ngUnsubscribe, "f").complete();
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
_SkyActionHubRecentLinksResolvePipe_currentRecentLinks = new WeakMap(), _SkyActionHubRecentLinksResolvePipe_currentRecentLinksResolved = new WeakMap(), _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSub = new WeakMap(), _SkyActionHubRecentLinksResolvePipe_ngUnsubscribe = new WeakMap(), _SkyActionHubRecentLinksResolvePipe_instances = new WeakSet(), _SkyActionHubRecentLinksResolvePipe_resolveRequestedRoutes = function _SkyActionHubRecentLinksResolvePipe_resolveRequestedRoutes(args) {
|
|
230
|
+
if (this.recentlyAccessedSvc) {
|
|
231
|
+
__classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_instances, "m", _SkyActionHubRecentLinksResolvePipe_updateRecentLinksResolved).call(this, 'loading');
|
|
232
|
+
__classPrivateFieldSet(this, _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSub, this.recentlyAccessedSvc
|
|
233
|
+
.getLinks(args)
|
|
234
|
+
.pipe(takeUntil(__classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_ngUnsubscribe, "f")))
|
|
235
|
+
.subscribe((result) => {
|
|
236
|
+
__classPrivateFieldSet(this, _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSub, undefined, "f");
|
|
237
|
+
const recentLinks = result.links.map((item) => ({
|
|
238
|
+
label: item.label,
|
|
239
|
+
lastAccessed: item.lastAccessed,
|
|
240
|
+
permalink: {
|
|
241
|
+
url: item.url,
|
|
242
|
+
},
|
|
243
|
+
}));
|
|
244
|
+
__classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_instances, "m", _SkyActionHubRecentLinksResolvePipe_updateRecentLinksResolved).call(this, recentLinks);
|
|
245
|
+
}), "f");
|
|
246
|
+
}
|
|
247
|
+
else {
|
|
248
|
+
__classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_instances, "m", _SkyActionHubRecentLinksResolvePipe_updateRecentLinksResolved).call(this, []);
|
|
249
|
+
}
|
|
250
|
+
}, _SkyActionHubRecentLinksResolvePipe_updateRecentLinksResolved = function _SkyActionHubRecentLinksResolvePipe_updateRecentLinksResolved(recentLinksResolved) {
|
|
251
|
+
__classPrivateFieldSet(this, _SkyActionHubRecentLinksResolvePipe_currentRecentLinksResolved, getRecentLinksSorted(recentLinksResolved), "f");
|
|
252
|
+
this.changeDetector.markForCheck();
|
|
253
|
+
};
|
|
254
|
+
SkyActionHubRecentLinksResolvePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyActionHubRecentLinksResolvePipe, deps: [{ token: i0.ChangeDetectorRef }, { token: i4.SkyRecentlyAccessedService, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
255
|
+
SkyActionHubRecentLinksResolvePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyActionHubRecentLinksResolvePipe, name: "skyActionHubRecentLinksResolve", pure: false });
|
|
256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyActionHubRecentLinksResolvePipe, decorators: [{
|
|
257
|
+
type: Pipe,
|
|
258
|
+
args: [{
|
|
259
|
+
name: 'skyActionHubRecentLinksResolve',
|
|
260
|
+
pure: false,
|
|
261
|
+
}]
|
|
262
|
+
}], ctorParameters: function () {
|
|
263
|
+
return [{ type: i0.ChangeDetectorRef }, { type: i4.SkyRecentlyAccessedService, decorators: [{
|
|
264
|
+
type: Optional
|
|
265
|
+
}] }];
|
|
266
|
+
} });
|
|
267
|
+
|
|
268
|
+
class SkyActionHubRelatedLinksSortPipe {
|
|
269
|
+
transform(relatedLinks) {
|
|
270
|
+
if (relatedLinks === 'loading') {
|
|
271
|
+
return 'loading';
|
|
272
|
+
}
|
|
273
|
+
if (!relatedLinks || relatedLinks.length === 0) {
|
|
274
|
+
return [];
|
|
275
|
+
}
|
|
276
|
+
return relatedLinks.slice(0).sort((a, b) => {
|
|
277
|
+
const aLabel = a.label.trim().toUpperCase();
|
|
278
|
+
const bLabel = b.label.trim().toUpperCase();
|
|
279
|
+
if (aLabel === bLabel) {
|
|
280
|
+
return 0;
|
|
281
|
+
}
|
|
282
|
+
return aLabel < bLabel ? -1 : 1;
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
SkyActionHubRelatedLinksSortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyActionHubRelatedLinksSortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
287
|
+
SkyActionHubRelatedLinksSortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyActionHubRelatedLinksSortPipe, name: "skyActionHubRelatedLinksSort" });
|
|
288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyActionHubRelatedLinksSortPipe, decorators: [{
|
|
289
|
+
type: Pipe,
|
|
290
|
+
args: [{
|
|
291
|
+
name: 'skyActionHubRelatedLinksSort',
|
|
292
|
+
}]
|
|
293
|
+
}] });
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Creates an action hub to direct user attention to important
|
|
297
|
+
* actions and provide quick access to common tasks.
|
|
298
|
+
*/
|
|
299
|
+
class SkyActionHubComponent {
|
|
300
|
+
constructor() {
|
|
301
|
+
/**
|
|
302
|
+
* Provides a list of actions that users must perform based on business requirements or best practices, or `"loading"` to display a wait indicator.
|
|
303
|
+
*/
|
|
304
|
+
this.needsAttention = [];
|
|
305
|
+
/**
|
|
306
|
+
* Provides a list of recently accessed links, or `"loading"` to display a wait indicator.
|
|
307
|
+
*/
|
|
308
|
+
this.recentLinks = [];
|
|
309
|
+
/**
|
|
310
|
+
* Provides a list of related links, or `"loading"` to display a wait indicator.
|
|
311
|
+
*/
|
|
312
|
+
this.relatedLinks = [];
|
|
313
|
+
/**
|
|
314
|
+
* Specifies the page title.
|
|
315
|
+
* @default ""
|
|
316
|
+
*/
|
|
317
|
+
this.title = '';
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
SkyActionHubComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyActionHubComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
321
|
+
SkyActionHubComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", 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]=\"relatedLinks | skyActionHubRelatedLinksSort\"\n [title]=\"'sky_action_hub_related_links' | skyLibResources\"\n ></sky-link-list>\n <sky-link-list\n [links]=\"recentLinks | skyActionHubRecentLinksResolve\"\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.λ14, selector: "sky-wait", inputs: ["ariaLabel", "isWaiting", "isFullPage", "isNonBlocking"] }, { type: i1.λ22, selector: "sky-fluid-grid", inputs: ["disableMargin", "gutterSize"] }, { type: i1.λ23, selector: "sky-row", inputs: ["reverseColumnOrder"] }, { type: i1.λ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.λ2, selector: "[skyThemeClass]", inputs: ["class", "skyThemeClass"] }, { type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "skyActionHubRelatedLinksSort": SkyActionHubRelatedLinksSortPipe, "skyLibResources": i6.SkyLibResourcesPipe, "skyActionHubRecentLinksResolve": SkyActionHubRecentLinksResolvePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyActionHubComponent, decorators: [{
|
|
323
|
+
type: Component,
|
|
324
|
+
args: [{ selector: 'sky-action-hub', changeDetection: ChangeDetectionStrategy.OnPush, 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]=\"relatedLinks | skyActionHubRelatedLinksSort\"\n [title]=\"'sky_action_hub_related_links' | skyLibResources\"\n ></sky-link-list>\n <sky-link-list\n [links]=\"recentLinks | skyActionHubRecentLinksResolve\"\n [title]=\"'sky_action_hub_recent_links' | skyLibResources\"\n ></sky-link-list>\n </sky-column>\n </sky-row>\n</sky-fluid-grid>\n" }]
|
|
325
|
+
}], propDecorators: { needsAttention: [{
|
|
326
|
+
type: Input
|
|
327
|
+
}], parentLink: [{
|
|
328
|
+
type: Input
|
|
329
|
+
}], recentLinks: [{
|
|
330
|
+
type: Input
|
|
331
|
+
}], relatedLinks: [{
|
|
332
|
+
type: Input
|
|
333
|
+
}], title: [{
|
|
334
|
+
type: Input
|
|
335
|
+
}] } });
|
|
336
|
+
|
|
337
|
+
class SkyActionHubModule {
|
|
338
|
+
}
|
|
339
|
+
SkyActionHubModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyActionHubModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
340
|
+
SkyActionHubModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyActionHubModule, declarations: [SkyActionHubButtonsComponent,
|
|
341
|
+
SkyActionHubComponent,
|
|
342
|
+
SkyActionHubContentComponent,
|
|
343
|
+
SkyActionHubRecentLinksResolvePipe,
|
|
344
|
+
SkyActionHubRelatedLinksSortPipe,
|
|
345
|
+
SkyNeedsAttentionComponent,
|
|
346
|
+
SkyLinkListComponent], imports: [CommonModule,
|
|
347
|
+
SkyPagesResourcesModule,
|
|
348
|
+
RouterModule,
|
|
349
|
+
SkyActionButtonModule,
|
|
350
|
+
SkyAppLinkModule,
|
|
351
|
+
SkyFluidGridModule,
|
|
352
|
+
SkyI18nModule,
|
|
353
|
+
SkyIconModule,
|
|
354
|
+
SkyKeyInfoModule,
|
|
355
|
+
SkyPageHeaderModule,
|
|
356
|
+
SkyThemeModule,
|
|
357
|
+
SkyWaitModule,
|
|
358
|
+
SkyHrefModule], exports: [SkyActionHubButtonsComponent,
|
|
359
|
+
SkyActionHubComponent,
|
|
360
|
+
SkyActionHubContentComponent] });
|
|
361
|
+
SkyActionHubModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyActionHubModule, imports: [[
|
|
362
|
+
CommonModule,
|
|
363
|
+
SkyPagesResourcesModule,
|
|
364
|
+
RouterModule,
|
|
365
|
+
SkyActionButtonModule,
|
|
366
|
+
SkyAppLinkModule,
|
|
367
|
+
SkyFluidGridModule,
|
|
368
|
+
SkyI18nModule,
|
|
369
|
+
SkyIconModule,
|
|
370
|
+
SkyKeyInfoModule,
|
|
371
|
+
SkyPageHeaderModule,
|
|
372
|
+
SkyThemeModule,
|
|
373
|
+
SkyWaitModule,
|
|
374
|
+
SkyHrefModule,
|
|
375
|
+
]] });
|
|
376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SkyActionHubModule, decorators: [{
|
|
377
|
+
type: NgModule,
|
|
378
|
+
args: [{
|
|
379
|
+
imports: [
|
|
380
|
+
CommonModule,
|
|
381
|
+
SkyPagesResourcesModule,
|
|
382
|
+
RouterModule,
|
|
383
|
+
SkyActionButtonModule,
|
|
384
|
+
SkyAppLinkModule,
|
|
385
|
+
SkyFluidGridModule,
|
|
386
|
+
SkyI18nModule,
|
|
387
|
+
SkyIconModule,
|
|
388
|
+
SkyKeyInfoModule,
|
|
389
|
+
SkyPageHeaderModule,
|
|
390
|
+
SkyThemeModule,
|
|
391
|
+
SkyWaitModule,
|
|
392
|
+
SkyHrefModule,
|
|
393
|
+
],
|
|
394
|
+
declarations: [
|
|
395
|
+
SkyActionHubButtonsComponent,
|
|
396
|
+
SkyActionHubComponent,
|
|
397
|
+
SkyActionHubContentComponent,
|
|
398
|
+
SkyActionHubRecentLinksResolvePipe,
|
|
399
|
+
SkyActionHubRelatedLinksSortPipe,
|
|
400
|
+
SkyNeedsAttentionComponent,
|
|
401
|
+
SkyLinkListComponent,
|
|
402
|
+
],
|
|
403
|
+
exports: [
|
|
404
|
+
SkyActionHubButtonsComponent,
|
|
405
|
+
SkyActionHubComponent,
|
|
406
|
+
SkyActionHubContentComponent,
|
|
407
|
+
],
|
|
408
|
+
}]
|
|
409
|
+
}] });
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Generated bundle index. Do not edit.
|
|
413
|
+
*/
|
|
414
|
+
|
|
415
|
+
export { SkyActionHubModule, SkyPageHeaderModule, SkyActionHubComponent as λ1, SkyActionHubButtonsComponent as λ2, SkyActionHubContentComponent as λ3, SkyPageHeaderComponent as λ4 };
|
|
416
|
+
//# sourceMappingURL=skyux-pages.mjs.map
|