UNPKG

@obliczeniowo/elementary

Version:
40 lines (35 loc) 1.64 kB
import * as i0 from '@angular/core'; import { Pipe } from '@angular/core'; class TakePipe { transform(value, limit) { return value.slice(0, limit); } static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: TakePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: TakePipe, isStandalone: true, name: "oblTake" }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: TakePipe, decorators: [{ type: Pipe, args: [{ name: 'oblTake', standalone: true, }] }] }); class TakeFromToPipe { transform(value, start, end) { return value.slice(start, end); } static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: TakeFromToPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: TakeFromToPipe, isStandalone: true, name: "oblTakeFromTo" }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: TakeFromToPipe, decorators: [{ type: Pipe, args: [{ name: 'oblTakeFromTo', standalone: true, }] }] }); /** * Generated bundle index. Do not edit. */ export { TakeFromToPipe, TakePipe }; //# sourceMappingURL=obliczeniowo-elementary-array-pipes.mjs.map