@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/kotlin-js.js
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
(function (_, kotlin_kotlin) {
|
|
2
|
+
'use strict';
|
|
3
|
+
//region block: imports
|
|
4
|
+
var constructor = (class IteratorYieldResult {
|
|
5
|
+
static [Symbol.hasInstance](instance) {
|
|
6
|
+
return instance && (typeof instance === 'object') && (instance.done === false)
|
|
7
|
+
}
|
|
8
|
+
}.prototype).constructor;
|
|
9
|
+
var iterator = kotlin_kotlin.$_$.c6;
|
|
10
|
+
var CoroutineImpl = kotlin_kotlin.$_$.g4;
|
|
11
|
+
var Unit_instance = kotlin_kotlin.$_$.l2;
|
|
12
|
+
var protoOf = kotlin_kotlin.$_$.m5;
|
|
13
|
+
var THROW_CCE = kotlin_kotlin.$_$.l7;
|
|
14
|
+
var SequenceScope = kotlin_kotlin.$_$.z5;
|
|
15
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.f4;
|
|
16
|
+
var classMeta = kotlin_kotlin.$_$.o4;
|
|
17
|
+
var setMetadataFor = kotlin_kotlin.$_$.n5;
|
|
18
|
+
var VOID = kotlin_kotlin.$_$.c;
|
|
19
|
+
//endregion
|
|
20
|
+
//region block: pre-declaration
|
|
21
|
+
setMetadataFor(iteratorFor$slambda, 'iteratorFor$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, VOID, [1]);
|
|
22
|
+
//endregion
|
|
23
|
+
function iteratorFor(source) {
|
|
24
|
+
// Inline function 'js.iterable.JsIteratorLike.iterator' call
|
|
25
|
+
var this_0 = source[Symbol.iterator]();
|
|
26
|
+
return iteratorFor_0(this_0);
|
|
27
|
+
}
|
|
28
|
+
function iteratorFor_0(source) {
|
|
29
|
+
return iterator(iteratorFor$slambda_0(source, null));
|
|
30
|
+
}
|
|
31
|
+
function iteratorFor$slambda($source, resultContinuation) {
|
|
32
|
+
this.yf_1 = $source;
|
|
33
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
34
|
+
}
|
|
35
|
+
protoOf(iteratorFor$slambda).dg = function ($this$iterator, $completion) {
|
|
36
|
+
var tmp = this.eg($this$iterator, $completion);
|
|
37
|
+
tmp.ka_1 = Unit_instance;
|
|
38
|
+
tmp.la_1 = null;
|
|
39
|
+
return tmp.ta();
|
|
40
|
+
};
|
|
41
|
+
protoOf(iteratorFor$slambda).gb = function (p1, $completion) {
|
|
42
|
+
return this.dg(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
43
|
+
};
|
|
44
|
+
protoOf(iteratorFor$slambda).ta = function () {
|
|
45
|
+
var suspendResult = this.ka_1;
|
|
46
|
+
$sm: do
|
|
47
|
+
try {
|
|
48
|
+
var tmp = this.ia_1;
|
|
49
|
+
switch (tmp) {
|
|
50
|
+
case 0:
|
|
51
|
+
this.ja_1 = 5;
|
|
52
|
+
this.ia_1 = 1;
|
|
53
|
+
continue $sm;
|
|
54
|
+
case 1:
|
|
55
|
+
var tmp_0 = this;
|
|
56
|
+
var tmp_1 = this.yf_1.next();
|
|
57
|
+
tmp_0.ag_1 = tmp_1 instanceof constructor ? tmp_1 : null;
|
|
58
|
+
if (this.ag_1 == null) {
|
|
59
|
+
this.ia_1 = 4;
|
|
60
|
+
var tmp_2 = this;
|
|
61
|
+
continue $sm;
|
|
62
|
+
} else {
|
|
63
|
+
this.bg_1 = this.ag_1;
|
|
64
|
+
this.ia_1 = 2;
|
|
65
|
+
continue $sm;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
case 2:
|
|
69
|
+
this.cg_1 = this.bg_1;
|
|
70
|
+
this.ia_1 = 3;
|
|
71
|
+
suspendResult = this.zf_1.rc(this.cg_1.value, this);
|
|
72
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
73
|
+
return suspendResult;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
continue $sm;
|
|
77
|
+
case 3:
|
|
78
|
+
this.ia_1 = 1;
|
|
79
|
+
continue $sm;
|
|
80
|
+
case 4:
|
|
81
|
+
return Unit_instance;
|
|
82
|
+
case 5:
|
|
83
|
+
throw this.la_1;
|
|
84
|
+
}
|
|
85
|
+
} catch ($p) {
|
|
86
|
+
var e = $p;
|
|
87
|
+
if (this.ja_1 === 5) {
|
|
88
|
+
throw e;
|
|
89
|
+
} else {
|
|
90
|
+
this.ia_1 = this.ja_1;
|
|
91
|
+
this.la_1 = e;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
while (true);
|
|
95
|
+
};
|
|
96
|
+
protoOf(iteratorFor$slambda).eg = function ($this$iterator, completion) {
|
|
97
|
+
var i = new iteratorFor$slambda(this.yf_1, completion);
|
|
98
|
+
i.zf_1 = $this$iterator;
|
|
99
|
+
return i;
|
|
100
|
+
};
|
|
101
|
+
function iteratorFor$slambda_0($source, resultContinuation) {
|
|
102
|
+
var i = new iteratorFor$slambda($source, resultContinuation);
|
|
103
|
+
var l = function ($this$iterator, $completion) {
|
|
104
|
+
return i.dg($this$iterator, $completion);
|
|
105
|
+
};
|
|
106
|
+
l.$arity = 1;
|
|
107
|
+
return l;
|
|
108
|
+
}
|
|
109
|
+
return _;
|
|
110
|
+
}(module.exports, require('./kotlin-kotlin-stdlib.js')));
|
|
111
|
+
|
|
112
|
+
//# sourceMappingURL=kotlin-js.js.map
|
package/kotlin-js.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-js/src/jsMain/kotlin/js/iterable/JsIterable.iterator.kt","../../../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-js/src/jsMain/kotlin/js/iterable/JsIteratorLike.kt","../../../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-js/src/jsMain/kotlin/js/iterable/JsIteratorLike.iterator.kt"],"sourcesContent":[null,null,null],"names":["iteratorFor","source","$source","invoke","$this$iterator","$completion","doResume","iteratorFor$slambda","iteratorFor$slambda$lambda"],"mappings":";;;;;;;;;;;;;;;;;;sBAKSA,CACLC,MADKD,EAGL;A;iBCLyC,cACnC,QADmC,G;IDKL,OCMhC,cAAY,MAAZ,C;EDN+B,C;wBEL9BA,CACLC,MADKD,EAGL;A,IAOC,OAPD,SAAS,mCAAT,C;EAOA,C;+BATAE,O;;;;6CAESC,CAAAC,c,EAAAC,WAAAF,EACL;A;;;;EAKa,C;8CAZrB,E,EAAAE,W;;;6CAMaC,CAAAA,EAAA;A;;MAAA,I;;;;;;;;;wBAEmB,KAAP,IAAO,O;YAAP,wD;YAAA,sB;;;;;+BAAA,I;;;;;;YAAb,qB;;4BAGA,kBAAM,IAAN,CAAa,KAAb,O;;;;;;;;;;YAER,oB;;;;;;;;;;;;;;EAAA,C;8CAPS,c,EAQ43F,U;;;;;gCAR53FC,CAFTL,O,oBAESK,E;;qBAAAC,CAAAJ,c,EAAAC,WAAAG,E;;K;;;G;;;"}
|
package/kotlin-js.mjs
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import {
|
|
2
|
+
iterator3f5i676wpaa3g as iterator,
|
|
3
|
+
CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl,
|
|
4
|
+
Unit_instance1fbcbse1fwigr as Unit_instance,
|
|
5
|
+
protoOf180f3jzyo7rfj as protoOf,
|
|
6
|
+
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
7
|
+
SequenceScope1coiso86pqzq2 as SequenceScope,
|
|
8
|
+
get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED,
|
|
9
|
+
classMetawt99a3kyl3us as classMeta,
|
|
10
|
+
setMetadataForzkg9su7xd76l as setMetadataFor,
|
|
11
|
+
VOID7hggqo3abtya as VOID,
|
|
12
|
+
} from './kotlin-kotlin-stdlib.mjs';
|
|
13
|
+
//region block: imports
|
|
14
|
+
var constructor = (class IteratorYieldResult {
|
|
15
|
+
static [Symbol.hasInstance](instance) {
|
|
16
|
+
return instance && (typeof instance === 'object') && (instance.done === false)
|
|
17
|
+
}
|
|
18
|
+
}.prototype).constructor;
|
|
19
|
+
//endregion
|
|
20
|
+
//region block: pre-declaration
|
|
21
|
+
setMetadataFor(iteratorFor$slambda, 'iteratorFor$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, VOID, [1]);
|
|
22
|
+
//endregion
|
|
23
|
+
function iteratorFor(source) {
|
|
24
|
+
// Inline function 'js.iterable.JsIteratorLike.iterator' call
|
|
25
|
+
var this_0 = source[Symbol.iterator]();
|
|
26
|
+
return iteratorFor_0(this_0);
|
|
27
|
+
}
|
|
28
|
+
function iteratorFor_0(source) {
|
|
29
|
+
return iterator(iteratorFor$slambda_0(source, null));
|
|
30
|
+
}
|
|
31
|
+
function iteratorFor$slambda($source, resultContinuation) {
|
|
32
|
+
this.yf_1 = $source;
|
|
33
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
34
|
+
}
|
|
35
|
+
protoOf(iteratorFor$slambda).dg = function ($this$iterator, $completion) {
|
|
36
|
+
var tmp = this.eg($this$iterator, $completion);
|
|
37
|
+
tmp.ka_1 = Unit_instance;
|
|
38
|
+
tmp.la_1 = null;
|
|
39
|
+
return tmp.ta();
|
|
40
|
+
};
|
|
41
|
+
protoOf(iteratorFor$slambda).gb = function (p1, $completion) {
|
|
42
|
+
return this.dg(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
43
|
+
};
|
|
44
|
+
protoOf(iteratorFor$slambda).ta = function () {
|
|
45
|
+
var suspendResult = this.ka_1;
|
|
46
|
+
$sm: do
|
|
47
|
+
try {
|
|
48
|
+
var tmp = this.ia_1;
|
|
49
|
+
switch (tmp) {
|
|
50
|
+
case 0:
|
|
51
|
+
this.ja_1 = 5;
|
|
52
|
+
this.ia_1 = 1;
|
|
53
|
+
continue $sm;
|
|
54
|
+
case 1:
|
|
55
|
+
var tmp_0 = this;
|
|
56
|
+
var tmp_1 = this.yf_1.next();
|
|
57
|
+
tmp_0.ag_1 = tmp_1 instanceof constructor ? tmp_1 : null;
|
|
58
|
+
if (this.ag_1 == null) {
|
|
59
|
+
this.ia_1 = 4;
|
|
60
|
+
var tmp_2 = this;
|
|
61
|
+
continue $sm;
|
|
62
|
+
} else {
|
|
63
|
+
this.bg_1 = this.ag_1;
|
|
64
|
+
this.ia_1 = 2;
|
|
65
|
+
continue $sm;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
case 2:
|
|
69
|
+
this.cg_1 = this.bg_1;
|
|
70
|
+
this.ia_1 = 3;
|
|
71
|
+
suspendResult = this.zf_1.rc(this.cg_1.value, this);
|
|
72
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
73
|
+
return suspendResult;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
continue $sm;
|
|
77
|
+
case 3:
|
|
78
|
+
this.ia_1 = 1;
|
|
79
|
+
continue $sm;
|
|
80
|
+
case 4:
|
|
81
|
+
return Unit_instance;
|
|
82
|
+
case 5:
|
|
83
|
+
throw this.la_1;
|
|
84
|
+
}
|
|
85
|
+
} catch ($p) {
|
|
86
|
+
var e = $p;
|
|
87
|
+
if (this.ja_1 === 5) {
|
|
88
|
+
throw e;
|
|
89
|
+
} else {
|
|
90
|
+
this.ia_1 = this.ja_1;
|
|
91
|
+
this.la_1 = e;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
while (true);
|
|
95
|
+
};
|
|
96
|
+
protoOf(iteratorFor$slambda).eg = function ($this$iterator, completion) {
|
|
97
|
+
var i = new iteratorFor$slambda(this.yf_1, completion);
|
|
98
|
+
i.zf_1 = $this$iterator;
|
|
99
|
+
return i;
|
|
100
|
+
};
|
|
101
|
+
function iteratorFor$slambda_0($source, resultContinuation) {
|
|
102
|
+
var i = new iteratorFor$slambda($source, resultContinuation);
|
|
103
|
+
var l = function ($this$iterator, $completion) {
|
|
104
|
+
return i.dg($this$iterator, $completion);
|
|
105
|
+
};
|
|
106
|
+
l.$arity = 1;
|
|
107
|
+
return l;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
//# sourceMappingURL=kotlin-js.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-js/src/jsMain/kotlin/js/iterable/JsIterable.iterator.kt","../../../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-js/src/jsMain/kotlin/js/iterable/JsIteratorLike.kt","../../../../../../../../../../../Users/leonid.khachaturov/code/kotlin-wrappers-new/kotlin-js/src/jsMain/kotlin/js/iterable/JsIteratorLike.iterator.kt"],"sourcesContent":[null,null,null],"names":["iteratorFor","source","$source","invoke","$this$iterator","$completion","doResume","iteratorFor$slambda","iteratorFor$slambda$lambda"],"mappings":";;;;;;;;;;;;;;;;;;oBAKSA,CACLC,MADKD,EAGL;A;eCLyC,cACnC,QADmC,G;EDKL,OCMhC,cAAY,MAAZ,C;ADN+B,C;sBEL9BA,CACLC,MADKD,EAGL;A,EAOC,OAPD,SAAS,mCAAT,C;AAOA,C;6BATAE,O;;;;2CAESC,CAAAC,c,EAAAC,WAAAF,EACL;A;;;;AAKa,C;4CAZrB,E,EAAAE,W;;;2CAMaC,CAAAA,EAAA;A;;IAAA,I;;;;;;;;;sBAEmB,KAAP,IAAO,O;UAAP,wD;UAAA,sB;;;;;6BAAA,I;;;;;;UAAb,qB;;0BAGA,kBAAM,IAAN,CAAa,KAAb,O;;;;;;;;;;UAER,oB;;;;;;;;;;;;;;AAAA,C;4CAPS,c,EAQ43F,U;;;;;8BAR53FC,CAFTL,O,oBAESK,E;;mBAAAC,CAAAJ,c,EAAAC,WAAAG,E;;G;;;C;"}
|