@win2win/shared 1.0.43 → 1.0.45
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.
|
@@ -30,6 +30,7 @@ export declare enum TextLineType {
|
|
|
30
30
|
export interface TextLine {
|
|
31
31
|
type: TextLineType;
|
|
32
32
|
text: string;
|
|
33
|
+
align?: Align;
|
|
33
34
|
}
|
|
34
35
|
export interface TextContent {
|
|
35
36
|
lines: TextLine[];
|
|
@@ -56,7 +57,7 @@ export interface LayoutSectionCardsGrid extends LayoutSection {
|
|
|
56
57
|
export interface ImageContent {
|
|
57
58
|
src: string;
|
|
58
59
|
alt?: string;
|
|
59
|
-
align?:
|
|
60
|
+
align?: Align;
|
|
60
61
|
width?: string;
|
|
61
62
|
height?: string;
|
|
62
63
|
}
|
|
@@ -75,7 +76,7 @@ export interface TableColumn {
|
|
|
75
76
|
header: string;
|
|
76
77
|
key: string;
|
|
77
78
|
width?: string | number;
|
|
78
|
-
align?:
|
|
79
|
+
align?: Align;
|
|
79
80
|
format?: string;
|
|
80
81
|
}
|
|
81
82
|
export interface Card {
|
|
@@ -106,3 +107,4 @@ export interface LayoutData {
|
|
|
106
107
|
global: any;
|
|
107
108
|
[sectionId: Uuid]: any;
|
|
108
109
|
}
|
|
110
|
+
export type Align = 'left' | 'center' | 'right';
|