@fluxhub/fluxhub-lib 9.0.23 → 9.0.24

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,5 +1,5 @@
1
1
  import { __decorate, __metadata, __read, __extends, __param, __assign } from 'tslib';
2
- import { ɵɵdefineInjectable, Injectable, Component, ɵɵinject, ViewChild, ViewContainerRef, Directive, EventEmitter, Input, Output, ElementRef, Inject, forwardRef, HostListener, Pipe, PLATFORM_ID, Optional, NgModule } from '@angular/core';
2
+ import { ɵɵdefineInjectable, Injectable, ɵɵinject, ViewChild, ViewContainerRef, Component, Directive, EventEmitter, Input, Output, Inject, ElementRef, forwardRef, HostListener, Pipe, PLATFORM_ID, Optional, NgModule } from '@angular/core';
3
3
  import { HttpHeaders, HttpClient } from '@angular/common/http';
4
4
  import { ToastrService } from 'ngx-toastr';
5
5
  import { map, catchError, flatMap } from 'rxjs/operators';
@@ -164,9 +164,6 @@ var AppService = /** @class */ (function () {
164
164
  var QGResult = /** @class */ (function () {
165
165
  function QGResult() {
166
166
  }
167
- QGResult = __decorate([
168
- Component({ template: " " })
169
- ], QGResult);
170
167
  return QGResult;
171
168
  }());
172
169
 
@@ -362,40 +359,6 @@ var AppMakerService = /** @class */ (function () {
362
359
  return AppMakerService;
363
360
  }());
364
361
 
365
- var QResult = /** @class */ (function () {
366
- function QResult() {
367
- this.result_data = new Array();
368
- }
369
- QResult = __decorate([
370
- Component({ template: " " })
371
- ], QResult);
372
- return QResult;
373
- }());
374
-
375
- var QParam = /** @class */ (function () {
376
- function QParam() {
377
- this.values = new Array();
378
- this.types = new Array();
379
- this.names = new Array();
380
- }
381
- QParam = __decorate([
382
- Component({ template: " " })
383
- ], QParam);
384
- return QParam;
385
- }());
386
-
387
- var FSInput = /** @class */ (function () {
388
- function FSInput() {
389
- this.command = "";
390
- this.p1 = "";
391
- this.p2 = "";
392
- }
393
- FSInput = __decorate([
394
- Component({ template: " " })
395
- ], FSInput);
396
- return FSInput;
397
- }());
398
-
399
362
  var UtilityService = /** @class */ (function () {
400
363
  function UtilityService(app_s) {
401
364
  this.app_s = app_s;
@@ -1540,43 +1503,68 @@ var CurrencyComponent = /** @class */ (function () {
1540
1503
  return CurrencyComponent;
1541
1504
  }());
1542
1505
 
1506
+ var FHConfirmValues = /** @class */ (function () {
1507
+ function FHConfirmValues() {
1508
+ this.title_dialog = "";
1509
+ this.msg_dialog = "";
1510
+ }
1511
+ return FHConfirmValues;
1512
+ }());
1513
+
1543
1514
  /**
1544
1515
  * A Sample of how simple it is to create a new window, with its own injects.
1545
1516
  */
1546
1517
  var FHConfirmComponent = /** @class */ (function () {
1547
- function FHConfirmComponent(dialogRef, app_s) {
1518
+ function FHConfirmComponent(dialogRef, app_s, conf) {
1548
1519
  this.dialogRef = dialogRef;
1549
1520
  this.app_s = app_s;
1521
+ this.conf = conf;
1550
1522
  this.title = "";
1551
1523
  this.msg = "";
1552
1524
  this.confirm_mgs = "CONFERMA";
1553
1525
  this.annulla_mgs = "ANNULLA";
1554
- this.title = localStorage.getItem(this.app_s.COMPANY_KEY + "title_dialog");
1555
- this.msg = localStorage.getItem(this.app_s.COMPANY_KEY + "msg_dialog");
1526
+ if (conf == null) {
1527
+ this.title = localStorage.getItem(this.app_s.COMPANY_KEY + "title_dialog");
1528
+ this.msg = localStorage.getItem(this.app_s.COMPANY_KEY + "msg_dialog");
1529
+ }
1530
+ this.title = conf.title_dialog;
1531
+ this.msg = conf.msg_dialog;
1556
1532
  }
1557
- FHConfirmComponent.prototype.close = function () { this.dialogRef.close(null); };
1533
+ FHConfirmComponent.prototype.close = function () {
1534
+ this.dialogRef.close(null);
1535
+ };
1558
1536
  FHConfirmComponent.prototype.setTitle = function (texto) {
1559
1537
  this.title = texto;
1560
1538
  };
1561
1539
  FHConfirmComponent.prototype.setMsg = function (texto) {
1562
1540
  this.msg = texto;
1563
1541
  };
1564
- FHConfirmComponent.prototype.ngAfterViewInit = function () {
1565
- };
1542
+ FHConfirmComponent.prototype.ngAfterViewInit = function () { };
1566
1543
  FHConfirmComponent.ctorParameters = function () { return [
1567
1544
  { type: MatDialogRef },
1568
- { type: AppService }
1545
+ { type: AppService },
1546
+ { type: FHConfirmValues, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
1569
1547
  ]; };
1570
1548
  FHConfirmComponent = __decorate([
1571
1549
  Component({
1572
1550
  template: "\n\n <h1 mat-dialog-title>{{title}}</h1>\n <div mat-dialog-content style=\"font-size:12px\">{{msg}}</div>\n <div mat-dialog-actions>\n <button mat-button (click)=\"dialogRef.close(true)\" color=\"primary\">{{confirm_mgs}}</button>\n <button mat-button (click)=\"dialogRef.close(false)\" color=\"warn\">{{annulla_mgs}}</button>\n </div>\n ",
1573
1551
  styles: ["\n "]
1574
1552
  }),
1575
- __metadata("design:paramtypes", [MatDialogRef, AppService])
1553
+ __param(2, Inject(MAT_DIALOG_DATA)),
1554
+ __metadata("design:paramtypes", [MatDialogRef, AppService, FHConfirmValues])
1576
1555
  ], FHConfirmComponent);
1577
1556
  return FHConfirmComponent;
1578
1557
  }());
1579
1558
 
1559
+ var QParam = /** @class */ (function () {
1560
+ function QParam() {
1561
+ this.values = new Array();
1562
+ this.types = new Array();
1563
+ this.names = new Array();
1564
+ }
1565
+ return QParam;
1566
+ }());
1567
+
1580
1568
  var FHListComponent = /** @class */ (function () {
1581
1569
  function FHListComponent(_dataService) {
1582
1570
  this._dataService = _dataService;
@@ -3379,9 +3367,6 @@ var QGParam = /** @class */ (function () {
3379
3367
  this.filter = "";
3380
3368
  this.system_dest = 1;
3381
3369
  }
3382
- QGParam = __decorate([
3383
- Component({ template: " " })
3384
- ], QGParam);
3385
3370
  return QGParam;
3386
3371
  }());
3387
3372
 
@@ -4878,6 +4863,15 @@ var wkfapp = /** @class */ (function () {
4878
4863
  return wkfapp;
4879
4864
  }());
4880
4865
 
4866
+ var FSInput = /** @class */ (function () {
4867
+ function FSInput() {
4868
+ this.command = "";
4869
+ this.p1 = "";
4870
+ this.p2 = "";
4871
+ }
4872
+ return FSInput;
4873
+ }());
4874
+
4881
4875
  var OfficeOperation = /** @class */ (function () {
4882
4876
  function OfficeOperation() {
4883
4877
  }
@@ -9641,16 +9635,6 @@ var win_log = /** @class */ (function () {
9641
9635
  return win_log;
9642
9636
  }());
9643
9637
 
9644
- var FSResult = /** @class */ (function () {
9645
- function FSResult() {
9646
- this.result_data = new Array();
9647
- }
9648
- FSResult = __decorate([
9649
- Component({ template: " " })
9650
- ], FSResult);
9651
- return FSResult;
9652
- }());
9653
-
9654
9638
  var LocalDBService = /** @class */ (function () {
9655
9639
  function LocalDBService(uti, app) {
9656
9640
  this.uti = uti;
@@ -14097,14 +14081,14 @@ var FluxhubLibModule = /** @class */ (function () {
14097
14081
  FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
14098
14082
  ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
14099
14083
  FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent, wkf_header_bar,
14100
- FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
14084
+ FHListPick, WinWait, FHUserFieldComponent, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
14101
14085
  declarations: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
14102
14086
  fhimagepreview, win_show_image, WinAskButtonsComponent, FHGridToolBarComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent, wkf_header_bar,
14103
14087
  FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
14104
14088
  FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
14105
14089
  ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
14106
14090
  FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent,
14107
- FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, win_salva_annulla, win_assegna,
14091
+ FHListPick, WinWait, FHUserFieldComponent, win_salva_annulla, win_assegna,
14108
14092
  win_conferma, win_select_canale, win_select_level, win_uploads, win_commenti, win_info_doc, win_log, win_recupera_doc, win_riassegna_select_level,
14109
14093
  win_riassegna_select_user, win_sostituisci_utente, win_commento_sel_notif, FHGridJSONComponent, FormBuilderComponent, FormExecuterComponent, FHTableManager, win_manage_values, win_manage_roles, FHComboboxComponentFilter],
14110
14094
  providers: [HighlightService, DragulaService
@@ -14280,6 +14264,20 @@ var FHGuard = /** @class */ (function () {
14280
14264
  return FHGuard;
14281
14265
  }());
14282
14266
 
14267
+ var QResult = /** @class */ (function () {
14268
+ function QResult() {
14269
+ this.result_data = new Array();
14270
+ }
14271
+ return QResult;
14272
+ }());
14273
+
14274
+ var FSResult = /** @class */ (function () {
14275
+ function FSResult() {
14276
+ this.result_data = new Array();
14277
+ }
14278
+ return FSResult;
14279
+ }());
14280
+
14283
14281
  /*
14284
14282
  * Public API Surface of fluxhub-lib
14285
14283
  */
@@ -14288,5 +14286,5 @@ var FHGuard = /** @class */ (function () {
14288
14286
  * Generated bundle index. Do not edit.
14289
14287
  */
14290
14288
 
14291
- export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, ComboBoxEditor, CurrencyComponent, 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, 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$1 as ɵb, win_riassegna_select_user as ɵba, win_sostituisci_utente as ɵbb, win_commento_sel_notif as ɵbc, win_manage_values as ɵbd, win_manage_roles as ɵbe, FHComboboxComponentFilter as ɵbf, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC as ɵc, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT as ɵd, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR 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 };
14289
+ export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, ComboBoxEditor, CurrencyComponent, FHAutoCompleteComponent, FHComboboxComponent, FHConfirmComponent, FHConfirmValues, 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, 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$1 as ɵb, win_riassegna_select_user as ɵba, win_sostituisci_utente as ɵbb, win_commento_sel_notif as ɵbc, win_manage_values as ɵbd, win_manage_roles as ɵbe, FHComboboxComponentFilter as ɵbf, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC as ɵc, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT as ɵd, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR 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 };
14292
14290
  //# sourceMappingURL=fluxhub-fluxhub-lib.js.map