@fluxhub/fluxhub-lib 1.0.208 → 1.0.209
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 +2 -11
- 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/docs/components/FHCurrencyFieldComponent.html +8 -44
- package/docs/coverage.html +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/controls/fhcurrencyfield.js +4 -10
- package/esm2015/lib/controls/win_ask_textbig.js +1 -1
- package/esm5/lib/controls/fhcurrencyfield.js +3 -12
- package/esm5/lib/controls/win_ask_textbig.js +1 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +4 -10
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +3 -12
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhcurrencyfield.d.ts +1 -2
- package/package.json +1 -1
|
@@ -33,7 +33,7 @@ import { TranslateModule } from '@ngx-translate/core';
|
|
|
33
33
|
import { DragulaService, DragulaModule } from 'ng2-dragula';
|
|
34
34
|
import { MatDialogRef, MatDialog, DateAdapter, MAT_DATE_LOCALE, MatAutocompleteModule, MatButtonModule, MatButtonToggleModule, MatPaginatorModule, MatCardModule, MatCheckboxModule, MatChipsModule, MatDatepickerModule, MatGridListModule, MatIconModule, MatInputModule, MatListModule, MatMenuModule, MatProgressBarModule, MatProgressSpinnerModule, MatRadioModule, MatSelectModule, MatSidenavModule, MatSliderModule, MatSortModule, MatSlideToggleModule, MatSnackBarModule, MatTableModule, MatTabsModule, MatToolbarModule, MatTooltipModule, MatFormFieldModule, MatExpansionModule, MatStepperModule, MatDialogModule, MatNativeDateModule } from '@angular/material';
|
|
35
35
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
36
|
-
import { Injectable, Component, Input, Output, EventEmitter,
|
|
36
|
+
import { Injectable, Component, Input, Output, EventEmitter, Directive, forwardRef, ViewChild, Inject, PLATFORM_ID, ElementRef, Pipe, ViewContainerRef, NgModule, defineInjectable, inject, HostListener } from '@angular/core';
|
|
37
37
|
import { Http } from '@angular/http';
|
|
38
38
|
import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
|
|
39
39
|
import { ToastrService } from 'ngx-toastr';
|
|
@@ -9609,15 +9609,6 @@ var FHCurrencyFieldComponent = /** @class */ (function () {
|
|
|
9609
9609
|
this.enter_pressed.emit();
|
|
9610
9610
|
}
|
|
9611
9611
|
};
|
|
9612
|
-
/**
|
|
9613
|
-
* @return {?}
|
|
9614
|
-
*/
|
|
9615
|
-
FHCurrencyFieldComponent.prototype.getStyle = /**
|
|
9616
|
-
* @return {?}
|
|
9617
|
-
*/
|
|
9618
|
-
function () {
|
|
9619
|
-
return this.m_color;
|
|
9620
|
-
};
|
|
9621
9612
|
/**
|
|
9622
9613
|
* @return {?}
|
|
9623
9614
|
*/
|
|
@@ -9640,7 +9631,7 @@ var FHCurrencyFieldComponent = /** @class */ (function () {
|
|
|
9640
9631
|
* @param {?} color
|
|
9641
9632
|
* @return {?}
|
|
9642
9633
|
*/
|
|
9643
|
-
FHCurrencyFieldComponent.prototype.
|
|
9634
|
+
FHCurrencyFieldComponent.prototype.set_color = /**
|
|
9644
9635
|
* @param {?} color
|
|
9645
9636
|
* @return {?}
|
|
9646
9637
|
*/
|
|
@@ -9791,7 +9782,7 @@ var FHCurrencyFieldComponent = /** @class */ (function () {
|
|
|
9791
9782
|
{ type: Component, args: [{
|
|
9792
9783
|
selector: 'FHCurrencyField',
|
|
9793
9784
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR],
|
|
9794
|
-
template: "\n <mat-form-field [hidden]=\"!enabled || hidden\">\n <input type=\"text\" style=\"text-align:right\"
|
|
9785
|
+
template: "\n <mat-form-field [hidden]=\"!enabled || hidden\">\n <input type=\"text\" style=\"text-align:right\" #el matInput\n [disabled]=\"!enabled\" placeholder=\"{{label}}\" [(ngModel)]=\"formattedAmount\"\n (blur)=\"transformAmount($event)\" [style.color]=\"getStyle_color()\" (keydown)=\"kd($event)\" \n (focus)=\"removeCurrencyPipeFormat($event)\" (keyup)=\"chg()\"\n pattern=\"[0-9]+\">\n </mat-form-field>\n <mat-form-field [hidden]=\"enabled || hidden\">\n <input type=\"text\" style=\"text-align:right\" [style.color]=\"getStyle_color()\" #el1 matInput [disabled]=\"true\"\n placeholder=\"{{label}}\" [(ngModel)]=\"formattedAmount\"\n >\n </mat-form-field>\n ",
|
|
9795
9786
|
styles: ["\n\n "]
|
|
9796
9787
|
}] }
|
|
9797
9788
|
];
|