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
@@ -17,7 +17,6 @@ import {
17
17
  DispatchFormRunnerStatus,
18
18
  } from "../../../../state";
19
19
  import { DispatchInjectablesTypes } from "../../../abstract-renderers/injectables/state";
20
- import { Co } from "../../../abstract-renderers/table/coroutines/builder";
21
20
  import { Dispatcher } from "../../../dispatcher/state";
22
21
  import {
23
22
  DispatchCreateFormLauncherState,
@@ -28,18 +27,20 @@ import { CreateCoBuilder } from "./builder";
28
27
  export const initCo = <
29
28
  T extends DispatchInjectablesTypes<T>,
30
29
  Flags,
31
- CustomPresentationContexts,
30
+ CustomPresentationContext,
32
31
  ExtraContext,
33
32
  >(
34
33
  Co: ReturnType<
35
- typeof CreateCoBuilder<T, Flags, CustomPresentationContexts, ExtraContext>
34
+ typeof CreateCoBuilder<T, Flags, CustomPresentationContext, ExtraContext>
36
35
  >,
37
36
  ) => {
38
37
  const setChecked = (checked: boolean) =>
39
38
  Co.SetState(
40
39
  DispatchCreateFormLauncherState<
41
40
  T,
42
- Flags
41
+ Flags,
42
+ CustomPresentationContext,
43
+ ExtraContext
43
44
  >().Updaters.Core.apiChecker.children.init(
44
45
  checked
45
46
  ? ApiResponseChecker.Updaters().toChecked()
@@ -63,8 +64,20 @@ export const initCo = <
63
64
  5,
64
65
  50,
65
66
  ).embed(
66
- (_: DispatchCreateFormLauncherState<T, Flags>) => _.entity,
67
- DispatchCreateFormLauncherState<T, Flags>().Updaters.Core.entity,
67
+ (
68
+ _: DispatchCreateFormLauncherState<
69
+ T,
70
+ Flags,
71
+ CustomPresentationContext,
72
+ ExtraContext
73
+ >,
74
+ ) => _.entity,
75
+ DispatchCreateFormLauncherState<
76
+ T,
77
+ Flags,
78
+ CustomPresentationContext,
79
+ ExtraContext
80
+ >().Updaters.Core.entity,
68
81
  );
69
82
 
70
83
  const configValueCo = (
@@ -73,7 +86,7 @@ export const initCo = <
73
86
  current: DispatchCreateFormLauncherContext<
74
87
  T,
75
88
  Flags,
76
- CustomPresentationContexts,
89
+ CustomPresentationContext,
77
90
  ExtraContext
78
91
  >,
79
92
  ) =>
@@ -87,11 +100,28 @@ export const initCo = <
87
100
  : Promise.resolve(result.value);
88
101
  }),
89
102
  ).embed(
90
- (_: DispatchCreateFormLauncherState<T, Flags>) => _.config,
91
- DispatchCreateFormLauncherState<T, Flags>().Updaters.Core.config,
103
+ (
104
+ _: DispatchCreateFormLauncherState<
105
+ T,
106
+ Flags,
107
+ CustomPresentationContext,
108
+ ExtraContext
109
+ >,
110
+ ) => _.config,
111
+ DispatchCreateFormLauncherState<
112
+ T,
113
+ Flags,
114
+ CustomPresentationContext,
115
+ ExtraContext
116
+ >().Updaters.Core.config,
92
117
  )
