@sumaris-net/ngx-components 1.23.53 → 1.23.54
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/sumaris-net.ngx-components.umd.js +25 -21
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/core/form/editor.class.js +2 -2
- package/esm2015/src/app/core/form/form.class.js +2 -2
- package/esm2015/src/app/core/table/table.class.js +4 -12
- package/fesm2015/sumaris-net.ngx-components.js +5 -13
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/core/form/editor.class.d.ts +1 -1
- package/src/app/core/form/form.class.d.ts +1 -1
- package/src/app/core/table/table.class.d.ts +1 -1
- package/sumaris-net.ngx-components.metadata.json +1 -1
|
@@ -20458,10 +20458,14 @@
|
|
|
20458
20458
|
this.markForCheck();
|
|
20459
20459
|
}
|
|
20460
20460
|
};
|
|
20461
|
-
AppForm.prototype
|
|
20462
|
-
|
|
20463
|
-
|
|
20464
|
-
|
|
20461
|
+
Object.defineProperty(AppForm.prototype, "destroyed", {
|
|
20462
|
+
get: function () {
|
|
20463
|
+
var _a;
|
|
20464
|
+
return ((_a = this.destroySubject) === null || _a === void 0 ? void 0 : _a.closed) !== false;
|
|
20465
|
+
},
|
|
20466
|
+
enumerable: false,
|
|
20467
|
+
configurable: true
|
|
20468
|
+
});
|
|
20465
20469
|
Object.defineProperty(AppForm.prototype, "form", {
|
|
20466
20470
|
get: function () {
|
|
20467
20471
|
return this._form;
|
|
@@ -26969,10 +26973,14 @@
|
|
|
26969
26973
|
enumerable: false,
|
|
26970
26974
|
configurable: true
|
|
26971
26975
|
});
|
|
26972
|
-
AppTable.prototype
|
|
26973
|
-
|
|
26974
|
-
|
|
26975
|
-
|
|
26976
|
+
Object.defineProperty(AppTable.prototype, "destroyed", {
|
|
26977
|
+
get: function () {
|
|
26978
|
+
var _a;
|
|
26979
|
+
return ((_a = this.destroySubject) === null || _a === void 0 ? void 0 : _a.closed) !== false;
|
|
26980
|
+
},
|
|
26981
|
+
enumerable: false,
|
|
26982
|
+
configurable: true
|
|
26983
|
+
});
|
|
26976
26984
|
AppTable.prototype.ngOnInit = function () {
|
|
26977
26985
|
var _this = this;
|
|
26978
26986
|
var _a;
|
|
@@ -27013,15 +27021,7 @@
|
|
|
27013
27021
|
// DEBUG
|
|
27014
27022
|
//tap(() => console.debug("Propagate row's dirty to table..."))
|
|
27015
27023
|
// Stop if next another row, or destroying
|
|
27016
|
-
operators.takeUntil(
|
|
27017
|
-
_this.onStartEditingRow,
|
|
27018
|
-
_this.destroySubject
|
|
27019
|
-
]))
|
|
27020
|
-
// DEBUG
|
|
27021
|
-
//.pipe(
|
|
27022
|
-
// tap(() => console.debug('TODO stopping previous row listener'))
|
|
27023
|
-
//)
|
|
27024
|
-
); }))
|
|
27024
|
+
operators.takeUntil(_this.onStartEditingRow), operators.takeUntil(_this.destroySubject)); }))
|
|
27025
27025
|
.subscribe(function () { return _this.markAsDirty(); }));
|
|
27026
27026
|
// Call datasource refresh, on each refresh events
|
|
27027
27027
|
this.registerSubscription(this.onRefresh
|
|
@@ -28620,10 +28620,14 @@
|
|
|
28620
28620
|
enumerable: false,
|
|
28621
28621
|
configurable: true
|
|
28622
28622
|
});
|
|
28623
|
-
AppEditor.prototype
|
|
28624
|
-
|
|
28625
|
-
|
|
28626
|
-
|
|
28623
|
+
Object.defineProperty(AppEditor.prototype, "destroyed", {
|
|
28624
|
+
get: function () {
|
|
28625
|
+
var _a;
|
|
28626
|
+
return ((_a = this.destroySubject) === null || _a === void 0 ? void 0 : _a.closed) !== false;
|
|
28627
|
+
},
|
|
28628
|
+
enumerable: false,
|
|
28629
|
+
configurable: true
|
|
28630
|
+
});
|
|
28627
28631
|
Object.defineProperty(AppEditor.prototype, "tables", {
|
|
28628
28632
|
get: function () {
|
|
28629
28633
|
return this._children && this._children.filter(function (c) { return c instanceof AppTable; });
|