@feathery/react 2.22.1 → 2.23.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/components/ActionToast/index.d.ts +2 -1
- package/cjs/Form/components/ActionToast/index.d.ts.map +1 -1
- package/cjs/Form/components/Assistant/MarkdownText.d.ts +7 -0
- package/cjs/Form/components/Assistant/MarkdownText.d.ts.map +1 -0
- package/cjs/Form/components/Assistant/ToolStatus.d.ts +12 -0
- package/cjs/Form/components/Assistant/ToolStatus.d.ts.map +1 -0
- package/cjs/Form/components/Assistant/colors.d.ts +17 -0
- package/cjs/Form/components/Assistant/colors.d.ts.map +1 -0
- package/cjs/Form/components/Assistant/icons.d.ts +9 -0
- package/cjs/Form/components/Assistant/icons.d.ts.map +1 -0
- package/cjs/Form/components/Assistant/index.d.ts +8 -0
- package/cjs/Form/components/Assistant/index.d.ts.map +1 -0
- package/cjs/Form/index.d.ts.map +1 -1
- package/cjs/{fthry_FormControl.DO1VrNhK.js → fthry_FormControl.CTwLDqQX.js} +1 -1
- package/cjs/{fthry_InlineTooltip.By-RR6_f.js → fthry_InlineTooltip.R7o5S9Hi.js} +2 -2
- package/cjs/{fthry_Overlay.DWYTsRft.js → fthry_Overlay.aL6ya79H.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.BK4kwCOK.js → fthry_PaymentMethodField.DLFdpNBi.js} +4 -4
- package/cjs/{fthry_Placeholder.6RgPOXj2.js → fthry_Placeholder.BZtsn8fz.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.Bn3FCzSJ.js → fthry_ShowEyeIcon.DNr8tAO2.js} +1 -1
- package/cjs/{fthry_index.Cv6mZaeK.js → fthry_index.4VrFlleU.js} +3 -3
- package/cjs/{fthry_index.yRyX68Km.js → fthry_index.B4FRRpgr.js} +1 -1
- package/cjs/{fthry_index.VkoiOsK9.js → fthry_index.B6VC3yvc.js} +2 -2
- package/cjs/{fthry_index.Y9ysXndZ.js → fthry_index.BBe95Bfl.js} +2 -2
- package/cjs/{fthry_index.Gx6e2BxN.js → fthry_index.BKITOPaK.js} +6 -6
- package/cjs/{fthry_index.k_4_AZEy.js → fthry_index.BdO-WOSW.js} +1 -1
- package/cjs/{fthry_index.DzPmH3iY.js → fthry_index.BeZPHYEW.js} +1 -1
- package/cjs/fthry_index.BnFW3Myv.js +10154 -0
- package/cjs/{fthry_index.DyZ1R4Ss.js → fthry_index.BxtiIxtR.js} +5 -5
- package/cjs/{fthry_index.B21E8fM3.js → fthry_index.C9ZNNKBl.js} +1 -1
- package/cjs/{fthry_index.Ctj468qV.js → fthry_index.CJ4fQh0Q.js} +1 -1
- package/cjs/{fthry_index.S71Qur9B.js → fthry_index.CKclXUEz.js} +1 -1
- package/cjs/{fthry_index.DFwy8zPz.js → fthry_index.CuALcFA0.js} +4 -4
- package/cjs/{fthry_index.Dz3HdZ1B.js → fthry_index.D4TokwJO.js} +3 -3
- package/cjs/{fthry_index.BH6XhQdp.js → fthry_index.D7WPMS-e.js} +8 -8
- package/cjs/{fthry_index.BtybYc89.js → fthry_index.DG9GFt5B.js} +6 -6
- package/cjs/{fthry_index.DSSKVn_1.js → fthry_index.DLgrd3kv.js} +1 -1
- package/cjs/{fthry_index.CQ1H9R8w.js → fthry_index.DUmDjh10.js} +127 -82
- package/cjs/{fthry_index.Vzvb_jcV.js → fthry_index.DUsXh3p4.js} +6 -6
- package/cjs/{fthry_index.CeQp5dil.js → fthry_index.DrOR5X_e.js} +1 -1
- package/cjs/{fthry_index.D4smc8or.js → fthry_index.NnlX5lQm.js} +5 -5
- package/cjs/{fthry_index.DfbrnR6k.js → fthry_index.Pgo2Mu9x.js} +5 -5
- package/cjs/{fthry_index.SwhJFwYK.js → fthry_index._QY6Jk0r.js} +4 -4
- package/cjs/{fthry_index.CWdkg5Zm.js → fthry_index.jT0ywpWI.js} +5 -5
- package/cjs/{fthry_index.CCS0xFt5.js → fthry_index.vkA9iK7B.js} +4 -4
- package/cjs/{fthry_input.DrPPpTdq.js → fthry_input.Lj-vEccg.js} +1 -1
- package/cjs/{fthry_script.BKkDPtX8.js → fthry_script.KoeCqMxj.js} +1 -1
- package/cjs/{fthry_styles.D3wpqY9E.js → fthry_styles.Cy6qRjM_.js} +1 -1
- package/cjs/{fthry_useElementSize.DN3P3ek_.js → fthry_useElementSize.CPxkbWYF.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.DsBDJDOJ.js → fthry_useSalesforceSync.vKBJt6Ec.js} +1 -1
- package/cjs/{fthry_webfontloader.DVRrUK76.js → fthry_webfontloader.CFS5EJ_U.js} +1 -1
- package/cjs/index.js +1 -1
- package/cjs/utils/formHelperFunctions.d.ts +3 -0
- package/cjs/utils/formHelperFunctions.d.ts.map +1 -1
- package/dist/Form/components/ActionToast/index.d.ts +2 -1
- package/dist/Form/components/ActionToast/index.d.ts.map +1 -1
- package/dist/Form/components/Assistant/MarkdownText.d.ts +7 -0
- package/dist/Form/components/Assistant/MarkdownText.d.ts.map +1 -0
- package/dist/Form/components/Assistant/ToolStatus.d.ts +12 -0
- package/dist/Form/components/Assistant/ToolStatus.d.ts.map +1 -0
- package/dist/Form/components/Assistant/colors.d.ts +17 -0
- package/dist/Form/components/Assistant/colors.d.ts.map +1 -0
- package/dist/Form/components/Assistant/icons.d.ts +9 -0
- package/dist/Form/components/Assistant/icons.d.ts.map +1 -0
- package/dist/Form/components/Assistant/index.d.ts +8 -0
- package/dist/Form/components/Assistant/index.d.ts.map +1 -0
- package/dist/Form/index.d.ts.map +1 -1
- package/dist/{fthry_FormControl.BxUrokqK.js → fthry_FormControl.CZJ1jn_X.js} +1 -1
- package/dist/{fthry_InlineTooltip.Ci5tV_wI.js → fthry_InlineTooltip.BI9A2ISt.js} +2 -2
- package/dist/{fthry_Overlay.DerqCNin.js → fthry_Overlay.CR5UzcJA.js} +1 -1
- package/dist/{fthry_PaymentMethodField.7kpfN-kk.js → fthry_PaymentMethodField.CjqJ8yIr.js} +4 -4
- package/dist/{fthry_Placeholder.4DL4VrHk.js → fthry_Placeholder.CVztEMPo.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.B630O_g-.js → fthry_ShowEyeIcon.Ou0z80Bk.js} +1 -1
- package/dist/{fthry_index.xli19cfL.js → fthry_index.B3yyXgjw.js} +6 -6
- package/dist/{fthry_index.CYGDbYS_.js → fthry_index.BBmBREM8.js} +3 -3
- package/dist/{fthry_index.Co1N5Wm2.js → fthry_index.BHOEgj_J.js} +4 -4
- package/dist/{fthry_index.YlaxQQbB.js → fthry_index.BNYfMPtP.js} +1 -1
- package/dist/{fthry_index.D8pad3ZV.js → fthry_index.BOZNibb0.js} +1 -1
- package/dist/{fthry_index.3MYBbcV6.js → fthry_index.BPrCG1DF.js} +1 -1
- package/dist/{fthry_index.jH4iMUwU.js → fthry_index.BcuiRv7L.js} +5 -5
- package/dist/{fthry_index.Dt1cSACI.js → fthry_index.BlTczd9f.js} +6 -6
- package/dist/{fthry_index.B5P56Wdn.js → fthry_index.BnuKisSC.js} +1 -1
- package/dist/{fthry_index.D7-zC56j.js → fthry_index.Bpe9va3I.js} +2 -2
- package/dist/{fthry_index.9PP8aHAm.js → fthry_index.BzvJX38E.js} +5 -5
- package/dist/{fthry_index.CZq04f_l.js → fthry_index.C1G-XNqF.js} +4 -4
- package/dist/{fthry_index.CgmyiGp_.js → fthry_index.CDrJFqsv.js} +6 -6
- package/dist/{fthry_index.CKr9necb.js → fthry_index.CSglnt5z.js} +1 -1
- package/dist/{fthry_index.B7Uxlphu.js → fthry_index.CTKMi2rG.js} +1 -1
- package/dist/{fthry_index.5O3QvVEZ.js → fthry_index.CkJMRFNl.js} +8 -8
- package/dist/{fthry_index.B4025Nic.js → fthry_index.CoZvVNqs.js} +5 -5
- package/dist/{fthry_index.DCoMERuc.js → fthry_index.CtYFxOlM.js} +3 -3
- package/dist/{fthry_index.BDrpWWPf.js → fthry_index.D3lSuyak.js} +83 -39
- package/dist/fthry_index.D7y9hs7B.js +10152 -0
- package/dist/{fthry_index.9SEFAxVs.js → fthry_index.DAS7h09M.js} +1 -1
- package/dist/{fthry_index.DhUtbNbg.js → fthry_index.DE3fEAl4.js} +4 -4
- package/dist/{fthry_index.DE5w1XVV.js → fthry_index.DQw3p27A.js} +5 -5
- package/dist/{fthry_index.BAWUo-9K.js → fthry_index.FXwX6-R-.js} +1 -1
- package/dist/{fthry_index.DQhNMB2b.js → fthry_index.pLuBEDzM.js} +2 -2
- package/dist/{fthry_input.Bzvv0Hez.js → fthry_input.DRka84YM.js} +1 -1
- package/dist/{fthry_script.Df3ctynl.js → fthry_script.CwI252bu.js} +1 -1
- package/dist/{fthry_styles.DBhQHgTf.js → fthry_styles.PyyCyYCJ.js} +1 -1
- package/dist/{fthry_useElementSize.C9CvRCmV.js → fthry_useElementSize.zEQ3--PI.js} +1 -1
- package/dist/{fthry_useSalesforceSync.CFutmtD2.js → fthry_useSalesforceSync.BaADT2cu.js} +1 -1
- package/dist/{fthry_webfontloader.BX5mmtRG.js → fthry_webfontloader.DY9HYBTa.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/formHelperFunctions.d.ts +3 -0
- package/dist/utils/formHelperFunctions.d.ts.map +1 -1
- package/package.json +5 -2
- package/umd/790.4e933b431624db11eeec.js +1 -0
- package/umd/AssistantChat.ffb5ce7ab5b0350a9159.js +1 -0
- package/umd/index.js +1 -1
|
@@ -7476,7 +7476,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
7476
7476
|
_a.sent();
|
|
7477
7477
|
userId = initInfo().userId;
|
|
7478
7478
|
params = encodeGetParams(exports.__assign({ form_key: this.formKey, fuser_key: userId }, kwargs));
|
|
7479
|
-
return [4 /*yield*/, this._fetch("".concat(API_URL, "plaid/link_token/?").concat(params))];
|
|
7479
|
+
return [4 /*yield*/, this._fetch("".concat(exports.API_URL, "plaid/link_token/?").concat(params))];
|
|
7480
7480
|
case 2:
|
|
7481
7481
|
res = _a.sent();
|
|
7482
7482
|
if (!res)
|
|
@@ -7505,7 +7505,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
7505
7505
|
form_key: this.formKey,
|
|
7506
7506
|
fuser_key: userId
|
|
7507
7507
|
});
|
|
7508
|
-
url = "".concat(API_URL, "plaid/verification_status/?").concat(params);
|
|
7508
|
+
url = "".concat(exports.API_URL, "plaid/verification_status/?").concat(params);
|
|
7509
7509
|
return [2 /*return*/, this._fetch(url).then(function (response) {
|
|
7510
7510
|
return response ? response.json() : Promise.resolve();
|
|
7511
7511
|
})];
|
|
@@ -7522,7 +7522,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
7522
7522
|
case 1:
|
|
7523
7523
|
_a.sent();
|
|
7524
7524
|
userId = initInfo().userId;
|
|
7525
|
-
url = "".concat(API_URL, "plaid/user_data/");
|
|
7525
|
+
url = "".concat(exports.API_URL, "plaid/user_data/");
|
|
7526
7526
|
data = {
|
|
7527
7527
|
public_token: publicToken,
|
|
7528
7528
|
form_key: this.formKey,
|
|
@@ -7553,7 +7553,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
7553
7553
|
form_key: this.formKey,
|
|
7554
7554
|
fuser_key: userId
|
|
7555
7555
|
});
|
|
7556
|
-
url = "".concat(API_URL, "argyle/user_token/?").concat(params);
|
|
7556
|
+
url = "".concat(exports.API_URL, "argyle/user_token/?").concat(params);
|
|
7557
7557
|
return [2 /*return*/, this._fetch(url).then(function (response) {
|
|
7558
7558
|
return response ? response.json() : Promise.resolve();
|
|
7559
7559
|
})];
|
|
@@ -7574,7 +7574,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
7574
7574
|
form_key: this.formKey,
|
|
7575
7575
|
fuser_key: userId
|
|
7576
7576
|
};
|
|
7577
|
-
url = "".concat(API_URL, "flinks/authorize-iframe/?").concat(encodeGetParams(params));
|
|
7577
|
+
url = "".concat(exports.API_URL, "flinks/authorize-iframe/?").concat(encodeGetParams(params));
|
|
7578
7578
|
return [2 /*return*/, this._fetch(url)];
|
|
7579
7579
|
}
|
|
7580
7580
|
});
|
|
@@ -7598,7 +7598,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
7598
7598
|
params.login_id = loginId;
|
|
7599
7599
|
if (token)
|
|
7600
7600
|
params.token = token;
|
|
7601
|
-
url = "".concat(API_URL, "flinks/login-id/?").concat(encodeGetParams(params));
|
|
7601
|
+
url = "".concat(exports.API_URL, "flinks/login-id/?").concat(encodeGetParams(params));
|
|
7602
7602
|
return [2 /*return*/, this._fetch(url)];
|
|
7603
7603
|
}
|
|
7604
7604
|
});
|
|
@@ -7610,20 +7610,20 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
7610
7610
|
country: country,
|
|
7611
7611
|
city_search: city ? 'true' : ''
|
|
7612
7612
|
});
|
|
7613
|
-
var url = "".concat(API_URL, "integration/address/search/?").concat(params);
|
|
7613
|
+
var url = "".concat(exports.API_URL, "integration/address/search/?").concat(params);
|
|
7614
7614
|
return this._fetch(url).then(function (response) {
|
|
7615
7615
|
return response ? response.json() : Promise.resolve();
|
|
7616
7616
|
});
|
|
7617
7617
|
};
|
|
7618
7618
|
IntegrationClient.prototype.addressDetail = function (addressId) {
|
|
7619
7619
|
var params = encodeGetParams({ address_id: addressId });
|
|
7620
|
-
var url = "".concat(API_URL, "integration/address/detail/?").concat(params);
|
|
7620
|
+
var url = "".concat(exports.API_URL, "integration/address/detail/?").concat(params);
|
|
7621
7621
|
return this._fetch(url).then(function (response) {
|
|
7622
7622
|
return response ? response.json() : Promise.resolve();
|
|
7623
7623
|
});
|
|
7624
7624
|
};
|
|
7625
7625
|
IntegrationClient.prototype.verifyRecaptchaToken = function (token) {
|
|
7626
|
-
var url = "".concat(API_URL, "google/recaptcha/verify/");
|
|
7626
|
+
var url = "".concat(exports.API_URL, "google/recaptcha/verify/");
|
|
7627
7627
|
var options = {
|
|
7628
7628
|
headers: { 'Content-Type': 'application/json' },
|
|
7629
7629
|
method: 'POST',
|
|
@@ -7643,7 +7643,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
7643
7643
|
case 1:
|
|
7644
7644
|
_a.sent();
|
|
7645
7645
|
userId = initInfo().userId;
|
|
7646
|
-
url = "".concat(API_URL, "stripe/payment_method/");
|
|
7646
|
+
url = "".concat(exports.API_URL, "stripe/payment_method/");
|
|
7647
7647
|
data = exports.__assign(exports.__assign({ form_key: this.formKey }, (userId ? { user_id: userId } : {})), { field_id: paymentMethodFieldId });
|
|
7648
7648
|
options = {
|
|
7649
7649
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -7668,7 +7668,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
7668
7668
|
_a.sent();
|
|
7669
7669
|
userId = initInfo().userId;
|
|
7670
7670
|
params = encodeGetParams(exports.__assign(exports.__assign({ field_id: paymentMethodFieldId, form_key: this.formKey }, (userId ? { user_id: userId } : {})), { stripe_payment_method_id: stripePaymentMethodId }));
|
|
7671
|
-
url = "".concat(API_URL, "stripe/payment_method/card/?").concat(params);
|
|
7671
|
+
url = "".concat(exports.API_URL, "stripe/payment_method/card/?").concat(params);
|
|
7672
7672
|
return [2 /*return*/, this._fetch(url).then(function (response) {
|
|
7673
7673
|
return response ? response.json() : Promise.resolve();
|
|
7674
7674
|
})];
|
|
@@ -7687,7 +7687,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
7687
7687
|
case 1:
|
|
7688
7688
|
_a.sent();
|
|
7689
7689
|
userId = initInfo().userId;
|
|
7690
|
-
url = "".concat(API_URL, "stripe/payment/");
|
|
7690
|
+
url = "".concat(exports.API_URL, "stripe/payment/");
|
|
7691
7691
|
data = exports.__assign({ form_key: this.formKey, user_id: userId }, extraParams);
|
|
7692
7692
|
options = {
|
|
7693
7693
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -7713,7 +7713,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
7713
7713
|
case 1:
|
|
7714
7714
|
_a.sent();
|
|
7715
7715
|
userId = initInfo().userId;
|
|
7716
|
-
url = "".concat(API_URL, "stripe/checkout/");
|
|
7716
|
+
url = "".concat(exports.API_URL, "stripe/checkout/");
|
|
7717
7717
|
data = {
|
|
7718
7718
|
form_key: this.formKey,
|
|
7719
7719
|
user_id: userId,
|
|
@@ -7738,7 +7738,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
7738
7738
|
var _this = this;
|
|
7739
7739
|
return __generator(this, function (_a) {
|
|
7740
7740
|
userId = initInfo().userId;
|
|
7741
|
-
url = "".concat(API_URL, "otp/send/");
|
|
7741
|
+
url = "".concat(exports.API_URL, "otp/send/");
|
|
7742
7742
|
options = {
|
|
7743
7743
|
headers: { 'Content-Type': 'application/json' },
|
|
7744
7744
|
method: 'POST',
|
|
@@ -7776,7 +7776,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
7776
7776
|
var _this = this;
|
|
7777
7777
|
return __generator(this, function (_a) {
|
|
7778
7778
|
userId = initInfo().userId;
|
|
7779
|
-
url = "".concat(API_URL, "otp/send/");
|
|
7779
|
+
url = "".concat(exports.API_URL, "otp/send/");
|
|
7780
7780
|
options = {
|
|
7781
7781
|
headers: { 'Content-Type': 'application/json' },
|
|
7782
7782
|
method: 'POST',
|
|
@@ -7815,7 +7815,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
7815
7815
|
var _this = this;
|
|
7816
7816
|
return __generator(this, function (_a) {
|
|
7817
7817
|
userId = initInfo().userId;
|
|
7818
|
-
url = "".concat(API_URL, "otp/verify/");
|
|
7818
|
+
url = "".concat(exports.API_URL, "otp/verify/");
|
|
7819
7819
|
options = {
|
|
7820
7820
|
headers: { 'Content-Type': 'application/json' },
|
|
7821
7821
|
method: 'POST',
|
|
@@ -7880,7 +7880,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
7880
7880
|
var _this = this;
|
|
7881
7881
|
var documents = _a.documents, fillData = _a.fillData, emailSubject = _a.emailSubject, emailBlurb = _a.emailBlurb, signers = _a.signers;
|
|
7882
7882
|
var userId = initInfo().userId;
|
|
7883
|
-
var url = "".concat(API_URL, "docusign/envelope/");
|
|
7883
|
+
var url = "".concat(exports.API_URL, "docusign/envelope/");
|
|
7884
7884
|
var options = {
|
|
7885
7885
|
headers: { 'Content-Type': 'application/json' },
|
|
7886
7886
|
method: 'POST',
|
|
@@ -8062,7 +8062,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
8062
8062
|
switch (_d.label) {
|
|
8063
8063
|
case 0:
|
|
8064
8064
|
userId = initInfo().userId;
|
|
8065
|
-
initialUrl = "".concat(API_URL, "telesign/silent/initial/");
|
|
8065
|
+
initialUrl = "".concat(exports.API_URL, "telesign/silent/initial/");
|
|
8066
8066
|
options = {
|
|
8067
8067
|
headers: { 'Content-Type': 'application/json' },
|
|
8068
8068
|
method: 'POST',
|
|
@@ -8102,7 +8102,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
8102
8102
|
form_key: this.formKey,
|
|
8103
8103
|
fuser_key: userId
|
|
8104
8104
|
};
|
|
8105
|
-
finalUrl = "".concat(API_URL, "telesign/silent/final/?").concat(encodeGetParams(params));
|
|
8105
|
+
finalUrl = "".concat(exports.API_URL, "telesign/silent/final/?").concat(encodeGetParams(params));
|
|
8106
8106
|
return [4 /*yield*/, this._fetch(finalUrl, {})];
|
|
8107
8107
|
case 4:
|
|
8108
8108
|
finalResponse = _d.sent();
|
|
@@ -8130,7 +8130,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
8130
8130
|
switch (_a.label) {
|
|
8131
8131
|
case 0:
|
|
8132
8132
|
userId = initInfo().userId;
|
|
8133
|
-
url = "".concat(API_URL, "telesign/phone_type/");
|
|
8133
|
+
url = "".concat(exports.API_URL, "telesign/phone_type/");
|
|
8134
8134
|
options = {
|
|
8135
8135
|
headers: { 'Content-Type': 'application/json' },
|
|
8136
8136
|
method: 'POST',
|
|
@@ -8161,7 +8161,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
8161
8161
|
switch (_a.label) {
|
|
8162
8162
|
case 0:
|
|
8163
8163
|
userId = initInfo().userId;
|
|
8164
|
-
url = "".concat(API_URL, "telesign/otp/").concat(mode, "/");
|
|
8164
|
+
url = "".concat(exports.API_URL, "telesign/otp/").concat(mode, "/");
|
|
8165
8165
|
options = {
|
|
8166
8166
|
headers: { 'Content-Type': 'application/json' },
|
|
8167
8167
|
method: 'POST',
|
|
@@ -8191,7 +8191,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
8191
8191
|
form_key: this.formKey,
|
|
8192
8192
|
fuser_key: userId
|
|
8193
8193
|
};
|
|
8194
|
-
url = "".concat(API_URL, "telesign/otp/verify/?").concat(encodeGetParams(params));
|
|
8194
|
+
url = "".concat(exports.API_URL, "telesign/otp/verify/?").concat(encodeGetParams(params));
|
|
8195
8195
|
return [4 /*yield*/, this._fetch(url)];
|
|
8196
8196
|
case 1:
|
|
8197
8197
|
response = _c.sent();
|
|
@@ -8235,7 +8235,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
8235
8235
|
switch (_d.label) {
|
|
8236
8236
|
case 0:
|
|
8237
8237
|
userId = initInfo().userId;
|
|
8238
|
-
url = "".concat(API_URL, "alloy/journey/application/");
|
|
8238
|
+
url = "".concat(exports.API_URL, "alloy/journey/application/");
|
|
8239
8239
|
reqOptions = {
|
|
8240
8240
|
headers: { 'Content-Type': 'application/json' },
|
|
8241
8241
|
method: 'POST',
|
|
@@ -8270,7 +8270,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
8270
8270
|
switch (_d.label) {
|
|
8271
8271
|
case 0:
|
|
8272
8272
|
userId = initInfo().userId;
|
|
8273
|
-
url = "".concat(API_URL, "loanpro/customer/create/");
|
|
8273
|
+
url = "".concat(exports.API_URL, "loanpro/customer/create/");
|
|
8274
8274
|
reqOptions = {
|
|
8275
8275
|
headers: { 'Content-Type': 'application/json' },
|
|
8276
8276
|
method: 'POST',
|
|
@@ -8304,7 +8304,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
8304
8304
|
switch (_d.label) {
|
|
8305
8305
|
case 0:
|
|
8306
8306
|
userId = initInfo().userId;
|
|
8307
|
-
url = "".concat(API_URL, "loanpro/customer/search/");
|
|
8307
|
+
url = "".concat(exports.API_URL, "loanpro/customer/search/");
|
|
8308
8308
|
reqOptions = {
|
|
8309
8309
|
headers: { 'Content-Type': 'application/json' },
|
|
8310
8310
|
method: 'POST',
|
|
@@ -8337,7 +8337,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
8337
8337
|
switch (_d.label) {
|
|
8338
8338
|
case 0:
|
|
8339
8339
|
userId = initInfo().userId;
|
|
8340
|
-
url = "".concat(API_URL, "schwab/create_contact/");
|
|
8340
|
+
url = "".concat(exports.API_URL, "schwab/create_contact/");
|
|
8341
8341
|
reqOptions = {
|
|
8342
8342
|
headers: { 'Content-Type': 'application/json' },
|
|
8343
8343
|
method: 'POST',
|
|
@@ -8382,7 +8382,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
8382
8382
|
return __generator(this, function (_a) {
|
|
8383
8383
|
switch (_a.label) {
|
|
8384
8384
|
case 0:
|
|
8385
|
-
url = "".concat(API_URL, "salesforce/field/options/");
|
|
8385
|
+
url = "".concat(exports.API_URL, "salesforce/field/options/");
|
|
8386
8386
|
params = new URLSearchParams({
|
|
8387
8387
|
object_name: objectName,
|
|
8388
8388
|
field_name: fieldName,
|
|
@@ -38756,12 +38756,12 @@ var getTitle = function (data) {
|
|
|
38756
38756
|
}
|
|
38757
38757
|
return 'Scanning Documents';
|
|
38758
38758
|
};
|
|
38759
|
-
var ActionToast = function (_a) {
|
|
38759
|
+
var ActionToast = React.forwardRef(function (_a, ref) {
|
|
38760
38760
|
var data = _a.data, _b = _a.bottom, bottom = _b === void 0 ? 20 : _b;
|
|
38761
38761
|
var _c = __read(React.useState(true), 2), isToastExpanded = _c[0], setIsToastExpanded = _c[1];
|
|
38762
38762
|
if (data.length === 0)
|
|
38763
38763
|
return null;
|
|
38764
|
-
return (jsxs("div", exports.__assign({ css: {
|
|
38764
|
+
return (jsxs("div", exports.__assign({ ref: ref, css: {
|
|
38765
38765
|
position: 'fixed',
|
|
38766
38766
|
bottom: "".concat(bottom, "px"),
|
|
38767
38767
|
right: '16px',
|
|
@@ -38792,7 +38792,7 @@ var ActionToast = function (_a) {
|
|
|
38792
38792
|
maxHeight: '384px',
|
|
38793
38793
|
overflowY: 'auto'
|
|
38794
38794
|
} }, { children: data.map(function (item, index) { return (jsx$1(ToastItem, { item: item }, index)); }) })))] })));
|
|
38795
|
-
};
|
|
38795
|
+
});
|
|
38796
38796
|
|
|
38797
38797
|
// Type guard function
|
|
38798
38798
|
function isAIExtractionAction(action) {
|
|
@@ -39094,6 +39094,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
|
|
|
39094
39094
|
}, [activeStep, stepKey, formName]);
|
|
39095
39095
|
}
|
|
39096
39096
|
|
|
39097
|
+
var AssistantChat = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "AssistantChat" */ './fthry_index.BnFW3Myv.js'); }); });
|
|
39097
39098
|
var getSubmissionErrorMessage = function (error) {
|
|
39098
39099
|
if (error instanceof TypeError && error.message === 'Failed to fetch') {
|
|
39099
39100
|
return 'Unable to upload files. Please check your connection and try again.';
|
|
@@ -39163,7 +39164,10 @@ function Form(_a) {
|
|
|
39163
39164
|
clearHideIfFields: false,
|
|
39164
39165
|
completionBehavior: '',
|
|
39165
39166
|
globalStyles: {},
|
|
39166
|
-
mobileBreakpoint: DEFAULT_MOBILE_BREAKPOINT
|
|
39167
|
+
mobileBreakpoint: DEFAULT_MOBILE_BREAKPOINT,
|
|
39168
|
+
assistantEnabled: false,
|
|
39169
|
+
assistantContext: '',
|
|
39170
|
+
assistantColor: '#6b7280'
|
|
39167
39171
|
}), 2), formSettings = _12[0], setFormSettings = _12[1];
|
|
39168
39172
|
var trackHashes = React.useRef(false);
|
|
39169
39173
|
var curLanguage = React.useRef(undefined);
|
|
@@ -39316,7 +39320,41 @@ function Form(_a) {
|
|
|
39316
39320
|
});
|
|
39317
39321
|
}, [setLoaders]);
|
|
39318
39322
|
var _30 = useAIExtractionToast(), currentActionExtractions = _30.currentActionExtractions, initializeActionExtractions = _30.initializeActionExtractions, updateExtractionInAction = _30.updateExtractionInAction, handleExtractionStatusUpdate = _30.handleExtractionStatusUpdate;
|
|
39319
|
-
|
|
39323
|
+
// Track if any extraction has completed (for showing assistant)
|
|
39324
|
+
// eventually we will always show the assistant regardless of extraction status
|
|
39325
|
+
var _31 = __read(React.useState(false), 2), hasCompletedExtraction = _31[0], setHasCompletedExtraction = _31[1];
|
|
39326
|
+
React.useEffect(function () {
|
|
39327
|
+
if (!hasCompletedExtraction &&
|
|
39328
|
+
currentActionExtractions.some(function (e) { return e.status === 'complete'; })) {
|
|
39329
|
+
setHasCompletedExtraction(true);
|
|
39330
|
+
}
|
|
39331
|
+
}, [currentActionExtractions, hasCompletedExtraction]);
|
|
39332
|
+
var _32 = useEnvelopeGenerationToast(), currentEnvelopeGeneration = _32.currentEnvelopeGeneration, initializeEnvelopeGeneration = _32.initializeEnvelopeGeneration, updateEnvelopeGeneration = _32.updateEnvelopeGeneration;
|
|
39333
|
+
// Track ActionToast height for positioning WorkflowChat above it
|
|
39334
|
+
var _33 = __read(React.useState(0), 2), actionToastHeight = _33[0], setActionToastHeight = _33[1];
|
|
39335
|
+
var actionToastRef = React.useRef(null);
|
|
39336
|
+
var actionToastObserverRef = React.useRef(null);
|
|
39337
|
+
// Reset height when toast data becomes empty
|
|
39338
|
+
var actionToastData = React.useMemo(function () { return __spreadArray(__spreadArray([], __read(currentActionExtractions), false), __read(currentEnvelopeGeneration), false); }, [currentActionExtractions, currentEnvelopeGeneration]);
|
|
39339
|
+
React.useEffect(function () {
|
|
39340
|
+
if (actionToastData.length === 0) {
|
|
39341
|
+
setActionToastHeight(0);
|
|
39342
|
+
}
|
|
39343
|
+
}, [actionToastData.length]);
|
|
39344
|
+
var setActionToastRef = React.useCallback(function (node) {
|
|
39345
|
+
if (actionToastObserverRef.current) {
|
|
39346
|
+
actionToastObserverRef.current.disconnect();
|
|
39347
|
+
actionToastObserverRef.current = null;
|
|
39348
|
+
}
|
|
39349
|
+
actionToastRef.current = node;
|
|
39350
|
+
if (node) {
|
|
39351
|
+
var observer = new ResizeObserver(function (entries) {
|
|
39352
|
+
setActionToastHeight(entries[0].contentRect.height);
|
|
39353
|
+
});
|
|
39354
|
+
observer.observe(node);
|
|
39355
|
+
actionToastObserverRef.current = observer;
|
|
39356
|
+
}
|
|
39357
|
+
}, []);
|
|
39320
39358
|
// Tracks element to focus
|
|
39321
39359
|
var focusRef = React.useRef(undefined);
|
|
39322
39360
|
// Tracks the execution of user-provided callback functions
|
|
@@ -39391,7 +39429,7 @@ function Form(_a) {
|
|
|
39391
39429
|
setRequiredStepAction(requiredStepAction);
|
|
39392
39430
|
}, [activeStep === null || activeStep === void 0 ? void 0 : activeStep.id]);
|
|
39393
39431
|
// viewElements state
|
|
39394
|
-
var
|
|
39432
|
+
var _34 = __read(React.useState([]), 2), viewElements = _34[0], setViewElements = _34[1];
|
|
39395
39433
|
React.useEffect(function () {
|
|
39396
39434
|
setViewElements(onViewElements);
|
|
39397
39435
|
}, [onViewElements.length]);
|
|
@@ -39535,7 +39573,7 @@ function Form(_a) {
|
|
|
39535
39573
|
return true;
|
|
39536
39574
|
};
|
|
39537
39575
|
// For audio AI only right now
|
|
39538
|
-
var
|
|
39576
|
+
var _35 = __read(React.useState(_pollFuserData), 2), pollFuserData = _35[0], setPollFuserData = _35[1];
|
|
39539
39577
|
usePollFuserData(pollFuserData, client, updateFieldValues);
|
|
39540
39578
|
var eventCallbackMap = {
|
|
39541
39579
|
change: onChange,
|
|
@@ -40322,7 +40360,7 @@ function Form(_a) {
|
|
|
40322
40360
|
});
|
|
40323
40361
|
}); };
|
|
40324
40362
|
// usePayments (Stripe)
|
|
40325
|
-
var
|
|
40363
|
+
var _36 = __read(usePayments(), 2), getCardElement = _36[0], setCardElement = _36[1];
|
|
40326
40364
|
function setupStepPaymentMethod(formattedFields) {
|
|
40327
40365
|
return __awaiter$2(this, void 0, void 0, function () {
|
|
40328
40366
|
var i, field, integrationData, actionData, actionResult;
|
|
@@ -40655,7 +40693,7 @@ function Form(_a) {
|
|
|
40655
40693
|
}
|
|
40656
40694
|
return state;
|
|
40657
40695
|
};
|
|
40658
|
-
var
|
|
40696
|
+
var _37 = useCheckButtonAction(setButtonLoader, clearLoaders), isButtonActionRunning = _37.isButtonActionRunning, updateButtonActionState = _37.updateButtonActionState, clearButtonActionState = _37.clearButtonActionState, setUserLogicRunning = _37.setUserLogicRunning;
|
|
40659
40697
|
var buttonOnClick = function (button) { return __awaiter$2(_this, void 0, void 0, function () {
|
|
40660
40698
|
var setButtonError, actions, preOpenedWindows, invalid, running, e_5;
|
|
40661
40699
|
var _a;
|
|
@@ -41757,10 +41795,13 @@ function Form(_a) {
|
|
|
41757
41795
|
navigate(getNewStepUrl(stepKey));
|
|
41758
41796
|
else
|
|
41759
41797
|
setStepKey(stepKey);
|
|
41760
|
-
}, formName: formName, draft: _draft, visible: !hideTestUI })), global.firebase && (jsx$1("div", { id: 'featheryRecaptcha', style: { position: 'absolute', visibility: 'hidden' } })), jsx$1(Watermark, { show: formSettings.showBrand, brandPosition: formSettings.brandPosition }), jsx$1(ActionToast, {
|
|
41798
|
+
}, formName: formName, draft: _draft, visible: !hideTestUI })), global.firebase && (jsx$1("div", { id: 'featheryRecaptcha', style: { position: 'absolute', visibility: 'hidden' } })), jsx$1(Watermark, { show: formSettings.showBrand, brandPosition: formSettings.brandPosition }), jsx$1(ActionToast, { ref: setActionToastRef, data: actionToastData, bottom: formSettings.showBrand &&
|
|
41761
41799
|
formSettings.brandPosition === 'bottom_right'
|
|
41762
41800
|
? 67
|
|
41763
|
-
: 20 })
|
|
41801
|
+
: 20 }), formSettings.assistantEnabled && hasCompletedExtraction && (jsx$1(React.Suspense, exports.__assign({ fallback: null }, { children: jsx$1(AssistantChat, { formId: formId, bottom: (formSettings.showBrand &&
|
|
41802
|
+
formSettings.brandPosition === 'bottom_right'
|
|
41803
|
+
? 67
|
|
41804
|
+
: 20) + (actionToastHeight > 0 ? actionToastHeight + 10 : 0), color: formSettings.assistantColor }) })))] })) })));
|
|
41764
41805
|
}
|
|
41765
41806
|
// normal <Form /> (aka ReactForm) component is exported with just `props:
|
|
41766
41807
|
// Props`, so need this component to support exposing _internalId for use in
|
|
@@ -44694,7 +44735,7 @@ try {
|
|
|
44694
44735
|
distExports$2.setEnvironment((process.env.BACKEND_ENV || 'production'));
|
|
44695
44736
|
}
|
|
44696
44737
|
catch (e) { } // process.env won't exist in production build
|
|
44697
|
-
|
|
44738
|
+
exports.API_URL = distExports$2.getApiUrl();
|
|
44698
44739
|
var CDN_URL = distExports$2.getCdnUrl();
|
|
44699
44740
|
var STATIC_URL = distExports$2.getStaticUrl();
|
|
44700
44741
|
var S3_URL = distExports$2.getS3Url();
|
|
@@ -44707,7 +44748,7 @@ var updateRegionApiUrls = function (region) {
|
|
|
44707
44748
|
if (!environmentMap[region])
|
|
44708
44749
|
return;
|
|
44709
44750
|
distExports$2.setEnvironment(environmentMap[region]);
|
|
44710
|
-
API_URL = distExports$2.getApiUrl();
|
|
44751
|
+
exports.API_URL = distExports$2.getApiUrl();
|
|
44711
44752
|
CDN_URL = distExports$2.getCdnUrl();
|
|
44712
44753
|
STATIC_URL = distExports$2.getStaticUrl();
|
|
44713
44754
|
S3_URL = distExports$2.getS3Url();
|
|
@@ -44812,7 +44853,7 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
44812
44853
|
if (servars.length === 0)
|
|
44813
44854
|
return [2 /*return*/, Promise.resolve()];
|
|
44814
44855
|
_a = initInfo(), userId = _a.userId, collaboratorId = _a.collaboratorId;
|
|
44815
|
-
url = "".concat(API_URL, "panel/step/submit/v3/");
|
|
44856
|
+
url = "".concat(exports.API_URL, "panel/step/submit/v3/");
|
|
44816
44857
|
data = {
|
|
44817
44858
|
fuser_key: userId,
|
|
44818
44859
|
step_key: stepKey,
|
|
@@ -44918,7 +44959,7 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
44918
44959
|
switch (_a.label) {
|
|
44919
44960
|
case 0:
|
|
44920
44961
|
userId = initInfo().userId;
|
|
44921
|
-
url = "".concat(API_URL, "panel/step/submit/file/").concat(userId, "/");
|
|
44962
|
+
url = "".concat(exports.API_URL, "panel/step/submit/file/").concat(userId, "/");
|
|
44922
44963
|
formData = new FormData();
|
|
44923
44964
|
return [4 /*yield*/, this._getFileValue(servar)];
|
|
44924
44965
|
case 1:
|
|
@@ -44998,7 +45039,7 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
44998
45039
|
if (merge === void 0) { merge = false; }
|
|
44999
45040
|
var oldUserId = initInfo().userId;
|
|
45000
45041
|
var data = exports.__assign({ new_fuser_key: newUserId, merge: merge }, (oldUserId ? { fuser_key: oldUserId } : {}));
|
|
45001
|
-
var url = "".concat(API_URL, "fuser/update_key/");
|
|
45042
|
+
var url = "".concat(exports.API_URL, "fuser/update_key/");
|
|
45002
45043
|
var options = {
|
|
45003
45044
|
headers: { 'Content-Type': 'application/json' },
|
|
45004
45045
|
method: 'PATCH',
|
|
@@ -45008,7 +45049,7 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
45008
45049
|
};
|
|
45009
45050
|
FeatheryClient.prototype.pollUserData = function () {
|
|
45010
45051
|
var userId = initInfo().userId;
|
|
45011
|
-
var url = "".concat(API_URL, "fuser/poll/?fuser_key=").concat(userId);
|
|
45052
|
+
var url = "".concat(exports.API_URL, "fuser/poll/?fuser_key=").concat(userId);
|
|
45012
45053
|
return this._fetch(url);
|
|
45013
45054
|
};
|
|
45014
45055
|
FeatheryClient.prototype.setDefaultFormValues = function (_a) {
|
|
@@ -45105,7 +45146,7 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
45105
45146
|
draft: this.draft,
|
|
45106
45147
|
theme: theme
|
|
45107
45148
|
});
|
|
45108
|
-
var baseURL = this.bypassCDN ? API_URL : CDN_URL;
|
|
45149
|
+
var baseURL = this.bypassCDN ? exports.API_URL : CDN_URL;
|
|
45109
45150
|
var url = "".concat(baseURL, "panel/v20/?").concat(params);
|
|
45110
45151
|
var options = {
|
|
45111
45152
|
importance: 'high',
|
|
@@ -45201,7 +45242,7 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
45201
45242
|
params.no_data = 'true';
|
|
45202
45243
|
// @ts-expect-error TS(2322): Type 'string' is not assignable to type '{ form_ke... Remove this comment to see the full error message
|
|
45203
45244
|
params = encodeGetParams(params);
|
|
45204
|
-
url = "".concat(API_URL, "panel/session/v3/?").concat(params);
|
|
45245
|
+
url = "".concat(exports.API_URL, "panel/session/v3/?").concat(params);
|
|
45205
45246
|
options = { importance: 'high' };
|
|
45206
45247
|
return [4 /*yield*/, this._fetch(url, options)];
|
|
45207
45248
|
case 4:
|
|
@@ -45251,7 +45292,7 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
45251
45292
|
case 1:
|
|
45252
45293
|
_d.sent();
|
|
45253
45294
|
data = exports.__assign({ auth_id: authId, auth_data: authData, auth_form_key: authState.authFormKey, is_stytch_template_key: isStytchTemplateKey }, (userId ? { fuser_key: userId } : {}));
|
|
45254
|
-
url = "".concat(API_URL, "panel/update_auth/v3/");
|
|
45295
|
+
url = "".concat(exports.API_URL, "panel/update_auth/v3/");
|
|
45255
45296
|
options = {
|
|
45256
45297
|
headers: { 'Content-Type': 'application/json' },
|
|
45257
45298
|
method: 'PATCH',
|
|
@@ -45307,7 +45348,7 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
45307
45348
|
customKeyValues = exports.__assign({}, this.pendingCustomFieldUpdates);
|
|
45308
45349
|
this.pendingCustomFieldUpdates = {}; // Clear pending updates after copying them
|
|
45309
45350
|
userId = initInfo().userId;
|
|
45310
|
-
url = "".concat(API_URL, "panel/custom/submit/v3/");
|
|
45351
|
+
url = "".concat(exports.API_URL, "panel/custom/submit/v3/");
|
|
45311
45352
|
jsonKeyVals = {};
|
|
45312
45353
|
formData = new FormData();
|
|
45313
45354
|
return [4 /*yield*/, Promise.all(Object.entries(customKeyValues).map(function (_a) {
|
|
@@ -45508,7 +45549,7 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
45508
45549
|
case 1:
|
|
45509
45550
|
_b.sent();
|
|
45510
45551
|
_a = initInfo(), userId = _a.userId, collaboratorId = _a.collaboratorId;
|
|
45511
|
-
url = "".concat(API_URL, "event/");
|
|
45552
|
+
url = "".concat(exports.API_URL, "event/");
|
|
45512
45553
|
data = exports.__assign(exports.__assign({ form_key: this.formKey }, eventData), (userId ? { fuser_key: userId } : {}));
|
|
45513
45554
|
if (collaboratorId)
|
|
45514
45555
|
data.collaborator_user = collaboratorId;
|
|
@@ -45571,7 +45612,7 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
45571
45612
|
};
|
|
45572
45613
|
if (collaboratorId)
|
|
45573
45614
|
data.collaborator_id = collaboratorId;
|
|
45574
|
-
var url = "".concat(API_URL, "panel/logic-rule/execute/");
|
|
45615
|
+
var url = "".concat(exports.API_URL, "panel/logic-rule/execute/");
|
|
45575
45616
|
var options = {
|
|
45576
45617
|
headers: { 'Content-Type': 'application/json' },
|
|
45577
45618
|
method: 'POST',
|
|
@@ -45623,7 +45664,7 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
45623
45664
|
return __generator(this, function (_a) {
|
|
45624
45665
|
switch (_a.label) {
|
|
45625
45666
|
case 0:
|
|
45626
|
-
url = "".concat(API_URL, "account/config/");
|
|
45667
|
+
url = "".concat(exports.API_URL, "account/config/");
|
|
45627
45668
|
reqOptions = {
|
|
45628
45669
|
headers: { 'Content-Type': 'application/json' },
|
|
45629
45670
|
method: 'POST',
|
|
@@ -45653,7 +45694,7 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
45653
45694
|
};
|
|
45654
45695
|
if (collaboratorId)
|
|
45655
45696
|
params.collaborator_user = collaboratorId;
|
|
45656
|
-
url = "".concat(API_URL, "collaborator/verify/?").concat(encodeGetParams(params));
|
|
45697
|
+
url = "".concat(exports.API_URL, "collaborator/verify/?").concat(encodeGetParams(params));
|
|
45657
45698
|
return [2 /*return*/, this._fetch(url).then(function (response) {
|
|
45658
45699
|
return response ? response.json() : Promise.resolve();
|
|
45659
45700
|
})];
|
|
@@ -45693,7 +45734,7 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
45693
45734
|
email = exports.fieldValues[rewindEmailKey];
|
|
45694
45735
|
if (email)
|
|
45695
45736
|
data.rewind_email = email;
|
|
45696
|
-
url = "".concat(API_URL, "collaborator/rewind/");
|
|
45737
|
+
url = "".concat(exports.API_URL, "collaborator/rewind/");
|
|
45697
45738
|
return [2 /*return*/, this._fetch(url, {
|
|
45698
45739
|
headers: { 'Content-Type': 'application/json' },
|
|
45699
45740
|
method: 'PATCH',
|
|
@@ -45730,7 +45771,7 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
45730
45771
|
fuser_key: userId,
|
|
45731
45772
|
template_id: templateId
|
|
45732
45773
|
};
|
|
45733
|
-
url = "".concat(API_URL, "collaborator/complete/");
|
|
45774
|
+
url = "".concat(exports.API_URL, "collaborator/complete/");
|
|
45734
45775
|
return [2 /*return*/, this._fetch(url, {
|
|
45735
45776
|
headers: { 'Content-Type': 'application/json' },
|
|
45736
45777
|
method: 'PATCH',
|
|
@@ -45802,7 +45843,7 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
45802
45843
|
userId = initInfo().userId;
|
|
45803
45844
|
if (!userId)
|
|
45804
45845
|
return [2 /*return*/];
|
|
45805
|
-
url = "".concat(API_URL, "panel/step/submit/file/").concat(userId, "/");
|
|
45846
|
+
url = "".concat(exports.API_URL, "panel/step/submit/file/").concat(userId, "/");
|
|
45806
45847
|
return [4 /*yield*/, Promise.all(fieldKeys.map(function (key) {
|
|
45807
45848
|
return _this.offlineRequestHandler.resetRetryAttemptsByUrl(url, {
|
|
45808
45849
|
fieldKey: key
|
|
@@ -45932,9 +45973,9 @@ function init(sdkKey, options) {
|
|
|
45932
45973
|
if (runningInClient()) {
|
|
45933
45974
|
// Dynamically load libraries that must be client side
|
|
45934
45975
|
global.scriptjsLoadPromise = Promise.resolve().then(function () { return require(
|
|
45935
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
45976
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.KoeCqMxj.js'); }).then(function (n) { return n.script; });
|
|
45936
45977
|
global.webfontloaderPromise = Promise.resolve().then(function () { return require(
|
|
45937
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
45978
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.CFS5EJ_U.js'); }).then(function (n) { return n.webfontloader; });
|
|
45938
45979
|
// Client-side tracking logic
|
|
45939
45980
|
if (initState.userTracking === 'cookie') {
|
|
45940
45981
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -46080,7 +46121,7 @@ function getFieldValues() {
|
|
|
46080
46121
|
return exports.__assign({}, exports.fieldValues);
|
|
46081
46122
|
}
|
|
46082
46123
|
function logFeatheryBadge() {
|
|
46083
|
-
console.log('%c Feathery %c v' + "2.
|
|
46124
|
+
console.log('%c Feathery %c v' + "2.23.0" + ' ', // replaced with real version during build
|
|
46084
46125
|
'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;');
|
|
46085
46126
|
}
|
|
46086
46127
|
|
|
@@ -46361,7 +46402,10 @@ function mapFormSettingsResponse(res) {
|
|
|
46361
46402
|
globalStyles: res.global_styles,
|
|
46362
46403
|
saveHideIfFields: res.save_hide_if_fields,
|
|
46363
46404
|
clearHideIfFields: res.clear_hide_if_fields,
|
|
46364
|
-
mobileBreakpoint: (_a = res.mobile_breakpoint) !== null && _a !== void 0 ? _a : DEFAULT_MOBILE_BREAKPOINT
|
|
46405
|
+
mobileBreakpoint: (_a = res.mobile_breakpoint) !== null && _a !== void 0 ? _a : DEFAULT_MOBILE_BREAKPOINT,
|
|
46406
|
+
assistantEnabled: res.assistant_enabled,
|
|
46407
|
+
assistantContext: res.assistant_context,
|
|
46408
|
+
assistantColor: res.assistant_color ? "#".concat(res.assistant_color) : '#6b7280'
|
|
46365
46409
|
};
|
|
46366
46410
|
}
|
|
46367
46411
|
function updateCustomHead(headCode) {
|
|
@@ -47508,39 +47552,39 @@ breakpoint) {
|
|
|
47508
47552
|
return styles.getTarget('inner-container', undefined, viewport === 'mobile');
|
|
47509
47553
|
};
|
|
47510
47554
|
|
|
47511
|
-
var AddressLine1 = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
47512
|
-
var ButtonGroupField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
47513
|
-
var CheckboxField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
47555
|
+
var AddressLine1 = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "AddressField" */ './fthry_index.NnlX5lQm.js'); }); });
|
|
47556
|
+
var ButtonGroupField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.vkA9iK7B.js'); }); });
|
|
47557
|
+
var CheckboxField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "CheckboxField" */ './fthry_index.B4FRRpgr.js'); }); });
|
|
47514
47558
|
var CheckboxGroupField = React.lazy(function () {
|
|
47515
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
47559
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.BKITOPaK.js'); });
|
|
47516
47560
|
});
|
|
47517
|
-
var ColorPickerField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
47518
|
-
var CustomField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
47561
|
+
var ColorPickerField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "ColorPickerField" */ './fthry_index.BeZPHYEW.js'); }); });
|
|
47562
|
+
var CustomField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "CustomField" */ './fthry_index.CKclXUEz.js'); }); });
|
|
47519
47563
|
var DateSelectorField = React.lazy(function () {
|
|
47520
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
47564
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DateSelectorField" */ './fthry_index.DUsXh3p4.js'); });
|
|
47521
47565
|
});
|
|
47522
|
-
var DropdownField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
47566
|
+
var DropdownField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "DropdownField" */ './fthry_index.CuALcFA0.js'); }); });
|
|
47523
47567
|
var DropdownMultiField = React.lazy(function () {
|
|
47524
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
47568
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.jT0ywpWI.js'); });
|
|
47525
47569
|
});
|
|
47526
|
-
var FileUploadField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
47527
|
-
var MatrixField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
47528
|
-
var PasswordField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
47570
|
+
var FileUploadField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "FileUploadField" */ './fthry_index.DrOR5X_e.js'); }); });
|
|
47571
|
+
var MatrixField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "MatrixField" */ './fthry_index.4VrFlleU.js'); }); });
|
|
47572
|
+
var PasswordField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "PasswordField" */ './fthry_index.BxtiIxtR.js'); }); });
|
|
47529
47573
|
var PaymentMethodField = React.lazy(function () {
|
|
47530
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
47574
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.DLFdpNBi.js'); });
|
|
47531
47575
|
});
|
|
47532
|
-
var PhoneField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
47533
|
-
var PinInputField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
47534
|
-
var QRScanner = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
47576
|
+
var PhoneField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "PhoneField" */ './fthry_index.Pgo2Mu9x.js'); }); });
|
|
47577
|
+
var PinInputField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "PinInputField" */ './fthry_index.DLgrd3kv.js'); }); });
|
|
47578
|
+
var QRScanner = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "QRScanner" */ './fthry_index.B6VC3yvc.js'); }); });
|
|
47535
47579
|
var RadioButtonGroupField = React.lazy(function () {
|
|
47536
47580
|
return Promise.resolve().then(function () { return require(
|
|
47537
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
47581
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.DG9GFt5B.js'); });
|
|
47538
47582
|
});
|
|
47539
|
-
var RatingField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
47540
|
-
var SignatureField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
47541
|
-
var SliderField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
47542
|
-
var TextField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
47543
|
-
var TextArea = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
47583
|
+
var RatingField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "RatingField" */ './fthry_index.BdO-WOSW.js'); }); });
|
|
47584
|
+
var SignatureField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "SignatureField" */ './fthry_index.D4TokwJO.js'); }); });
|
|
47585
|
+
var SliderField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "SliderField" */ './fthry_index.BBe95Bfl.js'); }); });
|
|
47586
|
+
var TextField = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TextField" */ './fthry_index.D7WPMS-e.js'); }); });
|
|
47587
|
+
var TextArea = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TextArea" */ './fthry_index._QY6Jk0r.js'); }); });
|
|
47544
47588
|
var Fields = {
|
|
47545
47589
|
AddressLine1: AddressLine1,
|
|
47546
47590
|
ButtonGroupField: ButtonGroupField,
|
|
@@ -48480,7 +48524,7 @@ function ElementSkeleton(_a) {
|
|
|
48480
48524
|
}
|
|
48481
48525
|
var templateObject_1;
|
|
48482
48526
|
|
|
48483
|
-
var TableElement = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
48527
|
+
var TableElement = React.lazy(function () { return Promise.resolve().then(function () { return require(/* webpackChunkName: "TableElement" */ './fthry_index.CJ4fQh0Q.js'); }); });
|
|
48484
48528
|
var Basic = {
|
|
48485
48529
|
ImageElement: ImageElement,
|
|
48486
48530
|
VideoElement: VideoElement,
|
|
@@ -48836,6 +48880,7 @@ exports.hoverStylesGuard = hoverStylesGuard;
|
|
|
48836
48880
|
exports.imgMaxSizeStyles = imgMaxSizeStyles;
|
|
48837
48881
|
exports.indexof = indexof;
|
|
48838
48882
|
exports.init = init;
|
|
48883
|
+
exports.initInfo = initInfo;
|
|
48839
48884
|
exports.iosScrollOnFocus = iosScrollOnFocus;
|
|
48840
48885
|
exports.isEmptyArray = isEmptyArray;
|
|
48841
48886
|
exports.isMobile = isMobile;
|