@skyux/pages 8.7.2 → 9.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/documentation.json +150 -150
  2. package/{esm2020 → esm2022}/lib/modules/action-hub/action-hub-buttons.component.mjs +4 -4
  3. package/{esm2020 → esm2022}/lib/modules/action-hub/action-hub-content.component.mjs +4 -4
  4. package/esm2022/lib/modules/action-hub/action-hub-recent-links-resolve.pipe.mjs +100 -0
  5. package/{esm2020 → esm2022}/lib/modules/action-hub/action-hub-related-links-sort.pipe.mjs +4 -4
  6. package/esm2022/lib/modules/action-hub/action-hub.component.mjs +68 -0
  7. package/{esm2020 → esm2022}/lib/modules/action-hub/action-hub.module.mjs +31 -31
  8. package/{esm2020 → esm2022}/lib/modules/link-as/link-as.module.mjs +5 -5
  9. package/{esm2020 → esm2022}/lib/modules/link-as/link-as.pipe.mjs +4 -4
  10. package/esm2022/lib/modules/link-list/link-list.component.mjs +30 -0
  11. package/{esm2020 → esm2022}/lib/modules/link-list/link-list.module.mjs +17 -17
  12. package/esm2022/lib/modules/modal-link-list/modal-link-list.component.mjs +39 -0
  13. package/{esm2020 → esm2022}/lib/modules/modal-link-list/modal-link-list.module.mjs +15 -15
  14. package/esm2022/lib/modules/needs-attention/needs-attention.component.mjs +36 -0
  15. package/{esm2020 → esm2022}/lib/modules/needs-attention/needs-attention.module.mjs +25 -25
  16. package/{esm2020 → esm2022}/lib/modules/page/page-content.component.mjs +4 -4
  17. package/esm2022/lib/modules/page/page-theme-adapter.service.mjs +40 -0
  18. package/esm2022/lib/modules/page/page.component.mjs +76 -0
  19. package/{esm2020 → esm2022}/lib/modules/page/page.module.mjs +5 -5
  20. package/{esm2020 → esm2022}/lib/modules/page-header/page-header-actions.component.mjs +4 -4
  21. package/{esm2020 → esm2022}/lib/modules/page-header/page-header-alerts.component.mjs +4 -4
  22. package/esm2022/lib/modules/page-header/page-header-avatar.component.mjs +33 -0
  23. package/{esm2020 → esm2022}/lib/modules/page-header/page-header-details.component.mjs +4 -4
  24. package/{esm2020 → esm2022}/lib/modules/page-header/page-header.component.mjs +4 -4
  25. package/{esm2020 → esm2022}/lib/modules/page-header/page-header.module.mjs +23 -23
  26. package/esm2022/lib/modules/shared/sky-pages-resources.module.mjs +53 -0
  27. package/esm2022/testing/page/page-harness.mjs +44 -0
  28. package/esm2022/testing/page-header/page-header-harness.mjs +37 -0
  29. package/{fesm2020 → fesm2022}/skyux-pages-testing.mjs +12 -18
  30. package/{fesm2020 → fesm2022}/skyux-pages-testing.mjs.map +1 -1
  31. package/fesm2022/skyux-pages.mjs +849 -0
  32. package/{fesm2020 → fesm2022}/skyux-pages.mjs.map +1 -1
  33. package/lib/modules/action-hub/action-hub.component.d.ts +1 -1
  34. package/lib/modules/link-list/link-list.component.d.ts +1 -1
  35. package/lib/modules/modal-link-list/modal-link-list.component.d.ts +1 -1
  36. package/lib/modules/needs-attention/needs-attention.component.d.ts +1 -1
  37. package/lib/modules/page/page.component.d.ts +1 -1
  38. package/lib/modules/page-header/page-header.component.d.ts +1 -1
  39. package/package.json +19 -27
  40. package/esm2020/lib/modules/action-hub/action-hub-recent-links-resolve.pipe.mjs +0 -101
  41. package/esm2020/lib/modules/action-hub/action-hub.component.mjs +0 -71
  42. package/esm2020/lib/modules/link-list/link-list.component.mjs +0 -33
  43. package/esm2020/lib/modules/modal-link-list/modal-link-list.component.mjs +0 -42
  44. package/esm2020/lib/modules/needs-attention/needs-attention.component.mjs +0 -41
  45. package/esm2020/lib/modules/page/page-theme-adapter.service.mjs +0 -43
  46. package/esm2020/lib/modules/page/page.component.mjs +0 -76
  47. package/esm2020/lib/modules/page-header/page-header-avatar.component.mjs +0 -36
  48. package/esm2020/lib/modules/shared/sky-pages-resources.module.mjs +0 -53
  49. package/esm2020/testing/page/page-harness.mjs +0 -44
  50. package/esm2020/testing/page-header/page-header-harness.mjs +0 -43
  51. package/fesm2015/skyux-pages-testing.mjs +0 -100
  52. package/fesm2015/skyux-pages-testing.mjs.map +0 -1
  53. package/fesm2015/skyux-pages.mjs +0 -867
  54. package/fesm2015/skyux-pages.mjs.map +0 -1
  55. package/fesm2020/skyux-pages.mjs +0 -863
  56. /package/{esm2020 → esm2022}/index.mjs +0 -0
  57. /package/{esm2020 → esm2022}/lib/modules/action-hub/types/action-hub-needs-attention-click-handler.mjs +0 -0
  58. /package/{esm2020 → esm2022}/lib/modules/action-hub/types/action-hub-needs-attention-input.mjs +0 -0
  59. /package/{esm2020 → esm2022}/lib/modules/action-hub/types/action-hub-needs-attention.mjs +0 -0
  60. /package/{esm2020 → esm2022}/lib/modules/action-hub/types/page-link-interface.mjs +0 -0
  61. /package/{esm2020 → esm2022}/lib/modules/action-hub/types/page-link.mjs +0 -0
  62. /package/{esm2020 → esm2022}/lib/modules/action-hub/types/page-links-input.mjs +0 -0
  63. /package/{esm2020 → esm2022}/lib/modules/action-hub/types/page-modal-link.mjs +0 -0
  64. /package/{esm2020 → esm2022}/lib/modules/action-hub/types/page-modal-links-input.mjs +0 -0
  65. /package/{esm2020 → esm2022}/lib/modules/action-hub/types/recent-link.mjs +0 -0
  66. /package/{esm2020 → esm2022}/lib/modules/action-hub/types/recent-links-input.mjs +0 -0
  67. /package/{esm2020 → esm2022}/lib/modules/action-hub/types/recent-links-resolved.mjs +0 -0
  68. /package/{esm2020 → esm2022}/lib/modules/page/types/page-layout-type.mjs +0 -0
  69. /package/{esm2020 → esm2022}/skyux-pages.mjs +0 -0
  70. /package/{esm2020 → esm2022}/testing/page/page-harness-filters.mjs +0 -0
  71. /package/{esm2020 → esm2022}/testing/page-header/page-header-harness-filters.mjs +0 -0
  72. /package/{esm2020 → esm2022}/testing/public-api.mjs +0 -0
  73. /package/{esm2020 → esm2022}/testing/skyux-pages-testing.mjs +0 -0
