@skyux/lists 12.27.0 → 13.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/fesm2022/skyux-lists-testing.mjs +16 -16
  2. package/fesm2022/skyux-lists-testing.mjs.map +1 -1
  3. package/fesm2022/skyux-lists.mjs +88 -88
  4. package/fesm2022/skyux-lists.mjs.map +1 -1
  5. package/index.d.ts +627 -22
  6. package/package.json +15 -15
  7. package/testing/index.d.ts +640 -3
  8. package/lib/modules/filter/filter-button.component.d.ts +0 -59
  9. package/lib/modules/filter/filter-inline-item.component.d.ts +0 -8
  10. package/lib/modules/filter/filter-inline.component.d.ts +0 -8
  11. package/lib/modules/filter/filter-summary-item.component.d.ts +0 -27
  12. package/lib/modules/filter/filter-summary.component.d.ts +0 -8
  13. package/lib/modules/filter/filter.module.d.ts +0 -16
  14. package/lib/modules/infinite-scroll/infinite-scroll-dom-adapter.service.d.ts +0 -26
  15. package/lib/modules/infinite-scroll/infinite-scroll.component.d.ts +0 -37
  16. package/lib/modules/infinite-scroll/infinite-scroll.module.d.ts +0 -9
  17. package/lib/modules/paging/paging-content.component.d.ts +0 -5
  18. package/lib/modules/paging/paging.component.d.ts +0 -55
  19. package/lib/modules/paging/paging.module.d.ts +0 -13
  20. package/lib/modules/paging/types/paging-content-change-args.d.ts +0 -13
  21. package/lib/modules/repeater/repeater-adapter.service.d.ts +0 -17
  22. package/lib/modules/repeater/repeater-auto-scroll-options.d.ts +0 -9
  23. package/lib/modules/repeater/repeater-auto-scroll.service.d.ts +0 -11
  24. package/lib/modules/repeater/repeater-auto-scroller.d.ts +0 -6
  25. package/lib/modules/repeater/repeater-expand-mode-type.d.ts +0 -1
  26. package/lib/modules/repeater/repeater-item-content.component.d.ts +0 -8
  27. package/lib/modules/repeater/repeater-item-context-menu.component.d.ts +0 -9
  28. package/lib/modules/repeater/repeater-item-roles.type.d.ts +0 -5
  29. package/lib/modules/repeater/repeater-item-title.component.d.ts +0 -8
  30. package/lib/modules/repeater/repeater-item.component.d.ts +0 -134
  31. package/lib/modules/repeater/repeater-role.type.d.ts +0 -1
  32. package/lib/modules/repeater/repeater.component.d.ts +0 -74
  33. package/lib/modules/repeater/repeater.module.d.ts +0 -20
  34. package/lib/modules/repeater/repeater.service.d.ts +0 -32
  35. package/lib/modules/shared/sky-lists-resources.module.d.ts +0 -10
  36. package/lib/modules/sort/sort-item.component.d.ts +0 -24
  37. package/lib/modules/sort/sort-menu-heading.component.d.ts +0 -5
  38. package/lib/modules/sort/sort.component.d.ts +0 -29
  39. package/lib/modules/sort/sort.module.d.ts +0 -15
  40. package/lib/modules/sort/sort.service.d.ts +0 -11
  41. package/testing/legacy/filter/filter-fixture-button.d.ts +0 -21
  42. package/testing/legacy/filter/filter-fixture-summary.d.ts +0 -12
  43. package/testing/legacy/filter/filter-testing.module.d.ts +0 -10
  44. package/testing/legacy/filter/lists-filter-fixture-button.d.ts +0 -6
  45. package/testing/legacy/infinite-scroll/infinite-scroll-fixture.d.ts +0 -14
  46. package/testing/legacy/infinite-scroll/infinite-scroll-testing.module.d.ts +0 -10
  47. package/testing/legacy/paging/paging-fixture-button.d.ts +0 -8
  48. package/testing/legacy/paging/paging-fixture.d.ts +0 -32
  49. package/testing/legacy/paging/paging-testing.module.d.ts +0 -10
  50. package/testing/legacy/sort/sort-fixture-menu-item.d.ts +0 -8
  51. package/testing/legacy/sort/sort-fixture-menu.d.ts +0 -7
  52. package/testing/legacy/sort/sort-fixture.d.ts +0 -46
  53. package/testing/legacy/sort/sort-testing.module.d.ts +0 -11
  54. package/testing/modules/filter/filter-button-harness-filters.d.ts +0 -6
  55. package/testing/modules/filter/filter-button-harness.d.ts +0 -50
  56. package/testing/modules/filter/filter-inline-harness-filters.d.ts +0 -6
  57. package/testing/modules/filter/filter-inline-harness.d.ts +0 -27
  58. package/testing/modules/filter/filter-inline-item-harness-filters.d.ts +0 -6
  59. package/testing/modules/filter/filter-inline-item-harness.d.ts +0 -17
  60. package/testing/modules/filter/filter-summary-harness-filters.d.ts +0 -6
  61. package/testing/modules/filter/filter-summary-harness.d.ts +0 -27
  62. package/testing/modules/filter/filter-summary-item-harness-filters.d.ts +0 -6
  63. package/testing/modules/filter/filter-summary-item-harness.d.ts +0 -30
  64. package/testing/modules/infinite-scroll/infinite-scroll-harness-filters.d.ts +0 -6
  65. package/testing/modules/infinite-scroll/infinite-scroll-harness.d.ts +0 -30
  66. package/testing/modules/paging/page-control-harness-filters.d.ts +0 -11
  67. package/testing/modules/paging/page-control-harness.d.ts +0 -22
  68. package/testing/modules/paging/paging-content-harness.d.ts +0 -10
  69. package/testing/modules/paging/paging-harness-filters.d.ts +0 -6
  70. package/testing/modules/paging/paging-harness.d.ts +0 -40
  71. package/testing/modules/repeater/repeater-harness-filters.d.ts +0 -6
  72. package/testing/modules/repeater/repeater-harness.d.ts +0 -23
  73. package/testing/modules/repeater/repeater-item-harness-filters.d.ts +0 -14
  74. package/testing/modules/repeater/repeater-item-harness.d.ts +0 -70
  75. package/testing/modules/sort/sort-harness-filters.d.ts +0 -6
  76. package/testing/modules/sort/sort-harness.d.ts +0 -40
  77. package/testing/modules/sort/sort-item-harness-filters.d.ts +0 -10
  78. package/testing/modules/sort/sort-item-harness.d.ts +0 -31
  79. package/testing/public-api.d.ts +0 -35
