@sumaris-net/ngx-components 1.12.6 → 1.12.8
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 +21 -3
- 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/doc/changelog.md +3 -0
- package/esm2015/src/app/core/table/table.class.js +2 -2
- package/esm2015/src/app/shared/forms.js +1 -1
- package/esm2015/src/app/shared/pipes/form.pipes.js +15 -2
- package/esm2015/src/app/shared/pipes/pipes.module.js +6 -4
- package/fesm2015/sumaris-net.ngx-components.js +18 -4
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/pipes/form.pipes.d.ts +4 -1
- package/sumaris-net.ngx-components.metadata.json +1 -1
|
@@ -4386,6 +4386,21 @@
|
|
|
4386
4386
|
{ type: FormErrorTranslator },
|
|
4387
4387
|
{ type: i0.ChangeDetectorRef }
|
|
4388
4388
|
]; };
|
|
4389
|
+
var FormControlGetPipe = /** @class */ (function () {
|
|
4390
|
+
function FormControlGetPipe() {
|
|
4391
|
+
}
|
|
4392
|
+
FormControlGetPipe.prototype.transform = function (form, path) {
|
|
4393
|
+
return form.get(path);
|
|
4394
|
+
};
|
|
4395
|
+
return FormControlGetPipe;
|
|
4396
|
+
}());
|
|
4397
|
+
FormControlGetPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function FormControlGetPipe_Factory() { return new FormControlGetPipe(); }, token: FormControlGetPipe, providedIn: "root" });
|
|
4398
|
+
FormControlGetPipe.decorators = [
|
|
4399
|
+
{ type: i0.Pipe, args: [{
|
|
4400
|
+
name: 'formGet'
|
|
4401
|
+
},] },
|
|
4402
|
+
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
4403
|
+
];
|
|
4389
4404
|
|
|
4390
4405
|
var SharedPipesModule = /** @class */ (function () {
|
|
4391
4406
|
function SharedPipesModule() {
|
|
@@ -4431,7 +4446,8 @@
|
|
|
4431
4446
|
TranslateContextPipe,
|
|
4432
4447
|
TranslatablePipe,
|
|
4433
4448
|
NgInitDirective,
|
|
4434
|
-
FormErrorTranslatePipe
|
|
4449
|
+
FormErrorTranslatePipe,
|
|
4450
|
+
FormControlGetPipe
|
|
4435
4451
|
],
|
|
4436
4452
|
exports: [
|
|
4437
4453
|
PropertyGetPipe,
|
|
@@ -4465,7 +4481,8 @@
|
|
|
4465
4481
|
TranslateContextPipe,
|
|
4466
4482
|
TranslatablePipe,
|
|
4467
4483
|
NgInitDirective,
|
|
4468
|
-
FormErrorTranslatePipe
|
|
4484
|
+
FormErrorTranslatePipe,
|
|
4485
|
+
FormControlGetPipe
|
|
4469
4486
|
]
|
|
4470
4487
|
},] }
|
|
4471
4488
|
];
|
|
@@ -25576,7 +25593,7 @@
|
|
|
25576
25593
|
event === null || event === void 0 ? void 0 : event.preventDefault();
|
|
25577
25594
|
if (!this._enabled || isEmptyArray(rows))
|
|
25578
25595
|
return [2 /*return*/, 0]; // Skip is disabled, or no rows to delete
|
|
25579
|
-
if (this.loading && (!opts || opts.skipIfLoading !==
|
|
25596
|
+
if (this.loading && (!opts || opts.skipIfLoading !== false)) {
|
|
25580
25597
|
console.warn('[app-table] Skip deleteRows() because table is busy (loading). Use opts.skipLoading = false to force deletion');
|
|
25581
25598
|
return [2 /*return*/, 0]; // Skip if loading
|
|
25582
25599
|
}
|
|
@@ -30744,6 +30761,7 @@
|
|
|
30744
30761
|
exports.FormArrayHelper = FormArrayHelper;
|
|
30745
30762
|
exports.FormButtonsBarComponent = FormButtonsBarComponent;
|
|
30746
30763
|
exports.FormButtonsBarToken = FormButtonsBarToken;
|
|
30764
|
+
exports.FormControlGetPipe = FormControlGetPipe;
|
|
30747
30765
|
exports.FormErrorTranslatePipe = FormErrorTranslatePipe;
|
|
30748
30766
|
exports.FormErrorTranslator = FormErrorTranslator;
|
|
30749
30767
|
exports.FormFieldValuesHolder = FormFieldValuesHolder;
|