@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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +101 -13
- 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/fhnumeric.js +6 -2
- 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/fhnumeric.js +6 -2
- 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 +123 -9
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +97 -9
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhnumeric.d.ts +1 -0
- package/lib/controls/win_mappa.d.ts +23 -0
- package/package.json +2 -1
- package/public_api.d.ts +1 -0
|
@@ -32,6 +32,7 @@ import { FlexLayoutModule } from '@angular/flex-layout';
|
|
|
32
32
|
import { MarkdownModule } from 'ngx-markdown';
|
|
33
33
|
import { CKEditorModule } from 'ng2-ckeditor';
|
|
34
34
|
import { AgGridModule } from 'ag-grid-angular';
|
|
35
|
+
import { AgmCoreModule } from '@agm/core';
|
|
35
36
|
import { CdkTableModule } from '@angular/cdk/table';
|
|
36
37
|
import { NgForage } from 'ngforage';
|
|
37
38
|
import { TranslateModule } from '@ngx-translate/core';
|
|
@@ -7407,10 +7408,7 @@ class FHGridComponent {
|
|
|
7407
7408
|
if (this.fields.indexOf('DISTINCT') != -1)
|
|
7408
7409
|
str_fields = 'DISTINCT ' + str_fields;
|
|
7409
7410
|
cmds.push(this.officeService.operation("GB_XLS_APRI", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));
|
|
7410
|
-
|
|
7411
|
-
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++));
|
|
7412
|
-
else
|
|
7413
|
-
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++));
|
|
7411
|
+
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++));
|
|
7414
7412
|
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++));
|
|
7415
7413
|
this.officeService.runCommands(this.uiid_stampa, cmds, this.dialogRef_W).subscribe((/**
|
|
7416
7414
|
* @param {?} data
|
|
@@ -9365,6 +9363,117 @@ FHCurrencyFormatterDirective.propDecorators = {
|
|
|
9365
9363
|
onBlur: [{ type: HostListener, args: ["blur", ["$event.target.value"],] }]
|
|
9366
9364
|
};
|
|
9367
9365
|
|
|
9366
|
+
/**
|
|
9367
|
+
* @fileoverview added by tsickle
|
|
9368
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
9369
|
+
*/
|
|
9370
|
+
class win_mappa {
|
|
9371
|
+
/**
|
|
9372
|
+
* @param {?} dialogRef
|
|
9373
|
+
* @param {?} toastr
|
|
9374
|
+
* @param {?} m_appService
|
|
9375
|
+
*/
|
|
9376
|
+
constructor(dialogRef, toastr, m_appService) {
|
|
9377
|
+
this.dialogRef = dialogRef;
|
|
9378
|
+
this.toastr = toastr;
|
|
9379
|
+
this.m_appService = m_appService;
|
|
9380
|
+
this.title = "";
|
|
9381
|
+
this.sql_dett = "";
|
|
9382
|
+
this.descri = "";
|
|
9383
|
+
this.lat = 51.673858;
|
|
9384
|
+
this.long = 7.815982;
|
|
9385
|
+
this.zoom = 7;
|
|
9386
|
+
this.infoWindowOpened = null;
|
|
9387
|
+
this.markers = [];
|
|
9388
|
+
if (this.m_appService.getState().appo_dialog != null) {
|
|
9389
|
+
if (this.m_appService.getState().appo_dialog.zoom != null)
|
|
9390
|
+
this.zoom = this.m_appService.getState().appo_dialog.zoom;
|
|
9391
|
+
if (this.m_appService.getState().appo_dialog.title != null)
|
|
9392
|
+
this.title = this.m_appService.getState().appo_dialog.title;
|
|
9393
|
+
if (this.m_appService.getState().appo_dialog.lat != null)
|
|
9394
|
+
this.lat = this.m_appService.getState().appo_dialog.lat;
|
|
9395
|
+
if (this.m_appService.getState().appo_dialog.long != null)
|
|
9396
|
+
this.long = this.m_appService.getState().appo_dialog.long;
|
|
9397
|
+
if (this.m_appService.getState().appo_dialog.descri != null)
|
|
9398
|
+
this.descri = this.m_appService.getState().appo_dialog.descri;
|
|
9399
|
+
if (this.m_appService.getState().appo_dialog.markers != null)
|
|
9400
|
+
this.markers = this.m_appService.getState().appo_dialog.markers;
|
|
9401
|
+
}
|
|
9402
|
+
}
|
|
9403
|
+
/**
|
|
9404
|
+
* @param {?} s_id
|
|
9405
|
+
* @return {?}
|
|
9406
|
+
*/
|
|
9407
|
+
apri_Scheda(s_id) {
|
|
9408
|
+
window.open(s_id);
|
|
9409
|
+
}
|
|
9410
|
+
/**
|
|
9411
|
+
* @param {?} label
|
|
9412
|
+
* @param {?} infoWindow
|
|
9413
|
+
* @param {?} index
|
|
9414
|
+
* @return {?}
|
|
9415
|
+
*/
|
|
9416
|
+
clickedMarker(label, infoWindow, index) {
|
|
9417
|
+
if (this.infoWindowOpened === infoWindow)
|
|
9418
|
+
return;
|
|
9419
|
+
if (this.infoWindowOpened !== null)
|
|
9420
|
+
this.infoWindowOpened.close();
|
|
9421
|
+
this.infoWindowOpened = infoWindow;
|
|
9422
|
+
}
|
|
9423
|
+
/**
|
|
9424
|
+
* @return {?}
|
|
9425
|
+
*/
|
|
9426
|
+
ngOnInit() {
|
|
9427
|
+
}
|
|
9428
|
+
}
|
|
9429
|
+
win_mappa.decorators = [
|
|
9430
|
+
{ type: Component, args: [{
|
|
9431
|
+
template: `
|
|
9432
|
+
|
|
9433
|
+
|
|
9434
|
+
|
|
9435
|
+
<mat-dialog-content style="min-width:800px;min-height:500px;font-size: 12px;">
|
|
9436
|
+
|
|
9437
|
+
<agm-map [zoom]="zoom" width="100%" height="100%" [latitude]="lat" [longitude]="long">
|
|
9438
|
+
<agm-marker
|
|
9439
|
+
*ngFor="let m of markers; let i = index"
|
|
9440
|
+
(markerClick)="clickedMarker(m.labelx, infoWindow, i)"
|
|
9441
|
+
[latitude]="m.lat"
|
|
9442
|
+
[longitude]="m.lng"
|
|
9443
|
+
[label]="m.label"
|
|
9444
|
+
>
|
|
9445
|
+
<agm-info-window #infoWindow>
|
|
9446
|
+
|
|
9447
|
+
<strong>{{m.labelx}}</strong><br>
|
|
9448
|
+
<button *ngIf="m.url_scheda!=null" (click)="apri_Scheda(m.url_scheda)">APRI SCHEDA</button>
|
|
9449
|
+
</agm-info-window>
|
|
9450
|
+
</agm-marker>
|
|
9451
|
+
</agm-map>
|
|
9452
|
+
</mat-dialog-content>
|
|
9453
|
+
|
|
9454
|
+
|
|
9455
|
+
<mat-dialog-actions>
|
|
9456
|
+
|
|
9457
|
+
|
|
9458
|
+
<button mat-flat-button style="background-color: #F5F5F5" (click)="dialogRef.close('')">CHIUDI</button>
|
|
9459
|
+
|
|
9460
|
+
</mat-dialog-actions>
|
|
9461
|
+
`,
|
|
9462
|
+
styles: [`
|
|
9463
|
+
agm-map {
|
|
9464
|
+
height: 600px;
|
|
9465
|
+
width: 100%;
|
|
9466
|
+
}
|
|
9467
|
+
`]
|
|
9468
|
+
}] }
|
|
9469
|
+
];
|
|
9470
|
+
/** @nocollapse */
|
|
9471
|
+
win_mappa.ctorParameters = () => [
|
|
9472
|
+
{ type: MatDialogRef },
|
|
9473
|
+
{ type: ToastrService },
|
|
9474
|
+
{ type: AppService }
|
|
9475
|
+
];
|
|
9476
|
+
|
|
9368
9477
|
/**
|
|
9369
9478
|
* @fileoverview added by tsickle
|
|
9370
9479
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -11012,6 +11121,7 @@ class FHNumericFieldComponent {
|
|
|
11012
11121
|
this.uti_s = uti_s;
|
|
11013
11122
|
this.decimal = 0;
|
|
11014
11123
|
this.label = '';
|
|
11124
|
+
this.th_character = '.';
|
|
11015
11125
|
this.required = false;
|
|
11016
11126
|
this.enabled = true;
|
|
11017
11127
|
this.hidden = false;
|
|
@@ -11110,7 +11220,7 @@ class FHNumericFieldComponent {
|
|
|
11110
11220
|
fraction = fractionSize > 0
|
|
11111
11221
|
? ',' + (fraction + '000000').substring(0, fractionSize)
|
|
11112
11222
|
: "";
|
|
11113
|
-
integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g,
|
|
11223
|
+
integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, this.th_character);
|
|
11114
11224
|
if (integer == '')
|
|
11115
11225
|
integer = '0';
|
|
11116
11226
|
// console.log(integer + fraction);
|
|
@@ -11176,6 +11286,7 @@ FHNumericFieldComponent.propDecorators = {
|
|
|
11176
11286
|
el: [{ type: ViewChild, args: ['el',] }],
|
|
11177
11287
|
decimal: [{ type: Input }],
|
|
11178
11288
|
label: [{ type: Input }],
|
|
11289
|
+
th_character: [{ type: Input }],
|
|
11179
11290
|
required: [{ type: Input }],
|
|
11180
11291
|
enabled: [{ type: Input }],
|
|
11181
11292
|
hidden: [{ type: Input }],
|
|
@@ -19744,17 +19855,20 @@ FluxhubLibModule.decorators = [
|
|
|
19744
19855
|
MatSortModule,
|
|
19745
19856
|
MatTableModule,
|
|
19746
19857
|
MatNativeDateModule, MyDatePickerModule, FileUploadModule, AgGridModule.withComponents([NumericEditorComponent, DateComponent]), CommonModule, DragulaModule, FormsModule,
|
|
19858
|
+
AgmCoreModule.forRoot({
|
|
19859
|
+
apiKey: 'AIzaSyD3-g3b_QqxUruxBY4PGJKaH2fubIVXvN4'
|
|
19860
|
+
}),
|
|
19747
19861
|
FlexLayoutModule, MarkdownModule, CKEditorModule],
|
|
19748
19862
|
exports: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, fhimagepreview, win_show_image, WinAskButtonsComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent,
|
|
19749
19863
|
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, DateComponent, NumericEditorComponent,
|
|
19750
|
-
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_grid_help, TextAreaEditor,
|
|
19864
|
+
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|
|
19751
19865
|
ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, DtPick, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
|
|
19752
19866
|
FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent, wkf_header_bar,
|
|
19753
19867
|
FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
|
|
19754
19868
|
declarations: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
|
|
19755
19869
|
fhimagepreview, win_show_image, WinAskButtonsComponent, FHGridToolBarComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent, wkf_header_bar,
|
|
19756
19870
|
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, DateComponent, NumericEditorComponent,
|
|
19757
|
-
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_grid_help, TextAreaEditor,
|
|
19871
|
+
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|
|
19758
19872
|
ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, DtPick, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
|
|
19759
19873
|
FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent,
|
|
19760
19874
|
FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, win_salva_annulla, win_assegna,
|
|
@@ -19768,7 +19882,7 @@ FluxhubLibModule.decorators = [
|
|
|
19768
19882
|
FHPickListComponent,
|
|
19769
19883
|
FHConfirmComponent,
|
|
19770
19884
|
win_time_slider,
|
|
19771
|
-
FHUserPickerComponent, ApprovaGridComponent, win_grid_help, TextAreaEditor, ComboBoxEditor, FHWinComboSelect, WinAskTextComponent, WinAskNumberComponent, WinAskTextBigComponent, WinOutputComponent, FHListPick, WinWait
|
|
19885
|
+
FHUserPickerComponent, ApprovaGridComponent, win_mappa, win_grid_help, TextAreaEditor, ComboBoxEditor, FHWinComboSelect, WinAskTextComponent, WinAskNumberComponent, WinAskTextBigComponent, WinOutputComponent, FHListPick, WinWait
|
|
19772
19886
|
]
|
|
19773
19887
|
},] }
|
|
19774
19888
|
];
|
|
@@ -19993,5 +20107,5 @@ class dt {
|
|
|
19993
20107
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
19994
20108
|
*/
|
|
19995
20109
|
|
|
19996
|
-
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 };
|
|
20110
|
+
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 };
|
|
19997
20111
|
//# sourceMappingURL=fluxhub-fluxhub-lib.js.map
|