@win2win/shared 1.0.28 → 1.0.30
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.
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
export type LayoutSectionType = typeof LAYOUT_SECTION_TYPES[number];
|
|
3
|
-
export declare enum LayoutSectionTypeEnum {
|
|
1
|
+
export declare enum LayoutSectionType {
|
|
4
2
|
TEXT = "text",
|
|
5
3
|
TABLE = "table",
|
|
6
|
-
CARDS_GRID = "cards-grid"
|
|
4
|
+
CARDS_GRID = "cards-grid",
|
|
5
|
+
IMAGE = "image"
|
|
7
6
|
}
|
|
7
|
+
export declare const LAYOUT_SECTION_TYPES: readonly [LayoutSectionType.TEXT, LayoutSectionType.CARDS_GRID, LayoutSectionType.TABLE, LayoutSectionType.IMAGE];
|
|
8
8
|
export interface TableColumn {
|
|
9
9
|
header: string;
|
|
10
10
|
key: string;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// format: {},
|
|
10
10
|
// }
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.LAYOUT_SECTION_TYPES = exports.LayoutSectionType = void 0;
|
|
13
13
|
// export interface LayoutSection {
|
|
14
14
|
// idDocLaySection: string,
|
|
15
15
|
// idDocumentLayout: String;
|
|
@@ -30,10 +30,11 @@ exports.LayoutSectionTypeEnum = exports.LAYOUT_SECTION_TYPES = void 0;
|
|
|
30
30
|
// type: 'cards-grid';
|
|
31
31
|
// content: { cards: CardsGridSectionCard[] };
|
|
32
32
|
// }
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
})(
|
|
33
|
+
var LayoutSectionType;
|
|
34
|
+
(function (LayoutSectionType) {
|
|
35
|
+
LayoutSectionType["TEXT"] = "text";
|
|
36
|
+
LayoutSectionType["TABLE"] = "table";
|
|
37
|
+
LayoutSectionType["CARDS_GRID"] = "cards-grid";
|
|
38
|
+
LayoutSectionType["IMAGE"] = "image";
|
|
39
|
+
})(LayoutSectionType || (exports.LayoutSectionType = LayoutSectionType = {}));
|
|
40
|
+
exports.LAYOUT_SECTION_TYPES = [LayoutSectionType.TEXT, LayoutSectionType.CARDS_GRID, LayoutSectionType.TABLE, LayoutSectionType.IMAGE];
|