@codebards/ik-embeddable-form 0.0.2678648663-qa → 0.0.2679018970-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
@@ -1663,7 +1663,7 @@ var IKEmbeddableFormBundle = function(exports) {
1663
1663
  phone: "phone-input",
1664
1664
  experience: "gql_experience",
1665
1665
  domain: "gql_domain_role",
1666
- primaryGoal: "gql_Start_Interviewing",
1666
+ primaryGoal: "gql_Your_Goal",
1667
1667
  employmentStatus: "gql_employment_status",
1668
1668
  workAuthorization: "gql_work_authorization",
1669
1669
  interviewTimeline: "gql_Start_Interviewing",
@@ -1673,9 +1673,7 @@ var IKEmbeddableFormBundle = function(exports) {
1673
1673
  };
1674
1674
  const STEP_VIEW_CLICK_IDS = {
1675
1675
  "slot-selection": "webinar-modal_button_show-webinar-slots",
1676
- "profile-details": "Gql-form_button_gql-registration-step",
1677
- "goals-details": "Gql-form_button_gql-registration-step",
1678
- "consultation-prefs": "Gql-form_button_gql-registration-step"
1676
+ "consultation-prefs": "Gql-form-button_finish"
1679
1677
  };
1680
1678
  const WORDPRESS_BACK_CLICK_ID = "webinar-modal_button_go-back";
1681
1679
  function resolveFieldClickId(fieldName) {
@@ -1683,8 +1681,7 @@ var IKEmbeddableFormBundle = function(exports) {
1683
1681
  }
1684
1682
  const PROCEED_CLICK_IDS = {
1685
1683
  "contact-details": "webinar-modal_button_show-webinar-slots",
1686
- "slot-selection": "webinar-modal_button_confirm-webinar-slot",
1687
- "profile-details": "webinar-modal_button_show-profile-details",
1684
+ "slot-selection": "Webinar-modal_button_open-gql",
1688
1685
  "goals-details": "webinar-modal_button_show-goals-details",
1689
1686
  "consultation-prefs": "webinar-modal_button_finish-gql"
1690
1687
  };
@@ -2360,7 +2357,9 @@ var IKEmbeddableFormBundle = function(exports) {
2360
2357
  utm_campaign: String(data.utm_campaign ?? ""),
2361
2358
  GA_event_id: Number(gaEventId)
2362
2359
  });
2363
- await trackFormEventsActivity("gql", data, { stepId: "profile-details" });
2360
+ await trackFormEventsActivity("gql", data, {
2361
+ clickId: "Gql-form_button_gql-registration-step"
2362
+ });
2364
2363
  }
2365
2364
  if (step.onStepSuccess === "webinar-form-complete") {
2366
2365
  const data = this.enrichFormDataForApi();
@@ -20714,6 +20713,7 @@ var IKEmbeddableFormBundle = function(exports) {
20714
20713
  if (isInline) {
20715
20714
  hostElement.classList.add("ik-inline-root");
20716
20715
  }
20716
+ hostElement.addEventListener("click", (event) => event.stopPropagation());
20717
20717
  mountParent.appendChild(hostElement);
20718
20718
  currentMountParent = mountParent;
20719
20719
  shadowRoot = hostElement.attachShadow({ mode: "open" });
@@ -20819,7 +20819,7 @@ ${intlTelStyles}`;
20819
20819
  destroy();
20820
20820
  },
20821
20821
  getVersion() {
20822
- return "1.0.24";
20822
+ return "1.0.26";
20823
20823
  }
20824
20824
  };
20825
20825
  if (typeof window !== "undefined") {