@dhis2/expression-parser 1.1.8 → 1.1.10

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.
@@ -11774,7 +11774,7 @@ function ValueType_initEntries() {
11774
11774
  ValueType_MIXED_instance = new ValueType('MIXED', 0, '');
11775
11775
  ValueType_NUMBER_instance = new ValueType('NUMBER', 1, 0.0);
11776
11776
  ValueType_BOOLEAN_instance = new ValueType('BOOLEAN', 2, false);
11777
- ValueType_DATE_instance = new ValueType('DATE', 3, '2020-01-01');
11777
+ ValueType_DATE_instance = new ValueType('DATE', 3, null);
11778
11778
  ValueType_STRING_instance = new ValueType('STRING', 4, '');
11779
11779
  ValueType_SAME_instance = new ValueType('SAME', 5, '');
11780
11780
  }
@@ -13161,9 +13161,9 @@ function ExpressionGrammar() {
13161
13161
  this.y11_1 = listOf([fn(this, NamedFunction_orgUnit_ancestor_getInstance(), [this.h11_1.t1j()]), fn(this, NamedFunction_orgUnit_dataSet_getInstance(), [this.h11_1.t1j()]), fn(this, NamedFunction_orgUnit_group_getInstance(), [this.h11_1.t1j()]), fn(this, NamedFunction_orgUnit_program_getInstance(), [this.h11_1.t1j()])]);
13162
13162
  this.z11_1 = listOf([fn(this, NamedFunction_avg_getInstance(), [this.k11_1]), fn(this, NamedFunction_count_getInstance(), [this.k11_1]), fn(this, NamedFunction_max_getInstance(), [this.k11_1]), fn(this, NamedFunction_min_getInstance(), [this.k11_1]), fn(this, NamedFunction_stddev_getInstance(), [this.k11_1]), fn(this, NamedFunction_sum_getInstance(), [this.k11_1])]);
13163
13163
  this.a12_1 = listOf([fn(this, NamedFunction_median_getInstance(), [this.k11_1]), fn(this, NamedFunction_percentileCont_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_stddevPop_getInstance(), [this.k11_1]), fn(this, NamedFunction_stddevSamp_getInstance(), [this.k11_1]), fn(this, NamedFunction_variance_getInstance(), [this.k11_1])]);
13164
- this.b12_1 = listOf([fn(this, NamedFunction_d2_contains_getInstance(), [this.k11_1, this.k11_1.t1j()]), fn(this, NamedFunction_d2_containsItems_getInstance(), [this.k11_1, this.k11_1.t1j()]), fn(this, NamedFunction_d2_count_getInstance(), [this.l11_1]), fn(this, NamedFunction_d2_countIfValue_getInstance(), [this.l11_1, this.k11_1]), fn(this, NamedFunction_d2_daysBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_hasValue_getInstance(), [this.l11_1]), fn(this, NamedFunction_d2_maxValue_getInstance(), [this.l11_1]), fn(this, NamedFunction_d2_minValue_getInstance(), [this.l11_1]), fn(this, NamedFunction_d2_monthsBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_oizp_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_weeksBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_yearsBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_zing_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_zpvc_getInstance(), [this.k11_1.t1j()])]);
13164
+ this.b12_1 = listOf([fn(this, NamedFunction_d2_condition_getInstance(), [this.f11_1, this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_contains_getInstance(), [this.k11_1, this.k11_1.t1j()]), fn(this, NamedFunction_d2_containsItems_getInstance(), [this.k11_1, this.k11_1.t1j()]), fn(this, NamedFunction_d2_count_getInstance(), [this.l11_1]), fn(this, NamedFunction_d2_countIfValue_getInstance(), [this.l11_1, this.k11_1]), fn(this, NamedFunction_d2_daysBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_hasValue_getInstance(), [this.l11_1]), fn(this, NamedFunction_d2_maxValue_getInstance(), [this.l11_1]), fn(this, NamedFunction_d2_minValue_getInstance(), [this.l11_1]), fn(this, NamedFunction_d2_monthsBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_oizp_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_weeksBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_yearsBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_zing_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_zpvc_getInstance(), [this.k11_1.t1j()])]);
13165
13165
  this.c12_1 = listOf([fn(this, NamedFunction_d2_addDays_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_ceil_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_concatenate_getInstance(), [this.k11_1.t1j()]), fn(this, NamedFunction_d2_countIfZeroPos_getInstance(), [this.l11_1]), fn(this, NamedFunction_d2_extractDataMatrixValue_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_floor_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_hasUserRole_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_inOrgUnitGroup_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_lastEventDate_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_left_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_length_getInstance(), [this.k11_1]), fn(this, NamedFunction_d2_modulus_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_right_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_round_getInstance(), [this.k11_1, this.g11_1.s1j()]), fn(this, NamedFunction_d2_split_getInstance(), [this.k11_1, this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_substring_getInstance(), [this.k11_1, this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_validatePattern_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_zScoreHFA_getInstance(), [this.k11_1, this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_zScoreWFA_getInstance(), [this.k11_1, this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_zScoreWFH_getInstance(), [this.k11_1, this.k11_1, this.k11_1])]);
13166
- this.d12_1 = listOf([fn(this, NamedFunction_d2_condition_getInstance(), [this.f11_1, this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_countIfCondition_getInstance(), [this.k11_1, this.f11_1]), fn(this, NamedFunction_d2_minutesBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_relationshipCount_getInstance(), [this.h11_1.u1j().s1j()])]);
13166
+ this.d12_1 = listOf([fn(this, NamedFunction_d2_countIfCondition_getInstance(), [this.k11_1, this.f11_1]), fn(this, NamedFunction_d2_minutesBetween_getInstance(), [this.k11_1, this.k11_1]), fn(this, NamedFunction_d2_relationshipCount_getInstance(), [this.h11_1.u1j().s1j()])]);
13167
13167
  this.e12_1 = listOf([Companion_instance_19.e1k(NodeType_NULL_getInstance(), 'null'), Companion_instance_19.e1k(NodeType_BOOLEAN_getInstance(), 'true'), Companion_instance_19.e1k(NodeType_BOOLEAN_getInstance(), 'false')]);
13168
13168
  this.f12_1 = this.m11_1.k1j(DataItemType_DATA_ELEMENT_getInstance().s1b_1);
13169
13169
  this.g12_1 = this.n11_1.k1j(DataItemType_ATTRIBUTE_getInstance().s1b_1);