@fluxhub/fluxhub-lib 10.0.553 → 10.0.555
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 +43 -60
- 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/fhgrid_toolbar.js +26 -133
- package/esm2015/lib/controls/fhhelpbutton.js +1 -1
- package/esm2015/lib/fluxhub-lib.module.js +2 -7
- package/esm2015/lib/services/login.service.js +2 -1
- 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 +29 -153
- 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
|
@@ -8821,6 +8821,7 @@ class AuthenticationService {
|
|
|
8821
8821
|
this.app_s.user_isadmin = null;
|
|
8822
8822
|
this.app_s.token = null;
|
|
8823
8823
|
localStorage.removeItem(this.app_s.COMPANY_KEY + "token");
|
|
8824
|
+
this.goto_after = '';
|
|
8824
8825
|
if (this.app_s.LOGIN_EXT != 1)
|
|
8825
8826
|
this.router.navigate(["login"]);
|
|
8826
8827
|
else {
|
|
@@ -16400,118 +16401,8 @@ FHGridToolBarComponent.decorators = [
|
|
|
16400
16401
|
{ type: Component, args: [{
|
|
16401
16402
|
selector: "FHGridToolBar",
|
|
16402
16403
|
template: `
|
|
16403
|
-
|
|
16404
|
-
<div
|
|
16405
|
-
*ngIf="type == 'WKF_NO_EDIT'"
|
|
16406
|
-
fxLayoutGap="3px"
|
|
16407
|
-
fxLayout="row"
|
|
16408
|
-
fxFlex="100"
|
|
16409
|
-
style="height: 70px;"
|
|
16410
|
-
fxLayoutAlign="end center"
|
|
16411
|
-
>
|
|
16412
|
-
<mat-toolbar>
|
|
16413
|
-
<div fxLayout="row" fxLayoutGap="3px" fxLayoutAlign="end center">
|
|
16414
|
-
<button
|
|
16415
|
-
mat-flat-button
|
|
16416
|
-
color="warn"
|
|
16417
|
-
mat-button
|
|
16418
|
-
fxHide
|
|
16419
|
-
fxShow.gt-sm
|
|
16420
|
-
[matMenuTriggerFor]="gest_menu"
|
|
16421
|
-
*ngIf="
|
|
16422
|
-
toolbar_wkfapp?.is_Supervisor ||
|
|
16423
|
-
toolbar_wkfapp?.is_Admin ||
|
|
16424
|
-
toolbar_wkfapp?.is_PowerUser
|
|
16425
|
-
"
|
|
16426
|
-
>
|
|
16427
|
-
<mat-icon>admin_panel_settings</mat-icon> {{
|
|
16428
|
-
"Gestione" | translate
|
|
16429
|
-
}}
|
|
16430
|
-
</button>
|
|
16431
|
-
<mat-menu #gest_menu="matMenu">
|
|
16432
|
-
<button [hidden]="sRow==null"
|
|
16433
|
-
mat-menu-item
|
|
16434
|
-
style="background-color: #F5F5F5"
|
|
16435
|
-
(click)="annulla_richiesta()"
|
|
16436
|
-
>
|
|
16437
|
-
{{ "ANNULLA DOCUMENTO" | translate }}
|
|
16438
|
-
</button>
|
|
16439
|
-
<button
|
|
16440
|
-
mat-menu-item
|
|
16441
|
-
style="background-color: #F5F5F5"
|
|
16442
|
-
(click)="recupera_richiesta()"
|
|
16443
|
-
>
|
|
16444
|
-
{{ "RECUPERA DOCUMENTO" | translate }}
|
|
16445
|
-
</button>
|
|
16446
|
-
<button [hidden]="sRow==null"
|
|
16447
|
-
mat-menu-item
|
|
16448
|
-
style="background-color: #F5F5F5"
|
|
16449
|
-
(click)="riassegna_richiesta()"
|
|
16450
|
-
*ngIf="toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin"
|
|
16451
|
-
>
|
|
16452
|
-
{{ "RIASSEGNA DOCUMENTO" | translate }}
|
|
16453
|
-
</button>
|
|
16454
|
-
<button
|
|
16455
|
-
mat-menu-item [hidden]="sRow==null"
|
|
16456
|
-
style="background-color: #F5F5F5"
|
|
16457
|
-
(click)="sostituisci_utente()"
|
|
16458
|
-
*ngIf="toolbar_wkfapp?.is_Admin"
|
|
16459
|
-
>
|
|
16460
|
-
{{ "SOSTITUISCI UTENTE" | translate }}
|
|
16461
|
-
</button>
|
|
16462
|
-
<button
|
|
16463
|
-
mat-menu-item [hidden]="sRow==null"
|
|
16464
|
-
style="background-color: #F5F5F5"
|
|
16465
|
-
(click)="reclama_bozza()"
|
|
16466
|
-
*ngIf="toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin"
|
|
16467
|
-
>
|
|
16468
|
-
{{ "RECLAMA BOZZA" | translate }}
|
|
16469
|
-
</button>
|
|
16470
|
-
<button
|
|
16471
|
-
mat-menu-item
|
|
16472
|
-
style="background-color: #F5F5F5"
|
|
16473
|
-
(click)="test_utente()"
|
|
16474
|
-
*ngIf="toolbar_wkfapp?.is_Admin"
|
|
16475
|
-
>
|
|
16476
|
-
{{ "TEST UTENTE" | translate }}
|
|
16477
|
-
</button>
|
|
16478
|
-
</mat-menu>
|
|
16479
|
-
<button
|
|
16480
|
-
mat-flat-button
|
|
16481
|
-
(click)="annulla_imp()"
|
|
16482
|
-
*ngIf="toolbar_wkfapp?.imp != ''"
|
|
16483
|
-
>
|
|
16484
|
-
{{ toolbar_wkfapp?.imp }}
|
|
16485
|
-
</button>
|
|
16486
|
-
<div *ngFor="let app of custom_commands">
|
|
16487
|
-
<div *ngIf="app.type == 'button' || app.type == null">
|
|
16488
|
-
<button [hidden]="app.hidden!=null && app.hidden"
|
|
16489
|
-
mat-flat-button
|
|
16490
|
-
[color]="app.color"
|
|
16491
|
-
(click)="exec_command(app.command)"
|
|
16492
|
-
>
|
|
16493
|
-
<mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
|
|
16494
|
-
> {{ app.label | translate }}
|
|
16495
|
-
</button>
|
|
16496
|
-
</div>
|
|
16497
|
-
<div *ngIf="app.type == 'checkbox'" style="font-size:12px">
|
|
16498
|
-
<FHCheckBox
|
|
16499
|
-
|
|
16500
|
-
(change)="selx(app.command, $event)"
|
|
16501
|
-
[label]="app.label | translate"
|
|
16502
|
-
[(ngModel)]="app.default_value"
|
|
16503
|
-
></FHCheckBox>
|
|
16504
|
-
</div>
|
|
16505
|
-
<div *ngIf="app.type == 'spacer'" style="width:60px"></div>
|
|
16506
|
-
<div *ngIf="app.type == 'table_manager'">
|
|
16507
|
-
<FHTableManager [application]="app.default_value"></FHTableManager>
|
|
16508
|
-
</div>
|
|
16509
|
-
</div>
|
|
16510
|
-
</div>
|
|
16511
|
-
</mat-toolbar>
|
|
16512
|
-
</div>
|
|
16513
16404
|
<div
|
|
16514
|
-
*ngIf="type == 'WKF'"
|
|
16405
|
+
*ngIf="type == 'WKF' || type == 'WKF_NO_EDIT'"
|
|
16515
16406
|
fxLayoutGap="3px"
|
|
16516
16407
|
fxLayout="row"
|
|
16517
16408
|
fxFlex="100"
|
|
@@ -16535,7 +16426,7 @@ FHGridToolBarComponent.decorators = [
|
|
|
16535
16426
|
<button
|
|
16536
16427
|
mat-flat-button
|
|
16537
16428
|
(click)="insert_doc()"
|
|
16538
|
-
*ngIf="toolbar_wkfapp?.is_Ins"
|
|
16429
|
+
*ngIf="toolbar_wkfapp?.is_Ins && type != 'WKF_NO_EDIT'"
|
|
16539
16430
|
color="accent"
|
|
16540
16431
|
style="width:130px"
|
|
16541
16432
|
>
|
|
@@ -16596,36 +16487,39 @@ FHGridToolBarComponent.decorators = [
|
|
|
16596
16487
|
>
|
|
16597
16488
|
{{ toolbar_wkfapp?.imp }}
|
|
16598
16489
|
</button>
|
|
16599
|
-
|
|
16600
|
-
|
|
16601
|
-
|
|
16490
|
+
<div>
|
|
16491
|
+
<button
|
|
16492
|
+
mat-flat-button
|
|
16493
|
+
color="accent"
|
|
16494
|
+
mat-button
|
|
16495
|
+
[matMenuTriggerFor]="gest_menu_custom"
|
|
16496
|
+
*ngIf="custom_commands!=null && custom_commands.length>0"
|
|
16497
|
+
>
|
|
16498
|
+
<mat-icon>menu</mat-icon>
|
|
16499
|
+
</button>
|
|
16500
|
+
</div>
|
|
16501
|
+
<mat-menu #gest_menu_custom="matMenu">
|
|
16502
|
+
<div fxLayout="column" style="width:200px" fxLayoutAlign="center center">
|
|
16503
|
+
<ng-container *ngFor="let app of custom_commands">
|
|
16602
16504
|
|
|
16603
|
-
<button
|
|
16604
|
-
mat-flat-button
|
|
16505
|
+
<button *ngIf="app.type == 'button'" [hidden]="app.hidden"
|
|
16506
|
+
mat-flat-button style="width:180px"
|
|
16605
16507
|
[color]="app.color"
|
|
16606
16508
|
(click)="exec_command(app.command)"
|
|
16607
16509
|
>
|
|
16608
|
-
<mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
|
|
16609
|
-
> {{ app.label | translate }}
|
|
16510
|
+
<mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon> {{ app.label | translate }}
|
|
16610
16511
|
</button>
|
|
16611
|
-
|
|
16612
|
-
|
|
16613
|
-
|
|
16614
|
-
<FHCheckBox
|
|
16615
|
-
|
|
16512
|
+
<FHCheckBox
|
|
16513
|
+
*ngIf="app.type == 'checkbox'"
|
|
16616
16514
|
(change)="selx(app.command, $event)"
|
|
16617
16515
|
[label]="app.label | translate"
|
|
16618
16516
|
[(ngModel)]="app.default_value"
|
|
16619
16517
|
></FHCheckBox>
|
|
16620
|
-
|
|
16621
|
-
<div *ngIf="app.type == 'spacer'" style="width:60px">
|
|
16518
|
+
<FHTableManager *ngIf="app.type == 'table_manager'" style="width:180px" [application]="app.default_value"></FHTableManager>
|
|
16622
16519
|
|
|
16623
|
-
|
|
16624
|
-
|
|
16625
|
-
|
|
16626
|
-
<FHTableManager [application]="app.default_value"></FHTableManager>
|
|
16627
|
-
</div>
|
|
16628
|
-
</div>
|
|
16520
|
+
</ng-container>
|
|
16521
|
+
</div>
|
|
16522
|
+
</mat-menu>
|
|
16629
16523
|
</div>
|
|
16630
16524
|
</mat-toolbar>
|
|
16631
16525
|
</div>
|
|
@@ -25552,20 +25446,6 @@ class dati_aggiuntivi_v2 {
|
|
|
25552
25446
|
return rt;
|
|
25553
25447
|
}
|
|
25554
25448
|
}
|
|
25555
|
-
dati_aggiuntivi_v2.decorators = [
|
|
25556
|
-
{ type: Directive }
|
|
25557
|
-
];
|
|
25558
|
-
dati_aggiuntivi_v2.ctorParameters = () => [
|
|
25559
|
-
{ type: AppService },
|
|
25560
|
-
{ type: QueryService },
|
|
25561
|
-
{ type: Router },
|
|
25562
|
-
{ type: MatDialog },
|
|
25563
|
-
{ type: ActivatedRoute },
|
|
25564
|
-
{ type: WkfService },
|
|
25565
|
-
{ type: UtilityService },
|
|
25566
|
-
{ type: FileService },
|
|
25567
|
-
{ type: TranslateService }
|
|
25568
|
-
];
|
|
25569
25449
|
dati_aggiuntivi_v2.propDecorators = {
|
|
25570
25450
|
onResize: [{ type: HostListener, args: ["window:resize", ["event"],] }]
|
|
25571
25451
|
};
|
|
@@ -27838,12 +27718,10 @@ FluxhubLibModule.decorators = [
|
|
|
27838
27718
|
CheckboxEditorComponent,
|
|
27839
27719
|
FHCheckBox,
|
|
27840
27720
|
FHTextInput,
|
|
27841
|
-
FHHelpButton,
|
|
27842
27721
|
fh_win_user_info,
|
|
27843
27722
|
win_insert_commento,
|
|
27844
27723
|
FHRoleManager,
|
|
27845
27724
|
FHFieldPickListComponent,
|
|
27846
|
-
SafePipe,
|
|
27847
27725
|
fhimagepreview,
|
|
27848
27726
|
fh_win_show_image,
|
|
27849
27727
|
fh_win_ask_buttons,
|
|
@@ -27865,7 +27743,6 @@ FluxhubLibModule.decorators = [
|
|
|
27865
27743
|
fh_win_app_logs,
|
|
27866
27744
|
FHCurrencyPipe,
|
|
27867
27745
|
fh_win_mappa,
|
|
27868
|
-
win_grid_help,
|
|
27869
27746
|
TextAreaEditor,
|
|
27870
27747
|
ComboBoxEditor,
|
|
27871
27748
|
FHListComponent,
|
|
@@ -27890,9 +27767,7 @@ FluxhubLibModule.decorators = [
|
|
|
27890
27767
|
FormBuilderComponent,
|
|
27891
27768
|
FormExecuterComponent,
|
|
27892
27769
|
FHTableManager, FHPickFieldComponent, FHUploadPanelS3Component, FHUploadS3Component, fh_win_show_email, fh_win_show_email_s3, fh_win_auto_complete,
|
|
27893
|
-
|
|
27894
|
-
win_commenti_v2, win_info_doc_v2, win_log_v2, win_recupera_doc_v2, win_riassegna_select_level_v2, win_riassegna_select_user_v2,
|
|
27895
|
-
win_sostituisci_utente_v2, win_commento_sel_notif_v2, wkf_header_bar_v2, win_insert_commento_v2
|
|
27770
|
+
wkf_header_bar_v2
|
|
27896
27771
|
],
|
|
27897
27772
|
declarations: [
|
|
27898
27773
|
fh_win_show_log_dett,
|
|
@@ -28815,6 +28690,7 @@ class wkfapp_v2 {
|
|
|
28815
28690
|
}
|
|
28816
28691
|
self_ok() {
|
|
28817
28692
|
if (this.get_grid() != null) {
|
|
28693
|
+
console.log('this.get_grid() ', this.get_grid());
|
|
28818
28694
|
this.get_grid().refresh_access(this);
|
|
28819
28695
|
return;
|
|
28820
28696
|
}
|
|
@@ -28986,5 +28862,5 @@ wkfapp_v2.ctorParameters = () => [
|
|
|
28986
28862
|
* Generated bundle index. Do not edit.
|
|
28987
28863
|
*/
|
|
28988
28864
|
|
|
28989
|
-
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,
|
|
28865
|
+
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 };
|
|
28990
28866
|
//# sourceMappingURL=fluxhub-fluxhub-lib.js.map
|