@inappstory/slide-api 0.0.6 → 0.0.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/dist/index.cjs +6 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1749,10 +1749,8 @@ class WidgetDataInput extends WidgetBase {
|
|
|
1749
1749
|
this.setLocalData(this.localData, true);
|
|
1750
1750
|
this._statEventInputSave(text);
|
|
1751
1751
|
if (this.disableTimer) {
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
needResumeUITimer = false;
|
|
1755
|
-
}
|
|
1752
|
+
this.showNextSlide();
|
|
1753
|
+
needResumeUITimer = false;
|
|
1756
1754
|
}
|
|
1757
1755
|
}
|
|
1758
1756
|
if (needResumeUITimer && !this.disableTimer) {
|
|
@@ -4200,8 +4198,8 @@ class WidgetRate extends WidgetBase {
|
|
|
4200
4198
|
// 1-3 stars (default)
|
|
4201
4199
|
if (value + 1 >= this.showDialogueMin && value + 1 <= this.showDialogueMax) {
|
|
4202
4200
|
this.selectedStar = value;
|
|
4203
|
-
this._selectStar(this.selectedStar, false);
|
|
4204
4201
|
if (this.showDialogOnLowRate) {
|
|
4202
|
+
this._selectStar(this.selectedStar, false);
|
|
4205
4203
|
if (this.sdkApi.isAndroid) {
|
|
4206
4204
|
this.slide.classList.add("blured");
|
|
4207
4205
|
}
|
|
@@ -4233,6 +4231,7 @@ class WidgetRate extends WidgetBase {
|
|
|
4233
4231
|
}
|
|
4234
4232
|
}
|
|
4235
4233
|
else {
|
|
4234
|
+
this._selectStar(this.selectedStar, true);
|
|
4236
4235
|
this.completeWidget();
|
|
4237
4236
|
this._statEventRateUsAnswer("");
|
|
4238
4237
|
}
|
|
@@ -4246,7 +4245,7 @@ class WidgetRate extends WidgetBase {
|
|
|
4246
4245
|
else if (this.sdkApi.isIOS) {
|
|
4247
4246
|
target = getTagData(this.element, "appleLink");
|
|
4248
4247
|
}
|
|
4249
|
-
this._selectStar(value,
|
|
4248
|
+
this._selectStar(value, true);
|
|
4250
4249
|
this.completeWidget();
|
|
4251
4250
|
this._statEventRateUsAnswer("");
|
|
4252
4251
|
if (this.submitToStores && target) {
|
|
@@ -4254,7 +4253,7 @@ class WidgetRate extends WidgetBase {
|
|
|
4254
4253
|
}
|
|
4255
4254
|
}
|
|
4256
4255
|
else {
|
|
4257
|
-
this._selectStar(value,
|
|
4256
|
+
this._selectStar(value, true);
|
|
4258
4257
|
this.completeWidget();
|
|
4259
4258
|
this._statEventRateUsAnswer("");
|
|
4260
4259
|
}
|