@fluxhub/fluxhub-lib 1.0.570 → 1.0.572

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.
@@ -7781,10 +7781,7 @@
7781
7781
  if (this.fields.indexOf('DISTINCT') != -1)
7782
7782
  str_fields = 'DISTINCT ' + str_fields;
7783
7783
  cmds.push(this.officeService.operation("GB_XLS_APRI", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));
7784
- if (this.system_dest != 2)
7785
- 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++));
7786
- else
7787
- 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++));
7784
+ 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++));
7788
7785
  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++));
7789
7786
  this.officeService.runCommands(this.uiid_stampa, cmds, this.dialogRef_W).subscribe((/**
7790
7787
  * @param {?} data
@@ -10127,6 +10124,91 @@
10127
10124
  return FHCurrencyFormatterDirective;
10128
10125
  }());
10129
10126
 
10127
+ /**
10128
+ * @fileoverview added by tsickle
10129
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10130
+ */
10131
+ var win_mappa = /** @class */ (function () {
10132
+ function win_mappa(dialogRef, toastr, m_appService) {
10133
+ this.dialogRef = dialogRef;
10134
+ this.toastr = toastr;
10135
+ this.m_appService = m_appService;
10136
+ this.title = "";
10137
+ this.sql_dett = "";
10138
+ this.descri = "";
10139
+ this.lat = 51.673858;
10140
+ this.long = 7.815982;
10141
+ this.zoom = 7;
10142
+ this.infoWindowOpened = null;
10143
+ this.markers = [];
10144
+ if (this.m_appService.getState().appo_dialog != null) {
10145
+ if (this.m_appService.getState().appo_dialog.zoom != null)
10146
+ this.zoom = this.m_appService.getState().appo_dialog.zoom;
10147
+ if (this.m_appService.getState().appo_dialog.title != null)
10148
+ this.title = this.m_appService.getState().appo_dialog.title;
10149
+ if (this.m_appService.getState().appo_dialog.lat != null)
10150
+ this.lat = this.m_appService.getState().appo_dialog.lat;
10151
+ if (this.m_appService.getState().appo_dialog.long != null)
10152
+ this.long = this.m_appService.getState().appo_dialog.long;
10153
+ if (this.m_appService.getState().appo_dialog.descri != null)
10154
+ this.descri = this.m_appService.getState().appo_dialog.descri;
10155
+ if (this.m_appService.getState().appo_dialog.markers != null)
10156
+ this.markers = this.m_appService.getState().appo_dialog.markers;
10157
+ }
10158
+ }
10159
+ /**
10160
+ * @param {?} s_id
10161
+ * @return {?}
10162
+ */
10163
+ win_mappa.prototype.apri_Scheda = /**
10164
+ * @param {?} s_id
10165
+ * @return {?}
10166
+ */
10167
+ function (s_id) {
10168
+ window.open(s_id);
10169
+ };
10170
+ /**
10171
+ * @param {?} label
10172
+ * @param {?} infoWindow
10173
+ * @param {?} index
10174
+ * @return {?}
10175
+ */
10176
+ win_mappa.prototype.clickedMarker = /**
10177
+ * @param {?} label
10178
+ * @param {?} infoWindow
10179
+ * @param {?} index
10180
+ * @return {?}
10181
+ */
10182
+ function (label, infoWindow, index) {
10183
+ if (this.infoWindowOpened === infoWindow)
10184
+ return;
10185
+ if (this.infoWindowOpened !== null)
10186
+ this.infoWindowOpened.close();
10187
+ this.infoWindowOpened = infoWindow;
10188
+ };
10189
+ /**
10190
+ * @return {?}
10191
+ */
10192
+ win_mappa.prototype.ngOnInit = /**
10193
+ * @return {?}
10194
+ */
10195
+ function () {
10196
+ };
10197
+ win_mappa.decorators = [
10198
+ { type: core.Component, args: [{
10199
+ 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 ",
10200
+ styles: ["\n agm-map {\n height: 600px;\n width: 100%;\n }\n "]
10201
+ }] }
10202
+ ];
10203
+ /** @nocollapse */
10204
+ win_mappa.ctorParameters = function () { return [
10205
+ { type: material.MatDialogRef },
10206
+ { type: ngxToastr.ToastrService },
10207
+ { type: AppService }
10208
+ ]; };
10209
+ return win_mappa;
10210
+ }());
10211
+
10130
10212
  /**
10131
10213
  * @fileoverview added by tsickle
10132
10214
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -20458,14 +20540,14 @@
20458
20540
  flexLayout.FlexLayoutModule, ngxMarkdown.MarkdownModule, ng2Ckeditor.CKEditorModule],
20459
20541
  exports: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, fhimagepreview, win_show_image, WinAskButtonsComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent,
20460
20542
  FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, DateComponent, NumericEditorComponent,
20461
- FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_grid_help, TextAreaEditor,
20543
+ FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
20462
20544
  ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, DtPick, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
20463
20545
  FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent, wkf_header_bar,
20464
20546
  FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
20465
20547
  declarations: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
20466
20548
  fhimagepreview, win_show_image, WinAskButtonsComponent, FHGridToolBarComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent, wkf_header_bar,
20467
20549
  FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, DateComponent, NumericEditorComponent,
20468
- FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_grid_help, TextAreaEditor,
20550
+ FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
20469
20551
  ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, DtPick, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
20470
20552
  FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent,
20471
20553
  FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, win_salva_annulla, win_assegna,
@@ -20479,7 +20561,7 @@
20479
20561
  FHPickListComponent,
20480
20562
  FHConfirmComponent,
20481
20563
  win_time_slider,
20482
- FHUserPickerComponent, ApprovaGridComponent, win_grid_help, TextAreaEditor, ComboBoxEditor, FHWinComboSelect, WinAskTextComponent, WinAskNumberComponent, WinAskTextBigComponent, WinOutputComponent, FHListPick, WinWait
20564
+ FHUserPickerComponent, ApprovaGridComponent, win_mappa, win_grid_help, TextAreaEditor, ComboBoxEditor, FHWinComboSelect, WinAskTextComponent, WinAskNumberComponent, WinAskTextBigComponent, WinOutputComponent, FHListPick, WinWait
20483
20565
  ]
20484
20566
  },] }
20485
20567
  ];
@@ -20754,6 +20836,7 @@
20754
20836
  exports.dt = dt;
20755
20837
  exports.fhimagepreview = fhimagepreview;
20756
20838
  exports.win_insert_commento = win_insert_commento;
20839
+ exports.win_mappa = win_mappa;
20757
20840
  exports.win_salva_annulla = win_salva_annulla;
20758
20841
  exports.win_show_image = win_show_image;
20759
20842
  exports.win_time_slider = win_time_slider;