@eqproject/eqp-dynamic-module 2.10.16 → 2.10.17

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.
@@ -8809,6 +8809,9 @@ class TextFilterTemplateComponent {
8809
8809
  * Metodo per emettere l'evento che il valore del record è cambiato.
8810
8810
  */
8811
8811
  onFilterChange() {
8812
+ if (this.aggregations != null && this.aggregations.length > 0) {
8813
+ this.visible = true;
8814
+ }
8812
8815
  var statistic = {
8813
8816
  key: this.field.Name,
8814
8817
  value: this.record[this.field.Name],
@@ -8826,6 +8829,9 @@ class TextFilterTemplateComponent {
8826
8829
  */
8827
8830
  changeVisibility() {
8828
8831
  this.visible = !this.visible;
8832
+ if (this.aggregations != null && this.aggregations.length > 0) {
8833
+ this.visible = true;
8834
+ }
8829
8835
  this.onFilterChange();
8830
8836
  }
8831
8837
  }
@@ -8897,6 +8903,9 @@ class NumericFilterTemplateComponent {
8897
8903
  this.filterChange.emit(statistic);
8898
8904
  }
8899
8905
  createStatistic() {
8906
+ if (this.aggregations != null && this.aggregations.length > 0) {
8907
+ this.visible = true;
8908
+ }
8900
8909
  var statistic = {
8901
8910
  key: this.field.Name,
8902
8911
  value: this.record[this.field.Name],
@@ -8950,6 +8959,9 @@ class NumericFilterTemplateComponent {
8950
8959
  */
8951
8960
  changeVisibility() {
8952
8961
  this.visible = !this.visible;
8962
+ if (this.aggregations != null && this.aggregations.length > 0) {
8963
+ this.visible = true;
8964
+ }
8953
8965
  this.onFilterChange();
8954
8966
  }
8955
8967
  becomeTheCoord(theCoord) {
@@ -9022,6 +9034,9 @@ class BooleanFilterTemplateComponent {
9022
9034
  * Metodo per emettere l'evento che il valore del record è cambiato.
9023
9035
  */
9024
9036
  onFilterChange() {
9037
+ if (this.aggregations != null && this.aggregations.length > 0) {
9038
+ this.visible = true;
9039
+ }
9025
9040
  var statistic = {
9026
9041
  key: this.field.Name,
9027
9042
  value: this.record[this.field.Name],
@@ -9039,6 +9054,9 @@ class BooleanFilterTemplateComponent {
9039
9054
  */
9040
9055
  changeVisibility() {
9041
9056
  this.visible = !this.visible;
9057
+ if (this.aggregations != null && this.aggregations.length > 0) {
9058
+ this.visible = true;
9059
+ }
9042
9060
  this.onFilterChange();
9043
9061
  }
9044
9062
  /**
@@ -9125,6 +9143,9 @@ class DateFilterTemplateComponent {
9125
9143
  this.filterChange.emit(statistic);
9126
9144
  }
9127
9145
  createStatistic() {
9146
+ if (this.aggregations != null && this.aggregations.length > 0) {
9147
+ this.visible = true;
9148
+ }
9128
9149
  var statistic = {
9129
9150
  key: this.field.Name,
9130
9151
  value: this.record[this.field.Name],
@@ -9158,6 +9179,9 @@ class DateFilterTemplateComponent {
9158
9179
  */
9159
9180
  changeVisibility() {
9160
9181
  this.visible = !this.visible;
9182
+ if (this.aggregations != null && this.aggregations.length > 0) {
9183
+ this.visible = true;
9184
+ }
9161
9185
  this.onFilterChange();
9162
9186
  }
9163
9187
  becomeTheCoord(theCoord) {
@@ -9232,6 +9256,9 @@ class ListValueFilterTemplateComponent {
9232
9256
  * Metodo per emettere l'evento che il valore del record è cambiato.
9233
9257
  */
9234
9258
  onFilterChange() {
9259
+ if (this.aggregations != null && this.aggregations.length > 0) {
9260
+ this.visible = true;
9261
+ }
9235
9262
  var statistic = {
9236
9263
  key: this.field.Name,
9237
9264
  value: this.record[this.field.Name],
@@ -9287,6 +9314,9 @@ class ListValueFilterTemplateComponent {
9287
9314
  */
9288
9315
  changeVisibility() {
9289
9316
  this.visible = !this.visible;
9317
+ if (this.aggregations != null && this.aggregations.length > 0) {
9318
+ this.visible = true;
9319
+ }
9290
9320
  this.onFilterChange();
9291
9321
  }
9292
9322
  createArrayDataElement(key, value, imgUrl = null) {
@@ -9400,6 +9430,9 @@ class TextareaFilterTemplateComponent {
9400
9430
  * Metodo che genera l'oggetto da inviare all'esterno
9401
9431
  */
9402
9432
  generateCondition(mode) {
9433
+ if (this.aggregations != null && this.aggregations.length > 0) {
9434
+ this.visible = true;
9435
+ }
9403
9436
  let output = new Statistic();
9404
9437
  if (mode == "active") {
9405
9438
  output = {
@@ -9432,6 +9465,9 @@ class TextareaFilterTemplateComponent {
9432
9465
  */
9433
9466
  changeVisibility() {
9434
9467
  this.visible = !this.visible;
9468
+ if (this.aggregations != null && this.aggregations.length > 0) {
9469
+ this.visible = true;
9470
+ }
9435
9471
  this.onFilterChange();
9436
9472
  }
9437
9473
  }