@fluxhub/fluxhub-lib 10.0.535 → 10.0.537
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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +33 -28
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhgrid.js +8 -4
- package/esm2015/lib/wkf_engine/wkf_header_bar.js +14 -13
- package/esm2015/lib/wkf_engine_v2/wkf_header_bar.js +12 -12
- package/fesm2015/fluxhub-fluxhub-lib.js +31 -26
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -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 =
|
|
5443
|
+
this.num_per_pag = 0;
|
|
5444
5444
|
this.grid_key = "PRO_H";
|
|
5445
5445
|
this.sort_field = "";
|
|
5446
5446
|
this.fields = "*";
|
|
@@ -5504,8 +5504,6 @@
|
|
|
5504
5504
|
p.table_count = _this.count_tbl_name;
|
|
5505
5505
|
// console.log(params);
|
|
5506
5506
|
p.num_per_pag = params.endRow - params.startRow;
|
|
5507
|
-
// this.gridOptions.paginationPageSize = this.num_per_pag;
|
|
5508
|
-
// this.gridOptions.cacheBlockSize = this.num_per_pag;
|
|
5509
5507
|
// console.log(this.gridOptions.cacheBlockSize );
|
|
5510
5508
|
// console.log(this.gridOptions.paginationPageSize );
|
|
5511
5509
|
p.curr_page = Math.round(params.startRow / p.num_per_pag);
|
|
@@ -5513,6 +5511,8 @@
|
|
|
5513
5511
|
p.curr_page = 0;
|
|
5514
5512
|
if (p.num_per_pag == null)
|
|
5515
5513
|
p.num_per_pag = 100;
|
|
5514
|
+
if (_this.num_per_pag != 0)
|
|
5515
|
+
p.num_per_pag = _this.num_per_pag;
|
|
5516
5516
|
p.sort_field = _this.sort_field;
|
|
5517
5517
|
if (params.sortModel != null)
|
|
5518
5518
|
if (params.sortModel.length > 0) {
|
|
@@ -6932,6 +6932,10 @@
|
|
|
6932
6932
|
// console.log(this.header_h);
|
|
6933
6933
|
this.gridApi = event.api;
|
|
6934
6934
|
this.setHeaderHeight(this.header_h);
|
|
6935
|
+
if (this.num_per_pag != 0) {
|
|
6936
|
+
this.gridOptions.paginationPageSize = this.num_per_pag;
|
|
6937
|
+
this.gridOptions.cacheBlockSize = this.num_per_pag;
|
|
6938
|
+
}
|
|
6935
6939
|
if (this.gf != null && this.show_buttons && !this.pref_hidden) {
|
|
6936
6940
|
this.gf.sql = "SELECT_CFG_GRID";
|
|
6937
6941
|
this.gf.types = ["string"];
|
|
@@ -12728,7 +12732,6 @@
|
|
|
12728
12732
|
|
|
12729
12733
|
var wkf_header_bar = /** @class */ (function () {
|
|
12730
12734
|
function wkf_header_bar(m_appService, _trs) {
|
|
12731
|
-
var _this = this;
|
|
12732
12735
|
this.m_appService = m_appService;
|
|
12733
12736
|
this._trs = _trs;
|
|
12734
12737
|
this.custom_commands = [];
|
|
@@ -12753,17 +12756,6 @@
|
|
|
12753
12756
|
this.allegati_lbl = 'Allegati';
|
|
12754
12757
|
this.workflow_lbl = 'Workflow';
|
|
12755
12758
|
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
|
-
});
|
|
12767
12759
|
}
|
|
12768
12760
|
wkf_header_bar.prototype.exec_command = function (command) {
|
|
12769
12761
|
this.command.emit({ cmd: command });
|
|
@@ -12808,7 +12800,20 @@
|
|
|
12808
12800
|
if (this.dt_agg != null)
|
|
12809
12801
|
this.dt_agg.open_wkf();
|
|
12810
12802
|
};
|
|
12811
|
-
wkf_header_bar.prototype.ngAfterViewInit = function () {
|
|
12803
|
+
wkf_header_bar.prototype.ngAfterViewInit = function () {
|
|
12804
|
+
var _this = this;
|
|
12805
|
+
setTimeout(function () {
|
|
12806
|
+
_this.back_lbl = _this._trs.instant('Indietro');
|
|
12807
|
+
_this.save_lbl = _this._trs.instant('Salva');
|
|
12808
|
+
_this.procedi_lbl = _this._trs.instant('Procedi');
|
|
12809
|
+
_this.respingi_lbl = _this._trs.instant('Respingi');
|
|
12810
|
+
_this.revisione_lbl = _this._trs.instant('Revisione');
|
|
12811
|
+
_this.info_doc_lbl = _this._trs.instant('Info Doc');
|
|
12812
|
+
_this.commenti_lbl = _this._trs.instant('Commenti');
|
|
12813
|
+
_this.allegati_lbl = _this._trs.instant('Allegati');
|
|
12814
|
+
_this.workflow_lbl = _this._trs.instant('Workflow');
|
|
12815
|
+
});
|
|
12816
|
+
};
|
|
12812
12817
|
return wkf_header_bar;
|
|
12813
12818
|
}());
|
|
12814
12819
|
wkf_header_bar.decorators = [
|
|
@@ -16245,7 +16250,6 @@
|
|
|
16245
16250
|
|
|
16246
16251
|
var wkf_header_bar_v2 = /** @class */ (function () {
|
|
16247
16252
|
function wkf_header_bar_v2(m_appService, _trs) {
|
|
16248
|
-
var _this = this;
|
|
16249
16253
|
this.m_appService = m_appService;
|
|
16250
16254
|
this._trs = _trs;
|
|
16251
16255
|
this.custom_commands = [];
|
|
@@ -16271,17 +16275,6 @@
|
|
|
16271
16275
|
this.sovra_path = '';
|
|
16272
16276
|
this.command = new i0.EventEmitter();
|
|
16273
16277
|
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
|
-
});
|
|
16285
16278
|
}
|
|
16286
16279
|
wkf_header_bar_v2.prototype.exec_command = function (command) {
|
|
16287
16280
|
this.command.emit({ cmd: command });
|
|
@@ -16332,6 +16325,18 @@
|
|
|
16332
16325
|
this.dt_agg.open_wkf();
|
|
16333
16326
|
};
|
|
16334
16327
|
wkf_header_bar_v2.prototype.ngAfterViewInit = function () {
|
|
16328
|
+
var _this = this;
|
|
16329
|
+
setTimeout(function () {
|
|
16330
|
+
_this.back_lbl = _this._trs.instant('Indietro');
|
|
16331
|
+
_this.save_lbl = _this._trs.instant('Salva');
|
|
16332
|
+
_this.procedi_lbl = _this._trs.instant('Procedi');
|
|
16333
|
+
_this.respingi_lbl = _this._trs.instant('Respingi');
|
|
16334
|
+
_this.revisione_lbl = _this._trs.instant('Revisione');
|
|
16335
|
+
_this.info_doc_lbl = _this._trs.instant('Info Doc');
|
|
16336
|
+
_this.commenti_lbl = _this._trs.instant('Commenti');
|
|
16337
|
+
_this.allegati_lbl = _this._trs.instant('Allegati');
|
|
16338
|
+
_this.workflow_lbl = _this._trs.instant('Workflow');
|
|
16339
|
+
});
|
|
16335
16340
|
};
|
|
16336
16341
|
return wkf_header_bar_v2;
|
|
16337
16342
|
}());
|