@feathery/react 2.27.0 → 2.28.1
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/Form/logic.d.ts.map +1 -1
- package/cjs/{fthry_FormControl.BoL6UqXM.js → fthry_FormControl.BlMvfQ_d.js} +1 -1
- package/cjs/{fthry_InlineTooltip.DBvN0msL.js → fthry_InlineTooltip.B-Bvx2Dw.js} +2 -2
- package/cjs/{fthry_Overlay.BKuEcjiM.js → fthry_Overlay.D5P4Fvkc.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.BXhxaM8c.js → fthry_PaymentMethodField.CJs3wU3J.js} +4 -4
- package/cjs/{fthry_Placeholder.BLwtsYNx.js → fthry_Placeholder.BnyMgjQP.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.AL9bwpxv.js → fthry_ShowEyeIcon.2L8TP_tO.js} +1 -1
- package/cjs/{fthry_index.q9Bj-Bi6.js → fthry_index.3qYQ6tfs.js} +1 -1
- package/cjs/{fthry_index.FiRxo0v0.js → fthry_index.7TrXFxsv.js} +2 -2
- package/cjs/{fthry_index.BWoov4OZ.js → fthry_index.Ai64Uezr.js} +1 -1
- package/cjs/{fthry_index.CNLm9jWy.js → fthry_index.B1f5zXbD.js} +2 -2
- package/cjs/{fthry_index.BA0uADVh.js → fthry_index.BAEP5DF-.js} +3 -3
- package/cjs/{fthry_index.DykkkmET.js → fthry_index.BOpyv-M-.js} +1 -1
- package/cjs/{fthry_index.7-o58S5c.js → fthry_index.BrrCx6gV.js} +167 -85
- package/cjs/{fthry_index.BMltbcRz.js → fthry_index.C26ZdgP5.js} +4 -4
- package/cjs/{fthry_index.DWvQXtMI.js → fthry_index.CLmBmcwn.js} +8 -8
- package/cjs/{fthry_index.LzFocu7T.js → fthry_index.CQLnf3hm.js} +6 -6
- package/cjs/{fthry_index.D1blBsLI.js → fthry_index.CsC-Eikm.js} +4 -4
- package/cjs/{fthry_index.V451LE92.js → fthry_index.DFJtQg2I.js} +5 -5
- package/cjs/{fthry_index.Bzseaar1.js → fthry_index.DOk4ICUP.js} +5 -5
- package/cjs/{fthry_index.Ci4oSnZK.js → fthry_index.DR6ODJ18.js} +6 -6
- package/cjs/{fthry_index.9Pay6Y7t.js → fthry_index.DVQ4WG9Q.js} +4 -4
- package/cjs/{fthry_index.DYpzmrub.js → fthry_index.DVsuUYU6.js} +1 -1
- package/cjs/{fthry_index.DeTJTaKT.js → fthry_index.DZOcP447.js} +6 -6
- package/cjs/{fthry_index.CbS2JAtd.js → fthry_index.DeAJwTBz.js} +1 -1
- package/cjs/{fthry_index.uHVYgoXe.js → fthry_index.Dg9WPadV.js} +5 -5
- package/cjs/{fthry_index.HVBq8gFT.js → fthry_index.DqkJHm2t.js} +1 -1
- package/cjs/{fthry_index.DphDCsLM.js → fthry_index.VFdonI6E.js} +5 -5
- package/cjs/{fthry_index.Bs1cK6DX.js → fthry_index.itt2nB4V.js} +1 -1
- package/cjs/{fthry_index.DCjDbiRG.js → fthry_index.toFhbumO.js} +3 -3
- package/cjs/{fthry_index.B8NuAD6t.js → fthry_index.ucQBvleU.js} +1 -1
- package/cjs/{fthry_input.6JeGBwD4.js → fthry_input.D7yBTJAA.js} +1 -1
- package/cjs/{fthry_script.DlIfg4ja.js → fthry_script.ChXnsAYi.js} +1 -1
- package/cjs/{fthry_styles.C5pfWlx6.js → fthry_styles.KNGSmpv5.js} +1 -1
- package/cjs/{fthry_useElementSize.CPOY1hU8.js → fthry_useElementSize.D-iMIbmC.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.CZ59p8a4.js → fthry_useSalesforceSync.CAmwk5ZU.js} +1 -1
- package/cjs/{fthry_webfontloader.BBEWKPLS.js → fthry_webfontloader.BbnH4vxY.js} +1 -1
- package/cjs/index.js +1 -1
- package/cjs/utils/formHelperFunctions.d.ts +6 -0
- package/cjs/utils/formHelperFunctions.d.ts.map +1 -1
- package/cjs/utils/sensitiveActions.d.ts +1 -1
- package/cjs/utils/sensitiveActions.d.ts.map +1 -1
- package/dist/Form/index.d.ts.map +1 -1
- package/dist/Form/logic.d.ts.map +1 -1
- package/dist/{fthry_FormControl.Bxh0YDUn.js → fthry_FormControl.CbB5XB3F.js} +1 -1
- package/dist/{fthry_InlineTooltip.BvCa4yhz.js → fthry_InlineTooltip.DfUPmZIX.js} +2 -2
- package/dist/{fthry_Overlay.BrrhYUWC.js → fthry_Overlay.BrCGPX8T.js} +1 -1
- package/dist/{fthry_PaymentMethodField.Bxb5Z9A0.js → fthry_PaymentMethodField.Dh5MF0LI.js} +4 -4
- package/dist/{fthry_Placeholder.CqZlQ546.js → fthry_Placeholder.Mu_R6Bg4.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.BuNsE2Zg.js → fthry_ShowEyeIcon.zaqisbFn.js} +1 -1
- package/dist/{fthry_index.DGbrdSVp.js → fthry_index.B4YaHgh4.js} +4 -4
- package/dist/{fthry_index.n-KL_wsR.js → fthry_index.BeaMdjin.js} +1 -1
- package/dist/{fthry_index.DlO9EPWI.js → fthry_index.Bucqzak_.js} +1 -1
- package/dist/{fthry_index.PNIJafuw.js → fthry_index.BxuwIE29.js} +6 -6
- package/dist/{fthry_index.DLXVENDQ.js → fthry_index.C66TZtvg.js} +5 -5
- package/dist/{fthry_index.BFHQOncN.js → fthry_index.C8myrllR.js} +1 -1
- package/dist/{fthry_index.xS6WY3x7.js → fthry_index.C9QHgBp-.js} +167 -85
- package/dist/{fthry_index.eNeCZ3ef.js → fthry_index.CN6hw5PJ.js} +2 -2
- package/dist/{fthry_index.f_fe4YUn.js → fthry_index.CUEyiObD.js} +3 -3
- package/dist/{fthry_index.DpNQkGza.js → fthry_index.CUMthLyE.js} +4 -4
- package/dist/{fthry_index.D2lnpnQV.js → fthry_index.CZWTrmM6.js} +1 -1
- package/dist/{fthry_index.DMT7y0rG.js → fthry_index.CkVNoCvZ.js} +1 -1
- package/dist/{fthry_index.DNanvMsF.js → fthry_index.D6BnFXF1.js} +8 -8
- package/dist/{fthry_index.BoGpPku_.js → fthry_index.DV21IHCb.js} +5 -5
- package/dist/{fthry_index.DPUWJEyB.js → fthry_index.DW8swWIW.js} +4 -4
- package/dist/{fthry_index.CJlQBuHJ.js → fthry_index.D_3nLa7a.js} +6 -6
- package/dist/{fthry_index.Dkhpos0S.js → fthry_index.Dqwx_Xiz.js} +1 -1
- package/dist/{fthry_index.DrKxVkQP.js → fthry_index.DvowDLEg.js} +2 -2
- package/dist/{fthry_index.B-cu5XkR.js → fthry_index.GXsYMSN_.js} +1 -1
- package/dist/{fthry_index.D6H-LPbs.js → fthry_index.IY-OVjmW.js} +5 -5
- package/dist/{fthry_index.B2yU-WFs.js → fthry_index.J9398MtH.js} +5 -5
- package/dist/{fthry_index.lyxNXE2p.js → fthry_index.JnEAOhWW.js} +3 -3
- package/dist/{fthry_index.C_buAAmC.js → fthry_index.V3meYKWw.js} +6 -6
- package/dist/{fthry_index.CnsLm16Z.js → fthry_index.fNt6f0eq.js} +1 -1
- package/dist/{fthry_input.hWeQJe6-.js → fthry_input.DAwMxIXG.js} +1 -1
- package/dist/{fthry_script.IOuG6WOu.js → fthry_script.CxNki5T5.js} +1 -1
- package/dist/{fthry_styles.niS1iYtJ.js → fthry_styles.Dzz2nMkG.js} +1 -1
- package/dist/{fthry_useElementSize.DbyoNrTe.js → fthry_useElementSize.D6DGF_QM.js} +1 -1
- package/dist/{fthry_useSalesforceSync.B1J6vZPf.js → fthry_useSalesforceSync.DM_5Ow-9.js} +1 -1
- package/dist/{fthry_webfontloader.VfTtdyr7.js → fthry_webfontloader.I68gPpHE.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/formHelperFunctions.d.ts +6 -0
- package/dist/utils/formHelperFunctions.d.ts.map +1 -1
- package/dist/utils/sensitiveActions.d.ts +1 -1
- package/dist/utils/sensitiveActions.d.ts.map +1 -1
- package/package.json +1 -1
- package/umd/index.js +1 -1
|
@@ -29428,26 +29428,86 @@ var getPrivateActions = function (formUuid) {
|
|
|
29428
29428
|
});
|
|
29429
29429
|
}
|
|
29430
29430
|
return {
|
|
29431
|
-
_sendSmsCode: function (phoneNumber) {
|
|
29432
|
-
var client
|
|
29433
|
-
return
|
|
29434
|
-
|
|
29435
|
-
|
|
29436
|
-
|
|
29437
|
-
|
|
29438
|
-
|
|
29439
|
-
|
|
29440
|
-
|
|
29441
|
-
|
|
29442
|
-
|
|
29443
|
-
|
|
29444
|
-
|
|
29445
|
-
|
|
29446
|
-
},
|
|
29447
|
-
|
|
29448
|
-
var client
|
|
29449
|
-
return
|
|
29450
|
-
|
|
29431
|
+
_sendSmsCode: function (phoneNumber) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
29432
|
+
var client;
|
|
29433
|
+
return __generator(this, function (_a) {
|
|
29434
|
+
switch (_a.label) {
|
|
29435
|
+
case 0:
|
|
29436
|
+
client = internalState[formUuid].client;
|
|
29437
|
+
return [4 /*yield*/, Promise.all([
|
|
29438
|
+
client.flushCustomFields(),
|
|
29439
|
+
defaultClient.flushCustomFields()
|
|
29440
|
+
])];
|
|
29441
|
+
case 1:
|
|
29442
|
+
_a.sent();
|
|
29443
|
+
return [2 /*return*/, Auth.sendSms(phoneNumber, client)];
|
|
29444
|
+
}
|
|
29445
|
+
});
|
|
29446
|
+
}); },
|
|
29447
|
+
_telesignVoice: function (phoneNumber) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
29448
|
+
var client;
|
|
29449
|
+
return __generator(this, function (_a) {
|
|
29450
|
+
switch (_a.label) {
|
|
29451
|
+
case 0:
|
|
29452
|
+
client = internalState[formUuid].client;
|
|
29453
|
+
return [4 /*yield*/, Promise.all([
|
|
29454
|
+
client.flushCustomFields(),
|
|
29455
|
+
defaultClient.flushCustomFields()
|
|
29456
|
+
])];
|
|
29457
|
+
case 1:
|
|
29458
|
+
_a.sent();
|
|
29459
|
+
return [2 /*return*/, client.telesignSendOTP(phoneNumber, 'voice')];
|
|
29460
|
+
}
|
|
29461
|
+
});
|
|
29462
|
+
}); },
|
|
29463
|
+
_telesignSms: function (phoneNumber) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
29464
|
+
var client;
|
|
29465
|
+
return __generator(this, function (_a) {
|
|
29466
|
+
switch (_a.label) {
|
|
29467
|
+
case 0:
|
|
29468
|
+
client = internalState[formUuid].client;
|
|
29469
|
+
return [4 /*yield*/, Promise.all([
|
|
29470
|
+
client.flushCustomFields(),
|
|
29471
|
+
defaultClient.flushCustomFields()
|
|
29472
|
+
])];
|
|
29473
|
+
case 1:
|
|
29474
|
+
_a.sent();
|
|
29475
|
+
return [2 /*return*/, client.telesignSendOTP(phoneNumber, 'sms')];
|
|
29476
|
+
}
|
|
29477
|
+
});
|
|
29478
|
+
}); },
|
|
29479
|
+
_sendEmail: function (templateId) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
29480
|
+
var client;
|
|
29481
|
+
return __generator(this, function (_a) {
|
|
29482
|
+
switch (_a.label) {
|
|
29483
|
+
case 0:
|
|
29484
|
+
client = internalState[formUuid].client;
|
|
29485
|
+
return [4 /*yield*/, Promise.all([
|
|
29486
|
+
client.flushCustomFields(),
|
|
29487
|
+
defaultClient.flushCustomFields()
|
|
29488
|
+
])];
|
|
29489
|
+
case 1:
|
|
29490
|
+
_a.sent();
|
|
29491
|
+
return [2 /*return*/, client.sendEmail(templateId)];
|
|
29492
|
+
}
|
|
29493
|
+
});
|
|
29494
|
+
}); },
|
|
29495
|
+
_sendEmailOTP: function (emailAddress) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
29496
|
+
var client;
|
|
29497
|
+
return __generator(this, function (_a) {
|
|
29498
|
+
switch (_a.label) {
|
|
29499
|
+
case 0:
|
|
29500
|
+
client = internalState[formUuid].client;
|
|
29501
|
+
return [4 /*yield*/, Promise.all([
|
|
29502
|
+
client.flushCustomFields(),
|
|
29503
|
+
defaultClient.flushCustomFields()
|
|
29504
|
+
])];
|
|
29505
|
+
case 1:
|
|
29506
|
+
_a.sent();
|
|
29507
|
+
return [2 /*return*/, client.sendEmailOTP(emailAddress)];
|
|
29508
|
+
}
|
|
29509
|
+
});
|
|
29510
|
+
}); }
|
|
29451
29511
|
};
|
|
29452
29512
|
};
|
|
29453
29513
|
|
|
@@ -38862,7 +38922,7 @@ var handleRuleError = function (errorMessage, logicRule) {
|
|
|
38862
38922
|
console.warn("Error while running logic rule: ".concat(logicRule.name), " On Event: ".concat(logicRule.trigger_event), " Error Message: ".concat(errorMessage !== null && errorMessage !== void 0 ? errorMessage : ''));
|
|
38863
38923
|
};
|
|
38864
38924
|
var runServerSideLogic = function (logicRule, client, isDraft) { return __awaiter$2(void 0, void 0, void 0, function () {
|
|
38865
|
-
var response
|
|
38925
|
+
var response;
|
|
38866
38926
|
return __generator(this, function (_a) {
|
|
38867
38927
|
switch (_a.label) {
|
|
38868
38928
|
case 0:
|
|
@@ -38876,21 +38936,8 @@ var runServerSideLogic = function (logicRule, client, isDraft) { return __awaite
|
|
|
38876
38936
|
if (response === null || response === void 0 ? void 0 : response.field_data) {
|
|
38877
38937
|
setFieldValues(response.field_data, true, true);
|
|
38878
38938
|
}
|
|
38879
|
-
// Handle file values the same way as the session v3 endpoint:
|
|
38880
|
-
// convert { url, path } to Promise<File> and track S3 paths
|
|
38881
38939
|
if (response === null || response === void 0 ? void 0 : response.file_values) {
|
|
38882
|
-
|
|
38883
|
-
return Array.isArray(fileOrFiles)
|
|
38884
|
-
? fileOrFiles.map(function (f) { return fetchS3File(f.url); })
|
|
38885
|
-
: fetchS3File(fileOrFiles.url);
|
|
38886
|
-
});
|
|
38887
|
-
newFilePathMap = objectMap(response.file_values, function (fileOrFiles) {
|
|
38888
|
-
return Array.isArray(fileOrFiles)
|
|
38889
|
-
? fileOrFiles.map(function (f) { return f.path; })
|
|
38890
|
-
: fileOrFiles.path;
|
|
38891
|
-
});
|
|
38892
|
-
Object.assign(fieldValues, filePromises);
|
|
38893
|
-
Object.assign(filePathMap, newFilePathMap);
|
|
38940
|
+
processFileValues(response.file_values);
|
|
38894
38941
|
rerenderAllForms();
|
|
38895
38942
|
}
|
|
38896
38943
|
if (response === null || response === void 0 ? void 0 : response.error) {
|
|
@@ -40311,6 +40358,7 @@ function Form(_a) {
|
|
|
40311
40358
|
if (data.status !== 'error') {
|
|
40312
40359
|
vals = (_a = data.data) !== null && _a !== void 0 ? _a : {};
|
|
40313
40360
|
updateFieldValues(vals);
|
|
40361
|
+
processFileValues(data.file_values);
|
|
40314
40362
|
}
|
|
40315
40363
|
return [2 /*return*/, data];
|
|
40316
40364
|
}
|
|
@@ -41744,8 +41792,10 @@ function Form(_a) {
|
|
|
41744
41792
|
setPollFuserData: setPollFuserData,
|
|
41745
41793
|
onStatusUpdate: function (pollData) {
|
|
41746
41794
|
handleExtractionStatusUpdate(curAction.extraction_id, curAction.variant_id || '', pollData);
|
|
41747
|
-
if (pollData.status === 'complete' && pollData.data)
|
|
41795
|
+
if (pollData.status === 'complete' && pollData.data) {
|
|
41748
41796
|
updateFieldValues(pollData.data);
|
|
41797
|
+
processFileValues(pollData.file_values);
|
|
41798
|
+
}
|
|
41749
41799
|
}
|
|
41750
41800
|
}));
|
|
41751
41801
|
// set current extraction to pending
|
|
@@ -41774,6 +41824,7 @@ function Form(_a) {
|
|
|
41774
41824
|
data.forEach(function (entry) {
|
|
41775
41825
|
if (entry.data)
|
|
41776
41826
|
updateFieldValues(entry.data);
|
|
41827
|
+
processFileValues(entry.file_values);
|
|
41777
41828
|
});
|
|
41778
41829
|
}
|
|
41779
41830
|
return [3 /*break*/, 89];
|
|
@@ -46025,9 +46076,9 @@ function init(sdkKey, options) {
|
|
|
46025
46076
|
if (runningInClient()) {
|
|
46026
46077
|
// Dynamically load libraries that must be client side
|
|
46027
46078
|
global.scriptjsLoadPromise = import(
|
|
46028
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
46079
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.CxNki5T5.js').then(function (n) { return n.s; });
|
|
46029
46080
|
global.webfontloaderPromise = import(
|
|
46030
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
46081
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.I68gPpHE.js').then(function (n) { return n.w; });
|
|
46031
46082
|
// Client-side tracking logic
|
|
46032
46083
|
if (initState.userTracking === 'cookie') {
|
|
46033
46084
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -46173,7 +46224,7 @@ function getFieldValues() {
|
|
|
46173
46224
|
return __assign({}, fieldValues);
|
|
46174
46225
|
}
|
|
46175
46226
|
function logFeatheryBadge() {
|
|
46176
|
-
console.log('%c Feathery %c v' + "2.
|
|
46227
|
+
console.log('%c Feathery %c v' + "2.28.1" + ' ', // replaced with real version during build
|
|
46177
46228
|
'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;');
|
|
46178
46229
|
}
|
|
46179
46230
|
|
|
@@ -46186,10 +46237,12 @@ var getABVariant = function (stepRes) {
|
|
|
46186
46237
|
delete stepRes.data;
|
|
46187
46238
|
if (!stepRes.variant)
|
|
46188
46239
|
return stepRes;
|
|
46189
|
-
var _a = initInfo(), sdkKey = _a.sdkKey, userId = _a.userId;
|
|
46240
|
+
var _a = initInfo(), sdkKey = _a.sdkKey, userId = _a.userId, overrideUserId = _a.overrideUserId;
|
|
46190
46241
|
// If userId was not passed in, sdkKey is assumed to be a user admin key
|
|
46191
46242
|
// and thus a unique user ID
|
|
46192
|
-
|
|
46243
|
+
// If userId was preset (e.g. from _id URL param), skip AB variant
|
|
46244
|
+
// since the submission is tied to the original form
|
|
46245
|
+
var useVariant = !overrideUserId && !getRandomBoolean(userId || sdkKey, stepRes.form_name);
|
|
46193
46246
|
if (useVariant) {
|
|
46194
46247
|
stepRes.new_form_id = stepRes.variant_id;
|
|
46195
46248
|
stepRes.form_name = stepRes.variant_name;
|
|
@@ -46241,18 +46294,7 @@ var lookUpTrigger = function (step, elementID, type, additionalPayload) {
|
|
|
46241
46294
|
};
|
|
46242
46295
|
/** Update the fieldValues cache with a backend session */
|
|
46243
46296
|
function updateSessionValues(session) {
|
|
46244
|
-
|
|
46245
|
-
var filePromises = objectMap(session.file_values, function (fileOrFiles) {
|
|
46246
|
-
return Array.isArray(fileOrFiles)
|
|
46247
|
-
? fileOrFiles.map(function (f) { return fetchS3File(f.url); })
|
|
46248
|
-
: fetchS3File(fileOrFiles.url);
|
|
46249
|
-
});
|
|
46250
|
-
// Create a map of servar keys to S3 paths so we know which files have been uploaded already
|
|
46251
|
-
var newFilePathMap = objectMap(session.file_values, function (fileOrFiles) {
|
|
46252
|
-
return Array.isArray(fileOrFiles)
|
|
46253
|
-
? fileOrFiles.map(function (f) { return f.path; })
|
|
46254
|
-
: fileOrFiles.path;
|
|
46255
|
-
});
|
|
46297
|
+
processFileValues(session.file_values);
|
|
46256
46298
|
var replaceNullInServarArrays = function (acc, _a) {
|
|
46257
46299
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
46258
46300
|
if (Array.isArray(value) && session.servars.includes(key)) {
|
|
@@ -46264,8 +46306,7 @@ function updateSessionValues(session) {
|
|
|
46264
46306
|
return acc;
|
|
46265
46307
|
};
|
|
46266
46308
|
var transformedFieldValues = Object.entries(session.field_values).reduce(replaceNullInServarArrays, {});
|
|
46267
|
-
Object.assign(fieldValues,
|
|
46268
|
-
Object.assign(filePathMap, newFilePathMap);
|
|
46309
|
+
Object.assign(fieldValues, transformedFieldValues);
|
|
46269
46310
|
}
|
|
46270
46311
|
/**
|
|
46271
46312
|
* Set an error on a particular form DOM node(s).
|
|
@@ -46277,9 +46318,10 @@ function setFormElementError(_a) {
|
|
|
46277
46318
|
// Empty message means no error / clearing the error
|
|
46278
46319
|
message = _d === void 0 ? '' : _d, _e = _a.index, index = _e === void 0 ? null : _e, _f = _a.servarType, servarType = _f === void 0 ? '' : _f, _g = _a.inlineErrors, inlineErrors = _g === void 0 ? {} : _g, _h = _a.setInlineErrors, setInlineErrors = _h === void 0 ? function () { } : _h, _j = _a.triggerErrors, triggerErrors = _j === void 0 ? false : _j;
|
|
46279
46320
|
return __awaiter$2(this, void 0, void 0, function () {
|
|
46280
|
-
var invalid, listIndex, errorTriggered_1, singleOrList, elements;
|
|
46281
|
-
|
|
46282
|
-
|
|
46321
|
+
var invalid, listIndex, errorTriggered_1, singleOrList, elements, formElements, formElements_1, formElements_1_1, el;
|
|
46322
|
+
var e_1, _k;
|
|
46323
|
+
return __generator(this, function (_l) {
|
|
46324
|
+
switch (_l.label) {
|
|
46283
46325
|
case 0:
|
|
46284
46326
|
invalid = false;
|
|
46285
46327
|
listIndex = index;
|
|
@@ -46318,8 +46360,27 @@ function setFormElementError(_a) {
|
|
|
46318
46360
|
}
|
|
46319
46361
|
});
|
|
46320
46362
|
}
|
|
46321
|
-
if (triggerErrors && !errorTriggered_1)
|
|
46322
|
-
formRef.current.
|
|
46363
|
+
if (triggerErrors && !errorTriggered_1) {
|
|
46364
|
+
formElements = Array.from(formRef.current.elements);
|
|
46365
|
+
try {
|
|
46366
|
+
for (formElements_1 = __values(formElements), formElements_1_1 = formElements_1.next(); !formElements_1_1.done; formElements_1_1 = formElements_1.next()) {
|
|
46367
|
+
el = formElements_1_1.value;
|
|
46368
|
+
if ('checkValidity' in el &&
|
|
46369
|
+
!el.checkValidity() &&
|
|
46370
|
+
el.offsetParent !== null) {
|
|
46371
|
+
el.reportValidity();
|
|
46372
|
+
break;
|
|
46373
|
+
}
|
|
46374
|
+
}
|
|
46375
|
+
}
|
|
46376
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
46377
|
+
finally {
|
|
46378
|
+
try {
|
|
46379
|
+
if (formElements_1_1 && !formElements_1_1.done && (_k = formElements_1.return)) _k.call(formElements_1);
|
|
46380
|
+
}
|
|
46381
|
+
finally { if (e_1) throw e_1.error; }
|
|
46382
|
+
}
|
|
46383
|
+
}
|
|
46323
46384
|
invalid = !formRef.current.checkValidity();
|
|
46324
46385
|
}
|
|
46325
46386
|
else if (errorType === 'inline') {
|
|
@@ -46337,8 +46398,8 @@ function setFormElementError(_a) {
|
|
|
46337
46398
|
elementRepeatIndex: index || 0
|
|
46338
46399
|
})];
|
|
46339
46400
|
case 1:
|
|
46340
|
-
|
|
46341
|
-
|
|
46401
|
+
_l.sent();
|
|
46402
|
+
_l.label = 2;
|
|
46342
46403
|
case 2: return [2 /*return*/, invalid];
|
|
46343
46404
|
}
|
|
46344
46405
|
});
|
|
@@ -46383,6 +46444,27 @@ function fetchS3File(url) {
|
|
|
46383
46444
|
});
|
|
46384
46445
|
});
|
|
46385
46446
|
}
|
|
46447
|
+
/**
|
|
46448
|
+
* Process file_values from a backend response: fetch files from S3 and
|
|
46449
|
+
* update fieldValues + filePathMap. Used by session, logic rule, and
|
|
46450
|
+
* extraction completion responses.
|
|
46451
|
+
*/
|
|
46452
|
+
function processFileValues(fileValues) {
|
|
46453
|
+
if (!fileValues || Object.keys(fileValues).length === 0)
|
|
46454
|
+
return;
|
|
46455
|
+
var filePromises = objectMap(fileValues, function (fileOrFiles) {
|
|
46456
|
+
return Array.isArray(fileOrFiles)
|
|
46457
|
+
? fileOrFiles.map(function (f) { return fetchS3File(f.url); })
|
|
46458
|
+
: fetchS3File(fileOrFiles.url);
|
|
46459
|
+
});
|
|
46460
|
+
var newFilePathMap = objectMap(fileValues, function (fileOrFiles) {
|
|
46461
|
+
return Array.isArray(fileOrFiles)
|
|
46462
|
+
? fileOrFiles.map(function (f) { return f.path; })
|
|
46463
|
+
: fileOrFiles.path;
|
|
46464
|
+
});
|
|
46465
|
+
Object.assign(fieldValues, filePromises);
|
|
46466
|
+
Object.assign(filePathMap, newFilePathMap);
|
|
46467
|
+
}
|
|
46386
46468
|
// Update the map we maintain to track files that have already been uploaded to S3
|
|
46387
46469
|
// This means nulling the existing mapping because the user uploaded a new file
|
|
46388
46470
|
function clearFilePathMapEntry(key, index) {
|
|
@@ -47623,39 +47705,39 @@ breakpoint) {
|
|
|
47623
47705
|
return styles.getTarget('inner-container', undefined, viewport === 'mobile');
|
|
47624
47706
|
};
|
|
47625
47707
|
|
|
47626
|
-
var AddressLine1 = lazy$1(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
47627
|
-
var ButtonGroupField = lazy$1(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
47628
|
-
var CheckboxField = lazy$1(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
47708
|
+
var AddressLine1 = lazy$1(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.C66TZtvg.js'); });
|
|
47709
|
+
var ButtonGroupField = lazy$1(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.B4YaHgh4.js'); });
|
|
47710
|
+
var CheckboxField = lazy$1(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.CZWTrmM6.js'); });
|
|
47629
47711
|
var CheckboxGroupField = lazy$1(function () {
|
|
47630
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
47712
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.BxuwIE29.js');
|
|
47631
47713
|
});
|
|
47632
|
-
var ColorPickerField = lazy$1(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
47633
|
-
var CustomField = lazy$1(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
47714
|
+
var ColorPickerField = lazy$1(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.CkVNoCvZ.js'); });
|
|
47715
|
+
var CustomField = lazy$1(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.BeaMdjin.js'); });
|
|
47634
47716
|
var DateSelectorField = lazy$1(function () {
|
|
47635
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
47717
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.D_3nLa7a.js');
|
|
47636
47718
|
});
|
|
47637
|
-
var DropdownField = lazy$1(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
47719
|
+
var DropdownField = lazy$1(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.CUMthLyE.js'); });
|
|
47638
47720
|
var DropdownMultiField = lazy$1(function () {
|
|
47639
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
47721
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.DV21IHCb.js');
|
|
47640
47722
|
});
|
|
47641
|
-
var FileUploadField = lazy$1(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
47642
|
-
var MatrixField = lazy$1(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
47643
|
-
var PasswordField = lazy$1(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
47723
|
+
var FileUploadField = lazy$1(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.C8myrllR.js'); });
|
|
47724
|
+
var MatrixField = lazy$1(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.CUEyiObD.js'); });
|
|
47725
|
+
var PasswordField = lazy$1(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.J9398MtH.js'); });
|
|
47644
47726
|
var PaymentMethodField = lazy$1(function () {
|
|
47645
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
47727
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.Dh5MF0LI.js');
|
|
47646
47728
|
});
|
|
47647
|
-
var PhoneField = lazy$1(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
47648
|
-
var PinInputField = lazy$1(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
47649
|
-
var QRScanner = lazy$1(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
47729
|
+
var PhoneField = lazy$1(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.IY-OVjmW.js'); });
|
|
47730
|
+
var PinInputField = lazy$1(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.Bucqzak_.js'); });
|
|
47731
|
+
var QRScanner = lazy$1(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.DvowDLEg.js'); });
|
|
47650
47732
|
var RadioButtonGroupField = lazy$1(function () {
|
|
47651
47733
|
return import(
|
|
47652
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
47734
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.V3meYKWw.js');
|
|
47653
47735
|
});
|
|
47654
|
-
var RatingField = lazy$1(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
47655
|
-
var SignatureField = lazy$1(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
47656
|
-
var SliderField = lazy$1(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
47657
|
-
var TextField = lazy$1(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
47658
|
-
var TextArea = lazy$1(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
47736
|
+
var RatingField = lazy$1(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.Dqwx_Xiz.js'); });
|
|
47737
|
+
var SignatureField = lazy$1(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.JnEAOhWW.js'); });
|
|
47738
|
+
var SliderField = lazy$1(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.CN6hw5PJ.js'); });
|
|
47739
|
+
var TextField = lazy$1(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.D6BnFXF1.js'); });
|
|
47740
|
+
var TextArea = lazy$1(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.DW8swWIW.js'); });
|
|
47659
47741
|
var Fields = {
|
|
47660
47742
|
AddressLine1: AddressLine1,
|
|
47661
47743
|
ButtonGroupField: ButtonGroupField,
|
|
@@ -48605,7 +48687,7 @@ function ElementSkeleton(_a) {
|
|
|
48605
48687
|
}
|
|
48606
48688
|
var templateObject_1;
|
|
48607
48689
|
|
|
48608
|
-
var TableElement = lazy$1(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
48690
|
+
var TableElement = lazy$1(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.fNt6f0eq.js'); });
|
|
48609
48691
|
var Basic = {
|
|
48610
48692
|
ImageElement: ImageElement,
|
|
48611
48693
|
VideoElement: VideoElement,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as __read, a as jsxs, _ as __assign, j as jsx, h as hoverStylesGuard } from './fthry_index.
|
|
1
|
+
import { b as __read, a as jsxs, _ as __assign, j as jsx, h as hoverStylesGuard } from './fthry_index.C9QHgBp-.js';
|
|
2
2
|
import { useState, useEffect } from 'react';
|
|
3
|
-
import { S as SliderStyles, a as Slider } from './fthry_styles.
|
|
3
|
+
import { S as SliderStyles, a as Slider } from './fthry_styles.Dzz2nMkG.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as __read, j as jsx, F as Fragment, x as isMobile, a as jsxs, _ as __assign, q as FORM_Z_INDEX, i as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { b as __read, j as jsx, F as Fragment, x as isMobile, a as jsxs, _ as __assign, q as FORM_Z_INDEX, i as iosScrollOnFocus } from './fthry_index.C9QHgBp-.js';
|
|
2
2
|
import { useState, useRef, useMemo } from 'react';
|
|
3
|
-
import { O as Overlay, T as Tooltip } from './fthry_Overlay.
|
|
4
|
-
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.
|
|
3
|
+
import { O as Overlay, T as Tooltip } from './fthry_Overlay.BrCGPX8T.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.CZWTrmM6.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { j as jsx, _ as __assign, u as useBorder, b as __read, A as countryData, c as fieldValues, a as jsxs, h as hoverStylesGuard, v as css, w as __makeTemplateObject, G as Global, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { j as jsx, _ as __assign, u as useBorder, b as __read, A as countryData, c as fieldValues, a as jsxs, h as hoverStylesGuard, v as css, w as __makeTemplateObject, G as Global, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.C9QHgBp-.js';
|
|
2
2
|
import { useState, useRef, useEffect } from 'react';
|
|
3
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
4
|
-
import { u as useSalesforceSync } from './fthry_useSalesforceSync.
|
|
3
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DfUPmZIX.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.DM_5Ow-9.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import './fthry_Overlay.
|
|
9
|
+
import './fthry_Overlay.BrCGPX8T.js';
|
|
10
10
|
|
|
11
11
|
var ae = [
|
|
12
12
|
{ name: 'Abu Dhabi', code: 'AZ' },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __assign, h as hoverStylesGuard, a as jsxs, j as jsx, i as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { _ as __assign, h as hoverStylesGuard, a as jsxs, j as jsx, i as iosScrollOnFocus } from './fthry_index.C9QHgBp-.js';
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as __read, a as jsxs$1, _ as __assign, j as jsx$1, q as FORM_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { b as __read, a as jsxs$1, _ as __assign, j as jsx$1, q as FORM_Z_INDEX } from './fthry_index.C9QHgBp-.js';
|
|
2
2
|
import React__default, { useRef, useEffect, useCallback, useState, useMemo, Fragment } from 'react';
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { a as jsxs, _ as __assign, j as jsx, D as DROPDOWN_Z_INDEX, b as __read, u as useBorder, at as getFieldValue, s as stringifyWithNull, h as hoverStylesGuard, i as iosScrollOnFocus, q as FORM_Z_INDEX, r as resetStyles, au as emailPatternStr } from './fthry_index.
|
|
1
|
+
import { a as jsxs, _ as __assign, j as jsx, D as DROPDOWN_Z_INDEX, b as __read, u as useBorder, at as getFieldValue, s as stringifyWithNull, h as hoverStylesGuard, i as iosScrollOnFocus, q as FORM_Z_INDEX, r as resetStyles, au as emailPatternStr } from './fthry_index.C9QHgBp-.js';
|
|
2
2
|
import { memo, useRef, useState } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { O as Overlay } from './fthry_Overlay.
|
|
6
|
-
import { u as useElementSize } from './fthry_useElementSize.
|
|
7
|
-
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.
|
|
8
|
-
import { a as IMaskInput } from './fthry_input.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.Mu_R6Bg4.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DfUPmZIX.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.BrCGPX8T.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.D6DGF_QM.js';
|
|
7
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.zaqisbFn.js';
|
|
8
|
+
import { a as IMaskInput } from './fthry_input.DAwMxIXG.js';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'react-dom/client';
|
|
11
11
|
import 'jszip';
|
|
12
12
|
import 'react-dom';
|
|
13
|
-
import './fthry_index.
|
|
13
|
+
import './fthry_index.GXsYMSN_.js';
|
|
14
14
|
|
|
15
15
|
function TextAutocomplete(_a) {
|
|
16
16
|
var _b = _a.allOptions, allOptions = _b === void 0 ? [] : _b, showOptions = _a.showOptions, _c = _a.onSelect, onSelect = _c === void 0 ? function () { } : _c, _d = _a.onHide, onHide = _d === void 0 ? function () { } : _d, _e = _a.onInputFocus, onInputFocus = _e === void 0 ? function () { } : _e, _f = _a.value, value = _f === void 0 ? '' : _f, containerRef = _a.containerRef, responsiveStyles = _a.responsiveStyles, listItemRef = _a.listItemRef, children = _a.children;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { B as stringify, C as rulesheet, H as COMMENT, I as middleware, R as RULESET, J as combine, K as match, L as serialize, M as copy, N as replace, W as WEBKIT, O as MOZ, P as MS, Q as KEYFRAMES, S as DECLARATION, T as dealloc, U as alloc, V as hash, X as charat, Y as strlen, Z as indexof, $ as next, a0 as token, a1 as from, a2 as peek, a3 as delimit, a4 as slice, a5 as position, a6 as compile, j as jsx$1, _ as __assign, a as jsxs, F as Fragment$1, y as __rest, b as __read, q as FORM_Z_INDEX, t as featheryWindow, f as featheryDoc, e as __spreadArray, d as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { B as stringify, C as rulesheet, H as COMMENT, I as middleware, R as RULESET, J as combine, K as match, L as serialize, M as copy, N as replace, W as WEBKIT, O as MOZ, P as MS, Q as KEYFRAMES, S as DECLARATION, T as dealloc, U as alloc, V as hash, X as charat, Y as strlen, Z as indexof, $ as next, a0 as token, a1 as from, a2 as peek, a3 as delimit, a4 as slice, a5 as position, a6 as compile, j as jsx$1, _ as __assign, a as jsxs, F as Fragment$1, y as __rest, b as __read, q as FORM_Z_INDEX, t as featheryWindow, f as featheryDoc, e as __spreadArray, d as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.C9QHgBp-.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { useState, useCallback, forwardRef, useContext, useLayoutEffect, useEffect, createContext, useRef, useMemo, Component, Fragment } from 'react';
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { P as Placeholder$2 } from './fthry_Placeholder.
|
|
6
|
-
import { u as useSalesforceSync } from './fthry_useSalesforceSync.
|
|
7
|
-
import { T as Tooltip, O as Overlay } from './fthry_Overlay.
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DfUPmZIX.js';
|
|
5
|
+
import { P as Placeholder$2 } from './fthry_Placeholder.Mu_R6Bg4.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.DM_5Ow-9.js';
|
|
7
|
+
import { T as Tooltip, O as Overlay } from './fthry_Overlay.BrCGPX8T.js';
|
|
8
8
|
import { createPortal } from 'react-dom';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'react-dom/client';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { b as __read, u as useBorder, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { b as __read, u as useBorder, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, r as resetStyles } from './fthry_index.C9QHgBp-.js';
|
|
2
2
|
import { memo, useState, useRef } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.Mu_R6Bg4.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DfUPmZIX.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import './fthry_Overlay.
|
|
9
|
+
import './fthry_Overlay.BrCGPX8T.js';
|
|
10
10
|
|
|
11
11
|
function TextArea(_a) {
|
|
12
12
|
var element = _a.element, responsiveStyles = _a.responsiveStyles, fieldLabel = _a.fieldLabel, _b = _a.elementProps, elementProps = _b === void 0 ? {} : _b, _c = _a.required, required = _c === void 0 ? false : _c, _d = _a.disabled, disabled = _d === void 0 ? false : _d, editMode = _a.editMode, _e = _a.onChange, onChange = _e === void 0 ? function () { } : _e, _f = _a.setRef, setRef = _f === void 0 ? function () { } : _f, _g = _a.rawValue, rawValue = _g === void 0 ? '' : _g, inlineError = _a.inlineError, _h = _a.repeatIndex, repeatIndex = _h === void 0 ? null : _h, children = _a.children;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { j as jsx, G as Global, v as css, w as __makeTemplateObject, _ as __assign, b as __read, x as isMobile, t as featheryWindow, f as featheryDoc, u as useBorder, a as jsxs$1, h as hoverStylesGuard, r as resetStyles, y as __rest, z as formatDateString } from './fthry_index.
|
|
1
|
+
import { j as jsx, G as Global, v as css, w as __makeTemplateObject, _ as __assign, b as __read, x as isMobile, t as featheryWindow, f as featheryDoc, u as useBorder, a as jsxs$1, h as hoverStylesGuard, r as resetStyles, y as __rest, z as formatDateString } from './fthry_index.C9QHgBp-.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { useMemo, useLayoutEffect, cloneElement, createRef, Component, useRef, useCallback, useEffect, createElement, memo, useState } from 'react';
|
|
4
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
5
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
4
|
+
import { P as Placeholder } from './fthry_Placeholder.Mu_R6Bg4.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DfUPmZIX.js';
|
|
6
6
|
import { jsxs, jsx as jsx$1 } from 'react/jsx-runtime';
|
|
7
7
|
import * as ReactDOM from 'react-dom';
|
|
8
8
|
import ReactDOM__default from 'react-dom';
|
|
9
|
-
import { I as IMask, a as IMaskInput } from './fthry_input.
|
|
9
|
+
import { I as IMask, a as IMaskInput } from './fthry_input.DAwMxIXG.js';
|
|
10
10
|
import 'react-dom/client';
|
|
11
11
|
import 'jszip';
|
|
12
|
-
import './fthry_Overlay.
|
|
13
|
-
import './fthry_index.
|
|
12
|
+
import './fthry_Overlay.BrCGPX8T.js';
|
|
13
|
+
import './fthry_index.GXsYMSN_.js';
|
|
14
14
|
|
|
15
15
|
var PORTAL_CONTAINER_CLASS = '.react-datepicker__portal';
|
|
16
16
|
var DATEPICKER_PADDING_TOP_VALUE = '--datepicker-pad-top';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as jsx, _ as __assign, b as __read, a as jsxs, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { j as jsx, _ as __assign, b as __read, a as jsxs, E as ErrorInput } from './fthry_index.C9QHgBp-.js';
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { k as __awaiter, l as __generator, e as __spreadArray, b as __read, d as __values, t as featheryWindow, al as loadQRScanner, am as throttle, j as jsx, a as jsxs, _ as __assign, F as Fragment, E as ErrorInput, an as qrPromise } from './fthry_index.
|
|
1
|
+
import { k as __awaiter, l as __generator, e as __spreadArray, b as __read, d as __values, t as featheryWindow, al as loadQRScanner, am as throttle, j as jsx, a as jsxs, _ as __assign, F as Fragment, E as ErrorInput, an as qrPromise } from './fthry_index.C9QHgBp-.js';
|
|
2
2
|
import React__default, { useEffect, useCallback } from 'react';
|
|
3
|
-
import { S as SliderStyles, a as Slider } from './fthry_styles.
|
|
3
|
+
import { S as SliderStyles, a as Slider } from './fthry_styles.Dzz2nMkG.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { y as __rest, b as __read, A as countryData, ag as phoneLib, ah as authState, ai as firebaseSMSCountries, a as jsxs, j as jsx, _ as __assign, F as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, aj as phoneLibPromise, h as hoverStylesGuard, ak as isNum, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { y as __rest, b as __read, A as countryData, ag as phoneLib, ah as authState, ai as firebaseSMSCountries, a as jsxs, j as jsx, _ as __assign, F as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, aj as phoneLibPromise, h as hoverStylesGuard, ak as isNum, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.C9QHgBp-.js';
|
|
2
2
|
import { forwardRef, useRef, useState, useEffect, useMemo, memo } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { O as Overlay } from './fthry_Overlay.
|
|
6
|
-
import { u as useElementSize } from './fthry_useElementSize.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.Mu_R6Bg4.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DfUPmZIX.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.BrCGPX8T.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.D6DGF_QM.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { u as useBorder, b as __read, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, i as iosScrollOnFocus, q as FORM_Z_INDEX, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { u as useBorder, b as __read, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, i as iosScrollOnFocus, q as FORM_Z_INDEX, r as resetStyles } from './fthry_index.C9QHgBp-.js';
|
|
2
2
|
import { memo, useState, useRef } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.Mu_R6Bg4.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DfUPmZIX.js';
|
|
5
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.zaqisbFn.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import 'react-dom/client';
|
|
8
8
|
import 'jszip';
|
|
9
9
|
import 'react-dom';
|
|
10
|
-
import './fthry_Overlay.
|
|
10
|
+
import './fthry_Overlay.BrCGPX8T.js';
|
|
11
11
|
|
|
12
12
|
function PasswordField(_a) {
|
|
13
13
|
var _b;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as featheryDoc, ao as devicePixelRatio, g as getDefaultExportFromCjs, b as __read, a as jsxs, j as jsx, _ as __assign, F as Fragment, k as __awaiter, l as __generator, ap as toBase64, n as debounce, aq as MODAL_Z_INDEX, ab as CloseIcon, ar as dataURLToFile, q as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { f as featheryDoc, ao as devicePixelRatio, g as getDefaultExportFromCjs, b as __read, a as jsxs, j as jsx, _ as __assign, F as Fragment, k as __awaiter, l as __generator, ap as toBase64, n as debounce, aq as MODAL_Z_INDEX, ab as CloseIcon, ar as dataURLToFile, q as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.C9QHgBp-.js';
|
|
2
2
|
import React__default, { Component, forwardRef, useState, useRef, useImperativeHandle, useEffect, useCallback, Suspense } from 'react';
|
|
3
|
-
import { P as PropTypes } from './fthry_index.
|
|
3
|
+
import { P as PropTypes } from './fthry_index.GXsYMSN_.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1452,7 +1452,7 @@ function SignatureField(_a) {
|
|
|
1452
1452
|
useEffect(function () {
|
|
1453
1453
|
if (!global.webfontloaderPromise)
|
|
1454
1454
|
global.webfontloaderPromise = import(
|
|
1455
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
1455
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.I68gPpHE.js').then(function (n) { return n.w; });
|
|
1456
1456
|
global.webfontloaderPromise.then(function (WebFont) {
|
|
1457
1457
|
WebFont.load({ google: { families: ['La Belle Aurore'] } });
|
|
1458
1458
|
});
|