@fluxhub/fluxhub-lib 10.0.534 → 10.0.535

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.
@@ -12727,8 +12727,10 @@
12727
12727
  };
12728
12728
 
12729
12729
  var wkf_header_bar = /** @class */ (function () {
12730
- function wkf_header_bar(m_appService) {
12730
+ function wkf_header_bar(m_appService, _trs) {
12731
+ var _this = this;
12731
12732
  this.m_appService = m_appService;
12733
+ this._trs = _trs;
12732
12734
  this.custom_commands = [];
12733
12735
  this.dt_agg = null;
12734
12736
  this.edit_button = false;
@@ -12751,6 +12753,17 @@
12751
12753
  this.allegati_lbl = 'Allegati';
12752
12754
  this.workflow_lbl = 'Workflow';
12753
12755
  this.button_clicked = new i0.EventEmitter();
12756
+ setTimeout(function () {
12757
+ _this.back_lbl = _this._trs.instant('Indietro');
12758
+ _this.save_lbl = _this._trs.instant('Salva');
12759
+ _this.procedi_lbl = _this._trs.instant('Procedi');
12760
+ _this.respingi_lbl = _this._trs.instant('Respingi');
12761
+ _this.revisione_lbl = _this._trs.instant('Revisione');
12762
+ _this.info_doc_lbl = _this._trs.instant('Info Doc');
12763
+ _this.commenti_lbl = _this._trs.instant('Commenti');
12764
+ _this.allegati_lbl = _this._trs.instant('Allegati');
12765
+ _this.workflow_lbl = _this._trs.instant('Workflow');
12766
+ });
12754
12767
  }
12755
12768
  wkf_header_bar.prototype.exec_command = function (command) {
12756
12769
  this.command.emit({ cmd: command });
@@ -12805,7 +12818,8 @@
12805
12818
  },] }
12806
12819
  ];
12807
12820
  wkf_header_bar.ctorParameters = function () { return [
12808
- { type: AppService }
12821
+ { type: AppService },
12822
+ { type: core.TranslateService }
12809
12823
  ]; };
12810
12824
  wkf_header_bar.propDecorators = {
12811
12825
  custom_commands: [{ type: i0.Input }],
@@ -12820,15 +12834,6 @@
12820
12834
  command: [{ type: i0.Output }],
12821
12835
  admin_role: [{ type: i0.Input }],
12822
12836
  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
12837
  button_clicked: [{ type: i0.Output }]
12833
12838
  };
12834
12839
 
@@ -16239,8 +16244,10 @@
16239
16244
  };
16240
16245
 
16241
16246
  var wkf_header_bar_v2 = /** @class */ (function () {
16242
- function wkf_header_bar_v2(m_appService) {
16247
+ function wkf_header_bar_v2(m_appService, _trs) {
16248
+ var _this = this;
16243
16249
  this.m_appService = m_appService;
16250
+ this._trs = _trs;
16244
16251
  this.custom_commands = [];
16245
16252
  this.dt_agg = null;
16246
16253
  this.edit_button = false;
@@ -16264,6 +16271,17 @@
16264
16271
  this.sovra_path = '';
16265
16272
  this.command = new i0.EventEmitter();
16266
16273
  this.button_clicked = new i0.EventEmitter();
16274
+ setTimeout(function () {
16275
+ _this.back_lbl = _this._trs.instant('Indietro');
16276
+ _this.save_lbl = _this._trs.instant('Salva');
16277
+ _this.procedi_lbl = _this._trs.instant('Procedi');
16278
+ _this.respingi_lbl = _this._trs.instant('Respingi');
16279
+ _this.revisione_lbl = _this._trs.instant('Revisione');
16280
+ _this.info_doc_lbl = _this._trs.instant('Info Doc');
16281
+ _this.commenti_lbl = _this._trs.instant('Commenti');
16282
+ _this.allegati_lbl = _this._trs.instant('Allegati');
16283
+ _this.workflow_lbl = _this._trs.instant('Workflow');
16284
+ });
16267
16285
  }
16268
16286
  wkf_header_bar_v2.prototype.exec_command = function (command) {
16269
16287
  this.command.emit({ cmd: command });
@@ -16324,7 +16342,8 @@
16324
16342
  },] }
16325
16343
  ];
16326
16344
  wkf_header_bar_v2.ctorParameters = function () { return [
16327
- { type: AppService }
16345
+ { type: AppService },
16346
+ { type: core.TranslateService }
16328
16347
  ]; };
16329
16348
  wkf_header_bar_v2.propDecorators = {
16330
16349
  custom_commands: [{ type: i0.Input }],
@@ -16336,15 +16355,6 @@
16336
16355
  force_save: [{ type: i0.Input }],
16337
16356
  check_on_save: [{ type: i0.Input }],
16338
16357
  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
16358
  b_revisione: [{ type: i0.Input }],
16349
16359
  admin_role: [{ type: i0.Input }],
16350
16360
  sovra_path: [{ type: i0.Input }],