@fluxhub/fluxhub-lib 19.0.126 → 19.0.128
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/fesm2022/fluxhub-fluxhub-lib.mjs +313 -292
- package/fesm2022/fluxhub-fluxhub-lib.mjs.map +1 -1
- package/lib/controls/fh-grid-json.d.ts +3 -3
- package/lib/controls/fh-grid.d.ts +11 -3
- package/lib/controls/fh-win-select-by-grid.d.ts +1 -1
- package/lib/controls/grid_editors/fh-grid.d.ts +3 -3
- package/lib/wkf_engine_v2/wkf-app.d.ts +2 -2
- package/lib/wkf_engine_v2/wkf-form-data.d.ts +3 -0
- package/package.json +1 -1
|
@@ -9127,10 +9127,18 @@ class FHGridComponent {
|
|
|
9127
9127
|
elimina_label = 'ELIMINA';
|
|
9128
9128
|
export_field_aggiuntivi = '';
|
|
9129
9129
|
end_point = '';
|
|
9130
|
-
|
|
9130
|
+
/**
|
|
9131
|
+
* Grid configuration key used to retrieve settings from grids_customer.ini
|
|
9132
|
+
* @since Angular 19+ (renamed from tbl_name)
|
|
9133
|
+
*/
|
|
9134
|
+
grid_config_key = '';
|
|
9131
9135
|
columnDefs = [];
|
|
9132
9136
|
num_per_pag = 100;
|
|
9133
|
-
|
|
9137
|
+
/**
|
|
9138
|
+
* Grid customer preference key used to save/load user preferences (column order, filters, etc.)
|
|
9139
|
+
* @since Angular 19+ (renamed from grid_key)
|
|
9140
|
+
*/
|
|
9141
|
+
grid_customer_preference_key = 'PRO_H';
|
|
9134
9142
|
service = 'dogridn';
|
|
9135
9143
|
enabled = true;
|
|
9136
9144
|
show_link = false;
|
|
@@ -9203,10 +9211,10 @@ class FHGridComponent {
|
|
|
9203
9211
|
return;
|
|
9204
9212
|
this.b_ensure = true;
|
|
9205
9213
|
try {
|
|
9206
|
-
if (localStorage.getItem(this.
|
|
9214
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_POS') != null) {
|
|
9207
9215
|
if (this.gridApi)
|
|
9208
|
-
this.gridApi.ensureIndexVisible(parseInt(localStorage.getItem(this.
|
|
9209
|
-
localStorage.removeItem(this.
|
|
9216
|
+
this.gridApi.ensureIndexVisible(parseInt(localStorage.getItem(this.grid_customer_preference_key + '_POS') || '0'));
|
|
9217
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_POS');
|
|
9210
9218
|
}
|
|
9211
9219
|
}
|
|
9212
9220
|
catch (e) {
|
|
@@ -9218,10 +9226,10 @@ class FHGridComponent {
|
|
|
9218
9226
|
setTimeout(() => {
|
|
9219
9227
|
if (this.toggle_mantieni)
|
|
9220
9228
|
if (this.toggle_mantieni.checked) {
|
|
9221
|
-
localStorage.setItem(this.
|
|
9229
|
+
localStorage.setItem(this.grid_customer_preference_key + '_MANTIENI', 'SI');
|
|
9222
9230
|
}
|
|
9223
9231
|
else {
|
|
9224
|
-
localStorage.setItem(this.
|
|
9232
|
+
localStorage.setItem(this.grid_customer_preference_key + '_MANTIENI', 'NO');
|
|
9225
9233
|
}
|
|
9226
9234
|
}, 100);
|
|
9227
9235
|
}
|
|
@@ -9241,25 +9249,25 @@ class FHGridComponent {
|
|
|
9241
9249
|
this.curr_config = this.gf.getValue();
|
|
9242
9250
|
if (this.curr_config == '-1')
|
|
9243
9251
|
return;
|
|
9244
|
-
localStorage.removeItem(this.
|
|
9245
|
-
localStorage.removeItem(this.
|
|
9246
|
-
localStorage.removeItem(this.
|
|
9247
|
-
localStorage.removeItem(this.
|
|
9252
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_COLS');
|
|
9253
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_FILTER');
|
|
9254
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_CFG_DEFAULT');
|
|
9255
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_FILTER_UP');
|
|
9248
9256
|
if (this.gf)
|
|
9249
9257
|
if (this.gf.getObj().COL != null)
|
|
9250
9258
|
if (this.gf.getObj().COL != '')
|
|
9251
|
-
localStorage.setItem(this.
|
|
9259
|
+
localStorage.setItem(this.grid_customer_preference_key + '_COLS', this.gf.getObj().COL);
|
|
9252
9260
|
// if (this.gf.getObj().SORT != null)
|
|
9253
9261
|
// if (this.gf.getObj().SORT != "")
|
|
9254
|
-
// localStorage.setItem(this.
|
|
9262
|
+
// localStorage.setItem(this.grid_customer_preference_key + "_SORT", this.gf.getObj().SORT);
|
|
9255
9263
|
if (this.gf)
|
|
9256
9264
|
if (this.gf.getObj().FILTER != null)
|
|
9257
9265
|
if (this.gf.getObj().FILTER != '')
|
|
9258
|
-
localStorage.setItem(this.
|
|
9266
|
+
localStorage.setItem(this.grid_customer_preference_key + '_FILTER', this.gf.getObj().FILTER);
|
|
9259
9267
|
if (this.gf)
|
|
9260
9268
|
if (this.gf.getDescri() != null)
|
|
9261
9269
|
if (this.gf.getDescri() != '-1')
|
|
9262
|
-
localStorage.setItem(this.
|
|
9270
|
+
localStorage.setItem(this.grid_customer_preference_key + '_CFG_DEFAULT', this.gf.getDescri() || '');
|
|
9263
9271
|
if (this.gf)
|
|
9264
9272
|
this.curr_config = this.gf.getValue();
|
|
9265
9273
|
this.res_columns(true);
|
|
@@ -9285,14 +9293,14 @@ class FHGridComponent {
|
|
|
9285
9293
|
let p = new QParam();
|
|
9286
9294
|
p.sql = 'DELETE_CFG_GRID';
|
|
9287
9295
|
p.types = ['string', 'string'];
|
|
9288
|
-
p.values = [this.gf.getDescri(), this.
|
|
9296
|
+
p.values = [this.gf.getDescri(), this.grid_customer_preference_key];
|
|
9289
9297
|
this._dataService.doQuery(p).subscribe((data) => {
|
|
9290
9298
|
if (data != null)
|
|
9291
9299
|
if (data.result_msg == 'OK') {
|
|
9292
9300
|
this._toast.info('Configurazione eliminata');
|
|
9293
9301
|
if (this.gf) {
|
|
9294
9302
|
this.gf.types = ['string'];
|
|
9295
|
-
this.gf.values = [this.
|
|
9303
|
+
this.gf.values = [this.grid_customer_preference_key];
|
|
9296
9304
|
this.gf.fillCombo();
|
|
9297
9305
|
}
|
|
9298
9306
|
this.curr_config = '-1';
|
|
@@ -9324,12 +9332,12 @@ class FHGridComponent {
|
|
|
9324
9332
|
let p_col;
|
|
9325
9333
|
// let p_sort: string = "";
|
|
9326
9334
|
let p_filter;
|
|
9327
|
-
if (localStorage.getItem(this.
|
|
9328
|
-
p_col = localStorage.getItem(this.
|
|
9329
|
-
// if (localStorage.getItem(this.
|
|
9330
|
-
// p_sort = localStorage.getItem(this.
|
|
9331
|
-
if (localStorage.getItem(this.
|
|
9332
|
-
p_filter = localStorage.getItem(this.
|
|
9335
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') != null)
|
|
9336
|
+
p_col = localStorage.getItem(this.grid_customer_preference_key + '_COLS');
|
|
9337
|
+
// if (localStorage.getItem(this.grid_customer_preference_key + "_SORT") != null)
|
|
9338
|
+
// p_sort = localStorage.getItem(this.grid_customer_preference_key + "_SORT");
|
|
9339
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != null)
|
|
9340
|
+
p_filter = localStorage.getItem(this.grid_customer_preference_key + '_FILTER');
|
|
9333
9341
|
p.types = [
|
|
9334
9342
|
'string',
|
|
9335
9343
|
'string',
|
|
@@ -9341,7 +9349,7 @@ class FHGridComponent {
|
|
|
9341
9349
|
if (this.gf)
|
|
9342
9350
|
p.values = [
|
|
9343
9351
|
this.gf.getDescri(),
|
|
9344
|
-
this.
|
|
9352
|
+
this.grid_customer_preference_key,
|
|
9345
9353
|
p_col,
|
|
9346
9354
|
'',
|
|
9347
9355
|
p_filter,
|
|
@@ -9354,7 +9362,7 @@ class FHGridComponent {
|
|
|
9354
9362
|
this._toast.info('Configurazione salvata');
|
|
9355
9363
|
if (this.gf) {
|
|
9356
9364
|
this.gf.types = ['string'];
|
|
9357
|
-
this.gf.values = [this.
|
|
9365
|
+
this.gf.values = [this.grid_customer_preference_key];
|
|
9358
9366
|
this.gf.fillCombo();
|
|
9359
9367
|
}
|
|
9360
9368
|
this.curr_config = '-1';
|
|
@@ -9394,12 +9402,12 @@ class FHGridComponent {
|
|
|
9394
9402
|
let p_col;
|
|
9395
9403
|
// let p_sort: string = "";
|
|
9396
9404
|
let p_filter;
|
|
9397
|
-
if (localStorage.getItem(this.
|
|
9398
|
-
p_col = localStorage.getItem(this.
|
|
9399
|
-
// if (localStorage.getItem(this.
|
|
9400
|
-
// p_sort = localStorage.getItem(this.
|
|
9401
|
-
if (localStorage.getItem(this.
|
|
9402
|
-
p_filter = localStorage.getItem(this.
|
|
9405
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') != null)
|
|
9406
|
+
p_col = localStorage.getItem(this.grid_customer_preference_key + '_COLS');
|
|
9407
|
+
// if (localStorage.getItem(this.grid_customer_preference_key + "_SORT") != null)
|
|
9408
|
+
// p_sort = localStorage.getItem(this.grid_customer_preference_key + "_SORT");
|
|
9409
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != null)
|
|
9410
|
+
p_filter = localStorage.getItem(this.grid_customer_preference_key + '_FILTER');
|
|
9403
9411
|
p.types = [
|
|
9404
9412
|
'string',
|
|
9405
9413
|
'string',
|
|
@@ -9410,7 +9418,7 @@ class FHGridComponent {
|
|
|
9410
9418
|
];
|
|
9411
9419
|
p.values = [
|
|
9412
9420
|
result,
|
|
9413
|
-
this.
|
|
9421
|
+
this.grid_customer_preference_key,
|
|
9414
9422
|
p_col,
|
|
9415
9423
|
'',
|
|
9416
9424
|
p_filter,
|
|
@@ -9424,7 +9432,7 @@ class FHGridComponent {
|
|
|
9424
9432
|
ok_op = true;
|
|
9425
9433
|
if (this.gf) {
|
|
9426
9434
|
this.gf.types = ['string'];
|
|
9427
|
-
this.gf.values = [this.
|
|
9435
|
+
this.gf.values = [this.grid_customer_preference_key];
|
|
9428
9436
|
this.gf.fillCombo();
|
|
9429
9437
|
}
|
|
9430
9438
|
}
|
|
@@ -9443,7 +9451,7 @@ class FHGridComponent {
|
|
|
9443
9451
|
getRows: (params) => {
|
|
9444
9452
|
this.num_r = -1;
|
|
9445
9453
|
this.m_appService.start();
|
|
9446
|
-
let p = { kd: this.
|
|
9454
|
+
let p = { kd: this.grid_config_key };
|
|
9447
9455
|
p.num_per_pag = params.request.endRow - params.request.startRow;
|
|
9448
9456
|
p.fix_flt = this.fix_flt || '';
|
|
9449
9457
|
p.curr_page = Math.round(params.request.startRow / p.num_per_pag);
|
|
@@ -9488,21 +9496,21 @@ class FHGridComponent {
|
|
|
9488
9496
|
this.m_appService.complete();
|
|
9489
9497
|
this.fill_end.emit();
|
|
9490
9498
|
this.check_width();
|
|
9491
|
-
localStorage.setItem(this.
|
|
9492
|
-
if (localStorage.getItem(this.
|
|
9499
|
+
localStorage.setItem(this.grid_customer_preference_key + '_POS1', JSON.stringify(p));
|
|
9500
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_POS2') != null)
|
|
9493
9501
|
if (this.gridOptions != null)
|
|
9494
9502
|
if (this.gridApi != null)
|
|
9495
9503
|
this.gridApi.forEachNode((node) => {
|
|
9496
9504
|
if (this.getRowId(node) ===
|
|
9497
|
-
localStorage.getItem(this.
|
|
9505
|
+
localStorage.getItem(this.grid_customer_preference_key + '_POS2')) {
|
|
9498
9506
|
node.setSelected(true);
|
|
9499
|
-
localStorage.removeItem(this.
|
|
9500
|
-
if (localStorage.getItem(this.
|
|
9507
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_POS2');
|
|
9508
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_LAST_ROW') !=
|
|
9501
9509
|
null)
|
|
9502
|
-
this.sRow = JSON.parse(localStorage.getItem(this.
|
|
9510
|
+
this.sRow = JSON.parse(localStorage.getItem(this.grid_customer_preference_key + '_LAST_ROW') || '{}');
|
|
9503
9511
|
else
|
|
9504
9512
|
this.sRow = null;
|
|
9505
|
-
localStorage.removeItem(this.
|
|
9513
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_LAST_ROW');
|
|
9506
9514
|
}
|
|
9507
9515
|
});
|
|
9508
9516
|
let b_mantieni_ck = false;
|
|
@@ -9513,7 +9521,7 @@ class FHGridComponent {
|
|
|
9513
9521
|
}
|
|
9514
9522
|
this.b_init1 = true;
|
|
9515
9523
|
this.ensure_visible();
|
|
9516
|
-
if (localStorage.getItem(this.
|
|
9524
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') == null &&
|
|
9517
9525
|
this.autosize_at_ini)
|
|
9518
9526
|
setTimeout(() => {
|
|
9519
9527
|
this.set_init_size();
|
|
@@ -9772,15 +9780,15 @@ class FHGridComponent {
|
|
|
9772
9780
|
}
|
|
9773
9781
|
};
|
|
9774
9782
|
this.init_opt = true;
|
|
9775
|
-
if (this.
|
|
9783
|
+
if (this.grid_customer_preference_key == 'PRO_H')
|
|
9776
9784
|
this.no_pref = true;
|
|
9777
9785
|
setTimeout(() => {
|
|
9778
9786
|
if (this.end_point == null)
|
|
9779
9787
|
this.end_point =
|
|
9780
9788
|
this.m_appService.API_ENDPOINT + this.m_appService.GRID_ENDPOINT;
|
|
9781
|
-
if (localStorage.getItem(this.
|
|
9789
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER_UP') != null)
|
|
9782
9790
|
this.ric_libera =
|
|
9783
|
-
localStorage.getItem(this.
|
|
9791
|
+
localStorage.getItem(this.grid_customer_preference_key + '_FILTER_UP') || '';
|
|
9784
9792
|
this.onResize();
|
|
9785
9793
|
});
|
|
9786
9794
|
}
|
|
@@ -9872,12 +9880,12 @@ class FHGridComponent {
|
|
|
9872
9880
|
});
|
|
9873
9881
|
}
|
|
9874
9882
|
pulisci_filtri(resetr = true) {
|
|
9875
|
-
localStorage.removeItem(this.
|
|
9883
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_FILTER');
|
|
9876
9884
|
if (resetr) {
|
|
9877
9885
|
if (this.ric_libera != '')
|
|
9878
9886
|
this.doFill('', true, false);
|
|
9879
9887
|
this.ric_libera = '';
|
|
9880
|
-
localStorage.removeItem(this.
|
|
9888
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_FILTER_UP');
|
|
9881
9889
|
}
|
|
9882
9890
|
this.fix_flt_temp = '';
|
|
9883
9891
|
if (this.gridApi)
|
|
@@ -9942,18 +9950,18 @@ class FHGridComponent {
|
|
|
9942
9950
|
this.ckk_ed = true;
|
|
9943
9951
|
if (this.toggle_mantieni != null) {
|
|
9944
9952
|
this.toggle_mantieni.checked = true;
|
|
9945
|
-
if (localStorage.getItem(this.
|
|
9946
|
-
if (localStorage.getItem(this.
|
|
9953
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_MANTIENI') != null)
|
|
9954
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_MANTIENI') == 'NO') {
|
|
9947
9955
|
this.toggle_mantieni.checked = false;
|
|
9948
9956
|
}
|
|
9949
9957
|
}
|
|
9950
9958
|
this.res_columns();
|
|
9951
|
-
if (localStorage.getItem(this.
|
|
9959
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_POS') != null)
|
|
9952
9960
|
this.b_restored = true;
|
|
9953
|
-
if (localStorage.getItem(this.
|
|
9954
|
-
if (localStorage.getItem(this.
|
|
9961
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER_UP') != null)
|
|
9962
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER_UP') != '') {
|
|
9955
9963
|
this.ric_libera =
|
|
9956
|
-
localStorage.getItem(this.
|
|
9964
|
+
localStorage.getItem(this.grid_customer_preference_key + '_FILTER_UP') || '';
|
|
9957
9965
|
let arr = this.ric_libera.split(' ');
|
|
9958
9966
|
let arr_F = new Array();
|
|
9959
9967
|
for (let i = 0; i < arr.length; i++)
|
|
@@ -10048,27 +10056,27 @@ class FHGridComponent {
|
|
|
10048
10056
|
let b_rip = false;
|
|
10049
10057
|
if (this.toggle_mantieni != null)
|
|
10050
10058
|
b_mantieni_ck = this.toggle_mantieni.checked;
|
|
10051
|
-
if ((localStorage.getItem(this.
|
|
10059
|
+
if ((localStorage.getItem(this.grid_customer_preference_key + '_COLS') || '') == '') {
|
|
10052
10060
|
this.set_init_size();
|
|
10053
10061
|
return;
|
|
10054
10062
|
}
|
|
10055
10063
|
if (b_mantieni_ck || forza) {
|
|
10056
10064
|
b_rip = true;
|
|
10057
10065
|
try {
|
|
10058
|
-
let a = JSON.parse(localStorage.getItem(this.
|
|
10066
|
+
let a = JSON.parse(localStorage.getItem(this.grid_customer_preference_key + '_COLS') || '[]');
|
|
10059
10067
|
let annulla = true;
|
|
10060
10068
|
for (let i = 0; i < a.length; i++) {
|
|
10061
10069
|
if (!a[i].hide)
|
|
10062
10070
|
annulla = false;
|
|
10063
10071
|
}
|
|
10064
10072
|
if (annulla)
|
|
10065
|
-
localStorage.getItem(this.
|
|
10073
|
+
localStorage.getItem(this.grid_customer_preference_key + '_COLS');
|
|
10066
10074
|
else {
|
|
10067
|
-
if (localStorage.getItem(this.
|
|
10075
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_COLS'))
|
|
10068
10076
|
if (this.gridApi) {
|
|
10069
10077
|
let colState = {
|
|
10070
10078
|
applyOrder: true,
|
|
10071
|
-
state: JSON.parse(localStorage.getItem(this.
|
|
10079
|
+
state: JSON.parse(localStorage.getItem(this.grid_customer_preference_key + '_COLS') || '{}'),
|
|
10072
10080
|
};
|
|
10073
10081
|
this.gridApi.applyColumnState(colState);
|
|
10074
10082
|
}
|
|
@@ -10077,12 +10085,12 @@ class FHGridComponent {
|
|
|
10077
10085
|
catch (eer) {
|
|
10078
10086
|
}
|
|
10079
10087
|
}
|
|
10080
|
-
if (localStorage.getItem(this.
|
|
10088
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != null &&
|
|
10081
10089
|
(b_mantieni_ck || forza))
|
|
10082
|
-
if (localStorage.getItem(this.
|
|
10090
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != '') {
|
|
10083
10091
|
try {
|
|
10084
10092
|
if (this.gridApi)
|
|
10085
|
-
this.gridApi.setFilterModel(JSON.parse(localStorage.getItem(this.
|
|
10093
|
+
this.gridApi.setFilterModel(JSON.parse(localStorage.getItem(this.grid_customer_preference_key + '_FILTER') || ''));
|
|
10086
10094
|
}
|
|
10087
10095
|
catch (eer) {
|
|
10088
10096
|
}
|
|
@@ -10122,10 +10130,10 @@ class FHGridComponent {
|
|
|
10122
10130
|
else
|
|
10123
10131
|
this.gf.sql = 'SELECT_CFG_GRID_BY_USER';
|
|
10124
10132
|
this.gf.types = ['string'];
|
|
10125
|
-
this.gf.values = [this.
|
|
10133
|
+
this.gf.values = [this.grid_customer_preference_key];
|
|
10126
10134
|
this.gf.fillCombo();
|
|
10127
|
-
if (localStorage.getItem(this.
|
|
10128
|
-
if (localStorage.getItem(this.
|
|
10135
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_MANTIENI') != 'NO')
|
|
10136
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_CFG_DEFAULT') != null) {
|
|
10129
10137
|
return;
|
|
10130
10138
|
}
|
|
10131
10139
|
}
|
|
@@ -10138,16 +10146,16 @@ class FHGridComponent {
|
|
|
10138
10146
|
}
|
|
10139
10147
|
save_cfg() {
|
|
10140
10148
|
if (this.gridApi)
|
|
10141
|
-
localStorage.setItem(this.
|
|
10149
|
+
localStorage.setItem(this.grid_customer_preference_key + '_COLS', JSON.stringify(this.gridApi.getColumnState()));
|
|
10142
10150
|
}
|
|
10143
10151
|
fe_cfg() {
|
|
10144
10152
|
if (this.gf != null)
|
|
10145
10153
|
if (this.gf.getObj() != null)
|
|
10146
|
-
if (localStorage.getItem(this.
|
|
10147
|
-
this.gf.setByDescri(localStorage.getItem(this.
|
|
10148
|
-
localStorage.setItem(this.
|
|
10149
|
-
// localStorage.setItem(this.
|
|
10150
|
-
localStorage.setItem(this.
|
|
10154
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_MANTIENI') != 'NO') {
|
|
10155
|
+
this.gf.setByDescri(localStorage.getItem(this.grid_customer_preference_key + '_CFG_DEFAULT') || '');
|
|
10156
|
+
localStorage.setItem(this.grid_customer_preference_key + '_COLS', this.gf.getObj().COLS);
|
|
10157
|
+
// localStorage.setItem(this.grid_customer_preference_key + "_SORT", this.gf.getObj().SORT);
|
|
10158
|
+
localStorage.setItem(this.grid_customer_preference_key + '_FILTER', this.gf.getObj().FILTER);
|
|
10151
10159
|
this.curr_config = this.gf.getValue();
|
|
10152
10160
|
}
|
|
10153
10161
|
this.onready_go();
|
|
@@ -10174,10 +10182,10 @@ class FHGridComponent {
|
|
|
10174
10182
|
this.pulisci_filtri();
|
|
10175
10183
|
this.fix_flt_temp = '';
|
|
10176
10184
|
this.doFill('', true, false);
|
|
10177
|
-
localStorage.removeItem(this.
|
|
10185
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_FILTER_UP');
|
|
10178
10186
|
return;
|
|
10179
10187
|
}
|
|
10180
|
-
localStorage.setItem(this.
|
|
10188
|
+
localStorage.setItem(this.grid_customer_preference_key + '_FILTER_UP', this.ric_libera);
|
|
10181
10189
|
let arr = this.ric_libera.split(' ');
|
|
10182
10190
|
let arr_F = new Array();
|
|
10183
10191
|
for (let i = 0; i < arr.length; i++)
|
|
@@ -10268,7 +10276,7 @@ class FHGridComponent {
|
|
|
10268
10276
|
return;
|
|
10269
10277
|
if (this.b_init) {
|
|
10270
10278
|
if (this.gridApi)
|
|
10271
|
-
localStorage.setItem(this.
|
|
10279
|
+
localStorage.setItem(this.grid_customer_preference_key + '_COLS', JSON.stringify(this.gridApi.getColumnState()));
|
|
10272
10280
|
}
|
|
10273
10281
|
}
|
|
10274
10282
|
onFilterModified() {
|
|
@@ -10279,7 +10287,7 @@ class FHGridComponent {
|
|
|
10279
10287
|
setTimeout(() => {
|
|
10280
10288
|
if (this.b_init) {
|
|
10281
10289
|
if (this.gridApi)
|
|
10282
|
-
localStorage.setItem(this.
|
|
10290
|
+
localStorage.setItem(this.grid_customer_preference_key + '_FILTER', JSON.stringify(this.gridApi.getFilterModel()));
|
|
10283
10291
|
}
|
|
10284
10292
|
}, 200);
|
|
10285
10293
|
}
|
|
@@ -10290,11 +10298,11 @@ class FHGridComponent {
|
|
|
10290
10298
|
return;
|
|
10291
10299
|
if (this.b_init) {
|
|
10292
10300
|
if (this.gridApi)
|
|
10293
|
-
localStorage.setItem(this.
|
|
10301
|
+
localStorage.setItem(this.grid_customer_preference_key + '_COLS', JSON.stringify(this.gridApi.getColumnState()));
|
|
10294
10302
|
/*
|
|
10295
10303
|
|
|
10296
10304
|
localStorage.setItem(
|
|
10297
|
-
this.
|
|
10305
|
+
this.grid_customer_preference_key + "_SORT",
|
|
10298
10306
|
JSON.stringify(this.gridApi.getSortModel())
|
|
10299
10307
|
);*/
|
|
10300
10308
|
}
|
|
@@ -10311,15 +10319,15 @@ class FHGridComponent {
|
|
|
10311
10319
|
selectedInGrid = this.gridApi.getSelectedNodes();
|
|
10312
10320
|
if (selectedInGrid != null)
|
|
10313
10321
|
if (selectedInGrid[0] != null) {
|
|
10314
|
-
localStorage.setItem(this.
|
|
10322
|
+
localStorage.setItem(this.grid_customer_preference_key + '_POS', String(selectedInGrid[0].rowIndex));
|
|
10315
10323
|
if (this.gridApi)
|
|
10316
|
-
localStorage.setItem(this.
|
|
10317
|
-
localStorage.setItem(this.
|
|
10324
|
+
localStorage.setItem(this.grid_customer_preference_key + '_POS_BAR', JSON.stringify(this.gridApi.getVerticalPixelRange()));
|
|
10325
|
+
localStorage.setItem(this.grid_customer_preference_key + '_POS2', this.getRowId(selectedInGrid[0]));
|
|
10318
10326
|
// this.m_appService.getState().grid_obj=new Object();
|
|
10319
|
-
// this.m_appService.getState().grid_obj[this.
|
|
10327
|
+
// this.m_appService.getState().grid_obj[this.grid_customer_preference_key+'_NODE']=this.gridApi.getSelectedRows[0];
|
|
10320
10328
|
}
|
|
10321
10329
|
this.sRow = $event.data;
|
|
10322
|
-
localStorage.setItem(this.
|
|
10330
|
+
localStorage.setItem(this.grid_customer_preference_key + '_LAST_ROW', JSON.stringify(this.sRow));
|
|
10323
10331
|
this.clicked.emit($event.data);
|
|
10324
10332
|
var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent);
|
|
10325
10333
|
if (iOS) {
|
|
@@ -10344,7 +10352,7 @@ class FHGridComponent {
|
|
|
10344
10352
|
if (!this.b_init)
|
|
10345
10353
|
return;
|
|
10346
10354
|
this.columndclicked.emit($event);
|
|
10347
|
-
// localStorage.setItem(this.
|
|
10355
|
+
// localStorage.setItem(this.grid_customer_preference_key+'_COLUMN',JSON.stringify(this.gridApi.getColumnDef()));
|
|
10348
10356
|
}
|
|
10349
10357
|
fix_flt = '';
|
|
10350
10358
|
fix_flt_temp = '';
|
|
@@ -10380,7 +10388,7 @@ class FHGridComponent {
|
|
|
10380
10388
|
this.updateRow();
|
|
10381
10389
|
}
|
|
10382
10390
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHGridComponent, deps: [{ token: GridService }, { token: i3$1.ToastrService }, { token: QueryService }, { token: AppService }, { token: i1$2.MatDialog }, { token: UtilityService }, { token: FileService }, { token: i8$4.Clipboard }, { token: i3.TranslateService }, { token: i1$1.HttpClient }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10383
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHGridComponent, isStandalone: true, selector: "FHGrid", inputs: { theme: "theme", gridCursorPointer: "gridCursorPointer", pagination: "pagination", paginationPageSize: "paginationPageSize", paginationAutoPageSize: "paginationAutoPageSize", subtitle: "subtitle", forceFitSize: "forceFitSize", tooltipShowDelay: "tooltipShowDelay", elimina_label: "elimina_label", export_field_aggiuntivi: "export_field_aggiuntivi", end_point: "end_point", tbl_name: "tbl_name", columnDefs: "columnDefs", num_per_pag: "num_per_pag", grid_key: "grid_key", service: "service", enabled: "enabled", show_link: "show_link", show_help_bar: "show_help_bar", help_label_bar: "help_label_bar", auto_load: "auto_load", auto_height: "auto_height", enable_export: "enable_export", enabled_pag: "enabled_pag", show_help: "show_help", show_num_elem: "show_num_elem", private_pref: "private_pref", icons: "icons", system_dest: "system_dest", header_h: "header_h", selection_mode: "selection_mode", init_fill: "init_fill", no_pref: "no_pref", pref_hidden: "pref_hidden", enable_export_pdf: "enable_export_pdf", enable_export_xls: "enable_export_xls", enable_copy: "enable_copy", full_text_added_columns: "full_text_added_columns", autosize_at_ini: "autosize_at_ini", label_elementi: "label_elementi", trova_label: "trova_label", mantieni_impostazioni: "mantieni_impostazioni", rowHeight: "rowHeight", master_detail: "master_detail", detail_cell_renderer: "detail_cell_renderer", show_buttons: "show_buttons", custom_export: "custom_export", toolbar_type: "toolbar_type", toolbar_wkfapp: "toolbar_wkfapp", toolbar_custom_commands: "toolbar_custom_commands", exec_params: "exec_params", off_set: "off_set" }, outputs: { fill_end: "fill_end", cell_edited: "cell_edited", clicked: "clicked", dclicked: "dclicked", columndclicked: "columndclicked", cell_clicked: "cell_clicked", cellValueChanged: "cellValueChanged", command: "command", init_end: "init_end" }, host: { listeners: { "window:resize": "onResize(event)" } }, viewQueries: [{ propertyName: "gf", first: true, predicate: ["gf"], descendants: true }, { propertyName: "toggle_mantieni", first: true, predicate: ["toggle_mantieni"], descendants: true }], ngImport: i0, template: "<div fxLayout=\"column\" fxFlexFill>\r\n <div\r\n fxLayout=\"row\"\r\n fxLayout.xs=\"column\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n [style.min-height]=\"show_buttons ? '55px': '35px'\"\r\n [hidden]=\"!show_buttons && !show_num_elem\"\r\n >\r\n \r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\r\n <div *ngIf=\"show_num_elem\">\r\n <h3 *ngIf=\"num_r>=0\">{{num_r}} {{label_elementi | translate}}</h3>\r\n <h3 *ngIf=\"num_r<0\"><mat-progress-spinner diameter=\"30\" mode=\"indeterminate\"></mat-progress-spinner></h3>\r\n </div>\r\n \r\n <div\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <input\r\n matInput\r\n [placeholder]=\"trova_label | translate\"\r\n (keydown)=\"keyDownFunctioncl($event)\"\r\n [(ngModel)]=\"ric_libera\"\r\n style=\"width: 200px; border: 1px solid; min-height: 30px\"\r\n />\r\n </div>\r\n <div\r\n matTooltip=\"REMOVE FILTER\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_pulisci_filtri\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"pulisci_filtri()\"\r\n color=\"warn\"\r\n class=\"fh_icon_button\"\r\n >\r\n <mat-icon>filter_none</mat-icon>\r\n </button>\r\n </div>\r\n <div matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"autoSizeAll()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>swap_horiz</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"FIT SIZE\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"fitSizeAll()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>keyboard_tab</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"Refresh\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"Refresh()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n \r\n <FHFilterComboBox\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (selchange)=\"ch_config()\"\r\n (fillend)=\"fe_cfg()\"\r\n #gf\r\n [init_fill]=\"false\"\r\n ></FHFilterComboBox>\r\n <div\r\n matTooltip=\"Modifica Preferenza\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n mat-icon-button\r\n class=\"fh_icon_button\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: rgb(248, 105, 10)\" (click)=\"edit_config()\"\r\n >\r\n <mat-icon>save</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n matTooltip=\"Elimina Preferenza\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n class=\"fh_icon_button\"\r\n mat-icon-button (click)=\"elimina_config()\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: #CC0000\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n fxShow.gt-sm\r\n matTooltip=\"Crea Nuova Preferenza\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-icon-button\r\n class=\"fh_icon_button\"\r\n style=\"color: rgb(16, 98, 16)\" (click)=\"insert_config()\"\r\n >\r\n <mat-icon>library_add</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <mat-slide-toggle\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (click)=\"ck_flag()\"\r\n #toggle_mantieni\r\n >\r\n {{mantieni_impostazioni}}\r\n </mat-slide-toggle>\r\n\r\n \r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"HELP\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_buttons && show_help\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"help_window()\"\r\n class=\"fh_icon_button\"\r\n color=\"primary\"\r\n >\r\n <mat-icon>help</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n \r\n <img\r\n *ngIf=\"enable_export && enable_export_pdf\"\r\n matTooltip=\"EXPORT PDF\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/pdf.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"print()\"\r\n alt=\"Export PDF\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n\r\n <img\r\n *ngIf=\"enable_export && enable_export_xls\"\r\n matTooltip=\"EXPORT EXCEL\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/xlsx.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"export_excel()\"\r\n alt=\"Export Excel\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n fxLayoutAlign=\"start center\"\r\n *ngIf=\"subtitle\"\r\n >\r\n \r\n <b>{{subtitle}}</b>\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" fxFlex *ngIf=\"enabled\">\r\n <FHGridToolBar\r\n (command)=\"docmd($event)\"\r\n [type]=\"toolbar_type\"\r\n [show_link]=\"show_link\"\r\n [show_help]=\"show_help_bar\"\r\n [help_label]=\"help_label_bar\"\r\n [custom_commands]=\"toolbar_custom_commands\"\r\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\r\n [elimina_label]=\"elimina_label\"\r\n [sRow]=\"sRow\"\r\n ></FHGridToolBar>\r\n </div>\r\n </div>\r\n\r\n <div fxLayout=\"row\" style=\"width: 100%\" [fxFlex]=\"show_buttons ? 100:95\">\r\n <ag-grid-angular\r\n *ngIf=\"init_opt\"\r\n ref-agGrid\r\n style=\"width: 100%; height: 100%\"\r\n id=\"myGrid\"\r\n (cellDoubleClicked)=\"onColumnEvent($event)\"\r\n (cellClicked)=\"onCellClicked($event)\"\r\n [headerHeight]=\"header_h\"\r\n [groupHeaderHeight]=\"header_h\"\r\n [theme]=\"theme\"\r\n [singleClickEdit]=\"true\"\r\n [gridOptions]=\"gridOptions\"\r\n [columnDefs]=\"columnDefs\"\r\n [rowSelection]=\"selection_mode\"\r\n [tooltipShowDelay]=\"tooltipShowDelay\"\r\n [masterDetail]=\"master_detail\"\r\n [detailCellRenderer]=\"detail_cell_renderer\"\r\n (gridReady)=\"onReady($event)\"\r\n [icons]=\"icons\"\r\n (filterModified)=\"onFilterModified()\"\r\n (rowDoubleClicked)=\"onRowDClicked($event)\"\r\n (rowClicked)=\"onRowClicked($event)\"\r\n (columnVisible)=\"oncolumnEverythingChanged()\"\r\n (columnResized)=\"oncolumnEverythingChanged()\"\r\n (columnMoved)=\"oncolumnEverythingChanged()\"\r\n (cellValueChanged)=\"okr($event)\"\r\n (sortChanged)=\"onAfterSortChanged()\"\r\n (selectionChanged)=\"onSelectionChanged($event)\"\r\n >\r\n </ag-grid-angular>\r\n </div>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i6$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i6$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i8.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i4$1.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "columnMenu", "suppressMenuHide", "enableBrowserTooltips", "tooltipTrigger", "tooltipShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "tooltipShowMode", "tooltipInteraction", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "suppressCutToClipboard", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "dataTypeDefinitions", "maintainColumnOrder", "enableStrictPivotColumnOrder", "suppressFieldDotNotation", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressMoveWhenColumnDragging", "suppressDragLeaveHidesColumns", "suppressGroupChangesColumnVisibility", "suppressMakeColumnVisibleAfterUnGroup", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "autoSizeStrategy", "components", "editType", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterNavigatesVertically", "enterNavigatesVerticallyAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "findSearchValue", "findOptions", "quickFilterText", "cacheQuickFilter", "includeHiddenColumnsInQuickFilter", "quickFilterParser", "quickFilterMatcher", "applyQuickFilterBeforePivotOrAgg", "excludeChildrenWhenTreeDataFiltering", "enableAdvancedFilter", "alwaysPassFilter", "includeHiddenColumnsInAdvancedFilter", "advancedFilterParent", "advancedFilterBuilderParams", "suppressAdvancedFilterEval", "suppressSetFilterByDefault", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "chartToolPanelsDef", "chartMenuItems", "loadingCellRenderer", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressTouch", "suppressFocusAfterRefresh", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "loading", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "pagination", "paginationPageSize", "paginationPageSizeSelector", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "pivotMode", "pivotPanelShow", "pivotMaxGeneratedColumns", "pivotDefaultExpanded", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "suppressAggFuncInHeader", "alwaysAggregateAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "cellFlashDuration", "cellFadeDuration", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableCellSpan", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "dragAndDropImageComponent", "dragAndDropImageComponentParams", "fullWidthCellRenderer", "fullWidthCellRendererParams", "embedFullWidthRows", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupLockGroupColumns", "groupAggFiltering", "groupTotalRow", "grandTotalRow", "suppressStickyTotalRow", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupHideParentOfSingleChild", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "groupAllowUnbalanced", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererParams", "treeData", "treeDataChildrenField", "treeDataParentIdField", "rowGroupPanelSuppressSort", "suppressGroupRowsSticky", "pinnedTopRowData", "pinnedBottomRowData", "enableRowPinning", "isRowPinnable", "isRowPinned", "rowModelType", "rowData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "suppressServerSideFullWidthLoadingRow", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideEnableClientSideSort", "serverSideOnlyRefreshFilteredGroups", "serverSidePivotResultFieldSeparator", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "cellSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellFocus", "suppressHeaderFocus", "selectionColumnDef", "rowNumbers", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "columnHoverHighlight", "gridId", "deltaSort", "treeDataDisplayType", "enableGroupEdit", "initialState", "theme", "loadThemeGoogleFonts", "themeCssLayer", "styleNonce", "themeStyleContainer", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processUnpinnedColumns", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "focusGridInnerElement", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "getLocaleText", "getDocument", "paginationNumberFormatter", "getGroupRowAgg", "isGroupOpenByDefault", "initialGroupOrderComparator", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "getChildCount", "getServerSideGroupLevelParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowId", "resetRowDataOnUpdate", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthRow"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "fillStart", "fillEnd", "filterOpened", "filterChanged", "filterModified", "advancedFilterBuilderVisibleChanged", "findChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "dragCancelled", "stateUpdated", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "rowResizeStarted", "rowResizeEnded", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pivotMaxColumnsExceeded", "pinnedRowDataChanged", "pinnedRowsChanged", "rowDataUpdated", "asyncTransactionsFlushed", "storeRefreshed", "headerFocused", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "cellSelectionChanged", "tooltipShow", "tooltipHide", "sortChanged"] }, { kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i8$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i8$1.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "directive", type: i8$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i10.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "component", type: FHGridToolBarComponent, selector: "FHGridToolBar", inputs: ["show_help", "help_label", "show_link", "elimina_label", "b_wait", "type", "toolbar_wkfapp", "custom_commands", "custom_commands_primary", "sRow"], outputs: ["command"] }, { kind: "component", type: FHFilterComboboxComponent, selector: "FHFilterComboBox", inputs: ["init_fill", "sql", "types", "values", "hidden", "label", "enabled", "required", "sel_label", "valDef", "db_type"], outputs: ["fillend", "selchange", "initend"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i7.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i8$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i8$2.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] });
|
|
10391
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHGridComponent, isStandalone: true, selector: "FHGrid", inputs: { theme: "theme", gridCursorPointer: "gridCursorPointer", pagination: "pagination", paginationPageSize: "paginationPageSize", paginationAutoPageSize: "paginationAutoPageSize", subtitle: "subtitle", forceFitSize: "forceFitSize", tooltipShowDelay: "tooltipShowDelay", elimina_label: "elimina_label", export_field_aggiuntivi: "export_field_aggiuntivi", end_point: "end_point", grid_config_key: "grid_config_key", columnDefs: "columnDefs", num_per_pag: "num_per_pag", grid_customer_preference_key: "grid_customer_preference_key", service: "service", enabled: "enabled", show_link: "show_link", show_help_bar: "show_help_bar", help_label_bar: "help_label_bar", auto_load: "auto_load", auto_height: "auto_height", enable_export: "enable_export", enabled_pag: "enabled_pag", show_help: "show_help", show_num_elem: "show_num_elem", private_pref: "private_pref", icons: "icons", system_dest: "system_dest", header_h: "header_h", selection_mode: "selection_mode", init_fill: "init_fill", no_pref: "no_pref", pref_hidden: "pref_hidden", enable_export_pdf: "enable_export_pdf", enable_export_xls: "enable_export_xls", enable_copy: "enable_copy", full_text_added_columns: "full_text_added_columns", autosize_at_ini: "autosize_at_ini", label_elementi: "label_elementi", trova_label: "trova_label", mantieni_impostazioni: "mantieni_impostazioni", rowHeight: "rowHeight", master_detail: "master_detail", detail_cell_renderer: "detail_cell_renderer", show_buttons: "show_buttons", custom_export: "custom_export", toolbar_type: "toolbar_type", toolbar_wkfapp: "toolbar_wkfapp", toolbar_custom_commands: "toolbar_custom_commands", exec_params: "exec_params", off_set: "off_set" }, outputs: { fill_end: "fill_end", cell_edited: "cell_edited", clicked: "clicked", dclicked: "dclicked", columndclicked: "columndclicked", cell_clicked: "cell_clicked", cellValueChanged: "cellValueChanged", command: "command", init_end: "init_end" }, host: { listeners: { "window:resize": "onResize(event)" } }, viewQueries: [{ propertyName: "gf", first: true, predicate: ["gf"], descendants: true }, { propertyName: "toggle_mantieni", first: true, predicate: ["toggle_mantieni"], descendants: true }], ngImport: i0, template: "<div fxLayout=\"column\" fxFlexFill>\r\n <div\r\n fxLayout=\"row\"\r\n fxLayout.xs=\"column\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n [style.min-height]=\"show_buttons ? '55px': '35px'\"\r\n [hidden]=\"!show_buttons && !show_num_elem\"\r\n >\r\n \r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\r\n <div *ngIf=\"show_num_elem\">\r\n <h3 *ngIf=\"num_r>=0\">{{num_r}} {{label_elementi | translate}}</h3>\r\n <h3 *ngIf=\"num_r<0\"><mat-progress-spinner diameter=\"30\" mode=\"indeterminate\"></mat-progress-spinner></h3>\r\n </div>\r\n \r\n <div\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <input\r\n matInput\r\n [placeholder]=\"trova_label | translate\"\r\n (keydown)=\"keyDownFunctioncl($event)\"\r\n [(ngModel)]=\"ric_libera\"\r\n style=\"width: 200px; border: 1px solid; min-height: 30px\"\r\n />\r\n </div>\r\n <div\r\n matTooltip=\"REMOVE FILTER\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_pulisci_filtri\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"pulisci_filtri()\"\r\n color=\"warn\"\r\n class=\"fh_icon_button\"\r\n >\r\n <mat-icon>filter_none</mat-icon>\r\n </button>\r\n </div>\r\n <div matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"autoSizeAll()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>swap_horiz</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"FIT SIZE\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"fitSizeAll()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>keyboard_tab</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"Refresh\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"Refresh()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n \r\n <FHFilterComboBox\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (selchange)=\"ch_config()\"\r\n (fillend)=\"fe_cfg()\"\r\n #gf\r\n [init_fill]=\"false\"\r\n ></FHFilterComboBox>\r\n <div\r\n matTooltip=\"Modifica Preferenza\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n mat-icon-button\r\n class=\"fh_icon_button\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: rgb(248, 105, 10)\" (click)=\"edit_config()\"\r\n >\r\n <mat-icon>save</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n matTooltip=\"Elimina Preferenza\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n class=\"fh_icon_button\"\r\n mat-icon-button (click)=\"elimina_config()\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: #CC0000\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n fxShow.gt-sm\r\n matTooltip=\"Crea Nuova Preferenza\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-icon-button\r\n class=\"fh_icon_button\"\r\n style=\"color: rgb(16, 98, 16)\" (click)=\"insert_config()\"\r\n >\r\n <mat-icon>library_add</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <mat-slide-toggle\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (click)=\"ck_flag()\"\r\n #toggle_mantieni\r\n >\r\n {{mantieni_impostazioni}}\r\n </mat-slide-toggle>\r\n\r\n \r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"HELP\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_buttons && show_help\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"help_window()\"\r\n class=\"fh_icon_button\"\r\n color=\"primary\"\r\n >\r\n <mat-icon>help</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n \r\n <img\r\n *ngIf=\"enable_export && enable_export_pdf\"\r\n matTooltip=\"EXPORT PDF\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/pdf.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"print()\"\r\n alt=\"Export PDF\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n\r\n <img\r\n *ngIf=\"enable_export && enable_export_xls\"\r\n matTooltip=\"EXPORT EXCEL\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/xlsx.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"export_excel()\"\r\n alt=\"Export Excel\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n fxLayoutAlign=\"start center\"\r\n *ngIf=\"subtitle\"\r\n >\r\n \r\n <b>{{subtitle}}</b>\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" fxFlex *ngIf=\"enabled\">\r\n <FHGridToolBar\r\n (command)=\"docmd($event)\"\r\n [type]=\"toolbar_type\"\r\n [show_link]=\"show_link\"\r\n [show_help]=\"show_help_bar\"\r\n [help_label]=\"help_label_bar\"\r\n [custom_commands]=\"toolbar_custom_commands\"\r\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\r\n [elimina_label]=\"elimina_label\"\r\n [sRow]=\"sRow\"\r\n ></FHGridToolBar>\r\n </div>\r\n </div>\r\n\r\n <div fxLayout=\"row\" style=\"width: 100%\" [fxFlex]=\"show_buttons ? 100:95\">\r\n <ag-grid-angular\r\n *ngIf=\"init_opt\"\r\n ref-agGrid\r\n style=\"width: 100%; height: 100%\"\r\n id=\"myGrid\"\r\n (cellDoubleClicked)=\"onColumnEvent($event)\"\r\n (cellClicked)=\"onCellClicked($event)\"\r\n [headerHeight]=\"header_h\"\r\n [groupHeaderHeight]=\"header_h\"\r\n [theme]=\"theme\"\r\n [singleClickEdit]=\"true\"\r\n [gridOptions]=\"gridOptions\"\r\n [columnDefs]=\"columnDefs\"\r\n [rowSelection]=\"selection_mode\"\r\n [tooltipShowDelay]=\"tooltipShowDelay\"\r\n [masterDetail]=\"master_detail\"\r\n [detailCellRenderer]=\"detail_cell_renderer\"\r\n (gridReady)=\"onReady($event)\"\r\n [icons]=\"icons\"\r\n (filterModified)=\"onFilterModified()\"\r\n (rowDoubleClicked)=\"onRowDClicked($event)\"\r\n (rowClicked)=\"onRowClicked($event)\"\r\n (columnVisible)=\"oncolumnEverythingChanged()\"\r\n (columnResized)=\"oncolumnEverythingChanged()\"\r\n (columnMoved)=\"oncolumnEverythingChanged()\"\r\n (cellValueChanged)=\"okr($event)\"\r\n (sortChanged)=\"onAfterSortChanged()\"\r\n (selectionChanged)=\"onSelectionChanged($event)\"\r\n >\r\n </ag-grid-angular>\r\n </div>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i6$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i6$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i8.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i4$1.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "columnMenu", "suppressMenuHide", "enableBrowserTooltips", "tooltipTrigger", "tooltipShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "tooltipShowMode", "tooltipInteraction", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "suppressCutToClipboard", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "dataTypeDefinitions", "maintainColumnOrder", "enableStrictPivotColumnOrder", "suppressFieldDotNotation", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressMoveWhenColumnDragging", "suppressDragLeaveHidesColumns", "suppressGroupChangesColumnVisibility", "suppressMakeColumnVisibleAfterUnGroup", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "autoSizeStrategy", "components", "editType", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterNavigatesVertically", "enterNavigatesVerticallyAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "findSearchValue", "findOptions", "quickFilterText", "cacheQuickFilter", "includeHiddenColumnsInQuickFilter", "quickFilterParser", "quickFilterMatcher", "applyQuickFilterBeforePivotOrAgg", "excludeChildrenWhenTreeDataFiltering", "enableAdvancedFilter", "alwaysPassFilter", "includeHiddenColumnsInAdvancedFilter", "advancedFilterParent", "advancedFilterBuilderParams", "suppressAdvancedFilterEval", "suppressSetFilterByDefault", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "chartToolPanelsDef", "chartMenuItems", "loadingCellRenderer", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressTouch", "suppressFocusAfterRefresh", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "loading", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "pagination", "paginationPageSize", "paginationPageSizeSelector", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "pivotMode", "pivotPanelShow", "pivotMaxGeneratedColumns", "pivotDefaultExpanded", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "suppressAggFuncInHeader", "alwaysAggregateAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "cellFlashDuration", "cellFadeDuration", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableCellSpan", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "dragAndDropImageComponent", "dragAndDropImageComponentParams", "fullWidthCellRenderer", "fullWidthCellRendererParams", "embedFullWidthRows", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupLockGroupColumns", "groupAggFiltering", "groupTotalRow", "grandTotalRow", "suppressStickyTotalRow", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupHideParentOfSingleChild", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "groupAllowUnbalanced", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererParams", "treeData", "treeDataChildrenField", "treeDataParentIdField", "rowGroupPanelSuppressSort", "suppressGroupRowsSticky", "pinnedTopRowData", "pinnedBottomRowData", "enableRowPinning", "isRowPinnable", "isRowPinned", "rowModelType", "rowData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "suppressServerSideFullWidthLoadingRow", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideEnableClientSideSort", "serverSideOnlyRefreshFilteredGroups", "serverSidePivotResultFieldSeparator", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "cellSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellFocus", "suppressHeaderFocus", "selectionColumnDef", "rowNumbers", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "columnHoverHighlight", "gridId", "deltaSort", "treeDataDisplayType", "enableGroupEdit", "initialState", "theme", "loadThemeGoogleFonts", "themeCssLayer", "styleNonce", "themeStyleContainer", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processUnpinnedColumns", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "focusGridInnerElement", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "getLocaleText", "getDocument", "paginationNumberFormatter", "getGroupRowAgg", "isGroupOpenByDefault", "initialGroupOrderComparator", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "getChildCount", "getServerSideGroupLevelParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowId", "resetRowDataOnUpdate", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthRow"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "fillStart", "fillEnd", "filterOpened", "filterChanged", "filterModified", "advancedFilterBuilderVisibleChanged", "findChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "dragCancelled", "stateUpdated", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "rowResizeStarted", "rowResizeEnded", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pivotMaxColumnsExceeded", "pinnedRowDataChanged", "pinnedRowsChanged", "rowDataUpdated", "asyncTransactionsFlushed", "storeRefreshed", "headerFocused", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "cellSelectionChanged", "tooltipShow", "tooltipHide", "sortChanged"] }, { kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i8$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i8$1.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "directive", type: i8$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i10.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "component", type: FHGridToolBarComponent, selector: "FHGridToolBar", inputs: ["show_help", "help_label", "show_link", "elimina_label", "b_wait", "type", "toolbar_wkfapp", "custom_commands", "custom_commands_primary", "sRow"], outputs: ["command"] }, { kind: "component", type: FHFilterComboboxComponent, selector: "FHFilterComboBox", inputs: ["init_fill", "sql", "types", "values", "hidden", "label", "enabled", "required", "sel_label", "valDef", "db_type"], outputs: ["fillend", "selchange", "initend"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i7.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i8$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i8$2.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] });
|
|
10384
10392
|
}
|
|
10385
10393
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHGridComponent, decorators: [{
|
|
10386
10394
|
type: Component,
|
|
@@ -10423,13 +10431,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
10423
10431
|
type: Input
|
|
10424
10432
|
}], end_point: [{
|
|
10425
10433
|
type: Input
|
|
10426
|
-
}],
|
|
10434
|
+
}], grid_config_key: [{
|
|
10427
10435
|
type: Input
|
|
10428
10436
|
}], columnDefs: [{
|
|
10429
10437
|
type: Input
|
|
10430
10438
|
}], num_per_pag: [{
|
|
10431
10439
|
type: Input
|
|
10432
|
-
}],
|
|
10440
|
+
}], grid_customer_preference_key: [{
|
|
10433
10441
|
type: Input
|
|
10434
10442
|
}], service: [{
|
|
10435
10443
|
type: Input
|
|
@@ -10920,8 +10928,8 @@ class FHWinAppLogsComponent {
|
|
|
10920
10928
|
#dtm
|
|
10921
10929
|
[columnDefs]="columnDefs"
|
|
10922
10930
|
[init_fill]="false"
|
|
10923
|
-
|
|
10924
|
-
[
|
|
10931
|
+
grid_config_key="v_logs"
|
|
10932
|
+
[grid_customer_preference_key]="'v_logs_' + data.App"
|
|
10925
10933
|
(cell_clicked)="cce($event)"
|
|
10926
10934
|
sort_field="data desc"
|
|
10927
10935
|
fields="*"
|
|
@@ -10932,7 +10940,7 @@ class FHWinAppLogsComponent {
|
|
|
10932
10940
|
</mat-card>
|
|
10933
10941
|
</mat-dialog-content>
|
|
10934
10942
|
</div>
|
|
10935
|
-
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i5$1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i5$1.MatCardContent, selector: "mat-card-content" }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "component", type: FHGridComponent, selector: "FHGrid", inputs: ["theme", "gridCursorPointer", "pagination", "paginationPageSize", "paginationAutoPageSize", "subtitle", "forceFitSize", "tooltipShowDelay", "elimina_label", "export_field_aggiuntivi", "end_point", "
|
|
10943
|
+
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i5$1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i5$1.MatCardContent, selector: "mat-card-content" }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "component", type: FHGridComponent, selector: "FHGrid", inputs: ["theme", "gridCursorPointer", "pagination", "paginationPageSize", "paginationAutoPageSize", "subtitle", "forceFitSize", "tooltipShowDelay", "elimina_label", "export_field_aggiuntivi", "end_point", "grid_config_key", "columnDefs", "num_per_pag", "grid_customer_preference_key", "service", "enabled", "show_link", "show_help_bar", "help_label_bar", "auto_load", "auto_height", "enable_export", "enabled_pag", "show_help", "show_num_elem", "private_pref", "icons", "system_dest", "header_h", "selection_mode", "init_fill", "no_pref", "pref_hidden", "enable_export_pdf", "enable_export_xls", "enable_copy", "full_text_added_columns", "autosize_at_ini", "label_elementi", "trova_label", "mantieni_impostazioni", "rowHeight", "master_detail", "detail_cell_renderer", "show_buttons", "custom_export", "toolbar_type", "toolbar_wkfapp", "toolbar_custom_commands", "exec_params", "off_set"], outputs: ["fill_end", "cell_edited", "clicked", "dclicked", "columndclicked", "cell_clicked", "cellValueChanged", "command", "init_end"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i8$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }] });
|
|
10936
10944
|
}
|
|
10937
10945
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHWinAppLogsComponent, decorators: [{
|
|
10938
10946
|
type: Component,
|
|
@@ -10975,8 +10983,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
10975
10983
|
#dtm
|
|
10976
10984
|
[columnDefs]="columnDefs"
|
|
10977
10985
|
[init_fill]="false"
|
|
10978
|
-
|
|
10979
|
-
[
|
|
10986
|
+
grid_config_key="v_logs"
|
|
10987
|
+
[grid_customer_preference_key]="'v_logs_' + data.App"
|
|
10980
10988
|
(cell_clicked)="cce($event)"
|
|
10981
10989
|
sort_field="data desc"
|
|
10982
10990
|
fields="*"
|
|
@@ -11366,11 +11374,11 @@ class FHGridJSONComponent {
|
|
|
11366
11374
|
m_appService;
|
|
11367
11375
|
m_dialog;
|
|
11368
11376
|
_trs;
|
|
11369
|
-
|
|
11377
|
+
grid_config_key = '';
|
|
11370
11378
|
columnDefs = [];
|
|
11371
11379
|
count_tbl_name = '';
|
|
11372
11380
|
num_per_pag = 5000;
|
|
11373
|
-
|
|
11381
|
+
grid_customer_preference_key = 'PRO_H';
|
|
11374
11382
|
sort_field = '';
|
|
11375
11383
|
fields = '*';
|
|
11376
11384
|
filters = '1=1';
|
|
@@ -11401,10 +11409,10 @@ class FHGridJSONComponent {
|
|
|
11401
11409
|
return;
|
|
11402
11410
|
this.b_ensure = true;
|
|
11403
11411
|
try {
|
|
11404
|
-
if (localStorage.getItem(this.
|
|
11412
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_POS') != null &&
|
|
11405
11413
|
this.gridOptions.api != null) {
|
|
11406
|
-
this.gridOptions.api.ensureIndexVisible(parseInt(localStorage.getItem(this.
|
|
11407
|
-
localStorage.removeItem(this.
|
|
11414
|
+
this.gridOptions.api.ensureIndexVisible(parseInt(localStorage.getItem(this.grid_customer_preference_key + '_POS') || '0'));
|
|
11415
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_POS');
|
|
11408
11416
|
}
|
|
11409
11417
|
}
|
|
11410
11418
|
catch (e) {
|
|
@@ -11416,10 +11424,10 @@ class FHGridJSONComponent {
|
|
|
11416
11424
|
setTimeout(() => {
|
|
11417
11425
|
if (this.toggle_mantieni)
|
|
11418
11426
|
if (this.toggle_mantieni.checked) {
|
|
11419
|
-
localStorage.setItem(this.
|
|
11427
|
+
localStorage.setItem(this.grid_customer_preference_key + '_MANTIENI', 'SI');
|
|
11420
11428
|
}
|
|
11421
11429
|
else {
|
|
11422
|
-
localStorage.setItem(this.
|
|
11430
|
+
localStorage.setItem(this.grid_customer_preference_key + '_MANTIENI', 'NO');
|
|
11423
11431
|
}
|
|
11424
11432
|
}, 100);
|
|
11425
11433
|
}
|
|
@@ -11435,22 +11443,22 @@ class FHGridJSONComponent {
|
|
|
11435
11443
|
this.curr_config = this.gf.getValue();
|
|
11436
11444
|
if (this.curr_config == '-1')
|
|
11437
11445
|
return;
|
|
11438
|
-
localStorage.removeItem(this.
|
|
11439
|
-
localStorage.removeItem(this.
|
|
11440
|
-
localStorage.removeItem(this.
|
|
11441
|
-
localStorage.removeItem(this.
|
|
11446
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_COLS');
|
|
11447
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_SORT');
|
|
11448
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_FILTER');
|
|
11449
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_CFG_DEFAULT');
|
|
11442
11450
|
if (this.gf.getObj().COL != null)
|
|
11443
11451
|
if (this.gf.getObj().COL != '')
|
|
11444
|
-
localStorage.setItem(this.
|
|
11452
|
+
localStorage.setItem(this.grid_customer_preference_key + '_COLS', this.gf.getObj().COL);
|
|
11445
11453
|
if (this.gf.getObj().SORT != null)
|
|
11446
11454
|
if (this.gf.getObj().SORT != '')
|
|
11447
|
-
localStorage.setItem(this.
|
|
11455
|
+
localStorage.setItem(this.grid_customer_preference_key + '_SORT', this.gf.getObj().SORT);
|
|
11448
11456
|
if (this.gf.getObj().FILTER != null)
|
|
11449
11457
|
if (this.gf.getObj().FILTER != '')
|
|
11450
|
-
localStorage.setItem(this.
|
|
11458
|
+
localStorage.setItem(this.grid_customer_preference_key + '_FILTER', this.gf.getObj().FILTER);
|
|
11451
11459
|
if (this.gf.getDescri() != null)
|
|
11452
11460
|
if (this.gf.getDescri() != '-1')
|
|
11453
|
-
localStorage.setItem(this.
|
|
11461
|
+
localStorage.setItem(this.grid_customer_preference_key + '_CFG_DEFAULT', this.gf.getDescri() || '');
|
|
11454
11462
|
this.curr_config = this.gf.getValue();
|
|
11455
11463
|
}
|
|
11456
11464
|
this.res_columns(true);
|
|
@@ -11478,16 +11486,16 @@ class FHGridJSONComponent {
|
|
|
11478
11486
|
let p_col = '';
|
|
11479
11487
|
let p_sort = '';
|
|
11480
11488
|
let p_filter = '';
|
|
11481
|
-
if (localStorage.getItem(this.
|
|
11482
|
-
p_col = localStorage.getItem(this.
|
|
11483
|
-
if (localStorage.getItem(this.
|
|
11484
|
-
p_sort = localStorage.getItem(this.
|
|
11485
|
-
if (localStorage.getItem(this.
|
|
11486
|
-
p_filter = localStorage.getItem(this.
|
|
11489
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') != null)
|
|
11490
|
+
p_col = localStorage.getItem(this.grid_customer_preference_key + '_COLS');
|
|
11491
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_SORT') != null)
|
|
11492
|
+
p_sort = localStorage.getItem(this.grid_customer_preference_key + '_SORT');
|
|
11493
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != null)
|
|
11494
|
+
p_filter = localStorage.getItem(this.grid_customer_preference_key + '_FILTER');
|
|
11487
11495
|
p.types = ['string', 'string', 'string', 'string', 'string', 'string'];
|
|
11488
11496
|
p.values = [
|
|
11489
11497
|
dtv || '',
|
|
11490
|
-
this.
|
|
11498
|
+
this.grid_customer_preference_key,
|
|
11491
11499
|
p_col,
|
|
11492
11500
|
p_sort,
|
|
11493
11501
|
p_filter,
|
|
@@ -11501,7 +11509,7 @@ class FHGridJSONComponent {
|
|
|
11501
11509
|
this._toast.info('Configurazione salvata');
|
|
11502
11510
|
if (this.gf) {
|
|
11503
11511
|
this.gf.types = ['string'];
|
|
11504
|
-
this.gf.values = [this.
|
|
11512
|
+
this.gf.values = [this.grid_customer_preference_key];
|
|
11505
11513
|
this.gf.fillCombo();
|
|
11506
11514
|
}
|
|
11507
11515
|
}
|
|
@@ -11532,12 +11540,12 @@ class FHGridJSONComponent {
|
|
|
11532
11540
|
let p_col = '';
|
|
11533
11541
|
let p_sort = '';
|
|
11534
11542
|
let p_filter = '';
|
|
11535
|
-
if (localStorage.getItem(this.
|
|
11536
|
-
p_col = localStorage.getItem(this.
|
|
11537
|
-
if (localStorage.getItem(this.
|
|
11538
|
-
p_sort = localStorage.getItem(this.
|
|
11539
|
-
if (localStorage.getItem(this.
|
|
11540
|
-
p_filter = localStorage.getItem(this.
|
|
11543
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') != null)
|
|
11544
|
+
p_col = localStorage.getItem(this.grid_customer_preference_key + '_COLS');
|
|
11545
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_SORT') != null)
|
|
11546
|
+
p_sort = localStorage.getItem(this.grid_customer_preference_key + '_SORT');
|
|
11547
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != null)
|
|
11548
|
+
p_filter = localStorage.getItem(this.grid_customer_preference_key + '_FILTER');
|
|
11541
11549
|
p.types = [
|
|
11542
11550
|
'string',
|
|
11543
11551
|
'string',
|
|
@@ -11548,7 +11556,7 @@ class FHGridJSONComponent {
|
|
|
11548
11556
|
];
|
|
11549
11557
|
p.values = [
|
|
11550
11558
|
result,
|
|
11551
|
-
this.
|
|
11559
|
+
this.grid_customer_preference_key,
|
|
11552
11560
|
p_col,
|
|
11553
11561
|
p_sort,
|
|
11554
11562
|
p_filter,
|
|
@@ -11563,7 +11571,7 @@ class FHGridJSONComponent {
|
|
|
11563
11571
|
ok_op = true;
|
|
11564
11572
|
if (this.gf) {
|
|
11565
11573
|
this.gf.types = ['string'];
|
|
11566
|
-
this.gf.values = [this.
|
|
11574
|
+
this.gf.values = [this.grid_customer_preference_key];
|
|
11567
11575
|
this.gf.fillCombo();
|
|
11568
11576
|
}
|
|
11569
11577
|
}
|
|
@@ -11777,7 +11785,7 @@ class FHGridJSONComponent {
|
|
|
11777
11785
|
});
|
|
11778
11786
|
}
|
|
11779
11787
|
pulisci_filtri(resetr = true) {
|
|
11780
|
-
localStorage.removeItem(this.
|
|
11788
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_FILTER');
|
|
11781
11789
|
if (resetr)
|
|
11782
11790
|
this.ric_libera = '';
|
|
11783
11791
|
this.fix_flt_temp = '';
|
|
@@ -11935,13 +11943,13 @@ class FHGridJSONComponent {
|
|
|
11935
11943
|
this.ckk_ed = true;
|
|
11936
11944
|
if (this.toggle_mantieni != null) {
|
|
11937
11945
|
this.toggle_mantieni.checked = true;
|
|
11938
|
-
if (localStorage.getItem(this.
|
|
11939
|
-
if (localStorage.getItem(this.
|
|
11946
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_MANTIENI') != null)
|
|
11947
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_MANTIENI') == 'NO') {
|
|
11940
11948
|
this.toggle_mantieni.checked = false;
|
|
11941
11949
|
}
|
|
11942
11950
|
}
|
|
11943
11951
|
this.res_columns();
|
|
11944
|
-
if (localStorage.getItem(this.
|
|
11952
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_POS') != null)
|
|
11945
11953
|
this.b_restored = true;
|
|
11946
11954
|
if (this.init_fill) {
|
|
11947
11955
|
setTimeout(() => {
|
|
@@ -11954,14 +11962,14 @@ class FHGridJSONComponent {
|
|
|
11954
11962
|
let b_rip = false;
|
|
11955
11963
|
if (this.toggle_mantieni != null)
|
|
11956
11964
|
b_mantieni_ck = this.toggle_mantieni.checked;
|
|
11957
|
-
if (localStorage.getItem(this.
|
|
11965
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') != null &&
|
|
11958
11966
|
(b_mantieni_ck || forza))
|
|
11959
|
-
if (localStorage.getItem(this.
|
|
11967
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') != '') {
|
|
11960
11968
|
b_rip = true;
|
|
11961
11969
|
try {
|
|
11962
11970
|
if (this.gridOptions)
|
|
11963
11971
|
if (this.gridOptions.columnApi)
|
|
11964
|
-
this.gridOptions.columnApi.applyColumnState(JSON.parse(localStorage.getItem(this.
|
|
11972
|
+
this.gridOptions.columnApi.applyColumnState(JSON.parse(localStorage.getItem(this.grid_customer_preference_key + '_COLS') || '{}'));
|
|
11965
11973
|
}
|
|
11966
11974
|
catch (eer) {
|
|
11967
11975
|
}
|
|
@@ -11971,11 +11979,11 @@ class FHGridJSONComponent {
|
|
|
11971
11979
|
}
|
|
11972
11980
|
catch (eer) {
|
|
11973
11981
|
}
|
|
11974
|
-
if (localStorage.getItem(this.
|
|
11982
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_SORT') != null &&
|
|
11975
11983
|
(b_mantieni_ck || forza))
|
|
11976
|
-
if (localStorage.getItem(this.
|
|
11984
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_SORT') != '') {
|
|
11977
11985
|
try {
|
|
11978
|
-
this.getGridApi().setSortModel(JSON.parse(localStorage.getItem(this.
|
|
11986
|
+
this.getGridApi().setSortModel(JSON.parse(localStorage.getItem(this.grid_customer_preference_key + '_SORT') || '{}'));
|
|
11979
11987
|
}
|
|
11980
11988
|
catch (eer) {
|
|
11981
11989
|
}
|
|
@@ -11985,11 +11993,11 @@ class FHGridJSONComponent {
|
|
|
11985
11993
|
}
|
|
11986
11994
|
catch (eer) {
|
|
11987
11995
|
}
|
|
11988
|
-
if (localStorage.getItem(this.
|
|
11996
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != null &&
|
|
11989
11997
|
(b_mantieni_ck || forza))
|
|
11990
|
-
if (localStorage.getItem(this.
|
|
11998
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != '') {
|
|
11991
11999
|
try {
|
|
11992
|
-
this.getGridApi().setFilterModel(JSON.parse(localStorage.getItem(this.
|
|
12000
|
+
this.getGridApi().setFilterModel(JSON.parse(localStorage.getItem(this.grid_customer_preference_key + '_FILTER') || '{}'));
|
|
11993
12001
|
}
|
|
11994
12002
|
catch (eer) {
|
|
11995
12003
|
}
|
|
@@ -12000,7 +12008,7 @@ class FHGridJSONComponent {
|
|
|
12000
12008
|
}
|
|
12001
12009
|
setRows() {
|
|
12002
12010
|
this.localstore
|
|
12003
|
-
.read(this.m_appService.COMPANY_KEY + this.
|
|
12011
|
+
.read(this.m_appService.COMPANY_KEY + this.grid_config_key)
|
|
12004
12012
|
.then((dt) => {
|
|
12005
12013
|
this.rowData = dt;
|
|
12006
12014
|
});
|
|
@@ -12034,10 +12042,10 @@ class FHGridJSONComponent {
|
|
|
12034
12042
|
if (this.gf != null && this.show_buttons) {
|
|
12035
12043
|
this.gf.sql = 'SELECT_CFG_GRID';
|
|
12036
12044
|
this.gf.types = ['string'];
|
|
12037
|
-
this.gf.values = [this.
|
|
12045
|
+
this.gf.values = [this.grid_customer_preference_key];
|
|
12038
12046
|
this.gf.fillCombo();
|
|
12039
|
-
if (localStorage.getItem(this.
|
|
12040
|
-
if (localStorage.getItem(this.
|
|
12047
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_MANTIENI') != 'NO')
|
|
12048
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_CFG_DEFAULT') != null) {
|
|
12041
12049
|
return;
|
|
12042
12050
|
}
|
|
12043
12051
|
}
|
|
@@ -12047,16 +12055,16 @@ class FHGridJSONComponent {
|
|
|
12047
12055
|
}
|
|
12048
12056
|
save_cfg() {
|
|
12049
12057
|
if (this.gridOptions.columnApi)
|
|
12050
|
-
localStorage.setItem(this.
|
|
12058
|
+
localStorage.setItem(this.grid_customer_preference_key + '_COLS', JSON.stringify(this.gridOptions.columnApi.getColumnState()));
|
|
12051
12059
|
}
|
|
12052
12060
|
fe_cfg() {
|
|
12053
12061
|
if (this.gf != null)
|
|
12054
12062
|
if (this.gf.getObj() != null)
|
|
12055
|
-
if (localStorage.getItem(this.
|
|
12056
|
-
this.gf.setByDescri(localStorage.getItem(this.
|
|
12057
|
-
localStorage.setItem(this.
|
|
12058
|
-
localStorage.setItem(this.
|
|
12059
|
-
localStorage.setItem(this.
|
|
12063
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_MANTIENI') != 'NO') {
|
|
12064
|
+
this.gf.setByDescri(localStorage.getItem(this.grid_customer_preference_key + '_CFG_DEFAULT') || '');
|
|
12065
|
+
localStorage.setItem(this.grid_customer_preference_key + '_COL', this.gf.getObj().COLS);
|
|
12066
|
+
localStorage.setItem(this.grid_customer_preference_key + '_SORT', this.gf.getObj().SORT);
|
|
12067
|
+
localStorage.setItem(this.grid_customer_preference_key + '_FILTER', this.gf.getObj().FILTER);
|
|
12060
12068
|
this.curr_config = this.gf.getValue();
|
|
12061
12069
|
}
|
|
12062
12070
|
this.onready_go();
|
|
@@ -12140,27 +12148,27 @@ class FHGridJSONComponent {
|
|
|
12140
12148
|
oncolumnEverythingChanged(event) {
|
|
12141
12149
|
if (this.b_init) {
|
|
12142
12150
|
if (this.gridOptions.columnApi)
|
|
12143
|
-
localStorage.setItem(this.
|
|
12151
|
+
localStorage.setItem(this.grid_customer_preference_key + '_COLS', JSON.stringify(this.gridOptions.columnApi.getColumnState()));
|
|
12144
12152
|
}
|
|
12145
12153
|
}
|
|
12146
12154
|
onAfterFilterChanged() {
|
|
12147
|
-
localStorage.removeItem(this.
|
|
12155
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_POS');
|
|
12148
12156
|
if (this.b_init) {
|
|
12149
12157
|
if (this.gridOptions.api)
|
|
12150
|
-
localStorage.setItem(this.
|
|
12158
|
+
localStorage.setItem(this.grid_customer_preference_key + '_FILTER', JSON.stringify(this.gridOptions.api.getFilterModel()));
|
|
12151
12159
|
}
|
|
12152
12160
|
}
|
|
12153
12161
|
onFilterModified() {
|
|
12154
12162
|
if (this.b_init) {
|
|
12155
12163
|
if (this.gridOptions.api)
|
|
12156
|
-
localStorage.setItem(this.
|
|
12164
|
+
localStorage.setItem(this.grid_customer_preference_key + '_FILTER', JSON.stringify(this.gridOptions.api.getFilterModel()));
|
|
12157
12165
|
}
|
|
12158
12166
|
}
|
|
12159
12167
|
onBeforeSortChanged() {
|
|
12160
12168
|
}
|
|
12161
12169
|
onAfterSortChanged() {
|
|
12162
12170
|
if (this.b_init) {
|
|
12163
|
-
localStorage.setItem(this.
|
|
12171
|
+
localStorage.setItem(this.grid_customer_preference_key + '_SORT', JSON.stringify(this.getGridApi().getSortModel()));
|
|
12164
12172
|
}
|
|
12165
12173
|
}
|
|
12166
12174
|
onVirtualRowRemoved($event) {
|
|
@@ -12173,12 +12181,12 @@ class FHGridJSONComponent {
|
|
|
12173
12181
|
selectedInGrid = this.gridOptions.api.getSelectedNodes();
|
|
12174
12182
|
if (selectedInGrid != null)
|
|
12175
12183
|
if (selectedInGrid[0] != null) {
|
|
12176
|
-
localStorage.setItem(this.
|
|
12184
|
+
localStorage.setItem(this.grid_customer_preference_key + '_POS', String(selectedInGrid[0].rowIndex));
|
|
12177
12185
|
if (this.gridOptions.api)
|
|
12178
|
-
localStorage.setItem(this.
|
|
12179
|
-
localStorage.setItem(this.
|
|
12186
|
+
localStorage.setItem(this.grid_customer_preference_key + '_POS_BAR', JSON.stringify(this.gridOptions.api.getVerticalPixelRange()));
|
|
12187
|
+
localStorage.setItem(this.grid_customer_preference_key + '_POS2', this.getRowId(selectedInGrid[0]));
|
|
12180
12188
|
// this.m_appService.getState().grid_obj=new Object();
|
|
12181
|
-
// this.m_appService.getState().grid_obj[this.
|
|
12189
|
+
// this.m_appService.getState().grid_obj[this.grid_customer_preference_key+'_NODE']=this.gridOptions.api.getSelectedRows[0];
|
|
12182
12190
|
}
|
|
12183
12191
|
this.sRow = $event.data;
|
|
12184
12192
|
this.clicked.emit($event.data);
|
|
@@ -12243,7 +12251,7 @@ class FHGridJSONComponent {
|
|
|
12243
12251
|
this.updateRow();
|
|
12244
12252
|
}
|
|
12245
12253
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHGridJSONComponent, deps: [{ token: LocalDBService }, { token: UtilityService }, { token: i3$1.ToastrService }, { token: QueryService }, { token: AppService }, { token: i1$2.MatDialog }, { token: i3.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12246
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHGridJSONComponent, isStandalone: true, selector: "FHGridJSON", inputs: {
|
|
12254
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHGridJSONComponent, isStandalone: true, selector: "FHGridJSON", inputs: { grid_config_key: "grid_config_key", columnDefs: "columnDefs", count_tbl_name: "count_tbl_name", num_per_pag: "num_per_pag", grid_customer_preference_key: "grid_customer_preference_key", sort_field: "sort_field", fields: "fields", filters: "filters", auto_height: "auto_height", enable_export: "enable_export", enabled_pag: "enabled_pag", show_help: "show_help", show_num_elem: "show_num_elem", system_dest: "system_dest", header_h: "header_h", g_width: "g_width", g_height: "g_height", init_fill: "init_fill", label_elementi: "label_elementi", trova_label: "trova_label", mantieni_impostazioni: "mantieni_impostazioni", show_buttons: "show_buttons", off_set: "off_set" }, outputs: { fill_end: "fill_end", cell_edited: "cell_edited", clicked: "clicked", dclicked: "dclicked", columndclicked: "columndclicked", cell_clicked: "cell_clicked", init_end: "init_end" }, viewQueries: [{ propertyName: "gf", first: true, predicate: ["gf"], descendants: true }, { propertyName: "toggle_mantieni", first: true, predicate: ["toggle_mantieni"], descendants: true }, { propertyName: "testom", first: true, predicate: ["testom"], descendants: true, read: ViewContainerRef }, { propertyName: "myModalNormal", first: true, predicate: ["myModalNormal"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: `
|
|
12247
12255
|
<table [hidden]="!show_buttons" style="height: 15%;">
|
|
12248
12256
|
<tr>
|
|
12249
12257
|
<td [hidden]="this.m_appService.getState().pageFullscreen">
|
|
@@ -12432,7 +12440,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
12432
12440
|
>
|
|
12433
12441
|
</ag-grid-angular>
|
|
12434
12442
|
` }]
|
|
12435
|
-
}], ctorParameters: () => [{ type: LocalDBService }, { type: UtilityService }, { type: i3$1.ToastrService }, { type: QueryService }, { type: AppService }, { type: i1$2.MatDialog }, { type: i3.TranslateService }], propDecorators: {
|
|
12443
|
+
}], ctorParameters: () => [{ type: LocalDBService }, { type: UtilityService }, { type: i3$1.ToastrService }, { type: QueryService }, { type: AppService }, { type: i1$2.MatDialog }, { type: i3.TranslateService }], propDecorators: { grid_config_key: [{
|
|
12436
12444
|
type: Input
|
|
12437
12445
|
}], columnDefs: [{
|
|
12438
12446
|
type: Input
|
|
@@ -12440,7 +12448,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
12440
12448
|
type: Input
|
|
12441
12449
|
}], num_per_pag: [{
|
|
12442
12450
|
type: Input
|
|
12443
|
-
}],
|
|
12451
|
+
}], grid_customer_preference_key: [{
|
|
12444
12452
|
type: Input
|
|
12445
12453
|
}], sort_field: [{
|
|
12446
12454
|
type: Input
|
|
@@ -13171,8 +13179,8 @@ class FHLogPanelComponent {
|
|
|
13171
13179
|
#dtm
|
|
13172
13180
|
[show_buttons]="false"
|
|
13173
13181
|
[columnDefs]="columnDefs"
|
|
13174
|
-
|
|
13175
|
-
|
|
13182
|
+
grid_config_key="logs"
|
|
13183
|
+
grid_customer_preference_key="logs"
|
|
13176
13184
|
sort_field="data desc"
|
|
13177
13185
|
(dclicked)="this.dclicked.emit($event)"
|
|
13178
13186
|
></FHGrid>
|
|
@@ -13180,7 +13188,7 @@ class FHLogPanelComponent {
|
|
|
13180
13188
|
</div>
|
|
13181
13189
|
</section>
|
|
13182
13190
|
</div>
|
|
13183
|
-
`, isInline: true, styles: [""], dependencies: [{ kind: "component", type: FHGridComponent, selector: "FHGrid", inputs: ["theme", "gridCursorPointer", "pagination", "paginationPageSize", "paginationAutoPageSize", "subtitle", "forceFitSize", "tooltipShowDelay", "elimina_label", "export_field_aggiuntivi", "end_point", "
|
|
13191
|
+
`, isInline: true, styles: [""], dependencies: [{ kind: "component", type: FHGridComponent, selector: "FHGrid", inputs: ["theme", "gridCursorPointer", "pagination", "paginationPageSize", "paginationAutoPageSize", "subtitle", "forceFitSize", "tooltipShowDelay", "elimina_label", "export_field_aggiuntivi", "end_point", "grid_config_key", "columnDefs", "num_per_pag", "grid_customer_preference_key", "service", "enabled", "show_link", "show_help_bar", "help_label_bar", "auto_load", "auto_height", "enable_export", "enabled_pag", "show_help", "show_num_elem", "private_pref", "icons", "system_dest", "header_h", "selection_mode", "init_fill", "no_pref", "pref_hidden", "enable_export_pdf", "enable_export_xls", "enable_copy", "full_text_added_columns", "autosize_at_ini", "label_elementi", "trova_label", "mantieni_impostazioni", "rowHeight", "master_detail", "detail_cell_renderer", "show_buttons", "custom_export", "toolbar_type", "toolbar_wkfapp", "toolbar_custom_commands", "exec_params", "off_set"], outputs: ["fill_end", "cell_edited", "clicked", "dclicked", "columndclicked", "cell_clicked", "cellValueChanged", "command", "init_end"] }] });
|
|
13184
13192
|
}
|
|
13185
13193
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHLogPanelComponent, decorators: [{
|
|
13186
13194
|
type: Component,
|
|
@@ -13194,8 +13202,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
13194
13202
|
#dtm
|
|
13195
13203
|
[show_buttons]="false"
|
|
13196
13204
|
[columnDefs]="columnDefs"
|
|
13197
|
-
|
|
13198
|
-
|
|
13205
|
+
grid_config_key="logs"
|
|
13206
|
+
grid_customer_preference_key="logs"
|
|
13199
13207
|
sort_field="data desc"
|
|
13200
13208
|
(dclicked)="this.dclicked.emit($event)"
|
|
13201
13209
|
></FHGrid>
|
|
@@ -23012,7 +23020,7 @@ class FHWinSelectByGridComponent {
|
|
|
23012
23020
|
columnDefs = [];
|
|
23013
23021
|
system_dest = 1;
|
|
23014
23022
|
title = '';
|
|
23015
|
-
|
|
23023
|
+
grid_config_key = '';
|
|
23016
23024
|
tbl_flt = '';
|
|
23017
23025
|
constructor(dialogRef, _dataService, toastr, apps, data, _trs) {
|
|
23018
23026
|
this.dialogRef = dialogRef;
|
|
@@ -24054,8 +24062,8 @@ class FHWinShowLog {
|
|
|
24054
24062
|
[tooltipShowDelay]="0"
|
|
24055
24063
|
[columnDefs]="columnDefs"
|
|
24056
24064
|
(dclicked)="show_descri()"
|
|
24057
|
-
|
|
24058
|
-
|
|
24065
|
+
grid_config_key="v_logs"
|
|
24066
|
+
grid_customer_preference_key="logs_V112"
|
|
24059
24067
|
(init_end)="ie()"
|
|
24060
24068
|
(cell_clicked)="cce($event)"
|
|
24061
24069
|
sort_field="data desc"
|
|
@@ -24065,7 +24073,7 @@ class FHWinShowLog {
|
|
|
24065
24073
|
</div>
|
|
24066
24074
|
</mat-dialog-content>
|
|
24067
24075
|
</div>
|
|
24068
|
-
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: CommonModule }, { kind: "component", type: FHGridComponent, selector: "FHGrid", inputs: ["theme", "gridCursorPointer", "pagination", "paginationPageSize", "paginationAutoPageSize", "subtitle", "forceFitSize", "tooltipShowDelay", "elimina_label", "export_field_aggiuntivi", "end_point", "
|
|
24076
|
+
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: CommonModule }, { kind: "component", type: FHGridComponent, selector: "FHGrid", inputs: ["theme", "gridCursorPointer", "pagination", "paginationPageSize", "paginationAutoPageSize", "subtitle", "forceFitSize", "tooltipShowDelay", "elimina_label", "export_field_aggiuntivi", "end_point", "grid_config_key", "columnDefs", "num_per_pag", "grid_customer_preference_key", "service", "enabled", "show_link", "show_help_bar", "help_label_bar", "auto_load", "auto_height", "enable_export", "enabled_pag", "show_help", "show_num_elem", "private_pref", "icons", "system_dest", "header_h", "selection_mode", "init_fill", "no_pref", "pref_hidden", "enable_export_pdf", "enable_export_xls", "enable_copy", "full_text_added_columns", "autosize_at_ini", "label_elementi", "trova_label", "mantieni_impostazioni", "rowHeight", "master_detail", "detail_cell_renderer", "show_buttons", "custom_export", "toolbar_type", "toolbar_wkfapp", "toolbar_custom_commands", "exec_params", "off_set"], outputs: ["fill_end", "cell_edited", "clicked", "dclicked", "columndclicked", "cell_clicked", "cellValueChanged", "command", "init_end"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i8$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }] });
|
|
24069
24077
|
}
|
|
24070
24078
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHWinShowLog, decorators: [{
|
|
24071
24079
|
type: Component,
|
|
@@ -24111,8 +24119,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
24111
24119
|
[tooltipShowDelay]="0"
|
|
24112
24120
|
[columnDefs]="columnDefs"
|
|
24113
24121
|
(dclicked)="show_descri()"
|
|
24114
|
-
|
|
24115
|
-
|
|
24122
|
+
grid_config_key="v_logs"
|
|
24123
|
+
grid_customer_preference_key="logs_V112"
|
|
24116
24124
|
(init_end)="ie()"
|
|
24117
24125
|
(cell_clicked)="cce($event)"
|
|
24118
24126
|
sort_field="data desc"
|
|
@@ -26917,13 +26925,13 @@ class FHGridInternalComponent {
|
|
|
26917
26925
|
show_selected_number = false;
|
|
26918
26926
|
export_field_aggiuntivi = '';
|
|
26919
26927
|
end_point = null;
|
|
26920
|
-
|
|
26928
|
+
grid_config_key = '';
|
|
26921
26929
|
columnDefs = [];
|
|
26922
26930
|
count_tbl_name = '';
|
|
26923
26931
|
search_field_tooltip = '';
|
|
26924
26932
|
loading_fulltext = false;
|
|
26925
26933
|
num_per_pag = 0;
|
|
26926
|
-
|
|
26934
|
+
grid_customer_preference_key = 'PRO_H';
|
|
26927
26935
|
sort_field = '';
|
|
26928
26936
|
fields = '*';
|
|
26929
26937
|
filters = '1=1';
|
|
@@ -27017,10 +27025,10 @@ class FHGridInternalComponent {
|
|
|
27017
27025
|
return;
|
|
27018
27026
|
this.b_ensure = true;
|
|
27019
27027
|
try {
|
|
27020
|
-
if (localStorage.getItem(this.
|
|
27028
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_POS') != null) {
|
|
27021
27029
|
if (this.gridApi)
|
|
27022
|
-
this.gridApi.ensureIndexVisible(parseInt(localStorage.getItem(this.
|
|
27023
|
-
localStorage.removeItem(this.
|
|
27030
|
+
this.gridApi.ensureIndexVisible(parseInt(localStorage.getItem(this.grid_customer_preference_key + '_POS') || '0'));
|
|
27031
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_POS');
|
|
27024
27032
|
}
|
|
27025
27033
|
}
|
|
27026
27034
|
catch (e) {
|
|
@@ -27032,10 +27040,10 @@ class FHGridInternalComponent {
|
|
|
27032
27040
|
setTimeout(() => {
|
|
27033
27041
|
if (this.toggle_mantieni)
|
|
27034
27042
|
if (this.toggle_mantieni.checked) {
|
|
27035
|
-
localStorage.setItem(this.
|
|
27043
|
+
localStorage.setItem(this.grid_customer_preference_key + '_MANTIENI', 'SI');
|
|
27036
27044
|
}
|
|
27037
27045
|
else {
|
|
27038
|
-
localStorage.setItem(this.
|
|
27046
|
+
localStorage.setItem(this.grid_customer_preference_key + '_MANTIENI', 'NO');
|
|
27039
27047
|
}
|
|
27040
27048
|
}, 100);
|
|
27041
27049
|
}
|
|
@@ -27055,26 +27063,26 @@ class FHGridInternalComponent {
|
|
|
27055
27063
|
this.curr_config = this.gf.getValue();
|
|
27056
27064
|
if (this.curr_config == '-1')
|
|
27057
27065
|
return;
|
|
27058
|
-
localStorage.removeItem(this.
|
|
27059
|
-
// localStorage.removeItem(this.
|
|
27060
|
-
localStorage.removeItem(this.
|
|
27061
|
-
localStorage.removeItem(this.
|
|
27062
|
-
localStorage.removeItem(this.
|
|
27066
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_COLS');
|
|
27067
|
+
// localStorage.removeItem(this.grid_customer_preference_key + "_SORT");
|
|
27068
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_FILTER');
|
|
27069
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_CFG_DEFAULT');
|
|
27070
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_FILTER_UP');
|
|
27063
27071
|
if (this.gf)
|
|
27064
27072
|
if (this.gf.getObj().COL != null)
|
|
27065
27073
|
if (this.gf.getObj().COL != '')
|
|
27066
|
-
localStorage.setItem(this.
|
|
27074
|
+
localStorage.setItem(this.grid_customer_preference_key + '_COLS', this.gf.getObj().COL);
|
|
27067
27075
|
// if (this.gf.getObj().SORT != null)
|
|
27068
27076
|
// if (this.gf.getObj().SORT != "")
|
|
27069
|
-
// localStorage.setItem(this.
|
|
27077
|
+
// localStorage.setItem(this.grid_customer_preference_key + "_SORT", this.gf.getObj().SORT);
|
|
27070
27078
|
if (this.gf)
|
|
27071
27079
|
if (this.gf.getObj().FILTER != null)
|
|
27072
27080
|
if (this.gf.getObj().FILTER != '')
|
|
27073
|
-
localStorage.setItem(this.
|
|
27081
|
+
localStorage.setItem(this.grid_customer_preference_key + '_FILTER', this.gf.getObj().FILTER);
|
|
27074
27082
|
if (this.gf)
|
|
27075
27083
|
if (this.gf.getDescri() != null)
|
|
27076
27084
|
if (this.gf.getDescri() != '-1')
|
|
27077
|
-
localStorage.setItem(this.
|
|
27085
|
+
localStorage.setItem(this.grid_customer_preference_key + '_CFG_DEFAULT', this.gf.getDescri() || '');
|
|
27078
27086
|
if (this.gf)
|
|
27079
27087
|
this.curr_config = this.gf.getValue();
|
|
27080
27088
|
this.res_columns(true);
|
|
@@ -27100,7 +27108,7 @@ class FHGridInternalComponent {
|
|
|
27100
27108
|
p.sql = 'DELETE_CFG_GRID';
|
|
27101
27109
|
p.types = ['string', 'string'];
|
|
27102
27110
|
if (this.gf)
|
|
27103
|
-
p.values = [this.gf.getDescri(), this.
|
|
27111
|
+
p.values = [this.gf.getDescri(), this.grid_customer_preference_key];
|
|
27104
27112
|
let ok_op = false;
|
|
27105
27113
|
this._dataService.doQuery(p).subscribe((data) => {
|
|
27106
27114
|
let ok_op = false;
|
|
@@ -27109,7 +27117,7 @@ class FHGridInternalComponent {
|
|
|
27109
27117
|
this._toast.info('Configurazione eliminata');
|
|
27110
27118
|
if (this.gf) {
|
|
27111
27119
|
this.gf.types = ['string'];
|
|
27112
|
-
this.gf.values = [this.
|
|
27120
|
+
this.gf.values = [this.grid_customer_preference_key];
|
|
27113
27121
|
this.gf.fillCombo();
|
|
27114
27122
|
}
|
|
27115
27123
|
this.curr_config = '-1';
|
|
@@ -27140,17 +27148,17 @@ class FHGridInternalComponent {
|
|
|
27140
27148
|
let p_col = '';
|
|
27141
27149
|
// let p_sort: string = "";
|
|
27142
27150
|
let p_filter = '';
|
|
27143
|
-
if (localStorage.getItem(this.
|
|
27144
|
-
p_col = localStorage.getItem(this.
|
|
27145
|
-
// if (localStorage.getItem(this.
|
|
27146
|
-
// p_sort = localStorage.getItem(this.
|
|
27147
|
-
if (localStorage.getItem(this.
|
|
27148
|
-
p_filter = localStorage.getItem(this.
|
|
27151
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') != null)
|
|
27152
|
+
p_col = localStorage.getItem(this.grid_customer_preference_key + '_COLS');
|
|
27153
|
+
// if (localStorage.getItem(this.grid_customer_preference_key + "_SORT") != null)
|
|
27154
|
+
// p_sort = localStorage.getItem(this.grid_customer_preference_key + "_SORT");
|
|
27155
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != null)
|
|
27156
|
+
p_filter = localStorage.getItem(this.grid_customer_preference_key + '_FILTER');
|
|
27149
27157
|
p.types = ['string', 'string', 'string', 'string', 'string', 'string'];
|
|
27150
27158
|
if (this.gf)
|
|
27151
27159
|
p.values = [
|
|
27152
27160
|
this.gf.getDescri(),
|
|
27153
|
-
this.
|
|
27161
|
+
this.grid_customer_preference_key,
|
|
27154
27162
|
p_col,
|
|
27155
27163
|
'',
|
|
27156
27164
|
p_filter,
|
|
@@ -27164,7 +27172,7 @@ class FHGridInternalComponent {
|
|
|
27164
27172
|
this._toast.info('Configurazione salvata');
|
|
27165
27173
|
if (this.gf) {
|
|
27166
27174
|
this.gf.types = ['string'];
|
|
27167
|
-
this.gf.values = [this.
|
|
27175
|
+
this.gf.values = [this.grid_customer_preference_key];
|
|
27168
27176
|
this.gf.fillCombo();
|
|
27169
27177
|
}
|
|
27170
27178
|
this.curr_config = '-1';
|
|
@@ -27203,12 +27211,12 @@ class FHGridInternalComponent {
|
|
|
27203
27211
|
let p_col;
|
|
27204
27212
|
// let p_sort: string = "";
|
|
27205
27213
|
let p_filter;
|
|
27206
|
-
if (localStorage.getItem(this.
|
|
27207
|
-
p_col = localStorage.getItem(this.
|
|
27208
|
-
// if (localStorage.getItem(this.
|
|
27209
|
-
// p_sort = localStorage.getItem(this.
|
|
27210
|
-
if (localStorage.getItem(this.
|
|
27211
|
-
p_filter = localStorage.getItem(this.
|
|
27214
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') != null)
|
|
27215
|
+
p_col = localStorage.getItem(this.grid_customer_preference_key + '_COLS');
|
|
27216
|
+
// if (localStorage.getItem(this.grid_customer_preference_key + "_SORT") != null)
|
|
27217
|
+
// p_sort = localStorage.getItem(this.grid_customer_preference_key + "_SORT");
|
|
27218
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != null)
|
|
27219
|
+
p_filter = localStorage.getItem(this.grid_customer_preference_key + '_FILTER');
|
|
27212
27220
|
p.types = [
|
|
27213
27221
|
'string',
|
|
27214
27222
|
'string',
|
|
@@ -27219,7 +27227,7 @@ class FHGridInternalComponent {
|
|
|
27219
27227
|
];
|
|
27220
27228
|
p.values = [
|
|
27221
27229
|
result,
|
|
27222
|
-
this.
|
|
27230
|
+
this.grid_customer_preference_key,
|
|
27223
27231
|
p_col,
|
|
27224
27232
|
'',
|
|
27225
27233
|
p_filter,
|
|
@@ -27234,7 +27242,7 @@ class FHGridInternalComponent {
|
|
|
27234
27242
|
ok_op = true;
|
|
27235
27243
|
if (this.gf) {
|
|
27236
27244
|
this.gf.types = ['string'];
|
|
27237
|
-
this.gf.values = [this.
|
|
27245
|
+
this.gf.values = [this.grid_customer_preference_key];
|
|
27238
27246
|
this.gf.fillCombo();
|
|
27239
27247
|
}
|
|
27240
27248
|
}
|
|
@@ -27533,8 +27541,8 @@ class FHGridInternalComponent {
|
|
|
27533
27541
|
getRows: (params) => {
|
|
27534
27542
|
this.m_appService.start();
|
|
27535
27543
|
let p = new QGParam();
|
|
27536
|
-
p.table = this.
|
|
27537
|
-
p.table_count = this.
|
|
27544
|
+
p.table = this.grid_config_key;
|
|
27545
|
+
p.table_count = this.grid_config_key;
|
|
27538
27546
|
if (this.count_tbl_name != '')
|
|
27539
27547
|
p.table_count = this.count_tbl_name;
|
|
27540
27548
|
p.num_per_pag = (params.request.endRow || 0) - (params.request.startRow || 0);
|
|
@@ -27652,19 +27660,19 @@ class FHGridInternalComponent {
|
|
|
27652
27660
|
this.m_appService.complete();
|
|
27653
27661
|
this.fill_end.emit();
|
|
27654
27662
|
this.check_width();
|
|
27655
|
-
localStorage.setItem(this.
|
|
27656
|
-
if (localStorage.getItem(this.
|
|
27663
|
+
localStorage.setItem(this.grid_customer_preference_key + '_POS1', JSON.stringify(p));
|
|
27664
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_POS2') != null)
|
|
27657
27665
|
if (this.gridOptions != null)
|
|
27658
27666
|
if (this.gridApi != null)
|
|
27659
27667
|
this.gridApi.forEachNode((node) => {
|
|
27660
27668
|
if (this.getRowId(node) ===
|
|
27661
|
-
localStorage.getItem(this.
|
|
27669
|
+
localStorage.getItem(this.grid_customer_preference_key + '_POS2')) {
|
|
27662
27670
|
node.setSelected(true);
|
|
27663
|
-
localStorage.removeItem(this.
|
|
27664
|
-
if (localStorage.getItem(this.
|
|
27671
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_POS2');
|
|
27672
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_LAST_ROW') !=
|
|
27665
27673
|
null)
|
|
27666
|
-
this.sRow = JSON.parse(localStorage.getItem(this.
|
|
27667
|
-
localStorage.removeItem(this.
|
|
27674
|
+
this.sRow = JSON.parse(localStorage.getItem(this.grid_customer_preference_key + '_LAST_ROW') || '{}');
|
|
27675
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_LAST_ROW');
|
|
27668
27676
|
}
|
|
27669
27677
|
});
|
|
27670
27678
|
let b_mantieni_ck = false;
|
|
@@ -27676,7 +27684,7 @@ class FHGridInternalComponent {
|
|
|
27676
27684
|
}
|
|
27677
27685
|
this.b_init1 = true;
|
|
27678
27686
|
this.ensure_visible();
|
|
27679
|
-
if (localStorage.getItem(this.
|
|
27687
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') == null &&
|
|
27680
27688
|
this.autosize_at_ini)
|
|
27681
27689
|
setTimeout(() => {
|
|
27682
27690
|
this.set_init_size();
|
|
@@ -27720,19 +27728,19 @@ class FHGridInternalComponent {
|
|
|
27720
27728
|
this.m_appService.complete();
|
|
27721
27729
|
this.fill_end.emit();
|
|
27722
27730
|
this.check_width();
|
|
27723
|
-
localStorage.setItem(this.
|
|
27724
|
-
if (localStorage.getItem(this.
|
|
27731
|
+
localStorage.setItem(this.grid_customer_preference_key + '_POS1', JSON.stringify(p));
|
|
27732
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_POS2') != null)
|
|
27725
27733
|
if (this.gridOptions != null)
|
|
27726
27734
|
if (this.gridApi != null)
|
|
27727
27735
|
this.gridApi.forEachNode((node) => {
|
|
27728
27736
|
if (this.getRowId(node) ===
|
|
27729
|
-
localStorage.getItem(this.
|
|
27737
|
+
localStorage.getItem(this.grid_customer_preference_key + '_POS2')) {
|
|
27730
27738
|
node.setSelected(true);
|
|
27731
|
-
localStorage.removeItem(this.
|
|
27732
|
-
if (localStorage.getItem(this.
|
|
27739
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_POS2');
|
|
27740
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_LAST_ROW') !=
|
|
27733
27741
|
null)
|
|
27734
|
-
this.sRow = JSON.parse(localStorage.getItem(this.
|
|
27735
|
-
localStorage.removeItem(this.
|
|
27742
|
+
this.sRow = JSON.parse(localStorage.getItem(this.grid_customer_preference_key + '_LAST_ROW') || '{}');
|
|
27743
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_LAST_ROW');
|
|
27736
27744
|
}
|
|
27737
27745
|
});
|
|
27738
27746
|
let b_mantieni_ck = false;
|
|
@@ -27744,29 +27752,29 @@ class FHGridInternalComponent {
|
|
|
27744
27752
|
}
|
|
27745
27753
|
this.b_init1 = true;
|
|
27746
27754
|
this.ensure_visible();
|
|
27747
|
-
/*if (localStorage.getItem(this.
|
|
27755
|
+
/*if (localStorage.getItem(this.grid_customer_preference_key + '_COLS')==null && this.first_ref) {
|
|
27748
27756
|
setTimeout(() => {
|
|
27749
27757
|
this.autoSizeAll();
|
|
27750
27758
|
}, 300);
|
|
27751
27759
|
this.first_ref = false;
|
|
27752
27760
|
|
|
27753
27761
|
|
|
27754
|
-
} else*/ if (localStorage.getItem(this.
|
|
27762
|
+
} else*/ if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') == null &&
|
|
27755
27763
|
this.autosize_at_ini)
|
|
27756
27764
|
setTimeout(() => {
|
|
27757
27765
|
this.autoSizeAll();
|
|
27758
27766
|
}, 300);
|
|
27759
|
-
//if(this.m_appService.getState().grid_obj[this.
|
|
27767
|
+
//if(this.m_appService.getState().grid_obj[this.grid_customer_preference_key+'_NODE']!=null)
|
|
27760
27768
|
/*
|
|
27761
27769
|
|
|
27762
27770
|
this.gridApi.forEachNode( (node:any) =>{
|
|
27763
27771
|
// select the node
|
|
27764
|
-
if(node.rowIndex==parseInt(localStorage.getItem(this.
|
|
27772
|
+
if(node.rowIndex==parseInt(localStorage.getItem(this.grid_customer_preference_key+'_POS'))){
|
|
27765
27773
|
node.setSelected(true);
|
|
27766
27774
|
|
|
27767
27775
|
}}*/
|
|
27768
|
-
// if(this.m_appService.getState().grid_obj[this.
|
|
27769
|
-
//this.gridApi.get(parseInt(localStorage.getItem(this.
|
|
27776
|
+
// if(this.m_appService.getState().grid_obj[this.grid_customer_preference_key+'_NODE']!=null)
|
|
27777
|
+
//this.gridApi.get(parseInt(localStorage.getItem(this.grid_customer_preference_key+'_POS'))).setSelected(true);
|
|
27770
27778
|
}
|
|
27771
27779
|
if (!ok_op) {
|
|
27772
27780
|
this.errorMsg = data.msg + ' [' + data.result_msg + ']';
|
|
@@ -27852,14 +27860,14 @@ class FHGridInternalComponent {
|
|
|
27852
27860
|
innerWidth = 750;
|
|
27853
27861
|
size;
|
|
27854
27862
|
ngAfterViewInit() {
|
|
27855
|
-
if (this.
|
|
27863
|
+
if (this.grid_customer_preference_key == 'PRO_H')
|
|
27856
27864
|
this.no_pref = true;
|
|
27857
27865
|
setTimeout(() => {
|
|
27858
27866
|
if (this.end_point == null)
|
|
27859
27867
|
this.end_point =
|
|
27860
27868
|
this.m_appService.API_ENDPOINT + this.m_appService.GRID_ENDPOINT;
|
|
27861
|
-
if (localStorage.getItem(this.
|
|
27862
|
-
this.ric_libera = localStorage.getItem(this.
|
|
27869
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER_UP') != null)
|
|
27870
|
+
this.ric_libera = localStorage.getItem(this.grid_customer_preference_key + '_FILTER_UP');
|
|
27863
27871
|
this.onResize();
|
|
27864
27872
|
});
|
|
27865
27873
|
}
|
|
@@ -27968,12 +27976,12 @@ class FHGridInternalComponent {
|
|
|
27968
27976
|
}
|
|
27969
27977
|
last_riclib = false;
|
|
27970
27978
|
pulisci_filtri(resetr = true) {
|
|
27971
|
-
localStorage.removeItem(this.
|
|
27979
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_FILTER');
|
|
27972
27980
|
if (resetr) {
|
|
27973
27981
|
if (this.ric_libera != '' || this.last_riclib)
|
|
27974
27982
|
this.doFill('', true, false);
|
|
27975
27983
|
this.ric_libera = '';
|
|
27976
|
-
localStorage.removeItem(this.
|
|
27984
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_FILTER_UP');
|
|
27977
27985
|
}
|
|
27978
27986
|
this.fix_flt_temp = '';
|
|
27979
27987
|
if (this.gridApi)
|
|
@@ -28173,7 +28181,7 @@ class FHGridInternalComponent {
|
|
|
28173
28181
|
cmds.push(this.officeService.operation(opx, 'select ' +
|
|
28174
28182
|
str_fields +
|
|
28175
28183
|
' from ' +
|
|
28176
|
-
this.
|
|
28184
|
+
this.grid_config_key +
|
|
28177
28185
|
' ' +
|
|
28178
28186
|
this.str_curr_q_p, '3', this.xxopx++));
|
|
28179
28187
|
else
|
|
@@ -28182,7 +28190,7 @@ class FHGridInternalComponent {
|
|
|
28182
28190
|
',' +
|
|
28183
28191
|
this.export_field_aggiuntivi +
|
|
28184
28192
|
' from ' +
|
|
28185
|
-
this.
|
|
28193
|
+
this.grid_config_key +
|
|
28186
28194
|
' ' +
|
|
28187
28195
|
this.str_curr_q_p, '3', this.xxopx++));
|
|
28188
28196
|
cmds.push(this.officeService.operation('GB_XLS_SAVE', this.m_appService.LOCAL_PATH +
|
|
@@ -28281,17 +28289,17 @@ class FHGridInternalComponent {
|
|
|
28281
28289
|
this.ckk_ed = true;
|
|
28282
28290
|
if (this.toggle_mantieni != null) {
|
|
28283
28291
|
this.toggle_mantieni.checked = true;
|
|
28284
|
-
if (localStorage.getItem(this.
|
|
28285
|
-
if (localStorage.getItem(this.
|
|
28292
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_MANTIENI') != null)
|
|
28293
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_MANTIENI') == 'NO') {
|
|
28286
28294
|
this.toggle_mantieni.checked = false;
|
|
28287
28295
|
}
|
|
28288
28296
|
}
|
|
28289
28297
|
this.res_columns();
|
|
28290
|
-
if (localStorage.getItem(this.
|
|
28298
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_POS') != null)
|
|
28291
28299
|
this.b_restored = true;
|
|
28292
|
-
if (localStorage.getItem(this.
|
|
28293
|
-
if (localStorage.getItem(this.
|
|
28294
|
-
this.ric_libera = localStorage.getItem(this.
|
|
28300
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER_UP') != null)
|
|
28301
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER_UP') != '') {
|
|
28302
|
+
this.ric_libera = localStorage.getItem(this.grid_customer_preference_key + '_FILTER_UP');
|
|
28295
28303
|
let arr = (this.ric_libera || '').split(' ');
|
|
28296
28304
|
let arr_F = new Array();
|
|
28297
28305
|
for (let i = 0; i < arr.length; i++)
|
|
@@ -28364,9 +28372,9 @@ class FHGridInternalComponent {
|
|
|
28364
28372
|
}
|
|
28365
28373
|
// this.createNewDatasource();
|
|
28366
28374
|
/*
|
|
28367
|
-
if(this.m_appService.getState().grid_obj[this.
|
|
28375
|
+
if(this.m_appService.getState().grid_obj[this.grid_customer_preference_key+'_startPage']!=null)
|
|
28368
28376
|
{
|
|
28369
|
-
this.gridApi.paginationGoToPage(this.m_appService.getState().grid_obj[this.
|
|
28377
|
+
this.gridApi.paginationGoToPage(this.m_appService.getState().grid_obj[this.grid_customer_preference_key+'_startPage']);
|
|
28370
28378
|
} */
|
|
28371
28379
|
}
|
|
28372
28380
|
set_init_size() {
|
|
@@ -28398,26 +28406,26 @@ class FHGridInternalComponent {
|
|
|
28398
28406
|
let b_rip = false;
|
|
28399
28407
|
if (this.toggle_mantieni != null)
|
|
28400
28408
|
b_mantieni_ck = this.toggle_mantieni.checked;
|
|
28401
|
-
if ((localStorage.getItem(this.
|
|
28409
|
+
if ((localStorage.getItem(this.grid_customer_preference_key + '_COLS') || '') == '') {
|
|
28402
28410
|
this.set_init_size();
|
|
28403
28411
|
return;
|
|
28404
28412
|
}
|
|
28405
|
-
if (localStorage.getItem(this.
|
|
28413
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') != null &&
|
|
28406
28414
|
(b_mantieni_ck || forza))
|
|
28407
|
-
if (localStorage.getItem(this.
|
|
28415
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') != '') {
|
|
28408
28416
|
b_rip = true;
|
|
28409
28417
|
try {
|
|
28410
|
-
let a = JSON.parse(localStorage.getItem(this.
|
|
28418
|
+
let a = JSON.parse(localStorage.getItem(this.grid_customer_preference_key + '_COLS') || '[]');
|
|
28411
28419
|
let annulla = true;
|
|
28412
28420
|
for (let i = 0; i < a.length; i++) {
|
|
28413
28421
|
if (!a[i].hide)
|
|
28414
28422
|
annulla = false;
|
|
28415
28423
|
}
|
|
28416
28424
|
if (annulla)
|
|
28417
|
-
localStorage.getItem(this.
|
|
28425
|
+
localStorage.getItem(this.grid_customer_preference_key + '_COLS');
|
|
28418
28426
|
else {
|
|
28419
28427
|
if (this.gridApi) {
|
|
28420
|
-
let saved_state = JSON.parse(localStorage.getItem(this.
|
|
28428
|
+
let saved_state = JSON.parse(localStorage.getItem(this.grid_customer_preference_key + '_COLS') || '[]');
|
|
28421
28429
|
this.gridApi.applyColumnState({
|
|
28422
28430
|
state: saved_state,
|
|
28423
28431
|
applyOrder: true,
|
|
@@ -28433,13 +28441,13 @@ class FHGridInternalComponent {
|
|
|
28433
28441
|
} catch (eer) {
|
|
28434
28442
|
}
|
|
28435
28443
|
if (
|
|
28436
|
-
localStorage.getItem(this.
|
|
28444
|
+
localStorage.getItem(this.grid_customer_preference_key + "_SORT") != null &&
|
|
28437
28445
|
(b_mantieni_ck || forza)
|
|
28438
28446
|
)
|
|
28439
|
-
if (localStorage.getItem(this.
|
|
28447
|
+
if (localStorage.getItem(this.grid_customer_preference_key + "_SORT") != "") {
|
|
28440
28448
|
try {
|
|
28441
28449
|
this.gridApi.setSortModel(
|
|
28442
|
-
JSON.parse(localStorage.getItem(this.
|
|
28450
|
+
JSON.parse(localStorage.getItem(this.grid_customer_preference_key + "_SORT"))
|
|
28443
28451
|
);
|
|
28444
28452
|
} catch (eer) {
|
|
28445
28453
|
}
|
|
@@ -28448,12 +28456,12 @@ class FHGridInternalComponent {
|
|
|
28448
28456
|
this.gridApi.setFilterModel(null);
|
|
28449
28457
|
} catch (eer) {
|
|
28450
28458
|
}*/
|
|
28451
|
-
if (localStorage.getItem(this.
|
|
28459
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != null &&
|
|
28452
28460
|
(b_mantieni_ck || forza))
|
|
28453
|
-
if (localStorage.getItem(this.
|
|
28461
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != '') {
|
|
28454
28462
|
try {
|
|
28455
28463
|
if (this.gridApi)
|
|
28456
|
-
this.gridApi.setFilterModel(JSON.parse(localStorage.getItem(this.
|
|
28464
|
+
this.gridApi.setFilterModel(JSON.parse(localStorage.getItem(this.grid_customer_preference_key + '_FILTER') || ''));
|
|
28457
28465
|
}
|
|
28458
28466
|
catch (eer) {
|
|
28459
28467
|
}
|
|
@@ -28499,10 +28507,10 @@ class FHGridInternalComponent {
|
|
|
28499
28507
|
else
|
|
28500
28508
|
this.gf.sql = 'SELECT_CFG_GRID_BY_USER';
|
|
28501
28509
|
this.gf.types = ['string'];
|
|
28502
|
-
this.gf.values = [this.
|
|
28510
|
+
this.gf.values = [this.grid_customer_preference_key];
|
|
28503
28511
|
this.gf.fillCombo();
|
|
28504
|
-
if (localStorage.getItem(this.
|
|
28505
|
-
if (localStorage.getItem(this.
|
|
28512
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_MANTIENI') != 'NO')
|
|
28513
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_CFG_DEFAULT') != null) {
|
|
28506
28514
|
return;
|
|
28507
28515
|
}
|
|
28508
28516
|
}
|
|
@@ -28517,16 +28525,16 @@ class FHGridInternalComponent {
|
|
|
28517
28525
|
}
|
|
28518
28526
|
save_cfg() {
|
|
28519
28527
|
if (this.gridApi)
|
|
28520
|
-
localStorage.setItem(this.
|
|
28528
|
+
localStorage.setItem(this.grid_customer_preference_key + '_COLS', JSON.stringify(this.gridApi.getColumnState()));
|
|
28521
28529
|
}
|
|
28522
28530
|
fe_cfg() {
|
|
28523
28531
|
if (this.gf != null)
|
|
28524
28532
|
if (this.gf.getObj() != null)
|
|
28525
|
-
if (localStorage.getItem(this.
|
|
28526
|
-
this.gf.setByDescri(localStorage.getItem(this.
|
|
28527
|
-
localStorage.setItem(this.
|
|
28528
|
-
// localStorage.setItem(this.
|
|
28529
|
-
localStorage.setItem(this.
|
|
28533
|
+
if (localStorage.getItem(this.grid_customer_preference_key + '_MANTIENI') != 'NO') {
|
|
28534
|
+
this.gf.setByDescri(localStorage.getItem(this.grid_customer_preference_key + '_CFG_DEFAULT') || '');
|
|
28535
|
+
localStorage.setItem(this.grid_customer_preference_key + '_COLS', this.gf.getObj().COLS);
|
|
28536
|
+
// localStorage.setItem(this.grid_customer_preference_key + "_SORT", this.gf.getObj().SORT);
|
|
28537
|
+
localStorage.setItem(this.grid_customer_preference_key + '_FILTER', this.gf.getObj().FILTER);
|
|
28530
28538
|
this.curr_config = this.gf.getValue();
|
|
28531
28539
|
}
|
|
28532
28540
|
this.onready_go();
|
|
@@ -28556,10 +28564,10 @@ class FHGridInternalComponent {
|
|
|
28556
28564
|
this.pulisci_filtri();
|
|
28557
28565
|
this.fix_flt_temp = '';
|
|
28558
28566
|
this.doFill('', true, false);
|
|
28559
|
-
localStorage.removeItem(this.
|
|
28567
|
+
localStorage.removeItem(this.grid_customer_preference_key + '_FILTER_UP');
|
|
28560
28568
|
return;
|
|
28561
28569
|
}
|
|
28562
|
-
localStorage.setItem(this.
|
|
28570
|
+
localStorage.setItem(this.grid_customer_preference_key + '_FILTER_UP', this.ric_libera || '');
|
|
28563
28571
|
let arr = (this.ric_libera || '').split(' ');
|
|
28564
28572
|
let arr_F = new Array();
|
|
28565
28573
|
for (let i = 0; i < arr.length; i++)
|
|
@@ -28649,7 +28657,7 @@ class FHGridInternalComponent {
|
|
|
28649
28657
|
oncolumnEverythingChanged(event) {
|
|
28650
28658
|
if (this.b_init) {
|
|
28651
28659
|
if (this.gridApi)
|
|
28652
|
-
localStorage.setItem(this.
|
|
28660
|
+
localStorage.setItem(this.grid_customer_preference_key + '_COLS', JSON.stringify(this.gridApi.getColumnState()));
|
|
28653
28661
|
}
|
|
28654
28662
|
}
|
|
28655
28663
|
onFilterModified() {
|
|
@@ -28658,7 +28666,7 @@ class FHGridInternalComponent {
|
|
|
28658
28666
|
setTimeout(() => {
|
|
28659
28667
|
if (this.b_init) {
|
|
28660
28668
|
if (this.gridApi)
|
|
28661
|
-
localStorage.setItem(this.
|
|
28669
|
+
localStorage.setItem(this.grid_customer_preference_key + '_FILTER', JSON.stringify(this.gridApi.getFilterModel() || '{}'));
|
|
28662
28670
|
}
|
|
28663
28671
|
}, 200);
|
|
28664
28672
|
}
|
|
@@ -28669,11 +28677,11 @@ class FHGridInternalComponent {
|
|
|
28669
28677
|
return;
|
|
28670
28678
|
if (this.b_init) {
|
|
28671
28679
|
if (this.gridApi)
|
|
28672
|
-
localStorage.setItem(this.
|
|
28680
|
+
localStorage.setItem(this.grid_customer_preference_key + '_COLS', JSON.stringify(this.gridApi.getColumnState()));
|
|
28673
28681
|
/*
|
|
28674
28682
|
|
|
28675
28683
|
localStorage.setItem(
|
|
28676
|
-
this.
|
|
28684
|
+
this.grid_customer_preference_key + "_SORT",
|
|
28677
28685
|
JSON.stringify(this.gridApi.getSortModel())
|
|
28678
28686
|
);*/
|
|
28679
28687
|
}
|
|
@@ -28688,15 +28696,15 @@ class FHGridInternalComponent {
|
|
|
28688
28696
|
selectedInGrid = this.gridApi.getSelectedNodes();
|
|
28689
28697
|
if (selectedInGrid != null)
|
|
28690
28698
|
if (selectedInGrid[0] != null) {
|
|
28691
|
-
localStorage.setItem(this.
|
|
28699
|
+
localStorage.setItem(this.grid_customer_preference_key + '_POS', String(selectedInGrid[0].rowIndex));
|
|
28692
28700
|
if (this.gridApi)
|
|
28693
|
-
localStorage.setItem(this.
|
|
28694
|
-
localStorage.setItem(this.
|
|
28701
|
+
localStorage.setItem(this.grid_customer_preference_key + '_POS_BAR', JSON.stringify(this.gridApi.getVerticalPixelRange()));
|
|
28702
|
+
localStorage.setItem(this.grid_customer_preference_key + '_POS2', this.getRowId(selectedInGrid[0]));
|
|
28695
28703
|
// this.m_appService.getState().grid_obj=new Object();
|
|
28696
|
-
// this.m_appService.getState().grid_obj[this.
|
|
28704
|
+
// this.m_appService.getState().grid_obj[this.grid_customer_preference_key+'_NODE']=this.gridApi.getSelectedRows[0];
|
|
28697
28705
|
}
|
|
28698
28706
|
this.sRow = $event.data;
|
|
28699
|
-
localStorage.setItem(this.
|
|
28707
|
+
localStorage.setItem(this.grid_customer_preference_key + '_LAST_ROW', JSON.stringify(this.sRow));
|
|
28700
28708
|
this.clicked.emit($event.data);
|
|
28701
28709
|
var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent);
|
|
28702
28710
|
if (iOS) {
|
|
@@ -28721,7 +28729,7 @@ class FHGridInternalComponent {
|
|
|
28721
28729
|
// the method just prints the event name
|
|
28722
28730
|
onColumnEvent($event) {
|
|
28723
28731
|
this.columndclicked.emit($event);
|
|
28724
|
-
// localStorage.setItem(this.
|
|
28732
|
+
// localStorage.setItem(this.grid_customer_preference_key+'_COLUMN',JSON.stringify(this.gridApi.getColumnDef()));
|
|
28725
28733
|
}
|
|
28726
28734
|
fix_flt = '';
|
|
28727
28735
|
fix_flt_temp = '';
|
|
@@ -28759,7 +28767,7 @@ class FHGridInternalComponent {
|
|
|
28759
28767
|
this.updateRow();
|
|
28760
28768
|
}
|
|
28761
28769
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHGridInternalComponent, deps: [{ token: GridService }, { token: i3$1.ToastrService }, { token: QueryService }, { token: AppService }, { token: i1$2.MatDialog }, { token: UtilityService }, { token: OfficeAutomatorService }, { token: FileService }, { token: i8$4.Clipboard }, { token: i3.TranslateService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Component });
|
|
28762
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHGridInternalComponent, isStandalone: true, selector: "FHGridInternal", inputs: { flt_aggiuntivo: "flt_aggiuntivo", flt_aggiuntivo_value: "flt_aggiuntivo_value", flt_aggiuntivo_label: "flt_aggiuntivo_label", rowHeight: "rowHeight", gridCursorPointer: "gridCursorPointer", overwrite_help_url: "overwrite_help_url", over_fulltext: "over_fulltext", b_wait: "b_wait", over_fulltext_types: "over_fulltext_types", over_fulltext_values: "over_fulltext_values", over_fulltext_sql: "over_fulltext_sql", forceFitSize: "forceFitSize", tooltipShowDelay: "tooltipShowDelay", elimina_label: "elimina_label", show_selected_number: "show_selected_number", export_field_aggiuntivi: "export_field_aggiuntivi", end_point: "end_point", tbl_name: "tbl_name", columnDefs: "columnDefs", count_tbl_name: "count_tbl_name", search_field_tooltip: "search_field_tooltip", num_per_pag: "num_per_pag", grid_key: "grid_key", sort_field: "sort_field", fields: "fields", filters: "filters", enabled: "enabled", show_link: "show_link", show_help_bar: "show_help_bar", help_label_bar: "help_label_bar", auto_load: "auto_load", customKeyField: "customKeyField", auto_height: "auto_height", enable_export: "enable_export", enabled_pag: "enabled_pag", show_help: "show_help", show_num_elem: "show_num_elem", private_pref: "private_pref", system_dest: "system_dest", header_h: "header_h", selection_mode: "selection_mode", init_fill: "init_fill", no_pref: "no_pref", pref_hidden: "pref_hidden", enable_export_pdf: "enable_export_pdf", enable_export_xls: "enable_export_xls", translateFilterEnabled: "translateFilterEnabled", enable_copy: "enable_copy", full_text_added_columns: "full_text_added_columns", full_text_added_query: "full_text_added_query", autosize_at_ini: "autosize_at_ini", label_elementi: "label_elementi", trova_label: "trova_label", mantieni_impostazioni: "mantieni_impostazioni", show_buttons: "show_buttons", custom_export: "custom_export", toolbar_type: "toolbar_type", toolbar_wkfapp: "toolbar_wkfapp", toolbar_custom_commands: "toolbar_custom_commands", toolbar_custom_commands_primary: "toolbar_custom_commands_primary", off_set: "off_set", include_always: "include_always" }, outputs: { flt_aggiuntivo_event: "flt_aggiuntivo_event", fill_end: "fill_end", cell_edited: "cell_edited", clicked: "clicked", dclicked: "dclicked", columndclicked: "columndclicked", cell_clicked: "cell_clicked", selection_change: "selection_change", command: "command", filterCleared: "filterCleared", init_end: "init_end" }, host: { listeners: { "window:resize": "onResize(event)" } }, viewQueries: [{ propertyName: "gf", first: true, predicate: ["gf"], descendants: true }, { propertyName: "toggle_mantieni", first: true, predicate: ["toggle_mantieni"], descendants: true }], ngImport: i0, template: "<div fxLayout=\"column\" fxFlexFill>\r\n <div\r\n fxLayout=\"row\"\r\n fxLayout.xs=\"column\"\r\n fxLayoutAlign=\"center start\"\r\n fxLayoutGap=\"3px\"\r\n style=\"min-height: 55px;\"\r\n [hidden]=\"!show_buttons\"\r\n >\r\n \r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\r\n <div *ngIf=\"show_num_elem\">\r\n <h5>{{num_r}} {{label_elementi | translate}}</h5>\r\n </div>\r\n \r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <input\r\n matInput\r\n [placeholder]=\"trova_label | translate\"\r\n (keydown)=\"keyDownFunctioncl($event)\"\r\n [(ngModel)]=\"ric_libera\"\r\n [matTooltip]=\"search_field_tooltip\"\r\n style=\"\r\n width: 160px;\r\n border: 1px solid;\r\n min-height: 30px;\r\n \"\r\n />\r\n </div>\r\n <div\r\n matTooltip=\"REMOVE FILTER\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_pulisci_filtri\"\r\n >\r\n <button mat-flat-button (click)=\"pulisci_filtri()\" color=\"warn\" class=\"fh_icon_button\">\r\n <mat-icon>filter_none</mat-icon>\r\n </button>\r\n </div>\r\n <div matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\r\n <button\r\n mat-flat-button\r\n (click)=\"autoSizeAll()\"\r\n color=\"primary\" class=\"fh_icon_button\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>swap_horiz</mat-icon>\r\n </button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"FIT SIZE\" matTooltipPosition=\"above\">\r\n <button\r\n mat-flat-button\r\n (click)=\"fitSizeAll()\" class=\"fh_icon_button\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>keyboard_tab</mat-icon>\r\n </button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"Refresh\" matTooltipPosition=\"above\">\r\n <button\r\n mat-flat-button\r\n (click)=\"Refresh()\" class=\"fh_icon_button\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n <FHFilterComboBox\r\n fxHide [label]=\"'Configurazioni Salvate' | translate\"\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (selchange)=\"ch_config()\"\r\n (fillend)=\"fe_cfg()\"\r\n #gf\r\n [init_fill]=\"false\"\r\n ></FHFilterComboBox>\r\n <div\r\n matTooltip=\"Modifica Preferenza\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n mat-icon-button\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: rgb(248, 105, 10);\" class=\"fh_icon_button\"\r\n >\r\n <mat-icon (click)=\"edit_config()\">save</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n matTooltip=\"Elimina Preferenza\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n mat-icon-button class=\"fh_icon_button\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: rgb(248, 105, 10);\"\r\n >\r\n <mat-icon (click)=\"elimina_config()\">delete</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"Crea Nuova Preferenza\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-icon-button class=\"fh_icon_button\"\r\n style=\"color: rgb(16, 98, 16);\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n >\r\n <mat-icon (click)=\"insert_config()\">library_add</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <mat-slide-toggle\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (click)=\"ck_flag()\"\r\n #toggle_mantieni\r\n >\r\n {{mantieni_impostazioni}}\r\n </mat-slide-toggle>\r\n\r\n \r\n <div fxHide fxShow.gt-sm matTooltip=\"HELP\" matTooltipPosition=\"above\">\r\n <button\r\n mat-flat-button\r\n (click)=\"help_window()\"\r\n color=\"primary\" class=\"fh_icon_button\"\r\n *ngIf=\"show_buttons && show_help\"\r\n >\r\n <mat-icon>help</mat-icon>\r\n </button>\r\n </div>\r\n \r\n <div *ngIf=\"show_selected_number\">\r\n <h5>{{num_s}} {{label_elementi_s | translate}}</h5>\r\n </div>\r\n \r\n\r\n <img\r\n *ngIf=\"enable_export && enable_export_pdf\"\r\n matTooltip=\"EXPORT PDF\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/pdf.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"print()\"\r\n alt=\"Export Excel\"\r\n width=\"24\" height=\"24\"\r\n />\r\n\r\n\r\n <img *ngIf=\"enable_export && enable_export_xls\"\r\n matTooltip=\"EXPORT EXCEL\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/xlsx.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"export_excel()\"\r\n alt=\"Export Excel\"\r\n width=\"24\" height=\"24\"\r\n />\r\n\r\n <div *ngIf=\"flt_aggiuntivo.length!=0\"> </div>\r\n <mat-form-field *ngIf=\"flt_aggiuntivo.length!=0\"\r\n\r\n appearance=\"outline\"\r\n floatLabel=\"always\"\r\n ><mat-label>{{ flt_aggiuntivo_label|translate }}</mat-label>\r\n <mat-select\r\n\r\n [(ngModel)]=\"flt_aggiuntivo_value\"\r\n (selectionChange)=\"sc()\"\r\n >\r\n <mat-option value=\"{{ app.valore }}\" *ngFor=\"let app of flt_aggiuntivo\">{{\r\n app.descrizione_valore | translate\r\n }}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n \r\n <!-- <mat-spinner diameter=\"25\" *ngIf=\"loading_fulltext\"></mat-spinner> -->\r\n\r\n </div>\r\n <div\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"end center\"\r\n\r\n [style.width]=\"width_max\"\r\n *ngIf=\"enabled\"\r\n >\r\n\r\n <FHGridToolBar\r\n (command)=\"docmd($event)\"\r\n [type]=\"toolbar_type\"\r\n [show_link]=\"show_link\"\r\n [show_help]=\"show_help_bar\"\r\n [help_label]=\"help_label_bar\"\r\n [custom_commands]=\"toolbar_custom_commands\"\r\n [custom_commands_primary]=\"toolbar_custom_commands_primary\"\r\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\r\n [elimina_label]=\"elimina_label\"\r\n [b_wait]=\"b_wait\"\r\n [sRow]=\"sRow\"\r\n ></FHGridToolBar>\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" style=\"width: 100%;\" [fxFlex]=\"show_buttons ? 100:95\">\r\n <ag-grid-angular\r\n ref-agGrid\r\n style=\"width: 100%; height: 100%;\"\r\n id=\"myGrid\"\r\n (cellDoubleClicked)=\"onColumnEvent($event)\"\r\n (cellClicked)=\"onCellClicked($event)\"\r\n [headerHeight]=\"header_h\"\r\n [groupHeaderHeight]=\"header_h\"\r\n class=\"ag-theme-quartz\"\r\n [singleClickEdit]=\"true\"\r\n [gridOptions]=\"gridOptions\"\r\n [columnDefs]=\"columnDefs\"\r\n [rowSelection]=\"(selection_mode||{\r\n mode: 'multiRow'\r\n })\"\r\n [tooltipShowDelay]=\"tooltipShowDelay\"\r\n (filterModified)=\"onFilterModified()\"\r\n (rowDoubleClicked)=\"onRowDClicked($event)\"\r\n (rowClicked)=\"onRowClicked($event)\"\r\n (columnVisible)=\"oncolumnEverythingChanged($event)\"\r\n (columnResized)=\"oncolumnEverythingChanged($event)\"\r\n (columnMoved)=\"oncolumnEverythingChanged($event)\"\r\n (cellValueChanged)=\"okr($event)\"\r\n (sortChanged)=\"onAfterSortChanged()\"\r\n (selectionChanged)=\"onSelectionChanged($event)\"\r\n [paginationPageSize]=\"num_per_pag\"\r\n (gridReady)=\"onReady($event)\"\r\n >\r\n </ag-grid-angular>\r\n </div>\r\n</div>\r\n", styles: [".label_elem{font-size:12px;font-weight:700}\n"], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i6$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i6$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i8.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: FHFilterComboboxComponent, selector: "FHFilterComboBox", inputs: ["init_fill", "sql", "types", "values", "hidden", "label", "enabled", "required", "sel_label", "valDef", "db_type"], outputs: ["fillend", "selchange", "initend"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i4$1.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i6.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i6.MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i6$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i6$1.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: FHGridToolBarComponent, selector: "FHGridToolBar", inputs: ["show_help", "help_label", "show_link", "elimina_label", "b_wait", "type", "toolbar_wkfapp", "custom_commands", "custom_commands_primary", "sRow"], outputs: ["command"] }, { kind: "ngmodule", type: AgGridModule }, { kind: "component", type: i12.AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "columnMenu", "suppressMenuHide", "enableBrowserTooltips", "tooltipTrigger", "tooltipShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "tooltipShowMode", "tooltipInteraction", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "suppressCutToClipboard", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "dataTypeDefinitions", "maintainColumnOrder", "enableStrictPivotColumnOrder", "suppressFieldDotNotation", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressMoveWhenColumnDragging", "suppressDragLeaveHidesColumns", "suppressGroupChangesColumnVisibility", "suppressMakeColumnVisibleAfterUnGroup", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "autoSizeStrategy", "components", "editType", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterNavigatesVertically", "enterNavigatesVerticallyAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "findSearchValue", "findOptions", "quickFilterText", "cacheQuickFilter", "includeHiddenColumnsInQuickFilter", "quickFilterParser", "quickFilterMatcher", "applyQuickFilterBeforePivotOrAgg", "excludeChildrenWhenTreeDataFiltering", "enableAdvancedFilter", "alwaysPassFilter", "includeHiddenColumnsInAdvancedFilter", "advancedFilterParent", "advancedFilterBuilderParams", "suppressAdvancedFilterEval", "suppressSetFilterByDefault", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "chartToolPanelsDef", "chartMenuItems", "loadingCellRenderer", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressTouch", "suppressFocusAfterRefresh", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "loading", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "pagination", "paginationPageSize", "paginationPageSizeSelector", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "pivotMode", "pivotPanelShow", "pivotMaxGeneratedColumns", "pivotDefaultExpanded", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "suppressAggFuncInHeader", "alwaysAggregateAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "cellFlashDuration", "cellFadeDuration", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableCellSpan", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "dragAndDropImageComponent", "dragAndDropImageComponentParams", "fullWidthCellRenderer", "fullWidthCellRendererParams", "embedFullWidthRows", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupLockGroupColumns", "groupAggFiltering", "groupTotalRow", "grandTotalRow", "suppressStickyTotalRow", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupHideParentOfSingleChild", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "groupAllowUnbalanced", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererParams", "treeData", "treeDataChildrenField", "treeDataParentIdField", "rowGroupPanelSuppressSort", "suppressGroupRowsSticky", "pinnedTopRowData", "pinnedBottomRowData", "enableRowPinning", "isRowPinnable", "isRowPinned", "rowModelType", "rowData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "suppressServerSideFullWidthLoadingRow", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideEnableClientSideSort", "serverSideOnlyRefreshFilteredGroups", "serverSidePivotResultFieldSeparator", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "cellSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellFocus", "suppressHeaderFocus", "selectionColumnDef", "rowNumbers", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "columnHoverHighlight", "gridId", "deltaSort", "treeDataDisplayType", "enableGroupEdit", "initialState", "theme", "loadThemeGoogleFonts", "themeCssLayer", "styleNonce", "themeStyleContainer", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processUnpinnedColumns", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "focusGridInnerElement", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "getLocaleText", "getDocument", "paginationNumberFormatter", "getGroupRowAgg", "isGroupOpenByDefault", "initialGroupOrderComparator", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "getChildCount", "getServerSideGroupLevelParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowId", "resetRowDataOnUpdate", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthRow"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "fillStart", "fillEnd", "filterOpened", "filterChanged", "filterModified", "advancedFilterBuilderVisibleChanged", "findChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "dragCancelled", "stateUpdated", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "rowResizeStarted", "rowResizeEnded", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pivotMaxColumnsExceeded", "pinnedRowDataChanged", "pinnedRowsChanged", "rowDataUpdated", "asyncTransactionsFlushed", "storeRefreshed", "headerFocused", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "cellSelectionChanged", "tooltipShow", "tooltipHide", "sortChanged"] }, { kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i8$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i8$1.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "directive", type: i8$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i10.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }] });
|
|
28770
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHGridInternalComponent, isStandalone: true, selector: "FHGridInternal", inputs: { flt_aggiuntivo: "flt_aggiuntivo", flt_aggiuntivo_value: "flt_aggiuntivo_value", flt_aggiuntivo_label: "flt_aggiuntivo_label", rowHeight: "rowHeight", gridCursorPointer: "gridCursorPointer", overwrite_help_url: "overwrite_help_url", over_fulltext: "over_fulltext", b_wait: "b_wait", over_fulltext_types: "over_fulltext_types", over_fulltext_values: "over_fulltext_values", over_fulltext_sql: "over_fulltext_sql", forceFitSize: "forceFitSize", tooltipShowDelay: "tooltipShowDelay", elimina_label: "elimina_label", show_selected_number: "show_selected_number", export_field_aggiuntivi: "export_field_aggiuntivi", end_point: "end_point", grid_config_key: "grid_config_key", columnDefs: "columnDefs", count_tbl_name: "count_tbl_name", search_field_tooltip: "search_field_tooltip", num_per_pag: "num_per_pag", grid_customer_preference_key: "grid_customer_preference_key", sort_field: "sort_field", fields: "fields", filters: "filters", enabled: "enabled", show_link: "show_link", show_help_bar: "show_help_bar", help_label_bar: "help_label_bar", auto_load: "auto_load", customKeyField: "customKeyField", auto_height: "auto_height", enable_export: "enable_export", enabled_pag: "enabled_pag", show_help: "show_help", show_num_elem: "show_num_elem", private_pref: "private_pref", system_dest: "system_dest", header_h: "header_h", selection_mode: "selection_mode", init_fill: "init_fill", no_pref: "no_pref", pref_hidden: "pref_hidden", enable_export_pdf: "enable_export_pdf", enable_export_xls: "enable_export_xls", translateFilterEnabled: "translateFilterEnabled", enable_copy: "enable_copy", full_text_added_columns: "full_text_added_columns", full_text_added_query: "full_text_added_query", autosize_at_ini: "autosize_at_ini", label_elementi: "label_elementi", trova_label: "trova_label", mantieni_impostazioni: "mantieni_impostazioni", show_buttons: "show_buttons", custom_export: "custom_export", toolbar_type: "toolbar_type", toolbar_wkfapp: "toolbar_wkfapp", toolbar_custom_commands: "toolbar_custom_commands", toolbar_custom_commands_primary: "toolbar_custom_commands_primary", off_set: "off_set", include_always: "include_always" }, outputs: { flt_aggiuntivo_event: "flt_aggiuntivo_event", fill_end: "fill_end", cell_edited: "cell_edited", clicked: "clicked", dclicked: "dclicked", columndclicked: "columndclicked", cell_clicked: "cell_clicked", selection_change: "selection_change", command: "command", filterCleared: "filterCleared", init_end: "init_end" }, host: { listeners: { "window:resize": "onResize(event)" } }, viewQueries: [{ propertyName: "gf", first: true, predicate: ["gf"], descendants: true }, { propertyName: "toggle_mantieni", first: true, predicate: ["toggle_mantieni"], descendants: true }], ngImport: i0, template: "<div fxLayout=\"column\" fxFlexFill>\r\n <div\r\n fxLayout=\"row\"\r\n fxLayout.xs=\"column\"\r\n fxLayoutAlign=\"center start\"\r\n fxLayoutGap=\"3px\"\r\n style=\"min-height: 55px;\"\r\n [hidden]=\"!show_buttons\"\r\n >\r\n \r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\r\n <div *ngIf=\"show_num_elem\">\r\n <h5>{{num_r}} {{label_elementi | translate}}</h5>\r\n </div>\r\n \r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <input\r\n matInput\r\n [placeholder]=\"trova_label | translate\"\r\n (keydown)=\"keyDownFunctioncl($event)\"\r\n [(ngModel)]=\"ric_libera\"\r\n [matTooltip]=\"search_field_tooltip\"\r\n style=\"\r\n width: 160px;\r\n border: 1px solid;\r\n min-height: 30px;\r\n \"\r\n />\r\n </div>\r\n <div\r\n matTooltip=\"REMOVE FILTER\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_pulisci_filtri\"\r\n >\r\n <button mat-flat-button (click)=\"pulisci_filtri()\" color=\"warn\" class=\"fh_icon_button\">\r\n <mat-icon>filter_none</mat-icon>\r\n </button>\r\n </div>\r\n <div matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\r\n <button\r\n mat-flat-button\r\n (click)=\"autoSizeAll()\"\r\n color=\"primary\" class=\"fh_icon_button\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>swap_horiz</mat-icon>\r\n </button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"FIT SIZE\" matTooltipPosition=\"above\">\r\n <button\r\n mat-flat-button\r\n (click)=\"fitSizeAll()\" class=\"fh_icon_button\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>keyboard_tab</mat-icon>\r\n </button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"Refresh\" matTooltipPosition=\"above\">\r\n <button\r\n mat-flat-button\r\n (click)=\"Refresh()\" class=\"fh_icon_button\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n <FHFilterComboBox\r\n fxHide [label]=\"'Configurazioni Salvate' | translate\"\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (selchange)=\"ch_config()\"\r\n (fillend)=\"fe_cfg()\"\r\n #gf\r\n [init_fill]=\"false\"\r\n ></FHFilterComboBox>\r\n <div\r\n matTooltip=\"Modifica Preferenza\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n mat-icon-button\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: rgb(248, 105, 10);\" class=\"fh_icon_button\"\r\n >\r\n <mat-icon (click)=\"edit_config()\">save</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n matTooltip=\"Elimina Preferenza\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n mat-icon-button class=\"fh_icon_button\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: rgb(248, 105, 10);\"\r\n >\r\n <mat-icon (click)=\"elimina_config()\">delete</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n matTooltip=\"Crea Nuova Preferenza\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-icon-button class=\"fh_icon_button\"\r\n style=\"color: rgb(16, 98, 16);\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n >\r\n <mat-icon (click)=\"insert_config()\">library_add</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <mat-slide-toggle\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (click)=\"ck_flag()\"\r\n #toggle_mantieni\r\n >\r\n {{mantieni_impostazioni}}\r\n </mat-slide-toggle>\r\n\r\n \r\n <div fxHide fxShow.gt-sm matTooltip=\"HELP\" matTooltipPosition=\"above\">\r\n <button\r\n mat-flat-button\r\n (click)=\"help_window()\"\r\n color=\"primary\" class=\"fh_icon_button\"\r\n *ngIf=\"show_buttons && show_help\"\r\n >\r\n <mat-icon>help</mat-icon>\r\n </button>\r\n </div>\r\n \r\n <div *ngIf=\"show_selected_number\">\r\n <h5>{{num_s}} {{label_elementi_s | translate}}</h5>\r\n </div>\r\n \r\n\r\n <img\r\n *ngIf=\"enable_export && enable_export_pdf\"\r\n matTooltip=\"EXPORT PDF\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/pdf.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"print()\"\r\n alt=\"Export Excel\"\r\n width=\"24\" height=\"24\"\r\n />\r\n\r\n\r\n <img *ngIf=\"enable_export && enable_export_xls\"\r\n matTooltip=\"EXPORT EXCEL\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/xlsx.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"export_excel()\"\r\n alt=\"Export Excel\"\r\n width=\"24\" height=\"24\"\r\n />\r\n\r\n <div *ngIf=\"flt_aggiuntivo.length!=0\"> </div>\r\n <mat-form-field *ngIf=\"flt_aggiuntivo.length!=0\"\r\n\r\n appearance=\"outline\"\r\n floatLabel=\"always\"\r\n ><mat-label>{{ flt_aggiuntivo_label|translate }}</mat-label>\r\n <mat-select\r\n\r\n [(ngModel)]=\"flt_aggiuntivo_value\"\r\n (selectionChange)=\"sc()\"\r\n >\r\n <mat-option value=\"{{ app.valore }}\" *ngFor=\"let app of flt_aggiuntivo\">{{\r\n app.descrizione_valore | translate\r\n }}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n \r\n <!-- <mat-spinner diameter=\"25\" *ngIf=\"loading_fulltext\"></mat-spinner> -->\r\n\r\n </div>\r\n <div\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"end center\"\r\n\r\n [style.width]=\"width_max\"\r\n *ngIf=\"enabled\"\r\n >\r\n\r\n <FHGridToolBar\r\n (command)=\"docmd($event)\"\r\n [type]=\"toolbar_type\"\r\n [show_link]=\"show_link\"\r\n [show_help]=\"show_help_bar\"\r\n [help_label]=\"help_label_bar\"\r\n [custom_commands]=\"toolbar_custom_commands\"\r\n [custom_commands_primary]=\"toolbar_custom_commands_primary\"\r\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\r\n [elimina_label]=\"elimina_label\"\r\n [b_wait]=\"b_wait\"\r\n [sRow]=\"sRow\"\r\n ></FHGridToolBar>\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" style=\"width: 100%;\" [fxFlex]=\"show_buttons ? 100:95\">\r\n <ag-grid-angular\r\n ref-agGrid\r\n style=\"width: 100%; height: 100%;\"\r\n id=\"myGrid\"\r\n (cellDoubleClicked)=\"onColumnEvent($event)\"\r\n (cellClicked)=\"onCellClicked($event)\"\r\n [headerHeight]=\"header_h\"\r\n [groupHeaderHeight]=\"header_h\"\r\n class=\"ag-theme-quartz\"\r\n [singleClickEdit]=\"true\"\r\n [gridOptions]=\"gridOptions\"\r\n [columnDefs]=\"columnDefs\"\r\n [rowSelection]=\"(selection_mode||{\r\n mode: 'multiRow'\r\n })\"\r\n [tooltipShowDelay]=\"tooltipShowDelay\"\r\n (filterModified)=\"onFilterModified()\"\r\n (rowDoubleClicked)=\"onRowDClicked($event)\"\r\n (rowClicked)=\"onRowClicked($event)\"\r\n (columnVisible)=\"oncolumnEverythingChanged($event)\"\r\n (columnResized)=\"oncolumnEverythingChanged($event)\"\r\n (columnMoved)=\"oncolumnEverythingChanged($event)\"\r\n (cellValueChanged)=\"okr($event)\"\r\n (sortChanged)=\"onAfterSortChanged()\"\r\n (selectionChanged)=\"onSelectionChanged($event)\"\r\n [paginationPageSize]=\"num_per_pag\"\r\n (gridReady)=\"onReady($event)\"\r\n >\r\n </ag-grid-angular>\r\n </div>\r\n</div>\r\n", styles: [".label_elem{font-size:12px;font-weight:700}\n"], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i6$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i6$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i8.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: FHFilterComboboxComponent, selector: "FHFilterComboBox", inputs: ["init_fill", "sql", "types", "values", "hidden", "label", "enabled", "required", "sel_label", "valDef", "db_type"], outputs: ["fillend", "selchange", "initend"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i4$1.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i6.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i6.MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i6$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i6$1.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: FHGridToolBarComponent, selector: "FHGridToolBar", inputs: ["show_help", "help_label", "show_link", "elimina_label", "b_wait", "type", "toolbar_wkfapp", "custom_commands", "custom_commands_primary", "sRow"], outputs: ["command"] }, { kind: "ngmodule", type: AgGridModule }, { kind: "component", type: i12.AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "columnMenu", "suppressMenuHide", "enableBrowserTooltips", "tooltipTrigger", "tooltipShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "tooltipShowMode", "tooltipInteraction", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "suppressCutToClipboard", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "dataTypeDefinitions", "maintainColumnOrder", "enableStrictPivotColumnOrder", "suppressFieldDotNotation", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressMoveWhenColumnDragging", "suppressDragLeaveHidesColumns", "suppressGroupChangesColumnVisibility", "suppressMakeColumnVisibleAfterUnGroup", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "autoSizeStrategy", "components", "editType", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterNavigatesVertically", "enterNavigatesVerticallyAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "findSearchValue", "findOptions", "quickFilterText", "cacheQuickFilter", "includeHiddenColumnsInQuickFilter", "quickFilterParser", "quickFilterMatcher", "applyQuickFilterBeforePivotOrAgg", "excludeChildrenWhenTreeDataFiltering", "enableAdvancedFilter", "alwaysPassFilter", "includeHiddenColumnsInAdvancedFilter", "advancedFilterParent", "advancedFilterBuilderParams", "suppressAdvancedFilterEval", "suppressSetFilterByDefault", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "chartToolPanelsDef", "chartMenuItems", "loadingCellRenderer", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressTouch", "suppressFocusAfterRefresh", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "loading", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "pagination", "paginationPageSize", "paginationPageSizeSelector", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "pivotMode", "pivotPanelShow", "pivotMaxGeneratedColumns", "pivotDefaultExpanded", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "suppressAggFuncInHeader", "alwaysAggregateAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "cellFlashDuration", "cellFadeDuration", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableCellSpan", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "dragAndDropImageComponent", "dragAndDropImageComponentParams", "fullWidthCellRenderer", "fullWidthCellRendererParams", "embedFullWidthRows", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupLockGroupColumns", "groupAggFiltering", "groupTotalRow", "grandTotalRow", "suppressStickyTotalRow", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupHideParentOfSingleChild", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "groupAllowUnbalanced", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererParams", "treeData", "treeDataChildrenField", "treeDataParentIdField", "rowGroupPanelSuppressSort", "suppressGroupRowsSticky", "pinnedTopRowData", "pinnedBottomRowData", "enableRowPinning", "isRowPinnable", "isRowPinned", "rowModelType", "rowData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "suppressServerSideFullWidthLoadingRow", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideEnableClientSideSort", "serverSideOnlyRefreshFilteredGroups", "serverSidePivotResultFieldSeparator", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "cellSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellFocus", "suppressHeaderFocus", "selectionColumnDef", "rowNumbers", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "columnHoverHighlight", "gridId", "deltaSort", "treeDataDisplayType", "enableGroupEdit", "initialState", "theme", "loadThemeGoogleFonts", "themeCssLayer", "styleNonce", "themeStyleContainer", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processUnpinnedColumns", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "focusGridInnerElement", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "getLocaleText", "getDocument", "paginationNumberFormatter", "getGroupRowAgg", "isGroupOpenByDefault", "initialGroupOrderComparator", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "getChildCount", "getServerSideGroupLevelParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowId", "resetRowDataOnUpdate", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthRow"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "fillStart", "fillEnd", "filterOpened", "filterChanged", "filterModified", "advancedFilterBuilderVisibleChanged", "findChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "dragCancelled", "stateUpdated", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "rowResizeStarted", "rowResizeEnded", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pivotMaxColumnsExceeded", "pinnedRowDataChanged", "pinnedRowsChanged", "rowDataUpdated", "asyncTransactionsFlushed", "storeRefreshed", "headerFocused", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "cellSelectionChanged", "tooltipShow", "tooltipHide", "sortChanged"] }, { kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i8$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i8$1.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "directive", type: i8$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i10.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }] });
|
|
28763
28771
|
}
|
|
28764
28772
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHGridInternalComponent, decorators: [{
|
|
28765
28773
|
type: Component,
|
|
@@ -28811,7 +28819,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
28811
28819
|
type: Input
|
|
28812
28820
|
}], end_point: [{
|
|
28813
28821
|
type: Input
|
|
28814
|
-
}],
|
|
28822
|
+
}], grid_config_key: [{
|
|
28815
28823
|
type: Input
|
|
28816
28824
|
}], columnDefs: [{
|
|
28817
28825
|
type: Input
|
|
@@ -28821,7 +28829,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
28821
28829
|
type: Input
|
|
28822
28830
|
}], num_per_pag: [{
|
|
28823
28831
|
type: Input
|
|
28824
|
-
}],
|
|
28832
|
+
}], grid_customer_preference_key: [{
|
|
28825
28833
|
type: Input
|
|
28826
28834
|
}], sort_field: [{
|
|
28827
28835
|
type: Input
|
|
@@ -29037,8 +29045,8 @@ class win_recupera_doc_v2 {
|
|
|
29037
29045
|
(dclicked)="edit($event)"
|
|
29038
29046
|
g_width="100%"
|
|
29039
29047
|
g_height="100%"
|
|
29040
|
-
|
|
29041
|
-
|
|
29048
|
+
grid_config_key="wkf_documents"
|
|
29049
|
+
grid_customer_preference_key="r_wkf_documents"
|
|
29042
29050
|
sort_field="codice desc"
|
|
29043
29051
|
[off_set]="50"
|
|
29044
29052
|
fields="*"
|
|
@@ -29059,7 +29067,7 @@ class win_recupera_doc_v2 {
|
|
|
29059
29067
|
</div>
|
|
29060
29068
|
</mat-dialog-actions>
|
|
29061
29069
|
</div>
|
|
29062
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$2.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: FHGridInternalComponent, selector: "FHGridInternal", inputs: ["flt_aggiuntivo", "flt_aggiuntivo_value", "flt_aggiuntivo_label", "rowHeight", "gridCursorPointer", "overwrite_help_url", "over_fulltext", "b_wait", "over_fulltext_types", "over_fulltext_values", "over_fulltext_sql", "forceFitSize", "tooltipShowDelay", "elimina_label", "show_selected_number", "export_field_aggiuntivi", "end_point", "
|
|
29070
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$2.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: FHGridInternalComponent, selector: "FHGridInternal", inputs: ["flt_aggiuntivo", "flt_aggiuntivo_value", "flt_aggiuntivo_label", "rowHeight", "gridCursorPointer", "overwrite_help_url", "over_fulltext", "b_wait", "over_fulltext_types", "over_fulltext_values", "over_fulltext_sql", "forceFitSize", "tooltipShowDelay", "elimina_label", "show_selected_number", "export_field_aggiuntivi", "end_point", "grid_config_key", "columnDefs", "count_tbl_name", "search_field_tooltip", "num_per_pag", "grid_customer_preference_key", "sort_field", "fields", "filters", "enabled", "show_link", "show_help_bar", "help_label_bar", "auto_load", "customKeyField", "auto_height", "enable_export", "enabled_pag", "show_help", "show_num_elem", "private_pref", "system_dest", "header_h", "selection_mode", "init_fill", "no_pref", "pref_hidden", "enable_export_pdf", "enable_export_xls", "translateFilterEnabled", "enable_copy", "full_text_added_columns", "full_text_added_query", "autosize_at_ini", "label_elementi", "trova_label", "mantieni_impostazioni", "show_buttons", "custom_export", "toolbar_type", "toolbar_wkfapp", "toolbar_custom_commands", "toolbar_custom_commands_primary", "off_set", "include_always"], outputs: ["flt_aggiuntivo_event", "fill_end", "cell_edited", "clicked", "dclicked", "columndclicked", "cell_clicked", "selection_change", "command", "filterCleared", "init_end"] }] });
|
|
29063
29071
|
}
|
|
29064
29072
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: win_recupera_doc_v2, decorators: [{
|
|
29065
29073
|
type: Component,
|
|
@@ -29105,8 +29113,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
29105
29113
|
(dclicked)="edit($event)"
|
|
29106
29114
|
g_width="100%"
|
|
29107
29115
|
g_height="100%"
|
|
29108
|
-
|
|
29109
|
-
|
|
29116
|
+
grid_config_key="wkf_documents"
|
|
29117
|
+
grid_customer_preference_key="r_wkf_documents"
|
|
29110
29118
|
sort_field="codice desc"
|
|
29111
29119
|
[off_set]="50"
|
|
29112
29120
|
fields="*"
|
|
@@ -29734,9 +29742,9 @@ class FHWorkflowView {
|
|
|
29734
29742
|
att_panelcat = ''; //descrizione breve
|
|
29735
29743
|
documento_pubblico = false;
|
|
29736
29744
|
titolo_email = '';
|
|
29737
|
-
|
|
29745
|
+
grid_config_key = ''; //vista sql (grid configuration key)
|
|
29738
29746
|
app_root = '';
|
|
29739
|
-
|
|
29747
|
+
grid_customer_preference_key = ''; //grid user preferences key
|
|
29740
29748
|
m_id_Doc = '';
|
|
29741
29749
|
livs = [];
|
|
29742
29750
|
user_idp = null;
|
|
@@ -30549,8 +30557,8 @@ class FHWorkflowView {
|
|
|
30549
30557
|
this.app_s.getState().wkf_obj.att_panelcat = this.att_panelcat;
|
|
30550
30558
|
this.app_s.getState().wkf_obj.documento_pubblico = this.documento_pubblico;
|
|
30551
30559
|
this.app_s.getState().wkf_obj.titolo_email = this.titolo_email;
|
|
30552
|
-
this.app_s.getState().wkf_obj.
|
|
30553
|
-
this.app_s.getState().wkf_obj.
|
|
30560
|
+
this.app_s.getState().wkf_obj.grid_config_key = this.grid_config_key;
|
|
30561
|
+
this.app_s.getState().wkf_obj.grid_customer_preference_key = this.grid_customer_preference_key;
|
|
30554
30562
|
this.app_s.getState().wkf_obj.m_id_Doc = this.m_id_Doc;
|
|
30555
30563
|
this.app_s.getState().wkf_obj.livs = this.livs;
|
|
30556
30564
|
this.app_s.getState().wkf_obj.user_idp = this.user_idp;
|
|
@@ -30569,8 +30577,8 @@ class FHWorkflowView {
|
|
|
30569
30577
|
this.att_panelcat = this.app_s.getState().wkf_obj.att_panelcat;
|
|
30570
30578
|
this.documento_pubblico = this.app_s.getState().wkf_obj.documento_pubblico;
|
|
30571
30579
|
this.titolo_email = this.app_s.getState().wkf_obj.titolo_email;
|
|
30572
|
-
this.
|
|
30573
|
-
this.
|
|
30580
|
+
this.grid_config_key = this.app_s.getState().wkf_obj.grid_config_key;
|
|
30581
|
+
this.grid_customer_preference_key = this.app_s.getState().wkf_obj.grid_customer_preference_key;
|
|
30574
30582
|
this.m_id_Doc = this.app_s.getState().wkf_obj.m_id_Doc;
|
|
30575
30583
|
this.livs = this.app_s.getState().wkf_obj.livs;
|
|
30576
30584
|
this.user_idp = this.app_s.getState().wkf_obj.user_idp;
|
|
@@ -30650,8 +30658,8 @@ class FHWorkflowView {
|
|
|
30650
30658
|
this.att_panelcat = a_conf[0].descrizione_breve; //descrizione breve
|
|
30651
30659
|
this.documento_pubblico = a_conf[0].pubblico;
|
|
30652
30660
|
this.titolo_email = '[' + a_conf[0].descrizione_breve + ']';
|
|
30653
|
-
this.
|
|
30654
|
-
this.
|
|
30661
|
+
this.grid_config_key = a_conf[0].vista_sql; //vista sql (grid configuration key)
|
|
30662
|
+
this.grid_customer_preference_key = this.app_s.COMPANY_KEY + a_conf[0].vista_sql; //grid user preferences key
|
|
30655
30663
|
if (this.app_s.user)
|
|
30656
30664
|
this.user_idp = this.app_s.user;
|
|
30657
30665
|
if (this.app_s.user_name)
|
|
@@ -33752,6 +33760,9 @@ class FHWorkflowForm {
|
|
|
33752
33760
|
next_label = 'Procedi';
|
|
33753
33761
|
next_label_color = '#000000';
|
|
33754
33762
|
next_back_ground_color = '#ffd740';
|
|
33763
|
+
reject_label = 'Respingi';
|
|
33764
|
+
reject_label_color = '#FFFFFF';
|
|
33765
|
+
reject_back_ground_color = '#f44336';
|
|
33755
33766
|
b_init_next = false;
|
|
33756
33767
|
sort_field = '';
|
|
33757
33768
|
ripristina_imp() {
|
|
@@ -35764,6 +35775,10 @@ class FHWorkflowForm {
|
|
|
35764
35775
|
this.next_label_color = data.result_data[0].next_label_color;
|
|
35765
35776
|
this.next_back_ground_color =
|
|
35766
35777
|
data.result_data[0].next_back_ground_color;
|
|
35778
|
+
this.reject_label = data.result_data[0].reject_label || 'Respingi';
|
|
35779
|
+
this.reject_label_color = data.result_data[0].reject_label_color || '#FFFFFF';
|
|
35780
|
+
this.reject_back_ground_color =
|
|
35781
|
+
data.result_data[0].reject_back_ground_color || '#f44336';
|
|
35767
35782
|
}
|
|
35768
35783
|
this.b_init_next = true;
|
|
35769
35784
|
}
|
|
@@ -36147,9 +36162,12 @@ class FHWorkflowHeaderBar {
|
|
|
36147
36162
|
(click)="respingi()"
|
|
36148
36163
|
*ngIf="edit_button && respingi_button && !in_carico"
|
|
36149
36164
|
style="font-weight:bold"
|
|
36150
|
-
color="
|
|
36165
|
+
[style.background-color]="
|
|
36166
|
+
dt_agg.reject_back_ground_color + ' !important'
|
|
36167
|
+
"
|
|
36168
|
+
[style.color]="dt_agg.reject_label_color + ' !important'"
|
|
36151
36169
|
>
|
|
36152
|
-
{{
|
|
36170
|
+
{{ (dt_agg.reject_label||'Respingi') | translate }}
|
|
36153
36171
|
</button>
|
|
36154
36172
|
|
|
36155
36173
|
<button
|
|
@@ -36377,9 +36395,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
36377
36395
|
(click)="respingi()"
|
|
36378
36396
|
*ngIf="edit_button && respingi_button && !in_carico"
|
|
36379
36397
|
style="font-weight:bold"
|
|
36380
|
-
color="
|
|
36398
|
+
[style.background-color]="
|
|
36399
|
+
dt_agg.reject_back_ground_color + ' !important'
|
|
36400
|
+
"
|
|
36401
|
+
[style.color]="dt_agg.reject_label_color + ' !important'"
|
|
36381
36402
|
>
|
|
36382
|
-
{{
|
|
36403
|
+
{{ (dt_agg.reject_label||'Respingi') | translate }}
|
|
36383
36404
|
</button>
|
|
36384
36405
|
|
|
36385
36406
|
<button
|