@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.
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common/http'), require('ngx-toastr'), require('rxjs/operators'), require('rxjs'), require('ngx-simple-crypt'), require('crypto-js'), require('@angular/material'), require('@angular/forms'), require('ng2-file-upload'), require('@angular/router'), require('ng2-slim-loading-bar'), require('ag-grid-enterprise'), require('moment'), require('mydatepicker'), require('@angular/common'), require('clipboard'), require('prismjs'), require('prismjs/plugins/toolbar/prism-toolbar'), require('prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard'), require('prismjs/components/prism-css'), require('prismjs/components/prism-javascript'), require('prismjs/components/prism-java'), require('prismjs/components/prism-markup'), require('prismjs/components/prism-typescript'), require('prismjs/components/prism-sass'), require('prismjs/components/prism-scss'), require('prismjs/components/prism-sql'), require('bpmn-js/lib/NavigatedViewer'), require('@angular/flex-layout'), require('ngx-markdown'), require('ng2-ckeditor'), require('ag-grid-angular'), require('@angular/cdk/table'), require('ngforage'), require('@ngx-translate/core'), require('ng2-dragula'), require('@angular/platform-browser'), require('@angular/http')) :
3
- typeof define === 'function' && define.amd ? define('@fluxhub/fluxhub-lib', ['exports', '@angular/core', '@angular/common/http', 'ngx-toastr', 'rxjs/operators', 'rxjs', 'ngx-simple-crypt', 'crypto-js', '@angular/material', '@angular/forms', 'ng2-file-upload', '@angular/router', 'ng2-slim-loading-bar', 'ag-grid-enterprise', 'moment', 'mydatepicker', '@angular/common', 'clipboard', 'prismjs', 'prismjs/plugins/toolbar/prism-toolbar', 'prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard', 'prismjs/components/prism-css', 'prismjs/components/prism-javascript', 'prismjs/components/prism-java', 'prismjs/components/prism-markup', 'prismjs/components/prism-typescript', 'prismjs/components/prism-sass', 'prismjs/components/prism-scss', 'prismjs/components/prism-sql', 'bpmn-js/lib/NavigatedViewer', '@angular/flex-layout', 'ngx-markdown', 'ng2-ckeditor', 'ag-grid-angular', '@angular/cdk/table', 'ngforage', '@ngx-translate/core', 'ng2-dragula', '@angular/platform-browser', '@angular/http'], factory) :
4
- (global = global || self, factory((global.fluxhub = global.fluxhub || {}, global.fluxhub['fluxhub-lib'] = {}), global.ng.core, global.ng.common.http, global.ngxToastr, global.rxjs.operators, global.rxjs, global.ngxSimpleCrypt, global.cryptoJs, global.ng.material, global.ng.forms, global.ng2FileUpload, global.ng.router, global.ng2SlimLoadingBar, null, global.momentNs, global.mydatepicker, global.ng.common, null, null, null, null, null, null, null, null, null, null, null, null, global.NavigatedViewer, global.ng['flex-layout'], global.ngxMarkdown, global.ng2Ckeditor, global.agGridAngular, global.ng.cdk.table, global.ngforage, global.core$1, global.ng2Dragula, global.ng.platformBrowser, global.ng.http));
5
- }(this, function (exports, core, http, ngxToastr, operators, rxjs, ngxSimpleCrypt, cryptoJs, material, forms, ng2FileUpload, router, ng2SlimLoadingBar, agGridEnterprise, momentNs, mydatepicker, common, clipboard, prismjs, prismToolbar, prismCopyToClipboard, prismCss, prismJavascript, prismJava, prismMarkup, prismTypescript, prismSass, prismScss, prismSql, NavigatedViewer, flexLayout, ngxMarkdown, ng2Ckeditor, agGridAngular, table, ngforage, core$1, ng2Dragula, platformBrowser, http$1) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common/http'), require('ngx-toastr'), require('rxjs/operators'), require('rxjs'), require('ngx-simple-crypt'), require('crypto-js'), require('@angular/material'), require('@angular/forms'), require('ng2-file-upload'), require('@angular/router'), require('ng2-slim-loading-bar'), require('ag-grid-enterprise'), require('moment'), require('mydatepicker'), require('@angular/common'), require('clipboard'), require('prismjs'), require('prismjs/plugins/toolbar/prism-toolbar'), require('prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard'), require('prismjs/components/prism-css'), require('prismjs/components/prism-javascript'), require('prismjs/components/prism-java'), require('prismjs/components/prism-markup'), require('prismjs/components/prism-typescript'), require('prismjs/components/prism-sass'), require('prismjs/components/prism-scss'), require('prismjs/components/prism-sql'), require('bpmn-js/lib/NavigatedViewer'), require('@angular/flex-layout'), require('ngx-markdown'), require('ng2-ckeditor'), require('ag-grid-angular'), require('@agm/core'), require('@angular/cdk/table'), require('ngforage'), require('@ngx-translate/core'), require('ng2-dragula'), require('@angular/platform-browser'), require('@angular/http')) :
3
+ typeof define === 'function' && define.amd ? define('@fluxhub/fluxhub-lib', ['exports', '@angular/core', '@angular/common/http', 'ngx-toastr', 'rxjs/operators', 'rxjs', 'ngx-simple-crypt', 'crypto-js', '@angular/material', '@angular/forms', 'ng2-file-upload', '@angular/router', 'ng2-slim-loading-bar', 'ag-grid-enterprise', 'moment', 'mydatepicker', '@angular/common', 'clipboard', 'prismjs', 'prismjs/plugins/toolbar/prism-toolbar', 'prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard', 'prismjs/components/prism-css', 'prismjs/components/prism-javascript', 'prismjs/components/prism-java', 'prismjs/components/prism-markup', 'prismjs/components/prism-typescript', 'prismjs/components/prism-sass', 'prismjs/components/prism-scss', 'prismjs/components/prism-sql', 'bpmn-js/lib/NavigatedViewer', '@angular/flex-layout', 'ngx-markdown', 'ng2-ckeditor', 'ag-grid-angular', '@agm/core', '@angular/cdk/table', 'ngforage', '@ngx-translate/core', 'ng2-dragula', '@angular/platform-browser', '@angular/http'], factory) :
4
+ (global = global || self, factory((global.fluxhub = global.fluxhub || {}, global.fluxhub['fluxhub-lib'] = {}), global.ng.core, global.ng.common.http, global.ngxToastr, global.rxjs.operators, global.rxjs, global.ngxSimpleCrypt, global.cryptoJs, global.ng.material, global.ng.forms, global.ng2FileUpload, global.ng.router, global.ng2SlimLoadingBar, null, global.momentNs, global.mydatepicker, global.ng.common, null, null, null, null, null, null, null, null, null, null, null, null, global.NavigatedViewer, global.ng['flex-layout'], global.ngxMarkdown, global.ng2Ckeditor, global.agGridAngular, global.core$1, global.ng.cdk.table, global.ngforage, global.core$2, global.ng2Dragula, global.ng.platformBrowser, global.ng.http));
5
+ }(this, function (exports, core, http, ngxToastr, operators, rxjs, ngxSimpleCrypt, cryptoJs, material, forms, ng2FileUpload, router, ng2SlimLoadingBar, agGridEnterprise, momentNs, mydatepicker, common, clipboard, prismjs, prismToolbar, prismCopyToClipboard, prismCss, prismJavascript, prismJava, prismMarkup, prismTypescript, prismSass, prismScss, prismSql, NavigatedViewer, flexLayout, ngxMarkdown, ng2Ckeditor, agGridAngular, core$1, table, ngforage, core$2, ng2Dragula, platformBrowser, http$1) { 'use strict';
6
6
 
7
7
  NavigatedViewer = NavigatedViewer && NavigatedViewer.hasOwnProperty('default') ? NavigatedViewer['default'] : NavigatedViewer;
8
8
 
@@ -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
@@ -11738,6 +11820,7 @@
11738
11820
  this.uti_s = uti_s;
11739
11821
  this.decimal = 0;
11740
11822
  this.label = '';
11823
+ this.th_character = '.';
11741
11824
  this.required = false;
11742
11825
  this.enabled = true;
11743
11826
  this.hidden = false;
@@ -11864,7 +11947,7 @@
11864
11947
  fraction = fractionSize > 0
11865
11948
  ? ',' + (fraction + '000000').substring(0, fractionSize)
11866
11949
  : "";
11867
- integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, '.');
11950
+ integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, this.th_character);
11868
11951
  if (integer == '')
