@fluxhub/fluxhub-lib 10.0.594 → 10.0.595
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 +17 -8
- 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/fhdatepicker.js +17 -8
- package/esm2015/lib/wkf_engine/win_conferma.js +4 -4
- package/fesm2015/fluxhub-fluxhub-lib.js +19 -10
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhdatepicker.d.ts +1 -0
- package/package.json +1 -1
|
@@ -8337,12 +8337,7 @@
|
|
|
8337
8337
|
this.v_date_sel = "";
|
|
8338
8338
|
this.onChange = function (_) { };
|
|
8339
8339
|
this.onTouched = function () { };
|
|
8340
|
-
|
|
8341
|
-
this.dateAdapter.setLocale("it-IT");
|
|
8342
|
-
else if (this._apps.user_lang == 'en')
|
|
8343
|
-
this.dateAdapter.setLocale("en-EN");
|
|
8344
|
-
else
|
|
8345
|
-
this.dateAdapter.setLocale("it-IT");
|
|
8340
|
+
this.setlocalt();
|
|
8346
8341
|
}
|
|
8347
8342
|
FHDatePickerComponent.prototype.checkInput = function (ob) {
|
|
8348
8343
|
/* if(ob.key=='-')
|
|
@@ -8400,6 +8395,19 @@
|
|
|
8400
8395
|
this.onChange(this.getValue());
|
|
8401
8396
|
this.change.emit(this.getValue());
|
|
8402
8397
|
};
|
|
8398
|
+
FHDatePickerComponent.prototype.setlocalt = function () {
|
|
8399
|
+
if (this._apps.user_lang == 'it') {
|
|
8400
|
+
this.dateAdapter.setLocale("it-IT");
|
|
8401
|
+
console.log('set locale it');
|
|
8402
|
+
}
|
|
8403
|
+
else if (this._apps.user_lang == 'en') {
|
|
8404
|
+
this.dateAdapter.setLocale("en-GB");
|
|
8405
|
+
console.log('set locale gb');
|
|
8406
|
+
}
|
|
8407
|
+
else {
|
|
8408
|
+
this.dateAdapter.setLocale("it-IT");
|
|
8409
|
+
}
|
|
8410
|
+
};
|
|
8403
8411
|
FHDatePickerComponent.prototype.setFocus = function () {
|
|
8404
8412
|
this.pickerId.nativeElement.focus();
|
|
8405
8413
|
};
|
|
@@ -8452,7 +8460,8 @@
|
|
|
8452
8460
|
this.date_sel = new Date();
|
|
8453
8461
|
};
|
|
8454
8462
|
FHDatePickerComponent.prototype.setValue = function (d) {
|
|
8455
|
-
this.
|
|
8463
|
+
this.setlocalt();
|
|
8464
|
+
// this.dateAdapter.setLocale("it-IT");
|
|
8456
8465
|
if (d == null) {
|
|
8457
8466
|
this.date_sel = null;
|
|
8458
8467
|
return;
|
|
@@ -10432,7 +10441,7 @@
|
|
|
10432
10441
|
}());
|
|
10433
10442
|
win_conferma.decorators = [
|
|
10434
10443
|
{ type: i0.Component, args: [{
|
|
10435
|
-
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <mat-toolbar>\n <div style=\"font-size:10px\" *ngIf=\"mobile\">{{ lbl }}</div>\n <div *ngIf=\"!mobile\">{{ lbl }}</div>\n </mat-toolbar>\n <br />\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <div\n *ngIf=\"mobile && utenti?.toLocaleLowerCase().indexOf('system') == -1\"\n style=\"font-size:10px\"\n >\n {{'Assegnata a'}}: {{ utenti }}\n </div>\n <h3\n *ngIf=\"!mobile && utenti?.toLocaleLowerCase().indexOf('system') == -1\"\n >\n {{'Assegnata a'}}: {{ utenti }}\n </h3>\n <br />\n <mat-form-field\n [hidden]=\"comm_notrequired == 1\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label> {{'Commento'}} {{ nota_commento }}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"6\"></textarea>\n </mat-form-field>\n </div>\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button\n > \n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'ANNULLA'}}\n </button>\n </div>\n "
|
|
10444
|
+
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <mat-toolbar>\n <div style=\"font-size:10px\" *ngIf=\"mobile\">{{ lbl }}</div>\n <div *ngIf=\"!mobile\">{{ lbl }}</div>\n </mat-toolbar>\n <br />\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <div\n *ngIf=\"mobile && utenti?.toLocaleLowerCase().indexOf('system') == -1\"\n style=\"font-size:10px\"\n >\n {{'Assegnata a' | translate}}: {{ utenti }}\n </div>\n <h3\n *ngIf=\"!mobile && utenti?.toLocaleLowerCase().indexOf('system') == -1\"\n >\n {{'Assegnata a' | translate}}: {{ utenti }}\n </h3>\n <br />\n <mat-form-field\n [hidden]=\"comm_notrequired == 1\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label> {{'Commento'}} {{ nota_commento }}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"6\"></textarea>\n </mat-form-field>\n </div>\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button\n > \n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'ANNULLA' | translate}}\n </button>\n </div>\n "
|
|
10436
10445
|
},] }
|
|
10437
10446
|
];
|
|
10438
10447
|
win_conferma.ctorParameters = function () { return [
|