@fluxhub/fluxhub-lib 19.0.127 → 19.0.129

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.
@@ -9127,10 +9127,18 @@ class FHGridComponent {
9127
9127
  elimina_label = 'ELIMINA';
9128
9128
  export_field_aggiuntivi = '';
9129
9129
  end_point = '';
9130
- tbl_name = '';
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
- grid_key = 'PRO_H';
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.grid_key + '_POS') != null) {
9214
+ if (localStorage.getItem(this.grid_customer_preference_key + '_POS') != null) {
9207
9215
  if (this.gridApi)
9208
- this.gridApi.ensureIndexVisible(parseInt(localStorage.getItem(this.grid_key + '_POS') || '0'));
9209
- localStorage.removeItem(this.grid_key + '_POS');
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.grid_key + '_MANTIENI', 'SI');
9229
+ localStorage.setItem(this.grid_customer_preference_key + '_MANTIENI', 'SI');
9222
9230
  }
9223
9231
  else {
9224
- localStorage.setItem(this.grid_key + '_MANTIENI', 'NO');
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.grid_key + '_COLS');
9245
- localStorage.removeItem(this.grid_key + '_FILTER');
9246
- localStorage.removeItem(this.grid_key + '_CFG_DEFAULT');
9247
- localStorage.removeItem(this.grid_key + '_FILTER_UP');
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.grid_key + '_COLS', this.gf.getObj().COL);
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.grid_key + "_SORT", this.gf.getObj().SORT);
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.grid_key + '_FILTER', this.gf.getObj().FILTER);
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.grid_key + '_CFG_DEFAULT', this.gf.getDescri() || '');
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.grid_key];
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.grid_key];
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.grid_key + '_COLS') != null)
9328
- p_col = localStorage.getItem(this.grid_key + '_COLS');
9329
- // if (localStorage.getItem(this.grid_key + "_SORT") != null)
9330
- // p_sort = localStorage.getItem(this.grid_key + "_SORT");
9331
- if (localStorage.getItem(this.grid_key + '_FILTER') != null)
9332
- p_filter = localStorage.getItem(this.grid_key + '_FILTER');
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.grid_key,
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.grid_key];
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.grid_key + '_COLS') != null)
9398
- p_col = localStorage.getItem(this.grid_key + '_COLS');
9399
- // if (localStorage.getItem(this.grid_key + "_SORT") != null)
9400
- // p_sort = localStorage.getItem(this.grid_key + "_SORT");
9401
- if (localStorage.getItem(this.grid_key + '_FILTER') != null)
9402
- p_filter = localStorage.getItem(this.grid_key + '_FILTER');
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.grid_key,
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.grid_key];
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.tbl_name };
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.grid_key + '_POS1', JSON.stringify(p));
9492
- if (localStorage.getItem(this.grid_key + '_POS2') != null)
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.grid_key + '_POS2')) {
9505
+ localStorage.getItem(this.grid_customer_preference_key + '_POS2')) {
9498
9506
  node.setSelected(true);
9499
- localStorage.removeItem(this.grid_key + '_POS2');
9500
- if (localStorage.getItem(this.grid_key + '_LAST_ROW') !=
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.grid_key + '_LAST_ROW') || '{}');
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.grid_key + '_LAST_ROW');
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.grid_key + '_COLS') == null &&
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.grid_key == 'PRO_H')
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.grid_key + '_FILTER_UP') != null)
9789
+ if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER_UP') != null)
9782
9790
  this.ric_libera =
9783
- localStorage.getItem(this.grid_key + '_FILTER_UP') || '';
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.grid_key + '_FILTER');
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.grid_key + '_FILTER_UP');
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.grid_key + '_MANTIENI') != null)
9946
- if (localStorage.getItem(this.grid_key + '_MANTIENI') == 'NO') {
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.grid_key + '_POS') != null)
9959
+ if (localStorage.getItem(this.grid_customer_preference_key + '_POS') != null)
9952
9960
  this.b_restored = true;
9953
- if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null)
9954
- if (localStorage.getItem(this.grid_key + '_FILTER_UP') != '') {
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.grid_key + '_FILTER_UP') || '';
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.grid_key + '_COLS') || '') == '') {
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.grid_key + '_COLS') || '[]');
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.grid_key + '_COLS');
10073
+ localStorage.getItem(this.grid_customer_preference_key + '_COLS');
10066
10074
  else {
10067
- if (localStorage.getItem(this.grid_key + '_COLS'))
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.grid_key + '_COLS') || '{}'),
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.grid_key + '_FILTER') != null &&
10088
+ if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != null &&
10081
10089
  (b_mantieni_ck || forza))
10082
- if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
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.grid_key + '_FILTER') || ''));
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.grid_key];
10133
+ this.gf.values = [this.grid_customer_preference_key];
10126
10134
  this.gf.fillCombo();
10127
- if (localStorage.getItem(this.grid_key + '_MANTIENI') != 'NO')
10128
- if (localStorage.getItem(this.grid_key + '_CFG_DEFAULT') != null) {
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.grid_key + '_COLS', JSON.stringify(this.gridApi.getColumnState()));
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.grid_key + '_MANTIENI') != 'NO') {
10147
- this.gf.setByDescri(localStorage.getItem(this.grid_key + '_CFG_DEFAULT') || '');
10148
- localStorage.setItem(this.grid_key + '_COLS', this.gf.getObj().COLS);
10149
- // localStorage.setItem(this.grid_key + "_SORT", this.gf.getObj().SORT);
10150
- localStorage.setItem(this.grid_key + '_FILTER', this.gf.getObj().FILTER);
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.grid_key + '_FILTER_UP');
10185
+ localStorage.removeItem(this.grid_customer_preference_key + '_FILTER_UP');
10178
10186
  return;
10179
10187
  }
