@feathery/react 2.46.0 → 2.47.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/grid/StyledContainer/index.d.ts.map +1 -1
- package/cjs/elements/fields/PinInputField/index.d.ts.map +1 -1
- package/cjs/elements/fields/index.d.ts.map +1 -1
- package/cjs/elements/styles.d.ts +2 -2
- package/cjs/elements/styles.d.ts.map +1 -1
- package/cjs/elements/utils/labelStyleResolver.d.ts +17 -0
- package/cjs/elements/utils/labelStyleResolver.d.ts.map +1 -0
- package/cjs/{fthry_AssistantChat.Ccq_0Swx.js → fthry_AssistantChat.RYl5Kk3w.js} +4 -4
- package/cjs/{fthry_FormControl.D29JIM7K.js → fthry_FormControl.cRGKcR8v.js} +1 -1
- package/cjs/{fthry_InlineTooltip.CKULIOlC.js → fthry_InlineTooltip.KVW9ArTE.js} +2 -2
- package/cjs/{fthry_Overlay.yDSHNtwz.js → fthry_Overlay.CC5aQQjA.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.CDMMYay9.js → fthry_PaymentMethodField.DSPVbsyl.js} +4 -4
- package/cjs/{fthry_Placeholder.BSe-1mcC.js → fthry_Placeholder.Bx86iRiF.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.Cb8U1JK-.js → fthry_ShowEyeIcon.DAXzCa16.js} +1 -1
- package/cjs/{fthry_TabsElement.C5LG20Au.js → fthry_TabsElement.Cs4Kh2J0.js} +1 -1
- package/cjs/{fthry_auto-track.BNlrElM-.js → fthry_auto-track.B8gpxCmX.js} +2 -2
- package/cjs/{fthry_highlighted-body-TPN3WLV5.7LMZCqXX.js → fthry_highlighted-body-TPN3WLV5.D4zI4Wgj.js} +3 -3
- package/cjs/{fthry_index.Dmz5RtWX.js → fthry_index.3hV7Jf7A.js} +6 -6
- package/cjs/{fthry_index.CTQbB79c.js → fthry_index.5QttCEK6.js} +6 -6
- package/cjs/{fthry_index.DNIgqT7X.js → fthry_index.5nQHvXCX.js} +2 -2
- package/cjs/{fthry_index.BwT0PDuh.js → fthry_index.BQGeSUeA.js} +2 -2
- package/cjs/{fthry_index.CmtLVGae.js → fthry_index.BSIU-qL4.js} +1 -1
- package/cjs/{fthry_index.DJLmA3W3.js → fthry_index.BgT5C0mK.js} +10 -10
- package/cjs/{fthry_index.DEfMLQfc.js → fthry_index.Bq7L6-z4.js} +1 -1
- package/cjs/{fthry_index.D03J0Azq.js → fthry_index.C9kE7SOR.js} +2 -2
- package/cjs/{fthry_index.BebTDhWD.js → fthry_index.CCd40fDr.js} +3 -3
- package/cjs/{fthry_index.Ch4eVK8q.js → fthry_index.CClJ6Ilv.js} +4 -4
- package/cjs/{fthry_index.BThAJ1cv.js → fthry_index.CFINlg_C.js} +3 -3
- package/cjs/{fthry_index.CcvbBuo_.js → fthry_index.CHYx08r8.js} +1 -1
- package/cjs/{fthry_index.CQ97tAoA.js → fthry_index.CM7RkpqD.js} +2 -2
- package/cjs/{fthry_index.Dz2ipsc6.js → fthry_index.CPk-0SpT.js} +1 -1
- package/cjs/{fthry_index.BpqwjZna.js → fthry_index.CfbBZsyo.js} +4 -4
- package/cjs/{fthry_index.DB3jl9ja.js → fthry_index.D4xHDmNb.js} +1 -1
- package/cjs/{fthry_index.BYkt4DUx.js → fthry_index.DClovJ3w.js} +5 -5
- package/cjs/{fthry_index.SWI18Z9b.js → fthry_index.DJnOKZpa.js} +1 -1
- package/cjs/{fthry_index.BCr_I9CF.js → fthry_index.DWGAqgV3.js} +6 -6
- package/cjs/{fthry_index.u2VDZfKG.js → fthry_index.Db2U-5tk.js} +2 -2
- package/cjs/{fthry_index.tHMhRAP0.js → fthry_index.DiPaoR7M.js} +5 -5
- package/cjs/{fthry_index.CS8XI36d.js → fthry_index.DmjyAgn4.js} +5 -5
- package/cjs/{fthry_index.BB4TbGRD.js → fthry_index.DpkaObsc.js} +2 -7
- package/cjs/{fthry_index.OGm0b7hG.js → fthry_index.DqnY0_Rp.js} +5 -5
- package/cjs/{fthry_index.BnetnnAN.js → fthry_index.Dvwe_gjG.js} +1 -1
- package/cjs/{fthry_index.CVv_e5V3.js → fthry_index.Gunu-FKf.js} +2 -2
- package/cjs/{fthry_index.C-X9zaRK.js → fthry_index.HsrHEbIg.js} +1 -1
- package/cjs/{fthry_index.DU2jQZqI.js → fthry_index.ON2TS2gp.js} +8 -8
- package/cjs/{fthry_index.Ck590gDe.js → fthry_index.PduYUqMY.js} +1 -1
- package/cjs/{fthry_index.wsmXvYJm.js → fthry_index.enOrBFBH.js} +6 -6
- package/cjs/{fthry_index.umd.CsG5-4aw.js → fthry_index.umd.DZiHltTx.js} +1 -1
- package/cjs/{fthry_index.CpnN7Soi.js → fthry_index.xXMfVNPV.js} +155 -52
- package/cjs/{fthry_input.Bb-4lDhp.js → fthry_input.S7D7jtTr.js} +1 -1
- package/cjs/{fthry_mermaid-O7DHMXV3.Dl9jL-iJ.js → fthry_mermaid-O7DHMXV3.adoRu4_3.js} +3 -3
- package/cjs/{fthry_script.ovelsfTg.js → fthry_script.BLNO1Bx-.js} +1 -1
- package/cjs/{fthry_styles.LTDDNQMI.js → fthry_styles.B1F6xC90.js} +1 -1
- package/cjs/{fthry_useElementSize.DpBWkC1q.js → fthry_useElementSize.0djhxpoY.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.niNHr9OK.js → fthry_useSalesforceSync.uvkYC4Vy.js} +1 -1
- package/cjs/{fthry_webfontloader.BezpEBZR.js → fthry_webfontloader.B-s2Ztw_.js} +1 -1
- package/cjs/index.d.ts +2 -1
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +2 -1
- package/dist/Form/grid/StyledContainer/index.d.ts.map +1 -1
- package/dist/Form/grid/StyledContainer/index.spec.d.ts +2 -0
- package/dist/Form/grid/StyledContainer/index.spec.d.ts.map +1 -0
- package/dist/elements/fields/PinInputField/index.d.ts.map +1 -1
- package/dist/elements/fields/index.d.ts.map +1 -1
- package/dist/elements/styles.d.ts +2 -2
- package/dist/elements/styles.d.ts.map +1 -1
- package/dist/elements/utils/labelStyleResolver.d.ts +17 -0
- package/dist/elements/utils/labelStyleResolver.d.ts.map +1 -0
- package/dist/{fthry_AssistantChat.DiHL7dO5.js → fthry_AssistantChat.BkXGuxFc.js} +4 -4
- package/dist/{fthry_FormControl.C1Qs0xRm.js → fthry_FormControl.DCwDKF5L.js} +1 -1
- package/dist/{fthry_InlineTooltip.ByMa9uSw.js → fthry_InlineTooltip.DSg3W6ZM.js} +2 -2
- package/dist/{fthry_Overlay.CU1SH-um.js → fthry_Overlay.WQzZD-pG.js} +1 -1
- package/dist/{fthry_PaymentMethodField.B7vXZLaY.js → fthry_PaymentMethodField.BF1_ADdq.js} +4 -4
- package/dist/{fthry_Placeholder.BxzLZsXS.js → fthry_Placeholder.B5Uev0Hf.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.DtwKo9ho.js → fthry_ShowEyeIcon.VelEMRit.js} +1 -1
- package/dist/{fthry_TabsElement.CG5GX23H.js → fthry_TabsElement.BeeupLyO.js} +1 -1
- package/dist/{fthry_auto-track.Cry1nfwC.js → fthry_auto-track.Co29xpDW.js} +2 -2
- package/dist/{fthry_highlighted-body-TPN3WLV5.BVe7M9Lw.js → fthry_highlighted-body-TPN3WLV5.BnJwmG4t.js} +3 -3
- package/dist/{fthry_index.DFe5Gugu.js → fthry_index.1gUdXwl6.js} +1 -1
- package/dist/{fthry_index.BUFSNLXS.js → fthry_index.BA07HRMQ.js} +2 -2
- package/dist/{fthry_index.CL3hHTjQ.js → fthry_index.BJU0heSD.js} +155 -53
- package/dist/{fthry_index.CoOrQVlb.js → fthry_index.BJr7vCxS.js} +4 -4
- package/dist/{fthry_index.Dl7Jr60c.js → fthry_index.BNI7esZW.js} +1 -1
- package/dist/{fthry_index.DQTQ84eq.js → fthry_index.BVel2niO.js} +2 -2
- package/dist/{fthry_index.yIxwjs47.js → fthry_index.BlnEMK3B.js} +2 -2
- package/dist/{fthry_index.CTtFSL1v.js → fthry_index.BvVpLT4a.js} +2 -2
- package/dist/{fthry_index.OLtKG_AP.js → fthry_index.C2AMNhPy.js} +1 -1
- package/dist/{fthry_index.CnkNUy8D.js → fthry_index.C76F1rv6.js} +1 -1
- package/dist/{fthry_index.QUItJhfa.js → fthry_index.CChlfvU8.js} +1 -1
- package/dist/{fthry_index.C6nDdLsT.js → fthry_index.CSuYZoDu.js} +5 -5
- package/dist/{fthry_index.D3Ctwofc.js → fthry_index.CcNsGrfb.js} +6 -6
- package/dist/{fthry_index.9abLHNOS.js → fthry_index.ChoejmjE.js} +2 -2
- package/dist/{fthry_index.DYkQYGGo.js → fthry_index.Ct2aQxQk.js} +3 -3
- package/dist/{fthry_index.CzeP0gGW.js → fthry_index.CuIq1jlI.js} +5 -5
- package/dist/{fthry_index.CQUDohBK.js → fthry_index.D-SzOefA.js} +3 -3
- package/dist/{fthry_index.DltlrCTz.js → fthry_index.DNX_yPZC.js} +1 -1
- package/dist/{fthry_index.BG_Nm6ZL.js → fthry_index.DRACGggd.js} +5 -5
- package/dist/{fthry_index.B7Ne8hG0.js → fthry_index.Dd7eFDCJ.js} +10 -10
- package/dist/{fthry_index.00nR3q_c.js → fthry_index.DkFtfnLA.js} +5 -5
- package/dist/{fthry_index.C1fbsOU2.js → fthry_index.Gy2m3-Rl.js} +2 -7
- package/dist/{fthry_index.CcwVvGij.js → fthry_index.Oh08q-3L.js} +2 -2
- package/dist/{fthry_index.4PYKmC6L.js → fthry_index.P8zmN4m-.js} +8 -8
- package/dist/{fthry_index.CmH30ouB.js → fthry_index.QGAXZ6uR.js} +5 -5
- package/dist/{fthry_index.DrHTd_AO.js → fthry_index.RCbvm0sI.js} +1 -1
- package/dist/{fthry_index.DGOthlYi.js → fthry_index.dprry_I4.js} +1 -1
- package/dist/{fthry_index.CtehhU5w.js → fthry_index.ewMVAMwR.js} +6 -6
- package/dist/{fthry_index.dRHZjTU8.js → fthry_index.kh2WIlxl.js} +4 -4
- package/dist/{fthry_index.3v-BXSWr.js → fthry_index.mjEfsyxP.js} +1 -1
- package/dist/{fthry_index.KNl5IQbj.js → fthry_index.uTk8splA.js} +6 -6
- package/dist/{fthry_index.umd.Bsqkj-Hf.js → fthry_index.umd.BjDV37Wr.js} +1 -1
- package/dist/{fthry_input.Cd3U4YXd.js → fthry_input.CQrUAwEK.js} +1 -1
- package/dist/{fthry_mermaid-O7DHMXV3.Dp2C3vR-.js → fthry_mermaid-O7DHMXV3.DZdu_LFd.js} +3 -3
- package/dist/{fthry_script.Dcs3Apko.js → fthry_script.BZGoeHIe.js} +1 -1
- package/dist/{fthry_styles.BCVZNGCY.js → fthry_styles.Z7LzL6dU.js} +1 -1
- package/dist/{fthry_useElementSize.Bvuimmvh.js → fthry_useElementSize.4Go4WPjc.js} +1 -1
- package/dist/{fthry_useSalesforceSync.bhdBo_Oi.js → fthry_useSalesforceSync.CiAAPPRZ.js} +1 -1
- package/dist/{fthry_webfontloader.ngBl-rIr.js → fthry_webfontloader.D2SP4Ble.js} +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/umd/{PinInputField.ddc30797191dfbed7fe3.js → PinInputField.8116b03689657937daa0.js} +1 -1
- package/umd/index.js +1 -1
|
@@ -23539,7 +23539,16 @@ var StyledContainer = forwardRef(function (_a, ref) {
|
|
|
23539
23539
|
var _m = __read(useFixedContainer(node, rawNode, viewport, breakpoint), 2), isFixed = _m[0], fixedContainerRef = _m[1];
|
|
23540
23540
|
if (node.properties.iframe_url) {
|
|
23541
23541
|
var url = replaceTextVariables(node.properties.iframe_url);
|
|
23542
|
-
children.push(jsx$1("iframe", { width: '100%', height: '100%', src: url,
|
|
23542
|
+
children.push(jsx$1("iframe", { width: '100%', height: '100%', src: url, scrolling: 'auto', css: {
|
|
23543
|
+
border: 'none',
|
|
23544
|
+
display: 'block',
|
|
23545
|
+
flex: '1 1 auto',
|
|
23546
|
+
height: '100%',
|
|
23547
|
+
maxHeight: '100%',
|
|
23548
|
+
minHeight: 0,
|
|
23549
|
+
overflow: 'auto',
|
|
23550
|
+
width: '100%'
|
|
23551
|
+
} }, "iframe:".concat(url)));
|
|
23543
23552
|
}
|
|
23544
23553
|
if (node.properties.custom_html) {
|
|
23545
23554
|
var html = replaceTextVariables(node.properties.custom_html);
|
|
@@ -41059,7 +41068,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
|
|
|
41059
41068
|
}, [activeStep, stepKey, formName]);
|
|
41060
41069
|
}
|
|
41061
41070
|
|
|
41062
|
-
var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.
|
|
41071
|
+
var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.BkXGuxFc.js').then(function (n) { return n.A; }); });
|
|
41063
41072
|
var AssistantChat = function (props) { return (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(LazyAssistantChat, __assign({}, props)) }))); };
|
|
41064
41073
|
|
|
41065
41074
|
var AssistantClient = /** @class */ (function () {
|
|
@@ -45100,7 +45109,7 @@ function loadSegment(segmentConfig, queue) {
|
|
|
45100
45109
|
case 0:
|
|
45101
45110
|
_a.trys.push([0, 2, , 3]);
|
|
45102
45111
|
return [4 /*yield*/, import(
|
|
45103
|
-
/* webpackChunkName: "segment" */ './fthry_index.
|
|
45112
|
+
/* webpackChunkName: "segment" */ './fthry_index.Dd7eFDCJ.js').then(function (n) { return n.q; })];
|
|
45104
45113
|
case 1:
|
|
45105
45114
|
(AnalyticsBrowserClass = (_a.sent()).AnalyticsBrowser);
|
|
45106
45115
|
return [3 /*break*/, 3];
|
|
@@ -47735,9 +47744,9 @@ function init(sdkKey, options) {
|
|
|
47735
47744
|
if (runningInClient()) {
|
|
47736
47745
|
// Dynamically load libraries that must be client side
|
|
47737
47746
|
global.scriptjsLoadPromise = import(
|
|
47738
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
47747
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.BZGoeHIe.js').then(function (n) { return n.s; });
|
|
47739
47748
|
global.webfontloaderPromise = import(
|
|
47740
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
47749
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.D2SP4Ble.js').then(function (n) { return n.w; });
|
|
47741
47750
|
// Client-side tracking logic
|
|
47742
47751
|
if (initState.userTracking === 'cookie') {
|
|
47743
47752
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -47924,7 +47933,7 @@ function loadCompletedSteps(client) {
|
|
|
47924
47933
|
});
|
|
47925
47934
|
}
|
|
47926
47935
|
function logFeatheryBadge() {
|
|
47927
|
-
console.log('%c Feathery %c v' + "2.
|
|
47936
|
+
console.log('%c Feathery %c v' + "2.47.0" + ' ', // replaced with real version during build
|
|
47928
47937
|
'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;');
|
|
47929
47938
|
}
|
|
47930
47939
|
|
|
@@ -48799,29 +48808,47 @@ var ResponsiveStyles = /** @class */ (function () {
|
|
|
48799
48808
|
return _a = {}, _a[cssProp] = color, _a;
|
|
48800
48809
|
});
|
|
48801
48810
|
};
|
|
48802
|
-
ResponsiveStyles.prototype.applyFontStyles = function (target, placeholder, ignoreSelectorFontColor) {
|
|
48811
|
+
ResponsiveStyles.prototype.applyFontStyles = function (target, placeholder, ignoreSelectorFontColor, prefix, skipUnset) {
|
|
48812
|
+
var _this = this;
|
|
48803
48813
|
if (placeholder === void 0) { placeholder = false; }
|
|
48804
48814
|
if (ignoreSelectorFontColor === void 0) { ignoreSelectorFontColor = false; }
|
|
48805
|
-
|
|
48815
|
+
if (prefix === void 0) { prefix = ''; }
|
|
48816
|
+
if (skipUnset === void 0) { skipUnset = false; }
|
|
48817
|
+
// With skipUnset, properties without a value emit no CSS at all (instead
|
|
48818
|
+
// of defaults like lineHeight: 'normal') so the target inherits them from
|
|
48819
|
+
// its parent. Used for labels, which inherit the field's font unless a
|
|
48820
|
+
// label_* property is explicitly set.
|
|
48821
|
+
var apply = function (target, properties, get) {
|
|
48822
|
+
return _this.apply(target, properties, skipUnset
|
|
48823
|
+
? function () {
|
|
48824
|
+
var vals = [];
|
|
48825
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
48826
|
+
vals[_i] = arguments[_i];
|
|
48827
|
+
}
|
|
48828
|
+
return vals.every(function (v) { return v === undefined; }) ? {} : get.apply(void 0, __spreadArray([], __read(vals), false));
|
|
48829
|
+
}
|
|
48830
|
+
: get);
|
|
48831
|
+
};
|
|
48832
|
+
apply(target, "".concat(prefix, "font_weight"), function (a) { return ({
|
|
48806
48833
|
fontWeight: a
|
|
48807
48834
|
}); });
|
|
48808
|
-
this.applyFontFamily(target);
|
|
48809
|
-
|
|
48835
|
+
this.applyFontFamily(target, prefix);
|
|
48836
|
+
apply(target, "".concat(prefix, "font_size"), function (a) { return ({
|
|
48810
48837
|
fontSize: "".concat(a, "px")
|
|
48811
48838
|
}); });
|
|
48812
|
-
|
|
48839
|
+
apply(target, "".concat(prefix, "line_height"), function (a) { return ({
|
|
48813
48840
|
lineHeight: isNum(a) ? "".concat(a, "px") : 'normal'
|
|
48814
48841
|
}); });
|
|
48815
|
-
|
|
48842
|
+
apply(target, "".concat(prefix, "letter_spacing"), function (a) { return ({
|
|
48816
48843
|
letterSpacing: isNum(a) ? "".concat(a, "px") : 'normal'
|
|
48817
48844
|
}); });
|
|
48818
|
-
|
|
48845
|
+
apply(target, "".concat(prefix, "text_transform"), function (a) { return ({
|
|
48819
48846
|
textTransform: a || 'none'
|
|
48820
48847
|
}); });
|
|
48821
|
-
|
|
48848
|
+
apply(target, placeholder ? "".concat(prefix, "placeholder_italic") : "".concat(prefix, "font_italic"), function (a) { return ({
|
|
48822
48849
|
fontStyle: a ? 'italic' : 'normal'
|
|
48823
48850
|
}); });
|
|
48824
|
-
|
|
48851
|
+
apply(target, placeholder ? "".concat(prefix, "placeholder_color") : "".concat(prefix, "font_color"), function (a) { return ({
|
|
48825
48852
|
color: "#".concat(a),
|
|
48826
48853
|
'&:disabled': {
|
|
48827
48854
|
color: "#".concat(a),
|
|
@@ -48835,14 +48862,14 @@ var ResponsiveStyles = /** @class */ (function () {
|
|
|
48835
48862
|
}
|
|
48836
48863
|
}); });
|
|
48837
48864
|
if (!placeholder && !ignoreSelectorFontColor) {
|
|
48838
|
-
|
|
48865
|
+
apply(target, "".concat(prefix, "hover_font_color"), function (color) { return ({
|
|
48839
48866
|
'&:hover': color ? { color: "#".concat(color) } : {}
|
|
48840
48867
|
}); });
|
|
48841
|
-
|
|
48868
|
+
apply(target, "".concat(prefix, "selected_font_color"), function (color) { return ({
|
|
48842
48869
|
'&:focus': color ? { color: "#".concat(color) } : {}
|
|
48843
48870
|
}); });
|
|
48844
48871
|
}
|
|
48845
|
-
|
|
48872
|
+
apply(target, ["".concat(prefix, "font_strike"), "".concat(prefix, "font_underline")], function (a, b) {
|
|
48846
48873
|
var lines = [];
|
|
48847
48874
|
if (a)
|
|
48848
48875
|
lines.push('line-through');
|
|
@@ -48877,9 +48904,10 @@ var ResponsiveStyles = /** @class */ (function () {
|
|
|
48877
48904
|
.join(', ');
|
|
48878
48905
|
return families;
|
|
48879
48906
|
};
|
|
48880
|
-
ResponsiveStyles.prototype.applyFontFamily = function (target) {
|
|
48907
|
+
ResponsiveStyles.prototype.applyFontFamily = function (target, prefix) {
|
|
48881
48908
|
var _this = this;
|
|
48882
|
-
|
|
48909
|
+
if (prefix === void 0) { prefix = ''; }
|
|
48910
|
+
this.apply(target, "".concat(prefix, "font_family"), function (a) {
|
|
48883
48911
|
if (!a)
|
|
48884
48912
|
return {};
|
|
48885
48913
|
return { fontFamily: _this.transformFontFamilies(a) };
|
|
@@ -49437,66 +49465,128 @@ breakpoint) {
|
|
|
49437
49465
|
return styles.getTarget('inner-container', undefined, viewport === 'mobile');
|
|
49438
49466
|
};
|
|
49439
49467
|
|
|
49468
|
+
// Authoritative resolution of a field label's effective typography.
|
|
49469
|
+
//
|
|
49470
|
+
// At render time (see elements/fields/index.tsx) unset `label_*` font properties
|
|
49471
|
+
// emit no CSS (applyFontStyles with skipUnset=true) so the <label> inherits the
|
|
49472
|
+
// field's font_* from its `'fc'` container via the CSS cascade, and an unset
|
|
49473
|
+
// `label_text_align` is forced to LABEL_TEXT_ALIGN_DEFAULT. The renderer relies on
|
|
49474
|
+
// CSS inheritance rather than calling this resolver for fonts, so this function
|
|
49475
|
+
// must encode the *same* semantic. Any UI that needs the concrete value a label
|
|
49476
|
+
// will display (e.g. a style panel) should call this instead of re-deriving the
|
|
49477
|
+
// fallback, keeping the panel and the render path in sync.
|
|
49478
|
+
var LABEL_INHERITED_FONT_KEYS = [
|
|
49479
|
+
'font_family',
|
|
49480
|
+
'font_weight',
|
|
49481
|
+
'font_size',
|
|
49482
|
+
'font_color',
|
|
49483
|
+
'font_italic',
|
|
49484
|
+
'line_height',
|
|
49485
|
+
'letter_spacing',
|
|
49486
|
+
'text_transform'
|
|
49487
|
+
];
|
|
49488
|
+
var LABEL_TEXT_ALIGN_DEFAULT = 'left';
|
|
49489
|
+
// The label's default gap (marginBottom) is applied inline on the <label> in
|
|
49490
|
+
// elements/fields/index.tsx — checkbox fields get no gap, everything else 10px.
|
|
49491
|
+
var LABEL_GAP_DEFAULT = 10;
|
|
49492
|
+
var LABEL_GAP_DEFAULT_CHECKBOX = 0;
|
|
49493
|
+
function getLabelGapDefault(fieldType) {
|
|
49494
|
+
return fieldType === 'checkbox'
|
|
49495
|
+
? LABEL_GAP_DEFAULT_CHECKBOX
|
|
49496
|
+
: LABEL_GAP_DEFAULT;
|
|
49497
|
+
}
|
|
49498
|
+
/**
|
|
49499
|
+
* Given a field's resolved style (containing both the field's `font_*` keys and
|
|
49500
|
+
* any explicitly-set `label_*` keys), return the concrete `label_*` values a UI
|
|
49501
|
+
* should display. Font props fall back to the field's value when the label key is
|
|
49502
|
+
* unset; text-align and gap fall back to the renderer's forced defaults.
|
|
49503
|
+
*
|
|
49504
|
+
* `opts.fieldType` is needed only to resolve the gap default (checkbox has none).
|
|
49505
|
+
*/
|
|
49506
|
+
function resolveLabelStyle(style, opts) {
|
|
49507
|
+
var e_1, _a;
|
|
49508
|
+
var _b, _c, _d;
|
|
49509
|
+
if (style === void 0) { style = {}; }
|
|
49510
|
+
if (opts === void 0) { opts = {}; }
|
|
49511
|
+
var out = {};
|
|
49512
|
+
try {
|
|
49513
|
+
for (var LABEL_INHERITED_FONT_KEYS_1 = __values(LABEL_INHERITED_FONT_KEYS), LABEL_INHERITED_FONT_KEYS_1_1 = LABEL_INHERITED_FONT_KEYS_1.next(); !LABEL_INHERITED_FONT_KEYS_1_1.done; LABEL_INHERITED_FONT_KEYS_1_1 = LABEL_INHERITED_FONT_KEYS_1.next()) {
|
|
49514
|
+
var key = LABEL_INHERITED_FONT_KEYS_1_1.value;
|
|
49515
|
+
out["label_".concat(key)] = (_b = style["label_".concat(key)]) !== null && _b !== void 0 ? _b : style[key];
|
|
49516
|
+
}
|
|
49517
|
+
}
|
|
49518
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
49519
|
+
finally {
|
|
49520
|
+
try {
|
|
49521
|
+
if (LABEL_INHERITED_FONT_KEYS_1_1 && !LABEL_INHERITED_FONT_KEYS_1_1.done && (_a = LABEL_INHERITED_FONT_KEYS_1.return)) _a.call(LABEL_INHERITED_FONT_KEYS_1);
|
|
49522
|
+
}
|
|
49523
|
+
finally { if (e_1) throw e_1.error; }
|
|
49524
|
+
}
|
|
49525
|
+
out.label_text_align = (_c = style.label_text_align) !== null && _c !== void 0 ? _c : LABEL_TEXT_ALIGN_DEFAULT;
|
|
49526
|
+
out.label_gap = (_d = style.label_gap) !== null && _d !== void 0 ? _d : getLabelGapDefault(opts.fieldType);
|
|
49527
|
+
return out;
|
|
49528
|
+
}
|
|
49529
|
+
|
|
49440
49530
|
var fieldLoaders = {
|
|
49441
49531
|
AddressLine1: function () {
|
|
49442
|
-
return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
49532
|
+
return import(/* webpackChunkName: "AddressField" */ './fthry_index.DkFtfnLA.js');
|
|
49443
49533
|
},
|
|
49444
49534
|
ButtonGroupField: function () {
|
|
49445
|
-
return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
49535
|
+
return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.BJr7vCxS.js');
|
|
49446
49536
|
},
|
|
49447
49537
|
CheckboxField: function () {
|
|
49448
|
-
return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
49538
|
+
return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.CChlfvU8.js');
|
|
49449
49539
|
},
|
|
49450
49540
|
CheckboxGroupField: function () {
|
|
49451
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
49541
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.uTk8splA.js');
|
|
49452
49542
|
},
|
|
49453
49543
|
ColorPickerField: function () {
|
|
49454
|
-
return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
49544
|
+
return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.C2AMNhPy.js');
|
|
49455
49545
|
},
|
|
49456
49546
|
CustomField: function () {
|
|
49457
|
-
return import(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
49547
|
+
return import(/* webpackChunkName: "CustomField" */ './fthry_index.RCbvm0sI.js');
|
|
49458
49548
|
},
|
|
49459
49549
|
DateSelectorField: function () {
|
|
49460
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
49550
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.CcNsGrfb.js');
|
|
49461
49551
|
},
|
|
49462
49552
|
DropdownField: function () {
|
|
49463
|
-
return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
49553
|
+
return import(/* webpackChunkName: "DropdownField" */ './fthry_index.CuIq1jlI.js');
|
|
49464
49554
|
},
|
|
49465
49555
|
DropdownMultiField: function () {
|
|
49466
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
49556
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.CSuYZoDu.js');
|
|
49467
49557
|
},
|
|
49468
49558
|
FileUploadField: function () {
|
|
49469
|
-
return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
49559
|
+
return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.1gUdXwl6.js');
|
|
49470
49560
|
},
|
|
49471
49561
|
MatrixField: function () {
|
|
49472
|
-
return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
49562
|
+
return import(/* webpackChunkName: "MatrixField" */ './fthry_index.Ct2aQxQk.js');
|
|
49473
49563
|
},
|
|
49474
49564
|
PasswordField: function () {
|
|
49475
|
-
return import(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
49565
|
+
return import(/* webpackChunkName: "PasswordField" */ './fthry_index.DRACGggd.js');
|
|
49476
49566
|
},
|
|
49477
49567
|
PaymentMethodField: function () {
|
|
49478
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
49568
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.BF1_ADdq.js');
|
|
49479
49569
|
},
|
|
49480
|
-
PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
49570
|
+
PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.QGAXZ6uR.js'); },
|
|
49481
49571
|
PinInputField: function () {
|
|
49482
|
-
return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
49572
|
+
return import(/* webpackChunkName: "PinInputField" */ './fthry_index.Gy2m3-Rl.js');
|
|
49483
49573
|
},
|
|
49484
|
-
QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
49574
|
+
QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.BlnEMK3B.js'); },
|
|
49485
49575
|
RadioButtonGroupField: function () {
|
|
49486
49576
|
return import(
|
|
49487
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
49577
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.ewMVAMwR.js');
|
|
49488
49578
|
},
|
|
49489
49579
|
RatingField: function () {
|
|
49490
|
-
return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
49580
|
+
return import(/* webpackChunkName: "RatingField" */ './fthry_index.C76F1rv6.js');
|
|
49491
49581
|
},
|
|
49492
49582
|
SignatureField: function () {
|
|
49493
|
-
return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
49583
|
+
return import(/* webpackChunkName: "SignatureField" */ './fthry_index.D-SzOefA.js');
|
|
49494
49584
|
},
|
|
49495
49585
|
SliderField: function () {
|
|
49496
|
-
return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
49586
|
+
return import(/* webpackChunkName: "SliderField" */ './fthry_index.ChoejmjE.js');
|
|
49497
49587
|
},
|
|
49498
|
-
TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
49499
|
-
TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
49588
|
+
TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.P8zmN4m-.js'); },
|
|
49589
|
+
TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.kh2WIlxl.js'); }
|
|
49500
49590
|
};
|
|
49501
49591
|
var getPositionKey = function (element) { var _a; return ((_a = element.position) === null || _a === void 0 ? void 0 : _a.join(',')) || 'root'; };
|
|
49502
49592
|
// Share the resolved component between preload and render. A separate
|
|
@@ -49658,14 +49748,31 @@ var defaultBorderFields = [
|
|
|
49658
49748
|
'file_upload'
|
|
49659
49749
|
];
|
|
49660
49750
|
var DROPDOWN_Z_INDEX = 10;
|
|
49751
|
+
function applyLabelFontStyles(styles) {
|
|
49752
|
+
// skipUnset: unset label_* properties emit no CSS so the label inherits the
|
|
49753
|
+
// field's font from its container instead of getting font-style defaults.
|
|
49754
|
+
// NOTE: resolveLabelStyle (../labelStyleResolver) mirrors this font-inheritance
|
|
49755
|
+
// semantic for UIs that need the concrete displayed value — keep the two in sync.
|
|
49756
|
+
styles.applyFontStyles('fieldLabel', false, true, 'label_', true);
|
|
49757
|
+
}
|
|
49661
49758
|
function applyFieldStyles(field, styles) {
|
|
49662
49759
|
var type = field.servar.type;
|
|
49663
|
-
styles.addTargets('fc', 'sub-fc', 'field', 'error', 'active', 'hover', 'disabled', 'tooltipIcon');
|
|
49760
|
+
styles.addTargets('fc', 'sub-fc', 'field', 'error', 'active', 'hover', 'disabled', 'tooltipIcon', 'fieldLabel');
|
|
49664
49761
|
// For these fields, selector font colors
|
|
49665
49762
|
// apply to the checkmark / radio fill
|
|
49666
49763
|
var ignoreSelectorColors = ['select', 'multiselect', 'checkbox'].includes(type);
|
|
49667
49764
|
styles.applyFontStyles('fc', false, true);
|
|
49668
49765
|
styles.applyFontStyles('field', false, ignoreSelectorColors);
|
|
49766
|
+
// Label styling is independent of the field. When a label_* property is
|
|
49767
|
+
// unset, nothing is applied and the label inherits the field's font from its
|
|
49768
|
+
// container ('fc'), preserving prior behavior.
|
|
49769
|
+
applyLabelFontStyles(styles);
|
|
49770
|
+
styles.apply('fieldLabel', 'label_gap', function (a) {
|
|
49771
|
+
return a === undefined ? {} : { marginBottom: "".concat(a, "px") };
|
|
49772
|
+
});
|
|
49773
|
+
styles.apply('fieldLabel', 'label_text_align', function (a) {
|
|
49774
|
+
return a === undefined ? { textAlign: LABEL_TEXT_ALIGN_DEFAULT } : { textAlign: a };
|
|
49775
|
+
});
|
|
49669
49776
|
// These are fields that don't have content inside, which won't be shifted by
|
|
49670
49777
|
// a default border
|
|
49671
49778
|
var hasBorder = defaultBorderFields.includes(type);
|
|
@@ -49989,15 +50096,10 @@ Object.entries(Fields).map(function (_a) {
|
|
|
49989
50096
|
Fields[key] = memo(function (_a) {
|
|
49990
50097
|
var element = _a.element, responsiveStyles = _a.responsiveStyles, props = __rest$1(_a, ["element", "responsiveStyles"]);
|
|
49991
50098
|
var servar = element.servar;
|
|
50099
|
+
var styles = useMemo(function () { return applyFieldStyles(element, responsiveStyles); }, [element]);
|
|
49992
50100
|
var fieldLabel = (servar === null || servar === void 0 ? void 0 : servar.name) ? (jsx$1("label", __assign({
|
|
49993
50101
|
// Doesn't work for repeats currently since repeating field IDs aren't unique
|
|
49994
|
-
htmlFor: servar.repeated ? undefined : servar.key, style: {
|
|
49995
|
-
marginBottom: servar.type === 'checkbox' ? 0 : '10px',
|
|
49996
|
-
display: 'inline-block',
|
|
49997
|
-
whiteSpace: 'pre-wrap',
|
|
49998
|
-
overflowWrap: 'anywhere'
|
|
49999
|
-
} }, { children: servar.name }))) : null;
|
|
50000
|
-
var styles = useMemo(function () { return applyFieldStyles(element, responsiveStyles); }, [element]);
|
|
50102
|
+
htmlFor: servar.repeated ? undefined : servar.key, style: __assign({ marginBottom: "".concat(getLabelGapDefault(servar.type), "px"), display: 'inline-block', whiteSpace: 'pre-wrap', overflowWrap: 'anywhere' }, styles.getTarget('fieldLabel')) }, { children: servar.name }))) : null;
|
|
50001
50103
|
return (jsx$1(Field, __assign({ element: element, fieldLabel: fieldLabel, responsiveStyles: styles }, props)));
|
|
50002
50104
|
});
|
|
50003
50105
|
});
|
|
@@ -50744,8 +50846,8 @@ function ElementSkeleton(_a) {
|
|
|
50744
50846
|
}
|
|
50745
50847
|
var templateObject_1;
|
|
50746
50848
|
|
|
50747
|
-
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
50748
|
-
var TabsElement = lazy(function () { return import(/* webpackChunkName: "TabsElement" */ './fthry_TabsElement.
|
|
50849
|
+
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.mjEfsyxP.js'); });
|
|
50850
|
+
var TabsElement = lazy(function () { return import(/* webpackChunkName: "TabsElement" */ './fthry_TabsElement.BeeupLyO.js'); });
|
|
50749
50851
|
var Basic = {
|
|
50750
50852
|
ImageElement: ImageElement,
|
|
50751
50853
|
VideoElement: VideoElement,
|
|
@@ -51043,4 +51145,4 @@ var Feathery = {
|
|
|
51043
51145
|
renderAt: renderAt
|
|
51044
51146
|
};
|
|
51045
51147
|
|
|
51046
|
-
export { MODAL_Z_INDEX as $, emailPatternStr as A, replaceTextVariables as B, getDefaultExportFromCjs as C, DROPDOWN_Z_INDEX as D, ErrorInput as E, FORM_Z_INDEX as F, Global as G, debounce as H, isEmptyArray as I, toList as J, useThumbnailData as K, __spreadArray as L, downloadFile as M, CloseIcon as N, justRemove as O, isNum as P, phoneLib as Q, authState as R, firebaseSMSCountries as S, phoneLibPromise as T, __values as U, loadQRScanner as V, throttle as W, qrPromise as X, devicePixelRatio as Y, toBase64 as Z, __assign as _, jsx$1 as a, dataURLToFile as a0, stringify$2 as a1, rulesheet as a2, COMMENT as a3, middleware as a4, RULESET as a5, combine as a6, match as a7, serialize as a8, copy as a9, getRepeatedContainer as aA, getDefaultFieldValue as aB, isButtonDisabled as aC, loadPhoneValidator as aD, initInfo as aE, getCookie as aF, v4$1 as aG, ReactForm as aH, Elements as aI, init as aJ, updateUserId as aK, updateTheme as aL, setFieldValues as aM, getFieldValues as aN,
|
|
51148
|
+
export { MODAL_Z_INDEX as $, emailPatternStr as A, replaceTextVariables as B, getDefaultExportFromCjs as C, DROPDOWN_Z_INDEX as D, ErrorInput as E, FORM_Z_INDEX as F, Global as G, debounce as H, isEmptyArray as I, toList as J, useThumbnailData as K, __spreadArray as L, downloadFile as M, CloseIcon as N, justRemove as O, isNum as P, phoneLib as Q, authState as R, firebaseSMSCountries as S, phoneLibPromise as T, __values as U, loadQRScanner as V, throttle as W, qrPromise as X, devicePixelRatio as Y, toBase64 as Z, __assign as _, jsx$1 as a, dataURLToFile as a0, stringify$2 as a1, rulesheet as a2, COMMENT as a3, middleware as a4, RULESET as a5, combine as a6, match as a7, serialize as a8, copy as a9, getRepeatedContainer as aA, getDefaultFieldValue as aB, isButtonDisabled as aC, loadPhoneValidator as aD, initInfo as aE, getCookie as aF, v4$1 as aG, ReactForm as aH, Elements as aI, init as aJ, updateUserId as aK, updateTheme as aL, setFieldValues as aM, getFieldValues as aN, resolveLabelStyle as aO, renderAt as aP, LoginForm as aQ, useAuthClient as aR, AssistantChat as aS, Feathery as aT, StyledContainer as aU, replace as aa, WEBKIT as ab, MOZ as ac, MS as ad, KEYFRAMES as ae, DECLARATION as af, dealloc as ag, alloc as ah, hash as ai, charat as aj, strlen as ak, indexof as al, next as am, token as an, from as ao, peek as ap, delimit as aq, slice as ar, position as as, compile as at, __extends as au, formatDateString as av, internalState as aw, getPositionKey$1 as ax, initState as ay, getRepeatedContainers as az, iosScrollOnFocus as b, __read as c, countryData as d, css as e, fieldValues as f, __makeTemplateObject as g, hoverStylesGuard as h, imgMaxSizeStyles as i, jsxs as j, __rest$1 as k, __awaiter$2 as l, __generator as m, noTextSelectStyles as n, FeatheryClient as o, featheryWindow as p, Fragment as q, resetStyles as r, isMobile as s, featheryDoc as t, useBorder as u, getStripe as v, filterKeys as w, ERROR_COLOR as x, getFieldValue$1 as y, stringifyWithNull as z };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { u as useBorder, j as jsxs, _ as __assign, a as jsx, h as hoverStylesGuard, i as imgMaxSizeStyles, n as noTextSelectStyles, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { u as useBorder, j as jsxs, _ as __assign, a as jsx, h as hoverStylesGuard, i as imgMaxSizeStyles, n as noTextSelectStyles, E as ErrorInput } from './fthry_index.BJU0heSD.js';
|
|
2
2
|
import { useRef, useMemo } from 'react';
|
|
3
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
4
|
-
import { u as useSalesforceSync } from './fthry_useSalesforceSync.
|
|
3
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DSg3W6ZM.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.CiAAPPRZ.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import './fthry_Overlay.
|
|
9
|
+
import './fthry_Overlay.WQzZD-pG.js';
|
|
10
10
|
|
|
11
11
|
function ButtonGroupField(_a) {
|
|
12
12
|
var element = _a.element, responsiveStyles = _a.responsiveStyles, fieldLabel = _a.fieldLabel, inlineError = _a.inlineError, _b = _a.fieldVal, fieldVal = _b === void 0 ? null : _b, _c = _a.repeatIndex, repeatIndex = _c === void 0 ? null : _c, editMode = _a.editMode, _d = _a.onClick, onClick = _d === void 0 ? function () { } : _d, _e = _a.elementProps, elementProps = _e === void 0 ? {} : _e, _f = _a.disabled, disabled = _f === void 0 ? false : _f, children = _a.children;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as __awaiter, m as __generator } from './fthry_index.
|
|
1
|
+
import { l as __awaiter, m as __generator } from './fthry_index.BJU0heSD.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -12,7 +12,7 @@ function loadLegacyVideoPlugins(analytics) {
|
|
|
12
12
|
switch (_a.label) {
|
|
13
13
|
case 0: return [4 /*yield*/, import(
|
|
14
14
|
// @ts-expect-error
|
|
15
|
-
'./fthry_index.umd.
|
|
15
|
+
'./fthry_index.umd.BjDV37Wr.js').then(function (n) { return n.i; })
|
|
16
16
|
// This is super gross, but we need to support the `window.analytics.plugins` namespace
|
|
17
17
|
// that is linked in the segment docs in order to be backwards compatible with ajs-classic
|
|
18
18
|
// @ts-expect-error
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as __awaiter, m as __generator, L as __spreadArray, c as __read, U as __values, p as featheryWindow, V as loadQRScanner, W as throttle, a as jsx, j as jsxs, _ as __assign, q as Fragment, E as ErrorInput, X as qrPromise } from './fthry_index.
|
|
1
|
+
import { l as __awaiter, m as __generator, L as __spreadArray, c as __read, U as __values, p as featheryWindow, V as loadQRScanner, W as throttle, a as jsx, j as jsxs, _ as __assign, q as Fragment, E as ErrorInput, X as qrPromise } from './fthry_index.BJU0heSD.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.Z7LzL6dU.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as __awaiter, m as __generator } from './fthry_index.
|
|
2
|
-
import { i as isServer, g as getNextIntegrationsURL, l as loadScript } from './fthry_index.
|
|
1
|
+
import { l as __awaiter, m as __generator } from './fthry_index.BJU0heSD.js';
|
|
2
|
+
import { i as isServer, g as getNextIntegrationsURL, l as loadScript } from './fthry_index.Dd7eFDCJ.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'react-dom/client';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as __read, j as jsxs$1, _ as __assign, a as jsx$1, F as FORM_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { c as __read, j as jsxs$1, _ as __assign, a as jsx$1, F as FORM_Z_INDEX } from './fthry_index.BJU0heSD.js';
|
|
2
2
|
import React__default, { useRef, useEffect, useCallback, useState, useMemo, Fragment } from 'react';
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as jsx, _ as __assign, c as __read, j as jsxs, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { a as jsx, _ as __assign, c as __read, j as jsxs, E as ErrorInput } from './fthry_index.BJU0heSD.js';
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __assign, h as hoverStylesGuard, j as jsxs, a as jsx, b as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { _ as __assign, h as hoverStylesGuard, j as jsxs, a as jsx, b as iosScrollOnFocus } from './fthry_index.BJU0heSD.js';
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a1 as stringify, a2 as rulesheet, a3 as COMMENT, a4 as middleware, a5 as RULESET, a6 as combine, a7 as match, a8 as serialize, a9 as copy, aa as replace, ab as WEBKIT, ac as MOZ, ad as MS, ae as KEYFRAMES, af as DECLARATION, ag as dealloc, ah as alloc, ai as hash, aj as charat, ak as strlen, al as indexof, am as next, an as token, ao as from, ap as peek, aq as delimit, ar as slice, as as position, at as compile, a as jsx$1, _ as __assign, j as jsxs, q as Fragment$1, k as __rest, c as __read, F as FORM_Z_INDEX, p as featheryWindow, t as featheryDoc, L as __spreadArray, U as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { a1 as stringify, a2 as rulesheet, a3 as COMMENT, a4 as middleware, a5 as RULESET, a6 as combine, a7 as match, a8 as serialize, a9 as copy, aa as replace, ab as WEBKIT, ac as MOZ, ad as MS, ae as KEYFRAMES, af as DECLARATION, ag as dealloc, ah as alloc, ai as hash, aj as charat, ak as strlen, al as indexof, am as next, an as token, ao as from, ap as peek, aq as delimit, ar as slice, as as position, at as compile, a as jsx$1, _ as __assign, j as jsxs, q as Fragment$1, k as __rest, c as __read, F as FORM_Z_INDEX, p as featheryWindow, t as featheryDoc, L as __spreadArray, U as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.BJU0heSD.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { useState, useCallback, forwardRef, useContext, useLayoutEffect, useEffect, createContext, useRef, useMemo, Component, Fragment } from 'react';
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { P as Placeholder$2 } from './fthry_Placeholder.
|
|
6
|
-
import { u as useSalesforceSync } from './fthry_useSalesforceSync.
|
|
7
|
-
import { T as Tooltip, O as Overlay } from './fthry_Overlay.
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DSg3W6ZM.js';
|
|
5
|
+
import { P as Placeholder$2 } from './fthry_Placeholder.B5Uev0Hf.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.CiAAPPRZ.js';
|
|
7
|
+
import { T as Tooltip, O as Overlay } from './fthry_Overlay.WQzZD-pG.js';
|
|
8
8
|
import { createPortal } from 'react-dom';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'react-dom/client';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { a as jsx, G as Global, e as css, g as __makeTemplateObject, _ as __assign, c as __read, s as isMobile, p as featheryWindow, t as featheryDoc, u as useBorder, j as jsxs$1, h as hoverStylesGuard, r as resetStyles, k as __rest, av as formatDateString } from './fthry_index.
|
|
1
|
+
import { a as jsx, G as Global, e as css, g as __makeTemplateObject, _ as __assign, c as __read, s as isMobile, p as featheryWindow, t as featheryDoc, u as useBorder, j as jsxs$1, h as hoverStylesGuard, r as resetStyles, k as __rest, av as formatDateString } from './fthry_index.BJU0heSD.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.B5Uev0Hf.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DSg3W6ZM.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.CQrUAwEK.js';
|
|
11
11
|
import 'react-dom/client';
|
|
12
12
|
import 'jszip';
|
|
13
|
-
import './fthry_Overlay.
|
|
14
|
-
import './fthry_index.
|
|
13
|
+
import './fthry_Overlay.WQzZD-pG.js';
|
|
14
|
+
import './fthry_index.dprry_I4.js';
|
|
15
15
|
|
|
16
16
|
var PORTAL_CONTAINER_CLASS = '.react-datepicker__portal';
|
|
17
17
|
var DATEPICKER_PADDING_TOP_VALUE = '--datepicker-pad-top';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as __read, j as jsxs, _ as __assign, a as jsx, h as hoverStylesGuard } from './fthry_index.
|
|
1
|
+
import { c as __read, j as jsxs, _ as __assign, a as jsx, h as hoverStylesGuard } from './fthry_index.BJU0heSD.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.Z7LzL6dU.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as __read, a as jsx, q as Fragment, s as isMobile, j as jsxs, _ as __assign, F as FORM_Z_INDEX, b as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { c as __read, a as jsx, q as Fragment, s as isMobile, j as jsxs, _ as __assign, F as FORM_Z_INDEX, b as iosScrollOnFocus } from './fthry_index.BJU0heSD.js';
|
|
2
2
|
import { useState, useRef, useMemo } from 'react';
|
|
3
|
-
import { O as Overlay, T as Tooltip } from './fthry_Overlay.
|
|
4
|
-
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.
|
|
3
|
+
import { O as Overlay, T as Tooltip } from './fthry_Overlay.WQzZD-pG.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.CChlfvU8.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { u as useBorder, c as __read, a as jsx, _ as __assign, d as countryData, f as fieldValues, j as jsxs, h as hoverStylesGuard, e as css, g as __makeTemplateObject, G as Global, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { u as useBorder, c as __read, a as jsx, _ as __assign, d as countryData, f as fieldValues, j as jsxs, h as hoverStylesGuard, e as css, g as __makeTemplateObject, G as Global, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.BJU0heSD.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.DSg3W6ZM.js';
|
|
4
|
+
import { h as hasState, g as getStateOptions } from './fthry_index.DNX_yPZC.js';
|
|
5
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.CiAAPPRZ.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import 'react-dom/client';
|
|
8
8
|
import 'jszip';
|
|
9
9
|
import 'react-dom';
|
|
10
|
-
import './fthry_Overlay.
|
|
10
|
+
import './fthry_Overlay.WQzZD-pG.js';
|
|
11
11
|
|
|
12
12
|
function DropdownField(_a) {
|
|
13
13
|
var _b, _c, _d;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as featheryDoc, Y as devicePixelRatio, C as getDefaultExportFromCjs, c as __read, j as jsxs, a as jsx, _ as __assign, q as Fragment, l as __awaiter, m as __generator, Z as toBase64, H as debounce, $ as MODAL_Z_INDEX, N as CloseIcon, a0 as dataURLToFile, F as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { t as featheryDoc, Y as devicePixelRatio, C as getDefaultExportFromCjs, c as __read, j as jsxs, a as jsx, _ as __assign, q as Fragment, l as __awaiter, m as __generator, Z as toBase64, H as debounce, $ as MODAL_Z_INDEX, N as CloseIcon, a0 as dataURLToFile, F as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.BJU0heSD.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.dprry_I4.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1477,7 +1477,7 @@ function SignatureField(_a) {
|
|
|
1477
1477
|
useEffect(function () {
|
|
1478
1478
|
if (!global.webfontloaderPromise)
|
|
1479
1479
|
global.webfontloaderPromise = import(
|
|
1480
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
1480
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.D2SP4Ble.js').then(function (n) { return n.w; });
|
|
1481
1481
|
global.webfontloaderPromise.then(function (WebFont) {
|
|
1482
1482
|
WebFont.load({ google: { families: ['La Belle Aurore'] } });
|
|
1483
1483
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { u as useBorder, c as __read, j as jsxs, _ as __assign, h as hoverStylesGuard, a as jsx, b as iosScrollOnFocus, F as FORM_Z_INDEX, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { u as useBorder, c as __read, j as jsxs, _ as __assign, h as hoverStylesGuard, a as jsx, b as iosScrollOnFocus, F as FORM_Z_INDEX, r as resetStyles } from './fthry_index.BJU0heSD.js';
|
|
2
2
|
import { memo, useState, useRef } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.B5Uev0Hf.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DSg3W6ZM.js';
|
|
5
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.VelEMRit.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import 'react-dom/client';
|
|
8
8
|
import 'jszip';
|
|
9
9
|
import 'react-dom';
|
|
10
|
-
import './fthry_Overlay.
|
|
10
|
+
import './fthry_Overlay.WQzZD-pG.js';
|
|
11
11
|
|
|
12
12
|
function PasswordField(_a) {
|
|
13
13
|
var _b;
|