@feathery/react 2.15.0 → 2.15.2
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/index.d.ts.map +1 -1
- package/cjs/Form/logic.d.ts.map +1 -1
- package/cjs/elements/fields/AddressLine1Field/index.d.ts.map +1 -1
- package/cjs/{fthry_FormControl.C8oeoDk3.js → fthry_FormControl.CZhSI7ZP.js} +1 -1
- package/cjs/{fthry_InlineTooltip.CRRFOiO4.js → fthry_InlineTooltip.BLxhhDuP.js} +2 -2
- package/cjs/{fthry_Overlay.CMYptYVH.js → fthry_Overlay.DX647lyL.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.C_yV3aay.js → fthry_PaymentMethodField.DwYI96Gn.js} +4 -4
- package/cjs/{fthry_Placeholder.xDn0I29f.js → fthry_Placeholder.eggaVDQj.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.COZczYEG.js → fthry_ShowEyeIcon.CUX7pJin.js} +1 -1
- package/cjs/{fthry_index.CFl7Tra-.js → fthry_index.B1CkkjWn.js} +6 -6
- package/cjs/{fthry_index.B5Nc9EIn.js → fthry_index.B6zj96av.js} +1833 -45
- package/cjs/{fthry_index.CQ3OgNZu.js → fthry_index.BA7SCFjL.js} +1 -1
- package/cjs/{fthry_index.Db8Zj-xl.js → fthry_index.BANnK-BV.js} +2 -2
- package/cjs/{fthry_index.Ct-olYcX.js → fthry_index.BDTST35w.js} +1 -1
- package/cjs/{fthry_index.B5aSeoEj.js → fthry_index.BN8zLfup.js} +4 -4
- package/cjs/{fthry_index.BdfASO2V.js → fthry_index.BSCmisU5.js} +6 -6
- package/cjs/{fthry_index.BAis6iAm.js → fthry_index.BfGtKml0.js} +3 -3
- package/cjs/{fthry_index.D35rnGh5.js → fthry_index.BjCAubFj.js} +1 -1
- package/cjs/{fthry_index.CgatqFlS.js → fthry_index.BzhucXqv.js} +2 -2
- package/cjs/{fthry_index.C97Bm277.js → fthry_index.CRDnACxw.js} +4 -4
- package/cjs/{fthry_index.ByYAaIPz.js → fthry_index.CZOSIfEV.js} +6 -6
- package/cjs/{fthry_index.CfGx505W.js → fthry_index.CoJCmnOp.js} +1 -1
- package/cjs/{fthry_index.BZzFi9o3.js → fthry_index.Cp5mHHk3.js} +7 -6
- package/cjs/{fthry_index.BV9FIqI3.js → fthry_index.DB4KHK9K.js} +5 -5
- package/cjs/{fthry_index.BokP8_1j.js → fthry_index.DEqnH31I.js} +5 -5
- package/cjs/{fthry_index.Be_wKtBW.js → fthry_index.DXh3tbd1.js} +3 -3
- package/cjs/{fthry_index.CoR2X1u6.js → fthry_index.DanO29mY.js} +8 -8
- package/cjs/{fthry_index.BvXec6y1.js → fthry_index.DbcTkrx8.js} +1 -1
- package/cjs/{fthry_index.Dm94Mor0.js → fthry_index.DpwSZaXh.js} +1 -1
- package/cjs/{fthry_index.Dzq-7u_A.js → fthry_index.EU1uftki.js} +5 -5
- package/cjs/{fthry_index.Iw93ZIvk.js → fthry_index.HFaIUSxu.js} +1 -1
- package/cjs/{fthry_index.CPkoG8dL.js → fthry_index.bTWf3wVZ.js} +4 -4
- package/cjs/{fthry_index.B9CITASf.js → fthry_index.ujHj1dvo.js} +1 -1
- package/cjs/{fthry_input.DjhEftHE.js → fthry_input.DDLPWCri.js} +1 -1
- package/cjs/{fthry_script.CEXFQk2h.js → fthry_script.Cw49lCOF.js} +1 -1
- package/cjs/{fthry_styles.twMOjtIt.js → fthry_styles.DyY_xRrD.js} +1 -1
- package/cjs/{fthry_useElementSize.CMss2qLc.js → fthry_useElementSize.B6qHp4zN.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.GHaAu-dd.js → fthry_useSalesforceSync.DP3b2FKu.js} +1 -1
- package/cjs/{fthry_webfontloader.CZxQtgFm.js → fthry_webfontloader.CoyxhM39.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/eventQueue.d.ts +26 -0
- package/cjs/utils/eventQueue.d.ts.map +1 -0
- package/cjs/utils/featheryClient/index.d.ts +7 -0
- package/cjs/utils/featheryClient/index.d.ts.map +1 -1
- package/cjs/utils/formContext.d.ts +1 -0
- package/cjs/utils/formContext.d.ts.map +1 -1
- package/cjs/utils/internalState.d.ts +1 -0
- package/cjs/utils/internalState.d.ts.map +1 -1
- package/dist/Form/index.d.ts.map +1 -1
- package/dist/Form/logic.d.ts.map +1 -1
- package/dist/elements/fields/AddressLine1Field/index.d.ts.map +1 -1
- package/dist/{fthry_FormControl.BdmdMzA3.js → fthry_FormControl.pynS9Imy.js} +1 -1
- package/dist/{fthry_InlineTooltip.DRPooJGa.js → fthry_InlineTooltip.fbWGkrAv.js} +2 -2
- package/dist/{fthry_Overlay.DSfIRMWh.js → fthry_Overlay.ByTdlq1g.js} +1 -1
- package/dist/{fthry_PaymentMethodField.C2kDTnuL.js → fthry_PaymentMethodField.CPOf1iA4.js} +4 -4
- package/dist/{fthry_Placeholder.BYxBlfxe.js → fthry_Placeholder.DVLjngYh.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.DcuxGpJk.js → fthry_ShowEyeIcon.Bp9QY90b.js} +1 -1
- package/dist/{fthry_index.DCKiab_1.js → fthry_index.252mvAiR.js} +3 -3
- package/dist/{fthry_index.CkEibXDT.js → fthry_index.8lndGH_r.js} +6 -6
- package/dist/{fthry_index.BD6daAle.js → fthry_index.An6X1bIc.js} +5 -5
- package/dist/{fthry_index.CCtbaItI.js → fthry_index.B0vwUF95.js} +5 -5
- package/dist/{fthry_index.DSkVpyvV.js → fthry_index.BPH2EnpZ.js} +1833 -45
- package/dist/{fthry_index.C0TSdYY1.js → fthry_index.BTzaBsCg.js} +1 -1
- package/dist/{fthry_index.4fMPrW44.js → fthry_index.BU4UE1sU.js} +4 -4
- package/dist/{fthry_index.BuGMpxqA.js → fthry_index.Ba9tRElL.js} +1 -1
- package/dist/{fthry_index.DkSTwhvF.js → fthry_index.BdCDxxfG.js} +1 -1
- package/dist/{fthry_index.uw0MJJ4F.js → fthry_index.BxQkJS7f.js} +1 -1
- package/dist/{fthry_index.BIkZtQJH.js → fthry_index.C1kFKyCH.js} +7 -6
- package/dist/{fthry_index.BXiUUqma.js → fthry_index.CFVO0drz.js} +2 -2
- package/dist/{fthry_index.DvV-_9rQ.js → fthry_index.CI18NEpR.js} +6 -6
- package/dist/{fthry_index.COrbe5-R.js → fthry_index.C_g49tb4.js} +8 -8
- package/dist/{fthry_index.D6uzSPi5.js → fthry_index.CcXjEG71.js} +5 -5
- package/dist/{fthry_index.CxYSZnO_.js → fthry_index.CxPrJCG7.js} +4 -4
- package/dist/{fthry_index.Cocw39qz.js → fthry_index.DMrogAPL.js} +1 -1
- package/dist/{fthry_index.B-bHDKSO.js → fthry_index.DsaDQSjY.js} +1 -1
- package/dist/{fthry_index.D9VkJYNy.js → fthry_index.Hf19u6bh.js} +3 -3
- package/dist/{fthry_index.DwzU97uW.js → fthry_index.Tay5ya9r.js} +4 -4
- package/dist/{fthry_index.Ox88biXC.js → fthry_index.XqetSJci.js} +1 -1
- package/dist/{fthry_index.BF_Plcr0.js → fthry_index.f_bJZ-Qj.js} +2 -2
- package/dist/{fthry_index.Cz1sN7j0.js → fthry_index.o4PxfOJO.js} +6 -6
- package/dist/{fthry_index.IjpiaOO-.js → fthry_index.uyi04ekt.js} +1 -1
- package/dist/{fthry_input.BJLJlGVj.js → fthry_input.BozedSiT.js} +1 -1
- package/dist/{fthry_script.BL_LvOsU.js → fthry_script.O8zBOlCA.js} +1 -1
- package/dist/{fthry_styles.Bgjx59v5.js → fthry_styles.BT0jpQ03.js} +1 -1
- package/dist/{fthry_useElementSize.COmxJss_.js → fthry_useElementSize.C9rdkcOU.js} +1 -1
- package/dist/{fthry_useSalesforceSync.BZM69NNS.js → fthry_useSalesforceSync.1klZ-qUM.js} +1 -1
- package/dist/{fthry_webfontloader.BonjOYue.js → fthry_webfontloader.CoDBzqSo.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/eventQueue.d.ts +26 -0
- package/dist/utils/eventQueue.d.ts.map +1 -0
- package/dist/utils/featheryClient/index.d.ts +7 -0
- package/dist/utils/featheryClient/index.d.ts.map +1 -1
- package/dist/utils/formContext.d.ts +1 -0
- package/dist/utils/formContext.d.ts.map +1 -1
- package/dist/utils/internalState.d.ts +1 -0
- package/dist/utils/internalState.d.ts.map +1 -1
- package/package.json +4 -3
- package/umd/{277.94ae8bf6190836d1dceb.js → 277.d9907ecd5dc2117c9171.js} +1 -1
- package/umd/{509.4236d4d76d2fa2ccd971.js → 509.341a4196aad912adb28d.js} +2 -2
- package/umd/{AddressField.3523efd23175117d47a5.js → AddressField.ec97334fe233830bc05b.js} +1 -1
- package/umd/index.js +1 -1
- /package/umd/{509.4236d4d76d2fa2ccd971.js.LICENSE.txt → 509.341a4196aad912adb28d.js.LICENSE.txt} +0 -0
|
@@ -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.BPH2EnpZ.js';
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -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.BPH2EnpZ.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.fbWGkrAv.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.1klZ-qUM.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.ByTdlq1g.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 { 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.BPH2EnpZ.js';
|
|
2
2
|
import { useRef, useState, useEffect } 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, 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.BPH2EnpZ.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 { _ 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.BPH2EnpZ.js';
|
|
2
2
|
import { useMemo } 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.BPH2EnpZ.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.DVLjngYh.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.fbWGkrAv.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.ByTdlq1g.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.C9rdkcOU.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
@@ -42,6 +42,7 @@ function AddressLine1(_a) {
|
|
|
42
42
|
error: inlineError,
|
|
43
43
|
breakpoint: responsiveStyles.getMobileBreakpoint()
|
|
44
44
|
}), borderStyles = _o.borderStyles, customBorder = _o.customBorder;
|
|
45
|
+
var autocomplete = servar.type === 'gmap_city' ? 'address-level2' : 'street-address';
|
|
45
46
|
return (jsxs("div", __assign({ ref: containerRef, css: __assign({ maxWidth: '100%', width: '100%', height: '100%', position: 'relative', pointerEvents: editMode ? 'none' : 'auto' }, responsiveStyles.getTarget('fc')) }, elementProps, { children: [children, fieldLabel, jsxs("div", __assign({ ref: fieldWrapperRef, css: __assign(__assign(__assign({ position: 'relative', width: '100%',
|
|
46
47
|
// Prevent placeholder overflow
|
|
47
48
|
overflowX: 'clip' }, responsiveStyles.getTarget('sub-fc')), (disabled ? responsiveStyles.getTarget('disabled') : {})), { '&:hover': hoverStylesGuard(disabled
|
|
@@ -49,7 +50,7 @@ function AddressLine1(_a) {
|
|
|
49
50
|
: __assign(__assign({}, responsiveStyles.getTarget('hover')), borderStyles.hover)), '&&': focused
|
|
50
51
|
? __assign(__assign({}, responsiveStyles.getTarget('active')), borderStyles.active) : {} }) }, { children: [customBorder, jsx("input", { id: servar.key, name: servar.key, css: __assign(__assign(__assign({ position: 'relative', height: '100%', width: '100%', border: 'none', margin: 0, backgroundColor: 'transparent' }, resetStyles), responsiveStyles.getTarget('field')), (focused || value || !element.properties.placeholder
|
|
51
52
|
? {}
|
|
52
|
-
: { color: 'transparent !important' })), maxLength: servar.max_length, minLength: servar.min_length, placeholder: '', disabled: disabled, "aria-label": element.properties.aria_label, autoComplete: autoComplete === 'on' ?
|
|
53
|
+
: { color: 'transparent !important' })), maxLength: servar.max_length, minLength: servar.min_length, placeholder: '', disabled: disabled, "aria-label": element.properties.aria_label, autoComplete: autoComplete === 'on' ? autocomplete : 'new-password', value: value, ref: function (ref) {
|
|
53
54
|
inputRef.current = ref;
|
|
54
55
|
setRef(ref);
|
|
55
56
|
}, onKeyDown: function (e) {
|
|
@@ -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.BPH2EnpZ.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.BT0jpQ03.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -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.BPH2EnpZ.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.pynS9Imy.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.BxQkJS7f.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.fbWGkrAv.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.1klZ-qUM.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.ByTdlq1g.js';
|
|
12
12
|
|
|
13
13
|
var applyRadioGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('radioGroup');
|
|
@@ -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.BPH2EnpZ.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.DVLjngYh.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.fbWGkrAv.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.ByTdlq1g.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.C9rdkcOU.js';
|
|
7
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.Bp9QY90b.js';
|
|
8
|
+
import { a as IMaskInput } from './fthry_input.BozedSiT.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.XqetSJci.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, 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.BPH2EnpZ.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.DVLjngYh.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.fbWGkrAv.js';
|
|
5
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.Bp9QY90b.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.ByTdlq1g.js';
|
|
11
11
|
|
|
12
12
|
function PasswordField(_a) {
|
|
13
13
|
var _b;
|
|
@@ -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.BPH2EnpZ.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.DVLjngYh.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.fbWGkrAv.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.ByTdlq1g.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 { 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.BPH2EnpZ.js';
|
|
2
2
|
import { useRef, useCallback, useEffect, useState } from 'react';
|
|
3
3
|
import '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, 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.BPH2EnpZ.js';
|
|
2
2
|
import { useRef, useState, useEffect, memo, useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -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.BPH2EnpZ.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.XqetSJci.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.CoDBzqSo.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,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.BPH2EnpZ.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.fbWGkrAv.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.1klZ-qUM.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.ByTdlq1g.js';
|
|
10
10
|
|
|
11
11
|
var ae = [
|
|
12
12
|
{ name: 'Abu Dhabi', code: 'AZ' },
|
|
@@ -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.BPH2EnpZ.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.BT0jpQ03.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as jsxs, _ as __assign, j as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { a as jsxs, _ as __assign, j as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.BPH2EnpZ.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.pynS9Imy.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.BxQkJS7f.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.fbWGkrAv.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.1klZ-qUM.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.ByTdlq1g.js';
|
|
12
12
|
|
|
13
13
|
var applyCheckboxGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('checkboxGroup');
|
|
@@ -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.BPH2EnpZ.js';
|
|
2
2
|
import { useState, useRef, useEffect, useMemo } from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useState, useMemo } from 'react';
|
|
3
|
-
import { ar as cls, a as jsxs, F as Fragment, j as jsx, G as Global, v as css, w as __makeTemplateObject } from './fthry_index.
|
|
3
|
+
import { ar as cls, a as jsxs, F as Fragment, j as jsx, G as Global, v as css, w as __makeTemplateObject } from './fthry_index.BPH2EnpZ.js';
|
|
4
4
|
import { flushSync } from 'react-dom';
|
|
5
5
|
|
|
6
6
|
function canUseDom() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as __read, k as __awaiter, l as __generator, m as FeatheryClient } from './fthry_index.
|
|
1
|
+
import { b as __read, k as __awaiter, l as __generator, m as FeatheryClient } from './fthry_index.BPH2EnpZ.js';
|
|
2
2
|
import { useState, useEffect } from 'react';
|
|
3
3
|
|
|
4
4
|
function useSalesforceSync(salesforceSync, editMode) {
|
package/dist/index.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ declare function renderAt(elementId: any, props: FormProps, loginEnabled?: boole
|
|
|
57
57
|
forwardInboxEmail: (options: {
|
|
58
58
|
emails?: string[] | undefined;
|
|
59
59
|
emailGroup?: string | undefined;
|
|
60
|
+
submissionId?: string | undefined;
|
|
60
61
|
}) => Promise<{
|
|
61
62
|
ok: boolean;
|
|
62
63
|
error?: string | undefined;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";AACA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,IAAI,EAAE,EAAU,KAAK,IAAI,SAAS,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC3E,OAAO,EACL,IAAI,EACJ,YAAY,EACZ,cAAc,EACd,cAAc,EACd,WAAW,EACZ,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI9C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,SAAS,MAAM,kBAAkB,CAAC;AACzC,OAAO,aAAa,MAAM,sBAAsB,CAAC;AACjD,OAAO,mBAAmB,CAAC;AAG3B;;;;GAIG;AACH,iBAAS,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,UAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";AACA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,IAAI,EAAE,EAAU,KAAK,IAAI,SAAS,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC3E,OAAO,EACL,IAAI,EACJ,YAAY,EACZ,cAAc,EACd,cAAc,EACd,WAAW,EACZ,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAI9C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,SAAS,MAAM,kBAAkB,CAAC;AACzC,OAAO,aAAa,MAAM,sBAAsB,CAAC;AACjD,OAAO,mBAAmB,CAAC;AAG3B;;;;GAIG;AACH,iBAAS,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,UAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCvE;AAGD,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASb,CAAC;AAEF,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACR,SAAS,EACT,aAAa,EACb,QAAQ,EACR,eAAe,EAChB,CAAC;AAEF,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,CAAC;AAC3C,YAAY,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aw as Elements, aF as Feathery, av as Form, aD as LoginForm, aG as StyledContainer, aB as getFieldValues, ax as init, aC as renderAt, aA as setFieldValues, az as updateTheme, ay as updateUserId, aE as useAuthClient } from './fthry_index.
|
|
1
|
+
export { aw as Elements, aF as Feathery, av as Form, aD as LoginForm, aG as StyledContainer, aB as getFieldValues, ax as init, aC as renderAt, aA as setFieldValues, az as updateTheme, ay as updateUserId, aE as useAuthClient } from './fthry_index.BPH2EnpZ.js';
|
|
2
2
|
import 'react-dom/client';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Event queue for holding events before user interaction
|
|
3
|
+
*/
|
|
4
|
+
export interface QueuedEvent {
|
|
5
|
+
eventData: any;
|
|
6
|
+
timestamp: number;
|
|
7
|
+
resolve: (value: any) => void;
|
|
8
|
+
reject: (error: any) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare class EventQueue {
|
|
11
|
+
private queue;
|
|
12
|
+
private isReplaying;
|
|
13
|
+
enqueue(eventData: any): Promise<any>;
|
|
14
|
+
getAll(): QueuedEvent[];
|
|
15
|
+
clear(): void;
|
|
16
|
+
isEmpty(): boolean;
|
|
17
|
+
size(): number;
|
|
18
|
+
isReplayingEvents(): boolean;
|
|
19
|
+
setReplayState(replaying: boolean): void;
|
|
20
|
+
/**
|
|
21
|
+
* Apply replay function to all queued events
|
|
22
|
+
* @param replayFn Function to call for each event
|
|
23
|
+
*/
|
|
24
|
+
replayAll(replayFn: (eventData: any) => Promise<any>): Promise<void>;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=eventQueue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eventQueue.d.ts","sourceRoot":"","sources":["../../src/utils/eventQueue.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,GAAG,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAC9B,MAAM,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CAC9B;AAED,qBAAa,UAAU;IACrB,OAAO,CAAC,KAAK,CAAqB;IAClC,OAAO,CAAC,WAAW,CAAS;IAE5B,OAAO,CAAC,SAAS,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;IAWrC,MAAM,IAAI,WAAW,EAAE;IAIvB,KAAK,IAAI,IAAI;IAIb,OAAO,IAAI,OAAO;IAIlB,IAAI,IAAI,MAAM;IAId,iBAAiB,IAAI,OAAO;IAI5B,cAAc,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI;IAIxC;;;OAGG;IACG,SAAS,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;CAwB3E"}
|
|
@@ -27,8 +27,13 @@ export default class FeatheryClient extends IntegrationClient {
|
|
|
27
27
|
*/
|
|
28
28
|
debouncedSubmitCustom: DebouncedFunc<(override: boolean) => Promise<void>>;
|
|
29
29
|
customSubmitInFlight: Record<string, any>;
|
|
30
|
+
/**
|
|
31
|
+
* Queue for events triggered before user interaction
|
|
32
|
+
*/
|
|
33
|
+
private userEventQueue;
|
|
30
34
|
constructor(formKey?: string, ignoreNetworkErrors?: any, draft?: boolean, bypassCDN?: boolean);
|
|
31
35
|
private handleInteraction;
|
|
36
|
+
private replayQueuedEvents;
|
|
32
37
|
destroy(): void;
|
|
33
38
|
_submitJSONData(servars: any, stepKey: string, noComplete: boolean): Promise<void>;
|
|
34
39
|
_getFileValue(servar: any): Promise<any>;
|
|
@@ -69,6 +74,7 @@ export default class FeatheryClient extends IntegrationClient {
|
|
|
69
74
|
}): Promise<void>;
|
|
70
75
|
submitStep(servars: any, step: any, hasNext: boolean): Promise<[any, void, void, ...any[]] | undefined>;
|
|
71
76
|
registerEvent(eventData: any): Promise<any>;
|
|
77
|
+
private _registerEventInternal;
|
|
72
78
|
runCustomRequest(payload: {
|
|
73
79
|
name?: string;
|
|
74
80
|
method?: string;
|
|
@@ -92,6 +98,7 @@ export default class FeatheryClient extends IntegrationClient {
|
|
|
92
98
|
options: {
|
|
93
99
|
emails?: string[];
|
|
94
100
|
emailGroup?: string;
|
|
101
|
+
submissionId?: string;
|
|
95
102
|
};
|
|
96
103
|
}): Promise<any>;
|
|
97
104
|
getConfig(configParams: GetConfigParams): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/featheryClient/index.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AA6BpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,OAAO,EACL,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EACnB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/featheryClient/index.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AA6BpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,OAAO,EACL,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EACnB,MAAM,kBAAkB,CAAC;AAQ1B,eAAO,MAAM,eAAe;;;;;;;CAO3B,CAAC;AAmCF,eAAO,IAAI,OAAO,QAA+B,CAAC;AAClD,eAAO,IAAI,OAAO,QAA+B,CAAC;AAClD,eAAO,IAAI,UAAU,QAAkC,CAAC;AACxD,eAAO,IAAI,MAAM,QAA8B,CAAC;AAEhD,eAAO,MAAM,mBAAmB,WAAY,MAAM,SAiBjD,CAAC;AAOF,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,iBAAiB;IAC3D;;;OAGG;IACH,yBAAyB,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAElD;;OAEG;IACH,qBAAqB,EAAE,aAAa,CAAC,CAAC,QAAQ,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;IAC3E,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAE1C;;OAEG;IACH,OAAO,CAAC,cAAc,CAAgC;gBAGpD,OAAO,SAAK,EACZ,mBAAmB,CAAC,EAAE,GAAG,EACzB,KAAK,UAAQ,EACb,SAAS,UAAQ;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,CAAC;QACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB;;;IA6BK,uBAAuB,CAAC,SAAS,EAAE,MAAM,EAAE;CAelD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formContext.d.ts","sourceRoot":"","sources":["../../src/utils/formContext.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAuB,MAAM,wBAAwB,CAAC;AAC3E,OAAO,EAEL,WAAW,EAIX,WAAW,EACX,YAAY,EACb,MAAM,QAAQ,CAAC;AAChB,OAAsB,EACpB,aAAa,EACb,eAAe,EACf,oBAAoB,EACpB,wBAAwB,EACxB,qBAAqB,EACrB,kBAAkB,EAEnB,MAAM,iBAAiB,CAAC;AAEzB;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,aAAc,MAAM;;;;;;;;;;;uBA6BxB,GAAG;;;wBAGF,GAAG;;;;;;;;;;;;;;mBA8FF,MAAM;uCAed,oBAAoB,WACtB,wBAAwB;;;;;;;;;oCAGnB,MAAM;;eAEZ,kBAAkB;iCAEC;
|
|
1
|
+
{"version":3,"file":"formContext.d.ts","sourceRoot":"","sources":["../../src/utils/formContext.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAuB,MAAM,wBAAwB,CAAC;AAC3E,OAAO,EAEL,WAAW,EAIX,WAAW,EACX,YAAY,EACb,MAAM,QAAQ,CAAC;AAChB,OAAsB,EACpB,aAAa,EACb,eAAe,EACf,oBAAoB,EACpB,wBAAwB,EACxB,qBAAqB,EACrB,kBAAkB,EAEnB,MAAM,iBAAiB,CAAC;AAEzB;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,aAAc,MAAM;;;;;;;;;;;uBA6BxB,GAAG;;;wBAGF,GAAG;;;;;;;;;;;;;;mBA8FF,MAAM;uCAed,oBAAoB,WACtB,wBAAwB;;;;;;;;;oCAGnB,MAAM;;eAEZ,kBAAkB;iCAEC;QAC3B,MAAM,CAAC,EAAE,MAAM,EAAE,CAA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EAAE,CACf,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,uBAAuB,GAAG,OAAO,EAC1C,KAAK,CAAC,EAAE,kBAAkB,KACvB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACrC,iBAAiB,EAAE,CAAC,OAAO,EAAE;QAC3B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;QAClB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,KAAK,OAAO,CAAC;QAAE,EAAE,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/C,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,aAAK,aAAa,GAAG;IACnB,CAAC,QAAQ,EAAE,MAAM,GAAG,iBAAiB,CAAC;CACvC,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,aAAkB,CAAC;AAIxC,eAAO,MAAM,oBAAoB,aACrB,MAAM,eACH,OAAO,MAAM,EAAE,GAAG,CAAC,qBACd,MAAM,EAAE,sBA0B3B,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feathery/react",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.2",
|
|
4
4
|
"description": "React library for Feathery",
|
|
5
5
|
"author": "Boyang Dun",
|
|
6
6
|
"license": "MIT",
|
|
@@ -120,13 +120,14 @@
|
|
|
120
120
|
"@stripe/stripe-js": "7.3.0",
|
|
121
121
|
"@stytch/vanilla-js": "5.23.1",
|
|
122
122
|
"@uiw/react-color-sketch": "^2.5.4",
|
|
123
|
-
"acorn": "^8.
|
|
123
|
+
"acorn": "^8.15.0",
|
|
124
|
+
"acorn-loose": "^8.5.2",
|
|
124
125
|
"acorn-walk": "^8.3.4",
|
|
125
126
|
"date-fns": "^4.1.0",
|
|
126
127
|
"flat-map-polyfill": "^0.3.8",
|
|
127
128
|
"is-url": "^1.2.4",
|
|
128
|
-
"jszip": "^3.10.1",
|
|
129
129
|
"js-big-decimal": "^1.4.1",
|
|
130
|
+
"jszip": "^3.10.1",
|
|
130
131
|
"lodash.debounce": "^4.0.8",
|
|
131
132
|
"lodash.throttle": "^4.1.1",
|
|
132
133
|
"quill-delta": "^4.2.2",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(this.webpackChunkFeathery=this.webpackChunkFeathery||[]).push([[277],{1587:(t,e,r)=>{r.d(e,{Z:()=>d});var n=r(5944),o=r(7294),i=r(8776),l=r(5467),a=r(2988),c=r(4665),u=r(7449),f=r(9479),s=function(){return s=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},s.apply(this,arguments)};function d(t){var e=t.id,r=t.text,d=t.responsiveStyles,p=t.absolute,h=void 0===p||p,v=t.containerRef,y=t.repeat,b=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),l=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)l.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return l}((0,o.useState)(!1),2),m=b[0],g=b[1],w=(0,o.useRef)(null);if(!(r=(0,c.xf)(r,y)))return null;var x=(0,f.tq)();return(0,n.BX)(n.HY,{children:[(0,n.tZ)("div",s({ref:w,onMouseEnter:x?void 0:function(){return g(!0)},onMouseLeave:x?void 0:function(){return g(!1)},onFocus:function(){return g(!0)},onBlur:function(){return g(!1)},onClick:function(){return g((function(t){return!t}))},css:h?{position:"absolute",insetInlineEnd:"10px",top:0,bottom:0,zIndex:a.rM,margin:"auto",cursor:"pointer",height:"100%",display:"flex"}:{position:"relative",marginInlineStart:"8px",display:"flex",alignItems:"center"}},{children:(0,n.tZ)(l.by,{cssStyles:d.getTarget("tooltipIcon")})})),(0,n.tZ)(u.Z,s({show:m,targetRef:w,containerRef:v,placement:"left",onHide:function(){return g(!1)},offset:8},{children:(0,n.tZ)(i.u,s({id:"tooltip-".concat(e),css:{zIndex:a.rM+1,padding:".4rem 0",transition:"opacity .10s linear",".tooltip-inner":{maxWidth:"200px",padding:".25rem .5rem",color:"#fff",textAlign:"center",backgroundColor:"#000",borderRadius:".25rem",fontSize:"smaller"}}},{children:r}))}))]})}},7449:(t,e,r)=>{r.d(e,{Z:()=>c});var n=r(5944),o=r(7294),i=r(3935),l=r(9479),a=function(){return a=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},a.apply(this,arguments)};const c=function(t){var e=t.show,r=t.targetRef,c=t.children,s=t.onHide,d=t.placement,p=void 0===d?"bottom-start":d,h=t.offset,v=void 0===h?0:h,y=t.zIndex,b=void 0===y?1e3:y,m=t.containerRef,g=(0,o.useRef)(null),w=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),l=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)l.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return l}((0,o.useState)(null),2),x=w[0],S=w[1],O=(0,o.useCallback)((function(){return(null==m?void 0:m.current)||(0,l.me)().body}),[m]),k=(0,o.useCallback)((function(){var t;if(e&&r.current&&g.current){var n=(0,l.Kv)(),o=O();if(o){var i=r.current.getBoundingClientRect(),a=g.current.getBoundingClientRect(),c=o.getBoundingClientRect(),s=f(p,i,a,v),d=s.top,h=s.left,y=d+a.height,b=h+a.width,m=d>=0&&y<=n.innerHeight,w=h>=0&&b<=n.innerWidth;if(!m||!w){var x=u(p,!m,!w);x!==p&&(d=(t=f(x,i,a,v)).top,h=t.left)}var k=o===(0,l.me)().body,E=k?d+n.scrollY:d-c.top,R=k?h+n.scrollX:h-c.left;S((function(t){return t&&t.top===E&&t.left===R?t:{top:E,left:R}}))}}}),[e,p,v,O,r]),E=(0,o.useCallback)((function(){var t=!1;return function(){t||(t=!0,requestAnimationFrame((function(){k(),t=!1})))}}),[k])();if((0,o.useLayoutEffect)((function(){e&&k()}),[e,k]),(0,o.useEffect)((function(){if(e){var t=(0,l.Kv)(),n=O();if(n){t.addEventListener("resize",E),t.addEventListener("scroll",E,!0),n!==(0,l.me)().body&&n.addEventListener("scroll",E);var o=new ResizeObserver((function(){return E()}));return r.current&&o.observe(r.current),n!==(0,l.me)().body&&o.observe(n),function(){t.removeEventListener("resize",E),t.removeEventListener("scroll",E,!0),n!==(0,l.me)().body&&n.removeEventListener("scroll",E),o.disconnect()}}}}),[e,E,O,r]),(0,o.useEffect)((function(){if(e){var t=function(t){"Escape"===t.key&&(S(null),null==s||s())},n=function(t){var e=t.target;g.current&&!g.current.contains(e)&&r.current&&!r.current.contains(e)&&(S(null),null==s||s())},o=(0,l.me)();return o.addEventListener("mousedown",n),o.addEventListener("keydown",t),function(){o.removeEventListener("mousedown",n),o.removeEventListener("keydown",t)}}}),[e,s,r]),!e)return null;var R=O();return R?(0,i.createPortal)((0,n.tZ)("div",a({ref:g,style:a(a({position:"absolute"},x||{top:-9999,left:-9999}),{zIndex:b})},{children:c})),R):(0,n.tZ)(n.HY,{children:c})};var u=function(t,e,r){if(e){if(t.includes("top"))return t.replace("top","bottom");if(t.includes("bottom"))return t.replace("bottom","top")}if(r){if(t.includes("left"))return t.replace("left","right");if(t.includes("right"))return t.replace("right","left")}return t},f=function(t,e,r,n){switch(void 0===n&&(n=0),t){case"top":return{top:e.top-r.height-n,left:e.left+(e.width-r.width)/2};case"top-start":return{top:e.top-r.height-n,left:e.left};case"top-end":return{top:e.top-r.height-n,left:e.right-r.width};case"left":return{top:e.top+(e.height-r.height)/2,left:e.left-r.width-n};case"left-start":return{top:e.top,left:e.left-r.width-n};case"left-end":return{top:e.bottom-r.height,left:e.left-r.width-n};case"bottom":default:return{top:e.bottom+n,left:e.left+(e.width-r.width)/2};case"bottom-start":return{top:e.bottom+n,left:e.left};case"bottom-end":return{top:e.bottom+n,left:e.right-r.width};case"right":return{top:e.top+(e.height-r.height)/2,left:e.right+n};case"right-start":return{top:e.top,left:e.right+n};case"right-end":return{top:e.bottom-r.height,left:e.right+n}}}},8776:(t,e,r)=>{r.d(e,{u:()=>l});var n=r(5944),o=r(2988),i=function(){return i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)},l=function(t){var e=t.children,r=t.css,l=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(t,["children","css"]);return(0,n.tZ)("div",i({css:i({zIndex:o.rM+1,padding:".4rem 0",transition:"opacity .10s linear",".tooltip-inner":{maxWidth:"200px",padding:".25rem .5rem",color:"#fff",textAlign:"center",backgroundColor:"#000",borderRadius:".25rem",fontSize:"smaller"}},r)},l,{children:(0,n.tZ)("div",i({className:"tooltip-inner"},{children:e}))}))}},5406:(t,e,r)=>{r.d(e,{Z:()=>l});var n=r(7294),o=r(
|
|
1
|
+
"use strict";(this.webpackChunkFeathery=this.webpackChunkFeathery||[]).push([[277],{1587:(t,e,r)=>{r.d(e,{Z:()=>d});var n=r(5944),o=r(7294),i=r(8776),l=r(5467),a=r(2988),c=r(4665),u=r(7449),f=r(9479),s=function(){return s=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},s.apply(this,arguments)};function d(t){var e=t.id,r=t.text,d=t.responsiveStyles,p=t.absolute,h=void 0===p||p,v=t.containerRef,y=t.repeat,b=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),l=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)l.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return l}((0,o.useState)(!1),2),m=b[0],g=b[1],w=(0,o.useRef)(null);if(!(r=(0,c.xf)(r,y)))return null;var x=(0,f.tq)();return(0,n.BX)(n.HY,{children:[(0,n.tZ)("div",s({ref:w,onMouseEnter:x?void 0:function(){return g(!0)},onMouseLeave:x?void 0:function(){return g(!1)},onFocus:function(){return g(!0)},onBlur:function(){return g(!1)},onClick:function(){return g((function(t){return!t}))},css:h?{position:"absolute",insetInlineEnd:"10px",top:0,bottom:0,zIndex:a.rM,margin:"auto",cursor:"pointer",height:"100%",display:"flex"}:{position:"relative",marginInlineStart:"8px",display:"flex",alignItems:"center"}},{children:(0,n.tZ)(l.by,{cssStyles:d.getTarget("tooltipIcon")})})),(0,n.tZ)(u.Z,s({show:m,targetRef:w,containerRef:v,placement:"left",onHide:function(){return g(!1)},offset:8},{children:(0,n.tZ)(i.u,s({id:"tooltip-".concat(e),css:{zIndex:a.rM+1,padding:".4rem 0",transition:"opacity .10s linear",".tooltip-inner":{maxWidth:"200px",padding:".25rem .5rem",color:"#fff",textAlign:"center",backgroundColor:"#000",borderRadius:".25rem",fontSize:"smaller"}}},{children:r}))}))]})}},7449:(t,e,r)=>{r.d(e,{Z:()=>c});var n=r(5944),o=r(7294),i=r(3935),l=r(9479),a=function(){return a=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},a.apply(this,arguments)};const c=function(t){var e=t.show,r=t.targetRef,c=t.children,s=t.onHide,d=t.placement,p=void 0===d?"bottom-start":d,h=t.offset,v=void 0===h?0:h,y=t.zIndex,b=void 0===y?1e3:y,m=t.containerRef,g=(0,o.useRef)(null),w=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),l=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)l.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return l}((0,o.useState)(null),2),x=w[0],S=w[1],O=(0,o.useCallback)((function(){return(null==m?void 0:m.current)||(0,l.me)().body}),[m]),k=(0,o.useCallback)((function(){var t;if(e&&r.current&&g.current){var n=(0,l.Kv)(),o=O();if(o){var i=r.current.getBoundingClientRect(),a=g.current.getBoundingClientRect(),c=o.getBoundingClientRect(),s=f(p,i,a,v),d=s.top,h=s.left,y=d+a.height,b=h+a.width,m=d>=0&&y<=n.innerHeight,w=h>=0&&b<=n.innerWidth;if(!m||!w){var x=u(p,!m,!w);x!==p&&(d=(t=f(x,i,a,v)).top,h=t.left)}var k=o===(0,l.me)().body,E=k?d+n.scrollY:d-c.top,R=k?h+n.scrollX:h-c.left;S((function(t){return t&&t.top===E&&t.left===R?t:{top:E,left:R}}))}}}),[e,p,v,O,r]),E=(0,o.useCallback)((function(){var t=!1;return function(){t||(t=!0,requestAnimationFrame((function(){k(),t=!1})))}}),[k])();if((0,o.useLayoutEffect)((function(){e&&k()}),[e,k]),(0,o.useEffect)((function(){if(e){var t=(0,l.Kv)(),n=O();if(n){t.addEventListener("resize",E),t.addEventListener("scroll",E,!0),n!==(0,l.me)().body&&n.addEventListener("scroll",E);var o=new ResizeObserver((function(){return E()}));return r.current&&o.observe(r.current),n!==(0,l.me)().body&&o.observe(n),function(){t.removeEventListener("resize",E),t.removeEventListener("scroll",E,!0),n!==(0,l.me)().body&&n.removeEventListener("scroll",E),o.disconnect()}}}}),[e,E,O,r]),(0,o.useEffect)((function(){if(e){var t=function(t){"Escape"===t.key&&(S(null),null==s||s())},n=function(t){var e=t.target;g.current&&!g.current.contains(e)&&r.current&&!r.current.contains(e)&&(S(null),null==s||s())},o=(0,l.me)();return o.addEventListener("mousedown",n),o.addEventListener("keydown",t),function(){o.removeEventListener("mousedown",n),o.removeEventListener("keydown",t)}}}),[e,s,r]),!e)return null;var R=O();return R?(0,i.createPortal)((0,n.tZ)("div",a({ref:g,style:a(a({position:"absolute"},x||{top:-9999,left:-9999}),{zIndex:b})},{children:c})),R):(0,n.tZ)(n.HY,{children:c})};var u=function(t,e,r){if(e){if(t.includes("top"))return t.replace("top","bottom");if(t.includes("bottom"))return t.replace("bottom","top")}if(r){if(t.includes("left"))return t.replace("left","right");if(t.includes("right"))return t.replace("right","left")}return t},f=function(t,e,r,n){switch(void 0===n&&(n=0),t){case"top":return{top:e.top-r.height-n,left:e.left+(e.width-r.width)/2};case"top-start":return{top:e.top-r.height-n,left:e.left};case"top-end":return{top:e.top-r.height-n,left:e.right-r.width};case"left":return{top:e.top+(e.height-r.height)/2,left:e.left-r.width-n};case"left-start":return{top:e.top,left:e.left-r.width-n};case"left-end":return{top:e.bottom-r.height,left:e.left-r.width-n};case"bottom":default:return{top:e.bottom+n,left:e.left+(e.width-r.width)/2};case"bottom-start":return{top:e.bottom+n,left:e.left};case"bottom-end":return{top:e.bottom+n,left:e.right-r.width};case"right":return{top:e.top+(e.height-r.height)/2,left:e.right+n};case"right-start":return{top:e.top,left:e.right+n};case"right-end":return{top:e.bottom-r.height,left:e.right+n}}}},8776:(t,e,r)=>{r.d(e,{u:()=>l});var n=r(5944),o=r(2988),i=function(){return i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)},l=function(t){var e=t.children,r=t.css,l=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(t,["children","css"]);return(0,n.tZ)("div",i({css:i({zIndex:o.rM+1,padding:".4rem 0",transition:"opacity .10s linear",".tooltip-inner":{maxWidth:"200px",padding:".25rem .5rem",color:"#fff",textAlign:"center",backgroundColor:"#000",borderRadius:".25rem",fontSize:"smaller"}},r)},l,{children:(0,n.tZ)("div",i({className:"tooltip-inner"},{children:e}))}))}},5406:(t,e,r)=>{r.d(e,{Z:()=>l});var n=r(7294),o=r(9292),i=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),l=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)l.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return l};function l(t,e){var r=this,l=i((0,n.useState)([]),2),a=l[0],c=l[1],u=i((0,n.useState)(!1),2),f=u[0],s=u[1],d=!e&&t;return(0,n.useEffect)((function(){var n,i,l,a;t&&!e&&(n=r,i=void 0,a=function(){var e,r;return function(t,e){var r,n,o,i,l={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;l;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return l.label++,{value:i[1],done:!1};case 5:l.label++,n=i[1],i=[0];continue;case 7:i=l.ops.pop(),l.trys.pop();continue;default:if(!((o=(o=l.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){l=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){l.label=i[1];break}if(6===i[0]&&l.label<o[1]){l.label=o[1],o=i;break}if(o&&l.label<o[2]){l.label=o[2],l.ops.push(i);break}o[2]&&l.ops.pop(),l.trys.pop();continue}i=e.call(t,l)}catch(t){i=[6,t],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}(this,(function(n){switch(n.label){case 0:s(!0),n.label=1;case 1:return n.trys.push([1,3,4,5]),[4,(new o.ZP).fetchSalesforcePicklistOptions(t.object_name,t.field_name,t.credential_key)];case 2:return e=n.sent(),c(e.options||[]),[3,5];case 3:return r=n.sent(),console.error("Failed to fetch Salesforce options:",r),c([]),[3,5];case 4:return s(!1),[7];case 5:return[2]}}))},new((l=void 0)||(l=Promise))((function(t,e){function r(t){try{c(a.next(t))}catch(t){e(t)}}function o(t){try{c(a.throw(t))}catch(t){e(t)}}function c(e){var n;e.done?t(e.value):(n=e.value,n instanceof l?n:new l((function(t){t(n)}))).then(r,o)}c((a=a.apply(n,i||[])).next())})))}),[t]),{dynamicOptions:a,loadingDynamicOptions:f,shouldSalesforceSync:d}}}}]);
|