@cruglobal/godtools-shared 1.0.2-SNAPSHOT.1560 → 1.1.0-PR638-SNAPSHOT.1575
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 +65 -66
- package/Kermit-kermit-core.js.map +1 -1
- package/Kermit-kermit.js +17 -18
- package/Kermit-kermit.js.map +1 -1
- package/KustomExport-lib-coroutines.js +3 -3
- package/KustomExport-lib.js +3 -3
- package/android-gto-support-gto-support-androidx-annotation.js +3 -3
- package/android-gto-support-gto-support-fluidsonic-locale.js +3 -3
- package/antlr-kotlin-antlr-kotlin-runtime.js +4229 -4369
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
- package/colormath-root-colormath.js +1365 -1097
- package/colormath-root-colormath.js.map +1 -1
- package/fluid-locale.js +239 -228
- package/fluid-locale.js.map +1 -1
- package/kotlin-js.js +44 -45
- package/kotlin-js.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +9063 -6922
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-kotlinx-atomicfu-runtime.js +3 -3
- package/kotlin-mpp-godtools-tool-parser-module-common.js +32 -7
- package/kotlin-mpp-godtools-tool-parser-module-common.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +532 -585
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +3508 -4030
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-state.js +297 -271
- package/kotlin-mpp-godtools-tool-parser-module-state.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +142 -93
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.js +11 -7
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +3 -3
- package/kotlinx-atomicfu.js +36 -37
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +3248 -3279
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
- package/seskar-core.js +3 -3
- package/seskar-react.js +3 -3
package/Kermit-kermit-core.js
CHANGED
|
@@ -1,37 +1,36 @@
|
|
|
1
|
-
(function (
|
|
1
|
+
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
3
|
define(['exports', './kotlin-kotlin-stdlib.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
5
|
factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
|
|
6
6
|
else {
|
|
7
|
-
if (typeof
|
|
7
|
+
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'Kermit-kermit-core'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'Kermit-kermit-core'.");
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
globalThis['Kermit-kermit-core'] = factory(typeof globalThis['Kermit-kermit-core'] === 'undefined' ? {} : globalThis['Kermit-kermit-core'], globalThis['kotlin-kotlin-stdlib']);
|
|
11
11
|
}
|
|
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
|
|
18
|
-
var setMetadataFor = kotlin_kotlin.$_$.u6;
|
|
15
|
+
var protoOf = kotlin_kotlin.$_$.d7;
|
|
16
|
+
var Unit_instance = kotlin_kotlin.$_$.n2;
|
|
17
|
+
var initMetadataForClass = kotlin_kotlin.$_$.o6;
|
|
19
18
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
20
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
21
|
-
var
|
|
22
|
-
var
|
|
19
|
+
var charSequenceLength = kotlin_kotlin.$_$.e6;
|
|
20
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.r6;
|
|
21
|
+
var initMetadataForObject = kotlin_kotlin.$_$.t6;
|
|
23
22
|
var VOID = kotlin_kotlin.$_$.d;
|
|
24
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
25
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
26
|
-
var Enum = kotlin_kotlin.$_$.
|
|
27
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
28
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
23
|
+
var getStringHashCode = kotlin_kotlin.$_$.m6;
|
|
24
|
+
var THROW_CCE = kotlin_kotlin.$_$.s9;
|
|
25
|
+
var Enum = kotlin_kotlin.$_$.i9;
|
|
26
|
+
var objectCreate = kotlin_kotlin.$_$.c7;
|
|
27
|
+
var stackTraceToString = kotlin_kotlin.$_$.da;
|
|
29
28
|
//endregion
|
|
30
29
|
//region block: pre-declaration
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
initMetadataForClass(BaseLogger, 'BaseLogger');
|
|
31
|
+
initMetadataForClass(LogWriter, 'LogWriter');
|
|
33
32
|
function formatSeverity(severity) {
|
|
34
|
-
return
|
|
33
|
+
return severity.toString() + ':';
|
|
35
34
|
}
|
|
36
35
|
function formatTag(tag) {
|
|
37
36
|
return '(' + _Tag___get_tag__impl__7z9hd6(tag) + ')';
|
|
@@ -48,7 +47,7 @@
|
|
|
48
47
|
return _Message___get_message__impl__3t69n4(message);
|
|
49
48
|
var sb = StringBuilder_init_$Create$();
|
|
50
49
|
if (!(severity == null)) {
|
|
51
|
-
sb.
|
|
50
|
+
sb.r8(this.k1t(severity)).r8(' ');
|
|
52
51
|
}
|
|
53
52
|
var tmp_1;
|
|
54
53
|
var tmp_2 = tag;
|
|
@@ -60,18 +59,18 @@
|
|
|
60
59
|
tmp_1 = false;
|
|
61
60
|
}
|
|
62
61
|
if (tmp_1) {
|
|
63
|
-
sb.
|
|
62
|
+
sb.r8(this.l1t(tag)).r8(' ');
|
|
64
63
|
}
|
|
65
|
-
sb.
|
|
64
|
+
sb.r8(_Message___get_message__impl__3t69n4(message));
|
|
66
65
|
return sb.toString();
|
|
67
66
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
67
|
+
initMetadataForInterface(MessageStringFormatter, 'MessageStringFormatter');
|
|
68
|
+
initMetadataForObject(DefaultFormatter, 'DefaultFormatter', VOID, VOID, [MessageStringFormatter]);
|
|
69
|
+
initMetadataForClass(Tag, 'Tag');
|
|
70
|
+
initMetadataForClass(Severity, 'Severity', VOID, Enum);
|
|
71
|
+
initMetadataForClass(ConsoleWriter, 'ConsoleWriter', ConsoleWriter_init_$Create$, LogWriter);
|
|
72
|
+
initMetadataForClass(JsMutableLoggerConfig, 'JsMutableLoggerConfig');
|
|
73
|
+
initMetadataForObject(ConsoleActual, 'ConsoleActual');
|
|
75
74
|
//endregion
|
|
76
75
|
function get_DEFAULT_MIN_SEVERITY() {
|
|
77
76
|
_init_properties_BaseLogger_kt__lobnq7();
|
|
@@ -79,19 +78,19 @@
|
|
|
79
78
|
}
|
|
80
79
|
var DEFAULT_MIN_SEVERITY;
|
|
81
80
|
function BaseLogger(config) {
|
|
82
|
-
this.
|
|
81
|
+
this.e1t_1 = config;
|
|
83
82
|
}
|
|
84
|
-
protoOf(BaseLogger).
|
|
85
|
-
return this.
|
|
83
|
+
protoOf(BaseLogger).f1t = function () {
|
|
84
|
+
return this.e1t_1;
|
|
86
85
|
};
|
|
87
|
-
protoOf(BaseLogger).
|
|
86
|
+
protoOf(BaseLogger).g1t = function (severity, tag, throwable, message) {
|
|
88
87
|
// Inline function 'kotlin.collections.forEach' call
|
|
89
|
-
var tmp0_iterator = this.
|
|
90
|
-
while (tmp0_iterator.
|
|
91
|
-
var element = tmp0_iterator.
|
|
88
|
+
var tmp0_iterator = this.f1t().h1t().j();
|
|
89
|
+
while (tmp0_iterator.k()) {
|
|
90
|
+
var element = tmp0_iterator.l();
|
|
92
91
|
// Inline function 'co.touchlab.kermit.BaseLogger.processLog.<anonymous>' call
|
|
93
|
-
if (element.
|
|
94
|
-
element.
|
|
92
|
+
if (element.j1t(tag, severity)) {
|
|
93
|
+
element.i1t(severity, message, tag, throwable);
|
|
95
94
|
}
|
|
96
95
|
}
|
|
97
96
|
};
|
|
@@ -104,7 +103,7 @@
|
|
|
104
103
|
}
|
|
105
104
|
function LogWriter() {
|
|
106
105
|
}
|
|
107
|
-
protoOf(LogWriter).
|
|
106
|
+
protoOf(LogWriter).j1t = function (tag, severity) {
|
|
108
107
|
return true;
|
|
109
108
|
};
|
|
110
109
|
function MessageStringFormatter() {
|
|
@@ -130,21 +129,21 @@
|
|
|
130
129
|
function Tag__equals_impl_6ocp5g($this, other) {
|
|
131
130
|
if (!(other instanceof Tag))
|
|
132
131
|
return false;
|
|
133
|
-
if (!($this === (other instanceof Tag ? other.
|
|
132
|
+
if (!($this === (other instanceof Tag ? other.n1t_1 : THROW_CCE())))
|
|
134
133
|
return false;
|
|
135
134
|
return true;
|
|
136
135
|
}
|
|
137
136
|
function Tag(tag) {
|
|
138
|
-
this.
|
|
137
|
+
this.n1t_1 = tag;
|
|
139
138
|
}
|
|
140
139
|
protoOf(Tag).toString = function () {
|
|
141
|
-
return Tag__toString_impl_tvevk7(this.
|
|
140
|
+
return Tag__toString_impl_tvevk7(this.n1t_1);
|
|
142
141
|
};
|
|
143
142
|
protoOf(Tag).hashCode = function () {
|
|
144
|
-
return Tag__hashCode_impl_848yrc(this.
|
|
143
|
+
return Tag__hashCode_impl_848yrc(this.n1t_1);
|
|
145
144
|
};
|
|
146
145
|
protoOf(Tag).equals = function (other) {
|
|
147
|
-
return Tag__equals_impl_6ocp5g(this.
|
|
146
|
+
return Tag__equals_impl_6ocp5g(this.n1t_1, other);
|
|
148
147
|
};
|
|
149
148
|
function _Message___init__impl__p3e8y6(message) {
|
|
150
149
|
return message;
|
|
@@ -195,11 +194,11 @@
|
|
|
195
194
|
}
|
|
196
195
|
function ConsoleWriter(messageStringFormatter, console) {
|
|
197
196
|
LogWriter.call(this);
|
|
198
|
-
this.
|
|
199
|
-
this.
|
|
197
|
+
this.o1t_1 = messageStringFormatter;
|
|
198
|
+
this.p1t_1 = console;
|
|
200
199
|
}
|
|
201
|
-
protoOf(ConsoleWriter).
|
|
202
|
-
var output = this.
|
|
200
|
+
protoOf(ConsoleWriter).i1t = function (severity, message, tag, throwable) {
|
|
201
|
+
var output = this.o1t_1.m1t(null, _Tag___init__impl__opaqzl(tag), _Message___init__impl__p3e8y6(message));
|
|
203
202
|
if (throwable == null)
|
|
204
203
|
null;
|
|
205
204
|
else {
|
|
@@ -207,32 +206,32 @@
|
|
|
207
206
|
// Inline function 'kotlin.contracts.contract' call
|
|
208
207
|
output = output + (' ' + stackTraceToString(throwable));
|
|
209
208
|
}
|
|
210
|
-
switch (severity.
|
|
209
|
+
switch (severity.p2_1) {
|
|
211
210
|
case 5:
|
|
212
211
|
case 4:
|
|
213
|
-
this.
|
|
212
|
+
this.p1t_1.q1t(output);
|
|
214
213
|
break;
|
|
215
214
|
case 3:
|
|
216
|
-
this.
|
|
215
|
+
this.p1t_1.r1t(output);
|
|
217
216
|
break;
|
|
218
217
|
case 2:
|
|
219
|
-
this.
|
|
218
|
+
this.p1t_1.s1t(output);
|
|
220
219
|
break;
|
|
221
220
|
case 1:
|
|
222
221
|
case 0:
|
|
223
|
-
this.
|
|
222
|
+
this.p1t_1.t1t(output);
|
|
224
223
|
break;
|
|
225
224
|
}
|
|
226
225
|
};
|
|
227
226
|
function JsMutableLoggerConfig(logWriters) {
|
|
228
|
-
this.
|
|
229
|
-
this.
|
|
227
|
+
this.u1t_1 = get_DEFAULT_MIN_SEVERITY();
|
|
228
|
+
this.v1t_1 = logWriters;
|
|
230
229
|
}
|
|
231
|
-
protoOf(JsMutableLoggerConfig).
|
|
232
|
-
return this.
|
|
230
|
+
protoOf(JsMutableLoggerConfig).w1t = function () {
|
|
231
|
+
return this.u1t_1;
|
|
233
232
|
};
|
|
234
|
-
protoOf(JsMutableLoggerConfig).
|
|
235
|
-
return this.
|
|
233
|
+
protoOf(JsMutableLoggerConfig).h1t = function () {
|
|
234
|
+
return this.v1t_1;
|
|
236
235
|
};
|
|
237
236
|
function mutableLoggerConfigInit(logWriters) {
|
|
238
237
|
return new JsMutableLoggerConfig(logWriters);
|
|
@@ -243,16 +242,16 @@
|
|
|
243
242
|
}
|
|
244
243
|
function ConsoleActual() {
|
|
245
244
|
}
|
|
246
|
-
protoOf(ConsoleActual).
|
|
245
|
+
protoOf(ConsoleActual).q1t = function (output) {
|
|
247
246
|
console.error(output);
|
|
248
247
|
};
|
|
249
|
-
protoOf(ConsoleActual).
|
|
248
|
+
protoOf(ConsoleActual).r1t = function (output) {
|
|
250
249
|
console.warn(output);
|
|
251
250
|
};
|
|
252
|
-
protoOf(ConsoleActual).
|
|
251
|
+
protoOf(ConsoleActual).s1t = function (output) {
|
|
253
252
|
console.info(output);
|
|
254
253
|
};
|
|
255
|
-
protoOf(ConsoleActual).
|
|
254
|
+
protoOf(ConsoleActual).t1t = function (output) {
|
|
256
255
|
console.log(output);
|
|
257
256
|
};
|
|
258
257
|
var ConsoleActual_instance;
|
|
@@ -260,9 +259,9 @@
|
|
|
260
259
|
return ConsoleActual_instance;
|
|
261
260
|
}
|
|
262
261
|
//region block: post-declaration
|
|
263
|
-
protoOf(DefaultFormatter).
|
|
264
|
-
protoOf(DefaultFormatter).
|
|
265
|
-
protoOf(DefaultFormatter).
|
|
262
|
+
protoOf(DefaultFormatter).k1t = formatSeverity;
|
|
263
|
+
protoOf(DefaultFormatter).l1t = formatTag;
|
|
264
|
+
protoOf(DefaultFormatter).m1t = formatMessage;
|
|
266
265
|
//endregion
|
|
267
266
|
//region block: init
|
|
268
267
|
DefaultFormatter_instance = new DefaultFormatter();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/commonMain/kotlin/co/touchlab/kermit/MessageStringFormatter.kt","src/kotlin/text/Strings.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/commonMain/kotlin/co/touchlab/kermit/BaseLogger.kt","common/src/generated/_Collections.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/commonMain/kotlin/co/touchlab/kermit/LogWriter.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/commonMain/kotlin/co/touchlab/kermit/Severity.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/jsAndWasmJsMain/kotlin/co/touchlab/kermit/ConsoleWriter.kt","src/kotlin/util/Standard.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/jsAndWasmJsMain/kotlin/co/touchlab/kermit/JsMutableLoggerConfig.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/jsAndWasmJsMain/kotlin/co/touchlab/kermit/KermitConfig.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/jsAndWasmJsMain/kotlin/co/touchlab/kermit/platformLogWriter.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/jsMain/kotlin/co/touchlab/kermit/Js.ConsoleActual.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null],"names":["formatSeverity","severity","formatTag","tag","formatMessage","message","sb","<get-DEFAULT_MIN_SEVERITY>","<init>","config","<get-config>","processLog","throwable","element","<init properties BaseLogger.kt>","isLoggable","<Tag__<init>-impl>","<Tag__<get-tag>-impl>","Tag__toString-impl","Tag__hashCode-impl","Tag__equals-impl","other","toString","hashCode","equals","<Message__<init>-impl>","<Message__<get-message>-impl>","ConsoleWriter_init_$Init$","messageStringFormatter","ConsoleWriter_init_$Create$","console","log","output","logWriters","<get-minSeverity>","<get-logWriterList>","mutableLoggerConfigInit","platformLogWriter","error","warn","info"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/commonMain/kotlin/co/touchlab/kermit/MessageStringFormatter.kt","src/kotlin/text/Strings.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/commonMain/kotlin/co/touchlab/kermit/BaseLogger.kt","common/src/generated/_Collections.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/commonMain/kotlin/co/touchlab/kermit/LogWriter.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/commonMain/kotlin/co/touchlab/kermit/Severity.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/jsAndWasmJsMain/kotlin/co/touchlab/kermit/ConsoleWriter.kt","src/kotlin/util/Standard.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/jsAndWasmJsMain/kotlin/co/touchlab/kermit/JsMutableLoggerConfig.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/jsAndWasmJsMain/kotlin/co/touchlab/kermit/KermitConfig.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/jsAndWasmJsMain/kotlin/co/touchlab/kermit/platformLogWriter.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/jsMain/kotlin/co/touchlab/kermit/Js.ConsoleActual.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null],"names":["formatSeverity","severity","formatTag","tag","formatMessage","message","sb","<get-DEFAULT_MIN_SEVERITY>","<init>","config","<get-config>","processLog","throwable","element","<init properties BaseLogger.kt>","isLoggable","<Tag__<init>-impl>","<Tag__<get-tag>-impl>","Tag__toString-impl","Tag__hashCode-impl","Tag__equals-impl","other","toString","hashCode","equals","<Message__<init>-impl>","<Message__<get-message>-impl>","ConsoleWriter_init_$Init$","messageStringFormatter","ConsoleWriter_init_$Create$","console","log","output","logWriters","<get-minSeverity>","<get-logWriterList>","mutableLoggerConfigInit","platformLogWriter","error","warn","info"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAoBIA,CAAmBC,QAAnBD,EAAyC;A,IAAY,OAAV,QAAU,cAAF,G;EAAC,C;oBACpDE,CAAcC,GAAdD,EAA0B;A,IAAc,OAAb,GAAa,GAAN,6BAAJ,GAAI,CAAM,GAAF,G;EAAC,C;wBACvCE,CAAkBH,Q,EAAqBE,G,EAAWE,OAAlDD,EAA4E;A;IAEpE,gBAAY,IAAZ,C;kBAAoB,G;YAAA,2CAAO,I;;YAAP,K;;IAAxB,Q;MACI,OAAe,qCAAR,OAAQ,C;QAEnBE,KAAS,6B;IACT,IAAI,cAAY,IAAZ,CAAJ,C,CAA0D;A,MAApC,EAAG,IAAO,SAAe,QAAf,CAAP,CAAiC,IAAQ,GAAR,C;;;gBACtD,G;IAAA,iDAAO,IAAP,E;;mBCY+C,6BAAJ,GAAI,C;cAuQJ,6BAAS,C;;cDnR7B,K;;IAA3B,U,CAAmE;A,MAA1B,EAAG,IAAO,SAAU,GAAV,CAAP,CAAuB,IAAQ,GAAR,C;;IACnE,EAAG,IAAe,qCAAR,OAAQ,CAAf,C;IAEH,OAAO,EAAG,W;EACd,C;;;;;;;;;mCE6CKC,CAAAA,EAAA;A;IAAA,2B;EAA0C,C;;qBA1D9CC,CACDC,MADCD,EADL;A,IAEI,mB;EAFJ,C;qCAESE,CAAAA,EAAA;A,IAAA,iB;EAAuB,C;qCA0C5BC,CACIV,Q,EACAE,G,EACAS,S,EACAP,OAJJM,EAKE;A;QCkwDc,gBA7vDW,UAAO,MA6vDlB,I;WAAA,iB,EAAhB;A,UAAKE,UAAW,iB;;MDhwDR,IAQ481D,OARr81D,KAAW,GAAX,EAAgB,QAAhB,CAAP,C,CAAkC;A,QAQ061D,OAPr81D,KAAI,QAAJ,EAAc,OAAd,EAAuB,GAAvB,EAA4B,SAA5B,C;MACP,C;IC8vD4B,C;ED5vDpC,C;;iDA1EJC,CAAAA,E;;;;;G;oBEmBSN,CAAAA,EAAT;A,EAAA,C;oCACSO,CAAeZ,G,EAAaF,QAA5Bc,EAA2D;A,IAAI,OAAJ,I;EAAG,C;;;2BJ6BvEP,CAAAA,EAAA;A,EAAA,C;;;;;oCAZMQ,CAAUb,GAAVa,E;IAAA,U;G;uCAAUC,CAAA,KAAAA,E;IAAA,Y;G;oCArChBC,CAAA,KAAAA,E;IAAA,+B;G;oCAAAC,CAAA,KAAAA,E;IAAA,+B;G;kCAAAC,CAAA,K,EAAAC,KAAAD,E;IAAA,4B;MAAA,Y;IAAA,oE;MAAA,Y;IAAA,W;G;cAqCMZ,CAAUL,GAAVK,E;IAAU,gB;G;mCArChBc,CAAAA,E;;G;mCAAAC,CAAAA,E;;G;iCAAAC,CAAAH,KAAAG,E;;G;wCAwCMC,CAAcpB,OAAdoB,E;IAAA,c;G;+CAAcC,CAAA,KAAAA,E;IAAA,Y;G;;;;;;;;;;;;;;;;;;;mBKzBflB,C,aAAAA,EAAL;A;EAAA,C;;;;;;;;;;;;;oCCMImB,CAAYC,sB,OAAZD,E;;IAAiF,0BAC7E,sBAD6E,yB;;G;sCAAjFE,CAAYD,sBAAZC,E;;G;wBAJyBrB,CACzBoB,sB,EACAE,OAFyBtB,EAA7B;A,IAGI,oB;IAFA,mC;IACA,oB;EAFJ,C;wCASauB,CAAQ9B,Q,EAAoBI,O,EAAiBF,G,EAAaS,SAA1DmB,EAAiF;A,QACtFC,SAAa,IAAuB,CAAvB,KAAuB,KAChC,IADgC,EAEhC,0BAAI,GAAJ,CAFgC,EAGhC,8BAAQ,OAAR,CAHgC,C;IAKzB,IAAX,SAAW,S;MAAA,I;;;;MCOZ,mBAAW,GAAX,GAAiB,mBDPhB,SCOgB,CAAjB,C;;IDJC,QAAM,QAAN,CAAM,IAAN,C;WACa,C;WAAiB,C;QAAS,IAAQ,CAAR,KAAQ,KAAM,MAAN,C;;WAClC,C;QAAQ,IAAQ,CAAR,KAAQ,KAAK,MAAL,C;;WAChB,C;QAAQ,IAAQ,CAAR,KAAQ,KAAK,MAAL,C;;WAChB,C;WAAgB,C;QAAW,IAAQ,CAAR,KAAQ,KAAI,MAAJ,C;;;EAEpD,C;gCE7BKxB,CAA4ByB,UAA5BzB,EAAT;A,IACyC,uC;IACS,uB;EAFlD,C;gDACa0B,CAAAA,EAAA;A,IAAA,iB;EAA+C,C;gDAC/CC,CAAAA,EAAA;A,IAAA,iB;EAA8C,C;kCCFpDC,CAA4BH,UAA5BG,EAAgF;A,IAAiC,OAAjC,0BAAsB,UAAtB,C;EAAgC,C;4BCAhHC,CAAsBT,sBAAtBS,EAAmF;A;IAAe,OAAf,6B;EAAc,C;wBCAxG7B,CAAAA,EAAA;A,EAAA,C;wCACa8B,CAAUN,MAAVM,EAA0B;A,IAC/B,OAAQ,OAAM,MAAN,C;EACZ,C;wCAESC,CAASP,MAATO,EAAyB;A,IAC9B,OAAQ,MAAK,MAAL,C;EACZ,C;wCAESC,CAASR,MAATQ,EAAyB;A,IAC9B,OAAQ,MAAK,MAAL,C;EACZ,C;wCAEST,CAAQC,MAARD,EAAwB;A,IAC7B,OAAQ,KAAI,MAAJ,C;EACZ,C;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/Kermit-kermit.js
CHANGED
|
@@ -1,47 +1,46 @@
|
|
|
1
|
-
(function (
|
|
1
|
+
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
3
|
define(['exports', './Kermit-kermit-core.js', './kotlin-kotlin-stdlib.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
5
|
factory(module.exports, require('./Kermit-kermit-core.js'), require('./kotlin-kotlin-stdlib.js'));
|
|
6
6
|
else {
|
|
7
|
-
if (typeof
|
|
7
|
+
if (typeof globalThis['Kermit-kermit-core'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'Kermit-kermit'. Its dependency 'Kermit-kermit-core' was not found. Please, check whether 'Kermit-kermit-core' is loaded prior to 'Kermit-kermit'.");
|
|
9
9
|
}
|
|
10
|
-
if (typeof
|
|
10
|
+
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
11
11
|
throw new Error("Error loading module 'Kermit-kermit'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'Kermit-kermit'.");
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
globalThis['Kermit-kermit'] = factory(typeof globalThis['Kermit-kermit'] === 'undefined' ? {} : globalThis['Kermit-kermit'], globalThis['Kermit-kermit-core'], globalThis['kotlin-kotlin-stdlib']);
|
|
14
14
|
}
|
|
15
|
-
}(
|
|
15
|
+
}(function (_, kotlin_co_touchlab_kermit_core, kotlin_kotlin) {
|
|
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.$_$.m4;
|
|
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
|
|
25
|
-
var setMetadataFor = kotlin_kotlin.$_$.u6;
|
|
22
|
+
var Unit_instance = kotlin_kotlin.$_$.n2;
|
|
23
|
+
var protoOf = kotlin_kotlin.$_$.d7;
|
|
24
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.p6;
|
|
26
25
|
var BaseLogger = kotlin_co_touchlab_kermit_core.$_$.a;
|
|
27
26
|
var VOID = kotlin_kotlin.$_$.d;
|
|
28
|
-
var
|
|
27
|
+
var initMetadataForClass = kotlin_kotlin.$_$.o6;
|
|
29
28
|
//endregion
|
|
30
29
|
//region block: pre-declaration
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
initMetadataForClass(Logger, 'Logger', VOID, BaseLogger);
|
|
31
|
+
initMetadataForCompanion(Companion, Logger);
|
|
33
32
|
//endregion
|
|
34
33
|
function Companion() {
|
|
35
34
|
Companion_instance = this;
|
|
36
35
|
Logger.call(this, mutableLoggerConfigInit(listOf(platformLogWriter())), '');
|
|
37
36
|
}
|
|
38
|
-
protoOf(Companion).
|
|
39
|
-
if (this.
|
|
37
|
+
protoOf(Companion).z1t = function (tag, throwable, message) {
|
|
38
|
+
if (this.f1t().w1t().s2(Severity_Error_getInstance()) <= 0) {
|
|
40
39
|
// Inline function 'co.touchlab.kermit.BaseLogger.log' call
|
|
41
40
|
var severity = Severity_Error_getInstance();
|
|
42
41
|
var message_0 = message();
|
|
43
|
-
if (this.
|
|
44
|
-
this.
|
|
42
|
+
if (this.f1t().w1t().s2(severity) <= 0) {
|
|
43
|
+
this.g1t(severity, tag, throwable, message_0);
|
|
45
44
|
}
|
|
46
45
|
}
|
|
47
46
|
};
|
|
@@ -55,7 +54,7 @@
|
|
|
55
54
|
Companion_getInstance();
|
|
56
55
|
tag = tag === VOID ? '' : tag;
|
|
57
56
|
BaseLogger.call(this, config);
|
|
58
|
-
this.
|
|
57
|
+
this.b1u_1 = tag;
|
|
59
58
|
}
|
|
60
59
|
var defaultTag;
|
|
61
60
|
//region block: init
|
package/Kermit-kermit.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit/src/commonMain/kotlin/co/touchlab/kermit/Logger.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/commonMain/kotlin/co/touchlab/kermit/BaseLogger.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit/src/jsAndWasmJsMain/kotlin/co/touchlab/kermit/Defaults.kt"],"sourcesContent":[null,null,null],"names":["<init>","e","tag","throwable","message","config"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit/src/commonMain/kotlin/co/touchlab/kermit/Logger.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit-core/src/commonMain/kotlin/co/touchlab/kermit/BaseLogger.kt","../../../../../../../../../../../../../Users/runner/work/Kermit/Kermit/kermit/src/jsAndWasmJsMain/kotlin/co/touchlab/kermit/Defaults.kt"],"sourcesContent":[null,null,null],"names":["<init>","e","tag","throwable","message","config"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA0FIA,CAAAA,EAAA;A;IACmB,kBAAO,wBAAwB,OAAO,mBAAP,CAAxB,CAAP,EAA6D,EAA7D,C;EADnB,C;oCA6CIC,CAAMC,G,EAAaC,S,EAA8BC,OAAjDH,EAAwE;A,IACpE,IAAI,UAAO,MAAP,sCAAJ,C;;;sBC1DwyF,S;MAzB5yF,IAyBwwF,IAzBpwF,MAAO,MAAP,IAAsB,QAAtB,MAAJ,C,CAAoC;A,QAyBouF,IAxBpwF,KACI,QADJ,EAwBwxF,GAxBxxF,EAwB6xF,SAxB7xF,EAII,SAJJ,C;MAMJ,C;;ED8EA,C;;;;;;;iBApHHD,CACDK,M,EACAH,GAFCF,EADL;A,IAAA,uB;yBAG2B,E;IACvB,sBAAW,MAAX,C;IADA,gB;EAHJ,C;;;eETyC,E;;;;;;;;"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
(function (
|
|
1
|
+
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
3
|
define(['exports'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
5
|
factory(module.exports);
|
|
6
6
|
else
|
|
7
|
-
|
|
8
|
-
}(
|
|
7
|
+
globalThis['KustomExport-lib-coroutines'] = factory(typeof globalThis['KustomExport-lib-coroutines'] === 'undefined' ? {} : globalThis['KustomExport-lib-coroutines']);
|
|
8
|
+
}(function (_) {
|
|
9
9
|
'use strict';
|
|
10
10
|
//region block: pre-declaration
|
|
11
11
|
//endregion
|
package/KustomExport-lib.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
(function (
|
|
1
|
+
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
3
|
define(['exports'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
5
|
factory(module.exports);
|
|
6
6
|
else
|
|
7
|
-
|
|
8
|
-
}(
|
|
7
|
+
globalThis['KustomExport-lib'] = factory(typeof globalThis['KustomExport-lib'] === 'undefined' ? {} : globalThis['KustomExport-lib']);
|
|
8
|
+
}(function (_) {
|
|
9
9
|
'use strict';
|
|
10
10
|
//region block: pre-declaration
|
|
11
11
|
//endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
(function (
|
|
1
|
+
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
3
|
define(['exports'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
5
|
factory(module.exports);
|
|
6
6
|
else
|
|
7
|
-
|
|
8
|
-
}(
|
|
7
|
+
globalThis['android-gto-support-gto-support-androidx-annotation'] = factory(typeof globalThis['android-gto-support-gto-support-androidx-annotation'] === 'undefined' ? {} : globalThis['android-gto-support-gto-support-androidx-annotation']);
|
|
8
|
+
}(function (_) {
|
|
9
9
|
'use strict';
|
|
10
10
|
//region block: pre-declaration
|
|
11
11
|
//endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
(function (
|
|
1
|
+
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
3
|
define(['exports'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
5
|
factory(module.exports);
|
|
6
6
|
else
|
|
7
|
-
|
|
8
|
-
}(
|
|
7
|
+
globalThis['android-gto-support-gto-support-fluidsonic-locale'] = factory(typeof globalThis['android-gto-support-gto-support-fluidsonic-locale'] === 'undefined' ? {} : globalThis['android-gto-support-gto-support-fluidsonic-locale']);
|
|
8
|
+
}(function (_) {
|
|
9
9
|
'use strict';
|
|
10
10
|
//region block: pre-declaration
|
|
11
11
|
//endregion
|