@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
|
@@ -35,7 +35,7 @@ import { DomSanitizer } from '@angular/platform-browser';
|
|
|
35
35
|
import { NgControl, NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
|
36
36
|
import { MatDialogRef, MatDialog, DateAdapter, MAT_DATE_LOCALE, MatAutocompleteModule, MatButtonModule, MatButtonToggleModule, MatPaginatorModule, MatCardModule, MatCheckboxModule, MatChipsModule, MatDatepickerModule, MatGridListModule, MatIconModule, MatInputModule, MatListModule, MatMenuModule, MatProgressBarModule, MatProgressSpinnerModule, MatRadioModule, MatSelectModule, MatSidenavModule, MatSliderModule, MatSortModule, MatSlideToggleModule, MatSnackBarModule, MatTableModule, MatTabsModule, MatToolbarModule, MatTooltipModule, MatFormFieldModule, MatExpansionModule, MatStepperModule, MatDialogModule, MatNativeDateModule } from '@angular/material';
|
|
37
37
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
38
|
-
import { Injectable, Component,
|
|
38
|
+
import { Injectable, Component, Pipe, Inject, PLATFORM_ID, Directive, Input, forwardRef, Output, EventEmitter, ViewChild, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
|
|
39
39
|
import { Http } from '@angular/http';
|
|
40
40
|
import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
|
|
41
41
|
import { ToastrService } from 'ngx-toastr';
|
|
@@ -9164,18 +9164,24 @@ var FHWinComboSelect = /** @class */ (function () {
|
|
|
9164
9164
|
this.m_appService = m_appService;
|
|
9165
9165
|
this.label = "";
|
|
9166
9166
|
this.width = "";
|
|
9167
|
+
this.nota = false;
|
|
9168
|
+
this.nota_val = "";
|
|
9167
9169
|
}
|
|
9168
9170
|
/**
|
|
9169
9171
|
* @param {?} lab
|
|
9170
9172
|
* @param {?} myD
|
|
9173
|
+
* @param {?=} nota
|
|
9171
9174
|
* @return {?}
|
|
9172
9175
|
*/
|
|
9173
9176
|
FHWinComboSelect.prototype.set_selection = /**
|
|
9174
9177
|
* @param {?} lab
|
|
9175
9178
|
* @param {?} myD
|
|
9179
|
+
* @param {?=} nota
|
|
9176
9180
|
* @return {?}
|
|
9177
9181
|
*/
|
|
9178
|
-
function (lab, myD) {
|
|
9182
|
+
function (lab, myD, nota) {
|
|
9183
|
+
if (nota === void 0) { nota = false; }
|
|
9184
|
+
this.nota = nota;
|
|
9179
9185
|
this.label = lab;
|
|
9180
9186
|
for (var i = 0; i < myD.length; i++)
|
|
9181
9187
|
this.cmb_sel.add_option(myD[i]);
|
|
@@ -9191,6 +9197,7 @@ var FHWinComboSelect = /** @class */ (function () {
|
|
|
9191
9197
|
this.toastr.error('Selezionare un valore');
|
|
9192
9198
|
return;
|
|
9193
9199
|
}
|
|
9200
|
+
this.cmb_sel.getObj().nota = this.nota_val;
|
|
9194
9201
|
this.dialogRef.close(this.cmb_sel.getObj());
|
|
9195
9202
|
};
|
|
9196
9203
|
/**
|
|
@@ -9204,7 +9211,7 @@ var FHWinComboSelect = /** @class */ (function () {
|
|
|
9204
9211
|
FHWinComboSelect.decorators = [
|
|
9205
9212
|
{ type: Component, args: [{
|
|
9206
9213
|
selector: 'fhwincomboselect',
|
|
9207
|
-
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 "
|
|
9214
|
+
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 "
|
|
9208
9215
|
}] }
|
|
9209
9216
|
];
|
|
9210
9217
|
/** @nocollapse */
|