@@ -1,32 +0,0 @@
1
- import { EventEmitter, OnDestroy } from '@angular/core';
2
- import { BehaviorSubject } from 'rxjs';
3
- import { SkyRepeaterExpandModeType } from './repeater-expand-mode-type';
4
- import { SkyRepeaterItemRolesType } from './repeater-item-roles.type';
5
- import { SkyRepeaterItemComponent } from './repeater-item.component';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * @internal
9
- */
10
- export declare class SkyRepeaterService implements OnDestroy {
11
- #private;
12
- activeItemChange: BehaviorSubject<SkyRepeaterItemComponent | undefined>;
13
- activeItemIndexChange: BehaviorSubject<number | undefined>;
14
- enableActiveState: boolean;
15
- get expandMode(): SkyRepeaterExpandModeType;
16
- set expandMode(value: SkyRepeaterExpandModeType | undefined);
17
- itemCollapseStateChange: EventEmitter<SkyRepeaterItemComponent>;
18
- items: SkyRepeaterItemComponent[];
19
- readonly itemRole: BehaviorSubject<SkyRepeaterItemRolesType>;
20
- orderChange: BehaviorSubject<void>;
21
- repeaterGroupId: number;
22
- ngOnDestroy(): void;
23
- activateItem(item: SkyRepeaterItemComponent): void;
24
- activateItemByIndex(index: number | undefined): void;
25
- registerItem(item: SkyRepeaterItemComponent): void;
26
- unregisterItem(item: SkyRepeaterItemComponent): void;
27
- onItemCollapseStateChange(item: SkyRepeaterItemComponent): void;
28
- registerOrderChange(): void;
29
- reorderItem(oldIndex: number, newIndex: number): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyRepeaterService, never>;
31
- static ɵprov: i0.ɵɵInjectableDeclaration<SkyRepeaterService>;
32
- }
@@ -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 SkyListsResourcesModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyListsResourcesModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyListsResourcesModule, never, never, [typeof i1.SkyI18nModule]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<SkyListsResourcesModule>;
10
- }
@@ -1,24 +0,0 @@
1
- import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2
- import { BehaviorSubject } from 'rxjs';
3
- import { SkySortService } from './sort.service';
4
- import * as i0 from "@angular/core";
5
- export declare class SkySortItemComponent implements OnInit, OnChanges, OnDestroy {
6
- #private;
7
- /**
8
- * Whether the sorting option is active.
9
- */
10
- active: boolean | undefined;
11
- /**
12
- * Fires when a sort item is selected.
13
- */
14
- itemSelect: EventEmitter<any>;
15
- isSelected: BehaviorSubject<boolean>;
16
- itemTemplate?: TemplateRef<any> | null;
17
- constructor(sortService: SkySortService, detector: ChangeDetectorRef);
18
- ngOnInit(): void;
19
- ngOnChanges(changes: SimpleChanges): void;
20
- itemClicked(): void;
21
- ngOnDestroy(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<SkySortItemComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<SkySortItemComponent, "sky-sort-item", never, { "active": { "alias": "active"; "required": false; }; }, { "itemSelect": "itemSelect"; }, never, ["*"], false, never>;
24
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class SkySortMenuHeadingComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<SkySortMenuHeadingComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<SkySortMenuHeadingComponent, "sky-sort-menu-heading", never, {}, {}, never, never, false, never>;
5
- }
@@ -1,29 +0,0 @@
1
- import { QueryList } from '@angular/core';
2
- import { SkyContentInfo } from '@skyux/core';
3
- import { SkyDropdownMessage } from '@skyux/popovers';
4
- import { Observable, Subject } from 'rxjs';
5
- import { SkySortItemComponent } from './sort-item.component';
6
- import * as i0 from "@angular/core";
7
- export declare class SkySortComponent {
8
- #private;
9
- /**
10
- * The ARIA label for the sort button. This sets the
11
- * sort button's `aria-label` attribute to provide a text equivalent for screen readers
12
- * [to support accessibility](https://developer.blackbaud.com/skyux/learn/accessibility).
13
- * Use a context-sensitive label, such as "Sort constituents." Context is especially important when multiple filter buttons are in close proximity.
14
- * In toolbars, sort buttons use the `listDescriptor` to provide context, and the ARIA label defaults to "Sort <listDescriptor>."
15
- * For more information about the `aria-label` attribute, see the [WAI-ARIA definition](https://www.w3.org/TR/wai-aria/#aria-label).
16
- */
17
- ariaLabel: string | undefined;
18
- /**
19
- * Whether to display a "Sort" label beside the icon on the sort button.
20
- */
21
- showButtonText: boolean | undefined;
22
- dropdownController: Subject<SkyDropdownMessage>;
23
- sortItems: QueryList<SkySortItemComponent>;
24
- protected contentInfoObs: Observable<SkyContentInfo> | undefined;
25
- constructor();
26
- dropdownClicked(): void;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<SkySortComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<SkySortComponent, "sky-sort", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "showButtonText": { "alias": "showButtonText"; "required": false; }; }, {}, ["sortItems"], never, false, never>;
29
- }
@@ -1,15 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./sort.component";
3
- import * as i2 from "./sort-item.component";
4
- import * as i3 from "./sort-menu-heading.component";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@skyux/popovers";
7
- import * as i6 from "@skyux/icon";
8
- import * as i7 from "@skyux/core";
9
- import * as i8 from "../shared/sky-lists-resources.module";
10
- import * as i9 from "@skyux/theme";
11
- export declare class SkySortModule {
12
- static ɵfac: i0.ɵɵFactoryDeclaration<SkySortModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkySortModule, [typeof i1.SkySortComponent, typeof i2.SkySortItemComponent, typeof i3.SkySortMenuHeadingComponent], [typeof i4.CommonModule, typeof i5.SkyDropdownModule, typeof i6.SkyIconModule, typeof i7.SkyIdModule, typeof i8.SkyListsResourcesModule, typeof i9.SkyThemeModule], [typeof i1.SkySortComponent, typeof i2.SkySortItemComponent]>;
14
- static ɵinj: i0.ɵɵInjectorDeclaration<SkySortModule>;
15
- }
@@ -1,11 +0,0 @@
1
- import { BehaviorSubject } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @internal
5
- */
6
- export declare class SkySortService {
7
- selectedItem: BehaviorSubject<string>;
8
- selectItem(sortItem: string): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<SkySortService, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<SkySortService>;
11
- }
@@ -1,21 +0,0 @@
1
- import { ComponentFixture } from '@angular/core/testing';
2
- import { SkyListsFilterFixtureButton } from './lists-filter-fixture-button';
3
- /**
4
- * Provides information for and interaction with a SKY UX filter button component.
5
- * By using the fixture API, a test insulates itself against updates to the internals
6
- * of a component, such as changing its DOM structure.
7
- * @internal
8
- */
9
- export declare class SkyFilterFixtureButton {
10
- #private;
11
- constructor(fixture: ComponentFixture<unknown>, skyTestId: string);
12
- /**
13
- * Click the button to apply the filter.
14
- */
15
- clickFilterButton(): Promise<void>;
16
- get button(): SkyListsFilterFixtureButton;
17
- /**
18
- * Get the button text.
19
- */
20
- get buttonText(): string;
21
- }
@@ -1,12 +0,0 @@
1
- import { ComponentFixture } from '@angular/core/testing';
2
- /**
3
- * Provides information for and interaction with a SKY UX filter summary component.
4
- * By using the fixture API, a test insulates itself against updates to the internals
5
- * of a component, such as changing its DOM structure.
6
- * @internal
7
- */
8
- export declare class SkyFilterFixtureSummary {
9
- #private;
10
- constructor(fixture: ComponentFixture<unknown>, skyTestId: string);
11
- filterCloseClick(index: number): Promise<void>;
12
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@skyux/lists";
3
- /**
4
- * @internal
5
- */
6
- export declare class SkyFilterTestingModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyFilterTestingModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyFilterTestingModule, never, never, [typeof i1.SkyFilterModule]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<SkyFilterTestingModule>;
10
- }
@@ -1,6 +0,0 @@
1
- export type SkyListsFilterFixtureButton = {
2
- ariaControls: string | undefined;
3
- ariaExpanded: boolean;
4
- disabled: boolean;
5
- id: string | undefined;
6
- };
@@ -1,14 +0,0 @@
1
- import { ComponentFixture } from '@angular/core/testing';
2
- /**
3
- * Provides information for and interaction with a SKY UX infinite scroll component.
4
- * By using the fixture API, a test insulates itself against updates to the internals
5
- * of a component, such as changing its DOM structure.
6
- * @deprecated Use `SkyInfiniteScrollHarness` instead.
7
- * @internal
8
- */
9
- export declare class SkyInfiniteScrollFixture {
10
- #private;
11
- constructor(fixture: ComponentFixture<unknown>, skyTestId: string);
12
- get loadMoreButtonIsVisible(): boolean;
13
- clickLoadMoreButton(): Promise<void>;
14
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@skyux/lists";
3
- /**
4
- * @internal
5
- */
6
- export declare class SkyInfiniteScrollTestingModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyInfiniteScrollTestingModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyInfiniteScrollTestingModule, never, never, [typeof i1.SkyInfiniteScrollModule]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<SkyInfiniteScrollTestingModule>;
10
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * @internal
3
- */
4
- export interface SkyPagingFixtureButton {
5
- id: string;
6
- isActive: boolean;
7
- isEnabled: boolean;
8
- }
@@ -1,32 +0,0 @@
1
- import { ComponentFixture } from '@angular/core/testing';
2
- import { SkyPagingFixtureButton } from './paging-fixture-button';
3
- /**
4
- * Provides information for and interaction with a SKY UX paging component.
5
- * By using the fixture API, a test insulates itself against updates to the internals
6
- * of a component, such as changing its DOM structure.
7
- * @internal
8
- */
9
- export declare class SkyPagingFixture {
10
- #private;
11
- /**
12
- * The id of the active page, if available.
13
- */
14
- get activePageId(): string;
15
- /**
16
- * Properties of the page links displayed in the paging component.
17
- */
18
- get pageLinks(): SkyPagingFixtureButton[];
19
- constructor(fixture: ComponentFixture<unknown>, skyTestId: string);
20
- /**
21
- * Selects the specified page by id, if it is enabled.
22
- */
23
- selectPage(id: string | number): Promise<void>;
24
- /**
25
- * Clicks the next page button, if it is enabled.
26
- */
27
- selectNextPage(): Promise<void>;
28
- /**
29
- * Clicks the previous page button, if it is enabled.
30
- */
31
- selectPreviousPage(): Promise<void>;
32
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@skyux/lists";
3
- /**
4
- * @internal
5
- */
6
- export declare class SkyPagingTestingModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyPagingTestingModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyPagingTestingModule, never, never, [typeof i1.SkyPagingModule]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<SkyPagingTestingModule>;
10
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * @internal
3
- */
4
- export interface SkySortFixtureMenuItem {
5
- index: number;
6
- isActive: boolean;
7
- text?: string;
8
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * @internal
3
- */
4
- export interface SkySortFixtureMenu {
5
- buttonText: string;
6
- isOpen: boolean;
7
- }
@@ -1,46 +0,0 @@
1
- import { ComponentFixture } from '@angular/core/testing';
2
- import { SkySortFixtureMenu } from './sort-fixture-menu';
3
- import { SkySortFixtureMenuItem } from './sort-fixture-menu-item';
4
- /**
5
- * Provides information for and interaction with a SKY UX sort component.
6
- * By using the fixture API, a test insulates itself against updates to the internals
7
- * of a component, such as changing its DOM structure.
8
- * @internal
9
- */
10
- export declare class SkySortFixture {
11
- #private;
12
- /**
13
- * The active sort menu item, if one exists. Menu items are only available when the menu dropdown
14
- * is open. If the menu dropdown is closed, this property will be undefined.
15
- */
16
- get activeMenuItem(): SkySortFixtureMenuItem | undefined;
17
- /**
18
- * The sort menu's properties.
19
- */
20
- get menu(): SkySortFixtureMenu;
21
- /**
22
- * The properties of each sort menu item. Menu items are only available when the menu dropdown
23
- * is open. If the menu dropdown is closed, this property will be undefined.
24
- */
25
- get menuItems(): SkySortFixtureMenuItem[] | undefined;
26
- constructor(fixture: ComponentFixture<unknown>, skyTestId: string);
27
- /**
28
- * Closes the sort dropdown menu if it isn't closed already.
29
- */
30
- closeMenu(): Promise<void>;
31
- /**
32
- * Opens the sort dropdown menu if it isn't open already.
33
- */
34
- openMenu(): Promise<void>;
35
- /**
36
- * Ensures the sort menu is open and selects the menu item with the specified index, if it exists.
37
- * @param menuItemIndex The index of the menu item to select.
38
- */
39
- selectMenuItemByIndex(menuItemIndex: number): Promise<void>;
40
- /**
41
- * Ensures the sort menu is open and selects the menu item with the specified text,
42
- * if a matching item is available.
43
- * @param menuItemText The text of the menu item to select.
44
- */
45
- selectMenuItemByText(menuItemText: string | undefined): Promise<void>;
46
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/platform-browser/animations";
3
- import * as i2 from "@skyux/lists";
4
- /**
5
- * @internal
6
- */
7
- export declare class SkySortTestingModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SkySortTestingModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkySortTestingModule, never, [typeof i1.NoopAnimationsModule], [typeof i2.SkySortModule]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<SkySortTestingModule>;
11
- }
@@ -1,6 +0,0 @@
1
- import { SkyHarnessFilters } from '@skyux/core/testing';
2
- /**
3
- * A set of criteria that can be used to filter a list of `SkyFilterButtonHarness` instances.
4
- */
5
- export interface SkyFilterButtonHarnessFilters extends SkyHarnessFilters {
6
- }
@@ -1,50 +0,0 @@
1
- import { HarnessPredicate } from '@angular/cdk/testing';
2
- import { SkyComponentHarness } from '@skyux/core/testing';
3
- import { SkyFilterButtonHarnessFilters } from './filter-button-harness-filters';
4
- /**
5
- * Harness for interacting with a filter button component in tests.
6
- */
7
- export declare class SkyFilterButtonHarness 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
- * `SkyFilterButtonHarness` that meets certain criteria.
16
- */
17
- static with(filters: SkyFilterButtonHarnessFilters): HarnessPredicate<SkyFilterButtonHarness>;
18
- /**
19
- * Clicks the filter button.
20
- */
21
- clickFilterButton(): Promise<void>;
22
- /**
23
- * Gets the filter button's aria-controls attribute.
24
- */
25
- getAriaControls(): Promise<string | null>;
26
- /**
27
- * Gets the filter button's aria-expanded attribute.
28
- */
29
- getAriaExpanded(): Promise<boolean>;
30
- /**
31
- * Gets the filter button's aria-label.
32
- */
33
- getAriaLabel(): Promise<string | null>;
34
- /**
35
- * Gets the filter button's id.
36
- */
37
- getButtonId(): Promise<string | null>;
38
- /**
39
- * Gets the text that appears on the filter button.
40
- */
41
- getButtonText(): Promise<string>;
42
- /**
43
- * Whether the filter button is active.
44
- */
45
- isActive(): Promise<boolean>;
46
- /**
47
- * Whether the filter button is disabled.
48
- */
49
- isDisabled(): Promise<boolean>;
50
- }
@@ -1,6 +0,0 @@
1
- import { SkyHarnessFilters } from '@skyux/core/testing';
2
- /**
3
- * A set of criteria that can be used to filter a list of `SkyFilterInlineHarness` instances.
4
- */
5
- export interface SkyFilterInlineHarnessFilters extends SkyHarnessFilters {
6
- }
@@ -1,27 +0,0 @@
1
- import { HarnessPredicate } from '@angular/cdk/testing';
2
- import { SkyComponentHarness } from '@skyux/core/testing';
3
- import { SkyFilterInlineHarnessFilters } from './filter-inline-harness-filters';
4
- import { SkyFilterInlineItemHarness } from './filter-inline-item-harness';
5
- import { SkyFilterInlineItemHarnessFilters } from './filter-inline-item-harness-filters';
6
- /**
7
- * Harness to interact with a filter inline component in tests.
8
- */
9
- export declare class SkyFilterInlineHarness extends SkyComponentHarness {
10
- /**
11
- * @internal
12
- */
13
- static hostSelector: string;
14
- /**
15
- * Gets a `HarnessPredicate` that can be used to search for a
16
- * `SkyFilterInlineHarness` that meets certain criteria.
17
- */
18
- static with(filters: SkyFilterInlineHarnessFilters): HarnessPredicate<SkyFilterInlineHarness>;
19
- /**
20
- * Gets a harness for a specific toolbar item that meets certain criteria.
21
- */
22
- getItem(filter: SkyFilterInlineItemHarnessFilters): Promise<SkyFilterInlineItemHarness>;
23
- /**
24
- * Gets an array of all toolbar items.
25
- */
26
- getItems(filters?: SkyFilterInlineItemHarnessFilters): Promise<SkyFilterInlineItemHarness[]>;
27
- }
@@ -1,6 +0,0 @@
1
- import { SkyHarnessFilters } from '@skyux/core/testing';
2
- /**
3
- * A set of criteria that can be used to filter a list of `SkyFilterInlineItemHarness` instances.
4
- */
5
- export interface SkyFilterInlineItemHarnessFilters extends SkyHarnessFilters {
6
- }
@@ -1,17 +0,0 @@
1
- import { HarnessPredicate } from '@angular/cdk/testing';
2
- import { SkyQueryableComponentHarness } from '@skyux/core/testing';
3
- import { SkyFilterInlineItemHarnessFilters } from './filter-inline-item-harness-filters';
4
- /**
5
- * Harness to interact with a filter inline item component in tests.
6
- */
7
- export declare class SkyFilterInlineItemHarness extends SkyQueryableComponentHarness {
8
- /**
9
- * @internal
10
- */
11
- static hostSelector: string;
12
- /**
13
- * Gets a `HarnessPredicate` that can be used to search for a
14
- * `SkyFilterInlineItemHarness` that meets certain criteria.
15
- */
16
- static with(filters: SkyFilterInlineItemHarnessFilters): HarnessPredicate<SkyFilterInlineItemHarness>;
17
- }
@@ -1,6 +0,0 @@
1
- import { SkyHarnessFilters } from '@skyux/core/testing';
2
- /**
3
- * A set of criteria that can be used to filter a list of `SkyFilterSummaryHarness` instances.
4
- */
5
- export interface SkyFilterSummaryHarnessFilters extends SkyHarnessFilters {
6
- }
@@ -1,27 +0,0 @@
1
- import { HarnessPredicate } from '@angular/cdk/testing';
2
- import { SkyComponentHarness } from '@skyux/core/testing';
3
- import { SkyFilterSummaryHarnessFilters } from './filter-summary-harness-filters';
4
- import { SkyFilterSummaryItemHarness } from './filter-summary-item-harness';
5
- import { SkyFilterSummaryItemHarnessFilters } from './filter-summary-item-harness-filters';
6
- /**
7
- * Harness to interact with a filter summary component in tests.
8
- */
9
- export declare class SkyFilterSummaryHarness extends SkyComponentHarness {
10
- /**
11
- * @internal
12
- */
13
- static hostSelector: string;
14
- /**
15
- * Gets a `HarnessPredicate` that can be used to search for a
16
- * `SkyFilterSummaryHarness` that meets certain criteria.
17
- */
18
- static with(filters: SkyFilterSummaryHarnessFilters): HarnessPredicate<SkyFilterSummaryHarness>;
19
- /**
20
- * Gets a harness for a specific toolbar item that meets certain criteria.
21
- */
22
- getItem(filter: SkyFilterSummaryItemHarnessFilters): Promise<SkyFilterSummaryItemHarness>;
23
- /**
24
- * Gets an array of all toolbar items.
25
- */
26
- getItems(filters?: SkyFilterSummaryItemHarnessFilters): Promise<SkyFilterSummaryItemHarness[]>;
27
- }
@@ -1,6 +0,0 @@
1
- import { SkyHarnessFilters } from '@skyux/core/testing';
2
- /**
3
- * A set of criteria that can be used to filter a list of `SkyFilterSummaryItemHarness` instances.
4
- */
5
- export interface SkyFilterSummaryItemHarnessFilters extends SkyHarnessFilters {
6
- }
@@ -1,30 +0,0 @@
1
- import { HarnessPredicate } from '@angular/cdk/testing';
2
- import { SkyComponentHarness } from '@skyux/core/testing';
3
- import { SkyFilterSummaryItemHarnessFilters } from './filter-summary-item-harness-filters';
4
- /**
5
- * Harness to interact with a filter summary item component in tests.
6
- */
7
- export declare class SkyFilterSummaryItemHarness 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
- * `SkyFilterSummaryItemHarness` that meets certain criteria.
16
- */
17
- static with(filters: SkyFilterSummaryItemHarnessFilters): HarnessPredicate<SkyFilterSummaryItemHarness>;
18
- /**
19
- * Clicks the filter summary item.
20
- */
21
- clickItem(): Promise<void>;
22
- /**
23
- * Dismisses the filter summary item.
24
- */
25
- dismiss(): Promise<void>;
26
- /**
27
- * Whether the filter summary item is dismissible.
28
- */
29
- isDismissible(): Promise<boolean>;
30
- }
@@ -1,6 +0,0 @@
1
- import { SkyHarnessFilters } from '@skyux/core/testing';
2
- /**
3
- * A set of criteria that can be used to filter a list of `SkyInfiniteScrollHarness` instances.
4
- */
5
- export interface SkyInfiniteScrollHarnessFilters extends SkyHarnessFilters {
6
- }
@@ -1,30 +0,0 @@
1
- import { HarnessPredicate } from '@angular/cdk/testing';
2
- import { SkyComponentHarness } from '@skyux/core/testing';
3
- import { SkyInfiniteScrollHarnessFilters } from './infinite-scroll-harness-filters';
4
- /**
5
- * Harness for interacting with an infinite scroll component in tests.
6
- */
7
- export declare class SkyInfiniteScrollHarness 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
- * `SkyInfiniteScrollHarness` that meets certain criteria.
16
- */
17
- static with(filters: SkyInfiniteScrollHarnessFilters): HarnessPredicate<SkyInfiniteScrollHarness>;
18
- /**
19
- * Whether the infinite scroll is enabled.
20
- */
21
- isEnabled(): Promise<boolean>;
22
- /**
23
- * Whether the infinite scroll is loading.
24
- */
25
- isLoading(): Promise<boolean>;
26
- /**
27
- * Clicks the "Load more" button.
28
- */
29
- loadMore(): Promise<void>;
30
- }
@@ -1,11 +0,0 @@
1
- import { BaseHarnessFilters } from '@angular/cdk/testing';
2
- /**
3
- * A set of criteria that can be used to filter a list of `SkyFileItemHarness` instances.
4
- * @internal
5
- */
6
- export interface SkyPageControlHarnessFilters extends BaseHarnessFilters {
7
- /**
8
- * Finds files whose file name matches this value.
9
- */
10
- pageNumber: number;
11
- }
@@ -1,22 +0,0 @@
1
- import { ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
2
- import { SkyPageControlHarnessFilters } from './page-control-harness-filters';
3
- /**
4
- * Harness to interact with a page control element in tests.
5
- * @internal
6
- */
7
- export declare class SkyPageControlHarness extends ComponentHarness {
8
- #private;
9
- /**
10
- * @internal
11
- */
12
- static hostSelector: string;
13
- static with(filters: SkyPageControlHarnessFilters): HarnessPredicate<SkyPageControlHarness>;
14
- /**
15
- * Clicks the page button.
16
- */
17
- clickButton(): Promise<void>;
18
- /**
19
- * Gets the page button text.
20
- */
21
- getText(): Promise<string>;
22
- }
@@ -1,10 +0,0 @@
1
- import { SkyQueryableComponentHarness } from '@skyux/core/testing';
2
- /**
3
- * Harness to interact with a paging content component in tests.
4
- */
5
- export declare class SkyPagingContentHarness extends SkyQueryableComponentHarness {
6
- /**
7
- * @internal
8
- */
9
- static hostSelector: string;
10
- }
@@ -1,6 +0,0 @@
1
- import { SkyHarnessFilters } from '@skyux/core/testing';
2
- /**
3
- * A set of criteria that can be used to filter a list of `SkyPagingHarness` instances.
4
- */
5
- export interface SkyPagingHarnessFilters extends SkyHarnessFilters {
6
- }