@dcl/protocol 1.0.0-10043247792.commit-428d1eb

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.
Files changed (473) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +69 -0
  3. package/out-js/about.gen.d.ts +1 -0
  4. package/out-js/about.gen.js +6 -0
  5. package/out-js/about.gen.js.map +1 -0
  6. package/out-js/comms.gen.d.ts +1 -0
  7. package/out-js/comms.gen.js +6 -0
  8. package/out-js/comms.gen.js.map +1 -0
  9. package/out-js/decentraland/common/border_rect.gen.d.ts +49 -0
  10. package/out-js/decentraland/common/border_rect.gen.js +201 -0
  11. package/out-js/decentraland/common/border_rect.gen.js.map +1 -0
  12. package/out-js/decentraland/common/colors.gen.d.ts +46 -0
  13. package/out-js/decentraland/common/colors.gen.js +189 -0
  14. package/out-js/decentraland/common/colors.gen.js.map +1 -0
  15. package/out-js/decentraland/common/content_mapping.gen.d.ts +31 -0
  16. package/out-js/decentraland/common/content_mapping.gen.js +80 -0
  17. package/out-js/decentraland/common/content_mapping.gen.js.map +1 -0
  18. package/out-js/decentraland/common/sdk/user_data.gen.d.ts +63 -0
  19. package/out-js/decentraland/common/sdk/user_data.gen.js +330 -0
  20. package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -0
  21. package/out-js/decentraland/common/texture.gen.d.ts +100 -0
  22. package/out-js/decentraland/common/texture.gen.js +446 -0
  23. package/out-js/decentraland/common/texture.gen.js.map +1 -0
  24. package/out-js/decentraland/common/vectors.gen.d.ts +71 -0
  25. package/out-js/decentraland/common/vectors.gen.js +338 -0
  26. package/out-js/decentraland/common/vectors.gen.js.map +1 -0
  27. package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +76 -0
  28. package/out-js/decentraland/kernel/apis/comms_api.gen.js +257 -0
  29. package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
  30. package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +89 -0
  31. package/out-js/decentraland/kernel/apis/communications_controller.gen.js +301 -0
  32. package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -0
  33. package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +58 -0
  34. package/out-js/decentraland/kernel/apis/dev_tools.gen.js +142 -0
  35. package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -0
  36. package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +338 -0
  37. package/out-js/decentraland/kernel/apis/engine_api.gen.js +1452 -0
  38. package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -0
  39. package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +283 -0
  40. package/out-js/decentraland/kernel/apis/environment_api.gen.js +1122 -0
  41. package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -0
  42. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +225 -0
  43. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +878 -0
  44. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -0
  45. package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +146 -0
  46. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +557 -0
  47. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -0
  48. package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +100 -0
  49. package/out-js/decentraland/kernel/apis/permissions.gen.js +360 -0
  50. package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -0
  51. package/out-js/decentraland/kernel/apis/players.gen.d.ts +127 -0
  52. package/out-js/decentraland/kernel/apis/players.gen.js +372 -0
  53. package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -0
  54. package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +178 -0
  55. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +607 -0
  56. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -0
  57. package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +244 -0
  58. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +824 -0
  59. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -0
  60. package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +217 -0
  61. package/out-js/decentraland/kernel/apis/runtime.gen.js +801 -0
  62. package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -0
  63. package/out-js/decentraland/kernel/apis/scene.gen.d.ts +59 -0
  64. package/out-js/decentraland/kernel/apis/scene.gen.js +171 -0
  65. package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -0
  66. package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +139 -0
  67. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +615 -0
  68. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -0
  69. package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +72 -0
  70. package/out-js/decentraland/kernel/apis/social_controller.gen.js +207 -0
  71. package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -0
  72. package/out-js/decentraland/kernel/apis/testing.gen.d.ts +249 -0
  73. package/out-js/decentraland/kernel/apis/testing.gen.js +1073 -0
  74. package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -0
  75. package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +56 -0
  76. package/out-js/decentraland/kernel/apis/user_action_module.gen.js +128 -0
  77. package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -0
  78. package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +86 -0
  79. package/out-js/decentraland/kernel/apis/user_identity.gen.js +236 -0
  80. package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -0
  81. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +213 -0
  82. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1282 -0
  83. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -0
  84. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +183 -0
  85. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +906 -0
  86. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -0
  87. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +224 -0
  88. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1204 -0
  89. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -0
  90. package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
  91. package/out-js/decentraland/quests/definitions.gen.js +2728 -0
  92. package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
  93. package/out-js/decentraland/realm/about.gen.d.ts +150 -0
  94. package/out-js/decentraland/realm/about.gen.js +914 -0
  95. package/out-js/decentraland/realm/about.gen.js.map +1 -0
  96. package/out-js/decentraland/sdk/components/animator.gen.d.ts +62 -0
  97. package/out-js/decentraland/sdk/components/animator.gen.js +192 -0
  98. package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -0
  99. package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +61 -0
  100. package/out-js/decentraland/sdk/components/audio_source.gen.js +151 -0
  101. package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -0
  102. package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +40 -0
  103. package/out-js/decentraland/sdk/components/audio_stream.gen.js +95 -0
  104. package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -0
  105. package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +76 -0
  106. package/out-js/decentraland/sdk/components/avatar_attach.gen.js +262 -0
  107. package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -0
  108. package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +36 -0
  109. package/out-js/decentraland/sdk/components/avatar_base.gen.js +129 -0
  110. package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
  111. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +37 -0
  112. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +95 -0
  113. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
  114. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +36 -0
  115. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +90 -0
  116. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
  117. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +60 -0
  118. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +153 -0
  119. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
  120. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +72 -0
  121. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +251 -0
  122. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
  123. package/out-js/decentraland/sdk/components/billboard.gen.d.ts +54 -0
  124. package/out-js/decentraland/sdk/components/billboard.gen.js +128 -0
  125. package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
  126. package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +36 -0
  127. package/out-js/decentraland/sdk/components/camera_mode.gen.js +70 -0
  128. package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -0
  129. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +48 -0
  130. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +85 -0
  131. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
  132. package/out-js/decentraland/sdk/components/common/camera_type.gen.d.ts +10 -0
  133. package/out-js/decentraland/sdk/components/common/camera_type.gen.js +46 -0
  134. package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -0
  135. package/out-js/decentraland/sdk/components/common/id.gen.d.ts +1 -0
  136. package/out-js/decentraland/sdk/components/common/id.gen.js +6 -0
  137. package/out-js/decentraland/sdk/components/common/id.gen.js.map +1 -0
  138. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +30 -0
  139. package/out-js/decentraland/sdk/components/common/input_action.gen.js +157 -0
  140. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
  141. package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
  142. package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
  143. package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
  144. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +45 -0
  145. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +163 -0
  146. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -0
  147. package/out-js/decentraland/sdk/components/common/texts.gen.d.ts +23 -0
  148. package/out-js/decentraland/sdk/components/common/texts.gen.js +120 -0
  149. package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -0
  150. package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +41 -0
  151. package/out-js/decentraland/sdk/components/engine_info.gen.js +95 -0
  152. package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
  153. package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +41 -0
  154. package/out-js/decentraland/sdk/components/gltf_container.gen.js +101 -0
  155. package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
  156. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +35 -0
  157. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +70 -0
  158. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
  159. package/out-js/decentraland/sdk/components/material.gen.d.ts +106 -0
  160. package/out-js/decentraland/sdk/components/material.gen.js +515 -0
  161. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
  162. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +128 -0
  163. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +469 -0
  164. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -0
  165. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +104 -0
  166. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +382 -0
  167. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -0
  168. package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +74 -0
  169. package/out-js/decentraland/sdk/components/nft_shape.gen.js +259 -0
  170. package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
  171. package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
  172. package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
  173. package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
  174. package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +79 -0
  175. package/out-js/decentraland/sdk/components/pointer_events.gen.js +247 -0
  176. package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -0
  177. package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +42 -0
  178. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +133 -0
  179. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -0
  180. package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +35 -0
  181. package/out-js/decentraland/sdk/components/pointer_lock.gen.js +69 -0
  182. package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
  183. package/out-js/decentraland/sdk/components/raycast.gen.d.ts +79 -0
  184. package/out-js/decentraland/sdk/components/raycast.gen.js +274 -0
  185. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
  186. package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +48 -0
  187. package/out-js/decentraland/sdk/components/raycast_result.gen.js +132 -0
  188. package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
  189. package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +35 -0
  190. package/out-js/decentraland/sdk/components/realm_info.gen.js +131 -0
  191. package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
  192. package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +81 -0
  193. package/out-js/decentraland/sdk/components/text_shape.gen.js +345 -0
  194. package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
  195. package/out-js/decentraland/sdk/components/tween.gen.d.ts +125 -0
  196. package/out-js/decentraland/sdk/components/tween.gen.js +598 -0
  197. package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
  198. package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
  199. package/out-js/decentraland/sdk/components/tween_sequence.gen.js +122 -0
  200. package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
  201. package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
  202. package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
  203. package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
  204. package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +63 -0
  205. package/out-js/decentraland/sdk/components/ui_background.gen.js +197 -0
  206. package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
  207. package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +45 -0
  208. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +187 -0
  209. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
  210. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +30 -0
  211. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +69 -0
  212. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
  213. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +44 -0
  214. package/out-js/decentraland/sdk/components/ui_input.gen.js +172 -0
  215. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
  216. package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +32 -0
  217. package/out-js/decentraland/sdk/components/ui_input_result.gen.js +83 -0
  218. package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -0
  219. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +50 -0
  220. package/out-js/decentraland/sdk/components/ui_text.gen.js +177 -0
  221. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -0
  222. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +204 -0
  223. package/out-js/decentraland/sdk/components/ui_transform.gen.js +1210 -0
  224. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -0
  225. package/out-js/decentraland/sdk/components/video_player.gen.d.ts +41 -0
  226. package/out-js/decentraland/sdk/components/video_player.gen.js +138 -0
  227. package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -0
  228. package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +31 -0
  229. package/out-js/decentraland/sdk/components/visibility_component.gen.js +69 -0
  230. package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
  231. package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
  232. package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
  233. package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
  234. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
  235. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7842 -0
  236. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
  237. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
  238. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
  239. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
  240. package/out-js/decentraland/social/friendships/friendships.gen.d.ts +500 -0
  241. package/out-js/decentraland/social/friendships/friendships.gen.js +2517 -0
  242. package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -0
  243. package/out-js/decentraland/social_service_v2/social_service.gen.d.ts +357 -0
  244. package/out-js/decentraland/social_service_v2/social_service.gen.js +1554 -0
  245. package/out-js/decentraland/social_service_v2/social_service.gen.js.map +1 -0
  246. package/out-js/google/protobuf/descriptor.gen.d.ts +436 -0
  247. package/out-js/google/protobuf/descriptor.gen.js +3173 -0
  248. package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
  249. package/out-js/google/protobuf/empty.gen.d.ts +38 -0
  250. package/out-js/google/protobuf/empty.gen.js +54 -0
  251. package/out-js/google/protobuf/empty.gen.js.map +1 -0
  252. package/out-js/quests.gen.d.ts +1 -0
  253. package/out-js/quests.gen.js +6 -0
  254. package/out-js/quests.gen.js.map +1 -0
  255. package/out-js/sdk-apis.gen.d.ts +1 -0
  256. package/out-js/sdk-apis.gen.js +6 -0
  257. package/out-js/sdk-apis.gen.js.map +1 -0
  258. package/out-js/sdk-components.gen.d.ts +1 -0
  259. package/out-js/sdk-components.gen.js +6 -0
  260. package/out-js/sdk-components.gen.js.map +1 -0
  261. package/out-js/sdk-development.gen.d.ts +1 -0
  262. package/out-js/sdk-development.gen.js +6 -0
  263. package/out-js/sdk-development.gen.js.map +1 -0
  264. package/out-js/social.gen.d.ts +1 -0
  265. package/out-js/social.gen.js +6 -0
  266. package/out-js/social.gen.js.map +1 -0
  267. package/out-js/social_service_v2.gen.d.ts +1 -0
  268. package/out-js/social_service_v2.gen.js +6 -0
  269. package/out-js/social_service_v2.gen.js.map +1 -0
  270. package/out-ts/about.gen.ts +3 -0
  271. package/out-ts/comms.gen.ts +3 -0
  272. package/out-ts/decentraland/common/border_rect.gen.ts +230 -0
  273. package/out-ts/decentraland/common/colors.gen.ts +214 -0
  274. package/out-ts/decentraland/common/content_mapping.gen.ts +93 -0
  275. package/out-ts/decentraland/common/sdk/user_data.gen.ts +370 -0
  276. package/out-ts/decentraland/common/texture.gen.ts +500 -0
  277. package/out-ts/decentraland/common/vectors.gen.ts +377 -0
  278. package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +295 -0
  279. package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +327 -0
  280. package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +161 -0
  281. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +1587 -0
  282. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +1264 -0
  283. package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +982 -0
  284. package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +608 -0
  285. package/out-ts/decentraland/kernel/apis/permissions.gen.ts +397 -0
  286. package/out-ts/decentraland/kernel/apis/players.gen.ts +415 -0
  287. package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +668 -0
  288. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +895 -0
  289. package/out-ts/decentraland/kernel/apis/runtime.gen.ts +911 -0
  290. package/out-ts/decentraland/kernel/apis/scene.gen.ts +192 -0
  291. package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +691 -0
  292. package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +230 -0
  293. package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
  294. package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +146 -0
  295. package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +264 -0
  296. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +1440 -0
  297. package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +1029 -0
  298. package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1338 -0
  299. package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
  300. package/out-ts/decentraland/realm/about.gen.ts +1062 -0
  301. package/out-ts/decentraland/sdk/components/animator.gen.ts +240 -0
  302. package/out-ts/decentraland/sdk/components/audio_source.gen.ts +209 -0
  303. package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +122 -0
  304. package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +289 -0
  305. package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +149 -0
  306. package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +115 -0
  307. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +105 -0
  308. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +188 -0
  309. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +333 -0
  310. package/out-ts/decentraland/sdk/components/billboard.gen.ts +148 -0
  311. package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
  312. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +115 -0
  313. package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +43 -0
  314. package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
  315. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +154 -0
  316. package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
  317. package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +204 -0
  318. package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
  319. package/out-ts/decentraland/sdk/components/engine_info.gen.ts +119 -0
  320. package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +127 -0
  321. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +89 -0
  322. package/out-ts/decentraland/sdk/components/material.gen.ts +629 -0
  323. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +534 -0
  324. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +454 -0
  325. package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
  326. package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
  327. package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +310 -0
  328. package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +170 -0
  329. package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
  330. package/out-ts/decentraland/sdk/components/raycast.gen.ts +333 -0
  331. package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +168 -0
  332. package/out-ts/decentraland/sdk/components/realm_info.gen.ts +152 -0
  333. package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
  334. package/out-ts/decentraland/sdk/components/tween.gen.ts +648 -0
  335. package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
  336. package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
  337. package/out-ts/decentraland/sdk/components/ui_background.gen.ts +223 -0
  338. package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +231 -0
  339. package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
  340. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +215 -0
  341. package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
  342. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +219 -0
  343. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1361 -0
  344. package/out-ts/decentraland/sdk/components/video_player.gen.ts +173 -0
  345. package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +83 -0
  346. package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
  347. package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
  348. package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
  349. package/out-ts/decentraland/social/friendships/friendships.gen.ts +2798 -0
  350. package/out-ts/decentraland/social_service_v2/social_service.gen.ts +1709 -0
  351. package/out-ts/google/protobuf/descriptor.gen.ts +3470 -0
  352. package/out-ts/google/protobuf/empty.gen.ts +72 -0
  353. package/out-ts/quests.gen.ts +3 -0
  354. package/out-ts/sdk-apis.gen.ts +3 -0
  355. package/out-ts/sdk-components.gen.ts +3 -0
  356. package/out-ts/sdk-development.gen.ts +3 -0
  357. package/out-ts/social.gen.ts +3 -0
  358. package/out-ts/social_service_v2.gen.ts +3 -0
  359. package/package.json +33 -0
  360. package/proto/buf.yaml +47 -0
  361. package/proto/decentraland/common/border_rect.proto +18 -0
  362. package/proto/decentraland/common/colors.proto +15 -0
  363. package/proto/decentraland/common/content_mapping.proto +7 -0
  364. package/proto/decentraland/common/entity.proto +13 -0
  365. package/proto/decentraland/common/sdk/user_data.proto +25 -0
  366. package/proto/decentraland/common/texture.proto +40 -0
  367. package/proto/decentraland/common/vectors.proto +26 -0
  368. package/proto/decentraland/kernel/apis/comms_api.proto +25 -0
  369. package/proto/decentraland/kernel/apis/communications_controller.proto +23 -0
  370. package/proto/decentraland/kernel/apis/dev_tools.proto +15 -0
  371. package/proto/decentraland/kernel/apis/engine_api.proto +118 -0
  372. package/proto/decentraland/kernel/apis/environment_api.proto +76 -0
  373. package/proto/decentraland/kernel/apis/ethereum_controller.proto +64 -0
  374. package/proto/decentraland/kernel/apis/parcel_identity.proto +43 -0
  375. package/proto/decentraland/kernel/apis/permissions.proto +36 -0
  376. package/proto/decentraland/kernel/apis/players.proto +35 -0
  377. package/proto/decentraland/kernel/apis/portable_experiences.proto +55 -0
  378. package/proto/decentraland/kernel/apis/restricted_actions.proto +78 -0
  379. package/proto/decentraland/kernel/apis/runtime.proto +71 -0
  380. package/proto/decentraland/kernel/apis/scene.proto +16 -0
  381. package/proto/decentraland/kernel/apis/signed_fetch.proto +33 -0
  382. package/proto/decentraland/kernel/apis/social_controller.proto +19 -0
  383. package/proto/decentraland/kernel/apis/testing.proto +100 -0
  384. package/proto/decentraland/kernel/apis/user_action_module.proto +13 -0
  385. package/proto/decentraland/kernel/apis/user_identity.proto +22 -0
  386. package/proto/decentraland/kernel/comms/rfc4/comms.proto +110 -0
  387. package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +104 -0
  388. package/proto/decentraland/kernel/comms/v1/broker.proto +114 -0
  389. package/proto/decentraland/kernel/comms/v1/comms.proto +68 -0
  390. package/proto/decentraland/kernel/comms/v2/comms.proto +61 -0
  391. package/proto/decentraland/kernel/comms/v3/archipelago.proto +86 -0
  392. package/proto/decentraland/kernel/comms/v3/comms.proto +64 -0
  393. package/proto/decentraland/quests/definitions.proto +185 -0
  394. package/proto/decentraland/realm/about.proto +73 -0
  395. package/proto/decentraland/sdk/components/README.md +32 -0
  396. package/proto/decentraland/sdk/components/Transform.md +25 -0
  397. package/proto/decentraland/sdk/components/animator.proto +31 -0
  398. package/proto/decentraland/sdk/components/audio_event.proto +12 -0
  399. package/proto/decentraland/sdk/components/audio_source.proto +31 -0
  400. package/proto/decentraland/sdk/components/audio_stream.proto +14 -0
  401. package/proto/decentraland/sdk/components/avatar_attach.proto +51 -0
  402. package/proto/decentraland/sdk/components/avatar_base.proto +15 -0
  403. package/proto/decentraland/sdk/components/avatar_emote_command.proto +13 -0
  404. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +13 -0
  405. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +32 -0
  406. package/proto/decentraland/sdk/components/avatar_shape.proto +42 -0
  407. package/proto/decentraland/sdk/components/billboard.proto +29 -0
  408. package/proto/decentraland/sdk/components/camera_mode.proto +12 -0
  409. package/proto/decentraland/sdk/components/camera_mode_area.proto +25 -0
  410. package/proto/decentraland/sdk/components/common/camera_type.proto +9 -0
  411. package/proto/decentraland/sdk/components/common/id.md +2 -0
  412. package/proto/decentraland/sdk/components/common/id.proto +8 -0
  413. package/proto/decentraland/sdk/components/common/input_action.proto +28 -0
  414. package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
  415. package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
  416. package/proto/decentraland/sdk/components/common/raycast_hit.proto +16 -0
  417. package/proto/decentraland/sdk/components/common/texts.proto +21 -0
  418. package/proto/decentraland/sdk/components/engine_info.proto +15 -0
  419. package/proto/decentraland/sdk/components/gltf_container.proto +19 -0
  420. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +13 -0
  421. package/proto/decentraland/sdk/components/material.proto +57 -0
  422. package/proto/decentraland/sdk/components/mesh_collider.proto +62 -0
  423. package/proto/decentraland/sdk/components/mesh_renderer.proto +43 -0
  424. package/proto/decentraland/sdk/components/nft_shape.proto +48 -0
  425. package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
  426. package/proto/decentraland/sdk/components/pointer_events.proto +37 -0
  427. package/proto/decentraland/sdk/components/pointer_events_result.proto +19 -0
  428. package/proto/decentraland/sdk/components/pointer_lock.proto +11 -0
  429. package/proto/decentraland/sdk/components/raycast.proto +58 -0
  430. package/proto/decentraland/sdk/components/raycast_result.proto +21 -0
  431. package/proto/decentraland/sdk/components/realm_info.proto +14 -0
  432. package/proto/decentraland/sdk/components/text_shape.proto +45 -0
  433. package/proto/decentraland/sdk/components/tween.proto +74 -0
  434. package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
  435. package/proto/decentraland/sdk/components/tween_state.proto +18 -0
  436. package/proto/decentraland/sdk/components/ui_background.proto +34 -0
  437. package/proto/decentraland/sdk/components/ui_canvas_information.proto +24 -0
  438. package/proto/decentraland/sdk/components/ui_dropdown.proto +22 -0
  439. package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
  440. package/proto/decentraland/sdk/components/ui_input.proto +20 -0
  441. package/proto/decentraland/sdk/components/ui_input_result.proto +12 -0
  442. package/proto/decentraland/sdk/components/ui_text.proto +26 -0
  443. package/proto/decentraland/sdk/components/ui_transform.proto +148 -0
  444. package/proto/decentraland/sdk/components/video_event.proto +25 -0
  445. package/proto/decentraland/sdk/components/video_player.proto +16 -0
  446. package/proto/decentraland/sdk/components/visibility_component.proto +9 -0
  447. package/proto/decentraland/sdk/development/local_development.proto +29 -0
  448. package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
  449. package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
  450. package/proto/decentraland/social/friendships/friendships.proto +162 -0
  451. package/proto/decentraland/social_service_v2/social_service.proto +111 -0
  452. package/proto/google/LICENSE +27 -0
  453. package/proto/google/README.md +1 -0
  454. package/proto/google/api/annotations.json +83 -0
  455. package/proto/google/api/annotations.proto +11 -0
  456. package/proto/google/api/http.json +86 -0
  457. package/proto/google/api/http.proto +31 -0
  458. package/proto/google/protobuf/api.json +118 -0
  459. package/proto/google/protobuf/api.proto +34 -0
  460. package/proto/google/protobuf/descriptor.json +739 -0
  461. package/proto/google/protobuf/descriptor.proto +286 -0
  462. package/proto/google/protobuf/source_context.json +20 -0
  463. package/proto/google/protobuf/source_context.proto +7 -0
  464. package/proto/google/protobuf/type.json +202 -0
  465. package/proto/google/protobuf/type.proto +89 -0
  466. package/public/about.proto +5 -0
  467. package/public/comms.proto +5 -0
  468. package/public/quests.proto +5 -0
  469. package/public/sdk-apis.proto +25 -0
  470. package/public/sdk-components.proto +42 -0
  471. package/public/sdk-development.proto +5 -0
  472. package/public/social.proto +4 -0
  473. package/public/social_service_v2.proto +4 -0
