@codebards/ik-embeddable-form 0.0.2805157325-qa → 0.0.2809028997-qa

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/embed.js CHANGED
@@ -20250,6 +20250,7 @@ var IKEmbeddableFormBundle = function(exports) {
20250
20250
  function GqlSlotPickerStepForm({
20251
20251
  step,
20252
20252
  state,
20253
+ canGoBack,
20253
20254
  onNext,
20254
20255
  onBack,
20255
20256
  onSlotSelect
@@ -20315,11 +20316,11 @@ var IKEmbeddableFormBundle = function(exports) {
20315
20316
  role: "group",
20316
20317
  children: [
20317
20318
  /* @__PURE__ */ u$1(StepParagraph, { scope: step.id, name: "empty-title", class: "text-[16px] font-semibold text-ik-text-primary", children: "No slots available" }),
20318
- /* @__PURE__ */ u$1(StepParagraph, { scope: step.id, name: "empty-message", class: "text-sm text-[#354156]", children: "We could not load webinar slots. Please go back and try again." })
20319
+ /* @__PURE__ */ u$1(StepParagraph, { scope: step.id, name: "empty-message", class: "text-sm text-[#354156]", children: canGoBack ? "We could not load webinar slots. Please go back and try again." : "We could not load webinar slots. Please try again in a moment." })
20319
20320
  ]
20320
20321
  }
20321
20322
  ),
20322
- /* @__PURE__ */ u$1(
20323
+ canGoBack && /* @__PURE__ */ u$1(
20323
20324
  Button,
20324
20325
  {
20325
20326
  type: "button",
@@ -20381,7 +20382,7 @@ var IKEmbeddableFormBundle = function(exports) {
20381
20382
  }
20382
20383
  ),
20383
20384
  /* @__PURE__ */ u$1(FormStepActionsRegion, { scope: step.id, class: "ik-gql-action-row", children: [
20384
- /* @__PURE__ */ u$1(
20385
+ canGoBack && /* @__PURE__ */ u$1(
20385
20386
  "button",
20386
20387
  {
20387
20388
  type: "button",
@@ -21351,8 +21352,9 @@ var IKEmbeddableFormBundle = function(exports) {
21351
21352
  return;
21352
21353
  }
21353
21354
  if (cta.newTab) {
21354
- const tab = window.open(cta.href, "_blank", "noopener");
21355
+ const tab = window.open(cta.href, "_blank");
21355
21356
  if (tab) {
21357
+ tab.opener = null;
21356
21358
  onClose();
21357
21359
  return;
21358
21360
  }
@@ -21614,6 +21616,7 @@ var IKEmbeddableFormBundle = function(exports) {
21614
21616
  step,
21615
21617
  state,
21616
21618
  config,
21619
+ canGoBack,
21617
21620
  onNext,
21618
21621
  onBack: handleBack,
21619
21622
  onSlotSelect
@@ -23780,7 +23783,7 @@ ${leadMagnetStyles}`;
23780
23783
  unmountAll();
23781
23784
  },
23782
23785
  getVersion() {
23783
- return "1.0.43";
23786
+ return "1.0.44";
23784
23787
  }
23785
23788
  };
23786
23789
  if (typeof window !== "undefined") {
@@ -23836,7 +23839,7 @@ ${leadMagnetStyles}`;
23836
23839
  destroy();
23837
23840
  },
23838
23841
  getVersion() {
23839
- return "1.0.43";
23842
+ return "1.0.44";
23840
23843
  },
23841
23844
  /**
23842
23845
  * Allowlisted snapshot of everything the user has submitted so far.