@cruglobal/godtools-shared 1.1.1-SNAPSHOT.1644 → 1.1.1-SNAPSHOT.1645
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 +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +37 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +1 -0
- package/kotlinx-coroutines-core.js +7 -7
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
initMetadataForCompanion(Companion_55);
|
|
496
496
|
initMetadataForClass(Modal, 'Modal', VOID, BaseModel, [BaseModel, Parent, Styles]);
|
|
497
497
|
initMetadataForCompanion(Companion_56);
|
|
498
|
-
initMetadataForClass(Card_1, 'Card',
|
|
498
|
+
initMetadataForClass(Card_1, 'Card', createTestCard, BaseModel, [BaseModel, Styles, Parent, HasAnalyticsEvents]);
|
|
499
499
|
initMetadataForClass(TractPage, 'TractPage', createTestTractPage, Page);
|
|
500
500
|
initMetadataForLambda(FlowWatcher$Companion$watchIn$slambda, CoroutineImpl, VOID, [1]);
|
|
501
501
|
initMetadataForCompanion(Companion_57);
|
|
@@ -9781,6 +9781,41 @@
|
|
|
9781
9781
|
function Card_init_$Create$_1(page, position, parser) {
|
|
9782
9782
|
return Card_init_$Init$_1(page, position, parser, objectCreate(protoOf(Card_1)));
|
|
9783
9783
|
}
|
|
9784
|
+
function Card_init_$Init$_2(page, position, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, isHidden, analyticsEvents, label, content, $this) {
|
|
9785
|
+
page = page === VOID ? createTestTractPage() : page;
|
|
9786
|
+
position = position === VOID ? 0 : position;
|
|
9787
|
+
backgroundColor = backgroundColor === VOID ? null : backgroundColor;
|
|
9788
|
+
backgroundImage = backgroundImage === VOID ? null : backgroundImage;
|
|
9789
|
+
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_59().d48_1 : backgroundImageGravity;
|
|
9790
|
+
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_59().c48_1 : backgroundImageScaleType;
|
|
9791
|
+
isHidden = isHidden === VOID ? false : isHidden;
|
|
9792
|
+
analyticsEvents = analyticsEvents === VOID ? emptyList() : analyticsEvents;
|
|
9793
|
+
label = label === VOID ? null : label;
|
|
9794
|
+
content = content === VOID ? null : content;
|
|
9795
|
+
BaseModel.call($this, page);
|
|
9796
|
+
Card_1.call($this);
|
|
9797
|
+
$this.page = page;
|
|
9798
|
+
$this.position = position;
|
|
9799
|
+
$this.isHidden = isHidden;
|
|
9800
|
+
$this._listeners = emptySet();
|
|
9801
|
+
$this._dismissListeners = emptySet();
|
|
9802
|
+
$this.m48_1 = analyticsEvents;
|
|
9803
|
+
$this.f48_1 = backgroundColor;
|
|
9804
|
+
$this.g48_1 = backgroundImage;
|
|
9805
|
+
$this.h48_1 = backgroundImageGravity;
|
|
9806
|
+
$this.i48_1 = backgroundImageScaleType;
|
|
9807
|
+
$this.j48_1 = null;
|
|
9808
|
+
var tmp = $this;
|
|
9809
|
+
tmp.label = label == null ? null : label(_get_labelParent__664ln7($this));
|
|
9810
|
+
var tmp_0 = $this;
|
|
9811
|
+
// Inline function 'kotlin.collections.orEmpty' call
|
|
9812
|
+
var tmp0_elvis_lhs = content == null ? null : content($this);
|
|
9813
|
+
tmp_0.l48_1 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
9814
|
+
return $this;
|
|
9815
|
+
}
|
|
9816
|
+
function createTestCard(page, position, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, isHidden, analyticsEvents, label, content) {
|
|
9817
|
+
return Card_init_$Init$_2(page, position, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, isHidden, analyticsEvents, label, content, objectCreate(protoOf(Card_1)));
|
|
9818
|
+
}
|
|
9784
9819
|
function TractPage$Card$labelParent$delegate$lambda$lambda(this$0) {
|
|
9785
9820
|
return function () {
|
|
9786
9821
|
return this$0.x3i();
|
|
@@ -11445,6 +11480,7 @@
|
|
|
11445
11480
|
$org$cru$godtools$shared$tool$parser$model$tract.TractPage = TractPage;
|
|
11446
11481
|
$org$cru$godtools$shared$tool$parser$model$tract.TractPage.createTestTractPage = createTestTractPage;
|
|
11447
11482
|
$org$cru$godtools$shared$tool$parser$model$tract.TractPage.Card = Card_1;
|
|
11483
|
+
$org$cru$godtools$shared$tool$parser$model$tract.TractPage.Card.createTestCard = createTestCard;
|
|
11448
11484
|
var $org = _.org || (_.org = {});
|
|
11449
11485
|
var $org$cru = $org.cru || ($org.cru = {});
|
|
11450
11486
|
var $org$cru$godtools = $org$cru.godtools || ($org$cru.godtools = {});
|