@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.
- package/bundles/mtna-web-form-angular.umd.js +2 -2
- package/bundles/mtna-web-form-angular.umd.js.map +1 -1
- package/esm2015/lib/components/form-item-impl/repeatable-item-container/repeatable-item-container.component.js +3 -3
- package/fesm2015/mtna-web-form-angular.js +2 -2
- package/fesm2015/mtna-web-form-angular.js.map +1 -1
- package/package.json +1 -1
|
@@ -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));
|