@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
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./needs-attention.component";
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export declare class SkyNeedsAttentionModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyNeedsAttentionModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyNeedsAttentionModule, never, [typeof i1.SkyNeedsAttentionComponent], [typeof i1.SkyNeedsAttentionComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkyNeedsAttentionModule>;
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@skyux/core";
|
|
3
|
-
/**
|
|
4
|
-
* Displays page contents using spacing that corresponds to the parent
|
|
5
|
-
* page's layout.
|
|
6
|
-
*/
|
|
7
|
-
export declare class SkyPageContentComponent {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageContentComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyPageContentComponent, "sky-page-content", never, {}, {}, never, ["*"], false, [{ directive: typeof i1.SkyResponsiveHostDirective; inputs: {}; outputs: {}; }]>;
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Displays page links on the right side of the page, or below the page content
|
|
4
|
-
* on mobile devices.
|
|
5
|
-
*/
|
|
6
|
-
export declare class SkyPageLinksComponent {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageLinksComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyPageLinksComponent, "sky-page-links", never, {}, {}, never, ["*"], true, never>;
|
|
9
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* @internal
|
|
4
|
-
*/
|
|
5
|
-
export declare class SkyPageThemeAdapterService {
|
|
6
|
-
#private;
|
|
7
|
-
constructor(document: Document);
|
|
8
|
-
/**
|
|
9
|
-
* We can't use ViewEncapsulation.None for this behavior because Angular does
|
|
10
|
-
* not remove `style` tags from the HEAD element after route changes.
|
|
11
|
-
* @see https://github.com/angular/angular/issues/16670
|
|
12
|
-
*/
|
|
13
|
-
addTheme(): void;
|
|
14
|
-
removeTheme(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageThemeAdapterService, never>;
|
|
16
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SkyPageThemeAdapterService>;
|
|
17
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { SkyPageLayoutType } from './types/page-layout-type';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@skyux/core";
|
|
5
|
-
/**
|
|
6
|
-
* Displays a page using the specified layout. The page component is a responsive container,
|
|
7
|
-
* meaning content will respect the breakpoints within the page element instead of the window.
|
|
8
|
-
* This is helpful if there is other content to the left or right of the page.
|
|
9
|
-
*/
|
|
10
|
-
export declare class SkyPageComponent implements OnInit, OnDestroy {
|
|
11
|
-
#private;
|
|
12
|
-
/**
|
|
13
|
-
* The page layout that applies spacing to the page header and content. Use the layout
|
|
14
|
-
* that corresponds with the top-level component type used on the page, or use `fit` to
|
|
15
|
-
* constrain the page contents to the available viewport.
|
|
16
|
-
* Use `none` for custom content that does not adhere to predefined spacing or constraints.
|
|
17
|
-
* @default "none"
|
|
18
|
-
*/
|
|
19
|
-
layout: import("@angular/core").InputSignal<SkyPageLayoutType>;
|
|
20
|
-
/**
|
|
21
|
-
* A help key that identifies the page's default [global help](https://developer.blackbaud.com/skyux/learn/develop/global-help) content to display.
|
|
22
|
-
*/
|
|
23
|
-
set helpKey(value: string | undefined);
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageComponent, never>;
|
|
27
|
-
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.SkyLayoutHostDirective; inputs: { "layout": "layout"; }; outputs: {}; }]>;
|
|
28
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./page.component";
|
|
3
|
-
import * as i2 from "./page-content.component";
|
|
4
|
-
import * as i3 from "../link-list/link-list.module";
|
|
5
|
-
import * as i4 from "./page-links.component";
|
|
6
|
-
import * as i5 from "../link-list/link-list.component";
|
|
7
|
-
import * as i6 from "../link-list/link-list-item.component";
|
|
8
|
-
import * as i7 from "../link-list-recently-accessed/link-list-recently-accessed.component";
|
|
9
|
-
import * as i8 from "../modal-link-list/modal-link-list.module";
|
|
10
|
-
import * as i9 from "../page-header/page-header.module";
|
|
11
|
-
export declare class SkyPageModule {
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyPageModule, [typeof i1.SkyPageComponent, typeof i2.SkyPageContentComponent], [typeof i3.SkyLinkListModule, typeof i4.SkyPageLinksComponent, typeof i5.SkyLinkListComponent, typeof i6.SkyLinkListItemComponent, typeof i7.SkyLinkListRecentlyAccessedComponent, typeof i8.SkyModalLinkListModule], [typeof i5.SkyLinkListComponent, typeof i6.SkyLinkListItemComponent, typeof i7.SkyLinkListRecentlyAccessedComponent, typeof i3.SkyLinkListModule, typeof i8.SkyModalLinkListModule, typeof i1.SkyPageComponent, typeof i9.SkyPageHeaderModule, typeof i2.SkyPageContentComponent, typeof i4.SkyPageLinksComponent]>;
|
|
14
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkyPageModule>;
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type SkyPageLayoutType = 'none' | 'fit' | 'blocks' | 'list' | 'tabs';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Displays buttons within the page header for page actions and applies spacing between buttons.
|
|
4
|
-
* Appears below the page header details.
|
|
5
|
-
*/
|
|
6
|
-
export declare class SkyPageHeaderActionsComponent {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageHeaderActionsComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyPageHeaderActionsComponent, "sky-page-header-actions", never, {}, {}, never, ["*"], false, never>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@skyux/theme";
|
|
3
|
-
/**
|
|
4
|
-
* Displays alerts within the page header and applies spacing between alerts. Appears above the page title.
|
|
5
|
-
*/
|
|
6
|
-
export declare class SkyPageHeaderAlertsComponent {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageHeaderAlertsComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyPageHeaderAlertsComponent, "sky-page-header-alerts", never, {}, {}, never, ["*"], false, [{ directive: typeof i1.SkyThemeComponentClassDirective; inputs: {}; outputs: {}; }]>;
|
|
9
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@skyux/theme";
|
|
3
|
-
/**
|
|
4
|
-
* Displays an avatar within the page header to the left of the page title.
|
|
5
|
-
* If no size is specified for the avatar component it will display at size
|
|
6
|
-
* small on xs breakpoints and size large on small and above breakpoints.
|
|
7
|
-
*/
|
|
8
|
-
export declare class SkyPageHeaderAvatarComponent {
|
|
9
|
-
constructor();
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageHeaderAvatarComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyPageHeaderAvatarComponent, "sky-page-header-avatar", never, {}, {}, never, ["*"], false, [{ directive: typeof i1.SkyThemeComponentClassDirective; inputs: {}; outputs: {}; }]>;
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@skyux/theme";
|
|
3
|
-
/**
|
|
4
|
-
* Displays additional information in the page header, like record details.
|
|
5
|
-
* Appears below the title and above the page actions.
|
|
6
|
-
*/
|
|
7
|
-
export declare class SkyPageHeaderDetailsComponent {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageHeaderDetailsComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyPageHeaderDetailsComponent, "sky-page-header-details", never, {}, {}, never, ["*"], false, [{ directive: typeof i1.SkyThemeComponentClassDirective; inputs: {}; outputs: {}; }]>;
|
|
10
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SkyPageLink } from '../action-hub/types/page-link';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@skyux/core";
|
|
4
|
-
/**
|
|
5
|
-
* Displays page heading's contents using spacing that corresponds to the parent page's layout
|
|
6
|
-
*/
|
|
7
|
-
export declare class SkyPageHeaderComponent {
|
|
8
|
-
/**
|
|
9
|
-
* A link to the parent page of the current page.
|
|
10
|
-
*/
|
|
11
|
-
parentLink: SkyPageLink | undefined;
|
|
12
|
-
/**
|
|
13
|
-
* The title of the current page.
|
|
14
|
-
*/
|
|
15
|
-
pageTitle: string | undefined;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageHeaderComponent, never>;
|
|
17
|
-
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.SkyResponsiveHostDirective; inputs: {}; outputs: {}; }]>;
|
|
18
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./page-header-actions.component";
|
|
3
|
-
import * as i2 from "./page-header-alerts.component";
|
|
4
|
-
import * as i3 from "./page-header-avatar.component";
|
|
5
|
-
import * as i4 from "./page-header.component";
|
|
6
|
-
import * as i5 from "./page-header-details.component";
|
|
7
|
-
import * as i6 from "@angular/router";
|
|
8
|
-
import * as i7 from "@skyux/router";
|
|
9
|
-
import * as i8 from "@skyux/icon";
|
|
10
|
-
import * as i9 from "@skyux/theme";
|
|
11
|
-
export declare class SkyPageHeaderModule {
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPageHeaderModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyPageHeaderModule, [typeof i1.SkyPageHeaderActionsComponent, typeof i2.SkyPageHeaderAlertsComponent, typeof i3.SkyPageHeaderAvatarComponent, typeof i4.SkyPageHeaderComponent, typeof i5.SkyPageHeaderDetailsComponent], [typeof i6.RouterModule, typeof i7.SkyAppLinkModule, typeof i8.SkyIconModule, typeof i9.SkyThemeModule, typeof i7.SkyHrefModule], [typeof i1.SkyPageHeaderActionsComponent, typeof i2.SkyPageHeaderAlertsComponent, typeof i3.SkyPageHeaderAvatarComponent, typeof i4.SkyPageHeaderComponent, typeof i5.SkyPageHeaderDetailsComponent]>;
|
|
14
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkyPageHeaderModule>;
|
|
15
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@skyux/i18n";
|
|
3
|
-
/**
|
|
4
|
-
* Import into any component library module that needs to use resource strings.
|
|
5
|
-
*/
|
|
6
|
-
export declare class SkyPagesResourcesModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPagesResourcesModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyPagesResourcesModule, never, never, [typeof i1.SkyI18nModule]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkyPagesResourcesModule>;
|
|
10
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
-
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
3
|
-
import { SkyLinkListHarness } from '../link-list/link-list-harness';
|
|
4
|
-
import { SkyNeedsAttentionHarness } from '../needs-attention/needs-attention-harness';
|
|
5
|
-
import { SkyNeedsAttentionItemHarness } from '../needs-attention/needs-attention-item-harness';
|
|
6
|
-
import { SkyNeedsAttentionItemHarnessFilters } from '../needs-attention/needs-attention-item-harness-filters';
|
|
7
|
-
import { SkyActionHubHarnessFilters } from './action-hub-harness-filters';
|
|
8
|
-
/**
|
|
9
|
-
* Harness for interacting with an action hub component in tests.
|
|
10
|
-
*/
|
|
11
|
-
export declare class SkyActionHubHarness extends SkyComponentHarness {
|
|
12
|
-
#private;
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
*/
|
|
16
|
-
static hostSelector: string;
|
|
17
|
-
/**
|
|
18
|
-
* Gets a `HarnessPredicate` that can be used to search for a
|
|
19
|
-
* `SkyLinkListHarness` that meets certain criteria.
|
|
20
|
-
*/
|
|
21
|
-
static with(filters: SkyActionHubHarnessFilters): HarnessPredicate<SkyActionHubHarness>;
|
|
22
|
-
/**
|
|
23
|
-
* Gets the title of the action hub.
|
|
24
|
-
*/
|
|
25
|
-
getTitle(): Promise<string | undefined>;
|
|
26
|
-
/**
|
|
27
|
-
* Get the testing harness for the needs attention block.
|
|
28
|
-
*/
|
|
29
|
-
getNeedsAttentionBlock(): Promise<SkyNeedsAttentionHarness>;
|
|
30
|
-
/**
|
|
31
|
-
* Get the testing harnesses for items within the needs attention block.
|
|
32
|
-
*/
|
|
33
|
-
getNeedsAttentionItems(filter?: SkyNeedsAttentionItemHarnessFilters): Promise<SkyNeedsAttentionItemHarness[]>;
|
|
34
|
-
/**
|
|
35
|
-
* Get the testing harness for the related links block.
|
|
36
|
-
*/
|
|
37
|
-
getRelatedLinks(): Promise<SkyLinkListHarness>;
|
|
38
|
-
/**
|
|
39
|
-
* Get the testing harness for the recent links block.
|
|
40
|
-
*/
|
|
41
|
-
getRecentLinks(): Promise<SkyLinkListHarness>;
|
|
42
|
-
/**
|
|
43
|
-
* Get the testing harness for the settings links block.
|
|
44
|
-
*/
|
|
45
|
-
getSettingsLinks(): Promise<SkyLinkListHarness>;
|
|
46
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
-
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
3
|
-
import { SkyLinkListHarnessFilters } from './link-list-harness-filters';
|
|
4
|
-
import { SkyLinkListItemHarness } from './link-list-item-harness';
|
|
5
|
-
import { SkyLinkListItemHarnessFilters } from './link-list-item-harness-filters';
|
|
6
|
-
/**
|
|
7
|
-
* Harness for interacting with a link list component in tests.
|
|
8
|
-
*/
|
|
9
|
-
export declare class SkyLinkListHarness extends SkyComponentHarness {
|
|
10
|
-
#private;
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
static hostSelector: string;
|
|
15
|
-
/**
|
|
16
|
-
* Gets a `HarnessPredicate` that can be used to search for a
|
|
17
|
-
* `SkyLinkListHarness` that meets certain criteria.
|
|
18
|
-
*/
|
|
19
|
-
static with(filters: SkyLinkListHarnessFilters): HarnessPredicate<SkyLinkListHarness>;
|
|
20
|
-
/**
|
|
21
|
-
* Gets the link list's heading text. If there are no links, this will return `undefined`.
|
|
22
|
-
*/
|
|
23
|
-
getHeadingText(): Promise<string | undefined>;
|
|
24
|
-
/**
|
|
25
|
-
* Whether the link list is showing a list of links.
|
|
26
|
-
*/
|
|
27
|
-
isVisible(): Promise<boolean>;
|
|
28
|
-
/**
|
|
29
|
-
* Gets the status of the wait indicator.
|
|
30
|
-
*/
|
|
31
|
-
isWaiting(): Promise<boolean>;
|
|
32
|
-
/**
|
|
33
|
-
* Gets the link list items.
|
|
34
|
-
*/
|
|
35
|
-
getListItems(filter?: SkyLinkListItemHarnessFilters): Promise<SkyLinkListItemHarness[]>;
|
|
36
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SkyHarnessFilters } from '@skyux/core/testing';
|
|
2
|
-
/**
|
|
3
|
-
* A set of criteria that can be used to filter a list of SkyLinkListItemHarness instances.
|
|
4
|
-
*/
|
|
5
|
-
export interface SkyLinkListItemHarnessFilters extends SkyHarnessFilters {
|
|
6
|
-
/**
|
|
7
|
-
* Only find instances whose text content matches the given value.
|
|
8
|
-
*/
|
|
9
|
-
text?: string;
|
|
10
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
-
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
3
|
-
import { SkyLinkListItemHarnessFilters } from './link-list-item-harness-filters';
|
|
4
|
-
/**
|
|
5
|
-
* Harness for interacting with a linked list item in tests.
|
|
6
|
-
*/
|
|
7
|
-
export declare class SkyLinkListItemHarness extends SkyComponentHarness {
|
|
8
|
-
/**
|
|
9
|
-
* @internal
|
|
10
|
-
*/
|
|
11
|
-
static hostSelector: string;
|
|
12
|
-
/**
|
|
13
|
-
* Gets a `HarnessPredicate` that can be used to search for a
|
|
14
|
-
* `SkyLinkListItemHarness` that meets certain criteria.
|
|
15
|
-
*/
|
|
16
|
-
static with(filters: SkyLinkListItemHarnessFilters): HarnessPredicate<SkyLinkListItemHarness>;
|
|
17
|
-
/**
|
|
18
|
-
* Gets the text content of the item.
|
|
19
|
-
*/
|
|
20
|
-
getText(): Promise<string>;
|
|
21
|
-
/**
|
|
22
|
-
* Clicks the item.
|
|
23
|
-
*/
|
|
24
|
-
click(): Promise<void>;
|
|
25
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
-
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
3
|
-
import { SkyNeedsAttentionHarnessFilters } from './needs-attention-harness-filters';
|
|
4
|
-
/**
|
|
5
|
-
* Harness for interacting with the needs-attention component in tests.
|
|
6
|
-
*/
|
|
7
|
-
export declare class SkyNeedsAttentionHarness extends SkyComponentHarness {
|
|
8
|
-
#private;
|
|
9
|
-
/**
|
|
10
|
-
* @internal
|
|
11
|
-
*/
|
|
12
|
-
static hostSelector: string;
|
|
13
|
-
/**
|
|
14
|
-
* Gets a `HarnessPredicate` that can be used to search for a
|
|
15
|
-
* `SkyNeedsAttentionHarness` that meets certain criteria.
|
|
16
|
-
*/
|
|
17
|
-
static with(filters: SkyNeedsAttentionHarnessFilters): HarnessPredicate<SkyNeedsAttentionHarness>;
|
|
18
|
-
/**
|
|
19
|
-
* Gets the component's heading text. If there are no links, this will return `undefined`.
|
|
20
|
-
*/
|
|
21
|
-
getTitle(): Promise<string | undefined>;
|
|
22
|
-
/**
|
|
23
|
-
* Gets the text from an empty list. If there are items in the list, this will return `undefined`.
|
|
24
|
-
*/
|
|
25
|
-
getEmptyListText(): Promise<string | undefined>;
|
|
26
|
-
/**
|
|
27
|
-
* Whether the link list is showing a list of links.
|
|
28
|
-
*/
|
|
29
|
-
hasItems(): Promise<boolean>;
|
|
30
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SkyHarnessFilters } from '@skyux/core/testing';
|
|
2
|
-
/**
|
|
3
|
-
* A set of criteria that can be used to filter a list of SkyNeedsAttentionItemHarness instances.
|
|
4
|
-
*/
|
|
5
|
-
export interface SkyNeedsAttentionItemHarnessFilters extends SkyHarnessFilters {
|
|
6
|
-
/**
|
|
7
|
-
* Only find instances whose text content matches the given value.
|
|
8
|
-
*/
|
|
9
|
-
text?: string;
|
|
10
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
-
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
3
|
-
import { SkyNeedsAttentionItemHarnessFilters } from './needs-attention-item-harness-filters';
|
|
4
|
-
/**
|
|
5
|
-
* Harness for interacting with a needs attention item in tests.
|
|
6
|
-
*/
|
|
7
|
-
export declare class SkyNeedsAttentionItemHarness extends SkyComponentHarness {
|
|
8
|
-
/**
|
|
9
|
-
* @internal
|
|
10
|
-
*/
|
|
11
|
-
static hostSelector: string;
|
|
12
|
-
/**
|
|
13
|
-
* Gets a `HarnessPredicate` that can be used to search for a
|
|
14
|
-
* `SkyNeedsAttentionItemHarness` that meets certain criteria.
|
|
15
|
-
*/
|
|
16
|
-
static with(filters: SkyNeedsAttentionItemHarnessFilters): HarnessPredicate<SkyNeedsAttentionItemHarness>;
|
|
17
|
-
/**
|
|
18
|
-
* Gets the text content of the item.
|
|
19
|
-
*/
|
|
20
|
-
getText(): Promise<string>;
|
|
21
|
-
/**
|
|
22
|
-
* Clicks the item.
|
|
23
|
-
*/
|
|
24
|
-
click(): Promise<void>;
|
|
25
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
-
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
3
|
-
import { SkyPageLayoutType } from '@skyux/pages';
|
|
4
|
-
import { SkyPageHeaderHarness } from '../page-header/page-header-harness';
|
|
5
|
-
import { SkyPageHeaderHarnessFilters } from '../page-header/page-header-harness-filters';
|
|
6
|
-
import { SkyPageHarnessFilters } from './page-harness-filters';
|
|
7
|
-
/**
|
|
8
|
-
* Harness for interacting with a page component in tests.
|
|
9
|
-
*/
|
|
10
|
-
export declare class SkyPageHarness extends SkyComponentHarness {
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
static hostSelector: string;
|
|
15
|
-
/**
|
|
16
|
-
* Gets a `HarnessPredicate` that can be used to search for a
|
|
17
|
-
* `SkyPageHarness` that meets certain criteria.
|
|
18
|
-
*/
|
|
19
|
-
static with(filters: SkyPageHarnessFilters): HarnessPredicate<SkyPageHarness>;
|
|
20
|
-
/**
|
|
21
|
-
* Gets the current layout.
|
|
22
|
-
*/
|
|
23
|
-
getLayout(): Promise<SkyPageLayoutType>;
|
|
24
|
-
/**
|
|
25
|
-
* Gets the first page header that matches the given filters.
|
|
26
|
-
* @param filters filters for which page header to return
|
|
27
|
-
*/
|
|
28
|
-
getPageHeader(filters?: SkyPageHeaderHarnessFilters): Promise<SkyPageHeaderHarness>;
|
|
29
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
-
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
3
|
-
import { SkyPageHeaderHarnessFilters } from './page-header-harness-filters';
|
|
4
|
-
/**
|
|
5
|
-
* Harness for interacting with a page header component in tests.
|
|
6
|
-
*/
|
|
7
|
-
export declare class SkyPageHeaderHarness extends SkyComponentHarness {
|
|
8
|
-
#private;
|
|
9
|
-
/**
|
|
10
|
-
* @internal
|
|
11
|
-
*/
|
|
12
|
-
static hostSelector: string;
|
|
13
|
-
/**
|
|
14
|
-
* Gets a `HarnessPredicate` that can be used to search for a
|
|
15
|
-
* `SkyPageHeaderHarness` that meets certain criteria.
|
|
16
|
-
*/
|
|
17
|
-
static with(filters: SkyPageHeaderHarnessFilters): HarnessPredicate<SkyPageHeaderHarness>;
|
|
18
|
-
/**
|
|
19
|
-
* Gets the current page title.
|
|
20
|
-
*/
|
|
21
|
-
getPageTitle(): Promise<string | undefined>;
|
|
22
|
-
/**
|
|
23
|
-
* Gets the current page title.
|
|
24
|
-
*/
|
|
25
|
-
getParentLinkText(): Promise<string>;
|
|
26
|
-
}
|
package/testing/public-api.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export { SkyActionHubHarness } from './modules/action-hub/action-hub-harness';
|
|
2
|
-
export { SkyActionHubHarnessFilters } from './modules/action-hub/action-hub-harness-filters';
|
|
3
|
-
export { SkyLinkListHarness } from './modules/link-list/link-list-harness';
|
|
4
|
-
export { SkyLinkListHarnessFilters } from './modules/link-list/link-list-harness-filters';
|
|
5
|
-
export { SkyLinkListItemHarness } from './modules/link-list/link-list-item-harness';
|
|
6
|
-
export { SkyLinkListItemHarnessFilters } from './modules/link-list/link-list-item-harness-filters';
|
|
7
|
-
export { SkyNeedsAttentionHarness } from './modules/needs-attention/needs-attention-harness';
|
|
8
|
-
export { SkyNeedsAttentionHarnessFilters } from './modules/needs-attention/needs-attention-harness-filters';
|
|
9
|
-
export { SkyNeedsAttentionItemHarness } from './modules/needs-attention/needs-attention-item-harness';
|
|
10
|
-
export { SkyNeedsAttentionItemHarnessFilters } from './modules/needs-attention/needs-attention-item-harness-filters';
|
|
11
|
-
export { SkyPageHeaderHarness } from './modules/page-header/page-header-harness';
|
|
12
|
-
export { SkyPageHeaderHarnessFilters } from './modules/page-header/page-header-harness-filters';
|
|
13
|
-
export { SkyPageHarness } from './modules/page/page-harness';
|
|
14
|
-
export { SkyPageHarnessFilters } from './modules/page/page-harness-filters';
|