@dhis2/expression-parser 1.1.3 → 1.1.4

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.
@@ -1971,6 +1971,8 @@
1971
1971
  var NamedFunction_d2_ceil_instance;
1972
1972
  var NamedFunction_d2_concatenate_instance;
1973
1973
  var NamedFunction_d2_condition_instance;
1974
+ var NamedFunction_d2_contains_instance;
1975
+ var NamedFunction_d2_containsItems_instance;
1974
1976
  var NamedFunction_d2_count_instance;
1975
1977
  var NamedFunction_d2_countIfCondition_instance;
1976
1978
  var NamedFunction_d2_countIfValue_instance;
@@ -2034,7 +2036,7 @@
2034
2036
  return Companion_instance_0;
2035
2037
  }
2036
2038
  function values_1() {
2037
- return [NamedFunction_contains_getInstance(), NamedFunction_containsItems_getInstance(), NamedFunction_firstNonNull_getInstance(), NamedFunction_greatest_getInstance(), NamedFunction_ifThenElse_getInstance(), NamedFunction_isNotNull_getInstance(), NamedFunction_isNull_getInstance(), NamedFunction_least_getInstance(), NamedFunction_log_getInstance(), NamedFunction_log10_getInstance(), NamedFunction_orgUnit_ancestor_getInstance(), NamedFunction_orgUnit_dataSet_getInstance(), NamedFunction_orgUnit_group_getInstance(), NamedFunction_orgUnit_program_getInstance(), NamedFunction_removeZeros_getInstance(), NamedFunction_subExpression_getInstance(), NamedFunction_avg_getInstance(), NamedFunction_count_getInstance(), NamedFunction_max_getInstance(), NamedFunction_median_getInstance(), NamedFunction_min_getInstance(), NamedFunction_percentileCont_getInstance(), NamedFunction_stddev_getInstance(), NamedFunction_stddevPop_getInstance(), NamedFunction_stddevSamp_getInstance(), NamedFunction_sum_getInstance(), NamedFunction_variance_getInstance(), NamedFunction_normDistCum_getInstance(), NamedFunction_normDistDen_getInstance(), NamedFunction_d2_addDays_getInstance(), NamedFunction_d2_ceil_getInstance(), NamedFunction_d2_concatenate_getInstance(), NamedFunction_d2_condition_getInstance(), NamedFunction_d2_count_getInstance(), NamedFunction_d2_countIfCondition_getInstance(), NamedFunction_d2_countIfValue_getInstance(), NamedFunction_d2_countIfZeroPos_getInstance(), NamedFunction_d2_daysBetween_getInstance(), NamedFunction_d2_extractDataMatrixValue_getInstance(), NamedFunction_d2_floor_getInstance(), NamedFunction_d2_hasUserRole_getInstance(), NamedFunction_d2_hasValue_getInstance(), NamedFunction_d2_inOrgUnitGroup_getInstance(), NamedFunction_d2_lastEventDate_getInstance(), NamedFunction_d2_left_getInstance(), NamedFunction_d2_length_getInstance(), NamedFunction_d2_maxValue_getInstance(), NamedFunction_d2_minutesBetween_getInstance(), NamedFunction_d2_minValue_getInstance(), NamedFunction_d2_modulus_getInstance(), NamedFunction_d2_monthsBetween_getInstance(), NamedFunction_d2_oizp_getInstance(), NamedFunction_d2_relationshipCount_getInstance(), NamedFunction_d2_right_getInstance(), NamedFunction_d2_round_getInstance(), NamedFunction_d2_split_getInstance(), NamedFunction_d2_substring_getInstance(), NamedFunction_d2_validatePattern_getInstance(), NamedFunction_d2_weeksBetween_getInstance(), NamedFunction_d2_yearsBetween_getInstance(), NamedFunction_d2_zing_getInstance(), NamedFunction_d2_zpvc_getInstance(), NamedFunction_d2_zScoreHFA_getInstance(), NamedFunction_d2_zScoreWFA_getInstance(), NamedFunction_d2_zScoreWFH_getInstance()];
2039
+ return [NamedFunction_contains_getInstance(), NamedFunction_containsItems_getInstance(), NamedFunction_firstNonNull_getInstance(), NamedFunction_greatest_getInstance(), NamedFunction_ifThenElse_getInstance(), NamedFunction_isNotNull_getInstance(), NamedFunction_isNull_getInstance(), NamedFunction_least_getInstance(), NamedFunction_log_getInstance(), NamedFunction_log10_getInstance(), NamedFunction_orgUnit_ancestor_getInstance(), NamedFunction_orgUnit_dataSet_getInstance(), NamedFunction_orgUnit_group_getInstance(), NamedFunction_orgUnit_program_getInstance(), NamedFunction_removeZeros_getInstance(), NamedFunction_subExpression_getInstance(), NamedFunction_avg_getInstance(), NamedFunction_count_getInstance(), NamedFunction_max_getInstance(), NamedFunction_median_getInstance(), NamedFunction_min_getInstance(), NamedFunction_percentileCont_getInstance(), NamedFunction_stddev_getInstance(), NamedFunction_stddevPop_getInstance(), NamedFunction_stddevSamp_getInstance(), NamedFunction_sum_getInstance(), NamedFunction_variance_getInstance(), NamedFunction_normDistCum_getInstance(), NamedFunction_normDistDen_getInstance(), NamedFunction_d2_addDays_getInstance(), NamedFunction_d2_ceil_getInstance(), NamedFunction_d2_concatenate_getInstance(), NamedFunction_d2_condition_getInstance(), NamedFunction_d2_contains_getInstance(), NamedFunction_d2_containsItems_getInstance(), NamedFunction_d2_count_getInstance(), NamedFunction_d2_countIfCondition_getInstance(), NamedFunction_d2_countIfValue_getInstance(), NamedFunction_d2_countIfZeroPos_getInstance(), NamedFunction_d2_daysBetween_getInstance(), NamedFunction_d2_extractDataMatrixValue_getInstance(), NamedFunction_d2_floor_getInstance(), NamedFunction_d2_hasUserRole_getInstance(), NamedFunction_d2_hasValue_getInstance(), NamedFunction_d2_inOrgUnitGroup_getInstance(), NamedFunction_d2_lastEventDate_getInstance(), NamedFunction_d2_left_getInstance(), NamedFunction_d2_length_getInstance(), NamedFunction_d2_maxValue_getInstance(), NamedFunction_d2_minutesBetween_getInstance(), NamedFunction_d2_minValue_getInstance(), NamedFunction_d2_modulus_getInstance(), NamedFunction_d2_monthsBetween_getInstance(), NamedFunction_d2_oizp_getInstance(), NamedFunction_d2_relationshipCount_getInstance(), NamedFunction_d2_right_getInstance(), NamedFunction_d2_round_getInstance(), NamedFunction_d2_split_getInstance(), NamedFunction_d2_substring_getInstance(), NamedFunction_d2_validatePattern_getInstance(), NamedFunction_d2_weeksBetween_getInstance(), NamedFunction_d2_yearsBetween_getInstance(), NamedFunction_d2_zing_getInstance(), NamedFunction_d2_zpvc_getInstance(), NamedFunction_d2_zScoreHFA_getInstance(), NamedFunction_d2_zScoreWFA_getInstance(), NamedFunction_d2_zScoreWFH_getInstance()];
2038
2040
  }
