@fluxhub/fluxhub-lib 10.0.99 → 10.0.101
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 +11 -4
- 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/fhfieldpicklist.js +7 -7
- package/esm2015/lib/controls/win_list_pick.js +9 -2
- package/esm2015/lib/wkf_engine/win_assegna.js +2 -2
- package/esm2015/lib/wkf_engine/wkf_header_bar.js +5 -5
- package/fesm2015/fluxhub-fluxhub-lib.js +19 -12
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/win_list_pick.d.ts +1 -0
- package/package.json +1 -1
|
@@ -9121,6 +9121,7 @@
|
|
|
9121
9121
|
this.single_sel = false;
|
|
9122
9122
|
this.sel_values = "";
|
|
9123
9123
|
this.required = true;
|
|
9124
|
+
this.options = null;
|
|
9124
9125
|
if (data != null) {
|
|
9125
9126
|
if (data.sql != null)
|
|
9126
9127
|
this.sql = data.sql;
|
|
@@ -9142,6 +9143,8 @@
|
|
|
9142
9143
|
this.required = data.required;
|
|
9143
9144
|
if (data.sql != null)
|
|
9144
9145
|
this.doFill();
|
|
9146
|
+
if (data.options != null)
|
|
9147
|
+
this.options = data.options;
|
|
9145
9148
|
}
|
|
9146
9149
|
}
|
|
9147
9150
|
FHListPick.prototype.close = function () {
|
|
@@ -9175,7 +9178,11 @@
|
|
|
9175
9178
|
return;
|
|
9176
9179
|
this.dialogRef.close(this.cmb_sel.getObjects());
|
|
9177
9180
|
};
|
|
9178
|
-
FHListPick.prototype.ngAfterViewInit = function () {
|
|
9181
|
+
FHListPick.prototype.ngAfterViewInit = function () {
|
|
9182
|
+
if (this.options != null) {
|
|
9183
|
+
this.cmb_sel.myData = JSON.parse(JSON.stringify(this.options));
|
|
9184
|
+
}
|
|
9185
|
+
};
|
|
9179
9186
|
return FHListPick;
|
|
9180
9187
|
}());
|
|
9181
9188
|
FHListPick.decorators = [
|
|
@@ -9537,7 +9544,7 @@
|
|
|
9537
9544
|
}());
|
|
9538
9545
|
win_assegna.decorators = [
|
|
9539
9546
|
{ type: i0.Component, args: [{
|
|
9540
|
-
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 <h4 mat-dialog-title>{{ title }}</h4>\n <div\n mat-dialog-content\n fxLayout=\"column\"\n style=\"font-size: 15px;min-width: 750px\"\n >\n <div style=\"width:100%;height:450px\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n ></FHPickUsers>\n </div>\n <div *ngIf=\"comm_notrequired != 1\">\n <br />\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>Commento {{ nota_commento }}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"
|
|
9547
|
+
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 <h4 mat-dialog-title>{{ title }}</h4>\n <div\n mat-dialog-content\n fxLayout=\"column\"\n style=\"font-size: 15px;min-width: 750px\"\n >\n <div style=\"width:100%;height:450px\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n ></FHPickUsers>\n </div>\n <div *ngIf=\"comm_notrequired != 1\">\n <br />\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>Commento {{ nota_commento }}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"4\"></textarea>\n </mat-form-field>\n </div>\n </div>\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button\n > \n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n ANNULLA\n </button>\n </div>\n "
|
|
9541
9548
|
},] }
|
|
9542
9549
|
];
|
|
9543
9550
|
win_assegna.ctorParameters = function () { return [
|
|
@@ -11977,7 +11984,7 @@
|
|
|
11977
11984
|
wkf_header_bar.decorators = [
|
|
11978
11985
|
{ type: i0.Component, args: [{
|
|
11979
11986
|
selector: "wkf_header_bar",
|
|
11980
|
-
template: "\n <div fxLayout=\"row\" fxLayout.lt-md=\"column\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"
|
|
11987
|
+
template: "\n <div fxLayout=\"row\" fxLayoutGap.lt-md=\"8px\" fxLayout.lt-md=\"column\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"16px\" fxLayoutGap.lt-md=\"8px\"\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\" fxLayoutGap=\"16px\">\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\" fxLayoutGap=\"16px\">\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 "
|
|
11981
11988
|
},] }
|
|
11982
11989
|
];
|
|
11983
11990
|
wkf_header_bar.ctorParameters = function () { return [
|
|
@@ -12825,7 +12832,7 @@
|
|
|
12825
12832
|
{ type: i0.Component, args: [{
|
|
12826
12833
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$9],
|
|
12827
12834
|
selector: "FHFieldPickList",
|
|
12828
|
-
template: "\n <div\n fxLayout=\"row\"\n
|
|
12835
|
+
template: "\n <div\n fxLayout=\"row\"\n fxFlex=\"100\"\n fxLayoutAlign=\"start center\"\n [hidden]=\"hidden\" fxLayoutGap=\"10px\"\n >\n <div fxFlex fxLayout=\"row\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n type=\"text\"\n #el1\n matInput\n [readonly]=\"!enabled || only_in_list\"\n [(ngModel)]=\"value\"\n />\n </mat-form-field>\n </div>\n\n <div fxLayout=\"row\">\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"open_pick_list()\"\n [hidden]=\"!enabled\"\n >\n SELEZIONA\n </button>\n </div>\n </div>\n ",
|
|
12829
12836
|
styles: [""]
|
|
12830
12837
|
},] }
|
|
12831
12838
|
];
|