@onecx/angular-accelerator 4.32.1 → 4.33.1

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,4 +1,3 @@
1
- import { MissingTranslationHandler, MissingTranslationHandlerParams } from '@ngx-translate/core';
2
1
  import * as i0 from "@angular/core";
3
2
  import * as i1 from "./components/column-group-selection/column-group-selection.component";
4
3
  import * as i2 from "./components/custom-group-column-selector/custom-group-column-selector.component";
@@ -24,9 +23,6 @@ import * as i21 from "./angular-accelerator-primeng.module";
24
23
  import * as i22 from "@ngx-translate/core";
25
24
  import * as i23 from "@angular/forms";
26
25
  import * as i24 from "@angular/router";
27
- export declare class AngularAcceleratorMissingTranslationHandler implements MissingTranslationHandler {
28
- handle(params: MissingTranslationHandlerParams): string;
29
- }
30
26
  export declare class AngularAcceleratorModule {
31
27
  static ɵfac: i0.ɵɵFactoryDeclaration<AngularAcceleratorModule, never>;
32
28
  static ɵmod: i0.ɵɵNgModuleDeclaration<AngularAcceleratorModule, [typeof i1.ColumnGroupSelectionComponent, typeof i2.CustomGroupColumnSelectorComponent, typeof i3.DataLayoutSelectionComponent, typeof i4.DataListGridSortingComponent, typeof i5.DataListGridComponent, typeof i6.DataTableComponent, typeof i7.DataViewComponent, typeof i8.InteractiveDataViewComponent, typeof i9.SearchConfigComponent, typeof i10.PageHeaderComponent, typeof i11.DynamicPipe, typeof i12.SearchHeaderComponent, typeof i13.DiagramComponent, typeof i14.GroupByCountDiagramComponent, typeof i15.IfPermissionDirective, typeof i16.IfBreakpointDirective, typeof i17.SrcDirective, typeof i18.OcxTimeAgoPipe, typeof i17.SrcDirective, typeof i19.AdvancedDirective], [typeof i20.CommonModule, typeof i21.AngularAcceleratorPrimeNgModule, typeof i22.TranslateModule, typeof i23.FormsModule, typeof i24.RouterModule, typeof i23.ReactiveFormsModule], [typeof i1.ColumnGroupSelectionComponent, typeof i2.CustomGroupColumnSelectorComponent, typeof i3.DataLayoutSelectionComponent, typeof i5.DataListGridComponent, typeof i6.DataTableComponent, typeof i7.DataViewComponent, typeof i8.InteractiveDataViewComponent, typeof i9.SearchConfigComponent, typeof i10.PageHeaderComponent, typeof i12.SearchHeaderComponent, typeof i13.DiagramComponent, typeof i14.GroupByCountDiagramComponent, typeof i15.IfPermissionDirective, typeof i16.IfBreakpointDirective, typeof i17.SrcDirective, typeof i18.OcxTimeAgoPipe, typeof i17.SrcDirective, typeof i19.AdvancedDirective]>;
@@ -31,17 +31,26 @@ export interface Action {
31
31
  export interface ObjectDetailItem {
32
32
  label: string;
33
33
  value?: string;
34
+ /**
35
+ * @deprecated Use `valueTooltip` instead
36
+ */
34
37
  tooltip?: string;
38
+ labelTooltip?: string;
39
+ valueTooltip?: string;
35
40
  icon?: PrimeIcon;
36
41
  labelPipe?: Type<any>;
37
42
  valuePipe?: Type<any>;
38
43
  valuePipeArgs?: string;
39
44
  valueCssClass?: string;
45
+ actionItemIcon?: PrimeIcon;
46
+ actionItemCallback?: () => void;
47
+ actionItemTooltip?: string;
40
48
  }
41
49
  export interface HomeItem {
42
50
  menuItem: MenuItem;
43
51
  page?: string;
44
52
  }
53
+ export type GridColumnOptions = 1 | 2 | 3 | 4 | 6 | 12;
45
54
  export declare class PageHeaderComponent implements OnInit, OnChanges {
46
55
  private translateService;
47
56
  private appStateService;
@@ -59,6 +68,8 @@ export declare class PageHeaderComponent implements OnInit, OnChanges {
59
68
  objectDetails: ObjectDetailItem[] | undefined;
60
69
  showBreadcrumbs: boolean;
61
70
  manualBreadcrumbs: boolean;
71
+ enableGridView: undefined | boolean;
72
+ gridLayoutDesktopColumns: undefined | GridColumnOptions;
62
73
  save: EventEmitter<any>;
63
74
  additionalToolbarContent: TemplateRef<any> | undefined;
64
75
  additionalToolbarContentLeft: TemplateRef<any> | undefined;
@@ -68,6 +79,12 @@ export declare class PageHeaderComponent implements OnInit, OnChanges {
68
79
  breadcrumbs$: Observable<MenuItem[]>;
69
80
  home$: Observable<HomeItem>;
70
81
  figureImageLoadError: boolean;
82
+ objectPanelGridLayoutClasses: string;
83
+ objectPanelColumnLayoutClasses: string;
84
+ objectPanelDefaultLayoutClasses: string;
85
+ objectInfoGridLayoutClasses: string;
86
+ objectInfoColumnLayoutClasses: string;
87
+ objectInfoDefaultLayoutClasses: string;
71
88
  protected breadcrumbs: BreadcrumbService;
72
89
  constructor(breadcrumbs: BreadcrumbService, translateService: TranslateService, appStateService: AppStateService, userService: UserService);
73
90
  ngOnChanges(changes: SimpleChanges): void;
@@ -75,6 +92,8 @@ export declare class PageHeaderComponent implements OnInit, OnChanges {
75
92
  onAction(action: string): void;
76
93
  handleImageError(): void;
77
94
  generateItemStyle(item: ObjectDetailItem): string;
95
+ getObjectPanelLayoutClasses(): string;
96
+ getObjectInfoLayoutClasses(): string;
78
97
  /**
79
98
  * Generates a list of actions that should be rendered in an overflow menu
80
99
  */
@@ -90,5 +109,5 @@ export declare class PageHeaderComponent implements OnInit, OnChanges {
90
109
  */
91
110
  private checkActionPermission;
92
111
  static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
93
- static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "ocx-page-header", never, { "header": "header"; "loading": "loading"; "figureBackground": "figureBackground"; "showFigure": "showFigure"; "figureImage": "figureImage"; "disableDefaultActions": "disableDefaultActions"; "subheader": "subheader"; "actions": "actions"; "objectDetails": "objectDetails"; "showBreadcrumbs": "showBreadcrumbs"; "manualBreadcrumbs": "manualBreadcrumbs"; }, { "save": "save"; }, ["additionalToolbarContent", "additionalToolbarContentLeft"], ["[figureImage]", "[toolbarItems]", "*"], false, never>;
112
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "ocx-page-header", never, { "header": "header"; "loading": "loading"; "figureBackground": "figureBackground"; "showFigure": "showFigure"; "figureImage": "figureImage"; "disableDefaultActions": "disableDefaultActions"; "subheader": "subheader"; "actions": "actions"; "objectDetails": "objectDetails"; "showBreadcrumbs": "showBreadcrumbs"; "manualBreadcrumbs": "manualBreadcrumbs"; "enableGridView": "enableGridView"; "gridLayoutDesktopColumns": "gridLayoutDesktopColumns"; }, { "save": "save"; }, ["additionalToolbarContent", "additionalToolbarContentLeft"], ["[figureImage]", "[toolbarItems]", "*"], false, never>;
94
113
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onecx/angular-accelerator",
3
- "version": "4.32.1",
3
+ "version": "4.33.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.7 || ^16.0.0 || ^17.0.0",
6
6
  "@angular/core": "^15.2.7 || ^16.0.0 || ^17.0.0",