@feathery/react 2.16.4 → 2.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/Form/grid/Element/index.d.ts.map +1 -1
- package/cjs/Form/index.d.ts.map +1 -1
- package/cjs/elements/basic/TableElement/Actions.d.ts.map +1 -1
- package/cjs/elements/basic/TableElement/styles.d.ts +10 -4
- package/cjs/elements/basic/TableElement/styles.d.ts.map +1 -1
- package/cjs/{fthry_FormControl.Bgh-mIjy.js → fthry_FormControl.CGg0IeXr.js} +1 -1
- package/cjs/{fthry_InlineTooltip.auFs9a5s.js → fthry_InlineTooltip.P0bs46ac.js} +2 -2
- package/cjs/{fthry_Overlay.Bkd8kkoH.js → fthry_Overlay.YYMQ0rle.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.CRU8I39r.js → fthry_PaymentMethodField.CkH4xfAT.js} +4 -4
- package/cjs/{fthry_Placeholder.DEgGUrBj.js → fthry_Placeholder.B3wxudxl.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.CtzgR1jF.js → fthry_ShowEyeIcon.Tz_ih5rK.js} +1 -1
- package/cjs/{fthry_index.CLXUeHKN.js → fthry_index.1MAhIX0W.js} +3 -3
- package/cjs/{fthry_index.CRDDr01i.js → fthry_index.4WkvE-YH.js} +8 -8
- package/cjs/{fthry_index.CVVkGWoS.js → fthry_index.AAoM4ARK.js} +1 -1
- package/cjs/{fthry_index.R4pSt2d2.js → fthry_index.B3Nxxram.js} +2 -2
- package/cjs/{fthry_index.Lkx3mO74.js → fthry_index.B3hbXn91.js} +4 -4
- package/cjs/{fthry_index.Blf8s7tI.js → fthry_index.B9dEQvKj.js} +5 -5
- package/cjs/{fthry_index.DSxgvkD6.js → fthry_index.BDLQgDdz.js} +6 -6
- package/cjs/{fthry_index.V5EVqSky.js → fthry_index.BMb8C3zB.js} +1 -1
- package/cjs/{fthry_index.DwLX_2Pg.js → fthry_index.BcXO_GGp.js} +6 -6
- package/cjs/{fthry_index.DsC9aI6w.js → fthry_index.BdRhmfps.js} +27 -20
- package/cjs/{fthry_index.C4sU4QL2.js → fthry_index.BigqliGp.js} +6 -6
- package/cjs/{fthry_index.CzboYjT9.js → fthry_index.C5sM9cV2.js} +4 -4
- package/cjs/{fthry_index.BgTQ1FlN.js → fthry_index.CORtDstR.js} +254 -200
- package/cjs/{fthry_index.KP0Ca3IU.js → fthry_index.CUL8hPrE.js} +3 -3
- package/cjs/{fthry_index.B2qUeiLW.js → fthry_index.CVYjh6Zs.js} +1 -1
- package/cjs/{fthry_index.BkrdVXlS.js → fthry_index.D1TUv38t.js} +1 -1
- package/cjs/{fthry_index.CLCxPTbZ.js → fthry_index.D2r7GgXn.js} +5 -5
- package/cjs/{fthry_index.oWGHOOOB.js → fthry_index.DH476wYp.js} +1 -1
- package/cjs/{fthry_index.Cp_TTbT2.js → fthry_index.DJnrLUVL.js} +2 -2
- package/cjs/{fthry_index.DrcVvx6M.js → fthry_index.DNET3Cav.js} +1 -1
- package/cjs/{fthry_index.D58YnjUa.js → fthry_index.Dey7yneu.js} +4 -4
- package/cjs/{fthry_index.DE8kmziv.js → fthry_index.MG424aMN.js} +5 -5
- package/cjs/{fthry_index.C2faZV4U.js → fthry_index.MrtH1Gel.js} +5 -5
- package/cjs/{fthry_index.CErXN5ib.js → fthry_index.mMYd51S5.js} +1 -1
- package/cjs/{fthry_input.BdPywaVl.js → fthry_input.C4SGzYQl.js} +1 -1
- package/cjs/{fthry_script.BvEAOIuu.js → fthry_script.DUTipoT7.js} +1 -1
- package/cjs/{fthry_styles.BnOkS_mr.js → fthry_styles.CFAKdAan.js} +1 -1
- package/cjs/{fthry_useElementSize._nmMVpU4.js → fthry_useElementSize.BtQK6i9p.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.lNF_A1ej.js → fthry_useSalesforceSync.BUV5UUVK.js} +1 -1
- package/cjs/{fthry_webfontloader.BZzxrDoy.js → fthry_webfontloader.Cwoma3zP.js} +1 -1
- package/cjs/index.d.ts +1 -0
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +1 -1
- package/cjs/utils/error.d.ts +1 -3
- package/cjs/utils/error.d.ts.map +1 -1
- package/cjs/utils/featheryClient/index.d.ts.map +1 -1
- package/cjs/utils/featheryClient/integrationClient.d.ts +2 -1
- package/cjs/utils/featheryClient/integrationClient.d.ts.map +1 -1
- package/cjs/utils/featheryClient/utils.d.ts +1 -1
- package/cjs/utils/featheryClient/utils.d.ts.map +1 -1
- package/cjs/utils/formContext.d.ts +2 -1
- package/cjs/utils/formContext.d.ts.map +1 -1
- package/cjs/utils/internalState.d.ts +12 -0
- package/cjs/utils/internalState.d.ts.map +1 -1
- package/cjs/utils/offlineRequestHandler.d.ts.map +1 -1
- package/dist/Form/grid/Element/index.d.ts.map +1 -1
- package/dist/Form/index.d.ts.map +1 -1
- package/dist/elements/basic/TableElement/Actions.d.ts.map +1 -1
- package/dist/elements/basic/TableElement/styles.d.ts +10 -4
- package/dist/elements/basic/TableElement/styles.d.ts.map +1 -1
- package/dist/{fthry_FormControl.Wd2VCHPt.js → fthry_FormControl.Bioxj7wq.js} +1 -1
- package/dist/{fthry_InlineTooltip.D3ylgYg6.js → fthry_InlineTooltip.sJiz-yTZ.js} +2 -2
- package/dist/{fthry_Overlay.Bz5x-ENK.js → fthry_Overlay.CCU65uhM.js} +1 -1
- package/dist/{fthry_PaymentMethodField.CvChbYRg.js → fthry_PaymentMethodField.D351t5lU.js} +4 -4
- package/dist/{fthry_Placeholder.DQzBt8j6.js → fthry_Placeholder.D5xsGWT6.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.C9zNt2Rx.js → fthry_ShowEyeIcon.DCre1ZOf.js} +1 -1
- package/dist/{fthry_index.trAJzW3J.js → fthry_index.51FWAy76.js} +6 -6
- package/dist/{fthry_index.qe9ZkKtP.js → fthry_index.6PhdBT7L.js} +3 -3
- package/dist/{fthry_index.DQZzSsuW.js → fthry_index.7smbCR3-.js} +5 -5
- package/dist/{fthry_index.CMkosVsI.js → fthry_index.B0ATnU9X.js} +1 -1
- package/dist/{fthry_index._BRuXPK7.js → fthry_index.B5gJtIjr.js} +5 -5
- package/dist/{fthry_index.DKGOaGCM.js → fthry_index.BBSWaOwU.js} +27 -20
- package/dist/{fthry_index.DR1bFoXt.js → fthry_index.Bam5r7n6.js} +6 -6
- package/dist/{fthry_index.DBoil0ob.js → fthry_index.Bea_tRX4.js} +1 -1
- package/dist/{fthry_index.B8xFLcFH.js → fthry_index.BlUnQrjf.js} +5 -5
- package/dist/{fthry_index.CRS1kqR5.js → fthry_index.C0bG11gb.js} +8 -8
- package/dist/{fthry_index.DgDP5DJn.js → fthry_index.C2w9x6iP.js} +4 -4
- package/dist/{fthry_index.CvA-hNZz.js → fthry_index.C6VNqhmD.js} +4 -4
- package/dist/{fthry_index.BGxTz3tO.js → fthry_index.CKp4eDpz.js} +5 -5
- package/dist/{fthry_index.DQZRjgq7.js → fthry_index.CMNWezqn.js} +4 -4
- package/dist/{fthry_index.BZaD9OWc.js → fthry_index.D6GwNGfH.js} +1 -1
- package/dist/{fthry_index.BGTWrYLi.js → fthry_index.DBYuRH02.js} +2 -2
- package/dist/{fthry_index.BaEZNStt.js → fthry_index.DO3vHeYe.js} +2 -2
- package/dist/{fthry_index.C7pfoDYO.js → fthry_index.DWjdqARb.js} +1 -1
- package/dist/{fthry_index.34WTfq_N.js → fthry_index.DkGL5tdN.js} +3 -3
- package/dist/{fthry_index.BcDHti-e.js → fthry_index.DvxZc_Uo.js} +1 -1
- package/dist/{fthry_index.lO5BG-D1.js → fthry_index.K2SSJIS_.js} +1 -1
- package/dist/{fthry_index.BOQHIUaq.js → fthry_index.hLsmydhA.js} +254 -200
- package/dist/{fthry_index.jDY08d87.js → fthry_index.skRpp8mY.js} +1 -1
- package/dist/{fthry_index.BqbKuP58.js → fthry_index.tduM4TFp.js} +6 -6
- package/dist/{fthry_input.IKXOLylO.js → fthry_input.BXzDNYjd.js} +1 -1
- package/dist/{fthry_script.Bh2Y_sWv.js → fthry_script.CzS4wRzm.js} +1 -1
- package/dist/{fthry_styles.BYvg16qE.js → fthry_styles.YqYePDRC.js} +1 -1
- package/dist/{fthry_useElementSize.CXuTu3xM.js → fthry_useElementSize.B4QMTDpv.js} +1 -1
- package/dist/{fthry_useSalesforceSync.B56mQC8q.js → fthry_useSalesforceSync.e2aqYcSo.js} +1 -1
- package/dist/{fthry_webfontloader.DbZ32V22.js → fthry_webfontloader.BIA_40Jh.js} +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/error.d.ts +1 -3
- package/dist/utils/error.d.ts.map +1 -1
- package/dist/utils/featheryClient/index.d.ts.map +1 -1
- package/dist/utils/featheryClient/integrationClient.d.ts +2 -1
- package/dist/utils/featheryClient/integrationClient.d.ts.map +1 -1
- package/dist/utils/featheryClient/utils.d.ts +1 -1
- package/dist/utils/featheryClient/utils.d.ts.map +1 -1
- package/dist/utils/formContext.d.ts +2 -1
- package/dist/utils/formContext.d.ts.map +1 -1
- package/dist/utils/internalState.d.ts +12 -0
- package/dist/utils/internalState.d.ts.map +1 -1
- package/dist/utils/offlineRequestHandler.d.ts.map +1 -1
- package/package.json +2 -2
- package/umd/TableElement.8fe7915eeb32e23ba816.js +1 -0
- package/umd/index.js +1 -1
- package/umd/TableElement.36588e76b5cd28b8115b.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as featheryDoc, an as devicePixelRatio, g as getDefaultExportFromCjs, b as __read, a as jsxs, j as jsx, _ as __assign, F as Fragment, k as __awaiter, l as __generator, ao as toBase64, n as debounce, ap as MODAL_Z_INDEX, ab as CloseIcon, aq as dataURLToFile, q as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { f as featheryDoc, an as devicePixelRatio, g as getDefaultExportFromCjs, b as __read, a as jsxs, j as jsx, _ as __assign, F as Fragment, k as __awaiter, l as __generator, ao as toBase64, n as debounce, ap as MODAL_Z_INDEX, ab as CloseIcon, aq as dataURLToFile, q as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.hLsmydhA.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.skRpp8mY.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.BIA_40Jh.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,10 +1,10 @@
|
|
|
1
|
-
import { B as stringify, C as rulesheet, H as COMMENT, I as middleware, R as RULESET, J as combine, K as match, L as serialize, M as copy, N as replace, W as WEBKIT, O as MOZ, P as MS, Q as KEYFRAMES, S as DECLARATION, T as dealloc, U as alloc, V as hash, X as charat, Y as strlen, Z as indexof, $ as next, a0 as token, a1 as from, a2 as peek, a3 as delimit, a4 as slice, a5 as position, a6 as compile, j as jsx$1, _ as __assign, a as jsxs, F as Fragment$1, y as __rest, b as __read, q as FORM_Z_INDEX, t as featheryWindow, f as featheryDoc, e as __spreadArray, d as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { B as stringify, C as rulesheet, H as COMMENT, I as middleware, R as RULESET, J as combine, K as match, L as serialize, M as copy, N as replace, W as WEBKIT, O as MOZ, P as MS, Q as KEYFRAMES, S as DECLARATION, T as dealloc, U as alloc, V as hash, X as charat, Y as strlen, Z as indexof, $ as next, a0 as token, a1 as from, a2 as peek, a3 as delimit, a4 as slice, a5 as position, a6 as compile, j as jsx$1, _ as __assign, a as jsxs, F as Fragment$1, y as __rest, b as __read, q as FORM_Z_INDEX, t as featheryWindow, f as featheryDoc, e as __spreadArray, d as __values, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.hLsmydhA.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.sJiz-yTZ.js';
|
|
5
|
+
import { P as Placeholder$2 } from './fthry_Placeholder.D5xsGWT6.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.e2aqYcSo.js';
|
|
7
|
+
import { T as Tooltip, O as Overlay } from './fthry_Overlay.CCU65uhM.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 { j as jsx, _ as __assign, b as __read, a as jsxs, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { j as jsx, _ as __assign, b as __read, a as jsxs, E as ErrorInput } from './fthry_index.hLsmydhA.js';
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { b as __read, u as useBorder, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, i as iosScrollOnFocus, r as resetStyles, D as DROPDOWN_Z_INDEX, k as __awaiter, l as __generator, m as FeatheryClient, n as debounce } from './fthry_index.
|
|
1
|
+
import { b as __read, u as useBorder, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, i as iosScrollOnFocus, r as resetStyles, D as DROPDOWN_Z_INDEX, k as __awaiter, l as __generator, m as FeatheryClient, n as debounce } from './fthry_index.hLsmydhA.js';
|
|
2
2
|
import { useRef, useEffect, memo, useState, useCallback } 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.D5xsGWT6.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.sJiz-yTZ.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.CCU65uhM.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.B4QMTDpv.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
@@ -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.hLsmydhA.js';
|
|
2
2
|
import { useState, useRef, useEffect, useMemo } from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
@@ -185,7 +185,8 @@ var buttonStyle = {
|
|
|
185
185
|
},
|
|
186
186
|
'&:disabled:hover': {
|
|
187
187
|
color: colors.gray600,
|
|
188
|
-
backgroundColor: colors.gray50
|
|
188
|
+
backgroundColor: colors.gray50,
|
|
189
|
+
cursor: 'auto'
|
|
189
190
|
}
|
|
190
191
|
};
|
|
191
192
|
var actionButtonStyle = __assign(__assign({}, buttonStyle), { borderRadius: '4px', paddingInline: '8px', width: 'auto', height: '28px', position: 'relative' });
|
|
@@ -204,10 +205,7 @@ var actionMenuStyle = {
|
|
|
204
205
|
minWidth: '120px'
|
|
205
206
|
};
|
|
206
207
|
var actionMenuItemStyle = {
|
|
207
|
-
display: '
|
|
208
|
-
flexDirection: 'row',
|
|
209
|
-
alignItems: 'center',
|
|
210
|
-
justifyContent: 'between',
|
|
208
|
+
display: 'block',
|
|
211
209
|
width: '100%',
|
|
212
210
|
textAlign: 'left',
|
|
213
211
|
paddingLeft: '12px',
|
|
@@ -225,7 +223,8 @@ var actionMenuItemStyle = {
|
|
|
225
223
|
backgroundColor: colors.gray100
|
|
226
224
|
},
|
|
227
225
|
'&:disabled:hover': {
|
|
228
|
-
backgroundColor: 'transparent'
|
|
226
|
+
backgroundColor: 'transparent',
|
|
227
|
+
cursor: 'auto'
|
|
229
228
|
},
|
|
230
229
|
'&:first-of-type': {
|
|
231
230
|
borderTopLeftRadius: '4px',
|
|
@@ -330,11 +329,12 @@ function MenuIcon() {
|
|
|
330
329
|
return (jsxs("svg", __assign({ css: menuIconStyle, fill: 'currentColor', viewBox: '0 0 24 24' }, { children: [jsx("circle", { cx: '12', cy: '5', r: '2' }), jsx("circle", { cx: '12', cy: '12', r: '2' }), jsx("circle", { cx: '12', cy: '19', r: '2' })] })));
|
|
331
330
|
}
|
|
332
331
|
function ActionButtons(_a) {
|
|
333
|
-
var
|
|
332
|
+
var _b, _c, _d;
|
|
333
|
+
var actions = _a.actions, rowIndex = _a.rowIndex, columnData = _a.columnData, fieldValuesProp = _a.fieldValues, onClick = _a.onClick, _e = _a.forceInlineButtons, forceInlineButtons = _e === void 0 ? false : _e, _f = _a.tableId, tableId = _f === void 0 ? '' : _f, _g = _a.buttonLoaders, buttonLoaders = _g === void 0 ? {} : _g;
|
|
334
334
|
if (actions.length === 0)
|
|
335
335
|
return null;
|
|
336
|
-
var
|
|
337
|
-
var
|
|
336
|
+
var _h = __read(useState(false), 2), isMenuOpen = _h[0], setIsMenuOpen = _h[1];
|
|
337
|
+
var _j = __read(useState({ top: 0, left: 0 }), 2), menuPosition = _j[0], setMenuPosition = _j[1];
|
|
338
338
|
var containerRef = useRef(null);
|
|
339
339
|
var menuRef = useRef(null);
|
|
340
340
|
var menuButtonRef = useRef(null);
|
|
@@ -380,20 +380,27 @@ function ActionButtons(_a) {
|
|
|
380
380
|
}
|
|
381
381
|
setIsMenuOpen(!isMenuOpen);
|
|
382
382
|
};
|
|
383
|
-
|
|
383
|
+
var overflowLoader = (_d = (_c = buttonLoaders["".concat(tableId, "_").concat(rowIndex, "_").concat((_b = actions.find(function (action) {
|
|
384
|
+
var _a;
|
|
385
|
+
var buttonKey = "".concat(tableId, "_").concat(rowIndex, "_").concat(action.label);
|
|
386
|
+
return (_a = buttonLoaders[buttonKey]) === null || _a === void 0 ? void 0 : _a.loader;
|
|
387
|
+
})) === null || _b === void 0 ? void 0 : _b.label)]) === null || _c === void 0 ? void 0 : _c.loader) !== null && _d !== void 0 ? _d : null;
|
|
388
|
+
return (jsx("div", __assign({ ref: containerRef, css: actionContainerStyle }, { children: useOverflow ? (jsxs(Fragment, { children: [jsx("button", __assign({ ref: menuButtonRef, type: 'button', disabled: overflowLoader, onClick: function (e) {
|
|
384
389
|
e.stopPropagation();
|
|
385
390
|
handleMenuToggle();
|
|
386
|
-
}, css: actionIconButtonStyle }, { children: jsx(
|
|
391
|
+
}, css: actionIconButtonStyle }, { children: overflowLoader ? (jsx("div", __assign({ style: {
|
|
392
|
+
height: '16px',
|
|
393
|
+
width: '16px',
|
|
394
|
+
display: 'flex',
|
|
395
|
+
alignItems: 'center',
|
|
396
|
+
justifyContent: 'center'
|
|
397
|
+
} }, { children: overflowLoader }))) : (jsx(MenuIcon, {})) })), isMenuOpen &&
|
|
387
398
|
createPortal(jsx("div", __assign({ ref: menuRef, css: __assign(__assign({}, actionMenuStyle), { top: "".concat(menuPosition.top, "px"), left: "".concat(menuPosition.left, "px"), transform: 'translateX(-100%)' }) }, { children: actions.map(function (action, index) {
|
|
388
|
-
var _a;
|
|
389
|
-
var buttonKey = "".concat(tableId, "_").concat(rowIndex, "_").concat(action.label);
|
|
390
|
-
var loader = (_a = buttonLoaders[buttonKey]) === null || _a === void 0 ? void 0 : _a.loader;
|
|
391
399
|
var disabled = Object.keys(buttonLoaders).length > 0;
|
|
392
|
-
return (
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
} }, { children: loader })))] }), index));
|
|
400
|
+
return (jsx("button", __assign({ type: 'button', onClick: function (e) {
|
|
401
|
+
e.stopPropagation();
|
|
402
|
+
handleActionClick(action);
|
|
403
|
+
}, css: actionMenuItemStyle, disabled: disabled }, { children: action.label }), index));
|
|
397
404
|
}) })), featheryDoc().body)] })) : (actions.map(function (action, index) {
|
|
398
405
|
var _a;
|
|
399
406
|
var buttonKey = "".concat(tableId, "_").concat(rowIndex, "_").concat(action.label);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { b as __read, a as jsxs, _ as __assign, j as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { b as __read, a as jsxs, _ as __assign, j as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.hLsmydhA.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.Bioxj7wq.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.D6GwNGfH.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.sJiz-yTZ.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.e2aqYcSo.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.CCU65uhM.js';
|
|
12
12
|
|
|
13
13
|
var applyRadioGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('radioGroup');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as featheryWindow, a as jsxs, _ as __assign, j as jsx, b as __read, u as useBorder, h as hoverStylesGuard, aj as isNum } from './fthry_index.
|
|
1
|
+
import { t as featheryWindow, a as jsxs, _ as __assign, j as jsx, b as __read, u as useBorder, h as hoverStylesGuard, aj as isNum } from './fthry_index.hLsmydhA.js';
|
|
2
2
|
import { useRef, useCallback, useEffect, useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { y as __rest, b as __read, A as countryData, ag as authState, ah as firebaseSMSCountries, a as jsxs, j as jsx, _ as __assign, F as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, ai as phoneLibPromise, h as hoverStylesGuard, aj as isNum, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { y as __rest, b as __read, A as countryData, ag as authState, ah as firebaseSMSCountries, a as jsxs, j as jsx, _ as __assign, F as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, ai as phoneLibPromise, h as hoverStylesGuard, aj as isNum, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.hLsmydhA.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.D5xsGWT6.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.sJiz-yTZ.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.CCU65uhM.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.B4QMTDpv.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { a as jsxs, _ as __assign, j as jsx, D as DROPDOWN_Z_INDEX, b as __read, u as useBorder, as as getFieldValue, s as stringifyWithNull, h as hoverStylesGuard, i as iosScrollOnFocus, q as FORM_Z_INDEX, r as resetStyles, at as emailPatternStr } from './fthry_index.
|
|
1
|
+
import { a as jsxs, _ as __assign, j as jsx, D as DROPDOWN_Z_INDEX, b as __read, u as useBorder, as as getFieldValue, s as stringifyWithNull, h as hoverStylesGuard, i as iosScrollOnFocus, q as FORM_Z_INDEX, r as resetStyles, at as emailPatternStr } from './fthry_index.hLsmydhA.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.D5xsGWT6.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.sJiz-yTZ.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.CCU65uhM.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.B4QMTDpv.js';
|
|
7
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.DCre1ZOf.js';
|
|
8
|
+
import { a as IMaskInput } from './fthry_input.BXzDNYjd.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.skRpp8mY.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,12 +1,12 @@
|
|
|
1
|
-
import { j as jsx, _ as __assign, u as useBorder, b as __read, A as countryData, c as fieldValues, a as jsxs, h as hoverStylesGuard, v as css, w as __makeTemplateObject, G as Global, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { j as jsx, _ as __assign, u as useBorder, b as __read, A as countryData, c as fieldValues, a as jsxs, h as hoverStylesGuard, v as css, w as __makeTemplateObject, G as Global, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.hLsmydhA.js';
|
|
2
2
|
import { useState, useRef, useEffect } 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.sJiz-yTZ.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.e2aqYcSo.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.CCU65uhM.js';
|
|
10
10
|
|
|
11
11
|
var ae = [
|
|
12
12
|
{ name: 'Abu Dhabi', code: 'AZ' },
|
|
@@ -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.hLsmydhA.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.D5xsGWT6.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.sJiz-yTZ.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.CCU65uhM.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,13 +1,13 @@
|
|
|
1
|
-
import { u as useBorder, b as __read, a as jsxs, _ as __assign, h as hoverStylesGuard, j as jsx, i as iosScrollOnFocus, q 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, i as iosScrollOnFocus, q as FORM_Z_INDEX, r as resetStyles } from './fthry_index.hLsmydhA.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.D5xsGWT6.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.sJiz-yTZ.js';
|
|
5
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.DCre1ZOf.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.CCU65uhM.js';
|
|
11
11
|
|
|
12
12
|
function PasswordField(_a) {
|
|
13
13
|
var _b;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { u as useBorder, a as jsxs, _ as __assign, j as jsx, h as hoverStylesGuard, o as imgMaxSizeStyles, p as noTextSelectStyles, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { u as useBorder, a as jsxs, _ as __assign, j as jsx, h as hoverStylesGuard, o as imgMaxSizeStyles, p as noTextSelectStyles, E as ErrorInput } from './fthry_index.hLsmydhA.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.sJiz-yTZ.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.e2aqYcSo.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.CCU65uhM.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, a as jsxs, j as jsx, i as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { _ as __assign, h as hoverStylesGuard, a as jsxs, j as jsx, i as iosScrollOnFocus } from './fthry_index.hLsmydhA.js';
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { k as __awaiter, l as __generator, e as __spreadArray, b as __read, d as __values, t as featheryWindow, ak as loadQRScanner, al as throttle, j as jsx, a as jsxs, _ as __assign, F as Fragment, E as ErrorInput, am as qrPromise } from './fthry_index.
|
|
1
|
+
import { k as __awaiter, l as __generator, e as __spreadArray, b as __read, d as __values, t as featheryWindow, ak as loadQRScanner, al as throttle, j as jsx, a as jsxs, _ as __assign, F as Fragment, E as ErrorInput, am as qrPromise } from './fthry_index.hLsmydhA.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.YqYePDRC.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
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.hLsmydhA.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.YqYePDRC.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as __read, a as jsxs$1, _ as __assign, j as jsx$1, q as FORM_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { b as __read, a as jsxs$1, _ as __assign, j as jsx$1, q as FORM_Z_INDEX } from './fthry_index.hLsmydhA.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 { b as __read, j as jsx, F as Fragment, x as isMobile, a as jsxs, _ as __assign, q as FORM_Z_INDEX, i as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { b as __read, j as jsx, F as Fragment, x as isMobile, a as jsxs, _ as __assign, q as FORM_Z_INDEX, i as iosScrollOnFocus } from './fthry_index.hLsmydhA.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.CCU65uhM.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.D6GwNGfH.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as jsx, _ as __assign, a as jsxs, b as __read, k as __awaiter, l as __generator, t as featheryWindow, F as Fragment, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { j as jsx, _ as __assign, a as jsxs, b as __read, k as __awaiter, l as __generator, t as featheryWindow, F as Fragment, E as ErrorInput } from './fthry_index.hLsmydhA.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 jsxs, _ as __assign, j as jsx, b as __read, a7 as isEmptyArray, a8 as toList, a9 as useThumbnailData, e as __spreadArray, o as imgMaxSizeStyles, k as __awaiter, l as __generator, aa as downloadFile, ab as CloseIcon, i as iosScrollOnFocus, q as FORM_Z_INDEX, ac as justRemove } from './fthry_index.
|
|
1
|
+
import { a as jsxs, _ as __assign, j as jsx, b as __read, a7 as isEmptyArray, a8 as toList, a9 as useThumbnailData, e as __spreadArray, o as imgMaxSizeStyles, k as __awaiter, l as __generator, aa as downloadFile, ab as CloseIcon, i as iosScrollOnFocus, q as FORM_Z_INDEX, ac as justRemove } from './fthry_index.hLsmydhA.js';
|
|
2
2
|
import { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|