@skyux/pages 12.22.0 → 13.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/fesm2022/skyux-pages-testing.mjs.map +1 -1
  2. package/fesm2022/skyux-pages.mjs +96 -102
  3. package/fesm2022/skyux-pages.mjs.map +1 -1
  4. package/index.d.ts +443 -32
  5. package/package.json +13 -13
  6. package/testing/index.d.ts +248 -3
  7. package/lib/modules/action-hub/action-hub-buttons.component.d.ts +0 -12
  8. package/lib/modules/action-hub/action-hub-content.component.d.ts +0 -8
  9. package/lib/modules/action-hub/action-hub-recent-links-resolve.pipe.d.ts +0 -13
  10. package/lib/modules/action-hub/action-hub-related-links-sort.pipe.d.ts +0 -8
  11. package/lib/modules/action-hub/action-hub.component.d.ts +0 -43
  12. package/lib/modules/action-hub/action-hub.module.d.ts +0 -20
  13. package/lib/modules/action-hub/types/action-hub-needs-attention-click-handler.d.ts +0 -4
  14. package/lib/modules/action-hub/types/action-hub-needs-attention-input.d.ts +0 -5
  15. package/lib/modules/action-hub/types/action-hub-needs-attention.d.ts +0 -31
  16. package/lib/modules/action-hub/types/page-link-interface.d.ts +0 -9
  17. package/lib/modules/action-hub/types/page-link.d.ts +0 -17
  18. package/lib/modules/action-hub/types/page-links-input.d.ts +0 -2
  19. package/lib/modules/action-hub/types/page-modal-link.d.ts +0 -25
  20. package/lib/modules/action-hub/types/page-modal-links-input.d.ts +0 -2
  21. package/lib/modules/action-hub/types/recent-link.d.ts +0 -9
  22. package/lib/modules/action-hub/types/recent-links-input.d.ts +0 -6
  23. package/lib/modules/action-hub/types/recent-links-resolved.d.ts +0 -2
  24. package/lib/modules/link-as/link-as.module.d.ts +0 -7
  25. package/lib/modules/link-as/link-as.pipe.d.ts +0 -24
  26. package/lib/modules/link-list/link-list-item.component.d.ts +0 -9
  27. package/lib/modules/link-list/link-list.component.d.ts +0 -23
  28. package/lib/modules/link-list/link-list.module.d.ts +0 -9
  29. package/lib/modules/link-list-recently-accessed/link-list-recently-accessed.component.d.ts +0 -15
  30. package/lib/modules/modal-link-list/modal-link-list.component.d.ts +0 -21
  31. package/lib/modules/modal-link-list/modal-link-list.module.d.ts +0 -11
  32. package/lib/modules/needs-attention/needs-attention.component.d.ts +0 -14
  33. package/lib/modules/needs-attention/needs-attention.module.d.ts +0 -10
  34. package/lib/modules/page/page-content.component.d.ts +0 -10
  35. package/lib/modules/page/page-links.component.d.ts +0 -9
  36. package/lib/modules/page/page-theme-adapter.service.d.ts +0 -17
  37. package/lib/modules/page/page.component.d.ts +0 -28
  38. package/lib/modules/page/page.module.d.ts +0 -15
  39. package/lib/modules/page/types/page-layout-type.d.ts +0 -1
  40. package/lib/modules/page-header/page-header-actions.component.d.ts +0 -9
  41. package/lib/modules/page-header/page-header-alerts.component.d.ts +0 -9
  42. package/lib/modules/page-header/page-header-avatar.component.d.ts +0 -12
  43. package/lib/modules/page-header/page-header-details.component.d.ts +0 -10
  44. package/lib/modules/page-header/page-header.component.d.ts +0 -18
  45. package/lib/modules/page-header/page-header.module.d.ts +0 -15
  46. package/lib/modules/shared/sky-pages-resources.module.d.ts +0 -10
  47. package/testing/modules/action-hub/action-hub-harness-filters.d.ts +0 -6
  48. package/testing/modules/action-hub/action-hub-harness.d.ts +0 -46
  49. package/testing/modules/link-list/link-list-harness-filters.d.ts +0 -6
  50. package/testing/modules/link-list/link-list-harness.d.ts +0 -36
  51. package/testing/modules/link-list/link-list-item-harness-filters.d.ts +0 -10
  52. package/testing/modules/link-list/link-list-item-harness.d.ts +0 -25
  53. package/testing/modules/needs-attention/needs-attention-harness-filters.d.ts +0 -6
  54. package/testing/modules/needs-attention/needs-attention-harness.d.ts +0 -30
  55. package/testing/modules/needs-attention/needs-attention-item-harness-filters.d.ts +0 -10
  56. package/testing/modules/needs-attention/needs-attention-item-harness.d.ts +0 -25
  57. package/testing/modules/page/page-harness-filters.d.ts +0 -6
  58. package/testing/modules/page/page-harness.d.ts +0 -29
  59. package/testing/modules/page-header/page-header-harness-filters.d.ts +0 -6
  60. package/testing/modules/page-header/page-header-harness.d.ts +0 -26
  61. package/testing/public-api.d.ts +0 -14
