@fluxhub/fluxhub-lib 10.0.553 → 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.
@@ -16400,118 +16400,8 @@ FHGridToolBarComponent.decorators = [
16400
16400
  { type: Component, args: [{
16401
16401
  selector: "FHGridToolBar",
16402
16402
  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>&nbsp;&nbsp;&nbsp;{{
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
- >&nbsp;{{ 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
16403
  <div
16514
- *ngIf="type == 'WKF'"
16404
+ *ngIf="type == 'WKF' || type == 'WKF_NO_EDIT'"
16515
16405
  fxLayoutGap="3px"
16516
16406
  fxLayout="row"
16517
16407
  fxFlex="100"
@@ -16535,7 +16425,7 @@ FHGridToolBarComponent.decorators = [
16535
16425
  <button
16536
16426
  mat-flat-button
16537
16427
  (click)="insert_doc()"
16538
- *ngIf="toolbar_wkfapp?.is_Ins"
16428
+ *ngIf="toolbar_wkfapp?.is_Ins && type != 'WKF_NO_EDIT'"
16539
16429
  color="accent"
16540
16430
  style="width:130px"
16541
16431
  >
@@ -16596,36 +16486,39 @@ FHGridToolBarComponent.decorators = [
16596
16486
  >
16597
16487
  {{ toolbar_wkfapp?.imp }}
16598
16488
  </button>
16599
- <div *ngFor="let app of custom_commands" fxLayout="row" fxLayoutAlign="start center" fxLayoutGap="10px">
16600
-
16601
- <div *ngIf="app.type == 'button' || app.type == null">
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">
16602
16503
 
16603
- <button [hidden]="app.hidden!=null && app.hidden"
16604
- mat-flat-button
16504
+ <button *ngIf="app.type == 'button'" [hidden]="app.hidden"
16505
+ mat-flat-button style="width:180px"
16605
16506
  [color]="app.color"
16606
16507
  (click)="exec_command(app.command)"
16607
16508
  >
16608
- <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
16609
- >&nbsp;{{ app.label | translate }}
16509
+ <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon>&nbsp;{{ app.label | translate }}
16610
16510
  </button>
16611
- </div>
16612
- <div *ngIf="app.type == 'checkbox'" style="font-size:12px">
16613
-
16614
- <FHCheckBox
16615
-
16511
+ <FHCheckBox
16512
+ *ngIf="app.type == 'checkbox'"
16616
16513
  (change)="selx(app.command, $event)"
16617
16514
  [label]="app.label | translate"
16618
16515
  [(ngModel)]="app.default_value"
16619
16516
  ></FHCheckBox>
16620
- </div>
16621
- <div *ngIf="app.type == 'spacer'" style="width:60px">
16517
+ <FHTableManager *ngIf="app.type == 'table_manager'" style="width:180px" [application]="app.default_value"></FHTableManager>
16622
16518
 
16623
- </div>
16624
- <div *ngIf="app.type == 'table_manager'">
16625
-
16626
- <FHTableManager [application]="app.default_value"></FHTableManager>
16627
- </div>
16628
- </div>
16519
+ </ng-container>
16520
+ </div>
16521
+ </mat-menu>
16629
16522
  </div>
16630
16523
  </mat-toolbar>
16631
16524
  </div>
@@ -25552,20 +25445,6 @@ class dati_aggiuntivi_v2 {
25552
25445
  return rt;
25553
25446
  }
25554
25447
  }
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
25448
  dati_aggiuntivi_v2.propDecorators = {
25570
25449
  onResize: [{ type: HostListener, args: ["window:resize", ["event"],] }]
25571
25450
  };
@@ -27838,12 +27717,10 @@ FluxhubLibModule.decorators = [
27838
27717
  CheckboxEditorComponent,
27839
27718
  FHCheckBox,
27840
27719
  FHTextInput,
27841
- FHHelpButton,
27842
27720
  fh_win_user_info,
27843
27721
  win_insert_commento,
27844
27722
  FHRoleManager,
27845
27723
  FHFieldPickListComponent,
27846
- SafePipe,
27847
27724
  fhimagepreview,
27848
27725
  fh_win_show_image,
27849
27726
  fh_win_ask_buttons,
@@ -27865,7 +27742,6 @@ FluxhubLibModule.decorators = [
27865
27742
  fh_win_app_logs,
27866
27743
  FHCurrencyPipe,
27867
27744
  fh_win_mappa,
27868
- win_grid_help,
27869
27745
  TextAreaEditor,
27870
27746
  ComboBoxEditor,
27871
27747
  FHListComponent,
@@ -27890,9 +27766,7 @@ FluxhubLibModule.decorators = [
27890
27766
  FormBuilderComponent,
27891
27767
  FormExecuterComponent,
27892
27768
  FHTableManager, FHPickFieldComponent, FHUploadPanelS3Component, FHUploadS3Component, fh_win_show_email, fh_win_show_email_s3, fh_win_auto_complete,
27893
- win_salva_annulla_v2, win_assegna_v2, win_conferma_v2, win_select_canale_v2, win_select_level_v2, win_uploads_v2,
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
27769
+ wkf_header_bar_v2
27896
27770
  ],
27897
27771
  declarations: [
27898
27772
  fh_win_show_log_dett,
@@ -28815,6 +28689,7 @@ class wkfapp_v2 {
28815
28689
  }
28816
28690
  self_ok() {
28817
28691
  if (this.get_grid() != null) {
28692
+ console.log('this.get_grid() ', this.get_grid());
28818
28693
  this.get_grid().refresh_access(this);
28819
28694
  return;
28820
28695
  }
@@ -28986,5 +28861,5 @@ wkfapp_v2.ctorParameters = () => [
28986
28861
  * Generated bundle index. Do not edit.
28987
28862
  */
28988
28863
 
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, win_log_v2 as ɵba, win_recupera_doc_v2 as ɵbb, win_riassegna_select_level_v2 as ɵbc, win_riassegna_select_user_v2 as ɵbd, win_sostituisci_utente_v2 as ɵbe, win_commento_sel_notif_v2 as ɵbf, win_insert_commento_v2 as ɵbg, win_show_log_info_dett as ɵbh, FHViewerComponent as ɵbi, FHGridToolBarComponent as ɵbk, win_assegna as ɵbl, win_conferma as ɵbm, win_select_canale as ɵbn, win_select_level as ɵbo, win_commenti as ɵbp, win_info_doc as ɵbq, win_log as ɵbr, win_recupera_doc as ɵbs, win_riassegna_select_level as ɵbt, win_riassegna_select_user as ɵbu, win_sostituisci_utente as ɵbv, win_commento_sel_notif as ɵbw, win_manage_values as ɵbx, win_manage_roles as ɵby, FHComboboxComponentFilter 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, FHHelpButton as ɵm, SafePipe as ɵn, MOMENT_DATE_FORMATS as ɵo, MomentDateAdapter as ɵp, win_grid_help as ɵq, HighlightService as ɵr, win_salva_annulla_v2 as ɵs, win_assegna_v2 as ɵt, win_conferma_v2 as ɵu, win_select_canale_v2 as ɵv, win_select_level_v2 as ɵw, win_uploads_v2 as ɵx, win_commenti_v2 as ɵy, win_info_doc_v2 as ɵz };
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 };
28990
28865
  //# sourceMappingURL=fluxhub-fluxhub-lib.js.map