@dhis2/expression-parser 1.2.2 → 1.3.0
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 +5918 -1639
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +5871 -1592
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +1 -1
- package/KotlinBigInteger-bignum.js +2089 -2112
- package/KotlinBigInteger-bignum.js.map +1 -1
- package/KotlinBigInteger-bignum.mjs +2034 -2057
- package/KotlinBigInteger-bignum.mjs.map +1 -1
- package/{expression-parser.d.ts → expression-parser.d.mts} +120 -11
- package/expression-parser.js +3144 -3287
- package/expression-parser.js.map +1 -1
- package/expression-parser.mjs +3041 -3184
- package/expression-parser.mjs.map +1 -1
- package/kotlin-js.js +41 -42
- package/kotlin-js.js.map +1 -1
- package/kotlin-js.mjs +34 -35
- package/kotlin-js.mjs.map +1 -1
- package/kotlin-kotlin-stdlib.js +3514 -3265
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-kotlin-stdlib.mjs +3354 -3105
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-kotlinx-atomicfu-runtime.js.map +1 -1
- package/kotlin-kotlinx-atomicfu-runtime.mjs.map +1 -1
- package/kotlin-plugins-js-plain-objects-runtime.js.map +1 -1
- package/kotlin-plugins-js-plain-objects-runtime.mjs.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map +1 -1
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-atomicfu.mjs.map +1 -1
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
- package/package.json +2 -4
- package/seskar-core.js.map +1 -1
- package/seskar-core.mjs.map +1 -1
- package/seskar-react.js.map +1 -1
- package/seskar-react.mjs.map +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
type Nullable<T> = T | null | undefined
|
|
2
|
+
declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
2
3
|
export declare abstract class ExpressionMode {
|
|
3
4
|
private constructor();
|
|
4
5
|
static get VALIDATION_RULE_EXPRESSION(): ExpressionMode & {
|
|
@@ -42,6 +43,10 @@ export declare abstract class ExpressionMode {
|
|
|
42
43
|
static values(): Array<ExpressionMode>;
|
|
43
44
|
static valueOf(value: string): ExpressionMode;
|
|
44
45
|
}
|
|
46
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
47
|
+
export declare namespace ExpressionMode.$metadata$ {
|
|
48
|
+
const constructor: abstract new () => ExpressionMode;
|
|
49
|
+
}
|
|
45
50
|
export declare abstract class AggregationType {
|
|
46
51
|
private constructor();
|
|
47
52
|
static get sum(): AggregationType & {
|
|
@@ -113,6 +118,10 @@ export declare abstract class AggregationType {
|
|
|
113
118
|
static values(): Array<AggregationType>;
|
|
114
119
|
static valueOf(value: string): AggregationType;
|
|
115
120
|
}
|
|
121
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
122
|
+
export declare namespace AggregationType.$metadata$ {
|
|
123
|
+
const constructor: abstract new () => AggregationType;
|
|
124
|
+
}
|
|
116
125
|
export declare abstract class AndroidCustomIntentVariable {
|
|
117
126
|
private constructor();
|
|
118
127
|
static get orgunit_code(): AndroidCustomIntentVariable & {
|
|
@@ -140,6 +149,10 @@ export declare abstract class AndroidCustomIntentVariable {
|
|
|
140
149
|
static values(): Array<AndroidCustomIntentVariable>;
|
|
141
150
|
static valueOf(value: string): AndroidCustomIntentVariable;
|
|
142
151
|
}
|
|
152
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
153
|
+
export declare namespace AndroidCustomIntentVariable.$metadata$ {
|
|
154
|
+
const constructor: abstract new () => AndroidCustomIntentVariable;
|
|
155
|
+
}
|
|
143
156
|
export declare abstract class DataItemType {
|
|
144
157
|
private constructor();
|
|
145
158
|
static get DATA_ELEMENT(): DataItemType & {
|
|
@@ -187,9 +200,26 @@ export declare abstract class DataItemType {
|
|
|
187
200
|
getType(numberOfIds: number, index: number): IDType;
|
|
188
201
|
static values(): Array<DataItemType>;
|
|
189
202
|
static valueOf(value: string): DataItemType;
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
203
|
+
}
|
|
204
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
205
|
+
export declare namespace DataItemType.$metadata$ {
|
|
206
|
+
const constructor: abstract new () => DataItemType;
|
|
207
|
+
}
|
|
208
|
+
export declare namespace DataItemType {
|
|
209
|
+
abstract class Companion {
|
|
210
|
+
static readonly getInstance: () => typeof Companion.$metadata$.type;
|
|
211
|
+
private constructor();
|
|
212
|
+
}
|
|
213
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
214
|
+
namespace Companion.$metadata$ {
|
|
215
|
+
abstract class type extends KtSingleton<constructor>() {
|
|
216
|
+
private constructor();
|
|
217
|
+
}
|
|
218
|
+
abstract class constructor {
|
|
219
|
+
fromSymbol(symbol: string): DataItemType;
|
|
220
|
+
private constructor();
|
|
221
|
+
}
|
|
222
|
+
}
|
|
193
223
|
}
|
|
194
224
|
export declare class ID {
|
|
195
225
|
constructor(type: IDType, value: string);
|
|
@@ -200,6 +230,10 @@ export declare class ID {
|
|
|
200
230
|
hashCode(): number;
|
|
201
231
|
equals(other: Nullable<any>): boolean;
|
|
202
232
|
}
|
|
233
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
234
|
+
export declare namespace ID.$metadata$ {
|
|
235
|
+
const constructor: abstract new () => ID;
|
|
236
|
+
}
|
|
203
237
|
export declare abstract class IDType {
|
|
204
238
|
private constructor();
|
|
205
239
|
static get AndroidCustomIntent(): IDType & {
|
|
@@ -276,6 +310,10 @@ export declare abstract class IDType {
|
|
|
276
310
|
static values(): Array<IDType>;
|
|
277
311
|
static valueOf(value: string): IDType;
|
|
278
312
|
}
|
|
313
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
314
|
+
export declare namespace IDType.$metadata$ {
|
|
315
|
+
const constructor: abstract new () => IDType;
|
|
316
|
+
}
|
|
279
317
|
export declare abstract class ProgramVariable {
|
|
280
318
|
private constructor();
|
|
281
319
|
static get analytics_period_end(): ProgramVariable & {
|
|
@@ -399,6 +437,10 @@ export declare abstract class ProgramVariable {
|
|
|
399
437
|
static values(): Array<ProgramVariable>;
|
|
400
438
|
static valueOf(value: string): ProgramVariable;
|
|
401
439
|
}
|
|
440
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
441
|
+
export declare namespace ProgramVariable.$metadata$ {
|
|
442
|
+
const constructor: abstract new () => ProgramVariable;
|
|
443
|
+
}
|
|
402
444
|
export declare abstract class ValueType {
|
|
403
445
|
private constructor();
|
|
404
446
|
static get MIXED(): ValueType & {
|
|
@@ -434,9 +476,26 @@ export declare abstract class ValueType {
|
|
|
434
476
|
isValidValue(value: Nullable<any>): boolean;
|
|
435
477
|
static values(): Array<ValueType>;
|
|
436
478
|
static valueOf(value: string): ValueType;
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
479
|
+
}
|
|
480
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
481
|
+
export declare namespace ValueType.$metadata$ {
|
|
482
|
+
const constructor: abstract new () => ValueType;
|
|
483
|
+
}
|
|
484
|
+
export declare namespace ValueType {
|
|
485
|
+
abstract class Companion {
|
|
486
|
+
static readonly getInstance: () => typeof Companion.$metadata$.type;
|
|
487
|
+
private constructor();
|
|
488
|
+
}
|
|
489
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
490
|
+
namespace Companion.$metadata$ {
|
|
491
|
+
abstract class type extends KtSingleton<constructor>() {
|
|
492
|
+
private constructor();
|
|
493
|
+
}
|
|
494
|
+
abstract class constructor {
|
|
495
|
+
allSame(types: Array<ValueType>): boolean;
|
|
496
|
+
private constructor();
|
|
497
|
+
}
|
|
498
|
+
}
|
|
440
499
|
}
|
|
441
500
|
export declare class DataItemJs {
|
|
442
501
|
constructor(type: DataItemType, uid0: ID, uid1: Array<ID>, uid2: Array<ID>, modifiers: QueryModifiersJs);
|
|
@@ -450,6 +509,10 @@ export declare class DataItemJs {
|
|
|
450
509
|
hashCode(): number;
|
|
451
510
|
equals(other: Nullable<any>): boolean;
|
|
452
511
|
}
|
|
512
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
513
|
+
export declare namespace DataItemJs.$metadata$ {
|
|
514
|
+
const constructor: abstract new () => DataItemJs;
|
|
515
|
+
}
|
|
453
516
|
export declare class ExpressionDataJs {
|
|
454
517
|
constructor(programRuleVariableValues?: Map<string, VariableValueJs>, programVariableValues?: Map<string, any>, supplementaryValues?: Map<string, Array<string>>, dataItemValues?: Map<DataItemJs, any>, namedValues?: Map<string, any>);
|
|
455
518
|
get programRuleVariableValues(): Map<string, VariableValueJs>;
|
|
@@ -462,6 +525,10 @@ export declare class ExpressionDataJs {
|
|
|
462
525
|
hashCode(): number;
|
|
463
526
|
equals(other: Nullable<any>): boolean;
|
|
464
527
|
}
|
|
528
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
529
|
+
export declare namespace ExpressionDataJs.$metadata$ {
|
|
530
|
+
const constructor: abstract new () => ExpressionDataJs;
|
|
531
|
+
}
|
|
465
532
|
export declare class ExpressionJs {
|
|
466
533
|
constructor(expression: string, mode: ExpressionMode);
|
|
467
534
|
collectDataItems(): Array<DataItemJs>;
|
|
@@ -476,9 +543,26 @@ export declare class ExpressionJs {
|
|
|
476
543
|
regenerate(dataItemValues: Map<DataItemJs, number>): string;
|
|
477
544
|
normalise(): string;
|
|
478
545
|
toString(): string;
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
546
|
+
}
|
|
547
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
548
|
+
export declare namespace ExpressionJs.$metadata$ {
|
|
549
|
+
const constructor: abstract new () => ExpressionJs;
|
|
550
|
+
}
|
|
551
|
+
export declare namespace ExpressionJs {
|
|
552
|
+
abstract class Companion {
|
|
553
|
+
static readonly getInstance: () => typeof Companion.$metadata$.type;
|
|
554
|
+
private constructor();
|
|
555
|
+
}
|
|
556
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
557
|
+
namespace Companion.$metadata$ {
|
|
558
|
+
abstract class type extends KtSingleton<constructor>() {
|
|
559
|
+
private constructor();
|
|
560
|
+
}
|
|
561
|
+
abstract class constructor {
|
|
562
|
+
get MODES(): Array<string>;
|
|
563
|
+
private constructor();
|
|
564
|
+
}
|
|
565
|
+
}
|
|
482
566
|
}
|
|
483
567
|
export declare class QueryModifiersJs {
|
|
484
568
|
constructor(periodAggregation: boolean, aggregationType: Nullable<AggregationType>, maxDate: Nullable<string>, minDate: Nullable<string>, periodOffset: Nullable<number>, stageOffset: Nullable<number>, yearToDate: boolean, subExpression: Nullable<string>);
|
|
@@ -494,8 +578,25 @@ export declare class QueryModifiersJs {
|
|
|
494
578
|
toString(): string;
|
|
495
579
|
hashCode(): number;
|
|
496
580
|
equals(other: Nullable<any>): boolean;
|
|
497
|
-
|
|
498
|
-
|
|
581
|
+
}
|
|
582
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
583
|
+
export declare namespace QueryModifiersJs.$metadata$ {
|
|
584
|
+
const constructor: abstract new () => QueryModifiersJs;
|
|
585
|
+
}
|
|
586
|
+
export declare namespace QueryModifiersJs {
|
|
587
|
+
abstract class Companion {
|
|
588
|
+
static readonly getInstance: () => typeof Companion.$metadata$.type;
|
|
589
|
+
private constructor();
|
|
590
|
+
}
|
|
591
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
592
|
+
namespace Companion.$metadata$ {
|
|
593
|
+
abstract class type extends KtSingleton<constructor>() {
|
|
594
|
+
private constructor();
|
|
595
|
+
}
|
|
596
|
+
abstract class constructor {
|
|
597
|
+
private constructor();
|
|
598
|
+
}
|
|
599
|
+
}
|
|
499
600
|
}
|
|
500
601
|
export declare class VariableJs {
|
|
501
602
|
constructor(name: ProgramVariable, modifiers: QueryModifiersJs);
|
|
@@ -506,6 +607,10 @@ export declare class VariableJs {
|
|
|
506
607
|
hashCode(): number;
|
|
507
608
|
equals(other: Nullable<any>): boolean;
|
|
508
609
|
}
|
|
610
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
611
|
+
export declare namespace VariableJs.$metadata$ {
|
|
612
|
+
const constructor: abstract new () => VariableJs;
|
|
613
|
+
}
|
|
509
614
|
export declare class VariableValueJs {
|
|
510
615
|
constructor(valueType: ValueType, value: Nullable<string>, candidates: Array<string>, eventDate: Nullable<string>);
|
|
511
616
|
get valueType(): ValueType;
|
|
@@ -516,4 +621,8 @@ export declare class VariableValueJs {
|
|
|
516
621
|
toString(): string;
|
|
517
622
|
hashCode(): number;
|
|
518
623
|
equals(other: Nullable<any>): boolean;
|
|
624
|
+
}
|
|
625
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
626
|
+
export declare namespace VariableValueJs.$metadata$ {
|
|
627
|
+
const constructor: abstract new () => VariableValueJs;
|
|
519
628
|
}
|