@osovitny/anatoly 2.0.32 → 2.0.33
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/osovitny-anatoly.umd.js +4 -0
- package/bundles/osovitny-anatoly.umd.js.map +1 -1
- package/bundles/osovitny-anatoly.umd.min.js +1 -1
- package/bundles/osovitny-anatoly.umd.min.js.map +1 -1
- package/esm2015/lib/ui/components/base-edit.component.js +2 -2
- package/esm2015/lib/ui/components/base.component.js +9 -2
- package/fesm2015/osovitny-anatoly.js +6 -0
- package/fesm2015/osovitny-anatoly.js.map +1 -1
- package/lib/ui/components/base.component.d.ts +5 -1
- package/osovitny-anatoly.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2303,6 +2303,7 @@
|
|
|
2303
2303
|
*/
|
|
2304
2304
|
var BaseComponent = /** @class */ (function () {
|
|
2305
2305
|
function BaseComponent() {
|
|
2306
|
+
this.subs = new Subs();
|
|
2306
2307
|
}
|
|
2307
2308
|
BaseComponent.prototype.getQSId = function () {
|
|
2308
2309
|
var id = Utils.getValueByNameInQS("id");
|
|
@@ -2310,6 +2311,9 @@
|
|
|
2310
2311
|
return null;
|
|
2311
2312
|
return id;
|
|
2312
2313
|
};
|
|
2314
|
+
BaseComponent.prototype.ngOnDestroy = function () {
|
|
2315
|
+
this.subs.unsubscribe();
|
|
2316
|
+
};
|
|
2313
2317
|
return BaseComponent;
|
|
2314
2318
|
}());
|
|
2315
2319
|
|