@cratis/scene.model 4.2.0 → 4.3.0

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 (457) hide show
  1. package/common/DestinationReference.ts +18 -0
  2. package/common/IconReference.ts +22 -0
  3. package/common/index.ts +2 -0
  4. package/descriptors/CollectionItemDescriptor.ts +20 -0
  5. package/descriptors/CollectionOperation.ts +20 -0
  6. package/descriptors/ComponentDescriptor.ts +33 -0
  7. package/descriptors/LayoutCapabilities.ts +32 -0
  8. package/descriptors/LayoutChildPlacement.ts +16 -0
  9. package/descriptors/LayoutType.ts +28 -0
  10. package/descriptors/LayoutTypeDescriptor.ts +25 -0
  11. package/descriptors/PropertyChoice.ts +13 -0
  12. package/descriptors/PropertyConstraints.ts +41 -0
  13. package/descriptors/PropertyDescriptor.ts +55 -0
  14. package/descriptors/PropertyValueType.ts +30 -0
  15. package/descriptors/index.ts +14 -0
  16. package/dist/cjs/common/DestinationReference.js +11 -0
  17. package/dist/cjs/common/DestinationReference.js.map +1 -0
  18. package/dist/cjs/common/IconReference.js +18 -0
  19. package/dist/cjs/common/IconReference.js.map +1 -0
  20. package/dist/cjs/descriptors/CollectionItemDescriptor.js +11 -0
  21. package/dist/cjs/descriptors/CollectionItemDescriptor.js.map +1 -0
  22. package/dist/cjs/descriptors/CollectionOperation.js +17 -0
  23. package/dist/cjs/descriptors/CollectionOperation.js.map +1 -0
  24. package/dist/cjs/descriptors/ComponentDescriptor.js +14 -0
  25. package/dist/cjs/descriptors/ComponentDescriptor.js.map +1 -0
  26. package/dist/cjs/descriptors/LayoutCapabilities.js +15 -0
  27. package/dist/cjs/descriptors/LayoutCapabilities.js.map +1 -0
  28. package/dist/cjs/descriptors/LayoutChildPlacement.js +15 -0
  29. package/dist/cjs/descriptors/LayoutChildPlacement.js.map +1 -0
  30. package/dist/cjs/descriptors/LayoutType.js +25 -0
  31. package/dist/cjs/descriptors/LayoutType.js.map +1 -0
  32. package/dist/cjs/descriptors/LayoutTypeDescriptor.js +14 -0
  33. package/dist/cjs/descriptors/LayoutTypeDescriptor.js.map +1 -0
  34. package/dist/cjs/descriptors/PropertyChoice.js +14 -0
  35. package/dist/cjs/descriptors/PropertyChoice.js.map +1 -0
  36. package/dist/cjs/descriptors/PropertyConstraints.js +19 -0
  37. package/dist/cjs/descriptors/PropertyConstraints.js.map +1 -0
  38. package/dist/cjs/descriptors/PropertyDescriptor.js +20 -0
  39. package/dist/cjs/descriptors/PropertyDescriptor.js.map +1 -0
  40. package/dist/cjs/descriptors/PropertyValueType.js +22 -0
  41. package/dist/cjs/descriptors/PropertyValueType.js.map +1 -0
  42. package/dist/cjs/editing/AddCollectionItemEdit.js +15 -0
  43. package/dist/cjs/editing/AddCollectionItemEdit.js.map +1 -0
  44. package/dist/cjs/editing/ChangeLayoutTypeEdit.js +13 -0
  45. package/dist/cjs/editing/ChangeLayoutTypeEdit.js.map +1 -0
  46. package/dist/cjs/editing/DiagnosticCode.js +57 -0
  47. package/dist/cjs/editing/DiagnosticCode.js.map +1 -0
  48. package/dist/cjs/editing/DiagnosticSeverity.js +15 -0
  49. package/dist/cjs/editing/DiagnosticSeverity.js.map +1 -0
  50. package/dist/cjs/editing/EditCollectionItemEdit.js +16 -0
  51. package/dist/cjs/editing/EditCollectionItemEdit.js.map +1 -0
  52. package/dist/cjs/editing/EditTarget.js +14 -0
  53. package/dist/cjs/editing/EditTarget.js.map +1 -0
  54. package/dist/cjs/editing/EditingScope.js +12 -0
  55. package/dist/cjs/editing/EditingScope.js.map +1 -0
  56. package/dist/cjs/editing/EditingScopeKind.js +16 -0
  57. package/dist/cjs/editing/EditingScopeKind.js.map +1 -0
  58. package/dist/cjs/editing/EffectiveCollectionItem.js +15 -0
  59. package/dist/cjs/editing/EffectiveCollectionItem.js.map +1 -0
  60. package/dist/cjs/editing/EffectiveComponentConfiguration.js +13 -0
  61. package/dist/cjs/editing/EffectiveComponentConfiguration.js.map +1 -0
  62. package/dist/cjs/editing/EffectiveConfiguration.js +11 -0
  63. package/dist/cjs/editing/EffectiveConfiguration.js.map +1 -0
  64. package/dist/cjs/editing/EffectivePropertyValue.js +15 -0
  65. package/dist/cjs/editing/EffectivePropertyValue.js.map +1 -0
  66. package/dist/cjs/editing/ExposePropertyEdit.js +12 -0
  67. package/dist/cjs/editing/ExposePropertyEdit.js.map +1 -0
  68. package/dist/cjs/editing/InsertNodeEdit.js +15 -0
  69. package/dist/cjs/editing/InsertNodeEdit.js.map +1 -0
  70. package/dist/cjs/editing/InspectedCollectionItem.js +15 -0
  71. package/dist/cjs/editing/InspectedCollectionItem.js.map +1 -0
  72. package/dist/cjs/editing/InspectedProperty.js +18 -0
  73. package/dist/cjs/editing/InspectedProperty.js.map +1 -0
  74. package/dist/cjs/editing/MoveNodeEdit.js +14 -0
  75. package/dist/cjs/editing/MoveNodeEdit.js.map +1 -0
  76. package/dist/cjs/editing/NodeInspection.js +19 -0
  77. package/dist/cjs/editing/NodeInspection.js.map +1 -0
  78. package/dist/cjs/editing/NodeProvenance.js +11 -0
  79. package/dist/cjs/editing/NodeProvenance.js.map +1 -0
  80. package/dist/cjs/editing/ProvenanceKind.js +15 -0
  81. package/dist/cjs/editing/ProvenanceKind.js.map +1 -0
  82. package/dist/cjs/editing/RemoveCollectionItemEdit.js +14 -0
  83. package/dist/cjs/editing/RemoveCollectionItemEdit.js.map +1 -0
  84. package/dist/cjs/editing/RemoveNodeEdit.js +11 -0
  85. package/dist/cjs/editing/RemoveNodeEdit.js.map +1 -0
  86. package/dist/cjs/editing/ReorderCollectionItemEdit.js +15 -0
  87. package/dist/cjs/editing/ReorderCollectionItemEdit.js.map +1 -0
  88. package/dist/cjs/editing/ResetInstanceValueEdit.js +13 -0
  89. package/dist/cjs/editing/ResetInstanceValueEdit.js.map +1 -0
  90. package/dist/cjs/editing/ResetPropertyEdit.js +12 -0
  91. package/dist/cjs/editing/ResetPropertyEdit.js.map +1 -0
  92. package/dist/cjs/editing/SceneDiagnostic.js +17 -0
  93. package/dist/cjs/editing/SceneDiagnostic.js.map +1 -0
  94. package/dist/cjs/editing/SceneDocument.js +15 -0
  95. package/dist/cjs/editing/SceneDocument.js.map +1 -0
  96. package/dist/cjs/editing/SceneEditKind.js +27 -0
  97. package/dist/cjs/editing/SceneEditKind.js.map +1 -0
  98. package/dist/cjs/editing/SceneNodeKind.js +21 -0
  99. package/dist/cjs/editing/SceneNodeKind.js.map +1 -0
  100. package/dist/cjs/editing/SetInstanceValueEdit.js +14 -0
  101. package/dist/cjs/editing/SetInstanceValueEdit.js.map +1 -0
  102. package/dist/cjs/editing/SetPropertyEdit.js +13 -0
  103. package/dist/cjs/editing/SetPropertyEdit.js.map +1 -0
  104. package/dist/cjs/editing/UnexposePropertyEdit.js +13 -0
  105. package/dist/cjs/editing/UnexposePropertyEdit.js.map +1 -0
  106. package/dist/cjs/editing/ValueSource.js +15 -0
  107. package/dist/cjs/editing/ValueSource.js.map +1 -0
  108. package/dist/cjs/exposure/ContributedItem.js +14 -0
  109. package/dist/cjs/exposure/ContributedItem.js.map +1 -0
  110. package/dist/cjs/exposure/ExposedProperty.js +15 -0
  111. package/dist/cjs/exposure/ExposedProperty.js.map +1 -0
  112. package/dist/cjs/exposure/ExposureDeclaration.js +11 -0
  113. package/dist/cjs/exposure/ExposureDeclaration.js.map +1 -0
  114. package/dist/cjs/exposure/InstanceContribution.js +14 -0
  115. package/dist/cjs/exposure/InstanceContribution.js.map +1 -0
  116. package/dist/cjs/index.js +118 -0
  117. package/dist/cjs/index.js.map +1 -1
  118. package/dist/cjs/queries/QueryArgumentBinding.js +11 -0
  119. package/dist/cjs/queries/QueryArgumentBinding.js.map +1 -0
  120. package/dist/cjs/queries/QueryBinding.js +13 -0
  121. package/dist/cjs/queries/QueryBinding.js.map +1 -0
  122. package/dist/cjs/queries/QueryCandidate.js +15 -0
  123. package/dist/cjs/queries/QueryCandidate.js.map +1 -0
  124. package/dist/cjs/queries/QueryOrigin.js +12 -0
  125. package/dist/cjs/queries/QueryOrigin.js.map +1 -0
  126. package/dist/cjs/queries/QueryOriginKind.js +14 -0
  127. package/dist/cjs/queries/QueryOriginKind.js.map +1 -0
  128. package/dist/cjs/queries/QueryParameter.js +14 -0
  129. package/dist/cjs/queries/QueryParameter.js.map +1 -0
  130. package/dist/cjs/queries/QueryResultBinding.js +13 -0
  131. package/dist/cjs/queries/QueryResultBinding.js.map +1 -0
  132. package/dist/cjs/queries/QueryResultField.js +14 -0
  133. package/dist/cjs/queries/QueryResultField.js.map +1 -0
  134. package/dist/cjs/queries/QueryResultShape.js +16 -0
  135. package/dist/cjs/queries/QueryResultShape.js.map +1 -0
  136. package/dist/esm/common/DestinationReference.d.ts +7 -0
  137. package/dist/esm/common/DestinationReference.d.ts.map +1 -0
  138. package/dist/esm/common/DestinationReference.js +9 -0
  139. package/dist/esm/common/DestinationReference.js.map +1 -0
  140. package/dist/esm/common/IconReference.d.ts +7 -0
  141. package/dist/esm/common/IconReference.d.ts.map +1 -0
  142. package/dist/esm/common/IconReference.js +16 -0
  143. package/dist/esm/common/IconReference.js.map +1 -0
  144. package/dist/esm/common/index.d.ts +2 -0
  145. package/dist/esm/common/index.d.ts.map +1 -1
  146. package/dist/esm/common/index.js +2 -0
  147. package/dist/esm/common/index.js.map +1 -1
  148. package/dist/esm/descriptors/CollectionItemDescriptor.d.ts +7 -0
  149. package/dist/esm/descriptors/CollectionItemDescriptor.d.ts.map +1 -0
  150. package/dist/esm/descriptors/CollectionItemDescriptor.js +9 -0
  151. package/dist/esm/descriptors/CollectionItemDescriptor.js.map +1 -0
  152. package/dist/esm/descriptors/CollectionOperation.d.ts +7 -0
  153. package/dist/esm/descriptors/CollectionOperation.d.ts.map +1 -0
  154. package/dist/esm/descriptors/CollectionOperation.js +15 -0
  155. package/dist/esm/descriptors/CollectionOperation.js.map +1 -0
  156. package/dist/esm/descriptors/ComponentDescriptor.d.ts +10 -0
  157. package/dist/esm/descriptors/ComponentDescriptor.d.ts.map +1 -0
  158. package/dist/esm/descriptors/ComponentDescriptor.js +12 -0
  159. package/dist/esm/descriptors/ComponentDescriptor.js.map +1 -0
  160. package/dist/esm/descriptors/LayoutCapabilities.d.ts +12 -0
  161. package/dist/esm/descriptors/LayoutCapabilities.d.ts.map +1 -0
  162. package/dist/esm/descriptors/LayoutCapabilities.js +13 -0
  163. package/dist/esm/descriptors/LayoutCapabilities.js.map +1 -0
  164. package/dist/esm/descriptors/LayoutChildPlacement.d.ts +6 -0
  165. package/dist/esm/descriptors/LayoutChildPlacement.d.ts.map +1 -0
  166. package/dist/esm/descriptors/LayoutChildPlacement.js +13 -0
  167. package/dist/esm/descriptors/LayoutChildPlacement.js.map +1 -0
  168. package/dist/esm/descriptors/LayoutType.d.ts +14 -0
  169. package/dist/esm/descriptors/LayoutType.d.ts.map +1 -0
  170. package/dist/esm/descriptors/LayoutType.js +23 -0
  171. package/dist/esm/descriptors/LayoutType.js.map +1 -0
  172. package/dist/esm/descriptors/LayoutTypeDescriptor.d.ts +12 -0
  173. package/dist/esm/descriptors/LayoutTypeDescriptor.d.ts.map +1 -0
  174. package/dist/esm/descriptors/LayoutTypeDescriptor.js +12 -0
  175. package/dist/esm/descriptors/LayoutTypeDescriptor.js.map +1 -0
  176. package/dist/esm/descriptors/PropertyChoice.d.ts +7 -0
  177. package/dist/esm/descriptors/PropertyChoice.d.ts.map +1 -0
  178. package/dist/esm/descriptors/PropertyChoice.js +12 -0
  179. package/dist/esm/descriptors/PropertyChoice.js.map +1 -0
  180. package/dist/esm/descriptors/PropertyConstraints.d.ts +15 -0
  181. package/dist/esm/descriptors/PropertyConstraints.d.ts.map +1 -0
  182. package/dist/esm/descriptors/PropertyConstraints.js +17 -0
  183. package/dist/esm/descriptors/PropertyConstraints.js.map +1 -0
  184. package/dist/esm/descriptors/PropertyDescriptor.d.ts +19 -0
  185. package/dist/esm/descriptors/PropertyDescriptor.d.ts.map +1 -0
  186. package/dist/esm/descriptors/PropertyDescriptor.js +18 -0
  187. package/dist/esm/descriptors/PropertyDescriptor.js.map +1 -0
  188. package/dist/esm/descriptors/PropertyValueType.d.ts +12 -0
  189. package/dist/esm/descriptors/PropertyValueType.d.ts.map +1 -0
  190. package/dist/esm/descriptors/PropertyValueType.js +20 -0
  191. package/dist/esm/descriptors/PropertyValueType.js.map +1 -0
  192. package/dist/esm/descriptors/index.d.ts +12 -0
  193. package/dist/esm/descriptors/index.d.ts.map +1 -0
  194. package/dist/esm/descriptors/index.js +12 -0
  195. package/dist/esm/descriptors/index.js.map +1 -0
  196. package/dist/esm/editing/AddCollectionItemEdit.d.ts +12 -0
  197. package/dist/esm/editing/AddCollectionItemEdit.d.ts.map +1 -0
  198. package/dist/esm/editing/AddCollectionItemEdit.js +13 -0
  199. package/dist/esm/editing/AddCollectionItemEdit.js.map +1 -0
  200. package/dist/esm/editing/ChangeLayoutTypeEdit.d.ts +10 -0
  201. package/dist/esm/editing/ChangeLayoutTypeEdit.d.ts.map +1 -0
  202. package/dist/esm/editing/ChangeLayoutTypeEdit.js +11 -0
  203. package/dist/esm/editing/ChangeLayoutTypeEdit.js.map +1 -0
  204. package/dist/esm/editing/DiagnosticCode.d.ts +41 -0
  205. package/dist/esm/editing/DiagnosticCode.d.ts.map +1 -0
  206. package/dist/esm/editing/DiagnosticCode.js +55 -0
  207. package/dist/esm/editing/DiagnosticCode.js.map +1 -0
  208. package/dist/esm/editing/DiagnosticSeverity.d.ts +5 -0
  209. package/dist/esm/editing/DiagnosticSeverity.d.ts.map +1 -0
  210. package/dist/esm/editing/DiagnosticSeverity.js +13 -0
  211. package/dist/esm/editing/DiagnosticSeverity.js.map +1 -0
  212. package/dist/esm/editing/EditCollectionItemEdit.d.ts +12 -0
  213. package/dist/esm/editing/EditCollectionItemEdit.d.ts.map +1 -0
  214. package/dist/esm/editing/EditCollectionItemEdit.js +14 -0
  215. package/dist/esm/editing/EditCollectionItemEdit.js.map +1 -0
  216. package/dist/esm/editing/EditTarget.d.ts +5 -0
  217. package/dist/esm/editing/EditTarget.d.ts.map +1 -0
  218. package/dist/esm/editing/EditTarget.js +12 -0
  219. package/dist/esm/editing/EditTarget.js.map +1 -0
  220. package/dist/esm/editing/EditingScope.d.ts +8 -0
  221. package/dist/esm/editing/EditingScope.d.ts.map +1 -0
  222. package/dist/esm/editing/EditingScope.js +10 -0
  223. package/dist/esm/editing/EditingScope.js.map +1 -0
  224. package/dist/esm/editing/EditingScopeKind.d.ts +7 -0
  225. package/dist/esm/editing/EditingScopeKind.d.ts.map +1 -0
  226. package/dist/esm/editing/EditingScopeKind.js +14 -0
  227. package/dist/esm/editing/EditingScopeKind.js.map +1 -0
  228. package/dist/esm/editing/EffectiveCollectionItem.d.ts +8 -0
  229. package/dist/esm/editing/EffectiveCollectionItem.d.ts.map +1 -0
  230. package/dist/esm/editing/EffectiveCollectionItem.js +13 -0
  231. package/dist/esm/editing/EffectiveCollectionItem.js.map +1 -0
  232. package/dist/esm/editing/EffectiveComponentConfiguration.d.ts +9 -0
  233. package/dist/esm/editing/EffectiveComponentConfiguration.d.ts.map +1 -0
  234. package/dist/esm/editing/EffectiveComponentConfiguration.js +11 -0
  235. package/dist/esm/editing/EffectiveComponentConfiguration.js.map +1 -0
  236. package/dist/esm/editing/EffectiveConfiguration.d.ts +8 -0
  237. package/dist/esm/editing/EffectiveConfiguration.d.ts.map +1 -0
  238. package/dist/esm/editing/EffectiveConfiguration.js +9 -0
  239. package/dist/esm/editing/EffectiveConfiguration.js.map +1 -0
  240. package/dist/esm/editing/EffectivePropertyValue.d.ts +12 -0
  241. package/dist/esm/editing/EffectivePropertyValue.d.ts.map +1 -0
  242. package/dist/esm/editing/EffectivePropertyValue.js +13 -0
  243. package/dist/esm/editing/EffectivePropertyValue.js.map +1 -0
  244. package/dist/esm/editing/ExposePropertyEdit.d.ts +9 -0
  245. package/dist/esm/editing/ExposePropertyEdit.d.ts.map +1 -0
  246. package/dist/esm/editing/ExposePropertyEdit.js +10 -0
  247. package/dist/esm/editing/ExposePropertyEdit.js.map +1 -0
  248. package/dist/esm/editing/InsertNodeEdit.d.ts +13 -0
  249. package/dist/esm/editing/InsertNodeEdit.d.ts.map +1 -0
  250. package/dist/esm/editing/InsertNodeEdit.js +13 -0
  251. package/dist/esm/editing/InsertNodeEdit.js.map +1 -0
  252. package/dist/esm/editing/InspectedCollectionItem.d.ts +8 -0
  253. package/dist/esm/editing/InspectedCollectionItem.d.ts.map +1 -0
  254. package/dist/esm/editing/InspectedCollectionItem.js +13 -0
  255. package/dist/esm/editing/InspectedCollectionItem.js.map +1 -0
  256. package/dist/esm/editing/InspectedProperty.d.ts +17 -0
  257. package/dist/esm/editing/InspectedProperty.d.ts.map +1 -0
  258. package/dist/esm/editing/InspectedProperty.js +16 -0
  259. package/dist/esm/editing/InspectedProperty.js.map +1 -0
  260. package/dist/esm/editing/MoveNodeEdit.d.ts +10 -0
  261. package/dist/esm/editing/MoveNodeEdit.d.ts.map +1 -0
  262. package/dist/esm/editing/MoveNodeEdit.js +12 -0
  263. package/dist/esm/editing/MoveNodeEdit.js.map +1 -0
  264. package/dist/esm/editing/NodeInspection.d.ts +19 -0
  265. package/dist/esm/editing/NodeInspection.d.ts.map +1 -0
  266. package/dist/esm/editing/NodeInspection.js +17 -0
  267. package/dist/esm/editing/NodeInspection.js.map +1 -0
  268. package/dist/esm/editing/NodeProvenance.d.ts +7 -0
  269. package/dist/esm/editing/NodeProvenance.d.ts.map +1 -0
  270. package/dist/esm/editing/NodeProvenance.js +9 -0
  271. package/dist/esm/editing/NodeProvenance.js.map +1 -0
  272. package/dist/esm/editing/ProvenanceKind.d.ts +6 -0
  273. package/dist/esm/editing/ProvenanceKind.d.ts.map +1 -0
  274. package/dist/esm/editing/ProvenanceKind.js +13 -0
  275. package/dist/esm/editing/ProvenanceKind.js.map +1 -0
  276. package/dist/esm/editing/RemoveCollectionItemEdit.d.ts +10 -0
  277. package/dist/esm/editing/RemoveCollectionItemEdit.d.ts.map +1 -0
  278. package/dist/esm/editing/RemoveCollectionItemEdit.js +12 -0
  279. package/dist/esm/editing/RemoveCollectionItemEdit.js.map +1 -0
  280. package/dist/esm/editing/RemoveNodeEdit.d.ts +7 -0
  281. package/dist/esm/editing/RemoveNodeEdit.d.ts.map +1 -0
  282. package/dist/esm/editing/RemoveNodeEdit.js +9 -0
  283. package/dist/esm/editing/RemoveNodeEdit.js.map +1 -0
  284. package/dist/esm/editing/ReorderCollectionItemEdit.d.ts +11 -0
  285. package/dist/esm/editing/ReorderCollectionItemEdit.d.ts.map +1 -0
  286. package/dist/esm/editing/ReorderCollectionItemEdit.js +13 -0
  287. package/dist/esm/editing/ReorderCollectionItemEdit.js.map +1 -0
  288. package/dist/esm/editing/ResetInstanceValueEdit.d.ts +9 -0
  289. package/dist/esm/editing/ResetInstanceValueEdit.d.ts.map +1 -0
  290. package/dist/esm/editing/ResetInstanceValueEdit.js +11 -0
  291. package/dist/esm/editing/ResetInstanceValueEdit.js.map +1 -0
  292. package/dist/esm/editing/ResetPropertyEdit.d.ts +8 -0
  293. package/dist/esm/editing/ResetPropertyEdit.d.ts.map +1 -0
  294. package/dist/esm/editing/ResetPropertyEdit.js +10 -0
  295. package/dist/esm/editing/ResetPropertyEdit.js.map +1 -0
  296. package/dist/esm/editing/SceneDiagnostic.d.ts +14 -0
  297. package/dist/esm/editing/SceneDiagnostic.d.ts.map +1 -0
  298. package/dist/esm/editing/SceneDiagnostic.js +15 -0
  299. package/dist/esm/editing/SceneDiagnostic.js.map +1 -0
  300. package/dist/esm/editing/SceneDocument.d.ts +13 -0
  301. package/dist/esm/editing/SceneDocument.d.ts.map +1 -0
  302. package/dist/esm/editing/SceneDocument.js +13 -0
  303. package/dist/esm/editing/SceneDocument.js.map +1 -0
  304. package/dist/esm/editing/SceneEdit.d.ts +16 -0
  305. package/dist/esm/editing/SceneEdit.d.ts.map +1 -0
  306. package/dist/esm/editing/SceneEdit.js +2 -0
  307. package/dist/esm/editing/SceneEdit.js.map +1 -0
  308. package/dist/esm/editing/SceneEditKind.d.ts +17 -0
  309. package/dist/esm/editing/SceneEditKind.d.ts.map +1 -0
  310. package/dist/esm/editing/SceneEditKind.js +25 -0
  311. package/dist/esm/editing/SceneEditKind.js.map +1 -0
  312. package/dist/esm/editing/SceneNodeKind.d.ts +12 -0
  313. package/dist/esm/editing/SceneNodeKind.d.ts.map +1 -0
  314. package/dist/esm/editing/SceneNodeKind.js +19 -0
  315. package/dist/esm/editing/SceneNodeKind.js.map +1 -0
  316. package/dist/esm/editing/SetInstanceValueEdit.d.ts +10 -0
  317. package/dist/esm/editing/SetInstanceValueEdit.d.ts.map +1 -0
  318. package/dist/esm/editing/SetInstanceValueEdit.js +12 -0
  319. package/dist/esm/editing/SetInstanceValueEdit.js.map +1 -0
  320. package/dist/esm/editing/SetPropertyEdit.d.ts +9 -0
  321. package/dist/esm/editing/SetPropertyEdit.d.ts.map +1 -0
  322. package/dist/esm/editing/SetPropertyEdit.js +11 -0
  323. package/dist/esm/editing/SetPropertyEdit.js.map +1 -0
  324. package/dist/esm/editing/UnexposePropertyEdit.d.ts +9 -0
  325. package/dist/esm/editing/UnexposePropertyEdit.d.ts.map +1 -0
  326. package/dist/esm/editing/UnexposePropertyEdit.js +11 -0
  327. package/dist/esm/editing/UnexposePropertyEdit.js.map +1 -0
  328. package/dist/esm/editing/ValueSource.d.ts +6 -0
  329. package/dist/esm/editing/ValueSource.d.ts.map +1 -0
  330. package/dist/esm/editing/ValueSource.js +13 -0
  331. package/dist/esm/editing/ValueSource.js.map +1 -0
  332. package/dist/esm/editing/index.d.ts +35 -0
  333. package/dist/esm/editing/index.d.ts.map +1 -0
  334. package/dist/esm/editing/index.js +35 -0
  335. package/dist/esm/editing/index.js.map +1 -0
  336. package/dist/esm/exposure/ContributedItem.d.ts +6 -0
  337. package/dist/esm/exposure/ContributedItem.d.ts.map +1 -0
  338. package/dist/esm/exposure/ContributedItem.js +12 -0
  339. package/dist/esm/exposure/ContributedItem.js.map +1 -0
  340. package/dist/esm/exposure/ExposedProperty.d.ts +11 -0
  341. package/dist/esm/exposure/ExposedProperty.d.ts.map +1 -0
  342. package/dist/esm/exposure/ExposedProperty.js +13 -0
  343. package/dist/esm/exposure/ExposedProperty.js.map +1 -0
  344. package/dist/esm/exposure/ExposureDeclaration.d.ts +7 -0
  345. package/dist/esm/exposure/ExposureDeclaration.d.ts.map +1 -0
  346. package/dist/esm/exposure/ExposureDeclaration.js +9 -0
  347. package/dist/esm/exposure/ExposureDeclaration.js.map +1 -0
  348. package/dist/esm/exposure/InstanceContribution.d.ts +10 -0
  349. package/dist/esm/exposure/InstanceContribution.d.ts.map +1 -0
  350. package/dist/esm/exposure/InstanceContribution.js +12 -0
  351. package/dist/esm/exposure/InstanceContribution.js.map +1 -0
  352. package/dist/esm/exposure/index.d.ts +5 -0
  353. package/dist/esm/exposure/index.d.ts.map +1 -0
  354. package/dist/esm/exposure/index.js +5 -0
  355. package/dist/esm/exposure/index.js.map +1 -0
  356. package/dist/esm/index.d.ts +4 -0
  357. package/dist/esm/index.d.ts.map +1 -1
  358. package/dist/esm/index.js +59 -0
  359. package/dist/esm/index.js.map +1 -1
  360. package/dist/esm/queries/QueryArgumentBinding.d.ts +7 -0
  361. package/dist/esm/queries/QueryArgumentBinding.d.ts.map +1 -0
  362. package/dist/esm/queries/QueryArgumentBinding.js +9 -0
  363. package/dist/esm/queries/QueryArgumentBinding.js.map +1 -0
  364. package/dist/esm/queries/QueryBinding.d.ts +10 -0
  365. package/dist/esm/queries/QueryBinding.d.ts.map +1 -0
  366. package/dist/esm/queries/QueryBinding.js +11 -0
  367. package/dist/esm/queries/QueryBinding.js.map +1 -0
  368. package/dist/esm/queries/QueryCandidate.d.ts +14 -0
  369. package/dist/esm/queries/QueryCandidate.d.ts.map +1 -0
  370. package/dist/esm/queries/QueryCandidate.js +13 -0
  371. package/dist/esm/queries/QueryCandidate.js.map +1 -0
  372. package/dist/esm/queries/QueryOrigin.d.ts +8 -0
  373. package/dist/esm/queries/QueryOrigin.d.ts.map +1 -0
  374. package/dist/esm/queries/QueryOrigin.js +10 -0
  375. package/dist/esm/queries/QueryOrigin.js.map +1 -0
  376. package/dist/esm/queries/QueryOriginKind.d.ts +5 -0
  377. package/dist/esm/queries/QueryOriginKind.d.ts.map +1 -0
  378. package/dist/esm/queries/QueryOriginKind.js +12 -0
  379. package/dist/esm/queries/QueryOriginKind.js.map +1 -0
  380. package/dist/esm/queries/QueryParameter.d.ts +7 -0
  381. package/dist/esm/queries/QueryParameter.d.ts.map +1 -0
  382. package/dist/esm/queries/QueryParameter.js +12 -0
  383. package/dist/esm/queries/QueryParameter.js.map +1 -0
  384. package/dist/esm/queries/QueryResultBinding.d.ts +6 -0
  385. package/dist/esm/queries/QueryResultBinding.d.ts.map +1 -0
  386. package/dist/esm/queries/QueryResultBinding.js +11 -0
  387. package/dist/esm/queries/QueryResultBinding.js.map +1 -0
  388. package/dist/esm/queries/QueryResultField.d.ts +7 -0
  389. package/dist/esm/queries/QueryResultField.d.ts.map +1 -0
  390. package/dist/esm/queries/QueryResultField.js +12 -0
  391. package/dist/esm/queries/QueryResultField.js.map +1 -0
  392. package/dist/esm/queries/QueryResultShape.d.ts +6 -0
  393. package/dist/esm/queries/QueryResultShape.d.ts.map +1 -0
  394. package/dist/esm/queries/QueryResultShape.js +14 -0
  395. package/dist/esm/queries/QueryResultShape.js.map +1 -0
  396. package/dist/esm/queries/index.d.ts +10 -0
  397. package/dist/esm/queries/index.d.ts.map +1 -0
  398. package/dist/esm/queries/index.js +10 -0
  399. package/dist/esm/queries/index.js.map +1 -0
  400. package/dist/esm/tsconfig.tsbuildinfo +1 -1
  401. package/editing/AddCollectionItemEdit.ts +21 -0
  402. package/editing/ChangeLayoutTypeEdit.ts +22 -0
  403. package/editing/DiagnosticCode.ts +58 -0
  404. package/editing/DiagnosticSeverity.ts +11 -0
  405. package/editing/EditCollectionItemEdit.ts +23 -0
  406. package/editing/EditTarget.ts +13 -0
  407. package/editing/EditingScope.ts +24 -0
  408. package/editing/EditingScopeKind.ts +12 -0
  409. package/editing/EffectiveCollectionItem.ts +18 -0
  410. package/editing/EffectiveComponentConfiguration.ts +26 -0
  411. package/editing/EffectiveConfiguration.ts +23 -0
  412. package/editing/EffectivePropertyValue.ts +31 -0
  413. package/editing/ExposePropertyEdit.ts +18 -0
  414. package/editing/InsertNodeEdit.ts +30 -0
  415. package/editing/InspectedCollectionItem.ts +18 -0
  416. package/editing/InspectedProperty.ts +43 -0
  417. package/editing/MoveNodeEdit.ts +19 -0
  418. package/editing/NodeInspection.ts +46 -0
  419. package/editing/NodeProvenance.ts +16 -0
  420. package/editing/ProvenanceKind.ts +16 -0
  421. package/editing/RemoveCollectionItemEdit.ts +17 -0
  422. package/editing/RemoveNodeEdit.ts +14 -0
  423. package/editing/ReorderCollectionItemEdit.ts +20 -0
  424. package/editing/ResetInstanceValueEdit.ts +17 -0
  425. package/editing/ResetPropertyEdit.ts +15 -0
  426. package/editing/SceneDiagnostic.ts +34 -0
  427. package/editing/SceneDocument.ts +32 -0
  428. package/editing/SceneEdit.ts +36 -0
  429. package/editing/SceneEditKind.ts +23 -0
  430. package/editing/SceneNodeKind.ts +27 -0
  431. package/editing/SetInstanceValueEdit.ts +19 -0
  432. package/editing/SetPropertyEdit.ts +18 -0
  433. package/editing/UnexposePropertyEdit.ts +16 -0
  434. package/editing/ValueSource.ts +16 -0
  435. package/editing/index.ts +37 -0
  436. package/exposure/ContributedItem.ts +15 -0
  437. package/exposure/ExposedProperty.ts +46 -0
  438. package/exposure/ExposureDeclaration.ts +16 -0
  439. package/exposure/InstanceContribution.ts +36 -0
  440. package/exposure/index.ts +7 -0
  441. package/index.ts +4 -0
  442. package/package.json +3 -2
  443. package/queries/QueryArgumentBinding.ts +17 -0
  444. package/queries/QueryBinding.ts +22 -0
  445. package/queries/QueryCandidate.ts +37 -0
  446. package/queries/QueryOrigin.ts +18 -0
  447. package/queries/QueryOriginKind.ts +13 -0
  448. package/queries/QueryParameter.ts +16 -0
  449. package/queries/QueryResultBinding.ts +15 -0
  450. package/queries/QueryResultField.ts +17 -0
  451. package/queries/QueryResultShape.ts +17 -0
  452. package/queries/index.ts +12 -0
  453. package/dist/esm/for_shape/when_checking_the_mirror_matches_the_shared_manifest.d.ts +0 -2
  454. package/dist/esm/for_shape/when_checking_the_mirror_matches_the_shared_manifest.d.ts.map +0 -1
  455. package/dist/esm/for_shape/when_checking_the_mirror_matches_the_shared_manifest.js +0 -22
  456. package/dist/esm/for_shape/when_checking_the_mirror_matches_the_shared_manifest.js.map +0 -1
  457. package/for_shape/when_checking_the_mirror_matches_the_shared_manifest.ts +0 -32
