ballerina-core 1.0.231 → 1.0.232

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 (251) hide show
  1. package/bin/src/forms/domains/dispatched-forms/built-ins/state.d.ts +25 -25
  2. package/bin/src/forms/domains/dispatched-forms/built-ins/state.d.ts.map +1 -1
  3. package/bin/src/forms/domains/dispatched-forms/built-ins/state.js.map +1 -1
  4. package/bin/src/forms/domains/dispatched-forms/deserializer/coroutines/runner.d.ts +1 -1
  5. package/bin/src/forms/domains/dispatched-forms/deserializer/coroutines/runner.d.ts.map +1 -1
  6. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/apis/state.d.ts +2 -2
  7. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/apis/state.d.ts.map +1 -1
  8. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/list/state.d.ts +1 -1
  9. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/list/state.d.ts.map +1 -1
  10. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/lookup/state.d.ts +2 -2
  11. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/lookup/state.d.ts.map +1 -1
  12. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/map/state.d.ts +1 -1
  13. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/map/state.d.ts.map +1 -1
  14. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/nestedRenderer/state.d.ts +2 -2
  15. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/nestedRenderer/state.d.ts.map +1 -1
  16. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/one/state.d.ts +2 -2
  17. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/one/state.d.ts.map +1 -1
  18. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/readOnly/state.d.ts +1 -1
  19. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/readOnly/state.d.ts.map +1 -1
  20. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/record/domains/recordFieldRenderer/state.d.ts +1 -1
  21. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/record/domains/recordFieldRenderer/state.d.ts.map +1 -1
  22. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/record/state.d.ts +1 -1
  23. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/record/state.d.ts.map +1 -1
  24. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/sum/state.d.ts +1 -1
  25. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/sum/state.d.ts.map +1 -1
  26. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/table/domains/tableCellRenderer/state.d.ts +1 -1
  27. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/table/domains/tableCellRenderer/state.d.ts.map +1 -1
  28. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/table/state.d.ts +2 -2
  29. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/table/state.d.ts.map +1 -1
  30. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/tuple/state.d.ts +1 -1
  31. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/tuple/state.d.ts.map +1 -1
  32. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/union/state.d.ts +1 -1
  33. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/union/state.d.ts.map +1 -1
  34. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/state.d.ts +3 -3
  35. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/state.d.ts.map +1 -1
  36. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/state.d.ts +2 -2
  37. package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/state.d.ts.map +1 -1
  38. package/bin/src/forms/domains/dispatched-forms/deserializer/state.d.ts +19 -19
  39. package/bin/src/forms/domains/dispatched-forms/deserializer/state.d.ts.map +1 -1
  40. package/bin/src/forms/domains/dispatched-forms/deserializer/template.d.ts +1 -1
  41. package/bin/src/forms/domains/dispatched-forms/deserializer/template.d.ts.map +1 -1
  42. package/bin/src/forms/domains/dispatched-forms/runner/coroutines/runner.d.ts +1 -23
  43. package/bin/src/forms/domains/dispatched-forms/runner/coroutines/runner.d.ts.map +1 -1
  44. package/bin/src/forms/domains/dispatched-forms/runner/coroutines/runner.js +140 -5
  45. package/bin/src/forms/domains/dispatched-forms/runner/coroutines/runner.js.map +1 -1
  46. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/injectables/state.d.ts +2 -2
  47. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/injectables/state.d.ts.map +1 -1
  48. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/list/template.d.ts.map +1 -1
  49. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/list/template.js +2 -2
  50. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/list/template.js.map +1 -1
  51. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/map/template.d.ts.map +1 -1
  52. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/map/template.js +2 -2
  53. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/map/template.js.map +1 -1
  54. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/one/template.d.ts +3 -3
  55. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/one/template.d.ts.map +1 -1
  56. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/one/template.js +6 -2
  57. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/one/template.js.map +1 -1
  58. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/readOnly/template.d.ts.map +1 -1
  59. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/readOnly/template.js +1 -1
  60. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/readOnly/template.js.map +1 -1
  61. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/record/template.d.ts.map +1 -1
  62. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/record/template.js +1 -1
  63. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/record/template.js.map +1 -1
  64. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/state.d.ts +3 -0
  65. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/state.d.ts.map +1 -1
  66. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/state.js.map +1 -1
  67. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/sum/template.d.ts.map +1 -1
  68. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/sum/template.js +4 -4
  69. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/sum/template.js.map +1 -1
  70. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/coroutines/builder.d.ts +60 -0
  71. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/coroutines/builder.d.ts.map +1 -1
  72. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/coroutines/infiniteLoader.d.ts +1 -0
  73. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/coroutines/infiniteLoader.d.ts.map +1 -1
  74. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/coroutines/initialiseFiltersAndSorting.d.ts +1 -0
  75. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/coroutines/initialiseFiltersAndSorting.d.ts.map +1 -1
  76. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/coroutines/initialiseTable.d.ts +1 -0
  77. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/coroutines/initialiseTable.d.ts.map +1 -1
  78. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/coroutines/runner.d.ts +3 -0
  79. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/coroutines/runner.d.ts.map +1 -1
  80. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/state.d.ts +27 -1
  81. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/state.d.ts.map +1 -1
  82. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/state.js +2 -1
  83. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/state.js.map +1 -1
  84. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/template.d.ts.map +1 -1
  85. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/template.js +20 -10
  86. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/template.js.map +1 -1
  87. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/tuple/template.d.ts.map +1 -1
  88. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/tuple/template.js +1 -1
  89. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/tuple/template.js.map +1 -1
  90. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/union/template.d.ts.map +1 -1
  91. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/union/template.js +1 -1
  92. package/bin/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/union/template.js.map +1 -1
  93. package/bin/src/forms/domains/dispatched-forms/runner/domains/deltas/state.d.ts +8 -0
  94. package/bin/src/forms/domains/dispatched-forms/runner/domains/deltas/state.d.ts.map +1 -1
  95. package/bin/src/forms/domains/dispatched-forms/runner/domains/deltas/state.js +12 -0
  96. package/bin/src/forms/domains/dispatched-forms/runner/domains/deltas/state.js.map +1 -1
  97. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/list/state.d.ts +1 -1
  98. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/list/state.d.ts.map +1 -1
  99. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/lookup/state.d.ts +1 -1
  100. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/lookup/state.d.ts.map +1 -1
  101. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/map/state.d.ts +1 -1
  102. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/map/state.d.ts.map +1 -1
  103. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/multiSelection/state.d.ts +1 -1
  104. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/multiSelection/state.d.ts.map +1 -1
  105. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/nestedDispatcher/state.d.ts +2 -2
  106. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/nestedDispatcher/state.d.ts.map +1 -1
  107. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/one/state.d.ts +3 -3
  108. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/one/state.d.ts.map +1 -1
  109. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/one/state.js +2 -4
  110. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/one/state.js.map +1 -1
  111. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/primitive/state.d.ts +1 -1
  112. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/primitive/state.d.ts.map +1 -1
  113. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/readOnly/state.d.ts +1 -1
  114. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/readOnly/state.d.ts.map +1 -1
  115. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/record/recordField/state.d.ts +1 -1
  116. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/record/recordField/state.d.ts.map +1 -1
  117. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/record/state.d.ts +2 -2
  118. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/record/state.d.ts.map +1 -1
  119. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/singleSelectionDispatcher/state.d.ts +1 -1
  120. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/singleSelectionDispatcher/state.d.ts.map +1 -1
  121. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/sum/state.d.ts +1 -1
  122. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/sum/state.d.ts.map +1 -1
  123. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/table/state.d.ts +3 -3
  124. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/table/state.d.ts.map +1 -1
  125. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/tupleDispatcher/state.d.ts +1 -1
  126. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/tupleDispatcher/state.d.ts.map +1 -1
  127. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/unionDispatcher/state.d.ts +1 -1
  128. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/unionDispatcher/state.d.ts.map +1 -1
  129. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/state.d.ts +2 -2
  130. package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/state.d.ts.map +1 -1
  131. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/coroutines/_init.d.ts +3 -3
  132. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/coroutines/_init.d.ts.map +1 -1
  133. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/coroutines/_init.js.map +1 -1
  134. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/coroutines/_sync.d.ts +3 -3
  135. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/coroutines/_sync.d.ts.map +1 -1
  136. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/coroutines/_sync.js.map +1 -1
  137. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/coroutines/builder.d.ts +75 -75
  138. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/coroutines/builder.d.ts.map +1 -1
  139. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/coroutines/builder.js.map +1 -1
  140. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/coroutines/runner.d.ts +3 -3
  141. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/coroutines/runner.d.ts.map +1 -1
  142. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/coroutines/runner.js.map +1 -1
  143. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/state.d.ts +12 -12
  144. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/state.d.ts.map +1 -1
  145. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/state.js.map +1 -1
  146. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/template.d.ts +3 -3
  147. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/template.d.ts.map +1 -1
  148. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/template.js +3 -2
  149. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/create/template.js.map +1 -1
  150. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/coroutines/_init.d.ts +3 -3
  151. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/coroutines/_init.d.ts.map +1 -1
  152. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/coroutines/_init.js.map +1 -1
  153. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/coroutines/_sync.d.ts +3 -3
  154. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/coroutines/_sync.d.ts.map +1 -1
  155. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/coroutines/_sync.js.map +1 -1
  156. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/coroutines/builder.d.ts +75 -75
  157. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/coroutines/builder.d.ts.map +1 -1
  158. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/coroutines/builder.js.map +1 -1
  159. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/coroutines/runner.d.ts +3 -3
  160. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/coroutines/runner.d.ts.map +1 -1
  161. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/coroutines/runner.js.map +1 -1
  162. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/state.d.ts +12 -12
  163. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/state.d.ts.map +1 -1
  164. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/state.js.map +1 -1
  165. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/template.d.ts +3 -3
  166. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/template.d.ts.map +1 -1
  167. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/template.js +3 -2
  168. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/edit/template.js.map +1 -1
  169. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/passthrough/coroutines/runner.d.ts +2 -2
  170. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/passthrough/coroutines/runner.d.ts.map +1 -1
  171. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/passthrough/coroutines/runner.js.map +1 -1
  172. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/passthrough/state.d.ts +7 -7
  173. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/passthrough/state.d.ts.map +1 -1
  174. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/passthrough/state.js.map +1 -1
  175. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/passthrough/template.d.ts +2 -2
  176. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/passthrough/template.d.ts.map +1 -1
  177. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/passthrough/template.js +3 -2
  178. package/bin/src/forms/domains/dispatched-forms/runner/domains/kind/passthrough/template.js.map +1 -1
  179. package/bin/src/forms/domains/dispatched-forms/runner/state.d.ts +28 -28
  180. package/bin/src/forms/domains/dispatched-forms/runner/state.d.ts.map +1 -1
  181. package/bin/src/forms/domains/dispatched-forms/runner/state.js +2 -2
  182. package/bin/src/forms/domains/dispatched-forms/runner/state.js.map +1 -1
  183. package/bin/src/forms/domains/dispatched-forms/runner/template.d.ts +8 -6
  184. package/bin/src/forms/domains/dispatched-forms/runner/template.d.ts.map +1 -1
  185. package/bin/src/forms/domains/dispatched-forms/runner/template.js +1 -1
  186. package/bin/src/forms/domains/dispatched-forms/runner/template.js.map +1 -1
  187. package/package.json +1 -1
  188. package/src/forms/domains/dispatched-forms/built-ins/state.ts +55 -75
  189. package/src/forms/domains/dispatched-forms/deserializer/coroutines/runner.ts +5 -5
  190. package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/apis/state.ts +4 -4
  191. package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/list/state.ts +2 -2
  192. package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/lookup/state.ts +4 -4
  193. package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/map/state.ts +2 -2
  194. package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/nestedRenderer/state.ts +4 -4
  195. package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/one/state.ts +4 -4
  196. package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/readOnly/state.ts +2 -2
  197. package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/record/domains/recordFieldRenderer/state.ts +2 -2
  198. package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/record/state.ts +2 -2
  199. package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/sum/state.ts +2 -2
  200. package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/table/domains/tableCellRenderer/state.ts +2 -2
  201. package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/table/state.ts +4 -4
  202. package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/tuple/state.ts +2 -2
  203. package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/union/state.ts +2 -2
  204. package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/state.ts +6 -6
  205. package/src/forms/domains/dispatched-forms/deserializer/domains/specification/state.ts +6 -6
  206. package/src/forms/domains/dispatched-forms/deserializer/state.ts +25 -25
  207. package/src/forms/domains/dispatched-forms/deserializer/template.tsx +2 -2
  208. package/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/injectables/state.ts +4 -4
  209. package/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/list/template.tsx +6 -0
  210. package/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/map/template.tsx +6 -0
  211. package/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/one/template.tsx +43 -4
  212. package/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/readOnly/template.tsx +3 -0
  213. package/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/record/template.tsx +3 -0
  214. package/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/state.ts +3 -0
  215. package/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/sum/template.tsx +6 -0
  216. package/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/table/template.tsx +6 -0
  217. package/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/tuple/template.tsx +3 -0
  218. package/src/forms/domains/dispatched-forms/runner/domains/abstract-renderers/union/template.tsx +3 -0
  219. package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/list/state.ts +2 -2
  220. package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/lookup/state.ts +3 -3
  221. package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/map/state.ts +2 -2
  222. package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/multiSelection/state.ts +2 -2
  223. package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/nestedDispatcher/state.ts +4 -4
  224. package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/one/state.ts +8 -28
  225. package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/primitive/state.ts +2 -2
  226. package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/readOnly/state.ts +2 -2
  227. package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/record/recordField/state.ts +2 -2
  228. package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/record/state.ts +6 -6
  229. package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/singleSelectionDispatcher/state.ts +2 -2
  230. package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/sum/state.ts +2 -2
  231. package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/table/state.ts +7 -7
  232. package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/tupleDispatcher/state.ts +2 -2
  233. package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/unionDispatcher/state.ts +2 -2
  234. package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/state.ts +4 -4
  235. package/src/forms/domains/dispatched-forms/runner/domains/kind/create/coroutines/_init.ts +96 -21
  236. package/src/forms/domains/dispatched-forms/runner/domains/kind/create/coroutines/_sync.ts +18 -6
  237. package/src/forms/domains/dispatched-forms/runner/domains/kind/create/coroutines/builder.ts +8 -3
  238. package/src/forms/domains/dispatched-forms/runner/domains/kind/create/coroutines/runner.ts +4 -4
  239. package/src/forms/domains/dispatched-forms/runner/domains/kind/create/state.ts +120 -31
  240. package/src/forms/domains/dispatched-forms/runner/domains/kind/create/template.tsx +25 -8
  241. package/src/forms/domains/dispatched-forms/runner/domains/kind/edit/coroutines/_init.ts +102 -22
  242. package/src/forms/domains/dispatched-forms/runner/domains/kind/edit/coroutines/_sync.ts +18 -6
  243. package/src/forms/domains/dispatched-forms/runner/domains/kind/edit/coroutines/builder.ts +8 -3
  244. package/src/forms/domains/dispatched-forms/runner/domains/kind/edit/coroutines/runner.ts +4 -9
  245. package/src/forms/domains/dispatched-forms/runner/domains/kind/edit/state.ts +116 -21
  246. package/src/forms/domains/dispatched-forms/runner/domains/kind/edit/template.tsx +25 -13
  247. package/src/forms/domains/dispatched-forms/runner/domains/kind/passthrough/coroutines/runner.ts +109 -21
  248. package/src/forms/domains/dispatched-forms/runner/domains/kind/passthrough/state.ts +44 -17
  249. package/src/forms/domains/dispatched-forms/runner/domains/kind/passthrough/template.tsx +39 -12
  250. package/src/forms/domains/dispatched-forms/runner/state.ts +199 -47
  251. package/src/forms/domains/dispatched-forms/runner/template.tsx +31 -26
