@dhis2/expression-parser 1.1.0-beta.6 → 1.1.0-beta.8
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/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +178 -165
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.mjs +195 -181
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.mjs.map +1 -1
- package/KotlinBigInteger-bignum-js-ir.js +2091 -2383
- package/KotlinBigInteger-bignum-js-ir.js.map +1 -1
- package/KotlinBigInteger-bignum-js-ir.mjs +2096 -2388
- package/KotlinBigInteger-bignum-js-ir.mjs.map +1 -1
- package/README.md +21 -0
- package/expression-parser.d.ts +423 -54
- package/expression-parser.js +3943 -4807
- package/expression-parser.js.map +1 -1
- package/expression-parser.mjs +3923 -4816
- package/expression-parser.mjs.map +1 -1
- package/kotlin-js.js +112 -0
- package/kotlin-js.js.map +1 -0
- package/kotlin-js.mjs +110 -0
- package/kotlin-js.mjs.map +1 -0
- package/{kotlin-kotlin-stdlib-js-ir.js → kotlin-kotlin-stdlib.js} +7838 -7193
- package/kotlin-kotlin-stdlib.js.map +1 -0
- package/{kotlin-kotlin-stdlib-js-ir.mjs → kotlin-kotlin-stdlib.mjs} +7824 -7179
- package/kotlin-kotlin-stdlib.mjs.map +1 -0
- package/kotlin-kotlinx-atomicfu-runtime.js +8 -0
- package/kotlin-kotlinx-atomicfu-runtime.js.map +1 -0
- package/kotlin-kotlinx-atomicfu-runtime.mjs +4 -0
- package/kotlin-kotlinx-atomicfu-runtime.mjs.map +1 -0
- package/kotlinx-atomicfu.js +8 -0
- package/kotlinx-atomicfu.js.map +1 -0
- package/kotlinx-atomicfu.mjs +4 -0
- package/kotlinx-atomicfu.mjs.map +1 -0
- package/kotlinx-coroutines-core.js +8 -0
- package/kotlinx-coroutines-core.js.map +1 -0
- package/kotlinx-coroutines-core.mjs +4 -0
- package/kotlinx-coroutines-core.mjs.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +5 -5
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.mjs +5 -5
- package/package.json +1 -1
- package/seskar-core.js +8 -0
- package/seskar-core.js.map +1 -0
- package/seskar-core.mjs +4 -0
- package/seskar-core.mjs.map +1 -0
- package/seskar-react.js +8 -0
- package/seskar-react.js.map +1 -0
- package/seskar-react.mjs +4 -0
- package/seskar-react.mjs.map +1 -0
- package/kotlin-kotlin-stdlib-js-ir.js.map +0 -1
- package/kotlin-kotlin-stdlib-js-ir.mjs.map +0 -1
package/expression-parser.d.ts
CHANGED
|
@@ -1,111 +1,480 @@
|
|
|
1
1
|
type Nullable<T> = T | null | undefined
|
|
2
|
-
export declare class
|
|
3
|
-
constructor(
|
|
4
|
-
get
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
get
|
|
9
|
-
|
|
2
|
+
export declare abstract class ExpressionMode {
|
|
3
|
+
private constructor();
|
|
4
|
+
static get VALIDATION_RULE_EXPRESSION(): ExpressionMode & {
|
|
5
|
+
get name(): "VALIDATION_RULE_EXPRESSION";
|
|
6
|
+
get ordinal(): 0;
|
|
7
|
+
};
|
|
8
|
+
static get VALIDATION_RULE_RESULT_TEST(): ExpressionMode & {
|
|
9
|
+
get name(): "VALIDATION_RULE_RESULT_TEST";
|
|
10
|
+
get ordinal(): 1;
|
|
11
|
+
};
|
|
12
|
+
static get PREDICTOR_GENERATOR_EXPRESSION(): ExpressionMode & {
|
|
13
|
+
get name(): "PREDICTOR_GENERATOR_EXPRESSION";
|
|
14
|
+
get ordinal(): 2;
|
|
15
|
+
};
|
|
16
|
+
static get PREDICTOR_SKIP_TEST(): ExpressionMode & {
|
|
17
|
+
get name(): "PREDICTOR_SKIP_TEST";
|
|
18
|
+
get ordinal(): 3;
|
|
19
|
+
};
|
|
20
|
+
static get INDICATOR_EXPRESSION(): ExpressionMode & {
|
|
21
|
+
get name(): "INDICATOR_EXPRESSION";
|
|
22
|
+
get ordinal(): 4;
|
|
23
|
+
};
|
|
24
|
+
static get PROGRAM_INDICATOR_EXPRESSION(): ExpressionMode & {
|
|
25
|
+
get name(): "PROGRAM_INDICATOR_EXPRESSION";
|
|
26
|
+
get ordinal(): 5;
|
|
27
|
+
};
|
|
28
|
+
static get RULE_ENGINE_CONDITION(): ExpressionMode & {
|
|
29
|
+
get name(): "RULE_ENGINE_CONDITION";
|
|
30
|
+
get ordinal(): 6;
|
|
31
|
+
};
|
|
32
|
+
static get RULE_ENGINE_ACTION(): ExpressionMode & {
|
|
33
|
+
get name(): "RULE_ENGINE_ACTION";
|
|
34
|
+
get ordinal(): 7;
|
|
35
|
+
};
|
|
36
|
+
static values(): Array<ExpressionMode>;
|
|
37
|
+
static valueOf(value: string): ExpressionMode;
|
|
38
|
+
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";
|
|
39
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
40
|
+
}
|
|
41
|
+
export declare abstract class AggregationType {
|
|
42
|
+
private constructor();
|
|
43
|
+
static get sum(): AggregationType & {
|
|
44
|
+
get name(): "sum";
|
|
45
|
+
get ordinal(): 0;
|
|
46
|
+
};
|
|
47
|
+
static get avg(): AggregationType & {
|
|
48
|
+
get name(): "avg";
|
|
49
|
+
get ordinal(): 1;
|
|
50
|
+
};
|
|
51
|
+
static get avg_sum_org_unit(): AggregationType & {
|
|
52
|
+
get name(): "avg_sum_org_unit";
|
|
53
|
+
get ordinal(): 2;
|
|
54
|
+
};
|
|
55
|
+
static get last(): AggregationType & {
|
|
56
|
+
get name(): "last";
|
|
57
|
+
get ordinal(): 3;
|
|
58
|
+
};
|
|
59
|
+
static get last_avg_org_unit(): AggregationType & {
|
|
60
|
+
get name(): "last_avg_org_unit";
|
|
61
|
+
get ordinal(): 4;
|
|
62
|
+
};
|
|
63
|
+
static get last_analytics_period(): AggregationType & {
|
|
64
|
+
get name(): "last_analytics_period";
|
|
65
|
+
get ordinal(): 5;
|
|
66
|
+
};
|
|
67
|
+
static get last_analytics_period_avg_org_unit(): AggregationType & {
|
|
68
|
+
get name(): "last_analytics_period_avg_org_unit";
|
|
69
|
+
get ordinal(): 6;
|
|
70
|
+
};
|
|
71
|
+
static get first(): AggregationType & {
|
|
72
|
+
get name(): "first";
|
|
73
|
+
get ordinal(): 7;
|
|
74
|
+
};
|
|
75
|
+
static get first_avg_org_unit(): AggregationType & {
|
|
76
|
+
get name(): "first_avg_org_unit";
|
|
77
|
+
get ordinal(): 8;
|
|
78
|
+
};
|
|
79
|
+
static get count(): AggregationType & {
|
|
80
|
+
get name(): "count";
|
|
81
|
+
get ordinal(): 9;
|
|
82
|
+
};
|
|
83
|
+
static get stddev(): AggregationType & {
|
|
84
|
+
get name(): "stddev";
|
|
85
|
+
get ordinal(): 10;
|
|
86
|
+
};
|
|
87
|
+
static get variance(): AggregationType & {
|
|
88
|
+
get name(): "variance";
|
|
89
|
+
get ordinal(): 11;
|
|
90
|
+
};
|
|
91
|
+
static get min(): AggregationType & {
|
|
92
|
+
get name(): "min";
|
|
93
|
+
get ordinal(): 12;
|
|
94
|
+
};
|
|
95
|
+
static get max(): AggregationType & {
|
|
96
|
+
get name(): "max";
|
|
97
|
+
get ordinal(): 13;
|
|
98
|
+
};
|
|
99
|
+
static get none(): AggregationType & {
|
|
100
|
+
get name(): "none";
|
|
101
|
+
get ordinal(): 14;
|
|
102
|
+
};
|
|
103
|
+
static get custom(): AggregationType & {
|
|
104
|
+
get name(): "custom";
|
|
105
|
+
get ordinal(): 15;
|
|
106
|
+
};
|
|
107
|
+
static values(): Array<AggregationType>;
|
|
108
|
+
static valueOf(value: string): AggregationType;
|
|
109
|
+
get name(): "sum" | "avg" | "avg_sum_org_unit" | "last" | "last_avg_org_unit" | "last_analytics_period" | "last_analytics_period_avg_org_unit" | "first" | "first_avg_org_unit" | "count" | "stddev" | "variance" | "min" | "max" | "none" | "custom";
|
|
110
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15;
|
|
111
|
+
}
|
|
112
|
+
export declare abstract class DataItemType {
|
|
113
|
+
private constructor();
|
|
114
|
+
static get DATA_ELEMENT(): DataItemType & {
|
|
115
|
+
get name(): "DATA_ELEMENT";
|
|
116
|
+
get ordinal(): 0;
|
|
117
|
+
};
|
|
118
|
+
static get ATTRIBUTE(): DataItemType & {
|
|
119
|
+
get name(): "ATTRIBUTE";
|
|
120
|
+
get ordinal(): 1;
|
|
121
|
+
};
|
|
122
|
+
static get CONSTANT(): DataItemType & {
|
|
123
|
+
get name(): "CONSTANT";
|
|
124
|
+
get ordinal(): 2;
|
|
125
|
+
};
|
|
126
|
+
static get PROGRAM_DATA_ELEMENT(): DataItemType & {
|
|
127
|
+
get name(): "PROGRAM_DATA_ELEMENT";
|
|
128
|
+
get ordinal(): 3;
|
|
129
|
+
};
|
|
130
|
+
static get PROGRAM_INDICATOR(): DataItemType & {
|
|
131
|
+
get name(): "PROGRAM_INDICATOR";
|
|
132
|
+
get ordinal(): 4;
|
|
133
|
+
};
|
|
134
|
+
static get INDICATOR(): DataItemType & {
|
|
135
|
+
get name(): "INDICATOR";
|
|
136
|
+
get ordinal(): 5;
|
|
137
|
+
};
|
|
138
|
+
static get ORG_UNIT_GROUP(): DataItemType & {
|
|
139
|
+
get name(): "ORG_UNIT_GROUP";
|
|
140
|
+
get ordinal(): 6;
|
|
141
|
+
};
|
|
142
|
+
static get REPORTING_RATE(): DataItemType & {
|
|
143
|
+
get name(): "REPORTING_RATE";
|
|
144
|
+
get ordinal(): 7;
|
|
145
|
+
};
|
|
146
|
+
static get PROGRAM_VARIABLE(): DataItemType & {
|
|
147
|
+
get name(): "PROGRAM_VARIABLE";
|
|
148
|
+
get ordinal(): 8;
|
|
149
|
+
};
|
|
150
|
+
getType(numberOfIds: number, index: number): IDType;
|
|
151
|
+
static values(): Array<DataItemType>;
|
|
152
|
+
static valueOf(value: string): DataItemType;
|
|
153
|
+
get name(): "DATA_ELEMENT" | "ATTRIBUTE" | "CONSTANT" | "PROGRAM_DATA_ELEMENT" | "PROGRAM_INDICATOR" | "INDICATOR" | "ORG_UNIT_GROUP" | "REPORTING_RATE" | "PROGRAM_VARIABLE";
|
|
154
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
|
155
|
+
static get Companion(): {
|
|
156
|
+
fromSymbol(symbol: string): DataItemType;
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
export declare class ID {
|
|
160
|
+
constructor(type: IDType, value: string);
|
|
161
|
+
get type(): IDType;
|
|
162
|
+
get value(): string;
|
|
10
163
|
toString(): string;
|
|
164
|
+
copy(type?: IDType, value?: string): ID;
|
|
11
165
|
hashCode(): number;
|
|
12
166
|
equals(other: Nullable<any>): boolean;
|
|
167
|
+
}
|
|
168
|
+
export declare abstract class IDType {
|
|
169
|
+
private constructor();
|
|
170
|
+
static get AttributeUID(): IDType & {
|
|
171
|
+
get name(): "AttributeUID";
|
|
172
|
+
get ordinal(): 0;
|
|
173
|
+
};
|
|
174
|
+
static get AttributeOptionComboUID(): IDType & {
|
|
175
|
+
get name(): "AttributeOptionComboUID";
|
|
176
|
+
get ordinal(): 1;
|
|
177
|
+
};
|
|
178
|
+
static get CategoryOptionUID(): IDType & {
|
|
179
|
+
get name(): "CategoryOptionUID";
|
|
180
|
+
get ordinal(): 2;
|
|
181
|
+
};
|
|
182
|
+
static get CategoryOptionComboUID(): IDType & {
|
|
183
|
+
get name(): "CategoryOptionComboUID";
|
|
184
|
+
get ordinal(): 3;
|
|
185
|
+
};
|
|
186
|
+
static get CategoryOptionGroupUID(): IDType & {
|
|
187
|
+
get name(): "CategoryOptionGroupUID";
|
|
188
|
+
get ordinal(): 4;
|
|
189
|
+
};
|
|
190
|
+
static get DataElementUID(): IDType & {
|
|
191
|
+
get name(): "DataElementUID";
|
|
192
|
+
get ordinal(): 5;
|
|
193
|
+
};
|
|
194
|
+
static get DateElementGroupUID(): IDType & {
|
|
195
|
+
get name(): "DateElementGroupUID";
|
|
196
|
+
get ordinal(): 6;
|
|
197
|
+
};
|
|
198
|
+
static get DataSetUID(): IDType & {
|
|
199
|
+
get name(): "DataSetUID";
|
|
200
|
+
get ordinal(): 7;
|
|
201
|
+
};
|
|
202
|
+
static get ConstantUID(): IDType & {
|
|
203
|
+
get name(): "ConstantUID";
|
|
204
|
+
get ordinal(): 8;
|
|
205
|
+
};
|
|
206
|
+
static get IndicatorUID(): IDType & {
|
|
207
|
+
get name(): "IndicatorUID";
|
|
208
|
+
get ordinal(): 9;
|
|
209
|
+
};
|
|
210
|
+
static get OrganisationUnitGroupUID(): IDType & {
|
|
211
|
+
get name(): "OrganisationUnitGroupUID";
|
|
212
|
+
get ordinal(): 10;
|
|
213
|
+
};
|
|
214
|
+
static get ProgramUID(): IDType & {
|
|
215
|
+
get name(): "ProgramUID";
|
|
216
|
+
get ordinal(): 11;
|
|
217
|
+
};
|
|
218
|
+
static get ProgramIndicatorUID(): IDType & {
|
|
219
|
+
get name(): "ProgramIndicatorUID";
|
|
220
|
+
get ordinal(): 12;
|
|
221
|
+
};
|
|
222
|
+
static get ProgramVariableName(): IDType & {
|
|
223
|
+
get name(): "ProgramVariableName";
|
|
224
|
+
get ordinal(): 13;
|
|
225
|
+
};
|
|
226
|
+
static get ProgramStageUID(): IDType & {
|
|
227
|
+
get name(): "ProgramStageUID";
|
|
228
|
+
get ordinal(): 14;
|
|
229
|
+
};
|
|
230
|
+
static get ReportingRateType(): IDType & {
|
|
231
|
+
get name(): "ReportingRateType";
|
|
232
|
+
get ordinal(): 15;
|
|
233
|
+
};
|
|
234
|
+
isUID(): boolean;
|
|
235
|
+
static values(): Array<IDType>;
|
|
236
|
+
static valueOf(value: string): IDType;
|
|
237
|
+
get name(): "AttributeUID" | "AttributeOptionComboUID" | "CategoryOptionUID" | "CategoryOptionComboUID" | "CategoryOptionGroupUID" | "DataElementUID" | "DateElementGroupUID" | "DataSetUID" | "ConstantUID" | "IndicatorUID" | "OrganisationUnitGroupUID" | "ProgramUID" | "ProgramIndicatorUID" | "ProgramVariableName" | "ProgramStageUID" | "ReportingRateType";
|
|
238
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15;
|
|
239
|
+
}
|
|
240
|
+
export declare abstract class ProgramVariable {
|
|
241
|
+
private constructor();
|
|
242
|
+
static get analytics_period_end(): ProgramVariable & {
|
|
243
|
+
get name(): "analytics_period_end";
|
|
244
|
+
get ordinal(): 0;
|
|
245
|
+
};
|
|
246
|
+
static get analytics_period_start(): ProgramVariable & {
|
|
247
|
+
get name(): "analytics_period_start";
|
|
248
|
+
get ordinal(): 1;
|
|
249
|
+
};
|
|
250
|
+
static get completed_date(): ProgramVariable & {
|
|
251
|
+
get name(): "completed_date";
|
|
252
|
+
get ordinal(): 2;
|
|
253
|
+
};
|
|
254
|
+
static get creation_date(): ProgramVariable & {
|
|
255
|
+
get name(): "creation_date";
|
|
256
|
+
get ordinal(): 3;
|
|
257
|
+
};
|
|
258
|
+
static get current_date(): ProgramVariable & {
|
|
259
|
+
get name(): "current_date";
|
|
260
|
+
get ordinal(): 4;
|
|
261
|
+
};
|
|
262
|
+
static get due_date(): ProgramVariable & {
|
|
263
|
+
get name(): "due_date";
|
|
264
|
+
get ordinal(): 5;
|
|
265
|
+
};
|
|
266
|
+
static get enrollment_count(): ProgramVariable & {
|
|
267
|
+
get name(): "enrollment_count";
|
|
268
|
+
get ordinal(): 6;
|
|
269
|
+
};
|
|
270
|
+
static get enrollment_date(): ProgramVariable & {
|
|
271
|
+
get name(): "enrollment_date";
|
|
272
|
+
get ordinal(): 7;
|
|
273
|
+
};
|
|
274
|
+
static get enrollment_id(): ProgramVariable & {
|
|
275
|
+
get name(): "enrollment_id";
|
|
276
|
+
get ordinal(): 8;
|
|
277
|
+
};
|
|
278
|
+
static get enrollment_status(): ProgramVariable & {
|
|
279
|
+
get name(): "enrollment_status";
|
|
280
|
+
get ordinal(): 9;
|
|
281
|
+
};
|
|
282
|
+
static get environment(): ProgramVariable & {
|
|
283
|
+
get name(): "environment";
|
|
284
|
+
get ordinal(): 10;
|
|
285
|
+
};
|
|
286
|
+
static get event_count(): ProgramVariable & {
|
|
287
|
+
get name(): "event_count";
|
|
288
|
+
get ordinal(): 11;
|
|
289
|
+
};
|
|
290
|
+
static get scheduled_event_count(): ProgramVariable & {
|
|
291
|
+
get name(): "scheduled_event_count";
|
|
292
|
+
get ordinal(): 12;
|
|
293
|
+
};
|
|
294
|
+
static get event_date(): ProgramVariable & {
|
|
295
|
+
get name(): "event_date";
|
|
296
|
+
get ordinal(): 13;
|
|
297
|
+
};
|
|
298
|
+
static get scheduled_date(): ProgramVariable & {
|
|
299
|
+
get name(): "scheduled_date";
|
|
300
|
+
get ordinal(): 14;
|
|
301
|
+
};
|
|
302
|
+
static get event_id(): ProgramVariable & {
|
|
303
|
+
get name(): "event_id";
|
|
304
|
+
get ordinal(): 15;
|
|
305
|
+
};
|
|
306
|
+
static get event_status(): ProgramVariable & {
|
|
307
|
+
get name(): "event_status";
|
|
308
|
+
get ordinal(): 16;
|
|
309
|
+
};
|
|
310
|
+
static get execution_date(): ProgramVariable & {
|
|
311
|
+
get name(): "execution_date";
|
|
312
|
+
get ordinal(): 17;
|
|
313
|
+
};
|
|
314
|
+
static get incident_date(): ProgramVariable & {
|
|
315
|
+
get name(): "incident_date";
|
|
316
|
+
get ordinal(): 18;
|
|
317
|
+
};
|
|
318
|
+
static get org_unit_count(): ProgramVariable & {
|
|
319
|
+
get name(): "org_unit_count";
|
|
320
|
+
get ordinal(): 19;
|
|
321
|
+
};
|
|
322
|
+
static get org_unit(): ProgramVariable & {
|
|
323
|
+
get name(): "org_unit";
|
|
324
|
+
get ordinal(): 20;
|
|
325
|
+
};
|
|
326
|
+
static get orgunit_code(): ProgramVariable & {
|
|
327
|
+
get name(): "orgunit_code";
|
|
328
|
+
get ordinal(): 21;
|
|
329
|
+
};
|
|
330
|
+
static get program_name(): ProgramVariable & {
|
|
331
|
+
get name(): "program_name";
|
|
332
|
+
get ordinal(): 22;
|
|
333
|
+
};
|
|
334
|
+
static get program_stage_id(): ProgramVariable & {
|
|
335
|
+
get name(): "program_stage_id";
|
|
336
|
+
get ordinal(): 23;
|
|
337
|
+
};
|
|
338
|
+
static get program_stage_name(): ProgramVariable & {
|
|
339
|
+
get name(): "program_stage_name";
|
|
340
|
+
get ordinal(): 24;
|
|
341
|
+
};
|
|
342
|
+
static get sync_date(): ProgramVariable & {
|
|
343
|
+
get name(): "sync_date";
|
|
344
|
+
get ordinal(): 25;
|
|
345
|
+
};
|
|
346
|
+
static get tei_count(): ProgramVariable & {
|
|
347
|
+
get name(): "tei_count";
|
|
348
|
+
get ordinal(): 26;
|
|
349
|
+
};
|
|
350
|
+
static get value_count(): ProgramVariable & {
|
|
351
|
+
get name(): "value_count";
|
|
352
|
+
get ordinal(): 27;
|
|
353
|
+
};
|
|
354
|
+
static get zero_pos_value_count(): ProgramVariable & {
|
|
355
|
+
get name(): "zero_pos_value_count";
|
|
356
|
+
get ordinal(): 28;
|
|
357
|
+
};
|
|
358
|
+
static values(): Array<ProgramVariable>;
|
|
359
|
+
static valueOf(value: string): ProgramVariable;
|
|
360
|
+
get name(): "analytics_period_end" | "analytics_period_start" | "completed_date" | "creation_date" | "current_date" | "due_date" | "enrollment_count" | "enrollment_date" | "enrollment_id" | "enrollment_status" | "environment" | "event_count" | "scheduled_event_count" | "event_date" | "scheduled_date" | "event_id" | "event_status" | "execution_date" | "incident_date" | "org_unit_count" | "org_unit" | "orgunit_code" | "program_name" | "program_stage_id" | "program_stage_name" | "sync_date" | "tei_count" | "value_count" | "zero_pos_value_count";
|
|
361
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28;
|
|
362
|
+
}
|
|
363
|
+
export declare abstract class ValueType {
|
|
364
|
+
private constructor();
|
|
365
|
+
static get MIXED(): ValueType & {
|
|
366
|
+
get name(): "MIXED";
|
|
367
|
+
get ordinal(): 0;
|
|
368
|
+
};
|
|
369
|
+
static get NUMBER(): ValueType & {
|
|
370
|
+
get name(): "NUMBER";
|
|
371
|
+
get ordinal(): 1;
|
|
372
|
+
};
|
|
373
|
+
static get BOOLEAN(): ValueType & {
|
|
374
|
+
get name(): "BOOLEAN";
|
|
375
|
+
get ordinal(): 2;
|
|
376
|
+
};
|
|
377
|
+
static get DATE(): ValueType & {
|
|
378
|
+
get name(): "DATE";
|
|
379
|
+
get ordinal(): 3;
|
|
380
|
+
};
|
|
381
|
+
static get STRING(): ValueType & {
|
|
382
|
+
get name(): "STRING";
|
|
383
|
+
get ordinal(): 4;
|
|
384
|
+
};
|
|
385
|
+
static get SAME(): ValueType & {
|
|
386
|
+
get name(): "SAME";
|
|
387
|
+
get ordinal(): 5;
|
|
388
|
+
};
|
|
389
|
+
isSame(): boolean;
|
|
390
|
+
isMixed(): boolean;
|
|
391
|
+
isAssignableTo(other: ValueType): boolean;
|
|
392
|
+
isMaybeAssignableTo(other: ValueType): boolean;
|
|
393
|
+
isValidValue(value: Nullable<any>): boolean;
|
|
394
|
+
static values(): Array<ValueType>;
|
|
395
|
+
static valueOf(value: string): ValueType;
|
|
396
|
+
get name(): "MIXED" | "NUMBER" | "BOOLEAN" | "DATE" | "STRING" | "SAME";
|
|
397
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
|
|
13
398
|
static get Companion(): {
|
|
14
|
-
|
|
399
|
+
allSame(types: any/* List<ValueType> */): boolean;
|
|
15
400
|
};
|
|
16
401
|
}
|
|
17
|
-
export declare class
|
|
18
|
-
constructor(
|
|
19
|
-
get
|
|
20
|
-
get
|
|
21
|
-
|
|
402
|
+
export declare class DataItemJs {
|
|
403
|
+
constructor(type: DataItemType, uid0: ID, uid1: Array<ID>, uid2: Array<ID>, modifiers: QueryModifiersJs);
|
|
404
|
+
get type(): DataItemType;
|
|
405
|
+
get uid0(): ID;
|
|
406
|
+
get uid1(): Array<ID>;
|
|
407
|
+
get uid2(): Array<ID>;
|
|
408
|
+
get modifiers(): QueryModifiersJs;
|
|
409
|
+
copy(type?: DataItemType, uid0?: ID, uid1?: Array<ID>, uid2?: Array<ID>, modifiers?: QueryModifiersJs): DataItemJs;
|
|
22
410
|
toString(): string;
|
|
23
411
|
hashCode(): number;
|
|
24
412
|
equals(other: Nullable<any>): boolean;
|
|
25
413
|
}
|
|
26
414
|
export declare class ExpressionDataJs {
|
|
27
|
-
constructor(programRuleVariableValues?:
|
|
28
|
-
get programRuleVariableValues():
|
|
29
|
-
get programVariableValues():
|
|
30
|
-
get supplementaryValues():
|
|
31
|
-
get dataItemValues():
|
|
32
|
-
get namedValues():
|
|
33
|
-
copy(programRuleVariableValues?:
|
|
415
|
+
constructor(programRuleVariableValues?: Map<string, VariableValueJs>, programVariableValues?: Map<string, any>, supplementaryValues?: Map<string, Array<string>>, dataItemValues?: Map<DataItemJs, any>, namedValues?: Map<string, any>);
|
|
416
|
+
get programRuleVariableValues(): Map<string, VariableValueJs>;
|
|
417
|
+
get programVariableValues(): Map<string, any>;
|
|
418
|
+
get supplementaryValues(): Map<string, Array<string>>;
|
|
419
|
+
get dataItemValues(): Map<DataItemJs, any>;
|
|
420
|
+
get namedValues(): Map<string, any>;
|
|
421
|
+
copy(programRuleVariableValues?: Map<string, VariableValueJs>, programVariableValues?: Map<string, any>, supplementaryValues?: Map<string, Array<string>>, dataItemValues?: Map<DataItemJs, any>, namedValues?: Map<string, any>): ExpressionDataJs;
|
|
34
422
|
toString(): string;
|
|
35
423
|
hashCode(): number;
|
|
36
424
|
equals(other: Nullable<any>): boolean;
|
|
37
425
|
}
|
|
38
426
|
export declare class ExpressionJs {
|
|
39
|
-
constructor(expression: string, mode:
|
|
427
|
+
constructor(expression: string, mode: ExpressionMode);
|
|
40
428
|
collectDataItems(): Array<DataItemJs>;
|
|
41
429
|
collectProgramRuleVariableNames(): Array<string>;
|
|
42
430
|
collectProgramVariablesNames(): Array<string>;
|
|
43
431
|
evaluate(unsupported: (p0: string) => Nullable<any>, data: ExpressionDataJs): Nullable<any>;
|
|
44
432
|
collectProgramVariables(): Array<VariableJs>;
|
|
45
|
-
collectUIDs(): Array<
|
|
46
|
-
describe(displayNames:
|
|
47
|
-
validate(displayNamesKeys:
|
|
433
|
+
collectUIDs(): Array<ID>;
|
|
434
|
+
describe(displayNames: Map<string, string>): string;
|
|
435
|
+
validate(displayNamesKeys: Map<string, string>): void;
|
|
48
436
|
collectDataItemForRegenerate(): Array<DataItemJs>;
|
|
49
|
-
regenerate(dataItemValues:
|
|
437
|
+
regenerate(dataItemValues: Map<DataItemJs, number>): string;
|
|
50
438
|
normalise(): string;
|
|
51
439
|
toString(): string;
|
|
52
440
|
static get Companion(): {
|
|
53
441
|
get MODES(): Array<string>;
|
|
54
442
|
};
|
|
55
443
|
}
|
|
56
|
-
export declare class IDJs {
|
|
57
|
-
constructor(type: string, value: string);
|
|
58
|
-
get type(): string;
|
|
59
|
-
get value(): string;
|
|
60
|
-
copy(type?: string, value?: string): IDJs;
|
|
61
|
-
toString(): string;
|
|
62
|
-
hashCode(): number;
|
|
63
|
-
equals(other: Nullable<any>): boolean;
|
|
64
|
-
static get Companion(): {
|
|
65
|
-
get TYPES(): Array<string>;
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
444
|
export declare class QueryModifiersJs {
|
|
69
|
-
constructor(periodAggregation: boolean, aggregationType: Nullable<
|
|
445
|
+
constructor(periodAggregation: boolean, aggregationType: Nullable<AggregationType>, maxDate: Nullable<string>, minDate: Nullable<string>, periodOffset: Nullable<number>, stageOffset: Nullable<number>, yearToDate: boolean, subExpression: Nullable<string>);
|
|
70
446
|
get periodAggregation(): boolean;
|
|
71
|
-
get aggregationType(): Nullable<
|
|
447
|
+
get aggregationType(): Nullable<AggregationType>;
|
|
72
448
|
get maxDate(): Nullable<string>;
|
|
73
449
|
get minDate(): Nullable<string>;
|
|
74
450
|
get periodOffset(): Nullable<number>;
|
|
75
451
|
get stageOffset(): Nullable<number>;
|
|
76
452
|
get yearToDate(): boolean;
|
|
77
453
|
get subExpression(): Nullable<string>;
|
|
78
|
-
copy(periodAggregation?: boolean, aggregationType?: Nullable<
|
|
454
|
+
copy(periodAggregation?: boolean, aggregationType?: Nullable<AggregationType>, maxDate?: Nullable<string>, minDate?: Nullable<string>, periodOffset?: Nullable<number>, stageOffset?: Nullable<number>, yearToDate?: boolean, subExpression?: Nullable<string>): QueryModifiersJs;
|
|
79
455
|
toString(): string;
|
|
80
456
|
hashCode(): number;
|
|
81
457
|
equals(other: Nullable<any>): boolean;
|
|
82
458
|
static get Companion(): {
|
|
83
|
-
get AGGREGATION_TYPES(): Array<string>;
|
|
84
459
|
};
|
|
85
460
|
}
|
|
86
461
|
export declare class VariableJs {
|
|
87
|
-
constructor(name:
|
|
88
|
-
get name():
|
|
462
|
+
constructor(name: ProgramVariable, modifiers: QueryModifiersJs);
|
|
463
|
+
get name(): ProgramVariable;
|
|
89
464
|
get modifiers(): QueryModifiersJs;
|
|
90
|
-
copy(name?:
|
|
465
|
+
copy(name?: ProgramVariable, modifiers?: QueryModifiersJs): VariableJs;
|
|
91
466
|
toString(): string;
|
|
92
467
|
hashCode(): number;
|
|
93
468
|
equals(other: Nullable<any>): boolean;
|
|
94
|
-
static get Companion(): {
|
|
95
|
-
get NAMES(): Array<string>;
|
|
96
|
-
};
|
|
97
469
|
}
|
|
98
470
|
export declare class VariableValueJs {
|
|
99
|
-
constructor(valueType:
|
|
100
|
-
get valueType():
|
|
471
|
+
constructor(valueType: ValueType, value: Nullable<string>, candidates: Array<string>, eventDate: Nullable<string>);
|
|
472
|
+
get valueType(): ValueType;
|
|
101
473
|
get value(): Nullable<string>;
|
|
102
474
|
get candidates(): Array<string>;
|
|
103
475
|
get eventDate(): Nullable<string>;
|
|
104
|
-
copy(valueType?:
|
|
476
|
+
copy(valueType?: ValueType, value?: Nullable<string>, candidates?: Array<string>, eventDate?: Nullable<string>): VariableValueJs;
|
|
105
477
|
toString(): string;
|
|
106
478
|
hashCode(): number;
|
|
107
479
|
equals(other: Nullable<any>): boolean;
|
|
108
|
-
static get Companion(): {
|
|
109
|
-
get VALUE_TYPES(): Array<string>;
|
|
110
|
-
};
|
|
111
480
|
}
|