@mtna/web-form-angular 1.0.6-SNAPSHOT.6 → 1.0.6-SNAPSHOT.7

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.
@@ -8799,11 +8799,11 @@
8799
8799
  return _this;
8800
8800
  }
8801
8801
  MtnaWfRepeatableItemContainerComponent.prototype.addItem = function () {
8802
- this.manager.changeMtnaFormItem(new webFormTs.MtnaWfFormItemChange(this.item.repeatableTemplateId, this.item.repeatableTemplateId, this.parentIds, 'ADD'));
8802
+ this.manager.changeMtnaFormItem(new webFormTs.MtnaWfFormItemChange(this.item.repeatableTemplateId, this.item.repeatableTemplateId, __spreadArray(__spreadArray([], __read(this.parentIds)), [this.item.instanceId]), 'ADD'));
8803
8803
  };
8804
8804
  MtnaWfRepeatableItemContainerComponent.prototype.removeItem = function (item) {
8805
8805
  var conditionChanges = this.manager.generateConditionChangeArray(item, 'REMOVE');
8806
- this.manager.changeMtnaFormItem(new webFormTs.MtnaWfFormItemChange(item.instanceId, item.templateId, this.parentIds, 'REMOVE', conditionChanges));
8806
+ this.manager.changeMtnaFormItem(new webFormTs.MtnaWfFormItemChange(item.instanceId, item.templateId, __spreadArray(__spreadArray([], __read(this.parentIds)), [this.item.instanceId]), 'REMOVE', conditionChanges));
8807
8807
  };
8808
8808
  return MtnaWfRepeatableItemContainerComponent;
8809
8809
  }(MtnaWfBaseParentValueItem));