2039
2041
  function get_entries_1() {
2040
2042
  if ($ENTRIES_1 == null)
@@ -2079,38 +2081,40 @@
2079
2081
  NamedFunction_d2_ceil_instance = NamedFunction_init_$Create$('d2_ceil', 30, 'd2:ceil', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance()]);
2080
2082
  NamedFunction_d2_concatenate_instance = new NamedFunction('d2_concatenate', 31, 'd2:concatenate', ValueType_STRING_getInstance(), true, [ValueType_STRING_getInstance()]);
2081
2083
  NamedFunction_d2_condition_instance = NamedFunction_init_$Create$('d2_condition', 32, 'd2:condition', ValueType_SAME_getInstance(), [ValueType_BOOLEAN_getInstance(), ValueType_SAME_getInstance(), ValueType_SAME_getInstance()]);
2082
- NamedFunction_d2_count_instance = NamedFunction_init_$Create$('d2_count', 33, 'd2:count', ValueType_NUMBER_getInstance(), [ValueType_MIXED_getInstance()]);
2083
- NamedFunction_d2_countIfCondition_instance = NamedFunction_init_$Create$('d2_countIfCondition', 34, 'd2:countIfCondition', ValueType_NUMBER_getInstance(), [ValueType_BOOLEAN_getInstance(), ValueType_MIXED_getInstance()]);
2084
- NamedFunction_d2_countIfValue_instance = NamedFunction_init_$Create$('d2_countIfValue', 35, 'd2:countIfValue', ValueType_NUMBER_getInstance(), [ValueType_MIXED_getInstance(), ValueType_MIXED_getInstance()]);
2085
- NamedFunction_d2_countIfZeroPos_instance = NamedFunction_init_$Create$('d2_countIfZeroPos', 36, 'd2:countIfZeroPos', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance()]);
2086
- NamedFunction_d2_daysBetween_instance = NamedFunction_init_$Create$('d2_daysBetween', 37, 'd2:daysBetween', ValueType_NUMBER_getInstance(), [ValueType_DATE_getInstance(), ValueType_DATE_getInstance()]);
2087
- NamedFunction_d2_extractDataMatrixValue_instance = NamedFunction_init_$Create$('d2_extractDataMatrixValue', 38, 'd2:extractDataMatrixValue', ValueType_STRING_getInstance(), [ValueType_STRING_getInstance(), ValueType_STRING_getInstance()]);
2088
- NamedFunction_d2_floor_instance = NamedFunction_init_$Create$('d2_floor', 39, 'd2:floor', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance()]);
2089
- NamedFunction_d2_hasUserRole_instance = NamedFunction_init_$Create$('d2_hasUserRole', 40, 'd2:hasUserRole', ValueType_BOOLEAN_getInstance(), [ValueType_STRING_getInstance()]);
2090
- NamedFunction_d2_hasValue_instance = NamedFunction_init_$Create$('d2_hasValue', 41, 'd2:hasValue', ValueType_BOOLEAN_getInstance(), [ValueType_MIXED_getInstance()]);
2091
- NamedFunction_d2_inOrgUnitGroup_instance = NamedFunction_init_$Create$('d2_inOrgUnitGroup', 42, 'd2:inOrgUnitGroup', ValueType_BOOLEAN_getInstance(), [ValueType_STRING_getInstance()]);
2092
- NamedFunction_d2_lastEventDate_instance = NamedFunction_init_$Create$('d2_lastEventDate', 43, 'd2:lastEventDate', ValueType_DATE_getInstance(), [ValueType_STRING_getInstance()]);
2093
- NamedFunction_d2_left_instance = NamedFunction_init_$Create$('d2_left', 44, 'd2:left', ValueType_STRING_getInstance(), [ValueType_STRING_getInstance(), ValueType_NUMBER_getInstance()]);
2094
- NamedFunction_d2_length_instance = NamedFunction_init_$Create$('d2_length', 45, 'd2:length', ValueType_NUMBER_getInstance(), [ValueType_STRING_getInstance()]);
2095
- NamedFunction_d2_maxValue_instance = NamedFunction_init_$Create$('d2_maxValue', 46, 'd2:maxValue', ValueType_NUMBER_getInstance(), [ValueType_MIXED_getInstance()]);
2096
- NamedFunction_d2_minutesBetween_instance = NamedFunction_init_$Create$('d2_minutesBetween', 47, 'd2:minutesBetween', ValueType_NUMBER_getInstance(), [ValueType_DATE_getInstance(), ValueType_DATE_getInstance()]);
2097
- NamedFunction_d2_minValue_instance = NamedFunction_init_$Create$('d2_minValue', 48, 'd2:minValue', ValueType_NUMBER_getInstance(), [ValueType_MIXED_getInstance()]);
2098
- NamedFunction_d2_modulus_instance = NamedFunction_init_$Create$('d2_modulus', 49, 'd2:modulus', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance(), ValueType_NUMBER_getInstance()]);
2099
- NamedFunction_d2_monthsBetween_instance = NamedFunction_init_$Create$('d2_monthsBetween', 50, 'd2:monthsBetween', ValueType_NUMBER_getInstance(), [ValueType_DATE_getInstance(), ValueType_DATE_getInstance()]);
2100
- NamedFunction_d2_oizp_instance = NamedFunction_init_$Create$('d2_oizp', 51, 'd2:oizp', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance()]);
2101
- NamedFunction_d2_relationshipCount_instance = NamedFunction_init_$Create$('d2_relationshipCount', 52, 'd2:relationshipCount', ValueType_NUMBER_getInstance(), [ValueType_STRING_getInstance()]);
2102
- NamedFunction_d2_right_instance = NamedFunction_init_$Create$('d2_right', 53, 'd2:right', ValueType_STRING_getInstance(), [ValueType_STRING_getInstance(), ValueType_NUMBER_getInstance()]);
2103
- NamedFunction_d2_round_instance = NamedFunction_init_$Create$('d2_round', 54, 'd2:round', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance(), ValueType_NUMBER_getInstance()]);
2104
- NamedFunction_d2_split_instance = NamedFunction_init_$Create$('d2_split', 55, 'd2:split', ValueType_STRING_getInstance(), [ValueType_STRING_getInstance(), ValueType_STRING_getInstance(), ValueType_NUMBER_getInstance()]);
2105
- NamedFunction_d2_substring_instance = NamedFunction_init_$Create$('d2_substring', 56, 'd2:substring', ValueType_STRING_getInstance(), [ValueType_STRING_getInstance(), ValueType_NUMBER_getInstance(), ValueType_NUMBER_getInstance()]);
2106
- NamedFunction_d2_validatePattern_instance = NamedFunction_init_$Create$('d2_validatePattern', 57, 'd2:validatePattern', ValueType_BOOLEAN_getInstance(), [ValueType_STRING_getInstance(), ValueType_STRING_getInstance()]);
2107
- NamedFunction_d2_weeksBetween_instance = NamedFunction_init_$Create$('d2_weeksBetween', 58, 'd2:weeksBetween', ValueType_NUMBER_getInstance(), [ValueType_DATE_getInstance(), ValueType_DATE_getInstance()]);
2108
- NamedFunction_d2_yearsBetween_instance = NamedFunction_init_$Create$('d2_yearsBetween', 59, 'd2:yearsBetween', ValueType_NUMBER_getInstance(), [ValueType_DATE_getInstance(), ValueType_DATE_getInstance()]);
2109
- NamedFunction_d2_zing_instance = NamedFunction_init_$Create$('d2_zing', 60, 'd2:zing', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance()]);
2110
- NamedFunction_d2_zpvc_instance = new NamedFunction('d2_zpvc', 61, 'd2:zpvc', ValueType_NUMBER_getInstance(), true, [ValueType_NUMBER_getInstance()]);
2111
- NamedFunction_d2_zScoreHFA_instance = NamedFunction_init_$Create$('d2_zScoreHFA', 62, 'd2:zScoreHFA', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance(), ValueType_NUMBER_getInstance(), ValueType_STRING_getInstance()]);
2112
- NamedFunction_d2_zScoreWFA_instance = NamedFunction_init_$Create$('d2_zScoreWFA', 63, 'd2:zScoreWFA', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance(), ValueType_NUMBER_getInstance(), ValueType_STRING_getInstance()]);
2113
- NamedFunction_d2_zScoreWFH_instance = NamedFunction_init_$Create$('d2_zScoreWFH', 64, 'd2:zScoreWFH', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance(), ValueType_NUMBER_getInstance(), ValueType_STRING_getInstance()]);
2084
+ NamedFunction_d2_contains_instance = new NamedFunction('d2_contains', 33, 'd2:contains', ValueType_BOOLEAN_getInstance(), true, [ValueType_STRING_getInstance(), ValueType_STRING_getInstance(), ValueType_STRING_getInstance()]);
2085
+ NamedFunction_d2_containsItems_instance = new NamedFunction('d2_containsItems', 34, 'd2:containsItems', ValueType_BOOLEAN_getInstance(), true, [ValueType_STRING_getInstance(), ValueType_STRING_getInstance(), ValueType_STRING_getInstance()]);
2086
+ NamedFunction_d2_count_instance = NamedFunction_init_$Create$('d2_count', 35, 'd2:count', ValueType_NUMBER_getInstance(), [ValueType_MIXED_getInstance()]);
2087
+ NamedFunction_d2_countIfCondition_instance = NamedFunction_init_$Create$('d2_countIfCondition', 36, 'd2:countIfCondition', ValueType_NUMBER_getInstance(), [ValueType_BOOLEAN_getInstance(), ValueType_MIXED_getInstance()]);
2088
+ NamedFunction_d2_countIfValue_instance = NamedFunction_init_$Create$('d2_countIfValue', 37, 'd2:countIfValue', ValueType_NUMBER_getInstance(), [ValueType_MIXED_getInstance(), ValueType_MIXED_getInstance()]);
2089
+ NamedFunction_d2_countIfZeroPos_instance = NamedFunction_init_$Create$('d2_countIfZeroPos', 38, 'd2:countIfZeroPos', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance()]);
2090
+ NamedFunction_d2_daysBetween_instance = NamedFunction_init_$Create$('d2_daysBetween', 39, 'd2:daysBetween', ValueType_NUMBER_getInstance(), [ValueType_DATE_getInstance(), ValueType_DATE_getInstance()]);
2091
+ NamedFunction_d2_extractDataMatrixValue_instance = NamedFunction_init_$Create$('d2_extractDataMatrixValue', 40, 'd2:extractDataMatrixValue', ValueType_STRING_getInstance(), [ValueType_STRING_getInstance(), ValueType_STRING_getInstance()]);
2092
+ NamedFunction_d2_floor_instance = NamedFunction_init_$Create$('d2_floor', 41, 'd2:floor', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance()]);
2093
+ NamedFunction_d2_hasUserRole_instance = NamedFunction_init_$Create$('d2_hasUserRole', 42, 'd2:hasUserRole', ValueType_BOOLEAN_getInstance(), [ValueType_STRING_getInstance()]);
2094
+ NamedFunction_d2_hasValue_instance = NamedFunction_init_$Create$('d2_hasValue', 43, 'd2:hasValue', ValueType_BOOLEAN_getInstance(), [ValueType_MIXED_getInstance()]);
2095
+ NamedFunction_d2_inOrgUnitGroup_instance = NamedFunction_init_$Create$('d2_inOrgUnitGroup', 44, 'd2:inOrgUnitGroup', ValueType_BOOLEAN_getInstance(), [ValueType_STRING_getInstance()]);
2096
+ NamedFunction_d2_lastEventDate_instance = NamedFunction_init_$Create$('d2_lastEventDate', 45, 'd2:lastEventDate', ValueType_DATE_getInstance(), [ValueType_STRING_getInstance()]);
2097
+ NamedFunction_d2_left_instance = NamedFunction_init_$Create$('d2_left', 46, 'd2:left', ValueType_STRING_getInstance(), [ValueType_STRING_getInstance(), ValueType_NUMBER_getInstance()]);
2098
+ NamedFunction_d2_length_instance = NamedFunction_init_$Create$('d2_length', 47, 'd2:length', ValueType_NUMBER_getInstance(), [ValueType_STRING_getInstance()]);
2099
+ NamedFunction_d2_maxValue_instance = NamedFunction_init_$Create$('d2_maxValue', 48, 'd2:maxValue', ValueType_NUMBER_getInstance(), [ValueType_MIXED_getInstance()]);
2100
+ NamedFunction_d2_minutesBetween_instance = NamedFunction_init_$Create$('d2_minutesBetween', 49, 'd2:minutesBetween', ValueType_NUMBER_getInstance(), [ValueType_DATE_getInstance(), ValueType_DATE_getInstance()]);
2101
+ NamedFunction_d2_minValue_instance = NamedFunction_init_$Create$('d2_minValue', 50, 'd2:minValue', ValueType_NUMBER_getInstance(), [ValueType_MIXED_getInstance()]);
2102
+ NamedFunction_d2_modulus_instance = NamedFunction_init_$Create$('d2_modulus', 51, 'd2:modulus', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance(), ValueType_NUMBER_getInstance()]);
2103
+ NamedFunction_d2_monthsBetween_instance = NamedFunction_init_$Create$('d2_monthsBetween', 52, 'd2:monthsBetween', ValueType_NUMBER_getInstance(), [ValueType_DATE_getInstance(), ValueType_DATE_getInstance()]);
2104
+ NamedFunction_d2_oizp_instance = NamedFunction_init_$Create$('d2_oizp', 53, 'd2:oizp', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance()]);
2105
+ NamedFunction_d2_relationshipCount_instance = NamedFunction_init_$Create$('d2_relationshipCount', 54, 'd2:relationshipCount', ValueType_NUMBER_getInstance(), [ValueType_STRING_getInstance()]);
2106
+ NamedFunction_d2_right_instance = NamedFunction_init_$Create$('d2_right', 55, 'd2:right', ValueType_STRING_getInstance(), [ValueType_STRING_getInstance(), ValueType_NUMBER_getInstance()]);
2107
+ NamedFunction_d2_round_instance = NamedFunction_init_$Create$('d2_round', 56, 'd2:round', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance(), ValueType_NUMBER_getInstance()]);
2108
+ NamedFunction_d2_split_instance = NamedFunction_init_$Create$('d2_split', 57, 'd2:split', ValueType_STRING_getInstance(), [ValueType_STRING_getInstance(), ValueType_STRING_getInstance(), ValueType_NUMBER_getInstance()]);
2109
+ NamedFunction_d2_substring_instance = NamedFunction_init_$Create$('d2_substring', 58, 'd2:substring', ValueType_STRING_getInstance(), [ValueType_STRING_getInstance(), ValueType_NUMBER_getInstance(), ValueType_NUMBER_getInstance()]);
2110
+ NamedFunction_d2_validatePattern_instance = NamedFunction_init_$Create$('d2_validatePattern', 59, 'd2:validatePattern', ValueType_BOOLEAN_getInstance(), [ValueType_STRING_getInstance(), ValueType_STRING_getInstance()]);
2111
+ NamedFunction_d2_weeksBetween_instance = NamedFunction_init_$Create$('d2_weeksBetween', 60, 'd2:weeksBetween', ValueType_NUMBER_getInstance(), [ValueType_DATE_getInstance(), ValueType_DATE_getInstance()]);
2112
+ NamedFunction_d2_yearsBetween_instance = NamedFunction_init_$Create$('d2_yearsBetween', 61, 'd2:yearsBetween', ValueType_NUMBER_getInstance(), [ValueType_DATE_getInstance(), ValueType_DATE_getInstance()]);
2113
+ NamedFunction_d2_zing_instance = NamedFunction_init_$Create$('d2_zing', 62, 'd2:zing', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance()]);
2114
+ NamedFunction_d2_zpvc_instance = new NamedFunction('d2_zpvc', 63, 'd2:zpvc', ValueType_NUMBER_getInstance(), true, [ValueType_NUMBER_getInstance()]);
2115
+ NamedFunction_d2_zScoreHFA_instance = NamedFunction_init_$Create$('d2_zScoreHFA', 64, 'd2:zScoreHFA', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance(), ValueType_NUMBER_getInstance(), ValueType_STRING_getInstance()]);
2116
+ NamedFunction_d2_zScoreWFA_instance = NamedFunction_init_$Create$('d2_zScoreWFA', 65, 'd2:zScoreWFA', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance(), ValueType_NUMBER_getInstance(), ValueType_STRING_getInstance()]);
2117
+ NamedFunction_d2_zScoreWFH_instance = NamedFunction_init_$Create$('d2_zScoreWFH', 66, 'd2:zScoreWFH', ValueType_NUMBER_getInstance(), [ValueType_NUMBER_getInstance(), ValueType_NUMBER_getInstance(), ValueType_STRING_getInstance()]);
2114
2118
  }