10180
- localStorage.setItem(this.grid_key + '_FILTER_UP', this.ric_libera);
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.grid_key + '_COLS', JSON.stringify(this.gridApi.getColumnState()));
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.grid_key + '_FILTER', JSON.stringify(this.gridApi.getFilterModel()));
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.grid_key + '_COLS', JSON.stringify(this.gridApi.getColumnState()));
10301
+ localStorage.setItem(this.grid_customer_preference_key + '_COLS', JSON.stringify(this.gridApi.getColumnState()));
10294
10302
  /*
10295
10303
 
10296
10304
  localStorage.setItem(
10297
- this.grid_key + "_SORT",
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.grid_key + '_POS', String(selectedInGrid[0].rowIndex));
10322
+ localStorage.setItem(this.grid_customer_preference_key + '_POS', String(selectedInGrid[0].rowIndex));
10315
10323
  if (this.gridApi)
10316
- localStorage.setItem(this.grid_key + '_POS_BAR', JSON.stringify(this.gridApi.getVerticalPixelRange()));
10317
- localStorage.setItem(this.grid_key + '_POS2', this.getRowId(selectedInGrid[0]));
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.grid_key+'_NODE']=this.gridApi.getSelectedRows[0];
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.grid_key + '_LAST_ROW', JSON.stringify(this.sRow));
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.grid_key+'_COLUMN',JSON.stringify(this.gridApi.getColumnDef()));
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 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\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}}&nbsp;{{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 &nbsp;&nbsp;&nbsp;\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 &nbsp;&nbsp;&nbsp;&nbsp;\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 &nbsp;\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 &nbsp;&nbsp;&nbsp;&nbsp;\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 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\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 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\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}}&nbsp;{{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 &nbsp;&nbsp;&nbsp;\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 &nbsp;&nbsp;&nbsp;&nbsp;\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 &nbsp;\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 &nbsp;&nbsp;&nbsp;&nbsp;\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 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\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
- }], tbl_name: [{
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
- }], grid_key: [{
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
- tbl_name="v_logs"
10924
- [grid_key]="'v_logs_' + data.App"
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", "tbl_name", "columnDefs", "num_per_pag", "grid_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"] }] });
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
- tbl_name="v_logs"
10979
- [grid_key]="'v_logs_' + data.App"
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
- tbl_name = '';
11377
+ grid_config_key = '';
11370
11378
  columnDefs = [];
11371
11379
  count_tbl_name = '';
11372
11380
  num_per_pag = 5000;
11373
- grid_key = 'PRO_H';
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.grid_key + '_POS') != null &&
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.grid_key + '_POS') || '0'));
11407
- localStorage.removeItem(this.grid_key + '_POS');
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.grid_key + '_MANTIENI', 'SI');
11427
+ localStorage.setItem(this.grid_customer_preference_key + '_MANTIENI', 'SI');
11420
11428
  }
11421
11429
  else {
11422
- localStorage.setItem(this.grid_key + '_MANTIENI', 'NO');
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.grid_key + '_COLS');
11439
- localStorage.removeItem(this.grid_key + '_SORT');
11440
- localStorage.removeItem(this.grid_key + '_FILTER');
11441
- localStorage.removeItem(this.grid_key + '_CFG_DEFAULT');
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.grid_key + '_COLS', this.gf.getObj().COL);
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.grid_key + '_SORT', this.gf.getObj().SORT);
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.grid_key + '_FILTER', this.gf.getObj().FILTER);
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.grid_key + '_CFG_DEFAULT', this.gf.getDescri() || '');
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.grid_key + '_COLS') != null)
11482
- p_col = localStorage.getItem(this.grid_key + '_COLS');
11483
- if (localStorage.getItem(this.grid_key + '_SORT') != null)
11484
- p_sort = localStorage.getItem(this.grid_key + '_SORT');
11485
- if (localStorage.getItem(this.grid_key + '_FILTER') != null)
11486
- p_filter = localStorage.getItem(this.grid_key + '_FILTER');
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.grid_key,
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.grid_key];
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.grid_key + '_COLS') != null)
11536
- p_col = localStorage.getItem(this.grid_key + '_COLS');
11537
- if (localStorage.getItem(this.grid_key + '_SORT') != null)
11538
- p_sort = localStorage.getItem(this.grid_key + '_SORT');
11539
- if (localStorage.getItem(this.grid_key + '_FILTER') != null)
11540
- p_filter = localStorage.getItem(this.grid_key + '_FILTER');
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.grid_key,
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.grid_key];
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.grid_key + '_FILTER');
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.grid_key + '_MANTIENI') != null)
11939
- if (localStorage.getItem(this.grid_key + '_MANTIENI') == 'NO') {
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.grid_key + '_POS') != null)
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.grid_key + '_COLS') != null &&
11965
+ if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') != null &&
11958
11966
  (b_mantieni_ck || forza))
11959
- if (localStorage.getItem(this.grid_key + '_COLS') != '') {
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.grid_key + '_COLS') || '{}'));
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.grid_key + '_SORT') != null &&
11982
+ if (localStorage.getItem(this.grid_customer_preference_key + '_SORT') != null &&
11975
11983
  (b_mantieni_ck || forza))
11976
- if (localStorage.getItem(this.grid_key + '_SORT') != '') {
11984
+ if (localStorage.getItem(this.grid_customer_preference_key + '_SORT') != '') {
11977
11985
  try {
11978
- this.getGridApi().setSortModel(JSON.parse(localStorage.getItem(this.grid_key + '_SORT') || '{}'));
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.grid_key + '_FILTER') != null &&
11996
+ if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != null &&
11989
11997
  (b_mantieni_ck || forza))
11990
- if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
11998
+ if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != '') {
11991
11999
  try {
11992
- this.getGridApi().setFilterModel(JSON.parse(localStorage.getItem(this.grid_key + '_FILTER') || '{}'));
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.tbl_name)
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.grid_key];
12045
+ this.gf.values = [this.grid_customer_preference_key];
12038
12046
  this.gf.fillCombo();
12039
- if (localStorage.getItem(this.grid_key + '_MANTIENI') != 'NO')
12040
- if (localStorage.getItem(this.grid_key + '_CFG_DEFAULT') != null) {
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.grid_key + '_COLS', JSON.stringify(this.gridOptions.columnApi.getColumnState()));
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.grid_key + '_MANTIENI') != 'NO') {
12056
- this.gf.setByDescri(localStorage.getItem(this.grid_key + '_CFG_DEFAULT') || '');
12057
- localStorage.setItem(this.grid_key + '_COL', this.gf.getObj().COLS);
12058
- localStorage.setItem(this.grid_key + '_SORT', this.gf.getObj().SORT);
12059
- localStorage.setItem(this.grid_key + '_FILTER', this.gf.getObj().FILTER);
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.grid_key + '_COLS', JSON.stringify(this.gridOptions.columnApi.getColumnState()));
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.grid_key + '_POS');
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.grid_key + '_FILTER', JSON.stringify(this.gridOptions.api.getFilterModel()));
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.grid_key + '_FILTER', JSON.stringify(this.gridOptions.api.getFilterModel()));
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.grid_key + '_SORT', JSON.stringify(this.getGridApi().getSortModel()));
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.grid_key + '_POS', String(selectedInGrid[0].rowIndex));
12184
+ localStorage.setItem(this.grid_customer_preference_key + '_POS', String(selectedInGrid[0].rowIndex));
12177
12185
  if (this.gridOptions.api)
12178
- localStorage.setItem(this.grid_key + '_POS_BAR', JSON.stringify(this.gridOptions.api.getVerticalPixelRange()));
12179
- localStorage.setItem(this.grid_key + '_POS2', this.getRowId(selectedInGrid[0]));
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.grid_key+'_NODE']=this.gridOptions.api.getSelectedRows[0];
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: { tbl_name: "tbl_name", columnDefs: "columnDefs", count_tbl_name: "count_tbl_name", num_per_pag: "num_per_pag", grid_key: "grid_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: `
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: { tbl_name: [{
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
- }], grid_key: [{
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
- tbl_name="logs"
13175
- grid_key="logs"
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", "tbl_name", "columnDefs", "num_per_pag", "grid_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"] }] });
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
- tbl_name="logs"
13198
- grid_key="logs"
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>
@@ -14881,6 +14889,13 @@ class FHColorPickerComponent {
14881
14889
  registerOnTouched(fn) {
14882
14890
  this.onTouched = fn;
14883
14891
  }
14892
+ /**
14893
+ * Ritorna il colore selezionato in formato stringa esadecimale
14894
+ * @returns Stringa esadecimale nel formato #RRGGBB o #RRGGBBAA
14895
+ */
14896
+ toHexString() {
14897
+ return this._color;
14898
+ }
14884
14899
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHColorPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14885
14900
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHColorPickerComponent, isStandalone: true, selector: "FHColorPicker", inputs: { hidden: "hidden", enabled: "enabled", color: "color" }, outputs: { change: "change", colorChange: "colorChange" }, providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$3], ngImport: i0, template: `
14886
14901
  <div
@@ -23012,7 +23027,7 @@ class FHWinSelectByGridComponent {
23012
23027
  columnDefs = [];
23013
23028
  system_dest = 1;
23014
23029
  title = '';
23015
- tbl_name = '';
23030
+ grid_config_key = '';
23016
23031
  tbl_flt = '';
23017
23032
  constructor(dialogRef, _dataService, toastr, apps, data, _trs) {
23018
23033
  this.dialogRef = dialogRef;
@@ -24054,8 +24069,8 @@ class FHWinShowLog {
24054
24069
  [tooltipShowDelay]="0"
24055
24070
  [columnDefs]="columnDefs"
24056
24071
  (dclicked)="show_descri()"
24057
- tbl_name="v_logs"
24058
- grid_key="logs_V112"
24072
+ grid_config_key="v_logs"
24073
+ grid_customer_preference_key="logs_V112"
24059
24074
  (init_end)="ie()"
24060
24075
  (cell_clicked)="cce($event)"
24061
24076
  sort_field="data desc"
@@ -24065,7 +24080,7 @@ class FHWinShowLog {
24065
24080
  </div>
24066
24081
  </mat-dialog-content>
24067
24082
  </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", "tbl_name", "columnDefs", "num_per_pag", "grid_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"] }] });
24083
+ `, 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
24084
  }
