@fps-games/editor 0.2.0-beta.3 → 0.2.1-beta.1

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 (1400) hide show
  1. package/dist/agent-bridge/capabilities/editor-state.d.ts.map +1 -1
  2. package/dist/agent-bridge/capabilities/editor-state.js +32 -17
  3. package/dist/agent-bridge/capabilities/editor-state.js.map +1 -1
  4. package/dist/agent-bridge/capabilities/hierarchy.d.ts +4 -0
  5. package/dist/agent-bridge/capabilities/hierarchy.d.ts.map +1 -0
  6. package/dist/agent-bridge/capabilities/hierarchy.js +209 -0
  7. package/dist/agent-bridge/capabilities/hierarchy.js.map +1 -0
  8. package/dist/agent-bridge/capabilities/prefabs.d.ts.map +1 -1
  9. package/dist/agent-bridge/capabilities/prefabs.js +243 -60
  10. package/dist/agent-bridge/capabilities/prefabs.js.map +1 -1
  11. package/dist/agent-bridge/capabilities/scene-objects.d.ts +3 -4
  12. package/dist/agent-bridge/capabilities/scene-objects.d.ts.map +1 -1
  13. package/dist/agent-bridge/capabilities/scene-objects.js +111 -25
  14. package/dist/agent-bridge/capabilities/scene-objects.js.map +1 -1
  15. package/dist/agent-bridge/capabilities/selection.d.ts.map +1 -1
  16. package/dist/agent-bridge/capabilities/selection.js +8 -5
  17. package/dist/agent-bridge/capabilities/selection.js.map +1 -1
  18. package/dist/agent-bridge/capabilities/shadows.d.ts.map +1 -1
  19. package/dist/agent-bridge/capabilities/shadows.js +839 -67
  20. package/dist/agent-bridge/capabilities/shadows.js.map +1 -1
  21. package/dist/agent-bridge/capabilities/transform.d.ts.map +1 -1
  22. package/dist/agent-bridge/capabilities/transform.js +6 -4
  23. package/dist/agent-bridge/capabilities/transform.js.map +1 -1
  24. package/dist/agent-bridge/capabilities/ui-regions.d.ts.map +1 -1
  25. package/dist/agent-bridge/capabilities/ui-regions.js +3 -1
  26. package/dist/agent-bridge/capabilities/ui-regions.js.map +1 -1
  27. package/dist/agent-bridge/capabilities/viewport.d.ts.map +1 -1
  28. package/dist/agent-bridge/capabilities/viewport.js +92 -47
  29. package/dist/agent-bridge/capabilities/viewport.js.map +1 -1
  30. package/dist/agent-bridge/capability-sources.d.ts.map +1 -1
  31. package/dist/agent-bridge/capability-sources.js +2 -0
  32. package/dist/agent-bridge/capability-sources.js.map +1 -1
  33. package/dist/agent-bridge/register.d.ts.map +1 -1
  34. package/dist/agent-bridge/register.js +194 -0
  35. package/dist/agent-bridge/register.js.map +1 -1
  36. package/dist/agent-bridge/shared.d.ts +232 -7
  37. package/dist/agent-bridge/shared.d.ts.map +1 -1
  38. package/dist/agent-bridge/shared.js +174 -0
  39. package/dist/agent-bridge/shared.js.map +1 -1
  40. package/dist/agent-bridge/source-types.d.ts +17 -1
  41. package/dist/agent-bridge/source-types.d.ts.map +1 -1
  42. package/dist/agent-bridge/source-types.js.map +1 -1
  43. package/dist/build-info.json +57 -42
  44. package/dist/index.d.ts +7 -6
  45. package/dist/index.d.ts.map +1 -1
  46. package/dist/index.js +4 -3
  47. package/dist/index.js.map +1 -1
  48. package/dist/internal/babylon-preview-engine.d.ts +3 -0
  49. package/dist/internal/babylon-preview-engine.d.ts.map +1 -0
  50. package/dist/internal/babylon-preview-engine.js +11 -0
  51. package/dist/internal/babylon-preview-engine.js.map +1 -0
  52. package/dist/internal/product-local-editor-cleanup.d.ts +5 -0
  53. package/dist/internal/product-local-editor-cleanup.d.ts.map +1 -0
  54. package/dist/internal/product-local-editor-cleanup.js +20 -0
  55. package/dist/internal/product-local-editor-cleanup.js.map +1 -0
  56. package/dist/local-editor-agent-actions.d.ts +2 -4
  57. package/dist/local-editor-agent-actions.d.ts.map +1 -1
  58. package/dist/local-editor-agent-actions.js +61 -33
  59. package/dist/local-editor-agent-actions.js.map +1 -1
  60. package/dist/local-editor-agent-context.d.ts +5 -5
  61. package/dist/local-editor-agent-context.d.ts.map +1 -1
  62. package/dist/local-editor-agent-context.js.map +1 -1
  63. package/dist/local-editor-harness.d.ts +340 -35
  64. package/dist/local-editor-harness.d.ts.map +1 -1
  65. package/dist/local-editor-harness.js +3854 -1118
  66. package/dist/local-editor-harness.js.map +1 -1
  67. package/dist/local-editor-marker-graph.d.ts +15 -15
  68. package/dist/local-editor-marker-graph.d.ts.map +1 -1
  69. package/dist/local-editor-marker-graph.js +3 -0
  70. package/dist/local-editor-marker-graph.js.map +1 -1
  71. package/dist/local-editor-performance-stats.d.ts +3 -2
  72. package/dist/local-editor-performance-stats.d.ts.map +1 -1
  73. package/dist/local-editor-performance-stats.js.map +1 -1
  74. package/dist/local-editor-prefab-stage-transaction.d.ts +19 -0
  75. package/dist/local-editor-prefab-stage-transaction.d.ts.map +1 -0
  76. package/dist/local-editor-prefab-stage-transaction.js +45 -0
  77. package/dist/local-editor-prefab-stage-transaction.js.map +1 -0
  78. package/dist/local-editor-scene-view-interaction-runtime.d.ts +3 -1
  79. package/dist/local-editor-scene-view-interaction-runtime.d.ts.map +1 -1
  80. package/dist/local-editor-scene-view-interaction-runtime.js +24 -0
  81. package/dist/local-editor-scene-view-interaction-runtime.js.map +1 -1
  82. package/dist/local-editor-tools.d.ts +18 -0
  83. package/dist/local-editor-tools.d.ts.map +1 -0
  84. package/dist/local-editor-tools.js +53 -0
  85. package/dist/local-editor-tools.js.map +1 -0
  86. package/dist/playable-babylon-rendering.d.ts +9 -0
  87. package/dist/playable-babylon-rendering.d.ts.map +1 -1
  88. package/dist/playable-babylon-rendering.js +162 -6
  89. package/dist/playable-babylon-rendering.js.map +1 -1
  90. package/dist/playable-local-editor-entry.d.ts +68 -0
  91. package/dist/playable-local-editor-entry.d.ts.map +1 -0
  92. package/dist/playable-local-editor-entry.js +424 -0
  93. package/dist/playable-local-editor-entry.js.map +1 -0
  94. package/dist/playable-local-editor-host.d.ts +51 -29
  95. package/dist/playable-local-editor-host.d.ts.map +1 -1
  96. package/dist/playable-local-editor-host.js +23 -11
  97. package/dist/playable-local-editor-host.js.map +1 -1
  98. package/dist/playable-product-local-editor.d.ts +10 -12
  99. package/dist/playable-product-local-editor.d.ts.map +1 -1
  100. package/dist/playable-product-local-editor.js +178 -85
  101. package/dist/playable-product-local-editor.js.map +1 -1
  102. package/dist/playable-product-projection-preview.d.ts +4 -1
  103. package/dist/playable-product-projection-preview.d.ts.map +1 -1
  104. package/dist/playable-product-projection-preview.js +122 -5
  105. package/dist/playable-product-projection-preview.js.map +1 -1
  106. package/dist/playable-product-rendering.d.ts +12 -0
  107. package/dist/playable-product-rendering.d.ts.map +1 -1
  108. package/dist/playable-product-rendering.js +128 -6
  109. package/dist/playable-product-rendering.js.map +1 -1
  110. package/dist/playable-product-scene-capabilities.d.ts +24 -7
  111. package/dist/playable-product-scene-capabilities.d.ts.map +1 -1
  112. package/dist/playable-product-scene-capabilities.js +172 -15
  113. package/dist/playable-product-scene-capabilities.js.map +1 -1
  114. package/dist/playable-project-mode.d.ts +17 -0
  115. package/dist/playable-project-mode.d.ts.map +1 -0
  116. package/dist/playable-project-mode.js +2 -0
  117. package/dist/playable-project-mode.js.map +1 -0
  118. package/dist/playable-runtime-babylon.d.ts +3 -6
  119. package/dist/playable-runtime-babylon.d.ts.map +1 -1
  120. package/dist/playable-runtime-babylon.js +1 -5
  121. package/dist/playable-runtime-babylon.js.map +1 -1
  122. package/dist/playable-sdk.d.ts +16 -9
  123. package/dist/playable-sdk.d.ts.map +1 -1
  124. package/dist/playable-sdk.js +6 -4
  125. package/dist/playable-sdk.js.map +1 -1
  126. package/dist/playable-standard-project.d.ts +23 -14
  127. package/dist/playable-standard-project.d.ts.map +1 -1
  128. package/dist/playable-standard-project.js +53 -19
  129. package/dist/playable-standard-project.js.map +1 -1
  130. package/dist/vite-client.d.ts +4 -0
  131. package/node_modules/@babel/helper-string-parser/lib/index.js +0 -1
  132. package/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -1
  133. package/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -1
  134. package/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -1
  135. package/node_modules/@babel/parser/lib/index.js +0 -1
  136. package/node_modules/@babel/types/lib/asserts/assertNode.js +0 -1
  137. package/node_modules/@babel/types/lib/asserts/generated/index.js +0 -1
  138. package/node_modules/@babel/types/lib/ast-types/generated/index.js +0 -1
  139. package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +0 -1
  140. package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +0 -1
  141. package/node_modules/@babel/types/lib/builders/generated/index.js +0 -1
  142. package/node_modules/@babel/types/lib/builders/generated/lowercase.js +0 -1
  143. package/node_modules/@babel/types/lib/builders/generated/uppercase.js +0 -1
  144. package/node_modules/@babel/types/lib/builders/productions.js +0 -1
  145. package/node_modules/@babel/types/lib/builders/react/buildChildren.js +0 -1
  146. package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +0 -1
  147. package/node_modules/@babel/types/lib/builders/validateNode.js +0 -1
  148. package/node_modules/@babel/types/lib/clone/clone.js +0 -1
  149. package/node_modules/@babel/types/lib/clone/cloneDeep.js +0 -1
  150. package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +0 -1
  151. package/node_modules/@babel/types/lib/clone/cloneNode.js +0 -1
  152. package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +0 -1
  153. package/node_modules/@babel/types/lib/comments/addComment.js +0 -1
  154. package/node_modules/@babel/types/lib/comments/addComments.js +0 -1
  155. package/node_modules/@babel/types/lib/comments/inheritInnerComments.js +0 -1
  156. package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +0 -1
  157. package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +0 -1
  158. package/node_modules/@babel/types/lib/comments/inheritsComments.js +0 -1
  159. package/node_modules/@babel/types/lib/comments/removeComments.js +0 -1
  160. package/node_modules/@babel/types/lib/constants/generated/index.js +0 -1
  161. package/node_modules/@babel/types/lib/constants/index.js +0 -1
  162. package/node_modules/@babel/types/lib/converters/ensureBlock.js +0 -1
  163. package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +0 -1
  164. package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +0 -1
  165. package/node_modules/@babel/types/lib/converters/toBlock.js +0 -1
  166. package/node_modules/@babel/types/lib/converters/toComputedKey.js +0 -1
  167. package/node_modules/@babel/types/lib/converters/toExpression.js +0 -1
  168. package/node_modules/@babel/types/lib/converters/toIdentifier.js +0 -1
  169. package/node_modules/@babel/types/lib/converters/toKeyAlias.js +0 -1
  170. package/node_modules/@babel/types/lib/converters/toSequenceExpression.js +0 -1
  171. package/node_modules/@babel/types/lib/converters/toStatement.js +0 -1
  172. package/node_modules/@babel/types/lib/converters/valueToNode.js +0 -1
  173. package/node_modules/@babel/types/lib/definitions/core.js +0 -1
  174. package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +0 -1
  175. package/node_modules/@babel/types/lib/definitions/experimental.js +0 -1
  176. package/node_modules/@babel/types/lib/definitions/flow.js +0 -1
  177. package/node_modules/@babel/types/lib/definitions/index.js +0 -1
  178. package/node_modules/@babel/types/lib/definitions/jsx.js +0 -1
  179. package/node_modules/@babel/types/lib/definitions/misc.js +0 -1
  180. package/node_modules/@babel/types/lib/definitions/placeholders.js +0 -1
  181. package/node_modules/@babel/types/lib/definitions/typescript.js +0 -1
  182. package/node_modules/@babel/types/lib/definitions/utils.js +0 -1
  183. package/node_modules/@babel/types/lib/index.js +0 -1
  184. package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +0 -1
  185. package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +0 -1
  186. package/node_modules/@babel/types/lib/modifications/inherits.js +0 -1
  187. package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +0 -1
  188. package/node_modules/@babel/types/lib/modifications/removeProperties.js +0 -1
  189. package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +0 -1
  190. package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +0 -1
  191. package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js +0 -1
  192. package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +0 -1
  193. package/node_modules/@babel/types/lib/retrievers/getFunctionName.js +0 -1
  194. package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +0 -1
  195. package/node_modules/@babel/types/lib/traverse/traverse.js +0 -1
  196. package/node_modules/@babel/types/lib/traverse/traverseFast.js +0 -1
  197. package/node_modules/@babel/types/lib/utils/deprecationWarning.js +0 -1
  198. package/node_modules/@babel/types/lib/utils/inherit.js +0 -1
  199. package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +0 -1
  200. package/node_modules/@babel/types/lib/utils/shallowEqual.js +0 -1
  201. package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +0 -1
  202. package/node_modules/@babel/types/lib/validators/generated/index.js +0 -1
  203. package/node_modules/@babel/types/lib/validators/is.js +0 -1
  204. package/node_modules/@babel/types/lib/validators/isBinding.js +0 -1
  205. package/node_modules/@babel/types/lib/validators/isBlockScoped.js +0 -1
  206. package/node_modules/@babel/types/lib/validators/isImmutable.js +0 -1
  207. package/node_modules/@babel/types/lib/validators/isLet.js +0 -1
  208. package/node_modules/@babel/types/lib/validators/isNode.js +0 -1
  209. package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +0 -1
  210. package/node_modules/@babel/types/lib/validators/isPlaceholderType.js +0 -1
  211. package/node_modules/@babel/types/lib/validators/isReferenced.js +0 -1
  212. package/node_modules/@babel/types/lib/validators/isScope.js +0 -1
  213. package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +0 -1
  214. package/node_modules/@babel/types/lib/validators/isType.js +0 -1
  215. package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +0 -1
  216. package/node_modules/@babel/types/lib/validators/isValidIdentifier.js +0 -1
  217. package/node_modules/@babel/types/lib/validators/isVar.js +0 -1
  218. package/node_modules/@babel/types/lib/validators/matchesPattern.js +0 -1
  219. package/node_modules/@babel/types/lib/validators/react/isCompatTag.js +0 -1
  220. package/node_modules/@babel/types/lib/validators/react/isReactComponent.js +0 -1
  221. package/node_modules/@babel/types/lib/validators/validate.js +0 -1
  222. package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.d.ts +69 -0
  223. package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.js +132 -0
  224. package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.d.ts +8 -0
  225. package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.js +7 -0
  226. package/node_modules/@babylonjs/loaders/BVH/bvhLoader.d.ts +14 -0
  227. package/node_modules/@babylonjs/loaders/BVH/bvhLoader.js +328 -0
  228. package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.d.ts +9 -0
  229. package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.js +1 -0
  230. package/node_modules/@babylonjs/loaders/BVH/index.d.ts +2 -0
  231. package/node_modules/@babylonjs/loaders/BVH/index.js +3 -0
  232. package/node_modules/@babylonjs/loaders/OBJ/index.d.ts +4 -0
  233. package/node_modules/@babylonjs/loaders/OBJ/index.js +4 -0
  234. package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.d.ts +41 -0
  235. package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.js +230 -0
  236. package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.d.ts +136 -0
  237. package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.js +317 -0
  238. package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.d.ts +4 -0
  239. package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.js +4 -0
  240. package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.d.ts +47 -0
  241. package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.js +1 -0
  242. package/node_modules/@babylonjs/loaders/OBJ/solidParser.d.ts +175 -0
  243. package/node_modules/@babylonjs/loaders/OBJ/solidParser.js +903 -0
  244. package/node_modules/@babylonjs/loaders/SPLAT/index.d.ts +2 -0
  245. package/node_modules/@babylonjs/loaders/SPLAT/index.js +3 -0
  246. package/node_modules/@babylonjs/loaders/SPLAT/sog.d.ts +84 -0
  247. package/node_modules/@babylonjs/loaders/SPLAT/sog.js +294 -0
  248. package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.d.ts +26 -0
  249. package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.js +10 -0
  250. package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.d.ts +100 -0
  251. package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.js +536 -0
  252. package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.d.ts +20 -0
  253. package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.js +15 -0
  254. package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.d.ts +33 -0
  255. package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.js +1 -0
  256. package/node_modules/@babylonjs/loaders/SPLAT/spz.d.ts +11 -0
  257. package/node_modules/@babylonjs/loaders/SPLAT/spz.js +168 -0
  258. package/node_modules/@babylonjs/loaders/STL/index.d.ts +1 -0
  259. package/node_modules/@babylonjs/loaders/STL/index.js +1 -0
  260. package/node_modules/@babylonjs/loaders/STL/stlFileLoader.d.ts +78 -0
  261. package/node_modules/@babylonjs/loaders/STL/stlFileLoader.js +238 -0
  262. package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.d.ts +8 -0
  263. package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.js +7 -0
  264. package/node_modules/@babylonjs/loaders/bvh/license.md +21 -0
  265. package/node_modules/@babylonjs/loaders/dynamic.d.ts +5 -0
  266. package/node_modules/@babylonjs/loaders/dynamic.js +56 -0
  267. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.d.ts +16 -0
  268. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.js +64 -0
  269. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.d.ts +144 -0
  270. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.js +1841 -0
  271. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.d.ts +412 -0
  272. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.js +95 -0
  273. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.d.ts +71 -0
  274. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.js +254 -0
  275. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.d.ts +13 -0
  276. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.js +130 -0
  277. package/node_modules/@babylonjs/loaders/glTF/1.0/index.d.ts +5 -0
  278. package/node_modules/@babylonjs/loaders/glTF/1.0/index.js +5 -0
  279. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.d.ts +41 -0
  280. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.js +93 -0
  281. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.d.ts +41 -0
  282. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.js +83 -0
  283. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.d.ts +48 -0
  284. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.js +115 -0
  285. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.d.ts +39 -0
  286. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.js +94 -0
  287. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.d.ts +39 -0
  288. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.js +50 -0
  289. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.d.ts +34 -0
  290. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.js +38 -0
  291. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.d.ts +33 -0
  292. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.js +37 -0
  293. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.d.ts +53 -0
  294. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.js +73 -0
  295. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.d.ts +47 -0
  296. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.d.ts +1 -0
  297. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.js +251 -0
  298. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.js +77 -0
  299. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.d.ts +47 -0
  300. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.js +92 -0
  301. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.d.ts +355 -0
  302. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.js +1678 -0
  303. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.d.ts +33 -0
  304. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.js +19 -0
  305. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.d.ts +3 -0
  306. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.js +3 -0
  307. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.d.ts +70 -0
  308. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.js +438 -0
  309. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.d.ts +38 -0
  310. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.js +150 -0
  311. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.d.ts +41 -0
  312. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.js +91 -0
  313. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.d.ts +42 -0
  314. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.js +65 -0
  315. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.d.ts +43 -0
  316. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.js +79 -0
  317. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.d.ts +49 -0
  318. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.js +119 -0
  319. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.d.ts +43 -0
  320. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.js +58 -0
  321. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.d.ts +43 -0
  322. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.js +69 -0
  323. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.d.ts +43 -0
  324. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.js +56 -0
  325. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.d.ts +42 -0
  326. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.js +47 -0
  327. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.d.ts +43 -0
  328. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.js +77 -0
  329. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.d.ts +46 -0
  330. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.js +54 -0
  331. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.d.ts +42 -0
  332. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.js +68 -0
  333. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.d.ts +42 -0
  334. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js +80 -0
  335. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.d.ts +43 -0
  336. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.js +73 -0
  337. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.d.ts +42 -0
  338. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.js +76 -0
  339. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.d.ts +42 -0
  340. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.js +303 -0
  341. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.d.ts +42 -0
  342. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.js +66 -0
  343. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.d.ts +112 -0
  344. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.js +262 -0
  345. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.d.ts +43 -0
  346. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.js +82 -0
  347. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.d.ts +45 -0
  348. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.js +109 -0
  349. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.d.ts +29 -0
  350. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.js +22 -0
  351. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.d.ts +31 -0
  352. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.js +189 -0
  353. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.d.ts +30 -0
  354. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.js +123 -0
  355. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.d.ts +30 -0
  356. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.js +66 -0
  357. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.d.ts +33 -0
  358. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.js +37 -0
  359. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.d.ts +37 -0
  360. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.js +58 -0
  361. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.d.ts +39 -0
  362. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.js +47 -0
  363. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.d.ts +56 -0
  364. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.js +228 -0
  365. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.d.ts +104 -0
  366. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.js +337 -0
  367. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.d.ts +27 -0
  368. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.js +39 -0
  369. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.d.ts +27 -0
  370. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.js +38 -0
  371. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.d.ts +4 -0
  372. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.js +212 -0
  373. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.d.ts +45 -0
  374. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.js +100 -0
  375. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.d.ts +43 -0
  376. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.js +44 -0
  377. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.d.ts +306 -0
  378. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.js +884 -0
  379. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.d.ts +450 -0
  380. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.js +2485 -0
  381. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.d.ts +42 -0
  382. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.js +79 -0
  383. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.d.ts +165 -0
  384. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.js +1 -0
  385. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.d.ts +25 -0
  386. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.js +32 -0
  387. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.d.ts +262 -0
  388. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.js +1 -0
  389. package/node_modules/@babylonjs/loaders/glTF/2.0/index.d.ts +8 -0
  390. package/node_modules/@babylonjs/loaders/glTF/2.0/index.js +9 -0
  391. package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.d.ts +364 -0
  392. package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.js +1 -0
  393. package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.d.ts +674 -0
  394. package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.js +1034 -0
  395. package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.d.ts +705 -0
  396. package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.js +1126 -0
  397. package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.d.ts +553 -0
  398. package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.js +998 -0
  399. package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.d.ts +15 -0
  400. package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.js +17 -0
  401. package/node_modules/@babylonjs/loaders/glTF/glTFValidation.d.ts +35 -0
  402. package/node_modules/@babylonjs/loaders/glTF/glTFValidation.js +131 -0
  403. package/node_modules/@babylonjs/loaders/glTF/index.d.ts +5 -0
  404. package/node_modules/@babylonjs/loaders/glTF/index.js +6 -0
  405. package/node_modules/@babylonjs/loaders/index.d.ts +6 -0
  406. package/node_modules/@babylonjs/loaders/index.js +7 -0
  407. package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.d.ts +1 -0
  408. package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.js +15 -0
  409. package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.d.ts +1 -0
  410. package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.js +13 -0
  411. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.d.ts +2 -0
  412. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.js +18 -0
  413. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.d.ts +2 -0
  414. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.js +15 -0
  415. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.d.ts +2 -0
  416. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.js +3 -0
  417. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.d.ts +2 -0
  418. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.js +34 -0
  419. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.d.ts +2 -0
  420. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.js +3 -0
  421. package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.d.ts +3 -0
  422. package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.js +4 -0
  423. package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.d.ts +1 -0
  424. package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.js +15 -0
  425. package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.d.ts +1 -0
  426. package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.js +15 -0
  427. package/node_modules/@babylonjs/loaders/legacy/legacy.d.ts +8 -0
  428. package/node_modules/@babylonjs/loaders/legacy/legacy.js +10 -0
  429. package/node_modules/@babylonjs/loaders/license.md +71 -0
  430. package/node_modules/@babylonjs/loaders/package.json +49 -0
  431. package/node_modules/@babylonjs/loaders/readme.md +23 -0
  432. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts +22 -0
  433. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts.map +1 -0
  434. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js +187 -0
  435. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js.map +1 -0
  436. package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts +3 -0
  437. package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts.map +1 -1
  438. package/node_modules/@fps-games/babylon-renderer/dist/index.js +3 -0
  439. package/node_modules/@fps-games/babylon-renderer/dist/index.js.map +1 -1
  440. package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts +19 -0
  441. package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts.map +1 -0
  442. package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js +212 -0
  443. package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js.map +1 -0
  444. package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts +17 -2
  445. package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts.map +1 -1
  446. package/node_modules/@fps-games/babylon-renderer/dist/plugin.js +192 -17
  447. package/node_modules/@fps-games/babylon-renderer/dist/plugin.js.map +1 -1
  448. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +2 -0
  449. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -1
  450. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +139 -3
  451. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -1
  452. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts +4 -0
  453. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts.map +1 -1
  454. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js.map +1 -1
  455. package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts +1 -0
  456. package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts.map +1 -1
  457. package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js +1 -0
  458. package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js.map +1 -1
  459. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts +14 -0
  460. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts.map +1 -0
  461. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js +14 -0
  462. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js.map +1 -0
  463. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts +59 -0
  464. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts.map +1 -0
  465. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js +725 -0
  466. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js.map +1 -0
  467. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts +136 -0
  468. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts.map +1 -0
  469. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js +2735 -0
  470. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js.map +1 -0
  471. package/node_modules/@fps-games/babylon-renderer/package.json +7 -7
  472. package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js +1 -1
  473. package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js.map +1 -1
  474. package/node_modules/@fps-games/editor-babylon/dist/index.d.ts +2 -1
  475. package/node_modules/@fps-games/editor-babylon/dist/index.d.ts.map +1 -1
  476. package/node_modules/@fps-games/editor-babylon/dist/index.js +2 -1
  477. package/node_modules/@fps-games/editor-babylon/dist/index.js.map +1 -1
  478. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts +2 -0
  479. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts.map +1 -1
  480. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js +59 -6
  481. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js.map +1 -1
  482. package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.d.ts.map +1 -1
  483. package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js +81 -11
  484. package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js.map +1 -1
  485. package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js +2 -8
  486. package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js.map +1 -1
  487. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +17 -5
  488. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
  489. package/node_modules/@fps-games/editor-babylon/dist/projection.js +300 -362
  490. package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
  491. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts +4 -0
  492. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts.map +1 -1
  493. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js +76 -10
  494. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js.map +1 -1
  495. package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts +46 -0
  496. package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts.map +1 -0
  497. package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js +304 -0
  498. package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js.map +1 -0
  499. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts +85 -0
  500. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts.map +1 -0
  501. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js +1600 -0
  502. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js.map +1 -0
  503. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts +11 -3
  504. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts.map +1 -1
  505. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js +105 -15
  506. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js.map +1 -1
  507. package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts +25 -0
  508. package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts.map +1 -0
  509. package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js +44 -0
  510. package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js.map +1 -0
  511. package/node_modules/@fps-games/editor-babylon/package.json +6 -5
  512. package/node_modules/@fps-games/editor-browser/dist/index.d.ts +8 -9
  513. package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
  514. package/node_modules/@fps-games/editor-browser/dist/index.js +6 -7
  515. package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
  516. package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts +2 -0
  517. package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts.map +1 -0
  518. package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js +36 -0
  519. package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js.map +1 -0
  520. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts +2 -0
  521. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts.map +1 -1
  522. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js +17 -0
  523. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js.map +1 -1
  524. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts +1 -1
  525. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts.map +1 -1
  526. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js +6 -0
  527. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js.map +1 -1
  528. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.d.ts.map +1 -1
  529. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js +157 -77
  530. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js.map +1 -1
  531. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts.map +1 -1
  532. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js +27 -21
  533. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js.map +1 -1
  534. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts +19 -0
  535. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts.map +1 -0
  536. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js +44 -0
  537. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js.map +1 -0
  538. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts +36 -5
  539. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
  540. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +831 -702
  541. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
  542. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts +8 -7
  543. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts.map +1 -1
  544. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js +1 -7
  545. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js.map +1 -1
  546. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.d.ts +7 -0
  547. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.d.ts.map +1 -0
  548. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.js +20 -0
  549. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.js.map +1 -0
  550. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +6 -7
  551. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
  552. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +266 -114
  553. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
  554. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts +1 -1
  555. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts.map +1 -1
  556. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js +11 -0
  557. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js.map +1 -1
  558. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.d.ts +3 -0
  559. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.d.ts.map +1 -1
  560. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js +58 -25
  561. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js.map +1 -1
  562. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts +14 -0
  563. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts.map +1 -1
  564. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js +44 -62
  565. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js.map +1 -1
  566. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +10 -7
  567. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
  568. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +591 -639
  569. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
  570. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts +8 -36
  571. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts.map +1 -1
  572. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js +25 -103
  573. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js.map +1 -1
  574. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts.map +1 -1
  575. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js +29 -110
  576. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js.map +1 -1
  577. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts +1 -3
  578. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts.map +1 -1
  579. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js +6 -90
  580. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js.map +1 -1
  581. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.d.ts.map +1 -1
  582. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js +9 -54
  583. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js.map +1 -1
  584. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts +39 -0
  585. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts.map +1 -0
  586. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js +74 -0
  587. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js.map +1 -0
  588. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.d.ts +4 -0
  589. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.d.ts.map +1 -0
  590. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.js +44 -0
  591. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.js.map +1 -0
  592. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts.map +1 -1
  593. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js +35 -44
  594. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js.map +1 -1
  595. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.d.ts.map +1 -1
  596. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.js +40 -24
  597. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.js.map +1 -1
  598. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.d.ts.map +1 -1
  599. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js +2 -20
  600. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js.map +1 -1
  601. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +56 -301
  602. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
  603. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.js.map +1 -1
  604. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts +4 -14
  605. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts.map +1 -1
  606. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js +33 -119
  607. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js.map +1 -1
  608. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +5 -10
  609. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
  610. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +760 -524
  611. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
  612. package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts +2 -3
  613. package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts.map +1 -1
  614. package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js +0 -180
  615. package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js.map +1 -1
  616. package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts +5 -0
  617. package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts.map +1 -0
  618. package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js +5 -0
  619. package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js.map +1 -0
  620. package/node_modules/@fps-games/editor-browser/package.json +15 -4
  621. package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts +22 -0
  622. package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts.map +1 -0
  623. package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js +226 -0
  624. package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js.map +1 -0
  625. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts +6 -1
  626. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts.map +1 -1
  627. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js +94 -2
  628. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js.map +1 -1
  629. package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts +26 -1
  630. package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts.map +1 -1
  631. package/node_modules/@fps-games/editor-core/dist/editor-session.js +77 -8
  632. package/node_modules/@fps-games/editor-core/dist/editor-session.js.map +1 -1
  633. package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts +112 -0
  634. package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts.map +1 -0
  635. package/node_modules/@fps-games/editor-core/dist/editor-tools.js +613 -0
  636. package/node_modules/@fps-games/editor-core/dist/editor-tools.js.map +1 -0
  637. package/node_modules/@fps-games/editor-core/dist/inspector.d.ts +46 -0
  638. package/node_modules/@fps-games/editor-core/dist/inspector.d.ts.map +1 -1
  639. package/node_modules/@fps-games/editor-core/dist/inspector.js +62 -0
  640. package/node_modules/@fps-games/editor-core/dist/inspector.js.map +1 -1
  641. package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts +1 -0
  642. package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts.map +1 -1
  643. package/node_modules/@fps-games/editor-core/dist/scene-graph.js.map +1 -1
  644. package/node_modules/@fps-games/editor-core/package.json +14 -6
  645. package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
  646. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js +14 -3
  647. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js.map +1 -1
  648. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts +1 -1
  649. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts.map +1 -1
  650. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js +1 -1
  651. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js.map +1 -1
  652. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts +14 -0
  653. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts.map +1 -1
  654. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js +49 -1
  655. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js.map +1 -1
  656. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js +58 -2
  657. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js.map +1 -1
  658. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts.map +1 -1
  659. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +48 -6
  660. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js.map +1 -1
  661. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +28 -3
  662. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -1
  663. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +314 -6
  664. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -1
  665. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts +2 -0
  666. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts.map +1 -1
  667. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js +2 -0
  668. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js.map +1 -1
  669. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts +11 -0
  670. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts.map +1 -0
  671. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js +27 -0
  672. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js.map +1 -0
  673. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts +5 -0
  674. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts.map +1 -0
  675. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js +285 -0
  676. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js.map +1 -0
  677. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +7 -3
  678. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -1
  679. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js.map +1 -1
  680. package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +3 -0
  681. package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -1
  682. package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +6 -0
  683. package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -1
  684. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -1
  685. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +23 -81
  686. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -1
  687. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts +41 -0
  688. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts.map +1 -0
  689. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js +93 -0
  690. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js.map +1 -0
  691. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts +29 -0
  692. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts.map +1 -0
  693. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js +77 -0
  694. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js.map +1 -0
  695. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts +51 -0
  696. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts.map +1 -0
  697. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js +105 -0
  698. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js.map +1 -0
  699. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts +60 -0
  700. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts.map +1 -0
  701. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js +287 -0
  702. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js.map +1 -0
  703. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +6 -1
  704. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -1
  705. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -1
  706. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +1 -0
  707. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -1
  708. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +53 -17
  709. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -1
  710. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +16 -8
  711. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -1
  712. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +10 -6
  713. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -1
  714. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +5 -3
  715. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -1
  716. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +2 -1
  717. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -1
  718. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -1
  719. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +134 -66
  720. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -1
  721. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts +11 -0
  722. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts.map +1 -1
  723. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js +21 -14
  724. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js.map +1 -1
  725. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +17 -9
  726. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -1
  727. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -1
  728. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -1
  729. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +20 -0
  730. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -1
  731. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -1
  732. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +49 -10
  733. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -1
  734. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +2 -2
  735. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -1
  736. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +18 -0
  737. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -1
  738. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts +7 -0
  739. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts.map +1 -1
  740. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js +130 -20
  741. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js.map +1 -1
  742. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts +1 -1
  743. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts.map +1 -1
  744. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js +12 -3
  745. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js.map +1 -1
  746. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts +11 -0
  747. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts.map +1 -0
  748. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js +136 -0
  749. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js.map +1 -0
  750. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts +1 -0
  751. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts.map +1 -1
  752. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js +1 -0
  753. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js.map +1 -1
  754. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts +36 -51
  755. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts.map +1 -1
  756. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js +40 -65
  757. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js.map +1 -1
  758. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts +5 -2
  759. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts.map +1 -1
  760. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js +207 -1
  761. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js.map +1 -1
  762. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts +1 -0
  763. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts.map +1 -1
  764. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js +3 -0
  765. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js.map +1 -1
  766. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts +18 -7
  767. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts.map +1 -1
  768. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js +110 -18
  769. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js.map +1 -1
  770. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts +5 -0
  771. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts.map +1 -1
  772. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js +6 -0
  773. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js.map +1 -1
  774. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts +5 -2
  775. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts.map +1 -1
  776. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js +22 -2
  777. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js.map +1 -1
  778. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -1
  779. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +144 -0
  780. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -1
  781. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +16 -0
  782. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -1
  783. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -1
  784. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -1
  785. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +1 -0
  786. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -1
  787. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +2 -1
  788. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -1
  789. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js.map +1 -1
  790. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts +2 -0
  791. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts.map +1 -1
  792. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js +241 -13
  793. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js.map +1 -1
  794. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts +1 -0
  795. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts.map +1 -1
  796. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js +1 -0
  797. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js.map +1 -1
  798. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts +31 -0
  799. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts.map +1 -0
  800. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js +170 -0
  801. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js.map +1 -0
  802. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts +153 -13
  803. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts.map +1 -1
  804. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.js.map +1 -1
  805. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts +17 -0
  806. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts.map +1 -1
  807. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js +1295 -3
  808. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js.map +1 -1
  809. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -1
  810. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +14 -0
  811. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -1
  812. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts.map +1 -1
  813. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js +57 -34
  814. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js.map +1 -1
  815. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -1
  816. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +4 -1
  817. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -1
  818. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +4 -0
  819. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -1
  820. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -1
  821. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.d.ts.map +1 -1
  822. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js +20 -198
  823. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js.map +1 -1
  824. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.d.ts.map +1 -1
  825. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js +5 -1
  826. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js.map +1 -1
  827. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts +5 -0
  828. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -1
  829. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +144 -8
  830. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -1
  831. package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts +1 -1
  832. package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts.map +1 -1
  833. package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js +30 -1
  834. package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js.map +1 -1
  835. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts +6 -0
  836. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts.map +1 -1
  837. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js.map +1 -1
  838. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +31 -3
  839. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -1
  840. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts +5 -2
  841. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts.map +1 -1
  842. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js +40 -4
  843. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js.map +1 -1
  844. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.d.ts.map +1 -1
  845. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js +116 -3
  846. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js.map +1 -1
  847. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts +2 -1
  848. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts.map +1 -1
  849. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js +1 -0
  850. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js.map +1 -1
  851. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts +17 -1
  852. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts.map +1 -1
  853. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js +50 -2
  854. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js.map +1 -1
  855. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts.map +1 -1
  856. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js +7 -5
  857. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js.map +1 -1
  858. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts +5 -6
  859. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts.map +1 -1
  860. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js +31 -17
  861. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js.map +1 -1
  862. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts +6 -0
  863. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts.map +1 -1
  864. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.js.map +1 -1
  865. package/node_modules/@fps-games/editor-playable-sdk/package.json +6 -6
  866. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts +417 -2
  867. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts.map +1 -1
  868. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js +692 -2
  869. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js.map +1 -1
  870. package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts +55 -0
  871. package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts.map +1 -0
  872. package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js +2 -0
  873. package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js.map +1 -0
  874. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +3 -18
  875. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
  876. package/node_modules/@fps-games/editor-protocol/dist/index.js +1 -0
  877. package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
  878. package/node_modules/@fps-games/editor-protocol/package.json +2 -2
  879. package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.d.ts.map +1 -1
  880. package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js +5 -0
  881. package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js.map +1 -1
  882. package/node_modules/@fps-games/editor-tooling/dist/vite.d.ts.map +1 -1
  883. package/node_modules/@fps-games/editor-tooling/dist/vite.js +151 -5
  884. package/node_modules/@fps-games/editor-tooling/dist/vite.js.map +1 -1
  885. package/node_modules/@fps-games/editor-tooling/package.json +3 -3
  886. package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts +107 -0
  887. package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts.map +1 -0
  888. package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js +770 -0
  889. package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js.map +1 -0
  890. package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts +21 -0
  891. package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts.map +1 -0
  892. package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js +172 -0
  893. package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js.map +1 -0
  894. package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts +14 -0
  895. package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts.map +1 -0
  896. package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js +32 -0
  897. package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js.map +1 -0
  898. package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts +3 -0
  899. package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts.map +1 -0
  900. package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js +653 -0
  901. package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js.map +1 -0
  902. package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts +3 -0
  903. package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts.map +1 -0
  904. package/node_modules/@fps-games/editor-ui/dist/gallery.js +3 -0
  905. package/node_modules/@fps-games/editor-ui/dist/gallery.js.map +1 -0
  906. package/node_modules/@fps-games/editor-ui/dist/index.d.ts +5 -0
  907. package/node_modules/@fps-games/editor-ui/dist/index.d.ts.map +1 -0
  908. package/node_modules/@fps-games/editor-ui/dist/index.js +5 -0
  909. package/node_modules/@fps-games/editor-ui/dist/index.js.map +1 -0
  910. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts +7 -0
  911. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts.map +1 -0
  912. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js +29 -0
  913. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js.map +1 -0
  914. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts +2 -0
  915. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts.map +1 -0
  916. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js +95 -0
  917. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js.map +1 -0
  918. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts +28 -0
  919. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts.map +1 -0
  920. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js +387 -0
  921. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js.map +1 -0
  922. package/node_modules/@fps-games/editor-ui/package.json +23 -0
  923. package/node_modules/@fps-games/playable-assets/package.json +1 -1
  924. package/node_modules/@fps-games/playable-contracts/dist/index.d.ts +1 -0
  925. package/node_modules/@fps-games/playable-contracts/dist/index.d.ts.map +1 -1
  926. package/node_modules/@fps-games/playable-contracts/dist/index.js +1 -0
  927. package/node_modules/@fps-games/playable-contracts/dist/index.js.map +1 -1
  928. package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts +116 -0
  929. package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts.map +1 -0
  930. package/node_modules/@fps-games/playable-contracts/dist/material-owner.js +403 -0
  931. package/node_modules/@fps-games/playable-contracts/dist/material-owner.js.map +1 -0
  932. package/node_modules/@fps-games/playable-contracts/package.json +1 -1
  933. package/node_modules/@fps-games/playable-rendering/dist/index.d.ts +3 -0
  934. package/node_modules/@fps-games/playable-rendering/dist/index.d.ts.map +1 -1
  935. package/node_modules/@fps-games/playable-rendering/dist/index.js +3 -0
  936. package/node_modules/@fps-games/playable-rendering/dist/index.js.map +1 -1
  937. package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js +5 -25
  938. package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js.map +1 -1
  939. package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts +3 -0
  940. package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts.map +1 -1
  941. package/node_modules/@fps-games/playable-rendering/dist/runtime.js +3 -0
  942. package/node_modules/@fps-games/playable-rendering/dist/runtime.js.map +1 -1
  943. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts +61 -0
  944. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts.map +1 -0
  945. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js +176 -0
  946. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js.map +1 -0
  947. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts +84 -0
  948. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts.map +1 -0
  949. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js +362 -0
  950. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js.map +1 -0
  951. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts +167 -0
  952. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts.map +1 -0
  953. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js +484 -0
  954. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js.map +1 -0
  955. package/node_modules/@fps-games/playable-rendering/package.json +2 -2
  956. package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts +5 -0
  957. package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts.map +1 -1
  958. package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js +1 -0
  959. package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js.map +1 -1
  960. package/node_modules/@fps-games/playable-runtime/package.json +12 -12
  961. package/node_modules/@fps-games/playable-runtime-data/package.json +4 -4
  962. package/node_modules/@fps-games/playable-scene/package.json +2 -2
  963. package/node_modules/@fps-games/plugin-api/package.json +1 -1
  964. package/node_modules/@fps-games/plugin-assets/dist/version.d.ts +1 -1
  965. package/node_modules/@fps-games/plugin-assets/dist/version.js +1 -1
  966. package/node_modules/@fps-games/plugin-assets/dist/version.js.map +1 -1
  967. package/node_modules/@fps-games/plugin-assets/package.json +5 -5
  968. package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts +6 -0
  969. package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts.map +1 -0
  970. package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js +16 -0
  971. package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js.map +1 -0
  972. package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts +7 -0
  973. package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts.map +1 -0
  974. package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js +47 -0
  975. package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js.map +1 -0
  976. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts +306 -0
  977. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts.map +1 -0
  978. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js +1237 -0
  979. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js.map +1 -0
  980. package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts +8 -0
  981. package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts.map +1 -0
  982. package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js +32 -0
  983. package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js.map +1 -0
  984. package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts +2 -0
  985. package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts.map +1 -0
  986. package/node_modules/@fps-games/plugin-hierarchy/dist/version.js +2 -0
  987. package/node_modules/@fps-games/plugin-hierarchy/dist/version.js.map +1 -0
  988. package/node_modules/@fps-games/plugin-hierarchy/package.json +57 -0
  989. package/node_modules/@fps-games/plugin-host/package.json +2 -2
  990. package/node_modules/@fps-games/plugin-markers/dist/version.d.ts +1 -1
  991. package/node_modules/@fps-games/plugin-markers/dist/version.js +1 -1
  992. package/node_modules/@fps-games/plugin-markers/dist/version.js.map +1 -1
  993. package/node_modules/@fps-games/plugin-markers/package.json +5 -5
  994. package/node_modules/@fps-games/plugin-materials/dist/version.d.ts +1 -1
  995. package/node_modules/@fps-games/plugin-materials/dist/version.js +1 -1
  996. package/node_modules/@fps-games/plugin-materials/dist/version.js.map +1 -1
  997. package/node_modules/@fps-games/plugin-materials/package.json +5 -5
  998. package/node_modules/@fps-games/plugin-rendering/dist/version.d.ts +1 -1
  999. package/node_modules/@fps-games/plugin-rendering/dist/version.js +1 -1
  1000. package/node_modules/@fps-games/plugin-rendering/dist/version.js.map +1 -1
  1001. package/node_modules/@fps-games/plugin-rendering/package.json +5 -5
  1002. package/node_modules/@fps-games/plugin-scene/dist/version.d.ts +1 -1
  1003. package/node_modules/@fps-games/plugin-scene/dist/version.js +1 -1
  1004. package/node_modules/@fps-games/plugin-scene/dist/version.js.map +1 -1
  1005. package/node_modules/@fps-games/plugin-scene/package.json +5 -5
  1006. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts +8 -0
  1007. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts.map +1 -0
  1008. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js +35 -0
  1009. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js.map +1 -0
  1010. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts +11 -0
  1011. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts.map +1 -0
  1012. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js +14 -0
  1013. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js.map +1 -0
  1014. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts +2 -0
  1015. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts.map +1 -0
  1016. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js +2 -0
  1017. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js.map +1 -0
  1018. package/node_modules/@fps-games/plugin-shadow-map-experiment/package.json +53 -0
  1019. package/node_modules/@fps-games/plugin-shadows/dist/version.d.ts +1 -1
  1020. package/node_modules/@fps-games/plugin-shadows/dist/version.js +1 -1
  1021. package/node_modules/@fps-games/plugin-shadows/dist/version.js.map +1 -1
  1022. package/node_modules/@fps-games/plugin-shadows/package.json +7 -7
  1023. package/node_modules/@playcanvas/observer/LICENSE +19 -0
  1024. package/node_modules/@playcanvas/observer/README.md +72 -0
  1025. package/node_modules/@playcanvas/observer/dist/index.cjs +2033 -0
  1026. package/node_modules/@playcanvas/observer/dist/index.js +2039 -0
  1027. package/node_modules/@playcanvas/observer/dist/index.mjs +2026 -0
  1028. package/node_modules/@playcanvas/observer/package.json +78 -0
  1029. package/node_modules/@playcanvas/observer/types/event-handle.d.ts +41 -0
  1030. package/node_modules/@playcanvas/observer/types/events.d.ts +162 -0
  1031. package/node_modules/@playcanvas/observer/types/history.d.ts +123 -0
  1032. package/node_modules/@playcanvas/observer/types/index.d.ts +15 -0
  1033. package/node_modules/@playcanvas/observer/types/observer-history.d.ts +32 -0
  1034. package/node_modules/@playcanvas/observer/types/observer-list.d.ts +39 -0
  1035. package/node_modules/@playcanvas/observer/types/observer.d.ts +157 -0
  1036. package/node_modules/@playcanvas/observer/types/utils.d.ts +33 -0
  1037. package/node_modules/@playcanvas/pcui/LICENSE +19 -0
  1038. package/node_modules/@playcanvas/pcui/README.md +164 -0
  1039. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
  1040. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
  1041. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
  1042. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
  1043. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
  1044. package/node_modules/@playcanvas/pcui/dist/module/src/Math/color-value.mjs +77 -0
  1045. package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingBase/index.mjs +215 -0
  1046. package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
  1047. package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
  1048. package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
  1049. package/node_modules/@playcanvas/pcui/dist/module/src/class.mjs +19 -0
  1050. package/node_modules/@playcanvas/pcui/dist/module/src/components/ArrayInput/index.mjs +498 -0
  1051. package/node_modules/@playcanvas/pcui/dist/module/src/components/BooleanInput/index.mjs +122 -0
  1052. package/node_modules/@playcanvas/pcui/dist/module/src/components/Button/index.mjs +119 -0
  1053. package/node_modules/@playcanvas/pcui/dist/module/src/components/Canvas/index.mjs +104 -0
  1054. package/node_modules/@playcanvas/pcui/dist/module/src/components/Code/index.mjs +43 -0
  1055. package/node_modules/@playcanvas/pcui/dist/module/src/components/ColorPicker/index.mjs +619 -0
  1056. package/node_modules/@playcanvas/pcui/dist/module/src/components/Container/index.mjs +642 -0
  1057. package/node_modules/@playcanvas/pcui/dist/module/src/components/Divider/index.mjs +20 -0
  1058. package/node_modules/@playcanvas/pcui/dist/module/src/components/Element/index.mjs +829 -0
  1059. package/node_modules/@playcanvas/pcui/dist/module/src/components/GradientPicker/index.mjs +1136 -0
  1060. package/node_modules/@playcanvas/pcui/dist/module/src/components/GridView/index.mjs +448 -0
  1061. package/node_modules/@playcanvas/pcui/dist/module/src/components/GridViewItem/index.mjs +152 -0
  1062. package/node_modules/@playcanvas/pcui/dist/module/src/components/InfoBox/index.mjs +90 -0
  1063. package/node_modules/@playcanvas/pcui/dist/module/src/components/InputElement/index.mjs +186 -0
  1064. package/node_modules/@playcanvas/pcui/dist/module/src/components/Label/index.mjs +124 -0
  1065. package/node_modules/@playcanvas/pcui/dist/module/src/components/LabelGroup/index.mjs +74 -0
  1066. package/node_modules/@playcanvas/pcui/dist/module/src/components/Menu/index.mjs +174 -0
  1067. package/node_modules/@playcanvas/pcui/dist/module/src/components/MenuItem/index.mjs +223 -0
  1068. package/node_modules/@playcanvas/pcui/dist/module/src/components/NumericInput/index.mjs +400 -0
  1069. package/node_modules/@playcanvas/pcui/dist/module/src/components/Overlay/index.mjs +108 -0
  1070. package/node_modules/@playcanvas/pcui/dist/module/src/components/Panel/index.mjs +400 -0
  1071. package/node_modules/@playcanvas/pcui/dist/module/src/components/Progress/index.mjs +45 -0
  1072. package/node_modules/@playcanvas/pcui/dist/module/src/components/RadioButton/index.mjs +113 -0
  1073. package/node_modules/@playcanvas/pcui/dist/module/src/components/SelectInput/index.mjs +1085 -0
  1074. package/node_modules/@playcanvas/pcui/dist/module/src/components/SliderInput/index.mjs +333 -0
  1075. package/node_modules/@playcanvas/pcui/dist/module/src/components/Spinner/index.mjs +34 -0
  1076. package/node_modules/@playcanvas/pcui/dist/module/src/components/TextAreaInput/index.mjs +50 -0
  1077. package/node_modules/@playcanvas/pcui/dist/module/src/components/TextInput/index.mjs +98 -0
  1078. package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeView/index.mjs +1131 -0
  1079. package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeViewItem/index.mjs +500 -0
  1080. package/node_modules/@playcanvas/pcui/dist/module/src/components/VectorInput/index.mjs +366 -0
  1081. package/node_modules/@playcanvas/pcui/dist/module/src/helpers/search.mjs +194 -0
  1082. package/node_modules/@playcanvas/pcui/dist/module/src/helpers/utils.mjs +43 -0
  1083. package/node_modules/@playcanvas/pcui/dist/module/src/index.mjs +56 -0
  1084. package/node_modules/@playcanvas/pcui/dist/pcui-theme-green.scss +2798 -0
  1085. package/node_modules/@playcanvas/pcui/dist/pcui-theme-grey.scss +2798 -0
  1086. package/node_modules/@playcanvas/pcui/package.json +150 -0
  1087. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
  1088. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
  1089. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
  1090. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
  1091. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
  1092. package/node_modules/@playcanvas/pcui/react/dist/module/src/Math/color-value.mjs +77 -0
  1093. package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingBase/index.mjs +215 -0
  1094. package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
  1095. package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
  1096. package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
  1097. package/node_modules/@playcanvas/pcui/react/dist/module/src/class.mjs +19 -0
  1098. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/component.mjs +11 -0
  1099. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/index.mjs +498 -0
  1100. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/component.mjs +11 -0
  1101. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/index.mjs +122 -0
  1102. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/component.mjs +16 -0
  1103. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/index.mjs +119 -0
  1104. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/component.mjs +16 -0
  1105. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/index.mjs +104 -0
  1106. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/component.mjs +11 -0
  1107. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/index.mjs +43 -0
  1108. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/component.mjs +16 -0
  1109. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/index.mjs +619 -0
  1110. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/component.mjs +36 -0
  1111. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/index.mjs +642 -0
  1112. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/component.mjs +11 -0
  1113. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/index.mjs +20 -0
  1114. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/component.mjs +107 -0
  1115. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/index.mjs +829 -0
  1116. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/component.mjs +16 -0
  1117. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/index.mjs +1136 -0
  1118. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/component.mjs +38 -0
  1119. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/index.mjs +448 -0
  1120. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/component.mjs +11 -0
  1121. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/index.mjs +152 -0
  1122. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/component.mjs +16 -0
  1123. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/index.mjs +90 -0
  1124. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InputElement/index.mjs +186 -0
  1125. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/component.mjs +16 -0
  1126. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/index.mjs +124 -0
  1127. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/component.mjs +42 -0
  1128. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/index.mjs +74 -0
  1129. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/component.mjs +23 -0
  1130. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/index.mjs +174 -0
  1131. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/MenuItem/index.mjs +223 -0
  1132. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/component.mjs +11 -0
  1133. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/index.mjs +400 -0
  1134. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/component.mjs +11 -0
  1135. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/index.mjs +108 -0
  1136. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/component.mjs +32 -0
  1137. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/index.mjs +400 -0
  1138. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/component.mjs +11 -0
  1139. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/index.mjs +45 -0
  1140. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/component.mjs +11 -0
  1141. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/index.mjs +113 -0
  1142. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/component.mjs +21 -0
  1143. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/index.mjs +1085 -0
  1144. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/component.mjs +12 -0
  1145. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/index.mjs +333 -0
  1146. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/component.mjs +16 -0
  1147. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/index.mjs +34 -0
  1148. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/component.mjs +11 -0
  1149. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/index.mjs +50 -0
  1150. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/component.mjs +23 -0
  1151. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/index.mjs +98 -0
  1152. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/component.mjs +52 -0
  1153. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/index.mjs +1131 -0
  1154. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/component.mjs +33 -0
  1155. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/index.mjs +500 -0
  1156. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/component.mjs +11 -0
  1157. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/index.mjs +366 -0
  1158. package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/search.mjs +194 -0
  1159. package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/utils.mjs +43 -0
  1160. package/node_modules/@playcanvas/pcui/react/dist/module/src/index.mjs +39 -0
  1161. package/node_modules/@playcanvas/pcui/react/package.json +18 -0
  1162. package/node_modules/@playcanvas/pcui/react/types/Math/color-value.d.ts +3 -0
  1163. package/node_modules/@playcanvas/pcui/react/types/binding/BindingBase/index.d.ts +178 -0
  1164. package/node_modules/@playcanvas/pcui/react/types/binding/BindingElementToObservers/index.d.ts +24 -0
  1165. package/node_modules/@playcanvas/pcui/react/types/binding/BindingObserversToElement/index.d.ts +40 -0
  1166. package/node_modules/@playcanvas/pcui/react/types/binding/BindingTwoWay/index.d.ts +54 -0
  1167. package/node_modules/@playcanvas/pcui/react/types/binding/index.d.ts +5 -0
  1168. package/node_modules/@playcanvas/pcui/react/types/class.d.ts +17 -0
  1169. package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/component.d.ts +9 -0
  1170. package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/index.d.ts +140 -0
  1171. package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/component.d.ts +9 -0
  1172. package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/index.d.ts +41 -0
  1173. package/node_modules/@playcanvas/pcui/react/types/components/Button/component.d.ts +11 -0
  1174. package/node_modules/@playcanvas/pcui/react/types/components/Button/index.d.ts +75 -0
  1175. package/node_modules/@playcanvas/pcui/react/types/components/Canvas/component.d.ts +11 -0
  1176. package/node_modules/@playcanvas/pcui/react/types/components/Canvas/index.d.ts +61 -0
  1177. package/node_modules/@playcanvas/pcui/react/types/components/Code/component.d.ts +9 -0
  1178. package/node_modules/@playcanvas/pcui/react/types/components/Code/index.d.ts +33 -0
  1179. package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/component.d.ts +11 -0
  1180. package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/index.d.ts +99 -0
  1181. package/node_modules/@playcanvas/pcui/react/types/components/Container/component.d.ts +15 -0
  1182. package/node_modules/@playcanvas/pcui/react/types/components/Container/index.d.ts +292 -0
  1183. package/node_modules/@playcanvas/pcui/react/types/components/Divider/component.d.ts +10 -0
  1184. package/node_modules/@playcanvas/pcui/react/types/components/Divider/index.d.ts +13 -0
  1185. package/node_modules/@playcanvas/pcui/react/types/components/Element/component.d.ts +23 -0
  1186. package/node_modules/@playcanvas/pcui/react/types/components/Element/index.d.ts +671 -0
  1187. package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/component.d.ts +11 -0
  1188. package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/index.d.ts +152 -0
  1189. package/node_modules/@playcanvas/pcui/react/types/components/GridView/component.d.ts +14 -0
  1190. package/node_modules/@playcanvas/pcui/react/types/components/GridView/index.d.ts +103 -0
  1191. package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/component.d.ts +9 -0
  1192. package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/index.d.ts +82 -0
  1193. package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/component.d.ts +11 -0
  1194. package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/index.d.ts +71 -0
  1195. package/node_modules/@playcanvas/pcui/react/types/components/InputElement/index.d.ts +84 -0
  1196. package/node_modules/@playcanvas/pcui/react/types/components/Label/component.d.ts +11 -0
  1197. package/node_modules/@playcanvas/pcui/react/types/components/Label/index.d.ts +85 -0
  1198. package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/component.d.ts +10 -0
  1199. package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/index.d.ts +62 -0
  1200. package/node_modules/@playcanvas/pcui/react/types/components/Menu/component.d.ts +14 -0
  1201. package/node_modules/@playcanvas/pcui/react/types/components/Menu/index.d.ts +70 -0
  1202. package/node_modules/@playcanvas/pcui/react/types/components/MenuItem/index.d.ts +139 -0
  1203. package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/component.d.ts +9 -0
  1204. package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/index.d.ts +173 -0
  1205. package/node_modules/@playcanvas/pcui/react/types/components/Overlay/component.d.ts +9 -0
  1206. package/node_modules/@playcanvas/pcui/react/types/components/Overlay/index.d.ts +53 -0
  1207. package/node_modules/@playcanvas/pcui/react/types/components/Panel/component.d.ts +16 -0
  1208. package/node_modules/@playcanvas/pcui/react/types/components/Panel/index.d.ts +178 -0
  1209. package/node_modules/@playcanvas/pcui/react/types/components/Progress/component.d.ts +9 -0
  1210. package/node_modules/@playcanvas/pcui/react/types/components/Progress/index.d.ts +33 -0
  1211. package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/component.d.ts +9 -0
  1212. package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/index.d.ts +33 -0
  1213. package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/component.d.ts +12 -0
  1214. package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/index.d.ts +278 -0
  1215. package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/component.d.ts +10 -0
  1216. package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/index.d.ts +133 -0
  1217. package/node_modules/@playcanvas/pcui/react/types/components/Spinner/component.d.ts +11 -0
  1218. package/node_modules/@playcanvas/pcui/react/types/components/Spinner/index.d.ts +27 -0
  1219. package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/component.d.ts +9 -0
  1220. package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/index.d.ts +24 -0
  1221. package/node_modules/@playcanvas/pcui/react/types/components/TextInput/component.d.ts +12 -0
  1222. package/node_modules/@playcanvas/pcui/react/types/components/TextInput/index.d.ts +40 -0
  1223. package/node_modules/@playcanvas/pcui/react/types/components/TreeView/component.d.ts +17 -0
  1224. package/node_modules/@playcanvas/pcui/react/types/components/TreeView/index.d.ts +359 -0
  1225. package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/component.d.ts +13 -0
  1226. package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/index.d.ts +224 -0
  1227. package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/component.d.ts +9 -0
  1228. package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/index.d.ts +176 -0
  1229. package/node_modules/@playcanvas/pcui/react/types/components/components.d.ts +30 -0
  1230. package/node_modules/@playcanvas/pcui/react/types/components/index.d.ts +32 -0
  1231. package/node_modules/@playcanvas/pcui/react/types/helpers/search.d.ts +31 -0
  1232. package/node_modules/@playcanvas/pcui/react/types/helpers/utils.d.ts +2 -0
  1233. package/node_modules/@playcanvas/pcui/react/types/index.d.ts +4 -0
  1234. package/node_modules/@playcanvas/pcui/styles/dist/index.mjs +11 -0
  1235. package/node_modules/@playcanvas/pcui/styles/package.json +17 -0
  1236. package/node_modules/@playcanvas/pcui/types/Math/color-value.d.ts +3 -0
  1237. package/node_modules/@playcanvas/pcui/types/binding/BindingBase/index.d.ts +178 -0
  1238. package/node_modules/@playcanvas/pcui/types/binding/BindingElementToObservers/index.d.ts +24 -0
  1239. package/node_modules/@playcanvas/pcui/types/binding/BindingObserversToElement/index.d.ts +40 -0
  1240. package/node_modules/@playcanvas/pcui/types/binding/BindingTwoWay/index.d.ts +54 -0
  1241. package/node_modules/@playcanvas/pcui/types/binding/index.d.ts +5 -0
  1242. package/node_modules/@playcanvas/pcui/types/class.d.ts +17 -0
  1243. package/node_modules/@playcanvas/pcui/types/components/ArrayInput/index.d.ts +140 -0
  1244. package/node_modules/@playcanvas/pcui/types/components/BooleanInput/index.d.ts +41 -0
  1245. package/node_modules/@playcanvas/pcui/types/components/Button/index.d.ts +75 -0
  1246. package/node_modules/@playcanvas/pcui/types/components/Canvas/index.d.ts +61 -0
  1247. package/node_modules/@playcanvas/pcui/types/components/Code/index.d.ts +33 -0
  1248. package/node_modules/@playcanvas/pcui/types/components/ColorPicker/index.d.ts +99 -0
  1249. package/node_modules/@playcanvas/pcui/types/components/Container/index.d.ts +292 -0
  1250. package/node_modules/@playcanvas/pcui/types/components/Divider/index.d.ts +13 -0
  1251. package/node_modules/@playcanvas/pcui/types/components/Element/index.d.ts +671 -0
  1252. package/node_modules/@playcanvas/pcui/types/components/GradientPicker/index.d.ts +152 -0
  1253. package/node_modules/@playcanvas/pcui/types/components/GridView/index.d.ts +103 -0
  1254. package/node_modules/@playcanvas/pcui/types/components/GridViewItem/index.d.ts +82 -0
  1255. package/node_modules/@playcanvas/pcui/types/components/InfoBox/index.d.ts +71 -0
  1256. package/node_modules/@playcanvas/pcui/types/components/InputElement/index.d.ts +84 -0
  1257. package/node_modules/@playcanvas/pcui/types/components/Label/index.d.ts +85 -0
  1258. package/node_modules/@playcanvas/pcui/types/components/LabelGroup/index.d.ts +62 -0
  1259. package/node_modules/@playcanvas/pcui/types/components/Menu/index.d.ts +70 -0
  1260. package/node_modules/@playcanvas/pcui/types/components/MenuItem/index.d.ts +139 -0
  1261. package/node_modules/@playcanvas/pcui/types/components/NumericInput/index.d.ts +173 -0
  1262. package/node_modules/@playcanvas/pcui/types/components/Overlay/index.d.ts +53 -0
  1263. package/node_modules/@playcanvas/pcui/types/components/Panel/index.d.ts +178 -0
  1264. package/node_modules/@playcanvas/pcui/types/components/Progress/index.d.ts +33 -0
  1265. package/node_modules/@playcanvas/pcui/types/components/RadioButton/index.d.ts +33 -0
  1266. package/node_modules/@playcanvas/pcui/types/components/SelectInput/index.d.ts +278 -0
  1267. package/node_modules/@playcanvas/pcui/types/components/SliderInput/index.d.ts +133 -0
  1268. package/node_modules/@playcanvas/pcui/types/components/Spinner/index.d.ts +27 -0
  1269. package/node_modules/@playcanvas/pcui/types/components/TextAreaInput/index.d.ts +24 -0
  1270. package/node_modules/@playcanvas/pcui/types/components/TextInput/index.d.ts +40 -0
  1271. package/node_modules/@playcanvas/pcui/types/components/TreeView/index.d.ts +359 -0
  1272. package/node_modules/@playcanvas/pcui/types/components/TreeViewItem/index.d.ts +224 -0
  1273. package/node_modules/@playcanvas/pcui/types/components/VectorInput/index.d.ts +176 -0
  1274. package/node_modules/@playcanvas/pcui/types/components/index.d.ts +32 -0
  1275. package/node_modules/@playcanvas/pcui/types/helpers/search.d.ts +31 -0
  1276. package/node_modules/@playcanvas/pcui/types/helpers/utils.d.ts +2 -0
  1277. package/node_modules/@playcanvas/pcui/types/index.d.ts +20 -0
  1278. package/node_modules/babylonjs-gltf2interface/babylon.glTF2Interface.d.ts +1655 -0
  1279. package/node_modules/babylonjs-gltf2interface/license.md +71 -0
  1280. package/node_modules/babylonjs-gltf2interface/package.json +26 -0
  1281. package/package.json +31 -19
  1282. package/dist/editor-plugin-hierarchy-command.d.ts +0 -19
  1283. package/dist/editor-plugin-hierarchy-command.d.ts.map +0 -1
  1284. package/dist/editor-plugin-hierarchy-command.js +0 -119
  1285. package/dist/editor-plugin-hierarchy-command.js.map +0 -1
  1286. package/node_modules/@babel/helper-string-parser/lib/index.js.map +0 -1
  1287. package/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
  1288. package/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
  1289. package/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
  1290. package/node_modules/@babel/parser/lib/index.js.map +0 -1
  1291. package/node_modules/@babel/types/lib/asserts/assertNode.js.map +0 -1
  1292. package/node_modules/@babel/types/lib/asserts/generated/index.js.map +0 -1
  1293. package/node_modules/@babel/types/lib/ast-types/generated/index.js.map +0 -1
  1294. package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +0 -1
  1295. package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +0 -1
  1296. package/node_modules/@babel/types/lib/builders/generated/index.js.map +0 -1
  1297. package/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +0 -1
  1298. package/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +0 -1
  1299. package/node_modules/@babel/types/lib/builders/productions.js.map +0 -1
  1300. package/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +0 -1
  1301. package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +0 -1
  1302. package/node_modules/@babel/types/lib/builders/validateNode.js.map +0 -1
  1303. package/node_modules/@babel/types/lib/clone/clone.js.map +0 -1
  1304. package/node_modules/@babel/types/lib/clone/cloneDeep.js.map +0 -1
  1305. package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +0 -1
  1306. package/node_modules/@babel/types/lib/clone/cloneNode.js.map +0 -1
  1307. package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +0 -1
  1308. package/node_modules/@babel/types/lib/comments/addComment.js.map +0 -1
  1309. package/node_modules/@babel/types/lib/comments/addComments.js.map +0 -1
  1310. package/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +0 -1
  1311. package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +0 -1
  1312. package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +0 -1
  1313. package/node_modules/@babel/types/lib/comments/inheritsComments.js.map +0 -1
  1314. package/node_modules/@babel/types/lib/comments/removeComments.js.map +0 -1
  1315. package/node_modules/@babel/types/lib/constants/generated/index.js.map +0 -1
  1316. package/node_modules/@babel/types/lib/constants/index.js.map +0 -1
  1317. package/node_modules/@babel/types/lib/converters/ensureBlock.js.map +0 -1
  1318. package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +0 -1
  1319. package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +0 -1
  1320. package/node_modules/@babel/types/lib/converters/toBlock.js.map +0 -1
  1321. package/node_modules/@babel/types/lib/converters/toComputedKey.js.map +0 -1
  1322. package/node_modules/@babel/types/lib/converters/toExpression.js.map +0 -1
  1323. package/node_modules/@babel/types/lib/converters/toIdentifier.js.map +0 -1
  1324. package/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +0 -1
  1325. package/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +0 -1
  1326. package/node_modules/@babel/types/lib/converters/toStatement.js.map +0 -1
  1327. package/node_modules/@babel/types/lib/converters/valueToNode.js.map +0 -1
  1328. package/node_modules/@babel/types/lib/definitions/core.js.map +0 -1
  1329. package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +0 -1
  1330. package/node_modules/@babel/types/lib/definitions/experimental.js.map +0 -1
  1331. package/node_modules/@babel/types/lib/definitions/flow.js.map +0 -1
  1332. package/node_modules/@babel/types/lib/definitions/index.js.map +0 -1
  1333. package/node_modules/@babel/types/lib/definitions/jsx.js.map +0 -1
  1334. package/node_modules/@babel/types/lib/definitions/misc.js.map +0 -1
  1335. package/node_modules/@babel/types/lib/definitions/placeholders.js.map +0 -1
  1336. package/node_modules/@babel/types/lib/definitions/typescript.js.map +0 -1
  1337. package/node_modules/@babel/types/lib/definitions/utils.js.map +0 -1
  1338. package/node_modules/@babel/types/lib/index.js.map +0 -1
  1339. package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +0 -1
  1340. package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +0 -1
  1341. package/node_modules/@babel/types/lib/modifications/inherits.js.map +0 -1
  1342. package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +0 -1
  1343. package/node_modules/@babel/types/lib/modifications/removeProperties.js.map +0 -1
  1344. package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +0 -1
  1345. package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +0 -1
  1346. package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map +0 -1
  1347. package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +0 -1
  1348. package/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map +0 -1
  1349. package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +0 -1
  1350. package/node_modules/@babel/types/lib/traverse/traverse.js.map +0 -1
  1351. package/node_modules/@babel/types/lib/traverse/traverseFast.js.map +0 -1
  1352. package/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +0 -1
  1353. package/node_modules/@babel/types/lib/utils/inherit.js.map +0 -1
  1354. package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +0 -1
  1355. package/node_modules/@babel/types/lib/utils/shallowEqual.js.map +0 -1
  1356. package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +0 -1
  1357. package/node_modules/@babel/types/lib/validators/generated/index.js.map +0 -1
  1358. package/node_modules/@babel/types/lib/validators/is.js.map +0 -1
  1359. package/node_modules/@babel/types/lib/validators/isBinding.js.map +0 -1
  1360. package/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +0 -1
  1361. package/node_modules/@babel/types/lib/validators/isImmutable.js.map +0 -1
  1362. package/node_modules/@babel/types/lib/validators/isLet.js.map +0 -1
  1363. package/node_modules/@babel/types/lib/validators/isNode.js.map +0 -1
  1364. package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +0 -1
  1365. package/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +0 -1
  1366. package/node_modules/@babel/types/lib/validators/isReferenced.js.map +0 -1
  1367. package/node_modules/@babel/types/lib/validators/isScope.js.map +0 -1
  1368. package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +0 -1
  1369. package/node_modules/@babel/types/lib/validators/isType.js.map +0 -1
  1370. package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +0 -1
  1371. package/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +0 -1
  1372. package/node_modules/@babel/types/lib/validators/isVar.js.map +0 -1
  1373. package/node_modules/@babel/types/lib/validators/matchesPattern.js.map +0 -1
  1374. package/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +0 -1
  1375. package/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +0 -1
  1376. package/node_modules/@babel/types/lib/validators/validate.js.map +0 -1
  1377. package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts +0 -37
  1378. package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts.map +0 -1
  1379. package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js +0 -451
  1380. package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js.map +0 -1
  1381. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts +0 -49
  1382. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +0 -1
  1383. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +0 -627
  1384. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +0 -1
  1385. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts +0 -52
  1386. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts.map +0 -1
  1387. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js +0 -450
  1388. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js.map +0 -1
  1389. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts +0 -21
  1390. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts.map +0 -1
  1391. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js +0 -75
  1392. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js.map +0 -1
  1393. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts +0 -5
  1394. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts.map +0 -1
  1395. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js +0 -92
  1396. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js.map +0 -1
  1397. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts +0 -63
  1398. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +0 -1
  1399. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js +0 -285
  1400. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editor-tools.js","sourceRoot":"","sources":["../src/editor-tools.ts"],"names":[],"mappings":"AAsIA,MAAM,OAAO,GAA2B,MAAM,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;AAE5E,MAAM,UAAU,wBAAwB;IACtC,MAAM,aAAa,GAAG,IAAI,GAAG,EAAkC,CAAC;IAChE,MAAM,SAAS,GAAG,IAAI,GAAG,EAAkD,CAAC;IAC5E,IAAI,QAAQ,GAAG,CAAC,CAAC;IACjB,MAAM,QAAQ,G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AAE,CAAC,CAAC;IAC1E,CAAC;IACD,OAAO,UAAU,CAAC;AACpB,CAAC;AAED,SAAS,cAAc,CAAC,KAAa,EAAE,KAAa;IAClD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE;QAAE,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,8BAA8B,CAAC,CAAC;IACxG,OAAO,KAAK,CAAC,IAAI,EAAE,CAAC;AACtB,CAAC;AAED,SAAS,oBAAoB,CAAC,OAAe,EAAE,MAA0B;IACvE,MAAM,SAAS,GAAG,IAAI,KAAK,CAAC,OAAO,CAA2C,CAAC;IAC/E,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC;IAC9C,OAAO,SAAS,CAAC;AACnB,CAAC","sourcesContent":["import type { FpsDisposer } from '@fps-games/plugin-api';\n\nexport type EditorCapabilityId = string;\n\nexport type CapabilityAvailability =\n | Readonly<{ state: 'enabled' }>\n | Readonly<{ state: 'disabled'; reason: string }>\n | Readonly<{ state: 'hidden'; reason: string }>;\n\nexport interface EditorContextActionPresentation {\n readonly id: string;\n readonly label: string;\n readonly icon: string;\n readonly order: number;\n readonly shortcut?: string;\n readonly availability: CapabilityAvailability;\n readonly danger?: boolean;\n}\n\nexport interface EditingContextSnapshot {\n readonly id: string;\n readonly authority: object;\n readonly revision: number;\n readonly capabilities: Readonly<Record<EditorCapabilityId, CapabilityAvailability>>;\n readonly metadata?: Readonly<Record<string, unknown>>;\n}\n\nexport interface EditingContextProvider {\n readonly id: string;\n readonly priority?: number;\n canProvide(): boolean;\n getSnapshot(): EditingContextSnapshot;\n}\n\nexport type EditorToolKind = 'primary' | 'action';\n\nexport interface EditorToolDefinition {\n readonly id: string;\n readonly label: string;\n readonly icon?: string;\n readonly group: string;\n readonly order?: number;\n readonly shortcut?: string;\n readonly kind: EditorToolKind;\n readonly requiredCapabilities?: readonly EditorCapabilityId[];\n readonly fallbackToolId?: string;\n}\n\nexport type EditorToolDeactivationReason =\n | 'tool-change'\n | 'context-change'\n | 'unregistered'\n | 'manager-dispose'\n | 'activation-rollback';\n\nexport type EditorToolCancelReason = EditorToolDeactivationReason | 'user';\n\n/** A headless Tool runtime. Renderer resources are supplied through injected closures/ports. */\nexport interface EditorToolRuntime {\n activate(context: EditingContextSnapshot): void | Promise<void>;\n rebind?(context: EditingContextSnapshot): void | Promise<void>;\n cancel?(reason: EditorToolCancelReason): void | Promise<void>;\n deactivate?(reason: EditorToolDeactivationReason): void | Promise<void>;\n dispose?(): void | Promise<void>;\n}\n\nexport interface EditorToolRuntimeFactoryContext {\n readonly definition: EditorToolDefinition;\n}\n\nexport interface EditorToolRegistration {\n readonly definition: EditorToolDefinition;\n readonly createRuntime: (context: EditorToolRuntimeFactoryContext) => EditorToolRuntime;\n}\n\nexport interface EditorToolPresentation {\n readonly id: string;\n readonly label: string;\n readonly icon?: string;\n readonly group: string;\n readonly order: number;\n readonly shortcut?: string;\n readonly kind: EditorToolKind;\n readonly availability: CapabilityAvailability;\n readonly active: boolean;\n}\n\nexport interface EditorToolRegistrySnapshot {\n readonly revision: number;\n readonly registrations: readonly EditorToolRegistration[];\n}\n\nexport interface EditorToolRegistry {\n register(registration: EditorToolRegistration): FpsDisposer;\n get(id: string): EditorToolRegistration | undefined;\n snapshot(): EditorToolRegistrySnapshot;\n subscribe(listener: (snapshot: EditorToolRegistrySnapshot) => void): FpsDisposer;\n}\n\nexport interface EditorToolManagerSnapshot {\n readonly revision: number;\n readonly context: EditingContextSnapshot | null;\n readonly activeToolId: string | null;\n readonly activationGeneration: number;\n readonly tools: readonly EditorToolPresentation[];\n}\n\nexport interface EditorToolManager {\n snapshot(): EditorToolManagerSnapshot;\n subscribe(listener: (snapshot: EditorToolManagerSnapshot) => void): FpsDisposer;\n activate(toolId: string): Promise<void>;\n cancel(reason?: EditorToolCancelReason): Promise<void>;\n rebindContext(context: EditingContextSnapshot | null): Promise<void>;\n whenIdle(): Promise<void>;\n dispose(): Promise<void>;\n}\n\nexport interface CreateEditorToolManagerOptions {\n readonly registry: EditorToolRegistry;\n readonly context?: EditingContextSnapshot | null;\n readonly fallbackToolId?: string;\n}\n\ninterface EditorToolRuntimeLease {\n readonly registration: EditorToolRegistration;\n readonly runtime: EditorToolRuntime;\n cleanup: {\n readonly reason: EditorToolDeactivationReason;\n cancelComplete: boolean;\n deactivateComplete: boolean;\n disposeComplete: boolean;\n } | null;\n}\n\nconst ENABLED: CapabilityAvailability = Object.freeze({ state: 'enabled' });\n\nexport function createEditorToolRegistry(): EditorToolRegistry {\n const registrations = new Map<string, EditorToolRegistration>();\n const listeners = new Set<(snapshot: EditorToolRegistrySnapshot) => void>();\n let revision = 0;\n const snapshot = (): EditorToolRegistrySnapshot => Object.freeze({\n revision,\n registrations: Object.freeze([...registrations.values()].sort(compareToolRegistrations)),\n });\n const publish = (): void => {\n const next = snapshot();\n for (const listener of [...listeners]) listener(next);\n };\n const registry: EditorToolRegistry = {\n register(registration) {\n const frozen = snapshotEditorToolRegistration(registration);\n const id = frozen.definition.id;\n if (registrations.has(id)) throw new Error(`Duplicate editor tool id: ${id}`);\n registrations.set(id, frozen);\n revision += 1;\n publish();\n let active = true;\n return () => {\n if (!active) return;\n active = false;\n if (registrations.get(id) !== frozen) return;\n registrations.delete(id);\n revision += 1;\n publish();\n };\n },\n get: id => registrations.get(id),\n snapshot,\n subscribe(listener) {\n listeners.add(listener);\n return () => { listeners.delete(listener); };\n },\n };\n return Object.freeze(registry);\n}\n\nexport function createEditorToolManager(options: CreateEditorToolManagerOptions): EditorToolManager {\n const listeners = new Set<(snapshot: EditorToolManagerSnapshot) => void>();\n let context = options.context ? snapshotEditingContext(options.context) : null;\n let active: EditorToolRuntimeLease | null = null;\n const pendingCleanups = new Set<EditorToolRuntimeLease>();\n let activationGeneration = 0;\n let revision = 0;\n let disposed = false;\n let disposeRequested = false;\n let registrySubscribed = true;\n let backgroundFailure: unknown = null;\n let queue: Promise<void> = Promise.resolve();\n\n const managerSnapshot = (): EditorToolManagerSnapshot => Object.freeze({\n revision,\n context,\n activeToolId: active?.registration.definition.id ?? null,\n activationGeneration,\n tools: Object.freeze(options.registry.snapshot().registrations.map(registration => (\n createToolPresentation(registration.definition, context, active?.registration.definition.id ?? null)\n ))),\n });\n const publish = (): void => {\n revision += 1;\n const next = managerSnapshot();\n for (const listener of [...listeners]) listener(next);\n };\n const enqueue = (operation: () => Promise<void>): Promise<void> => {\n const result = queue.then(operation, operation);\n queue = result.catch(() => {});\n return result;\n };\n const requireContext = (): EditingContextSnapshot => {\n if (!context) throw new Error('Editor Tool activation requires an active Editing Context.');\n return context;\n };\n const resolveFallbackId = (removed?: EditorToolRegistration): string | null => {\n const candidates = [\n removed?.definition.fallbackToolId,\n options.fallbackToolId,\n ];\n for (const candidate of candidates) {\n if (!candidate || !options.registry.get(candidate)) continue;\n if (resolveToolAvailability(options.registry.get(candidate)!.definition, context).state === 'enabled') {\n return candidate;\n }\n }\n return options.registry.snapshot().registrations.find(registration => (\n registration.definition.kind === 'primary'\n && resolveToolAvailability(registration.definition, context).state === 'enabled'\n ))?.definition.id ?? null;\n };\n const cleanupRuntime = async (\n current: EditorToolRuntimeLease,\n reason: EditorToolDeactivationReason,\n ): Promise<void> => {\n const cleanup = current.cleanup ??= {\n reason,\n cancelComplete: !current.runtime.cancel,\n deactivateComplete: !current.runtime.deactivate,\n disposeComplete: !current.runtime.dispose,\n };\n pendingCleanups.add(current);\n const errors: unknown[] = [];\n if (!cleanup.cancelComplete) {\n try {\n await current.runtime.cancel!(cleanup.reason);\n cleanup.cancelComplete = true;\n } catch (error) { errors.push(error); }\n }\n if (!cleanup.deactivateComplete) {\n try {\n await current.runtime.deactivate!(cleanup.reason);\n cleanup.deactivateComplete = true;\n } catch (error) { errors.push(error); }\n }\n if (!cleanup.disposeComplete) {\n try {\n await current.runtime.dispose!();\n cleanup.disposeComplete = true;\n } catch (error) { errors.push(error); }\n }\n if (cleanup.cancelComplete && cleanup.deactivateComplete && cleanup.disposeComplete) {\n pendingCleanups.delete(current);\n }\n if (errors.length > 0) throw createAggregateError('Editor Tool cleanup failed.', errors);\n };\n const retryPendingCleanups = async (): Promise<void> => {\n const errors: unknown[] = [];\n for (const pending of [...pendingCleanups]) {\n try { await cleanupRuntime(pending, pending.cleanup?.reason ?? 'manager-dispose'); }\n catch (error) { errors.push(error); }\n }\n if (errors.length > 0) throw createAggregateError('Editor Tool cleanup retry failed.', errors);\n };\n const createRuntimeLease = (\n registration: EditorToolRegistration,\n runtime: EditorToolRuntime,\n ): EditorToolRuntimeLease => ({ registration, runtime, cleanup: null });\n const activateNow = async (toolId: string, allowPendingCleanup = false): Promise<void> => {\n if (disposed || disposeRequested) throw new Error('Editor Tool Manager is disposed.');\n if (!allowPendingCleanup && pendingCleanups.size > 0) await retryPendingCleanups();\n const registration = options.registry.get(toolId);\n if (!registration) throw new Error(`Unknown editor tool: ${toolId}`);\n if (registration.definition.kind !== 'primary') {\n throw new Error(`Editor Tool Manager can only activate primary tools: ${toolId}`);\n }\n const nextContext = requireContext();\n const availability = resolveToolAvailability(registration.definition, nextContext);\n if (availability.state !== 'enabled') {\n throw new Error(`Editor tool is ${availability.state}: ${toolId} (${availability.reason})`);\n }\n if (active?.registration.definition.id === toolId) return;\n\n activationGeneration += 1;\n const previous = active;\n active = null;\n if (previous) {\n try {\n await cleanupRuntime(previous, 'tool-change');\n } catch (error) {\n publish();\n throw error;\n }\n }\n\n let candidate: EditorToolRuntimeLease | null = null;\n try {\n const runtime = registration.createRuntime(Object.freeze({ definition: registration.definition }));\n assertEditorToolRuntime(runtime, toolId);\n candidate = createRuntimeLease(registration, runtime);\n await candidate.runtime.activate(nextContext);\n active = candidate;\n publish();\n } catch (error) {\n const rollbackErrors: unknown[] = [error];\n if (candidate) {\n try { await cleanupRuntime(candidate, 'activation-rollback'); }\n catch (cleanupError) { rollbackErrors.push(cleanupError); }\n }\n if (previous && options.registry.get(previous.registration.definition.id) === previous.registration) {\n let rollbackLease: EditorToolRuntimeLease | null = null;\n try {\n const rollbackRuntime = previous.registration.createRuntime(Object.freeze({\n definition: previous.registration.definition,\n }));\n assertEditorToolRuntime(rollbackRuntime, previous.registration.definition.id);\n rollbackLease = createRuntimeLease(previous.registration, rollbackRuntime);\n await rollbackLease.runtime.activate(nextContext);\n active = rollbackLease;\n } catch (restoreError) {\n rollbackErrors.push(restoreError);\n active = null;\n if (rollbackLease) {\n try { await cleanupRuntime(rollbackLease, 'activation-rollback'); }\n catch (cleanupError) { rollbackErrors.push(cleanupError); }\n }\n const fallbackId = resolveFallbackId(registration);\n if (fallbackId) {\n try { await activateNow(fallbackId, true); }\n catch (fallbackError) { rollbackErrors.push(fallbackError); }\n }\n }\n } else {\n const fallbackId = resolveFallbackId(registration);\n if (fallbackId && fallbackId !== toolId) {\n try { await activateNow(fallbackId, true); }\n catch (fallbackError) { rollbackErrors.push(fallbackError); }\n }\n }\n publish();\n if (rollbackErrors.length === 1) throw error;\n throw createAggregateError('Editor Tool activation and rollback failed.', rollbackErrors);\n }\n };\n const handleRegistryChange = (): void => {\n if (disposed) return;\n publish();\n const current = active;\n if (!current || options.registry.get(current.registration.definition.id) === current.registration) return;\n void enqueue(async () => {\n try {\n if (active !== current) return;\n active = null;\n activationGeneration += 1;\n let cleanupError: unknown;\n try { await cleanupRuntime(current, 'unregistered'); }\n catch (error) { cleanupError = error; }\n const fallbackId = resolveFallbackId(current.registration);\n let fallbackError: unknown;\n if (fallbackId) {\n try { await activateNow(fallbackId, true); }\n catch (error) { fallbackError = error; }\n } else publish();\n if (cleanupError && fallbackError) {\n throw createAggregateError('Editor Tool unload cleanup and fallback failed.', [cleanupError, fallbackError]);\n }\n if (cleanupError) throw cleanupError;\n if (fallbackError) throw fallbackError;\n } catch (error) {\n backgroundFailure = backgroundFailure\n ? createAggregateError('Multiple background Editor Tool operations failed.', [backgroundFailure, error])\n : error;\n publish();\n throw error;\n }\n }).catch(() => { /* Background failure is retained for whenIdle()/dispose retry. */ });\n };\n const unsubscribeRegistry = options.registry.subscribe(handleRegistryChange);\n\n const manager: EditorToolManager = {\n snapshot: managerSnapshot,\n subscribe(listener) {\n if (disposed) throw new Error('Editor Tool Manager is disposed.');\n listeners.add(listener);\n return () => { listeners.delete(listener); };\n },\n activate(toolId) {\n return enqueue(() => activateNow(toolId));\n },\n cancel(reason = 'user') {\n return enqueue(async () => {\n if (disposed) return;\n await active?.runtime.cancel?.(reason);\n });\n },\n rebindContext(nextContext) {\n return enqueue(async () => {\n if (disposed || disposeRequested) throw new Error('Editor Tool Manager is disposed.');\n const frozen = nextContext ? snapshotEditingContext(nextContext) : null;\n if (sameContextRevision(context, frozen)) return;\n const previousContext = context;\n context = frozen;\n activationGeneration += 1;\n const current = active;\n if (!current) {\n publish();\n return;\n }\n const availability = resolveToolAvailability(current.registration.definition, context);\n if (!context || availability.state !== 'enabled') {\n active = null;\n let cleanupError: unknown;\n try { await cleanupRuntime(current, 'context-change'); }\n catch (error) { cleanupError = error; }\n const fallbackId = resolveFallbackId(current.registration);\n let fallbackError: unknown;\n if (fallbackId) {\n try { await activateNow(fallbackId); }\n catch (error) { fallbackError = error; }\n } else publish();\n if (cleanupError && fallbackError) {\n throw createAggregateError(\n 'Editing Context cleanup and fallback activation failed.',\n [cleanupError, fallbackError],\n );\n }\n if (cleanupError) throw cleanupError;\n if (fallbackError) throw fallbackError;\n return;\n }\n try {\n if (current.runtime.rebind) await current.runtime.rebind(context);\n else {\n await current.runtime.deactivate?.('context-change');\n await current.runtime.activate(context);\n }\n } catch (error) {\n context = previousContext;\n let rollbackError: unknown;\n try {\n if (!previousContext) throw new Error('Previous Editing Context is unavailable.');\n if (current.runtime.rebind) await current.runtime.rebind(previousContext);\n else await current.runtime.activate(previousContext);\n } catch (caught) {\n rollbackError = caught;\n active = null;\n try { await cleanupRuntime(current, 'activation-rollback'); }\n catch (cleanupError) {\n rollbackError = createAggregateError('Editing Context rollback cleanup failed.', [caught, cleanupError]);\n }\n const fallbackId = resolveFallbackId(current.registration);\n if (fallbackId && fallbackId !== current.registration.definition.id) {\n try { await activateNow(fallbackId, true); }\n catch (fallbackError) {\n rollbackError = createAggregateError(\n 'Editing Context rollback and fallback failed.',\n [rollbackError, fallbackError],\n );\n }\n }\n }\n publish();\n if (rollbackError) {\n throw createAggregateError('Editing Context rebind and rollback failed.', [error, rollbackError]);\n }\n throw error;\n }\n publish();\n });\n },\n whenIdle() {\n return queue.then(async () => {\n if (backgroundFailure) {\n const error = backgroundFailure;\n backgroundFailure = null;\n throw error;\n }\n if (pendingCleanups.size > 0) await retryPendingCleanups();\n });\n },\n dispose() {\n return enqueue(async () => {\n if (disposed) return;\n disposeRequested = true;\n if (registrySubscribed) {\n registrySubscribed = false;\n unsubscribeRegistry();\n }\n const current = active;\n const previouslyPending = [...pendingCleanups];\n active = null;\n activationGeneration += 1;\n const cleanupErrors: unknown[] = [];\n if (current) {\n try { await cleanupRuntime(current, 'manager-dispose'); }\n catch (error) { cleanupErrors.push(error); }\n }\n for (const pending of previouslyPending) {\n try { await cleanupRuntime(pending, pending.cleanup?.reason ?? 'manager-dispose'); }\n catch (error) { cleanupErrors.push(error); }\n }\n if (cleanupErrors.length > 0) {\n throw createAggregateError('Editor Tool Manager dispose cleanup failed.', cleanupErrors);\n }\n disposed = true;\n listeners.clear();\n });\n },\n };\n return Object.freeze(manager);\n}\n\nexport function resolveEditingContextProvider(\n providers: readonly EditingContextProvider[],\n): EditingContextProvider {\n const available = providers.filter(provider => provider.canProvide()).sort((left, right) => {\n const priority = (right.priority ?? 0) - (left.priority ?? 0);\n return priority || left.id.localeCompare(right.id);\n });\n const selected = available[0];\n if (!selected) throw new Error('No Editing Context provider can provide the current scope.');\n if (available[1] && (available[1].priority ?? 0) === (selected.priority ?? 0)) {\n throw new Error(\n `Ambiguous Editing Context providers at priority ${selected.priority ?? 0}: ${selected.id}, ${available[1].id}`,\n );\n }\n return selected;\n}\n\nexport function resolveToolAvailability(\n definition: EditorToolDefinition,\n context: EditingContextSnapshot | null,\n): CapabilityAvailability {\n if (!context) return Object.freeze({ state: 'disabled', reason: 'No active Editing Context.' });\n let disabled: CapabilityAvailability | null = null;\n for (const capabilityId of definition.requiredCapabilities ?? []) {\n const availability = context.capabilities[capabilityId]\n ?? Object.freeze({ state: 'hidden' as const, reason: `Capability is unavailable: ${capabilityId}` });\n if (availability.state === 'hidden') return availability;\n if (availability.state === 'disabled') disabled ??= availability;\n }\n return disabled ?? ENABLED;\n}\n\nexport function snapshotEditorToolRegistration(\n registration: EditorToolRegistration,\n): EditorToolRegistration {\n if (!registration || typeof registration !== 'object') {\n throw new Error('Editor Tool registration must be an object.');\n }\n if (typeof registration.createRuntime !== 'function') {\n throw new Error('Editor Tool registration requires createRuntime().');\n }\n return Object.freeze({\n definition: snapshotEditorToolDefinition(registration.definition),\n createRuntime: registration.createRuntime,\n });\n}\n\nexport function snapshotEditorToolDefinition(definition: EditorToolDefinition): EditorToolDefinition {\n if (!definition || typeof definition !== 'object') throw new Error('Editor Tool definition must be an object.');\n const id = assertNamespacedId(definition.id, 'Editor Tool id');\n const label = assertNonEmpty(definition.label, 'Editor Tool label');\n const group = assertNamespacedId(definition.group, 'Editor Tool group');\n if (definition.kind !== 'primary' && definition.kind !== 'action') {\n throw new Error(`Unknown Editor Tool kind: ${String(definition.kind)}`);\n }\n const order = definition.order ?? 0;\n if (!Number.isFinite(order)) throw new Error('Editor Tool order must be finite.');\n const requiredCapabilities = Object.freeze((definition.requiredCapabilities ?? []).map(capability => (\n assertNamespacedId(capability, 'Editor capability id')\n )));\n if (new Set(requiredCapabilities).size !== requiredCapabilities.length) {\n throw new Error(`Editor Tool required capabilities must be unique: ${id}`);\n }\n return Object.freeze({\n id,\n label,\n group,\n order,\n kind: definition.kind,\n requiredCapabilities,\n ...(definition.icon === undefined ? {} : { icon: assertNonEmpty(definition.icon, 'Editor Tool icon') }),\n ...(definition.shortcut === undefined ? {} : {\n shortcut: assertNonEmpty(definition.shortcut, 'Editor Tool shortcut').toUpperCase(),\n }),\n ...(definition.fallbackToolId === undefined ? {} : {\n fallbackToolId: assertNamespacedId(definition.fallbackToolId, 'Editor Tool fallback id'),\n }),\n });\n}\n\nexport function snapshotEditingContext(context: EditingContextSnapshot): EditingContextSnapshot {\n if (!context || typeof context !== 'object') throw new Error('Editing Context snapshot must be an object.');\n const id = assertNamespacedId(context.id, 'Editing Context id');\n if (!context.authority || typeof context.authority !== 'object') {\n throw new Error('Editing Context authority must be an object token.');\n }\n if (!Number.isSafeInteger(context.revision) || context.revision < 0) {\n throw new Error('Editing Context revision must be a non-negative safe integer.');\n }\n const capabilities: Record<string, CapabilityAvailability> = {};\n for (const [capabilityId, availability] of Object.entries(context.capabilities ?? {})) {\n capabilities[assertNamespacedId(capabilityId, 'Editor capability id')] = snapshotAvailability(availability);\n }\n return Object.freeze({\n id,\n authority: context.authority,\n revision: context.revision,\n capabilities: Object.freeze(capabilities),\n ...(context.metadata ? { metadata: Object.freeze({ ...context.metadata }) } : {}),\n });\n}\n\nfunction createToolPresentation(\n definition: EditorToolDefinition,\n context: EditingContextSnapshot | null,\n activeToolId: string | null,\n): EditorToolPresentation {\n return Object.freeze({\n id: definition.id,\n label: definition.label,\n group: definition.group,\n order: definition.order ?? 0,\n kind: definition.kind,\n availability: resolveToolAvailability(definition, context),\n active: activeToolId === definition.id,\n ...(definition.icon ? { icon: definition.icon } : {}),\n ...(definition.shortcut ? { shortcut: definition.shortcut } : {}),\n });\n}\n\nfunction snapshotAvailability(value: CapabilityAvailability): CapabilityAvailability {\n if (!value || typeof value !== 'object') throw new Error('Capability availability must be an object.');\n if (value.state === 'enabled') return ENABLED;\n if (value.state === 'disabled' || value.state === 'hidden') {\n return Object.freeze({ state: value.state, reason: assertNonEmpty(value.reason, 'Capability reason') });\n }\n throw new Error(`Unknown capability availability state: ${String((value as { state?: unknown }).state)}`);\n}\n\nfunction compareToolRegistrations(left: EditorToolRegistration, right: EditorToolRegistration): number {\n const group = left.definition.group.localeCompare(right.definition.group);\n if (group) return group;\n const order = (left.definition.order ?? 0) - (right.definition.order ?? 0);\n return order || left.definition.id.localeCompare(right.definition.id);\n}\n\nfunction sameContextRevision(\n left: EditingContextSnapshot | null,\n right: EditingContextSnapshot | null,\n): boolean {\n return left === right || (!!left && !!right\n && left.id === right.id\n && left.authority === right.authority\n && left.revision === right.revision);\n}\n\nfunction assertEditorToolRuntime(value: EditorToolRuntime, id: string): void {\n if (!value || typeof value !== 'object' || typeof value.activate !== 'function') {\n throw new Error(`Editor Tool runtime is invalid: ${id}`);\n }\n}\n\nfunction assertNamespacedId(value: string, label: string): string {\n const normalized = assertNonEmpty(value, label);\n if (!/^[a-z0-9]+(?:[._-][a-z0-9]+)+$/.test(normalized)) {\n throw new Error(`${label} must be namespaced lowercase, got: ${value}`);\n }\n return normalized;\n}\n\nfunction assertNonEmpty(value: string, label: string): string {\n if (typeof value !== 'string' || !value.trim()) throw new Error(`${label} must be a non-empty string.`);\n return value.trim();\n}\n\nfunction createAggregateError(message: string, errors: readonly unknown[]): Error {\n const aggregate = new Error(message) as Error & { errors: readonly unknown[] };\n aggregate.errors = Object.freeze([...errors]);\n return aggregate;\n}\n"]}
