@unvired/turboforms-embed-sdk 2.0.59 → 2.0.60

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.
@@ -39009,11 +39009,11 @@ async function loadTRform(
39009
39009
  if (sdkLoader) {
39010
39010
  logger.info("[TF_SDK:312] ✅ Loader found, hiding...");
39011
39011
  sdkLoader.classList.add("hidden");
39012
- document.querySelectorAll('.tf-form-loading').forEach(el => el.classList.remove('tf-form-loading'));
39013
39012
  logger.info("[TF_SDK:313] ✅ Loader hidden");
39014
39013
  } else {
39015
39014
  logger.warn("[TF_SDK:314] ✅ Loader element not found");
39016
39015
  }
39016
+ document.querySelectorAll('.tf-form-loading').forEach(el => el.classList.remove('tf-form-loading'));
39017
39017
 
39018
39018
  // Dispatch custom event
39019
39019
  logger.info("[TF_SDK:315] ✅ Dispatching FormRenderingComplete event...");
@@ -41474,7 +41474,7 @@ initThemeHook();
41474
41474
  </div>
41475
41475
 
41476
41476
  <div id="sticky-footer">
41477
- <div class="build-version">SDK v2.0.59</div>
41477
+ <div class="build-version">SDK v2.0.60</div>
41478
41478
 
41479
41479
  <button class="footer-btn footer-btn-secondary" id="prevBtn" style="display:none" onclick="FormOnPrevious()">
41480
41480
  <i class="bi bi-chevron-left"></i> Previous
@@ -41962,6 +41962,9 @@ initThemeHook();
41962
41962
 
41963
41963
  if (showLoader && sdkLoader) {
41964
41964
  sdkLoader.classList.remove('hidden');
41965
+ } else {
41966
+ if (sdkLoader) sdkLoader.classList.add('hidden');
41967
+ document.querySelectorAll('.tf-form-loading').forEach(el => el.classList.remove('tf-form-loading'));
41965
41968
  }
41966
41969
 
41967
41970
  if (language) window.FORMIO_LANGUAGE = language;