@fluxhub/fluxhub-lib 1.0.562 → 1.0.564
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 +9 -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/auth_guard.js +5 -3
- package/esm2015/lib/controls/fhgrid.js +1 -3
- package/esm2015/lib/controls/fhuserpicker.js +12 -7
- package/esm2015/lib/wkf_engine/win_assegna.js +3 -3
- package/esm2015/lib/wkf_engine/win_riassegna_select_user.js +3 -2
- package/esm2015/lib/wkf_engine/wkfapp.js +2 -2
- package/esm5/lib/auth_guard.js +5 -3
- package/esm5/lib/controls/fhgrid.js +1 -3
- package/esm5/lib/controls/fhuserpicker.js +5 -2
- package/esm5/lib/wkf_engine/win_assegna.js +2 -2
- package/esm5/lib/wkf_engine/win_riassegna_select_user.js +2 -2
- package/esm5/lib/wkf_engine/wkfapp.js +2 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +18 -14
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +9 -8
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhuserpicker.d.ts +1 -0
- package/package.json +1 -1
|
@@ -5100,6 +5100,7 @@ var FHUserPickerComponent = /** @class */ (function () {
|
|
|
5100
5100
|
this.dialogRef = dialogRef;
|
|
5101
5101
|
this.toastr = toastr;
|
|
5102
5102
|
this.width = "100%";
|
|
5103
|
+
this.label = "Ricerca...";
|
|
5103
5104
|
this.selectedAdd = null;
|
|
5104
5105
|
this.selectedRemove = null;
|
|
5105
5106
|
this.errorMsg = "";
|
|
@@ -5278,7 +5279,7 @@ var FHUserPickerComponent = /** @class */ (function () {
|
|
|
5278
5279
|
FHUserPickerComponent.decorators = [
|
|
5279
5280
|
{ type: Component, args: [{
|
|
5280
5281
|
selector: 'FHPickUsers',
|
|
5281
|
-
template: "\n <mat-dialog-content style=\"font-size:12px\"> \n <br><br>\n <div fxLayout=\"row\">\n <div fxLayout=\"column\" fxFlex=\"40\">\n
|
|
5282
|
+
template: "\n <mat-dialog-content style=\"font-size:12px\"> \n <br><br>\n <div fxLayout=\"row\">\n <div fxLayout=\"column\" fxFlex=\"40\">\n <div style=\"width:100%;height:420px;overflow-y:scroll;\">\n \n <table style=\"width: 100%\" class=\"fh_table\" cellpadding=\"7\">\n <thead>\n <tr>\n <th colspan=\"2\">UTENTI SELEZIONABILI</th>\n </tr>\n </thead>\n\n <tbody>\n <tr><td colspan=\"2\">\n\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input [(ngModel)]=\"fltr_user\" (ngModelChange)=\"filtra()\"\n matInput >\n </mat-form-field>\n </td></tr>\n <tr *ngFor=\"let u of users_list_sel;let odd=odd; let even=even;\" (mouseover)=\"selectedAdd=u\"\n [ngClass]=\"{ odd: odd, even: even }\" (click)=\"addTo(u)\" (dblclick)=\"do_add()\" class=\"selector\" \n [ngClass]=\"{ 'active': selectedAdd == u }\">\n <td style=\"width: 80%\">{{u.nc}}</td>\n <td style=\"width: 20%\">{{u.canale}}</td>\n </tr>\n </tbody>\n </table>\n \n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"20\"\n style=\"height: 280px; position: relative; margin:0 .5em; padding-left: .5em; padding-right: .5em; border-left: 1px solid rgba(191, 191, 191, 0.5); border-right: 1px solid rgba(191, 191, 191, 0.5);\">\n <div style=\"position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);\">\n <button mat-flat-button color=\"primary\" (click)=\"do_add()\" [disabled]=\"!option\">\n <mat-icon>arrow_forward</mat-icon>\n </button>\n <br><br>\n <button mat-flat-button color=\"primary\" (click)=\"do_rem()\" [disabled]=\"option\">\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"40\">\n <div style=\"width:100%;height:420px;overflow-y:scroll;\">\n <table style=\"width: 100%\" class=\"fh_table\" cellpadding=\"7\">\n <thead>\n <tr>\n <th colspan=\"2\">UTENTI SELEZIONATI</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let u of user_sel;let odd=odd; let even=even;\" (mouseover)=\"selectedRemove=u\" [ngClass]=\"{ odd: odd, even: even }\" (click)=\"removeTo(u)\" (dblclick)=\"do_rem()\" class=\"selector\"\n [ngClass]=\"{ 'active': selectedRemove == u }\">\n <td style=\"width: 80%\">{{u.nc}}</td>\n <td style=\"width: 20%\">{{u.canale}}</td>\n\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n \n </mat-dialog-content>\n <mat-dialog-actions>\n\n <div style=\"width:100%\" *ngIf=\"vis_buttons\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <button mat-flat-button color=\"primary\" (click)=\"dialogRef.close(this.user_sel)\">Ok</button> \n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"dialogRef.close()\">Annulla</button>\n </div>\n </mat-dialog-actions>\n\n ",
|
|
5282
5283
|
styles: ["\n \n "]
|
|
5283
5284
|
}] }
|
|
5284
5285
|
];
|
|
@@ -5364,7 +5365,7 @@ var win_riassegna_select_user = /** @class */ (function () {
|
|
|
5364
5365
|
};
|
|
5365
5366
|
win_riassegna_select_user.decorators = [
|
|
5366
5367
|
{ type: Component, args: [{
|
|
5367
|
-
template: "\n\n <h4 mat-dialog-title>{{title}}\n </h4>\n <div mat-dialog-content fxLayout=\"column\" style=\"font-size:12px\">\n <div style=\"width:100%;height:420px\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n\n </div>\n \n <mat-form-field [hidden]=\"commento_hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Commento {{nota_commento}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\"\n rows=\"2\"></textarea>\n </mat-form-field>\n <div mat-dialog-actions fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <div><button mat-flat-button color=\"primary\" (click)=\"ok()\"> OK</button></div> \n <div> <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"annulla()\">ANNULLA</button></div>\n </div>\n
|
|
5368
|
+
template: "\n\n <h4 mat-dialog-title>{{title}}\n </h4>\n <div mat-dialog-content fxLayout=\"column\" style=\"font-size:12px\">\n <div style=\"width:100%;height:420px\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n\n </div>\n \n <mat-form-field [hidden]=\"commento_hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Commento {{nota_commento}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\"\n rows=\"2\"></textarea>\n </mat-form-field>\n </div>\n <div mat-dialog-actions fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <div><button mat-flat-button color=\"primary\" (click)=\"ok()\"> OK</button></div> \n <div> <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"annulla()\">ANNULLA</button></div>\n </div>\n \n "
|
|
5368
5369
|
}] }
|
|
5369
5370
|
];
|
|
5370
5371
|
/** @nocollapse */
|
|
@@ -5605,7 +5606,7 @@ wkfapp = /** @class */ (function () {
|
|
|
5605
5606
|
arrAutori.push(this.livs_adm[i]);
|
|
5606
5607
|
// Alert.show("Confermi di voler recuperare il documento "+ wing.tbl_wkf.sRow.codice+" - "+ wing.tbl_wkf.sRow.oggetto+"?", "Conferma operazione", 3, this, okelimc1);
|
|
5607
5608
|
/** @type {?} */
|
|
5608
|
-
var dialogRef = this.dialog.open(win_riassegna_select_user, { 'disableClose': true, '
|
|
5609
|
+
var dialogRef = this.dialog.open(win_riassegna_select_user, { 'disableClose': true, 'width': '850px' });
|
|
5609
5610
|
for (var i = 0; i < arrAutori.length; i++) {
|
|
5610
5611
|
arrAutori[i].nc = arrAutori[i].nc.split(' ()').join('');
|
|
5611
5612
|
if (arrAutori[i].idp != null && arrAutori[i].username == null)
|
|
@@ -7850,7 +7851,6 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
7850
7851
|
var _this = this;
|
|
7851
7852
|
if (!this.auto_load)
|
|
7852
7853
|
return;
|
|
7853
|
-
console.log('CKKK ', this.grid_key);
|
|
7854
7854
|
if (this.columnDefs == null) {
|
|
7855
7855
|
setTimeout((/**
|
|
7856
7856
|
* @return {?}
|
|
@@ -8166,7 +8166,6 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
8166
8166
|
* @return {?}
|
|
8167
8167
|
*/
|
|
8168
8168
|
function () {
|
|
8169
|
-
console.log('qui3333');
|
|
8170
8169
|
_this.ckk();
|
|
8171
8170
|
}), 10);
|
|
8172
8171
|
if (!this.b_iniended) {
|
|
@@ -12557,7 +12556,7 @@ var win_assegna = /** @class */ (function () {
|
|
|
12557
12556
|
};
|
|
12558
12557
|
win_assegna.decorators = [
|
|
12559
12558
|
{ type: Component, args: [{
|
|
12560
|
-
template: "\n <h4 mat-dialog-title>{{title}}\n </h4>\n <div mat-dialog-content fxLayout=\"column\" style=\"font-size:12px\">\n <div style=\"width:100%;height:
|
|
12559
|
+
template: "\n <h4 mat-dialog-title>{{title}}\n </h4>\n <div mat-dialog-content fxLayout=\"column\" style=\"font-size:12px;min-width: 750px\">\n <div style=\"width:100%;height:450px\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <div *ngIf=\"comm_notrequired!=1\">\n <br>\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>Commento {{nota_commento}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"6\"></textarea>\n </mat-form-field>\n </div>\n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> OK</button> \n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
|
|
12561
12560
|
}] }
|
|
12562
12561
|
];
|
|
12563
12562
|
/** @nocollapse */
|
|
@@ -20625,9 +20624,11 @@ var FHGuard = /** @class */ (function () {
|
|
|
20625
20624
|
if (_this.app_s.user_roles != null)
|
|
20626
20625
|
if (_this.app_s.user_roles.length > 0)
|
|
20627
20626
|
_this.app_s.user_roles = _this.app_s.user_roles.substr(1);
|
|
20627
|
+
if (_this.app_s.user_roles == null)
|
|
20628
|
+
_this.app_s.user_roles = '[NO_RUOLI_CONFIGURATI]';
|
|
20628
20629
|
_this.app_s.user_isadmin = data.result_data[0].isadmin;
|
|
20629
20630
|
_this.app_s.user = data.result_data[0].username;
|
|
20630
|
-
console.log('this.app_s.user_isadmin ',
|
|
20631
|
+
// console.log('this.app_s.user_isadmin ',this.app_s.user_isadmin);
|
|
20631
20632
|
if (_this.app_s.user_isadmin != null)
|
|
20632
20633
|
if (_this.app_s.user_isadmin == "1") {
|
|
20633
20634
|
resolve(true);
|
|
@@ -20647,7 +20648,7 @@ var FHGuard = /** @class */ (function () {
|
|
|
20647
20648
|
function (data) {
|
|
20648
20649
|
_this.arr_accessi = data.result_data;
|
|
20649
20650
|
for (var i = 0; i < _this.arr_accessi.length; i++) {
|
|
20650
|
-
console.log('[' +
|
|
20651
|
+
//console.log('[' + this.arr_accessi[i].url.split('/')[0] + ']', '-----', '[' + this.routingDestination.split('/')[0] + ']');
|
|
20651
20652
|
if (_this.arr_accessi[i].type == 'M') {
|
|
20652
20653
|
if ('[' + _this.arr_accessi[i].url.split('/')[0] + ']' == '[' + _this.routingDestination.split('/')[0] + ']') {
|
|
20653
20654
|
resolve(true);
|