@fluxhub/fluxhub-lib 10.0.552 → 10.0.554
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 +78 -78
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/fluxhub-fluxhub-lib.js +39 -39
- package/esm2015/lib/controls/fhcombobox.js +7 -6
- package/esm2015/lib/controls/fhgrid_toolbar.js +26 -133
- package/esm2015/lib/controls/fhgridcolumn.js +1 -0
- package/esm2015/lib/controls/fhhelpbutton.js +1 -1
- package/esm2015/lib/fluxhub-lib.module.js +2 -7
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +1 -1
- package/esm2015/lib/wkf_engine_v2/wkfapp.js +2 -1
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +2 -24
- package/fesm2015/fluxhub-fluxhub-lib.js +34 -158
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.d.ts +39 -39
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -359,6 +359,8 @@
|
|
|
359
359
|
return extendStatics(d, b);
|
|
360
360
|
};
|
|
361
361
|
function __extends(d, b) {
|
|
362
|
+
if (typeof b !== "function" && b !== null)
|
|
363
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
362
364
|
extendStatics(d, b);
|
|
363
365
|
function __() { this.constructor = d; }
|
|
364
366
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -544,11 +546,13 @@
|
|
|
544
546
|
}
|
|
545
547
|
return ar;
|
|
546
548
|
}
|
|
549
|
+
/** @deprecated */
|
|
547
550
|
function __spread() {
|
|
548
551
|
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
549
552
|
ar = ar.concat(__read(arguments[i]));
|
|
550
553
|
return ar;
|
|
551
554
|
}
|
|
555
|
+
/** @deprecated */
|
|
552
556
|
function __spreadArrays() {
|
|
553
557
|
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
554
558
|
s += arguments[i].length;
|
|
@@ -557,7 +561,17 @@
|
|
|
557
561
|
r[k] = a[j];
|
|
558
562
|
return r;
|
|
559
563
|
}
|
|
560
|
-
|
|
564
|
+
function __spreadArray(to, from, pack) {
|
|
565
|
+
if (pack || arguments.length === 2)
|
|
566
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
567
|
+
if (ar || !(i in from)) {
|
|
568
|
+
if (!ar)
|
|
569
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
570
|
+
ar[i] = from[i];
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
574
|
+
}
|
|
561
575
|
function __await(v) {
|
|
562
576
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
563
577
|
}
|
|
@@ -622,18 +636,21 @@
|
|
|
622
636
|
function __importDefault(mod) {
|
|
623
637
|
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
624
638
|
}
|
|
625
|
-
function __classPrivateFieldGet(receiver,
|
|
626
|
-
if (!
|
|
627
|
-
throw new TypeError("
|
|
628
|
-
|
|
629
|
-
|
|
639
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
640
|
+
if (kind === "a" && !f)
|
|
641
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
642
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
643
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
644
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
630
645
|
}
|
|
631
|
-
function __classPrivateFieldSet(receiver,
|
|
632
|
-
if (
|
|
633
|
-
throw new TypeError("
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
646
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
647
|
+
if (kind === "m")
|
|
648
|
+
throw new TypeError("Private method is not writable");
|
|
649
|
+
if (kind === "a" && !f)
|
|
650
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
651
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
652
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
653
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
637
654
|
}
|
|
638
655
|
|
|
639
656
|
var obj_diff = /** @class */ (function () {
|
|
@@ -7615,9 +7632,12 @@
|
|
|
7615
7632
|
};
|
|
7616
7633
|
FHComboboxComponent.prototype.doFill = function () {
|
|
7617
7634
|
var _this = this;
|
|
7618
|
-
|
|
7619
|
-
|
|
7620
|
-
|
|
7635
|
+
if (this.load_delay != 0)
|
|
7636
|
+
setTimeout(function () {
|
|
7637
|
+
_this.fillCombo();
|
|
7638
|
+
}, this.load_delay);
|
|
7639
|
+
else
|
|
7640
|
+
this.fillCombo();
|
|
7621
7641
|
};
|
|
7622
7642
|
FHComboboxComponent.prototype.ngAfterViewInit = function () {
|
|
7623
7643
|
var _this = this;
|
|
@@ -7628,9 +7648,7 @@
|
|
|
7628
7648
|
setTimeout(function () { _this.is_loaded = true; }, 1000);
|
|
7629
7649
|
return;
|
|
7630
7650
|
}
|
|
7631
|
-
|
|
7632
|
-
_this.fillCombo();
|
|
7633
|
-
}, _this.load_delay);
|
|
7651
|
+
_this.doFill();
|
|
7634
7652
|
}
|
|
7635
7653
|
else {
|
|
7636
7654
|
_this.errorMsg = "";
|
|
@@ -12731,7 +12749,7 @@
|
|
|
12731
12749
|
FHGridToolBarComponent.decorators = [
|
|
12732
12750
|
{ type: i0.Component, args: [{
|
|
12733
12751
|
selector: "FHGridToolBar",
|
|
12734
|
-
template: "\n\n <div\n *ngIf=\"type == 'WKF_NO_EDIT'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"end center\">\n <button\n mat-flat-button\n color=\"warn\"\n mat-button\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n *ngIf=\"\n toolbar_wkfapp?.is_Supervisor ||\n toolbar_wkfapp?.is_Admin ||\n toolbar_wkfapp?.is_PowerUser\n \"\n >\n <mat-icon>admin_panel_settings</mat-icon> {{\n \"Gestione\" | translate\n }}\n </button>\n <mat-menu #gest_menu=\"matMenu\">\n <button [hidden]=\"sRow==null\"\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"annulla_richiesta()\"\n >\n {{ \"ANNULLA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"recupera_richiesta()\"\n >\n {{ \"RECUPERA DOCUMENTO\" | translate }}\n </button>\n <button [hidden]=\"sRow==null\"\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"riassegna_richiesta()\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin\"\n >\n {{ \"RIASSEGNA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item [hidden]=\"sRow==null\"\n style=\"background-color: #F5F5F5\"\n (click)=\"sostituisci_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"SOSTITUISCI UTENTE\" | translate }}\n </button>\n <button\n mat-menu-item [hidden]=\"sRow==null\"\n style=\"background-color: #F5F5F5\"\n (click)=\"reclama_bozza()\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin\"\n >\n {{ \"RECLAMA BOZZA\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"test_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"TEST UTENTE\" | translate }}\n </button>\n </mat-menu>\n <button\n mat-flat-button\n (click)=\"annulla_imp()\"\n *ngIf=\"toolbar_wkfapp?.imp != ''\"\n >\n {{ toolbar_wkfapp?.imp }}\n </button>\n <div *ngFor=\"let app of custom_commands\">\n <div *ngIf=\"app.type == 'button' || app.type == null\">\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n > {{ app.label | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'WKF'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"end center\">\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon> {{\n \"LINK\" | translate\n }}\n </button>\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon> {{\n help_label | translate\n }}\n </button>\n <div style=\"width:200px\" fxHide fxShow.gt-sm *ngIf=\"show_link || show_help\"></div>\n <table><tr><td style=\"width:130px\">\n <button\n mat-flat-button\n (click)=\"insert_doc()\"\n *ngIf=\"toolbar_wkfapp?.is_Ins\"\n color=\"accent\"\n style=\"width:130px\"\n >\n <mat-icon>note_add</mat-icon> {{\n \"INSERISCI\" | translate\n }}</button\n >\n </td><td style=\"width:130px\">\n <button\n mat-flat-button\n color=\"warn\"\n mat-button style=\"width:130px\"\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor\"\n >\n {{ \"Gestione\" | translate }}\n </button>\n </td></tr></table>\n <mat-menu #gest_menu=\"matMenu\">\n <button mat-menu-item [hidden]=\"sRow==null\" (click)=\"annulla_richiesta()\">\n {{ \"ANNULLA DOCUMENTO\" | translate }}\n </button>\n <button mat-menu-item (click)=\"recupera_richiesta()\">\n {{ \"RECUPERA DOCUMENTO\" | translate }}\n </button>\n <button mat-menu-item [hidden]=\"sRow==null\" (click)=\"riassegna_richiesta()\">\n {{ \"RIASSEGNA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item [hidden]=\"sRow==null\"\n (click)=\"sostituisci_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"SOSTITUISCI UTENTE\" | translate }}\n </button>\n <button\n mat-menu-item [hidden]=\"sRow==null\"\n style=\"background-color: #F5F5F5\"\n (click)=\"reclama_bozza()\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin\"\n >\n {{ \"RECLAMA BOZZA\" | translate }}\n </button>\n <button\n mat-menu-item\n (click)=\"test_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"TEST UTENTE\" | translate }}\n </button>\n </mat-menu>\n <button\n mat-flat-button\n (click)=\"annulla_imp()\"\n *ngIf=\"toolbar_wkfapp?.imp != null && toolbar_wkfapp?.imp != ''\"\n >\n {{ toolbar_wkfapp?.imp }}\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"10px\">\n\n <div *ngIf=\"app.type == 'button' || app.type == null\">\n\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n > {{ app.label | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n\n <FHCheckBox\n\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\">\n\n </div>\n <div *ngIf=\"app.type == 'table_manager'\">\n\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'INSERT_DELETE' || type == 'INSERT'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"5px\" fxLayoutAlign=\"end center\">\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon> {{\n \"LINK\" | translate\n }}\n </button>\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon> {{\n help_label | translate\n }}\n </button>\n <div style=\"width:200px\" fxHide fxShow.gt-sm *ngIf=\"show_link || show_help\"></div>\n <button mat-flat-button (click)=\"new_doc()\" color=\"primary\">\n <mat-icon>note_add</mat-icon> {{\n \"INSERISCI\" | translate\n }}\n </button>\n\n <button\n *ngIf=\"type == 'INSERT_DELETE'\"\n mat-flat-button\n (click)=\"del_doc()\"\n color=\"warn\"\n >\n <mat-icon>delete</mat-icon> \n {{elimina_label | translate}}\n\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div *ngIf=\"app.type == 'button' || app.type == null\">\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n > {{ app.label | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'CUSTOM'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n > <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon> {{\n \"LINK\" | translate\n }}\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayoutAlign=\"end center\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div *ngIf=\"app.type == 'button' || app.type == null\">\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n > {{ app.label | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div>\n </div>\n <div\n *ngIf=\"type == 'CUSTOM_MENU'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <button\n mat-flat-button\n color=\"warn\"\n mat-button\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n\n >\n <mat-icon>menu</mat-icon>\n </button>\n <mat-menu #gest_menu=\"matMenu\">\n <div fxLayout=\"column\" fxLayoutGap=\"6px\" style=\"width:100%\">\n <div style=\"width:100%\"><button style=\"width:100%\" mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon> {{\n \"LINK\" | translate\n }}\n </button></div>\n <div *ngFor=\"let app of custom_commands\" fxLayoutAlign=\"end center\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div style=\"width:100%\" *ngIf=\"app.type == 'button' || app.type == null\">\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n style=\"width:100%\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n > {{ app.label | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div></div>\n </mat-menu>\n </div>\n <div\n *ngIf=\"type == 'NONE' && show_link\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon> {{\n \"LINK\" | translate\n }}\n </button>\n\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon> {{\n help_label | translate\n }}\n </button>\n </div>\n ",
|
|
12752
|
+
template: "\n <div\n *ngIf=\"type == 'WKF' || type == 'WKF_NO_EDIT'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"end center\">\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon> {{\n \"LINK\" | translate\n }}\n </button>\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon> {{\n help_label | translate\n }}\n </button>\n <div style=\"width:200px\" fxHide fxShow.gt-sm *ngIf=\"show_link || show_help\"></div>\n <table><tr><td style=\"width:130px\">\n <button\n mat-flat-button\n (click)=\"insert_doc()\"\n *ngIf=\"toolbar_wkfapp?.is_Ins && type != 'WKF_NO_EDIT'\"\n color=\"accent\"\n style=\"width:130px\"\n >\n <mat-icon>note_add</mat-icon> {{\n \"INSERISCI\" | translate\n }}</button\n >\n </td><td style=\"width:130px\">\n <button\n mat-flat-button\n color=\"warn\"\n mat-button style=\"width:130px\"\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor\"\n >\n {{ \"Gestione\" | translate }}\n </button>\n </td></tr></table>\n <mat-menu #gest_menu=\"matMenu\">\n <button mat-menu-item [hidden]=\"sRow==null\" (click)=\"annulla_richiesta()\">\n {{ \"ANNULLA DOCUMENTO\" | translate }}\n </button>\n <button mat-menu-item (click)=\"recupera_richiesta()\">\n {{ \"RECUPERA DOCUMENTO\" | translate }}\n </button>\n <button mat-menu-item [hidden]=\"sRow==null\" (click)=\"riassegna_richiesta()\">\n {{ \"RIASSEGNA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item [hidden]=\"sRow==null\"\n (click)=\"sostituisci_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"SOSTITUISCI UTENTE\" | translate }}\n </button>\n <button\n mat-menu-item [hidden]=\"sRow==null\"\n style=\"background-color: #F5F5F5\"\n (click)=\"reclama_bozza()\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin\"\n >\n {{ \"RECLAMA BOZZA\" | translate }}\n </button>\n <button\n mat-menu-item\n (click)=\"test_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"TEST UTENTE\" | translate }}\n </button>\n </mat-menu>\n <button\n mat-flat-button\n (click)=\"annulla_imp()\"\n *ngIf=\"toolbar_wkfapp?.imp != null && toolbar_wkfapp?.imp != ''\"\n >\n {{ toolbar_wkfapp?.imp }}\n </button>\n<div>\n <button\n mat-flat-button\n color=\"accent\"\n mat-button\n [matMenuTriggerFor]=\"gest_menu_custom\"\n *ngIf=\"custom_commands!=null && custom_commands.length>0\"\n >\n\t\t\t<mat-icon>menu</mat-icon>\n </button>\n </div>\n <mat-menu #gest_menu_custom=\"matMenu\">\n <div fxLayout=\"column\" style=\"width:200px\" fxLayoutAlign=\"center center\">\n\t\t\t<ng-container *ngFor=\"let app of custom_commands\">\n\n <button *ngIf=\"app.type == 'button'\" [hidden]=\"app.hidden\"\n mat-flat-button style=\"width:180px\"\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon> {{ app.label | translate }}\n </button>\n\t\t\t\t <FHCheckBox\n\t\t\t\t\t *ngIf=\"app.type == 'checkbox'\"\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n\t\t\t <FHTableManager *ngIf=\"app.type == 'table_manager'\" style=\"width:180px\" [application]=\"app.default_value\"></FHTableManager>\n\n\t\t\t</ng-container>\n </div>\n </mat-menu>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'INSERT_DELETE' || type == 'INSERT'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"5px\" fxLayoutAlign=\"end center\">\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon> {{\n \"LINK\" | translate\n }}\n </button>\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon> {{\n help_label | translate\n }}\n </button>\n <div style=\"width:200px\" fxHide fxShow.gt-sm *ngIf=\"show_link || show_help\"></div>\n <button mat-flat-button (click)=\"new_doc()\" color=\"primary\">\n <mat-icon>note_add</mat-icon> {{\n \"INSERISCI\" | translate\n }}\n </button>\n\n <button\n *ngIf=\"type == 'INSERT_DELETE'\"\n mat-flat-button\n (click)=\"del_doc()\"\n color=\"warn\"\n >\n <mat-icon>delete</mat-icon> \n {{elimina_label | translate}}\n\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div *ngIf=\"app.type == 'button' || app.type == null\">\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n > {{ app.label | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'CUSTOM'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n > <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon> {{\n \"LINK\" | translate\n }}\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayoutAlign=\"end center\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div *ngIf=\"app.type == 'button' || app.type == null\">\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n > {{ app.label | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div>\n </div>\n <div\n *ngIf=\"type == 'CUSTOM_MENU'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <button\n mat-flat-button\n color=\"warn\"\n mat-button\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n\n >\n <mat-icon>menu</mat-icon>\n </button>\n <mat-menu #gest_menu=\"matMenu\">\n <div fxLayout=\"column\" fxLayoutGap=\"6px\" style=\"width:100%\">\n <div style=\"width:100%\"><button style=\"width:100%\" mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon> {{\n \"LINK\" | translate\n }}\n </button></div>\n <div *ngFor=\"let app of custom_commands\" fxLayoutAlign=\"end center\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div style=\"width:100%\" *ngIf=\"app.type == 'button' || app.type == null\">\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n style=\"width:100%\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n > {{ app.label | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div></div>\n </mat-menu>\n </div>\n <div\n *ngIf=\"type == 'NONE' && show_link\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon> {{\n \"LINK\" | translate\n }}\n </button>\n\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon> {{\n help_label | translate\n }}\n </button>\n </div>\n ",
|
|
12735
12753
|
styles: ["\n\n "]
|
|
12736
12754
|
},] }
|
|
12737
12755
|
];
|
|
@@ -18422,12 +18440,10 @@
|
|
|
18422
18440
|
CheckboxEditorComponent,
|
|
18423
18441
|
FHCheckBox,
|
|
18424
18442
|
FHTextInput,
|
|
18425
|
-
FHHelpButton,
|
|
18426
18443
|
fh_win_user_info,
|
|
18427
18444
|
win_insert_commento,
|
|
18428
18445
|
FHRoleManager,
|
|
18429
18446
|
FHFieldPickListComponent,
|
|
18430
|
-
SafePipe,
|
|
18431
18447
|
fhimagepreview,
|
|
18432
18448
|
fh_win_show_image,
|
|
18433
18449
|
fh_win_ask_buttons,
|
|
@@ -18449,7 +18465,6 @@
|
|
|
18449
18465
|
fh_win_app_logs,
|
|
18450
18466
|
FHCurrencyPipe,
|
|
18451
18467
|
fh_win_mappa,
|
|
18452
|
-
win_grid_help,
|
|
18453
18468
|
TextAreaEditor,
|
|
18454
18469
|
ComboBoxEditor,
|
|
18455
18470
|
FHListComponent,
|
|
@@ -18474,9 +18489,7 @@
|
|
|
18474
18489
|
FormBuilderComponent,
|
|
18475
18490
|
FormExecuterComponent,
|
|
18476
18491
|
FHTableManager, FHPickFieldComponent, FHUploadPanelS3Component, FHUploadS3Component, fh_win_show_email, fh_win_show_email_s3, fh_win_auto_complete,
|
|
18477
|
-
|
|
18478
|
-
win_commenti_v2, win_info_doc_v2, win_log_v2, win_recupera_doc_v2, win_riassegna_select_level_v2, win_riassegna_select_user_v2,
|
|
18479
|
-
win_sostituisci_utente_v2, win_commento_sel_notif_v2, wkf_header_bar_v2, win_insert_commento_v2
|
|
18492
|
+
wkf_header_bar_v2
|
|
18480
18493
|
],
|
|
18481
18494
|
declarations: [
|
|
18482
18495
|
fh_win_show_log_dett,
|
|
@@ -22146,6 +22159,7 @@
|
|
|
22146
22159
|
wkfapp_v2.prototype.self_ok = function () {
|
|
22147
22160
|
var _this = this;
|
|
22148
22161
|
if (this.get_grid() != null) {
|
|
22162
|
+
console.log('this.get_grid() ', this.get_grid());
|
|
22149
22163
|
this.get_grid().refresh_access(this);
|
|
22150
22164
|
return;
|
|
22151
22165
|
}
|
|
@@ -24083,20 +24097,6 @@
|
|
|
24083
24097
|
};
|
|
24084
24098
|
return dati_aggiuntivi_v2;
|
|
24085
24099
|
}());
|
|
24086
|
-
dati_aggiuntivi_v2.decorators = [
|
|
24087
|
-
{ type: i0.Directive }
|
|
24088
|
-
];
|
|
24089
|
-
dati_aggiuntivi_v2.ctorParameters = function () { return [
|
|
24090
|
-
{ type: AppService },
|
|
24091
|
-
{ type: QueryService },
|
|
24092
|
-
{ type: i3$1.Router },
|
|
24093
|
-
{ type: dialog.MatDialog },
|
|
24094
|
-
{ type: i3$1.ActivatedRoute },
|
|
24095
|
-
{ type: WkfService },
|
|
24096
|
-
{ type: UtilityService },
|
|
24097
|
-
{ type: FileService },
|
|
24098
|
-
{ type: core.TranslateService }
|
|
24099
|
-
]; };
|
|
24100
24100
|
dati_aggiuntivi_v2.propDecorators = {
|
|
24101
24101
|
onResize: [{ type: i0.HostListener, args: ["window:resize", ["event"],] }]
|
|
24102
24102
|
};
|
|
@@ -24195,31 +24195,32 @@
|
|
|
24195
24195
|
exports.wkfapp_v2 = wkfapp_v2;
|
|
24196
24196
|
exports.ɵa = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR;
|
|
24197
24197
|
exports.ɵb = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1;
|
|
24198
|
-
exports.ɵba =
|
|
24199
|
-
exports.ɵbb =
|
|
24200
|
-
exports.ɵbc =
|
|
24201
|
-
exports.ɵbd =
|
|
24202
|
-
exports.ɵbe =
|
|
24203
|
-
exports.ɵbf =
|
|
24204
|
-
exports.ɵbg =
|
|
24205
|
-
exports.ɵbh =
|
|
24206
|
-
exports.ɵbi =
|
|
24207
|
-
exports.ɵ
|
|
24208
|
-
exports.ɵ
|
|
24209
|
-
exports.ɵ
|
|
24210
|
-
exports.ɵ
|
|
24211
|
-
exports.ɵ
|
|
24212
|
-
exports.ɵ
|
|
24213
|
-
exports.ɵ
|
|
24214
|
-
exports.ɵ
|
|
24215
|
-
exports.ɵ
|
|
24216
|
-
exports.ɵ
|
|
24217
|
-
exports.ɵ
|
|
24218
|
-
exports.ɵ
|
|
24219
|
-
exports.ɵ
|
|
24220
|
-
exports.ɵ
|
|
24221
|
-
exports.ɵ
|
|
24222
|
-
exports.ɵ
|
|
24198
|
+
exports.ɵba = win_commenti;
|
|
24199
|
+
exports.ɵbb = win_info_doc;
|
|
24200
|
+
exports.ɵbc = win_log;
|
|
24201
|
+
exports.ɵbd = win_recupera_doc;
|
|
24202
|
+
exports.ɵbe = win_riassegna_select_level;
|
|
24203
|
+
exports.ɵbf = win_riassegna_select_user;
|
|
24204
|
+
exports.ɵbg = win_sostituisci_utente;
|
|
24205
|
+
exports.ɵbh = win_commento_sel_notif;
|
|
24206
|
+
exports.ɵbi = win_manage_values;
|
|
24207
|
+
exports.ɵbj = win_manage_roles;
|
|
24208
|
+
exports.ɵbk = FHComboboxComponentFilter;
|
|
24209
|
+
exports.ɵbl = win_salva_annulla_v2;
|
|
24210
|
+
exports.ɵbm = win_assegna_v2;
|
|
24211
|
+
exports.ɵbn = win_conferma_v2;
|
|
24212
|
+
exports.ɵbo = win_select_canale_v2;
|
|
24213
|
+
exports.ɵbp = win_select_level_v2;
|
|
24214
|
+
exports.ɵbq = win_uploads_v2;
|
|
24215
|
+
exports.ɵbr = win_commenti_v2;
|
|
24216
|
+
exports.ɵbs = win_info_doc_v2;
|
|
24217
|
+
exports.ɵbt = win_log_v2;
|
|
24218
|
+
exports.ɵbu = win_recupera_doc_v2;
|
|
24219
|
+
exports.ɵbv = win_riassegna_select_level_v2;
|
|
24220
|
+
exports.ɵbw = win_riassegna_select_user_v2;
|
|
24221
|
+
exports.ɵbx = win_sostituisci_utente_v2;
|
|
24222
|
+
exports.ɵby = win_commento_sel_notif_v2;
|
|
24223
|
+
exports.ɵbz = win_insert_commento_v2;
|
|
24223
24224
|
exports.ɵc = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$8;
|
|
24224
24225
|
exports.ɵd = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$4;
|
|
24225
24226
|
exports.ɵe = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$3;
|
|
@@ -24230,20 +24231,19 @@
|
|
|
24230
24231
|
exports.ɵj = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$7;
|
|
24231
24232
|
exports.ɵk = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6;
|
|
24232
24233
|
exports.ɵl = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$9;
|
|
24233
|
-
exports.ɵm =
|
|
24234
|
-
exports.ɵn =
|
|
24235
|
-
exports.ɵo =
|
|
24236
|
-
exports.ɵp =
|
|
24237
|
-
exports.ɵq =
|
|
24238
|
-
exports.ɵr =
|
|
24239
|
-
exports.ɵs =
|
|
24240
|
-
exports.ɵ
|
|
24241
|
-
exports.ɵ
|
|
24242
|
-
exports.ɵ
|
|
24243
|
-
exports.ɵ
|
|
24244
|
-
exports.ɵ
|
|
24245
|
-
exports.ɵ
|
|
24246
|
-
exports.ɵz = win_info_doc_v2;
|
|
24234
|
+
exports.ɵm = MOMENT_DATE_FORMATS;
|
|
24235
|
+
exports.ɵn = MomentDateAdapter;
|
|
24236
|
+
exports.ɵo = HighlightService;
|
|
24237
|
+
exports.ɵp = win_show_log_info_dett;
|
|
24238
|
+
exports.ɵq = FHHelpButton;
|
|
24239
|
+
exports.ɵr = SafePipe;
|
|
24240
|
+
exports.ɵs = FHViewerComponent;
|
|
24241
|
+
exports.ɵu = FHGridToolBarComponent;
|
|
24242
|
+
exports.ɵv = win_grid_help;
|
|
24243
|
+
exports.ɵw = win_assegna;
|
|
24244
|
+
exports.ɵx = win_conferma;
|
|
24245
|
+
exports.ɵy = win_select_canale;
|
|
24246
|
+
exports.ɵz = win_select_level;
|
|
24247
24247
|
|
|
24248
24248
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
24249
24249
|
|