master-control 0.2.64 → 0.2.65
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/esm2022/lib/amount-textbox/amount-textbox.component.mjs +130 -8
- package/fesm2022/master-control.mjs +129 -7
- package/fesm2022/master-control.mjs.map +1 -1
- package/lib/amount-textbox/amount-textbox.component.d.ts +7 -1
- package/master-control-0.2.65.tgz +0 -0
- package/package.json +1 -1
- package/master-control-0.2.64.tgz +0 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
3
|
import { MasterControlService } from '../master-control.service';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AmountTextboxComponent {
|
|
5
|
+
export declare class AmountTextboxComponent implements ControlValueAccessor {
|
|
5
6
|
sharedService: MasterControlService;
|
|
6
7
|
constructor(sharedService: MasterControlService);
|
|
7
8
|
field: any;
|
|
@@ -9,6 +10,7 @@ export declare class AmountTextboxComponent {
|
|
|
9
10
|
reactiveFormControlobject: any;
|
|
10
11
|
_onChange: any;
|
|
11
12
|
_unTouched: any;
|
|
13
|
+
get isCommaAdded(): any;
|
|
12
14
|
blur: EventEmitter<any>;
|
|
13
15
|
writeValue(obj: any): void;
|
|
14
16
|
registerOnChange(fn: any): void;
|
|
@@ -16,6 +18,10 @@ export declare class AmountTextboxComponent {
|
|
|
16
18
|
setDisabledState?(isDisabled: boolean): void;
|
|
17
19
|
onInputChange(event: any): void;
|
|
18
20
|
onInputBlur(event?: any): void;
|
|
21
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
22
|
+
addCommasToNumber(value: any | number): any;
|
|
23
|
+
calculateNewCursorPosition(oldValue: string, newValue: string, oldCursorPosition: number): number;
|
|
24
|
+
getDisplayValue(): any;
|
|
19
25
|
formatIndianCurrency(amount: number | string): string;
|
|
20
26
|
getFormattedAmount(): string;
|
|
21
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<AmountTextboxComponent, never>;
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|