@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.
@@ -8772,6 +8772,9 @@ class TextFilterTemplateComponent {
8772
8772
  * Metodo per emettere l'evento che il valore del record è cambiato.
8773
8773
  */
8774
8774
  onFilterChange() {
8775
+ if (this.aggregations != null && this.aggregations.length > 0) {
8776
+ this.visible = true;
8777
+ }
8775
8778
  var statistic = {
8776
8779
  key: this.field.Name,
8777
8780
  value: this.record[this.field.Name],
@@ -8789,6 +8792,9 @@ class TextFilterTemplateComponent {
8789
8792
  */
8790
8793
  changeVisibility() {
8791
8794
  this.visible = !this.visible;
8795
+ if (this.aggregations != null && this.aggregations.length > 0) {
8796
+ this.visible = true;
8797
+ }
8792
8798
  this.onFilterChange();
8793
8799
  }
8794
8800
  }
@@ -8860,6 +8866,9 @@ class NumericFilterTemplateComponent {
8860
8866
  this.filterChange.emit(statistic);
8861
8867
  }
8862
8868
  createStatistic() {
8869
+ if (this.aggregations != null && this.aggregations.length > 0) {
8870
+ this.visible = true;
8871
+ }
8863
8872
  var statistic = {
8864
8873
  key: this.field.Name,
8865
8874
  value: this.record[this.field.Name],
@@ -8913,6 +8922,9 @@ class NumericFilterTemplateComponent {
8913
8922
  */
8914
8923
  changeVisibility() {
8915
8924
  this.visible = !this.visible;
8925
+ if (this.aggregations != null && this.aggregations.length > 0) {
8926
+ this.visible = true;
8927
+ }
8916
8928
  this.onFilterChange();
8917
8929
  }
8918
8930
  becomeTheCoord(theCoord) {
@@ -8985,6 +8997,9 @@ class BooleanFilterTemplateComponent {
8985
8997
  * Metodo per emettere l'evento che il valore del record è cambiato.
8986
8998
  */
8987
8999
  onFilterChange() {
9000
+ if (this.aggregations != null && this.aggregations.length > 0) {
9001
+ this.visible = true;
9002
+ }
8988
9003
  var statistic = {
8989
9004
  key: this.field.Name,
8990
9005
  value: this.record[this.field.Name],
@@ -9002,6 +9017,9 @@ class BooleanFilterTemplateComponent {
9002
9017
  */
9003
9018
  changeVisibility() {
9004
9019
  this.visible = !this.visible;
9020
+ if (this.aggregations != null && this.aggregations.length > 0) {
9021
+ this.visible = true;
9022
+ }
9005
9023
  this.onFilterChange();
9006
9024
  }
9007
9025
  /**
@@ -9088,6 +9106,9 @@ class DateFilterTemplateComponent {
9088
9106
  this.filterChange.emit(statistic);
9089
9107
  }
9090
9108
  createStatistic() {
9109
+ if (this.aggregations != null && this.aggregations.length > 0) {
9110
+ this.visible = true;
9111
+ }
9091
9112
  var statistic = {
9092
9113
  key: this.field.Name,
9093
9114
  value: this.record[this.field.Name],
@@ -9121,6 +9142,9 @@ class DateFilterTemplateComponent {
9121
9142
  */
9122
9143
  changeVisibility() {
9123
9144
  this.visible = !this.visible;
9145
+ if (this.aggregations != null && this.aggregations.length > 0) {
9146
+ this.visible = true;
9147
+ }
9124
9148
  this.onFilterChange();
9125
9149
  }
9126
9150
  becomeTheCoord(theCoord) {
@@ -9195,6 +9219,9 @@ class ListValueFilterTemplateComponent {
9195
9219
  * Metodo per emettere l'evento che il valore del record è cambiato.
9196
9220
  */
9197
9221
  onFilterChange() {
9222
+ if (this.aggregations != null && this.aggregations.length > 0) {
9223
+ this.visible = true;
9224
+ }
9198
9225
  var statistic = {
9199
9226
  key: this.field.Name,
9200
9227
  value: this.record[this.field.Name],
@@ -9250,6 +9277,9 @@ class ListValueFilterTemplateComponent {
9250
9277
  */
9251
9278
  changeVisibility() {
9252
9279
  this.visible = !this.visible;
9280
+ if (this.aggregations != null && this.aggregations.length > 0) {
9281
+ this.visible = true;
9282
+ }
9253
9283
  this.onFilterChange();
9254
9284
  }
9255
9285
  createArrayDataElement(key, value, imgUrl = null) {
@@ -9363,6 +9393,9 @@ class TextareaFilterTemplateComponent {
9363
9393
  * Metodo che genera l'oggetto da inviare all'esterno
9364
9394
  */
9365
9395
  generateCondition(mode) {
9396
+ if (this.aggregations != null && this.aggregations.length > 0) {
9397
+ this.visible = true;
9398
+ }
9366
9399
  let output = new Statistic();
9367
9400
  if (mode == "active") {
9368
9401
  output = {
@@ -9395,6 +9428,9 @@ class TextareaFilterTemplateComponent {
9395
9428
  */
9396
9429
  changeVisibility() {
9397
9430
  this.visible = !this.visible;
9431
+ if (this.aggregations != null && this.aggregations.length > 0) {
9432
+ this.visible = true;
9433
+ }
9398
9434
  this.onFilterChange();
9399
9435
  }
9400
9436
  }