valtech-components 2.0.423 → 2.0.424

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.
@@ -39,9 +39,40 @@ export declare class PageContentComponent {
39
39
  */
40
40
  onHeaderClick: EventEmitter<string>;
41
41
  /**
42
- * Default header configuration.
42
+ * Default header configuration (cached to avoid infinite change detection).
43
43
  */
44
- get headerProps(): import("valtech-components").HeaderMetadata;
44
+ private readonly defaultHeader;
45
+ /**
46
+ * Gets header props, using cached default if not provided.
47
+ */
48
+ get headerProps(): {
49
+ bordered: boolean;
50
+ translucent: boolean;
51
+ toolbar: {
52
+ withBack: boolean;
53
+ withActions: boolean;
54
+ textColor: "dark";
55
+ withMenu: boolean;
56
+ title: string;
57
+ actions: {
58
+ token: string;
59
+ description: string;
60
+ position: "left";
61
+ type: "IMAGE";
62
+ image: {
63
+ width: number;
64
+ src: string;
65
+ alt: string;
66
+ mode: "box";
67
+ shaded: boolean;
68
+ bordered: boolean;
69
+ size: "small";
70
+ limited: boolean;
71
+ flex: boolean;
72
+ };
73
+ }[];
74
+ };
75
+ } | import("valtech-components").HeaderMetadata;
45
76
  /**
46
77
  * Gets the background color based on theme.
47
78
  */
@@ -37,9 +37,40 @@ export declare class PageWrapperComponent implements ViewWillEnter, ViewWillLeav
37
37
  */
38
38
  onHeaderClick: EventEmitter<string>;
39
39
  /**
40
- * Default header configuration.
40
+ * Default header configuration (cached to avoid infinite change detection).
41
41
  */
42
- get headerProps(): import("valtech-components").HeaderMetadata;
42
+ private readonly defaultHeader;
43
+ /**
44
+ * Gets header props, using cached default if not provided.
45
+ */
46
+ get headerProps(): import("valtech-components").HeaderMetadata | {
47
+ bordered: boolean;
48
+ translucent: boolean;
49
+ toolbar: {
50
+ withBack: boolean;
51
+ withActions: boolean;
52
+ textColor: "dark";
53
+ withMenu: boolean;
54
+ title: string;
55
+ actions: {
56
+ token: string;
57
+ description: string;
58
+ position: "left";
59
+ type: "IMAGE";
60
+ image: {
61
+ width: number;
62
+ src: string;
63
+ alt: string;
64
+ mode: "box";
65
+ shaded: boolean;
66
+ bordered: boolean;
67
+ size: "small";
68
+ limited: boolean;
69
+ flex: boolean;
70
+ };
71
+ }[];
72
+ };
73
+ };
43
74
  ngOnInit(): void;
44
75
  ngOnDestroy(): void;
45
76
  ionViewWillLeave(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.423",
3
+ "version": "2.0.424",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",