11869
11952
  integer = '0';
11870
11953
  // console.log(integer + fraction);
@@ -11928,6 +12011,7 @@
11928
12011
  el: [{ type: core.ViewChild, args: ['el',] }],
11929
12012
  decimal: [{ type: core.Input }],
11930
12013
  label: [{ type: core.Input }],
12014
+ th_character: [{ type: core.Input }],
11931
12015
  required: [{ type: core.Input }],
11932
12016
  enabled: [{ type: core.Input }],
11933
12017
  hidden: [{ type: core.Input }],
@@ -20420,7 +20504,7 @@
20420
20504
  };
20421
20505
  FluxhubLibModule.decorators = [
20422
20506
  { type: core.NgModule, args: [{
20423
- imports: [core$1.TranslateModule, table.CdkTableModule,
20507
+ imports: [core$2.TranslateModule, table.CdkTableModule,
20424
20508
  material.MatAutocompleteModule,
20425
20509
  material.MatDialogModule,
20426
20510
  material.MatButtonModule,
@@ -20452,17 +20536,20 @@
20452
20536
  material.MatSortModule,
20453
20537
  material.MatTableModule,
20454
20538
  material.MatNativeDateModule, mydatepicker.MyDatePickerModule, ng2FileUpload.FileUploadModule, agGridAngular.AgGridModule.withComponents([NumericEditorComponent, DateComponent]), common.CommonModule, ng2Dragula.DragulaModule, forms.FormsModule,
20539
+ core$1.AgmCoreModule.forRoot({
20540
+ apiKey: 'AIzaSyD3-g3b_QqxUruxBY4PGJKaH2fubIVXvN4'
20541
+ }),
20455
20542
  flexLayout.FlexLayoutModule, ngxMarkdown.MarkdownModule, ng2Ckeditor.CKEditorModule],
20456
20543
  exports: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, fhimagepreview, win_show_image, WinAskButtonsComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent,
20457
20544
  FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, DateComponent, NumericEditorComponent,
20458
- FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_grid_help, TextAreaEditor,
20545
+ FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
20459
20546
  ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, DtPick, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
20460
20547
  FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent, wkf_header_bar,
20461
20548
  FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
20462
20549
  declarations: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
20463
20550
  fhimagepreview, win_show_image, WinAskButtonsComponent, FHGridToolBarComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent, wkf_header_bar,
20464
20551
  FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, DateComponent, NumericEditorComponent,
20465
- FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_grid_help, TextAreaEditor,
20552
+ FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
20466
20553
  ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, DtPick, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
20467
20554
  FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent,
20468
20555
  FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, win_salva_annulla, win_assegna,
@@ -20476,7 +20563,7 @@
20476
20563
  FHPickListComponent,
20477
20564
  FHConfirmComponent,
20478
20565
  win_time_slider,
20479
- FHUserPickerComponent, ApprovaGridComponent, win_grid_help, TextAreaEditor, ComboBoxEditor, FHWinComboSelect, WinAskTextComponent, WinAskNumberComponent, WinAskTextBigComponent, WinOutputComponent, FHListPick, WinWait
20566
+ FHUserPickerComponent, ApprovaGridComponent, win_mappa, win_grid_help, TextAreaEditor, ComboBoxEditor, FHWinComboSelect, WinAskTextComponent, WinAskNumberComponent, WinAskTextBigComponent, WinOutputComponent, FHListPick, WinWait
20480
20567
  ]
20481
20568
  },] }
20482
20569
  ];
@@ -20751,6 +20838,7 @@
20751
20838
  exports.dt = dt;
20752
20839
  exports.fhimagepreview = fhimagepreview;
20753
20840
  exports.win_insert_commento = win_insert_commento;
20841
+ exports.win_mappa = win_mappa;
20754
20842
  exports.win_salva_annulla = win_salva_annulla;
20755
20843
  exports.win_show_image = win_show_image;
20756
20844
  exports.win_time_slider = win_time_slider;