@fluxhub/fluxhub-lib 1.0.579 → 1.0.581
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/bundles/fluxhub-fluxhub-lib.umd.js +18 -1
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhnumeric.js +15 -2
- package/esm5/lib/controls/fhnumeric.js +19 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +14 -1
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +18 -1
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhnumeric.d.ts +1 -0
- package/package.json +1 -1
|
@@ -11952,6 +11952,23 @@ var FHNumericFieldComponent = /** @class */ (function () {
|
|
|
11952
11952
|
console.log(e);
|
|
11953
11953
|
}
|
|
11954
11954
|
};
|
|
11955
|
+
/**
|
|
11956
|
+
* @param {?} element
|
|
11957
|
+
* @return {?}
|
|
11958
|
+
*/
|
|
11959
|
+
FHNumericFieldComponent.prototype.click_select_allf = /**
|
|
11960
|
+
* @param {?} element
|
|
11961
|
+
* @return {?}
|
|
11962
|
+
*/
|
|
11963
|
+
function (element) {
|
|
11964
|
+
setTimeout((/**
|
|
11965
|
+
* @return {?}
|
|
11966
|
+
*/
|
|
11967
|
+
function () {
|
|
11968
|
+
element.nativeElement.select();
|
|
11969
|
+
console.log('FOCUS!');
|
|
11970
|
+
}), 200);
|
|
11971
|
+
};
|
|
11955
11972
|
/**
|
|
11956
11973
|
* @param {?} element
|
|
11957
11974
|
* @return {?}
|
|
@@ -11991,7 +12008,7 @@ var FHNumericFieldComponent = /** @class */ (function () {
|
|
|
11991
12008
|
{ type: Component, args: [{
|
|
11992
12009
|
selector: 'FHNumericField',
|
|
11993
12010
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC],
|
|
11994
|
-
template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" style=\"text-align:right\" [style.background-color]=\"getStyle()\" #el matInput\n [disabled]=\"!enabled\" [(ngModel)]=\"formattedAmount\"\n (blur)=\"chg()\" (click)=\"
|
|
12011
|
+
template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" style=\"text-align:right\" [style.background-color]=\"getStyle()\" #el matInput\n [disabled]=\"!enabled\" [(ngModel)]=\"formattedAmount\"\n (blur)=\"chg()\" (click)=\"click_select_allf($event);\"\n (focus)=\"removeCurrencyPipeFormat($event);select_allf($event);\"\n pattern=\"[0-9]+\">\n </mat-form-field>\n\n ",
|
|
11995
12012
|
styles: ["\n\n "]
|
|
11996
12013
|
}] }
|
|
11997
12014
|
];
|