monkey-style-guide 2.0.198 → 2.0.199
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/esm2020/lib/components/input/input.component.mjs +23 -10
- package/fesm2015/monkey-style-guide.mjs +24 -9
- package/fesm2015/monkey-style-guide.mjs.map +1 -1
- package/fesm2020/monkey-style-guide.mjs +22 -9
- package/fesm2020/monkey-style-guide.mjs.map +1 -1
- package/lib/components/input/input.component.d.ts +3 -2
- package/monkey-style-guide-2.0.199.tgz +0 -0
- package/package.json +1 -1
- package/monkey-style-guide-2.0.198.tgz +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* MIT Licence
|
|
5
5
|
**************************/
|
|
6
6
|
import { CurrencyPipe } from '@angular/common';
|
|
7
|
-
import { OnInit, ElementRef, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
7
|
+
import { OnInit, ElementRef, EventEmitter, ChangeDetectorRef, InjectionToken } from '@angular/core';
|
|
8
8
|
import { ControlValueAccessor } from '@angular/forms';
|
|
9
9
|
import { MonkeyStyleGuideSettingsService } from '../../core';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
@@ -12,6 +12,7 @@ export declare class MonkeyInputComponent implements ControlValueAccessor, OnIni
|
|
|
12
12
|
private currencyPipe;
|
|
13
13
|
private settingsService;
|
|
14
14
|
private cdr;
|
|
15
|
+
private defaultCurencyCode;
|
|
15
16
|
name: string;
|
|
16
17
|
label: string;
|
|
17
18
|
helperMessage: string;
|
|
@@ -43,7 +44,7 @@ export declare class MonkeyInputComponent implements ControlValueAccessor, OnIni
|
|
|
43
44
|
_maxDateToday: string;
|
|
44
45
|
_symbol: string;
|
|
45
46
|
monkeyInput: ElementRef;
|
|
46
|
-
constructor(currencyPipe: CurrencyPipe, settingsService: MonkeyStyleGuideSettingsService, cdr: ChangeDetectorRef);
|
|
47
|
+
constructor(currencyPipe: CurrencyPipe, settingsService: MonkeyStyleGuideSettingsService, cdr: ChangeDetectorRef, defaultCurencyCode: InjectionToken<string>);
|
|
47
48
|
private handleValue;
|
|
48
49
|
private replaceZero;
|
|
49
50
|
private formatValue;
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|