@win2win/shared 1.0.34 → 1.0.35
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.
|
@@ -15,6 +15,7 @@ export interface LayoutSection {
|
|
|
15
15
|
type: LayoutSectionType;
|
|
16
16
|
asyncData: LayoutAsyncData[];
|
|
17
17
|
styles: LayoutStyle;
|
|
18
|
+
content: any;
|
|
18
19
|
}
|
|
19
20
|
export interface TextContent {
|
|
20
21
|
text: string;
|
|
@@ -55,9 +56,9 @@ export declare const LAYOUT_SECTION_TYPES: readonly [LayoutSectionType.TEXT, Lay
|
|
|
55
56
|
export interface TableColumn {
|
|
56
57
|
header: string;
|
|
57
58
|
key: string;
|
|
58
|
-
width
|
|
59
|
-
align
|
|
60
|
-
format
|
|
59
|
+
width?: string | number;
|
|
60
|
+
align?: 'left' | 'center' | 'right';
|
|
61
|
+
format?: string;
|
|
61
62
|
}
|
|
62
63
|
export interface Card {
|
|
63
64
|
title: string;
|
|
@@ -73,10 +74,10 @@ export interface LayoutAsyncData {
|
|
|
73
74
|
key: string;
|
|
74
75
|
query: string;
|
|
75
76
|
params: any;
|
|
76
|
-
formatFn
|
|
77
|
+
formatFn?: string;
|
|
77
78
|
}
|
|
78
79
|
export interface LayoutStyle {
|
|
79
|
-
margins
|
|
80
|
-
background
|
|
81
|
-
typography
|
|
80
|
+
margins?: number[];
|
|
81
|
+
background?: string;
|
|
82
|
+
typography?: string;
|
|
82
83
|
}
|