@fluxhub/fluxhub-lib 9.0.23 → 9.0.25

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.
@@ -297,9 +297,6 @@
297
297
  var QGResult = /** @class */ (function () {
298
298
  function QGResult() {
299
299
  }
300
- QGResult = __decorate([
301
- core.Component({ template: " " })
302
- ], QGResult);
303
300
  return QGResult;
304
301
  }());
305
302
 
@@ -495,40 +492,6 @@
495
492
  return AppMakerService;
496
493
  }());
497
494
 
498
- var QResult = /** @class */ (function () {
499
- function QResult() {
500
- this.result_data = new Array();
501
- }
502
- QResult = __decorate([
503
- core.Component({ template: " " })
504
- ], QResult);
505
- return QResult;
506
- }());
507
-
508
- var QParam = /** @class */ (function () {
509
- function QParam() {
510
- this.values = new Array();
511
- this.types = new Array();
512
- this.names = new Array();
513
- }
514
- QParam = __decorate([
515
- core.Component({ template: " " })
516
- ], QParam);
517
- return QParam;
518
- }());
519
-
520
- var FSInput = /** @class */ (function () {
521
- function FSInput() {
522
- this.command = "";
523
- this.p1 = "";
524
- this.p2 = "";
525
- }
526
- FSInput = __decorate([
527
- core.Component({ template: " " })
528
- ], FSInput);
529
- return FSInput;
530
- }());
531
-
532
495
  var UtilityService = /** @class */ (function () {
533
496
  function UtilityService(app_s) {
534
497
  this.app_s = app_s;
@@ -1673,43 +1636,69 @@
1673
1636
  return CurrencyComponent;
1674
1637
  }());
1675
1638
 
1639
+ var FHConfirmValues = /** @class */ (function () {
1640
+ function FHConfirmValues() {
1641
+ this.title_dialog = "";
1642
+ this.msg_dialog = "";
1643
+ }
1644
+ return FHConfirmValues;
1645
+ }());
1646
+
1676
1647
  /**
1677
1648
  * A Sample of how simple it is to create a new window, with its own injects.
1678
1649
  */
1679
1650
  var FHConfirmComponent = /** @class */ (function () {
1680
- function FHConfirmComponent(dialogRef, app_s) {
1651
+ function FHConfirmComponent(dialogRef, app_s, conf) {
1681
1652
  this.dialogRef = dialogRef;
1682
1653
  this.app_s = app_s;
1654
+ this.conf = conf;
1683
1655
  this.title = "";
1684
1656
  this.msg = "";
1685
1657
  this.confirm_mgs = "CONFERMA";
1686
1658
  this.annulla_mgs = "ANNULLA";
1687
- this.title = localStorage.getItem(this.app_s.COMPANY_KEY + "title_dialog");
1688
- this.msg = localStorage.getItem(this.app_s.COMPANY_KEY + "msg_dialog");
1659
+ if (conf == null) {
1660
+ this.title = localStorage.getItem(this.app_s.COMPANY_KEY + "title_dialog");
1661
+ this.msg = localStorage.getItem(this.app_s.COMPANY_KEY + "msg_dialog");
1662
+ return;
1663
+ }
1664
+ this.title = conf.title_dialog;
1665
+ this.msg = conf.msg_dialog;
1689
1666
  }
1690
- FHConfirmComponent.prototype.close = function () { this.dialogRef.close(null); };
1667
+ FHConfirmComponent.prototype.close = function () {
1668
+ this.dialogRef.close(null);
1669
+ };
1691
1670
  FHConfirmComponent.prototype.setTitle = function (texto) {
1692
1671
  this.title = texto;
1693
1672
  };
1694
1673
  FHConfirmComponent.prototype.setMsg = function (texto) {
1695
1674
  this.msg = texto;
1696
1675
  };
1697
- FHConfirmComponent.prototype.ngAfterViewInit = function () {
1698
- };
1676
+ FHConfirmComponent.prototype.ngAfterViewInit = function () { };
1699
1677
  FHConfirmComponent.ctorParameters = function () { return [
1700
1678
  { type: dialog.MatDialogRef },
1701
- { type: AppService }
1679
+ { type: AppService },
1680
+ { type: FHConfirmValues, decorators: [{ type: core.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
1702
1681
  ]; };
1703
1682
  FHConfirmComponent = __decorate([
1704
1683
  core.Component({
1705
1684
  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 ",
1706
1685
  styles: ["\n "]
1707
1686
  }),
1708
- __metadata("design:paramtypes", [dialog.MatDialogRef, AppService])
1687
+ __param(2, core.Inject(dialog.MAT_DIALOG_DATA)),
1688
+ __metadata("design:paramtypes", [dialog.MatDialogRef, AppService, FHConfirmValues])
1709
1689
  ], FHConfirmComponent);
1710
1690
  return FHConfirmComponent;
1711
1691
  }());
1712
1692
 
1693
+ var QParam = /** @class */ (function () {
1694
+ function QParam() {
1695
+ this.values = new Array();
1696
+ this.types = new Array();
1697
+ this.names = new Array();
1698
+ }
1699
+ return QParam;
1700
+ }());
1701
+
1713
1702
  var FHListComponent = /** @class */ (function () {
1714
1703
  function FHListComponent(_dataService) {
1715
1704
  this._dataService = _dataService;
@@ -3512,9 +3501,6 @@
3512
3501
  this.filter = "";
3513
3502
  this.system_dest = 1;
3514
3503
  }
3515
- QGParam = __decorate([
3516
- core.Component({ template: " " })
3517
- ], QGParam);
3518
3504
  return QGParam;
3519
3505
  }());
3520
3506
 
@@ -5011,6 +4997,15 @@
5011
4997
  return wkfapp;
5012
4998
  }());
5013
4999
 
5000
+ var FSInput = /** @class */ (function () {
5001
+ function FSInput() {
5002
+ this.command = "";
5003
+ this.p1 = "";
5004
+ this.p2 = "";
5005
+ }
5006
+ return FSInput;
5007
+ }());
5008
+
5014
5009
  var OfficeOperation = /** @class */ (function () {
5015
5010
  function OfficeOperation() {
5016
5011
  }
@@ -9774,16 +9769,6 @@
9774
9769
  return win_log;
9775
9770
  }());
9776
9771
 
9777
- var FSResult = /** @class */ (function () {
9778
- function FSResult() {
9779
- this.result_data = new Array();
9780
- }
9781
- FSResult = __decorate([
9782
- core.Component({ template: " " })
9783
- ], FSResult);
9784
- return FSResult;
9785
- }());
9786
-
9787
9772
  var LocalDBService = /** @class */ (function () {
9788
9773
  function LocalDBService(uti, app) {
9789
9774
  this.uti = uti;
@@ -14230,14 +14215,14 @@
14230
14215
  FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
14231
14216
  ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
14232
14217
  FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent, wkf_header_bar,
14233
- FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
14218
+ FHListPick, WinWait, FHUserFieldComponent, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
14234
14219
  declarations: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
14235
14220
  fhimagepreview, win_show_image, WinAskButtonsComponent, FHGridToolBarComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent, wkf_header_bar,
14236
14221
  FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
14237
14222
  FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
14238
14223
  ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
14239
14224
  FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent,
14240
- FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, win_salva_annulla, win_assegna,
14225
+ FHListPick, WinWait, FHUserFieldComponent, win_salva_annulla, win_assegna,
14241
14226
  win_conferma, win_select_canale, win_select_level, win_uploads, win_commenti, win_info_doc, win_log, win_recupera_doc, win_riassegna_select_level,
14242
14227
  win_riassegna_select_user, win_sostituisci_utente, win_commento_sel_notif, FHGridJSONComponent, FormBuilderComponent, FormExecuterComponent, FHTableManager, win_manage_values, win_manage_roles, FHComboboxComponentFilter],
14243
14228
  providers: [HighlightService, ng2Dragula.DragulaService
@@ -14413,6 +14398,20 @@
14413
14398
  return FHGuard;
14414
14399
  }());
14415
14400
 
14401
+ var QResult = /** @class */ (function () {
14402
+ function QResult() {
14403
+ this.result_data = new Array();
14404
+ }
14405
+ return QResult;
14406
+ }());
14407
+
14408
+ var FSResult = /** @class */ (function () {
14409
+ function FSResult() {
14410
+ this.result_data = new Array();
14411
+ }
14412
+ return FSResult;
14413
+ }());
14414
+
14416
14415
  exports.AppMakerService = AppMakerService;
14417
14416
  exports.AppService = AppService;
14418
14417
  exports.ApprovaGridComponent = ApprovaGridComponent;
@@ -14422,6 +14421,7 @@
14422
14421
  exports.FHAutoCompleteComponent = FHAutoCompleteComponent;
14423
14422
  exports.FHComboboxComponent = FHComboboxComponent;
14424
14423
  exports.FHConfirmComponent = FHConfirmComponent;
14424
+ exports.FHConfirmValues = FHConfirmValues;
14425
14425
  exports.FHCurrencyFieldComponent = FHCurrencyFieldComponent;
14426
14426
  exports.FHCurrencyFormatterDirective = FHCurrencyFormatterDirective;
14427
14427
  exports.FHCurrencyPipe = FHCurrencyPipe;