@feathery/react 2.32.0 → 2.33.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/EditableCell.d.ts.map +1 -1
- package/cjs/elements/basic/TableElement/index.d.ts.map +1 -1
- package/cjs/elements/basic/TableElement/styles.d.ts +49 -1
- package/cjs/elements/basic/TableElement/styles.d.ts.map +1 -1
- package/cjs/{fthry_FormControl.BtNu9i-u.js → fthry_FormControl.DlQTwIun.js} +1 -1
- package/cjs/{fthry_InlineTooltip.DuFB8p7w.js → fthry_InlineTooltip.Dv3bWtuY.js} +2 -2
- package/cjs/{fthry_Overlay.DqGyzI8W.js → fthry_Overlay.CW-pYrr9.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.D0kI1ZxS.js → fthry_PaymentMethodField.DF99c9Yz.js} +4 -4
- package/cjs/{fthry_Placeholder.WRNgQX3l.js → fthry_Placeholder.BBOPmrWo.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.1seA7I1l.js → fthry_ShowEyeIcon.CAh-w4A6.js} +1 -1
- package/cjs/{fthry_index.WRjuuH9z.js → fthry_index.B9nY4v3g.js} +1 -1
- package/cjs/{fthry_index.CBJimbrX.js → fthry_index.BBTuvxP-.js} +5 -5
- package/cjs/{fthry_index.B96nzeqy.js → fthry_index.BBncgjlH.js} +4 -4
- package/cjs/{fthry_index.CiXHBkVl.js → fthry_index.BM76DWs0.js} +26 -26
- package/cjs/{fthry_index.BhC7LkQw.js → fthry_index.BfpdX9PY.js} +5 -5
- package/cjs/{fthry_index.BI7CrYad.js → fthry_index.BqDR6ZTR.js} +2 -2
- package/cjs/{fthry_index.BvkC5P1Q.js → fthry_index.BxKxr-vu.js} +6 -6
- package/cjs/{fthry_index.BTKf9mxG.js → fthry_index.C-1ZWbCt.js} +1 -1
- package/cjs/{fthry_index.C6CH7RhD.js → fthry_index.CAkN_LTT.js} +8 -8
- package/cjs/{fthry_index.DloMkPdT.js → fthry_index.CsZJ0VxJ.js} +5 -5
- package/cjs/{fthry_index.BccfyVDL.js → fthry_index.CszJDJSc.js} +6 -6
- package/cjs/{fthry_index.KbHjZiIM.js → fthry_index.CyzpvBzo.js} +6 -6
- package/cjs/{fthry_index.D4RrBVB-.js → fthry_index.D534gCiX.js} +1 -1
- package/cjs/{fthry_index.J4GcA3vx.js → fthry_index.DLWQCVEp.js} +1 -1
- package/cjs/{fthry_index.CGQA5QkX.js → fthry_index.DUtB4IeG.js} +3 -3
- package/cjs/{fthry_index.B_-iRvUH.js → fthry_index.DXqNaOBF.js} +4 -4
- package/cjs/{fthry_index.Z6a5kUfj.js → fthry_index.DZ2YmjdV.js} +34 -54
- package/cjs/{fthry_index.CUO7vSY3.js → fthry_index.Ddy1at36.js} +4 -4
- package/cjs/{fthry_index.oVFShAC8.js → fthry_index.DkNrQOM0.js} +2 -2
- package/cjs/{fthry_index.DbijQ61t.js → fthry_index.DvihBGW0.js} +1 -1
- package/cjs/{fthry_index.BEVaTA54.js → fthry_index.DygKMyYF.js} +3 -3
- package/cjs/{fthry_index.BM4ep-AK.js → fthry_index.P2F3E-i6.js} +5 -5
- package/cjs/{fthry_index.TK6Jx-jy.js → fthry_index.kubak4v9.js} +1 -1
- package/cjs/{fthry_index.C7hxyJ9f.js → fthry_index.pQYL0jJ8.js} +1 -1
- package/cjs/{fthry_input.CUTC1cQr.js → fthry_input.BUofERxj.js} +1 -1
- package/cjs/{fthry_script.DRtiXuhL.js → fthry_script.BRUVWUsj.js} +1 -1
- package/cjs/{fthry_styles.MGVgRzzA.js → fthry_styles.ClONUQyi.js} +1 -1
- package/cjs/{fthry_useElementSize.DXcMVgAq.js → fthry_useElementSize.CDdvRTKk.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.C87PZunf.js → fthry_useSalesforceSync.CEk-vrKl.js} +1 -1
- package/cjs/{fthry_webfontloader.CVSP2Jc5.js → fthry_webfontloader.cLPTza9f.js} +1 -1
- package/cjs/index.js +1 -1
- package/dist/elements/basic/TableElement/EditableCell.d.ts.map +1 -1
- package/dist/elements/basic/TableElement/index.d.ts.map +1 -1
- package/dist/elements/basic/TableElement/styles.d.ts +49 -1
- package/dist/elements/basic/TableElement/styles.d.ts.map +1 -1
- package/dist/{fthry_FormControl.C9K2iuFX.js → fthry_FormControl.PVuWlBgz.js} +1 -1
- package/dist/{fthry_InlineTooltip.CQ84q5tx.js → fthry_InlineTooltip.BbRPRDkF.js} +2 -2
- package/dist/{fthry_Overlay.CaTGHPrf.js → fthry_Overlay.xJ2zMPu8.js} +1 -1
- package/dist/{fthry_PaymentMethodField.CLy4llPE.js → fthry_PaymentMethodField.DBnHj0cn.js} +4 -4
- package/dist/{fthry_Placeholder.C8DX1xTT.js → fthry_Placeholder.D2BgfEJ9.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.CLCEl1M3.js → fthry_ShowEyeIcon.y-R1E9to.js} +1 -1
- package/dist/{fthry_index.8KDT5i8T.js → fthry_index.BejmbDod.js} +4 -4
- package/dist/{fthry_index.WnliJHmX.js → fthry_index.BlF_0Ffc.js} +2 -2
- package/dist/{fthry_index.CqNn14xm.js → fthry_index.Bpub9YIO.js} +6 -6
- package/dist/{fthry_index.DQsvec3-.js → fthry_index.BrCePUsU.js} +3 -3
- package/dist/{fthry_index.qJQlILVx.js → fthry_index.BvQ8XEJZ.js} +5 -5
- package/dist/{fthry_index.DKYX71gD.js → fthry_index.CK5OFXMa.js} +4 -4
- package/dist/{fthry_index.B260ADJ4.js → fthry_index.ChdMOr_X.js} +5 -5
- package/dist/{fthry_index.BjpHx4_T.js → fthry_index.CqR05U3I.js} +5 -5
- package/dist/{fthry_index.C1_uGweo.js → fthry_index.Cu5c8aId.js} +1 -1
- package/dist/{fthry_index.DqKZq0Ur.js → fthry_index.Cvy9sCKK.js} +4 -4
- package/dist/{fthry_index.hyYvw_PS.js → fthry_index.D0TWGtN7.js} +1 -1
- package/dist/{fthry_index.CeglQZhs.js → fthry_index.D6Ck5pB3.js} +1 -1
- package/dist/{fthry_index.DmcD0QUi.js → fthry_index.D9yH2Okw.js} +1 -1
- package/dist/{fthry_index.ty8LJs-R.js → fthry_index.DGgHIFlr.js} +2 -2
- package/dist/{fthry_index.B-oOxFi4.js → fthry_index.Dghw4DVd.js} +35 -55
- package/dist/{fthry_index.CLgjzDTi.js → fthry_index.Do4oXiDH.js} +1 -1
- package/dist/{fthry_index.CmpLevaj.js → fthry_index.URxr29cr.js} +6 -6
- package/dist/{fthry_index.C5zUlrOm.js → fthry_index.UVcw7OnE.js} +1 -1
- package/dist/{fthry_index.BZD_DEzj.js → fthry_index.brIY5h5k.js} +1 -1
- package/dist/{fthry_index.9-q7smC3.js → fthry_index.dvByw-2B.js} +3 -3
- package/dist/{fthry_index.DoGwIkbA.js → fthry_index.k6w2ySQR.js} +6 -6
- package/dist/{fthry_index.Ddf14JA6.js → fthry_index.kOfgCMDO.js} +27 -27
- package/dist/{fthry_index.CYyOgKWx.js → fthry_index.o0_GqIs7.js} +8 -8
- package/dist/{fthry_index.kP74GhA8.js → fthry_index.rCNfS1b1.js} +5 -5
- package/dist/{fthry_input.DjzutNam.js → fthry_input.BKW831Tj.js} +1 -1
- package/dist/{fthry_script.DO2CsvZO.js → fthry_script.BgSqcrR6.js} +1 -1
- package/dist/{fthry_styles.Ccd48IiB.js → fthry_styles.DbsjdZwt.js} +1 -1
- package/dist/{fthry_useElementSize.C-0G4BJy.js → fthry_useElementSize.yMElTorV.js} +1 -1
- package/dist/{fthry_useSalesforceSync.B6wBqJLI.js → fthry_useSalesforceSync.Cbl44iOq.js} +1 -1
- package/dist/{fthry_webfontloader.MZhbLTEd.js → fthry_webfontloader.BfAk31Iw.js} +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/umd/TableElement.8e41e1015eb1543af90b.js +1 -0
- package/umd/index.js +1 -1
- package/cjs/elements/basic/TableElement/useColumnWidths.d.ts +0 -7
- package/cjs/elements/basic/TableElement/useColumnWidths.d.ts.map +0 -1
- package/dist/elements/basic/TableElement/useColumnWidths.d.ts +0 -7
- package/dist/elements/basic/TableElement/useColumnWidths.d.ts.map +0 -1
- package/umd/TableElement.b9bb3cedf1a75fd2ea01.js +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as __read, u as useBorder, b as jsxs, a as __assign,
|
|
1
|
+
import { c as __read, u as useBorder, b as jsxs, a as __assign, i as hoverStylesGuard, j as jsx, r as resetStyles } from './fthry_index.kOfgCMDO.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.D2BgfEJ9.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BbRPRDkF.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.xJ2zMPu8.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,4 +1,4 @@
|
|
|
1
|
-
import { j as jsx, a as __assign, b as jsxs, c as __read,
|
|
1
|
+
import { j as jsx, a as __assign, b as jsxs, c as __read, l as __awaiter, m as __generator, v as featheryWindow, F as Fragment, E as ErrorInput } from './fthry_index.kOfgCMDO.js';
|
|
2
2
|
import { useRef, useState, useEffect, memo, useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign,
|
|
1
|
+
import { a as __assign, i as hoverStylesGuard, b as jsxs, j as jsx, k as iosScrollOnFocus } from './fthry_index.kOfgCMDO.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 jsxs, a as __assign, j as jsx, c as __read, a7 as isEmptyArray, a8 as toList, a9 as useThumbnailData, g as __spreadArray,
|
|
1
|
+
import { b as jsxs, a as __assign, j as jsx, c as __read, a7 as isEmptyArray, a8 as toList, a9 as useThumbnailData, g as __spreadArray, p as imgMaxSizeStyles, l as __awaiter, m as __generator, aa as downloadFile, ab as CloseIcon, k as iosScrollOnFocus, t as FORM_Z_INDEX, ac as justRemove } from './fthry_index.kOfgCMDO.js';
|
|
2
2
|
import { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as __awaiter, m as __generator, g as __spreadArray, c as __read, e as __values, v as featheryWindow, al as loadQRScanner, am as throttle, j as jsx, b as jsxs, a as __assign, F as Fragment, E as ErrorInput, an as qrPromise } from './fthry_index.kOfgCMDO.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.DbsjdZwt.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as __rest, j as jsx, a as __assign, b as jsxs, F as Fragment, c as __read, f as featheryDoc, d as fieldValues, s as stringifyWithNull, e as __values, g as __spreadArray
|
|
2
|
-
import { useState, useRef, useEffect, useCallback, useMemo
|
|
1
|
+
import { _ as __rest, j as jsx, a as __assign, b as jsxs, F as Fragment, c as __read, f as featheryDoc, d as fieldValues, s as stringifyWithNull, e as __values, g as __spreadArray } from './fthry_index.kOfgCMDO.js';
|
|
2
|
+
import { useState, useRef, useEffect, useCallback, useMemo } from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
@@ -290,20 +290,47 @@ var clickToEditStyle = {
|
|
|
290
290
|
fontSize: '14px'
|
|
291
291
|
};
|
|
292
292
|
var cellInputStyle = {
|
|
293
|
+
display: 'block',
|
|
293
294
|
width: '100%',
|
|
295
|
+
minWidth: 0,
|
|
296
|
+
maxWidth: '100%',
|
|
294
297
|
padding: '4px 8px',
|
|
295
298
|
border: "1px solid ".concat(colors.blue700),
|
|
296
299
|
borderRadius: '4px',
|
|
297
300
|
fontSize: '14px',
|
|
298
301
|
color: colors.gray900,
|
|
299
302
|
outline: 'none',
|
|
300
|
-
boxSizing: 'border-box'
|
|
303
|
+
boxSizing: 'border-box',
|
|
304
|
+
resize: 'none',
|
|
305
|
+
overflowY: 'auto',
|
|
306
|
+
fontFamily: 'inherit',
|
|
307
|
+
lineHeight: 1.5
|
|
301
308
|
};
|
|
302
309
|
var editableCellContentStyle = {
|
|
303
310
|
display: 'flex',
|
|
304
|
-
alignItems: '
|
|
311
|
+
alignItems: 'flex-start',
|
|
305
312
|
gap: '8px'
|
|
306
313
|
};
|
|
314
|
+
var editableCellTextStyle = {
|
|
315
|
+
flex: 1,
|
|
316
|
+
minWidth: 0,
|
|
317
|
+
whiteSpace: 'pre-wrap',
|
|
318
|
+
overflowWrap: 'anywhere',
|
|
319
|
+
wordBreak: 'break-word',
|
|
320
|
+
lineHeight: 1.5
|
|
321
|
+
};
|
|
322
|
+
var editingCellContentStyle = {
|
|
323
|
+
flex: 1,
|
|
324
|
+
minWidth: 0,
|
|
325
|
+
position: 'relative',
|
|
326
|
+
alignSelf: 'stretch'
|
|
327
|
+
};
|
|
328
|
+
var editingCellSizerStyle = __assign(__assign({}, cellInputStyle), { whiteSpace: 'pre-wrap', overflowWrap: 'anywhere', wordBreak: 'break-word', visibility: 'hidden', pointerEvents: 'none' });
|
|
329
|
+
var editingCellInputStyle = {
|
|
330
|
+
position: 'absolute',
|
|
331
|
+
inset: 0,
|
|
332
|
+
height: '100%'
|
|
333
|
+
};
|
|
307
334
|
var overflowIconStyle = {
|
|
308
335
|
display: 'flex',
|
|
309
336
|
alignItems: 'center',
|
|
@@ -689,7 +716,7 @@ function EditableCell(_a) {
|
|
|
689
716
|
shouldSaveRef.current = true;
|
|
690
717
|
};
|
|
691
718
|
var handleKeyDown = function (e) {
|
|
692
|
-
if (e.key === 'Enter') {
|
|
719
|
+
if ((e.metaKey || e.ctrlKey) && e.key === 'Enter') {
|
|
693
720
|
e.preventDefault();
|
|
694
721
|
shouldSaveRef.current = false;
|
|
695
722
|
saveEdit();
|
|
@@ -712,12 +739,12 @@ function EditableCell(_a) {
|
|
|
712
739
|
setIsMenuOpen(!isMenuOpen);
|
|
713
740
|
};
|
|
714
741
|
if (isEditing) {
|
|
715
|
-
return (jsx("
|
|
742
|
+
return (jsxs("div", __assign({ css: editingCellContentStyle }, { children: [jsx("div", __assign({ css: editingCellSizerStyle }, { children: "".concat(editValue, "\u200B") })), jsx("textarea", { ref: inputRef, value: editValue, onChange: function (e) { return setEditValue(e.target.value); }, onBlur: handleBlur, onKeyDown: handleKeyDown, css: __assign(__assign({}, cellInputStyle), editingCellInputStyle), onClick: function (e) { return e.stopPropagation(); } })] })));
|
|
716
743
|
}
|
|
717
744
|
if (isEmpty) {
|
|
718
745
|
return (jsx("span", __assign({ css: clickToEditStyle, onClick: startEditing }, { children: "Click to edit" })));
|
|
719
746
|
}
|
|
720
|
-
return (jsxs("div", __assign({ css: editableCellContentStyle }, { children: [jsx("span", __assign({ css:
|
|
747
|
+
return (jsxs("div", __assign({ css: editableCellContentStyle }, { children: [jsx("span", __assign({ css: editableCellTextStyle }, { children: displayValue })), jsx("button", __assign({ ref: menuButtonRef, type: 'button', "aria-expanded": isMenuOpen, "aria-haspopup": 'menu', css: overflowIconStyle, onClick: handleMenuToggle }, { children: jsx(OverflowIcon, {}) })), isMenuOpen &&
|
|
721
748
|
createPortal(jsxs("div", __assign({ ref: menuRef, role: 'menu', css: __assign(__assign({}, actionMenuStyle), { top: "".concat(menuPosition.top, "px"), left: "".concat(menuPosition.left, "px"), transform: 'translateX(-100%)' }) }, { children: [jsx("button", __assign({ type: 'button', role: 'menuitem', css: actionMenuItemStyle, onClick: function (e) {
|
|
722
749
|
e.stopPropagation();
|
|
723
750
|
startEditing();
|
|
@@ -1328,40 +1355,6 @@ function useTableMutations(_a) {
|
|
|
1328
1355
|
};
|
|
1329
1356
|
}
|
|
1330
1357
|
|
|
1331
|
-
/**
|
|
1332
|
-
* Measures column widths from the browser's auto layout, then locks them
|
|
1333
|
-
* for use with table-layout: fixed. Re-measures when columnCount changes.
|
|
1334
|
-
*/
|
|
1335
|
-
function useColumnWidths(tableRef, columnCount) {
|
|
1336
|
-
var _a = __read(useState(null), 2), widths = _a[0], setWidths = _a[1];
|
|
1337
|
-
var prevColumnCount = useRef(columnCount);
|
|
1338
|
-
if (prevColumnCount.current !== columnCount) {
|
|
1339
|
-
prevColumnCount.current = columnCount;
|
|
1340
|
-
setWidths(null);
|
|
1341
|
-
}
|
|
1342
|
-
useLayoutEffect(function () {
|
|
1343
|
-
var _a;
|
|
1344
|
-
if (widths !== null)
|
|
1345
|
-
return;
|
|
1346
|
-
var win = featheryWindow();
|
|
1347
|
-
if (!win || typeof win.getComputedStyle !== 'function')
|
|
1348
|
-
return;
|
|
1349
|
-
var table = tableRef.current;
|
|
1350
|
-
if (!table)
|
|
1351
|
-
return;
|
|
1352
|
-
var headerRow = (_a = table.querySelector('thead tr')) !== null && _a !== void 0 ? _a : table.querySelector('tbody tr');
|
|
1353
|
-
if (!headerRow)
|
|
1354
|
-
return;
|
|
1355
|
-
var measured = [];
|
|
1356
|
-
for (var i = 0; i < headerRow.children.length; i++) {
|
|
1357
|
-
measured.push(headerRow.children[i].getBoundingClientRect().width);
|
|
1358
|
-
}
|
|
1359
|
-
if (measured.length > 0)
|
|
1360
|
-
setWidths(measured);
|
|
1361
|
-
}, [widths, columnCount]);
|
|
1362
|
-
return widths;
|
|
1363
|
-
}
|
|
1364
|
-
|
|
1365
1358
|
function applyTableStyles(responsiveStyles) {
|
|
1366
1359
|
responsiveStyles.addTargets('table', 'thead', 'tbody', 'th', 'td', 'tr');
|
|
1367
1360
|
return responsiveStyles;
|
|
@@ -1423,11 +1416,6 @@ function TableElement(_a) {
|
|
|
1423
1416
|
var actionCellRefs = useRef(new Map());
|
|
1424
1417
|
var showEmptyState = !hasData || !hasSearchResults;
|
|
1425
1418
|
var showToolbar = enableSearch || showAddRow;
|
|
1426
|
-
var tableRef = useRef(null);
|
|
1427
|
-
var visibleColumnCount = columns.length +
|
|
1428
|
-
(!isTransposed && actions.length > 0 ? 1 : 0) +
|
|
1429
|
-
(showStandaloneDeleteColumn ? 1 : 0);
|
|
1430
|
-
var columnWidths = useColumnWidths(tableRef, visibleColumnCount);
|
|
1431
1419
|
return (jsxs("div", __assign({ css: __assign(__assign({}, containerStyle), styles.getTarget('container')) }, { children: [showToolbar && (jsxs("div", __assign({ css: toolbarStyle }, { children: [enableSearch ? (jsx(Search, { searchQuery: searchQuery, onSearchChange: setSearchQuery })) : (jsx("div", {})), showAddRow && (jsx("button", __assign({ type: 'button', css: addRowButtonStyle, onClick: function () {
|
|
1432
1420
|
setDeleteRowIndex(null);
|
|
1433
1421
|
handleAddRow();
|
|
@@ -1437,15 +1425,7 @@ function TableElement(_a) {
|
|
|
1437
1425
|
prev.forEach(function (idx) { return next.add(idx + 1); });
|
|
1438
1426
|
return next;
|
|
1439
1427
|
});
|
|
1440
|
-
} }, { children: "+ Add Row" })))] }))), showEmptyState ? (jsx(EmptyState, { hasSearchQuery: searchQuery.trim().length > 0 })) : (jsx("div", __assign({ css: { overflowX: 'auto' } }, { children: jsxs("table", __assign({
|
|
1441
|
-
? {
|
|
1442
|
-
tableLayout: 'fixed',
|
|
1443
|
-
minWidth: "".concat(columnWidths.reduce(function (a, b) { return a + b; }, 0), "px")
|
|
1444
|
-
}
|
|
1445
|
-
: {
|
|
1446
|
-
tableLayout: 'auto',
|
|
1447
|
-
width: 'max-content'
|
|
1448
|
-
})), styles.getTarget('table')) }, { children: [columnWidths && (jsx("colgroup", { children: columnWidths.map(function (w, i) { return (jsx("col", { style: { width: "".concat(w, "px") } }, i)); }) })), !isTransposed && (jsx("thead", __assign({ css: theadStyle }, { children: jsxs("tr", { children: [jsx(SortHeader, { columns: columns, enableSort: enableSort, sortColumn: sortColumn, sortDirection: sortDirection, onSort: handleSort, styles: styles }), actions.length > 0 && (jsx("th", { scope: 'col', css: __assign(__assign(__assign({}, thStyle), { paddingLeft: 0 }), styles.getTarget('th')) })), showStandaloneDeleteColumn && (jsx("th", { scope: 'col', css: __assign(__assign(__assign({}, thStyle), deleteColumnStyle), styles.getTarget('th')) }))] }) }))), jsxs("tbody", __assign({ css: styles.getTarget('tbody') }, { children: [paginatedRowIndices.map(function (rowIndex) {
|
|
1428
|
+
} }, { children: "+ Add Row" })))] }))), showEmptyState ? (jsx(EmptyState, { hasSearchQuery: searchQuery.trim().length > 0 })) : (jsx("div", __assign({ css: { overflowX: 'auto' } }, { children: jsxs("table", __assign({ css: __assign(__assign({}, tableStyle), styles.getTarget('table')) }, { children: [!isTransposed && (jsx("thead", __assign({ css: theadStyle }, { children: jsxs("tr", { children: [jsx(SortHeader, { columns: columns, enableSort: enableSort, sortColumn: sortColumn, sortDirection: sortDirection, onSort: handleSort, styles: styles }), actions.length > 0 && (jsx("th", { scope: 'col', css: __assign(__assign(__assign({}, thStyle), { paddingLeft: 0 }), styles.getTarget('th')) })), showStandaloneDeleteColumn && (jsx("th", { scope: 'col', css: __assign(__assign(__assign({}, thStyle), deleteColumnStyle), styles.getTarget('th')) }))] }) }))), jsxs("tbody", __assign({ css: styles.getTarget('tbody') }, { children: [paginatedRowIndices.map(function (rowIndex) {
|
|
1449
1429
|
var _a, _b;
|
|
1450
1430
|
var rowData = {};
|
|
1451
1431
|
if (!isTransposed) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as jsx, a as __assign, c as __read, b as jsxs, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { j as jsx, a as __assign, c as __read, b as jsxs, E as ErrorInput } from './fthry_index.kOfgCMDO.js';
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { b as jsxs, a as __assign, j as jsx,
|
|
1
|
+
import { b as jsxs, a as __assign, j as jsx, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.kOfgCMDO.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.PVuWlBgz.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.D6Ck5pB3.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BbRPRDkF.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.Cbl44iOq.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.xJ2zMPu8.js';
|
|
12
12
|
|
|
13
13
|
var applyCheckboxGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('checkboxGroup');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as __read, b as jsxs$1, a as __assign, j as jsx$1,
|
|
1
|
+
import { c as __read, b as jsxs$1, a as __assign, j as jsx$1, t as FORM_Z_INDEX } from './fthry_index.kOfgCMDO.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,7 +1,7 @@
|
|
|
1
|
-
import { c as __read, j as jsx, F as Fragment, y as isMobile, b as jsxs, a as __assign,
|
|
1
|
+
import { c as __read, j as jsx, F as Fragment, y as isMobile, b as jsxs, a as __assign, t as FORM_Z_INDEX, k as iosScrollOnFocus } from './fthry_index.kOfgCMDO.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.xJ2zMPu8.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.D6Ck5pB3.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { c as __read, b as jsxs, a as __assign, j as jsx,
|
|
1
|
+
import { c as __read, b as jsxs, a as __assign, j as jsx, k as iosScrollOnFocus, r as resetStyles } from './fthry_index.kOfgCMDO.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.PVuWlBgz.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.D6Ck5pB3.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BbRPRDkF.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.Cbl44iOq.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.xJ2zMPu8.js';
|
|
12
12
|
|
|
13
13
|
var applyRadioGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('radioGroup');
|
|
@@ -46110,9 +46110,9 @@ function init(sdkKey, options) {
|
|
|
46110
46110
|
if (runningInClient()) {
|
|
46111
46111
|
// Dynamically load libraries that must be client side
|
|
46112
46112
|
global.scriptjsLoadPromise = import(
|
|
46113
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
46113
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.BgSqcrR6.js').then(function (n) { return n.s; });
|
|
46114
46114
|
global.webfontloaderPromise = import(
|
|
46115
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
46115
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.BfAk31Iw.js').then(function (n) { return n.w; });
|
|
46116
46116
|
// Client-side tracking logic
|
|
46117
46117
|
if (initState.userTracking === 'cookie') {
|
|
46118
46118
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -46258,7 +46258,7 @@ function getFieldValues() {
|
|
|
46258
46258
|
return __assign({}, fieldValues);
|
|
46259
46259
|
}
|
|
46260
46260
|
function logFeatheryBadge() {
|
|
46261
|
-
console.log('%c Feathery %c v' + "2.
|
|
46261
|
+
console.log('%c Feathery %c v' + "2.33.0" + ' ', // replaced with real version during build
|
|
46262
46262
|
'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;');
|
|
46263
46263
|
}
|
|
46264
46264
|
|
|
@@ -47740,39 +47740,39 @@ breakpoint) {
|
|
|
47740
47740
|
return styles.getTarget('inner-container', undefined, viewport === 'mobile');
|
|
47741
47741
|
};
|
|
47742
47742
|
|
|
47743
|
-
var AddressLine1 = lazy$1(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
47744
|
-
var ButtonGroupField = lazy$1(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
47745
|
-
var CheckboxField = lazy$1(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
47743
|
+
var AddressLine1 = lazy$1(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.ChdMOr_X.js'); });
|
|
47744
|
+
var ButtonGroupField = lazy$1(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.CK5OFXMa.js'); });
|
|
47745
|
+
var CheckboxField = lazy$1(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.D6Ck5pB3.js'); });
|
|
47746
47746
|
var CheckboxGroupField = lazy$1(function () {
|
|
47747
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
47747
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.URxr29cr.js');
|
|
47748
47748
|
});
|
|
47749
|
-
var ColorPickerField = lazy$1(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
47750
|
-
var CustomField = lazy$1(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
47749
|
+
var ColorPickerField = lazy$1(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.brIY5h5k.js'); });
|
|
47750
|
+
var CustomField = lazy$1(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.D0TWGtN7.js'); });
|
|
47751
47751
|
var DateSelectorField = lazy$1(function () {
|
|
47752
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
47752
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.Bpub9YIO.js');
|
|
47753
47753
|
});
|
|
47754
|
-
var DropdownField = lazy$1(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
47754
|
+
var DropdownField = lazy$1(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.BejmbDod.js'); });
|
|
47755
47755
|
var DropdownMultiField = lazy$1(function () {
|
|
47756
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
47756
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.CqR05U3I.js');
|
|
47757
47757
|
});
|
|
47758
|
-
var FileUploadField = lazy$1(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
47759
|
-
var MatrixField = lazy$1(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
47760
|
-
var PasswordField = lazy$1(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
47758
|
+
var FileUploadField = lazy$1(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.D9yH2Okw.js'); });
|
|
47759
|
+
var MatrixField = lazy$1(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.dvByw-2B.js'); });
|
|
47760
|
+
var PasswordField = lazy$1(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.rCNfS1b1.js'); });
|
|
47761
47761
|
var PaymentMethodField = lazy$1(function () {
|
|
47762
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
47762
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.DBnHj0cn.js');
|
|
47763
47763
|
});
|
|
47764
|
-
var PhoneField = lazy$1(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
47765
|
-
var PinInputField = lazy$1(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
47766
|
-
var QRScanner = lazy$1(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
47764
|
+
var PhoneField = lazy$1(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.BvQ8XEJZ.js'); });
|
|
47765
|
+
var PinInputField = lazy$1(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.Cu5c8aId.js'); });
|
|
47766
|
+
var QRScanner = lazy$1(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.DGgHIFlr.js'); });
|
|
47767
47767
|
var RadioButtonGroupField = lazy$1(function () {
|
|
47768
47768
|
return import(
|
|
47769
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
47769
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.k6w2ySQR.js');
|
|
47770
47770
|
});
|
|
47771
|
-
var RatingField = lazy$1(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
47772
|
-
var SignatureField = lazy$1(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
47773
|
-
var SliderField = lazy$1(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
47774
|
-
var TextField = lazy$1(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
47775
|
-
var TextArea = lazy$1(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
47771
|
+
var RatingField = lazy$1(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.Do4oXiDH.js'); });
|
|
47772
|
+
var SignatureField = lazy$1(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.BrCePUsU.js'); });
|
|
47773
|
+
var SliderField = lazy$1(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.BlF_0Ffc.js'); });
|
|
47774
|
+
var TextField = lazy$1(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.o0_GqIs7.js'); });
|
|
47775
|
+
var TextArea = lazy$1(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.Cvy9sCKK.js'); });
|
|
47776
47776
|
var Fields = {
|
|
47777
47777
|
AddressLine1: AddressLine1,
|
|
47778
47778
|
ButtonGroupField: ButtonGroupField,
|
|
@@ -48722,7 +48722,7 @@ function ElementSkeleton(_a) {
|
|
|
48722
48722
|
}
|
|
48723
48723
|
var templateObject_1;
|
|
48724
48724
|
|
|
48725
|
-
var TableElement = lazy$1(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.
|
|
48725
|
+
var TableElement = lazy$1(function () { return import(/* webpackChunkName: "TableElement" */ './fthry_index.Dghw4DVd.js'); });
|
|
48726
48726
|
var Basic = {
|
|
48727
48727
|
ImageElement: ImageElement,
|
|
48728
48728
|
VideoElement: VideoElement,
|
|
@@ -59465,4 +59465,4 @@ var Feathery = {
|
|
|
59465
59465
|
renderAt: renderAt
|
|
59466
59466
|
};
|
|
59467
59467
|
|
|
59468
|
-
export { next as $, countryData as A, stringify$2 as B, rulesheet as C, DROPDOWN_Z_INDEX as D, ErrorInput as E, Fragment as F, Global as G, COMMENT as H, middleware as I, combine as J, match as K, serialize as L, copy as M, replace as N, MOZ as O, MS as P, KEYFRAMES as Q, RULESET as R, DECLARATION as S, dealloc as T, alloc as U, hash as V, WEBKIT as W, charat as X, strlen as Y, indexof as Z, __rest$1 as _, __assign as a, token as a0, from as a1, peek as a2, delimit as a3, slice as a4, position as a5, compile as a6, isEmptyArray as a7, toList as a8, useThumbnailData as a9, updateTheme as aA, setFieldValues as aB, getFieldValues as aC, renderAt as aD, LoginForm as aE, useAuthClient as aF, AssistantChat as aG, Feathery as aH, StyledContainer as aI, downloadFile as aa, CloseIcon as ab, justRemove as ac, getStripe as ad, filterKeys as ae, ERROR_COLOR as af, phoneLib as ag, authState as ah, firebaseSMSCountries as ai, phoneLibPromise as aj, isNum as ak, loadQRScanner as al, throttle$1 as am, qrPromise as an, devicePixelRatio as ao, toBase64 as ap, MODAL_Z_INDEX as aq, dataURLToFile as ar, cls as as, getFieldValue$1 as at, emailPatternStr as au, replaceTextVariables as av, ReactForm as aw, Elements as ax, init as ay, updateUserId as az, jsxs as b, __read as c, fieldValues as d, __values as e, featheryDoc as f, __spreadArray as g,
|
|
59468
|
+
export { next as $, countryData as A, stringify$2 as B, rulesheet as C, DROPDOWN_Z_INDEX as D, ErrorInput as E, Fragment as F, Global as G, COMMENT as H, middleware as I, combine as J, match as K, serialize as L, copy as M, replace as N, MOZ as O, MS as P, KEYFRAMES as Q, RULESET as R, DECLARATION as S, dealloc as T, alloc as U, hash as V, WEBKIT as W, charat as X, strlen as Y, indexof as Z, __rest$1 as _, __assign as a, token as a0, from as a1, peek as a2, delimit as a3, slice as a4, position as a5, compile as a6, isEmptyArray as a7, toList as a8, useThumbnailData as a9, updateTheme as aA, setFieldValues as aB, getFieldValues as aC, renderAt as aD, LoginForm as aE, useAuthClient as aF, AssistantChat as aG, Feathery as aH, StyledContainer as aI, downloadFile as aa, CloseIcon as ab, justRemove as ac, getStripe as ad, filterKeys as ae, ERROR_COLOR as af, phoneLib as ag, authState as ah, firebaseSMSCountries as ai, phoneLibPromise as aj, isNum as ak, loadQRScanner as al, throttle$1 as am, qrPromise as an, devicePixelRatio as ao, toBase64 as ap, MODAL_Z_INDEX as aq, dataURLToFile as ar, cls as as, getFieldValue$1 as at, emailPatternStr as au, replaceTextVariables as av, ReactForm as aw, Elements as ax, init as ay, updateUserId as az, jsxs as b, __read as c, fieldValues as d, __values as e, featheryDoc as f, __spreadArray as g, getDefaultExportFromCjs as h, hoverStylesGuard as i, jsx$1 as j, iosScrollOnFocus as k, __awaiter$2 as l, __generator as m, FeatheryClient as n, debounce as o, imgMaxSizeStyles as p, noTextSelectStyles as q, resetStyles as r, stringifyWithNull as s, FORM_Z_INDEX as t, useBorder as u, featheryWindow as v, css as w, __makeTemplateObject as x, isMobile as y, formatDateString as z };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { b as jsxs, a as __assign, j as jsx, D as DROPDOWN_Z_INDEX, c as __read, u as useBorder, at as getFieldValue, s as stringifyWithNull,
|
|
1
|
+
import { b as jsxs, a as __assign, j as jsx, D as DROPDOWN_Z_INDEX, c as __read, u as useBorder, at as getFieldValue, s as stringifyWithNull, i as hoverStylesGuard, k as iosScrollOnFocus, t as FORM_Z_INDEX, r as resetStyles, au as emailPatternStr } from './fthry_index.kOfgCMDO.js';
|
|
2
2
|
import { memo, useRef, useState } from 'react';
|
|
3
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { O as Overlay } from './fthry_Overlay.
|
|
6
|
-
import { u as useElementSize } from './fthry_useElementSize.
|
|
7
|
-
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.
|
|
8
|
-
import { a as IMaskInput } from './fthry_input.
|
|
3
|
+
import { P as Placeholder } from './fthry_Placeholder.D2BgfEJ9.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BbRPRDkF.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.xJ2zMPu8.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.yMElTorV.js';
|
|
7
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.y-R1E9to.js';
|
|
8
|
+
import { a as IMaskInput } from './fthry_input.BKW831Tj.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.UVcw7OnE.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,13 +1,13 @@
|
|
|
1
|
-
import { u as useBorder, c as __read, b as jsxs, a as __assign,
|
|
1
|
+
import { u as useBorder, c as __read, b as jsxs, a as __assign, i as hoverStylesGuard, j as jsx, k as iosScrollOnFocus, t as FORM_Z_INDEX, r as resetStyles } from './fthry_index.kOfgCMDO.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.D2BgfEJ9.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BbRPRDkF.js';
|
|
5
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.y-R1E9to.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.xJ2zMPu8.js';
|
|
11
11
|
|
|
12
12
|
function PasswordField(_a) {
|
|
13
13
|
var _b;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useState, useMemo } from 'react';
|
|
3
|
-
import { as as cls, b as jsxs, F as Fragment, j as jsx, G as Global, w as css, x as __makeTemplateObject } from './fthry_index.
|
|
3
|
+
import { as as cls, b as jsxs, F as Fragment, j as jsx, G as Global, w as css, x as __makeTemplateObject } from './fthry_index.kOfgCMDO.js';
|
|
4
4
|
import { flushSync } from 'react-dom';
|
|
5
5
|
|
|
6
6
|
function canUseDom() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as __read,
|
|
1
|
+
import { c as __read, l as __awaiter, m as __generator, n as FeatheryClient } from './fthry_index.kOfgCMDO.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 { aG as AssistantChat, ax as Elements, aH as Feathery, aw as Form, aE as LoginForm, aI as StyledContainer, aC as getFieldValues, ay as init, aD as renderAt, aB as setFieldValues, aA as updateTheme, az as updateUserId, aF as useAuthClient } from './fthry_index.
|
|
1
|
+
export { aG as AssistantChat, ax as Elements, aH as Feathery, aw as Form, aE as LoginForm, aI as StyledContainer, aC as getFieldValues, ay as init, aD as renderAt, aB as setFieldValues, aA as updateTheme, az as updateUserId, aF as useAuthClient } from './fthry_index.kOfgCMDO.js';
|
|
2
2
|
import 'react-dom/client';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|