@codebards/ik-embeddable-form 0.0.2720792320-qa → 0.0.2720839511-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
@@ -62,6 +62,7 @@ var IKEmbeddableFormBundle = function(exports) {
62
62
  "experience",
63
63
  "domain",
64
64
  "primaryGoal",
65
+ "topicOfInterest",
65
66
  "interviewTimeline",
66
67
  // goals-details
67
68
  "employmentStatus",
@@ -1742,6 +1743,8 @@ var IKEmbeddableFormBundle = function(exports) {
1742
1743
  experience: "gql_experience",
1743
1744
  domain: "gql_domain_role",
1744
1745
  primaryGoal: "gql_Your_Goal",
1746
+ /** From the WordPress markup's `id="career-goal"` — confirm against the live ClickID */
1747
+ topicOfInterest: "career-goal",
1745
1748
  employmentStatus: "gql_employment_status",
1746
1749
  workAuthorization: "gql_work_authorization",
1747
1750
  interviewTimeline: "gql_Start_Interviewing",
@@ -2751,6 +2754,24 @@ var IKEmbeddableFormBundle = function(exports) {
2751
2754
  },
2752
2755
  { value: "exploring", label: "Just exploring" }
2753
2756
  ];
2757
+ const GQL_TOPIC_OF_INTEREST_OPTIONS = [
2758
+ {
2759
+ value: "Use AI in current job",
2760
+ label: "Add AI skills to your current tech stack"
2761
+ },
2762
+ {
2763
+ value: "Switch to an AI career",
2764
+ label: "Learn Machine Learning & crack top tech roles"
2765
+ },
2766
+ {
2767
+ value: "Upskill in your role with Agentic AI and Gen AI",
2768
+ label: "Build enterprise-grade Agentic AI portfolio with PwC India"
2769
+ },
2770
+ {
2771
+ value: "Uplevel in my role",
2772
+ label: "Prepare for MAANG+ interviews"
2773
+ }
2774
+ ];
2754
2775
  const GQL_EMPLOYMENT_STATUS_OPTIONS = [
2755
2776
  { value: "Employed", label: "Employed" },
2756
2777
  { value: "Not currently employed", label: "Not currently employed" }
@@ -2878,6 +2899,8 @@ var IKEmbeddableFormBundle = function(exports) {
2878
2899
  "webinar-type": webinarType,
2879
2900
  "old-webinar-type": oldWebinarType,
2880
2901
  primary_goal: resolvePrimaryGoalForApi(str(formData.primaryGoal)),
2902
+ /** India-only field; empty string for variants that hide it */
2903
+ "Topic of Interest": str(formData.topicOfInterest),
2881
2904
  "Work Experience": normalizeExperienceForApi(experience),
2882
2905
  "Role Domain": resolveDomainForApi(str(formData.domain)),
2883
2906
  "Is Student": isStudent
@@ -20590,6 +20613,16 @@ var IKEmbeddableFormBundle = function(exports) {
20590
20613
  options: GQL_PRIMARY_GOAL_OPTIONS,
20591
20614
  validation: [{ type: "required", message: "Please select your current goal." }]
20592
20615
  },
20616
+ {
20617
+ // India-only — hidden via `show: false` in the other variants
20618
+ name: "topicOfInterest",
20619
+ type: "select",
20620
+ label: "Pick your next career move",
20621
+ placeholder: "Select option",
20622
+ colSpan: 2,
20623
+ options: GQL_TOPIC_OF_INTEREST_OPTIONS,
20624
+ validation: [{ type: "required", message: "Pick your next career move" }]
20625
+ },
20593
20626
  {
20594
20627
  name: "interviewTimeline",
20595
20628
  type: "select",
@@ -20685,7 +20718,8 @@ var IKEmbeddableFormBundle = function(exports) {
20685
20718
  steps: {
20686
20719
  "profile-details": {
20687
20720
  fields: {
20688
- interviewTimeline: { show: false }
20721
+ interviewTimeline: { show: false },
20722
+ topicOfInterest: { show: false }
20689
20723
  }
20690
20724
  }
20691
20725
  }
@@ -20755,7 +20789,9 @@ var IKEmbeddableFormBundle = function(exports) {
20755
20789
  fields: {
20756
20790
  primaryGoal: { show: false },
20757
20791
  experience: { options: INDIA_EXPERIENCE_OPTIONS },
20758
- domain: { options: INDIA_DOMAIN_OPTIONS }
20792
+ domain: { options: INDIA_DOMAIN_OPTIONS },
20793
+ topicOfInterest: { show: true },
20794
+ interviewTimeline: { show: false }
20759
20795
  }
20760
20796
  },
20761
20797
  "goals-details": { show: false }
@@ -20796,7 +20832,8 @@ var IKEmbeddableFormBundle = function(exports) {
20796
20832
  "slot-selection": { show: false },
20797
20833
  "profile-details": {
20798
20834
  fields: {
20799
- primaryGoal: { show: false }
20835
+ primaryGoal: { show: false },
20836
+ topicOfInterest: { show: false }
20800
20837
  }
20801
20838
  },
20802
20839
  "goals-details": { show: false }