surveysparrow-ionic-plugin 2.0.2-beta.3 → 2.0.2-beta.4
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/angular-ui/esm2022/spotchecks/SpotCheckComponent.mjs +9 -1
- package/dist/angular-ui/fesm2022/angular-ui.mjs +8 -0
- package/dist/angular-ui/fesm2022/angular-ui.mjs.map +1 -1
- package/dist/angular-ui/spotchecks/SpotCheckComponent.d.ts +1 -0
- package/dist/esm/angular-ui/lib/spotchecks/SpotCheckComponent.d.ts +1 -0
- package/dist/esm/angular-ui/lib/spotchecks/SpotCheckComponent.js +8 -0
- package/dist/esm/angular-ui/lib/spotchecks/SpotCheckComponent.js.map +1 -1
- package/dist/plugin.cjs.js +8 -0
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +8 -0
- package/dist/plugin.js.map +1 -1
- package/package.json +1 -1
- package/src/angular-ui/lib/spotchecks/SpotCheckComponent.ts +8 -0
package/dist/plugin.js
CHANGED
|
@@ -51692,7 +51692,12 @@ Please check that 1) the type for the parameter at index ${index} is correct and
|
|
|
51692
51692
|
this.isVisible = false;
|
|
51693
51693
|
this.isMiniCard = false;
|
|
51694
51694
|
this.stroke = 'black';
|
|
51695
|
+
this.isClosing = false;
|
|
51695
51696
|
this.onClick = async () => {
|
|
51697
|
+
if (this.isClosing) {
|
|
51698
|
+
return;
|
|
51699
|
+
}
|
|
51700
|
+
this.isClosing = true;
|
|
51696
51701
|
await closeSpotCheck();
|
|
51697
51702
|
handleSurveyEnd();
|
|
51698
51703
|
this.ngZone.run(() => {
|
|
@@ -51727,6 +51732,9 @@ Please check that 1) the type for the parameter at index ${index} is correct and
|
|
|
51727
51732
|
this.state.spotCheckType === 'chat'))));
|
|
51728
51733
|
this.isMiniCard = this.state.spotChecksMode === 'miniCard';
|
|
51729
51734
|
this.stroke = this.isMiniCard ? 'black' : ((_a = this.state.closeButtonStyle) === null || _a === void 0 ? void 0 : _a['ctaButton']) || 'black';
|
|
51735
|
+
if (this.isVisible) {
|
|
51736
|
+
this.isClosing = false;
|
|
51737
|
+
}
|
|
51730
51738
|
}
|
|
51731
51739
|
};
|
|
51732
51740
|
__decorate$1([
|