@skyux/lists 12.42.0 → 12.44.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.
@@ -98,11 +98,11 @@ class SkyFilterFixtureSummary {
98
98
  * @internal
99
99
  */
100
100
  class SkyFilterTestingModule {
101
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SkyFilterTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
102
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: SkyFilterTestingModule, exports: [SkyFilterModule] }); }
103
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SkyFilterTestingModule, imports: [SkyFilterModule] }); }
101
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SkyFilterTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
102
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: SkyFilterTestingModule, exports: [SkyFilterModule] }); }
103
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SkyFilterTestingModule, imports: [SkyFilterModule] }); }
104
104
  }
105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SkyFilterTestingModule, decorators: [{
105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SkyFilterTestingModule, decorators: [{
106
106
  type: NgModule,
107
107
  args: [{
108
108
  exports: [SkyFilterModule],
@@ -401,11 +401,11 @@ class SkyPagingFixture {
401
401
  * @internal
402
402
  */
403
403
  class SkyPagingTestingModule {
404
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SkyPagingTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
405
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: SkyPagingTestingModule, exports: [SkyPagingModule] }); }
406
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SkyPagingTestingModule, imports: [SkyPagingModule] }); }
404
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SkyPagingTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
405
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: SkyPagingTestingModule, exports: [SkyPagingModule] }); }
406
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SkyPagingTestingModule, imports: [SkyPagingModule] }); }
407
407
  }
408
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SkyPagingTestingModule, decorators: [{
408
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SkyPagingTestingModule, decorators: [{
409
409
  type: NgModule,
410
410
  args: [{
411
411
  exports: [SkyPagingModule],
@@ -896,11 +896,11 @@ class SkySortFixture {
896
896
  * @internal
897
897
  */
898
898
  class SkySortTestingModule {
899
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SkySortTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
900
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: SkySortTestingModule, imports: [NoopAnimationsModule], exports: [SkySortModule] }); }
901
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SkySortTestingModule, imports: [NoopAnimationsModule, SkySortModule] }); }
899
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SkySortTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
900
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: SkySortTestingModule, imports: [NoopAnimationsModule], exports: [SkySortModule] }); }
901
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SkySortTestingModule, imports: [NoopAnimationsModule, SkySortModule] }); }
902
902
  }
903
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SkySortTestingModule, decorators: [{
903
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SkySortTestingModule, decorators: [{
904
904
  type: NgModule,
905
905
  args: [{
906
906
  imports: [NoopAnimationsModule],
@@ -1051,11 +1051,11 @@ class SkyInfiniteScrollFixture {
1051
1051
  * @internal
1052
1052
  */
1053
1053
  class SkyInfiniteScrollTestingModule {
1054
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SkyInfiniteScrollTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1055
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: SkyInfiniteScrollTestingModule, exports: [SkyInfiniteScrollModule] }); }
1056
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SkyInfiniteScrollTestingModule, imports: [SkyInfiniteScrollModule] }); }
1054
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SkyInfiniteScrollTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1055
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: SkyInfiniteScrollTestingModule, exports: [SkyInfiniteScrollModule] }); }
1056
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SkyInfiniteScrollTestingModule, imports: [SkyInfiniteScrollModule] }); }
1057
1057
  }
