@feathery/react 2.53.3 → 2.53.4
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/fields/MatrixField/index.d.ts.map +1 -1
- package/cjs/{fthry_AssistantChat.D43YRv5r.js → fthry_AssistantChat.BwznDELV.js} +6 -6
- package/cjs/{fthry_FormControl.DHk-2YM8.js → fthry_FormControl.DGdGe4Xn.js} +1 -1
- package/cjs/{fthry_InlineTooltip.DWRWFLk2.js → fthry_InlineTooltip.BrbLwo44.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.B4ErZL5T.js → fthry_PaymentMethodField.BEbsbEIj.js} +3 -3
- package/cjs/{fthry_Placeholder.B0ywwkhL.js → fthry_Placeholder.CtHQjc1R.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.Pkoo2fzF.js → fthry_ShowEyeIcon.CZ5O6X1x.js} +1 -1
- package/cjs/{fthry_TabsElement.D9bJSn2Z.js → fthry_TabsElement.DeP8HlD_.js} +1 -1
- package/cjs/{fthry_auto-track.DSrqcmcB.js → fthry_auto-track.DIkI_Adm.js} +2 -2
- package/cjs/{fthry_highlighted-body-TPN3WLV5.BJ_y-ysb.js → fthry_highlighted-body-TPN3WLV5.BidYOuhH.js} +3 -3
- package/cjs/{fthry_index.gLdKKWaK.js → fthry_index.1_cBx26i.js} +3 -3
- package/cjs/{fthry_index.CwUOZfuU.js → fthry_index.2nDnCSFO.js} +1 -1
- package/cjs/{fthry_index.BwJjkhDX.js → fthry_index.B1u67XmX.js} +2 -2
- package/cjs/{fthry_index.FdEPgI_L.js → fthry_index.BCPDcSbR.js} +2 -2
- package/cjs/{fthry_index.CF6dHmED.js → fthry_index.BNNIXwRI.js} +1 -1
- package/cjs/{fthry_index.CnEJA0yt.js → fthry_index.BQvwmFwe.js} +4 -4
- package/cjs/{fthry_index.eOvXwGT-.js → fthry_index.BRXVwC6t.js} +2 -2
- package/cjs/{fthry_index.Dum4tOKg.js → fthry_index.Bj_WE1jo.js} +5 -5
- package/cjs/{fthry_index.BS40-YKa.js → fthry_index.Bt8ZYsQB.js} +5 -5
- package/cjs/{fthry_index.D8ubk1f5.js → fthry_index.CUfgr4sg.js} +2 -2
- package/cjs/{fthry_index.BcpLuOOx.js → fthry_index.ChEzA6w_.js} +1 -1
- package/cjs/{fthry_index.-z-Lljm0.js → fthry_index.CswQn5-2.js} +1 -1
- package/cjs/{fthry_index.B4nTRm2a.js → fthry_index.D2sRqF-6.js} +2 -2
- package/cjs/{fthry_index.DZmIZ0If.js → fthry_index.DDiffosh.js} +4 -4
- package/cjs/{fthry_index.DRiX8JfK.js → fthry_index.DDiioLDe.js} +4 -4
- package/cjs/{fthry_index.CLGFsu-W.js → fthry_index.DGeUAo5P.js} +3 -3
- package/cjs/{fthry_index.BBzlPIv2.js → fthry_index.DN3m_j-_.js} +4 -4
- package/cjs/{fthry_index.D5g9CscG.js → fthry_index.DNiWheBK.js} +10 -10
- package/cjs/{fthry_index.BPT2ebxq.js → fthry_index.DWZLtcih.js} +4 -4
- package/cjs/{fthry_index.NxNlNktr.js → fthry_index.DZcRNtVM.js} +2 -2
- package/cjs/{fthry_index.DZHjXMOz.js → fthry_index.D_LaDVdG.js} +1 -1
- package/cjs/{fthry_index.DcAhJXO6.js → fthry_index.Dc-0eBPv.js} +7 -7
- package/cjs/{fthry_index.DuMHfjEv.js → fthry_index.DgtAJYZP.js} +1 -1
- package/cjs/{fthry_index.BB6LA_I-.js → fthry_index.Dp8ZPb4f.js} +1 -1
- package/cjs/{fthry_index.B0IHHaSa.js → fthry_index.DubQ4_wr.js} +5 -5
- package/cjs/{fthry_index.DPL8HQ73.js → fthry_index.DvSaDY58.js} +1 -1
- package/cjs/{fthry_index.cfeoyLXD.js → fthry_index.DwCOpB3W.js} +29 -29
- package/cjs/{fthry_index.CwAmb-eb.js → fthry_index.GfENSPGf.js} +1 -1
- package/cjs/{fthry_index.DdTTBPj2.js → fthry_index.T8g5OGHZ.js} +3 -3
- package/cjs/{fthry_index.BMCiNFYl.js → fthry_index.Tq_-6nhA.js} +1 -1
- package/cjs/{fthry_index.Bp3tUCUg.js → fthry_index.u1Mcjz0c.js} +1 -1
- package/cjs/{fthry_index.umd.Da5lH4f9.js → fthry_index.umd.DBTwQZ6C.js} +1 -1
- package/cjs/{fthry_index.BoO3dmhA.js → fthry_index.zUOkXpsp.js} +5 -5
- package/cjs/{fthry_input.DKnab-AK.js → fthry_input.CtsyLYP2.js} +1 -1
- package/cjs/{fthry_logging.By3n1J1Z.js → fthry_logging.AstzpmuC.js} +1 -1
- package/cjs/{fthry_mermaid-O7DHMXV3.DK7HwC5c.js → fthry_mermaid-O7DHMXV3.CeOnYz9Z.js} +3 -3
- package/cjs/{fthry_script.CWTbUxlJ.js → fthry_script.C4-VOjmJ.js} +1 -1
- package/cjs/{fthry_styles.Cuwj8NU-.js → fthry_styles.7Rx-9GM0.js} +1 -1
- package/cjs/{fthry_useElementSize.DYSiM9Jw.js → fthry_useElementSize.eIfHn-3X.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.Dta3-Bhd.js → fthry_useSalesforceSync.BvRAm3q_.js} +1 -1
- package/cjs/{fthry_webfontloader.BkBaBvgZ.js → fthry_webfontloader.CZfPNRgM.js} +1 -1
- package/cjs/index.js +1 -1
- package/cjs/thumbnail-renderer.js +1 -1
- package/dist/elements/fields/MatrixField/index.d.ts.map +1 -1
- package/dist/{fthry_AssistantChat.VggmDNZM.js → fthry_AssistantChat.yAeOG5p9.js} +6 -6
- package/dist/{fthry_FormControl.8uhEyKvb.js → fthry_FormControl.BpyBV-Yj.js} +1 -1
- package/dist/{fthry_InlineTooltip.DcvFvFYl.js → fthry_InlineTooltip.B8MBS8Dh.js} +1 -1
- package/dist/{fthry_PaymentMethodField.uP3Iv_fj.js → fthry_PaymentMethodField.BydYPfom.js} +3 -3
- package/dist/{fthry_Placeholder.6f6o-AsJ.js → fthry_Placeholder.DJvobuMX.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.CaonCGcm.js → fthry_ShowEyeIcon.5s4t6Dm1.js} +1 -1
- package/dist/{fthry_TabsElement.Con4WZjz.js → fthry_TabsElement.D3qzev7q.js} +1 -1
- package/dist/{fthry_auto-track.DFclFVRw.js → fthry_auto-track.PiYTV-kT.js} +2 -2
- package/dist/{fthry_highlighted-body-TPN3WLV5.ihjK13dX.js → fthry_highlighted-body-TPN3WLV5.BWsr2j5w.js} +3 -3
- package/dist/{fthry_index.D7Bj6tGn.js → fthry_index.0gPi2Tfc.js} +3 -3
- package/dist/{fthry_index.C1q-8vVx.js → fthry_index.B8GXcti4.js} +7 -7
- package/dist/{fthry_index.DmOqklSX.js → fthry_index.BA7jySGb.js} +2 -2
- package/dist/{fthry_index.BR4D50bE.js → fthry_index.BI5--esx.js} +1 -1
- package/dist/{fthry_index.BjAORT-s.js → fthry_index.BLBmlgtc.js} +5 -5
- package/dist/{fthry_index.C2n7NtGD.js → fthry_index.BhVqayfX.js} +1 -1
- package/dist/{fthry_index.CuMOKxF2.js → fthry_index.BnOLZ6dp.js} +1 -1
- package/dist/{fthry_index.Dnyw03ZC.js → fthry_index.Bv6V2HfX.js} +1 -1
- package/dist/{fthry_index.CSAQxMm5.js → fthry_index.Bw7nUBlu.js} +3 -3
- package/dist/{fthry_index.ubWneGoZ.js → fthry_index.BwlIWSrd.js} +1 -1
- package/dist/{fthry_index.qjRnm0IS.js → fthry_index.BytZKe9y.js} +2 -2
- package/dist/{fthry_index.C8XjrvUB.js → fthry_index.C6OueXD5.js} +1 -1
- package/dist/{fthry_index.D__siGjY.js → fthry_index.CP4lF1lb.js} +2 -2
- package/dist/{fthry_index.D02ToU7w.js → fthry_index.CYvZOrFc.js} +5 -5
- package/dist/{fthry_index.BguN0NNZ.js → fthry_index.CcDgnmAC.js} +2 -2
- package/dist/{fthry_index.C5u1XrX3.js → fthry_index.CeLykqud.js} +1 -1
- package/dist/{fthry_index.B1Gfapy-.js → fthry_index.CpEiCSOP.js} +5 -5
- package/dist/{fthry_index.DV7blC03.js → fthry_index.Cxd_qnzL.js} +1 -1
- package/dist/{fthry_index.hbKY3BpE.js → fthry_index.D7KyiYio.js} +4 -4
- package/dist/{fthry_index.D9ZvoVwL.js → fthry_index.DD5Ovqvc.js} +4 -4
- package/dist/{fthry_index.Cxm7hChO.js → fthry_index.DKR4S4eJ.js} +1 -1
- package/dist/{fthry_index.Kw-mXq68.js → fthry_index.DUS3qi6m.js} +2 -2
- package/dist/{fthry_index.umrpT15A.js → fthry_index.DZpCM4Uv.js} +4 -4
- package/dist/{fthry_index.7ie62aR7.js → fthry_index.DugpNlI6.js} +10 -10
- package/dist/{fthry_index.Bbs4jkxs.js → fthry_index.I7rHc8FP.js} +30 -30
- package/dist/{fthry_index.CajPYXKj.js → fthry_index.P7gveRGD.js} +3 -3
- package/dist/{fthry_index.6wiP1p4R.js → fthry_index.TsBrN4kG.js} +4 -4
- package/dist/{fthry_index.IjQraw_g.js → fthry_index.a45MQqRE.js} +4 -4
- package/dist/{fthry_index.Cy8p5_1l.js → fthry_index.hB2TA3OP.js} +1 -1
- package/dist/{fthry_index.D8ONkHtc.js → fthry_index.hJkjtZKg.js} +2 -2
- package/dist/{fthry_index.ByomjjHM.js → fthry_index.kka_kkYX.js} +4 -4
- package/dist/{fthry_index.BG67PHqk.js → fthry_index.rGFersmQ.js} +1 -1
- package/dist/{fthry_index.umd.Cx2kPQUT.js → fthry_index.umd.Bq1hauKY.js} +1 -1
- package/dist/{fthry_input.ELU3B4EG.js → fthry_input.DTKBd1gD.js} +1 -1
- package/dist/{fthry_logging.BW5azi46.js → fthry_logging.Cji5Hawo.js} +1 -1
- package/dist/fthry_mermaid-O7DHMXV3.CKaYNpHc.js +8 -0
- package/dist/{fthry_script.B3jdORnQ.js → fthry_script.tUAUIbGb.js} +1 -1
- package/dist/{fthry_styles.DoKNhbKk.js → fthry_styles.DQWgDiL_.js} +1 -1
- package/dist/{fthry_useElementSize.BwnPxZu_.js → fthry_useElementSize.DqQmSHa1.js} +1 -1
- package/dist/{fthry_useSalesforceSync.CFLUbgTu.js → fthry_useSalesforceSync.UTsIrR-A.js} +1 -1
- package/dist/{fthry_webfontloader.DXzLax0I.js → fthry_webfontloader.XAlmpnEf.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/thumbnail-renderer.js +1 -1
- package/package.json +1 -1
- package/umd/{MatrixField.7bc0cfb2d029b66e7e3e.js → MatrixField.62dc67a3ff1ce1d80223.js} +1 -1
- package/umd/index.js +1 -1
- package/dist/fthry_mermaid-O7DHMXV3.KNX9UCEB.js +0 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as __awaiter, t as __generator } from './fthry_index.
|
|
1
|
+
import { s as __awaiter, t as __generator } from './fthry_index.I7rHc8FP.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'jszip';
|
|
@@ -11,7 +11,7 @@ function loadLegacyVideoPlugins(analytics) {
|
|
|
11
11
|
switch (_a.label) {
|
|
12
12
|
case 0: return [4 /*yield*/, import(
|
|
13
13
|
// @ts-expect-error
|
|
14
|
-
'./fthry_index.umd.
|
|
14
|
+
'./fthry_index.umd.Bq1hauKY.js').then(function (n) { return n.i; })
|
|
15
15
|
// This is super gross, but we need to support the `window.analytics.plugins` namespace
|
|
16
16
|
// that is linked in the segment docs in order to be backwards compatible with ajs-classic
|
|
17
17
|
// @ts-expect-error
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useBorder, e as __read, j as jsx, _ as __assign, k as countryData, f as fieldValues, b as jsxs, h as hoverStylesGuard, l as css, m as __makeTemplateObject, o as Global, d as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { u as useBorder, e as __read, j as jsx, _ as __assign, k as countryData, f as fieldValues, b as jsxs, h as hoverStylesGuard, l as css, m as __makeTemplateObject, o as Global, d as iosScrollOnFocus, r as resetStyles } from './fthry_index.I7rHc8FP.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.B8MBS8Dh.js';
|
|
4
|
+
import { h as hasState, g as getStateOptions } from './fthry_index.BwlIWSrd.js';
|
|
5
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.UTsIrR-A.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import 'jszip';
|
|
8
8
|
import 'react-dom';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aS as __extends, _ as __assign, q as __rest, T as __spreadArray, s as __awaiter, t as __generator } from './fthry_index.
|
|
1
|
+
import { aS as __extends, _ as __assign, q as __rest, T as __spreadArray, s as __awaiter, t as __generator } from './fthry_index.I7rHc8FP.js';
|
|
2
2
|
|
|
3
3
|
function dset(obj, keys, val) {
|
|
4
4
|
keys.split && (keys=keys.split('.'));
|
|
@@ -5352,7 +5352,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
5352
5352
|
return __generator(this, function (_b) {
|
|
5353
5353
|
switch (_b.label) {
|
|
5354
5354
|
case 0: return [4 /*yield*/, import(
|
|
5355
|
-
/* webpackChunkName: "auto-track" */ './fthry_auto-track.
|
|
5355
|
+
/* webpackChunkName: "auto-track" */ './fthry_auto-track.PiYTV-kT.js')];
|
|
5356
5356
|
case 1:
|
|
5357
5357
|
autotrack = _b.sent();
|
|
5358
5358
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray([this], args, false))];
|
|
@@ -5371,7 +5371,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
5371
5371
|
return __generator(this, function (_b) {
|
|
5372
5372
|
switch (_b.label) {
|
|
5373
5373
|
case 0: return [4 /*yield*/, import(
|
|
5374
|
-
/* webpackChunkName: "auto-track" */ './fthry_auto-track.
|
|
5374
|
+
/* webpackChunkName: "auto-track" */ './fthry_auto-track.PiYTV-kT.js')];
|
|
5375
5375
|
case 1:
|
|
5376
5376
|
autotrack = _b.sent();
|
|
5377
5377
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray([this], args, false))];
|
|
@@ -5390,7 +5390,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
5390
5390
|
return __generator(this, function (_b) {
|
|
5391
5391
|
switch (_b.label) {
|
|
5392
5392
|
case 0: return [4 /*yield*/, import(
|
|
5393
|
-
/* webpackChunkName: "auto-track" */ './fthry_auto-track.
|
|
5393
|
+
/* webpackChunkName: "auto-track" */ './fthry_auto-track.PiYTV-kT.js')];
|
|
5394
5394
|
case 1:
|
|
5395
5395
|
autotrack = _b.sent();
|
|
5396
5396
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray([this], args, false))];
|
|
@@ -5409,7 +5409,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
5409
5409
|
return __generator(this, function (_b) {
|
|
5410
5410
|
switch (_b.label) {
|
|
5411
5411
|
case 0: return [4 /*yield*/, import(
|
|
5412
|
-
/* webpackChunkName: "auto-track" */ './fthry_auto-track.
|
|
5412
|
+
/* webpackChunkName: "auto-track" */ './fthry_auto-track.PiYTV-kT.js')];
|
|
5413
5413
|
case 1:
|
|
5414
5414
|
autotrack = _b.sent();
|
|
5415
5415
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray([this], args, false))];
|
|
@@ -5564,7 +5564,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
5564
5564
|
return [2 /*return*/, []];
|
|
5565
5565
|
}
|
|
5566
5566
|
return [4 /*yield*/, import(
|
|
5567
|
-
/* webpackChunkName: "queryString" */ './fthry_index.
|
|
5567
|
+
/* webpackChunkName: "queryString" */ './fthry_index.BytZKe9y.js')];
|
|
5568
5568
|
case 1:
|
|
5569
5569
|
queryString = (_a.sent()).queryString;
|
|
5570
5570
|
return [2 /*return*/, queryString(this, query)];
|
|
@@ -6607,7 +6607,7 @@ function registerPlugins(writeKey, cdnSettings, analytics, options, pluginLikes,
|
|
|
6607
6607
|
tsubMiddleware = _d;
|
|
6608
6608
|
if (!(hasLegacyDestinations(cdnSettings) || legacyIntegrationSources.length > 0)) return [3 /*break*/, 5];
|
|
6609
6609
|
return [4 /*yield*/, import(
|
|
6610
|
-
/* webpackChunkName: "ajs-destination" */ './fthry_index.
|
|
6610
|
+
/* webpackChunkName: "ajs-destination" */ './fthry_index.CcDgnmAC.js').then(function (mod) {
|
|
6611
6611
|
return mod.ajsDestinations(writeKey, cdnSettings, analytics.integrations, options, tsubMiddleware, legacyIntegrationSources);
|
|
6612
6612
|
})];
|
|
6613
6613
|
case 4:
|
|
@@ -6620,7 +6620,7 @@ function registerPlugins(writeKey, cdnSettings, analytics, options, pluginLikes,
|
|
|
6620
6620
|
legacyDestinations = _e;
|
|
6621
6621
|
if (!cdnSettings.legacyVideoPluginsEnabled) return [3 /*break*/, 8];
|
|
6622
6622
|
return [4 /*yield*/, import(
|
|
6623
|
-
/* webpackChunkName: "legacyVideos" */ './fthry_index.
|
|
6623
|
+
/* webpackChunkName: "legacyVideos" */ './fthry_index.DUS3qi6m.js').then(function (mod) {
|
|
6624
6624
|
return mod.loadLegacyVideoPlugins(analytics);
|
|
6625
6625
|
})];
|
|
6626
6626
|
case 7:
|
|
@@ -6629,7 +6629,7 @@ function registerPlugins(writeKey, cdnSettings, analytics, options, pluginLikes,
|
|
|
6629
6629
|
case 8:
|
|
6630
6630
|
if (!((_a = options.plan) === null || _a === void 0 ? void 0 : _a.track)) return [3 /*break*/, 10];
|
|
6631
6631
|
return [4 /*yield*/, import(
|
|
6632
|
-
/* webpackChunkName: "schemaFilter" */ './fthry_index.
|
|
6632
|
+
/* webpackChunkName: "schemaFilter" */ './fthry_index.rGFersmQ.js').then(function (mod) {
|
|
6633
6633
|
var _a;
|
|
6634
6634
|
return mod.schemaFilter((_a = options.plan) === null || _a === void 0 ? void 0 : _a.track, cdnSettings);
|
|
6635
6635
|
})];
|
|
@@ -6674,7 +6674,7 @@ function registerPlugins(writeKey, cdnSettings, analytics, options, pluginLikes,
|
|
|
6674
6674
|
return enabled;
|
|
6675
6675
|
})) return [3 /*break*/, 18];
|
|
6676
6676
|
return [4 /*yield*/, import(
|
|
6677
|
-
/* webpackChunkName: "remoteMiddleware" */ './fthry_index.
|
|
6677
|
+
/* webpackChunkName: "remoteMiddleware" */ './fthry_index.CP4lF1lb.js').then(function (_a) {
|
|
6678
6678
|
var remoteMiddlewares = _a.remoteMiddlewares;
|
|
6679
6679
|
return __awaiter(_this, void 0, void 0, function () {
|
|
6680
6680
|
var middleware, promises;
|
|
@@ -41411,7 +41411,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
|
|
|
41411
41411
|
}, [activeStep, stepKey, formName]);
|
|
41412
41412
|
}
|
|
41413
41413
|
|
|
41414
|
-
var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.
|
|
41414
|
+
var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.yAeOG5p9.js').then(function (n) { return n.A; }); });
|
|
41415
41415
|
var AssistantChat = function (props) { return (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(LazyAssistantChat, __assign({}, props)) }))); };
|
|
41416
41416
|
|
|
41417
41417
|
var AssistantClient = /** @class */ (function () {
|
|
@@ -45466,7 +45466,7 @@ function loadSegment(segmentConfig, queue) {
|
|
|
45466
45466
|
case 0:
|
|
45467
45467
|
_a.trys.push([0, 2, , 3]);
|
|
45468
45468
|
return [4 /*yield*/, import(
|
|
45469
|
-
/* webpackChunkName: "segment" */ './fthry_index.
|
|
45469
|
+
/* webpackChunkName: "segment" */ './fthry_index.DugpNlI6.js').then(function (n) { return n.q; })];
|
|
45470
45470
|
case 1:
|
|
45471
45471
|
(AnalyticsBrowserClass = (_a.sent()).AnalyticsBrowser);
|
|
45472
45472
|
return [3 /*break*/, 3];
|
|
@@ -48130,9 +48130,9 @@ function init(sdkKey, options) {
|
|
|
48130
48130
|
if (runningInClient()) {
|
|
48131
48131
|
// Dynamically load libraries that must be client side
|
|
48132
48132
|
global.scriptjsLoadPromise = import(
|
|
48133
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
48133
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.tUAUIbGb.js').then(function (n) { return n.s; });
|
|
48134
48134
|
global.webfontloaderPromise = import(
|
|
48135
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
48135
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.XAlmpnEf.js').then(function (n) { return n.w; });
|
|
48136
48136
|
// Client-side tracking logic
|
|
48137
48137
|
if (initState.userTracking === 'cookie') {
|
|
48138
48138
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -48319,7 +48319,7 @@ function loadCompletedSteps(client) {
|
|
|
48319
48319
|
});
|
|
48320
48320
|
}
|
|
48321
48321
|
function logFeatheryBadge() {
|
|
48322
|
-
console.log('%c Feathery %c v' + "2.53.
|
|
48322
|
+
console.log('%c Feathery %c v' + "2.53.4" + ' ', // replaced with real version during build
|
|
48323
48323
|
'background: #e2626e; color: white; padding: 2px 6px; border-radius: 3px 0 0 3px; font-weight: bold;', 'background: #fce7e9; color: #c5495a; padding: 2px 6px; border-radius: 0 3px 3px 0;');
|
|
48324
48324
|
}
|
|
48325
48325
|
|
|
@@ -49916,64 +49916,64 @@ function resolveLabelStyle(style, opts) {
|
|
|
49916
49916
|
|
|
49917
49917
|
var fieldLoaders = {
|
|
49918
49918
|
AddressLine1: function () {
|
|
49919
|
-
return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
49919
|
+
return import(/* webpackChunkName: "AddressField" */ './fthry_index.D7KyiYio.js');
|
|
49920
49920
|
},
|
|
49921
49921
|
ButtonGroupField: function () {
|
|
49922
|
-
return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
49922
|
+
return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.0gPi2Tfc.js');
|
|
49923
49923
|
},
|
|
49924
49924
|
CheckboxField: function () {
|
|
49925
|
-
return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
49925
|
+
return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.C6OueXD5.js');
|
|
49926
49926
|
},
|
|
49927
49927
|
CheckboxGroupField: function () {
|
|
49928
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
49928
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.CpEiCSOP.js');
|
|
49929
49929
|
},
|
|
49930
49930
|
ColorPickerField: function () {
|
|
49931
|
-
return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
49931
|
+
return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.BnOLZ6dp.js');
|
|
49932
49932
|
},
|
|
49933
49933
|
CustomField: function () {
|
|
49934
|
-
return import(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
49934
|
+
return import(/* webpackChunkName: "CustomField" */ './fthry_index.hB2TA3OP.js');
|
|
49935
49935
|
},
|
|
49936
49936
|
DateSelectorField: function () {
|
|
49937
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
49937
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.BLBmlgtc.js');
|
|
49938
49938
|
},
|
|
49939
49939
|
DropdownField: function () {
|
|
49940
|
-
return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
49940
|
+
return import(/* webpackChunkName: "DropdownField" */ './fthry_index.DZpCM4Uv.js');
|
|
49941
49941
|
},
|
|
49942
49942
|
DropdownMultiField: function () {
|
|
49943
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
49943
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.TsBrN4kG.js');
|
|
49944
49944
|
},
|
|
49945
49945
|
FileUploadField: function () {
|
|
49946
|
-
return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
49946
|
+
return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.CeLykqud.js');
|
|
49947
49947
|
},
|
|
49948
49948
|
MatrixField: function () {
|
|
49949
|
-
return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
49949
|
+
return import(/* webpackChunkName: "MatrixField" */ './fthry_index.DD5Ovqvc.js');
|
|
49950
49950
|
},
|
|
49951
49951
|
PasswordField: function () {
|
|
49952
|
-
return import(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
49952
|
+
return import(/* webpackChunkName: "PasswordField" */ './fthry_index.a45MQqRE.js');
|
|
49953
49953
|
},
|
|
49954
49954
|
PaymentMethodField: function () {
|
|
49955
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
49955
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.BydYPfom.js');
|
|
49956
49956
|
},
|
|
49957
|
-
PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
49957
|
+
PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.kka_kkYX.js'); },
|
|
49958
49958
|
PinInputField: function () {
|
|
49959
|
-
return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
49959
|
+
return import(/* webpackChunkName: "PinInputField" */ './fthry_index.BhVqayfX.js');
|
|
49960
49960
|
},
|
|
49961
|
-
QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
49961
|
+
QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.BA7jySGb.js'); },
|
|
49962
49962
|
RadioButtonGroupField: function () {
|
|
49963
49963
|
return import(
|
|
49964
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
49964
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.CYvZOrFc.js');
|
|
49965
49965
|
},
|
|
49966
49966
|
RatingField: function () {
|
|
49967
|
-
return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
49967
|
+
return import(/* webpackChunkName: "RatingField" */ './fthry_index.Bv6V2HfX.js');
|
|
49968
49968
|
},
|
|
49969
49969
|
SignatureField: function () {
|
|
49970
|
-
return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
49970
|
+
return import(/* webpackChunkName: "SignatureField" */ './fthry_index.Bw7nUBlu.js');
|
|
49971
49971
|
},
|
|
49972
49972
|
SliderField: function () {
|
|
49973
|
-
return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
49973
|
+
return import(/* webpackChunkName: "SliderField" */ './fthry_index.hJkjtZKg.js');
|
|
49974
49974
|
},
|
|
49975
|
-
TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
49976
|
-
TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
49975
|
+
TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.B8GXcti4.js'); },
|
|
49976
|
+
TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.P7gveRGD.js'); }
|
|
49977
49977
|
};
|
|
49978
49978
|
var getPositionKey = function (element) { var _a; return ((_a = element.position) === null || _a === void 0 ? void 0 : _a.join(',')) || 'root'; };
|
|
49979
49979
|
// Share the resolved component between preload and render. A separate
|
|
@@ -51229,8 +51229,8 @@ function ElementSkeleton(_a) {
|
|
|
51229
51229
|
}
|
|
51230
51230
|
var templateObject_1;
|
|
51231
51231
|
|
|
51232
|
-
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
51233
|
-
var TabsElement = lazy(function () { return import(/* webpackChunkName: "TabsElement" */ './fthry_TabsElement.
|
|
51232
|
+
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.Cxd_qnzL.js'); });
|
|
51233
|
+
var TabsElement = lazy(function () { return import(/* webpackChunkName: "TabsElement" */ './fthry_TabsElement.D3qzev7q.js'); });
|
|
51234
51234
|
var Basic = {
|
|
51235
51235
|
ImageElement: ImageElement,
|
|
51236
51236
|
VideoElement: VideoElement,
|
|
@@ -51260,4 +51260,4 @@ Object.entries(Elements).map(function (_a) {
|
|
|
51260
51260
|
});
|
|
51261
51261
|
});
|
|
51262
51262
|
|
|
51263
|
-
export { firebaseSMSCountries as $,
|
|
51263
|
+
export { firebaseSMSCountries as $, replaceTextVariables as A, featheryDoc as B, getStripe as C, DEFAULT_MOBILE_BREAKPOINT as D, ErrorInput as E, FeatheryCacheProvider as F, Grid as G, HoverTooltip as H, filterKeys as I, ERROR_COLOR as J, DROPDOWN_Z_INDEX as K, getFieldValue$1 as L, stringifyWithNull as M, emailPatternStr as N, Overlay as O, debounce as P, isEmptyArray as Q, toList as R, useThumbnailData as S, __spreadArray as T, downloadFile as U, CloseIcon as V, justRemove as W, isNum as X, phoneLib as Y, authState as Z, __assign as _, calculateGlobalCSS as a, ACTION_BACK as a$, phoneLibPromise as a0, __values as a1, loadQRScanner as a2, throttle as a3, qrPromise as a4, AuthContext as a5, getFieldValues as a6, setFieldValues as a7, updateTheme as a8, updateUserId as a9, MS as aA, KEYFRAMES as aB, DECLARATION as aC, dealloc as aD, alloc as aE, hash as aF, charat as aG, strlen as aH, indexof as aI, next as aJ, token as aK, from as aL, peek as aM, delimit as aN, slice as aO, position as aP, compile as aQ, Tooltip as aR, __extends as aS, formatDateString as aT, internalState as aU, getPositionKey$1 as aV, loadCompletedSteps as aW, initState as aX, getRepeatedContainers as aY, getRepeatedContainer as aZ, getDefaultFieldValue as a_, init as aa, Elements as ab, ReactForm as ac, v4$1 as ad, LoginForm as ae, JSForm as af, getFormContext as ag, resolveLabelStyle as ah, AssistantChat as ai, StyledContainer as aj, devicePixelRatio as ak, toBase64 as al, MODAL_Z_INDEX as am, dataURLToFile as an, stringify$2 as ao, rulesheet as ap, COMMENT as aq, middleware as ar, RULESET as as, combine as at, match as au, serialize as av, copy as aw, replace as ax, WEBKIT as ay, MOZ as az, jsxs as b, getPrevStepKey as b0, ACTION_NEXT as b1, nextStepKey as b2, isButtonDisabled as b3, getCompletedStepKeys as b4, isStepperStepVisible as b5, isStepperStepReachable as b6, loadPhoneValidator as b7, initInfo as b8, getCookie as b9, calculateStepCSS as c, iosScrollOnFocus as d, __read as e, fieldValues as f, getVisiblePositions as g, hoverStylesGuard as h, imgMaxSizeStyles as i, jsx$1 as j, countryData as k, css as l, __makeTemplateObject as m, noTextSelectStyles as n, Global as o, FORM_Z_INDEX as p, __rest$1 as q, resetStyles as r, __awaiter$2 as s, __generator as t, useBorder as u, FeatheryClient as v, featheryWindow as w, getDefaultExportFromCjs as x, Fragment as y, isMobile as z };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { e as __read, u as useBorder, b as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { e as __read, u as useBorder, b as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, r as resetStyles } from './fthry_index.I7rHc8FP.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.DJvobuMX.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.B8MBS8Dh.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'jszip';
|
|
7
7
|
import 'react-dom';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ao as stringify, ap as rulesheet, aq as COMMENT, ar as middleware, as as RULESET, at as combine, au as match, av as serialize, aw as copy, ax as replace, ay as WEBKIT, az as MOZ, aA as MS, aB as KEYFRAMES, aC as DECLARATION, aD as dealloc, aE as alloc, aF as hash, aG as charat, aH as strlen, aI as indexof, aJ as next, aK as token, aL as from, aM as peek, aN as delimit, aO as slice, aP as position, aQ as compile, j as jsx$1, _ as __assign, b as jsxs, y as Fragment$1, q as __rest, e as __read, aR as Tooltip, p as FORM_Z_INDEX, O as Overlay, w as featheryWindow,
|
|
1
|
+
import { ao as stringify, ap as rulesheet, aq as COMMENT, ar as middleware, as as RULESET, at as combine, au as match, av as serialize, aw as copy, ax as replace, ay as WEBKIT, az as MOZ, aA as MS, aB as KEYFRAMES, aC as DECLARATION, aD as dealloc, aE as alloc, aF as hash, aG as charat, aH as strlen, aI as indexof, aJ as next, aK as token, aL as from, aM as peek, aN as delimit, aO as slice, aP as position, aQ as compile, j as jsx$1, _ as __assign, b as jsxs, y as Fragment$1, q as __rest, e as __read, aR as Tooltip, p as FORM_Z_INDEX, O as Overlay, w as featheryWindow, B as featheryDoc, T as __spreadArray, a1 as __values, u as useBorder, K as DROPDOWN_Z_INDEX } from './fthry_index.I7rHc8FP.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.
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.B8MBS8Dh.js';
|
|
5
|
+
import { P as Placeholder$2 } from './fthry_Placeholder.DJvobuMX.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.UTsIrR-A.js';
|
|
7
7
|
import { createPortal } from 'react-dom';
|
|
8
8
|
import 'react/jsx-runtime';
|
|
9
9
|
import 'jszip';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useBorder, e as __read, b as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, d as iosScrollOnFocus, p as FORM_Z_INDEX, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { u as useBorder, e as __read, b as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, d as iosScrollOnFocus, p as FORM_Z_INDEX, r as resetStyles } from './fthry_index.I7rHc8FP.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.DJvobuMX.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.B8MBS8Dh.js';
|
|
5
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.5s4t6Dm1.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import 'jszip';
|
|
8
8
|
import 'react-dom';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as jsx, _ as __assign, b as jsxs, e as __read, s as __awaiter, t as __generator, w as featheryWindow, y as Fragment, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { j as jsx, _ as __assign, b as jsxs, e as __read, s as __awaiter, t as __generator, w as featheryWindow, y as Fragment, E as ErrorInput } from './fthry_index.I7rHc8FP.js';
|
|
2
2
|
import { useRef, useState, useEffect, memo, useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'jszip';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { e as __read, b as jsxs, _ as __assign, j as jsx, h as hoverStylesGuard } from './fthry_index.
|
|
1
|
+
import { e as __read, b as jsxs, _ as __assign, j as jsx, h as hoverStylesGuard } from './fthry_index.I7rHc8FP.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.DQWgDiL_.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'jszip';
|
|
6
6
|
import 'react-dom';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { q as __rest, e as __read, k as countryData, Y as phoneLib, Z as authState, $ as firebaseSMSCountries, b as jsxs, j as jsx, _ as __assign, y as Fragment,
|
|
1
|
+
import { q as __rest, e as __read, k as countryData, Y as phoneLib, Z as authState, $ as firebaseSMSCountries, b as jsxs, j as jsx, _ as __assign, y as Fragment, K as DROPDOWN_Z_INDEX, u as useBorder, a0 as phoneLibPromise, h as hoverStylesGuard, O as Overlay, X as isNum, d as iosScrollOnFocus, r as resetStyles } from './fthry_index.I7rHc8FP.js';
|
|
2
2
|
import { forwardRef, useRef, useState, useEffect, useMemo, memo } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { u as useElementSize } from './fthry_useElementSize.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.DJvobuMX.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.B8MBS8Dh.js';
|
|
5
|
+
import { u as useElementSize } from './fthry_useElementSize.DqQmSHa1.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import 'jszip';
|
|
8
8
|
import 'react-dom';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { u as Mermaid } from './fthry_AssistantChat.yAeOG5p9.js';
|
|
2
|
+
import './fthry_index.I7rHc8FP.js';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
|
+
import 'react';
|
|
5
|
+
import 'jszip';
|
|
6
|
+
import 'react-dom';
|
|
7
|
+
import './fthry_clsx.ChV9xqsO.js';
|
|
8
|
+
import './fthry_index.BwlIWSrd.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useState, useMemo } from 'react';
|
|
3
|
-
import { x as getDefaultExportFromCjs, b as jsxs, y as Fragment, j as jsx, o as Global, l as css, m as __makeTemplateObject } from './fthry_index.
|
|
3
|
+
import { x as getDefaultExportFromCjs, b as jsxs, y as Fragment, j as jsx, o as Global, l as css, m as __makeTemplateObject } from './fthry_index.I7rHc8FP.js';
|
|
4
4
|
import { flushSync } from 'react-dom';
|
|
5
5
|
|
|
6
6
|
function canUseDom() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as __read, s as __awaiter, t as __generator, v as FeatheryClient } from './fthry_index.
|
|
1
|
+
import { e as __read, s as __awaiter, t as __generator, v as FeatheryClient } from './fthry_index.I7rHc8FP.js';
|
|
2
2
|
import { useState, useEffect } from 'react';
|
|
3
3
|
|
|
4
4
|
function useSalesforceSync(salesforceSync, editMode) {
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a5 as AuthContext, a6 as getFieldValues, a7 as setFieldValues, a8 as updateTheme, a9 as updateUserId, aa as init, ab as Elements, ac as ReactForm,
|
|
2
|
-
export { ai as AssistantChat, aj as StyledContainer, ah as resolveLabelStyle } from './fthry_index.
|
|
1
|
+
import { a5 as AuthContext, a6 as getFieldValues, a7 as setFieldValues, a8 as updateTheme, a9 as updateUserId, aa as init, ab as Elements, ac as ReactForm, B as featheryDoc, ad as v4, _ as __assign, j as jsx, ae as LoginForm, af as JSForm, ag as getFormContext } from './fthry_index.I7rHc8FP.js';
|
|
2
|
+
export { ai as AssistantChat, aj as StyledContainer, ah as resolveLabelStyle } from './fthry_index.I7rHc8FP.js';
|
|
3
3
|
import { createRoot } from 'react-dom/client';
|
|
4
4
|
import { useContext } from 'react';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __assign, D as DEFAULT_MOBILE_BREAKPOINT, g as getVisiblePositions, c as calculateStepCSS, a as calculateGlobalCSS, j as jsx, G as Grid, F as FeatheryCacheProvider, f as fieldValues } from './fthry_index.
|
|
1
|
+
import { _ as __assign, D as DEFAULT_MOBILE_BREAKPOINT, g as getVisiblePositions, c as calculateStepCSS, a as calculateGlobalCSS, j as jsx, G as Grid, F as FeatheryCacheProvider, f as fieldValues } from './fthry_index.I7rHc8FP.js';
|
|
2
2
|
import { useRef, useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'jszip';
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunkFeathery=this.webpackChunkFeathery||[]).push([[75,745],{72788:(e,t,n)=>{n.r(t),n.d(t,{applyCheckableInputStyles:()=>u,applyHeightWidthMarginByFontSize:()=>h,composeCheckableInputStyle:()=>s,default:()=>f});var o=n(35944),r=n(67294),c=n(39479),a=function(){return a=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a.apply(this,arguments)},i="polygon(40% 85%, 89% 23%, 76% 12%, 39% 59%, 23% 44%, 12% 55%)",l=function(e){return Math.max(e,13)},h=function(e,t,n){void 0===n&&(n=!1),e.apply(t,["font_size"],(function(e){var t=l(e),o="".concat(t,"px"),r={minHeight:o,height:o,minWidth:o,width:o},c=Math.max(t/2,10);return n||(r.marginRight="".concat(c,"px")),r}))},p=function(e,t,n,o){e.apply(t,["font_size",n],(function(e,t){var n=l(e);return o?function(e,t){var n=Math.floor(e/1.7)/2;return{position:"absolute",top:0,right:0,bottom:0,left:0,height:"auto",width:"auto",minWidth:0,minHeight:0,border:0,backgroundImage:"radial-gradient(circle, #".concat(t," ").concat(n,"px, transparent ").concat(n,"px)")}}(n,t):function(e,t){return{boxShadow:"inset ".concat(e,"px ").concat(e,"px #").concat(t),clipPath:i}}(n,t)}))},d=function(e,t,n){e.apply(t,["height","height_unit","width","width_unit",n],(function(e,t,n,o,r){return{boxShadow:"inset ".concat(n).concat(o," ").concat(e).concat(t," #").concat(r),clipPath:i}}))};function u(e,t){t.addTargets("checkbox","checkboxCheckmark","checkboxSelected","checkboxHover","checkboxCheckmarkHover","checkboxLabel");var n=e.servar,o=n.type,r=n.metadata.multiple,c="select"===o||"matrix"===o&&!r;return"multiselect"===o||"checkbox_group"===o||"matrix"===o&&r||c?(function(e,t){e.apply("checkboxLabel",["font_size","line_height"],(function(e,t){return t||(t=l(e)),{position:"relative",top:"-".concat((t-e)/2,"px"),lineHeight:"".concat(t,"px")}}))}(t),h(t,"checkbox",!0),h(t,"checkboxCheckmark",!0),h(t,"checkboxCheckmarkHover",!0),p(t,"checkboxCheckmark","selected_font_color",c),p(t,"checkboxCheckmarkHover","hover_font_color",c)):(t.applyHeight("checkbox"),t.applyWidth("checkbox"),t.applyHeight("checkboxCheckmark"),t.applyWidth("checkboxCheckmark"),t.applyHeight("checkboxCheckmarkHover"),t.applyWidth("checkboxCheckmarkHover"),t.apply("checkbox",["width","width_unit"],(function(e,t){return"px"===t&&e?{marginRight:"".concat(Math.max(Math.round(.4*e),5),"px")}:{}})),d(t,"checkboxCheckmark","selected_font_color"),d(t,"checkboxCheckmarkHover","hover_font_color")),t.applyBorders({target:"checkbox"}),c||t.applyCorners("checkbox"),t.applyBoxShadow("checkbox"),t.applyColor("checkbox","background_color","backgroundColor",!0),t.applySelectorStyles("checkboxHover",{prefix:"hover_",important:!0}),t.applySelectorStyles("checkboxSelected",{prefix:"selected_",important:!0}),t}var s=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=!1),a(a({position:n?"relative":"static",marginLeft:5,marginRight:5,marginTop:0,marginBottom:0,appearance:"none",display:"grid",placeContent:"center",outline:"none",borderRadius:n?"50%":null},e.getTarget("checkbox")),{"&:hover":(0,c.wL)(t?{}:e.getTarget("checkboxHover")),"&::before":a({content:"''",transform:"scale(0)"},e.getTarget("checkboxCheckmark")),"&:hover::before":(0,c.wL)(a(a({},e.getTarget("checkboxCheckmark")),e.getTarget("checkboxCheckmarkHover"))),"&:checked":a({},e.getTarget("checkboxSelected")),"&:checked::before":{transform:"scale(1)"}})};const f=function(e){var t=e.element,n=e.responsiveStyles,i=e.fieldLabel,l=e.fieldVal,h=void 0===l||l,p=e.onChange,d=void 0===p?function(){}:p,f=e.elementProps,k=void 0===f?{}:f,g=e.disabled,b=void 0!==g&&g,
|
|
1
|
+
"use strict";(this.webpackChunkFeathery=this.webpackChunkFeathery||[]).push([[75,745],{72788:(e,t,n)=>{n.r(t),n.d(t,{applyCheckableInputStyles:()=>u,applyHeightWidthMarginByFontSize:()=>h,composeCheckableInputStyle:()=>s,default:()=>f});var o=n(35944),r=n(67294),c=n(39479),a=function(){return a=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a.apply(this,arguments)},i="polygon(40% 85%, 89% 23%, 76% 12%, 39% 59%, 23% 44%, 12% 55%)",l=function(e){return Math.max(e,13)},h=function(e,t,n){void 0===n&&(n=!1),e.apply(t,["font_size"],(function(e){var t=l(e),o="".concat(t,"px"),r={minHeight:o,height:o,minWidth:o,width:o},c=Math.max(t/2,10);return n||(r.marginRight="".concat(c,"px")),r}))},p=function(e,t,n,o){e.apply(t,["font_size",n],(function(e,t){var n=l(e);return o?function(e,t){var n=Math.floor(e/1.7)/2;return{position:"absolute",top:0,right:0,bottom:0,left:0,height:"auto",width:"auto",minWidth:0,minHeight:0,border:0,backgroundImage:"radial-gradient(circle, #".concat(t," ").concat(n,"px, transparent ").concat(n,"px)")}}(n,t):function(e,t){return{boxShadow:"inset ".concat(e,"px ").concat(e,"px #").concat(t),clipPath:i}}(n,t)}))},d=function(e,t,n){e.apply(t,["height","height_unit","width","width_unit",n],(function(e,t,n,o,r){return{boxShadow:"inset ".concat(n).concat(o," ").concat(e).concat(t," #").concat(r),clipPath:i}}))};function u(e,t){t.addTargets("checkbox","checkboxCheckmark","checkboxSelected","checkboxHover","checkboxCheckmarkHover","checkboxLabel");var n=e.servar,o=n.type,r=n.metadata.multiple,c="select"===o||"matrix"===o&&!r;return"multiselect"===o||"checkbox_group"===o||"matrix"===o&&r||c?(function(e,t){e.apply("checkboxLabel",["font_size","line_height"],(function(e,t){return t||(t=l(e)),{position:"relative",top:"-".concat((t-e)/2,"px"),lineHeight:"".concat(t,"px")}}))}(t),h(t,"checkbox",!0),h(t,"checkboxCheckmark",!0),h(t,"checkboxCheckmarkHover",!0),p(t,"checkboxCheckmark","selected_font_color",c),p(t,"checkboxCheckmarkHover","hover_font_color",c)):(t.applyHeight("checkbox"),t.applyWidth("checkbox"),t.applyHeight("checkboxCheckmark"),t.applyWidth("checkboxCheckmark"),t.applyHeight("checkboxCheckmarkHover"),t.applyWidth("checkboxCheckmarkHover"),t.apply("checkbox",["width","width_unit"],(function(e,t){return"px"===t&&e?{marginRight:"".concat(Math.max(Math.round(.4*e),5),"px")}:{}})),d(t,"checkboxCheckmark","selected_font_color"),d(t,"checkboxCheckmarkHover","hover_font_color")),t.applyBorders({target:"checkbox"}),c||t.applyCorners("checkbox"),t.applyBoxShadow("checkbox"),t.applyColor("checkbox","background_color","backgroundColor",!0),t.applySelectorStyles("checkboxHover",{prefix:"hover_",important:!0}),t.applySelectorStyles("checkboxSelected",{prefix:"selected_",important:!0}),t}var s=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=!1),a(a({position:n?"relative":"static",marginLeft:5,marginRight:5,marginTop:0,marginBottom:0,appearance:"none",display:"grid",placeContent:"center",outline:"none",borderRadius:n?"50%":null},e.getTarget("checkbox")),{"&:hover":(0,c.wL)(t?{}:e.getTarget("checkboxHover")),"&::before":a({content:"''",transform:"scale(0)"},e.getTarget("checkboxCheckmark")),"&:hover::before":(0,c.wL)(a(a({},e.getTarget("checkboxCheckmark")),e.getTarget("checkboxCheckmarkHover"))),"&:checked":a({},e.getTarget("checkboxSelected")),"&:checked::before":{transform:"scale(1)"}})};const f=function(e){var t=e.element,n=e.responsiveStyles,i=e.fieldLabel,l=e.fieldVal,h=void 0===l||l,p=e.onChange,d=void 0===p?function(){}:p,f=e.elementProps,k=void 0===f?{}:f,g=e.disabled,b=void 0!==g&&g,x=e.children,m=(0,r.useMemo)((function(){return u(t,n)}),[n]),v=t.servar;return(0,o.BX)("div",a({css:a(a({},n.getTarget("fc")),{position:"relative",display:"flex",alignItems:"center"})},k,{children:[x,(0,o.tZ)("input",{id:v.key,name:v.key,type:"checkbox",checked:h,disabled:b,onChange:d,onFocus:c.ms,"aria-label":t.properties.aria_label,css:a(a(a(a({},s(m,b)),i?{}:{marginRight:5}),b?n.getTarget("disabled"):{}),{"&:focus-visible":{border:"1px solid rgb(74, 144, 226)"}})}),i]}))}},30909:(e,t,n)=>{n.r(t),n.d(t,{default:()=>u});var o=n(35944),r=n(67294),c=n(3939),a=n(39479),i=function(){return i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)};function l(e){var t=e.text,n=e.children,l=e.containerRef,h=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,c=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=c.next()).done;)a.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}return a}((0,r.useState)(!1),2),p=h[0],d=h[1],u=(0,r.useRef)(null);if(!t)return(0,o.tZ)(o.HY,{children:n});var s=(0,a.tq)();return(0,o.BX)(o.HY,{children:[(0,o.tZ)("span",i({ref:u,onMouseEnter:s?void 0:function(){return d(!0)},onMouseLeave:s?void 0:function(){return d(!1)},onFocus:function(){return d(!0)},onBlur:function(){return d(!1)},onClick:function(){return d((function(e){return!e}))},style:{display:"inline-block",cursor:"pointer"}},{children:n})),(0,o.tZ)(c.Z,{show:p,triggerRef:u,containerRef:l,text:t,id:t,placement:"top",offset:4,onHide:function(){return d(!1)},css:{margin:"0 1rem"}})]})}var h=n(72788),p=n(54665),d=function(){return d=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},d.apply(this,arguments)};const u=function(e){var t,n=e.element,c=e.responsiveStyles,i=e.fieldLabel,u=e.fieldVal,s=void 0===u?{}:u,f=e.repeatIndex,k=void 0===f?null:f,g=e.onChange,b=void 0===g?function(){}:g,x=e.elementProps,m=void 0===x?{}:x,v=e.disabled,y=void 0!==v&&v,C=e.children,_=n.servar,w=_.metadata.multiple,H=w?"checkbox":"radio",S=(0,r.useRef)(null),B=c.getTarget("sub-fc"),R=B.backgroundColor,T=B.borderRadius,Z=(0,r.useMemo)((function(){return(0,h.applyCheckableInputStyles)(n,c),c}),[c]),M=100/((t=null!==k&&void 0!==_.metadata.repeat_options&&void 0!==_.metadata.repeat_options[k]?_.metadata.repeat_options[k]:_.metadata.options).length+1),j={minWidth:"100px",width:"".concat(M,"%")},I=d(d({},j),{fontWeight:400,padding:8});return(0,o.BX)("div",d({ref:S,css:d(d({width:"100%",height:"100%"},c.getTarget("fc")),{position:"relative",display:"flex",flexDirection:"column",justifyContent:"center"})},m,{children:[C,i,(0,o.BX)("div",d({style:{display:"flex",flexDirection:"row",marginBottom:6}},{children:[(0,o.tZ)("div",{css:I}),t.map((function(e,t){return(0,o.tZ)("div",d({style:{flex:1,fontWeight:600,justifyContent:"center",alignItems:"center",display:"flex",textAlign:"center"}},{children:(0,p.xf)(e,k)}),t)}))]})),_.metadata.questions.map((function(e,r){var c=e.highlight_color?"#".concat(e.highlight_color):R;return(0,o.BX)("div",d({style:{display:"flex",flexDirection:"row",backgroundColor:c,borderRadius:T,marginBottom:6}},{children:[(0,o.tZ)(l,d({text:(0,p.xf)(e.tooltip,k)},{children:(0,o.tZ)("div",d({css:I},{children:(0,p.xf)(e.label,k)}))})),t.map((function(t,c){var i=s[e.id],l=Array.isArray(i)&&i.includes(t);return(0,o.tZ)("div",d({css:{flex:1,justifyContent:"center",alignItems:"center",display:"flex"}},{children:(0,o.tZ)("input",{type:H,name:null!==k?"".concat(_.key,"-").concat(r,"-").concat(k):"".concat(_.key,"-").concat(r),"aria-label":n.properties.aria_label,"data-question-id":e.id,value:t,disabled:y||e.read_only,checked:l,onChange:b,onFocus:a.ms,css:(0,h.composeCheckableInputStyle)(Z,y,!w)})}),c)}))]}),r)}))]}))}}}]);
|