@fluxhub/fluxhub-lib 1.0.461 → 1.0.463
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 -17
- 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/wkf_engine/win_log.js +18 -25
- package/esm5/lib/wkf_engine/win_log.js +18 -24
- package/fesm2015/fluxhub-fluxhub-lib.js +17 -18
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +17 -17
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/win_log.d.ts +1 -2
- package/package.json +1 -1
|
@@ -13584,8 +13584,7 @@ var win_info_doc = /** @class */ (function () {
|
|
|
13584
13584
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
13585
13585
|
*/
|
|
13586
13586
|
var win_log = /** @class */ (function () {
|
|
13587
|
-
function win_log(
|
|
13588
|
-
this.appService = appService;
|
|
13587
|
+
function win_log(dialogRef, m_dialogRef, m_appService, toastr, _dataService, m_wkf, m_file) {
|
|
13589
13588
|
this.dialogRef = dialogRef;
|
|
13590
13589
|
this.m_dialogRef = m_dialogRef;
|
|
13591
13590
|
this.m_appService = m_appService;
|
|
@@ -13697,8 +13696,8 @@ var win_log = /** @class */ (function () {
|
|
|
13697
13696
|
*/
|
|
13698
13697
|
function () {
|
|
13699
13698
|
var _this = this;
|
|
13700
|
-
localStorage.setItem(this.
|
|
13701
|
-
localStorage.setItem(this.
|
|
13699
|
+
localStorage.setItem(this.m_appService.COMPANY_KEY + "title_dialog", 'Conferma Operazione');
|
|
13700
|
+
localStorage.setItem(this.m_appService.COMPANY_KEY + "msg_dialog", "Confermi di voler annullare l'inserimento del commento?");
|
|
13702
13701
|
/** @type {?} */
|
|
13703
13702
|
var dialogRef1 = this
|
|
13704
13703
|
.m_dialogRef
|
|
@@ -13786,7 +13785,7 @@ var win_log = /** @class */ (function () {
|
|
|
13786
13785
|
_this.modeler = new NavigatedViewer({
|
|
13787
13786
|
container: '#canvas',
|
|
13788
13787
|
width: '97%',
|
|
13789
|
-
height: _this.
|
|
13788
|
+
height: _this.m_appService.getState().body_height2,
|
|
13790
13789
|
readonly: true,
|
|
13791
13790
|
});
|
|
13792
13791
|
_this.load_graph();
|
|
@@ -13975,12 +13974,13 @@ var win_log = /** @class */ (function () {
|
|
|
13975
13974
|
timeOut: 1000,
|
|
13976
13975
|
progressBar: true
|
|
13977
13976
|
});
|
|
13977
|
+
console.log('insert_update_comment !!!!');
|
|
13978
13978
|
/** @type {?} */
|
|
13979
|
-
var
|
|
13980
|
-
|
|
13981
|
-
|
|
13982
|
-
|
|
13983
|
-
_this.m_file.doQuery(
|
|
13979
|
+
var px = new FSInput();
|
|
13980
|
+
px.command = "exec_app";
|
|
13981
|
+
px.p1 = "insert_update_comment";
|
|
13982
|
+
px.p2 = _this.m_appService.getState().wkf_doc_info.uiid_app + '|' + _this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
13983
|
+
_this.m_file.doQuery(px);
|
|
13984
13984
|
_this.b_edit = false;
|
|
13985
13985
|
if (sdest != "")
|
|
13986
13986
|
_this.sendEMail_ex(_this.m_appService.getState().wkf_doc_info.curr_user, sdest, _this.subject.split("<OP>").join("E' stato inserito un commento"), "<br><br>Commento inserito: <br>" + _this.nota.split('\n').join("<br>"), _this.m_appService.getState().wkf_doc_info.uiid_app, _this.m_appService.getState().wkf_doc_info.uiid_doc, _this.link, _this.codice_doc, '');
|
|
@@ -14005,12 +14005,13 @@ var win_log = /** @class */ (function () {
|
|
|
14005
14005
|
timeOut: 1000,
|
|
14006
14006
|
progressBar: true
|
|
14007
14007
|
});
|
|
14008
|
+
console.log('insert_update_comment !!!!');
|
|
14008
14009
|
/** @type {?} */
|
|
14009
|
-
var
|
|
14010
|
-
|
|
14011
|
-
|
|
14012
|
-
|
|
14013
|
-
_this.m_file.doQuery(
|
|
14010
|
+
var px = new FSInput();
|
|
14011
|
+
px.command = "exec_app";
|
|
14012
|
+
px.p1 = "insert_update_comment";
|
|
14013
|
+
px.p2 = _this.m_appService.getState().wkf_doc_info.uiid_app + '|' + _this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
14014
|
+
_this.m_file.doQuery(px);
|
|
14014
14015
|
_this.b_edit = false;
|
|
14015
14016
|
if (sdest != "")
|
|
14016
14017
|
_this.sendEMail_ex(_this.m_appService.getState().wkf_doc_info.curr_user, sdest, _this.subject.split("<OP>").join("E' stato modificato un commento"), "<br><br>Commento modificato: <br>" + _this.nota.split('\n').join("<br>"), _this.m_appService.getState().wkf_doc_info.uiid_app, _this.m_appService.getState().wkf_doc_info.uiid_doc, _this.link, _this.codice_doc, '');
|
|
@@ -14021,13 +14022,12 @@ var win_log = /** @class */ (function () {
|
|
|
14021
14022
|
};
|
|
14022
14023
|
win_log.decorators = [
|
|
14023
14024
|
{ type: Component, args: [{
|
|
14024
|
-
template: "\n\n <mat-card-content>\n \n <mat-tab-group #zz style=\"width:100%\"> \n \n <mat-tab label=\"DIAGRAMMA\" style=\"width:100%;height:100%\" *ngIf=\"b_flussook\">\n <mat-toolbar color=\"primary\" style=\"width:90%;\"><div fxFlex=\"20\">WORKFLOW</div>\n <div fxLayout=\"row\" fxLayoutAlign=\"center end\" fxFlex=\"90\" >\n \n <button mat-flat-button color=\"accent\" (click)=\"dialogRef.close('')\">\n <mat-icon>close</mat-icon>\n CHIUDI\n </button>\n </div>\n </mat-toolbar>\n <div [style.height]=\"(m_appService.getState().body_h-190)+'px'\" style=\"overflow:auto;\" >\n <div style=\"width:100%;height:100%\" id=\"canvas\"></div>\n </div>\n\n </mat-tab>\n\n <mat-tab label=\"LOGS\">\n <mat-toolbar color=\"primary\" style=\"width:90%;\"><div fxFlex=\"20\"> {{title}}</div>\n <div fxLayout=\"row\" fxLayoutAlign=\"center end\" fxFlex=\"90\" >\n <button mat-flat-button color=\"accent\" (click)=\"ins()\" *ngIf=\"!b_edit && commenti_insert\">\n <mat-icon>note_add</mat-icon>\n INSERISCI\n </button> \n <button mat-flat-button color=\"accent\" (click)=\"dialogRef.close('')\">\n <mat-icon>close</mat-icon>\n CHIUDI\n </button>\n </div>\n </mat-toolbar>\n <br>\n <div [style.height]=\"(m_appService.getState().body_h-190)+'px'\" style=\"overflow:auto;width:90%\">\n \n <section class=\"bs\" *ngIf=\"b_edit\">\n <br>\n <mat-form-field *ngIf=\"b_edit\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Commento</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div *ngIf=\"b_edit\" fxLayoutAlign=\"center center\" fxLayout=\"row\">\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 <mat-checkbox [disabled]=\"not_comm_disabled\" [(ngModel)]=\"not_comm\" [hidden]=\"notifica_commenti==0 || (notifica_commenti==1 && lettori=='')\">\n Notifica Interessati\n </mat-checkbox>\n </div>\n <br><br>\n </section>\n <table *ngIf=\"!b_edit\" class=\"fh_table\" style=\"width:90%\">\n <thead>\n <tr>\n <th width=\"15%\">Data</th>\n <th width=\"15%\">Utente</th>\n <th>Operazione</th>\n <td></td>\n <td></td>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let app of logs;let odd=odd; let even=even;index as i\" [ngClass]=\"{ odd: odd, even: even }\">\n\n <td>{{app.data_creazione | date: 'dd/MM/yyyy HH:mm:ss'}}</td>\n <td>{{app.nc}}</td>\n <td
|
|
14025
|
+
template: "\n\n <mat-card-content>\n \n <mat-tab-group #zz style=\"width:100%\"> \n \n <mat-tab label=\"DIAGRAMMA\" style=\"width:100%;height:100%\" *ngIf=\"b_flussook\">\n <mat-toolbar color=\"primary\" style=\"width:90%;\"><div fxFlex=\"20\">WORKFLOW</div>\n <div fxLayout=\"row\" fxLayoutAlign=\"center end\" fxFlex=\"90\" >\n \n <button mat-flat-button color=\"accent\" (click)=\"dialogRef.close('')\">\n <mat-icon>close</mat-icon>\n CHIUDI\n </button>\n </div>\n </mat-toolbar>\n <div [style.height]=\"(m_appService.getState().body_h-190)+'px'\" style=\"overflow:auto;\" >\n <div style=\"width:100%;height:100%\" id=\"canvas\"></div>\n </div>\n\n </mat-tab>\n\n <mat-tab label=\"LOGS\">\n <mat-toolbar color=\"primary\" style=\"width:90%;\"><div fxFlex=\"20\"> {{title}}</div>\n <div fxLayout=\"row\" fxLayoutAlign=\"center end\" fxFlex=\"90\" >\n <button mat-flat-button color=\"accent\" (click)=\"ins()\" *ngIf=\"!b_edit && commenti_insert\">\n <mat-icon>note_add</mat-icon>\n INSERISCI\n </button> \n <button mat-flat-button color=\"accent\" (click)=\"dialogRef.close('')\">\n <mat-icon>close</mat-icon>\n CHIUDI\n </button>\n </div>\n </mat-toolbar>\n <br>\n <div [style.height]=\"(m_appService.getState().body_h-190)+'px'\" style=\"overflow:auto;width:90%\">\n \n <section class=\"bs\" *ngIf=\"b_edit\">\n <br>\n <mat-form-field *ngIf=\"b_edit\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Commento</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div *ngIf=\"b_edit\" fxLayoutAlign=\"center center\" fxLayout=\"row\">\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 <mat-checkbox [disabled]=\"not_comm_disabled\" [(ngModel)]=\"not_comm\" [hidden]=\"notifica_commenti==0 || (notifica_commenti==1 && lettori=='')\">\n Notifica Interessati\n </mat-checkbox>\n </div>\n <br><br>\n </section>\n <table *ngIf=\"!b_edit\" class=\"fh_table\" style=\"width:90%\">\n <thead>\n <tr>\n <th width=\"15%\">Data</th>\n <th width=\"15%\">Utente</th>\n <th>Operazione</th>\n <td></td>\n <td></td>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let app of logs;let odd=odd; let even=even;index as i\" [ngClass]=\"{ odd: odd, even: even }\">\n\n <td>{{app.data_creazione | date: 'dd/MM/yyyy HH:mm:ss'}}</td>\n <td>{{app.nc}}</td>\n <td [innerHTML]=\"app.v_commento\"></td>\n <td><mat-icon [matTooltip]=\"app.dest_notif\" *ngIf=\"app.dest_notif!=null && app.dest_notif!=''\">mail</mat-icon></td>\n <td>\n <mat-icon *ngIf=\"i==0 && app.creatore==m_appService.getState().wkf_doc_info.curr_user\"\n (click)=\"edit_comm(app)\">edit\n </mat-icon>\n </td>\n </tr>\n </tbody>\n </table>\n \n <br>\n </div>\n \n </mat-tab>\n \n </mat-tab-group>\n </mat-card-content>\n \n ",
|
|
14025
14026
|
styles: ["\n\n\n "]
|
|
14026
14027
|
}] }
|
|
14027
14028
|
];
|
|
14028
14029
|
/** @nocollapse */
|
|
14029
14030
|
win_log.ctorParameters = function () { return [
|
|
14030
|
-
{ type: AppService },
|
|
14031
14031
|
{ type: MatDialogRef },
|
|
14032
14032
|
{ type: MatDialog },
|
|
14033
14033
|
{ type: AppService },
|