@feathery/react 2.22.0 → 2.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/Form/components/ActionToast/index.d.ts +2 -1
- package/cjs/Form/components/ActionToast/index.d.ts.map +1 -1
- package/cjs/Form/components/Assistant/MarkdownText.d.ts +7 -0
- package/cjs/Form/components/Assistant/MarkdownText.d.ts.map +1 -0
- package/cjs/Form/components/Assistant/ToolStatus.d.ts +12 -0
- package/cjs/Form/components/Assistant/ToolStatus.d.ts.map +1 -0
- package/cjs/Form/components/Assistant/colors.d.ts +17 -0
- package/cjs/Form/components/Assistant/colors.d.ts.map +1 -0
- package/cjs/Form/components/Assistant/icons.d.ts +9 -0
- package/cjs/Form/components/Assistant/icons.d.ts.map +1 -0
- package/cjs/Form/components/Assistant/index.d.ts +8 -0
- package/cjs/Form/components/Assistant/index.d.ts.map +1 -0
- package/cjs/Form/index.d.ts.map +1 -1
- package/cjs/Form/tests/testMocks.d.ts.map +1 -1
- package/cjs/{fthry_FormControl.C6RfrG4j.js → fthry_FormControl.CTwLDqQX.js} +1 -1
- package/cjs/{fthry_InlineTooltip.DXjYqPtD.js → fthry_InlineTooltip.R7o5S9Hi.js} +2 -2
- package/cjs/{fthry_Overlay.C4w6Cb6j.js → fthry_Overlay.aL6ya79H.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.D05feokK.js → fthry_PaymentMethodField.DLFdpNBi.js} +4 -4
- package/cjs/{fthry_Placeholder.D7Yh7mU2.js → fthry_Placeholder.BZtsn8fz.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.CiLTfgAK.js → fthry_ShowEyeIcon.DNr8tAO2.js} +1 -1
- package/cjs/{fthry_index.BJT2EG9q.js → fthry_index.4VrFlleU.js} +3 -3
- package/cjs/{fthry_index.D3t9MrC8.js → fthry_index.B4FRRpgr.js} +1 -1
- package/cjs/{fthry_index.CofrHdeg.js → fthry_index.B6VC3yvc.js} +2 -2
- package/cjs/{fthry_index.Cy80QFQZ.js → fthry_index.BBe95Bfl.js} +2 -2
- package/cjs/{fthry_index.CIxKm2W7.js → fthry_index.BKITOPaK.js} +6 -6
- package/cjs/{fthry_index.B7fwm2Qq.js → fthry_index.BdO-WOSW.js} +1 -1
- package/cjs/{fthry_index.C7ja1s3P.js → fthry_index.BeZPHYEW.js} +1 -1
- package/cjs/fthry_index.BnFW3Myv.js +10154 -0
- package/cjs/{fthry_index.BqZlc7T3.js → fthry_index.BxtiIxtR.js} +5 -5
- package/cjs/{fthry_index.6gJGxnEh.js → fthry_index.C9ZNNKBl.js} +1 -1
- package/cjs/{fthry_index.avrbgACA.js → fthry_index.CJ4fQh0Q.js} +1 -1
- package/cjs/{fthry_index.Dl8zGsAp.js → fthry_index.CKclXUEz.js} +1 -1
- package/cjs/{fthry_index.dpVLfqGZ.js → fthry_index.CuALcFA0.js} +4 -4
- package/cjs/{fthry_index.BNdR1Zvy.js → fthry_index.D4TokwJO.js} +3 -3
- package/cjs/{fthry_index.C-ANSPxY.js → fthry_index.D7WPMS-e.js} +8 -8
- package/cjs/{fthry_index.BO3AY9qR.js → fthry_index.DG9GFt5B.js} +6 -6
- package/cjs/{fthry_index.DiSY7Ac7.js → fthry_index.DLgrd3kv.js} +1 -1
- package/cjs/{fthry_index.lrVIrRLc.js → fthry_index.DUmDjh10.js} +178 -104
- package/cjs/{fthry_index.BoacvsbM.js → fthry_index.DUsXh3p4.js} +6 -6
- package/cjs/{fthry_index.2sunYeoj.js → fthry_index.DrOR5X_e.js} +1 -1
- package/cjs/{fthry_index.CvLykMCw.js → fthry_index.NnlX5lQm.js} +5 -5
- package/cjs/{fthry_index.DBJtTx9s.js → fthry_index.Pgo2Mu9x.js} +5 -5
- package/cjs/{fthry_index.DjWVnEr6.js → fthry_index._QY6Jk0r.js} +4 -4
- package/cjs/{fthry_index.D9UgyAK0.js → fthry_index.jT0ywpWI.js} +5 -5
- package/cjs/{fthry_index.CRdtsgYY.js → fthry_index.vkA9iK7B.js} +4 -4
- package/cjs/{fthry_input.CHp_Jap5.js → fthry_input.Lj-vEccg.js} +1 -1
- package/cjs/{fthry_script.C2pt_bUm.js → fthry_script.KoeCqMxj.js} +1 -1
- package/cjs/{fthry_styles.DFm8HxDr.js → fthry_styles.Cy6qRjM_.js} +1 -1
- package/cjs/{fthry_useElementSize.BroSkGyG.js → fthry_useElementSize.CPxkbWYF.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.DiWBOGl_.js → fthry_useSalesforceSync.vKBJt6Ec.js} +1 -1
- package/cjs/{fthry_webfontloader.Du37duiu.js → fthry_webfontloader.CFS5EJ_U.js} +1 -1
- package/cjs/index.js +1 -1
- package/cjs/utils/featheryClient/index.d.ts.map +1 -1
- package/cjs/utils/formHelperFunctions.d.ts +3 -0
- package/cjs/utils/formHelperFunctions.d.ts.map +1 -1
- package/dist/Form/components/ActionToast/index.d.ts +2 -1
- package/dist/Form/components/ActionToast/index.d.ts.map +1 -1
- package/dist/Form/components/Assistant/MarkdownText.d.ts +7 -0
- package/dist/Form/components/Assistant/MarkdownText.d.ts.map +1 -0
- package/dist/Form/components/Assistant/ToolStatus.d.ts +12 -0
- package/dist/Form/components/Assistant/ToolStatus.d.ts.map +1 -0
- package/dist/Form/components/Assistant/colors.d.ts +17 -0
- package/dist/Form/components/Assistant/colors.d.ts.map +1 -0
- package/dist/Form/components/Assistant/icons.d.ts +9 -0
- package/dist/Form/components/Assistant/icons.d.ts.map +1 -0
- package/dist/Form/components/Assistant/index.d.ts +8 -0
- package/dist/Form/components/Assistant/index.d.ts.map +1 -0
- package/dist/Form/index.d.ts.map +1 -1
- package/dist/Form/tests/testMocks.d.ts.map +1 -1
- package/dist/{fthry_FormControl.BR7z833q.js → fthry_FormControl.CZJ1jn_X.js} +1 -1
- package/dist/{fthry_InlineTooltip.D5rXgJxn.js → fthry_InlineTooltip.BI9A2ISt.js} +2 -2
- package/dist/{fthry_Overlay.C0T4Ihiz.js → fthry_Overlay.CR5UzcJA.js} +1 -1
- package/dist/{fthry_PaymentMethodField.BnHykb0-.js → fthry_PaymentMethodField.CjqJ8yIr.js} +4 -4
- package/dist/{fthry_Placeholder.OebdDszh.js → fthry_Placeholder.CVztEMPo.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.5ZGg8TFI.js → fthry_ShowEyeIcon.Ou0z80Bk.js} +1 -1
- package/dist/{fthry_index.CAO_boB_.js → fthry_index.B3yyXgjw.js} +6 -6
- package/dist/{fthry_index.CbxKTwce.js → fthry_index.BBmBREM8.js} +3 -3
- package/dist/{fthry_index.BVBupEyX.js → fthry_index.BHOEgj_J.js} +4 -4
- package/dist/{fthry_index.DgH--mO0.js → fthry_index.BNYfMPtP.js} +1 -1
- package/dist/{fthry_index.BkvB1fWy.js → fthry_index.BOZNibb0.js} +1 -1
- package/dist/{fthry_index.CZr2zxPE.js → fthry_index.BPrCG1DF.js} +1 -1
- package/dist/{fthry_index.D33p0Cu9.js → fthry_index.BcuiRv7L.js} +5 -5
- package/dist/{fthry_index.DSpMogdQ.js → fthry_index.BlTczd9f.js} +6 -6
- package/dist/{fthry_index.DSXLISe1.js → fthry_index.BnuKisSC.js} +1 -1
- package/dist/{fthry_index.CQIPge2V.js → fthry_index.Bpe9va3I.js} +2 -2
- package/dist/{fthry_index.CbNESu0U.js → fthry_index.BzvJX38E.js} +5 -5
- package/dist/{fthry_index.CenbmeTZ.js → fthry_index.C1G-XNqF.js} +4 -4
- package/dist/{fthry_index.VasUvj87.js → fthry_index.CDrJFqsv.js} +6 -6
- package/dist/{fthry_index.CLjO1Hq8.js → fthry_index.CSglnt5z.js} +1 -1
- package/dist/{fthry_index.Cog2BDNb.js → fthry_index.CTKMi2rG.js} +1 -1
- package/dist/{fthry_index.Cjz0TFbJ.js → fthry_index.CkJMRFNl.js} +8 -8
- package/dist/{fthry_index.NZiAUoKR.js → fthry_index.CoZvVNqs.js} +5 -5
- package/dist/{fthry_index.Ca6YzvQ4.js → fthry_index.CtYFxOlM.js} +3 -3
- package/dist/{fthry_index.CDRQrd84.js → fthry_index.D3lSuyak.js} +134 -61
- package/dist/fthry_index.D7y9hs7B.js +10152 -0
- package/dist/{fthry_index.Bg6jDqRN.js → fthry_index.DAS7h09M.js} +1 -1
- package/dist/{fthry_index.DomytyFl.js → fthry_index.DE3fEAl4.js} +4 -4
- package/dist/{fthry_index.B-HK4FAf.js → fthry_index.DQw3p27A.js} +5 -5
- package/dist/{fthry_index.D91kaNEu.js → fthry_index.FXwX6-R-.js} +1 -1
- package/dist/{fthry_index.Bsx6VyJi.js → fthry_index.pLuBEDzM.js} +2 -2
- package/dist/{fthry_input.mf5Eisx1.js → fthry_input.DRka84YM.js} +1 -1
- package/dist/{fthry_script.DYkmIi0j.js → fthry_script.CwI252bu.js} +1 -1
- package/dist/{fthry_styles.DctHU6BX.js → fthry_styles.PyyCyYCJ.js} +1 -1
- package/dist/{fthry_useElementSize.B_En_KWY.js → fthry_useElementSize.zEQ3--PI.js} +1 -1
- package/dist/{fthry_useSalesforceSync.wfhYAUgy.js → fthry_useSalesforceSync.BaADT2cu.js} +1 -1
- package/dist/{fthry_webfontloader.sudLWRnv.js → fthry_webfontloader.DY9HYBTa.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/featheryClient/index.d.ts.map +1 -1
- package/dist/utils/formHelperFunctions.d.ts +3 -0
- package/dist/utils/formHelperFunctions.d.ts.map +1 -1
- package/package.json +5 -2
- package/umd/790.4e933b431624db11eeec.js +1 -0
- package/umd/AssistantChat.ffb5ce7ab5b0350a9159.js +1 -0
- package/umd/index.js +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { b as __read, a as jsxs, _ as __assign, j as jsx,
|
|
1
|
+
import { b as __read, a as jsxs, _ as __assign, j as jsx, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.D3lSuyak.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.CZJ1jn_X.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.DAS7h09M.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BI9A2ISt.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.BaADT2cu.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.CR5UzcJA.js';
|
|
12
12
|
|
|
13
13
|
var applyRadioGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('radioGroup');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as jsxs, _ as __assign, j as jsx, b as __read,
|
|
1
|
+
import { a as jsxs, _ as __assign, j as jsx, b as __read, a9 as isEmptyArray, aa as toList, ab as useThumbnailData, e as __spreadArray, p as imgMaxSizeStyles, l as __awaiter, m as __generator, ac as downloadFile, ad as CloseIcon, k as iosScrollOnFocus, t as FORM_Z_INDEX, ae as justRemove } from './fthry_index.D3lSuyak.js';
|
|
2
2
|
import { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { a as jsxs, _ as __assign, j as jsx, D as DROPDOWN_Z_INDEX, b as __read, u as useBorder,
|
|
1
|
+
import { a as jsxs, _ as __assign, j as jsx, D as DROPDOWN_Z_INDEX, b as __read, u as useBorder, au as getFieldValue, s as stringifyWithNull, h as hoverStylesGuard, k as iosScrollOnFocus, t as FORM_Z_INDEX, r as resetStyles, av as emailPatternStr } from './fthry_index.D3lSuyak.js';
|
|
2
2
|
import { memo, useRef, useState } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { O as Overlay } from './fthry_Overlay.
|
|
6
|
-
import { u as useElementSize } from './fthry_useElementSize.
|
|
7
|
-
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.
|
|
8
|
-
import { a as IMaskInput } from './fthry_input.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.CVztEMPo.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BI9A2ISt.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.CR5UzcJA.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.zEQ3--PI.js';
|
|
7
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.Ou0z80Bk.js';
|
|
8
|
+
import { a as IMaskInput } from './fthry_input.DRka84YM.js';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'react-dom/client';
|
|
11
11
|
import 'jszip';
|
|
12
12
|
import 'react-dom';
|
|
13
|
-
import './fthry_index.
|
|
13
|
+
import './fthry_index.CSglnt5z.js';
|
|
14
14
|
|
|
15
15
|
function TextAutocomplete(_a) {
|
|
16
16
|
var _b = _a.allOptions, allOptions = _b === void 0 ? [] : _b, showOptions = _a.showOptions, _c = _a.onSelect, onSelect = _c === void 0 ? function () { } : _c, _d = _a.onHide, onHide = _d === void 0 ? function () { } : _d, _e = _a.onInputFocus, onInputFocus = _e === void 0 ? function () { } : _e, _f = _a.value, value = _f === void 0 ? '' : _f, containerRef = _a.containerRef, responsiveStyles = _a.responsiveStyles, listItemRef = _a.listItemRef, children = _a.children;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z as __rest, b as __read, C as countryData, ai as authState, aj as firebaseSMSCountries, a as jsxs, j as jsx, _ as __assign, F as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, ak as phoneLibPromise, h as hoverStylesGuard, al as isNum, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.D3lSuyak.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 { O as Overlay } from './fthry_Overlay.
|
|
6
|
-
import { u as useElementSize } from './fthry_useElementSize.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.CVztEMPo.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BI9A2ISt.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.CR5UzcJA.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.zEQ3--PI.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as __read, j as jsx, F as Fragment,
|
|
1
|
+
import { b as __read, j as jsx, F as Fragment, y as isMobile, a as jsxs, _ as __assign, t as FORM_Z_INDEX, k as iosScrollOnFocus } from './fthry_index.D3lSuyak.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.CR5UzcJA.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.DAS7h09M.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
@@ -38735,12 +38735,12 @@ var getTitle = function (data) {
|
|
|
38735
38735
|
}
|
|
38736
38736
|
return 'Scanning Documents';
|
|
38737
38737
|
};
|
|
38738
|
-
var ActionToast = function (_a) {
|
|
38738
|
+
var ActionToast = forwardRef(function (_a, ref) {
|
|
38739
38739
|
var data = _a.data, _b = _a.bottom, bottom = _b === void 0 ? 20 : _b;
|
|
38740
38740
|
var _c = __read(useState(true), 2), isToastExpanded = _c[0], setIsToastExpanded = _c[1];
|
|
38741
38741
|
if (data.length === 0)
|
|
38742
38742
|
return null;
|
|
38743
|
-
return (jsxs("div", __assign({ css: {
|
|
38743
|
+
return (jsxs("div", __assign({ ref: ref, css: {
|
|
38744
38744
|
position: 'fixed',
|
|
38745
38745
|
bottom: "".concat(bottom, "px"),
|
|
38746
38746
|
right: '16px',
|
|
@@ -38771,7 +38771,7 @@ var ActionToast = function (_a) {
|
|
|
38771
38771
|
maxHeight: '384px',
|
|
38772
38772
|
overflowY: 'auto'
|
|
38773
38773
|
} }, { children: data.map(function (item, index) { return (jsx$1(ToastItem, { item: item }, index)); }) })))] })));
|
|
38774
|
-
};
|
|
38774
|
+
});
|
|
38775
38775
|
|
|
38776
38776
|
// Type guard function
|
|
38777
38777
|
function isAIExtractionAction(action) {
|
|
@@ -39073,6 +39073,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
|
|
|
39073
39073
|
}, [activeStep, stepKey, formName]);
|
|
39074
39074
|
}
|
|
39075
39075
|
|
|
39076
|
+
var AssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_index.D7y9hs7B.js'); });
|
|
39076
39077
|
var getSubmissionErrorMessage = function (error) {
|
|
39077
39078
|
if (error instanceof TypeError && error.message === 'Failed to fetch') {
|
|
39078
39079
|
return 'Unable to upload files. Please check your connection and try again.';
|
|
@@ -39082,6 +39083,26 @@ var getSubmissionErrorMessage = function (error) {
|
|
|
39082
39083
|
}
|
|
39083
39084
|
return 'Submission failed. Please try again.';
|
|
39084
39085
|
};
|
|
39086
|
+
function closePreOpenedWindows(windows) {
|
|
39087
|
+
windows.forEach(function (win) { return win === null || win === void 0 ? void 0 : win.close(); });
|
|
39088
|
+
}
|
|
39089
|
+
// Pre-open windows synchronously within the user-gesture call stack on iOS.
|
|
39090
|
+
// iOS Safari blocks window.open() after any await breaks the gesture chain.
|
|
39091
|
+
function preOpenIOSWindows(actions) {
|
|
39092
|
+
var windows = new Map();
|
|
39093
|
+
if (isIOS()) {
|
|
39094
|
+
actions.forEach(function (action, idx) {
|
|
39095
|
+
if (action.type === ACTION_URL && action.open_tab) {
|
|
39096
|
+
var win = featheryWindow().open('about:blank', '_blank');
|
|
39097
|
+
if (win) {
|
|
39098
|
+
win.opener = null;
|
|
39099
|
+
windows.set(idx, win);
|
|
39100
|
+
}
|
|
39101
|
+
}
|
|
39102
|
+
});
|
|
39103
|
+
}
|
|
39104
|
+
return windows;
|
|
39105
|
+
}
|
|
39085
39106
|
function Form(_a) {
|
|
39086
39107
|
var _this = this;
|
|
39087
39108
|
var _b;
|
|
@@ -39122,7 +39143,10 @@ function Form(_a) {
|
|
|
39122
39143
|
clearHideIfFields: false,
|
|
39123
39144
|
completionBehavior: '',
|
|
39124
39145
|
globalStyles: {},
|
|
39125
|
-
mobileBreakpoint: DEFAULT_MOBILE_BREAKPOINT
|
|
39146
|
+
mobileBreakpoint: DEFAULT_MOBILE_BREAKPOINT,
|
|
39147
|
+
assistantEnabled: false,
|
|
39148
|
+
assistantContext: '',
|
|
39149
|
+
assistantColor: '#6b7280'
|
|
39126
39150
|
}), 2), formSettings = _12[0], setFormSettings = _12[1];
|
|
39127
39151
|
var trackHashes = useRef(false);
|
|
39128
39152
|
var curLanguage = useRef(undefined);
|
|
@@ -39275,7 +39299,41 @@ function Form(_a) {
|
|
|
39275
39299
|
});
|
|
39276
39300
|
}, [setLoaders]);
|
|
39277
39301
|
var _30 = useAIExtractionToast(), currentActionExtractions = _30.currentActionExtractions, initializeActionExtractions = _30.initializeActionExtractions, updateExtractionInAction = _30.updateExtractionInAction, handleExtractionStatusUpdate = _30.handleExtractionStatusUpdate;
|
|
39278
|
-
|
|
39302
|
+
// Track if any extraction has completed (for showing assistant)
|
|
39303
|
+
// eventually we will always show the assistant regardless of extraction status
|
|
39304
|
+
var _31 = __read(useState(false), 2), hasCompletedExtraction = _31[0], setHasCompletedExtraction = _31[1];
|
|
39305
|
+
useEffect(function () {
|
|
39306
|
+
if (!hasCompletedExtraction &&
|
|
39307
|
+
currentActionExtractions.some(function (e) { return e.status === 'complete'; })) {
|
|
39308
|
+
setHasCompletedExtraction(true);
|
|
39309
|
+
}
|
|
39310
|
+
}, [currentActionExtractions, hasCompletedExtraction]);
|
|
39311
|
+
var _32 = useEnvelopeGenerationToast(), currentEnvelopeGeneration = _32.currentEnvelopeGeneration, initializeEnvelopeGeneration = _32.initializeEnvelopeGeneration, updateEnvelopeGeneration = _32.updateEnvelopeGeneration;
|
|
39312
|
+
// Track ActionToast height for positioning WorkflowChat above it
|
|
39313
|
+
var _33 = __read(useState(0), 2), actionToastHeight = _33[0], setActionToastHeight = _33[1];
|
|
39314
|
+
var actionToastRef = useRef(null);
|
|
39315
|
+
var actionToastObserverRef = useRef(null);
|
|
39316
|
+
// Reset height when toast data becomes empty
|
|
39317
|
+
var actionToastData = useMemo(function () { return __spreadArray(__spreadArray([], __read(currentActionExtractions), false), __read(currentEnvelopeGeneration), false); }, [currentActionExtractions, currentEnvelopeGeneration]);
|
|
39318
|
+
useEffect(function () {
|
|
39319
|
+
if (actionToastData.length === 0) {
|
|
39320
|
+
setActionToastHeight(0);
|
|
39321
|
+
}
|
|
39322
|
+
}, [actionToastData.length]);
|
|
39323
|
+
var setActionToastRef = useCallback(function (node) {
|
|
39324
|
+
if (actionToastObserverRef.current) {
|
|
39325
|
+
actionToastObserverRef.current.disconnect();
|
|
39326
|
+
actionToastObserverRef.current = null;
|
|
39327
|
+
}
|
|
39328
|
+
actionToastRef.current = node;
|
|
39329
|
+
if (node) {
|
|
39330
|
+
var observer = new ResizeObserver(function (entries) {
|
|
39331
|
+
setActionToastHeight(entries[0].contentRect.height);
|
|
39332
|
+
});
|
|
39333
|
+
observer.observe(node);
|
|
39334
|
+
actionToastObserverRef.current = observer;
|
|
39335
|
+
}
|
|
39336
|
+
}, []);
|
|
39279
39337
|
// Tracks element to focus
|
|
39280
39338
|
var focusRef = useRef(undefined);
|
|
39281
39339
|
// Tracks the execution of user-provided callback functions
|
|
@@ -39350,7 +39408,7 @@ function Form(_a) {
|
|
|
39350
39408
|
setRequiredStepAction(requiredStepAction);
|
|
39351
39409
|
}, [activeStep === null || activeStep === void 0 ? void 0 : activeStep.id]);
|
|
39352
39410
|
// viewElements state
|
|
39353
|
-
var
|
|
39411
|
+
var _34 = __read(useState([]), 2), viewElements = _34[0], setViewElements = _34[1];
|
|
39354
39412
|
useEffect(function () {
|
|
39355
39413
|
setViewElements(onViewElements);
|
|
39356
39414
|
}, [onViewElements.length]);
|
|
@@ -39494,7 +39552,7 @@ function Form(_a) {
|
|
|
39494
39552
|
return true;
|
|
39495
39553
|
};
|
|
39496
39554
|
// For audio AI only right now
|
|
39497
|
-
var
|
|
39555
|
+
var _35 = __read(useState(_pollFuserData), 2), pollFuserData = _35[0], setPollFuserData = _35[1];
|
|
39498
39556
|
usePollFuserData(pollFuserData, client, updateFieldValues);
|
|
39499
39557
|
var eventCallbackMap = {
|
|
39500
39558
|
change: onChange,
|
|
@@ -40281,7 +40339,7 @@ function Form(_a) {
|
|
|
40281
40339
|
});
|
|
40282
40340
|
}); };
|
|
40283
40341
|
// usePayments (Stripe)
|
|
40284
|
-
var
|
|
40342
|
+
var _36 = __read(usePayments(), 2), getCardElement = _36[0], setCardElement = _36[1];
|
|
40285
40343
|
function setupStepPaymentMethod(formattedFields) {
|
|
40286
40344
|
return __awaiter$2(this, void 0, void 0, function () {
|
|
40287
40345
|
var i, field, integrationData, actionData, actionResult;
|
|
@@ -40614,9 +40672,9 @@ function Form(_a) {
|
|
|
40614
40672
|
}
|
|
40615
40673
|
return state;
|
|
40616
40674
|
};
|
|
40617
|
-
var
|
|
40675
|
+
var _37 = useCheckButtonAction(setButtonLoader, clearLoaders), isButtonActionRunning = _37.isButtonActionRunning, updateButtonActionState = _37.updateButtonActionState, clearButtonActionState = _37.clearButtonActionState, setUserLogicRunning = _37.setUserLogicRunning;
|
|
40618
40676
|
var buttonOnClick = function (button) { return __awaiter$2(_this, void 0, void 0, function () {
|
|
40619
|
-
var setButtonError, invalid, running, e_5;
|
|
40677
|
+
var setButtonError, actions, preOpenedWindows, invalid, running, e_5;
|
|
40620
40678
|
var _a;
|
|
40621
40679
|
return __generator(this, function (_b) {
|
|
40622
40680
|
switch (_b.label) {
|
|
@@ -40643,6 +40701,8 @@ function Form(_a) {
|
|
|
40643
40701
|
});
|
|
40644
40702
|
}, 10);
|
|
40645
40703
|
};
|
|
40704
|
+
actions = prioritizeActions((_a = button.properties.actions) !== null && _a !== void 0 ? _a : []);
|
|
40705
|
+
preOpenedWindows = preOpenIOSWindows(actions);
|
|
40646
40706
|
_b.label = 3;
|
|
40647
40707
|
case 3:
|
|
40648
40708
|
_b.trys.push([3, 7, , 8]);
|
|
@@ -40651,17 +40711,19 @@ function Form(_a) {
|
|
|
40651
40711
|
case 4:
|
|
40652
40712
|
invalid = _b.sent();
|
|
40653
40713
|
if (invalid) {
|
|
40714
|
+
closePreOpenedWindows(preOpenedWindows);
|
|
40654
40715
|
setButtonError("You didn't pass CAPTCHA verification");
|
|
40655
40716
|
return [2 /*return*/];
|
|
40656
40717
|
}
|
|
40657
40718
|
_b.label = 5;
|
|
40658
40719
|
case 5: return [4 /*yield*/, runElementActions({
|
|
40659
|
-
actions:
|
|
40720
|
+
actions: actions,
|
|
40660
40721
|
element: button,
|
|
40661
40722
|
elementType: 'button',
|
|
40662
40723
|
submit: button.properties.submit,
|
|
40663
40724
|
setElementError: setButtonError,
|
|
40664
|
-
onAsyncEnd: function () { return clearLoaders(); }
|
|
40725
|
+
onAsyncEnd: function () { return clearLoaders(); },
|
|
40726
|
+
preOpenedWindows: preOpenedWindows
|
|
40665
40727
|
})];
|
|
40666
40728
|
case 6:
|
|
40667
40729
|
running = _b.sent();
|
|
@@ -40671,6 +40733,7 @@ function Form(_a) {
|
|
|
40671
40733
|
return [3 /*break*/, 8];
|
|
40672
40734
|
case 7:
|
|
40673
40735
|
e_5 = _b.sent();
|
|
40736
|
+
closePreOpenedWindows(preOpenedWindows);
|
|
40674
40737
|
// Clear the click lock so user can retry
|
|
40675
40738
|
if (button.id) {
|
|
40676
40739
|
elementClicks[button.id] = false;
|
|
@@ -40728,21 +40791,25 @@ function Form(_a) {
|
|
|
40728
40791
|
// Some actions (Persona, Plaid, etc) require special handling: they pause execution and
|
|
40729
40792
|
// provide a callback for continuing to the next action once they complete.
|
|
40730
40793
|
var runElementActions = function (_a) {
|
|
40731
|
-
var actions = _a.actions, element = _a.element, elementType = _a.elementType, _b = _a.submit, submit = _b === void 0 ? false : _b, _c = _a.setElementError, setElementError = _c === void 0 ? function () { } : _c, _d = _a.onAsyncEnd, onAsyncEnd = _d === void 0 ? function () { } : _d, textSpanStart = _a.textSpanStart, textSpanEnd = _a.textSpanEnd, triggerPayload = _a.triggerPayload;
|
|
40794
|
+
var actions = _a.actions, element = _a.element, elementType = _a.elementType, _b = _a.submit, submit = _b === void 0 ? false : _b, _c = _a.setElementError, setElementError = _c === void 0 ? function () { } : _c, _d = _a.onAsyncEnd, onAsyncEnd = _d === void 0 ? function () { } : _d, textSpanStart = _a.textSpanStart, textSpanEnd = _a.textSpanEnd, triggerPayload = _a.triggerPayload, externalPreOpenedWindows = _a.preOpenedWindows;
|
|
40732
40795
|
return __awaiter$2(_this, void 0, void 0, function () {
|
|
40733
|
-
var id, metadata, trigger, submitPromise, pendingFileKeys, invalid, hasNext, submissionResult, error_3, _e, stepPromise,
|
|
40796
|
+
var id, preOpenedWindows, metadata, trigger, submitPromise, pendingFileKeys, invalid, hasNext, submissionResult, error_3, _e, stepPromise, flowOnSuccess, actionTypes, runAction, i, hasExtractions, hasEnvelopeGeneration, _loop_1, state_1;
|
|
40734
40797
|
var _this = this;
|
|
40735
40798
|
var _f, _g, _h, _j, _k;
|
|
40736
40799
|
return __generator(this, function (_l) {
|
|
40737
40800
|
switch (_l.label) {
|
|
40738
40801
|
case 0:
|
|
40739
40802
|
id = (_f = element.id) !== null && _f !== void 0 ? _f : '';
|
|
40803
|
+
preOpenedWindows = externalPreOpenedWindows !== null && externalPreOpenedWindows !== void 0 ? externalPreOpenedWindows : new Map();
|
|
40740
40804
|
// Prevent rapid re-clicks on the same element during async operations (file uploads, API calls)
|
|
40741
|
-
if (id && elementClicks[id])
|
|
40805
|
+
if (id && elementClicks[id]) {
|
|
40806
|
+
closePreOpenedWindows(preOpenedWindows);
|
|
40742
40807
|
return [2 /*return*/];
|
|
40808
|
+
}
|
|
40743
40809
|
elementClicks[id] = true;
|
|
40744
40810
|
if (isButtonActionRunning()) {
|
|
40745
40811
|
elementClicks[id] = false;
|
|
40812
|
+
closePreOpenedWindows(preOpenedWindows);
|
|
40746
40813
|
return [2 /*return*/, true];
|
|
40747
40814
|
}
|
|
40748
40815
|
updateButtonActionState(elementType, element, triggerPayload);
|
|
@@ -40762,6 +40829,7 @@ function Form(_a) {
|
|
|
40762
40829
|
setElementError(REQUIRED_FLOW_ACTIONS[requiredStepAction]);
|
|
40763
40830
|
elementClicks[id] = false;
|
|
40764
40831
|
clearButtonActionState();
|
|
40832
|
+
closePreOpenedWindows(preOpenedWindows);
|
|
40765
40833
|
return [2 /*return*/];
|
|
40766
40834
|
}
|
|
40767
40835
|
pendingFileKeys = getPendingFileUploadKeys();
|
|
@@ -40797,6 +40865,7 @@ function Form(_a) {
|
|
|
40797
40865
|
setAutoValidate(true);
|
|
40798
40866
|
elementClicks[id] = false;
|
|
40799
40867
|
clearButtonActionState();
|
|
40868
|
+
closePreOpenedWindows(preOpenedWindows);
|
|
40800
40869
|
return [2 /*return*/];
|
|
40801
40870
|
}
|
|
40802
40871
|
hasNext = actions.some(function (action) { return action.type === ACTION_NEXT; }) &&
|
|
@@ -40817,6 +40886,7 @@ function Form(_a) {
|
|
|
40817
40886
|
if (!submissionResult) {
|
|
40818
40887
|
elementClicks[id] = false;
|
|
40819
40888
|
clearButtonActionState();
|
|
40889
|
+
closePreOpenedWindows(preOpenedWindows);
|
|
40820
40890
|
return [2 /*return*/];
|
|
40821
40891
|
}
|
|
40822
40892
|
_e = __read(submissionResult, 1), stepPromise = _e[0];
|
|
@@ -40834,19 +40904,12 @@ function Form(_a) {
|
|
|
40834
40904
|
submitPromise.catch(function () { });
|
|
40835
40905
|
_l.label = 7;
|
|
40836
40906
|
case 7:
|
|
40837
|
-
|
|
40838
|
-
|
|
40839
|
-
|
|
40840
|
-
|
|
40841
|
-
|
|
40842
|
-
|
|
40843
|
-
if (action.type === ACTION_URL && action.open_tab) {
|
|
40844
|
-
var win = featheryWindow().open('about:blank', '_blank');
|
|
40845
|
-
if (win) {
|
|
40846
|
-
win.opener = null; // Prevent reverse tabnabbing
|
|
40847
|
-
preOpenedWindows.set(idx, win);
|
|
40848
|
-
}
|
|
40849
|
-
}
|
|
40907
|
+
if (!externalPreOpenedWindows)
|
|
40908
|
+
actions = prioritizeActions(actions);
|
|
40909
|
+
// Guards text/container callers if an async onAction or action logic rule breaks the gesture chain
|
|
40910
|
+
if (!externalPreOpenedWindows) {
|
|
40911
|
+
preOpenIOSWindows(actions).forEach(function (win, idx) {
|
|
40912
|
+
return preOpenedWindows.set(idx, win);
|
|
40850
40913
|
});
|
|
40851
40914
|
}
|
|
40852
40915
|
flowOnSuccess = function (index) { return function () { return __awaiter$2(_this, void 0, void 0, function () {
|
|
@@ -41564,8 +41627,7 @@ function Form(_a) {
|
|
|
41564
41627
|
i++;
|
|
41565
41628
|
return [3 /*break*/, 9];
|
|
41566
41629
|
case 12:
|
|
41567
|
-
|
|
41568
|
-
preOpenedWindows.forEach(function (win) { return win === null || win === void 0 ? void 0 : win.close(); });
|
|
41630
|
+
closePreOpenedWindows(preOpenedWindows);
|
|
41569
41631
|
if (i < actions.length) {
|
|
41570
41632
|
elementClicks[id] = false;
|
|
41571
41633
|
clearButtonActionState();
|
|
@@ -41712,10 +41774,13 @@ function Form(_a) {
|
|
|
41712
41774
|
navigate(getNewStepUrl(stepKey));
|
|
41713
41775
|
else
|
|
41714
41776
|
setStepKey(stepKey);
|
|
41715
|
-
}, formName: formName, draft: _draft, visible: !hideTestUI })), global.firebase && (jsx$1("div", { id: 'featheryRecaptcha', style: { position: 'absolute', visibility: 'hidden' } })), jsx$1(Watermark, { show: formSettings.showBrand, brandPosition: formSettings.brandPosition }), jsx$1(ActionToast, {
|
|
41777
|
+
}, formName: formName, draft: _draft, visible: !hideTestUI })), global.firebase && (jsx$1("div", { id: 'featheryRecaptcha', style: { position: 'absolute', visibility: 'hidden' } })), jsx$1(Watermark, { show: formSettings.showBrand, brandPosition: formSettings.brandPosition }), jsx$1(ActionToast, { ref: setActionToastRef, data: actionToastData, bottom: formSettings.showBrand &&
|
|
41716
41778
|
formSettings.brandPosition === 'bottom_right'
|
|
41717
41779
|
? 67
|
|
41718
|
-
: 20 })
|
|
41780
|
+
: 20 }), formSettings.assistantEnabled && hasCompletedExtraction && (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(AssistantChat, { formId: formId, bottom: (formSettings.showBrand &&
|
|
41781
|
+
formSettings.brandPosition === 'bottom_right'
|
|
41782
|
+
? 67
|
|
41783
|
+
: 20) + (actionToastHeight > 0 ? actionToastHeight + 10 : 0), color: formSettings.assistantColor }) })))] })) })));
|
|
41719
41784
|
}
|
|
41720
41785
|
// normal <Form /> (aka ReactForm) component is exported with just `props:
|
|
41721
41786
|
// Props`, so need this component to support exposing _internalId for use in
|
|
@@ -45783,7 +45848,12 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
45783
45848
|
return [4 /*yield*/, this._fetch(url, {
|
|
45784
45849
|
headers: { 'Content-Type': 'application/json' },
|
|
45785
45850
|
method: 'POST',
|
|
45786
|
-
body: JSON.stringify({
|
|
45851
|
+
body: JSON.stringify({
|
|
45852
|
+
operation: operation,
|
|
45853
|
+
entry_id: entryId,
|
|
45854
|
+
data: data,
|
|
45855
|
+
form_key: this.formKey
|
|
45856
|
+
})
|
|
45787
45857
|
}, false)];
|
|
45788
45858
|
case 1:
|
|
45789
45859
|
response = _d.sent();
|
|
@@ -45882,9 +45952,9 @@ function init(sdkKey, options) {
|
|
|
45882
45952
|
if (runningInClient()) {
|
|
45883
45953
|
// Dynamically load libraries that must be client side
|
|
45884
45954
|
global.scriptjsLoadPromise = import(
|
|
45885
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
45955
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.CwI252bu.js').then(function (n) { return n.s; });
|
|
45886
45956
|
global.webfontloaderPromise = import(
|
|
45887
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
45957
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DY9HYBTa.js').then(function (n) { return n.w; });
|
|
45888
45958
|
// Client-side tracking logic
|
|
45889
45959
|
if (initState.userTracking === 'cookie') {
|
|
45890
45960
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -46030,7 +46100,7 @@ function getFieldValues() {
|
|
|
46030
46100
|
return __assign({}, fieldValues);
|
|
46031
46101
|
}
|
|
46032
46102
|
function logFeatheryBadge() {
|
|
46033
|
-
console.log('%c Feathery %c v' + "2.
|
|
46103
|
+
console.log('%c Feathery %c v' + "2.23.0" + ' ', // replaced with real version during build
|
|
46034
46104
|
'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;');
|
|
46035
46105
|
}
|
|
46036
46106
|
|
|
@@ -46311,7 +46381,10 @@ function mapFormSettingsResponse(res) {
|
|
|
46311
46381
|
globalStyles: res.global_styles,
|
|
46312
46382
|
saveHideIfFields: res.save_hide_if_fields,
|
|
46313
46383
|
clearHideIfFields: res.clear_hide_if_fields,
|
|
46314
|
-
mobileBreakpoint: (_a = res.mobile_breakpoint) !== null && _a !== void 0 ? _a : DEFAULT_MOBILE_BREAKPOINT
|
|
46384
|
+
mobileBreakpoint: (_a = res.mobile_breakpoint) !== null && _a !== void 0 ? _a : DEFAULT_MOBILE_BREAKPOINT,
|
|
46385
|
+
assistantEnabled: res.assistant_enabled,
|
|
46386
|
+
assistantContext: res.assistant_context,
|
|
46387
|
+
assistantColor: res.assistant_color ? "#".concat(res.assistant_color) : '#6b7280'
|
|
46315
46388
|
};
|
|
46316
46389
|
}
|
|
46317
46390
|
function updateCustomHead(headCode) {
|
|
@@ -47458,39 +47531,39 @@ breakpoint) {
|
|
|
47458
47531
|
return styles.getTarget('inner-container', undefined, viewport === 'mobile');
|
|
47459
47532
|
};
|
|
47460
47533
|
|
|
47461
|
-
var AddressLine1 = lazy(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
47462
|
-
var ButtonGroupField = lazy(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
47463
|
-
var CheckboxField = lazy(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
47534
|
+
var AddressLine1 = lazy(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.BcuiRv7L.js'); });
|
|
47535
|
+
var ButtonGroupField = lazy(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.DE3fEAl4.js'); });
|
|
47536
|
+
var CheckboxField = lazy(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.DAS7h09M.js'); });
|
|
47464
47537
|
var CheckboxGroupField = lazy(function () {
|
|
47465
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
47538
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.BlTczd9f.js');
|
|
47466
47539
|
});
|
|
47467
|
-
var ColorPickerField = lazy(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
47468
|
-
var CustomField = lazy(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
47540
|
+
var ColorPickerField = lazy(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.FXwX6-R-.js'); });
|
|
47541
|
+
var CustomField = lazy(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.BNYfMPtP.js'); });
|
|
47469
47542
|
var DateSelectorField = lazy(function () {
|
|
47470
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
47543
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.B3yyXgjw.js');
|
|
47471
47544
|
});
|
|
47472
|
-
var DropdownField = lazy(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
47545
|
+
var DropdownField = lazy(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.BHOEgj_J.js'); });
|
|
47473
47546
|
var DropdownMultiField = lazy(function () {
|
|
47474
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
47547
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.DQw3p27A.js');
|
|
47475
47548
|
});
|
|
47476
|
-
var FileUploadField = lazy(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
47477
|
-
var MatrixField = lazy(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
47478
|
-
var PasswordField = lazy(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
47549
|
+
var FileUploadField = lazy(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.CTKMi2rG.js'); });
|
|
47550
|
+
var MatrixField = lazy(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.CtYFxOlM.js'); });
|
|
47551
|
+
var PasswordField = lazy(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.BzvJX38E.js'); });
|
|
47479
47552
|
var PaymentMethodField = lazy(function () {
|
|
47480
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
47553
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.CjqJ8yIr.js');
|
|
47481
47554
|
});
|
|
47482
|
-
var PhoneField = lazy(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
47483
|
-
var PinInputField = lazy(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
47484
|
-
var QRScanner = lazy(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
47555
|
+
var PhoneField = lazy(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.CoZvVNqs.js'); });
|
|
47556
|
+
var PinInputField = lazy(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.BPrCG1DF.js'); });
|
|
47557
|
+
var QRScanner = lazy(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.pLuBEDzM.js'); });
|
|
47485
47558
|
var RadioButtonGroupField = lazy(function () {
|
|
47486
47559
|
return import(
|
|
47487
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
47560
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.CDrJFqsv.js');
|
|
47488
47561
|
});
|
|
47489
|
-
var RatingField = lazy(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
47490
|
-
var SignatureField = lazy(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
47491
|
-
var SliderField = lazy(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
47492
|
-
var TextField = lazy(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
47493
|
-
var TextArea = lazy(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
47562
|
+
var RatingField = lazy(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.BnuKisSC.js'); });
|
|
47563
|
+
var SignatureField = lazy(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.BBmBREM8.js'); });
|
|
47564
|
+
var SliderField = lazy(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.Bpe9va3I.js'); });
|
|
47565
|
+
var TextField = lazy(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.CkJMRFNl.js'); });
|
|
47566
|
+
var TextArea = lazy(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.C1G-XNqF.js'); });
|
|
47494
47567
|
var Fields = {
|
|
47495
47568
|
AddressLine1: AddressLine1,
|
|
47496
47569
|
ButtonGroupField: ButtonGroupField,
|
|
@@ -48430,7 +48503,7 @@ function ElementSkeleton(_a) {
|
|
|
48430
48503
|
}
|
|
48431
48504
|
var templateObject_1;
|
|
48432
48505
|
|
|
48433
|
-
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
48506
|
+
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.BOZNibb0.js'); });
|
|
48434
48507
|
var Basic = {
|
|
48435
48508
|
ImageElement: ImageElement,
|
|
48436
48509
|
VideoElement: VideoElement,
|
|
@@ -48727,4 +48800,4 @@ var Feathery = {
|
|
|
48727
48800
|
renderAt: renderAt
|
|
48728
48801
|
};
|
|
48729
48802
|
|
|
48730
|
-
export {
|
|
48803
|
+
export { strlen as $, API_URL as A, formatDateString as B, countryData as C, DROPDOWN_Z_INDEX as D, ErrorInput as E, Fragment as F, Global as G, stringify$2 as H, rulesheet as I, COMMENT as J, middleware as K, combine as L, match as M, serialize as N, copy as O, replace as P, MOZ as Q, RULESET as R, MS as S, KEYFRAMES as T, DECLARATION as U, dealloc as V, WEBKIT as W, alloc as X, hash as Y, charat as Z, __assign as _, jsxs as a, indexof as a0, next as a1, token as a2, from as a3, peek as a4, delimit as a5, slice as a6, position as a7, compile as a8, isEmptyArray as a9, updateUserId as aA, updateTheme as aB, setFieldValues as aC, getFieldValues as aD, renderAt as aE, LoginForm as aF, useAuthClient as aG, Feathery as aH, StyledContainer as aI, toList as aa, useThumbnailData as ab, downloadFile as ac, CloseIcon as ad, justRemove as ae, getStripe as af, filterKeys as ag, ERROR_COLOR as ah, authState as ai, firebaseSMSCountries as aj, phoneLibPromise as ak, isNum as al, loadQRScanner as am, throttle as an, qrPromise as ao, devicePixelRatio as ap, toBase64 as aq, MODAL_Z_INDEX as ar, dataURLToFile as as, cls as at, getFieldValue$1 as au, emailPatternStr as av, replaceTextVariables as aw, ReactForm as ax, Elements as ay, init as az, __read as b, fieldValues as c, __values as d, __spreadArray as e, featheryDoc as f, getDefaultExportFromCjs as g, hoverStylesGuard as h, initInfo as i, jsx$1 as j, iosScrollOnFocus as k, __awaiter$2 as l, __generator as m, FeatheryClient as n, debounce as o, imgMaxSizeStyles as p, noTextSelectStyles as q, resetStyles as r, stringifyWithNull as s, FORM_Z_INDEX as t, useBorder as u, featheryWindow as v, css as w, __makeTemplateObject as x, isMobile as y, __rest$1 as z };
|