@sumaris-net/ngx-components 2.4.101 → 2.4.102
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/esm2020/public_api.mjs +2 -1
- package/esm2020/src/app/shared/pipes/arrays.pipe.mjs +9 -9
- package/esm2020/src/app/shared/pipes/pipes.module.mjs +18 -5
- package/esm2020/src/app/shared/pipes/types.pipes.mjs +45 -0
- package/fesm2015/sumaris-net.ngx-components.mjs +67 -13
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +67 -13
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
- package/src/app/shared/pipes/pipes.module.d.ts +5 -4
- package/src/app/shared/pipes/types.pipes.d.ts +18 -0
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -83,6 +83,7 @@ export * from './src/app/shared/pipes/translate-context.pipe';
|
|
|
83
83
|
export * from './src/app/shared/pipes/ng-init.pipe';
|
|
84
84
|
export * from './src/app/shared/pipes/form.pipes';
|
|
85
85
|
export * from './src/app/shared/pipes/colors.pipe';
|
|
86
|
+
export * from './src/app/shared/pipes/types.pipes';
|
|
86
87
|
export * from './src/app/shared/audio/audio';
|
|
87
88
|
export * from './src/app/shared/file/file.service';
|
|
88
89
|
export * from './src/app/shared/image/image.service';
|
|
@@ -16,11 +16,12 @@ import * as i14 from "./translate-context.pipe";
|
|
|
16
16
|
import * as i15 from "./ng-init.pipe";
|
|
17
17
|
import * as i16 from "./form.pipes";
|
|
18
18
|
import * as i17 from "./colors.pipe";
|
|
19
|
-
import * as i18 from "
|
|
20
|
-
import * as i19 from "@
|
|
21
|
-
import * as i20 from "@
|
|
19
|
+
import * as i18 from "./types.pipes";
|
|
20
|
+
import * as i19 from "@angular/common";
|
|
21
|
+
import * as i20 from "@ionic/angular";
|
|
22
|
+
import * as i21 from "@ngx-translate/core";
|
|
22
23
|
export declare class SharedPipesModule {
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedPipesModule, never>;
|
|
24
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipesModule, [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i2.DateFormatPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i5.DateFromNowPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i11.ArrayJoinPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.IsNotNilOrNaNPipe, typeof i13.IsNotNilPipe, typeof i13.ToStringPipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i14.TranslateContextPipe, typeof i14.TranslatablePipe, typeof i15.NgInitDirective, typeof i16.FormErrorTranslatePipe, typeof i16.FormGetPipe, typeof i16.FormGetControlPipe, typeof i16.FormGetArrayPipe, typeof i16.FormGetGroupPipe, typeof i16.FormGetValuePipe, typeof i1.PropertyFormatPipe, typeof i17.MatColorPipe], [typeof
|
|
25
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipesModule, [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i2.DateFormatPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i5.DateFromNowPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i11.ArrayJoinPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.IsNotNilOrNaNPipe, typeof i13.IsNotNilPipe, typeof i13.ToStringPipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i14.TranslateContextPipe, typeof i14.TranslatablePipe, typeof i15.NgInitDirective, typeof i16.FormErrorTranslatePipe, typeof i16.FormGetPipe, typeof i16.FormGetControlPipe, typeof i16.FormGetArrayPipe, typeof i16.FormGetGroupPipe, typeof i16.FormGetValuePipe, typeof i1.PropertyFormatPipe, typeof i17.MatColorPipe, typeof i18.AsAnyPipe, typeof i18.AsArrayPipe, typeof i18.AsObservablePipe], [typeof i19.CommonModule, typeof i20.IonicModule, typeof i21.TranslateModule], [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i2.DateFormatPipe, typeof i5.DateFromNowPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayJoinPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.IsNotNilOrNaNPipe, typeof i13.IsNotNilPipe, typeof i13.ToStringPipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i14.TranslateContextPipe, typeof i14.TranslatablePipe, typeof i15.NgInitDirective, typeof i16.FormErrorTranslatePipe, typeof i16.FormGetPipe, typeof i16.FormGetControlPipe, typeof i16.FormGetArrayPipe, typeof i16.FormGetGroupPipe, typeof i16.FormGetValuePipe, typeof i17.MatColorPipe, typeof i18.AsAnyPipe, typeof i18.AsArrayPipe, typeof i18.AsObservablePipe]>;
|
|
25
26
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedPipesModule>;
|
|
26
27
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AsAnyPipe implements PipeTransform {
|
|
5
|
+
transform<T = any>(value: unknown | any): T | null;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AsAnyPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AsAnyPipe, "asAny", false>;
|
|
8
|
+
}
|
|
9
|
+
export declare class AsArrayPipe implements PipeTransform {
|
|
10
|
+
transform<T = any>(value: unknown): T[] | null;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AsArrayPipe, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AsArrayPipe, "asArray", false>;
|
|
13
|
+
}
|
|
14
|
+
export declare class AsObservablePipe implements PipeTransform {
|
|
15
|
+
transform<T = any>(value: unknown): Observable<T> | null;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AsObservablePipe, never>;
|
|
17
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AsObservablePipe, "asObservable", false>;
|
|
18
|
+
}
|