@skyux/lists 12.27.0 → 13.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/fesm2022/skyux-lists-testing.mjs +16 -16
  2. package/fesm2022/skyux-lists-testing.mjs.map +1 -1
  3. package/fesm2022/skyux-lists.mjs +88 -88
  4. package/fesm2022/skyux-lists.mjs.map +1 -1
  5. package/index.d.ts +627 -22
  6. package/package.json +15 -15
  7. package/testing/index.d.ts +640 -3
  8. package/lib/modules/filter/filter-button.component.d.ts +0 -59
  9. package/lib/modules/filter/filter-inline-item.component.d.ts +0 -8
  10. package/lib/modules/filter/filter-inline.component.d.ts +0 -8
  11. package/lib/modules/filter/filter-summary-item.component.d.ts +0 -27
  12. package/lib/modules/filter/filter-summary.component.d.ts +0 -8
  13. package/lib/modules/filter/filter.module.d.ts +0 -16
  14. package/lib/modules/infinite-scroll/infinite-scroll-dom-adapter.service.d.ts +0 -26
  15. package/lib/modules/infinite-scroll/infinite-scroll.component.d.ts +0 -37
  16. package/lib/modules/infinite-scroll/infinite-scroll.module.d.ts +0 -9
  17. package/lib/modules/paging/paging-content.component.d.ts +0 -5
  18. package/lib/modules/paging/paging.component.d.ts +0 -55
  19. package/lib/modules/paging/paging.module.d.ts +0 -13
  20. package/lib/modules/paging/types/paging-content-change-args.d.ts +0 -13
  21. package/lib/modules/repeater/repeater-adapter.service.d.ts +0 -17
  22. package/lib/modules/repeater/repeater-auto-scroll-options.d.ts +0 -9
  23. package/lib/modules/repeater/repeater-auto-scroll.service.d.ts +0 -11
  24. package/lib/modules/repeater/repeater-auto-scroller.d.ts +0 -6
  25. package/lib/modules/repeater/repeater-expand-mode-type.d.ts +0 -1
  26. package/lib/modules/repeater/repeater-item-content.component.d.ts +0 -8
  27. package/lib/modules/repeater/repeater-item-context-menu.component.d.ts +0 -9
  28. package/lib/modules/repeater/repeater-item-roles.type.d.ts +0 -5
  29. package/lib/modules/repeater/repeater-item-title.component.d.ts +0 -8
  30. package/lib/modules/repeater/repeater-item.component.d.ts +0 -134
  31. package/lib/modules/repeater/repeater-role.type.d.ts +0 -1
  32. package/lib/modules/repeater/repeater.component.d.ts +0 -74
  33. package/lib/modules/repeater/repeater.module.d.ts +0 -20
  34. package/lib/modules/repeater/repeater.service.d.ts +0 -32
  35. package/lib/modules/shared/sky-lists-resources.module.d.ts +0 -10
  36. package/lib/modules/sort/sort-item.component.d.ts +0 -24
  37. package/lib/modules/sort/sort-menu-heading.component.d.ts +0 -5
  38. package/lib/modules/sort/sort.component.d.ts +0 -29
  39. package/lib/modules/sort/sort.module.d.ts +0 -15
  40. package/lib/modules/sort/sort.service.d.ts +0 -11
  41. package/testing/legacy/filter/filter-fixture-button.d.ts +0 -21
  42. package/testing/legacy/filter/filter-fixture-summary.d.ts +0 -12
  43. package/testing/legacy/filter/filter-testing.module.d.ts +0 -10
  44. package/testing/legacy/filter/lists-filter-fixture-button.d.ts +0 -6
  45. package/testing/legacy/infinite-scroll/infinite-scroll-fixture.d.ts +0 -14
  46. package/testing/legacy/infinite-scroll/infinite-scroll-testing.module.d.ts +0 -10
  47. package/testing/legacy/paging/paging-fixture-button.d.ts +0 -8
  48. package/testing/legacy/paging/paging-fixture.d.ts +0 -32
  49. package/testing/legacy/paging/paging-testing.module.d.ts +0 -10
  50. package/testing/legacy/sort/sort-fixture-menu-item.d.ts +0 -8
  51. package/testing/legacy/sort/sort-fixture-menu.d.ts +0 -7
  52. package/testing/legacy/sort/sort-fixture.d.ts +0 -46
  53. package/testing/legacy/sort/sort-testing.module.d.ts +0 -11
  54. package/testing/modules/filter/filter-button-harness-filters.d.ts +0 -6
  55. package/testing/modules/filter/filter-button-harness.d.ts +0 -50
  56. package/testing/modules/filter/filter-inline-harness-filters.d.ts +0 -6
  57. package/testing/modules/filter/filter-inline-harness.d.ts +0 -27
  58. package/testing/modules/filter/filter-inline-item-harness-filters.d.ts +0 -6
  59. package/testing/modules/filter/filter-inline-item-harness.d.ts +0 -17
  60. package/testing/modules/filter/filter-summary-harness-filters.d.ts +0 -6
  61. package/testing/modules/filter/filter-summary-harness.d.ts +0 -27
  62. package/testing/modules/filter/filter-summary-item-harness-filters.d.ts +0 -6
  63. package/testing/modules/filter/filter-summary-item-harness.d.ts +0 -30
  64. package/testing/modules/infinite-scroll/infinite-scroll-harness-filters.d.ts +0 -6
  65. package/testing/modules/infinite-scroll/infinite-scroll-harness.d.ts +0 -30
  66. package/testing/modules/paging/page-control-harness-filters.d.ts +0 -11
  67. package/testing/modules/paging/page-control-harness.d.ts +0 -22
  68. package/testing/modules/paging/paging-content-harness.d.ts +0 -10
  69. package/testing/modules/paging/paging-harness-filters.d.ts +0 -6
  70. package/testing/modules/paging/paging-harness.d.ts +0 -40
  71. package/testing/modules/repeater/repeater-harness-filters.d.ts +0 -6
  72. package/testing/modules/repeater/repeater-harness.d.ts +0 -23
  73. package/testing/modules/repeater/repeater-item-harness-filters.d.ts +0 -14
  74. package/testing/modules/repeater/repeater-item-harness.d.ts +0 -70
  75. package/testing/modules/sort/sort-harness-filters.d.ts +0 -6
  76. package/testing/modules/sort/sort-harness.d.ts +0 -40
  77. package/testing/modules/sort/sort-item-harness-filters.d.ts +0 -10
  78. package/testing/modules/sort/sort-item-harness.d.ts +0 -31
  79. package/testing/public-api.d.ts +0 -35
