@contember/react-binding 2.0.0-alpha.15 → 2.0.0-alpha.17

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 (400) hide show
  1. package/dist/development/index.cjs +2 -9
  2. package/dist/development/index.cjs.map +1 -1
  3. package/dist/development/index.js +1 -8
  4. package/dist/development/index.js.map +1 -1
  5. package/dist/development/src/accessorPropagation/AccessorProvider.cjs +1 -1
  6. package/dist/development/src/accessorPropagation/AccessorProvider.cjs.map +1 -1
  7. package/dist/development/src/accessorPropagation/AccessorProvider.js +1 -1
  8. package/dist/development/src/accessorPropagation/AccessorProvider.js.map +1 -1
  9. package/dist/development/src/accessorPropagation/BindingOperationsContext.cjs +2 -1
  10. package/dist/development/src/accessorPropagation/BindingOperationsContext.cjs.map +1 -1
  11. package/dist/development/src/accessorPropagation/BindingOperationsContext.js +2 -1
  12. package/dist/development/src/accessorPropagation/BindingOperationsContext.js.map +1 -1
  13. package/dist/development/src/accessorPropagation/EntityKeyContext.cjs.map +1 -1
  14. package/dist/development/src/accessorPropagation/EntityKeyContext.js.map +1 -1
  15. package/dist/development/src/accessorPropagation/EntityKeyProvider.cjs +1 -1
  16. package/dist/development/src/accessorPropagation/EntityKeyProvider.cjs.map +1 -1
  17. package/dist/development/src/accessorPropagation/EntityKeyProvider.js +1 -1
  18. package/dist/development/src/accessorPropagation/EntityKeyProvider.js.map +1 -1
  19. package/dist/development/src/accessorPropagation/useAccessorUpdateSubscription.cjs +14 -37
  20. package/dist/development/src/accessorPropagation/useAccessorUpdateSubscription.cjs.map +1 -1
  21. package/dist/development/src/accessorPropagation/useAccessorUpdateSubscription.js +15 -38
  22. package/dist/development/src/accessorPropagation/useAccessorUpdateSubscription.js.map +1 -1
  23. package/dist/development/src/accessorPropagation/useEntity.cjs +4 -4
  24. package/dist/development/src/accessorPropagation/useEntity.cjs.map +1 -1
  25. package/dist/development/src/accessorPropagation/useEntity.js +4 -4
  26. package/dist/development/src/accessorPropagation/useEntity.js.map +1 -1
  27. package/dist/development/src/accessorPropagation/useEntityKey.cjs.map +1 -1
  28. package/dist/development/src/accessorPropagation/useEntityKey.js.map +1 -1
  29. package/dist/development/src/accessorPropagation/useEntityList.cjs +3 -3
  30. package/dist/development/src/accessorPropagation/useEntityList.cjs.map +1 -1
  31. package/dist/development/src/accessorPropagation/useEntityList.js +3 -3
  32. package/dist/development/src/accessorPropagation/useEntityList.js.map +1 -1
  33. package/dist/development/src/accessorPropagation/useEntityListSubTree.cjs +1 -1
  34. package/dist/development/src/accessorPropagation/useEntityListSubTree.cjs.map +1 -1
  35. package/dist/development/src/accessorPropagation/useEntityListSubTree.js +1 -1
  36. package/dist/development/src/accessorPropagation/useEntityListSubTree.js.map +1 -1
  37. package/dist/development/src/accessorPropagation/useEntitySubTree.cjs +1 -1
  38. package/dist/development/src/accessorPropagation/useEntitySubTree.cjs.map +1 -1
  39. package/dist/development/src/accessorPropagation/useEntitySubTree.js +1 -1
  40. package/dist/development/src/accessorPropagation/useEntitySubTree.js.map +1 -1
  41. package/dist/development/src/accessorPropagation/useField.cjs +3 -3
  42. package/dist/development/src/accessorPropagation/useField.cjs.map +1 -1
  43. package/dist/development/src/accessorPropagation/useField.js +3 -3
  44. package/dist/development/src/accessorPropagation/useField.js.map +1 -1
  45. package/dist/development/src/accessorSorting/SetOrderFieldOnCreate.cjs +2 -2
  46. package/dist/development/src/accessorSorting/SetOrderFieldOnCreate.cjs.map +1 -1
  47. package/dist/development/src/accessorSorting/SetOrderFieldOnCreate.js +2 -2
  48. package/dist/development/src/accessorSorting/SetOrderFieldOnCreate.js.map +1 -1
  49. package/dist/development/src/accessorSorting/addEntityAtIndex.cjs +1 -1
  50. package/dist/development/src/accessorSorting/addEntityAtIndex.cjs.map +1 -1
  51. package/dist/development/src/accessorSorting/addEntityAtIndex.js +1 -1
  52. package/dist/development/src/accessorSorting/addEntityAtIndex.js.map +1 -1
  53. package/dist/development/src/accessorSorting/repairEntitiesOrder.cjs +1 -1
  54. package/dist/development/src/accessorSorting/repairEntitiesOrder.cjs.map +1 -1
  55. package/dist/development/src/accessorSorting/repairEntitiesOrder.js +1 -1
  56. package/dist/development/src/accessorSorting/repairEntitiesOrder.js.map +1 -1
  57. package/dist/development/src/accessorSorting/sortEntities.cjs +2 -2
  58. package/dist/development/src/accessorSorting/sortEntities.cjs.map +1 -1
  59. package/dist/development/src/accessorSorting/sortEntities.js +2 -2
  60. package/dist/development/src/accessorSorting/sortEntities.js.map +1 -1
  61. package/dist/development/src/accessorTree/AccessorTree.cjs +16 -6
  62. package/dist/development/src/accessorTree/AccessorTree.cjs.map +1 -1
  63. package/dist/development/src/accessorTree/AccessorTree.js +16 -6
  64. package/dist/development/src/accessorTree/AccessorTree.js.map +1 -1
  65. package/dist/development/src/accessorTree/useDataBinding.cjs +23 -36
  66. package/dist/development/src/accessorTree/useDataBinding.cjs.map +1 -1
  67. package/dist/development/src/accessorTree/useDataBinding.js +26 -39
  68. package/dist/development/src/accessorTree/useDataBinding.js.map +1 -1
  69. package/dist/development/src/accessorTree/useEnvironmentWithSchema.cjs +31 -0
  70. package/dist/development/src/accessorTree/useEnvironmentWithSchema.cjs.map +1 -0
  71. package/dist/development/src/accessorTree/useEnvironmentWithSchema.js +31 -0
  72. package/dist/development/src/accessorTree/useEnvironmentWithSchema.js.map +1 -0
  73. package/dist/development/src/coreComponents/Component.cjs.map +1 -1
  74. package/dist/development/src/coreComponents/Component.js.map +1 -1
  75. package/dist/development/src/coreComponents/DataBindingProvider.cjs +4 -14
  76. package/dist/development/src/coreComponents/DataBindingProvider.cjs.map +1 -1
  77. package/dist/development/src/coreComponents/DataBindingProvider.js +4 -14
  78. package/dist/development/src/coreComponents/DataBindingProvider.js.map +1 -1
  79. package/dist/development/src/coreComponents/EntityListSubTree.cjs +5 -14
  80. package/dist/development/src/coreComponents/EntityListSubTree.cjs.map +1 -1
  81. package/dist/development/src/coreComponents/EntityListSubTree.js +5 -14
  82. package/dist/development/src/coreComponents/EntityListSubTree.js.map +1 -1
  83. package/dist/development/src/coreComponents/EntitySubTree.cjs +7 -16
  84. package/dist/development/src/coreComponents/EntitySubTree.cjs.map +1 -1
  85. package/dist/development/src/coreComponents/EntitySubTree.js +7 -16
  86. package/dist/development/src/coreComponents/EntitySubTree.js.map +1 -1
  87. package/dist/development/src/entityEvents/useDerivedField.cjs +3 -3
  88. package/dist/development/src/entityEvents/useDerivedField.cjs.map +1 -1
  89. package/dist/development/src/entityEvents/useDerivedField.js +3 -3
  90. package/dist/development/src/entityEvents/useDerivedField.js.map +1 -1
  91. package/dist/development/src/helperComponents/DeferredSubTrees.cjs +2 -3
  92. package/dist/development/src/helperComponents/DeferredSubTrees.cjs.map +1 -1
  93. package/dist/development/src/helperComponents/DeferredSubTrees.js +3 -4
  94. package/dist/development/src/helperComponents/DeferredSubTrees.js.map +1 -1
  95. package/dist/development/src/helperComponents/FieldView.cjs +1 -1
  96. package/dist/development/src/helperComponents/FieldView.cjs.map +1 -1
  97. package/dist/development/src/helperComponents/FieldView.js +1 -1
  98. package/dist/development/src/helperComponents/FieldView.js.map +1 -1
  99. package/dist/development/src/markers/IncrementalMarkerBuilder.cjs +56 -0
  100. package/dist/development/src/markers/IncrementalMarkerBuilder.cjs.map +1 -0
  101. package/dist/development/src/markers/IncrementalMarkerBuilder.js +56 -0
  102. package/dist/development/src/markers/IncrementalMarkerBuilder.js.map +1 -0
  103. package/dist/development/src/markers/MarkerStaticAnalyzer.cjs +110 -0
  104. package/dist/development/src/markers/MarkerStaticAnalyzer.cjs.map +1 -0
  105. package/dist/development/src/markers/MarkerStaticAnalyzer.js +110 -0
  106. package/dist/development/src/markers/MarkerStaticAnalyzer.js.map +1 -0
  107. package/dist/development/src/markers/MarkerTreeGenerator.cjs +52 -0
  108. package/dist/development/src/markers/MarkerTreeGenerator.cjs.map +1 -0
  109. package/dist/development/src/markers/MarkerTreeGenerator.js +52 -0
  110. package/dist/development/src/markers/MarkerTreeGenerator.js.map +1 -0
  111. package/dist/production/index.cjs +2 -9
  112. package/dist/production/index.cjs.map +1 -1
  113. package/dist/production/index.js +1 -8
  114. package/dist/production/index.js.map +1 -1
  115. package/dist/production/src/accessorPropagation/AccessorProvider.cjs +1 -1
  116. package/dist/production/src/accessorPropagation/AccessorProvider.cjs.map +1 -1
  117. package/dist/production/src/accessorPropagation/AccessorProvider.js +1 -1
  118. package/dist/production/src/accessorPropagation/AccessorProvider.js.map +1 -1
  119. package/dist/production/src/accessorPropagation/BindingOperationsContext.cjs +2 -1
  120. package/dist/production/src/accessorPropagation/BindingOperationsContext.cjs.map +1 -1
  121. package/dist/production/src/accessorPropagation/BindingOperationsContext.js +2 -1
  122. package/dist/production/src/accessorPropagation/BindingOperationsContext.js.map +1 -1
  123. package/dist/production/src/accessorPropagation/EntityKeyContext.cjs.map +1 -1
  124. package/dist/production/src/accessorPropagation/EntityKeyContext.js.map +1 -1
  125. package/dist/production/src/accessorPropagation/EntityKeyProvider.cjs.map +1 -1
  126. package/dist/production/src/accessorPropagation/EntityKeyProvider.js.map +1 -1
  127. package/dist/production/src/accessorPropagation/useAccessorUpdateSubscription.cjs +14 -37
  128. package/dist/production/src/accessorPropagation/useAccessorUpdateSubscription.cjs.map +1 -1
  129. package/dist/production/src/accessorPropagation/useAccessorUpdateSubscription.js +15 -38
  130. package/dist/production/src/accessorPropagation/useAccessorUpdateSubscription.js.map +1 -1
  131. package/dist/production/src/accessorPropagation/useEntity.cjs +4 -4
  132. package/dist/production/src/accessorPropagation/useEntity.cjs.map +1 -1
  133. package/dist/production/src/accessorPropagation/useEntity.js +4 -4
  134. package/dist/production/src/accessorPropagation/useEntity.js.map +1 -1
  135. package/dist/production/src/accessorPropagation/useEntityKey.cjs.map +1 -1
  136. package/dist/production/src/accessorPropagation/useEntityKey.js.map +1 -1
  137. package/dist/production/src/accessorPropagation/useEntityList.cjs +3 -3
  138. package/dist/production/src/accessorPropagation/useEntityList.cjs.map +1 -1
  139. package/dist/production/src/accessorPropagation/useEntityList.js +3 -3
  140. package/dist/production/src/accessorPropagation/useEntityList.js.map +1 -1
  141. package/dist/production/src/accessorPropagation/useEntityListSubTree.cjs +1 -1
  142. package/dist/production/src/accessorPropagation/useEntityListSubTree.cjs.map +1 -1
  143. package/dist/production/src/accessorPropagation/useEntityListSubTree.js +1 -1
  144. package/dist/production/src/accessorPropagation/useEntityListSubTree.js.map +1 -1
  145. package/dist/production/src/accessorPropagation/useEntitySubTree.cjs +1 -1
  146. package/dist/production/src/accessorPropagation/useEntitySubTree.cjs.map +1 -1
  147. package/dist/production/src/accessorPropagation/useEntitySubTree.js +1 -1
  148. package/dist/production/src/accessorPropagation/useEntitySubTree.js.map +1 -1
  149. package/dist/production/src/accessorPropagation/useField.cjs +3 -3
  150. package/dist/production/src/accessorPropagation/useField.cjs.map +1 -1
  151. package/dist/production/src/accessorPropagation/useField.js +3 -3
  152. package/dist/production/src/accessorPropagation/useField.js.map +1 -1
  153. package/dist/production/src/accessorSorting/SetOrderFieldOnCreate.cjs +2 -2
  154. package/dist/production/src/accessorSorting/SetOrderFieldOnCreate.cjs.map +1 -1
  155. package/dist/production/src/accessorSorting/SetOrderFieldOnCreate.js +2 -2
  156. package/dist/production/src/accessorSorting/SetOrderFieldOnCreate.js.map +1 -1
  157. package/dist/production/src/accessorSorting/addEntityAtIndex.cjs +1 -1
  158. package/dist/production/src/accessorSorting/addEntityAtIndex.cjs.map +1 -1
  159. package/dist/production/src/accessorSorting/addEntityAtIndex.js +1 -1
  160. package/dist/production/src/accessorSorting/addEntityAtIndex.js.map +1 -1
  161. package/dist/production/src/accessorSorting/repairEntitiesOrder.cjs +1 -1
  162. package/dist/production/src/accessorSorting/repairEntitiesOrder.cjs.map +1 -1
  163. package/dist/production/src/accessorSorting/repairEntitiesOrder.js +1 -1
  164. package/dist/production/src/accessorSorting/repairEntitiesOrder.js.map +1 -1
  165. package/dist/production/src/accessorSorting/sortEntities.cjs +2 -2
  166. package/dist/production/src/accessorSorting/sortEntities.cjs.map +1 -1
  167. package/dist/production/src/accessorSorting/sortEntities.js +2 -2
  168. package/dist/production/src/accessorSorting/sortEntities.js.map +1 -1
  169. package/dist/production/src/accessorTree/AccessorTree.cjs +3 -1
  170. package/dist/production/src/accessorTree/AccessorTree.cjs.map +1 -1
  171. package/dist/production/src/accessorTree/AccessorTree.js +3 -1
  172. package/dist/production/src/accessorTree/AccessorTree.js.map +1 -1
  173. package/dist/production/src/accessorTree/useDataBinding.cjs +23 -36
  174. package/dist/production/src/accessorTree/useDataBinding.cjs.map +1 -1
  175. package/dist/production/src/accessorTree/useDataBinding.js +26 -39
  176. package/dist/production/src/accessorTree/useDataBinding.js.map +1 -1
  177. package/dist/production/src/accessorTree/useEnvironmentWithSchema.cjs +31 -0
  178. package/dist/production/src/accessorTree/useEnvironmentWithSchema.cjs.map +1 -0
  179. package/dist/production/src/accessorTree/useEnvironmentWithSchema.js +31 -0
  180. package/dist/production/src/accessorTree/useEnvironmentWithSchema.js.map +1 -0
  181. package/dist/production/src/coreComponents/Component.cjs.map +1 -1
  182. package/dist/production/src/coreComponents/Component.js.map +1 -1
  183. package/dist/production/src/coreComponents/DataBindingProvider.cjs +3 -5
  184. package/dist/production/src/coreComponents/DataBindingProvider.cjs.map +1 -1
  185. package/dist/production/src/coreComponents/DataBindingProvider.js +3 -5
  186. package/dist/production/src/coreComponents/DataBindingProvider.js.map +1 -1
  187. package/dist/production/src/coreComponents/EntityListSubTree.cjs +2 -11
  188. package/dist/production/src/coreComponents/EntityListSubTree.cjs.map +1 -1
  189. package/dist/production/src/coreComponents/EntityListSubTree.js +2 -11
  190. package/dist/production/src/coreComponents/EntityListSubTree.js.map +1 -1
  191. package/dist/production/src/coreComponents/EntitySubTree.cjs +2 -11
  192. package/dist/production/src/coreComponents/EntitySubTree.cjs.map +1 -1
  193. package/dist/production/src/coreComponents/EntitySubTree.js +2 -11
  194. package/dist/production/src/coreComponents/EntitySubTree.js.map +1 -1
  195. package/dist/production/src/entityEvents/useDerivedField.cjs +3 -3
  196. package/dist/production/src/entityEvents/useDerivedField.cjs.map +1 -1
  197. package/dist/production/src/entityEvents/useDerivedField.js +3 -3
  198. package/dist/production/src/entityEvents/useDerivedField.js.map +1 -1
  199. package/dist/production/src/helperComponents/DeferredSubTrees.cjs +2 -3
  200. package/dist/production/src/helperComponents/DeferredSubTrees.cjs.map +1 -1
  201. package/dist/production/src/helperComponents/DeferredSubTrees.js +3 -4
  202. package/dist/production/src/helperComponents/DeferredSubTrees.js.map +1 -1
  203. package/dist/production/src/helperComponents/FieldView.cjs +1 -1
  204. package/dist/production/src/helperComponents/FieldView.cjs.map +1 -1
  205. package/dist/production/src/helperComponents/FieldView.js +1 -1
  206. package/dist/production/src/helperComponents/FieldView.js.map +1 -1
  207. package/dist/production/src/markers/IncrementalMarkerBuilder.cjs +56 -0
  208. package/dist/production/src/markers/IncrementalMarkerBuilder.cjs.map +1 -0
  209. package/dist/production/src/markers/IncrementalMarkerBuilder.js +56 -0
  210. package/dist/production/src/markers/IncrementalMarkerBuilder.js.map +1 -0
  211. package/dist/production/src/markers/MarkerStaticAnalyzer.cjs +110 -0
  212. package/dist/production/src/markers/MarkerStaticAnalyzer.cjs.map +1 -0
  213. package/dist/production/src/markers/MarkerStaticAnalyzer.js +110 -0
  214. package/dist/production/src/markers/MarkerStaticAnalyzer.js.map +1 -0
  215. package/dist/production/src/markers/MarkerTreeGenerator.cjs +52 -0
  216. package/dist/production/src/markers/MarkerTreeGenerator.cjs.map +1 -0
  217. package/dist/production/src/markers/MarkerTreeGenerator.js +52 -0
  218. package/dist/production/src/markers/MarkerTreeGenerator.js.map +1 -0
  219. package/dist/types/accessorPropagation/BindingOperationsContext.d.ts +1 -1
  220. package/dist/types/accessorPropagation/BindingOperationsContext.d.ts.map +1 -1
  221. package/dist/types/accessorPropagation/EntityKeyContext.d.ts +2 -1
  222. package/dist/types/accessorPropagation/EntityKeyContext.d.ts.map +1 -1
  223. package/dist/types/accessorPropagation/EntityKeyProvider.d.ts +2 -1
  224. package/dist/types/accessorPropagation/EntityKeyProvider.d.ts.map +1 -1
  225. package/dist/types/accessorPropagation/EnvironmentContext.d.ts +2 -2
  226. package/dist/types/accessorPropagation/EnvironmentContext.d.ts.map +1 -1
  227. package/dist/types/accessorPropagation/TreeRootIdContext.d.ts +1 -1
  228. package/dist/types/accessorPropagation/TreeRootIdContext.d.ts.map +1 -1
  229. package/dist/types/accessorPropagation/useAccessorUpdateSubscription.d.ts +7 -12
  230. package/dist/types/accessorPropagation/useAccessorUpdateSubscription.d.ts.map +1 -1
  231. package/dist/types/accessorPropagation/useEntityKey.d.ts +2 -1
  232. package/dist/types/accessorPropagation/useEntityKey.d.ts.map +1 -1
  233. package/dist/types/accessorPropagation/useEntitySubTree.d.ts +1 -2
  234. package/dist/types/accessorPropagation/useEntitySubTree.d.ts.map +1 -1
  235. package/dist/types/accessorSorting/SetOrderFieldOnCreate.d.ts +1 -1
  236. package/dist/types/accessorSorting/SetOrderFieldOnCreate.d.ts.map +1 -1
  237. package/dist/types/accessorSorting/index.d.ts +0 -2
  238. package/dist/types/accessorSorting/index.d.ts.map +1 -1
  239. package/dist/types/accessorTree/AccessorTree.d.ts.map +1 -1
  240. package/dist/types/accessorTree/AccessorTreeState.d.ts +1 -4
  241. package/dist/types/accessorTree/AccessorTreeState.d.ts.map +1 -1
  242. package/dist/types/accessorTree/AccessorTreeStateContext.d.ts +1 -1
  243. package/dist/types/accessorTree/AccessorTreeStateContext.d.ts.map +1 -1
  244. package/dist/types/accessorTree/AccessorTreeStateOptions.d.ts +0 -2
  245. package/dist/types/accessorTree/AccessorTreeStateOptions.d.ts.map +1 -1
  246. package/dist/types/accessorTree/DirtinessContext.d.ts +1 -1
  247. package/dist/types/accessorTree/DirtinessContext.d.ts.map +1 -1
  248. package/dist/types/accessorTree/MutationStateContext.d.ts +1 -1
  249. package/dist/types/accessorTree/MutationStateContext.d.ts.map +1 -1
  250. package/dist/types/accessorTree/index.d.ts +0 -1
  251. package/dist/types/accessorTree/index.d.ts.map +1 -1
  252. package/dist/types/accessorTree/useDataBinding.d.ts +6 -2
  253. package/dist/types/accessorTree/useDataBinding.d.ts.map +1 -1
  254. package/dist/types/accessorTree/useEnvironmentWithSchema.d.ts +3 -0
  255. package/dist/types/accessorTree/useEnvironmentWithSchema.d.ts.map +1 -0
  256. package/dist/types/coreComponents/Component.d.ts +1 -1
  257. package/dist/types/coreComponents/Component.d.ts.map +1 -1
  258. package/dist/types/coreComponents/DataBindingProvider.d.ts +8 -8
  259. package/dist/types/coreComponents/DataBindingProvider.d.ts.map +1 -1
  260. package/dist/types/coreComponents/Entity.d.ts +1 -1
  261. package/dist/types/coreComponents/Entity.d.ts.map +1 -1
  262. package/dist/types/coreComponents/EntityListSubTree.d.ts +1 -1
  263. package/dist/types/coreComponents/EntityListSubTree.d.ts.map +1 -1
  264. package/dist/types/coreComponents/EntitySubTree.d.ts +1 -1
  265. package/dist/types/coreComponents/EntitySubTree.d.ts.map +1 -1
  266. package/dist/types/coreComponents/ParentEntity.d.ts +1 -1
  267. package/dist/types/coreComponents/ParentEntity.d.ts.map +1 -1
  268. package/dist/types/coreComponents/index.d.ts +0 -1
  269. package/dist/types/coreComponents/index.d.ts.map +1 -1
  270. package/dist/types/helperComponents/DeferredSubTrees.d.ts +1 -1
  271. package/dist/types/helperComponents/DeferredSubTrees.d.ts.map +1 -1
  272. package/dist/types/helperComponents/If.d.ts +1 -1
  273. package/dist/types/helperComponents/If.d.ts.map +1 -1
  274. package/dist/types/helperComponents/LabelMiddleware.d.ts +1 -1
  275. package/dist/types/helperComponents/LabelMiddleware.d.ts.map +1 -1
  276. package/dist/types/helperComponents/StaticRender.d.ts +1 -1
  277. package/dist/types/helperComponents/StaticRender.d.ts.map +1 -1
  278. package/dist/types/helperComponents/Variable.d.ts +1 -1
  279. package/dist/types/helperComponents/Variable.d.ts.map +1 -1
  280. package/dist/types/index.d.ts +1 -1
  281. package/dist/types/index.d.ts.map +1 -1
  282. package/dist/types/markers/IncrementalMarkerBuilder.d.ts +5 -0
  283. package/dist/types/markers/IncrementalMarkerBuilder.d.ts.map +1 -0
  284. package/dist/types/{coreComponents → markers}/MarkerProvider.d.ts +1 -2
  285. package/dist/types/markers/MarkerProvider.d.ts.map +1 -0
  286. package/dist/types/markers/MarkerStaticAnalyzer.d.ts +14 -0
  287. package/dist/types/markers/MarkerStaticAnalyzer.d.ts.map +1 -0
  288. package/dist/types/markers/MarkerTreeGenerator.d.ts +10 -0
  289. package/dist/types/markers/MarkerTreeGenerator.d.ts.map +1 -0
  290. package/dist/types/markers/index.d.ts +3 -0
  291. package/dist/types/markers/index.d.ts.map +1 -0
  292. package/dist/types/tsconfig.tsbuildinfo +1 -1
  293. package/package.json +9 -8
  294. package/src/accessorPropagation/AccessorProvider.tsx +1 -1
  295. package/src/accessorPropagation/BindingOperationsContext.ts +1 -0
  296. package/src/accessorPropagation/EntityKeyContext.ts +2 -1
  297. package/src/accessorPropagation/EntityKeyProvider.tsx +2 -1
  298. package/src/accessorPropagation/useAccessorUpdateSubscription.ts +19 -87
  299. package/src/accessorPropagation/useEntity.ts +4 -4
  300. package/src/accessorPropagation/useEntityKey.ts +2 -2
  301. package/src/accessorPropagation/useEntityList.ts +3 -3
  302. package/src/accessorPropagation/useEntityListSubTree.ts +1 -1
  303. package/src/accessorPropagation/useEntitySubTree.ts +3 -4
  304. package/src/accessorPropagation/useField.ts +3 -3
  305. package/src/accessorSorting/SetOrderFieldOnCreate.tsx +2 -2
  306. package/src/accessorSorting/addEntityAtIndex.ts +1 -1
  307. package/src/accessorSorting/index.ts +0 -2
  308. package/src/accessorSorting/repairEntitiesOrder.ts +1 -1
  309. package/src/accessorSorting/sortEntities.ts +2 -2
  310. package/src/accessorTree/AccessorTree.tsx +17 -12
  311. package/src/accessorTree/AccessorTreeState.ts +1 -4
  312. package/src/accessorTree/AccessorTreeStateOptions.ts +0 -2
  313. package/src/accessorTree/index.ts +0 -1
  314. package/src/accessorTree/useDataBinding.ts +35 -44
  315. package/src/accessorTree/useEnvironmentWithSchema.ts +31 -0
  316. package/src/coreComponents/Component.tsx +2 -2
  317. package/src/coreComponents/DataBindingProvider.tsx +22 -35
  318. package/src/coreComponents/EntityListSubTree.tsx +4 -18
  319. package/src/coreComponents/EntitySubTree.tsx +5 -20
  320. package/src/coreComponents/index.ts +0 -1
  321. package/src/entityEvents/useDerivedField.ts +3 -3
  322. package/src/helperComponents/DeferredSubTrees.tsx +1 -5
  323. package/src/helperComponents/FieldView.tsx +1 -1
  324. package/src/index.ts +1 -1
  325. package/src/markers/IncrementalMarkerBuilder.ts +60 -0
  326. package/src/{coreComponents → markers}/MarkerProvider.ts +2 -2
  327. package/src/markers/MarkerStaticAnalyzer.ts +132 -0
  328. package/src/markers/MarkerTreeGenerator.ts +72 -0
  329. package/src/markers/index.ts +2 -0
  330. package/src/tsconfig.json +2 -1
  331. package/src/typings/react-fix.d.ts +12 -0
  332. package/tests/cases/unit/model/markerTreeGenerator.spec.tsx +44 -9
  333. package/tests/lib/bindingFactory.ts +1 -1
  334. package/dist/development/src/MarkerTreeGenerator.cjs +0 -89
  335. package/dist/development/src/MarkerTreeGenerator.cjs.map +0 -1
  336. package/dist/development/src/MarkerTreeGenerator.js +0 -89
  337. package/dist/development/src/MarkerTreeGenerator.js.map +0 -1
  338. package/dist/development/src/accessorSorting/errors.cjs +0 -10
  339. package/dist/development/src/accessorSorting/errors.cjs.map +0 -1
  340. package/dist/development/src/accessorSorting/errors.js +0 -10
  341. package/dist/development/src/accessorSorting/errors.js.map +0 -1
  342. package/dist/development/src/accessorSorting/moveEntity.cjs +0 -42
  343. package/dist/development/src/accessorSorting/moveEntity.cjs.map +0 -1
  344. package/dist/development/src/accessorSorting/moveEntity.js +0 -42
  345. package/dist/development/src/accessorSorting/moveEntity.js.map +0 -1
  346. package/dist/development/src/accessorSorting/useSortedEntities.cjs +0 -80
  347. package/dist/development/src/accessorSorting/useSortedEntities.cjs.map +0 -1
  348. package/dist/development/src/accessorSorting/useSortedEntities.js +0 -80
  349. package/dist/development/src/accessorSorting/useSortedEntities.js.map +0 -1
  350. package/dist/development/src/accessorTree/accessorTreeStateReducer.cjs +0 -34
  351. package/dist/development/src/accessorTree/accessorTreeStateReducer.cjs.map +0 -1
  352. package/dist/development/src/accessorTree/accessorTreeStateReducer.js +0 -34
  353. package/dist/development/src/accessorTree/accessorTreeStateReducer.js.map +0 -1
  354. package/dist/development/src/core/IncrementalMarkerBuilder.cjs +0 -63
  355. package/dist/development/src/core/IncrementalMarkerBuilder.cjs.map +0 -1
  356. package/dist/development/src/core/IncrementalMarkerBuilder.js +0 -63
  357. package/dist/development/src/core/IncrementalMarkerBuilder.js.map +0 -1
  358. package/dist/production/src/MarkerTreeGenerator.cjs +0 -89
  359. package/dist/production/src/MarkerTreeGenerator.cjs.map +0 -1
  360. package/dist/production/src/MarkerTreeGenerator.js +0 -89
  361. package/dist/production/src/MarkerTreeGenerator.js.map +0 -1
  362. package/dist/production/src/accessorSorting/errors.cjs +0 -10
  363. package/dist/production/src/accessorSorting/errors.cjs.map +0 -1
  364. package/dist/production/src/accessorSorting/errors.js +0 -10
  365. package/dist/production/src/accessorSorting/errors.js.map +0 -1
  366. package/dist/production/src/accessorSorting/moveEntity.cjs +0 -42
  367. package/dist/production/src/accessorSorting/moveEntity.cjs.map +0 -1
  368. package/dist/production/src/accessorSorting/moveEntity.js +0 -42
  369. package/dist/production/src/accessorSorting/moveEntity.js.map +0 -1
  370. package/dist/production/src/accessorSorting/useSortedEntities.cjs +0 -80
  371. package/dist/production/src/accessorSorting/useSortedEntities.cjs.map +0 -1
  372. package/dist/production/src/accessorSorting/useSortedEntities.js +0 -80
  373. package/dist/production/src/accessorSorting/useSortedEntities.js.map +0 -1
  374. package/dist/production/src/accessorTree/accessorTreeStateReducer.cjs +0 -34
  375. package/dist/production/src/accessorTree/accessorTreeStateReducer.cjs.map +0 -1
  376. package/dist/production/src/accessorTree/accessorTreeStateReducer.js +0 -34
  377. package/dist/production/src/accessorTree/accessorTreeStateReducer.js.map +0 -1
  378. package/dist/production/src/core/IncrementalMarkerBuilder.cjs +0 -63
  379. package/dist/production/src/core/IncrementalMarkerBuilder.cjs.map +0 -1
  380. package/dist/production/src/core/IncrementalMarkerBuilder.js +0 -63
  381. package/dist/production/src/core/IncrementalMarkerBuilder.js.map +0 -1
  382. package/dist/types/MarkerTreeGenerator.d.ts +0 -14
  383. package/dist/types/MarkerTreeGenerator.d.ts.map +0 -1
  384. package/dist/types/accessorSorting/errors.d.ts +0 -3
  385. package/dist/types/accessorSorting/errors.d.ts.map +0 -1
  386. package/dist/types/accessorSorting/moveEntity.d.ts +0 -4
  387. package/dist/types/accessorSorting/moveEntity.d.ts.map +0 -1
  388. package/dist/types/accessorSorting/useSortedEntities.d.ts +0 -5
  389. package/dist/types/accessorSorting/useSortedEntities.d.ts.map +0 -1
  390. package/dist/types/accessorTree/accessorTreeStateReducer.d.ts +0 -4
  391. package/dist/types/accessorTree/accessorTreeStateReducer.d.ts.map +0 -1
  392. package/dist/types/core/IncrementalMarkerBuilder.d.ts +0 -7
  393. package/dist/types/core/IncrementalMarkerBuilder.d.ts.map +0 -1
  394. package/dist/types/coreComponents/MarkerProvider.d.ts.map +0 -1
  395. package/src/MarkerTreeGenerator.ts +0 -121
  396. package/src/accessorSorting/errors.ts +0 -9
  397. package/src/accessorSorting/moveEntity.ts +0 -65
  398. package/src/accessorSorting/useSortedEntities.ts +0 -102
  399. package/src/accessorTree/accessorTreeStateReducer.ts +0 -36
  400. package/src/core/IncrementalMarkerBuilder.ts +0 -64
