@fluxhub/fluxhub-lib 1.0.571 → 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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +98 -12
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/fluxhub-fluxhub-lib.js +2 -2
- package/esm2015/lib/controls/fhgrid.js +2 -5
- package/esm2015/lib/controls/win_mappa.js +147 -0
- package/esm2015/lib/fluxhub-lib.module.js +9 -4
- package/esm2015/public_api.js +2 -1
- package/esm5/fluxhub-fluxhub-lib.js +2 -2
- package/esm5/lib/controls/fhgrid.js +2 -5
- package/esm5/lib/controls/win_mappa.js +122 -0
- package/esm5/lib/fluxhub-lib.module.js +9 -4
- package/esm5/public_api.js +2 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +120 -8
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +94 -8
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/win_mappa.d.ts +23 -0
- package/package.json +2 -1
- package/public_api.d.ts +1 -0
|
@@ -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
|
-
|
|
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
|
|
@@ -20429,17 +20512,20 @@ var FluxhubLibModule = /** @class */ (function () {
|
|
|
20429
20512
|
MatSortModule,
|
|
20430
20513
|
MatTableModule,
|
|
20431
20514
|
MatNativeDateModule, MyDatePickerModule, FileUploadModule, AgGridModule.withComponents([NumericEditorComponent, DateComponent]), CommonModule, DragulaModule, FormsModule,
|
|
20515
|
+
AgmCoreModule.forRoot({
|
|
20516
|
+
apiKey: 'AIzaSyD3-g3b_QqxUruxBY4PGJKaH2fubIVXvN4'
|
|
20517
|
+
}),
|
|
20432
20518
|
FlexLayoutModule, MarkdownModule, CKEditorModule],
|
|
20433
20519
|
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
20520
|
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, DateComponent, NumericEditorComponent,
|
|
20435
|
-
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_grid_help, TextAreaEditor,
|
|
20521
|
+
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|
|
20436
20522
|
ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, DtPick, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
|
|
20437
20523
|
FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent, wkf_header_bar,
|
|
20438
20524
|
FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
|
|
20439
20525
|
declarations: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
|
|
20440
20526
|
fhimagepreview, win_show_image, WinAskButtonsComponent, FHGridToolBarComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent, wkf_header_bar,
|
|
20441
20527
|
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, DateComponent, NumericEditorComponent,
|
|
20442
|
-
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_grid_help, TextAreaEditor,
|
|
20528
|
+
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|
|
20443
20529
|
ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, DtPick, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
|
|
20444
20530
|
FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent,
|
|
20445
20531
|
FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, win_salva_annulla, win_assegna,
|
|
@@ -20453,7 +20539,7 @@ var FluxhubLibModule = /** @class */ (function () {
|
|
|
20453
20539
|
FHPickListComponent,
|
|
20454
20540
|
FHConfirmComponent,
|
|
20455
20541
|
win_time_slider,
|
|
20456
|
-
FHUserPickerComponent, ApprovaGridComponent, win_grid_help, TextAreaEditor, ComboBoxEditor, FHWinComboSelect, WinAskTextComponent, WinAskNumberComponent, WinAskTextBigComponent, WinOutputComponent, FHListPick, WinWait
|
|
20542
|
+
FHUserPickerComponent, ApprovaGridComponent, win_mappa, win_grid_help, TextAreaEditor, ComboBoxEditor, FHWinComboSelect, WinAskTextComponent, WinAskNumberComponent, WinAskTextBigComponent, WinOutputComponent, FHListPick, WinWait
|
|
20457
20543
|
]
|
|
20458
20544
|
},] }
|
|
20459
20545
|
];
|
|
@@ -20674,5 +20760,5 @@ var dt = /** @class */ (function () {
|
|
|
20674
20760
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
20675
20761
|
*/
|
|
20676
20762
|
|
|
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 };
|
|
20763
|
+
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
20764
|
//# sourceMappingURL=fluxhub-fluxhub-lib.js.map
|