@fluxhub/fluxhub-lib 10.0.529 → 10.0.530

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.
@@ -16216,9 +16216,9 @@
16216
16216
  };
16217
16217
 
16218
16218
  var wkf_header_bar_v2 = /** @class */ (function () {
16219
- function wkf_header_bar_v2(m_appService, _trs) {
16219
+ function wkf_header_bar_v2(m_appService, _trsp) {
16220
16220
  this.m_appService = m_appService;
16221
- this._trs = _trs;
16221
+ this._trsp = _trsp;
16222
16222
  this.custom_commands = [];
16223
16223
  this.dt_agg = null;
16224
16224
  this.edit_button = false;
@@ -16228,6 +16228,7 @@
16228
16228
  this.force_save = false;
16229
16229
  this.check_on_save = false;
16230
16230
  this.download_button = true;
16231
+ this._trs = null;
16231
16232
  this.b_revisione = false;
16232
16233
  this.admin_role = '[ZZZ_DIS_CC]';
16233
16234
  this.sovra_path = '';
@@ -16242,15 +16243,6 @@
16242
16243
  this.commenti_lbl = '';
16243
16244
  this.allegati_lbl = '';
16244
16245
  this.workflow_lbl = '';
16245
- this.back_lbl = this._trs.instant('Indietro');
16246
- this.save_lbl = this._trs.instant('Salva');
16247
- this.procedi_lbl = this._trs.instant('Procedi');
16248
- this.respingi_lbl = this._trs.instant('Respingi');
16249
- this.revisione_lbl = this._trs.instant('Revisione');
16250
- this.info_doc_lbl = this._trs.instant('Info Doc');
16251
- this.commenti_lbl = this._trs.instant('Commenti');
16252
- this.allegati_lbl = this._trs.instant('Allegati');
16253
- this.workflow_lbl = this._trs.instant('Workflow');
16254
16246
  }
16255
16247
  wkf_header_bar_v2.prototype.exec_command = function (command) {
16256
16248
  this.command.emit({ cmd: command });
@@ -16300,7 +16292,19 @@
16300
16292
  if (this.dt_agg != null)
16301
16293
  this.dt_agg.open_wkf();
16302
16294
  };
16303
- wkf_header_bar_v2.prototype.ngAfterViewInit = function () { };
16295
+ wkf_header_bar_v2.prototype.ngAfterViewInit = function () {
16296
+ if (this._trs == null)
16297
+ this._trs = this._trsp;
16298
+ this.back_lbl = this._trs.instant('Indietro');
16299
+ this.save_lbl = this._trs.instant('Salva');
16300
+ this.procedi_lbl = this._trs.instant('Procedi');
16301
+ this.respingi_lbl = this._trs.instant('Respingi');
16302
+ this.revisione_lbl = this._trs.instant('Revisione');
16303
+ this.info_doc_lbl = this._trs.instant('Info Doc');
16304
+ this.commenti_lbl = this._trs.instant('Commenti');
16305
+ this.allegati_lbl = this._trs.instant('Allegati');
16306
+ this.workflow_lbl = this._trs.instant('Workflow');
16307
+ };
16304
16308
  return wkf_header_bar_v2;
16305
16309
  }());
16306
16310
  wkf_header_bar_v2.decorators = [
@@ -16323,6 +16327,7 @@
16323
16327
  force_save: [{ type: i0.Input }],
16324
16328
  check_on_save: [{ type: i0.Input }],
16325
16329
  download_button: [{ type: i0.Input }],
16330
+ _trs: [{ type: i0.Input }],
16326
16331
  b_revisione: [{ type: i0.Input }],
16327
16332
  admin_role: [{ type: i0.Input }],
16328
16333
  sovra_path: [{ type: i0.Input }],