@cruglobal/godtools-shared 1.2.0-PR799-SNAPSHOT.1764 → 1.2.0-PR799-SNAPSHOT.1765
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-kotlin-stdlib.js +5 -5
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +17 -18
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -184,10 +184,10 @@
|
|
|
184
184
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
185
185
|
var removeFirst = kotlin_kotlin.$_$.n4;
|
|
186
186
|
var Exception_init_$Init$_0 = kotlin_kotlin.$_$.y;
|
|
187
|
-
var RenderCondition_ALWAYS_getInstance = kotlin_colormath_root_colormath.$_$.c;
|
|
188
|
-
var formatCssString = kotlin_colormath_root_colormath.$_$.a;
|
|
189
187
|
var Companion_instance = kotlin_colormath_root_colormath.$_$.e;
|
|
190
188
|
var parse = kotlin_colormath_root_colormath.$_$.b;
|
|
189
|
+
var RenderCondition_ALWAYS_getInstance = kotlin_colormath_root_colormath.$_$.c;
|
|
190
|
+
var formatCssString = kotlin_colormath_root_colormath.$_$.a;
|
|
191
191
|
var await_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
|
|
192
192
|
//endregion
|
|
193
193
|
//region block: pre-declaration
|
|
@@ -1994,7 +1994,7 @@
|
|
|
1994
1994
|
this.r3f_1 = 'button';
|
|
1995
1995
|
this.s3f_1 = Horizontal_CENTER_getInstance();
|
|
1996
1996
|
this.t3f_1 = new Percent(1.0);
|
|
1997
|
-
this.u3f_1 =
|
|
1997
|
+
this.u3f_1 = get_TRANSPARENT();
|
|
1998
1998
|
this.v3f_1 = Horizontal_START_getInstance();
|
|
1999
1999
|
this.w3f_1 = 18;
|
|
2000
2000
|
}
|
|
@@ -2073,25 +2073,24 @@
|
|
|
2073
2073
|
tmp_6.g3g_1 = tmp6_safe_receiver == null ? null : toPlatformColor(tmp6_safe_receiver);
|
|
2074
2074
|
var tmp_7 = $this;
|
|
2075
2075
|
var tmp7_safe_receiver = parser.d3d('background-color');
|
|
2076
|
-
var
|
|
2077
|
-
|
|
2078
|
-
tmp_7.backgroundColor = tmp9_elvis_lhs == null ? Companion_getInstance_11().u3f_1 : tmp9_elvis_lhs;
|
|
2076
|
+
var tmp8_elvis_lhs = tmp7_safe_receiver == null ? null : toColorOrNull(tmp7_safe_receiver);
|
|
2077
|
+
tmp_7.backgroundColor = tmp8_elvis_lhs == null ? Companion_getInstance_11().u3f_1 : tmp8_elvis_lhs;
|
|
2079
2078
|
$this.h3g_1 = parser.d3d('icon');
|
|
2080
2079
|
var tmp_8 = $this;
|
|
2081
|
-
var
|
|
2082
|
-
var
|
|
2083
|
-
tmp_8.iconGravity =
|
|
2080
|
+
var tmp9_safe_receiver = Companion_getInstance_22().k3g(parser.d3d('icon-gravity'));
|
|
2081
|
+
var tmp10_elvis_lhs = tmp9_safe_receiver == null ? null : tmp9_safe_receiver.horizontal;
|
|
2082
|
+
tmp_8.iconGravity = tmp10_elvis_lhs == null ? Companion_getInstance_11().v3f_1 : tmp10_elvis_lhs;
|
|
2084
2083
|
var tmp_9 = $this;
|
|
2085
|
-
var
|
|
2086
|
-
var
|
|
2087
|
-
tmp_9.iconSize =
|
|
2084
|
+
var tmp11_safe_receiver = parser.d3d('icon-size');
|
|
2085
|
+
var tmp12_elvis_lhs = tmp11_safe_receiver == null ? null : toIntOrNull(tmp11_safe_receiver);
|
|
2086
|
+
tmp_9.iconSize = tmp12_elvis_lhs == null ? 18 : tmp12_elvis_lhs;
|
|
2088
2087
|
var tmp_10 = $this;
|
|
2089
2088
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
2090
2089
|
tmp_10.j3g_1 = ArrayList_init_$Create$();
|
|
2091
2090
|
var tmp_11 = $this;
|
|
2092
2091
|
var tmp_12 = _get_defaultTextStyles__fjozb5($this);
|
|
2093
|
-
var
|
|
2094
|
-
tmp_11.text =
|
|
2092
|
+
var tmp13_elvis_lhs = parseTextChild(parser, tmp_12, 'https://mobile-content-api.cru.org/xmlns/content', 'button', Button$_init_$lambda_iw8cbr(parser, $this));
|
|
2093
|
+
tmp_11.text = tmp13_elvis_lhs == null ? createTestText(_get_defaultTextStyles__fjozb5($this)) : tmp13_elvis_lhs;
|
|
2095
2094
|
return $this;
|
|
2096
2095
|
}
|
|
2097
2096
|
function Button_init_$Create$(parent, parser) {
|
|
@@ -5370,7 +5369,7 @@
|
|
|
5370
5369
|
};
|
|
5371
5370
|
protoOf(Manifest).h3q = function () {
|
|
5372
5371
|
var tmp0_elvis_lhs = this.e3e_1;
|
|
5373
|
-
return tmp0_elvis_lhs == null ? this.type.equals(Type_LESSON_getInstance()) ? this.b3e_1 : this.c3e_1 : tmp0_elvis_lhs;
|
|
5372
|
+
return tmp0_elvis_lhs == null ? this.type.equals(Type_LESSON_getInstance()) ? this.b3e_1 : toPlatformColor(this.c3e_1) : tmp0_elvis_lhs;
|
|
5374
5373
|
};
|
|
5375
5374
|
protoOf(Manifest).i3q = function () {
|
|
5376
5375
|
return this.f3e_1;
|
|
@@ -10372,14 +10371,14 @@
|
|
|
10372
10371
|
function get_DEFAULT(_this__u8e3s4) {
|
|
10373
10372
|
return DeviceType_WEB_getInstance();
|
|
10374
10373
|
}
|
|
10374
|
+
function toRGB(_this__u8e3s4) {
|
|
10375
|
+
return parse(Companion_instance, _this__u8e3s4).f1n();
|
|
10376
|
+
}
|
|
10375
10377
|
function toPlatformColor(_this__u8e3s4) {
|
|
10376
10378
|
var tmp0_$receiver = _this__u8e3s4.f1n();
|
|
10377
10379
|
var tmp1_renderAlpha = RenderCondition_ALWAYS_getInstance();
|
|
10378
10380
|
return formatCssString(tmp0_$receiver, VOID, tmp1_renderAlpha, VOID, VOID, true, true);
|
|
10379
10381
|
}
|
|
10380
|
-
function toRGB(_this__u8e3s4) {
|
|
10381
|
-
return parse(Companion_instance, _this__u8e3s4).f1n();
|
|
10382
|
-
}
|
|
10383
10382
|
function get_SAX_OPTIONS() {
|
|
10384
10383
|
_init_properties_JsXmlPullParser_kt__2zt5j4();
|
|
10385
10384
|
return SAX_OPTIONS;
|