@dhis2/expression-parser 1.1.12 → 1.2.1
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.
- package/expression-parser.d.ts +61 -22
- package/expression-parser.js +1896 -1758
- package/expression-parser.js.map +1 -1
- package/expression-parser.mjs +1890 -1758
- package/expression-parser.mjs.map +1 -1
- package/kotlin-kotlin-stdlib.js +7 -7
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-kotlin-stdlib.mjs +7 -7
- package/package.json +1 -1
package/expression-parser.d.ts
CHANGED
|
@@ -33,8 +33,12 @@ export declare abstract class ExpressionMode {
|
|
|
33
33
|
get name(): "RULE_ENGINE_ACTION";
|
|
34
34
|
get ordinal(): 7;
|
|
35
35
|
};
|
|
36
|
-
get
|
|
37
|
-
|
|
36
|
+
static get ANDROID_CUSTOM_INTENT_EXPRESSION(): ExpressionMode & {
|
|
37
|
+
get name(): "ANDROID_CUSTOM_INTENT_EXPRESSION";
|
|
38
|
+
get ordinal(): 8;
|
|
39
|
+
};
|
|
40
|
+
get name(): "VALIDATION_RULE_EXPRESSION" | "VALIDATION_RULE_RESULT_TEST" | "PREDICTOR_GENERATOR_EXPRESSION" | "PREDICTOR_SKIP_TEST" | "INDICATOR_EXPRESSION" | "PROGRAM_INDICATOR_EXPRESSION" | "RULE_ENGINE_CONDITION" | "RULE_ENGINE_ACTION" | "ANDROID_CUSTOM_INTENT_EXPRESSION";
|
|
41
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
|
38
42
|
static values(): Array<ExpressionMode>;
|
|
39
43
|
static valueOf(value: string): ExpressionMode;
|
|
40
44
|
}
|
|
@@ -109,6 +113,33 @@ export declare abstract class AggregationType {
|
|
|
109
113
|
static values(): Array<AggregationType>;
|
|
110
114
|
static valueOf(value: string): AggregationType;
|
|
111
115
|
}
|
|
116
|
+
export declare abstract class AndroidCustomIntentVariable {
|
|
117
|
+
private constructor();
|
|
118
|
+
static get orgunit_code(): AndroidCustomIntentVariable & {
|
|
119
|
+
get name(): "orgunit_code";
|
|
120
|
+
get ordinal(): 0;
|
|
121
|
+
};
|
|
122
|
+
static get orgunit_id(): AndroidCustomIntentVariable & {
|
|
123
|
+
get name(): "orgunit_id";
|
|
124
|
+
get ordinal(): 1;
|
|
125
|
+
};
|
|
126
|
+
static get orgunit_path(): AndroidCustomIntentVariable & {
|
|
127
|
+
get name(): "orgunit_path";
|
|
128
|
+
get ordinal(): 2;
|
|
129
|
+
};
|
|
130
|
+
static get user_id(): AndroidCustomIntentVariable & {
|
|
131
|
+
get name(): "user_id";
|
|
132
|
+
get ordinal(): 3;
|
|
133
|
+
};
|
|
134
|
+
static get user_username(): AndroidCustomIntentVariable & {
|
|
135
|
+
get name(): "user_username";
|
|
136
|
+
get ordinal(): 4;
|
|
137
|
+
};
|
|
138
|
+
get name(): "orgunit_code" | "orgunit_id" | "orgunit_path" | "user_id" | "user_username";
|
|
139
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
140
|
+
static values(): Array<AndroidCustomIntentVariable>;
|
|
141
|
+
static valueOf(value: string): AndroidCustomIntentVariable;
|
|
142
|
+
}
|
|
112
143
|
export declare abstract class DataItemType {
|
|
113
144
|
private constructor();
|
|
114
145
|
static get DATA_ELEMENT(): DataItemType & {
|
|
@@ -147,8 +178,12 @@ export declare abstract class DataItemType {
|
|
|
147
178
|
get name(): "PROGRAM_VARIABLE";
|
|
148
179
|
get ordinal(): 8;
|
|
149
180
|
};
|
|
150
|
-
get
|
|
151
|
-
|
|
181
|
+
static get ANDROID_CUSTOM_INTENT(): DataItemType & {
|
|
182
|
+
get name(): "ANDROID_CUSTOM_INTENT";
|
|
183
|
+
get ordinal(): 9;
|
|
184
|
+
};
|
|
185
|
+
get name(): "DATA_ELEMENT" | "ATTRIBUTE" | "CONSTANT" | "PROGRAM_DATA_ELEMENT" | "PROGRAM_INDICATOR" | "INDICATOR" | "ORG_UNIT_GROUP" | "REPORTING_RATE" | "PROGRAM_VARIABLE" | "ANDROID_CUSTOM_INTENT";
|
|
186
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
|
|
152
187
|
getType(numberOfIds: number, index: number): IDType;
|
|
153
188
|
static values(): Array<DataItemType>;
|
|
154
189
|
static valueOf(value: string): DataItemType;
|
|
@@ -167,72 +202,76 @@ export declare class ID {
|
|
|
167
202
|
}
|
|
168
203
|
export declare abstract class IDType {
|
|
169
204
|
private constructor();
|
|
205
|
+
static get AndroidCustomIntent(): IDType & {
|
|
206
|
+
get name(): "AndroidCustomIntent";
|
|
207
|
+
get ordinal(): 0;
|
|
208
|
+
};
|
|
170
209
|
static get AttributeUID(): IDType & {
|
|
171
210
|
get name(): "AttributeUID";
|
|
172
|
-
get ordinal():
|
|
211
|
+
get ordinal(): 1;
|
|
173
212
|
};
|
|
174
213
|
static get AttributeOptionComboUID(): IDType & {
|
|
175
214
|
get name(): "AttributeOptionComboUID";
|
|
176
|
-
get ordinal():
|
|
215
|
+
get ordinal(): 2;
|
|
177
216
|
};
|
|
178
217
|
static get CategoryOptionUID(): IDType & {
|
|
179
218
|
get name(): "CategoryOptionUID";
|
|
180
|
-
get ordinal():
|
|
219
|
+
get ordinal(): 3;
|
|
181
220
|
};
|
|
182
221
|
static get CategoryOptionComboUID(): IDType & {
|
|
183
222
|
get name(): "CategoryOptionComboUID";
|
|
184
|
-
get ordinal():
|
|
223
|
+
get ordinal(): 4;
|
|
185
224
|
};
|
|
186
225
|
static get CategoryOptionGroupUID(): IDType & {
|
|
187
226
|
get name(): "CategoryOptionGroupUID";
|
|
188
|
-
get ordinal():
|
|
227
|
+
get ordinal(): 5;
|
|
189
228
|
};
|
|
190
229
|
static get DataElementUID(): IDType & {
|
|
191
230
|
get name(): "DataElementUID";
|
|
192
|
-
get ordinal():
|
|
231
|
+
get ordinal(): 6;
|
|
193
232
|
};
|
|
194
233
|
static get DateElementGroupUID(): IDType & {
|
|
195
234
|
get name(): "DateElementGroupUID";
|
|
196
|
-
get ordinal():
|
|
235
|
+
get ordinal(): 7;
|
|
197
236
|
};
|
|
198
237
|
static get DataSetUID(): IDType & {
|
|
199
238
|
get name(): "DataSetUID";
|
|
200
|
-
get ordinal():
|
|
239
|
+
get ordinal(): 8;
|
|
201
240
|
};
|
|
202
241
|
static get ConstantUID(): IDType & {
|
|
203
242
|
get name(): "ConstantUID";
|
|
204
|
-
get ordinal():
|
|
243
|
+
get ordinal(): 9;
|
|
205
244
|
};
|
|
206
245
|
static get IndicatorUID(): IDType & {
|
|
207
246
|
get name(): "IndicatorUID";
|
|
208
|
-
get ordinal():
|
|
247
|
+
get ordinal(): 10;
|
|
209
248
|
};
|
|
210
249
|
static get OrganisationUnitGroupUID(): IDType & {
|
|
211
250
|
get name(): "OrganisationUnitGroupUID";
|
|
212
|
-
get ordinal():
|
|
251
|
+
get ordinal(): 11;
|
|
213
252
|
};
|
|
214
253
|
static get ProgramUID(): IDType & {
|
|
215
254
|
get name(): "ProgramUID";
|
|
216
|
-
get ordinal():
|
|
255
|
+
get ordinal(): 12;
|
|
217
256
|
};
|
|
218
257
|
static get ProgramIndicatorUID(): IDType & {
|
|
219
258
|
get name(): "ProgramIndicatorUID";
|
|
220
|
-
get ordinal():
|
|
259
|
+
get ordinal(): 13;
|
|
221
260
|
};
|
|
222
261
|
static get ProgramVariableName(): IDType & {
|
|
223
262
|
get name(): "ProgramVariableName";
|
|
224
|
-
get ordinal():
|
|
263
|
+
get ordinal(): 14;
|
|
225
264
|
};
|
|
226
265
|
static get ProgramStageUID(): IDType & {
|
|
227
266
|
get name(): "ProgramStageUID";
|
|
228
|
-
get ordinal():
|
|
267
|
+
get ordinal(): 15;
|
|
229
268
|
};
|
|
230
269
|
static get ReportingRateType(): IDType & {
|
|
231
270
|
get name(): "ReportingRateType";
|
|
232
|
-
get ordinal():
|
|
271
|
+
get ordinal(): 16;
|
|
233
272
|
};
|
|
234
|
-
get name(): "AttributeUID" | "AttributeOptionComboUID" | "CategoryOptionUID" | "CategoryOptionComboUID" | "CategoryOptionGroupUID" | "DataElementUID" | "DateElementGroupUID" | "DataSetUID" | "ConstantUID" | "IndicatorUID" | "OrganisationUnitGroupUID" | "ProgramUID" | "ProgramIndicatorUID" | "ProgramVariableName" | "ProgramStageUID" | "ReportingRateType";
|
|
235
|
-
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15;
|
|
273
|
+
get name(): "AndroidCustomIntent" | "AttributeUID" | "AttributeOptionComboUID" | "CategoryOptionUID" | "CategoryOptionComboUID" | "CategoryOptionGroupUID" | "DataElementUID" | "DateElementGroupUID" | "DataSetUID" | "ConstantUID" | "IndicatorUID" | "OrganisationUnitGroupUID" | "ProgramUID" | "ProgramIndicatorUID" | "ProgramVariableName" | "ProgramStageUID" | "ReportingRateType";
|
|
274
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16;
|
|
236
275
|
isUID(): boolean;
|
|
237
276
|
static values(): Array<IDType>;
|
|
238
277
|
static valueOf(value: string): IDType;
|