@sumaris-net/ngx-components 1.12.10 → 1.12.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.
@@ -2957,6 +2957,21 @@
2957
2957
  },] },
2958
2958
  { type: i0.Injectable, args: [{ providedIn: 'root' },] }
2959
2959
  ];
2960
+ var StrIncludesPipe = /** @class */ (function () {
2961
+ function StrIncludesPipe() {
2962
+ }
2963
+ StrIncludesPipe.prototype.transform = function (value, searchString, position) {
2964
+ return (value === null || value === void 0 ? void 0 : value.includes(searchString, position)) || false;
2965
+ };
2966
+ return StrIncludesPipe;
2967
+ }());
2968
+ StrIncludesPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function StrIncludesPipe_Factory() { return new StrIncludesPipe(); }, token: StrIncludesPipe, providedIn: "root" });
2969
+ StrIncludesPipe.decorators = [
2970
+ { type: i0.Pipe, args: [{
2971
+ name: 'strIncludes'
2972
+ },] },
2973
+ { type: i0.Injectable, args: [{ providedIn: 'root' },] }
2974
+ ];
2960
2975
 
2961
2976
  var TranslateContextService = /** @class */ (function () {
2962
2977
  function TranslateContextService(translate) {
@@ -4387,21 +4402,51 @@
4387
4402
  { type: FormErrorTranslator },
4388
4403
  { type: i0.ChangeDetectorRef }
4389
4404
  ]; };
4390
- var FormControlGetPipe = /** @class */ (function () {
4391
- function FormControlGetPipe() {
4405
+ var FormGetPipe = /** @class */ (function () {
4406
+ function FormGetPipe() {
4392
4407
  }
4393
- FormControlGetPipe.prototype.transform = function (form, path) {
4408
+ FormGetPipe.prototype.transform = function (form, path) {
4394
4409
  return form.get(path);
4395
4410
  };
4396
- return FormControlGetPipe;
4411
+ return FormGetPipe;
4397
4412
  }());
4398
- FormControlGetPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function FormControlGetPipe_Factory() { return new FormControlGetPipe(); }, token: FormControlGetPipe, providedIn: "root" });
4399
- FormControlGetPipe.decorators = [
4413
+ FormGetPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function FormGetPipe_Factory() { return new FormGetPipe(); }, token: FormGetPipe, providedIn: "root" });
4414
+ FormGetPipe.decorators = [
4400
4415
  { type: i0.Pipe, args: [{
4401
4416
  name: 'formGet'
4402
4417
  },] },
4403
4418
  { type: i0.Injectable, args: [{ providedIn: 'root' },] }
4404
4419
  ];
4420
+ var FormGetControlPipe = /** @class */ (function () {
4421
+ function FormGetControlPipe() {
4422
+ }
4423
+ FormGetControlPipe.prototype.transform = function (form, path) {
4424
+ return form.get(path);
4425
+ };
4426
+ return FormGetControlPipe;
4427
+ }());
4428
+ FormGetControlPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function FormGetControlPipe_Factory() { return new FormGetControlPipe(); }, token: FormGetControlPipe, providedIn: "root" });
4429
+ FormGetControlPipe.decorators = [
4430
+ { type: i0.Pipe, args: [{
4431
+ name: 'formGetControl'
4432
+ },] },
4433
+ { type: i0.Injectable, args: [{ providedIn: 'root' },] }
4434
+ ];
4435
+ var FormGetArrayPipe = /** @class */ (function () {
4436
+ function FormGetArrayPipe() {
4437
+ }
4438
+ FormGetArrayPipe.prototype.transform = function (form, path) {
4439
+ return form.get(path);
4440
+ };
4441
+ return FormGetArrayPipe;
4442
+ }());
4443
+ FormGetArrayPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function FormGetArrayPipe_Factory() { return new FormGetArrayPipe(); }, token: FormGetArrayPipe, providedIn: "root" });
4444
+ FormGetArrayPipe.decorators = [
4445
+ { type: i0.Pipe, args: [{
4446
+ name: 'formGetArray'
4447
+ },] },
4448
+ { type: i0.Injectable, args: [{ providedIn: 'root' },] }
4449
+ ];
4405
4450
 
4406
4451
  var SharedPipesModule = /** @class */ (function () {
4407
4452
  function SharedPipesModule() {
@@ -4444,11 +4489,14 @@
4444
4489
  IsNotNilOrBlankPipe,
4445
4490
  ToStringPipe,
4446
4491
  StrLengthPipe,
4492
+ StrIncludesPipe,
4447
4493
  TranslateContextPipe,
4448
4494
  TranslatablePipe,
4449
4495
  NgInitDirective,
4450
4496
  FormErrorTranslatePipe,
4451
- FormControlGetPipe
4497
+ FormGetPipe,
4498
+ FormGetControlPipe,
4499
+ FormGetArrayPipe
4452
4500
  ],
4453
4501
  exports: [
4454
4502
  PropertyGetPipe,
@@ -4477,13 +4525,16 @@
4477
4525
  IsNotNilOrBlankPipe,
4478
4526
  ToStringPipe,
4479
4527
  StrLengthPipe,
4528
+ StrIncludesPipe,
4480
4529
  ArrayIncludesPipe,
4481
4530
  ArrayFilterPipe,
4482
4531
  TranslateContextPipe,
4483
4532
  TranslatablePipe,
4484
4533
  NgInitDirective,
4485
4534
  FormErrorTranslatePipe,
4486
- FormControlGetPipe
4535
+ FormGetPipe,
4536
+ FormGetControlPipe,
4537
+ FormGetArrayPipe
4487
4538
  ]
4488
4539
  },] }
4489
4540
  ];
@@ -30766,10 +30817,12 @@
30766
30817
  exports.FormArrayHelper = FormArrayHelper;
30767
30818
  exports.FormButtonsBarComponent = FormButtonsBarComponent;
30768
30819
  exports.FormButtonsBarToken = FormButtonsBarToken;
30769
- exports.FormControlGetPipe = FormControlGetPipe;
30770
30820
  exports.FormErrorTranslatePipe = FormErrorTranslatePipe;
30771
30821
  exports.FormErrorTranslator = FormErrorTranslator;
30772
30822
  exports.FormFieldValuesHolder = FormFieldValuesHolder;
30823
+ exports.FormGetArrayPipe = FormGetArrayPipe;
30824
+ exports.FormGetControlPipe = FormGetControlPipe;
30825
+ exports.FormGetPipe = FormGetPipe;
30773
30826
  exports.Fragments = Fragments;
30774
30827
  exports.GraphqlService = GraphqlService;
30775
30828
  exports.HAMMER_PRESS_TIME = HAMMER_PRESS_TIME;
@@ -30879,6 +30932,7 @@
30879
30932
  exports.StatusById = StatusById;
30880
30933
  exports.StatusIds = StatusIds;
30881
30934
  exports.StatusList = StatusList;
30935
+ exports.StrIncludesPipe = StrIncludesPipe;
30882
30936
  exports.StrLengthPipe = StrLengthPipe;
30883
30937
  exports.SwipeTestPage = SwipeTestPage;
30884
30938
  exports.TableSelectColumnsComponent = TableSelectColumnsComponent;