@skyux/lists 12.41.1 → 12.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/skyux-lists-testing.mjs +88 -44
- package/fesm2022/skyux-lists-testing.mjs.map +1 -1
- package/fesm2022/skyux-lists.mjs +1 -1
- package/fesm2022/skyux-lists.mjs.map +1 -1
- package/lib/modules/repeater/repeater-item.component.d.ts +1 -1
- package/package.json +11 -11
- package/testing/modules/repeater/repeater-harness.d.ts +5 -0
- package/testing/modules/repeater/repeater-item-context-menu-harness.d.ts +11 -0
- package/testing/modules/repeater/repeater-item-harness.d.ts +32 -14
- package/testing/public-api.d.ts +1 -0
|
@@ -7,8 +7,9 @@ import { SkyTokenHarness, SkyChevronHarness } from '@skyux/indicators/testing';
|
|
|
7
7
|
import { By } from '@angular/platform-browser';
|
|
8
8
|
import { ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
9
9
|
import { SkyCheckboxHarness } from '@skyux/forms/testing';
|
|
10
|
+
import { SkyInlineFormHarness } from '@skyux/inline-form/testing';
|
|
11
|
+
import { SkyDropdownHarness, SkyDropdownItemHarness } from '@skyux/popovers/testing';
|
|
10
12
|
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
|
11
|
-
import { SkyDropdownItemHarness, SkyDropdownHarness } from '@skyux/popovers/testing';
|
|
12
13
|
|
|
13
14
|
/**
|
|
14
15
|
* Provides information for and interaction with a SKY UX filter button component.
|
|
@@ -533,6 +534,17 @@ class SkyPagingHarness extends SkyComponentHarness {
|
|
|
533
534
|
}
|
|
534
535
|
}
|
|
535
536
|
|
|
537
|
+
/**
|
|
538
|
+
* Harness to query inside a repeater item context menu component in tests.
|
|
539
|
+
* @internal
|
|
540
|
+
*/
|
|
541
|
+
class SkyRepeaterItemContextMenuHarness extends SkyQueryableComponentHarness {
|
|
542
|
+
/**
|
|
543
|
+
* @internal
|
|
544
|
+
*/
|
|
545
|
+
static { this.hostSelector = 'sky-repeater-item-context-menu'; }
|
|
546
|
+
}
|
|
547
|
+
|
|
536
548
|
/**
|
|
537
549
|
* Harness for interacting with a repeater item component in tests.
|
|
538
550
|
*/
|
|
@@ -545,6 +557,7 @@ class SkyRepeaterItemHarness extends SkyQueryableComponentHarness {
|
|
|
545
557
|
#getCheckbox = this.locatorForOptional(SkyCheckboxHarness);
|
|
546
558
|
#getChevron = this.locatorForOptional(SkyChevronHarness);
|
|
547
559
|
#getContent = this.locatorFor('.sky-repeater-item-content');
|
|
560
|
+
#getContext = this.locatorFor(SkyRepeaterItemContextMenuHarness);
|
|
548
561
|
#getItem = this.locatorFor('.sky-repeater-item');
|
|
549
562
|
#getReorderHandle = this.locatorForOptional('button.sky-repeater-item-grab-handle');
|
|
550
563
|
#getTitle = this.locatorFor('.sky-repeater-item-title');
|
|
@@ -570,40 +583,46 @@ class SkyRepeaterItemHarness extends SkyQueryableComponentHarness {
|
|
|
570
583
|
await (await this.#getItem()).click();
|
|
571
584
|
}
|
|
572
585
|
/**
|
|
573
|
-
*
|
|
586
|
+
* Collapses the repeater item, or does nothing if already collapsed.
|
|
574
587
|
*/
|
|
575
|
-
async
|
|
576
|
-
|
|
588
|
+
async collapse() {
|
|
589
|
+
const chevron = await this.#getChevron();
|
|
590
|
+
if (chevron) {
|
|
591
|
+
if ((await chevron.getDirection()) === 'up') {
|
|
592
|
+
await chevron.toggle();
|
|
593
|
+
}
|
|
594
|
+
return;
|
|
595
|
+
}
|
|
596
|
+
throw new Error('Could not collapse the repeater item because it is not collapsible.');
|
|
577
597
|
}
|
|
578
598
|
/**
|
|
579
|
-
*
|
|
599
|
+
* Deselects the repeater item.
|
|
580
600
|
*/
|
|
581
|
-
async
|
|
601
|
+
async deselect() {
|
|
582
602
|
const checkbox = await this.#getCheckbox();
|
|
583
603
|
if (!checkbox) {
|
|
584
|
-
throw new Error('Could not
|
|
604
|
+
throw new Error('Could not deselect the repeater item because it is not selectable.');
|
|
585
605
|
}
|
|
586
|
-
|
|
606
|
+
await checkbox.uncheck();
|
|
587
607
|
}
|
|
588
608
|
/**
|
|
589
|
-
*
|
|
609
|
+
* Expands the repeater item, or does nothing if already expanded.
|
|
590
610
|
*/
|
|
591
|
-
async
|
|
592
|
-
const
|
|
593
|
-
if (
|
|
594
|
-
|
|
611
|
+
async expand() {
|
|
612
|
+
const chevron = await this.#getChevron();
|
|
613
|
+
if (chevron) {
|
|
614
|
+
if ((await chevron.getDirection()) === 'down') {
|
|
615
|
+
await chevron.toggle();
|
|
616
|
+
}
|
|
617
|
+
return;
|
|
595
618
|
}
|
|
596
|
-
|
|
619
|
+
throw new Error('Could not expand the repeater item because it is not collapsible.');
|
|
597
620
|
}
|
|
598
621
|
/**
|
|
599
|
-
*
|
|
622
|
+
* Gets a harness for the dropdown inside the context menu.
|
|
600
623
|
*/
|
|
601
|
-
async
|
|
602
|
-
|
|
603
|
-
if (!checkbox) {
|
|
604
|
-
throw new Error('Could not deselect the repeater item because it is not selectable.');
|
|
605
|
-
}
|
|
606
|
-
await checkbox.uncheck();
|
|
624
|
+
async getContextMenuDropdown(filters) {
|
|
625
|
+
return await (await this.#getContext()).queryHarness(SkyDropdownHarness.with(filters || {}));
|
|
607
626
|
}
|
|
608
627
|
/**
|
|
609
628
|
* Gets the text of the repeater item content.
|
|
@@ -611,6 +630,18 @@ class SkyRepeaterItemHarness extends SkyQueryableComponentHarness {
|
|
|
611
630
|
async getContentText() {
|
|
612
631
|
return await (await this.#getContent()).text();
|
|
613
632
|
}
|
|
633
|
+
/**
|
|
634
|
+
* Gets the inline form harness.
|
|
635
|
+
*/
|
|
636
|
+
async getInlineForm() {
|
|
637
|
+
return await this.locatorFor(SkyInlineFormHarness)();
|
|
638
|
+
}
|
|
639
|
+
/**
|
|
640
|
+
* Gets the item name.
|
|
641
|
+
*/
|
|
642
|
+
async getItemName() {
|
|
643
|
+
return await (await this.#getItem()).getAttribute('aria-label');
|
|
644
|
+
}
|
|
614
645
|
/**
|
|
615
646
|
* Gets the text of the repeater item title.
|
|
616
647
|
*/
|
|
@@ -623,6 +654,12 @@ class SkyRepeaterItemHarness extends SkyQueryableComponentHarness {
|
|
|
623
654
|
async isCollapsible() {
|
|
624
655
|
return !!(await this.#getChevron());
|
|
625
656
|
}
|
|
657
|
+
/**
|
|
658
|
+
* Whether a selectable repeater item is disabled.
|
|
659
|
+
*/
|
|
660
|
+
async isDisabled() {
|
|
661
|
+
return (await (await this.#getCheckbox())?.isDisabled()) || false;
|
|
662
|
+
}
|
|
626
663
|
/**
|
|
627
664
|
* Whether the repeater item is expanded, or throws an error informing of the lack of collapsibility.
|
|
628
665
|
*/
|
|
@@ -634,36 +671,36 @@ class SkyRepeaterItemHarness extends SkyQueryableComponentHarness {
|
|
|
634
671
|
throw new Error('Could not determine if repeater item is expanded because it is not collapsible.');
|
|
635
672
|
}
|
|
636
673
|
/**
|
|
637
|
-
*
|
|
674
|
+
* Whether the repeater item is reorderable.
|
|
638
675
|
*/
|
|
639
|
-
async
|
|
640
|
-
|
|
641
|
-
if (chevron) {
|
|
642
|
-
if ((await chevron.getDirection()) === 'down') {
|
|
643
|
-
await chevron.toggle();
|
|
644
|
-
}
|
|
645
|
-
return;
|
|
646
|
-
}
|
|
647
|
-
throw new Error('Could not expand the repeater item because it is not collapsible.');
|
|
676
|
+
async isReorderable() {
|
|
677
|
+
return !!(await this.#getReorderHandle());
|
|
648
678
|
}
|
|
649
679
|
/**
|
|
650
|
-
*
|
|
680
|
+
* Whether a repeater item has selection enabled.
|
|
651
681
|
*/
|
|
652
|
-
async
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
682
|
+
async isSelectable() {
|
|
683
|
+
return !!(await this.#getCheckbox());
|
|
684
|
+
}
|
|
685
|
+
/**
|
|
686
|
+
* Whether a selectable repeater item is selected. Throws an error if the item is not selectable.
|
|
687
|
+
*/
|
|
688
|
+
async isSelected() {
|
|
689
|
+
const checkbox = await this.#getCheckbox();
|
|
690
|
+
if (!checkbox) {
|
|
691
|
+
throw new Error('Could not determine if repeater item is selected because it is not selectable.');
|
|
659
692
|
}
|
|
660
|
-
|
|
693
|
+
return await checkbox.isChecked();
|
|
661
694
|
}
|
|
662
695
|
/**
|
|
663
|
-
*
|
|
696
|
+
* Selects the repeater item.
|
|
664
697
|
*/
|
|
665
|
-
async
|
|
666
|
-
|
|
698
|
+
async select() {
|
|
699
|
+
const checkbox = await this.#getCheckbox();
|
|
700
|
+
if (!checkbox) {
|
|
701
|
+
throw new Error('Could not select the repeater item because it is not selectable.');
|
|
702
|
+
}
|
|
703
|
+
await checkbox.check();
|
|
667
704
|
}
|
|
668
705
|
/**
|
|
669
706
|
* Moves the repeater item to the top of the list
|
|
@@ -686,6 +723,7 @@ class SkyRepeaterHarness extends SkyComponentHarness {
|
|
|
686
723
|
* @internal
|
|
687
724
|
*/
|
|
688
725
|
static { this.hostSelector = 'sky-repeater'; }
|
|
726
|
+
#getRepeater = this.locatorFor('.sky-repeater');
|
|
689
727
|
/**
|
|
690
728
|
* Gets a `HarnessPredicate` that can be used to search for a
|
|
691
729
|
* `SkyRepeaterHarness` that meets certain criteria.
|
|
@@ -699,6 +737,12 @@ class SkyRepeaterHarness extends SkyComponentHarness {
|
|
|
699
737
|
async getRepeaterItems(filters) {
|
|
700
738
|
return await this.locatorForAll(SkyRepeaterItemHarness.with(filters || {}))();
|
|
701
739
|
}
|
|
740
|
+
/**
|
|
741
|
+
* Gets the aria-label for the repeater list
|
|
742
|
+
*/
|
|
743
|
+
async getAriaLabel() {
|
|
744
|
+
return await (await this.#getRepeater()).getAttribute('aria-label');
|
|
745
|
+
}
|
|
702
746
|
}
|
|
703
747
|
|
|
704
748
|
/**
|
|
@@ -1069,5 +1113,5 @@ class SkyInfiniteScrollHarness extends SkyComponentHarness {
|
|
|
1069
1113
|
* Generated bundle index. Do not edit.
|
|
1070
1114
|
*/
|
|
1071
1115
|
|
|
1072
|
-
export { SkyFilterButtonHarness, SkyFilterFixtureButton, SkyFilterFixtureSummary, SkyFilterInlineHarness, SkyFilterInlineItemHarness, SkyFilterSummaryHarness, SkyFilterSummaryItemHarness, SkyFilterTestingModule, SkyInfiniteScrollFixture, SkyInfiniteScrollHarness, SkyInfiniteScrollTestingModule, SkyPagingContentHarness, SkyPagingFixture, SkyPagingHarness, SkyPagingTestingModule, SkyRepeaterHarness, SkyRepeaterItemHarness, SkySortFixture, SkySortHarness, SkySortItemHarness, SkySortTestingModule };
|
|
1116
|
+
export { SkyFilterButtonHarness, SkyFilterFixtureButton, SkyFilterFixtureSummary, SkyFilterInlineHarness, SkyFilterInlineItemHarness, SkyFilterSummaryHarness, SkyFilterSummaryItemHarness, SkyFilterTestingModule, SkyInfiniteScrollFixture, SkyInfiniteScrollHarness, SkyInfiniteScrollTestingModule, SkyPagingContentHarness, SkyPagingFixture, SkyPagingHarness, SkyPagingTestingModule, SkyRepeaterHarness, SkyRepeaterItemContextMenuHarness, SkyRepeaterItemHarness, SkySortFixture, SkySortHarness, SkySortItemHarness, SkySortTestingModule };
|
|
1073
1117
|
//# sourceMappingURL=skyux-lists-testing.mjs.map
|
|
@@ -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-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 { HarnessPredicate } from '@angular/cdk/testing';\nimport { SkyQueryableComponentHarness } from '@skyux/core/testing';\nimport { SkyCheckboxHarness } from '@skyux/forms/testing';\nimport { SkyChevronHarness } from '@skyux/indicators/testing';\n\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 #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 * Whether the repeater item is selectable.\n */\n public async isSelectable(): Promise<boolean> {\n return !!(await this.#getCheckbox());\n }\n\n /**\n * Whether the repeater item is selected.\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 * 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 * 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 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 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 * 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 * 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 * Whether the repeater item is reorderable.\n */\n public async isReorderable(): Promise<boolean> {\n return !!(await this.#getReorderHandle());\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 /**\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","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,WAAA,CAAY,OAAkC,EAAE,SAAiB,EAAA;AAC/D,QAAA,IAAI,CAAC,QAAQ,GAAG,OAAO;AACvB,QAAA,IAAI,CAAC,aAAa,GAAG,iBAAiB,CAAC,uBAAuB,CAC5D,OAAO,EACP,SAAS,EACT,mBAAmB,CACpB;;AAGH;;AAEG;AACI,IAAA,MAAM,iBAAiB,GAAA;AAC5B,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,iBAAiB,EAAE;QACvC,IAAI,MAAM,YAAY,iBAAiB,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;YAC3D,MAAM,CAAC,KAAK,EAAE;;AAEhB,QAAA,IAAI,CAAC,QAAQ,CAAC,aAAa,EAAE;AAC7B,QAAA,MAAM,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE;;AAGlC,IAAA,IAAW,MAAM,GAAA;AACf,QAAA,MAAM,aAAa,GAAG,IAAI,CAAC,iBAAiB,EAAE;QAC9C,OAAO;YACL,YAAY,EAAE,aAAa,EAAE,YAAY,CAAC,eAAe,CAAC,IAAI,SAAS;YACvE,YAAY,EAAE,aAAa,EAAE,YAAY,CAAC,eAAe,CAAC,KAAK,MAAM;AACrE,YAAA,QAAQ,EAAE,CAAC,CAAC,aAAa,EAA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1C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,uBAAuB,CAAC;AACnC,iBAAA;;;ACHD;;AAEG;AACG,MAAO,wBAAyB,SAAQ,mBAAmB,CAAA;AAC/D;;AAEG;aACW,IAAA,CAAA,YAAY,GAAG,qBAAqB,CAAC;AAEnD,IAAA,eAAe,GAAG,IAAI,CAAC,kBAAkB,CACvC,6CAA6C,CAC9C;AAED;;;AAGG;IACI,OAAO,IAAI,CAChB,OAAwC,EAAA;AAExC,QAAA,OAAO,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC;;AAG5C;;AAEG;AACI,IAAA,MAAM,SAAS,GAAA;AACpB,QAAA,OAAO,CAAC,MAAM,IAAI,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,EAAE,MAAM,IAAI;;AAG3E;;AAEG;AACI,IAAA,MAAM,SAAS,GAAA;AACpB,QAAA,OAAO,CAAC,MAAM,IAAI,CAAC,SAAS,EAAE,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,WAAA,CAAY,OAAkC,EAAE,SAAiB,EAAA;AAC/D,QAAA,IAAI,CAAC,QAAQ,GAAG,OAAO;AACvB,QAAA,IAAI,CAAC,aAAa,GAAG,iBAAiB,CAAC,uBAAuB,CAC5D,OAAO,EACP,SAAS,EACT,mBAAmB,CACpB;;AAGH;;AAEG;AACI,IAAA,MAAM,iBAAiB,GAAA;AAC5B,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,iBAAiB,EAAE;QACvC,IAAI,MAAM,YAAY,iBAAiB,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;YAC3D,MAAM,CAAC,KAAK,EAAE;;AAEhB,QAAA,IAAI,CAAC,QAAQ,CAAC,aAAa,EAAE;AAC7B,QAAA,MAAM,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE;;AAGlC,IAAA,IAAW,MAAM,GAAA;AACf,QAAA,MAAM,aAAa,GAAG,IAAI,CAAC,iBAAiB,EAAE;QAC9C,OAAO;YACL,YAAY,EAAE,aAAa,EAAE,YAAY,CAAC,eAAe,CAAC,IAAI,SAAS;YACvE,YAAY,EA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