@feathery/react 2.46.1 → 2.47.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/elements/basic/ProgressBarElement/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.HOs10x7Z.js → fthry_AssistantChat.Dln3sZaO.js} +4 -4
- package/cjs/{fthry_FormControl.BCnywRvR.js → fthry_FormControl.uHE9YK1E.js} +1 -1
- package/cjs/{fthry_InlineTooltip.BrQ_NavS.js → fthry_InlineTooltip.WDUHsUpe.js} +2 -2
- package/cjs/{fthry_Overlay.Cox2aMBR.js → fthry_Overlay.DFZNkWx6.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.D7WieLLu.js → fthry_PaymentMethodField.DNKVy7YX.js} +4 -4
- package/cjs/{fthry_Placeholder.DGm6CD0p.js → fthry_Placeholder.CmetQCQE.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon._dlQ9RG4.js → fthry_ShowEyeIcon.SF-0EcQK.js} +1 -1
- package/cjs/{fthry_TabsElement.Dwsd3nJY.js → fthry_TabsElement.B86k8Otw.js} +1 -1
- package/cjs/{fthry_auto-track.DNILVaNt.js → fthry_auto-track.B8u_S9bg.js} +2 -2
- package/cjs/{fthry_highlighted-body-TPN3WLV5.DS2P4VEd.js → fthry_highlighted-body-TPN3WLV5.BOwN5M9q.js} +3 -3
- package/cjs/{fthry_index.B_yDQniC.js → fthry_index.7SaIy83W.js} +2 -2
- package/cjs/{fthry_index.CY6lv9KR.js → fthry_index.B2OL7yZ5.js} +5 -5
- package/cjs/{fthry_index.CeXif7Vl.js → fthry_index.B4AWuG0t.js} +2 -2
- package/cjs/{fthry_index.Ba4qXhhL.js → fthry_index.BMoX9PfE.js} +1 -1
- package/cjs/{fthry_index.CgpgSFYK.js → fthry_index.BX9qw-9b.js} +4 -4
- package/cjs/{fthry_index.C6mwkNq0.js → fthry_index.BaVk4tgy.js} +5 -5
- package/cjs/{fthry_index.Q9itgMrp.js → fthry_index.BbiJ8b80.js} +1 -1
- package/cjs/{fthry_index.BxesbtXq.js → fthry_index.Bgg1tAqO.js} +6 -6
- package/cjs/{fthry_index.DGWKihY8.js → fthry_index.BqhqvxIr.js} +1 -1
- package/cjs/{fthry_index.OG-qCoBg.js → fthry_index.C5KKdRP7.js} +2 -2
- package/cjs/{fthry_index.CsRCaxBt.js → fthry_index.CFidkPLb.js} +2 -7
- package/cjs/{fthry_index.T6fGK-2P.js → fthry_index.CKcWYWE3.js} +8 -8
- package/cjs/{fthry_index.Ch9e5m7Z.js → fthry_index.CcMmad74.js} +6 -6
- package/cjs/{fthry_index.Bahw0zTu.js → fthry_index.CkCNeXPC.js} +1 -1
- package/cjs/{fthry_index.xNRRgFMX.js → fthry_index.ClgzWTFY.js} +2 -2
- package/cjs/{fthry_index.wd-TQD32.js → fthry_index.Cs-el-3L.js} +1 -1
- package/cjs/{fthry_index.CPW-fnJ-.js → fthry_index.CxSzzRrN.js} +6 -6
- package/cjs/{fthry_index.Dhj5PRqV.js → fthry_index.D1kfpnZK.js} +1 -1
- package/cjs/{fthry_index.B71fbZDC.js → fthry_index.DAmqQesG.js} +1 -1
- package/cjs/{fthry_index.DCn2JiDV.js → fthry_index.DBXIqF8K.js} +5 -5
- package/cjs/{fthry_index.C88ZvXRq.js → fthry_index.DJ-urDuh.js} +2 -2
- package/cjs/{fthry_index.DTGqEN1O.js → fthry_index.DMuFvVjE.js} +3 -3
- package/cjs/{fthry_index.Br71heKi.js → fthry_index.DOAZq3jf.js} +10 -10
- package/cjs/{fthry_index.DhvOAnQV.js → fthry_index.DPUGS9Bb.js} +6 -6
- package/cjs/{fthry_index.mmYUsEaq.js → fthry_index.D_PrDgA_.js} +2 -2
- package/cjs/{fthry_index.BlVDbFmx.js → fthry_index.DjmiOyRF.js} +1 -1
- package/cjs/{fthry_index.F2CK3YlC.js → fthry_index.DqBPUCFx.js} +5 -5
- package/cjs/{fthry_index.Bjd-CSdg.js → fthry_index.FRl5eejL.js} +3 -3
- package/cjs/{fthry_index.DPW7uNdh.js → fthry_index.JBMhMwS2.js} +4 -4
- package/cjs/{fthry_index.D8AsCw2u.js → fthry_index.Qhei31XB.js} +1 -1
- package/cjs/{fthry_index.CTVFS4Vy.js → fthry_index.daHEECTd.js} +153 -57
- package/cjs/{fthry_index.umd.CofTGXct.js → fthry_index.umd.ZElFDCsB.js} +1 -1
- package/cjs/{fthry_input.D5-KIrGW.js → fthry_input.dHDe7wx2.js} +1 -1
- package/cjs/{fthry_mermaid-O7DHMXV3.ap_mdd02.js → fthry_mermaid-O7DHMXV3.BtqFYP4B.js} +3 -3
- package/cjs/{fthry_script.BOjeKqCa.js → fthry_script.CeLoALnM.js} +1 -1
- package/cjs/{fthry_styles.bWLFQ_JH.js → fthry_styles.DoMopnrI.js} +1 -1
- package/cjs/{fthry_useElementSize.VE6YQEiT.js → fthry_useElementSize.Bke0oCAL.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.DPqzIkSq.js → fthry_useSalesforceSync.D43AFN7K.js} +1 -1
- package/cjs/{fthry_webfontloader.SuENK1p_.js → fthry_webfontloader.C_rnGebJ.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/elements/basic/ProgressBarElement/index.d.ts.map +1 -1
- 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.Bfgmqkzl.js → fthry_AssistantChat.DFDdD7HC.js} +4 -4
- package/dist/{fthry_FormControl.CAhm8ZXM.js → fthry_FormControl.Cf0g4Yuy.js} +1 -1
- package/dist/{fthry_InlineTooltip.JmJty7AA.js → fthry_InlineTooltip.ihbwfFj5.js} +2 -2
- package/dist/{fthry_Overlay.CGkAk1s0.js → fthry_Overlay.ioiTUFxQ.js} +1 -1
- package/dist/{fthry_PaymentMethodField.du3tHlek.js → fthry_PaymentMethodField.iNvu0x8P.js} +4 -4
- package/dist/{fthry_Placeholder.BSu_TyIu.js → fthry_Placeholder.C_pZrH49.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.BUTfoSgP.js → fthry_ShowEyeIcon.CttzKP8O.js} +1 -1
- package/dist/{fthry_TabsElement.nxxfFxDb.js → fthry_TabsElement.CWHCfLq7.js} +1 -1
- package/dist/{fthry_auto-track.XRTa46F7.js → fthry_auto-track.TB7HSzBP.js} +2 -2
- package/dist/{fthry_highlighted-body-TPN3WLV5.Cxz4qA2z.js → fthry_highlighted-body-TPN3WLV5.ALdNpxk8.js} +3 -3
- package/dist/{fthry_index.xrI7gFP3.js → fthry_index.B-GzRywW.js} +1 -1
- package/dist/{fthry_index.DKZ7feYO.js → fthry_index.BAy-nO-r.js} +2 -2
- package/dist/{fthry_index.WLqtnrL3.js → fthry_index.BTIaieTN.js} +5 -5
- package/dist/{fthry_index.BKfyK2M-.js → fthry_index.BX7wsRXd.js} +3 -3
- package/dist/{fthry_index.BAKnDzFx.js → fthry_index.BaWv1OCZ.js} +8 -8
- package/dist/{fthry_index.DFiXQhWg.js → fthry_index.BkYj8-gr.js} +2 -2
- package/dist/{fthry_index.DV0eqSIv.js → fthry_index.Boi26UPs.js} +2 -2
- package/dist/{fthry_index.CYwGLSpK.js → fthry_index.C1ZXJfal.js} +5 -5
- package/dist/{fthry_index.DmqlgMr_.js → fthry_index.C3FNTdYq.js} +5 -5
- package/dist/{fthry_index.CxkbJjx-.js → fthry_index.C64c135y.js} +153 -58
- package/dist/{fthry_index.CbJbvY_A.js → fthry_index.CKDBFYpw.js} +1 -1
- package/dist/{fthry_index.CrB3PkBk.js → fthry_index.CKQ5eeYE.js} +4 -4
- package/dist/{fthry_index.CyZrB_5D.js → fthry_index.CSRDeZ2F.js} +1 -1
- package/dist/{fthry_index.D1ljQbW8.js → fthry_index.CdiNFndQ.js} +1 -1
- package/dist/{fthry_index.D3LJY5SV.js → fthry_index.Cpcx1Ibk.js} +4 -4
- package/dist/{fthry_index.BSEJQL5u.js → fthry_index.Cr0_Lviv.js} +6 -6
- package/dist/{fthry_index.WuxO4ka6.js → fthry_index.D-XsMPmv.js} +1 -1
- package/dist/{fthry_index.C4eaBXfD.js → fthry_index.D-aXaZYJ.js} +2 -2
- package/dist/{fthry_index.D5CnrpOt.js → fthry_index.D283rxnO.js} +1 -1
- package/dist/{fthry_index.CTKvRzYj.js → fthry_index.D7BfGXcC.js} +1 -1
- package/dist/{fthry_index.C4iEQySO.js → fthry_index.DDITnGK6.js} +2 -2
- package/dist/{fthry_index.p_CCQjYQ.js → fthry_index.DFuron9d.js} +3 -3
- package/dist/{fthry_index.BBD3bwVt.js → fthry_index.DMFzi3Wa.js} +2 -2
- package/dist/{fthry_index.-uI_70vu.js → fthry_index.DUAotEAB.js} +1 -1
- package/dist/{fthry_index.CHYvS-vh.js → fthry_index.DYneV-Jm.js} +6 -6
- package/dist/{fthry_index.Ce02KRp8.js → fthry_index.DhFIBL2H.js} +10 -10
- package/dist/{fthry_index.CeUirh30.js → fthry_index.DpeXNy1J.js} +5 -5
- package/dist/{fthry_index.qX_NNusL.js → fthry_index.Qj3KEaC9.js} +5 -5
- package/dist/{fthry_index.CqzqJIHn.js → fthry_index.XmFRz7k0.js} +1 -1
- package/dist/{fthry_index.DpDik8Bo.js → fthry_index.lfZeXIue.js} +2 -7
- package/dist/{fthry_index.umd.DxjEZrwl.js → fthry_index.umd.CsHjvjeq.js} +1 -1
- package/dist/{fthry_index.BVnnUQo3.js → fthry_index.zxvFHqTv.js} +6 -6
- package/dist/{fthry_input.DyFVf-WI.js → fthry_input.BrxKUPgu.js} +1 -1
- package/dist/{fthry_mermaid-O7DHMXV3.BpKfY8Ij.js → fthry_mermaid-O7DHMXV3.CwrfkQpk.js} +3 -3
- package/dist/{fthry_script.B4J_jM0m.js → fthry_script.D4FZKxbJ.js} +1 -1
- package/dist/{fthry_styles.BTAWQ-tm.js → fthry_styles.BSgxYrQN.js} +1 -1
- package/dist/{fthry_useElementSize.Bod3Ua7_.js → fthry_useElementSize.o4eh-fH6.js} +1 -1
- package/dist/{fthry_useSalesforceSync.toyFl_i0.js → fthry_useSalesforceSync.2wdSr9qo.js} +1 -1
- package/dist/{fthry_webfontloader.Ceo4yWpt.js → fthry_webfontloader.uLtMUJ6J.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
|
@@ -41068,7 +41068,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
|
|
|
41068
41068
|
}, [activeStep, stepKey, formName]);
|
|
41069
41069
|
}
|
|
41070
41070
|
|
|
41071
|
-
var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.
|
|
41071
|
+
var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.DFDdD7HC.js').then(function (n) { return n.A; }); });
|
|
41072
41072
|
var AssistantChat = function (props) { return (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(LazyAssistantChat, __assign({}, props)) }))); };
|
|
41073
41073
|
|
|
41074
41074
|
var AssistantClient = /** @class */ (function () {
|
|
@@ -45109,7 +45109,7 @@ function loadSegment(segmentConfig, queue) {
|
|
|
45109
45109
|
case 0:
|
|
45110
45110
|
_a.trys.push([0, 2, , 3]);
|
|
45111
45111
|
return [4 /*yield*/, import(
|
|
45112
|
-
/* webpackChunkName: "segment" */ './fthry_index.
|
|
45112
|
+
/* webpackChunkName: "segment" */ './fthry_index.DhFIBL2H.js').then(function (n) { return n.q; })];
|
|
45113
45113
|
case 1:
|
|
45114
45114
|
(AnalyticsBrowserClass = (_a.sent()).AnalyticsBrowser);
|
|
45115
45115
|
return [3 /*break*/, 3];
|
|
@@ -47744,9 +47744,9 @@ function init(sdkKey, options) {
|
|
|
47744
47744
|
if (runningInClient()) {
|
|
47745
47745
|
// Dynamically load libraries that must be client side
|
|
47746
47746
|
global.scriptjsLoadPromise = import(
|
|
47747
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
47747
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.D4FZKxbJ.js').then(function (n) { return n.s; });
|
|
47748
47748
|
global.webfontloaderPromise = import(
|
|
47749
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
47749
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.uLtMUJ6J.js').then(function (n) { return n.w; });
|
|
47750
47750
|
// Client-side tracking logic
|
|
47751
47751
|
if (initState.userTracking === 'cookie') {
|
|
47752
47752
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -47933,7 +47933,7 @@ function loadCompletedSteps(client) {
|
|
|
47933
47933
|
});
|
|
47934
47934
|
}
|
|
47935
47935
|
function logFeatheryBadge() {
|
|
47936
|
-
console.log('%c Feathery %c v' + "2.
|
|
47936
|
+
console.log('%c Feathery %c v' + "2.47.1" + ' ', // replaced with real version during build
|
|
47937
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;');
|
|
47938
47938
|
}
|
|
47939
47939
|
|
|
@@ -48808,29 +48808,47 @@ var ResponsiveStyles = /** @class */ (function () {
|
|
|
48808
48808
|
return _a = {}, _a[cssProp] = color, _a;
|
|
48809
48809
|
});
|
|
48810
48810
|
};
|
|
48811
|
-
ResponsiveStyles.prototype.applyFontStyles = function (target, placeholder, ignoreSelectorFontColor) {
|
|
48811
|
+
ResponsiveStyles.prototype.applyFontStyles = function (target, placeholder, ignoreSelectorFontColor, prefix, skipUnset) {
|
|
48812
|
+
var _this = this;
|
|
48812
48813
|
if (placeholder === void 0) { placeholder = false; }
|
|
48813
48814
|
if (ignoreSelectorFontColor === void 0) { ignoreSelectorFontColor = false; }
|
|
48814
|
-
|
|
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 ({
|
|
48815
48833
|
fontWeight: a
|
|
48816
48834
|
}); });
|
|
48817
|
-
this.applyFontFamily(target);
|
|
48818
|
-
|
|
48835
|
+
this.applyFontFamily(target, prefix);
|
|
48836
|
+
apply(target, "".concat(prefix, "font_size"), function (a) { return ({
|
|
48819
48837
|
fontSize: "".concat(a, "px")
|
|
48820
48838
|
}); });
|
|
48821
|
-
|
|
48839
|
+
apply(target, "".concat(prefix, "line_height"), function (a) { return ({
|
|
48822
48840
|
lineHeight: isNum(a) ? "".concat(a, "px") : 'normal'
|
|
48823
48841
|
}); });
|
|
48824
|
-
|
|
48842
|
+
apply(target, "".concat(prefix, "letter_spacing"), function (a) { return ({
|
|
48825
48843
|
letterSpacing: isNum(a) ? "".concat(a, "px") : 'normal'
|
|
48826
48844
|
}); });
|
|
48827
|
-
|
|
48845
|
+
apply(target, "".concat(prefix, "text_transform"), function (a) { return ({
|
|
48828
48846
|
textTransform: a || 'none'
|
|
48829
48847
|
}); });
|
|
48830
|
-
|
|
48848
|
+
apply(target, placeholder ? "".concat(prefix, "placeholder_italic") : "".concat(prefix, "font_italic"), function (a) { return ({
|
|
48831
48849
|
fontStyle: a ? 'italic' : 'normal'
|
|
48832
48850
|
}); });
|
|
48833
|
-
|
|
48851
|
+
apply(target, placeholder ? "".concat(prefix, "placeholder_color") : "".concat(prefix, "font_color"), function (a) { return ({
|
|
48834
48852
|
color: "#".concat(a),
|
|
48835
48853
|
'&:disabled': {
|
|
48836
48854
|
color: "#".concat(a),
|
|
@@ -48844,14 +48862,14 @@ var ResponsiveStyles = /** @class */ (function () {
|
|
|
48844
48862
|
}
|
|
48845
48863
|
}); });
|
|
48846
48864
|
if (!placeholder && !ignoreSelectorFontColor) {
|
|
48847
|
-
|
|
48865
|
+
apply(target, "".concat(prefix, "hover_font_color"), function (color) { return ({
|
|
48848
48866
|
'&:hover': color ? { color: "#".concat(color) } : {}
|
|
48849
48867
|
}); });
|
|
48850
|
-
|
|
48868
|
+
apply(target, "".concat(prefix, "selected_font_color"), function (color) { return ({
|
|
48851
48869
|
'&:focus': color ? { color: "#".concat(color) } : {}
|
|
48852
48870
|
}); });
|
|
48853
48871
|
}
|
|
48854
|
-
|
|
48872
|
+
apply(target, ["".concat(prefix, "font_strike"), "".concat(prefix, "font_underline")], function (a, b) {
|
|
48855
48873
|
var lines = [];
|
|
48856
48874
|
if (a)
|
|
48857
48875
|
lines.push('line-through');
|
|
@@ -48886,9 +48904,10 @@ var ResponsiveStyles = /** @class */ (function () {
|
|
|
48886
48904
|
.join(', ');
|
|
48887
48905
|
return families;
|
|
48888
48906
|
};
|
|
48889
|
-
ResponsiveStyles.prototype.applyFontFamily = function (target) {
|
|
48907
|
+
ResponsiveStyles.prototype.applyFontFamily = function (target, prefix) {
|
|
48890
48908
|
var _this = this;
|
|
48891
|
-
|
|
48909
|
+
if (prefix === void 0) { prefix = ''; }
|
|
48910
|
+
this.apply(target, "".concat(prefix, "font_family"), function (a) {
|
|
48892
48911
|
if (!a)
|
|
48893
48912
|
return {};
|
|
48894
48913
|
return { fontFamily: _this.transformFontFamilies(a) };
|
|
@@ -49446,66 +49465,128 @@ breakpoint) {
|
|
|
49446
49465
|
return styles.getTarget('inner-container', undefined, viewport === 'mobile');
|
|
49447
49466
|
};
|
|
49448
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
|
+
|
|
49449
49530
|
var fieldLoaders = {
|
|
49450
49531
|
AddressLine1: function () {
|
|
49451
|
-
return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
49532
|
+
return import(/* webpackChunkName: "AddressField" */ './fthry_index.BTIaieTN.js');
|
|
49452
49533
|
},
|
|
49453
49534
|
ButtonGroupField: function () {
|
|
49454
|
-
return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
49535
|
+
return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.CKQ5eeYE.js');
|
|
49455
49536
|
},
|
|
49456
49537
|
CheckboxField: function () {
|
|
49457
|
-
return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
49538
|
+
return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.B-GzRywW.js');
|
|
49458
49539
|
},
|
|
49459
49540
|
CheckboxGroupField: function () {
|
|
49460
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
49541
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.DYneV-Jm.js');
|
|
49461
49542
|
},
|
|
49462
49543
|
ColorPickerField: function () {
|
|
49463
|
-
return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index
|
|
49544
|
+
return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.DUAotEAB.js');
|
|
49464
49545
|
},
|
|
49465
49546
|
CustomField: function () {
|
|
49466
|
-
return import(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
49547
|
+
return import(/* webpackChunkName: "CustomField" */ './fthry_index.D-XsMPmv.js');
|
|
49467
49548
|
},
|
|
49468
49549
|
DateSelectorField: function () {
|
|
49469
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
49550
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.zxvFHqTv.js');
|
|
49470
49551
|
},
|
|
49471
49552
|
DropdownField: function () {
|
|
49472
|
-
return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
49553
|
+
return import(/* webpackChunkName: "DropdownField" */ './fthry_index.Qj3KEaC9.js');
|
|
49473
49554
|
},
|
|
49474
49555
|
DropdownMultiField: function () {
|
|
49475
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
49556
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.DpeXNy1J.js');
|
|
49476
49557
|
},
|
|
49477
49558
|
FileUploadField: function () {
|
|
49478
|
-
return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
49559
|
+
return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.CSRDeZ2F.js');
|
|
49479
49560
|
},
|
|
49480
49561
|
MatrixField: function () {
|
|
49481
|
-
return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
49562
|
+
return import(/* webpackChunkName: "MatrixField" */ './fthry_index.DFuron9d.js');
|
|
49482
49563
|
},
|
|
49483
49564
|
PasswordField: function () {
|
|
49484
|
-
return import(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
49565
|
+
return import(/* webpackChunkName: "PasswordField" */ './fthry_index.C3FNTdYq.js');
|
|
49485
49566
|
},
|
|
49486
49567
|
PaymentMethodField: function () {
|
|
49487
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
49568
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.iNvu0x8P.js');
|
|
49488
49569
|
},
|
|
49489
|
-
PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
49570
|
+
PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.C1ZXJfal.js'); },
|
|
49490
49571
|
PinInputField: function () {
|
|
49491
|
-
return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
49572
|
+
return import(/* webpackChunkName: "PinInputField" */ './fthry_index.lfZeXIue.js');
|
|
49492
49573
|
},
|
|
49493
|
-
QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
49574
|
+
QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.BkYj8-gr.js'); },
|
|
49494
49575
|
RadioButtonGroupField: function () {
|
|
49495
49576
|
return import(
|
|
49496
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
49577
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.Cr0_Lviv.js');
|
|
49497
49578
|
},
|
|
49498
49579
|
RatingField: function () {
|
|
49499
|
-
return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
49580
|
+
return import(/* webpackChunkName: "RatingField" */ './fthry_index.CKDBFYpw.js');
|
|
49500
49581
|
},
|
|
49501
49582
|
SignatureField: function () {
|
|
49502
|
-
return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
49583
|
+
return import(/* webpackChunkName: "SignatureField" */ './fthry_index.BX7wsRXd.js');
|
|
49503
49584
|
},
|
|
49504
49585
|
SliderField: function () {
|
|
49505
|
-
return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
49586
|
+
return import(/* webpackChunkName: "SliderField" */ './fthry_index.DMFzi3Wa.js');
|
|
49506
49587
|
},
|
|
49507
|
-
TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
49508
|
-
TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
49588
|
+
TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.BaWv1OCZ.js'); },
|
|
49589
|
+
TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.Cpcx1Ibk.js'); }
|
|
49509
49590
|
};
|
|
49510
49591
|
var getPositionKey = function (element) { var _a; return ((_a = element.position) === null || _a === void 0 ? void 0 : _a.join(',')) || 'root'; };
|
|
49511
49592
|
// Share the resolved component between preload and render. A separate
|
|
@@ -49667,14 +49748,31 @@ var defaultBorderFields = [
|
|
|
49667
49748
|
'file_upload'
|
|
49668
49749
|
];
|
|
49669
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
|
+
}
|
|
49670
49758
|
function applyFieldStyles(field, styles) {
|
|
49671
49759
|
var type = field.servar.type;
|
|
49672
|
-
styles.addTargets('fc', 'sub-fc', 'field', 'error', 'active', 'hover', 'disabled', 'tooltipIcon');
|
|
49760
|
+
styles.addTargets('fc', 'sub-fc', 'field', 'error', 'active', 'hover', 'disabled', 'tooltipIcon', 'fieldLabel');
|
|
49673
49761
|
// For these fields, selector font colors
|
|
49674
49762
|
// apply to the checkmark / radio fill
|
|
49675
49763
|
var ignoreSelectorColors = ['select', 'multiselect', 'checkbox'].includes(type);
|
|
49676
49764
|
styles.applyFontStyles('fc', false, true);
|
|
49677
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
|
+
});
|
|
49678
49776
|
// These are fields that don't have content inside, which won't be shifted by
|
|
49679
49777
|
// a default border
|
|
49680
49778
|
var hasBorder = defaultBorderFields.includes(type);
|
|
@@ -49998,15 +50096,10 @@ Object.entries(Fields).map(function (_a) {
|
|
|
49998
50096
|
Fields[key] = memo(function (_a) {
|
|
49999
50097
|
var element = _a.element, responsiveStyles = _a.responsiveStyles, props = __rest$1(_a, ["element", "responsiveStyles"]);
|
|
50000
50098
|
var servar = element.servar;
|
|
50099
|
+
var styles = useMemo(function () { return applyFieldStyles(element, responsiveStyles); }, [element]);
|
|
50001
50100
|
var fieldLabel = (servar === null || servar === void 0 ? void 0 : servar.name) ? (jsx$1("label", __assign({
|
|
50002
50101
|
// Doesn't work for repeats currently since repeating field IDs aren't unique
|
|
50003
|
-
htmlFor: servar.repeated ? undefined : servar.key, style: {
|
|
50004
|
-
marginBottom: servar.type === 'checkbox' ? 0 : '10px',
|
|
50005
|
-
display: 'inline-block',
|
|
50006
|
-
whiteSpace: 'pre-wrap',
|
|
50007
|
-
overflowWrap: 'anywhere'
|
|
50008
|
-
} }, { children: servar.name }))) : null;
|
|
50009
|
-
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;
|
|
50010
50103
|
return (jsx$1(Field, __assign({ element: element, fieldLabel: fieldLabel, responsiveStyles: styles }, props)));
|
|
50011
50104
|
});
|
|
50012
50105
|
});
|
|
@@ -50545,10 +50638,10 @@ function applyProgressBarStyles(responsiveStyles) {
|
|
|
50545
50638
|
return responsiveStyles;
|
|
50546
50639
|
}
|
|
50547
50640
|
function ProgressBarElement(_a) {
|
|
50548
|
-
var _b, _c, _d, _e, _f, _g;
|
|
50549
|
-
var element = _a.element, responsiveStyles = _a.responsiveStyles, progress = _a.progress,
|
|
50641
|
+
var _b, _c, _d, _e, _f, _g, _h, _j;
|
|
50642
|
+
var element = _a.element, responsiveStyles = _a.responsiveStyles, progress = _a.progress, _k = _a.curDepth, curDepth = _k === void 0 ? 1 : _k, _l = _a.maxDepth, maxDepth = _l === void 0 ? 1 : _l, stepKey = _a.stepKey, runElementActions = _a.runElementActions, client = _a.client, _m = _a.elementProps, elementProps = _m === void 0 ? {} : _m, children = _a.children;
|
|
50550
50643
|
var styles = useMemo(function () { return applyProgressBarStyles(responsiveStyles); }, [responsiveStyles]);
|
|
50551
|
-
var
|
|
50644
|
+
var _o = __read(useReducer(function (x) { return x + 1; }, 0), 2), rerender = _o[1];
|
|
50552
50645
|
var isStepper = !!((_b = element.properties) === null || _b === void 0 ? void 0 : _b.stepper);
|
|
50553
50646
|
// Fetch prior step completion the first time a stepper renders (deduped per
|
|
50554
50647
|
// form inside loadCompletedSteps), then re-render this stepper to show it
|
|
@@ -50570,7 +50663,9 @@ function ProgressBarElement(_a) {
|
|
|
50570
50663
|
actions: [{ type: ACTION_NEXT, next_step_key: targetStepKey }]
|
|
50571
50664
|
});
|
|
50572
50665
|
};
|
|
50573
|
-
return (jsxs("div", __assign({}, containerProps, { children: [children, jsx$1(StepperBar, { styles: styles,
|
|
50666
|
+
return (jsxs("div", __assign({}, containerProps, { children: [children, jsx$1(StepperBar, { styles: styles,
|
|
50667
|
+
// TODO: remove stepper_steps after BE migration
|
|
50668
|
+
stepConfigs: (_g = (_e = (_d = element.properties) === null || _d === void 0 ? void 0 : _d.entries) !== null && _e !== void 0 ? _e : (_f = element.properties) === null || _f === void 0 ? void 0 : _f.stepper_steps) !== null && _g !== void 0 ? _g : [], stepKey: stepKey, textPlacement: element.styles.percent_text_layout, onStepClick: onStepClick, allowAllNavigation: allowAllNavigation, vertical: vertical, style: vertical ? { flex: 1 } : undefined })] })));
|
|
50574
50669
|
}
|
|
50575
50670
|
var userProgress, userSegments;
|
|
50576
50671
|
if (![null, undefined].includes(progress)) {
|
|
@@ -50579,10 +50674,10 @@ function ProgressBarElement(_a) {
|
|
|
50579
50674
|
}
|
|
50580
50675
|
else {
|
|
50581
50676
|
userProgress = progress.progress;
|
|
50582
|
-
userSegments = (
|
|
50677
|
+
userSegments = (_h = progress.segments) !== null && _h !== void 0 ? _h : element.properties.num_segments;
|
|
50583
50678
|
}
|
|
50584
50679
|
}
|
|
50585
|
-
userProgress = userProgress !== null && userProgress !== void 0 ? userProgress : (
|
|
50680
|
+
userProgress = userProgress !== null && userProgress !== void 0 ? userProgress : (_j = element.properties) === null || _j === void 0 ? void 0 : _j.progress;
|
|
50586
50681
|
var percent = isNum(userProgress)
|
|
50587
50682
|
? userProgress
|
|
50588
50683
|
: Math.round((100 * (curDepth + 1)) / ((maxDepth || 1) + 1));
|
|
@@ -50753,8 +50848,8 @@ function ElementSkeleton(_a) {
|
|
|
50753
50848
|
}
|
|
50754
50849
|
var templateObject_1;
|
|
50755
50850
|
|
|
50756
|
-
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
50757
|
-
var TabsElement = lazy(function () { return import(/* webpackChunkName: "TabsElement" */ './fthry_TabsElement.
|
|
50851
|
+
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.D7BfGXcC.js'); });
|
|
50852
|
+
var TabsElement = lazy(function () { return import(/* webpackChunkName: "TabsElement" */ './fthry_TabsElement.CWHCfLq7.js'); });
|
|
50758
50853
|
var Basic = {
|
|
50759
50854
|
ImageElement: ImageElement,
|
|
50760
50855
|
VideoElement: VideoElement,
|
|
@@ -51052,4 +51147,4 @@ var Feathery = {
|
|
|
51052
51147
|
renderAt: renderAt
|
|
51053
51148
|
};
|
|
51054
51149
|
|
|
51055
|
-
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,
|
|
51150
|
+
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,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.C64c135y.js';
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -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.C64c135y.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.ihbwfFj5.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.2wdSr9qo.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.ioiTUFxQ.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 { j as jsxs, _ as __assign, a as jsx, c as __read, I as isEmptyArray, J as toList, K as useThumbnailData, L as __spreadArray, i as imgMaxSizeStyles, l as __awaiter, m as __generator, M as downloadFile, N as CloseIcon, b as iosScrollOnFocus, F as FORM_Z_INDEX, O as justRemove } from './fthry_index.
|
|
1
|
+
import { j as jsxs, _ as __assign, a as jsx, c as __read, I as isEmptyArray, J as toList, K as useThumbnailData, L as __spreadArray, i as imgMaxSizeStyles, l as __awaiter, m as __generator, M as downloadFile, N as CloseIcon, b as iosScrollOnFocus, F as FORM_Z_INDEX, O as justRemove } from './fthry_index.C64c135y.js';
|
|
2
2
|
import { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as __read, u as useBorder, j as jsxs, _ as __assign, h as hoverStylesGuard, a as jsx, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { c as __read, u as useBorder, j as jsxs, _ as __assign, h as hoverStylesGuard, a as jsx, r as resetStyles } from './fthry_index.C64c135y.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.C_pZrH49.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.ihbwfFj5.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.ioiTUFxQ.js';
|
|
10
10
|
|
|
11
11
|
function TextArea(_a) {
|
|
12
12
|
var element = _a.element, responsiveStyles = _a.responsiveStyles, fieldLabel = _a.fieldLabel, _b = _a.elementProps, elementProps = _b === void 0 ? {} : _b, _c = _a.required, required = _c === void 0 ? false : _c, _d = _a.disabled, disabled = _d === void 0 ? false : _d, editMode = _a.editMode, _e = _a.onChange, onChange = _e === void 0 ? function () { } : _e, _f = _a.setRef, setRef = _f === void 0 ? function () { } : _f, _g = _a.rawValue, rawValue = _g === void 0 ? '' : _g, inlineError = _a.inlineError, _h = _a.repeatIndex, repeatIndex = _h === void 0 ? null : _h, children = _a.children;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { c as __read, j as jsxs, _ as __assign, a as jsx, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { c as __read, j as jsxs, _ as __assign, a as jsx, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.C64c135y.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.Cf0g4Yuy.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.B-GzRywW.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.ihbwfFj5.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.2wdSr9qo.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
10
10
|
import 'react-dom';
|
|
11
|
-
import './fthry_Overlay.
|
|
11
|
+
import './fthry_Overlay.ioiTUFxQ.js';
|
|
12
12
|
|
|
13
13
|
var applyRadioGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('radioGroup');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as jsx, _ as __assign, j as jsxs, c as __read, l as __awaiter, m as __generator, p as featheryWindow, q as Fragment, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { a as jsx, _ as __assign, j as jsxs, c as __read, l as __awaiter, m as __generator, p as featheryWindow, q as Fragment, E as ErrorInput } from './fthry_index.C64c135y.js';
|
|
2
2
|
import { useRef, useState, useEffect, memo, useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as gracefulDecodeURIComponent, b as isPlainObject } from './fthry_index.
|
|
2
|
-
import './fthry_index.
|
|
1
|
+
import { a as gracefulDecodeURIComponent, b as isPlainObject } from './fthry_index.DhFIBL2H.js';
|
|
2
|
+
import './fthry_index.C64c135y.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'react-dom/client';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as __rest, a as jsx, _ as __assign, j as jsxs, c as __read, t as featheryDoc, q as Fragment$1, f as fieldValues, z as stringifyWithNull, U as __values, L as __spreadArray } from './fthry_index.
|
|
1
|
+
import { k as __rest, a as jsx, _ as __assign, j as jsxs, c as __read, t as featheryDoc, q as Fragment$1, f as fieldValues, z as stringifyWithNull, U as __values, L as __spreadArray } from './fthry_index.C64c135y.js';
|
|
2
2
|
import { Fragment, useState, useRef, useEffect, useCallback, useMemo } from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
@@ -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.C64c135y.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.CsHjvjeq.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,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.C64c135y.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.ioiTUFxQ.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.B-GzRywW.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
@@ -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.C64c135y.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.BSgxYrQN.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -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.C64c135y.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,14 +1,14 @@
|
|
|
1
|
-
import { j as jsxs, _ as __assign, a as jsx, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { j as jsxs, _ as __assign, a as jsx, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.C64c135y.js';
|
|
2
2
|
import { useRef, useMemo, useEffect } 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.Cf0g4Yuy.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.B-GzRywW.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.ihbwfFj5.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.2wdSr9qo.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
10
10
|
import 'react-dom';
|
|
11
|
-
import './fthry_Overlay.
|
|
11
|
+
import './fthry_Overlay.ioiTUFxQ.js';
|
|
12
12
|
|
|
13
13
|
var applyCheckboxGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('checkboxGroup');
|