@@ -25,18 +25,20 @@ import { EditCoBuilder } from "./builder";
25
25
  export const initCo = <
26
26
  T extends DispatchInjectablesTypes<T>,
27
27
  Flags,
28
- CustomPresentationContexts,
28
+ CustomPresentationContext,
29
29
  ExtraContext,
30
30
  >(
31
31
  Co: ReturnType<
32
- typeof EditCoBuilder<T, Flags, CustomPresentationContexts, ExtraContext>
32
+ typeof EditCoBuilder<T, Flags, CustomPresentationContext, ExtraContext>
33
33
  >,
34
34
  ) => {
35
35
  const setChecked = (checked: boolean) =>
36
36
  Co.SetState(
37
37
  DispatchEditFormLauncherState<
38
38
  T,
39
- Flags
39
+ Flags,
40
+ CustomPresentationContext,
41
+ ExtraContext
40
42
  >().Updaters.Core.apiChecker.children.init(
41
43
  checked
42
44
  ? ApiResponseChecker.Updaters().toChecked()
@@ -60,8 +62,20 @@ export const initCo = <
60
62
  5,
61
63
  50,
62
64
  ).embed(
63
- (_: DispatchEditFormLauncherState<T, Flags>) => _.entity,
64
- DispatchEditFormLauncherState<T, Flags>().Updaters.Core.entity,
65
+ (
66
+ _: DispatchEditFormLauncherState<
67
+ T,
68
+ Flags,
69
+ CustomPresentationContext,
70
+ ExtraContext
71
+ >,
72
+ ) => _.entity,
73
+ DispatchEditFormLauncherState<
74
+ T,
75
+ Flags,
76
+ CustomPresentationContext,
77
+ ExtraContext
78
+ >().Updaters.Core.entity,
65
79
  );
66
80
 
67
81
  const configValueCo = (
@@ -70,7 +84,7 @@ export const initCo = <
70
84
  current: DispatchEditFormLauncherContext<
71
85
  T,
72
86
  Flags,
73
- CustomPresentationContexts,
87
+ CustomPresentationContext,
74
88
  ExtraContext
75
89
  >,
76
90
  ) =>
@@ -84,11 +98,28 @@ export const initCo = <
84
98
  : Promise.resolve(result.value);
85
99
  }),
