@sumaris-net/ngx-components 0.17.0 → 0.17.1
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/ngx-sumaris-components.umd.js +6 -5
- package/bundles/ngx-sumaris-components.umd.js.map +1 -1
- package/bundles/ngx-sumaris-components.umd.min.js +1 -1
- package/bundles/ngx-sumaris-components.umd.min.js.map +1 -1
- package/esm2015/src/app/core/form/editor.class.js +7 -6
- package/fesm2015/ngx-sumaris-components.js +6 -5
- package/fesm2015/ngx-sumaris-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -24518,7 +24518,8 @@
|
|
|
24518
24518
|
});
|
|
24519
24519
|
Object.defineProperty(AppTabEditor.prototype, "dirty", {
|
|
24520
24520
|
get: function () {
|
|
24521
|
-
|
|
24521
|
+
var _a;
|
|
24522
|
+
return this._dirty || (((_a = this._children) === null || _a === void 0 ? void 0 : _a.findIndex(function (c) { return c.enabled && c.dirty; })) !== -1) || false;
|
|
24522
24523
|
},
|
|
24523
24524
|
enumerable: false,
|
|
24524
24525
|
configurable: true
|
|
@@ -24529,7 +24530,7 @@
|
|
|
24529
24530
|
*/
|
|
24530
24531
|
get: function () {
|
|
24531
24532
|
// Important: Should be not invalid AND not pending, so use '!valid' (DO NOT use 'invalid')
|
|
24532
|
-
return !this._children || this._children.
|
|
24533
|
+
return !this._children || this._children.findIndex(function (c) { return c.enabled && !c.valid; }) === -1;
|
|
24533
24534
|
},
|
|
24534
24535
|
enumerable: false,
|
|
24535
24536
|
configurable: true
|
|
@@ -24537,7 +24538,7 @@
|
|
|
24537
24538
|
Object.defineProperty(AppTabEditor.prototype, "invalid", {
|
|
24538
24539
|
get: function () {
|
|
24539
24540
|
var _a;
|
|
24540
|
-
return ((_a = this._children) === null || _a === void 0 ? void 0 : _a.
|
|
24541
|
+
return (((_a = this._children) === null || _a === void 0 ? void 0 : _a.findIndex(function (c) { return c.enabled && c.invalid; })) !== -1) || false;
|
|
24541
24542
|
},
|
|
24542
24543
|
enumerable: false,
|
|
24543
24544
|
configurable: true
|
|
@@ -24545,7 +24546,7 @@
|
|
|
24545
24546
|
Object.defineProperty(AppTabEditor.prototype, "pending", {
|
|
24546
24547
|
get: function () {
|
|
24547
24548
|
var _a;
|
|
24548
|
-
return ((_a = this._children) === null || _a === void 0 ? void 0 : _a.
|
|
24549
|
+
return (((_a = this._children) === null || _a === void 0 ? void 0 : _a.findIndex(function (c) { return c.enabled && c.pending; })) !== -1) || false;
|
|
24549
24550
|
},
|
|
24550
24551
|
enumerable: false,
|
|
24551
24552
|
configurable: true
|
|
@@ -24553,7 +24554,7 @@
|
|
|
24553
24554
|
Object.defineProperty(AppTabEditor.prototype, "loading", {
|
|
24554
24555
|
get: function () {
|
|
24555
24556
|
var _a;
|
|
24556
|
-
return this._loading || ((_a = this._children) === null || _a === void 0 ? void 0 : _a.
|
|
24557
|
+
return this._loading || (((_a = this._children) === null || _a === void 0 ? void 0 : _a.findIndex(function (c) { return c.enabled && c.loading; })) !== -1) || false;
|
|
24557
24558
|
},
|
|
24558
24559
|
enumerable: false,
|
|
24559
24560
|
configurable: true
|