1058
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SkyInfiniteScrollTestingModule, decorators: [{
1058
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SkyInfiniteScrollTestingModule, decorators: [{
1059
1059
  type: NgModule,
1060
1060
  args: [{
1061
1061
  exports: [SkyInfiniteScrollModule],
@@ -1 +1 @@
1
- {"version":3,"file":"skyux-lists-testing.mjs","sources":["../../../../../libs/components/lists/testing/src/legacy/filter/filter-fixture-button.ts","../../../../../libs/components/lists/testing/src/legacy/filter/filter-fixture-summary.ts","../../../../../libs/components/lists/testing/src/legacy/filter/filter-testing.module.ts","../../../../../libs/components/lists/testing/src/modules/filter/filter-button-harness.ts","../../../../../libs/components/lists/testing/src/modules/filter/filter-inline-item-harness.ts","../../../../../libs/components/lists/testing/src/modules/filter/filter-inline-harness.ts","../../../../../libs/components/lists/testing/src/modules/filter/filter-summary-item-harness.ts","../../../../../libs/components/lists/testing/src/modules/filter/filter-summary-harness.ts","../../../../../libs/components/lists/testing/src/legacy/paging/paging-fixture.ts","../../../../../libs/components/lists/testing/src/legacy/paging/paging-testing.module.ts","../../../../../libs/components/lists/testing/src/modules/paging/paging-content-harness.ts","../../../../../libs/components/lists/testing/src/modules/paging/page-control-harness.ts","../../../../../libs/components/lists/testing/src/modules/paging/paging-harness.ts","../../../../../libs/components/lists/testing/src/modules/repeater/repeater-item-context-menu-harness.ts","../../../../../libs/components/lists/testing/src/modules/repeater/repeater-item-harness.ts","../../../../../libs/components/lists/testing/src/modules/repeater/repeater-harness.ts","../../../../../libs/components/lists/testing/src/legacy/sort/sort-fixture.ts","../../../../../libs/components/lists/testing/src/legacy/sort/sort-testing.module.ts","../../../../../libs/components/lists/testing/src/modules/sort/sort-item-harness.ts","../../../../../libs/components/lists/testing/src/modules/sort/sort-harness.ts","../../../../../libs/components/lists/testing/src/legacy/infinite-scroll/infinite-scroll-fixture.ts","../../../../../libs/components/lists/testing/src/legacy/infinite-scroll/infinite-scroll-testing.module.ts","../../../../../libs/components/lists/testing/src/modules/infinite-scroll/infinite-scroll-harness.ts","../../../../../libs/components/lists/testing/src/skyux-lists-testing.ts"],"sourcesContent":["import { DebugElement } from '@angular/core';\nimport { ComponentFixture } from '@angular/core/testing';\nimport { SkyAppTestUtility } from '@skyux-sdk/testing';\n\nimport { SkyListsFilterFixtureButton } from './lists-filter-fixture-button';\n\n/**\n * Provides information for and interaction with a SKY UX filter button component.\n * By using the fixture API, a test insulates itself against updates to the internals\n * of a component, such as changing its DOM structure.\n * @internal\n */\nexport class SkyFilterFixtureButton {\n #debugElement: DebugElement;\n #fixture: ComponentFixture<unknown>;\n\n constructor(fixture: ComponentFixture<unknown>, skyTestId: string) {\n this.#fixture = fixture;\n this.#debugElement = SkyAppTestUtility.getDebugElementByTestId(\n fixture,\n skyTestId,\n 'sky-filter-button',\n );\n }\n\n /**\n * Click the button to apply the filter.\n */\n public async clickFilterButton(): Promise<void> {\n const button = this.#getButtonElement();\n if (button instanceof HTMLButtonElement && !button.disabled) {\n button.click();\n }\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n }\n\n public get button(): SkyListsFilterFixtureButton {\n const buttonElement = this.#getButtonElement();\n return {\n ariaControls: buttonElement?.getAttribute('aria-controls') ?? undefined,\n ariaExpanded: buttonElement?.getAttribute('aria-expanded') === 'true',\n disabled: !!buttonElement?.disabled,\n id: buttonElement?.id,\n };\n }\n /**\n * Get the button text.\n */\n public get buttonText(): string {\n const text = this.#getButtonElement()?.innerText;\n return this.#normalizeText(text);\n }\n\n #getButtonElement(): HTMLButtonElement | null {\n return this.#debugElement.nativeElement.querySelector('.sky-filter-btn');\n }\n\n #normalizeText(text: string | undefined): string {\n let retVal = '';\n if (text) {\n retVal = text?.trim().replace(/\\s+/g, ' ');\n }\n return retVal;\n }\n}\n","import { DebugElement } from '@angular/core';\nimport { ComponentFixture } from '@angular/core/testing';\nimport { SkyAppTestUtility } from '@skyux-sdk/testing';\n\n/**\n * Provides information for and interaction with a SKY UX filter summary component.\n * By using the fixture API, a test insulates itself against updates to the internals\n * of a component, such as changing its DOM structure.\n * @internal\n */\nexport class SkyFilterFixtureSummary {\n #debugElement: DebugElement;\n #fixture: ComponentFixture<unknown>;\n\n constructor(fixture: ComponentFixture<unknown>, skyTestId: string) {\n this.#fixture = fixture;\n this.#debugElement = SkyAppTestUtility.getDebugElementByTestId(\n this.#fixture,\n skyTestId,\n 'sky-filter-summary',\n );\n }\n\n public async filterCloseClick(index: number): Promise<void> {\n const summaryItems = this.#debugElement.nativeElement.querySelectorAll(\n 'sky-filter-summary-item',\n );\n if (summaryItems.length > index) {\n const summaryItem = summaryItems[index];\n\n if (summaryItem instanceof HTMLElement) {\n const closeButton = summaryItem.querySelector('.sky-token-btn-close');\n\n if (closeButton instanceof HTMLElement) {\n closeButton.click();\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n return;\n }\n }\n }\n\n throw new Error(`Unable to click close for a filter index ${index}`);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { SkyFilterModule } from '@skyux/lists';\n\n/**\n * @internal\n */\n@NgModule({\n exports: [SkyFilterModule],\n})\nexport class SkyFilterTestingModule {}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyComponentHarness } from '@skyux/core/testing';\n\nimport { SkyFilterButtonHarnessFilters } from './filter-button-harness-filters';\n\n/**\n * Harness for interacting with a filter button component in tests.\n */\nexport class SkyFilterButtonHarness extends SkyComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-filter-button';\n\n #getFilterButton = this.locatorFor('button.sky-filter-btn');\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkyFilterButtonHarness` that meets certain criteria.\n */\n public static with(\n filters: SkyFilterButtonHarnessFilters,\n ): HarnessPredicate<SkyFilterButtonHarness> {\n return this.getDataSkyIdPredicate(filters);\n }\n\n /**\n * Clicks the filter button.\n */\n public async clickFilterButton(): Promise<void> {\n return await (await this.#getFilterButton()).click();\n }\n\n /**\n * Gets the filter button's aria-controls attribute.\n */\n public async getAriaControls(): Promise<string | null> {\n return await (await this.#getFilterButton()).getAttribute('aria-controls');\n }\n\n /**\n * Gets the filter button's aria-expanded attribute.\n */\n public async getAriaExpanded(): Promise<boolean> {\n const expanded = await (\n await this.#getFilterButton()\n ).getAttribute('aria-expanded');\n\n return !!expanded && expanded === 'true';\n }\n\n /**\n * Gets the filter button's aria-label.\n */\n public async getAriaLabel(): Promise<string | null> {\n return await (await this.#getFilterButton()).getAttribute('aria-label');\n }\n\n /**\n * Gets the filter button's id.\n */\n public async getButtonId(): Promise<string | null> {\n return await (await this.#getFilterButton()).getAttribute('id');\n }\n\n /**\n * Gets the text that appears on the filter button.\n */\n public async getButtonText(): Promise<string> {\n const text = await (\n await this.locatorForOptional('.sky-filter-btn-text')()\n )?.text();\n\n return text ?? '';\n }\n\n /**\n * Whether the filter button is active.\n */\n public async isActive(): Promise<boolean> {\n return await (\n await this.#getFilterButton()\n ).hasClass('sky-filter-btn-active');\n }\n\n /**\n * Whether the filter button is disabled.\n */\n public async isDisabled(): Promise<boolean> {\n const disabled = await (\n await this.#getFilterButton()\n ).getAttribute('disabled');\n return disabled !== null;\n }\n}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyQueryableComponentHarness } from '@skyux/core/testing';\n\nimport { SkyFilterInlineItemHarnessFilters } from './filter-inline-item-harness-filters';\n\n/**\n * Harness to interact with a filter inline item component in tests.\n */\nexport class SkyFilterInlineItemHarness extends SkyQueryableComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-filter-inline-item';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkyFilterInlineItemHarness` that meets certain criteria.\n */\n public static with(\n filters: SkyFilterInlineItemHarnessFilters,\n ): HarnessPredicate<SkyFilterInlineItemHarness> {\n return SkyFilterInlineItemHarness.getDataSkyIdPredicate(filters);\n }\n}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyComponentHarness } from '@skyux/core/testing';\n\nimport { SkyFilterInlineHarnessFilters } from './filter-inline-harness-filters';\nimport { SkyFilterInlineItemHarness } from './filter-inline-item-harness';\nimport { SkyFilterInlineItemHarnessFilters } from './filter-inline-item-harness-filters';\n\n/**\n * Harness to interact with a filter inline component in tests.\n */\nexport class SkyFilterInlineHarness extends SkyComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-filter-inline';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkyFilterInlineHarness` that meets certain criteria.\n */\n public static with(\n filters: SkyFilterInlineHarnessFilters,\n ): HarnessPredicate<SkyFilterInlineHarness> {\n return SkyFilterInlineHarness.getDataSkyIdPredicate(filters);\n }\n\n /**\n * Gets a harness for a specific toolbar item that meets certain criteria.\n */\n public async getItem(\n filter: SkyFilterInlineItemHarnessFilters,\n ): Promise<SkyFilterInlineItemHarness> {\n return await this.locatorFor(SkyFilterInlineItemHarness.with(filter))();\n }\n\n /**\n * Gets an array of all toolbar items.\n */\n public async getItems(\n filters?: SkyFilterInlineItemHarnessFilters,\n ): Promise<SkyFilterInlineItemHarness[]> {\n const items = await this.locatorForAll(\n SkyFilterInlineItemHarness.with(filters || {}),\n )();\n\n if (items.length === 0) {\n if (filters) {\n throw new Error(\n `Unable to find any filter inline items with filter(s): ${JSON.stringify(filters)}`,\n );\n }\n throw new Error('Unable to find any filter inline items.');\n }\n\n return items;\n }\n}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyComponentHarness } from '@skyux/core/testing';\nimport { SkyTokenHarness } from '@skyux/indicators/testing';\n\nimport { SkyFilterSummaryItemHarnessFilters } from './filter-summary-item-harness-filters';\n\n/**\n * Harness to interact with a filter summary item component in tests.\n */\nexport class SkyFilterSummaryItemHarness extends SkyComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-filter-summary-item';\n\n #getSummaryItem = this.locatorFor('.sky-filter-summary-item');\n #getToken = this.locatorFor(SkyTokenHarness);\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkyFilterSummaryItemHarness` that meets certain criteria.\n */\n public static with(\n filters: SkyFilterSummaryItemHarnessFilters,\n ): HarnessPredicate<SkyFilterSummaryItemHarness> {\n return SkyFilterSummaryItemHarness.getDataSkyIdPredicate(filters);\n }\n\n /**\n * Clicks the filter summary item.\n */\n public async clickItem(): Promise<void> {\n await (await this.#getSummaryItem()).click();\n }\n\n /**\n * Dismisses the filter summary item.\n */\n public async dismiss(): Promise<void> {\n await (await this.#getToken()).dismiss();\n }\n\n /**\n * Whether the filter summary item is dismissible.\n */\n public async isDismissible(): Promise<boolean> {\n return await (await this.#getToken()).isDismissible();\n }\n}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyComponentHarness } from '@skyux/core/testing';\n\nimport { SkyFilterSummaryHarnessFilters } from './filter-summary-harness-filters';\nimport { SkyFilterSummaryItemHarness } from './filter-summary-item-harness';\nimport { SkyFilterSummaryItemHarnessFilters } from './filter-summary-item-harness-filters';\n\n/**\n * Harness to interact with a filter summary component in tests.\n */\nexport class SkyFilterSummaryHarness extends SkyComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-filter-summary';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkyFilterSummaryHarness` that meets certain criteria.\n */\n public static with(\n filters: SkyFilterSummaryHarnessFilters,\n ): HarnessPredicate<SkyFilterSummaryHarness> {\n return SkyFilterSummaryHarness.getDataSkyIdPredicate(filters);\n }\n\n /**\n * Gets a harness for a specific toolbar item that meets certain criteria.\n */\n public async getItem(\n filter: SkyFilterSummaryItemHarnessFilters,\n ): Promise<SkyFilterSummaryItemHarness> {\n return await this.locatorFor(SkyFilterSummaryItemHarness.with(filter))();\n }\n\n /**\n * Gets an array of all toolbar items.\n */\n public async getItems(\n filters?: SkyFilterSummaryItemHarnessFilters,\n ): Promise<SkyFilterSummaryItemHarness[]> {\n const items = await this.locatorForAll(\n SkyFilterSummaryItemHarness.with(filters || {}),\n )();\n\n if (items.length === 0) {\n if (filters) {\n throw new Error(\n `Unable to find any filter summary items with filter(s): ${JSON.stringify(filters)}`,\n );\n }\n throw new Error('Unable to find any filter summary items.');\n }\n\n return items;\n }\n}\n","import { DebugElement } from '@angular/core';\nimport { ComponentFixture } from '@angular/core/testing';\nimport { By } from '@angular/platform-browser';\nimport { SkyAppTestUtility } from '@skyux-sdk/testing';\n\nimport { SkyPagingFixtureButton } from './paging-fixture-button';\n\n/**\n * Provides information for and interaction with a SKY UX paging component.\n * By using the fixture API, a test insulates itself against updates to the internals\n * of a component, such as changing its DOM structure.\n * @internal\n */\nexport class SkyPagingFixture {\n #_debugEl: DebugElement;\n\n /**\n * The id of the active page, if available.\n */\n public get activePageId(): string {\n return this.#getPageId(this.#activePageButton);\n }\n\n /**\n * Properties of the page links displayed in the paging component.\n */\n public get pageLinks(): SkyPagingFixtureButton[] {\n return this.#pagingLinks.map((page: DebugElement) => {\n return {\n id: this.#getPageId(page.nativeElement),\n isActive: page.nativeElement.classList.contains('sky-paging-current'),\n isEnabled: !page.nativeElement.disabled,\n };\n });\n }\n\n #fixture: ComponentFixture<unknown>;\n\n constructor(fixture: ComponentFixture<unknown>, skyTestId: string) {\n this.#fixture = fixture;\n this.#_debugEl = SkyAppTestUtility.getDebugElementByTestId(\n fixture,\n skyTestId,\n 'sky-paging',\n );\n\n void this.#waitForComponentInitialization();\n }\n\n /**\n * Selects the specified page by id, if it is enabled.\n */\n public async selectPage(id: string | number): Promise<void> {\n const pageButton = this.#getPageLink(id.toString());\n\n if (pageButton !== undefined && !pageButton.disabled) {\n pageButton.click();\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n }\n }\n\n /**\n * Clicks the next page button, if it is enabled.\n */\n public async selectNextPage(): Promise<void> {\n const nextButton = this.#nextPageButton;\n\n if (nextButton !== undefined && !nextButton.disabled) {\n nextButton.click();\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n }\n }\n\n /**\n * Clicks the previous page button, if it is enabled.\n */\n public async selectPreviousPage(): Promise<void> {\n const previousButton = this.#previousPageButton;\n\n if (previousButton !== undefined && !previousButton.disabled) {\n previousButton.click();\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n }\n }\n\n //#region helpers\n\n get #activePageButton(): HTMLButtonElement {\n return this.#_debugEl.query(\n By.css('.sky-list-paging-link .sky-paging-current'),\n )?.nativeElement as HTMLButtonElement;\n }\n\n get #nextPageButton(): HTMLButtonElement {\n return this.#_debugEl.query(By.css('.sky-paging-btn[sky-cmp-id=\"next\"]'))\n ?.nativeElement as HTMLButtonElement;\n }\n\n get #previousPageButton(): HTMLButtonElement {\n return this.#_debugEl.query(\n By.css('.sky-paging-btn[sky-cmp-id=\"previous\"]'),\n )?.nativeElement as HTMLButtonElement;\n }\n\n get #pagingLinks(): DebugElement[] {\n return this.#_debugEl.queryAll(By.css('.sky-list-paging-link button'));\n }\n\n #getPageLink(id: string): HTMLButtonElement {\n return this.#_debugEl.query(\n By.css(`.sky-list-paging-link button[sky-cmp-id=\"${id}\"]`),\n )?.nativeElement as HTMLButtonElement;\n }\n\n #getPageId(page: HTMLButtonElement): string {\n return page?.getAttribute('sky-cmp-id') ?? '';\n }\n\n async #waitForComponentInitialization(): Promise<void> {\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n }\n\n //#endregion\n}\n","import { NgModule } from '@angular/core';\nimport { SkyPagingModule } from '@skyux/lists';\n\n/**\n * @internal\n */\n@NgModule({\n exports: [SkyPagingModule],\n})\nexport class SkyPagingTestingModule {}\n","import { SkyQueryableComponentHarness } from '@skyux/core/testing';\n\n/**\n * Harness to interact with a paging content component in tests.\n */\nexport class SkyPagingContentHarness extends SkyQueryableComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-paging-content';\n}\n","import { ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';\n\nimport { SkyPageControlHarnessFilters } from './page-control-harness-filters';\n\n/**\n * Harness to interact with a page control element in tests.\n * @internal\n */\nexport class SkyPageControlHarness extends ComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'li.sky-list-paging-link';\n\n #getButton = this.locatorFor('button.sky-paging-btn');\n\n public static with(\n filters: SkyPageControlHarnessFilters,\n ): HarnessPredicate<SkyPageControlHarness> {\n return new HarnessPredicate(SkyPageControlHarness, filters).addOption(\n 'pageNumber',\n filters.pageNumber,\n (harness, pageNumber) =>\n harness\n .getText()\n .then(\n (actualPageNumber) => parseInt(actualPageNumber) === pageNumber,\n ),\n );\n }\n\n /**\n * Clicks the page button.\n */\n public async clickButton(): Promise<void> {\n await (await this.#getButton()).click();\n }\n\n /**\n * Gets the page button text.\n */\n public async getText(): Promise<string> {\n const button = await this.#getButton();\n\n return await button.text();\n }\n}\n","import { HarnessPredicate, TestElement } from '@angular/cdk/testing';\nimport { SkyComponentHarness } from '@skyux/core/testing';\n\nimport { SkyPageControlHarness } from './page-control-harness';\nimport { SkyPagingContentHarness } from './paging-content-harness';\nimport { SkyPagingHarnessFilters } from './paging-harness-filters';\n\n/**\n * Harness for interacting with a paging component in tests.\n */\nexport class SkyPagingHarness extends SkyComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-paging';\n\n #getNextButton = this.locatorForOptional('li button.sky-paging-btn-next');\n #getPreviousButton = this.locatorForOptional(\n 'li button.sky-paging-btn-previous',\n );\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkyPagingHarness` that meets certain criteria.\n */\n public static with(\n filters: SkyPagingHarnessFilters,\n ): HarnessPredicate<SkyPagingHarness> {\n return SkyPagingHarness.getDataSkyIdPredicate(filters);\n }\n\n /**\n * Clicks the next button.\n */\n public async clickNextButton(): Promise<void> {\n const button = await this.#getNextButton();\n\n if (button === null) {\n throw new Error('Could not find the next button.');\n }\n\n if (await this.#buttonIsDisabled(button)) {\n throw new Error(\n 'Could not click the next button because it is disabled.',\n );\n }\n\n await button.click();\n }\n\n /**\n * Clicks the page button with the requested number. Throws an error if that button is not present.\n */\n public async clickPageButton(pageNumber: number): Promise<void> {\n const button = await this.locatorForOptional(\n SkyPageControlHarness.with({ pageNumber: pageNumber }),\n )();\n\n if (button === null) {\n throw new Error(`Could not find page button ${pageNumber}.`);\n }\n\n await button.clickButton();\n }\n\n /**\n * Clicks the previous button.\n */\n public async clickPreviousButton(): Promise<void> {\n const button = await this.#getPreviousButton();\n\n if (button === null) {\n throw new Error('Could not find the previous button.');\n }\n\n if (await this.#buttonIsDisabled(button)) {\n throw new Error(\n 'Could not click the previous button because it is disabled.',\n );\n }\n\n await button.click();\n }\n\n /**\n * Gets the current page number.\n */\n public async getCurrentPage(): Promise<number> {\n const currentPage = await this.locatorForOptional(\n 'button.sky-paging-current',\n )();\n\n if (currentPage === null) {\n throw new Error('Could not find current page.');\n }\n\n return parseInt(await currentPage.text());\n }\n\n /**\n * Gets the paging content.\n */\n public async getPagingContent(): Promise<SkyPagingContentHarness> {\n return await this.locatorFor(SkyPagingContentHarness)();\n }\n\n public async getPagingLabel(): Promise<string> {\n const pageNav = await this.locatorForOptional('nav.sky-paging')();\n\n if (pageNav === null) {\n throw new Error('Could not find paging label.');\n }\n\n return (await pageNav.getAttribute('aria-label')) as string;\n }\n\n async #buttonIsDisabled(button: TestElement): Promise<boolean> {\n const disabled = await button.getAttribute('disabled');\n return disabled !== null;\n }\n}\n","import { SkyQueryableComponentHarness } from '@skyux/core/testing';\n\n/**\n * Harness to query inside a repeater item context menu component in tests.\n * @internal\n */\nexport class SkyRepeaterItemContextMenuHarness extends SkyQueryableComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-repeater-item-context-menu';\n}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyQueryableComponentHarness } from '@skyux/core/testing';\nimport { SkyCheckboxHarness } from '@skyux/forms/testing';\nimport { SkyChevronHarness } from '@skyux/indicators/testing';\nimport { SkyInlineFormHarness } from '@skyux/inline-form/testing';\nimport {\n SkyDropdownHarness,\n SkyDropdownHarnessFilters,\n} from '@skyux/popovers/testing';\n\nimport { SkyRepeaterItemContextMenuHarness } from './repeater-item-context-menu-harness';\nimport { SkyRepeaterItemHarnessFilters } from './repeater-item-harness-filters';\n\n/**\n * Harness for interacting with a repeater item component in tests.\n */\nexport class SkyRepeaterItemHarness extends SkyQueryableComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-repeater-item';\n\n #getBackToTop = this.locatorForOptional(\n 'button.sky-repeater-item-reorder-top',\n );\n\n #getCheckbox = this.locatorForOptional(SkyCheckboxHarness);\n\n #getChevron = this.locatorForOptional(SkyChevronHarness);\n\n #getContent = this.locatorFor('.sky-repeater-item-content');\n\n #getContext = this.locatorFor(SkyRepeaterItemContextMenuHarness);\n\n #getItem = this.locatorFor('.sky-repeater-item');\n\n #getReorderHandle = this.locatorForOptional(\n 'button.sky-repeater-item-grab-handle',\n );\n\n #getTitle = this.locatorFor('.sky-repeater-item-title');\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkyRepeaterItemHarness` that meets certain criteria.\n */\n public static with(\n filters: SkyRepeaterItemHarnessFilters,\n ): HarnessPredicate<SkyRepeaterItemHarness> {\n return SkyRepeaterItemHarness.getDataSkyIdPredicate(filters)\n .addOption('contentText', filters.contentText, async (harness, text) => {\n const content = await harness.getContentText();\n return await HarnessPredicate.stringMatches(content, text);\n })\n .addOption('titleText', filters.titleText, async (harness, text) => {\n const title = await harness.getTitleText();\n return await HarnessPredicate.stringMatches(title, text);\n });\n }\n\n /**\n * Clicks on the repeater item.\n */\n public async click(): Promise<void> {\n await (await this.#getItem()).click();\n }\n\n /**\n * Collapses the repeater item, or does nothing if already collapsed.\n */\n public async collapse(): Promise<void> {\n const chevron = await this.#getChevron();\n if (chevron) {\n if ((await chevron.getDirection()) === 'up') {\n await chevron.toggle();\n }\n return;\n }\n throw new Error(\n 'Could not collapse the repeater item because it is not collapsible.',\n );\n }\n\n /**\n * Deselects the repeater item.\n */\n public async deselect(): Promise<void> {\n const checkbox = await this.#getCheckbox();\n if (!checkbox) {\n throw new Error(\n 'Could not deselect the repeater item because it is not selectable.',\n );\n }\n\n await checkbox.uncheck();\n }\n\n /**\n * Expands the repeater item, or does nothing if already expanded.\n */\n public async expand(): Promise<void> {\n const chevron = await this.#getChevron();\n if (chevron) {\n if ((await chevron.getDirection()) === 'down') {\n await chevron.toggle();\n }\n return;\n }\n throw new Error(\n 'Could not expand the repeater item because it is not collapsible.',\n );\n }\n\n /**\n * Gets a harness for the dropdown inside the context menu.\n */\n public async getContextMenuDropdown(\n filters?: SkyDropdownHarnessFilters,\n ): Promise<SkyDropdownHarness> {\n return await (\n await this.#getContext()\n ).queryHarness(SkyDropdownHarness.with(filters || {}));\n }\n\n /**\n * Gets the text of the repeater item content.\n */\n public async getContentText(): Promise<string> {\n return await (await this.#getContent()).text();\n }\n\n /**\n * Gets the inline form harness.\n */\n public async getInlineForm(): Promise<SkyInlineFormHarness> {\n return await this.locatorFor(SkyInlineFormHarness)();\n }\n\n /**\n * Gets the item name.\n */\n public async getItemName(): Promise<string | null> {\n return await (await this.#getItem()).getAttribute('aria-label');\n }\n\n /**\n * Gets the text of the repeater item title.\n */\n public async getTitleText(): Promise<string> {\n return await (await this.#getTitle()).text();\n }\n\n /**\n * Whether the repeater item is collapsible.\n */\n public async isCollapsible(): Promise<boolean> {\n return !!(await this.#getChevron());\n }\n\n /**\n * Whether a selectable repeater item is disabled.\n */\n public async isDisabled(): Promise<boolean> {\n return (await (await this.#getCheckbox())?.isDisabled()) || false;\n }\n\n /**\n * Whether the repeater item is expanded, or throws an error informing of the lack of collapsibility.\n */\n public async isExpanded(): Promise<boolean> {\n const chevron = await this.#getChevron();\n if (chevron) {\n return (await chevron.getDirection()) === 'up';\n }\n throw new Error(\n 'Could not determine if repeater item is expanded because it is not collapsible.',\n );\n }\n\n /**\n * Whether the repeater item is reorderable.\n */\n public async isReorderable(): Promise<boolean> {\n return !!(await this.#getReorderHandle());\n }\n\n /**\n * Whether a repeater item has selection enabled.\n */\n public async isSelectable(): Promise<boolean> {\n return !!(await this.#getCheckbox());\n }\n\n /**\n * Whether a selectable repeater item is selected. Throws an error if the item is not selectable.\n */\n public async isSelected(): Promise<boolean> {\n const checkbox = await this.#getCheckbox();\n if (!checkbox) {\n throw new Error(\n 'Could not determine if repeater item is selected because it is not selectable.',\n );\n }\n\n return await checkbox.isChecked();\n }\n\n /**\n * Selects the repeater item.\n */\n public async select(): Promise<void> {\n const checkbox = await this.#getCheckbox();\n if (!checkbox) {\n throw new Error(\n 'Could not select the repeater item because it is not selectable.',\n );\n }\n\n await checkbox.check();\n }\n\n /**\n * Moves the repeater item to the top of the list\n */\n public async sendToTop(): Promise<void> {\n if (await this.isReorderable()) {\n await (await this.#getBackToTop())?.click();\n } else {\n throw new Error(\n 'Could not send to top because the repeater is not reorderable.',\n );\n }\n }\n}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyComponentHarness } from '@skyux/core/testing';\n\nimport { SkyRepeaterHarnessFilters } from './repeater-harness-filters';\nimport { SkyRepeaterItemHarness } from './repeater-item-harness';\nimport { SkyRepeaterItemHarnessFilters } from './repeater-item-harness-filters';\n\n/**\n * Harness for interacting with a repeater component in tests.\n */\nexport class SkyRepeaterHarness extends SkyComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-repeater';\n\n #getRepeater = this.locatorFor('.sky-repeater');\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkyRepeaterHarness` that meets certain criteria.\n */\n public static with(\n filters: SkyRepeaterHarnessFilters,\n ): HarnessPredicate<SkyRepeaterHarness> {\n return SkyRepeaterHarness.getDataSkyIdPredicate(filters);\n }\n\n /**\n * Gets a list of child repeater items.\n */\n public async getRepeaterItems(\n filters?: SkyRepeaterItemHarnessFilters,\n ): Promise<SkyRepeaterItemHarness[]> {\n return await this.locatorForAll(\n SkyRepeaterItemHarness.with(filters || {}),\n )();\n }\n\n /**\n * Gets the aria-label for the repeater list\n */\n public async getAriaLabel(): Promise<string | null> {\n return await (await this.#getRepeater()).getAttribute('aria-label');\n }\n}\n","import { DebugElement } from '@angular/core';\nimport { ComponentFixture } from '@angular/core/testing';\nimport { By } from '@angular/platform-browser';\nimport { SkyAppTestUtility } from '@skyux-sdk/testing';\n\nimport { SkySortFixtureMenu } from './sort-fixture-menu';\nimport { SkySortFixtureMenuItem } from './sort-fixture-menu-item';\n\n/**\n * Provides information for and interaction with a SKY UX sort component.\n * By using the fixture API, a test insulates itself against updates to the internals\n * of a component, such as changing its DOM structure.\n * @internal\n */\nexport class SkySortFixture {\n /**\n * The active sort menu item, if one exists. Menu items are only available when the menu dropdown\n * is open. If the menu dropdown is closed, this property will be undefined.\n */\n public get activeMenuItem(): SkySortFixtureMenuItem | undefined {\n return this.menuItems?.find((x) => x.isActive);\n }\n\n /**\n * The sort menu's properties.\n */\n public get menu(): SkySortFixtureMenu {\n /* istanbul ignore next */\n const buttonText =\n SkyAppTestUtility.getText(this.#getSortButtonTextEl()) || '';\n return {\n buttonText,\n isOpen: this.#getDropdownMenuEl() !== null,\n };\n }\n\n /**\n * The properties of each sort menu item. Menu items are only available when the menu dropdown\n * is open. If the menu dropdown is closed, this property will be undefined.\n */\n public get menuItems(): SkySortFixtureMenuItem[] | undefined {\n // Return undefined when we can't determine what the options are.\n // We do this to avoid any confusion with an empty set of options.\n if (!this.menu.isOpen) {\n return;\n }\n\n return this.#getSortItems().map((item: HTMLElement, i: number) => {\n const itemButton = item.querySelector('button');\n\n return {\n index: i,\n isActive: item.classList.contains('sky-sort-item-selected'),\n text: SkyAppTestUtility.getText(itemButton),\n };\n });\n }\n\n #debugEl: DebugElement;\n #fixture: ComponentFixture<unknown>;\n\n constructor(fixture: ComponentFixture<unknown>, skyTestId: string) {\n this.#fixture = fixture;\n this.#debugEl = SkyAppTestUtility.getDebugElementByTestId(\n fixture,\n skyTestId,\n 'sky-sort',\n );\n }\n\n /**\n * Closes the sort dropdown menu if it isn't closed already.\n */\n public async closeMenu(): Promise<void> {\n // if the menu is already closed, do nothing\n if (!this.menu.isOpen) {\n return;\n }\n\n const menu = this.#getDropdownButtonEl();\n\n if (menu !== undefined && !menu.disabled) {\n menu.click();\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n }\n }\n\n /**\n * Opens the sort dropdown menu if it isn't open already.\n */\n public async openMenu(): Promise<void> {\n // if the menu is already open, do nothing\n if (this.menu.isOpen) {\n return;\n }\n\n const menu = this.#getDropdownButtonEl();\n\n if (menu !== undefined && !menu.disabled) {\n menu.click();\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n }\n }\n\n /**\n * Ensures the sort menu is open and selects the menu item with the specified index, if it exists.\n * @param menuItemIndex The index of the menu item to select.\n */\n public async selectMenuItemByIndex(menuItemIndex: number): Promise<void> {\n return await this.#selectMenuItem((_item: HTMLElement, index: number) => {\n return index === menuItemIndex;\n });\n }\n\n /**\n * Ensures the sort menu is open and selects the menu item with the specified text,\n * if a matching item is available.\n * @param menuItemText The text of the menu item to select.\n */\n public async selectMenuItemByText(\n menuItemText: string | undefined,\n ): Promise<void> {\n /* istanbul ignore else */\n if (menuItemText) {\n return await this.#selectMenuItem((item: HTMLElement) => {\n return SkyAppTestUtility.getText(item) === menuItemText;\n });\n } else {\n return;\n }\n }\n\n //#region helpers\n\n #getDropdownButtonEl(): HTMLButtonElement | undefined {\n return this.#debugEl.query(By.css('.sky-dropdown-button')).nativeElement;\n }\n\n #getDropdownMenuEl(): HTMLElement | null {\n return document.querySelector('sky-overlay .sky-dropdown-menu');\n }\n\n #getSortButtonTextEl(): HTMLElement | undefined {\n return this.#debugEl.query(By.css('.sky-sort-btn-text')).nativeElement;\n }\n\n #getSortItems(): HTMLElement[] {\n const resultNodes = document.querySelectorAll('sky-overlay .sky-sort-item');\n return Array.prototype.slice.call(resultNodes);\n }\n\n /**\n * Ensures the sort menu is open and selects the menu item via a selection predicate,\n * if a matching item is available.\n * @param selectionPredicate The menu item selector method to use.\n */\n async #selectMenuItem(\n selectionPredicate: (item: HTMLElement, index: number) => boolean,\n ): Promise<void> {\n // make sure the sort menu is open\n if (!this.menu.isOpen) {\n await this.openMenu();\n }\n\n // find the requested menu item using the selectionPredicate parameter\n const items = this.#getSortItems();\n const targetItem = items.find((item: HTMLElement, index: number) =>\n selectionPredicate(item, index),\n );\n\n // if we found the item, select it\n if (targetItem) {\n // we've got the '.sky-sort-item' div, but we want to click it's child button element\n const targetButton = targetItem.querySelector('button');\n targetButton?.click();\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n }\n }\n\n //#endregion\n}\n","import { NgModule } from '@angular/core';\nimport { NoopAnimationsModule } from '@angular/platform-browser/animations';\nimport { SkySortModule } from '@skyux/lists';\n\n/**\n * @internal\n */\n@NgModule({\n imports: [NoopAnimationsModule],\n exports: [SkySortModule],\n})\nexport class SkySortTestingModule {}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyDropdownItemHarness } from '@skyux/popovers/testing';\n\nimport { SkySortItemHarnessFilters } from './sort-item-harness-filters';\n\n/**\n * Harness for interacting with a sort item component in tests.\n */\nexport class SkySortItemHarness extends SkyDropdownItemHarness {\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkySortItemHarness` that meets certain criteria.\n */\n public static override with(\n filters: SkySortItemHarnessFilters,\n ): HarnessPredicate<SkySortItemHarness> {\n return new HarnessPredicate(this, filters).addOption(\n 'text',\n filters.text,\n async (harness, text) => {\n const menuItemText = await harness.getText();\n return await HarnessPredicate.stringMatches(menuItemText, text);\n },\n );\n }\n\n /**\n * Clicks the sort item.\n */\n public override async click(): Promise<void> {\n await super.click();\n }\n\n /**\n * Gets the sort item role.\n * This can't be set on sort items and should not be exposed.\n * @internal\n */\n public override async getAriaRole(): Promise<string | null> {\n return await super.getAriaRole();\n }\n\n /**\n * Gets the sort item text.\n */\n public override async getText(): Promise<string | null> {\n return await super.getText();\n }\n\n /**\n * Whether the sort item is active.\n */\n public async isActive(): Promise<boolean> {\n return await (\n await this.locatorFor('.sky-sort-item')()\n ).hasClass('sky-sort-item-selected');\n }\n}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyComponentHarness } from '@skyux/core/testing';\nimport {\n SkyDropdownHarness,\n SkyDropdownMenuHarness,\n} from '@skyux/popovers/testing';\n\nimport { SkySortHarnessFilters } from './sort-harness-filters';\nimport { SkySortItemHarness } from './sort-item-harness';\nimport { SkySortItemHarnessFilters } from './sort-item-harness-filters';\n\n/**\n * Harness for interacting with a sort component in tests.\n */\nexport class SkySortHarness extends SkyComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-sort';\n\n #getDropdown = this.locatorFor(SkyDropdownHarness);\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkySortHarness` that meets certain criteria.\n */\n public static with(\n filters: SkySortHarnessFilters,\n ): HarnessPredicate<SkySortHarness> {\n return SkySortHarness.getDataSkyIdPredicate(filters);\n }\n\n /**\n * Clicks the sort component.\n */\n public async click(): Promise<void> {\n await (await this.#getDropdown()).clickDropdownButton();\n }\n\n /**\n * Gets the aria-label value.\n */\n public async getAriaLabel(): Promise<string | null> {\n return await (await this.#getDropdown()).getAriaLabel();\n }\n\n /**\n * Gets the text that appears on the sort button.\n */\n public async getButtonText(): Promise<string> {\n const text = await (\n await this.locatorForOptional('.sky-sort-btn-text')()\n )?.text();\n\n return text ?? '';\n }\n\n /**\n * Gets a harness for a specific sort item that meets certain criteria.\n */\n public async getItem(\n filters: SkySortItemHarnessFilters,\n ): Promise<SkySortItemHarness> {\n const menuHarness = await this.#getMenuHarness();\n\n return await menuHarness.queryHarness(SkySortItemHarness.with(filters));\n }\n\n /**\n * Gets an array of all sort items.\n */\n public async getItems(\n filters?: SkySortItemHarnessFilters,\n ): Promise<SkySortItemHarness[]> {\n const menuHarness = await this.#getMenuHarness();\n\n const items = await (filters\n ? menuHarness.queryHarnesses(SkySortItemHarness.with(filters))\n : menuHarness.queryHarnesses(SkySortItemHarness));\n\n if (filters && !items.length) {\n throw new Error(\n `Unable to find any sort items with filter(s): ${JSON.stringify(filters)}`,\n );\n }\n\n return items;\n }\n\n async #getMenuHarness(): Promise<SkyDropdownMenuHarness> {\n try {\n // eslint-disable-next-line no-var\n var menuHarness = await (await this.#getDropdown()).getDropdownMenu();\n } catch {\n throw new Error(\n 'Unable to locate any sort items because the sort menu is not open.',\n );\n }\n\n return menuHarness;\n }\n}\n","import { DebugElement } from '@angular/core';\nimport { ComponentFixture } from '@angular/core/testing';\nimport { SkyAppTestUtility } from '@skyux-sdk/testing';\n\n/**\n * Provides information for and interaction with a SKY UX infinite scroll component.\n * By using the fixture API, a test insulates itself against updates to the internals\n * of a component, such as changing its DOM structure.\n * @deprecated Use `SkyInfiniteScrollHarness` instead.\n * @internal\n */\nexport class SkyInfiniteScrollFixture {\n #debugElement: DebugElement;\n #fixture: ComponentFixture<unknown>;\n\n constructor(fixture: ComponentFixture<unknown>, skyTestId: string) {\n this.#fixture = fixture;\n this.#debugElement = SkyAppTestUtility.getDebugElementByTestId(\n fixture,\n skyTestId,\n 'sky-infinite-scroll',\n );\n }\n\n public get loadMoreButtonIsVisible(): boolean {\n return this.#getButton() !== null;\n }\n\n public async clickLoadMoreButton(): Promise<void> {\n const button = this.#getButton();\n\n if (button !== null) {\n button.click();\n }\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n }\n\n #getButton(): HTMLButtonElement | null {\n return (\n this.#debugElement.nativeElement as HTMLElement\n ).querySelector<HTMLButtonElement>('.sky-infinite-scroll .sky-btn');\n }\n}\n","import { NgModule } from '@angular/core';\nimport { SkyInfiniteScrollModule } from '@skyux/lists';\n\n/**\n * @internal\n */\n@NgModule({\n exports: [SkyInfiniteScrollModule],\n})\nexport class SkyInfiniteScrollTestingModule {}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyComponentHarness } from '@skyux/core/testing';\n\nimport { SkyInfiniteScrollHarnessFilters } from './infinite-scroll-harness-filters';\n\n/**\n * Harness for interacting with an infinite scroll component in tests.\n */\nexport class SkyInfiniteScrollHarness extends SkyComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-infinite-scroll';\n\n #showMoreButton = this.locatorForOptional(\n 'button.sky-infinite-scroll-load-more-button',\n );\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkyInfiniteScrollHarness` that meets certain criteria.\n */\n public static with(\n filters: SkyInfiniteScrollHarnessFilters,\n ): HarnessPredicate<SkyInfiniteScrollHarness> {\n return this.getDataSkyIdPredicate(filters);\n }\n\n /**\n * Whether the infinite scroll is enabled.\n */\n public async isEnabled(): Promise<boolean> {\n return (await this.locatorForOptional('.sky-infinite-scroll')()) !== null;\n }\n\n /**\n * Whether the infinite scroll is loading.\n */\n public async isLoading(): Promise<boolean> {\n return (await this.isEnabled()) && (await this.#showMoreButton()) === null;\n }\n\n /**\n * Clicks the \"Load more\" button.\n */\n public async loadMore(): Promise<void> {\n const button = await this.#showMoreButton();\n if (button) {\n await button.click();\n } else {\n if (!(await this.isEnabled())) {\n throw new Error(\n 'Unable to click the \"Load more\" button because the infinite scroll is not enabled.',\n );\n } else {\n throw new Error(\n 'Unable to click the \"Load more\" button because the infinite scroll is loading.',\n );\n }\n }\n }\n}\n","/**\n * Generated bundle index.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AE,KAAK,CAAC,MAAM,IAAI,CAAC,eAAe,EAAE,MAAM,IAAI;;AAG5E;;AAEG;AACI,IAAA,MAAM,QAAQ,GAAA;AACnB,QAAA,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,eAAe,EAAE;QAC3C,IAAI,MAAM,EAAE;AACV,YAAA,MAAM,MAAM,CAAC,KAAK,EAAE;;aACf;YACL,IAAI,EAAE,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,EAAE;AAC7B,gBAAA,MAAM,IAAI,KAAK,CACb,oFAAoF,CACrF;;iBACI;AACL,gBAAA,MAAM,IAAI,KAAK,CACb,gFAAgF,CACjF;;;;;;ACzDT;;AAEG;;;;"}
1
+ {"version":3,"file":"skyux-lists-testing.mjs","sources":["../../../../../libs/components/lists/testing/src/legacy/filter/filter-fixture-button.ts","../../../../../libs/components/lists/testing/src/legacy/filter/filter-fixture-summary.ts","../../../../../libs/components/lists/testing/src/legacy/filter/filter-testing.module.ts","../../../../../libs/components/lists/testing/src/modules/filter/filter-button-harness.ts","../../../../../libs/components/lists/testing/src/modules/filter/filter-inline-item-harness.ts","../../../../../libs/components/lists/testing/src/modules/filter/filter-inline-harness.ts","../../../../../libs/components/lists/testing/src/modules/filter/filter-summary-item-harness.ts","../../../../../libs/components/lists/testing/src/modules/filter/filter-summary-harness.ts","../../../../../libs/components/lists/testing/src/legacy/paging/paging-fixture.ts","../../../../../libs/components/lists/testing/src/legacy/paging/paging-testing.module.ts","../../../../../libs/components/lists/testing/src/modules/paging/paging-content-harness.ts","../../../../../libs/components/lists/testing/src/modules/paging/page-control-harness.ts","../../../../../libs/components/lists/testing/src/modules/paging/paging-harness.ts","../../../../../libs/components/lists/testing/src/modules/repeater/repeater-item-context-menu-harness.ts","../../../../../libs/components/lists/testing/src/modules/repeater/repeater-item-harness.ts","../../../../../libs/components/lists/testing/src/modules/repeater/repeater-harness.ts","../../../../../libs/components/lists/testing/src/legacy/sort/sort-fixture.ts","../../../../../libs/components/lists/testing/src/legacy/sort/sort-testing.module.ts","../../../../../libs/components/lists/testing/src/modules/sort/sort-item-harness.ts","../../../../../libs/components/lists/testing/src/modules/sort/sort-harness.ts","../../../../../libs/components/lists/testing/src/legacy/infinite-scroll/infinite-scroll-fixture.ts","../../../../../libs/components/lists/testing/src/legacy/infinite-scroll/infinite-scroll-testing.module.ts","../../../../../libs/components/lists/testing/src/modules/infinite-scroll/infinite-scroll-harness.ts","../../../../../libs/components/lists/testing/src/skyux-lists-testing.ts"],"sourcesContent":["import { DebugElement } from '@angular/core';\nimport { ComponentFixture } from '@angular/core/testing';\nimport { SkyAppTestUtility } from '@skyux-sdk/testing';\n\nimport { SkyListsFilterFixtureButton } from './lists-filter-fixture-button';\n\n/**\n * Provides information for and interaction with a SKY UX filter button component.\n * By using the fixture API, a test insulates itself against updates to the internals\n * of a component, such as changing its DOM structure.\n * @internal\n */\nexport class SkyFilterFixtureButton {\n #debugElement: DebugElement;\n #fixture: ComponentFixture<unknown>;\n\n constructor(fixture: ComponentFixture<unknown>, skyTestId: string) {\n this.#fixture = fixture;\n this.#debugElement = SkyAppTestUtility.getDebugElementByTestId(\n fixture,\n skyTestId,\n 'sky-filter-button',\n );\n }\n\n /**\n * Click the button to apply the filter.\n */\n public async clickFilterButton(): Promise<void> {\n const button = this.#getButtonElement();\n if (button instanceof HTMLButtonElement && !button.disabled) {\n button.click();\n }\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n }\n\n public get button(): SkyListsFilterFixtureButton {\n const buttonElement = this.#getButtonElement();\n return {\n ariaControls: buttonElement?.getAttribute('aria-controls') ?? undefined,\n ariaExpanded: buttonElement?.getAttribute('aria-expanded') === 'true',\n disabled: !!buttonElement?.disabled,\n id: buttonElement?.id,\n };\n }\n /**\n * Get the button text.\n */\n public get buttonText(): string {\n const text = this.#getButtonElement()?.innerText;\n return this.#normalizeText(text);\n }\n\n #getButtonElement(): HTMLButtonElement | null {\n return this.#debugElement.nativeElement.querySelector('.sky-filter-btn');\n }\n\n #normalizeText(text: string | undefined): string {\n let retVal = '';\n if (text) {\n retVal = text?.trim().replace(/\\s+/g, ' ');\n }\n return retVal;\n }\n}\n","import { DebugElement } from '@angular/core';\nimport { ComponentFixture } from '@angular/core/testing';\nimport { SkyAppTestUtility } from '@skyux-sdk/testing';\n\n/**\n * Provides information for and interaction with a SKY UX filter summary component.\n * By using the fixture API, a test insulates itself against updates to the internals\n * of a component, such as changing its DOM structure.\n * @internal\n */\nexport class SkyFilterFixtureSummary {\n #debugElement: DebugElement;\n #fixture: ComponentFixture<unknown>;\n\n constructor(fixture: ComponentFixture<unknown>, skyTestId: string) {\n this.#fixture = fixture;\n this.#debugElement = SkyAppTestUtility.getDebugElementByTestId(\n this.#fixture,\n skyTestId,\n 'sky-filter-summary',\n );\n }\n\n public async filterCloseClick(index: number): Promise<void> {\n const summaryItems = this.#debugElement.nativeElement.querySelectorAll(\n 'sky-filter-summary-item',\n );\n if (summaryItems.length > index) {\n const summaryItem = summaryItems[index];\n\n if (summaryItem instanceof HTMLElement) {\n const closeButton = summaryItem.querySelector('.sky-token-btn-close');\n\n if (closeButton instanceof HTMLElement) {\n closeButton.click();\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n return;\n }\n }\n }\n\n throw new Error(`Unable to click close for a filter index ${index}`);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { SkyFilterModule } from '@skyux/lists';\n\n/**\n * @internal\n */\n@NgModule({\n exports: [SkyFilterModule],\n})\nexport class SkyFilterTestingModule {}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyComponentHarness } from '@skyux/core/testing';\n\nimport { SkyFilterButtonHarnessFilters } from './filter-button-harness-filters';\n\n/**\n * Harness for interacting with a filter button component in tests.\n */\nexport class SkyFilterButtonHarness extends SkyComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-filter-button';\n\n #getFilterButton = this.locatorFor('button.sky-filter-btn');\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkyFilterButtonHarness` that meets certain criteria.\n */\n public static with(\n filters: SkyFilterButtonHarnessFilters,\n ): HarnessPredicate<SkyFilterButtonHarness> {\n return this.getDataSkyIdPredicate(filters);\n }\n\n /**\n * Clicks the filter button.\n */\n public async clickFilterButton(): Promise<void> {\n return await (await this.#getFilterButton()).click();\n }\n\n /**\n * Gets the filter button's aria-controls attribute.\n */\n public async getAriaControls(): Promise<string | null> {\n return await (await this.#getFilterButton()).getAttribute('aria-controls');\n }\n\n /**\n * Gets the filter button's aria-expanded attribute.\n */\n public async getAriaExpanded(): Promise<boolean> {\n const expanded = await (\n await this.#getFilterButton()\n ).getAttribute('aria-expanded');\n\n return !!expanded && expanded === 'true';\n }\n\n /**\n * Gets the filter button's aria-label.\n */\n public async getAriaLabel(): Promise<string | null> {\n return await (await this.#getFilterButton()).getAttribute('aria-label');\n }\n\n /**\n * Gets the filter button's id.\n */\n public async getButtonId(): Promise<string | null> {\n return await (await this.#getFilterButton()).getAttribute('id');\n }\n\n /**\n * Gets the text that appears on the filter button.\n */\n public async getButtonText(): Promise<string> {\n const text = await (\n await this.locatorForOptional('.sky-filter-btn-text')()\n )?.text();\n\n return text ?? '';\n }\n\n /**\n * Whether the filter button is active.\n */\n public async isActive(): Promise<boolean> {\n return await (\n await this.#getFilterButton()\n ).hasClass('sky-filter-btn-active');\n }\n\n /**\n * Whether the filter button is disabled.\n */\n public async isDisabled(): Promise<boolean> {\n const disabled = await (\n await this.#getFilterButton()\n ).getAttribute('disabled');\n return disabled !== null;\n }\n}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyQueryableComponentHarness } from '@skyux/core/testing';\n\nimport { SkyFilterInlineItemHarnessFilters } from './filter-inline-item-harness-filters';\n\n/**\n * Harness to interact with a filter inline item component in tests.\n */\nexport class SkyFilterInlineItemHarness extends SkyQueryableComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-filter-inline-item';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkyFilterInlineItemHarness` that meets certain criteria.\n */\n public static with(\n filters: SkyFilterInlineItemHarnessFilters,\n ): HarnessPredicate<SkyFilterInlineItemHarness> {\n return SkyFilterInlineItemHarness.getDataSkyIdPredicate(filters);\n }\n}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyComponentHarness } from '@skyux/core/testing';\n\nimport { SkyFilterInlineHarnessFilters } from './filter-inline-harness-filters';\nimport { SkyFilterInlineItemHarness } from './filter-inline-item-harness';\nimport { SkyFilterInlineItemHarnessFilters } from './filter-inline-item-harness-filters';\n\n/**\n * Harness to interact with a filter inline component in tests.\n */\nexport class SkyFilterInlineHarness extends SkyComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-filter-inline';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkyFilterInlineHarness` that meets certain criteria.\n */\n public static with(\n filters: SkyFilterInlineHarnessFilters,\n ): HarnessPredicate<SkyFilterInlineHarness> {\n return SkyFilterInlineHarness.getDataSkyIdPredicate(filters);\n }\n\n /**\n * Gets a harness for a specific toolbar item that meets certain criteria.\n */\n public async getItem(\n filter: SkyFilterInlineItemHarnessFilters,\n ): Promise<SkyFilterInlineItemHarness> {\n return await this.locatorFor(SkyFilterInlineItemHarness.with(filter))();\n }\n\n /**\n * Gets an array of all toolbar items.\n */\n public async getItems(\n filters?: SkyFilterInlineItemHarnessFilters,\n ): Promise<SkyFilterInlineItemHarness[]> {\n const items = await this.locatorForAll(\n SkyFilterInlineItemHarness.with(filters || {}),\n )();\n\n if (items.length === 0) {\n if (filters) {\n throw new Error(\n `Unable to find any filter inline items with filter(s): ${JSON.stringify(filters)}`,\n );\n }\n throw new Error('Unable to find any filter inline items.');\n }\n\n return items;\n }\n}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyComponentHarness } from '@skyux/core/testing';\nimport { SkyTokenHarness } from '@skyux/indicators/testing';\n\nimport { SkyFilterSummaryItemHarnessFilters } from './filter-summary-item-harness-filters';\n\n/**\n * Harness to interact with a filter summary item component in tests.\n */\nexport class SkyFilterSummaryItemHarness extends SkyComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-filter-summary-item';\n\n #getSummaryItem = this.locatorFor('.sky-filter-summary-item');\n #getToken = this.locatorFor(SkyTokenHarness);\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkyFilterSummaryItemHarness` that meets certain criteria.\n */\n public static with(\n filters: SkyFilterSummaryItemHarnessFilters,\n ): HarnessPredicate<SkyFilterSummaryItemHarness> {\n return SkyFilterSummaryItemHarness.getDataSkyIdPredicate(filters);\n }\n\n /**\n * Clicks the filter summary item.\n */\n public async clickItem(): Promise<void> {\n await (await this.#getSummaryItem()).click();\n }\n\n /**\n * Dismisses the filter summary item.\n */\n public async dismiss(): Promise<void> {\n await (await this.#getToken()).dismiss();\n }\n\n /**\n * Whether the filter summary item is dismissible.\n */\n public async isDismissible(): Promise<boolean> {\n return await (await this.#getToken()).isDismissible();\n }\n}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyComponentHarness } from '@skyux/core/testing';\n\nimport { SkyFilterSummaryHarnessFilters } from './filter-summary-harness-filters';\nimport { SkyFilterSummaryItemHarness } from './filter-summary-item-harness';\nimport { SkyFilterSummaryItemHarnessFilters } from './filter-summary-item-harness-filters';\n\n/**\n * Harness to interact with a filter summary component in tests.\n */\nexport class SkyFilterSummaryHarness extends SkyComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-filter-summary';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkyFilterSummaryHarness` that meets certain criteria.\n */\n public static with(\n filters: SkyFilterSummaryHarnessFilters,\n ): HarnessPredicate<SkyFilterSummaryHarness> {\n return SkyFilterSummaryHarness.getDataSkyIdPredicate(filters);\n }\n\n /**\n * Gets a harness for a specific toolbar item that meets certain criteria.\n */\n public async getItem(\n filter: SkyFilterSummaryItemHarnessFilters,\n ): Promise<SkyFilterSummaryItemHarness> {\n return await this.locatorFor(SkyFilterSummaryItemHarness.with(filter))();\n }\n\n /**\n * Gets an array of all toolbar items.\n */\n public async getItems(\n filters?: SkyFilterSummaryItemHarnessFilters,\n ): Promise<SkyFilterSummaryItemHarness[]> {\n const items = await this.locatorForAll(\n SkyFilterSummaryItemHarness.with(filters || {}),\n )();\n\n if (items.length === 0) {\n if (filters) {\n throw new Error(\n `Unable to find any filter summary items with filter(s): ${JSON.stringify(filters)}`,\n );\n }\n throw new Error('Unable to find any filter summary items.');\n }\n\n return items;\n }\n}\n","import { DebugElement } from '@angular/core';\nimport { ComponentFixture } from '@angular/core/testing';\nimport { By } from '@angular/platform-browser';\nimport { SkyAppTestUtility } from '@skyux-sdk/testing';\n\nimport { SkyPagingFixtureButton } from './paging-fixture-button';\n\n/**\n * Provides information for and interaction with a SKY UX paging component.\n * By using the fixture API, a test insulates itself against updates to the internals\n * of a component, such as changing its DOM structure.\n * @internal\n */\nexport class SkyPagingFixture {\n #_debugEl: DebugElement;\n\n /**\n * The id of the active page, if available.\n */\n public get activePageId(): string {\n return this.#getPageId(this.#activePageButton);\n }\n\n /**\n * Properties of the page links displayed in the paging component.\n */\n public get pageLinks(): SkyPagingFixtureButton[] {\n return this.#pagingLinks.map((page: DebugElement) => {\n return {\n id: this.#getPageId(page.nativeElement),\n isActive: page.nativeElement.classList.contains('sky-paging-current'),\n isEnabled: !page.nativeElement.disabled,\n };\n });\n }\n\n #fixture: ComponentFixture<unknown>;\n\n constructor(fixture: ComponentFixture<unknown>, skyTestId: string) {\n this.#fixture = fixture;\n this.#_debugEl = SkyAppTestUtility.getDebugElementByTestId(\n fixture,\n skyTestId,\n 'sky-paging',\n );\n\n void this.#waitForComponentInitialization();\n }\n\n /**\n * Selects the specified page by id, if it is enabled.\n */\n public async selectPage(id: string | number): Promise<void> {\n const pageButton = this.#getPageLink(id.toString());\n\n if (pageButton !== undefined && !pageButton.disabled) {\n pageButton.click();\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n }\n }\n\n /**\n * Clicks the next page button, if it is enabled.\n */\n public async selectNextPage(): Promise<void> {\n const nextButton = this.#nextPageButton;\n\n if (nextButton !== undefined && !nextButton.disabled) {\n nextButton.click();\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n }\n }\n\n /**\n * Clicks the previous page button, if it is enabled.\n */\n public async selectPreviousPage(): Promise<void> {\n const previousButton = this.#previousPageButton;\n\n if (previousButton !== undefined && !previousButton.disabled) {\n previousButton.click();\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n }\n }\n\n //#region helpers\n\n get #activePageButton(): HTMLButtonElement {\n return this.#_debugEl.query(\n By.css('.sky-list-paging-link .sky-paging-current'),\n )?.nativeElement as HTMLButtonElement;\n }\n\n get #nextPageButton(): HTMLButtonElement {\n return this.#_debugEl.query(By.css('.sky-paging-btn[sky-cmp-id=\"next\"]'))\n ?.nativeElement as HTMLButtonElement;\n }\n\n get #previousPageButton(): HTMLButtonElement {\n return this.#_debugEl.query(\n By.css('.sky-paging-btn[sky-cmp-id=\"previous\"]'),\n )?.nativeElement as HTMLButtonElement;\n }\n\n get #pagingLinks(): DebugElement[] {\n return this.#_debugEl.queryAll(By.css('.sky-list-paging-link button'));\n }\n\n #getPageLink(id: string): HTMLButtonElement {\n return this.#_debugEl.query(\n By.css(`.sky-list-paging-link button[sky-cmp-id=\"${id}\"]`),\n )?.nativeElement as HTMLButtonElement;\n }\n\n #getPageId(page: HTMLButtonElement): string {\n return page?.getAttribute('sky-cmp-id') ?? '';\n }\n\n async #waitForComponentInitialization(): Promise<void> {\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n }\n\n //#endregion\n}\n","import { NgModule } from '@angular/core';\nimport { SkyPagingModule } from '@skyux/lists';\n\n/**\n * @internal\n */\n@NgModule({\n exports: [SkyPagingModule],\n})\nexport class SkyPagingTestingModule {}\n","import { SkyQueryableComponentHarness } from '@skyux/core/testing';\n\n/**\n * Harness to interact with a paging content component in tests.\n */\nexport class SkyPagingContentHarness extends SkyQueryableComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-paging-content';\n}\n","import { ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';\n\nimport { SkyPageControlHarnessFilters } from './page-control-harness-filters';\n\n/**\n * Harness to interact with a page control element in tests.\n * @internal\n */\nexport class SkyPageControlHarness extends ComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'li.sky-list-paging-link';\n\n #getButton = this.locatorFor('button.sky-paging-btn');\n\n public static with(\n filters: SkyPageControlHarnessFilters,\n ): HarnessPredicate<SkyPageControlHarness> {\n return new HarnessPredicate(SkyPageControlHarness, filters).addOption(\n 'pageNumber',\n filters.pageNumber,\n (harness, pageNumber) =>\n harness\n .getText()\n .then(\n (actualPageNumber) => parseInt(actualPageNumber) === pageNumber,\n ),\n );\n }\n\n /**\n * Clicks the page button.\n */\n public async clickButton(): Promise<void> {\n await (await this.#getButton()).click();\n }\n\n /**\n * Gets the page button text.\n */\n public async getText(): Promise<string> {\n const button = await this.#getButton();\n\n return await button.text();\n }\n}\n","import { HarnessPredicate, TestElement } from '@angular/cdk/testing';\nimport { SkyComponentHarness } from '@skyux/core/testing';\n\nimport { SkyPageControlHarness } from './page-control-harness';\nimport { SkyPagingContentHarness } from './paging-content-harness';\nimport { SkyPagingHarnessFilters } from './paging-harness-filters';\n\n/**\n * Harness for interacting with a paging component in tests.\n */\nexport class SkyPagingHarness extends SkyComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-paging';\n\n #getNextButton = this.locatorForOptional('li button.sky-paging-btn-next');\n #getPreviousButton = this.locatorForOptional(\n 'li button.sky-paging-btn-previous',\n );\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkyPagingHarness` that meets certain criteria.\n */\n public static with(\n filters: SkyPagingHarnessFilters,\n ): HarnessPredicate<SkyPagingHarness> {\n return SkyPagingHarness.getDataSkyIdPredicate(filters);\n }\n\n /**\n * Clicks the next button.\n */\n public async clickNextButton(): Promise<void> {\n const button = await this.#getNextButton();\n\n if (button === null) {\n throw new Error('Could not find the next button.');\n }\n\n if (await this.#buttonIsDisabled(button)) {\n throw new Error(\n 'Could not click the next button because it is disabled.',\n );\n }\n\n await button.click();\n }\n\n /**\n * Clicks the page button with the requested number. Throws an error if that button is not present.\n */\n public async clickPageButton(pageNumber: number): Promise<void> {\n const button = await this.locatorForOptional(\n SkyPageControlHarness.with({ pageNumber: pageNumber }),\n )();\n\n if (button === null) {\n throw new Error(`Could not find page button ${pageNumber}.`);\n }\n\n await button.clickButton();\n }\n\n /**\n * Clicks the previous button.\n */\n public async clickPreviousButton(): Promise<void> {\n const button = await this.#getPreviousButton();\n\n if (button === null) {\n throw new Error('Could not find the previous button.');\n }\n\n if (await this.#buttonIsDisabled(button)) {\n throw new Error(\n 'Could not click the previous button because it is disabled.',\n );\n }\n\n await button.click();\n }\n\n /**\n * Gets the current page number.\n */\n public async getCurrentPage(): Promise<number> {\n const currentPage = await this.locatorForOptional(\n 'button.sky-paging-current',\n )();\n\n if (currentPage === null) {\n throw new Error('Could not find current page.');\n }\n\n return parseInt(await currentPage.text());\n }\n\n /**\n * Gets the paging content.\n */\n public async getPagingContent(): Promise<SkyPagingContentHarness> {\n return await this.locatorFor(SkyPagingContentHarness)();\n }\n\n public async getPagingLabel(): Promise<string> {\n const pageNav = await this.locatorForOptional('nav.sky-paging')();\n\n if (pageNav === null) {\n throw new Error('Could not find paging label.');\n }\n\n return (await pageNav.getAttribute('aria-label')) as string;\n }\n\n async #buttonIsDisabled(button: TestElement): Promise<boolean> {\n const disabled = await button.getAttribute('disabled');\n return disabled !== null;\n }\n}\n","import { SkyQueryableComponentHarness } from '@skyux/core/testing';\n\n/**\n * Harness to query inside a repeater item context menu component in tests.\n * @internal\n */\nexport class SkyRepeaterItemContextMenuHarness extends SkyQueryableComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-repeater-item-context-menu';\n}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyQueryableComponentHarness } from '@skyux/core/testing';\nimport { SkyCheckboxHarness } from '@skyux/forms/testing';\nimport { SkyChevronHarness } from '@skyux/indicators/testing';\nimport { SkyInlineFormHarness } from '@skyux/inline-form/testing';\nimport {\n SkyDropdownHarness,\n SkyDropdownHarnessFilters,\n} from '@skyux/popovers/testing';\n\nimport { SkyRepeaterItemContextMenuHarness } from './repeater-item-context-menu-harness';\nimport { SkyRepeaterItemHarnessFilters } from './repeater-item-harness-filters';\n\n/**\n * Harness for interacting with a repeater item component in tests.\n */\nexport class SkyRepeaterItemHarness extends SkyQueryableComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-repeater-item';\n\n #getBackToTop = this.locatorForOptional(\n 'button.sky-repeater-item-reorder-top',\n );\n\n #getCheckbox = this.locatorForOptional(SkyCheckboxHarness);\n\n #getChevron = this.locatorForOptional(SkyChevronHarness);\n\n #getContent = this.locatorFor('.sky-repeater-item-content');\n\n #getContext = this.locatorFor(SkyRepeaterItemContextMenuHarness);\n\n #getItem = this.locatorFor('.sky-repeater-item');\n\n #getReorderHandle = this.locatorForOptional(\n 'button.sky-repeater-item-grab-handle',\n );\n\n #getTitle = this.locatorFor('.sky-repeater-item-title');\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkyRepeaterItemHarness` that meets certain criteria.\n */\n public static with(\n filters: SkyRepeaterItemHarnessFilters,\n ): HarnessPredicate<SkyRepeaterItemHarness> {\n return SkyRepeaterItemHarness.getDataSkyIdPredicate(filters)\n .addOption('contentText', filters.contentText, async (harness, text) => {\n const content = await harness.getContentText();\n return await HarnessPredicate.stringMatches(content, text);\n })\n .addOption('titleText', filters.titleText, async (harness, text) => {\n const title = await harness.getTitleText();\n return await HarnessPredicate.stringMatches(title, text);\n });\n }\n\n /**\n * Clicks on the repeater item.\n */\n public async click(): Promise<void> {\n await (await this.#getItem()).click();\n }\n\n /**\n * Collapses the repeater item, or does nothing if already collapsed.\n */\n public async collapse(): Promise<void> {\n const chevron = await this.#getChevron();\n if (chevron) {\n if ((await chevron.getDirection()) === 'up') {\n await chevron.toggle();\n }\n return;\n }\n throw new Error(\n 'Could not collapse the repeater item because it is not collapsible.',\n );\n }\n\n /**\n * Deselects the repeater item.\n */\n public async deselect(): Promise<void> {\n const checkbox = await this.#getCheckbox();\n if (!checkbox) {\n throw new Error(\n 'Could not deselect the repeater item because it is not selectable.',\n );\n }\n\n await checkbox.uncheck();\n }\n\n /**\n * Expands the repeater item, or does nothing if already expanded.\n */\n public async expand(): Promise<void> {\n const chevron = await this.#getChevron();\n if (chevron) {\n if ((await chevron.getDirection()) === 'down') {\n await chevron.toggle();\n }\n return;\n }\n throw new Error(\n 'Could not expand the repeater item because it is not collapsible.',\n );\n }\n\n /**\n * Gets a harness for the dropdown inside the context menu.\n */\n public async getContextMenuDropdown(\n filters?: SkyDropdownHarnessFilters,\n ): Promise<SkyDropdownHarness> {\n return await (\n await this.#getContext()\n ).queryHarness(SkyDropdownHarness.with(filters || {}));\n }\n\n /**\n * Gets the text of the repeater item content.\n */\n public async getContentText(): Promise<string> {\n return await (await this.#getContent()).text();\n }\n\n /**\n * Gets the inline form harness.\n */\n public async getInlineForm(): Promise<SkyInlineFormHarness> {\n return await this.locatorFor(SkyInlineFormHarness)();\n }\n\n /**\n * Gets the item name.\n */\n public async getItemName(): Promise<string | null> {\n return await (await this.#getItem()).getAttribute('aria-label');\n }\n\n /**\n * Gets the text of the repeater item title.\n */\n public async getTitleText(): Promise<string> {\n return await (await this.#getTitle()).text();\n }\n\n /**\n * Whether the repeater item is collapsible.\n */\n public async isCollapsible(): Promise<boolean> {\n return !!(await this.#getChevron());\n }\n\n /**\n * Whether a selectable repeater item is disabled.\n */\n public async isDisabled(): Promise<boolean> {\n return (await (await this.#getCheckbox())?.isDisabled()) || false;\n }\n\n /**\n * Whether the repeater item is expanded, or throws an error informing of the lack of collapsibility.\n */\n public async isExpanded(): Promise<boolean> {\n const chevron = await this.#getChevron();\n if (chevron) {\n return (await chevron.getDirection()) === 'up';\n }\n throw new Error(\n 'Could not determine if repeater item is expanded because it is not collapsible.',\n );\n }\n\n /**\n * Whether the repeater item is reorderable.\n */\n public async isReorderable(): Promise<boolean> {\n return !!(await this.#getReorderHandle());\n }\n\n /**\n * Whether a repeater item has selection enabled.\n */\n public async isSelectable(): Promise<boolean> {\n return !!(await this.#getCheckbox());\n }\n\n /**\n * Whether a selectable repeater item is selected. Throws an error if the item is not selectable.\n */\n public async isSelected(): Promise<boolean> {\n const checkbox = await this.#getCheckbox();\n if (!checkbox) {\n throw new Error(\n 'Could not determine if repeater item is selected because it is not selectable.',\n );\n }\n\n return await checkbox.isChecked();\n }\n\n /**\n * Selects the repeater item.\n */\n public async select(): Promise<void> {\n const checkbox = await this.#getCheckbox();\n if (!checkbox) {\n throw new Error(\n 'Could not select the repeater item because it is not selectable.',\n );\n }\n\n await checkbox.check();\n }\n\n /**\n * Moves the repeater item to the top of the list\n */\n public async sendToTop(): Promise<void> {\n if (await this.isReorderable()) {\n await (await this.#getBackToTop())?.click();\n } else {\n throw new Error(\n 'Could not send to top because the repeater is not reorderable.',\n );\n }\n }\n}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyComponentHarness } from '@skyux/core/testing';\n\nimport { SkyRepeaterHarnessFilters } from './repeater-harness-filters';\nimport { SkyRepeaterItemHarness } from './repeater-item-harness';\nimport { SkyRepeaterItemHarnessFilters } from './repeater-item-harness-filters';\n\n/**\n * Harness for interacting with a repeater component in tests.\n */\nexport class SkyRepeaterHarness extends SkyComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-repeater';\n\n #getRepeater = this.locatorFor('.sky-repeater');\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkyRepeaterHarness` that meets certain criteria.\n */\n public static with(\n filters: SkyRepeaterHarnessFilters,\n ): HarnessPredicate<SkyRepeaterHarness> {\n return SkyRepeaterHarness.getDataSkyIdPredicate(filters);\n }\n\n /**\n * Gets a list of child repeater items.\n */\n public async getRepeaterItems(\n filters?: SkyRepeaterItemHarnessFilters,\n ): Promise<SkyRepeaterItemHarness[]> {\n return await this.locatorForAll(\n SkyRepeaterItemHarness.with(filters || {}),\n )();\n }\n\n /**\n * Gets the aria-label for the repeater list\n */\n public async getAriaLabel(): Promise<string | null> {\n return await (await this.#getRepeater()).getAttribute('aria-label');\n }\n}\n","import { DebugElement } from '@angular/core';\nimport { ComponentFixture } from '@angular/core/testing';\nimport { By } from '@angular/platform-browser';\nimport { SkyAppTestUtility } from '@skyux-sdk/testing';\n\nimport { SkySortFixtureMenu } from './sort-fixture-menu';\nimport { SkySortFixtureMenuItem } from './sort-fixture-menu-item';\n\n/**\n * Provides information for and interaction with a SKY UX sort component.\n * By using the fixture API, a test insulates itself against updates to the internals\n * of a component, such as changing its DOM structure.\n * @internal\n */\nexport class SkySortFixture {\n /**\n * The active sort menu item, if one exists. Menu items are only available when the menu dropdown\n * is open. If the menu dropdown is closed, this property will be undefined.\n */\n public get activeMenuItem(): SkySortFixtureMenuItem | undefined {\n return this.menuItems?.find((x) => x.isActive);\n }\n\n /**\n * The sort menu's properties.\n */\n public get menu(): SkySortFixtureMenu {\n /* istanbul ignore next */\n const buttonText =\n SkyAppTestUtility.getText(this.#getSortButtonTextEl()) || '';\n return {\n buttonText,\n isOpen: this.#getDropdownMenuEl() !== null,\n };\n }\n\n /**\n * The properties of each sort menu item. Menu items are only available when the menu dropdown\n * is open. If the menu dropdown is closed, this property will be undefined.\n */\n public get menuItems(): SkySortFixtureMenuItem[] | undefined {\n // Return undefined when we can't determine what the options are.\n // We do this to avoid any confusion with an empty set of options.\n if (!this.menu.isOpen) {\n return;\n }\n\n return this.#getSortItems().map((item: HTMLElement, i: number) => {\n const itemButton = item.querySelector('button');\n\n return {\n index: i,\n isActive: item.classList.contains('sky-sort-item-selected'),\n text: SkyAppTestUtility.getText(itemButton),\n };\n });\n }\n\n #debugEl: DebugElement;\n #fixture: ComponentFixture<unknown>;\n\n constructor(fixture: ComponentFixture<unknown>, skyTestId: string) {\n this.#fixture = fixture;\n this.#debugEl = SkyAppTestUtility.getDebugElementByTestId(\n fixture,\n skyTestId,\n 'sky-sort',\n );\n }\n\n /**\n * Closes the sort dropdown menu if it isn't closed already.\n */\n public async closeMenu(): Promise<void> {\n // if the menu is already closed, do nothing\n if (!this.menu.isOpen) {\n return;\n }\n\n const menu = this.#getDropdownButtonEl();\n\n if (menu !== undefined && !menu.disabled) {\n menu.click();\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n }\n }\n\n /**\n * Opens the sort dropdown menu if it isn't open already.\n */\n public async openMenu(): Promise<void> {\n // if the menu is already open, do nothing\n if (this.menu.isOpen) {\n return;\n }\n\n const menu = this.#getDropdownButtonEl();\n\n if (menu !== undefined && !menu.disabled) {\n menu.click();\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n }\n }\n\n /**\n * Ensures the sort menu is open and selects the menu item with the specified index, if it exists.\n * @param menuItemIndex The index of the menu item to select.\n */\n public async selectMenuItemByIndex(menuItemIndex: number): Promise<void> {\n return await this.#selectMenuItem((_item: HTMLElement, index: number) => {\n return index === menuItemIndex;\n });\n }\n\n /**\n * Ensures the sort menu is open and selects the menu item with the specified text,\n * if a matching item is available.\n * @param menuItemText The text of the menu item to select.\n */\n public async selectMenuItemByText(\n menuItemText: string | undefined,\n ): Promise<void> {\n /* istanbul ignore else */\n if (menuItemText) {\n return await this.#selectMenuItem((item: HTMLElement) => {\n return SkyAppTestUtility.getText(item) === menuItemText;\n });\n } else {\n return;\n }\n }\n\n //#region helpers\n\n #getDropdownButtonEl(): HTMLButtonElement | undefined {\n return this.#debugEl.query(By.css('.sky-dropdown-button')).nativeElement;\n }\n\n #getDropdownMenuEl(): HTMLElement | null {\n return document.querySelector('sky-overlay .sky-dropdown-menu');\n }\n\n #getSortButtonTextEl(): HTMLElement | undefined {\n return this.#debugEl.query(By.css('.sky-sort-btn-text')).nativeElement;\n }\n\n #getSortItems(): HTMLElement[] {\n const resultNodes = document.querySelectorAll('sky-overlay .sky-sort-item');\n return Array.prototype.slice.call(resultNodes);\n }\n\n /**\n * Ensures the sort menu is open and selects the menu item via a selection predicate,\n * if a matching item is available.\n * @param selectionPredicate The menu item selector method to use.\n */\n async #selectMenuItem(\n selectionPredicate: (item: HTMLElement, index: number) => boolean,\n ): Promise<void> {\n // make sure the sort menu is open\n if (!this.menu.isOpen) {\n await this.openMenu();\n }\n\n // find the requested menu item using the selectionPredicate parameter\n const items = this.#getSortItems();\n const targetItem = items.find((item: HTMLElement, index: number) =>\n selectionPredicate(item, index),\n );\n\n // if we found the item, select it\n if (targetItem) {\n // we've got the '.sky-sort-item' div, but we want to click it's child button element\n const targetButton = targetItem.querySelector('button');\n targetButton?.click();\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n }\n }\n\n //#endregion\n}\n","import { NgModule } from '@angular/core';\nimport { NoopAnimationsModule } from '@angular/platform-browser/animations';\nimport { SkySortModule } from '@skyux/lists';\n\n/**\n * @internal\n */\n@NgModule({\n imports: [NoopAnimationsModule],\n exports: [SkySortModule],\n})\nexport class SkySortTestingModule {}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyDropdownItemHarness } from '@skyux/popovers/testing';\n\nimport { SkySortItemHarnessFilters } from './sort-item-harness-filters';\n\n/**\n * Harness for interacting with a sort item component in tests.\n */\nexport class SkySortItemHarness extends SkyDropdownItemHarness {\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkySortItemHarness` that meets certain criteria.\n */\n public static override with(\n filters: SkySortItemHarnessFilters,\n ): HarnessPredicate<SkySortItemHarness> {\n return new HarnessPredicate(this, filters).addOption(\n 'text',\n filters.text,\n async (harness, text) => {\n const menuItemText = await harness.getText();\n return await HarnessPredicate.stringMatches(menuItemText, text);\n },\n );\n }\n\n /**\n * Clicks the sort item.\n */\n public override async click(): Promise<void> {\n await super.click();\n }\n\n /**\n * Gets the sort item role.\n * This can't be set on sort items and should not be exposed.\n * @internal\n */\n public override async getAriaRole(): Promise<string | null> {\n return await super.getAriaRole();\n }\n\n /**\n * Gets the sort item text.\n */\n public override async getText(): Promise<string | null> {\n return await super.getText();\n }\n\n /**\n * Whether the sort item is active.\n */\n public async isActive(): Promise<boolean> {\n return await (\n await this.locatorFor('.sky-sort-item')()\n ).hasClass('sky-sort-item-selected');\n }\n}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyComponentHarness } from '@skyux/core/testing';\nimport {\n SkyDropdownHarness,\n SkyDropdownMenuHarness,\n} from '@skyux/popovers/testing';\n\nimport { SkySortHarnessFilters } from './sort-harness-filters';\nimport { SkySortItemHarness } from './sort-item-harness';\nimport { SkySortItemHarnessFilters } from './sort-item-harness-filters';\n\n/**\n * Harness for interacting with a sort component in tests.\n */\nexport class SkySortHarness extends SkyComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-sort';\n\n #getDropdown = this.locatorFor(SkyDropdownHarness);\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkySortHarness` that meets certain criteria.\n */\n public static with(\n filters: SkySortHarnessFilters,\n ): HarnessPredicate<SkySortHarness> {\n return SkySortHarness.getDataSkyIdPredicate(filters);\n }\n\n /**\n * Clicks the sort component.\n */\n public async click(): Promise<void> {\n await (await this.#getDropdown()).clickDropdownButton();\n }\n\n /**\n * Gets the aria-label value.\n */\n public async getAriaLabel(): Promise<string | null> {\n return await (await this.#getDropdown()).getAriaLabel();\n }\n\n /**\n * Gets the text that appears on the sort button.\n */\n public async getButtonText(): Promise<string> {\n const text = await (\n await this.locatorForOptional('.sky-sort-btn-text')()\n )?.text();\n\n return text ?? '';\n }\n\n /**\n * Gets a harness for a specific sort item that meets certain criteria.\n */\n public async getItem(\n filters: SkySortItemHarnessFilters,\n ): Promise<SkySortItemHarness> {\n const menuHarness = await this.#getMenuHarness();\n\n return await menuHarness.queryHarness(SkySortItemHarness.with(filters));\n }\n\n /**\n * Gets an array of all sort items.\n */\n public async getItems(\n filters?: SkySortItemHarnessFilters,\n ): Promise<SkySortItemHarness[]> {\n const menuHarness = await this.#getMenuHarness();\n\n const items = await (filters\n ? menuHarness.queryHarnesses(SkySortItemHarness.with(filters))\n : menuHarness.queryHarnesses(SkySortItemHarness));\n\n if (filters && !items.length) {\n throw new Error(\n `Unable to find any sort items with filter(s): ${JSON.stringify(filters)}`,\n );\n }\n\n return items;\n }\n\n async #getMenuHarness(): Promise<SkyDropdownMenuHarness> {\n try {\n // eslint-disable-next-line no-var\n var menuHarness = await (await this.#getDropdown()).getDropdownMenu();\n } catch {\n throw new Error(\n 'Unable to locate any sort items because the sort menu is not open.',\n );\n }\n\n return menuHarness;\n }\n}\n","import { DebugElement } from '@angular/core';\nimport { ComponentFixture } from '@angular/core/testing';\nimport { SkyAppTestUtility } from '@skyux-sdk/testing';\n\n/**\n * Provides information for and interaction with a SKY UX infinite scroll component.\n * By using the fixture API, a test insulates itself against updates to the internals\n * of a component, such as changing its DOM structure.\n * @deprecated Use `SkyInfiniteScrollHarness` instead.\n * @internal\n */\nexport class SkyInfiniteScrollFixture {\n #debugElement: DebugElement;\n #fixture: ComponentFixture<unknown>;\n\n constructor(fixture: ComponentFixture<unknown>, skyTestId: string) {\n this.#fixture = fixture;\n this.#debugElement = SkyAppTestUtility.getDebugElementByTestId(\n fixture,\n skyTestId,\n 'sky-infinite-scroll',\n );\n }\n\n public get loadMoreButtonIsVisible(): boolean {\n return this.#getButton() !== null;\n }\n\n public async clickLoadMoreButton(): Promise<void> {\n const button = this.#getButton();\n\n if (button !== null) {\n button.click();\n }\n\n this.#fixture.detectChanges();\n await this.#fixture.whenStable();\n }\n\n #getButton(): HTMLButtonElement | null {\n return (\n this.#debugElement.nativeElement as HTMLElement\n ).querySelector<HTMLButtonElement>('.sky-infinite-scroll .sky-btn');\n }\n}\n","import { NgModule } from '@angular/core';\nimport { SkyInfiniteScrollModule } from '@skyux/lists';\n\n/**\n * @internal\n */\n@NgModule({\n exports: [SkyInfiniteScrollModule],\n})\nexport class SkyInfiniteScrollTestingModule {}\n","import { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyComponentHarness } from '@skyux/core/testing';\n\nimport { SkyInfiniteScrollHarnessFilters } from './infinite-scroll-harness-filters';\n\n/**\n * Harness for interacting with an infinite scroll component in tests.\n */\nexport class SkyInfiniteScrollHarness extends SkyComponentHarness {\n /**\n * @internal\n */\n public static hostSelector = 'sky-infinite-scroll';\n\n #showMoreButton = this.locatorForOptional(\n 'button.sky-infinite-scroll-load-more-button',\n );\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a\n * `SkyInfiniteScrollHarness` that meets certain criteria.\n */\n public static with(\n filters: SkyInfiniteScrollHarnessFilters,\n ): HarnessPredicate<SkyInfiniteScrollHarness> {\n return this.getDataSkyIdPredicate(filters);\n }\n\n /**\n * Whether the infinite scroll is enabled.\n */\n public async isEnabled(): Promise<boolean> {\n return (await this.locatorForOptional('.sky-infinite-scroll')()) !== null;\n }\n\n /**\n * Whether the infinite scroll is loading.\n */\n public async isLoading(): Promise<boolean> {\n return (await this.isEnabled()) && (await this.#showMoreButton()) === null;\n }\n\n /**\n * Clicks the \"Load more\" button.\n */\n public async loadMore(): Promise<void> {\n const button = await this.#showMoreButton();\n if (button) {\n await button.click();\n } else {\n if (!(await this.isEnabled())) {\n throw new Error(\n 'Unable to click the \"Load more\" button because the infinite scroll is not enabled.',\n );\n } else {\n throw new Error(\n 'Unable to click the \"Load more\" button because the infinite scroll is loading.',\n );\n }\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAMA;;;;;AAKG;MACU,sBAAsB,CAAA;AACjC,IAAA,aAAa;AACb,IAAA,QAAQ;IAER,WAAY,CAAA,OAAkC,EAAE,SAAiB,EAAA;AAC/D,QAAA,IAAI,CAAC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