ngx-smz-ui 3.1.14 → 3.1.15

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.
@@ -10251,14 +10251,19 @@
10251
10251
  }
10252
10252
 
10253
10253
  function convertFormFeature(entityName, store, entity, options) {
10254
- var e_1, _d, e_2, _e, e_3, _f, e_4, _g;
10255
10254
  if (entity === void 0) { entity = null; }
10256
10255
  if (options === void 0) { options = null; }
10257
- var _a, _b, _c;
10258
10256
  var state = store.selectSnapshot(function (x) { return x.database['uiDefinitions']; });
10259
10257
  var groups = entity != null ? lodashEs.cloneDeep(state.data[entityName].update) : lodashEs.cloneDeep(state.data[entityName].create);
10260
10258
  if (groups == null)
10261
10259
  throw new Error('UI definitions are empty. Were they manually loaded or set as required state?');
10260
+ return convertFormFeatureFromInputData(groups, entity, options, store);
10261
+ }
10262
+ function convertFormFeatureFromInputData(groups, entity, options, store) {
10263
+ var e_1, _d, e_2, _e, e_3, _f, e_4, _g;
10264
+ if (entity === void 0) { entity = null; }
10265
+ if (options === void 0) { options = null; }
10266
+ var _a, _b, _c;
10262
10267
  var form = {
10263
10268
  groups: [],
10264
10269
  behaviors: {}
@@ -22393,6 +22398,7 @@
22393
22398
  exports.capitalizeFirstLetter = capitalizeFirstLetter;
22394
22399
  exports.clearArray = clearArray;
22395
22400
  exports.convertFormFeature = convertFormFeature;
22401
+ exports.convertFormFeatureFromInputData = convertFormFeatureFromInputData;
22396
22402
  exports.count = count;
22397
22403
  exports.createRound = createRound;
22398
22404
  exports.deepClone = deepClone;