@magicfeedback/popup-sdk 1.8.0 → 1.8.1

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.
@@ -13,8 +13,9 @@ import {
13
13
  sdkError,
14
14
  sdkLog,
15
15
  sdkWarn,
16
+ setSurveyBusy,
16
17
  style_default
17
- } from "./chunk-XHR3MHJO.mjs";
18
+ } from "./chunk-AV2TTQXB.mjs";
18
19
 
19
20
  // node_modules/@magicfeedback/native/dist/magicfeedback-sdk.browser.js
20
21
  var require_magicfeedback_sdk_browser = __commonJS({
@@ -2999,6 +3000,7 @@ async function renderPopup(container, surveyId, productId, actions, emit, onClos
2999
3000
  revealTimer = setTimeout(reveal, REVEAL_TIMEOUT_MS);
3000
3001
  function setLoading(isLoading) {
3001
3002
  spinnerEl.style.display = isLoading ? "flex" : "none";
3003
+ setSurveyBusy(formWrapper, isLoading);
3002
3004
  if (!isLoading) {
3003
3005
  formHost.style.visibility = "visible";
3004
3006
  revealWhenPainted2();
@@ -3151,4 +3153,4 @@ export {
3151
3153
  SURVEY_ALIGNMENT_STYLE_ID,
3152
3154
  renderPopup
3153
3155
  };
3154
- //# sourceMappingURL=renderPopup-HTNVACFV.mjs.map
3156
+ //# sourceMappingURL=renderPopup-3CZ6WTXF.mjs.map