@fluxhub/fluxhub-lib 11.0.92 → 11.0.94

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.
@@ -10796,6 +10796,100 @@ fh_win_uploads.propDecorators = {
10796
10796
  upc: [{ type: ViewChild, args: ['upc',] }]
10797
10797
  };
10798
10798
 
10799
+ class fh_win_upload {
10800
+ constructor(data, dialogRef, app_s) {
10801
+ this.data = data;
10802
+ this.dialogRef = dialogRef;
10803
+ this.app_s = app_s;
10804
+ this.enabled = true;
10805
+ this.access_control = true;
10806
+ this.App = '';
10807
+ this.K = '';
10808
+ this.title = 'ALLEGATI';
10809
+ this.admin_role = '[ZZZ_DIS_CC]';
10810
+ this.sovrascrivi_path = '';
10811
+ console.log('data ', data);
10812
+ if (data != null) {
10813
+ if (data.App != null)
10814
+ this.App = data.App;
10815
+ if (data.K != null)
10816
+ this.K = data.K;
10817
+ if (data.admin_role != null)
10818
+ this.admin_role = data.admin_role;
10819
+ }
10820
+ }
10821
+ close() {
10822
+ this.dialogRef.close(null);
10823
+ }
10824
+ ngAfterViewInit() {
10825
+ setTimeout(() => {
10826
+ if (this.App == '') {
10827
+ this.App = this.app_s.getState().wkf_doc_info.uiid_app;
10828
+ this.K = this.app_s.getState().wkf_doc_info.uiid_doc;
10829
+ }
10830
+ this.init(this.App, this.K);
10831
+ });
10832
+ }
10833
+ init(p_app, p_k) {
10834
+ this.App = p_app;
10835
+ this.K = p_k;
10836
+ if (this.upc)
10837
+ this.upc.init(this.App, this.K);
10838
+ }
10839
+ }
10840
+ fh_win_upload.decorators = [
10841
+ { type: Component, args: [{
10842
+ selector: 'wkf_win_upload',
10843
+ template: `
10844
+ <div fxLayout="column" fxLayoutGap="5px">
10845
+ <div fxFlex="100" fxLayout="row" class="dialog_header">
10846
+ <div fxLayout="row" fxLayoutAlign="start center" style="width:50%">
10847
+ {{ title | translate }}
10848
+ </div>
10849
+ <div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
10850
+ <img
10851
+ src="assets/icons/x.png"
10852
+ style="cursor: pointer;"
10853
+ (click)="close()"
10854
+ />
10855
+ </div>
10856
+ </div>
10857
+ <hr width="100%" size="0.5" color="#DDDDDD" />
10858
+
10859
+ <mat-dialog-content style="font-size:12px">
10860
+ <br /><br />
10861
+ <FHUploadPanel
10862
+ [enabled]="enabled"
10863
+ #upc
10864
+ [access_control]="access_control"
10865
+ [sovrascrivi_path]="sovrascrivi_path"
10866
+ [ruolo_supervisore]="admin_role"
10867
+ ></FHUploadPanel>
10868
+ </mat-dialog-content>
10869
+ <br /><br />
10870
+ <div style="width:100%;text-align:center;">
10871
+ <button
10872
+ mat-flat-button
10873
+ style="background-color: #F5F5F5"
10874
+ (click)="close()"
10875
+ >
10876
+ {{ 'CHIUDI' | translate }}
10877
+ </button>
10878
+ </div>
10879
+ </div>
10880
+ `,
10881
+ styles: [``]
10882
+ },] }
10883
+ ];
10884
+ fh_win_upload.ctorParameters = () => [
10885
+ { type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] },
10886
+ { type: MatDialogRef },
10887
+ { type: AppService }
10888
+ ];
10889
+ fh_win_upload.propDecorators = {
10890
+ upc: [{ type: ViewChild, args: ['upc',] }]
10891
+ };
10892
+
10799
10893
  class fh_win_app_logs {
10800
10894
  constructor(dialogRef, m_dialogRef, m_appService, uti, datax) {
10801
10895
  this.dialogRef = dialogRef;
@@ -12794,7 +12888,7 @@ class FHDatePickerComponent {
12794
12888
  let dt_v = this.getValue();
12795
12889
  if (!dt_v)
12796
12890
  dt_v = new Date();
12797
- this.date_sel = dtp.createDate(dt_v.getFullYear() + 1, 0, 1);
12891
+ this.date_sel = dtp.createDate(dt_v.getFullYear(), 0, 1);
12798
12892
  this.v_view = this.uti_s.date2String(dt_v);
12799
12893
  this.ch();
12800
12894
  }
@@ -12803,7 +12897,7 @@ class FHDatePickerComponent {
12803
12897
  let dt_v = this.getValue();
12804
12898
  if (!dt_v)
12805
12899
  dt_v = new Date();
12806
- this.date_sel = dtp.createDate(dt_v.getFullYear() + 1, 11, 31);
12900
+ this.date_sel = dtp.createDate(dt_v.getFullYear(), 11, 31);
12807
12901
  this.v_view = this.uti_s.date2String(dt_v);
12808
12902
  this.ch();
12809
12903
  }
@@ -30346,6 +30440,7 @@ FluxhubLibModule.decorators = [
30346
30440
  fh_win_show_image,
30347
30441
  fh_win_ask_buttons,
30348
30442
  fh_win_time_slider,
30443
+ fh_win_upload,
30349
30444
  FHTimePickerComponent,
30350
30445
  CurrencyComponent,
30351
30446
  FHUploadPanelComponent,
@@ -30391,6 +30486,7 @@ FluxhubLibModule.decorators = [
30391
30486
  wkf_header_bar_v2
30392
30487
  ],
30393
30488
  declarations: [
30489
+ fh_win_upload,
30394
30490
  fh_win_show_log_dett,
30395
30491
  win_show_log_info_dett,
30396
30492
  fh_win_show_log,
@@ -31783,5 +31879,5 @@ wkfapp_v2.ctorParameters = () => [
31783
31879
  * Generated bundle index. Do not edit.
31784
31880
  */
31785
31881
 
31786
- export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, CheckboxEditorComponent, ComboBoxEditor, CurrencyComponent, FHAutoCompleteComponent, FHCheckBox, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHFormToolBarComponent, FHGridComponent, FHGridComponentN, FHGridJSONComponent, FHGuard, FHHelpButton, 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_select_by_grid, 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_select_level as ɵba, win_commenti as ɵbb, win_info_doc as ɵbc, win_log as ɵbd, win_recupera_doc as ɵbe, win_riassegna_select_level as ɵbf, win_riassegna_select_user as ɵbg, win_sostituisci_utente as ɵbh, win_commento_sel_notif as ɵbi, win_manage_values as ɵbj, win_manage_roles as ɵbk, FHComboboxComponentFilter as ɵbl, win_salva_annulla_v2 as ɵbm, win_assegna_v2 as ɵbn, win_conferma_v2 as ɵbo, win_select_canale_v2 as ɵbp, win_select_level_v2 as ɵbq, win_uploads_v2 as ɵbr, win_commenti_v2 as ɵbs, win_info_doc_v2 as ɵbt, win_log_v2 as ɵbu, win_recupera_doc_v2 as ɵbv, win_riassegna_select_level_v2 as ɵbw, win_riassegna_select_user_v2 as ɵbx, win_sostituisci_utente_v2 as ɵby, win_commento_sel_notif_v2 as ɵbz, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$8 as ɵc, win_insert_commento_v2 as ɵca, win_assegna_a as ɵcb, 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, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$a as ɵm, FHMultiComboboxComponent as ɵn, MOMENT_DATE_FORMATS as ɵo, MomentDateAdapter as ɵp, HighlightService as ɵq, win_show_log_info_dett as ɵr, SafePipe as ɵs, FHViewerComponent as ɵt, FHGridToolBarComponent as ɵv, win_grid_help as ɵw, win_assegna as ɵx, win_conferma as ɵy, win_select_canale as ɵz };
31882
+ export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, CheckboxEditorComponent, ComboBoxEditor, CurrencyComponent, FHAutoCompleteComponent, FHCheckBox, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHFormToolBarComponent, FHGridComponent, FHGridComponentN, FHGridJSONComponent, FHGuard, FHHelpButton, 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_select_by_grid, 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_upload, 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_select_level as ɵba, win_commenti as ɵbb, win_info_doc as ɵbc, win_log as ɵbd, win_recupera_doc as ɵbe, win_riassegna_select_level as ɵbf, win_riassegna_select_user as ɵbg, win_sostituisci_utente as ɵbh, win_commento_sel_notif as ɵbi, win_manage_values as ɵbj, win_manage_roles as ɵbk, FHComboboxComponentFilter as ɵbl, win_salva_annulla_v2 as ɵbm, win_assegna_v2 as ɵbn, win_conferma_v2 as ɵbo, win_select_canale_v2 as ɵbp, win_select_level_v2 as ɵbq, win_uploads_v2 as ɵbr, win_commenti_v2 as ɵbs, win_info_doc_v2 as ɵbt, win_log_v2 as ɵbu, win_recupera_doc_v2 as ɵbv, win_riassegna_select_level_v2 as ɵbw, win_riassegna_select_user_v2 as ɵbx, win_sostituisci_utente_v2 as ɵby, win_commento_sel_notif_v2 as ɵbz, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$8 as ɵc, win_insert_commento_v2 as ɵca, win_assegna_a as ɵcb, 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, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$a as ɵm, FHMultiComboboxComponent as ɵn, MOMENT_DATE_FORMATS as ɵo, MomentDateAdapter as ɵp, HighlightService as ɵq, win_show_log_info_dett as ɵr, SafePipe as ɵs, FHViewerComponent as ɵt, FHGridToolBarComponent as ɵv, win_grid_help as ɵw, win_assegna as ɵx, win_conferma as ɵy, win_select_canale as ɵz };
31787
31883
  //# sourceMappingURL=fluxhub-fluxhub-lib.js.map