package/index.d.ts CHANGED
@@ -1,32 +1,443 @@
1
- export { SkyActionHubModule } from './lib/modules/action-hub/action-hub.module';
2
- export { SkyActionHubNeedsAttention } from './lib/modules/action-hub/types/action-hub-needs-attention';
3
- export { SkyActionHubNeedsAttentionClickHandler, SkyActionHubNeedsAttentionClickHandlerArgs, } from './lib/modules/action-hub/types/action-hub-needs-attention-click-handler';
4
- export { SkyLinkListModule } from './lib/modules/link-list/link-list.module';
5
- export { SkyModalLinkListModule } from './lib/modules/modal-link-list/modal-link-list.module';
6
- export { SkyNeedsAttentionModule } from './lib/modules/needs-attention/needs-attention.module';
7
- export { SkyActionHubNeedsAttentionInput } from './lib/modules/action-hub/types/action-hub-needs-attention-input';
8
- export { SkyPageLink } from './lib/modules/action-hub/types/page-link';
9
- export { SkyPageLinksInput } from './lib/modules/action-hub/types/page-links-input';
10
- export { SkyPageModalLink } from './lib/modules/action-hub/types/page-modal-link';
11
- export { SkyPageModalLinksInput } from './lib/modules/action-hub/types/page-modal-links-input';
12
- export { SkyRecentLink } from './lib/modules/action-hub/types/recent-link';
13
- export { SkyRecentLinksInput } from './lib/modules/action-hub/types/recent-links-input';
14
- export { SkyPageHeaderModule } from './lib/modules/page-header/page-header.module';
15
- export { SkyPageModule } from './lib/modules/page/page.module';
16
- export { SkyPageLayoutType } from './lib/modules/page/types/page-layout-type';
17
- export { SkyActionHubButtonsComponent as λ2 } from './lib/modules/action-hub/action-hub-buttons.component';
18
- export { SkyActionHubContentComponent as λ3 } from './lib/modules/action-hub/action-hub-content.component';
19
- export { SkyActionHubComponent as λ1 } from './lib/modules/action-hub/action-hub.component';
20
- export { SkyLinkListComponent as λ13 } from './lib/modules/link-list/link-list.component';
21
- export { SkyLinkListItemComponent as λ14 } from './lib/modules/link-list/link-list-item.component';
22
- export { SkyLinkListRecentlyAccessedComponent as λ15 } from './lib/modules/link-list-recently-accessed/link-list-recently-accessed.component';
23
- export { SkyModalLinkListComponent as λ5 } from './lib/modules/modal-link-list/modal-link-list.component';
24
- export { SkyNeedsAttentionComponent as λ16 } from './lib/modules/needs-attention/needs-attention.component';
25
- export { SkyPageHeaderActionsComponent as λ9 } from './lib/modules/page-header/page-header-actions.component';
26
- export { SkyPageHeaderAlertsComponent as λ11 } from './lib/modules/page-header/page-header-alerts.component';
27
- export { SkyPageHeaderAvatarComponent as λ10 } from './lib/modules/page-header/page-header-avatar.component';
28
- export { SkyPageHeaderDetailsComponent as λ8 } from './lib/modules/page-header/page-header-details.component';
29
- export { SkyPageHeaderComponent as λ4 } from './lib/modules/page-header/page-header.component';
30
- export { SkyPageContentComponent as λ7 } from './lib/modules/page/page-content.component';
31
- export { SkyPageLinksComponent as λ12 } from './lib/modules/page/page-links.component';
32
- export { SkyPageComponent as λ6 } from './lib/modules/page/page.component';
1
+ import * as i0 from '@angular/core';
2
+ import { PipeTransform, OnDestroy, ChangeDetectorRef, OnInit } from '@angular/core';
3
+ import * as i6 from '@angular/router';
4
+ import { NavigationExtras, Route } from '@angular/router';
5
+ import { SkyModalConfigurationInterface } from '@skyux/modals';
6
+ import * as i3 from '@skyux/router';
7
+ import { SkyRecentlyAccessedGetLinksArgs, SkyRecentlyAccessedService } from '@skyux/router';
8
+ import * as i6$1 from '@skyux/layout';
9
+ import * as i1 from '@skyux/theme';
10
+ import * as i2 from '@angular/common';
11
+ import * as i4 from '@skyux/indicators';
12
+ import * as rxjs from 'rxjs';
13
+ import * as i1$1 from '@skyux/core';
14
+ import * as i8 from '@skyux/icon';
15
+ import * as i1$2 from '@skyux/i18n';
16
+
17
+ /**
18
+ * Displays buttons after the page title.
19
+ * @example
20
+ * ```markup
21
+ * <a class="sky-btn sky-btn-default" href="path/to/new">New</a>
22
+ * ```
23
+ */
24
+ declare class SkyActionHubButtonsComponent {
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyActionHubButtonsComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyActionHubButtonsComponent, "sky-action-hub-buttons", never, {}, {}, never, ["*"], false, never>;
27
+ }
28
+
29
+ type SkyActionHubNeedsAttentionClickHandler = (_: SkyActionHubNeedsAttentionClickHandlerArgs) => void;
30
+ interface SkyActionHubNeedsAttentionClickHandlerArgs {
31
+ item: unknown;
32
+ }
33
+
34
+ /**
35
+ * Specifies action items that require attention and directs users to pages
36
+ * where they can resolve them.
37
+ */
38
+ interface SkyActionHubNeedsAttention {
39
+ /**
40
+ * The title of the action item.
41
+ */
42
+ title: string;
43
+ /**
44
+ * Text to display after the title.
45
+ * @deprecated Use `title` instead.
46
+ */
47
+ message?: string;
48
+ /**
49
+ * The link to resolve the action item.
50
+ */
51
+ permalink?: {
52
+ route?: {
53
+ commands: any[];
54
+ extras?: NavigationExtras;
55
+ };
56
+ url?: string;
57
+ };
58
+ /**
59
+ * The click handler for the action item.
60
+ */
61
+ click?: SkyActionHubNeedsAttentionClickHandler;
62
+ }
63
+
64
+ /**
65
+ * A list of actions that users must perform based on business requirements or best practices.
66
+ */
67
+ type SkyActionHubNeedsAttentionInput = SkyActionHubNeedsAttention[] | 'loading';
68
+
69
+ /**
70
+ * @internal
71
+ */
72
+ interface SkyPageLinkInterface {
73
+ /**
74
+ * The link text.
75
+ */
76
+ label: string;
77
+ }
78
+
79
+ /**
80
+ * Displays links to related information or recently accessed items.
81
+ */
82
+ interface SkyPageLink extends SkyPageLinkInterface {
83
+ /**
84
+ * The link destination.
85
+ */
86
+ permalink: {
87
+ route?: {
88
+ commands: any[];
89
+ extras?: NavigationExtras;
90
+ };
91
+ url?: string;
92
+ };
93
+ }
94
+
95
+ type SkyPageLinksInput = SkyPageLink[] | 'loading' | undefined;
96
+
97
+ /**
98
+ * Displays links to related information or recently accessed items.
99
+ */
100
+ interface SkyPageModalLink extends SkyPageLinkInterface {
101
+ /**
102
+ * The link destination.
103
+ */
104
+ permalink?: {
105
+ route?: {
106
+ commands: any[];
107
+ extras?: NavigationExtras;
108
+ };
109
+ url?: string;
110
+ };
111
+ /**
112
+ * The modal parameters.
113
+ */
114
+ modal?: {
115
+ component: any;
116
+ config?: SkyModalConfigurationInterface;
117
+ };
118
+ }
119
+
120
+ type SkyPageModalLinksInput = SkyPageModalLink[] | 'loading' | undefined;
121
+
122
+ /**
123
+ * Link that also has a date field to sort by.
124
+ *
125
+ * @property lastAccessed The date when the link was last accessed. Valid types are a Date object or ISO-8601 string.
126
+ */
127
+ interface SkyRecentLink extends SkyPageLink {
128
+ lastAccessed: Date | string;
129
+ }
130
+
131
+ /**
132
+ * Recently accessed links to display in a link list component.
133
+ */
134
+ type SkyRecentLinksInput = SkyRecentLink[] | 'loading' | SkyRecentlyAccessedGetLinksArgs | undefined;
135
+
136
+ /**
137
+ * Creates an action hub to direct user attention to important
138
+ * actions and provide quick access to common tasks.
139
+ */
140
+ declare class SkyActionHubComponent {
141
+ #private;
142
+ /**
143
+ * The list of actions that users must perform based on business requirements or best practices, or `"loading"` to display a wait indicator.
144
+ */
145
+ set needsAttention(value: SkyActionHubNeedsAttentionInput | undefined);
146
+ get needsAttention(): SkyActionHubNeedsAttentionInput | undefined;
147
+ /**
148
+ * Links back to a parent page.
149
+ */
150
+ parentLink: SkyPageLink | undefined;
151
+ /**
152
+ * The list of recently accessed links, or `"loading"` to display a wait indicator.
153
+ */
154
+ recentLinks: SkyRecentLinksInput;
155
+ /**
156
+ * The list of related links, or `"loading"` to display a wait indicator.
157
+ */
158
+ relatedLinks: SkyPageLinksInput;
159
+ /**
160
+ * The list of settings with modal parameters, or `"loading"` to display a wait indicator.
161
+ */
162
+ settingsLinks: SkyPageModalLinksInput;
163
+ /**
164
+ * The page title.
165
+ * @default ""
166
+ */
167
+ title: string;
168
+ needsAttentionArray: SkyActionHubNeedsAttention[];
169
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyActionHubComponent, never>;
170
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyActionHubComponent, "sky-action-hub", never, { "needsAttention": { "alias": "needsAttention"; "required": false; }; "parentLink": { "alias": "parentLink"; "required": false; }; "recentLinks": { "alias": "recentLinks"; "required": false; }; "relatedLinks": { "alias": "relatedLinks"; "required": false; }; "settingsLinks": { "alias": "settingsLinks"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, ["sky-action-hub-buttons", "sky-action-hub-content"], false, never>;
171
+ }
172
+
173
+ /**
174
+ * Displays additional content after the action items.
175
+ */
176
+ declare class SkyActionHubContentComponent {
177
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyActionHubContentComponent, never>;
178
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyActionHubContentComponent, "sky-action-hub-content", never, {}, {}, never, ["*"], false, never>;
179
+ }
180
+
181
+ declare class SkyActionHubRelatedLinksSortPipe implements PipeTransform {
182
+ transform<T extends SkyPageLinkInterface[]>(relatedLinks: T | 'loading' | undefined): T | 'loading' | [];
183
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyActionHubRelatedLinksSortPipe, never>;
184
+ static ɵpipe: i0.ɵɵPipeDeclaration<SkyActionHubRelatedLinksSortPipe, "skyActionHubRelatedLinksSort", false>;
185
+ }
186
+
187
+ type SkyRecentLinksResolved = SkyRecentLink[] | 'loading' | undefined;
188
+
189
+ declare class SkyActionHubRecentLinksResolvePipe implements PipeTransform, OnDestroy {
190
+ #private;
191
+ constructor(changeDetector: ChangeDetectorRef, recentlyAccessedSvc?: SkyRecentlyAccessedService);
192
+ transform(recentLinks: SkyRecentLinksInput): SkyRecentLinksResolved;
193
+ ngOnDestroy(): void;
194
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyActionHubRecentLinksResolvePipe, [null, { optional: true; }]>;
195
+ static ɵpipe: i0.ɵɵPipeDeclaration<SkyActionHubRecentLinksResolvePipe, "skyActionHubRecentLinksResolve", true>;
196
+ }
197
+
198
+ /**
199
+ * A wrapper for each link in a link list.
200
+ */
201
+ declare class SkyLinkListItemComponent {
202
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyLinkListItemComponent, never>;
203
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyLinkListItemComponent, "sky-link-list-item", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.SkyThemeComponentClassDirective; inputs: {}; outputs: {}; }]>;
204
+ }
205
+
206
+ /**
207
+ * A component that displays a list of links, such as within a `<sky-page-links>` component.
208
+ */
209
+ declare class SkyLinkListComponent {
210
+ /**
211
+ * The text to display as the list's heading.
212
+ */
213
+ readonly headingText: i0.InputSignal<string | undefined>;
214
+ /**
215
+ * Option to pass links as an array of `SkyPageLink` objects or `'loading'` to display a loading indicator.
216
+ */
217
+ readonly links: i0.InputSignal<SkyPageLinksInput>;
218
+ protected readonly linkItems: i0.Signal<readonly SkyLinkListItemComponent[]>;
219
+ protected readonly hasLinks: i0.Signal<boolean>;
220
+ protected readonly linksArray: i0.Signal<SkyPageLink[]>;
221
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyLinkListComponent, never>;
222
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyLinkListComponent, "sky-link-list", never, { "headingText": { "alias": "headingText"; "required": false; "isSignal": true; }; "links": { "alias": "links"; "required": false; "isSignal": true; }; }, {}, ["linkItems"], ["sky-link-list-item"], true, [{ directive: typeof i1.SkyThemeComponentClassDirective; inputs: {}; outputs: {}; }]>;
223
+ }
224
+
225
+ /**
226
+ * A component that displays a list of recently accessed links, such as within a `<sky-page-links>` component.
227
+ */
228
+ declare class SkyLinkListRecentlyAccessedComponent {
229
+ /**
230
+ * Option to pass links as an array of `SkyRecentLink` objects,
231
+ * a `SkyRecentlyAccessedGetLinksArgs` object for `SkyRecentlyAccessedService`,
232
+ * or `'loading'` to display a loading indicator.
233
+ */
234
+ readonly recentLinks: i0.InputSignal<SkyRecentLinksInput>;
235
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyLinkListRecentlyAccessedComponent, never>;
236
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyLinkListRecentlyAccessedComponent, "sky-link-list-recently-accessed", never, { "recentLinks": { "alias": "recentLinks"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
237
+ }
238
+
239
+ declare class SkyLinkListModule {
240
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyLinkListModule, never>;
241
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyLinkListModule, never, [typeof SkyLinkListComponent, typeof SkyLinkListItemComponent, typeof SkyLinkListRecentlyAccessedComponent], [typeof SkyLinkListComponent, typeof SkyLinkListItemComponent, typeof SkyLinkListRecentlyAccessedComponent]>;
242
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyLinkListModule>;
243
+ }
244
+
245
+ /**
246
+ * A component that displays a list of links such as within a `<sky-page-links>` component.
247
+ */
248
+ declare class SkyModalLinkListComponent {
249
+ #private;
250
+ /**
251
+ * Option to pass links as an array of `SkyPageModalLink` objects or `'loading'` to display a loading indicator.
252
+ */
253
+ readonly links: i0.InputSignal<SkyPageModalLinksInput>;
254
+ /**
255
+ * The text to display as the list's heading.
256
+ */
257
+ readonly headingText: i0.InputSignal<string | undefined>;
258
+ protected readonly linksArray: i0.Signal<SkyPageModalLink[]>;
259
+ protected openModal(link: SkyPageModalLink): void;
260
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyModalLinkListComponent, never>;
261
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyModalLinkListComponent, "sky-modal-link-list", never, { "links": { "alias": "links"; "required": false; "isSignal": true; }; "headingText": { "alias": "headingText"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
262
+ }
263
+
264
+ declare class LinkAsPipe implements PipeTransform {
265
+ transform(value: SkyActionHubNeedsAttention | SkyPageLink | SkyPageModalLink | undefined, linkAs: 'button'): value is SkyActionHubNeedsAttention & {
266
+ click: () => void;
267
+ };
268
+ transform(value: SkyActionHubNeedsAttention | SkyPageLink | SkyPageModalLink | undefined, linkAs: 'href' | 'skyHref'): value is SkyActionHubNeedsAttention & {
269
+ permalink: {
270
+ url: string;
271
+ };
272
+ };
273
+ transform(value: SkyActionHubNeedsAttention | SkyPageLink | SkyPageModalLink | undefined, linkAs: 'skyAppLink'): value is SkyActionHubNeedsAttention & {
274
+ permalink: {
275
+ route: Route;
276
+ };
277
+ };
278
+ transform(value: SkyActionHubNeedsAttention | SkyPageLink | SkyPageModalLink | undefined, linkAs: undefined): false;
279
+ static ɵfac: i0.ɵɵFactoryDeclaration<LinkAsPipe, never>;
280
+ static ɵpipe: i0.ɵɵPipeDeclaration<LinkAsPipe, "linkAs", false>;
281
+ }
282
+
283
+ declare class LinkAsModule {
284
+ static ɵfac: i0.ɵɵFactoryDeclaration<LinkAsModule, never>;
285
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LinkAsModule, [typeof LinkAsPipe], never, [typeof LinkAsPipe]>;
286
+ static ɵinj: i0.ɵɵInjectorDeclaration<LinkAsModule>;
287
+ }
288
+
289
+ declare class SkyModalLinkListModule {
290
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyModalLinkListModule, never>;
291
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyModalLinkListModule, [typeof SkyModalLinkListComponent], [typeof i2.CommonModule, typeof i3.SkyAppLinkModule, typeof i3.SkyHrefModule, typeof i4.SkyWaitModule, typeof LinkAsModule], [typeof SkyModalLinkListComponent]>;
292
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyModalLinkListModule>;
293
+ }
294
+
295
+ /**
296
+ * @internal
297
+ */
298
+ declare class SkyNeedsAttentionComponent {
299
+ #private;
300
+ readonly items: i0.InputSignal<SkyActionHubNeedsAttention[]>;
301
+ protected readonly displayItems: rxjs.Observable<SkyActionHubNeedsAttention[] | (SkyActionHubNeedsAttention | undefined)[]>;
302
+ protected readonly displayItemsTrackByFn: (item: SkyActionHubNeedsAttention | undefined) => string;
303
+ constructor();
304
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyNeedsAttentionComponent, never>;
305
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyNeedsAttentionComponent, "sky-needs-attention", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
306
+ }
307
+
308
+ /**
309
+ * @internal
310
+ */
311
+ declare class SkyNeedsAttentionModule {
312
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyNeedsAttentionModule, never>;
313
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyNeedsAttentionModule, never, [typeof SkyNeedsAttentionComponent], [typeof SkyNeedsAttentionComponent]>;
314
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyNeedsAttentionModule>;
315
+ }
316
+
317
+ /**
318
+ * Displays buttons within the page header for page actions and applies spacing between buttons.
319
+ * Appears below the page header details.
320
+ */
321
+ declare class SkyPageHeaderActionsComponent {
322
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageHeaderActionsComponent, never>;
323
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyPageHeaderActionsComponent, "sky-page-header-actions", never, {}, {}, never, ["*"], false, never>;
324
+ }
325
+
326
+ /**
327
+ * Displays alerts within the page header and applies spacing between alerts. Appears above the page title.
328
+ */
329
+ declare class SkyPageHeaderAlertsComponent {
330
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageHeaderAlertsComponent, never>;
331
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyPageHeaderAlertsComponent, "sky-page-header-alerts", never, {}, {}, never, ["*"], false, [{ directive: typeof i1.SkyThemeComponentClassDirective; inputs: {}; outputs: {}; }]>;
332
+ }
333
+
334
+ /**
335
+ * Displays an avatar within the page header to the left of the page title.
336
+ * If no size is specified for the avatar component it will display at size
337
+ * small on xs breakpoints and size large on small and above breakpoints.
338
+ */
339
+ declare class SkyPageHeaderAvatarComponent {
340
+ constructor();
341
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageHeaderAvatarComponent, never>;
342
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyPageHeaderAvatarComponent, "sky-page-header-avatar", never, {}, {}, never, ["*"], false, [{ directive: typeof i1.SkyThemeComponentClassDirective; inputs: {}; outputs: {}; }]>;
343
+ }
344
+
345
+ /**
346
+ * Displays page heading's contents using spacing that corresponds to the parent page's layout
347
+ */
348
+ declare class SkyPageHeaderComponent {
349
+ /**
350
+ * A link to the parent page of the current page.
351
+ */
352
+ parentLink: SkyPageLink | undefined;
353
+ /**
354
+ * The title of the current page.
355
+ */
356
+ pageTitle: string | undefined;
357
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageHeaderComponent, never>;
358
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyPageHeaderComponent, "sky-page-header", never, { "parentLink": { "alias": "parentLink"; "required": false; }; "pageTitle": { "alias": "pageTitle"; "required": false; }; }, {}, never, ["sky-page-header-alerts", "sky-page-header-avatar", "sky-page-header-details", "sky-page-header-actions"], false, [{ directive: typeof i1$1.SkyResponsiveHostDirective; inputs: {}; outputs: {}; }]>;
359
+ }
360
+
361
+ /**
362
+ * Displays additional information in the page header, like record details.
363
+ * Appears below the title and above the page actions.
364
+ */
365
+ declare class SkyPageHeaderDetailsComponent {
366
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageHeaderDetailsComponent, never>;
367
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyPageHeaderDetailsComponent, "sky-page-header-details", never, {}, {}, never, ["*"], false, [{ directive: typeof i1.SkyThemeComponentClassDirective; inputs: {}; outputs: {}; }]>;
368
+ }
369
+
370
+ declare class SkyPageHeaderModule {
371
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageHeaderModule, never>;
372
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyPageHeaderModule, [typeof SkyPageHeaderActionsComponent, typeof SkyPageHeaderAlertsComponent, typeof SkyPageHeaderAvatarComponent, typeof SkyPageHeaderComponent, typeof SkyPageHeaderDetailsComponent], [typeof i6.RouterModule, typeof i3.SkyAppLinkModule, typeof i8.SkyIconModule, typeof i1.SkyThemeModule, typeof i3.SkyHrefModule], [typeof SkyPageHeaderActionsComponent, typeof SkyPageHeaderAlertsComponent, typeof SkyPageHeaderAvatarComponent, typeof SkyPageHeaderComponent, typeof SkyPageHeaderDetailsComponent]>;
373
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyPageHeaderModule>;
374
+ }
375
+
376
+ /**
377
+ * Import into any component library module that needs to use resource strings.
378
+ */
379
+ declare class SkyPagesResourcesModule {
380
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyPagesResourcesModule, never>;
381
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyPagesResourcesModule, never, never, [typeof i1$2.SkyI18nModule]>;
382
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyPagesResourcesModule>;
383
+ }
384
+
385
+ type SkyPageLayoutType = 'none' | 'fit' | 'blocks' | 'list' | 'tabs';
386
+
387
+ /**
388
+ * Displays a page using the specified layout. The page component is a responsive container,
389
+ * meaning content will respect the breakpoints within the page element instead of the window.
390
+ * This is helpful if there is other content to the left or right of the page.
391
+ */
392
+ declare class SkyPageComponent implements OnInit, OnDestroy {
393
+ #private;
394
+ /**
395
+ * The page layout that applies spacing to the page header and content. Use the layout
396
+ * that corresponds with the top-level component type used on the page, or use `fit` to
397
+ * constrain the page contents to the available viewport.
398
+ * Use `none` for custom content that does not adhere to predefined spacing or constraints.
399
+ * @default "none"
400
+ */
401
+ layout: i0.InputSignal<SkyPageLayoutType>;
402
+ /**
403
+ * A help key that identifies the page's default [global help](https://developer.blackbaud.com/skyux/learn/develop/global-help) content to display.
404
+ */
405
+ set helpKey(value: string | undefined);
406
+ ngOnInit(): void;
407
+ ngOnDestroy(): void;
408
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageComponent, never>;
409
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyPageComponent, "sky-page", never, { "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "helpKey": { "alias": "helpKey"; "required": false; }; }, {}, never, ["*"], false, [{ directive: typeof i1$1.SkyLayoutHostDirective; inputs: { "layout": "layout"; }; outputs: {}; }]>;
410
+ }
411
+
412
+ /**
413
+ * Displays page contents using spacing that corresponds to the parent
414
+ * page's layout.
415
+ */
416
+ declare class SkyPageContentComponent {
417
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageContentComponent, never>;
418
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyPageContentComponent, "sky-page-content", never, {}, {}, never, ["*"], false, [{ directive: typeof i1$1.SkyResponsiveHostDirective; inputs: {}; outputs: {}; }]>;
419
+ }
420
+
421
+ /**
422
+ * Displays page links on the right side of the page, or below the page content
423
+ * on mobile devices.
424
+ */
425
+ declare class SkyPageLinksComponent {
426
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageLinksComponent, never>;
427
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyPageLinksComponent, "sky-page-links", never, {}, {}, never, ["*"], true, never>;
428
+ }
429
+
430
+ declare class SkyPageModule {
431
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageModule, never>;
432
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyPageModule, [typeof SkyPageComponent, typeof SkyPageContentComponent], [typeof SkyLinkListModule, typeof SkyPageLinksComponent, typeof SkyLinkListComponent, typeof SkyLinkListItemComponent, typeof SkyLinkListRecentlyAccessedComponent, typeof SkyModalLinkListModule], [typeof SkyLinkListComponent, typeof SkyLinkListItemComponent, typeof SkyLinkListRecentlyAccessedComponent, typeof SkyLinkListModule, typeof SkyModalLinkListModule, typeof SkyPageComponent, typeof SkyPageHeaderModule, typeof SkyPageContentComponent, typeof SkyPageLinksComponent]>;
433
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyPageModule>;
434
+ }
435
+
436
+ declare class SkyActionHubModule {
437
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyActionHubModule, never>;
438
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyActionHubModule, [typeof SkyActionHubButtonsComponent, typeof SkyActionHubComponent, typeof SkyActionHubContentComponent, typeof SkyActionHubRelatedLinksSortPipe], [typeof SkyActionHubRecentLinksResolvePipe, typeof i6$1.SkyBoxModule, typeof i6$1.SkyFluidGridModule, typeof SkyLinkListModule, typeof SkyModalLinkListModule, typeof SkyNeedsAttentionModule, typeof SkyPageHeaderModule, typeof SkyPagesResourcesModule, typeof i1.SkyThemeModule, typeof i4.SkyWaitModule, typeof SkyPageModule], [typeof SkyActionHubButtonsComponent, typeof SkyActionHubComponent, typeof SkyActionHubContentComponent]>;
439
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyActionHubModule>;
440
+ }
441
+
442
+ export { SkyActionHubModule, SkyLinkListModule, SkyModalLinkListModule, SkyNeedsAttentionModule, SkyPageHeaderModule, SkyPageModule, SkyActionHubComponent as λ1, SkyPageHeaderAvatarComponent as λ10, SkyPageHeaderAlertsComponent as λ11, SkyPageLinksComponent as λ12, SkyLinkListComponent as λ13, SkyLinkListItemComponent as λ14, SkyLinkListRecentlyAccessedComponent as λ15, SkyNeedsAttentionComponent as λ16, SkyActionHubButtonsComponent as λ2, SkyActionHubContentComponent as λ3, SkyPageHeaderComponent as λ4, SkyModalLinkListComponent as λ5, SkyPageComponent as λ6, SkyPageContentComponent as λ7, SkyPageHeaderDetailsComponent as λ8, SkyPageHeaderActionsComponent as λ9 };
443
+ export type { SkyActionHubNeedsAttention, SkyActionHubNeedsAttentionClickHandler, SkyActionHubNeedsAttentionClickHandlerArgs, SkyActionHubNeedsAttentionInput, SkyPageLayoutType, SkyPageLink, SkyPageLinksInput, SkyPageModalLink, SkyPageModalLinksInput, SkyRecentLink, SkyRecentLinksInput };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/pages",
3
- "version": "12.22.0",
3
+ "version": "13.0.0-alpha.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -16,18 +16,18 @@
16
16
  },
17
17
  "homepage": "https://github.com/blackbaud/skyux#readme",
18
18
  "peerDependencies": {
19
- "@angular/cdk": "^19.2.10",
20
- "@angular/common": "^19.2.7",
21
- "@angular/core": "^19.2.7",
22
- "@angular/router": "^19.2.7",
23
- "@skyux/core": "12.22.0",
24
- "@skyux/i18n": "12.22.0",
25
- "@skyux/icon": "12.22.0",
26
- "@skyux/indicators": "12.22.0",
27
- "@skyux/layout": "12.22.0",
28
- "@skyux/modals": "12.22.0",
29
- "@skyux/router": "12.22.0",
30
- "@skyux/theme": "12.22.0"
19
+ "@angular/cdk": "^20.0.4",
20
+ "@angular/common": "^20.0.5",
21
+ "@angular/core": "^20.0.5",
22
+ "@angular/router": "^20.0.5",
23
+ "@skyux/core": "13.0.0-alpha.0",
24
+ "@skyux/i18n": "13.0.0-alpha.0",
25
+ "@skyux/icon": "13.0.0-alpha.0",
26
+ "@skyux/indicators": "13.0.0-alpha.0",
27
+ "@skyux/layout": "13.0.0-alpha.0",
28
+ "@skyux/modals": "13.0.0-alpha.0",
29
+ "@skyux/router": "13.0.0-alpha.0",
30
+ "@skyux/theme": "13.0.0-alpha.0"
31
31
  },
32
32
  "dependencies": {
33
33
  "tslib": "^2.8.1"