@@ -0,0 +1,1210 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PBUiTransform = exports.PointerFilterMode = exports.YGEdge = exports.YGDisplay = exports.YGOverflow = exports.YGJustify = exports.YGWrap = exports.YGFlexDirection = exports.YGUnit = exports.YGAlign = exports.YGPositionType = exports.protobufPackage = void 0;
7
+ exports.yGPositionTypeFromJSON = yGPositionTypeFromJSON;
8
+ exports.yGPositionTypeToJSON = yGPositionTypeToJSON;
9
+ exports.yGAlignFromJSON = yGAlignFromJSON;
10
+ exports.yGAlignToJSON = yGAlignToJSON;
11
+ exports.yGUnitFromJSON = yGUnitFromJSON;
12
+ exports.yGUnitToJSON = yGUnitToJSON;
13
+ exports.yGFlexDirectionFromJSON = yGFlexDirectionFromJSON;
14
+ exports.yGFlexDirectionToJSON = yGFlexDirectionToJSON;
15
+ exports.yGWrapFromJSON = yGWrapFromJSON;
16
+ exports.yGWrapToJSON = yGWrapToJSON;
17
+ exports.yGJustifyFromJSON = yGJustifyFromJSON;
18
+ exports.yGJustifyToJSON = yGJustifyToJSON;
19
+ exports.yGOverflowFromJSON = yGOverflowFromJSON;
20
+ exports.yGOverflowToJSON = yGOverflowToJSON;
21
+ exports.yGDisplayFromJSON = yGDisplayFromJSON;
22
+ exports.yGDisplayToJSON = yGDisplayToJSON;
23
+ exports.yGEdgeFromJSON = yGEdgeFromJSON;
24
+ exports.yGEdgeToJSON = yGEdgeToJSON;
25
+ exports.pointerFilterModeFromJSON = pointerFilterModeFromJSON;
26
+ exports.pointerFilterModeToJSON = pointerFilterModeToJSON;
27
+ /* eslint-disable */
28
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
29
+ exports.protobufPackage = "decentraland.sdk.components";
30
+ var YGPositionType;
31
+ (function (YGPositionType) {
32
+ YGPositionType[YGPositionType["YGPT_RELATIVE"] = 0] = "YGPT_RELATIVE";
33
+ YGPositionType[YGPositionType["YGPT_ABSOLUTE"] = 1] = "YGPT_ABSOLUTE";
34
+ YGPositionType[YGPositionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
35
+ })(YGPositionType || (exports.YGPositionType = YGPositionType = {}));
36
+ function yGPositionTypeFromJSON(object) {
37
+ switch (object) {
38
+ case 0:
39
+ case "YGPT_RELATIVE":
40
+ return YGPositionType.YGPT_RELATIVE;
41
+ case 1:
42
+ case "YGPT_ABSOLUTE":
43
+ return YGPositionType.YGPT_ABSOLUTE;
44
+ case -1:
45
+ case "UNRECOGNIZED":
46
+ default:
47
+ return YGPositionType.UNRECOGNIZED;
48
+ }
49
+ }
50
+ function yGPositionTypeToJSON(object) {
51
+ switch (object) {
52
+ case YGPositionType.YGPT_RELATIVE:
53
+ return "YGPT_RELATIVE";
54
+ case YGPositionType.YGPT_ABSOLUTE:
55
+ return "YGPT_ABSOLUTE";
56
+ case YGPositionType.UNRECOGNIZED:
57
+ default:
58
+ return "UNRECOGNIZED";
59
+ }
60
+ }
61
+ var YGAlign;
62
+ (function (YGAlign) {
63
+ YGAlign[YGAlign["YGA_AUTO"] = 0] = "YGA_AUTO";
64
+ YGAlign[YGAlign["YGA_FLEX_START"] = 1] = "YGA_FLEX_START";
65
+ YGAlign[YGAlign["YGA_CENTER"] = 2] = "YGA_CENTER";
66
+ YGAlign[YGAlign["YGA_FLEX_END"] = 3] = "YGA_FLEX_END";
67
+ YGAlign[YGAlign["YGA_STRETCH"] = 4] = "YGA_STRETCH";
68
+ YGAlign[YGAlign["YGA_BASELINE"] = 5] = "YGA_BASELINE";
69
+ YGAlign[YGAlign["YGA_SPACE_BETWEEN"] = 6] = "YGA_SPACE_BETWEEN";
70
+ YGAlign[YGAlign["YGA_SPACE_AROUND"] = 7] = "YGA_SPACE_AROUND";
71
+ YGAlign[YGAlign["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
72
+ })(YGAlign || (exports.YGAlign = YGAlign = {}));
73
+ function yGAlignFromJSON(object) {
74
+ switch (object) {
75
+ case 0:
76
+ case "YGA_AUTO":
77
+ return YGAlign.YGA_AUTO;
78
+ case 1:
79
+ case "YGA_FLEX_START":
80
+ return YGAlign.YGA_FLEX_START;
81
+ case 2:
82
+ case "YGA_CENTER":
83
+ return YGAlign.YGA_CENTER;
84
+ case 3:
85
+ case "YGA_FLEX_END":
86
+ return YGAlign.YGA_FLEX_END;
87
+ case 4:
88
+ case "YGA_STRETCH":
89
+ return YGAlign.YGA_STRETCH;
90
+ case 5:
91
+ case "YGA_BASELINE":
92
+ return YGAlign.YGA_BASELINE;
93
+ case 6:
94
+ case "YGA_SPACE_BETWEEN":
95
+ return YGAlign.YGA_SPACE_BETWEEN;
96
+ case 7:
97
+ case "YGA_SPACE_AROUND":
98
+ return YGAlign.YGA_SPACE_AROUND;
99
+ case -1:
100
+ case "UNRECOGNIZED":
101
+ default:
102
+ return YGAlign.UNRECOGNIZED;
103
+ }
104
+ }
105
+ function yGAlignToJSON(object) {
106
+ switch (object) {
107
+ case YGAlign.YGA_AUTO:
108
+ return "YGA_AUTO";
109
+ case YGAlign.YGA_FLEX_START:
110
+ return "YGA_FLEX_START";
111
+ case YGAlign.YGA_CENTER:
112
+ return "YGA_CENTER";
113
+ case YGAlign.YGA_FLEX_END:
114
+ return "YGA_FLEX_END";
115
+ case YGAlign.YGA_STRETCH:
116
+ return "YGA_STRETCH";
117
+ case YGAlign.YGA_BASELINE:
118
+ return "YGA_BASELINE";
119
+ case YGAlign.YGA_SPACE_BETWEEN:
120
+ return "YGA_SPACE_BETWEEN";
121
+ case YGAlign.YGA_SPACE_AROUND:
122
+ return "YGA_SPACE_AROUND";
123
+ case YGAlign.UNRECOGNIZED:
124
+ default:
125
+ return "UNRECOGNIZED";
126
+ }
127
+ }
128
+ var YGUnit;
129
+ (function (YGUnit) {
130
+ YGUnit[YGUnit["YGU_UNDEFINED"] = 0] = "YGU_UNDEFINED";
131
+ YGUnit[YGUnit["YGU_POINT"] = 1] = "YGU_POINT";
132
+ YGUnit[YGUnit["YGU_PERCENT"] = 2] = "YGU_PERCENT";
133
+ YGUnit[YGUnit["YGU_AUTO"] = 3] = "YGU_AUTO";
134
+ YGUnit[YGUnit["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
135
+ })(YGUnit || (exports.YGUnit = YGUnit = {}));
136
+ function yGUnitFromJSON(object) {
137
+ switch (object) {
138
+ case 0:
139
+ case "YGU_UNDEFINED":
140
+ return YGUnit.YGU_UNDEFINED;
141
+ case 1:
142
+ case "YGU_POINT":
143
+ return YGUnit.YGU_POINT;
144
+ case 2:
145
+ case "YGU_PERCENT":
146
+ return YGUnit.YGU_PERCENT;
147
+ case 3:
148
+ case "YGU_AUTO":
149
+ return YGUnit.YGU_AUTO;
150
+ case -1:
151
+ case "UNRECOGNIZED":
152
+ default:
153
+ return YGUnit.UNRECOGNIZED;
154
+ }
155
+ }
156
+ function yGUnitToJSON(object) {
157
+ switch (object) {
158
+ case YGUnit.YGU_UNDEFINED:
159
+ return "YGU_UNDEFINED";
160
+ case YGUnit.YGU_POINT:
161
+ return "YGU_POINT";
162
+ case YGUnit.YGU_PERCENT:
163
+ return "YGU_PERCENT";
164
+ case YGUnit.YGU_AUTO:
165
+ return "YGU_AUTO";
166
+ case YGUnit.UNRECOGNIZED:
167
+ default:
168
+ return "UNRECOGNIZED";
169
+ }
170
+ }
171
+ var YGFlexDirection;
172
+ (function (YGFlexDirection) {
173
+ YGFlexDirection[YGFlexDirection["YGFD_ROW"] = 0] = "YGFD_ROW";
174
+ YGFlexDirection[YGFlexDirection["YGFD_COLUMN"] = 1] = "YGFD_COLUMN";
175
+ YGFlexDirection[YGFlexDirection["YGFD_COLUMN_REVERSE"] = 2] = "YGFD_COLUMN_REVERSE";
176
+ YGFlexDirection[YGFlexDirection["YGFD_ROW_REVERSE"] = 3] = "YGFD_ROW_REVERSE";
177
+ YGFlexDirection[YGFlexDirection["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
178
+ })(YGFlexDirection || (exports.YGFlexDirection = YGFlexDirection = {}));
179
+ function yGFlexDirectionFromJSON(object) {
180
+ switch (object) {
181
+ case 0:
182
+ case "YGFD_ROW":
183
+ return YGFlexDirection.YGFD_ROW;
184
+ case 1:
185
+ case "YGFD_COLUMN":
186
+ return YGFlexDirection.YGFD_COLUMN;
187
+ case 2:
188
+ case "YGFD_COLUMN_REVERSE":
189
+ return YGFlexDirection.YGFD_COLUMN_REVERSE;
190
+ case 3:
191
+ case "YGFD_ROW_REVERSE":
192
+ return YGFlexDirection.YGFD_ROW_REVERSE;
193
+ case -1:
194
+ case "UNRECOGNIZED":
195
+ default:
196
+ return YGFlexDirection.UNRECOGNIZED;
197
+ }
198
+ }
199
+ function yGFlexDirectionToJSON(object) {
200
+ switch (object) {
201
+ case YGFlexDirection.YGFD_ROW:
202
+ return "YGFD_ROW";
203
+ case YGFlexDirection.YGFD_COLUMN:
204
+ return "YGFD_COLUMN";
205
+ case YGFlexDirection.YGFD_COLUMN_REVERSE:
206
+ return "YGFD_COLUMN_REVERSE";
207
+ case YGFlexDirection.YGFD_ROW_REVERSE:
208
+ return "YGFD_ROW_REVERSE";
209
+ case YGFlexDirection.UNRECOGNIZED:
210
+ default:
211
+ return "UNRECOGNIZED";
212
+ }
213
+ }
214
+ var YGWrap;
215
+ (function (YGWrap) {
216
+ YGWrap[YGWrap["YGW_NO_WRAP"] = 0] = "YGW_NO_WRAP";
217
+ YGWrap[YGWrap["YGW_WRAP"] = 1] = "YGW_WRAP";
218
+ YGWrap[YGWrap["YGW_WRAP_REVERSE"] = 2] = "YGW_WRAP_REVERSE";
219
+ YGWrap[YGWrap["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
220
+ })(YGWrap || (exports.YGWrap = YGWrap = {}));
221
+ function yGWrapFromJSON(object) {
222
+ switch (object) {
223
+ case 0:
224
+ case "YGW_NO_WRAP":
225
+ return YGWrap.YGW_NO_WRAP;
226
+ case 1:
227
+ case "YGW_WRAP":
228
+ return YGWrap.YGW_WRAP;
229
+ case 2:
230
+ case "YGW_WRAP_REVERSE":
231
+ return YGWrap.YGW_WRAP_REVERSE;
232
+ case -1:
233
+ case "UNRECOGNIZED":
234
+ default:
235
+ return YGWrap.UNRECOGNIZED;
236
+ }
237
+ }
238
+ function yGWrapToJSON(object) {
239
+ switch (object) {
240
+ case YGWrap.YGW_NO_WRAP:
241
+ return "YGW_NO_WRAP";
242
+ case YGWrap.YGW_WRAP:
243
+ return "YGW_WRAP";
244
+ case YGWrap.YGW_WRAP_REVERSE:
245
+ return "YGW_WRAP_REVERSE";
246
+ case YGWrap.UNRECOGNIZED:
247
+ default:
248
+ return "UNRECOGNIZED";
249
+ }
250
+ }
251
+ var YGJustify;
252
+ (function (YGJustify) {
253
+ YGJustify[YGJustify["YGJ_FLEX_START"] = 0] = "YGJ_FLEX_START";
254
+ YGJustify[YGJustify["YGJ_CENTER"] = 1] = "YGJ_CENTER";
255
+ YGJustify[YGJustify["YGJ_FLEX_END"] = 2] = "YGJ_FLEX_END";
256
+ YGJustify[YGJustify["YGJ_SPACE_BETWEEN"] = 3] = "YGJ_SPACE_BETWEEN";
257
+ YGJustify[YGJustify["YGJ_SPACE_AROUND"] = 4] = "YGJ_SPACE_AROUND";
258
+ YGJustify[YGJustify["YGJ_SPACE_EVENLY"] = 5] = "YGJ_SPACE_EVENLY";
259
+ YGJustify[YGJustify["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
260
+ })(YGJustify || (exports.YGJustify = YGJustify = {}));
261
+ function yGJustifyFromJSON(object) {
262
+ switch (object) {
263
+ case 0:
264
+ case "YGJ_FLEX_START":
265
+ return YGJustify.YGJ_FLEX_START;
266
+ case 1:
267
+ case "YGJ_CENTER":
268
+ return YGJustify.YGJ_CENTER;
269
+ case 2:
270
+ case "YGJ_FLEX_END":
271
+ return YGJustify.YGJ_FLEX_END;
272
+ case 3:
273
+ case "YGJ_SPACE_BETWEEN":
274
+ return YGJustify.YGJ_SPACE_BETWEEN;
275
+ case 4:
276
+ case "YGJ_SPACE_AROUND":
277
+ return YGJustify.YGJ_SPACE_AROUND;
278
+ case 5:
279
+ case "YGJ_SPACE_EVENLY":
280
+ return YGJustify.YGJ_SPACE_EVENLY;
281
+ case -1:
282
+ case "UNRECOGNIZED":
283
+ default:
284
+ return YGJustify.UNRECOGNIZED;
285
+ }
286
+ }
287
+ function yGJustifyToJSON(object) {
288
+ switch (object) {
289
+ case YGJustify.YGJ_FLEX_START:
290
+ return "YGJ_FLEX_START";
291
+ case YGJustify.YGJ_CENTER:
292
+ return "YGJ_CENTER";
293
+ case YGJustify.YGJ_FLEX_END:
294
+ return "YGJ_FLEX_END";
295
+ case YGJustify.YGJ_SPACE_BETWEEN:
296
+ return "YGJ_SPACE_BETWEEN";
297
+ case YGJustify.YGJ_SPACE_AROUND:
298
+ return "YGJ_SPACE_AROUND";
299
+ case YGJustify.YGJ_SPACE_EVENLY:
300
+ return "YGJ_SPACE_EVENLY";
301
+ case YGJustify.UNRECOGNIZED:
302
+ default:
303
+ return "UNRECOGNIZED";
304
+ }
305
+ }
306
+ var YGOverflow;
307
+ (function (YGOverflow) {
308
+ YGOverflow[YGOverflow["YGO_VISIBLE"] = 0] = "YGO_VISIBLE";
309
+ YGOverflow[YGOverflow["YGO_HIDDEN"] = 1] = "YGO_HIDDEN";
310
+ YGOverflow[YGOverflow["YGO_SCROLL"] = 2] = "YGO_SCROLL";
311
+ YGOverflow[YGOverflow["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
312
+ })(YGOverflow || (exports.YGOverflow = YGOverflow = {}));
313
+ function yGOverflowFromJSON(object) {
314
+ switch (object) {
315
+ case 0:
316
+ case "YGO_VISIBLE":
317
+ return YGOverflow.YGO_VISIBLE;
318
+ case 1:
319
+ case "YGO_HIDDEN":
320
+ return YGOverflow.YGO_HIDDEN;
321
+ case 2:
322
+ case "YGO_SCROLL":
323
+ return YGOverflow.YGO_SCROLL;
324
+ case -1:
325
+ case "UNRECOGNIZED":
326
+ default:
327
+ return YGOverflow.UNRECOGNIZED;
328
+ }
329
+ }
330
+ function yGOverflowToJSON(object) {
331
+ switch (object) {
332
+ case YGOverflow.YGO_VISIBLE:
333
+ return "YGO_VISIBLE";
334
+ case YGOverflow.YGO_HIDDEN:
335
+ return "YGO_HIDDEN";
336
+ case YGOverflow.YGO_SCROLL:
337
+ return "YGO_SCROLL";
338
+ case YGOverflow.UNRECOGNIZED:
339
+ default:
340
+ return "UNRECOGNIZED";
341
+ }
342
+ }
343
+ var YGDisplay;
344
+ (function (YGDisplay) {
345
+ YGDisplay[YGDisplay["YGD_FLEX"] = 0] = "YGD_FLEX";
346
+ YGDisplay[YGDisplay["YGD_NONE"] = 1] = "YGD_NONE";
347
+ YGDisplay[YGDisplay["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
348
+ })(YGDisplay || (exports.YGDisplay = YGDisplay = {}));
349
+ function yGDisplayFromJSON(object) {
350
+ switch (object) {
351
+ case 0:
352
+ case "YGD_FLEX":
353
+ return YGDisplay.YGD_FLEX;
354
+ case 1:
355
+ case "YGD_NONE":
356
+ return YGDisplay.YGD_NONE;
357
+ case -1:
358
+ case "UNRECOGNIZED":
359
+ default:
360
+ return YGDisplay.UNRECOGNIZED;
361
+ }
362
+ }
363
+ function yGDisplayToJSON(object) {
364
+ switch (object) {
365
+ case YGDisplay.YGD_FLEX:
366
+ return "YGD_FLEX";
367
+ case YGDisplay.YGD_NONE:
368
+ return "YGD_NONE";
369
+ case YGDisplay.UNRECOGNIZED:
370
+ default:
371
+ return "UNRECOGNIZED";
372
+ }
373
+ }
374
+ var YGEdge;
375
+ (function (YGEdge) {
376
+ YGEdge[YGEdge["YGE_LEFT"] = 0] = "YGE_LEFT";
377
+ YGEdge[YGEdge["YGE_TOP"] = 1] = "YGE_TOP";
378
+ YGEdge[YGEdge["YGE_RIGHT"] = 2] = "YGE_RIGHT";
379
+ YGEdge[YGEdge["YGE_BOTTOM"] = 3] = "YGE_BOTTOM";
380
+ YGEdge[YGEdge["YGE_START"] = 4] = "YGE_START";
381
+ YGEdge[YGEdge["YGE_END"] = 5] = "YGE_END";
382
+ YGEdge[YGEdge["YGE_HORIZONTAL"] = 6] = "YGE_HORIZONTAL";
383
+ YGEdge[YGEdge["YGE_VERTICAL"] = 7] = "YGE_VERTICAL";
384
+ YGEdge[YGEdge["YGE_ALL"] = 8] = "YGE_ALL";
385
+ YGEdge[YGEdge["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
386
+ })(YGEdge || (exports.YGEdge = YGEdge = {}));
387
+ function yGEdgeFromJSON(object) {
388
+ switch (object) {
389
+ case 0:
390
+ case "YGE_LEFT":
391
+ return YGEdge.YGE_LEFT;
392
+ case 1:
393
+ case "YGE_TOP":
394
+ return YGEdge.YGE_TOP;
395
+ case 2:
396
+ case "YGE_RIGHT":
397
+ return YGEdge.YGE_RIGHT;
398
+ case 3:
399
+ case "YGE_BOTTOM":
400
+ return YGEdge.YGE_BOTTOM;
401
+ case 4:
402
+ case "YGE_START":
403
+ return YGEdge.YGE_START;
404
+ case 5:
405
+ case "YGE_END":
406
+ return YGEdge.YGE_END;
407
+ case 6:
408
+ case "YGE_HORIZONTAL":
409
+ return YGEdge.YGE_HORIZONTAL;
410
+ case 7:
411
+ case "YGE_VERTICAL":
412
+ return YGEdge.YGE_VERTICAL;
413
+ case 8:
414
+ case "YGE_ALL":
415
+ return YGEdge.YGE_ALL;
416
+ case -1:
417
+ case "UNRECOGNIZED":
418
+ default:
419
+ return YGEdge.UNRECOGNIZED;
420
+ }
421
+ }
422
+ function yGEdgeToJSON(object) {
423
+ switch (object) {
424
+ case YGEdge.YGE_LEFT:
425
+ return "YGE_LEFT";
426
+ case YGEdge.YGE_TOP:
427
+ return "YGE_TOP";
428
+ case YGEdge.YGE_RIGHT:
429
+ return "YGE_RIGHT";
430
+ case YGEdge.YGE_BOTTOM:
431
+ return "YGE_BOTTOM";
432
+ case YGEdge.YGE_START:
433
+ return "YGE_START";
434
+ case YGEdge.YGE_END:
435
+ return "YGE_END";
436
+ case YGEdge.YGE_HORIZONTAL:
437
+ return "YGE_HORIZONTAL";
438
+ case YGEdge.YGE_VERTICAL:
439
+ return "YGE_VERTICAL";
440
+ case YGEdge.YGE_ALL:
441
+ return "YGE_ALL";
442
+ case YGEdge.UNRECOGNIZED:
443
+ default:
444
+ return "UNRECOGNIZED";
445
+ }
446
+ }
447
+ var PointerFilterMode;
448
+ (function (PointerFilterMode) {
449
+ PointerFilterMode[PointerFilterMode["PFM_NONE"] = 0] = "PFM_NONE";
450
+ PointerFilterMode[PointerFilterMode["PFM_BLOCK"] = 1] = "PFM_BLOCK";
451
+ PointerFilterMode[PointerFilterMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
452
+ })(PointerFilterMode || (exports.PointerFilterMode = PointerFilterMode = {}));
453
+ function pointerFilterModeFromJSON(object) {
454
+ switch (object) {
455
+ case 0:
456
+ case "PFM_NONE":
457
+ return PointerFilterMode.PFM_NONE;
458
+ case 1:
459
+ case "PFM_BLOCK":
460
+ return PointerFilterMode.PFM_BLOCK;
461
+ case -1:
462
+ case "UNRECOGNIZED":
463
+ default:
464
+ return PointerFilterMode.UNRECOGNIZED;
465
+ }
466
+ }
467
+ function pointerFilterModeToJSON(object) {
468
+ switch (object) {
469
+ case PointerFilterMode.PFM_NONE:
470
+ return "PFM_NONE";
471
+ case PointerFilterMode.PFM_BLOCK:
472
+ return "PFM_BLOCK";
473
+ case PointerFilterMode.UNRECOGNIZED:
474
+ default:
475
+ return "UNRECOGNIZED";
476
+ }
477
+ }
478
+ function createBasePBUiTransform() {
479
+ return {
480
+ parent: 0,
481
+ rightOf: 0,
482
+ alignContent: undefined,
483
+ alignItems: undefined,
484
+ flexWrap: undefined,
485
+ flexShrink: undefined,
486
+ positionType: 0,
487
+ alignSelf: 0,
488
+ flexDirection: 0,
489
+ justifyContent: 0,
490
+ overflow: 0,
491
+ display: 0,
492
+ flexBasisUnit: 0,
493
+ flexBasis: 0,
494
+ flexGrow: 0,
495
+ widthUnit: 0,
496
+ width: 0,
497
+ heightUnit: 0,
498
+ height: 0,
499
+ minWidthUnit: 0,
500
+ minWidth: 0,
501
+ minHeightUnit: 0,
502
+ minHeight: 0,
503
+ maxWidthUnit: 0,
504
+ maxWidth: 0,
505
+ maxHeightUnit: 0,
506
+ maxHeight: 0,
507
+ positionLeftUnit: 0,
508
+ positionLeft: 0,
509
+ positionTopUnit: 0,
510
+ positionTop: 0,
511
+ positionRightUnit: 0,
512
+ positionRight: 0,
513
+ positionBottomUnit: 0,
514
+ positionBottom: 0,
515
+ marginLeftUnit: 0,
516
+ marginLeft: 0,
517
+ marginTopUnit: 0,
518
+ marginTop: 0,
519
+ marginRightUnit: 0,
520
+ marginRight: 0,
521
+ marginBottomUnit: 0,
522
+ marginBottom: 0,
523
+ paddingLeftUnit: 0,
524
+ paddingLeft: 0,
525
+ paddingTopUnit: 0,
526
+ paddingTop: 0,
527
+ paddingRightUnit: 0,
528
+ paddingRight: 0,
529
+ paddingBottomUnit: 0,
530
+ paddingBottom: 0,
531
+ pointerFilter: undefined,
532
+ };
533
+ }
534
+ var PBUiTransform;
535
+ (function (PBUiTransform) {
536
+ function encode(message, writer = minimal_1.default.Writer.create()) {
537
+ if (message.parent !== 0) {
538
+ writer.uint32(8).int32(message.parent);
539
+ }
540
+ if (message.rightOf !== 0) {
541
+ writer.uint32(16).int32(message.rightOf);
542
+ }
543
+ if (message.alignContent !== undefined) {
544
+ writer.uint32(24).int32(message.alignContent);
545
+ }
546
+ if (message.alignItems !== undefined) {
547
+ writer.uint32(32).int32(message.alignItems);
548
+ }
549
+ if (message.flexWrap !== undefined) {
550
+ writer.uint32(40).int32(message.flexWrap);
551
+ }
552
+ if (message.flexShrink !== undefined) {
553
+ writer.uint32(53).float(message.flexShrink);
554
+ }
555
+ if (message.positionType !== 0) {
556
+ writer.uint32(56).int32(message.positionType);
557
+ }
558
+ if (message.alignSelf !== 0) {
559
+ writer.uint32(64).int32(message.alignSelf);
560
+ }
561
+ if (message.flexDirection !== 0) {
562
+ writer.uint32(72).int32(message.flexDirection);
563
+ }
564
+ if (message.justifyContent !== 0) {
565
+ writer.uint32(80).int32(message.justifyContent);
566
+ }
567
+ if (message.overflow !== 0) {
568
+ writer.uint32(88).int32(message.overflow);
569
+ }
570
+ if (message.display !== 0) {
571
+ writer.uint32(96).int32(message.display);
572
+ }
573
+ if (message.flexBasisUnit !== 0) {
574
+ writer.uint32(104).int32(message.flexBasisUnit);
575
+ }
576
+ if (message.flexBasis !== 0) {
577
+ writer.uint32(117).float(message.flexBasis);
578
+ }
579
+ if (message.flexGrow !== 0) {
580
+ writer.uint32(125).float(message.flexGrow);
581
+ }
582
+ if (message.widthUnit !== 0) {
583
+ writer.uint32(128).int32(message.widthUnit);
584
+ }
585
+ if (message.width !== 0) {
586
+ writer.uint32(141).float(message.width);
587
+ }
588
+ if (message.heightUnit !== 0) {
589
+ writer.uint32(144).int32(message.heightUnit);
590
+ }
591
+ if (message.height !== 0) {
592
+ writer.uint32(157).float(message.height);
593
+ }
594
+ if (message.minWidthUnit !== 0) {
595
+ writer.uint32(160).int32(message.minWidthUnit);
596
+ }
597
+ if (message.minWidth !== 0) {
598
+ writer.uint32(173).float(message.minWidth);
599
+ }
600
+ if (message.minHeightUnit !== 0) {
601
+ writer.uint32(176).int32(message.minHeightUnit);
602
+ }
603
+ if (message.minHeight !== 0) {
604
+ writer.uint32(189).float(message.minHeight);
605
+ }
606
+ if (message.maxWidthUnit !== 0) {
607
+ writer.uint32(192).int32(message.maxWidthUnit);
608
+ }
609
+ if (message.maxWidth !== 0) {
610
+ writer.uint32(205).float(message.maxWidth);
611
+ }
612
+ if (message.maxHeightUnit !== 0) {
613
+ writer.uint32(208).int32(message.maxHeightUnit);
614
+ }
615
+ if (message.maxHeight !== 0) {
616
+ writer.uint32(221).float(message.maxHeight);
617
+ }
618
+ if (message.positionLeftUnit !== 0) {
619
+ writer.uint32(224).int32(message.positionLeftUnit);
620
+ }
621
+ if (message.positionLeft !== 0) {
622
+ writer.uint32(237).float(message.positionLeft);
623
+ }
624
+ if (message.positionTopUnit !== 0) {
625
+ writer.uint32(240).int32(message.positionTopUnit);
626
+ }
627
+ if (message.positionTop !== 0) {
628
+ writer.uint32(253).float(message.positionTop);
629
+ }
630
+ if (message.positionRightUnit !== 0) {
631
+ writer.uint32(256).int32(message.positionRightUnit);
632
+ }
633
+ if (message.positionRight !== 0) {
634
+ writer.uint32(269).float(message.positionRight);
635
+ }
636
+ if (message.positionBottomUnit !== 0) {
637
+ writer.uint32(272).int32(message.positionBottomUnit);
638
+ }
639
+ if (message.positionBottom !== 0) {
640
+ writer.uint32(285).float(message.positionBottom);
641
+ }
642
+ if (message.marginLeftUnit !== 0) {
643
+ writer.uint32(288).int32(message.marginLeftUnit);
644
+ }
645
+ if (message.marginLeft !== 0) {
646
+ writer.uint32(301).float(message.marginLeft);
647
+ }
648
+ if (message.marginTopUnit !== 0) {
649
+ writer.uint32(304).int32(message.marginTopUnit);
650
+ }
651
+ if (message.marginTop !== 0) {
652
+ writer.uint32(317).float(message.marginTop);
653
+ }
654
+ if (message.marginRightUnit !== 0) {
655
+ writer.uint32(320).int32(message.marginRightUnit);
656
+ }
657
+ if (message.marginRight !== 0) {
658
+ writer.uint32(333).float(message.marginRight);
659
+ }
660
+ if (message.marginBottomUnit !== 0) {
661
+ writer.uint32(336).int32(message.marginBottomUnit);
662
+ }
663
+ if (message.marginBottom !== 0) {
664
+ writer.uint32(349).float(message.marginBottom);
665
+ }
666
+ if (message.paddingLeftUnit !== 0) {
667
+ writer.uint32(352).int32(message.paddingLeftUnit);
668
+ }
669
+ if (message.paddingLeft !== 0) {
670
+ writer.uint32(365).float(message.paddingLeft);
671
+ }
672
+ if (message.paddingTopUnit !== 0) {
673
+ writer.uint32(368).int32(message.paddingTopUnit);
674
+ }
675
+ if (message.paddingTop !== 0) {
676
+ writer.uint32(381).float(message.paddingTop);
677
+ }
678
+ if (message.paddingRightUnit !== 0) {
679
+ writer.uint32(384).int32(message.paddingRightUnit);
680
+ }
681
+ if (message.paddingRight !== 0) {
682
+ writer.uint32(397).float(message.paddingRight);
683
+ }
684
+ if (message.paddingBottomUnit !== 0) {
685
+ writer.uint32(400).int32(message.paddingBottomUnit);
686
+ }
687
+ if (message.paddingBottom !== 0) {
688
+ writer.uint32(413).float(message.paddingBottom);
689
+ }
690
+ if (message.pointerFilter !== undefined) {
691
+ writer.uint32(416).int32(message.pointerFilter);
692
+ }
693
+ return writer;
694
+ }
695
+ PBUiTransform.encode = encode;
696
+ function decode(input, length) {
697
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
698
+ let end = length === undefined ? reader.len : reader.pos + length;
699
+ const message = createBasePBUiTransform();
700
+ while (reader.pos < end) {
701
+ const tag = reader.uint32();
702
+ switch (tag >>> 3) {
703
+ case 1:
704
+ if (tag !== 8) {
705
+ break;
706
+ }
707
+ message.parent = reader.int32();
708
+ continue;
709
+ case 2:
710
+ if (tag !== 16) {
711
+ break;
712
+ }
713
+ message.rightOf = reader.int32();
714
+ continue;
715
+ case 3:
716
+ if (tag !== 24) {
717
+ break;
718
+ }
719
+ message.alignContent = reader.int32();
720
+ continue;
721
+ case 4:
722
+ if (tag !== 32) {
723
+ break;
724
+ }
725
+ message.alignItems = reader.int32();
726
+ continue;
727
+ case 5:
728
+ if (tag !== 40) {
729
+ break;
730
+ }
731
+ message.flexWrap = reader.int32();
732
+ continue;
733
+ case 6:
734
+ if (tag !== 53) {
735
+ break;
736
+ }
737
+ message.flexShrink = reader.float();
738
+ continue;
739
+ case 7:
740
+ if (tag !== 56) {
741
+ break;
742
+ }
743
+ message.positionType = reader.int32();
744
+ continue;
745
+ case 8:
746
+ if (tag !== 64) {
747
+ break;
748
+ }
749
+ message.alignSelf = reader.int32();
750
+ continue;
751
+ case 9:
752
+ if (tag !== 72) {
753
+ break;
754
+ }
755
+ message.flexDirection = reader.int32();
756
+ continue;
757
+ case 10:
758
+ if (tag !== 80) {
759
+ break;
760
+ }
761
+ message.justifyContent = reader.int32();
762
+ continue;
763
+ case 11:
764
+ if (tag !== 88) {
765
+ break;
766
+ }
767
+ message.overflow = reader.int32();
768
+ continue;
769
+ case 12:
770
+ if (tag !== 96) {
771
+ break;
772
+ }
773
+ message.display = reader.int32();
774
+ continue;
775
+ case 13:
776
+ if (tag !== 104) {
777
+ break;
778
+ }
779
+ message.flexBasisUnit = reader.int32();
780
+ continue;
781
+ case 14:
782
+ if (tag !== 117) {
783
+ break;
784
+ }
785
+ message.flexBasis = reader.float();
786
+ continue;
787
+ case 15:
788
+ if (tag !== 125) {
789
+ break;
790
+ }
791
+ message.flexGrow = reader.float();
792
+ continue;
793
+ case 16:
794
+ if (tag !== 128) {
795
+ break;
796
+ }
797
+ message.widthUnit = reader.int32();
798
+ continue;
799
+ case 17:
800
+ if (tag !== 141) {
801
+ break;
802
+ }
803
+ message.width = reader.float();
804
+ continue;
805
+ case 18:
806
+ if (tag !== 144) {
807
+ break;
808
+ }
809
+ message.heightUnit = reader.int32();
810
+ continue;
811
+ case 19:
812
+ if (tag !== 157) {
813
+ break;
814
+ }
815
+ message.height = reader.float();
816
+ continue;
817
+ case 20:
818
+ if (tag !== 160) {
819
+ break;
820
+ }
821
+ message.minWidthUnit = reader.int32();
822
+ continue;
823
+ case 21:
824
+ if (tag !== 173) {
825
+ break;
826
+ }
827
+ message.minWidth = reader.float();
828
+ continue;
829
+ case 22:
830
+ if (tag !== 176) {
831
+ break;
832
+ }
833
+ message.minHeightUnit = reader.int32();
834
+ continue;
835
+ case 23:
836
+ if (tag !== 189) {
837
+ break;
838
+ }
839
+ message.minHeight = reader.float();
840
+ continue;
841
+ case 24:
842
+ if (tag !== 192) {
843
+ break;
844
+ }
845
+ message.maxWidthUnit = reader.int32();
846
+ continue;
847
+ case 25:
848
+ if (tag !== 205) {
849
+ break;
850
+ }
851
+ message.maxWidth = reader.float();
852
+ continue;
853
+ case 26:
854
+ if (tag !== 208) {
855
+ break;
856
+ }
857
+ message.maxHeightUnit = reader.int32();
858
+ continue;
859
+ case 27:
860
+ if (tag !== 221) {
861
+ break;
862
+ }
863
+ message.maxHeight = reader.float();
864
+ continue;
865
+ case 28:
866
+ if (tag !== 224) {
867
+ break;
868
+ }
869
+ message.positionLeftUnit = reader.int32();
870
+ continue;
871
+ case 29:
872
+ if (tag !== 237) {
873
+ break;
874
+ }
875
+ message.positionLeft = reader.float();
876
+ continue;
877
+ case 30:
878
+ if (tag !== 240) {
879
+ break;
880
+ }
881
+ message.positionTopUnit = reader.int32();
882
+ continue;
883
+ case 31:
884
+ if (tag !== 253) {
885
+ break;
886
+ }
887
+ message.positionTop = reader.float();
888
+ continue;
889
+ case 32:
890
+ if (tag !== 256) {
891
+ break;
892
+ }
893
+ message.positionRightUnit = reader.int32();
894
+ continue;
895
+ case 33:
896
+ if (tag !== 269) {
897
+ break;
898
+ }
899
+ message.positionRight = reader.float();
900
+ continue;
901
+ case 34:
902
+ if (tag !== 272) {
903
+ break;
904
+ }
905
+ message.positionBottomUnit = reader.int32();
906
+ continue;
907
+ case 35:
908
+ if (tag !== 285) {
909
+ break;
910
+ }
911
+ message.positionBottom = reader.float();
912
+ continue;
913
+ case 36:
914
+ if (tag !== 288) {
915
+ break;
916
+ }
917
+ message.marginLeftUnit = reader.int32();
918
+ continue;
919
+ case 37:
920
+ if (tag !== 301) {
921
+ break;
922
+ }
923
+ message.marginLeft = reader.float();
924
+ continue;
925
+ case 38:
926
+ if (tag !== 304) {
927
+ break;
928
+ }
929
+ message.marginTopUnit = reader.int32();
930
+ continue;
931
+ case 39:
932
+ if (tag !== 317) {
933
+ break;
934
+ }
935
+ message.marginTop = reader.float();
936
+ continue;
937
+ case 40:
938
+ if (tag !== 320) {
939
+ break;
940
+ }
941
+ message.marginRightUnit = reader.int32();
942
+ continue;
943
+ case 41:
944
+ if (tag !== 333) {
945
+ break;
946
+ }
947
+ message.marginRight = reader.float();
948
+ continue;
949
+ case 42:
950
+ if (tag !== 336) {
951
+ break;
952
+ }
953
+ message.marginBottomUnit = reader.int32();
954
+ continue;
955
+ case 43:
956
+ if (tag !== 349) {
957
+ break;
958
+ }
959
+ message.marginBottom = reader.float();
960
+ continue;
961
+ case 44:
962
+ if (tag !== 352) {
963
+ break;
964
+ }
965
+ message.paddingLeftUnit = reader.int32();
966
+ continue;
967
+ case 45:
968
+ if (tag !== 365) {
969
+ break;
970
+ }
971
+ message.paddingLeft = reader.float();
972
+ continue;
973
+ case 46:
974
+ if (tag !== 368) {
975
+ break;
976
+ }
977
+ message.paddingTopUnit = reader.int32();
978
+ continue;
979
+ case 47:
980
+ if (tag !== 381) {
981
+ break;
982
+ }
983
+ message.paddingTop = reader.float();
984
+ continue;
985
+ case 48:
986
+ if (tag !== 384) {
987
+ break;
988
+ }
989
+ message.paddingRightUnit = reader.int32();
990
+ continue;
991
+ case 49:
992
+ if (tag !== 397) {
993
+ break;
994
+ }
995
+ message.paddingRight = reader.float();
996
+ continue;
997
+ case 50:
998
+ if (tag !== 400) {
999
+ break;
1000
+ }
1001
+ message.paddingBottomUnit = reader.int32();
1002
+ continue;
1003
+ case 51:
1004
+ if (tag !== 413) {
1005
+ break;
1006
+ }
1007
+ message.paddingBottom = reader.float();
1008
+ continue;
1009
+ case 52:
1010
+ if (tag !== 416) {
1011
+ break;
1012
+ }
1013
+ message.pointerFilter = reader.int32();
1014
+ continue;
1015
+ }
1016
+ if ((tag & 7) === 4 || tag === 0) {
1017
+ break;
1018
+ }
1019
+ reader.skipType(tag & 7);
1020
+ }
1021
+ return message;
1022
+ }
1023
+ PBUiTransform.decode = decode;
1024
+ function fromJSON(object) {
1025
+ return {
1026
+ parent: isSet(object.parent) ? Number(object.parent) : 0,
1027
+ rightOf: isSet(object.rightOf) ? Number(object.rightOf) : 0,
1028
+ alignContent: isSet(object.alignContent) ? yGAlignFromJSON(object.alignContent) : undefined,
1029
+ alignItems: isSet(object.alignItems) ? yGAlignFromJSON(object.alignItems) : undefined,
1030
+ flexWrap: isSet(object.flexWrap) ? yGWrapFromJSON(object.flexWrap) : undefined,
1031
+ flexShrink: isSet(object.flexShrink) ? Number(object.flexShrink) : undefined,
1032
+ positionType: isSet(object.positionType) ? yGPositionTypeFromJSON(object.positionType) : 0,
1033
+ alignSelf: isSet(object.alignSelf) ? yGAlignFromJSON(object.alignSelf) : 0,
1034
+ flexDirection: isSet(object.flexDirection) ? yGFlexDirectionFromJSON(object.flexDirection) : 0,
1035
+ justifyContent: isSet(object.justifyContent) ? yGJustifyFromJSON(object.justifyContent) : 0,
1036
+ overflow: isSet(object.overflow) ? yGOverflowFromJSON(object.overflow) : 0,
1037
+ display: isSet(object.display) ? yGDisplayFromJSON(object.display) : 0,
1038
+ flexBasisUnit: isSet(object.flexBasisUnit) ? yGUnitFromJSON(object.flexBasisUnit) : 0,
1039
+ flexBasis: isSet(object.flexBasis) ? Number(object.flexBasis) : 0,
1040
+ flexGrow: isSet(object.flexGrow) ? Number(object.flexGrow) : 0,
1041
+ widthUnit: isSet(object.widthUnit) ? yGUnitFromJSON(object.widthUnit) : 0,
1042
+ width: isSet(object.width) ? Number(object.width) : 0,
1043
+ heightUnit: isSet(object.heightUnit) ? yGUnitFromJSON(object.heightUnit) : 0,
1044
+ height: isSet(object.height) ? Number(object.height) : 0,
1045
+ minWidthUnit: isSet(object.minWidthUnit) ? yGUnitFromJSON(object.minWidthUnit) : 0,
1046
+ minWidth: isSet(object.minWidth) ? Number(object.minWidth) : 0,
1047
+ minHeightUnit: isSet(object.minHeightUnit) ? yGUnitFromJSON(object.minHeightUnit) : 0,
1048
+ minHeight: isSet(object.minHeight) ? Number(object.minHeight) : 0,
1049
+ maxWidthUnit: isSet(object.maxWidthUnit) ? yGUnitFromJSON(object.maxWidthUnit) : 0,
1050
+ maxWidth: isSet(object.maxWidth) ? Number(object.maxWidth) : 0,
1051
+ maxHeightUnit: isSet(object.maxHeightUnit) ? yGUnitFromJSON(object.maxHeightUnit) : 0,
1052
+ maxHeight: isSet(object.maxHeight) ? Number(object.maxHeight) : 0,
1053
+ positionLeftUnit: isSet(object.positionLeftUnit) ? yGUnitFromJSON(object.positionLeftUnit) : 0,
1054
+ positionLeft: isSet(object.positionLeft) ? Number(object.positionLeft) : 0,
1055
+ positionTopUnit: isSet(object.positionTopUnit) ? yGUnitFromJSON(object.positionTopUnit) : 0,
1056
+ positionTop: isSet(object.positionTop) ? Number(object.positionTop) : 0,
1057
+ positionRightUnit: isSet(object.positionRightUnit) ? yGUnitFromJSON(object.positionRightUnit) : 0,
1058
+ positionRight: isSet(object.positionRight) ? Number(object.positionRight) : 0,
1059
+ positionBottomUnit: isSet(object.positionBottomUnit) ? yGUnitFromJSON(object.positionBottomUnit) : 0,
1060
+ positionBottom: isSet(object.positionBottom) ? Number(object.positionBottom) : 0,
1061
+ marginLeftUnit: isSet(object.marginLeftUnit) ? yGUnitFromJSON(object.marginLeftUnit) : 0,
1062
+ marginLeft: isSet(object.marginLeft) ? Number(object.marginLeft) : 0,
1063
+ marginTopUnit: isSet(object.marginTopUnit) ? yGUnitFromJSON(object.marginTopUnit) : 0,
1064
+ marginTop: isSet(object.marginTop) ? Number(object.marginTop) : 0,
1065
+ marginRightUnit: isSet(object.marginRightUnit) ? yGUnitFromJSON(object.marginRightUnit) : 0,
1066
+ marginRight: isSet(object.marginRight) ? Number(object.marginRight) : 0,
1067
+ marginBottomUnit: isSet(object.marginBottomUnit) ? yGUnitFromJSON(object.marginBottomUnit) : 0,
1068
+ marginBottom: isSet(object.marginBottom) ? Number(object.marginBottom) : 0,
1069
+ paddingLeftUnit: isSet(object.paddingLeftUnit) ? yGUnitFromJSON(object.paddingLeftUnit) : 0,
1070
+ paddingLeft: isSet(object.paddingLeft) ? Number(object.paddingLeft) : 0,
1071
+ paddingTopUnit: isSet(object.paddingTopUnit) ? yGUnitFromJSON(object.paddingTopUnit) : 0,
1072
+ paddingTop: isSet(object.paddingTop) ? Number(object.paddingTop) : 0,
1073
+ paddingRightUnit: isSet(object.paddingRightUnit) ? yGUnitFromJSON(object.paddingRightUnit) : 0,
1074
+ paddingRight: isSet(object.paddingRight) ? Number(object.paddingRight) : 0,
1075
+ paddingBottomUnit: isSet(object.paddingBottomUnit) ? yGUnitFromJSON(object.paddingBottomUnit) : 0,
1076
+ paddingBottom: isSet(object.paddingBottom) ? Number(object.paddingBottom) : 0,
1077
+ pointerFilter: isSet(object.pointerFilter) ? pointerFilterModeFromJSON(object.pointerFilter) : undefined,
1078
+ };
1079
+ }
1080
+ PBUiTransform.fromJSON = fromJSON;
1081
+ function toJSON(message) {
1082
+ const obj = {};
1083
+ message.parent !== undefined && (obj.parent = Math.round(message.parent));
1084
+ message.rightOf !== undefined && (obj.rightOf = Math.round(message.rightOf));
1085
+ message.alignContent !== undefined &&
1086
+ (obj.alignContent = message.alignContent !== undefined ? yGAlignToJSON(message.alignContent) : undefined);
1087
+ message.alignItems !== undefined &&
1088
+ (obj.alignItems = message.alignItems !== undefined ? yGAlignToJSON(message.alignItems) : undefined);
1089
+ message.flexWrap !== undefined &&
1090
+ (obj.flexWrap = message.flexWrap !== undefined ? yGWrapToJSON(message.flexWrap) : undefined);
1091
+ message.flexShrink !== undefined && (obj.flexShrink = message.flexShrink);
1092
+ message.positionType !== undefined && (obj.positionType = yGPositionTypeToJSON(message.positionType));
1093
+ message.alignSelf !== undefined && (obj.alignSelf = yGAlignToJSON(message.alignSelf));
1094
+ message.flexDirection !== undefined && (obj.flexDirection = yGFlexDirectionToJSON(message.flexDirection));
1095
+ message.justifyContent !== undefined && (obj.justifyContent = yGJustifyToJSON(message.justifyContent));
1096
+ message.overflow !== undefined && (obj.overflow = yGOverflowToJSON(message.overflow));
1097
+ message.display !== undefined && (obj.display = yGDisplayToJSON(message.display));
1098
+ message.flexBasisUnit !== undefined && (obj.flexBasisUnit = yGUnitToJSON(message.flexBasisUnit));
1099
+ message.flexBasis !== undefined && (obj.flexBasis = message.flexBasis);
1100
+ message.flexGrow !== undefined && (obj.flexGrow = message.flexGrow);
1101
+ message.widthUnit !== undefined && (obj.widthUnit = yGUnitToJSON(message.widthUnit));
1102
+ message.width !== undefined && (obj.width = message.width);
1103
+ message.heightUnit !== undefined && (obj.heightUnit = yGUnitToJSON(message.heightUnit));
1104
+ message.height !== undefined && (obj.height = message.height);
1105
+ message.minWidthUnit !== undefined && (obj.minWidthUnit = yGUnitToJSON(message.minWidthUnit));
1106
+ message.minWidth !== undefined && (obj.minWidth = message.minWidth);
1107
+ message.minHeightUnit !== undefined && (obj.minHeightUnit = yGUnitToJSON(message.minHeightUnit));
1108
+ message.minHeight !== undefined && (obj.minHeight = message.minHeight);
1109
+ message.maxWidthUnit !== undefined && (obj.maxWidthUnit = yGUnitToJSON(message.maxWidthUnit));
1110
+ message.maxWidth !== undefined && (obj.maxWidth = message.maxWidth);
1111
+ message.maxHeightUnit !== undefined && (obj.maxHeightUnit = yGUnitToJSON(message.maxHeightUnit));
1112
+ message.maxHeight !== undefined && (obj.maxHeight = message.maxHeight);
1113
+ message.positionLeftUnit !== undefined && (obj.positionLeftUnit = yGUnitToJSON(message.positionLeftUnit));
1114
+ message.positionLeft !== undefined && (obj.positionLeft = message.positionLeft);
1115
+ message.positionTopUnit !== undefined && (obj.positionTopUnit = yGUnitToJSON(message.positionTopUnit));
1116
+ message.positionTop !== undefined && (obj.positionTop = message.positionTop);
1117
+ message.positionRightUnit !== undefined && (obj.positionRightUnit = yGUnitToJSON(message.positionRightUnit));
1118
+ message.positionRight !== undefined && (obj.positionRight = message.positionRight);
1119
+ message.positionBottomUnit !== undefined && (obj.positionBottomUnit = yGUnitToJSON(message.positionBottomUnit));
1120
+ message.positionBottom !== undefined && (obj.positionBottom = message.positionBottom);
1121
+ message.marginLeftUnit !== undefined && (obj.marginLeftUnit = yGUnitToJSON(message.marginLeftUnit));
1122
+ message.marginLeft !== undefined && (obj.marginLeft = message.marginLeft);
1123
+ message.marginTopUnit !== undefined && (obj.marginTopUnit = yGUnitToJSON(message.marginTopUnit));
1124
+ message.marginTop !== undefined && (obj.marginTop = message.marginTop);
1125
+ message.marginRightUnit !== undefined && (obj.marginRightUnit = yGUnitToJSON(message.marginRightUnit));
1126
+ message.marginRight !== undefined && (obj.marginRight = message.marginRight);
1127
+ message.marginBottomUnit !== undefined && (obj.marginBottomUnit = yGUnitToJSON(message.marginBottomUnit));
1128
+ message.marginBottom !== undefined && (obj.marginBottom = message.marginBottom);
1129
+ message.paddingLeftUnit !== undefined && (obj.paddingLeftUnit = yGUnitToJSON(message.paddingLeftUnit));
1130
+ message.paddingLeft !== undefined && (obj.paddingLeft = message.paddingLeft);
1131
+ message.paddingTopUnit !== undefined && (obj.paddingTopUnit = yGUnitToJSON(message.paddingTopUnit));
1132
+ message.paddingTop !== undefined && (obj.paddingTop = message.paddingTop);
1133
+ message.paddingRightUnit !== undefined && (obj.paddingRightUnit = yGUnitToJSON(message.paddingRightUnit));
1134
+ message.paddingRight !== undefined && (obj.paddingRight = message.paddingRight);
1135
+ message.paddingBottomUnit !== undefined && (obj.paddingBottomUnit = yGUnitToJSON(message.paddingBottomUnit));
1136
+ message.paddingBottom !== undefined && (obj.paddingBottom = message.paddingBottom);
1137
+ message.pointerFilter !== undefined &&
1138
+ (obj.pointerFilter = message.pointerFilter !== undefined
1139
+ ? pointerFilterModeToJSON(message.pointerFilter)
1140
+ : undefined);
1141
+ return obj;
1142
+ }
1143
+ PBUiTransform.toJSON = toJSON;
1144
+ function create(base) {
1145
+ return PBUiTransform.fromPartial(base !== null && base !== void 0 ? base : {});
1146
+ }
1147
+ PBUiTransform.create = create;
1148
+ function fromPartial(object) {
1149
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27;
1150
+ const message = createBasePBUiTransform();
1151
+ message.parent = (_a = object.parent) !== null && _a !== void 0 ? _a : 0;
1152
+ message.rightOf = (_b = object.rightOf) !== null && _b !== void 0 ? _b : 0;
1153
+ message.alignContent = (_c = object.alignContent) !== null && _c !== void 0 ? _c : undefined;
1154
+ message.alignItems = (_d = object.alignItems) !== null && _d !== void 0 ? _d : undefined;
1155
+ message.flexWrap = (_e = object.flexWrap) !== null && _e !== void 0 ? _e : undefined;
1156
+ message.flexShrink = (_f = object.flexShrink) !== null && _f !== void 0 ? _f : undefined;
1157
+ message.positionType = (_g = object.positionType) !== null && _g !== void 0 ? _g : 0;
1158
+ message.alignSelf = (_h = object.alignSelf) !== null && _h !== void 0 ? _h : 0;
1159
+ message.flexDirection = (_j = object.flexDirection) !== null && _j !== void 0 ? _j : 0;
1160
+ message.justifyContent = (_k = object.justifyContent) !== null && _k !== void 0 ? _k : 0;
1161
+ message.overflow = (_l = object.overflow) !== null && _l !== void 0 ? _l : 0;
1162
+ message.display = (_m = object.display) !== null && _m !== void 0 ? _m : 0;
1163
+ message.flexBasisUnit = (_o = object.flexBasisUnit) !== null && _o !== void 0 ? _o : 0;
1164
+ message.flexBasis = (_p = object.flexBasis) !== null && _p !== void 0 ? _p : 0;
1165
+ message.flexGrow = (_q = object.flexGrow) !== null && _q !== void 0 ? _q : 0;
1166
+ message.widthUnit = (_r = object.widthUnit) !== null && _r !== void 0 ? _r : 0;
1167
+ message.width = (_s = object.width) !== null && _s !== void 0 ? _s : 0;
1168
+ message.heightUnit = (_t = object.heightUnit) !== null && _t !== void 0 ? _t : 0;
1169
+ message.height = (_u = object.height) !== null && _u !== void 0 ? _u : 0;
1170
+ message.minWidthUnit = (_v = object.minWidthUnit) !== null && _v !== void 0 ? _v : 0;
1171
+ message.minWidth = (_w = object.minWidth) !== null && _w !== void 0 ? _w : 0;
1172
+ message.minHeightUnit = (_x = object.minHeightUnit) !== null && _x !== void 0 ? _x : 0;
1173
+ message.minHeight = (_y = object.minHeight) !== null && _y !== void 0 ? _y : 0;
1174
+ message.maxWidthUnit = (_z = object.maxWidthUnit) !== null && _z !== void 0 ? _z : 0;
1175
+ message.maxWidth = (_0 = object.maxWidth) !== null && _0 !== void 0 ? _0 : 0;
1176
+ message.maxHeightUnit = (_1 = object.maxHeightUnit) !== null && _1 !== void 0 ? _1 : 0;
1177
+ message.maxHeight = (_2 = object.maxHeight) !== null && _2 !== void 0 ? _2 : 0;
1178
+ message.positionLeftUnit = (_3 = object.positionLeftUnit) !== null && _3 !== void 0 ? _3 : 0;
1179
+ message.positionLeft = (_4 = object.positionLeft) !== null && _4 !== void 0 ? _4 : 0;
1180
+ message.positionTopUnit = (_5 = object.positionTopUnit) !== null && _5 !== void 0 ? _5 : 0;
1181
+ message.positionTop = (_6 = object.positionTop) !== null && _6 !== void 0 ? _6 : 0;
1182
+ message.positionRightUnit = (_7 = object.positionRightUnit) !== null && _7 !== void 0 ? _7 : 0;
1183
+ message.positionRight = (_8 = object.positionRight) !== null && _8 !== void 0 ? _8 : 0;
1184
+ message.positionBottomUnit = (_9 = object.positionBottomUnit) !== null && _9 !== void 0 ? _9 : 0;
1185
+ message.positionBottom = (_10 = object.positionBottom) !== null && _10 !== void 0 ? _10 : 0;
1186
+ message.marginLeftUnit = (_11 = object.marginLeftUnit) !== null && _11 !== void 0 ? _11 : 0;
1187
+ message.marginLeft = (_12 = object.marginLeft) !== null && _12 !== void 0 ? _12 : 0;
1188
+ message.marginTopUnit = (_13 = object.marginTopUnit) !== null && _13 !== void 0 ? _13 : 0;
1189
+ message.marginTop = (_14 = object.marginTop) !== null && _14 !== void 0 ? _14 : 0;
1190
+ message.marginRightUnit = (_15 = object.marginRightUnit) !== null && _15 !== void 0 ? _15 : 0;
1191
+ message.marginRight = (_16 = object.marginRight) !== null && _16 !== void 0 ? _16 : 0;
1192
+ message.marginBottomUnit = (_17 = object.marginBottomUnit) !== null && _17 !== void 0 ? _17 : 0;
1193
+ message.marginBottom = (_18 = object.marginBottom) !== null && _18 !== void 0 ? _18 : 0;
1194
+ message.paddingLeftUnit = (_19 = object.paddingLeftUnit) !== null && _19 !== void 0 ? _19 : 0;
1195
+ message.paddingLeft = (_20 = object.paddingLeft) !== null && _20 !== void 0 ? _20 : 0;
1196
+ message.paddingTopUnit = (_21 = object.paddingTopUnit) !== null && _21 !== void 0 ? _21 : 0;
1197
+ message.paddingTop = (_22 = object.paddingTop) !== null && _22 !== void 0 ? _22 : 0;
1198
+ message.paddingRightUnit = (_23 = object.paddingRightUnit) !== null && _23 !== void 0 ? _23 : 0;
1199
+ message.paddingRight = (_24 = object.paddingRight) !== null && _24 !== void 0 ? _24 : 0;
1200
+ message.paddingBottomUnit = (_25 = object.paddingBottomUnit) !== null && _25 !== void 0 ? _25 : 0;
1201
+ message.paddingBottom = (_26 = object.paddingBottom) !== null && _26 !== void 0 ? _26 : 0;
1202
+ message.pointerFilter = (_27 = object.pointerFilter) !== null && _27 !== void 0 ? _27 : undefined;
1203
+ return message;
1204
+ }
1205
+ PBUiTransform.fromPartial = fromPartial;
1206
+ })(PBUiTransform || (exports.PBUiTransform = PBUiTransform = {}));
1207
+ function isSet(value) {
1208
+ return value !== null && value !== undefined;
1209
+ }
1210
+ //# sourceMappingURL=ui_transform.gen.js.map