@sumaris-net/ngx-components 0.27.9 → 0.27.13
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 +13 -4
- 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/form.class.js +4 -1
- package/esm2015/src/app/core/table/table.class.js +6 -4
- package/esm2015/src/app/shared/pipes/arrays.pipe.js +2 -2
- package/fesm2015/sumaris-net.ngx-components.js +9 -4
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/core/form/form.class.d.ts +1 -0
- package/src/app/core/table/table.class.d.ts +1 -1
- package/src/app/shared/pipes/arrays.pipe.d.ts +6 -6
- package/sumaris-net.ngx-components.metadata.json +1 -1
|
@@ -2654,7 +2654,7 @@
|
|
|
2654
2654
|
function ArrayIncludesPipe() {
|
|
2655
2655
|
}
|
|
2656
2656
|
ArrayIncludesPipe.prototype.transform = function (val, args) {
|
|
2657
|
-
return val && val.includes(args);
|
|
2657
|
+
return val && val.includes(args) || false;
|
|
2658
2658
|
};
|
|
2659
2659
|
return ArrayIncludesPipe;
|
|
2660
2660
|
}());
|
|
@@ -19062,6 +19062,13 @@
|
|
|
19062
19062
|
});
|
|
19063
19063
|
this.autocompleteFields = this.autocompleteHelper.fields;
|
|
19064
19064
|
}
|
|
19065
|
+
Object.defineProperty(AppForm.prototype, "_ready", {
|
|
19066
|
+
get: function () {
|
|
19067
|
+
return this._$ready.value == true;
|
|
19068
|
+
},
|
|
19069
|
+
enumerable: false,
|
|
19070
|
+
configurable: true
|
|
19071
|
+
});
|
|
19065
19072
|
Object.defineProperty(AppForm.prototype, "value", {
|
|
19066
19073
|
get: function () {
|
|
19067
19074
|
return this.form.value;
|
|
@@ -23791,6 +23798,7 @@
|
|
|
23791
23798
|
};
|
|
23792
23799
|
AppTable.prototype.markAsSaving = function (opts) {
|
|
23793
23800
|
if (this.savingSubject.value !== true) {
|
|
23801
|
+
this.focusColumn = undefined; // unselect focus column
|
|
23794
23802
|
this.savingSubject.next(true);
|
|
23795
23803
|
if (!opts || opts.emitEvent !== false) {
|
|
23796
23804
|
this.markForCheck();
|
|
@@ -23819,10 +23827,11 @@
|
|
|
23819
23827
|
this.markAsDirty(opts);
|
|
23820
23828
|
};
|
|
23821
23829
|
AppTable.prototype.markAsReady = function (opts) {
|
|
23822
|
-
if (this.readySubject.value !==
|
|
23830
|
+
if (this.readySubject.value !== true) {
|
|
23823
23831
|
this.readySubject.next(false);
|
|
23824
|
-
|
|
23825
|
-
|
|
23832
|
+
// If subclasses implements OnReady
|
|
23833
|
+
if (typeof this['ngOnReady'] === 'function') {
|
|
23834
|
+
this.ngOnReady();
|
|
23826
23835
|
}
|
|
23827
23836
|
}
|
|
23828
23837
|
};
|