2115
2119
  var $ENTRIES_1;
2116
2120
  function NamedFunction(name, ordinal, fnName, returnType, isVarargs, parameterTypes) {
@@ -2264,6 +2268,14 @@
2264
2268
  NamedFunction_initEntries();
2265
2269
  return NamedFunction_d2_condition_instance;
2266
2270
  }
2271
+ function NamedFunction_d2_contains_getInstance() {
2272
+ NamedFunction_initEntries();
2273
+ return NamedFunction_d2_contains_instance;
2274
+ }
2275
+ function NamedFunction_d2_containsItems_getInstance() {
2276
+ NamedFunction_initEntries();
2277
+ return NamedFunction_d2_containsItems_instance;
2278
+ }
2267
2279
  function NamedFunction_d2_count_getInstance() {
2268
2280
  NamedFunction_initEntries();
2269
2281
  return NamedFunction_d2_count_instance;
@@ -4782,93 +4794,99 @@
4782
4794
  tmp = this.b17_1.zs(evalToStrings(this, fn.pz()));
4783
4795
  break;
4784
4796
  case 33:
4785
- tmp = this.b17_1.at(evalToVar(this, fn.mz(0)));
4797
+ tmp = this.b17_1.zr(this.g17(fn.mz(0)), drop(evalToStrings(this, fn.pz()), 1));
4798
+ break;
4799
+ case 34:
4800
+ tmp = this.b17_1.as(this.g17(fn.mz(0)), drop(evalToStrings(this, fn.pz()), 1));
4786
4801
  break;
4787
4802
  case 35:
4803
+ tmp = this.b17_1.at(evalToVar(this, fn.mz(0)));
4804
+ break;
4805
+ case 37:
4788
4806
  tmp = this.b17_1.bt(evalToVar(this, fn.mz(0)), this.g17(fn.mz(1)));
4789
4807
  break;
4790
- case 36:
4808
+ case 38:
4791
4809
  tmp = this.b17_1.ct(evalToVar(this, fn.mz(0)));
4792
4810
  break;
4793
- case 37:
4811
+ case 39:
4794
4812
  tmp = this.b17_1.dt(this.k17(fn.mz(0)), this.k17(fn.mz(1)));
4795
4813
  break;
4796
- case 38:
4814
+ case 40:
4797
4815
  tmp = this.b17_1.et(this.g17(fn.mz(0)), this.g17(fn.mz(1)));
4798
4816
  break;
4799
- case 39:
4817
+ case 41:
4800
4818
  tmp = this.b17_1.ft(this.e17(fn.mz(0)));
4801
4819
  break;
4802
- case 40:
4820
+ case 42:
4803
4821
  tmp = this.b17_1.gt(this.g17(fn.mz(0)), this.c17_1.ev_1.c2('USER'));
4804
4822
  break;
4805
- case 41:
4823
+ case 43:
4806
4824
  tmp = this.b17_1.ht(evalToVar(this, fn.mz(0)));
4807
4825
  break;
4808
- case 42:
4826
+ case 44:
4809
4827
  tmp = this.b17_1.it(this.g17(fn.mz(0)), this.c17_1.cv_1.c2('org_unit'), this.c17_1.ev_1);
4810
4828
  break;
4811
- case 43:
4829
+ case 45:
4812
4830
  tmp = this.b17_1.jt(evalToVar(this, fn.mz(0)));
4813
4831
  break;
4814
- case 44:
4832
+ case 46:
4815
4833
  tmp = this.b17_1.kt(this.g17(fn.mz(0)), evalToInteger(this, fn.mz(1)));
4816
4834
  break;
4817
- case 45:
4835
+ case 47:
4818
4836
  tmp = this.b17_1.lt(this.g17(fn.mz(0)));
4819
4837
  break;
4820
- case 46:
4838
+ case 48:
4821
4839
  tmp = this.b17_1.mt(evalToVar(this, fn.mz(0)));
4822
4840
  break;
4823
- case 47:
4841
+ case 49:
4824
4842
  tmp = this.b17_1.nt(this.k17(fn.mz(0)), this.k17(fn.mz(1)));
4825
4843
  break;
4826
- case 48:
4844
+ case 50:
4827
4845
  tmp = this.b17_1.ot(evalToVar(this, fn.mz(0)));
4828
4846
  break;
4829
- case 49:
4847
+ case 51:
4830
4848
  tmp = this.b17_1.pt(this.e17(fn.mz(0)), this.e17(fn.mz(1)));
4831
4849
  break;
4832
- case 50:
4850
+ case 52:
4833
4851
  tmp = this.b17_1.qt(this.k17(fn.mz(0)), this.k17(fn.mz(1)));
4834
4852
  break;
4835
- case 51:
4853
+ case 53:
4836
4854
  tmp = this.b17_1.rt(this.e17(fn.mz(0)));
4837
4855
  break;
4838
- case 53:
4856
+ case 55:
4839
4857
  tmp = this.b17_1.st(this.g17(fn.mz(0)), evalToInteger(this, fn.mz(1)));
4840
4858
  break;
4841
- case 54:
4859
+ case 56:
4842
4860
  tmp = this.b17_1.tt(this.e17(fn.mz(0)), fn.lz() <= 1 ? 0 : evalToInteger(this, fn.mz(1)));
4843
4861
  break;
4844
- case 55:
4862
+ case 57:
4845
4863
  tmp = this.b17_1.ut(this.g17(fn.mz(0)), this.g17(fn.mz(1)), evalToInteger(this, fn.mz(2)));
4846
4864
  break;
4847
- case 56:
4865
+ case 58:
4848
4866
  tmp = this.b17_1.vt(this.g17(fn.mz(0)), evalToInteger(this, fn.mz(1)), evalToInteger(this, fn.mz(2)));
4849
4867
  break;
4850
- case 57:
4868
+ case 59:
4851
4869
  tmp = this.b17_1.wt(this.g17(fn.mz(0)), this.g17(fn.mz(1)));
4852
4870
  break;
4853
- case 58:
4871
+ case 60:
4854
4872
  tmp = this.b17_1.xt(this.k17(fn.mz(0)), this.k17(fn.mz(1)));
4855
4873
  break;
4856
- case 59:
4874
+ case 61:
4857
4875
  tmp = this.b17_1.yt(this.k17(fn.mz(0)), this.k17(fn.mz(1)));
4858
4876
  break;
4859
- case 60:
4877
+ case 62:
4860
4878
  tmp = this.b17_1.zt(this.e17(fn.mz(0)));
4861
4879
  break;
4862
- case 61:
4880
+ case 63:
4863
4881
  tmp = this.b17_1.au(evalToNumbers(this, fn.pz()));
4864
4882
  break;
4865
- case 62:
4883
+ case 64:
4866
4884
  tmp = this.b17_1.bu(this.e17(fn.mz(0)), this.e17(fn.mz(1)), this.g17(fn.mz(2)));
4867
4885
  break;
4868
- case 63:
4886
+ case 65:
4869
4887
  tmp = this.b17_1.cu(this.e17(fn.mz(0)), this.e17(fn.mz(1)), this.g17(fn.mz(2)));
4870
4888
  break;
4871
- case 64:
4889
+ case 66:
4872
4890
  tmp = this.b17_1.du(this.e17(fn.mz(0)), this.e17(fn.mz(1)), this.g17(fn.mz(2)));
4873
4891
  break;
4874
4892
  case 27:
@@ -10900,7 +10918,7 @@
10900
10918
  this.iw_1 = listOf([fn(this, NamedFunction_orgUnit_ancestor_getInstance(), [this.rv_1.d1e()]), fn(this, NamedFunction_orgUnit_dataSet_getInstance(), [this.rv_1.d1e()]), fn(this, NamedFunction_orgUnit_group_getInstance(), [this.rv_1.d1e()]), fn(this, NamedFunction_orgUnit_program_getInstance(), [this.rv_1.d1e()])]);
10901
10919
  this.jw_1 = listOf([fn(this, NamedFunction_avg_getInstance(), [this.uv_1]), fn(this, NamedFunction_count_getInstance(), [this.uv_1]), fn(this, NamedFunction_max_getInstance(), [this.uv_1]), fn(this, NamedFunction_min_getInstance(), [this.uv_1]), fn(this, NamedFunction_stddev_getInstance(), [this.uv_1]), fn(this, NamedFunction_sum_getInstance(), [this.uv_1])]);
10902
10920
  this.kw_1 = listOf([fn(this, NamedFunction_median_getInstance(), [this.uv_1]), fn(this, NamedFunction_percentileCont_getInstance(), [this.uv_1, this.uv_1]), fn(this, NamedFunction_stddevPop_getInstance(), [this.uv_1]), fn(this, NamedFunction_stddevSamp_getInstance(), [this.uv_1]), fn(this, NamedFunction_variance_getInstance(), [this.uv_1])]);
10903
- this.lw_1 = listOf([fn(this, NamedFunction_d2_count_getInstance(), [this.vv_1]), fn(this, NamedFunction_d2_countIfValue_getInstance(), [this.vv_1, this.uv_1]), fn(this, NamedFunction_d2_daysBetween_getInstance(), [this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_hasValue_getInstance(), [this.vv_1]), fn(this, NamedFunction_d2_maxValue_getInstance(), [this.vv_1]), fn(this, NamedFunction_d2_minValue_getInstance(), [this.vv_1]), fn(this, NamedFunction_d2_monthsBetween_getInstance(), [this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_oizp_getInstance(), [this.uv_1]), fn(this, NamedFunction_d2_weeksBetween_getInstance(), [this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_yearsBetween_getInstance(), [this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_zing_getInstance(), [this.uv_1]), fn(this, NamedFunction_d2_zpvc_getInstance(), [this.uv_1.d1e()])]);
10921
+ this.lw_1 = listOf([fn(this, NamedFunction_d2_contains_getInstance(), [this.uv_1, this.uv_1.d1e()]), fn(this, NamedFunction_d2_containsItems_getInstance(), [this.uv_1, this.uv_1.d1e()]), fn(this, NamedFunction_d2_count_getInstance(), [this.vv_1]), fn(this, NamedFunction_d2_countIfValue_getInstance(), [this.vv_1, this.uv_1]), fn(this, NamedFunction_d2_daysBetween_getInstance(), [this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_hasValue_getInstance(), [this.vv_1]), fn(this, NamedFunction_d2_maxValue_getInstance(), [this.vv_1]), fn(this, NamedFunction_d2_minValue_getInstance(), [this.vv_1]), fn(this, NamedFunction_d2_monthsBetween_getInstance(), [this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_oizp_getInstance(), [this.uv_1]), fn(this, NamedFunction_d2_weeksBetween_getInstance(), [this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_yearsBetween_getInstance(), [this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_zing_getInstance(), [this.uv_1]), fn(this, NamedFunction_d2_zpvc_getInstance(), [this.uv_1.d1e()])]);
10904
10922
  this.mw_1 = listOf([fn(this, NamedFunction_d2_addDays_getInstance(), [this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_ceil_getInstance(), [this.uv_1]), fn(this, NamedFunction_d2_concatenate_getInstance(), [this.uv_1.d1e()]), fn(this, NamedFunction_d2_countIfZeroPos_getInstance(), [this.vv_1]), fn(this, NamedFunction_d2_extractDataMatrixValue_getInstance(), [this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_floor_getInstance(), [this.uv_1]), fn(this, NamedFunction_d2_hasUserRole_getInstance(), [this.uv_1]), fn(this, NamedFunction_d2_inOrgUnitGroup_getInstance(), [this.uv_1]), fn(this, NamedFunction_d2_lastEventDate_getInstance(), [this.uv_1]), fn(this, NamedFunction_d2_left_getInstance(), [this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_length_getInstance(), [this.uv_1]), fn(this, NamedFunction_d2_modulus_getInstance(), [this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_right_getInstance(), [this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_round_getInstance(), [this.uv_1, this.qv_1.c1e()]), fn(this, NamedFunction_d2_split_getInstance(), [this.uv_1, this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_substring_getInstance(), [this.uv_1, this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_validatePattern_getInstance(), [this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_zScoreHFA_getInstance(), [this.uv_1, this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_zScoreWFA_getInstance(), [this.uv_1, this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_zScoreWFH_getInstance(), [this.uv_1, this.uv_1, this.uv_1])]);
10905
10923
  this.nw_1 = listOf([fn(this, NamedFunction_d2_condition_getInstance(), [this.pv_1, this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_countIfCondition_getInstance(), [this.uv_1, this.pv_1]), fn(this, NamedFunction_d2_minutesBetween_getInstance(), [this.uv_1, this.uv_1]), fn(this, NamedFunction_d2_relationshipCount_getInstance(), [this.rv_1.e1e().c1e()])]);
10906
10924
  this.ow_1 = listOf([Companion_instance_19.o1e(NodeType_NULL_getInstance(), 'null'), Companion_instance_19.o1e(NodeType_BOOLEAN_getInstance(), 'true'), Companion_instance_19.o1e(NodeType_BOOLEAN_getInstance(), 'false')]);
@@ -10926,7 +10944,7 @@
10926
10944
  this.cx_1 = this.ax_1;
10927
10945
  this.dx_1 = concat(this, [this.fw_1, this.gw_1, this.hw_1, this.ow_1, listOf_0(this.rw_1)]);
10928
10946
  this.ex_1 = concat(this, [this.fw_1, this.gw_1, this.hw_1, this.ow_1, this.lw_1, this.jw_1, this.nw_1, listOf([this.pw_1, this.qw_1, this.rw_1, this.xw_1, this.yv_1])]);
10929
- this.fx_1 = concat(this, [this.fw_1, this.ow_1, this.lw_1, this.mw_1, listOf([this.pw_1, this.qw_1, this.rw_1, this.xw_1])]);
10947
+ this.fx_1 = concat(this, [this.ow_1, this.lw_1, this.mw_1, listOf([this.pw_1, this.qw_1, this.rw_1, this.xw_1])]);
10930
10948
  }
10931
10949
  protoOf(ExpressionGrammar).p1e = function (value, args) {
10932
10950
  var symbol = value.c16_1;