@ts-core/angular 19.0.13 → 19.0.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ts-core/angular",
3
- "version": "19.0.13",
3
+ "version": "19.0.15",
4
4
  "description": "Modules for frontend based on angular",
5
5
  "main": "public-api.js",
6
6
  "author": {
@@ -1,6 +1,7 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class CamelCasePipe implements PipeTransform {
4
+ static transform(value: any): string;
4
5
  transform(value: any): string;
5
6
  static ɵfac: i0.ɵɵFactoryDeclaration<CamelCasePipe, never>;
6
7
  static ɵpipe: i0.ɵɵPipeDeclaration<CamelCasePipe, "viCamelCase", false>;
@@ -3,6 +3,7 @@ import * as i0 from "@angular/core";
3
3
  export declare class FinancePipe implements PipeTransform {
4
4
  static DEFAULT_FORMAT: string;
5
5
  static format(value: number | string, format: string): string;
6
+ static transform(value: number | string, format?: string, isNeedPlus?: boolean): string;
6
7
  transform(value: number | string, format?: string, isNeedPlus?: boolean): string;
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<FinancePipe, never>;
8
9
  static ɵpipe: i0.ɵɵPipeDeclaration<FinancePipe, "viFinance", false>;
@@ -6,6 +6,7 @@ export declare class MomentDateAdaptivePipe implements PipeTransform {
6
6
  static DAY_FORMAT: string;
7
7
  static MONTH_FORMAT: string;
8
8
  static YEAR_FORMAT: string;
9
+ static transform(value: Date | Moment): string;
9
10
  transform(value: Date | Moment): string;
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<MomentDateAdaptivePipe, never>;
11
12
  static ɵpipe: i0.ɵɵPipeDeclaration<MomentDateAdaptivePipe, "viMomentAdaptiveDate", false>;
@@ -2,6 +2,7 @@ import { PipeTransform } from '@angular/core';
2
2
  import { Moment } from 'moment';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class MomentDateFromNowPipe implements PipeTransform {
5
+ static transform(value: Date | Moment, format?: string): string;
5
6
  transform(value: Date | Moment, format?: string): string;
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<MomentDateFromNowPipe, never>;
7
8
  static ɵpipe: i0.ɵɵPipeDeclaration<MomentDateFromNowPipe, "viMomentDateFromNow", false>;
@@ -6,6 +6,7 @@ export declare class MomentDatePipe implements PipeTransform {
6
6
  static parseMoment(value: MomentAvailableType, format?: string): Moment;
7
7
  static fromNow(value: MomentAvailableType, format?: string): string;
8
8
  static toConditionValue(value: string | Date): string;
9
+ static transform(value: MomentAvailableType, format?: string): string;
9
10
  transform(value: MomentAvailableType, format?: string): string;
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<MomentDatePipe, never>;
11
12
  static ɵpipe: i0.ɵɵPipeDeclaration<MomentDatePipe, "viMomentDate", false>;
@@ -2,6 +2,7 @@ import { PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class MomentTimePipe implements PipeTransform {
4
4
  static DEFAULT_FORMAT: string;
5
+ static transform(timeMilliseconds: number, format?: string): string;
5
6
  transform(timeMilliseconds: number, format?: string): string;
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<MomentTimePipe, never>;
7
8
  static ɵpipe: i0.ɵɵPipeDeclaration<MomentTimePipe, "viMomentTime", false>;
@@ -2,8 +2,8 @@ import { PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class PrettifyPipe implements PipeTransform {
4
4
  static EMPTY_SYMBOL: string;
5
+ static transform(value: any): string;
5
6
  transform(value: any): string;
6
- constructor();
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<PrettifyPipe, never>;
8
8
  static ɵpipe: i0.ɵɵPipeDeclaration<PrettifyPipe, "viPrettify", false>;
9
9
  }
@@ -1,6 +1,7 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class StartCasePipe implements PipeTransform {
4
+ static transform(value: any): string;
4
5
  transform(value: any): string;
5
6
  static ɵfac: i0.ɵɵFactoryDeclaration<StartCasePipe, never>;
6
7
  static ɵpipe: i0.ɵɵPipeDeclaration<StartCasePipe, "viStartCase", false>;
@@ -2,6 +2,7 @@ import { PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class TimePipe implements PipeTransform {
4
4
  static DEFAULT_FORMAT: string;
5
+ static transform(milliseconds: number | string, format?: string): string;
5
6
  transform(milliseconds: number | string, format?: string): string;
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TimePipe, never>;
7
8
  static ɵpipe: i0.ɵɵPipeDeclaration<TimePipe, "viTime", false>;
@@ -1,6 +1,7 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class TruncatePipe implements PipeTransform {
4
+ static transform(value: any, maxLength?: number): string;
4
5
  transform(value: any, maxLength?: number): string;
5
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TruncatePipe, never>;
6
7
  static ɵpipe: i0.ɵɵPipeDeclaration<TruncatePipe, "viTruncate", false>;
@@ -1,7 +1,10 @@
1
1
  import { ClassType } from '@ts-core/common';
2
2
  import { JSONValueStorage } from './JSONValueStorage';
3
+ import { LocalStorageService } from './LocalStorageService';
4
+ import { CookieService } from '../cookie/CookieService';
3
5
  export declare class ClassTypeValueStorage<T> extends JSONValueStorage<T> {
4
- classType: ClassType<T>;
6
+ protected classType: ClassType<T>;
7
+ constructor(name: string, classType: ClassType<T>, storage: LocalStorageService, cookies: CookieService);
5
8
  protected serialize(value: string): T;
6
9
  protected deserialize(value: T): string;
7
10
  }