@fluxhub/fluxhub-lib 10.0.552 → 10.0.554
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 +78 -78
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/fluxhub-fluxhub-lib.js +39 -39
- package/esm2015/lib/controls/fhcombobox.js +7 -6
- package/esm2015/lib/controls/fhgrid_toolbar.js +26 -133
- package/esm2015/lib/controls/fhgridcolumn.js +1 -0
- package/esm2015/lib/controls/fhhelpbutton.js +1 -1
- package/esm2015/lib/fluxhub-lib.module.js +2 -7
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +1 -1
- package/esm2015/lib/wkf_engine_v2/wkfapp.js +2 -1
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +2 -24
- package/fesm2015/fluxhub-fluxhub-lib.js +34 -158
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.d.ts +39 -39
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -1393,9 +1393,12 @@ class FHComboboxComponent {
|
|
|
1393
1393
|
this.setByDescri(this._tsr.instant(this.valDef));
|
|
1394
1394
|
}
|
|
1395
1395
|
doFill() {
|
|
1396
|
-
|
|
1396
|
+
if (this.load_delay != 0)
|
|
1397
|
+
setTimeout(() => {
|
|
1398
|
+
this.fillCombo();
|
|
1399
|
+
}, this.load_delay);
|
|
1400
|
+
else
|
|
1397
1401
|
this.fillCombo();
|
|
1398
|
-
}, this.load_delay);
|
|
1399
1402
|
}
|
|
1400
1403
|
ngAfterViewInit() {
|
|
1401
1404
|
setTimeout(() => {
|
|
@@ -1405,9 +1408,7 @@ class FHComboboxComponent {
|
|
|
1405
1408
|
setTimeout(() => { this.is_loaded = true; }, 1000);
|
|
1406
1409
|
return;
|
|
1407
1410
|
}
|
|
1408
|
-
|
|
1409
|
-
this.fillCombo();
|
|
1410
|
-
}, this.load_delay);
|
|
1411
|
+
this.doFill();
|
|
1411
1412
|
}
|
|
1412
1413
|
else {
|
|
1413
1414
|
this.errorMsg = "";
|
|
@@ -16399,118 +16400,8 @@ FHGridToolBarComponent.decorators = [
|
|
|
16399
16400
|
{ type: Component, args: [{
|
|
16400
16401
|
selector: "FHGridToolBar",
|
|
16401
16402
|
template: `
|
|
16402
|
-
|
|
16403
16403
|
<div
|
|
16404
|
-
*ngIf="type == 'WKF_NO_EDIT'"
|
|
16405
|
-
fxLayoutGap="3px"
|
|
16406
|
-
fxLayout="row"
|
|
16407
|
-
fxFlex="100"
|
|
16408
|
-
style="height: 70px;"
|
|
16409
|
-
fxLayoutAlign="end center"
|
|
16410
|
-
>
|
|
16411
|
-
<mat-toolbar>
|
|
16412
|
-
<div fxLayout="row" fxLayoutGap="3px" fxLayoutAlign="end center">
|
|
16413
|
-
<button
|
|
16414
|
-
mat-flat-button
|
|
16415
|
-
color="warn"
|
|
16416
|
-
mat-button
|
|
16417
|
-
fxHide
|
|
16418
|
-
fxShow.gt-sm
|
|
16419
|
-
[matMenuTriggerFor]="gest_menu"
|
|
16420
|
-
*ngIf="
|
|
16421
|
-
toolbar_wkfapp?.is_Supervisor ||
|
|
16422
|
-
toolbar_wkfapp?.is_Admin ||
|
|
16423
|
-
toolbar_wkfapp?.is_PowerUser
|
|
16424
|
-
"
|
|
16425
|
-
>
|
|
16426
|
-
<mat-icon>admin_panel_settings</mat-icon> {{
|
|
16427
|
-
"Gestione" | translate
|
|
16428
|
-
}}
|
|
16429
|
-
</button>
|
|
16430
|
-
<mat-menu #gest_menu="matMenu">
|
|
16431
|
-
<button [hidden]="sRow==null"
|
|
16432
|
-
mat-menu-item
|
|
16433
|
-
style="background-color: #F5F5F5"
|
|
16434
|
-
(click)="annulla_richiesta()"
|
|
16435
|
-
>
|
|
16436
|
-
{{ "ANNULLA DOCUMENTO" | translate }}
|
|
16437
|
-
</button>
|
|
16438
|
-
<button
|
|
16439
|
-
mat-menu-item
|
|
16440
|
-
style="background-color: #F5F5F5"
|
|
16441
|
-
(click)="recupera_richiesta()"
|
|
16442
|
-
>
|
|
16443
|
-
{{ "RECUPERA DOCUMENTO" | translate }}
|
|
16444
|
-
</button>
|
|
16445
|
-
<button [hidden]="sRow==null"
|
|
16446
|
-
mat-menu-item
|
|
16447
|
-
style="background-color: #F5F5F5"
|
|
16448
|
-
(click)="riassegna_richiesta()"
|
|
16449
|
-
*ngIf="toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin"
|
|
16450
|
-
>
|
|
16451
|
-
{{ "RIASSEGNA DOCUMENTO" | translate }}
|
|
16452
|
-
</button>
|
|
16453
|
-
<button
|
|
16454
|
-
mat-menu-item [hidden]="sRow==null"
|
|
16455
|
-
style="background-color: #F5F5F5"
|
|
16456
|
-
(click)="sostituisci_utente()"
|
|
16457
|
-
*ngIf="toolbar_wkfapp?.is_Admin"
|
|
16458
|
-
>
|
|
16459
|
-
{{ "SOSTITUISCI UTENTE" | translate }}
|
|
16460
|
-
</button>
|
|
16461
|
-
<button
|
|
16462
|
-
mat-menu-item [hidden]="sRow==null"
|
|
16463
|
-
style="background-color: #F5F5F5"
|
|
16464
|
-
(click)="reclama_bozza()"
|
|
16465
|
-
*ngIf="toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin"
|
|
16466
|
-
>
|
|
16467
|
-
{{ "RECLAMA BOZZA" | translate }}
|
|
16468
|
-
</button>
|
|
16469
|
-
<button
|
|
16470
|
-
mat-menu-item
|
|
16471
|
-
style="background-color: #F5F5F5"
|
|
16472
|
-
(click)="test_utente()"
|
|
16473
|
-
*ngIf="toolbar_wkfapp?.is_Admin"
|
|
16474
|
-
>
|
|
16475
|
-
{{ "TEST UTENTE" | translate }}
|
|
16476
|
-
</button>
|
|
16477
|
-
</mat-menu>
|
|
16478
|
-
<button
|
|
16479
|
-
mat-flat-button
|
|
16480
|
-
(click)="annulla_imp()"
|
|
16481
|
-
*ngIf="toolbar_wkfapp?.imp != ''"
|
|
16482
|
-
>
|
|
16483
|
-
{{ toolbar_wkfapp?.imp }}
|
|
16484
|
-
</button>
|
|
16485
|
-
<div *ngFor="let app of custom_commands">
|
|
16486
|
-
<div *ngIf="app.type == 'button' || app.type == null">
|
|
16487
|
-
<button [hidden]="app.hidden!=null && app.hidden"
|
|
16488
|
-
mat-flat-button
|
|
16489
|
-
[color]="app.color"
|
|
16490
|
-
(click)="exec_command(app.command)"
|
|
16491
|
-
>
|
|
16492
|
-
<mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
|
|
16493
|
-
> {{ app.label | translate }}
|
|
16494
|
-
</button>
|
|
16495
|
-
</div>
|
|
16496
|
-
<div *ngIf="app.type == 'checkbox'" style="font-size:12px">
|
|
16497
|
-
<FHCheckBox
|
|
16498
|
-
|
|
16499
|
-
(change)="selx(app.command, $event)"
|
|
16500
|
-
[label]="app.label | translate"
|
|
16501
|
-
[(ngModel)]="app.default_value"
|
|
16502
|
-
></FHCheckBox>
|
|
16503
|
-
</div>
|
|
16504
|
-
<div *ngIf="app.type == 'spacer'" style="width:60px"></div>
|
|
16505
|
-
<div *ngIf="app.type == 'table_manager'">
|
|
16506
|
-
<FHTableManager [application]="app.default_value"></FHTableManager>
|
|
16507
|
-
</div>
|
|
16508
|
-
</div>
|
|
16509
|
-
</div>
|
|
16510
|
-
</mat-toolbar>
|
|
16511
|
-
</div>
|
|
16512
|
-
<div
|
|
16513
|
-
*ngIf="type == 'WKF'"
|
|
16404
|
+
*ngIf="type == 'WKF' || type == 'WKF_NO_EDIT'"
|
|
16514
16405
|
fxLayoutGap="3px"
|
|
16515
16406
|
fxLayout="row"
|
|
16516
16407
|
fxFlex="100"
|
|
@@ -16534,7 +16425,7 @@ FHGridToolBarComponent.decorators = [
|
|
|
16534
16425
|
<button
|
|
16535
16426
|
mat-flat-button
|
|
16536
16427
|
(click)="insert_doc()"
|
|
16537
|
-
*ngIf="toolbar_wkfapp?.is_Ins"
|
|
16428
|
+
*ngIf="toolbar_wkfapp?.is_Ins && type != 'WKF_NO_EDIT'"
|
|
16538
16429
|
color="accent"
|
|
16539
16430
|
style="width:130px"
|
|
16540
16431
|
>
|
|
@@ -16595,36 +16486,39 @@ FHGridToolBarComponent.decorators = [
|
|
|
16595
16486
|
>
|
|
16596
16487
|
{{ toolbar_wkfapp?.imp }}
|
|
16597
16488
|
</button>
|
|
16598
|
-
|
|
16599
|
-
|
|
16600
|
-
|
|
16489
|
+
<div>
|
|
16490
|
+
<button
|
|
16491
|
+
mat-flat-button
|
|
16492
|
+
color="accent"
|
|
16493
|
+
mat-button
|
|
16494
|
+
[matMenuTriggerFor]="gest_menu_custom"
|
|
16495
|
+
*ngIf="custom_commands!=null && custom_commands.length>0"
|
|
16496
|
+
>
|
|
16497
|
+
<mat-icon>menu</mat-icon>
|
|
16498
|
+
</button>
|
|
16499
|
+
</div>
|
|
16500
|
+
<mat-menu #gest_menu_custom="matMenu">
|
|
16501
|
+
<div fxLayout="column" style="width:200px" fxLayoutAlign="center center">
|
|
16502
|
+
<ng-container *ngFor="let app of custom_commands">
|
|
16601
16503
|
|
|
16602
|
-
<button
|
|
16603
|
-
mat-flat-button
|
|
16504
|
+
<button *ngIf="app.type == 'button'" [hidden]="app.hidden"
|
|
16505
|
+
mat-flat-button style="width:180px"
|
|
16604
16506
|
[color]="app.color"
|
|
16605
16507
|
(click)="exec_command(app.command)"
|
|
16606
16508
|
>
|
|
16607
|
-
<mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
|
|
16608
|
-
> {{ app.label | translate }}
|
|
16509
|
+
<mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon> {{ app.label | translate }}
|
|
16609
16510
|
</button>
|
|
16610
|
-
|
|
16611
|
-
|
|
16612
|
-
|
|
16613
|
-
<FHCheckBox
|
|
16614
|
-
|
|
16511
|
+
<FHCheckBox
|
|
16512
|
+
*ngIf="app.type == 'checkbox'"
|
|
16615
16513
|
(change)="selx(app.command, $event)"
|
|
16616
16514
|
[label]="app.label | translate"
|
|
16617
16515
|
[(ngModel)]="app.default_value"
|
|
16618
16516
|
></FHCheckBox>
|
|
16619
|
-
|
|
16620
|
-
<div *ngIf="app.type == 'spacer'" style="width:60px">
|
|
16621
|
-
|
|
16622
|
-
</div>
|
|
16623
|
-
<div *ngIf="app.type == 'table_manager'">
|
|
16517
|
+
<FHTableManager *ngIf="app.type == 'table_manager'" style="width:180px" [application]="app.default_value"></FHTableManager>
|
|
16624
16518
|
|
|
16625
|
-
|
|
16626
|
-
|
|
16627
|
-
</
|
|
16519
|
+
</ng-container>
|
|
16520
|
+
</div>
|
|
16521
|
+
</mat-menu>
|
|
16628
16522
|
</div>
|
|
16629
16523
|
</mat-toolbar>
|
|
16630
16524
|
</div>
|
|
@@ -25551,20 +25445,6 @@ class dati_aggiuntivi_v2 {
|
|
|
25551
25445
|
return rt;
|
|
25552
25446
|
}
|
|
25553
25447
|
}
|
|
25554
|
-
dati_aggiuntivi_v2.decorators = [
|
|
25555
|
-
{ type: Directive }
|
|
25556
|
-
];
|
|
25557
|
-
dati_aggiuntivi_v2.ctorParameters = () => [
|
|
25558
|
-
{ type: AppService },
|
|
25559
|
-
{ type: QueryService },
|
|
25560
|
-
{ type: Router },
|
|
25561
|
-
{ type: MatDialog },
|
|
25562
|
-
{ type: ActivatedRoute },
|
|
25563
|
-
{ type: WkfService },
|
|
25564
|
-
{ type: UtilityService },
|
|
25565
|
-
{ type: FileService },
|
|
25566
|
-
{ type: TranslateService }
|
|
25567
|
-
];
|
|
25568
25448
|
dati_aggiuntivi_v2.propDecorators = {
|
|
25569
25449
|
onResize: [{ type: HostListener, args: ["window:resize", ["event"],] }]
|
|
25570
25450
|
};
|
|
@@ -27837,12 +27717,10 @@ FluxhubLibModule.decorators = [
|
|
|
27837
27717
|
CheckboxEditorComponent,
|
|
27838
27718
|
FHCheckBox,
|
|
27839
27719
|
FHTextInput,
|
|
27840
|
-
FHHelpButton,
|
|
27841
27720
|
fh_win_user_info,
|
|
27842
27721
|
win_insert_commento,
|
|
27843
27722
|
FHRoleManager,
|
|
27844
27723
|
FHFieldPickListComponent,
|
|
27845
|
-
SafePipe,
|
|
27846
27724
|
fhimagepreview,
|
|
27847
27725
|
fh_win_show_image,
|
|
27848
27726
|
fh_win_ask_buttons,
|
|
@@ -27864,7 +27742,6 @@ FluxhubLibModule.decorators = [
|
|
|
27864
27742
|
fh_win_app_logs,
|
|
27865
27743
|
FHCurrencyPipe,
|
|
27866
27744
|
fh_win_mappa,
|
|
27867
|
-
win_grid_help,
|
|
27868
27745
|
TextAreaEditor,
|
|
27869
27746
|
ComboBoxEditor,
|
|
27870
27747
|
FHListComponent,
|
|
@@ -27889,9 +27766,7 @@ FluxhubLibModule.decorators = [
|
|
|
27889
27766
|
FormBuilderComponent,
|
|
27890
27767
|
FormExecuterComponent,
|
|
27891
27768
|
FHTableManager, FHPickFieldComponent, FHUploadPanelS3Component, FHUploadS3Component, fh_win_show_email, fh_win_show_email_s3, fh_win_auto_complete,
|
|
27892
|
-
|
|
27893
|
-
win_commenti_v2, win_info_doc_v2, win_log_v2, win_recupera_doc_v2, win_riassegna_select_level_v2, win_riassegna_select_user_v2,
|
|
27894
|
-
win_sostituisci_utente_v2, win_commento_sel_notif_v2, wkf_header_bar_v2, win_insert_commento_v2
|
|
27769
|
+
wkf_header_bar_v2
|
|
27895
27770
|
],
|
|
27896
27771
|
declarations: [
|
|
27897
27772
|
fh_win_show_log_dett,
|
|
@@ -28814,6 +28689,7 @@ class wkfapp_v2 {
|
|
|
28814
28689
|
}
|
|
28815
28690
|
self_ok() {
|
|
28816
28691
|
if (this.get_grid() != null) {
|
|
28692
|
+
console.log('this.get_grid() ', this.get_grid());
|
|
28817
28693
|
this.get_grid().refresh_access(this);
|
|
28818
28694
|
return;
|
|
28819
28695
|
}
|
|
@@ -28985,5 +28861,5 @@ wkfapp_v2.ctorParameters = () => [
|
|
|
28985
28861
|
* Generated bundle index. Do not edit.
|
|
28986
28862
|
*/
|
|
28987
28863
|
|
|
28988
|
-
export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, CheckboxEditorComponent, ComboBoxEditor, CurrencyComponent, FHAutoCompleteComponent, FHCheckBox, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHFormToolBarComponent, FHGridComponent, FHGridComponentN, FHGridJSONComponent, FHGuard, FHListComponent, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, FHPickFieldComponent, FHRichText, FHRoleManager, FHTableManager, FHTextArea, FHTextInput, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUploadPanelS3Component, FHUploadS3Component, FHUserFieldComponent, FSInput, FSResult, FileService, FluxhubLibModule, FormBuilderComponent, FormExecuterComponent, GridService, LocalDBService, NumericEditorComponent, OdbcService, OfficeAutomatorService, QGParam, QGResult, QParam, QResult, QueryService, ReplaceLineBreaks, TextAreaEditor, UtilityService, WkfService, dati_aggiuntivi, dati_aggiuntivi_v2, fh_win_app_logs, fh_win_ask_big_text, fh_win_ask_buttons, fh_win_ask_number, fh_win_ask_richtext, fh_win_ask_text, fh_win_auto_complete, fh_win_combo, fh_win_confirm, fh_win_list, fh_win_mappa, fh_win_output, fh_win_picklist, fh_win_show_email, fh_win_show_email_s3, fh_win_show_image, fh_win_show_log, fh_win_show_log_dett, fh_win_time_slider, fh_win_uploads, fh_win_user_info, fh_win_user_picker, fh_win_wait, fhimagepreview, win_insert_commento, win_salva_annulla, wkf_header_bar, wkf_header_bar_v2, wkfapp, wkfapp_v2, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 as ɵa, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$3 as ɵb,
|
|
28864
|
+
export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, CheckboxEditorComponent, ComboBoxEditor, CurrencyComponent, FHAutoCompleteComponent, FHCheckBox, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHFormToolBarComponent, FHGridComponent, FHGridComponentN, FHGridJSONComponent, FHGuard, FHListComponent, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, FHPickFieldComponent, FHRichText, FHRoleManager, FHTableManager, FHTextArea, FHTextInput, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUploadPanelS3Component, FHUploadS3Component, FHUserFieldComponent, FSInput, FSResult, FileService, FluxhubLibModule, FormBuilderComponent, FormExecuterComponent, GridService, LocalDBService, NumericEditorComponent, OdbcService, OfficeAutomatorService, QGParam, QGResult, QParam, QResult, QueryService, ReplaceLineBreaks, TextAreaEditor, UtilityService, WkfService, dati_aggiuntivi, dati_aggiuntivi_v2, fh_win_app_logs, fh_win_ask_big_text, fh_win_ask_buttons, fh_win_ask_number, fh_win_ask_richtext, fh_win_ask_text, fh_win_auto_complete, fh_win_combo, fh_win_confirm, fh_win_list, fh_win_mappa, fh_win_output, fh_win_picklist, fh_win_show_email, fh_win_show_email_s3, fh_win_show_image, fh_win_show_log, fh_win_show_log_dett, fh_win_time_slider, fh_win_uploads, fh_win_user_info, fh_win_user_picker, fh_win_wait, fhimagepreview, win_insert_commento, win_salva_annulla, wkf_header_bar, wkf_header_bar_v2, wkfapp, wkfapp_v2, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 as ɵa, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$3 as ɵb, win_commenti as ɵba, win_info_doc as ɵbb, win_log as ɵbc, win_recupera_doc as ɵbd, win_riassegna_select_level as ɵbe, win_riassegna_select_user as ɵbf, win_sostituisci_utente as ɵbg, win_commento_sel_notif as ɵbh, win_manage_values as ɵbi, win_manage_roles as ɵbj, FHComboboxComponentFilter as ɵbk, win_salva_annulla_v2 as ɵbl, win_assegna_v2 as ɵbm, win_conferma_v2 as ɵbn, win_select_canale_v2 as ɵbo, win_select_level_v2 as ɵbp, win_uploads_v2 as ɵbq, win_commenti_v2 as ɵbr, win_info_doc_v2 as ɵbs, win_log_v2 as ɵbt, win_recupera_doc_v2 as ɵbu, win_riassegna_select_level_v2 as ɵbv, win_riassegna_select_user_v2 as ɵbw, win_sostituisci_utente_v2 as ɵbx, win_commento_sel_notif_v2 as ɵby, win_insert_commento_v2 as ɵbz, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$8 as ɵc, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$5 as ɵd, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR as ɵe, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6 as ɵf, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC as ɵg, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT as ɵh, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$4 as ɵi, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as ɵj, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$7 as ɵk, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$9 as ɵl, MOMENT_DATE_FORMATS as ɵm, MomentDateAdapter as ɵn, HighlightService as ɵo, win_show_log_info_dett as ɵp, FHHelpButton as ɵq, SafePipe as ɵr, FHViewerComponent as ɵs, FHGridToolBarComponent as ɵu, win_grid_help as ɵv, win_assegna as ɵw, win_conferma as ɵx, win_select_canale as ɵy, win_select_level as ɵz };
|
|
28989
28865
|
//# sourceMappingURL=fluxhub-fluxhub-lib.js.map
|