@@ -1 +1 @@
1
- {"version":3,"file":"EntityKeyContext.d.ts","sourceRoot":"","sources":["../../../src/accessorPropagation/EntityKeyContext.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,6CAA+C,CAAA"}
1
+ {"version":3,"file":"EntityKeyContext.d.ts","sourceRoot":"","sources":["../../../src/accessorPropagation/EntityKeyContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAG1D,eAAO,MAAM,gBAAgB,gCAA6C,cAAc,cAAa,CAAA"}
@@ -1,6 +1,7 @@
1
1
  import type { ReactNode } from 'react';
2
+ import { EntityAccessor } from '@contember/binding';
2
3
  export interface EntityKeyProviderProps {
3
- entityKey: string;
4
+ entityKey: string | (() => EntityAccessor);
4
5
  children: ReactNode;
5
6
  }
6
7
  export declare function EntityKeyProvider(props: EntityKeyProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"EntityKeyProvider.d.ts","sourceRoot":"","sources":["../../../src/accessorPropagation/EntityKeyProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,MAAM,WAAW,sBAAsB;IACtC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,SAAS,CAAA;CACnB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAE9D"}
1
+ {"version":3,"file":"EntityKeyProvider.d.ts","sourceRoot":"","sources":["../../../src/accessorPropagation/EntityKeyProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAEnD,MAAM,WAAW,sBAAsB;IACtC,SAAS,EAAE,MAAM,GAAG,CAAC,MAAM,cAAc,CAAC,CAAA;IAC1C,QAAQ,EAAE,SAAS,CAAA;CACnB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAE9D"}
@@ -1,11 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { Environment } from '@contember/binding';
3
- export declare const EnvironmentContext: import("react").Context<Environment<Environment.AnyNode | undefined>>;
3
+ export declare const EnvironmentContext: React.Context<Environment<Environment.AnyNode | undefined>>;
4
4
  export interface EnvironmentMiddlewareProps {
5
5
  children: ReactNode;
6
6
  create: (env: Environment) => Environment;
7
7
  }
8
- export declare const EnvironmentMiddleware: import("react").NamedExoticComponent<EnvironmentMiddlewareProps>;
8
+ export declare const EnvironmentMiddleware: React.NamedExoticComponent<EnvironmentMiddlewareProps>;
9
9
  export interface EnvironmentWithExtensionProps<S, R> {
10
10
  children: ReactNode;
11
11
  extension: Environment.Extension<S, R>;
@@ -1 +1 @@
1
- {"version":3,"file":"EnvironmentContext.d.ts","sourceRoot":"","sources":["../../../src/accessorPropagation/EnvironmentContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAwB,MAAM,OAAO,CAAA;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAIhD,eAAO,MAAM,kBAAkB,uEAAmD,CAAA;AAGlF,MAAM,WAAW,0BAA0B;IAC1C,QAAQ,EAAE,SAAS,CAAA;IACnB,MAAM,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,WAAW,CAAA;CACzC;AAED,eAAO,MAAM,qBAAqB,kEAejC,CAAA;AAED,MAAM,WAAW,6BAA6B,CAAC,CAAC,EAAE,CAAC;IAClD,QAAQ,EAAE,SAAS,CAAA;IACnB,SAAS,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;IACtC,KAAK,EAAE,CAAC,CAAA;CACR;AAED,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,6BAA6B,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,SAShG,CAAA"}
1
+ {"version":3,"file":"EnvironmentContext.d.ts","sourceRoot":"","sources":["../../../src/accessorPropagation/EnvironmentContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAwB,MAAM,OAAO,CAAA;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAIhD,eAAO,MAAM,kBAAkB,6DAAmD,CAAA;AAGlF,MAAM,WAAW,0BAA0B;IAC1C,QAAQ,EAAE,SAAS,CAAA;IACnB,MAAM,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,WAAW,CAAA;CACzC;AAED,eAAO,MAAM,qBAAqB,wDAejC,CAAA;AAED,MAAM,WAAW,6BAA6B,CAAC,CAAC,EAAE,CAAC;IAClD,QAAQ,EAAE,SAAS,CAAA;IACnB,SAAS,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;IACtC,KAAK,EAAE,CAAC,CAAA;CACR;AAED,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,6BAA6B,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,SAShG,CAAA"}
@@ -1,2 +1,2 @@
1
- export declare const TreeRootIdContext: import("react").Context<string | undefined>;
1
+ export declare const TreeRootIdContext: React.Context<string | undefined>;
2
2
  //# sourceMappingURL=TreeRootIdContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TreeRootIdContext.d.ts","sourceRoot":"","sources":["../../../src/accessorPropagation/TreeRootIdContext.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,6CAAmD,CAAA"}
1
+ {"version":3,"file":"TreeRootIdContext.d.ts","sourceRoot":"","sources":["../../../src/accessorPropagation/TreeRootIdContext.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,mCAAmD,CAAA"}
@@ -1,16 +1,11 @@
1
- import type { EntityAccessor, EntityListAccessor, FieldAccessor } from '@contember/binding';
2
- import type { FieldValue } from '@contember/binding';
3
- export type ForceAccessorUpdate = () => void;
4
1
  /**
5
2
  * It is VERY IMPORTANT for the parameter to be referentially stable!
6
3
  */
7
- declare function useAccessorUpdateSubscription<Value extends FieldValue = FieldValue>(getFieldAccessor: () => FieldAccessor<Value>): FieldAccessor<Value>;
8
- declare function useAccessorUpdateSubscription(getEntityAccessor: () => EntityAccessor): EntityAccessor;
9
- declare function useAccessorUpdateSubscription(getListAccessor: () => EntityListAccessor): EntityListAccessor;
10
- declare function useAccessorUpdateSubscription(getAccessor: () => EntityListAccessor | EntityAccessor): EntityListAccessor | EntityAccessor;
11
- declare function useAccessorUpdateSubscription<Value extends FieldValue = FieldValue>(getFieldAccessor: () => FieldAccessor<Value>, withForceUpdate: true): [FieldAccessor<Value>, ForceAccessorUpdate];
12
- declare function useAccessorUpdateSubscription(getEntityAccessor: () => EntityAccessor, withForceUpdate: true): [EntityAccessor, ForceAccessorUpdate];
13
- declare function useAccessorUpdateSubscription(getListAccessor: () => EntityListAccessor, withForceUpdate: true): [EntityListAccessor, ForceAccessorUpdate];
14
- declare function useAccessorUpdateSubscription(getAccessor: () => EntityListAccessor | EntityAccessor, withForceUpdate: true): [EntityListAccessor | EntityAccessor, ForceAccessorUpdate];
15
- export { useAccessorUpdateSubscription };
4
+ export declare const useAccessorUpdateSubscription: <Accessor extends {
5
+ addEventListener: (event: {
6
+ type: "update";
7
+ }, cb: (accessor: Accessor) => void) => () => void;
8
+ }>(getAccessor: () => Accessor) => [Accessor, {
9
+ update: () => void;
10
+ }];
16
11
  //# sourceMappingURL=useAccessorUpdateSubscription.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useAccessorUpdateSubscription.d.ts","sourceRoot":"","sources":["../../../src/accessorPropagation/useAccessorUpdateSubscription.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAC3F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAEpD,MAAM,MAAM,mBAAmB,GAAG,MAAM,IAAI,CAAA;AAE5C;;GAEG;AACH,iBAAS,6BAA6B,CAAC,KAAK,SAAS,UAAU,GAAG,UAAU,EAC3E,gBAAgB,EAAE,MAAM,aAAa,CAAC,KAAK,CAAC,GAC1C,aAAa,CAAC,KAAK,CAAC,CAAA;AACvB,iBAAS,6BAA6B,CAAC,iBAAiB,EAAE,MAAM,cAAc,GAAG,cAAc,CAAA;AAC/F,iBAAS,6BAA6B,CAAC,eAAe,EAAE,MAAM,kBAAkB,GAAG,kBAAkB,CAAA;AACrG,iBAAS,6BAA6B,CACrC,WAAW,EAAE,MAAM,kBAAkB,GAAG,cAAc,GACpD,kBAAkB,GAAG,cAAc,CAAA;AACtC,iBAAS,6BAA6B,CAAC,KAAK,SAAS,UAAU,GAAG,UAAU,EAC3E,gBAAgB,EAAE,MAAM,aAAa,CAAC,KAAK,CAAC,EAC5C,eAAe,EAAE,IAAI,GACnB,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,mBAAmB,CAAC,CAAA;AAC9C,iBAAS,6BAA6B,CACrC,iBAAiB,EAAE,MAAM,cAAc,EACvC,eAAe,EAAE,IAAI,GACnB,CAAC,cAAc,EAAE,mBAAmB,CAAC,CAAA;AACxC,iBAAS,6BAA6B,CACrC,eAAe,EAAE,MAAM,kBAAkB,EACzC,eAAe,EAAE,IAAI,GACnB,CAAC,kBAAkB,EAAE,mBAAmB,CAAC,CAAA;AAC5C,iBAAS,6BAA6B,CACrC,WAAW,EAAE,MAAM,kBAAkB,GAAG,cAAc,EACtD,eAAe,EAAE,IAAI,GACnB,CAAC,kBAAkB,GAAG,cAAc,EAAE,mBAAmB,CAAC,CAAA;AAyE7D,OAAO,EAAE,6BAA6B,EAAE,CAAA"}
1
+ {"version":3,"file":"useAccessorUpdateSubscription.d.ts","sourceRoot":"","sources":["../../../src/accessorPropagation/useAccessorUpdateSubscription.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,6BAA6B,GAAI,QAAQ,SAAS;IAC9D,gBAAgB,EAAE,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,QAAQ,CAAA;KAAE,EAAE,EAAE,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,KAAK,MAAM,IAAI,CAAA;CAC7F,eAAe,MAAM,QAAQ,KAAG,CAAC,QAAQ,EAAE;IAAC,MAAM,EAAE,MAAM,IAAI,CAAA;CAAC,CA+B/D,CAAA"}
@@ -1,2 +1,3 @@
1
- export declare const useEntityKey: () => string;
1
+ import { EntityAccessor } from '@contember/binding';
2
+ export declare const useEntityKey: () => string | (() => EntityAccessor);
2
3
  //# sourceMappingURL=useEntityKey.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useEntityKey.d.ts","sourceRoot":"","sources":["../../../src/accessorPropagation/useEntityKey.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,QAAO,MAU/B,CAAA"}
1
+ {"version":3,"file":"useEntityKey.d.ts","sourceRoot":"","sources":["../../../src/accessorPropagation/useEntityKey.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAGjE,eAAO,MAAM,YAAY,QAAO,MAAM,GAAG,CAAC,MAAM,cAAc,CAU7D,CAAA"}
@@ -1,5 +1,4 @@
1
- import type { EntityAccessor } from '@contember/binding';
2
- import type { Alias, SugaredQualifiedSingleEntity, SugaredUnconstrainedQualifiedSingleEntity } from '@contember/binding';
1
+ import type { Alias, EntityAccessor, SugaredQualifiedSingleEntity, SugaredUnconstrainedQualifiedSingleEntity } from '@contember/binding';
3
2
  import { TreeRootId } from '@contember/binding';
4
3
  export declare const useEntitySubTree: (qualifiedSingleEntity: Alias | SugaredQualifiedSingleEntity | SugaredUnconstrainedQualifiedSingleEntity, ...treeId: [TreeRootId | undefined] | []) => EntityAccessor;
5
4
  //# sourceMappingURL=useEntitySubTree.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useEntitySubTree.d.ts","sourceRoot":"","sources":["../../../src/accessorPropagation/useEntitySubTree.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,KAAK,EAAE,KAAK,EAAE,4BAA4B,EAAE,yCAAyC,EAAE,MAAM,oBAAoB,CAAA;AAIxH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAE/C,eAAO,MAAM,gBAAgB,0BACL,KAAK,GAAG,4BAA4B,GAAG,yCAAyC,aAC5F,CAAC,UAAU,GAAG,SAAS,CAAC,GAAG,EAAE,KACtC,cAcF,CAAA"}
1
+ {"version":3,"file":"useEntitySubTree.d.ts","sourceRoot":"","sources":["../../../src/accessorPropagation/useEntitySubTree.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE,4BAA4B,EAAE,yCAAyC,EAAE,MAAM,oBAAoB,CAAA;AACxI,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAK/C,eAAO,MAAM,gBAAgB,0BACL,KAAK,GAAG,4BAA4B,GAAG,yCAAyC,aAC5F,CAAC,UAAU,GAAG,SAAS,CAAC,GAAG,EAAE,KACtC,cAcF,CAAA"}
@@ -5,5 +5,5 @@ export interface SetOrderFieldOnCreateOwnProps {
5
5
  }
6
6
  export interface SetOrderFieldOnCreateProps extends SetOrderFieldOnCreateOwnProps, Pick<SugaredUnconstrainedQualifiedSingleEntity, 'entity'> {
7
7
  }
8
- export declare const SetOrderFieldOnCreate: import("react").NamedExoticComponent<SetOrderFieldOnCreateProps>;
8
+ export declare const SetOrderFieldOnCreate: React.NamedExoticComponent<SetOrderFieldOnCreateProps>;
9
9
  //# sourceMappingURL=SetOrderFieldOnCreate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SetOrderFieldOnCreate.d.ts","sourceRoot":"","sources":["../../../src/accessorSorting/SetOrderFieldOnCreate.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGX,0BAA0B,EAC1B,yCAAyC,EACzC,MAAM,oBAAoB,CAAA;AAM3B,MAAM,WAAW,6BAA6B;IAC7C,UAAU,EAAE,0BAA0B,GAAG,MAAM,CAAA;IAC/C,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,0BAChB,SAAQ,6BAA6B,EACrC,IAAI,CAAC,yCAAyC,EAAE,QAAQ,CAAC;CAAG;AAE7D,eAAO,MAAM,qBAAqB,kEAqEjC,CAAA"}
1
+ {"version":3,"file":"SetOrderFieldOnCreate.d.ts","sourceRoot":"","sources":["../../../src/accessorSorting/SetOrderFieldOnCreate.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGX,0BAA0B,EAC1B,yCAAyC,EACzC,MAAM,oBAAoB,CAAA;AAM3B,MAAM,WAAW,6BAA6B;IAC7C,UAAU,EAAE,0BAA0B,GAAG,MAAM,CAAA;IAC/C,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,0BAChB,SAAQ,6BAA6B,EACrC,IAAI,CAAC,yCAAyC,EAAE,QAAQ,CAAC;CAAG;AAE7D,eAAO,MAAM,qBAAqB,wDAqEjC,CAAA"}
@@ -1,8 +1,6 @@
1
1
  export * from './addEntityAtIndex';
2
- export * from './moveEntity';
3
2
  export * from './repairEntitiesOrder';
4
3
  export * from './SetOrderFieldOnCreate';
5
4
  export * from './sortEntities';
6
- export * from './useSortedEntities';
7
5
  export type { SortedEntities } from './SortedEntities';
8
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/accessorSorting/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAElC,cAAc,cAAc,CAAA;AAC5B,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,qBAAqB,CAAA;AAEnC,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/accessorSorting/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAElC,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAE9B,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"AccessorTree.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/AccessorTree.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAK5D,MAAM,WAAW,iBAAiB;IACjC,KAAK,EAAE,iBAAiB,CAAA;IACxB,QAAQ,EAAE,SAAS,CAAA;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,YAAY;0BAAyB,iBAAiB;;CAmBlE,CAAA"}
1
+ {"version":3,"file":"AccessorTree.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/AccessorTree.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAM5D,MAAM,WAAW,iBAAiB;IACjC,KAAK,EAAE,iBAAiB,CAAA;IACxB,QAAQ,EAAE,SAAS,CAAA;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,YAAY;0BAAyB,iBAAiB;;CAuBlE,CAAA"}
@@ -1,22 +1,19 @@
1
1
  import type { TreeRootAccessor } from '@contember/binding';
2
- import { DataBinding, Environment } from '@contember/binding';
2
+ import { Environment } from '@contember/binding';
3
3
  import { ReactNode } from 'react';
4
4
  import { GraphQlClientError } from '@contember/react-client';
5
5
  export interface InitializingAccessorTreeState {
6
6
  name: 'initializing';
7
7
  environment: Environment;
8
- binding?: DataBinding<ReactNode>;
9
8
  }
10
9
  export interface InitializedAccessorTreeState {
11
10
  name: 'initialized';
12
11
  environment: Environment;
13
- binding: DataBinding<ReactNode>;
14
12
  data: TreeRootAccessor<ReactNode>;
15
13
  }
16
14
  export interface ErrorAccessorTreeState {
17
15
  name: 'error';
18
16
  environment: Environment;
19
- binding: DataBinding<ReactNode>;
20
17
  error: GraphQlClientError;
21
18
  }
22
19
  export type AccessorTreeState = InitializingAccessorTreeState | InitializedAccessorTreeState | ErrorAccessorTreeState;
@@ -1 +1 @@
1
- {"version":3,"file":"AccessorTreeState.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/AccessorTreeState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAE5D,MAAM,WAAW,6BAA6B;IAC7C,IAAI,EAAE,cAAc,CAAA;IACpB,WAAW,EAAE,WAAW,CAAA;IACxB,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;CAChC;AAED,MAAM,WAAW,4BAA4B;IAC5C,IAAI,EAAE,aAAa,CAAA;IACnB,WAAW,EAAE,WAAW,CAAA;IACxB,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;IAC/B,IAAI,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,sBAAsB;IACtC,IAAI,EAAE,OAAO,CAAA;IACb,WAAW,EAAE,WAAW,CAAA;IACxB,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;IAC/B,KAAK,EAAE,kBAAkB,CAAA;CACzB;AAED,MAAM,MAAM,iBAAiB,GAC1B,6BAA6B,GAC7B,4BAA4B,GAC5B,sBAAsB,CAAA"}
1
+ {"version":3,"file":"AccessorTreeState.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/AccessorTreeState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAE5D,MAAM,WAAW,6BAA6B;IAC7C,IAAI,EAAE,cAAc,CAAA;IACpB,WAAW,EAAE,WAAW,CAAA;CACxB;AAED,MAAM,WAAW,4BAA4B;IAC5C,IAAI,EAAE,aAAa,CAAA;IACnB,WAAW,EAAE,WAAW,CAAA;IACxB,IAAI,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,sBAAsB;IACtC,IAAI,EAAE,OAAO,CAAA;IACb,WAAW,EAAE,WAAW,CAAA;IACxB,KAAK,EAAE,kBAAkB,CAAA;CACzB;AAED,MAAM,MAAM,iBAAiB,GAC1B,6BAA6B,GAC7B,4BAA4B,GAC5B,sBAAsB,CAAA"}
@@ -1,3 +1,3 @@
1
1
  import { AccessorTreeState } from './AccessorTreeState';
2
- export declare const AccessorTreeStateContext: import("react").Context<AccessorTreeState | undefined>;
2
+ export declare const AccessorTreeStateContext: React.Context<AccessorTreeState | undefined>;
3
3
  //# sourceMappingURL=AccessorTreeStateContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccessorTreeStateContext.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/AccessorTreeStateContext.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,eAAO,MAAM,wBAAwB,wDAA0D,CAAA"}
1
+ {"version":3,"file":"AccessorTreeStateContext.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/AccessorTreeStateContext.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,eAAO,MAAM,wBAAwB,8CAA0D,CAAA"}
@@ -1,7 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
2
  export interface AccessorTreeStateOptions {
3
3
  children?: ReactNode;
4
- refreshOnPersist?: boolean;
5
- skipStateUpdateAfterPersist?: boolean;
6
4
  }
7
5
  //# sourceMappingURL=AccessorTreeStateOptions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccessorTreeStateOptions.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/AccessorTreeStateOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,wBAAwB;IACxC,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,2BAA2B,CAAC,EAAE,OAAO,CAAA;CACrC"}
1
+ {"version":3,"file":"AccessorTreeStateOptions.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/AccessorTreeStateOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,wBAAwB;IACxC,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB"}
@@ -1,2 +1,2 @@
1
- export declare const DirtinessContext: import("react").Context<boolean>;
1
+ export declare const DirtinessContext: React.Context<boolean>;
2
2
  //# sourceMappingURL=DirtinessContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DirtinessContext.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/DirtinessContext.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,kCAAgC,CAAA"}
1
+ {"version":3,"file":"DirtinessContext.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/DirtinessContext.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,wBAAgC,CAAA"}
@@ -1,2 +1,2 @@
1
- export declare const MutationStateContext: import("react").Context<boolean>;
1
+ export declare const MutationStateContext: React.Context<boolean>;
2
2
  //# sourceMappingURL=MutationStateContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MutationStateContext.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/MutationStateContext.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,kCAAgC,CAAA"}
1
+ {"version":3,"file":"MutationStateContext.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/MutationStateContext.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,wBAAgC,CAAA"}
@@ -3,7 +3,6 @@ export * from './AccessorTreeState';
3
3
  export * from './AccessorTreeStateAction';
4
4
  export * from './AccessorTreeStateMetadata';
5
5
  export * from './AccessorTreeStateOptions';
6
- export * from './accessorTreeStateReducer';
7
6
  export * from './DirtinessContext';
8
7
  export * from './MutationStateContext';
9
8
  export * from './useAccessorTreeState';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA"}
@@ -1,4 +1,8 @@
1
+ import { ReactNode } from 'react';
1
2
  import type { AccessorTreeState } from './AccessorTreeState';
2
- import type { AccessorTreeStateOptions } from './AccessorTreeStateOptions';
3
- export declare const useDataBinding: ({ children, refreshOnPersist, skipStateUpdateAfterPersist, }: AccessorTreeStateOptions) => AccessorTreeState;
3
+ export declare const useDataBinding: ({ children, refreshOnPersist, skipStateUpdateAfterPersist, }: {
4
+ children?: ReactNode;
5
+ refreshOnPersist?: boolean;
6
+ skipStateUpdateAfterPersist?: boolean;
7
+ }) => AccessorTreeState;
4
8
  //# sourceMappingURL=useDataBinding.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDataBinding.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/useDataBinding.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAM1E,eAAO,MAAM,cAAc,iEAIxB,wBAAwB,KAAG,iBA+F7B,CAAA"}
1
+ {"version":3,"file":"useDataBinding.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/useDataBinding.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAA4C,MAAM,OAAO,CAAA;AAG3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAO5D,eAAO,MAAM,cAAc,iEAIxB;IACF,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,2BAA2B,CAAC,EAAE,OAAO,CAAA;CACrC,KAAG,iBAmFH,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { Environment } from '@contember/binding';
2
+ export declare const useEnvironmentWithSchema: (env: Environment) => Environment | undefined;
3
+ //# sourceMappingURL=useEnvironmentWithSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEnvironmentWithSchema.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/useEnvironmentWithSchema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAwB,MAAM,oBAAoB,CAAA;AAItE,eAAO,MAAM,wBAAwB,QAAS,WAAW,KAAG,WAAW,GAAG,SAyBzE,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { NamedExoticComponent, PropsWithChildren, ReactNode } from 'react';
2
2
  import type { Environment } from '@contember/binding';
3
- import type { MarkerProvider, StaticRenderProviderProps } from './MarkerProvider';
3
+ import type { MarkerProvider, StaticRenderProviderProps } from '../markers';
4
4
  interface EnvironmentAwareFunctionComponent<P> {
5
5
  (props: PropsWithChildren<P>, environment: Environment): ReactNode;
6
6
  displayName?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/Component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,oBAAoB,EAAE,iBAAiB,EAAgB,SAAS,EAAE,MAAM,OAAO,CAAA;AAE9F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,KAAK,EAAE,cAAc,EAAwB,yBAAyB,EAAE,MAAM,kBAAkB,CAAA;AAGvG,UAAU,iCAAiC,CAAC,CAAC;IAC5C,CAAC,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,WAAW,GAAG,SAAS,CAAA;IAClE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAChC;AAED,iBAAS,SAAS,CAAC,KAAK,SAAS,EAAE,EAClC,eAAe,EAAE,iCAAiC,CAAC,KAAK,CAAC,EACzD,WAAW,CAAC,EAAE,MAAM,GAClB,oBAAoB,CAAC,KAAK,CAAC,CAAA;AAE9B,iBAAS,SAAS,CAAC,KAAK,SAAS,EAAE,EAAE,kBAAkB,SAAS,MAAM,KAAK,GAAG,KAAK,EAClF,cAAc,EAAE,iCAAiC,CAAC,KAAK,CAAC,EACxD,YAAY,EAAE,CAAC,KAAK,EAAE,yBAAyB,CAAC,KAAK,EAAE,kBAAkB,CAAC,EAAE,WAAW,EAAE,WAAW,KAAK,SAAS,EAClH,WAAW,CAAC,EAAE,MAAM,GAClB,oBAAoB,CAAC,KAAK,CAAC,CAAA;AAE9B,iBAAS,SAAS,CAAC,KAAK,SAAS,EAAE,EAAE,kBAAkB,SAAS,MAAM,KAAK,GAAG,KAAK,EAClF,cAAc,EAAE,iCAAiC,CAAC,KAAK,CAAC,EACxD,gBAAgB,EAAE,cAAc,CAAC,KAAK,EAAE,kBAAkB,CAAC,EAC3D,WAAW,CAAC,EAAE,MAAM,GAClB,oBAAoB,CAAC,KAAK,CAAC,CAAA;AA2C9B,YAAY,EAAE,iCAAiC,EAAE,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,CAAA"}
1
+ {"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/Component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,oBAAoB,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEhF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,KAAK,EAAE,cAAc,EAAwB,yBAAyB,EAAE,MAAM,YAAY,CAAA;AAGjG,UAAU,iCAAiC,CAAC,CAAC;IAC5C,CAAC,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,WAAW,GAAG,SAAS,CAAA;IAClE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAChC;AAED,iBAAS,SAAS,CAAC,KAAK,SAAS,EAAE,EAClC,eAAe,EAAE,iCAAiC,CAAC,KAAK,CAAC,EACzD,WAAW,CAAC,EAAE,MAAM,GAClB,oBAAoB,CAAC,KAAK,CAAC,CAAA;AAE9B,iBAAS,SAAS,CAAC,KAAK,SAAS,EAAE,EAAE,kBAAkB,SAAS,MAAM,KAAK,GAAG,KAAK,EAClF,cAAc,EAAE,iCAAiC,CAAC,KAAK,CAAC,EACxD,YAAY,EAAE,CAAC,KAAK,EAAE,yBAAyB,CAAC,KAAK,EAAE,kBAAkB,CAAC,EAAE,WAAW,EAAE,WAAW,KAAK,SAAS,EAClH,WAAW,CAAC,EAAE,MAAM,GAClB,oBAAoB,CAAC,KAAK,CAAC,CAAA;AAE9B,iBAAS,SAAS,CAAC,KAAK,SAAS,EAAE,EAAE,kBAAkB,SAAS,MAAM,KAAK,GAAG,KAAK,EAClF,cAAc,EAAE,iCAAiC,CAAC,KAAK,CAAC,EACxD,gBAAgB,EAAE,cAAc,CAAC,KAAK,EAAE,kBAAkB,CAAC,EAC3D,WAAW,CAAC,EAAE,MAAM,GAClB,oBAAoB,CAAC,KAAK,CAAC,CAAA;AA2C9B,YAAY,EAAE,iCAAiC,EAAE,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,CAAA"}
@@ -1,18 +1,18 @@
1
1
  import { ComponentType, ReactElement, ReactNode } from 'react';
2
- import { AccessorTreeState, AccessorTreeStateOptions } from '../accessorTree';
3
- export type DataBindingProviderStateComponent<StateProps> = ({
4
- stateComponent?: never;
5
- stateProps?: never;
6
- } | {
2
+ import { AccessorTreeState } from '../accessorTree';
3
+ export type DataBindingProviderStateComponent<StateProps> = {
7
4
  stateComponent: ComponentType<StateProps & DataBindingStateComponentProps>;
8
5
  stateProps?: StateProps;
9
- });
10
- export type DataBindingProviderBaseProps = AccessorTreeStateOptions;
6
+ };
11
7
  export interface DataBindingStateComponentProps {
12
8
  accessorTreeState: AccessorTreeState;
13
9
  children?: ReactNode;
14
10
  }
15
- export type DataBindingProviderProps<StateProps> = DataBindingProviderBaseProps & DataBindingProviderStateComponent<StateProps>;
11
+ export type DataBindingProviderProps<StateProps> = {
12
+ refreshOnPersist?: boolean;
13
+ skipStateUpdateAfterPersist?: boolean;
14
+ children?: ReactNode;
15
+ } & DataBindingProviderStateComponent<StateProps>;
16
16
  /**
17
17
  * The `DataBindingProvider` is a root component for all other data binding related components.
18
18
  *
@@ -1 +1 @@
1
- {"version":3,"file":"DataBindingProvider.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/DataBindingProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAuB,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACnF,OAAO,EAAgB,iBAAiB,EAAE,wBAAwB,EAAkB,MAAM,iBAAiB,CAAA;AAI3G,MAAM,MAAM,iCAAiC,CAAC,UAAU,IAAI,CACzD;IACD,cAAc,CAAC,EAAE,KAAK,CAAA;IACtB,UAAU,CAAC,EAAE,KAAK,CAAA;CAClB,GACC;IACD,cAAc,EAAE,aAAa,CAAC,UAAU,GAAG,8BAA8B,CAAC,CAAA;IAC1E,UAAU,CAAC,EAAE,UAAU,CAAA;CACvB,CACD,CAAA;AAED,MAAM,MAAM,4BAA4B,GACrC,wBAAwB,CAAA;AAE3B,MAAM,WAAW,8BAA8B;IAC9C,iBAAiB,EAAE,iBAAiB,CAAA;IACpC,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,MAAM,MAAM,wBAAwB,CAAC,UAAU,IAC5C,4BAA4B,GAC5B,iCAAiC,CAAC,UAAU,CAAC,CAAA;AAEhD;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB,EAyB1B,CAAC,UAAU,EAAE,KAAK,EAAE,wBAAwB,CAAC,UAAU,CAAC,KAAK,YAAY,CAAA"}
1
+ {"version":3,"file":"DataBindingProvider.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/DataBindingProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAuB,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACnF,OAAO,EAAgB,iBAAiB,EAAkB,MAAM,iBAAiB,CAAA;AAEjF,MAAM,MAAM,iCAAiC,CAAC,UAAU,IAAI;IAC3D,cAAc,EAAE,aAAa,CAAC,UAAU,GAAG,8BAA8B,CAAC,CAAA;IAC1E,UAAU,CAAC,EAAE,UAAU,CAAA;CACvB,CAAA;AAED,MAAM,WAAW,8BAA8B;IAC9C,iBAAiB,EAAE,iBAAiB,CAAA;IACpC,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,MAAM,MAAM,wBAAwB,CAAC,UAAU,IAC5C;IACD,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,2BAA2B,CAAC,EAAE,OAAO,CAAA;IACrC,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB,GACC,iCAAiC,CAAC,UAAU,CAAC,CAAA;AAGhD;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB,EAkB1B,CAAC,UAAU,EAAE,KAAK,EAAE,wBAAwB,CAAC,UAAU,CAAC,KAAK,YAAY,CAAA"}
@@ -8,5 +8,5 @@ export type EntityProps = EntityBaseProps;
8
8
  /**
9
9
  * @group Data binding
10
10
  */
11
- export declare const Entity: import("react").NamedExoticComponent<EntityBaseProps>;
11
+ export declare const Entity: React.NamedExoticComponent<EntityBaseProps>;
12
12
  //# sourceMappingURL=Entity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Entity.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/Entity.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAGxD,MAAM,WAAW,eAAe;IAC/B,QAAQ,EAAE,cAAc,CAAA;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,MAAM,MAAM,WAAW,GAAG,eAAe,CAAA;AAEzC;;GAEG;AACH,eAAO,MAAM,MAAM,uDAUlB,CAAA"}
1
+ {"version":3,"file":"Entity.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/Entity.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAGxD,MAAM,WAAW,eAAe;IAC/B,QAAQ,EAAE,cAAc,CAAA;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,MAAM,MAAM,WAAW,GAAG,eAAe,CAAA;AAEzC;;GAEG;AACH,eAAO,MAAM,MAAM,6CAUlB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { ComponentType, ReactElement, ReactNode } from 'react';
2
- import { Environment } from '@contember/binding';
3
2
  import type { SugaredQualifiedEntityList, SugaredUnconstrainedQualifiedEntityList, TreeRootId } from '@contember/binding';
3
+ import { Environment } from '@contember/binding';
4
4
  import { EntityListBaseProps } from './EntityList';
5
5
  export interface EntityListSubTreeAdditionalProps {
6
6
  variables?: Environment.ValuesMapWithFactory;
@@ -1 +1 @@
1
- {"version":3,"file":"EntityListSubTree.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/EntityListSubTree.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAe,MAAM,OAAO,CAAA;AAO3E,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAEhD,OAAO,KAAK,EAAE,0BAA0B,EAAE,uCAAuC,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAEzH,OAAO,EAAc,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAI9D,MAAM,WAAW,gCAAgC;IAChD,SAAS,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAA;CAC5C;AAED,MAAM,MAAM,sBAAsB,CAAC,SAAS,EAAE,WAAW,IAAI;IAC5D,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB,GAAG,gCAAgC,GACpC,CAAC,0BAA0B,GAAG,uCAAuC,CAAC,GACtE,CACG,EAAE,GACF;IACD,aAAa,EAAE,aAAa,CAAC,SAAS,GAAG,mBAAmB,CAAC,CAAA;IAC7D,SAAS,CAAC,EAAE,SAAS,CAAA;CAClB,CACJ,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,EAuCzB,CAAC,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,sBAAsB,CAAC,SAAS,EAAE,WAAW,CAAC,KAAK,YAAY,CAAA"}
1
+ {"version":3,"file":"EntityListSubTree.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/EntityListSubTree.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAE9D,OAAO,KAAK,EAAE,0BAA0B,EAAE,uCAAuC,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACzH,OAAO,EAAE,WAAW,EAA+D,MAAM,oBAAoB,CAAA;AAE7G,OAAO,EAAc,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAG9D,MAAM,WAAW,gCAAgC;IAChD,SAAS,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAA;CAC5C;AAED,MAAM,MAAM,sBAAsB,CAAC,SAAS,EAAE,WAAW,IAAI;IAC5D,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB,GAAG,gCAAgC,GACpC,CAAC,0BAA0B,GAAG,uCAAuC,CAAC,GACtE,CACG,EAAE,GACF;IACD,aAAa,EAAE,aAAa,CAAC,SAAS,GAAG,mBAAmB,CAAC,CAAA;IAC7D,SAAS,CAAC,EAAE,SAAS,CAAA;CAClB,CACJ,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,EAgCzB,CAAC,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,sBAAsB,CAAC,SAAS,EAAE,WAAW,CAAC,KAAK,YAAY,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
- import { Environment } from '@contember/binding';
3
2
  import type { SugaredQualifiedSingleEntity, SugaredUnconstrainedQualifiedSingleEntity, TreeRootId } from '@contember/binding';
3
+ import { Environment } from '@contember/binding';
4
4
  import { SetOrderFieldOnCreateOwnProps } from '../accessorSorting';
5
5
  export interface EntitySubTreeAdditionalProps {
6
6
  variables?: Environment.ValuesMapWithFactory;
@@ -1 +1 @@
1
- {"version":3,"file":"EntitySubTree.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/EntitySubTree.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAe,MAAM,OAAO,CAAA;AAG5D,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAEhD,OAAO,KAAK,EACX,4BAA4B,EAC5B,yCAAyC,EACzC,UAAU,EACV,MAAM,oBAAoB,CAAA;AAK3B,OAAO,EAAyB,6BAA6B,EAAE,MAAM,oBAAoB,CAAA;AAEzF,MAAM,WAAW,4BAA4B;IAC5C,SAAS,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAA;CAC5C;AAED,MAAM,MAAM,oCAAoC,GAAG,EAAE,GAAG,6BAA6B,CAAA;AAErF,MAAM,MAAM,kBAAkB,CAAC,WAAW,IACvC;IACD,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB,GACC,4BAA4B,GAC5B,CACC,4BAA4B,GAC5B,CAAC,yCAAyC,GAAG,oCAAoC,CAAC,CACpF,CAAA;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,EAgDrB,CAAC,WAAW,EAAE,IAAI,EAAE,kBAAkB,CAAC,WAAW,CAAC,KAAK,YAAY,CAAA"}
1
+ {"version":3,"file":"EntitySubTree.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/EntitySubTree.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAE/C,OAAO,KAAK,EAAE,4BAA4B,EAAE,yCAAyC,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC7H,OAAO,EAAE,WAAW,EAA+D,MAAM,oBAAoB,CAAA;AAI7G,OAAO,EAAyB,6BAA6B,EAAE,MAAM,oBAAoB,CAAA;AAEzF,MAAM,WAAW,4BAA4B;IAC5C,SAAS,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAA;CAC5C;AAED,MAAM,MAAM,oCAAoC,GAAG,EAAE,GAAG,6BAA6B,CAAA;AAErF,MAAM,MAAM,kBAAkB,CAAC,WAAW,IACvC;IACD,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB,GACC,4BAA4B,GAC5B,CACC,4BAA4B,GAC5B,CAAC,yCAAyC,GAAG,oCAAoC,CAAC,CACpF,CAAA;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,EAwCrB,CAAC,WAAW,EAAE,IAAI,EAAE,kBAAkB,CAAC,WAAW,CAAC,KAAK,YAAY,CAAA"}
@@ -6,5 +6,5 @@ export interface ParentEntityProps extends SugaredParentEntityParameters {
6
6
  /**
7
7
  * @group Data binding
8
8
  */
9
- export declare const ParentEntity: import("react").NamedExoticComponent<ParentEntityProps>;
9
+ export declare const ParentEntity: React.NamedExoticComponent<ParentEntityProps>;
10
10
  //# sourceMappingURL=ParentEntity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ParentEntity.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/ParentEntity.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAA;AAGvE,MAAM,WAAW,iBAAkB,SAAQ,6BAA6B;IACvE,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,yDAOxB,CAAA"}
1
+ {"version":3,"file":"ParentEntity.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/ParentEntity.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAA;AAGvE,MAAM,WAAW,iBAAkB,SAAQ,6BAA6B;IACvE,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,+CAOxB,CAAA"}
@@ -7,6 +7,5 @@ export * from './EntitySubTree';
7
7
  export * from './Field';
8
8
  export * from './HasMany';
9
9
  export * from './HasOne';
10
- export * from './MarkerProvider';
11
10
  export * from './ParentEntity';
12
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,uBAAuB,CAAA;AACrC,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,uBAAuB,CAAA;AACrC,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA"}
@@ -6,5 +6,5 @@ export interface DeferredSubTreesProps {
6
6
  /**
7
7
  * @group Data binding
8
8
  */
9
- export declare const DeferredSubTrees: import("react").NamedExoticComponent<DeferredSubTreesProps>;
9
+ export declare const DeferredSubTrees: React.NamedExoticComponent<DeferredSubTreesProps>;
10
10
  //# sourceMappingURL=DeferredSubTrees.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeferredSubTrees.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/DeferredSubTrees.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoC,MAAM,OAAO,CAAA;AAWnE,MAAM,WAAW,qBAAqB;IACrC,QAAQ,EAAE,SAAS,CAAA;IACnB,QAAQ,EAAE,SAAS,CAAA;CACnB;AAUD;;GAEG;AACH,eAAO,MAAM,gBAAgB,6DAkF5B,CAAA"}
1
+ {"version":3,"file":"DeferredSubTrees.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/DeferredSubTrees.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoC,MAAM,OAAO,CAAA;AAWnE,MAAM,WAAW,qBAAqB;IACrC,QAAQ,EAAE,SAAS,CAAA;IACnB,QAAQ,EAAE,SAAS,CAAA;CACnB;AAUD;;GAEG;AACH,eAAO,MAAM,gBAAgB,mDA8E5B,CAAA"}
@@ -17,5 +17,5 @@ export interface IfCallbackProps {
17
17
  /**
18
18
  * @group Logic Components
19
19
  */
20
- export declare const If: import("react").NamedExoticComponent<IfProps>;
20
+ export declare const If: React.NamedExoticComponent<IfProps>;
21
21
  //# sourceMappingURL=If.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"If.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/If.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAGnD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAI3C,MAAM,MAAM,OAAO,GAChB,aAAa,GACb,eAAe,CAAA;AAElB,MAAM,WAAW,aAAa;IAC7B,SAAS,EAAE,MAAM,GAAG,MAAM,CAAA;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,SAAS,CAAA;CAChB;AAED,MAAM,WAAW,eAAe;IAC/B,SAAS,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,OAAO,CAAA;IAChD,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,SAAS,CAAA;CAChB;AAED;;GAEG;AACH,eAAO,MAAM,EAAE,+CASd,CAAA"}
1
+ {"version":3,"file":"If.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/If.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAGnD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAI3C,MAAM,MAAM,OAAO,GAChB,aAAa,GACb,eAAe,CAAA;AAElB,MAAM,WAAW,aAAa;IAC7B,SAAS,EAAE,MAAM,GAAG,MAAM,CAAA;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,SAAS,CAAA;CAChB;AAED,MAAM,WAAW,eAAe;IAC/B,SAAS,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,OAAO,CAAA;IAChD,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,IAAI,CAAC,EAAE,SAAS,CAAA;CAChB;AAED;;GAEG;AACH,eAAO,MAAM,EAAE,qCASd,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { Environment } from '@contember/binding';
3
3
  export type LabelMiddleware = (label: ReactNode, environment: Environment) => ReactNode;
4
- export declare const LabelMiddlewareContext: import("react").Context<LabelMiddleware>;
4
+ export declare const LabelMiddlewareContext: React.Context<LabelMiddleware>;
5
5
  export declare const useLabelMiddleware: () => (it: ReactNode) => ReactNode;
6
6
  export declare const LabelMiddlewareProvider: ({ value, children }: {
7
7
  value: LabelMiddleware;
@@ -1 +1 @@
1
- {"version":3,"file":"LabelMiddleware.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/LabelMiddleware.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAA2B,MAAM,OAAO,CAAA;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAGhD,MAAM,MAAM,eAAe,GAAG,CAAC,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,KAAK,SAAS,CAAA;AAEvF,eAAO,MAAM,sBAAsB,0CAA2C,CAAA;AAE9E,eAAO,MAAM,kBAAkB,aAGN,SAAS,cACjC,CAAA;AAED,eAAO,MAAM,uBAAuB,wBAAyB;IAAE,KAAK,EAAE,eAAe,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,4CAM3G,CAAA"}
1
+ {"version":3,"file":"LabelMiddleware.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/LabelMiddleware.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAA2B,MAAM,OAAO,CAAA;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAGhD,MAAM,MAAM,eAAe,GAAG,CAAC,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,KAAK,SAAS,CAAA;AAEvF,eAAO,MAAM,sBAAsB,gCAA2C,CAAA;AAE9E,eAAO,MAAM,kBAAkB,aAGN,SAAS,cACjC,CAAA;AAED,eAAO,MAAM,uBAAuB,wBAAyB;IAAE,KAAK,EAAE,eAAe,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,4CAM3G,CAAA"}
@@ -5,5 +5,5 @@ export interface StaticRenderProps {
5
5
  /**
6
6
  * @group Data binding
7
7
  */
8
- export declare const StaticRender: import("react").NamedExoticComponent<StaticRenderProps>;
8
+ export declare const StaticRender: React.NamedExoticComponent<StaticRenderProps>;
9
9
  //# sourceMappingURL=StaticRender.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StaticRender.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/StaticRender.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,MAAM,WAAW,iBAAiB;IACjC,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,yDAIxB,CAAA"}
1
+ {"version":3,"file":"StaticRender.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/StaticRender.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,MAAM,WAAW,iBAAiB;IACjC,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,+CAIxB,CAAA"}
@@ -4,5 +4,5 @@ export interface VariableProps {
4
4
  name: Environment.Name;
5
5
  format?: (value: ReactNode) => ReactNode;
6
6
  }
7
- export declare const Variable: import("react").MemoExoticComponent<({ name, format }: VariableProps) => ReactElement>;
7
+ export declare const Variable: React.MemoExoticComponent<({ name, format }: VariableProps) => ReactElement>;
8
8
  //# sourceMappingURL=Variable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Variable.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/Variable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,EAAQ,YAAY,EAAE,SAAS,EAAW,MAAM,OAAO,CAAA;AAG9D,MAAM,WAAW,aAAa;IAC7B,IAAI,EAAE,WAAW,CAAC,IAAI,CAAA;IACtB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,SAAS,CAAA;CACxC;AAED,eAAO,MAAM,QAAQ,yDAA2B,aAAa,KAAG,YAAY,CAO1E,CAAA"}
1
+ {"version":3,"file":"Variable.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/Variable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,EAAQ,YAAY,EAAE,SAAS,EAAW,MAAM,OAAO,CAAA;AAG9D,MAAM,WAAW,aAAa;IAC7B,IAAI,EAAE,WAAW,CAAC,IAAI,CAAA;IACtB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,SAAS,CAAA;CACxC;AAED,eAAO,MAAM,QAAQ,+CAA2B,aAAa,KAAG,YAAY,CAO1E,CAAA"}
@@ -4,6 +4,6 @@ export * from './accessorSorting';
4
4
  export * from './coreComponents';
5
5
  export * from './entityEvents';
6
6
  export * from './helperComponents';
7
- export * from './MarkerTreeGenerator';
7
+ export * from './markers';
8
8
  export * from '@contember/binding';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { EntityFieldMarker, EntityFieldMarkersContainer, EntityFieldsWithHoistablesMarker } from '@contember/binding';
2
+ export declare class IncrementalMarkerBuilder {
3
+ static build(markers: (EntityFieldMarker | EntityFieldMarkersContainer | EntityFieldsWithHoistablesMarker)[]): EntityFieldsWithHoistablesMarker | EntityFieldMarkersContainer;
4
+ }
5
+ //# sourceMappingURL=IncrementalMarkerBuilder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IncrementalMarkerBuilder.d.ts","sourceRoot":"","sources":["../../../src/markers/IncrementalMarkerBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,iBAAiB,EACjB,2BAA2B,EAC3B,gCAAgC,EAIhC,MAAM,oBAAoB,CAAA;AAE3B,qBAAa,wBAAwB;WACtB,KAAK,CAAC,OAAO,EAAE,CAAC,iBAAiB,GAAG,2BAA2B,GAAG,gCAAgC,CAAC,EAAE,GAAG,gCAAgC,GAAG,2BAA2B;CAiDpL"}
@@ -1,6 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import type { Environment } from '@contember/binding';
3
- import type { EntityFieldMarkersContainer, EntityFieldsWithHoistablesMarker, FieldMarker, HasManyRelationMarker, HasOneRelationMarker } from '@contember/binding';
2
+ import type { EntityFieldMarkersContainer, EntityFieldsWithHoistablesMarker, Environment, FieldMarker, HasManyRelationMarker, HasOneRelationMarker } from '@contember/binding';
4
3
  export interface EnvironmentDeltaProvider<Props extends {} = any> {
5
4
  generateEnvironment: (props: Props, oldEnvironment: Environment) => Environment;
6
5
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MarkerProvider.d.ts","sourceRoot":"","sources":["../../../src/markers/MarkerProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EACX,2BAA2B,EAC3B,gCAAgC,EAChC,WAAW,EACX,WAAW,EACX,qBAAqB,EACrB,oBAAoB,EACpB,MAAM,oBAAoB,CAAA;AAE3B,MAAM,WAAW,wBAAwB,CAAC,KAAK,SAAS,EAAE,GAAG,GAAG;IAC/D,mBAAmB,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE,WAAW,KAAK,WAAW,CAAA;CAC/E;AAMD,MAAM,WAAW,kBAAkB,CAAC,KAAK,SAAS,EAAE,GAAG,GAAG;IACzD,kBAAkB,EAAE,CACnB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,KACpB,WAAW,GAAG,oBAAoB,GAAG,2BAA2B,CAAA;CACrE;AAED,MAAM,WAAW,oBAAoB,CAAC,KAAK,SAAS,EAAE,GAAG,GAAG;IAC3D,oBAAoB,EAAE,CACrB,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,gCAAgC,GAAG,2BAA2B,EACtE,WAAW,EAAE,WAAW,KACpB,oBAAoB,GAAG,qBAAqB,GAAG,2BAA2B,GAAG,gCAAgC,CAAA;CAClH;AAID,MAAM,MAAM,yBAAyB,CAAC,KAAK,SAAS,EAAE,GAAG,GAAG,EAAE,kBAAkB,SAAS,MAAM,KAAK,GAAG,KAAK,IAAI;IAC/G,kBAAkB;CAClB,SAAS,CAAC,KAAK,CAAC,GACd,KAAK,GACL,IAAI,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAAA;AAElC,MAAM,WAAW,oBAAoB,CAAC,KAAK,SAAS,EAAE,GAAG,GAAG,EAAE,kBAAkB,SAAS,MAAM,KAAK,GAAG,KAAK;IAC3G,YAAY,EAAE,CACb,KAAK,EAAE,yBAAyB,CAAC,KAAK,EAAE,kBAAkB,CAAC,EAC3D,WAAW,EAAE,WAAW,KACpB,SAAS,CAAA;CACd;AAED,MAAM,MAAM,sBAAsB,CACjC,KAAK,SAAS,EAAE,GAAG,GAAG,EACtB,kBAAkB,SAAS,MAAM,KAAK,GAAG,KAAK,IAC3C,wBAAwB,CAAC,KAAK,CAAC,GACnC,kBAAkB,CAAC,KAAK,CAAC,GACzB,oBAAoB,CAAC,KAAK,CAAC,GAC3B,oBAAoB,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAAA;AAE/C,MAAM,MAAM,cAAc,CAAC,KAAK,SAAS,EAAE,GAAG,GAAG,EAAE,kBAAkB,SAAS,MAAM,KAAK,GAAG,KAAK,IAAI,OAAO,CAC3G,sBAAsB,CAAC,KAAK,EAAE,kBAAkB,CAAC,CACjD,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { ReactNode } from 'react';
2
+ import { EntityFieldMarkersContainer, EntityFieldsWithHoistablesMarker, Environment } from '@contember/binding';
3
+ export declare class MarkerStaticAnalyzer {
4
+ processChildren(children: ReactNode, env: Environment): EntityFieldsWithHoistablesMarker | EntityFieldMarkersContainer;
5
+ private processNode;
6
+ }
7
+ export declare class ChildrenAnalyzerError extends Error {
8
+ details?: string;
9
+ constructor(message: string, options?: {
10
+ cause: Error;
11
+ details?: string;
12
+ });
13
+ }
14
+ //# sourceMappingURL=MarkerStaticAnalyzer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MarkerStaticAnalyzer.d.ts","sourceRoot":"","sources":["../../../src/markers/MarkerStaticAnalyzer.ts"],"names":[],"mappings":"AAAA,OAAc,EAAgB,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtD,OAAO,EACN,2BAA2B,EAC3B,gCAAgC,EAChC,WAAW,EAIX,MAAM,oBAAoB,CAAA;AAK3B,qBAAa,oBAAoB;IACzB,eAAe,CACrB,QAAQ,EAAE,SAAS,EACnB,GAAG,EAAE,WAAW,GACd,gCAAgC,GAAG,2BAA2B;IAIjE,OAAO,CAAC,WAAW;CAwDnB;AAED,qBAAa,qBAAsB,SAAQ,KAAK;IACxC,OAAO,CAAC,EAAE,MAAM,CAAA;gBAEX,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,KAAK,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE;CAIzE"}
@@ -0,0 +1,10 @@
1
+ import type { ReactNode } from 'react';
2
+ import { Environment, MarkerTreeRoot } from '@contember/binding';
3
+ export declare class MarkerTreeGenerator {
4
+ private sourceTree;
5
+ private environment;
6
+ constructor(sourceTree: ReactNode, environment?: Environment);
7
+ generate(): MarkerTreeRoot;
8
+ private generatePlaceholdersByAliases;
9
+ }
10
+ //# sourceMappingURL=MarkerTreeGenerator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MarkerTreeGenerator.d.ts","sourceRoot":"","sources":["../../../src/markers/MarkerTreeGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,EAMN,WAAW,EAIX,cAAc,EACd,MAAM,oBAAoB,CAAA;AAK3B,qBAAa,mBAAmB;IAEZ,OAAO,CAAC,UAAU;IAAa,OAAO,CAAC,WAAW;gBAA1C,UAAU,EAAE,SAAS,EAAU,WAAW,GAAE,WAAkC;IAElG,QAAQ,IAAI,cAAc;IAsBjC,OAAO,CAAC,6BAA6B;CA2BrC"}
@@ -0,0 +1,3 @@
1
+ export * from './MarkerTreeGenerator';
2
+ export * from './MarkerProvider';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/markers/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,kBAAkB,CAAA"}