@onecx/angular-accelerator 6.0.0-rc.12 → 6.0.0-rc.13
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/assets/styles.scss +2 -0
- package/fesm2022/onecx-angular-accelerator-testing.mjs +101 -2
- package/fesm2022/onecx-angular-accelerator-testing.mjs.map +1 -1
- package/fesm2022/onecx-angular-accelerator.mjs +1276 -151
- package/fesm2022/onecx-angular-accelerator.mjs.map +1 -1
- package/index.d.ts +15 -0
- package/lib/angular-accelerator-primeng.module.d.ts +1 -1
- package/lib/angular-accelerator.module.d.ts +17 -7
- package/lib/components/button-dialog/button-dialog.component.d.ts +47 -0
- package/lib/components/button-dialog/dialog-message-content/dialog-message-content.component.d.ts +8 -0
- package/lib/components/dialog/dialog-content/dialog-content.component.d.ts +29 -0
- package/lib/components/dialog/dialog-footer/dialog-footer.component.d.ts +39 -0
- package/lib/components/dialog/dialog-inline/dialog-inline.component.d.ts +11 -0
- package/lib/components/error-component/global-error.component.d.ts +12 -0
- package/lib/components/loading-indicator/loading-indicator.component.d.ts +5 -0
- package/lib/components/portal-page/portal-page.component.d.ts +19 -0
- package/lib/directives/basic.directive.d.ts +11 -0
- package/lib/directives/loading-indicator.directive.d.ts +16 -0
- package/lib/model/button-dialog.d.ts +47 -0
- package/lib/pipes/relative-date.pipe.d.ts +10 -0
- package/lib/services/export-data.service.d.ts +18 -0
- package/lib/services/portal-dialog.service.d.ts +435 -0
- package/lib/utils/image-logo-url.utils.d.ts +3 -0
- package/migrations.json +9 -1
- package/package.json +8 -8
- package/testing/button-dialog.harness.d.ts +17 -0
- package/testing/column-group-selection.harness.d.ts +1 -1
- package/testing/custom-group-column-selector.harness.d.ts +6 -6
- package/testing/data-layout-selection.harness.d.ts +3 -3
- package/testing/data-list-grid.harness.d.ts +3 -3
- package/testing/data-table.harness.d.ts +3 -3
- package/testing/data-view.harness.d.ts +2 -2
- package/testing/default-grid-item.harness.d.ts +1 -1
- package/testing/default-list-item.harness.d.ts +4 -4
- package/testing/diagram.harness.d.ts +1 -1
- package/testing/dialog-content.harness.d.ts +6 -0
- package/testing/dialog-footer.harness.d.ts +14 -0
- package/testing/dialog-inline.harness.d.ts +8 -0
- package/testing/dialog-message-content.harness.d.ts +8 -0
- package/testing/filter-view.harness.d.ts +5 -5
- package/testing/group-by-count-diagram.harness.d.ts +1 -1
- package/testing/index.d.ts +5 -0
- package/testing/interactive-data-view.harness.d.ts +7 -7
- package/testing/lifecycle.harness.d.ts +2 -2
- package/testing/page-header.harness.d.ts +6 -6
- package/testing/search-header.harness.d.ts +5 -5
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentHarness } from '@angular/cdk/testing';
|
|
2
|
+
export declare class DialogMessageContentHarness extends ComponentHarness {
|
|
3
|
+
static hostSelector: string;
|
|
4
|
+
private getMessageSpan;
|
|
5
|
+
private getIcon;
|
|
6
|
+
getMessageContent(): Promise<string>;
|
|
7
|
+
getIconValue(): Promise<string | null | undefined>;
|
|
8
|
+
}
|
|
@@ -3,10 +3,10 @@ import { DataTableHarness } from './data-table.harness';
|
|
|
3
3
|
import { PButtonHarness, PChipHarness, SpanHarness } from '.';
|
|
4
4
|
export declare class FilterViewHarness extends ContentContainerComponentHarness {
|
|
5
5
|
static hostSelector: string;
|
|
6
|
-
getOverlayResetFiltersButton:
|
|
7
|
-
getFiltersButton:
|
|
8
|
-
getChipsResetFiltersButton:
|
|
9
|
-
getChips:
|
|
10
|
-
getNoFiltersMessage:
|
|
6
|
+
getOverlayResetFiltersButton: () => Promise<PButtonHarness | null>;
|
|
7
|
+
getFiltersButton: () => Promise<PButtonHarness | null>;
|
|
8
|
+
getChipsResetFiltersButton: () => Promise<PButtonHarness | null>;
|
|
9
|
+
getChips: () => Promise<PChipHarness[]>;
|
|
10
|
+
getNoFiltersMessage: () => Promise<SpanHarness | null>;
|
|
11
11
|
getDataTable(): Promise<DataTableHarness | null>;
|
|
12
12
|
}
|
|
@@ -2,5 +2,5 @@ import { ComponentHarness } from '@angular/cdk/testing';
|
|
|
2
2
|
import { DiagramHarness } from './diagram.harness';
|
|
3
3
|
export declare class GroupByCountDiagramHarness extends ComponentHarness {
|
|
4
4
|
static hostSelector: string;
|
|
5
|
-
getDiagram:
|
|
5
|
+
getDiagram: () => Promise<DiagramHarness>;
|
|
6
6
|
}
|
package/testing/index.d.ts
CHANGED
|
@@ -17,6 +17,11 @@ export * from './more-actions-menu-button.harness';
|
|
|
17
17
|
export * from './page-header.harness';
|
|
18
18
|
export * from './slot.harness';
|
|
19
19
|
export * from './search-header.harness';
|
|
20
|
+
export * from '../testing/button-dialog.harness';
|
|
21
|
+
export * from '../testing/dialog-content.harness';
|
|
22
|
+
export * from '../testing/dialog-footer.harness';
|
|
23
|
+
export * from '../testing/dialog-inline.harness';
|
|
24
|
+
export * from '../testing/dialog-message-content.harness';
|
|
20
25
|
export * from '@angular/cdk/testing';
|
|
21
26
|
export * from '@angular/cdk/testing/testbed';
|
|
22
27
|
export * from '@onecx/angular-testing';
|
|
@@ -9,11 +9,11 @@ export declare class InteractiveDataViewHarness extends ContentContainerComponen
|
|
|
9
9
|
static hostSelector: string;
|
|
10
10
|
getHeaderStyleClasses(): Promise<string[]>;
|
|
11
11
|
getContentStyleClasses(): Promise<string[]>;
|
|
12
|
-
getDataLayoutSelection:
|
|
13
|
-
getColumnGroupSelectionSelect:
|
|
14
|
-
getCustomGroupColumnSelector:
|
|
15
|
-
getCustomGroupColumnSelectorSlot:
|
|
16
|
-
getDataListGridSortingSelect:
|
|
17
|
-
getDataListGridSortingButton:
|
|
18
|
-
getDataView:
|
|
12
|
+
getDataLayoutSelection: () => Promise<DataLayoutSelectionHarness>;
|
|
13
|
+
getColumnGroupSelectionSelect: () => Promise<PSelectHarness | null>;
|
|
14
|
+
getCustomGroupColumnSelector: () => Promise<CustomGroupColumnSelectorHarness | null>;
|
|
15
|
+
getCustomGroupColumnSelectorSlot: () => Promise<SlotHarness | null>;
|
|
16
|
+
getDataListGridSortingSelect: () => Promise<PSelectHarness | null>;
|
|
17
|
+
getDataListGridSortingButton: () => Promise<PButtonHarness | null>;
|
|
18
|
+
getDataView: () => Promise<DataViewHarness>;
|
|
19
19
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ContentContainerComponentHarness } from "@angular/cdk/testing";
|
|
2
2
|
export declare class LifecycleHarness extends ContentContainerComponentHarness {
|
|
3
3
|
static hostSelector: string;
|
|
4
|
-
getSteps:
|
|
5
|
-
getHighlightedSteps:
|
|
4
|
+
getSteps: () => Promise<import("@angular/cdk/harness-environment.d-BbFzIFDE").T[]>;
|
|
5
|
+
getHighlightedSteps: () => Promise<import("@angular/cdk/harness-environment.d-BbFzIFDE").T[]>;
|
|
6
6
|
}
|
|
@@ -2,9 +2,9 @@ import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular
|
|
|
2
2
|
import { ListItemHarness, MenuItemHarness, PBreadcrumbHarness, PButtonHarness, PMenuHarness } from '@onecx/angular-testing';
|
|
3
3
|
export declare class PageHeaderHarness extends ComponentHarness {
|
|
4
4
|
static hostSelector: string;
|
|
5
|
-
getPageHeaderWrapperHarness:
|
|
6
|
-
getBreadcrumb:
|
|
7
|
-
getMenu:
|
|
5
|
+
getPageHeaderWrapperHarness: () => Promise<import("@onecx/angular-testing").TestElement[]>;
|
|
6
|
+
getBreadcrumb: () => Promise<PBreadcrumbHarness | null>;
|
|
7
|
+
getMenu: () => Promise<PMenuHarness | null>;
|
|
8
8
|
getElementByTitle(title: string): Promise<import("@onecx/angular-testing").TestElement | null>;
|
|
9
9
|
getElementByAriaLabel(ariaLabel: string): Promise<import("@onecx/angular-testing").TestElement | null>;
|
|
10
10
|
getObjectInfos(): Promise<ObjectDetailItemHarness[]>;
|
|
@@ -24,9 +24,9 @@ interface ObjectDetailItemHarnessFilters extends BaseHarnessFilters {
|
|
|
24
24
|
}
|
|
25
25
|
declare class ObjectDetailItemHarness extends ComponentHarness {
|
|
26
26
|
static hostSelector: string;
|
|
27
|
-
getLabelElement:
|
|
28
|
-
getValueElement:
|
|
29
|
-
getIconElement:
|
|
27
|
+
getLabelElement: () => Promise<import("@onecx/angular-testing").TestElement>;
|
|
28
|
+
getValueElement: () => Promise<import("@onecx/angular-testing").TestElement | null>;
|
|
29
|
+
getIconElement: () => Promise<import("@onecx/angular-testing").TestElement | null>;
|
|
30
30
|
static with(options: ObjectDetailItemHarnessFilters): HarnessPredicate<ObjectDetailItemHarness>;
|
|
31
31
|
getLabel(): Promise<string>;
|
|
32
32
|
getValue(): Promise<string | undefined>;
|
|
@@ -4,11 +4,11 @@ import { PageHeaderHarness } from './page-header.harness';
|
|
|
4
4
|
import { MoreActionsMenuButtonHarness } from './more-actions-menu-button.harness';
|
|
5
5
|
export declare class SearchHeaderHarness extends ComponentHarness {
|
|
6
6
|
static hostSelector: string;
|
|
7
|
-
getPageHeader:
|
|
8
|
-
getSearchButton:
|
|
9
|
-
getResetButton:
|
|
10
|
-
getSimpleAdvancedButton:
|
|
11
|
-
getMoreActionsMenuButton:
|
|
7
|
+
getPageHeader: () => Promise<PageHeaderHarness>;
|
|
8
|
+
getSearchButton: () => Promise<PButtonHarness>;
|
|
9
|
+
getResetButton: () => Promise<PButtonHarness>;
|
|
10
|
+
getSimpleAdvancedButton: () => Promise<PButtonHarness | null>;
|
|
11
|
+
getMoreActionsMenuButton: () => Promise<MoreActionsMenuButtonHarness | null>;
|
|
12
12
|
clickResetButton(): Promise<void>;
|
|
13
13
|
clickSearchButton(): Promise<void>;
|
|
14
14
|
toggleSimpleAdvanced(): Promise<void>;
|