@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.
- package/fesm2022/skyux-pages-testing.mjs.map +1 -1
- package/fesm2022/skyux-pages.mjs +96 -102
- package/fesm2022/skyux-pages.mjs.map +1 -1
- package/index.d.ts +443 -32
- package/package.json +13 -13
- package/testing/index.d.ts +248 -3
- package/lib/modules/action-hub/action-hub-buttons.component.d.ts +0 -12
- package/lib/modules/action-hub/action-hub-content.component.d.ts +0 -8
- package/lib/modules/action-hub/action-hub-recent-links-resolve.pipe.d.ts +0 -13
- package/lib/modules/action-hub/action-hub-related-links-sort.pipe.d.ts +0 -8
- package/lib/modules/action-hub/action-hub.component.d.ts +0 -43
- package/lib/modules/action-hub/action-hub.module.d.ts +0 -20
- package/lib/modules/action-hub/types/action-hub-needs-attention-click-handler.d.ts +0 -4
- package/lib/modules/action-hub/types/action-hub-needs-attention-input.d.ts +0 -5
- package/lib/modules/action-hub/types/action-hub-needs-attention.d.ts +0 -31
- package/lib/modules/action-hub/types/page-link-interface.d.ts +0 -9
- package/lib/modules/action-hub/types/page-link.d.ts +0 -17
- package/lib/modules/action-hub/types/page-links-input.d.ts +0 -2
- package/lib/modules/action-hub/types/page-modal-link.d.ts +0 -25
- package/lib/modules/action-hub/types/page-modal-links-input.d.ts +0 -2
- package/lib/modules/action-hub/types/recent-link.d.ts +0 -9
- package/lib/modules/action-hub/types/recent-links-input.d.ts +0 -6
- package/lib/modules/action-hub/types/recent-links-resolved.d.ts +0 -2
- package/lib/modules/link-as/link-as.module.d.ts +0 -7
- package/lib/modules/link-as/link-as.pipe.d.ts +0 -24
- package/lib/modules/link-list/link-list-item.component.d.ts +0 -9
- package/lib/modules/link-list/link-list.component.d.ts +0 -23
- package/lib/modules/link-list/link-list.module.d.ts +0 -9
- package/lib/modules/link-list-recently-accessed/link-list-recently-accessed.component.d.ts +0 -15
- package/lib/modules/modal-link-list/modal-link-list.component.d.ts +0 -21
- package/lib/modules/modal-link-list/modal-link-list.module.d.ts +0 -11
- package/lib/modules/needs-attention/needs-attention.component.d.ts +0 -14
- package/lib/modules/needs-attention/needs-attention.module.d.ts +0 -10
- package/lib/modules/page/page-content.component.d.ts +0 -10
- package/lib/modules/page/page-links.component.d.ts +0 -9
- package/lib/modules/page/page-theme-adapter.service.d.ts +0 -17
- package/lib/modules/page/page.component.d.ts +0 -28
- package/lib/modules/page/page.module.d.ts +0 -15
- package/lib/modules/page/types/page-layout-type.d.ts +0 -1
- package/lib/modules/page-header/page-header-actions.component.d.ts +0 -9
- package/lib/modules/page-header/page-header-alerts.component.d.ts +0 -9
- package/lib/modules/page-header/page-header-avatar.component.d.ts +0 -12
- package/lib/modules/page-header/page-header-details.component.d.ts +0 -10
- package/lib/modules/page-header/page-header.component.d.ts +0 -18
- package/lib/modules/page-header/page-header.module.d.ts +0 -15
- package/lib/modules/shared/sky-pages-resources.module.d.ts +0 -10
- package/testing/modules/action-hub/action-hub-harness-filters.d.ts +0 -6
- package/testing/modules/action-hub/action-hub-harness.d.ts +0 -46
- package/testing/modules/link-list/link-list-harness-filters.d.ts +0 -6
- package/testing/modules/link-list/link-list-harness.d.ts +0 -36
- package/testing/modules/link-list/link-list-item-harness-filters.d.ts +0 -10
- package/testing/modules/link-list/link-list-item-harness.d.ts +0 -25
- package/testing/modules/needs-attention/needs-attention-harness-filters.d.ts +0 -6
- package/testing/modules/needs-attention/needs-attention-harness.d.ts +0 -30
- package/testing/modules/needs-attention/needs-attention-item-harness-filters.d.ts +0 -10
- package/testing/modules/needs-attention/needs-attention-item-harness.d.ts +0 -25
- package/testing/modules/page/page-harness-filters.d.ts +0 -6
- package/testing/modules/page/page-harness.d.ts +0 -29
- package/testing/modules/page-header/page-header-harness-filters.d.ts +0 -6
- package/testing/modules/page-header/page-header-harness.d.ts +0 -26
- package/testing/public-api.d.ts +0 -14
package/testing/index.d.ts
CHANGED
|
@@ -1,5 +1,250 @@
|
|
|
1
|
+
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
+
import { SkyHarnessFilters, SkyComponentHarness } from '@skyux/core/testing';
|
|
3
|
+
import { SkyPageLayoutType } from '@skyux/pages';
|
|
4
|
+
|
|
1
5
|
/**
|
|
2
|
-
*
|
|
6
|
+
* A set of criteria that can be used to filter a list of SkyLinkListHarness instances.
|
|
3
7
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
8
|
+
interface SkyLinkListHarnessFilters extends SkyHarnessFilters {
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* A set of criteria that can be used to filter a list of SkyLinkListItemHarness instances.
|
|
13
|
+
*/
|
|
14
|
+
interface SkyLinkListItemHarnessFilters extends SkyHarnessFilters {
|
|
15
|
+
/**
|
|
16
|
+
* Only find instances whose text content matches the given value.
|
|
17
|
+
*/
|
|
18
|
+
text?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Harness for interacting with a linked list item in tests.
|
|
23
|
+
*/
|
|
24
|
+
declare class SkyLinkListItemHarness extends SkyComponentHarness {
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
static hostSelector: string;
|
|
29
|
+
/**
|
|
30
|
+
* Gets a `HarnessPredicate` that can be used to search for a
|
|
31
|
+
* `SkyLinkListItemHarness` that meets certain criteria.
|
|
32
|
+
*/
|
|
33
|
+
static with(filters: SkyLinkListItemHarnessFilters): HarnessPredicate<SkyLinkListItemHarness>;
|
|
34
|
+
/**
|
|
35
|
+
* Gets the text content of the item.
|
|
36
|
+
*/
|
|
37
|
+
getText(): Promise<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Clicks the item.
|
|
40
|
+
*/
|
|
41
|
+
click(): Promise<void>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Harness for interacting with a link list component in tests.
|
|
46
|
+
*/
|
|
47
|
+
declare class SkyLinkListHarness extends SkyComponentHarness {
|
|
48
|
+
#private;
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
static hostSelector: string;
|
|
53
|
+
/**
|
|
54
|
+
* Gets a `HarnessPredicate` that can be used to search for a
|
|
55
|
+
* `SkyLinkListHarness` that meets certain criteria.
|
|
56
|
+
*/
|
|
57
|
+
static with(filters: SkyLinkListHarnessFilters): HarnessPredicate<SkyLinkListHarness>;
|
|
58
|
+
/**
|
|
59
|
+
* Gets the link list's heading text. If there are no links, this will return `undefined`.
|
|
60
|
+
*/
|
|
61
|
+
getHeadingText(): Promise<string | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* Whether the link list is showing a list of links.
|
|
64
|
+
*/
|
|
65
|
+
isVisible(): Promise<boolean>;
|
|
66
|
+
/**
|
|
67
|
+
* Gets the status of the wait indicator.
|
|
68
|
+
*/
|
|
69
|
+
isWaiting(): Promise<boolean>;
|
|
70
|
+
/**
|
|
71
|
+
* Gets the link list items.
|
|
72
|
+
*/
|
|
73
|
+
getListItems(filter?: SkyLinkListItemHarnessFilters): Promise<SkyLinkListItemHarness[]>;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* A set of criteria that can be used to filter a list of SkyNeedsAttentionHarness instances.
|
|
78
|
+
*/
|
|
79
|
+
interface SkyNeedsAttentionHarnessFilters extends SkyHarnessFilters {
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Harness for interacting with the needs-attention component in tests.
|
|
84
|
+
*/
|
|
85
|
+
declare class SkyNeedsAttentionHarness extends SkyComponentHarness {
|
|
86
|
+
#private;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
static hostSelector: string;
|
|
91
|
+
/**
|
|
92
|
+
* Gets a `HarnessPredicate` that can be used to search for a
|
|
93
|
+
* `SkyNeedsAttentionHarness` that meets certain criteria.
|
|
94
|
+
*/
|
|
95
|
+
static with(filters: SkyNeedsAttentionHarnessFilters): HarnessPredicate<SkyNeedsAttentionHarness>;
|
|
96
|
+
/**
|
|
97
|
+
* Gets the component's heading text. If there are no links, this will return `undefined`.
|
|
98
|
+
*/
|
|
99
|
+
getTitle(): Promise<string | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* Gets the text from an empty list. If there are items in the list, this will return `undefined`.
|
|
102
|
+
*/
|
|
103
|
+
getEmptyListText(): Promise<string | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* Whether the link list is showing a list of links.
|
|
106
|
+
*/
|
|
107
|
+
hasItems(): Promise<boolean>;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* A set of criteria that can be used to filter a list of SkyNeedsAttentionItemHarness instances.
|
|
112
|
+
*/
|
|
113
|
+
interface SkyNeedsAttentionItemHarnessFilters extends SkyHarnessFilters {
|
|
114
|
+
/**
|
|
115
|
+
* Only find instances whose text content matches the given value.
|
|
116
|
+
*/
|
|
117
|
+
text?: string;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Harness for interacting with a needs attention item in tests.
|
|
122
|
+
*/
|
|
123
|
+
declare class SkyNeedsAttentionItemHarness extends SkyComponentHarness {
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
static hostSelector: string;
|
|
128
|
+
/**
|
|
129
|
+
* Gets a `HarnessPredicate` that can be used to search for a
|
|
130
|
+
* `SkyNeedsAttentionItemHarness` that meets certain criteria.
|
|
131
|
+
*/
|
|
132
|
+
static with(filters: SkyNeedsAttentionItemHarnessFilters): HarnessPredicate<SkyNeedsAttentionItemHarness>;
|
|
133
|
+
/**
|
|
134
|
+
* Gets the text content of the item.
|
|
135
|
+
*/
|
|
136
|
+
getText(): Promise<string>;
|
|
137
|
+
/**
|
|
138
|
+
* Clicks the item.
|
|
139
|
+
*/
|
|
140
|
+
click(): Promise<void>;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* A set of criteria that can be used to filter a list of SkyActionHubHarness instances.
|
|
145
|
+
*/
|
|
146
|
+
interface SkyActionHubHarnessFilters extends SkyHarnessFilters {
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Harness for interacting with an action hub component in tests.
|
|
151
|
+
*/
|
|
152
|
+
declare class SkyActionHubHarness extends SkyComponentHarness {
|
|
153
|
+
#private;
|
|
154
|
+
/**
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
157
|
+
static hostSelector: string;
|
|
158
|
+
/**
|
|
159
|
+
* Gets a `HarnessPredicate` that can be used to search for a
|
|
160
|
+
* `SkyLinkListHarness` that meets certain criteria.
|
|
161
|
+
*/
|
|
162
|
+
static with(filters: SkyActionHubHarnessFilters): HarnessPredicate<SkyActionHubHarness>;
|
|
163
|
+
/**
|
|
164
|
+
* Gets the title of the action hub.
|
|
165
|
+
*/
|
|
166
|
+
getTitle(): Promise<string | undefined>;
|
|
167
|
+
/**
|
|
168
|
+
* Get the testing harness for the needs attention block.
|
|
169
|
+
*/
|
|
170
|
+
getNeedsAttentionBlock(): Promise<SkyNeedsAttentionHarness>;
|
|
171
|
+
/**
|
|
172
|
+
* Get the testing harnesses for items within the needs attention block.
|
|
173
|
+
*/
|
|
174
|
+
getNeedsAttentionItems(filter?: SkyNeedsAttentionItemHarnessFilters): Promise<SkyNeedsAttentionItemHarness[]>;
|
|
175
|
+
/**
|
|
176
|
+
* Get the testing harness for the related links block.
|
|
177
|
+
*/
|
|
178
|
+
getRelatedLinks(): Promise<SkyLinkListHarness>;
|
|
179
|
+
/**
|
|
180
|
+
* Get the testing harness for the recent links block.
|
|
181
|
+
*/
|
|
182
|
+
getRecentLinks(): Promise<SkyLinkListHarness>;
|
|
183
|
+
/**
|
|
184
|
+
* Get the testing harness for the settings links block.
|
|
185
|
+
*/
|
|
186
|
+
getSettingsLinks(): Promise<SkyLinkListHarness>;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* A set of criteria that can be used to filter a list of SkyPageHeaderHarness instances.
|
|
191
|
+
*/
|
|
192
|
+
interface SkyPageHeaderHarnessFilters extends SkyHarnessFilters {
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Harness for interacting with a page header component in tests.
|
|
197
|
+
*/
|
|
198
|
+
declare class SkyPageHeaderHarness extends SkyComponentHarness {
|
|
199
|
+
#private;
|
|
200
|
+
/**
|
|
201
|
+
* @internal
|
|
202
|
+
*/
|
|
203
|
+
static hostSelector: string;
|
|
204
|
+
/**
|
|
205
|
+
* Gets a `HarnessPredicate` that can be used to search for a
|
|
206
|
+
* `SkyPageHeaderHarness` that meets certain criteria.
|
|
207
|
+
*/
|
|
208
|
+
static with(filters: SkyPageHeaderHarnessFilters): HarnessPredicate<SkyPageHeaderHarness>;
|
|
209
|
+
/**
|
|
210
|
+
* Gets the current page title.
|
|
211
|
+
*/
|
|
212
|
+
getPageTitle(): Promise<string | undefined>;
|
|
213
|
+
/**
|
|
214
|
+
* Gets the current page title.
|
|
215
|
+
*/
|
|
216
|
+
getParentLinkText(): Promise<string>;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* A set of criteria that can be used to filter a list of SkyPageHarness instances.
|
|
221
|
+
*/
|
|
222
|
+
interface SkyPageHarnessFilters extends SkyHarnessFilters {
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Harness for interacting with a page component in tests.
|
|
227
|
+
*/
|
|
228
|
+
declare class SkyPageHarness extends SkyComponentHarness {
|
|
229
|
+
/**
|
|
230
|
+
* @internal
|
|
231
|
+
*/
|
|
232
|
+
static hostSelector: string;
|
|
233
|
+
/**
|
|
234
|
+
* Gets a `HarnessPredicate` that can be used to search for a
|
|
235
|
+
* `SkyPageHarness` that meets certain criteria.
|
|
236
|
+
*/
|
|
237
|
+
static with(filters: SkyPageHarnessFilters): HarnessPredicate<SkyPageHarness>;
|
|
238
|
+
/**
|
|
239
|
+
* Gets the current layout.
|
|
240
|
+
*/
|
|
241
|
+
getLayout(): Promise<SkyPageLayoutType>;
|
|
242
|
+
/**
|
|
243
|
+
* Gets the first page header that matches the given filters.
|
|
244
|
+
* @param filters filters for which page header to return
|
|
245
|
+
*/
|
|
246
|
+
getPageHeader(filters?: SkyPageHeaderHarnessFilters): Promise<SkyPageHeaderHarness>;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export { SkyActionHubHarness, SkyLinkListHarness, SkyLinkListItemHarness, SkyNeedsAttentionHarness, SkyNeedsAttentionItemHarness, SkyPageHarness, SkyPageHeaderHarness };
|
|
250
|
+
export type { SkyActionHubHarnessFilters, SkyLinkListHarnessFilters, SkyLinkListItemHarnessFilters, SkyNeedsAttentionHarnessFilters, SkyNeedsAttentionItemHarnessFilters, SkyPageHarnessFilters, SkyPageHeaderHarnessFilters };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Displays buttons after the page title.
|
|
4
|
-
* @example
|
|
5
|
-
* ```markup
|
|
6
|
-
* <a class="sky-btn sky-btn-default" href="path/to/new">New</a>
|
|
7
|
-
* ```
|
|
8
|
-
*/
|
|
9
|
-
export declare class SkyActionHubButtonsComponent {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyActionHubButtonsComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyActionHubButtonsComponent, "sky-action-hub-buttons", never, {}, {}, never, ["*"], false, never>;
|
|
12
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Displays additional content after the action items.
|
|
4
|
-
*/
|
|
5
|
-
export declare class SkyActionHubContentComponent {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyActionHubContentComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyActionHubContentComponent, "sky-action-hub-content", never, {}, {}, never, ["*"], false, never>;
|
|
8
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, PipeTransform } from '@angular/core';
|
|
2
|
-
import { SkyRecentlyAccessedService } from '@skyux/router';
|
|
3
|
-
import { SkyRecentLinksInput } from './types/recent-links-input';
|
|
4
|
-
import { SkyRecentLinksResolved } from './types/recent-links-resolved';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SkyActionHubRecentLinksResolvePipe implements PipeTransform, OnDestroy {
|
|
7
|
-
#private;
|
|
8
|
-
constructor(changeDetector: ChangeDetectorRef, recentlyAccessedSvc?: SkyRecentlyAccessedService);
|
|
9
|
-
transform(recentLinks: SkyRecentLinksInput): SkyRecentLinksResolved;
|
|
10
|
-
ngOnDestroy(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyActionHubRecentLinksResolvePipe, [null, { optional: true; }]>;
|
|
12
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SkyActionHubRecentLinksResolvePipe, "skyActionHubRecentLinksResolve", true>;
|
|
13
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { SkyPageLinkInterface } from './types/page-link-interface';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SkyActionHubRelatedLinksSortPipe implements PipeTransform {
|
|
5
|
-
transform<T extends SkyPageLinkInterface[]>(relatedLinks: T | 'loading' | undefined): T | 'loading' | [];
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyActionHubRelatedLinksSortPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SkyActionHubRelatedLinksSortPipe, "skyActionHubRelatedLinksSort", false>;
|
|
8
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { SkyActionHubNeedsAttention } from './types/action-hub-needs-attention';
|
|
2
|
-
import { SkyActionHubNeedsAttentionInput } from './types/action-hub-needs-attention-input';
|
|
3
|
-
import { SkyPageLink } from './types/page-link';
|
|
4
|
-
import { SkyPageLinksInput } from './types/page-links-input';
|
|
5
|
-
import { SkyPageModalLinksInput } from './types/page-modal-links-input';
|
|
6
|
-
import { SkyRecentLinksInput } from './types/recent-links-input';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Creates an action hub to direct user attention to important
|
|
10
|
-
* actions and provide quick access to common tasks.
|
|
11
|
-
*/
|
|
12
|
-
export declare class SkyActionHubComponent {
|
|
13
|
-
#private;
|
|
14
|
-
/**
|
|
15
|
-
* The list of actions that users must perform based on business requirements or best practices, or `"loading"` to display a wait indicator.
|
|
16
|
-
*/
|
|
17
|
-
set needsAttention(value: SkyActionHubNeedsAttentionInput | undefined);
|
|
18
|
-
get needsAttention(): SkyActionHubNeedsAttentionInput | undefined;
|
|
19
|
-
/**
|
|
20
|
-
* Links back to a parent page.
|
|
21
|
-
*/
|
|
22
|
-
parentLink: SkyPageLink | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* The list of recently accessed links, or `"loading"` to display a wait indicator.
|
|
25
|
-
*/
|
|
26
|
-
recentLinks: SkyRecentLinksInput;
|
|
27
|
-
/**
|
|
28
|
-
* The list of related links, or `"loading"` to display a wait indicator.
|
|
29
|
-
*/
|
|
30
|
-
relatedLinks: SkyPageLinksInput;
|
|
31
|
-
/**
|
|
32
|
-
* The list of settings with modal parameters, or `"loading"` to display a wait indicator.
|
|
33
|
-
*/
|
|
34
|
-
settingsLinks: SkyPageModalLinksInput;
|
|
35
|
-
/**
|
|
36
|
-
* The page title.
|
|
37
|
-
* @default ""
|
|
38
|
-
*/
|
|
39
|
-
title: string;
|
|
40
|
-
needsAttentionArray: SkyActionHubNeedsAttention[];
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyActionHubComponent, never>;
|
|
42
|
-
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>;
|
|
43
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./action-hub-buttons.component";
|
|
3
|
-
import * as i2 from "./action-hub.component";
|
|
4
|
-
import * as i3 from "./action-hub-content.component";
|
|
5
|
-
import * as i4 from "./action-hub-related-links-sort.pipe";
|
|
6
|
-
import * as i5 from "./action-hub-recent-links-resolve.pipe";
|
|
7
|
-
import * as i6 from "@skyux/layout";
|
|
8
|
-
import * as i7 from "../link-list/link-list.module";
|
|
9
|
-
import * as i8 from "../modal-link-list/modal-link-list.module";
|
|
10
|
-
import * as i9 from "../needs-attention/needs-attention.module";
|
|
11
|
-
import * as i10 from "../page-header/page-header.module";
|
|
12
|
-
import * as i11 from "../shared/sky-pages-resources.module";
|
|
13
|
-
import * as i12 from "@skyux/theme";
|
|
14
|
-
import * as i13 from "@skyux/indicators";
|
|
15
|
-
import * as i14 from "../page/page.module";
|
|
16
|
-
export declare class SkyActionHubModule {
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyActionHubModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyActionHubModule, [typeof i1.SkyActionHubButtonsComponent, typeof i2.SkyActionHubComponent, typeof i3.SkyActionHubContentComponent, typeof i4.SkyActionHubRelatedLinksSortPipe], [typeof i5.SkyActionHubRecentLinksResolvePipe, typeof i6.SkyBoxModule, typeof i6.SkyFluidGridModule, typeof i7.SkyLinkListModule, typeof i8.SkyModalLinkListModule, typeof i9.SkyNeedsAttentionModule, typeof i10.SkyPageHeaderModule, typeof i11.SkyPagesResourcesModule, typeof i12.SkyThemeModule, typeof i13.SkyWaitModule, typeof i14.SkyPageModule], [typeof i1.SkyActionHubButtonsComponent, typeof i2.SkyActionHubComponent, typeof i3.SkyActionHubContentComponent]>;
|
|
19
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkyActionHubModule>;
|
|
20
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { NavigationExtras } from '@angular/router';
|
|
2
|
-
import { SkyActionHubNeedsAttentionClickHandler } from './action-hub-needs-attention-click-handler';
|
|
3
|
-
/**
|
|
4
|
-
* Specifies action items that require attention and directs users to pages
|
|
5
|
-
* where they can resolve them.
|
|
6
|
-
*/
|
|
7
|
-
export interface SkyActionHubNeedsAttention {
|
|
8
|
-
/**
|
|
9
|
-
* The title of the action item.
|
|
10
|
-
*/
|
|
11
|
-
title: string;
|
|
12
|
-
/**
|
|
13
|
-
* Text to display after the title.
|
|
14
|
-
* @deprecated Use `title` instead.
|
|
15
|
-
*/
|
|
16
|
-
message?: string;
|
|
17
|
-
/**
|
|
18
|
-
* The link to resolve the action item.
|
|
19
|
-
*/
|
|
20
|
-
permalink?: {
|
|
21
|
-
route?: {
|
|
22
|
-
commands: any[];
|
|
23
|
-
extras?: NavigationExtras;
|
|
24
|
-
};
|
|
25
|
-
url?: string;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* The click handler for the action item.
|
|
29
|
-
*/
|
|
30
|
-
click?: SkyActionHubNeedsAttentionClickHandler;
|
|
31
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { NavigationExtras } from '@angular/router';
|
|
2
|
-
import { SkyPageLinkInterface } from './page-link-interface';
|
|
3
|
-
/**
|
|
4
|
-
* Displays links to related information or recently accessed items.
|
|
5
|
-
*/
|
|
6
|
-
export interface SkyPageLink extends SkyPageLinkInterface {
|
|
7
|
-
/**
|
|
8
|
-
* The link destination.
|
|
9
|
-
*/
|
|
10
|
-
permalink: {
|
|
11
|
-
route?: {
|
|
12
|
-
commands: any[];
|
|
13
|
-
extras?: NavigationExtras;
|
|
14
|
-
};
|
|
15
|
-
url?: string;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { NavigationExtras } from '@angular/router';
|
|
2
|
-
import { SkyModalConfigurationInterface } from '@skyux/modals';
|
|
3
|
-
import { SkyPageLinkInterface } from './page-link-interface';
|
|
4
|
-
/**
|
|
5
|
-
* Displays links to related information or recently accessed items.
|
|
6
|
-
*/
|
|
7
|
-
export interface SkyPageModalLink extends SkyPageLinkInterface {
|
|
8
|
-
/**
|
|
9
|
-
* The link destination.
|
|
10
|
-
*/
|
|
11
|
-
permalink?: {
|
|
12
|
-
route?: {
|
|
13
|
-
commands: any[];
|
|
14
|
-
extras?: NavigationExtras;
|
|
15
|
-
};
|
|
16
|
-
url?: string;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* The modal parameters.
|
|
20
|
-
*/
|
|
21
|
-
modal?: {
|
|
22
|
-
component: any;
|
|
23
|
-
config?: SkyModalConfigurationInterface;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SkyPageLink } from './page-link';
|
|
2
|
-
/**
|
|
3
|
-
* Link that also has a date field to sort by.
|
|
4
|
-
*
|
|
5
|
-
* @property lastAccessed The date when the link was last accessed. Valid types are a Date object or ISO-8601 string.
|
|
6
|
-
*/
|
|
7
|
-
export interface SkyRecentLink extends SkyPageLink {
|
|
8
|
-
lastAccessed: Date | string;
|
|
9
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { SkyRecentlyAccessedGetLinksArgs } from '@skyux/router';
|
|
2
|
-
import { SkyRecentLink } from './recent-link';
|
|
3
|
-
/**
|
|
4
|
-
* Recently accessed links to display in a link list component.
|
|
5
|
-
*/
|
|
6
|
-
export type SkyRecentLinksInput = SkyRecentLink[] | 'loading' | SkyRecentlyAccessedGetLinksArgs | undefined;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./link-as.pipe";
|
|
3
|
-
export declare class LinkAsModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LinkAsModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LinkAsModule, [typeof i1.LinkAsPipe], never, [typeof i1.LinkAsPipe]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<LinkAsModule>;
|
|
7
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { Route } from '@angular/router';
|
|
3
|
-
import { SkyActionHubNeedsAttention } from '../action-hub/types/action-hub-needs-attention';
|
|
4
|
-
import { SkyPageLink } from '../action-hub/types/page-link';
|
|
5
|
-
import { SkyPageModalLink } from '../action-hub/types/page-modal-link';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class LinkAsPipe implements PipeTransform {
|
|
8
|
-
transform(value: SkyActionHubNeedsAttention | SkyPageLink | SkyPageModalLink | undefined, linkAs: 'button'): value is SkyActionHubNeedsAttention & {
|
|
9
|
-
click: () => void;
|
|
10
|
-
};
|
|
11
|
-
transform(value: SkyActionHubNeedsAttention | SkyPageLink | SkyPageModalLink | undefined, linkAs: 'href' | 'skyHref'): value is SkyActionHubNeedsAttention & {
|
|
12
|
-
permalink: {
|
|
13
|
-
url: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
transform(value: SkyActionHubNeedsAttention | SkyPageLink | SkyPageModalLink | undefined, linkAs: 'skyAppLink'): value is SkyActionHubNeedsAttention & {
|
|
17
|
-
permalink: {
|
|
18
|
-
route: Route;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
transform(value: SkyActionHubNeedsAttention | SkyPageLink | SkyPageModalLink | undefined, linkAs: undefined): false;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LinkAsPipe, never>;
|
|
23
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<LinkAsPipe, "linkAs", false>;
|
|
24
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@skyux/theme";
|
|
3
|
-
/**
|
|
4
|
-
* A wrapper for each link in a link list.
|
|
5
|
-
*/
|
|
6
|
-
export declare class SkyLinkListItemComponent {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyLinkListItemComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyLinkListItemComponent, "sky-link-list-item", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.SkyThemeComponentClassDirective; inputs: {}; outputs: {}; }]>;
|
|
9
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { SkyPageLink } from '../action-hub/types/page-link';
|
|
2
|
-
import { SkyPageLinksInput } from '../action-hub/types/page-links-input';
|
|
3
|
-
import { SkyLinkListItemComponent } from './link-list-item.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@skyux/theme";
|
|
6
|
-
/**
|
|
7
|
-
* A component that displays a list of links, such as within a `<sky-page-links>` component.
|
|
8
|
-
*/
|
|
9
|
-
export declare class SkyLinkListComponent {
|
|
10
|
-
/**
|
|
11
|
-
* The text to display as the list's heading.
|
|
12
|
-
*/
|
|
13
|
-
readonly headingText: import("@angular/core").InputSignal<string | undefined>;
|
|
14
|
-
/**
|
|
15
|
-
* Option to pass links as an array of `SkyPageLink` objects or `'loading'` to display a loading indicator.
|
|
16
|
-
*/
|
|
17
|
-
readonly links: import("@angular/core").InputSignal<SkyPageLinksInput>;
|
|
18
|
-
protected readonly linkItems: import("@angular/core").Signal<readonly SkyLinkListItemComponent[]>;
|
|
19
|
-
protected readonly hasLinks: import("@angular/core").Signal<boolean>;
|
|
20
|
-
protected readonly linksArray: import("@angular/core").Signal<SkyPageLink[]>;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyLinkListComponent, never>;
|
|
22
|
-
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: {}; }]>;
|
|
23
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./link-list.component";
|
|
3
|
-
import * as i2 from "./link-list-item.component";
|
|
4
|
-
import * as i3 from "../link-list-recently-accessed/link-list-recently-accessed.component";
|
|
5
|
-
export declare class SkyLinkListModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyLinkListModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyLinkListModule, never, [typeof i1.SkyLinkListComponent, typeof i2.SkyLinkListItemComponent, typeof i3.SkyLinkListRecentlyAccessedComponent], [typeof i1.SkyLinkListComponent, typeof i2.SkyLinkListItemComponent, typeof i3.SkyLinkListRecentlyAccessedComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkyLinkListModule>;
|
|
9
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { SkyRecentLinksInput } from '../action-hub/types/recent-links-input';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* A component that displays a list of recently accessed links, such as within a `<sky-page-links>` component.
|
|
5
|
-
*/
|
|
6
|
-
export declare class SkyLinkListRecentlyAccessedComponent {
|
|
7
|
-
/**
|
|
8
|
-
* Option to pass links as an array of `SkyRecentLink` objects,
|
|
9
|
-
* a `SkyRecentlyAccessedGetLinksArgs` object for `SkyRecentlyAccessedService`,
|
|
10
|
-
* or `'loading'` to display a loading indicator.
|
|
11
|
-
*/
|
|
12
|
-
readonly recentLinks: import("@angular/core").InputSignal<SkyRecentLinksInput>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyLinkListRecentlyAccessedComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyLinkListRecentlyAccessedComponent, "sky-link-list-recently-accessed", never, { "recentLinks": { "alias": "recentLinks"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { SkyPageModalLink } from '../action-hub/types/page-modal-link';
|
|
2
|
-
import { SkyPageModalLinksInput } from '../action-hub/types/page-modal-links-input';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* A component that displays a list of links such as within a `<sky-page-links>` component.
|
|
6
|
-
*/
|
|
7
|
-
export declare class SkyModalLinkListComponent {
|
|
8
|
-
#private;
|
|
9
|
-
/**
|
|
10
|
-
* Option to pass links as an array of `SkyPageModalLink` objects or `'loading'` to display a loading indicator.
|
|
11
|
-
*/
|
|
12
|
-
readonly links: import("@angular/core").InputSignal<SkyPageModalLinksInput>;
|
|
13
|
-
/**
|
|
14
|
-
* The text to display as the list's heading.
|
|
15
|
-
*/
|
|
16
|
-
readonly headingText: import("@angular/core").InputSignal<string | undefined>;
|
|
17
|
-
protected readonly linksArray: import("@angular/core").Signal<SkyPageModalLink[]>;
|
|
18
|
-
protected openModal(link: SkyPageModalLink): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyModalLinkListComponent, never>;
|
|
20
|
-
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>;
|
|
21
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./modal-link-list.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@skyux/router";
|
|
5
|
-
import * as i4 from "@skyux/indicators";
|
|
6
|
-
import * as i5 from "../link-as/link-as.module";
|
|
7
|
-
export declare class SkyModalLinkListModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyModalLinkListModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyModalLinkListModule, [typeof i1.SkyModalLinkListComponent], [typeof i2.CommonModule, typeof i3.SkyAppLinkModule, typeof i3.SkyHrefModule, typeof i4.SkyWaitModule, typeof i5.LinkAsModule], [typeof i1.SkyModalLinkListComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkyModalLinkListModule>;
|
|
11
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { SkyActionHubNeedsAttention } from '../action-hub/types/action-hub-needs-attention';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export declare class SkyNeedsAttentionComponent {
|
|
7
|
-
#private;
|
|
8
|
-
readonly items: import("@angular/core").InputSignal<SkyActionHubNeedsAttention[]>;
|
|
9
|
-
protected readonly displayItems: import("rxjs").Observable<SkyActionHubNeedsAttention[] | (SkyActionHubNeedsAttention | undefined)[]>;
|
|
10
|
-
protected readonly displayItemsTrackByFn: (item: SkyActionHubNeedsAttention | undefined) => string;
|
|
11
|
-
constructor();
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyNeedsAttentionComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyNeedsAttentionComponent, "sky-needs-attention", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
|
-
}
|