@fluxhub/fluxhub-lib 10.0.474 → 10.0.475
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 +39 -94
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/fluxhub-fluxhub-lib.js +36 -37
- package/esm2015/lib/controls/win_ask_number.js +6 -8
- package/esm2015/lib/fluxhub-lib.module.js +1 -4
- package/fesm2015/fluxhub-fluxhub-lib.js +8 -63
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.d.ts +36 -37
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/win_ask_number.d.ts +1 -1
- package/package.json +1 -1
- package/esm2015/lib/controls/onlynumber.directive.js +0 -53
- package/lib/controls/onlynumber.directive.d.ts +0 -6
|
@@ -3452,58 +3452,6 @@
|
|
|
3452
3452
|
{ type: UtilityService }
|
|
3453
3453
|
]; };
|
|
3454
3454
|
|
|
3455
|
-
var DecimalMask = /** @class */ (function () {
|
|
3456
|
-
function DecimalMask(model) {
|
|
3457
|
-
this.model = model;
|
|
3458
|
-
}
|
|
3459
|
-
DecimalMask.prototype.onInputChange = function (event, backspace) {
|
|
3460
|
-
var valArray = event.toString().split(",");
|
|
3461
|
-
for (var i = 0; i < valArray.length; ++i) {
|
|
3462
|
-
valArray[i] = valArray[i].replace(/\D/g, "");
|
|
3463
|
-
}
|
|
3464
|
-
var newVal;
|
|
3465
|
-
if (valArray.length === 0) {
|
|
3466
|
-
newVal = "";
|
|
3467
|
-
}
|
|
3468
|
-
else {
|
|
3469
|
-
var matches = valArray[0].match(/[0-9]{3}/gim);
|
|
3470
|
-
if (matches !== null && valArray[0].length > 3) {
|
|
3471
|
-
var commaGroups = Array.from(Array.from(valArray[0])
|
|
3472
|
-
.reverse()
|
|
3473
|
-
.join("")
|
|
3474
|
-
.match(/[0-9]{3}/gim)
|
|
3475
|
-
.join())
|
|
3476
|
-
.reverse()
|
|
3477
|
-
.join("");
|
|
3478
|
-
var replacement = valArray[0].replace(commaGroups.replace(/\D/g, ""), "");
|
|
3479
|
-
newVal =
|
|
3480
|
-
(replacement.length > 0 ? replacement + "." : "") + commaGroups;
|
|
3481
|
-
}
|
|
3482
|
-
else {
|
|
3483
|
-
newVal = valArray[0];
|
|
3484
|
-
}
|
|
3485
|
-
if (valArray.length > 1) {
|
|
3486
|
-
newVal += "," + valArray[1].substring(0, 2);
|
|
3487
|
-
}
|
|
3488
|
-
}
|
|
3489
|
-
// set the new value
|
|
3490
|
-
// console.log('new val:'+newVal);
|
|
3491
|
-
this.model.valueAccessor.writeValue(newVal);
|
|
3492
|
-
};
|
|
3493
|
-
return DecimalMask;
|
|
3494
|
-
}());
|
|
3495
|
-
DecimalMask.decorators = [
|
|
3496
|
-
{ type: i0.Directive, args: [{
|
|
3497
|
-
selector: "[ngModel][decimal]",
|
|
3498
|
-
host: {
|
|
3499
|
-
"(ngModelChange)": "onInputChange($event)",
|
|
3500
|
-
},
|
|
3501
|
-
},] }
|
|
3502
|
-
];
|
|
3503
|
-
DecimalMask.ctorParameters = function () { return [
|
|
3504
|
-
{ type: forms.NgControl }
|
|
3505
|
-
]; };
|
|
3506
|
-
|
|
3507
3455
|
var noop$1 = function () { };
|
|
3508
3456
|
var ɵ0$1 = noop$1;
|
|
3509
3457
|
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 = {
|
|
@@ -8943,7 +8891,7 @@
|
|
|
8943
8891
|
this.valore = 0;
|
|
8944
8892
|
this.valore_min = 0;
|
|
8945
8893
|
this.valore_max = 1000000;
|
|
8946
|
-
this.
|
|
8894
|
+
this.decimal_n = 0;
|
|
8947
8895
|
if (data.title != null)
|
|
8948
8896
|
this.title = data.title;
|
|
8949
8897
|
if (data.label != null)
|
|
@@ -8955,7 +8903,7 @@
|
|
|
8955
8903
|
if (data.valore_max != null)
|
|
8956
8904
|
this.valore_max = data.valore_max;
|
|
8957
8905
|
if (data.decimal != null)
|
|
8958
|
-
this.
|
|
8906
|
+
this.decimal_n = data.decimal;
|
|
8959
8907
|
}
|
|
8960
8908
|
fh_win_ask_number.prototype.ngAfterViewInit = function () { };
|
|
8961
8909
|
fh_win_ask_number.prototype.show = function () { };
|
|
@@ -8984,7 +8932,7 @@
|
|
|
8984
8932
|
fh_win_ask_number.decorators = [
|
|
8985
8933
|
{ type: i0.Component, args: [{
|
|
8986
8934
|
selector: "app-win_ask_text",
|
|
8987
|
-
template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\n\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{\u00A0title\u00A0}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n <mat-dialog-content
|
|
8935
|
+
template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\n\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{\u00A0title\u00A0}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n <mat-dialog-content>\n <FHNumericField [label]=\"label\" [required]=\"valore>0\" [(ngModel)]=\"valore\" [decimal]=\"decimal_n\"></FHNumericField>\n\n </mat-dialog-content>\n <mat-dialog-actions>\n <button mat-flat-button color=\"primary\" (click)=\"do_check()\">OK</button\n > <button\n mat-flat-button\n color=\"warn\"\n (click)=\"chiudi()\"\n >\n ANNULLA\n </button>\n </mat-dialog-actions>\n</div>\n "
|
|
8988
8936
|
},] }
|
|
8989
8937
|
];
|
|
8990
8938
|
fh_win_ask_number.ctorParameters = function () { return [
|
|
@@ -16044,7 +15992,6 @@
|
|
|
16044
15992
|
fh_win_show_image,
|
|
16045
15993
|
fh_win_ask_buttons,
|
|
16046
15994
|
fh_win_time_slider,
|
|
16047
|
-
DecimalMask,
|
|
16048
15995
|
FHTimePickerComponent,
|
|
16049
15996
|
CurrencyComponent,
|
|
16050
15997
|
FHUploadPanelComponent,
|
|
@@ -16110,7 +16057,6 @@
|
|
|
16110
16057
|
fh_win_ask_buttons,
|
|
16111
16058
|
FHGridToolBarComponent,
|
|
16112
16059
|
fh_win_time_slider,
|
|
16113
|
-
DecimalMask,
|
|
16114
16060
|
FHTimePickerComponent,
|
|
16115
16061
|
CurrencyComponent,
|
|
16116
16062
|
FHUploadPanelComponent,
|
|
@@ -21716,31 +21662,30 @@
|
|
|
21716
21662
|
exports.wkfapp_v2 = wkfapp_v2;
|
|
21717
21663
|
exports.ɵa = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR;
|
|
21718
21664
|
exports.ɵb = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1;
|
|
21719
|
-
exports.ɵba =
|
|
21720
|
-
exports.ɵbb =
|
|
21721
|
-
exports.ɵbc =
|
|
21722
|
-
exports.ɵbd =
|
|
21723
|
-
exports.ɵbe =
|
|
21724
|
-
exports.ɵbf =
|
|
21725
|
-
exports.ɵbg =
|
|
21726
|
-
exports.ɵbh =
|
|
21727
|
-
exports.ɵ
|
|
21728
|
-
exports.ɵbk =
|
|
21729
|
-
exports.ɵbl =
|
|
21730
|
-
exports.ɵbm =
|
|
21731
|
-
exports.ɵbn =
|
|
21732
|
-
exports.ɵbo =
|
|
21733
|
-
exports.ɵbp =
|
|
21734
|
-
exports.ɵbq =
|
|
21735
|
-
exports.ɵbr =
|
|
21736
|
-
exports.ɵbs =
|
|
21737
|
-
exports.ɵbt =
|
|
21738
|
-
exports.ɵbu =
|
|
21739
|
-
exports.ɵbv =
|
|
21740
|
-
exports.ɵbw =
|
|
21741
|
-
exports.ɵbx =
|
|
21742
|
-
exports.ɵby =
|
|
21743
|
-
exports.ɵbz = FHComboboxComponentFilter;
|
|
21665
|
+
exports.ɵba = win_log_v2;
|
|
21666
|
+
exports.ɵbb = win_recupera_doc_v2;
|
|
21667
|
+
exports.ɵbc = win_riassegna_select_level_v2;
|
|
21668
|
+
exports.ɵbd = win_riassegna_select_user_v2;
|
|
21669
|
+
exports.ɵbe = win_sostituisci_utente_v2;
|
|
21670
|
+
exports.ɵbf = win_commento_sel_notif_v2;
|
|
21671
|
+
exports.ɵbg = win_insert_commento_v2;
|
|
21672
|
+
exports.ɵbh = FHViewerComponent;
|
|
21673
|
+
exports.ɵbj = FHGridToolBarComponent;
|
|
21674
|
+
exports.ɵbk = win_assegna;
|
|
21675
|
+
exports.ɵbl = win_conferma;
|
|
21676
|
+
exports.ɵbm = win_select_canale;
|
|
21677
|
+
exports.ɵbn = win_select_level;
|
|
21678
|
+
exports.ɵbo = win_commenti;
|
|
21679
|
+
exports.ɵbp = win_info_doc;
|
|
21680
|
+
exports.ɵbq = win_log;
|
|
21681
|
+
exports.ɵbr = win_recupera_doc;
|
|
21682
|
+
exports.ɵbs = win_riassegna_select_level;
|
|
21683
|
+
exports.ɵbt = win_riassegna_select_user;
|
|
21684
|
+
exports.ɵbu = win_sostituisci_utente;
|
|
21685
|
+
exports.ɵbv = win_commento_sel_notif;
|
|
21686
|
+
exports.ɵbw = win_manage_values;
|
|
21687
|
+
exports.ɵbx = win_manage_roles;
|
|
21688
|
+
exports.ɵby = FHComboboxComponentFilter;
|
|
21744
21689
|
exports.ɵc = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$8;
|
|
21745
21690
|
exports.ɵd = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$4;
|
|
21746
21691
|
exports.ɵe = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$3;
|
|
@@ -21753,18 +21698,18 @@
|
|
|
21753
21698
|
exports.ɵl = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$9;
|
|
21754
21699
|
exports.ɵm = FHHelpButton;
|
|
21755
21700
|
exports.ɵn = SafePipe;
|
|
21756
|
-
exports.ɵo =
|
|
21757
|
-
exports.ɵp =
|
|
21758
|
-
exports.ɵq =
|
|
21759
|
-
exports.ɵr =
|
|
21760
|
-
exports.ɵs =
|
|
21761
|
-
exports.ɵt =
|
|
21762
|
-
exports.ɵu =
|
|
21763
|
-
exports.ɵv =
|
|
21764
|
-
exports.ɵw =
|
|
21765
|
-
exports.ɵx =
|
|
21766
|
-
exports.ɵy =
|
|
21767
|
-
exports.ɵz =
|
|
21701
|
+
exports.ɵo = MOMENT_DATE_FORMATS;
|
|
21702
|
+
exports.ɵp = MomentDateAdapter;
|
|
21703
|
+
exports.ɵq = win_grid_help;
|
|
21704
|
+
exports.ɵr = HighlightService;
|
|
21705
|
+
exports.ɵs = win_salva_annulla_v2;
|
|
21706
|
+
exports.ɵt = win_assegna_v2;
|
|
21707
|
+
exports.ɵu = win_conferma_v2;
|
|
21708
|
+
exports.ɵv = win_select_canale_v2;
|
|
21709
|
+
exports.ɵw = win_select_level_v2;
|
|
21710
|
+
exports.ɵx = win_uploads_v2;
|
|
21711
|
+
exports.ɵy = win_commenti_v2;
|
|
21712
|
+
exports.ɵz = win_info_doc_v2;
|
|
21768
21713
|
|
|
21769
21714
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
21770
21715
|
|