@churchillliving/se-ui-toolkit 6.53.387 → 6.53.388
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/churchillliving-se-ui-toolkit.umd.js +5 -1
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/churchillliving-se-ui-toolkit.metadata.json +1 -1
- package/esm2015/lib/components/base/form/form.component.js +6 -2
- package/fesm2015/churchillliving-se-ui-toolkit.js +5 -1
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/lib/components/base/form/form.component.d.ts +3 -0
- package/package.json +1 -1
|
@@ -7199,12 +7199,16 @@
|
|
|
7199
7199
|
if (event === void 0) { event = false; }
|
|
7200
7200
|
this.formService.fieldFocusedOut = event;
|
|
7201
7201
|
};
|
|
7202
|
+
FormComponent.prototype.ngOnDestroy = function () {
|
|
7203
|
+
var _a;
|
|
7204
|
+
(_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
7205
|
+
};
|
|
7202
7206
|
/**
|
|
7203
7207
|
* Listens any change in Dynamic Form component State
|
|
7204
7208
|
*/
|
|
7205
7209
|
FormComponent.prototype.onDynamicFormStateChange = function () {
|
|
7206
7210
|
var _this = this;
|
|
7207
|
-
onDynamicFormStateChange().subscribe(function (response) {
|
|
7211
|
+
this.subscription = onDynamicFormStateChange().subscribe(function (response) {
|
|
7208
7212
|
var _a;
|
|
7209
7213
|
if (response.id && response.data) {
|
|
7210
7214
|
var componentRefObj_1 = _this.componentsList.find(function (x) { return x.name === response.id; });
|