@onecx/angular-accelerator 7.0.0-rc.8 → 7.0.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/assets/i18n/de.json +10 -6
- package/assets/i18n/en.json +10 -6
- package/assets/i18n/primeng/de.json +5 -2
- package/assets/i18n/primeng/en.json +4 -1
- package/assets/i18n/storybook-translations/page-header/de.json +13 -0
- package/assets/i18n/storybook-translations/page-header/en.json +13 -0
- package/fesm2022/onecx-angular-accelerator-testing.mjs +33 -5
- package/fesm2022/onecx-angular-accelerator-testing.mjs.map +1 -1
- package/fesm2022/onecx-angular-accelerator.mjs +213 -157
- package/fesm2022/onecx-angular-accelerator.mjs.map +1 -1
- package/index.d.ts +2370 -62
- package/package.json +21 -19
- package/testing/index.d.ts +261 -24
- package/lib/angular-accelerator-primeng.module.d.ts +0 -27
- package/lib/angular-accelerator.module.d.ts +0 -49
- package/lib/components/column-group-selection/column-group-selection.component.d.ts +0 -32
- package/lib/components/content/content.component.d.ts +0 -13
- package/lib/components/content-container/content-container.component.d.ts +0 -19
- package/lib/components/custom-group-column-selector/custom-group-column-selector.component.d.ts +0 -68
- package/lib/components/data-layout-selection/data-layout-selection.component.d.ts +0 -32
- package/lib/components/data-list-grid/data-list-grid.component.d.ts +0 -179
- package/lib/components/data-list-grid-sorting/data-list-grid-sorting.component.d.ts +0 -40
- package/lib/components/data-sort-base/data-sort-base.d.ts +0 -33
- package/lib/components/data-table/data-table.component.d.ts +0 -224
- package/lib/components/data-view/data-view.component.d.ts +0 -165
- package/lib/components/diagram/diagram.component.d.ts +0 -57
- package/lib/components/dialog/dialog-content/dialog-content.component.d.ts +0 -29
- package/lib/components/dialog/dialog-footer/dialog-footer.component.d.ts +0 -39
- package/lib/components/dialog/dialog-inline/dialog-inline.component.d.ts +0 -11
- package/lib/components/dialog/dialog-message-content/dialog-message-content.component.d.ts +0 -8
- package/lib/components/error-component/global-error.component.d.ts +0 -12
- package/lib/components/filter-view/filter-view.component.d.ts +0 -80
- package/lib/components/group-by-count-diagram/group-by-count-diagram.component.d.ts +0 -45
- package/lib/components/interactive-data-view/interactive-data-view.component.d.ts +0 -206
- package/lib/components/lifecycle/lifecycle.component.d.ts +0 -12
- package/lib/components/loading-indicator/loading-indicator.component.d.ts +0 -5
- package/lib/components/page-header/page-header.component.d.ts +0 -105
- package/lib/components/search-header/search-header.component.d.ts +0 -71
- package/lib/directives/advanced.directive.d.ts +0 -11
- package/lib/directives/basic.directive.d.ts +0 -11
- package/lib/directives/content-container.directive.d.ts +0 -23
- package/lib/directives/content.directive.d.ts +0 -21
- package/lib/directives/if-breakpoint.directive.d.ts +0 -13
- package/lib/directives/if-permission.directive.d.ts +0 -33
- package/lib/directives/loading-indicator.directive.d.ts +0 -16
- package/lib/directives/src.directive.d.ts +0 -13
- package/lib/directives/template.directive.d.ts +0 -9
- package/lib/directives/tooltipOnOverflow.directive.d.ts +0 -13
- package/lib/functions/at-least-one-field-filled-validator.d.ts +0 -2
- package/lib/functions/flatten-object.d.ts +0 -14
- package/lib/model/breadcrumb-menu-item.model.d.ts +0 -56
- package/lib/model/button-dialog.d.ts +0 -47
- package/lib/model/column-type.model.d.ts +0 -7
- package/lib/model/data-action.d.ts +0 -12
- package/lib/model/data-column-name-id.model.d.ts +0 -4
- package/lib/model/data-sort-direction.d.ts +0 -5
- package/lib/model/data-table-column.model.d.ts +0 -12
- package/lib/model/diagram-column.d.ts +0 -5
- package/lib/model/diagram-data.d.ts +0 -5
- package/lib/model/diagram-type.d.ts +0 -5
- package/lib/model/filter.model.d.ts +0 -24
- package/lib/pipes/dynamic.pipe.d.ts +0 -13
- package/lib/pipes/ocxtimeago.pipe.d.ts +0 -16
- package/lib/pipes/relative-date.pipe.d.ts +0 -10
- package/lib/services/breadcrumb.service.d.ts +0 -20
- package/lib/services/export-data.service.d.ts +0 -18
- package/lib/services/portal-dialog.service.d.ts +0 -427
- package/lib/utils/colorutils.d.ts +0 -12
- package/lib/utils/criteria.utils.d.ts +0 -17
- package/lib/utils/data-operation-strategy.d.ts +0 -20
- package/lib/utils/dateutils.d.ts +0 -8
- package/lib/utils/dynamic-locale-id.d.ts +0 -10
- package/lib/utils/enum-to-dropdown-options.utils.d.ts +0 -6
- package/lib/utils/filter.utils.d.ts +0 -2
- package/lib/utils/image-logo-url.utils.d.ts +0 -3
- package/lib/utils/objectutils.d.ts +0 -4
- package/lib/utils/primeicon.utils.d.ts +0 -5
- package/lib/utils/rxjs-utils.d.ts +0 -3
- package/lib/utils/string-and-array-helper-functions.utils.d.ts +0 -3
- package/lib/utils/template.utils.d.ts +0 -2
- package/testing/column-group-selection.harness.d.ts +0 -6
- package/testing/content-container.harness.d.ts +0 -7
- package/testing/content.harness.d.ts +0 -10
- package/testing/custom-group-column-selector.harness.d.ts +0 -14
- package/testing/data-layout-selection.harness.d.ts +0 -12
- package/testing/data-list-grid.harness.d.ts +0 -18
- package/testing/data-table.harness.d.ts +0 -26
- package/testing/data-view.harness.d.ts +0 -8
- package/testing/default-grid-item.harness.d.ts +0 -11
- package/testing/default-list-item.harness.d.ts +0 -12
- package/testing/diagram.harness.d.ts +0 -10
- package/testing/dialog-content.harness.d.ts +0 -6
- package/testing/dialog-footer.harness.d.ts +0 -14
- package/testing/dialog-inline.harness.d.ts +0 -8
- package/testing/dialog-message-content.harness.d.ts +0 -8
- package/testing/filter-view.harness.d.ts +0 -12
- package/testing/group-by-count-diagram.harness.d.ts +0 -6
- package/testing/interactive-data-view.harness.d.ts +0 -19
- package/testing/lifecycle.harness.d.ts +0 -6
- package/testing/more-actions-menu-button.harness.d.ts +0 -10
- package/testing/page-header.harness.d.ts +0 -36
- package/testing/search-header.harness.d.ts +0 -15
- package/testing/slot.harness.d.ts +0 -7
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ComponentHarness } from '@angular/cdk/testing';
|
|
2
|
-
import { DivHarness } from '@onecx/angular-testing';
|
|
3
|
-
import { MoreActionsMenuButtonHarness } from './more-actions-menu-button.harness';
|
|
4
|
-
export declare class DefaultGridItemHarness extends ComponentHarness {
|
|
5
|
-
static hostSelector: string;
|
|
6
|
-
getMoreActionsButton: () => Promise<MoreActionsMenuButtonHarness>;
|
|
7
|
-
private getAllDivs;
|
|
8
|
-
private getGridImg;
|
|
9
|
-
getData(): Promise<(string | null)[]>;
|
|
10
|
-
checkDivsHasClasses(value: DivHarness): Promise<boolean>;
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ComponentHarness } from '@angular/cdk/testing';
|
|
2
|
-
import { ButtonHarness, DivHarness } from '@onecx/angular-testing';
|
|
3
|
-
export declare class DefaultListItemHarness extends ComponentHarness {
|
|
4
|
-
static hostSelector: string;
|
|
5
|
-
getAllActionButtons: () => Promise<import("@onecx/angular-testing").TestElement[]>;
|
|
6
|
-
getViewButton: () => Promise<ButtonHarness | null>;
|
|
7
|
-
getEditButton: () => Promise<ButtonHarness | null>;
|
|
8
|
-
getDeleteButton: () => Promise<ButtonHarness | null>;
|
|
9
|
-
private getAllDivs;
|
|
10
|
-
getData(): Promise<string[]>;
|
|
11
|
-
checkDivsHasClasses(value: DivHarness): Promise<boolean>;
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ComponentHarness } from '@angular/cdk/testing';
|
|
2
|
-
import { PChartHarness } from '@onecx/angular-testing';
|
|
3
|
-
export declare class DiagramHarness extends ComponentHarness {
|
|
4
|
-
static hostSelector: string;
|
|
5
|
-
getChart: () => Promise<PChartHarness>;
|
|
6
|
-
getTotalNumberOfResults(): Promise<number | undefined>;
|
|
7
|
-
getSumLabel(): Promise<string | undefined>;
|
|
8
|
-
getDiagramTypeSelectButton(): Promise<import("@onecx/angular-testing").TestElement | null>;
|
|
9
|
-
getAllSelectionButtons(): Promise<import("@onecx/angular-testing").TestElement[]>;
|
|
10
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ContentContainerComponentHarness } from '@onecx/angular-testing';
|
|
2
|
-
import { DialogMessageContentHarness } from './dialog-message-content.harness';
|
|
3
|
-
export declare class DialogContentHarness extends ContentContainerComponentHarness {
|
|
4
|
-
static hostSelector: string;
|
|
5
|
-
getDialogMessageContent: () => Promise<DialogMessageContentHarness | null>;
|
|
6
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ContentContainerComponentHarness, PButtonDirectiveHarness } from '@onecx/angular-testing';
|
|
2
|
-
export declare class DialogFooterHarness extends ContentContainerComponentHarness {
|
|
3
|
-
static hostSelector: string;
|
|
4
|
-
getPrimaryButton: () => Promise<PButtonDirectiveHarness>;
|
|
5
|
-
getSecondaryButton: () => Promise<PButtonDirectiveHarness | null>;
|
|
6
|
-
clickPrimaryButton(): Promise<void>;
|
|
7
|
-
clickSecondaryButton(): Promise<void>;
|
|
8
|
-
getPrimaryButtonLabel(): Promise<string | null>;
|
|
9
|
-
getPrimaryButtonIcon(): Promise<string | null>;
|
|
10
|
-
getSecondaryButtonLabel(): Promise<string | null | undefined>;
|
|
11
|
-
getSecondaryButtonIcon(): Promise<string | null | undefined>;
|
|
12
|
-
getPrimaryButtonDisabled(): Promise<boolean>;
|
|
13
|
-
getSecondaryButtonDisabled(): Promise<boolean | undefined>;
|
|
14
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ContentContainerComponentHarness } from '@onecx/angular-testing';
|
|
2
|
-
import { DialogContentHarness } from './dialog-content.harness';
|
|
3
|
-
import { DialogFooterHarness } from './dialog-footer.harness';
|
|
4
|
-
export declare class DialogInlineHarness extends ContentContainerComponentHarness {
|
|
5
|
-
static hostSelector: string;
|
|
6
|
-
getDialogContent: () => Promise<DialogContentHarness>;
|
|
7
|
-
getDialogFooter: () => Promise<DialogFooterHarness>;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ContentContainerComponentHarness } from '@angular/cdk/testing';
|
|
2
|
-
import { DataTableHarness } from './data-table.harness';
|
|
3
|
-
import { PButtonHarness, PChipHarness, SpanHarness } from '@onecx/angular-testing';
|
|
4
|
-
export declare class FilterViewHarness extends ContentContainerComponentHarness {
|
|
5
|
-
static hostSelector: string;
|
|
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
|
-
getDataTable(): Promise<DataTableHarness | null>;
|
|
12
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ContentContainerComponentHarness } from '@angular/cdk/testing';
|
|
2
|
-
import { PButtonHarness } from '@onecx/angular-testing';
|
|
3
|
-
import { PSelectHarness } from '@onecx/angular-testing';
|
|
4
|
-
import { DataLayoutSelectionHarness } from './data-layout-selection.harness';
|
|
5
|
-
import { DataViewHarness } from './data-view.harness';
|
|
6
|
-
import { SlotHarness } from './slot.harness';
|
|
7
|
-
import { CustomGroupColumnSelectorHarness } from './custom-group-column-selector.harness';
|
|
8
|
-
export declare class InteractiveDataViewHarness extends ContentContainerComponentHarness {
|
|
9
|
-
static hostSelector: string;
|
|
10
|
-
getHeaderStyleClasses(): Promise<string[]>;
|
|
11
|
-
getContentStyleClasses(): Promise<string[]>;
|
|
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
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ContentContainerComponentHarness } from "@angular/cdk/testing";
|
|
2
|
-
export declare class LifecycleHarness extends ContentContainerComponentHarness {
|
|
3
|
-
static hostSelector: string;
|
|
4
|
-
getSteps: () => Promise<import("@angular/cdk/harness-environment.d-BbFzIFDE").T[]>;
|
|
5
|
-
getHighlightedSteps: () => Promise<import("@angular/cdk/harness-environment.d-BbFzIFDE").T[]>;
|
|
6
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ContentContainerComponentHarness, HarnessLoader } from '@angular/cdk/testing';
|
|
2
|
-
import { MenuItemHarness } from '@onecx/angular-testing';
|
|
3
|
-
export declare class MoreActionsMenuButtonHarness extends ContentContainerComponentHarness {
|
|
4
|
-
static hostSelector: string;
|
|
5
|
-
getHarnessLoaderForPMenuOverlay(): Promise<HarnessLoader | null>;
|
|
6
|
-
isOpen(): Promise<boolean>;
|
|
7
|
-
open(): Promise<void>;
|
|
8
|
-
close(): Promise<void>;
|
|
9
|
-
getAllActionsMenuItems(): Promise<MenuItemHarness[]>;
|
|
10
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
-
import { ListItemHarness, MenuItemHarness, PBreadcrumbHarness, PButtonHarness, PMenuHarness } from '@onecx/angular-testing';
|
|
3
|
-
export declare class PageHeaderHarness extends ComponentHarness {
|
|
4
|
-
static hostSelector: string;
|
|
5
|
-
getPageHeaderWrapperHarness: () => Promise<import("@onecx/angular-testing").TestElement[]>;
|
|
6
|
-
getBreadcrumb: () => Promise<PBreadcrumbHarness | null>;
|
|
7
|
-
getMenu: () => Promise<PMenuHarness | null>;
|
|
8
|
-
getElementByTitle(title: string): Promise<import("@onecx/angular-testing").TestElement | null>;
|
|
9
|
-
getElementByAriaLabel(ariaLabel: string): Promise<import("@onecx/angular-testing").TestElement | null>;
|
|
10
|
-
getObjectInfos(): Promise<ObjectDetailItemHarness[]>;
|
|
11
|
-
getObjectInfoByLabel(objectInfolabel: string): Promise<ObjectDetailItemHarness | null>;
|
|
12
|
-
getInlineActionButtons(): Promise<PButtonHarness[]>;
|
|
13
|
-
getInlineActionButtonByLabel(buttonLabel: string): Promise<PButtonHarness | null>;
|
|
14
|
-
getInlineActionButtonByIcon(buttonIcon: string): Promise<PButtonHarness | null>;
|
|
15
|
-
getOverflowActionMenuButton(): Promise<import("@onecx/angular-testing").TestElement | null>;
|
|
16
|
-
getOverFlowMenuItems(): Promise<MenuItemHarness[]>;
|
|
17
|
-
getOverFlowMenuItem(itemText: string): Promise<MenuItemHarness | undefined | null>;
|
|
18
|
-
getBreadcrumbItem(itemText: string): Promise<ListItemHarness | undefined | null>;
|
|
19
|
-
getHeaderText(): Promise<string | undefined>;
|
|
20
|
-
getSubheaderText(): Promise<string | undefined>;
|
|
21
|
-
}
|
|
22
|
-
interface ObjectDetailItemHarnessFilters extends BaseHarnessFilters {
|
|
23
|
-
label?: string;
|
|
24
|
-
}
|
|
25
|
-
declare class ObjectDetailItemHarness extends ComponentHarness {
|
|
26
|
-
static hostSelector: string;
|
|
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
|
-
static with(options: ObjectDetailItemHarnessFilters): HarnessPredicate<ObjectDetailItemHarness>;
|
|
31
|
-
getLabel(): Promise<string>;
|
|
32
|
-
getValue(): Promise<string | undefined>;
|
|
33
|
-
getValueStyles(): Promise<string | null | undefined>;
|
|
34
|
-
getIcon(): Promise<string | null | undefined>;
|
|
35
|
-
}
|
|
36
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ComponentHarness } from '@angular/cdk/testing';
|
|
2
|
-
import { PButtonHarness } from '@onecx/angular-testing';
|
|
3
|
-
import { PageHeaderHarness } from './page-header.harness';
|
|
4
|
-
import { MoreActionsMenuButtonHarness } from './more-actions-menu-button.harness';
|
|
5
|
-
export declare class SearchHeaderHarness extends ComponentHarness {
|
|
6
|
-
static hostSelector: string;
|
|
7
|
-
getPageHeader: () => Promise<PageHeaderHarness>;
|
|
8
|
-
getSearchButton: () => Promise<PButtonHarness>;
|
|
9
|
-
getResetButton: () => Promise<PButtonHarness>;
|
|
10
|
-
getSimpleAdvancedButton: () => Promise<PButtonHarness | null>;
|
|
11
|
-
getMoreActionsMenuButton: () => Promise<MoreActionsMenuButtonHarness | null>;
|
|
12
|
-
clickResetButton(): Promise<void>;
|
|
13
|
-
clickSearchButton(): Promise<void>;
|
|
14
|
-
toggleSimpleAdvanced(): Promise<void>;
|
|
15
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BaseHarnessFilters, ContentContainerComponentHarness } from '@angular/cdk/testing';
|
|
2
|
-
export interface SlotHarnessFilters extends BaseHarnessFilters {
|
|
3
|
-
name?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare class SlotHarness extends ContentContainerComponentHarness {
|
|
6
|
-
static hostSelector: string;
|
|
7
|
-
}
|