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

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';
@@ -2742,9 +2742,9 @@ declare class FormTextareaComponent implements ControlValueAccessor {
2742
2742
  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
2743
  }
2744
2744
 
2745
- declare class NumberInputComponent implements ControlValueAccessor, OnInit, OnChanges {
2746
- ngControl: NgControl;
2745
+ declare class NumberInputComponent implements ControlValueAccessor, Validator, OnChanges {
2747
2746
  transloco: TranslocoService;
2747
+ private injector;
2748
2748
  label: string;
2749
2749
  name: string;
2750
2750
  id: string;
@@ -2759,9 +2759,11 @@ declare class NumberInputComponent implements ControlValueAccessor, OnInit, OnCh
2759
2759
  disabled: boolean;
2760
2760
  onChange: any;
2761
2761
  onTouched: any;
2762
- constructor(ngControl: NgControl, transloco: TranslocoService);
2763
- ngOnInit(): void;
2762
+ private _ngControl;
2763
+ constructor(transloco: TranslocoService, injector: Injector);
2764
+ get ngControl(): NgControl | null;
2764
2765
  ngOnChanges(changes: SimpleChanges): void;
2766
+ validate(control: AbstractControl): ValidationErrors | null;
2765
2767
  writeValue(value: any): void;
2766
2768
  registerOnChange(fn: any): void;
2767
2769
  registerOnTouched(fn: any): void;
@@ -2779,7 +2781,7 @@ declare class NumberInputComponent implements ControlValueAccessor, OnInit, OnCh
2779
2781
  private round;
2780
2782
  private minValidator;
2781
2783
  private maxValidator;
2782
- static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent, [{ optional: true; self: true; }, null]>;
2784
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent, never>;
2783
2785
  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
2786
  }
2785
2787
 
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.118",
4
4
  "description": "Angular 20 standalone component library for Tickera backoffice system",
5
5
  "license": "MIT",
6
6
  "repository": {