@feathery/react 2.39.5 → 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/{fthry_AssistantChat.YQCuhhst.js → fthry_AssistantChat.G0rHUKOm.js} +4 -4
- package/cjs/{fthry_FormControl._40lAY3B.js → fthry_FormControl.BwRmM30S.js} +1 -1
- package/cjs/{fthry_InlineTooltip.BfrVpfYj.js → fthry_InlineTooltip.Bs529m1d.js} +2 -2
- package/cjs/{fthry_Overlay.C6scqGHc.js → fthry_Overlay.ZvXimrP-.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.FKIxWFGb.js → fthry_PaymentMethodField.DN0v1YmF.js} +4 -4
- package/cjs/{fthry_Placeholder.BYp77nuH.js → fthry_Placeholder.DzUdOE_N.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.C9PPQrMG.js → fthry_ShowEyeIcon.DFO9YO4y.js} +1 -1
- package/cjs/{fthry_highlighted-body-TPN3WLV5.DV7vusTB.js → fthry_highlighted-body-TPN3WLV5.CsHGvYhh.js} +3 -3
- package/cjs/{fthry_index.CSa2GNkT.js → fthry_index.5LVTbVr2.js} +5 -5
- package/cjs/{fthry_index.ZWVnlGH6.js → fthry_index.7bAdlgHy.js} +4 -4
- package/cjs/{fthry_index.CAyIvRN9.js → fthry_index.B9or_S6G.js} +1 -1
- package/cjs/{fthry_index.Blb-S2FV.js → fthry_index.BMBD0adh.js} +1 -1
- package/cjs/{fthry_index.DcGjJE6I.js → fthry_index.BNB0x74A.js} +8 -8
- package/cjs/{fthry_index.BqjGgn8c.js → fthry_index.BklL-aiD.js} +3 -3
- package/cjs/{fthry_index.F9ntcl8d.js → fthry_index.C6yl7Ss-.js} +2 -2
- package/cjs/{fthry_index.C6B_9YEq.js → fthry_index.CFYcuteU.js} +1 -1
- package/cjs/{fthry_index.DhA0OYaa.js → fthry_index.CWX3sSB9.js} +1 -1
- package/cjs/{fthry_index.UL-HkR2L.js → fthry_index.CZQRzS7D.js} +87 -29
- package/cjs/{fthry_index.Dx_qH62x.js → fthry_index.CbrD0Z53.js} +1 -1
- package/cjs/{fthry_index.ErupPDHm.js → fthry_index.CjepExAG.js} +1 -1
- package/cjs/{fthry_index.sT-w-rf1.js → fthry_index.Ctv-i1zI.js} +1 -1
- package/cjs/{fthry_index.B_DcdLHz.js → fthry_index.D1XeJIsf.js} +6 -6
- package/cjs/{fthry_index.CXfcph5D.js → fthry_index.D4mJgW_c.js} +1 -1
- package/cjs/{fthry_index.D71_kAqf.js → fthry_index.D6kp7W7I.js} +2 -2
- package/cjs/{fthry_index.BKgdz8wA.js → fthry_index.D9dmRskb.js} +6 -6
- package/cjs/{fthry_index.BMoZkdA6.js → fthry_index.Dmq9NSJd.js} +5 -5
- package/cjs/{fthry_index.DuFt4scb.js → fthry_index.DrOeHAs6.js} +5 -5
- package/cjs/{fthry_index.CN5FWNGo.js → fthry_index.LTo4dKdb.js} +5 -5
- package/cjs/{fthry_index.CDpXSBnO.js → fthry_index.PbjPJIUk.js} +1 -1
- package/cjs/{fthry_index.WGuV-KCz.js → fthry_index.SdAzmwen.js} +4 -4
- package/cjs/{fthry_index.WT4DAN_S.js → fthry_index.koqHLxjW.js} +3 -3
- package/cjs/{fthry_index.DcuaSdF3.js → fthry_index.lGyEnbOI.js} +6 -6
- package/cjs/{fthry_index.BeoZ7ahe.js → fthry_index.wKZXS8Pf.js} +6 -6
- package/cjs/{fthry_input.DIy-Ecsj.js → fthry_input.C5hU8qoU.js} +1 -1
- package/cjs/{fthry_mermaid-O7DHMXV3.Kmx4whY_.js → fthry_mermaid-O7DHMXV3.CwUNhDAv.js} +3 -3
- package/cjs/{fthry_script.4CA-i2YC.js → fthry_script.CXV8Wb7h.js} +1 -1
- package/cjs/{fthry_styles.2InnXe-4.js → fthry_styles.CR0dqh6j.js} +1 -1
- package/cjs/{fthry_useElementSize.BsJKStem.js → fthry_useElementSize.CNPWGju4.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.xD4e3uQO.js → fthry_useSalesforceSync.7E9m_hhF.js} +1 -1
- package/cjs/{fthry_webfontloader.DMtsPRTb.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/{fthry_AssistantChat.hnRlYNVg.js → fthry_AssistantChat.C4E2R_en.js} +4 -4
- package/dist/{fthry_FormControl.8pSBTA31.js → fthry_FormControl.BaRwUrV1.js} +1 -1
- package/dist/{fthry_InlineTooltip.Bq9500oG.js → fthry_InlineTooltip.Du40UlbF.js} +2 -2
- package/dist/{fthry_Overlay.DEggBAsa.js → fthry_Overlay.D_sj8sym.js} +1 -1
- package/dist/{fthry_PaymentMethodField.BKglAUrx.js → fthry_PaymentMethodField.mzXuSQ8R.js} +4 -4
- package/dist/{fthry_Placeholder.CVnQrsv8.js → fthry_Placeholder.CeQnc05Z.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.DqjkGj6h.js → fthry_ShowEyeIcon.C0yRQ198.js} +1 -1
- package/dist/{fthry_highlighted-body-TPN3WLV5.BF-Qm433.js → fthry_highlighted-body-TPN3WLV5.BH1ZC9h3.js} +3 -3
- package/dist/{fthry_index.Cr_PhEG5.js → fthry_index.2cm5TGLE.js} +3 -3
- package/dist/{fthry_index.CFwYUXZ8.js → fthry_index.9s5SUZD0.js} +2 -2
- package/dist/{fthry_index.Iziq-Kbr.js → fthry_index.BAW36YGO.js} +3 -3
- package/dist/{fthry_index.Bd4KkVao.js → fthry_index.BJL5DUFv.js} +1 -1
- package/dist/{fthry_index.CPcpxgDL.js → fthry_index.BS0y_3jr.js} +5 -5
- package/dist/{fthry_index.B3z3FXtp.js → fthry_index.B_kkxOWT.js} +1 -1
- package/dist/{fthry_index.Dvx8Ucl2.js → fthry_index.Bhle2u_B.js} +5 -5
- package/dist/{fthry_index.V-k8b4Uk.js → fthry_index.Bi9j2CoL.js} +6 -6
- package/dist/{fthry_index.BXJn-2VJ.js → fthry_index.CFui_RpS.js} +1 -1
- package/dist/{fthry_index.CsB6qfcs.js → fthry_index.CSfhoU0u.js} +1 -1
- package/dist/{fthry_index.CS-REvYp.js → fthry_index.D2-8ZRpd.js} +6 -6
- package/dist/{fthry_index.D0WpbHv8.js → fthry_index.D74y6OAR.js} +5 -5
- package/dist/{fthry_index.BAJON1mr.js → fthry_index.DEOA055J.js} +1 -1
- package/dist/{fthry_index.CSxTJscJ.js → fthry_index.Dhg5xJ4s.js} +5 -5
- package/dist/{fthry_index.D3ON8w4i.js → fthry_index.Dib6rza_.js} +2 -2
- package/dist/{fthry_index.BBA4M9Ym.js → fthry_index.DjZQBlTA.js} +1 -1
- package/dist/{fthry_index.CwkH8CR1.js → fthry_index.DoLCpn8f.js} +5 -5
- package/dist/{fthry_index.BMui71Q7.js → fthry_index.DukxIF0D.js} +1 -1
- package/dist/{fthry_index.LnYfWd3O.js → fthry_index.DylkcojM.js} +4 -4
- package/dist/{fthry_index.7adkb-Yo.js → fthry_index.GJ441VFD.js} +8 -8
- package/dist/{fthry_index.CzxXXkNC.js → fthry_index.Km475eeC.js} +6 -6
- package/dist/{fthry_index.BWxZjCVE.js → fthry_index.Ky-g0bWJ.js} +1 -1
- package/dist/{fthry_index.DmeA3gX-.js → fthry_index.Qya_gJCa.js} +4 -4
- package/dist/{fthry_index.BdnUxvNg.js → fthry_index.Y8uCPyI1.js} +1 -1
- package/dist/{fthry_index.B0dTcALC.js → fthry_index.xIaUS4wo.js} +87 -29
- package/dist/{fthry_input.C9_eZY4n.js → fthry_input.BUZxnbfK.js} +1 -1
- package/dist/{fthry_mermaid-O7DHMXV3.CMda8-_P.js → fthry_mermaid-O7DHMXV3.C8qNyDC8.js} +3 -3
- package/dist/{fthry_script.BzA0wgMM.js → fthry_script.CHlON7tM.js} +1 -1
- package/dist/{fthry_styles.CecGNp-8.js → fthry_styles.CRruZ5I3.js} +1 -1
- package/dist/{fthry_useElementSize.DlGauB6l.js → fthry_useElementSize.DyfzVGG2.js} +1 -1
- package/dist/{fthry_useSalesforceSync.t_h78aUg.js → fthry_useSalesforceSync.YGkWXJ1l.js} +1 -1
- package/dist/{fthry_webfontloader.B3Cs903r.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,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,
|
|
@@ -40923,7 +40981,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
|
|
|
40923
40981
|
}, [activeStep, stepKey, formName]);
|
|
40924
40982
|
}
|
|
40925
40983
|
|
|
40926
|
-
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; }); });
|
|
40927
40985
|
var AssistantChat = function (props) { return (jsx$1(Suspense, __assign({ fallback: null }, { children: jsx$1(LazyAssistantChat, __assign({}, props)) }))); };
|
|
40928
40986
|
|
|
40929
40987
|
var AssistantClient = /** @class */ (function () {
|
|
@@ -47529,9 +47587,9 @@ function init(sdkKey, options) {
|
|
|
47529
47587
|
if (runningInClient()) {
|
|
47530
47588
|
// Dynamically load libraries that must be client side
|
|
47531
47589
|
global.scriptjsLoadPromise = import(
|
|
47532
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
47590
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.CHlON7tM.js').then(function (n) { return n.s; });
|
|
47533
47591
|
global.webfontloaderPromise = import(
|
|
47534
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
47592
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DVyqdvKt.js').then(function (n) { return n.w; });
|
|
47535
47593
|
// Client-side tracking logic
|
|
47536
47594
|
if (initState.userTracking === 'cookie') {
|
|
47537
47595
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -47677,7 +47735,7 @@ function getFieldValues() {
|
|
|
47677
47735
|
return __assign({}, fieldValues);
|
|
47678
47736
|
}
|
|
47679
47737
|
function logFeatheryBadge() {
|
|
47680
|
-
console.log('%c Feathery %c v' + "2.
|
|
47738
|
+
console.log('%c Feathery %c v' + "2.40.0" + ' ', // replaced with real version during build
|
|
47681
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;');
|
|
47682
47740
|
}
|
|
47683
47741
|
|
|
@@ -49192,64 +49250,64 @@ breakpoint) {
|
|
|
49192
49250
|
|
|
49193
49251
|
var fieldLoaders = {
|
|
49194
49252
|
AddressLine1: function () {
|
|
49195
|
-
return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
49253
|
+
return import(/* webpackChunkName: "AddressField" */ './fthry_index.Bhle2u_B.js');
|
|
49196
49254
|
},
|
|
49197
49255
|
ButtonGroupField: function () {
|
|
49198
|
-
return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
49256
|
+
return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.Qya_gJCa.js');
|
|
49199
49257
|
},
|
|
49200
49258
|
CheckboxField: function () {
|
|
49201
|
-
return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
49259
|
+
return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.Y8uCPyI1.js');
|
|
49202
49260
|
},
|
|
49203
49261
|
CheckboxGroupField: function () {
|
|
49204
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
49262
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.Km475eeC.js');
|
|
49205
49263
|
},
|
|
49206
49264
|
ColorPickerField: function () {
|
|
49207
|
-
return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
49265
|
+
return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.DukxIF0D.js');
|
|
49208
49266
|
},
|
|
49209
49267
|
CustomField: function () {
|
|
49210
|
-
return import(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
49268
|
+
return import(/* webpackChunkName: "CustomField" */ './fthry_index.BJL5DUFv.js');
|
|
49211
49269
|
},
|
|
49212
49270
|
DateSelectorField: function () {
|
|
49213
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
49271
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.Bi9j2CoL.js');
|
|
49214
49272
|
},
|
|
49215
49273
|
DropdownField: function () {
|
|
49216
|
-
return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
49274
|
+
return import(/* webpackChunkName: "DropdownField" */ './fthry_index.Dhg5xJ4s.js');
|
|
49217
49275
|
},
|
|
49218
49276
|
DropdownMultiField: function () {
|
|
49219
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
49277
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.D74y6OAR.js');
|
|
49220
49278
|
},
|
|
49221
49279
|
FileUploadField: function () {
|
|
49222
|
-
return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
49280
|
+
return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.Ky-g0bWJ.js');
|
|
49223
49281
|
},
|
|
49224
49282
|
MatrixField: function () {
|
|
49225
|
-
return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
49283
|
+
return import(/* webpackChunkName: "MatrixField" */ './fthry_index.2cm5TGLE.js');
|
|
49226
49284
|
},
|
|
49227
49285
|
PasswordField: function () {
|
|
49228
|
-
return import(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
49286
|
+
return import(/* webpackChunkName: "PasswordField" */ './fthry_index.DoLCpn8f.js');
|
|
49229
49287
|
},
|
|
49230
49288
|
PaymentMethodField: function () {
|
|
49231
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
49289
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.mzXuSQ8R.js');
|
|
49232
49290
|
},
|
|
49233
|
-
PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
49291
|
+
PhoneField: function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.BS0y_3jr.js'); },
|
|
49234
49292
|
PinInputField: function () {
|
|
49235
|
-
return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
49293
|
+
return import(/* webpackChunkName: "PinInputField" */ './fthry_index.B_kkxOWT.js');
|
|
49236
49294
|
},
|
|
49237
|
-
QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
49295
|
+
QRScanner: function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.9s5SUZD0.js'); },
|
|
49238
49296
|
RadioButtonGroupField: function () {
|
|
49239
49297
|
return import(
|
|
49240
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
49298
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.D2-8ZRpd.js');
|
|
49241
49299
|
},
|
|
49242
49300
|
RatingField: function () {
|
|
49243
|
-
return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
49301
|
+
return import(/* webpackChunkName: "RatingField" */ './fthry_index.DjZQBlTA.js');
|
|
49244
49302
|
},
|
|
49245
49303
|
SignatureField: function () {
|
|
49246
|
-
return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
49304
|
+
return import(/* webpackChunkName: "SignatureField" */ './fthry_index.BAW36YGO.js');
|
|
49247
49305
|
},
|
|
49248
49306
|
SliderField: function () {
|
|
49249
|
-
return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
49307
|
+
return import(/* webpackChunkName: "SliderField" */ './fthry_index.Dib6rza_.js');
|
|
49250
49308
|
},
|
|
49251
|
-
TextField: function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
49252
|
-
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'); }
|
|
49253
49311
|
};
|
|
49254
49312
|
var getPositionKey = function (element) { var _a; return ((_a = element.position) === null || _a === void 0 ? void 0 : _a.join(',')) || 'root'; };
|
|
49255
49313
|
// Share the resolved component between preload and render. A separate
|
|
@@ -50443,7 +50501,7 @@ function ElementSkeleton(_a) {
|
|
|
50443
50501
|
}
|
|
50444
50502
|
var templateObject_1;
|
|
50445
50503
|
|
|
50446
|
-
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
50504
|
+
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.CFui_RpS.js'); });
|
|
50447
50505
|
var Basic = {
|
|
50448
50506
|
ImageElement: ImageElement,
|
|
50449
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() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as __read, l as __awaiter, m as __generator, o as FeatheryClient } from './fthry_index.
|
|
1
|
+
import { c as __read, l as __awaiter, m as __generator, o as FeatheryClient } from './fthry_index.xIaUS4wo.js';
|
|
2
2
|
import { useState, useEffect } from 'react';
|
|
3
3
|
|
|
4
4
|
function useSalesforceSync(salesforceSync, editMode) {
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aL as AssistantChat, aD as Elements, aM as Feathery, aC as Form, aJ as LoginForm, aN as StyledContainer, aH as getFieldValues, aE as init, aI as renderAt, ax as setFieldValues, aG as updateTheme, aF as updateUserId, aK as useAuthClient } from './fthry_index.
|
|
1
|
+
export { aL as AssistantChat, aD as Elements, aM as Feathery, aC as Form, aJ as LoginForm, aN as StyledContainer, aH as getFieldValues, aE as init, aI as renderAt, ax as setFieldValues, aG as updateTheme, aF as updateUserId, aK as useAuthClient } from './fthry_index.xIaUS4wo.js';
|
|
2
2
|
import 'react-dom/client';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationClient.d.ts","sourceRoot":"","sources":["../../../src/utils/featheryClient/integrationClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EACL,aAAa,EACb,yBAAyB,EACzB,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAUL,oBAAoB,EACpB,wBAAwB,EAGzB,MAAM,wBAAwB,CAAC;AAGhC,eAAO,MAAM,uBAAuB,UAKnC,CAAC;
|
|
1
|
+
{"version":3,"file":"integrationClient.d.ts","sourceRoot":"","sources":["../../../src/utils/featheryClient/integrationClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EACL,aAAa,EACb,yBAAyB,EACzB,qBAAq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