@@ -1,40 +0,0 @@
1
- import { HarnessPredicate } from '@angular/cdk/testing';
2
- import { SkyComponentHarness } from '@skyux/core/testing';
3
- import { SkyPagingContentHarness } from './paging-content-harness';
4
- import { SkyPagingHarnessFilters } from './paging-harness-filters';
5
- /**
6
- * Harness for interacting with a paging component in tests.
7
- */
8
- export declare class SkyPagingHarness extends SkyComponentHarness {
9
- #private;
10
- /**
11
- * @internal
12
- */
13
- static hostSelector: string;
14
- /**
15
- * Gets a `HarnessPredicate` that can be used to search for a
16
- * `SkyPagingHarness` that meets certain criteria.
17
- */
18
- static with(filters: SkyPagingHarnessFilters): HarnessPredicate<SkyPagingHarness>;
19
- /**
20
- * Clicks the next button.
21
- */
22
- clickNextButton(): Promise<void>;
23
- /**
24
- * Clicks the page button with the requested number. Throws an error if that button is not present.
25
- */
26
- clickPageButton(pageNumber: number): Promise<void>;
27
- /**
28
- * Clicks the previous button.
29
- */
30
- clickPreviousButton(): Promise<void>;
31
- /**
32
- * Gets the current page number.
33
- */
34
- getCurrentPage(): Promise<number>;
35
- /**
36
- * Gets the paging content.
37
- */
38
- getPagingContent(): Promise<SkyPagingContentHarness>;
39
- getPagingLabel(): Promise<string>;
40
- }
@@ -1,6 +0,0 @@
1
- import { SkyHarnessFilters } from '@skyux/core/testing';
2
- /**
3
- * A set of criteria that can be used to filter a list of `SkyRepeaterHarness` instances.
4
- */
5
- export interface SkyRepeaterHarnessFilters extends SkyHarnessFilters {
6
- }
@@ -1,23 +0,0 @@
1
- import { HarnessPredicate } from '@angular/cdk/testing';
2
- import { SkyComponentHarness } from '@skyux/core/testing';
3
- import { SkyRepeaterHarnessFilters } from './repeater-harness-filters';
4
- import { SkyRepeaterItemHarness } from './repeater-item-harness';
5
- import { SkyRepeaterItemHarnessFilters } from './repeater-item-harness-filters';
6
- /**
7
- * Harness for interacting with a repeater component in tests.
8
- */
9
- export declare class SkyRepeaterHarness extends SkyComponentHarness {
10
- /**
11
- * @internal
12
- */
13
- static hostSelector: string;
14
- /**
15
- * Gets a `HarnessPredicate` that can be used to search for a
16
- * `SkyRepeaterHarness` that meets certain criteria.
17
- */
18
- static with(filters: SkyRepeaterHarnessFilters): HarnessPredicate<SkyRepeaterHarness>;
19
- /**
20
- * Gets a list of child repeater items.
21
- */
22
- getRepeaterItems(filters?: SkyRepeaterItemHarnessFilters): Promise<SkyRepeaterItemHarness[]>;
23
- }
@@ -1,14 +0,0 @@
1
- import { SkyHarnessFilters } from '@skyux/core/testing';
2
- /**
3
- * A set of criteria that can be used to filter a list of `SkyRepeaterItemHarness` instances.
4
- */
5
- export interface SkyRepeaterItemHarnessFilters extends SkyHarnessFilters {
6
- /**
7
- * Only find instances whose content matches the given value.
8
- */
9
- contentText?: string | RegExp;
10
- /**
11
- * Only find instances whose title matches the given value.
12
- */
13
- titleText?: string | RegExp;
14
- }
@@ -1,70 +0,0 @@
1
- import { HarnessPredicate } from '@angular/cdk/testing';
2
- import { SkyQueryableComponentHarness } from '@skyux/core/testing';
3
- import { SkyRepeaterItemHarnessFilters } from './repeater-item-harness-filters';
4
- /**
5
- * Harness for interacting with a repeater item component in tests.
6
- */
7
- export declare class SkyRepeaterItemHarness extends SkyQueryableComponentHarness {
8
- #private;
9
- /**
10
- * @internal
11
- */
12
- static hostSelector: string;
13
- /**
14
- * Gets a `HarnessPredicate` that can be used to search for a
15
- * `SkyRepeaterItemHarness` that meets certain criteria.
16
- */
17
- static with(filters: SkyRepeaterItemHarnessFilters): HarnessPredicate<SkyRepeaterItemHarness>;
18
- /**
19
- * Clicks on the repeater item.
20
- */
21
- click(): Promise<void>;
22
- /**
23
- * Whether the repeater item is selectable.
24
- */
25
- isSelectable(): Promise<boolean>;
26
- /**
27
- * Whether the repeater item is selected.
28
- */
29
- isSelected(): Promise<boolean>;
30
- /**
31
- * Selects the repeater item.
32
- */
33
- select(): Promise<void>;
34
- /**
35
- * Deselects the repeater item.
36
- */
37
- deselect(): Promise<void>;
38
- /**
39
- * Gets the text of the repeater item content.
40
- */
41
- getContentText(): Promise<string>;
42
- /**
43
- * Gets the text of the repeater item title.
44
- */
45
- getTitleText(): Promise<string>;
46
- /**
47
- * Whether the repeater item is collapsible.
48
- */
49
- isCollapsible(): Promise<boolean>;
50
- /**
51
- * Whether the repeater item is expanded, or throws an error informing of the lack of collapsibility.
52
- */
53
- isExpanded(): Promise<boolean>;
54
- /**
55
- * Expands the repeater item, or does nothing if already expanded.
56
- */
57
- expand(): Promise<void>;
58
- /**
59
- * Collapses the repeater item, or does nothing if already collapsed.
60
- */
61
- collapse(): Promise<void>;
62
- /**
63
- * Whether the repeater item is reorderable.
64
- */
65
- isReorderable(): Promise<boolean>;
66
- /**
67
- * Moves the repeater item to the top of the list
68
- */
69
- sendToTop(): Promise<void>;
70
- }
@@ -1,6 +0,0 @@
1
- import { SkyHarnessFilters } from '@skyux/core/testing';
2
- /**
3
- * A set of criteria that can be used to filter a list of `SkySortHarness` instances.
4
- */
5
- export interface SkySortHarnessFilters extends SkyHarnessFilters {
6
- }
@@ -1,40 +0,0 @@
1
- import { HarnessPredicate } from '@angular/cdk/testing';
2
- import { SkyComponentHarness } from '@skyux/core/testing';
3
- import { SkySortHarnessFilters } from './sort-harness-filters';
4
- import { SkySortItemHarness } from './sort-item-harness';
5
- import { SkySortItemHarnessFilters } from './sort-item-harness-filters';
6
- /**
7
- * Harness for interacting with a sort component in tests.
8
- */
9
- export declare class SkySortHarness extends SkyComponentHarness {
10
- #private;
11
- /**
12
- * @internal
13
- */
14
- static hostSelector: string;
15
- /**
16
- * Gets a `HarnessPredicate` that can be used to search for a
17
- * `SkySortHarness` that meets certain criteria.
18
- */
19
- static with(filters: SkySortHarnessFilters): HarnessPredicate<SkySortHarness>;
20
- /**
21
- * Clicks the sort component.
22
- */
23
- click(): Promise<void>;
24
- /**
25
- * Gets the aria-label value.
26
- */
27
- getAriaLabel(): Promise<string | null>;
28
- /**
29
- * Gets the text that appears on the sort button.
30
- */
31
- getButtonText(): Promise<string>;
32
- /**
33
- * Gets a harness for a specific sort item that meets certain criteria.
34
- */
35
- getItem(filters: SkySortItemHarnessFilters): Promise<SkySortItemHarness>;
36
- /**
37
- * Gets an array of all sort items.
38
- */
39
- getItems(filters?: SkySortItemHarnessFilters): Promise<SkySortItemHarness[]>;
40
- }
@@ -1,10 +0,0 @@
1
- import { BaseHarnessFilters } from '@angular/cdk/testing';
2
- /**
3
- * A set of criteria that can be used to filter a list of `SkySortItemHarness` instances.
4
- */
5
- export interface SkySortItemHarnessFilters extends BaseHarnessFilters {
6
- /**
7
- * Only find instances whose text content matches the given value.
8
- */
9
- text?: string;
10
- }
@@ -1,31 +0,0 @@
1
- import { HarnessPredicate } from '@angular/cdk/testing';
2
- import { SkyDropdownItemHarness } from '@skyux/popovers/testing';
3
- import { SkySortItemHarnessFilters } from './sort-item-harness-filters';
4
- /**
5
- * Harness for interacting with a sort item component in tests.
6
- */
7
- export declare class SkySortItemHarness extends SkyDropdownItemHarness {
8
- /**
9
- * Gets a `HarnessPredicate` that can be used to search for a
10
- * `SkySortItemHarness` that meets certain criteria.
11
- */
12
- static with(filters: SkySortItemHarnessFilters): HarnessPredicate<SkySortItemHarness>;
13
- /**
14
- * Clicks the sort item.
15
- */
16
- click(): Promise<void>;
17
- /**
18
- * Gets the sort item role.
19
- * This can't be set on sort items and should not be exposed.
20
- * @internal
21
- */
22
- getAriaRole(): Promise<string | null>;
23
- /**
24
- * Gets the sort item text.
25
- */
26
- getText(): Promise<string | null>;
27
- /**
28
- * Whether the sort item is active.
29
- */
30
- isActive(): Promise<boolean>;
31
- }
@@ -1,35 +0,0 @@
1
- export { SkyFilterFixtureButton } from './legacy/filter/filter-fixture-button';
2
- export { SkyFilterFixtureSummary } from './legacy/filter/filter-fixture-summary';
3
- export { SkyFilterTestingModule } from './legacy/filter/filter-testing.module';
4
- export { SkyFilterButtonHarness } from './modules/filter/filter-button-harness';
5
- export { SkyFilterButtonHarnessFilters } from './modules/filter/filter-button-harness-filters';
6
- export { SkyFilterInlineHarness } from './modules/filter/filter-inline-harness';
7
- export { SkyFilterInlineHarnessFilters } from './modules/filter/filter-inline-harness-filters';
8
- export { SkyFilterInlineItemHarness } from './modules/filter/filter-inline-item-harness';
9
- export { SkyFilterInlineItemHarnessFilters } from './modules/filter/filter-inline-item-harness-filters';
10
- export { SkyFilterSummaryHarness } from './modules/filter/filter-summary-harness';
11
- export { SkyFilterSummaryHarnessFilters } from './modules/filter/filter-summary-harness-filters';
12
- export { SkyFilterSummaryItemHarness } from './modules/filter/filter-summary-item-harness';
13
- export { SkyFilterSummaryItemHarnessFilters } from './modules/filter/filter-summary-item-harness-filters';
14
- export { SkyPagingFixture } from './legacy/paging/paging-fixture';
15
- export { SkyPagingFixtureButton } from './legacy/paging/paging-fixture-button';
16
- export { SkyPagingTestingModule } from './legacy/paging/paging-testing.module';
17
- export { SkyPagingContentHarness } from './modules/paging/paging-content-harness';
18
- export { SkyPagingHarness } from './modules/paging/paging-harness';
19
- export { SkyPagingHarnessFilters } from './modules/paging/paging-harness-filters';
20
- export { SkyRepeaterHarness } from './modules/repeater/repeater-harness';
21
- export { SkyRepeaterHarnessFilters } from './modules/repeater/repeater-harness-filters';
22
- export { SkyRepeaterItemHarness } from './modules/repeater/repeater-item-harness';
23
- export { SkyRepeaterItemHarnessFilters } from './modules/repeater/repeater-item-harness-filters';
24
- export { SkySortFixture } from './legacy/sort/sort-fixture';
25
- export { SkySortFixtureMenu } from './legacy/sort/sort-fixture-menu';
26
- export { SkySortFixtureMenuItem } from './legacy/sort/sort-fixture-menu-item';
27
- export { SkySortTestingModule } from './legacy/sort/sort-testing.module';
28
- export { SkySortHarness } from './modules/sort/sort-harness';
29
- export { SkySortHarnessFilters } from './modules/sort/sort-harness-filters';
30
- export { SkySortItemHarness } from './modules/sort/sort-item-harness';
31
- export { SkySortItemHarnessFilters } from './modules/sort/sort-item-harness-filters';
32
- export { SkyInfiniteScrollFixture } from './legacy/infinite-scroll/infinite-scroll-fixture';
33
- export { SkyInfiniteScrollTestingModule } from './legacy/infinite-scroll/infinite-scroll-testing.module';
34
- export { SkyInfiniteScrollHarness } from './modules/infinite-scroll/infinite-scroll-harness';
35
- export { SkyInfiniteScrollHarnessFilters } from './modules/infinite-scroll/infinite-scroll-harness-filters';