@fluxhub/fluxhub-lib 1.0.260 → 1.0.261
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 +11 -5
- 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/win_riassegna_select_user.html +3 -3
- package/esm2015/lib/wkf_engine/win_riassegna_select_user.js +3 -3
- package/esm2015/lib/wkf_engine/wkfapp.js +10 -4
- package/esm5/lib/wkf_engine/win_riassegna_select_user.js +2 -2
- package/esm5/lib/wkf_engine/wkfapp.js +11 -5
- package/fesm2015/fluxhub-fluxhub-lib.js +12 -6
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +12 -6
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -34,7 +34,7 @@ import { MatDialogRef, MatDialog, DateAdapter, MAT_DATE_LOCALE, MatAutocompleteM
|
|
|
34
34
|
import { __read, __assign, __extends } from 'tslib';
|
|
35
35
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
36
36
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
37
|
-
import { Injectable, Component, Directive,
|
|
37
|
+
import { Injectable, Component, Directive, Inject, PLATFORM_ID, Pipe, Input, Output, EventEmitter, ViewChild, forwardRef, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
|
|
38
38
|
import { Http } from '@angular/http';
|
|
39
39
|
import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
|
|
40
40
|
import { ToastrService } from 'ngx-toastr';
|
|
@@ -5061,7 +5061,7 @@ var win_riassegna_select_user = /** @class */ (function () {
|
|
|
5061
5061
|
};
|
|
5062
5062
|
win_riassegna_select_user.decorators = [
|
|
5063
5063
|
{ type: Component, args: [{
|
|
5064
|
-
template: "\n <mat-toolbar>{{title}}\n </mat-toolbar>\n\n <div mat-dialog-content style=\"min-width:700px\">\n\n <div style=\"height:370px;\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <br><br><br>\n\n <mat-form-field>\n <textarea matInput placeholder=\"Commento {{nota_commento}}\" [
|
|
5064
|
+
template: "\n <mat-toolbar>{{title}}\n </mat-toolbar>\n\n <div mat-dialog-content style=\"min-width:700px\">\n\n <div style=\"height:370px;\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <br><br><br>\n\n <mat-form-field [hidden]=\"commento_hidden\" >\n <textarea matInput placeholder=\"Commento {{nota_commento}}\" [(ngModel)]=\"nota\"\n rows=\"6\"></textarea>\n\n </mat-form-field>\n\n \n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button> \n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
|
|
5065
5065
|
}] }
|
|
5066
5066
|
];
|
|
5067
5067
|
/** @nocollapse */
|
|
@@ -5293,9 +5293,9 @@ wkfapp = /** @class */ (function () {
|
|
|
5293
5293
|
var _this = this;
|
|
5294
5294
|
/** @type {?} */
|
|
5295
5295
|
var arrAutori = new Array();
|
|
5296
|
-
for (var
|
|
5297
|
-
if (this.livs_adm[
|
|
5298
|
-
arrAutori.push(this.livs_adm[
|
|
5296
|
+
for (var i_1 = 0; i_1 < this.livs_adm.length; i_1++)
|
|
5297
|
+
if (this.livs_adm[i_1].livello == this.os_r.livello && this.livs_adm[i_1].notifica == 0)
|
|
5298
|
+
arrAutori.push(this.livs_adm[i_1]);
|
|
5299
5299
|
// Alert.show("Confermi di voler recuperare il documento "+ wing.tbl_wkf.sRow.codice+" - "+ wing.tbl_wkf.sRow.oggetto+"?", "Conferma operazione", 3, this, okelimc1);
|
|
5300
5300
|
/** @type {?} */
|
|
5301
5301
|
var dialogRef = this.dialog.open(win_riassegna_select_user, { 'disableClose': true });
|
|
@@ -5304,7 +5304,13 @@ wkfapp = /** @class */ (function () {
|
|
|
5304
5304
|
if (arrAutori[i].idp != null && arrAutori[i].username == null)
|
|
5305
5305
|
arrAutori[i].username = arrAutori[i].idp;
|
|
5306
5306
|
}
|
|
5307
|
-
|
|
5307
|
+
dialogRef.componentInstance.commento_hidden = false;
|
|
5308
|
+
dialogRef.componentInstance.comm_notrequired = false;
|
|
5309
|
+
if (this.os_r.commenti_opzionali != null)
|
|
5310
|
+
if (this.os_r.commenti_opzionali != 0) {
|
|
5311
|
+
dialogRef.componentInstance.commento_hidden = true;
|
|
5312
|
+
dialogRef.componentInstance.comm_notrequired = true;
|
|
5313
|
+
}
|
|
5308
5314
|
dialogRef.componentInstance.arrAutori = arrAutori;
|
|
5309
5315
|
dialogRef.componentInstance.title = "Riassegnazione documento: " + this.get_grid().sRow.codice + " - " + this.get_grid().sRow.oggetto;
|
|
5310
5316
|
dialogRef.afterClosed().subscribe((/**
|