@onecx/angular-testing 6.0.0-rc.12 → 6.0.0-rc.14

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.
@@ -1,6 +1,6 @@
1
1
  import { ComponentHarness } from '@angular/cdk/testing';
2
2
  export declare class PAccordionTabHarness extends ComponentHarness {
3
3
  static hostSelector: string;
4
- getButton: import("@angular/cdk/testing").AsyncFactoryFn<import("@angular/cdk/testing").TestElement>;
4
+ getButton: () => Promise<import("@angular/cdk/harness-environment.d-BbFzIFDE").T>;
5
5
  expand(): Promise<void>;
6
6
  }
@@ -2,5 +2,5 @@ import { ComponentHarness } from '@angular/cdk/testing';
2
2
  import { PAccordionTabHarness } from './p-accordion-tab.harness';
3
3
  export declare class PAccordionHarness extends ComponentHarness {
4
4
  static hostSelector: string;
5
- getAllAccordionTabs: import("@angular/cdk/testing").AsyncFactoryFn<PAccordionTabHarness[]>;
5
+ getAllAccordionTabs: () => Promise<PAccordionTabHarness[]>;
6
6
  }
@@ -2,6 +2,6 @@ import { ComponentHarness } from '@angular/cdk/testing';
2
2
  import { ListItemHarness } from '../list-item.harness';
3
3
  export declare class PBreadcrumbHarness extends ComponentHarness {
4
4
  static hostSelector: string;
5
- getBreadcrumbItems: import("@angular/cdk/testing").AsyncFactoryFn<ListItemHarness[]>;
5
+ getBreadcrumbItems: () => Promise<ListItemHarness[]>;
6
6
  getBreadcrumbItem(itemText: string): Promise<ListItemHarness | null>;
7
7
  }
@@ -8,8 +8,8 @@ export interface PButtonHarnessFilters extends BaseHarnessFilters {
8
8
  }
