@fluxhub/fluxhub-lib 1.0.302 → 1.0.303
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 -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/components/FHWinComboSelect.html +86 -2
- package/docs/coverage.html +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/controls/win_combo_select.js +15 -2
- package/esm5/lib/controls/win_combo_select.js +14 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +11 -2
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +10 -3
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/win_combo_select.d.ts +3 -1
- package/package.json +1 -1
|
@@ -7975,18 +7975,26 @@
|
|
|
7975
7975
|
this.m_appService = m_appService;
|
|
7976
7976
|
this.label = "";
|
|
7977
7977
|
this.width = "";
|
|
7978
|
+
this.nota = false;
|
|
7979
|
+
this.nota_val = "";
|
|
7978
7980
|
}
|
|
7979
7981
|
/**
|
|
7980
7982
|
* @param {?} lab
|
|
7981
7983
|
* @param {?} myD
|
|
7984
|
+
* @param {?=} nota
|
|
7982
7985
|
* @return {?}
|
|
7983
7986
|
*/
|
|
7984
7987
|
FHWinComboSelect.prototype.set_selection = /**
|
|
7985
7988
|
* @param {?} lab
|
|
7986
7989
|
* @param {?} myD
|
|
7990
|
+
* @param {?=} nota
|
|
7987
7991
|
* @return {?}
|
|
7988
7992
|
*/
|
|
7989
|
-
function (lab, myD) {
|
|
7993
|
+
function (lab, myD, nota) {
|
|
7994
|
+
if (nota === void 0) {
|
|
7995
|
+
nota = false;
|
|
7996
|
+
}
|
|
7997
|
+
this.nota = nota;
|
|
7990
7998
|
this.label = lab;
|
|
7991
7999
|
for (var i = 0; i < myD.length; i++)
|
|
7992
8000
|
this.cmb_sel.add_option(myD[i]);
|
|
@@ -8002,6 +8010,7 @@
|
|
|
8002
8010
|
this.toastr.error('Selezionare un valore');
|
|
8003
8011
|
return;
|
|
8004
8012
|
}
|
|
8013
|
+
this.cmb_sel.getObj().nota = this.nota_val;
|
|
8005
8014
|
this.dialogRef.close(this.cmb_sel.getObj());
|
|
8006
8015
|
};
|
|
8007
8016
|
/**
|
|
@@ -8015,7 +8024,7 @@
|
|
|
8015
8024
|
FHWinComboSelect.decorators = [
|
|
8016
8025
|
{ type: i0.Component, args: [{
|
|
8017
8026
|
selector: 'fhwincomboselect',
|
|
8018
|
-
template: "\n <h2 mat-dialog-title [style.width]=\"width\">\n SELEZIONA {{label | uppercase}}\n </h2>\n <mat-dialog-content style=\"width:100%\">\n <div [style.width]=\"width\">\n <FHComboBox #cmb_sel [init_fill]=\"false\"></FHComboBox>\n </div>\n </mat-dialog-content>\n\n\n <mat-dialog-actions [style.width]=\"width\" style=\"text-align:center\">\n\n\n <button mat-raised-button color=\"primary\" (click)=\"ok()\">OK</button>\n <button mat-raised-button color=\"warn\" (click)=\"dialogRef.close('')\">CHIUDI</button>\n\n </mat-dialog-actions>\n "
|
|
8027
|
+
template: "\n <h2 mat-dialog-title [style.width]=\"width\">\n SELEZIONA {{label | uppercase}}\n </h2>\n <mat-dialog-content style=\"width:100%\">\n <div [style.width]=\"width\">\n <FHComboBox #cmb_sel [init_fill]=\"false\"></FHComboBox>\n </div>\n <mat-form-field *ngIf=\"nota\" >\n <textarea matInput placeholder=\"Nota\"[(ngModel)]=\"nota_val\" rows=\"12\"></textarea>\n </mat-form-field>\n\n </mat-dialog-content>\n\n\n <mat-dialog-actions [style.width]=\"width\" style=\"text-align:center\">\n\n\n <button mat-raised-button color=\"primary\" (click)=\"ok()\">OK</button>\n <button mat-raised-button color=\"warn\" (click)=\"dialogRef.close('')\">CHIUDI</button>\n\n </mat-dialog-actions>\n "
|
|
8019
8028
|
}] }
|
|
8020
8029
|
];
|
|
8021
8030
|
/** @nocollapse */
|