@feathery/react 2.23.6 → 2.24.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/basic/TableElement/Actions.d.ts.map +1 -1
- package/cjs/elements/basic/TableElement/Pagination.d.ts.map +1 -1
- package/cjs/elements/basic/TableElement/styles.d.ts +27 -17
- package/cjs/elements/basic/TableElement/styles.d.ts.map +1 -1
- package/cjs/elements/fields/PhoneField/index.d.ts.map +1 -1
- package/cjs/{fthry_FormControl.BSFeGfR_.js → fthry_FormControl.vbX2P0I_.js} +1 -1
- package/cjs/{fthry_InlineTooltip.DdmX24ud.js → fthry_InlineTooltip.D1378Y1g.js} +2 -2
- package/cjs/{fthry_Overlay.dLOs3POl.js → fthry_Overlay.DhlLdnah.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.B4hPg2W5.js → fthry_PaymentMethodField.QimHHZqH.js} +4 -4
- package/cjs/{fthry_Placeholder.CGG1eUWI.js → fthry_Placeholder.8Y7RwhTl.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.CqkQEvU3.js → fthry_ShowEyeIcon.CVTdgP0w.js} +1 -1
- package/cjs/{fthry_index.H0oI-pdw.js → fthry_index.0D8qcou0.js} +1 -1
- package/cjs/{fthry_index.Czm7tOJN.js → fthry_index.AMOwVXhk.js} +1 -1
- package/cjs/{fthry_index.DxydBYq9.js → fthry_index.B5Drq9vz.js} +5 -5
- package/cjs/{fthry_index.BMCo2zda.js → fthry_index.B9zwDhKc.js} +6 -6
- package/cjs/{fthry_index.B6OWca6B.js → fthry_index.BJSwRzFN.js} +5 -5
- package/cjs/{fthry_index.DRD0iTwt.js → fthry_index.BPfxLXMg.js} +35 -38
- package/cjs/{fthry_index.BqNLbMy7.js → fthry_index.Be1iNDQE.js} +1 -1
- package/cjs/{fthry_index.Ba5C9yId.js → fthry_index.BevZemwD.js} +6 -6
- package/cjs/{fthry_index.DC19EIx0.js → fthry_index.C2VUNz1O.js} +35 -15
- package/cjs/{fthry_index.CyaIdx9V.js → fthry_index.C97GC1Lu.js} +4 -4
- package/cjs/{fthry_index.CWjgaGDT.js → fthry_index.CoyBGmN7.js} +1 -1
- package/cjs/{fthry_index.DzZDhazI.js → fthry_index.Cwnl6Jru.js} +1 -1
- package/cjs/{fthry_index.Srl5eYm5.js → fthry_index.D76gElBb.js} +1 -1
- package/cjs/{fthry_index.BdTls4Lg.js → fthry_index.DS9mjpSE.js} +2 -2
- package/cjs/{fthry_index.CLUV_Y9k.js → fthry_index.DUzUC0Nl.js} +1 -1
- package/cjs/{fthry_index.CWlKeuqz.js → fthry_index.DYnHPsYG.js} +5 -5
- package/cjs/{fthry_index.BlbuXVF3.js → fthry_index.DoVLlKXI.js} +1 -1
- package/cjs/{fthry_index.B-tGwDjz.js → fthry_index.DxxEYM24.js} +3 -3
- package/cjs/{fthry_index.COIyjfXF.js → fthry_index.Fi-el7Xn.js} +3 -3
- package/cjs/{fthry_index.CAGAOhTh.js → fthry_index.Op6hP0Wx.js} +6 -6
- package/cjs/{fthry_index.CIAaigRJ.js → fthry_index.QuNimvtq.js} +4 -4
- package/cjs/{fthry_index.BMhDSvsN.js → fthry_index.WHMwSaaK.js} +2 -2
- package/cjs/{fthry_index.FziiiLJL.js → fthry_index.Z8k0J5TH.js} +54 -22
- package/cjs/{fthry_index.D4Iu9UG6.js → fthry_index.acd9c8KU.js} +4 -4
- package/cjs/{fthry_index.vuYMQcab.js → fthry_index.w7es6wJA.js} +8 -8
- package/cjs/{fthry_input.3eZioCQX.js → fthry_input.Bd5X8-FP.js} +1 -1
- package/cjs/{fthry_script.B0ZxbIbw.js → fthry_script.CdRA-K9H.js} +1 -1
- package/cjs/{fthry_styles.DDrbD7PV.js → fthry_styles.B3BfcPaL.js} +1 -1
- package/cjs/{fthry_useElementSize.DnuxzPqr.js → fthry_useElementSize.Cqwz6OB6.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.uOFzu2dA.js → fthry_useSalesforceSync.CDuqbdgb.js} +1 -1
- package/cjs/{fthry_webfontloader.nyXgbNFp.js → fthry_webfontloader.C696SV-4.js} +1 -1
- package/cjs/index.js +1 -1
- package/cjs/utils/featheryClient/index.d.ts.map +1 -1
- package/dist/elements/basic/TableElement/Actions.d.ts.map +1 -1
- package/dist/elements/basic/TableElement/Pagination.d.ts.map +1 -1
- package/dist/elements/basic/TableElement/styles.d.ts +27 -17
- package/dist/elements/basic/TableElement/styles.d.ts.map +1 -1
- package/dist/elements/fields/PhoneField/index.d.ts.map +1 -1
- package/dist/{fthry_FormControl.BWQA5b0y.js → fthry_FormControl.XNq3-cui.js} +1 -1
- package/dist/{fthry_InlineTooltip.BZLGojXl.js → fthry_InlineTooltip.DGHEvC_N.js} +2 -2
- package/dist/{fthry_Overlay.Dtxj6U3L.js → fthry_Overlay.J6bfxjB6.js} +1 -1
- package/dist/{fthry_PaymentMethodField.C-mD7K2W.js → fthry_PaymentMethodField.CDQLu6HD.js} +4 -4
- package/dist/{fthry_Placeholder.hAt5rBVS.js → fthry_Placeholder.Mlmdw3dr.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.C9RMRr7X.js → fthry_ShowEyeIcon.DP57fwQm.js} +1 -1
- package/dist/{fthry_index.BLC4N3MM.js → fthry_index.B1mI_nkL.js} +5 -5
- package/dist/{fthry_index.Cnj3D2sE.js → fthry_index.BIJhafFv.js} +4 -4
- package/dist/{fthry_index.C0uIFVvg.js → fthry_index.BdqBOOCg.js} +4 -4
- package/dist/{fthry_index.DsD0fPig.js → fthry_index.Bdu4nau6.js} +1 -1
- package/dist/{fthry_index.BXgOTSKx.js → fthry_index.BfQjfY-v.js} +54 -22
- package/dist/{fthry_index.M__FBiFq.js → fthry_index.Bn5uzN59.js} +5 -5
- package/dist/{fthry_index.C1M4obTx.js → fthry_index.C-djGiaS.js} +2 -2
- package/dist/{fthry_index.BHy82_xs.js → fthry_index.C0Dov5nE.js} +3 -3
- package/dist/{fthry_index.oi3hyRpZ.js → fthry_index.C5VHKe3D.js} +2 -2
- package/dist/{fthry_index.BOupY-M9.js → fthry_index.CA1Bdo9s.js} +4 -4
- package/dist/{fthry_index.D3AC3IRu.js → fthry_index.CBqbHxMx.js} +35 -15
- package/dist/{fthry_index.CDTlE3iz.js → fthry_index.C_GjXlZr.js} +5 -5
- package/dist/{fthry_index.B-icxM59.js → fthry_index.CrRjSHn5.js} +1 -1
- package/dist/{fthry_index.DsqQfUyE.js → fthry_index.Cu45IR9p.js} +1 -1
- package/dist/{fthry_index.C0qPFRWZ.js → fthry_index.CvvMEgBS.js} +1 -1
- package/dist/{fthry_index.DkySqYis.js → fthry_index.Cw42Sncj.js} +35 -38
- package/dist/{fthry_index.CZG2sz8l.js → fthry_index.CzM_hr1x.js} +3 -3
- package/dist/{fthry_index.BLWtc8eL.js → fthry_index.CzvRN7bv.js} +6 -6
- package/dist/{fthry_index.BESTuSD0.js → fthry_index.D52ARHUD.js} +6 -6
- package/dist/{fthry_index.m_O5twIG.js → fthry_index.D9Soe4dO.js} +1 -1
- package/dist/{fthry_index.BD_dUvCa.js → fthry_index.DE_JfnGK.js} +1 -1
- package/dist/{fthry_index.CpjGr8XJ.js → fthry_index.DsfZyITQ.js} +1 -1
- package/dist/{fthry_index.BRaDez8A.js → fthry_index.LEBoicJ3.js} +6 -6
- package/dist/{fthry_index.CioL9mXh.js → fthry_index.RUzLaqoe.js} +8 -8
- package/dist/{fthry_index.UjyJiWL6.js → fthry_index.drUEPtsd.js} +1 -1
- package/dist/{fthry_input.CabnFCSi.js → fthry_input.7cjySaDO.js} +1 -1
- package/dist/{fthry_script.DPOcbAqz.js → fthry_script.Bp60MFMf.js} +1 -1
- package/dist/{fthry_styles.C2mCy0WK.js → fthry_styles.COD2mOPV.js} +1 -1
- package/dist/{fthry_useElementSize.secLYB15.js → fthry_useElementSize.CmRwN1ei.js} +1 -1
- package/dist/{fthry_useSalesforceSync.Cpjc7KyH.js → fthry_useSalesforceSync.BVgXZfea.js} +1 -1
- package/dist/{fthry_webfontloader.ZS2IvgfF.js → fthry_webfontloader.BkfUAKKA.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/featheryClient/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/umd/{PhoneField.42eae8ec161c28522777.js → PhoneField.7475243ed9d9c7374c28.js} +1 -1
- package/umd/TableElement.ee77e0f53a9ccac846ab.js +1 -0
- package/umd/index.js +1 -1
- package/umd/TableElement.8380efafa84627d75ce9.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __assign, j as jsx, a as jsxs, F as Fragment, b as __read, f as featheryDoc, c as fieldValues, s as stringifyWithNull, d as __values, e as __spreadArray } from './fthry_index.
|
|
1
|
+
import { _ as __assign, j as jsx, a as jsxs, F as Fragment, b as __read, f as featheryDoc, c as fieldValues, s as stringifyWithNull, d as __values, e as __spreadArray } from './fthry_index.Cw42Sncj.js';
|
|
2
2
|
import { useState, useRef, useEffect, useMemo } from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
@@ -189,7 +189,7 @@ var buttonStyle = {
|
|
|
189
189
|
cursor: 'auto'
|
|
190
190
|
}
|
|
191
191
|
};
|
|
192
|
-
var actionButtonStyle = __assign(__assign({}, buttonStyle), { borderRadius: '4px', paddingInline: '8px', width: 'auto', height: '28px', position: 'relative' });
|
|
192
|
+
var actionButtonStyle = __assign(__assign({}, buttonStyle), { borderRadius: '4px', paddingInline: '8px', paddingBlock: '4px', width: 'auto', height: 'auto', minHeight: '28px', position: 'relative' });
|
|
193
193
|
var menuIconStyle = {
|
|
194
194
|
width: '16px',
|
|
195
195
|
height: '16px',
|
|
@@ -245,9 +245,6 @@ var pageButtonStyle = __assign(__assign({}, buttonStyle), { width: '36px', borde
|
|
|
245
245
|
var pageButtonPrevStyle = __assign(__assign({}, pageButtonStyle), { borderTopLeftRadius: '8px', borderBottomLeftRadius: '8px', paddingLeft: '12px', paddingRight: '12px', width: 'auto' });
|
|
246
246
|
var pageButtonNextStyle = __assign(__assign({}, pageButtonStyle), { borderTopRightRadius: '8px', borderBottomRightRadius: '8px', paddingLeft: '12px', paddingRight: '12px', width: 'auto', borderRightWidth: 1 });
|
|
247
247
|
var pageButtonActiveStyle = __assign(__assign({}, pageButtonStyle), { color: colors.blue700, backgroundColor: colors.blue50, border: "1px solid ".concat(colors.gray200) });
|
|
248
|
-
var pageButtonEllipsisStyle = __assign(__assign({}, pageButtonStyle), { cursor: 'default', '&:focus': {
|
|
249
|
-
outline: 'none'
|
|
250
|
-
} });
|
|
251
248
|
var pageButtonDisabledStyle = {
|
|
252
249
|
opacity: 0.8,
|
|
253
250
|
cursor: 'default',
|
|
@@ -256,7 +253,13 @@ var pageButtonDisabledStyle = {
|
|
|
256
253
|
backgroundColor: colors.gray50,
|
|
257
254
|
color: colors.gray400
|
|
258
255
|
}
|
|
259
|
-
};
|
|
256
|
+
};
|
|
257
|
+
var overflowSelectStyle = __assign(__assign({}, pageButtonStyle), { appearance: 'none', WebkitAppearance: 'none', cursor: 'pointer', paddingLeft: '8px', paddingRight: '8px', width: '36px', textAlign: 'center', outline: 'none', '&:hover': {
|
|
258
|
+
backgroundColor: colors.gray100,
|
|
259
|
+
color: colors.gray900
|
|
260
|
+
}, '&:focus': {
|
|
261
|
+
outline: 'none'
|
|
262
|
+
} });
|
|
260
263
|
|
|
261
264
|
function SearchIcon() {
|
|
262
265
|
return (jsx("svg", __assign({ css: searchIconStyle, fill: 'none', viewBox: '0 0 24 24', stroke: 'currentColor', strokeWidth: 2 }, { children: jsx("path", { strokeLinecap: 'round', d: 'M21 21l-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z' }) })));
|
|
@@ -298,22 +301,45 @@ function NextButton(_a) {
|
|
|
298
301
|
var disabled = _a.disabled, onClick = _a.onClick;
|
|
299
302
|
return (jsx("button", __assign({ type: 'button', onClick: onClick, disabled: disabled, css: __assign(__assign({}, pageButtonNextStyle), (disabled ? pageButtonDisabledStyle : {})) }, { children: "Next" })));
|
|
300
303
|
}
|
|
304
|
+
function OverflowSelect(_a) {
|
|
305
|
+
var pages = _a.pages, onPageChange = _a.onPageChange;
|
|
306
|
+
return (jsxs("select", __assign({ value: '', onChange: function (e) {
|
|
307
|
+
onPageChange(Number(e.target.value));
|
|
308
|
+
}, "aria-label": 'Go to page', css: overflowSelectStyle }, { children: [jsx("option", __assign({ value: '', disabled: true, hidden: true }, { children: "..." })), pages.map(function (page) { return (jsx("option", __assign({ value: page }, { children: page + 1 }), page)); })] })));
|
|
309
|
+
}
|
|
301
310
|
function PageNumbers(_a) {
|
|
302
311
|
var currentPage = _a.currentPage, totalPages = _a.totalPages, onPageChange = _a.onPageChange;
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
312
|
+
var visiblePages = new Set();
|
|
313
|
+
visiblePages.add(0);
|
|
314
|
+
visiblePages.add(totalPages - 1);
|
|
315
|
+
for (var i = Math.max(0, currentPage - 1); i <= Math.min(totalPages - 1, currentPage + 1); i++) {
|
|
316
|
+
visiblePages.add(i);
|
|
317
|
+
}
|
|
318
|
+
var items = [];
|
|
319
|
+
var sortedVisible = Array.from(visiblePages).sort(function (a, b) { return a - b; });
|
|
320
|
+
for (var i = 0; i < sortedVisible.length; i++) {
|
|
321
|
+
var page = sortedVisible[i];
|
|
322
|
+
var prevPage = i > 0 ? sortedVisible[i - 1] : -1;
|
|
323
|
+
if (page - prevPage > 1) {
|
|
324
|
+
var hiddenPages = [];
|
|
325
|
+
for (var j = prevPage + 1; j < page; j++) {
|
|
326
|
+
hiddenPages.push(j);
|
|
310
327
|
}
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
328
|
+
items.push({ type: 'overflow', pages: hiddenPages });
|
|
329
|
+
}
|
|
330
|
+
items.push({ type: 'page', page: page });
|
|
331
|
+
}
|
|
332
|
+
return (jsx(Fragment, { children: items.map(function (item, idx) {
|
|
333
|
+
if (item.type === 'overflow') {
|
|
334
|
+
if (item.pages.length === 1) {
|
|
335
|
+
return (jsx("li", { children: jsx("button", __assign({ type: 'button', onClick: function () { return onPageChange(item.pages[0]); }, css: pageButtonStyle }, { children: item.pages[0] + 1 })) }, "overflow-".concat(idx)));
|
|
336
|
+
}
|
|
337
|
+
return (jsx("li", { children: jsx(OverflowSelect, { pages: item.pages, onPageChange: onPageChange }) }, "overflow-".concat(idx)));
|
|
338
|
+
}
|
|
339
|
+
var isActive = item.page === currentPage;
|
|
340
|
+
return (jsx("li", { children: jsx("button", __assign({ type: 'button', onClick: function () { return onPageChange(item.page); }, "aria-current": isActive ? 'page' : undefined, css: isActive
|
|
315
341
|
? pageButtonActiveStyle
|
|
316
|
-
: pageButtonStyle }, { children:
|
|
342
|
+
: pageButtonStyle }, { children: item.page + 1 })) }, item.page));
|
|
317
343
|
}) }));
|
|
318
344
|
}
|
|
319
345
|
function Pagination(_a) {
|
|
@@ -340,6 +366,8 @@ function ActionButtons(_a) {
|
|
|
340
366
|
var menuButtonRef = useRef(null);
|
|
341
367
|
var useOverflow = !forceInlineButtons && actions.length > 1;
|
|
342
368
|
useEffect(function () {
|
|
369
|
+
if (!isMenuOpen)
|
|
370
|
+
return;
|
|
343
371
|
var handleClickOutside = function (event) {
|
|
344
372
|
if (menuRef.current &&
|
|
345
373
|
!menuRef.current.contains(event.target) &&
|
|
@@ -348,11 +376,15 @@ function ActionButtons(_a) {
|
|
|
348
376
|
setIsMenuOpen(false);
|
|
349
377
|
}
|
|
350
378
|
};
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
}
|
|
379
|
+
var handleScroll = function () {
|
|
380
|
+
setIsMenuOpen(false);
|
|
381
|
+
};
|
|
382
|
+
var doc = featheryDoc();
|
|
383
|
+
doc.addEventListener('mousedown', handleClickOutside);
|
|
384
|
+
doc.addEventListener('scroll', handleScroll, true);
|
|
354
385
|
return function () {
|
|
355
|
-
|
|
386
|
+
doc.removeEventListener('mousedown', handleClickOutside);
|
|
387
|
+
doc.removeEventListener('scroll', handleScroll, true);
|
|
356
388
|
};
|
|
357
389
|
}, [isMenuOpen]);
|
|
358
390
|
var handleActionClick = function (action) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { u as useBorder, b as __read, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, k as iosScrollOnFocus, t as FORM_Z_INDEX, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { u as useBorder, b as __read, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, k as iosScrollOnFocus, t as FORM_Z_INDEX, r as resetStyles } from './fthry_index.Cw42Sncj.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.Mlmdw3dr.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DGHEvC_N.js';
|
|
5
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.DP57fwQm.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.J6bfxjB6.js';
|
|
11
11
|
|
|
12
12
|
function PasswordField(_a) {
|
|
13
13
|
var _b;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as __awaiter, m as __generator, e as __spreadArray, b as __read, d as __values, v as featheryWindow, an as loadQRScanner, ao as throttle, j as jsx, a as jsxs, _ as __assign, F as Fragment, E as ErrorInput, ap as qrPromise } from './fthry_index.
|
|
1
|
+
import { l as __awaiter, m as __generator, e as __spreadArray, b as __read, d as __values, v as featheryWindow, an as loadQRScanner, ao as throttle, j as jsx, a as jsxs, _ as __assign, F as Fragment, E as ErrorInput, ap as qrPromise } from './fthry_index.Cw42Sncj.js';
|
|
2
2
|
import React__default, { useEffect, useCallback } from 'react';
|
|
3
|
-
import { S as SliderStyles, a as Slider } from './fthry_styles.
|
|
3
|
+
import { S as SliderStyles, a as Slider } from './fthry_styles.COD2mOPV.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1,7 +1,7 @@
|
|
|
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.
|
|
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.Cw42Sncj.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.J6bfxjB6.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.CrRjSHn5.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as __read, a as jsxs, _ as __assign, j as jsx, h as hoverStylesGuard } from './fthry_index.
|
|
1
|
+
import { b as __read, a as jsxs, _ as __assign, j as jsx, h as hoverStylesGuard } from './fthry_index.Cw42Sncj.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.COD2mOPV.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { b as __read, u as useBorder, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { b as __read, u as useBorder, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, r as resetStyles } from './fthry_index.Cw42Sncj.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.Mlmdw3dr.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DGHEvC_N.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.J6bfxjB6.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,9 +1,9 @@
|
|
|
1
|
-
import { z as __rest, b as __read, C as countryData, ai as phoneLib, aj as authState, ak as firebaseSMSCountries, a as jsxs, j as jsx, _ as __assign, F as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, al as phoneLibPromise, h as hoverStylesGuard, am as isNum, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { z as __rest, b as __read, C as countryData, ai as phoneLib, aj as authState, ak as firebaseSMSCountries, a as jsxs, j as jsx, _ as __assign, F as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, al as phoneLibPromise, h as hoverStylesGuard, am as isNum, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.Cw42Sncj.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.Mlmdw3dr.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DGHEvC_N.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.J6bfxjB6.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.CmRwN1ei.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
@@ -1763,9 +1763,7 @@ function PhoneField(_a) {
|
|
|
1763
1763
|
var dropdownRef = useRef(null);
|
|
1764
1764
|
var inputRef = useRef(null);
|
|
1765
1765
|
var _h = __read(useState(null), 2), cursor = _h[0], setCursor = _h[1];
|
|
1766
|
-
|
|
1767
|
-
// re-applied (e.g. delete)
|
|
1768
|
-
var _j = __read(useState(false), 2), cursorChange = _j[0], setCursorChange = _j[1];
|
|
1766
|
+
var _j = __read(useState(0), 2), cursorTick = _j[0], setCursorTick = _j[1];
|
|
1769
1767
|
var _k = __read(useState(false), 2), show = _k[0], setShow = _k[1];
|
|
1770
1768
|
// The number parsed from the fullNumber prop, updated via triggerOnChange to rawNumber
|
|
1771
1769
|
var _l = __read(useState(''), 2), curFullNumber = _l[0], setCurFullNumber = _l[1];
|
|
@@ -1798,15 +1796,37 @@ function PhoneField(_a) {
|
|
|
1798
1796
|
error: inlineError,
|
|
1799
1797
|
breakpoint: responsiveStyles.getMobileBreakpoint()
|
|
1800
1798
|
}), borderStyles = _r.borderStyles, customBorder = _r.customBorder;
|
|
1799
|
+
var minCursorForPhoneCode = function (code) {
|
|
1800
|
+
return code.length + (code.length > 3 ? 2 : 1);
|
|
1801
|
+
};
|
|
1802
|
+
// cursorTick forces the effect to re-run even when position is unchanged
|
|
1803
|
+
// (e.g. re-focusing on the "+1" prefix)
|
|
1804
|
+
var moveCursor = function (pos) {
|
|
1805
|
+
setCursor(pos);
|
|
1806
|
+
setCursorTick(function (t) { return t + 1; });
|
|
1807
|
+
};
|
|
1801
1808
|
var resetToPhoneCode = function (code) {
|
|
1802
|
-
|
|
1803
|
-
|
|
1809
|
+
moveCursor(minCursorForPhoneCode(code));
|
|
1810
|
+
};
|
|
1811
|
+
var clampCursorAfterPhoneCode = function (input) {
|
|
1812
|
+
var _a;
|
|
1813
|
+
if (!input)
|
|
1814
|
+
return;
|
|
1815
|
+
var minCursor = minCursorForPhoneCode(phoneCode);
|
|
1816
|
+
var start = (_a = input.selectionStart) !== null && _a !== void 0 ? _a : minCursor;
|
|
1817
|
+
if (start >= minCursor) {
|
|
1818
|
+
setCursor(start);
|
|
1819
|
+
return;
|
|
1820
|
+
}
|
|
1821
|
+
var cursor = rawNumber.length > phoneCode.length ? input.value.length : minCursor;
|
|
1822
|
+
input.setSelectionRange(cursor, cursor);
|
|
1823
|
+
setCursor(cursor);
|
|
1804
1824
|
};
|
|
1805
1825
|
useEffect(function () {
|
|
1806
1826
|
var input = inputRef.current;
|
|
1807
1827
|
if (input && cursor !== null)
|
|
1808
1828
|
input.setSelectionRange(cursor, cursor);
|
|
1809
|
-
}, [
|
|
1829
|
+
}, [cursorTick]);
|
|
1810
1830
|
useEffect(function () {
|
|
1811
1831
|
if (fullNumber === curFullNumber || editMode)
|
|
1812
1832
|
return;
|
|
@@ -1906,6 +1926,8 @@ function PhoneField(_a) {
|
|
|
1906
1926
|
return prevNum;
|
|
1907
1927
|
});
|
|
1908
1928
|
setFocused(true);
|
|
1929
|
+
}, onClick: function (e) {
|
|
1930
|
+
clampCursorAfterPhoneCode(e.currentTarget);
|
|
1909
1931
|
}, onBlur: function () {
|
|
1910
1932
|
var newRawNumber = rawNumber;
|
|
1911
1933
|
if (phoneCode.startsWith(rawNumber)) {
|
|
@@ -1983,11 +2005,9 @@ function PhoneField(_a) {
|
|
|
1983
2005
|
}
|
|
1984
2006
|
else {
|
|
1985
2007
|
setRawNumber(phoneCode);
|
|
1986
|
-
|
|
1987
|
-
start = phoneCode.length + delta;
|
|
2008
|
+
start = minCursorForPhoneCode(phoneCode);
|
|
1988
2009
|
}
|
|
1989
|
-
|
|
1990
|
-
setCursorChange(!cursorChange);
|
|
2010
|
+
moveCursor(start !== null && start !== void 0 ? start : 0);
|
|
1991
2011
|
} }), jsx(Placeholder, { value: formattedNumber, element: { properties: { placeholder: placeholder } }, responsiveStyles: responsiveStyles, repeatIndex: repeatIndex }), jsx(InlineTooltip, { containerRef: containerRef, id: element.id, text: element.properties.tooltipText, responsiveStyles: responsiveStyles, repeat: element.repeat })] }))] }))] })));
|
|
1992
2012
|
}
|
|
1993
2013
|
var index = memo(PhoneField);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { H as stringify, I as rulesheet, J as COMMENT, K as middleware, R as RULESET, L as combine, M as match, N as serialize, O as copy, P as replace, W as WEBKIT, Q as MOZ, S as MS, T as KEYFRAMES, U as DECLARATION, V as dealloc, X as alloc, Y as hash, Z as charat, $ as strlen, a0 as indexof, a1 as next, a2 as token, a3 as from, a4 as peek, a5 as delimit, a6 as slice, a7 as position, a8 as compile, j as jsx$1, _ as __assign, a as jsxs, F as Fragment$1, z as __rest, b as __read, t as FORM_Z_INDEX, v as featheryWindow, f as featheryDoc, e as __spreadArray, d as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { H as stringify, I as rulesheet, J as COMMENT, K as middleware, R as RULESET, L as combine, M as match, N as serialize, O as copy, P as replace, W as WEBKIT, Q as MOZ, S as MS, T as KEYFRAMES, U as DECLARATION, V as dealloc, X as alloc, Y as hash, Z as charat, $ as strlen, a0 as indexof, a1 as next, a2 as token, a3 as from, a4 as peek, a5 as delimit, a6 as slice, a7 as position, a8 as compile, j as jsx$1, _ as __assign, a as jsxs, F as Fragment$1, z as __rest, b as __read, t as FORM_Z_INDEX, v as featheryWindow, f as featheryDoc, e as __spreadArray, d as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.Cw42Sncj.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.DGHEvC_N.js';
|
|
5
|
+
import { P as Placeholder$2 } from './fthry_Placeholder.Mlmdw3dr.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.BVgXZfea.js';
|
|
7
|
+
import { T as Tooltip, O as Overlay } from './fthry_Overlay.J6bfxjB6.js';
|
|
8
8
|
import { createPortal } from 'react-dom';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'react-dom/client';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __assign, h as hoverStylesGuard, a as jsxs, j as jsx, k as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { _ as __assign, h as hoverStylesGuard, a as jsxs, j as jsx, k as iosScrollOnFocus } from './fthry_index.Cw42Sncj.js';
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as __read, a as jsxs$1, _ as __assign, j as jsx$1, t as FORM_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { b as __read, a as jsxs$1, _ as __assign, j as jsx$1, t as FORM_Z_INDEX } from './fthry_index.Cw42Sncj.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,4 +1,4 @@
|
|
|
1
|
-
import { j as jsx, _ as __assign, a as jsxs, b as __read, l as __awaiter, m as __generator, v as featheryWindow, F as Fragment, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { j as jsx, _ as __assign, a as jsxs, b as __read, l as __awaiter, m as __generator, v as featheryWindow, F as Fragment, E as ErrorInput } from './fthry_index.Cw42Sncj.js';
|
|
2
2
|
import { useRef, useState, useEffect, memo, useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -6189,11 +6189,15 @@ function requireApi () {
|
|
|
6189
6189
|
let runAsync;
|
|
6190
6190
|
let variantId;
|
|
6191
6191
|
let meetingUrl;
|
|
6192
|
+
let variantPerFile;
|
|
6193
|
+
let variantMode;
|
|
6192
6194
|
if (typeof options === 'object') {
|
|
6193
6195
|
runAsync = !options.waitForCompletion;
|
|
6194
6196
|
pages = options.pages;
|
|
6195
6197
|
variantId = options.variantId;
|
|
6196
6198
|
meetingUrl = options.meetingUrl;
|
|
6199
|
+
variantPerFile = options.variantPerFile;
|
|
6200
|
+
variantMode = options.variantMode;
|
|
6197
6201
|
}
|
|
6198
6202
|
else {
|
|
6199
6203
|
// deprecated usage, options is runAsync
|
|
@@ -6207,6 +6211,8 @@ function requireApi () {
|
|
|
6207
6211
|
pages,
|
|
6208
6212
|
meeting_url: meetingUrl,
|
|
6209
6213
|
collaborator_user: collaboratorId,
|
|
6214
|
+
variant_per_file: variantPerFile,
|
|
6215
|
+
variant_mode: variantMode,
|
|
6210
6216
|
};
|
|
6211
6217
|
const res = await (0, utils_1.apiFetch)(sdkKey, `${(0, utils_1.getStaticUrl)()}ai/vision/`, {
|
|
6212
6218
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -39437,7 +39443,7 @@ function useTrackUserInteraction(formRef, activeStep, stepKey, formName) {
|
|
|
39437
39443
|
}, [activeStep, stepKey, formName]);
|
|
39438
39444
|
}
|
|
39439
39445
|
|
|
39440
|
-
var AssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_index.
|
|
39446
|
+
var AssistantChat = lazy(function () { return import(/* webpackChunkName: "AssistantChat" */ './fthry_index.DE_JfnGK.js'); });
|
|
39441
39447
|
var getSubmissionErrorMessage = function (error) {
|
|
39442
39448
|
if (error instanceof TypeError && error.message === 'Failed to fetch') {
|
|
39443
39449
|
return 'Unable to upload files. Please check your connection and try again.';
|
|
@@ -45558,7 +45564,7 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
45558
45564
|
_b.sent();
|
|
45559
45565
|
_a = initInfo(), userId = _a.userId, collaboratorId = _a.collaboratorId;
|
|
45560
45566
|
url = "".concat(API_URL, "event/");
|
|
45561
|
-
data = __assign(__assign({ form_key: this.formKey }, eventData), (userId ? { fuser_key: userId } : {}));
|
|
45567
|
+
data = __assign(__assign(__assign({ form_key: this.formKey }, eventData), (userId ? { fuser_key: userId } : {})), { event_id: v4$1(), timestamp: new Date().toISOString() });
|
|
45562
45568
|
if (collaboratorId)
|
|
45563
45569
|
data.collaborator_user = collaboratorId;
|
|
45564
45570
|
if (this.version)
|
|
@@ -45589,16 +45595,7 @@ var FeatheryClient = /** @class */ (function (_super) {
|
|
|
45589
45595
|
return;
|
|
45590
45596
|
throw error;
|
|
45591
45597
|
})
|
|
45592
|
-
.then(function () {
|
|
45593
|
-
return _this._fetch(url, options, true, true).catch(function (e) {
|
|
45594
|
-
if (e instanceof TypeError && navigator.onLine)
|
|
45595
|
-
// Wait 5 seconds since event may have actually been registered
|
|
45596
|
-
// and just needs to be processed. If online, means it's not an
|
|
45597
|
-
// offline error.
|
|
45598
|
-
return new Promise(function (resolve) { return setTimeout(resolve, 5000); });
|
|
45599
|
-
throw e;
|
|
45600
|
-
});
|
|
45601
|
-
});
|
|
45598
|
+
.then(function () { return _this._fetch(url, options, true, true); });
|
|
45602
45599
|
}, url, options, 'registerEvent', stepKey);
|
|
45603
45600
|
};
|
|
45604
45601
|
if (eventData.completed && prom)
|
|
@@ -45981,9 +45978,9 @@ function init(sdkKey, options) {
|
|
|
45981
45978
|
if (runningInClient()) {
|
|
45982
45979
|
// Dynamically load libraries that must be client side
|
|
45983
45980
|
global.scriptjsLoadPromise = import(
|
|
45984
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
45981
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.Bp60MFMf.js').then(function (n) { return n.s; });
|
|
45985
45982
|
global.webfontloaderPromise = import(
|
|
45986
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
45983
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.BkfUAKKA.js').then(function (n) { return n.w; });
|
|
45987
45984
|
// Client-side tracking logic
|
|
45988
45985
|
if (initState.userTracking === 'cookie') {
|
|
45989
45986
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -46129,7 +46126,7 @@ function getFieldValues() {
|
|
|
46129
46126
|
return __assign({}, fieldValues);
|
|
46130
46127
|
}
|
|
46131
46128
|
function logFeatheryBadge() {
|
|
46132
|
-
console.log('%c Feathery %c v' + "2.
|
|
46129
|
+
console.log('%c Feathery %c v' + "2.24.0" + ' ', // replaced with real version during build
|
|
46133
46130
|
'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;');
|
|
46134
46131
|
}
|
|
46135
46132
|
|
|
@@ -47562,39 +47559,39 @@ breakpoint) {
|
|
|
47562
47559
|
return styles.getTarget('inner-container', undefined, viewport === 'mobile');
|
|
47563
47560
|
};
|
|
47564
47561
|
|
|
47565
|
-
var AddressLine1 = lazy(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
47566
|
-
var ButtonGroupField = lazy(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
47567
|
-
var CheckboxField = lazy(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
47562
|
+
var AddressLine1 = lazy(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.B1mI_nkL.js'); });
|
|
47563
|
+
var ButtonGroupField = lazy(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.BdqBOOCg.js'); });
|
|
47564
|
+
var CheckboxField = lazy(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.CrRjSHn5.js'); });
|
|
47568
47565
|
var CheckboxGroupField = lazy(function () {
|
|
47569
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
47566
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.LEBoicJ3.js');
|
|
47570
47567
|
});
|
|
47571
|
-
var ColorPickerField = lazy(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
47572
|
-
var CustomField = lazy(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
47568
|
+
var ColorPickerField = lazy(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.Cu45IR9p.js'); });
|
|
47569
|
+
var CustomField = lazy(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.CvvMEgBS.js'); });
|
|
47573
47570
|
var DateSelectorField = lazy(function () {
|
|
47574
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
47571
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.CzvRN7bv.js');
|
|
47575
47572
|
});
|
|
47576
|
-
var DropdownField = lazy(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
47573
|
+
var DropdownField = lazy(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.BIJhafFv.js'); });
|
|
47577
47574
|
var DropdownMultiField = lazy(function () {
|
|
47578
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
47575
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.C_GjXlZr.js');
|
|
47579
47576
|
});
|
|
47580
|
-
var FileUploadField = lazy(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
47581
|
-
var MatrixField = lazy(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
47582
|
-
var PasswordField = lazy(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
47577
|
+
var FileUploadField = lazy(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.drUEPtsd.js'); });
|
|
47578
|
+
var MatrixField = lazy(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.C0Dov5nE.js'); });
|
|
47579
|
+
var PasswordField = lazy(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.Bn5uzN59.js'); });
|
|
47583
47580
|
var PaymentMethodField = lazy(function () {
|
|
47584
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
47581
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.CDQLu6HD.js');
|
|
47585
47582
|
});
|
|
47586
|
-
var PhoneField = lazy(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
47587
|
-
var PinInputField = lazy(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
47588
|
-
var QRScanner = lazy(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
47583
|
+
var PhoneField = lazy(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.CBqbHxMx.js'); });
|
|
47584
|
+
var PinInputField = lazy(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.DsfZyITQ.js'); });
|
|
47585
|
+
var QRScanner = lazy(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.C-djGiaS.js'); });
|
|
47589
47586
|
var RadioButtonGroupField = lazy(function () {
|
|
47590
47587
|
return import(
|
|
47591
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
47588
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.D52ARHUD.js');
|
|
47592
47589
|
});
|
|
47593
|
-
var RatingField = lazy(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
47594
|
-
var SignatureField = lazy(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
47595
|
-
var SliderField = lazy(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
47596
|
-
var TextField = lazy(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
47597
|
-
var TextArea = lazy(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
47590
|
+
var RatingField = lazy(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.Bdu4nau6.js'); });
|
|
47591
|
+
var SignatureField = lazy(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.CzM_hr1x.js'); });
|
|
47592
|
+
var SliderField = lazy(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.C5VHKe3D.js'); });
|
|
47593
|
+
var TextField = lazy(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.RUzLaqoe.js'); });
|
|
47594
|
+
var TextArea = lazy(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.CA1Bdo9s.js'); });
|
|
47598
47595
|
var Fields = {
|
|
47599
47596
|
AddressLine1: AddressLine1,
|
|
47600
47597
|
ButtonGroupField: ButtonGroupField,
|
|
@@ -48544,7 +48541,7 @@ function ElementSkeleton(_a) {
|
|
|
48544
48541
|
}
|
|
48545
48542
|
var templateObject_1;
|
|
48546
48543
|
|
|
48547
|
-
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
48544
|
+
var TableElement = lazy(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.BfQjfY-v.js'); });
|
|
48548
48545
|
var Basic = {
|
|
48549
48546
|
ImageElement: ImageElement,
|
|
48550
48547
|
VideoElement: VideoElement,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as featheryDoc, aq as devicePixelRatio, g as getDefaultExportFromCjs, b as __read, a as jsxs, j as jsx, _ as __assign, F as Fragment, l as __awaiter, m as __generator, ar as toBase64, o as debounce, as as MODAL_Z_INDEX, ad as CloseIcon, at as dataURLToFile, t as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { f as featheryDoc, aq as devicePixelRatio, g as getDefaultExportFromCjs, b as __read, a as jsxs, j as jsx, _ as __assign, F as Fragment, l as __awaiter, m as __generator, ar as toBase64, o as debounce, as as MODAL_Z_INDEX, ad as CloseIcon, at as dataURLToFile, t as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.Cw42Sncj.js';
|
|
2
2
|
import React__default, { Component, forwardRef, useState, useRef, useImperativeHandle, useEffect, useCallback, Suspense } from 'react';
|
|
3
|
-
import { P as PropTypes } from './fthry_index.
|
|
3
|
+
import { P as PropTypes } from './fthry_index.D9Soe4dO.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1433,7 +1433,7 @@ function SignatureField(_a) {
|
|
|
1433
1433
|
useEffect(function () {
|
|
1434
1434
|
if (!global.webfontloaderPromise)
|
|
1435
1435
|
global.webfontloaderPromise = import(
|
|
1436
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
1436
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.BkfUAKKA.js').then(function (n) { return n.w; });
|
|
1437
1437
|
global.webfontloaderPromise.then(function (WebFont) {
|
|
1438
1438
|
WebFont.load({ google: { families: ['La Belle Aurore'] } });
|
|
1439
1439
|
});
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { j as jsx, G as Global, w as css, x as __makeTemplateObject, _ as __assign, b as __read, y as isMobile, v as featheryWindow, f as featheryDoc, u as useBorder, a as jsxs$1, h as hoverStylesGuard, r as resetStyles, z as __rest, B as formatDateString } from './fthry_index.
|
|
1
|
+
import { j as jsx, G as Global, w as css, x as __makeTemplateObject, _ as __assign, b as __read, y as isMobile, v as featheryWindow, f as featheryDoc, u as useBorder, a as jsxs$1, h as hoverStylesGuard, r as resetStyles, z as __rest, B as formatDateString } from './fthry_index.Cw42Sncj.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { useMemo, useLayoutEffect, cloneElement, createRef, Component, useRef, useCallback, useEffect, createElement, memo, useState } from 'react';
|
|
4
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
5
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
4
|
+
import { P as Placeholder } from './fthry_Placeholder.Mlmdw3dr.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DGHEvC_N.js';
|
|
6
6
|
import { jsxs, jsx as jsx$1 } from 'react/jsx-runtime';
|
|
7
7
|
import * as ReactDOM from 'react-dom';
|
|
8
8
|
import ReactDOM__default from 'react-dom';
|
|
9
|
-
import { I as IMask, a as IMaskInput } from './fthry_input.
|
|
9
|
+
import { I as IMask, a as IMaskInput } from './fthry_input.7cjySaDO.js';
|
|
10
10
|
import 'react-dom/client';
|
|
11
11
|
import 'jszip';
|
|
12
|
-
import './fthry_Overlay.
|
|
13
|
-
import './fthry_index.
|
|
12
|
+
import './fthry_Overlay.J6bfxjB6.js';
|
|
13
|
+
import './fthry_index.D9Soe4dO.js';
|
|
14
14
|
|
|
15
15
|
var PORTAL_CONTAINER_CLASS = '.react-datepicker__portal';
|
|
16
16
|
var DATEPICKER_PADDING_TOP_VALUE = '--datepicker-pad-top';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { b as __read, a as jsxs, _ as __assign, j as jsx, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { b as __read, a as jsxs, _ as __assign, j as jsx, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.Cw42Sncj.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.XNq3-cui.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.CrRjSHn5.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DGHEvC_N.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.BVgXZfea.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.J6bfxjB6.js';
|
|
12
12
|
|
|
13
13
|
var applyRadioGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('radioGroup');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, j as jsx, _ as __assign, a as jsxs, b as __read, e as __spreadArray, i as initInfo, A as API_URL } from './fthry_index.
|
|
1
|
+
import { g as getDefaultExportFromCjs, j as jsx, _ as __assign, a as jsxs, b as __read, e as __spreadArray, i as initInfo, A as API_URL } from './fthry_index.Cw42Sncj.js';
|
|
2
2
|
import { useRef, useCallback, useSyncExternalStore, useEffect, useState, memo, useMemo, Fragment } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as featheryWindow, a as jsxs, _ as __assign, j as jsx, b as __read, u as useBorder, h as hoverStylesGuard, am as isNum } from './fthry_index.
|
|
1
|
+
import { v as featheryWindow, a as jsxs, _ as __assign, j as jsx, b as __read, u as useBorder, h as hoverStylesGuard, am as isNum } from './fthry_index.Cw42Sncj.js';
|
|
2
2
|
import { useRef, useCallback, useEffect, useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as jsxs, _ as __assign, j as jsx, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { a as jsxs, _ as __assign, j as jsx, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.Cw42Sncj.js';
|
|
2
2
|
import { useRef, 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.XNq3-cui.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.CrRjSHn5.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.DGHEvC_N.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.BVgXZfea.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.J6bfxjB6.js';
|
|
12
12
|
|
|
13
13
|
var applyCheckboxGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('checkboxGroup');
|