@@ -1,867 +0,0 @@
1
- import * as i1 from '@angular/common';
2
- import { CommonModule, DOCUMENT } from '@angular/common';
3
- import * as i0 from '@angular/core';
4
- import { Pipe, NgModule, Component, Input, inject, Optional, ChangeDetectionStrategy, Injectable, Inject, HostBinding } from '@angular/core';
5
- import * as i6 from '@skyux/i18n';
6
- import { SkyI18nModule, getLibStringForLocale, SKY_LIB_RESOURCES_PROVIDERS } from '@skyux/i18n';
7
- import * as i4 from '@skyux/indicators';
8
- import { SkyWaitModule, SkyIconModule } from '@skyux/indicators';
9
- import * as i3 from '@skyux/layout';
10
- import { SkyBoxModule, SkyFluidGridModule } from '@skyux/layout';
11
- import * as i5 from '@skyux/theme';
12
- import { SkyThemeModule } from '@skyux/theme';
13
- import * as i2 from '@skyux/router';
14
- import { SkyAppLinkModule, SkyHrefModule } from '@skyux/router';
15
- import { __classPrivateFieldSet, __classPrivateFieldGet } from 'tslib';
16
- import * as i1$1 from '@skyux/modals';
17
- import { SkyLogService, SkyTrimModule, SkyDefaultInputProvider, SkyMediaQueryService, SkyMediaBreakpoints, SkyLayoutHostService } from '@skyux/core';
18
- import { RouterModule } from '@angular/router';
19
- import { Subject } from 'rxjs';
20
- import { takeUntil } from 'rxjs/operators';
21
-
22
- class LinkAsPipe {
23
- transform(value, linkAs) {
24
- const permalink = value === null || value === void 0 ? void 0 : value.permalink;
25
- const permalinkUrl = permalink === null || permalink === void 0 ? void 0 : permalink.url;
26
- switch (linkAs) {
27
- case 'button':
28
- return !!(value === null || value === void 0 ? void 0 : value.click) && !permalink;
29
- case 'href':
30
- return permalinkUrl !== undefined && !permalinkUrl.includes('://');
31
- case 'skyHref':
32
- return permalinkUrl !== undefined && permalinkUrl.includes('://');
33
- case 'skyAppLink':
34
- return !!(permalink && permalinkUrl === undefined && permalink.route);
35
- default:
36
- return false;
37
- }
38
- }
39
- }
40
- LinkAsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LinkAsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
41
- LinkAsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: LinkAsPipe, name: "linkAs" });
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LinkAsPipe, decorators: [{
43
- type: Pipe,
44
- args: [{
45
- name: 'linkAs',
46
- }]
47
- }] });
48
-
49
- class LinkAsModule {
50
- }
51
- LinkAsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LinkAsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
52
- LinkAsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: LinkAsModule, declarations: [LinkAsPipe], exports: [LinkAsPipe] });
53
- LinkAsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LinkAsModule });
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LinkAsModule, decorators: [{
55
- type: NgModule,
56
- args: [{
57
- declarations: [LinkAsPipe],
58
- exports: [LinkAsPipe],
59
- }]
60
- }] });
61
-
62
- var _SkyLinkListComponent__links;
63
- class SkyLinkListComponent {
64
- constructor() {
65
- this.linksArray = [];
66
- _SkyLinkListComponent__links.set(this, void 0);
67
- }
68
- set links(value) {
69
- __classPrivateFieldSet(this, _SkyLinkListComponent__links, value, "f");
70
- this.linksArray = Array.isArray(value) ? value : [];
71
- }
72
- get links() {
73
- return __classPrivateFieldGet(this, _SkyLinkListComponent__links, "f");
74
- }
75
- }
76
- _SkyLinkListComponent__links = new WeakMap();
77
- SkyLinkListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyLinkListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
78
- SkyLinkListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyLinkListComponent, selector: "sky-link-list", inputs: { links: "links", title: "title" }, ngImport: i0, template: "<sky-wait [isWaiting]=\"links === 'loading'\"></sky-wait>\n<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\">\n {{ title }}\n </h2>\n</ng-template>\n<ng-template #loadingTemplateRef>\n <ng-container [ngTemplateOutlet]=\"headingTemplateRef\"></ng-container>\n</ng-template>\n<ng-template #linksTemplateRef>\n <ng-container *ngIf=\"linksArray.length > 0\">\n <ng-container [ngTemplateOutlet]=\"headingTemplateRef\"></ng-container>\n <ul class=\"sky-link-list\">\n <li *ngFor=\"let link of linksArray\">\n <a *ngIf=\"link | linkAs : 'skyHref'\" [skyHref]=\"link.permalink.url\">\n {{ link.label }}\n </a>\n <a *ngIf=\"link | linkAs : 'href'\" [href]=\"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: ["ul.sky-link-list{list-style:none;margin:0 0 var(--sky-margin-stacked-xl) 0;padding-left:0}h2,li{margin:0 0 var(--sky-margin-stacked-sm) 0}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.λ3, selector: "[skyAppLink]", inputs: ["skyAppLink"] }, { kind: "directive", type: i2.λ1, selector: "[skyHref]", inputs: ["skyHref", "skyHrefElse"], outputs: ["skyHrefChange"] }, { kind: "component", type: i4.λ14, selector: "sky-wait", inputs: ["ariaLabel", "isWaiting", "isFullPage", "isNonBlocking", "screenReaderCompletedText"] }, { kind: "pipe", type: LinkAsPipe, name: "linkAs" }] });
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyLinkListComponent, decorators: [{
80
- type: Component,
81
- args: [{ selector: 'sky-link-list', template: "<sky-wait [isWaiting]=\"links === 'loading'\"></sky-wait>\n<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\">\n {{ title }}\n </h2>\n</ng-template>\n<ng-template #loadingTemplateRef>\n <ng-container [ngTemplateOutlet]=\"headingTemplateRef\"></ng-container>\n</ng-template>\n<ng-template #linksTemplateRef>\n <ng-container *ngIf=\"linksArray.length > 0\">\n <ng-container [ngTemplateOutlet]=\"headingTemplateRef\"></ng-container>\n <ul class=\"sky-link-list\">\n <li *ngFor=\"let link of linksArray\">\n <a *ngIf=\"link | linkAs : 'skyHref'\" [skyHref]=\"link.permalink.url\">\n {{ link.label }}\n </a>\n <a *ngIf=\"link | linkAs : 'href'\" [href]=\"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: ["ul.sky-link-list{list-style:none;margin:0 0 var(--sky-margin-stacked-xl) 0;padding-left:0}h2,li{margin:0 0 var(--sky-margin-stacked-sm) 0}\n"] }]
82
- }], propDecorators: { links: [{
83
- type: Input
84
- }], title: [{
85
- type: Input
86
- }] } });
87
-
88
- class SkyLinkListModule {
89
- }
90
- SkyLinkListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyLinkListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
91
- SkyLinkListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyLinkListModule, declarations: [SkyLinkListComponent], imports: [CommonModule,
92
- SkyAppLinkModule,
93
- SkyHrefModule,
94
- SkyI18nModule,
95
- SkyThemeModule,
96
- SkyWaitModule,
97
- LinkAsModule], exports: [SkyLinkListComponent] });
98
- SkyLinkListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyLinkListModule, imports: [CommonModule,
99
- SkyAppLinkModule,
100
- SkyHrefModule,
101
- SkyI18nModule,
102
- SkyThemeModule,
103
- SkyWaitModule,
104
- LinkAsModule] });
105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyLinkListModule, decorators: [{
106
- type: NgModule,
107
- args: [{
108
- declarations: [SkyLinkListComponent],
109
- exports: [SkyLinkListComponent],
110
- imports: [
111
- CommonModule,
112
- SkyAppLinkModule,
113
- SkyHrefModule,
114
- SkyI18nModule,
115
- SkyThemeModule,
116
- SkyWaitModule,
117
- LinkAsModule,
118
- ],
119
- }]
120
- }] });
121
-
122
- var _SkyModalLinkListComponent__links, _SkyModalLinkListComponent_modalService;
123
- class SkyModalLinkListComponent {
124
- set links(value) {
125
- __classPrivateFieldSet(this, _SkyModalLinkListComponent__links, value, "f");
126
- this.linksArray = Array.isArray(value) ? value : [];
127
- }
128
- get links() {
129
- return __classPrivateFieldGet(this, _SkyModalLinkListComponent__links, "f");
130
- }
131
- constructor(modalService) {
132
- this.linksArray = [];
133
- _SkyModalLinkListComponent__links.set(this, void 0);
134
- _SkyModalLinkListComponent_modalService.set(this, void 0);
135
- __classPrivateFieldSet(this, _SkyModalLinkListComponent_modalService, modalService, "f");
136
- }
137
- openModal(link) {
138
- const modal = link.modal;
139
- if (modal) {
140
- __classPrivateFieldGet(this, _SkyModalLinkListComponent_modalService, "f").open(modal.component, modal.config);
141
- }
142
- }
143
- }
144
- _SkyModalLinkListComponent__links = new WeakMap(), _SkyModalLinkListComponent_modalService = new WeakMap();
145
- SkyModalLinkListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyModalLinkListComponent, deps: [{ token: i1$1.SkyModalService }], target: i0.ɵɵFactoryTarget.Component });
146
- SkyModalLinkListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyModalLinkListComponent, selector: "sky-modal-link-list", inputs: { links: "links", title: "title" }, ngImport: i0, template: "<sky-wait [isWaiting]=\"links === 'loading'\"></sky-wait>\n<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\">\n {{ title }}\n </h2>\n</ng-template>\n<ng-template #loadingTemplateRef>\n <ng-container [ngTemplateOutlet]=\"headingTemplateRef\"></ng-container>\n</ng-template>\n<ng-template #linksTemplateRef>\n <ng-container *ngIf=\"linksArray.length > 0\">\n <ng-container [ngTemplateOutlet]=\"headingTemplateRef\"></ng-container>\n <ul class=\"sky-link-list\">\n <li *ngFor=\"let link of linksArray\">\n <a *ngIf=\"link | linkAs : 'skyHref'\" [skyHref]=\"link.permalink?.url\">\n {{ link.label }}\n </a>\n <a *ngIf=\"link | linkAs : 'href'\" [href]=\"link.permalink?.url\">\n {{ link.label }}\n </a>\n <a\n *ngIf=\"link.permalink && 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 <button\n *ngIf=\"link.modal\"\n (click)=\"openModal(link)\"\n class=\"sky-btn sky-btn-link-inline\"\n type=\"button\"\n >\n {{ link.label }}\n </button>\n </li>\n </ul>\n </ng-container>\n</ng-template>\n", styles: ["ul.sky-link-list{list-style:none;margin:0 0 var(--sky-margin-stacked-xl) 0;padding-left:0}h2,li{margin:0 0 var(--sky-margin-stacked-sm) 0}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.λ3, selector: "[skyAppLink]", inputs: ["skyAppLink"] }, { kind: "directive", type: i2.λ1, selector: "[skyHref]", inputs: ["skyHref", "skyHrefElse"], outputs: ["skyHrefChange"] }, { kind: "component", type: i4.λ14, selector: "sky-wait", inputs: ["ariaLabel", "isWaiting", "isFullPage", "isNonBlocking", "screenReaderCompletedText"] }, { kind: "pipe", type: LinkAsPipe, name: "linkAs" }] });
147
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyModalLinkListComponent, decorators: [{
148
- type: Component,
149
- args: [{ selector: 'sky-modal-link-list', template: "<sky-wait [isWaiting]=\"links === 'loading'\"></sky-wait>\n<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\">\n {{ title }}\n </h2>\n</ng-template>\n<ng-template #loadingTemplateRef>\n <ng-container [ngTemplateOutlet]=\"headingTemplateRef\"></ng-container>\n</ng-template>\n<ng-template #linksTemplateRef>\n <ng-container *ngIf=\"linksArray.length > 0\">\n <ng-container [ngTemplateOutlet]=\"headingTemplateRef\"></ng-container>\n <ul class=\"sky-link-list\">\n <li *ngFor=\"let link of linksArray\">\n <a *ngIf=\"link | linkAs : 'skyHref'\" [skyHref]=\"link.permalink?.url\">\n {{ link.label }}\n </a>\n <a *ngIf=\"link | linkAs : 'href'\" [href]=\"link.permalink?.url\">\n {{ link.label }}\n </a>\n <a\n *ngIf=\"link.permalink && 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 <button\n *ngIf=\"link.modal\"\n (click)=\"openModal(link)\"\n class=\"sky-btn sky-btn-link-inline\"\n type=\"button\"\n >\n {{ link.label }}\n </button>\n </li>\n </ul>\n </ng-container>\n</ng-template>\n", styles: ["ul.sky-link-list{list-style:none;margin:0 0 var(--sky-margin-stacked-xl) 0;padding-left:0}h2,li{margin:0 0 var(--sky-margin-stacked-sm) 0}\n"] }]
150
- }], ctorParameters: function () { return [{ type: i1$1.SkyModalService }]; }, propDecorators: { links: [{
151
- type: Input
152
- }], title: [{
153
- type: Input
154
- }] } });
155
-
156
- class SkyModalLinkListModule {
157
- }
158
- SkyModalLinkListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyModalLinkListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
159
- SkyModalLinkListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyModalLinkListModule, declarations: [SkyModalLinkListComponent], imports: [CommonModule,
160
- SkyAppLinkModule,
161
- SkyHrefModule,
162
- SkyI18nModule,
163
- SkyWaitModule,
164
- LinkAsModule], exports: [SkyModalLinkListComponent] });
165
- SkyModalLinkListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyModalLinkListModule, imports: [CommonModule,
166
- SkyAppLinkModule,
167
- SkyHrefModule,
168
- SkyI18nModule,
169
- SkyWaitModule,
170
- LinkAsModule] });
171
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyModalLinkListModule, decorators: [{
172
- type: NgModule,
173
- args: [{
174
- declarations: [SkyModalLinkListComponent],
175
- exports: [SkyModalLinkListComponent],
176
- imports: [
177
- CommonModule,
178
- SkyAppLinkModule,
179
- SkyHrefModule,
180
- SkyI18nModule,
181
- SkyWaitModule,
182
- LinkAsModule,
183
- ],
184
- }]
185
- }] });
186
-
187
- /**
188
- * NOTICE: DO NOT MODIFY THIS FILE!
189
- * The contents of this file were automatically generated by
190
- * the 'ng generate @skyux/i18n:lib-resources-module lib/modules/shared/sky-pages' schematic.
191
- * To update this file, simply rerun the command.
192
- */
193
- const RESOURCES = {
194
- 'EN-US': {
195
- sky_action_hub_related_links: { message: 'Related links' },
196
- sky_action_hub_recent_links: { message: 'Recently accessed' },
197
- sky_action_hub_settings_links: { message: 'Settings' },
198
- sky_action_hub_needs_attention: { message: 'Needs attention' },
199
- sky_action_hub_needs_attention_empty: {
200
- message: 'No issues currently need attention',
201
- },
202
- },
203
- };
204
- class SkyPagesResourcesProvider {
205
- getString(localeInfo, name) {
206
- return getLibStringForLocale(RESOURCES, localeInfo.locale, name);
207
- }
208
- }
209
- /**
210
- * Import into any component library module that needs to use resource strings.
211
- */
212
- class SkyPagesResourcesModule {
213
- }
214
- SkyPagesResourcesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPagesResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
215
- SkyPagesResourcesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyPagesResourcesModule, exports: [SkyI18nModule] });
216
- SkyPagesResourcesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPagesResourcesModule, providers: [
217
- {
218
- provide: SKY_LIB_RESOURCES_PROVIDERS,
219
- useClass: SkyPagesResourcesProvider,
220
- multi: true,
221
- },
222
- ], imports: [SkyI18nModule] });
223
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPagesResourcesModule, decorators: [{
224
- type: NgModule,
225
- args: [{
226
- exports: [SkyI18nModule],
227
- providers: [
228
- {
229
- provide: SKY_LIB_RESOURCES_PROVIDERS,
230
- useClass: SkyPagesResourcesProvider,
231
- multi: true,
232
- },
233
- ],
234
- }]
235
- }] });
236
-
237
- var _SkyNeedsAttentionComponent_items, _SkyNeedsAttentionComponent_logService;
238
- class SkyNeedsAttentionComponent {
239
- constructor() {
240
- _SkyNeedsAttentionComponent_items.set(this, void 0);
241
- _SkyNeedsAttentionComponent_logService.set(this, inject(SkyLogService));
242
- }
243
- set items(value) {
244
- __classPrivateFieldSet(this, _SkyNeedsAttentionComponent_items, value, "f");
245
- if (value === null || value === void 0 ? void 0 : value.some((c) => c.message)) {
246
- __classPrivateFieldGet(this, _SkyNeedsAttentionComponent_logService, "f").deprecated(`SkyActionHubNeedsAttention.message`, {
247
- deprecationMajorVersion: 7,
248
- replacementRecommendation: 'Use `title` instead.',
249
- moreInfoUrl: 'https://developer.blackbaud.com/skyux/components/action-hub?docs-active-tab=development#interface-skyactionhubneedsattention',
250
- });
251
- }
252
- }
253
- get items() {
254
- return __classPrivateFieldGet(this, _SkyNeedsAttentionComponent_items, "f");
255
- }
256
- }
257
- _SkyNeedsAttentionComponent_items = new WeakMap(), _SkyNeedsAttentionComponent_logService = new WeakMap();
258
- SkyNeedsAttentionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyNeedsAttentionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
259
- SkyNeedsAttentionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyNeedsAttentionComponent, selector: "sky-needs-attention", inputs: { items: "items" }, ngImport: i0, template: "<ng-template #itemsTemplate>\n <ul>\n <li\n *ngFor=\"let item of items; let isLast = last\"\n class=\"sky-needs-attention-item-wrapper sky-font-emphasized\"\n [ngClass]=\"{\n 'sky-border-bottom-row': !isLast\n }\"\n >\n <a\n *ngIf=\"\n (item | linkAs : 'skyAppLink') &&\n item.permalink?.route as permalinkRoute\n \"\n [skyAppLink]=\"permalinkRoute.commands\"\n [queryParams]=\"permalinkRoute.extras?.queryParams\"\n [queryParamsHandling]=\"permalinkRoute.extras?.queryParamsHandling\"\n [fragment]=\"permalinkRoute.extras?.fragment\"\n [preserveFragment]=\"permalinkRoute.extras?.preserveFragment\"\n [skipLocationChange]=\"permalinkRoute.extras?.skipLocationChange\"\n [replaceUrl]=\"permalinkRoute.extras?.replaceUrl\"\n [state]=\"permalinkRoute.extras?.state\"\n class=\"sky-needs-attention-item\"\n >{{ item.title }} {{ item.message }}</a\n >\n <ng-container *ngIf=\"item.permalink as permalink\">\n <a\n *ngIf=\"item | linkAs : 'skyHref'\"\n [skyHref]=\"permalink.url\"\n class=\"sky-needs-attention-item\"\n >{{ item.title }} {{ item.message }}</a\n >\n <a\n *ngIf=\"item | linkAs : 'href'\"\n [href]=\"permalink.url\"\n class=\"sky-needs-attention-item\"\n >{{ item.title }} {{ item.message }}</a\n >\n </ng-container>\n <button\n *ngIf=\"item | linkAs : 'button'\"\n class=\"sky-needs-attention-item sky-btn sky-btn-link-inline\"\n type=\"button\"\n (click)=\"item?.click({item})\"\n >\n {{ item.title }} {{ item.message }}\n </button>\n <sky-icon\n *skyThemeIf=\"'default'\"\n class=\"sky-needs-attention-item-icon\"\n icon=\"caret-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 </li>\n </ul>\n</ng-template>\n\n<sky-box>\n <sky-box-header>\n <h2 class=\"sky-font-heading-2\">\n {{ 'sky_action_hub_needs_attention' | skyLibResources }}\n </h2>\n </sky-box-header>\n <sky-box-content>\n <ng-container *ngIf=\"items?.length === 0; else itemsTemplate\">{{\n 'sky_action_hub_needs_attention_empty' | skyLibResources\n }}</ng-container>\n </sky-box-content>\n</sky-box>\n", styles: [":host{display:block;margin-bottom:var(--sky-margin-stacked-xl)}h2{margin:0}ul{list-style:none;padding:0;margin:0}ul li{margin:0}.sky-needs-attention-item-wrapper{position:relative;display:grid;grid-template-columns:5fr 1fr;grid-template-areas:\"action icon\"}.sky-needs-attention-item-wrapper:not(:first-child){padding-top:var(--sky-margin-stacked-lg)}.sky-needs-attention-item-wrapper:not(:last-child){padding-bottom:var(--sky-margin-stacked-lg)}.sky-needs-attention-item{grid-area:action;text-align:left;width:100%;white-space:normal}.sky-needs-attention-item-icon{grid-area:icon;text-align:right;color:#686c73}.sky-needs-attention-item:focus-visible{outline:none}.sky-needs-attention-item:focus-visible:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 8px #0000004d}.sky-needs-attention-item:before{content:\" \";position:absolute;inset:0;cursor:pointer}button.sky-needs-attention-item.sky-border-bottom-row{border-bottom:1px dotted #cdcfd2}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.λ3, selector: "[skyAppLink]", inputs: ["skyAppLink"] }, { kind: "component", type: i3.λ41, selector: "sky-box", inputs: ["ariaLabel", "ariaLabelledBy", "ariaRole"] }, { kind: "component", type: i3.λ42, selector: "sky-box-header" }, { kind: "component", type: i3.λ43, selector: "sky-box-content" }, { kind: "directive", type: i2.λ1, selector: "[skyHref]", inputs: ["skyHref", "skyHrefElse"], outputs: ["skyHrefChange"] }, { kind: "component", type: i4.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { kind: "directive", type: i5.λ3, selector: "[skyThemeIf]", inputs: ["skyThemeIf"] }, { kind: "pipe", type: i6.SkyLibResourcesPipe, name: "skyLibResources" }, { kind: "pipe", type: LinkAsPipe, name: "linkAs" }] });
260
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyNeedsAttentionComponent, decorators: [{
261
- type: Component,
262
- args: [{ selector: 'sky-needs-attention', template: "<ng-template #itemsTemplate>\n <ul>\n <li\n *ngFor=\"let item of items; let isLast = last\"\n class=\"sky-needs-attention-item-wrapper sky-font-emphasized\"\n [ngClass]=\"{\n 'sky-border-bottom-row': !isLast\n }\"\n >\n <a\n *ngIf=\"\n (item | linkAs : 'skyAppLink') &&\n item.permalink?.route as permalinkRoute\n \"\n [skyAppLink]=\"permalinkRoute.commands\"\n [queryParams]=\"permalinkRoute.extras?.queryParams\"\n [queryParamsHandling]=\"permalinkRoute.extras?.queryParamsHandling\"\n [fragment]=\"permalinkRoute.extras?.fragment\"\n [preserveFragment]=\"permalinkRoute.extras?.preserveFragment\"\n [skipLocationChange]=\"permalinkRoute.extras?.skipLocationChange\"\n [replaceUrl]=\"permalinkRoute.extras?.replaceUrl\"\n [state]=\"permalinkRoute.extras?.state\"\n class=\"sky-needs-attention-item\"\n >{{ item.title }} {{ item.message }}</a\n >\n <ng-container *ngIf=\"item.permalink as permalink\">\n <a\n *ngIf=\"item | linkAs : 'skyHref'\"\n [skyHref]=\"permalink.url\"\n class=\"sky-needs-attention-item\"\n >{{ item.title }} {{ item.message }}</a\n >\n <a\n *ngIf=\"item | linkAs : 'href'\"\n [href]=\"permalink.url\"\n class=\"sky-needs-attention-item\"\n >{{ item.title }} {{ item.message }}</a\n >\n </ng-container>\n <button\n *ngIf=\"item | linkAs : 'button'\"\n class=\"sky-needs-attention-item sky-btn sky-btn-link-inline\"\n type=\"button\"\n (click)=\"item?.click({item})\"\n >\n {{ item.title }} {{ item.message }}\n </button>\n <sky-icon\n *skyThemeIf=\"'default'\"\n class=\"sky-needs-attention-item-icon\"\n icon=\"caret-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 </li>\n </ul>\n</ng-template>\n\n<sky-box>\n <sky-box-header>\n <h2 class=\"sky-font-heading-2\">\n {{ 'sky_action_hub_needs_attention' | skyLibResources }}\n </h2>\n </sky-box-header>\n <sky-box-content>\n <ng-container *ngIf=\"items?.length === 0; else itemsTemplate\">{{\n 'sky_action_hub_needs_attention_empty' | skyLibResources\n }}</ng-container>\n </sky-box-content>\n</sky-box>\n", styles: [":host{display:block;margin-bottom:var(--sky-margin-stacked-xl)}h2{margin:0}ul{list-style:none;padding:0;margin:0}ul li{margin:0}.sky-needs-attention-item-wrapper{position:relative;display:grid;grid-template-columns:5fr 1fr;grid-template-areas:\"action icon\"}.sky-needs-attention-item-wrapper:not(:first-child){padding-top:var(--sky-margin-stacked-lg)}.sky-needs-attention-item-wrapper:not(:last-child){padding-bottom:var(--sky-margin-stacked-lg)}.sky-needs-attention-item{grid-area:action;text-align:left;width:100%;white-space:normal}.sky-needs-attention-item-icon{grid-area:icon;text-align:right;color:#686c73}.sky-needs-attention-item:focus-visible{outline:none}.sky-needs-attention-item:focus-visible:not(:active){border:none;box-shadow:inset 0 0 0 2px #1870b8,0 1px 8px #0000004d}.sky-needs-attention-item:before{content:\" \";position:absolute;inset:0;cursor:pointer}button.sky-needs-attention-item.sky-border-bottom-row{border-bottom:1px dotted #cdcfd2}\n"] }]
263
- }], propDecorators: { items: [{
264
- type: Input
265
- }] } });
266
-
267
- class SkyNeedsAttentionModule {
268
- }
269
- SkyNeedsAttentionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyNeedsAttentionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
270
- SkyNeedsAttentionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyNeedsAttentionModule, declarations: [SkyNeedsAttentionComponent], imports: [CommonModule,
271
- SkyAppLinkModule,
272
- SkyBoxModule,
273
- SkyHrefModule,
274
- SkyI18nModule,
275
- SkyIconModule,
276
- SkyPagesResourcesModule,
277
- SkyThemeModule,
278
- SkyTrimModule,
279
- SkyWaitModule,
280
- LinkAsModule], exports: [SkyNeedsAttentionComponent] });
281
- SkyNeedsAttentionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyNeedsAttentionModule, imports: [CommonModule,
282
- SkyAppLinkModule,
283
- SkyBoxModule,
284
- SkyHrefModule,
285
- SkyI18nModule,
286
- SkyIconModule,
287
- SkyPagesResourcesModule,
288
- SkyThemeModule,
289
- SkyTrimModule,
290
- SkyWaitModule,
291
- LinkAsModule] });
292
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyNeedsAttentionModule, decorators: [{
293
- type: NgModule,
294
- args: [{
295
- declarations: [SkyNeedsAttentionComponent],
296
- exports: [SkyNeedsAttentionComponent],
297
- imports: [
298
- CommonModule,
299
- SkyAppLinkModule,
300
- SkyBoxModule,
301
- SkyHrefModule,
302
- SkyI18nModule,
303
- SkyIconModule,
304
- SkyPagesResourcesModule,
305
- SkyThemeModule,
306
- SkyTrimModule,
307
- SkyWaitModule,
308
- LinkAsModule,
309
- ],
310
- }]
311
- }] });
312
-
313
- /**
314
- * Displays buttons within the page header for page actions and applies spacing between buttons.
315
- * Appears below the page header details.
316
- */
317
- class SkyPageHeaderActionsComponent {
318
- }
319
- SkyPageHeaderActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageHeaderActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
320
- SkyPageHeaderActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyPageHeaderActionsComponent, selector: "sky-page-header-actions", ngImport: i0, template: "<ng-content />\n", styles: [":host{display:block}:host:not(:empty){margin-top:var(--sky-margin-stacked-xl)}:host:not(:empty) ::ng-deep .sky-btn+.sky-btn{margin-left:var(--sky-margin-inline-sm)}\n"] });
321
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageHeaderActionsComponent, decorators: [{
322
- type: Component,
323
- args: [{ selector: 'sky-page-header-actions', template: "<ng-content />\n", styles: [":host{display:block}:host:not(:empty){margin-top:var(--sky-margin-stacked-xl)}:host:not(:empty) ::ng-deep .sky-btn+.sky-btn{margin-left:var(--sky-margin-inline-sm)}\n"] }]
324
- }] });
325
-
326
- /**
327
- * Displays alerts within the page header and applies spacing between alerts. Appears above the page title.
328
- */
329
- class SkyPageHeaderAlertsComponent {
330
- }
331
- SkyPageHeaderAlertsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageHeaderAlertsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
332
- SkyPageHeaderAlertsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyPageHeaderAlertsComponent, selector: "sky-page-header-alerts", ngImport: i0, template: "<ng-content />\n", styles: [":host{display:block}:host:not(:empty){margin-bottom:var(--sky-margin-stacked-lg)}:host:not(:empty) ::ng-deep sky-alert+sky-alert{margin-top:var(--sky-margin-stacked-lg)}\n"] });
333
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageHeaderAlertsComponent, decorators: [{
334
- type: Component,
335
- args: [{ selector: 'sky-page-header-alerts', template: "<ng-content />\n", styles: [":host{display:block}:host:not(:empty){margin-bottom:var(--sky-margin-stacked-lg)}:host:not(:empty) ::ng-deep sky-alert+sky-alert{margin-top:var(--sky-margin-stacked-lg)}\n"] }]
336
- }] });
337
-
338
- var _SkyPageHeaderAvatarComponent_defaultInputProvider, _SkyPageHeaderAvatarComponent_mediaQueryService, _SkyPageHeaderAvatarComponent_mediaQuerySubscription;
339
- /**
340
- * Displays an avatar within the page header to the left of the page title.
341
- * If no size is specified for the avatar component it will display at size
342
- * small on xs breakpoints and size large on small and above breakpoints.
343
- */
344
- class SkyPageHeaderAvatarComponent {
345
- constructor() {
346
- _SkyPageHeaderAvatarComponent_defaultInputProvider.set(this, inject(SkyDefaultInputProvider));
347
- _SkyPageHeaderAvatarComponent_mediaQueryService.set(this, inject(SkyMediaQueryService));
348
- _SkyPageHeaderAvatarComponent_mediaQuerySubscription.set(this, void 0);
349
- __classPrivateFieldSet(this, _SkyPageHeaderAvatarComponent_mediaQuerySubscription, __classPrivateFieldGet(this, _SkyPageHeaderAvatarComponent_mediaQueryService, "f").subscribe((args) => {
350
- if (args === SkyMediaBreakpoints.xs) {
351
- __classPrivateFieldGet(this, _SkyPageHeaderAvatarComponent_defaultInputProvider, "f").setValue('avatar', 'size', 'small');
352
- }
353
- else {
354
- __classPrivateFieldGet(this, _SkyPageHeaderAvatarComponent_defaultInputProvider, "f").setValue('avatar', 'size', 'large');
355
- }
356
- }), "f");
357
- }
358
- ngOnDestroy() {
359
- __classPrivateFieldGet(this, _SkyPageHeaderAvatarComponent_mediaQuerySubscription, "f").unsubscribe();
360
- }
361
- }
362
- _SkyPageHeaderAvatarComponent_defaultInputProvider = new WeakMap(), _SkyPageHeaderAvatarComponent_mediaQueryService = new WeakMap(), _SkyPageHeaderAvatarComponent_mediaQuerySubscription = new WeakMap();
363
- SkyPageHeaderAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageHeaderAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
364
- SkyPageHeaderAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyPageHeaderAvatarComponent, selector: "sky-page-header-avatar", providers: [SkyDefaultInputProvider], ngImport: i0, template: "<ng-content />\n", styles: [":host{display:block}:host:not(:empty){padding-top:5px;margin-right:var(--sky-margin-inline-sm)}@media (min-width: 768px){:host:not(:empty){margin-right:var(--sky-margin-inline-lg)}}:host-context(.sky-responsive-container-sm):not(:empty),:host-context(.sky-responsive-container-md):not(:empty),:host-context(.sky-responsive-container-lg):not(:empty){margin-right:var(--sky-margin-inline-lg)}\n"] });
365
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageHeaderAvatarComponent, decorators: [{
366
- type: Component,
367
- args: [{ selector: 'sky-page-header-avatar', providers: [SkyDefaultInputProvider], template: "<ng-content />\n", styles: [":host{display:block}:host:not(:empty){padding-top:5px;margin-right:var(--sky-margin-inline-sm)}@media (min-width: 768px){:host:not(:empty){margin-right:var(--sky-margin-inline-lg)}}:host-context(.sky-responsive-container-sm):not(:empty),:host-context(.sky-responsive-container-md):not(:empty),:host-context(.sky-responsive-container-lg):not(:empty){margin-right:var(--sky-margin-inline-lg)}\n"] }]
368
- }], ctorParameters: function () { return []; } });
369
-
370
- /**
371
- * Displays additional information in the page header, like record details.
372
- * Appears below the title and above the page actions.
373
- */
374
- class SkyPageHeaderDetailsComponent {
375
- }
376
- SkyPageHeaderDetailsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageHeaderDetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
377
- SkyPageHeaderDetailsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyPageHeaderDetailsComponent, selector: "sky-page-header-details", ngImport: i0, template: "<ng-content />\n", styles: [":host{display:block}:host:not(:empty){margin-top:var(--sky-margin-stacked-sm)}\n"] });
378
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageHeaderDetailsComponent, decorators: [{
379
- type: Component,
380
- args: [{ selector: 'sky-page-header-details', template: "<ng-content />\n", styles: [":host{display:block}:host:not(:empty){margin-top:var(--sky-margin-stacked-sm)}\n"] }]
381
- }] });
382
-
383
- let parentLink;
384
- /**
385
- * Displays page heading's contents using spacing that corresponds to the parent page's layout
386
- */
387
- class SkyPageHeaderComponent {
388
- }
389
- SkyPageHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
390
- SkyPageHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyPageHeaderComponent, selector: "sky-page-header", inputs: { parentLink: "parentLink", pageTitle: "pageTitle" }, ngImport: i0, template: "<div class=\"sky-page-header\">\n <ng-content select=\"sky-page-header-alerts\"></ng-content>\n <div class=\"sky-page-header-info\">\n <ng-content select=\"sky-page-header-avatar\"></ng-content>\n <div>\n <h1 class=\"sky-page-header-text\">\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 as permalinkRoute\"\n [skyAppLink]=\"permalinkRoute.commands\"\n [queryParams]=\"permalinkRoute.extras?.queryParams\"\n [queryParamsHandling]=\"permalinkRoute.extras?.queryParamsHandling\"\n [fragment]=\"permalinkRoute.extras?.fragment\"\n [preserveFragment]=\"permalinkRoute.extras?.preserveFragment\"\n [skipLocationChange]=\"permalinkRoute.extras?.skipLocationChange\"\n [replaceUrl]=\"permalinkRoute.extras?.replaceUrl\"\n [state]=\"permalinkRoute.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 icon=\"chevron-right\" iconType=\"skyux\" />\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 <div class=\"sky-page-header-content\">\n <ng-content select=\"sky-page-header-details\"></ng-content>\n <ng-content select=\"sky-page-header-actions\"></ng-content>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{flex-grow:var(--sky-layout-host-header-flex-grow, 0);display:block}.sky-page-header{margin:var(--sky-layout-host-header-spacing, var(--sky-compat-page-header-margin-top-and-bottom, 0) 0)}.sky-page-header-info{display:flex}.sky-page-header-text{margin:0}.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}.sky-page-header-content:empty{display:none}: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"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.λ3, selector: "[skyAppLink]", inputs: ["skyAppLink"] }, { kind: "component", type: i4.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { kind: "directive", type: i2.λ1, selector: "[skyHref]", inputs: ["skyHref", "skyHrefElse"], outputs: ["skyHrefChange"] }] });
391
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageHeaderComponent, decorators: [{
392
- type: Component,
393
- args: [{ selector: 'sky-page-header', template: "<div class=\"sky-page-header\">\n <ng-content select=\"sky-page-header-alerts\"></ng-content>\n <div class=\"sky-page-header-info\">\n <ng-content select=\"sky-page-header-avatar\"></ng-content>\n <div>\n <h1 class=\"sky-page-header-text\">\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 as permalinkRoute\"\n [skyAppLink]=\"permalinkRoute.commands\"\n [queryParams]=\"permalinkRoute.extras?.queryParams\"\n [queryParamsHandling]=\"permalinkRoute.extras?.queryParamsHandling\"\n [fragment]=\"permalinkRoute.extras?.fragment\"\n [preserveFragment]=\"permalinkRoute.extras?.preserveFragment\"\n [skipLocationChange]=\"permalinkRoute.extras?.skipLocationChange\"\n [replaceUrl]=\"permalinkRoute.extras?.replaceUrl\"\n [state]=\"permalinkRoute.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 icon=\"chevron-right\" iconType=\"skyux\" />\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 <div class=\"sky-page-header-content\">\n <ng-content select=\"sky-page-header-details\"></ng-content>\n <ng-content select=\"sky-page-header-actions\"></ng-content>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{flex-grow:var(--sky-layout-host-header-flex-grow, 0);display:block}.sky-page-header{margin:var(--sky-layout-host-header-spacing, var(--sky-compat-page-header-margin-top-and-bottom, 0) 0)}.sky-page-header-info{display:flex}.sky-page-header-text{margin:0}.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}.sky-page-header-content:empty{display:none}: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"] }]
394
- }], propDecorators: { parentLink: [{
395
- type: Input
396
- }], pageTitle: [{
397
- type: Input
398
- }] } });
399
-
400
- class SkyPageHeaderModule {
401
- }
402
- SkyPageHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
403
- SkyPageHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyPageHeaderModule, declarations: [SkyPageHeaderActionsComponent,
404
- SkyPageHeaderAlertsComponent,
405
- SkyPageHeaderAvatarComponent,
406
- SkyPageHeaderComponent,
407
- SkyPageHeaderDetailsComponent], imports: [CommonModule,
408
- RouterModule,
409
- SkyAppLinkModule,
410
- SkyIconModule,
411
- SkyThemeModule,
412
- SkyHrefModule], exports: [SkyPageHeaderActionsComponent,
413
- SkyPageHeaderAlertsComponent,
414
- SkyPageHeaderAvatarComponent,
415
- SkyPageHeaderComponent,
416
- SkyPageHeaderDetailsComponent] });
417
- SkyPageHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageHeaderModule, imports: [CommonModule,
418
- RouterModule,
419
- SkyAppLinkModule,
420
- SkyIconModule,
421
- SkyThemeModule,
422
- SkyHrefModule] });
423
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageHeaderModule, decorators: [{
424
- type: NgModule,
425
- args: [{
426
- imports: [
427
- CommonModule,
428
- RouterModule,
429
- SkyAppLinkModule,
430
- SkyIconModule,
431
- SkyThemeModule,
432
- SkyHrefModule,
433
- ],
434
- declarations: [
435
- SkyPageHeaderActionsComponent,
436
- SkyPageHeaderAlertsComponent,
437
- SkyPageHeaderAvatarComponent,
438
- SkyPageHeaderComponent,
439
- SkyPageHeaderDetailsComponent,
440
- ],
441
- exports: [
442
- SkyPageHeaderActionsComponent,
443
- SkyPageHeaderAlertsComponent,
444
- SkyPageHeaderAvatarComponent,
445
- SkyPageHeaderComponent,
446
- SkyPageHeaderDetailsComponent,
447
- ],
448
- }]
449
- }] });
450
-
451
- /**
452
- * Displays buttons after the page title.
453
- *
454
- * Example:
455
- *
456
- * ```html
457
- * <a class="sky-btn sky-btn-default" href="path/to/new">New</a>
458
- * ```
459
- */
460
- class SkyActionHubButtonsComponent {
461
- }
462
- SkyActionHubButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyActionHubButtonsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
463
- SkyActionHubButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyActionHubButtonsComponent, selector: "sky-action-hub-buttons", ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}:host:not(:empty){margin-bottom:var(--sky-margin-stacked-xl)}\n"] });
464
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyActionHubButtonsComponent, decorators: [{
465
- type: Component,
466
- args: [{ selector: 'sky-action-hub-buttons', template: "<ng-content></ng-content>\n", styles: [":host{display:block}:host:not(:empty){margin-bottom:var(--sky-margin-stacked-xl)}\n"] }]
467
- }] });
468
-
469
- /**
470
- * Displays additional content after the action items.
471
- */
472
- class SkyActionHubContentComponent {
473
- }
474
- SkyActionHubContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyActionHubContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
475
- SkyActionHubContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyActionHubContentComponent, selector: "sky-action-hub-content", ngImport: i0, template: "<ng-content></ng-content>\n" });
476
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyActionHubContentComponent, decorators: [{
477
- type: Component,
478
- args: [{ selector: 'sky-action-hub-content', template: "<ng-content></ng-content>\n" }]
479
- }] });
480
-
481
- var _SkyActionHubRecentLinksResolvePipe_instances, _SkyActionHubRecentLinksResolvePipe_currentRecentLinks, _SkyActionHubRecentLinksResolvePipe_currentRecentLinksResolved, _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSub, _SkyActionHubRecentLinksResolvePipe_ngUnsubscribe, _SkyActionHubRecentLinksResolvePipe_changeDetector, _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSvc, _SkyActionHubRecentLinksResolvePipe_resolveRequestedRoutes, _SkyActionHubRecentLinksResolvePipe_updateRecentLinksResolved;
482
- const RECENTLY_ACCESSED_LIMIT = 5;
483
- function getRecentLinksSorted(recentLinks) {
484
- if (recentLinks === 'loading') {
485
- return 'loading';
486
- }
487
- if (!recentLinks || recentLinks.length === 0) {
488
- return [];
489
- }
490
- return recentLinks
491
- .slice(0)
492
- .sort((a, b) => {
493
- const aTime = a.lastAccessed instanceof Date
494
- ? a.lastAccessed.toISOString()
495
- : a.lastAccessed;
496
- const bTime = b.lastAccessed instanceof Date
497
- ? b.lastAccessed.toISOString()
498
- : b.lastAccessed;
499
- if (aTime === bTime) {
500
- return 0;
501
- }
502
- return aTime > bTime ? -1 : 1;
503
- })
504
- .slice(0, RECENTLY_ACCESSED_LIMIT);
505
- }
506
- class SkyActionHubRecentLinksResolvePipe {
507
- constructor(changeDetector, recentlyAccessedSvc) {
508
- _SkyActionHubRecentLinksResolvePipe_instances.add(this);
509
- _SkyActionHubRecentLinksResolvePipe_currentRecentLinks.set(this, void 0);
510
- _SkyActionHubRecentLinksResolvePipe_currentRecentLinksResolved.set(this, []);
511
- _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSub.set(this, void 0);
512
- _SkyActionHubRecentLinksResolvePipe_ngUnsubscribe.set(this, new Subject());
513
- _SkyActionHubRecentLinksResolvePipe_changeDetector.set(this, void 0);
514
- _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSvc.set(this, void 0);
515
- __classPrivateFieldSet(this, _SkyActionHubRecentLinksResolvePipe_changeDetector, changeDetector, "f");
516
- __classPrivateFieldSet(this, _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSvc, recentlyAccessedSvc, "f");
517
- }
518
- transform(recentLinks) {
519
- if (recentLinks !== __classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_currentRecentLinks, "f")) {
520
- if (__classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSub, "f")) {
521
- __classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSub, "f").unsubscribe();
522
- }
523
- __classPrivateFieldSet(this, _SkyActionHubRecentLinksResolvePipe_currentRecentLinks, recentLinks, "f");
524
- const getLinksArgs = recentLinks;
525
- if (getLinksArgs === null || getLinksArgs === void 0 ? void 0 : getLinksArgs.requestedRoutes) {
526
- __classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_instances, "m", _SkyActionHubRecentLinksResolvePipe_resolveRequestedRoutes).call(this, getLinksArgs);
527
- }
528
- else {
529
- __classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_instances, "m", _SkyActionHubRecentLinksResolvePipe_updateRecentLinksResolved).call(this, recentLinks);
530
- }
531
- }
532
- return __classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_currentRecentLinksResolved, "f");
533
- }
534
- ngOnDestroy() {
535
- __classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_ngUnsubscribe, "f").next();
536
- __classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_ngUnsubscribe, "f").complete();
537
- }
538
- }
539
- _SkyActionHubRecentLinksResolvePipe_currentRecentLinks = new WeakMap(), _SkyActionHubRecentLinksResolvePipe_currentRecentLinksResolved = new WeakMap(), _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSub = new WeakMap(), _SkyActionHubRecentLinksResolvePipe_ngUnsubscribe = new WeakMap(), _SkyActionHubRecentLinksResolvePipe_changeDetector = new WeakMap(), _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSvc = new WeakMap(), _SkyActionHubRecentLinksResolvePipe_instances = new WeakSet(), _SkyActionHubRecentLinksResolvePipe_resolveRequestedRoutes = function _SkyActionHubRecentLinksResolvePipe_resolveRequestedRoutes(args) {
540
- if (__classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSvc, "f")) {
541
- __classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_instances, "m", _SkyActionHubRecentLinksResolvePipe_updateRecentLinksResolved).call(this, 'loading');
542
- __classPrivateFieldSet(this, _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSub, __classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSvc, "f")
543
- .getLinks(args)
544
- .pipe(takeUntil(__classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_ngUnsubscribe, "f")))
545
- .subscribe((result) => {
546
- __classPrivateFieldSet(this, _SkyActionHubRecentLinksResolvePipe_recentlyAccessedSub, undefined, "f");
547
- const recentLinks = result.links.map((item) => ({
548
- label: item.label,
549
- lastAccessed: item.lastAccessed,
550
- permalink: {
551
- url: item.url,
552
- },
553
- }));
554
- __classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_instances, "m", _SkyActionHubRecentLinksResolvePipe_updateRecentLinksResolved).call(this, recentLinks);
555
- }), "f");
556
- }
557
- else {
558
- __classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_instances, "m", _SkyActionHubRecentLinksResolvePipe_updateRecentLinksResolved).call(this, []);
559
- }
560
- }, _SkyActionHubRecentLinksResolvePipe_updateRecentLinksResolved = function _SkyActionHubRecentLinksResolvePipe_updateRecentLinksResolved(recentLinksResolved) {
561
- __classPrivateFieldSet(this, _SkyActionHubRecentLinksResolvePipe_currentRecentLinksResolved, getRecentLinksSorted(recentLinksResolved), "f");
562
- __classPrivateFieldGet(this, _SkyActionHubRecentLinksResolvePipe_changeDetector, "f").markForCheck();
563
- };
564
- SkyActionHubRecentLinksResolvePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyActionHubRecentLinksResolvePipe, deps: [{ token: i0.ChangeDetectorRef }, { token: i2.SkyRecentlyAccessedService, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
565
- SkyActionHubRecentLinksResolvePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyActionHubRecentLinksResolvePipe, name: "skyActionHubRecentLinksResolve", pure: false });
566
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyActionHubRecentLinksResolvePipe, decorators: [{
567
- type: Pipe,
568
- args: [{
569
- name: 'skyActionHubRecentLinksResolve',
570
- pure: false,
571
- }]
572
- }], ctorParameters: function () {
573
- return [{ type: i0.ChangeDetectorRef }, { type: i2.SkyRecentlyAccessedService, decorators: [{
574
- type: Optional
575
- }] }];
576
- } });
577
-
578
- class SkyActionHubRelatedLinksSortPipe {
579
- transform(relatedLinks) {
580
- if (relatedLinks === 'loading') {
581
- return 'loading';
582
- }
583
- if (!relatedLinks || relatedLinks.length === 0) {
584
- return [];
585
- }
586
- return relatedLinks.slice(0).sort((a, b) => {
587
- const aLabel = a.label.trim().toUpperCase();
588
- const bLabel = b.label.trim().toUpperCase();
589
- if (aLabel === bLabel) {
590
- return 0;
591
- }
592
- return aLabel < bLabel ? -1 : 1;
593
- });
594
- }
595
- }
596
- SkyActionHubRelatedLinksSortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyActionHubRelatedLinksSortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
597
- SkyActionHubRelatedLinksSortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyActionHubRelatedLinksSortPipe, name: "skyActionHubRelatedLinksSort" });
598
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyActionHubRelatedLinksSortPipe, decorators: [{
599
- type: Pipe,
600
- args: [{
601
- name: 'skyActionHubRelatedLinksSort',
602
- }]
603
- }] });
604
-
605
- var _SkyActionHubComponent__needsAttention;
606
- /**
607
- * Creates an action hub to direct user attention to important
608
- * actions and provide quick access to common tasks.
609
- */
610
- class SkyActionHubComponent {
611
- constructor() {
612
- /**
613
- * The list of recently accessed links, or `"loading"` to display a wait indicator.
614
- */
615
- this.recentLinks = [];
616
- /**
617
- * The list of related links, or `"loading"` to display a wait indicator.
618
- */
619
- this.relatedLinks = [];
620
- /**
621
- * The list of settings with modal parameters, or `"loading"` to display a wait indicator.
622
- */
623
- this.settingsLinks = [];
624
- /**
625
- * The page title.
626
- * @default ""
627
- */
628
- this.title = '';
629
- this.needsAttentionArray = [];
630
- _SkyActionHubComponent__needsAttention.set(this, void 0);
631
- }
632
- /**
633
- * The list of actions that users must perform based on business requirements or best practices, or `"loading"` to display a wait indicator.
634
- */
635
- set needsAttention(value) {
636
- __classPrivateFieldSet(this, _SkyActionHubComponent__needsAttention, value, "f");
637
- this.needsAttentionArray = Array.isArray(value) ? value : [];
638
- }
639
- get needsAttention() {
640
- return __classPrivateFieldGet(this, _SkyActionHubComponent__needsAttention, "f");
641
- }
642
- }
643
- _SkyActionHubComponent__needsAttention = new WeakMap();
644
- SkyActionHubComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyActionHubComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
645
- SkyActionHubComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyActionHubComponent, selector: "sky-action-hub", inputs: { needsAttention: "needsAttention", parentLink: "parentLink", recentLinks: "recentLinks", relatedLinks: "relatedLinks", settingsLinks: "settingsLinks", title: "title" }, ngImport: i0, template: "<sky-fluid-grid [disableMargin]=\"true\">\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 class=\"sky-margin-stacked-xl\">\n <ng-content select=\"sky-action-hub-buttons\"></ng-content>\n </div>\n\n <div class=\"sky-margin-stacked-xl\">\n <sky-wait [isWaiting]=\"needsAttention === 'loading'\"></sky-wait>\n <sky-needs-attention\n *ngIf=\"needsAttention !== 'loading'\"\n [items]=\"needsAttentionArray\"\n ></sky-needs-attention>\n </div>\n\n <div class=\"sky-margin-stacked-xl\">\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-modal-link-list\n [links]=\"settingsLinks\"\n [title]=\"'sky_action_hub_settings_links' | skyLibResources\"\n ></sky-modal-link-list>\n </sky-column>\n </sky-row>\n</sky-fluid-grid>\n", styles: [":host{--sky-compat-page-header-margin-top-and-bottom: 0;display:block;margin:var(--sky-padding-even-xl)}[aria-busy=true]{display:block;min-height:60px;margin-bottom:var(--sky-margin-stacked-xl)}sky-page-header{margin:0 0 var(--sky-margin-stacked-lg) 0}.sky-margin-stacked-xl:empty{margin-bottom:0}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.λ23, selector: "sky-row", inputs: ["reverseColumnOrder"] }, { kind: "component", type: i3.λ24, selector: "sky-column", inputs: ["screenXSmall", "screenSmall", "screenMedium", "screenLarge"] }, { kind: "component", type: i3.λ22, selector: "sky-fluid-grid", inputs: ["disableMargin", "gutterSize"] }, { kind: "component", type: SkyLinkListComponent, selector: "sky-link-list", inputs: ["links", "title"] }, { kind: "component", type: SkyModalLinkListComponent, selector: "sky-modal-link-list", inputs: ["links", "title"] }, { kind: "component", type: SkyNeedsAttentionComponent, selector: "sky-needs-attention", inputs: ["items"] }, { kind: "component", type: SkyPageHeaderComponent, selector: "sky-page-header", inputs: ["parentLink", "pageTitle"] }, { kind: "component", type: i4.λ14, selector: "sky-wait", inputs: ["ariaLabel", "isWaiting", "isFullPage", "isNonBlocking", "screenReaderCompletedText"] }, { kind: "pipe", type: i6.SkyLibResourcesPipe, name: "skyLibResources" }, { kind: "pipe", type: SkyActionHubRecentLinksResolvePipe, name: "skyActionHubRecentLinksResolve" }, { kind: "pipe", type: SkyActionHubRelatedLinksSortPipe, name: "skyActionHubRelatedLinksSort" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
646
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyActionHubComponent, decorators: [{
647
- type: Component,
648
- args: [{ selector: 'sky-action-hub', changeDetection: ChangeDetectionStrategy.OnPush, template: "<sky-fluid-grid [disableMargin]=\"true\">\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 class=\"sky-margin-stacked-xl\">\n <ng-content select=\"sky-action-hub-buttons\"></ng-content>\n </div>\n\n <div class=\"sky-margin-stacked-xl\">\n <sky-wait [isWaiting]=\"needsAttention === 'loading'\"></sky-wait>\n <sky-needs-attention\n *ngIf=\"needsAttention !== 'loading'\"\n [items]=\"needsAttentionArray\"\n ></sky-needs-attention>\n </div>\n\n <div class=\"sky-margin-stacked-xl\">\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-modal-link-list\n [links]=\"settingsLinks\"\n [title]=\"'sky_action_hub_settings_links' | skyLibResources\"\n ></sky-modal-link-list>\n </sky-column>\n </sky-row>\n</sky-fluid-grid>\n", styles: [":host{--sky-compat-page-header-margin-top-and-bottom: 0;display:block;margin:var(--sky-padding-even-xl)}[aria-busy=true]{display:block;min-height:60px;margin-bottom:var(--sky-margin-stacked-xl)}sky-page-header{margin:0 0 var(--sky-margin-stacked-lg) 0}.sky-margin-stacked-xl:empty{margin-bottom:0}\n"] }]
649
- }], propDecorators: { needsAttention: [{
650
- type: Input
651
- }], parentLink: [{
652
- type: Input
653
- }], recentLinks: [{
654
- type: Input
655
- }], relatedLinks: [{
656
- type: Input
657
- }], settingsLinks: [{
658
- type: Input
659
- }], title: [{
660
- type: Input
661
- }] } });
662
-
663
- class SkyActionHubModule {
664
- }
665
- SkyActionHubModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyActionHubModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
666
- SkyActionHubModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyActionHubModule, declarations: [SkyActionHubButtonsComponent,
667
- SkyActionHubComponent,
668
- SkyActionHubContentComponent,
669
- SkyActionHubRecentLinksResolvePipe,
670
- SkyActionHubRelatedLinksSortPipe], imports: [CommonModule,
671
- SkyBoxModule,
672
- SkyFluidGridModule,
673
- SkyI18nModule,
674
- SkyLinkListModule,
675
- SkyModalLinkListModule,
676
- SkyNeedsAttentionModule,
677
- SkyPageHeaderModule,
678
- SkyPagesResourcesModule,
679
- SkyThemeModule,
680
- SkyWaitModule], exports: [SkyActionHubButtonsComponent,
681
- SkyActionHubComponent,
682
- SkyActionHubContentComponent] });
683
- SkyActionHubModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyActionHubModule, imports: [CommonModule,
684
- SkyBoxModule,
685
- SkyFluidGridModule,
686
- SkyI18nModule,
687
- SkyLinkListModule,
688
- SkyModalLinkListModule,
689
- SkyNeedsAttentionModule,
690
- SkyPageHeaderModule,
691
- SkyPagesResourcesModule,
692
- SkyThemeModule,
693
- SkyWaitModule] });
694
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyActionHubModule, decorators: [{
695
- type: NgModule,
696
- args: [{
697
- imports: [
698
- CommonModule,
699
- SkyBoxModule,
700
- SkyFluidGridModule,
701
- SkyI18nModule,
702
- SkyLinkListModule,
703
- SkyModalLinkListModule,
704
- SkyNeedsAttentionModule,
705
- SkyPageHeaderModule,
706
- SkyPagesResourcesModule,
707
- SkyThemeModule,
708
- SkyWaitModule,
709
- ],
710
- declarations: [
711
- SkyActionHubButtonsComponent,
712
- SkyActionHubComponent,
713
- SkyActionHubContentComponent,
714
- SkyActionHubRecentLinksResolvePipe,
715
- SkyActionHubRelatedLinksSortPipe,
716
- ],
717
- exports: [
718
- SkyActionHubButtonsComponent,
719
- SkyActionHubComponent,
720
- SkyActionHubContentComponent,
721
- ],
722
- }]
723
- }] });
724
-
725
- /**
726
- * Displays page contents using spacing that corresponds to the parent
727
- * page's layout.
728
- */
729
- class SkyPageContentComponent {
730
- }
731
- SkyPageContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
732
- SkyPageContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyPageContentComponent, selector: "sky-page-content", ngImport: i0, template: `<ng-content />`, isInline: true, styles: [":host{display:block;padding:var(--sky-layout-host-content-spacing, 0);flex-grow:var(--sky-layout-host-content-flex-grow, 0);overflow:var(--sky-layout-host-content-overflow, visible);position:var(--sky-layout-host-content-position, static)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
733
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageContentComponent, decorators: [{
734
- type: Component,
735
- args: [{ selector: 'sky-page-content', template: `<ng-content />`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;padding:var(--sky-layout-host-content-spacing, 0);flex-grow:var(--sky-layout-host-content-flex-grow, 0);overflow:var(--sky-layout-host-content-overflow, visible);position:var(--sky-layout-host-content-position, static)}\n"] }]
736
- }] });
737
-
738
- var _SkyPageThemeAdapterService_styleEl, _SkyPageThemeAdapterService_document;
739
- /**
740
- * @internal
741
- */
742
- class SkyPageThemeAdapterService {
743
- constructor(document) {
744
- _SkyPageThemeAdapterService_styleEl.set(this, void 0);
745
- _SkyPageThemeAdapterService_document.set(this, void 0);
746
- __classPrivateFieldSet(this, _SkyPageThemeAdapterService_document, document, "f");
747
- }
748
- /**
749
- * We can't use ViewEncapsulation.None for this behavior because Angular does
750
- * not remove `style` tags from the HEAD element after route changes.
751
- * @see https://github.com/angular/angular/issues/16670
752
- */
753
- addTheme() {
754
- if (!__classPrivateFieldGet(this, _SkyPageThemeAdapterService_styleEl, "f")) {
755
- __classPrivateFieldSet(this, _SkyPageThemeAdapterService_styleEl, __classPrivateFieldGet(this, _SkyPageThemeAdapterService_document, "f").createElement('style'), "f");
756
- __classPrivateFieldGet(this, _SkyPageThemeAdapterService_styleEl, "f").appendChild(__classPrivateFieldGet(this, _SkyPageThemeAdapterService_document, "f").createTextNode('body:not(.sky-theme-modern) { background-color: #fff; }'));
757
- __classPrivateFieldGet(this, _SkyPageThemeAdapterService_document, "f").head.appendChild(__classPrivateFieldGet(this, _SkyPageThemeAdapterService_styleEl, "f"));
758
- }
759
- }
760
- removeTheme() {
761
- if (__classPrivateFieldGet(this, _SkyPageThemeAdapterService_styleEl, "f")) {
762
- __classPrivateFieldGet(this, _SkyPageThemeAdapterService_styleEl, "f").remove();
763
- __classPrivateFieldSet(this, _SkyPageThemeAdapterService_styleEl, undefined, "f");
764
- }
765
- }
766
- }
767
- _SkyPageThemeAdapterService_styleEl = new WeakMap(), _SkyPageThemeAdapterService_document = new WeakMap();
768
- SkyPageThemeAdapterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageThemeAdapterService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
769
- SkyPageThemeAdapterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageThemeAdapterService });
770
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageThemeAdapterService, decorators: [{
771
- type: Injectable
772
- }], ctorParameters: function () {
773
- return [{ type: Document, decorators: [{
774
- type: Inject,
775
- args: [DOCUMENT]
776
- }] }];
777
- } });
778
-
779
- var _SkyPageComponent_instances, _SkyPageComponent_layout, _SkyPageComponent_layoutForChild, _SkyPageComponent_ngUnsubscribe, _SkyPageComponent_themeAdapter, _SkyPageComponent_layoutHostSvc, _SkyPageComponent_updateCssClass;
780
- const LAYOUT_DEFAULT = 'none';
781
- const LAYOUT_FOR_CHILD_CLASS_PREFIX = 'sky-layout-host-for-child-';
782
- const LAYOUT_CLASS_PREFIX = 'sky-layout-host-';
783
- const LAYOUT_CLASS_DEFAULT = `${LAYOUT_CLASS_PREFIX}${LAYOUT_DEFAULT}`;
784
- /**
785
- * Displays a page using the specified layout.
786
- */
787
- class SkyPageComponent {
788
- constructor() {
789
- _SkyPageComponent_instances.add(this);
790
- this.cssClass = LAYOUT_CLASS_DEFAULT;
791
- _SkyPageComponent_layout.set(this, void 0);
792
- _SkyPageComponent_layoutForChild.set(this, void 0);
793
- _SkyPageComponent_ngUnsubscribe.set(this, new Subject());
794
- _SkyPageComponent_themeAdapter.set(this, inject(SkyPageThemeAdapterService));
795
- _SkyPageComponent_layoutHostSvc.set(this, inject(SkyLayoutHostService));
796
- }
797
- /**
798
- * The page layout that applies spacing to the page header and content. Use the layout
799
- * that corresponds with the top-level component type used on the page, our use `fit` to
800
- * constrain the page contents to the available viewport.
801
- * Use `none` for custom content that does not adhere to predefined spacing or constraints.
802
- * @default "none"
803
- */
804
- set layout(value) {
805
- __classPrivateFieldSet(this, _SkyPageComponent_layout, value, "f");
806
- __classPrivateFieldGet(this, _SkyPageComponent_instances, "m", _SkyPageComponent_updateCssClass).call(this);
807
- }
808
- ngOnInit() {
809
- __classPrivateFieldGet(this, _SkyPageComponent_themeAdapter, "f").addTheme();
810
- __classPrivateFieldGet(this, _SkyPageComponent_layoutHostSvc, "f").hostLayoutForChild
811
- .pipe(takeUntil(__classPrivateFieldGet(this, _SkyPageComponent_ngUnsubscribe, "f")))
812
- .subscribe((args) => {
813
- __classPrivateFieldSet(this, _SkyPageComponent_layoutForChild, args.layout, "f");
814
- __classPrivateFieldGet(this, _SkyPageComponent_instances, "m", _SkyPageComponent_updateCssClass).call(this);
815
- });
816
- }
817
- ngOnDestroy() {
818
- __classPrivateFieldGet(this, _SkyPageComponent_themeAdapter, "f").removeTheme();
819
- __classPrivateFieldGet(this, _SkyPageComponent_ngUnsubscribe, "f").next();
820
- __classPrivateFieldGet(this, _SkyPageComponent_ngUnsubscribe, "f").complete();
821
- }
822
- }
823
- _SkyPageComponent_layout = new WeakMap(), _SkyPageComponent_layoutForChild = new WeakMap(), _SkyPageComponent_ngUnsubscribe = new WeakMap(), _SkyPageComponent_themeAdapter = new WeakMap(), _SkyPageComponent_layoutHostSvc = new WeakMap(), _SkyPageComponent_instances = new WeakSet(), _SkyPageComponent_updateCssClass = function _SkyPageComponent_updateCssClass() {
824
- let cssClass = __classPrivateFieldGet(this, _SkyPageComponent_layout, "f")
825
- ? `${LAYOUT_CLASS_PREFIX}${__classPrivateFieldGet(this, _SkyPageComponent_layout, "f")}`
826
- : LAYOUT_CLASS_DEFAULT;
827
- if (__classPrivateFieldGet(this, _SkyPageComponent_layoutForChild, "f")) {
828
- cssClass = `${cssClass} ${LAYOUT_FOR_CHILD_CLASS_PREFIX}${__classPrivateFieldGet(this, _SkyPageComponent_layoutForChild, "f")}`;
829
- }
830
- this.cssClass = cssClass;
831
- };
832
- SkyPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
833
- SkyPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SkyPageComponent, selector: "sky-page", inputs: { layout: "layout" }, host: { properties: { "class": "this.cssClass" } }, providers: [SkyPageThemeAdapterService, SkyLayoutHostService], ngImport: i0, template: `<ng-content />`, isInline: true });
834
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageComponent, decorators: [{
835
- type: Component,
836
- args: [{
837
- selector: 'sky-page',
838
- template: `<ng-content />`,
839
- providers: [SkyPageThemeAdapterService, SkyLayoutHostService],
840
- }]
841
- }], propDecorators: { layout: [{
842
- type: Input
843
- }], cssClass: [{
844
- type: HostBinding,
845
- args: ['class']
846
- }] } });
847
-
848
- class SkyPageModule {
849
- }
850
- SkyPageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
851
- SkyPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SkyPageModule, declarations: [SkyPageComponent, SkyPageContentComponent], imports: [CommonModule], exports: [SkyPageComponent, SkyPageHeaderModule, SkyPageContentComponent] });
852
- SkyPageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageModule, imports: [CommonModule, SkyPageHeaderModule] });
853
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SkyPageModule, decorators: [{
854
- type: NgModule,
855
- args: [{
856
- declarations: [SkyPageComponent, SkyPageContentComponent],
857
- imports: [CommonModule],
858
- exports: [SkyPageComponent, SkyPageHeaderModule, SkyPageContentComponent],
859
- }]
860
- }] });
861
-
862
- /**
863
- * Generated bundle index. Do not edit.
864
- */
865
-
866
- export { SkyActionHubModule, SkyPageHeaderModule, SkyPageModule, SkyActionHubComponent as λ1, SkyPageHeaderAvatarComponent as λ10, SkyPageHeaderAlertsComponent as λ11, SkyActionHubButtonsComponent as λ2, SkyActionHubContentComponent as λ3, SkyPageHeaderComponent as λ4, SkyModalLinkListComponent as λ5, SkyPageComponent as λ6, SkyPageContentComponent as λ7, SkyPageHeaderDetailsComponent as λ8, SkyPageHeaderActionsComponent as λ9 };
867
- //# sourceMappingURL=skyux-pages.mjs.map