@fluxhub/fluxhub-lib 10.0.160 → 10.0.162
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 +27 -27
- 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/fhconfirm.js +4 -4
- package/esm2015/lib/controls/fhgrid.js +4 -4
- package/esm2015/lib/controls/fhgrid_json.js +3 -3
- package/esm2015/lib/controls/fhupload.js +4 -4
- package/esm2015/lib/controls/fhupload_s3.js +3 -3
- package/esm2015/lib/controls/fhuploadpanel.js +3 -3
- package/esm2015/lib/controls/fhuploadpanel_s3.js +3 -3
- package/esm2015/lib/fluxhub-lib.module.js +5 -5
- package/esm2015/lib/form_builder/form_builder.js +3 -3
- package/esm2015/lib/wkf_engine/win_commenti.js +6 -4
- package/esm2015/lib/wkf_engine/win_log.js +3 -3
- package/esm2015/lib/wkf_engine/wkfapp.js +3 -3
- package/esm2015/public_api.js +2 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +22 -20
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhconfirm.d.ts +3 -3
- package/package.json +1 -1
- package/public_api.d.ts +1 -1
|
@@ -260,8 +260,8 @@
|
|
|
260
260
|
/**
|
|
261
261
|
* A Sample of how simple it is to create a new window, with its own injects.
|
|
262
262
|
*/
|
|
263
|
-
var
|
|
264
|
-
function
|
|
263
|
+
var fh_win_confirm = /** @class */ (function () {
|
|
264
|
+
function fh_win_confirm(dialogRef, app_s, conf, toast) {
|
|
265
265
|
this.dialogRef = dialogRef;
|
|
266
266
|
this.app_s = app_s;
|
|
267
267
|
this.conf = conf;
|
|
@@ -292,32 +292,32 @@
|
|
|
292
292
|
if (conf.insert_comment_msg != null)
|
|
293
293
|
this.insert_comment_msg = conf.insert_comment_msg;
|
|
294
294
|
}
|
|
295
|
-
|
|
295
|
+
fh_win_confirm.prototype.ok = function () {
|
|
296
296
|
if (this.b_commento && this.commento == "") {
|
|
297
297
|
this.toast.error(this.insert_comment_msg);
|
|
298
298
|
return;
|
|
299
299
|
}
|
|
300
300
|
this.dialogRef.close(true);
|
|
301
301
|
};
|
|
302
|
-
|
|
302
|
+
fh_win_confirm.prototype.close = function () {
|
|
303
303
|
this.dialogRef.close(null);
|
|
304
304
|
};
|
|
305
|
-
|
|
305
|
+
fh_win_confirm.prototype.setTitle = function (texto) {
|
|
306
306
|
this.title = texto;
|
|
307
307
|
};
|
|
308
|
-
|
|
308
|
+
fh_win_confirm.prototype.setMsg = function (texto) {
|
|
309
309
|
this.msg = texto;
|
|
310
310
|
};
|
|
311
|
-
|
|
312
|
-
return
|
|
311
|
+
fh_win_confirm.prototype.ngAfterViewInit = function () { };
|
|
312
|
+
return fh_win_confirm;
|
|
313
313
|
}());
|
|
314
|
-
|
|
314
|
+
fh_win_confirm.decorators = [
|
|
315
315
|
{ type: i0.Component, args: [{
|
|
316
316
|
template: "\n <h1 mat-dialog-title>{{ title }}</h1>\n <div mat-dialog-content>\n <div fxLayout=\"column\" fxLayoutGap=\"15px\">\n {{ msg }}\n <div style=\"width:400px\" [hidden]=\"!b_commento\"><br /></div>\n <div style=\"width:400px\" [hidden]=\"!b_commento\">\n <FHTextArea\n label=\"{{ commento_mgs }}\"\n required\n [(ngModel)]=\"commento\"\n ></FHTextArea>\n </div>\n </div>\n </div>\n\n <div mat-dialog-actions>\n <button mat-flat-button (click)=\"ok()\" color=\"primary\">\n {{ confirm_mgs }}\n </button>\n <button mat-flat-button (click)=\"dialogRef.close(false)\" color=\"warn\">\n {{ annulla_mgs }}\n </button>\n </div>\n ",
|
|
317
317
|
styles: [""]
|
|
318
318
|
},] }
|
|
319
319
|
];
|
|
320
|
-
|
|
320
|
+
fh_win_confirm.ctorParameters = function () { return [
|
|
321
321
|
{ type: dialog.MatDialogRef },
|
|
322
322
|
{ type: AppService },
|
|
323
323
|
{ type: FHConfirmValues, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] },
|
|
@@ -1696,7 +1696,7 @@
|
|
|
1696
1696
|
var _this = this;
|
|
1697
1697
|
localStorage.setItem(this._appservice.COMPANY_KEY + "title_dialog", "Conferma Operazione");
|
|
1698
1698
|
localStorage.setItem(this._appservice.COMPANY_KEY + "msg_dialog", "Confermi l'eliminazione dell'elemento?");
|
|
1699
|
-
var dialogRef = this.dialog.open(
|
|
1699
|
+
var dialogRef = this.dialog.open(fh_win_confirm);
|
|
1700
1700
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
1701
1701
|
if (result) {
|
|
1702
1702
|
var p = new QParam();
|
|
@@ -1991,7 +1991,7 @@
|
|
|
1991
1991
|
var _this = this;
|
|
1992
1992
|
localStorage.setItem(this.app_s.COMPANY_KEY + "title_dialog", "Conferma Operazione");
|
|
1993
1993
|
localStorage.setItem(this.app_s.COMPANY_KEY + "msg_dialog", "Confermi l'eliminazione dell'elemento?");
|
|
1994
|
-
var dialogRef = this.dialog.open(
|
|
1994
|
+
var dialogRef = this.dialog.open(fh_win_confirm);
|
|
1995
1995
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
1996
1996
|
if (result) {
|
|
1997
1997
|
var p = new QParam();
|
|
@@ -4202,7 +4202,7 @@
|
|
|
4202
4202
|
var _this = this;
|
|
4203
4203
|
localStorage.setItem(this._appservice.COMPANY_KEY + "title_dialog", "Conferma Operazione");
|
|
4204
4204
|
localStorage.setItem(this._appservice.COMPANY_KEY + "msg_dialog", "Confermi l'eliminazione dell'elemento?");
|
|
4205
|
-
var dialogRef = this.dialog.open(
|
|
4205
|
+
var dialogRef = this.dialog.open(fh_win_confirm);
|
|
4206
4206
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
4207
4207
|
if (result) {
|
|
4208
4208
|
var p = new QParam();
|
|
@@ -4494,14 +4494,13 @@
|
|
|
4494
4494
|
FHUploadComponent.prototype.onFileDrop = function (o) {
|
|
4495
4495
|
};
|
|
4496
4496
|
FHUploadComponent.prototype.fileOverBase = function (e) {
|
|
4497
|
-
console.log(e);
|
|
4498
4497
|
this.hasBaseDropZoneOver = e;
|
|
4499
4498
|
};
|
|
4500
4499
|
FHUploadComponent.prototype.del_doc = function () {
|
|
4501
4500
|
var _this = this;
|
|
4502
4501
|
localStorage.setItem(this.app_s.COMPANY_KEY + "title_dialog", "Conferma Operazione");
|
|
4503
4502
|
localStorage.setItem(this.app_s.COMPANY_KEY + "msg_dialog", "Confermi l'eliminazione dell'elemento?");
|
|
4504
|
-
var dialogRef = this.dialog.open(
|
|
4503
|
+
var dialogRef = this.dialog.open(fh_win_confirm);
|
|
4505
4504
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
4506
4505
|
if (result) {
|
|
4507
4506
|
var p = new QParam();
|
|
@@ -4557,6 +4556,7 @@
|
|
|
4557
4556
|
_this.uploader.onCompleteAll = function () {
|
|
4558
4557
|
_this.loading = false;
|
|
4559
4558
|
_this.upload_ended.emit(_this.last_result);
|
|
4559
|
+
_this.ref_allegato();
|
|
4560
4560
|
if (_this.dialogRef != null)
|
|
4561
4561
|
if (_this.dialogRef.componentInstance != null) {
|
|
4562
4562
|
_this.dialogRef.componentInstance.update_progess(100);
|
|
@@ -5464,7 +5464,7 @@
|
|
|
5464
5464
|
localStorage.setItem(this.m_appService.COMPANY_KEY + "msg_dialog", "Confermi di voler cancellare la configurazione " +
|
|
5465
5465
|
this.gf.getDescri() +
|
|
5466
5466
|
"?");
|
|
5467
|
-
var dialogRef = this.m_dialog.open(
|
|
5467
|
+
var dialogRef = this.m_dialog.open(fh_win_confirm, {
|
|
5468
5468
|
disableClose: true,
|
|
5469
5469
|
});
|
|
5470
5470
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
@@ -5499,7 +5499,7 @@
|
|
|
5499
5499
|
localStorage.setItem(this.m_appService.COMPANY_KEY + "msg_dialog", "Confermi di voler sovrascrivere la configurazione " +
|
|
5500
5500
|
this.gf.getDescri() +
|
|
5501
5501
|
"?");
|
|
5502
|
-
var dialogRef = this.m_dialog.open(
|
|
5502
|
+
var dialogRef = this.m_dialog.open(fh_win_confirm, {
|
|
5503
5503
|
disableClose: true,
|
|
5504
5504
|
});
|
|
5505
5505
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
@@ -10254,7 +10254,7 @@
|
|
|
10254
10254
|
var _this = this;
|
|
10255
10255
|
localStorage.setItem(this.m_appService.COMPANY_KEY + "title_dialog", "Conferma Operazione");
|
|
10256
10256
|
localStorage.setItem(this.m_appService.COMPANY_KEY + "msg_dialog", "Confermi di voler annullare l'inserimento del commento?");
|
|
10257
|
-
var dialogRef1 = this.m_dialogRef.open(
|
|
10257
|
+
var dialogRef1 = this.m_dialogRef.open(fh_win_confirm);
|
|
10258
10258
|
dialogRef1.afterClosed().subscribe(function (result) {
|
|
10259
10259
|
if (result) {
|
|
10260
10260
|
_this.nota = "";
|
|
@@ -10274,7 +10274,7 @@
|
|
|
10274
10274
|
}());
|
|
10275
10275
|
win_commenti.decorators = [
|
|
10276
10276
|
{ type: i0.Component, args: [{
|
|
10277
|
-
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 color=\"primary\"\n >{{ title }}\n <span class=\"fill-remaining-space\"></span>\n <button color=\"
|
|
10277
|
+
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 color=\"primary\"\n >{{ title }}\n <span class=\"fill-remaining-space\"></span>\n <div>\n <button mat-mat-flat-button color=\"accent\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n INSERISCI\n </button>\n </div>\n </mat-toolbar>\n <br />\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <mat-form-field *ngIf=\"b_edit\" appearance=\"outline\" floatLabel=\"always\"\n ><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 > \n <button mat-flat-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button\n > \n <mat-checkbox\n [disabled]=\"not_comm_disabled\"\n [(ngModel)]=\"not_comm\"\n [hidden]=\"\n notifica_commenti == 0 || (notifica_commenti == 1 && lettori == '')\n \"\n >\n Notifica Interessati\n </mat-checkbox>\n </div>\n <section class=\"bs\" *ngIf=\"!b_edit\">\n <table style=\"min-width: 100%\" class=\"fh_table\">\n <thead>\n <tr>\n <th>Commento</th>\n <th width=\"15%\">Autore</th>\n <th width=\"15%\">Data</th>\n <th></th>\n <th></th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"\n let app of commenti_list;\n let odd = odd;\n let even = even;\n index as i\n \"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td [innerHTML]=\"app.v_commento\"></td>\n <td>{{ app.COGNOME + \" \" + app.NOME }}</td>\n <td>{{ app.data_creazione | date: \"dd/MM/yyyy HH:mm:ss\" }}</td>\n <td>\n <mat-icon\n [matTooltip]=\"app.dest_notif\"\n *ngIf=\"app.dest_notif != null && app.dest_notif != ''\"\n >mail</mat-icon\n >\n </td>\n <td>\n <mat-icon\n *ngIf=\"\n i == 0 &&\n app.creatore ==\n m_appService.getState().wkf_doc_info.curr_user\n \"\n (click)=\"edit_comm(app)\"\n >edit\n </mat-icon>\n </td>\n </tr>\n </tbody>\n </table>\n </section>\n </div>\n <br />\n\n <div style=\"width:100%;text-align:center;\" *ngIf=\"!b_edit\">\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n CHIUDI\n </button>\n </div>\n ",
|
|
10278
10278
|
styles: [""]
|
|
10279
10279
|
},] }
|
|
10280
10280
|
];
|
|
@@ -10427,7 +10427,7 @@
|
|
|
10427
10427
|
var _this = this;
|
|
10428
10428
|
localStorage.setItem(this.m_appService.COMPANY_KEY + "title_dialog", "Conferma Operazione");
|
|
10429
10429
|
localStorage.setItem(this.m_appService.COMPANY_KEY + "msg_dialog", "Confermi di voler annullare l'inserimento del commento?");
|
|
10430
|
-
var dialogRef1 = this.m_dialogRef.open(
|
|
10430
|
+
var dialogRef1 = this.m_dialogRef.open(fh_win_confirm);
|
|
10431
10431
|
dialogRef1.afterClosed().subscribe(function (result) {
|
|
10432
10432
|
if (result) {
|
|
10433
10433
|
_this.nota = "";
|
|
@@ -11285,7 +11285,7 @@
|
|
|
11285
11285
|
localStorage.setItem(this.m_appService.COMPANY_KEY + "msg_dialog", "Confermi di voler sovrascrivere la configurazione " +
|
|
11286
11286
|
this.gf.getDescri() +
|
|
11287
11287
|
"?");
|
|
11288
|
-
var dialogRef = this.m_dialog.open(
|
|
11288
|
+
var dialogRef = this.m_dialog.open(fh_win_confirm, {
|
|
11289
11289
|
disableClose: true,
|
|
11290
11290
|
});
|
|
11291
11291
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
@@ -12228,7 +12228,7 @@
|
|
|
12228
12228
|
};
|
|
12229
12229
|
FormBuilderComponent.prototype.del_item = function (uiid_obj) {
|
|
12230
12230
|
var _this = this;
|
|
12231
|
-
var dialogRef = this._dialog.open(
|
|
12231
|
+
var dialogRef = this._dialog.open(fh_win_confirm, {
|
|
12232
12232
|
disableClose: true,
|
|
12233
12233
|
});
|
|
12234
12234
|
setTimeout(function () {
|
|
@@ -14064,7 +14064,7 @@
|
|
|
14064
14064
|
FHUploadComponent,
|
|
14065
14065
|
FHGridComponent,
|
|
14066
14066
|
FHComboboxComponent,
|
|
14067
|
-
|
|
14067
|
+
fh_win_confirm,
|
|
14068
14068
|
FHAutoCompleteComponent,
|
|
14069
14069
|
FHDatePickerComponent,
|
|
14070
14070
|
NumericEditorComponent,
|
|
@@ -14127,7 +14127,7 @@
|
|
|
14127
14127
|
wkf_header_bar,
|
|
14128
14128
|
FHGridComponent,
|
|
14129
14129
|
FHComboboxComponent,
|
|
14130
|
-
|
|
14130
|
+
fh_win_confirm,
|
|
14131
14131
|
FHAutoCompleteComponent,
|
|
14132
14132
|
FHDatePickerComponent,
|
|
14133
14133
|
NumericEditorComponent,
|
|
@@ -14203,7 +14203,7 @@
|
|
|
14203
14203
|
win_riassegna_select_user,
|
|
14204
14204
|
win_commento_sel_notif,
|
|
14205
14205
|
FHPickListComponent,
|
|
14206
|
-
|
|
14206
|
+
fh_win_confirm,
|
|
14207
14207
|
fh_win_time_slider,
|
|
14208
14208
|
fh_win_user_picker,
|
|
14209
14209
|
ApprovaGridComponent,
|
|
@@ -14472,7 +14472,7 @@
|
|
|
14472
14472
|
localStorage.setItem(this.app_s.COMPANY_KEY + "msg_dialog", "Confermi di voler annullare il documento numero: " +
|
|
14473
14473
|
this.get_grid().sRow.codice +
|
|
14474
14474
|
"?");
|
|
14475
|
-
var dialogRef = this.dialog.open(
|
|
14475
|
+
var dialogRef = this.dialog.open(fh_win_confirm, {
|
|
14476
14476
|
disableClose: true,
|
|
14477
14477
|
});
|
|
14478
14478
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
@@ -16970,7 +16970,6 @@
|
|
|
16970
16970
|
exports.FHAutoCompleteComponent = FHAutoCompleteComponent;
|
|
16971
16971
|
exports.FHCheckBox = FHCheckBox;
|
|
16972
16972
|
exports.FHComboboxComponent = FHComboboxComponent;
|
|
16973
|
-
exports.FHConfirmComponent = FHConfirmComponent;
|
|
16974
16973
|
exports.FHConfirmValues = FHConfirmValues;
|
|
16975
16974
|
exports.FHCurrencyFieldComponent = FHCurrencyFieldComponent;
|
|
16976
16975
|
exports.FHCurrencyFormatterDirective = FHCurrencyFormatterDirective;
|
|
@@ -17024,6 +17023,7 @@
|
|
|
17024
17023
|
exports.fh_win_ask_number = fh_win_ask_number;
|
|
17025
17024
|
exports.fh_win_ask_test = fh_win_ask_test;
|
|
17026
17025
|
exports.fh_win_combo = fh_win_combo;
|
|
17026
|
+
exports.fh_win_confirm = fh_win_confirm;
|
|
17027
17027
|
exports.fh_win_list = fh_win_list;
|
|
17028
17028
|
exports.fh_win_mappa = fh_win_mappa;
|
|
17029
17029
|
exports.fh_win_output = fh_win_output;
|