@@ -49,6 +49,8 @@ export interface InspectorProperty<TDocument = unknown> {
49
49
  min?: number;
50
50
  max?: number;
51
51
  step?: number;
52
+ precision?: number;
53
+ stepPrecision?: number;
52
54
  options?: readonly InspectorEnumOption[];
53
55
  document?: TDocument;
54
56
  validate?: (value: unknown) => InspectorValidationResult;
@@ -77,6 +79,50 @@ export interface InspectorObject<TDocument = unknown> {
77
79
  sections: InspectorSection<TDocument>[];
78
80
  document?: TDocument;
79
81
  }
82
+ export interface InspectorPropertySignature {
83
+ id?: string;
84
+ path: string;
85
+ label: string;
86
+ valueType: InspectorProperty['valueType'];
87
+ control: InspectorControlKind;
88
+ customControl?: string;
89
+ controlOptions?: Record<string, unknown>;
90
+ mixed?: boolean;
91
+ batchEdit?: boolean | 'auto';
92
+ readOnly: boolean;
93
+ persistence: InspectorPersistenceMode;
94
+ commitMode: InspectorCommitMode;
95
+ order?: number;
96
+ tags?: readonly string[];
97
+ tooltip?: string;
98
+ effect?: InspectorEffectMode;
99
+ disabledReason?: string;
100
+ placeholder?: string;
101
+ min?: number;
102
+ max?: number;
103
+ step?: number;
104
+ precision?: number;
105
+ stepPrecision?: number;
106
+ options?: readonly InspectorEnumOption[];
107
+ }
108
+ export interface InspectorSectionSignature {
109
+ id: string;
110
+ title: string;
111
+ summary?: string;
112
+ order?: number;
113
+ placement?: 'summary' | 'body';
114
+ collapsedByDefault?: boolean;
115
+ persistence?: InspectorPersistenceMode;
116
+ runtimeOnly?: boolean;
117
+ effect?: InspectorEffectMode;
118
+ disabledReason?: string;
119
+ tags?: readonly string[];
120
+ properties: InspectorPropertySignature[];
121
+ }
122
+ export interface InspectorSignature {
123
+ sections: InspectorSectionSignature[];
124
+ }
125
+ export declare function createInspectorSignature<TDocument>(inspector: Pick<InspectorObject<TDocument>, 'sections'>): InspectorSignature;
80
126
  export interface InspectorEditPayload {
81
127
  targetId: string;
82
128
  targetIds?: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"inspector.d.ts","sourceRoot":"","sources":["../src/inspector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,gBAAgB,EAChB,kBAAkB,EAClB,2BAA2B,EAC5B,MAAM,qBAAqB,CAAC;AAE7B,MAAM,MAAM,wBAAwB,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;AAE3E,MAAM,MAAM,oBAAoB,GAC5B,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,MAAM,GACN,MAAM,GACN,MAAM,GACN,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,CAAC;AAEb,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,CAAC;AAE3E,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG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S,GACnB,eAAe,CAAC,SAAS,CAAC,CAa5B;AAED,wBAAgB,uCAAuC,CAAC,SAAS,EAC/D,UAAU,EAAE,SAAS,kBAAkB,CAAC,SAAS,CAAC,EAAE,GACnD,gBAAgB,CAAC,SAAS,CAAC,EAAE,CAmB/B;AAED,wBAAgB,qCAAqC,CAAC,SAAS,EAC7D,QAAQ,EAAE,kBAAkB,CAAC,SAAS,CAAC,EACvC,KAAK,CAAC,EAAE,MAAM,GACb,iBAAiB,CAAC,SAAS,CAAC,CAgB9B;AAED,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,IAAI,CAAC,iBAAiB,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC,EACrE,KAAK,EAAE,OAAO,GACb,OAAO,CAYT;AAED,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE,IAAI,CAAC,iBAAiB,EAAE,UAAU,GAAG,aAAa,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,gBAAgB,CAAC,EAClI,KAAK,EAAE,OAAO,GACb,yBAAyB,CAe3B;AAED,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE,iBAAiB,EAC3B,KAAK,EAAE,kBAAkB,GACxB,yBAAyB,CAAC,oBAAoB,CAAC,CAwBjD;AAED,wBAAgB,wBAAwB,CAAC,SAAS,EAChD,IAAI,EAAE,gBAAgB,CAAC,SAAS,CAAC,EACjC,KAAK,EAAE,gBAAgB,CAAC,SAAS,CAAC,GACjC,MAAM,CAIR;AAED,wBAAgB,0BAA0B,CAAC,SAAS,EAClD,IAAI,EAAE,iBAAiB,CAAC,SAAS,CAAC,EAClC,KAAK,EAAE,iBAAiB,CAAC,SAAS,CAAC,GAClC,MAAM,CAIR"}
@@ -1,3 +1,63 @@
1
+ export function createInspectorSignature(inspector) {
2
+ return {
3
+ sections: inspector.sections.map(section => ({
4
+ id: section.id,
5
+ title: section.title,
6
+ summary: section.summary,
7
+ order: section.order,
8
+ placement: section.placement,
9
+ collapsedByDefault: section.collapsedByDefault,
10
+ persistence: section.persistence,
11
+ runtimeOnly: section.runtimeOnly,
12
+ effect: section.effect,
13
+ disabledReason: section.disabledReason,
14
+ tags: section.tags ? [...section.tags] : undefined,
15
+ properties: section.properties.map(property => ({
16
+ id: property.id,
17
+ path: property.path,
18
+ label: property.label,
19
+ valueType: property.valueType,
20
+ control: property.control,
21
+ customControl: property.customControl,
22
+ controlOptions: cloneInspectorSignatureMetadata(property.controlOptions),
23
+ mixed: property.mixed,
24
+ batchEdit: property.batchEdit,
25
+ readOnly: property.readOnly,
26
+ persistence: property.persistence,
27
+ commitMode: property.commitMode,
28
+ order: property.order,
29
+ tags: property.tags ? [...property.tags] : undefined,
30
+ tooltip: property.tooltip,
31
+ effect: property.effect,
32
+ disabledReason: property.disabledReason,
33
+ placeholder: property.placeholder,
34
+ min: property.min,
35
+ max: property.max,
36
+ step: property.step,
37
+ precision: property.precision,
38
+ stepPrecision: property.stepPrecision,
39
+ options: property.options?.map(option => ({ ...option })),
40
+ })),
41
+ })),
42
+ };
43
+ }
44
+ function cloneInspectorSignatureMetadata(value) {
45
+ if (!value)
46
+ return undefined;
47
+ const cloneValue = (candidate) => {
48
+ if (candidate == null || typeof candidate === 'string' || typeof candidate === 'number' || typeof candidate === 'boolean') {
49
+ return candidate;
50
+ }
51
+ if (Array.isArray(candidate))
52
+ return candidate.map(cloneValue);
53
+ if (typeof candidate !== 'object')
54
+ return undefined;
55
+ return Object.fromEntries(Object.entries(candidate)
56
+ .filter(([, entry]) => typeof entry !== 'function')
57
+ .map(([key, entry]) => [key, cloneValue(entry)]));
58
+ };
59
+ return cloneValue(value);
60
+ }
1
61
  export function createInspectorRegistry(options = {}) {
2
62
  const registrations = new Map();
3
63
  const defaultConflict = options.onConflict ?? 'error';
@@ -319,6 +379,8 @@ function inspectorPropertiesAreBatchCompatible(first, next) {
319
379
  && first.min === next.min
320
380
  && first.max === next.max
321
381
  && first.step === next.step
382
+ && first.precision === next.precision
383
+ && first.stepPrecision === next.stepPrecision
322
384
  && inspectorEnumOptionsAreBatchCompatible(first.options ?? null, next.options ?? null);
323
385
  }
324
386
  function isAutomaticBatchInspectorProperty(property) {
@@ -1 +1 @@
1
- {"version":3,"file":"inspector.js","sourceRoot":"","sources":["../src/inspector.ts"],"names":[],"mappings":"AAqLA,MAAM,UAAU,uBAAuB,CACrC,UAAoC,EAAE;IAEtC,MAAM,aAAa,GAAG,IAAI,GAAG,EAAqD,CAAC;IACnF,MAAM,eAAe,GAAG,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC;IACtD,MAAM,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC;IAC7D,OAAO;QACL,QAAQ,CAAC,SAAS,EAAE,eAAe,GAAG,EAAE;YACtC,MAAM,UAAU,GAAG,2BAA2B,CAAC,SAAS,CAAC,CAAC;YAC1D,MAAM,QAAQ,GAAG,eAAe,CAAC,UAAU,IAAI,eAAe,CAAC;YAC/D,MAAM,QAAQ,GAAG,aAAa,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;YAClD,IAAI,QAAQ,EAAE,CAAC;gBACb,IAAI,QAAQ,KAAK,OAAO,EAAE,CAAC;oBACzB,MAAM,IAAI,KAAK,CAAC,wBAAwB,UAAU,CAAC,EAAE,0BAA0B,CAAC,CAAC;gBACnF,CAAC;gBACD,IAAI,QAAQ,KAAK,QAAQ,EAAE,CAAC;oBAC1B,OAAO;wBACL,EAAE,EAAE,UAAU,CAAC,EAAE;wBACjB,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK;qBACrB,CAAC;gBACJ,CAAC;YACH,CAAC;YACD,aAAa,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,EAAE,UAAU,CAAC,CAAC;YAC7C,OAAO;gBACL,EAAE,EAAE,UAAU,CAAC,EAAE;gBACjB,OAAO;oBACL,IAAI,aAAa,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,KAAK,UAAU;wBAAE,O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AAK,QAAQ;YACX,OAAO,QAAQ,CAAC;QAClB,KAAK,QAAQ;YACX,OAAO,QAAQ,CAAC;QAClB,KAAK,SAAS;YACZ,OAAO,SAAS,CAAC;QACnB,KAAK,MAAM;YACT,OAAO,MAAM,CAAC;QAChB,KAAK,OAAO;YACV,OAAO,OAAO,CAAC;QACjB,KAAK,QAAQ;YACX,OAAO,QAAQ,CAAC;QAClB;YACE,OAAO,UAAU,CAAC;IACtB,CAAC;AACH,CAAC;AAED,SAAS,eAAe,CAAY,QAAuC;IACzE,QAAQ,QAAQ,CAAC,SAAS,EAAE,CAAC;QAC3B,KAAK,QAAQ;YACX,OAAO,MAAM,CAAC;QAChB,KAAK,SAAS,CAAC;QACf,KAAK,MAAM,CAAC;QACZ,KAAK,OAAO;YACV,OAAO,WAAW,CAAC;QACrB;YACE,OAAO,MAAM,CAAC;IAClB,CAAC;AACH,CAAC;AAED,SAAS,uBAAuB,CAC9B,UAAmD;IAEnD,IAAI,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,WAAW,KAAK,UAAU,CAAC;QAAE,OAAO,UAAU,CAAC;IACxF,IAAI,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,WAAW,KAAK,SAAS,CAAC;QAAE,OAAO,SAAS,CAAC;IACtF,OAAO,UAAU,CAAC;AACpB,CAAC;AAED,SAAS,gBAAgB,CAAC,EAAU;IAClC,OAAO,EAAE;SACN,OAAO,CAAC,oBAAoB,EAAE,OAAO,CAAC;SACtC,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC;SACtB,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;AAClD,CAAC","sourcesContent":["import type {\n SerializedMultiObject,\n SerializedObject,\n SerializedProperty,\n SerializedPropertyValueType,\n} from './serialized-object';\n\nexport type InspectorPersistenceMode = 'document' | 'runtime' | 'readonly';\n\nexport type InspectorControlKind =\n | 'readonly'\n | 'string'\n | 'number'\n | 'boolean'\n | 'enum'\n | 'vec2'\n | 'vec3'\n | 'color'\n | 'asset'\n | 'object'\n | 'custom';\n\nexport type InspectorCommitMode = 'live' | 'blur' | 'change' | 'immediate';\n\nexport type InspectorEffectMode = 'active' | 'default' | 'derived' | 'runtime' | 'unsupported';\n\nexport interface InspectorSelectionContext<TDocument = unknown> {\n targetIds: string[];\n activeId: string | null;\n targetKind?: string;\n document?: TDocument;\n runtimeTarget?: unknown;\n capabilities?: readonly string[];\n}\n\nexport interface InspectorValidationSuccess<TValue = unknown> {\n ok: true;\n value: TValue;\n}\n\nexport interface InspectorValidationFailure {\n ok: false;\n message: string;\n}\n\nexport type InspectorValidationResult<TValue = unknown> =\n | InspectorValidationSuccess<TValue>\n | InspectorValidationFailure;\n\nexport interface InspectorEnumOption<TValue = string | number | boolean | null> {\n label: string;\n value: TValue;\n disabled?: boolean;\n batchCompatibility?: 'include' | 'ignore';\n}\n\nexport interface InspectorProperty<TDocument = unknown> {\n id?: string;\n path: string;\n label: string;\n valueType: SerializedPropertyValueType | 'color' | 'vec2' | 'vec3';\n control: InspectorControlKind;\n customControl?: string;\n controlOptions?: Record<string, unknown>;\n value: unknown;\n mixed?: boolean;\n batchEdit?: boolean | 'auto';\n readOnly: boolean;\n persistence: InspectorPersistenceMode;\n commitMode: InspectorCommitMode;\n order?: number;\n tags?: readonly string[];\n tooltip?: string;\n effect?: InspectorEffectMode;\n disabledReason?: string;\n placeholder?: string;\n min?: number;\n max?: number;\n step?: number;\n options?: readonly InspectorEnumOption[];\n document?: TDocument;\n validate?: (value: unknown) => InspectorValidationResult;\n coerce?: (value: unknown) => unknown;\n source?: SerializedProperty<TDocument>;\n}\n\nexport interface InspectorSection<TDocument = unknown> {\n id: string;\n title: string;\n summary?: string;\n order?: number;\n placement?: 'summary' | 'body';\n collapsedByDefault?: boolean;\n persistence?: InspectorPersistenceMode;\n runtimeOnly?: boolean;\n effect?: InspectorEffectMode;\n disabledReason?: string;\n tags?: readonly string[];\n properties: InspectorProperty<TDocument>[];\n}\n\nexport interface InspectorObject<TDocument = unknown> {\n targetIds: string[];\n activeId: string | null;\n label?: string;\n selection: InspectorSelectionContext<TDocument>;\n sections: InspectorSection<TDocument>[];\n document?: TDocument;\n}\n\nexport interface InspectorEditPayload {\n targetId: string;\n targetIds?: string[];\n path: string;\n value: unknown;\n control: InspectorControlKind;\n valueType: InspectorProperty['valueType'];\n commitMode: InspectorCommitMode;\n persistence: InspectorPersistenceMode;\n source?: 'input' | 'toggle' | 'select' | 'color' | 'asset' | 'custom';\n}\n\nexport interface InspectorEditInput {\n targetId: string;\n targetIds?: string[];\n path: string;\n value: unknown;\n control?: InspectorControlKind;\n valueType?: InspectorProperty['valueType'];\n commitMode?: InspectorCommitMode;\n persistence?: InspectorPersistenceMode;\n source?: InspectorEditPayload['source'];\n}\n\nexport interface InspectorComponentRegistration<TDocument = unknown> {\n id: string;\n order?: number;\n requiredCapabilities?: readonly string[];\n supports?(context: InspectorSelectionContext<TDocument>): boolean;\n createSections(context: InspectorSelectionContext<TDocument>): InspectorSection<TDocument>[];\n}\n\nexport type InspectorRegistryConflictStrategy = 'error' | 'ignore' | 'replace';\n\nexport interface InspectorRegistryOptions {\n onConflict?: InspectorRegistryConflictStrategy;\n propertyConflict?: InspectorRegistryConflictStrategy;\n}\n\nexport interface InspectorRegistrationOptions {\n onConflict?: InspectorRegistryConflictStrategy;\n}\n\nexport interface InspectorRegistrationHandle {\n id: string;\n dispose(): boolean;\n}\n\nexport interface InspectorSectionMergeOptions {\n propertyConflict?: InspectorRegistryConflictStrategy;\n}\n\nexport interface AggregateInspectorObjectsToMultiObjectInput<TDocument = unknown> {\n targetIds: readonly string[];\n activeId: string | null;\n inspectorObjects: readonly InspectorObject<TDocument>[];\n label?: string;\n document?: TDocument;\n}\n\nexport interface InspectorRegistry<TDocument = unknown> {\n register(\n component: InspectorComponentRegistration<TDocument>,\n options?: InspectorRegistrationOptions,\n ): InspectorRegistrationHandle;\n unregister(id: string): boolean;\n get(id: string): InspectorComponentRegistration<TDocument> | null;\n list(): InspectorComponentRegistration<TDocument>[];\n getSections(context: InspectorSelectionContext<TDocument>): InspectorSection<TDocument>[];\n}\n\nexport function createInspectorRegistry<TDocument = unknown>(\n options: InspectorRegistryOptions = {},\n): InspectorRegistry<TDocument> {\n const registrations = new Map<string, InspectorComponentRegistration<TDocument>>();\n const defaultConflict = options.onConflict ?? 'error';\n const propertyConflict = options.propertyConflict ?? 'error';\n return {\n register(component, registerOptions = {}) {\n const normalized = normalizeInspectorComponent(component);\n const conflict = registerOptions.onConflict ?? defaultConflict;\n const previous = registrations.get(normalized.id);\n if (previous) {\n if (conflict === 'error') {\n throw new Error(`Inspector component \"${normalized.id}\" is already registered.`);\n }\n if (conflict === 'ignore') {\n return {\n id: normalized.id,\n dispose: () => false,\n };\n }\n }\n registrations.set(normalized.id, normalized);\n return {\n id: normalized.id,\n dispose() {\n if (registrations.get(normalized.id) !== normalized) return false;\n registrations.delete(normalized.id);\n return true;\n },\n };\n },\n unregister(id) {\n return registrations.delete(id);\n },\n get(id) {\n return registrations.get(id) ?? null;\n },\n list() {\n return listInspectorComponents(registrations);\n },\n getSections(context) {\n const sections = listInspectorComponents(registrations)\n .filter(component => inspectorComponentSupports(component, context))\n .flatMap(component => component.createSections(context)\n .map(section => section.order == null && component.order != null\n ? { ...section, order: component.order }\n : section));\n return mergeInspectorSections([], sections, { propertyConflict });\n },\n };\n}\n\nexport function inspectorContextHasCapabilities<TDocument>(\n context: InspectorSelectionContext<TDocument>,\n requiredCapabilities: readonly string[] | undefined,\n): boolean {\n if (!requiredCapabilities || requiredCapabilities.length === 0) return true;\n const available = new Set(context.capabilities ?? []);\n return requiredCapabilities.every(capability => available.has(capability));\n}\n\nexport function inspectorComponentSupports<TDocument>(\n component: InspectorComponentRegistration<TDocument>,\n context: InspectorSelectionContext<TDocument>,\n): boolean {\n if (!inspectorContextHasCapabilities(context, component.requiredCapabilities)) return false;\n return component.supports?.(context) ?? true;\n}\n\nexport function mergeInspectorSections<TDocument>(\n baseSections: readonly InspectorSection<TDocument>[],\n extensionSections: readonly InspectorSection<TDocument>[],\n options: InspectorSectionMergeOptions = {},\n): InspectorSection<TDocument>[] {\n const propertyConflict = options.propertyConflict ?? 'error';\n const sections = new Map<string, InspectorSection<TDocument>>();\n const explicitEmptySections = new Set<string>();\n const editableProperties = new Map<string, {\n sectionId: string;\n property: InspectorProperty<TDocument>;\n }>();\n\n const appendSection = (section: InspectorSection<TDocument>) => {\n let target = sections.get(section.id);\n if (!target) {\n target = { ...section, properties: [] };\n sections.set(section.id, target);\n }\n if (section.properties.length === 0) explicitEmptySections.add(section.id);\n for (const property of section.properties) {\n appendProperty(target, property);\n }\n };\n\n const appendProperty = (\n section: InspectorSection<TDocument>,\n property: InspectorProperty<TDocument>,\n ) => {\n if (isEditableDocumentInspectorProperty(property)) {\n const previous = editableProperties.get(property.path);\n if (previous) {\n if (propertyConflict === 'error') {\n throw new Error(`Inspector property path \"${property.path}\" is already registered.`);\n }\n if (propertyConflict === 'ignore') return;\n const previousSection = sections.get(previous.sectionId);\n if (previousSection) {\n previousSection.properties = previousSection.properties.filter(candidate => candidate !== previous.property);\n }\n }\n editableProperties.set(property.path, { sectionId: section.id, property });\n }\n section.properties.push(property);\n };\n\n for (const section of baseSections) appendSection(section);\n for (const section of extensionSections) appendSection(section);\n return [...sections.values()]\n .filter(section => section.properties.length > 0 || explicitEmptySections.has(section.id))\n .sort(compareInspectorSections);\n}\n\nexport function isEditableDocumentInspectorProperty<TDocument>(\n property: InspectorProperty<TDocument>,\n): boolean {\n return property.persistence === 'document'\n && property.readOnly !== true\n && (property.effect == null || property.effect === 'active');\n}\n\nexport function aggregateInspectorObjectsToMultiObject<TDocument>(\n input: AggregateInspectorObjectsToMultiObjectInput<TDocument>,\n): InspectorObject<TDocument> | null {\n const targetIds = [...input.targetIds];\n if (targetIds.length === 0 || input.inspectorObjects.length !== targetIds.length) return null;\n const [first] = input.inspectorObjects;\n if (!first) return null;\n const byObject = input.inspectorObjects.map(object => indexInspectorPropertiesByPath(object));\n const sections: InspectorSection<TDocument>[] = [];\n\n for (const section of first.sections) {\n const properties: InspectorProperty<TDocument>[] = [];\n for (const property of section.properties) {\n if (!isEditableDocumentInspectorProperty(property)) continue;\n if (!isAutomaticBatchInspectorProperty(property)) continue;\n const matches = byObject.map(propertiesByPath => propertiesByPath.get(property.path) ?? null);\n if (matches.some(match => !match)) continue;\n const matchedProperties = matches as InspectorProperty<TDocument>[];\n if (!matchedProperties.every(match => inspectorPropertiesAreBatchCompatible(property, match))) continue;\n properties.push(aggregateInspectorPropertyValues(property, matchedProperties));\n }\n if (properties.length === 0) continue;\n sections.push({\n ...section,\n persistence: 'document',\n runtimeOnly: false,\n disabledReason: undefined,\n properties,\n });\n }\n\n if (sections.length === 0) return null;\n return {\n targetIds,\n activeId: input.activeId,\n label: input.label ?? `${targetIds.length} objects`,\n document: input.document,\n selection: {\n targetIds,\n activeId: input.activeId,\n document: input.document,\n },\n sections,\n };\n}\n\nexport function serializedObjectToInspectorObject<TDocument>(\n serializedObject: SerializedObject<TDocument>,\n document?: TDocument,\n): InspectorObject<TDocument> {\n return {\n targetIds: [serializedObject.targetId],\n activeId: serializedObject.targetId,\n label: serializedObject.label,\n document,\n selection: {\n targetIds: [serializedObject.targetId],\n activeId: serializedObject.targetId,\n document,\n },\n sections: serializedPropertiesToInspectorSections(serializedObject.properties),\n };\n}\n\nexport function serializedMultiObjectToInspectorObject<TDocument>(\n serializedObject: SerializedMultiObject<TDocument>,\n document?: TDocument,\n): InspectorObject<TDocument> {\n return {\n targetIds: serializedObject.targetIds,\n activeId: serializedObject.activeId,\n label: serializedObject.label,\n document,\n selection: {\n targetIds: serializedObject.targetIds,\n activeId: serializedObject.activeId,\n document,\n },\n sections: serializedPropertiesToInspectorSections(serializedObject.properties),\n };\n}\n\nexport function serializedPropertiesToInspectorSections<TDocument>(\n properties: readonly SerializedProperty<TDocument>[],\n): InspectorSection<TDocument>[] {\n const sections = new Map<string, { order: number; properties: InspectorProperty<TDocument>[] }>();\n for (const [index, property] of properties.entries()) {\n const sectionId = inferInspectorSectionId(property.path);\n const section = sections.get(sectionId) ?? { order: sections.size, properties: [] };\n section.properties.push(serializedPropertyToInspectorProperty(property, index));\n sections.set(sectionId, section);\n }\n\n return [...sections.entries()]\n .map(([id, section]) => ({\n id,\n title: toInspectorTitle(id),\n order: section.order,\n placement: id === 'gameObject' ? 'summary' as const : 'body' as const,\n persistence: inferSectionPersistence(section.properties),\n properties: section.properties,\n }))\n .sort(compareInspectorSections);\n}\n\nexport function serializedPropertyToInspectorProperty<TDocument>(\n property: SerializedProperty<TDocument>,\n order?: number,\n): InspectorProperty<TDocument> {\n const readOnly = property.readOnly === true;\n return {\n path: property.path,\n label: property.label,\n valueType: property.valueType,\n control: inferControlKind(property),\n value: property.value,\n options: property.options,\n mixed: property.mixed,\n readOnly,\n persistence: readOnly ? 'readonly' : 'document',\n commitMode: inferCommitMode(property),\n order,\n source: property,\n };\n}\n\nexport function coerceInspectorEditValue(\n property: Pick<InspectorProperty, 'control' | 'valueType' | 'coerce'>,\n value: unknown,\n): unknown {\n if (property.coerce) return property.coerce(value);\n if (property.control === 'number' || property.valueType === 'number') {\n const numeric = typeof value === 'number' ? value : Number(value);\n return Number.isFinite(numeric) ? numeric : value;\n }\n if (property.control === 'boolean' || property.valueType === 'boolean') {\n if (typeof value === 'boolean') return value;\n if (value === 'true') return true;\n if (value === 'false') return false;\n }\n return value;\n}\n\nexport function validateInspectorEditValue(\n property: Pick<InspectorProperty, 'readOnly' | 'persistence' | 'validate' | 'control' | 'valueType' | 'effect' | 'disabledReason'>,\n value: unknown,\n): InspectorValidationResult {\n if (property.readOnly || property.persistence !== 'document') {\n return { ok: false, message: 'Inspector property is not editable.' };\n }\n if (property.effect && property.effect !== 'active') {\n return { ok: false, message: property.disabledReason ?? `Inspector property is ${property.effect}.` };\n }\n if ((property.control === 'number' || property.valueType === 'number')\n && (typeof value !== 'number' || !Number.isFinite(value))) {\n return { ok: false, message: 'Expected a finite number.' };\n }\n if ((property.control === 'boolean' || property.valueType === 'boolean') && typeof value !== 'boolean') {\n return { ok: false, message: 'Expected a boolean value.' };\n }\n return property.validate?.(value) ?? { ok: true, value };\n}\n\nexport function createInspectorEditPayload(\n property: InspectorProperty,\n input: InspectorEditInput,\n): InspectorValidationResult<InspectorEditPayload> {\n if (property.path !== input.path) {\n return {\n ok: false,\n message: `Inspector edit path mismatch: expected ${property.path}, received ${input.path}.`,\n };\n }\n const coercedValue = coerceInspectorEditValue(property, input.value);\n const validation = validateInspectorEditValue(property, coercedValue);\n if (!validation.ok) return validation;\n return {\n ok: true,\n value: {\n targetId: input.targetId,\n targetIds: input.targetIds,\n path: property.path,\n value: validation.value,\n control: property.control,\n valueType: property.valueType,\n commitMode: property.commitMode,\n persistence: property.persistence,\n source: input.source,\n },\n };\n}\n\nexport function compareInspectorSections<TDocument>(\n left: InspectorSection<TDocument>,\n right: InspectorSection<TDocument>,\n): number {\n return (left.order ?? 0) - (right.order ?? 0)\n || left.title.localeCompare(right.title)\n || left.id.localeCompare(right.id);\n}\n\nexport function compareInspectorProperties<TDocument>(\n left: InspectorProperty<TDocument>,\n right: InspectorProperty<TDocument>,\n): number {\n return (left.order ?? 0) - (right.order ?? 0)\n || left.label.localeCompare(right.label)\n || left.path.localeCompare(right.path);\n}\n\nfunction normalizeInspectorComponent<TDocument>(\n component: InspectorComponentRegistration<TDocument>,\n): InspectorComponentRegistration<TDocument> {\n const id = component.id.trim();\n if (!id) throw new Error('Inspector component id is required.');\n return id === component.id ? component : { ...component, id };\n}\n\nfunction indexInspectorPropertiesByPath<TDocument>(\n inspectorObject: InspectorObject<TDocument>,\n): Map<string, InspectorProperty<TDocument>> {\n const properties = new Map<string, InspectorProperty<TDocument>>();\n for (const section of inspectorObject.sections) {\n for (const property of section.properties) {\n if (!properties.has(property.path)) properties.set(property.path, property);\n }\n }\n return properties;\n}\n\nfunction inspectorPropertiesAreBatchCompatible<TDocument>(\n first: InspectorProperty<TDocument>,\n next: InspectorProperty<TDocument>,\n): boolean {\n return isEditableDocumentInspectorProperty(next)\n && isAutomaticBatchInspectorProperty(next)\n && first.path === next.path\n && first.valueType === next.valueType\n && first.control === next.control\n && first.customControl === next.customControl\n && inspectorValuesAreEqual(first.controlOptions ?? null, next.controlOptions ?? null)\n && first.persistence === next.persistence\n && first.commitMode === next.commitMode\n && first.min === next.min\n && first.max === next.max\n && first.step === next.step\n && inspectorEnumOptionsAreBatchCompatible(first.options ?? null, next.options ?? null);\n}\n\nfunction isAutomaticBatchInspectorProperty<TDocument>(\n property: InspectorProperty<TDocument>,\n): boolean {\n return property.batchEdit !== false;\n}\n\nfunction aggregateInspectorPropertyValues<TDocument>(\n first: InspectorProperty<TDocument>,\n properties: readonly InspectorProperty<TDocument>[],\n): InspectorProperty<TDocument> {\n return {\n ...first,\n options: createBatchInspectorPropertyOptions(first.options),\n value: first.value,\n mixed: properties.some(property => property.mixed === true || !inspectorValuesAreEqual(first.value, property.value)),\n document: undefined,\n source: undefined,\n };\n}\n\nfunction inspectorEnumOptionsAreBatchCompatible(\n first: readonly InspectorEnumOption[] | null,\n next: readonly InspectorEnumOption[] | null,\n): boolean {\n return inspectorValuesAreEqual(createBatchInspectorPropertyOptions(first), createBatchInspectorPropertyOptions(next));\n}\n\nfunction createBatchInspectorPropertyOptions(\n options: readonly InspectorEnumOption[] | null | undefined,\n): readonly InspectorEnumOption[] | undefined {\n if (!options) return undefined;\n return options.filter(option => option.batchCompatibility !== 'ignore');\n}\n\nfunction inspectorValuesAreEqual(left: unknown, right: unknown): boolean {\n if (Object.is(left, right)) return true;\n if (typeof left !== typeof right) return false;\n if (left == null || right == null) return false;\n if (Array.isArray(left) || Array.isArray(right)) {\n if (!Array.isArray(left) || !Array.isArray(right) || left.length !== right.length) return false;\n return left.every((item, index) => inspectorValuesAreEqual(item, right[index]));\n }\n if (typeof left !== 'object' || typeof right !== 'object') return false;\n const leftRecord = left as Record<string, unknown>;\n const rightRecord = right as Record<string, unknown>;\n const leftKeys = Object.keys(leftRecord).sort();\n const rightKeys = Object.keys(rightRecord).sort();\n if (leftKeys.length !== rightKeys.length) return false;\n return leftKeys.every((key, index) => key === rightKeys[index] && inspectorValuesAreEqual(leftRecord[key], rightRecord[key]));\n}\n\nfunction listInspectorComponents<TDocument>(\n registrations: Map<string, InspectorComponentRegistration<TDocument>>,\n): InspectorComponentRegistration<TDocument>[] {\n return [...registrations.values()].sort(compareInspectorComponents);\n}\n\nfunction compareInspectorComponents<TDocument>(\n left: InspectorComponentRegistration<TDocument>,\n right: InspectorComponentRegistration<TDocument>,\n): number {\n return (left.order ?? 0) - (right.order ?? 0) || left.id.localeCompare(right.id);\n}\n\nfunction inferInspectorSectionId(path: string): string {\n return path.split('.')[0] || 'properties';\n}\n\nfunction inferControlKind<TDocument>(property: SerializedProperty<TDocument>): InspectorControlKind {\n if (property.readOnly) return 'readonly';\n switch (property.valueType) {\n case 'string':\n return 'string';\n case 'number':\n return 'number';\n case 'boolean':\n return 'boolean';\n case 'enum':\n return 'enum';\n case 'asset':\n return 'asset';\n case 'object':\n return 'object';\n default:\n return 'readonly';\n }\n}\n\nfunction inferCommitMode<TDocument>(property: SerializedProperty<TDocument>): InspectorCommitMode {\n switch (property.valueType) {\n case 'number':\n return 'live';\n case 'boolean':\n case 'enum':\n case 'asset':\n return 'immediate';\n default:\n return 'blur';\n }\n}\n\nfunction inferSectionPersistence<TDocument>(\n properties: readonly InspectorProperty<TDocument>[],\n): InspectorPersistenceMode {\n if (properties.some(property => property.persistence === 'document')) return 'document';\n if (properties.some(property => property.persistence === 'runtime')) return 'runtime';\n return 'readonly';\n}\n\nfunction toInspectorTitle(id: string): string {\n return id\n .replace(/([a-z0-9])([A-Z])/g, '$1 $2')\n .replace(/[-_]+/g, ' ')\n .replace(/\\b\\w/g, char => char.toUpperCase());\n}\n"]}
1
+ {"version":3,"file":"inspector.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,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;AAClD,CAAC","sourcesContent":["import type {\n SerializedMultiObject,\n SerializedObject,\n SerializedProperty,\n SerializedPropertyValueType,\n} from './serialized-object';\n\nexport type InspectorPersistenceMode = 'document' | 'runtime' | 'readonly';\n\nexport type InspectorControlKind =\n | 'readonly'\n | 'string'\n | 'number'\n | 'boolean'\n | 'enum'\n | 'vec2'\n | 'vec3'\n | 'color'\n | 'asset'\n | 'object'\n | 'custom';\n\nexport type InspectorCommitMode = 'live' | 'blur' | 'change' | 'immediate';\n\nexport type InspectorEffectMode = 'active' | 'default' | 'derived' | 'runtime' | 'unsupported';\n\nexport interface InspectorSelectionContext<TDocument = unknown> {\n targetIds: string[];\n activeId: string | null;\n targetKind?: string;\n document?: TDocument;\n runtimeTarget?: unknown;\n capabilities?: readonly string[];\n}\n\nexport interface InspectorValidationSuccess<TValue = unknown> {\n ok: true;\n value: TValue;\n}\n\nexport interface InspectorValidationFailure {\n ok: false;\n message: string;\n}\n\nexport type InspectorValidationResult<TValue = unknown> =\n | InspectorValidationSuccess<TValue>\n | InspectorValidationFailure;\n\nexport interface InspectorEnumOption<TValue = string | number | boolean | null> {\n label: string;\n value: TValue;\n disabled?: boolean;\n batchCompatibility?: 'include' | 'ignore';\n}\n\nexport interface InspectorProperty<TDocument = unknown> {\n id?: string;\n path: string;\n label: string;\n valueType: SerializedPropertyValueType | 'color' | 'vec2' | 'vec3';\n control: InspectorControlKind;\n customControl?: string;\n controlOptions?: Record<string, unknown>;\n value: unknown;\n mixed?: boolean;\n batchEdit?: boolean | 'auto';\n readOnly: boolean;\n persistence: InspectorPersistenceMode;\n commitMode: InspectorCommitMode;\n order?: number;\n tags?: readonly string[];\n tooltip?: string;\n effect?: InspectorEffectMode;\n disabledReason?: string;\n placeholder?: string;\n min?: number;\n max?: number;\n step?: number;\n precision?: number;\n stepPrecision?: number;\n options?: readonly InspectorEnumOption[];\n document?: TDocument;\n validate?: (value: unknown) => InspectorValidationResult;\n coerce?: (value: unknown) => unknown;\n source?: SerializedProperty<TDocument>;\n}\n\nexport interface InspectorSection<TDocument = unknown> {\n id: string;\n title: string;\n summary?: string;\n order?: number;\n placement?: 'summary' | 'body';\n collapsedByDefault?: boolean;\n persistence?: InspectorPersistenceMode;\n runtimeOnly?: boolean;\n effect?: InspectorEffectMode;\n disabledReason?: string;\n tags?: readonly string[];\n properties: InspectorProperty<TDocument>[];\n}\n\nexport interface InspectorObject<TDocument = unknown> {\n targetIds: string[];\n activeId: string | null;\n label?: string;\n selection: InspectorSelectionContext<TDocument>;\n sections: InspectorSection<TDocument>[];\n document?: TDocument;\n}\n\nexport interface InspectorPropertySignature {\n id?: string;\n path: string;\n label: string;\n valueType: InspectorProperty['valueType'];\n control: InspectorControlKind;\n customControl?: string;\n controlOptions?: Record<string, unknown>;\n mixed?: boolean;\n batchEdit?: boolean | 'auto';\n readOnly: boolean;\n persistence: InspectorPersistenceMode;\n commitMode: InspectorCommitMode;\n order?: number;\n tags?: readonly string[];\n tooltip?: string;\n effect?: InspectorEffectMode;\n disabledReason?: string;\n placeholder?: string;\n min?: number;\n max?: number;\n step?: number;\n precision?: number;\n stepPrecision?: number;\n options?: readonly InspectorEnumOption[];\n}\n\nexport interface InspectorSectionSignature {\n id: string;\n title: string;\n summary?: string;\n order?: number;\n placement?: 'summary' | 'body';\n collapsedByDefault?: boolean;\n persistence?: InspectorPersistenceMode;\n runtimeOnly?: boolean;\n effect?: InspectorEffectMode;\n disabledReason?: string;\n tags?: readonly string[];\n properties: InspectorPropertySignature[];\n}\n\nexport interface InspectorSignature {\n sections: InspectorSectionSignature[];\n}\n\nexport function createInspectorSignature<TDocument>(\n inspector: Pick<InspectorObject<TDocument>, 'sections'>,\n): InspectorSignature {\n return {\n sections: inspector.sections.map(section => ({\n id: section.id,\n title: section.title,\n summary: section.summary,\n order: section.order,\n placement: section.placement,\n collapsedByDefault: section.collapsedByDefault,\n persistence: section.persistence,\n runtimeOnly: section.runtimeOnly,\n effect: section.effect,\n disabledReason: section.disabledReason,\n tags: section.tags ? [...section.tags] : undefined,\n properties: section.properties.map(property => ({\n id: property.id,\n path: property.path,\n label: property.label,\n valueType: property.valueType,\n control: property.control,\n customControl: property.customControl,\n controlOptions: cloneInspectorSignatureMetadata(property.controlOptions),\n mixed: property.mixed,\n batchEdit: property.batchEdit,\n readOnly: property.readOnly,\n persistence: property.persistence,\n commitMode: property.commitMode,\n order: property.order,\n tags: property.tags ? [...property.tags] : undefined,\n tooltip: property.tooltip,\n effect: property.effect,\n disabledReason: property.disabledReason,\n placeholder: property.placeholder,\n min: property.min,\n max: property.max,\n step: property.step,\n precision: property.precision,\n stepPrecision: property.stepPrecision,\n options: property.options?.map(option => ({ ...option })),\n })),\n })),\n };\n}\n\nfunction cloneInspectorSignatureMetadata(\n value: Record<string, unknown> | undefined,\n): Record<string, unknown> | undefined {\n if (!value) return undefined;\n const cloneValue = (candidate: unknown): unknown => {\n if (candidate == null || typeof candidate === 'string' || typeof candidate === 'number' || typeof candidate === 'boolean') {\n return candidate;\n }\n if (Array.isArray(candidate)) return candidate.map(cloneValue);\n if (typeof candidate !== 'object') return undefined;\n return Object.fromEntries(Object.entries(candidate as Record<string, unknown>)\n .filter(([, entry]) => typeof entry !== 'function')\n .map(([key, entry]) => [key, cloneValue(entry)]));\n };\n return cloneValue(value) as Record<string, unknown>;\n}\n\nexport interface InspectorEditPayload {\n targetId: string;\n targetIds?: string[];\n path: string;\n value: unknown;\n control: InspectorControlKind;\n valueType: InspectorProperty['valueType'];\n commitMode: InspectorCommitMode;\n persistence: InspectorPersistenceMode;\n source?: 'input' | 'toggle' | 'select' | 'color' | 'asset' | 'custom';\n}\n\nexport interface InspectorEditInput {\n targetId: string;\n targetIds?: string[];\n path: string;\n value: unknown;\n control?: InspectorControlKind;\n valueType?: InspectorProperty['valueType'];\n commitMode?: InspectorCommitMode;\n persistence?: InspectorPersistenceMode;\n source?: InspectorEditPayload['source'];\n}\n\nexport interface InspectorComponentRegistration<TDocument = unknown> {\n id: string;\n order?: number;\n requiredCapabilities?: readonly string[];\n supports?(context: InspectorSelectionContext<TDocument>): boolean;\n createSections(context: InspectorSelectionContext<TDocument>): InspectorSection<TDocument>[];\n}\n\nexport type InspectorRegistryConflictStrategy = 'error' | 'ignore' | 'replace';\n\nexport interface InspectorRegistryOptions {\n onConflict?: InspectorRegistryConflictStrategy;\n propertyConflict?: InspectorRegistryConflictStrategy;\n}\n\nexport interface InspectorRegistrationOptions {\n onConflict?: InspectorRegistryConflictStrategy;\n}\n\nexport interface InspectorRegistrationHandle {\n id: string;\n dispose(): boolean;\n}\n\nexport interface InspectorSectionMergeOptions {\n propertyConflict?: InspectorRegistryConflictStrategy;\n}\n\nexport interface AggregateInspectorObjectsToMultiObjectInput<TDocument = unknown> {\n targetIds: readonly string[];\n activeId: string | null;\n inspectorObjects: readonly InspectorObject<TDocument>[];\n label?: string;\n document?: TDocument;\n}\n\nexport interface InspectorRegistry<TDocument = unknown> {\n register(\n component: InspectorComponentRegistration<TDocument>,\n options?: InspectorRegistrationOptions,\n ): InspectorRegistrationHandle;\n unregister(id: string): boolean;\n get(id: string): InspectorComponentRegistration<TDocument> | null;\n list(): InspectorComponentRegistration<TDocument>[];\n getSections(context: InspectorSelectionContext<TDocument>): InspectorSection<TDocument>[];\n}\n\nexport function createInspectorRegistry<TDocument = unknown>(\n options: InspectorRegistryOptions = {},\n): InspectorRegistry<TDocument> {\n const registrations = new Map<string, InspectorComponentRegistration<TDocument>>();\n const defaultConflict = options.onConflict ?? 'error';\n const propertyConflict = options.propertyConflict ?? 'error';\n return {\n register(component, registerOptions = {}) {\n const normalized = normalizeInspectorComponent(component);\n const conflict = registerOptions.onConflict ?? defaultConflict;\n const previous = registrations.get(normalized.id);\n if (previous) {\n if (conflict === 'error') {\n throw new Error(`Inspector component \"${normalized.id}\" is already registered.`);\n }\n if (conflict === 'ignore') {\n return {\n id: normalized.id,\n dispose: () => false,\n };\n }\n }\n registrations.set(normalized.id, normalized);\n return {\n id: normalized.id,\n dispose() {\n if (registrations.get(normalized.id) !== normalized) return false;\n registrations.delete(normalized.id);\n return true;\n },\n };\n },\n unregister(id) {\n return registrations.delete(id);\n },\n get(id) {\n return registrations.get(id) ?? null;\n },\n list() {\n return listInspectorComponents(registrations);\n },\n getSections(context) {\n const sections = listInspectorComponents(registrations)\n .filter(component => inspectorComponentSupports(component, context))\n .flatMap(component => component.createSections(context)\n .map(section => section.order == null && component.order != null\n ? { ...section, order: component.order }\n : section));\n return mergeInspectorSections([], sections, { propertyConflict });\n },\n };\n}\n\nexport function inspectorContextHasCapabilities<TDocument>(\n context: InspectorSelectionContext<TDocument>,\n requiredCapabilities: readonly string[] | undefined,\n): boolean {\n if (!requiredCapabilities || requiredCapabilities.length === 0) return true;\n const available = new Set(context.capabilities ?? []);\n return requiredCapabilities.every(capability => available.has(capability));\n}\n\nexport function inspectorComponentSupports<TDocument>(\n component: InspectorComponentRegistration<TDocument>,\n context: InspectorSelectionContext<TDocument>,\n): boolean {\n if (!inspectorContextHasCapabilities(context, component.requiredCapabilities)) return false;\n return component.supports?.(context) ?? true;\n}\n\nexport function mergeInspectorSections<TDocument>(\n baseSections: readonly InspectorSection<TDocument>[],\n extensionSections: readonly InspectorSection<TDocument>[],\n options: InspectorSectionMergeOptions = {},\n): InspectorSection<TDocument>[] {\n const propertyConflict = options.propertyConflict ?? 'error';\n const sections = new Map<string, InspectorSection<TDocument>>();\n const explicitEmptySections = new Set<string>();\n const editableProperties = new Map<string, {\n sectionId: string;\n property: InspectorProperty<TDocument>;\n }>();\n\n const appendSection = (section: InspectorSection<TDocument>) => {\n let target = sections.get(section.id);\n if (!target) {\n target = { ...section, properties: [] };\n sections.set(section.id, target);\n }\n if (section.properties.length === 0) explicitEmptySections.add(section.id);\n for (const property of section.properties) {\n appendProperty(target, property);\n }\n };\n\n const appendProperty = (\n section: InspectorSection<TDocument>,\n property: InspectorProperty<TDocument>,\n ) => {\n if (isEditableDocumentInspectorProperty(property)) {\n const previous = editableProperties.get(property.path);\n if (previous) {\n if (propertyConflict === 'error') {\n throw new Error(`Inspector property path \"${property.path}\" is already registered.`);\n }\n if (propertyConflict === 'ignore') return;\n const previousSection = sections.get(previous.sectionId);\n if (previousSection) {\n previousSection.properties = previousSection.properties.filter(candidate => candidate !== previous.property);\n }\n }\n editableProperties.set(property.path, { sectionId: section.id, property });\n }\n section.properties.push(property);\n };\n\n for (const section of baseSections) appendSection(section);\n for (const section of extensionSections) appendSection(section);\n return [...sections.values()]\n .filter(section => section.properties.length > 0 || explicitEmptySections.has(section.id))\n .sort(compareInspectorSections);\n}\n\nexport function isEditableDocumentInspectorProperty<TDocument>(\n property: InspectorProperty<TDocument>,\n): boolean {\n return property.persistence === 'document'\n && property.readOnly !== true\n && (property.effect == null || property.effect === 'active');\n}\n\nexport function aggregateInspectorObjectsToMultiObject<TDocument>(\n input: AggregateInspectorObjectsToMultiObjectInput<TDocument>,\n): InspectorObject<TDocument> | null {\n const targetIds = [...input.targetIds];\n if (targetIds.length === 0 || input.inspectorObjects.length !== targetIds.length) return null;\n const [first] = input.inspectorObjects;\n if (!first) return null;\n const byObject = input.inspectorObjects.map(object => indexInspectorPropertiesByPath(object));\n const sections: InspectorSection<TDocument>[] = [];\n\n for (const section of first.sections) {\n const properties: InspectorProperty<TDocument>[] = [];\n for (const property of section.properties) {\n if (!isEditableDocumentInspectorProperty(property)) continue;\n if (!isAutomaticBatchInspectorProperty(property)) continue;\n const matches = byObject.map(propertiesByPath => propertiesByPath.get(property.path) ?? null);\n if (matches.some(match => !match)) continue;\n const matchedProperties = matches as InspectorProperty<TDocument>[];\n if (!matchedProperties.every(match => inspectorPropertiesAreBatchCompatible(property, match))) continue;\n properties.push(aggregateInspectorPropertyValues(property, matchedProperties));\n }\n if (properties.length === 0) continue;\n sections.push({\n ...section,\n persistence: 'document',\n runtimeOnly: false,\n disabledReason: undefined,\n properties,\n });\n }\n\n if (sections.length === 0) return null;\n return {\n targetIds,\n activeId: input.activeId,\n label: input.label ?? `${targetIds.length} objects`,\n document: input.document,\n selection: {\n targetIds,\n activeId: input.activeId,\n document: input.document,\n },\n sections,\n };\n}\n\nexport function serializedObjectToInspectorObject<TDocument>(\n serializedObject: SerializedObject<TDocument>,\n document?: TDocument,\n): InspectorObject<TDocument> {\n return {\n targetIds: [serializedObject.targetId],\n activeId: serializedObject.targetId,\n label: serializedObject.label,\n document,\n selection: {\n targetIds: [serializedObject.targetId],\n activeId: serializedObject.targetId,\n document,\n },\n sections: serializedPropertiesToInspectorSections(serializedObject.properties),\n };\n}\n\nexport function serializedMultiObjectToInspectorObject<TDocument>(\n serializedObject: SerializedMultiObject<TDocument>,\n document?: TDocument,\n): InspectorObject<TDocument> {\n return {\n targetIds: serializedObject.targetIds,\n activeId: serializedObject.activeId,\n label: serializedObject.label,\n document,\n selection: {\n targetIds: serializedObject.targetIds,\n activeId: serializedObject.activeId,\n document,\n },\n sections: serializedPropertiesToInspectorSections(serializedObject.properties),\n };\n}\n\nexport function serializedPropertiesToInspectorSections<TDocument>(\n properties: readonly SerializedProperty<TDocument>[],\n): InspectorSection<TDocument>[] {\n const sections = new Map<string, { order: number; properties: InspectorProperty<TDocument>[] }>();\n for (const [index, property] of properties.entries()) {\n const sectionId = inferInspectorSectionId(property.path);\n const section = sections.get(sectionId) ?? { order: sections.size, properties: [] };\n section.properties.push(serializedPropertyToInspectorProperty(property, index));\n sections.set(sectionId, section);\n }\n\n return [...sections.entries()]\n .map(([id, section]) => ({\n id,\n title: toInspectorTitle(id),\n order: section.order,\n placement: id === 'gameObject' ? 'summary' as const : 'body' as const,\n persistence: inferSectionPersistence(section.properties),\n properties: section.properties,\n }))\n .sort(compareInspectorSections);\n}\n\nexport function serializedPropertyToInspectorProperty<TDocument>(\n property: SerializedProperty<TDocument>,\n order?: number,\n): InspectorProperty<TDocument> {\n const readOnly = property.readOnly === true;\n return {\n path: property.path,\n label: property.label,\n valueType: property.valueType,\n control: inferControlKind(property),\n value: property.value,\n options: property.options,\n mixed: property.mixed,\n readOnly,\n persistence: readOnly ? 'readonly' : 'document',\n commitMode: inferCommitMode(property),\n order,\n source: property,\n };\n}\n\nexport function coerceInspectorEditValue(\n property: Pick<InspectorProperty, 'control' | 'valueType' | 'coerce'>,\n value: unknown,\n): unknown {\n if (property.coerce) return property.coerce(value);\n if (property.control === 'number' || property.valueType === 'number') {\n const numeric = typeof value === 'number' ? value : Number(value);\n return Number.isFinite(numeric) ? numeric : value;\n }\n if (property.control === 'boolean' || property.valueType === 'boolean') {\n if (typeof value === 'boolean') return value;\n if (value === 'true') return true;\n if (value === 'false') return false;\n }\n return value;\n}\n\nexport function validateInspectorEditValue(\n property: Pick<InspectorProperty, 'readOnly' | 'persistence' | 'validate' | 'control' | 'valueType' | 'effect' | 'disabledReason'>,\n value: unknown,\n): InspectorValidationResult {\n if (property.readOnly || property.persistence !== 'document') {\n return { ok: false, message: 'Inspector property is not editable.' };\n }\n if (property.effect && property.effect !== 'active') {\n return { ok: false, message: property.disabledReason ?? `Inspector property is ${property.effect}.` };\n }\n if ((property.control === 'number' || property.valueType === 'number')\n && (typeof value !== 'number' || !Number.isFinite(value))) {\n return { ok: false, message: 'Expected a finite number.' };\n }\n if ((property.control === 'boolean' || property.valueType === 'boolean') && typeof value !== 'boolean') {\n return { ok: false, message: 'Expected a boolean value.' };\n }\n return property.validate?.(value) ?? { ok: true, value };\n}\n\nexport function createInspectorEditPayload(\n property: InspectorProperty,\n input: InspectorEditInput,\n): InspectorValidationResult<InspectorEditPayload> {\n if (property.path !== input.path) {\n return {\n ok: false,\n message: `Inspector edit path mismatch: expected ${property.path}, received ${input.path}.`,\n };\n }\n const coercedValue = coerceInspectorEditValue(property, input.value);\n const validation = validateInspectorEditValue(property, coercedValue);\n if (!validation.ok) return validation;\n return {\n ok: true,\n value: {\n targetId: input.targetId,\n targetIds: input.targetIds,\n path: property.path,\n value: validation.value,\n control: property.control,\n valueType: property.valueType,\n commitMode: property.commitMode,\n persistence: property.persistence,\n source: input.source,\n },\n };\n}\n\nexport function compareInspectorSections<TDocument>(\n left: InspectorSection<TDocument>,\n right: InspectorSection<TDocument>,\n): number {\n return (left.order ?? 0) - (right.order ?? 0)\n || left.title.localeCompare(right.title)\n || left.id.localeCompare(right.id);\n}\n\nexport function compareInspectorProperties<TDocument>(\n left: InspectorProperty<TDocument>,\n right: InspectorProperty<TDocument>,\n): number {\n return (left.order ?? 0) - (right.order ?? 0)\n || left.label.localeCompare(right.label)\n || left.path.localeCompare(right.path);\n}\n\nfunction normalizeInspectorComponent<TDocument>(\n component: InspectorComponentRegistration<TDocument>,\n): InspectorComponentRegistration<TDocument> {\n const id = component.id.trim();\n if (!id) throw new Error('Inspector component id is required.');\n return id === component.id ? component : { ...component, id };\n}\n\nfunction indexInspectorPropertiesByPath<TDocument>(\n inspectorObject: InspectorObject<TDocument>,\n): Map<string, InspectorProperty<TDocument>> {\n const properties = new Map<string, InspectorProperty<TDocument>>();\n for (const section of inspectorObject.sections) {\n for (const property of section.properties) {\n if (!properties.has(property.path)) properties.set(property.path, property);\n }\n }\n return properties;\n}\n\nfunction inspectorPropertiesAreBatchCompatible<TDocument>(\n first: InspectorProperty<TDocument>,\n next: InspectorProperty<TDocument>,\n): boolean {\n return isEditableDocumentInspectorProperty(next)\n && isAutomaticBatchInspectorProperty(next)\n && first.path === next.path\n && first.valueType === next.valueType\n && first.control === next.control\n && first.customControl === next.customControl\n && inspectorValuesAreEqual(first.controlOptions ?? null, next.controlOptions ?? null)\n && first.persistence === next.persistence\n && first.commitMode === next.commitMode\n && first.min === next.min\n && first.max === next.max\n && first.step === next.step\n && first.precision === next.precision\n && first.stepPrecision === next.stepPrecision\n && inspectorEnumOptionsAreBatchCompatible(first.options ?? null, next.options ?? null);\n}\n\nfunction isAutomaticBatchInspectorProperty<TDocument>(\n property: InspectorProperty<TDocument>,\n): boolean {\n return property.batchEdit !== false;\n}\n\nfunction aggregateInspectorPropertyValues<TDocument>(\n first: InspectorProperty<TDocument>,\n properties: readonly InspectorProperty<TDocument>[],\n): InspectorProperty<TDocument> {\n return {\n ...first,\n options: createBatchInspectorPropertyOptions(first.options),\n value: first.value,\n mixed: properties.some(property => property.mixed === true || !inspectorValuesAreEqual(first.value, property.value)),\n document: undefined,\n source: undefined,\n };\n}\n\nfunction inspectorEnumOptionsAreBatchCompatible(\n first: readonly InspectorEnumOption[] | null,\n next: readonly InspectorEnumOption[] | null,\n): boolean {\n return inspectorValuesAreEqual(createBatchInspectorPropertyOptions(first), createBatchInspectorPropertyOptions(next));\n}\n\nfunction createBatchInspectorPropertyOptions(\n options: readonly InspectorEnumOption[] | null | undefined,\n): readonly InspectorEnumOption[] | undefined {\n if (!options) return undefined;\n return options.filter(option => option.batchCompatibility !== 'ignore');\n}\n\nfunction inspectorValuesAreEqual(left: unknown, right: unknown): boolean {\n if (Object.is(left, right)) return true;\n if (typeof left !== typeof right) return false;\n if (left == null || right == null) return false;\n if (Array.isArray(left) || Array.isArray(right)) {\n if (!Array.isArray(left) || !Array.isArray(right) || left.length !== right.length) return false;\n return left.every((item, index) => inspectorValuesAreEqual(item, right[index]));\n }\n if (typeof left !== 'object' || typeof right !== 'object') return false;\n const leftRecord = left as Record<string, unknown>;\n const rightRecord = right as Record<string, unknown>;\n const leftKeys = Object.keys(leftRecord).sort();\n const rightKeys = Object.keys(rightRecord).sort();\n if (leftKeys.length !== rightKeys.length) return false;\n return leftKeys.every((key, index) => key === rightKeys[index] && inspectorValuesAreEqual(leftRecord[key], rightRecord[key]));\n}\n\nfunction listInspectorComponents<TDocument>(\n registrations: Map<string, InspectorComponentRegistration<TDocument>>,\n): InspectorComponentRegistration<TDocument>[] {\n return [...registrations.values()].sort(compareInspectorComponents);\n}\n\nfunction compareInspectorComponents<TDocument>(\n left: InspectorComponentRegistration<TDocument>,\n right: InspectorComponentRegistration<TDocument>,\n): number {\n return (left.order ?? 0) - (right.order ?? 0) || left.id.localeCompare(right.id);\n}\n\nfunction inferInspectorSectionId(path: string): string {\n return path.split('.')[0] || 'properties';\n}\n\nfunction inferControlKind<TDocument>(property: SerializedProperty<TDocument>): InspectorControlKind {\n if (property.readOnly) return 'readonly';\n switch (property.valueType) {\n case 'string':\n return 'string';\n case 'number':\n return 'number';\n case 'boolean':\n return 'boolean';\n case 'enum':\n return 'enum';\n case 'asset':\n return 'asset';\n case 'object':\n return 'object';\n default:\n return 'readonly';\n }\n}\n\nfunction inferCommitMode<TDocument>(property: SerializedProperty<TDocument>): InspectorCommitMode {\n switch (property.valueType) {\n case 'number':\n return 'live';\n case 'boolean':\n case 'enum':\n case 'asset':\n return 'immediate';\n default:\n return 'blur';\n }\n}\n\nfunction inferSectionPersistence<TDocument>(\n properties: readonly InspectorProperty<TDocument>[],\n): InspectorPersistenceMode {\n if (properties.some(property => property.persistence === 'document')) return 'document';\n if (properties.some(property => property.persistence === 'runtime')) return 'runtime';\n return 'readonly';\n}\n\nfunction toInspectorTitle(id: string): string {\n return id\n .replace(/([a-z0-9])([A-Z])/g, '$1 $2')\n .replace(/[-_]+/g, ' ')\n .replace(/\\b\\w/g, char => char.toUpperCase());\n}\n"]}
@@ -14,6 +14,7 @@ export interface SceneGraphTreeItem {
14
14
  selectable?: boolean;
15
15
  enabled?: boolean;
16
16
  directEnabled?: boolean;
17
+ enabledState?: 'authored' | 'editor';
17
18
  canToggleEnabled?: boolean;
18
19
  enableToggleDisabledReason?: string;
19
20
  locked?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"scene-graph.d.ts","sourceRoot":"","sources":["../src/scene-graph.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC;AAEtC,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAExE,MAAM,MAAM,uBAAuB,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEpE,MAAM,MAAM,uBAAuB,GAAG,uBAAuB,GAAG,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