9
9
  export declare class PButtonHarness extends ComponentHarness {
10
10
  static hostSelector: string;
11
- getLabelSpan: import("@angular/cdk/testing").AsyncFactoryFn<SpanHarness | null>;
12
- getIconSpan: import("@angular/cdk/testing").AsyncFactoryFn<SpanHarness | null>;
11
+ getLabelSpan: () => Promise<SpanHarness | null>;
12
+ getIconSpan: () => Promise<SpanHarness | null>;
13
13
  static with(options: PButtonHarnessFilters): HarnessPredicate<PButtonHarness>;
14
14
  getId(): Promise<string | null>;
15
15
  getName(): Promise<string | null>;
@@ -5,7 +5,7 @@ export interface PCheckBoxHarnessFilters extends BaseHarnessFilters {
5
5
  }
6
6
  export declare class PCheckboxHarness extends ComponentHarness {
7
7
  static hostSelector: string;
8
- getCheckBoxDiv: import("@angular/cdk/testing").AsyncFactoryFn<DivHarness | null>;
8
+ getCheckBoxDiv: () => Promise<DivHarness | null>;
9
9
  static with(options: PCheckBoxHarnessFilters): HarnessPredicate<PCheckboxHarness>;
10
10
  isChecked(): Promise<boolean>;
11
11
  getId(): Promise<string | null>;
@@ -1,7 +1,7 @@
1
1
  import { ComponentHarness } from '@angular/cdk/testing';
2
2
  export declare class PChipHarness extends ComponentHarness {
3
3
  static hostSelector: string;
4
- getRemoveButton: import("@angular/cdk/testing").AsyncFactoryFn<import("@angular/cdk/testing").TestElement | null>;
4
+ getRemoveButton: () => Promise<import("@angular/cdk/harness-environment.d-BbFzIFDE").T | null>;
5
5
  getContent(): Promise<string>;
6
6
  clickRemove(): Promise<void>;
7
7
  click(): Promise<void>;
@@ -5,8 +5,8 @@ export interface PDialogHarnessFilters extends BaseHarnessFilters {
5
5
  }
6
6
  export declare class PDialogHarness extends ContentContainerComponentHarness {
7
7
  static hostSelector: string;
8
- getHeader: import("@angular/cdk/testing").AsyncFactoryFn<DivHarness | null>;
9
- getFooter: import("@angular/cdk/testing").AsyncFactoryFn<DivHarness | null>;
8
+ getHeader: () => Promise<DivHarness | null>;
9
+ getFooter: () => Promise<DivHarness | null>;
10
10
  getDialogTitle(): Promise<string | undefined>;
11
11
  close(): Promise<void>;
12
12
  isVisible(): Promise<boolean>;
@@ -2,9 +2,9 @@ import { ComponentHarness } from '@angular/cdk/testing';
2
2
  import { SpanHarness } from '../span.harness';
3
3
  export declare class PMenuItemHarness extends ComponentHarness {
4
4
  static hostSelector: string;
5
- getAnchor: import("@angular/cdk/testing").AsyncFactoryFn<import("@angular/cdk/testing").TestElement>;
6
- getChildren: import("@angular/cdk/testing").AsyncFactoryFn<PMenuItemHarness[]>;
7
- getIconSpan: import("@angular/cdk/testing").AsyncFactoryFn<SpanHarness | null>;
5
+ getAnchor: () => Promise<import("@angular/cdk/harness-environment.d-BbFzIFDE").T>;
6
+ getChildren: () => Promise<PMenuItemHarness[]>;
7
+ getIconSpan: () => Promise<SpanHarness | null>;
8
8
  getText(): Promise<string>;
9
9
  hasIcon(icon: string): Promise<boolean | undefined>;
10
10
  click(): Promise<void>;
@@ -2,5 +2,5 @@ import { ComponentHarness } from '@angular/cdk/testing';
2
2
  import { PMenuItemHarness } from './p-menu-item.harness';
3
3
  export declare class PMenuBarHarness extends ComponentHarness {
4
4
  static hostSelector: string;
5
- getAllMenuItems: import("@angular/cdk/testing").AsyncFactoryFn<PMenuItemHarness[]>;
5
+ getAllMenuItems: () => Promise<PMenuItemHarness[]>;
6
6
  }
@@ -4,9 +4,9 @@ import { PSelectHarness } from './p-select.harness';
4
4
  import { ButtonHarness } from '../button.harness';
5
5
  export declare class PPaginatorHarness extends ContentContainerComponentHarness {
6
6
  static hostSelector: string;
7
- getCurrentPageReport: import("@angular/cdk/testing").AsyncFactoryFn<SpanHarness>;
8
- getRowsPerPageOptions: import("@angular/cdk/testing").AsyncFactoryFn<PSelectHarness>;
9
- getNextPageButton: import("@angular/cdk/testing").AsyncFactoryFn<ButtonHarness>;
7
+ getCurrentPageReport: () => Promise<SpanHarness>;
8
+ getRowsPerPageOptions: () => Promise<PSelectHarness>;
9
+ getNextPageButton: () => Promise<ButtonHarness>;
10
10
  getCurrentPageReportText(): Promise<string | undefined>;
11
11
  clickNextPage(): Promise<void>;
12
12
  }
@@ -3,9 +3,9 @@ import { SpanHarness } from '../span.harness';
3
3
  import { PMenuItemHarness } from './p-menu-item.harness';
4
4
  export declare class PanelMenuItemHarness extends ComponentHarness {
5
5
  static hostSelector: string;
6
- getAnchor: import("@angular/cdk/testing").AsyncFactoryFn<import("@angular/cdk/testing").TestElement>;
7
- getChildren: import("@angular/cdk/testing").AsyncFactoryFn<PMenuItemHarness[]>;
8
- getIconSpan: import("@angular/cdk/testing").AsyncFactoryFn<SpanHarness | null>;
6
+ getAnchor: () => Promise<import("@angular/cdk/harness-environment.d-BbFzIFDE").T>;
7
+ getChildren: () => Promise<PMenuItemHarness[]>;
8
+ getIconSpan: () => Promise<SpanHarness | null>;
9
9
  getText(): Promise<string>;
10
10
  hasIcon(icon: string): Promise<boolean | undefined>;
11
11
  click(): Promise<void>;
@@ -2,5 +2,5 @@ import { ComponentHarness } from '@angular/cdk/testing';
2
2
  import { PanelMenuItemHarness } from './p-panelmenu-item.harness';
3
3
  export declare class PPanelMenuHarness extends ComponentHarness {
4
4
  static hostSelector: string;
5
- getAllPanels: import("@angular/cdk/testing").AsyncFactoryFn<PanelMenuItemHarness[]>;
5
+ getAllPanels: () => Promise<PanelMenuItemHarness[]>;
6
6
  }
@@ -5,7 +5,7 @@ export interface PPasswordHarnessFilters extends BaseHarnessFilters {
5
5
  }
6
6
  export declare class PPasswordHarness extends ComponentHarness {
7
7
  static hostSelector: string;
8
- getInput: import("@angular/cdk/testing").AsyncFactoryFn<InputHarness>;
8
+ getInput: () => Promise<InputHarness>;
9
9
  static with(options: PPasswordHarnessFilters): HarnessPredicate<PPasswordHarness>;
10
10
  getId(): Promise<string | null>;
11
11
  getPromptLabel(): Promise<string | null>;
@@ -10,14 +10,14 @@ export interface PPicklistListWrapperFilters extends BaseHarnessFilters {
10
10
  }
11
11
  export declare class PPicklistControlsButtonsHarness extends ContentContainerComponentHarness {
12
12
  static hostSelector: string;
13
- getButtons: import("@angular/cdk/testing").AsyncFactoryFn<ButtonHarness[]>;
13
+ getButtons: () => Promise<ButtonHarness[]>;
14
14
  static with(options: PPicklistControlsButtonsFilters): HarnessPredicate<PPicklistControlsButtonsHarness>;
15
15
  getByClass(c: string): Promise<string>;
16
16
  }
17
17
  export declare class PPicklistListWrapperHarness extends ContentContainerComponentHarness {
18
18
  static hostSelector: string;
19
- getHeader: import("@angular/cdk/testing").AsyncFactoryFn<DivHarness>;
20
- getAllListItems: import("@angular/cdk/testing").AsyncFactoryFn<ListItemHarness[]>;
19
+ getHeader: () => Promise<DivHarness>;
20
+ getAllListItems: () => Promise<ListItemHarness[]>;
21
21
  static with(options: PPicklistListWrapperFilters): HarnessPredicate<PPicklistListWrapperHarness>;
22
22
  getByClass(c: string): Promise<string>;
23
23
  }
@@ -1,5 +1,5 @@
1
1
  import { ContentContainerComponentHarness } from '@angular/cdk/testing';
2
2
  export declare class PSelectButtonHarness extends ContentContainerComponentHarness {
3
3
  static hostSelector: string;
4
- getAllButtons: import("@angular/cdk/testing").AsyncFactoryFn<import("@angular/cdk/testing").TestElement[]>;
4
+ getAllButtons: () => Promise<import("@angular/cdk/harness-environment.d-BbFzIFDE").T[]>;
5
5
  }
@@ -3,7 +3,7 @@ import { ButtonHarness } from './button.harness';
3
3
  import { PMultiSelectHarness } from './primeng/p-multiSelect.harness';
4
4
  export declare class TableHeaderColumnHarness extends ContentContainerComponentHarness {
5
5
  static hostSelector: string;
6
- getSortButton: import("@angular/cdk/testing").AsyncFactoryFn<ButtonHarness>;
7
- getFilterMultiSelect: import("@angular/cdk/testing").AsyncFactoryFn<PMultiSelectHarness>;
6
+ getSortButton: () => Promise<ButtonHarness>;
7
+ getFilterMultiSelect: () => Promise<PMultiSelectHarness>;
8
8
  getText(): Promise<string>;
9
9
  }
@@ -2,9 +2,9 @@ import { ContentContainerComponentHarness } from '@angular/cdk/testing';
2
2
  import { ButtonHarness } from './button.harness';
3
3
  export declare class TableRowHarness extends ContentContainerComponentHarness {
4
4
  static hostSelector: string;
5
- getAllActionButtons: import("@angular/cdk/testing").AsyncFactoryFn<import("@angular/cdk/testing").TestElement[]>;
6
- getViewButton: import("@angular/cdk/testing").AsyncFactoryFn<ButtonHarness | null>;
7
- getEditButton: import("@angular/cdk/testing").AsyncFactoryFn<ButtonHarness | null>;
8
- getDeleteButton: import("@angular/cdk/testing").AsyncFactoryFn<ButtonHarness | null>;
5
+ getAllActionButtons: () => Promise<import("@angular/cdk/harness-environment.d-BbFzIFDE").T[]>;
6
+ getViewButton: () => Promise<ButtonHarness | null>;
7
+ getEditButton: () => Promise<ButtonHarness | null>;
8
+ getDeleteButton: () => Promise<ButtonHarness | null>;
9
9
  getData(): Promise<string[]>;
10
10
  }
package/migrations.json CHANGED
@@ -18,9 +18,17 @@
18
18
  "@nx/angular": {
19
19
  "version": "~20.3.0",
20
20
  "alwaysAddToPackageJson": false
21
+ },
22
+ "@ngx-translate/core": {
23
+ "version": "~16.0.4",
24
+ "alwaysAddToPackageJson": false
25
+ },
26
+ "primeng": {
27
+ "version": "~19.0.0",
28
+ "alwaysAddToPackageJson": false
21
29
  }
22
30
  }
23
31
  },
24
32
  "version": "null"
25
33
  }
26
- }
34
+ }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@onecx/angular-testing",
3
- "version": "6.0.0-rc.12",
3
+ "version": "6.0.0-rc.14",
4
4
  "license": "Apache-2.0",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "^19.0.0",
7
7
  "primeng": "^19.0.0",
8
8
  "@nx/devkit": "^20.3.0",
9
- "@onecx/nx-migration-utils": "^6.0.0-rc.12"
9
+ "@onecx/nx-migration-utils": "^6.0.0-rc.14"
10
10
  },
11
11
  "dependencies": {
12
12
  "tslib": "^2.3.0"