@feathery/react 2.53.3 → 2.54.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/elements/basic/TextElement.d.ts.map +1 -1
- package/cjs/elements/fields/MatrixField/index.d.ts.map +1 -1
- package/cjs/{fthry_AssistantChat.D43YRv5r.js → fthry_AssistantChat.Yv0G1kZO.js} +6 -6
- package/cjs/{fthry_FormControl.DHk-2YM8.js → fthry_FormControl.WOVYxS6m.js} +1 -1
- package/cjs/{fthry_InlineTooltip.DWRWFLk2.js → fthry_InlineTooltip.DaTcjB43.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.B4ErZL5T.js → fthry_PaymentMethodField.Cf159zh-.js} +3 -3
- package/cjs/{fthry_Placeholder.B0ywwkhL.js → fthry_Placeholder.Bq-84gni.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.Pkoo2fzF.js → fthry_ShowEyeIcon.HOf4JJil.js} +1 -1
- package/cjs/{fthry_TabsElement.D9bJSn2Z.js → fthry_TabsElement.svBBid7j.js} +1 -1
- package/cjs/{fthry_auto-track.DSrqcmcB.js → fthry_auto-track.Dzo5Yo0N.js} +2 -2
- package/cjs/{fthry_highlighted-body-TPN3WLV5.BJ_y-ysb.js → fthry_highlighted-body-TPN3WLV5.BUp-V8LU.js} +3 -3
- package/cjs/{fthry_index.FdEPgI_L.js → fthry_index.BFloedig.js} +2 -2
- package/cjs/{fthry_index.BPT2ebxq.js → fthry_index.Bktn3eyQ.js} +4 -4
- package/cjs/{fthry_index.BB6LA_I-.js → fthry_index.BlCUaAXG.js} +1 -1
- package/cjs/{fthry_index.BBzlPIv2.js → fthry_index.C0JNHbes.js} +4 -4
- package/cjs/{fthry_index.BoO3dmhA.js → fthry_index.C77jwiIK.js} +5 -5
- package/cjs/{fthry_index.DZmIZ0If.js → fthry_index.C92bHoQo.js} +4 -4
- package/cjs/{fthry_index.CLGFsu-W.js → fthry_index.CJzVd1qZ.js} +3 -3
- package/cjs/{fthry_index.NxNlNktr.js → fthry_index.CQA1xslR.js} +2 -2
- package/cjs/{fthry_index.B4nTRm2a.js → fthry_index.CXmaKOEn.js} +2 -2
- package/cjs/{fthry_index.B0IHHaSa.js → fthry_index.C_BaZ6Hk.js} +5 -5
- package/cjs/{fthry_index.BwJjkhDX.js → fthry_index.CaC18rh4.js} +2 -2
- package/cjs/{fthry_index.CF6dHmED.js → fthry_index.CacTwrHU.js} +1 -1
- package/cjs/{fthry_index.Bp3tUCUg.js → fthry_index.Cdi5ZSwZ.js} +1 -1
- package/cjs/{fthry_index.D5g9CscG.js → fthry_index.ClBXclot.js} +10 -10
- package/cjs/{fthry_index.CwUOZfuU.js → fthry_index.D2SAp30x.js} +1 -1
- package/cjs/{fthry_index.BS40-YKa.js → fthry_index.DLtj8HnS.js} +5 -5
- package/cjs/{fthry_index.DcAhJXO6.js → fthry_index.DPzYbwTS.js} +7 -7
- package/cjs/{fthry_index.BcpLuOOx.js → fthry_index.DQ6feMZm.js} +1 -1
- package/cjs/{fthry_index.CwAmb-eb.js → fthry_index.DTW_D7-o.js} +1 -1
- package/cjs/{fthry_index.CnEJA0yt.js → fthry_index.DWDOqEfO.js} +4 -4
- package/cjs/{fthry_index.cfeoyLXD.js → fthry_index.DlkvAVIw.js} +53 -30
- package/cjs/{fthry_index.DRiX8JfK.js → fthry_index.DnY79HrC.js} +4 -4
- package/cjs/{fthry_index.DZHjXMOz.js → fthry_index.DxYzYu7s.js} +1 -1
- package/cjs/{fthry_index.D8ubk1f5.js → fthry_index.F-hEjXI-.js} +2 -2
- package/cjs/{fthry_index.DdTTBPj2.js → fthry_index.FtLfJd4S.js} +3 -3
- package/cjs/{fthry_index.eOvXwGT-.js → fthry_index.KWNbLsaB.js} +2 -2
- package/cjs/{fthry_index.DuMHfjEv.js → fthry_index.OSIUe8Md.js} +1 -1
- package/cjs/{fthry_index.gLdKKWaK.js → fthry_index.PIb0QwxM.js} +3 -3
- package/cjs/{fthry_index.Dum4tOKg.js → fthry_index.oyh8Xrmh.js} +5 -5
- package/cjs/{fthry_index.-z-Lljm0.js → fthry_index.pPvWlJEk.js} +1 -1
- package/cjs/{fthry_index.DPL8HQ73.js → fthry_index.qskBKi1z.js} +1 -1
- package/cjs/{fthry_index.BMCiNFYl.js → fthry_index.rPI2ndHc.js} +1 -1
- package/cjs/{fthry_index.umd.Da5lH4f9.js → fthry_index.umd.W19khCa4.js} +1 -1
- package/cjs/{fthry_input.DKnab-AK.js → fthry_input.Cb_b4bl3.js} +1 -1
- package/cjs/{fthry_logging.By3n1J1Z.js → fthry_logging.D6Bg9E5a.js} +1 -1
- package/cjs/{fthry_mermaid-O7DHMXV3.DK7HwC5c.js → fthry_mermaid-O7DHMXV3.BNP8G1yo.js} +3 -3
- package/cjs/{fthry_script.CWTbUxlJ.js → fthry_script.hIhZDsHE.js} +1 -1
- package/cjs/{fthry_styles.Cuwj8NU-.js → fthry_styles.DRRazx5N.js} +1 -1
- package/cjs/{fthry_useElementSize.DYSiM9Jw.js → fthry_useElementSize.Ct1sZs2_.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.Dta3-Bhd.js → fthry_useSalesforceSync.COoQJnAj.js} +1 -1
- package/cjs/{fthry_webfontloader.BkBaBvgZ.js → fthry_webfontloader.DADG0k2N.js} +1 -1
- package/cjs/index.js +1 -1
- package/cjs/thumbnail-renderer.js +1 -1
- package/dist/elements/basic/TextElement.d.ts.map +1 -1
- package/dist/elements/basic/tests/TextElement.spec.d.ts +2 -0
- package/dist/elements/basic/tests/TextElement.spec.d.ts.map +1 -0
- package/dist/elements/fields/MatrixField/index.d.ts.map +1 -1
- package/dist/{fthry_AssistantChat.VggmDNZM.js → fthry_AssistantChat.WyzOqRLv.js} +6 -6
- package/dist/{fthry_FormControl.8uhEyKvb.js → fthry_FormControl.Dzj1rojj.js} +1 -1
- package/dist/{fthry_InlineTooltip.DcvFvFYl.js → fthry_InlineTooltip.DXsrcsbp.js} +1 -1
- package/dist/{fthry_PaymentMethodField.uP3Iv_fj.js → fthry_PaymentMethodField.kdgnNmlB.js} +3 -3
- package/dist/{fthry_Placeholder.6f6o-AsJ.js → fthry_Placeholder.CAF85Ykm.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.CaonCGcm.js → fthry_ShowEyeIcon.DuvGC2JZ.js} +1 -1
- package/dist/{fthry_TabsElement.Con4WZjz.js → fthry_TabsElement.DHuAsu9L.js} +1 -1
- package/dist/{fthry_auto-track.DFclFVRw.js → fthry_auto-track.0OhQgEvY.js} +2 -2
- package/dist/{fthry_highlighted-body-TPN3WLV5.ihjK13dX.js → fthry_highlighted-body-TPN3WLV5.CFzC2WJo.js} +3 -3
- package/dist/{fthry_index.ubWneGoZ.js → fthry_index.AB8GH5gF.js} +1 -1
- package/dist/{fthry_index.D7Bj6tGn.js → fthry_index.B76ar533.js} +3 -3
- package/dist/{fthry_index.qjRnm0IS.js → fthry_index.BCzqZlFw.js} +2 -2
- package/dist/{fthry_index.BG67PHqk.js → fthry_index.BHwcbjP5.js} +1 -1
- package/dist/{fthry_index.BR4D50bE.js → fthry_index.BRzyEpQ8.js} +1 -1
- package/dist/{fthry_index.C5u1XrX3.js → fthry_index.BSVOn5wH.js} +1 -1
- package/dist/{fthry_index.7ie62aR7.js → fthry_index.BUaWr9j4.js} +10 -10
- package/dist/{fthry_index.B1Gfapy-.js → fthry_index.BcdlZCk1.js} +5 -5
- package/dist/{fthry_index.D9ZvoVwL.js → fthry_index.BfRZN5uk.js} +4 -4
- package/dist/{fthry_index.IjQraw_g.js → fthry_index.BjB8fa7-.js} +4 -4
- package/dist/{fthry_index.CuMOKxF2.js → fthry_index.BvHU4W3h.js} +1 -1
- package/dist/{fthry_index.6wiP1p4R.js → fthry_index.BwcRT3wl.js} +4 -4
- package/dist/{fthry_index.Cy8p5_1l.js → fthry_index.BzZa3Ta7.js} +1 -1
- package/dist/{fthry_index.C8XjrvUB.js → fthry_index.C1hieEX_.js} +1 -1
- package/dist/{fthry_index.Bbs4jkxs.js → fthry_index.C4vqiJxf.js} +54 -31
- package/dist/{fthry_index.DV7blC03.js → fthry_index.C6q4pZ5u.js} +1 -1
- package/dist/{fthry_index.BjAORT-s.js → fthry_index.CBLbrTGl.js} +5 -5
- package/dist/{fthry_index.D8ONkHtc.js → fthry_index.CDsXHR3i.js} +2 -2
- package/dist/{fthry_index.Kw-mXq68.js → fthry_index.CFLaP0mj.js} +2 -2
- package/dist/{fthry_index.hbKY3BpE.js → fthry_index.Cv5cbqOL.js} +4 -4
- package/dist/{fthry_index.D02ToU7w.js → fthry_index.CxvdRcBp.js} +5 -5
- package/dist/{fthry_index.CajPYXKj.js → fthry_index.D2Sh55S1.js} +3 -3
- package/dist/{fthry_index.D__siGjY.js → fthry_index.D4zVJghA.js} +2 -2
- package/dist/{fthry_index.Cxm7hChO.js → fthry_index.DGMT-5ag.js} +1 -1
- package/dist/{fthry_index.CSAQxMm5.js → fthry_index.DHELVHG2.js} +3 -3
- package/dist/{fthry_index.C1q-8vVx.js → fthry_index.Dbz_PKt9.js} +7 -7
- package/dist/{fthry_index.umrpT15A.js → fthry_index.DcTR2AkV.js} +4 -4
- package/dist/{fthry_index.DmOqklSX.js → fthry_index.DkvPzNW8.js} +2 -2
- package/dist/{fthry_index.C2n7NtGD.js → fthry_index.Dliz7cs4.js} +1 -1
- package/dist/{fthry_index.BguN0NNZ.js → fthry_index.ZguTjKkQ.js} +2 -2
- package/dist/{fthry_index.ByomjjHM.js → fthry_index.asb_a_7N.js} +4 -4
- package/dist/{fthry_index.Dnyw03ZC.js → fthry_index.f8CzQD6J.js} +1 -1
- package/dist/{fthry_index.umd.Cx2kPQUT.js → fthry_index.umd.D8kDnsJl.js} +1 -1
- package/dist/{fthry_input.ELU3B4EG.js → fthry_input.B-OtYl3Z.js} +1 -1
- package/dist/{fthry_logging.BW5azi46.js → fthry_logging.CIQtHlei.js} +1 -1
- package/dist/fthry_mermaid-O7DHMXV3.CPDx5Ryx.js +8 -0
- package/dist/{fthry_script.B3jdORnQ.js → fthry_script.DsLUtSh2.js} +1 -1
- package/dist/{fthry_styles.DoKNhbKk.js → fthry_styles.MOvVFSzC.js} +1 -1
- package/dist/{fthry_useElementSize.BwnPxZu_.js → fthry_useElementSize.rblnWIcL.js} +1 -1
- package/dist/{fthry_useSalesforceSync.CFLUbgTu.js → fthry_useSalesforceSync.XvC8j-TR.js} +1 -1
- package/dist/{fthry_webfontloader.DXzLax0I.js → fthry_webfontloader.CScAnjpM.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/thumbnail-renderer.js +1 -1
- package/package.json +1 -1
- package/umd/{MatrixField.7bc0cfb2d029b66e7e3e.js → MatrixField.62dc67a3ff1ce1d80223.js} +1 -1
- package/umd/index.js +1 -1
- package/dist/fthry_mermaid-O7DHMXV3.KNX9UCEB.js +0 -8
|
@@ -41411,7 +41411,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
|
|
|
41411
41411
|
}, [activeStep, stepKey, formName]);
|
|
41412
41412
|
}
|
|
41413
41413
|
|
|
41414
|
-
var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.
|
|
41414
|
+
var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.WyzOqRLv.js').then(function (n) { return n.A; }); });
|
|
41415
41415
|
var AssistantChat = function (props) { return (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(LazyAssistantChat, __assign({}, props)) }))); };
|
|
41416
41416
|
|
|
41417
41417
|
var AssistantClient = /** @class */ (function () {
|
|
@@ -45466,7 +45466,7 @@ function loadSegment(segmentConfig, queue) {
|
|
|
45466
45466
|
case 0:
|
|
45467
45467
|
_a.trys.push([0, 2, , 3]);
|
|
45468
45468
|
return [4 /*yield*/, import(
|
|
45469
|
-
/* webpackChunkName: "segment" */ './fthry_index.
|
|
45469
|
+
/* webpackChunkName: "segment" */ './fthry_index.BUaWr9j4.js').then(function (n) { return n.q; })];
|
|
45470
45470
|
case 1:
|
|
45471
45471
|
(AnalyticsBrowserClass = (_a.sent()).AnalyticsBrowser);
|
|
45472
45472
|
return [3 /*break*/, 3];
|
|
@@ -48130,9 +48130,9 @@ function init(sdkKey, options) {
|
|
|
48130
48130
|
if (runningInClient()) {
|
|
48131
48131
|
// Dynamically load libraries that must be client side
|
|
48132
48132
|
global.scriptjsLoadPromise = import(
|
|
48133
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
48133
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.DsLUtSh2.js').then(function (n) { return n.s; });
|
|
48134
48134
|
global.webfontloaderPromise = import(
|
|
48135
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
48135
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.CScAnjpM.js').then(function (n) { return n.w; });
|
|
48136
48136
|
// Client-side tracking logic
|
|
48137
48137
|
if (initState.userTracking === 'cookie') {
|
|
48138
48138
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -48319,7 +48319,7 @@ function loadCompletedSteps(client) {
|
|
|
48319
48319
|
});
|
|
48320
48320
|
}
|
|
48321
48321
|
function logFeatheryBadge() {
|
|
48322
|
-
console.log('%c Feathery %c v' + "2.
|
|
48322
|
+
console.log('%c Feathery %c v' + "2.54.0" + ' ', // replaced with real version during build
|
|
48323
48323
|
'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;');
|
|
48324
48324
|
}
|
|
48325
48325
|
|
|
@@ -49916,64 +49916,64 @@ function resolveLabelStyle(style, opts) {
|
|
|
49916
49916
|
|
|
49917
49917
|
var fieldLoaders = {
|
|
49918
49918
|
AddressLine1: function () {
|
|
49919
|
-
return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
49919
|
+
return import(/* webpackChunkName: "AddressField" */ './fthry_index.Cv5cbqOL.js');
|
|
49920
49920
|
},
|
|
49921
49921
|
ButtonGroupField: function () {
|
|
49922
|
-
return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
49922
|
+
return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.B76ar533.js');
|
|
49923
49923
|
},
|
|
49924
49924
|
CheckboxField: function () {
|
|
49925
|
-
return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
49925
|
+
return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.C1hieEX_.js');
|
|
49926
49926
|
},
|
|
49927
49927
|
CheckboxGroupField: function () {
|
|
49928
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
49928
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.BcdlZCk1.js');
|
|
49929
49929
|
},
|
|
49930
49930
|
ColorPickerField: function () {
|
|
49931
|
-
return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
49931
|
+
return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.BvHU4W3h.js');
|
|
49932
49932
|
},
|
|
49933
49933
|
CustomField: function () {
|
|
49934
|
-
return import(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
49934
|
+
return import(/* webpackChunkName: "CustomField" */ './fthry_index.BzZa3Ta7.js');
|
|
49935
49935
|
},
|
|
49936
49936
|
DateSelectorField: function () {
|
|
49937
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
49937
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.CBLbrTGl.js');
|
|
49938
49938
|
},
|
|
49939
49939
|
DropdownField: function () {
|
|
49940
|
-
return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
49940
|
+
return import(/* webpackChunkName: "DropdownField" */ './fthry_index.DcTR2AkV.js');
|
|
49941
49941
|
},
|
|
49942
49942
|
DropdownMultiField: function () {
|
|
49943
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
49943
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.BwcRT3wl.js');
|
|
49944
49944
|
},
|
|
49945
49945
|
FileUploadField: function () {
|
|
49946
|
-
return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
49946
|
+
return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.BSVOn5wH.js');
|
|
49947
49947
|
},
|
|
49948
49948
|
MatrixField: function () {
|
|
49949
|
-
return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
49949
|
+
return import(/* webpackChunkName: "MatrixField" */ './fthry_index.BfRZN5uk.js');
|
|
49950
49950
|
},
|
|
49951
49951
|
PasswordField: function () {
|
|
49952
|
-
return import(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
49952
|
+
return import(/* webpackChunkName: "PasswordField" */ './fthry_index.BjB8fa7-.js');
|
|
49953
49953
|
},
|
|
49954
49954
|
PaymentMethodField: function () {
|
|
49955
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
49955
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.kdgnNmlB.js');
|
|
49956
49956
|
},
|
|
49957
|
-
PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
49957
|
+
PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.asb_a_7N.js'); },
|
|
49958
49958
|
PinInputField: function () {
|
|
49959
|
-
return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
49959
|
+
return import(/* webpackChunkName: "PinInputField" */ './fthry_index.Dliz7cs4.js');
|
|
49960
49960
|
},
|
|
49961
|
-
QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
49961
|
+
QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.DkvPzNW8.js'); },
|
|
49962
49962
|
RadioButtonGroupField: function () {
|
|
49963
49963
|
return import(
|
|
49964
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
49964
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.CxvdRcBp.js');
|
|
49965
49965
|
},
|
|
49966
49966
|
RatingField: function () {
|
|
49967
|
-
return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
49967
|
+
return import(/* webpackChunkName: "RatingField" */ './fthry_index.f8CzQD6J.js');
|
|
49968
49968
|
},
|
|
49969
49969
|
SignatureField: function () {
|
|
49970
|
-
return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
49970
|
+
return import(/* webpackChunkName: "SignatureField" */ './fthry_index.DHELVHG2.js');
|
|
49971
49971
|
},
|
|
49972
49972
|
SliderField: function () {
|
|
49973
|
-
return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
49973
|
+
return import(/* webpackChunkName: "SliderField" */ './fthry_index.CDsXHR3i.js');
|
|
49974
49974
|
},
|
|
49975
|
-
TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
49976
|
-
TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
49975
|
+
TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.Dbz_PKt9.js'); },
|
|
49976
|
+
TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.D2Sh55S1.js'); }
|
|
49977
49977
|
};
|
|
49978
49978
|
var getPositionKey = function (element) { var _a; return ((_a = element.position) === null || _a === void 0 ? void 0 : _a.join(',')) || 'root'; };
|
|
49979
49979
|
// Share the resolved component between preload and render. A separate
|
|
@@ -50667,6 +50667,29 @@ function applyTextStyles(element, responsiveStyles) {
|
|
|
50667
50667
|
textTransform: a || 'none'
|
|
50668
50668
|
}); });
|
|
50669
50669
|
responsiveStyles.applyColor('text', 'background_color', 'backgroundColor');
|
|
50670
|
+
responsiveStyles.applyCorners('text');
|
|
50671
|
+
responsiveStyles.apply('text', [
|
|
50672
|
+
'uploader_padding_top',
|
|
50673
|
+
'uploader_padding_right',
|
|
50674
|
+
'uploader_padding_bottom',
|
|
50675
|
+
'uploader_padding_left'
|
|
50676
|
+
], function (a, b, c, d) {
|
|
50677
|
+
// Guard per side: existing text elements have no uploader_padding_* keys
|
|
50678
|
+
var s = {};
|
|
50679
|
+
if (isNum(a))
|
|
50680
|
+
s.paddingTop = "".concat(a, "px");
|
|
50681
|
+
if (isNum(b))
|
|
50682
|
+
s.paddingRight = "".concat(b, "px");
|
|
50683
|
+
if (isNum(c))
|
|
50684
|
+
s.paddingBottom = "".concat(c, "px");
|
|
50685
|
+
if (isNum(d))
|
|
50686
|
+
s.paddingLeft = "".concat(d, "px");
|
|
50687
|
+
// The text box is width: 100%; keep padding inside that width like the
|
|
50688
|
+
// native <button> box model, or the box overflows its grid cell
|
|
50689
|
+
if (Object.keys(s).length)
|
|
50690
|
+
s.boxSizing = 'border-box';
|
|
50691
|
+
return s;
|
|
50692
|
+
});
|
|
50670
50693
|
responsiveStyles.applyColor('textHover', "hover_background_color", 'backgroundColor', true);
|
|
50671
50694
|
responsiveStyles.applySpanSelectorStyles('textHover', 'hover_');
|
|
50672
50695
|
return responsiveStyles;
|
|
@@ -50676,7 +50699,7 @@ function TextElement(_a) {
|
|
|
50676
50699
|
var styles = useMemo(function () { return applyTextStyles(element, responsiveStyles); }, [responsiveStyles]);
|
|
50677
50700
|
var _g = useBorder({
|
|
50678
50701
|
element: element,
|
|
50679
|
-
corners:
|
|
50702
|
+
corners: true,
|
|
50680
50703
|
breakpoint: responsiveStyles.getMobileBreakpoint()
|
|
50681
50704
|
}), borderStyles = _g.borderStyles, customBorder = _g.customBorder;
|
|
50682
50705
|
return (jsxs("div", __assign({ css: __assign(__assign({ position: 'relative', maxWidth: '100%', width: '100%' }, styles.getTarget('text')), { '&:hover': hoverStylesGuard(editMode
|
|
@@ -51229,8 +51252,8 @@ function ElementSkeleton(_a) {
|
|
|
51229
51252
|
}
|
|
51230
51253
|
var templateObject_1;
|
|
51231
51254
|
|
|
51232
|
-
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
51233
|
-
var TabsElement = lazy(function () { return import(/* webpackChunkName: "TabsElement" */ './fthry_TabsElement.
|
|
51255
|
+
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.C6q4pZ5u.js'); });
|
|
51256
|
+
var TabsElement = lazy(function () { return import(/* webpackChunkName: "TabsElement" */ './fthry_TabsElement.DHuAsu9L.js'); });
|
|
51234
51257
|
var Basic = {
|
|
51235
51258
|
ImageElement: ImageElement,
|
|
51236
51259
|
VideoElement: VideoElement,
|
|
@@ -51260,4 +51283,4 @@ Object.entries(Elements).map(function (_a) {
|
|
|
51260
51283
|
});
|
|
51261
51284
|
});
|
|
51262
51285
|
|
|
51263
|
-
export { firebaseSMSCountries as $,
|
|
51286
|
+
export { firebaseSMSCountries as $, replaceTextVariables as A, featheryDoc as B, getStripe as C, DEFAULT_MOBILE_BREAKPOINT as D, ErrorInput as E, FeatheryCacheProvider as F, Grid as G, HoverTooltip as H, filterKeys as I, ERROR_COLOR as J, DROPDOWN_Z_INDEX as K, getFieldValue$1 as L, stringifyWithNull as M, emailPatternStr as N, Overlay as O, debounce as P, isEmptyArray as Q, toList as R, useThumbnailData as S, __spreadArray as T, downloadFile as U, CloseIcon as V, justRemove as W, isNum as X, phoneLib as Y, authState as Z, __assign as _, calculateGlobalCSS as a, ACTION_BACK as a$, phoneLibPromise as a0, __values as a1, loadQRScanner as a2, throttle as a3, qrPromise as a4, AuthContext as a5, getFieldValues as a6, setFieldValues as a7, updateTheme as a8, updateUserId as a9, MS as aA, KEYFRAMES as aB, DECLARATION as aC, dealloc as aD, alloc as aE, hash as aF, charat as aG, strlen as aH, indexof as aI, next as aJ, token as aK, from as aL, peek as aM, delimit as aN, slice as aO, position as aP, compile as aQ, Tooltip as aR, __extends as aS, formatDateString as aT, internalState as aU, getPositionKey$1 as aV, loadCompletedSteps as aW, initState as aX, getRepeatedContainers as aY, getRepeatedContainer as aZ, getDefaultFieldValue as a_, init as aa, Elements as ab, ReactForm as ac, v4$1 as ad, LoginForm as ae, JSForm as af, getFormContext as ag, resolveLabelStyle as ah, AssistantChat as ai, StyledContainer as aj, devicePixelRatio as ak, toBase64 as al, MODAL_Z_INDEX as am, dataURLToFile as an, stringify$2 as ao, rulesheet as ap, COMMENT as aq, middleware as ar, RULESET as as, combine as at, match as au, serialize as av, copy as aw, replace as ax, WEBKIT as ay, MOZ as az, jsxs as b, getPrevStepKey as b0, ACTION_NEXT as b1, nextStepKey as b2, isButtonDisabled as b3, getCompletedStepKeys as b4, isStepperStepVisible as b5, isStepperStepReachable as b6, loadPhoneValidator as b7, initInfo as b8, getCookie as b9, calculateStepCSS as c, iosScrollOnFocus as d, __read as e, fieldValues as f, getVisiblePositions as g, hoverStylesGuard as h, imgMaxSizeStyles as i, jsx$1 as j, countryData as k, css as l, __makeTemplateObject as m, noTextSelectStyles as n, Global as o, FORM_Z_INDEX as p, __rest$1 as q, resetStyles as r, __awaiter$2 as s, __generator as t, useBorder as u, FeatheryClient as v, featheryWindow as w, getDefaultExportFromCjs as x, Fragment as y, isMobile as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as __rest, j as jsx, _ as __assign, b as jsxs, e as __read,
|
|
1
|
+
import { q as __rest, j as jsx, _ as __assign, b as jsxs, e as __read, B as featheryDoc, y as Fragment$1, f as fieldValues, M as stringifyWithNull, a1 as __values, T as __spreadArray } from './fthry_index.C4vqiJxf.js';
|
|
2
2
|
import { Fragment, useState, useRef, useEffect, useMemo, useCallback } from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { j as jsx, o as Global, l as css, m as __makeTemplateObject, _ as __assign, e as __read, z as isMobile, w as featheryWindow,
|
|
1
|
+
import { j as jsx, o as Global, l as css, m as __makeTemplateObject, _ as __assign, e as __read, z as isMobile, w as featheryWindow, B as featheryDoc, u as useBorder, b as jsxs$1, h as hoverStylesGuard, r as resetStyles, q as __rest, aT as formatDateString } from './fthry_index.C4vqiJxf.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.CAF85Ykm.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DXsrcsbp.js';
|
|
6
6
|
import { c as clsx } from './fthry_clsx.ChV9xqsO.js';
|
|
7
7
|
import { jsxs, jsx as jsx$1 } from 'react/jsx-runtime';
|
|
8
8
|
import * as ReactDOM from 'react-dom';
|
|
9
9
|
import ReactDOM__default from 'react-dom';
|
|
10
|
-
import { a as IMask, I as IMaskInput } from './fthry_input.
|
|
10
|
+
import { a as IMask, I as IMaskInput } from './fthry_input.B-OtYl3Z.js';
|
|
11
11
|
import 'jszip';
|
|
12
|
-
import './fthry_index.
|
|
12
|
+
import './fthry_index.DGMT-5ag.js';
|
|
13
13
|
|
|
14
14
|
var PORTAL_CONTAINER_CLASS = '.react-datepicker__portal';
|
|
15
15
|
var DATEPICKER_PADDING_TOP_VALUE = '--datepicker-pad-top';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { e as __read, b as jsxs, _ as __assign, j as jsx, h as hoverStylesGuard } from './fthry_index.
|
|
1
|
+
import { e as __read, b as jsxs, _ as __assign, j as jsx, h as hoverStylesGuard } from './fthry_index.C4vqiJxf.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.MOvVFSzC.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'jszip';
|
|
6
6
|
import 'react-dom';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as __awaiter, t as __generator } from './fthry_index.
|
|
1
|
+
import { s as __awaiter, t as __generator } from './fthry_index.C4vqiJxf.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'jszip';
|
|
@@ -11,7 +11,7 @@ function loadLegacyVideoPlugins(analytics) {
|
|
|
11
11
|
switch (_a.label) {
|
|
12
12
|
case 0: return [4 /*yield*/, import(
|
|
13
13
|
// @ts-expect-error
|
|
14
|
-
'./fthry_index.umd.
|
|
14
|
+
'./fthry_index.umd.D8kDnsJl.js').then(function (n) { return n.i; })
|
|
15
15
|
// This is super gross, but we need to support the `window.analytics.plugins` namespace
|
|
16
16
|
// that is linked in the segment docs in order to be backwards compatible with ajs-classic
|
|
17
17
|
// @ts-expect-error
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { e as __read, u as useBorder, b as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, d as iosScrollOnFocus, r as resetStyles,
|
|
1
|
+
import { e as __read, u as useBorder, b as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, d as iosScrollOnFocus, r as resetStyles, K as DROPDOWN_Z_INDEX, s as __awaiter, t as __generator, v as FeatheryClient, O as Overlay, P as debounce } from './fthry_index.C4vqiJxf.js';
|
|
2
2
|
import { useRef, useEffect, memo, useState, useCallback } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { u as useElementSize } from './fthry_useElementSize.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.CAF85Ykm.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DXsrcsbp.js';
|
|
5
|
+
import { u as useElementSize } from './fthry_useElementSize.rblnWIcL.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import 'jszip';
|
|
8
8
|
import 'react-dom';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { e as __read, b as jsxs, _ as __assign, j as jsx, d as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { e as __read, b as jsxs, _ as __assign, j as jsx, d as iosScrollOnFocus, r as resetStyles } from './fthry_index.C4vqiJxf.js';
|
|
2
2
|
import { useRef, useState, useMemo } from 'react';
|
|
3
|
-
import { F as FormControl } from './fthry_FormControl.
|
|
4
|
-
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.
|
|
5
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
6
|
-
import { u as useSalesforceSync } from './fthry_useSalesforceSync.
|
|
3
|
+
import { F as FormControl } from './fthry_FormControl.Dzj1rojj.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.C1hieEX_.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DXsrcsbp.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.XvC8j-TR.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'jszip';
|
|
9
9
|
import 'react-dom';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { e as __read, u as useBorder, b as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { e as __read, u as useBorder, b as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, r as resetStyles } from './fthry_index.C4vqiJxf.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.CAF85Ykm.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DXsrcsbp.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'jszip';
|
|
7
7
|
import 'react-dom';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as __awaiter, t as __generator } from './fthry_index.
|
|
2
|
-
import { i as isServer, g as getNextIntegrationsURL, l as loadScript } from './fthry_index.
|
|
1
|
+
import { s as __awaiter, t as __generator } from './fthry_index.C4vqiJxf.js';
|
|
2
|
+
import { i as isServer, g as getNextIntegrationsURL, l as loadScript } from './fthry_index.BUaWr9j4.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'jszip';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { B as featheryDoc, ak as devicePixelRatio, x as getDefaultExportFromCjs, e as __read, b as jsxs, j as jsx, _ as __assign, y as Fragment, s as __awaiter, t as __generator, al as toBase64, P as debounce, am as MODAL_Z_INDEX, V as CloseIcon, an as dataURLToFile, p as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.C4vqiJxf.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.DGMT-5ag.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'jszip';
|
|
6
6
|
import 'react-dom';
|
|
@@ -1476,7 +1476,7 @@ function SignatureField(_a) {
|
|
|
1476
1476
|
useEffect(function () {
|
|
1477
1477
|
if (!global.webfontloaderPromise)
|
|
1478
1478
|
global.webfontloaderPromise = import(
|
|
1479
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
1479
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.CScAnjpM.js').then(function (n) { return n.w; });
|
|
1480
1480
|
global.webfontloaderPromise.then(function (WebFont) {
|
|
1481
1481
|
WebFont.load({ google: { families: ['La Belle Aurore'] } });
|
|
1482
1482
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { b as jsxs, _ as __assign, j as jsx,
|
|
1
|
+
import { b as jsxs, _ as __assign, j as jsx, K as DROPDOWN_Z_INDEX, O as Overlay, e as __read, u as useBorder, L as getFieldValue, M as stringifyWithNull, h as hoverStylesGuard, d as iosScrollOnFocus, p as FORM_Z_INDEX, r as resetStyles, N as emailPatternStr } from './fthry_index.C4vqiJxf.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 { u as useElementSize } from './fthry_useElementSize.
|
|
6
|
-
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.
|
|
7
|
-
import { I as IMaskInput } from './fthry_input.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.CAF85Ykm.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DXsrcsbp.js';
|
|
5
|
+
import { u as useElementSize } from './fthry_useElementSize.rblnWIcL.js';
|
|
6
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.DuvGC2JZ.js';
|
|
7
|
+
import { I as IMaskInput } from './fthry_input.B-OtYl3Z.js';
|
|
8
8
|
import 'react/jsx-runtime';
|
|
9
9
|
import 'jszip';
|
|
10
10
|
import 'react-dom';
|
|
11
|
-
import './fthry_index.
|
|
11
|
+
import './fthry_index.DGMT-5ag.js';
|
|
12
12
|
|
|
13
13
|
function TextAutocomplete(_a) {
|
|
14
14
|
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,8 +1,8 @@
|
|
|
1
|
-
import { u as useBorder, e as __read, j as jsx, _ as __assign, k as countryData, f as fieldValues, b as jsxs, h as hoverStylesGuard, l as css, m as __makeTemplateObject, o as Global, d as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { u as useBorder, e as __read, j as jsx, _ as __assign, k as countryData, f as fieldValues, b as jsxs, h as hoverStylesGuard, l as css, m as __makeTemplateObject, o as Global, d as iosScrollOnFocus, r as resetStyles } from './fthry_index.C4vqiJxf.js';
|
|
2
2
|
import { useState, useRef, useEffect } from 'react';
|
|
3
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
4
|
-
import { h as hasState, g as getStateOptions } from './fthry_index.
|
|
5
|
-
import { u as useSalesforceSync } from './fthry_useSalesforceSync.
|
|
3
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DXsrcsbp.js';
|
|
4
|
+
import { h as hasState, g as getStateOptions } from './fthry_index.AB8GH5gF.js';
|
|
5
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.XvC8j-TR.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import 'jszip';
|
|
8
8
|
import 'react-dom';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { s as __awaiter, t as __generator, T as __spreadArray, e as __read, a1 as __values, w as featheryWindow, a2 as loadQRScanner, a3 as throttle, j as jsx, b as jsxs, _ as __assign, y as Fragment, E as ErrorInput, a4 as qrPromise } from './fthry_index.
|
|
1
|
+
import { s as __awaiter, t as __generator, T as __spreadArray, e as __read, a1 as __values, w as featheryWindow, a2 as loadQRScanner, a3 as throttle, j as jsx, b as jsxs, _ as __assign, y as Fragment, E as ErrorInput, a4 as qrPromise } from './fthry_index.C4vqiJxf.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.MOvVFSzC.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'jszip';
|
|
6
6
|
import 'react-dom';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as featheryWindow, b as jsxs, _ as __assign, j as jsx, e as __read, u as useBorder, h as hoverStylesGuard, X as isNum } from './fthry_index.
|
|
1
|
+
import { w as featheryWindow, b as jsxs, _ as __assign, j as jsx, e as __read, u as useBorder, h as hoverStylesGuard, X as isNum } from './fthry_index.C4vqiJxf.js';
|
|
2
2
|
import { useRef, useCallback, useEffect, useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'jszip';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as __awaiter, t as __generator, T as __spreadArray, _ as __assign } from './fthry_index.
|
|
2
|
-
import { l as loadScript, g as getNextIntegrationsURL, u as unloadScript, i as isServer, m as mergedOptions, b as isPlainObject, r as recordIntegrationMetric, c as isOffline, C as ContextCancelation, d as applyDestinationMiddleware, e as distExports, f as createDeferred, P as PriorityQueue, h as PersistedPriorityQueue, j as pWhile, k as attempt, n as Context, o as isOnline } from './fthry_index.
|
|
1
|
+
import { s as __awaiter, t as __generator, T as __spreadArray, _ as __assign } from './fthry_index.C4vqiJxf.js';
|
|
2
|
+
import { l as loadScript, g as getNextIntegrationsURL, u as unloadScript, i as isServer, m as mergedOptions, b as isPlainObject, r as recordIntegrationMetric, c as isOffline, C as ContextCancelation, d as applyDestinationMiddleware, e as distExports, f as createDeferred, P as PriorityQueue, h as PersistedPriorityQueue, j as pWhile, k as attempt, n as Context, o as isOnline } from './fthry_index.BUaWr9j4.js';
|
|
3
3
|
import { i as isPlanEventEnabled } from './fthry_is-plan-event-enabled.mXX0dwl-.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { q as __rest, e as __read, k as countryData, Y as phoneLib, Z as authState, $ as firebaseSMSCountries, b as jsxs, j as jsx, _ as __assign, y as Fragment,
|
|
1
|
+
import { q as __rest, e as __read, k as countryData, Y as phoneLib, Z as authState, $ as firebaseSMSCountries, b as jsxs, j as jsx, _ as __assign, y as Fragment, K as DROPDOWN_Z_INDEX, u as useBorder, a0 as phoneLibPromise, h as hoverStylesGuard, O as Overlay, X as isNum, d as iosScrollOnFocus, r as resetStyles } from './fthry_index.C4vqiJxf.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 { u as useElementSize } from './fthry_useElementSize.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.CAF85Ykm.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DXsrcsbp.js';
|
|
5
|
+
import { u as useElementSize } from './fthry_useElementSize.rblnWIcL.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import 'jszip';
|
|
8
8
|
import 'react-dom';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as jsx, _ as __assign, e as __read, b as jsxs, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { j as jsx, _ as __assign, e as __read, b as jsxs, E as ErrorInput } from './fthry_index.C4vqiJxf.js';
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'jszip';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { u as Mermaid } from './fthry_AssistantChat.WyzOqRLv.js';
|
|
2
|
+
import './fthry_index.C4vqiJxf.js';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
|
+
import 'react';
|
|
5
|
+
import 'jszip';
|
|
6
|
+
import 'react-dom';
|
|
7
|
+
import './fthry_clsx.ChV9xqsO.js';
|
|
8
|
+
import './fthry_index.AB8GH5gF.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useState, useMemo } from 'react';
|
|
3
|
-
import { x as getDefaultExportFromCjs, b as jsxs, y as Fragment, j as jsx, o as Global, l as css, m as __makeTemplateObject } from './fthry_index.
|
|
3
|
+
import { x as getDefaultExportFromCjs, b as jsxs, y as Fragment, j as jsx, o as Global, l as css, m as __makeTemplateObject } from './fthry_index.C4vqiJxf.js';
|
|
4
4
|
import { flushSync } from 'react-dom';
|
|
5
5
|
|
|
6
6
|
function canUseDom() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as __read, s as __awaiter, t as __generator, v as FeatheryClient } from './fthry_index.
|
|
1
|
+
import { e as __read, s as __awaiter, t as __generator, v as FeatheryClient } from './fthry_index.C4vqiJxf.js';
|
|
2
2
|
import { useState, useEffect } from 'react';
|
|
3
3
|
|
|
4
4
|
function useSalesforceSync(salesforceSync, editMode) {
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a5 as AuthContext, a6 as getFieldValues, a7 as setFieldValues, a8 as updateTheme, a9 as updateUserId, aa as init, ab as Elements, ac as ReactForm,
|
|
2
|
-
export { ai as AssistantChat, aj as StyledContainer, ah as resolveLabelStyle } from './fthry_index.
|
|
1
|
+
import { a5 as AuthContext, a6 as getFieldValues, a7 as setFieldValues, a8 as updateTheme, a9 as updateUserId, aa as init, ab as Elements, ac as ReactForm, B as featheryDoc, ad as v4, _ as __assign, j as jsx, ae as LoginForm, af as JSForm, ag as getFormContext } from './fthry_index.C4vqiJxf.js';
|
|
2
|
+
export { ai as AssistantChat, aj as StyledContainer, ah as resolveLabelStyle } from './fthry_index.C4vqiJxf.js';
|
|
3
3
|
import { createRoot } from 'react-dom/client';
|
|
4
4
|
import { useContext } from 'react';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __assign, D as DEFAULT_MOBILE_BREAKPOINT, g as getVisiblePositions, c as calculateStepCSS, a as calculateGlobalCSS, j as jsx, G as Grid, F as FeatheryCacheProvider, f as fieldValues } from './fthry_index.
|
|
1
|
+
import { _ as __assign, D as DEFAULT_MOBILE_BREAKPOINT, g as getVisiblePositions, c as calculateStepCSS, a as calculateGlobalCSS, j as jsx, G as Grid, F as FeatheryCacheProvider, f as fieldValues } from './fthry_index.C4vqiJxf.js';
|
|
2
2
|
import { useRef, useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'jszip';
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunkFeathery=this.webpackChunkFeathery||[]).push([[75,745],{72788:(e,t,n)=>{n.r(t),n.d(t,{applyCheckableInputStyles:()=>u,applyHeightWidthMarginByFontSize:()=>h,composeCheckableInputStyle:()=>s,default:()=>f});var o=n(35944),r=n(67294),c=n(39479),a=function(){return a=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a.apply(this,arguments)},i="polygon(40% 85%, 89% 23%, 76% 12%, 39% 59%, 23% 44%, 12% 55%)",l=function(e){return Math.max(e,13)},h=function(e,t,n){void 0===n&&(n=!1),e.apply(t,["font_size"],(function(e){var t=l(e),o="".concat(t,"px"),r={minHeight:o,height:o,minWidth:o,width:o},c=Math.max(t/2,10);return n||(r.marginRight="".concat(c,"px")),r}))},p=function(e,t,n,o){e.apply(t,["font_size",n],(function(e,t){var n=l(e);return o?function(e,t){var n=Math.floor(e/1.7)/2;return{position:"absolute",top:0,right:0,bottom:0,left:0,height:"auto",width:"auto",minWidth:0,minHeight:0,border:0,backgroundImage:"radial-gradient(circle, #".concat(t," ").concat(n,"px, transparent ").concat(n,"px)")}}(n,t):function(e,t){return{boxShadow:"inset ".concat(e,"px ").concat(e,"px #").concat(t),clipPath:i}}(n,t)}))},d=function(e,t,n){e.apply(t,["height","height_unit","width","width_unit",n],(function(e,t,n,o,r){return{boxShadow:"inset ".concat(n).concat(o," ").concat(e).concat(t," #").concat(r),clipPath:i}}))};function u(e,t){t.addTargets("checkbox","checkboxCheckmark","checkboxSelected","checkboxHover","checkboxCheckmarkHover","checkboxLabel");var n=e.servar,o=n.type,r=n.metadata.multiple,c="select"===o||"matrix"===o&&!r;return"multiselect"===o||"checkbox_group"===o||"matrix"===o&&r||c?(function(e,t){e.apply("checkboxLabel",["font_size","line_height"],(function(e,t){return t||(t=l(e)),{position:"relative",top:"-".concat((t-e)/2,"px"),lineHeight:"".concat(t,"px")}}))}(t),h(t,"checkbox",!0),h(t,"checkboxCheckmark",!0),h(t,"checkboxCheckmarkHover",!0),p(t,"checkboxCheckmark","selected_font_color",c),p(t,"checkboxCheckmarkHover","hover_font_color",c)):(t.applyHeight("checkbox"),t.applyWidth("checkbox"),t.applyHeight("checkboxCheckmark"),t.applyWidth("checkboxCheckmark"),t.applyHeight("checkboxCheckmarkHover"),t.applyWidth("checkboxCheckmarkHover"),t.apply("checkbox",["width","width_unit"],(function(e,t){return"px"===t&&e?{marginRight:"".concat(Math.max(Math.round(.4*e),5),"px")}:{}})),d(t,"checkboxCheckmark","selected_font_color"),d(t,"checkboxCheckmarkHover","hover_font_color")),t.applyBorders({target:"checkbox"}),c||t.applyCorners("checkbox"),t.applyBoxShadow("checkbox"),t.applyColor("checkbox","background_color","backgroundColor",!0),t.applySelectorStyles("checkboxHover",{prefix:"hover_",important:!0}),t.applySelectorStyles("checkboxSelected",{prefix:"selected_",important:!0}),t}var s=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=!1),a(a({position:n?"relative":"static",marginLeft:5,marginRight:5,marginTop:0,marginBottom:0,appearance:"none",display:"grid",placeContent:"center",outline:"none",borderRadius:n?"50%":null},e.getTarget("checkbox")),{"&:hover":(0,c.wL)(t?{}:e.getTarget("checkboxHover")),"&::before":a({content:"''",transform:"scale(0)"},e.getTarget("checkboxCheckmark")),"&:hover::before":(0,c.wL)(a(a({},e.getTarget("checkboxCheckmark")),e.getTarget("checkboxCheckmarkHover"))),"&:checked":a({},e.getTarget("checkboxSelected")),"&:checked::before":{transform:"scale(1)"}})};const f=function(e){var t=e.element,n=e.responsiveStyles,i=e.fieldLabel,l=e.fieldVal,h=void 0===l||l,p=e.onChange,d=void 0===p?function(){}:p,f=e.elementProps,k=void 0===f?{}:f,g=e.disabled,b=void 0!==g&&g,
|
|
1
|
+
"use strict";(this.webpackChunkFeathery=this.webpackChunkFeathery||[]).push([[75,745],{72788:(e,t,n)=>{n.r(t),n.d(t,{applyCheckableInputStyles:()=>u,applyHeightWidthMarginByFontSize:()=>h,composeCheckableInputStyle:()=>s,default:()=>f});var o=n(35944),r=n(67294),c=n(39479),a=function(){return a=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a.apply(this,arguments)},i="polygon(40% 85%, 89% 23%, 76% 12%, 39% 59%, 23% 44%, 12% 55%)",l=function(e){return Math.max(e,13)},h=function(e,t,n){void 0===n&&(n=!1),e.apply(t,["font_size"],(function(e){var t=l(e),o="".concat(t,"px"),r={minHeight:o,height:o,minWidth:o,width:o},c=Math.max(t/2,10);return n||(r.marginRight="".concat(c,"px")),r}))},p=function(e,t,n,o){e.apply(t,["font_size",n],(function(e,t){var n=l(e);return o?function(e,t){var n=Math.floor(e/1.7)/2;return{position:"absolute",top:0,right:0,bottom:0,left:0,height:"auto",width:"auto",minWidth:0,minHeight:0,border:0,backgroundImage:"radial-gradient(circle, #".concat(t," ").concat(n,"px, transparent ").concat(n,"px)")}}(n,t):function(e,t){return{boxShadow:"inset ".concat(e,"px ").concat(e,"px #").concat(t),clipPath:i}}(n,t)}))},d=function(e,t,n){e.apply(t,["height","height_unit","width","width_unit",n],(function(e,t,n,o,r){return{boxShadow:"inset ".concat(n).concat(o," ").concat(e).concat(t," #").concat(r),clipPath:i}}))};function u(e,t){t.addTargets("checkbox","checkboxCheckmark","checkboxSelected","checkboxHover","checkboxCheckmarkHover","checkboxLabel");var n=e.servar,o=n.type,r=n.metadata.multiple,c="select"===o||"matrix"===o&&!r;return"multiselect"===o||"checkbox_group"===o||"matrix"===o&&r||c?(function(e,t){e.apply("checkboxLabel",["font_size","line_height"],(function(e,t){return t||(t=l(e)),{position:"relative",top:"-".concat((t-e)/2,"px"),lineHeight:"".concat(t,"px")}}))}(t),h(t,"checkbox",!0),h(t,"checkboxCheckmark",!0),h(t,"checkboxCheckmarkHover",!0),p(t,"checkboxCheckmark","selected_font_color",c),p(t,"checkboxCheckmarkHover","hover_font_color",c)):(t.applyHeight("checkbox"),t.applyWidth("checkbox"),t.applyHeight("checkboxCheckmark"),t.applyWidth("checkboxCheckmark"),t.applyHeight("checkboxCheckmarkHover"),t.applyWidth("checkboxCheckmarkHover"),t.apply("checkbox",["width","width_unit"],(function(e,t){return"px"===t&&e?{marginRight:"".concat(Math.max(Math.round(.4*e),5),"px")}:{}})),d(t,"checkboxCheckmark","selected_font_color"),d(t,"checkboxCheckmarkHover","hover_font_color")),t.applyBorders({target:"checkbox"}),c||t.applyCorners("checkbox"),t.applyBoxShadow("checkbox"),t.applyColor("checkbox","background_color","backgroundColor",!0),t.applySelectorStyles("checkboxHover",{prefix:"hover_",important:!0}),t.applySelectorStyles("checkboxSelected",{prefix:"selected_",important:!0}),t}var s=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=!1),a(a({position:n?"relative":"static",marginLeft:5,marginRight:5,marginTop:0,marginBottom:0,appearance:"none",display:"grid",placeContent:"center",outline:"none",borderRadius:n?"50%":null},e.getTarget("checkbox")),{"&:hover":(0,c.wL)(t?{}:e.getTarget("checkboxHover")),"&::before":a({content:"''",transform:"scale(0)"},e.getTarget("checkboxCheckmark")),"&:hover::before":(0,c.wL)(a(a({},e.getTarget("checkboxCheckmark")),e.getTarget("checkboxCheckmarkHover"))),"&:checked":a({},e.getTarget("checkboxSelected")),"&:checked::before":{transform:"scale(1)"}})};const f=function(e){var t=e.element,n=e.responsiveStyles,i=e.fieldLabel,l=e.fieldVal,h=void 0===l||l,p=e.onChange,d=void 0===p?function(){}:p,f=e.elementProps,k=void 0===f?{}:f,g=e.disabled,b=void 0!==g&&g,x=e.children,m=(0,r.useMemo)((function(){return u(t,n)}),[n]),v=t.servar;return(0,o.BX)("div",a({css:a(a({},n.getTarget("fc")),{position:"relative",display:"flex",alignItems:"center"})},k,{children:[x,(0,o.tZ)("input",{id:v.key,name:v.key,type:"checkbox",checked:h,disabled:b,onChange:d,onFocus:c.ms,"aria-label":t.properties.aria_label,css:a(a(a(a({},s(m,b)),i?{}:{marginRight:5}),b?n.getTarget("disabled"):{}),{"&:focus-visible":{border:"1px solid rgb(74, 144, 226)"}})}),i]}))}},30909:(e,t,n)=>{n.r(t),n.d(t,{default:()=>u});var o=n(35944),r=n(67294),c=n(3939),a=n(39479),i=function(){return i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)};function l(e){var t=e.text,n=e.children,l=e.containerRef,h=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,c=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=c.next()).done;)a.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}return a}((0,r.useState)(!1),2),p=h[0],d=h[1],u=(0,r.useRef)(null);if(!t)return(0,o.tZ)(o.HY,{children:n});var s=(0,a.tq)();return(0,o.BX)(o.HY,{children:[(0,o.tZ)("span",i({ref:u,onMouseEnter:s?void 0:function(){return d(!0)},onMouseLeave:s?void 0:function(){return d(!1)},onFocus:function(){return d(!0)},onBlur:function(){return d(!1)},onClick:function(){return d((function(e){return!e}))},style:{display:"inline-block",cursor:"pointer"}},{children:n})),(0,o.tZ)(c.Z,{show:p,triggerRef:u,containerRef:l,text:t,id:t,placement:"top",offset:4,onHide:function(){return d(!1)},css:{margin:"0 1rem"}})]})}var h=n(72788),p=n(54665),d=function(){return d=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},d.apply(this,arguments)};const u=function(e){var t,n=e.element,c=e.responsiveStyles,i=e.fieldLabel,u=e.fieldVal,s=void 0===u?{}:u,f=e.repeatIndex,k=void 0===f?null:f,g=e.onChange,b=void 0===g?function(){}:g,x=e.elementProps,m=void 0===x?{}:x,v=e.disabled,y=void 0!==v&&v,C=e.children,_=n.servar,w=_.metadata.multiple,H=w?"checkbox":"radio",S=(0,r.useRef)(null),B=c.getTarget("sub-fc"),R=B.backgroundColor,T=B.borderRadius,Z=(0,r.useMemo)((function(){return(0,h.applyCheckableInputStyles)(n,c),c}),[c]),M=100/((t=null!==k&&void 0!==_.metadata.repeat_options&&void 0!==_.metadata.repeat_options[k]?_.metadata.repeat_options[k]:_.metadata.options).length+1),j={minWidth:"100px",width:"".concat(M,"%")},I=d(d({},j),{fontWeight:400,padding:8});return(0,o.BX)("div",d({ref:S,css:d(d({width:"100%",height:"100%"},c.getTarget("fc")),{position:"relative",display:"flex",flexDirection:"column",justifyContent:"center"})},m,{children:[C,i,(0,o.BX)("div",d({style:{display:"flex",flexDirection:"row",marginBottom:6}},{children:[(0,o.tZ)("div",{css:I}),t.map((function(e,t){return(0,o.tZ)("div",d({style:{flex:1,fontWeight:600,justifyContent:"center",alignItems:"center",display:"flex",textAlign:"center"}},{children:(0,p.xf)(e,k)}),t)}))]})),_.metadata.questions.map((function(e,r){var c=e.highlight_color?"#".concat(e.highlight_color):R;return(0,o.BX)("div",d({style:{display:"flex",flexDirection:"row",backgroundColor:c,borderRadius:T,marginBottom:6}},{children:[(0,o.tZ)(l,d({text:(0,p.xf)(e.tooltip,k)},{children:(0,o.tZ)("div",d({css:I},{children:(0,p.xf)(e.label,k)}))})),t.map((function(t,c){var i=s[e.id],l=Array.isArray(i)&&i.includes(t);return(0,o.tZ)("div",d({css:{flex:1,justifyContent:"center",alignItems:"center",display:"flex"}},{children:(0,o.tZ)("input",{type:H,name:null!==k?"".concat(_.key,"-").concat(r,"-").concat(k):"".concat(_.key,"-").concat(r),"aria-label":n.properties.aria_label,"data-question-id":e.id,value:t,disabled:y||e.read_only,checked:l,onChange:b,onFocus:a.ms,css:(0,h.composeCheckableInputStyle)(Z,y,!w)})}),c)}))]}),r)}))]}))}}}]);
|