86
100
  ).embed(
87
- (_: DispatchEditFormLauncherState<T, Flags>) => _.config,
88
- DispatchEditFormLauncherState<T, Flags>().Updaters.Core.config,
101
+ (
102
+ _: DispatchEditFormLauncherState<
103
+ T,
104
+ Flags,
105
+ CustomPresentationContext,
106
+ ExtraContext
107
+ >,
108
+ ) => _.config,
109
+ DispatchEditFormLauncherState<
110
+ T,
111
+ Flags,
112
+ CustomPresentationContext,
113
+ ExtraContext
114
+ >().Updaters.Core.config,
89
115
  )
90
116
  : Co.SetState(
91
- DispatchEditFormLauncherState<T, Flags>().Updaters.Core.config(
117
+ DispatchEditFormLauncherState<
118
+ T,
119
+ Flags,
120
+ CustomPresentationContext,
121
+ ExtraContext
122
+ >().Updaters.Core.config(
92
123
  replaceWith(
93
124
  current.launcherRef.config.value.kind == "l" &&
94
125
  current.launcherRef.config.value.value.kind == "value"
@@ -104,8 +135,20 @@ export const initCo = <
104
135
  );
105
136
 
106
137
  const errorUpd = (errors: List<string>) =>
107
- DispatchEditFormLauncherState<T, Flags>().Updaters.Core.status(
108
- replaceWith<DispatchFormRunnerStatus<T, Flags>>({
138
+ DispatchEditFormLauncherState<
139
+ T,
140
+ Flags,
141
+ CustomPresentationContext,
142
+ ExtraContext
143
+ >().Updaters.Core.status(
144
+ replaceWith<
145
+ DispatchFormRunnerStatus<
146
+ T,
147
+ Flags,
148
+ CustomPresentationContext,
149
+ ExtraContext
150
+ >
151
+ >({
109
152
  kind: "error",
110
153
  errors,
111
154
  }),
@@ -113,8 +156,20 @@ export const initCo = <
113
156
 
114
157
  return Co.Seq([
115
158
  Co.SetState(
116
- DispatchEditFormLauncherState<T, Flags>().Updaters.Core.status(
117
- replaceWith<DispatchFormRunnerStatus<T, Flags>>({ kind: "loading" }),
159
+ DispatchEditFormLauncherState<
160
+ T,
161
+ Flags,
162
+ CustomPresentationContext,
163
+ ExtraContext
164
+ >().Updaters.Core.status(
165
+ replaceWith<
166
+ DispatchFormRunnerStatus<
167
+ T,
168
+ Flags,
169
+ CustomPresentationContext,
170
+ ExtraContext
171
+ >
172
+ >({ kind: "loading" }),
118
173
  ),
119
174
  ),
120
175
  setChecked(false),
@@ -199,7 +254,7 @@ export const initCo = <
199
254
  const dispatcherContextWithApiSources: DispatcherContextWithApiSources<
200
255
  T,
201
256
  Flags,
202
- CustomPresentationContexts,
257
+ CustomPresentationContext,
203
258
  ExtraContext
204
259
  > = {
205
260
  ...dispatcherContext,
@@ -237,27 +292,52 @@ export const initCo = <
237
292
  return errorUpd(initialState.errors);
238
293
  }
239
294
 
240
- return DispatchEditFormLauncherState<T, Flags>()
295
+ return DispatchEditFormLauncherState<
296
+ T,
297
+ Flags,
298
+ CustomPresentationContext,
299
+ ExtraContext
300
+ >()
241
301
  .Updaters.Core.formState(replaceWith(initialState.value))
242
302
  .thenMany([
243
- DispatchEditFormLauncherState<T, Flags>().Updaters.Core.status(
244
- replaceWith<DispatchFormRunnerStatus<T, Flags>>({
303
+ DispatchEditFormLauncherState<
304
+ T,
305
+ Flags,
306
+ CustomPresentationContext,
307
+ ExtraContext
308
+ >().Updaters.Core.status(
309
+ replaceWith<
310
+ DispatchFormRunnerStatus<
311
+ T,
312
+ Flags,
313
+ CustomPresentationContext,
314
+ ExtraContext
315
+ >
316
+ >({
245
317
  kind: "loaded",
246
318
  Form: Form.value,
247
319
  }),
248
320
  ),
249
- DispatchEditFormLauncherState<T, Flags>().Updaters.Core.config(
250
- replaceWith(_.config),
251
- ),
321
+ DispatchEditFormLauncherState<
322
+ T,
323
+ Flags,
324
+ CustomPresentationContext,
325
+ ExtraContext
326
+ >().Updaters.Core.config(replaceWith(_.config)),
252
327
  ]);
253
328
  }),
254
329
  ]),
255
330
  HandleApiResponse<
256
- DispatchEditFormLauncherState<T, Flags>,
331
+ DispatchEditFormLauncherState<
332
+ T,
333
+ Flags,
334
+ CustomPresentationContext,
335
+ ExtraContext
336
+ >,
257
337
  DispatchEditFormLauncherContext<
258
338
  T,
259
339
  Flags,
260
- CustomPresentationContexts,
340
+ CustomPresentationContext,
261
341
  ExtraContext
262
342
  >,
263
343
  any
@@ -16,18 +16,20 @@ import { EditCoBuilder } from "./builder";
16
16
  export const syncCo = <
17
17
  T extends DispatchInjectablesTypes<T>,
18
18
  Flags,
19
- CustomPresentationContexts,
19
+ CustomPresentationContext,
20
20
  ExtraContext,
21
21
  >(
22
22
  Co: ReturnType<
23
- typeof EditCoBuilder<T, Flags, CustomPresentationContexts, ExtraContext>
23
+ typeof EditCoBuilder<T, Flags, CustomPresentationContext, ExtraContext>
24
24
  >,
25
25
  ) => {
26
26
  const setChecked = (checked: boolean) =>
27
27
  Co.SetState(
28
28
  DispatchEditFormLauncherState<
29
29
  T,
30
- Flags
30
+ Flags,
31
+ CustomPresentationContext,
32
+ ExtraContext
31
33
  >().Updaters.Core.apiChecker.children.update(
32
34
  checked
33
35
  ? ApiResponseChecker.Updaters().toChecked()
@@ -80,14 +82,24 @@ export const syncCo = <
80
82
  50,
81
83
  ).embed(
82
84
  (_) => _.apiRunner,
83
- DispatchEditFormLauncherState<T, Flags>().Updaters.Core.apiRunner,
85
+ DispatchEditFormLauncherState<
86
+ T,
87
+ Flags,
88
+ CustomPresentationContext,
89
+ ExtraContext
90
+ >().Updaters.Core.apiRunner,
84
91
  ),
85
92
  HandleApiResponse<
86
- DispatchEditFormLauncherState<T, Flags>,
93
+ DispatchEditFormLauncherState<
94
+ T,
95
+ Flags,
96
+ CustomPresentationContext,
97
+ ExtraContext
98
+ >,
87
99
  DispatchEditFormLauncherContext<
88
100
  T,
89
101
  Flags,
90
- CustomPresentationContexts,
102
+ CustomPresentationContext,
91
103
  ExtraContext
92
104
  >,
93
105
  ApiErrors
@@ -10,15 +10,20 @@ import {
10
10
  export const EditCoBuilder = <
11
11
  T extends DispatchInjectablesTypes<T>,
12
12
  Flags,
13
- CustomPresentationContexts,
13
+ CustomPresentationContext,
14
14
  ExtraContext,
15
15
  >() =>
16
16
  CoTypedFactory<
17
17
  DispatchEditFormLauncherContext<
18
18
  T,
19
19
  Flags,
20
- CustomPresentationContexts,
20
+ CustomPresentationContext,
21
21
  ExtraContext
22
22
  >,
23
- DispatchEditFormLauncherState<T, Flags>
23
+ DispatchEditFormLauncherState<
24
+ T,
25
+ Flags,
26
+ CustomPresentationContext,
27
+ ExtraContext
28
+ >
24
29
  >();
@@ -10,18 +10,13 @@ import { EditCoBuilder } from "./builder";
10
10
  export const DispatchEditFormRunner = <
11
11
  T extends DispatchInjectablesTypes<T>,
12
12
  Flags,
13
- CustomPresentationContexts,
13
+ CustomPresentationContext,
14
14
  ExtraContext,
15
15
  >() => {
16
- const Co = EditCoBuilder<
17
- T,
18
- Flags,
19
- CustomPresentationContexts,
20
- ExtraContext
21
- >();
16
+ const Co = EditCoBuilder<T, Flags, CustomPresentationContext, ExtraContext>();
22
17
 
23
- const init = initCo<T, Flags, CustomPresentationContexts, ExtraContext>(Co);
24
- const sync = syncCo<T, Flags, CustomPresentationContexts, ExtraContext>(Co);
18
+ const init = initCo<T, Flags, CustomPresentationContext, ExtraContext>(Co);
19
+ const sync = syncCo<T, Flags, CustomPresentationContext, ExtraContext>(Co);
25
20
 
26
21
  return Co.Template<DispatchEditFormLauncherForeignMutationsExpected<T>>(
27
22
  init,
@@ -25,11 +25,11 @@ export type DispatchEditFormLauncherApi = {
25
25
 
26
26
  export type DispatchEditFormLauncherContext<
27
27
  T extends DispatchInjectablesTypes<T>,
28
- Flags = Unit,
29
- CustomPresentationContexts = Unit,
30
- ExtraContext = Unit,
28
+ Flags,
29
+ CustomPresentationContext,
30
+ ExtraContext,
31
31
  > = Omit<
32
- DispatchFormRunnerContext<T, Flags, CustomPresentationContexts, ExtraContext>,
32
+ DispatchFormRunnerContext<T, Flags, CustomPresentationContext, ExtraContext>,
33
33
  "launcherRef"
34
34
  > & {
35
35
  launcherRef: EditLauncherRef;
@@ -37,8 +37,15 @@ export type DispatchEditFormLauncherContext<
37
37
 
38
38
  export type DispatchEditFormLauncherState<
39
39
  T extends DispatchInjectablesTypes<T>,
40
- Flags = Unit,
41
- > = DispatchCommonFormRunnerState<T, Flags> & {
40
+ Flags,
41
+ CustomPresentationContext,
42
+ ExtraContext,
43
+ > = DispatchCommonFormRunnerState<
44
+ T,
45
+ Flags,
46
+ CustomPresentationContext,
47
+ ExtraContext
48
+ > & {
42
49
  entity: Synchronized<Unit, PredicateValue>;
43
50
  config: Synchronized<Unit, PredicateValue>;
44
51
  apiChecker: {
@@ -52,10 +59,22 @@ export type DispatchEditFormLauncherForeignMutationsExpected<T> = {};
52
59
 
53
60
  export const DispatchEditFormLauncherState = <
54
61
  T extends DispatchInjectablesTypes<T>,
55
- Flags = Unit,
62
+ Flags,
63
+ CustomPresentationContext,
64
+ ExtraContext,
56
65
  >() => ({
57
- Default: (): DispatchEditFormLauncherState<T, Flags> => ({
58
- ...DispatchCommonFormRunnerState<T, Flags>().Default(),
66
+ Default: (): DispatchEditFormLauncherState<
67
+ T,
68
+ Flags,
69
+ CustomPresentationContext,
70
+ ExtraContext
71
+ > => ({
72
+ ...DispatchCommonFormRunnerState<
73
+ T,
74
+ Flags,
75
+ CustomPresentationContext,
76
+ ExtraContext
77
+ >().Default(),
59
78
  entity: Synchronized.Default(unit),
60
79
  config: Synchronized.Default(unit),
61
80
  apiChecker: {
@@ -66,29 +85,105 @@ export const DispatchEditFormLauncherState = <
66
85
  }),
67
86
  Updaters: {
68
87
  Core: {
69
- ...simpleUpdater<DispatchEditFormLauncherState<T, Flags>>()("status"),
70
- ...simpleUpdater<DispatchEditFormLauncherState<T, Flags>>()("formState"),
71
- ...simpleUpdater<DispatchEditFormLauncherState<T, Flags>>()("entity"),
72
- ...simpleUpdater<DispatchEditFormLauncherState<T, Flags>>()("config"),
73
- ...simpleUpdater<DispatchEditFormLauncherState<T, Flags>>()("apiRunner"),
74
- ...simpleUpdaterWithChildren<DispatchEditFormLauncherState<T, Flags>>()({
88
+ ...simpleUpdater<
89
+ DispatchEditFormLauncherState<
90
+ T,
91
+ Flags,
92
+ CustomPresentationContext,
93
+ ExtraContext
94
+ >
95
+ >()("status"),
96
+ ...simpleUpdater<
97
+ DispatchEditFormLauncherState<
98
+ T,
99
+ Flags,
100
+ CustomPresentationContext,
101
+ ExtraContext
102
+ >
103
+ >()("formState"),
104
+ ...simpleUpdater<
105
+ DispatchEditFormLauncherState<
106
+ T,
107
+ Flags,
108
+ CustomPresentationContext,
109
+ ExtraContext
110
+ >
111
+ >()("entity"),
112
+ ...simpleUpdater<
113
+ DispatchEditFormLauncherState<
114
+ T,
115
+ Flags,
116
+ CustomPresentationContext,
117
+ ExtraContext
118
+ >
119
+ >()("config"),
120
+ ...simpleUpdater<
121
+ DispatchEditFormLauncherState<
122
+ T,
123
+ Flags,
124
+ CustomPresentationContext,
125
+ ExtraContext
126
+ >
127
+ >()("apiRunner"),
128
+ ...simpleUpdaterWithChildren<
129
+ DispatchEditFormLauncherState<
130
+ T,
131
+ Flags,
132
+ CustomPresentationContext,
133
+ ExtraContext
134
+ >
135
+ >()({
75
136
  ...simpleUpdater<
76
- DispatchEditFormLauncherState<T, Flags>["apiChecker"]
137
+ DispatchEditFormLauncherState<
138
+ T,
139
+ Flags,
140
+ CustomPresentationContext,
141
+ ExtraContext
142
+ >["apiChecker"]
77
143
  >()("init"),
78
144
  ...simpleUpdater<
79
- DispatchEditFormLauncherState<T, Flags>["apiChecker"]
145
+ DispatchEditFormLauncherState<
146
+ T,
147
+ Flags,
148
+ CustomPresentationContext,
149
+ ExtraContext
150
+ >["apiChecker"]
80
151
  >()("update"),
81
152
  })("apiChecker"),
82
153
  },
83
154
  Template: {
84
155
  entity: (
85
156
  _: BasicUpdater<PredicateValue>,
86
- ): Updater<DispatchEditFormLauncherState<T, Flags>> =>
87
- DispatchEditFormLauncherState<T, Flags>().Updaters.Core.entity(
157
+ ): Updater<
158
+ DispatchEditFormLauncherState<
159
+ T,
160
+ Flags,
161
+ CustomPresentationContext,
162
+ ExtraContext
163
+ >
164
+ > =>
165
+ DispatchEditFormLauncherState<
166
+ T,
167
+ Flags,
168
+ CustomPresentationContext,
169
+ ExtraContext
170
+ >().Updaters.Core.entity(
88
171
  Synchronized.Updaters.sync(AsyncState.Operations.map(_)),
89
172
  ),
90
- submit: (): Updater<DispatchEditFormLauncherState<T, Flags>> =>
91
- DispatchEditFormLauncherState<T, Flags>().Updaters.Core.apiRunner(
173
+ submit: (): Updater<
174
+ DispatchEditFormLauncherState<
175
+ T,
176
+ Flags,
177
+ CustomPresentationContext,
178
+ ExtraContext
179
+ >
180
+ > =>
181
+ DispatchEditFormLauncherState<
182
+ T,
183
+ Flags,
184
+ CustomPresentationContext,
185
+ ExtraContext
186
+ >().Updaters.Core.apiRunner(
92
187
  Synchronized.Updaters.sync(AsyncState.Updaters.toLoading()),
93
188
  ),
94
189
  },
@@ -10,6 +10,7 @@ import {
10
10
  AsyncState,
11
11
  Bindings,
12
12
  unit,
13
+ DispatchParsedType,
13
14
  } from "../../../../../../../../main";
14
15
  import React from "react";
15
16
  import { DispatchEditFormRunner } from "./coroutines/runner";
@@ -18,17 +19,22 @@ import { Map } from "immutable";
18
19
  export const DispatchEditFormLauncherTemplate = <
19
20
  T extends DispatchInjectablesTypes<T>,
20
21
  Flags,
21
- CustomPresentationContexts,
22
+ CustomPresentationContext,
22
23
  ExtraContext,
23
24
  >() =>
24
25
  Template.Default<
25
26
  DispatchEditFormLauncherContext<
26
27
  T,
27
28
  Flags,
28
- CustomPresentationContexts,
29
+ CustomPresentationContext,
30
+ ExtraContext
31
+ >,
32
+ DispatchEditFormLauncherState<
33
+ T,
34
+ Flags,
35
+ CustomPresentationContext,
29
36
  ExtraContext
30
37
  >,
31
- DispatchEditFormLauncherState<T, Flags>,
32
38
  DispatchEditFormLauncherForeignMutationsExpected<T>
33
39
  >((props) => {
34
40
  const entity = props.context.entity.sync;
@@ -75,18 +81,27 @@ export const DispatchEditFormLauncherTemplate = <
75
81
  value: entity.value,
76
82
  locked: false,
77
83
  disabled: false,
84
+ globallyDisabled: props.context.globallyDisabled,
85
+ readOnly: false,
86
+ globallyReadOnly: props.context.globallyReadOnly,
87
+ type: DispatchParsedType.Default.primitive("unit"), // currently unused here
78
88
  bindings,
79
89
  extraContext: props.context.extraContext,
80
90
  remoteEntityVersionIdentifier:
81
91
  props.context.remoteEntityVersionIdentifier,
82
92
  domNodeAncestorPath: "",
83
93
  lookupTypeAncestorNames: [],
94
+ customPresentationContext: undefined,
95
+ typeAncestors: [],
84
96
  }}
85
97
  setState={(stateUpdater) =>
86
98
  props.setState(
87
- DispatchEditFormLauncherState<T, Flags>().Updaters.Core.formState(
88
- stateUpdater,
89
- ),
99
+ DispatchEditFormLauncherState<
100
+ T,
101
+ Flags,
102
+ CustomPresentationContext,
103
+ ExtraContext
104
+ >().Updaters.Core.formState(stateUpdater),
90
105
  )
91
106
  }
92
107
  view={unit}
@@ -98,7 +113,9 @@ export const DispatchEditFormLauncherTemplate = <
98
113
  props.setState(
99
114
  DispatchEditFormLauncherState<
100
115
  T,
101
- Flags
116
+ Flags,
117
+ CustomPresentationContext,
118
+ ExtraContext
102
119
  >().Updaters.Template.entity(pvUpdater.value),
103
120
  );
104
121
  },
@@ -106,10 +123,5 @@ export const DispatchEditFormLauncherTemplate = <
106
123
  />
107
124
  );
108
125
  }).any([
109
- DispatchEditFormRunner<
110
- T,
111
- Flags,
112
- CustomPresentationContexts,
113
- ExtraContext
114
- >(),
126
+ DispatchEditFormRunner<T, Flags, CustomPresentationContext, ExtraContext>(),
115
127
  ]);