24070
24085
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHWinShowLog, decorators: [{
24071
24086
  type: Component,
@@ -24111,8 +24126,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
24111
24126
  [tooltipShowDelay]="0"
24112
24127
  [columnDefs]="columnDefs"
24113
24128
  (dclicked)="show_descri()"
24114
- tbl_name="v_logs"
24115
- grid_key="logs_V112"
24129
+ grid_config_key="v_logs"
24130
+ grid_customer_preference_key="logs_V112"
24116
24131
  (init_end)="ie()"
24117
24132
  (cell_clicked)="cce($event)"
24118
24133
  sort_field="data desc"
@@ -26917,13 +26932,13 @@ class FHGridInternalComponent {
26917
26932
  show_selected_number = false;
26918
26933
  export_field_aggiuntivi = '';
26919
26934
  end_point = null;
26920
- tbl_name = '';
26935
+ grid_config_key = '';
26921
26936
  columnDefs = [];
26922
26937
  count_tbl_name = '';
26923
26938
  search_field_tooltip = '';
26924
26939
  loading_fulltext = false;
26925
26940
  num_per_pag = 0;
26926
- grid_key = 'PRO_H';
26941
+ grid_customer_preference_key = 'PRO_H';
26927
26942
  sort_field = '';
26928
26943
  fields = '*';
26929
26944
  filters = '1=1';
@@ -27017,10 +27032,10 @@ class FHGridInternalComponent {
27017
27032
  return;
27018
27033
  this.b_ensure = true;
27019
27034
  try {
27020
- if (localStorage.getItem(this.grid_key + '_POS') != null) {
27035
+ if (localStorage.getItem(this.grid_customer_preference_key + '_POS') != null) {
27021
27036
  if (this.gridApi)
27022
- this.gridApi.ensureIndexVisible(parseInt(localStorage.getItem(this.grid_key + '_POS') || '0'));
27023
- localStorage.removeItem(this.grid_key + '_POS');
27037
+ this.gridApi.ensureIndexVisible(parseInt(localStorage.getItem(this.grid_customer_preference_key + '_POS') || '0'));
27038
+ localStorage.removeItem(this.grid_customer_preference_key + '_POS');
27024
27039
  }
27025
27040
  }
27026
27041
  catch (e) {
@@ -27032,10 +27047,10 @@ class FHGridInternalComponent {
27032
27047
  setTimeout(() => {
27033
27048
  if (this.toggle_mantieni)
27034
27049
  if (this.toggle_mantieni.checked) {
27035
- localStorage.setItem(this.grid_key + '_MANTIENI', 'SI');
27050
+ localStorage.setItem(this.grid_customer_preference_key + '_MANTIENI', 'SI');
27036
27051
  }
27037
27052
  else {
27038
- localStorage.setItem(this.grid_key + '_MANTIENI', 'NO');
27053
+ localStorage.setItem(this.grid_customer_preference_key + '_MANTIENI', 'NO');
27039
27054
  }
27040
27055
  }, 100);
27041
27056
  }
@@ -27055,26 +27070,26 @@ class FHGridInternalComponent {
27055
27070
  this.curr_config = this.gf.getValue();
27056
27071
  if (this.curr_config == '-1')
27057
27072
  return;
27058
- localStorage.removeItem(this.grid_key + '_COLS');
27059
- // localStorage.removeItem(this.grid_key + "_SORT");
27060
- localStorage.removeItem(this.grid_key + '_FILTER');
27061
- localStorage.removeItem(this.grid_key + '_CFG_DEFAULT');
27062
- localStorage.removeItem(this.grid_key + '_FILTER_UP');
27073
+ localStorage.removeItem(this.grid_customer_preference_key + '_COLS');
27074
+ // localStorage.removeItem(this.grid_customer_preference_key + "_SORT");
27075
+ localStorage.removeItem(this.grid_customer_preference_key + '_FILTER');
27076
+ localStorage.removeItem(this.grid_customer_preference_key + '_CFG_DEFAULT');
27077
+ localStorage.removeItem(this.grid_customer_preference_key + '_FILTER_UP');
27063
27078
  if (this.gf)
27064
27079
  if (this.gf.getObj().COL != null)
27065
27080
  if (this.gf.getObj().COL != '')
27066
- localStorage.setItem(this.grid_key + '_COLS', this.gf.getObj().COL);
27081
+ localStorage.setItem(this.grid_customer_preference_key + '_COLS', this.gf.getObj().COL);
27067
27082
  // if (this.gf.getObj().SORT != null)
27068
27083
  // if (this.gf.getObj().SORT != "")
27069
- // localStorage.setItem(this.grid_key + "_SORT", this.gf.getObj().SORT);
27084
+ // localStorage.setItem(this.grid_customer_preference_key + "_SORT", this.gf.getObj().SORT);
27070
27085
  if (this.gf)
27071
27086
  if (this.gf.getObj().FILTER != null)
27072
27087
  if (this.gf.getObj().FILTER != '')
27073
- localStorage.setItem(this.grid_key + '_FILTER', this.gf.getObj().FILTER);
27088
+ localStorage.setItem(this.grid_customer_preference_key + '_FILTER', this.gf.getObj().FILTER);
27074
27089
  if (this.gf)
27075
27090
  if (this.gf.getDescri() != null)
27076
27091
  if (this.gf.getDescri() != '-1')
27077
- localStorage.setItem(this.grid_key + '_CFG_DEFAULT', this.gf.getDescri() || '');
27092
+ localStorage.setItem(this.grid_customer_preference_key + '_CFG_DEFAULT', this.gf.getDescri() || '');
27078
27093
  if (this.gf)
27079
27094
  this.curr_config = this.gf.getValue();
27080
27095
  this.res_columns(true);
@@ -27100,7 +27115,7 @@ class FHGridInternalComponent {
27100
27115
  p.sql = 'DELETE_CFG_GRID';
27101
27116
  p.types = ['string', 'string'];
27102
27117
  if (this.gf)
27103
- p.values = [this.gf.getDescri(), this.grid_key];
27118
+ p.values = [this.gf.getDescri(), this.grid_customer_preference_key];
27104
27119
  let ok_op = false;
27105
27120
  this._dataService.doQuery(p).subscribe((data) => {
27106
27121
  let ok_op = false;
@@ -27109,7 +27124,7 @@ class FHGridInternalComponent {
27109
27124
  this._toast.info('Configurazione eliminata');
27110
27125
  if (this.gf) {
27111
27126
  this.gf.types = ['string'];
27112
- this.gf.values = [this.grid_key];
27127
+ this.gf.values = [this.grid_customer_preference_key];
27113
27128
  this.gf.fillCombo();
27114
27129
  }
27115
27130
  this.curr_config = '-1';
@@ -27140,17 +27155,17 @@ class FHGridInternalComponent {
27140
27155
  let p_col = '';
27141
27156
  // let p_sort: string = "";
27142
27157
  let p_filter = '';
27143
- if (localStorage.getItem(this.grid_key + '_COLS') != null)
27144
- p_col = localStorage.getItem(this.grid_key + '_COLS');
27145
- // if (localStorage.getItem(this.grid_key + "_SORT") != null)
27146
- // p_sort = localStorage.getItem(this.grid_key + "_SORT");
27147
- if (localStorage.getItem(this.grid_key + '_FILTER') != null)
27148
- p_filter = localStorage.getItem(this.grid_key + '_FILTER');
27158
+ if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') != null)
27159
+ p_col = localStorage.getItem(this.grid_customer_preference_key + '_COLS');
27160
+ // if (localStorage.getItem(this.grid_customer_preference_key + "_SORT") != null)
27161
+ // p_sort = localStorage.getItem(this.grid_customer_preference_key + "_SORT");
27162
+ if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != null)
27163
+ p_filter = localStorage.getItem(this.grid_customer_preference_key + '_FILTER');
27149
27164
  p.types = ['string', 'string', 'string', 'string', 'string', 'string'];
27150
27165
  if (this.gf)
27151
27166
  p.values = [
27152
27167
  this.gf.getDescri(),
27153
- this.grid_key,
27168
+ this.grid_customer_preference_key,
27154
27169
  p_col,
27155
27170
  '',
27156
27171
  p_filter,
@@ -27164,7 +27179,7 @@ class FHGridInternalComponent {
27164
27179
  this._toast.info('Configurazione salvata');
27165
27180
  if (this.gf) {
27166
27181
  this.gf.types = ['string'];
27167
- this.gf.values = [this.grid_key];
27182
+ this.gf.values = [this.grid_customer_preference_key];
27168
27183
  this.gf.fillCombo();
27169
27184
  }
27170
27185
  this.curr_config = '-1';
@@ -27203,12 +27218,12 @@ class FHGridInternalComponent {
27203
27218
  let p_col;
27204
27219
  // let p_sort: string = "";
27205
27220
  let p_filter;
27206
- if (localStorage.getItem(this.grid_key + '_COLS') != null)
27207
- p_col = localStorage.getItem(this.grid_key + '_COLS');
27208
- // if (localStorage.getItem(this.grid_key + "_SORT") != null)
27209
- // p_sort = localStorage.getItem(this.grid_key + "_SORT");
27210
- if (localStorage.getItem(this.grid_key + '_FILTER') != null)
27211
- p_filter = localStorage.getItem(this.grid_key + '_FILTER');
27221
+ if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') != null)
27222
+ p_col = localStorage.getItem(this.grid_customer_preference_key + '_COLS');
27223
+ // if (localStorage.getItem(this.grid_customer_preference_key + "_SORT") != null)
27224
+ // p_sort = localStorage.getItem(this.grid_customer_preference_key + "_SORT");
27225
+ if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != null)
27226
+ p_filter = localStorage.getItem(this.grid_customer_preference_key + '_FILTER');
27212
27227
  p.types = [
27213
27228
  'string',
27214
27229
  'string',
@@ -27219,7 +27234,7 @@ class FHGridInternalComponent {
27219
27234
  ];
27220
27235
  p.values = [
27221
27236
  result,
27222
- this.grid_key,
27237
+ this.grid_customer_preference_key,
27223
27238
  p_col,
27224
27239
  '',
27225
27240
  p_filter,
@@ -27234,7 +27249,7 @@ class FHGridInternalComponent {
27234
27249
  ok_op = true;
27235
27250
  if (this.gf) {
27236
27251
  this.gf.types = ['string'];
27237
- this.gf.values = [this.grid_key];
27252
+ this.gf.values = [this.grid_customer_preference_key];
27238
27253
  this.gf.fillCombo();
27239
27254
  }
27240
27255
  }
@@ -27533,8 +27548,8 @@ class FHGridInternalComponent {
27533
27548
  getRows: (params) => {
27534
27549
  this.m_appService.start();
27535
27550
  let p = new QGParam();
27536
- p.table = this.tbl_name;
27537
- p.table_count = this.tbl_name;
27551
+ p.table = this.grid_config_key;
27552
+ p.table_count = this.grid_config_key;
27538
27553
  if (this.count_tbl_name != '')
27539
27554
  p.table_count = this.count_tbl_name;
27540
27555
  p.num_per_pag = (params.request.endRow || 0) - (params.request.startRow || 0);
@@ -27652,19 +27667,19 @@ class FHGridInternalComponent {
27652
27667
  this.m_appService.complete();
27653
27668
  this.fill_end.emit();
27654
27669
  this.check_width();
27655
- localStorage.setItem(this.grid_key + '_POS1', JSON.stringify(p));
27656
- if (localStorage.getItem(this.grid_key + '_POS2') != null)
27670
+ localStorage.setItem(this.grid_customer_preference_key + '_POS1', JSON.stringify(p));
27671
+ if (localStorage.getItem(this.grid_customer_preference_key + '_POS2') != null)
27657
27672
  if (this.gridOptions != null)
27658
27673
  if (this.gridApi != null)
27659
27674
  this.gridApi.forEachNode((node) => {
27660
27675
  if (this.getRowId(node) ===
27661
- localStorage.getItem(this.grid_key + '_POS2')) {
27676
+ localStorage.getItem(this.grid_customer_preference_key + '_POS2')) {
27662
27677
  node.setSelected(true);
27663
- localStorage.removeItem(this.grid_key + '_POS2');
27664
- if (localStorage.getItem(this.grid_key + '_LAST_ROW') !=
27678
+ localStorage.removeItem(this.grid_customer_preference_key + '_POS2');
27679
+ if (localStorage.getItem(this.grid_customer_preference_key + '_LAST_ROW') !=
27665
27680
  null)
27666
- this.sRow = JSON.parse(localStorage.getItem(this.grid_key + '_LAST_ROW') || '{}');
27667
- localStorage.removeItem(this.grid_key + '_LAST_ROW');
27681
+ this.sRow = JSON.parse(localStorage.getItem(this.grid_customer_preference_key + '_LAST_ROW') || '{}');
27682
+ localStorage.removeItem(this.grid_customer_preference_key + '_LAST_ROW');
27668
27683
  }
27669
27684
  });
27670
27685
  let b_mantieni_ck = false;
@@ -27676,7 +27691,7 @@ class FHGridInternalComponent {
27676
27691
  }
27677
27692
  this.b_init1 = true;
27678
27693
  this.ensure_visible();
27679
- if (localStorage.getItem(this.grid_key + '_COLS') == null &&
27694
+ if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') == null &&
27680
27695
  this.autosize_at_ini)
27681
27696
  setTimeout(() => {
27682
27697
  this.set_init_size();
@@ -27720,19 +27735,19 @@ class FHGridInternalComponent {
27720
27735
  this.m_appService.complete();
27721
27736
  this.fill_end.emit();
27722
27737
  this.check_width();
27723
- localStorage.setItem(this.grid_key + '_POS1', JSON.stringify(p));
27724
- if (localStorage.getItem(this.grid_key + '_POS2') != null)
27738
+ localStorage.setItem(this.grid_customer_preference_key + '_POS1', JSON.stringify(p));
27739
+ if (localStorage.getItem(this.grid_customer_preference_key + '_POS2') != null)
27725
27740
  if (this.gridOptions != null)
27726
27741
  if (this.gridApi != null)
27727
27742
  this.gridApi.forEachNode((node) => {
27728
27743
  if (this.getRowId(node) ===
27729
- localStorage.getItem(this.grid_key + '_POS2')) {
27744
+ localStorage.getItem(this.grid_customer_preference_key + '_POS2')) {
27730
27745
  node.setSelected(true);
27731
- localStorage.removeItem(this.grid_key + '_POS2');
27732
- if (localStorage.getItem(this.grid_key + '_LAST_ROW') !=
27746
+ localStorage.removeItem(this.grid_customer_preference_key + '_POS2');
27747
+ if (localStorage.getItem(this.grid_customer_preference_key + '_LAST_ROW') !=
27733
27748
  null)
27734
- this.sRow = JSON.parse(localStorage.getItem(this.grid_key + '_LAST_ROW') || '{}');
27735
- localStorage.removeItem(this.grid_key + '_LAST_ROW');
27749
+ this.sRow = JSON.parse(localStorage.getItem(this.grid_customer_preference_key + '_LAST_ROW') || '{}');
27750
+ localStorage.removeItem(this.grid_customer_preference_key + '_LAST_ROW');
27736
27751
  }
27737
27752
  });
27738
27753
  let b_mantieni_ck = false;
@@ -27744,29 +27759,29 @@ class FHGridInternalComponent {
27744
27759
  }
27745
27760
  this.b_init1 = true;
27746
27761
  this.ensure_visible();
27747
- /*if (localStorage.getItem(this.grid_key + '_COLS')==null && this.first_ref) {
27762
+ /*if (localStorage.getItem(this.grid_customer_preference_key + '_COLS')==null && this.first_ref) {
27748
27763
  setTimeout(() => {
27749
27764
  this.autoSizeAll();
27750
27765
  }, 300);
27751
27766
  this.first_ref = false;
27752
27767
 
27753
27768
 
27754
- } else*/ if (localStorage.getItem(this.grid_key + '_COLS') == null &&
27769
+ } else*/ if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') == null &&
27755
27770
  this.autosize_at_ini)
27756
27771
  setTimeout(() => {
27757
27772
  this.autoSizeAll();
27758
27773
  }, 300);
27759
- //if(this.m_appService.getState().grid_obj[this.grid_key+'_NODE']!=null)
27774
+ //if(this.m_appService.getState().grid_obj[this.grid_customer_preference_key+'_NODE']!=null)
27760
27775
  /*
27761
27776
 
27762
27777
  this.gridApi.forEachNode( (node:any) =>{
27763
27778
  // select the node
27764
- if(node.rowIndex==parseInt(localStorage.getItem(this.grid_key+'_POS'))){
27779
+ if(node.rowIndex==parseInt(localStorage.getItem(this.grid_customer_preference_key+'_POS'))){
27765
27780
  node.setSelected(true);
27766
27781
 
27767
27782
  }}*/
27768
- // if(this.m_appService.getState().grid_obj[this.grid_key+'_NODE']!=null)
27769
- //this.gridApi.get(parseInt(localStorage.getItem(this.grid_key+'_POS'))).setSelected(true);
27783
+ // if(this.m_appService.getState().grid_obj[this.grid_customer_preference_key+'_NODE']!=null)
27784
+ //this.gridApi.get(parseInt(localStorage.getItem(this.grid_customer_preference_key+'_POS'))).setSelected(true);
27770
27785
  }
27771
27786
  if (!ok_op) {
27772
27787
  this.errorMsg = data.msg + ' [' + data.result_msg + ']';
@@ -27852,14 +27867,14 @@ class FHGridInternalComponent {
27852
27867
  innerWidth = 750;
27853
27868
  size;
27854
27869
  ngAfterViewInit() {
27855
- if (this.grid_key == 'PRO_H')
27870
+ if (this.grid_customer_preference_key == 'PRO_H')
27856
27871
  this.no_pref = true;
27857
27872
  setTimeout(() => {
27858
27873
  if (this.end_point == null)
27859
27874
  this.end_point =
27860
27875
  this.m_appService.API_ENDPOINT + this.m_appService.GRID_ENDPOINT;
27861
- if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null)
27862
- this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
27876
+ if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER_UP') != null)
27877
+ this.ric_libera = localStorage.getItem(this.grid_customer_preference_key + '_FILTER_UP');
27863
27878
  this.onResize();
27864
27879
  });
27865
27880
  }
@@ -27968,12 +27983,12 @@ class FHGridInternalComponent {
27968
27983
  }
27969
27984
  last_riclib = false;
27970
27985
  pulisci_filtri(resetr = true) {
27971
- localStorage.removeItem(this.grid_key + '_FILTER');
27986
+ localStorage.removeItem(this.grid_customer_preference_key + '_FILTER');
27972
27987
  if (resetr) {
27973
27988
  if (this.ric_libera != '' || this.last_riclib)
27974
27989
  this.doFill('', true, false);
27975
27990
  this.ric_libera = '';
27976
- localStorage.removeItem(this.grid_key + '_FILTER_UP');
27991
+ localStorage.removeItem(this.grid_customer_preference_key + '_FILTER_UP');
27977
27992
  }
27978
27993
  this.fix_flt_temp = '';
27979
27994
  if (this.gridApi)
@@ -28173,7 +28188,7 @@ class FHGridInternalComponent {
28173
28188
  cmds.push(this.officeService.operation(opx, 'select ' +
28174
28189
  str_fields +
28175
28190
  ' from ' +
28176
- this.tbl_name +
28191
+ this.grid_config_key +
28177
28192
  ' ' +
28178
28193
  this.str_curr_q_p, '3', this.xxopx++));
28179
28194
  else
@@ -28182,7 +28197,7 @@ class FHGridInternalComponent {
28182
28197
  ',' +
28183
28198
  this.export_field_aggiuntivi +
28184
28199
  ' from ' +
28185
- this.tbl_name +
28200
+ this.grid_config_key +
28186
28201
  ' ' +
28187
28202
  this.str_curr_q_p, '3', this.xxopx++));
28188
28203
  cmds.push(this.officeService.operation('GB_XLS_SAVE', this.m_appService.LOCAL_PATH +
@@ -28281,17 +28296,17 @@ class FHGridInternalComponent {
28281
28296
  this.ckk_ed = true;
28282
28297
  if (this.toggle_mantieni != null) {
28283
28298
  this.toggle_mantieni.checked = true;
28284
- if (localStorage.getItem(this.grid_key + '_MANTIENI') != null)
28285
- if (localStorage.getItem(this.grid_key + '_MANTIENI') == 'NO') {
28299
+ if (localStorage.getItem(this.grid_customer_preference_key + '_MANTIENI') != null)
28300
+ if (localStorage.getItem(this.grid_customer_preference_key + '_MANTIENI') == 'NO') {
28286
28301
  this.toggle_mantieni.checked = false;
28287
28302
  }
28288
28303
  }
28289
28304
  this.res_columns();
28290
- if (localStorage.getItem(this.grid_key + '_POS') != null)
28305
+ if (localStorage.getItem(this.grid_customer_preference_key + '_POS') != null)
28291
28306
  this.b_restored = true;
28292
- if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null)
28293
- if (localStorage.getItem(this.grid_key + '_FILTER_UP') != '') {
28294
- this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
28307
+ if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER_UP') != null)
28308
+ if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER_UP') != '') {
28309
+ this.ric_libera = localStorage.getItem(this.grid_customer_preference_key + '_FILTER_UP');
28295
28310
  let arr = (this.ric_libera || '').split(' ');
28296
28311
  let arr_F = new Array();
28297
28312
  for (let i = 0; i < arr.length; i++)
@@ -28364,9 +28379,9 @@ class FHGridInternalComponent {
28364
28379
  }
28365
28380
  // this.createNewDatasource();
28366
28381
  /*
28367
- if(this.m_appService.getState().grid_obj[this.grid_key+'_startPage']!=null)
28382
+ if(this.m_appService.getState().grid_obj[this.grid_customer_preference_key+'_startPage']!=null)
28368
28383
  {
28369
- this.gridApi.paginationGoToPage(this.m_appService.getState().grid_obj[this.grid_key+'_startPage']);
28384
+ this.gridApi.paginationGoToPage(this.m_appService.getState().grid_obj[this.grid_customer_preference_key+'_startPage']);
28370
28385
  } */
28371
28386
  }
28372
28387
  set_init_size() {
@@ -28398,26 +28413,26 @@ class FHGridInternalComponent {
28398
28413
  let b_rip = false;
28399
28414
  if (this.toggle_mantieni != null)
28400
28415
  b_mantieni_ck = this.toggle_mantieni.checked;
28401
- if ((localStorage.getItem(this.grid_key + '_COLS') || '') == '') {
28416
+ if ((localStorage.getItem(this.grid_customer_preference_key + '_COLS') || '') == '') {
28402
28417
  this.set_init_size();
28403
28418
  return;
28404
28419
  }
28405
- if (localStorage.getItem(this.grid_key + '_COLS') != null &&
28420
+ if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') != null &&
28406
28421
  (b_mantieni_ck || forza))
28407
- if (localStorage.getItem(this.grid_key + '_COLS') != '') {
28422
+ if (localStorage.getItem(this.grid_customer_preference_key + '_COLS') != '') {
28408
28423
  b_rip = true;
28409
28424
  try {
28410
- let a = JSON.parse(localStorage.getItem(this.grid_key + '_COLS') || '[]');
28425
+ let a = JSON.parse(localStorage.getItem(this.grid_customer_preference_key + '_COLS') || '[]');
28411
28426
  let annulla = true;
28412
28427
  for (let i = 0; i < a.length; i++) {
28413
28428
  if (!a[i].hide)
28414
28429
  annulla = false;
28415
28430
  }
28416
28431
  if (annulla)
28417
- localStorage.getItem(this.grid_key + '_COLS');
28432
+ localStorage.getItem(this.grid_customer_preference_key + '_COLS');
28418
28433
  else {
28419
28434
  if (this.gridApi) {
28420
- let saved_state = JSON.parse(localStorage.getItem(this.grid_key + '_COLS') || '[]');
28435
+ let saved_state = JSON.parse(localStorage.getItem(this.grid_customer_preference_key + '_COLS') || '[]');
28421
28436
  this.gridApi.applyColumnState({
28422
28437
  state: saved_state,
28423
28438
  applyOrder: true,
@@ -28433,13 +28448,13 @@ class FHGridInternalComponent {
28433
28448
  } catch (eer) {
28434
28449
  }
28435
28450
  if (
28436
- localStorage.getItem(this.grid_key + "_SORT") != null &&
28451
+ localStorage.getItem(this.grid_customer_preference_key + "_SORT") != null &&
28437
28452
  (b_mantieni_ck || forza)
28438
28453
  )
28439
- if (localStorage.getItem(this.grid_key + "_SORT") != "") {
28454
+ if (localStorage.getItem(this.grid_customer_preference_key + "_SORT") != "") {
28440
28455
  try {
28441
28456
  this.gridApi.setSortModel(
28442
- JSON.parse(localStorage.getItem(this.grid_key + "_SORT"))
28457
+ JSON.parse(localStorage.getItem(this.grid_customer_preference_key + "_SORT"))
28443
28458
  );
28444
28459
  } catch (eer) {
28445
28460
  }
@@ -28448,12 +28463,12 @@ class FHGridInternalComponent {
28448
28463
  this.gridApi.setFilterModel(null);
28449
28464
  } catch (eer) {
28450
28465
  }*/
28451
- if (localStorage.getItem(this.grid_key + '_FILTER') != null &&
28466
+ if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != null &&
28452
28467
  (b_mantieni_ck || forza))
28453
- if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
28468
+ if (localStorage.getItem(this.grid_customer_preference_key + '_FILTER') != '') {
28454
28469
  try {
28455
28470
  if (this.gridApi)
28456
- this.gridApi.setFilterModel(JSON.parse(localStorage.getItem(this.grid_key + '_FILTER') || ''));
28471
+ this.gridApi.setFilterModel(JSON.parse(localStorage.getItem(this.grid_customer_preference_key + '_FILTER') || ''));
28457
28472
  }
28458
28473
  catch (eer) {
28459
28474
  }
@@ -28499,10 +28514,10 @@ class FHGridInternalComponent {
28499
28514
  else
28500
28515
  this.gf.sql = 'SELECT_CFG_GRID_BY_USER';
28501
28516
  this.gf.types = ['string'];
28502
- this.gf.values = [this.grid_key];
28517
+ this.gf.values = [this.grid_customer_preference_key];
28503
28518
  this.gf.fillCombo();
28504
- if (localStorage.getItem(this.grid_key + '_MANTIENI') != 'NO')
28505
- if (localStorage.getItem(this.grid_key + '_CFG_DEFAULT') != null) {
28519
+ if (localStorage.getItem(this.grid_customer_preference_key + '_MANTIENI') != 'NO')
28520
+ if (localStorage.getItem(this.grid_customer_preference_key + '_CFG_DEFAULT') != null) {
28506
28521
  return;
28507
28522
  }
28508
28523
  }
@@ -28517,16 +28532,16 @@ class FHGridInternalComponent {
28517
28532
  }
28518
28533
  save_cfg() {
28519
28534
  if (this.gridApi)
28520
- localStorage.setItem(this.grid_key + '_COLS', JSON.stringify(this.gridApi.getColumnState()));
28535
+ localStorage.setItem(this.grid_customer_preference_key + '_COLS', JSON.stringify(this.gridApi.getColumnState()));
28521
28536
  }
28522
28537
  fe_cfg() {
28523
28538
  if (this.gf != null)
28524
28539
  if (this.gf.getObj() != null)
28525
- if (localStorage.getItem(this.grid_key + '_MANTIENI') != 'NO') {
28526
- this.gf.setByDescri(localStorage.getItem(this.grid_key + '_CFG_DEFAULT') || '');
28527
- localStorage.setItem(this.grid_key + '_COLS', this.gf.getObj().COLS);
28528
- // localStorage.setItem(this.grid_key + "_SORT", this.gf.getObj().SORT);
28529
- localStorage.setItem(this.grid_key + '_FILTER', this.gf.getObj().FILTER);
28540
+ if (localStorage.getItem(this.grid_customer_preference_key + '_MANTIENI') != 'NO') {
28541
+ this.gf.setByDescri(localStorage.getItem(this.grid_customer_preference_key + '_CFG_DEFAULT') || '');
28542
+ localStorage.setItem(this.grid_customer_preference_key + '_COLS', this.gf.getObj().COLS);
28543
+ // localStorage.setItem(this.grid_customer_preference_key + "_SORT", this.gf.getObj().SORT);
28544
+ localStorage.setItem(this.grid_customer_preference_key + '_FILTER', this.gf.getObj().FILTER);
28530
28545
  this.curr_config = this.gf.getValue();
28531
28546
  }
28532
28547
  this.onready_go();
@@ -28556,10 +28571,10 @@ class FHGridInternalComponent {
28556
28571
  this.pulisci_filtri();
28557
28572
  this.fix_flt_temp = '';
28558
28573
  this.doFill('', true, false);
28559
- localStorage.removeItem(this.grid_key + '_FILTER_UP');
28574
+ localStorage.removeItem(this.grid_customer_preference_key + '_FILTER_UP');
28560
28575
  return;
28561
28576
  }
28562
- localStorage.setItem(this.grid_key + '_FILTER_UP', this.ric_libera || '');
28577
+ localStorage.setItem(this.grid_customer_preference_key + '_FILTER_UP', this.ric_libera || '');
28563
28578
  let arr = (this.ric_libera || '').split(' ');
28564
28579
  let arr_F = new Array();
28565
28580
  for (let i = 0; i < arr.length; i++)
@@ -28649,7 +28664,7 @@ class FHGridInternalComponent {
28649
28664
  oncolumnEverythingChanged(event) {
28650
28665
  if (this.b_init) {
28651
28666
  if (this.gridApi)
28652
- localStorage.setItem(this.grid_key + '_COLS', JSON.stringify(this.gridApi.getColumnState()));
28667
+ localStorage.setItem(this.grid_customer_preference_key + '_COLS', JSON.stringify(this.gridApi.getColumnState()));
28653
28668
  }
28654
28669
  }
28655
28670
  onFilterModified() {
@@ -28658,7 +28673,7 @@ class FHGridInternalComponent {
28658
28673
  setTimeout(() => {
28659
28674
  if (this.b_init) {
28660
28675
  if (this.gridApi)
28661
- localStorage.setItem(this.grid_key + '_FILTER', JSON.stringify(this.gridApi.getFilterModel() || '{}'));
28676
+ localStorage.setItem(this.grid_customer_preference_key + '_FILTER', JSON.stringify(this.gridApi.getFilterModel() || '{}'));
28662
28677
  }
28663
28678
  }, 200);
28664
28679
  }
@@ -28669,11 +28684,11 @@ class FHGridInternalComponent {
28669
28684
  return;
28670
28685
  if (this.b_init) {
28671
28686
  if (this.gridApi)
28672
- localStorage.setItem(this.grid_key + '_COLS', JSON.stringify(this.gridApi.getColumnState()));
28687
+ localStorage.setItem(this.grid_customer_preference_key + '_COLS', JSON.stringify(this.gridApi.getColumnState()));
28673
28688
  /*
28674
28689
 
28675
28690
  localStorage.setItem(
28676
- this.grid_key + "_SORT",
28691
+ this.grid_customer_preference_key + "_SORT",
28677
28692
  JSON.stringify(this.gridApi.getSortModel())
28678
28693
  );*/
28679
28694
  }
@@ -28688,15 +28703,15 @@ class FHGridInternalComponent {
28688
28703
  selectedInGrid = this.gridApi.getSelectedNodes();
28689
28704
  if (selectedInGrid != null)
28690
28705
  if (selectedInGrid[0] != null) {
28691
- localStorage.setItem(this.grid_key + '_POS', String(selectedInGrid[0].rowIndex));
28706
+ localStorage.setItem(this.grid_customer_preference_key + '_POS', String(selectedInGrid[0].rowIndex));
28692
28707
  if (this.gridApi)
28693
- localStorage.setItem(this.grid_key + '_POS_BAR', JSON.stringify(this.gridApi.getVerticalPixelRange()));
28694
- localStorage.setItem(this.grid_key + '_POS2', this.getRowId(selectedInGrid[0]));
28708
+ localStorage.setItem(this.grid_customer_preference_key + '_POS_BAR', JSON.stringify(this.gridApi.getVerticalPixelRange()));
28709
+ localStorage.setItem(this.grid_customer_preference_key + '_POS2', this.getRowId(selectedInGrid[0]));
28695
28710
  // this.m_appService.getState().grid_obj=new Object();
28696
- // this.m_appService.getState().grid_obj[this.grid_key+'_NODE']=this.gridApi.getSelectedRows[0];
28711
+ // this.m_appService.getState().grid_obj[this.grid_customer_preference_key+'_NODE']=this.gridApi.getSelectedRows[0];
28697
28712
  }
28698
28713
  this.sRow = $event.data;
28699
- localStorage.setItem(this.grid_key + '_LAST_ROW', JSON.stringify(this.sRow));
28714
+ localStorage.setItem(this.grid_customer_preference_key + '_LAST_ROW', JSON.stringify(this.sRow));
28700
28715
  this.clicked.emit($event.data);
28701
28716
  var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent);
28702
28717
  if (iOS) {
@@ -28721,7 +28736,7 @@ class FHGridInternalComponent {
28721
28736
  // the method just prints the event name
28722
28737
  onColumnEvent($event) {
28723
28738
  this.columndclicked.emit($event);
28724
- // localStorage.setItem(this.grid_key+'_COLUMN',JSON.stringify(this.gridApi.getColumnDef()));
28739
+ // localStorage.setItem(this.grid_customer_preference_key+'_COLUMN',JSON.stringify(this.gridApi.getColumnDef()));
28725
28740
  }
28726
28741
  fix_flt = '';
28727
28742
  fix_flt_temp = '';
@@ -28759,7 +28774,7 @@ class FHGridInternalComponent {
28759
28774
  this.updateRow();
28760
28775
  }
28761
28776
  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 &nbsp;&nbsp;\r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\r\n <div *ngIf=\"show_num_elem\">\r\n <h5>{{num_r}}&nbsp;{{label_elementi | translate}}</h5>\r\n </div>\r\n &nbsp;&nbsp;&nbsp;\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 &nbsp;\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 &nbsp;&nbsp;\r\n <div *ngIf=\"show_selected_number\">\r\n <h5>{{num_s}}&nbsp;{{label_elementi_s | translate}}</h5>\r\n </div>\r\n &nbsp;&nbsp;\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\">&nbsp;&nbsp;&nbsp;</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 &nbsp;&nbsp;\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"] }] });
28777
+ 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 &nbsp;&nbsp;\r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\r\n <div *ngIf=\"show_num_elem\">\r\n <h5>{{num_r}}&nbsp;{{label_elementi | translate}}</h5>\r\n </div>\r\n &nbsp;&nbsp;&nbsp;\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 &nbsp;\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 &nbsp;&nbsp;\r\n <div *ngIf=\"show_selected_number\">\r\n <h5>{{num_s}}&nbsp;{{label_elementi_s | translate}}</h5>\r\n </div>\r\n &nbsp;&nbsp;\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\">&nbsp;&nbsp;&nbsp;</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 &nbsp;&nbsp;\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
28778
  }
28764
28779
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHGridInternalComponent, decorators: [{
28765
28780
  type: Component,
@@ -28811,7 +28826,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
28811
28826
  type: Input
28812
28827
  }], end_point: [{
28813
28828
  type: Input
28814
- }], tbl_name: [{
28829
+ }], grid_config_key: [{
28815
28830
  type: Input
28816
28831
  }], columnDefs: [{
28817
28832
  type: Input
@@ -28821,7 +28836,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
28821
28836
  type: Input
28822
28837
  }], num_per_pag: [{
28823
28838
  type: Input
28824
- }], grid_key: [{
28839
+ }], grid_customer_preference_key: [{
28825
28840
  type: Input
28826
28841
  }], sort_field: [{
28827
28842
  type: Input
@@ -29037,8 +29052,8 @@ class win_recupera_doc_v2 {
29037
29052
  (dclicked)="edit($event)"
29038
29053
  g_width="100%"
29039
29054
  g_height="100%"
29040
- tbl_name="wkf_documents"
29041
- grid_key="r_wkf_documents"
29055
+ grid_config_key="wkf_documents"
29056
+ grid_customer_preference_key="r_wkf_documents"
29042
29057
  sort_field="codice desc"
29043
29058
  [off_set]="50"
29044
29059
  fields="*"
@@ -29059,7 +29074,7 @@ class win_recupera_doc_v2 {
29059
29074
  </div>
29060
29075
  </mat-dialog-actions>
29061
29076
  </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", "tbl_name", "columnDefs", "count_tbl_name", "search_field_tooltip", "num_per_pag", "grid_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"] }] });
29077
+ `, 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
29078
  }
29064
29079
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: win_recupera_doc_v2, decorators: [{
29065
29080
  type: Component,
@@ -29105,8 +29120,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
29105
29120
  (dclicked)="edit($event)"
29106
29121
  g_width="100%"
29107
29122
  g_height="100%"
29108
- tbl_name="wkf_documents"
29109
- grid_key="r_wkf_documents"
29123
+ grid_config_key="wkf_documents"
29124
+ grid_customer_preference_key="r_wkf_documents"
29110
29125
  sort_field="codice desc"
29111
29126
  [off_set]="50"
29112
29127
  fields="*"
@@ -29734,9 +29749,9 @@ class FHWorkflowView {
29734
29749
  att_panelcat = ''; //descrizione breve
29735
29750
  documento_pubblico = false;
29736
29751
  titolo_email = '';
29737
- tbl_name = ''; //vista sql
29752
+ grid_config_key = ''; //vista sql (grid configuration key)
29738
29753
  app_root = '';
29739
- grid_key = '';
29754
+ grid_customer_preference_key = ''; //grid user preferences key
29740
29755
  m_id_Doc = '';
29741
29756
  livs = [];
29742
29757
  user_idp = null;
@@ -30549,8 +30564,8 @@ class FHWorkflowView {
30549
30564
  this.app_s.getState().wkf_obj.att_panelcat = this.att_panelcat;
30550
30565
  this.app_s.getState().wkf_obj.documento_pubblico = this.documento_pubblico;
30551
30566
  this.app_s.getState().wkf_obj.titolo_email = this.titolo_email;
30552
- this.app_s.getState().wkf_obj.tbl_name = this.tbl_name;
30553
- this.app_s.getState().wkf_obj.grid_key = this.grid_key;
30567
+ this.app_s.getState().wkf_obj.grid_config_key = this.grid_config_key;
30568
+ this.app_s.getState().wkf_obj.grid_customer_preference_key = this.grid_customer_preference_key;
30554
30569
  this.app_s.getState().wkf_obj.m_id_Doc = this.m_id_Doc;
30555
30570
  this.app_s.getState().wkf_obj.livs = this.livs;
30556
30571
  this.app_s.getState().wkf_obj.user_idp = this.user_idp;
@@ -30569,8 +30584,8 @@ class FHWorkflowView {
30569
30584
  this.att_panelcat = this.app_s.getState().wkf_obj.att_panelcat;
30570
30585
  this.documento_pubblico = this.app_s.getState().wkf_obj.documento_pubblico;
30571
30586
  this.titolo_email = this.app_s.getState().wkf_obj.titolo_email;
30572
- this.tbl_name = this.app_s.getState().wkf_obj.tbl_name;
30573
- this.grid_key = this.app_s.getState().wkf_obj.grid_key;
30587
+ this.grid_config_key = this.app_s.getState().wkf_obj.grid_config_key;
30588
+ this.grid_customer_preference_key = this.app_s.getState().wkf_obj.grid_customer_preference_key;
30574
30589
  this.m_id_Doc = this.app_s.getState().wkf_obj.m_id_Doc;
30575
30590
  this.livs = this.app_s.getState().wkf_obj.livs;
30576
30591
  this.user_idp = this.app_s.getState().wkf_obj.user_idp;
@@ -30650,8 +30665,8 @@ class FHWorkflowView {
30650
30665
  this.att_panelcat = a_conf[0].descrizione_breve; //descrizione breve
30651
30666
  this.documento_pubblico = a_conf[0].pubblico;
30652
30667
  this.titolo_email = '[' + a_conf[0].descrizione_breve + ']';
30653
- this.tbl_name = a_conf[0].vista_sql; //vista sql
30654
- this.grid_key = this.app_s.COMPANY_KEY + a_conf[0].vista_sql;
30668
+ this.grid_config_key = a_conf[0].vista_sql; //vista sql (grid configuration key)
30669
+ this.grid_customer_preference_key = this.app_s.COMPANY_KEY + a_conf[0].vista_sql; //grid user preferences key
30655
30670
  if (this.app_s.user)
30656
30671
  this.user_idp = this.app_s.user;
30657
30672
  if (this.app_s.user_name)