@feathery/react 2.39.4 → 2.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/elements/components/QuikFormViewer/transforms/form.d.ts.map +1 -1
- package/cjs/{fthry_AssistantChat.DnWwYHQn.js → fthry_AssistantChat.G0rHUKOm.js} +4 -4
- package/cjs/{fthry_FormControl.CsTMtkK6.js → fthry_FormControl.BwRmM30S.js} +1 -1
- package/cjs/{fthry_InlineTooltip.C7AC8sKh.js → fthry_InlineTooltip.Bs529m1d.js} +2 -2
- package/cjs/{fthry_Overlay.CdKK4u2g.js → fthry_Overlay.ZvXimrP-.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.Bm2DR5ZM.js → fthry_PaymentMethodField.DN0v1YmF.js} +4 -4
- package/cjs/{fthry_Placeholder.CAlnRoL9.js → fthry_Placeholder.DzUdOE_N.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.y6CzT3OY.js → fthry_ShowEyeIcon.DFO9YO4y.js} +1 -1
- package/cjs/{fthry_highlighted-body-TPN3WLV5.B7_ff94b.js → fthry_highlighted-body-TPN3WLV5.CsHGvYhh.js} +3 -3
- package/cjs/{fthry_index.C6V-5sVJ.js → fthry_index.5LVTbVr2.js} +5 -5
- package/cjs/{fthry_index.Bf-r5Hyx.js → fthry_index.7bAdlgHy.js} +4 -4
- package/cjs/{fthry_index.0p5YTe6g.js → fthry_index.B9or_S6G.js} +1 -1
- package/cjs/{fthry_index.Bq5bNmC5.js → fthry_index.BMBD0adh.js} +1 -1
- package/cjs/{fthry_index.DgfUQV0p.js → fthry_index.BNB0x74A.js} +8 -8
- package/cjs/{fthry_index.CK11RRjf.js → fthry_index.BklL-aiD.js} +3 -3
- package/cjs/{fthry_index.BWebQH-E.js → fthry_index.C6yl7Ss-.js} +2 -2
- package/cjs/{fthry_index.vtzgpOYZ.js → fthry_index.CFYcuteU.js} +1 -1
- package/cjs/{fthry_index.rd6jbLis.js → fthry_index.CWX3sSB9.js} +1 -1
- package/cjs/{fthry_index.lwxn3wtK.js → fthry_index.CZQRzS7D.js} +160 -70
- package/cjs/{fthry_index.CEYVccUV.js → fthry_index.CbrD0Z53.js} +1 -1
- package/cjs/{fthry_index.CofFj5ER.js → fthry_index.CjepExAG.js} +1 -1
- package/cjs/{fthry_index.DvXrxU9b.js → fthry_index.Ctv-i1zI.js} +1 -1
- package/cjs/{fthry_index.DpKzKR1Y.js → fthry_index.D1XeJIsf.js} +6 -6
- package/cjs/{fthry_index.CY4QhZTQ.js → fthry_index.D4mJgW_c.js} +1 -1
- package/cjs/{fthry_index.NqLsD4p5.js → fthry_index.D6kp7W7I.js} +2 -2
- package/cjs/{fthry_index.CuKuHOLx.js → fthry_index.D9dmRskb.js} +6 -6
- package/cjs/{fthry_index.BJnsdnO7.js → fthry_index.Dmq9NSJd.js} +5 -5
- package/cjs/{fthry_index.B4qFJMWZ.js → fthry_index.DrOeHAs6.js} +5 -5
- package/cjs/{fthry_index.B0nu8Nbi.js → fthry_index.LTo4dKdb.js} +5 -5
- package/cjs/{fthry_index.CLoBO1ES.js → fthry_index.PbjPJIUk.js} +1 -1
- package/cjs/{fthry_index.Dw8XsWmo.js → fthry_index.SdAzmwen.js} +4 -4
- package/cjs/{fthry_index.DAifQRmo.js → fthry_index.koqHLxjW.js} +3 -3
- package/cjs/{fthry_index.DsHYiGx7.js → fthry_index.lGyEnbOI.js} +6 -6
- package/cjs/{fthry_index.Jn-fry1W.js → fthry_index.wKZXS8Pf.js} +6 -6
- package/cjs/{fthry_input.CR_ydNbL.js → fthry_input.C5hU8qoU.js} +1 -1
- package/cjs/{fthry_mermaid-O7DHMXV3.DD6KKcMU.js → fthry_mermaid-O7DHMXV3.CwUNhDAv.js} +3 -3
- package/cjs/{fthry_script.EDJ1t7HJ.js → fthry_script.CXV8Wb7h.js} +1 -1
- package/cjs/{fthry_styles.rCHJiVa8.js → fthry_styles.CR0dqh6j.js} +1 -1
- package/cjs/{fthry_useElementSize.DLBCwcXn.js → fthry_useElementSize.CNPWGju4.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.2JVcfRRm.js → fthry_useSalesforceSync.7E9m_hhF.js} +1 -1
- package/cjs/{fthry_webfontloader.DczITgMn.js → fthry_webfontloader.DccGtWsq.js} +1 -1
- package/cjs/index.js +1 -1
- package/cjs/utils/featheryClient/integrationClient.d.ts.map +1 -1
- package/dist/elements/components/QuikFormViewer/transforms/form.d.ts.map +1 -1
- package/dist/{fthry_AssistantChat.DyxRadsO.js → fthry_AssistantChat.C4E2R_en.js} +4 -4
- package/dist/{fthry_FormControl.DW-PzCTD.js → fthry_FormControl.BaRwUrV1.js} +1 -1
- package/dist/{fthry_InlineTooltip.DH0_bhWT.js → fthry_InlineTooltip.Du40UlbF.js} +2 -2
- package/dist/{fthry_Overlay.B-EoMj6i.js → fthry_Overlay.D_sj8sym.js} +1 -1
- package/dist/{fthry_PaymentMethodField.4z01I9c2.js → fthry_PaymentMethodField.mzXuSQ8R.js} +4 -4
- package/dist/{fthry_Placeholder.CsEb_0jP.js → fthry_Placeholder.CeQnc05Z.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.CY7vkrxH.js → fthry_ShowEyeIcon.C0yRQ198.js} +1 -1
- package/dist/{fthry_highlighted-body-TPN3WLV5.WhfSZUph.js → fthry_highlighted-body-TPN3WLV5.BH1ZC9h3.js} +3 -3
- package/dist/{fthry_index.BBN9ErVH.js → fthry_index.2cm5TGLE.js} +3 -3
- package/dist/{fthry_index.D-taV-bR.js → fthry_index.9s5SUZD0.js} +2 -2
- package/dist/{fthry_index.CRN7fgaA.js → fthry_index.BAW36YGO.js} +3 -3
- package/dist/{fthry_index.DZHccCmm.js → fthry_index.BJL5DUFv.js} +1 -1
- package/dist/{fthry_index.DPzStrPv.js → fthry_index.BS0y_3jr.js} +5 -5
- package/dist/{fthry_index.DOusftvr.js → fthry_index.B_kkxOWT.js} +1 -1
- package/dist/{fthry_index.BcuhnRVe.js → fthry_index.Bhle2u_B.js} +5 -5
- package/dist/{fthry_index.C5s-ri9w.js → fthry_index.Bi9j2CoL.js} +6 -6
- package/dist/{fthry_index.TGIOgm1P.js → fthry_index.CFui_RpS.js} +1 -1
- package/dist/{fthry_index.DJW01HJc.js → fthry_index.CSfhoU0u.js} +1 -1
- package/dist/{fthry_index.DT5K1q45.js → fthry_index.D2-8ZRpd.js} +6 -6
- package/dist/{fthry_index.C4i92P7n.js → fthry_index.D74y6OAR.js} +5 -5
- package/dist/{fthry_index.CWQ5TF9P.js → fthry_index.DEOA055J.js} +1 -1
- package/dist/{fthry_index.DcJaXrNb.js → fthry_index.Dhg5xJ4s.js} +5 -5
- package/dist/{fthry_index.CuSdRZlr.js → fthry_index.Dib6rza_.js} +2 -2
- package/dist/{fthry_index.BGbb010x.js → fthry_index.DjZQBlTA.js} +1 -1
- package/dist/{fthry_index.BxdW5LSK.js → fthry_index.DoLCpn8f.js} +5 -5
- package/dist/{fthry_index.CaLdEUIs.js → fthry_index.DukxIF0D.js} +1 -1
- package/dist/{fthry_index.dEOj4jGg.js → fthry_index.DylkcojM.js} +4 -4
- package/dist/{fthry_index.YBkOgnF3.js → fthry_index.GJ441VFD.js} +8 -8
- package/dist/{fthry_index.BTDPz6lF.js → fthry_index.Km475eeC.js} +6 -6
- package/dist/{fthry_index.D-yMY95w.js → fthry_index.Ky-g0bWJ.js} +1 -1
- package/dist/{fthry_index.9cP9rowY.js → fthry_index.Qya_gJCa.js} +4 -4
- package/dist/{fthry_index.CMIcXXN7.js → fthry_index.Y8uCPyI1.js} +1 -1
- package/dist/{fthry_index.DvCeSc1i.js → fthry_index.xIaUS4wo.js} +160 -70
- package/dist/{fthry_input.CYfy5c88.js → fthry_input.BUZxnbfK.js} +1 -1
- package/dist/{fthry_mermaid-O7DHMXV3.B07qWrrr.js → fthry_mermaid-O7DHMXV3.C8qNyDC8.js} +3 -3
- package/dist/{fthry_script.COjfzI9f.js → fthry_script.CHlON7tM.js} +1 -1
- package/dist/{fthry_styles.B0A-Aezb.js → fthry_styles.CRruZ5I3.js} +1 -1
- package/dist/{fthry_useElementSize.D_HDphFt.js → fthry_useElementSize.DyfzVGG2.js} +1 -1
- package/dist/{fthry_useSalesforceSync.DlGyAqqs.js → fthry_useSalesforceSync.YGkWXJ1l.js} +1 -1
- package/dist/{fthry_webfontloader.z0J580qI.js → fthry_webfontloader.DVyqdvKt.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/featheryClient/integrationClient.d.ts.map +1 -1
- package/package.json +1 -1
- package/umd/index.js +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a1 as stringify, a2 as rulesheet, a3 as COMMENT, a4 as middleware, a5 as RULESET, a6 as combine, a7 as match, a8 as serialize, a9 as copy, aa as replace, ab as WEBKIT, ac as MOZ, ad as MS, ae as KEYFRAMES, af as DECLARATION, ag as dealloc, ah as alloc, ai as hash, aj as charat, ak as strlen, al as indexof, am as next, an as token, ao as from, ap as peek, aq as delimit, ar as slice, as as position, at as compile, a as jsx$1, _ as __assign, j as jsxs, q as Fragment$1, k as __rest, c as __read, F as FORM_Z_INDEX, p as featheryWindow, t as featheryDoc, L as __spreadArray, U as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { a1 as stringify, a2 as rulesheet, a3 as COMMENT, a4 as middleware, a5 as RULESET, a6 as combine, a7 as match, a8 as serialize, a9 as copy, aa as replace, ab as WEBKIT, ac as MOZ, ad as MS, ae as KEYFRAMES, af as DECLARATION, ag as dealloc, ah as alloc, ai as hash, aj as charat, ak as strlen, al as indexof, am as next, an as token, ao as from, ap as peek, aq as delimit, ar as slice, as as position, at as compile, a as jsx$1, _ as __assign, j as jsxs, q as Fragment$1, k as __rest, c as __read, F as FORM_Z_INDEX, p as featheryWindow, t as featheryDoc, L as __spreadArray, U as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.xIaUS4wo.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { useState, useCallback, forwardRef, useContext, useLayoutEffect, useEffect, createContext, useRef, useMemo, Component, Fragment } from 'react';
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { P as Placeholder$2 } from './fthry_Placeholder.
|
|
6
|
-
import { u as useSalesforceSync } from './fthry_useSalesforceSync.
|
|
7
|
-
import { T as Tooltip, O as Overlay } from './fthry_Overlay.
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.Du40UlbF.js';
|
|
5
|
+
import { P as Placeholder$2 } from './fthry_Placeholder.CeQnc05Z.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.YGkWXJ1l.js';
|
|
7
|
+
import { T as Tooltip, O as Overlay } from './fthry_Overlay.D_sj8sym.js';
|
|
8
8
|
import { createPortal } from 'react-dom';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'react-dom/client';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { u as useBorder, c as __read, a as jsx, _ as __assign, d as countryData, f as fieldValues, j as jsxs, h as hoverStylesGuard, e as css, g as __makeTemplateObject, G as Global, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { u as useBorder, c as __read, a as jsx, _ as __assign, d as countryData, f as fieldValues, j as jsxs, h as hoverStylesGuard, e as css, g as __makeTemplateObject, G as Global, b as iosScrollOnFocus, r as resetStyles } from './fthry_index.xIaUS4wo.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.Du40UlbF.js';
|
|
4
|
+
import { h as hasState, g as getStateOptions } from './fthry_index.CSfhoU0u.js';
|
|
5
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.YGkWXJ1l.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import 'react-dom/client';
|
|
8
8
|
import 'jszip';
|
|
9
9
|
import 'react-dom';
|
|
10
|
-
import './fthry_Overlay.
|
|
10
|
+
import './fthry_Overlay.D_sj8sym.js';
|
|
11
11
|
|
|
12
12
|
function DropdownField(_a) {
|
|
13
13
|
var _b, _c, _d;
|
|
@@ -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.xIaUS4wo.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.CRruZ5I3.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -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.xIaUS4wo.js';
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { u as useBorder, c as __read, j as jsxs, _ as __assign, h as hoverStylesGuard, a as jsx, b as iosScrollOnFocus, F as FORM_Z_INDEX, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { u as useBorder, c as __read, j as jsxs, _ as __assign, h as hoverStylesGuard, a as jsx, b as iosScrollOnFocus, F as FORM_Z_INDEX, r as resetStyles } from './fthry_index.xIaUS4wo.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.CeQnc05Z.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.Du40UlbF.js';
|
|
5
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.C0yRQ198.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import 'react-dom/client';
|
|
8
8
|
import 'jszip';
|
|
9
9
|
import 'react-dom';
|
|
10
|
-
import './fthry_Overlay.
|
|
10
|
+
import './fthry_Overlay.D_sj8sym.js';
|
|
11
11
|
|
|
12
12
|
function PasswordField(_a) {
|
|
13
13
|
var _b;
|
|
@@ -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.xIaUS4wo.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,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.xIaUS4wo.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.CeQnc05Z.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.Du40UlbF.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.D_sj8sym.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,16 +1,16 @@
|
|
|
1
|
-
import { j as jsxs, _ as __assign, a as jsx, D as DROPDOWN_Z_INDEX, c as __read, u as useBorder, y as getFieldValue, z as stringifyWithNull, h as hoverStylesGuard, b as iosScrollOnFocus, F as FORM_Z_INDEX, r as resetStyles, A as emailPatternStr } from './fthry_index.
|
|
1
|
+
import { j as jsxs, _ as __assign, a as jsx, D as DROPDOWN_Z_INDEX, c as __read, u as useBorder, y as getFieldValue, z as stringifyWithNull, h as hoverStylesGuard, b as iosScrollOnFocus, F as FORM_Z_INDEX, r as resetStyles, A as emailPatternStr } from './fthry_index.xIaUS4wo.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 { I as IMaskInput } from './fthry_input.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.CeQnc05Z.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.Du40UlbF.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.D_sj8sym.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.DyfzVGG2.js';
|
|
7
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.C0yRQ198.js';
|
|
8
|
+
import { I as IMaskInput } from './fthry_input.BUZxnbfK.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.DEOA055J.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,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.xIaUS4wo.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.BaRwUrV1.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.Y8uCPyI1.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.Du40UlbF.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.YGkWXJ1l.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.D_sj8sym.js';
|
|
12
12
|
|
|
13
13
|
var applyCheckboxGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('checkboxGroup');
|
|
@@ -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.xIaUS4wo.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 { 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.xIaUS4wo.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.Du40UlbF.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.YGkWXJ1l.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.D_sj8sym.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 { _ as __assign, h as hoverStylesGuard, j as jsxs, a as jsx, b as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { _ as __assign, h as hoverStylesGuard, j as jsxs, a as jsx, b as iosScrollOnFocus } from './fthry_index.xIaUS4wo.js';
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -8687,6 +8687,63 @@ var TYPE_MESSAGES_TO_IGNORE = [
|
|
|
8687
8687
|
// e.g. https://sentry.io/organizations/feathery-forms/issues/3529742129/
|
|
8688
8688
|
'Load failed'
|
|
8689
8689
|
];
|
|
8690
|
+
var QUIK_DYNAMIC_ATTACHMENTS_OPTION = '__quik_dynamic_attachments__';
|
|
8691
|
+
var getQuikAttachmentPosition = function (position) {
|
|
8692
|
+
return position === 'before' ? 'before' : 'after';
|
|
8693
|
+
};
|
|
8694
|
+
var isQuikDynamicAttachmentId = function (id) {
|
|
8695
|
+
return typeof id === 'string' &&
|
|
8696
|
+
(id === QUIK_DYNAMIC_ATTACHMENTS_OPTION ||
|
|
8697
|
+
id.startsWith("".concat(QUIK_DYNAMIC_ATTACHMENTS_OPTION, ":")));
|
|
8698
|
+
};
|
|
8699
|
+
var normalizeConfiguredQuikAttachments = function (value, getDynamicAttachmentIds) {
|
|
8700
|
+
if (getDynamicAttachmentIds === void 0) { getDynamicAttachmentIds = function () { return []; }; }
|
|
8701
|
+
if (value == null || value === '')
|
|
8702
|
+
return [];
|
|
8703
|
+
// Builder config stores attachment rows as a list. Normalize a list or single
|
|
8704
|
+
// row into one flat attachment list so runtime consumers get one shape.
|
|
8705
|
+
if (Array.isArray(value)) {
|
|
8706
|
+
return value.flatMap(function (attachment) {
|
|
8707
|
+
return normalizeConfiguredQuikAttachments(attachment, getDynamicAttachmentIds);
|
|
8708
|
+
});
|
|
8709
|
+
}
|
|
8710
|
+
if (typeof value === 'object') {
|
|
8711
|
+
var id = value.id;
|
|
8712
|
+
if (!id && !value.field_key)
|
|
8713
|
+
return [];
|
|
8714
|
+
// Dynamic rows are builder-configured placeholders. The hidden field
|
|
8715
|
+
// supplies only doc IDs; placement comes from this row's before/after slot.
|
|
8716
|
+
if (isQuikDynamicAttachmentId(id) || value.field_key) {
|
|
8717
|
+
return getDynamicAttachmentIds(value).map(function (attachmentId) { return ({
|
|
8718
|
+
id: attachmentId,
|
|
8719
|
+
position: getQuikAttachmentPosition(value.position)
|
|
8720
|
+
}); });
|
|
8721
|
+
}
|
|
8722
|
+
var attachment = { id: id };
|
|
8723
|
+
if (['before', 'after'].includes(value.position)) {
|
|
8724
|
+
attachment.position = value.position;
|
|
8725
|
+
}
|
|
8726
|
+
return [attachment];
|
|
8727
|
+
}
|
|
8728
|
+
return [];
|
|
8729
|
+
};
|
|
8730
|
+
var normalizeDynamicQuikAttachmentIds = function (value) {
|
|
8731
|
+
if (!Array.isArray(value))
|
|
8732
|
+
return [];
|
|
8733
|
+
// Dynamic hidden fields intentionally support only string ID arrays.
|
|
8734
|
+
// Invalid values are ignored instead of treated as attachment config.
|
|
8735
|
+
return value
|
|
8736
|
+
.filter(function (id) { return typeof id === 'string'; })
|
|
8737
|
+
.map(function (id) { return id.trim(); })
|
|
8738
|
+
.filter(Boolean);
|
|
8739
|
+
};
|
|
8740
|
+
var resolveQuikAttachments = function (action) {
|
|
8741
|
+
var getDynamicAttachmentIds = function (attachment) {
|
|
8742
|
+
if (attachment === void 0) { attachment = {}; }
|
|
8743
|
+
return normalizeDynamicQuikAttachmentIds(fieldValues[attachment.field_key]);
|
|
8744
|
+
};
|
|
8745
|
+
return normalizeConfiguredQuikAttachments(action.attachments, getDynamicAttachmentIds);
|
|
8746
|
+
};
|
|
8690
8747
|
// THIRD-PARTY INTEGRATIONS
|
|
8691
8748
|
var IntegrationClient = /** @class */ (function () {
|
|
8692
8749
|
function IntegrationClient(formKey, ignoreNetworkErrors, draft, bypassCDN) {
|
|
@@ -9224,7 +9281,7 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
9224
9281
|
};
|
|
9225
9282
|
IntegrationClient.prototype.generateQuikEnvelopes = function (action) {
|
|
9226
9283
|
return __awaiter$2(this, void 0, void 0, function () {
|
|
9227
|
-
var _a, userId, sdkKey, tags, fieldVal;
|
|
9284
|
+
var _a, userId, sdkKey, tags, fieldVal, resolvedAction;
|
|
9228
9285
|
return __generator(this, function (_b) {
|
|
9229
9286
|
switch (_b.label) {
|
|
9230
9287
|
case 0:
|
|
@@ -9242,10 +9299,11 @@ var IntegrationClient = /** @class */ (function () {
|
|
|
9242
9299
|
tags = [JSON.stringify(fieldVal)];
|
|
9243
9300
|
}
|
|
9244
9301
|
}
|
|
9302
|
+
resolvedAction = __assign(__assign({}, action), { attachments: resolveQuikAttachments(action) });
|
|
9245
9303
|
return [4 /*yield*/, distExports$2.generateQuikEnvelopes({
|
|
9246
9304
|
sdkKey: sdkKey,
|
|
9247
9305
|
formId: this.formKey,
|
|
9248
|
-
action:
|
|
9306
|
+
action: resolvedAction,
|
|
9249
9307
|
userId: userId,
|
|
9250
9308
|
tags: tags,
|
|
9251
9309
|
checkInterval: this.QUIK_CHECK_INTERVAL,
|
|
@@ -23646,7 +23704,20 @@ function generateHeaderElement(doc, inline) {
|
|
|
23646
23704
|
return newHeader;
|
|
23647
23705
|
}
|
|
23648
23706
|
|
|
23649
|
-
var FORM_STYLES = "\n #QFVFormPage {\n display: flex;\n flex: 1;\n flex-direction: column;\n width: 100%;\n margin: 0 auto;\n }\n #wrapper {\n position: static;\n background: #f6f7fa;\n overflow: auto;\n width: 100% !important;\n height: 100%;\n }\n #scroller {\n width: auto;\n position: static;\n max-width: 1000px;\n margin: 0 auto;\n background: none !important;\n }\n\n #QFVPageList {\n position: relative;\n border: none !important;\n }\n\n #QFVPageList li {\n position: relative;\n margin: 5% 15pt;\n border: none !important;\n box-shadow: 0px 1.05px 5.27px 0px #23254340;\n border-radius: 8px;\n overflow: hidden;\n }\n\n #QFVPageList li > div {\n
|
|
23707
|
+
var FORM_STYLES = "\n #QFVFormPage {\n display: flex;\n flex: 1;\n flex-direction: column;\n width: 100%;\n margin: 0 auto;\n }\n #wrapper {\n position: static;\n background: #f6f7fa;\n overflow: auto;\n width: 100% !important;\n height: 100%;\n }\n #scroller {\n width: auto;\n position: static;\n max-width: 1000px;\n margin: 0 auto;\n background: none !important;\n }\n\n #QFVPageList {\n position: relative;\n border: none !important;\n }\n\n /*\n * Each <li> is the responsive \"card\". Its aspect-ratio (set inline per page\n * from the page's pt dimensions) reserves the correct height as the column\n * width changes, since the scaled page below does not contribute layout size.\n */\n #QFVPageList li {\n position: relative;\n margin: 5% 15pt;\n border: none !important;\n box-shadow: 0px 1.05px 5.27px 0px #23254340;\n border-radius: 8px;\n overflow: hidden;\n }\n\n /*\n * The page itself stays at its natural pt size and is scaled to fill the card\n * with a single uniform transform. Because the page image and every overlay\n * live in this one rigid coordinate space, they scale together and cannot\n * drift relative to each other at any width. --quik-page-scale is set per\n * page by the injected ResizeObserver (see PAGE_SCALE_SCRIPT).\n */\n #QFVPageList li > div {\n position: absolute;\n top: 0;\n left: 0;\n transform-origin: top left;\n transform: scale(var(--quik-page-scale, 1));\n }\n\n #QFVPageList li > div > div {\n background: none !important;\n }\n\n #QFVPageList li > div > div > img {\n width: 100% !important;\n display: block !important;\n }\n\n /*\n * Overlay inputs are sized in pt that already account for their padding and\n * border (the source renders them border-box via its external CSS/JS, which\n * does not run inside this restructured iframe). Force border-box so the pt\n * width/height is the rendered box \u2014 otherwise content-box adds padding +\n * border on top and the boxes render too large, most visibly in height.\n */\n #QFVPageList input,\n #QFVPageList textarea,\n #QFVPageList select,\n #QFVPageList label {\n box-sizing: border-box !important;\n }\n\n .input-label {\n border: none !important;\n }\n\n #QFVPageList .input-label > span {\n width: 100% !important;\n aspect-ratio: 1 / 1;\n height: auto !important;\n background-size: contain;\n }\n";
|
|
23708
|
+
/**
|
|
23709
|
+
* Left inset (in pt) that every overlay's source 'left' carries relative to the
|
|
23710
|
+
* page-width basis. Subtracted from all elements so inputs align with the page
|
|
23711
|
+
* image the same way labels already did.
|
|
23712
|
+
*/
|
|
23713
|
+
var PAGE_LEFT_OFFSET_PT = 2;
|
|
23714
|
+
/**
|
|
23715
|
+
* Per-page top inset (in pt) baked into the source coordinate system: each page
|
|
23716
|
+
* contributes a 2px (= 1.5pt at 96dpi) top border, so page N's origin is
|
|
23717
|
+
* `1.5 + N * (pageHeight + 1.5)`. Confirmed empirically — before this offset the
|
|
23718
|
+
* residual vertical drift was exactly 1.5pt × (pageIndex + 1).
|
|
23719
|
+
*/
|
|
23720
|
+
var PAGE_TOP_GAP_PT = 1.5;
|
|
23650
23721
|
/**
|
|
23651
23722
|
* Parses a CSS style value (e.g., "123pt" or "calc(2*456pt)") and returns the numerical value in 'pt'.
|
|
23652
23723
|
* This function handles simple 'pt' values and 'calc()' expressions by using a safe evaluation.
|
|
@@ -23657,60 +23728,65 @@ function parsePtValue(styleValue) {
|
|
|
23657
23728
|
return styleValue ? parseFloat(styleValue.replace('pt', '')) : 0;
|
|
23658
23729
|
}
|
|
23659
23730
|
/**
|
|
23660
|
-
*
|
|
23661
|
-
*
|
|
23731
|
+
* Makes the Quik document responsive by localizing each overlay onto its page
|
|
23732
|
+
* (in native `pt`) and scaling each page as a single rigid unit to fill its
|
|
23733
|
+
* responsive container.
|
|
23662
23734
|
*
|
|
23663
|
-
*
|
|
23664
|
-
*
|
|
23665
|
-
*
|
|
23666
|
-
*
|
|
23667
|
-
*
|
|
23735
|
+
* The source HTML positions every overlay absolutely against one document-wide
|
|
23736
|
+
* container, so coordinates are cumulative across pages and page dimensions are
|
|
23737
|
+
* declared in `pt`. Rather than re-deriving per-axis percentages (which couples
|
|
23738
|
+
* alignment to containing-block and box-model behavior), this keeps the page's
|
|
23739
|
+
* exact coordinate space intact and applies a uniform CSS transform, so the
|
|
23740
|
+
* page image and its overlays can never drift relative to one another.
|
|
23668
23741
|
*
|
|
23669
23742
|
* @param doc The document object to manipulate.
|
|
23670
23743
|
*/
|
|
23671
23744
|
function repositionFormInputs(doc) {
|
|
23672
|
-
|
|
23745
|
+
// Overlays are absolutely positioned against a single document-wide container
|
|
23746
|
+
// (#scroller in the source), so their `top` values are cumulative across all
|
|
23747
|
+
// pages. Each page contributes its height plus a 2px (1.5pt) top border, so
|
|
23748
|
+
// the running origin starts at one border and grows by height + border.
|
|
23749
|
+
var pageOffsetPt = PAGE_TOP_GAP_PT;
|
|
23673
23750
|
var pages = doc.querySelectorAll('#QFVPageList > li > div');
|
|
23674
23751
|
pages.forEach(function (page) {
|
|
23675
|
-
// Dynamically get the page's dimensions from its style attribute.
|
|
23676
23752
|
var pageWidthPt = parsePtValue(page.style.width);
|
|
23677
23753
|
var pageHeightPt = parsePtValue(page.style.height);
|
|
23678
23754
|
if (pageWidthPt === 0 || pageHeightPt === 0) {
|
|
23679
23755
|
console.error('Could not determine page dimensions from style attribute:', page);
|
|
23680
|
-
|
|
23756
|
+
// Still advance the cumulative origin so later pages stay in sync.
|
|
23757
|
+
pageOffsetPt += pageHeightPt + PAGE_TOP_GAP_PT;
|
|
23758
|
+
return;
|
|
23681
23759
|
}
|
|
23682
|
-
//
|
|
23683
|
-
|
|
23684
|
-
|
|
23685
|
-
|
|
23686
|
-
|
|
23687
|
-
|
|
23688
|
-
|
|
23689
|
-
|
|
23690
|
-
|
|
23691
|
-
|
|
23692
|
-
|
|
23693
|
-
|
|
23694
|
-
|
|
23695
|
-
|
|
23696
|
-
|
|
23697
|
-
|
|
23698
|
-
|
|
23699
|
-
|
|
23700
|
-
var newWidthPercent = (currentWidthPt / pageWidthPt) * 100;
|
|
23701
|
-
var newHeightPercent = (currentHeightPt / pageHeightPt) * 100;
|
|
23702
|
-
// Update the element's style with percentage values.
|
|
23703
|
-
style.top = "".concat(newTopPercent.toFixed(2), "%");
|
|
23704
|
-
style.left = "".concat(newLeftPercent.toFixed(2), "%");
|
|
23705
|
-
style.width = "".concat(newWidthPercent.toFixed(2), "%");
|
|
23706
|
-
style.height = "".concat(newHeightPercent.toFixed(2), "%");
|
|
23707
|
-
if (element.tagName === 'LABEL') {
|
|
23708
|
-
element.className = "input-label ".concat(element.className);
|
|
23709
|
-
}
|
|
23760
|
+
// Localize each overlay from the document-wide cumulative coordinate system
|
|
23761
|
+
// onto this page, keeping native pt units. The whole page is scaled as one
|
|
23762
|
+
// rigid unit (see below), so overlays cannot drift relative to the image.
|
|
23763
|
+
Array.from(page.children).forEach(function (element) {
|
|
23764
|
+
if (!(element instanceof HTMLElement))
|
|
23765
|
+
return;
|
|
23766
|
+
// The page image fills the page box; leave it at its natural size.
|
|
23767
|
+
if (element.tagName === 'IMG' || element.querySelector('img'))
|
|
23768
|
+
return;
|
|
23769
|
+
var localTopPt = parsePtValue(element.style.top) - pageOffsetPt;
|
|
23770
|
+
// The source 'left' carries a small (~2pt) inset relative to the page
|
|
23771
|
+
// image's left edge; remove it so overlays sit on the artwork.
|
|
23772
|
+
var localLeftPt = parsePtValue(element.style.left) - PAGE_LEFT_OFFSET_PT;
|
|
23773
|
+
element.style.top = "".concat(localTopPt, "pt");
|
|
23774
|
+
element.style.left = "".concat(localLeftPt, "pt");
|
|
23775
|
+
// width/height stay in their native pt units and scale with the page.
|
|
23776
|
+
if (element.tagName === 'LABEL') {
|
|
23777
|
+
element.className = "input-label ".concat(element.className);
|
|
23710
23778
|
}
|
|
23711
23779
|
});
|
|
23712
|
-
//
|
|
23713
|
-
|
|
23780
|
+
// Pin the page to its natural pt size; the injected ResizeObserver scales it
|
|
23781
|
+
// (via --quik-page-scale) to fill the responsive <li> card. The <li> gets
|
|
23782
|
+
// the matching aspect-ratio so it reserves the correct layout height.
|
|
23783
|
+
page.style.width = "".concat(pageWidthPt, "pt");
|
|
23784
|
+
page.style.height = "".concat(pageHeightPt, "pt");
|
|
23785
|
+
page.dataset.quikPageWidthPt = "".concat(pageWidthPt);
|
|
23786
|
+
var li = page.parentElement;
|
|
23787
|
+
if (li)
|
|
23788
|
+
li.style.aspectRatio = "".concat(pageWidthPt, " / ").concat(pageHeightPt);
|
|
23789
|
+
pageOffsetPt += pageHeightPt + PAGE_TOP_GAP_PT;
|
|
23714
23790
|
});
|
|
23715
23791
|
}
|
|
23716
23792
|
function generateFormElement(doc) {
|
|
@@ -23721,12 +23797,26 @@ function generateFormElement(doc) {
|
|
|
23721
23797
|
}
|
|
23722
23798
|
repositionFormInputs(doc);
|
|
23723
23799
|
injectFormStyles(doc);
|
|
23800
|
+
injectPageScaleScript(doc);
|
|
23724
23801
|
return form;
|
|
23725
23802
|
}
|
|
23726
23803
|
function injectFormStyles(doc) {
|
|
23727
23804
|
var customFormStyle = doc.createElement('style');
|
|
23728
23805
|
customFormStyle.innerHTML = FORM_STYLES;
|
|
23729
23806
|
doc.head.appendChild(customFormStyle);
|
|
23807
|
+
}
|
|
23808
|
+
/** Points-to-pixels factor at 96dpi (CSS reference pixel: 96px === 72pt). */
|
|
23809
|
+
var PT_TO_PX = 96 / 72;
|
|
23810
|
+
/**
|
|
23811
|
+
* Sets each page's --quik-page-scale so its natural pt width fills the
|
|
23812
|
+
* responsive <li> card, and keeps it updated on resize. Runs inside the form
|
|
23813
|
+
* iframe. Kept dependency-free and ES5-safe since it executes verbatim there.
|
|
23814
|
+
*/
|
|
23815
|
+
var PAGE_SCALE_SCRIPT = "\n(function () {\n var PT_TO_PX = ".concat(PT_TO_PX, ";\n function applyScale() {\n var pages = document.querySelectorAll(\n '#QFVPageList > li > div[data-quik-page-width-pt]'\n );\n for (var i = 0; i < pages.length; i++) {\n var page = pages[i];\n var li = page.parentElement;\n if (!li) continue;\n var widthPt = parseFloat(page.getAttribute('data-quik-page-width-pt'));\n if (!widthPt) continue;\n var naturalPx = widthPt * PT_TO_PX;\n var scale = li.clientWidth / naturalPx;\n if (scale > 0 && isFinite(scale)) {\n page.style.setProperty('--quik-page-scale', String(scale));\n }\n }\n }\n if (document.readyState === 'loading') {\n document.addEventListener('DOMContentLoaded', applyScale);\n } else {\n applyScale();\n }\n window.addEventListener('resize', applyScale);\n if (typeof ResizeObserver !== 'undefined') {\n var list = document.querySelector('#QFVPageList');\n if (list) new ResizeObserver(applyScale).observe(list);\n }\n})();\n");
|
|
23816
|
+
function injectPageScaleScript(doc) {
|
|
23817
|
+
var script = doc.createElement('script');
|
|
23818
|
+
script.textContent = PAGE_SCALE_SCRIPT;
|
|
23819
|
+
doc.body.appendChild(script);
|
|
23730
23820
|
}
|
|
23731
23821
|
|
|
23732
23822
|
var SIDEBAR_WIDTH = '200px';
|
|
@@ -40891,7 +40981,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
|
|
|
40891
40981
|
}, [activeStep, stepKey, formName]);
|
|
40892
40982
|
}
|
|
40893
40983
|
|
|
40894
|
-
var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.
|
|
40984
|
+
var LazyAssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_AssistantChat.C4E2R_en.js').then(function (n) { return n.A; }); });
|
|
40895
40985
|
var AssistantChat = function (props) { return (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(LazyAssistantChat, __assign({}, props)) }))); };
|
|
40896
40986
|
|
|
40897
40987
|
var AssistantClient = /** @class */ (function () {
|
|
@@ -47497,9 +47587,9 @@ function init(sdkKey, options) {
|
|
|
47497
47587
|
if (runningInClient()) {
|
|
47498
47588
|
// Dynamically load libraries that must be client side
|
|
47499
47589
|
global.scriptjsLoadPromise = import(
|
|
47500
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
47590
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.CHlON7tM.js').then(function (n) { return n.s; });
|
|
47501
47591
|
global.webfontloaderPromise = import(
|
|
47502
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
47592
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DVyqdvKt.js').then(function (n) { return n.w; });
|
|
47503
47593
|
// Client-side tracking logic
|
|
47504
47594
|
if (initState.userTracking === 'cookie') {
|
|
47505
47595
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -47645,7 +47735,7 @@ function getFieldValues() {
|
|
|
47645
47735
|
return __assign({}, fieldValues);
|
|
47646
47736
|
}
|
|
47647
47737
|
function logFeatheryBadge() {
|
|
47648
|
-
console.log('%c Feathery %c v' + "2.
|
|
47738
|
+
console.log('%c Feathery %c v' + "2.40.0" + ' ', // replaced with real version during build
|
|
47649
47739
|
'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;');
|
|
47650
47740
|
}
|
|
47651
47741
|
|
|
@@ -49160,64 +49250,64 @@ breakpoint) {
|
|
|
49160
49250
|
|
|
49161
49251
|
var fieldLoaders = {
|
|
49162
49252
|
AddressLine1: function () {
|
|
49163
|
-
return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
49253
|
+
return import(/* webpackChunkName: "AddressField" */ './fthry_index.Bhle2u_B.js');
|
|
49164
49254
|
},
|
|
49165
49255
|
ButtonGroupField: function () {
|
|
49166
|
-
return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
49256
|
+
return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.Qya_gJCa.js');
|
|
49167
49257
|
},
|
|
49168
49258
|
CheckboxField: function () {
|
|
49169
|
-
return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
49259
|
+
return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.Y8uCPyI1.js');
|
|
49170
49260
|
},
|
|
49171
49261
|
CheckboxGroupField: function () {
|
|
49172
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
49262
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.Km475eeC.js');
|
|
49173
49263
|
},
|
|
49174
49264
|
ColorPickerField: function () {
|
|
49175
|
-
return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
49265
|
+
return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.DukxIF0D.js');
|
|
49176
49266
|
},
|
|
49177
49267
|
CustomField: function () {
|
|
49178
|
-
return import(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
49268
|
+
return import(/* webpackChunkName: "CustomField" */ './fthry_index.BJL5DUFv.js');
|
|
49179
49269
|
},
|
|
49180
49270
|
DateSelectorField: function () {
|
|
49181
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
49271
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.Bi9j2CoL.js');
|
|
49182
49272
|
},
|
|
49183
49273
|
DropdownField: function () {
|
|
49184
|
-
return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
49274
|
+
return import(/* webpackChunkName: "DropdownField" */ './fthry_index.Dhg5xJ4s.js');
|
|
49185
49275
|
},
|
|
49186
49276
|
DropdownMultiField: function () {
|
|
49187
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
49277
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.D74y6OAR.js');
|
|
49188
49278
|
},
|
|
49189
49279
|
FileUploadField: function () {
|
|
49190
|
-
return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
49280
|
+
return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.Ky-g0bWJ.js');
|
|
49191
49281
|
},
|
|
49192
49282
|
MatrixField: function () {
|
|
49193
|
-
return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
49283
|
+
return import(/* webpackChunkName: "MatrixField" */ './fthry_index.2cm5TGLE.js');
|
|
49194
49284
|
},
|
|
49195
49285
|
PasswordField: function () {
|
|
49196
|
-
return import(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
49286
|
+
return import(/* webpackChunkName: "PasswordField" */ './fthry_index.DoLCpn8f.js');
|
|
49197
49287
|
},
|
|
49198
49288
|
PaymentMethodField: function () {
|
|
49199
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
49289
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.mzXuSQ8R.js');
|
|
49200
49290
|
},
|
|
49201
|
-
PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
49291
|
+
PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.BS0y_3jr.js'); },
|
|
49202
49292
|
PinInputField: function () {
|
|
49203
|
-
return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
49293
|
+
return import(/* webpackChunkName: "PinInputField" */ './fthry_index.B_kkxOWT.js');
|
|
49204
49294
|
},
|
|
49205
|
-
QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
49295
|
+
QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.9s5SUZD0.js'); },
|
|
49206
49296
|
RadioButtonGroupField: function () {
|
|
49207
49297
|
return import(
|
|
49208
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
49298
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.D2-8ZRpd.js');
|
|
49209
49299
|
},
|
|
49210
49300
|
RatingField: function () {
|
|
49211
|
-
return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
49301
|
+
return import(/* webpackChunkName: "RatingField" */ './fthry_index.DjZQBlTA.js');
|
|
49212
49302
|
},
|
|
49213
49303
|
SignatureField: function () {
|
|
49214
|
-
return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
49304
|
+
return import(/* webpackChunkName: "SignatureField" */ './fthry_index.BAW36YGO.js');
|
|
49215
49305
|
},
|
|
49216
49306
|
SliderField: function () {
|
|
49217
|
-
return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
49307
|
+
return import(/* webpackChunkName: "SliderField" */ './fthry_index.Dib6rza_.js');
|
|
49218
49308
|
},
|
|
49219
|
-
TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
49220
|
-
TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
49309
|
+
TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.GJ441VFD.js'); },
|
|
49310
|
+
TextArea: function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.DylkcojM.js'); }
|
|
49221
49311
|
};
|
|
49222
49312
|
var getPositionKey = function (element) { var _a; return ((_a = element.position) === null || _a === void 0 ? void 0 : _a.join(',')) || 'root'; };
|
|
49223
49313
|
// Share the resolved component between preload and render. A separate
|
|
@@ -50411,7 +50501,7 @@ function ElementSkeleton(_a) {
|
|
|
50411
50501
|
}
|
|
50412
50502
|
var templateObject_1;
|
|
50413
50503
|
|
|
50414
|
-
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
50504
|
+
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.CFui_RpS.js'); });
|
|
50415
50505
|
var Basic = {
|
|
50416
50506
|
ImageElement: ImageElement,
|
|
50417
50507
|
VideoElement: VideoElement,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { u as Mermaid } from './fthry_AssistantChat.
|
|
2
|
-
import './fthry_index.
|
|
1
|
+
export { u as Mermaid } from './fthry_AssistantChat.C4E2R_en.js';
|
|
2
|
+
import './fthry_index.xIaUS4wo.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
7
7
|
import 'react-dom';
|
|
8
8
|
import './fthry_clsx.ChV9xqsO.js';
|
|
9
|
-
import './fthry_index.
|
|
9
|
+
import './fthry_index.CSfhoU0u.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useState, useMemo } from 'react';
|
|
3
|
-
import { C as getDefaultExportFromCjs, j as jsxs, q as Fragment, a as jsx, G as Global, e as css, g as __makeTemplateObject } from './fthry_index.
|
|
3
|
+
import { C as getDefaultExportFromCjs, j as jsxs, q as Fragment, a as jsx, G as Global, e as css, g as __makeTemplateObject } from './fthry_index.xIaUS4wo.js';
|
|
4
4
|
import { flushSync } from 'react-dom';
|
|
5
5
|
|
|
6
6
|
function canUseDom() {
|