valtech-components 2.0.422 → 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.
- package/README.md +23 -236
- package/esm2022/lib/components/templates/page-content/page-content.component.mjs +12 -8
- package/esm2022/lib/components/templates/page-wrapper/page-wrapper.component.mjs +12 -8
- package/esm2022/lib/components/types.mjs +1 -1
- package/fesm2022/valtech-components.mjs +22 -14
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/templates/page-content/page-content.component.d.ts +33 -2
- package/lib/components/templates/page-wrapper/page-wrapper.component.d.ts +33 -2
- package/lib/components/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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
|
-
|
|
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;
|
|
@@ -126,7 +126,7 @@ export type InputMetadata = {
|
|
|
126
126
|
fromPlaceholder?: string;
|
|
127
127
|
/** Placeholder for "to" field (only for NUMBER_FROM_TO type) */
|
|
128
128
|
toPlaceholder?: string;
|
|
129
|
-
/** Key for
|
|
129
|
+
/** Key for content lookup */
|
|
130
130
|
contentKey?: string;
|
|
131
131
|
/** Component class name for content lookup */
|
|
132
132
|
contentClass?: string;
|