@codebards/ik-embeddable-form 0.0.2720792320-qa → 0.0.2721229331-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 +42 -4
- package/dist/embed.js.map +1 -1
- package/dist/form-variants/masterclass.json +5 -0
- package/package.json +1 -1
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,13 +20718,15 @@ 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
|
}
|
|
20692
20726
|
}
|
|
20693
20727
|
};
|
|
20694
20728
|
const INDIA_EXPERIENCE_OPTIONS = [
|
|
20729
|
+
{ value: "I’m currently a student", label: "I’m currently a student" },
|
|
20695
20730
|
{ value: "0-2", label: "0-2" },
|
|
20696
20731
|
{ value: "3-4", label: "3-4" },
|
|
20697
20732
|
{ value: "5-8", label: "5-8" },
|
|
@@ -20755,7 +20790,9 @@ var IKEmbeddableFormBundle = function(exports) {
|
|
|
20755
20790
|
fields: {
|
|
20756
20791
|
primaryGoal: { show: false },
|
|
20757
20792
|
experience: { options: INDIA_EXPERIENCE_OPTIONS },
|
|
20758
|
-
domain: { options: INDIA_DOMAIN_OPTIONS }
|
|
20793
|
+
domain: { options: INDIA_DOMAIN_OPTIONS },
|
|
20794
|
+
topicOfInterest: { show: true },
|
|
20795
|
+
interviewTimeline: { show: false }
|
|
20759
20796
|
}
|
|
20760
20797
|
},
|
|
20761
20798
|
"goals-details": { show: false }
|
|
@@ -20796,7 +20833,8 @@ var IKEmbeddableFormBundle = function(exports) {
|
|
|
20796
20833
|
"slot-selection": { show: false },
|
|
20797
20834
|
"profile-details": {
|
|
20798
20835
|
fields: {
|
|
20799
|
-
primaryGoal: { show: false }
|
|
20836
|
+
primaryGoal: { show: false },
|
|
20837
|
+
topicOfInterest: { show: false }
|
|
20800
20838
|
}
|
|
20801
20839
|
},
|
|
20802
20840
|
"goals-details": { show: false }
|
|
@@ -21008,7 +21046,7 @@ ${intlTelStyles}`;
|
|
|
21008
21046
|
destroy();
|
|
21009
21047
|
},
|
|
21010
21048
|
getVersion() {
|
|
21011
|
-
return "1.0.
|
|
21049
|
+
return "1.0.32";
|
|
21012
21050
|
},
|
|
21013
21051
|
/**
|
|
21014
21052
|
* Allowlisted snapshot of everything the user has submitted so far.
|