93
118
  : Co.SetState(
94
- DispatchCreateFormLauncherState<T, Flags>().Updaters.Core.config(
119
+ DispatchCreateFormLauncherState<
120
+ T,
121
+ Flags,
122
+ CustomPresentationContext,
123
+ ExtraContext
124
+ >().Updaters.Core.config(
95
125
  replaceWith(
96
126
  current.launcherRef.config.value.kind == "l" &&
97
127
  current.launcherRef.config.value.value.kind == "value"
@@ -107,8 +137,20 @@ export const initCo = <
107
137
  );
108
138
 
109
139
  const errorUpd = (errors: List<string>) =>
110
- DispatchCreateFormLauncherState<T, Flags>().Updaters.Core.status(
111
- replaceWith<DispatchFormRunnerStatus<T, Flags>>({
140
+ DispatchCreateFormLauncherState<
141
+ T,
142
+ Flags,
143
+ CustomPresentationContext,
144
+ ExtraContext
145
+ >().Updaters.Core.status(
146
+ replaceWith<
147
+ DispatchFormRunnerStatus<
148
+ T,
149
+ Flags,
150
+ CustomPresentationContext,
151
+ ExtraContext
152
+ >
153
+ >({
112
154
  kind: "error",
113
155
  errors,
114
156
  }),
@@ -116,8 +158,20 @@ export const initCo = <
116
158
 
117
159
  return Co.Seq([
118
160
  Co.SetState(
119
- DispatchCreateFormLauncherState<T, Flags>().Updaters.Core.status(
120
- replaceWith<DispatchFormRunnerStatus<T, Flags>>({ kind: "loading" }),
161
+ DispatchCreateFormLauncherState<
162
+ T,
163
+ Flags,
164
+ CustomPresentationContext,
165
+ ExtraContext
166
+ >().Updaters.Core.status(
167
+ replaceWith<
168
+ DispatchFormRunnerStatus<
169
+ T,
170
+ Flags,
171
+ CustomPresentationContext,
172
+ ExtraContext
173
+ >
174
+ >({ kind: "loading" }),
121
175
  ),
122
176
  ),
123
177
  setChecked(false),
@@ -202,7 +256,7 @@ export const initCo = <
202
256
  const dispatcherContextWithApiSources: DispatcherContextWithApiSources<
203
257
  T,
204
258
  Flags,
205
- CustomPresentationContexts,
259
+ CustomPresentationContext,
206
260
  ExtraContext
207
261
  > = {
208
262
  ...dispatcherContext,
@@ -240,31 +294,52 @@ export const initCo = <
240
294
  return errorUpd(initialState.errors);
241
295
  }
242
296
 
243
- return DispatchCreateFormLauncherState<T, Flags>()
297
+ return DispatchCreateFormLauncherState<
298
+ T,
299
+ Flags,
300
+ CustomPresentationContext,
301
+ ExtraContext
302
+ >()
244
303
  .Updaters.Core.formState(replaceWith(initialState.value))
245
304
  .thenMany([
246
305
  DispatchCreateFormLauncherState<
247
306
  T,
248
- Flags
307
+ Flags,
308
+ CustomPresentationContext,
309
+ ExtraContext
249
310
  >().Updaters.Core.status(
250
- replaceWith<DispatchFormRunnerStatus<T, Flags>>({
311
+ replaceWith<
312
+ DispatchFormRunnerStatus<
313
+ T,
314
+ Flags,
315
+ CustomPresentationContext,
316
+ ExtraContext
317
+ >
318
+ >({
251
319
  kind: "loaded",
252
320
  Form: Form.value,
253
321
  }),
254
322
  ),
255
323
  DispatchCreateFormLauncherState<
256
324
  T,
257
- Flags
325
+ Flags,
326
+ CustomPresentationContext,
327
+ ExtraContext
258
328
  >().Updaters.Core.config(replaceWith(_.config)),
259
329
  ]);
260
330
  }),
261
331
  ]),
262
332
  HandleApiResponse<
263
- DispatchCreateFormLauncherState<T, Flags>,
333
+ DispatchCreateFormLauncherState<
334
+ T,
335
+ Flags,
336
+ CustomPresentationContext,
337
+ ExtraContext
338
+ >,
264
339
  DispatchCreateFormLauncherContext<
265
340
  T,
266
341
  Flags,
267
- CustomPresentationContexts,
342
+ CustomPresentationContext,
268
343
  ExtraContext
269
344
  >,
270
345
  any
@@ -18,18 +18,20 @@ import { CreateCoBuilder } from "./builder";
18
18
  export const syncCo = <
19
19
  T extends DispatchInjectablesTypes<T>,
20
20
  Flags,
21
- CustomPresentationContexts,
21
+ CustomPresentationContext,
22
22
  ExtraContext,
23
23
  >(
24
24
  Co: ReturnType<
25
- typeof CreateCoBuilder<T, Flags, CustomPresentationContexts, ExtraContext>
25
+ typeof CreateCoBuilder<T, Flags, CustomPresentationContext, ExtraContext>
26
26
  >,
27
27
  ) => {
28
28
  const setChecked = (checked: boolean) =>
29
29
  Co.SetState(
30
30
  DispatchCreateFormLauncherState<
31
31
  T,
32
- Flags
32
+ Flags,
33
+ CustomPresentationContext,
34
+ ExtraContext
33
35
  >().Updaters.Core.apiChecker.children.create(
34
36
  checked
35
37
  ? ApiResponseChecker.Updaters().toChecked()
@@ -82,14 +84,24 @@ export const syncCo = <
82
84
  50,
83
85
  ).embed(
84
86
  (_) => _.apiRunner,
85
- DispatchCreateFormLauncherState<T, Flags>().Updaters.Core.apiRunner,
87
+ DispatchCreateFormLauncherState<
88
+ T,
89
+ Flags,
90
+ CustomPresentationContext,
91
+ ExtraContext
92
+ >().Updaters.Core.apiRunner,
86
93
  ),
87
94
  HandleApiResponse<
88
- DispatchCreateFormLauncherState<T, Flags>,
95
+ DispatchCreateFormLauncherState<
96
+ T,
97
+ Flags,
98
+ CustomPresentationContext,
99
+ ExtraContext
100
+ >,
89
101
  DispatchCreateFormLauncherContext<
90
102
  T,
91
103
  Flags,
92
- CustomPresentationContexts,
104
+ CustomPresentationContext,
93
105
  ExtraContext
94
106
  >,
95
107
  ApiErrors
@@ -10,15 +10,20 @@ import {
10
10
  export const CreateCoBuilder = <
11
11
  T extends DispatchInjectablesTypes<T>,
12
12
  Flags,
13
- CustomPresentationContexts,
13
+ CustomPresentationContext,
14
14
  ExtraContext,
15
15
  >() =>
16
16
  CoTypedFactory<
17
17
  DispatchCreateFormLauncherContext<
18
18
  T,
19
19
  Flags,
20
- CustomPresentationContexts,
20
+ CustomPresentationContext,
21
21
  ExtraContext
22
22
  >,
23
- DispatchCreateFormLauncherState<T, Flags>
23
+ DispatchCreateFormLauncherState<
24
+ T,
25
+ Flags,
26
+ CustomPresentationContext,
27
+ ExtraContext
28
+ >
24
29
  >();
@@ -11,18 +11,18 @@ import { syncCo } from "./_sync";
11
11
  export const DispatchCreateFormRunner = <
12
12
  T extends DispatchInjectablesTypes<T>,
13
13
  Flags,
14
- CustomPresentationContexts,
14
+ CustomPresentationContext,
15
15
  ExtraContext,
16
16
  >() => {
17
17
  const Co = CreateCoBuilder<
18
18
  T,
19
19
  Flags,
20
- CustomPresentationContexts,
20
+ CustomPresentationContext,
21
21
  ExtraContext
22
22
  >();
23
23
 
24
- const init = initCo<T, Flags, CustomPresentationContexts, ExtraContext>(Co);
25
- const sync = syncCo<T, Flags, CustomPresentationContexts, ExtraContext>(Co);
24
+ const init = initCo<T, Flags, CustomPresentationContext, ExtraContext>(Co);
25
+ const sync = syncCo<T, Flags, CustomPresentationContext, ExtraContext>(Co);
26
26
 
27
27
  return Co.Template<DispatchCreateFormLauncherForeignMutationsExpected<T>>(
28
28
  init,
@@ -23,11 +23,11 @@ export type DispatchCreateFormLauncherApi = {
23
23
 
24
24
  export type DispatchCreateFormLauncherContext<
25
25
  T extends DispatchInjectablesTypes<T>,
26
- Flags = Unit,
27
- CustomPresentationContexts = Unit,
28
- ExtraContext = Unit,
26
+ Flags,
27
+ CustomPresentationContext,
28
+ ExtraContext,
29
29
  > = Omit<
30
- DispatchFormRunnerContext<T, Flags, CustomPresentationContexts, ExtraContext>,
30
+ DispatchFormRunnerContext<T, Flags, CustomPresentationContext, ExtraContext>,
31
31
  "launcherRef"
32
32
  > & {
33
33
  launcherRef: CreateLauncherRef;
@@ -35,8 +35,15 @@ export type DispatchCreateFormLauncherContext<
35
35
 
36
36
  export type DispatchCreateFormLauncherState<
37
37
  T extends DispatchInjectablesTypes<T>,
38
- Flags = Unit,
39
- > = DispatchCommonFormRunnerState<T, Flags> & {
38
+ Flags,
39
+ CustomPresentationContext,
40
+ ExtraContext = Unit,
41
+ > = DispatchCommonFormRunnerState<
42
+ T,
43
+ Flags,
44
+ CustomPresentationContext,
45
+ ExtraContext
46
+ > & {
40
47
  entity: Synchronized<Unit, PredicateValue>;
41
48
  config: Synchronized<Unit, PredicateValue>;
42
49
  apiChecker: {
@@ -49,9 +56,21 @@ export type DispatchCreateFormLauncherState<
49
56
  export const DispatchCreateFormLauncherState = <
50
57
  T extends DispatchInjectablesTypes<T>,
51
58
  Flags,
59
+ CustomPresentationContext,
60
+ ExtraContext,
52
61
  >() => ({
53
- Default: (): DispatchCreateFormLauncherState<T, Flags> => ({
54
- ...DispatchCommonFormRunnerState<T, Flags>().Default(),
62
+ Default: (): DispatchCreateFormLauncherState<
63
+ T,
64
+ Flags,
65
+ CustomPresentationContext,
66
+ ExtraContext
67
+ > => ({
68
+ ...DispatchCommonFormRunnerState<
69
+ T,
70
+ Flags,
71
+ CustomPresentationContext,
72
+ ExtraContext
73
+ >().Default(),
55
74
  entity: Synchronized.Default(unit),
56
75
  config: Synchronized.Default(unit),
57
76
  apiChecker: {
@@ -62,35 +81,105 @@ export const DispatchCreateFormLauncherState = <
62
81
  }),
63
82
  Updaters: {
64
83
  Core: {
65
- ...simpleUpdater<DispatchCreateFormLauncherState<T, Flags>>()("status"),
66
- ...simpleUpdater<DispatchCreateFormLauncherState<T, Flags>>()(
67
- "formState",
68
- ),
69
- ...simpleUpdater<DispatchCreateFormLauncherState<T, Flags>>()("entity"),
70
- ...simpleUpdater<DispatchCreateFormLauncherState<T, Flags>>()("config"),
71
- ...simpleUpdater<DispatchCreateFormLauncherState<T, Flags>>()(
72
- "apiRunner",
73
- ),
74
- ...simpleUpdaterWithChildren<DispatchCreateFormLauncherState<T, Flags>>()(
75
- {
76
- ...simpleUpdater<
77
- DispatchCreateFormLauncherState<T, Flags>["apiChecker"]
78
- >()("init"),
79
- ...simpleUpdater<
80
- DispatchCreateFormLauncherState<T, Flags>["apiChecker"]
81
- >()("create"),
82
- },
83
- )("apiChecker"),
84
+ ...simpleUpdater<
85
+ DispatchCreateFormLauncherState<
86
+ T,
87
+ Flags,
88
+ CustomPresentationContext,
89
+ ExtraContext
90
+ >
91
+ >()("status"),
92
+ ...simpleUpdater<
93
+ DispatchCreateFormLauncherState<
94
+ T,
95
+ Flags,
96
+ CustomPresentationContext,
97
+ ExtraContext
98
+ >
99
+ >()("formState"),
100
+ ...simpleUpdater<
101
+ DispatchCreateFormLauncherState<
102
+ T,
103
+ Flags,
104
+ CustomPresentationContext,
105
+ ExtraContext
106
+ >
107
+ >()("entity"),
108
+ ...simpleUpdater<
109
+ DispatchCreateFormLauncherState<
110
+ T,
111
+ Flags,
112
+ CustomPresentationContext,
113
+ ExtraContext
114
+ >
115
+ >()("config"),
116
+ ...simpleUpdater<
117
+ DispatchCreateFormLauncherState<
118
+ T,
119
+ Flags,
120
+ CustomPresentationContext,
121
+ ExtraContext
122
+ >
123
+ >()("apiRunner"),
124
+ ...simpleUpdaterWithChildren<
125
+ DispatchCreateFormLauncherState<
126
+ T,
127
+ Flags,
128
+ CustomPresentationContext,
129
+ ExtraContext
130
+ >
131
+ >()({
132
+ ...simpleUpdater<
133
+ DispatchCreateFormLauncherState<
134
+ T,
135
+ Flags,
136
+ CustomPresentationContext,
137
+ ExtraContext
138
+ >["apiChecker"]
139
+ >()("init"),
140
+ ...simpleUpdater<
141
+ DispatchCreateFormLauncherState<
142
+ T,
143
+ Flags,
144
+ CustomPresentationContext,
145
+ ExtraContext
146
+ >["apiChecker"]
147
+ >()("create"),
148
+ })("apiChecker"),
84
149
  },
85
150
  Template: {
86
151
  entity: (
87
152
  _: BasicUpdater<PredicateValue>,
88
- ): Updater<DispatchCreateFormLauncherState<T, Flags>> =>
89
- DispatchCreateFormLauncherState<T, Flags>().Updaters.Core.entity(
153
+ ): Updater<
154
+ DispatchCreateFormLauncherState<
155
+ T,
156
+ Flags,
157
+ CustomPresentationContext,
158
+ ExtraContext
159
+ >
160
+ > =>
161
+ DispatchCreateFormLauncherState<
162
+ T,
163
+ Flags,
164
+ CustomPresentationContext,
165
+ ExtraContext
166
+ >().Updaters.Core.entity(
90
167
  Synchronized.Updaters.sync(AsyncState.Operations.map(_)),
91
168
  ),
92
- submit: (): Updater<DispatchCreateFormLauncherState<T, Flags>> =>
93
- DispatchCreateFormLauncherState<T, Flags>().Updaters.Core.apiRunner(
169
+ submit: (): Updater<
170
+ DispatchCreateFormLauncherState<
171
+ T,
172
+ Flags,
173
+ CustomPresentationContext,
174
+ ExtraContext
175
+ >
176
+ > =>
177
+ DispatchCreateFormLauncherState<
178
+ T,
179
+ Flags,
180
+ CustomPresentationContext,
181
+ ExtraContext
182
+ >().Updaters.Core.apiRunner(
94
183
  Synchronized.Updaters.sync(AsyncState.Updaters.toLoading()),
95
184
  ),
96
185
  },
@@ -12,6 +12,7 @@ import {
12
12
  Bindings,
13
13
  PredicateValue,
14
14
  Synchronized,
15
+ DispatchParsedType,
15
16
  } from "../../../../../../../../main";
16
17
  import { DispatchCreateFormRunner } from "./coroutines/runner";
17
18
  import { Map } from "immutable";
@@ -19,17 +20,22 @@ import { Map } from "immutable";
19
20
  export const DispatchCreateFormLauncherTemplate = <
20
21
  T extends DispatchInjectablesTypes<T>,
21
22
  Flags,
22
- CustomPresentationContexts,
23
+ CustomPresentationContext,
23
24
  ExtraContext,
24
25
  >() =>
25
26
  Template.Default<
26
27
  DispatchCreateFormLauncherContext<
27
28
  T,
28
29
  Flags,
29
- CustomPresentationContexts,
30
+ CustomPresentationContext,
31
+ ExtraContext
32
+ >,
33
+ DispatchCreateFormLauncherState<
34
+ T,
35
+ Flags,
36
+ CustomPresentationContext,
30
37
  ExtraContext
31
38
  >,
32
- DispatchCreateFormLauncherState<T, Flags>,
33
39
  DispatchCreateFormLauncherForeignMutationsExpected<T>
34
40
  >((props) => {
35
41
  const entity = props.context.entity.sync;
@@ -76,18 +82,27 @@ export const DispatchCreateFormLauncherTemplate = <
76
82
  value: entity.value,
77
83
  locked: false,
78
84
  disabled: false,
85
+ globallyDisabled: props.context.globallyDisabled,
86
+ readOnly: false,
87
+ globallyReadOnly: props.context.globallyReadOnly,
88
+ type: DispatchParsedType.Default.primitive("unit"), // currently unused here
79
89
  bindings,
80
90
  extraContext: props.context.extraContext,
81
91
  remoteEntityVersionIdentifier:
82
92
  props.context.remoteEntityVersionIdentifier,
83
93
  domNodeAncestorPath: "",
84
94
  lookupTypeAncestorNames: [],
95
+ customPresentationContext: undefined,
96
+ typeAncestors: [],
85
97
  }}
86
98
  setState={(stateUpdater) =>
87
99
  props.setState(
88
- DispatchCreateFormLauncherState<T, Flags>().Updaters.Core.formState(
89
- stateUpdater,
90
- ),
100
+ DispatchCreateFormLauncherState<
101
+ T,
102
+ Flags,
103
+ CustomPresentationContext,
104
+ ExtraContext
105
+ >().Updaters.Core.formState(stateUpdater),
91
106
  )
92
107
  }
93
108
  view={unit}
@@ -99,7 +114,9 @@ export const DispatchCreateFormLauncherTemplate = <
99
114
  props.setState(
100
115
  DispatchCreateFormLauncherState<
101
116
  T,
102
- Flags
117
+ Flags,
118
+ CustomPresentationContext,
119
+ ExtraContext
103
120
  >().Updaters.Template.entity(pvUpdater.value),
104
121
  );
105
122
  },
@@ -110,7 +127,7 @@ export const DispatchCreateFormLauncherTemplate = <
110
127
  DispatchCreateFormRunner<
111
128
  T,
112
129
  Flags,
113
- CustomPresentationContexts,
130
+ CustomPresentationContext,
114
131
  ExtraContext
115
132
  >(),
116
133
  ]);