@fluxhub/fluxhub-lib 10.0.96 → 10.0.98
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 +12 -10
- 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/lib/controls/fhconfirm.js +3 -3
- package/esm2015/lib/controls/fhtimepicker.js +7 -5
- package/esm2015/lib/controls/fhupload.js +4 -4
- package/esm2015/lib/controls/fhupload_s3.js +4 -4
- package/esm2015/lib/controls/win_show_email.js +2 -2
- package/esm2015/lib/controls/win_show_email_s3.js +2 -2
- package/esm2015/lib/wkf_engine/wkf_header_bar.js +14 -10
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +2 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +30 -24
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -311,7 +311,7 @@
|
|
|
311
311
|
}());
|
|
312
312
|
FHConfirmComponent.decorators = [
|
|
313
313
|
{ type: i0.Component, args: [{
|
|
314
|
-
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-
|
|
314
|
+
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 ",
|
|
315
315
|
styles: [""]
|
|
316
316
|
},] }
|
|
317
317
|
];
|
|
@@ -1553,7 +1553,7 @@
|
|
|
1553
1553
|
}());
|
|
1554
1554
|
win_show_email_s3.decorators = [
|
|
1555
1555
|
{ type: i0.Component, args: [{
|
|
1556
|
-
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\"><img src=\"assets/icons/x.png\" style=\"cursor: pointer;\" (click)=\"dialogRef.close(null)\" /> </div><br>\n <div style=\"width:100%;overflow:auto;\" [style.height]=\"(m_appService.getState().body_h-240)+'px'\">\n <mat-toolbar color=\"primary\">{{title}}\n <span class=\"fill-remaining-space\"></span>\n\n </mat-toolbar>\n <br>\n\n <div style=\"width:100%;height:500px\">\n <div style=\"width:100%;height:100%\">\n <div fxLayout=\"column\">\n\n <div fxLayout=\"row\">\n <div style=\"width:100px\">Data:</div>\n <div>{{email_obj.dt}}</div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">From:</div>\n <div \u00A0[innerHTML]=\"email_obj.from\"\u00A0></div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">To:</div>\n <div \u00A0[innerHTML]=\"email_obj.to\"\u00A0></div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">CC:</div>\n <div \u00A0[innerHTML]=\"email_obj.cc\"\u00A0></div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">Subject:</div>\n <div \u00A0[innerHTML]=\"email_obj.subject\"\u00A0></div>\n </div>\n <div style=\"width:100px\">Body:</div>\n <div style=\"overflow:auto;\" [style.height]=\"(m_appService.getState().body_h-490)+'px'\">\n <div fxLayout=\"row\" [hidden]=\"email_obj.is_html=='NO'\">\n\n <div \u00A0[innerHTML]=\"email_obj.body\"\u00A0></div>\n </div>\n <div fxLayout=\"row\" [hidden]=\"email_obj.is_html=='SI'\">\n\n <div>{{email_obj.body}}</div>\n </div>\n </div>\n <hr style=\"width:100%\">\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div style=\"width:100px\">Allegati:</div>\n <div *ngFor=\"let u of allegati\" >\n <button mat-
|
|
1556
|
+
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\"><img src=\"assets/icons/x.png\" style=\"cursor: pointer;\" (click)=\"dialogRef.close(null)\" /> </div><br>\n <div style=\"width:100%;overflow:auto;\" [style.height]=\"(m_appService.getState().body_h-240)+'px'\">\n <mat-toolbar color=\"primary\">{{title}}\n <span class=\"fill-remaining-space\"></span>\n\n </mat-toolbar>\n <br>\n\n <div style=\"width:100%;height:500px\">\n <div style=\"width:100%;height:100%\">\n <div fxLayout=\"column\">\n\n <div fxLayout=\"row\">\n <div style=\"width:100px\">Data:</div>\n <div>{{email_obj.dt}}</div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">From:</div>\n <div \u00A0[innerHTML]=\"email_obj.from\"\u00A0></div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">To:</div>\n <div \u00A0[innerHTML]=\"email_obj.to\"\u00A0></div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">CC:</div>\n <div \u00A0[innerHTML]=\"email_obj.cc\"\u00A0></div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">Subject:</div>\n <div \u00A0[innerHTML]=\"email_obj.subject\"\u00A0></div>\n </div>\n <div style=\"width:100px\">Body:</div>\n <div style=\"overflow:auto;\" [style.height]=\"(m_appService.getState().body_h-490)+'px'\">\n <div fxLayout=\"row\" [hidden]=\"email_obj.is_html=='NO'\">\n\n <div \u00A0[innerHTML]=\"email_obj.body\"\u00A0></div>\n </div>\n <div fxLayout=\"row\" [hidden]=\"email_obj.is_html=='SI'\">\n\n <div>{{email_obj.body}}</div>\n </div>\n </div>\n <hr style=\"width:100%\">\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div style=\"width:100px\">Allegati:</div>\n <div *ngFor=\"let u of allegati\" >\n <button mat-flat-button color=\"primary\" (click)=\"open_all(u)\">{{u}}</button>\n </div>\n\n\n\n </div>\n\n\n </div>\n </div>\n </div>\n "
|
|
1557
1557
|
},] }
|
|
1558
1558
|
];
|
|
1559
1559
|
win_show_email_s3.ctorParameters = function () { return [
|
|
@@ -2195,7 +2195,7 @@
|
|
|
2195
2195
|
FHUploadS3Component.decorators = [
|
|
2196
2196
|
{ type: i0.Component, args: [{
|
|
2197
2197
|
selector: "FHUploadS3",
|
|
2198
|
-
template: "\n <div *ngIf=\"loading\" fxLayout=\"row\">\n WAIT\n </div>\n <div\n [hidden]=\"!(enabled && !loading)\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n >\n <div\n [hidden]=\"!multi_list\"\n style=\"width:380px\"\n fxLayoutAlign=\"start center\"\n >\n <FHComboBox\n [sql]=\"tipo\"\n #cmb_tipo\n [init_fill]=\"false\"\n label=\"Tipologia\"\n ></FHComboBox\n > \n </div>\n <mat-form-field\n [hidden]=\"!show_descri\"\n style=\"width: 100%\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }} {{ fixed_label }}</mat-label>\n <input\n matInput\n type=\"text\"\n name=\"descrizione\"\n [(ngModel)]=\"descrizione\"\n />\n </mat-form-field>\n \n <!-- <div\n style=\"width:140px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start start\"\n (click)=\"call_up()\"\n >\n <input\n type=\"file\"\n multiple\n ng2FileSelect\n [uploader]=\"uploader\"\n name=\"file-fh{{ id_component }}\"\n id=\"file-fh{{ id_component }}\"\n class=\"inputfile inputfile-fh\"\n />\n <label for=\"file-fh{{ id_component }}\" style=\"width:210px\"\n ><svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"20\"\n height=\"17\"\n viewBox=\"0 0 20 17\"\n >\n <path\n d=\"M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z\"\n /></svg><span style=\"font-size: 12px\"> Upload</span></label>\n </div>\n -->\n <div class=\"my-drop-zone\" style=\"width:130px\" fxLayout=\"row\" [matTooltip]=\"hasBaseDropZoneOver ? lascia_il_file : trascina_il_file\" fxLayoutAlign=\"center start\">\n <label for=\"uploader-input\" ng2FileDrop style=\"font-weight:bold\"\n [ngClass]=\"{'over-drop-zone': hasBaseDropZoneOver}\" for=\"file-fh{{ id_component }}\"\n (onFileDrop)=\"onFileDrop($event)\"\n (fileOver)=\"fileOverBase($event)\" [uploader]=\"uploader\">\n <div fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <mat-icon>{{!hasBaseDropZoneOver?'backup':'thumb_up'}}</mat-icon>\n\n <span style=\"font-size: 14px\"> Upload</span></div></label></div>\n <input type=\"file\"\n ng2FileSelect\n [multiple]=\"false\"\n [uploader]=\"uploader\"\n name=\"file-fh{{ id_component }}\"\n id=\"file-fh{{ id_component }}\"\n (onFileSelected)=\"onFileDrop($event)\"\n id=\"uploader-input\" style=\"display:none\"/>\n <div fxLayout=\"row\" fxLayoutAlign=\"start start\">\n \n <button\n mat-
|
|
2198
|
+
template: "\n <div *ngIf=\"loading\" fxLayout=\"row\">\n WAIT\n </div>\n <div\n [hidden]=\"!(enabled && !loading)\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n >\n <div\n [hidden]=\"!multi_list\"\n style=\"width:380px\"\n fxLayoutAlign=\"start center\"\n >\n <FHComboBox\n [sql]=\"tipo\"\n #cmb_tipo\n [init_fill]=\"false\"\n label=\"Tipologia\"\n ></FHComboBox\n > \n </div>\n <mat-form-field\n [hidden]=\"!show_descri\"\n style=\"width: 100%\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }} {{ fixed_label }}</mat-label>\n <input\n matInput\n type=\"text\"\n name=\"descrizione\"\n [(ngModel)]=\"descrizione\"\n />\n </mat-form-field>\n \n <!-- <div\n style=\"width:140px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start start\"\n (click)=\"call_up()\"\n >\n <input\n type=\"file\"\n multiple\n ng2FileSelect\n [uploader]=\"uploader\"\n name=\"file-fh{{ id_component }}\"\n id=\"file-fh{{ id_component }}\"\n class=\"inputfile inputfile-fh\"\n />\n <label for=\"file-fh{{ id_component }}\" style=\"width:210px\"\n ><svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"20\"\n height=\"17\"\n viewBox=\"0 0 20 17\"\n >\n <path\n d=\"M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z\"\n /></svg><span style=\"font-size: 12px\"> Upload</span></label>\n </div>\n -->\n <div class=\"my-drop-zone\" style=\"width:130px\" fxLayout=\"row\" [matTooltip]=\"hasBaseDropZoneOver ? lascia_il_file : trascina_il_file\" fxLayoutAlign=\"center start\">\n <label for=\"uploader-input\" ng2FileDrop style=\"font-weight:bold\"\n [ngClass]=\"{'over-drop-zone': hasBaseDropZoneOver}\" for=\"file-fh{{ id_component }}\"\n (onFileDrop)=\"onFileDrop($event)\"\n (fileOver)=\"fileOverBase($event)\" [uploader]=\"uploader\">\n <div fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <mat-icon>{{!hasBaseDropZoneOver?'backup':'thumb_up'}}</mat-icon>\n\n <span style=\"font-size: 14px\"> Upload</span></div></label></div>\n <input type=\"file\"\n ng2FileSelect\n [multiple]=\"false\"\n [uploader]=\"uploader\"\n name=\"file-fh{{ id_component }}\"\n id=\"file-fh{{ id_component }}\"\n (onFileSelected)=\"onFileDrop($event)\"\n id=\"uploader-input\" style=\"display:none\"/>\n <div fxLayout=\"row\" fxLayoutAlign=\"start start\">\n \n <button\n mat-flat-button\n *ngIf=\"b_edit_loaded\"\n (click)=\"download_all()\"\n style=\"font-size: 12px;font-weight:bold\" color=\"accent\"\n\n >\n {{ label_b }}</button\n > \n <button\n mat-flat-button\n *ngIf=\"id != null && allow_delete\"\n (click)=\"del_doc()\"\n color=\"warn\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n <div *ngIf=\"!enabled\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <label>{{ label }}:</label>\n <div *ngIf=\"label != descrizione\">{{ descrizione }}</div>\n <button\n mat-flat-button\n *ngIf=\"b_edit_loaded\"\n (click)=\"download_all()\"\n style=\"font-size: 12px;background-color: #F5F5F5\"\n >\n {{ label_b }}\n </button>\n </div>\n ",
|
|
2199
2199
|
styles: [""]
|
|
2200
2200
|
},] }
|
|
2201
2201
|
];
|
|
@@ -3630,13 +3630,15 @@
|
|
|
3630
3630
|
return typeof event.which == "undefined" ? event.keyCode : event.which;
|
|
3631
3631
|
};
|
|
3632
3632
|
FHTimePickerComponent.prototype.isKeyPressedNumeric = function (event) {
|
|
3633
|
-
|
|
3633
|
+
console.log(event);
|
|
3634
3634
|
if ("0123456789".indexOf(event.key) !== -1 ||
|
|
3635
3635
|
event.key == "ArrowRight" ||
|
|
3636
3636
|
event.key == "ArrowLeft" ||
|
|
3637
3637
|
event.key == "ArrowDown" ||
|
|
3638
3638
|
event.key == "ArrowUp" ||
|
|
3639
|
-
event.key == "Backspace"
|
|
3639
|
+
event.key == "Backspace" ||
|
|
3640
|
+
event.keyCode == 9 //TAB
|
|
3641
|
+
) {
|
|
3640
3642
|
return true;
|
|
3641
3643
|
}
|
|
3642
3644
|
else {
|
|
@@ -3658,7 +3660,7 @@
|
|
|
3658
3660
|
{ type: i0.Component, args: [{
|
|
3659
3661
|
selector: "FHTimePicker",
|
|
3660
3662
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2],
|
|
3661
|
-
template: "\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" [hidden]=\"vertical && enabled\">\n <b>{{ label }}</b\n > \n <div fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <div *ngIf=\"enabled\" >\n <mat-icon (click)=\"uph()\">keyboard_arrow_up</mat-icon>\n </div>\n\n <input\n style=\"width:40px;text-align:center;\"\n (keydown)=\"onKeyDown($event)\"\n (focusout)=\"onFu()\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"h\"\n />\n <div *ngIf=\"enabled\">\n <mat-icon (click)=\"doh()\"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </div>\n\n <b style=\"font-size:28px\">:</b> \n\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <div *ngIf=\"enabled\">\n <mat-icon (click)=\"upm()\"\n >keyboard_arrow_up</mat-icon\n >\n </div>\n\n <input\n style=\"width:40px;text-align:center;\"\n (keydown)=\"onKeyDown1($event)\"\n (focusout)=\"onMi()\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"m\"\n />\n <div *ngIf=\"enabled\" style=\"pointer_mouse\">\n <mat-icon (click)=\"dom()\"\n style=\"pointer_mouse\" >keyboard_arrow_down</mat-icon\n >\n </div>\n </div>\n </div>\n\n\n <div fxLayout=\"column\" [hidden]=\"!vertical || !enabled\">\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <b style=\"min-width:70px\">{{ label_hh }}</b>\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0px\">\n\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\"> \n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0px\">\n <div *ngIf=\"enabled\" >\n <mat-icon (click)=\"uph()\">keyboard_arrow_up</mat-icon>\n </div>\n\n <input\n style=\"width:40px;text-align:center;\"\n (keydown)=\"onKeyDown($event)\"\n (focusout)=\"onFu()\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"h\"\n />\n <div *ngIf=\"enabled\" style=\"pointer_mouse\">\n <mat-icon (click)=\"doh()\"\n style=\"pointer_mouse\">keyboard_arrow_down</mat-icon\n >\n </div>\n </div>\n \n <div *ngFor=\"let u of arr_hh\" [hidden]=\"!enabled\">\n <button mat-
|
|
3663
|
+
template: "\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" [hidden]=\"vertical && enabled\">\n <b>{{ label }}</b\n > \n <div fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <div *ngIf=\"enabled\" >\n <mat-icon (click)=\"uph()\">keyboard_arrow_up</mat-icon>\n </div>\n\n <input\n style=\"width:40px;text-align:center;\"\n (keydown)=\"onKeyDown($event)\"\n (focusout)=\"onFu()\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"h\"\n />\n <div *ngIf=\"enabled\">\n <mat-icon (click)=\"doh()\"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </div>\n\n <b style=\"font-size:28px\">:</b> \n\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <div *ngIf=\"enabled\">\n <mat-icon (click)=\"upm()\"\n >keyboard_arrow_up</mat-icon\n >\n </div>\n\n <input\n style=\"width:40px;text-align:center;\"\n (keydown)=\"onKeyDown1($event)\"\n (focusout)=\"onMi()\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"m\"\n />\n <div *ngIf=\"enabled\" style=\"pointer_mouse\">\n <mat-icon (click)=\"dom()\"\n style=\"pointer_mouse\" >keyboard_arrow_down</mat-icon\n >\n </div>\n </div>\n </div>\n\n\n <div fxLayout=\"column\" [hidden]=\"!vertical || !enabled\">\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <b style=\"min-width:70px\">{{ label_hh }}</b>\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0px\">\n\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\"> \n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0px\">\n <div *ngIf=\"enabled\" >\n <mat-icon (click)=\"uph()\">keyboard_arrow_up</mat-icon>\n </div>\n\n <input\n style=\"width:40px;text-align:center;\"\n (keydown)=\"onKeyDown($event)\"\n (focusout)=\"onFu()\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"h\"\n />\n <div *ngIf=\"enabled\" style=\"pointer_mouse\">\n <mat-icon (click)=\"doh()\"\n style=\"pointer_mouse\">keyboard_arrow_down</mat-icon\n >\n </div>\n </div>\n \n <div *ngFor=\"let u of arr_hh\" [hidden]=\"!enabled\">\n <button mat-flat-button color=\"primary\" (click)=\"setta_h(u)\" class=\"pad_b\">\n {{u}}\n </button> \n </div>\n </div>\n\n </div>\n </div>\n\n\n\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <b style=\"min-width:70px\">{{ label_mm }}</b>\n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0px\">\n\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\"> \n <div fxLayout=\"column\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0px\">\n <div *ngIf=\"enabled\" style=\"pointer_mouse\">\n <mat-icon (click)=\"upm()\" style=\"pointer_mouse\">keyboard_arrow_up</mat-icon>\n </div>\n\n <input\n style=\"width:40px;text-align:center;\"\n (keydown)=\"onKeyDown1($event)\"\n (focusout)=\"onMi()\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"m\"\n />\n <div *ngIf=\"enabled\" style=\"pointer_mouse\">\n <mat-icon (click)=\"dom()\" style=\"pointer_mouse\"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </div>\n \n <div *ngFor=\"let u of arr_mm\" [hidden]=\"!enabled\">\n <button mat-flat-button color=\"primary\" (click)=\"setta_m(u)\" class=\"pad_b\">\n {{u}}\n </button> \n </div>\n </div>\n\n </div>\n </div>\n </div>\n\n ",
|
|
3662
3664
|
styles: ["\n.pad_b {\n padding-left: 5px !important;\n padding-right: 5px !important;\n padding-top: 0px !important;\n padding-bottom: 0px !important;\n min-width: 30px !important;\n min-height: 8px !important;\n font-size:14px !important;\n}\n\n .hhh {\n height: 63px;\n width: 100px;\n background-color: rgba(255, 0, 0, 0.1);\n }\n\n .pointer_mouse {\n cursor: pointer;\n user-select: none;\n }\n "]
|
|
3663
3665
|
},] }
|
|
3664
3666
|
];
|
|
@@ -4015,7 +4017,7 @@
|
|
|
4015
4017
|
}());
|
|
4016
4018
|
win_show_email.decorators = [
|
|
4017
4019
|
{ type: i0.Component, args: [{
|
|
4018
|
-
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\"><img src=\"assets/icons/x.png\" style=\"cursor: pointer;\" (click)=\"dialogRef.close(null)\" /> </div><br>\n <div style=\"width:100%;overflow:auto;\" [style.height]=\"(m_appService.getState().body_h-240)+'px'\">\n <mat-toolbar color=\"primary\">{{title}}\n <span class=\"fill-remaining-space\"></span>\n\n </mat-toolbar>\n <br>\n\n <div style=\"width:100%;height:500px\">\n <div style=\"width:100%;height:100%\">\n <div fxLayout=\"column\">\n <div fxLayout=\"row\">\n <div style=\"width:100px\">Data:</div>\n <div>{{email_obj.dt}}</div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">From:</div>\n <div \u00A0[innerHTML]=\"email_obj.from\"\u00A0></div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">To:</div>\n <div \u00A0[innerHTML]=\"email_obj.to\"\u00A0></div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">CC:</div>\n <div \u00A0[innerHTML]=\"email_obj.cc\"\u00A0></div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">Subject:</div>\n <div \u00A0[innerHTML]=\"email_obj.subject\"\u00A0></div>\n </div>\n <div style=\"width:100px\">Body:</div>\n <div style=\"overflow:auto;\" [style.height]=\"(m_appService.getState().body_h-490)+'px'\">\n <div fxLayout=\"row\" [hidden]=\"email_obj.is_html=='NO'\">\n\n <div \u00A0[innerHTML]=\"email_obj.body\"\u00A0></div>\n </div>\n <div fxLayout=\"row\" [hidden]=\"email_obj.is_html=='SI'\">\n\n <div>{{email_obj.body}}</div>\n </div>\n </div>\n <hr style=\"width:100%\">\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div style=\"width:100px\">Allegati:</div>\n <div *ngFor=\"let u of allegati\" >\n <button mat-
|
|
4020
|
+
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\"><img src=\"assets/icons/x.png\" style=\"cursor: pointer;\" (click)=\"dialogRef.close(null)\" /> </div><br>\n <div style=\"width:100%;overflow:auto;\" [style.height]=\"(m_appService.getState().body_h-240)+'px'\">\n <mat-toolbar color=\"primary\">{{title}}\n <span class=\"fill-remaining-space\"></span>\n\n </mat-toolbar>\n <br>\n\n <div style=\"width:100%;height:500px\">\n <div style=\"width:100%;height:100%\">\n <div fxLayout=\"column\">\n <div fxLayout=\"row\">\n <div style=\"width:100px\">Data:</div>\n <div>{{email_obj.dt}}</div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">From:</div>\n <div \u00A0[innerHTML]=\"email_obj.from\"\u00A0></div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">To:</div>\n <div \u00A0[innerHTML]=\"email_obj.to\"\u00A0></div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">CC:</div>\n <div \u00A0[innerHTML]=\"email_obj.cc\"\u00A0></div>\n </div>\n <div fxLayout=\"row\">\n <div style=\"width:100px\">Subject:</div>\n <div \u00A0[innerHTML]=\"email_obj.subject\"\u00A0></div>\n </div>\n <div style=\"width:100px\">Body:</div>\n <div style=\"overflow:auto;\" [style.height]=\"(m_appService.getState().body_h-490)+'px'\">\n <div fxLayout=\"row\" [hidden]=\"email_obj.is_html=='NO'\">\n\n <div \u00A0[innerHTML]=\"email_obj.body\"\u00A0></div>\n </div>\n <div fxLayout=\"row\" [hidden]=\"email_obj.is_html=='SI'\">\n\n <div>{{email_obj.body}}</div>\n </div>\n </div>\n <hr style=\"width:100%\">\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div style=\"width:100px\">Allegati:</div>\n <div *ngFor=\"let u of allegati\" >\n <button mat-flat-button color=\"primary\" (click)=\"open_all(u)\">{{u}}</button>\n </div>\n\n\n\n </div>\n\n\n </div>\n </div>\n </div>\n "
|
|
4019
4021
|
},] }
|
|
4020
4022
|
];
|
|
4021
4023
|
win_show_email.ctorParameters = function () { return [
|
|
@@ -4659,7 +4661,7 @@
|
|
|
4659
4661
|
FHUploadComponent.decorators = [
|
|
4660
4662
|
{ type: i0.Component, args: [{
|
|
4661
4663
|
selector: "FHUpload",
|
|
4662
|
-
template: "\n <div *ngIf=\"loading\" fxLayout=\"row\">\n WAIT\n </div>\n <div\n [hidden]=\"!(enabled && !loading)\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n >\n <div\n [hidden]=\"!multi_list\"\n style=\"width:380px\"\n fxLayoutAlign=\"start center\"\n >\n <FHComboBox\n [sql]=\"tipo\"\n #cmb_tipo\n [init_fill]=\"false\"\n label=\"Tipologia\"\n ></FHComboBox\n > \n </div>\n <mat-form-field\n [hidden]=\"!show_descri\"\n style=\"width: 100%\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }} {{ fixed_label }}</mat-label>\n <input\n matInput\n type=\"text\"\n name=\"descrizione\"\n [(ngModel)]=\"descrizione\"\n />\n </mat-form-field>\n \n <!-- <div\n style=\"width:140px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start start\"\n (click)=\"call_up()\"\n >\n <input\n type=\"file\"\n multiple\n ng2FileSelect\n [uploader]=\"uploader\"\n name=\"file-fh{{ id_component }}\"\n id=\"file-fh{{ id_component }}\"\n class=\"inputfile inputfile-fh\"\n />\n <label for=\"file-fh{{ id_component }}\" style=\"width:210px\"\n ><svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"20\"\n height=\"17\"\n viewBox=\"0 0 20 17\"\n >\n <path\n d=\"M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z\"\n /></svg><span style=\"font-size: 12px\"> Upload</span></label>\n </div>\n -->\n <div class=\"my-drop-zone\" style=\"width:130px\" fxLayout=\"row\" [matTooltip]=\"hasBaseDropZoneOver ? lascia_il_file : trascina_il_file\" fxLayoutAlign=\"center start\">\n <label for=\"uploader-input\" ng2FileDrop style=\"font-weight:bold\"\n [ngClass]=\"{'over-drop-zone': hasBaseDropZoneOver}\" for=\"file-fh{{ id_component }}\"\n (onFileDrop)=\"onFileDrop($event)\" (click)=\"call_up()\"\n (fileOver)=\"fileOverBase($event)\" [uploader]=\"uploader\">\n <div fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <mat-icon>{{!hasBaseDropZoneOver?'backup':'thumb_up'}}</mat-icon>\n\n <span style=\"font-size: 14px\"> Upload</span></div></label></div>\n <input type=\"file\"\n ng2FileSelect #select_file\n [multiple]=\"false\"\n [uploader]=\"uploader\"\n name=\"file-fh{{ id_component }}\"\n id=\"file-fh{{ id_component }}\" (click)=\"call_up()\"\n (onFileSelected)=\"onFileDrop($event)\"\n id=\"uploader-input\" style=\"display:none\"/>\n <div fxLayout=\"row\" fxLayoutAlign=\"start start\">\n \n <button\n mat-
|
|
4664
|
+
template: "\n <div *ngIf=\"loading\" fxLayout=\"row\">\n WAIT\n </div>\n <div\n [hidden]=\"!(enabled && !loading)\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n >\n <div\n [hidden]=\"!multi_list\"\n style=\"width:380px\"\n fxLayoutAlign=\"start center\"\n >\n <FHComboBox\n [sql]=\"tipo\"\n #cmb_tipo\n [init_fill]=\"false\"\n label=\"Tipologia\"\n ></FHComboBox\n > \n </div>\n <mat-form-field\n [hidden]=\"!show_descri\"\n style=\"width: 100%\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }} {{ fixed_label }}</mat-label>\n <input\n matInput\n type=\"text\"\n name=\"descrizione\"\n [(ngModel)]=\"descrizione\"\n />\n </mat-form-field>\n \n <!-- <div\n style=\"width:140px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start start\"\n (click)=\"call_up()\"\n >\n <input\n type=\"file\"\n multiple\n ng2FileSelect\n [uploader]=\"uploader\"\n name=\"file-fh{{ id_component }}\"\n id=\"file-fh{{ id_component }}\"\n class=\"inputfile inputfile-fh\"\n />\n <label for=\"file-fh{{ id_component }}\" style=\"width:210px\"\n ><svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"20\"\n height=\"17\"\n viewBox=\"0 0 20 17\"\n >\n <path\n d=\"M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z\"\n /></svg><span style=\"font-size: 12px\"> Upload</span></label>\n </div>\n -->\n <div class=\"my-drop-zone\" style=\"width:130px\" fxLayout=\"row\" [matTooltip]=\"hasBaseDropZoneOver ? lascia_il_file : trascina_il_file\" fxLayoutAlign=\"center start\">\n <label for=\"uploader-input\" ng2FileDrop style=\"font-weight:bold\"\n [ngClass]=\"{'over-drop-zone': hasBaseDropZoneOver}\" for=\"file-fh{{ id_component }}\"\n (onFileDrop)=\"onFileDrop($event)\" (click)=\"call_up()\"\n (fileOver)=\"fileOverBase($event)\" [uploader]=\"uploader\">\n <div fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <mat-icon>{{!hasBaseDropZoneOver?'backup':'thumb_up'}}</mat-icon>\n\n <span style=\"font-size: 14px\"> Upload</span></div></label></div>\n <input type=\"file\"\n ng2FileSelect #select_file\n [multiple]=\"false\"\n [uploader]=\"uploader\"\n name=\"file-fh{{ id_component }}\"\n id=\"file-fh{{ id_component }}\" (click)=\"call_up()\"\n (onFileSelected)=\"onFileDrop($event)\"\n id=\"uploader-input\" style=\"display:none\"/>\n <div fxLayout=\"row\" fxLayoutAlign=\"start start\">\n \n <button\n mat-flat-button\n *ngIf=\"b_edit_loaded\"\n (click)=\"download_all()\"\n style=\"font-size: 12px;font-weight:bold\" color=\"accent\"\n\n >\n {{ label_b }}</button\n > \n <button\n mat-flat-button\n *ngIf=\"id != null && allow_delete\"\n (click)=\"del_doc()\"\n color=\"warn\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n <div *ngIf=\"!enabled\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <label>{{ label }}:</label>\n <div *ngIf=\"label != descrizione\">{{ descrizione }}</div>\n <button\n mat-flat-button\n *ngIf=\"b_edit_loaded\"\n (click)=\"download_all()\"\n style=\"font-size: 12px;background-color: #F5F5F5\"\n >\n {{ label_b }}\n </button>\n </div>\n ",
|
|
4663
4665
|
styles: ["\n .fileLabel{\n display: inline-block;\n padding: .7em .4em;\n font-size: 13px;\n color: #525252;\n background-color: #e6e6e6;\n margin: 0 .2em;\n border-radius: 5px;\n }\n",
|
|
4664
4666
|
"\n .my-drop-zone { border: dotted 3px lightgray;height:35px }\n\n", "\n .nv-file-over { border: dotted 3px red; } /* Default class applied to drop zones on over */\n ", "\n .another-file-over-class { border: dotted 3px green; }\n"]
|
|
4665
4667
|
},] }
|
|
@@ -11974,7 +11976,7 @@
|
|
|
11974
11976
|
wkf_header_bar.decorators = [
|
|
11975
11977
|
{ type: i0.Component, args: [{
|
|
11976
11978
|
selector: "wkf_header_bar",
|
|
11977
|
-
template: "\n <div fxLayout=\"row\" fxLayout.lt-md=\"column\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"
|
|
11979
|
+
template: "\n <div fxLayout=\"row\" fxLayout.lt-md=\"column\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"5px\"\n *ngIf=\"\n !m_appService.getState().pageFullscreen ||\n edit_button ||\n respingi_button\n \"\n >\n <div>\n <button\n mat-flat-button\n (click)=\"back()\"\n *ngIf=\"!m_appService.getState().pageFullscreen\"\n >\n Indietro</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"evt_salv()\"\n *ngIf=\"edit_button || force_save\"\n color=\"primary\"\n >\n Salva</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"procedi()\"\n *ngIf=\"edit_button && procedi_button\"\n color=\"accent\"\n >\n Procedi</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"respingi()\"\n *ngIf=\"respingi_button\"\n color=\"warn\"\n >\n Respingi\n </button>\n </div>\n <!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button> \n-->\n </div>\n \n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.xs=\"3px\"\n >\n <div fxLayout=\"row\">\n <div>\n <button\n mat-flat-button\n (click)=\"open_info()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>info_outline</mat-icon> Info Doc</button\n ></div><div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.comm_c ? dt_agg?.comm_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.comm_c ? dt_agg?.comm_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_commenti()\"\n >\n <mat-icon>insert_comment</mat-icon>Commenti</button\n ></div>\n </div>\n <div fxLayout=\"row\">\n <div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.all_c ? dt_agg?.all_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.all_c ? dt_agg?.all_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_upload()\"\n >\n <mat-icon>attach_file</mat-icon>Allegati</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"open_wkf()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>transfer_within_a_station</mat-icon>Workflow\n </button>\n </div> </div>\n </div>\n </div>\n "
|
|
11978
11980
|
},] }
|
|
11979
11981
|
];
|
|
11980
11982
|
wkf_header_bar.ctorParameters = function () { return [
|
|
@@ -15083,6 +15085,7 @@
|
|
|
15083
15085
|
if (check_on_save === void 0) { check_on_save = false; }
|
|
15084
15086
|
this.b_rip_pulsanti = rip_pulsanti;
|
|
15085
15087
|
this.btnprocedi = false;
|
|
15088
|
+
console.log(check_on_save);
|
|
15086
15089
|
if (check_on_save)
|
|
15087
15090
|
if (!this.ck_field())
|
|
15088
15091
|
return;
|
|
@@ -16107,7 +16110,6 @@
|
|
|
16107
16110
|
arr[i].values = "dbnull";
|
|
16108
16111
|
}
|
|
16109
16112
|
else {
|
|
16110
|
-
console.log('NO NULL', arr[i].names, arr[i].values);
|
|
16111
16113
|
if (arr[i].types == "boolean")
|
|
16112
16114
|
if (arr[i].values)
|
|
16113
16115
|
arr[i].values = "1";
|