@feathery/react 2.41.0 → 2.42.0
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/cjs/Form/index.d.ts.map +1 -1
- package/cjs/elements/basic/ProgressBarElement/components/StepperBar.d.ts.map +1 -1
- package/cjs/elements/basic/ProgressBarElement/index.d.ts +1 -1
- package/cjs/elements/basic/ProgressBarElement/index.d.ts.map +1 -1
- package/cjs/{fthry_AssistantChat.ZStzPnR-.js → fthry_AssistantChat.BOyDRP1t.js} +4 -4
- package/cjs/{fthry_FormControl.DyIaD_oy.js → fthry_FormControl.ChDphBiw.js} +1 -1
- package/cjs/{fthry_InlineTooltip.uDegsH9E.js → fthry_InlineTooltip.Ddh8_6aY.js} +2 -2
- package/cjs/{fthry_Overlay.CUcDMC-q.js → fthry_Overlay.Bd1qiy6-.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.sRwR5_61.js → fthry_PaymentMethodField.DmbR79FW.js} +4 -4
- package/cjs/{fthry_Placeholder.BMypFtTl.js → fthry_Placeholder.BZUp2I1J.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.BkGAa4Ku.js → fthry_ShowEyeIcon.D9DLoHqI.js} +1 -1
- package/cjs/{fthry_highlighted-body-TPN3WLV5.BoFXEr9N.js → fthry_highlighted-body-TPN3WLV5.W8KTEXCF.js} +3 -3
- package/cjs/{fthry_index.Jpj4Glh5.js → fthry_index.B4iCcGUt.js} +6 -6
- package/cjs/{fthry_index.C4KmumGc.js → fthry_index.B8IGhOnl.js} +8 -8
- package/cjs/{fthry_index.ClmLN_OD.js → fthry_index.BEwwo45U.js} +3 -3
- package/cjs/{fthry_index.BOC9Xno9.js → fthry_index.BJAzpvPO.js} +4 -4
- package/cjs/{fthry_index.B9l-Z_I7.js → fthry_index.BcSPIfHw.js} +1 -1
- package/cjs/{fthry_index.792DnHfR.js → fthry_index.Bcl3u2bt.js} +6 -6
- package/cjs/{fthry_index.1oEFyAGP.js → fthry_index.C3bArUa4.js} +5 -5
- package/cjs/{fthry_index.BZV0QImG.js → fthry_index.CW5rWtuZ.js} +5 -5
- package/cjs/{fthry_index.CErEr18j.js → fthry_index.C_KCwy5K.js} +6 -6
- package/cjs/{fthry_index.C5nqE8kC.js → fthry_index.Cts348D4.js} +161 -52
- package/cjs/{fthry_index.OWnm3N9F.js → fthry_index.DJzIqovs.js} +1 -1
- package/cjs/{fthry_index.BKVCeI8M.js → fthry_index.DMa8KL_d.js} +1 -1
- package/cjs/{fthry_index.BfKMhDL9.js → fthry_index.DNNK_WNB.js} +1 -1
- package/cjs/{fthry_index.CuRipLlH.js → fthry_index.DQ3tM-b4.js} +1 -1
- package/cjs/{fthry_index.x3euiywy.js → fthry_index.DcZhokGw.js} +2 -2
- package/cjs/{fthry_index.y4tmJzGh.js → fthry_index.DjWcky2z.js} +1 -1
- package/cjs/{fthry_index.ZMlNlPA3.js → fthry_index.DzpicfAn.js} +3 -3
- package/cjs/{fthry_index.BrR9-bMa.js → fthry_index.JJYyApby.js} +5 -5
- package/cjs/{fthry_index.B-UU8i3N.js → fthry_index.LPXprTDf.js} +4 -4
- package/cjs/{fthry_index.DeDGU7A8.js → fthry_index.VXMfU8Ig.js} +5 -5
- package/cjs/{fthry_index.CmrAr3T2.js → fthry_index.Wf6EoIZb.js} +1 -1
- package/cjs/{fthry_index.Di7Giv3P.js → fthry_index.aU4Q-Vhi.js} +1 -1
- package/cjs/{fthry_index.C-vFVU2N.js → fthry_index.l6iPtqf7.js} +2 -2
- package/cjs/{fthry_index.BZsqfLAY.js → fthry_index.pmG3XerW.js} +6 -6
- package/cjs/{fthry_index.CewNeOjM.js → fthry_index.pqZR4gSb.js} +1 -1
- package/cjs/{fthry_input.CaZ_ApZk.js → fthry_input.C3lHXfth.js} +1 -1
- package/cjs/{fthry_mermaid-O7DHMXV3.mRK63yr_.js → fthry_mermaid-O7DHMXV3.BODsiYW_.js} +3 -3
- package/cjs/{fthry_script.hfuKeX0M.js → fthry_script.C70Bm3qk.js} +1 -1
- package/cjs/{fthry_styles.Cwk2sjQL.js → fthry_styles.BLUeHaH3.js} +1 -1
- package/cjs/{fthry_useElementSize.C3TLx2VP.js → fthry_useElementSize.B4RuT8C5.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.CnbWPLV2.js → fthry_useSalesforceSync.CNNAgWe2.js} +1 -1
- package/cjs/{fthry_webfontloader.BLyUiSYA.js → fthry_webfontloader.CJNW-DFS.js} +1 -1
- package/cjs/index.js +1 -1
- package/cjs/utils/featheryClient/index.d.ts +1 -0
- package/cjs/utils/featheryClient/index.d.ts.map +1 -1
- package/cjs/utils/featheryClient/integrationClient.d.ts +1 -1
- package/cjs/utils/featheryClient/integrationClient.d.ts.map +1 -1
- package/cjs/utils/fieldHelperFunctions.d.ts +1 -1
- package/cjs/utils/fieldHelperFunctions.d.ts.map +1 -1
- package/cjs/utils/init.d.ts +6 -1
- package/cjs/utils/init.d.ts.map +1 -1
- package/cjs/utils/internalState.d.ts +16 -1
- package/cjs/utils/internalState.d.ts.map +1 -1
- package/dist/Form/index.d.ts.map +1 -1
- package/dist/elements/basic/ProgressBarElement/components/StepperBar.d.ts.map +1 -1
- package/dist/elements/basic/ProgressBarElement/index.d.ts +1 -1
- package/dist/elements/basic/ProgressBarElement/index.d.ts.map +1 -1
- package/dist/{fthry_AssistantChat.BuRxZIgB.js → fthry_AssistantChat.HxV8LV1W.js} +4 -4
- package/dist/{fthry_FormControl.BHer-tLb.js → fthry_FormControl.CnYezAfl.js} +1 -1
- package/dist/{fthry_InlineTooltip.f3x8nQox.js → fthry_InlineTooltip.bROBNZ_Z.js} +2 -2
- package/dist/{fthry_Overlay.CRG8vJk1.js → fthry_Overlay.c1qlB9ct.js} +1 -1
- package/dist/{fthry_PaymentMethodField.PwUhO-uR.js → fthry_PaymentMethodField.t7Dvi81Y.js} +4 -4
- package/dist/{fthry_Placeholder.C9-QE3Fn.js → fthry_Placeholder.BH2h6ybj.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.iJEStsbc.js → fthry_ShowEyeIcon.BRmzNxYQ.js} +1 -1
- package/dist/{fthry_highlighted-body-TPN3WLV5.DjJlbwHG.js → fthry_highlighted-body-TPN3WLV5.VbtSFmzn.js} +3 -3
- package/dist/{fthry_index.PyoWaCZ6.js → fthry_index.BCEtAYB2.js} +1 -1
- package/dist/{fthry_index.C1zVJ3Wf.js → fthry_index.BU1tBfl4.js} +6 -6
- package/dist/{fthry_index.C506fLTN.js → fthry_index.BXQYUbtj.js} +4 -4
- package/dist/{fthry_index.DNZw4sNY.js → fthry_index.BabA9Mw-.js} +5 -5
- package/dist/{fthry_index.Cxgu56Xt.js → fthry_index.BwtbJAEO.js} +5 -5
- package/dist/{fthry_index.m2htvwhf.js → fthry_index.C3ADr7W7.js} +3 -3
- package/dist/{fthry_index.DRf21FOT.js → fthry_index.C3UMQKv8.js} +5 -5
- package/dist/{fthry_index.Din0z99q.js → fthry_index.CI2e6tdr.js} +5 -5
- package/dist/{fthry_index.CWHjYPzF.js → fthry_index.CNnWO_IQ.js} +2 -2
- package/dist/{fthry_index.HeX_lYBZ.js → fthry_index.CTKKbjOj.js} +5 -5
- package/dist/{fthry_index.pHCTO9d-.js → fthry_index.Cni5qhKo.js} +4 -4
- package/dist/{fthry_index.CKvp6HuY.js → fthry_index.CrDUdmXr.js} +1 -1
- package/dist/{fthry_index.xs4pBnbE.js → fthry_index.D3YVIQwB.js} +8 -8
- package/dist/{fthry_index.CpkJbhj2.js → fthry_index.D703JOs7.js} +3 -3
- package/dist/{fthry_index.D97WdEJD.js → fthry_index.D9AlZz3i.js} +6 -6
- package/dist/{fthry_index.CJFSHzAe.js → fthry_index.DDOGQlw5.js} +1 -1
- package/dist/{fthry_index.CqLl_Dj_.js → fthry_index.DO15Hx14.js} +2 -2
- package/dist/{fthry_index.kMe5pAne.js → fthry_index.DObbQIll.js} +1 -1
- package/dist/{fthry_index.DyPvHHnZ.js → fthry_index.DXdUdmGQ.js} +1 -1
- package/dist/{fthry_index.c25IqSX6.js → fthry_index.DjOqKkBq.js} +1 -1
- package/dist/{fthry_index.zI-Q4p5L.js → fthry_index.DkcH8BMq.js} +1 -1
- package/dist/{fthry_index.D88l_RDZ.js → fthry_index.IiZ-zUFp.js} +6 -6
- package/dist/{fthry_index.GsLrKjfr.js → fthry_index._5bwnWsa.js} +162 -53
- package/dist/{fthry_index.C7BrODdJ.js → fthry_index.fobb7KRG.js} +1 -1
- package/dist/{fthry_index.BrUrpkIy.js → fthry_index.vtPqJ0XE.js} +1 -1
- package/dist/{fthry_input.DVSbIwMV.js → fthry_input.DNaXMuMS.js} +1 -1
- package/dist/{fthry_mermaid-O7DHMXV3.fc5fAcxr.js → fthry_mermaid-O7DHMXV3.WhXC51ol.js} +3 -3
- package/dist/{fthry_script.CK8ajvJd.js → fthry_script.Bqz_se84.js} +1 -1
- package/dist/{fthry_styles.9Pz3F8Ry.js → fthry_styles.DMI6ijBl.js} +1 -1
- package/dist/{fthry_useElementSize.DUGbDlSz.js → fthry_useElementSize.BcPjULOb.js} +1 -1
- package/dist/{fthry_useSalesforceSync.73AbGgFc.js → fthry_useSalesforceSync.lJhIijY2.js} +1 -1
- package/dist/{fthry_webfontloader.DESOOCJe.js → fthry_webfontloader.B0wgjWSB.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/featheryClient/index.d.ts +1 -0
- package/dist/utils/featheryClient/index.d.ts.map +1 -1
- package/dist/utils/featheryClient/integrationClient.d.ts +1 -1
- package/dist/utils/featheryClient/integrationClient.d.ts.map +1 -1
- package/dist/utils/fieldHelperFunctions.d.ts +1 -1
- package/dist/utils/fieldHelperFunctions.d.ts.map +1 -1
- package/dist/utils/init.d.ts +6 -1
- package/dist/utils/init.d.ts.map +1 -1
- package/dist/utils/internalState.d.ts +16 -1
- package/dist/utils/internalState.d.ts.map +1 -1
- package/package.json +1 -1
- package/umd/index.js +1 -1
|
@@ -9235,7 +9235,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
9235
9235
|
};
|
|
9236
9236
|
IntegrationClient.prototype.sendDocusignEnvelope = function (_a) {
|
|
9237
9237
|
var _this = this;
|
|
9238
|
-
var documents = _a.documents, fillData = _a.fillData, emailSubject = _a.emailSubject, emailBlurb = _a.emailBlurb, signers = _a.signers, existingEnvelopeId = _a.existingEnvelopeId;
|
|
9238
|
+
var documents = _a.documents, libraryDocuments = _a.libraryDocuments, fillData = _a.fillData, emailSubject = _a.emailSubject, emailBlurb = _a.emailBlurb, signers = _a.signers, existingEnvelopeId = _a.existingEnvelopeId;
|
|
9239
9239
|
var userId = initInfo().userId;
|
|
9240
9240
|
var url = "".concat(API_URL, "docusign/envelope/");
|
|
9241
9241
|
var options = {
|
|
@@ -9245,6 +9245,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
9245
9245
|
fuser_key: userId,
|
|
9246
9246
|
form_key: this.formKey,
|
|
9247
9247
|
documents: documents,
|
|
9248
|
+
library_documents: libraryDocuments,
|
|
9248
9249
|
fill_data: fillData,
|
|
9249
9250
|
email_subject: emailSubject,
|
|
9250
9251
|
email_blurb: emailBlurb,
|
|
@@ -18778,6 +18779,14 @@ function castHiddenVal(hfType, val) {
|
|
|
18778
18779
|
case 'number_value':
|
|
18779
18780
|
newVal = Number(val);
|
|
18780
18781
|
break;
|
|
18782
|
+
case 'boolean_value':
|
|
18783
|
+
if (typeof val === 'boolean')
|
|
18784
|
+
newVal = val;
|
|
18785
|
+
else {
|
|
18786
|
+
var lowered = String(val).trim().toLowerCase();
|
|
18787
|
+
newVal = lowered === 'true' || lowered === 'yes' || lowered === '1';
|
|
18788
|
+
}
|
|
18789
|
+
break;
|
|
18781
18790
|
default:
|
|
18782
18791
|
newVal = String(val);
|
|
18783
18792
|
break;
|
|
@@ -22355,7 +22364,7 @@ var Element$1 = function (_a) {
|
|
|
22355
22364
|
if (elementOnView && onViewElements.includes(fieldId))
|
|
22356
22365
|
basicProps.onView = function (inView) { return elementOnView(fieldId, inView); };
|
|
22357
22366
|
if (type === 'progress_bar')
|
|
22358
|
-
return (jsx$1(Elements.ProgressBarElement, exports.__assign({}, basicProps, { progress: userProgress, curDepth: curDepth, maxDepth: maxDepth, stepKey: activeStep === null || activeStep === void 0 ? void 0 : activeStep.key,
|
|
22367
|
+
return (jsx$1(Elements.ProgressBarElement, exports.__assign({}, basicProps, { progress: userProgress, curDepth: curDepth, maxDepth: maxDepth, stepKey: activeStep === null || activeStep === void 0 ? void 0 : activeStep.key, runElementActions: runElementActions, client: form.client })));
|
|
22359
22368
|
else if (type === 'image')
|
|
22360
22369
|
return jsx$1(Elements.ImageElement, exports.__assign({}, basicProps));
|
|
22361
22370
|
else if (type === 'video')
|
|
@@ -41002,7 +41011,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
|
|
|
41002
41011
|
}, [activeStep, stepKey, formName]);
|
|
41003
41012
|
}
|
|
41004
41013
|
|
|
41005
|
-
var LazyAssistantChat = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.
|
|
41014
|
+
var LazyAssistantChat = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.BOyDRP1t.js'); }).then(function (n) { return n.AssistantChat; }); });
|
|
41006
41015
|
var AssistantChat = function (props) { return (jsx$1(React.Suspense, exports.__assign({ fallback: null }, { children: jsx$1(LazyAssistantChat, exports.__assign({}, props)) }))); };
|
|
41007
41016
|
|
|
41008
41017
|
var AssistantClient = /** @class */ (function () {
|
|
@@ -43732,6 +43741,7 @@ function Form(_a) {
|
|
|
43732
43741
|
changeStep: function (nextStepKey) {
|
|
43733
43742
|
return changeFormStep(nextStepKey, activeStep.key, false);
|
|
43734
43743
|
},
|
|
43744
|
+
client: client,
|
|
43735
43745
|
updateFieldValues: updateFieldValues,
|
|
43736
43746
|
submitCustom: function (values) { return client === null || client === void 0 ? void 0 : client.submitCustom(values); },
|
|
43737
43747
|
elementOnView: elementOnView,
|
|
@@ -43776,8 +43786,7 @@ function Form(_a) {
|
|
|
43776
43786
|
else if ([COLLAB_COMPLETED, COLLAB_DIRECT_DISABLED, NO_BUSINESS_EMAIL].includes(formOffReason.current))
|
|
43777
43787
|
return jsx$1(FormOff, { reason: formOffReason.current, showCTA: false });
|
|
43778
43788
|
else if (anyFinished) {
|
|
43779
|
-
|
|
43780
|
-
return completeState;
|
|
43789
|
+
return formSettings.completionBehavior === 'show_completed_screen' ? (jsx$1(FormOff, { reason: FILLED_OUT, showCTA: formSettings.showBrand })) : null;
|
|
43781
43790
|
}
|
|
43782
43791
|
else if (!activeStep)
|
|
43783
43792
|
return stepLoader;
|
|
@@ -46871,6 +46880,42 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
46871
46880
|
});
|
|
46872
46881
|
});
|
|
46873
46882
|
};
|
|
46883
|
+
// Lazily fetch the step keys the user has already completed. Queried only
|
|
46884
|
+
// when a stepper element renders, so it stays out of the session payload.
|
|
46885
|
+
FeatheryClient.prototype.fetchCompletedSteps = function () {
|
|
46886
|
+
var _a;
|
|
46887
|
+
return __awaiter$2(this, void 0, void 0, function () {
|
|
46888
|
+
var _b, userId, collaboratorId, overrideUserId, params, url, response, data;
|
|
46889
|
+
return __generator(this, function (_c) {
|
|
46890
|
+
switch (_c.label) {
|
|
46891
|
+
case 0: return [4 /*yield*/, initFormsPromise];
|
|
46892
|
+
case 1:
|
|
46893
|
+
_c.sent();
|
|
46894
|
+
_b = initInfo(), userId = _b.userId, collaboratorId = _b.collaboratorId, overrideUserId = _b.overrideUserId;
|
|
46895
|
+
params = {
|
|
46896
|
+
form_key: this.formKey,
|
|
46897
|
+
override: overrideUserId
|
|
46898
|
+
};
|
|
46899
|
+
if (userId)
|
|
46900
|
+
params.fuser_key = userId;
|
|
46901
|
+
if (collaboratorId)
|
|
46902
|
+
params.collaborator_user = collaboratorId;
|
|
46903
|
+
// @ts-expect-error encodeGetParams returns the encoded query string
|
|
46904
|
+
params = encodeGetParams(params);
|
|
46905
|
+
url = "".concat(API_URL, "panel/step/completion/?").concat(params);
|
|
46906
|
+
return [4 /*yield*/, this._fetch(url, {})];
|
|
46907
|
+
case 2:
|
|
46908
|
+
response = _c.sent();
|
|
46909
|
+
if (!response)
|
|
46910
|
+
return [2 /*return*/, []];
|
|
46911
|
+
return [4 /*yield*/, response.json().catch(function () { return ({}); })];
|
|
46912
|
+
case 3:
|
|
46913
|
+
data = _c.sent();
|
|
46914
|
+
return [2 /*return*/, (_a = data.completed_steps) !== null && _a !== void 0 ? _a : []];
|
|
46915
|
+
}
|
|
46916
|
+
});
|
|
46917
|
+
});
|
|
46918
|
+
};
|
|
46874
46919
|
FeatheryClient.prototype.fetchSession = function (formPromise, block) {
|
|
46875
46920
|
var _a, _b;
|
|
46876
46921
|
if (formPromise === void 0) { formPromise = null; }
|
|
@@ -47201,6 +47246,10 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
47201
47246
|
return __generator(this, function (_a) {
|
|
47202
47247
|
if (this.draft)
|
|
47203
47248
|
return [2 /*return*/];
|
|
47249
|
+
// A 'complete' event means the step was submitted — record it so the
|
|
47250
|
+
// stepper reflects which steps are completed vs merely skipped over.
|
|
47251
|
+
if (eventData.event === 'complete')
|
|
47252
|
+
markStepCompleted(eventData.step_key);
|
|
47204
47253
|
if (!isInteractionDetected() || this.userEventQueue.isReplayingEvents()) {
|
|
47205
47254
|
return [2 /*return*/, this.userEventQueue.enqueue(eventData)];
|
|
47206
47255
|
}
|
|
@@ -47554,7 +47603,9 @@ var initState = {
|
|
|
47554
47603
|
isTestEnv: false,
|
|
47555
47604
|
initNoSave: false,
|
|
47556
47605
|
theme: '',
|
|
47557
|
-
region: ''
|
|
47606
|
+
region: '',
|
|
47607
|
+
completedSteps: new Set(),
|
|
47608
|
+
completedStepsLoaded: new Set()
|
|
47558
47609
|
};
|
|
47559
47610
|
exports.fieldValues = {};
|
|
47560
47611
|
var filePathMap = {};
|
|
@@ -47606,9 +47657,9 @@ function init(sdkKey, options) {
|
|
|
47606
47657
|
if (runningInClient()) {
|
|
47607
47658
|
// Dynamically load libraries that must be client side
|
|
47608
47659
|
global.scriptjsLoadPromise = Promise.resolve().then(function () { return require(
|
|
47609
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
47660
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.C70Bm3qk.js'); }).then(function (n) { return n.script; });
|
|
47610
47661
|
global.webfontloaderPromise = Promise.resolve().then(function () { return require(
|
|
47611
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
47662
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.CJNW-DFS.js'); }).then(function (n) { return n.webfontloader; });
|
|
47612
47663
|
// Client-side tracking logic
|
|
47613
47664
|
if (initState.userTracking === 'cookie') {
|
|
47614
47665
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -47753,8 +47804,49 @@ function getFieldValues() {
|
|
|
47753
47804
|
// Make a copy so users can't set fieldValues directly
|
|
47754
47805
|
return exports.__assign({}, exports.fieldValues);
|
|
47755
47806
|
}
|
|
47807
|
+
function getCompletedStepKeys() {
|
|
47808
|
+
// Make a copy so callers can't mutate the set directly
|
|
47809
|
+
return new Set(initState.completedSteps);
|
|
47810
|
+
}
|
|
47811
|
+
// Record a step as completed once it has been submitted
|
|
47812
|
+
function markStepCompleted(stepKey) {
|
|
47813
|
+
if (stepKey)
|
|
47814
|
+
initState.completedSteps.add(stepKey);
|
|
47815
|
+
}
|
|
47816
|
+
// Fetch the user's completed steps for a form once (deduped per form key) and
|
|
47817
|
+
// seed them into init state. Triggered lazily by the stepper element when it
|
|
47818
|
+
// renders; the stepper re-renders itself once this resolves.
|
|
47819
|
+
function loadCompletedSteps(client) {
|
|
47820
|
+
return __awaiter$2(this, void 0, void 0, function () {
|
|
47821
|
+
var formKey;
|
|
47822
|
+
return __generator(this, function (_a) {
|
|
47823
|
+
switch (_a.label) {
|
|
47824
|
+
case 0:
|
|
47825
|
+
formKey = client === null || client === void 0 ? void 0 : client.formKey;
|
|
47826
|
+
if (!formKey || initState.completedStepsLoaded.has(formKey))
|
|
47827
|
+
return [2 /*return*/];
|
|
47828
|
+
initState.completedStepsLoaded.add(formKey);
|
|
47829
|
+
_a.label = 1;
|
|
47830
|
+
case 1:
|
|
47831
|
+
_a.trys.push([1, 3, , 4]);
|
|
47832
|
+
return [4 /*yield*/, client.fetchCompletedSteps()];
|
|
47833
|
+
case 2:
|
|
47834
|
+
// Merge rather than replace so steps already completed locally aren't
|
|
47835
|
+
// dropped (completion is monotonic — a step never becomes uncompleted)
|
|
47836
|
+
(_a.sent()).forEach(markStepCompleted);
|
|
47837
|
+
return [3 /*break*/, 4];
|
|
47838
|
+
case 3:
|
|
47839
|
+
_a.sent();
|
|
47840
|
+
// Allow a retry on the next render if the request failed
|
|
47841
|
+
initState.completedStepsLoaded.delete(formKey);
|
|
47842
|
+
return [3 /*break*/, 4];
|
|
47843
|
+
case 4: return [2 /*return*/];
|
|
47844
|
+
}
|
|
47845
|
+
});
|
|
47846
|
+
});
|
|
47847
|
+
}
|
|
47756
47848
|
function logFeatheryBadge() {
|
|
47757
|
-
console.log('%c Feathery %c v' + "2.
|
|
47849
|
+
console.log('%c Feathery %c v' + "2.42.0" + ' ', // replaced with real version during build
|
|
47758
47850
|
'background: #e2626e; color: white; padding: 2px 6px; border-radius: 3px 0 0 3px; font-weight: bold;', 'background: #fce7e9; color: #c5495a; padding: 2px 6px; border-radius: 0 3px 3px 0;');
|
|
47759
47851
|
}
|
|
47760
47852
|
|
|
@@ -49269,64 +49361,64 @@ breakpoint) {
|
|
|
49269
49361
|
|
|
49270
49362
|
var fieldLoaders = {
|
|
49271
49363
|
AddressLine1: function () {
|
|
49272
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
49364
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "AddressField" */ './fthry_index.C3bArUa4.js'); });
|
|
49273
49365
|
},
|
|
49274
49366
|
ButtonGroupField: function () {
|
|
49275
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
49367
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.LPXprTDf.js'); });
|
|
49276
49368
|
},
|
|
49277
49369
|
CheckboxField: function () {
|
|
49278
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
49370
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CheckboxField" */ './fthry_index.DjWcky2z.js'); });
|
|
49279
49371
|
},
|
|
49280
49372
|
CheckboxGroupField: function () {
|
|
49281
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
49373
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.Bcl3u2bt.js'); });
|
|
49282
49374
|
},
|
|
49283
49375
|
ColorPickerField: function () {
|
|
49284
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
49376
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "ColorPickerField" */ './fthry_index.DMa8KL_d.js'); });
|
|
49285
49377
|
},
|
|
49286
49378
|
CustomField: function () {
|
|
49287
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
49379
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CustomField" */ './fthry_index.pqZR4gSb.js'); });
|
|
49288
49380
|
},
|
|
49289
49381
|
DateSelectorField: function () {
|
|
49290
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
49382
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DateSelectorField" */ './fthry_index.C_KCwy5K.js'); });
|
|
49291
49383
|
},
|
|
49292
49384
|
DropdownField: function () {
|
|
49293
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
49385
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DropdownField" */ './fthry_index.CW5rWtuZ.js'); });
|
|
49294
49386
|
},
|
|
49295
49387
|
DropdownMultiField: function () {
|
|
49296
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
49388
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.VXMfU8Ig.js'); });
|
|
49297
49389
|
},
|
|
49298
49390
|
FileUploadField: function () {
|
|
49299
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
49391
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "FileUploadField" */ './fthry_index.aU4Q-Vhi.js'); });
|
|
49300
49392
|
},
|
|
49301
49393
|
MatrixField: function () {
|
|
49302
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
49394
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "MatrixField" */ './fthry_index.BEwwo45U.js'); });
|
|
49303
49395
|
},
|
|
49304
49396
|
PasswordField: function () {
|
|
49305
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
49397
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PasswordField" */ './fthry_index.JJYyApby.js'); });
|
|
49306
49398
|
},
|
|
49307
49399
|
PaymentMethodField: function () {
|
|
49308
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
49400
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.DmbR79FW.js'); });
|
|
49309
49401
|
},
|
|
49310
|
-
PhoneField: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
49402
|
+
PhoneField: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "PhoneField" */ './fthry_index.pmG3XerW.js'); }); },
|
|
49311
49403
|
PinInputField: function () {
|
|
49312
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
49404
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PinInputField" */ './fthry_index.DNNK_WNB.js'); });
|
|
49313
49405
|
},
|
|
49314
|
-
QRScanner: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
49406
|
+
QRScanner: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "QRScanner" */ './fthry_index.DcZhokGw.js'); }); },
|
|
49315
49407
|
RadioButtonGroupField: function () {
|
|
49316
49408
|
return Promise.resolve().then(function () { return require(
|
|
49317
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
49409
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.B4iCcGUt.js'); });
|
|
49318
49410
|
},
|
|
49319
49411
|
RatingField: function () {
|
|
49320
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
49412
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "RatingField" */ './fthry_index.DQ3tM-b4.js'); });
|
|
49321
49413
|
},
|
|
49322
49414
|
SignatureField: function () {
|
|
49323
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
49415
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "SignatureField" */ './fthry_index.DzpicfAn.js'); });
|
|
49324
49416
|
},
|
|
49325
49417
|
SliderField: function () {
|
|
49326
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
49418
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "SliderField" */ './fthry_index.l6iPtqf7.js'); });
|
|
49327
49419
|
},
|
|
49328
|
-
TextField: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
49329
|
-
TextArea: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
49420
|
+
TextField: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TextField" */ './fthry_index.B8IGhOnl.js'); }); },
|
|
49421
|
+
TextArea: function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TextArea" */ './fthry_index.BJAzpvPO.js'); }); }
|
|
49330
49422
|
};
|
|
49331
49423
|
var getPositionKey = function (element) { var _a; return ((_a = element.position) === null || _a === void 0 ? void 0 : _a.join(',')) || 'root'; };
|
|
49332
49424
|
// Share the resolved component between preload and render. A separate
|
|
@@ -50239,7 +50331,7 @@ function SegmentBar(_a) {
|
|
|
50239
50331
|
}
|
|
50240
50332
|
|
|
50241
50333
|
var CIRCLE_SIZE = 28;
|
|
50242
|
-
var CONNECTOR_GAP =
|
|
50334
|
+
var CONNECTOR_GAP = 4;
|
|
50243
50335
|
function isFieldTruthy(fieldKey) {
|
|
50244
50336
|
var val = getFieldValues()[fieldKey];
|
|
50245
50337
|
if (Array.isArray(val))
|
|
@@ -50255,7 +50347,8 @@ function isStepVisible(step) {
|
|
|
50255
50347
|
}
|
|
50256
50348
|
function StepperBar(_a) {
|
|
50257
50349
|
var _b, _c;
|
|
50258
|
-
var
|
|
50350
|
+
var _d;
|
|
50351
|
+
var styles = _a.styles, stepConfigs = _a.stepConfigs, stepKey = _a.stepKey, _e = _a.textPlacement, textPlacement = _e === void 0 ? 'bottom' : _e, onStepClick = _a.onStepClick, _f = _a.allowAllNavigation, allowAllNavigation = _f === void 0 ? false : _f, _g = _a.vertical, vertical = _g === void 0 ? false : _g, style = _a.style;
|
|
50259
50352
|
var barStyles = styles.getTarget('bar');
|
|
50260
50353
|
var showLabels = textPlacement !== 'none';
|
|
50261
50354
|
var visibleStepConfigs = stepConfigs.filter(isStepVisible);
|
|
@@ -50263,10 +50356,16 @@ function StepperBar(_a) {
|
|
|
50263
50356
|
var activeStep = stepKey
|
|
50264
50357
|
? Math.max(0, visibleStepConfigs.findIndex(function (s) { return s.step_key === stepKey; }))
|
|
50265
50358
|
: 0;
|
|
50359
|
+
var completedStepKeys = getCompletedStepKeys();
|
|
50266
50360
|
var mainDim = vertical ? 'height' : 'width';
|
|
50267
50361
|
var crossAlign = vertical ? 'alignItems' : 'justifyContent';
|
|
50362
|
+
// Halo around the active step's circle so it reads as the current step even
|
|
50363
|
+
// though it shares the filled bar color with completed steps.
|
|
50364
|
+
var activeRingColor = (_d = barStyles.backgroundColor) !== null && _d !== void 0 ? _d : '#888';
|
|
50268
50365
|
var circleStyleFor = function (isCompleted, isActive) {
|
|
50269
|
-
if (isActive
|
|
50366
|
+
if (isActive)
|
|
50367
|
+
return exports.__assign(exports.__assign({}, barStyles), { color: '#fff', boxShadow: "0 0 0 2px #fff, 0 0 0 4px ".concat(activeRingColor) });
|
|
50368
|
+
if (isCompleted)
|
|
50270
50369
|
return exports.__assign(exports.__assign({}, barStyles), { color: '#fff' });
|
|
50271
50370
|
return { backgroundColor: '#e9ecef', color: '#888' };
|
|
50272
50371
|
};
|
|
@@ -50276,10 +50375,13 @@ function StepperBar(_a) {
|
|
|
50276
50375
|
var renderNodes = function () {
|
|
50277
50376
|
return steps.map(function (_, index) {
|
|
50278
50377
|
var _a;
|
|
50279
|
-
var isCompleted = index < activeStep;
|
|
50280
50378
|
var isActive = index === activeStep;
|
|
50281
50379
|
var isLast = index === steps.length - 1;
|
|
50282
50380
|
var sKey = (_a = visibleStepConfigs === null || visibleStepConfigs === void 0 ? void 0 : visibleStepConfigs[index]) === null || _a === void 0 ? void 0 : _a.step_key;
|
|
50381
|
+
// A step is completed only if it was actually submitted. Steps skipped
|
|
50382
|
+
// over (navigated past without submitting) stay uncompleted even when
|
|
50383
|
+
// they sit behind the current step.
|
|
50384
|
+
var isCompleted = !!sKey && completedStepKeys.has(sKey);
|
|
50283
50385
|
// With all-step navigation on, any step other than the current one is
|
|
50284
50386
|
// clickable; otherwise only completed (already-visited) steps are.
|
|
50285
50387
|
var isClickable = !!onStepClick &&
|
|
@@ -50299,7 +50401,9 @@ function StepperBar(_a) {
|
|
|
50299
50401
|
marginLeft: "".concat(CONNECTOR_GAP, "px"),
|
|
50300
50402
|
marginRight: "".concat(CONNECTOR_GAP, "px")
|
|
50301
50403
|
};
|
|
50302
|
-
return (jsxs(React.Fragment, { children: [jsx$1("div", exports.__assign({ css: exports.__assign({ width: "".concat(CIRCLE_SIZE, "px"), height: "".concat(CIRCLE_SIZE, "px"), borderRadius: '50%', display: 'flex', alignItems: 'center', justifyContent: 'center', fontSize: '13px', fontWeight: 600, flexShrink: 0, cursor: isClickable ? 'pointer' : 'default', transition: 'opacity 0.15s ease', '&:hover': isClickable ? { opacity: 0.7 } : {} }, circleStyleFor(isCompleted, isActive)), onClick: isClickable ? function () { return onStepClick(sKey); } : undefined }, { children: circleContent(isCompleted, index) })), !isLast && (jsx$1("div", { css: exports.__assign(exports.__assign({}, connectorStyle), (
|
|
50404
|
+
return (jsxs(React.Fragment, { children: [jsx$1("div", exports.__assign({ css: exports.__assign({ width: "".concat(CIRCLE_SIZE, "px"), height: "".concat(CIRCLE_SIZE, "px"), borderRadius: '50%', display: 'flex', alignItems: 'center', justifyContent: 'center', fontSize: '13px', fontWeight: 600, flexShrink: 0, cursor: isClickable ? 'pointer' : 'default', transition: 'opacity 0.15s ease', '&:hover': isClickable ? { opacity: 0.7 } : {} }, circleStyleFor(isCompleted, isActive)), onClick: isClickable ? function () { return onStepClick(sKey); } : undefined }, { children: circleContent(isCompleted && !isActive, index) })), !isLast && (jsx$1("div", { css: exports.__assign(exports.__assign({}, connectorStyle), (index < activeStep
|
|
50405
|
+
? barStyles
|
|
50406
|
+
: { backgroundColor: '#e9ecef' })) }))] }, index));
|
|
50303
50407
|
});
|
|
50304
50408
|
};
|
|
50305
50409
|
var renderLabelItems = function () {
|
|
@@ -50355,25 +50459,30 @@ function applyProgressBarStyles(responsiveStyles) {
|
|
|
50355
50459
|
}
|
|
50356
50460
|
function ProgressBarElement(_a) {
|
|
50357
50461
|
var _b, _c, _d, _e, _f, _g;
|
|
50358
|
-
var element = _a.element, responsiveStyles = _a.responsiveStyles, progress = _a.progress, _h = _a.curDepth, curDepth = _h === void 0 ? 1 : _h, _j = _a.maxDepth, maxDepth = _j === void 0 ? 1 : _j, stepKey = _a.stepKey,
|
|
50462
|
+
var element = _a.element, responsiveStyles = _a.responsiveStyles, progress = _a.progress, _h = _a.curDepth, curDepth = _h === void 0 ? 1 : _h, _j = _a.maxDepth, maxDepth = _j === void 0 ? 1 : _j, stepKey = _a.stepKey, runElementActions = _a.runElementActions, client = _a.client, _k = _a.elementProps, elementProps = _k === void 0 ? {} : _k, children = _a.children;
|
|
50359
50463
|
var styles = React.useMemo(function () { return applyProgressBarStyles(responsiveStyles); }, [responsiveStyles]);
|
|
50464
|
+
var _l = __read(React.useReducer(function (x) { return x + 1; }, 0), 2), rerender = _l[1];
|
|
50465
|
+
var isStepper = !!((_b = element.properties) === null || _b === void 0 ? void 0 : _b.stepper);
|
|
50466
|
+
// Fetch prior step completion the first time a stepper renders (deduped per
|
|
50467
|
+
// form inside loadCompletedSteps), then re-render this stepper to show it
|
|
50468
|
+
React.useEffect(function () {
|
|
50469
|
+
if (isStepper)
|
|
50470
|
+
loadCompletedSteps(client).then(function () { return rerender(); });
|
|
50471
|
+
}, [isStepper]);
|
|
50360
50472
|
var vertical = element.styles.bar_direction === 'vertical';
|
|
50361
50473
|
var containerProps = exports.__assign({ css: exports.__assign(exports.__assign({ display: 'flex', flexDirection: 'column', position: 'relative', width: '100%' }, (vertical && { height: '100%' })), styles.getTarget('barContainer')) }, elementProps);
|
|
50362
|
-
if (
|
|
50363
|
-
//
|
|
50364
|
-
//
|
|
50365
|
-
// only already-visited steps are clickable
|
|
50474
|
+
if (isStepper) {
|
|
50475
|
+
// Clicking a step navigates to it via a NEXT action. When navigation to all
|
|
50476
|
+
// steps is enabled, the current step is validated & submitted first;
|
|
50477
|
+
// otherwise only already-visited steps are clickable
|
|
50366
50478
|
var allowAllNavigation = !!((_c = element.properties) === null || _c === void 0 ? void 0 : _c.navigate_to_all_steps);
|
|
50367
|
-
var onStepClick =
|
|
50368
|
-
|
|
50369
|
-
|
|
50370
|
-
|
|
50371
|
-
|
|
50372
|
-
|
|
50373
|
-
|
|
50374
|
-
});
|
|
50375
|
-
}
|
|
50376
|
-
: changeStep;
|
|
50479
|
+
var onStepClick = function (targetStepKey) {
|
|
50480
|
+
return runElementActions({
|
|
50481
|
+
element: element,
|
|
50482
|
+
elementType: 'progress_bar',
|
|
50483
|
+
actions: [{ type: ACTION_NEXT, next_step_key: targetStepKey }]
|
|
50484
|
+
});
|
|
50485
|
+
};
|
|
50377
50486
|
return (jsxs("div", exports.__assign({}, containerProps, { children: [children, jsx$1(StepperBar, { styles: styles, stepConfigs: (_e = (_d = element.properties) === null || _d === void 0 ? void 0 : _d.stepper_steps) !== null && _e !== void 0 ? _e : [], stepKey: stepKey, textPlacement: element.styles.percent_text_layout, onStepClick: onStepClick, allowAllNavigation: allowAllNavigation, vertical: vertical, style: vertical ? { flex: 1 } : undefined })] })));
|
|
50378
50487
|
}
|
|
50379
50488
|
var userProgress, userSegments;
|
|
@@ -50557,7 +50666,7 @@ function ElementSkeleton(_a) {
|
|
|
50557
50666
|
}
|
|
50558
50667
|
var templateObject_1;
|
|
50559
50668
|
|
|
50560
|
-
var TableElement = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
50669
|
+
var TableElement = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TableElement" */ './fthry_index.DJzIqovs.js'); }); });
|
|
50561
50670
|
var Basic = {
|
|
50562
50671
|
ImageElement: ImageElement,
|
|
50563
50672
|
VideoElement: VideoElement,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./fthry_index.
|
|
3
|
+
var index = require('./fthry_index.Cts348D4.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var styles = require('./fthry_styles.
|
|
5
|
+
var styles = require('./fthry_styles.BLUeHaH3.js');
|
|
6
6
|
require('react/jsx-runtime');
|
|
7
7
|
require('react-dom/client');
|
|
8
8
|
require('jszip');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./fthry_index.
|
|
3
|
+
var index = require('./fthry_index.Cts348D4.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index$1 = require('./fthry_index.
|
|
5
|
+
var index$1 = require('./fthry_index.Wf6EoIZb.js');
|
|
6
6
|
require('react/jsx-runtime');
|
|
7
7
|
require('react-dom/client');
|
|
8
8
|
require('jszip');
|
|
@@ -1479,7 +1479,7 @@ function SignatureField(_a) {
|
|
|
1479
1479
|
React.useEffect(function () {
|
|
1480
1480
|
if (!global.webfontloaderPromise)
|
|
1481
1481
|
global.webfontloaderPromise = Promise.resolve().then(function () { return require(
|
|
1482
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
1482
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.CJNW-DFS.js'); }).then(function (n) { return n.webfontloader; });
|
|
1483
1483
|
global.webfontloaderPromise.then(function (WebFont) {
|
|
1484
1484
|
WebFont.load({ google: { families: ['La Belle Aurore'] } });
|
|
1485
1485
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$1 = require('./fthry_index.
|
|
3
|
+
var index$1 = require('./fthry_index.Cts348D4.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var Placeholder = require('./fthry_Placeholder.
|
|
6
|
-
var InlineTooltip = require('./fthry_InlineTooltip.
|
|
7
|
-
var ShowEyeIcon = require('./fthry_ShowEyeIcon.
|
|
5
|
+
var Placeholder = require('./fthry_Placeholder.BZUp2I1J.js');
|
|
6
|
+
var InlineTooltip = require('./fthry_InlineTooltip.Ddh8_6aY.js');
|
|
7
|
+
var ShowEyeIcon = require('./fthry_ShowEyeIcon.D9DLoHqI.js');
|
|
8
8
|
require('react/jsx-runtime');
|
|
9
9
|
require('react-dom/client');
|
|
10
10
|
require('jszip');
|
|
11
11
|
require('react-dom');
|
|
12
|
-
require('./fthry_Overlay.
|
|
12
|
+
require('./fthry_Overlay.Bd1qiy6-.js');
|
|
13
13
|
|
|
14
14
|
function PasswordField(_a) {
|
|
15
15
|
var _b;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./fthry_index.
|
|
3
|
+
var index = require('./fthry_index.Cts348D4.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var InlineTooltip = require('./fthry_InlineTooltip.
|
|
6
|
-
var useSalesforceSync = require('./fthry_useSalesforceSync.
|
|
5
|
+
var InlineTooltip = require('./fthry_InlineTooltip.Ddh8_6aY.js');
|
|
6
|
+
var useSalesforceSync = require('./fthry_useSalesforceSync.CNNAgWe2.js');
|
|
7
7
|
require('react/jsx-runtime');
|
|
8
8
|
require('react-dom/client');
|
|
9
9
|
require('jszip');
|
|
10
10
|
require('react-dom');
|
|
11
|
-
require('./fthry_Overlay.
|
|
11
|
+
require('./fthry_Overlay.Bd1qiy6-.js');
|
|
12
12
|
|
|
13
13
|
function ButtonGroupField(_a) {
|
|
14
14
|
var element = _a.element, responsiveStyles = _a.responsiveStyles, fieldLabel = _a.fieldLabel, inlineError = _a.inlineError, _b = _a.fieldVal, fieldVal = _b === void 0 ? null : _b, _c = _a.repeatIndex, repeatIndex = _c === void 0 ? null : _c, editMode = _a.editMode, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d, _e = _a.elementProps, elementProps = _e === void 0 ? {} : _e, _f = _a.disabled, disabled = _f === void 0 ? false : _f, children = _a.children;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$1 = require('./fthry_index.
|
|
3
|
+
var index$1 = require('./fthry_index.Cts348D4.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var InlineTooltip = require('./fthry_InlineTooltip.
|
|
6
|
-
var Placeholder$2 = require('./fthry_Placeholder.
|
|
7
|
-
var useSalesforceSync = require('./fthry_useSalesforceSync.
|
|
8
|
-
var Overlay = require('./fthry_Overlay.
|
|
5
|
+
var InlineTooltip = require('./fthry_InlineTooltip.Ddh8_6aY.js');
|
|
6
|
+
var Placeholder$2 = require('./fthry_Placeholder.BZUp2I1J.js');
|
|
7
|
+
var useSalesforceSync = require('./fthry_useSalesforceSync.CNNAgWe2.js');
|
|
8
|
+
var Overlay = require('./fthry_Overlay.Bd1qiy6-.js');
|
|
9
9
|
var ReactDOM = require('react-dom');
|
|
10
10
|
require('react/jsx-runtime');
|
|
11
11
|
require('react-dom/client');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./fthry_index.
|
|
3
|
+
var index = require('./fthry_index.Cts348D4.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var styles = require('./fthry_styles.
|
|
5
|
+
var styles = require('./fthry_styles.BLUeHaH3.js');
|
|
6
6
|
require('react/jsx-runtime');
|
|
7
7
|
require('react-dom/client');
|
|
8
8
|
require('jszip');
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$1 = require('./fthry_index.
|
|
3
|
+
var index$1 = require('./fthry_index.Cts348D4.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var Placeholder = require('./fthry_Placeholder.
|
|
6
|
-
var InlineTooltip = require('./fthry_InlineTooltip.
|
|
7
|
-
var Overlay = require('./fthry_Overlay.
|
|
8
|
-
var useElementSize = require('./fthry_useElementSize.
|
|
5
|
+
var Placeholder = require('./fthry_Placeholder.BZUp2I1J.js');
|
|
6
|
+
var InlineTooltip = require('./fthry_InlineTooltip.Ddh8_6aY.js');
|
|
7
|
+
var Overlay = require('./fthry_Overlay.Bd1qiy6-.js');
|
|
8
|
+
var useElementSize = require('./fthry_useElementSize.B4RuT8C5.js');
|
|
9
9
|
require('react/jsx-runtime');
|
|
10
10
|
require('react-dom/client');
|
|
11
11
|
require('jszip');
|
|
@@ -1804,7 +1804,7 @@ function PhoneField(_a) {
|
|
|
1804
1804
|
// origins. The .woff2 is vendored from country-flag-emoji-polyfill and
|
|
1805
1805
|
// emitted as a sibling asset by webpack/rollup; `new URL(...,
|
|
1806
1806
|
// import.meta.url)` resolves it relative to wherever the bundle is served.
|
|
1807
|
-
var fontUrl = new URL('./TwemojiCountryFlags.woff2', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('fthry_index.
|
|
1807
|
+
var fontUrl = new URL('./TwemojiCountryFlags.woff2', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('fthry_index.pmG3XerW.js', document.baseURI).href)))
|
|
1808
1808
|
.href;
|
|
1809
1809
|
f('Twemoji Country Flags', fontUrl);
|
|
1810
1810
|
}
|