@solidev/data 0.0.1-alpha.0 → 0.0.1-alpha.1
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/lib/dispedit/choice.pipe.mjs +40 -1
- package/esm2020/lib/dispedit/factor.pipe.mjs +33 -1
- package/esm2020/lib/dispedit/factorc.pipe.mjs +48 -1
- package/fesm2015/solidev-data.mjs +123 -1
- package/fesm2015/solidev-data.mjs.map +1 -1
- package/fesm2020/solidev-data.mjs +119 -1
- package/fesm2020/solidev-data.mjs.map +1 -1
- package/lib/dispedit/choice.pipe.d.ts +5 -0
- package/lib/dispedit/factor.pipe.d.ts +7 -0
- package/lib/dispedit/factorc.pipe.d.ts +8 -0
- package/package.json +1 -1
|
@@ -6,3 +6,8 @@ export declare class ChoicePipe<T extends DataModel> implements PipeTransform {
|
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChoicePipe<any>, never>;
|
|
7
7
|
static ɵpipe: i0.ɵɵPipeDeclaration<ChoicePipe<any>, "choice", true>;
|
|
8
8
|
}
|
|
9
|
+
export declare class PChoicePipe<T extends DataModel> implements PipeTransform {
|
|
10
|
+
transform(value: any, model: T, field: string, mode?: 'code' | 'desc' | 'both'): string;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PChoicePipe<any>, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PChoicePipe<any>, "pchoice", true>;
|
|
13
|
+
}
|
|
@@ -10,3 +10,10 @@ export declare class FactorPipe<T extends DataModel> implements PipeTransform {
|
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FactorPipe<any>, never>;
|
|
11
11
|
static ɵpipe: i0.ɵɵPipeDeclaration<FactorPipe<any>, "factor", true>;
|
|
12
12
|
}
|
|
13
|
+
export declare class PFactorPipe<T extends DataModel> implements PipeTransform {
|
|
14
|
+
private _locale;
|
|
15
|
+
constructor(_locale: string);
|
|
16
|
+
transform(value: number | string | null | undefined, model: T | null, field: string, digitsInfo?: string, locale?: string): string | null;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PFactorPipe<any>, never>;
|
|
18
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PFactorPipe<any>, "pfactor", true>;
|
|
19
|
+
}
|
|
@@ -9,3 +9,11 @@ export declare class FactorcPipe<T extends DataModel> implements PipeTransform {
|
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<FactorcPipe<any>, never>;
|
|
10
10
|
static ɵpipe: i0.ɵɵPipeDeclaration<FactorcPipe<any>, "factorc", true>;
|
|
11
11
|
}
|
|
12
|
+
export declare class PFactorcPipe<T extends DataModel> implements PipeTransform {
|
|
13
|
+
private _locale;
|
|
14
|
+
private _defaultCurrencyCode;
|
|
15
|
+
constructor(_locale: string, _defaultCurrencyCode?: string);
|
|
16
|
+
transform(value: number | string | undefined | null, model: T | null, field: string, currencyCode?: string, display?: 'code' | 'symbol' | 'symbol-narrow' | string, digitsInfo?: string, locale?: string): string | null;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PFactorcPipe<any>, never>;
|
|
18
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PFactorcPipe<any>, "pfactorc", true>;
|
|
19
|
+
}
|