@fluxhub/fluxhub-lib 1.0.311 → 1.0.313
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 +30 -2
- 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/classes/wkfapp.html +41 -0
- package/docs/components/FHPickListComponent.html +88 -2
- package/docs/coverage.html +2 -2
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +30 -30
- package/esm2015/lib/controls/fhwinpicklist.js +26 -2
- package/esm2015/lib/wkf_engine/wkfapp.js +7 -1
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +2 -2
- package/esm5/lib/controls/fhwinpicklist.js +29 -2
- package/esm5/lib/wkf_engine/wkfapp.js +7 -1
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +2 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +27 -2
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +31 -3
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhwinpicklist.d.ts +1 -0
- package/lib/wkf_engine/wkfapp.d.ts +1 -0
- package/package.json +1 -1
|
@@ -8832,6 +8832,33 @@
|
|
|
8832
8832
|
_this.errorMsg = "ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI";
|
|
8833
8833
|
}));
|
|
8834
8834
|
};
|
|
8835
|
+
/**
|
|
8836
|
+
* @param {?} k
|
|
8837
|
+
* @param {?} arrs
|
|
8838
|
+
* @return {?}
|
|
8839
|
+
*/
|
|
8840
|
+
FHPickListComponent.prototype.fill_list_arr = /**
|
|
8841
|
+
* @param {?} k
|
|
8842
|
+
* @param {?} arrs
|
|
8843
|
+
* @return {?}
|
|
8844
|
+
*/
|
|
8845
|
+
function (k, arrs) {
|
|
8846
|
+
this.value_sel = new Array();
|
|
8847
|
+
for (var i = 0; i < arrs.length; i++) {
|
|
8848
|
+
/** @type {?} */
|
|
8849
|
+
var o = new Object();
|
|
8850
|
+
o.descrizione_valore = arrs[i];
|
|
8851
|
+
this.value_sel.push(o);
|
|
8852
|
+
}
|
|
8853
|
+
this.value_list_all = k;
|
|
8854
|
+
for (var y = 0; y < this.value_sel.length; y++)
|
|
8855
|
+
for (var i_2 = this.value_list_all.length - 1; i_2 >= 0; i_2--)
|
|
8856
|
+
if (this.value_list_all[i_2].descrizione_valore == this.value_sel[y].descrizione_valore) {
|
|
8857
|
+
this.value_list_all.splice(i_2, 1);
|
|
8858
|
+
break;
|
|
8859
|
+
}
|
|
8860
|
+
this.filtra();
|
|
8861
|
+
};
|
|
8835
8862
|
/**
|
|
8836
8863
|
* @return {?}
|
|
8837
8864
|
*/
|
|
@@ -8947,7 +8974,7 @@
|
|
|
8947
8974
|
{ type: i0.Component, args: [{
|
|
8948
8975
|
selector: 'FHPickList',
|
|
8949
8976
|
template: "\n \n <div fxLayout=\"column\" fxLayoutGap=\"15px\" fxFlex style=\"width:600px;height:400px\">\n <div fxLayout=\"row\" style=\"width:550\">\n <div fxLayout=\"column\" fxFlex=\"41%\">\n\n \n <div style=\"width:100%;height:420px;overflow:auto;\">\n <table style=\"width: 100%\" class=\"fh_table\">\n <thead>\n <tr>\n <th>VALORI SELEZIONABILI</th>\n </tr>\n </thead>\n\n <tbody>\n <tr><td> <input [(ngModel)]=\"fltr_user\" (ngModelChange)=\"filtra()\" style='padding:8px;margin:15px auto;width:100%;'\n placeholder='Ricerca...'>\n </td></tr>\n <tr *ngFor=\"let u of value_list_sel;let odd=odd; let even=even;\" [ngClass]=\"{ odd: odd, even: even }\" (click)=\"addTo(u)\" (dblclick)=\"do_add()\" class=\"selector\"\n [ngClass]=\"{ 'active': selectedAdd == u }\">\n <td>{{u.descrizione_valore}}</td>\n\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"18%\"\n style=\"height: 280px; position: relative; margin:0 .5em; padding-left: .5em; padding-right: .5em; border-left: 1px solid rgba(191, 191, 191, 0.5); border-right: 1px solid rgba(191, 191, 191, 0.5);\">\n <div style=\"position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);\">\n <button mat-raised-button (click)=\"do_add()\" [disabled]=\"!option\">\n <mat-icon>arrow_forward</mat-icon>\n </button>\n <br><br>\n <button mat-raised-button (click)=\"do_rem()\" [disabled]=\"option\">\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"41%\">\n \n\n <div style=\"width:100%;height:420px;overflow:auto;\">\n\n <table style=\"width: 100%\" class=\"fh_table\">\n <thead>\n <tr>\n <th>VALORI SELEZIONATI</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let u of value_sel;let odd=odd; let even=even;\" (mouseover)=\"selectedRemove=u\" [ngClass]=\"{ odd: odd, even: even }\" (click)=\"removeTo(u)\" (dblclick)=\"do_rem()\" class=\"selector\"\n [ngClass]=\"{ 'active': selectedRemove == u }\">\n <td>{{u.descrizione_valore}}</td>\n\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n <br><br>\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"5px\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\">Ok</button> \n <button mat-raised-button (click)=\"dialogRef.close()\">Annulla</button>\n </div>\n </div>\n\n ",
|
|
8950
|
-
styles: ["\n
|
|
8977
|
+
styles: ["\n .selector{\n cursor:hand\n }\n "]
|
|
8951
8978
|
}] }
|
|
8952
8979
|
];
|
|
8953
8980
|
/** @nocollapse */
|
|
@@ -16682,6 +16709,7 @@
|
|
|
16682
16709
|
*/function (data) {
|
|
16683
16710
|
if (data != null)
|
|
16684
16711
|
if (data.result_msg == "OK") {
|
|
16712
|
+
_this.init_grid();
|
|
16685
16713
|
_this.ok_conf_s(data.result_data);
|
|
16686
16714
|
}
|
|
16687
16715
|
}));
|
|
@@ -17763,7 +17791,7 @@
|
|
|
17763
17791
|
function () {
|
|
17764
17792
|
var _this = this;
|
|
17765
17793
|
/** @type {?} */
|
|
17766
|
-
var dialogRef = this.m_dialog.open(win_log, { 'disableClose': true, width: "
|
|
17794
|
+
var dialogRef = this.m_dialog.open(win_log, { 'disableClose': true, width: "95%", height: "95%" });
|
|
17767
17795
|
dialogRef.componentInstance.subject = this.app_info.descrizione_breve + ", <OP>: " + this.m_obj.codice + " " + this.getTitle();
|
|
17768
17796
|
dialogRef.componentInstance.lettori = this.m_obj.lettori;
|
|
17769
17797
|
dialogRef.componentInstance.link = this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit";
|