@onecx/angular-accelerator 5.23.5 → 5.24.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/esm2022/lib/components/data-list-grid/data-list-grid.component.mjs +3 -3
- package/esm2022/lib/components/data-sort-base/data-sort-base.mjs +18 -8
- package/esm2022/lib/components/data-table/data-table.component.mjs +3 -3
- package/esm2022/lib/components/data-view/data-view.component.mjs +1 -1
- package/esm2022/lib/components/filter-view/filter-view.component.mjs +4 -1
- package/esm2022/lib/components/interactive-data-view/interactive-data-view.component.mjs +8 -2
- package/esm2022/lib/components/search-header/search-header.component.mjs +19 -14
- package/esm2022/lib/directives/if-permission.directive.mjs +15 -15
- package/esm2022/lib/model/data-action.mjs +1 -1
- package/fesm2022/onecx-angular-accelerator.mjs +54 -32
- package/fesm2022/onecx-angular-accelerator.mjs.map +1 -1
- package/lib/components/data-list-grid/data-list-grid.component.d.ts +3 -3
- package/lib/components/data-table/data-table.component.d.ts +3 -3
- package/lib/components/data-view/data-view.component.d.ts +3 -3
- package/lib/components/interactive-data-view/interactive-data-view.component.d.ts +4 -4
- package/lib/components/search-header/search-header.component.d.ts +4 -2
- package/lib/model/data-action.d.ts +1 -1
- package/package.json +1 -1
|
@@ -56,9 +56,9 @@ export declare class DataListGridComponent extends DataSortBase implements OnIni
|
|
|
56
56
|
emptyResultsMessage: string | undefined;
|
|
57
57
|
fallbackImage: string;
|
|
58
58
|
layout: 'grid' | 'list';
|
|
59
|
-
viewPermission: string | undefined;
|
|
60
|
-
editPermission: string | undefined;
|
|
61
|
-
deletePermission: string | undefined;
|
|
59
|
+
viewPermission: string | string[] | undefined;
|
|
60
|
+
editPermission: string | string[] | undefined;
|
|
61
|
+
deletePermission: string | string[] | undefined;
|
|
62
62
|
deleteActionVisibleField: string | undefined;
|
|
63
63
|
deleteActionEnabledField: string | undefined;
|
|
64
64
|
viewActionVisibleField: string | undefined;
|
|
@@ -84,9 +84,9 @@ export declare class DataTableComponent extends DataSortBase implements OnInit,
|
|
|
84
84
|
set pageSize(value: number | undefined);
|
|
85
85
|
emptyResultsMessage: string | undefined;
|
|
86
86
|
name: string;
|
|
87
|
-
deletePermission: string | undefined;
|
|
88
|
-
viewPermission: string | undefined;
|
|
89
|
-
editPermission: string | undefined;
|
|
87
|
+
deletePermission: string | string[] | undefined;
|
|
88
|
+
viewPermission: string | string[] | undefined;
|
|
89
|
+
editPermission: string | string[] | undefined;
|
|
90
90
|
deleteActionVisibleField: string | undefined;
|
|
91
91
|
deleteActionEnabledField: string | undefined;
|
|
92
92
|
viewActionVisibleField: string | undefined;
|
|
@@ -20,9 +20,9 @@ export declare class DataViewComponent implements DoCheck, OnInit, AfterContentI
|
|
|
20
20
|
get dataTable(): DataTableComponent | undefined;
|
|
21
21
|
dataTableComponentState$: ReplaySubject<DataTableComponentState>;
|
|
22
22
|
dataListGridComponentState$: ReplaySubject<DataListGridComponentState>;
|
|
23
|
-
deletePermission: string | undefined;
|
|
24
|
-
editPermission: string | undefined;
|
|
25
|
-
viewPermission: string | undefined;
|
|
23
|
+
deletePermission: string | string[] | undefined;
|
|
24
|
+
editPermission: string | string[] | undefined;
|
|
25
|
+
viewPermission: string | string[] | undefined;
|
|
26
26
|
deleteActionVisibleField: string | undefined;
|
|
27
27
|
deleteActionEnabledField: string | undefined;
|
|
28
28
|
viewActionVisibleField: string | undefined;
|
|
@@ -30,10 +30,10 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
|
|
|
30
30
|
dataListGridSortingComponentState$: ReplaySubject<DataListGridSortingComponentState>;
|
|
31
31
|
dataViewComponentState$: ReplaySubject<DataViewComponentState>;
|
|
32
32
|
filterViewComponentState$: ReplaySubject<FilterViewComponentState>;
|
|
33
|
-
searchConfigPermission: string | undefined;
|
|
34
|
-
deletePermission: string | undefined;
|
|
35
|
-
editPermission: string | undefined;
|
|
36
|
-
viewPermission: string | undefined;
|
|
33
|
+
searchConfigPermission: string | string[] | undefined;
|
|
34
|
+
deletePermission: string | string[] | string[] | undefined;
|
|
35
|
+
editPermission: string | string[] | undefined;
|
|
36
|
+
viewPermission: string | string[] | undefined;
|
|
37
37
|
deleteActionVisibleField: string | undefined;
|
|
38
38
|
deleteActionEnabledField: string | undefined;
|
|
39
39
|
viewActionVisibleField: string | undefined;
|
|
@@ -2,6 +2,7 @@ import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, QueryList, T
|
|
|
2
2
|
import { Action } from '../page-header/page-header.component';
|
|
3
3
|
import { FormControlName, FormGroup } from '@angular/forms';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
+
import { ConfigurationService } from '@onecx/angular-integration-interface';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export interface SearchHeaderComponentState {
|
|
7
8
|
activeViewMode?: 'basic' | 'advanced';
|
|
@@ -36,7 +37,7 @@ export declare class SearchHeaderComponent implements AfterContentInit, AfterVie
|
|
|
36
37
|
_actions: Action[];
|
|
37
38
|
get actions(): Action[];
|
|
38
39
|
set actions(value: Action[]);
|
|
39
|
-
searchConfigPermission: string | undefined;
|
|
40
|
+
searchConfigPermission: string | string[] | undefined;
|
|
40
41
|
searchButtonDisabled: boolean;
|
|
41
42
|
resetButtonDisabled: boolean;
|
|
42
43
|
pageName: string | undefined;
|
|
@@ -56,11 +57,12 @@ export declare class SearchHeaderComponent implements AfterContentInit, AfterVie
|
|
|
56
57
|
hasAdvanced: boolean;
|
|
57
58
|
simpleAdvancedAction: Action;
|
|
58
59
|
headerActions: Action[];
|
|
60
|
+
searchButtonsReversed: boolean;
|
|
59
61
|
fieldValues$: Observable<{
|
|
60
62
|
[key: string]: unknown;
|
|
61
63
|
}> | undefined;
|
|
62
64
|
searchConfigChangedSlotEmitter: EventEmitter<SearchConfigData | undefined>;
|
|
63
|
-
constructor();
|
|
65
|
+
constructor(configurationService: ConfigurationService);
|
|
64
66
|
ngAfterContentInit(): void;
|
|
65
67
|
ngAfterViewInit(): void;
|
|
66
68
|
toggleViewMode(): void;
|