@feathery/react 2.11.1 → 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.BoBlGUv-.js → fthry_FormControl.D6cl6D9S.js} +1 -1
- package/dist/cjs/{fthry_InlineTooltip.BDg-8hjR.js → fthry_InlineTooltip.BznYePC8.js} +2 -2
- package/dist/cjs/{fthry_Overlay.9cAIeP6E.js → fthry_Overlay.Y_J8ccm6.js} +1 -1
- package/dist/cjs/{fthry_PaymentMethodField.CoByJr6K.js → fthry_PaymentMethodField.D0YALHBL.js} +4 -4
- package/dist/cjs/{fthry_Placeholder.B8Fiv4tG.js → fthry_Placeholder.DLJqaPGW.js} +1 -1
- package/dist/cjs/{fthry_ShowEyeIcon.BR6TU49u.js → fthry_ShowEyeIcon.DzvNCry-.js} +1 -1
- package/dist/cjs/{fthry_index.C5e1CIOA.js → fthry_index.5Pl_oKxb.js} +3 -3
- package/dist/cjs/{fthry_index.B1HntmiS.js → fthry_index.6K3SolcM.js} +8 -8
- package/dist/cjs/{fthry_index.B61Fc5yV.js → fthry_index.BIDjlZK9.js} +1 -1
- package/dist/cjs/{fthry_index.C67RyE6s.js → fthry_index.BVctbQwI.js} +1 -1
- package/dist/cjs/{fthry_index.HrTSyg9B.js → fthry_index.Biaf9DMR.js} +1 -1
- package/dist/cjs/{fthry_index.rFGfbGIk.js → fthry_index.C-CXGg0X.js} +6 -6
- package/dist/cjs/{fthry_index.BOdVGl5l.js → fthry_index.CVdIUnnS.js} +4 -4
- package/dist/cjs/{fthry_index.Bz00U1qW.js → fthry_index.CaFboSVZ.js} +2 -2
- package/dist/cjs/{fthry_index.CKUbCvsH.js → fthry_index.Cl0pC-iC.js} +6 -6
- package/dist/cjs/{fthry_index.JnLQZ_md.js → fthry_index.DKwYIEay.js} +4 -4
- package/dist/cjs/{fthry_index.CoeM5YQu.js → fthry_index.DPJLojch.js} +1 -1
- package/dist/cjs/{fthry_index.DD21qdc8.js → fthry_index.DfjbwYs8.js} +5 -5
- package/dist/cjs/{fthry_index.BD1AaCkS.js → fthry_index.Dg3FFh_g.js} +18 -3
- package/dist/cjs/{fthry_index.D-DmJrvp.js → fthry_index.DhP_ifSD.js} +3 -3
- package/dist/cjs/{fthry_index.CPoExiaS.js → fthry_index.DmHwjSeG.js} +1 -1
- package/dist/cjs/{fthry_index.Bg1tnBes.js → fthry_index.EMYHk8IT.js} +29 -33
- package/dist/cjs/{fthry_index.CyKbm52O.js → fthry_index.ObOAUNgg.js} +4 -4
- package/dist/cjs/{fthry_index.ClWRtApG.js → fthry_index.XwO_Rbt1.js} +1 -1
- package/dist/cjs/{fthry_index.BT4rLIaG.js → fthry_index._0ok1zlZ.js} +6 -6
- package/dist/cjs/{fthry_index.gF97kiKa.js → fthry_index.hetQ4hFA.js} +5 -5
- package/dist/cjs/{fthry_index.EgnUQ81x.js → fthry_index.lBGOIoJv.js} +5 -5
- package/dist/cjs/{fthry_index.CEvNFKQL.js → fthry_index.nvFgoNpW.js} +2 -2
- package/dist/cjs/{fthry_index.BWxbbmA2.js → fthry_index.uPlANshe.js} +5 -5
- package/dist/cjs/{fthry_input.CogPcc6M.js → fthry_input.zxl6q_39.js} +1 -1
- package/dist/cjs/{fthry_script.6P1NJRwv.js → fthry_script.BR1PC2YO.js} +1 -1
- package/dist/cjs/{fthry_styles.IzrEmUeD.js → fthry_styles.8kKnpgke.js} +1 -1
- package/dist/cjs/{fthry_useElementSize.BnoWET1V.js → fthry_useElementSize.d2r6U5ah.js} +1 -1
- package/dist/cjs/{fthry_useSalesforceSync.DQAPSVmr.js → fthry_useSalesforceSync.BhgCgOph.js} +1 -1
- package/dist/cjs/{fthry_webfontloader.z-pzQOVm.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.1iiH8b4i.js → fthry_FormControl.Dw6vin7t.js} +1 -1
- package/dist/esm/{fthry_InlineTooltip.CREexk6k.js → fthry_InlineTooltip.BefepzqB.js} +2 -2
- package/dist/esm/{fthry_Overlay.4bM7bqaM.js → fthry_Overlay.KSPvV_5I.js} +1 -1
- package/dist/esm/{fthry_PaymentMethodField.Cb-ULdGb.js → fthry_PaymentMethodField.BUfFS7UV.js} +4 -4
- package/dist/esm/{fthry_Placeholder.CcLGjl1u.js → fthry_Placeholder.BW8tIivs.js} +1 -1
- package/dist/esm/{fthry_ShowEyeIcon.eF1-xhvT.js → fthry_ShowEyeIcon.BKxMDQ6E.js} +1 -1
- package/dist/esm/{fthry_index.x12MCTQ7.js → fthry_index.56gEPYOD.js} +6 -6
- package/dist/esm/{fthry_index.BM1AattI.js → fthry_index.B47QNn0m.js} +5 -5
- package/dist/esm/{fthry_index.CQWTQtLw.js → fthry_index.B6wWZFeh.js} +6 -6
- package/dist/esm/{fthry_index.BWkhkeXW.js → fthry_index.B792Q-9f.js} +4 -4
- package/dist/esm/{fthry_index.UO0V9XrA.js → fthry_index.BLXBhPia.js} +1 -1
- package/dist/esm/{fthry_index.B_5JaMZj.js → fthry_index.BnK1bTAO.js} +5 -5
- package/dist/esm/{fthry_index.9mFiTG-F.js → fthry_index.BroPvTJq.js} +2 -2
- package/dist/esm/{fthry_index.gMIrcjef.js → fthry_index.C8W18PjB.js} +6 -6
- package/dist/esm/{fthry_index.CB2vMsnM.js → fthry_index.CI9m6hZF.js} +29 -33
- package/dist/esm/{fthry_index.H8MtZv8B.js → fthry_index.CJ32ytSR.js} +1 -1
- package/dist/esm/{fthry_index.CS2Bl6C1.js → fthry_index.ClAqMRNE.js} +5 -5
- package/dist/esm/{fthry_index.BgQOfF85.js → fthry_index.CquWPUWD.js} +5 -5
- package/dist/esm/{fthry_index.JZQuYqHY.js → fthry_index.Cwlyf022.js} +18 -3
- package/dist/esm/{fthry_index.I2ya6REt.js → fthry_index.D9_3XAGw.js} +8 -8
- package/dist/esm/{fthry_index.Ci7ibGUI.js → fthry_index.DNGxrq0x.js} +4 -4
- package/dist/esm/{fthry_index.DzJNxFJS.js → fthry_index.DrkBLnxc.js} +2 -2
- package/dist/esm/{fthry_index.BSpj1J3t.js → fthry_index.Dwn_Hlhv.js} +1 -1
- package/dist/esm/{fthry_index.DpdhPVtE.js → fthry_index.DySdw1qz.js} +3 -3
- package/dist/esm/{fthry_index.e5_-aYH2.js → fthry_index.WbUsG08Q.js} +3 -3
- package/dist/esm/{fthry_index.De_KEVYz.js → fthry_index.bwiHR1sL.js} +1 -1
- package/dist/esm/{fthry_index.C41oCBcm.js → fthry_index.iCgN6lqQ.js} +1 -1
- package/dist/esm/{fthry_index.Dr1twar-.js → fthry_index.o9Sz1ZZ7.js} +4 -4
- package/dist/esm/{fthry_index.CKCDUf3w.js → fthry_index.zq2HD0Fd.js} +1 -1
- package/dist/esm/{fthry_input.BrLpC149.js → fthry_input.sAUJXmRh.js} +1 -1
- package/dist/esm/{fthry_script.ePkzRcPc.js → fthry_script.Ddc0lRD_.js} +1 -1
- package/dist/esm/{fthry_styles.D641KtAd.js → fthry_styles.3ifXNVk6.js} +1 -1
- package/dist/esm/{fthry_useElementSize.Ce2Hmk3y.js → fthry_useElementSize.MYGhO3UW.js} +1 -1
- package/dist/esm/{fthry_useSalesforceSync.DL2Ww72M.js → fthry_useSalesforceSync.CLzWAPAF.js} +1 -1
- package/dist/esm/{fthry_webfontloader.ColEuyZc.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.5b99c480e0eec74a3867.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.Cb-ULdGb.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,10 +17031,9 @@ 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
|
-
//
|
|
17035
|
-
//
|
|
17036
|
-
|
|
17037
|
-
if (/image\//.test(file.type) && !/image\/(?:x-)?tiff?/i.test(file.type)) {
|
|
17034
|
+
// Allow all image/*; unsupported ones (e.g., TIFF, HEIC off Safari)
|
|
17035
|
+
// will fall back via the <img> onError handler in FileUploadField
|
|
17036
|
+
if (/image\//.test(file.type)) {
|
|
17038
17037
|
thumbnailType = THUMBNAIL_TYPE.IMAGE;
|
|
17039
17038
|
}
|
|
17040
17039
|
else if (/application\/pdf/.test(file.type)) {
|
|
@@ -43541,9 +43540,9 @@ function init(sdkKey, options) {
|
|
|
43541
43540
|
if (runningInClient()) {
|
|
43542
43541
|
// Dynamically load libraries that must be client side
|
|
43543
43542
|
global.scriptjsLoadPromise = import(
|
|
43544
|
-
/* webpackChunkName: "scriptjs" */ './fthry_script.
|
|
43543
|
+
/* webpackChunkName: "scriptjs" */ './fthry_script.Ddc0lRD_.js').then(function (n) { return n.s; });
|
|
43545
43544
|
global.webfontloaderPromise = import(
|
|
43546
|
-
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.
|
|
43545
|
+
/* webpackChunkName: "webfontloader" */ './fthry_webfontloader.DbHsRpPk.js').then(function (n) { return n.w; });
|
|
43547
43546
|
// Client-side tracking logic
|
|
43548
43547
|
if (initState.userTracking === 'cookie') {
|
|
43549
43548
|
var cookieKey = "feathery-user-id-".concat(sdkKey);
|
|
@@ -43689,7 +43688,7 @@ function getFieldValues() {
|
|
|
43689
43688
|
return __assign({}, fieldValues);
|
|
43690
43689
|
}
|
|
43691
43690
|
function logFeatheryBadge() {
|
|
43692
|
-
console.log('%c Feathery %c v' + "2.11.
|
|
43691
|
+
console.log('%c Feathery %c v' + "2.11.2" + ' ', // replaced with real version during build
|
|
43693
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;');
|
|
43694
43693
|
}
|
|
43695
43694
|
|
|
@@ -45161,39 +45160,39 @@ breakpoint) {
|
|
|
45161
45160
|
return styles.getTarget('inner-container', undefined, viewport === 'mobile');
|
|
45162
45161
|
};
|
|
45163
45162
|
|
|
45164
|
-
var AddressLine1 = lazy(function () { return import(/* webpackChunkName: "AddressField" */ './fthry_index.
|
|
45165
|
-
var ButtonGroupField = lazy(function () { return import(/* webpackChunkName: "ButtonGroupField" */ './fthry_index.
|
|
45166
|
-
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'); });
|
|
45167
45166
|
var CheckboxGroupField = lazy(function () {
|
|
45168
|
-
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.
|
|
45167
|
+
return import(/* webpackChunkName: "CheckboxGroupField" */ './fthry_index.56gEPYOD.js');
|
|
45169
45168
|
});
|
|
45170
|
-
var ColorPickerField = lazy(function () { return import(/* webpackChunkName: "ColorPickerField" */ './fthry_index.
|
|
45171
|
-
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'); });
|
|
45172
45171
|
var DateSelectorField = lazy(function () {
|
|
45173
|
-
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.
|
|
45172
|
+
return import(/* webpackChunkName: "DateSelectorField" */ './fthry_index.C8W18PjB.js');
|
|
45174
45173
|
});
|
|
45175
|
-
var DropdownField = lazy(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.
|
|
45174
|
+
var DropdownField = lazy(function () { return import(/* webpackChunkName: "DropdownField" */ './fthry_index.o9Sz1ZZ7.js'); });
|
|
45176
45175
|
var DropdownMultiField = lazy(function () {
|
|
45177
|
-
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.
|
|
45176
|
+
return import(/* webpackChunkName: "DropdownMultiField" */ './fthry_index.B47QNn0m.js');
|
|
45178
45177
|
});
|
|
45179
|
-
var FileUploadField = lazy(function () { return import(/* webpackChunkName: "FileUploadField" */ './fthry_index.
|
|
45180
|
-
var MatrixField = lazy(function () { return import(/* webpackChunkName: "MatrixField" */ './fthry_index.
|
|
45181
|
-
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'); });
|
|
45182
45181
|
var PaymentMethodField = lazy(function () {
|
|
45183
|
-
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.
|
|
45182
|
+
return import(/* webpackChunkName: "PaymentMethodField" */ './fthry_PaymentMethodField.BUfFS7UV.js');
|
|
45184
45183
|
});
|
|
45185
|
-
var PhoneField = lazy(function () { return import(/* webpackChunkName: "PhoneField" */ './fthry_index.
|
|
45186
|
-
var PinInputField = lazy(function () { return import(/* webpackChunkName: "PinInputField" */ './fthry_index.
|
|
45187
|
-
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'); });
|
|
45188
45187
|
var RadioButtonGroupField = lazy(function () {
|
|
45189
45188
|
return import(
|
|
45190
|
-
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.
|
|
45189
|
+
/* webpackChunkName: "RadioButtonGroupField" */ './fthry_index.B6wWZFeh.js');
|
|
45191
45190
|
});
|
|
45192
|
-
var RatingField = lazy(function () { return import(/* webpackChunkName: "RatingField" */ './fthry_index.
|
|
45193
|
-
var SignatureField = lazy(function () { return import(/* webpackChunkName: "SignatureField" */ './fthry_index.
|
|
45194
|
-
var SliderField = lazy(function () { return import(/* webpackChunkName: "SliderField" */ './fthry_index.
|
|
45195
|
-
var TextField = lazy(function () { return import(/* webpackChunkName: "TextField" */ './fthry_index.
|
|
45196
|
-
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'); });
|
|
45197
45196
|
var Fields = {
|
|
45198
45197
|
AddressLine1: AddressLine1,
|
|
45199
45198
|
ButtonGroupField: ButtonGroupField,
|
|
@@ -45282,7 +45281,7 @@ function applyFieldStyles$1(field, styles) {
|
|
|
45282
45281
|
styles.applyBoxShadow('field');
|
|
45283
45282
|
break;
|
|
45284
45283
|
case 'file_upload':
|
|
45285
|
-
styles.addTargets('ac', 'add'
|
|
45284
|
+
styles.addTargets('ac', 'add');
|
|
45286
45285
|
styles.applyHeight('ac');
|
|
45287
45286
|
if (field.servar.metadata.multiple) {
|
|
45288
45287
|
styles.apply('field', 'padding_bottom', function (a) { return ({
|
|
@@ -45294,9 +45293,6 @@ function applyFieldStyles$1(field, styles) {
|
|
|
45294
45293
|
styles.applyCorners('field');
|
|
45295
45294
|
styles.applyBoxShadow('field');
|
|
45296
45295
|
styles.applyColor('field', 'background_color', 'backgroundColor');
|
|
45297
|
-
// filename target: only font styles + background for the filename span
|
|
45298
|
-
styles.applyFontStyles('filename');
|
|
45299
|
-
styles.applyColor('filename', 'background_color', 'backgroundColor');
|
|
45300
45296
|
styles.applyColor('ac', 'background_color', 'backgroundColor');
|
|
45301
45297
|
styles.applyBorders({ target: 'ac' });
|
|
45302
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,11 +201,21 @@ 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
|
-
}, alt: filename || '' })) : (jsx("span", __assign({
|
|
210
|
+
}, alt: filename || '' })) : (jsx("span", __assign({ style: {
|
|
211
|
+
height: '100%',
|
|
212
|
+
width: '100%',
|
|
213
|
+
wordBreak: 'break-all',
|
|
214
|
+
display: 'flex',
|
|
215
|
+
justifyContent: 'center',
|
|
216
|
+
alignItems: 'center',
|
|
217
|
+
textAlign: 'center'
|
|
218
|
+
} }, { children: filename || 'File' }))), jsx("div", __assign({ css: {
|
|
204
219
|
position: 'absolute',
|
|
205
220
|
top: '4px',
|
|
206
221
|
right: '4px',
|
|
@@ -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';
|