@feathery/react 2.15.0 → 2.15.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/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.DhxdiYw6.js} +1 -1
- package/cjs/{fthry_InlineTooltip.CRRFOiO4.js → fthry_InlineTooltip.BgAXRUIt.js} +2 -2
- package/cjs/{fthry_Overlay.CMYptYVH.js → fthry_Overlay.D7IM1ywp.js} +1 -1
- package/cjs/{fthry_PaymentMethodField.C_yV3aay.js → fthry_PaymentMethodField.NEoloWMI.js} +4 -4
- package/cjs/{fthry_Placeholder.xDn0I29f.js → fthry_Placeholder.D5C0aH2S.js} +1 -1
- package/cjs/{fthry_ShowEyeIcon.COZczYEG.js → fthry_ShowEyeIcon.CmLMyaN5.js} +1 -1
- package/cjs/{fthry_index.CQ3OgNZu.js → fthry_index.BFpcCw2o.js} +1 -1
- package/cjs/{fthry_index.Dm94Mor0.js → fthry_index.BJYH_2P6.js} +1 -1
- package/cjs/{fthry_index.Dzq-7u_A.js → fthry_index.BK_jaGHn.js} +5 -5
- package/cjs/{fthry_index.Db8Zj-xl.js → fthry_index.Bb1R5GZK.js} +2 -2
- package/cjs/{fthry_index.BV9FIqI3.js → fthry_index.Bd1HfYvE.js} +5 -5
- package/cjs/{fthry_index.CgatqFlS.js → fthry_index.BgeTdwT5.js} +2 -2
- package/cjs/{fthry_index.CFl7Tra-.js → fthry_index.Bq3nU0FH.js} +6 -6
- package/cjs/{fthry_index.Ct-olYcX.js → fthry_index.BqS0kCfh.js} +1 -1
- package/cjs/{fthry_index.ByYAaIPz.js → fthry_index.By8RWuUY.js} +6 -6
- package/cjs/{fthry_index.C97Bm277.js → fthry_index.CbfDILWu.js} +4 -4
- package/cjs/{fthry_index.CfGx505W.js → fthry_index.CgMWWz7f.js} +1 -1
- package/cjs/{fthry_index.BvXec6y1.js → fthry_index.Ci8dMyBp.js} +1 -1
- package/cjs/{fthry_index.B9CITASf.js → fthry_index.CkmA933O.js} +1 -1
- package/cjs/{fthry_index.BAis6iAm.js → fthry_index.CrFjXWLg.js} +3 -3
- package/cjs/{fthry_index.B5Nc9EIn.js → fthry_index.CzzIM_Es.js} +1831 -41
- package/cjs/{fthry_index.CPkoG8dL.js → fthry_index.D4rjZ-iU.js} +4 -4
- package/cjs/{fthry_index.BdfASO2V.js → fthry_index.DDjTLR_C.js} +6 -6
- package/cjs/{fthry_index.B5aSeoEj.js → fthry_index.DLnigFf3.js} +4 -4
- package/cjs/{fthry_index.Be_wKtBW.js → fthry_index.DXm31Dvn.js} +3 -3
- package/cjs/{fthry_index.BokP8_1j.js → fthry_index.DzpGyyn4.js} +5 -5
- package/cjs/{fthry_index.CoR2X1u6.js → fthry_index.E_vLB-7s.js} +8 -8
- package/cjs/{fthry_index.D35rnGh5.js → fthry_index.GeYRayLh.js} +1 -1
- package/cjs/{fthry_index.BZzFi9o3.js → fthry_index.JRP5lBfp.js} +7 -6
- package/cjs/{fthry_index.Iw93ZIvk.js → fthry_index.WDI9ExUl.js} +1 -1
- package/cjs/{fthry_input.DjhEftHE.js → fthry_input.kxr0lkUP.js} +1 -1
- package/cjs/{fthry_script.CEXFQk2h.js → fthry_script.CpqGoZRW.js} +1 -1
- package/cjs/{fthry_styles.twMOjtIt.js → fthry_styles.UURZE2St.js} +1 -1
- package/cjs/{fthry_useElementSize.CMss2qLc.js → fthry_useElementSize.B7mqB2ri.js} +1 -1
- package/cjs/{fthry_useSalesforceSync.GHaAu-dd.js → fthry_useSalesforceSync.DFHAEpBn.js} +1 -1
- package/cjs/{fthry_webfontloader.CZxQtgFm.js → fthry_webfontloader.COsYlNwD.js} +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 +6 -0
- package/cjs/utils/featheryClient/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.CikgGb3C.js} +1 -1
- package/dist/{fthry_InlineTooltip.DRPooJGa.js → fthry_InlineTooltip.BpfxcSEn.js} +2 -2
- package/dist/{fthry_Overlay.DSfIRMWh.js → fthry_Overlay.CJVfag7c.js} +1 -1
- package/dist/{fthry_PaymentMethodField.C2kDTnuL.js → fthry_PaymentMethodField.BpA_xhqt.js} +4 -4
- package/dist/{fthry_Placeholder.BYxBlfxe.js → fthry_Placeholder.DwCFN6a9.js} +1 -1
- package/dist/{fthry_ShowEyeIcon.DcuxGpJk.js → fthry_ShowEyeIcon.D6nQhesH.js} +1 -1
- package/dist/{fthry_index.BF_Plcr0.js → fthry_index.B-oHlMGi.js} +2 -2
- package/dist/{fthry_index.DwzU97uW.js → fthry_index.B7VWXvgC.js} +4 -4
- package/dist/{fthry_index.BuGMpxqA.js → fthry_index.B84L3MVC.js} +1 -1
- package/dist/{fthry_index.IjpiaOO-.js → fthry_index.BAhh3Pz6.js} +1 -1
- package/dist/{fthry_index.BIkZtQJH.js → fthry_index.BEZmvsoo.js} +7 -6
- package/dist/{fthry_index.BXiUUqma.js → fthry_index.BSEfDQAc.js} +2 -2
- package/dist/{fthry_index.COrbe5-R.js → fthry_index.BsEfTy-x.js} +8 -8
- package/dist/{fthry_index.CCtbaItI.js → fthry_index.BsNCOSBE.js} +5 -5
- package/dist/{fthry_index.B-bHDKSO.js → fthry_index.Bz07r-AM.js} +1 -1
- package/dist/{fthry_index.CxYSZnO_.js → fthry_index.BzrcCLzO.js} +4 -4
- package/dist/{fthry_index.D9VkJYNy.js → fthry_index.CJKGRCG-.js} +3 -3
- package/dist/{fthry_index.Cocw39qz.js → fthry_index.D9AKkBzu.js} +1 -1
- package/dist/{fthry_index.DkSTwhvF.js → fthry_index.D9VjMJ_U.js} +1 -1
- package/dist/{fthry_index.DCKiab_1.js → fthry_index.DH2fsNWG.js} +3 -3
- package/dist/{fthry_index.DvV-_9rQ.js → fthry_index.Dgmpm9wy.js} +6 -6
- package/dist/{fthry_index.BD6daAle.js → fthry_index.DhU16s57.js} +5 -5
- package/dist/{fthry_index.C0TSdYY1.js → fthry_index.DoP7RwIP.js} +1 -1
- package/dist/{fthry_index.uw0MJJ4F.js → fthry_index.Dy4nSWZa.js} +1 -1
- package/dist/{fthry_index.D6uzSPi5.js → fthry_index.Fs86Fy9Y.js} +5 -5
- package/dist/{fthry_index.CkEibXDT.js → fthry_index.NOuMR_hq.js} +6 -6
- package/dist/{fthry_index.Ox88biXC.js → fthry_index.OHN-Iv2R.js} +1 -1
- package/dist/{fthry_index.4fMPrW44.js → fthry_index.m7CZv4YY.js} +4 -4
- package/dist/{fthry_index.Cz1sN7j0.js → fthry_index.t4v0qqgv.js} +6 -6
- package/dist/{fthry_index.DSkVpyvV.js → fthry_index.y4j9reIZ.js} +1831 -41
- package/dist/{fthry_input.BJLJlGVj.js → fthry_input.Cb2u4VEf.js} +1 -1
- package/dist/{fthry_script.BL_LvOsU.js → fthry_script.C5O1ZNQQ.js} +1 -1
- package/dist/{fthry_styles.Bgjx59v5.js → fthry_styles.DGB23xLr.js} +1 -1
- package/dist/{fthry_useElementSize.COmxJss_.js → fthry_useElementSize.CBdpS9aW.js} +1 -1
- package/dist/{fthry_useSalesforceSync.BZM69NNS.js → fthry_useSalesforceSync.Cae_lMG1.js} +1 -1
- package/dist/{fthry_webfontloader.BonjOYue.js → fthry_webfontloader.DAANkO2-.js} +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 +6 -0
- package/dist/utils/featheryClient/index.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,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$1 = require('./fthry_index.
|
|
3
|
+
var index$1 = require('./fthry_index.CzzIM_Es.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var Placeholder = require('./fthry_Placeholder.
|
|
6
|
-
var InlineTooltip = require('./fthry_InlineTooltip.
|
|
5
|
+
var Placeholder = require('./fthry_Placeholder.D5C0aH2S.js');
|
|
6
|
+
var InlineTooltip = require('./fthry_InlineTooltip.BgAXRUIt.js');
|
|
7
7
|
require('react/jsx-runtime');
|
|
8
8
|
require('react-dom/client');
|
|
9
9
|
require('jszip');
|
|
10
10
|
require('react-dom');
|
|
11
|
-
require('./fthry_Overlay.
|
|
11
|
+
require('./fthry_Overlay.D7IM1ywp.js');
|
|
12
12
|
|
|
13
13
|
function TextArea(_a) {
|
|
14
14
|
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,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./fthry_index.
|
|
3
|
+
var index = require('./fthry_index.CzzIM_Es.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var FormControl = require('./fthry_FormControl.
|
|
6
|
-
var index$1 = require('./fthry_index.
|
|
7
|
-
var InlineTooltip = require('./fthry_InlineTooltip.
|
|
8
|
-
var useSalesforceSync = require('./fthry_useSalesforceSync.
|
|
5
|
+
var FormControl = require('./fthry_FormControl.DhxdiYw6.js');
|
|
6
|
+
var index$1 = require('./fthry_index.BJYH_2P6.js');
|
|
7
|
+
var InlineTooltip = require('./fthry_InlineTooltip.BgAXRUIt.js');
|
|
8
|
+
var useSalesforceSync = require('./fthry_useSalesforceSync.DFHAEpBn.js');
|
|
9
9
|
require('react/jsx-runtime');
|
|
10
10
|
require('react-dom/client');
|
|
11
11
|
require('jszip');
|
|
12
12
|
require('react-dom');
|
|
13
|
-
require('./fthry_Overlay.
|
|
13
|
+
require('./fthry_Overlay.D7IM1ywp.js');
|
|
14
14
|
|
|
15
15
|
var applyRadioGroupStyles = function (element, responsiveStyles) {
|
|
16
16
|
responsiveStyles.addTargets('radioGroup');
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./fthry_index.
|
|
3
|
+
var index = require('./fthry_index.CzzIM_Es.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var InlineTooltip = require('./fthry_InlineTooltip.
|
|
6
|
-
var useSalesforceSync = require('./fthry_useSalesforceSync.
|
|
5
|
+
var InlineTooltip = require('./fthry_InlineTooltip.BgAXRUIt.js');
|
|
6
|
+
var useSalesforceSync = require('./fthry_useSalesforceSync.DFHAEpBn.js');
|
|
7
7
|
require('react/jsx-runtime');
|
|
8
8
|
require('react-dom/client');
|
|
9
9
|
require('jszip');
|
|
10
10
|
require('react-dom');
|
|
11
|
-
require('./fthry_Overlay.
|
|
11
|
+
require('./fthry_Overlay.D7IM1ywp.js');
|
|
12
12
|
|
|
13
13
|
function ButtonGroupField(_a) {
|
|
14
14
|
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,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./fthry_index.
|
|
3
|
+
var index = require('./fthry_index.CzzIM_Es.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index$1 = require('./fthry_index.
|
|
5
|
+
var index$1 = require('./fthry_index.BFpcCw2o.js');
|
|
6
6
|
require('react/jsx-runtime');
|
|
7
7
|
require('react-dom/client');
|
|
8
8
|
require('jszip');
|
|
@@ -1435,7 +1435,7 @@ function SignatureField(_a) {
|
|
|
1435
1435
|
React.useEffect(function () {
|
|
1436
1436
|
if (!global.webfontloaderPromise)
|
|
1437
1437
|
global.webfontloaderPromise = Promise.resolve().then(function () { return require(
|
|
1438
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
1438
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.COsYlNwD.js'); }).then(function (n) { return n.webfontloader; });
|
|
1439
1439
|
global.webfontloaderPromise.then(function (WebFont) {
|
|
1440
1440
|
WebFont.load({ google: { families: ['La Belle Aurore'] } });
|
|
1441
1441
|
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$1 = require('./fthry_index.
|
|
3
|
+
var index$1 = require('./fthry_index.CzzIM_Es.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var InlineTooltip = require('./fthry_InlineTooltip.
|
|
6
|
-
var Placeholder$2 = require('./fthry_Placeholder.
|
|
7
|
-
var useSalesforceSync = require('./fthry_useSalesforceSync.
|
|
8
|
-
var Overlay = require('./fthry_Overlay.
|
|
5
|
+
var InlineTooltip = require('./fthry_InlineTooltip.BgAXRUIt.js');
|
|
6
|
+
var Placeholder$2 = require('./fthry_Placeholder.D5C0aH2S.js');
|
|
7
|
+
var useSalesforceSync = require('./fthry_useSalesforceSync.DFHAEpBn.js');
|
|
8
|
+
var Overlay = require('./fthry_Overlay.D7IM1ywp.js');
|
|
9
9
|
var ReactDOM = require('react-dom');
|
|
10
10
|
require('react/jsx-runtime');
|
|
11
11
|
require('react-dom/client');
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$1 = require('./fthry_index.
|
|
3
|
+
var index$1 = require('./fthry_index.CzzIM_Es.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var Placeholder = require('./fthry_Placeholder.
|
|
6
|
-
var InlineTooltip = require('./fthry_InlineTooltip.
|
|
7
|
-
var Overlay = require('./fthry_Overlay.
|
|
8
|
-
var useElementSize = require('./fthry_useElementSize.
|
|
9
|
-
var ShowEyeIcon = require('./fthry_ShowEyeIcon.
|
|
10
|
-
var input = require('./fthry_input.
|
|
5
|
+
var Placeholder = require('./fthry_Placeholder.D5C0aH2S.js');
|
|
6
|
+
var InlineTooltip = require('./fthry_InlineTooltip.BgAXRUIt.js');
|
|
7
|
+
var Overlay = require('./fthry_Overlay.D7IM1ywp.js');
|
|
8
|
+
var useElementSize = require('./fthry_useElementSize.B7mqB2ri.js');
|
|
9
|
+
var ShowEyeIcon = require('./fthry_ShowEyeIcon.CmLMyaN5.js');
|
|
10
|
+
var input = require('./fthry_input.kxr0lkUP.js');
|
|
11
11
|
require('react/jsx-runtime');
|
|
12
12
|
require('react-dom/client');
|
|
13
13
|
require('jszip');
|
|
14
14
|
require('react-dom');
|
|
15
|
-
require('./fthry_index.
|
|
15
|
+
require('./fthry_index.BFpcCw2o.js');
|
|
16
16
|
|
|
17
17
|
function TextAutocomplete$1(_a) {
|
|
18
18
|
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,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$1 = require('./fthry_index.
|
|
3
|
+
var index$1 = require('./fthry_index.CzzIM_Es.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var Placeholder = require('./fthry_Placeholder.
|
|
6
|
-
var InlineTooltip = require('./fthry_InlineTooltip.
|
|
7
|
-
var Overlay = require('./fthry_Overlay.
|
|
8
|
-
var useElementSize = require('./fthry_useElementSize.
|
|
5
|
+
var Placeholder = require('./fthry_Placeholder.D5C0aH2S.js');
|
|
6
|
+
var InlineTooltip = require('./fthry_InlineTooltip.BgAXRUIt.js');
|
|
7
|
+
var Overlay = require('./fthry_Overlay.D7IM1ywp.js');
|
|
8
|
+
var useElementSize = require('./fthry_useElementSize.B7mqB2ri.js');
|
|
9
9
|
require('react/jsx-runtime');
|
|
10
10
|
require('react-dom/client');
|
|
11
11
|
require('jszip');
|
|
@@ -44,6 +44,7 @@ function AddressLine1(_a) {
|
|
|
44
44
|
error: inlineError,
|
|
45
45
|
breakpoint: responsiveStyles.getMobileBreakpoint()
|
|
46
46
|
}), borderStyles = _o.borderStyles, customBorder = _o.customBorder;
|
|
47
|
+
var autocomplete = servar.type === 'gmap_city' ? 'address-level2' : 'street-address';
|
|
47
48
|
return (index$1.jsxs("div", index$1.__assign({ ref: containerRef, css: index$1.__assign({ maxWidth: '100%', width: '100%', height: '100%', position: 'relative', pointerEvents: editMode ? 'none' : 'auto' }, responsiveStyles.getTarget('fc')) }, elementProps, { children: [children, fieldLabel, index$1.jsxs("div", index$1.__assign({ ref: fieldWrapperRef, css: index$1.__assign(index$1.__assign(index$1.__assign({ position: 'relative', width: '100%',
|
|
48
49
|
// Prevent placeholder overflow
|
|
49
50
|
overflowX: 'clip' }, responsiveStyles.getTarget('sub-fc')), (disabled ? responsiveStyles.getTarget('disabled') : {})), { '&:hover': index$1.hoverStylesGuard(disabled
|
|
@@ -51,7 +52,7 @@ function AddressLine1(_a) {
|
|
|
51
52
|
: index$1.__assign(index$1.__assign({}, responsiveStyles.getTarget('hover')), borderStyles.hover)), '&&': focused
|
|
52
53
|
? index$1.__assign(index$1.__assign({}, responsiveStyles.getTarget('active')), borderStyles.active) : {} }) }, { children: [customBorder, index$1.jsx("input", { id: servar.key, name: servar.key, css: index$1.__assign(index$1.__assign(index$1.__assign({ position: 'relative', height: '100%', width: '100%', border: 'none', margin: 0, backgroundColor: 'transparent' }, index$1.resetStyles), responsiveStyles.getTarget('field')), (focused || value || !element.properties.placeholder
|
|
53
54
|
? {}
|
|
54
|
-
: { color: 'transparent !important' })), maxLength: servar.max_length, minLength: servar.min_length, placeholder: '', disabled: disabled, "aria-label": element.properties.aria_label, autoComplete: autoComplete === 'on' ?
|
|
55
|
+
: { 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) {
|
|
55
56
|
inputRef.current = ref;
|
|
56
57
|
setRef(ref);
|
|
57
58
|
}, onKeyDown: function (e) {
|
package/cjs/index.js
CHANGED
|
@@ -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;
|
|
@@ -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":"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"}
|
package/dist/Form/logic.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logic.d.ts","sourceRoot":"","sources":["../../src/Form/logic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,OAAO,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"logic.d.ts","sourceRoot":"","sources":["../../src/Form/logic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,OAAO,EAAE,MAAM,OAAO,CAAC;AAGrD,OAAO,EAGL,uBAAuB,EACvB,cAAc,EACf,MAAM,eAAe,CAAC;AAIvB,OAAO,EACL,mBAAmB,EACnB,SAAS,EACT,mBAAmB,EACpB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,CAqBjE;AAwXD,wBAAgB,4BAA4B,CAC1C,mBAAmB,EAAE,cAAc,EAAE,GACpC,uBAAuB,EAAE,CAO3B;AAED,wBAAgB,6BAA6B,CAC3C,IAAI,EAAE,MAAM,EACZ,uBAAuB,EAAE,uBAAuB,EAAE,GACjD,MAAM,CAqER;AAGD,eAAO,MAAM,eAAe,iBAAkB,MAAM,aAAa,SAAS,SAOzE,CAAC;AAEF,eAAO,MAAM,kBAAkB,cAClB,mBAAmB,UACtB,GAAG,WACF,OAAO,kBAYjB,CAAC;AAIF,eAAO,MAAM,kBAAkB,cAClB,mBAAmB,UACtB,GAAG,2BACc,uBAAuB,EAAE,iBACnC,iBAAiB,mBACf,GAAG,SACb,OAAO,MAAM,EAAE,GAAG,CAAC,kBA+C3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/AddressLine1Field/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyD,MAAM,OAAO,CAAC;AAiB9E,iBAAS,YAAY,CAAC,EACpB,OAAO,EACP,gBAAgB,EAChB,UAAU,EACV,YAAiB,EACjB,QAAgB,EAChB,YAAY,EACZ,QAAQ,EACR,WAAkB,EAClB,QAAmB,EACnB,QAAmB,EACnB,QAAQ,EACR,MAAiB,EACjB,OAAkB,EAClB,MAAiB,EACjB,KAAU,EACV,WAAW,EACX,QAAQ,EACT,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/AddressLine1Field/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyD,MAAM,OAAO,CAAC;AAiB9E,iBAAS,YAAY,CAAC,EACpB,OAAO,EACP,gBAAgB,EAChB,UAAU,EACV,YAAiB,EACjB,QAAgB,EAChB,YAAY,EACZ,QAAQ,EACR,WAAkB,EAClB,QAAmB,EACnB,QAAmB,EACnB,QAAQ,EACR,MAAiB,EACjB,OAAkB,EAClB,MAAiB,EACjB,KAAU,EACV,WAAW,EACX,QAAQ,EACT,EAAE,GAAG,oDAsKL;;AAqCD,wBAAkC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsx, _ as __assign, b as __read, au as replaceTextVariables, x as isMobile, a as jsxs, F as Fragment, q as FORM_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { j as jsx, _ as __assign, b as __read, au as replaceTextVariables, x as isMobile, a as jsxs, F as Fragment, q as FORM_Z_INDEX } from './fthry_index.y4j9reIZ.js';
|
|
2
2
|
import { useState, useRef } from 'react';
|
|
3
|
-
import { O as Overlay, T as Tooltip } from './fthry_Overlay.
|
|
3
|
+
import { O as Overlay, T as Tooltip } from './fthry_Overlay.CJVfag7c.js';
|
|
4
4
|
|
|
5
5
|
function HelpIcon(_a) {
|
|
6
6
|
var _b = _a.cssStyles, cssStyles = _b === void 0 ? {} : _b, _c = _a.onClick, onClick = _c === void 0 ? function () { } : _c;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as __rest, j as jsx, _ as __assign, q as FORM_Z_INDEX, b as __read, f as featheryDoc, t as featheryWindow, F as Fragment } from './fthry_index.
|
|
1
|
+
import { y as __rest, j as jsx, _ as __assign, q as FORM_Z_INDEX, b as __read, f as featheryDoc, t as featheryWindow, F as Fragment } from './fthry_index.y4j9reIZ.js';
|
|
2
2
|
import { useRef, useState, useCallback, useLayoutEffect, useEffect } from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { y as __rest, f as featheryDoc, a as jsxs, _ as __assign, ad as getStripe, j as jsx, b as __read, u as useBorder, ae as filterKeys, af as ERROR_COLOR } from './fthry_index.
|
|
1
|
+
import { y as __rest, f as featheryDoc, a as jsxs, _ as __assign, ad as getStripe, j as jsx, b as __read, u as useBorder, ae as filterKeys, af as ERROR_COLOR } from './fthry_index.y4j9reIZ.js';
|
|
2
2
|
import React__default, { memo, useEffect, useState, useRef } from 'react';
|
|
3
|
-
import { P as PropTypes } from './fthry_index.
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
3
|
+
import { P as PropTypes } from './fthry_index.OHN-Iv2R.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BpfxcSEn.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.CJVfag7c.js';
|
|
10
10
|
|
|
11
11
|
function ownKeys(object, enumerableOnly) {
|
|
12
12
|
var keys = Object.keys(object);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as __rest, j as jsx, _ as __assign } from './fthry_index.
|
|
1
|
+
import { y as __rest, j as jsx, _ as __assign } from './fthry_index.y4j9reIZ.js';
|
|
2
2
|
|
|
3
3
|
function ShowEyeIcon$1(_a) {
|
|
4
4
|
var _b = _a.width, width = _b === void 0 ? 30 : _b, _c = _a.height, height = _c === void 0 ? 30 : _c, props = __rest(_a, ["width", "height"]);
|
|
@@ -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.y4j9reIZ.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.DGB23xLr.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -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.y4j9reIZ.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.BpfxcSEn.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.Cae_lMG1.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.CJVfag7c.js';
|
|
10
10
|
|
|
11
11
|
var ae = [
|
|
12
12
|
{ name: 'Abu Dhabi', code: 'AZ' },
|
|
@@ -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.y4j9reIZ.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 { _ 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.y4j9reIZ.js';
|
|
2
2
|
import { useState, useRef, useEffect, useMemo } from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
@@ -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.y4j9reIZ.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.DwCFN6a9.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BpfxcSEn.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.CJVfag7c.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.CBdpS9aW.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.y4j9reIZ.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.DGB23xLr.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
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.y4j9reIZ.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.DwCFN6a9.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BpfxcSEn.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.CJVfag7c.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.CBdpS9aW.js';
|
|
7
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.D6nQhesH.js';
|
|
8
|
+
import { a as IMaskInput } from './fthry_input.Cb2u4VEf.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.OHN-Iv2R.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,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.y4j9reIZ.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.DwCFN6a9.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BpfxcSEn.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.CJVfag7c.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.CBdpS9aW.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
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.y4j9reIZ.js';
|
|
2
2
|
import { useRef, useState, useEffect, memo, useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -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.y4j9reIZ.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.DwCFN6a9.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BpfxcSEn.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.CJVfag7c.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,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.y4j9reIZ.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.OHN-Iv2R.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.DAANkO2-.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,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.y4j9reIZ.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 { 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.y4j9reIZ.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';
|