@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
|
@@ -4879,6 +4879,7 @@ class FHUserPickerComponent {
|
|
|
4879
4879
|
this.dialogRef = dialogRef;
|
|
4880
4880
|
this.toastr = toastr;
|
|
4881
4881
|
this.width = "100%";
|
|
4882
|
+
this.label = "Ricerca...";
|
|
4882
4883
|
this.selectedAdd = null;
|
|
4883
4884
|
this.selectedRemove = null;
|
|
4884
4885
|
this.errorMsg = "";
|
|
@@ -5039,9 +5040,7 @@ FHUserPickerComponent.decorators = [
|
|
|
5039
5040
|
<br><br>
|
|
5040
5041
|
<div fxLayout="row">
|
|
5041
5042
|
<div fxLayout="column" fxFlex="40">
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
<div style="width:100%;height:420px;overflow:auto;">
|
|
5043
|
+
<div style="width:100%;height:420px;overflow-y:scroll;">
|
|
5045
5044
|
|
|
5046
5045
|
<table style="width: 100%" class="fh_table" cellpadding="7">
|
|
5047
5046
|
<thead>
|
|
@@ -5051,8 +5050,12 @@ FHUserPickerComponent.decorators = [
|
|
|
5051
5050
|
</thead>
|
|
5052
5051
|
|
|
5053
5052
|
<tbody>
|
|
5054
|
-
<tr><td colspan="2">
|
|
5055
|
-
|
|
5053
|
+
<tr><td colspan="2">
|
|
5054
|
+
|
|
5055
|
+
<mat-form-field appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
|
|
5056
|
+
<input [(ngModel)]="fltr_user" (ngModelChange)="filtra()"
|
|
5057
|
+
matInput >
|
|
5058
|
+
</mat-form-field>
|
|
5056
5059
|
</td></tr>
|
|
5057
5060
|
<tr *ngFor="let u of users_list_sel;let odd=odd; let even=even;" (mouseover)="selectedAdd=u"
|
|
5058
5061
|
[ngClass]="{ odd: odd, even: even }" (click)="addTo(u)" (dblclick)="do_add()" class="selector"
|
|
@@ -5078,7 +5081,7 @@ FHUserPickerComponent.decorators = [
|
|
|
5078
5081
|
</div>
|
|
5079
5082
|
</div>
|
|
5080
5083
|
<div fxLayout="column" fxFlex="40">
|
|
5081
|
-
<div style="width:100%;height:420px;overflow:
|
|
5084
|
+
<div style="width:100%;height:420px;overflow-y:scroll;">
|
|
5082
5085
|
<table style="width: 100%" class="fh_table" cellpadding="7">
|
|
5083
5086
|
<thead>
|
|
5084
5087
|
<tr>
|
|
@@ -5205,11 +5208,12 @@ win_riassegna_select_user.decorators = [
|
|
|
5205
5208
|
<textarea matInput [(ngModel)]="nota"
|
|
5206
5209
|
rows="2"></textarea>
|
|
5207
5210
|
</mat-form-field>
|
|
5211
|
+
</div>
|
|
5208
5212
|
<div mat-dialog-actions fxLayout="row" fxLayoutAlign="center center">
|
|
5209
5213
|
<div><button mat-flat-button color="primary" (click)="ok()"> OK</button></div>
|
|
5210
5214
|
<div> <button mat-flat-button style="background-color: #F5F5F5" (click)="annulla()">ANNULLA</button></div>
|
|
5211
5215
|
</div>
|
|
5212
|
-
|
|
5216
|
+
|
|
5213
5217
|
`
|
|
5214
5218
|
}] }
|
|
5215
5219
|
];
|
|
@@ -5433,7 +5437,7 @@ class wkfapp {
|
|
|
5433
5437
|
arrAutori.push(this.livs_adm[i]);
|
|
5434
5438
|
// Alert.show("Confermi di voler recuperare il documento "+ wing.tbl_wkf.sRow.codice+" - "+ wing.tbl_wkf.sRow.oggetto+"?", "Conferma operazione", 3, this, okelimc1);
|
|
5435
5439
|
/** @type {?} */
|
|
5436
|
-
let dialogRef = this.dialog.open(win_riassegna_select_user, { 'disableClose': true, '
|
|
5440
|
+
let dialogRef = this.dialog.open(win_riassegna_select_user, { 'disableClose': true, 'width': '850px' });
|
|
5437
5441
|
for (let i = 0; i < arrAutori.length; i++) {
|
|
5438
5442
|
arrAutori[i].nc = arrAutori[i].nc.split(' ()').join('');
|
|
5439
5443
|
if (arrAutori[i].idp != null && arrAutori[i].username == null)
|
|
@@ -7479,7 +7483,6 @@ class FHGridComponent {
|
|
|
7479
7483
|
ckk() {
|
|
7480
7484
|
if (!this.auto_load)
|
|
7481
7485
|
return;
|
|
7482
|
-
console.log('CKKK ', this.grid_key);
|
|
7483
7486
|
if (this.columnDefs == null) {
|
|
7484
7487
|
setTimeout((/**
|
|
7485
7488
|
* @return {?}
|
|
@@ -7751,7 +7754,6 @@ class FHGridComponent {
|
|
|
7751
7754
|
* @return {?}
|
|
7752
7755
|
*/
|
|
7753
7756
|
() => {
|
|
7754
|
-
console.log('qui3333');
|
|
7755
7757
|
this.ckk();
|
|
7756
7758
|
}), 10);
|
|
7757
7759
|
if (!this.b_iniended) {
|
|
@@ -11854,8 +11856,8 @@ win_assegna.decorators = [
|
|
|
11854
11856
|
template: `
|
|
11855
11857
|
<h4 mat-dialog-title>{{title}}
|
|
11856
11858
|
</h4>
|
|
11857
|
-
<div mat-dialog-content fxLayout="column" style="font-size:12px">
|
|
11858
|
-
<div style="width:100%;height:
|
|
11859
|
+
<div mat-dialog-content fxLayout="column" style="font-size:12px;min-width: 750px">
|
|
11860
|
+
<div style="width:100%;height:450px">
|
|
11859
11861
|
<FHPickUsers #up [users_list]="arrAutori" [vis_buttons]="false"></FHPickUsers>
|
|
11860
11862
|
</div>
|
|
11861
11863
|
<div *ngIf="comm_notrequired!=1">
|
|
@@ -19964,9 +19966,11 @@ class FHGuard {
|
|
|
19964
19966
|
if (this.app_s.user_roles != null)
|
|
19965
19967
|
if (this.app_s.user_roles.length > 0)
|
|
19966
19968
|
this.app_s.user_roles = this.app_s.user_roles.substr(1);
|
|
19969
|
+
if (this.app_s.user_roles == null)
|
|
19970
|
+
this.app_s.user_roles = '[NO_RUOLI_CONFIGURATI]';
|
|
19967
19971
|
this.app_s.user_isadmin = data.result_data[0].isadmin;
|
|
19968
19972
|
this.app_s.user = data.result_data[0].username;
|
|
19969
|
-
console.log('this.app_s.user_isadmin ',
|
|
19973
|
+
// console.log('this.app_s.user_isadmin ',this.app_s.user_isadmin);
|
|
19970
19974
|
if (this.app_s.user_isadmin != null)
|
|
19971
19975
|
if (this.app_s.user_isadmin == "1") {
|
|
19972
19976
|
resolve(true);
|
|
@@ -19986,7 +19990,7 @@ class FHGuard {
|
|
|
19986
19990
|
data => {
|
|
19987
19991
|
this.arr_accessi = data.result_data;
|
|
19988
19992
|
for (let i = 0; i < this.arr_accessi.length; i++) {
|
|
19989
|
-
console.log('[' + this.arr_accessi[i].url.split('/')[0] + ']', '-----', '[' + this.routingDestination.split('/')[0] + ']');
|
|
19993
|
+
//console.log('[' + this.arr_accessi[i].url.split('/')[0] + ']', '-----', '[' + this.routingDestination.split('/')[0] + ']');
|
|
19990
19994
|
if (this.arr_accessi[i].type == 'M') {
|
|
19991
19995
|
if ('[' + this.arr_accessi[i].url.split('/')[0] + ']' == '[' + this.routingDestination.split('/')[0] + ']') {
|
|
19992
19996
|
resolve(true);
|