@dcl/sdk 7.0.0-2536237172.commit-c1aae82 → 7.0.0-2536766001.commit-8116fe1
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/dist/ecs7/index.d.ts +149 -2
- package/dist/ecs7/index.js +698 -21
- package/dist/ecs7/index.min.js +1 -1
- package/dist/ecs7/index.min.js.map +1 -1
- package/dist/ecs7/proto-definitions/BoxShape.proto +2 -1
- package/dist/ecs7/proto-definitions/CylinderShape.proto +2 -1
- package/dist/ecs7/proto-definitions/GLTFShape.proto +11 -0
- package/dist/ecs7/proto-definitions/NFTShape.proto +1 -0
- package/dist/ecs7/proto-definitions/PlaneShape.proto +3 -1
- package/dist/ecs7/proto-definitions/SphereShape.proto +1 -1
- package/dist/ecs7/proto-definitions/TextShape.proto +7 -5
- package/dist/ecs7/proto-definitions/UiTransform.proto +159 -0
- package/package.json +6 -6
- package/types/ecs7/index.d.ts +149 -2
@@ -3,9 +3,10 @@ syntax = "proto3";
|
|
3
3
|
import "common/id.proto";
|
4
4
|
option (ecs_component_id) = 1013;
|
5
5
|
|
6
|
-
message PBBoxShape {
|
6
|
+
message PBBoxShape {
|
7
7
|
bool with_collisions = 1;
|
8
8
|
bool is_pointer_blocker = 2;
|
9
|
+
// TODO: should visible be another component? that maybe affects all the entities
|
9
10
|
bool visible = 3;
|
10
11
|
repeated float uvs = 4;
|
11
12
|
}
|
@@ -3,9 +3,10 @@
|
|
3
3
|
import "common/id.proto";
|
4
4
|
option (ecs_component_id) = 1016;
|
5
5
|
|
6
|
-
message PBCylinderShape {
|
6
|
+
message PBCylinderShape {
|
7
7
|
bool with_collisions = 1;
|
8
8
|
bool is_pointer_blocker = 2;
|
9
|
+
// TODO: should visible be another component? that maybe affects all the entities
|
9
10
|
bool visible = 3;
|
10
11
|
float radius_top = 4;
|
11
12
|
float radius_bottom = 5;
|
@@ -3,9 +3,11 @@
|
|
3
3
|
import "common/id.proto";
|
4
4
|
option (ecs_component_id) = 1014;
|
5
5
|
|
6
|
-
message PBPlaneShape {
|
6
|
+
message PBPlaneShape {
|
7
7
|
bool with_collisions = 1;
|
8
8
|
bool is_pointer_blocker = 2;
|
9
|
+
// TODO: should visible be another component? that maybe affects all the entities
|
9
10
|
bool visible = 3;
|
11
|
+
// TODO: this could be better serialized as u00 v00 u01 v01 u10 v10 u11 v11 for speed
|
10
12
|
repeated float uvs = 4;
|
11
13
|
}
|
@@ -7,11 +7,13 @@ import "common/Color3.proto";
|
|
7
7
|
|
8
8
|
message PBTextShape {
|
9
9
|
string text = 1;
|
10
|
+
|
11
|
+
// this should be removed
|
10
12
|
bool visible = 2;
|
11
13
|
string font = 3;
|
12
14
|
float opacity = 4;
|
13
|
-
float
|
14
|
-
bool
|
15
|
+
float font_size = 5;
|
16
|
+
bool font_auto_size = 6;
|
15
17
|
string h_text_align = 7;
|
16
18
|
string v_text_align = 8;
|
17
19
|
float width = 9;
|
@@ -24,10 +26,10 @@ message PBTextShape {
|
|
24
26
|
int32 line_count = 16;
|
25
27
|
bool text_wrapping = 17;
|
26
28
|
float shadow_blur = 18;
|
27
|
-
float
|
28
|
-
float
|
29
|
+
float shadow_offset_x = 19;
|
30
|
+
float shadow_offset_y = 20;
|
29
31
|
float outline_width = 21;
|
30
32
|
Color3 shadow_color = 22;
|
31
33
|
Color3 outline_color = 23;
|
32
34
|
Color3 text_color = 24;
|
33
|
-
}
|
35
|
+
}
|
@@ -0,0 +1,159 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
import "common/id.proto";
|
4
|
+
option (ecs_component_id) = 1050;
|
5
|
+
|
6
|
+
enum YGPositionType {
|
7
|
+
YGPositionTypeStatic = 0;
|
8
|
+
YGPositionTypeRelative = 1;
|
9
|
+
YGPositionTypeAbsolute = 2;
|
10
|
+
}
|
11
|
+
|
12
|
+
enum YGAlign {
|
13
|
+
YGAlignAuto = 0;
|
14
|
+
YGAlignFlexStart = 1;
|
15
|
+
YGAlignCenter = 2;
|
16
|
+
YGAlignFlexEnd = 3;
|
17
|
+
YGAlignStretch = 4;
|
18
|
+
YGAlignBaseline = 5;
|
19
|
+
YGAlignSpaceBetween = 6;
|
20
|
+
YGAlignSpaceAround = 7;
|
21
|
+
}
|
22
|
+
|
23
|
+
enum YGUnit {
|
24
|
+
YGUnitUndefined = 0;
|
25
|
+
YGUnitPoint = 1;
|
26
|
+
YGUnitPercent = 2;
|
27
|
+
YGUnitAuto = 3;
|
28
|
+
}
|
29
|
+
|
30
|
+
enum YGDirection {
|
31
|
+
YGDirectionInherit = 0;
|
32
|
+
YGDirectionLTR = 1;
|
33
|
+
YGDirectionRTL = 2;
|
34
|
+
}
|
35
|
+
|
36
|
+
enum YGFlexDirection {
|
37
|
+
YGFlexDirectionColumn = 0;
|
38
|
+
YGFlexDirectionColumnReverse = 1;
|
39
|
+
YGFlexDirectionRow = 2;
|
40
|
+
YGFlexDirectionRowReverse = 3;
|
41
|
+
}
|
42
|
+
|
43
|
+
enum YGWrap {
|
44
|
+
YGWrapNoWrap = 0;
|
45
|
+
YGWrapWrap = 1;
|
46
|
+
YGWrapWrapReverse = 2;
|
47
|
+
}
|
48
|
+
|
49
|
+
enum YGJustify {
|
50
|
+
YGJustifyFlexStart = 0;
|
51
|
+
YGJustifyCenter = 1;
|
52
|
+
YGJustifyFlexEnd = 2;
|
53
|
+
YGJustifySpaceBetween = 3;
|
54
|
+
YGJustifySpaceAround = 4;
|
55
|
+
YGJustifySpaceEvenly = 5;
|
56
|
+
}
|
57
|
+
|
58
|
+
enum YGOverflow {
|
59
|
+
YGOverflowVisible = 0;
|
60
|
+
YGOverflowHidden = 1;
|
61
|
+
YGOverflowScroll = 2;
|
62
|
+
}
|
63
|
+
|
64
|
+
enum YGDisplay {
|
65
|
+
YGDisplayFlex = 0;
|
66
|
+
YGDisplayNone = 1;
|
67
|
+
}
|
68
|
+
|
69
|
+
enum YGEdge {
|
70
|
+
YGEdgeLeft = 0;
|
71
|
+
YGEdgeTop = 1;
|
72
|
+
YGEdgeRight = 2;
|
73
|
+
YGEdgeBottom = 3;
|
74
|
+
YGEdgeStart = 4;
|
75
|
+
YGEdgeEnd = 5;
|
76
|
+
YGEdgeHorizontal = 6;
|
77
|
+
YGEdgeVertical = 7;
|
78
|
+
YGEdgeAll = 8;
|
79
|
+
}
|
80
|
+
|
81
|
+
message PBUiTransform {
|
82
|
+
YGPositionType position_type = 1;
|
83
|
+
|
84
|
+
YGAlign align_content = 2;
|
85
|
+
YGAlign align_items = 3;
|
86
|
+
YGAlign align_self = 4;
|
87
|
+
YGFlexDirection flex_direction = 5;
|
88
|
+
YGWrap flex_wrap = 6;
|
89
|
+
YGJustify justify_content = 7;
|
90
|
+
|
91
|
+
YGOverflow overflow = 8;
|
92
|
+
YGDisplay display = 9;
|
93
|
+
YGDirection direction = 10;
|
94
|
+
|
95
|
+
float flex = 11;
|
96
|
+
|
97
|
+
YGUnit flex_basis_unit = 13;
|
98
|
+
float flex_basis = 14;
|
99
|
+
|
100
|
+
float flex_grow = 15;
|
101
|
+
float flex_shrink = 16;
|
102
|
+
|
103
|
+
YGUnit width_unit = 17;
|
104
|
+
float width = 18;
|
105
|
+
YGUnit height_unit = 19;
|
106
|
+
float height = 20;
|
107
|
+
|
108
|
+
YGUnit min_width_unit = 21;
|
109
|
+
float min_width = 22;
|
110
|
+
YGUnit min_height_unit = 23;
|
111
|
+
float min_height = 24;
|
112
|
+
|
113
|
+
YGUnit max_width_unit = 31;
|
114
|
+
float max_width = 32;
|
115
|
+
YGUnit max_height_unit = 33;
|
116
|
+
float max_height = 34;
|
117
|
+
|
118
|
+
// non-standard
|
119
|
+
reserved 40; // float aspect_ratio = 40;
|
120
|
+
|
121
|
+
YGUnit position_left_unit = 41;
|
122
|
+
float position_left = 42;
|
123
|
+
YGUnit position_top_unit = 43;
|
124
|
+
float position_top = 44;
|
125
|
+
YGUnit position_right_unit = 45;
|
126
|
+
float position_right = 46;
|
127
|
+
YGUnit position_bottom_unit = 47;
|
128
|
+
float position_bottom = 48;
|
129
|
+
|
130
|
+
// margin
|
131
|
+
YGUnit margin_left_unit = 51;
|
132
|
+
float margin_left = 52;
|
133
|
+
YGUnit margin_top_unit = 53;
|
134
|
+
float margin_top = 54;
|
135
|
+
YGUnit margin_right_unit = 55;
|
136
|
+
float margin_right = 56;
|
137
|
+
YGUnit margin_bottom_unit = 57;
|
138
|
+
float margin_bottom = 58;
|
139
|
+
|
140
|
+
YGUnit padding_left_unit = 61;
|
141
|
+
float padding_left = 62;
|
142
|
+
YGUnit padding_top_unit = 63;
|
143
|
+
float padding_top = 64;
|
144
|
+
YGUnit padding_right_unit = 65;
|
145
|
+
float padding_right = 66;
|
146
|
+
YGUnit padding_bottom_unit = 67;
|
147
|
+
float padding_bottom = 68;
|
148
|
+
|
149
|
+
reserved 71; // YGUnit border_left_unit = 71;
|
150
|
+
float border_left = 72;
|
151
|
+
reserved 73; // YGUnit border_top_unit = 73;
|
152
|
+
float border_top = 74;
|
153
|
+
reserved 75; // YGUnit border_right_unit = 75;
|
154
|
+
float border_right = 76;
|
155
|
+
reserved 77; // YGUnit border_bottom_unit = 77;
|
156
|
+
float border_bottom = 78;
|
157
|
+
}
|
158
|
+
|
159
|
+
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/sdk",
|
3
|
-
"version": "7.0.0-
|
3
|
+
"version": "7.0.0-2536766001.commit-8116fe1",
|
4
4
|
"description": "",
|
5
5
|
"main": "dist/src/index.js",
|
6
6
|
"typings": "dist/index.d.ts",
|
@@ -27,16 +27,16 @@
|
|
27
27
|
"src/cli/**/*.js"
|
28
28
|
],
|
29
29
|
"dependencies": {
|
30
|
-
"@dcl/amd": "6.11.2-
|
31
|
-
"@dcl/build-ecs": "6.11.2-
|
32
|
-
"@dcl/kernel": "^1.0.0-
|
30
|
+
"@dcl/amd": "6.11.2-2536766001.commit-8116fe1",
|
31
|
+
"@dcl/build-ecs": "6.11.2-2536766001.commit-8116fe1",
|
32
|
+
"@dcl/kernel": "^1.0.0-2529763428.commit-f5a0321",
|
33
33
|
"@dcl/posix": "^1.0.4",
|
34
34
|
"@dcl/schemas": "4.8.0",
|
35
|
-
"@dcl/unity-renderer": "^1.0.
|
35
|
+
"@dcl/unity-renderer": "^1.0.40531-20220621125654.commit-472137e",
|
36
36
|
"glob": "^7.1.7",
|
37
37
|
"http-proxy-middleware": "^2.0.3",
|
38
38
|
"ignore": "^5.1.8"
|
39
39
|
},
|
40
40
|
"minCliVersion": "3.10.2",
|
41
|
-
"commit": "
|
41
|
+
"commit": "8116fe1593238900e3eb334ad835ef19b65892ea"
|
42
42
|
}
|
package/types/ecs7/index.d.ts
CHANGED
@@ -22,9 +22,9 @@ declare type ComponentDefinition<T extends EcsType = EcsType<any>> = {
|
|
22
22
|
has(entity: Entity): boolean;
|
23
23
|
getFrom(entity: Entity): DeepReadonly<ComponentType<T>>;
|
24
24
|
getOrNull(entity: Entity): DeepReadonly<ComponentType<T>> | null;
|
25
|
-
create(entity: Entity, val
|
25
|
+
create(entity: Entity, val?: ComponentType<T>): ComponentType<T>;
|
26
26
|
mutable(entity: Entity): ComponentType<T>;
|
27
|
-
createOrReplace(entity: Entity, val
|
27
|
+
createOrReplace(entity: Entity, val?: ComponentType<T>): ComponentType<T>;
|
28
28
|
deleteFrom(entity: Entity): ComponentType<T> | null;
|
29
29
|
upsertFromBinary(entity: Entity, data: ByteBuffer): ComponentType<T> | null;
|
30
30
|
updateFromBinary(entity: Entity, data: ByteBuffer): ComponentType<T> | null;
|
@@ -189,10 +189,12 @@ declare function defineSdkComponents(engine: Pick<IEngine, 'defineComponent'>):
|
|
189
189
|
AudioStream: ComponentDefinition<EcsType<PBAudioStream>>;
|
190
190
|
BoxShape: ComponentDefinition<EcsType<PBBoxShape>>;
|
191
191
|
CylinderShape: ComponentDefinition<EcsType<PBCylinderShape>>;
|
192
|
+
GLTFShape: ComponentDefinition<EcsType<PBGLTFShape>>;
|
192
193
|
NFTShape: ComponentDefinition<EcsType<PBNFTShape>>;
|
193
194
|
PlaneShape: ComponentDefinition<EcsType<PBPlaneShape>>;
|
194
195
|
SphereShape: ComponentDefinition<EcsType<PBSphereShape>>;
|
195
196
|
TextShape: ComponentDefinition<EcsType<PBTextShape>>;
|
197
|
+
UiTransform: ComponentDefinition<EcsType<PBUiTransform>>;
|
196
198
|
Transform: ComponentDefinition<EcsType<Transform>>;
|
197
199
|
};
|
198
200
|
|
@@ -226,6 +228,7 @@ declare const EcsString: EcsType<string>;
|
|
226
228
|
declare type EcsType<T = any> = {
|
227
229
|
serialize(value: T, builder: ByteBuffer): void;
|
228
230
|
deserialize(reader: ByteBuffer): T;
|
231
|
+
create(): T;
|
229
232
|
};
|
230
233
|
|
231
234
|
/**
|
@@ -1114,6 +1117,7 @@ declare interface PBAudioStream {
|
|
1114
1117
|
declare interface PBBoxShape {
|
1115
1118
|
withCollisions: boolean;
|
1116
1119
|
isPointerBlocker: boolean;
|
1120
|
+
/** TODO: should visible be another component? that maybe affects all the entities */
|
1117
1121
|
visible: boolean;
|
1118
1122
|
uvs: number[];
|
1119
1123
|
}
|
@@ -1121,14 +1125,23 @@ declare interface PBBoxShape {
|
|
1121
1125
|
declare interface PBCylinderShape {
|
1122
1126
|
withCollisions: boolean;
|
1123
1127
|
isPointerBlocker: boolean;
|
1128
|
+
/** TODO: should visible be another component? that maybe affects all the entities */
|
1124
1129
|
visible: boolean;
|
1125
1130
|
radiusTop: number;
|
1126
1131
|
radiusBottom: number;
|
1127
1132
|
}
|
1128
1133
|
|
1134
|
+
declare interface PBGLTFShape {
|
1135
|
+
withCollisions: boolean;
|
1136
|
+
isPointerBlocker: boolean;
|
1137
|
+
visible: boolean;
|
1138
|
+
src: string;
|
1139
|
+
}
|
1140
|
+
|
1129
1141
|
declare interface PBNFTShape {
|
1130
1142
|
withCollisions: boolean;
|
1131
1143
|
isPointerBlocker: boolean;
|
1144
|
+
/** TODO: should visible be another component? that maybe affects all the entities */
|
1132
1145
|
visible: boolean;
|
1133
1146
|
src: string;
|
1134
1147
|
assetId: string;
|
@@ -1139,7 +1152,9 @@ declare interface PBNFTShape {
|
|
1139
1152
|
declare interface PBPlaneShape {
|
1140
1153
|
withCollisions: boolean;
|
1141
1154
|
isPointerBlocker: boolean;
|
1155
|
+
/** TODO: should visible be another component? that maybe affects all the entities */
|
1142
1156
|
visible: boolean;
|
1157
|
+
/** TODO: this could be better serialized as u00 v00 u01 v01 u10 v10 u11 v11 for speed */
|
1143
1158
|
uvs: number[];
|
1144
1159
|
}
|
1145
1160
|
|
@@ -1151,6 +1166,7 @@ declare interface PBSphereShape {
|
|
1151
1166
|
|
1152
1167
|
declare interface PBTextShape {
|
1153
1168
|
text: string;
|
1169
|
+
/** this should be removed */
|
1154
1170
|
visible: boolean;
|
1155
1171
|
font: string;
|
1156
1172
|
opacity: number;
|
@@ -1176,6 +1192,65 @@ declare interface PBTextShape {
|
|
1176
1192
|
textColor: Color3 | undefined;
|
1177
1193
|
}
|
1178
1194
|
|
1195
|
+
declare interface PBUiTransform {
|
1196
|
+
positionType: YGPositionType;
|
1197
|
+
alignContent: YGAlign;
|
1198
|
+
alignItems: YGAlign;
|
1199
|
+
alignSelf: YGAlign;
|
1200
|
+
flexDirection: YGFlexDirection;
|
1201
|
+
flexWrap: YGWrap;
|
1202
|
+
justifyContent: YGJustify;
|
1203
|
+
overflow: YGOverflow;
|
1204
|
+
display: YGDisplay;
|
1205
|
+
direction: YGDirection;
|
1206
|
+
flex: number;
|
1207
|
+
flexBasisUnit: YGUnit;
|
1208
|
+
flexBasis: number;
|
1209
|
+
flexGrow: number;
|
1210
|
+
flexShrink: number;
|
1211
|
+
widthUnit: YGUnit;
|
1212
|
+
width: number;
|
1213
|
+
heightUnit: YGUnit;
|
1214
|
+
height: number;
|
1215
|
+
minWidthUnit: YGUnit;
|
1216
|
+
minWidth: number;
|
1217
|
+
minHeightUnit: YGUnit;
|
1218
|
+
minHeight: number;
|
1219
|
+
maxWidthUnit: YGUnit;
|
1220
|
+
maxWidth: number;
|
1221
|
+
maxHeightUnit: YGUnit;
|
1222
|
+
maxHeight: number;
|
1223
|
+
positionLeftUnit: YGUnit;
|
1224
|
+
positionLeft: number;
|
1225
|
+
positionTopUnit: YGUnit;
|
1226
|
+
positionTop: number;
|
1227
|
+
positionRightUnit: YGUnit;
|
1228
|
+
positionRight: number;
|
1229
|
+
positionBottomUnit: YGUnit;
|
1230
|
+
positionBottom: number;
|
1231
|
+
/** margin */
|
1232
|
+
marginLeftUnit: YGUnit;
|
1233
|
+
marginLeft: number;
|
1234
|
+
marginTopUnit: YGUnit;
|
1235
|
+
marginTop: number;
|
1236
|
+
marginRightUnit: YGUnit;
|
1237
|
+
marginRight: number;
|
1238
|
+
marginBottomUnit: YGUnit;
|
1239
|
+
marginBottom: number;
|
1240
|
+
paddingLeftUnit: YGUnit;
|
1241
|
+
paddingLeft: number;
|
1242
|
+
paddingTopUnit: YGUnit;
|
1243
|
+
paddingTop: number;
|
1244
|
+
paddingRightUnit: YGUnit;
|
1245
|
+
paddingRight: number;
|
1246
|
+
paddingBottomUnit: YGUnit;
|
1247
|
+
paddingBottom: number;
|
1248
|
+
borderLeft: number;
|
1249
|
+
borderTop: number;
|
1250
|
+
borderRight: number;
|
1251
|
+
borderBottom: number;
|
1252
|
+
}
|
1253
|
+
|
1179
1254
|
/**
|
1180
1255
|
* Represens a plane by the equation ax + by + cz + d = 0
|
1181
1256
|
* @public
|
@@ -1744,4 +1819,76 @@ declare namespace Vector3 {
|
|
1744
1819
|
export function Left(): MutableVector3;
|
1745
1820
|
}
|
1746
1821
|
|
1822
|
+
declare enum YGAlign {
|
1823
|
+
YGAlignAuto = 0,
|
1824
|
+
YGAlignFlexStart = 1,
|
1825
|
+
YGAlignCenter = 2,
|
1826
|
+
YGAlignFlexEnd = 3,
|
1827
|
+
YGAlignStretch = 4,
|
1828
|
+
YGAlignBaseline = 5,
|
1829
|
+
YGAlignSpaceBetween = 6,
|
1830
|
+
YGAlignSpaceAround = 7,
|
1831
|
+
UNRECOGNIZED = -1
|
1832
|
+
}
|
1833
|
+
|
1834
|
+
declare enum YGDirection {
|
1835
|
+
YGDirectionInherit = 0,
|
1836
|
+
YGDirectionLTR = 1,
|
1837
|
+
YGDirectionRTL = 2,
|
1838
|
+
UNRECOGNIZED = -1
|
1839
|
+
}
|
1840
|
+
|
1841
|
+
declare enum YGDisplay {
|
1842
|
+
YGDisplayFlex = 0,
|
1843
|
+
YGDisplayNone = 1,
|
1844
|
+
UNRECOGNIZED = -1
|
1845
|
+
}
|
1846
|
+
|
1847
|
+
declare enum YGFlexDirection {
|
1848
|
+
YGFlexDirectionColumn = 0,
|
1849
|
+
YGFlexDirectionColumnReverse = 1,
|
1850
|
+
YGFlexDirectionRow = 2,
|
1851
|
+
YGFlexDirectionRowReverse = 3,
|
1852
|
+
UNRECOGNIZED = -1
|
1853
|
+
}
|
1854
|
+
|
1855
|
+
declare enum YGJustify {
|
1856
|
+
YGJustifyFlexStart = 0,
|
1857
|
+
YGJustifyCenter = 1,
|
1858
|
+
YGJustifyFlexEnd = 2,
|
1859
|
+
YGJustifySpaceBetween = 3,
|
1860
|
+
YGJustifySpaceAround = 4,
|
1861
|
+
YGJustifySpaceEvenly = 5,
|
1862
|
+
UNRECOGNIZED = -1
|
1863
|
+
}
|
1864
|
+
|
1865
|
+
declare enum YGOverflow {
|
1866
|
+
YGOverflowVisible = 0,
|
1867
|
+
YGOverflowHidden = 1,
|
1868
|
+
YGOverflowScroll = 2,
|
1869
|
+
UNRECOGNIZED = -1
|
1870
|
+
}
|
1871
|
+
|
1872
|
+
declare enum YGPositionType {
|
1873
|
+
YGPositionTypeStatic = 0,
|
1874
|
+
YGPositionTypeRelative = 1,
|
1875
|
+
YGPositionTypeAbsolute = 2,
|
1876
|
+
UNRECOGNIZED = -1
|
1877
|
+
}
|
1878
|
+
|
1879
|
+
declare enum YGUnit {
|
1880
|
+
YGUnitUndefined = 0,
|
1881
|
+
YGUnitPoint = 1,
|
1882
|
+
YGUnitPercent = 2,
|
1883
|
+
YGUnitAuto = 3,
|
1884
|
+
UNRECOGNIZED = -1
|
1885
|
+
}
|
1886
|
+
|
1887
|
+
declare enum YGWrap {
|
1888
|
+
YGWrapNoWrap = 0,
|
1889
|
+
YGWrapWrap = 1,
|
1890
|
+
YGWrapWrapReverse = 2,
|
1891
|
+
UNRECOGNIZED = -1
|
1892
|
+
}
|
1893
|
+
|
1747
1894
|
|