ca-components 1.0.89 → 1.0.91

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.
@@ -5,12 +5,14 @@ import { InputChangeValue, InputSvgRoutes } from '../utils';
5
5
  import { LabelColor } from '../models';
6
6
  import { InputCommandsType, InputStringEnum } from '../enums';
7
7
  import { DropdownTemplateTypeEnum } from '../../ca-input-dropdown/enums';
8
+ import { ThousandSeparatorPipe } from '../../../pipes';
8
9
  import { NgxMaskService } from 'ngx-mask';
9
10
  import * as i0 from "@angular/core";
10
11
  export declare class InputTestComponent implements ControlValueAccessor, AfterViewInit {
11
12
  ngControl: NgControl;
12
13
  chdet: ChangeDetectorRef;
13
14
  private maskApplier;
15
+ thousandSeparatorPipe: ThousandSeparatorPipe;
14
16
  inputValue: InputChangeValue;
15
17
  _inputConfig: ICaInput;
16
18
  inputSvgRoutes: typeof InputSvgRoutes;
@@ -30,13 +32,14 @@ export declare class InputTestComponent implements ControlValueAccessor, AfterVi
30
32
  dropdownTemplateTypeEnum: typeof DropdownTemplateTypeEnum;
31
33
  isTogglePassword: boolean;
32
34
  get inputConfig(): ICaInput;
33
- constructor(ngControl: NgControl, chdet: ChangeDetectorRef, maskApplier: NgxMaskService);
35
+ constructor(ngControl: NgControl, chdet: ChangeDetectorRef, maskApplier: NgxMaskService, thousandSeparatorPipe: ThousandSeparatorPipe);
34
36
  ngAfterViewInit(): void;
35
37
  get control(): import("@angular/forms").AbstractControl<any, any> | null;
36
38
  registerOnChange(fn: any): void;
37
39
  onChange(_: any): void;
38
40
  onTouched: () => void;
39
41
  writeValue(obj: InputChangeValue): void;
42
+ transformValue(inputConfig: ICaInput, value: InputChangeValue): any;
40
43
  registerOnTouched(fn: () => void): void;
41
44
  handleInput(event: Event): void;
42
45
  clearInput(event: Event): void;
@@ -48,6 +51,6 @@ export declare class InputTestComponent implements ControlValueAccessor, AfterVi
48
51
  handleCapsLock(status: boolean): void;
49
52
  identify(index: number): number;
50
53
  onPlaceholderIconEvent(event: Event): void;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<InputTestComponent, [{ optional: true; self: true; }, null, null]>;
54
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputTestComponent, [{ optional: true; self: true; }, null, null, null]>;
52
55
  static ɵcmp: i0.ɵɵComponentDeclaration<InputTestComponent, "ca-input-test", never, { "selectedDropdownLabelColor": { "alias": "selectedDropdownLabelColor"; "required": false; }; "template": { "alias": "template"; "required": false; }; "incorrectValue": { "alias": "incorrectValue"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
53
56
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ca-components",
3
- "version": "1.0.89",
3
+ "version": "1.0.91",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.13",
6
6
  "@angular/core": "^18.2.13",