tickera-angular-components 0.0.1-dev.117 → 0.0.1-dev.119

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/index.d.ts CHANGED
@@ -7,7 +7,7 @@ import * as rxjs from 'rxjs';
7
7
  import { Observable, Subject } from 'rxjs';
8
8
  import { ShapeConfig, Shape } from 'konva/lib/Shape';
9
9
  import { Context } from 'konva/lib/Context';
10
- import { ValidatorFn, FormGroup, FormBuilder, ControlValueAccessor, NgControl, Validator, AbstractControl, FormControl } from '@angular/forms';
10
+ import { ValidatorFn, FormGroup, FormBuilder, ControlValueAccessor, NgControl, Validator, AbstractControl, ValidationErrors, FormControl } from '@angular/forms';
11
11
  import { HttpClient, HttpInterceptorFn } from '@angular/common/http';
12
12
  import { Stage } from 'konva/lib/Stage';
13
13
  import { Toolbar, Editor } from 'ngx-editor';
@@ -629,6 +629,8 @@ declare enum CouponStatus {
629
629
  declare enum CorporateBondStatus {
630
630
  ACTIVE = "ACTIVE",
631
631
  INACTIVE = "INACTIVE",
632
+ PENDING = "PENDING",
633
+ PAYMENT_FAILED = "PAYMENT_FAILED",
632
634
  EXPIRED = "EXPIRED",
633
635
  CONSUMED = "CONSUMED"
634
636
  }
@@ -2742,9 +2744,9 @@ declare class FormTextareaComponent implements ControlValueAccessor {
2742
2744
  static ɵcmp: i0.ɵɵComponentDeclaration<FormTextareaComponent, "form-textarea", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; }, {}, never, never, true, never>;
2743
2745
  }
2744
2746
 
2745
- declare class NumberInputComponent implements ControlValueAccessor, OnInit, OnChanges {
2746
- ngControl: NgControl;
2747
+ declare class NumberInputComponent implements ControlValueAccessor, Validator, OnChanges {
2747
2748
  transloco: TranslocoService;
2749
+ private injector;
2748
2750
  label: string;
2749
2751
  name: string;
2750
2752
  id: string;
@@ -2759,9 +2761,11 @@ declare class NumberInputComponent implements ControlValueAccessor, OnInit, OnCh
2759
2761
  disabled: boolean;
2760
2762
  onChange: any;
2761
2763
  onTouched: any;
2762
- constructor(ngControl: NgControl, transloco: TranslocoService);
2763
- ngOnInit(): void;
2764
+ private _ngControl;
2765
+ constructor(transloco: TranslocoService, injector: Injector);
2766
+ get ngControl(): NgControl | null;
2764
2767
  ngOnChanges(changes: SimpleChanges): void;
2768
+ validate(control: AbstractControl): ValidationErrors | null;
2765
2769
  writeValue(value: any): void;
2766
2770
  registerOnChange(fn: any): void;
2767
2771
  registerOnTouched(fn: any): void;
@@ -2779,7 +2783,7 @@ declare class NumberInputComponent implements ControlValueAccessor, OnInit, OnCh
2779
2783
  private round;
2780
2784
  private minValidator;
2781
2785
  private maxValidator;
2782
- static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent, [{ optional: true; self: true; }, null]>;
2786
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent, never>;
2783
2787
  static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent, "number-input", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; }, {}, never, never, true, never>;
2784
2788
  }
2785
2789
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tickera-angular-components",
3
- "version": "0.0.1-dev.117",
3
+ "version": "0.0.1-dev.119",
4
4
  "description": "Angular 20 standalone component library for Tickera backoffice system",
5
5
  "license": "MIT",
6
6
  "repository": {