@cruglobal/godtools-shared 1.2.0-PR799-SNAPSHOT.1777 → 1.2.0-PR810-SNAPSHOT.1769
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/Kermit-kermit-core.js +50 -50
- package/Kermit-kermit.js +10 -10
- package/antlr-kotlin-antlr-kotlin-runtime.js +3155 -3155
- package/colormath-root-colormath.js +709 -1926
- package/colormath-root-colormath.js.map +1 -1
- package/fluid-locale.js +159 -159
- package/kotlin-js.js +39 -39
- package/kotlin-kotlin-stdlib.js +1980 -2109
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-common.js +3 -3
- package/kotlin-mpp-godtools-tool-parser-module-parser-base.js +733 -0
- package/kotlin-mpp-godtools-tool-parser-module-parser-base.js.map +1 -0
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +408 -408
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +3177 -3235
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +17 -18
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.js +7 -7
- package/kotlinx-atomicfu.js +24 -24
- package/kotlinx-coroutines-core.js +2839 -2839
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
- package/android-gto-support-gto-support-fluidsonic-locale.js +0 -22
- package/android-gto-support-gto-support-fluidsonic-locale.js.map +0 -1
- package/kotlin-mpp-godtools-tool-parser-module-state.js +0 -636
- package/kotlin-mpp-godtools-tool-parser-module-state.js.map +0 -1
package/Kermit-kermit-core.js
CHANGED
|
@@ -12,20 +12,20 @@
|
|
|
12
12
|
}(function (_, kotlin_kotlin) {
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
16
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
17
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
15
|
+
var protoOf = kotlin_kotlin.$_$.t6;
|
|
16
|
+
var Unit_instance = kotlin_kotlin.$_$.k2;
|
|
17
|
+
var initMetadataForClass = kotlin_kotlin.$_$.e6;
|
|
18
18
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
19
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
20
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
21
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
19
|
+
var charSequenceLength = kotlin_kotlin.$_$.u5;
|
|
20
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.h6;
|
|
21
|
+
var initMetadataForObject = kotlin_kotlin.$_$.j6;
|
|
22
22
|
var VOID = kotlin_kotlin.$_$.d;
|
|
23
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
24
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
25
|
-
var Enum = kotlin_kotlin.$_$.
|
|
26
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
27
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
28
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
23
|
+
var getStringHashCode = kotlin_kotlin.$_$.c6;
|
|
24
|
+
var THROW_CCE = kotlin_kotlin.$_$.d9;
|
|
25
|
+
var Enum = kotlin_kotlin.$_$.t8;
|
|
26
|
+
var objectCreate = kotlin_kotlin.$_$.s6;
|
|
27
|
+
var stackTraceToString = kotlin_kotlin.$_$.p9;
|
|
28
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.o9;
|
|
29
29
|
//endregion
|
|
30
30
|
//region block: pre-declaration
|
|
31
31
|
initMetadataForClass(BaseLogger, 'BaseLogger');
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
return _Message___get_message__impl__3t69n4(message);
|
|
49
49
|
var sb = StringBuilder_init_$Create$();
|
|
50
50
|
if (!(severity == null)) {
|
|
51
|
-
sb.
|
|
51
|
+
sb.r7(this.j33(severity)).r7(' ');
|
|
52
52
|
}
|
|
53
53
|
var tmp_1;
|
|
54
54
|
var tmp_2 = tag;
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
tmp_1 = false;
|
|
61
61
|
}
|
|
62
62
|
if (tmp_1) {
|
|
63
|
-
sb.
|
|
63
|
+
sb.r7(this.k33(tag)).r7(' ');
|
|
64
64
|
}
|
|
65
|
-
sb.
|
|
65
|
+
sb.r7(_Message___get_message__impl__3t69n4(message));
|
|
66
66
|
return sb.toString();
|
|
67
67
|
}
|
|
68
68
|
initMetadataForInterface(MessageStringFormatter, 'MessageStringFormatter');
|
|
@@ -79,18 +79,18 @@
|
|
|
79
79
|
}
|
|
80
80
|
var DEFAULT_MIN_SEVERITY;
|
|
81
81
|
function BaseLogger(config) {
|
|
82
|
-
this.
|
|
82
|
+
this.d33_1 = config;
|
|
83
83
|
}
|
|
84
|
-
protoOf(BaseLogger).
|
|
85
|
-
return this.
|
|
84
|
+
protoOf(BaseLogger).e33 = function () {
|
|
85
|
+
return this.d33_1;
|
|
86
86
|
};
|
|
87
|
-
protoOf(BaseLogger).
|
|
87
|
+
protoOf(BaseLogger).f33 = function (severity, tag, throwable, message) {
|
|
88
88
|
// Inline function 'kotlin.collections.forEach' call
|
|
89
|
-
var _iterator__ex2g4s = this.
|
|
89
|
+
var _iterator__ex2g4s = this.e33().g33().j();
|
|
90
90
|
while (_iterator__ex2g4s.k()) {
|
|
91
91
|
var element = _iterator__ex2g4s.l();
|
|
92
|
-
if (element.
|
|
93
|
-
element.
|
|
92
|
+
if (element.i33(tag, severity)) {
|
|
93
|
+
element.h33(severity, message, tag, throwable);
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
};
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
}
|
|
104
104
|
function LogWriter() {
|
|
105
105
|
}
|
|
106
|
-
protoOf(LogWriter).
|
|
106
|
+
protoOf(LogWriter).i33 = function (tag, severity) {
|
|
107
107
|
return true;
|
|
108
108
|
};
|
|
109
109
|
function MessageStringFormatter() {
|
|
@@ -129,21 +129,21 @@
|
|
|
129
129
|
function Tag__equals_impl_6ocp5g($this, other) {
|
|
130
130
|
if (!(other instanceof Tag))
|
|
131
131
|
return false;
|
|
132
|
-
if (!($this === (other instanceof Tag ? other.
|
|
132
|
+
if (!($this === (other instanceof Tag ? other.m33_1 : THROW_CCE())))
|
|
133
133
|
return false;
|
|
134
134
|
return true;
|
|
135
135
|
}
|
|
136
136
|
function Tag(tag) {
|
|
137
|
-
this.
|
|
137
|
+
this.m33_1 = tag;
|
|
138
138
|
}
|
|
139
139
|
protoOf(Tag).toString = function () {
|
|
140
|
-
return Tag__toString_impl_tvevk7(this.
|
|
140
|
+
return Tag__toString_impl_tvevk7(this.m33_1);
|
|
141
141
|
};
|
|
142
142
|
protoOf(Tag).hashCode = function () {
|
|
143
|
-
return Tag__hashCode_impl_848yrc(this.
|
|
143
|
+
return Tag__hashCode_impl_848yrc(this.m33_1);
|
|
144
144
|
};
|
|
145
145
|
protoOf(Tag).equals = function (other) {
|
|
146
|
-
return Tag__equals_impl_6ocp5g(this.
|
|
146
|
+
return Tag__equals_impl_6ocp5g(this.m33_1, other);
|
|
147
147
|
};
|
|
148
148
|
function _Message___init__impl__p3e8y6(message) {
|
|
149
149
|
return message;
|
|
@@ -194,31 +194,31 @@
|
|
|
194
194
|
}
|
|
195
195
|
function ConsoleWriter(messageStringFormatter, console) {
|
|
196
196
|
LogWriter.call(this);
|
|
197
|
-
this.
|
|
198
|
-
this.
|
|
197
|
+
this.n33_1 = messageStringFormatter;
|
|
198
|
+
this.o33_1 = console;
|
|
199
199
|
}
|
|
200
|
-
protoOf(ConsoleWriter).
|
|
201
|
-
var output = this.
|
|
200
|
+
protoOf(ConsoleWriter).h33 = function (severity, message, tag, throwable) {
|
|
201
|
+
var output = this.n33_1.l33(null, _Tag___init__impl__opaqzl(tag), _Message___init__impl__p3e8y6(message));
|
|
202
202
|
if (throwable == null)
|
|
203
203
|
null;
|
|
204
204
|
else {
|
|
205
205
|
// Inline function 'kotlin.let' call
|
|
206
206
|
output = output + (' ' + stackTraceToString(throwable));
|
|
207
207
|
}
|
|
208
|
-
switch (severity.
|
|
208
|
+
switch (severity.v1_1) {
|
|
209
209
|
case 5:
|
|
210
210
|
case 4:
|
|
211
|
-
this.
|
|
211
|
+
this.o33_1.p33(output);
|
|
212
212
|
break;
|
|
213
213
|
case 3:
|
|
214
|
-
this.
|
|
214
|
+
this.o33_1.q33(output);
|
|
215
215
|
break;
|
|
216
216
|
case 2:
|
|
217
|
-
this.
|
|
217
|
+
this.o33_1.r33(output);
|
|
218
218
|
break;
|
|
219
219
|
case 1:
|
|
220
220
|
case 0:
|
|
221
|
-
this.
|
|
221
|
+
this.o33_1.s33(output);
|
|
222
222
|
break;
|
|
223
223
|
default:
|
|
224
224
|
noWhenBranchMatchedException();
|
|
@@ -226,14 +226,14 @@
|
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
function JsMutableLoggerConfig(logWriters) {
|
|
229
|
-
this.
|
|
230
|
-
this.
|
|
229
|
+
this.t33_1 = get_DEFAULT_MIN_SEVERITY();
|
|
230
|
+
this.u33_1 = logWriters;
|
|
231
231
|
}
|
|
232
|
-
protoOf(JsMutableLoggerConfig).
|
|
233
|
-
return this.
|
|
232
|
+
protoOf(JsMutableLoggerConfig).v33 = function () {
|
|
233
|
+
return this.t33_1;
|
|
234
234
|
};
|
|
235
|
-
protoOf(JsMutableLoggerConfig).
|
|
236
|
-
return this.
|
|
235
|
+
protoOf(JsMutableLoggerConfig).g33 = function () {
|
|
236
|
+
return this.u33_1;
|
|
237
237
|
};
|
|
238
238
|
function mutableLoggerConfigInit(logWriters) {
|
|
239
239
|
return new JsMutableLoggerConfig(logWriters);
|
|
@@ -244,16 +244,16 @@
|
|
|
244
244
|
}
|
|
245
245
|
function ConsoleActual() {
|
|
246
246
|
}
|
|
247
|
-
protoOf(ConsoleActual).
|
|
247
|
+
protoOf(ConsoleActual).p33 = function (output) {
|
|
248
248
|
console.error(output);
|
|
249
249
|
};
|
|
250
|
-
protoOf(ConsoleActual).
|
|
250
|
+
protoOf(ConsoleActual).q33 = function (output) {
|
|
251
251
|
console.warn(output);
|
|
252
252
|
};
|
|
253
|
-
protoOf(ConsoleActual).
|
|
253
|
+
protoOf(ConsoleActual).r33 = function (output) {
|
|
254
254
|
console.info(output);
|
|
255
255
|
};
|
|
256
|
-
protoOf(ConsoleActual).
|
|
256
|
+
protoOf(ConsoleActual).s33 = function (output) {
|
|
257
257
|
console.log(output);
|
|
258
258
|
};
|
|
259
259
|
var ConsoleActual_instance;
|
|
@@ -261,9 +261,9 @@
|
|
|
261
261
|
return ConsoleActual_instance;
|
|
262
262
|
}
|
|
263
263
|
//region block: post-declaration
|
|
264
|
-
protoOf(DefaultFormatter).
|
|
265
|
-
protoOf(DefaultFormatter).
|
|
266
|
-
protoOf(DefaultFormatter).
|
|
264
|
+
protoOf(DefaultFormatter).j33 = formatSeverity;
|
|
265
|
+
protoOf(DefaultFormatter).k33 = formatTag;
|
|
266
|
+
protoOf(DefaultFormatter).l33 = formatMessage;
|
|
267
267
|
//endregion
|
|
268
268
|
//region block: init
|
|
269
269
|
DefaultFormatter_instance = new DefaultFormatter();
|
package/Kermit-kermit.js
CHANGED
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var platformLogWriter = kotlin_co_touchlab_kermit_core.$_$.c;
|
|
19
|
-
var listOf = kotlin_kotlin.$_$.
|
|
19
|
+
var listOf = kotlin_kotlin.$_$.d4;
|
|
20
20
|
var mutableLoggerConfigInit = kotlin_co_touchlab_kermit_core.$_$.b;
|
|
21
21
|
var Severity_Error_getInstance = kotlin_co_touchlab_kermit_core.$_$.e;
|
|
22
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
23
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
24
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
22
|
+
var Unit_instance = kotlin_kotlin.$_$.k2;
|
|
23
|
+
var protoOf = kotlin_kotlin.$_$.t6;
|
|
24
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.f6;
|
|
25
25
|
var BaseLogger = kotlin_co_touchlab_kermit_core.$_$.a;
|
|
26
26
|
var VOID = kotlin_kotlin.$_$.d;
|
|
27
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
27
|
+
var initMetadataForClass = kotlin_kotlin.$_$.e6;
|
|
28
28
|
//endregion
|
|
29
29
|
//region block: pre-declaration
|
|
30
30
|
initMetadataForClass(Logger, 'Logger', VOID, BaseLogger);
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
Companion_instance = this;
|
|
35
35
|
Logger.call(this, mutableLoggerConfigInit(listOf(platformLogWriter())), '');
|
|
36
36
|
}
|
|
37
|
-
protoOf(Companion).
|
|
38
|
-
if (this.
|
|
37
|
+
protoOf(Companion).y33 = function (tag, throwable, message) {
|
|
38
|
+
if (this.e33().v33().y1(Severity_Error_getInstance()) <= 0) {
|
|
39
39
|
var tmp1 = Severity_Error_getInstance();
|
|
40
40
|
// Inline function 'co.touchlab.kermit.BaseLogger.log' call
|
|
41
41
|
var message_0 = message();
|
|
42
|
-
if (this.
|
|
43
|
-
this.
|
|
42
|
+
if (this.e33().v33().y1(tmp1) <= 0) {
|
|
43
|
+
this.f33(tmp1, tag, throwable, message_0);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
};
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
Companion_getInstance();
|
|
55
55
|
tag = tag === VOID ? '' : tag;
|
|
56
56
|
BaseLogger.call(this, config);
|
|
57
|
-
this.
|
|
57
|
+
this.a34_1 = tag;
|
|
58
58
|
}
|
|
59
59
|
var defaultTag;
|
|
60
60
|
//region block: init
|