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
@@ -21,17 +21,22 @@ import { List } from "immutable";
21
21
  export const DispatchPassthroughFormRunner = <
22
22
  T extends DispatchInjectablesTypes<T>,
23
23
  Flags,
24
- CustomPresentationContexts,
24
+ CustomPresentationContext,
25
25
  ExtraContext,
26
26
  >() => {
27
27
  const Co = CoTypedFactory<
28
28
  DispatchPassthroughFormLauncherContext<
29
29
  T,
30
30
  Flags,
31
- CustomPresentationContexts,
31
+ CustomPresentationContext,
32
32
  ExtraContext
33
33
  >,
34
- DispatchPassthroughFormLauncherState<T, Flags>
34
+ DispatchPassthroughFormLauncherState<
35
+ T,
36
+ Flags,
37
+ CustomPresentationContext,
38
+ ExtraContext
39
+ >
35
40
  >();
36
41
 
37
42
  return Co.Template<
@@ -39,8 +44,20 @@ export const DispatchPassthroughFormRunner = <
39
44
  >(
40
45
  Co.Seq([
41
46
  Co.SetState(
42
- DispatchCommonFormRunnerState<T, Flags>().Updaters.status(
43
- replaceWith<DispatchFormRunnerStatus<T, Flags>>({ kind: "loading" }),
47
+ DispatchCommonFormRunnerState<
48
+ T,
49
+ Flags,
50
+ CustomPresentationContext,
51
+ ExtraContext
52
+ >().Updaters.status(
53
+ replaceWith<
54
+ DispatchFormRunnerStatus<
55
+ T,
56
+ Flags,
57
+ CustomPresentationContext,
58
+ ExtraContext
59
+ >
60
+ >({ kind: "loading" }),
44
61
  ),
45
62
  ),
46
63
  Co.GetState().then((current) =>
@@ -59,9 +76,18 @@ export const DispatchPassthroughFormRunner = <
59
76
  if (current.deserializedSpecification.sync.value.kind == "errors")
60
77
  return DispatchCommonFormRunnerState<
61
78
  T,
62
- Flags
79
+ Flags,
80
+ CustomPresentationContext,
81
+ ExtraContext
63
82
  >().Updaters.status(
64
- replaceWith<DispatchFormRunnerStatus<T, Flags>>({
83
+ replaceWith<
84
+ DispatchFormRunnerStatus<
85
+ T,
86
+ Flags,
87
+ CustomPresentationContext,
88
+ ExtraContext
89
+ >
90
+ >({
65
91
  kind: "error",
66
92
  errors: current.deserializedSpecification.sync.value.errors,
67
93
  }),
@@ -78,9 +104,18 @@ export const DispatchPassthroughFormRunner = <
78
104
  );
79
105
  return DispatchCommonFormRunnerState<
80
106
  T,
81
- Flags
107
+ Flags,
108
+ CustomPresentationContext,
109
+ ExtraContext
82
110
  >().Updaters.status(
83
- replaceWith<DispatchFormRunnerStatus<T, Flags>>({
111
+ replaceWith<
112
+ DispatchFormRunnerStatus<
113
+ T,
114
+ Flags,
115
+ CustomPresentationContext,
116
+ ExtraContext
117
+ >
118
+ >({
84
119
  kind: "error",
85
120
  errors: current.launcherRef.entity.value.errors,
86
121
  }),
@@ -98,9 +133,18 @@ export const DispatchPassthroughFormRunner = <
98
133
  );
99
134
  return DispatchCommonFormRunnerState<
100
135
  T,
101
- Flags
136
+ Flags,
137
+ CustomPresentationContext,
138
+ ExtraContext
102
139
  >().Updaters.status(
103
- replaceWith<DispatchFormRunnerStatus<T, Flags>>({
140
+ replaceWith<
141
+ DispatchFormRunnerStatus<
142
+ T,
143
+ Flags,
144
+ CustomPresentationContext,
145
+ ExtraContext
146
+ >
147
+ >({
104
148
  kind: "error",
105
149
  errors: current.launcherRef.config.value.errors,
106
150
  }),
@@ -124,9 +168,18 @@ export const DispatchPassthroughFormRunner = <
124
168
 
125
169
  return DispatchCommonFormRunnerState<
126
170
  T,
127
- Flags
171
+ Flags,
172
+ CustomPresentationContext,
173
+ ExtraContext
128
174
  >().Updaters.status(
129
- replaceWith<DispatchFormRunnerStatus<T, Flags>>({
175
+ replaceWith<
176
+ DispatchFormRunnerStatus<
177
+ T,
178
+ Flags,
179
+ CustomPresentationContext,
180
+ ExtraContext
181
+ >
182
+ >({
130
183
  kind: "error",
131
184
  errors: List([
132
185
  `Cannot find form '${launcherRef.name}' in the launchers`,
@@ -138,7 +191,7 @@ export const DispatchPassthroughFormRunner = <
138
191
  const dispatcherContextWithApiSources: DispatcherContextWithApiSources<
139
192
  T,
140
193
  Flags,
141
- CustomPresentationContexts,
194
+ CustomPresentationContext,
142
195
  ExtraContext
143
196
  > = {
144
197
  ...dispatcherContext,
@@ -162,9 +215,18 @@ export const DispatchPassthroughFormRunner = <
162
215
  console.error(Form.errors.valueSeq().toArray().join("\n"));
163
216
  return DispatchCommonFormRunnerState<
164
217
  T,
165
- Flags
218
+ Flags,
219
+ CustomPresentationContext,
220
+ ExtraContext
166
221
  >().Updaters.status(
167
- replaceWith<DispatchFormRunnerStatus<T, Flags>>({
222
+ replaceWith<
223
+ DispatchFormRunnerStatus<
224
+ T,
225
+ Flags,
226
+ CustomPresentationContext,
227
+ ExtraContext
228
+ >
229
+ >({
168
230
  kind: "error",
169
231
  errors: Form.errors,
170
232
  }),
@@ -183,20 +245,46 @@ export const DispatchPassthroughFormRunner = <
183
245
  );
184
246
  return DispatchCommonFormRunnerState<
185
247
  T,
186
- Flags
248
+ Flags,
249
+ CustomPresentationContext,
250
+ ExtraContext
187
251
  >().Updaters.status(
188
- replaceWith<DispatchFormRunnerStatus<T, Flags>>({
252
+ replaceWith<
253
+ DispatchFormRunnerStatus<
254
+ T,
255
+ Flags,
256
+ CustomPresentationContext,
257
+ ExtraContext
258
+ >
259
+ >({
189
260
  kind: "error",
190
261
  errors: initialState.errors,
191
262
  }),
192
263
  );
193
264
  }
194
265
 
195
- return DispatchCommonFormRunnerState<T, Flags>()
266
+ return DispatchCommonFormRunnerState<
267
+ T,
268
+ Flags,
269
+ CustomPresentationContext,
270
+ ExtraContext
271
+ >()
196
272
  .Updaters.formState(replaceWith(initialState.value))
197
273
  .then(
198
- DispatchCommonFormRunnerState<T, Flags>().Updaters.status(
199
- replaceWith<DispatchFormRunnerStatus<T, Flags>>({
274
+ DispatchCommonFormRunnerState<
275
+ T,
276
+ Flags,
277
+ CustomPresentationContext,
278
+ ExtraContext
279
+ >().Updaters.status(
280
+ replaceWith<
281
+ DispatchFormRunnerStatus<
282
+ T,
283
+ Flags,
284
+ CustomPresentationContext,
285
+ ExtraContext
286
+ >
287
+ >({
200
288
  kind: "loaded",
201
289
  Form: Form.value,
202
290
  }),
@@ -1,20 +1,18 @@
1
1
  import {
2
2
  DispatchCommonFormRunnerState,
3
3
  DispatchFormRunnerContext,
4
- DispatchFormRunnerState,
5
4
  DispatchInjectablesTypes,
6
5
  PassthroughLauncherRef,
7
6
  simpleUpdater,
8
- Unit,
9
7
  } from "../../../../../../../../main";
10
8
 
11
9
  export type DispatchPassthroughFormLauncherContext<
12
10
  T extends DispatchInjectablesTypes<T>,
13
- Flags = Unit,
14
- CustomPresentationContexts = Unit,
15
- ExtraContext = Unit,
11
+ Flags,
12
+ CustomPresentationContext,
13
+ ExtraContext,
16
14
  > = Omit<
17
- DispatchFormRunnerContext<T, Flags, CustomPresentationContexts, ExtraContext>,
15
+ DispatchFormRunnerContext<T, Flags, CustomPresentationContext, ExtraContext>,
18
16
  "launcherRef"
19
17
  > & {
20
18
  launcherRef: PassthroughLauncherRef<Flags>;
@@ -22,24 +20,53 @@ export type DispatchPassthroughFormLauncherContext<
22
20
 
23
21
  export type DispatchPassthroughFormLauncherState<
24
22
  T extends DispatchInjectablesTypes<T>,
25
- Flags = Unit,
26
- > = DispatchCommonFormRunnerState<T, Flags>;
23
+ Flags,
24
+ CustomPresentationContext,
25
+ ExtraContext,
26
+ > = DispatchCommonFormRunnerState<
27
+ T,
28
+ Flags,
29
+ CustomPresentationContext,
30
+ ExtraContext
31
+ >;
27
32
 
28
33
  export type DispatchPassthroughFormLauncherForeignMutationsExpected<T> = {};
29
34
 
30
35
  export const DispatchPassthroughFormLauncherState = <
31
36
  T extends DispatchInjectablesTypes<T>,
32
- Flags = Unit,
37
+ Flags,
38
+ CustomPresentationContext,
39
+ ExtraContext,
33
40
  >() => ({
34
- Default: (): DispatchPassthroughFormLauncherState<T, Flags> => ({
35
- ...DispatchCommonFormRunnerState<T, Flags>().Default(),
41
+ Default: (): DispatchPassthroughFormLauncherState<
42
+ T,
43
+ Flags,
44
+ CustomPresentationContext,
45
+ ExtraContext
46
+ > => ({
47
+ ...DispatchCommonFormRunnerState<
48
+ T,
49
+ Flags,
50
+ CustomPresentationContext,
51
+ ExtraContext
52
+ >().Default(),
36
53
  }),
37
54
  Updaters: {
38
- ...simpleUpdater<DispatchPassthroughFormLauncherState<T, Flags>>()(
39
- "status",
40
- ),
41
- ...simpleUpdater<DispatchPassthroughFormLauncherState<T, Flags>>()(
42
- "formState",
43
- ),
55
+ ...simpleUpdater<
56
+ DispatchPassthroughFormLauncherState<
57
+ T,
58
+ Flags,
59
+ CustomPresentationContext,
60
+ ExtraContext
61
+ >
62
+ >()("status"),
63
+ ...simpleUpdater<
64
+ DispatchPassthroughFormLauncherState<
65
+ T,
66
+ Flags,
67
+ CustomPresentationContext,
68
+ ExtraContext
69
+ >
70
+ >()("formState"),
44
71
  },
45
72
  });
@@ -6,11 +6,17 @@ import {
6
6
  import {
7
7
  BasicUpdater,
8
8
  Bindings,
9
+ CommonAbstractRendererState,
10
+ DispatchDelta,
9
11
  DispatchFormRunnerState,
10
12
  DispatchInjectablesTypes,
13
+ DispatchParsedType,
14
+ Option,
15
+ PredicateValue,
11
16
  Template,
12
17
  unit,
13
18
  Unit,
19
+ Updater,
14
20
  } from "../../../../../../../../main";
15
21
  import { DispatchPassthroughFormRunner } from "./coroutines/runner";
16
22
  import { Map } from "immutable";
@@ -18,18 +24,28 @@ import { Map } from "immutable";
18
24
  export const DispatchPassthroughFormLauncherTemplate = <
19
25
  T extends DispatchInjectablesTypes<T>,
20
26
  Flags,
21
- CustomPresentationContexts,
27
+ CustomPresentationContext,
22
28
  ExtraContext,
23
29
  >() =>
24
30
  Template.Default<
25
31
  DispatchPassthroughFormLauncherContext<
26
32
  T,
27
33
  Flags,
28
- CustomPresentationContexts,
34
+ CustomPresentationContext,
29
35
  ExtraContext
30
36
  > &
31
- DispatchFormRunnerState<T, Flags>,
32
- DispatchPassthroughFormLauncherState<T, Flags>,
37
+ DispatchFormRunnerState<
38
+ T,
39
+ Flags,
40
+ CustomPresentationContext,
41
+ ExtraContext
42
+ >,
43
+ DispatchPassthroughFormLauncherState<
44
+ T,
45
+ Flags,
46
+ CustomPresentationContext,
47
+ ExtraContext
48
+ >,
33
49
  DispatchPassthroughFormLauncherForeignMutationsExpected<T>
34
50
  >((props) => {
35
51
  const entity = props.context.launcherRef.entity;
@@ -82,26 +98,37 @@ export const DispatchPassthroughFormLauncherTemplate = <
82
98
  ...props.context.formState,
83
99
  value: entity.value.value,
84
100
  locked: false,
85
- disabled: false,
101
+ disabled: props.context.globallyDisabled,
102
+ globallyDisabled: props.context.globallyDisabled,
103
+ readOnly: false,
104
+ globallyReadOnly: props.context.globallyReadOnly,
105
+ type: DispatchParsedType.Default.primitive("unit"), // currently unused here
86
106
  bindings,
87
107
  extraContext: props.context.extraContext,
88
108
  remoteEntityVersionIdentifier:
89
109
  props.context.remoteEntityVersionIdentifier,
90
110
  domNodeAncestorPath: "",
91
111
  lookupTypeAncestorNames: [],
92
- // domNodeAncestorPath: `[${props.context.launcherRef.name}]`,
112
+ customPresentationContext: undefined,
113
+ typeAncestors: [],
93
114
  }}
94
- setState={(stateUpdater) =>
115
+ setState={(stateUpdater: BasicUpdater<CommonAbstractRendererState>) =>
95
116
  props.setState(
96
- DispatchPassthroughFormLauncherState<T, Flags>().Updaters.formState(
97
- stateUpdater,
98
- ),
117
+ DispatchPassthroughFormLauncherState<
118
+ T,
119
+ Flags,
120
+ CustomPresentationContext,
121
+ ExtraContext
122
+ >().Updaters.formState(stateUpdater),
99
123
  )
100
124
  }
101
125
  view={unit}
102
126
  foreignMutations={{
103
127
  ...props.foreignMutations,
104
- onChange: (updater, delta) => {
128
+ onChange: (
129
+ updater: Option<BasicUpdater<PredicateValue>>,
130
+ delta: DispatchDelta<Flags>,
131
+ ) => {
105
132
  if (props.context.launcherRef.entity.kind == "r") return;
106
133
  props.context.launcherRef.onEntityChange(updater, delta);
107
134
  },
@@ -112,7 +139,7 @@ export const DispatchPassthroughFormLauncherTemplate = <
112
139
  DispatchPassthroughFormRunner<
113
140
  T,
114
141
  Flags,
115
- CustomPresentationContexts,
142
+ CustomPresentationContext,
116
143
  ExtraContext
117
144
  >().mapContext((context) => context),
118
145
  ]);