@jsonforms/core 3.1.0-alpha.0 → 3.1.0-alpha.1

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 (194) hide show
  1. package/lib/Helpers.d.ts +1 -1
  2. package/lib/actions/actions.d.ts +6 -5
  3. package/lib/generators/Generate.d.ts +1 -1
  4. package/lib/generators/schema.d.ts +1 -1
  5. package/lib/i18n/i18nTypes.d.ts +3 -2
  6. package/lib/i18n/i18nUtil.d.ts +2 -2
  7. package/lib/jsonforms-core.cjs.js +3 -3
  8. package/lib/jsonforms-core.cjs.js.map +1 -1
  9. package/lib/jsonforms-core.esm.js +2 -2
  10. package/lib/jsonforms-core.esm.js.map +1 -1
  11. package/lib/models/jsonSchema.d.ts +2 -2
  12. package/lib/models/uischema.d.ts +1 -1
  13. package/lib/reducers/cells.d.ts +2 -2
  14. package/lib/reducers/config.d.ts +1 -1
  15. package/lib/reducers/core.d.ts +3 -2
  16. package/lib/reducers/default-data.d.ts +1 -1
  17. package/lib/reducers/i18n.d.ts +1 -1
  18. package/lib/reducers/reducers.d.ts +4 -4
  19. package/lib/reducers/renderers.d.ts +2 -2
  20. package/lib/reducers/selectors.d.ts +6 -6
  21. package/lib/reducers/uischemas.d.ts +2 -2
  22. package/lib/store.d.ts +3 -3
  23. package/lib/testers/testers.d.ts +1 -1
  24. package/lib/util/cell.d.ts +3 -3
  25. package/lib/util/combinators.d.ts +1 -1
  26. package/lib/util/label.d.ts +1 -1
  27. package/lib/util/path.d.ts +6 -3
  28. package/lib/util/renderer.d.ts +5 -5
  29. package/lib/util/resolvers.d.ts +1 -1
  30. package/lib/util/runtime.d.ts +2 -2
  31. package/lib/util/util.d.ts +2 -2
  32. package/lib/util/validator.d.ts +1 -1
  33. package/package.json +7 -3
  34. package/src/Helpers.ts +1 -1
  35. package/src/actions/actions.ts +6 -5
  36. package/src/generators/Generate.ts +1 -1
  37. package/src/generators/schema.ts +1 -1
  38. package/src/i18n/i18nTypes.ts +3 -2
  39. package/src/i18n/i18nUtil.ts +2 -2
  40. package/src/models/jsonSchema.ts +2 -2
  41. package/src/models/uischema.ts +1 -1
  42. package/src/reducers/cells.ts +2 -2
  43. package/src/reducers/config.ts +1 -1
  44. package/src/reducers/core.ts +4 -3
  45. package/src/reducers/default-data.ts +1 -1
  46. package/src/reducers/i18n.ts +1 -1
  47. package/src/reducers/reducers.ts +4 -4
  48. package/src/reducers/renderers.ts +2 -2
  49. package/src/reducers/selectors.ts +6 -6
  50. package/src/reducers/uischemas.ts +2 -2
  51. package/src/store.ts +3 -3
  52. package/src/testers/testers.ts +2 -2
  53. package/src/util/cell.ts +3 -3
  54. package/src/util/combinators.ts +1 -1
  55. package/src/util/label.ts +1 -1
  56. package/src/util/path.ts +6 -3
  57. package/src/util/renderer.ts +5 -5
  58. package/src/util/resolvers.ts +2 -2
  59. package/src/util/runtime.ts +2 -2
  60. package/src/util/util.ts +2 -2
  61. package/src/util/validator.ts +1 -1
  62. package/.nycrc +0 -6
  63. package/docs/assets/css/main.css +0 -1
  64. package/docs/assets/images/icons.png +0 -0
  65. package/docs/assets/images/icons@2x.png +0 -0
  66. package/docs/assets/images/widgets.png +0 -0
  67. package/docs/assets/images/widgets@2x.png +0 -0
  68. package/docs/assets/js/main.js +0 -51
  69. package/docs/assets/js/search.json +0 -1
  70. package/docs/classes/gen.html +0 -406
  71. package/docs/enums/ruleeffect.html +0 -214
  72. package/docs/globals.html +0 -10568
  73. package/docs/index.html +0 -1297
  74. package/docs/interfaces/action.html +0 -166
  75. package/docs/interfaces/addcellrendereraction.html +0 -181
  76. package/docs/interfaces/addrendereraction.html +0 -181
  77. package/docs/interfaces/adduischemaaction.html +0 -181
  78. package/docs/interfaces/andcondition.html +0 -181
  79. package/docs/interfaces/anyaction.html +0 -189
  80. package/docs/interfaces/arraycontrolprops.html +0 -653
  81. package/docs/interfaces/arraylayoutprops.html +0 -648
  82. package/docs/interfaces/categorization.html +0 -281
  83. package/docs/interfaces/category.html +0 -279
  84. package/docs/interfaces/cellprops.html +0 -452
  85. package/docs/interfaces/combinatorrendererprops.html +0 -503
  86. package/docs/interfaces/combinatorsubschemarenderinfo.html +0 -181
  87. package/docs/interfaces/composablecondition.html +0 -193
  88. package/docs/interfaces/condition.html +0 -176
  89. package/docs/interfaces/controlelement.html +0 -280
  90. package/docs/interfaces/controlprops.html +0 -497
  91. package/docs/interfaces/controlstate.html +0 -184
  92. package/docs/interfaces/controlwithdetailprops.html +0 -501
  93. package/docs/interfaces/dispatchcellprops.html +0 -388
  94. package/docs/interfaces/dispatchcellstateprops.html +0 -408
  95. package/docs/interfaces/dispatchpropsofarraycontrol.html +0 -322
  96. package/docs/interfaces/dispatchpropsofcontrol.html +0 -204
  97. package/docs/interfaces/dispatchpropsofmultienumcontrol.html +0 -215
  98. package/docs/interfaces/enumcellprops.html +0 -467
  99. package/docs/interfaces/enumoption.html +0 -167
  100. package/docs/interfaces/formatted.html +0 -226
  101. package/docs/interfaces/grouplayout.html +0 -284
  102. package/docs/interfaces/horizontallayout.html +0 -234
  103. package/docs/interfaces/initaction.html +0 -209
  104. package/docs/interfaces/initactionoptions.html +0 -181
  105. package/docs/interfaces/internationalizable.html +0 -170
  106. package/docs/interfaces/jsonformscellrendererregistryentry.html +0 -167
  107. package/docs/interfaces/jsonformscore.html +0 -251
  108. package/docs/interfaces/jsonformsdefaultdataregistryentry.html +0 -167
  109. package/docs/interfaces/jsonformsextendedstate.html +0 -175
  110. package/docs/interfaces/jsonformsi18nstate.html +0 -181
  111. package/docs/interfaces/jsonformsprops.html +0 -321
  112. package/docs/interfaces/jsonformsrendererregistryentry.html +0 -167
  113. package/docs/interfaces/jsonformsstate.html +0 -170
  114. package/docs/interfaces/jsonformsstore.html +0 -376
  115. package/docs/interfaces/jsonformssubstates.html +0 -276
  116. package/docs/interfaces/jsonformsuischemaregistryentry.html +0 -167
  117. package/docs/interfaces/jsonschema4.html +0 -758
  118. package/docs/interfaces/jsonschema7.html +0 -884
  119. package/docs/interfaces/labelable.html +0 -184
  120. package/docs/interfaces/labeldescription.html +0 -184
  121. package/docs/interfaces/labeled.html +0 -182
  122. package/docs/interfaces/labelelement.html +0 -251
  123. package/docs/interfaces/labelprops.html +0 -339
  124. package/docs/interfaces/layout.html +0 -253
  125. package/docs/interfaces/layoutprops.html +0 -359
  126. package/docs/interfaces/leafcondition.html +0 -209
  127. package/docs/interfaces/orcondition.html +0 -181
  128. package/docs/interfaces/ownpropsofcell.html +0 -321
  129. package/docs/interfaces/ownpropsofcontrol.html +0 -305
  130. package/docs/interfaces/ownpropsofenum.html +0 -161
  131. package/docs/interfaces/ownpropsofenumcell.html +0 -335
  132. package/docs/interfaces/ownpropsofjsonformsrenderer.html +0 -296
  133. package/docs/interfaces/ownpropsoflabel.html +0 -286
  134. package/docs/interfaces/ownpropsoflayout.html +0 -305
  135. package/docs/interfaces/ownpropsofmasterlistitem.html +0 -289
  136. package/docs/interfaces/ownpropsofrenderer.html +0 -292
  137. package/docs/interfaces/referenceschemamap.html +0 -138
  138. package/docs/interfaces/registerdefaultdataaction.html +0 -181
  139. package/docs/interfaces/removecellrendereraction.html +0 -181
  140. package/docs/interfaces/removerendereraction.html +0 -181
  141. package/docs/interfaces/removeuischemaaction.html +0 -167
  142. package/docs/interfaces/rendererprops.html +0 -331
  143. package/docs/interfaces/rule.html +0 -185
  144. package/docs/interfaces/schemabasedcondition.html +0 -202
  145. package/docs/interfaces/scopable.html +0 -171
  146. package/docs/interfaces/scoped.html +0 -183
  147. package/docs/interfaces/setajvaction.html +0 -167
  148. package/docs/interfaces/setconfigaction.html +0 -167
  149. package/docs/interfaces/setlocaleaction.html +0 -167
  150. package/docs/interfaces/setschemaaction.html +0 -167
  151. package/docs/interfaces/settranslatoraction.html +0 -181
  152. package/docs/interfaces/setuischemaaction.html +0 -167
  153. package/docs/interfaces/setvalidationmodeaction.html +0 -167
  154. package/docs/interfaces/statepropsofarraycontrol.html +0 -474
  155. package/docs/interfaces/statepropsofarraylayout.html +0 -461
  156. package/docs/interfaces/statepropsofcell.html +0 -408
  157. package/docs/interfaces/statepropsofcombinator.html +0 -449
  158. package/docs/interfaces/statepropsofcontrol.html +0 -451
  159. package/docs/interfaces/statepropsofcontrolwithdetail.html +0 -463
  160. package/docs/interfaces/statepropsofenumcell.html +0 -422
  161. package/docs/interfaces/statepropsofjsonformsrenderer.html +0 -324
  162. package/docs/interfaces/statepropsoflabel.html +0 -343
  163. package/docs/interfaces/statepropsoflayout.html +0 -369
  164. package/docs/interfaces/statepropsofmasteritem.html +0 -309
  165. package/docs/interfaces/statepropsofrenderer.html +0 -331
  166. package/docs/interfaces/statepropsofscopedrenderer.html +0 -391
  167. package/docs/interfaces/store.html +0 -386
  168. package/docs/interfaces/testercontext.html +0 -184
  169. package/docs/interfaces/uischemaelement.html +0 -225
  170. package/docs/interfaces/unregisterdefaultdataaction.html +0 -167
  171. package/docs/interfaces/updateaction.html +0 -202
  172. package/docs/interfaces/updatecoreaction.html +0 -209
  173. package/docs/interfaces/updateerrorsaction.html +0 -167
  174. package/docs/interfaces/updatei18naction.html +0 -195
  175. package/docs/interfaces/verticallayout.html +0 -234
  176. package/docs/interfaces/withclassname.html +0 -153
  177. package/rollup.config.js +0 -44
  178. package/stats.html +0 -3279
  179. package/test/actions/actions.test.ts +0 -93
  180. package/test/generators/schema.test.ts +0 -224
  181. package/test/generators/uischema.test.ts +0 -576
  182. package/test/i18n/i18nUtil.test.ts +0 -88
  183. package/test/reducers/core.test.ts +0 -1682
  184. package/test/reducers/uischemas.test.ts +0 -173
  185. package/test/testers.test.ts +0 -948
  186. package/test/util/array.test.ts +0 -28
  187. package/test/util/cell.test.ts +0 -354
  188. package/test/util/derivetype.test.ts +0 -101
  189. package/test/util/label.test.ts +0 -364
  190. package/test/util/path.test.ts +0 -259
  191. package/test/util/renderer.test.ts +0 -1830
  192. package/test/util/resolvers.test.ts +0 -157
  193. package/test/util/runtime.test.ts +0 -779
  194. package/tsconfig.json +0 -13
@@ -623,7 +623,7 @@ const getErrorsAt = (instancePath, schema, matchPath) => (state) => {
623
623
  return errorsAt(instancePath, schema, matchPath)(state.validationMode === 'ValidateAndHide' ? additionalErrors : [...errors, ...additionalErrors]);
624
624
  };
625
625
  const errorAt = (instancePath, schema) => getErrorsAt(instancePath, schema, path => path === instancePath);
626
- const subErrorsAt = (instancePath, schema) => getErrorsAt(instancePath, schema, path => path.startsWith(instancePath));
626
+ const subErrorsAt = (instancePath, schema) => getErrorsAt(instancePath, schema, path => path.startsWith(instancePath + '.'));
627
627
 
628
628
  const defaultDataReducer = (state = [], action) => {
629
629
  switch (action.type) {
@@ -905,7 +905,7 @@ const isObjectArrayWithNesting = (uischema, schema, context) => {
905
905
  if (val.$ref !== undefined) {
906
906
  return false;
907
907
  }
908
- if (val.anyOf || val.oneOf) {
908
+ if (val.anyOf || val.oneOf || val.allOf) {
909
909
  return true;
910
910
  }
911
911
  if (hasType(val, 'object')) {