@onecx/angular-accelerator 7.10.0 → 7.11.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 +1 -0
- package/assets/i18n/en.json +1 -0
- package/fesm2022/onecx-angular-accelerator-testing.mjs +11 -5
- package/fesm2022/onecx-angular-accelerator-testing.mjs.map +1 -1
- package/fesm2022/onecx-angular-accelerator.mjs +142 -63
- package/fesm2022/onecx-angular-accelerator.mjs.map +1 -1
- package/index.d.ts +33 -9
- package/package.json +7 -7
- package/testing/index.d.ts +8 -8
package/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ import * as i17 from 'primeng/popover';
|
|
|
19
19
|
import { Popover } from 'primeng/popover';
|
|
20
20
|
import * as i5 from 'primeng/button';
|
|
21
21
|
import { Button } from 'primeng/button';
|
|
22
|
+
import { LiveAnnouncer } from '@angular/cdk/a11y';
|
|
22
23
|
import * as i40 from '@angular/router';
|
|
23
24
|
import { QueryParamsHandling } from '@angular/router';
|
|
24
25
|
import * as i39 from '@angular/forms';
|
|
@@ -396,35 +397,37 @@ declare class CustomGroupColumnSelectorComponent implements OnInit {
|
|
|
396
397
|
*/
|
|
397
398
|
type PrimeIcon = (typeof PrimeIcons)[keyof Omit<typeof PrimeIcons, 'prototype'>];
|
|
398
399
|
|
|
400
|
+
type Layout = 'grid' | 'list' | 'table';
|
|
399
401
|
interface ViewingLayouts {
|
|
400
402
|
id: string;
|
|
401
403
|
icon: PrimeIcon;
|
|
402
|
-
layout:
|
|
404
|
+
layout: Layout;
|
|
403
405
|
tooltip?: string;
|
|
404
406
|
tooltipKey: string;
|
|
405
407
|
label?: string;
|
|
406
408
|
labelKey: string;
|
|
407
409
|
}
|
|
408
410
|
interface DataLayoutSelectionComponentState {
|
|
409
|
-
layout?:
|
|
411
|
+
layout?: Layout;
|
|
410
412
|
}
|
|
411
413
|
declare class DataLayoutSelectionComponent implements OnInit {
|
|
412
414
|
supportedViewLayouts: Array<string>;
|
|
413
|
-
set layout(value:
|
|
414
|
-
get layout():
|
|
415
|
-
dataViewLayoutChange: EventEmitter<
|
|
415
|
+
set layout(value: Layout);
|
|
416
|
+
get layout(): Layout;
|
|
417
|
+
dataViewLayoutChange: EventEmitter<Layout>;
|
|
416
418
|
componentStateChanged: EventEmitter<DataLayoutSelectionComponentState>;
|
|
417
419
|
viewingLayouts: ViewingLayouts[];
|
|
418
420
|
selectedViewLayout: ViewingLayouts | undefined;
|
|
419
421
|
ngOnInit(): void;
|
|
420
422
|
onDataViewLayoutChange(event: {
|
|
421
423
|
icon: PrimeIcon;
|
|
422
|
-
layout:
|
|
424
|
+
layout: Layout;
|
|
423
425
|
}): void;
|
|
424
426
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataLayoutSelectionComponent, never>;
|
|
425
427
|
static ɵcmp: i0.ɵɵComponentDeclaration<DataLayoutSelectionComponent, "ocx-data-layout-selection", never, { "supportedViewLayouts": { "alias": "supportedViewLayouts"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; }, { "dataViewLayoutChange": "dataViewLayoutChange"; "componentStateChanged": "componentStateChanged"; }, never, never, false, never>;
|
|
426
428
|
}
|
|
427
429
|
|
|
430
|
+
type RouterLink = string | (() => string) | (() => Promise<string>) | Promise<string>;
|
|
428
431
|
interface DataAction {
|
|
429
432
|
id?: string;
|
|
430
433
|
labelKey?: string;
|
|
@@ -435,7 +438,8 @@ interface DataAction {
|
|
|
435
438
|
actionVisibleField?: string;
|
|
436
439
|
actionEnabledField?: string;
|
|
437
440
|
showAsOverflow?: boolean;
|
|
438
|
-
callback
|
|
441
|
+
callback?: (data: any) => void;
|
|
442
|
+
routerLink?: RouterLink;
|
|
439
443
|
}
|
|
440
444
|
|
|
441
445
|
declare const enum DataSortDirection {
|
|
@@ -679,6 +683,8 @@ declare class DataTableComponent extends DataSortBase implements OnInit, AfterCo
|
|
|
679
683
|
resolveFieldData(object: any, key: any): any;
|
|
680
684
|
getRowObjectFromMultiselectItem(value: MultiSelectItem, column: DataTableColumn): Record<string, string | undefined>;
|
|
681
685
|
rowTrackByFunction: (item: any) => any;
|
|
686
|
+
private createOverflowMenuItems;
|
|
687
|
+
private toOverflowMenuItem;
|
|
682
688
|
private filterActionsBasedOnPermissions;
|
|
683
689
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
|
|
684
690
|
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "ocx-data-table", never, { "rows": { "alias": "rows"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "sortColumn": { "alias": "sortColumn"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; }; "sortStates": { "alias": "sortStates"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "emptyResultsMessage": { "alias": "emptyResultsMessage"; "required": false; }; "name": { "alias": "name"; "required": false; }; "deletePermission": { "alias": "deletePermission"; "required": false; }; "viewPermission": { "alias": "viewPermission"; "required": false; }; "editPermission": { "alias": "editPermission"; "required": false; }; "deleteActionVisibleField": { "alias": "deleteActionVisibleField"; "required": false; }; "deleteActionEnabledField": { "alias": "deleteActionEnabledField"; "required": false; }; "viewActionVisibleField": { "alias": "viewActionVisibleField"; "required": false; }; "viewActionEnabledField": { "alias": "viewActionEnabledField"; "required": false; }; "editActionVisibleField": { "alias": "editActionVisibleField"; "required": false; }; "editActionEnabledField": { "alias": "editActionEnabledField"; "required": false; }; "selectionEnabledField": { "alias": "selectionEnabledField"; "required": false; }; "allowSelectAll": { "alias": "allowSelectAll"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "page": { "alias": "page"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; "totalRecordsOnServer": { "alias": "totalRecordsOnServer"; "required": false; "isSignal": true; }; "currentPageShowingKey": { "alias": "currentPageShowingKey"; "required": false; }; "currentPageShowingWithTotalOnServerKey": { "alias": "currentPageShowingWithTotalOnServerKey"; "required": false; }; "stringCellTemplate": { "alias": "stringCellTemplate"; "required": false; }; "numberCellTemplate": { "alias": "numberCellTemplate"; "required": false; }; "dateCellTemplate": { "alias": "dateCellTemplate"; "required": false; }; "relativeDateCellTemplate": { "alias": "relativeDateCellTemplate"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "translationKeyCellTemplate": { "alias": "translationKeyCellTemplate"; "required": false; }; "stringFilterCellTemplate": { "alias": "stringFilterCellTemplate"; "required": false; }; "numberFilterCellTemplate": { "alias": "numberFilterCellTemplate"; "required": false; }; "dateFilterCellTemplate": { "alias": "dateFilterCellTemplate"; "required": false; }; "relativeDateFilterCellTemplate": { "alias": "relativeDateFilterCellTemplate"; "required": false; }; "filterCellTemplate": { "alias": "filterCellTemplate"; "required": false; }; "translationKeyFilterCellTemplate": { "alias": "translationKeyFilterCellTemplate"; "required": false; }; "columnHeaderTemplate": { "alias": "columnHeaderTemplate"; "required": false; }; "additionalActions": { "alias": "additionalActions"; "required": false; }; "frozenActionColumn": { "alias": "frozenActionColumn"; "required": false; }; "actionColumnPosition": { "alias": "actionColumnPosition"; "required": false; }; "expandedRows": { "alias": "expandedRows"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "frozenExpandColumn": { "alias": "frozenExpandColumn"; "required": false; }; "parentTemplates": { "alias": "parentTemplates"; "required": false; }; }, { "filtered": "filtered"; "sorted": "sorted"; "viewTableRow": "viewTableRow"; "editTableRow": "editTableRow"; "deleteTableRow": "deleteTableRow"; "selectionChanged": "selectionChanged"; "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "componentStateChanged": "componentStateChanged"; "rowExpanded": "rowExpanded"; "rowCollapsed": "rowCollapsed"; }, ["stringCellChildTemplate", "numberCellChildTemplate", "dateCellChildTemplate", "relativeDateCellChildTemplate", "cellChildTemplate", "translationKeyCellChildTemplate", "stringFilterCellChildTemplate", "numberFilterCellChildTemplate", "dateFilterCellChildTemplate", "relativeDateFilterCellChildTemplate", "filterCellChildTemplate", "translationKeyFilterCellChildTemplate", "columnHeaderChildTemplate", "templates"], never, false, never>;
|
|
@@ -876,8 +882,14 @@ declare class DataListGridComponent extends DataSortBase implements OnInit, DoCh
|
|
|
876
882
|
getTemplate(column: DataTableColumn): Observable<TemplateRef<any> | null>;
|
|
877
883
|
private mapGridMenuItems;
|
|
878
884
|
private getGridActionsTranslations;
|
|
885
|
+
private createOverflowListMenuItems;
|
|
886
|
+
private toOverflowListMenuItem;
|
|
879
887
|
private shouldDisplayAction;
|
|
880
888
|
private filterActionsBasedOnPermissions;
|
|
889
|
+
onAdditionalActionClick(action: DataAction, item: any): Promise<void>;
|
|
890
|
+
private handleAction;
|
|
891
|
+
private handleActionSync;
|
|
892
|
+
private resolveRouterLink;
|
|
881
893
|
private getPermissions;
|
|
882
894
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataListGridComponent, never>;
|
|
883
895
|
static ɵcmp: i0.ɵɵComponentDeclaration<DataListGridComponent, "ocx-data-list-grid", never, { "titleLineId": { "alias": "titleLineId"; "required": false; }; "subtitleLineIds": { "alias": "subtitleLineIds"; "required": false; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; }; "sortStates": { "alias": "sortStates"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "emptyResultsMessage": { "alias": "emptyResultsMessage"; "required": false; }; "fallbackImage": { "alias": "fallbackImage"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "viewPermission": { "alias": "viewPermission"; "required": false; }; "editPermission": { "alias": "editPermission"; "required": false; }; "deletePermission": { "alias": "deletePermission"; "required": false; }; "deleteActionVisibleField": { "alias": "deleteActionVisibleField"; "required": false; }; "deleteActionEnabledField": { "alias": "deleteActionEnabledField"; "required": false; }; "viewActionVisibleField": { "alias": "viewActionVisibleField"; "required": false; }; "viewActionEnabledField": { "alias": "viewActionEnabledField"; "required": false; }; "editActionVisibleField": { "alias": "editActionVisibleField"; "required": false; }; "editActionEnabledField": { "alias": "editActionEnabledField"; "required": false; }; "viewMenuItemKey": { "alias": "viewMenuItemKey"; "required": false; }; "editMenuItemKey": { "alias": "editMenuItemKey"; "required": false; }; "deleteMenuItemKey": { "alias": "deleteMenuItemKey"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "page": { "alias": "page"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "name": { "alias": "name"; "required": false; }; "totalRecordsOnServer": { "alias": "totalRecordsOnServer"; "required": false; "isSignal": true; }; "currentPageShowingKey": { "alias": "currentPageShowingKey"; "required": false; }; "currentPageShowingWithTotalOnServerKey": { "alias": "currentPageShowingWithTotalOnServerKey"; "required": false; }; "data": { "alias": "data"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "sortField": { "alias": "sortField"; "required": false; }; "gridItemSubtitleLinesTemplate": { "alias": "gridItemSubtitleLinesTemplate"; "required": false; }; "listItemSubtitleLinesTemplate": { "alias": "listItemSubtitleLinesTemplate"; "required": false; }; "listItemTemplate": { "alias": "listItemTemplate"; "required": false; }; "gridItemTemplate": { "alias": "gridItemTemplate"; "required": false; }; "listValueTemplate": { "alias": "listValueTemplate"; "required": false; }; "translationKeyListValueTemplate": { "alias": "translationKeyListValueTemplate"; "required": false; }; "numberListValueTemplate": { "alias": "numberListValueTemplate"; "required": false; }; "relativeDateListValueTemplate": { "alias": "relativeDateListValueTemplate"; "required": false; }; "stringListValueTemplate": { "alias": "stringListValueTemplate"; "required": false; }; "dateListValueTemplate": { "alias": "dateListValueTemplate"; "required": false; }; "additionalActions": { "alias": "additionalActions"; "required": false; }; "parentTemplates": { "alias": "parentTemplates"; "required": false; }; }, { "viewItem": "viewItem"; "editItem": "editItem"; "deleteItem": "deleteItem"; "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "componentStateChanged": "componentStateChanged"; }, ["gridItemSubtitleLinesChildTemplate", "listItemSubtitleLinesChildTemplate", "listItemChildTemplate", "gridItemChildTemplate", "listValueChildTemplate", "translationKeyListValueChildTemplate", "numberListValueChildTemplate", "relativeDateListValueChildTemplate", "stringListValueChildTemplate", "dateListValueChildTemplate", "templates"], never, false, never>;
|
|
@@ -1165,6 +1177,8 @@ interface FilterViewComponentState {
|
|
|
1165
1177
|
filters?: Filter$1[];
|
|
1166
1178
|
}
|
|
1167
1179
|
declare class FilterViewComponent implements OnInit {
|
|
1180
|
+
readonly translateService: TranslateService;
|
|
1181
|
+
readonly liveAnnouncer: LiveAnnouncer;
|
|
1168
1182
|
ColumnType: typeof ColumnType;
|
|
1169
1183
|
FilterType: typeof FilterType;
|
|
1170
1184
|
filters$: BehaviorSubject<Filter$1[]>;
|
|
@@ -1219,6 +1233,7 @@ declare class FilterViewComponent implements OnInit {
|
|
|
1219
1233
|
resolveFieldData(object: any, key: any): any;
|
|
1220
1234
|
getRowObjectFromFiterData(filter: Filter$1): Record<string, unknown>;
|
|
1221
1235
|
getRowForValueColumn(row: Row): Row;
|
|
1236
|
+
private annouceFilterCount;
|
|
1222
1237
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterViewComponent, never>;
|
|
1223
1238
|
static ɵcmp: i0.ɵɵComponentDeclaration<FilterViewComponent, "ocx-filter-view", never, { "filters": { "alias": "filters"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; "selectDisplayedChips": { "alias": "selectDisplayedChips"; "required": false; }; "chipStyleClass": { "alias": "chipStyleClass"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; "panelStyle": { "alias": "panelStyle"; "required": false; }; "templates": { "alias": "templates"; "required": false; }; }, { "filtered": "filtered"; "componentStateChanged": "componentStateChanged"; }, never, never, false, never>;
|
|
1224
1239
|
}
|
|
@@ -1604,6 +1619,7 @@ interface Action {
|
|
|
1604
1619
|
labelKey?: string;
|
|
1605
1620
|
icon?: string;
|
|
1606
1621
|
iconPos?: 'left' | 'right' | 'top' | 'bottom';
|
|
1622
|
+
routerLink?: string;
|
|
1607
1623
|
/**
|
|
1608
1624
|
* Permission for this action. If the current user does not have this permission, the action will not be shown.
|
|
1609
1625
|
*/
|
|
@@ -1613,7 +1629,7 @@ interface Action {
|
|
|
1613
1629
|
ariaLabel?: string;
|
|
1614
1630
|
ariaLabelKey?: string;
|
|
1615
1631
|
btnClass?: string;
|
|
1616
|
-
actionCallback(): void;
|
|
1632
|
+
actionCallback?(): void;
|
|
1617
1633
|
disabled?: boolean;
|
|
1618
1634
|
disabledTooltip?: string;
|
|
1619
1635
|
disabledTooltipKey?: string;
|
|
@@ -1951,6 +1967,7 @@ type Component<T extends unknown> = unknown extends T ? {
|
|
|
1951
1967
|
};
|
|
1952
1968
|
type DialogButton = 'primary' | 'secondary' | 'custom';
|
|
1953
1969
|
type DialogStateButtonClicked = 'primary' | 'secondary' | 'custom';
|
|
1970
|
+
type DialogInitiator = 'initiator' | 'default';
|
|
1954
1971
|
/**
|
|
1955
1972
|
* Object containing information about clicked button ('primary' or 'secondary') and displayed component state captured on button click (only if component implements {@link DialogResult} interface)
|
|
1956
1973
|
*/
|
|
@@ -1985,6 +2002,9 @@ type PortalDialogConfig = {
|
|
|
1985
2002
|
minimizeIcon?: string;
|
|
1986
2003
|
position?: string;
|
|
1987
2004
|
closeAriaLabel?: string;
|
|
2005
|
+
closable?: boolean;
|
|
2006
|
+
initiatorRef?: HTMLElement;
|
|
2007
|
+
onCloseFocus?: DialogInitiator;
|
|
1988
2008
|
};
|
|
1989
2009
|
interface PortalDialogServiceData {
|
|
1990
2010
|
primaryButtonEnabled$: EventEmitter<boolean>;
|
|
@@ -2150,6 +2170,7 @@ declare class PortalDialogService implements OnDestroy {
|
|
|
2150
2170
|
* ```
|
|
2151
2171
|
*/
|
|
2152
2172
|
openDialog<T>(title: TranslationKey | null, componentOrMessage: Type<any> | Type<DialogResult<T>> | Component<T> | TranslationKey | DialogMessage, primaryButtonTranslationKeyOrDetails: TranslationKey | ButtonDialogButtonDetails, secondaryButtonTranslationKeyOrDetails?: TranslationKey | ButtonDialogButtonDetails, extras?: PortalDialogConfig): Observable<DialogState<T> | null>;
|
|
2173
|
+
private setFocusOnInitiator;
|
|
2153
2174
|
private cleanupAndCloseDialog;
|
|
2154
2175
|
private removeDialogFromHtml;
|
|
2155
2176
|
private setScopeIdentifier;
|
|
@@ -2162,6 +2183,7 @@ declare class PortalDialogService implements OnDestroy {
|
|
|
2162
2183
|
private isString;
|
|
2163
2184
|
private isDialogMessage;
|
|
2164
2185
|
private isType;
|
|
2186
|
+
private getShowXStatus;
|
|
2165
2187
|
static ɵfac: i0.ɵɵFactoryDeclaration<PortalDialogService, never>;
|
|
2166
2188
|
static ɵprov: i0.ɵɵInjectableDeclaration<PortalDialogService>;
|
|
2167
2189
|
}
|
|
@@ -2205,6 +2227,8 @@ interface ButtonDialogConfig {
|
|
|
2205
2227
|
customButtons?: ButtonDialogCustomButtonDetails[];
|
|
2206
2228
|
autoFocusButton?: DialogButton;
|
|
2207
2229
|
autoFocusButtonCustomId?: string;
|
|
2230
|
+
initiatorRef?: HTMLElement;
|
|
2231
|
+
onCloseFocus?: DialogInitiator;
|
|
2208
2232
|
}
|
|
2209
2233
|
interface ButtonDialogData {
|
|
2210
2234
|
config: ButtonDialogConfig;
|
|
@@ -2451,4 +2475,4 @@ declare class ImageLogoUrlUtils {
|
|
|
2451
2475
|
}
|
|
2452
2476
|
|
|
2453
2477
|
export { AdvancedDirective, AngularAcceleratorMissingTranslationHandler, AngularAcceleratorModule, AngularAcceleratorPrimeNgModule, BasicDirective, BreadcrumbService, ColorUtils, ColumnGroupSelectionComponent, ColumnType, CustomGroupColumnSelectorComponent, DataLayoutSelectionComponent, DataListGridComponent, DataListGridSortingComponent, DataOperationStrategy, DataSortDirection, DataTableComponent, DataViewComponent, DateUtils, DiagramComponent, DiagramType, DialogContentComponent, DialogFooterComponent, DialogInlineComponent, DialogMessageContentComponent, DynamicPipe, ExportDataService, FilterType, FilterViewComponent, GlobalErrorComponent, GroupByCountDiagramComponent, IfBreakpointDirective, IfPermissionDirective, ImageLogoUrlUtils, InteractiveDataViewComponent, LifecycleComponent, LoadingIndicatorComponent, LoadingIndicatorDirective, ObjectUtils, OcxContentComponent, OcxContentContainerComponent, OcxContentContainerDirective, OcxContentDirective, OcxTimeAgoPipe, OcxTooltipDirective, PageHeaderComponent, PortalDialogService, RelativeDatePipe, SearchHeaderComponent, SrcDirective, TemplateDirective, TemplateType, TooltipOnOverflowDirective, atLeastOneFieldFilledValidator, buildSearchCriteria, enumToDropdownOptions, findEntryWithKeyword, findTemplate, flattenObject, limit, providePortalDialogService, removeKeyword, searchPrefixWithSpecialChars };
|
|
2454
|
-
export type { Action, ActionColumnChangedEvent, BreadCrumbMenuItem, BuildSearchCriteriaParameters, ButtonDialogButtonDetails, ButtonDialogConfig, ButtonDialogCustomButtonDetails, ButtonDialogData, ColumnFilterDataSelectOptions, ColumnGroupData, ColumnGroupSelectionComponentState, ColumnSelectionChangedEvent, CustomGroupColumnSelectorComponentState, DataAction, DataLayoutSelectionComponentState, DataListGridComponentState, DataListGridSortingComponentState, DataTableColumn, DataTableComponentState, DataViewComponentState, DiagramColumn, DiagramComponentState, DiagramLayouts, DialogButton, DialogButtonClicked, DialogCustomButtonsDisabled, DialogPrimaryButtonDisabled, DialogResult, DialogSecondaryButtonDisabled, DialogState, DialogStateButtonClicked, Filter$1 as Filter, FilterObject, FilterViewComponentState, FilterViewDisplayMode, FilterViewRowDetailData, FilterViewRowDisplayData, GridColumnOptions, GroupByCountDiagramComponentState, GroupSelectionChangedEvent, HomeItem, InteractiveDataViewComponentState, LifecycleStep, ListGridData, ListGridDataMenuItem, ListGridSort, ObjectDetailItem, PortalDialogConfig, PortalDialogServiceData, PrimeIcon, Primitive, Result, Row, RowListGridData, SearchConfigData, SearchHeaderComponentState, Sort, TranslationKey, TranslationKeyWithParameters, hasShowTimeFunction };
|
|
2478
|
+
export type { Action, ActionColumnChangedEvent, BreadCrumbMenuItem, BuildSearchCriteriaParameters, ButtonDialogButtonDetails, ButtonDialogConfig, ButtonDialogCustomButtonDetails, ButtonDialogData, ColumnFilterDataSelectOptions, ColumnGroupData, ColumnGroupSelectionComponentState, ColumnSelectionChangedEvent, CustomGroupColumnSelectorComponentState, DataAction, DataLayoutSelectionComponentState, DataListGridComponentState, DataListGridSortingComponentState, DataTableColumn, DataTableComponentState, DataViewComponentState, DiagramColumn, DiagramComponentState, DiagramLayouts, DialogButton, DialogButtonClicked, DialogCustomButtonsDisabled, DialogInitiator, DialogPrimaryButtonDisabled, DialogResult, DialogSecondaryButtonDisabled, DialogState, DialogStateButtonClicked, Filter$1 as Filter, FilterObject, FilterViewComponentState, FilterViewDisplayMode, FilterViewRowDetailData, FilterViewRowDisplayData, GridColumnOptions, GroupByCountDiagramComponentState, GroupSelectionChangedEvent, HomeItem, InteractiveDataViewComponentState, Layout, LifecycleStep, ListGridData, ListGridDataMenuItem, ListGridSort, ObjectDetailItem, PortalDialogConfig, PortalDialogServiceData, PrimeIcon, Primitive, Result, RouterLink, Row, RowListGridData, SearchConfigData, SearchHeaderComponentState, Sort, TranslationKey, TranslationKeyWithParameters, hasShowTimeFunction };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onecx/angular-accelerator",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.11.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"@angular/router": "^20.0.0",
|
|
16
16
|
"@ngx-translate/core": "^17.0.0",
|
|
17
17
|
"@ngneat/until-destroy": "^10.0.0",
|
|
18
|
-
"@onecx/integration-interface": "^7.
|
|
19
|
-
"@onecx/accelerator": "^7.
|
|
20
|
-
"@onecx/angular-integration-interface": "^7.
|
|
21
|
-
"@onecx/angular-remote-components": "^7.
|
|
22
|
-
"@onecx/angular-testing": "^7.
|
|
23
|
-
"@onecx/angular-utils": "^7.
|
|
18
|
+
"@onecx/integration-interface": "^7.11.0",
|
|
19
|
+
"@onecx/accelerator": "^7.11.0",
|
|
20
|
+
"@onecx/angular-integration-interface": "^7.11.0",
|
|
21
|
+
"@onecx/angular-remote-components": "^7.11.0",
|
|
22
|
+
"@onecx/angular-testing": "^7.11.0",
|
|
23
|
+
"@onecx/angular-utils": "^7.11.0",
|
|
24
24
|
"chart.js": "^4.4.3",
|
|
25
25
|
"d3-scale-chromatic": "^3.1.0",
|
|
26
26
|
"fast-deep-equal": "^3.1.3",
|
package/testing/index.d.ts
CHANGED
|
@@ -184,17 +184,17 @@ declare class LifecycleHarness extends ContentContainerComponentHarness {
|
|
|
184
184
|
|
|
185
185
|
declare class PageHeaderHarness extends ComponentHarness {
|
|
186
186
|
static hostSelector: string;
|
|
187
|
-
getPageHeaderWrapperHarness: () => Promise<
|
|
187
|
+
getPageHeaderWrapperHarness: () => Promise<TestElement[]>;
|
|
188
188
|
getBreadcrumb: () => Promise<PBreadcrumbHarness | null>;
|
|
189
189
|
getMenu: () => Promise<PMenuHarness | null>;
|
|
190
|
-
getElementByTitle(title: string): Promise<
|
|
191
|
-
getElementByAriaLabel(ariaLabel: string): Promise<
|
|
190
|
+
getElementByTitle(title: string): Promise<TestElement | null>;
|
|
191
|
+
getElementByAriaLabel(ariaLabel: string): Promise<TestElement | null>;
|
|
192
192
|
getObjectInfos(): Promise<ObjectDetailItemHarness[]>;
|
|
193
193
|
getObjectInfoByLabel(objectInfolabel: string): Promise<ObjectDetailItemHarness | null>;
|
|
194
|
-
getInlineActionButtons(): Promise<PButtonHarness[]>;
|
|
194
|
+
getInlineActionButtons(): Promise<(PButtonHarness | TestElement)[]>;
|
|
195
195
|
getInlineActionButtonByLabel(buttonLabel: string): Promise<PButtonHarness | null>;
|
|
196
196
|
getInlineActionButtonByIcon(buttonIcon: string): Promise<PButtonHarness | null>;
|
|
197
|
-
getOverflowActionMenuButton(): Promise<
|
|
197
|
+
getOverflowActionMenuButton(): Promise<TestElement | null>;
|
|
198
198
|
getOverFlowMenuItems(): Promise<MenuItemHarness[]>;
|
|
199
199
|
getOverFlowMenuItem(itemText: string): Promise<MenuItemHarness | undefined | null>;
|
|
200
200
|
getBreadcrumbItem(itemText: string): Promise<ListItemHarness | undefined | null>;
|
|
@@ -206,9 +206,9 @@ interface ObjectDetailItemHarnessFilters extends BaseHarnessFilters {
|
|
|
206
206
|
}
|
|
207
207
|
declare class ObjectDetailItemHarness extends ContentContainerComponentHarness {
|
|
208
208
|
static hostSelector: string;
|
|
209
|
-
getLabelElement: () => Promise<
|
|
210
|
-
getValueElement: () => Promise<
|
|
211
|
-
getIconElement: () => Promise<
|
|
209
|
+
getLabelElement: () => Promise<TestElement>;
|
|
210
|
+
getValueElement: () => Promise<TestElement | null>;
|
|
211
|
+
getIconElement: () => Promise<TestElement | null>;
|
|
212
212
|
static with(options: ObjectDetailItemHarnessFilters): HarnessPredicate<ObjectDetailItemHarness>;
|
|
213
213
|
getLabel(): Promise<string>;
|
|
214
214
|
getValue(): Promise<string | undefined>;
|