@sumaris-net/ngx-components 1.12.9 → 1.12.12

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.
@@ -4387,21 +4387,51 @@
4387
4387
  { type: FormErrorTranslator },
4388
4388
  { type: i0.ChangeDetectorRef }
4389
4389
  ]; };
4390
- var FormControlGetPipe = /** @class */ (function () {
4391
- function FormControlGetPipe() {
4390
+ var FormGetPipe = /** @class */ (function () {
4391
+ function FormGetPipe() {
4392
4392
  }
4393
- FormControlGetPipe.prototype.transform = function (form, path) {
4393
+ FormGetPipe.prototype.transform = function (form, path) {
4394
4394
  return form.get(path);
4395
4395
  };
4396
- return FormControlGetPipe;
4396
+ return FormGetPipe;
4397
4397
  }());
4398
- FormControlGetPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function FormControlGetPipe_Factory() { return new FormControlGetPipe(); }, token: FormControlGetPipe, providedIn: "root" });
4399
- FormControlGetPipe.decorators = [
4398
+ FormGetPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function FormGetPipe_Factory() { return new FormGetPipe(); }, token: FormGetPipe, providedIn: "root" });
4399
+ FormGetPipe.decorators = [
4400
4400
  { type: i0.Pipe, args: [{
4401
4401
  name: 'formGet'
4402
4402
  },] },
4403
4403
  { type: i0.Injectable, args: [{ providedIn: 'root' },] }
4404
4404
  ];
4405
+ var FormGetControlPipe = /** @class */ (function () {
4406
+ function FormGetControlPipe() {
4407
+ }
4408
+ FormGetControlPipe.prototype.transform = function (form, path) {
4409
+ return form.get(path);
4410
+ };
4411
+ return FormGetControlPipe;
4412
+ }());
4413
+ FormGetControlPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function FormGetControlPipe_Factory() { return new FormGetControlPipe(); }, token: FormGetControlPipe, providedIn: "root" });
4414
+ FormGetControlPipe.decorators = [
4415
+ { type: i0.Pipe, args: [{
4416
+ name: 'formGetControl'
4417
+ },] },
4418
+ { type: i0.Injectable, args: [{ providedIn: 'root' },] }
4419
+ ];
4420
+ var FormGetArrayPipe = /** @class */ (function () {
4421
+ function FormGetArrayPipe() {
4422
+ }
4423
+ FormGetArrayPipe.prototype.transform = function (form, path) {
4424
+ return form.get(path);
4425
+ };
4426
+ return FormGetArrayPipe;
4427
+ }());
4428
+ FormGetArrayPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function FormGetArrayPipe_Factory() { return new FormGetArrayPipe(); }, token: FormGetArrayPipe, providedIn: "root" });
4429
+ FormGetArrayPipe.decorators = [
4430
+ { type: i0.Pipe, args: [{
4431
+ name: 'formGetArray'
4432
+ },] },
4433
+ { type: i0.Injectable, args: [{ providedIn: 'root' },] }
4434
+ ];
4405
4435
 
4406
4436
  var SharedPipesModule = /** @class */ (function () {
4407
4437
  function SharedPipesModule() {
@@ -4448,7 +4478,9 @@
4448
4478
  TranslatablePipe,
4449
4479
  NgInitDirective,
4450
4480
  FormErrorTranslatePipe,
4451
- FormControlGetPipe
4481
+ FormGetPipe,
4482
+ FormGetControlPipe,
4483
+ FormGetArrayPipe
4452
4484
  ],
4453
4485
  exports: [
4454
4486
  PropertyGetPipe,
@@ -4483,7 +4515,9 @@
4483
4515
  TranslatablePipe,
4484
4516
  NgInitDirective,
4485
4517
  FormErrorTranslatePipe,
4486
- FormControlGetPipe
4518
+ FormGetPipe,
4519
+ FormGetControlPipe,
4520
+ FormGetArrayPipe
4487
4521
  ]
4488
4522
  },] }
4489
4523
  ];
@@ -25687,6 +25721,8 @@
25687
25721
  case 1:
25688
25722
  _e.sent();
25689
25723
  row = this.dataSource.getRow(id);
25724
+ if (!row)
25725
+ return [2 /*return*/, false];
25690
25726
  return [2 /*return*/, this.clickRow(null, row)];
25691
25727
  }
25692
25728
  });
@@ -25712,7 +25748,9 @@
25712
25748
  case 2:
25713
25749
  row = ((_e.sent()) || [])
25714
25750
  .find(function (row) { return _this.equals(row.currentData, data); });
25715
- return [2 /*return*/, row && this.clickRow(null, row)];
25751
+ if (!row)
25752
+ return [2 /*return*/, false];
25753
+ return [2 /*return*/, this.clickRow(null, row)];
25716
25754
  }
25717
25755
  });
25718
25756
  });
@@ -30762,10 +30800,12 @@
30762
30800
  exports.FormArrayHelper = FormArrayHelper;
30763
30801
  exports.FormButtonsBarComponent = FormButtonsBarComponent;
30764
30802
  exports.FormButtonsBarToken = FormButtonsBarToken;
30765
- exports.FormControlGetPipe = FormControlGetPipe;
30766
30803
  exports.FormErrorTranslatePipe = FormErrorTranslatePipe;
30767
30804
  exports.FormErrorTranslator = FormErrorTranslator;
30768
30805
  exports.FormFieldValuesHolder = FormFieldValuesHolder;
30806
+ exports.FormGetArrayPipe = FormGetArrayPipe;
30807
+ exports.FormGetControlPipe = FormGetControlPipe;
30808
+ exports.FormGetPipe = FormGetPipe;
30769
30809
  exports.Fragments = Fragments;
30770
30810
  exports.GraphqlService = GraphqlService;
30771
30811
  exports.HAMMER_PRESS_TIME = HAMMER_PRESS_TIME;