@fluxhub/fluxhub-lib 1.0.571 → 1.0.573

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.
@@ -33,6 +33,7 @@ import { FlexLayoutModule } from '@angular/flex-layout';
33
33
  import { MarkdownModule } from 'ngx-markdown';
34
34
  import { CKEditorModule } from 'ng2-ckeditor';
35
35
  import { AgGridModule } from 'ag-grid-angular';
36
+ import { AgmCoreModule } from '@agm/core';
36
37
  import { CdkTableModule } from '@angular/cdk/table';
37
38
  import { NgForage } from 'ngforage';
38
39
  import { TranslateModule } from '@ngx-translate/core';
@@ -7758,10 +7759,7 @@ var FHGridComponent = /** @class */ (function () {
7758
7759
  if (this.fields.indexOf('DISTINCT') != -1)
7759
7760
  str_fields = 'DISTINCT ' + str_fields;
7760
7761
  cmds.push(this.officeService.operation("GB_XLS_APRI", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));
7761
- if (this.system_dest != 2)
7762
- cmds.push(this.officeService.operation("GB_CREA_TABELLA_FROM_DB", "select " + str_fields + " from " + this.tbl_name + " " + this.str_curr_q_p, "3", this.xxopx++));
7763
- else
7764
- cmds.push(this.officeService.operation("GB_CREA_TABELLA_FROM_DB1", "select " + str_fields + " from " + this.tbl_name + " " + this.str_curr_q_p, "3", this.xxopx++));
7762
+ cmds.push(this.officeService.operation("GB_CREA_TABELLA_FROM_DB", "select " + str_fields + " from " + this.tbl_name + " " + this.str_curr_q_p, "3", this.xxopx++));
7765
7763
  cmds.push(this.officeService.operation("GB_XLS_SAVE", this.m_appService.LOCAL_PATH + "grid_reports\\" + this.uiid_stampa + "_" + this.m_appService.user + format, "", this.xxopx++));
7766
7764
  this.officeService.runCommands(this.uiid_stampa, cmds, this.dialogRef_W).subscribe((/**
7767
7765
  * @param {?} data
@@ -10104,6 +10102,91 @@ var FHCurrencyFormatterDirective = /** @class */ (function () {
10104
10102
  return FHCurrencyFormatterDirective;
10105
10103
  }());
10106
10104
 
10105
+ /**
10106
+ * @fileoverview added by tsickle
10107
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10108
+ */
10109
+ var win_mappa = /** @class */ (function () {
10110
+ function win_mappa(dialogRef, toastr, m_appService) {
10111
+ this.dialogRef = dialogRef;
10112
+ this.toastr = toastr;
10113
+ this.m_appService = m_appService;
10114
+ this.title = "";
10115
+ this.sql_dett = "";
10116
+ this.descri = "";
10117
+ this.lat = 51.673858;
10118
+ this.long = 7.815982;
10119
+ this.zoom = 7;
10120
+ this.infoWindowOpened = null;
10121
+ this.markers = [];
10122
+ if (this.m_appService.getState().appo_dialog != null) {
10123
+ if (this.m_appService.getState().appo_dialog.zoom != null)
10124
+ this.zoom = this.m_appService.getState().appo_dialog.zoom;
10125
+ if (this.m_appService.getState().appo_dialog.title != null)
10126
+ this.title = this.m_appService.getState().appo_dialog.title;
10127
+ if (this.m_appService.getState().appo_dialog.lat != null)
10128
+ this.lat = this.m_appService.getState().appo_dialog.lat;
10129
+ if (this.m_appService.getState().appo_dialog.long != null)
10130
+ this.long = this.m_appService.getState().appo_dialog.long;
10131
+ if (this.m_appService.getState().appo_dialog.descri != null)
10132
+ this.descri = this.m_appService.getState().appo_dialog.descri;
10133
+ if (this.m_appService.getState().appo_dialog.markers != null)
10134
+ this.markers = this.m_appService.getState().appo_dialog.markers;
10135
+ }
10136
+ }
10137
+ /**
10138
+ * @param {?} s_id
10139
+ * @return {?}
10140
+ */
10141
+ win_mappa.prototype.apri_Scheda = /**
10142
+ * @param {?} s_id
10143
+ * @return {?}
10144
+ */
10145
+ function (s_id) {
10146
+ window.open(s_id);
10147
+ };
10148
+ /**
10149
+ * @param {?} label
10150
+ * @param {?} infoWindow
10151
+ * @param {?} index
10152
+ * @return {?}
10153
+ */
10154
+ win_mappa.prototype.clickedMarker = /**
10155
+ * @param {?} label
10156
+ * @param {?} infoWindow
10157
+ * @param {?} index
10158
+ * @return {?}
10159
+ */
10160
+ function (label, infoWindow, index) {
10161
+ if (this.infoWindowOpened === infoWindow)
10162
+ return;
10163
+ if (this.infoWindowOpened !== null)
10164
+ this.infoWindowOpened.close();
10165
+ this.infoWindowOpened = infoWindow;
10166
+ };
10167
+ /**
10168
+ * @return {?}
10169
+ */
10170
+ win_mappa.prototype.ngOnInit = /**
10171
+ * @return {?}
10172
+ */
10173
+ function () {
10174
+ };
10175
+ win_mappa.decorators = [
10176
+ { type: Component, args: [{
10177
+ template: "\n\n \n\n <mat-dialog-content style=\"min-width:800px;min-height:500px;font-size: 12px;\">\n\n <agm-map [zoom]=\"zoom\" width=\"100%\" height=\"100%\" [latitude]=\"lat\" [longitude]=\"long\">\n <agm-marker\n *ngFor=\"let m of markers; let i = index\"\n (markerClick)=\"clickedMarker(m.labelx, infoWindow, i)\"\n [latitude]=\"m.lat\"\n [longitude]=\"m.lng\"\n [label]=\"m.label\"\n >\n <agm-info-window #infoWindow>\n\n <strong>{{m.labelx}}</strong><br>\n <button *ngIf=\"m.url_scheda!=null\" (click)=\"apri_Scheda(m.url_scheda)\">APRI SCHEDA</button>\n </agm-info-window>\n </agm-marker>\n </agm-map>\n </mat-dialog-content>\n\n\n <mat-dialog-actions>\n\n\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"dialogRef.close('')\">CHIUDI</button>\n\n </mat-dialog-actions>\n ",
10178
+ styles: ["\n agm-map {\n height: 600px;\n width: 100%;\n }\n "]
10179
+ }] }
10180
+ ];
10181
+ /** @nocollapse */
10182
+ win_mappa.ctorParameters = function () { return [
10183
+ { type: MatDialogRef },
10184
+ { type: ToastrService },
10185
+ { type: AppService }
10186
+ ]; };
10187
+ return win_mappa;
10188
+ }());
10189
+
10107
10190
  /**
10108
10191
  * @fileoverview added by tsickle
10109
10192
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -11715,6 +11798,7 @@ var FHNumericFieldComponent = /** @class */ (function () {
11715
11798
  this.uti_s = uti_s;
11716
11799
  this.decimal = 0;
11717
11800
  this.label = '';
11801
+ this.th_character = '.';
11718
11802
  this.required = false;
11719
11803
  this.enabled = true;
11720
11804
  this.hidden = false;
@@ -11841,7 +11925,7 @@ var FHNumericFieldComponent = /** @class */ (function () {
11841
11925
  fraction = fractionSize > 0
11842
11926
  ? ',' + (fraction + '000000').substring(0, fractionSize)
11843
11927
  : "";
11844
- integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, '.');
11928
+ integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, this.th_character);
11845
11929
  if (integer == '')
11846
11930
  integer = '0';
11847
11931
  // console.log(integer + fraction);
@@ -11905,6 +11989,7 @@ var FHNumericFieldComponent = /** @class */ (function () {
11905
11989
  el: [{ type: ViewChild, args: ['el',] }],
11906
11990
  decimal: [{ type: Input }],
11907
11991
  label: [{ type: Input }],
11992
+ th_character: [{ type: Input }],
11908
11993
  required: [{ type: Input }],
11909
11994
  enabled: [{ type: Input }],
11910
11995
  hidden: [{ type: Input }],
@@ -20429,17 +20514,20 @@ var FluxhubLibModule = /** @class */ (function () {
20429
20514
  MatSortModule,
20430
20515
  MatTableModule,
20431
20516
  MatNativeDateModule, MyDatePickerModule, FileUploadModule, AgGridModule.withComponents([NumericEditorComponent, DateComponent]), CommonModule, DragulaModule, FormsModule,
20517
+ AgmCoreModule.forRoot({
20518
+ apiKey: 'AIzaSyD3-g3b_QqxUruxBY4PGJKaH2fubIVXvN4'
20519
+ }),
20432
20520
  FlexLayoutModule, MarkdownModule, CKEditorModule],
20433
20521
  exports: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, fhimagepreview, win_show_image, WinAskButtonsComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent,
20434
20522
  FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, DateComponent, NumericEditorComponent,
20435
- FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_grid_help, TextAreaEditor,
20523
+ FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
20436
20524
  ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, DtPick, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
20437
20525
  FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent, wkf_header_bar,
20438
20526
  FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
20439
20527
  declarations: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
20440
20528
  fhimagepreview, win_show_image, WinAskButtonsComponent, FHGridToolBarComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent, wkf_header_bar,
20441
20529
  FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, DateComponent, NumericEditorComponent,
20442
- FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_grid_help, TextAreaEditor,
20530
+ FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
20443
20531
  ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, DtPick, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
20444
20532
  FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent,
20445
20533
  FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, win_salva_annulla, win_assegna,
@@ -20453,7 +20541,7 @@ var FluxhubLibModule = /** @class */ (function () {
20453
20541
  FHPickListComponent,
20454
20542
  FHConfirmComponent,
20455
20543
  win_time_slider,
20456
- FHUserPickerComponent, ApprovaGridComponent, win_grid_help, TextAreaEditor, ComboBoxEditor, FHWinComboSelect, WinAskTextComponent, WinAskNumberComponent, WinAskTextBigComponent, WinOutputComponent, FHListPick, WinWait
20544
+ FHUserPickerComponent, ApprovaGridComponent, win_mappa, win_grid_help, TextAreaEditor, ComboBoxEditor, FHWinComboSelect, WinAskTextComponent, WinAskNumberComponent, WinAskTextBigComponent, WinOutputComponent, FHListPick, WinWait
20457
20545
  ]
20458
20546
  },] }
20459
20547
  ];
@@ -20674,5 +20762,5 @@ var dt = /** @class */ (function () {
20674
20762
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
20675
20763
  */
20676
20764
 
20677
- export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, ComboBoxEditor, CurrencyComponent, DateComponent, DtPick, FHAutoCompleteComponent, FHComboboxComponent, FHConfirmComponent, FHCurrencyFieldComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHGridComponent, FHGridJSONComponent, FHGuard, FHListComponent, FHListPick, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, FHPickListComponent, FHRichText, FHRoleManager, FHTableManager, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUserFieldComponent, FHUserPickerComponent, FHWinComboSelect, FSInput, FSResult, FileService, FluxhubLibModule, FormBuilderComponent, FormExecuterComponent, GridService, LocalDBService, NumericEditorComponent, OdbcService, OfficeAutomatorService, QGParam, QGResult, QParam, QResult, QueryService, ReplaceLineBreaks, TextAreaEditor, UtilityService, WinAskButtonsComponent, WinAskNumberComponent, WinAskTextBigComponent, WinAskTextComponent, WinOutputComponent, WinWait, WkfService, dati_aggiuntivi, dt, fhimagepreview, win_insert_commento, win_salva_annulla, win_show_image, win_time_slider, win_user_info, wkf_header_bar, wkfapp, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as ɵa, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR as ɵb, win_riassegna_select_user as ɵba, win_commento_sel_notif as ɵbb, win_manage_values as ɵbc, win_manage_roles as ɵbd, FHComboboxComponentFilter as ɵbe, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC as ɵc, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT as ɵd, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 as ɵe, FHHelpButton as ɵf, SafePipe as ɵg, DecimalMask as ɵh, FHValueAccessor as ɵi, MOMENT_DATE_FORMATS as ɵj, MomentDateAdapter as ɵk, win_grid_help as ɵl, HighlightService as ɵm, FHViewerComponent as ɵn, FHGridToolBarComponent as ɵp, win_assegna as ɵq, win_conferma as ɵr, win_select_canale as ɵs, win_select_level as ɵt, win_uploads as ɵu, win_commenti as ɵv, win_info_doc as ɵw, win_log as ɵx, win_recupera_doc as ɵy, win_riassegna_select_level as ɵz };
20765
+ export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, ComboBoxEditor, CurrencyComponent, DateComponent, DtPick, FHAutoCompleteComponent, FHComboboxComponent, FHConfirmComponent, FHCurrencyFieldComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHGridComponent, FHGridJSONComponent, FHGuard, FHListComponent, FHListPick, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, FHPickListComponent, FHRichText, FHRoleManager, FHTableManager, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUserFieldComponent, FHUserPickerComponent, FHWinComboSelect, FSInput, FSResult, FileService, FluxhubLibModule, FormBuilderComponent, FormExecuterComponent, GridService, LocalDBService, NumericEditorComponent, OdbcService, OfficeAutomatorService, QGParam, QGResult, QParam, QResult, QueryService, ReplaceLineBreaks, TextAreaEditor, UtilityService, WinAskButtonsComponent, WinAskNumberComponent, WinAskTextBigComponent, WinAskTextComponent, WinOutputComponent, WinWait, WkfService, dati_aggiuntivi, dt, fhimagepreview, win_insert_commento, win_mappa, win_salva_annulla, win_show_image, win_time_slider, win_user_info, wkf_header_bar, wkfapp, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as ɵa, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR as ɵb, win_riassegna_select_user as ɵba, win_commento_sel_notif as ɵbb, win_manage_values as ɵbc, win_manage_roles as ɵbd, FHComboboxComponentFilter as ɵbe, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC as ɵc, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT as ɵd, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 as ɵe, FHHelpButton as ɵf, SafePipe as ɵg, DecimalMask as ɵh, FHValueAccessor as ɵi, MOMENT_DATE_FORMATS as ɵj, MomentDateAdapter as ɵk, win_grid_help as ɵl, HighlightService as ɵm, FHViewerComponent as ɵn, FHGridToolBarComponent as ɵp, win_assegna as ɵq, win_conferma as ɵr, win_select_canale as ɵs, win_select_level as ɵt, win_uploads as ɵu, win_commenti as ɵv, win_info_doc as ɵw, win_log as ɵx, win_recupera_doc as ɵy, win_riassegna_select_level as ɵz };
20678
20766
  //# sourceMappingURL=fluxhub-fluxhub-lib.js.map