@dev-tcloud/tcloud-ui 2.0.2 → 2.0.4
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/README.md +2 -2
- package/esm2022/lib/_directives/currency/currency.directive.mjs +40 -13
- package/esm2022/lib/_directives/directives.module.mjs +6 -6
- package/fesm2022/dev-tcloud-tcloud-ui.mjs +44 -17
- package/fesm2022/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/lib/_directives/currency/currency.directive.d.ts +4 -3
- package/lib/_directives/directives.module.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class TCloudCurrencyDirective implements ControlValueAccessor {
|
|
5
5
|
private el;
|
|
6
6
|
private renderer;
|
|
7
7
|
constructor(el: ElementRef, renderer: Renderer2);
|
|
@@ -12,12 +12,13 @@ export declare class TCloudcurrencyDirective implements ControlValueAccessor {
|
|
|
12
12
|
registerOnTouched(fn: any): void;
|
|
13
13
|
onFocus(): void;
|
|
14
14
|
private setCursorToEnd;
|
|
15
|
+
private setInInput;
|
|
15
16
|
onInput(value: string): void;
|
|
16
17
|
private formatCurrency;
|
|
17
18
|
private unmask;
|
|
18
19
|
private formatarNumero;
|
|
19
20
|
private formatReal;
|
|
20
21
|
private toDecimal;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TCloudCurrencyDirective, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TCloudCurrencyDirective, "[TCcurrency]", never, {}, {}, never, never, false, never>;
|
|
23
24
|
}
|
|
@@ -6,6 +6,6 @@ import * as i4 from "./el-copy/el-copy.directive";
|
|
|
6
6
|
import * as i5 from "./currency/currency.directive";
|
|
7
7
|
export declare class TCloudUiDirectiveModule {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiDirectiveModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TCloudUiDirectiveModule, [typeof i1.TCloudUiTooltipDirective, typeof i2.TCloudUiAlignDirective, typeof i3.TCloudUiHoverParentDirective, typeof i4.TCloudUiElCopyDirective, typeof i5.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TCloudUiDirectiveModule, [typeof i1.TCloudUiTooltipDirective, typeof i2.TCloudUiAlignDirective, typeof i3.TCloudUiHoverParentDirective, typeof i4.TCloudUiElCopyDirective, typeof i5.TCloudCurrencyDirective], never, [typeof i1.TCloudUiTooltipDirective, typeof i2.TCloudUiAlignDirective, typeof i3.TCloudUiHoverParentDirective, typeof i4.TCloudUiElCopyDirective, typeof i5.TCloudCurrencyDirective]>;
|
|
10
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<TCloudUiDirectiveModule>;
|
|
11
11
|
}
|