@fluxhub/fluxhub-lib 10.0.534 → 10.0.536

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.
@@ -5440,7 +5440,7 @@
5440
5440
  this.count_tbl_name = "";
5441
5441
  this.search_field_tooltip = "";
5442
5442
  this.loading_fulltext = false;
5443
- this.num_per_pag = 35;
5443
+ this.num_per_pag = 0;
5444
5444
  this.grid_key = "PRO_H";
5445
5445
  this.sort_field = "";
5446
5446
  this.fields = "*";
@@ -5513,6 +5513,8 @@
5513
5513
  p.curr_page = 0;
5514
5514
  if (p.num_per_pag == null)
5515
5515
  p.num_per_pag = 100;
5516
+ if (_this.num_per_pag != 0)
5517
+ p.num_per_pag = _this.num_per_pag;
5516
5518
  p.sort_field = _this.sort_field;
5517
5519
  if (params.sortModel != null)
5518
5520
  if (params.sortModel.length > 0) {
@@ -12727,8 +12729,9 @@
12727
12729
  };
12728
12730
 
12729
12731
  var wkf_header_bar = /** @class */ (function () {
12730
- function wkf_header_bar(m_appService) {
12732
+ function wkf_header_bar(m_appService, _trs) {
12731
12733
  this.m_appService = m_appService;
12734
+ this._trs = _trs;
12732
12735
  this.custom_commands = [];
12733
12736
  this.dt_agg = null;
12734
12737
  this.edit_button = false;
@@ -12795,7 +12798,20 @@
12795
12798
  if (this.dt_agg != null)
12796
12799
  this.dt_agg.open_wkf();
12797
12800
  };
12798
- wkf_header_bar.prototype.ngAfterViewInit = function () { };
12801
+ wkf_header_bar.prototype.ngAfterViewInit = function () {
12802
+ var _this = this;
12803
+ setTimeout(function () {
12804
+ _this.back_lbl = _this._trs.instant('Indietro');
12805
+ _this.save_lbl = _this._trs.instant('Salva');
12806
+ _this.procedi_lbl = _this._trs.instant('Procedi');
12807
+ _this.respingi_lbl = _this._trs.instant('Respingi');
12808
+ _this.revisione_lbl = _this._trs.instant('Revisione');
12809
+ _this.info_doc_lbl = _this._trs.instant('Info Doc');
12810
+ _this.commenti_lbl = _this._trs.instant('Commenti');
12811
+ _this.allegati_lbl = _this._trs.instant('Allegati');
12812
+ _this.workflow_lbl = _this._trs.instant('Workflow');
12813
+ });
12814
+ };
12799
12815
  return wkf_header_bar;
12800
12816
  }());
12801
12817
  wkf_header_bar.decorators = [
@@ -12805,7 +12821,8 @@
12805
12821
  },] }
12806
12822
  ];
12807
12823
  wkf_header_bar.ctorParameters = function () { return [
12808
- { type: AppService }
12824
+ { type: AppService },
12825
+ { type: core.TranslateService }
12809
12826
  ]; };
12810
12827
  wkf_header_bar.propDecorators = {
12811
12828
  custom_commands: [{ type: i0.Input }],
@@ -12820,15 +12837,6 @@
12820
12837
  command: [{ type: i0.Output }],
12821
12838
  admin_role: [{ type: i0.Input }],
12822
12839
  sovra_path: [{ type: i0.Input }],
12823
- back_lbl: [{ type: i0.Input }],
12824
- save_lbl: [{ type: i0.Input }],
12825
- procedi_lbl: [{ type: i0.Input }],
12826
- respingi_lbl: [{ type: i0.Input }],
12827
- revisione_lbl: [{ type: i0.Input }],
12828
- info_doc_lbl: [{ type: i0.Input }],
12829
- commenti_lbl: [{ type: i0.Input }],
12830
- allegati_lbl: [{ type: i0.Input }],
12831
- workflow_lbl: [{ type: i0.Input }],
12832
12840
  button_clicked: [{ type: i0.Output }]
12833
12841
  };
12834
12842
 
@@ -16239,8 +16247,9 @@
16239
16247
  };
16240
16248
 
16241
16249
  var wkf_header_bar_v2 = /** @class */ (function () {
16242
- function wkf_header_bar_v2(m_appService) {
16250
+ function wkf_header_bar_v2(m_appService, _trs) {
16243
16251
  this.m_appService = m_appService;
16252
+ this._trs = _trs;
16244
16253
  this.custom_commands = [];
16245
16254
  this.dt_agg = null;
16246
16255
  this.edit_button = false;
@@ -16314,6 +16323,18 @@
16314
16323
  this.dt_agg.open_wkf();
16315
16324
  };
16316
16325
  wkf_header_bar_v2.prototype.ngAfterViewInit = function () {
16326
+ var _this = this;
16327
+ setTimeout(function () {
16328
+ _this.back_lbl = _this._trs.instant('Indietro');
16329
+ _this.save_lbl = _this._trs.instant('Salva');
16330
+ _this.procedi_lbl = _this._trs.instant('Procedi');
16331
+ _this.respingi_lbl = _this._trs.instant('Respingi');
16332
+ _this.revisione_lbl = _this._trs.instant('Revisione');
16333
+ _this.info_doc_lbl = _this._trs.instant('Info Doc');
16334
+ _this.commenti_lbl = _this._trs.instant('Commenti');
16335
+ _this.allegati_lbl = _this._trs.instant('Allegati');
16336
+ _this.workflow_lbl = _this._trs.instant('Workflow');
16337
+ });
16317
16338
  };
16318
16339
  return wkf_header_bar_v2;
16319
16340
  }());
@@ -16324,7 +16345,8 @@
16324
16345
  },] }
16325
16346
  ];
16326
16347
  wkf_header_bar_v2.ctorParameters = function () { return [
16327
- { type: AppService }
16348
+ { type: AppService },
16349
+ { type: core.TranslateService }
16328
16350
  ]; };
16329
16351
  wkf_header_bar_v2.propDecorators = {
16330
16352
  custom_commands: [{ type: i0.Input }],
@@ -16336,15 +16358,6 @@
16336
16358
  force_save: [{ type: i0.Input }],
16337
16359
  check_on_save: [{ type: i0.Input }],
16338
16360
  download_button: [{ type: i0.Input }],
16339
- back_lbl: [{ type: i0.Input }],
16340
- save_lbl: [{ type: i0.Input }],
16341
- procedi_lbl: [{ type: i0.Input }],
16342
- respingi_lbl: [{ type: i0.Input }],
16343
- revisione_lbl: [{ type: i0.Input }],
16344
- info_doc_lbl: [{ type: i0.Input }],
16345
- commenti_lbl: [{ type: i0.Input }],
16346
- allegati_lbl: [{ type: i0.Input }],
16347
- workflow_lbl: [{ type: i0.Input }],
16348
16361
  b_revisione: [{ type: i0.Input }],
16349
16362
  admin_role: [{ type: i0.Input }],
16350
16363
  sovra_path: [{ type: i0.Input }],