@feathery/react 2.11.0 → 2.11.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/dist/cjs/elements/fields/FileUploadField/index.d.ts.map +1 -1
- package/dist/cjs/elements/fields/index.d.ts.map +1 -1
- package/dist/cjs/{fthry_FormControl.BlJZjs35.js → fthry_FormControl.D6cl6D9S.js} +1 -1
- package/dist/cjs/{fthry_InlineTooltip.BkttK4lB.js → fthry_InlineTooltip.BznYePC8.js} +2 -2
- package/dist/cjs/{fthry_Overlay.OLX1E5Mx.js → fthry_Overlay.Y_J8ccm6.js} +1 -1
- package/dist/cjs/{fthry_PaymentMethodField.xVoJ3tP3.js → fthry_PaymentMethodField.D0YALHBL.js} +4 -4
- package/dist/cjs/{fthry_Placeholder.BYhrdrmr.js → fthry_Placeholder.DLJqaPGW.js} +1 -1
- package/dist/cjs/{fthry_ShowEyeIcon.D2ndFoZG.js → fthry_ShowEyeIcon.DzvNCry-.js} +1 -1
- package/dist/cjs/{fthry_index.DVoFPw_6.js → fthry_index.5Pl_oKxb.js} +3 -3
- package/dist/cjs/{fthry_index.DU4NyVta.js → fthry_index.6K3SolcM.js} +8 -8
- package/dist/cjs/{fthry_index.Dscne3Dt.js → fthry_index.BIDjlZK9.js} +1 -1
- package/dist/cjs/{fthry_index.C91OrhDJ.js → fthry_index.BVctbQwI.js} +1 -1
- package/dist/cjs/{fthry_index.DivS5VJj.js → fthry_index.Biaf9DMR.js} +1 -1
- package/dist/cjs/{fthry_index.u1vwwO92.js → fthry_index.C-CXGg0X.js} +6 -6
- package/dist/cjs/{fthry_index.C6L3jtzR.js → fthry_index.CVdIUnnS.js} +4 -4
- package/dist/cjs/{fthry_index.CBzm-zz0.js → fthry_index.CaFboSVZ.js} +2 -2
- package/dist/cjs/{fthry_index.CxCE-XtP.js → fthry_index.Cl0pC-iC.js} +6 -6
- package/dist/cjs/{fthry_index.CBVYoHSE.js → fthry_index.DKwYIEay.js} +4 -4
- package/dist/cjs/{fthry_index.BaPWhv11.js → fthry_index.DPJLojch.js} +1 -1
- package/dist/cjs/{fthry_index.hcpwrtk6.js → fthry_index.DfjbwYs8.js} +5 -5
- package/dist/cjs/{fthry_index.Bo70vqfi.js → fthry_index.Dg3FFh_g.js} +9 -4
- package/dist/cjs/{fthry_index.KFDJ5jHx.js → fthry_index.DhP_ifSD.js} +3 -3
- package/dist/cjs/{fthry_index.Bs9hNEnE.js → fthry_index.DmHwjSeG.js} +1 -1
- package/dist/cjs/{fthry_index.DfayElGY.js → fthry_index.EMYHk8IT.js} +28 -25
- package/dist/cjs/{fthry_index.D7NIHZKl.js → fthry_index.ObOAUNgg.js} +4 -4
- package/dist/cjs/{fthry_index.ClLgzqZ3.js → fthry_index.XwO_Rbt1.js} +1 -1
- package/dist/cjs/{fthry_index.hN9N-F0_.js → fthry_index._0ok1zlZ.js} +6 -6
- package/dist/cjs/{fthry_index.Bw4tg6t2.js → fthry_index.hetQ4hFA.js} +5 -5
- package/dist/cjs/{fthry_index.CS9Y7B8-.js → fthry_index.lBGOIoJv.js} +5 -5
- package/dist/cjs/{fthry_index.gNcgXpsa.js → fthry_index.nvFgoNpW.js} +2 -2
- package/dist/cjs/{fthry_index.B-OQCs5M.js → fthry_index.uPlANshe.js} +5 -5
- package/dist/cjs/{fthry_input.BiOQUOMr.js → fthry_input.zxl6q_39.js} +1 -1
- package/dist/cjs/{fthry_script.BIB8RC3N.js → fthry_script.BR1PC2YO.js} +1 -1
- package/dist/cjs/{fthry_styles.EGpWXoMs.js → fthry_styles.8kKnpgke.js} +1 -1
- package/dist/cjs/{fthry_useElementSize.DcThHOvc.js → fthry_useElementSize.d2r6U5ah.js} +1 -1
- package/dist/cjs/{fthry_useSalesforceSync.DFczx5s3.js → fthry_useSalesforceSync.BhgCgOph.js} +1 -1
- package/dist/cjs/{fthry_webfontloader.DasBAca1.js → fthry_webfontloader.BxRwLQqw.js} +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/utils/image.d.ts.map +1 -1
- package/dist/elements/fields/FileUploadField/index.d.ts.map +1 -1
- package/dist/elements/fields/index.d.ts.map +1 -1
- package/dist/esm/elements/fields/FileUploadField/index.d.ts.map +1 -1
- package/dist/esm/elements/fields/index.d.ts.map +1 -1
- package/dist/esm/{fthry_FormControl.Bvp1ol8q.js → fthry_FormControl.Dw6vin7t.js} +1 -1
- package/dist/esm/{fthry_InlineTooltip.CGcT2Q5h.js → fthry_InlineTooltip.BefepzqB.js} +2 -2
- package/dist/esm/{fthry_Overlay.BkaabwQm.js → fthry_Overlay.KSPvV_5I.js} +1 -1
- package/dist/esm/{fthry_PaymentMethodField.BxwQuSXD.js → fthry_PaymentMethodField.BUfFS7UV.js} +4 -4
- package/dist/esm/{fthry_Placeholder.BGwhXwAz.js → fthry_Placeholder.BW8tIivs.js} +1 -1
- package/dist/esm/{fthry_ShowEyeIcon.BvjO5Fwu.js → fthry_ShowEyeIcon.BKxMDQ6E.js} +1 -1
- package/dist/esm/{fthry_index.DT8ZfHHu.js → fthry_index.56gEPYOD.js} +6 -6
- package/dist/esm/{fthry_index.D3GResKv.js → fthry_index.B47QNn0m.js} +5 -5
- package/dist/esm/{fthry_index.Nu99hAd8.js → fthry_index.B6wWZFeh.js} +6 -6
- package/dist/esm/{fthry_index.CAnpWx_Z.js → fthry_index.B792Q-9f.js} +4 -4
- package/dist/esm/{fthry_index.FH2KJFfM.js → fthry_index.BLXBhPia.js} +1 -1
- package/dist/esm/{fthry_index.w1320dF7.js → fthry_index.BnK1bTAO.js} +5 -5
- package/dist/esm/{fthry_index.Bi5cCZNy.js → fthry_index.BroPvTJq.js} +2 -2
- package/dist/esm/{fthry_index.C2S4c5pF.js → fthry_index.C8W18PjB.js} +6 -6
- package/dist/esm/{fthry_index.CBNspXVR.js → fthry_index.CI9m6hZF.js} +28 -25
- package/dist/esm/{fthry_index.BOVi_Kyn.js → fthry_index.CJ32ytSR.js} +1 -1
- package/dist/esm/{fthry_index.CCw70Cjx.js → fthry_index.ClAqMRNE.js} +5 -5
- package/dist/esm/{fthry_index.BLb5-3Gk.js → fthry_index.CquWPUWD.js} +5 -5
- package/dist/esm/{fthry_index.Dbx-Pve6.js → fthry_index.Cwlyf022.js} +9 -4
- package/dist/esm/{fthry_index.CTHihuoA.js → fthry_index.D9_3XAGw.js} +8 -8
- package/dist/esm/{fthry_index.LkObY36D.js → fthry_index.DNGxrq0x.js} +4 -4
- package/dist/esm/{fthry_index.CNDhPheV.js → fthry_index.DrkBLnxc.js} +2 -2
- package/dist/esm/{fthry_index.BQa_ZCWw.js → fthry_index.Dwn_Hlhv.js} +1 -1
- package/dist/esm/{fthry_index.BbTIO7u5.js → fthry_index.DySdw1qz.js} +3 -3
- package/dist/esm/{fthry_index.CUaZkZZ2.js → fthry_index.WbUsG08Q.js} +3 -3
- package/dist/esm/{fthry_index.ptB6q5XU.js → fthry_index.bwiHR1sL.js} +1 -1
- package/dist/esm/{fthry_index.DYTH_1IR.js → fthry_index.iCgN6lqQ.js} +1 -1
- package/dist/esm/{fthry_index.BMcwXprn.js → fthry_index.o9Sz1ZZ7.js} +4 -4
- package/dist/esm/{fthry_index.B0OijNSq.js → fthry_index.zq2HD0Fd.js} +1 -1
- package/dist/esm/{fthry_input.Bw3xhju0.js → fthry_input.sAUJXmRh.js} +1 -1
- package/dist/esm/{fthry_script.LLJ5A9CG.js → fthry_script.Ddc0lRD_.js} +1 -1
- package/dist/esm/{fthry_styles.Bv1uXTuw.js → fthry_styles.3ifXNVk6.js} +1 -1
- package/dist/esm/{fthry_useElementSize.COtsWo4L.js → fthry_useElementSize.MYGhO3UW.js} +1 -1
- package/dist/esm/{fthry_useSalesforceSync.Kx93832t.js → fthry_useSalesforceSync.CLzWAPAF.js} +1 -1
- package/dist/esm/{fthry_webfontloader.DtNRbLFp.js → fthry_webfontloader.DbHsRpPk.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/utils/image.d.ts.map +1 -1
- package/dist/utils/image.d.ts.map +1 -1
- package/package.json +1 -1
- package/umd/FileUploadField.ea0067dd62b0454b7c2e.js +1 -0
- package/umd/index.js +1 -1
- package/umd/FileUploadField.11dcf999a3604cdf4ea0.js +0 -1
package/dist/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/utils/image.tsx"],"names":[],"mappings":";AAIA,eAAO,MAAM,cAAc;;;;CAI1B,CAAC;AAEF,eAAO,MAAM,YAAY,QACgF,CAAC;AAE1G,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/utils/image.tsx"],"names":[],"mappings":";AAIA,eAAO,MAAM,cAAc;;;;CAI1B,CAAC;AAEF,eAAO,MAAM,YAAY,QACgF,CAAC;AAE1G,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,UAc1C;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,YAAY,EAAE,GAAG,EAAE,UAAU,aAAW,+EAWnE;AAED;;;GAGG;AACH,wBAAsB,gBAAgB,CAAC,WAAW,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;;;GAmBvE;AAED;;GAEG;AACH,wBAAsB,aAAa,CAAC,WAAW,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;;;GAQpE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,EAAE;;;IAatD;AAED,eAAO,MAAM,aAAa,YAAa,GAAG,QAAQ,GAAG,SAYpD,CAAC;AAEF,eAAO,MAAM,QAAQ,SAAU,GAAG,KAAG,QAAQ,MAAM,CAM/C,CAAC;AAEL,eAAO,MAAM,aAAa,WAAY,GAAG,YAExC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/FileUploadField/index.tsx"],"names":[],"mappings":"AAeA,iBAAS,eAAe,CAAC,EACvB,OAAO,EACP,gBAAgB,EAChB,QAAgB,EAChB,QAAgB,EAChB,QAAQ,EACR,QAAQ,EAAE,cAAyB,EACnC,YAAiB,EACjB,YAAiB,EACjB,QAAQ,EACT,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/FileUploadField/index.tsx"],"names":[],"mappings":"AAeA,iBAAS,eAAe,CAAC,EACvB,OAAO,EACP,gBAAgB,EAChB,QAAgB,EAChB,QAAgB,EAChB,QAAQ,EACR,QAAQ,EAAE,cAAyB,EACnC,YAAiB,EACjB,YAAiB,EACjB,QAAQ,EACT,EAAE,GAAG,oDA0WL;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/fields/index.tsx"],"names":[],"mappings":"AA6EA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;CAuBX,CAAC;AAkBF,eAAO,MAAM,gBAAgB,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/fields/index.tsx"],"names":[],"mappings":"AA6EA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;CAuBX,CAAC;AAkBF,eAAO,MAAM,gBAAgB,KAAK,CAAC;AA2ZnC,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/elements/fields/FileUploadField/index.tsx"],"names":[],"mappings":"AAeA,iBAAS,eAAe,CAAC,EACvB,OAAO,EACP,gBAAgB,EAChB,QAAgB,EAChB,QAAgB,EAChB,QAAQ,EACR,QAAQ,EAAE,cAAyB,EACnC,YAAiB,EACjB,YAAiB,EACjB,QAAQ,EACT,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/elements/fields/FileUploadField/index.tsx"],"names":[],"mappings":"AAeA,iBAAS,eAAe,CAAC,EACvB,OAAO,EACP,gBAAgB,EAChB,QAAgB,EAChB,QAAgB,EAChB,QAAQ,EACR,QAAQ,EAAE,cAAyB,EACnC,YAAiB,EACjB,YAAiB,EACjB,QAAQ,EACT,EAAE,GAAG,oDA0WL;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/index.tsx"],"names":[],"mappings":";AA6EA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;CAuBX,CAAC;AAkBF,eAAO,MAAM,gBAAgB,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/index.tsx"],"names":[],"mappings":";AA6EA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;CAuBX,CAAC;AAkBF,eAAO,MAAM,gBAAgB,KAAK,CAAC;AA2ZnC,eAAe,MAAM,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as jsx, a as __assign, _ as __read, au as replaceTextVariables, q as isMobile, j as jsxs, m as Fragment, k as FORM_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { b as jsx, a as __assign, _ as __read, au as replaceTextVariables, q as isMobile, j as jsxs, m as Fragment, k as FORM_Z_INDEX } from './fthry_index.CI9m6hZF.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.KSPvV_5I.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 { t as __rest, b as jsx, a as __assign, k as FORM_Z_INDEX, _ as __read, s as featheryDoc, l as featheryWindow, m as Fragment } from './fthry_index.
|
|
1
|
+
import { t as __rest, b as jsx, a as __assign, k as FORM_Z_INDEX, _ as __read, s as featheryDoc, l as featheryWindow, m as Fragment } from './fthry_index.CI9m6hZF.js';
|
|
2
2
|
import { useRef, useState, useCallback, useLayoutEffect, useEffect } from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
|
package/dist/esm/{fthry_PaymentMethodField.BxwQuSXD.js → fthry_PaymentMethodField.BUfFS7UV.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as __rest, s as featheryDoc, j as jsxs, a as __assign, ab as getStripe, b as jsx, _ as __read, u as useBorder, ac as filterKeys, ad as ERROR_COLOR } from './fthry_index.
|
|
1
|
+
import { t as __rest, s as featheryDoc, j as jsxs, a as __assign, ab as getStripe, b as jsx, _ as __read, u as useBorder, ac as filterKeys, ad as ERROR_COLOR } from './fthry_index.CI9m6hZF.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.iCgN6lqQ.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BefepzqB.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.KSPvV_5I.js';
|
|
10
10
|
|
|
11
11
|
function ownKeys(object, enumerableOnly) {
|
|
12
12
|
var keys = Object.keys(object);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __rest, b as jsx, a as __assign } from './fthry_index.
|
|
1
|
+
import { t as __rest, b as jsx, a as __assign } from './fthry_index.CI9m6hZF.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,14 +1,14 @@
|
|
|
1
|
-
import { j as jsxs, a as __assign, b as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { j as jsxs, a as __assign, b as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.CI9m6hZF.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.Dw6vin7t.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.bwiHR1sL.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BefepzqB.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.CLzWAPAF.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.KSPvV_5I.js';
|
|
12
12
|
|
|
13
13
|
var applyCheckboxGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('checkboxGroup');
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { y as stringify, z as rulesheet, C as COMMENT, A as middleware, R as RULESET, B as combine, H as match, I as serialize, J as copy, K as replace, W as WEBKIT, M as MOZ, L as MS, N as KEYFRAMES, O as DECLARATION, P as dealloc, Q as alloc, S as hash, T as charat, U as strlen, V as indexof, X as next, Y as token, Z as from, $ as peek, a0 as delimit, a1 as slice, a2 as position, a3 as compile, b as jsx$1, a as __assign, j as jsxs, m as Fragment$1, t as __rest, _ as __read, k as FORM_Z_INDEX, l as featheryWindow, s as featheryDoc, a4 as __spreadArray, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { y as stringify, z as rulesheet, C as COMMENT, A as middleware, R as RULESET, B as combine, H as match, I as serialize, J as copy, K as replace, W as WEBKIT, M as MOZ, L as MS, N as KEYFRAMES, O as DECLARATION, P as dealloc, Q as alloc, S as hash, T as charat, U as strlen, V as indexof, X as next, Y as token, Z as from, $ as peek, a0 as delimit, a1 as slice, a2 as position, a3 as compile, b as jsx$1, a as __assign, j as jsxs, m as Fragment$1, t as __rest, _ as __read, k as FORM_Z_INDEX, l as featheryWindow, s as featheryDoc, a4 as __spreadArray, u as useBorder, D as DROPDOWN_Z_INDEX } from './fthry_index.CI9m6hZF.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { useState, useCallback, forwardRef, useContext, useLayoutEffect, useEffect, createContext, useRef, useMemo, Component, Fragment } from 'react';
|
|
4
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
5
|
-
import { P as Placeholder$2 } from './fthry_Placeholder.
|
|
6
|
-
import { u as useSalesforceSync } from './fthry_useSalesforceSync.
|
|
7
|
-
import { T as Tooltip, O as Overlay } from './fthry_Overlay.
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BefepzqB.js';
|
|
5
|
+
import { P as Placeholder$2 } from './fthry_Placeholder.BW8tIivs.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.CLzWAPAF.js';
|
|
7
|
+
import { T as Tooltip, O as Overlay } from './fthry_Overlay.KSPvV_5I.js';
|
|
8
8
|
import { createPortal } from 'react-dom';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import 'react-dom/client';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _ as __read, j as jsxs, a as __assign, b as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { _ as __read, j as jsxs, a as __assign, b as jsx, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.CI9m6hZF.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.Dw6vin7t.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle, applyHeightWidthMarginByFontSize } from './fthry_index.bwiHR1sL.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BefepzqB.js';
|
|
6
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.CLzWAPAF.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.KSPvV_5I.js';
|
|
12
12
|
|
|
13
13
|
var applyRadioGroupStyles = function (element, responsiveStyles) {
|
|
14
14
|
responsiveStyles.addTargets('radioGroup');
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { u as useBorder, j as jsxs, a as __assign, b as jsx, h as hoverStylesGuard, f as imgMaxSizeStyles, n as noTextSelectStyles, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { u as useBorder, j as jsxs, a as __assign, b as jsx, h as hoverStylesGuard, f as imgMaxSizeStyles, n as noTextSelectStyles, E as ErrorInput } from './fthry_index.CI9m6hZF.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.BefepzqB.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.CLzWAPAF.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.KSPvV_5I.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 { b as jsx, a as __assign, j as jsxs, _ as __read, c as __awaiter, d as __generator, l as featheryWindow, m as Fragment, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { b as jsx, a as __assign, j as jsxs, _ as __read, c as __awaiter, d as __generator, l as featheryWindow, m as Fragment, E as ErrorInput } from './fthry_index.CI9m6hZF.js';
|
|
2
2
|
import { useRef, useState, useEffect, memo, useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as __rest, _ as __read, w as countryData, ae as authState, af as firebaseSMSCountries, j as jsxs, b as jsx, a as __assign, m as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, ag as phoneLibPromise, h as hoverStylesGuard, ah as isNum, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { t as __rest, _ as __read, w as countryData, ae as authState, af as firebaseSMSCountries, j as jsxs, b as jsx, a as __assign, m as Fragment, D as DROPDOWN_Z_INDEX, u as useBorder, ag as phoneLibPromise, h as hoverStylesGuard, ah as isNum, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.CI9m6hZF.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.BW8tIivs.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BefepzqB.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.KSPvV_5I.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.MYGhO3UW.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __read, j as jsxs, a as __assign, b as jsx, h as hoverStylesGuard } from './fthry_index.
|
|
1
|
+
import { _ as __read, j as jsxs, a as __assign, b as jsx, h as hoverStylesGuard } from './fthry_index.CI9m6hZF.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.3ifXNVk6.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { b as jsx, G as Global, o as css, p as __makeTemplateObject, a as __assign, _ as __read, q as isMobile, l as featheryWindow, s as featheryDoc, u as useBorder, j as jsxs$1, h as hoverStylesGuard, r as resetStyles, t as __rest, v as formatDateString } from './fthry_index.
|
|
1
|
+
import { b as jsx, G as Global, o as css, p as __makeTemplateObject, a as __assign, _ as __read, q as isMobile, l as featheryWindow, s as featheryDoc, u as useBorder, j as jsxs$1, h as hoverStylesGuard, r as resetStyles, t as __rest, v as formatDateString } from './fthry_index.CI9m6hZF.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { useMemo, useLayoutEffect, cloneElement, createRef, Component, useRef, useCallback, useEffect, createElement, memo, useState } from 'react';
|
|
4
|
-
import { P as Placeholder } from './fthry_Placeholder.
|
|
5
|
-
import { I as InlineTooltip } from './fthry_InlineTooltip.
|
|
4
|
+
import { P as Placeholder } from './fthry_Placeholder.BW8tIivs.js';
|
|
5
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BefepzqB.js';
|
|
6
6
|
import { jsxs, jsx as jsx$1 } from 'react/jsx-runtime';
|
|
7
7
|
import * as ReactDOM from 'react-dom';
|
|
8
8
|
import ReactDOM__default from 'react-dom';
|
|
9
|
-
import { I as IMask, a as IMaskInput } from './fthry_input.
|
|
9
|
+
import { I as IMask, a as IMaskInput } from './fthry_input.sAUJXmRh.js';
|
|
10
10
|
import 'react-dom/client';
|
|
11
11
|
import 'jszip';
|
|
12
|
-
import './fthry_Overlay.
|
|
13
|
-
import './fthry_index.
|
|
12
|
+
import './fthry_Overlay.KSPvV_5I.js';
|
|
13
|
+
import './fthry_index.iCgN6lqQ.js';
|
|
14
14
|
|
|
15
15
|
var PORTAL_CONTAINER_CLASS = '.react-datepicker__portal';
|
|
16
16
|
var DATEPICKER_PADDING_TOP_VALUE = '--datepicker-pad-top';
|
|
@@ -17031,6 +17031,8 @@ var BASE64_REGEX = /(data:image\/(png|jpg|jpeg);base64,)([0-9a-zA-Z+/]{4})*(([0-
|
|
|
17031
17031
|
function getThumbnailType(file) {
|
|
17032
17032
|
var thumbnailType = THUMBNAIL_TYPE.UNKNOWN;
|
|
17033
17033
|
if (file) {
|
|
17034
|
+
// Allow all image/*; unsupported ones (e.g., TIFF, HEIC off Safari)
|
|
17035
|
+
// will fall back via the <img> onError handler in FileUploadField
|
|
17034
17036
|
if (/image\//.test(file.type)) {
|
|
17035
17037
|
thumbnailType = THUMBNAIL_TYPE.IMAGE;
|
|
17036
17038
|
}
|
|
@@ -43538,9 +43540,9 @@ function init(sdkKey, options) {
|
|
|
43538
43540
|
if (runningInClient()) {
|
|
43539
43541
|
// Dynamically load libraries that must be client side
|
|
43540
43542
|
global.scriptjsLoadPromise = import(
|
|
43541
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
43543
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.Ddc0lRD_.js').then(function (n) { return n.s; });
|
|
43542
43544
|
global.webfontloaderPromise = import(
|
|
43543
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
43545
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DbHsRpPk.js').then(function (n) { return n.w; });
|
|
43544
43546
|
// Client-side tracking logic
|
|
43545
43547
|
if (initState.userTracking === 'cookie') {
|
|
43546
43548
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -43686,7 +43688,7 @@ function getFieldValues() {
|
|
|
43686
43688
|
return __assign({}, fieldValues);
|
|
43687
43689
|
}
|
|
43688
43690
|
function logFeatheryBadge() {
|
|
43689
|
-
console.log('%c Feathery %c v' + "2.11.
|
|
43691
|
+
console.log('%c Feathery %c v' + "2.11.2" + ' ', // replaced with real version during build
|
|
43690
43692
|
'background: #e2626e; color: white; padding: 2px 6px; border-radius: 3px 0 0 3px; font-weight: bold;', 'background: #fce7e9; color: #c5495a; padding: 2px 6px; border-radius: 0 3px 3px 0;');
|
|
43691
43693
|
}
|
|
43692
43694
|
|
|
@@ -45158,39 +45160,39 @@ breakpoint) {
|
|
|
45158
45160
|
return styles.getTarget('inner-container', undefined, viewport === 'mobile');
|
|
45159
45161
|
};
|
|
45160
45162
|
|
|
45161
|
-
var AddressLine1 = lazy(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
45162
|
-
var ButtonGroupField = lazy(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
45163
|
-
var CheckboxField = lazy(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.
|
|
45163
|
+
var AddressLine1 = lazy(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.ClAqMRNE.js'); });
|
|
45164
|
+
var ButtonGroupField = lazy(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.B792Q-9f.js'); });
|
|
45165
|
+
var CheckboxField = lazy(function () { return import(/* webpackChunkName: "CheckboxField" */ './fthry_index.bwiHR1sL.js'); });
|
|
45164
45166
|
var CheckboxGroupField = lazy(function () {
|
|
45165
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
45167
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.56gEPYOD.js');
|
|
45166
45168
|
});
|
|
45167
|
-
var ColorPickerField = lazy(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
45168
|
-
var CustomField = lazy(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.
|
|
45169
|
+
var ColorPickerField = lazy(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.Dwn_Hlhv.js'); });
|
|
45170
|
+
var CustomField = lazy(function () { return import(/* webpackChunkName: "CustomField" */ './fthry_index.BLXBhPia.js'); });
|
|
45169
45171
|
var DateSelectorField = lazy(function () {
|
|
45170
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
45172
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.C8W18PjB.js');
|
|
45171
45173
|
});
|
|
45172
|
-
var DropdownField = lazy(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
45174
|
+
var DropdownField = lazy(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.o9Sz1ZZ7.js'); });
|
|
45173
45175
|
var DropdownMultiField = lazy(function () {
|
|
45174
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
45176
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.B47QNn0m.js');
|
|
45175
45177
|
});
|
|
45176
|
-
var FileUploadField = lazy(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
45177
|
-
var MatrixField = lazy(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
45178
|
-
var PasswordField = lazy(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.
|
|
45178
|
+
var FileUploadField = lazy(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.Cwlyf022.js'); });
|
|
45179
|
+
var MatrixField = lazy(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.DySdw1qz.js'); });
|
|
45180
|
+
var PasswordField = lazy(function () { return import(/* webpackChunkName: "PasswordField" */ './fthry_index.CquWPUWD.js'); });
|
|
45179
45181
|
var PaymentMethodField = lazy(function () {
|
|
45180
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
45182
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.BUfFS7UV.js');
|
|
45181
45183
|
});
|
|
45182
|
-
var PhoneField = lazy(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
45183
|
-
var PinInputField = lazy(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
45184
|
-
var QRScanner = lazy(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.
|
|
45184
|
+
var PhoneField = lazy(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.BnK1bTAO.js'); });
|
|
45185
|
+
var PinInputField = lazy(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.zq2HD0Fd.js'); });
|
|
45186
|
+
var QRScanner = lazy(function () { return import(/* webpackChunkName: "QRScanner" */ './fthry_index.DrkBLnxc.js'); });
|
|
45185
45187
|
var RadioButtonGroupField = lazy(function () {
|
|
45186
45188
|
return import(
|
|
45187
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
45189
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.B6wWZFeh.js');
|
|
45188
45190
|
});
|
|
45189
|
-
var RatingField = lazy(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
45190
|
-
var SignatureField = lazy(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
45191
|
-
var SliderField = lazy(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
45192
|
-
var TextField = lazy(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
45193
|
-
var TextArea = lazy(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.
|
|
45191
|
+
var RatingField = lazy(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.CJ32ytSR.js'); });
|
|
45192
|
+
var SignatureField = lazy(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.WbUsG08Q.js'); });
|
|
45193
|
+
var SliderField = lazy(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.BroPvTJq.js'); });
|
|
45194
|
+
var TextField = lazy(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.D9_3XAGw.js'); });
|
|
45195
|
+
var TextArea = lazy(function () { return import(/* webpackChunkName: "TextArea" */ './fthry_index.DNGxrq0x.js'); });
|
|
45194
45196
|
var Fields = {
|
|
45195
45197
|
AddressLine1: AddressLine1,
|
|
45196
45198
|
ButtonGroupField: ButtonGroupField,
|
|
@@ -45290,6 +45292,7 @@ function applyFieldStyles$1(field, styles) {
|
|
|
45290
45292
|
styles.applyBorders({ target: 'field' });
|
|
45291
45293
|
styles.applyCorners('field');
|
|
45292
45294
|
styles.applyBoxShadow('field');
|
|
45295
|
+
styles.applyColor('field', 'background_color', 'backgroundColor');
|
|
45293
45296
|
styles.applyColor('ac', 'background_color', 'backgroundColor');
|
|
45294
45297
|
styles.applyBorders({ target: 'ac' });
|
|
45295
45298
|
styles.applyCorners('ac');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as jsx, a as __assign, _ as __read, j as jsxs, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { b as jsx, a as __assign, _ as __read, j as jsxs, E as ErrorInput } from './fthry_index.CI9m6hZF.js';
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __read, u as useBorder, j as jsxs, a as __assign, h as hoverStylesGuard, b as jsx, i as iosScrollOnFocus, r as resetStyles, D as DROPDOWN_Z_INDEX, c as __awaiter, d as __generator, F as FeatheryClient, e as debounce } from './fthry_index.
|
|
1
|
+
import { _ as __read, u as useBorder, j as jsxs, a as __assign, h as hoverStylesGuard, b as jsx, i as iosScrollOnFocus, r as resetStyles, D as DROPDOWN_Z_INDEX, c as __awaiter, d as __generator, F as FeatheryClient, e as debounce } from './fthry_index.CI9m6hZF.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.BW8tIivs.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BefepzqB.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.KSPvV_5I.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.MYGhO3UW.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'react-dom/client';
|
|
9
9
|
import 'jszip';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { u as useBorder, _ as __read, j as jsxs, a as __assign, h as hoverStylesGuard, b as jsx, i as iosScrollOnFocus, k as FORM_Z_INDEX, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { u as useBorder, _ as __read, j as jsxs, a as __assign, h as hoverStylesGuard, b as jsx, i as iosScrollOnFocus, k as FORM_Z_INDEX, r as resetStyles } from './fthry_index.CI9m6hZF.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.BW8tIivs.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BefepzqB.js';
|
|
5
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.BKxMDQ6E.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.KSPvV_5I.js';
|
|
11
11
|
|
|
12
12
|
function PasswordField(_a) {
|
|
13
13
|
var _b;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as jsxs, a as __assign, b as jsx, _ as __read, a5 as isEmptyArray, a6 as toList, a7 as useThumbnailData, a4 as __spreadArray, f as imgMaxSizeStyles, c as __awaiter, d as __generator, a8 as downloadFile, a9 as CloseIcon, i as iosScrollOnFocus, k as FORM_Z_INDEX, aa as justRemove } from './fthry_index.
|
|
1
|
+
import { j as jsxs, a as __assign, b as jsx, _ as __read, a5 as isEmptyArray, a6 as toList, a7 as useThumbnailData, a4 as __spreadArray, f as imgMaxSizeStyles, c as __awaiter, d as __generator, a8 as downloadFile, a9 as CloseIcon, i as iosScrollOnFocus, k as FORM_Z_INDEX, aa as justRemove } from './fthry_index.CI9m6hZF.js';
|
|
2
2
|
import { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -26,6 +26,7 @@ function FileUploadField(_a) {
|
|
|
26
26
|
var fileInput = useRef(null);
|
|
27
27
|
var _g = __read(useState([]), 2), rawFiles = _g[0], setRawFiles = _g[1];
|
|
28
28
|
var _h = __read(useState(-1), 2), hoverDownload = _h[0], setHoverDownload = _h[1];
|
|
29
|
+
var _j = __read(useState(new Set()), 2), failedThumbnails = _j[0], setFailedThumbnails = _j[1];
|
|
29
30
|
useEffect(function () {
|
|
30
31
|
// Prevent infinite loop of setting a new empty array as the value
|
|
31
32
|
if (isEmptyArray(rawFiles) && isEmptyArray(initialFiles))
|
|
@@ -33,6 +34,10 @@ function FileUploadField(_a) {
|
|
|
33
34
|
// Normalize placeholders like [null] to an empty list
|
|
34
35
|
setRawFiles(toList(initialFiles).filter(Boolean));
|
|
35
36
|
}, [initialFiles]);
|
|
37
|
+
// Reset failed thumbnails when file list changes
|
|
38
|
+
useEffect(function () {
|
|
39
|
+
setFailedThumbnails(new Set());
|
|
40
|
+
}, [rawFiles.length]);
|
|
36
41
|
// Thumbnails derived from current files; rawFiles is normalized to exclude nulls
|
|
37
42
|
var thumbnailData = useThumbnailData(rawFiles);
|
|
38
43
|
var hasFiles = rawFiles.length > 0;
|
|
@@ -196,16 +201,16 @@ function FileUploadField(_a) {
|
|
|
196
201
|
return [4 /*yield*/, rawFiles[index]];
|
|
197
202
|
case 1: return [2 /*return*/, _a.apply(void 0, [(_b.sent())])];
|
|
198
203
|
}
|
|
199
|
-
}); }); } }, { children: jsx(DownloadIcon, {}) }))), thumbnail ? (jsx("img", { src: thumbnail,
|
|
204
|
+
}); }); } }, { children: jsx(DownloadIcon, {}) }))), thumbnail && !failedThumbnails.has(index) ? (jsx("img", { src: thumbnail, onError: function () {
|
|
205
|
+
return setFailedThumbnails(function (prev) { return new Set(prev).add(index); });
|
|
206
|
+
}, style: {
|
|
200
207
|
width: '100%',
|
|
201
208
|
height: '100%',
|
|
202
209
|
objectFit: 'contain'
|
|
203
210
|
}, alt: filename || '' })) : (jsx("span", __assign({ style: {
|
|
204
|
-
color: 'black',
|
|
205
211
|
height: '100%',
|
|
206
212
|
width: '100%',
|
|
207
213
|
wordBreak: 'break-all',
|
|
208
|
-
fontSize: 'small',
|
|
209
214
|
display: 'flex',
|
|
210
215
|
justifyContent: 'center',
|
|
211
216
|
alignItems: 'center',
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { j as jsxs, a as __assign, b as jsx, D as DROPDOWN_Z_INDEX, _ as __read, u as useBorder, ar as getFieldValue, as as stringifyWithNull, h as hoverStylesGuard, i as iosScrollOnFocus, k as FORM_Z_INDEX, r as resetStyles, at as emailPatternStr } from './fthry_index.
|
|
1
|
+
import { j as jsxs, a as __assign, b as jsx, D as DROPDOWN_Z_INDEX, _ as __read, u as useBorder, ar as getFieldValue, as as stringifyWithNull, h as hoverStylesGuard, i as iosScrollOnFocus, k as FORM_Z_INDEX, r as resetStyles, at as emailPatternStr } from './fthry_index.CI9m6hZF.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.BW8tIivs.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BefepzqB.js';
|
|
5
|
+
import { O as Overlay } from './fthry_Overlay.KSPvV_5I.js';
|
|
6
|
+
import { u as useElementSize } from './fthry_useElementSize.MYGhO3UW.js';
|
|
7
|
+
import { S as ShowEyeIcon, a as ShowEyeIcon$1 } from './fthry_ShowEyeIcon.BKxMDQ6E.js';
|
|
8
|
+
import { a as IMaskInput } from './fthry_input.sAUJXmRh.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.iCgN6lqQ.js';
|
|
14
14
|
|
|
15
15
|
function TextAutocomplete(_a) {
|
|
16
16
|
var _b = _a.allOptions, allOptions = _b === void 0 ? [] : _b, showOptions = _a.showOptions, _c = _a.onSelect, onSelect = _c === void 0 ? function () { } : _c, _d = _a.onHide, onHide = _d === void 0 ? function () { } : _d, _e = _a.onInputFocus, onInputFocus = _e === void 0 ? function () { } : _e, _f = _a.value, value = _f === void 0 ? '' : _f, containerRef = _a.containerRef, responsiveStyles = _a.responsiveStyles, listItemRef = _a.listItemRef, children = _a.children;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as __read, u as useBorder, j as jsxs, a as __assign, h as hoverStylesGuard, b as jsx, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { _ as __read, u as useBorder, j as jsxs, a as __assign, h as hoverStylesGuard, b as jsx, r as resetStyles } from './fthry_index.CI9m6hZF.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.BW8tIivs.js';
|
|
4
|
+
import { I as InlineTooltip } from './fthry_InlineTooltip.BefepzqB.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.KSPvV_5I.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 { c as __awaiter, d as __generator, a4 as __spreadArray, _ as __read, ai as __values, l as featheryWindow, aj as loadQRScanner, ak as throttle, b as jsx, j as jsxs, a as __assign, m as Fragment, E as ErrorInput, al as qrPromise } from './fthry_index.
|
|
1
|
+
import { c as __awaiter, d as __generator, a4 as __spreadArray, _ as __read, ai as __values, l as featheryWindow, aj as loadQRScanner, ak as throttle, b as jsx, j as jsxs, a as __assign, m as Fragment, E as ErrorInput, al as qrPromise } from './fthry_index.CI9m6hZF.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.3ifXNVk6.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react-dom/client';
|
|
6
6
|
import 'jszip';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __read, j as jsxs$1, a as __assign, b as jsx$1, k as FORM_Z_INDEX } from './fthry_index.
|
|
1
|
+
import { _ as __read, j as jsxs$1, a as __assign, b as jsx$1, k as FORM_Z_INDEX } from './fthry_index.CI9m6hZF.js';
|
|
2
2
|
import React__default, { useRef, useEffect, useCallback, useState, useMemo, Fragment } from 'react';
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __read, b as jsx, m as Fragment, q as isMobile, j as jsxs, a as __assign, k as FORM_Z_INDEX, i as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { _ as __read, b as jsx, m as Fragment, q as isMobile, j as jsxs, a as __assign, k as FORM_Z_INDEX, i as iosScrollOnFocus } from './fthry_index.CI9m6hZF.js';
|
|
2
2
|
import { useState, useRef, useMemo } from 'react';
|
|
3
|
-
import { O as Overlay, T as Tooltip } from './fthry_Overlay.
|
|
4
|
-
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.
|
|
3
|
+
import { O as Overlay, T as Tooltip } from './fthry_Overlay.KSPvV_5I.js';
|
|
4
|
+
import { applyCheckableInputStyles, composeCheckableInputStyle } from './fthry_index.bwiHR1sL.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom/client';
|
|
7
7
|
import 'jszip';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { s as featheryDoc, am as devicePixelRatio, g as getDefaultExportFromCjs, _ as __read, j as jsxs, b as jsx, a as __assign, m as Fragment, c as __awaiter, d as __generator, an as toBase64, e as debounce, ao as MODAL_Z_INDEX, a9 as CloseIcon, ap as dataURLToFile, k as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.
|
|
1
|
+
import { s as featheryDoc, am as devicePixelRatio, g as getDefaultExportFromCjs, _ as __read, j as jsxs, b as jsx, a as __assign, m as Fragment, c as __awaiter, d as __generator, an as toBase64, e as debounce, ao as MODAL_Z_INDEX, a9 as CloseIcon, ap as dataURLToFile, k as FORM_Z_INDEX, E as ErrorInput } from './fthry_index.CI9m6hZF.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.iCgN6lqQ.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.DbHsRpPk.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 { a as __assign, h as hoverStylesGuard, j as jsxs, b as jsx, i as iosScrollOnFocus } from './fthry_index.
|
|
1
|
+
import { a as __assign, h as hoverStylesGuard, j as jsxs, b as jsx, i as iosScrollOnFocus } from './fthry_index.CI9m6hZF.js';
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react-dom/client';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { b as jsx, a as __assign, u as useBorder, _ as __read, w as countryData, x as fieldValues, j as jsxs, h as hoverStylesGuard, o as css, p as __makeTemplateObject, G as Global, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.
|
|
1
|
+
import { b as jsx, a as __assign, u as useBorder, _ as __read, w as countryData, x as fieldValues, j as jsxs, h as hoverStylesGuard, o as css, p as __makeTemplateObject, G as Global, i as iosScrollOnFocus, r as resetStyles } from './fthry_index.CI9m6hZF.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.BefepzqB.js';
|
|
4
|
+
import { u as useSalesforceSync } from './fthry_useSalesforceSync.CLzWAPAF.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.KSPvV_5I.js';
|
|
10
10
|
|
|
11
11
|
var ae = [
|
|
12
12
|
{ name: 'Abu Dhabi', code: 'AZ' },
|