@fluxhub/fluxhub-lib 1.0.267 → 1.0.269
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 +233 -55
- 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/ApprovaGridComponent.html +1 -1
- package/docs/components/ComboBoxEditor.html +1 -1
- package/docs/components/CurrencyComponent.html +1 -1
- package/docs/components/DateComponent.html +1 -1
- package/docs/components/DtPick.html +1 -1
- package/docs/components/FHAutoCompleteComponent.html +1 -1
- package/docs/components/FHComboboxComponent.html +1 -1
- package/docs/components/FHConfirmComponent.html +1 -1
- package/docs/components/FHCurrencyFieldComponent.html +1 -1
- package/docs/components/FHDatePickerComponent.html +1 -1
- package/docs/components/FHFieldPickListComponent.html +1047 -0
- package/docs/components/FHGridComponent.html +1 -1
- package/docs/components/FHGridJSONComponent.html +1 -1
- package/docs/components/FHGridToolBarComponent.html +1 -1
- package/docs/components/FHListComponent.html +50 -23
- package/docs/components/FHListPick.html +111 -14
- package/docs/components/FHLogPanelComponent.html +1 -1
- package/docs/components/FHMdReader.html +1 -1
- package/docs/components/FHNumericFieldComponent.html +1 -1
- package/docs/components/FHPickListComponent.html +1 -1
- package/docs/components/FHRichText.html +1 -1
- package/docs/components/FHTimePickerComponent.html +1 -1
- package/docs/components/FHUploadComponent.html +1 -1
- package/docs/components/FHUploadPanelComponent.html +1 -1
- package/docs/components/FHUserFieldComponent.html +1 -1
- package/docs/components/FHUserPickerComponent.html +1 -1
- package/docs/components/FHViewerComponent.html +1 -1
- package/docs/components/FHWinComboSelect.html +1 -1
- package/docs/components/FSInput.html +1 -1
- package/docs/components/FSResult.html +1 -1
- package/docs/components/FormBuilderComponent.html +1 -1
- package/docs/components/FormExecuterComponent.html +1 -1
- package/docs/components/NumericEditorComponent.html +1 -1
- package/docs/components/QGParam.html +1 -1
- package/docs/components/QGResult.html +1 -1
- package/docs/components/QParam.html +1 -1
- package/docs/components/QResult.html +1 -1
- package/docs/components/TextAreaEditor.html +1 -1
- package/docs/components/WinAskButtonsComponent.html +1 -1
- package/docs/components/WinAskNumberComponent.html +1 -1
- package/docs/components/WinAskTextBigComponent.html +1 -1
- package/docs/components/WinAskTextComponent.html +1 -1
- package/docs/components/WinOutputComponent.html +1 -1
- package/docs/components/WinWait.html +1 -1
- package/docs/components/fhimagepreview.html +1 -1
- package/docs/components/win_assegna.html +5 -5
- package/docs/components/win_commenti.html +1 -1
- package/docs/components/win_commento_sel_notif.html +1 -1
- package/docs/components/win_conferma.html +5 -5
- package/docs/components/win_grid_help.html +1 -1
- package/docs/components/win_info_doc.html +1 -1
- package/docs/components/win_log.html +1 -1
- package/docs/components/win_mappa.html +1 -1
- package/docs/components/win_recupera_doc.html +1 -1
- package/docs/components/win_riassegna_select_level.html +1 -1
- package/docs/components/win_riassegna_select_user.html +1 -1
- package/docs/components/win_salva_annulla.html +1 -1
- package/docs/components/win_select_canale.html +1 -1
- package/docs/components/win_select_level.html +1 -1
- package/docs/components/win_show_image.html +1 -1
- package/docs/components/win_time_slider.html +1 -1
- package/docs/components/win_uploads.html +1 -1
- package/docs/components/wkf_header_bar.html +1 -1
- package/docs/coverage.html +26 -2
- package/docs/graph/dependencies.svg +747 -723
- package/docs/js/menu-wc.js +16 -12
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +49 -12
- package/docs/modules/FluxhubLibModule/dependencies.svg +747 -723
- package/docs/modules/FluxhubLibModule.html +753 -723
- package/docs/overview.html +748 -724
- package/esm2015/fluxhub-fluxhub-lib.js +26 -25
- package/esm2015/lib/controls/fhfieldpicklist.js +188 -0
- package/esm2015/lib/controls/fhlist.js +22 -12
- package/esm2015/lib/controls/win_list_pick.js +23 -10
- package/esm2015/lib/fluxhub-lib.module.js +4 -3
- package/esm2015/lib/wkf_engine/win_assegna.js +5 -5
- package/esm2015/lib/wkf_engine/win_conferma.js +5 -5
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +4 -14
- package/esm2015/public_api.js +2 -1
- package/esm5/fluxhub-fluxhub-lib.js +26 -25
- package/esm5/lib/controls/fhfieldpicklist.js +206 -0
- package/esm5/lib/controls/fhlist.js +12 -5
- package/esm5/lib/controls/win_list_pick.js +21 -2
- package/esm5/lib/fluxhub-lib.module.js +4 -3
- package/esm5/lib/wkf_engine/win_assegna.js +5 -5
- package/esm5/lib/wkf_engine/win_conferma.js +5 -5
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +4 -14
- package/esm5/public_api.js +2 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +205 -47
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +210 -32
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.d.ts +25 -24
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhfieldpicklist.d.ts +28 -0
- package/lib/controls/fhlist.d.ts +1 -0
- package/lib/controls/win_list_pick.d.ts +3 -0
- package/lib/wkf_engine/win_assegna.d.ts +1 -1
- package/lib/wkf_engine/win_conferma.d.ts +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
|
@@ -20,7 +20,6 @@ import { FlexLayoutModule } from '@angular/flex-layout';
|
|
|
20
20
|
import { MarkdownModule } from 'ngx-markdown';
|
|
21
21
|
import { CKEditorModule } from 'ng2-ckeditor';
|
|
22
22
|
import { isPlatformBrowser, CommonModule } from '@angular/common';
|
|
23
|
-
import { NgControl, NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
|
24
23
|
import { AgGridModule } from 'ag-grid-angular';
|
|
25
24
|
import { FileUploader, FileUploadModule } from 'ng2-file-upload';
|
|
26
25
|
import { MyDatePickerModule } from 'mydatepicker';
|
|
@@ -30,11 +29,12 @@ import { CdkTableModule } from '@angular/cdk/table';
|
|
|
30
29
|
import { Driver, NgForageCache, NgForage } from 'ngforage';
|
|
31
30
|
import { TranslateModule } from '@ngx-translate/core';
|
|
32
31
|
import { DragulaService, DragulaModule } from 'ng2-dragula';
|
|
33
|
-
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';
|
|
34
32
|
import { __read, __assign, __extends } from 'tslib';
|
|
35
33
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
34
|
+
import { NgControl, NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
|
35
|
+
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';
|
|
36
36
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
37
|
-
import { Injectable, Component,
|
|
37
|
+
import { Injectable, Component, Inject, PLATFORM_ID, Directive, Pipe, Input, ViewChild, Output, EventEmitter, forwardRef, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
|
|
38
38
|
import { Http } from '@angular/http';
|
|
39
39
|
import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
|
|
40
40
|
import { ToastrService } from 'ngx-toastr';
|
|
@@ -2605,6 +2605,7 @@ var FHListComponent = /** @class */ (function () {
|
|
|
2605
2605
|
this.values = [];
|
|
2606
2606
|
this.label = "";
|
|
2607
2607
|
this.enabled = true;
|
|
2608
|
+
this.single_sel = false;
|
|
2608
2609
|
this.fillend = new EventEmitter();
|
|
2609
2610
|
this.selchange = new EventEmitter();
|
|
2610
2611
|
this.initend = new EventEmitter();
|
|
@@ -2624,6 +2625,8 @@ var FHListComponent = /** @class */ (function () {
|
|
|
2624
2625
|
* @return {?}
|
|
2625
2626
|
*/
|
|
2626
2627
|
function (u, b) {
|
|
2628
|
+
if (this.single_sel)
|
|
2629
|
+
u.checked = true;
|
|
2627
2630
|
/*console.log(b.descrizione_valore +" "+b.checked);
|
|
2628
2631
|
for(let i:number=0;i<this.myData.length;i++)
|
|
2629
2632
|
if(this.myData[i].descrizione_valore==u.descrizione_valore){
|
|
@@ -2692,7 +2695,7 @@ var FHListComponent = /** @class */ (function () {
|
|
|
2692
2695
|
_this.resetValue();
|
|
2693
2696
|
// console.log(this.smtr); console.log(this.smtr.nativeElement);
|
|
2694
2697
|
_this.setByValue(_this.valDef);
|
|
2695
|
-
if (_this.getValue() == "
|
|
2698
|
+
if (_this.getValue() == "" && _this.valDef != "-1")
|
|
2696
2699
|
_this.setByDescri(_this.valDef);
|
|
2697
2700
|
_this.fillend.emit();
|
|
2698
2701
|
}
|
|
@@ -2725,10 +2728,11 @@ var FHListComponent = /** @class */ (function () {
|
|
|
2725
2728
|
return;
|
|
2726
2729
|
/** @type {?} */
|
|
2727
2730
|
var arr_val = desc_val.split(',');
|
|
2728
|
-
|
|
2731
|
+
console.log("arr_val ", arr_val);
|
|
2729
2732
|
for (var j = 0; j < this.myData.length; j++)
|
|
2730
2733
|
for (var j1 = 0; j1 < arr_val.length; j1++) {
|
|
2731
2734
|
if (this.myData[j].descrizione_valore == arr_val[j1]) {
|
|
2735
|
+
console.log('this.myData[j].checked ', this.myData[j].checked);
|
|
2732
2736
|
this.myData[j].checked = true;
|
|
2733
2737
|
}
|
|
2734
2738
|
}
|
|
@@ -2781,7 +2785,7 @@ var FHListComponent = /** @class */ (function () {
|
|
|
2781
2785
|
var arr_val = desc_val.split(',');
|
|
2782
2786
|
for (var j = 0; j < this.myData.length; j++)
|
|
2783
2787
|
for (var j1 = 0; j1 < arr_val.length; j1++) {
|
|
2784
|
-
|
|
2788
|
+
console.log(this.myData[j].valore + ' ' + arr_val[j1]);
|
|
2785
2789
|
if (this.myData[j].valore == arr_val[j1]) {
|
|
2786
2790
|
this.myData[j].checked = true;
|
|
2787
2791
|
//console.log("selval: "+this.selval);
|
|
@@ -2938,7 +2942,7 @@ var FHListComponent = /** @class */ (function () {
|
|
|
2938
2942
|
};
|
|
2939
2943
|
FHListComponent.decorators = [
|
|
2940
2944
|
{ type: Component, args: [{
|
|
2941
|
-
selector: 'FHList', template: "\n\n\n
|
|
2945
|
+
selector: 'FHList', template: "\n\n\n <table class=\"fh_table\" style=\"width:100%;\">\n <thead>\n <tr>\n <th *ngIf=\"!single_sel\"></th>\n <th>\n {{label}}\n\n </th>\n <th *ngIf=\"single_sel\"></th>\n </tr>\n </thead>\n <tbody>\n\n <tr *ngFor=\"let u of myData;let odd=odd; let even=even;\" [ngClass]=\"{ odd: odd, even: even }\">\n <td style=\"width:20px\" *ngIf=\"!single_sel\">\n <mat-slide-toggle (change)=\"upd_f(u,$event)\" [disabled]=\"!enabled\"\n [(ngModel)]=\"u.checked\"></mat-slide-toggle>\n </td>\n <td>{{u.descrizione_valore}}</td>\n <td style=\"width:20px;text-align: middle\" *ngIf=\"single_sel\" >\n\n <button mat-raised-button color=\"primary\" (click)=\"upd_f(u,$event)\" [disabled]=\"!enabled\" ><mat-icon>send</mat-icon> {{'SEL' | translate}}</button> \n\n \n </td>\n </tr>\n </tbody>\n </table>\n \n \n\n ",
|
|
2942
2946
|
styles: ["\n\n\n "]
|
|
2943
2947
|
}] }
|
|
2944
2948
|
];
|
|
@@ -2953,6 +2957,7 @@ var FHListComponent = /** @class */ (function () {
|
|
|
2953
2957
|
values: [{ type: Input }],
|
|
2954
2958
|
label: [{ type: Input }],
|
|
2955
2959
|
enabled: [{ type: Input }],
|
|
2960
|
+
single_sel: [{ type: Input }],
|
|
2956
2961
|
smtr: [{ type: ViewChild, args: ['cmb',] }],
|
|
2957
2962
|
fillend: [{ type: Output }],
|
|
2958
2963
|
selchange: [{ type: Output }],
|
|
@@ -10712,6 +10717,8 @@ var FHListPick = /** @class */ (function () {
|
|
|
10712
10717
|
this.m_appService = m_appService;
|
|
10713
10718
|
this.label = "";
|
|
10714
10719
|
this.sql = "";
|
|
10720
|
+
this.single_sel = false;
|
|
10721
|
+
this.sel_values = "";
|
|
10715
10722
|
}
|
|
10716
10723
|
/**
|
|
10717
10724
|
* @return {?}
|
|
@@ -10720,6 +10727,8 @@ var FHListPick = /** @class */ (function () {
|
|
|
10720
10727
|
* @return {?}
|
|
10721
10728
|
*/
|
|
10722
10729
|
function () {
|
|
10730
|
+
if (!this.single_sel)
|
|
10731
|
+
this.cmb_sel.setByDescri(this.sel_values);
|
|
10723
10732
|
this.cmb_sel.sql = this.sql;
|
|
10724
10733
|
this.cmb_sel.types = this.types;
|
|
10725
10734
|
this.cmb_sel.values = this.values;
|
|
@@ -10738,6 +10747,17 @@ var FHListPick = /** @class */ (function () {
|
|
|
10738
10747
|
}
|
|
10739
10748
|
this.dialogRef.close(this.cmb_sel.getObjects());
|
|
10740
10749
|
};
|
|
10750
|
+
/**
|
|
10751
|
+
* @return {?}
|
|
10752
|
+
*/
|
|
10753
|
+
FHListPick.prototype.ok_single = /**
|
|
10754
|
+
* @return {?}
|
|
10755
|
+
*/
|
|
10756
|
+
function () {
|
|
10757
|
+
if (!this.single_sel)
|
|
10758
|
+
return;
|
|
10759
|
+
this.dialogRef.close(this.cmb_sel.getObjects());
|
|
10760
|
+
};
|
|
10741
10761
|
/**
|
|
10742
10762
|
* @return {?}
|
|
10743
10763
|
*/
|
|
@@ -10749,7 +10769,7 @@ var FHListPick = /** @class */ (function () {
|
|
|
10749
10769
|
FHListPick.decorators = [
|
|
10750
10770
|
{ type: Component, args: [{
|
|
10751
10771
|
selector: 'fhwincomboselect',
|
|
10752
|
-
template: "\n <
|
|
10772
|
+
template: "\n <mat-dialog-content style=\"min-width:700px\">\n <FHList #cmb_sel [label]=\"label\" [single_sel]=\"single_sel\" [label]=\"\" style=\"width:100%;min-height:90px\" init_fill=\"false\" (selchange)=\"ok_single()\"></FHList>\n\n </mat-dialog-content>\n\n\n <mat-dialog-actions>\n<div fxLayout=\"row\" fxLayoutAlign=\"center center\" style=\"width: 100%\">\n \n <button mat-raised-button color=\"primary\" *ngIf=\"!single_sel\" (click)=\"ok()\">OK</button> \n <button mat-raised-button color=\"warn\" (click)=\"dialogRef.close('')\">ANNULLA</button>\n</div>\n </mat-dialog-actions>\n "
|
|
10753
10773
|
}] }
|
|
10754
10774
|
];
|
|
10755
10775
|
/** @nocollapse */
|
|
@@ -11187,7 +11207,7 @@ var win_assegna = /** @class */ (function () {
|
|
|
11187
11207
|
this.nota = "";
|
|
11188
11208
|
this.nota_commento = "";
|
|
11189
11209
|
this.title = "ASSEGNA DOCUMENTO";
|
|
11190
|
-
this.comm_notrequired =
|
|
11210
|
+
this.comm_notrequired = 0;
|
|
11191
11211
|
this.comm_notrequired = this.m_appService.getState().wkf_doc_info.comm_notrequired;
|
|
11192
11212
|
this.title = this.m_appService.getState().wkf_doc_info.title;
|
|
11193
11213
|
this.lbl = this.m_appService.getState().wkf_doc_info.lbl;
|
|
@@ -11196,7 +11216,7 @@ var win_assegna = /** @class */ (function () {
|
|
|
11196
11216
|
if (this.arrAutori[i].username == null)
|
|
11197
11217
|
this.arrAutori[i].username = this.arrAutori[i].idp;
|
|
11198
11218
|
}
|
|
11199
|
-
if (this.comm_notrequired)
|
|
11219
|
+
if (this.comm_notrequired == 2)
|
|
11200
11220
|
this.nota_commento = " (COMMENTO NON OBBLIGATORIO)";
|
|
11201
11221
|
}
|
|
11202
11222
|
/**
|
|
@@ -11206,7 +11226,7 @@ var win_assegna = /** @class */ (function () {
|
|
|
11206
11226
|
* @return {?}
|
|
11207
11227
|
*/
|
|
11208
11228
|
function () {
|
|
11209
|
-
if (
|
|
11229
|
+
if (this.comm_notrequired == 0)
|
|
11210
11230
|
if (this.nota == "") {
|
|
11211
11231
|
this.toastr.error("ERRORE", 'INSERIRE IL COMMENTO', {
|
|
11212
11232
|
timeOut: 1000,
|
|
@@ -11246,7 +11266,7 @@ var win_assegna = /** @class */ (function () {
|
|
|
11246
11266
|
};
|
|
11247
11267
|
win_assegna.decorators = [
|
|
11248
11268
|
{ type: Component, args: [{
|
|
11249
|
-
template: "\n <mat-toolbar>{{title}}\n </mat-toolbar>\n <div mat-dialog-content style=\"min-width:700px\">\n <div style=\"height:370px;\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <div *ngIf=\"
|
|
11269
|
+
template: "\n <mat-toolbar>{{title}}\n </mat-toolbar>\n <div mat-dialog-content style=\"min-width:700px\">\n <div style=\"height:370px;\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <div *ngIf=\"comm_notrequired!=1\">\n <br><br><br>\n <mat-form-field>\n <textarea matInput placeholder=\"Commento {{nota_commento}}\" [(ngModel)]=\"nota\" rows=\"6\"></textarea>\n </mat-form-field>\n </div>\n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button> \n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
|
|
11250
11270
|
}] }
|
|
11251
11271
|
];
|
|
11252
11272
|
/** @nocollapse */
|
|
@@ -11277,13 +11297,13 @@ var win_conferma = /** @class */ (function () {
|
|
|
11277
11297
|
this.nota = "";
|
|
11278
11298
|
this.nota_commento = "";
|
|
11279
11299
|
this.title = "COMMENTI";
|
|
11280
|
-
this.comm_notrequired =
|
|
11300
|
+
this.comm_notrequired = 0;
|
|
11281
11301
|
this.mobile = false;
|
|
11282
11302
|
this.comm_notrequired = this.m_appService.getState().wkf_doc_info.comm_notrequired;
|
|
11283
11303
|
this.title = this.m_appService.getState().wkf_doc_info.title;
|
|
11284
11304
|
this.lbl = this.m_appService.getState().wkf_doc_info.lbl;
|
|
11285
11305
|
this.utenti = this.m_appService.getState().wkf_doc_info.utenti;
|
|
11286
|
-
if (this.comm_notrequired)
|
|
11306
|
+
if (this.comm_notrequired == 2)
|
|
11287
11307
|
this.nota_commento = " (COMMENTO NON OBBLIGATORIO)";
|
|
11288
11308
|
this.mobile = this.m_appService.getState().pageFullscreen;
|
|
11289
11309
|
}
|
|
@@ -11294,7 +11314,7 @@ var win_conferma = /** @class */ (function () {
|
|
|
11294
11314
|
* @return {?}
|
|
11295
11315
|
*/
|
|
11296
11316
|
function () {
|
|
11297
|
-
if (
|
|
11317
|
+
if (this.comm_notrequired == 0)
|
|
11298
11318
|
if (this.nota == "") {
|
|
11299
11319
|
this.toastr.error("ERRORE", 'INSERIRE IL COMMENTO', {
|
|
11300
11320
|
timeOut: 1000,
|
|
@@ -11323,7 +11343,7 @@ var win_conferma = /** @class */ (function () {
|
|
|
11323
11343
|
};
|
|
11324
11344
|
win_conferma.decorators = [
|
|
11325
11345
|
{ type: Component, args: [{
|
|
11326
|
-
template: "\n <mat-toolbar>\n <div style=\"font-size:10px\" *ngIf=\"mobile\">{{lbl}}</div>\n <div *ngIf=\"!mobile\">{{lbl}}</div>\n\n\n </mat-toolbar>\n <br>\n <div mat-dialog-content style=\"min-width:800px\">\n <div *ngIf=\"mobile\" style=\"font-size:10px\">Assegnata a: {{utenti}}</div>\n <h3 *ngIf=\"!mobile\">Assegnata a: {{utenti}}</h3>\n <br>\n <mat-form-field [hidden]=\"comm_notrequired\">\n <textarea matInput placeholder=\"Commento {{nota_commento}}\" [(ngModel)]=\"nota\" rows=\"6\"></textarea>\n </mat-form-field>\n\n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button> \n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
|
|
11346
|
+
template: "\n <mat-toolbar>\n <div style=\"font-size:10px\" *ngIf=\"mobile\">{{lbl}}</div>\n <div *ngIf=\"!mobile\">{{lbl}}</div>\n\n\n </mat-toolbar>\n <br>\n <div mat-dialog-content style=\"min-width:800px\">\n <div *ngIf=\"mobile\" style=\"font-size:10px\">Assegnata a: {{utenti}}</div>\n <h3 *ngIf=\"!mobile\">Assegnata a: {{utenti}}</h3>\n <br>\n <mat-form-field [hidden]=\"comm_notrequired!=1\">\n <textarea matInput placeholder=\"Commento {{nota_commento}}\" [(ngModel)]=\"nota\" rows=\"6\"></textarea>\n </mat-form-field>\n\n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button> \n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
|
|
11327
11347
|
}] }
|
|
11328
11348
|
];
|
|
11329
11349
|
/** @nocollapse */
|
|
@@ -15068,10 +15088,7 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
15068
15088
|
else
|
|
15069
15089
|
this.app_s.getState().wkf_doc_info.lbl = "La richiesta verrà chiusa con stato: " + this.nlevel.descri_livello;
|
|
15070
15090
|
this.app_s.getState().wkf_doc_info.utenti = sp;
|
|
15071
|
-
|
|
15072
|
-
this.app_s.getState().wkf_doc_info.comm_notrequired = true;
|
|
15073
|
-
else
|
|
15074
|
-
this.app_s.getState().wkf_doc_info.comm_notrequired = false;
|
|
15091
|
+
this.app_s.getState().wkf_doc_info.comm_notrequired = this.clevel.commenti_opzionali;
|
|
15075
15092
|
/** @type {?} */
|
|
15076
15093
|
var dialogRef = this.m_dialog.open(win_conferma, {
|
|
15077
15094
|
disableClose: true
|
|
@@ -15094,10 +15111,7 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
15094
15111
|
}
|
|
15095
15112
|
else {
|
|
15096
15113
|
this.app_s.getState().wkf_doc_info.title = 'Assegnazione';
|
|
15097
|
-
|
|
15098
|
-
this.app_s.getState().wkf_doc_info.comm_notrequired = true;
|
|
15099
|
-
else
|
|
15100
|
-
this.app_s.getState().wkf_doc_info.comm_notrequired = false;
|
|
15114
|
+
this.app_s.getState().wkf_doc_info.comm_notrequired = this.nlevel.commenti_opzionali;
|
|
15101
15115
|
this.app_s.getState().wkf_doc_info.arrAutori = arrAutori.sort((/**
|
|
15102
15116
|
* @param {?} n1
|
|
15103
15117
|
* @param {?} n2
|
|
@@ -15116,11 +15130,7 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
15116
15130
|
var dialogRef = this.m_dialog.open(win_assegna, {
|
|
15117
15131
|
disableClose: true
|
|
15118
15132
|
});
|
|
15119
|
-
|
|
15120
|
-
dialogRef.componentInstance.comm_notrequired = true;
|
|
15121
|
-
else
|
|
15122
|
-
dialogRef.componentInstance.comm_notrequired = false;
|
|
15123
|
-
console.log('dialogRef.componentInstance.comm_notrequired ', dialogRef.componentInstance.comm_notrequired);
|
|
15133
|
+
dialogRef.componentInstance.comm_notrequired = this.nlevel.commenti_opzionali;
|
|
15124
15134
|
dialogRef.afterClosed().subscribe((/**
|
|
15125
15135
|
* @param {?} result
|
|
15126
15136
|
* @return {?}
|
|
@@ -17715,6 +17725,174 @@ var SafePipe = /** @class */ (function () {
|
|
|
17715
17725
|
return SafePipe;
|
|
17716
17726
|
}());
|
|
17717
17727
|
|
|
17728
|
+
/**
|
|
17729
|
+
* @fileoverview added by tsickle
|
|
17730
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
17731
|
+
*/
|
|
17732
|
+
/** @type {?} */
|
|
17733
|
+
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 = {
|
|
17734
|
+
provide: NG_VALUE_ACCESSOR,
|
|
17735
|
+
useExisting: forwardRef((/**
|
|
17736
|
+
* @return {?}
|
|
17737
|
+
*/
|
|
17738
|
+
function () { return FHFieldPickListComponent; })),
|
|
17739
|
+
multi: true
|
|
17740
|
+
};
|
|
17741
|
+
var FHFieldPickListComponent = /** @class */ (function () {
|
|
17742
|
+
function FHFieldPickListComponent(m_dialog) {
|
|
17743
|
+
this.m_dialog = m_dialog;
|
|
17744
|
+
this.sql = "";
|
|
17745
|
+
this.types = new Array();
|
|
17746
|
+
this.values = new Array();
|
|
17747
|
+
this.hidden = false;
|
|
17748
|
+
this.only_in_list = true;
|
|
17749
|
+
this.single_sel = false;
|
|
17750
|
+
this.label = "";
|
|
17751
|
+
this.enabled = true;
|
|
17752
|
+
this.required = false;
|
|
17753
|
+
this.db_type = "1";
|
|
17754
|
+
this.value = "";
|
|
17755
|
+
this.onChange = (/**
|
|
17756
|
+
* @param {?} _
|
|
17757
|
+
* @return {?}
|
|
17758
|
+
*/
|
|
17759
|
+
function (_) {
|
|
17760
|
+
});
|
|
17761
|
+
this.onTouched = (/**
|
|
17762
|
+
* @return {?}
|
|
17763
|
+
*/
|
|
17764
|
+
function () {
|
|
17765
|
+
});
|
|
17766
|
+
}
|
|
17767
|
+
/**
|
|
17768
|
+
* @return {?}
|
|
17769
|
+
*/
|
|
17770
|
+
FHFieldPickListComponent.prototype.resetValue = /**
|
|
17771
|
+
* @return {?}
|
|
17772
|
+
*/
|
|
17773
|
+
function () {
|
|
17774
|
+
this.value = '';
|
|
17775
|
+
};
|
|
17776
|
+
/**
|
|
17777
|
+
* @param {?} value
|
|
17778
|
+
* @return {?}
|
|
17779
|
+
*/
|
|
17780
|
+
FHFieldPickListComponent.prototype.writeValue = /**
|
|
17781
|
+
* @param {?} value
|
|
17782
|
+
* @return {?}
|
|
17783
|
+
*/
|
|
17784
|
+
function (value) {
|
|
17785
|
+
this.onChange(this.value);
|
|
17786
|
+
};
|
|
17787
|
+
/**
|
|
17788
|
+
* @param {?} fn
|
|
17789
|
+
* @return {?}
|
|
17790
|
+
*/
|
|
17791
|
+
FHFieldPickListComponent.prototype.registerOnChange = /**
|
|
17792
|
+
* @param {?} fn
|
|
17793
|
+
* @return {?}
|
|
17794
|
+
*/
|
|
17795
|
+
function (fn) {
|
|
17796
|
+
this.onChange = fn;
|
|
17797
|
+
};
|
|
17798
|
+
/**
|
|
17799
|
+
* @param {?} fn
|
|
17800
|
+
* @return {?}
|
|
17801
|
+
*/
|
|
17802
|
+
FHFieldPickListComponent.prototype.registerOnTouched = /**
|
|
17803
|
+
* @param {?} fn
|
|
17804
|
+
* @return {?}
|
|
17805
|
+
*/
|
|
17806
|
+
function (fn) {
|
|
17807
|
+
this.onTouched = fn;
|
|
17808
|
+
};
|
|
17809
|
+
/**
|
|
17810
|
+
* @return {?}
|
|
17811
|
+
*/
|
|
17812
|
+
FHFieldPickListComponent.prototype.focus = /**
|
|
17813
|
+
* @return {?}
|
|
17814
|
+
*/
|
|
17815
|
+
function () {
|
|
17816
|
+
};
|
|
17817
|
+
/**
|
|
17818
|
+
* @return {?}
|
|
17819
|
+
*/
|
|
17820
|
+
FHFieldPickListComponent.prototype.reset = /**
|
|
17821
|
+
* @return {?}
|
|
17822
|
+
*/
|
|
17823
|
+
function () {
|
|
17824
|
+
this.value = '';
|
|
17825
|
+
};
|
|
17826
|
+
/**
|
|
17827
|
+
* @return {?}
|
|
17828
|
+
*/
|
|
17829
|
+
FHFieldPickListComponent.prototype.open_pick_list = /**
|
|
17830
|
+
* @return {?}
|
|
17831
|
+
*/
|
|
17832
|
+
function () {
|
|
17833
|
+
var _this = this;
|
|
17834
|
+
/** @type {?} */
|
|
17835
|
+
var dialogRef = this.m_dialog.open(FHListPick, {
|
|
17836
|
+
disableClose: true
|
|
17837
|
+
});
|
|
17838
|
+
dialogRef.componentInstance.single_sel = this.single_sel;
|
|
17839
|
+
dialogRef.componentInstance.sel_values = this.value;
|
|
17840
|
+
dialogRef.componentInstance.label = this.label;
|
|
17841
|
+
dialogRef.componentInstance.sql = this.sql;
|
|
17842
|
+
dialogRef.componentInstance.types = this.types;
|
|
17843
|
+
dialogRef.componentInstance.values = this.values;
|
|
17844
|
+
dialogRef.componentInstance.doFill();
|
|
17845
|
+
dialogRef.afterClosed().subscribe((/**
|
|
17846
|
+
* @param {?} result
|
|
17847
|
+
* @return {?}
|
|
17848
|
+
*/
|
|
17849
|
+
function (result) {
|
|
17850
|
+
if (result != null && result != '') {
|
|
17851
|
+
_this.value = '';
|
|
17852
|
+
for (var i = 0; i < result.length; i++) {
|
|
17853
|
+
if (_this.value != '')
|
|
17854
|
+
_this.value += ',';
|
|
17855
|
+
_this.value += result[i].descrizione_valore;
|
|
17856
|
+
}
|
|
17857
|
+
return;
|
|
17858
|
+
}
|
|
17859
|
+
}));
|
|
17860
|
+
};
|
|
17861
|
+
/**
|
|
17862
|
+
* @return {?}
|
|
17863
|
+
*/
|
|
17864
|
+
FHFieldPickListComponent.prototype.ngOnInit = /**
|
|
17865
|
+
* @return {?}
|
|
17866
|
+
*/
|
|
17867
|
+
function () {
|
|
17868
|
+
};
|
|
17869
|
+
FHFieldPickListComponent.decorators = [
|
|
17870
|
+
{ type: Component, args: [{
|
|
17871
|
+
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2],
|
|
17872
|
+
selector: 'FHFieldPickList', template: "\n<div fxLayout=\"row\" style=\"width: 100%\" fxLayoutAlign=\"start center\" [hidden]=\"hidden\">\n <mat-form-field>\n <input type=\"text\" #el1 matInput [disabled]=\"!enabled || only_in_list\" placeholder=\"{{label}}\" [(ngModel)]=\"value\">\n </mat-form-field> \n <button mat-raised-button color=\"primary\" (click)=\"open_pick_list()\" [disabled]=\"!enabled\">SELEZIONA</button>\n</div>\n ",
|
|
17873
|
+
styles: ["\n\n "]
|
|
17874
|
+
}] }
|
|
17875
|
+
];
|
|
17876
|
+
/** @nocollapse */
|
|
17877
|
+
FHFieldPickListComponent.ctorParameters = function () { return [
|
|
17878
|
+
{ type: MatDialog }
|
|
17879
|
+
]; };
|
|
17880
|
+
FHFieldPickListComponent.propDecorators = {
|
|
17881
|
+
sql: [{ type: Input }],
|
|
17882
|
+
types: [{ type: Input }],
|
|
17883
|
+
values: [{ type: Input }],
|
|
17884
|
+
hidden: [{ type: Input }],
|
|
17885
|
+
only_in_list: [{ type: Input }],
|
|
17886
|
+
single_sel: [{ type: Input }],
|
|
17887
|
+
label: [{ type: Input }],
|
|
17888
|
+
enabled: [{ type: Input }],
|
|
17889
|
+
required: [{ type: Input }],
|
|
17890
|
+
db_type: [{ type: Input }],
|
|
17891
|
+
value: [{ type: Input }]
|
|
17892
|
+
};
|
|
17893
|
+
return FHFieldPickListComponent;
|
|
17894
|
+
}());
|
|
17895
|
+
|
|
17718
17896
|
/**
|
|
17719
17897
|
* @fileoverview added by tsickle
|
|
17720
17898
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -17785,13 +17963,13 @@ var FluxhubLibModule = /** @class */ (function () {
|
|
|
17785
17963
|
apiKey: 'AIzaSyD3-g3b_QqxUruxBY4PGJKaH2fubIVXvN4'
|
|
17786
17964
|
}),
|
|
17787
17965
|
FlexLayoutModule, MarkdownModule, CKEditorModule],
|
|
17788
|
-
exports: [SafePipe, fhimagepreview, win_show_image, WinAskButtonsComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent,
|
|
17966
|
+
exports: [FHFieldPickListComponent, SafePipe, fhimagepreview, win_show_image, WinAskButtonsComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent,
|
|
17789
17967
|
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, DateComponent, NumericEditorComponent,
|
|
17790
17968
|
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|
|
17791
17969
|
ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, DtPick, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
|
|
17792
17970
|
FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent, wkf_header_bar,
|
|
17793
17971
|
FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent],
|
|
17794
|
-
declarations: [SafePipe, FHViewerComponent,
|
|
17972
|
+
declarations: [FHFieldPickListComponent, SafePipe, FHViewerComponent,
|
|
17795
17973
|
fhimagepreview, win_show_image, WinAskButtonsComponent, FHGridToolBarComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent, wkf_header_bar,
|
|
17796
17974
|
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, DateComponent, NumericEditorComponent,
|
|
17797
17975
|
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|
|
@@ -18019,6 +18197,6 @@ var dt = /** @class */ (function () {
|
|
|
18019
18197
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
18020
18198
|
*/
|
|
18021
18199
|
|
|
18022
|
-
export { FluxhubLibModule, AppService, AppMakerService, FileService, OdbcService, QueryService, WkfService, GridService, AuthenticationService, UtilityService, OfficeAutomatorService, LocalDBService, FHGuard, FHGridJSONComponent, FHGridComponent, ApprovaGridComponent, CurrencyComponent, DateComponent, DtPick, dt, NumericEditorComponent, ComboBoxEditor, TextAreaEditor, FHAutoCompleteComponent, FHComboboxComponent, FHConfirmComponent, FHCurrencyFieldComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHListComponent, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, ReplaceLineBreaks, FHRichText, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUserFieldComponent, FHUserPickerComponent, FHPickListComponent, WinAskNumberComponent, WinAskTextComponent, WinAskTextBigComponent, WinAskButtonsComponent, FHWinComboSelect, win_show_image, fhimagepreview, FHListPick, win_mappa, WinOutputComponent, win_time_slider, WinWait, win_salva_annulla, QGParam, QGResult, QParam, QResult, FSInput, FSResult, FormBuilderComponent, FormExecuterComponent, wkf_header_bar, wkfapp, dati_aggiuntivi, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR as ɵa, FHGridToolBarComponent as
|
|
18200
|
+
export { FluxhubLibModule, AppService, AppMakerService, FileService, OdbcService, QueryService, WkfService, GridService, AuthenticationService, UtilityService, OfficeAutomatorService, LocalDBService, FHGuard, FHGridJSONComponent, FHGridComponent, ApprovaGridComponent, CurrencyComponent, DateComponent, DtPick, dt, NumericEditorComponent, ComboBoxEditor, TextAreaEditor, FHFieldPickListComponent, FHAutoCompleteComponent, FHComboboxComponent, FHConfirmComponent, FHCurrencyFieldComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHListComponent, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, ReplaceLineBreaks, FHRichText, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUserFieldComponent, FHUserPickerComponent, FHPickListComponent, WinAskNumberComponent, WinAskTextComponent, WinAskTextBigComponent, WinAskButtonsComponent, FHWinComboSelect, win_show_image, fhimagepreview, FHListPick, win_mappa, WinOutputComponent, win_time_slider, WinWait, win_salva_annulla, QGParam, QGResult, QParam, QResult, FSInput, FSResult, FormBuilderComponent, FormExecuterComponent, wkf_header_bar, wkfapp, dati_aggiuntivi, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR as ɵb, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as ɵa, FHGridToolBarComponent as ɵm, win_grid_help as ɵi, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC as ɵc, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT as ɵd, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 as ɵe, FHViewerComponent as ɵk, SafePipe as ɵf, DecimalMask as ɵg, FHValueAccessor as ɵh, HighlightService as ɵj, win_assegna as ɵn, win_commenti as ɵs, win_commento_sel_notif as ɵy, win_conferma as ɵo, win_info_doc as ɵt, win_log as ɵu, win_recupera_doc as ɵv, win_riassegna_select_level as ɵw, win_riassegna_select_user as ɵx, win_select_canale as ɵp, win_select_level as ɵq, win_uploads as ɵr };
|
|
18023
18201
|
|
|
18024
18202
|
//# sourceMappingURL=fluxhub-fluxhub-lib.js.map
|