@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.
@@ -11770,7 +11770,7 @@
11770
11770
  ValueType_MIXED_instance = new ValueType('MIXED', 0, '');
11771
11771
  ValueType_NUMBER_instance = new ValueType('NUMBER', 1, 0.0);
11772
11772
  ValueType_BOOLEAN_instance = new ValueType('BOOLEAN', 2, false);
11773
- ValueType_DATE_instance = new ValueType('DATE', 3, '2020-01-01');
11773
+ ValueType_DATE_instance = new ValueType('DATE', 3, null);
11774
11774
  ValueType_STRING_instance = new ValueType('STRING', 4, '');
11775
11775
  ValueType_SAME_instance = new ValueType('SAME', 5, '');
11776
11776
  }
@@ -13157,9 +13157,9 @@
13157
13157
  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()])]);
13158
13158
  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])]);
13159
13159
  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])]);
13160
- 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()])]);
13160
+ 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()])]);
13161
13161
  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])]);
13162
- 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()])]);
13162
+ 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()])]);
13163
13163
  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')]);
13164
13164
  this.f12_1 = this.m11_1.k1j(DataItemType_DATA_ELEMENT_getInstance().s1b_1);
13165
13165
  this.g12_1 = this.n11_1.k1j(DataItemType_ATTRIBUTE_getInstance().s1b_1);