@@ -0,0 +1,12 @@
1
+ export * from './PropertyValueType';
2
+ export * from './PropertyChoice';
3
+ export * from './PropertyConstraints';
4
+ export * from './CollectionItemDescriptor';
5
+ export * from './PropertyDescriptor';
6
+ export * from './ComponentDescriptor';
7
+ export * from './CollectionOperation';
8
+ export * from './LayoutType';
9
+ export * from './LayoutChildPlacement';
10
+ export * from './LayoutCapabilities';
11
+ export * from './LayoutTypeDescriptor';
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../descriptors/index.ts"],"names":[],"mappings":"AAGA,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { ContributedItem } from '../exposure';
2
+ import { SceneEditKind } from './SceneEditKind';
3
+ export interface AddCollectionItemEdit {
4
+ kind: SceneEditKind.AddCollectionItem;
5
+ instance?: string;
6
+ component: string;
7
+ path: string;
8
+ item: ContributedItem;
9
+ index?: number;
10
+ }
11
+ export declare const AddCollectionItemEditPropertyNames: (keyof AddCollectionItemEdit)[];
12
+ //# sourceMappingURL=AddCollectionItemEdit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddCollectionItemEdit.d.ts","sourceRoot":"","sources":["../../../editing/AddCollectionItemEdit.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKhD,MAAM,WAAW,qBAAqB;IAClC,IAAI,EAAE,aAAa,CAAC,iBAAiB,CAAC;IACtC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,eAAe,CAAC;IAGtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,kCAAkC,EAAE,CAAC,MAAM,qBAAqB,CAAC,EAA+D,CAAC"}
@@ -0,0 +1,13 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+ const AddCollectionItemEditPropertyNames = [
4
+ 'kind',
5
+ 'instance',
6
+ 'component',
7
+ 'path',
8
+ 'item',
9
+ 'index'
10
+ ];
11
+
12
+ export { AddCollectionItemEditPropertyNames };
13
+ //# sourceMappingURL=AddCollectionItemEdit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddCollectionItemEdit.js","sources":["../../../editing/AddCollectionItemEdit.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { ContributedItem } from '../exposure';\nimport { SceneEditKind } from './SceneEditKind';\n\n/**\n * Adds an item to an exposed collection from a template instance.\n */\nexport interface AddCollectionItemEdit {\n kind: SceneEditKind.AddCollectionItem;\n instance?: string;\n component: string;\n path: string;\n item: ContributedItem;\n\n /** Where among the instance's own items. Absent appends. */\n index?: number;\n}\n\nexport const AddCollectionItemEditPropertyNames: (keyof AddCollectionItemEdit)[] = ['kind', 'instance', 'component', 'path', 'item', 'index'];\n"],"names":["AddCollectionItemEditPropertyNames"],"mappings":"AAAA;AACA;MAmBaA,kCAAAA,GAAsE;AAAC,IAAA,MAAA;AAAQ,IAAA,UAAA;AAAY,IAAA,WAAA;AAAa,IAAA,MAAA;AAAQ,IAAA,MAAA;AAAQ,IAAA;;;"}
@@ -0,0 +1,10 @@
1
+ import { LayoutType } from '../descriptors';
2
+ import { SceneEditKind } from './SceneEditKind';
3
+ export interface ChangeLayoutTypeEdit {
4
+ kind: SceneEditKind.ChangeLayoutType;
5
+ nodeId: string;
6
+ to: `${LayoutType}`;
7
+ acceptLoss?: boolean;
8
+ }
9
+ export declare const ChangeLayoutTypeEditPropertyNames: (keyof ChangeLayoutTypeEdit)[];
10
+ //# sourceMappingURL=ChangeLayoutTypeEdit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChangeLayoutTypeEdit.d.ts","sourceRoot":"","sources":["../../../editing/ChangeLayoutTypeEdit.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKhD,MAAM,WAAW,oBAAoB;IACjC,IAAI,EAAE,aAAa,CAAC,gBAAgB,CAAC;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,GAAG,UAAU,EAAE,CAAC;IAMpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,iCAAiC,EAAE,CAAC,MAAM,oBAAoB,CAAC,EAA2C,CAAC"}
@@ -0,0 +1,11 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+ const ChangeLayoutTypeEditPropertyNames = [
4
+ 'kind',
5
+ 'nodeId',
6
+ 'to',
7
+ 'acceptLoss'
8
+ ];
9
+
10
+ export { ChangeLayoutTypeEditPropertyNames };
11
+ //# sourceMappingURL=ChangeLayoutTypeEdit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChangeLayoutTypeEdit.js","sources":["../../../editing/ChangeLayoutTypeEdit.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { LayoutType } from '../descriptors';\nimport { SceneEditKind } from './SceneEditKind';\n\n/**\n * Changes a layout node into another layout type, keeping its children.\n */\nexport interface ChangeLayoutTypeEdit {\n kind: SceneEditKind.ChangeLayoutType;\n nodeId: string;\n to: `${LayoutType}`;\n\n /**\n * Whether the author has seen what the conversion drops and accepts it. Without it a lossy conversion is\n * refused with a diagnostic naming what would be lost.\n */\n acceptLoss?: boolean;\n}\n\nexport const ChangeLayoutTypeEditPropertyNames: (keyof ChangeLayoutTypeEdit)[] = ['kind', 'nodeId', 'to', 'acceptLoss'];\n"],"names":["ChangeLayoutTypeEditPropertyNames"],"mappings":"AAAA;AACA;MAoBaA,iCAAAA,GAAoE;AAAC,IAAA,MAAA;AAAQ,IAAA,QAAA;AAAU,IAAA,IAAA;AAAM,IAAA;;;"}
@@ -0,0 +1,41 @@
1
+ export declare enum DiagnosticCode {
2
+ UnknownNode = "unknownNode",
3
+ DuplicateElementId = "duplicateElementId",
4
+ UnknownScope = "unknownScope",
5
+ InvalidEdit = "invalidEdit",
6
+ UnknownProperty = "unknownProperty",
7
+ InvalidValue = "invalidValue",
8
+ ReadOnlyProperty = "readOnlyProperty",
9
+ NodeNotEditable = "nodeNotEditable",
10
+ MissingComponentDescriptor = "missingComponentDescriptor",
11
+ NotALayoutNode = "notALayoutNode",
12
+ LayoutTypeNotConvertible = "layoutTypeNotConvertible",
13
+ LossyConversionNotAccepted = "lossyConversionNotAccepted",
14
+ LossyConversion = "lossyConversion",
15
+ TargetDoesNotAcceptChildren = "targetDoesNotAcceptChildren",
16
+ UnknownSlot = "unknownSlot",
17
+ ContainmentCycle = "containmentCycle",
18
+ IndexOutOfRange = "indexOutOfRange",
19
+ ElementIdInUse = "elementIdInUse",
20
+ MaximumChildrenExceeded = "maximumChildrenExceeded",
21
+ NodeNotRemovable = "nodeNotRemovable",
22
+ MissingQuery = "missingQuery",
23
+ IncompatibleResultShape = "incompatibleResultShape",
24
+ MissingRequiredParameter = "missingRequiredParameter",
25
+ UnknownParameter = "unknownParameter",
26
+ ArgumentTypeMismatch = "argumentTypeMismatch",
27
+ UnresolvedArgumentSource = "unresolvedArgumentSource",
28
+ UnknownResultField = "unknownResultField",
29
+ ExposureTargetMissing = "exposureTargetMissing",
30
+ ExposureWidensOwner = "exposureWidensOwner",
31
+ ReExposureBroken = "reExposureBroken",
32
+ ContributionNotExposed = "contributionNotExposed",
33
+ ContributionTargetMissing = "contributionTargetMissing",
34
+ ContributionTypeMismatch = "contributionTypeMismatch",
35
+ ContributionOperationNotPermitted = "contributionOperationNotPermitted",
36
+ UnknownCollectionField = "unknownCollectionField",
37
+ CollectionItemNotFound = "collectionItemNotFound",
38
+ DuplicateCollectionItem = "duplicateCollectionItem",
39
+ UnknownInstance = "unknownInstance"
40
+ }
41
+ //# sourceMappingURL=DiagnosticCode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiagnosticCode.d.ts","sourceRoot":"","sources":["../../../editing/DiagnosticCode.ts"],"names":[],"mappings":"AAOA,oBAAY,cAAc;IAEtB,WAAW,gBAAgB;IAC3B,kBAAkB,uBAAuB;IACzC,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAG3B,eAAe,oBAAoB;IACnC,YAAY,iBAAiB;IAC7B,gBAAgB,qBAAqB;IACrC,eAAe,oBAAoB;IACnC,0BAA0B,+BAA+B;IAGzD,cAAc,mBAAmB;IACjC,wBAAwB,6BAA6B;IACrD,0BAA0B,+BAA+B;IACzD,eAAe,oBAAoB;IAGnC,2BAA2B,gCAAgC;IAC3D,WAAW,gBAAgB;IAC3B,gBAAgB,qBAAqB;IACrC,eAAe,oBAAoB;IACnC,cAAc,mBAAmB;IACjC,uBAAuB,4BAA4B;IACnD,gBAAgB,qBAAqB;IAGrC,YAAY,iBAAiB;IAC7B,uBAAuB,4BAA4B;IACnD,wBAAwB,6BAA6B;IACrD,gBAAgB,qBAAqB;IACrC,oBAAoB,yBAAyB;IAC7C,wBAAwB,6BAA6B;IACrD,kBAAkB,uBAAuB;IAGzC,qBAAqB,0BAA0B;IAC/C,mBAAmB,wBAAwB;IAC3C,gBAAgB,qBAAqB;IACrC,sBAAsB,2BAA2B;IACjD,yBAAyB,8BAA8B;IACvD,wBAAwB,6BAA6B;IACrD,iCAAiC,sCAAsC;IACvE,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;IACjD,uBAAuB,4BAA4B;IACnD,eAAe,oBAAoB;CACtC"}
@@ -0,0 +1,55 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+ /**
4
+ * The reasons inspection, editing, binding validation and configuration resolution report a problem. A host
5
+ * switches on the code; the message is for a person.
6
+ */ var DiagnosticCode = /*#__PURE__*/ function(DiagnosticCode) {
7
+ // Addressing
8
+ DiagnosticCode["UnknownNode"] = "unknownNode";
9
+ DiagnosticCode["DuplicateElementId"] = "duplicateElementId";
10
+ DiagnosticCode["UnknownScope"] = "unknownScope";
11
+ DiagnosticCode["InvalidEdit"] = "invalidEdit";
12
+ // Properties
13
+ DiagnosticCode["UnknownProperty"] = "unknownProperty";
14
+ DiagnosticCode["InvalidValue"] = "invalidValue";
15
+ DiagnosticCode["ReadOnlyProperty"] = "readOnlyProperty";
16
+ DiagnosticCode["NodeNotEditable"] = "nodeNotEditable";
17
+ DiagnosticCode["MissingComponentDescriptor"] = "missingComponentDescriptor";
18
+ // Layout
19
+ DiagnosticCode["NotALayoutNode"] = "notALayoutNode";
20
+ DiagnosticCode["LayoutTypeNotConvertible"] = "layoutTypeNotConvertible";
21
+ DiagnosticCode["LossyConversionNotAccepted"] = "lossyConversionNotAccepted";
22
+ DiagnosticCode["LossyConversion"] = "lossyConversion";
23
+ // Structure
24
+ DiagnosticCode["TargetDoesNotAcceptChildren"] = "targetDoesNotAcceptChildren";
25
+ DiagnosticCode["UnknownSlot"] = "unknownSlot";
26
+ DiagnosticCode["ContainmentCycle"] = "containmentCycle";
27
+ DiagnosticCode["IndexOutOfRange"] = "indexOutOfRange";
28
+ DiagnosticCode["ElementIdInUse"] = "elementIdInUse";
29
+ DiagnosticCode["MaximumChildrenExceeded"] = "maximumChildrenExceeded";
30
+ DiagnosticCode["NodeNotRemovable"] = "nodeNotRemovable";
31
+ // Query binding
32
+ DiagnosticCode["MissingQuery"] = "missingQuery";
33
+ DiagnosticCode["IncompatibleResultShape"] = "incompatibleResultShape";
34
+ DiagnosticCode["MissingRequiredParameter"] = "missingRequiredParameter";
35
+ DiagnosticCode["UnknownParameter"] = "unknownParameter";
36
+ DiagnosticCode["ArgumentTypeMismatch"] = "argumentTypeMismatch";
37
+ DiagnosticCode["UnresolvedArgumentSource"] = "unresolvedArgumentSource";
38
+ DiagnosticCode["UnknownResultField"] = "unknownResultField";
39
+ // Exposure and instance configuration
40
+ DiagnosticCode["ExposureTargetMissing"] = "exposureTargetMissing";
41
+ DiagnosticCode["ExposureWidensOwner"] = "exposureWidensOwner";
42
+ DiagnosticCode["ReExposureBroken"] = "reExposureBroken";
43
+ DiagnosticCode["ContributionNotExposed"] = "contributionNotExposed";
44
+ DiagnosticCode["ContributionTargetMissing"] = "contributionTargetMissing";
45
+ DiagnosticCode["ContributionTypeMismatch"] = "contributionTypeMismatch";
46
+ DiagnosticCode["ContributionOperationNotPermitted"] = "contributionOperationNotPermitted";
47
+ DiagnosticCode["UnknownCollectionField"] = "unknownCollectionField";
48
+ DiagnosticCode["CollectionItemNotFound"] = "collectionItemNotFound";
49
+ DiagnosticCode["DuplicateCollectionItem"] = "duplicateCollectionItem";
50
+ DiagnosticCode["UnknownInstance"] = "unknownInstance";
51
+ return DiagnosticCode;
52
+ }({});
53
+
54
+ export { DiagnosticCode };
55
+ //# sourceMappingURL=DiagnosticCode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiagnosticCode.js","sources":["../../../editing/DiagnosticCode.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * The reasons inspection, editing, binding validation and configuration resolution report a problem. A host\n * switches on the code; the message is for a person.\n */\nexport enum DiagnosticCode {\n // Addressing\n UnknownNode = 'unknownNode',\n DuplicateElementId = 'duplicateElementId',\n UnknownScope = 'unknownScope',\n InvalidEdit = 'invalidEdit',\n\n // Properties\n UnknownProperty = 'unknownProperty',\n InvalidValue = 'invalidValue',\n ReadOnlyProperty = 'readOnlyProperty',\n NodeNotEditable = 'nodeNotEditable',\n MissingComponentDescriptor = 'missingComponentDescriptor',\n\n // Layout\n NotALayoutNode = 'notALayoutNode',\n LayoutTypeNotConvertible = 'layoutTypeNotConvertible',\n LossyConversionNotAccepted = 'lossyConversionNotAccepted',\n LossyConversion = 'lossyConversion',\n\n // Structure\n TargetDoesNotAcceptChildren = 'targetDoesNotAcceptChildren',\n UnknownSlot = 'unknownSlot',\n ContainmentCycle = 'containmentCycle',\n IndexOutOfRange = 'indexOutOfRange',\n ElementIdInUse = 'elementIdInUse',\n MaximumChildrenExceeded = 'maximumChildrenExceeded',\n NodeNotRemovable = 'nodeNotRemovable',\n\n // Query binding\n MissingQuery = 'missingQuery',\n IncompatibleResultShape = 'incompatibleResultShape',\n MissingRequiredParameter = 'missingRequiredParameter',\n UnknownParameter = 'unknownParameter',\n ArgumentTypeMismatch = 'argumentTypeMismatch',\n UnresolvedArgumentSource = 'unresolvedArgumentSource',\n UnknownResultField = 'unknownResultField',\n\n // Exposure and instance configuration\n ExposureTargetMissing = 'exposureTargetMissing',\n ExposureWidensOwner = 'exposureWidensOwner',\n ReExposureBroken = 'reExposureBroken',\n ContributionNotExposed = 'contributionNotExposed',\n ContributionTargetMissing = 'contributionTargetMissing',\n ContributionTypeMismatch = 'contributionTypeMismatch',\n ContributionOperationNotPermitted = 'contributionOperationNotPermitted',\n UnknownCollectionField = 'unknownCollectionField',\n CollectionItemNotFound = 'collectionItemNotFound',\n DuplicateCollectionItem = 'duplicateCollectionItem',\n UnknownInstance = 'unknownInstance',\n}\n"],"names":["DiagnosticCode"],"mappings":"AAAA;AACA;AAEA;;;IAIO,IAAKA,cAAAA,iBAAAA,SAAAA,cAAAA,EAAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAAA,IAAAA,OAAAA,cAAAA;AAkDX,CAAA,CAAA,EAAA;;"}
@@ -0,0 +1,5 @@
1
+ export declare enum DiagnosticSeverity {
2
+ Error = "error",
3
+ Warning = "warning"
4
+ }
5
+ //# sourceMappingURL=DiagnosticSeverity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiagnosticSeverity.d.ts","sourceRoot":"","sources":["../../../editing/DiagnosticSeverity.ts"],"names":[],"mappings":"AAOA,oBAAY,kBAAkB;IAC1B,KAAK,UAAU;IACf,OAAO,YAAY;CACtB"}
@@ -0,0 +1,13 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+ /**
4
+ * How serious a diagnostic is. An edit with an `Error` is refused; a `Warning` is reported and the edit goes
5
+ * ahead.
6
+ */ var DiagnosticSeverity = /*#__PURE__*/ function(DiagnosticSeverity) {
7
+ DiagnosticSeverity["Error"] = "error";
8
+ DiagnosticSeverity["Warning"] = "warning";
9
+ return DiagnosticSeverity;
10
+ }({});
11
+
12
+ export { DiagnosticSeverity };
13
+ //# sourceMappingURL=DiagnosticSeverity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiagnosticSeverity.js","sources":["../../../editing/DiagnosticSeverity.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * How serious a diagnostic is. An edit with an `Error` is refused; a `Warning` is reported and the edit goes\n * ahead.\n */\nexport enum DiagnosticSeverity {\n Error = 'error',\n Warning = 'warning',\n}\n"],"names":["DiagnosticSeverity"],"mappings":"AAAA;AACA;AAEA;;;IAIO,IAAKA,kBAAAA,iBAAAA,SAAAA,kBAAAA,EAAAA;;;AAAAA,IAAAA,OAAAA,kBAAAA;AAGX,CAAA,CAAA,EAAA;;"}
@@ -0,0 +1,12 @@
1
+ import { SceneEditKind } from './SceneEditKind';
2
+ export interface EditCollectionItemEdit {
3
+ kind: SceneEditKind.EditCollectionItem;
4
+ instance?: string;
5
+ component: string;
6
+ path: string;
7
+ itemId: string;
8
+ field: string;
9
+ value: unknown;
10
+ }
11
+ export declare const EditCollectionItemEditPropertyNames: (keyof EditCollectionItemEdit)[];
12
+ //# sourceMappingURL=EditCollectionItemEdit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditCollectionItemEdit.d.ts","sourceRoot":"","sources":["../../../editing/EditCollectionItemEdit.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKhD,MAAM,WAAW,sBAAsB;IACnC,IAAI,EAAE,aAAa,CAAC,kBAAkB,CAAC;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IAGf,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,mCAAmC,EAAE,CAAC,MAAM,sBAAsB,CAAC,EAE/E,CAAC"}
@@ -0,0 +1,14 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+ const EditCollectionItemEditPropertyNames = [
4
+ 'kind',
5
+ 'instance',
6
+ 'component',
7
+ 'path',
8
+ 'itemId',
9
+ 'field',
10
+ 'value'
11
+ ];
12
+
13
+ export { EditCollectionItemEditPropertyNames };
14
+ //# sourceMappingURL=EditCollectionItemEdit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditCollectionItemEdit.js","sources":["../../../editing/EditCollectionItemEdit.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SceneEditKind } from './SceneEditKind';\n\n/**\n * Changes one field of an item an instance contributed.\n */\nexport interface EditCollectionItemEdit {\n kind: SceneEditKind.EditCollectionItem;\n instance?: string;\n component: string;\n path: string;\n itemId: string;\n\n /** The item field, as the collection's item descriptor states it. */\n field: string;\n value: unknown;\n}\n\nexport const EditCollectionItemEditPropertyNames: (keyof EditCollectionItemEdit)[] = [\n 'kind', 'instance', 'component', 'path', 'itemId', 'field', 'value',\n];\n"],"names":["EditCollectionItemEditPropertyNames"],"mappings":"AAAA;AACA;MAmBaA,mCAAAA,GAAwE;AACjF,IAAA,MAAA;AAAQ,IAAA,UAAA;AAAY,IAAA,WAAA;AAAa,IAAA,MAAA;AAAQ,IAAA,QAAA;AAAU,IAAA,OAAA;AAAS,IAAA;;;"}
@@ -0,0 +1,5 @@
1
+ export declare enum EditTarget {
2
+ Node = "node",
3
+ Instance = "instance"
4
+ }
5
+ //# sourceMappingURL=EditTarget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditTarget.d.ts","sourceRoot":"","sources":["../../../editing/EditTarget.ts"],"names":[],"mappings":"AAMA,oBAAY,UAAU;IAElB,IAAI,SAAS;IAGb,QAAQ,aAAa;CACxB"}
@@ -0,0 +1,12 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+ /**
4
+ * Where an edit of a property goes.
5
+ */ var EditTarget = /*#__PURE__*/ function(EditTarget) {
6
+ /** The node itself. */ EditTarget["Node"] = "node";
7
+ /** An instance contribution, because the node is inherited and the property is exposed. */ EditTarget["Instance"] = "instance";
8
+ return EditTarget;
9
+ }({});
10
+
11
+ export { EditTarget };
12
+ //# sourceMappingURL=EditTarget.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditTarget.js","sources":["../../../editing/EditTarget.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * Where an edit of a property goes.\n */\nexport enum EditTarget {\n /** The node itself. */\n Node = 'node',\n\n /** An instance contribution, because the node is inherited and the property is exposed. */\n Instance = 'instance',\n}\n"],"names":["EditTarget"],"mappings":"AAAA;AACA;AAEA;;IAGO,IAAKA,UAAAA,iBAAAA,SAAAA,UAAAA,EAAAA;4BACa,UAAA,CAAA,MAAA,CAAA,GAAA,MAAA;gGAGoE,UAAA,CAAA,UAAA,CAAA,GAAA,UAAA;AAJjFA,IAAAA,OAAAA,UAAAA;AAMX,CAAA,CAAA,EAAA;;"}
@@ -0,0 +1,8 @@
1
+ import { EditingScopeKind } from './EditingScopeKind';
2
+ export interface EditingScope {
3
+ kind: `${EditingScopeKind}`;
4
+ name: string;
5
+ layout?: string;
6
+ }
7
+ export declare const EditingScopePropertyNames: (keyof EditingScope)[];
8
+ //# sourceMappingURL=EditingScope.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditingScope.d.ts","sourceRoot":"","sources":["../../../editing/EditingScope.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAMtD,MAAM,WAAW,YAAY;IACzB,IAAI,EAAE,GAAG,gBAAgB,EAAE,CAAC;IAG5B,IAAI,EAAE,MAAM,CAAC;IAOb,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,yBAAyB,EAAE,CAAC,MAAM,YAAY,CAAC,EAA+B,CAAC"}
@@ -0,0 +1,10 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+ const EditingScopePropertyNames = [
4
+ 'kind',
5
+ 'name',
6
+ 'layout'
7
+ ];
8
+
9
+ export { EditingScopePropertyNames };
10
+ //# sourceMappingURL=EditingScope.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditingScope.js","sources":["../../../editing/EditingScope.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { EditingScopeKind } from './EditingScopeKind';\n\n/**\n * The thing being edited. What it owns is local and editable; what an outer layout or template owns is inherited,\n * and can only be configured through what that owner exposed.\n */\nexport interface EditingScope {\n kind: `${EditingScopeKind}`;\n\n /** The name of the screen, template or layout. */\n name: string;\n\n /**\n * For a template scope: the name of the layout the template ultimately sits in. A template does not say\n * which layout it belongs to, so a document with several layouts needs to be told. A screen scope reads it\n * from the screen itself.\n */\n layout?: string;\n}\n\nexport const EditingScopePropertyNames: (keyof EditingScope)[] = ['kind', 'name', 'layout'];\n"],"names":["EditingScopePropertyNames"],"mappings":"AAAA;AACA;MAsBaA,yBAAAA,GAAoD;AAAC,IAAA,MAAA;AAAQ,IAAA,MAAA;AAAQ,IAAA;;;"}
@@ -0,0 +1,7 @@
1
+ export declare enum EditingScopeKind {
2
+ Screen = "screen",
3
+ ScreenTemplate = "screenTemplate",
4
+ DialogTemplate = "dialogTemplate",
5
+ Layout = "layout"
6
+ }
7
+ //# sourceMappingURL=EditingScopeKind.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditingScopeKind.d.ts","sourceRoot":"","sources":["../../../editing/EditingScopeKind.ts"],"names":[],"mappings":"AAMA,oBAAY,gBAAgB;IACxB,MAAM,WAAW;IACjB,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,MAAM,WAAW;CACpB"}
@@ -0,0 +1,14 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+ /**
4
+ * What is being edited. It decides what counts as local and what is inherited.
5
+ */ var EditingScopeKind = /*#__PURE__*/ function(EditingScopeKind) {
6
+ EditingScopeKind["Screen"] = "screen";
7
+ EditingScopeKind["ScreenTemplate"] = "screenTemplate";
8
+ EditingScopeKind["DialogTemplate"] = "dialogTemplate";
9
+ EditingScopeKind["Layout"] = "layout";
10
+ return EditingScopeKind;
11
+ }({});
12
+
13
+ export { EditingScopeKind };
14
+ //# sourceMappingURL=EditingScopeKind.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditingScopeKind.js","sources":["../../../editing/EditingScopeKind.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * What is being edited. It decides what counts as local and what is inherited.\n */\nexport enum EditingScopeKind {\n Screen = 'screen',\n ScreenTemplate = 'screenTemplate',\n DialogTemplate = 'dialogTemplate',\n Layout = 'layout',\n}\n"],"names":["EditingScopeKind"],"mappings":"AAAA;AACA;AAEA;;IAGO,IAAKA,gBAAAA,iBAAAA,SAAAA,gBAAAA,EAAAA;;;;;AAAAA,IAAAA,OAAAA,gBAAAA;AAKX,CAAA,CAAA,EAAA;;"}
@@ -0,0 +1,8 @@
1
+ export interface EffectiveCollectionItem {
2
+ id: string;
3
+ values: Record<string, unknown>;
4
+ origin: string;
5
+ fixed: boolean;
6
+ }
7
+ export declare const EffectiveCollectionItemPropertyNames: (keyof EffectiveCollectionItem)[];
8
+ //# sourceMappingURL=EffectiveCollectionItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EffectiveCollectionItem.d.ts","sourceRoot":"","sources":["../../../editing/EffectiveCollectionItem.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGhC,MAAM,EAAE,MAAM,CAAC;IAGf,KAAK,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,oCAAoC,EAAE,CAAC,MAAM,uBAAuB,CAAC,EAAwC,CAAC"}
@@ -0,0 +1,13 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+ /**
4
+ * One item of a collection after the owner's items and every instance's contributed items are put together.
5
+ */ const EffectiveCollectionItemPropertyNames = [
6
+ 'id',
7
+ 'values',
8
+ 'origin',
9
+ 'fixed'
10
+ ];
11
+
12
+ export { EffectiveCollectionItemPropertyNames };
13
+ //# sourceMappingURL=EffectiveCollectionItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EffectiveCollectionItem.js","sources":["../../../editing/EffectiveCollectionItem.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * One item of a collection after the owner's items and every instance's contributed items are put together.\n */\nexport interface EffectiveCollectionItem {\n id: string;\n values: Record<string, unknown>;\n\n /** `owner` for an item the template author wrote; otherwise the id of the instance that contributed it. */\n origin: string;\n\n /** An owner's item. Consumers cannot change or remove it. */\n fixed: boolean;\n}\n\nexport const EffectiveCollectionItemPropertyNames: (keyof EffectiveCollectionItem)[] = ['id', 'values', 'origin', 'fixed'];\n"],"names":["EffectiveCollectionItemPropertyNames"],"mappings":"AAAA;AACA;AAEA;;UAcaA,oCAAAA,GAA0E;AAAC,IAAA,IAAA;AAAM,IAAA,QAAA;AAAU,IAAA,QAAA;AAAU,IAAA;;;"}
@@ -0,0 +1,9 @@
1
+ import { EffectivePropertyValue } from './EffectivePropertyValue';
2
+ export interface EffectiveComponentConfiguration {
3
+ component: string;
4
+ owner: string;
5
+ properties: Record<string, unknown>;
6
+ values: EffectivePropertyValue[];
7
+ }
8
+ export declare const EffectiveComponentConfigurationPropertyNames: (keyof EffectiveComponentConfiguration)[];
9
+ //# sourceMappingURL=EffectiveComponentConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EffectiveComponentConfiguration.d.ts","sourceRoot":"","sources":["../../../editing/EffectiveComponentConfiguration.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAMlE,MAAM,WAAW,+BAA+B;IAE5C,SAAS,EAAE,MAAM,CAAC;IAGlB,KAAK,EAAE,MAAM,CAAC;IAGd,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGpC,MAAM,EAAE,sBAAsB,EAAE,CAAC;CACpC;AAED,eAAO,MAAM,4CAA4C,EAAE,CAAC,MAAM,+BAA+B,CAAC,EAEjG,CAAC"}
@@ -0,0 +1,11 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+ const EffectiveComponentConfigurationPropertyNames = [
4
+ 'component',
5
+ 'owner',
6
+ 'properties',
7
+ 'values'
8
+ ];
9
+
10
+ export { EffectiveComponentConfigurationPropertyNames };
11
+ //# sourceMappingURL=EffectiveComponentConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EffectiveComponentConfiguration.js","sources":["../../../editing/EffectiveComponentConfiguration.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { EffectivePropertyValue } from './EffectivePropertyValue';\n\n/**\n * The resolved configuration of one component: the full property bag a renderer should use, and a record per\n * exposed property of where it came from.\n */\nexport interface EffectiveComponentConfiguration {\n /** The id of the element. */\n component: string;\n\n /** The name of the layout or template that owns the element. */\n owner: string;\n\n /** The element's `properties` with every valid contribution applied. */\n properties: Record<string, unknown>;\n\n /** One entry per exposed property. */\n values: EffectivePropertyValue[];\n}\n\nexport const EffectiveComponentConfigurationPropertyNames: (keyof EffectiveComponentConfiguration)[] = [\n 'component', 'owner', 'properties', 'values',\n];\n"],"names":["EffectiveComponentConfigurationPropertyNames"],"mappings":"AAAA;AACA;MAsBaA,4CAAAA,GAA0F;AACnG,IAAA,WAAA;AAAa,IAAA,OAAA;AAAS,IAAA,YAAA;AAAc,IAAA;;;"}
@@ -0,0 +1,8 @@
1
+ import { EffectiveComponentConfiguration } from './EffectiveComponentConfiguration';
2
+ import { SceneDiagnostic } from './SceneDiagnostic';
3
+ export interface EffectiveConfiguration {
4
+ components: EffectiveComponentConfiguration[];
5
+ diagnostics: SceneDiagnostic[];
6
+ }
7
+ export declare const EffectiveConfigurationPropertyNames: (keyof EffectiveConfiguration)[];
8
+ //# sourceMappingURL=EffectiveConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EffectiveConfiguration.d.ts","sourceRoot":"","sources":["../../../editing/EffectiveConfiguration.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAMpD,MAAM,WAAW,sBAAsB;IAEnC,UAAU,EAAE,+BAA+B,EAAE,CAAC;IAO9C,WAAW,EAAE,eAAe,EAAE,CAAC;CAClC;AAED,eAAO,MAAM,mCAAmC,EAAE,CAAC,MAAM,sBAAsB,CAAC,EAAkC,CAAC"}
@@ -0,0 +1,9 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+ const EffectiveConfigurationPropertyNames = [
4
+ 'components',
5
+ 'diagnostics'
6
+ ];
7
+
8
+ export { EffectiveConfigurationPropertyNames };
9
+ //# sourceMappingURL=EffectiveConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EffectiveConfiguration.js","sources":["../../../editing/EffectiveConfiguration.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { EffectiveComponentConfiguration } from './EffectiveComponentConfiguration';\nimport { SceneDiagnostic } from './SceneDiagnostic';\n\n/**\n * The outcome of resolving a template chain and its instances' contributions. The runtime renders from this, and\n * the editor shows it - the same data, so what the editor shows is what Play renders.\n */\nexport interface EffectiveConfiguration {\n /** Every configurable component in the chain. Components nothing is exposed on are absent. */\n components: EffectiveComponentConfiguration[];\n\n /**\n * What went wrong: an exposure that no longer matches its component, a contribution to something no longer\n * exposed, a saved value whose type changed. The affected contributions are ignored in `components` and left\n * in the persisted data, so restoring the exposure brings the values back.\n */\n diagnostics: SceneDiagnostic[];\n}\n\nexport const EffectiveConfigurationPropertyNames: (keyof EffectiveConfiguration)[] = ['components', 'diagnostics'];\n"],"names":["EffectiveConfigurationPropertyNames"],"mappings":"AAAA;AACA;MAqBaA,mCAAAA,GAAwE;AAAC,IAAA,YAAA;AAAc,IAAA;;;"}
@@ -0,0 +1,12 @@
1
+ import { EffectiveCollectionItem } from './EffectiveCollectionItem';
2
+ import { ValueSource } from './ValueSource';
3
+ export interface EffectivePropertyValue {
4
+ path: string;
5
+ value: unknown;
6
+ source: `${ValueSource}`;
7
+ inheritedValue: unknown;
8
+ contributedBy?: string;
9
+ items?: EffectiveCollectionItem[];
10
+ }
11
+ export declare const EffectivePropertyValuePropertyNames: (keyof EffectivePropertyValue)[];
12
+ //# sourceMappingURL=EffectivePropertyValue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EffectivePropertyValue.d.ts","sourceRoot":"","sources":["../../../editing/EffectivePropertyValue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAM5C,MAAM,WAAW,sBAAsB;IACnC,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,OAAO,CAAC;IAEf,MAAM,EAAE,GAAG,WAAW,EAAE,CAAC;IAGzB,cAAc,EAAE,OAAO,CAAC;IAGxB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,KAAK,CAAC,EAAE,uBAAuB,EAAE,CAAC;CACrC;AAED,eAAO,MAAM,mCAAmC,EAAE,CAAC,MAAM,sBAAsB,CAAC,EAE/E,CAAC"}
@@ -0,0 +1,13 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+ const EffectivePropertyValuePropertyNames = [
4
+ 'path',
5
+ 'value',
6
+ 'source',
7
+ 'inheritedValue',
8
+ 'contributedBy',
9
+ 'items'
10
+ ];
11
+
12
+ export { EffectivePropertyValuePropertyNames };
13
+ //# sourceMappingURL=EffectivePropertyValue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EffectivePropertyValue.js","sources":["../../../editing/EffectivePropertyValue.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { EffectiveCollectionItem } from './EffectiveCollectionItem';\nimport { ValueSource } from './ValueSource';\n\n/**\n * One property's value after configuration is resolved, with enough to show where it came from and what\n * resetting it would give back.\n */\nexport interface EffectivePropertyValue {\n path: string;\n\n /** What the property is worth now. */\n value: unknown;\n\n source: `${ValueSource}`;\n\n /** What the property would be worth with every instance contribution removed. */\n inheritedValue: unknown;\n\n /** The instance that set `value`, when `source` is `instance`. */\n contributedBy?: string;\n\n /** For a collection: the items, owner's first. */\n items?: EffectiveCollectionItem[];\n}\n\nexport const EffectivePropertyValuePropertyNames: (keyof EffectivePropertyValue)[] = [\n 'path', 'value', 'source', 'inheritedValue', 'contributedBy', 'items',\n];\n"],"names":["EffectivePropertyValuePropertyNames"],"mappings":"AAAA;AACA;MA2BaA,mCAAAA,GAAwE;AACjF,IAAA,MAAA;AAAQ,IAAA,OAAA;AAAS,IAAA,QAAA;AAAU,IAAA,gBAAA;AAAkB,IAAA,eAAA;AAAiB,IAAA;;;"}
@@ -0,0 +1,9 @@
1
+ import { ExposedProperty } from '../exposure';
2
+ import { SceneEditKind } from './SceneEditKind';
3
+ export interface ExposePropertyEdit {
4
+ kind: SceneEditKind.ExposeProperty;
5
+ owner: string;
6
+ property: ExposedProperty;
7
+ }
8
+ export declare const ExposePropertyEditPropertyNames: (keyof ExposePropertyEdit)[];
9
+ //# sourceMappingURL=ExposePropertyEdit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExposePropertyEdit.d.ts","sourceRoot":"","sources":["../../../editing/ExposePropertyEdit.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKhD,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,aAAa,CAAC,cAAc,CAAC;IAGnC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,eAAe,CAAC;CAC7B;AAED,eAAO,MAAM,+BAA+B,EAAE,CAAC,MAAM,kBAAkB,CAAC,EAAkC,CAAC"}
@@ -0,0 +1,10 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+ const ExposePropertyEditPropertyNames = [
4
+ 'kind',
5
+ 'owner',
6
+ 'property'
7
+ ];
8
+
9
+ export { ExposePropertyEditPropertyNames };
10
+ //# sourceMappingURL=ExposePropertyEdit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExposePropertyEdit.js","sources":["../../../editing/ExposePropertyEdit.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { ExposedProperty } from '../exposure';\nimport { SceneEditKind } from './SceneEditKind';\n\n/**\n * Exposes a property on a layout or template, or changes how it is exposed.\n */\nexport interface ExposePropertyEdit {\n kind: SceneEditKind.ExposeProperty;\n\n /** The layout or template making the declaration. */\n owner: string;\n property: ExposedProperty;\n}\n\nexport const ExposePropertyEditPropertyNames: (keyof ExposePropertyEdit)[] = ['kind', 'owner', 'property'];\n"],"names":["ExposePropertyEditPropertyNames"],"mappings":"AAAA;AACA;MAgBaA,+BAAAA,GAAgE;AAAC,IAAA,MAAA;AAAQ,IAAA,OAAA;AAAS,IAAA;;;"}
@@ -0,0 +1,13 @@
1
+ import { FlowNode } from '../layouts';
2
+ import { SceneElement } from '../elements';
3
+ import { SceneEditKind } from './SceneEditKind';
4
+ export interface InsertNodeEdit {
5
+ kind: SceneEditKind.InsertNode;
6
+ target: string;
7
+ slot?: string;
8
+ index?: number;
9
+ element?: SceneElement;
10
+ flowNode?: FlowNode;
11
+ }
12
+ export declare const InsertNodeEditPropertyNames: (keyof InsertNodeEdit)[];
13
+ //# sourceMappingURL=InsertNodeEdit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InsertNodeEdit.d.ts","sourceRoot":"","sources":["../../../editing/InsertNodeEdit.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQhD,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,aAAa,CAAC,UAAU,CAAC;IAG/B,MAAM,EAAE,MAAM,CAAC;IAGf,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACvB;AAED,eAAO,MAAM,2BAA2B,EAAE,CAAC,MAAM,cAAc,CAAC,EAA+D,CAAC"}
@@ -0,0 +1,13 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+ const InsertNodeEditPropertyNames = [
4
+ 'kind',
5
+ 'target',
6
+ 'slot',
7
+ 'index',
8
+ 'element',
9
+ 'flowNode'
10
+ ];
11
+
12
+ export { InsertNodeEditPropertyNames };
13
+ //# sourceMappingURL=InsertNodeEdit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InsertNodeEdit.js","sources":["../../../editing/InsertNodeEdit.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { FlowNode } from '../layouts';\nimport { SceneElement } from '../elements';\nimport { SceneEditKind } from './SceneEditKind';\n\n/**\n * Inserts a new element - or, into a flow container, a new flow node - under a target.\n *\n * The target is a slot node, an element (an `ExternalComponent` with `slot`, or a panel) or a flow container.\n * Exactly one of `element` and `flowNode` is given.\n */\nexport interface InsertNodeEdit {\n kind: SceneEditKind.InsertNode;\n\n /** The id of the node to insert under. */\n target: string;\n\n /** The named slot of an `ExternalComponent` target to insert into. */\n slot?: string;\n\n /** Where among the target's children. Absent appends. */\n index?: number;\n\n element?: SceneElement;\n flowNode?: FlowNode;\n}\n\nexport const InsertNodeEditPropertyNames: (keyof InsertNodeEdit)[] = ['kind', 'target', 'slot', 'index', 'element', 'flowNode'];\n"],"names":["InsertNodeEditPropertyNames"],"mappings":"AAAA;AACA;MA4BaA,2BAAAA,GAAwD;AAAC,IAAA,MAAA;AAAQ,IAAA,QAAA;AAAU,IAAA,MAAA;AAAQ,IAAA,OAAA;AAAS,IAAA,SAAA;AAAW,IAAA;;;"}
@@ -0,0 +1,8 @@
1
+ export interface InspectedCollectionItem {
2
+ id: string;
3
+ values: Record<string, unknown>;
4
+ origin: string;
5
+ editable: boolean;
6
+ }
7
+ export declare const InspectedCollectionItemPropertyNames: (keyof InspectedCollectionItem)[];
8
+ //# sourceMappingURL=InspectedCollectionItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InspectedCollectionItem.d.ts","sourceRoot":"","sources":["../../../editing/InspectedCollectionItem.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGhC,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,oCAAoC,EAAE,CAAC,MAAM,uBAAuB,CAAC,EAA2C,CAAC"}
@@ -0,0 +1,13 @@
1
+ // Copyright (c) Cratis. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+ /**
4
+ * One item of an inspected collection.
5
+ */ const InspectedCollectionItemPropertyNames = [
6
+ 'id',
7
+ 'values',
8
+ 'origin',
9
+ 'editable'
10
+ ];
11
+
12
+ export { InspectedCollectionItemPropertyNames };
13
+ //# sourceMappingURL=InspectedCollectionItem.js.map