@onecx/angular-accelerator 4.32.0 → 4.33.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.
@@ -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.0",
3
+ "version": "4.33.0",
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",